/* ═══════════════════════════════════════════════════════════════════════
   Notary Northampton — design system
   Palette anchored on the practice crest (azure / gules / or) over a deep
   notarial navy and cool certificate paper. Display: Cormorant Garamond.
   Body: Source Sans 3. Utility/register voice: IBM Plex Mono.
   ═══════════════════════════════════════════════════════════════════════ */

:root {
  /* ink & surfaces */
  --ink: #14283a;
  --ink-deep: #0c1a26;
  --ink-soft: #4a5f70;
  --paper: #f2f4f6;
  --surface: #ffffff;
  --surface-2: #e9edf1;
  --line: #d5dde4;
  --line-strong: #b6c3cd;

  /* heraldic accents */
  --azure: #0b57a0;
  --azure-bright: #2b83d0;
  --gules: #a4142c;
  --gules-deep: #6f1425;
  --or: #b3872b;
  --or-bright: #d9b657;
  --wax: #7e1b2c;

  /* on dark */
  --on-dark: #eef2f5;
  --on-dark-mute: #a9bac7;

  /* type */
  --f-display: "Cormorant Garamond", "Iowan Old Style", Georgia, serif;
  --f-body: "Source Sans 3", "Segoe UI", system-ui, -apple-system, sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Consolas, monospace;

  --step--1: clamp(.82rem, .8rem + .1vw, .875rem);
  --step-0: clamp(1rem, .97rem + .15vw, 1.0625rem);
  --step-1: clamp(1.18rem, 1.1rem + .4vw, 1.375rem);
  --step-2: clamp(1.5rem, 1.3rem + 1vw, 2rem);
  --step-3: clamp(1.9rem, 1.55rem + 1.8vw, 2.9rem);
  --step-4: clamp(2.4rem, 1.7rem + 3.4vw, 4.35rem);

  /* space & shell */
  --wrap: 78rem;
  --gut: clamp(1.15rem, 4vw, 2.75rem);
  --sp-2xs: .375rem;
  --sp-xs: .625rem;
  --sp-s: 1rem;
  --sp-m: clamp(1.5rem, 1rem + 2vw, 2.5rem);
  --sp-l: clamp(2.75rem, 2rem + 3.5vw, 4.75rem);
  --sp-xl: clamp(4rem, 3rem + 5vw, 7rem);
  --r-s: .25rem;
  --r-m: .5rem;

  --shadow-1: 0 1px 2px rgba(20,40,58,.06), 0 6px 18px -10px rgba(20,40,58,.22);
  --shadow-2: 0 2px 4px rgba(20,40,58,.06), 0 22px 44px -18px rgba(20,40,58,.3);
  --dur: .45s;
}

