/* ==========================================================================
   Gold & Gold, P.A. | Miami Medical Malpractice
   Palette: evergreen ink, marble, brass gold. Type: Bodoni Moda + Instrument Sans.
   Signature: the heartbeat (ECG) line that runs through the page.
   ========================================================================== */

:root {
  --night: #0B100E;
  --ink: #121A17;
  --ink-2: #19231F;
  --ink-3: #24302B;
  --marble: #E8E9E3;
  --paper: #F5F5F0;
  --white: #FFFFFF;
  --gold: #C9A55E;
  --gold-hi: #E2C47F;
  --gold-lo: #8F7034;
  --text: #16201C;
  --body: #34413C;
  --muted: #5A6863;
  --muted-d: #A1AFA9;
  --line: rgba(18, 26, 23, .13);
  --line-d: rgba(232, 233, 227, .14);
  --red: #B3261E;
  --focus: var(--ink);

  --f-serif: "Bodoni Moda", "Bodoni 72", Didot, "Times New Roman", serif;
  --f-sans: "Instrument Sans", "Helvetica Neue", Arial, system-ui, sans-serif;

  --wrap: 1320px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --sp: clamp(5rem, 10vw, 9rem);
  --header-h: 78px;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
  --spring: cubic-bezier(.34, 1.56, .64, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: hidden; overflow-x: clip; }
main > section { overflow-x: clip; }
body {
  margin: 0; font-family: var(--f-sans); font-size: 1.0625rem; line-height: 1.65;
  color: var(--text); background: var(--paper);
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; overflow-x: hidden;
}
img, video, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; -webkit-tap-highlight-color: transparent; }
h1, h2, h3, p, ul, ol, dl, dd, figure, fieldset, blockquote { margin: 0; }
:where(ul[role="list"], ol[role="list"]) { list-style: none; padding: 0; }
fieldset { border: 0; padding: 0; min-width: 0; }
[hidden] { display: none !important; }
section[id] { scroll-margin-top: calc(var(--header-h) - 1px); }
svg use { pointer-events: none; }

.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; left: 1rem; top: -100px; z-index: 300; background: var(--gold); color: var(--ink); padding: .75rem 1rem; border-radius: 8px; font-weight: 700; text-decoration: none; }
.skip-link:focus { top: 1rem; }

.hero, .cases, .team, .clock, .final, .site-footer, .site-header, .mobile-menu, .action-bar, .honors, .to-top { --focus: var(--gold-hi); }
:focus { outline: none; }
:focus-visible { outline: 2.5px solid var(--focus); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }

/* ---------- Type ---------- */
.h2 {
  font-family: var(--f-serif); font-weight: 500; font-optical-sizing: auto;
  font-size: clamp(2.3rem, 5vw, 4.2rem); line-height: 1.02; letter-spacing: -.02em;
  max-width: 17ch; text-wrap: balance;
}
.section-head { display: grid; gap: 1.25rem; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-intro { color: var(--muted); font-size: clamp(1.08rem, 1.3vw, 1.22rem); max-width: 44ch; text-wrap: pretty; }
.fine { margin-top: 2rem; font-size: .88rem; line-height: 1.5; color: var(--muted); max-width: 70ch; }
.opt { font-weight: 400; color: var(--muted); }

/* Word-by-word heading reveal */
.w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.w > span { display: inline-block; transition: transform 1s var(--ease); transition-delay: calc(var(--i, 0) * 55ms); }
.js [data-split]:not(.is-in) .w > span { transform: translateY(108%); }

/* ==========================================================================
   Unique buttons
   ========================================================================== */
/* 1. Pulse: primary gold pill; a heartbeat draws through it on hover */
.btn-pulse {
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 54px; padding: 0 1.75rem; border-radius: 999px;
  background: var(--gold); color: var(--ink);
  font-family: var(--f-sans); font-weight: 700; font-size: 1rem; letter-spacing: .005em; text-decoration: none;
  box-shadow: 0 10px 30px -12px rgba(201, 165, 94, .7);
  transition: background-color .35s var(--ease), box-shadow .35s var(--ease), transform .35s var(--spring);
}
.btn-pulse .btn-label { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: .55rem; }
.btn-pulse .btn-ecg { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; overflow: visible; }
.btn-pulse .btn-ecg path {
  fill: none; stroke: var(--ink); stroke-width: 1.6; stroke-linejoin: round; stroke-linecap: round; opacity: .22;
  vector-effect: non-scaling-stroke; stroke-dasharray: 2000; stroke-dashoffset: 2000;
  transition: stroke-dashoffset 1.4s var(--ease-io);
}
.btn-pulse:hover { background: var(--gold-hi); box-shadow: 0 16px 40px -14px rgba(226, 196, 127, .85); }
@media (hover: hover) { .btn-pulse:hover .btn-ecg path { stroke-dashoffset: 0; } }
.btn-pulse:active { transform: scale(.97); }
.btn-pulse[disabled] { opacity: .65; cursor: progress; }

/* 2. Ring: phone call; the handset rings and a ripple expands */
.btn-ring {
  display: inline-flex; align-items: center; gap: .8rem; min-height: 54px; padding: 0 1.4rem 0 .4rem;
  border-radius: 999px; text-decoration: none; font-weight: 700; font-size: 1.02rem; letter-spacing: .01em;
  color: var(--paper); box-shadow: inset 0 0 0 1.5px rgba(245, 245, 240, .32);
  transition: box-shadow .3s var(--ease), background-color .3s var(--ease), transform .35s var(--spring);
}
.ring-icon { position: relative; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--gold); color: var(--ink); flex: none; }
.ring-icon svg { width: 20px; height: 20px; }
.ring-icon::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--gold); opacity: 0; }
.btn-ring:hover { box-shadow: inset 0 0 0 1.5px var(--gold); background: rgba(201, 165, 94, .08); }
.btn-ring:hover .ring-icon svg { animation: ring .9s var(--ease) both; }
.btn-ring:hover .ring-icon::after { animation: ripple 1.1s var(--ease) infinite; }
.btn-ring-dark { color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn-ring-dark:hover { box-shadow: inset 0 0 0 1.5px var(--gold-lo); }
@keyframes ring { 0%, 100% { transform: rotate(0); } 15% { transform: rotate(-18deg); } 30% { transform: rotate(16deg); } 45% { transform: rotate(-12deg); } 60% { transform: rotate(9deg); } 75% { transform: rotate(-4deg); } }
@keyframes ripple { 0% { opacity: .8; transform: scale(1); } 100% { opacity: 0; transform: scale(1.7); } }

/* 3. Draw: square outline that draws itself on hover */
.btn-draw {
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  min-height: 54px; padding: 0 1.6rem; text-decoration: none; font-weight: 600; font-size: 1rem;
  color: var(--paper); box-shadow: inset 0 0 0 1px rgba(245, 245, 240, .28);
}
.btn-draw::before, .btn-draw::after { content: ""; position: absolute; inset: 0; pointer-events: none; }
.btn-draw::before { border-top: 1.5px solid var(--gold); border-bottom: 1.5px solid var(--gold); transform: scaleX(0); transition: transform .5s var(--ease-io); }
.btn-draw::after { border-left: 1.5px solid var(--gold); border-right: 1.5px solid var(--gold); transform: scaleY(0); transition: transform .5s var(--ease-io) .12s; }
.btn-draw > span { transition: transform .4s var(--ease), color .3s; }
.btn-draw:hover::before { transform: scaleX(1); }
.btn-draw:hover::after { transform: scaleY(1); }
.btn-draw:hover > span { color: var(--gold-hi); transform: translateY(-1px); }

/* 4. Text link with growing underline + travelling arrow */
.btn-text {
  display: inline-flex; align-items: center; gap: .6rem; padding: .4rem 0; font-weight: 600; text-decoration: none;
  background: linear-gradient(currentColor, currentColor) left bottom / 0 1.5px no-repeat;
  transition: background-size .45s var(--ease);
}
.btn-text svg { width: 20px; height: 20px; transition: transform .45s var(--spring); }
.btn-text:hover { background-size: 100% 1.5px; }
.btn-text:hover svg { transform: translateX(5px); }
.btn-back svg { transform: rotate(180deg); }
.btn-back:hover svg { transform: rotate(180deg) translateX(5px); }

.btn-lg { min-height: 60px; padding-inline: 2rem; font-size: 1.05rem; }
.btn-block { width: 100%; }

/* ==========================================================================
   Header
   ========================================================================== */
.scroll-progress { position: fixed; inset: 0 0 auto 0; height: 2px; z-index: 120; pointer-events: none; }
.scroll-progress span { display: block; height: 100%; width: 100%; background: linear-gradient(90deg, var(--gold-lo), var(--gold-hi)); transform-origin: left; transform: scaleX(0); }

.site-header { position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--header-h); color: var(--paper); transition: background-color .4s var(--ease), box-shadow .4s var(--ease), transform .5s var(--ease); }
/* The blur lives on a pseudo-element: backdrop-filter on the header itself would trap the fixed mobile menu inside it */
.site-header::before { content: ""; position: absolute; inset: 0; background: rgba(18, 26, 23, .92); box-shadow: 0 1px 0 var(--line-d); -webkit-backdrop-filter: saturate(140%) blur(12px); backdrop-filter: saturate(140%) blur(12px); opacity: 0; transition: opacity .4s var(--ease); pointer-events: none; }
.site-header.is-solid::before { opacity: 1; }
.header-inner { position: relative; z-index: 1; }
.site-header.is-hidden { transform: translateY(-100%); }
.js .site-header { animation: headerIn 1s var(--ease) .1s backwards; }
@keyframes headerIn { from { transform: translateY(-100%); } to { transform: none; } }
.header-inner { height: 100%; display: flex; align-items: center; gap: 2rem; }
.brand { display: inline-flex; align-items: center; text-decoration: none; flex: none; }
.brand-logo { width: auto; height: 30px; }
.brand-text { display: none; font-family: var(--f-serif); font-weight: 600; font-size: 1.5rem; letter-spacing: .01em; white-space: nowrap; }
.brand-text i { color: var(--gold); font-style: italic; font-weight: 400; }
.brand-text small { font-family: var(--f-sans); font-size: .7rem; letter-spacing: .08em; font-weight: 600; margin-left: .2rem; }
.brand.no-logo .brand-logo { display: none; }
.brand.no-logo .brand-text { display: inline; }

