/* ============================================================
   SIRIWAN & PARTNERS — attorneys at law
   Palette: deep umber chambers / brass / oxblood / gold CTA (dark theme)
   Type: DM Serif Display (display) + Jost (text)
   ============================================================ */
@font-face { font-family: "DM Serif Display"; src: url("../assets/fonts/dmserif.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Jost"; src: url("../assets/fonts/jost.woff2") format("woff2"); font-weight: 300 700; font-display: swap; }

:root {
  --bg: #201B16;
  --surface: #2B251E;
  --ink: #F0EADD;
  --ink-soft: #B4A893;
  --pass: #9C4130;
  --pass-soft: #3A2A24;
  --gold: #C9A227;
  --gold-deep: #A98417;
  --brass: #B08D57;
  --line: #453B2F;
  --radius: 18px;
  --shadow: 0 24px 60px -24px rgba(0, 0, 0, .75);
  --ff-d: "DM Serif Display", Georgia, serif;
  --ff-t: "Jost", system-ui, sans-serif;
  --ease: cubic-bezier(.22, .8, .28, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
body {
  font-family: var(--ff-t);
  background: var(--bg);
  color: var(--ink);
  font-weight: 300;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
h1, h2, h3 { font-family: var(--ff-d); font-weight: 400; line-height: 1.1; letter-spacing: .005em; }
h2 { font-size: clamp(2rem, 3.8vw, 3.1rem); }

.skip { position: absolute; left: -999px; top: 0; background: var(--pass); color: #fff; padding: .6rem 1rem; z-index: 200; border-radius: 0 0 10px 0; }
.skip:focus { left: 0; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 4px; }

/* ---------- header ---------- */
.site-head {
  position: fixed; inset: 0 0 auto 0; z-index: 60;
  display: flex; align-items: center; gap: 2rem;
  padding: .9rem clamp(1rem, 4vw, 3rem);
  color: #fff; transition: background .45s var(--ease), color .45s var(--ease), box-shadow .45s var(--ease);
}
.site-head.solid { background: rgba(32, 27, 22, .94); color: var(--ink); box-shadow: 0 1px 0 var(--line); backdrop-filter: blur(10px); }
.brand { font-family: var(--ff-d); font-size: 1.08rem; letter-spacing: .18em; text-decoration: none; color: inherit; white-space: nowrap; }
.brand span { display: block; font-family: var(--ff-t); font-size: .58rem; letter-spacing: .3em; opacity: .75; margin-top: .15rem; }
.head-nav { display: flex; gap: 1.2rem; margin-left: auto; }
.head-nav a { color: inherit; text-decoration: none; font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; opacity: .9; }
.head-nav a:hover { opacity: 1; }
@media (max-width: 900px) { .head-nav { display: none; } }

/* ---------- buttons (flat, gold) ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font: 700 .84rem/1 var(--ff-t); letter-spacing: .05em;
  padding: .85rem 1.5rem; border-radius: 999px; border: 1.5px solid transparent;
  cursor: pointer; text-decoration: none;
  transition: transform .2s var(--ease), background .2s, color .2s, border-color .2s;
  min-height: 44px;
}
.btn:active { transform: scale(.97); }
.btn-gold { background: var(--gold); color: #161207; }
.btn-gold:hover { background: var(--gold-deep); color: #161207; }
.btn-ghost { border-color: currentColor; color: inherit; background: transparent; }
.btn-lg { padding: 1.05rem 2.2rem; font-size: .95rem; }

/* ---------- hero ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; overflow: hidden; }
.hero picture, .hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-veil { position: absolute; inset: 0; background:
  linear-gradient(180deg, rgba(8,6,4,.5) 0%, rgba(8,6,4,.1) 38%, rgba(8,6,4,.66) 100%); }
.hero-inner { position: relative; z-index: 2; width: min(1200px, 92%); margin: 0 auto; padding-bottom: clamp(7rem, 18vh, 11rem); color: #fff; }
.hero-eyebrow { font-size: .74rem; letter-spacing: .34em; text-transform: uppercase; opacity: .88; margin-bottom: 1.1rem; }
.hero h1 { font-size: clamp(2.9rem, 7.4vw, 5.9rem); max-width: 12ch; }
.hero h1 em { font-style: italic; color: #E4C896; }
.hero-sub { margin-top: 1.2rem; max-width: 48ch; font-size: clamp(.95rem, 1.4vw, 1.08rem); opacity: .94; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 2rem; }

/* ---------- generic ---------- */
.sec-head { max-width: 1280px; margin: 0 auto 2.8rem; padding: 0 clamp(1.2rem, 5vw, 4rem); }
.sec-head p { color: var(--ink-soft); max-width: 58ch; margin-top: .8rem; }

/* ---------- case files (accordion) ---------- */
.practice { padding: clamp(4.5rem, 10vh, 8rem) 0 clamp(3rem, 7vh, 5rem); }
.case-files { max-width: 980px; margin: 0 auto; padding: 0 clamp(1.2rem, 5vw, 4rem); }
.case {
  background: var(--surface); border: 1px solid var(--line); border-radius: 14px;
  margin-bottom: .8rem; overflow: hidden; transition: border-color .3s var(--ease);
}
.case[open] { border-color: var(--brass); }
.case summary {
  display: flex; align-items: baseline; gap: 1.1rem; cursor: pointer; list-style: none;
  padding: 1.15rem 1.4rem; transition: background .25s var(--ease);
}
.case summary::-webkit-details-marker { display: none; }
.case summary:hover { background: rgba(176, 141, 87, .08); }
.case-num { font: 400 1.05rem var(--ff-d); color: var(--brass); letter-spacing: .08em; }
.case-name { font: 400 1.3rem var(--ff-d); flex: 1; min-width: 0; }
.case-fee { font: 400 1.15rem var(--ff-d); color: var(--brass); white-space: nowrap; }
.case-mark { position: relative; width: 14px; height: 14px; align-self: center; }
.case-mark::before, .case-mark::after {
  content: ""; position: absolute; background: var(--brass); transition: transform .3s var(--ease);
}
.case-mark::before { left: 0; right: 0; top: 6px; height: 2px; }
.case-mark::after { top: 0; bottom: 0; left: 6px; width: 2px; }
.case[open] .case-mark::after { transform: scaleY(0); }
.case-body { padding: 0 1.4rem 1.35rem calc(1.4rem + 2.1rem); }
.case-blurb { color: var(--ink-soft); font-size: .92rem; max-width: 58ch; }
.case-meta { font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--brass); margin: .55rem 0 1rem; }
.case-open { margin-top: .2rem; }
@media (max-width: 640px) {
  .case summary { flex-wrap: wrap; gap: .4rem 1rem; padding: 1rem 1.1rem; }
  .case-name { flex-basis: calc(100% - 4rem); }
  .case-body { padding-left: 1.1rem; }
}

/* ---------- services ---------- */
.services { padding: clamp(4.5rem, 10vh, 8rem) 0 clamp(3rem, 7vh, 5rem); }
.svc-grid {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.3rem; max-width: 1280px; margin: 0 auto; padding: 0 clamp(1.2rem, 5vw, 4rem);
}
.svc {
  display: block; width: 100%; text-align: left; font: inherit; color: inherit;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; cursor: pointer; transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.svc:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.svc-media { overflow: hidden; }
.svc-media img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; transition: transform .6s var(--ease); }
.svc:hover .svc-media img { transform: scale(1.05); }
.svc-body { padding: 1.1rem 1.2rem 1.25rem; }
.svc-body h3 { font-size: 1.3rem; }
.svc-meta { font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--brass); display: block; margin: .35rem 0 .45rem; }
.svc-blurb { color: var(--ink-soft); font-size: .86rem; min-height: 4.6em; }
.svc-foot { display: flex; align-items: baseline; justify-content: space-between; margin-top: .85rem; }
.svc-price { font: 400 1.25rem var(--ff-d); }
.svc-go { font: 700 .72rem var(--ff-t); letter-spacing: .12em; text-transform: uppercase; color: var(--pass); }
@media (max-width: 1080px) { .svc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .svc-grid { grid-template-columns: minmax(0, 1fr); } }

/* ---------- first consultation (vertical brass timeline) ---------- */
.approach { background: var(--surface); border-block: 1px solid var(--line); padding: clamp(4.5rem, 10vh, 8rem) 0; }
.steps-v { list-style: none; max-width: 760px; margin: 0 auto; padding: 0 clamp(1.2rem, 5vw, 4rem); }
.steps-v li { position: relative; padding: 0 0 2.2rem 2.4rem; border-left: 2px solid var(--brass); }
.steps-v li:last-child { border-left-color: transparent; padding-bottom: .2rem; }
.steps-v li::before {
  content: ""; position: absolute; left: -8px; top: 0; width: 14px; height: 14px; border-radius: 50%;
  background: var(--brass); box-shadow: 0 0 0 3px var(--bg);
}
.steps-v h3 { font-size: 1.3rem; margin-bottom: .4rem; }
.steps-v p { color: var(--ink-soft); font-size: .92rem; max-width: 52ch; }

/* ---------- process ---------- */
.process { background: var(--surface); border-block: 1px solid var(--line); padding: clamp(4.5rem, 10vh, 8rem) 0; }
.proc-steps {
  list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.6rem;
  max-width: 1280px; margin: 0 auto; padding: 0 clamp(1.2rem, 5vw, 4rem); counter-reset: step;
}
.proc-steps li { border-top: 2px solid var(--brass); padding-top: 1.1rem; }
.proc-num { font: 400 2rem var(--ff-d); color: var(--brass); display: block; margin-bottom: .5rem; }
.proc-steps h3 { font-size: 1.2rem; margin-bottom: .45rem; }
.proc-steps p { color: var(--ink-soft); font-size: .88rem; }
@media (max-width: 980px) { .proc-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .proc-steps { grid-template-columns: minmax(0, 1fr); } }

/* ---------- airport band (parallax, cinematic) ---------- */
.law-band { position: relative; overflow: hidden; height: clamp(440px, 66vh, 620px); }
.law-band img { position: absolute; inset: -12% 0; width: 100%; height: 124%; object-fit: cover; }
.law-band::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, rgba(0,0,0,.22) 0%, rgba(0,0,0,.06) 42%, rgba(0,0,0,.4) 100%);
}
.band-copy {
  position: absolute; inset: 0; z-index: 3; display: flex; flex-direction: column; justify-content: center; gap: 1.1rem;
  width: min(620px, 92%); margin: 0 auto 0 clamp(1.2rem, 8vw, 8rem);
  color: #fff;
  text-shadow: 0 2px 6px rgba(0,0,0,.65), 0 8px 26px rgba(0,0,0,.55), 0 18px 60px rgba(0,0,0,.45);
  padding: clamp(1.4rem, 2.6vw, 2.3rem);
}
.band-copy p { font-size: .98rem; opacity: .95; }
@media (max-width: 700px) { .band-copy { margin: 0 auto; width: min(620px, 92%); } }

/* ---------- the memo (opinion letter sheet) ---------- */
.memo { padding: clamp(4.5rem, 10vh, 8rem) 0; text-align: center; }
.memo .sec-head { margin-bottom: 2.4rem; }
.memo-sheet {
  width: min(720px, 92%); margin: 0 auto; text-align: left;
  background: #F6F1E5; color: #241C12; border-radius: 6px;
  padding: clamp(1.6rem, 4vw, 3rem) clamp(1.4rem, 4vw, 3.2rem);
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .65), 0 2px 0 rgba(255, 255, 255, .06);
}
.memo-head { font: 400 .8rem var(--ff-t); letter-spacing: .3em; text-transform: uppercase; color: #6B5636; }
.memo-rule { border: 0; border-top: 2px solid #B08D57; margin: 1rem 0 1.5rem; }
.memo-lines { list-style: none; counter-reset: memo; display: grid; gap: 1rem; }
.memo-lines li {
  counter-increment: memo; position: relative; padding-left: 2.6rem;
  font: 400 1.18rem/1.5 var(--ff-d);
}
.memo-lines li::before {
  content: counter(memo, decimal-leading-zero); position: absolute; left: 0; top: .18rem;
  font: 400 .95rem var(--ff-t); color: #B08D57; letter-spacing: .08em;
}
.memo-sig { margin-top: 1.6rem; font-style: italic; font-family: var(--ff-d); font-size: 1.05rem; color: #6B5636; }
.memo-cap { color: var(--ink-soft); max-width: 58ch; margin: 1.8rem auto 0; }
.memo-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: .9rem; margin-top: 1.6rem; }

/* ---------- checklist ---------- */
.answers { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; max-width: 1280px; margin: 0 auto; padding: clamp(4.5rem, 10vh, 8rem) clamp(1.2rem, 5vw, 4rem); }
.ans-photo img { width: 100%; height: clamp(320px, 50vw, 560px); object-fit: cover; border-radius: var(--radius); }
.ans-copy > p { color: var(--ink-soft); max-width: 48ch; margin: .8rem 0 1.4rem; }
.ans-list { list-style: none; display: grid; gap: .55rem; }
.ans-list li { font-size: .94rem; padding: .55rem 0 .55rem 1.5rem; position: relative; border-bottom: 1px dashed var(--line); }
.ans-list li::before { content: "✓"; position: absolute; left: 0; top: .55rem; font-weight: 700; color: var(--pass); }
.ans-actions { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 1.6rem; }
@media (max-width: 860px) { .answers { grid-template-columns: 1fr; } .ans-photo { order: -1; } }

/* ---------- reviews ---------- */
.reviews { max-width: 1200px; margin: 0 auto; padding: clamp(3rem, 7vh, 5rem) clamp(1.2rem, 5vw, 4rem) 0; }
.reviews h2 { margin-bottom: 2.2rem; }
.rev-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, minmax(0, 1fr))); gap: 2.4rem 2rem; }
.rev { border-top: 2px solid var(--brass); padding-top: 1rem; }
.rev .stars { color: var(--gold-deep); letter-spacing: .18em; font-size: .8rem; }
.rev p { margin: .6rem 0 .8rem; font-size: .95rem; }
.rev cite { font-style: normal; font-size: .8rem; color: var(--ink-soft); }
.rev-note { margin-top: 2rem; font-size: .72rem; color: var(--ink-soft); }

