/* ===========================================================
   Charity Care Inc — stylesheet
   Full-bleed editorial system: no rounded "page shell" card, no
   1180px brochure column. Sticky/transparent-over-hero header,
   full-viewport hero with slow zoom, wide asymmetric grids, large
   editorial type. Fraunces (display) + Public Sans (body).
   =========================================================== */

@import url("https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,440..620;1,9..144,440..620&family=Public+Sans:wght@400;500;600;700&display=swap");

:root {
  --font-display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --font-body: "Public Sans", "Inter", sans-serif;

  --surface: #ffffff;
  --paper: #faf6ee;
  --paper-deep: #f2ebdc;
  --ink: #0e2a3d;
  --ink-deep: #09243c;
  --ink-text: var(--ink); /* body text that's navy-on-light; swaps to near-white in dark mode */
  /* AA-safe gold for text/buttons on light backgrounds (~4.7:1 vs white).
     Button/border fills always pair this with white text regardless of
     theme, so it does NOT change in dark mode — only --ochre-text (used
     for gold TEXT sitting directly on the page background) does. */
  --ochre: #986b1a;
  --ochre-press: #7d5815;
  --ochre-soft: #e7b86a; /* gold for use on navy — same in both themes */
  --ochre-text: var(--ochre); /* gold text on --paper/--surface; lighter in dark mode */
  --terracotta: #b5563c;
  --terracotta-text: var(--terracotta); /* lighter in dark mode */
  --text: #5b6a72;
  --text-dark: #16303f;
  --white: #ffffff;
  color-scheme: light dark;

  --on-ink-strong: rgba(255, 255, 255, 0.85);
  --on-ink: rgba(255, 255, 255, 0.75);
  --on-ink-muted: rgba(255, 255, 255, 0.65);
  --on-ink-faint: rgba(255, 255, 255, 0.2);
  --on-ink-rule: rgba(255, 255, 255, 0.1);

  --border: rgba(14, 42, 61, 0.1);
  --border-strong: rgba(14, 42, 61, 0.2);

  --radius: 6px;
  --radius-lg: 20px;
  --radius-pill: 999px;

  --shadow-card: 0 1px 2px rgba(14, 42, 61, 0.04), 0 14px 32px -20px rgba(14, 42, 61, 0.25);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --dur-fast: 0.2s;
  --dur-med: 0.25s;
  --dur-slow: 1.2s;

  --scrim-hero: linear-gradient(0deg, rgba(9, 26, 39, 0.9) 0%, rgba(9, 26, 39, 0.5) 42%, rgba(9, 26, 39, 0.28) 72%, rgba(9, 26, 39, 0.45) 100%);
  --scrim-duotone: linear-gradient(160deg, rgba(14, 42, 61, 0.75) 0%, rgba(14, 42, 61, 0.5) 40%, rgba(9, 26, 39, 0.15) 70%);

  --note-bg: rgba(181, 86, 60, 0.08);
  --note-border: rgba(181, 86, 60, 0.25);
}

/* ---------- Dark theme ----------
   Automatic (system-driven), no toggle. Ink-navy sections (.hero,
   .phead, .sec-ink, .cta, .ftr, .quote-band) already read as "dark
   surfaces" and are deliberately left unchanged — only the light
   "paper/surface" sections invert, using --paper as the darkest tone
   so navy sections still pop as a lighter, richer band against it. */
@media (prefers-color-scheme: dark) {
  :root {
    --surface: #101c28;
    --paper: #0a1420;
    --paper-deep: #060d16;
    --text: #a7b4bd;
    --text-dark: #eef3f6;
    --ink-text: var(--text-dark);
    --ochre-text: #e7b86a;
    --terracotta-text: #e08a68;
    --border: rgba(255, 255, 255, 0.14);
    --border-strong: rgba(255, 255, 255, 0.24);
    --note-bg: rgba(224, 138, 104, 0.12);
    --note-border: rgba(224, 138, 104, 0.3);
    --shadow-card: 0 1px 2px rgba(0, 0, 0, 0.3), 0 14px 32px -20px rgba(0, 0, 0, 0.6);
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--surface);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--ink);
  color: #fff;
  padding: 12px 20px;
  z-index: 999;
  border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 560;
  color: var(--text-dark);
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 0 0 0.45em;
}
h3 { font-size: 1.25rem; font-weight: 600; }
p { margin: 0 0 1em; }
img { max-width: 100%; display: block; }
a { color: var(--ochre-text); text-decoration: none; transition: color var(--dur-fast) ease; }
a:hover { color: var(--ochre-press); }
.phone-link { color: inherit; text-decoration: none; }
.phone-link:hover { color: var(--ochre-press); }

