/* Define IPR Solutions — site styles.
   Dark navy, gold and red, matching the showreel. Mobile first. */

@font-face { font-family: 'Poppins'; font-weight: 400; font-style: normal; font-display: swap; src: url('../fonts/Poppins-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'Poppins'; font-weight: 500; font-style: normal; font-display: swap; src: url('../fonts/Poppins-500-normal.woff2') format('woff2'); }
@font-face { font-family: 'Poppins'; font-weight: 600; font-style: normal; font-display: swap; src: url('../fonts/Poppins-600-normal.woff2') format('woff2'); }
@font-face { font-family: 'Poppins'; font-weight: 800; font-style: normal; font-display: swap; src: url('../fonts/Poppins-800-normal.woff2') format('woff2'); }
@font-face { font-family: 'DM Serif Display'; font-weight: 400; font-style: italic; font-display: swap; src: url('../fonts/DMSerifDisplay-400-italic.woff2') format('woff2'); }

:root {
  --bg: #060f26;
  --bg-2: #0a1838;
  --navy: #0b1f47;
  --surface: rgba(255, 255, 255, 0.045);
  --surface-2: rgba(255, 255, 255, 0.08);
  --line: rgba(255, 255, 255, 0.12);
  --gold: #f5b335;
  --gold-2: #ffc95a;
  --red: #f3302b;
  --text: #eef2fb;
  --muted: #aab7d4;
  --radius: 18px;
  --wrap: 1200px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --sans: 'Poppins', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --serif: 'DM Serif Display', Georgia, 'Times New Roman', serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--sans); font-size: 17px; line-height: 1.65; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg, video, canvas { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
address { font-style: normal; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--gold); color: #10182c; padding: 10px 16px; border-radius: 8px; font-weight: 600; transition: top 0.2s; }
.skip-link:focus { top: 12px; }

.wrap { width: min(100% - 40px, var(--wrap)); margin-inline: auto; }
.wrap.narrow { width: min(100% - 40px, 860px); }
section { position: relative; padding: clamp(64px, 9vw, 120px) 0; }

/* ---------- type ---------- */
h1 { font-size: clamp(2.2rem, 4.7vw, 3.9rem); font-weight: 800; line-height: 1.04; letter-spacing: -0.02em; }
h1 em { font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--gold); letter-spacing: 0; }
h2 { font-size: clamp(1.9rem, 4vw, 3rem); font-weight: 800; line-height: 1.12; letter-spacing: -0.015em; text-wrap: balance; }
h3 { font-size: 1.25rem; font-weight: 600; line-height: 1.3; }
.eyebrow { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: 0.8rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); margin-bottom: 18px; }
@media (max-width: 480px) { .eyebrow { letter-spacing: 0.12em; gap: 8px; font-size: 0.74rem; } }
.eyebrow i { width: 5px; height: 5px; border-radius: 50%; background: var(--red); }
.lead { font-size: clamp(1.05rem, 1.5vw, 1.2rem); color: var(--muted); max-width: 34em; }
.section-head { text-align: center; max-width: 760px; margin: 0 auto clamp(36px, 5vw, 64px); }
.section-head .eyebrow { justify-content: center; }
.section-head p:not(.eyebrow) { color: var(--muted); margin-top: 16px; font-size: 1.08rem; }
.section-head.left { text-align: left; margin-inline: 0; margin-bottom: 28px; }
.section-head.left .eyebrow { justify-content: flex-start; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 26px; border-radius: 999px; border: 1px solid transparent; font: 600 1rem/1 var(--sans); text-decoration: none; cursor: pointer; transition: transform 0.2s var(--ease), background 0.2s, border-color 0.2s, box-shadow 0.2s; }
.btn:hover { transform: translateY(-2px); }
.btn-gold { background: var(--gold); color: #10182c; box-shadow: 0 10px 30px -10px rgba(245, 179, 53, 0.7); }
.btn-gold:hover { background: var(--gold-2); }
.btn-ghost { border-color: var(--line); background: var(--surface); color: var(--text); }
.btn-ghost:hover { border-color: rgba(255, 255, 255, 0.35); background: var(--surface-2); }
.btn-sm { min-height: 42px; padding: 0 18px; font-size: 0.92rem; }
.btn-block { width: 100%; }
.play { width: 0; height: 0; border-style: solid; border-width: 7px 0 7px 11px; border-color: transparent transparent transparent currentColor; }

.glass { background: linear-gradient(160deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.03)); border: 1px solid var(--line); border-radius: var(--radius); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.7); }

/* ---------- header ---------- */
/* The blurred bar is drawn on ::before, so the header itself never becomes the
   containing block for the fixed slide-out panel. */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 50; }
.site-header::before { content: ''; position: absolute; inset: 0; z-index: -1; opacity: 0; background: rgba(6, 15, 38, 0.88); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--line); transition: opacity 0.3s; }
.site-header.scrolled::before { opacity: 1; }
.header-row { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand img { width: 150px; height: auto; }
.main-nav { display: flex; align-items: center; gap: 28px; }
.nav-links { display: flex; gap: 28px; }
.main-nav a { text-decoration: none; font-size: 0.95rem; font-weight: 500; }
.nav-links a { color: var(--muted); transition: color 0.2s; }
.nav-links a:hover, .nav-links a[aria-current='page'] { color: var(--text); }
.nav-actions { display: flex; align-items: center; gap: 28px; }
.nav-phone { font-weight: 600 !important; white-space: nowrap; }
.drawer-only, .nav-backdrop { display: none; }

/* Services menu: a dropdown on desktop, an expandable list inside the mobile panel. */
.has-menu { position: relative; }
.menu-btn { display: inline-flex; align-items: center; gap: 7px; padding: 0; border: 0; background: none; color: var(--muted); font: 500 0.95rem/1.65 var(--sans); cursor: pointer; transition: color 0.2s; }
.menu-btn:hover, .has-menu.open .menu-btn { color: var(--text); }
.caret { width: 7px; height: 7px; margin-top: -4px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); transition: transform 0.25s var(--ease), margin 0.25s; }
.has-menu.open .caret { transform: rotate(-135deg); margin-top: 3px; }
.group-btn { display: none; }
.mega-title { font-size: 0.76rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); margin-bottom: 10px; }
.mega a { display: block; padding: 6px 0; color: var(--muted); font-size: 0.95rem; font-weight: 400; transition: color 0.2s; }
.mega a:hover, .mega a[aria-current='page'] { color: var(--text); }
.mega a[aria-current='page'] { font-weight: 600; }
.mega .mega-all { grid-column: 1 / -1; margin-top: 6px; padding-top: 16px; border-top: 1px solid var(--line); color: var(--gold); font-weight: 600; }
@media (min-width: 961px) {
  .mega { position: absolute; top: calc(100% + 20px); left: 50%; z-index: 80; display: grid; grid-template-columns: 1.25fr 1fr 1fr; gap: 8px 36px; width: min(760px, 92vw); padding: 26px 30px 22px; border: 1px solid var(--line); border-radius: var(--radius); background: #0b1b42; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.85); opacity: 0; visibility: hidden; transform: translate(-38%, 8px); transition: opacity 0.22s, transform 0.25s var(--ease), visibility 0s linear 0.25s; }
  .mega::before { content: ''; position: absolute; left: 0; right: 0; top: -22px; height: 22px; }
  .has-menu.open .mega, .no-js .has-menu:hover .mega, .no-js .has-menu:focus-within .mega { opacity: 1; visibility: visible; transform: translate(-38%, 0); transition: opacity 0.22s, transform 0.25s var(--ease), visibility 0s; }
}
.nav-toggle { display: none; width: 46px; height: 46px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); cursor: pointer; padding: 0; }
.nav-toggle span { display: block; width: 20px; height: 2px; margin: 4px auto; background: var(--text); }

