/* =========================================================
   324 Jackson Mills Rd — property site
   Design tokens + components
   ========================================================= */

:root {
  /* Color */
  --paper:      #f7f4ee;
  --paper-2:    #efe9df;
  --card:       #ffffff;
  --ink:        #1c1e1b;
  --ink-soft:   #4a4d47;
  --ink-mute:   #7c7f78;
  --line:       #e2ddd2;
  --brand:      #22372c;   /* deep heritage green */
  --brand-2:    #2f4a3b;
  --accent:     #b0894f;   /* brass */
  --accent-d:   #926f3c;
  --accent-t:   #f3ead9;   /* brass tint */
  --white:      #ffffff;
  --shadow-sm:  0 1px 2px rgba(28,30,27,.06), 0 1px 3px rgba(28,30,27,.05);
  --shadow-md:  0 6px 18px rgba(28,30,27,.10), 0 2px 6px rgba(28,30,27,.06);
  --shadow-lg:  0 24px 60px rgba(28,30,27,.22), 0 8px 20px rgba(28,30,27,.14);

  /* Spacing scale (8px base) */
  --s1: 4px;  --s2: 8px;  --s3: 12px; --s4: 16px; --s5: 24px;
  --s6: 32px; --s7: 48px; --s8: 64px; --s9: 96px; --s10: 128px;

  /* Radius */
  --r-sm: 6px; --r-md: 12px; --r-lg: 20px; --r-pill: 999px;

  /* Type */
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans:  "Inter", system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;

  --maxw: 1200px;
  --header-h: 72px;
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 500; line-height: 1.12; margin: 0; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 3px; }
.tnum { font-variant-numeric: tabular-nums; }

/* Layout helpers */
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding-inline: 24px; }
.section { padding-block: var(--s9); }
.eyebrow {
  font-family: var(--sans); font-size: 12.5px; font-weight: 600;
  letter-spacing: .18em; text-transform: uppercase; color: var(--accent-d);
  margin: 0 0 var(--s4);
}
.section-title { font-size: clamp(30px, 4.4vw, 46px); color: var(--ink); }
.lede { font-size: clamp(18px, 2.2vw, 21px); color: var(--ink-soft); max-width: 62ch; }
.hr-mark { width: 54px; height: 2px; background: var(--accent); border: 0; margin: 0 0 var(--s5); }
.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;
}

