/* ============================================================
   Crown Sign — Design System
   "A lit sign at night": near-black canvas · signage red · illuminated amber
   Display: Anton (fabricated letters)  ·  Body: Inter
   ============================================================ */

:root{
  --bg:        #0E0E10;
  --bg-2:      #161619;
  --surface:   #FFFFFF;
  --surface-2: #F4F4F6;
  --text:      #14151A;
  --muted:     #5B5E68;
  --muted-2:   #8A8D97;
  --primary:   #E2191F;   /* signage red */
  --primary-d: #B8121A;
  --secondary: #1C1D22;   /* charcoal */
  --accent:    #FBB417;   /* illuminated amber */
  --accent-d:  #E29A00;
  --border:    #E4E5EA;
  --border-dk: rgba(255,255,255,.12);
  --focus:     #FBB417;

  --font-display: 'Anton', 'Arial Narrow', sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;

  --section: clamp(64px, 9vw, 128px);
  --gutter: clamp(20px, 5vw, 64px);
  --maxw: 1280px;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow-1: 0 1px 2px rgba(15,16,20,.06), 0 4px 16px rgba(15,16,20,.06);
  --shadow-2: 0 12px 40px rgba(15,16,20,.14);
  --shadow-red: 0 14px 34px rgba(226,25,31,.30);
  --ease: cubic-bezier(.2,.7,.2,1);
}