/* Mobile: the same nav becomes a panel that slides in from the right. */
@media (max-width: 960px) {
  .nav-toggle { display: block; }
  .drawer-only { display: block; }
  .main-nav { position: fixed; top: 0; right: 0; bottom: 0; z-index: 70; width: min(86vw, 360px); height: 100dvh; flex-direction: column; align-items: stretch; gap: 0; padding: 14px 22px 26px; overflow-y: auto; overscroll-behavior: contain; background: linear-gradient(180deg, #0c1e48, #061029); border-left: 1px solid var(--line); box-shadow: -30px 0 60px -20px rgba(0, 0, 0, 0.7); transform: translateX(100%); visibility: hidden; transition: transform 0.38s var(--ease), visibility 0s linear 0.38s; }
  .main-nav.open { transform: none; visibility: visible; transition: transform 0.38s var(--ease), visibility 0s; }
  .nav-backdrop { display: block; position: fixed; inset: 0; z-index: 60; background: rgba(2, 6, 18, 0.62); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); opacity: 0; visibility: hidden; transition: opacity 0.3s, visibility 0s linear 0.3s; }
  .nav-open .nav-backdrop { opacity: 1; visibility: visible; transition: opacity 0.3s, visibility 0s; }
  body.nav-open { overflow: hidden; }

  .drawer-top { display: flex; align-items: center; justify-content: space-between; height: 48px; margin-bottom: 10px; }
  .drawer-top p { font-size: 0.78rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); }
  .nav-close { position: relative; width: 46px; height: 46px; margin-right: -8px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); cursor: pointer; padding: 0; }
  .nav-close span { position: absolute; left: 12px; top: 21px; width: 20px; height: 2px; background: var(--text); transform: rotate(45deg); }
  .nav-close span:last-child { transform: rotate(-45deg); }

  .nav-links { flex-direction: column; gap: 0; }
  .nav-links a { display: block; padding: 14px 2px; font-size: 1.3rem; font-weight: 600; color: var(--text); border-bottom: 1px solid var(--line); }
  .menu-btn { display: flex; justify-content: space-between; width: 100%; padding: 14px 2px; font-size: 1.3rem; font-weight: 600; line-height: 1.65; color: var(--text); border-bottom: 1px solid var(--line); }
  .mega { display: none; padding: 0 2px 6px 12px; border-bottom: 1px solid var(--line); }
  .has-menu.open .mega { display: grid; gap: 0; }
  .desk-only { display: none; }
  /* each group is its own collapsed row; its links appear only when the row is expanded */
  .group-btn { display: flex; align-items: center; justify-content: space-between; width: 100%; padding: 13px 0; border: 0; border-bottom: 1px solid var(--line); background: none; color: var(--gold); font: 600 0.8rem/1.4 var(--sans); letter-spacing: 0.18em; text-transform: uppercase; cursor: pointer; }
  .mega-group ul { display: none; padding: 6px 0 10px 12px; border-bottom: 1px solid var(--line); }
  .mega-group.open ul { display: block; }
  .mega-group.open .caret { transform: rotate(-135deg); margin-top: 3px; }
  .has-menu.open .mega-group:not(.open) .caret { transform: rotate(45deg); margin-top: -4px; }
  .mega a { padding: 8px 0; font-size: 1rem; }
  .mega .mega-all { margin-top: 0; padding-top: 14px; }
  .nav-actions { flex-direction: column; align-items: stretch; gap: 12px; margin-top: auto; padding-top: 28px; }
  .nav-phone, .nav-wa { display: block; padding: 2px; font-size: 1.05rem; }
  .nav-wa { color: var(--muted); }
  .nav-actions .btn { min-height: 52px; font-size: 1rem; margin-top: 6px; }

  /* links arrive just behind the panel */
  .main-nav > * { opacity: 0; transform: translateX(18px); transition: opacity 0.3s, transform 0.4s var(--ease); }
  .main-nav.open > * { opacity: 1; transform: none; }
  .main-nav.open > *:nth-child(2) { transition-delay: 0.08s; }
  .main-nav.open > *:nth-child(3) { transition-delay: 0.14s; }
  .main-nav.open > *:nth-child(4) { transition-delay: 0.2s; }
}
/* Without JavaScript the panel cannot open; the same links are in the footer. */
.no-js .nav-toggle { display: none; }
@media (max-width: 960px) and (prefers-reduced-motion: reduce) {
  .main-nav, .main-nav.open, .main-nav > *, .nav-backdrop, .nav-open .nav-backdrop { transition: none; }
}