/* ── Fonts (self-hosted, subset) ─────────────────────────────────────── */
@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 600; font-display: swap; src: url("/assets/fonts/cormorant-600.woff2") format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-style: italic; font-weight: 600; font-display: swap; src: url("/assets/fonts/cormorant-600-italic.woff2") format("woff2"); }
@font-face { font-family: "Source Sans 3"; font-style: normal; font-weight: 300 700; font-display: swap; src: url("/assets/fonts/sourcesans-var.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 500; font-display: swap; src: url("/assets/fonts/plexmono-500.woff2") format("woff2"); }

/* ── Reset / base ────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: var(--step-0);
  line-height: 1.62;
  font-weight: 400;
  text-rendering: optimizeLegibility;
}
img, svg, video { max-width: 100%; height: auto; }
svg { display: block; }
h1, h2, h3, h4, p, ul, ol, figure, blockquote, dl, dd { margin: 0; }
ul[role="list"], ol[role="list"] { list-style: none; padding: 0; }
a { color: var(--azure); text-underline-offset: .18em; }
a:hover { color: var(--azure-bright); }
address { font-style: normal; }
button, input, select, textarea { font: inherit; color: inherit; }

::selection { background: var(--or-bright); color: var(--ink-deep); }

.visually-hidden:not(:focus):not(:active) {
  position: absolute; width: 1px; height: 1px; margin: -1px;
  clip-path: inset(50%); overflow: hidden; white-space: nowrap;
}
.skip-link {
  position: absolute; left: .5rem; top: -4rem; z-index: 200;
  background: var(--ink-deep); color: #fff; padding: .7rem 1.1rem;
  border-radius: var(--r-s); font-weight: 600; transition: top .18s ease;
}
.skip-link:focus { top: .5rem; color: #fff; }
:focus-visible { outline: 3px solid var(--azure-bright); outline-offset: 2px; border-radius: 2px; }
.site-head :focus-visible, .close :focus-visible, .cta-band :focus-visible,
.corporate-cta :focus-visible, .stamp-band :focus-visible { outline-color: var(--or-bright); }

.wrap { width: min(100% - (var(--gut) * 2), var(--wrap)); margin-inline: auto; }

/* ── Type roles ──────────────────────────────────────────────────────── */
.display {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: var(--step-4);
  line-height: 1.04;
  letter-spacing: -.012em;
}
.display em { font-style: italic; color: var(--azure); }
.display-sm { font-size: var(--step-3); }
.section-h {
  font-family: var(--f-display); font-weight: 600;
  font-size: var(--step-3); line-height: 1.12; letter-spacing: -.01em;
}
.section-h.center { text-align: center; }
.section-k { color: var(--ink-soft); font-size: var(--step-1); max-width: 60ch; }
.eyebrow {
  font-family: var(--f-mono); font-weight: 500;
  font-size: var(--step--1); letter-spacing: .17em; text-transform: uppercase;
  color: var(--or);
}
.eyebrow.center { text-align: center; }
.lede { font-size: var(--step-1); line-height: 1.55; color: var(--ink-soft); max-width: 62ch; }
.lede.narrow { max-width: 58ch; }
.lede strong { color: var(--ink); }
.light { color: #fff; }
.light em { color: var(--or-bright); }
.light-body { color: var(--on-dark-mute); font-size: var(--step-1); line-height: 1.55; max-width: 58ch; }
.fineprint { font-size: var(--step--1); color: var(--ink-soft); line-height: 1.5; }
.fineprint a { color: inherit; }
.center { text-align: center; }

/* ── Buttons ─────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .8rem 1.5rem; border: 1px solid transparent; border-radius: var(--r-s);
  font-weight: 700; font-size: var(--step-0); line-height: 1.2;
  letter-spacing: .012em; text-decoration: none; cursor: pointer;
  transition: background-color .18s ease, color .18s ease, border-color .18s ease, transform .18s ease, box-shadow .18s ease;
}
.btn:active { transform: translateY(1px); }
.btn-lg { padding: 1rem 1.85rem; }
.btn-sm { padding: .5rem 1rem; font-size: var(--step--1); }
.btn-block { width: 100%; }
.btn-brass {
  background: linear-gradient(175deg, var(--or-bright), var(--or));
  color: #2b1f05; border-color: #96701d;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.55), var(--shadow-1);
}
.btn-brass:hover { color: #1c1403; background: linear-gradient(175deg, #e6c974, #bd9130); }
.btn-ink { background: var(--ink); color: #fff; border-color: var(--ink-deep); }
.btn-ink:hover { background: var(--ink-deep); color: #fff; }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.45); }
.btn-ghost:hover { background: rgba(255,255,255,.1); color: #fff; border-color: #fff; }
.btn-ghost-dark { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn-ghost-dark:hover { border-color: var(--ink); color: var(--ink); background: rgba(20,40,58,.05); }
.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.5); }
.btn-outline-light:hover { color: #fff; background: rgba(255,255,255,.12); border-color: #fff; }
.btn-outline-dark { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn-outline-dark:hover { color: var(--azure); border-color: var(--azure); }
.text-link { font-weight: 600; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 1px; }
.text-link:hover { color: var(--azure-bright); }

/* ── Header ──────────────────────────────────────────────────────────── */
.site-head {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.93);
  backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-head::after {
  content: ""; display: block; height: 3px;
  background: linear-gradient(90deg, var(--gules) 0 22%, var(--or) 22% 40%, var(--azure) 40% 100%);
  opacity: .85;
}
.head-inner { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-s); min-height: 4.6rem; }
.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; color: var(--ink); }
.brand-crest { flex: 0 0 auto; width: 44px; height: 44px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.08; }
.brand-name { font-family: var(--f-display); font-weight: 600; font-size: 1.4rem; letter-spacing: .005em; }
.brand-sub { font-family: var(--f-mono); font-size: .62rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); }
.brand:hover .brand-name { color: var(--azure); }

.primary-nav ul { display: flex; align-items: center; gap: clamp(.35rem, 1.4vw, 1.35rem); list-style: none; margin: 0; padding: 0; }
.primary-nav a:not(.btn) {
  display: block; padding: .5rem .3rem; text-decoration: none; color: var(--ink);
  font-weight: 600; font-size: .95rem; position: relative;
}
.primary-nav a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: .1rem; height: 2px;
  background: var(--or); transform: scaleX(0); transform-origin: left; transition: transform .22s ease;
}
.primary-nav a:not(.btn):hover { color: var(--azure); }
.primary-nav a:not(.btn):hover::after, .primary-nav .is-current > a:not(.btn)::after { transform: scaleX(1); }
.primary-nav .is-current > a:not(.btn) { color: var(--azure); }

