/* ============================================================
   FIN1 (CCGC) LTD — SITE SYSTEM
   Shared across every page. Concept: "the audit trail" — the red
   stepped line from the Fin1 mark runs through the site, over an
   engraved (guilloche) certificate texture.
============================================================ */

:root {
  --ink: #0A0E27;
  --ink-2: #0F1435;
  --ink-3: #161C45;
  --navy: #1A237E;
  --paper: #F3EFE6;
  --paper-2: #EAE4D6;
  --paper-3: #E1D9C8;
  --red: #B51D1C;
  --red-hi: #E0362E;

  --on-ink: #F3EFE6;
  --on-ink-2: rgba(243, 239, 230, 0.74);
  --on-ink-3: rgba(243, 239, 230, 0.5);
  --rule-ink: rgba(243, 239, 230, 0.12);

  --on-paper: #0A0E27;
  --on-paper-2: #4A4F6B;
  --on-paper-3: #7D7F92;
  --rule-paper: rgba(10, 14, 39, 0.13);

  --display: 'Geist', 'Inter Tight', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --sans: 'Geist', 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'Geist Mono', ui-monospace, 'SFMono-Regular', Menlo, monospace;

  --maxw: 1320px;
  --gut: clamp(20px, 4.2vw, 64px);
  --ease: cubic-bezier(.2, .7, .1, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { overflow-x: clip; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; scroll-padding-top: 88px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  background: var(--paper);
  color: var(--on-paper);
  overflow-x: clip;
  font-feature-settings: "ss01";
}
img, svg { display: block; max-width: 100%; }
h1, h2, h3, h4, h5 { font-weight: 400; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input, textarea, select { font: inherit; color: inherit; }
::selection { background: var(--red); color: var(--paper); }
:focus-visible { outline: 2px solid var(--red-hi); outline-offset: 3px; border-radius: 2px; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gut); }
.mono { font-family: var(--mono); font-weight: 400; letter-spacing: 0.04em; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--red); color: #fff; padding: 10px 14px; font-size: 14px; }
.skip:focus { top: 12px; }

/* grain over everything — subtle paper/print texture */
body::after {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 300;
  opacity: .06; mix-blend-mode: multiply;
  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='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .9 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- sections & themes ---------- */
.sec { position: relative; padding: clamp(88px, 12vw, 168px) 0; }
.sec.tight { padding: clamp(64px, 8vw, 104px) 0; }
.dark { background: var(--ink); color: var(--on-ink); }
.dark.deep { background: #070A1E; }
.paper-2 { background: var(--paper-2); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--on-paper-2);
}
.dark .eyebrow { color: var(--on-ink-2); }
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--red); flex: none; }
.dark .eyebrow::before { background: var(--red-hi); }

.display {
  font-family: var(--display); font-weight: 600; line-height: 1; letter-spacing: -0.045em;
  font-size: clamp(40px, 5.6vw, 84px);
  
}
.display em, .h2 em, .statement em, .pull em, .phero h1 em, .quote blockquote em { font-style: normal; font-weight: 300; }
.display .red, .red-txt { color: var(--red); }
.dark .display .red, .dark .red-txt { color: var(--red-hi); }
.h2 { font-family: var(--display); font-weight: 600; font-size: clamp(32px, 4.2vw, 60px); line-height: 1.05; letter-spacing: -0.035em; }
.h3 { font-family: var(--display); font-weight: 600; font-size: clamp(24px, 2.4vw, 32px); line-height: 1.15; letter-spacing: -0.03em; }
.lede { font-size: clamp(18px, 1.6vw, 21px); line-height: 1.55; color: var(--on-paper-2); max-width: 56ch; }
.dark .lede { color: var(--on-ink-2); }
.body-copy p + p { margin-top: 1.1em; }
.body-copy p { color: var(--on-paper-2); }
.dark .body-copy p { color: var(--on-ink-2); }

.sec-head { display: grid; grid-template-columns: 1fr; gap: 22px; margin-bottom: clamp(48px, 6vw, 80px); }
@media (min-width: 960px) {
  .sec-head.split { grid-template-columns: 1.15fr 1fr; align-items: end; gap: 64px; }
}

/* ---------- buttons ---------- */
.btn {
  --bg: var(--red); --fg: #fff;
  position: relative; display: inline-flex; align-items: center; gap: 14px;
  padding: 17px 26px; min-height: 54px;
  background: var(--bg); color: var(--fg);
  font-family: var(--sans); font-weight: 600; font-size: 15px; letter-spacing: 0.01em;
  border-radius: 0; overflow: hidden; isolation: isolate; white-space: nowrap;
  transition: color .4s var(--ease);
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--ink); transform: scaleX(0); transform-origin: right;
  transition: transform .55s var(--ease);
}
.dark .btn::before { background: var(--paper); }
.dark .btn:hover { color: var(--ink); }
.btn:hover::before { transform: scaleX(1); transform-origin: left; }
.btn .arr { width: 18px; height: 18px; transition: transform .4s var(--ease); }
.btn:hover .arr { transform: translateX(4px); }
.btn.ghost { --bg: transparent; --fg: var(--on-paper); box-shadow: inset 0 0 0 1px var(--rule-paper); }
.btn.ghost::before { background: var(--on-paper); }
.btn.ghost:hover { color: var(--paper); }
.dark .btn.ghost { --fg: var(--on-ink); box-shadow: inset 0 0 0 1px rgba(243,239,230,.28); }
.dark .btn.ghost::before { background: var(--on-ink); }
.dark .btn.ghost:hover { color: var(--ink); }

.link-arrow {
  display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: 15px;
  padding-bottom: 4px; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
  transition: background-size .5s var(--ease);
}
.link-arrow:hover { background-size: 100% 1px; }
.link-arrow svg { width: 16px; height: 16px; transition: transform .4s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  color: var(--on-ink);
  transition: background .45s var(--ease), color .45s var(--ease), box-shadow .45s var(--ease), transform .5s var(--ease);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 84px; transition: height .45s var(--ease); }
.nav.scrolled { background: rgba(10, 14, 39, 0.94); backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%); box-shadow: 0 1px 0 var(--rule-ink); }
.nav.scrolled .nav-inner { height: 68px; }
.nav.hide { transform: translateY(-100%); }
.brand { display: flex; align-items: center; gap: 14px; flex: none; }
.brand .mark { height: 50px; width: auto; transition: height .45s var(--ease); }
.nav.scrolled .brand .mark { height: 44px; }
.brand .mark { --wm: var(--on-ink); --ln: var(--red-hi); --cb: transparent; }
.brand-txt { font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.14em; line-height: 1.35; text-transform: uppercase; color: var(--on-ink-2); border-left: 1px solid var(--rule-ink); padding-left: 14px; }
.nav-links { display: none; align-items: center; gap: 4px; }
.nav-links a { position: relative; white-space: nowrap; padding: 10px 14px; font-size: 14.5px; font-weight: 500; color: var(--on-ink-2); transition: color .3s; }
.nav-links a::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px; background: var(--red-hi); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease); }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--on-ink); }
.nav-links a:hover::after, .nav-links a[aria-current="page"]::after { transform: scaleX(1); }
.nav-right { display: flex; align-items: center; gap: 20px; }
.clocks { display: none; gap: 16px; font-family: var(--mono); font-size: 12.5px; letter-spacing: 0.08em; color: var(--on-ink-3); }
.clocks b { font-weight: 500; color: var(--on-ink); margin-left: 6px; font-variant-numeric: tabular-nums; }
.nav .btn { min-height: 44px; padding: 11px 18px; font-size: 14px; }
.burger { width: 44px; height: 44px; display: grid; place-items: center; margin-right: -10px; }
.burger span { display: block; width: 22px; height: 1.5px; background: currentColor; position: relative; transition: background .3s; }
.burger span::before, .burger span::after { content: ""; position: absolute; left: 0; width: 22px; height: 1.5px; background: currentColor; transition: transform .4s var(--ease); }
.burger span::before { top: -7px; } .burger span::after { top: 7px; }
.menu-open .burger span { background: transparent; }
.menu-open .burger span::before { transform: translateY(7px) rotate(45deg); }
.menu-open .burger span::after { transform: translateY(-7px) rotate(-45deg); }
.nav-cta { display: none; }
@media (min-width: 1080px) {
  .nav-links { display: flex; }
  .burger { display: none; }
  .nav-cta { display: inline-flex; }
}
@media (min-width: 1480px) { .clocks { display: flex; } }
@media (max-width: 560px) { .brand-txt { display: none; } .brand .mark, .nav.scrolled .brand .mark { height: 42px; } }

.menu {
  position: fixed; inset: 0; z-index: 99; background: var(--ink); color: var(--on-ink);
  padding: 110px var(--gut) 40px; display: flex; flex-direction: column; justify-content: space-between;
  clip-path: inset(0 0 100% 0); transition: clip-path .7s var(--ease-io); visibility: hidden;
}
.menu-open .menu { clip-path: inset(0 0 0 0); visibility: visible; }
.menu nav a { display: flex; align-items: baseline; gap: 18px; padding: 14px 0; border-bottom: 1px solid var(--rule-ink); font-family: var(--display); font-size: clamp(30px, 8vw, 46px); line-height: 1.1; }
.menu nav a span { font-family: var(--mono); font-size: 12px; color: var(--red-hi); letter-spacing: .1em; }
.menu .menu-foot { font-family: var(--mono); font-size: 12px; color: var(--on-ink-2); line-height: 1.9; letter-spacing: .04em; }
.menu-open { overflow: hidden; }

