/* ============================================================================
   BLAND & CO — DESIGN SYSTEM · "MODERN MAISON"
   Forest green + jewel emerald. Fraunces (display) · Hanken Grotesk (body/UI).
   Single source of truth. Tokens → base → components → editorial → utilities.
   Type scale: Major Third (1.25). Spacing: strict 8-pt grid.
   Colour: 60 forest-green neutral / 30 deep green tone / 10 jewel emerald. Motion: ease-in-out only.
   ========================================================================== */

:root {
  /* ---- Neutrals (60%) — FOREST GREEN ---- */
  --bg:        #0B1410;   /* page base — deep green-black */
  --bg-2:      #0E1814;   /* alternate section */
  --surface:   #11211B;   /* raised section */
  --card:      #152821;   /* card surface */
  --card-2:    #193127;   /* elevated card / input field */
  --line:      rgba(220,235,224,0.10);   /* green-tinted hairline */
  --line-2:    rgba(220,235,224,0.20);   /* hover hairline */

  /* ---- Text (cool ivory on forest green) ---- */
  --text:      #E2EEE6;   /* primary ivory  — ~14:1 on --bg */
  --text-2:    #9FB5A6;   /* secondary body — ~7:1 on --bg */
  --text-3:    #8FA899;   /* meta / muted (≥14px) — ~4.5:1 on --bg */

  /* ---- Deep green tone (secondary 30%) — the --green-* family is actually green now ---- */
  --green:      #1B3328;   /* deep forest field */
  --green-dark: #102219;   /* darkest green */
  --green-mid:  #2F5A45;   /* mid green */
  --green-hi:   #5FA682;   /* bright green highlight */

  /* ---- Jewel emerald (accent 10%) — token names kept as --gold so inline refs cascade ---- */
  --gold:      #4FD09A;   /* jewel emerald — CTAs / active / key marks */
  --gold-hi:   #88E8B6;   /* bright mint-emerald — italics / highlights */

  /* ---- Type scale (1.25 · base 16px) ---- */
  --fs-eyebrow: 0.6875rem;  /* 11 — tracked micro-label */
  --fs-xs:   0.8125rem;     /* 13 */
  --fs-sm:   0.875rem;      /* 14 */
  --fs-base: 1rem;          /* 16 */
  --fs-md:   1.25rem;       /* 20 */
  --fs-lg:   1.5625rem;     /* 25 */
  --fs-xl:   1.953rem;      /* 31 */
  --fs-2xl:  2.441rem;      /* 39 */
  --fs-3xl:  3.052rem;      /* 49 */
  --fs-4xl:  3.815rem;      /* 61 */

  /* ---- Spacing (8-pt) ---- */
  --sp-1: 8px;  --sp-2: 16px; --sp-3: 24px; --sp-4: 32px;
  --sp-5: 40px; --sp-6: 48px; --sp-8: 64px; --sp-10: 80px;
  --sp-12: 96px; --sp-16: 128px;

  /* ---- System ---- */
  --maxw: 1240px;
  --nav-h: 80px;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);   /* slow-fast-slow — never linear, never ease-out slam */
  --ease-slow: cubic-bezier(0.4, 0, 0.2, 1);
  --radius: 2px;

  /* ---- Fonts (Google Fonts variable — Fraunces display · Hanken Grotesk body) ---- */
  --serif: 'Fraunces', Georgia, 'Times New Roman', serif;
  --sans:  'Hanken Grotesk', system-ui, -apple-system, 'Segoe UI', sans-serif;

  /* ---- Elevation ---- */
  --shadow-card: 0 32px 80px rgba(0,0,0,0.5), 0 8px 24px rgba(0,0,0,0.32);
}

/* ============================================================================
   RESET / BASE
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { background: var(--bg); scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--sans);
  font-size: var(--fs-base);
  line-height: 1.65;
  background: var(--bg);
  color: var(--text);
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; }

::selection { background: rgba(79,208,154,0.32); color: var(--text); }
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--green-mid); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--gold); }

a:focus-visible, button:focus-visible, input:focus-visible,
select:focus-visible, textarea:focus-visible, [tabindex]:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 1px;
}

/* Global film grain — fixed, subtle, click-through */
body::after {
  content: ""; position: fixed; inset: 0; z-index: 9999; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 320 320' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 0.5 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)'/%3E%3C/svg%3E");
  opacity: 0.045; mix-blend-mode: overlay;
}