.main-nav { display: flex; gap: 1.8rem; margin-left: auto; }
.main-nav a { position: relative; font-weight: 500; font-size: .98rem; text-decoration: none; padding-block: .4rem; }
.main-nav a::after { content: ""; position: absolute; left: 50%; bottom: 0; width: 5px; height: 5px; margin-left: -2.5px; border-radius: 50%; background: var(--gold); transform: scale(0); transition: transform .35s var(--spring); }
.main-nav a:hover::after, .main-nav a.is-current::after { transform: scale(1); }
.header-actions { display: flex; align-items: center; gap: .9rem; }
.live-badge { display: inline-flex; align-items: center; gap: .5rem; font-size: .85rem; font-weight: 600; color: var(--muted-d); white-space: nowrap; }
.live-dot { position: relative; width: 8px; height: 8px; border-radius: 50%; background: #48C78E; }
.live-dot::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 1.5px solid #48C78E; animation: livePing 2s var(--ease) infinite; }
@keyframes livePing { 0% { transform: scale(.5); opacity: .9; } 100% { transform: scale(1.6); opacity: 0; } }

.lang-switch { position: relative; display: inline-grid; grid-template-columns: 1fr 1fr; padding: 3px; border-radius: 999px; box-shadow: inset 0 0 0 1.5px var(--line-d); }
.lang-thumb { position: absolute; top: 3px; left: 3px; width: calc(50% - 3px); height: calc(100% - 6px); border-radius: 999px; background: var(--gold); transition: transform .45s var(--spring); }
.lang-switch.is-es .lang-thumb { transform: translateX(100%); }
.lang-btn { position: relative; z-index: 1; min-width: 40px; min-height: 32px; padding: 0 .55rem; font-weight: 700; font-size: .8rem; letter-spacing: .06em; color: var(--muted-d); border-radius: 999px; transition: color .3s; }
.lang-btn[aria-pressed="true"] { color: var(--ink); }
.lang-btn:not([aria-pressed="true"]):hover { color: var(--paper); }
.header-call { min-height: 48px; font-size: .95rem; padding-right: 1.1rem; }
.header-call .ring-icon { width: 38px; height: 38px; }
.menu-toggle { display: none; width: 48px; height: 48px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--line-d); }
.menu-bars { display: grid; gap: 5px; width: 20px; margin: auto; }
.menu-bars i { display: block; height: 1.8px; background: var(--paper); border-radius: 2px; transition: transform .4s var(--ease), opacity .3s; }
.menu-bars i:nth-child(2) { width: 70%; margin-left: auto; }
.menu-toggle[aria-expanded="true"] .menu-bars i:nth-child(1) { transform: translateY(6.8px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-bars i:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] .menu-bars i:nth-child(3) { transform: translateY(-6.8px) rotate(-45deg); }

.mobile-menu { position: fixed; inset: var(--header-h) 0 0 0; background: var(--ink); color: var(--paper); padding: 1.5rem var(--gutter) calc(1.5rem + env(safe-area-inset-bottom)); display: flex; flex-direction: column; justify-content: space-between; gap: 2rem; overflow-y: auto; clip-path: circle(0% at calc(100% - 44px) -20px); transition: clip-path .7s var(--ease-io); }
.mobile-menu.is-open { clip-path: circle(150% at calc(100% - 44px) -20px); }
.mobile-menu nav { display: grid; }
.mobile-menu nav a { font-family: var(--f-serif); font-weight: 500; font-size: clamp(2.2rem, 10vw, 3rem); line-height: 1.15; text-decoration: none; padding: .45rem 0; border-bottom: 1px solid var(--line-d); opacity: 0; transform: translateY(16px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.mobile-menu.is-open nav a { opacity: 1; transform: none; }
.mobile-menu.is-open nav a:nth-child(1) { transition-delay: .18s; }
.mobile-menu.is-open nav a:nth-child(2) { transition-delay: .23s; }
.mobile-menu.is-open nav a:nth-child(3) { transition-delay: .28s; }
.mobile-menu.is-open nav a:nth-child(4) { transition-delay: .33s; }
.mobile-menu.is-open nav a:nth-child(5) { transition-delay: .38s; }
.mobile-menu-foot { display: grid; gap: .75rem; }
body.menu-open, body.dialog-open { overflow: hidden; }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero { position: relative; isolation: isolate; color: var(--paper); background: var(--ink); min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: center; padding: calc(var(--header-h) + 3rem) 0 calc(120px + 2rem); overflow: hidden; }
.hero-media { position: absolute; inset: 0; z-index: -1; }
.hero-poster, .hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-poster { transform: scale(1.08); transition: transform 2.8s var(--ease); }
.is-loaded .hero-poster { transform: scale(1); }
.hero-video { opacity: 0; transition: opacity 1.6s var(--ease); }
.hero-video.is-playing { opacity: 1; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(100deg, rgba(18, 26, 23, .95) 0%, rgba(18, 26, 23, .78) 42%, rgba(18, 26, 23, .4) 100%), linear-gradient(0deg, rgba(18, 26, 23, .98) 0%, rgba(18, 26, 23, 0) 40%); }
.hero-spot { position: absolute; inset: 0; background: radial-gradient(520px circle at var(--mx, 70%) var(--my, 40%), rgba(201, 165, 94, .16), transparent 60%); opacity: 0; transition: opacity .6s var(--ease); }
.hero:hover .hero-spot { opacity: 1; }

.hero-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(320px, .6fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.hero-kicker { font-size: clamp(.98rem, 1.2vw, 1.08rem); color: var(--gold-hi); font-weight: 500; margin-bottom: 1.4rem; display: inline-flex; align-items: center; gap: .8rem; }
.hero-kicker::before { content: ""; width: 34px; height: 1px; background: var(--gold); }
.hero-title { font-family: var(--f-serif); font-weight: 500; font-optical-sizing: auto; font-size: clamp(3rem, 7.6vw, 7.2rem); line-height: .96; letter-spacing: -.025em; margin-bottom: 2rem; }
.hero-title .line { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
.hero-title .line > span { display: inline-block; }
.hero-title .line + .line > span { font-style: italic; font-weight: 400; color: var(--gold-hi); }
.hero-points { display: flex; flex-wrap: wrap; gap: .6rem 1.6rem; margin-bottom: 2.4rem; }
.hero-points li { display: inline-flex; align-items: center; gap: .55rem; font-weight: 500; color: rgba(245, 245, 240, .9); }
.hero-points svg { width: 20px; height: 20px; color: var(--gold); flex: none; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: .9rem; }

/* Quick-start card */
.quick { background: rgba(245, 245, 240, .06); -webkit-backdrop-filter: blur(16px) saturate(130%); backdrop-filter: blur(16px) saturate(130%); border: 1px solid rgba(245, 245, 240, .14); border-radius: 22px; padding: clamp(1.5rem, 2.4vw, 2.1rem); box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .7); }
.quick-step { font-size: .88rem; color: var(--gold-hi); font-weight: 600; margin-bottom: .7rem; }
.quick-title { font-family: var(--f-serif); font-weight: 500; font-size: clamp(1.4rem, 1.9vw, 1.7rem); line-height: 1.2; margin-bottom: 1.4rem; }
.quick-options { display: grid; gap: .6rem; }
.tile {
  position: relative; display: flex; align-items: center; gap: .9rem; width: 100%; min-height: 58px; padding: 0 1.1rem;
  border-radius: 14px; text-align: left; font-weight: 600; font-size: 1.05rem; color: var(--paper);
  background: rgba(245, 245, 240, .05); box-shadow: inset 0 0 0 1px rgba(245, 245, 240, .18);
  transition: background-color .3s var(--ease), box-shadow .3s var(--ease), transform .35s var(--spring);
}
.tile-mark { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px rgba(245, 245, 240, .45); transition: background-color .3s, box-shadow .3s; }
.tile-mark svg { width: 16px; height: 16px; color: var(--ink); stroke-dasharray: 24; stroke-dashoffset: 24; transition: stroke-dashoffset .4s var(--ease) .05s; }
.tile:hover { background: rgba(201, 165, 94, .12); box-shadow: inset 0 0 0 1px var(--gold); transform: translateX(4px); }
.tile:hover .tile-mark, .tile.is-picked .tile-mark { background: var(--gold); box-shadow: none; }
.tile:hover .tile-mark svg, .tile.is-picked .tile-mark svg { stroke-dashoffset: 0; }
.quick-note { margin-top: 1rem; font-size: .88rem; color: var(--muted-d); }

.hero-side { display: grid; gap: 1.75rem; align-content: center; }
.hero-quote { max-width: 380px; padding-left: 1.4rem; border-left: 1px solid rgba(201, 165, 94, .45); }
.hero-quote-mark { width: 26px; height: 26px; color: var(--gold); margin-bottom: .4rem; }
.hero-quote blockquote { font-family: var(--f-serif); font-style: italic; font-size: 1.12rem; line-height: 1.4; color: rgba(245, 245, 240, .9); }
.hero-quote figcaption { margin-top: .4rem; font-size: .85rem; font-weight: 600; color: var(--gold-hi); }

/* Heartbeat line along the bottom of the hero */
.hero-ecg { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 120px; pointer-events: none; }
.hero-ecg path { fill: none; stroke-linejoin: round; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.ecg-base { stroke: rgba(201, 165, 94, .22); stroke-width: 1.2; }
.ecg-pulse { stroke: var(--gold-hi); stroke-width: 2.2; filter: drop-shadow(0 0 6px rgba(226, 196, 127, .9)); stroke-dasharray: 340 5000; stroke-dashoffset: 340; animation: ecgRun 4.6s linear infinite; animation-play-state: paused; }
.is-loaded .ecg-pulse { animation-play-state: running; }
@keyframes ecgRun { from { stroke-dashoffset: 340; } to { stroke-dashoffset: -4660; } }

/* Load choreography */
.js [data-anim] { opacity: 0; transform: translateY(24px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.js .hero-title [data-anim] { opacity: 1; transform: translateY(108%); transition: transform 1.2s var(--ease); }
.js .is-loaded [data-anim] { opacity: 1; transform: none; }
.js .is-loaded [data-anim="2"] { transition-delay: .2s; }
.js .is-loaded [data-anim="3"] { transition-delay: .34s; }
.js .is-loaded [data-anim="4"] { transition-delay: .6s; }
.js .is-loaded [data-anim="5"] { transition-delay: .72s; }
.js .is-loaded [data-anim="6"] { transition-delay: .9s; }
.js .is-loaded [data-anim="7"] { transition-delay: 1.15s; }

/* ==========================================================================
   Results
   ========================================================================== */
.results { background: var(--marble); padding-block: var(--sp); }
.results-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(1.5rem, 3vw, 2.5rem); align-items: stretch; }
.verdict-amount { font-family: var(--f-serif); font-weight: 500; line-height: .9; letter-spacing: -.03em; white-space: nowrap; font-variant-numeric: lining-nums tabular-nums; }
.verdict-amount::before { content: "$"; font-size: .55em; vertical-align: .55em; margin-right: .04em; color: var(--gold-lo); }
.v-unit { font-size: .6em; margin-left: .04em; color: var(--gold-lo); }
.verdict-ecg { width: 100%; height: 64px; overflow: visible; }
.verdict-ecg path { fill: none; stroke: var(--gold-lo); stroke-width: 1.6; stroke-linejoin: round; vector-effect: non-scaling-stroke; stroke-dasharray: 1200; stroke-dashoffset: 1200; transition: stroke-dashoffset 1.6s var(--ease-io); }
.verdict.is-in .verdict-ecg path { stroke-dashoffset: 0; }
.verdict h3 { font-weight: 600; font-size: 1.05rem; }

.verdict-feature { position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; gap: 2rem; background: var(--ink); color: var(--paper); border-radius: 6px; padding: clamp(1.75rem, 3vw, 2.75rem); min-height: 420px; }
.verdict-feature::before { content: ""; position: absolute; inset: auto -20% -40% auto; width: 80%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(201, 165, 94, .28), transparent 65%); pointer-events: none; }
.verdict-feature .verdict-amount { font-size: clamp(4.5rem, 9.5vw, 8.5rem); color: var(--gold-hi); }
.verdict-feature .verdict-amount::before, .verdict-feature .v-unit { color: var(--gold); }
.verdict-feature .verdict-ecg { height: 90px; }
.verdict-feature .verdict-ecg path { stroke: var(--gold); stroke-width: 2; }
.verdict-feature h3 { font-family: var(--f-serif); font-weight: 400; font-style: italic; font-size: clamp(1.4rem, 2vw, 1.75rem); }

.verdict-list { display: grid; border-top: 1.5px solid var(--ink); }
.verdict-list .verdict { position: relative; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr) minmax(0, 1.2fr); align-items: center; gap: 1.25rem; padding: 1.15rem .9rem; border-bottom: 1px solid var(--line); transition: background-color .4s var(--ease); }
.verdict-list .verdict::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--gold); transform: scaleY(0); transform-origin: bottom; transition: transform .4s var(--ease); }
.verdict-list .verdict:hover { background: rgba(255, 255, 255, .55); }
.verdict-list .verdict:hover::before { transform: scaleY(1); }
.verdict-list .verdict-amount { font-size: clamp(2.2rem, 3.6vw, 3.1rem); }
.verdict-list .verdict-ecg { height: 48px; }
.verdict-list h3 { text-align: right; color: var(--body); }

/* ==========================================================================
   About
   ========================================================================== */
.about { background: var(--paper); padding-block: var(--sp); }
.about-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(2.5rem, 6vw, 6rem); align-items: center; }
.about-photo { position: relative; aspect-ratio: 4 / 5; border-radius: 6px; overflow: hidden; background: var(--ink-2); }
.about-photo img { width: 100%; height: 100%; object-fit: cover; }
.about-badge { position: absolute; left: 1rem; bottom: 1rem; right: 1rem; display: flex; align-items: center; gap: 1rem; padding: 1rem 1.2rem; border-radius: 4px; background: rgba(18, 26, 23, .82); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); color: var(--paper); }
.about-badge b { font-family: var(--f-serif); font-weight: 500; font-size: 2.4rem; line-height: 1; color: var(--gold-hi); }
.about-badge span { font-size: .95rem; line-height: 1.35; }
.about-copy { display: grid; gap: 1.25rem; }
.about-copy .h2 { margin-bottom: .5rem; }
.about-copy p { color: var(--body); max-width: 58ch; }
.about-copy .lead { font-family: var(--f-serif); font-size: clamp(1.25rem, 1.8vw, 1.5rem); line-height: 1.45; color: var(--text); }
.about-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; margin-top: 1.5rem; padding-top: 1.75rem; border-top: 1px solid var(--line); }
.about-facts dt { font-family: var(--f-serif); font-weight: 500; font-size: clamp(2.2rem, 3.5vw, 3rem); line-height: 1; color: var(--gold-lo); margin-bottom: .5rem; }
.about-facts dd { font-size: .95rem; line-height: 1.4; color: var(--muted); }