*{ box-sizing:border-box; margin:0; padding:0; }
html{ scroll-behavior:smooth; -webkit-text-size-adjust:100%; }
body{
  font-family:var(--font-body);
  color:var(--text);
  background:var(--surface);
  line-height:1.6;
  font-size:17px;
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
  overflow-x:hidden;
}
img{ display:block; max-width:100%; }
a{ color:inherit; text-decoration:none; }
button{ font-family:inherit; cursor:pointer; }
::selection{ background:var(--accent); color:#1a1300; }

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

/* ---------- Typography ---------- */
.display{
  font-family:var(--font-display);
  font-weight:400;
  text-transform:uppercase;
  line-height:.92;
  letter-spacing:.01em;
}
h1,h2,h3{ text-wrap:balance; }
.kicker{
  font-family:var(--font-body);
  font-weight:700;
  font-size:13px;
  letter-spacing:.22em;
  text-transform:uppercase;
  color:var(--primary);
  display:inline-flex;
  align-items:center;
  gap:10px;
}
.kicker::before{
  content:"";
  width:26px; height:2px;
  background:var(--accent);
  display:inline-block;
}
.kicker.on-dark{ color:var(--accent); }
.lead{ font-size:clamp(18px,2.1vw,21px); color:var(--muted); line-height:1.55; }
.eyebrow{ font-weight:700; letter-spacing:.16em; text-transform:uppercase; font-size:12px; color:var(--muted-2); }

/* lit amber on a word */
.lit{ color:var(--accent); }
.lit-glow{ color:#fff; text-shadow:0 0 18px rgba(251,180,23,.55), 0 0 42px rgba(251,180,23,.25); }

/* ---------- Layout ---------- */
.container{ width:100%; max-width:var(--maxw); margin-inline:auto; padding-inline:var(--gutter); }
.container-wide{ max-width:1480px; }
.section{ padding-block:var(--section); }
.section.tight{ padding-block:clamp(44px,6vw,80px); }
.bg-dark{ background:var(--bg); color:#fff; }
.bg-soft{ background:var(--surface-2); }
.bg-charcoal{ background:var(--secondary); color:#fff; }
.center{ text-align:center; }
.stack > * + *{ margin-top:1.1rem; }
.grid{ display:grid; gap:clamp(16px,2vw,28px); }
@media(min-width:640px){ .g-2{ grid-template-columns:repeat(2,1fr); } }
@media(min-width:880px){ .g-3{ grid-template-columns:repeat(3,1fr); } .g-2{ grid-template-columns:repeat(2,1fr); } }
@media(min-width:880px){ .g-4{ grid-template-columns:repeat(2,1fr); } }
@media(min-width:1080px){ .g-4{ grid-template-columns:repeat(4,1fr); } }

.section-head{ max-width:760px; margin-bottom:clamp(32px,4vw,56px); }
.section-head .display{ font-size:clamp(34px,5vw,62px); margin-top:18px; }
.section-head.center{ margin-inline:auto; }

/* ---------- Buttons ---------- */
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:10px;
  font-weight:600; font-size:16px;
  padding:15px 26px; border-radius:999px;
  border:1.5px solid transparent;
  transition:transform .25s var(--ease), background .2s, box-shadow .25s var(--ease), color .2s, border-color .2s;
  min-height:52px; white-space:nowrap;
}
.btn svg{ width:19px; height:19px; }
.btn:hover{ transform:translateY(-2px); }
.btn:active{ transform:translateY(0); }
.btn-primary{ background:var(--primary); color:#fff; box-shadow:var(--shadow-red); }
.btn-primary:hover{ background:var(--primary-d); }
.btn-amber{ background:var(--accent); color:#1a1300; box-shadow:0 12px 30px rgba(251,180,23,.32); }
.btn-amber:hover{ background:var(--accent-d); }
.btn-dark{ background:var(--secondary); color:#fff; }
.btn-dark:hover{ background:#000; }
.btn-ghost{ background:transparent; border-color:var(--border); color:var(--text); }
.btn-ghost:hover{ border-color:var(--text); background:var(--text); color:#fff; }
.btn-ghost.on-dark{ border-color:rgba(255,255,255,.28); color:#fff; }
.btn-ghost.on-dark:hover{ background:#fff; color:var(--text); border-color:#fff; }
.btn-wa{ background:#25D366; color:#0b3d22; }
.btn-wa:hover{ background:#1eb958; }
.btn-lg{ padding:18px 32px; font-size:17px; min-height:58px; }
.btn-block{ width:100%; }

.arrow-link{ display:inline-flex; align-items:center; gap:8px; font-weight:600; color:var(--primary); }
.arrow-link svg{ width:18px; height:18px; transition:transform .25s var(--ease); }
.arrow-link:hover svg{ transform:translateX(4px); }
.arrow-link.on-dark{ color:var(--accent); }

/* ---------- Navbar ---------- */
.nav{
  position:fixed; inset:0 0 auto 0; z-index:120;
  transition:background .3s, box-shadow .3s, border-color .3s;
  border-bottom:1px solid transparent;
}
.nav-inner{ display:flex; align-items:center; gap:28px; height:74px; }
.nav.scrolled{ background:rgba(14,14,16,.86); backdrop-filter:blur(14px); border-bottom-color:var(--border-dk); }
.nav-logo{ display:flex; align-items:center; gap:12px; flex-shrink:0; }
.nav-logo img{ height:54px; width:auto; }
.nav-logo .lockup{ display:flex; flex-direction:column; line-height:1; }
.nav-logo .lockup b{ font-family:var(--font-body); font-weight:500; font-size:19px; letter-spacing:.18em; color:#fff; text-transform:uppercase; }
.nav-logo .lockup span{ font-size:9.5px; letter-spacing:.28em; color:var(--accent); text-transform:uppercase; margin-top:3px; }
.nav-links{ display:none; align-items:center; gap:4px; margin-left:auto; }
.nav-links a{ color:rgba(255,255,255,.82); font-weight:500; font-size:15px; padding:10px 14px; border-radius:8px; position:relative; transition:color .2s; }
.nav-links a:hover{ color:#fff; }
.nav-links a.active{ color:#fff; }
.nav-links a.active::after{ content:""; position:absolute; left:14px; right:14px; bottom:4px; height:2px; background:var(--accent); border-radius:2px; box-shadow:0 0 10px var(--accent); }
.nav-cta{ display:none; }
.nav-burger{
  margin-left:auto; width:46px; height:46px; border-radius:10px;
  background:rgba(255,255,255,.08); border:1px solid var(--border-dk);
  display:flex; align-items:center; justify-content:center; color:#fff;
}
.nav-burger svg{ width:24px; height:24px; }
@media(min-width:1040px){
  .nav-links{ display:flex; }
  .nav-cta{ display:inline-flex; }
  .nav-burger{ display:none; }
  .nav-links{ margin-left:auto; }
  .nav-cta{ margin-left:8px; }
}

/* mobile drawer */
.drawer{ position:fixed; inset:0; z-index:200; visibility:hidden; }
.drawer.open{ visibility:visible; }
.drawer-scrim{ position:absolute; inset:0; background:rgba(0,0,0,.6); opacity:0; transition:opacity .3s; }
.drawer.open .drawer-scrim{ opacity:1; }
.drawer-panel{
  position:absolute; top:0; right:0; bottom:0; width:min(86vw,380px);
  background:var(--bg); color:#fff; padding:24px;
  transform:translateX(100%); transition:transform .35s var(--ease);
  display:flex; flex-direction:column; overflow-y:auto;
}
.drawer.open .drawer-panel{ transform:translateX(0); }
.drawer-head{ display:flex; align-items:center; justify-content:space-between; margin-bottom:14px; }
.drawer-close{ width:44px; height:44px; border-radius:10px; background:rgba(255,255,255,.08); border:1px solid var(--border-dk); color:#fff; display:flex; align-items:center; justify-content:center; }
.drawer-close svg{ width:22px; height:22px; }
.drawer a.dlink{ display:flex; align-items:center; justify-content:space-between; padding:16px 4px; border-bottom:1px solid var(--border-dk); font-size:18px; font-weight:500; color:#fff; }
.drawer a.dlink .chev{ color:var(--muted-2); }
.drawer-cta{ margin-top:auto; padding-top:22px; display:grid; gap:10px; }

/* ---------- Hero ---------- */
.hero{ position:relative; min-height:min(92vh,860px); display:flex; align-items:flex-end; color:#fff; background:var(--bg); overflow:hidden; }
.hero-media{ position:absolute; inset:0; }
.hero-media img{ width:100%; height:100%; object-fit:cover; }
.hero-scrim{ position:absolute; inset:0; background:
  linear-gradient(180deg, rgba(14,14,16,.78) 0%, rgba(14,14,16,.35) 30%, rgba(14,14,16,.55) 64%, rgba(14,14,16,.96) 100%);
}
.hero-glow{ position:absolute; width:60vw; height:60vw; max-width:720px; max-height:720px; right:-10%; top:6%; background:radial-gradient(circle, rgba(251,180,23,.22), transparent 62%); pointer-events:none; }
.hero-inner{ position:relative; z-index:2; padding-block:clamp(120px,16vh,180px) clamp(48px,7vw,84px); width:100%; }
.hero h1{ font-size:clamp(44px,8.5vw,108px); max-width:15ch; }
.hero .lead{ color:rgba(255,255,255,.82); max-width:54ch; margin-top:22px; }
.hero-cta{ display:flex; flex-wrap:wrap; gap:14px; margin-top:34px; }

/* ---------- Trust strip ---------- */
.trust{ display:grid; gap:1px; background:var(--border-dk); border-radius:var(--radius); overflow:hidden; border:1px solid var(--border-dk); }
@media(min-width:760px){ .trust{ grid-template-columns:repeat(3,1fr); } }
.trust-item{ background:var(--bg-2); padding:26px 28px; display:flex; gap:16px; align-items:flex-start; }
.trust-item .ic{ color:var(--accent); flex-shrink:0; margin-top:2px; }
.trust-item .ic svg{ width:26px; height:26px; }
.trust-item b{ display:block; font-size:17px; color:#fff; font-weight:700; }
.trust-item span{ color:rgba(255,255,255,.6); font-size:14.5px; }

/* ---------- Cards ---------- */
.card{ background:var(--surface); border:1px solid var(--border); border-radius:var(--radius); overflow:hidden; transition:transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s; }
.card:hover{ transform:translateY(-4px); box-shadow:var(--shadow-2); border-color:transparent; }

/* service card */
.svc{ display:flex; flex-direction:column; padding:28px; gap:14px; position:relative; }
.svc .num{ font-family:var(--font-display); font-size:15px; color:var(--muted-2); letter-spacing:.05em; }
.svc .ic{ width:54px; height:54px; border-radius:13px; background:var(--surface-2); display:flex; align-items:center; justify-content:center; color:var(--primary); transition:background .3s, color .3s; }
.svc .ic svg{ width:27px; height:27px; }
.svc:hover .ic{ background:var(--primary); color:#fff; }
.svc h3{ font-size:21px; font-weight:700; letter-spacing:-.01em; }
.svc p{ color:var(--muted); font-size:15.5px; }
.svc .arrow-link{ margin-top:auto; padding-top:6px; }

/* image card (industry / work) */
.imgcard{ position:relative; display:block; border-radius:var(--radius); overflow:hidden; background:var(--bg-2); }
.imgcard img{ width:100%; height:100%; object-fit:cover; transition:transform .6s var(--ease); }
.imgcard:hover img{ transform:scale(1.06); }
.imgcard .ov{ position:absolute; inset:0; background:linear-gradient(180deg,rgba(14,14,16,0) 32%, rgba(14,14,16,.86) 100%); }
.imgcard .cap{ position:absolute; left:0; right:0; bottom:0; padding:24px; color:#fff; z-index:2; }
.imgcard .cap h3{ font-size:22px; font-weight:700; }
.imgcard .cap p{ color:rgba(255,255,255,.75); font-size:14.5px; margin-top:4px; }
.imgcard .cap .arrow-link{ margin-top:12px; color:var(--accent); }

/* ---------- Capability / materials strip ---------- */
.chips{ display:flex; flex-wrap:wrap; gap:12px; }
.chip{ display:inline-flex; align-items:center; gap:9px; padding:11px 18px; border-radius:999px; border:1px solid var(--border); font-weight:600; font-size:14.5px; background:var(--surface); }
.chip .dot{ width:8px; height:8px; border-radius:50%; background:var(--primary); }
.chips.on-dark .chip{ background:rgba(255,255,255,.04); border-color:var(--border-dk); color:#fff; }

/* ---------- Process steps ---------- */
.steps{ display:grid; gap:1px; background:var(--border); border:1px solid var(--border); border-radius:var(--radius); overflow:hidden; }
@media(min-width:880px){ .steps{ grid-template-columns:repeat(4,1fr); } }
.step{ background:var(--surface); padding:30px 26px; }
.step .n{ font-family:var(--font-display); font-size:42px; color:var(--primary); line-height:1; }
.step h4{ font-size:18px; font-weight:700; margin:14px 0 8px; }
.step p{ color:var(--muted); font-size:14.5px; }

/* ---------- Split feature ---------- */
.split{ display:grid; gap:clamp(28px,5vw,72px); align-items:center; }
@media(min-width:920px){ .split{ grid-template-columns:1fr 1fr; } .split.media-first{ direction:rtl; } .split.media-first > *{ direction:ltr; } }
.split-media{ border-radius:var(--radius); overflow:hidden; box-shadow:var(--shadow-2); position:relative; }
.split-media img{ width:100%; height:100%; object-fit:cover; aspect-ratio:4/3.2; }

/* ---------- CTA band ---------- */
.ctaband{ position:relative; background:var(--bg); color:#fff; border-radius:clamp(18px,3vw,28px); padding:clamp(40px,6vw,72px); overflow:hidden; }
.ctaband .glow{ position:absolute; width:520px; height:520px; right:-120px; top:-160px; background:radial-gradient(circle, rgba(226,25,31,.34), transparent 62%); }
.ctaband .glow2{ position:absolute; width:420px; height:420px; left:-120px; bottom:-180px; background:radial-gradient(circle, rgba(251,180,23,.22), transparent 62%); }
.ctaband-inner{ position:relative; z-index:2; }
.ctaband .display{ font-size:clamp(32px,5vw,58px); }

/* ---------- Page hero (interior) ---------- */
.phero{ position:relative; background:var(--bg); color:#fff; padding-top:120px; overflow:hidden; }
.phero-glow{ position:absolute; width:600px; height:600px; right:-120px; top:-100px; background:radial-gradient(circle, rgba(251,180,23,.15), transparent 60%); }
.phero-inner{ position:relative; z-index:2; padding-block:clamp(36px,6vw,72px); }
.phero h1{ font-size:clamp(40px,6.5vw,86px); max-width:18ch; }
.phero .lead{ color:rgba(255,255,255,.78); max-width:60ch; margin-top:20px; }
.crumbs{ display:flex; gap:8px; align-items:center; font-size:13.5px; color:rgba(255,255,255,.55); margin-bottom:22px; flex-wrap:wrap; }
.crumbs a:hover{ color:#fff; }
.crumbs .sep{ color:rgba(255,255,255,.3); }
.crumbs .cur{ color:var(--accent); }

/* ---------- Lists ---------- */
.ticklist{ display:grid; gap:14px; }
.ticklist li{ list-style:none; display:flex; gap:14px; align-items:flex-start; }
.ticklist .tk{ flex-shrink:0; width:26px; height:26px; border-radius:7px; background:rgba(226,25,31,.1); color:var(--primary); display:flex; align-items:center; justify-content:center; margin-top:2px; }
.ticklist .tk svg{ width:16px; height:16px; }
.ticklist.on-dark .tk{ background:rgba(251,180,23,.14); color:var(--accent); }
.ticklist b{ font-weight:600; }
.ticklist p{ color:var(--muted); font-size:15px; margin-top:2px; }
.on-dark .ticklist p, .ticklist.on-dark p{ color:rgba(255,255,255,.66); }

/* ---------- Gallery / lightbox ---------- */
.masonry{ columns:1; column-gap:clamp(14px,2vw,22px); }
@media(min-width:640px){ .masonry{ columns:2; } }
@media(min-width:1024px){ .masonry{ columns:3; } }
.masonry .tile{ break-inside:avoid; margin-bottom:clamp(14px,2vw,22px); border-radius:var(--radius); overflow:hidden; background:var(--bg-2); cursor:zoom-in; position:relative; }
.masonry .tile img{ width:100%; transition:transform .6s var(--ease), filter .3s; }
.masonry .tile:hover img{ transform:scale(1.04); }
.masonry .tile::after{ content:""; position:absolute; inset:0; background:linear-gradient(180deg,transparent 60%,rgba(14,14,16,.5)); opacity:0; transition:opacity .3s; }
.masonry .tile:hover::after{ opacity:1; }
.tile .zoom{ position:absolute; right:14px; bottom:14px; width:40px; height:40px; border-radius:50%; background:rgba(255,255,255,.92); color:var(--text); display:flex; align-items:center; justify-content:center; opacity:0; transform:translateY(8px); transition:.3s; z-index:2; }
.tile .zoom svg{ width:18px; height:18px; }
.masonry .tile:hover .zoom{ opacity:1; transform:none; }

.lightbox{ position:fixed; inset:0; z-index:300; background:rgba(8,8,10,.94); display:none; align-items:center; justify-content:center; padding:24px; }
.lightbox.open{ display:flex; }
.lightbox img{ max-width:92vw; max-height:84vh; border-radius:10px; box-shadow:0 30px 80px rgba(0,0,0,.6); }
.lb-btn{ position:absolute; top:20px; right:20px; width:50px; height:50px; border-radius:50%; background:rgba(255,255,255,.12); border:1px solid rgba(255,255,255,.2); color:#fff; display:flex; align-items:center; justify-content:center; }
.lb-nav{ position:absolute; top:50%; transform:translateY(-50%); width:54px; height:54px; border-radius:50%; background:rgba(255,255,255,.1); border:1px solid rgba(255,255,255,.18); color:#fff; display:flex; align-items:center; justify-content:center; }
.lb-prev{ left:18px; } .lb-next{ right:18px; }
.lb-btn svg,.lb-nav svg{ width:24px; height:24px; }

/* ---------- Forms ---------- */
.field{ display:flex; flex-direction:column; gap:7px; margin-bottom:16px; }
.field label{ font-size:13.5px; font-weight:600; color:var(--text); }
.field label .req{ color:var(--primary); }
.field input,.field select,.field textarea{
  font-family:inherit; font-size:16px; color:var(--text);
  background:var(--surface-2); border:1.5px solid var(--border); border-radius:11px;
  padding:14px 15px; transition:border-color .2s, background .2s, box-shadow .2s; width:100%;
}
.field textarea{ resize:vertical; min-height:120px; }
.field input:focus,.field select:focus,.field textarea:focus{ outline:none; border-color:var(--primary); background:#fff; box-shadow:0 0 0 4px rgba(226,25,31,.1); }
.field .hint{ font-size:12.5px; color:var(--muted-2); }
.form-row{ display:grid; gap:16px; }
@media(min-width:600px){ .form-row.two{ grid-template-columns:1fr 1fr; } }
.form-note{ font-size:13px; color:var(--muted); margin-top:8px; }
.form-ok{ background:rgba(37,211,102,.1); border:1px solid rgba(37,211,102,.4); color:#0b6b35; padding:16px 18px; border-radius:12px; font-weight:600; display:none; }
.form-ok.show{ display:block; }

/* ---------- Map placeholder ---------- */
.mapph{ position:relative; border-radius:var(--radius); overflow:hidden; min-height:300px; background:
  repeating-linear-gradient(45deg, var(--surface-2), var(--surface-2) 14px, #ececef 14px, #ececef 28px);
  border:1px solid var(--border); display:flex; align-items:center; justify-content:center; text-align:center; padding:30px; }
.mapph .badge{ background:var(--secondary); color:#fff; border-radius:12px; padding:18px 22px; max-width:330px; }
.mapph .badge b{ display:block; font-size:16px; margin-bottom:4px; }
.mapph .badge span{ font-size:13.5px; color:rgba(255,255,255,.66); }
.mapph .pin{ color:var(--primary); margin-bottom:10px; }
.mapph .pin svg{ width:34px; height:34px; }

/* ---------- Stat / heritage ---------- */
.bignum{ font-family:var(--font-display); font-size:clamp(56px,9vw,120px); line-height:.86; color:var(--primary); }
.bignum.amber{ color:var(--accent); }

/* ---------- Footer ---------- */
.footer{ background:var(--bg); color:rgba(255,255,255,.66); padding-top:clamp(56px,7vw,88px); }
.footer-grid{ display:grid; gap:40px; padding-bottom:48px; }
@media(min-width:760px){ .footer-grid{ grid-template-columns:1.6fr 1fr 1fr 1.2fr; } }
.footer h5{ color:#fff; font-size:13px; letter-spacing:.18em; text-transform:uppercase; margin-bottom:18px; font-weight:700; }
.footer a{ color:rgba(255,255,255,.62); font-size:15px; display:inline-block; padding:5px 0; transition:color .2s; }
.footer a:hover{ color:var(--accent); }
.footer .flogo{ display:flex; align-items:center; gap:12px; margin-bottom:18px; }
.footer .flogo img{ height:60px; }
.footer .flogo b{ font-family:var(--font-body); font-weight:500; color:#fff; font-size:21px; letter-spacing:.18em; text-transform:uppercase; }
.footer .fdesc{ font-size:14.5px; max-width:36ch; line-height:1.6; }
.footer-social{ display:flex; gap:10px; margin-top:20px; }
.footer-social a{ width:42px; height:42px; border-radius:10px; background:rgba(255,255,255,.06); border:1px solid var(--border-dk); display:flex; align-items:center; justify-content:center; padding:0; }
.footer-social a:hover{ background:var(--primary); border-color:var(--primary); }
.footer-social svg{ width:19px; height:19px; }
.footer-bottom{ border-top:1px solid var(--border-dk); padding:24px 0; display:flex; flex-wrap:wrap; gap:10px 24px; justify-content:space-between; font-size:13px; color:rgba(255,255,255,.4); }
.footer-bottom a{ font-size:13px; padding:0; }

/* ---------- Sticky mobile action bar ---------- */
.actionbar{ position:fixed; left:0; right:0; bottom:0; z-index:130; background:rgba(14,14,16,.96); backdrop-filter:blur(12px); border-top:1px solid var(--border-dk); display:grid; grid-template-columns:1fr 1fr 1fr; padding:8px; gap:8px; padding-bottom:max(8px,env(safe-area-inset-bottom)); }
.actionbar a{ display:flex; flex-direction:column; align-items:center; justify-content:center; gap:3px; padding:9px 4px; border-radius:11px; color:#fff; font-size:12px; font-weight:600; min-height:54px; }
.actionbar a svg{ width:22px; height:22px; }
.actionbar .ab-quote{ background:var(--primary); }
.actionbar .ab-wa{ background:#25D366; color:#06351d; }
.actionbar .ab-call{ background:rgba(255,255,255,.1); border:1px solid var(--border-dk); }
@media(min-width:1040px){ .actionbar{ display:none; } }
body{ padding-bottom:0; }
@media(max-width:1039px){ body.has-bar{ padding-bottom:72px; } }

/* ---------- Quote modal ---------- */
.modal{ position:fixed; inset:0; z-index:250; display:none; align-items:flex-end; justify-content:center; }
@media(min-width:640px){ .modal{ align-items:center; } }
.modal.open{ display:flex; }
.modal-scrim{ position:absolute; inset:0; background:rgba(8,8,10,.6); backdrop-filter:blur(2px); }
.modal-card{ position:relative; z-index:2; background:#fff; width:min(560px,100%); max-height:92vh; overflow-y:auto; border-radius:20px 20px 0 0; padding:clamp(24px,4vw,38px); box-shadow:var(--shadow-2); }
@media(min-width:640px){ .modal-card{ border-radius:20px; } }
.modal-card .display{ font-size:clamp(26px,4vw,34px); }
.modal-close{ position:absolute; top:16px; right:16px; width:42px; height:42px; border-radius:50%; background:var(--surface-2); border:1px solid var(--border); display:flex; align-items:center; justify-content:center; color:var(--text); }
.modal-close svg{ width:20px; height:20px; }

/* ---------- Reveal animation ---------- */
.reveal{ opacity:0; transform:translateY(26px); transition:opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in{ opacity:1; transform:none; }
.reveal.d1{ transition-delay:.08s; } .reveal.d2{ transition-delay:.16s; } .reveal.d3{ transition-delay:.24s; } .reveal.d4{ transition-delay:.32s; }
@media(prefers-reduced-motion:reduce){ .reveal{ opacity:1; transform:none; transition:none; } html{ scroll-behavior:auto; } }

/* utility */
.muted{ color:var(--muted); }
.mt-s{ margin-top:14px; } .mt-m{ margin-top:24px; } .mt-l{ margin-top:40px; }
.maxw-prose{ max-width:62ch; }
.divider{ height:1px; background:var(--border); border:0; margin:0; }
.pill-tag{ display:inline-block; background:rgba(251,180,23,.16); color:var(--accent-d); font-weight:700; font-size:12px; letter-spacing:.08em; text-transform:uppercase; padding:6px 12px; border-radius:999px; }