.nav-toggle { display: none; background: none; border: 1px solid var(--line-strong); border-radius: var(--r-s); width: 2.9rem; height: 2.6rem; align-items: center; justify-content: center; cursor: pointer; }
.nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after {
  display: block; width: 1.15rem; height: 2px; background: var(--ink); position: relative; transition: transform .2s ease, opacity .2s ease;
}
.nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle-bars::before { top: -.42rem; }
.nav-toggle-bars::after { top: .42rem; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { transform: translateY(.42rem) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { transform: translateY(-.42rem) rotate(-45deg); }

@media (max-width: 62rem) {
  .nav-toggle { display: inline-flex; }
  .primary-nav { position: absolute; inset: 100% 0 auto 0; background: var(--surface); border-bottom: 1px solid var(--line); box-shadow: var(--shadow-2); display: none; }
  .primary-nav.is-open { display: block; }
  .primary-nav ul { flex-direction: column; align-items: stretch; gap: 0; padding: var(--sp-xs) var(--gut) var(--sp-m); }
  .primary-nav li { border-bottom: 1px solid var(--surface-2); }
  .primary-nav li:last-child { border: 0; padding-top: var(--sp-s); }
  .primary-nav a:not(.btn) { padding: .9rem .2rem; font-size: 1.05rem; }
  .primary-nav .nav-cta .btn { width: 100%; }
}

/* ── Sections & bands ────────────────────────────────────────────────── */
.band { padding-block: var(--sp-xl); }
.band > .wrap > .section-h, .band > .wrap > .eyebrow { margin-bottom: var(--sp-s); }
.band-tint { background: var(--surface); border-block: 1px solid var(--line); }
.band + .band-tint { margin-top: 0; }
.page-head { padding-block: var(--sp-l) var(--sp-m); }
.page-head .eyebrow { margin-bottom: var(--sp-xs); }
.page-head .display { margin-bottom: var(--sp-s); }
.page-head .lede { margin-bottom: 0; }
.page-head .hero-actions { margin-top: var(--sp-m); }
.head-slim .display { font-size: var(--step-3); }

/* ── Security-paper guilloché + hero ─────────────────────────────────── */
.hero, .stamp-band, .corporate-cta, .close, .cta-band {
  position: relative; isolation: isolate; color: var(--on-dark); background: var(--ink);
}
.hero::before, .stamp-band::before, .corporate-cta::before, .close::before, .cta-band::before {
  /* signature motif: engine-turned security-paper lines, as on a certificate */
  content: ""; position: absolute; inset: 0; z-index: -2; pointer-events: none;
  background:
    repeating-radial-gradient(circle at 88% 12%, rgba(217,182,87,.07) 0 1px, transparent 1px 13px),
    repeating-radial-gradient(circle at 6% 92%, rgba(43,131,208,.08) 0 1px, transparent 1px 15px),
    repeating-linear-gradient(58deg, rgba(255,255,255,.028) 0 1px, transparent 1px 9px),
    linear-gradient(160deg, #17334a 0%, var(--ink) 45%, var(--ink-deep) 100%);
}
.hero::after, .close::after {
  content: ""; position: absolute; inset: auto 0 -1px 0; height: 46%; z-index: -1; pointer-events: none;
  background: radial-gradient(120% 100% at 50% 130%, rgba(11,87,160,.35), transparent 62%);
}
.hero { padding-block: clamp(3rem, 6vw, 5.5rem) var(--sp-xl); overflow: clip; }
.hero-grid { display: grid; grid-template-columns: minmax(0,1.15fr) minmax(0,.85fr); gap: clamp(1.5rem, 5vw, 4rem); align-items: center; }
.hero-copy .eyebrow { color: var(--or-bright); }
.hero-copy .display { color: #fff; margin-block: var(--sp-s) var(--sp-m); }
.hero-copy .display em { color: var(--or-bright); font-style: italic; }
.hero-copy .lede { color: var(--on-dark-mute); }
.hero-copy .lede strong { color: #fff; }
.hero-actions { display: flex; flex-wrap: wrap; gap: var(--sp-xs); margin-bottom: var(--sp-m); }
.hero-facts { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: var(--sp-s); list-style: none; padding: var(--sp-m) 0 0; margin: 0; border-top: 1px solid rgba(255,255,255,.16); }
.hero-facts li { display: flex; flex-direction: column; gap: .15rem; }
.hero-facts strong { font-family: var(--f-display); font-weight: 600; font-size: clamp(1.2rem, 1rem + .9vw, 1.7rem); color: var(--or-bright); line-height: 1.15; }
.hero-facts span { font-size: var(--step--1); color: var(--on-dark-mute); line-height: 1.35; }

.hero-seal { display: grid; place-items: center; }
@media (max-width: 62rem) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-seal { order: -1; }
  .hero-seal .seal { width: min(46vw, 12rem); }
  .hero-facts { grid-template-columns: 1fr; gap: var(--sp-s); }
}
@media (max-width: 30rem) { .head-inner { min-height: 4.1rem; } .brand-crest { width: 36px; height: 36px; } .brand-name { font-size: 1.2rem; } }

/* ── The seal (signature element) ────────────────────────────────────── */
.seal { width: min(28rem, 100%); aspect-ratio: 1; filter: drop-shadow(0 26px 40px rgba(6,16,24,.55)); }
.seal circle { stroke: var(--or-bright); }
.seal .seal-plate { fill: #64111f; stroke-width: 1.4; }
.seal .seal-face { fill: #f4f6f8; stroke-width: 1.4; opacity: .98; }
.seal-ring-outer { fill: none; stroke-width: 2; opacity: .9; }
.seal-ring-inner { fill: none; stroke-width: 1.4; opacity: .75; }
.seal-ring-core { fill: none; stroke-width: 1.4; }
.seal-text { fill: var(--or-bright); font-family: var(--f-mono); font-size: 11px; font-weight: 500; letter-spacing: 3.4px; }
.seal-spin { transform-origin: 100px 100px; animation: seal-turn 80s linear infinite; }
@keyframes seal-turn { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .seal-spin { animation: none; } }

/* wax disc behind the seal */
.hero-seal { position: relative; }
.hero-seal::before {
  content: ""; position: absolute; width: 62%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle at 38% 32%, #b4243c, var(--wax) 58%, #4d0f1c 100%);
  box-shadow: inset 0 -6px 18px rgba(0,0,0,.45), 0 12px 30px -8px rgba(111,20,37,.7);
  opacity: .38; filter: blur(2px);
}

/* ── Quick router ────────────────────────────────────────────────────── */
.quick-router { background: var(--surface); }
.quick-router .section-k { margin-bottom: var(--sp-l); }
.router-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); gap: var(--sp-s); list-style: none; padding: 0; margin: 0; }
.router-card {
  --pad: clamp(1.1rem, 2.2vw, 1.6rem);
  display: grid; gap: .55rem; padding: var(--pad); height: 100%;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-m);
  text-decoration: none; color: var(--ink); position: relative;
  transition: transform var(--dur) cubic-bezier(.2,.7,.3,1), box-shadow .3s ease, border-color .3s ease;
}
.router-card::before {
  content: ""; position: absolute; inset: 6px; border: 1px solid transparent; border-radius: calc(var(--r-m) - 4px);
  transition: border-color .3s ease; pointer-events: none;
}
.router-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); border-color: var(--line-strong); color: var(--ink); }
.router-card:hover::before { border-color: rgba(179,135,43,.55); }
.router-icon { width: 2.15rem; height: 2.15rem; color: var(--azure); }
.router-icon svg { width: 100%; height: 100%; }
.router-title { font-family: var(--f-display); font-weight: 600; font-size: var(--step-1); line-height: 1.2; }
.router-desc { font-size: var(--step--1); color: var(--ink-soft); line-height: 1.5; }
.router-go { margin-top: auto; font-family: var(--f-mono); font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--or); }
@media (hover: none) and (pointer: coarse) { .router-card { padding-bottom: calc(var(--pad) + .9rem); } .router-go { font-size: .82rem; } }

