/* ==========================================================================
   CRESTVIEW INVESTMENTS — DESIGN SYSTEM  (v2 — craft elevation)
   Single source of truth for ALL pages. Owned by Atlas.
   Other agents: READ ONLY — request changes via report.

   Tokens verified against the LIVE main site (crestviewrealestates.org,
   Resido theme, yellow-skin): amber #ffa50d on dark slate #252c41,
   Castoro headings + ADLaM Display body. The live site's craft language —
   BRIGHT hero photography with content on a clear surface, generous imagery,
   layered light sections, soft-shadow rounded figures — is reproduced here
   on our amber/charcoal tokens.

   COMPONENT INDEX (search these banners):
     1.  TOKENS              11. CONTENT SECTION / SPLIT / MEDIA-FIGURE
     2.  RESET / BASE        12. PROCESS / STEP LIST
     3.  TYPOGRAPHY          13. STAT / TRUST BLOCK
     4.  LAYOUT / RHYTHM     14. CTA BAND
     5.  BUTTONS             15. FORM
     6.  HEADER / NAV        16. FOOTER
     7.  HERO                17. UTILITIES
     8.  PAGE-TITLE BANNER   18. MOTION (reveal — safe without JS)
     9.  SECTION HEADINGS    19. RESPONSIVE (=>992 / =>680 / =>380)
     10. CARD GRID

   NESTING QUICK-REFERENCE (page agents — Vesta/Hermes — follow this):
     <header class="site-topbar"> .container>.topbar-inner
     <header class="site-header" id="siteHeader"> .container>.nav-inner>
        a.brand + nav.main-nav(ul>li>a  + a.nav-cta-mobile) +
        a.btn.btn-primary.nav-cta + button.nav-toggle
     HERO (interior): <section class="hero"><div class="hero-inner">
        <div class="hero-content"> .eyebrow h1 p .btn-row
     HERO (home/photo): add .hero--photo and set the photo as a
        DOCUMENT-relative inline background-image (NOT a CSS var url()):
        style="background-image:url('assets/img/hero.jpg')"
     PAGE BANNER: <section class="page-banner"> .container>
        .eyebrow + h1 + p? + nav.breadcrumb(a + span.sep + span[aria-current])
        photographic variant: add .page-banner--photo and
        style="background-image:url('assets/img/about.webp')"
     SECTION: <section class="section [section--surface|--alt|--dark|--tight]">
        .container > .section-head(.eyebrow h2 p.lead) + component
     CARD GRID: .card-grid[ --2|--4 ] > article.card[ --link ] :
        span.card-icon(svg) + h3 + p + a.text-link.card-link
        clickable: wrap whole card in <a class="card card--link">
     CONTENT SPLIT: .content-split[ --reverse ] >
        .content-text(.eyebrow h2 p ul.list .btn-row) +
        .content-media > figure.media-figure[ --tall|--wide ] >
           img(width/height, NO loading=lazy on above-fold) + figcaption?
     STEPS: ol.steps[ --row ] > li.step > span.step-num + .step-body(h3 p)
     STATS: .stats[ --4 ] (wrap in .trust-band for dark) >
        .stat > .stat-num(span.amber?) + .stat-label
     CTA: <section class="cta-band"> .container > .cta-inner >
        .cta-text(.eyebrow? h2 p) + .btn-row
     FORM: form.form > .form-grid > .field[ --full ] (label+control);
        checkboxes: fieldset.field--full>legend+.checkbox-group>label.checkbox
   Active nav: add  class="is-active" aria-current="page"  to current <a>.
   ========================================================================== */


/* ==========================================================================
   1. TOKENS
   ========================================================================== */
:root{
  /* Brand */
  --brand-amber:      #ffa50d;
  --brand-amber-dk:   #e8920a;
  --brand-amber-dkr:  #cf7f06;
  --brand-amber-soft: rgba(255,165,13,.10);
  --brand-amber-line: rgba(255,165,13,.30);
  --brand-dark:       #252c41;
  --brand-dark-2:     #1b2132;
  --brand-dark-3:     #2f3750;
  --brand-dark-tint:  #f4f3ef;   /* warm light tint pulled from brand */

  /* Ink / text */
  --heading:          #212a40;
  --ink:              #4e5c79;
  --ink-soft:         #67738e;
  --ink-mute:         #8b93a7;

  /* Surfaces */
  --white:            #ffffff;
  --surface:          #f6f8fb;   /* cool light section */
  --surface-warm:     #faf8f4;   /* warm light section (amber-leaning) */
  --surface-2:        #eef1f6;
  --line:             #e7eaf0;
  --line-soft:        #eef1f5;
  --line-dark:        rgba(255,255,255,.10);

  /* Type */
  --font-heading: "Castoro", Georgia, "Times New Roman", serif;
  --font-body:    "ADLaM Display", "Segoe UI", system-ui, -apple-system, sans-serif;

  /* Rhythm */
  --container:    1170px;
  --container-w:  1320px;
  --gutter:       1.5rem;
  --radius:       8px;
  --radius-lg:    16px;
  --radius-xl:    22px;
  --section-y:    clamp(72px, 8vw, 124px);
  --section-y-sm: clamp(52px, 5vw, 76px);
  --flow:         1.05rem;        /* default vertical flow gap */

  /* Effects — softer, more layered than v1 */
  --shadow-xs: 0 1px 2px rgba(20,28,54,.05);
  --shadow-sm: 0 6px 18px -8px rgba(20,28,54,.16);
  --shadow-md: 0 18px 40px -16px rgba(20,28,54,.22);
  --shadow-lg: 0 34px 70px -24px rgba(20,28,54,.30);
  --shadow-amber: 0 16px 34px -14px rgba(207,127,6,.45);
  --ring:      0 0 0 3px rgba(255,165,13,.35);
  --ease:      cubic-bezier(.22,.61,.36,1);
  --ease-out:  cubic-bezier(.16,1,.3,1);
}