/* Buttons */
.btn {
  --bg: var(--accent); --fg: #fff; --bd: var(--accent);
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  font-family: var(--sans); font-weight: 600; font-size: 15px; letter-spacing: .01em;
  padding: 14px 26px; min-height: 48px; border-radius: var(--r-pill);
  background: var(--bg); color: var(--fg); border: 1.5px solid var(--bd);
  text-decoration: none; cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
  box-shadow: var(--shadow-sm);
}
.btn:hover { background: var(--accent-d); border-color: var(--accent-d); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn--ghost { --bg: transparent; --fg: var(--ink); --bd: rgba(28,30,27,.28); box-shadow: none; }
.btn--ghost:hover { --bg: var(--ink); --fg: #fff; border-color: var(--ink); }
.btn--on-dark { --bg: transparent; --fg:#fff; --bd: rgba(255,255,255,.65); box-shadow:none; }
.btn--on-dark:hover { --bg:#fff; --fg: var(--brand); border-color:#fff; }
.btn--lg { padding: 16px 32px; font-size: 16px; min-height: 54px; }
@media (prefers-reduced-motion: reduce) { .btn { transition: none; } .btn:hover { transform: none; } }

/* =========================================================
   Header
   ========================================================= */
.site-header {
  position: sticky; top: 0; z-index: 60;
  height: var(--header-h);
  display: flex; align-items: center;
  background: rgba(247,244,238,.86);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s ease, background .25s ease, box-shadow .25s ease;
}
.site-header.is-stuck { border-color: var(--line); box-shadow: var(--shadow-sm); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: var(--s5); }
.brand { display: flex; flex-direction: column; text-decoration: none; line-height: 1.05; }
.brand__name { font-family: var(--serif); font-size: 20px; font-weight: 600; color: var(--ink); letter-spacing: -.01em; }
.brand__meta { font-size: 11.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-mute); margin-top: 2px; }
.nav { display: flex; align-items: center; gap: var(--s6); }
.nav__links { display: flex; gap: var(--s6); list-style: none; margin: 0; padding: 0; }
.nav__links a { text-decoration: none; font-size: 14.5px; font-weight: 500; color: var(--ink-soft); padding: 6px 0; position: relative; }
.nav__links a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 1.5px;
  background: var(--accent); transition: right .25s ease;
}
.nav__links a:hover { color: var(--ink); }
.nav__links a:hover::after { right: 0; }
.nav__cta { white-space: nowrap; }
.nav-toggle { display: none; }

@media (max-width: 900px) {
  .nav__links, .nav .btn { display: none; }
  .nav-toggle {
    display: inline-flex; align-items: center; justify-content: center;
    width: 46px; height: 46px; border: 1px solid var(--line); border-radius: var(--r-sm);
    background: var(--card); cursor: pointer;
  }
  .nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
    content: ""; display: block; width: 20px; height: 2px; background: var(--ink); position: relative;
  }
  .nav-toggle span::before { position: absolute; top: -6px; }
  .nav-toggle span::after  { position: absolute; top: 6px; }
  /* mobile drawer */
  .mobile-menu {
    position: fixed; inset: var(--header-h) 0 0 0; z-index: 80;
    background: var(--paper); padding: var(--s6) 24px;
    transform: translateY(-8px); opacity: 0; pointer-events: none;
    transition: opacity .2s ease, transform .2s ease; overflow-y: auto;
  }
  .mobile-menu.open { opacity: 1; transform: none; pointer-events: auto; }
  .mobile-menu a { display: block; font-family: var(--serif); font-size: 26px; color: var(--ink); text-decoration: none; padding: 14px 0; border-bottom: 1px solid var(--line); }
  .mobile-menu a.btn { margin-top: var(--s6); width: 100%; color: #fff; border-bottom: 1.5px solid var(--accent); font-family: var(--sans); font-size: 16px; padding: 16px; }
  .mobile-menu a.btn:hover { color:#fff; }
}
@media (min-width: 901px) { .mobile-menu { display: none; } }

/* =========================================================
   Hero
   ========================================================= */
.hero { position: relative; min-height: min(92vh, 860px); display: flex; align-items: flex-end; overflow: hidden; }
.hero__media { position: absolute; inset: 0; z-index: 0; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero__lqip {
  position: absolute; inset: 0; background-size: cover; background-position: center;
  filter: blur(18px); transform: scale(1.08); transition: opacity .6s ease; z-index: 1;
}
.hero__media.loaded .hero__lqip { opacity: 0; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: 2;
  background:
    linear-gradient(to top, rgba(12,16,13,.78) 0%, rgba(12,16,13,.30) 38%, rgba(12,16,13,.12) 62%, rgba(12,16,13,.34) 100%);
}
.hero__inner { position: relative; z-index: 3; width: 100%; padding-bottom: clamp(40px, 7vw, 84px); padding-top: 120px; }
.hero__eyebrow { color: #f0e5d0; letter-spacing: .2em; }
.hero__title { color: #fff; font-size: clamp(38px, 7vw, 78px); font-weight: 500; text-shadow: 0 2px 24px rgba(0,0,0,.35); }
.hero__title span { display: block; }
.hero__sub { color: rgba(255,255,255,.92); font-size: clamp(15px, 2.2vw, 19px); margin-top: var(--s4); font-weight: 400; letter-spacing: .02em; }
.hero__sub b { font-weight: 600; }
.hero__dot { color: var(--accent); padding: 0 .5em; }
.hero__actions { display: flex; flex-wrap: wrap; gap: var(--s3); margin-top: var(--s6); }
.hero__scroll {
  position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%); z-index: 3;
  color: rgba(255,255,255,.8); font-size: 11px; letter-spacing: .2em; text-transform: uppercase;
  display: flex; flex-direction: column; align-items: center; gap: 6px; text-decoration: none;
}
.hero__scroll .chev { width: 16px; height: 16px; border-right: 2px solid; border-bottom: 2px solid; transform: rotate(45deg); animation: bob 1.8s ease-in-out infinite; }
@keyframes bob { 0%,100%{ transform: rotate(45deg) translate(0,0);} 50%{ transform: rotate(45deg) translate(3px,3px);} }
@media (prefers-reduced-motion: reduce) { .hero__scroll .chev { animation: none; } }

/* =========================================================
   Stat bar
   ========================================================= */
.stats { background: var(--brand); color: #fff; }
.stats__grid {
  display: grid; grid-template-columns: repeat(6, 1fr);
  border-top: 1px solid rgba(255,255,255,.12);
}
.stat { padding: var(--s6) var(--s4); text-align: center; border-right: 1px solid rgba(255,255,255,.12); }
.stat:last-child { border-right: 0; }
.stat__num { font-family: var(--serif); font-size: clamp(26px, 3vw, 34px); line-height: 1; color: #fff; }
.stat__num small { font-size: .55em; color: var(--accent); font-family: var(--sans); font-weight: 600; }
.stat__label { font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.7); margin-top: 8px; }
@media (max-width: 760px) {
  .stats__grid { grid-template-columns: repeat(3, 1fr); }
  .stat { border-bottom: 1px solid rgba(255,255,255,.12); }
  .stat:nth-child(3n) { border-right: 0; }
  .stat:nth-child(n+4) { border-bottom: 0; }
}
@media (max-width: 380px){ .stats__grid { grid-template-columns: repeat(2,1fr);} }

/* =========================================================
   Overview
   ========================================================= */
.overview__grid { display: grid; grid-template-columns: 1.35fr .9fr; gap: var(--s9); align-items: start; }
.prose p { color: var(--ink-soft); }
.prose p.first::first-letter {
  font-family: var(--serif); font-size: 3.2em; line-height: .8; float: left;
  padding: 6px 10px 0 0; color: var(--brand);
}
.facts-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: var(--s7) var(--s6); box-shadow: var(--shadow-md); position: sticky; top: calc(var(--header-h) + 20px);
}
.facts-card h3 { font-size: 22px; margin-bottom: var(--s5); }
.facts-list { list-style: none; margin: 0 0 var(--s6); padding: 0; }
.facts-list li { display: flex; justify-content: space-between; gap: var(--s4); padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.facts-list li:last-child { border-bottom: 0; }
.facts-list .k { color: var(--ink-mute); }
.facts-list .v { font-weight: 600; color: var(--ink); text-align: right; }
.facts-card .btn { width: 100%; }
.price-line { font-family: var(--serif); font-size: 26px; color: var(--brand); margin-bottom: 4px; }
.price-note { font-size: 13px; color: var(--ink-mute); margin-bottom: var(--s5); }
@media (max-width: 920px) {
  .overview__grid { grid-template-columns: 1fr; gap: var(--s7); }
  .facts-card { position: static; }
}

/* =========================================================
   Gallery
   ========================================================= */
.gallery { background: var(--paper-2); }
.gallery__head { display: flex; align-items: flex-end; justify-content: space-between; gap: var(--s5); flex-wrap: wrap; margin-bottom: var(--s6); }
.filters { display: flex; flex-wrap: wrap; gap: var(--s2); margin-bottom: var(--s6); }
.chip {
  font-family: var(--sans); font-size: 13.5px; font-weight: 600; letter-spacing: .02em;
  padding: 9px 16px; border-radius: var(--r-pill); border: 1.5px solid var(--line);
  background: var(--card); color: var(--ink-soft); cursor: pointer;
  transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.chip:hover { border-color: var(--accent); color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--brand); border-color: var(--brand); color: #fff; }
.chip .cnt { opacity: .6; font-weight: 500; margin-left: 4px; }

.grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s4);
}
.tile {
  position: relative; margin: 0; border: 0; padding: 0; cursor: pointer; overflow: hidden;
  border-radius: var(--r-md); background: var(--paper); box-shadow: var(--shadow-sm);
  aspect-ratio: 3 / 2;
}
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.tile:hover img { transform: scale(1.05); }
.tile__cap {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 14px 12px;
  color: #fff; font-size: 13px; text-align: left; line-height: 1.35;
  background: linear-gradient(to top, rgba(12,16,13,.72), rgba(12,16,13,0));
  opacity: 0; transform: translateY(6px); transition: opacity .25s ease, transform .25s ease;
}
.tile:hover .tile__cap, .tile:focus-visible .tile__cap { opacity: 1; transform: none; }
.tile.tile--wide { grid-column: span 2; aspect-ratio: 3 / 1.35; }
@media (max-width: 820px) { .grid { grid-template-columns: repeat(2, 1fr); } .tile.tile--wide { grid-column: span 2; } }
@media (max-width: 520px) { .grid { grid-template-columns: 1fr; } .tile.tile--wide { grid-column: span 1; aspect-ratio: 3/2; } }
.gallery__more { text-align: center; margin-top: var(--s7); }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 100; display: none; }
.lightbox.open { display: block; }
.lightbox__scrim { position: absolute; inset: 0; background: rgba(10,12,10,.92); }
.lightbox__stage { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; padding: 4vw; }
.lightbox__img { max-width: 100%; max-height: 82vh; border-radius: 8px; box-shadow: var(--shadow-lg); background:#111; }
.lightbox__cap {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 18px 20px calc(18px + env(safe-area-inset-bottom));
  color: #fff; text-align: center; font-size: 14.5px; background: linear-gradient(to top, rgba(0,0,0,.6), transparent);
}
.lightbox__cap .idx { color: var(--accent); font-weight: 600; margin-right: 10px; font-variant-numeric: tabular-nums; }
.lb-btn {
  position: absolute; z-index: 2; background: rgba(255,255,255,.1); color: #fff; border: 1px solid rgba(255,255,255,.25);
  width: 52px; height: 52px; border-radius: 50%; cursor: pointer; display: flex; align-items: center; justify-content: center;
  backdrop-filter: blur(4px); transition: background .15s ease;
}
.lb-btn:hover { background: rgba(255,255,255,.22); }
.lb-btn svg { width: 22px; height: 22px; }
.lb-close { top: 18px; right: 18px; }
.lb-prev { left: 18px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 18px; top: 50%; transform: translateY(-50%); }
@media (max-width: 600px) { .lb-prev { left: 8px; } .lb-next { right: 8px; } .lb-btn { width: 46px; height: 46px; } }

/* =========================================================
   Features
   ========================================================= */
.features__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s5); margin-top: var(--s7); }
.feature {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: var(--s6); box-shadow: var(--shadow-sm); transition: transform .2s ease, box-shadow .2s ease;
}
.feature:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.feature__icon { width: 44px; height: 44px; border-radius: 12px; background: var(--accent-t); color: var(--accent-d); display: flex; align-items: center; justify-content: center; margin-bottom: var(--s4); }
.feature__icon svg { width: 24px; height: 24px; }
.feature h3 { font-size: 20px; margin-bottom: var(--s3); }
.feature ul { list-style: none; margin: 0; padding: 0; }
.feature li { position: relative; padding-left: 20px; color: var(--ink-soft); font-size: 15px; margin-bottom: 8px; }
.feature li::before { content: ""; position: absolute; left: 0; top: 9px; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
@media (max-width: 900px) { .features__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .features__grid { grid-template-columns: 1fr; } }

/* =========================================================
   Grounds band
   ========================================================= */
.band { position: relative; color: #fff; overflow: hidden; }
.band__media { position: absolute; inset: 0; z-index: 0; }
.band__media img { width: 100%; height: 100%; object-fit: cover; }
.band::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(14,20,15,.86) 0%, rgba(14,20,15,.55) 55%, rgba(14,20,15,.25) 100%); }
.band__inner { position: relative; z-index: 2; padding-block: var(--s10); max-width: 560px; }
.band .eyebrow { color: #e9dcc2; }
.band h2 { color: #fff; font-size: clamp(28px, 4vw, 42px); }
.band p { color: rgba(255,255,255,.9); }
@media (max-width: 700px) { .band::after { background: linear-gradient(180deg, rgba(14,20,15,.5), rgba(14,20,15,.82)); } .band__inner { padding-block: var(--s9); } }

/* =========================================================
   Location
   ========================================================= */
.location__grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s8); align-items: center; }
.map-frame { border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-md); border: 1px solid var(--line); aspect-ratio: 4/3; background: var(--paper-2); }
.map-frame iframe { width: 100%; height: 100%; border: 0; display: block; }
.loc-points { list-style: none; margin: var(--s5) 0 0; padding: 0; }
.loc-points li { display: flex; gap: var(--s3); padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 15px; color: var(--ink-soft); }
.loc-points li:last-child { border-bottom: 0; }
.loc-points svg { flex: none; width: 20px; height: 20px; color: var(--accent-d); margin-top: 2px; }
@media (max-width: 860px) { .location__grid { grid-template-columns: 1fr; gap: var(--s6); } }

/* =========================================================
   Contact
   ========================================================= */
.contact { background: var(--brand); color: #fff; }
.contact__grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: var(--s8); align-items: start; }
.contact .eyebrow { color: #e9dcc2; }
.contact h2 { color: #fff; font-size: clamp(28px, 4vw, 42px); }
.contact p { color: rgba(255,255,255,.82); }
.contact__methods { margin-top: var(--s6); display: flex; flex-direction: column; gap: var(--s3); }
.method { display: flex; align-items: center; gap: var(--s4); padding: 16px 18px; border: 1px solid rgba(255,255,255,.16); border-radius: var(--r-md); text-decoration: none; color: #fff; transition: background .15s ease, border-color .15s ease; }
.method:hover { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.4); }
.method svg { width: 22px; height: 22px; color: var(--accent); flex: none; }
.method b { display: block; font-size: 15px; }
.method span { font-size: 13px; color: rgba(255,255,255,.7); }

.form-card { background: var(--card); color: var(--ink); border-radius: var(--r-lg); padding: var(--s7); box-shadow: var(--shadow-lg); }
.form-card h3 { font-size: 22px; margin-bottom: var(--s2); }
.form-card .sub { font-size: 14px; color: var(--ink-mute); margin-bottom: var(--s5); }
.field { margin-bottom: var(--s4); }
.field label { display: block; font-size: 13px; font-weight: 600; color: var(--ink-soft); margin-bottom: 6px; }
.field input, .field textarea {
  width: 100%; font-family: var(--sans); font-size: 15px; color: var(--ink);
  padding: 12px 14px; border: 1.5px solid var(--line); border-radius: var(--r-sm); background: var(--paper);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-t); }
.field textarea { resize: vertical; min-height: 96px; }
.field.two { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s4); }
.form-card .btn { width: 100%; margin-top: var(--s2); }
.form-note { font-size: 12px; color: var(--ink-mute); margin-top: var(--s4); text-align: center; }
.form-status { font-size: 14px; margin-top: var(--s4); padding: 12px 14px; border-radius: var(--r-sm); display: none; }
.form-status.show { display: block; }
.form-status.ok { background: #e8f0e9; color: #1f5133; }
.form-status.err { background: #f6e7e4; color: #8a3324; }
@media (max-width: 860px) { .contact__grid { grid-template-columns: 1fr; gap: var(--s6); } .field.two { grid-template-columns: 1fr; } }

/* =========================================================
   Footer
   ========================================================= */
.site-footer { background: #14201a; color: rgba(255,255,255,.72); padding-block: var(--s8) var(--s6); font-size: 14px; }
.site-footer__top { display: flex; justify-content: space-between; gap: var(--s6); flex-wrap: wrap; padding-bottom: var(--s6); border-bottom: 1px solid rgba(255,255,255,.12); }
.site-footer .brand__name { color: #fff; }
.site-footer .brand__meta { color: rgba(255,255,255,.55); }
.footer-nav { display: flex; gap: var(--s5); flex-wrap: wrap; }
.footer-nav a { color: rgba(255,255,255,.72); text-decoration: none; font-size: 14px; }
.footer-nav a:hover { color: #fff; }
.eho { display: flex; align-items: flex-start; gap: var(--s4); margin-top: var(--s6); }
.eho svg { flex: none; width: 40px; height: 40px; color: rgba(255,255,255,.8); }
.eho p { margin: 0; font-size: 12.5px; color: rgba(255,255,255,.6); line-height: 1.6; }
.legal { margin-top: var(--s5); font-size: 12px; color: rgba(255,255,255,.5); }

/* =========================================================
   Mobile sticky CTA
   ========================================================= */
.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 70; display: none;
  gap: var(--s2); padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  background: rgba(247,244,238,.95); border-top: 1px solid var(--line);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.sticky-cta .btn { flex: 1; padding: 12px; min-height: 50px; }
.sticky-cta .btn--ghost { flex: 0 0 auto; width: 54px; }
@media (max-width: 720px) { .sticky-cta { display: flex; } body { padding-bottom: 74px; } }

/* =========================================================
   Recent Updates
   ========================================================= */
.updates { background: var(--paper-2); }
.updates__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s4); margin-top: var(--s7); }
.update {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: var(--s6) var(--s5); box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease;
}
.update:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.update__icon { width: 44px; height: 44px; border-radius: 12px; background: var(--brand); color: #fff; display: flex; align-items: center; justify-content: center; margin-bottom: var(--s4); }
.update__icon svg { width: 22px; height: 22px; }
.update .tag { display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-d); margin-bottom: 6px; }
.update h3 { font-size: 18px; margin-bottom: 6px; }
.update p { font-size: 14.5px; color: var(--ink-soft); margin: 0; line-height: 1.5; }
@media (max-width: 900px) { .updates__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .updates__grid { grid-template-columns: 1fr; } }

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