/* ── Why / icon blocks ───────────────────────────────────────────────── */
.why { padding-block: var(--sp-xl); }
.why-grid { display: grid; gap: var(--sp-l); }
.why-head .display, .why-head .section-h { max-width: 22ch; }
.why-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); gap: var(--sp-l) var(--sp-m); }
.why-cols-2 { grid-template-columns: repeat(auto-fit, minmax(20rem, 1fr)); }
.why-item { display: grid; gap: .6rem; align-content: start; }
.why-icon { width: 2.3rem; height: 2.3rem; color: var(--azure); }
.why-icon svg { width: 100%; height: 100%; }
.why-item h3 { font-family: var(--f-display); font-size: var(--step-2); font-weight: 600; line-height: 1.15; }
.why-item p { color: var(--ink-soft); }

/* ── Process (stamp band) ────────────────────────────────────────────── */
.stamp-grid { display: grid; grid-template-columns: minmax(0,.9fr) minmax(0,1.1fr); gap: clamp(1.75rem, 5vw, 4rem); align-items: stretch; }
.stamp-figure { margin: 0; min-height: 22rem; }
.stamp-figure img {
  display: block; width: 100%; height: 100%; object-fit: cover;
  border-radius: var(--r-m);
  border: 1px solid rgba(217,182,87,.35);
  box-shadow: var(--shadow-2);
  filter: saturate(.92) contrast(1.04);
}
.stamp-copy .eyebrow { color: var(--or-bright); }
.stamp-copy .section-h { color: #fff; margin-bottom: var(--sp-m); }
.process-list { list-style: none; counter-reset: step; padding: 0; margin: 0 0 var(--sp-m); display: grid; gap: var(--sp-s); align-content: start; }
.process-list li { counter-increment: step; position: relative; padding-left: 3.4rem; }
.process-list li::before {
  content: counter(step, decimal-leading-zero);
  position: absolute; left: 0; top: -.1rem;
  font-family: var(--f-mono); font-size: .95rem; color: var(--or-bright);
  border: 1px solid rgba(217,182,87,.5); border-radius: 50%;
  width: 2.35rem; height: 2.35rem; display: grid; place-items: center;
}
.process-list h3 { font-family: var(--f-display); font-size: var(--step-2); font-weight: 600; color: #fff; margin-bottom: .2rem; }
.process-list p { color: var(--on-dark-mute); }
@media (max-width: 62rem) { .stamp-grid { grid-template-columns: 1fr; } .stamp-figure { order: 1; max-width: 34rem; margin-inline: auto; } }

/* ── Testimonials ────────────────────────────────────────────────────── */
.testimonials .rev-grid {
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(17rem, 1fr);
  gap: var(--sp-s); overflow-x: auto; scroll-snap-type: x mandatory;
  padding-bottom: var(--sp-s); margin-block: var(--sp-m);
  scrollbar-color: var(--line-strong) transparent; scrollbar-width: thin;
  mask-image: linear-gradient(90deg, transparent 0, #000 12px, #000 calc(100% - 28px), transparent 100%);
}
.rev-hint { font-family: var(--f-mono); font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft); }
.rev-card { scroll-snap-align: start; display: grid; gap: var(--sp-s); align-content: space-between; padding: clamp(1.1rem,2.4vw,1.7rem); background: var(--surface); border: 1px solid var(--line); border-top: 3px solid var(--or); border-radius: var(--r-m); box-shadow: var(--shadow-1); }
.rev-card blockquote { font-family: var(--f-display); font-size: var(--step-1); line-height: 1.35; font-weight: 600; }
.rev-card figcaption { display: flex; flex-direction: column; gap: .1rem; }
.rev-who { font-weight: 700; font-size: var(--step--1); }
.rev-when { font-family: var(--f-mono); font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft); }
.rev-link { margin-top: var(--sp-s); font-weight: 600; }

/* ── Corporate band ──────────────────────────────────────────────────── */
.corp-grid { display: grid; grid-template-columns: minmax(0,1.2fr) minmax(0,.8fr); gap: clamp(1.75rem,5vw,4rem); align-items: center; }
.corporate-cta .eyebrow { color: var(--or-bright); }
.corporate-cta .section-h { margin-bottom: var(--sp-s); }
.corp-chips { display: flex; flex-wrap: wrap; gap: .45rem; margin-top: var(--sp-m); padding: 0; list-style: none; }
.corp-chips span { font-family: var(--f-mono); font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; color: #fff; border: 1px solid rgba(255,255,255,.38); border-radius: 999px; padding: .32rem .7rem; background: rgba(255,255,255,.09); }
.corp-actions { display: grid; gap: var(--sp-xs); }
@media (max-width: 62rem) { .corp-grid { grid-template-columns: 1fr; } .corp-actions { grid-template-columns: 1fr; } }

/* ── FAQ strip + details ─────────────────────────────────────────────── */
.faq-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(19rem, 1fr)); gap: var(--sp-m) var(--sp-l); margin-top: var(--sp-m); }
.faq-item h3 { font-family: var(--f-display); font-size: var(--step-1); font-weight: 600; margin-bottom: .35rem; }
.faq-item p { color: var(--ink-soft); font-size: var(--step--1); line-height: 1.6; }
.prose-narrow details { border-bottom: 1px solid var(--line); }
.prose-narrow summary { cursor: pointer; list-style: none; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: var(--sp-s); padding: var(--sp-s) .2rem; }
.prose-narrow summary::-webkit-details-marker { display: none; }
.prose-narrow summary h2 { font-family: var(--f-display); font-weight: 600; font-size: var(--step-2); line-height: 1.2; }
.prose-narrow summary::after { content: "+"; font-family: var(--f-mono); font-size: 1.4rem; color: var(--or); transition: transform .2s ease; }
.prose-narrow details[open] summary::after { transform: rotate(45deg); }
.prose-narrow details p { padding: 0 .2rem var(--sp-m); max-width: 70ch; color: var(--ink-soft); }
.prose-narrow summary:hover h2 { color: var(--azure); }

