/* Preserve the former Google Fonts 400-to-500 fallback with one shared file. */
@font-face{font-family:Montserrat;font-style:normal;font-weight:400;font-display:swap;src:url('/assets/fonts/montserrat-latin-500-normal.woff2') format('woff2')}
@font-face{font-family:Montserrat;font-style:normal;font-weight:500;font-display:swap;src:url('/assets/fonts/montserrat-latin-500-normal.woff2') format('woff2')}
@font-face{font-family:Montserrat;font-style:normal;font-weight:600;font-display:swap;src:url('/assets/fonts/montserrat-latin-600-normal.woff2') format('woff2')}
@font-face{font-family:Montserrat;font-style:normal;font-weight:700;font-display:swap;src:url('/assets/fonts/montserrat-latin-700-normal.woff2') format('woff2')}

:root {
  color-scheme: light;
  --gold: #FFD700;
  --gold-hover: #e6c200;
  --slate: #1C262B;
  --charcoal: #36454F;
  --muted: #5f6368;
  --paper: #ffffff;
  --surface: #f8f9fa;
  --line: #dadce0;
  --blue: #7BAFD4;
  --blue-soft: #eef6fb;
  --error: #b3261e;
  --error-soft: #fce8e6;
  --success: #137333;
  --success-soft: #e6f4ea;
  --shadow: 0 16px 44px rgba(28, 38, 43, 0.12);
}

.analytics-choice {
  position: fixed;
  z-index: 100;
  right: 16px;
  bottom: 16px;
  width: min(420px, calc(100% - 32px));
  max-height: calc(100dvh - 32px);
  overflow: auto;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--paper);
  color: var(--slate);
  box-shadow: var(--shadow);
  font-size: 14px;
}
.analytics-choice h2 { font-size: 18px; margin: 0 0 8px; }
.analytics-choice p { margin: 8px 0; }
.analytics-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.analytics-settings { min-height: 44px; background: transparent; color: inherit; border: 0; padding: 0; text-decoration: underline; cursor: pointer; }

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--slate);
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

button,
input,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  top: -100px;
  left: 10px;
  z-index: 100;
  padding: 10px 14px;
  border-radius: 6px;
  background: var(--paper);
  color: var(--slate);
  font-weight: 700;
}

.skip-link:focus {
  top: 10px;
}

.shell {
  width: min(100% - 40px, 1180px);
  margin-inline: auto;
}

.site-header {
  position: relative;
  z-index: 10;
  border-bottom: 1px solid rgba(28, 38, 43, 0.1);
  background: rgba(255, 255, 255, 0.98);
}

.header-inner {
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand-link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
}

.brand-link img {
  width: 148px;
  height: 58px;
  object-fit: contain;
}

.header-actions,
.hero-actions,
.footer-links,
.contact-options {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border: 2px solid var(--gold);
  border-radius: 8px;
  background: var(--gold);
  color: var(--slate);
  cursor: pointer;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  transition: background-color 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.button:hover {
  border-color: var(--gold-hover);
  background: var(--gold-hover);
  transform: translateY(-1px);
}

.button:disabled {
  border-color: var(--line);
  background: #f1f3f4;
  color: #73777a;
  cursor: wait;
  transform: none;
}

.button-small {
  min-height: 44px;
  padding: 10px 16px;
  font-size: 0.875rem;
}

.text-link {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  font-weight: 700;
  text-underline-offset: 4px;
}

.text-link-light {
  color: var(--paper);
}

.section-dark {
  background: var(--slate);
  color: var(--paper);
}

.hero {
  padding: clamp(40px, 5vw, 72px) 0;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: clamp(28px, 4vw, 52px);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eyebrow-dark {
  color: var(--charcoal);
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  margin-top: 0;
  line-height: 1.16;
}

h1 {
  max-width: 720px;
  margin-bottom: 24px;
  font-size: clamp(2.3rem, 3.8vw, 3.35rem);
  letter-spacing: -0.045em;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(1.85rem, 3.6vw, 3.1rem);
  letter-spacing: -0.035em;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.125rem;
}

.hero-summary {
  max-width: 650px;
  margin: 0 0 30px;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1rem, 1.8vw, 1.2rem);
}

.hero-visual {
  margin: 0;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 3px;
  overflow: hidden;
  background: var(--charcoal);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
}

.hero-visual img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center;
}

