/* ==========================================================================
   Bolters Corner Nursing Home — shared stylesheet
   Warm, reassuring, image-light. English country-house light: limewashed
   walls, brass/gold, sage garden. Built for an anxious family on a phone.
   Palette in OKLCH. Type: Spectral (serif headings) + Hanken Grotesk (body).
   ========================================================================== */

/* ---- Tokens ------------------------------------------------------------- */
:root {
  /* Surfaces — warmth lives in the brand colours, not a heavy cream bg */
  --bg:        oklch(0.986 0.008 85);   /* warm limewash off-white */
  --surface:   oklch(0.965 0.010 85);   /* alternating sections */
  --surface-3: oklch(0.945 0.012 84);   /* insets, quote cards */
  --line:      oklch(0.895 0.012 84);   /* hairlines */

  /* Ink */
  --ink:       oklch(0.255 0.018 70);   /* headings + body */
  --ink-soft:  oklch(0.435 0.018 72);   /* secondary text (>=4.5:1 on bg) */

  /* Gold — the logo identity. Light fills + a deeper readable variant */
  --gold:      oklch(0.74 0.105 80);    /* flourishes, rules, fills */
  --gold-mid:  oklch(0.66 0.110 78);    /* the logo's own gold */
  --gold-deep: oklch(0.515 0.100 72);   /* gold text/links that need contrast */

  /* Sage/forest — the grounding deep colour (footer, deep band) */
  --green:       oklch(0.41 0.045 155);
  --green-deep:  oklch(0.33 0.038 155);
  --green-soft:  oklch(0.93 0.022 150); /* faint sage tint surface */

  --cream:     oklch(0.975 0.012 85);   /* text on deep green */
  --cream-soft:oklch(0.90 0.015 90);    /* secondary text on green */

  /* Type */
  --font-display: "Spectral", Georgia, "Times New Roman", serif;
  --font-body: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Spacing scale */
  --sp-1: 0.5rem;  --sp-2: 0.75rem; --sp-3: 1rem;   --sp-4: 1.5rem;
  --sp-5: 2rem;    --sp-6: 3rem;    --sp-7: 4.5rem;  --sp-8: 6.5rem;

  --radius:    14px;
  --radius-sm: 10px;
  --radius-pill: 999px;

  --shadow-soft: 0 18px 50px -28px oklch(0.35 0.04 70 / 0.45);
  --shadow-lift: 0 26px 70px -34px oklch(0.35 0.04 70 / 0.55);

  --maxw: 1180px;
  --prose: 68ch;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);          /* ease-out-expo-ish */
  --ease-soft: cubic-bezier(0.33, 1, 0.68, 1);

  /* z-index scale */
  --z-base: 1; --z-sticky: 100; --z-nav: 200;
  --z-backdrop: 900; --z-drawer: 1000; --z-toast: 1100;
}

/* ---- Reset -------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--font-body);
  font-size: 1.125rem;          /* 18px base — older readers */
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, picture, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }

:focus-visible {
  outline: 3px solid var(--gold-deep);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute; left: 50%; top: -100px; transform: translateX(-50%);
  background: var(--green); color: var(--cream);
  padding: 0.75rem 1.25rem; border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  z-index: var(--z-toast); transition: top 0.2s var(--ease);
}
.skip-link:focus { top: 0; }

/* ---- Layout helpers ----------------------------------------------------- */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: clamp(1.25rem, 5vw, 3rem); }
.section { padding-block: clamp(3.5rem, 8vw, var(--sp-8)); }
.section--tight { padding-block: clamp(2.5rem, 5vw, 4rem); }
.section--surface { background: var(--surface); }
.prose { max-width: var(--prose); }
.center { text-align: center; margin-inline: auto; }

/* ---- Typography --------------------------------------------------------- */
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 500; line-height: 1.1; color: var(--ink); text-wrap: balance; letter-spacing: -0.015em; }
p { text-wrap: pretty; }