/* ── Close band ──────────────────────────────────────────────────────── */
.close-inner { text-align: center; display: grid; gap: var(--sp-s); justify-items: center; }
.close .eyebrow { color: var(--or-bright); }
.close p:not(.eyebrow) { color: var(--on-dark-mute); max-width: 52ch; }
.close-actions { display: flex; flex-wrap: wrap; gap: var(--sp-xs); justify-content: center; margin-top: var(--sp-s); }
.cta-band-inner { display: grid; gap: var(--sp-s); justify-items: center; text-align: center; }
.cta-band { padding-block: clamp(2.75rem, 5vw, 4.25rem); }
.cta-band-actions { display: flex; flex-wrap: wrap; gap: var(--sp-xs); justify-content: center; }

/* ── Two-column + prose ──────────────────────────────────────────────── */
.two-col { display: grid; grid-template-columns: minmax(0,1fr) 21rem; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
@media (max-width: 68rem) { .two-col { grid-template-columns: 1fr; } .aside-card { order: -1; } }
.prose { max-width: 68ch; }
.prose > * + * { margin-top: var(--sp-s); }
.prose h2 { font-family: var(--f-display); font-weight: 600; font-size: var(--step-2); margin-top: var(--sp-l); line-height: 1.2; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-family: var(--f-display); font-weight: 600; font-size: var(--step-1); margin-top: var(--sp-m); }
.prose p, .prose li { color: #2a4152; }
.prose ul, .prose ol { padding-left: 1.2rem; }
.prose strong { color: var(--ink); }

.check-list, .dot-list, .area-list { list-style: none; padding: 0; display: grid; gap: .7rem; }
.check-list li, .dot-list li { position: relative; padding-left: 1.9rem; }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: .28em; width: 1.05rem; height: .58rem;
  border-left: 2px solid var(--or); border-bottom: 2px solid var(--or); transform: rotate(-45deg);
}
.dot-list li::before { content: ""; position: absolute; left: .35rem; top: .6em; width: .5rem; height: .5rem; border-radius: 50%; background: var(--azure); }
.area-list { grid-template-columns: repeat(auto-fill, minmax(11rem, 1fr)); }
.area-list li { font-weight: 600; color: var(--ink); padding-left: 1.1rem; position: relative; }
.area-list li::before { content: "›"; position: absolute; left: 0; color: var(--or); font-weight: 700; }

/* ── Aside card ──────────────────────────────────────────────────────── */
.aside-card {
  display: grid; gap: var(--sp-s); align-content: start;
  padding: clamp(1.25rem, 3vw, 1.9rem);
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-m);
  box-shadow: var(--shadow-1); position: relative;
}
.aside-card::before { content: ""; position: absolute; inset: 7px; border: 1px solid rgba(179,135,43,.35); border-radius: calc(var(--r-m) - 4px); pointer-events: none; }
.aside-card > * { position: relative; }
.aside-card .btn { position: static; }
.aside-h { font-family: var(--f-mono); font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--or); font-weight: 500; }
.aside-price { font-weight: 600; color: var(--ink); border-top: 1px dashed var(--line-strong); padding-top: var(--sp-s); }
.aside-langs { font-family: var(--f-mono); font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft); }
.aside-steps { margin: 0; padding-left: 1.2rem; display: grid; gap: .5rem; }
.aside-steps li::marker { color: var(--azure); font-weight: 700; }
.aside-sticky { position: sticky; top: 6rem; }
@media (max-width: 68rem) { .aside-sticky { position: static; } }
.glance { display: grid; grid-template-columns: auto 1fr; gap: .5rem .9rem; margin: 0; }
.glance dt { font-family: var(--f-mono); font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft); padding-top: .2rem; }
.glance dd { font-weight: 600; }

