/* ============================================================
   Central Texas Gold Buyers and Processing — shared styles
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Geist:wght@300;400;500;600;700;800&family=Lexend:wght@400;500;600;700&family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;1,400&display=swap');

:root {
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --cur: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='28' viewBox='0 0 28 28'%3E%3Cpath d='M5 3 L5 22 L10 17.5 L13 24 L16 22.7 L13 16.3 L20 16.3 Z' fill='%23ecc94b' stroke='%2314110a' stroke-width='1.3' stroke-linejoin='round'/%3E%3C/svg%3E") 5 3;

  /* Gold scale */
  --gold:        #d4af37;
  --gold-bright: #f4d77a;
  --gold-deep:   #a9842a;
  --gold-soft:   rgba(212, 175, 55, 0.14);

  /* Dark theme (default) */
  --bg:        #0b0b0c;
  --bg-2:      #121214;
  --bg-3:      #18181b;
  --surface:   rgba(255, 255, 255, 0.035);
  --surface-2: rgba(255, 255, 255, 0.06);
  --border:    rgba(212, 175, 55, 0.16);
  --border-2:  rgba(255, 255, 255, 0.08);
  --ink:       #f4f2ec;
  --ink-2:     #c9c6bd;
  --ink-3:     #8e8b83;
  --hero-veil: linear-gradient(180deg, rgba(8,8,9,0.55) 0%, rgba(8,8,9,0.72) 55%, rgba(11,11,12,0.96) 100%);

  --shadow-1: 0 2px 10px rgba(0,0,0,0.4);
  --shadow-2: 0 18px 50px rgba(0,0,0,0.55);
  --shadow-gold: 0 18px 60px rgba(212,175,55,0.18);

  --maxw: 1240px;
  --radius: 4px;
  --radius-lg: 6px;

  --font-body: 'Geist', system-ui, sans-serif;
  --font-display: 'Cormorant Garamond', Georgia, serif;
}

[data-theme="light"] {
  --bg:        #f6f3ec;
  --bg-2:      #efeae0;
  --bg-3:      #e7e1d4;
  --surface:   rgba(20, 16, 8, 0.035);
  --surface-2: rgba(20, 16, 8, 0.06);
  --border:    rgba(150, 116, 30, 0.28);
  --border-2:  rgba(20, 16, 8, 0.10);
  --ink:       #1c1813;
  --ink-2:     #4a443a;
  --ink-3:     #7b7567;
  --gold:      #9a7a1f;
  --gold-bright: #b8932e;
  --gold-deep: #7a5f15;
  --hero-veil: linear-gradient(180deg, rgba(246,243,236,0.35) 0%, rgba(246,243,236,0.55) 55%, rgba(246,243,236,0.95) 100%);
  --shadow-2: 0 18px 50px rgba(80,60,20,0.18);
  --shadow-gold: 0 18px 60px rgba(154,122,31,0.22);
}

html[data-dyslexic="true"] body { font-family: 'Lexend', sans-serif; letter-spacing: 0.01em; }

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 90px; }

body {
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  cursor: var(--cur), auto;
  transition: background 0.5s var(--ease), color 0.5s var(--ease);
}

a, a:link, button, [role="button"], label, summary, select, .card, .tgl, .seg button, .testi-dots button, input[type="checkbox"], input[type="radio"], input[type="range"] { cursor: var(--cur), pointer; }

@media (pointer: coarse) { body, a, button, [role="button"], label, .card, select { cursor: auto; } }

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: var(--cur), pointer; }

::selection { background: var(--gold); color: #14110a; }

h1, h2, h3 { font-weight: 600; line-height: 1.06; letter-spacing: -0.01em; }

.serif { font-family: var(--font-display); font-weight: 500; letter-spacing: 0; }
.eyebrow {
  font-size: 0.74rem; letter-spacing: 0.32em; text-transform: uppercase;
  color: var(--gold); font-weight: 600; display: inline-flex; align-items: center; gap: 0.7em;
}
.eyebrow::before { content: ""; width: 30px; height: 1px; background: var(--gold); opacity: 0.7; }

.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: clamp(20px, 5vw, 56px); }

section { position: relative; }

/* ---------- Film grain overlay ---------- */
.grain {
  position: fixed; inset: 0; z-index: 60; pointer-events: none;
  opacity: 0.045; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 160px 160px;
  animation: grainshift 0.9s steps(3) infinite;
}
@keyframes grainshift {
  0%{transform:translate(0,0)} 33%{transform:translate(-4px,3px)} 66%{transform:translate(3px,-2px)} 100%{transform:translate(0,0)}
}
@media (prefers-reduced-motion: reduce) { .grain { animation: none; } }