/* ==========================================================================
   Cases (dark)
   ========================================================================== */
.cases { background: var(--ink); color: var(--paper); padding-block: var(--sp); }
.cases .section-intro { color: var(--muted-d); }
.cases-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.case-list { border-bottom: 1px solid var(--line-d); }
.case-item { border-top: 1px solid var(--line-d); }
.case-btn { width: 100%; display: flex; align-items: center; gap: 1.1rem; padding: 1.15rem 0; text-align: left; }
.case-idx { position: relative; width: 12px; height: 12px; flex: none; border-radius: 50%; box-shadow: inset 0 0 0 1.5px rgba(245, 245, 240, .35); transition: box-shadow .3s, background-color .3s, transform .4s var(--spring); }
.case-name { font-family: var(--f-serif); font-weight: 400; font-size: clamp(1.45rem, 2.5vw, 2.15rem); line-height: 1.12; color: rgba(245, 245, 240, .5); transition: color .35s var(--ease), transform .45s var(--ease); }
.case-btn:hover .case-name { color: rgba(245, 245, 240, .85); }
.case-item.is-active .case-idx { background: var(--gold); box-shadow: 0 0 0 5px rgba(201, 165, 94, .22); transform: scale(1.15); }
.case-item.is-active .case-name { color: var(--paper); font-style: italic; transform: translateX(6px); }
.case-body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .55s var(--ease); }
.case-body > div { overflow: hidden; }
.case-item.is-active .case-body { grid-template-rows: 1fr; }
.case-body p { padding: 0 0 1.4rem 2.15rem; max-width: 48ch; color: var(--muted-d); }
.case-inline-img { display: none; }

