.page-hero {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background: var(--forest-950);
}

.page-hero::before {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(7, 28, 23, 0.97) 0%, rgba(7, 28, 23, 0.88) 50%, rgba(7, 28, 23, 0.52) 100%);
  content: "";
}

.page-hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: block;
  overflow: hidden;
}

.page-hero-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.page-hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  min-height: 610px;
  grid-template-columns: minmax(0, 1fr) minmax(330px, 0.55fr);
  align-items: center;
  gap: clamp(44px, 7vw, 100px);
  padding-block: 78px;
}

.page-hero-copy {
  max-width: 780px;
}

.page-hero h1 {
  margin-bottom: 22px;
  color: var(--white);
  font-size: clamp(3rem, 5.4vw, 5.2rem);
  text-wrap: balance;
}

.page-hero-lede {
  max-width: 690px;
  margin-bottom: 30px;
  color: #dce9e4;
  font-size: clamp(1.02rem, 1.5vw, 1.2rem);
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 24px;
  color: #bbd0c7;
  font-size: 0.74rem;
  font-weight: 750;
}

.breadcrumb a:hover {
  color: var(--white);
}

.mini-assessment {
  padding: 28px;
}

.mini-assessment h2 {
  font-size: 2rem;
}

.mini-assessment .field-row {
  grid-template-columns: 1fr;
  gap: 0;
}

.page-intro-strip {
  background: var(--cream-100);
}

.page-intro-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--cream-200);
}

.page-intro-grid > div {
  min-height: 150px;
  padding: 32px;
  background: var(--cream-50);
}

.page-intro-grid strong {
  display: block;
  margin-bottom: 9px;
  color: var(--forest-900);
  font-family: Georgia, serif;
  font-size: 1.25rem;
}

.page-intro-grid p {
  margin: 0;
  color: var(--ink-700);
  font-size: 0.86rem;
}

.content-shell {
  width: min(calc(100% - 40px), 1000px);
  margin-inline: auto;
}

.content-section {
  padding-block: clamp(72px, 8vw, 112px);
}

.content-section + .content-section {
  border-top: 1px solid #e4e8e5;
}

.content-section h2 {
  font-size: clamp(2.2rem, 4vw, 3.8rem);
  text-wrap: balance;
}

.content-section h3 {
  margin-top: 30px;
}

.content-section p,
.content-section li {
  color: var(--ink-700);
}

.content-section a:not(.button) {
  color: var(--forest-700);
  font-weight: 750;
  text-decoration: underline;
  text-decoration-color: #a8bdb4;
  text-underline-offset: 3px;
}

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.62fr);
  gap: clamp(44px, 8vw, 100px);
}