.display {
  font-size: clamp(2.5rem, 1.6rem + 4vw, 4.25rem);
  font-weight: 500; line-height: 1.04; letter-spacing: -0.02em;
}
.h2 { font-size: clamp(1.9rem, 1.3rem + 2.4vw, 2.9rem); }
.h3 { font-size: clamp(1.3rem, 1.05rem + 1.1vw, 1.65rem); }
.lead { font-size: clamp(1.18rem, 1.05rem + 0.6vw, 1.4rem); color: var(--ink-soft); line-height: 1.6; }
.eyebrow {
  font-family: var(--font-body); font-weight: 600; font-size: 0.95rem;
  color: var(--gold-deep); letter-spacing: 0.01em; display: inline-flex; gap: 0.6rem; align-items: center;
}
.eyebrow::before { content: ""; width: 1.75rem; height: 2px; background: var(--gold); border-radius: 2px; }
.muted { color: var(--ink-soft); }
.serif-accent { font-family: var(--font-display); font-style: italic; }

/* ---- Buttons ------------------------------------------------------------ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  font-weight: 600; font-size: 1.02rem; line-height: 1;
  padding: 0.95rem 1.6rem; border-radius: var(--radius-pill);
  border: 1.5px solid transparent; min-height: 48px;
  transition: transform 0.35s var(--ease), background 0.3s var(--ease), color 0.3s var(--ease), box-shadow 0.35s var(--ease);
  will-change: transform;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn--primary { background: var(--green); color: var(--cream); box-shadow: var(--shadow-soft); }
.btn--primary:hover { background: var(--green-deep); box-shadow: var(--shadow-lift); }
.btn--ghost { background: transparent; color: var(--ink); border-color: oklch(0.78 0.02 75); }
.btn--ghost:hover { border-color: var(--green); color: var(--green-deep); }
.btn--gold { background: var(--gold); color: var(--ink); box-shadow: var(--shadow-soft); }
.btn--gold:hover { background: var(--gold-mid); }
.btn--light { background: var(--cream); color: var(--green-deep); }
.btn--light:hover { background: #fff; }
.btn--block { width: 100%; }

.btn-row { display: flex; flex-wrap: wrap; gap: 0.85rem; align-items: center; }

/* phone link styling */
.phone-link { font-weight: 600; white-space: nowrap; }
.phone-link:hover { color: var(--gold-deep); }