.case-stage { position: sticky; top: calc(var(--header-h) + 2rem); display: grid; gap: 1.25rem; justify-items: start; }
.case-frame { position: relative; width: 100%; aspect-ratio: 4 / 4.8; border-radius: 4px; overflow: hidden; background: var(--ink-3); }
.case-frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; clip-path: inset(100% 0 0 0); transform: scale(1.12); transition: clip-path 1s var(--ease-io), transform 1.8s var(--ease); }
.case-frame img.is-on { clip-path: inset(0 0 0 0); transform: scale(1); z-index: 2; }
.case-frame img.was-on { clip-path: inset(0 0 0 0); transform: scale(1); z-index: 1; filter: brightness(.6); transition: filter 1s; }
.case-frame::after { content: ""; position: absolute; inset: 0; z-index: 3; pointer-events: none; background: linear-gradient(0deg, rgba(18, 26, 23, .55), transparent 45%); }
.case-counter { position: absolute; left: 1.1rem; bottom: 1rem; z-index: 4; font-family: var(--f-serif); font-size: 1.1rem; color: var(--paper); }
.case-counter span { color: var(--gold-hi); font-size: 1.6rem; }
.case-cta { color: var(--gold-hi); }

/* ==========================================================================
   Approach
   ========================================================================== */
.approach { background: var(--marble); padding-block: var(--sp); }
.approach-quote { font-family: var(--f-serif); font-weight: 400; font-style: italic; font-size: clamp(2rem, 4.6vw, 3.9rem); line-height: 1.12; letter-spacing: -.015em; max-width: 22ch; margin-bottom: clamp(3rem, 6vw, 5rem); text-wrap: balance; }
.approach-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.5rem, 4vw, 3.5rem); }
.approach-cols article { border-top: 1.5px solid var(--ink); padding-top: 1.4rem; display: grid; gap: .7rem; align-content: start; }
.approach-cols h3 { font-family: var(--f-serif); font-weight: 600; font-size: 1.45rem; line-height: 1.2; }
.approach-cols p { color: var(--body); }

/* ==========================================================================
   Process (pulse line)
   ========================================================================== */
.process { background: var(--paper); padding-block: var(--sp); }
.process-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2.5rem, 6vw, 6rem); }
.process-sticky { position: sticky; top: calc(var(--header-h) + 2.5rem); display: grid; gap: 1.5rem; justify-items: start; }
.pulse-wrap { position: relative; --p: 0; }
.pulse-line { position: absolute; left: 27px; top: 10px; bottom: 10px; width: 2px; background: var(--line); }
.pulse-fill { position: absolute; inset: 0 0 auto 0; height: 100%; background: linear-gradient(var(--gold-lo), var(--gold)); transform-origin: top; transform: scaleY(var(--p)); }
.pulse-dot { position: absolute; left: 50%; top: 0; width: 16px; height: 16px; margin: -8px 0 0 -8px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 6px rgba(201, 165, 94, .22), 0 0 24px rgba(201, 165, 94, .8); transform: translateY(calc(var(--p) * var(--pulse-h, 500px))); }
.pulse-dot::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 1.5px solid var(--gold); animation: beat 1.2s var(--ease) infinite; }
@keyframes beat { 0% { transform: scale(.7); opacity: 1; } 100% { transform: scale(2.2); opacity: 0; } }
.steps { display: grid; gap: clamp(2.25rem, 4vw, 3.25rem); padding-block: .25rem; }
.step { display: grid; grid-template-columns: 56px 1fr; gap: 1.5rem; align-items: start; }
.step-n { position: relative; z-index: 1; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--paper); box-shadow: inset 0 0 0 1.5px var(--line); font-family: var(--f-serif); font-size: 1.15rem; color: var(--muted); transition: background-color .5s var(--ease), color .5s var(--ease), box-shadow .5s var(--ease), transform .5s var(--spring); }
.step.is-passed .step-n { background: var(--ink); color: var(--gold-hi); box-shadow: inset 0 0 0 1.5px var(--ink); transform: scale(1.06); }
.step h3 { font-family: var(--f-serif); font-weight: 600; font-size: clamp(1.35rem, 2vw, 1.65rem); line-height: 1.15; margin: .6rem 0 .5rem; }
.step p { color: var(--body); max-width: 46ch; }