/* ---------- Custom cursor (subtle gold dot + drifting glow) ---------- */
.cursor-dot, .cursor-glow {
  position: fixed; top: 0; left: 0; pointer-events: none;
  will-change: transform; transform: translate(-50%, -50%);
}
.cursor-dot {
  z-index: 9999; width: 9px; height: 9px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, var(--gold-bright), var(--gold) 70%);
  box-shadow: 0 0 6px rgba(244,215,122,0.55);
  transition: width .3s var(--ease), height .3s var(--ease);
}
.cursor-dot.hot { width: 13px; height: 13px; }
.cursor-glow {
  z-index: 9998; width: 46px; height: 46px; border-radius: 50%;
  background: radial-gradient(circle, rgba(212,175,55,0.30) 0%, rgba(212,175,55,0.12) 40%, rgba(212,175,55,0) 72%);
  filter: blur(3px);
  transition: width .35s var(--ease), height .35s var(--ease), opacity .3s var(--ease);
}
.cursor-glow.hot { width: 66px; height: 66px; }

/* ---------- Sparks layer (CTA emphasis) ---------- */
.has-sparks { position: relative; }
.has-sparks > .wrap { position: relative; z-index: 2; }
.sparks-canvas { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.hero.has-sparks .sparks-canvas { z-index: 0; }

/* ---------- Touch glow layer ---------- */
.touch-layer { position: fixed; inset: 0; z-index: 58; pointer-events: none; overflow: hidden; }
.touch-glow {
  position: absolute; width: 360px; height: 360px; border-radius: 50%; transform: translate(-50%,-50%) scale(0.6);
  background: radial-gradient(circle, rgba(255,215,0,0.22) 0%, rgba(255,215,0,0.10) 35%, rgba(255,215,0,0) 70%);
  filter: blur(6px); opacity: 0; transition: opacity .35s ease, transform .35s var(--ease);
}

/* ---------- Page loader ---------- */
.loader {
  position: fixed; inset: 0; z-index: 200; background: var(--bg);
  display: grid; place-items: center; transition: opacity .7s var(--ease), visibility .7s;
}
.loader.done { opacity: 0; visibility: hidden; }
.loader-inner { text-align: center; }
.crucible { width: 120px; height: 120px; margin: 0 auto 22px; position: relative; }
.crucible svg { width: 100%; height: 100%; overflow: visible; }
.pour { stroke-dasharray: 120; stroke-dashoffset: 120; animation: pour 1.4s var(--ease) infinite; }
@keyframes pour { 0%{stroke-dashoffset:120} 50%{stroke-dashoffset:0} 100%{stroke-dashoffset:-120} }
.droplet { transform-origin: center; animation: drip 1.4s ease-in infinite; }
@keyframes drip { 0%,40%{opacity:0; transform:translateY(0)} 55%{opacity:1} 100%{opacity:0; transform:translateY(34px)} }
.loader-word { font-family: var(--font-display); font-size: 1.5rem; letter-spacing: .04em; color: var(--gold); }
.loader-sub { font-size: .72rem; letter-spacing: .34em; text-transform: uppercase; color: var(--ink-3); margin-top: 6px; }
@media (prefers-reduced-motion: reduce) { .pour, .droplet { animation: none; } }

/* ---------- Header ---------- */
.site-head {
  position: fixed; top: 0; left: 0; right: 0; z-index: 80;
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  padding: 14px clamp(20px, 5vw, 56px);
  transition: background .45s var(--ease), border-color .45s var(--ease), padding .45s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-head.scrolled {
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-2); padding-block: 9px;
}
.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand-mark { width: 38px; height: 38px; flex-shrink: 0; }
.brand-name { font-family: var(--font-display); font-size: 1.18rem; font-weight: 600; line-height: 1; letter-spacing: .01em; }
.brand-name small { display: block; font-family: var(--font-body); font-size: .56rem; letter-spacing: .28em; text-transform: uppercase; color: var(--gold); font-weight: 600; margin-top: 4px; }
@media (max-width: 560px) { .brand-name small { display: none; } }

.nav-main { display: flex; gap: 30px; margin-left: 14px; }
.nav-main a { font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; font-weight: 500; color: var(--ink-2); position: relative; padding: 4px 0; transition: color .3s var(--ease); }
.nav-main a::after { content: ""; position: absolute; left: 0; bottom: 0; height: 1.5px; width: 100%; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease); }
.nav-main a:hover, .nav-main a[aria-current="page"] { color: var(--ink); }
.nav-main a:hover::after, .nav-main a[aria-current="page"]::after { transform: scaleX(1); }
@media (max-width: 980px) { .nav-main { display: none; } }