.two-column-balanced {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.content-card {
  padding: 30px;
  border: 1px solid var(--cream-200);
  border-radius: var(--radius-md);
  background: var(--cream-50);
}

.content-card h3:first-child {
  margin-top: 0;
}

.content-card ul,
.content-card ol {
  margin-bottom: 0;
  padding-left: 20px;
}

.source-note {
  padding: 22px 24px;
  border-left: 4px solid var(--clay-500);
  background: var(--cream-100);
  color: var(--ink-700);
  font-size: 0.83rem;
}

.card-directory {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.directory-card {
  display: flex;
  min-height: 250px;
  flex-direction: column;
  padding: 28px;
  border: 1px solid #dce4df;
  border-radius: var(--radius-md);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.directory-card .card-kicker {
  margin-bottom: 20px;
}

.directory-card p {
  flex: 1;
  font-size: 0.88rem;
}

.directory-card a {
  color: var(--forest-800);
  font-weight: 850;
}

.directory-card.is-pending {
  box-shadow: none;
}

.directory-card.is-pending span:last-child {
  color: #85928c;
  font-size: 0.75rem;
  font-weight: 750;
}

.comparison-figure {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--cream-200);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.comparison-figure img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.comparison-captions {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.comparison-captions > div {
  padding: 24px;
}

.comparison-captions > div:first-child {
  border-right: 1px solid var(--cream-200);
  background: #f2f8f4;
}

.comparison-captions > div:last-child {
  background: #fff5f1;
}

.comparison-captions strong {
  display: block;
  margin-bottom: 7px;
  color: var(--forest-950);
  font-family: Georgia, serif;
  font-size: 1.3rem;
}

.comparison-captions p {
  margin: 0;
  font-size: 0.82rem;
}

.decision-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
}

.decision-table th,
.decision-table td {
  padding: 18px;
  border-bottom: 1px solid #dce4df;
  text-align: left;
  vertical-align: top;
}

.decision-table th {
  color: var(--white);
  background: var(--forest-900);
}

.decision-table td:first-child {
  color: var(--forest-900);
  font-weight: 800;
}

.callout-band {
  color: var(--white);
  background: var(--forest-800);
}

.callout-band .shell {
  display: flex;
  min-height: 245px;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding-block: 48px;
}

.callout-band h2 {
  max-width: 780px;
  margin-bottom: 8px;
  color: var(--white);
  font-size: clamp(2.2rem, 4vw, 3.7rem);
}

.callout-band p {
  margin: 0;
  color: #d1e1da;
}

.photo-banner {
  width: 100%;
  max-height: 560px;
  border-radius: var(--radius-lg);
  object-fit: cover;
}

.city-chip-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.city-chip {
  padding: 15px;
  border: 1px solid var(--cream-200);
  border-radius: 8px;
  color: var(--forest-900);
  background: var(--white);
  font-size: 0.82rem;
  font-weight: 800;
}

.legal-hero {
  padding-block: 86px;
  color: var(--white);
  background: var(--forest-950);
}

.legal-hero h1 {
  margin-bottom: 14px;
  color: var(--white);
  font-size: clamp(3rem, 6vw, 5.4rem);
}

.legal-hero p {
  max-width: 720px;
  margin: 0;
  color: #c8dad2;
}

.legal-copy {
  max-width: 850px;
  padding-block: 76px 110px;
}

.legal-copy h2 {
  margin-top: 48px;
  font-size: 2rem;
}

.legal-copy h2:first-child {
  margin-top: 0;
}

.legal-copy p,
.legal-copy li {
  color: var(--ink-700);
}

.draft-banner {
  padding: 15px 18px;
  border: 1px solid #e3c5b6;
  border-radius: 8px;
  color: #713d26;
  background: #fff4ee;
  font-size: 0.83rem;
  font-weight: 700;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.72fr);
  gap: 30px;
}

.contact-card {
  padding: 34px;
  border-radius: var(--radius-md);
  background: var(--cream-50);
}

.contact-assessment-card {
  align-self: start;
}

.content-section .contact-card .contact-phone {
  margin: 0 0 16px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: clamp(1.15rem, 1.4vw, 1.45rem);
  line-height: 1.2;
  letter-spacing: 0;
}

.content-section .contact-card .contact-phone a {
  display: inline;
  min-height: 0;
  padding: 0;
  border-radius: 0;
  color: var(--forest-800);
  background: transparent;
  text-decoration: underline;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.16em;
  white-space: nowrap;
}

.content-section .contact-card .contact-phone a:hover,
.content-section .contact-card .contact-phone a:focus-visible {
  color: var(--clay-600);
  background: transparent;
}

.assessment-process {
  margin: 26px 0 20px;
  overflow: hidden;
  border: 1px solid rgba(8, 59, 48, 0.12);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 18px 45px rgba(8, 42, 35, 0.08);
}

.assessment-process picture,
.assessment-process img {
  display: block;
  width: 100%;
}

.assessment-process img {
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
}

.assessment-process figcaption {
  padding: 22px;
}

.assessment-steps {
  display: grid;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.assessment-steps li {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
}

.assessment-steps li > span {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--forest-900);
  font-size: 0.7rem;
  font-weight: 850;
  letter-spacing: 0.06em;
}

.assessment-steps strong {
  margin: 0 0 3px;
  color: var(--forest-950);
  line-height: 1.2;
}

.assessment-steps p {
  margin: 0;
  color: var(--ink-700);
  font-size: 0.86rem;
  line-height: 1.5;
}

.assessment-disclaimer {
  margin: 18px 0 0;
  font-size: 0.68rem;
  line-height: 1.45;
}

.contact-card strong {
  display: block;
  margin-bottom: 7px;
  color: var(--forest-950);
}

.contact-card p:last-child {
  margin-bottom: 0;
}

.contact-note {
  color: #7a8781;
  font-size: 0.76rem;
}

/* Generated-page refinements */
.page-hero .content-card,
.page-hero .content-card h2,
.page-hero .content-card h3,
.page-hero .content-card p,
.page-hero .content-card a {
  color: var(--ink-900);
}

.page-hero .content-card .eyebrow {
  color: var(--clay-600);
}

.page-hero .content-card .text-link {
  color: var(--forest-800);
}

.hero-fact-card {
  align-self: center;
  padding: clamp(28px, 4vw, 46px);
  background: rgba(251, 248, 242, 0.98);
  box-shadow: var(--shadow-lg);
}

.hero-fact-card h2 {
  margin-bottom: 18px;
  font-size: clamp(2.2rem, 4vw, 3.7rem);
}

.hero-fact-card p:not(.eyebrow) {
  margin-bottom: 24px;
  color: var(--ink-700);
}

.hero-diagnostic-card {
  align-self: center;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: var(--radius-lg);
  color: var(--ink-900);
  background: rgba(251, 248, 242, 0.99);
  box-shadow: var(--shadow-lg);
}

.hero-diagnostic-card figure {
  margin: 0;
}

.hero-diagnostic-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.hero-diagnostic-card figcaption {
  padding: 24px 28px 22px;
}

.hero-diagnostic-card ol {
  display: grid;
  gap: 14px;
  margin: 0 0 20px;
  padding: 0;
  list-style: none;
}

.hero-diagnostic-card li {
  display: grid;
  padding-left: 18px;
  border-left: 3px solid var(--clay-500);
}

.hero-diagnostic-card li strong {
  color: var(--forest-950);
  font-family: Georgia, serif;
  font-size: 1.03rem;
}

.hero-diagnostic-card li span {
  color: var(--ink-700);
  font-size: 0.75rem;
}

.hero-diagnostic-card .visual-disclaimer {
  margin-top: 14px;
  padding: 12px 0 0;
  border-top: 1px solid var(--cream-200);
  background: transparent;
}

.city-diagnosis-card {
  width: 100%;
  max-width: 520px;
  justify-self: end;
  border-color: var(--cream-200);
}

.city-diagnosis-layout {
  width: min(calc(100% - 40px), 1180px);
  grid-template-columns: minmax(0, 1fr) minmax(400px, 0.8fr);
  gap: clamp(42px, 6vw, 80px);
  align-items: start;
}

.city-local-grid h3:first-child {
  margin-top: 0;
}

.allen-problem-grid,
.allen-service-directory {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.allen-problem-card h3 {
  font-size: 1.55rem;
}

.content-shell.wide {
  width: min(calc(100% - 40px), var(--shell));
}

.service-directory .directory-card {
  min-height: 330px;
}

.catalog-photo-grid,
.service-directory {
  align-items: stretch;
}

.catalog-photo-card {
  display: flex;
  min-width: 0;
  overflow: hidden;
  flex-direction: column;
  border: 1px solid #dce4df;
  border-radius: var(--radius-md);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.catalog-photo-card > img {
  width: 100%;
  height: 210px;
  object-fit: cover;
}

.catalog-photo-card > div {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 25px;
}

.catalog-photo-card h3 {
  margin-top: 0;
}

.catalog-photo-card p:not(.card-kicker) {
  flex: 1;
  color: var(--ink-700);
  font-size: 0.86rem;
}

.catalog-photo-card a {
  color: var(--forest-800);
  font-weight: 850;
}

.seo-copy {
  width: min(calc(100% - 40px), 1080px);
}

.seo-copy .section-heading {
  max-width: 940px;
}

.seo-copy .section-heading h2 {
  font-size: clamp(2.4rem, 4.3vw, 4.1rem);
}

.seo-copy-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(36px, 7vw, 88px);
}

.seo-copy-columns h3 {
  margin-top: 34px;
}

.seo-copy-columns h3:first-child {
  margin-top: 0;
}

.seo-copy-columns p {
  color: var(--ink-700);
}

.city-seo-feature {
  background: var(--forest-950);
  color: #fff;
}

.city-seo-feature .eyebrow {
  color: #ef9d70;
}

.city-seo-feature h2,
.city-seo-feature h3 {
  color: #fff;
}

.city-seo-feature p,
.city-seo-feature .seo-copy-columns p {
  color: #d7e4de;
}

.city-seo-feature a:not(.button) {
  color: #fff;
  text-decoration-color: #ef9d70;
}

.city-seo-intents,
.city-context-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
}

.city-seo-intents span {
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
  font-size: 0.8rem;
  font-weight: 800;
}

.allen-answer-section {
  padding-block: clamp(58px, 7vw, 88px);
}

.allen-answer-grid {
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.52fr);
  gap: clamp(36px, 6vw, 72px);
  align-items: start;
}

.allen-answer-nav {
  display: grid;
  gap: 0;
  margin: 0;
}

.allen-answer-nav h3 {
  margin: 4px 0 18px;
}

.allen-answer-nav a {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 13px 0;
  border-top: 1px solid #dce3df;
  text-decoration: none !important;
}

.allen-answer-nav a:last-child {
  border-bottom: 1px solid #dce3df;
}

.city-context-links a {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-width: min(100%, 250px);
  padding: 15px 18px;
  border: 1px solid #d7dfdb;
  border-radius: 16px;
  background: #fff;
  text-decoration: none !important;
}

.city-context-links a:hover {
  border-color: var(--clay-500);
  transform: translateY(-2px);
}

.form-honeypot {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
}

.problem-link-card {
  min-height: 310px;
}

.approach-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.approach-grid.four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.approach-card {
  min-height: 285px;
  padding: clamp(28px, 4vw, 44px);
  border: 1px solid var(--cream-200);
  border-radius: var(--radius-md);
}

.approach-card h3 {
  margin-top: 0;
}

.approach-card p:last-child {
  margin-bottom: 0;
}

.approach-correct {
  background: #eef7f1;
  box-shadow: inset 5px 0 #3a8a5b;
}

.approach-wrong {
  background: #fff3ef;
  box-shadow: inset 5px 0 #c75d3f;
}

.comparison-figure picture,
.education-visual picture {
  display: block;
}

.visual-disclaimer {
  margin: 0;
  padding: 12px 22px 16px;
  color: #6d7973;
  background: var(--white);
  font-size: 0.7rem;
  line-height: 1.45;
}

.cause-photo-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.cause-photo-card {
  overflow: hidden;
  border: 1px solid #dce4df;
  border-radius: var(--radius-md);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.cause-photo-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.cause-photo-card > div {
  padding: 26px;
}

.cause-photo-card h3 {
  margin-top: 0;
}

.cause-photo-card p:last-child {
  margin-bottom: 0;
}

.check-list-dark {
  display: grid;
  gap: 14px;
  padding-left: 23px;
}

.consequence-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.consequence-grid article {
  min-height: 250px;
  padding: 28px;
  border-top: 4px solid var(--clay-600);
  background: var(--cream-50);
}

.consequence-grid span {
  color: var(--clay-600);
  font-family: Georgia, serif;
  font-weight: 700;
}

.consequence-grid h3 {
  margin-top: 36px;
}

.consequence-grid p {
  margin: 0;
  font-size: 0.84rem;
}

.gallery-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.gallery-card-grid figure {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--cream-200);
  border-radius: var(--radius-md);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.gallery-card-grid img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.gallery-card-grid figcaption {
  padding: 24px;
}

.gallery-card-grid h2 {
  margin-bottom: 10px;
  font-size: 1.55rem;
}

.gallery-card-grid p {
  margin: 0;
  color: var(--ink-700);
  font-size: 0.86rem;
}

.gallery-disclaimer {
  margin-top: 18px;
  padding-inline: 0;
  background: transparent;
}

.resource-copy > section {
  max-width: 820px;
  padding-block: 32px;
  border-bottom: 1px solid #dce4df;
}

.resource-copy > section:first-child {
  padding-top: 0;
}

.resource-copy > section h2 {
  font-size: clamp(2rem, 3.5vw, 3.2rem);
}

.city-chip {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.contact-card h2:not(.contact-phone) {
  font-size: clamp(1.9rem, 3.2vw, 2.8rem);
}

.form-note a {
  color: var(--forest-800);
  font-weight: 850;
}

.service-visual-first .heading-split {
  align-items: end;
}

.service-visual-first .heading-split > div:last-child {
  max-width: 410px;
}

.service-visual-first .button {
  margin-top: 18px;
}

.service-comparison {
  width: min(100%, 1050px);
  margin-inline: auto;
}

.service-comparison.comparison-square {
  width: min(100%, 860px);
}

.service-comparison.comparison-square img {
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.service-comparison.comparison-wide img {
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.service-definition-grid,
.problem-explainer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(310px, 0.8fr);
  gap: clamp(44px, 7vw, 90px);
  align-items: start;
}

.service-definition-grid h3,
.problem-explainer-grid h3 {
  margin-top: 32px;
  color: var(--forest-900);
  font-size: 1.35rem;
}

.service-process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 44px;
}

.service-process-grid article {
  min-height: 245px;
  padding: 28px;
  border-top: 4px solid var(--clay-600);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.service-process-grid span {
  color: var(--clay-600);
  font-family: Georgia, serif;
  font-size: 1.25rem;
  font-weight: 800;
}

.service-process-grid h3 {
  margin-top: 28px;
  font-size: 1.35rem;
}

.service-process-grid p {
  margin-bottom: 0;
  font-size: 0.86rem;
}

.service-evidence-figure,
.problem-primary-figure {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--cream-200);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.service-evidence-photo,
.problem-primary-photo {
  display: block;
  width: 100%;
  height: clamp(420px, 50vw, 680px);
  max-height: none;
  border-radius: 0;
  object-fit: cover;
}

.service-evidence-figure figcaption,
.problem-primary-figure figcaption {
  padding: 16px 22px;
  color: #68746e;
  font-size: 0.72rem;
}

.service-seo-section {
  background: #f7faf8;
}

.problem-solution-first {
  color: var(--white);
  background: var(--forest-950);
}

.solution-first-grid {
  display: grid;
  grid-template-columns: minmax(320px, 0.72fr) minmax(520px, 1.28fr);
  gap: clamp(42px, 7vw, 88px);
  align-items: center;
}

.solution-first-copy h2,
.solution-first-copy h3 {
  color: var(--white);
}

.solution-first-copy p,
.solution-first-copy li {
  color: #d7e6df;
}

.solution-first-copy .button {
  margin-top: 18px;
}

.solution-figure {
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-lg);
}

.solution-figure > img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.solution-figure > figcaption {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  color: var(--ink-800);
  background: var(--white);
}

.solution-figure > figcaption > div {
  padding: 22px;
}

.solution-figure > figcaption > div:first-child {
  border-right: 1px solid var(--cream-200);
  background: #eef7f1;
}

.solution-figure > figcaption > div:nth-child(2) {
  background: #fff3ef;
}

.solution-figure strong {
  display: block;
  margin-bottom: 6px;
  color: var(--forest-950);
  font-family: Georgia, serif;
  font-size: 1.2rem;
}

.solution-figure figcaption p:not(.visual-disclaimer) {
  margin: 0;
  color: var(--ink-700);
  font-size: 0.8rem;
}

.solution-figure .visual-disclaimer {
  grid-column: 1 / -1;
}

.problem-photo-section .section-heading {
  margin-bottom: 36px;
}

.problem-primary-figure {
  width: 100%;
}

.problem-tips .content-card .button {
  margin-top: 16px;
}

@media (max-width: 960px) {
  .page-hero-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .page-hero-grid {
    padding-block: 70px;
  }

  .mini-assessment {
    max-width: 650px;
  }

  .card-directory {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .allen-problem-grid,
  .allen-service-directory {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .city-chip-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .approach-grid.four,
  .consequence-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gallery-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-diagnostic-card {
    max-width: 650px;
  }

  .solution-first-grid,
  .service-definition-grid,
  .problem-explainer-grid {
    grid-template-columns: 1fr;
  }

  .solution-figure {
    width: min(100%, 760px);
  }

  .service-process-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .page-hero-grid,
  .two-column,
  .two-column-balanced,
  .page-intro-grid {
    grid-template-columns: 1fr;
  }

  .page-hero-grid {
    min-height: 0;
  }

  .card-directory {
    grid-template-columns: 1fr;
  }

  .allen-problem-grid,
  .allen-service-directory {
    grid-template-columns: 1fr;
  }

  .comparison-captions {
    grid-template-columns: 1fr;
  }

  .comparison-captions > div:first-child {
    border-right: 0;
    border-bottom: 1px solid var(--cream-200);
  }

  .decision-table {
    display: block;
    overflow-x: auto;
  }

  .callout-band .shell {
    align-items: flex-start;
    flex-direction: column;
  }

  .city-chip-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .cause-photo-grid,
  .approach-grid,
  .approach-grid.four,
  .consequence-grid,
  .gallery-card-grid,
  .seo-copy-columns {
    grid-template-columns: 1fr;
  }

  .directory-card,
  .problem-link-card,
  .service-directory .directory-card {
    min-height: 0;
  }

  .cause-photo-card img {
    aspect-ratio: 1 / 1;
  }

  .comparison-figure img,
  .education-visual img {
    aspect-ratio: 1 / 1;
    object-fit: cover;
  }

  .service-comparison.comparison-square img,
  .service-comparison.comparison-wide img,
  .solution-figure > img {
    aspect-ratio: 1 / 1;
    object-fit: cover;
  }

  .service-process-grid,
  .solution-figure > figcaption {
    grid-template-columns: 1fr;
  }

  .service-process-grid article {
    min-height: 0;
  }

  .solution-figure > figcaption > div:first-child {
    border-right: 0;
    border-bottom: 1px solid var(--cream-200);
  }

  .service-evidence-photo,
  .problem-primary-photo {
    height: auto;
    aspect-ratio: 1 / 1;
  }

  .diagram-title {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }

  .diagram-title span {
    font-size: 1.05rem;
  }

  .visual-disclaimer,
  .education-visual figcaption {
    padding: 12px 16px 16px;
    font-size: 0.66rem;
  }

  .hero-fact-card {
    padding: 28px;
  }

  .hero-fact-card h2 {
    font-size: 2.25rem;
  }

  .content-section .photo-banner {
    aspect-ratio: 1 / 1;
    object-fit: cover;
  }

  .catalog-photo-card > img {
    height: 210px;
  }

  .hero-diagnostic-card figcaption {
    padding: 22px;
  }

  .city-diagnosis-card {
    max-width: none;
    justify-self: stretch;
  }

  .city-diagnosis-layout {
    width: min(calc(100% - 30px), 1180px);
    grid-template-columns: 1fr;
  }

  .allen-answer-grid {
    grid-template-columns: 1fr;
  }

  .city-context-links {
    display: grid;
    grid-template-columns: 1fr;
  }

  .seo-copy .section-heading h2 {
    font-size: clamp(1.95rem, 9vw, 2.6rem);
  }
}