/* ---------- audit-trail rail (desktop) ---------- */
.rail {
  position: fixed; left: 22px; top: 50%; transform: translateY(-50%); z-index: 90;
  display: none; flex-direction: column; gap: 0; opacity: 0; transition: opacity .6s var(--ease);
  --c: var(--on-paper); --c2: var(--rule-paper); --r: var(--red);
}
.rail.on { opacity: 1; }
.rail.on-dark { --c: var(--on-ink); --c2: var(--rule-ink); --r: var(--red-hi); }
.rail::before, .rail .fill { content: ""; position: absolute; left: 4px; top: 6px; width: 2px; bottom: 6px; background: var(--c2); }
.rail .fill { background: var(--r); bottom: auto; height: 0; transition: height .25s linear; }
.rail a { position: relative; display: flex; align-items: center; height: 34px; padding-left: 22px; }
.rail a::before { content: ""; position: absolute; left: 0; top: 50%; width: 10px; height: 10px; margin-top: -5px; background: var(--paper); border: 2px solid var(--c2); transition: all .35s var(--ease); }
.rail.on-dark a::before { background: var(--ink); }
.rail a.passed::before { border-color: var(--r); }
.rail a.active::before { background: var(--r); border-color: var(--r); transform: rotate(45deg); }
.rail a span { font-family: var(--mono); font-size: 11.5px; letter-spacing: .09em; text-transform: uppercase; color: var(--c); opacity: 0; transform: translateX(-6px); transition: all .35s var(--ease); white-space: nowrap; }
.rail:hover a span { opacity: .75; transform: none; }
@media (min-width: 1440px) { .rail { display: flex; } }