.head-right { display: flex; align-items: center; gap: 8px; }
/* Mobile: hide utility cluster except hamburger */
@media (max-width: 980px) {
  .contact-wrap, #searchBtn, #settingsBtn, .head-right .cta-btn { display: none !important; }
  .head-right { gap: 0; }
  .hamburger { width: 48px; height: 48px; }
}
.icon-btn {
  width: 42px; height: 42px; border: none; background: transparent; border-radius: var(--radius);
  display: grid; place-items: center; color: var(--ink-2); transition: background .3s var(--ease), color .3s var(--ease);
}
.icon-btn:hover { background: rgba(138,158,120,0.16); color: var(--ink); }
.icon-btn svg { width: 21px; height: 21px; }

/* Contact pill */
.contact-wrap { position: relative; }
.contact-pill {
  display: inline-flex; align-items: center; gap: 9px; padding: 9px 15px; border-radius: 100px;
  background: var(--surface-2); border: 1px solid var(--border); color: var(--ink);
  font-size: .82rem; font-weight: 600; letter-spacing: .02em; transition: border-color .3s var(--ease), background .3s var(--ease);
}
.contact-pill:hover { border-color: var(--gold); background: var(--gold-soft); }
.contact-pill svg { width: 16px; height: 16px; color: var(--gold); }
.contact-pill .num { white-space: nowrap; }
@media (max-width: 1180px) { .contact-pill .num { display: none; } .contact-pill { padding: 9px; } }

.contact-menu {
  position: absolute; top: calc(100% + 10px); right: 0; min-width: 200px; padding: 7px;
  background: var(--bg-2); border: 1px solid var(--border-2); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-2); opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s; z-index: 90;
}
.contact-wrap:hover .contact-menu, .contact-wrap:focus-within .contact-menu, .contact-menu.open { opacity: 1; visibility: visible; transform: translateY(0); }
.contact-menu a { display: flex; align-items: center; gap: 11px; padding: 11px 13px; border-radius: var(--radius); font-size: .9rem; color: var(--ink-2); transition: background .2s, color .2s; }
.contact-menu a:hover { background: var(--surface-2); color: var(--ink); }
.contact-menu a svg { width: 17px; height: 17px; color: var(--gold); }