/* ============================================================================
   TYPOGRAPHY — Fraunces display, Hanken Grotesk body
   ========================================================================== */
.display   { font-family: var(--serif); font-weight: 400; letter-spacing: -0.01em; line-height: 1.0; font-optical-sizing: auto; }
.display-i { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: 0; line-height: 1.1; font-optical-sizing: auto; }

.eyebrow {
  font-family: var(--sans); font-size: var(--fs-eyebrow); font-weight: 500;
  letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold);
}
.lede { font-size: clamp(1rem, 1.6vw, 1.1875rem); line-height: 1.7; color: var(--text-2); font-weight: 400; }
.meta { font-size: var(--fs-xs); color: var(--text-3); letter-spacing: 0.04em; }

/* heading sizes on the 1.25 ladder (fluid). Tighten as they grow. */
.h-hero { font-size: clamp(3rem, 7.6vw, 5.5rem); letter-spacing: -0.018em; line-height: 1.0; }
.h-1    { font-size: clamp(2.6rem, 6vw, var(--fs-4xl)); letter-spacing: -0.016em; }
.h-2    { font-size: clamp(2.1rem, 4.6vw, var(--fs-3xl)); letter-spacing: -0.012em; line-height: 1.06; }
.h-3    { font-size: clamp(1.75rem, 3.4vw, var(--fs-2xl)); letter-spacing: -0.008em; line-height: 1.1; }
.h-4    { font-size: var(--fs-xl); letter-spacing: -0.005em; line-height: 1.14; }

.divider { width: 44px; height: 1px; background: var(--gold); flex-shrink: 0; }
.eyebrow-row { display: flex; align-items: center; gap: var(--sp-2); }
.gold-dot { width: 5px; height: 5px; background: var(--gold); border-radius: 50%; flex-shrink: 0; }

/* ============================================================================
   LAYOUT
   ========================================================================== */
.wrap { max-width: var(--maxw); margin: 0 auto; padding-left: var(--sp-6); padding-right: var(--sp-6); width: 100%; }
.section { padding-top: clamp(var(--sp-12), 11vw, var(--sp-16)); padding-bottom: clamp(var(--sp-12), 11vw, var(--sp-16)); }
.section-sm { padding-top: var(--sp-12); padding-bottom: var(--sp-12); }
.bg-surface { background: var(--surface); }
.bg-alt { background: var(--bg-2); }
.border-t { border-top: 1px solid var(--line); }
.border-b { border-bottom: 1px solid var(--line); }

/* ---- EDITORIAL GRID UTILITIES (new) ----
   12-col structured feel + asymmetric splits + index numerals + rules. */
.grid-12 { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--sp-4); }
.split   { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(var(--sp-6), 6vw, var(--sp-12)); align-items: center; }
.split-wide { display: grid; grid-template-columns: 1.25fr 0.75fr; gap: clamp(var(--sp-6), 6vw, var(--sp-10)); align-items: stretch; }
.col-span-7  { grid-column: span 7; }
.col-span-6  { grid-column: span 6; }
.col-span-5  { grid-column: span 5; }
.col-span-4  { grid-column: span 4; }
.rule { height: 1px; width: 100%; background: var(--line); }
.rule-gold { height: 1px; width: 44px; background: var(--gold); }
/* large editorial index numeral (e.g. 01 / 02) */
.index-num {
  font-family: var(--serif); font-weight: 300; line-height: 1;
  font-size: clamp(2.25rem, 5vw, 3.75rem); color: var(--green-hi);
  letter-spacing: -0.02em; font-feature-settings: "lnum" 1; font-optical-sizing: auto;
}
/* section header with eyebrow + index, sits on a top hairline */
.sec-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: var(--sp-4); flex-wrap: wrap; padding-top: var(--sp-3); border-top: 1px solid var(--line);
}
.kicker-num { font-family: var(--serif); font-size: var(--fs-md); color: var(--green-hi); font-weight: 300; letter-spacing: 0.02em; font-optical-sizing: auto; }