/* ---------- guilloche ---------- */
.guilloche { position: absolute; pointer-events: none; }
.guilloche svg { width: 100%; height: 100%; overflow: visible; }
.guilloche path { fill: none; vector-effect: non-scaling-stroke; }
@media (prefers-reduced-motion: no-preference) {
  .guilloche.spin svg { animation: spin 240s linear infinite; }
  .guilloche.spin.rev svg { animation-direction: reverse; animation-duration: 320s; }
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- HERO ---------- */
.hero {
  position: relative; min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-start;
  background: radial-gradient(120% 90% at 85% 10%, #1A2160 0%, rgba(26,33,96,0) 55%), var(--ink);
  color: var(--on-ink); overflow: hidden; padding-top: 96px;
}
.hero .guilloche.g1 { width: min(1100px, 120vw); aspect-ratio: 1; right: max(-380px, -30vw); top: 50%; translate: 0 -54%; }
.hero .guilloche.g1 path { stroke: rgba(243, 239, 230, 0.075); }
.hero .guilloche.g2 { width: min(520px, 70vw); aspect-ratio: 1; right: max(-30px, 6vw); top: 50%; translate: 0 -62%; }
.hero .guilloche.g2 path { stroke: rgba(224, 54, 46, 0.12); }
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(var(--rule-ink) 1px, transparent 1px), linear-gradient(90deg, var(--rule-ink) 1px, transparent 1px);
  background-size: 88px 88px; opacity: .35;
  -webkit-mask-image: radial-gradient(70% 60% at 30% 60%, #000 0%, transparent 75%); mask-image: radial-gradient(70% 60% at 30% 60%, #000 0%, transparent 75%);
}
.hero-inner { position: relative; z-index: 2; flex: 1; display: flex; flex-direction: column; justify-content: center; padding-top: clamp(16px, 4vh, 56px); padding-bottom: clamp(32px, 6vh, 72px); }
@media (min-width: 1800px) { :root { --maxw: 1560px; } }
.hero .eyebrow { margin-bottom: clamp(28px, 4vw, 48px); }

.stair {
  position: relative; font-family: var(--display); font-weight: 600; letter-spacing: -0.055em;
  font-size: clamp(54px, min(10.4vw, 16vh), 200px); line-height: 0.98; 
}
.stair .step { display: block; width: max-content; position: relative; z-index: 1; }
.stair .step i { font-style: normal; color: var(--red-hi); }
.stair .s2 { margin-left: 0.9em; }
.stair .s3 { margin-left: 1.8em; font-weight: 300; }
.stair .w { display: inline-block; }
@media (min-width: 701px) and (max-width: 1100px) { .stair { font-size: min(13vw, 16vh); } }
@media (max-width: 700px) {
  .stair { font-size: 15vw; line-height: 1.02; }
  .stair .s2 { margin-left: .55em; }
  .stair .s3 { margin-left: 1.1em; }
}
.trail { position: absolute; left: 0; top: 0; overflow: visible; pointer-events: none; z-index: 0; }
.trail path { fill: none; stroke: var(--red-hi); stroke-linecap: butt; stroke-linejoin: round; }
.trail .node { fill: var(--ink); stroke: var(--red-hi); }

.hero-foot { margin-top: clamp(36px, 5vw, 56px); display: grid; gap: 28px; align-items: end; }
@media (min-width: 960px) { .hero-foot { grid-template-columns: minmax(0, 1fr) auto; gap: 48px; } }
.hero-foot .lede { max-width: 50ch; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }

.ticker { position: relative; z-index: 2; border-top: 1px solid var(--rule-ink); overflow: hidden; }
.ticker-track { display: flex; width: max-content; animation: marquee 48s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-item { display: flex; align-items: center; gap: 12px; padding: 18px 30px; font-family: var(--mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--on-ink-2); white-space: nowrap; }
.ticker-item b { color: var(--on-ink); font-weight: 500; }
.ticker-item::after { content: ""; width: 6px; height: 6px; background: var(--red-hi); transform: rotate(45deg); margin-left: 30px; }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .ticker-track, .logo-track { animation: none !important; } }

/* hero intro choreography */
.js .stair .w { clip-path: inset(0 -0.1em 100% -0.1em); transform: translateY(0.5em); }
.js .stair .step i { opacity: 0; transform: scale(0); display: inline-block; }
.js .hero .eyebrow, .js .hero-foot > *, .js .ticker { opacity: 0; transform: translateY(14px); }
.ready .stair .w { clip-path: inset(-0.2em -0.1em -0.3em -0.1em); transform: none; transition: clip-path 1.1s var(--ease), transform 1.1s var(--ease); }
.ready .stair .step i { opacity: 1; transform: none; transition: transform .7s cubic-bezier(.3,1.6,.5,1), opacity .3s; }
.ready .hero .eyebrow, .ready .hero-foot > *, .ready .ticker { opacity: 1; transform: none; transition: opacity 1s var(--ease), transform 1s var(--ease); }
.ready .stair .s1 .w { transition-delay: .15s; } .ready .stair .s1 i { transition-delay: .9s; }
.ready .stair .s2 .w { transition-delay: .35s; } .ready .stair .s2 i { transition-delay: 1.25s; }
.ready .stair .s3 .w { transition-delay: .55s; } .ready .stair .s3 i { transition-delay: 1.6s; }
.ready .hero .eyebrow { transition-delay: .05s; }
.ready .hero-foot > :nth-child(1) { transition-delay: 1.1s; }
.ready .hero-foot > :nth-child(2) { transition-delay: 1.25s; }
.ready .ticker { transition-delay: 1.5s; }

/* ---------- partner logos ---------- */
.partners { padding: clamp(56px, 7vw, 88px) 0; border-bottom: 1px solid var(--rule-paper); }
.partners-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; margin-bottom: 40px; }
.partners-head p { font-family: var(--display); font-size: clamp(20px, 2vw, 26px); line-height: 1.25; max-width: 30ch; }
.logo-marquee { position: relative; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.logo-track { display: flex; align-items: center; width: max-content; animation: marquee 44s linear infinite; }
.logo-marquee:hover .logo-track { animation-play-state: paused; }
.logo {
  flex: none; height: var(--h, 56px); aspect-ratio: var(--ar); margin: 0 clamp(28px, 4vw, 56px);
  background: var(--on-paper); opacity: .78; transition: opacity .3s, background .3s;
  -webkit-mask: var(--src) center / contain no-repeat; mask: var(--src) center / contain no-repeat;
}
.logo:hover { opacity: 1; background: var(--navy); }

/* ---------- statement ---------- */
.statement { font-family: var(--display); font-size: clamp(30px, 4.4vw, 64px); line-height: 1.12; letter-spacing: -0.035em; max-width: 22ch; }
.statement .hl { position: relative; white-space: nowrap; color: var(--navy); }
.statement .hl::after { content: ""; position: absolute; left: 0; right: 0; bottom: .02em; height: .06em; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform 1.1s var(--ease) .3s; }
.statement.in .hl::after { transform: scaleX(1); }
.statement-grid { display: grid; gap: 48px; }
@media (min-width: 1000px) { .statement-grid { grid-template-columns: 1.6fr 1fr; gap: 80px; align-items: end; } }
.offices-mini { display: grid; gap: 0; border-top: 1px solid var(--rule-paper); }
.offices-mini div { display: grid; grid-template-columns: 92px 1fr auto; gap: 16px; align-items: baseline; padding: 18px 0; border-bottom: 1px solid var(--rule-paper); }
.offices-mini .k { font-family: var(--mono); font-size: 12px; letter-spacing: .09em; text-transform: uppercase; color: var(--red); }
.offices-mini .v { font-size: 15px; color: var(--on-paper-2); line-height: 1.4; }
.offices-mini .t { font-family: var(--mono); font-size: 13px; font-variant-numeric: tabular-nums; }

/* ---------- practice index ---------- */
.practice { border-top: 1px solid var(--rule-paper); }
.practice a {
  position: relative; display: grid; grid-template-columns: 56px 1fr; gap: 8px 20px; align-items: center;
  padding: clamp(24px, 3vw, 36px) 0; border-bottom: 1px solid var(--rule-paper); overflow: hidden;
}
.practice a::before { content: ""; position: absolute; left: 0; bottom: -1px; height: 2px; width: 100%; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .7s var(--ease); }
.practice a:hover::before { transform: scaleX(1); }
.practice .no { font-family: var(--mono); font-size: 13px; color: var(--red); letter-spacing: .08em; align-self: start; padding-top: .9em; }
.practice .nm { font-family: var(--display); font-size: clamp(32px, 5vw, 72px); line-height: 1; letter-spacing: -0.04em; transition: transform .6s var(--ease), color .4s; }
.practice a:hover .nm { transform: translateX(14px); color: var(--red); }
.practice .ds { grid-column: 2; font-size: 15.5px; color: var(--on-paper-2); max-width: 58ch; }
.practice .ct { display: none; }
.practice .go { display: none; }
@media (min-width: 900px) {
  .practice a { grid-template-columns: 80px minmax(0, 1.25fr) minmax(0, 1fr) 120px 48px; gap: 32px; }
  .practice .no { padding-top: 0; align-self: center; }
  .practice .ds { grid-column: auto; }
  .practice .ct { display: block; font-family: var(--mono); font-size: 12px; letter-spacing: .1em; color: var(--on-paper-3); text-align: right; text-transform: uppercase; }
  .practice .go { display: grid; place-items: center; width: 48px; height: 48px; border: 1px solid var(--rule-paper); border-radius: 50%; transition: all .45s var(--ease); }
  .practice .go svg { width: 18px; height: 18px; transition: transform .45s var(--ease); }
  .practice a:hover .go { background: var(--red); border-color: var(--red); color: #fff; }
  .practice a:hover .go svg { transform: rotate(-45deg); }
}

/* ---------- ledger (comparison) ---------- */
.ledger { position: relative; border: 1px solid var(--rule-ink); background: linear-gradient(180deg, rgba(255,255,255,.02), rgba(255,255,255,0)); }
.ledger-row { display: grid; grid-template-columns: 1fr; border-top: 1px solid var(--rule-ink); }
.ledger-row:first-child { border-top: 0; }
.ledger-row > div { padding: 22px 26px; display: flex; gap: 16px; align-items: flex-start; }
.ledger-row .n { font-family: var(--mono); font-size: 12px; color: var(--on-ink-3); letter-spacing: .1em; padding-top: 4px; min-width: 28px; }
.ledger-row .us { font-family: var(--display); font-size: clamp(19px, 1.6vw, 22px); line-height: 1.3; color: var(--on-ink); }
.ledger-row > div.us { padding-top: 26px; padding-bottom: 26px; }
.ledger-row .them { font-size: 15px; color: var(--on-ink-3); align-items: center; }
.ledger-row .them s { text-decoration-color: rgba(224,54,46,.6); text-decoration-thickness: 1px; }
.ledger-head > div { padding: 22px 26px; font-family: var(--mono); font-size: 12.5px; letter-spacing: .1em; text-transform: uppercase; }
.ledger-head .us { color: var(--on-ink); display: flex; align-items: center; gap: 12px; }
.ledger-head .us svg { height: 34px; width: auto; }
.ledger-head .them { color: var(--on-ink-3); }
.tick, .cross { flex: none; width: 22px; height: 22px; margin-top: 3px; fill: none; }
.tick { stroke: var(--red-hi); stroke-width: 2; stroke-dasharray: 24; stroke-dashoffset: 24; transition: stroke-dashoffset .7s var(--ease); }
.ledger.in .tick { stroke-dashoffset: 0; }
.cross { stroke: var(--on-ink-3); stroke-width: 1.5; width: 18px; height: 18px; margin-top: 2px; }
@media (min-width: 860px) {
  .ledger-row { grid-template-columns: 1.15fr 1fr; }
  .ledger-row > div + div { border-left: 1px solid var(--rule-ink); }
}
@media (max-width: 859px) {
  .ledger-head .them { display: none; }
  .ledger-row .them { padding-top: 0; padding-left: 70px; }
  .ledger-row .them .cross { display: none; }
  .ledger-row .them::before { content: "vs."; font-family: var(--mono); font-size: 12px; color: var(--on-ink-3); }
}

/* ---------- dossier (tabbed case file) ---------- */
.dossier { display: grid; gap: 0; }
@media (min-width: 1000px) { .dossier { grid-template-columns: 340px 1fr; } }
.dossier-tabs { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding-bottom: 0; }
.dossier-tabs::-webkit-scrollbar { display: none; }
.dossier-tab {
  flex: none; text-align: left; padding: 14px 18px; background: var(--paper-3); color: var(--on-paper-2);
  font-size: 14px; font-weight: 500; border: 1px solid var(--rule-paper); border-bottom: 0; position: relative;
  transition: background .35s, color .35s;
}
.dossier-tab .mono { display: block; font-size: 11.5px; letter-spacing: .09em; color: var(--on-paper-3); margin-bottom: 4px; }
.dossier-tab[aria-selected="true"] { background: #FBF8F1; color: var(--on-paper); }
.dossier-tab[aria-selected="true"] .mono { color: var(--red); }
@media (min-width: 1000px) {
  .dossier-tabs { flex-direction: column; gap: 0; overflow: visible; border-top: 1px solid var(--rule-paper); }
  .dossier-tab { background: transparent; border: 0; border-bottom: 1px solid var(--rule-paper); padding: 20px 24px 20px 0; font-size: 16px; }
  .dossier-tab::after { content: ""; position: absolute; right: 0; top: 50%; width: 0; height: 2px; background: var(--red); transition: width .5s var(--ease); }
  .dossier-tab[aria-selected="true"] { background: transparent; }
  .dossier-tab[aria-selected="true"]::after { width: 40px; }
  .dossier-tab:hover { color: var(--on-paper); }
}
.sheet {
  position: relative; background: #FBF8F1; border: 1px solid var(--rule-paper); padding: clamp(28px, 4.5vw, 64px);
  box-shadow: 0 1px 0 #fff inset, 0 30px 60px -30px rgba(10,14,39,.25), 8px 8px 0 -1px var(--paper-2), 8px 8px 0 0 var(--rule-paper);
  min-height: 520px; overflow: hidden;
}
@media (min-width: 1000px) { .sheet { margin-left: 40px; } }
.sheet .guilloche { width: 420px; aspect-ratio: 1; right: -150px; bottom: -170px; }
.sheet .guilloche path { stroke: rgba(26, 35, 126, 0.08); }
.sheet-meta { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-family: var(--mono); font-size: 12px; letter-spacing: .09em; text-transform: uppercase; color: var(--on-paper-3); padding-bottom: 18px; border-bottom: 1px dashed var(--rule-paper); margin-bottom: 32px; }
.sheet-meta b { color: var(--on-paper); font-weight: 500; }
.panel { position: relative; z-index: 1; }
.panel[hidden] { display: none; }
.panel .h3 { max-width: 26ch; margin-bottom: 20px; }
.panel p { color: var(--on-paper-2); max-width: 62ch; }
.checks { list-style: none; margin-top: 30px; display: grid; gap: 0; border-top: 1px solid var(--rule-paper); max-width: 680px; }
.checks li { display: grid; grid-template-columns: 28px 1fr; gap: 14px; padding: 15px 0; border-bottom: 1px solid var(--rule-paper); font-size: 15.5px; }
.checks li svg { width: 20px; height: 20px; margin-top: 2px; stroke: var(--red); stroke-width: 2; fill: none; }
.stamp {
  position: absolute; right: clamp(20px, 4vw, 52px); top: clamp(64px, 7vw, 90px); z-index: 2;
  width: 118px; height: 118px; border-radius: 50%; border: 2px solid var(--red); color: var(--red);
  display: grid; place-items: center; text-align: center; transform: rotate(-14deg);
  font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; line-height: 1.5;
  opacity: .85; mix-blend-mode: multiply;
}
.stamp::before { content: ""; position: absolute; inset: 5px; border-radius: 50%; border: 1px dashed var(--red); }
.stamp b { display: block; font-family: var(--display); font-size: 22px; letter-spacing: .02em; font-weight: 600; }
.stamp.thump { animation: thump .55s cubic-bezier(.2,1.6,.4,1); }
@keyframes thump { 0% { transform: rotate(-14deg) scale(1.9); opacity: 0; } 60% { opacity: .9; } 100% { transform: rotate(-14deg) scale(1); opacity: .85; } }
@media (max-width: 640px) { .stamp { width: 86px; height: 86px; font-size: 8px; top: 74px; } .stamp b { font-size: 16px; } .panel .h3 { padding-right: 70px; } }

/* ---------- seal / stat ---------- */
.seal-wrap { display: grid; gap: 56px; align-items: center; }
@media (min-width: 1000px) { .seal-wrap { grid-template-columns: 1fr 1fr; gap: 96px; } }
.seal { position: relative; width: min(100%, 480px); aspect-ratio: 1; margin: 0 auto; display: grid; place-items: center; }
.seal .guilloche { inset: 0; }
.seal .guilloche path { stroke: rgba(243,239,230,.14); }
.seal .ring { position: absolute; inset: 9%; }
.seal .ring { overflow: visible; }
.seal .ring circle { fill: none; }
.seal .ring .bg { stroke: var(--rule-ink); }
.seal .ring .bench { stroke: rgba(243,239,230,.35); stroke-dasharray: 2 6; }
.seal .ring .val { stroke: var(--red-hi); stroke-linecap: butt; transition: stroke-dashoffset 2.2s var(--ease); }
.seal-core { position: relative; text-align: center; }
.seal-core .num { font-family: var(--display); font-size: clamp(92px, 12vw, 160px); line-height: .9; letter-spacing: -0.04em; font-variant-numeric: lining-nums; }
.seal-core .num sup { font-family: var(--sans); font-weight: 300; font-size: .3em; vertical-align: top; position: relative; top: .25em; margin-left: .04em; color: var(--red-hi); }
.seal-core .lbl { font-family: var(--mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--on-ink-2); margin-top: 14px; }
.bars { display: grid; gap: 22px; margin: 36px 0 40px; max-width: 520px; }
.bar .top { display: flex; justify-content: space-between; font-size: 14px; color: var(--on-ink-2); margin-bottom: 10px; }
.bar .top b { font-family: var(--mono); font-weight: 500; color: var(--on-ink); }
.bar .track { height: 6px; background: var(--rule-ink); position: relative; overflow: hidden; }
.bar .track span { position: absolute; inset: 0 auto 0 0; width: var(--v); background: var(--on-ink-3); transform: scaleX(0); transform-origin: left; transition: transform 1.8s var(--ease); }
.bar.us .track span { background: var(--red-hi); }
.in .bar .track span { transform: scaleX(1); }

/* ---------- process (forensic steps) ---------- */
.process { position: relative; display: grid; gap: 0; counter-reset: s; }
.process-trail { display: none; }
.step-card { position: relative; padding: 0 0 40px 48px; }
.step-card::before { content: ""; position: absolute; left: 7px; top: 8px; bottom: 0; width: 2px; background: var(--rule-ink); }
.step-card:last-child::before { display: none; }
.step-card .dot { position: absolute; left: 0; top: 2px; width: 16px; height: 16px; border: 2px solid var(--red-hi); background: var(--ink); transform: rotate(45deg); }
.step-card .mono { font-size: 12.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--red-hi); }
.step-card h3 { font-family: var(--display); font-weight: 600; font-size: clamp(26px, 2.4vw, 34px); line-height: 1.1; margin: 10px 0 12px; }
.step-card p { color: var(--on-ink-2); font-size: 15.5px; max-width: 34ch; }
.step-card .tag { display: inline-block; margin-top: 16px; font-family: var(--mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; padding: 6px 10px; border: 1px solid rgba(224,54,46,.5); color: var(--on-ink); }
@media (min-width: 1000px) {
  .process { grid-template-columns: repeat(4, 1fr); gap: 40px; padding-top: 70px; }
  .process-trail { display: block; position: absolute; left: 0; right: 0; top: 0; height: 200px; overflow: visible; }
  .process-trail path { fill: none; stroke: var(--red-hi); stroke-width: 2; }
  .process-trail .base { stroke: var(--rule-ink); }
  .step-card { padding: 0; }
  .step-card::before { display: none; }
  .step-card .dot { position: absolute; left: 0; top: -41px; }
  .step-card:nth-of-type(2) { margin-top: 30px; }
  .step-card:nth-of-type(3) { margin-top: 60px; }
  .step-card:nth-of-type(4) { margin-top: 90px; }
  .process.light .step-card .dot { background: var(--paper); }
}
.process.light .step-card::before { background: var(--rule-paper); }
.process.light .step-card .dot { border-color: var(--red); background: var(--paper); }
.process.light .step-card .mono { color: var(--red); }
.process.light .step-card p { color: var(--on-paper-2); }
.process.light .step-card .tag { color: var(--on-paper); border-color: rgba(181,29,28,.45); }
.process.light .process-trail .base { stroke: var(--rule-paper); }
.process.light .process-trail path { stroke: var(--red); }

/* ---------- quote ---------- */
.quote { position: relative; text-align: center; }
.quote blockquote { font-family: var(--display); font-size: clamp(36px, 6.4vw, 96px); line-height: 1.02; letter-spacing: -0.045em; max-width: 16ch; margin: 0 auto; }
.quote blockquote em { color: var(--red); }
.quote .mark-q { font-family: var(--display); font-size: 140px; line-height: .5; color: var(--red); height: 56px; display: block; }
.quote p { margin: 32px auto 0; max-width: 58ch; color: var(--on-paper-2); }
.quote .guilloche { width: 900px; aspect-ratio: 1; left: 50%; top: 50%; translate: -50% -50%; }
.quote .guilloche path { stroke: rgba(26,35,126,.06); }
.quote .wrap { position: relative; z-index: 1; }

/* ---------- contact ---------- */
.contact-grid { display: grid; gap: 56px; }
@media (min-width: 1040px) { .contact-grid { grid-template-columns: 1fr 1.05fr; gap: 88px; } }
.emails { margin-top: 36px; display: grid; gap: 0; border-top: 1px solid var(--rule-ink); }
.emails a { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--rule-ink); transition: color .3s, padding .45s var(--ease); }
.emails a:hover { color: var(--red-hi); padding-left: 10px; }
.emails .k { font-family: var(--mono); font-size: 12px; letter-spacing: .09em; text-transform: uppercase; color: var(--on-ink-3); }
.emails .v { font-size: clamp(16px, 1.5vw, 19px); }
.office-cards { display: grid; gap: 16px; margin-top: 40px; }
@media (min-width: 620px) { .office-cards { grid-template-columns: 1fr 1fr; } }
.office { position: relative; padding: 24px; border: 1px solid var(--rule-ink); overflow: hidden; }
.office .city { font-family: var(--display); font-size: 32px; line-height: 1; display: flex; justify-content: space-between; align-items: baseline; }
.office .city .t { font-family: var(--mono); font-size: 14px; color: var(--red-hi); font-variant-numeric: tabular-nums; }
.office address { font-style: normal; font-size: 14.5px; color: var(--on-ink-2); margin-top: 14px; line-height: 1.5; }
.office .coord { font-family: var(--mono); font-size: 11.5px; letter-spacing: .1em; color: var(--on-ink-3); margin-top: 16px; }
.office .status { display: inline-flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--on-ink-2); margin-top: 6px; }
.office .status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--on-ink-3); }
.office .status.open::before { background: #3FB37F; box-shadow: 0 0 0 4px rgba(63,179,127,.18); }

.form { position: relative; background: var(--paper); color: var(--on-paper); padding: clamp(28px, 4vw, 52px); }
.form::before { content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 4px; background: var(--red); }
.form h3 { font-family: var(--display); font-weight: 600; font-size: clamp(28px, 2.6vw, 38px); line-height: 1.1; margin-bottom: 8px; }
.form .sub { font-size: 15px; color: var(--on-paper-2); margin-bottom: 28px; }
.field { position: relative; margin-bottom: 18px; }
.field label { display: block; font-family: var(--mono); font-size: 12px; letter-spacing: .09em; text-transform: uppercase; color: var(--on-paper-2); margin-bottom: 8px; }
.field input, .field textarea, .field select {
  width: 100%; background: transparent; border: 0; border-bottom: 1px solid rgba(10,14,39,.28); padding: 10px 0 12px; font-size: 17px;
  border-radius: 0; outline: none; transition: border-color .3s; -webkit-appearance: none; appearance: none;
}
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%230A0E27' stroke-width='1.5'%3E%3Cpath d='M1 1l5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 4px center; padding-right: 24px; cursor: pointer; }
.field textarea { resize: vertical; min-height: 110px; }
.field::after { content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 100%; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease); }
.field:focus-within::after { transform: scaleX(1); }
.field-row { display: grid; gap: 0 24px; }
@media (min-width: 560px) { .field-row { grid-template-columns: 1fr 1fr; } }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: 13.5px; color: var(--on-paper-2); margin: 8px 0 26px; cursor: pointer; }
.consent input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--red); flex: none; }
.form .btn { width: 100%; justify-content: space-between; }
.form .note { font-size: 12.5px; color: var(--on-paper-3); margin-top: 16px; display: flex; gap: 8px; align-items: center; }
.form .note svg { width: 14px; height: 14px; flex: none; }
.form-done { display: none; text-align: left; }
.form.sent form { display: none; }
.form.sent .form-done { display: block; }
.form-done .h3 { margin: 18px 0 12px; }
.form-err { display: none; color: var(--red); font-size: 14px; margin-top: 14px; }
.form-err.show { display: block; }
.hp { position: absolute; left: -9999px; }