/* ==========================================================================
   Team
   ========================================================================== */
.team { background: var(--ink-2); color: var(--paper); padding-block: var(--sp); }
.team .section-intro { color: var(--muted-d); }
.team-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 1.25rem; perspective: 1200px; }
.lawyer { grid-column: span 2; position: relative; display: grid; align-content: start; gap: .65rem; padding: 2rem 1.75rem 2.1rem; border-radius: 4px; background: linear-gradient(160deg, rgba(245, 245, 240, .05), rgba(245, 245, 240, .015)); box-shadow: inset 0 0 0 1px var(--line-d); transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transform-style: preserve-3d; transition: transform .5s var(--ease), box-shadow .4s var(--ease); overflow: hidden; }
.lawyer:nth-child(4), .lawyer:nth-child(5) { grid-column: span 3; }
.lawyer::before { content: ""; position: absolute; inset: 0; background: radial-gradient(400px circle at var(--gx, 50%) var(--gy, 0%), rgba(201, 165, 94, .16), transparent 55%); opacity: 0; transition: opacity .4s; pointer-events: none; }
.lawyer:hover { box-shadow: inset 0 0 0 1px rgba(201, 165, 94, .55); }
.lawyer:hover::before { opacity: 1; }
.lawyer-mono { font-family: var(--f-serif); font-weight: 500; font-style: italic; font-size: 4.4rem; line-height: 1; color: transparent; -webkit-text-stroke: 1px var(--gold); margin-bottom: .75rem; transform: translateZ(30px); background: linear-gradient(100deg, transparent 30%, rgba(226, 196, 127, .9) 50%, transparent 70%) -200% 0 / 200% 100% no-repeat; -webkit-background-clip: text; background-clip: text; transition: background-position 1.2s var(--ease); }
.lawyer:hover .lawyer-mono { background-position: 200% 0; }
.lawyer-role { font-size: .9rem; font-weight: 600; color: var(--gold-hi); }
.lawyer h3 { font-family: var(--f-serif); font-weight: 600; font-size: 1.55rem; line-height: 1.15; }
.lawyer p:not(.lawyer-role) { color: var(--muted-d); font-size: 1rem; }
.lawyer-tag { justify-self: start; margin-top: .4rem; padding: .3rem .8rem; border-radius: 999px; font-size: .85rem; font-weight: 600; color: var(--ink); background: var(--gold); }

/* ==========================================================================
   Voices (testimonials)
   ========================================================================== */