/* ---- Header ------------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: var(--z-nav);
  background: oklch(0.986 0.008 85 / 0.85);
  backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease), background 0.3s var(--ease);
}
.site-header[data-scrolled="true"] { border-bottom-color: var(--line); box-shadow: 0 10px 30px -24px oklch(0.3 0.03 70 / 0.5); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding-block: 0.85rem; }
.brand { display: inline-flex; align-items: center; flex-shrink: 0; }
.brand img { height: clamp(38px, 5vw, 50px); width: auto; }
.brand:focus-visible { outline-offset: 6px; }

.primary-nav ul { list-style: none; display: flex; gap: clamp(1.1rem, 2.2vw, 2rem); align-items: center; padding: 0; }
.primary-nav a {
  font-weight: 500; color: var(--ink); position: relative; padding-block: 0.4rem;
  transition: color 0.25s var(--ease);
}
.primary-nav a::after {
  content: ""; position: absolute; left: 0; bottom: -2px; height: 2px; width: 100%;
  background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform 0.3s var(--ease);
}
.primary-nav a:hover { color: var(--gold-deep); }
.primary-nav a:hover::after, .primary-nav a[aria-current="page"]::after { transform: scaleX(1); }
.primary-nav a[aria-current="page"] { color: var(--gold-deep); }

.header-cta { display: flex; align-items: center; gap: 1.1rem; flex-shrink: 0; }

.nav-toggle {
  display: none; background: transparent; border: 1.5px solid var(--line);
  width: 46px; height: 46px; border-radius: 12px; padding: 0; place-items: center;
}
.nav-toggle span { display: block; width: 20px; height: 2px; background: var(--ink); position: relative; transition: 0.3s var(--ease); }
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; width: 20px; height: 2px; background: var(--ink); transition: 0.3s var(--ease); }
.nav-toggle span::before { top: -6px; } .nav-toggle span::after { top: 6px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { top: 0; transform: rotate(-45deg); }

@media (max-width: 900px) {
  .nav-toggle { display: grid; }
  /* The header has a backdrop-filter, which makes it the containing block AND a
     stacking context for the fixed drawer inside it. Two knock-on effects we fix:
     1. inset top/bottom resolve against the header's height, not the viewport, so
        the drawer collapses to header height and clips the links — pin height to the
        viewport instead. 2. the drawer is capped at the header's z-index, so the
        root-level backdrop paints over it — lift the header above the backdrop. */
  .site-header { z-index: var(--z-drawer); }
  .nav-toggle { position: relative; z-index: calc(var(--z-drawer) + 1); }
  .primary-nav {
    position: fixed; inset: 0 0 0 auto; width: min(86vw, 360px);
    height: 100vh; height: 100dvh;
    background: var(--bg); z-index: var(--z-drawer);
    transform: translateX(100%); transition: transform 0.4s var(--ease);
    padding: 6rem 2rem 2rem; box-shadow: var(--shadow-lift);
    overflow-y: auto;
  }
  .primary-nav[data-open="true"] { transform: translateX(0); }
  .primary-nav ul { flex-direction: column; align-items: flex-start; gap: 0.4rem; }
  .primary-nav li { width: 100%; }
  .primary-nav a { display: block; width: 100%; font-size: 1.3rem; font-family: var(--font-display); padding-block: 0.7rem; border-bottom: 1px solid var(--line); }
  .primary-nav a::after { display: none; }
  .header-cta .btn--primary { display: none; }
  .nav-backdrop { position: fixed; inset: 0; background: oklch(0.25 0.02 70 / 0.4); z-index: var(--z-backdrop); opacity: 0; visibility: hidden; transition: opacity 0.3s var(--ease); }
  .nav-backdrop[data-open="true"] { opacity: 1; visibility: visible; }
}

/* ---- Hero --------------------------------------------------------------- */
.hero { position: relative; padding-block: clamp(3rem, 7vw, 6rem) clamp(3rem, 6vw, 5rem); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.hero-copy .display { margin-top: 1.1rem; }
.hero-copy .lead { margin-top: 1.4rem; max-width: 38ch; }
.hero-copy .btn-row { margin-top: 2rem; }
.hero-note { margin-top: 1.6rem; color: var(--ink-soft); font-size: 0.98rem; display: flex; align-items: center; gap: 0.6rem; }
.hero-note strong { color: var(--ink); font-weight: 600; }

.hero-figure { position: relative; }
.hero-figure img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow-lift); aspect-ratio: 7 / 5; }
.hero-figure::after {
  content: ""; position: absolute; inset: 0; border-radius: var(--radius);
  box-shadow: inset 0 0 0 1px oklch(1 0 0 / 0.4);
  background: linear-gradient(160deg, transparent 55%, oklch(0.41 0.045 155 / 0.10));
  pointer-events: none;
}
.hero-badge {
  position: absolute; bottom: -22px; left: -22px;
  background: var(--bg); border-radius: var(--radius); padding: 1rem 1.3rem;
  box-shadow: var(--shadow-soft); display: flex; align-items: center; gap: 0.85rem;
  max-width: 78%;
}
.hero-badge .est { font-family: var(--font-display); font-size: 2.1rem; color: var(--gold-deep); line-height: 1; font-weight: 600; }
.hero-badge .est-label { font-size: 0.92rem; color: var(--ink-soft); line-height: 1.35; }
.hero-badge .est-label strong { color: var(--ink); display: block; font-weight: 600; }

@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-figure { order: -1; }
  .hero-figure img { aspect-ratio: 16 / 10; }
  .hero-badge { left: auto; right: 16px; bottom: -18px; }
}