/* ---------- footer ---------- */
.footer { background: #070A1E; color: var(--on-ink); padding: clamp(72px, 9vw, 120px) 0 36px; position: relative; overflow: hidden; }
.footer-top { display: grid; gap: 48px; padding-bottom: 56px; border-bottom: 1px solid var(--rule-ink); }
@media (min-width: 960px) { .footer-top { grid-template-columns: 1.3fr 1fr 1fr 1fr; } }
.footer .mark { height: 104px; width: auto; }
.footer .tag { font-family: var(--display); font-size: 22px; line-height: 1.25; margin-top: 22px; max-width: 22ch; color: var(--on-ink-2); }
.footer h4 { font-family: var(--mono); font-weight: 400; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--on-ink-3); margin-bottom: 18px; }
.footer ul { list-style: none; display: grid; gap: 10px; font-size: 15px; }
.footer ul a { color: var(--on-ink-2); transition: color .3s; }
.footer ul a:hover { color: var(--on-ink); }
.footer address { font-style: normal; font-size: 14.5px; color: var(--on-ink-2); line-height: 1.6; }
.footer address + address { margin-top: 16px; }
.footer address b { color: var(--on-ink); font-weight: 500; display: block; }
.legal { padding-top: 30px; display: grid; gap: 24px; align-items: end; }
@media (min-width: 960px) { .legal { grid-template-columns: 1fr auto; } }
.legal p { font-family: var(--mono); font-size: 11.5px; letter-spacing: .08em; line-height: 2; color: var(--on-ink-3); text-transform: uppercase; }
.legal .badges { display: flex; align-items: center; gap: 20px; }
.legal .badges img { height: 44px; width: auto; border-radius: 2px; }
.footer-word { font-family: var(--display); font-weight: 600; font-size: clamp(80px, 17vw, 280px); line-height: .8; letter-spacing: -0.04em; color: rgba(243,239,230,.04); white-space: nowrap; margin-top: 40px; user-select: none; text-align: center; }