.voices { background: var(--marble); padding-block: var(--sp); overflow: hidden; }
.voices-head { display: flex; justify-content: space-between; align-items: end; gap: 2rem; margin-bottom: clamp(2rem, 4vw, 3rem); }
.voices-nav { display: flex; gap: .6rem; }
.nav-arrow { position: relative; overflow: hidden; width: 58px; height: 58px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--ink); color: var(--ink); transition: background-color .3s, color .3s, opacity .3s; }
.nav-arrow svg { position: absolute; left: 50%; top: 50%; width: 22px; height: 22px; margin: -11px 0 0 -11px; }
.nav-arrow.is-prev svg { transform: rotate(180deg); }
.nav-arrow:hover { background: var(--ink); color: var(--gold-hi); }
.nav-arrow:hover svg { animation: arrowOut .5s var(--ease) both; }
.nav-arrow.is-prev:hover svg { animation-name: arrowOutPrev; }
.nav-arrow[disabled] { opacity: .3; cursor: default; background: none; color: var(--ink); }
.nav-arrow[disabled] svg { animation: none; }
@keyframes arrowOut { 0% { transform: translateX(0); } 45% { transform: translateX(28px); opacity: 0; } 50% { transform: translateX(-28px); opacity: 0; } 100% { transform: translateX(0); opacity: 1; } }
@keyframes arrowOutPrev { 0% { transform: rotate(180deg) translateX(0); } 45% { transform: rotate(180deg) translateX(28px); opacity: 0; } 50% { transform: rotate(180deg) translateX(-28px); opacity: 0; } 100% { transform: rotate(180deg) translateX(0); opacity: 1; } }
.voices-track { display: grid; grid-auto-flow: column; grid-auto-columns: min(460px, 82vw); gap: 1.25rem; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: .5rem; cursor: grab; overscroll-behavior-x: contain; }
.voices-track::-webkit-scrollbar { display: none; }
.voices-track.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.voices-track.is-dragging * { user-select: none; pointer-events: none; }
.voice { scroll-snap-align: start; display: flex; flex-direction: column; justify-content: space-between; gap: 2rem; min-height: 300px; padding: 2rem; border-radius: 4px; background: var(--paper); box-shadow: 0 1px 0 var(--line); transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.voice:hover { transform: translateY(-6px); box-shadow: 0 30px 50px -30px rgba(18, 26, 23, .35); }
.voice-mark { width: 34px; height: 34px; color: var(--gold); }
.voice blockquote { font-family: var(--f-serif); font-style: italic; font-size: clamp(1.25rem, 1.7vw, 1.5rem); line-height: 1.4; flex: 1; }
.voice figcaption { font-weight: 700; display: flex; align-items: center; gap: .6rem; }
.voice figcaption::before { content: ""; width: 26px; height: 1.5px; background: var(--gold); }
.voices-progress { margin-top: 2rem; height: 2px; background: var(--line); border-radius: 2px; overflow: hidden; }
.voices-progress span { display: block; height: 100%; width: 25%; background: var(--ink); transition: transform .3s var(--ease), width .3s; }

/* ==========================================================================
   Honors marquee
   ========================================================================== */
.honors { background: var(--ink); color: var(--paper); padding-block: 1.6rem; overflow: hidden; border-block: 1px solid var(--line-d); }
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span { display: inline-flex; align-items: center; gap: 2.5rem; padding-right: 2.5rem; font-family: var(--f-serif); font-style: italic; font-size: clamp(1.3rem, 2.4vw, 2rem); white-space: nowrap; color: rgba(245, 245, 240, .85); }
.marquee-track span::after { content: ""; width: 8px; height: 8px; background: var(--gold); transform: rotate(45deg); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ==========================================================================
   Deadline clock
   ========================================================================== */
.clock { background: var(--ink); color: var(--paper); padding-block: var(--sp); position: relative; overflow: hidden; }
.clock::before { content: ""; position: absolute; right: -10%; top: -20%; width: 55%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(201, 165, 94, .12), transparent 62%); pointer-events: none; }
.clock .section-intro { color: var(--muted-d); }
.clock-grid { position: relative; display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(2.5rem, 6vw, 6rem); align-items: start; }
.clock-copy { display: grid; gap: 1.5rem; }
.clock-rules { display: grid; gap: 0; margin-top: 1rem; border-top: 1px solid var(--line-d); }
.clock-rules li { display: grid; grid-template-columns: 5.5rem 1fr; align-items: center; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid var(--line-d); }
.clock-rules b { font-family: var(--f-serif); font-weight: 500; font-size: 3rem; line-height: 1; color: var(--gold-hi); }
.clock-rules span { color: rgba(245, 245, 240, .85); }
.clock-card { background: var(--paper); color: var(--ink); border-radius: 22px; padding: clamp(1.5rem, 3vw, 2.4rem); box-shadow: 0 50px 90px -40px rgba(0, 0, 0, .8); }
.clock-card form { display: grid; gap: 1.1rem; }
.clock-card .fine { margin-top: 1.25rem; font-size: .82rem; }
.clock-result { margin-top: 1.5rem; padding-top: 1.5rem; border-top: 1px dashed var(--line); animation: fadeUp .6s var(--ease) both; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.dl-out { display: grid; grid-template-columns: auto 1fr; gap: 1.2rem; align-items: center; }
.dl-ring { position: relative; width: 104px; height: 104px; }
.dl-ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.dl-ring circle { fill: none; stroke-width: 7; }
.dl-ring .bg { stroke: var(--marble); }
.dl-ring .fg { stroke: var(--gold); stroke-linecap: round; transition: stroke-dashoffset 1.6s var(--ease-io); }
.dl-ring.is-urgent .fg { stroke: var(--red); }
.dl-ring b { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; font-family: var(--f-serif); font-weight: 500; font-size: 1.6rem; line-height: 1; }
.dl-ring b small { display: block; font-family: var(--f-sans); font-size: .7rem; font-weight: 600; color: var(--muted); margin-top: .2rem; }
.dl-days { font-family: var(--f-serif); font-weight: 500; font-size: 1.9rem; line-height: 1.05; }
.dl-date { margin-top: .35rem; color: var(--body); font-size: .98rem; }
.dl-note { margin-top: .9rem; font-size: .95rem; line-height: 1.5; color: var(--body); }
.dl-note strong { color: var(--text); }
.dl-error { font-weight: 600; color: var(--red); }
.dl-cta { margin-top: 1rem; }

/* ==========================================================================
   Forms (shared)
   ========================================================================== */
.field { display: grid; gap: .45rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field label, .field-label { font-weight: 600; font-size: .96rem; line-height: 1.35; }
.clock-card input, .dialog input[type="text"], .dialog input[type="tel"], .dialog input[type="email"], .dialog select, .dialog textarea {
  width: 100%; min-height: 54px; padding: .85rem 1rem; border-radius: 12px;
  border: 1.5px solid rgba(18, 26, 23, .2); background: var(--white); color: var(--ink);
  font-family: var(--f-sans); font-size: 1rem; transition: border-color .25s, box-shadow .25s;
  -webkit-appearance: none; appearance: none;
}
.dialog select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6' fill='none' stroke='%23121A17' stroke-width='2.2' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; background-size: 18px; padding-right: 2.8rem; }
.dialog textarea { min-height: 140px; resize: vertical; line-height: 1.5; }
.clock-card input:focus, .dialog input:focus, .dialog select:focus, .dialog textarea:focus { outline: none; border-color: var(--gold-lo); box-shadow: 0 0 0 4px rgba(201, 165, 94, .3); }
[aria-invalid="true"] { border-color: var(--red) !important; }
::placeholder { color: #8E9A95; }

.chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chip span { display: inline-flex; align-items: center; gap: .5rem; min-height: 48px; padding: .5rem 1.15rem; border-radius: 12px; font-weight: 600; font-size: .98rem; cursor: pointer; background: var(--white); box-shadow: inset 0 0 0 1.5px rgba(18, 26, 23, .18); transition: background-color .25s, color .25s, box-shadow .25s, transform .3s var(--spring); }
.chip span::before { content: ""; width: 0; height: 9px; border-left: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(-45deg) translateY(-2px); opacity: 0; transition: width .25s var(--ease), opacity .2s; }
.chip:hover span { box-shadow: inset 0 0 0 1.5px var(--gold-lo); }
.chip input:checked + span { background: var(--ink); color: var(--gold-hi); box-shadow: inset 0 0 0 1.5px var(--ink); }
.chip input:checked + span::before { width: 15px; opacity: 1; }
.chip input:active + span { transform: scale(.96); }
.chip input:focus-visible + span { outline: 2.5px solid var(--gold-lo); outline-offset: 2px; }
.chips.is-invalid .chip span { box-shadow: inset 0 0 0 1.5px var(--red); }
.check { display: grid; grid-template-columns: auto 1fr; gap: .75rem; align-items: start; font-size: .92rem; line-height: 1.45; color: var(--body); cursor: pointer; }
.check input { width: 20px; height: 20px; margin: .1rem 0 0; accent-color: var(--ink); }
.field-error { display: none; font-size: .88rem; font-weight: 600; color: var(--red); }
.field-error.is-shown { display: block; animation: shake .4s var(--ease); }
@keyframes shake { 0%, 100% { transform: none; } 25% { transform: translateX(-4px); } 75% { transform: translateX(4px); } }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq { background: var(--paper); padding-block: var(--sp); }
.faq-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(2.5rem, 6vw, 6rem); align-items: start; }
.faq-head { position: sticky; top: calc(var(--header-h) + 2.5rem); display: grid; gap: 1.5rem; justify-items: start; }
.accordion { border-top: 1.5px solid var(--ink); }
.acc-item { border-bottom: 1px solid var(--line); }
.acc-item h3 { font-size: inherit; }
.acc-btn { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; padding: 1.5rem 0; text-align: left; font-family: var(--f-serif); font-weight: 500; font-size: clamp(1.2rem, 1.7vw, 1.45rem); line-height: 1.3; transition: color .3s; }
.acc-btn:hover { color: var(--gold-lo); }
.acc-btn i { position: relative; flex: none; width: 40px; height: 40px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--line); transition: background-color .35s, box-shadow .35s, transform .5s var(--spring); }
.acc-btn i::before, .acc-btn i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 1.8px; margin: -.9px 0 0 -7px; background: var(--ink); border-radius: 2px; transition: transform .45s var(--ease); }
.acc-btn i::after { transform: rotate(90deg); }
.acc-btn[aria-expanded="true"] i { background: var(--gold); box-shadow: none; transform: rotate(180deg); }
.acc-btn[aria-expanded="true"] i::after { transform: rotate(0); }
.acc-panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .55s var(--ease); }
.acc-panel > div { overflow: hidden; }
.acc-panel.is-open { grid-template-rows: 1fr; }
.acc-panel p { padding-bottom: 1.6rem; max-width: 62ch; color: var(--body); }

/* ==========================================================================
   Offices
   ========================================================================== */
.offices { background: var(--marble); padding-block: var(--sp); }
.off-tabs { position: relative; display: inline-flex; gap: .25rem; margin-bottom: 2rem; border-bottom: 1px solid var(--line); }
.off-tab { position: relative; padding: .9rem 1.25rem; font-family: var(--f-serif); font-size: clamp(1.25rem, 2vw, 1.7rem); color: var(--muted); transition: color .3s; }
.off-tab:hover, .off-tab.is-active { color: var(--ink); }
.off-ink { position: absolute; bottom: -1px; left: 0; height: 2px; width: var(--w, 80px); background: var(--gold-lo); transform: translateX(var(--x, 0)); transition: transform .5s var(--spring), width .5s var(--spring); }
.off-panel { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(1.5rem, 4vw, 3rem); align-items: stretch; }
.off-panel.is-active { animation: fadeUp .6s var(--ease) both; }
.off-info { display: grid; gap: .25rem; align-content: start; }
.off-addr, .off-line { display: flex; gap: .9rem; align-items: flex-start; padding: 1.1rem 0; border-bottom: 1px solid var(--line); text-decoration: none; line-height: 1.45; }
.off-addr { font-family: var(--f-serif); font-size: 1.3rem; }
.off-addr svg, .off-line svg { width: 22px; height: 22px; flex: none; color: var(--gold-lo); margin-top: .15rem; }
.off-line span { display: grid; font-weight: 600; font-size: 1.1rem; }
.off-line small { font-size: .82rem; font-weight: 500; color: var(--muted); }
a.off-addr:hover, a.off-line:hover { color: var(--gold-lo); }
.off-map { position: relative; min-height: 360px; border-radius: 4px; overflow: hidden; background: var(--ink-3) center / cover; }
.off-map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(1) contrast(1.05); transition: filter .6s var(--ease); }
.off-map:hover iframe { filter: none; }