/* ==========================================================================
   2. RESET / BASE
   ========================================================================== */
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth;scroll-padding-top:96px}
body{
  font-family:var(--font-body);
  font-size:clamp(15.5px,.96rem + .12vw,17px);
  line-height:1.75;
  color:var(--ink);
  background:var(--white);
  overflow-x:hidden;
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
  text-rendering:optimizeLegibility;
}
img,svg,video{max-width:100%;height:auto;display:block}
a{color:var(--brand-dark);text-decoration:none;transition:color .2s var(--ease)}
a:hover{color:var(--brand-amber-dk)}
ul,ol{list-style:none}
button,input,select,textarea{font:inherit;color:inherit}
button{background:none;border:0;cursor:pointer}
:focus-visible{outline:none;box-shadow:var(--ring);border-radius:4px}
hr{border:0;border-top:1px solid var(--line)}
::selection{background:var(--brand-amber);color:#fff}


/* ==========================================================================
   3. TYPOGRAPHY  — editorial Castoro display + ADLaM body
   ========================================================================== */
h1,h2,h3,h4,h5,h6{
  font-family:var(--font-heading);
  color:var(--heading);
  font-weight:600;
  line-height:1.16;
  letter-spacing:-.012em;
}
h1{font-size:clamp(2.4rem,1.7rem + 3.4vw,4rem);line-height:1.07;letter-spacing:-.02em}
h2{font-size:clamp(1.9rem,1.35rem + 2.3vw,2.95rem);letter-spacing:-.018em}
h3{font-size:clamp(1.25rem,1.08rem + .7vw,1.6rem)}
h4{font-size:1.12rem;letter-spacing:-.01em}
p{margin-bottom:1rem}
p:last-child{margin-bottom:0}
strong{color:var(--heading);font-weight:600}
small{font-size:.82rem}

.lead{
  font-size:clamp(1.08rem,1rem + .45vw,1.32rem);
  line-height:1.7;color:var(--ink-soft);font-weight:400;
}
.display{font-size:clamp(2.8rem,2rem + 4.5vw,4.7rem);line-height:1.04;letter-spacing:-.025em}

/* Eyebrow — small amber kicker, refined */
.eyebrow{
  display:inline-flex;align-items:center;gap:.7rem;
  font-family:var(--font-body);
  font-size:.76rem;font-weight:600;
  letter-spacing:.2em;text-transform:uppercase;
  color:var(--brand-amber-dk);
  margin-bottom:1.1rem;
}
.eyebrow::before{
  content:"";width:30px;height:2px;background:var(--brand-amber);flex:none;
}
.eyebrow--center{justify-content:center}


/* ==========================================================================
   4. LAYOUT / RHYTHM
   --------------------------------------------------------------------------
   Section depth: light sections alternate cool/warm tints with hairline
   separators so bands read as layered, not flat. Dark sections get an
   inlaid radial + grain so they are atmospheric, not slabs.
   ========================================================================== */
.container{
  width:100%;max-width:var(--container);
  margin-inline:auto;padding-inline:var(--gutter);
}
.container--narrow{max-width:840px}
.container--wide{max-width:var(--container-w)}

.section{padding-block:var(--section-y);position:relative}
.section--tight{padding-block:var(--section-y-sm)}
.section--surface{background:var(--surface)}
.section--alt{background:var(--surface-warm)}
.section--surface + .section--surface,
.section + .section{}
/* hairline between two adjacent light sections for crisp separation */
.section--surface,.section--alt{border-top:1px solid var(--line-soft)}
.section--flush{border-top:0}

.section--dark{
  background:var(--brand-dark);color:rgba(255,255,255,.74);
  position:relative;overflow:hidden;
}
.section--dark::before{
  content:"";position:absolute;inset:0;pointer-events:none;
  background:
    radial-gradient(820px 420px at 88% -12%,rgba(255,165,13,.16),transparent 66%),
    radial-gradient(680px 460px at 6% 116%,rgba(255,165,13,.08),transparent 60%);
}
.section--dark > .container{position:relative;z-index:1}
.section--dark h1,.section--dark h2,.section--dark h3{color:#fff}
.section--dark .lead{color:rgba(255,255,255,.7)}

/* vertical flow helper: consistent rhythm between stacked blocks */
.flow > * + *{margin-top:var(--flow)}
.flow--lg > * + *{margin-top:1.6rem}

.row{display:flex;flex-wrap:wrap;gap:2rem}
.col{flex:1 1 0;min-width:0}

.mt-0{margin-top:0}.mt-1{margin-top:.5rem}.mt-2{margin-top:1rem}
.mt-3{margin-top:1.5rem}.mt-4{margin-top:2.25rem}.mt-5{margin-top:3rem}
.mb-0{margin-bottom:0}.mb-2{margin-bottom:1rem}.mb-3{margin-bottom:1.5rem}
.center{text-align:center}
.measure{max-width:64ch}
.measure.center{margin-inline:auto}


/* ==========================================================================
   5. BUTTONS  — tightly grouped, aligned, crafted states
   ========================================================================== */
.btn{
  --btn-bg:var(--brand-amber);
  --btn-fg:#fff;
  --btn-bd:var(--brand-amber);
  display:inline-flex;align-items:center;justify-content:center;gap:.6rem;
  font-family:var(--font-body);
  font-size:.95rem;font-weight:600;letter-spacing:.005em;
  line-height:1;white-space:nowrap;
  padding:1rem 1.9rem;
  color:var(--btn-fg);background:var(--btn-bg);
  border:1.5px solid var(--btn-bd);
  border-radius:var(--radius);
  cursor:pointer;
  transition:background .22s var(--ease),color .22s var(--ease),
             border-color .22s var(--ease),transform .22s var(--ease),
             box-shadow .3s var(--ease);
}
.btn:hover{transform:translateY(-2px);color:var(--btn-fg)}
.btn:active{transform:translateY(0)}
.btn svg{width:1.08em;height:1.08em;flex:none}

.btn-primary{box-shadow:var(--shadow-amber)}
.btn-primary:hover{--btn-bg:var(--brand-amber-dk);--btn-bd:var(--brand-amber-dk);
  box-shadow:0 20px 40px -14px rgba(207,127,6,.55)}

.btn-dark{--btn-bg:var(--brand-dark);--btn-bd:var(--brand-dark)}
.btn-dark:hover{--btn-bg:var(--brand-dark-3);--btn-bd:var(--brand-dark-3)}

.btn-outline{--btn-bg:transparent;--btn-fg:var(--heading);--btn-bd:#d3d8e3}
.btn-outline:hover{--btn-bg:var(--brand-dark);--btn-fg:#fff;--btn-bd:var(--brand-dark);
  box-shadow:var(--shadow-sm)}

.btn-ghost{--btn-bg:rgba(255,255,255,.08);--btn-fg:#fff;--btn-bd:rgba(255,255,255,.45);
  -webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px)}
.btn-ghost:hover{--btn-bg:#fff;--btn-fg:var(--heading);--btn-bd:#fff}

.btn-lg{padding:1.18rem 2.4rem;font-size:1rem}
.btn-sm{padding:.7rem 1.25rem;font-size:.86rem}
.btn-block{display:flex;width:100%}

/* Button rows — tight, aligned (fixes "scattered buttons") */
.btn-row{display:flex;flex-wrap:wrap;gap:.85rem;align-items:stretch}
.btn-row .btn{align-items:center}
.btn-row--center{justify-content:center}

.text-link{
  display:inline-flex;align-items:center;gap:.5rem;
  font-weight:600;color:var(--brand-amber-dk);
  font-size:.95rem;
}
.text-link svg{width:1.05em;height:1.05em;transition:transform .25s var(--ease)}
.text-link:hover{color:var(--brand-amber-dkr)}
.text-link:hover svg{transform:translateX(5px)}


/* ==========================================================================
   6. HEADER / NAV
   --------------------------------------------------------------------------
   BUG 1 FIX: .nav-cta-mobile is the CTA repeated inside the mobile panel.
   It carries .btn .btn-primary .btn-block .nav-cta-mobile, so .btn-block
   (display:flex, specificity 0,1,0) was overriding a plain
   .nav-cta-mobile{display:none} (also 0,1,0) and the amber bar leaked into
   the DESKTOP header. Fix WITHOUT !important by raising specificity:
     base  .site-header .nav-cta-mobile { display:none }     (0,2,0)  > .btn-block (0,1,0)
     <=992 .site-header .nav-cta-mobile { display:flex }      (0,2,0)  re-show in panel
   ========================================================================== */
.site-topbar{
  background:var(--brand-dark-2);
  color:rgba(255,255,255,.7);
  font-size:.82rem;
  border-bottom:1px solid rgba(255,255,255,.05);
}
.topbar-inner{
  display:flex;align-items:center;justify-content:space-between;
  gap:1rem;min-height:44px;flex-wrap:wrap;
}
.topbar-contact{display:flex;align-items:center;gap:1.75rem;flex-wrap:wrap}
.topbar-contact a{display:inline-flex;align-items:center;gap:.5rem;color:rgba(255,255,255,.7)}
.topbar-contact a:hover{color:var(--brand-amber)}
.topbar-contact svg{width:14px;height:14px;color:var(--brand-amber)}
.topbar-link{display:inline-flex;align-items:center;gap:.5rem;color:#fff;font-weight:600}
.topbar-link:hover{color:var(--brand-amber)}
.topbar-link svg{width:13px;height:13px}

.site-header{
  position:sticky;top:0;z-index:1000;
  background:rgba(255,255,255,.92);
  -webkit-backdrop-filter:saturate(180%) blur(12px);
  backdrop-filter:saturate(180%) blur(12px);
  border-bottom:1px solid var(--line);
  transition:box-shadow .3s var(--ease),background .3s var(--ease);
}
.site-header.is-stuck{
  box-shadow:0 12px 32px -16px rgba(20,28,54,.22);
  background:rgba(255,255,255,.97);
}
.nav-inner{
  display:flex;align-items:center;justify-content:space-between;
  gap:1.5rem;min-height:88px;
}
.brand{display:inline-flex;align-items:center;flex:none}
.brand img{height:48px;width:auto}

.main-nav{display:flex;align-items:center;gap:.5rem}
.main-nav ul{display:flex;align-items:center;gap:.15rem}
.main-nav a{
  display:block;font-size:.95rem;font-weight:600;
  color:var(--heading);padding:.6rem 1rem;border-radius:var(--radius);
  position:relative;transition:color .2s var(--ease)}
.main-nav a::after{
  content:"";position:absolute;left:1rem;right:1rem;bottom:.45rem;
  height:2px;background:var(--brand-amber);
  transform:scaleX(0);transform-origin:left;
  transition:transform .28s var(--ease)}
.main-nav a:hover{color:var(--brand-amber-dk)}
.main-nav a:hover::after,
.main-nav a.is-active::after{transform:scaleX(1)}
.main-nav a.is-active{color:var(--brand-amber-dk)}

.nav-cta{flex:none;margin-left:.65rem}

/* BUG 1 — desktop hide wins by specificity (0,2,0 > .btn-block 0,1,0) */
.site-header .nav-cta-mobile{display:none}

.nav-toggle{
  display:none;width:48px;height:48px;
  border:1px solid var(--line);border-radius:var(--radius);
  align-items:center;justify-content:center;color:var(--heading);flex:none;
  transition:border-color .2s var(--ease),background .2s var(--ease)}
.nav-toggle:hover{border-color:var(--brand-amber);background:var(--brand-amber-soft)}
.nav-toggle svg{width:22px;height:22px}
.nav-toggle .icon-close{display:none}
.nav-open .nav-toggle .icon-open{display:none}
.nav-open .nav-toggle .icon-close{display:block}


/* ==========================================================================
   7. HERO
   --------------------------------------------------------------------------
   BUG 3 FIX + craft: image-led hero. The photo is set as a DOCUMENT-relative
   inline background-image directly on the .hero--photo element (resolves
   against the HTML page, so it is always correct at the site root — NOT a
   CSS var()-substituted url(), which would resolve relative to style.css
   and 404). CSS only layers a LIGHT directional scrim (::after) so the
   PHOTOGRAPH stays clearly visible and premium, matching the live site's
   bright-photo treatment — never a near-black slab.
       <section class="hero hero--photo"
                style="background-image:url('assets/img/hero.jpg')">
   Text hero (interior, no photo): just <section class="hero">.
   ========================================================================== */
.hero{position:relative;background:var(--surface);overflow:hidden}
.hero-inner{
  position:relative;z-index:2;
  max-width:var(--container);margin-inline:auto;
  padding:clamp(76px,8vw,128px) var(--gutter);
}
.hero-content{max-width:680px}

.hero--photo{
  min-height:min(86vh,720px);
  display:flex;align-items:center;
  background-color:#1b2132;
  background-size:cover;
  background-position:center 38%;
  background-repeat:no-repeat;
}
/* refined scrim — photo stays visible; text legible bottom-left */
.hero--photo::after{
  content:"";position:absolute;inset:0;z-index:1;
  background:
    linear-gradient(104deg,rgba(20,24,38,.78) 0%,rgba(20,24,38,.52) 34%,
                    rgba(20,24,38,.20) 64%,rgba(20,24,38,.06) 100%),
    linear-gradient(to top,rgba(18,22,36,.55) 0%,rgba(18,22,36,0) 42%);
}
.hero--photo .hero-inner{padding-block:clamp(96px,10vw,160px)}
.hero--photo .eyebrow{color:#ffd089}
.hero--photo .eyebrow::before{background:var(--brand-amber)}
.hero--photo h1{
  color:#fff;max-width:15ch;
  text-shadow:0 2px 24px rgba(8,10,20,.4);
}
.hero--photo .lead,
.hero--photo p.hero-sub{
  color:rgba(255,255,255,.9);
  font-size:clamp(1.08rem,1rem + .5vw,1.3rem);line-height:1.7;
  max-width:50ch;margin-top:1.35rem;
  text-shadow:0 1px 12px rgba(8,10,20,.35);
}
.hero--photo .btn-row{margin-top:2.4rem}

/* slim trust strip that can sit at the hero foot */
.hero-trust{
  position:relative;z-index:2;
  border-top:1px solid rgba(255,255,255,.14);
  margin-top:clamp(2.5rem,5vw,3.5rem);padding-top:1.6rem;
  display:flex;flex-wrap:wrap;gap:1.4rem 2.6rem;
  color:rgba(255,255,255,.78);font-size:.92rem;
}
.hero-trust span{display:inline-flex;align-items:center;gap:.6rem}
.hero-trust svg{width:18px;height:18px;color:var(--brand-amber);flex:none}

/* scroll cue */
.hero-cue{
  position:absolute;left:50%;bottom:1.4rem;z-index:2;
  transform:translateX(-50%);
  color:rgba(255,255,255,.6);font-size:.72rem;letter-spacing:.22em;
  text-transform:uppercase;display:flex;flex-direction:column;
  align-items:center;gap:.55rem;
}
.hero-cue::after{
  content:"";width:1px;height:34px;
  background:linear-gradient(rgba(255,255,255,.6),transparent);
  animation:cue 2.2s var(--ease) infinite;
}
@keyframes cue{0%{opacity:0;transform:translateY(-8px)}40%{opacity:1}100%{opacity:0;transform:translateY(10px)}}


/* ==========================================================================
   8. PAGE-TITLE BANNER (interior pages)
   --------------------------------------------------------------------------
   Default: dark atmospheric. Photographic variant: add .page-banner--photo
   and set the photo as a DOCUMENT-relative inline background-image
   (style="background-image:url('assets/img/about.webp')") — same
   convention as the hero (a CSS var() url() would 404 vs style.css).
   ========================================================================== */
.page-banner{
  position:relative;background:var(--brand-dark);
  color:rgba(255,255,255,.8);
  padding-block:clamp(72px,8vw,128px);
  overflow:hidden;
}
.page-banner::after{
  content:"";position:absolute;inset:0;pointer-events:none;
  background:
    radial-gradient(820px 360px at 84% -16%,rgba(255,165,13,.18),transparent 64%),
    radial-gradient(620px 380px at 4% 120%,rgba(255,165,13,.08),transparent 60%);
}
/* Photographic banner: set the photo as a DOCUMENT-relative inline
   background-image on the element (NOT a CSS var url() — that 404s):
     <section class="page-banner page-banner--photo"
              style="background-image:url('assets/img/about.webp')"> */
.page-banner--photo{
  background-color:#1b2132;
  background-size:cover;background-position:center 40%;background-repeat:no-repeat;
}
.page-banner--photo::after{
  background:
    linear-gradient(100deg,rgba(20,24,38,.84) 0%,rgba(20,24,38,.55) 52%,rgba(20,24,38,.28) 100%),
    radial-gradient(700px 320px at 86% -10%,rgba(255,165,13,.16),transparent 64%);
}
.page-banner .container{position:relative;z-index:2}
.page-banner .eyebrow{color:#ffd089}
.page-banner h1{color:#fff;margin-bottom:.55rem;max-width:20ch}
.page-banner p{color:rgba(255,255,255,.78);max-width:62ch;font-size:1.05rem}
.breadcrumb{
  display:flex;flex-wrap:wrap;align-items:center;gap:.5rem;
  margin-top:1.4rem;font-size:.86rem;color:rgba(255,255,255,.58);
}
.breadcrumb a{color:rgba(255,255,255,.82)}
.breadcrumb a:hover{color:var(--brand-amber)}
.breadcrumb .sep{opacity:.45}
.breadcrumb [aria-current]{color:var(--brand-amber)}


/* ==========================================================================
   9. SECTION HEADINGS
   ========================================================================== */
.section-head{max-width:780px;margin-bottom:clamp(2.5rem,4vw,3.75rem)}
.section-head h2{margin-bottom:0}
.section-head .lead{margin-top:1.1rem}
.section-head--center{margin-inline:auto;text-align:center}
.section-head--center .eyebrow{justify-content:center}


/* ==========================================================================
   10. CARD GRID  — elevated: ring, lift, amber edge reveal
   ========================================================================== */
.card-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1.6rem}
.card-grid--2{grid-template-columns:repeat(2,1fr);gap:1.8rem}
.card-grid--4{grid-template-columns:repeat(4,1fr)}

.card{
  position:relative;background:var(--white);
  border:1px solid var(--line);
  border-radius:var(--radius-lg);
  padding:clamp(1.9rem,2.4vw,2.6rem);
  display:flex;flex-direction:column;
  box-shadow:var(--shadow-xs);
  transition:transform .35s var(--ease-out),box-shadow .35s var(--ease-out),
             border-color .35s var(--ease-out);
}
.card::before{
  content:"";position:absolute;left:0;top:clamp(1.9rem,2.4vw,2.6rem);
  width:3px;height:0;border-radius:0 3px 3px 0;background:var(--brand-amber);
  transition:height .4s var(--ease-out);
}
.card h3{margin-bottom:.6rem}
.card p{color:var(--ink-soft);font-size:1rem;line-height:1.7}
.card .card-link{margin-top:auto;padding-top:1.4rem}
.card--link{cursor:pointer;color:inherit}
.card--link:hover{
  transform:translateY(-6px);
  box-shadow:var(--shadow-md);
  border-color:transparent;
}
.card--link:hover::before{height:2.4rem}

.card-icon{
  width:58px;height:58px;border-radius:14px;
  display:inline-flex;align-items:center;justify-content:center;
  background:var(--brand-amber-soft);color:var(--brand-amber-dk);
  margin-bottom:1.5rem;
  box-shadow:inset 0 0 0 1px var(--brand-amber-line);
  transition:background .3s var(--ease),color .3s var(--ease);
}
.card-icon svg{width:26px;height:26px}
.card--link:hover .card-icon{background:var(--brand-amber);color:#fff}
.card--dark{background:var(--brand-dark);border-color:transparent;color:rgba(255,255,255,.74)}
.card--dark h3{color:#fff}
.card--dark p{color:rgba(255,255,255,.7)}

.card-index{
  font-family:var(--font-heading);font-size:1rem;font-weight:600;
  color:var(--brand-amber);letter-spacing:.04em;margin-bottom:.55rem;
}

/* card with image header (Vesta property types can use this) */
.card--media{padding:0;overflow:hidden}
.card--media .card-figure{position:relative;aspect-ratio:16/10;overflow:hidden;background:var(--surface-2)}
.card--media .card-figure img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.card--media .card-body{padding:clamp(1.6rem,2.2vw,2.2rem);display:flex;flex-direction:column;flex:1}
.card--media.card--link:hover .card-figure img{transform:scale(1.05);transition:transform .6s var(--ease-out)}
.card--media .card-figure img{transition:transform .6s var(--ease-out)}
.card--media::before{display:none}


/* ==========================================================================
   11. CONTENT SECTION / SPLIT / MEDIA-FIGURE
   --------------------------------------------------------------------------
   BUG 2 FIX: figures rendered as blank white boxes. Causes addressed:
     - .media-figure is width:100% in its grid track, so its width is always
       resolved; aspect-ratio then drives a real height (no fixed min-height,
       which would back-feed width into the track and overflow on mobile).
       It never collapses to 0 (grid / lazy / no-JS) and a --surface-2 fill
       shows if the photo is still loading.
     - img is position:absolute; inset:0 filling the framed box (object-fit
       cover) — not relying on height:100% of an unsized parent.
     - NO opacity:0 on images or figures anywhere; reveal motion (sec.18)
       never touches media and is JS-free (animation fills forwards), so
       images are ALWAYS painted, even with JS disabled / slow network.
     - Above-fold figures must NOT use loading="lazy" (page agents briefed);
       lazy retained only for clearly below-fold imagery.
   Craft: framed figure — soft shadow, hairline ring, amber inlay corner,
   subtle zoom on hover when inside a link.
   ========================================================================== */
.content-block{max-width:780px}
.content-block > * + *{margin-top:1.15rem}
.content-block h2,.content-block h3{margin-top:2.4rem}
.content-block > h2:first-child,
.content-block > h3:first-child{margin-top:0}

.content-split{
  display:grid;grid-template-columns:1fr 1fr;
  gap:clamp(2.5rem,5vw,5.5rem);align-items:center;
}
/* grid children must be allowed to shrink below intrinsic min-content,
   otherwise long words / min-height push the track wider than the
   viewport and cause horizontal overflow on small screens */
.content-split > *{min-width:0}
.content-split--reverse .content-media{order:-1}
.content-split--lean{grid-template-columns:1.05fr .95fr}
.content-text h2{margin-bottom:1.15rem}
.content-text p + p{margin-top:1rem}
.content-text .btn-row{margin-top:2rem}

.media-figure{
  position:relative;
  display:block;
  width:100%;                              /* fill the grid track (track drives width) */
  min-width:0;                             /* allow shrink below intrinsic size */
  border-radius:var(--radius-lg);
  overflow:hidden;
  background:var(--surface-2);             /* visible fill if image is slow */
  box-shadow:var(--shadow-lg);
  aspect-ratio:4/5;                        /* height follows width — no fixed min-height
                                              (a rigid min-height back-feeds width into
                                              the grid track and overflows on mobile) */
  isolation:isolate;
}
.media-figure > img{
  position:absolute;inset:0;
  width:100%;height:100%;
  object-fit:cover;object-position:center;
  opacity:1;                               /* never hidden */
}
.media-figure--wide{aspect-ratio:16/11}
.media-figure--tall{aspect-ratio:4/5}
.media-figure--square{aspect-ratio:1/1}
/* hairline ring + amber inlay (crafted frame) */
.media-figure::after{
  content:"";position:absolute;inset:0;z-index:2;pointer-events:none;
  border-radius:inherit;
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.14);
}
.media-figure::before{
  content:"";position:absolute;left:0;bottom:0;z-index:2;
  width:42%;height:4px;background:var(--brand-amber);
}
.media-figure figcaption{
  position:absolute;left:0;right:0;bottom:0;z-index:2;
  padding:1.5rem 1.4rem .9rem;
  color:#fff;font-size:.85rem;
  background:linear-gradient(to top,rgba(15,18,30,.7),transparent);
}
a:hover > .media-figure > img,
.card--link:hover .media-figure > img{transform:scale(1.04);transition:transform .7s var(--ease-out)}
.media-figure > img{transition:transform .7s var(--ease-out)}

/* floating accent stat chip that can overlap a figure (optional) */
.media-badge{
  position:absolute;z-index:3;right:-14px;bottom:28px;
  background:#fff;border-radius:14px;padding:1.1rem 1.4rem;
  box-shadow:var(--shadow-md);max-width:200px;
}
.media-badge .n{font-family:var(--font-heading);font-size:1.7rem;font-weight:700;color:var(--heading);line-height:1}
.media-badge .t{font-size:.78rem;letter-spacing:.1em;text-transform:uppercase;color:var(--ink-mute);margin-top:.3rem}

/* checkmark list */
.list{display:grid;gap:1rem}
.list li{position:relative;padding-left:2.1rem;color:var(--ink-soft);line-height:1.6}
.list li::before{
  content:"";position:absolute;left:0;top:.05em;
  width:1.35rem;height:1.35rem;border-radius:50%;
  background:var(--brand-amber-soft);box-shadow:inset 0 0 0 1px var(--brand-amber-line);
}
.list li::after{
  content:"";position:absolute;left:.42rem;top:.42em;
  width:.42rem;height:.24rem;
  border-left:2px solid var(--brand-amber-dk);
  border-bottom:2px solid var(--brand-amber-dk);
  transform:rotate(-45deg);
}
.list strong{display:block;color:var(--heading);margin-bottom:.15rem}

/* definition rows (who suits / upside / risks) */
.def-grid{display:grid;gap:0;margin-top:1.5rem}
.def-row{
  display:grid;grid-template-columns:180px 1fr;gap:1.5rem;
  padding:1.15rem 0;border-bottom:1px solid var(--line);
}
.def-row:first-child{padding-top:0}
.def-row:last-child{border-bottom:0;padding-bottom:0}
.def-term{font-family:var(--font-heading);font-weight:600;color:var(--heading);font-size:1.02rem}
.def-desc{color:var(--ink-soft)}
.def-row--risk .def-term{color:var(--brand-amber-dk)}


/* ==========================================================================
   12. PROCESS / STEP LIST
   ========================================================================== */
.steps{display:grid;gap:0;counter-reset:step;position:relative}
.step{
  display:grid;grid-template-columns:auto 1fr;gap:1.8rem;
  padding:2rem 0;border-bottom:1px solid var(--line);
}
.step:first-child{padding-top:0}
.step:last-child{border-bottom:0;padding-bottom:0}
.step-num{
  width:54px;height:54px;border-radius:50%;
  display:flex;align-items:center;justify-content:center;
  background:var(--brand-dark);color:#fff;
  font-family:var(--font-heading);font-size:1.18rem;font-weight:600;flex:none;
  box-shadow:0 8px 18px -8px rgba(20,28,54,.4);
}
.step-body h3{margin-bottom:.45rem}
.step-body p{color:var(--ink-soft);margin:0}

.steps--row{grid-auto-flow:column;grid-auto-columns:1fr;gap:1.4rem}
.steps--row .step{
  grid-template-columns:1fr;grid-template-rows:auto auto 1fr;
  gap:1.1rem;padding:clamp(1.8rem,2.4vw,2.4rem);border:1px solid var(--line);
  border-radius:var(--radius-lg);background:var(--white);box-shadow:var(--shadow-xs);
  transition:transform .35s var(--ease-out),box-shadow .35s var(--ease-out);
}
.steps--row .step:hover{transform:translateY(-5px);box-shadow:var(--shadow-md)}
.steps--row .step-num{margin-bottom:.2rem}


/* ==========================================================================
   13. STAT / TRUST BLOCK  — not a flat slab; framed cells + atmosphere
   ========================================================================== */
.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:0}
.stats--4{grid-template-columns:repeat(4,1fr)}
.stat{
  text-align:center;padding:1.6rem 1.2rem;position:relative;
}
.stat + .stat::before{
  content:"";position:absolute;left:0;top:18%;bottom:18%;width:1px;
  background:var(--line);
}
.stat-num{
  display:block;font-family:var(--font-heading);
  font-size:clamp(2.3rem,1.7rem + 1.8vw,3.2rem);
  font-weight:700;color:var(--heading);line-height:1;letter-spacing:-.02em;
}
.stat-num .amber{color:var(--brand-amber)}
.stat-label{
  display:block;margin-top:.7rem;
  font-size:.82rem;letter-spacing:.16em;text-transform:uppercase;color:var(--ink-mute);
}
.trust-band{background:var(--brand-dark);position:relative;overflow:hidden}
.trust-band::before{
  content:"";position:absolute;inset:0;pointer-events:none;
  background:radial-gradient(700px 320px at 50% -40%,rgba(255,165,13,.14),transparent 62%);
}
.trust-band > .container{position:relative;z-index:1}
.trust-band .stat-num{color:#fff}
.trust-band .stat-label{color:rgba(255,255,255,.6)}
.trust-band .stat + .stat::before{background:var(--line-dark)}


/* ==========================================================================
   14. CTA BAND  — layered, photographic-optional, not a flat slab
   ========================================================================== */
.cta-band{
  position:relative;background:var(--brand-dark);
  color:rgba(255,255,255,.82);overflow:hidden;
  padding-block:clamp(68px,7vw,108px);
}
.cta-band::before{
  content:"";position:absolute;inset:0;pointer-events:none;
  background:
    radial-gradient(620px 340px at 10% 120%,rgba(255,165,13,.20),transparent 64%),
    radial-gradient(560px 320px at 90% -22%,rgba(255,165,13,.13),transparent 62%);
}
/* Photographic CTA: set the photo as a DOCUMENT-relative inline
   background-image on the element (NOT a CSS var url() — that 404s):
     <section class="cta-band cta-band--photo"
              style="background-image:url('assets/img/interior-b.webp')">
   ::before then veils it (dark + amber) so the photo reads subtly. */
.cta-band--photo{
  background-color:#181c2c;
  background-size:cover;background-position:center;background-repeat:no-repeat;
}
.cta-band--photo::before{
  background:
    linear-gradient(180deg,rgba(20,24,38,.86),rgba(20,24,38,.9)),
    radial-gradient(620px 340px at 10% 120%,rgba(255,165,13,.22),transparent 64%),
    radial-gradient(560px 320px at 90% -22%,rgba(255,165,13,.15),transparent 62%);
}
.cta-band .container{position:relative;z-index:2}
.cta-inner{
  display:flex;align-items:center;justify-content:space-between;
  gap:2.5rem;flex-wrap:wrap;
}
.cta-text{max-width:660px}
.cta-band .eyebrow{color:#ffd089}
.cta-band h2{color:#fff;margin-bottom:.7rem}
.cta-band p{color:rgba(255,255,255,.78);margin:0;font-size:1.08rem}
.cta-band .btn-row{flex:none}


/* ==========================================================================
   15. FORM
   ========================================================================== */
.form{
  background:var(--white);border:1px solid var(--line);
  border-radius:var(--radius-lg);
  padding:clamp(1.75rem,3vw,3rem);box-shadow:var(--shadow-sm);
}
.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:1.4rem}
.field{display:flex;flex-direction:column;gap:.5rem;min-width:0}
.field--full{grid-column:1 / -1}
.field > label,.field > legend{font-size:.9rem;font-weight:600;color:var(--heading)}
.field .req{color:var(--brand-amber-dk)}
.field input,.field select,.field textarea{
  width:100%;padding:.92rem 1.05rem;
  background:var(--white);border:1px solid #d9dde7;
  border-radius:var(--radius);color:var(--heading);
  transition:border-color .2s var(--ease),box-shadow .2s var(--ease);
}
.field textarea{min-height:150px;resize:vertical}
.field select{
  appearance:none;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2367738e' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat:no-repeat;background-position:right 1rem center;
  background-size:18px;padding-right:2.75rem;
}
.field input::placeholder,.field textarea::placeholder{color:#9aa3ba}
.field input:focus,.field select:focus,.field textarea:focus{
  outline:none;border-color:var(--brand-amber);
  box-shadow:0 0 0 3px rgba(255,165,13,.18);
}
.field.has-error input,.field.has-error select,.field.has-error textarea{
  border-color:#d8453b;box-shadow:0 0 0 3px rgba(216,69,59,.14);
}
.field-error{font-size:.82rem;color:#d8453b;display:none}
.field.has-error .field-error{display:block}

.checkbox-group{display:grid;grid-template-columns:repeat(2,1fr);gap:.8rem 1.5rem;margin-top:.25rem}
.checkbox{display:flex;align-items:flex-start;gap:.65rem;font-size:.94rem;color:var(--ink-soft);cursor:pointer;font-weight:400}
.checkbox input{
  appearance:none;width:1.2rem;height:1.2rem;flex:none;margin-top:.12rem;
  border:1.5px solid #ccd2de;border-radius:5px;background:var(--white);
  transition:background .15s var(--ease),border-color .15s var(--ease);position:relative;
}
.checkbox input:checked{background:var(--brand-amber);border-color:var(--brand-amber)}
.checkbox input:checked::after{
  content:"";position:absolute;left:6px;top:2px;width:.34rem;height:.62rem;
  border:solid #fff;border-width:0 2px 2px 0;transform:rotate(45deg);
}
.checkbox input:focus-visible{box-shadow:var(--ring)}

.form-note{font-size:.84rem;color:var(--ink-mute);grid-column:1 / -1;margin:0}
.form-note a{color:var(--brand-amber-dk);text-decoration:underline}

/* Honeypot — intentional anti-spam bait, must be invisible & off-screen
   so humans never see/focus it; bot submissions rejected server-side. */
.hp{position:absolute!important;left:-9999px!important;width:1px;height:1px;overflow:hidden}

.form-alert{border-radius:var(--radius);padding:1rem 1.25rem;font-size:.95rem;margin-bottom:1.4rem}
.form-alert--ok{background:var(--brand-amber-soft);color:#8a5a06;border:1px solid var(--brand-amber-line)}
.form-alert--err{background:rgba(216,69,59,.08);color:#a5352d;border:1px solid rgba(216,69,59,.3)}


/* ==========================================================================
   16. FOOTER
   ========================================================================== */
.site-footer{background:var(--brand-dark);color:var(--ink-mute);position:relative;overflow:hidden}
.site-footer::before{
  content:"";position:absolute;inset:0;pointer-events:none;
  background:radial-gradient(700px 360px at 88% -30%,rgba(255,165,13,.10),transparent 60%);
}
.footer-main{padding-block:clamp(60px,6vw,88px);position:relative;z-index:1}
.footer-grid{display:grid;grid-template-columns:1.5fr 1fr 1fr 1.6fr;gap:2.5rem}
.footer-col h4{
  color:#fff;font-size:1.02rem;margin-bottom:1.35rem;
  font-family:var(--font-heading);font-weight:600;
}
.footer-col ul{display:grid;gap:.72rem}
.footer-col ul a{color:rgba(255,255,255,.62);font-size:.93rem}
.footer-col ul a:hover{color:var(--brand-amber)}

.footer-brand img{height:44px;width:auto;margin-bottom:1.4rem}
.footer-about{font-size:.92rem;color:rgba(255,255,255,.6);line-height:1.75;margin-bottom:1.5rem}
.footer-contact{display:grid;gap:.85rem;font-size:.92rem}
.footer-contact li{display:flex;align-items:flex-start;gap:.7rem;color:rgba(255,255,255,.66)}
.footer-contact svg{width:16px;height:16px;color:var(--brand-amber);flex:none;margin-top:.2rem}
.footer-contact a{color:rgba(255,255,255,.66)}
.footer-contact a:hover{color:var(--brand-amber)}

.footer-disclaimer p{font-size:.8rem;line-height:1.7;color:rgba(255,255,255,.5);margin-bottom:.8rem}
.footer-disclaimer .footer-disclaimer-title{
  color:rgba(255,255,255,.78);font-weight:600;text-transform:uppercase;
  letter-spacing:.1em;font-size:.74rem;margin-bottom:.7rem;display:block;
}

.footer-bottom{
  background:var(--brand-dark-2);border-top:1px solid rgba(255,255,255,.06);
  padding-block:1.5rem;position:relative;z-index:1;
}
.footer-bottom-inner{
  display:flex;align-items:center;justify-content:space-between;
  gap:1rem;flex-wrap:wrap;font-size:.86rem;color:rgba(255,255,255,.55);
}
.footer-bottom a{color:rgba(255,255,255,.7)}
.footer-bottom a:hover{color:var(--brand-amber)}
.footer-bottom-links{display:flex;align-items:center;gap:1.4rem;flex-wrap:wrap}
.footer-back{display:inline-flex;align-items:center;gap:.45rem;font-weight:600;color:#fff}
.footer-back svg{width:14px;height:14px}


/* ==========================================================================
   17. UTILITIES
   ========================================================================== */
.text-amber{color:var(--brand-amber-dk)}
.text-white{color:#fff}
.text-mute{color:var(--ink-mute)}
.bg-surface{background:var(--surface)}
.bg-dark{background:var(--brand-dark);color:#fff}
.nowrap{white-space:nowrap}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.skip-link{
  position:absolute;left:1rem;top:-60px;z-index:2000;
  background:var(--brand-dark);color:#fff;padding:.7rem 1.2rem;
  border-radius:var(--radius);transition:top .2s var(--ease);
}
.skip-link:focus{top:1rem;color:#fff}
.divider{height:1px;background:var(--line);border:0}


/* ==========================================================================
   18. MOTION  — TRANSFORM-ONLY settle; content is ALWAYS visible
   --------------------------------------------------------------------------
   Hard rule + BUG-2 lesson: content must NEVER be invisible — not pre-JS,
   not mid-scroll, not in a full-page screenshot/crawler/print, not if the
   IntersectionObserver misfires. So [data-reveal] elements stay opacity:1
   AT ALL TIMES. The only enhancement is a tiny upward *transform* settle
   applied via .is-in (added by main.js when in view). Worst case = content
   fully visible, just not yet "settled" — zero blank-content risk.
   Media (.media-figure / img) is never transformed by reveal.
   ========================================================================== */
.js [data-reveal]{
  opacity:1;                               /* ALWAYS visible — never 0 */
  transform:translateY(14px);
  transition:transform .6s var(--ease-out);
  will-change:transform;
}
.js [data-reveal].is-in{transform:none}
.js [data-reveal][data-reveal-d="1"]{transition-delay:.07s}
.js [data-reveal][data-reveal-d="2"]{transition-delay:.14s}
.js [data-reveal][data-reveal-d="3"]{transition-delay:.21s}
.js [data-reveal][data-reveal-d="4"]{transition-delay:.28s}
/* never transform media or anything inside a figure */
[data-reveal] .media-figure,[data-reveal] img{transform:none!important}

@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  .js [data-reveal]{transform:none!important;transition:none}
  .hero-cue::after{animation:none}
  *{animation-duration:.01ms!important;animation-iteration-count:1!important}
}


/* ==========================================================================
   19. RESPONSIVE  (tablet -> phone; NOTHING hidden, content reflows)
   ========================================================================== */

/* ---- <= 992px : tablet ---- */
@media (max-width:992px){
  :root{--gutter:1.4rem}

  .nav-toggle{display:flex}
  .nav-cta{display:none}                  /* repeated inside mobile panel */

  .main-nav{
    position:absolute;left:0;right:0;top:100%;
    background:#fff;border-bottom:1px solid var(--line);
    box-shadow:var(--shadow-md);
    padding:1rem var(--gutter) 1.4rem;
    display:none;flex-direction:column;align-items:stretch;gap:0;
  }
  .nav-open .main-nav{display:flex;animation:navdrop .26s var(--ease)}
  @keyframes navdrop{from{opacity:0;transform:translateY(-8px)}to{opacity:1;transform:none}}
  .main-nav ul{flex-direction:column;align-items:stretch;gap:.12rem}
  .main-nav a{padding:.95rem .65rem;font-size:1.04rem}
  .main-nav a::after{display:none}
  .main-nav a.is-active{background:var(--brand-amber-soft);border-radius:var(--radius)}

  /* BUG 1 — re-show CTA ONLY inside the open mobile panel (0,2,0 = .btn-block-proof) */
  .site-header .nav-cta-mobile{display:flex;margin-top:1rem}

  .card-grid,.card-grid--4{grid-template-columns:repeat(2,1fr)}
  .stats--4{grid-template-columns:repeat(2,1fr)}
  .stats--4 .stat:nth-child(2)::before{display:block}
  .steps--row{grid-auto-flow:row;grid-auto-columns:auto;gap:1rem}

  .content-split{grid-template-columns:1fr;gap:2.6rem}
  .content-split--lean{grid-template-columns:1fr}
  .content-split--reverse .content-media{order:0}
  /* stacked: gentler ratio, NO min-height (width-driven, no overflow) */
  .media-figure--tall,.media-figure--wide{aspect-ratio:16/10}
  .media-badge{right:16px}

  .cta-inner{flex-direction:column;align-items:flex-start;gap:1.9rem}
  .footer-grid{grid-template-columns:1fr 1fr;gap:2.25rem}
  .footer-brand{grid-column:1 / -1}
  .footer-disclaimer{grid-column:1 / -1}
}

/* ---- <= 680px : phone ---- */
@media (max-width:680px){
  :root{--gutter:1.15rem}

  .site-topbar{font-size:.78rem}
  .topbar-inner{justify-content:center;text-align:center;gap:.35rem .9rem;padding-block:.55rem}
  .topbar-contact{gap:.35rem .9rem;justify-content:center}

  .nav-inner{min-height:72px}
  .brand img{height:40px}

  h1{font-size:clamp(2.1rem,1.5rem + 5vw,2.8rem)}
  .hero--photo{min-height:auto}
  .hero--photo .hero-inner{padding-block:clamp(80px,18vw,110px)}
  .hero-cue{display:none}                 /* decorative only — no content lost */

  .card-grid,.card-grid--2,.card-grid--4,
  .stats,.stats--4{grid-template-columns:1fr}
  .stat{padding:1.4rem .5rem;border-bottom:1px solid var(--line)}
  .stat + .stat::before{display:none}
  .stat:last-child{border-bottom:0}
  .trust-band .stat{border-bottom:1px solid var(--line-dark)}
  .trust-band .stat:last-child{border-bottom:0}

  .form-grid{grid-template-columns:1fr;gap:1.1rem}
  .checkbox-group{grid-template-columns:1fr}
  .field--full{grid-column:auto}

  .def-row{grid-template-columns:1fr;gap:.35rem;padding:1rem 0}
  .step{grid-template-columns:auto 1fr;gap:1.2rem;padding:1.6rem 0}
  .step-num{width:46px;height:46px;font-size:1.02rem}

  .btn{width:100%}
  .btn-row{flex-direction:column;align-items:stretch;width:100%}
  .btn-row .btn{width:100%}
  .media-badge{position:static;margin-top:1rem;max-width:none;box-shadow:var(--shadow-sm)}

  .footer-grid{grid-template-columns:1fr;gap:2rem}
  .footer-bottom-inner{flex-direction:column;text-align:center;gap:.9rem}
  .footer-bottom-links{justify-content:center}
}

/* ---- <= 380px : small-phone safety ---- */
@media (max-width:380px){
  body{font-size:15px}
  .hero--photo .lead,.hero--photo p.hero-sub{font-size:1.02rem}
  .btn{padding:.95rem 1.4rem}
  .form{padding:1.35rem 1.15rem}
}