/* ---------- halftone texture ---------- */
.halftone { position: absolute; width: 420px; height: 420px; pointer-events: none; background-image: radial-gradient(circle, var(--gold) 2.6px, transparent 3px); background-size: 22px 22px; opacity: 0.4; }
.halftone-tl { left: 0; top: 0; -webkit-mask-image: radial-gradient(circle at 0 0, #000, transparent 70%); mask-image: radial-gradient(circle at 0 0, #000, transparent 70%); }
.halftone-br { right: 0; bottom: 0; width: 300px; height: 300px; opacity: 0.22; -webkit-mask-image: radial-gradient(circle at 100% 100%, #000, transparent 70%); mask-image: radial-gradient(circle at 100% 100%, #000, transparent 70%); }

/* ---------- hero ---------- */
.hero { padding-top: clamp(116px, 12vw, 150px); padding-bottom: clamp(56px, 7vw, 96px); background: radial-gradient(1100px 700px at 72% 38%, #12306b 0%, rgba(18, 48, 107, 0) 62%), linear-gradient(180deg, #071231, var(--bg)); overflow: hidden; }
.hero-grid { display: grid; gap: 40px; align-items: center; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.lead { margin-top: 24px; }
.assure { margin-top: 26px; color: var(--muted); font-size: 0.95rem; }
.hero-visual { position: relative; width: min(100%, 420px); margin-inline: auto; }
#shield { aspect-ratio: 1; }
#shield { width: 100%; height: auto; }
.status-card { position: relative; width: min(100%, 320px); margin: -56px auto 0; padding: 16px 18px; font-size: 0.86rem; }
.status-head { display: flex; align-items: center; gap: 10px; font-weight: 600; margin-bottom: 12px; }
.status-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 4px rgba(243, 48, 43, 0.25); }
.status-card li { position: relative; padding: 6px 0 6px 26px; color: var(--muted); }
.status-card li::before { content: ''; position: absolute; left: 0; top: 11px; width: 14px; height: 14px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, 0.3); }
.status-card li.done { color: var(--text); }
.status-card li.done::before { background: var(--gold); border-color: var(--gold); }
.status-card li.now { color: var(--text); }
.status-card li.now::before { border-color: var(--gold); animation: pulse 1.6s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(245, 179, 53, 0.6); } 100% { box-shadow: 0 0 0 10px rgba(245, 179, 53, 0); } }
@media (min-width: 960px) {
  .hero-grid { grid-template-columns: 1.18fr 0.82fr; gap: 48px; }
  .hero-visual { width: min(100%, 560px); }
  .hero-visual { aspect-ratio: 1; margin-bottom: 6%; }
  .status-card { position: absolute; left: -12%; bottom: -3%; width: min(70%, 290px); margin: 0; }
}

/* ---------- proof ---------- */
.proof { padding: clamp(48px, 6vw, 80px) 0; border-block: 1px solid var(--line); background: var(--bg-2); }
.proof-head { max-width: 820px; margin-bottom: clamp(28px, 4vw, 44px); }
.proof-head h2 { font-size: clamp(1.6rem, 3.2vw, 2.4rem); }
.stats { display: grid; gap: 16px; }
.stat { padding: 26px 26px 24px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); }
.stat-figure { font-size: clamp(2.6rem, 5vw, 3.8rem); font-weight: 800; line-height: 1; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; color: var(--gold); }
.stat-unit { margin-top: 10px; font-weight: 600; }
.stat-text { margin-top: 6px; color: var(--muted); font-size: 0.98rem; }
.industries { margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--muted); font-size: 1.05rem; }
.industries span { color: var(--text); font-weight: 600; white-space: nowrap; }
@media (min-width: 820px) { .stats { grid-template-columns: repeat(3, 1fr); } }

/* ---------- intro video ---------- */
.intro { background: radial-gradient(900px 500px at 50% 0%, rgba(18, 48, 107, 0.8), transparent 70%); }
.video-frame { position: relative; border-radius: 22px; overflow: hidden; border: 1px solid var(--line); box-shadow: 0 50px 100px -40px rgba(0, 0, 0, 0.9), 0 0 0 8px rgba(255, 255, 255, 0.03); background: #050d22; aspect-ratio: 16 / 9; max-width: 1040px; margin-inline: auto; }
.video-frame video { width: 100%; height: 100%; object-fit: cover; }
.video-play { position: absolute; inset: 0; margin: auto; width: 96px; height: 96px; border-radius: 50%; border: 0; background: var(--gold); color: #10182c; cursor: pointer; display: grid; place-items: center; box-shadow: 0 0 0 0 rgba(245, 179, 53, 0.6); animation: ring 2.2s infinite; transition: transform 0.25s var(--ease); }
.video-play:hover { transform: scale(1.08); }
.video-play .play { border-width: 15px 0 15px 24px; margin-left: 6px; }
.video-frame.playing .video-play { display: none; }
@keyframes ring { 0% { box-shadow: 0 0 0 0 rgba(245, 179, 53, 0.55); } 100% { box-shadow: 0 0 0 34px rgba(245, 179, 53, 0); } }
.transcript { max-width: 1040px; margin: 12px auto 0; color: var(--muted); font-size: 0.88rem; }
.transcript summary { display: inline-block; cursor: pointer; padding: 6px 0; list-style: none; text-decoration: underline; text-decoration-color: rgba(170, 183, 212, 0.45); text-underline-offset: 4px; }
.transcript summary::-webkit-details-marker { display: none; }
.transcript summary:hover { color: var(--text); }
.transcript p { margin-top: 8px; max-width: 60em; }

/* ---------- services ---------- */
.cards { display: grid; gap: 20px; }
.card { position: relative; padding: 30px 28px 28px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); transition: transform 0.35s var(--ease), border-color 0.35s, background 0.35s, box-shadow 0.35s; }
.card:hover, .card:focus-within { transform: translateY(-6px); border-color: rgba(245, 179, 53, 0.55); background: var(--surface-2); box-shadow: 0 30px 60px -30px rgba(245, 179, 53, 0.35); }
.card h3 { margin: 4px 0 10px; }
.card h3 a { text-decoration: none; }
.card h3 a::after { content: ''; position: absolute; inset: 0; border-radius: var(--radius); }
.card p { color: var(--muted); font-size: 0.98rem; }
.card .card-index { color: var(--gold); font-weight: 600; font-size: 0.85rem; letter-spacing: 0.15em; }
.card-link { display: inline-block; margin-top: 18px; color: var(--gold); font-weight: 600; font-size: 0.95rem; }
.card-link::after { content: '\2192'; display: inline-block; margin-left: 7px; transition: transform 0.25s var(--ease); }
.card:hover .card-link::after { transform: translateX(5px); }
.icon { width: 64px; height: 64px; margin-bottom: 22px; }
.icon svg { width: 100%; height: 100%; fill: none; stroke: var(--gold); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.more { margin-top: 44px; padding-top: 32px; border-top: 1px solid var(--line); text-align: center; }
.more h3 { font-size: 1rem; color: var(--muted); font-weight: 500; margin-bottom: 18px; }
.more ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.more a { display: block; padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); text-decoration: none; font-size: 0.92rem; transition: border-color 0.2s, color 0.2s; }
.more a:hover { border-color: var(--gold); color: var(--gold); }
@media (min-width: 640px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .cards { grid-template-columns: repeat(4, 1fr); } }

/* ---------- process ---------- */
.process { background: var(--bg-2); border-block: 1px solid var(--line); }
.track { position: relative; display: grid; gap: 34px; padding-left: 44px; }
.track-line { position: absolute; left: 13px; top: 8px; bottom: 8px; width: 4px; border-radius: 4px; background: rgba(255, 255, 255, 0.14); }
.track-fill { position: absolute; inset: 0 0 auto 0; height: 100%; border-radius: 4px; background: var(--gold); transform-origin: top; }
.track-dot { position: absolute; left: 50%; top: 100%; width: 22px; height: 22px; margin: -11px 0 0 -11px; border-radius: 50%; background: var(--red); box-shadow: 0 0 18px var(--red); }
.step { position: relative; }
.node { position: absolute; left: -44px; top: 2px; width: 30px; height: 30px; border-radius: 50%; border: 3px solid var(--gold); background: var(--gold); }
.step-name { color: var(--gold); font-size: 0.85rem; font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase; }
.step-name b { color: var(--text); font-weight: 600; margin-left: 8px; }
.step h3 { margin: 8px 0; font-size: 1.3rem; }
.step > p:last-child { color: var(--muted); font-size: 0.98rem; max-width: 26em; }
@media (min-width: 900px) {
  .track:not(.tall) { grid-template-columns: repeat(4, 1fr); gap: 28px; padding: 60px 0 0; }
  .track:not(.tall) .track-line { left: 15px; right: calc(25% - 36px); top: 13px; bottom: auto; width: auto; height: 4px; }
  .track:not(.tall) .track-fill { transform-origin: left; }
  .track:not(.tall) .track-dot { left: 100%; top: 50%; }
  .track:not(.tall) .node { left: 0; top: -60px; }
  .track.tall { gap: 44px; padding-left: 64px; }
  .track.tall .track-line { left: 21px; }
  .track.tall .node { left: -58px; }
  .track.tall .step > p:last-child { max-width: 40em; }
}

/* ---------- why ---------- */
.why-grid { display: grid; gap: 44px; align-items: center; }
.radar { width: min(100%, 440px); margin-inline: auto; }
.radar svg { width: 100%; height: auto; overflow: visible; }
.r-bg { fill: rgba(22, 53, 122, 0.45); }
.r-ring, .r-cross { fill: none; stroke: rgba(255, 255, 255, 0.16); stroke-width: 1.5; }
.r-outer { fill: none; stroke: var(--gold); stroke-width: 3; }
.r-core { fill: var(--red); filter: drop-shadow(0 0 10px var(--red)); }
.r-sweep { transform-origin: 200px 200px; animation: sweep 5s linear infinite; }
@keyframes sweep { to { transform: rotate(360deg); } }
.blip { transform: translate(var(--bx), var(--by)); }
.blip circle { fill: #c9665a; animation: blip 5s var(--bd) infinite both; }
.blip path { fill: none; stroke: #ff4a40; stroke-width: 2.5; animation: blip 5s var(--bd) infinite both; }
@keyframes blip { 0%, 6% { opacity: 0; } 12%, 70% { opacity: 1; } 100% { opacity: 0; } }
.values { display: grid; gap: 14px; }
.values li { padding: 20px 22px; border-radius: 14px; border: 1px solid var(--line); background: var(--surface); border-left: 4px solid var(--gold); }
.values h3 { font-size: 1.1rem; margin-bottom: 4px; }
.values p { color: var(--muted); font-size: 0.98rem; }
@media (min-width: 900px) { .why-grid { grid-template-columns: 0.85fr 1.15fr; gap: 72px; } }

/* ---------- about ---------- */
.about { background: var(--bg-2); border-block: 1px solid var(--line); overflow: clip; }
.about-grid { display: grid; gap: 44px; align-items: center; position: relative; }
.about-grid > div > p { color: var(--muted); font-size: 1.08rem; max-width: 36em; }
.quote { margin: 0; padding: 4px 0 4px 22px; border-left: 4px solid var(--gold); }
.quote p { font-family: var(--serif); font-style: italic; font-size: clamp(1.3rem, 2.4vw, 1.75rem); line-height: 1.35; color: var(--text); }
.quote footer { margin-top: 12px; color: var(--muted); font-size: 0.92rem; }
.reasons { margin-top: 32px; display: grid; gap: 22px; }
.reasons h3 { font-size: 1.1rem; margin-bottom: 4px; }
.reasons p { color: var(--muted); font-size: 0.98rem; max-width: 34em; }
.founder { text-align: center; }
.founder-photo { position: relative; width: min(72vw, 300px); aspect-ratio: 1; margin: 0 auto 24px; border-radius: 50%; padding: 8px; background: conic-gradient(from 0deg, var(--gold), rgba(245, 179, 53, 0.15), var(--gold)); }
.founder-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; border-radius: 50%; border: 6px solid var(--bg-2); }
.founder-name { font-size: 1.6rem; font-weight: 800; line-height: 1.2; }
.founder-role { font-family: var(--serif); font-style: italic; color: var(--gold); font-size: 1.35rem; }
@media (min-width: 900px) { .about-grid { grid-template-columns: 1.2fr 0.8fr; gap: 72px; } }

/* ---------- faq ---------- */
.faq-list { display: grid; gap: 12px; }
.faq details { border: 1px solid var(--line); border-radius: 14px; background: var(--surface); transition: border-color 0.25s, background 0.25s; }
.faq details[open] { border-color: rgba(245, 179, 53, 0.5); background: var(--surface-2); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 20px 22px; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary h3 { font-size: 1.08rem; font-weight: 600; }
.faq summary::after { content: ''; flex: none; width: 12px; height: 12px; border-right: 2.5px solid var(--gold); border-bottom: 2.5px solid var(--gold); transform: rotate(45deg); transition: transform 0.25s var(--ease); margin-top: -4px; }
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: 4px; }
.faq details p { padding: 0 22px 22px; color: var(--muted); }
@supports (interpolate-size: allow-keywords) {
  .faq { interpolate-size: allow-keywords; }
  .faq details::details-content { block-size: 0; overflow: clip; transition: block-size 0.35s var(--ease), content-visibility 0.35s allow-discrete; }
  .faq details[open]::details-content { block-size: auto; }
}
.updated { margin-top: 24px; text-align: center; color: var(--muted); font-size: 0.9rem; }

/* ---------- contact ---------- */
.contact { background: radial-gradient(900px 600px at 15% 20%, rgba(18, 48, 107, 0.9), transparent 70%), var(--bg-2); border-top: 1px solid var(--line); }
.contact-grid { display: grid; gap: 40px; align-items: start; }
.contact-list { display: grid; gap: 0; border-top: 1px solid var(--line); }
.contact-list li { display: grid; grid-template-columns: 6.5em 1fr; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.contact-list span { color: var(--muted); font-size: 0.92rem; padding-top: 2px; }
.contact-list a { font-weight: 600; text-decoration: none; }
.contact-list a:hover { color: var(--gold); }
.contact-list address { color: var(--muted); font-size: 0.98rem; }
.contact-list .map-link { display: inline-block; margin-top: 8px; color: var(--gold); font-size: 0.92rem; }
.contact-aside { color: var(--muted); }
.contact-aside a { color: var(--text); font-weight: 600; text-decoration: none; }
.contact-aside a:hover { color: var(--gold); }
.more-link { margin-top: 26px; }
.more-link a { color: var(--gold); font-weight: 600; text-decoration: none; }
.more-link a::after { content: '\2192'; display: inline-block; margin-left: 7px; transition: transform 0.25s var(--ease); }
.more-link a:hover::after { transform: translateX(5px); }
.form { padding: clamp(22px, 3.5vw, 34px); display: grid; gap: 16px; }
.field { display: grid; gap: 6px; }
.field-row { display: grid; gap: 16px; }
.field label { font-size: 0.9rem; font-weight: 500; }
.field label span { color: var(--muted); font-weight: 400; }
.field input, .field select, .field textarea { width: 100%; min-height: 50px; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line); background: rgba(4, 11, 30, 0.7); color: var(--text); font: 400 1rem/1.4 var(--sans); transition: border-color 0.2s, box-shadow 0.2s; }
.field textarea { resize: vertical; }
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--gold) 50%), linear-gradient(135deg, var(--gold) 50%, transparent 50%); background-position: calc(100% - 22px) 22px, calc(100% - 16px) 22px; background-size: 6px 6px; background-repeat: no-repeat; }
.field select option { background: #0a1838; color: var(--text); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(245, 179, 53, 0.25); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-small { color: var(--muted); font-size: 0.85rem; text-align: center; }
.form-note { padding: 12px 14px; border-radius: 12px; font-size: 0.95rem; }
.form-note.ok { background: rgba(52, 211, 153, 0.14); border: 1px solid rgba(52, 211, 153, 0.5); }
.form-note.bad { background: rgba(243, 48, 43, 0.14); border: 1px solid rgba(243, 48, 43, 0.55); }
@media (min-width: 560px) { .field-row { grid-template-columns: 1fr 1fr; } }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 1fr 1fr; gap: 72px; } }