/* ==========================================================================
   Final CTA
   ========================================================================== */
.final { position: relative; isolation: isolate; overflow: hidden; color: var(--paper); background: var(--ink); min-height: min(86vh, 820px); display: flex; align-items: center; padding-block: clamp(5rem, 10vw, 8rem); }
.final-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.final-shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(18, 26, 23, .94), rgba(18, 26, 23, .55)); }
.final-inner { display: grid; gap: 1.6rem; justify-items: start; }
.final-title { font-family: var(--f-serif); font-weight: 500; font-size: clamp(2.7rem, 7vw, 6.4rem); line-height: .98; letter-spacing: -.025em; max-width: 13ch; }
.final-sub { font-size: clamp(1.1rem, 1.5vw, 1.3rem); color: rgba(245, 245, 240, .82); max-width: 40ch; }
.final-ctas { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: .5rem; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { background: var(--night); color: var(--paper); padding-top: clamp(3.5rem, 7vw, 5.5rem); }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); gap: 2.5rem; padding-bottom: 3rem; border-bottom: 1px solid var(--line-d); }
.footer-brand { display: grid; gap: 1.1rem; align-content: start; }
.footer-brand p { color: var(--muted-d); max-width: 34ch; font-size: .98rem; }
.socials { display: flex; gap: .6rem; }
.socials a { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--line-d); transition: background-color .3s, color .3s, transform .4s var(--spring); }
.socials svg { width: 18px; height: 18px; }
.socials a:hover { background: var(--gold); color: var(--ink); transform: translateY(-3px); }
.footer-col { display: grid; gap: .5rem; align-content: start; font-size: .96rem; }
.footer-col h3 { font-family: var(--f-serif); font-weight: 500; font-size: 1.3rem; color: var(--gold-hi); }
.footer-col p { color: var(--muted-d); line-height: 1.5; }
.footer-col a { text-decoration: none; font-weight: 600; width: fit-content; }
.footer-col a:hover { color: var(--gold-hi); }
.footer-legal { padding-block: 2rem calc(2rem + env(safe-area-inset-bottom)); display: grid; gap: 1.5rem; }
.footer-legal > p { font-size: .86rem; line-height: 1.55; color: var(--muted-d); max-width: 92ch; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; font-size: .86rem; color: var(--muted-d); }
.footer-bottom a { color: var(--paper); text-underline-offset: 3px; }
.footer-bottom a:hover { color: var(--gold-hi); }
.alfa-credit { text-decoration: none; }
.alfa-credit b { color: var(--paper); }
.alfa-credit:hover b { color: var(--gold-hi); }

/* ==========================================================================
   Floating UI
   ========================================================================== */
.to-top { position: fixed; right: 1.5rem; bottom: 1.5rem; z-index: 90; width: 54px; height: 54px; border-radius: 50%; color: var(--paper); background: rgba(18, 26, 23, .88); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); opacity: 0; transform: translateY(20px) scale(.8); pointer-events: none; transition: opacity .4s var(--ease), transform .5s var(--spring), color .3s; }
.to-top.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.to-top svg { width: 100%; height: 100%; }
.to-top circle { fill: none; stroke-width: 2; }
.to-top .tt-bg { stroke: rgba(245, 245, 240, .15); }
.to-top .tt-fg { stroke: var(--gold); stroke-linecap: round; transform: rotate(-90deg); transform-origin: center; stroke-dasharray: 132; stroke-dashoffset: 132; }
.to-top:hover { color: var(--gold-hi); }
.to-top:hover path { animation: hop .6s var(--ease); }
@keyframes hop { 0%, 100% { transform: none; } 40% { transform: translateY(-4px); } }

.action-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; display: none; grid-template-columns: auto 1fr; gap: .6rem; padding: .6rem var(--gutter) calc(.6rem + env(safe-area-inset-bottom)); background: rgba(18, 26, 23, .96); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: 0 -1px 0 var(--line-d); transform: translateY(110%); transition: transform .5s var(--ease); }
.action-bar.is-visible { transform: none; }
.action-call { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 50px; padding: 0 1.1rem; border-radius: 999px; color: var(--paper); text-decoration: none; font-weight: 700; box-shadow: inset 0 0 0 1.5px rgba(245, 245, 240, .35); }
.action-call svg { width: 18px; height: 18px; }
.action-eval { min-height: 50px; border-radius: 999px; background: var(--gold); color: var(--ink); font-weight: 700; }

/* ==========================================================================
   Dialog (evaluation form)
   ========================================================================== */