/* ---- Trust strip -------------------------------------------------------- */
.trust-strip { border-block: 1px solid var(--line); background: var(--surface); }
.trust-strip ul { list-style: none; padding: 1.25rem 0; margin: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 0.75rem clamp(1.5rem, 4vw, 3.25rem); }
.trust-strip li { display: inline-flex; align-items: center; gap: 0.6rem; font-weight: 500; color: var(--ink); }
.trust-strip li svg { color: var(--gold-deep); flex-shrink: 0; }

/* ---- Section headers ---------------------------------------------------- */
.section-head { max-width: 60ch; margin-bottom: clamp(2rem, 4vw, 3.25rem); }
.section-head.center { margin-inline: auto; }
.section-head .h2 { margin-top: 0.9rem; }
.section-head p { margin-top: 1rem; color: var(--ink-soft); font-size: 1.12rem; }

/* ---- Feature columns (Who we are / care points) ------------------------- */
.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: clamp(1.5rem, 3vw, 2.5rem); }
.feature-grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px) { .feature-grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .feature-grid--4 { grid-template-columns: 1fr; } }
.feature {
  display: flex; flex-direction: column; gap: 0.7rem; padding-top: 1.5rem;
  border-top: 2px solid var(--line); position: relative;
}
.feature::before { content: ""; position: absolute; top: -2px; left: 0; width: 46px; height: 2px; background: var(--gold); }
.feature .ico { width: 40px; height: 40px; color: var(--green); margin-bottom: 0.3rem; }
.feature h3 { font-size: 1.3rem; }
.feature p { color: var(--ink-soft); font-size: 1.02rem; }

/* ---- Split feature (image + text) --------------------------------------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.split--flip .split-media { order: 2; }
.split-media img { border-radius: var(--radius); box-shadow: var(--shadow-soft); width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.split-body .h2 { margin-bottom: 1.1rem; }
.split-body p + p { margin-top: 1rem; }
.split-list { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; gap: 0.85rem; }
.split-list li { display: flex; gap: 0.75rem; align-items: flex-start; color: var(--ink-soft); }
.split-list li svg { color: var(--green); flex-shrink: 0; margin-top: 4px; }
.split-list li strong { color: var(--ink); font-weight: 600; }
@media (max-width: 820px) { .split { grid-template-columns: 1fr; } .split--flip .split-media { order: 0; } }

/* ---- Deep band (call to action / quote) --------------------------------- */
.band { background: var(--green); color: var(--cream); position: relative; overflow: hidden; }
.band::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(120% 90% at 85% 10%, oklch(0.74 0.105 80 / 0.16), transparent 60%);
}
.band .container { position: relative; z-index: 1; }
.band h2, .band h3 { color: var(--cream); }
.band p { color: var(--cream-soft); }
.band .eyebrow { color: var(--gold); }
.band .eyebrow::before { background: var(--gold); }
.cta-band { display: grid; grid-template-columns: 1.4fr 1fr; gap: 2.5rem; align-items: center; }
.cta-band .btn-row { justify-content: flex-end; }
@media (max-width: 760px) { .cta-band { grid-template-columns: 1fr; } .cta-band .btn-row { justify-content: flex-start; } }

/* ---- Testimonials ------------------------------------------------------- */
.quote-grid { columns: 3 260px; column-gap: 1.5rem; }
.quote {
  break-inside: avoid; margin-bottom: 1.5rem; background: var(--bg);
  border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem 1.7rem;
  box-shadow: 0 12px 34px -28px oklch(0.35 0.04 70 / 0.5);
}
.quote .mark { font-family: var(--font-display); font-size: 2.8rem; line-height: 0.6; color: var(--gold); display: block; height: 1.2rem; }
.quote p { font-size: 1.06rem; color: var(--ink); margin-top: 0.4rem; }
.quote .by { margin-top: 1.1rem; font-weight: 600; color: var(--green-deep); display: flex; align-items: center; gap: 0.55rem; font-family: var(--font-body); font-size: 0.98rem; }
.quote .by::before { content: ""; width: 1.4rem; height: 1px; background: var(--gold-mid); }
.quote--feature { background: var(--green); border-color: transparent; }
.quote--feature p { color: var(--cream); font-family: var(--font-display); font-size: 1.3rem; font-style: italic; line-height: 1.4; }
.quote--feature .by { color: var(--gold); }
.quote--feature .by::before { background: var(--gold); }
.quote--feature .mark { color: var(--gold); }
@media (max-width: 560px) { .quote-grid { columns: 1; } }