/* ---------- inner-page hero ---------- */
.phero {
  position: relative; background: radial-gradient(100% 90% at 90% 0%, #1A2160 0%, rgba(26,33,96,0) 60%), var(--ink); color: var(--on-ink);
  padding: clamp(150px, 18vw, 220px) 0 clamp(64px, 8vw, 110px); overflow: hidden;
}
.phero .guilloche { width: min(900px, 110vw); aspect-ratio: 1; right: max(-320px, -32vw); top: 50%; translate: 0 -50%; }
.phero .guilloche path { stroke: rgba(243,239,230,.07); }
.phero .wrap { position: relative; z-index: 1; }
.crumbs { font-family: var(--mono); font-size: 12.5px; letter-spacing: .09em; text-transform: uppercase; color: var(--on-ink-3); display: flex; gap: 10px; margin-bottom: 30px; }
.crumbs a:hover { color: var(--on-ink); }
.crumbs span:last-child { color: var(--red-hi); }
.phero h1 { font-family: var(--display); font-weight: 600; font-size: clamp(52px, 9vw, 140px); line-height: .95; letter-spacing: -0.035em; max-width: 14ch; }
.phero h1 em { color: var(--red-hi); }
.phero .lede { margin-top: 30px; }
.phero-trail { position: absolute; left: 0; bottom: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; }
.phero-meta { margin-top: 48px; display: flex; flex-wrap: wrap; gap: 12px 40px; padding-top: 24px; border-top: 1px solid var(--rule-ink); }
.phero-meta div { font-family: var(--mono); font-size: 12.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--on-ink-3); }
.phero-meta b { display: block; font-family: var(--display); font-weight: 600; font-size: 30px; letter-spacing: -0.03em; text-transform: none; color: var(--on-ink); margin-bottom: 4px; }

/* ---------- services directory ---------- */
.dir { display: grid; gap: 40px; }
@media (min-width: 1040px) { .dir { grid-template-columns: 280px 1fr; gap: 72px; align-items: start; } }
.dir-side { display: grid; gap: 24px; }
@media (min-width: 1040px) { .dir-side { position: sticky; top: 100px; } }
.search { position: relative; }
.search input { width: 100%; padding: 15px 16px 15px 46px; background: #FBF8F1; border: 1px solid var(--rule-paper); font-size: 16px; outline: none; transition: border-color .3s, box-shadow .3s; border-radius: 0; }
.search input:focus { border-color: var(--red); box-shadow: 0 0 0 4px rgba(181,29,28,.1); }
.search svg { position: absolute; left: 16px; top: 50%; translate: 0 -50%; width: 18px; height: 18px; color: var(--on-paper-3); }
.cats { display: flex; flex-wrap: wrap; gap: 8px; }
@media (min-width: 1040px) { .cats { flex-direction: column; gap: 0; border-top: 1px solid var(--rule-paper); } }
.cat { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 10px 14px; border: 1px solid var(--rule-paper); font-size: 14.5px; font-weight: 500; color: var(--on-paper-2); transition: all .3s; }
.cat .c { font-family: var(--mono); font-size: 12.5px; color: var(--on-paper-3); }
.cat:hover { color: var(--on-paper); }
.cat.active { background: var(--ink); color: var(--on-ink); border-color: var(--ink); }
.cat.active .c { color: var(--red-hi); }
@media (min-width: 1040px) {
  .cat { border: 0; border-bottom: 1px solid var(--rule-paper); padding: 16px 0; font-size: 16px; }
  .cat.active { background: transparent; color: var(--on-paper); }
  .cat.active .c { color: var(--red); }
  .cat::before { content: ""; width: 0; height: 2px; background: var(--red); transition: width .45s var(--ease); margin-right: -14px; }
  .cat.active::before { width: 22px; margin-right: 0; }
  .cat span:first-of-type { flex: 1; }
}
.dir-side .aside-note { font-size: 14px; color: var(--on-paper-2); border-left: 2px solid var(--red); padding-left: 16px; }
.group { margin-bottom: 72px; scroll-margin-top: 100px; }
.group:last-child { margin-bottom: 0; }
.group-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; padding-bottom: 20px; border-bottom: 2px solid var(--on-paper); margin-bottom: 4px; }
.group-head h2 { font-family: var(--display); font-weight: 600; font-size: clamp(36px, 4vw, 56px); line-height: 1; letter-spacing: -0.04em; }
.group-head h2 small { font-family: var(--mono); font-size: 13px; letter-spacing: .1em; color: var(--red); vertical-align: super; margin-left: 10px; }
.group-head p { font-size: 15px; color: var(--on-paper-2); max-width: 40ch; }
.svc-list { list-style: none; display: grid; }
@media (min-width: 720px) { .svc-list { grid-template-columns: 1fr 1fr; column-gap: 40px; } }
.svc { display: grid; grid-template-columns: 54px 1fr; gap: 14px; padding: 18px 0; border-bottom: 1px solid var(--rule-paper); align-items: baseline; transition: background .3s; position: relative; }
.svc .i { font-family: var(--mono); font-size: 12px; color: var(--on-paper-3); letter-spacing: .06em; }
.svc .en { font-size: 16.5px; font-weight: 500; line-height: 1.35; }
.svc .it { display: block; font-family: var(--sans); font-size: 14px; color: var(--on-paper-3); margin-top: 3px; }
.svc mark { background: rgba(181,29,28,.14); color: inherit; padding: 0 2px; }
.svc[hidden], .group[hidden] { display: none; }
.svc::after { content: ""; position: absolute; left: 0; bottom: -1px; height: 1px; width: 100%; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease); }
.svc:hover::after { transform: scaleX(1); }
.empty { display: none; padding: 48px 0; font-family: var(--display); font-size: 26px; color: var(--on-paper-2); }
.empty.show { display: block; }