.dialog { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 1rem; }
.dialog-backdrop { position: absolute; inset: 0; background: rgba(11, 16, 14, .72); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); opacity: 0; transition: opacity .5s var(--ease); }
.dialog.is-open .dialog-backdrop { opacity: 1; }
.dialog-panel { position: relative; width: min(640px, 100%); max-height: calc(100dvh - 2rem); overflow-y: auto; overscroll-behavior: contain; background: var(--paper); color: var(--ink); border-radius: 24px; padding: clamp(1.4rem, 3.5vw, 2.4rem); box-shadow: 0 60px 120px -40px rgba(0, 0, 0, .8); clip-path: circle(0px at var(--ox, 50%) var(--oy, 50%)); transition: clip-path .75s var(--ease-io); }
.dialog.is-open .dialog-panel { clip-path: circle(150% at var(--ox, 50%) var(--oy, 50%)); }
.dialog-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; margin-bottom: 1.25rem; }
.dialog-kicker { font-size: .9rem; font-weight: 600; color: var(--gold-lo); margin-bottom: .35rem; }
.dialog-title { font-family: var(--f-serif); font-weight: 500; font-size: clamp(1.7rem, 3vw, 2.2rem); line-height: 1.1; }
.dialog-close { flex: none; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--line); transition: transform .5s var(--spring), background-color .3s; }
.dialog-close svg { width: 20px; height: 20px; }
.dialog-close:hover { transform: rotate(90deg); background: var(--marble); }
.dialog-steps { position: relative; display: flex; justify-content: space-between; margin: 0 0 1.75rem; padding: 0; list-style: none; }
.dialog-steps::before { content: ""; position: absolute; left: 18px; right: 18px; top: 50%; height: 2px; margin-top: -1px; background: var(--line); }
.dialog-steps::after { content: ""; position: absolute; left: 18px; top: 50%; height: 2px; margin-top: -1px; width: calc((100% - 36px) * var(--prog, 0)); background: var(--gold); transition: width .6s var(--ease-io); }
.dialog-steps li { position: relative; z-index: 1; }
.dialog-steps span { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--paper); box-shadow: inset 0 0 0 1.5px var(--line); font-family: var(--f-serif); font-size: 1rem; color: var(--muted); transition: background-color .4s, color .4s, box-shadow .4s, transform .5s var(--spring); }
.dialog-steps li.is-on span { background: var(--ink); color: var(--gold-hi); box-shadow: none; transform: scale(1.08); }
.f-step { display: grid; gap: 1.35rem; }
.f-step.is-active { animation: stepIn .55s var(--ease) both; }
.f-step.is-back { animation-name: stepBack; }
@keyframes stepIn { from { opacity: 0; transform: translateX(26px); } to { opacity: 1; transform: none; } }
@keyframes stepBack { from { opacity: 0; transform: translateX(-26px); } to { opacity: 1; transform: none; } }
.f-actions { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-top: .4rem; }
.form-legal { font-size: .85rem; color: var(--muted); }
.form-status.is-error { margin-top: 1rem; padding: 1rem 1.1rem; border-radius: 12px; background: #FBE9E7; color: #7A1A13; font-weight: 600; }
.form-done { display: grid; gap: 1rem; justify-items: start; padding: .5rem 0 .5rem; animation: fadeUp .6s var(--ease) both; }
.form-done svg { width: 72px; height: 72px; }
.form-done .fd-circle { fill: none; stroke: var(--gold); stroke-width: 3; stroke-dasharray: 210; stroke-dashoffset: 210; animation: draw .9s var(--ease-io) forwards; }
.form-done .fd-tick { fill: none; stroke: var(--ink); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 44; stroke-dashoffset: 44; animation: draw .6s var(--ease) .7s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.form-done h3 { font-family: var(--f-serif); font-weight: 500; font-size: 2rem; line-height: 1.1; }
.form-done p { color: var(--body); }
.spinner { width: 18px; height: 18px; border-radius: 50%; border: 2.5px solid rgba(18, 26, 23, .3); border-top-color: var(--ink); animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ==========================================================================
   Scroll reveal
   ========================================================================== */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .approach-cols .reveal:nth-child(2) { transition-delay: .1s; }
.js .approach-cols .reveal:nth-child(3) { transition-delay: .2s; }
.js .reveal-clip { clip-path: inset(12% 12% 12% 12% round 6px); transition: clip-path 1.4s var(--ease-io); }
.js .reveal-clip img { transform: scale(1.18); transition: transform 2s var(--ease); }
.js .reveal-clip.is-in { clip-path: inset(0 0 0 0 round 6px); }
.js .reveal-clip.is-in img { transform: scale(1); }
.js .lawyer { opacity: 0; translate: 0 30px; transition: opacity .9s var(--ease), translate .9s var(--ease), transform .5s var(--ease), box-shadow .4s var(--ease); }
.js .lawyer.is-in { opacity: 1; translate: 0 0; }
.js .verdict-list .verdict { opacity: 0; transform: translateX(24px); transition: opacity .8s var(--ease), transform .8s var(--ease), background-color .4s var(--ease); transition-delay: calc(var(--i, 0) * 90ms); }
.js .verdict-list .verdict.is-in { opacity: 1; transform: none; }

/* Secondary pages */
.site-header.is-static { background: var(--ink); box-shadow: 0 1px 0 var(--line-d); }
.doc { padding: calc(var(--header-h) + clamp(3rem, 7vw, 5.5rem)) 0 clamp(4rem, 8vw, 7rem); }
.doc-inner { max-width: 820px; }
.doc-back { display: inline-flex; margin-bottom: 2rem; }
.doc-title { font-family: var(--f-serif); font-weight: 500; font-size: clamp(2.6rem, 6vw, 4.2rem); line-height: 1; letter-spacing: -.02em; margin-bottom: .75rem; }
.doc-updated { color: var(--muted); margin-bottom: 2rem; }
.doc-lead { font-family: var(--f-serif); font-size: clamp(1.25rem, 1.8vw, 1.45rem); line-height: 1.45; margin-bottom: 2.5rem; }
.doc h2 { font-family: var(--f-serif); font-weight: 600; font-size: 1.55rem; margin: 2.25rem 0 .6rem; }
.doc p { max-width: 64ch; color: var(--body); }
.site-footer-slim { padding-top: 0; }
.nf-body { background: var(--ink); color: var(--paper); --focus: var(--gold-hi); }
.nf { min-height: 100vh; min-height: 100svh; display: flex; align-items: center; padding-block: 3rem; }
.nf-inner { display: grid; gap: 1.25rem; justify-items: start; }
.nf-code { font-family: var(--f-serif); font-style: italic; font-size: clamp(7rem, 22vw, 15rem); line-height: .85; color: var(--gold-hi); margin-top: 1.5rem; }
.nf-title { font-family: var(--f-serif); font-weight: 500; font-size: clamp(2rem, 5vw, 3.4rem); line-height: 1.05; }
.nf-text { color: var(--muted-d); max-width: 42ch; }
.nf-actions { display: flex; flex-wrap: wrap; gap: .9rem; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-height: 820px) and (min-width: 1081px) { .hero-quote { display: none; } }

@media (max-width: 1240px) {
  .main-nav { gap: 1.2rem; }
  .live-badge { display: none; }
}

@media (max-width: 1080px) {
  :root { --header-h: 70px; }
  .main-nav, .header-call { display: none; }
  .menu-toggle { display: grid; }
  .header-actions { margin-left: auto; }

  .hero { justify-content: flex-start; padding-bottom: calc(100px + 2rem); }
  .hero-grid { grid-template-columns: 1fr; }
  .quick { max-width: 560px; }
  .hero-ecg { height: 90px; }

  .results-grid, .about-grid, .cases-grid, .process-grid, .faq-grid, .clock-grid, .off-panel { grid-template-columns: 1fr; }
  .verdict-feature { min-height: 0; }
  .about-photo { aspect-ratio: 16 / 11; }
  .case-stage { display: none; }
  .case-inline-img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 4px; margin: 0 0 1rem; background: var(--ink-3); }
  .case-body p { padding-left: 0; }
  .process-sticky, .faq-head { position: static; }
  .team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lawyer, .lawyer:nth-child(4), .lawyer:nth-child(5) { grid-column: span 1; }
  .lawyer:nth-child(5) { grid-column: 1 / -1; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }

  .action-bar { display: grid; }
  .to-top { display: none; }
  .site-footer { padding-bottom: 76px; }
}

@media (max-width: 680px) {
  body { font-size: 1rem; }
  .brand-logo { height: 24px; }
  .hero-title { font-size: clamp(2.7rem, 12vw, 3.8rem); }
  .hero-ctas > * { width: 100%; }
  .hero-points { flex-direction: column; gap: .5rem; }
  .verdict-list .verdict { grid-template-columns: 1fr auto; gap: .2rem 1rem; padding-inline: .5rem; }
  .verdict-list .verdict-ecg { grid-column: 1 / -1; grid-row: 2; height: 34px; }
  .verdict-list h3 { text-align: right; }
  .about-facts { grid-template-columns: 1fr; gap: 1rem; }
  .about-facts > div { display: grid; grid-template-columns: 6rem 1fr; align-items: center; gap: 1rem; }
  .about-facts dt { margin: 0; }
  .approach-cols { grid-template-columns: 1fr; }
  .step { grid-template-columns: 56px 1fr; gap: 1rem; }
  .team-grid { grid-template-columns: 1fr; }
  .lawyer:nth-child(5) { grid-column: auto; }
  .voices-head { flex-direction: column; align-items: flex-start; }
  .clock-rules li { grid-template-columns: 4rem 1fr; }
  .clock-rules b { font-size: 2.4rem; }
  .field-row { grid-template-columns: 1fr; }
  .off-tabs { display: flex; width: 100%; }
  .off-tab { flex: 1; padding-inline: .5rem; }
  .off-map { min-height: 260px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
  .dialog { padding: 0; align-items: end; }
  .dialog-panel { width: 100%; max-height: 94dvh; border-radius: 22px 22px 0 0; }
  .f-actions { flex-direction: column-reverse; align-items: stretch; }
  .f-actions .btn-pulse { width: 100%; }
  .f-actions > span:empty { display: none; }
  .btn-back { justify-content: center; }
}

@media (hover: none) {
  .tile:hover { transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
  .js [data-anim], .js .hero-title [data-anim], .js .reveal, .js .reveal-clip, .js .lawyer, .js .verdict-list .verdict { opacity: 1 !important; transform: none !important; translate: none !important; clip-path: none !important; }
  .js [data-split] .w > span { transform: none !important; }
  .js .reveal-clip img { transform: none !important; }
  .hero-video, .final-video { display: none; }
  .marquee-track { animation: none; }
  .ecg-pulse { display: none; }
}

@media print {
  .site-header, .action-bar, .to-top, .hero-media, .final-video, .dialog, .hero-ecg { display: none !important; }
  .js [data-anim], .js .reveal, .js .lawyer, .js .verdict-list .verdict { opacity: 1 !important; transform: none !important; }
}