/* ---------- footer ---------- */
.site-footer { position: relative; background: #040b1d; overflow: hidden; }
.dot-strip { height: 26px; background-image: radial-gradient(circle, var(--gold) 2.2px, transparent 2.6px); background-size: 18px 13px; opacity: 0.55; animation: drift 18s linear infinite; }
@keyframes drift { to { background-position: 180px 0; } }
.footer-grid { display: grid; gap: 36px; padding-block: 56px 32px; }
.footer-brand .footer-hook { font-family: var(--serif); font-style: italic; color: var(--gold); font-size: 1.3rem; margin-top: 10px; }
.footer-brand p { color: var(--muted); font-size: 0.95rem; margin-top: 16px; max-width: 24em; }
.footer-social { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.site-footer .footer-social li { margin: 0; }
.site-footer .footer-social a { display: inline-block; padding: 6px 14px; border: 1px solid var(--line); border-radius: 999px; font-size: 0.85rem; transition: color 0.2s, border-color 0.2s, transform 0.2s; }
.site-footer .footer-social a:hover { color: var(--gold); border-color: var(--gold); transform: translateY(-2px); }
.footer-title { font-size: 0.82rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); font-weight: 600; margin-bottom: 14px; }
.site-footer li { margin-bottom: 8px; }
.site-footer a { color: var(--muted); text-decoration: none; font-size: 0.95rem; transition: color 0.2s; }
.site-footer a:hover { color: var(--text); }
.site-footer address { line-height: 1.9; }
.footer-address { display: block; color: var(--muted); font-size: 0.9rem; line-height: 1.6; margin-top: 6px; }
.wordmark { font-weight: 800; font-size: clamp(3.4rem, 17.5vw, 15rem); line-height: 0.8; letter-spacing: -0.03em; text-align: center; white-space: nowrap; color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, 0.12); background: linear-gradient(180deg, rgba(255, 255, 255, 0.1), transparent 85%); -webkit-background-clip: text; background-clip: text; user-select: none; padding-top: 10px; }
.footer-base { display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; padding-block: 22px; border-top: 1px solid var(--line); color: var(--muted); font-size: 0.88rem; }
.footer-base ul { display: flex; flex-wrap: wrap; gap: 20px; }
.footer-base li { margin: 0; }
@media (min-width: 620px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (min-width: 1040px) { .footer-grid { grid-template-columns: 1.25fr 1.15fr 0.95fr 1fr 1.2fr; gap: 32px; } .footer-brand { grid-column: auto; } }

/* ---------- two-column sections ----------
   On desktop the shorter column stays in view while the longer one scrolls past.
   site.js marks the shorter column with .is-sticky. */
@media (min-width: 900px) {
  .split { align-items: start; }
  .split > .is-sticky { position: sticky; top: 104px; }
}

/* ---------- inner pages ---------- */
.crumbs { margin-bottom: 20px; font-size: 0.88rem; color: var(--muted); }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 8px; }
.crumbs li + li::before { content: '/'; margin-right: 8px; color: rgba(255, 255, 255, 0.3); }
.crumbs a { color: var(--gold); text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.page-hero h1 { font-size: clamp(2.1rem, 4.2vw, 3.5rem); }
.page-hero h1 em { font-size: 0.8em; }

/* ™ to ® badge */
.tm-badge { width: min(100%, 520px); margin-inline: auto; }
.tm-badge svg { width: 100%; height: auto; overflow: visible; }
.b-bg { fill: rgba(22, 53, 122, 0.4); }
.b-track { fill: none; stroke: rgba(255, 255, 255, 0.14); stroke-width: 10; }
.b-prog { fill: none; stroke: var(--gold); stroke-width: 10; stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: 0; }
.b-stage circle { fill: var(--gold); stroke: var(--bg); stroke-width: 5; }
.b-stage text { fill: var(--text); font: 600 15px/1 var(--sans); letter-spacing: 0.16em; }
.b-tm, .b-r text { font: 800 92px/1 var(--sans); letter-spacing: -0.02em; }
.b-tm { fill: var(--text); opacity: 0; }
.b-r circle { fill: var(--gold); }
.b-r text { fill: #10182c; font-size: 88px; }
.b-r .b-num { font-size: 66px; }
.b-r circle.b-ring { fill: none; stroke: #10182c; stroke-width: 8; }
.b-r .b-c { font-size: 56px; }
.b-r .b-small { font: 700 16px/1 var(--sans); letter-spacing: 0.22em; }
.b-bulb path, .b-bulb circle, .b-bulb ellipse { fill: none; stroke: var(--text); stroke-width: 7; stroke-linecap: round; stroke-linejoin: round; }
.b-scaled path, .b-scaled circle, .b-scaled ellipse { stroke-width: 3.4; }

.types { display: grid; gap: 18px; }
.type.card { padding: 26px 24px; }
.type .icon { width: 52px; height: 52px; margin-bottom: 16px; }
.type h3 { margin: 0 0 6px; }
.note a { color: var(--gold); }
.note { max-width: 760px; margin: 32px auto 0; padding: 18px 22px; border-radius: 14px; border: 1px solid var(--line); border-left: 4px solid var(--red); background: var(--surface); color: var(--muted); font-size: 0.98rem; }
@media (min-width: 640px) { .types { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .types { grid-template-columns: repeat(3, 1fr); } }

.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
table { width: 100%; border-collapse: collapse; min-width: 560px; text-align: left; }
th, td { padding: 18px 20px; vertical-align: top; border-bottom: 1px solid var(--line); }
thead th { font-size: 0.8rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); font-weight: 600; }
tbody tr:last-child th, tbody tr:last-child td { border-bottom: 0; }
td { color: var(--muted); font-size: 0.98rem; }
.plain-rows tbody th { color: var(--text); font-weight: 600; white-space: nowrap; }
.sym { display: inline-grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; background: var(--gold); color: #10182c; font-size: 1.05rem; font-weight: 800; letter-spacing: -0.02em; }
.sym-r { font-size: 1.6rem; }

/* On phones each table row becomes a small card, so nothing scrolls sideways. */
@media (max-width: 640px) {
  table { min-width: 0; }
  thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  tbody tr { display: grid; grid-template-columns: 54px 1fr; gap: 14px 16px; padding: 20px 18px; border-bottom: 1px solid var(--line); }
  tbody tr:last-child { border-bottom: 0; }
  tbody th, tbody td { padding: 0; border: 0; }
  tbody th { grid-row: span 2; }
  .plain-rows tbody tr { grid-template-columns: 1fr; gap: 10px; }
  .plain-rows tbody th { grid-row: auto; font-size: 1.2rem; }
  tbody td::before { content: attr(data-label); display: block; margin-bottom: 4px; font-size: 0.74rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); }
}

.apply { background: var(--bg-2); border-block: 1px solid var(--line); }
.apply-grid { display: grid; gap: 40px; align-items: start; }
.docs { padding: clamp(24px, 3.5vw, 36px); }
.docs h2 { font-size: 1.5rem; margin-bottom: 18px; }
.docs h3 { margin: 26px 0 6px; font-size: 1.1rem; }
.docs p { color: var(--muted); font-size: 0.98rem; }
.docs-source { margin-top: 16px; font-size: 0.9rem !important; }
.docs-source a { color: var(--gold); }
.checklist { display: grid; gap: 12px; }
.checklist li { position: relative; padding-left: 34px; font-size: 0.98rem; }
.checklist li::before { content: ''; position: absolute; left: 0; top: 3px; width: 22px; height: 22px; border-radius: 50%; background: var(--gold) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2310182c' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 14px 14px no-repeat; }
.faq .more { margin-top: 40px; }
.sectors { margin-top: 30px; }
.sectors h3 { font-size: 1rem; color: var(--muted); font-weight: 500; margin-bottom: 14px; }
.sectors ul { display: flex; flex-wrap: wrap; gap: 8px; }
.sectors li { padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); font-size: 0.9rem; }
@media (min-width: 900px) { .apply-grid { grid-template-columns: 1.05fr 0.95fr; gap: 64px; } }

/* ---------- legal-document pages ---------- */
.doc-art { width: min(100%, 400px); margin-inline: auto; }
.doc-art svg { width: 100%; height: auto; overflow: visible; }
.d-page { fill: rgba(22, 53, 122, 0.45); stroke: rgba(255, 255, 255, 0.55); stroke-width: 4; stroke-linejoin: round; }
.d-fold { fill: none; stroke: rgba(255, 255, 255, 0.55); stroke-width: 4; stroke-linejoin: round; }
.d-line { fill: none; stroke: rgba(255, 255, 255, 0.75); stroke-width: 10; stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: 0; }
.d-line.l1 { stroke: var(--gold); }
.d-sign { fill: none; stroke: var(--gold); stroke-width: 6; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 100; stroke-dashoffset: 0; }
.d-seal { transform-origin: 318px 330px; }
.d-seal circle { fill: var(--red); }
.d-seal path { fill: none; stroke: #fff; stroke-width: 8; stroke-linecap: round; stroke-linejoin: round; }
.type.card h3 a { text-decoration: none; }
.type.card h3 a::before { content: ''; }
.type.card:has(h3 a) h3::after { content: '\2192'; margin-left: 8px; color: var(--gold); }
.process.plain { background: transparent; border: 0; }

/* ---------- policy pages ---------- */
.policy-hero { padding-bottom: clamp(36px, 5vw, 56px); }
.policy-date { margin-top: 18px; color: var(--muted); }
.policy { padding-top: clamp(40px, 6vw, 72px); }
.policy-grid { display: grid; gap: 32px; }
.toc { padding: 20px 22px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.toc-title { font-size: 0.76rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); margin-bottom: 10px; }
.toc ol { display: grid; gap: 2px; }
.toc a { display: block; padding: 6px 10px; margin-left: -10px; border-left: 2px solid transparent; color: var(--muted); font-size: 0.94rem; text-decoration: none; transition: color 0.2s, border-color 0.2s; }
.toc a:hover { color: var(--text); }
.toc a.current { color: var(--text); border-left-color: var(--gold); font-weight: 500; }
.policy-text { max-width: 46em; }
.policy-text p, .policy-text li { color: #c5cfe6; font-size: 1.02rem; }
.policy-text p { margin-bottom: 16px; }
.policy-text .policy-intro { color: var(--text); }
.policy-text section { padding-top: 26px; margin-top: 10px; border-top: 1px solid var(--line); }
.policy-text h2 { font-size: 1.45rem; margin-bottom: 14px; letter-spacing: -0.01em; }
.policy-text ul { display: grid; gap: 10px; margin-bottom: 16px; }
.policy-text li { position: relative; padding-left: 22px; }
.policy-text li::before { content: ''; position: absolute; left: 2px; top: 0.72em; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); }
.policy-contact { margin-top: 40px; padding: 24px 26px; }
.policy-contact h2 { font-size: 1.2rem; margin-bottom: 8px; }
.policy-contact p { margin-bottom: 6px; }
.policy-contact a { color: var(--gold); }
@media (min-width: 900px) { .policy-grid { grid-template-columns: 260px 1fr; gap: 64px; } }

/* ---------- about page ---------- */
.founder-stage { position: relative; width: min(100%, 440px); aspect-ratio: 4 / 5; margin: 0 auto; }
.stage-ring { position: absolute; left: 0; right: 0; top: 9%; width: 100%; height: auto; overflow: visible; }
.sr-disc { fill: #16357a; opacity: 0.55; }
.sr-thin { fill: none; stroke: rgba(255, 255, 255, 0.2); stroke-width: 1.5; }
.sr-gold { fill: none; stroke: var(--gold); stroke-width: 9; stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: 0; }
.stage-photo { position: absolute; left: 50%; bottom: 0; height: 100%; width: auto; max-width: none; transform: translateX(-50%); -webkit-mask-image: linear-gradient(to bottom, #000 84%, transparent 100%); mask-image: linear-gradient(to bottom, #000 84%, transparent 100%); }
.name-plate { position: absolute; left: 0; bottom: 7%; padding: 14px 20px; display: grid; gap: 2px; }
.name-plate strong { font-size: 1.15rem; font-weight: 800; line-height: 1.2; }
.name-plate span { font-family: var(--serif); font-style: italic; color: var(--gold); font-size: 1.1rem; }
@media (min-width: 960px) { .name-plate { left: -9%; } }

.story-grid { display: grid; gap: 40px; }
.story-grid > div > p { color: var(--muted); font-size: 1.08rem; max-width: 36em; margin-bottom: 18px; }
.story-grid .quote { margin-top: 30px; }
.facts-card { padding: clamp(22px, 3vw, 32px); }
.facts-card h3 { margin-bottom: 14px; }
.facts { display: grid; border-top: 1px solid var(--line); }
.facts div { display: grid; grid-template-columns: 10.5em 1fr; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 0.96rem; }
.facts div:last-child { border-bottom: 0; padding-bottom: 0; }
.facts dt { color: var(--muted); }
.facts dd { font-weight: 500; }
@media (max-width: 520px) { .facts div { grid-template-columns: 1fr; gap: 2px; } }
@media (min-width: 900px) { .story-grid { grid-template-columns: 1.1fr 0.9fr; gap: 64px; } }

.values-section { background: var(--bg-2); border-block: 1px solid var(--line); }
.people-grid { display: grid; gap: 20px; max-width: 980px; margin-inline: auto; }
.person { display: grid; grid-template-columns: 96px 1fr; gap: 20px; align-items: start; padding: 26px; }
.person img, .avatar { width: 96px; height: 96px; border-radius: 50%; }
.person img { object-fit: cover; object-position: 50% 20%; border: 3px solid var(--gold); }
.avatar { display: grid; place-items: center; background: var(--navy); border: 3px solid var(--gold); color: var(--gold); font-size: 1.7rem; font-weight: 800; letter-spacing: 0.02em; }
.person h3 { font-size: 1.3rem; font-weight: 800; }
.person-role { font-family: var(--serif); font-style: italic; color: var(--gold); font-size: 1.15rem; margin-bottom: 8px; }
.person p:last-child { color: var(--muted); font-size: 0.98rem; }
@media (min-width: 820px) { .people-grid { grid-template-columns: 1fr 1fr; } }

/* ---------- contact page ---------- */
.contact-hero { padding-bottom: clamp(48px, 6vw, 72px); }
.contact-hero .lead { max-width: 38em; }
.methods { display: grid; gap: 16px; margin-top: clamp(32px, 5vw, 52px); }
.method.card { padding: 24px; }
.method .icon { width: 44px; height: 44px; margin-bottom: 16px; }
.method h2 { font-size: 1.15rem; font-weight: 600; letter-spacing: 0; margin-bottom: 6px; }
.method.card p { font-size: 0.98rem; }
.method a { color: var(--text); font-weight: 600; text-decoration: none; position: relative; z-index: 1; }
.method a:hover { color: var(--gold); }
@media (min-width: 620px) { .methods { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .methods { grid-template-columns: repeat(4, 1fr); } }

/* ---------- motion ----------
   Everything is visible by default. Hidden starting states apply only when
   JavaScript is running and the visitor has not asked for reduced motion. */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s var(--ease) var(--d, 0ms), transform 0.7s var(--ease) var(--d, 0ms); }
  .js .reveal.in { opacity: 1; transform: none; }
  .js .card.reveal.in { transition: opacity 0.7s var(--ease) var(--d, 0ms), transform 0.35s var(--ease), border-color 0.35s, background 0.35s, box-shadow 0.35s; }

  .js .mask-lines .line { display: block; overflow: hidden; padding-bottom: 0.1em; margin-bottom: -0.1em; }
  .js .mask-lines .line > span { display: block; transform: translateY(110%); transition: transform 0.9s var(--ease); }
  .js .mask-lines .line:nth-child(2) > span { transition-delay: 0.1s; }
  .js .mask-lines .line:nth-child(3) > span { transition-delay: 0.2s; }
  .js .mask-lines.in .line > span { transform: none; }

  /* Hero entrances run from CSS alone, so the first paint does not wait for JavaScript. */
  .js .hero .reveal { opacity: 1; transform: none; transition: none; animation: rise 0.7s var(--ease) both; }
  .js .hero .lead { animation-name: slide; animation-delay: 0.12s; }
  .js .hero .hero-cta { animation-delay: 0.22s; }
  .js .hero .assure { animation-delay: 0.32s; }
  .js .hero .mask-lines .line > span { transform: none; transition: none; animation: line-up 0.8s var(--ease) both; }
  .js .hero .mask-lines .line:nth-child(2) > span { animation-delay: 0.07s; }
  .js .hero .mask-lines .line:nth-child(3) > span { animation-delay: 0.14s; }
  @keyframes rise { from { opacity: 0; transform: translateY(22px); } }
  @keyframes slide { from { transform: translateY(22px); } }
  @keyframes line-up { from { transform: translateY(110%); } }

  /* types grid: one card after another along each row */
  @media (min-width: 640px) { .types .type:nth-child(even) { --d: 260ms; } }
  @media (min-width: 1000px) { .types .type:nth-child(3n + 1) { --d: 0ms; } .types .type:nth-child(3n + 2) { --d: 260ms; } .types .type:nth-child(3n) { --d: 520ms; } }

  /* ™ to ®: a nine-second loop. The ring fills, each stage lights as it is passed, then TM becomes R. */
  .b-prog { animation: b-prog 9s linear infinite; }
  .b-stage circle { animation: 9s linear infinite; }
  .b-stage.s1 circle { animation-name: b-s1; } .b-stage.s2 circle { animation-name: b-s2; }
  .b-stage.s3 circle { animation-name: b-s3; } .b-stage.s4 circle { animation-name: b-s4; }
  .b-tm { animation: b-tm 9s linear infinite; }
  .b-r { transform-origin: 260px 220px; animation: b-r 9s var(--ease) infinite; }
  @keyframes b-prog { 0% { stroke-dashoffset: 100; } 66%, 100% { stroke-dashoffset: 0; } }
  @keyframes b-s1 { 0%, 16% { fill: #24345c; } 17%, 100% { fill: var(--gold); } }
  @keyframes b-s2 { 0%, 32% { fill: #24345c; } 33%, 100% { fill: var(--gold); } }
  @keyframes b-s3 { 0%, 49% { fill: #24345c; } 50%, 100% { fill: var(--gold); } }
  @keyframes b-s4 { 0%, 65% { fill: #24345c; } 66%, 100% { fill: var(--gold); } }
  @keyframes b-tm { 0%, 62% { opacity: 1; } 67%, 100% { opacity: 0; } }
  @keyframes b-r { 0%, 64% { opacity: 0; transform: scale(0.6); } 70%, 96% { opacity: 1; transform: scale(1); } 100% { opacity: 0; transform: scale(1); } }

  /* about hero: ring draws, founder rises, name plate follows (CSS only, so first paint does not wait) */
  .sr-gold { animation: sr-draw 1.5s var(--ease) 0.2s both; }
  .stage-photo { animation: stage-rise 0.9s var(--ease) both; }
  .name-plate { animation: rise 0.7s var(--ease) 0.7s both; }
  @keyframes sr-draw { from { stroke-dashoffset: 100; } }
  @keyframes stage-rise { from { transform: translate(-50%, 36px); } }
  @media (min-width: 620px) { .methods .method:nth-child(even) { --d: 160ms; } }
  @media (min-width: 1040px) { .methods .method:nth-child(2) { --d: 160ms; } .methods .method:nth-child(3) { --d: 320ms; } .methods .method:nth-child(4) { --d: 480ms; } }

  /* legal-document hero: the page is written line by line, signed, then sealed. Nine-second loop. */
  .d-line, .d-sign { animation: 9s linear infinite both; }
  .d-line.l1 { animation-name: d-l1; } .d-line.l2 { animation-name: d-l2; } .d-line.l3 { animation-name: d-l3; } .d-line.l4 { animation-name: d-l4; }
  .d-sign { animation-name: d-sign; }
  .d-seal { animation: d-seal 9s var(--ease) infinite both; }
  @keyframes d-l1 { 0%, 4% { stroke-dashoffset: 100; } 12%, 94% { stroke-dashoffset: 0; opacity: 1; } 100% { stroke-dashoffset: 0; opacity: 0; } }
  @keyframes d-l2 { 0%, 12% { stroke-dashoffset: 100; } 20%, 94% { stroke-dashoffset: 0; opacity: 1; } 100% { stroke-dashoffset: 0; opacity: 0; } }
  @keyframes d-l3 { 0%, 20% { stroke-dashoffset: 100; } 28%, 94% { stroke-dashoffset: 0; opacity: 1; } 100% { stroke-dashoffset: 0; opacity: 0; } }
  @keyframes d-l4 { 0%, 28% { stroke-dashoffset: 100; } 36%, 94% { stroke-dashoffset: 0; opacity: 1; } 100% { stroke-dashoffset: 0; opacity: 0; } }
  @keyframes d-sign { 0%, 40% { stroke-dashoffset: 100; } 56%, 94% { stroke-dashoffset: 0; opacity: 1; } 100% { stroke-dashoffset: 0; opacity: 0; } }
  @keyframes d-seal { 0%, 58% { opacity: 0; transform: scale(1.6); } 64%, 94% { opacity: 1; transform: scale(1); } 100% { opacity: 0; transform: scale(1); } }

  .js .words .w { display: inline-block; opacity: 0; transform: translateY(0.45em); transition: opacity 0.5s var(--ease), transform 0.5s var(--ease); transition-delay: calc(var(--n) * 70ms); }
  .js .words.in .w { opacity: 1; transform: none; }

  .js .icon .draw { stroke-dasharray: 220; stroke-dashoffset: 220; transition: stroke-dashoffset 0.9s var(--ease) calc(var(--d, 0ms) + 300ms); }
  @media (min-width: 640px) { .cards .card:nth-child(even) { --d: 380ms; } }
  @media (min-width: 1080px) { .cards .card:nth-child(2) { --d: 380ms; } .cards .card:nth-child(3) { --d: 760ms; } .cards .card:nth-child(4) { --d: 1140ms; } }
  .js .card.in .icon .draw { stroke-dashoffset: 0; }

  .js .track { --p: 0; }
  .js .track .track-fill { transform: scaleY(var(--p)); }
  .js .track .track-dot { top: calc(var(--p) * 100%); }
  .js .track .node { background: var(--bg-2); border-color: rgba(255, 255, 255, 0.3); transition: background 0.3s, border-color 0.3s, box-shadow 0.4s; }
  .js .track .step > *:not(.node) { opacity: 0; transform: translateY(14px); transition: opacity 0.5s var(--ease), transform 0.5s var(--ease); }
  .js .track .step.on .node { background: var(--gold); border-color: var(--gold); box-shadow: 0 0 0 8px rgba(245, 179, 53, 0.15); }
  .js .track .step.on > *:not(.node) { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: no-preference) and (min-width: 900px) {
  .js .track:not(.tall) .track-fill { transform: scaleX(var(--p)); }
  .js .track:not(.tall) .track-dot { top: 50%; left: calc(var(--p) * 100%); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .r-sweep, .blip circle, .blip path, .dot-strip, .video-play, .status-card li.now::before { animation: none; }
  .blip circle, .blip path { opacity: 1; }
  .btn, .card { transition: none; }
}