/* Homepage preview: one featured quote + two stacked, balanced (no masonry dangle) */
.quote-feature-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 1.5rem; align-items: stretch; }
.quote-feature-grid .quote { margin: 0; height: 100%; display: flex; flex-direction: column; }
.quote-feature-grid .quote .by { margin-top: auto; padding-top: 1.1rem; }
.quote-feature-grid .quote--feature { grid-row: span 2; justify-content: center; }
@media (max-width: 720px) {
  .quote-feature-grid { grid-template-columns: 1fr; }
  .quote-feature-grid .quote--feature { grid-row: auto; }
}

/* ---- FAQ accordion ------------------------------------------------------ */
.faq-list { max-width: 820px; margin-inline: auto; border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%; text-align: left; background: transparent; border: 0;
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  padding: 1.45rem 0.25rem; font-family: var(--font-display); font-size: clamp(1.15rem, 1rem + 0.6vw, 1.4rem);
  color: var(--ink); font-weight: 500; transition: color 0.25s var(--ease);
}
.faq-q:hover { color: var(--gold-deep); }
.faq-icon { flex-shrink: 0; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; border: 1.5px solid var(--gold-mid); position: relative; transition: background 0.3s var(--ease); }
.faq-icon::before, .faq-icon::after { content: ""; position: absolute; background: var(--gold-deep); border-radius: 2px; transition: transform 0.3s var(--ease), background 0.3s var(--ease); }
.faq-icon::before { width: 12px; height: 2px; } .faq-icon::after { width: 2px; height: 12px; }
.faq-q[aria-expanded="true"] .faq-icon { background: var(--gold); }
.faq-q[aria-expanded="true"] .faq-icon::before, .faq-q[aria-expanded="true"] .faq-icon::after { background: var(--ink); }
.faq-q[aria-expanded="true"] .faq-icon::after { transform: rotate(90deg) scaleX(0); }
.faq-a { overflow: hidden; height: 0; transition: height 0.4s var(--ease); }
.faq-a-inner { padding: 0 0.25rem 1.6rem; color: var(--ink-soft); max-width: 64ch; }
.faq-a-inner p + p { margin-top: 0.8rem; }
@media (prefers-reduced-motion: reduce) { .faq-a { transition: none; } }

/* ---- Forms -------------------------------------------------------------- */
.form-card { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.6rem, 4vw, 2.6rem); box-shadow: var(--shadow-soft); }
.field { display: flex; flex-direction: column; gap: 0.4rem; margin-bottom: 1.2rem; }
.field label { font-weight: 600; font-size: 0.98rem; color: var(--ink); }
.field label .req { color: var(--gold-deep); }
.field input, .field textarea, .field select {
  font: inherit; font-size: 1.02rem; color: var(--ink);
  background: var(--surface); border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  padding: 0.85rem 1rem; width: 100%; transition: border-color 0.25s var(--ease), background 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.field input::placeholder, .field textarea::placeholder { color: oklch(0.55 0.015 75); }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--green); background: var(--bg); box-shadow: 0 0 0 3px oklch(0.41 0.045 155 / 0.15); }
.field textarea { min-height: 140px; resize: vertical; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; gap: 0; } }
.form-note { font-size: 0.92rem; color: var(--ink-soft); margin-top: 0.5rem; }
.form-status { margin-top: 1rem; padding: 0.9rem 1.1rem; border-radius: var(--radius-sm); font-weight: 500; display: none; }
.form-status[data-state="success"] { display: block; background: var(--green-soft); color: var(--green-deep); border: 1px solid oklch(0.41 0.045 155 / 0.3); }
.form-status[data-state="error"] { display: block; background: oklch(0.95 0.04 40); color: oklch(0.45 0.12 35); border: 1px solid oklch(0.7 0.1 40); }