.cta-btn {
  display: inline-flex; align-items: center; gap: 9px; padding: 12px 22px; border-radius: 100px; white-space: nowrap;
  background: linear-gradient(135deg, var(--gold-bright), var(--gold) 55%, var(--gold-deep));
  color: #14110a; font-weight: 700; font-size: .84rem; letter-spacing: .03em; border: none;
  box-shadow: 0 6px 22px rgba(212,175,55,0.28); transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.cta-btn:hover { transform: translateY(-2px); box-shadow: 0 12px 34px rgba(212,175,55,0.42); }
.cta-btn svg { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.cta-btn:hover svg { transform: translateX(4px); }
.head-right .cta-btn { padding: 11px 20px; }
@media (max-width: 680px) { .head-right .cta-btn span { display: none; } .head-right .cta-btn { padding: 11px; } }

.hamburger { display: none; }
@media (max-width: 980px) { .hamburger { display: grid; } }

/* ---------- Mobile menu ---------- */
.mobile-menu {
  position: fixed; inset: 0; z-index: 95; background: var(--bg); padding: 90px clamp(20px,6vw,40px) 40px;
  display: flex; flex-direction: column; gap: 4px; transform: translateX(100%); transition: transform .5s var(--ease); overflow-y: auto;
}
.mobile-menu.open { transform: translateX(0); }
.mobile-menu a.m-link { font-family: var(--font-display); font-size: 2.2rem; padding: 14px 0; border-bottom: 1px solid var(--border-2); color: var(--ink); display: flex; justify-content: space-between; align-items: center; }
.mobile-menu a.m-link span { font-family: var(--font-body); font-size: .9rem; color: var(--gold); }
.m-close { position: absolute; top: 22px; right: 22px; }

/* ---------- Search panel ---------- */
.search-panel {
  position: fixed; top: 0; left: 0; right: 0; z-index: 110; background: color-mix(in srgb, var(--bg) 94%, transparent);
  -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); border-bottom: 1px solid var(--border);
  padding: 26px clamp(20px,5vw,56px); transform: translateY(-100%); transition: transform .5s var(--ease); box-shadow: var(--shadow-2);
}
.search-panel.open { transform: translateY(0); }
.search-row { display: flex; align-items: center; gap: 14px; max-width: var(--maxw); margin-inline: auto; }
.search-row svg { width: 24px; height: 24px; color: var(--gold); flex-shrink: 0; }
.search-input { flex: 1; background: transparent; border: none; outline: none; color: var(--ink); font-size: clamp(1.3rem, 3vw, 2rem); font-family: var(--font-display); }
.search-input::placeholder { color: var(--ink-3); }
.mic-btn.listening { color: var(--gold-bright); animation: micpulse 1s infinite; }
@keyframes micpulse { 0%,100%{opacity:1} 50%{opacity:.4} }
.search-results { max-width: var(--maxw); margin: 18px auto 0; display: flex; flex-direction: column; gap: 2px; }
.search-results a { padding: 12px 14px; border-radius: var(--radius); display: flex; justify-content: space-between; align-items: center; color: var(--ink-2); transition: background .2s, color .2s; }
.search-results a:hover { background: var(--surface-2); color: var(--ink); }
.search-results a small { color: var(--ink-3); font-size: .76rem; text-transform: uppercase; letter-spacing: .1em; }
.search-empty { max-width: var(--maxw); margin: 18px auto 0; color: var(--ink-3); }

/* ---------- Settings panel ---------- */
.scrim { position: fixed; inset: 0; z-index: 115; background: rgba(0,0,0,0.5); opacity: 0; visibility: hidden; transition: opacity .4s var(--ease), visibility .4s; }
.scrim.open { opacity: 1; visibility: visible; }
.settings {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 120; width: min(380px, 90vw); background: var(--bg-2);
  border-left: 1px solid var(--border); box-shadow: var(--shadow-2); transform: translateX(100%);
  transition: transform .5s var(--ease); padding: 26px; overflow-y: auto;
}
.settings.open { transform: translateX(0); }
.settings h3 { font-family: var(--font-display); font-size: 1.6rem; }
.settings .set-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.set-block { padding: 20px 0; border-bottom: 1px solid var(--border-2); }
.set-block:last-child { border-bottom: none; }
.set-label { font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 14px; }
.set-row { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 14px; }
.set-row:last-child { margin-bottom: 0; }
.set-row span.lab { font-size: .92rem; color: var(--ink); }

/* Toggle */
.tgl { width: 50px; height: 28px; border-radius: 100px; background: var(--surface-2); border: 1px solid var(--border-2); position: relative; transition: background .3s var(--ease), border-color .3s; flex-shrink: 0; }
.tgl::after { content: ""; position: absolute; top: 2px; left: 2px; width: 22px; height: 22px; border-radius: 50%; background: var(--ink-3); transition: transform .3s var(--ease), background .3s; }
.tgl[aria-checked="true"] { background: var(--gold-soft); border-color: var(--gold); }
.tgl[aria-checked="true"]::after { transform: translateX(22px); background: var(--gold); }

.seg { display: inline-flex; background: var(--surface-2); border: 1px solid var(--border-2); border-radius: 100px; padding: 3px; }
.seg button { border: none; background: transparent; color: var(--ink-3); padding: 6px 14px; border-radius: 100px; font-size: .8rem; font-weight: 600; transition: all .3s var(--ease); }
.seg button.active { background: var(--gold); color: #14110a; }

.set-select, .lang-select {
  width: 100%; background: var(--bg-3); border: 1px solid var(--border-2); color: var(--ink);
  padding: 10px 12px; border-radius: var(--radius); font-family: inherit; font-size: .88rem; outline: none;
}
input[type="range"].slider { width: 100%; accent-color: var(--gold); }
.set-note { font-size: .78rem; color: var(--ink-3); margin-top: 8px; line-height: 1.5; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; padding-top: clamp(120px, 16vh, 170px); padding-bottom: clamp(130px, 15vh, 180px); overflow: hidden; isolation: isolate; }
.hero-bg {
  position: absolute; inset: -2% -2% -220px -2%; z-index: -2; background-size: cover; background-position: center;
  background-color: #0d0c0a;
  background-image:
    radial-gradient(120% 90% at 78% 20%, rgba(244,215,122,0.22), transparent 55%),
    radial-gradient(90% 80% at 15% 90%, rgba(169,132,42,0.18), transparent 60%),
    linear-gradient(160deg, #161310 0%, #0d0c0a 45%, #07100d 100%);
}
[data-theme="light"] .hero-bg {
  background-color: #d8cfba;
  background-image:
    radial-gradient(120% 90% at 78% 20%, rgba(212,175,55,0.4), transparent 55%),
    radial-gradient(90% 80% at 15% 90%, rgba(154,122,31,0.25), transparent 60%),
    linear-gradient(160deg, #efe8d7 0%, #ddd3bd 45%, #cfe0d4 100%);
}
.hero-bg.kb { animation: kenburns 26s ease-in-out infinite alternate; }
@keyframes kenburns { 0%{transform:scale(1.04) translate(0,0)} 100%{transform:scale(1.16) translate(-1.5%, -2%)} }
@media (prefers-reduced-motion: reduce) { .hero-bg.kb { animation: none; transform: scale(1.06); } }
.hero-veil { position: absolute; inset: -2% -2% -220px -2%; z-index: -1; background: var(--hero-veil); }
.hero-grad { position: absolute; left: -10%; top: 10%; width: 60%; height: 80%; z-index: -1; background: radial-gradient(circle at 30% 50%, rgba(212,175,55,0.12), transparent 60%); pointer-events: none; }
.page-hero { min-height: max(64svh, 540px); }
.hero.page-hero h1 { font-size: clamp(1.7rem, 2.9vw, 2.6rem); max-width: 22ch; line-height: 1.1; }
.hero.page-hero .lede { margin-top: 22px; }
.hero h1 { font-family: var(--font-display); font-weight: 600; font-size: clamp(3rem, 8vw, 6.4rem); letter-spacing: -0.015em; max-width: 16ch; }
.hero:not(.page-hero) h1 { font-size: clamp(3.5rem, 8.6vw, 7.1rem); max-width: 15ch; }
.hero .lede { font-size: clamp(1.05rem, 2vw, 1.35rem); color: var(--ink-2); max-width: 56ch; margin-top: 22px; }
.hero:not(.page-hero) .lede { font-size: clamp(1.25rem, 2.5vw, 1.7rem); max-width: 52ch; margin-top: 26px; }
.hero:not(.page-hero) .eyebrow { font-size: .82rem; }
.hero:not(.page-hero) .hero-tag { font-size: 1.05rem; }
.hero-cta-row { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; margin-top: 36px; }
.hero-tag { font-size: .9rem; color: var(--ink-3); }
.btn-ghost {
  display: inline-flex; align-items: center; gap: 9px; padding: 13px 24px; border-radius: 100px;
  border: 1px solid var(--border); color: var(--ink); font-weight: 600; font-size: .84rem; letter-spacing: .03em;
  background: var(--surface); transition: border-color .35s var(--ease), background .35s var(--ease), transform .35s var(--ease);
}
.btn-ghost:hover { border-color: var(--gold); background: var(--gold-soft); transform: translateY(-2px); }
.btn-ghost svg { width: 16px; height: 16px; }

/* hero scroll cue */
.scroll-cue { position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%); z-index: 2; display: grid; place-items: center; gap: 8px; color: var(--ink-3); font-size: .66rem; letter-spacing: .26em; text-transform: uppercase; }
.scroll-cue .line { width: 1px; height: 40px; background: linear-gradient(var(--gold), transparent); position: relative; overflow: hidden; }
.scroll-cue .line::after { content:""; position:absolute; top:-40px; left:0; width:1px; height:40px; background: var(--gold-bright); animation: cue 2.2s var(--ease) infinite; }
@keyframes cue { 0%{transform:translateY(0)} 100%{transform:translateY(80px)} }
@media (prefers-reduced-motion: reduce){ .scroll-cue .line::after{ animation:none } }

/* Section that emerges from hero */
.emerge { margin-top: -120px; position: relative; z-index: 2; padding-top: 120px; }

/* ---------- Generic sections ---------- */
.band { padding-block: clamp(72px, 11vh, 140px); }
.band.alt { background: var(--bg-2); }
.section-head { max-width: 60ch; margin-bottom: 56px; }
.section-head h2 { font-family: var(--font-display); font-size: clamp(2.1rem, 5vw, 3.6rem); margin-top: 16px; }
.section-head p { color: var(--ink-2); margin-top: 18px; font-size: 1.08rem; }

/* ---------- Service cards ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
@media (max-width: 940px) { .cards { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; } }
.card {
  position: relative; border: 1px solid var(--border-2); border-radius: var(--radius-lg); overflow: hidden;
  background: var(--surface); display: flex; flex-direction: column;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-2); border-color: var(--gold-deep); }
.card-media { aspect-ratio: 4/3; overflow: hidden; position: relative; }
.card-media .ph, .card-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.card:hover .card-media .ph, .card:hover .card-media img { transform: scale(1.06); }
.card-num { position: absolute; top: 14px; left: 16px; z-index: 2; font-family: var(--font-display); font-size: 1.1rem; color: var(--gold-bright); background: rgba(0,0,0,0.4); width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--border); }
.card-body { padding: 26px 24px 28px; display: flex; flex-direction: column; flex: 1; }
.card-body h3 { font-size: 1.4rem; font-family: var(--font-display); }
.card-body p { color: var(--ink-2); margin-top: 12px; font-size: .98rem; flex: 1; }
.see-more { margin-top: 20px; display: inline-flex; align-items: center; gap: 8px; color: var(--gold); font-weight: 600; font-size: .82rem; letter-spacing: .04em; text-transform: uppercase; }
.see-more svg { width: 15px; height: 15px; transition: transform .3s var(--ease); }
.card:hover .see-more svg { transform: translateX(4px); }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 800px) { .stats { grid-template-columns: repeat(2, 1fr); } }
.stat { padding: 30px 24px; border: 1px solid var(--border-2); border-radius: var(--radius-lg); background: var(--surface); }
.stat .n { font-family: var(--font-display); font-size: clamp(2.6rem, 5vw, 3.6rem); color: var(--gold); line-height: 1; }
.stat .l { color: var(--ink-2); margin-top: 10px; font-size: .92rem; }

/* ---------- Editorial split ---------- */
.split { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(34px, 6vw, 84px); align-items: center; }
.split.rev { grid-template-columns: 0.95fr 1.05fr; }
@media (max-width: 900px) { .split, .split.rev { grid-template-columns: 1fr; } }
.split h2 { font-family: var(--font-display); font-size: clamp(2rem, 4.5vw, 3.2rem); margin-top: 16px; }
.split p { color: var(--ink-2); margin-top: 18px; }
.split p + p { margin-top: 14px; }
.split-media { position: relative; aspect-ratio: 4/5; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border); }
.split-media .ph, .split-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.media-stack { display: grid; gap: 14px; }
.media-stack .split-media { aspect-ratio: 16 / 10; }
.clip-wipe { clip-path: inset(0 100% 0 0); transition: clip-path 1.1s var(--ease); }
.clip-wipe.in { clip-path: inset(0 0 0 0); }
.caption-margin { font-size: .8rem; color: var(--ink-3); letter-spacing: .04em; margin-top: 14px; }

/* placeholder visual (always renders, never broken) */
.ph {
  background:
    repeating-linear-gradient(135deg, rgba(212,175,55,0.10) 0 2px, transparent 2px 12px),
    radial-gradient(circle at 30% 25%, rgba(244,215,122,0.22), transparent 55%),
    linear-gradient(150deg, #1a1813, #100f0c 55%, #07120f);
  display: grid; place-items: center;
}
[data-theme="light"] .ph { background:
    repeating-linear-gradient(135deg, rgba(150,116,30,0.12) 0 2px, transparent 2px 12px),
    radial-gradient(circle at 30% 25%, rgba(212,175,55,0.3), transparent 55%),
    linear-gradient(150deg, #e9e2d2, #d9cfb8 55%, #cfe0d4); }
.ph .ph-tag { font-family: ui-monospace, 'SF Mono', Menlo, monospace; font-size: .7rem; letter-spacing: .12em; color: var(--ink-3); text-transform: uppercase; padding: 6px 12px; border: 1px dashed var(--border); border-radius: 100px; background: rgba(0,0,0,0.25); }

/* ---------- Testimonials ---------- */
.testi { position: relative; max-width: 880px; margin-inline: auto; text-align: center; }
.testi-track { position: relative; min-height: 230px; }
.testi-slide { position: absolute; inset: 0; opacity: 0; transform: translateY(14px); transition: opacity .7s var(--ease), transform .7s var(--ease); pointer-events: none; }
.testi-slide.active { opacity: 1; transform: translateY(0); pointer-events: auto; }
.stars { color: var(--gold); letter-spacing: .2em; font-size: 1.1rem; margin-bottom: 20px; }
.testi-quote { font-family: var(--font-display); font-size: clamp(1.4rem, 3vw, 2.1rem); line-height: 1.3; font-style: italic; }
.testi-who { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 28px; }
.testi-ava { width: 52px; height: 52px; border-radius: 50%; overflow: hidden; border: 1px solid var(--border); flex-shrink: 0; }
.testi-ava .ph, .testi-ava img { width: 100%; height: 100%; object-fit: cover; }
.testi-initials { display: grid; place-items: center; background: var(--gold-soft); border-color: var(--gold); color: var(--gold); font-family: var(--font-display); font-size: 1.2rem; font-weight: 600; letter-spacing: .02em; }
.testi-name { text-align: left; }
.testi-name b { display: block; font-size: .98rem; }
.testi-name small { color: var(--ink-3); font-size: .82rem; }
.testi-dots { display: flex; gap: 10px; justify-content: center; margin-top: 34px; }
.testi-dots button { width: 9px; height: 9px; border-radius: 50%; border: none; background: var(--surface-2); transition: background .3s, width .3s; }
.testi-dots button.active { background: var(--gold); width: 26px; border-radius: 100px; }

/* ---------- Service detail rows ---------- */
.svc-row { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(34px,6vw,80px); align-items: center; padding-block: clamp(50px, 8vh, 90px); border-top: 1px solid var(--border-2); }
.svc-row:first-of-type { border-top: none; }
.svc-row.rev .svc-text { order: 2; }
@media (max-width: 900px) { .svc-row, .svc-row.rev { grid-template-columns: 1fr; } .svc-row.rev .svc-text { order: 0; } }
.svc-media { position: relative; aspect-ratio: 5/4; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border); }
.svc-media .ph, .svc-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.svc-text h2 { font-family: var(--font-display); font-size: clamp(1.9rem, 4vw, 2.9rem); margin-top: 14px; }
.svc-text p { color: var(--ink-2); margin-top: 18px; }
.benefits { list-style: none; margin-top: 26px; display: grid; gap: 12px; }
.benefits li { display: flex; gap: 13px; align-items: flex-start; color: var(--ink); }
.benefits li svg { width: 20px; height: 20px; color: var(--gold); flex-shrink: 0; margin-top: 3px; }
.svc-cta { margin-top: 28px; padding: 18px 22px; background: var(--surface); border: 1px solid var(--border); border-left: 2px solid var(--gold); border-radius: var(--radius); color: var(--ink-2); font-size: .96rem; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(34px,5vw,64px); }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: .76rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 8px; }
.field input, .field select, .field textarea {
  width: 100%; background: var(--bg-2); border: 1px solid var(--border-2); color: var(--ink); padding: 14px 15px;
  border-radius: var(--radius); font-family: inherit; font-size: 1rem; outline: none; transition: border-color .3s var(--ease), background .3s;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--gold); background: var(--bg-3); }
.field input.err, .field textarea.err { border-color: #c0563f; }
.field .msg { font-size: .78rem; color: #d57a64; margin-top: 6px; display: none; }
.field .msg.show { display: block; }
.contact-info-row { display: flex; align-items: flex-start; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--border-2); }
.contact-info-row svg { width: 22px; height: 22px; color: var(--gold); flex-shrink: 0; margin-top: 3px; }
.contact-info-row b { display: block; font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 4px; font-weight: 600; }
.map-frame { width: 100%; aspect-ratio: 16/10; border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; }
.map-frame iframe { width: 100%; height: 100%; border: 0; filter: grayscale(0.4) contrast(1.05); }
.form-ok { padding: 40px; text-align: center; border: 1px solid var(--gold); border-radius: var(--radius-lg); background: var(--gold-soft); display: none; }
.form-ok.show { display: block; }
.form-ok svg { width: 46px; height: 46px; color: var(--gold); margin: 0 auto 16px; }

/* ---------- Social ---------- */
.socials { display: flex; gap: 12px; }
.soc {
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--border-2);
  color: var(--ink-2); background: var(--surface); transition: transform .3s var(--ease), border-color .3s, color .3s, box-shadow .3s;
}
.soc:hover { color: var(--gold-bright); border-color: var(--gold); transform: translateY(-3px); box-shadow: var(--shadow-gold); }
.soc svg { width: 19px; height: 19px; }

/* ---------- Footer ---------- */
.site-foot { background: var(--bg-2); border-top: 1px solid var(--border-2); padding-block: 64px 30px; position: relative; }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
@media (max-width: 860px) { .foot-grid { grid-template-columns: 1fr 1fr; gap: 32px; } }
@media (max-width: 520px) { .foot-grid { grid-template-columns: 1fr; } }
.foot-col h4 { font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 18px; }
.foot-col a { display: block; color: var(--ink-2); padding: 6px 0; position: relative; width: fit-content; transition: color .3s var(--ease); }
.foot-col a::after { content: ""; position: absolute; left: 0; bottom: 4px; height: 1.5px; width: 100%; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease); }
.foot-col a:hover { color: var(--ink); }
.foot-col a:hover::after { transform: scaleX(1); }
.foot-brand p { color: var(--ink-2); margin-top: 16px; max-width: 34ch; font-size: .95rem; }
.foot-bottom { display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; align-items: center; margin-top: 56px; padding-top: 26px; border-top: 1px solid var(--border-2); color: var(--ink-3); font-size: .82rem; }

/* ---------- Reveal animation ---------- */
[data-reveal] { opacity: 0; transform: translateY(34px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
[data-reveal].in { opacity: 1; transform: none; }
[data-reveal][data-d="1"] { transition-delay: .08s; }
[data-reveal][data-d="2"] { transition-delay: .16s; }
[data-reveal][data-d="3"] { transition-delay: .24s; }
[data-reveal][data-d="4"] { transition-delay: .32s; }
@media (prefers-reduced-motion: reduce) { [data-reveal] { opacity: 1 !important; transform: none !important; } }

/* ---------- Responsive refinements (phone / tablet / desktop) ---------- */
@media (hover: none) and (pointer: coarse) {
  .icon-btn { width: 46px; height: 46px; }
  .nav-main a { padding-block: 8px; }
  .foot-col a { padding: 9px 0; }
  .contact-menu a { padding: 13px; }
}
@media (max-width: 1024px) {
  .split { gap: clamp(28px, 5vw, 60px); }
}
@media (max-width: 680px) {
  .hero h1 { font-size: clamp(2.1rem, 9.5vw, 3.1rem); line-height: 1.08; }
  .hero:not(.page-hero) h1 { font-size: clamp(2.6rem, 11vw, 3.8rem); }
  .hero:not(.page-hero) .lede { font-size: 1.12rem; }
  .hero .lede { font-size: 1.02rem; }
  .hero.page-hero h1 { font-size: clamp(1.7rem, 7vw, 2.3rem); }
  .band { padding-block: clamp(54px, 9vh, 88px); }
  .section-head { margin-bottom: 38px; }
  .section-head h2 { font-size: clamp(1.9rem, 7vw, 2.6rem); }
  .stats { gap: 12px; }
  .stat { padding: 22px 18px; }
  .stat .n { font-size: clamp(2.3rem, 12vw, 3rem); }
  .testi-quote { font-size: 1.28rem; }
  .prose p { font-size: 1.02rem; }
  .prose h2 { margin-top: 38px; }
  .map-frame { aspect-ratio: 4/3; }
  .hero-cta-row { gap: 12px; }
  .hero-cta-row .cta-btn, .hero-cta-row .btn-ghost { flex: 1 1 auto; justify-content: center; }
}
@media (max-width: 420px) {
  .head-right { gap: 3px; }
  .wrap { padding-inline: 18px; }
  .brand-name { font-size: 1.02rem; }
  .hero h1 { font-size: clamp(2rem, 9vw, 2.6rem); }
  .hero:not(.page-hero) h1 { font-size: clamp(2.3rem, 10.5vw, 3.1rem); }
  .cta-btn, .btn-ghost { font-size: .8rem; }
  .testi-quote { font-size: 1.15rem; }
}

/* page transition veil */
.page-veil { position: fixed; inset: 0; z-index: 150; background: var(--bg); pointer-events: none; opacity: 0; transition: opacity .45s var(--ease); }
.page-veil.show { opacity: 1; }

/* read-aloud highlight */
.ra-on [data-ra]:hover { outline: 1px dashed var(--gold); outline-offset: 4px; border-radius: 2px; }
.ra-speaking { background: var(--gold-soft); }

/* utility */
.lead-big { font-size: clamp(1.3rem, 3vw, 2rem); font-family: var(--font-display); line-height: 1.4; color: var(--ink); }

/* ---------- Mobile bottom nav ---------- */
.mob-nav {
  display: none;
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 82;
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  border-top: 1px solid var(--border-2);
  padding: 8px 0 max(8px, env(safe-area-inset-bottom));
  grid-template-columns: repeat(4, 1fr);
}
@media (max-width: 980px) { .mob-nav { display: grid; } }
.mob-nav-item {
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  color: var(--ink-3); font-size: .62rem; letter-spacing: .06em; text-transform: uppercase;
  padding: 6px 4px; text-decoration: none; transition: color .25s var(--ease);
}
.mob-nav-item svg { width: 22px; height: 22px; }
.mob-nav-item.active, .mob-nav-item[aria-current="page"] { color: var(--gold); }
.mob-nav-item:hover { color: var(--gold); }
/* add bottom padding so content clears the bottom nav on mobile */
@media (max-width: 980px) { .site-foot { padding-bottom: calc(80px + env(safe-area-inset-bottom)); } main { padding-bottom: 72px; } }
.prose { max-width: 760px; }
.prose p { color: var(--ink-2); margin-top: 18px; font-size: 1.08rem; line-height: 1.75; }
.prose p.lead-big { color: var(--ink); margin-top: 0; }
.prose h2 { font-family: var(--font-display); font-size: clamp(1.6rem, 3.2vw, 2.3rem); margin-top: 46px; color: var(--ink); }
.prose ul { margin-top: 18px; padding-left: 0; list-style: none; display: grid; gap: 12px; }
.prose ul li { position: relative; padding-left: 26px; color: var(--ink-2); }
.prose ul li::before { content: ""; position: absolute; left: 4px; top: 11px; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); }
.breadcrumb { display: flex; gap: 9px; align-items: center; font-size: .78rem; color: var(--ink-3); letter-spacing: .04em; flex-wrap: wrap; }
.breadcrumb a { color: var(--ink-3); position: relative; }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb .sep { opacity: .45; }
.blog-meta { display: flex; gap: 14px; align-items: center; color: var(--ink-3); font-size: .85rem; margin-top: 22px; flex-wrap: wrap; }
.blog-meta .dot { width: 4px; height: 4px; border-radius: 50%; background: var(--gold); }
.related { margin-top: 60px; padding-top: 34px; border-top: 1px solid var(--border-2); }
.related h4 { font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 12px; }
.related a { display: flex; justify-content: space-between; gap: 16px; align-items: center; color: var(--ink); padding: 15px 0; border-bottom: 1px solid var(--border-2); transition: color .3s var(--ease); }
.related a:hover { color: var(--gold); }
.related a svg { width: 17px; height: 17px; color: var(--gold); flex-shrink: 0; transition: transform .3s var(--ease); }
.related a:hover svg { transform: translateX(4px); }
.muted { color: var(--ink-3); }
.center { text-align: center; }
.mt-s { margin-top: 18px; } .mt-m { margin-top: 34px; } .mt-l { margin-top: 56px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }
.tll-note { display: inline-block; margin-left: 10px; font-size: .7rem; color: var(--ink-3); font-style: italic; }