@media (max-width: 900px) {
  .split, .split-wide { grid-template-columns: 1fr; gap: var(--sp-6); }
  .grid-12 { gap: var(--sp-3); }
}

/* ============================================================================
   NAVIGATION
   ========================================================================== */
#nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--nav-h); display: flex; align-items: center; justify-content: space-between;
  padding: 0 var(--sp-6);
  background: transparent; border-bottom: 1px solid transparent;
  transition: background 0.4s var(--ease), border-color 0.4s var(--ease), height 0.4s var(--ease);
  backdrop-filter: blur(24px) saturate(1.3); -webkit-backdrop-filter: blur(24px) saturate(1.3);
}
#nav.scrolled { background: rgba(20,18,14,0.82); border-color: var(--line); height: 68px; }
.nav-logo { display: flex; align-items: center; gap: 12px; flex-shrink: 0; text-decoration: none; }
.nav-logo img { height: 38px; width: 38px; object-fit: cover; border-radius: 1px; border: 1px solid var(--line); }
.nav-logo .wordmark { font-family: var(--serif); font-size: 1.25rem; color: var(--text); letter-spacing: 0.005em; line-height: 1; }
.nav-logo .wordmark span { font-style: italic; color: var(--gold-hi); font-weight: 500; }
.dnav { display: flex; align-items: center; gap: var(--sp-4); position: absolute; left: 50%; transform: translateX(-50%); }
.nav-link {
  font-size: var(--fs-eyebrow); font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase;
  color: rgba(220,235,224,0.58); text-decoration: none; position: relative; padding-bottom: 4px;
  transition: color 0.25s var(--ease);
}
.nav-link::after {
  content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 1px;
  background: var(--gold); transition: width 0.3s var(--ease);
}
.nav-link:hover, .nav-link.active { color: var(--text); }
.nav-link:hover::after, .nav-link.active::after { width: 100%; }
.nav-right { display: flex; align-items: center; gap: var(--sp-2); }

/* scroll progress hairline */
#progress { position: fixed; top: 0; left: 0; height: 2px; width: 0; z-index: 101;
  background: linear-gradient(90deg, var(--green-hi), var(--gold-hi)); transition: width 0.1s linear; }

/* Mobile menu */
.mbtn { display: none; background: none; border: none; cursor: pointer; padding: 8px; color: var(--text); align-items: center; }
#mmenu {
  display: none; position: fixed; inset: 0; background: rgba(20,18,14,0.98);
  backdrop-filter: blur(10px); z-index: 200; flex-direction: column; align-items: center; justify-content: center; gap: var(--sp-4);
}
#mmenu.open { display: flex; }
#mmenu .nav-link { font-size: 1.0625rem; letter-spacing: 0.12em; }
.mclose { position: absolute; top: 24px; right: 24px; background: none; border: none; cursor: pointer; color: var(--text); }

/* ============================================================================
   BUTTONS
   ========================================================================== */
.btn-primary, .btn-outline, .btn-green, .btn-ghost {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--sans); font-size: var(--fs-eyebrow); font-weight: 600;
  letter-spacing: 0.16em; text-transform: uppercase; text-decoration: none;
  cursor: pointer; border: 1px solid transparent; white-space: nowrap;
  transition: background 0.3s var(--ease), color 0.3s var(--ease),
              border-color 0.3s var(--ease), transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