/* ---------- training ---------- */
.modes { display: grid; gap: 16px; }
@media (min-width: 960px) { .modes { grid-template-columns: repeat(3, 1fr); gap: 0; } }
.mode { position: relative; padding: clamp(28px, 3vw, 44px); border: 1px solid var(--rule-paper); background: #FBF8F1; display: flex; flex-direction: column; gap: 18px; transition: background .5s var(--ease), color .5s var(--ease); overflow: hidden; }
@media (min-width: 960px) { .mode + .mode { border-left: 0; } }
.mode .no { font-family: var(--mono); font-size: 12px; color: var(--red); letter-spacing: .12em; }
.mode h3 { font-family: var(--display); font-weight: 600; font-size: clamp(28px, 2.6vw, 38px); line-height: 1.05; }
.mode .kicker { font-weight: 600; font-size: 15.5px; line-height: 1.4; }
.mode p, .mode li { font-size: 15.5px; color: var(--on-paper-2); }
.mode ul { list-style: none; display: grid; gap: 8px; }
.mode ul li { display: flex; gap: 10px; }
.mode ul li::before { content: ""; width: 6px; height: 6px; background: var(--red); transform: rotate(45deg); margin-top: 9px; flex: none; }
.mode:hover { background: var(--ink); color: var(--on-ink); }
.mode:hover p, .mode:hover li { color: var(--on-ink-2); }
.mode:hover .no { color: var(--red-hi); }

.pill-row { display: flex; flex-wrap: wrap; gap: 10px; }
.pill { display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px; border: 1px solid var(--rule-paper); font-size: 14.5px; background: #FBF8F1; }
.pill::before { content: ""; width: 6px; height: 6px; background: var(--red); transform: rotate(45deg); }
.dark .pill { background: transparent; border-color: var(--rule-ink); color: var(--on-ink); }
.dark .pill::before { background: var(--red-hi); }

/* ---------- forensic ---------- */
.two-col { display: grid; gap: 48px; }
@media (min-width: 1000px) { .two-col { grid-template-columns: 1fr 1.25fr; gap: 96px; } }
.causes { list-style: none; counter-reset: c; border-top: 1px solid var(--rule-paper); }
.causes li { counter-increment: c; display: grid; grid-template-columns: 56px 1fr; gap: 12px; padding: 22px 0; border-bottom: 1px solid var(--rule-paper); font-family: var(--display); font-size: clamp(22px, 2.1vw, 28px); line-height: 1.2; }
.causes li::before { content: "0" counter(c); font-family: var(--mono); font-size: 12px; color: var(--red); letter-spacing: .1em; padding-top: .55em; }
.risk-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); border-top: 1px solid var(--rule-ink); border-left: 1px solid var(--rule-ink); }
.risk { padding: 28px 24px 32px; border-right: 1px solid var(--rule-ink); border-bottom: 1px solid var(--rule-ink); min-height: 170px; display: flex; flex-direction: column; justify-content: space-between; gap: 24px; transition: background .4s; }
.risk:hover { background: rgba(224,54,46,.08); }
.risk .mono { font-size: 12px; letter-spacing: .09em; color: var(--red-hi); }
.risk h3 { font-family: var(--display); font-weight: 600; font-size: 24px; line-height: 1.15; }
.contexts { display: grid; gap: 16px; margin-top: 40px; }
@media (min-width: 760px) { .contexts { grid-template-columns: 1fr 1fr; } }
.context { padding: 28px; border: 1px solid var(--rule-paper); background: #FBF8F1; }
.context .mono { font-size: 12px; letter-spacing: .09em; text-transform: uppercase; color: var(--red); }
.context h3 { font-family: var(--display); font-weight: 600; font-size: 28px; margin: 10px 0 8px; }
.context p { font-size: 15.5px; color: var(--on-paper-2); }
.pull { font-family: var(--display); font-size: clamp(26px, 3vw, 40px); line-height: 1.2; letter-spacing: -0.03em; border-left: 3px solid var(--red); padding-left: clamp(20px, 3vw, 36px); max-width: 30ch; }
.pull em { color: var(--red); }

.cta-band { position: relative; overflow: hidden; }
.cta-band .inner { display: grid; gap: 32px; align-items: end; position: relative; z-index: 1; }
@media (min-width: 960px) { .cta-band .inner { grid-template-columns: 1.4fr auto; } }
.cta-band .guilloche { width: 760px; aspect-ratio: 1; right: -240px; top: 50%; translate: 0 -50%; }
.cta-band .guilloche path { stroke: rgba(243,239,230,.08); }

/* ---------- reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity 1s var(--ease), transform 1.1s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
.js .reveal.d1 { transition-delay: .08s; } .js .reveal.d2 { transition-delay: .16s; } .js .reveal.d3 { transition-delay: .24s; } .js .reveal.d4 { transition-delay: .32s; }
.js .stagger > * { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .9s var(--ease); }
.js .stagger.in > * { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal, .js .stagger > *, .js .stair .w, .js .stair .step i, .js .hero .eyebrow, .js .hero-foot > *, .js .ticker { opacity: 1 !important; transform: none !important; filter: none !important; transition: none !important; }
}

/* ============================================================
   WOW LAYER — intro, smooth scroll, parallax, kinetic band,
   cursor badge, spotlight hover, magnetic buttons
============================================================ */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

/* intro */
.loader {
  position: fixed; inset: 0; z-index: 400; background: var(--ink); color: var(--on-ink);
  display: grid; place-items: center; clip-path: inset(0 0 0 0);
  transition: clip-path 1s var(--ease-io);
}
.loader.out { clip-path: inset(0 0 100% 0); }
.loader.gone { display: none; }
.loader-inner { display: grid; justify-items: center; gap: 26px; }
.loader svg { width: min(150px, 36vw); height: auto; overflow: visible; }
.loader .ln { fill: var(--red-hi); opacity: 0; animation: fadein .5s ease .45s forwards; }
.loader .ln-mask { stroke-dasharray: 130; stroke-dashoffset: 130; animation: draw 1.1s var(--ease-io) .6s forwards; }
.loader .wm { fill: var(--on-ink); opacity: 0; transform: translateY(8px) scale(.96); transform-origin: 50% 50%; transform-box: fill-box; animation: rise .9s var(--ease) .1s forwards; }
.loader-meta { display: flex; gap: 22px; font-family: var(--mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--on-ink-3); opacity: 0; animation: fadein .6s ease 1s forwards; }
.loader-meta b { color: var(--on-ink); font-weight: 500; }
.loader-bar { width: min(300px, 62vw); height: 1px; background: var(--rule-ink); position: relative; overflow: hidden; }
.loader-bar::after { content: ""; position: absolute; inset: 0; background: var(--red-hi); transform: scaleX(0); transform-origin: left; animation: grow 1.5s var(--ease-io) .1s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes rise { to { opacity: 1; transform: none; } }
@keyframes fadein { to { opacity: 1; } }
@keyframes grow { to { transform: scaleX(1); } }

/* hero: mouse parallax + spotlight grid */
.hero .guilloche { transform: translate3d(var(--px, 0px), var(--py, 0px), 0); transition: transform 1.2s var(--ease); }
.hero .guilloche.g2 { transform: translate3d(calc(var(--px, 0px) * -1.6), calc(var(--py, 0px) * -1.6), 0); }
.hero-spot {
  position: absolute; inset: 0; pointer-events: none; z-index: 1;
  background-image: linear-gradient(rgba(243,239,230,.16) 1px, transparent 1px), linear-gradient(90deg, rgba(243,239,230,.16) 1px, transparent 1px);
  background-size: 88px 88px;
  -webkit-mask-image: radial-gradient(260px circle at var(--hx, -999px) var(--hy, -999px), #000 0%, transparent 100%);
  mask-image: radial-gradient(260px circle at var(--hx, -999px) var(--hy, -999px), #000 0%, transparent 100%);
}
.hero-glow { position: absolute; width: 640px; height: 640px; left: 0; top: 0; border-radius: 50%; pointer-events: none; z-index: 0;
  background: radial-gradient(circle, rgba(224,54,46,.16) 0%, rgba(224,54,46,0) 60%);
  transform: translate3d(calc(var(--hx, -999px) - 320px), calc(var(--hy, -999px) - 320px), 0); transition: transform .5s var(--ease); }

/* kinetic band */
.band { position: relative; overflow: hidden; padding: clamp(40px, 6vw, 80px) 0; background: var(--paper); border-top: 1px solid var(--rule-paper); border-bottom: 1px solid var(--rule-paper); }
.band-row { display: flex; width: max-content; white-space: nowrap; will-change: transform; }
.band-row span { font-family: var(--display); font-weight: 600; font-size: clamp(64px, 12vw, 190px); line-height: 1; letter-spacing: -0.055em; padding-right: .35em; display: inline-flex; align-items: center; gap: .35em; }
.band-row span::after { content: ""; width: .16em; height: .16em; background: var(--red); transform: rotate(45deg); flex: none; }
.band-row.outline span { color: transparent; -webkit-text-stroke: 1.5px var(--on-paper); font-weight: 600; }
.band-row.outline span::after { background: transparent; box-shadow: inset 0 0 0 2px var(--red); }
.band-row + .band-row { margin-top: .04em; }

/* cursor badge (practice list) */
.cursor-badge {
  position: fixed; left: 0; top: 0; z-index: 150; pointer-events: none;
  width: 108px; height: 108px; margin: -54px 0 0 -54px; border-radius: 50%;
  background: var(--red); color: #fff; display: grid; place-items: center; text-align: center;
  font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; line-height: 1.3;
  transform: translate3d(var(--cx, -200px), var(--cy, -200px), 0) scale(0); transition: transform .35s var(--ease);
}
.cursor-badge.on { transform: translate3d(var(--cx), var(--cy), 0) scale(1); }
.cursor-badge b { display: block; font-family: var(--display); font-size: 26px; font-weight: 600; letter-spacing: -0.04em; text-transform: none; }
@media (hover: none), (pointer: coarse) { .cursor-badge { display: none; } }
@media (hover: hover) and (pointer: fine) { .practice a { cursor: none; } .practice a .go { opacity: 0; } }

/* spotlight hover */
.spot { position: relative; isolation: isolate; }
.spot::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: -1; opacity: 0; transition: opacity .4s;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(224,54,46,.14), transparent 60%);
}
.spot:hover::after { opacity: 1; }
.mode.spot::after, .context.spot::after { background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(181,29,28,.12), transparent 60%); }

/* magnetic buttons */
.btn.mag { transition: color .4s var(--ease), transform .5s var(--ease); }

/* section headings: masked line rise */
.js .rise { clip-path: inset(0 0 100% 0); transform: translateY(30px); transition: clip-path 1.1s var(--ease), transform 1.1s var(--ease); }
.js .rise.in { clip-path: inset(-10% -2% -20% -2%); transform: none; }
@media (prefers-reduced-motion: reduce) { .js .rise { clip-path: none !important; transform: none !important; } .loader { display: none; } }

/* ============================================================
   MOBILE REFINEMENTS
============================================================ */
html { -webkit-tap-highlight-color: transparent; }
.menu nav a { opacity: 0; transform: translateY(18px); transition: opacity .5s var(--ease), transform .6s var(--ease); }
.menu-open .menu nav a { opacity: 1; transform: none; }
.menu-open .menu nav a:nth-child(1) { transition-delay: .18s; } .menu-open .menu nav a:nth-child(2) { transition-delay: .23s; }
.menu-open .menu nav a:nth-child(3) { transition-delay: .28s; } .menu-open .menu nav a:nth-child(4) { transition-delay: .33s; }
.menu-open .menu nav a:nth-child(5) { transition-delay: .38s; } .menu-open .menu nav a:nth-child(6) { transition-delay: .43s; }
.menu .btn { margin: 28px 0; width: 100%; justify-content: space-between; }

@media (max-width: 999px) {
  .dossier-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; overflow: visible; margin-bottom: 14px; }
  .dossier-tab { border: 1px solid var(--rule-paper); padding: 12px 14px; font-size: 14px; line-height: 1.3; min-height: 64px; }
  .dossier-tab[aria-selected="true"] { background: var(--ink); color: var(--on-ink); border-color: var(--ink); }
  .dossier-tab[aria-selected="true"] .mono { color: var(--red-hi); }
}
@media (max-width: 640px) {
  .sheet { padding: 24px 20px 28px; min-height: 0; }
  .sheet-meta span:last-child { display: none; }
  .ledger-row > div, .ledger-head > div { padding: 18px; }
  .ledger-row > div.us { padding-top: 20px; padding-bottom: 10px; }
  .ledger-row .them { padding-left: 64px; padding-bottom: 20px; }
  .hero .cta-row .btn, .cta-band .btn { width: 100%; justify-content: space-between; }
  .step-card::before { background: linear-gradient(var(--red-hi), rgba(224,54,46,.15)); opacity: .7; }
  .process.light .step-card::before { background: linear-gradient(var(--red), rgba(181,29,28,.12)); }
  .sec { padding: 80px 0; }
  .offices-mini div { grid-template-columns: 72px 1fr auto; }
  .footer-word { font-size: 22vw; }
}
@media (max-width: 1039px) {
  .dir-side { position: sticky; top: 0; z-index: 20; background: var(--paper); margin: 0 calc(var(--gut) * -1); padding: 14px var(--gut) 12px; gap: 12px; border-bottom: 1px solid var(--rule-paper); }
  .cats { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin: 0 calc(var(--gut) * -1); padding: 0 var(--gut); }
  .cats::-webkit-scrollbar { display: none; }
  .cat { flex: none; min-height: 42px; }
  .dir-side .aside-note { display: none; }
  .group { scroll-margin-top: 150px; }
}