.wrap { width: 100%; max-width: 1440px; margin: 0 auto; padding: 0 clamp(24px, 5vw, 72px); }
.wrap-narrow { max-width: 1080px; }

.eyebrow { display: block; color: var(--ochre-text); font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; font-size: 0.72rem; margin-bottom: 18px; }
.eyebrow.on-ink { color: var(--ochre-soft); }

.icon-svg { display: inline-flex; width: 20px; height: 20px; flex-shrink: 0; color: currentColor; }
.icon-svg svg { width: 100%; height: 100%; }

/* ---------- Header: slim, sticky, transparent over hero ---------- */
.hdr { position: fixed; top: 0; left: 0; right: 0; z-index: 50; transition: background 0.35s var(--ease), border-color 0.35s var(--ease); }
.hdr::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(9, 26, 39, 0.55), transparent); pointer-events: none; transition: opacity 0.35s ease; }
.hdr.solid { background: var(--ink); }
.hdr.solid::before { opacity: 0; }
.hdr-in { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 40px; height: 88px; }
.hdr img { height: 46px; width: auto; }
.nav { display: flex; gap: clamp(20px, 2.4vw, 38px); list-style: none; margin: 0; padding: 0; font-size: 0.9rem; font-weight: 500; }
.nav a { color: rgba(255, 255, 255, 0.82); position: relative; padding-bottom: 3px; }
.nav a::after { content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 1px; background: var(--ochre-soft); transform: scaleX(0); transform-origin: left; transition: transform var(--dur-med) var(--ease); }
.nav a:hover, .nav a.active { color: var(--ochre-soft); }
.nav a:hover::after, .nav a.active::after { transform: scaleX(1); }
.hdr-cta { display: flex; align-items: center; gap: 22px; }
.hdr-phone { color: rgba(255, 255, 255, 0.7); font-size: 0.82rem; display: flex; align-items: center; gap: 8px; }
.hdr-phone strong { color: #fff; font-weight: 600; }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; width: 30px; height: 20px; padding: 0; flex-direction: column; justify-content: space-between; }
.nav-toggle span { display: block; height: 2px; background: #fff; border-radius: 2px; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 15px 30px; border-radius: var(--radius-pill); font-weight: 600; font-size: 0.9rem; font-family: var(--font-body); border: none; cursor: pointer; transition: transform var(--dur-fast) var(--ease), background var(--dur-fast) ease, color var(--dur-fast) ease, border-color var(--dur-fast) ease; }
.btn-primary { background: var(--ochre); color: #fff; }
.btn-primary:hover { background: var(--ochre-press); transform: translateY(-2px); color: #fff; }
.btn-gold { background: var(--ochre-soft); color: var(--ink); }
.btn-gold:hover { background: #f0c883; transform: translateY(-2px); color: var(--ink); }
.btn-outline { background: transparent; color: #fff; border: 1.5px solid rgba(255, 255, 255, 0.5); }
.btn-outline:hover { background: rgba(255, 255, 255, 0.1); border-color: #fff; color: #fff; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 0.86rem; color: var(--ink-text); border-bottom: 1px solid var(--border); padding-bottom: 3px; transition: color var(--dur-fast) ease, border-color var(--dur-fast) ease; }
.link-arrow .icon-svg { width: 15px; height: 15px; }
.link-arrow:hover { color: var(--ochre-text); border-color: var(--ochre-text); }

/* ---------- Hero: full viewport, full bleed ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; color: #fff; overflow: hidden; }
.hero-media { position: absolute; inset: 0; }
.hero-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.4s ease; }
.hero-slide.on { opacity: 1; }
.hero-slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); }
.hero::after { content: ""; position: absolute; inset: 0; background: var(--scrim-hero); }
.hero-in { position: relative; z-index: 2; width: 100%; padding-bottom: clamp(56px, 7vw, 96px); padding-top: 160px; }
.hero h1 { color: #fff; font-size: clamp(3rem, 6.4vw, 6rem); line-height: 1.02; letter-spacing: -0.02em; max-width: 16ch; margin: 0 0 26px; }
.hero p { color: rgba(255, 255, 255, 0.82); font-size: clamp(1rem, 1.25vw, 1.15rem); max-width: 52ch; margin: 0 0 36px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-foot { position: relative; z-index: 2; border-top: 1px solid rgba(255, 255, 255, 0.18); margin-top: clamp(40px, 6vw, 72px); padding-top: 26px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.hero-foot .k { display: block; font-family: var(--font-display); font-size: clamp(1.6rem, 2.6vw, 2.3rem); color: var(--ochre-soft); line-height: 1; margin-bottom: 8px; }
.hero-foot span.v { font-size: 0.86rem; color: rgba(255, 255, 255, 0.68); }
.hero-dots { position: absolute; right: clamp(24px, 5vw, 72px); bottom: clamp(56px, 7vw, 96px); display: flex; gap: 9px; z-index: 3; }
.hero-dots button { width: 8px; height: 8px; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, 0.7); background: transparent; padding: 0; cursor: pointer; transition: background var(--dur-med) ease, transform var(--dur-med) ease; }
.hero-dots button.on { background: var(--ochre-soft); border-color: var(--ochre-soft); transform: scale(1.2); }

/* ---------- Sections ---------- */
.sec { padding: clamp(72px, 9vw, 140px) 0; }
.sec-alt { background: var(--paper); }
.sec-ink { background: var(--ink); color: var(--on-ink); }
.sec-ink h2, .sec-ink h3 { color: #fff; }

/* Lead statement — oversized type, no card */
.lead { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(40px, 7vw, 110px); align-items: start; }
.lead h2 { font-size: clamp(2rem, 3.6vw, 3.2rem); line-height: 1.1; margin: 0; }
.lead .lead-body { font-size: 1.06rem; max-width: 52ch; }
.lead .lead-body p:last-child { margin-bottom: 0; }

/* Full-bleed alternating photo rows */
.bleed { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; gap: 0; }
.bleed-media { position: relative; min-height: clamp(420px, 52vw, 680px); }
.bleed-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.bleed-body { display: flex; flex-direction: column; justify-content: center; padding: clamp(48px, 6vw, 96px) clamp(28px, 6vw, 100px); }
.bleed-body h2 { font-size: clamp(1.9rem, 3vw, 2.7rem); margin: 0 0 20px; }
.bleed-body p { max-width: 48ch; }
.bleed.flip .bleed-media { order: 2; }
.bleed-index { font-family: var(--font-display); font-size: 0.9rem; letter-spacing: 0.18em; color: var(--ochre-text); margin-bottom: 20px; display: block; }

/* Spec sheet */
.spec { border-top: 1px solid var(--border); margin-top: 12px; }
.spec .row { display: grid; grid-template-columns: 170px 1fr; gap: 24px; padding: 15px 0; border-bottom: 1px solid var(--border); }
.spec dt { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--terracotta-text); border-left: 2px solid var(--terracotta-text); padding-left: 12px; margin: 0; }
.spec dd { margin: 0; font-size: 0.97rem; color: var(--text-dark); }

/* Services: two-column editorial list */
.svc-head { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 6vw, 90px); align-items: end; margin-bottom: clamp(40px, 5vw, 72px); }
.svc-head h2 { font-size: clamp(2rem, 3.6vw, 3.2rem); margin: 0; }
.svc-head p { margin: 0; font-size: 1.05rem; }
.svc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 clamp(40px, 6vw, 90px); border-top: 1px solid var(--border); }
.svc { display: grid; grid-template-columns: 60px 1fr; gap: 24px; padding: 30px 0; border-bottom: 1px solid var(--border); align-items: start; }
.svc .num { font-family: var(--font-display); font-size: 1.5rem; color: var(--ochre-text); line-height: 1.1; }
.svc h3 { margin: 0 0 6px; font-size: 1.08rem; }
.svc p { margin: 0; font-size: 0.93rem; max-width: 42ch; }

/* Homes: staggered tall cards */
.homes { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 2.4vw, 34px); }
.home { position: relative; overflow: hidden; border-radius: var(--radius); isolation: isolate; }
.home:nth-child(2) { margin-top: clamp(0px, 4vw, 56px); }
.home-ph { position: relative; aspect-ratio: 4 / 5; overflow: hidden; }
.home-ph img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease); }
.home:hover .home-ph img { transform: scale(1.05); }
.home-ph::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(9, 26, 39, 0.88) 0%, rgba(9, 26, 39, 0.3) 45%, transparent 70%); }
.home-txt { position: absolute; left: 0; right: 0; bottom: 0; padding: 28px 28px 30px; color: #fff; z-index: 1; }
.home-txt h3 { color: #fff; margin: 0 0 8px; font-size: 1.3rem; }
.home-txt p { color: rgba(255, 255, 255, 0.78); font-size: 0.9rem; margin: 0 0 14px; max-width: 34ch; }
.chip { display: inline-block; font-size: 0.66rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; padding: 5px 11px; border-radius: var(--radius-pill); margin-bottom: 14px; }
.chip-open { background: var(--ochre-soft); color: var(--ink); }
.chip-soon { background: rgba(255, 255, 255, 0.16); color: #fff; border: 1px solid rgba(255, 255, 255, 0.35); }
.home-txt .link-arrow { color: #fff; border-color: rgba(255, 255, 255, 0.35); }
.home-txt .link-arrow:hover { color: var(--ochre-soft); border-color: var(--ochre-soft); }

/* Quote band */
.quote-band { position: relative; overflow: hidden; color: #fff; }
.quote-band img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: grayscale(0.35) saturate(1.1); }
.quote-band::after { content: ""; position: absolute; inset: 0; background: var(--scrim-duotone); }
.quote-in { position: relative; z-index: 2; padding: clamp(80px, 10vw, 150px) 0; }
.quote { font-family: var(--font-display); font-style: italic; font-weight: 440; font-size: clamp(1.7rem, 3.4vw, 3rem); line-height: 1.3; color: #fff; max-width: 22ch; border-left: 3px solid var(--ochre-soft); padding-left: clamp(24px, 3vw, 44px); margin: 0; }
.quote cite { display: block; font-family: var(--font-body); font-style: normal; font-size: 0.78rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ochre-soft); margin-top: 26px; }

/* Values list */
.values { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: clamp(24px, 3vw, 44px); margin-top: clamp(36px, 4vw, 60px); }
.value { border-top: 2px solid var(--ochre-soft); padding-top: 20px; }
.value h3 { color: #fff; margin: 0 0 8px; font-size: 1.05rem; }
.value p { margin: 0; font-size: 0.92rem; color: var(--on-ink-muted); }

/* CTA band */
.cta { background: var(--ink); color: #fff; }
.cta-in { padding: clamp(64px, 8vw, 120px) 0; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.cta h2 { color: #fff; font-size: clamp(2rem, 3.6vw, 3.2rem); margin: 0 0 14px; }
.cta p { color: var(--on-ink-muted); margin: 0; max-width: 44ch; }
.cta-side { display: grid; gap: 16px; justify-items: start; }
.cta-side .num { font-family: var(--font-display); font-size: clamp(1.5rem, 2.4vw, 2.1rem); color: var(--ochre-soft); line-height: 1; }
.cta-side small { color: var(--on-ink-muted); font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase; }

/* Footer */
.ftr { background: var(--ink-deep); color: var(--on-ink-muted); padding: clamp(56px, 7vw, 90px) 0 26px; font-size: 0.9rem; }
.ftr-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: clamp(28px, 4vw, 56px); padding-bottom: 44px; }
.ftr img { height: 52px; width: auto; margin-bottom: 18px; }
.ftr h4 { color: #fff; font-family: var(--font-body); font-size: 0.82rem; letter-spacing: 0.12em; text-transform: uppercase; margin: 0 0 18px; }
.ftr ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.ftr a { color: var(--on-ink-muted); }
.ftr a:hover { color: var(--ochre-soft); }
.socials { display: flex; gap: 12px; margin-top: 22px; }
.socials a { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--on-ink-faint); display: flex; align-items: center; justify-content: center; color: var(--on-ink-muted); transition: background var(--dur-fast) ease, border-color var(--dur-fast) ease, color var(--dur-fast) ease; }
.socials .icon-svg { width: 16px; height: 16px; }
.socials a:hover { background: var(--ochre); border-color: var(--ochre); color: #fff; }
.ftr-bot { border-top: 1px solid var(--on-ink-rule); padding-top: 22px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 0.78rem; }

/* ---------- Interior page header (shorter than the home hero) ---------- */
.phead { position: relative; min-height: clamp(420px, 52vw, 600px); display: flex; align-items: flex-end; color: #fff; overflow: hidden; }
.phead img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: grayscale(0.3) saturate(1.05); }
.phead::after { content: ""; position: absolute; inset: 0; background: var(--scrim-duotone); }
.phead-in { position: relative; z-index: 2; width: 100%; padding: 150px 0 clamp(44px, 5vw, 72px); }
.phead h1 { color: #fff; font-size: clamp(2.6rem, 5.2vw, 4.6rem); line-height: 1.04; letter-spacing: -0.02em; max-width: 16ch; margin: 0 0 20px; }
.phead p { color: rgba(255, 255, 255, 0.82); font-size: 1.05rem; max-width: 56ch; margin: 0; }
.crumb { display: flex; align-items: center; gap: 9px; font-size: 0.82rem; color: rgba(255, 255, 255, 0.65); margin-bottom: 22px; }
.crumb a { color: rgba(255, 255, 255, 0.65); }
.crumb a:hover { color: #fff; }
.crumb .icon-svg { width: 12px; height: 12px; color: var(--ochre-soft); }
.crumb .cur { color: var(--ochre-soft); }

/* ---------- Forms ---------- */
.form-layout { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.form-aside { position: sticky; top: 120px; }
.form-aside h2 { font-size: clamp(1.6rem, 2.4vw, 2.2rem); margin: 0 0 16px; }
.form-aside p { font-size: 0.96rem; max-width: 38ch; }
.aside-list { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 14px; font-size: 0.92rem; }
.aside-list li { display: flex; gap: 11px; align-items: flex-start; }
.aside-list .icon-svg { width: 17px; height: 17px; color: var(--ochre-text); margin-top: 3px; }

fieldset { border: none; margin: 0 0 44px; padding: 0; }
fieldset:last-of-type { margin-bottom: 28px; }
legend { display: flex; align-items: baseline; gap: 14px; font-family: var(--font-display); font-size: 1.35rem; color: var(--text-dark); padding: 0 0 18px; width: 100%; border-bottom: 1px solid var(--border); margin-bottom: 26px; }
legend .lnum { font-size: 0.95rem; color: var(--ochre-text); font-family: var(--font-body); font-weight: 700; letter-spacing: 0.1em; }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.f-full { grid-column: 1 / -1; }
label { display: block; font-size: 0.76rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-dark); margin-bottom: 9px; }
input, select, textarea { width: 100%; padding: 14px 16px; border: 1px solid var(--border); border-radius: var(--radius); font-family: var(--font-body); font-size: 0.96rem; color: var(--text-dark); background: var(--paper); transition: border-color var(--dur-fast) ease, background var(--dur-fast) ease; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--ochre-text); background: var(--surface); }
textarea { min-height: 130px; resize: vertical; }
input[type=file] { background: var(--surface); padding: 11px 14px; }
.choices { display: flex; gap: 24px; flex-wrap: wrap; }
.choices label { display: flex; align-items: center; gap: 8px; font-size: 0.9rem; font-weight: 500; letter-spacing: 0; text-transform: none; color: var(--text); margin: 0; cursor: pointer; }
.choices input { width: auto; padding: 0; }
.checks { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 24px; }
.checks label { display: flex; align-items: flex-start; gap: 9px; font-size: 0.9rem; font-weight: 500; letter-spacing: 0; text-transform: none; color: var(--text); margin: 0; cursor: pointer; }
.checks input { width: auto; padding: 0; margin-top: 4px; }
.repeat-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin: 30px 0 16px; }
.repeat-head h3 { margin: 0; font-size: 1rem; }
.repeat-head span { font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ochre-text); }
.note { font-size: 0.85rem; background: var(--note-bg); border: 1px solid var(--note-border); padding: 14px 18px; border-radius: var(--radius); color: var(--terracotta-text); margin: 0 0 28px; }
.form-actions { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; border-top: 1px solid var(--border); padding-top: 28px; }
.form-actions small { font-size: 0.82rem; color: var(--text); }

/* Info cards (contact options) */
.roles { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: clamp(20px, 2.4vw, 32px); margin-top: clamp(32px, 4vw, 52px); }
.role { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px 28px 30px; box-shadow: var(--shadow-card); }
.role h3 { margin: 0 0 8px; font-size: 1.1rem; }
.role p { font-size: 0.92rem; margin: 0 0 16px; }
.role .meta { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.role .meta span { font-size: 0.68rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; padding: 5px 10px; border-radius: var(--radius-pill); background: var(--paper-deep); color: var(--text-dark); }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: clamp(24px, 3vw, 44px); margin-top: clamp(32px, 4vw, 56px); }
.step { border-top: 2px solid var(--ochre-soft); padding-top: 20px; }
.step .n { font-family: var(--font-display); font-size: 1.5rem; color: var(--ochre-soft); display: block; margin-bottom: 10px; line-height: 1; }
.step h3 { margin: 0 0 8px; font-size: 1.05rem; }
.step p { margin: 0; font-size: 0.92rem; }

/* 404 */
.notfound { background: var(--ink); color: #fff; text-align: center; padding: clamp(140px, 16vw, 220px) 0 clamp(90px, 10vw, 130px); }
.notfound-num { display: block; font-family: var(--font-display); font-size: clamp(5rem, 16vw, 10rem); line-height: 1; color: var(--ochre-soft); margin-bottom: 12px; }
.notfound h1 { color: #fff; max-width: none; }
.notfound p { color: rgba(255, 255, 255, 0.72); max-width: 46ch; margin: 0 auto 36px; }
.notfound .hero-actions { justify-content: center; }

/* Reveal on scroll */
.rv { opacity: 0; transform: translateY(22px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .rv { opacity: 1; transform: none; } }

@media (max-width: 1040px) {
  .lead, .svc-head, .cta-in { grid-template-columns: 1fr; gap: 28px; }
  .svc-grid { grid-template-columns: 1fr; }
  .bleed { grid-template-columns: 1fr; }
  .bleed.flip .bleed-media { order: 0; }
  .bleed-media { min-height: 340px; }
  .homes { grid-template-columns: 1fr 1fr; }
  .home:nth-child(2) { margin-top: 0; }
  .ftr-grid { grid-template-columns: 1fr 1fr; }
  .form-layout { grid-template-columns: 1fr; gap: 40px; }
  .form-aside { position: static; }
}
@media (max-width: 720px) {
  .hdr-in { height: 68px; gap: 14px; }
  .hdr img { height: 34px; }
  .hdr-cta { gap: 12px; }
  .hdr-cta .btn { padding: 9px 16px; font-size: 0.8rem; white-space: nowrap; }
  .nav, .hdr-phone { display: none; }
  .nav-toggle { display: flex; }
  .nav.open { display: flex; position: absolute; top: 68px; left: 0; right: 0; background: var(--ink); flex-direction: column; gap: 0; padding: 8px 24px 20px; }
  .nav.open li { padding: 13px 0; border-bottom: 1px solid var(--on-ink-rule); }
  .hero-in { padding-top: 108px; }
  .phead-in { padding-top: 108px; }
  .hero-foot { grid-template-columns: 1fr; gap: 18px; }
  .hero-dots { display: none; }
  .homes { grid-template-columns: 1fr; }
  .ftr-grid { grid-template-columns: 1fr; }
  .spec .row { grid-template-columns: 1fr; gap: 6px; }
  .fields, .checks { grid-template-columns: 1fr; }
}