/* PRIMARY = champagne gold — the accent doing real work */
.btn-primary { padding: 16px 32px; background: var(--gold); color: #1A160C; border-color: var(--gold); }
.btn-primary:hover { background: var(--gold-hi); border-color: var(--gold-hi); transform: translateY(-2px); box-shadow: 0 14px 36px rgba(79,208,154,0.28); }
.btn-primary:active { transform: translateY(0); }

.btn-outline { padding: 15px 32px; background: transparent; color: var(--text); border-color: var(--line-2); }
.btn-outline:hover { border-color: var(--gold); color: var(--gold-hi); background: rgba(79,208,154,0.05); transform: translateY(-2px); }
.btn-outline:active { transform: translateY(0); }

/* GREEN (repurposed) = quiet deep-warm utility button (nav CTA) */
.btn-green { padding: 13px 24px; background: var(--green); color: var(--text); border-color: var(--line-2); }
.btn-green:hover { background: var(--green-mid); border-color: var(--gold); color: var(--gold-hi); transform: translateY(-2px); box-shadow: 0 10px 28px rgba(0,0,0,0.4); }
.btn-green:active { transform: translateY(0); }

.btn-ghost { padding: 0; background: none; color: var(--gold); border: none; letter-spacing: 0.14em; }
.btn-ghost svg { transition: transform 0.3s var(--ease); }
.btn-ghost:hover svg { transform: translateX(5px); }

/* arrow nudge on any CTA carrying .arrow */
.btn-primary .arrow, .btn-outline .arrow, .btn-green .arrow { transition: transform 0.3s var(--ease); }
.btn-primary:hover .arrow, .btn-outline:hover .arrow, .btn-green:hover .arrow { transform: translateX(4px); }

/* inline text link with reveal underline */
.link-rev {
  font-size: var(--fs-eyebrow); letter-spacing: 0.14em; text-transform: uppercase; font-weight: 500;
  color: var(--gold); text-decoration: none; display: inline-flex; align-items: center; gap: 8px;
  transition: gap 0.3s var(--ease), color 0.3s var(--ease);
}
.link-rev:hover { gap: 12px; color: var(--gold-hi); }

/* ============================================================================
   CARDS
   ========================================================================== */
.card {
  background: var(--card); border: 1px solid var(--line); position: relative;
  transition: border-color 0.5s var(--ease), transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.card:hover {
  border-color: var(--line-2); transform: translateY(-6px);
  box-shadow: var(--shadow-card), 0 0 0 1px rgba(79,208,154,0.22);
}

/* IN-BRAND IMAGE PLATE — premium fallback instead of grey placeholders.
   Warm charcoal field, champagne monogram watermark, grain. */
.plate {
  position: relative; overflow: hidden; width: 100%;
  background:
    radial-gradient(ellipse 120% 100% at 28% 18%, rgba(47,90,69,0.22) 0%, transparent 58%),
    radial-gradient(ellipse 80% 80% at 86% 92%, rgba(34,29,18,0.6) 0%, transparent 55%),
    linear-gradient(150deg, #152821 0%, #0B1410 100%);
}
.plate::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: 0.045; mix-blend-mode: overlay;
}
.plate .monogram {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  font-family: var(--serif); font-size: clamp(72px, 14vw, 132px); font-weight: 400; font-style: italic;
  color: rgba(136,232,182,0.08); letter-spacing: -0.02em; user-select: none; line-height: 1;
}
.plate .plate-tag {
  position: absolute; left: 20px; bottom: 18px; z-index: 1;
  font-size: var(--fs-eyebrow); letter-spacing: 0.2em; text-transform: uppercase; color: var(--text-2);
  display: inline-flex; align-items: center; gap: 8px;
}

/* image fill (when real photos exist) */
.img-fill { width: 100%; height: 100%; object-fit: cover; filter: brightness(0.84); transition: filter 0.6s var(--ease), transform 0.6s var(--ease); }
.img-wrap { overflow: hidden; }
.card:hover .img-fill { filter: brightness(0.98); transform: scale(1.04); }

/* badge */
.badge {
  display: inline-flex; align-items: center; gap: 5px; padding: 4px 10px;
  background: rgba(79,208,154,0.10); border: 1px solid rgba(79,208,154,0.35);
  font-size: 9.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-hi);
}

/* quote/testimonial card */
.tcard { background: var(--card); border: 1px solid var(--line); padding: var(--sp-6); position: relative; transition: border-color 0.5s var(--ease), transform 0.5s var(--ease); }
.tcard:hover { border-color: var(--line-2); transform: translateY(-4px); }
.tcard::before {
  content: '\201C'; position: absolute; top: 12px; left: var(--sp-4);
  font-family: var(--serif); font-style: italic; font-size: 104px; line-height: 1; color: var(--gold); opacity: 0.20; pointer-events: none;
}
.avatar {
  width: 44px; height: 44px; background: var(--green); border: 1px solid var(--line-2); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif); font-size: 1.125rem; color: var(--gold-hi); flex-shrink: 0;
}
.stars { color: var(--gold); font-size: var(--fs-xs); letter-spacing: 2px; }