/* Contact detail list */
.contact-details { list-style: none; padding: 0; margin: 0; display: grid; gap: 1.4rem; }
.contact-details li { display: flex; gap: 1rem; align-items: flex-start; }
.contact-details .ci { width: 46px; height: 46px; border-radius: 12px; background: var(--green-soft); display: grid; place-items: center; flex-shrink: 0; color: var(--green-deep); }
.contact-details .ck { font-size: 0.9rem; color: var(--ink-soft); margin-bottom: 0.15rem; }
.contact-details .cv { font-weight: 600; font-size: 1.1rem; color: var(--ink); }
.contact-details .cv a:hover { color: var(--gold-deep); }

.map-wrap { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-soft); border: 1px solid var(--line); }
.map-wrap iframe { display: block; width: 100%; height: 100%; min-height: 320px; border: 0; filter: saturate(0.9); }

/* ---- Page hero (interior pages) ----------------------------------------- */
.page-hero { padding-block: clamp(3rem, 6vw, 5rem) clamp(2rem, 4vw, 3rem); }
.page-hero .display { margin-top: 1rem; max-width: 16ch; }
.page-hero .lead { margin-top: 1.2rem; max-width: 52ch; }
.breadcrumb { font-size: 0.95rem; color: var(--ink-soft); }
.breadcrumb a:hover { color: var(--gold-deep); }

/* ---- Footer ------------------------------------------------------------- */
.site-footer { background: var(--green-deep); color: var(--cream); padding-block: clamp(3rem, 6vw, 4.5rem) 2rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.3fr; gap: clamp(2rem, 5vw, 4rem); }
.footer-brand .wordmark { font-family: var(--font-display); font-size: 1.9rem; color: var(--cream); line-height: 1; }
.footer-brand .wordmark span { color: var(--gold); }
.footer-brand .sub { letter-spacing: 0.28em; font-size: 0.78rem; text-transform: uppercase; color: var(--cream-soft); margin-top: 0.5rem; }
.footer-brand p { color: var(--cream-soft); margin-top: 1.2rem; max-width: 34ch; font-size: 1rem; }
.footer-col h4 { font-family: var(--font-body); font-size: 0.85rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); font-weight: 700; margin-bottom: 1.1rem; }
.footer-col ul { list-style: none; padding: 0; display: grid; gap: 0.7rem; }
.footer-col a, .footer-col address { color: var(--cream-soft); font-style: normal; line-height: 1.5; transition: color 0.25s var(--ease); }
.footer-col a:hover { color: var(--cream); }
.footer-col .big { color: var(--cream); font-weight: 600; font-size: 1.15rem; }
.footer-bottom { border-top: 1px solid oklch(0.97 0.01 85 / 0.15); margin-top: clamp(2.5rem, 5vw, 3.5rem); padding-top: 1.5rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.5rem; color: var(--cream-soft); font-size: 0.9rem; }
.footer-bottom .est { color: var(--gold); }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; gap: 2.5rem; } }

/* ---- Reveal motion (enhances already-visible content) ------------------- */
.reveal { opacity: 1; }
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
  .js .reveal.is-in { opacity: 1; transform: none; }
  .js .reveal-stagger > * { opacity: 0; transform: translateY(18px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
  .js .reveal-stagger.is-in > * { opacity: 1; transform: none; }
  .js .reveal-stagger.is-in > *:nth-child(2) { transition-delay: 0.08s; }
  .js .reveal-stagger.is-in > *:nth-child(3) { transition-delay: 0.16s; }
  .js .reveal-stagger.is-in > *:nth-child(4) { transition-delay: 0.24s; }
  .js .reveal-stagger.is-in > *:nth-child(5) { transition-delay: 0.32s; }
  .js .reveal-stagger.is-in > *:nth-child(6) { transition-delay: 0.40s; }
}

/* ---- Utility ------------------------------------------------------------ */
.stack-sm > * + * { margin-top: 0.75rem; }
.mt-1 { margin-top: 1rem; } .mt-2 { margin-top: 2rem; }
.nowrap { white-space: nowrap; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