/* ── Services page ───────────────────────────────────────────────────── */
.svc-stack { display: grid; gap: var(--sp-m); }
.svc-summary { display: grid; grid-template-columns: 3.4rem 1fr; gap: var(--sp-m); align-items: start; padding: clamp(1.2rem,3vw,1.9rem); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-m); transition: box-shadow .3s ease, border-color .3s ease; }
.svc-summary:hover { box-shadow: var(--shadow-2); border-color: var(--line-strong); }
.svc-summary-icon { width: 2.6rem; height: 2.6rem; color: var(--azure); }
.svc-summary h2 { font-family: var(--f-display); font-weight: 600; font-size: var(--step-2); margin-bottom: .35rem; }
.svc-summary p { color: var(--ink-soft); }
.svc-summary-meta { font-family: var(--f-mono); font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--or); margin-top: .6rem !important; }
.svc-summary .text-link { display: inline-block; margin-top: .8rem; }
@media (max-width: 40rem) { .svc-summary { grid-template-columns: 1fr; gap: var(--sp-s); } }

.mini-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); gap: var(--sp-s); list-style: none; padding: 0; margin-top: var(--sp-m); }
.mini-cards a { display: flex; align-items: center; gap: .75rem; padding: 1rem 1.1rem; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-m); text-decoration: none; color: var(--ink); font-weight: 600; line-height: 1.25; transition: border-color .25s ease, color .25s ease, transform .25s ease; }
.mini-cards a:hover { border-color: var(--azure); color: var(--azure); transform: translateY(-2px); }
.mini-cards svg { width: 1.6rem; height: 1.6rem; flex: 0 0 auto; color: var(--azure); }

/* ── Fees table ──────────────────────────────────────────────────────── */
.table-scroll { overflow-x: auto; margin-inline: calc(var(--gut) * -1); padding-inline: var(--gut); }
.fee-table { width: 100%; min-width: 34rem; border-collapse: collapse; background: var(--surface); }
.fee-table th, .fee-table td { text-align: left; padding: .85rem 1rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.fee-table thead th { font-family: var(--f-mono); font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); border-bottom: 2px solid var(--ink); background: var(--surface-2); }
.fee-table tbody th { font-weight: 600; color: var(--ink); }
.fee-price { font-family: var(--f-mono); font-weight: 500; white-space: nowrap; color: var(--azure); }
.fee-table tbody tr:hover { background: rgba(11,87,160,.045); }

/* ── Fees page: price-from banner ────────────────────────────────────── */
.from-price {
  margin-top: var(--sp-m);
  display: grid; gap: .2rem; justify-items: start;
  padding: var(--sp-m) clamp(1.4rem, 4vw, 2.4rem);
  background: var(--surface);
  border: 1px solid var(--line); border-left: 4px solid var(--or);
  border-radius: var(--r-m); box-shadow: var(--shadow-1);
  max-width: 38rem;
}
.from-price-label { font-family: var(--f-mono); font-size: .68rem; letter-spacing: .15em; text-transform: uppercase; color: var(--ink-soft); }
.from-price-main { font-family: var(--f-display); font-weight: 600; font-size: var(--step-3); line-height: 1.1; color: var(--ink); }
.from-price-note { font-size: var(--step--1); color: var(--ink-soft); }

/* ── Timeline ────────────────────────────────────────────────────────── */
.timeline { list-style: none; padding: 0; margin-top: var(--sp-l); display: grid; gap: var(--sp-m); }
.timeline-step { display: grid; grid-template-columns: 3.6rem 1fr; gap: var(--sp-m); align-items: start; }
.timeline-num { font-family: var(--f-mono); font-size: 1.1rem; color: var(--or); border-top: 2px solid var(--or); padding-top: .5rem; }
.timeline-step h3 { font-family: var(--f-display); font-size: var(--step-2); font-weight: 600; margin-bottom: .25rem; }
.timeline-step p { color: var(--ink-soft); margin-bottom: .5rem; max-width: 62ch; }
@media (max-width: 40rem) { .timeline-step { grid-template-columns: 1fr; gap: .35rem; } }

/* ── Chain tool ──────────────────────────────────────────────────────── */
.chain-tool { display: grid; gap: var(--sp-s); max-width: 44rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-m); padding: clamp(1.2rem,3vw,1.8rem); box-shadow: var(--shadow-1); margin-top: var(--sp-m); }
.chain-label { font-family: var(--f-mono); font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft); }
.chain-result { padding: var(--sp-s) 1.1rem; border-left: 3px solid var(--azure); background: var(--paper); border-radius: 0 var(--r-s) var(--r-s) 0; line-height: 1.55; }
.chain-result[data-route="embassy"] { border-left-color: var(--gules); }