.hero-visual figcaption {
  padding: 14px 18px 16px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.78rem;
  line-height: 1.5;
}

.content-section {
  padding: clamp(64px, 9vw, 112px) 0;
}

.section-soft {
  background: var(--surface);
}

.narrow-heading {
  max-width: 780px;
  margin-bottom: 38px;
}

.section-intro {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.feature-grid { display: grid; grid-template-columns: 1fr 1.08fr; gap: clamp(36px, 6vw, 80px); align-items: center; }
.feature-copy { grid-column: 2; grid-row: 1; }
.feature-photo { grid-column: 1; grid-row: 1; margin: 0; }
.feature-photo img { width: 100%; height: auto; border-radius: 3px; }
.feature-photo figcaption { margin-top: 16px; color: var(--muted); font-size: .85rem; }
.feature-detail { margin-top: 30px; padding-top: 26px; border-top: 1px solid var(--line); }
.feature-detail h3 { font-size: 1.2rem; }
.feature-detail p { color: var(--muted); margin-bottom: 14px; }
.questions-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(36px, 8vw, 100px); }
.questions-list { border-top: 1px solid var(--line); }
.questions-list details { border-bottom: 1px solid var(--line); }
.questions-list summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 78px; padding: 22px 0; font-size: 1.1rem; font-weight: 700; cursor: pointer; list-style: none; }
.questions-list summary::-webkit-details-marker { display: none; }
.questions-list summary::after { content: '+'; flex: 0 0 24px; text-align: center; font-size: 1.6rem; font-weight: 500; }
.questions-list details[open] summary::after { content: '\2212'; }
.questions-list details p { margin: 0; padding: 0 36px 26px 0; color: var(--muted); }

.guidance-section { background: var(--blue-soft); border-block: 1px solid var(--line); }
.guidance-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(36px, 6vw, 80px); align-items: center; }
.guidance-copy { align-self: start; position: sticky; top: 32px; }
.guidance-copy .button { margin-top: 28px; }
.guide-preview { min-width: 0; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; background: var(--paper); box-shadow: var(--shadow); }
.guide-preview-label { margin: 0; padding: 16px 24px; border-bottom: 1px solid var(--line); color: var(--charcoal); font-size: .85rem; font-weight: 600; }
.guide-preview-frame { display: block; width: 100%; height: 1100px; border: 0; }
.guide-continuation { position: relative; height: 230px; overflow: hidden; padding: 30px; border-top: 1px solid var(--line); }
.guide-continuation::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to bottom,rgba(255,255,255,0) 8%,rgba(255,255,255,.45) 40%,white 94%); }
.guide-chapter { font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; }
.guide-continuation h3 { font-size: 1.8rem; }
.guide-continuation p:last-child { font-size: .9rem; color: var(--muted); }

.consultation-section {
  background: var(--paper);
}

.consultation-grid {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(0, 1.2fr);
  align-items: start;
  gap: clamp(40px, 8vw, 100px);
}

.consultation-copy {
  position: sticky;
  top: 28px;
}

.contact-options {
  margin-top: 28px;
}

.contact-options a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  color: var(--charcoal);
  font-weight: 700;
  text-underline-offset: 4px;
}