/* ---------- mobile hero composition ---------- */
@media (max-width: 700px) {
  .hero { padding-top: 84px; }
  .hero-inner { justify-content: flex-end; padding-top: 0; padding-bottom: 36px; }
  .hero .eb-a { display: none; }
  .hero .eyebrow { margin-bottom: 22px; }
  .stair { font-size: 19vw; line-height: .98; letter-spacing: -0.06em; }
  .stair .s2 { margin-left: .42em; }
  .stair .s3 { margin-left: .84em; }
  .hero .guilloche.g1 { width: 132vw; right: -46vw; top: 6%; translate: 0 0; }
  .hero .guilloche.g2 { width: 74vw; right: -6vw; top: 13%; translate: 0 0; }
  .hero .guilloche.g1 path { stroke: rgba(243, 239, 230, 0.09); }
  .hero::before { -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 60%); mask-image: linear-gradient(180deg, #000 0%, transparent 60%); opacity: .5; }
  .hero-foot { margin-top: 30px; gap: 24px; }
  .hero-foot .lede { font-size: 17px; }
  .hero .cta-row { gap: 10px; }
}
@media (max-width: 700px) and (max-height: 700px) {
  .stair { font-size: 15.5vw; }
}

/* ============================================================
   CREDENTIAL CERTIFICATES (3D tilt)
============================================================ */
.certs { display: grid; gap: 18px; perspective: 1100px; }
@media (min-width: 700px) { .certs { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1180px) { .certs { grid-template-columns: repeat(4, 1fr); } }
.cert {
  position: relative; display: flex; flex-direction: column; min-height: 300px; padding: 26px 24px 22px;
  background: #FBF8F1; color: var(--on-paper); overflow: hidden; isolation: isolate;
  box-shadow: 0 1px 0 #fff inset, 0 24px 50px -28px rgba(10,14,39,.35);
  transform-style: preserve-3d; transform: perspective(1100px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform .6s var(--ease), box-shadow .6s var(--ease);
}
.cert::before { content: ""; position: absolute; inset: 8px; border: 1px solid rgba(26,35,126,.22); outline: 1px solid rgba(26,35,126,.1); outline-offset: 3px; pointer-events: none; z-index: -1; }
.cert:hover { box-shadow: 0 1px 0 #fff inset, 0 40px 70px -30px rgba(10,14,39,.45); }
.cert.tilting { transition: transform .08s linear, box-shadow .6s var(--ease); }
.cert-glare { position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .4s; z-index: 2;
  background: radial-gradient(500px circle at var(--gx, 50%) var(--gy, 50%), rgba(255,255,255,.75), rgba(255,255,255,0) 45%); mix-blend-mode: soft-light; }
.cert:hover .cert-glare { opacity: 1; }
.cert-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.cert-issuer { font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--navy); max-width: 16ch; line-height: 1.4; }
.cert-seal { position: relative; width: 64px; height: 64px; flex: none; border-radius: 50%; display: block; transform: translateZ(30px); }
.cert-seal svg { width: 100%; height: 100%; }
.cert-seal path { stroke: rgba(181,29,28,.45); fill: none; }
.cert-seal::after { content: ""; position: absolute; inset: 22px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 3px #FBF8F1, 0 0 0 4px rgba(181,29,28,.5); }
.cert-k { margin-top: auto; padding-top: 30px; font-size: 14px; color: var(--on-paper-2); line-height: 1.4; }
.cert-no { font-family: var(--display); font-weight: 600; font-size: clamp(34px, 3vw, 44px); letter-spacing: -0.04em; line-height: 1.05; margin-top: 6px; transform: translateZ(40px); font-variant-numeric: tabular-nums; }
.cert-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 18px; padding-top: 14px; border-top: 1px dashed var(--rule-paper); font-family: var(--mono); font-size: 11.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--on-paper-3); }
.cert-link { color: var(--red); white-space: nowrap; }
@media (max-width: 699px) {
  .certs { grid-auto-flow: column; grid-auto-columns: 82%; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 calc(var(--gut) * -1); padding: 6px var(--gut) 24px; scrollbar-width: none; }
  .certs::-webkit-scrollbar { display: none; }
  .cert { scroll-snap-align: center; min-height: 270px; }
}

/* ============================================================
   OFFICES MAP
============================================================ */
.map-grid { display: grid; gap: 48px; align-items: center; }
@media (min-width: 1040px) { .map-grid { grid-template-columns: 1fr 1.2fr; gap: 72px; } }
.map-wrap { position: relative; }
.map { width: 100%; height: auto; overflow: visible; }
.grat line { stroke: rgba(243,239,230,.1); stroke-width: 1; stroke-dasharray: 2 5; }
.grat-l text { fill: rgba(243,239,230,.35); font-family: var(--mono); font-size: 11px; letter-spacing: .06em; }
.route-base { fill: none; stroke: rgba(224,54,46,.22); stroke-width: 2; }
.route { fill: none; stroke: var(--red-hi); stroke-width: 2.5; stroke-dasharray: 1000; stroke-dashoffset: 1000; transition: stroke-dashoffset 2.4s var(--ease-io) .3s; }
.map-wrap.in .route { stroke-dashoffset: 0; }
.traveller { fill: #fff; filter: drop-shadow(0 0 6px rgba(224,54,46,.9)); opacity: 0; transition: opacity .4s 2.6s; }
.map-wrap.in .traveller { opacity: 1; }
.km text { fill: var(--on-ink); font-family: var(--mono); font-size: 13px; letter-spacing: .12em; }
.pin-city { cursor: pointer; transition: opacity .4s; }
.pin-city .dot { fill: var(--red-hi); stroke: var(--ink); stroke-width: 3; transition: r .3s; }
.pin-city .pulse { fill: none; stroke: var(--red-hi); stroke-width: 1.5; transform-origin: center; transform-box: fill-box; animation: pulse 2.6s ease-out infinite; }
.pin-city .pulse.p2 { animation-delay: 1.3s; }
@keyframes pulse { 0% { transform: scale(1); opacity: .9; } 100% { transform: scale(5); opacity: 0; } }
.pin-city .lbl { fill: var(--on-ink); font-family: var(--display); font-weight: 600; font-size: 20px; }
.pin-city .tm { fill: var(--red-hi); font-family: var(--mono); font-size: 13px; }
.pin-city.active .dot, .pin-city:hover .dot { r: 9; }
.map-wrap.focus-london .pin-city[data-city="milan"], .map-wrap.focus-milan .pin-city[data-city="london"] { opacity: .35; }
@media (prefers-reduced-motion: reduce) { .pin-city .pulse { animation: none; } .route { transition: none; stroke-dashoffset: 0; } }
.city-cards { display: grid; gap: 12px; margin-top: 36px; }
@media (min-width: 560px) { .city-cards { grid-template-columns: 1fr 1fr; } }
.city { position: relative; text-align: left; display: grid; grid-template-columns: 1fr auto; gap: 6px 12px; padding: 22px; border: 1px solid var(--rule-ink); color: var(--on-ink); transition: border-color .35s, background .35s; }
.city:hover, .city.active { border-color: var(--red-hi); background: rgba(224,54,46,.06); }
.city-n { font-family: var(--display); font-weight: 600; font-size: 28px; letter-spacing: -.035em; line-height: 1; }
.city-t { font-family: var(--mono); font-size: 14px; color: var(--red-hi); font-variant-numeric: tabular-nums; align-self: center; }
.city-a { grid-column: 1 / -1; font-size: 14px; color: var(--on-ink-2); line-height: 1.45; }
.city .status { grid-column: 1 / -1; display: inline-flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--on-ink-2); }
.city .status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--on-ink-3); }
.city .status.open::before { background: #3FB37F; box-shadow: 0 0 0 4px rgba(63,179,127,.18); }

/* ============================================================
   PINNED AUDIT TRAIL (forensic page)
============================================================ */
.pin { padding: 0 !important; }
.pin-meter { display: none; }
@media (min-width: 1000px) and (prefers-reduced-motion: no-preference) {
  .pin-track { height: 340vh; position: relative; }
  .pin-stage { position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; justify-content: center; overflow: hidden; }
  .pin .sec-head { margin-bottom: 56px; }
  .pin .step-card { opacity: .28; transition: opacity .5s var(--ease), transform .6s var(--ease); transform: translateY(10px); }
  .pin .step-card.on { opacity: 1; transform: none; }
  .pin .step-card .dot { transition: background .4s, transform .4s; }
  .pin .step-card.on .dot { background: var(--red); transform: rotate(45deg) scale(1.25); }
  .pin-meter { display: flex; align-items: center; gap: 18px; margin-top: 56px; font-family: var(--mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--on-paper-3); }
  .pin-meter .bar { flex: 1; height: 2px; background: var(--rule-paper); position: relative; overflow: hidden; }
  .pin-meter .bar i { position: absolute; inset: 0; background: var(--red); transform-origin: left; transform: scaleX(var(--p, 0)); }
  .pin-meter b { color: var(--on-paper); font-weight: 500; }
}
@media (max-width: 999px), (prefers-reduced-motion: reduce) { .pin .pin-stage { padding: 80px 0; } }

/* ============================================================
   SPLIT-FLAP BOARD (services)
============================================================ */
.board { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; padding: 18px 20px; margin-bottom: 40px; background: var(--ink); color: var(--on-ink); box-shadow: inset 0 0 0 1px rgba(255,255,255,.04), 0 20px 40px -24px rgba(10,14,39,.5); }
.board-k { font-family: var(--mono); font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--on-ink-3); }
.flap { display: inline-flex; gap: 3px; perspective: 400px; }
.tile { position: relative; display: inline-grid; place-items: center; width: 1.05em; height: 1.45em; font-family: var(--mono); font-weight: 500; font-size: clamp(15px, 1.6vw, 20px); color: var(--on-ink);
  background: linear-gradient(#1A2150 0 50%, #141A42 50% 100%); border-radius: 3px; box-shadow: 0 1px 0 rgba(0,0,0,.4); }
.tile::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: rgba(0,0,0,.55); }
.tile.flip { animation: tileflip .09s linear; }
.flap.red .tile { color: var(--red-hi); }
@keyframes tileflip { 0% { transform: rotateX(0); } 50% { transform: rotateX(-88deg); } 100% { transform: rotateX(0); } }
@media (max-width: 640px) { .board { padding: 14px; gap: 8px 10px; margin-bottom: 28px; } .tile { font-size: 13px; width: 1em; } }

/* ============================================================
   LANGUAGE SWITCH
============================================================ */
.lang { display: inline-flex; align-items: center; border: 1px solid var(--rule-ink); font-family: var(--mono); font-size: 12px; letter-spacing: .08em; }
.lang button { padding: 8px 10px; min-height: 36px; color: var(--on-ink-3); transition: color .3s, background .3s; }
.lang button[aria-pressed="true"] { color: var(--on-ink); background: rgba(243,239,230,.1); }
.lang button:hover { color: var(--on-ink); }
.menu .lang { align-self: flex-start; margin-top: 8px; }
.menu .lang button { padding: 10px 16px; min-height: 44px; font-size: 13px; }
@media (max-width: 1079px) { .nav-right .lang { display: none; } }

@media (max-width: 700px) {
  .pin-city .lbl { font-size: 34px; }
  .pin-city .tm { font-size: 24px; }
  .pin-city[data-city="london"] .lbl { transform: translate(-6px, -14px); }
  .pin-city[data-city="london"] .tm { transform: translate(-6px, 4px); }
  .pin-city[data-city="milan"] .lbl { transform: translate(4px, -14px); }
  .pin-city[data-city="milan"] .tm { transform: translate(4px, 6px); }
  .km text { font-size: 22px; }
  .grat-l { display: none; }
  .route, .route-base { stroke-width: 4; }
  .map-grid { gap: 24px; }
}

/* ============================================================
   OCT 2026 REVIEW: gold crest, disclaimer, layout tweaks
============================================================ */
img.mark { display: block; height: 50px; width: auto; filter: drop-shadow(0 4px 10px rgba(0,0,0,.35)); }
.brand img.mark { height: 54px; }
.nav.scrolled .brand img.mark { height: 46px; }
@media (max-width: 560px) { .brand img.mark, .nav.scrolled .brand img.mark { height: 44px; } }
.ledger-head .us img.mark { height: 40px; filter: none; }
.footer img.mark { height: 120px; }
.form-done img.mark { filter: drop-shadow(0 6px 14px rgba(10,14,39,.25)); }

/* intro: gold crest rises, then a gloss sweeps across it */
.loader-crest { position: relative; width: min(170px, 40vw); opacity: 0; transform: translateY(14px) scale(.94); animation: rise 1s var(--ease) .1s forwards; }
.loader-crest img { display: block; width: 100%; height: auto; filter: drop-shadow(0 18px 40px rgba(0,0,0,.55)); }
.loader-crest::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(115deg, transparent 35%, rgba(255,255,255,.75) 50%, transparent 65%) no-repeat;
  background-size: 250% 100%; background-position: 130% 0;
  -webkit-mask: url(../assets/img/fin1-crest-gold-512.webp) center / contain no-repeat; mask: url(../assets/img/fin1-crest-gold-512.webp) center / contain no-repeat;
  mix-blend-mode: soft-light; animation: gloss 1.2s var(--ease-io) .75s forwards;
}
@keyframes gloss { to { background-position: -30% 0; } }