/* ---------- visit ---------- */
.visit { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; max-width: 1280px; margin: 0 auto; padding: clamp(4.5rem, 10vh, 8rem) clamp(1.2rem, 5vw, 4rem); }
.visit-photo img { width: 100%; height: clamp(300px, 46vw, 540px); object-fit: cover; border-radius: var(--radius); }
.visit-copy > p { color: var(--ink-soft); max-width: 46ch; margin: .8rem 0 0; }
@media (max-width: 860px) { .visit { grid-template-columns: 1fr; } .visit-photo { order: -1; } }

/* ---------- facts ---------- */
.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.1rem 2rem; margin: 1.8rem 0 0; }
.facts dt { font-size: .68rem; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-soft); }
.facts dd { font: 400 1.15rem var(--ff-d); margin-top: .15rem; }

/* ---------- faq ---------- */
.faq { max-width: 860px; margin: 0 auto; padding: 0 clamp(1.2rem, 5vw, 4rem) clamp(4.5rem, 10vh, 8rem); }
.faq h2 { margin-bottom: 1.6rem; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; justify-content: space-between; align-items: center; cursor: pointer; list-style: none; padding: 1.1rem .2rem; font: 700 1rem var(--ff-t); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.3rem; color: var(--brass); transition: transform .25s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq p { padding: 0 .2rem 1.2rem; color: var(--ink-soft); max-width: 62ch; }

/* ---------- closer ---------- */
.closer { position: relative; overflow: hidden; height: clamp(440px, 66vh, 640px); }
.closer img { width: 100%; height: 100%; object-fit: cover; }
.closer-inner { position: absolute; inset: 0; z-index: 2; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1.6rem; text-align: center; color: #fff; background: rgba(8,6,4,.55); padding: 1rem; }
.closer h2 { font-size: clamp(2rem, 5vw, 3.4rem); max-width: 16ch; text-shadow: 0 2px 24px rgba(0,0,0,.5); }

/* ---------- footer ---------- */
.site-foot { background: #191510; color: rgba(255,255,255,.82); text-align: center; padding: 3.2rem 1.4rem 2.4rem; }
.foot-brand { font-family: var(--ff-d); letter-spacing: .24em; font-size: 1rem; color: #fff; }
.foot-addr { font-size: .82rem; margin: .8rem 0 1.4rem; }
.foot-nav { display: flex; justify-content: center; gap: 1.6rem; flex-wrap: wrap; margin-bottom: 1.6rem; }
.foot-nav a { color: rgba(255,255,255,.88); text-decoration: none; font-size: .84rem; }
.foot-credit { font-size: .74rem; color: rgba(255,255,255,.58); }
.foot-credit a { color: var(--gold); }

/* ---------- drawer ---------- */
.drawer-veil { position: fixed; inset: 0; background: rgba(8,6,4,.55); z-index: 90; backdrop-filter: blur(2px); }
.drawer {
  position: fixed; z-index: 100; inset: 0 0 0 auto; width: min(480px, 100%);
  background: var(--surface); box-shadow: var(--shadow); padding: 1.6rem 1.7rem 2rem; overflow-y: auto;
}
.drawer-x { position: absolute; top: 1rem; right: 1rem; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: none; font-size: 1rem; cursor: pointer; color: var(--ink); }
.drawer h2 { font-size: 1.8rem; margin: .4rem 0 .2rem; }
.drawer .sub { color: var(--ink-soft); font-size: .88rem; margin-bottom: 1.3rem; }
.dr-field { margin-bottom: 1rem; }
.dr-field label { display: block; font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: .3rem; }
.dr-field input, .dr-field select, .dr-field textarea {
  width: 100%; min-width: 0; border: 1px solid var(--line); border-radius: 10px; background: #241F19; color: var(--ink);
  font: 400 .95rem var(--ff-t); color: var(--ink); padding: .7rem .85rem;
}
.dr-field textarea { min-height: 76px; resize: vertical; }
.dr-grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .8rem; }
.dr-note { font-size: .74rem; color: var(--ink-soft); margin: .8rem 0 1.2rem; }
.dr-success { text-align: center; padding: 2.4rem .6rem; }
.dr-success .ok { width: 64px; height: 64px; margin: 0 auto 1.2rem; border-radius: 50%; background: var(--pass); color: #fff; display: grid; place-items: center; font-size: 1.7rem; }
.dr-success h2 { margin-bottom: .6rem; }
.dr-success p { color: var(--ink-soft); font-size: .92rem; margin-bottom: 1.4rem; }
@media (max-width: 480px) { .drawer { padding: 1.3rem 1.1rem 1.6rem; } }

/* ---------- reveal & scroll motion ---------- */
.rv { opacity: 0; transform: translateY(30px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.rv.in { opacity: 1; transform: none; }
.rv[data-rv="zoom"] { transform: scale(.95); }
.rv[data-rv="zoom"].in { transform: none; }
[data-parallax] { will-change: transform; }
@media (prefers-reduced-motion: reduce) {
  .rv, .rv[data-rv="zoom"] { opacity: 1; transform: none; }
  [data-parallax] { transform: none !important; }
}

/* ============================================================
   GOLDEN RULES PATCH v1 — never break these again
   ============================================================ */

/* 1. IMAGES NEVER STRETCH BEYOND THEIR NATIVE ASPECT RATIO.
   The HTML height="" attribute loses to this rule by design. */
img { height: auto; }

/* 2. CARD INNER WRAPPERS ARE BLOCK — padding works, no baseline gap
   (the "white line" above card images was the inline baseline gap). */
.visit-copy {
  display: block;
}

/* 3. NO ORPHAN WORDS — headings balance, body avoids lone last words. */
h1, h2, h3, .band-copy h2, .closer h2 { text-wrap: balance; }
p, .hero-sub, .sec-head p, .case-blurb, .steps-v p, .memo-lines li, .band-copy p { text-wrap: pretty; }

/* 4. HEADER ALWAYS READABLE — permanent top scrim + text shadows. */
.site-head::before {
  content: "";
  position: absolute; inset: 0 0 auto 0; height: 150px;
  background: linear-gradient(180deg, rgba(0,0,0,.6) 0%, rgba(0,0,0,.34) 55%, rgba(0,0,0,0) 100%);
  pointer-events: none; z-index: 2;
  transition: opacity .45s var(--ease, ease);
}
.site-head.solid::before { opacity: 0; }
.site-head .brand, .site-head .head-nav a, .site-head .hero-eyebrow {
  position: relative; z-index: 3;
  text-shadow: 0 1px 14px rgba(0,0,0,.55), 0 0 2px rgba(0,0,0,.4);
}
.site-head.solid .brand, .site-head.solid .head-nav a { text-shadow: none; }
.hero-eyebrow, .hero-sub { text-shadow: 0 2px 5px rgba(0,0,0,.6), 0 10px 30px rgba(0,0,0,.45); }

/* 5. GHOST BUTTONS GET GLASS — always visible on any photo. */
.btn-ghost {
  background: rgba(14,12,9,.45);
  border-color: rgba(255,255,255,.78);
  text-shadow: 0 1px 10px rgba(0,0,0,.35);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.18), 0 4px 18px -8px rgba(0,0,0,.5);
}
.site-head.solid .btn-ghost {
  background: transparent;
  -webkit-backdrop-filter: none; backdrop-filter: none;
  border-color: currentColor; text-shadow: none; box-shadow: none;
}

/* 6. GOLD/SOLID CTA SHINE SWEEP EVERY ~6.5s — noticed, never garish. */
.btn-gold, .btn-solid { position: relative; overflow: hidden; isolation: isolate; }
.btn-gold::after, .btn-solid::after {
  content: ""; position: absolute; top: -40%; bottom: -40%; left: -80%;
  width: 45%; transform: skewX(-22deg);
  background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,.5) 50%, rgba(255,255,255,0) 100%);
  opacity: 0; pointer-events: none;
  animation: cta-shine 6.5s ease-in-out infinite;
}
.btn-gold:hover::after, .btn-solid:hover::after { animation: none; opacity: 0; }
@keyframes cta-shine {
  0%, 76% { left: -80%; opacity: 0; }
  80%     { opacity: .85; }
  94%,100%{ left: 130%; opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .btn-gold::after, .btn-solid::after { animation: none; opacity: 0 !important; }
}

/* -- header nav links get backed pills ----------------------------- */
.head-nav a {
  background: rgba(10, 10, 14, .30);
  border: 1px solid rgba(255, 255, 255, .34);
  box-shadow: 0 2px 14px rgba(0,0,0,.45);
  border-radius: 999px;
  padding: .5rem .95rem;
  text-shadow: 0 1px 4px rgba(0,0,0,.85), 0 4px 16px rgba(0,0,0,.6);
  transition: background .3s var(--ease, ease), border-color .3s, color .3s;
}
.site-head.solid .head-nav a {
  background: transparent;
  border-color: transparent;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  text-shadow: none;
}

/* -- Cinematic v4: deep text shadows + animated photo-hue glow ----- */
@keyframes text-glow-breathe {
  0%, 100% { text-shadow: 0 2px 6px rgba(0,0,0,.65), 0 8px 26px rgba(0,0,0,.55), 0 18px 60px rgba(0,0,0,.45), 0 0 18px rgba(var(--s8-glow, 176,141,87), .5), 0 0 44px rgba(var(--s8-glow, 176,141,87), .25); }
  50%      { text-shadow: 0 2px 6px rgba(0,0,0,.65), 0 8px 26px rgba(0,0,0,.55), 0 18px 60px rgba(0,0,0,.45), 0 0 26px rgba(var(--s8-glow, 176,141,87), .7), 0 0 70px rgba(var(--s8-glow, 176,141,87), .45); }
}
@media (prefers-reduced-motion: reduce) {
  .hero h1, .hero-eyebrow, .hero-sub, .band-copy, .closer h2 { animation: none !important; }
}
.hero h1, .band-copy, .closer h2 { animation: text-glow-breathe 7s ease-in-out infinite; }

/* == GOLDEN-UPDATE-V2 : header layering + mobile compaction == */
/* every direct header child sits ABOVE the top scrim — brand, nav, CTA and
   the language flag are never dimmed by the hero-darkening gradient */
.site-head > * { position: relative; z-index: 3; }
/* language flag lives at the far right of the header, next to CTA */
.site-head > [data-lang-switch] { order: 9; margin-left: .1rem; }
@media (max-width: 700px) {
  .site-head { gap: .7rem; padding-inline: 1rem; }
  .site-head .brand { font-size: .92rem; letter-spacing: .12em; }
  .brand span { display: none; }
  .lang-btn { width: 32px; height: 32px; }
  .site-head > [data-lang-switch] { margin-left: auto; }
  .site-head .btn { padding: .6rem .85rem; font-size: .74rem; min-height: 38px;
    line-height: 1.1; white-space: nowrap; }
}
/* compact badge lives inside the hero copy */
.hero .gr-badge { margin-top: 1.25rem; }
/* full review cards: spacing when stacked under the site's own quotes */
.gr-cards { margin-block: 2rem .6rem; }