/* ============================================================================
   FORMS — custom, in-brand controls only (never native select/date/file)
   ========================================================================== */
.field { display: flex; flex-direction: column; gap: 10px; }
.label { font-size: var(--fs-eyebrow); letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-3); font-weight: 500; }
.label .req { color: var(--gold); }

.input, textarea.input {
  width: 100%; padding: 15px 16px; background: var(--card-2); color: var(--text);
  font-family: var(--sans); font-size: var(--fs-base); border: 1px solid var(--line);
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.input::placeholder, textarea.input::placeholder { color: #756B57; }
.input:hover, textarea.input:hover { border-color: var(--line-2); }
.input:focus, textarea.input:focus {
  outline: none; border-color: var(--gold); background: #1B3429;
  box-shadow: 0 0 0 3px rgba(79,208,154,0.14);
}
textarea.input { resize: vertical; min-height: 128px; line-height: 1.7; }

/* custom dropdown (replaces native <select>) */
.cselect { position: relative; }
.cselect-btn {
  width: 100%; padding: 15px 16px; background: var(--card-2); color: var(--text);
  font-family: var(--sans); font-size: var(--fs-base); border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: space-between; gap: 12px; cursor: pointer; text-align: left;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.cselect-btn:hover { border-color: var(--line-2); }
.cselect-btn.placeholder { color: #756B57; }
.cselect.open .cselect-btn { border-color: var(--gold); background: #1B3429; box-shadow: 0 0 0 3px rgba(79,208,154,0.14); }
.cselect-btn .chev { transition: transform 0.3s var(--ease); flex-shrink: 0; opacity: 0.6; }
.cselect.open .cselect-btn .chev { transform: rotate(180deg); }
.cselect-list {
  position: absolute; top: calc(100% + 6px); left: 0; right: 0; z-index: 30;
  background: #152821; border: 1px solid var(--line-2); box-shadow: var(--shadow-card);
  max-height: 280px; overflow-y: auto; opacity: 0; transform: translateY(-6px); pointer-events: none;
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease);
}
.cselect.open .cselect-list { opacity: 1; transform: none; pointer-events: auto; }
.cselect-opt {
  padding: 12px 16px; font-size: var(--fs-sm); color: var(--text-2); cursor: pointer;
  transition: background 0.2s var(--ease), color 0.2s var(--ease); display: flex; align-items: center; gap: 10px;
}
.cselect-opt:hover, .cselect-opt.active { background: rgba(79,208,154,0.14); color: var(--text); }
.cselect-opt.active::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: var(--gold); flex-shrink: 0; }
.cselect-opt:not(.active)::before { content: ''; width: 5px; height: 5px; flex-shrink: 0; }

/* checkbox */
.check-row { display: flex; align-items: flex-start; gap: 12px; }
.check-row input[type=checkbox] { margin-top: 3px; accent-color: var(--gold); width: 16px; height: 16px; flex-shrink: 0; cursor: pointer; }
.check-row label { font-size: var(--fs-xs); color: var(--text-3); line-height: 1.6; cursor: pointer; }
.check-row a { color: var(--gold); }

/* file drop zone */
.file-zone {
  position: relative; border: 1px dashed var(--line-2); padding: var(--sp-5) var(--sp-4); text-align: center;
  background: rgba(38,34,25,0.5); transition: border-color 0.3s var(--ease), background 0.3s var(--ease); cursor: pointer;
}
.file-zone:hover, .file-zone.drag { border-color: var(--gold); background: rgba(79,208,154,0.07); }
.file-zone input[type=file] { position: absolute; inset: 0; opacity: 0; cursor: pointer; }

/* submit success panel */
.success-panel {
  padding: var(--sp-5); background: rgba(79,208,154,0.10); border: 1px solid var(--gold);
  text-align: center; animation: popIn 0.5s var(--ease) both;
}
.success-panel .tick {
  width: 56px; height: 56px; border-radius: 50%; border: 1px solid var(--gold);
  display: flex; align-items: center; justify-content: center; margin: 0 auto var(--sp-3); color: var(--gold-hi);
}
@keyframes popIn { from { opacity: 0; transform: scale(0.96) translateY(8px); } to { opacity: 1; transform: none; } }

/* ============================================================================
   FOOTER
   ========================================================================== */
footer.site-footer { background: var(--bg-2); border-top: 1px solid var(--line); padding: var(--sp-10) var(--sp-6) var(--sp-5); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: var(--sp-8); margin-bottom: var(--sp-8); }
.footer-h { font-size: var(--fs-eyebrow); letter-spacing: 0.2em; text-transform: uppercase; color: var(--text); margin-bottom: var(--sp-3); font-weight: 600; }
.footer-col { display: flex; flex-direction: column; gap: 12px; }
.fl { font-size: var(--fs-sm); color: var(--text-3); text-decoration: none; transition: color 0.25s var(--ease); letter-spacing: 0.02em; width: fit-content; }
.fl:hover { color: var(--text); }
.social-btn {
  width: 36px; height: 36px; border: 1px solid var(--line); display: flex; align-items: center; justify-content: center;
  color: var(--text-3); text-decoration: none; transition: border-color 0.3s var(--ease), color 0.3s var(--ease), background 0.3s var(--ease);
}
.social-btn:hover { border-color: var(--gold); color: var(--gold); background: rgba(79,208,154,0.06); }
.footer-bottom { border-top: 1px solid var(--line); padding-top: var(--sp-3); display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: var(--sp-2); }

/* ============================================================================
   MOTION / REVEAL
   ========================================================================== */
.fi { opacity: 0; transform: translateY(24px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
  transition-delay: var(--fi-delay, 0s); }
.fi.v { opacity: 1; transform: none; }
.fi-1 { transition-delay: 0.08s; } .fi-2 { transition-delay: 0.16s; }
.fi-3 { transition-delay: 0.24s; } .fi-4 { transition-delay: 0.32s; }
.fi-5 { transition-delay: 0.40s; } .fi-6 { transition-delay: 0.48s; }

/* springy reveal variant — gentle overshoot "pop" for cards / grid items.
   Pair with a .stagger parent (see site.js) to cascade children. */
.fi.pop { transform: translateY(46px) scale(0.972);
  transition: opacity 0.55s var(--ease), transform 0.72s cubic-bezier(0.34, 1.42, 0.5, 1);
  transition-delay: var(--fi-delay, 0s); }
.fi.pop.v { transform: none; }

@keyframes scrollBounce { 0%,100% { transform: translateY(0); opacity: 0.4; } 50% { transform: translateY(6px); opacity: 0.8; } }
.scroll-indicator { animation: scrollBounce 2.4s var(--ease) infinite; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
  .fi { opacity: 1 !important; transform: none !important; }
  .scroll-indicator { animation: none !important; }
}

/* ============================================================================
   UTILITIES
   ========================================================================== */
.text-2 { color: var(--text-2); } .text-3 { color: var(--text-3); } .text-gold { color: var(--gold); }
.serif { font-family: var(--serif); }
.serif, .display, .display-i, [class*="-num"] { font-optical-sizing: auto; }
.center { text-align: center; }
.noise {
  position: absolute; inset: 0; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: 0.025; mix-blend-mode: overlay;
}

/* ============================================================================
   RESPONSIVE
   ========================================================================== */
/* Nav collapses to the hamburger early: the 7 centred links crowd the logo
   and CTA (and "Sell / Value" wraps) anywhere below ~1140px, so switch to
   the mobile menu there rather than at 980. */
@media (max-width: 1140px) {
  #nav { padding: 0 var(--sp-3); }
  .dnav { display: none !important; }
  .mbtn { display: flex !important; }
  /* the Book Consultation CTA lives in the mobile menu while the hamburger
     is showing — hide the in-nav button so it can't crowd the logo */
  .nav-right .btn-green { display: none; }
}
@media (min-width: 1141px) { .mbtn { display: none !important; } }

@media (max-width: 980px) {
  :root { --sp-16: 96px; }
  .wrap { padding-left: var(--sp-3); padding-right: var(--sp-3); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: var(--sp-5); }
  footer.site-footer { padding-left: var(--sp-3); padding-right: var(--sp-3); }
}
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