.form-card {
  min-width: 0;
  padding: clamp(20px, 3vw, 28px);
  border: 1px solid var(--line);
  border-top: 7px solid var(--gold);
  border-radius: 14px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.field-group {
  margin-bottom: 14px;
}

.field-group label {
  display: block;
  margin-bottom: 7px;
  font-weight: 700;
}

.field-group input,
.field-group textarea {
  width: 100%;
  min-height: 48px;
  padding: 11px 13px;
  border: 1px solid #a9afb3;
  border-radius: 7px;
  background: var(--paper);
  color: var(--slate);
}

.field-group textarea {
  min-height: 100px;
  resize: vertical;
}

.field-group input:focus,
.field-group textarea:focus {
  border-color: var(--charcoal);
}

.field-group [aria-invalid="true"] {
  border-color: var(--error);
  background: #fffafa;
}

.field-help,
.field-error,
.required-note,
.form-status {
  margin: 7px 0 0;
  font-size: 0.78rem;
  line-height: 1.5;
}

.field-help,
.required-note {
  color: var(--muted);
}

.field-error {
  min-height: 1.2em;
  color: var(--error);
  font-weight: 600;
}

/* Empty validation/status slots must not inflate every contact form. */
.field-error:empty, .form-status:empty { display: none; }

.consent-row {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  align-items: start;
  gap: 10px;
  margin: 6px 0 18px;
}

.consent-row input {
  width: 20px;
  height: 20px;
  margin: 3px 0 0;
  accent-color: var(--charcoal);
}

.consent-row label {
  font-size: 0.86rem;
}

.consent-row a {
  font-weight: 700;
  text-underline-offset: 3px;
}

.form-submit {
  width: 100%;
  margin-top: 18px;
}

.form-status {
  min-height: 1.5em;
  padding: 0;
  color: var(--error);
  font-weight: 600;
}

.form-status:not(:empty) {
  margin-top: 14px;
  padding: 12px 14px;
  border: 1px solid #f2b8b5;
  border-radius: 7px;
  background: var(--error-soft);
}

.form-status[data-kind="pending"] {
  border-color: var(--line);
  background: var(--paper);
  color: var(--charcoal);
}

.success-panel {
  padding: 24px;
  border: 1px solid #a8d5b7;
  border-radius: 10px;
  background: var(--success-soft);
  color: var(--slate);
}

.success-panel h3 {
  font-size: 1.5rem;
}

.success-panel p {
  margin-bottom: 0;
}

.success-kicker {
  margin: 0 0 8px;
  color: var(--success);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.success-reference {
  color: var(--muted);
  font-size: 0.75rem;
  overflow-wrap: anywhere;
}

.site-footer {
  padding: 48px 0;
  background: var(--slate);
  color: var(--paper);
}

.footer-grid {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  align-items: center;
  gap: 40px;
}

.footer-grid img {
  width: 150px;
  height: 82px;
  object-fit: contain;
}

.footer-title {
  margin: 0 0 16px;
  font-size: 1.1rem;
  font-weight: 700;
}

.footer-links a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  color: rgba(255, 255, 255, 0.86);
  text-underline-offset: 4px;
}

[hidden] {
  display: none !important;
}

@media (max-width: 900px) {
  .hero-grid,
  .feature-grid,
  .guidance-grid,
  .questions-grid,
  .consultation-grid {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    max-width: 760px;
  }

  .feature-copy, .feature-photo { grid-column: auto; grid-row: auto; }

  .consultation-copy {
    position: static;
  }
}

@media (max-width: 640px) {
  .guidance-copy { position: static; }
  html {
    scroll-padding-top: 24px;
  }

  .shell {
    width: min(100% - 28px, 1180px);
  }

  .header-inner {
    min-height: 72px;
    gap: 10px;
  }

  .brand-link img {
    width: 112px;
    height: 50px;
  }

  .header-phone {
    display: none;
  }

  .button-small {
    padding-inline: 12px;
    font-size: 0.78rem;
    max-width: min(210px, calc(100vw - 150px));
  }

  .hero {
    padding-top: 46px;
  }

  h1 {
    font-size: clamp(2rem, 8.4vw, 3rem);
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-actions .button,
  .hero-actions .text-link {
    width: 100%;
    justify-content: center;
  }

  .hero-visual img {
    object-position: center;
  }

  .contact-options {
    align-items: stretch;
    flex-direction: column;
  }

  .contact-options a {
    width: 100%;
  }

  .form-card {
    padding: 22px 18px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .footer-links {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }
}

/* Owner-first paid pages keep the form as the opening action. */
.owner-hero-form-page .header-inner { min-height: 64px; }
.owner-hero-form-page .brand-link img { width: 110px; height: 54px; }
.owner-hero-form {
  padding: 24px 0;
  color: var(--paper);
  background-color: var(--slate);
  background-image: linear-gradient(90deg, rgba(20,30,35,.84), rgba(20,30,35,.62) 49%, rgba(20,30,35,.35)), var(--hero-image);
  background-size: cover;
  background-position: center 35%;
}
.owner-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) 420px; gap: 64px; align-items: center; }
.owner-hero-copy { max-width: 620px; }
.owner-hero-copy h1 { max-width: 620px; margin: 0 0 20px; font-size: clamp(2.125rem, 3.5vw, 3rem); }
.owner-hero-summary { max-width: 620px; margin: 0 0 18px; font-size: 1.125rem; line-height: 1.6; }
.owner-hero-cta { display: inline-flex; min-height: 44px; align-items: center; gap: 6px; color: var(--gold); font-weight: 700; text-underline-offset: 4px; }
.owner-hero-phone { display: block; width: fit-content; margin-top: 8px; color: var(--paper); font-size: .875rem; font-weight: 700; text-underline-offset: 4px; }
.owner-hero-card { color: var(--slate); background: var(--paper); padding: 20px; border-top: 5px solid var(--gold); border-radius: 10px; box-shadow: var(--shadow); }
.owner-hero-card h2 { font-size: 1.375rem; line-height: 1.25; margin: 0 0 8px; }
.owner-form-intro { font-size: .875rem; line-height: 1.5; margin: 0 0 14px; }
.owner-hero-card #lead-form { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px 12px; }
.owner-hero-card #lead-form > :first-child,
.owner-hero-card #lead-form > :nth-child(n+4) { grid-column: 1 / -1; }
.owner-hero-card .field-group { min-width: 0; margin: 0; }
.owner-hero-card .field-group label { margin-bottom: 3px; font-size: .8125rem; }
.owner-hero-card .field-group input, .owner-hero-card .field-group textarea { min-height: 44px; padding: 8px 10px; }
.owner-hero-card .field-group textarea { min-height: 80px; }
.owner-hero-card .field-help { margin-top: 5px; font-size: .75rem; }
.owner-hero-card .field-error:empty, .owner-hero-card .form-status:empty { display: none; }
.owner-hero-card .consent-row { margin: 0; min-height: 44px; gap: 8px; }
.owner-hero-card .consent-row label { font-size: .75rem; line-height: 1.5; }
.owner-hero-card .required-note { margin: 0; font-size: .75rem; }
.owner-hero-card .form-submit { margin: 0; min-height: 46px; }
@media (max-width: 1100px) {
  .owner-hero-grid { grid-template-columns: minmax(0, 1fr) 390px; gap: 32px; }
  .owner-hero-summary { font-size: 1rem; }
}
@media (max-width: 850px) {
  .owner-hero-grid { grid-template-columns: 1fr; max-width: 620px; gap: 24px; }
  .owner-hero-form { background-position: center top; background-size: auto 650px; background-repeat: no-repeat; }
  .owner-hero-copy h1 { font-size: 2.125rem; }
  .owner-hero-summary { margin-bottom: 10px; }
  .owner-hero-phone { display: none; }
}
@media (max-width: 480px) {
  .owner-hero-form-page .header-inner { min-height: 52px; }
  .owner-hero-form-page .brand-link img { width: 88px; height: 42px; }
  .owner-hero-form { padding: 20px 0 24px; }
  .owner-hero-grid { gap: 18px; }
  .owner-hero-copy h1 { font-size: 1.875rem; margin-bottom: 14px; }
  .owner-hero-summary { line-height: 1.55; }
  .owner-hero-card { padding: 16px; }
  .owner-hero-card h2 { font-size: 1.3125rem; }
  .owner-form-intro { font-size: .8125rem; }
}
@media (max-width: 360px) {
  .owner-hero-card #lead-form { grid-template-columns: 1fr; }
  .owner-hero-card #lead-form > * { grid-column: 1; }
  .owner-hero-copy h1 { font-size: 1.75rem; }
}
.contact-banner { position: sticky; top: 0; z-index: 20; background: var(--gold); color: var(--slate); }
.contact-banner-inner { display: flex; justify-content: space-between; gap: 16px; }
.contact-banner a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; min-width: 0; max-width: 100%; font-size: .875rem; font-weight: 600; text-decoration: none; }
.contact-banner a span { overflow-wrap: anywhere; }
.contact-banner a:hover { text-decoration: underline; }
.contact-banner svg { width: 17px; height: 17px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; }
.contact-banner :focus-visible { outline-color: var(--slate); outline-offset: -3px; }
.widget-page #consultation { scroll-margin-top: 44px; }
.widget-page input, .widget-page textarea, .widget-page summary, .widget-page button { scroll-margin-top: 64px; }
.widget-page .skip-link { z-index: 101; }
.hero-form {
  padding: 32px 0 48px;
  background-color: var(--slate);
  background-image: linear-gradient(90deg, rgba(28,38,43,.78), rgba(28,38,43,.55) 55%, rgba(28,38,43,.28)), var(--hero-image);
  background-size: cover;
  background-position: center 15%;
}
.hero-form-grid { width: min(100% - 80px, 1280px); display: grid; grid-template-columns: minmax(0, 1fr) 390px; gap: 64px; align-items: start; min-height: 580px; }
.hero-brand { margin-bottom: 30px; }
.hero-brand img { width: 145px; height: auto; }
.hero-form h1 { max-width: 720px; font-size: clamp(2.75rem, 5.2vw, 4.7rem); }
.hero-form .hero-summary { max-width: 720px; color: var(--paper); margin: 0; font-size: 1.25rem; }
:is(.hero-form, .consultation-panel) .form-card { margin-top: 42px; background: var(--paper); color: var(--slate); padding: 20px; border-top-width: 5px; border-radius: 12px; }
:is(.hero-form, .consultation-panel) .field-group { margin-bottom: 10px; }
:is(.hero-form, .consultation-panel) .field-group label { margin-bottom: 3px; font-size: .875rem; }
:is(.hero-form, .consultation-panel) .field-group input, :is(.hero-form, .consultation-panel) .field-group textarea { padding: 8px 10px; min-height: 44px; }
:is(.hero-form, .consultation-panel) .field-group textarea { min-height: 76px; }
:is(.hero-form, .consultation-panel) .field-error:empty, :is(.hero-form, .consultation-panel) .form-status:empty { display: none; }
:is(.hero-form, .consultation-panel) .consent-row { margin: 10px 0; min-height: 44px; }
:is(.hero-form, .consultation-panel) .consent-row label { min-height: 44px; }
:is(.hero-form, .consultation-panel) .form-submit { margin-top: 12px; }
.widget-page .feature-detail { margin-top: 16px; padding-top: 0; border: 0; }
.widget-page .feature-detail p { margin: 0; }
.widget-page .feature-grid { row-gap: 16px; }
.widget-page .feature-photo { grid-row: 1 / 3; }
.feature-action { grid-column: 2; justify-self: start; }
.questions-action { margin-top: 28px; }
.services-section { background: var(--surface); }
.services-heading { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; margin-bottom: 36px; }
.services-heading h2 { margin: 0; font-size: clamp(2rem, 3.2vw, 2.8rem); }
.services-projects { display: grid; grid-template-columns: 1.2fr 1fr; gap: 24px; }
.services-projects figure { margin: 0; }
.services-projects img { width: 100%; height: 360px; object-fit: cover; border-radius: 4px; }
.services-projects figure:first-child img { object-position: 70% center; }
.services-projects figcaption { padding-top: 12px; color: var(--charcoal); font-size: .875rem; font-weight: 600; }
.services-reach { display: grid; grid-template-columns: .85fr 1.15fr; gap: 44px; align-items: center; margin-top: 48px; padding: 32px 40px; background: var(--slate); color: var(--paper); border-radius: 6px; }
.services-reach h3 { max-width: 360px; font-size: clamp(1.5rem, 2.5vw, 2.2rem); color: var(--gold); }
.services-reach p { margin: 18px 0 0; }
.services-reach img { width: 100%; height: auto; }
.widget-page .footer-title { font-size: 1.5rem; margin-bottom: 8px; }
.widget-page .footer-description { margin: 0 0 16px; }
.widget-page .footer-grid img { width: 160px; height: auto; }
@media (max-width: 900px) {
  .hero-form { padding: 16px 0 32px; background-size: 100% auto; background-repeat: no-repeat; background-position: center top;
    background-image: linear-gradient(to bottom, rgba(28,38,43,.68), rgba(28,38,43,.80) 40vw, var(--slate) 75vw), var(--hero-image); }
  .hero-form-grid { width: min(100% - 28px, 600px); grid-template-columns: 1fr; gap: 20px; min-height: 0; }
  .hero-brand { margin-bottom: 16px; }
  .hero-brand img { width: 110px; height: auto; }
  .hero-form h1 { font-size: clamp(2rem, 8.4vw, 3rem); margin-bottom: 12px; }
  .hero-form .hero-summary { font-size: 1rem; }
  :is(.hero-form, .consultation-panel) .form-card { margin-top: 0; padding: 16px 18px; }
  .widget-page .feature-photo, .feature-action { grid-column: auto; grid-row: auto; }
  .services-heading { grid-template-columns: 1fr; gap: 16px; margin-bottom: 28px; }
  .services-reach { padding: 28px; gap: 24px; }
}
@media (max-width: 640px) {
  .contact-banner-inner { width: calc(100% - 20px); gap: 8px; }
  .contact-banner a { font-size: .75rem; gap: 5px; }
  .contact-banner svg { width: 14px; height: 14px; }
  .services-projects, .services-reach { grid-template-columns: 1fr; }
  .services-projects img { height: auto; }
  .services-reach { margin-top: 32px; padding: 28px 20px; }
}
@media (max-width: 360px) {
  .contact-banner-inner { flex-wrap: wrap; justify-content: center; gap: 0 12px; }
  .widget-page input, .widget-page textarea, .widget-page summary, .widget-page button { scroll-margin-top: 104px; }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
.pathways-section .section-intro { max-width: 760px; }
.pathways-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 16px; margin-top: 30px; }
.pathway-card { display: block; padding: 24px; color: #1C262B; background: #fff; border: 1px solid #dadce0; border-radius: 14px; text-decoration: none; box-shadow: 0 6px 22px rgba(28,38,43,.06); }
.pathway-card:hover, .pathway-card:focus-visible { border-color: #7BAFD4; box-shadow: 0 8px 25px rgba(28,38,43,.13); }
.pathway-card h3 { margin: 0 0 10px; font-size: 19px; }
.pathway-card p { margin: 0 0 18px; line-height: 1.55; }
.pathway-card span { font-weight: 700; }
body.organizing-page .pathway-photo { width: 100%; height: auto; aspect-ratio: 4/3; object-fit: cover; border-radius: 8px; margin-bottom: 18px; }
body.organizing-page .pathway-card { display: flex; flex-direction: column; }
body.organizing-page .pathway-card span { margin-top: auto; font-size: 18px; color: #1c262b; }
body.organizing-page .pathways-section:nth-of-type(even) { background: #f4f8fb; }
body.organizing-page .header-actions .button,
body.organizing-page .hero-actions .button,
body.organizing-page .form-submit { font-size: 18px; font-weight: 700; min-height: 48px; }
body.organizing-page .hero-chat .hero-visual img { max-height: 280px; }
@media (max-width: 600px) {
  body.organizing-page .header-inner { flex-wrap: wrap; }
  body.organizing-page .header-inner > .brand-link img { width: 100px; height: 64px; }
  body.organizing-page .header-actions { display: flex; flex-wrap: wrap; gap: 4px 16px; justify-content: flex-end; }
  body.organizing-page .header-actions .button { font-size: 18px; padding: 12px 14px; }
  body.organizing-page .header-inner > .header-actions { flex: 1 1 185px; }
}

.owner-hero-form-page .content-section { padding-block: 56px; }
.owner-feature-intro { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; margin-bottom: 32px; }
.owner-feature-intro h2 { font-size: clamp(1.75rem, 3vw, 2.125rem); }
.owner-feature-intro p { margin: 0 0 18px; }
.owner-project-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: start; }
.owner-project-pair figure { margin: 0; }
.owner-project-pair img { width: 100%; height: auto; max-height: 600px; object-fit: contain; object-position: left top; border-radius: 4px; }
.owner-project-pair figcaption { max-width: 540px; margin-top: 12px; color: var(--muted); font-size: .8125rem; }
.owner-hero-form-page .questions-grid { display: block; max-width: 900px; }
.owner-hero-form-page .questions-grid h2 { font-size: clamp(1.75rem, 3vw, 2.125rem); }
.owner-hero-form-page .questions-list summary { min-height: 64px; padding-block: 16px; }
.owner-hero-form-page .pathways-section { padding-block: 32px; }
.owner-hero-form-page .pathways-section h2 { font-size: 1.375rem; margin-bottom: 8px; }
.owner-hero-form-page .pathways-section .section-intro { font-size: 1rem; }
.owner-hero-form-page .pathways-grid { margin-top: 16px; }
.owner-hero-form-page .pathway-card { max-width: 620px; padding: 18px 20px; }
.owner-hero-form-page .pathway-card p { margin-bottom: 8px; }
.owner-closing-section { padding: 48px 0; background: var(--slate); color: var(--paper); }
.owner-closing-section h2 { max-width: 700px; font-size: clamp(1.75rem, 3vw, 2.125rem); }
.owner-closing-section p { max-width: 650px; margin: 0 0 20px; }
.owner-closing-phone { display: block; width: fit-content; margin-top: 12px; text-underline-offset: 4px; }
.owner-hero-form-page .site-footer { padding: 40px 0; }
.owner-hero-form-page .footer-description { max-width: 750px; font-size: .875rem; }
@media (max-width: 850px) {
  .owner-hero-form-page .content-section { padding-block: 40px; }
  .owner-feature-intro, .owner-project-pair { grid-template-columns: 1fr; gap: 24px; }
  .owner-feature-intro { margin-bottom: 28px; }
  .owner-project-pair img { max-height: none; }
}

/* The existing compact form retains its dimensions in the closing panel. */
.consultation-panel-grid { width: min(100% - 80px, 1280px); display: grid; grid-template-columns: minmax(0, 1fr) 390px; gap: 64px; align-items: start; }
.consultation-panel-copy { max-width: 660px; }
.consultation-panel .form-card { margin-top: 0; }
.hero-form .chat-card { margin-top: 42px; min-width: 0; }
@media (max-width: 900px) {
  .consultation-panel-grid { width: min(100% - 28px, 600px); grid-template-columns: 1fr; gap: 24px; }
  .hero-form .chat-card { margin-top: 0; }
}

/* Shared customer-page contact menu and portfolio. Broker pages use their own sheet. */
.chat-landing-page .site-header { position: sticky; top: 0; z-index: 90; background: #fff; box-shadow: 0 3px 18px #17242b14; }
.chat-landing-page .header-inner { min-height: 76px; padding-block: 6px; }
.chat-landing-page .header-actions { flex-wrap: nowrap; }
.chat-landing-page .header-phone { display: inline-flex; align-items: center; min-height: 44px; white-space: nowrap; }
.chat-landing-page .header-actions .button { min-height: 44px; max-width: none; }
.chat-landing-page [id], .chat-landing-page #consultation { scroll-margin-top: var(--contact-offset, 110px); }
.chat-landing-page .skip-link { z-index: 101; }
.chat-card { min-width: 0; }
.hero-chat .hero-grid { align-items: start; }
.hero-chat .hero-grid { row-gap: 24px; }
.hero-chat .chat-card { grid-column: 2; grid-row: 1 / 3; }
.hero-chat .hero-visual { grid-column: 1; grid-row: 2; margin: 0; max-width: 440px; }
.hero-chat .hero-visual img { width: 100%; max-height: 240px; object-fit: cover; }
/* Keep the opening story and primary action together on desktop displays. */
@media (min-width: 901px) {
  .hero-chat { padding-block: 28px; }
  .hero-chat .hero-grid { row-gap: 16px; }
  .hero-chat h1 { font-size: clamp(30px, 2.6vw, 40px); margin-bottom: 16px; }
  .hero-chat .hero-summary { font-size: 16px; line-height: 1.5; margin-bottom: 18px; }
  .hero-chat .hero-visual img { max-height: 160px; }
  .hero-chat .hero-visual figcaption { padding: 8px 12px; }
  .hero-form { padding-block: 24px; }
  .hero-form-grid { min-height: 0; }
  .hero-form .chat-card { margin-top: 0; }
}
.chat-landing-page .owner-hero-card { padding: 0; border: 0; background: transparent; }
.portfolio-section { padding-block: 64px; background: #f3f5f5; border-top: 4px solid var(--gold); }
.portfolio-intro { max-width: 790px; margin-bottom: 32px; }
.portfolio-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.portfolio-card { min-width: 0; }
.portfolio-card .portfolio-image { width: 100%; height: auto; aspect-ratio: 4/3; object-fit: cover; border-radius: 4px; }
.portfolio-card:nth-child(3) .portfolio-image { object-position: 70% center; }
.portfolio-section .portfolio-card h3 { font-size: 20px; line-height: 1.25; letter-spacing: -.025em; margin: 18px 0 10px; }
.portfolio-section .portfolio-card p { font-size: 14px; line-height: 1.6; margin: 0; }
.portfolio-close { margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--line); }
.portfolio-section .portfolio-close p { margin: 0 0 10px; font-size: 15px; }
@media (max-width: 1050px) { .portfolio-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 24px; } }
@media (max-width: 900px) {
  .hero-chat .chat-card, .hero-chat .hero-visual { grid-column: auto; grid-row: auto; }
}
@media (max-width: 600px) {
  .chat-landing-page .header-inner { gap: 8px; min-height: 84px; }
  .chat-landing-page .header-inner > .brand-link img { width: 80px; height: 58px; }
  .chat-landing-page .header-actions { display: grid; justify-items: end; gap: 0; }
  .chat-landing-page .header-phone { font-size: 13px; }
  .chat-landing-page .header-actions .button { font-size: 12px; padding: 10px 14px; }
  .portfolio-section { padding-block: 40px; }
  .portfolio-grid { grid-template-columns: 1fr; gap: 24px; }
  .portfolio-card { display: grid; grid-template-columns: 112px minmax(0,1fr); gap: 16px; align-items: start; }
  .portfolio-card .portfolio-image { aspect-ratio: 4/3; object-fit: contain; }
  .portfolio-section .portfolio-card h3 { font-size: 17px; margin: 0 0 8px; }
  .portfolio-section .portfolio-card p { font-size: 13px; }
}