/* longer statement copy */
.statement { font-size: clamp(28px, 3.4vw, 50px); max-width: 30ch; }
@media (min-width: 900px) {
  .practice a { grid-template-columns: 80px minmax(0, 1.1fr) minmax(0, 1.2fr) 150px 48px; }
  .practice .ct { line-height: 1.5; }
}

/* three credentials now */
@media (min-width: 1180px) { .certs { grid-template-columns: repeat(3, 1fr); } }

/* footer: legal line then the disclaimer, shown in both languages */
.legal { grid-template-columns: 1fr !important; }
.disclaimer {
  margin-top: 36px; display: grid; gap: 28px; padding: clamp(22px, 3vw, 34px);
  border: 1px solid rgba(224,54,46,.45); border-left: 4px solid var(--red-hi); background: rgba(224,54,46,.05);
}
@media (min-width: 900px) { .disclaimer { grid-template-columns: 1fr 1fr; gap: 48px; } }
.disclaimer h4 { font-family: var(--mono); font-weight: 500; font-size: 12.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--red-hi); margin-bottom: 14px; }
.disclaimer p { font-size: 14px; line-height: 1.65; color: var(--on-ink-2); }
.disclaimer p + p { margin-top: 10px; }

/* ============================================================
   FILM (homepage)
============================================================ */
.film-sec { background: radial-gradient(80% 60% at 50% 100%, #141B52 0%, rgba(20,27,82,0) 70%), var(--ink); }
.film {
  position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: #050816;
  border: 1px solid var(--rule-ink);
  box-shadow: 0 50px 120px -50px rgba(0,0,0,.9), 0 0 0 1px rgba(255,255,255,.02) inset;
}
.film video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.film video[hidden] { display: none; }
.film-preview { transform: scale(1.02); transition: transform 1.6s var(--ease), filter .6s; filter: saturate(1.05); }
.film:hover .film-preview { transform: scale(1.05); }
.film-mark { position: absolute; width: 26px; height: 26px; border: 0 solid rgba(243,239,230,.7); z-index: 2; pointer-events: none; transition: all .5s var(--ease); }
.film-mark.tl { top: 18px; left: 18px; border-top-width: 2px; border-left-width: 2px; }
.film-mark.tr { top: 18px; right: 18px; border-top-width: 2px; border-right-width: 2px; }
.film-mark.bl { bottom: 18px; left: 18px; border-bottom-width: 2px; border-left-width: 2px; }
.film-mark.br { bottom: 18px; right: 18px; border-bottom-width: 2px; border-right-width: 2px; }
.film:hover .film-mark { border-color: var(--red-hi); }
.film:hover .film-mark.tl { top: 12px; left: 12px; } .film:hover .film-mark.tr { top: 12px; right: 12px; }
.film:hover .film-mark.bl { bottom: 12px; left: 12px; } .film:hover .film-mark.br { bottom: 12px; right: 12px; }
.film-play {
  position: absolute; inset: 0; z-index: 3; display: flex; align-items: center; justify-content: center; gap: 22px;
  background: radial-gradient(circle at 50% 50%, rgba(5,8,22,0) 25%, rgba(5,8,22,.55) 100%); color: var(--on-ink); cursor: pointer;
}
.film-btn { position: relative; width: clamp(68px, 8vw, 104px); aspect-ratio: 1; border-radius: 50%; background: var(--red); display: grid; place-items: center; box-shadow: 0 18px 40px -10px rgba(224,54,46,.6); transition: transform .5s var(--ease), background .3s; }
.film-btn::before { content: ""; position: absolute; inset: -10px; border-radius: 50%; border: 1px solid rgba(224,54,46,.6); animation: pulse 2.6s ease-out infinite; }
.film-btn svg { width: 36%; height: 36%; fill: #fff; margin-left: 6%; }
.film-play:hover .film-btn { transform: scale(1.08); background: var(--red-hi); }
.film-lbl { display: grid; gap: 4px; text-align: left; }
.film-lbl b { font-family: var(--display); font-weight: 600; font-size: clamp(20px, 2vw, 28px); letter-spacing: -.03em; }
.film-lbl span { font-family: var(--mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--on-ink-2); }
.film.playing .film-play, .film.playing .film-preview, .film.playing .film-mark { display: none; }
@media (max-width: 640px) {
  .film-play { flex-direction: column; gap: 14px; }
  .film-lbl { text-align: center; }
  .film-mark { width: 18px; height: 18px; }
  .film-mark.tl, .film-mark.tr { top: 12px; } .film-mark.bl, .film-mark.br { bottom: 12px; }
  .film-mark.tl, .film-mark.bl { left: 12px; } .film-mark.tr, .film-mark.br { right: 12px; }
}
@media (prefers-reduced-motion: reduce) { .film-btn::before { animation: none; } }
/* film: play control in the lower-left so the film's own title stays clear */
.film-play { align-items: flex-end; justify-content: flex-start; padding: clamp(22px, 3.2vw, 44px); gap: 18px;
  background: linear-gradient(180deg, rgba(5,8,22,0) 55%, rgba(5,8,22,.75) 100%); }
.film-btn { width: clamp(56px, 5.6vw, 76px); }
@media (max-width: 640px) { .film-play { flex-direction: row; align-items: flex-end; } .film-lbl { text-align: left; } .film-lbl b { font-size: 17px; } .film-lbl span { font-size: 11px; } }