/* ── Forms ───────────────────────────────────────────────────────────── */
.enquiry-form { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-m); padding: clamp(1.3rem,3.5vw,2.2rem); box-shadow: var(--shadow-1); display: grid; gap: var(--sp-m); }
.form-h { font-family: var(--f-display); font-weight: 600; font-size: var(--step-2); }
.form-k { color: var(--ink-soft); font-size: var(--step--1); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-s); }
@media (max-width: 40rem) { .field-row { grid-template-columns: 1fr; } }
.field { display: grid; gap: .35rem; }
.field label { font-weight: 600; font-size: var(--step--1); letter-spacing: .01em; }
.req { color: var(--gules); }
.field input, .field select, .field textarea {
  width: 100%; padding: .7rem .85rem; background: var(--paper);
  border: 1px solid var(--line-strong); border-radius: var(--r-s);
  transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease;
}
.field textarea { resize: vertical; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--ink-soft); }
.field input:focus, .field select:focus, .field textarea:focus { background: #fff; border-color: var(--azure); box-shadow: 0 0 0 3px rgba(43,131,208,.22); outline: none; }
.field input:invalid:not(:placeholder-shown):not(:focus) { border-color: var(--gules); }
.form-legal { font-size: var(--step--1); color: var(--ink-soft); border-top: 1px dashed var(--line-strong); padding-top: var(--sp-s); }
.enquiry-form button[type="submit"] { justify-self: start; }
.form-fallback { font-size: var(--step--1); color: var(--ink-soft); margin-top: .25rem; }
.contact-grid { grid-template-columns: minmax(0,1fr) 23rem; }
.contact-aside { display: grid; gap: var(--sp-m); align-content: start; }
.contact-list { list-style: none; padding: 0; display: grid; gap: var(--sp-m); }
.contact-list li { display: grid; grid-template-columns: 1.6rem 1fr; gap: .9rem; align-items: start; }
.contact-list svg { width: 1.5rem; height: 1.5rem; color: var(--azure); margin-top: .15rem; }
.contact-list strong { display: block; font-family: var(--f-mono); font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft); font-weight: 500; margin-bottom: .15rem; }
.contact-list p, .contact-list a { display: block; }
.contact-list address { line-height: 1.5; }
@media (max-width: 68rem) { .contact-grid { grid-template-columns: 1fr; } }

.map-frame { border: 1px solid var(--line); border-radius: var(--r-m); overflow: hidden; background: var(--surface-2); }
.map-frame img { display: block; width: 100%; }
.map-frame-lg { box-shadow: var(--shadow-1); }
.office-addr { font-weight: 600; line-height: 1.5; }

/* 24-hour service badge (contact aside) */
.hours-badge {
  display: flex; align-items: center; gap: .6rem;
  font-size: var(--step--1); color: var(--ink-soft);
  background: linear-gradient(180deg, #fdf7e8, #f7edd6);
  border: 1px solid rgba(179,135,43,.45); border-radius: var(--r-s);
  padding: .6rem .85rem;
}
.hours-badge svg { width: 1.15rem; height: 1.15rem; flex: 0 0 auto; color: var(--or); }
.hours-badge strong { color: var(--ink); }

/* ── Breadcrumbs ─────────────────────────────────────────────────────── */
.crumbs { border-bottom: 1px solid var(--line); background: var(--surface); padding-block: .7rem; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; margin: 0; padding: 0; font-size: var(--step--1); }
.crumbs li + li::before { content: "/"; margin-right: .5rem; color: var(--line-strong); }
.crumbs a { text-decoration: none; color: var(--ink-soft); font-weight: 600; }
.crumbs a:hover { color: var(--azure); }
.crumbs [aria-current] { color: var(--ink); font-weight: 600; }

/* ── About ───────────────────────────────────────────────────────────── */
.about-head { display: grid; grid-template-columns: minmax(0,1fr) 20rem; gap: clamp(1.75rem,5vw,3.5rem); align-items: center; }
.about-head .display em { color: var(--or); }
.about-portrait { display: grid; gap: .6rem; justify-items: center; }
.about-portrait img { width: 100%; border-radius: var(--r-m); border: 1px solid var(--line); box-shadow: var(--shadow-2); }
.about-portrait figcaption { font-family: var(--f-mono); font-size: .66rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft); text-align: center; max-width: 22rem; line-height: 1.5; }
@media (max-width: 52rem) { .about-head { grid-template-columns: 1fr; } .about-head .display { font-size: var(--step-3); } }
.legal-band { padding-block: var(--sp-l) var(--sp-xl); }
.legal-band table { width: 100%; border-collapse: collapse; margin-block: var(--sp-s); background: var(--surface); font-size: var(--step--1); }
.legal-band th, .legal-band td { border: 1px solid var(--line); padding: .6rem .8rem; text-align: left; vertical-align: top; }
.legal-band th { background: var(--surface-2); font-weight: 700; }
.legal-band details p { padding-bottom: .5rem; }
.prose h5, .prose h6 { font-family: var(--f-body); font-weight: 700; font-size: var(--step-0); margin-top: var(--sp-m); }

/* ── Annex pro-forma forms (data breach policy) ──────────────────────── */
.annex-form {
  display: grid; gap: .9rem; align-content: start;
  margin-block: var(--sp-m) var(--sp-l);
  padding: clamp(1.3rem, 3.5vw, 2.1rem);
  background: var(--surface); border: 1px solid var(--line);
  border-top: 3px solid var(--gules); border-radius: var(--r-m);
  box-shadow: var(--shadow-1); counter-reset: annexrow;
}
.annex-form .field { display: grid; gap: .3rem; }
.annex-form .field .lbl { font-weight: 600; font-size: var(--step--1); }
.annex-form input[type="text"], .annex-form input[type="number"], .annex-form textarea {
  width: 100%; padding: .6rem .8rem; background: var(--paper);
  border: 1px solid var(--line-strong); border-radius: var(--r-s);
}
.annex-form input:focus, .annex-form textarea:focus { background: #fff; border-color: var(--azure); box-shadow: 0 0 0 3px rgba(43,131,208,.22); outline: none; }
.annex-form .form-sec {
  font-family: var(--f-mono); font-weight: 500; font-size: .7rem;
  letter-spacing: .14em; text-transform: uppercase; color: var(--or);
  border-top: 1px dashed var(--line-strong); padding-top: var(--sp-s); margin-top: .3rem;
}
.annex-form .check-row { display: flex; flex-wrap: wrap; gap: .5rem 1.1rem; }
.annex-form .check { display: inline-flex; align-items: center; gap: .45rem; font-size: var(--step--1); cursor: pointer; }
.annex-form .check input { width: 1.05rem; height: 1.05rem; accent-color: var(--azure); }
.annex-form .form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--sp-xs); margin-top: .4rem; }
.annex-form .form-hint { font-size: var(--step--1); color: var(--ink-soft); }
.form-intro { font-size: var(--step--1); color: var(--ink-soft); background: var(--surface-2); border-left: 3px solid var(--azure); padding: .6rem .9rem; border-radius: 0 var(--r-s) var(--r-s) 0; }
@media print { .annex-form { box-shadow: none; border: 1px solid #999; } .annex-form .form-actions { display: none; } }

/* ── Footer ──────────────────────────────────────────────────────────── */
.site-foot { background: var(--ink-deep); color: var(--on-dark-mute); padding-block: var(--sp-l) var(--sp-m); border-top: 3px solid var(--gules); }
.foot-grid { display: grid; grid-template-columns: 1.35fr .7fr .95fr .95fr; gap: clamp(1.75rem,4vw,3rem); padding-bottom: var(--sp-l); border-bottom: 1px solid rgba(255,255,255,.14); }
.site-foot .brand { color: #fff; }
.site-foot .brand-name { font-size: 1.3rem; }
.site-foot .brand-sub { color: var(--on-dark-mute); }
.site-foot .brand:hover .brand-name { color: var(--or-bright); }
.foot-note { margin-top: var(--sp-s); line-height: 1.55; max-width: 34ch; }
.foot-reg { margin-top: var(--sp-s); font-size: var(--step--1); line-height: 1.5; color: #8ba0b0; }
.foot-h { font-family: var(--f-mono); font-size: .7rem; letter-spacing: .15em; text-transform: uppercase; color: var(--or-bright); font-weight: 500; margin-bottom: var(--sp-s); }
.foot-list { list-style: none; padding: 0; display: grid; gap: .5rem; }
.foot-list a { text-decoration: none; color: var(--on-dark); font-weight: 600; font-size: .95rem; }
.foot-list a:hover { color: var(--or-bright); text-decoration: underline; }
.foot-addr { display: grid; gap: .45rem; font-size: .95rem; }
.foot-addr a { color: var(--on-dark); }
.foot-addr a:hover { color: var(--or-bright); }
.foot-addr p:last-of-type { color: #8ba0b0; font-size: var(--step--1); }
.site-foot .btn { margin-top: var(--sp-s); }
.foot-legal { padding-top: var(--sp-m); display: grid; gap: .5rem; font-size: var(--step--1); }
.foot-legal a { color: var(--on-dark-mute); }
.foot-legal a:hover { color: var(--or-bright); }
.foot-tyo { max-width: 95ch; color: #7d93a3; }
@media (max-width: 68rem) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 40rem) { .foot-grid { grid-template-columns: 1fr; } }

/* ── Reveal on scroll (progressive; hidden only when JS is active) ───── */
.js [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.3,1); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js [data-reveal] { opacity: 1; transform: none; transition: none; }
  .btn, .router-card, .mini-cards a { transition: none; }
}

/* ── Print (clients print service/fees pages) ────────────────────────── */
@media print {
  .site-head, .nav-toggle, .site-foot, .cta-band, .close, .hero-seal, .rev-link, .btn, .chain-tool { display: none !important; }
  body { background: #fff; color: #000; font-size: 11pt; }
  .hero, .stamp-band, .corporate-cta, .close { color: #000 !important; background: #fff !important; }
  .hero::before, .hero::after, .stamp-band::before, .corporate-cta::before { display: none; }
  .band, .hero, .why { padding-block: 1rem !important; }
  .two-col, .hero-grid, .stamp-grid, .corp-grid, .foot-grid { display: block !important; }
  .aside-card, .svc-summary, .router-card, .rev-card { box-shadow: none !important; border: 1px solid #999 !important; break-inside: avoid; }
  a { color: #000; text-decoration: none; }
  .prose h2 { break-after: avoid; }
}
