/* PG Media Consulting LLC. Editorial layout with a modern grotesk display,
   mono labels, hairlines and numbered chapters. Fonts are self hosted
   (Space Grotesk and Manrope, SIL Open Font License, see /fonts/), so the
   page makes no external requests. */
@font-face {
  font-family: "Space Grotesk";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("/fonts/space-grotesk-latin-wght-normal.woff2") format("woff2-variations"), url("/fonts/space-grotesk-latin-wght-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("/fonts/manrope-latin-wght-normal.woff2") format("woff2-variations"), url("/fonts/manrope-latin-wght-normal.woff2") format("woff2");
}
:root {
  --bg: #0b0a12;
  --bg-2: #110e1c;
  --ink: #f3f0fa;
  --ink-2: #cfc9e2;
  --muted: #9b94b4;
  --faint: #5f5878;
  --line: rgba(255, 255, 255, 0.1);
  --line-2: rgba(255, 255, 255, 0.2);
  --accent: #a78bfa;
  --accent-2: #7c3aed;
  --accent-soft: rgba(167, 139, 250, 0.14);
  --serif: "Space Grotesk", "Segoe UI Variable Display", "SF Pro Display", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  --sans: "Manrope", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", "Cascadia Mono", Menlo, Consolas, "Liberation Mono", monospace;
  --max: 1180px;
  --gutter: clamp(20px, 4vw, 56px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink-2);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
/* Backdrop: faint drafting grid, one purple glow, film grain. */
body::before {
  content: "";
  position: fixed; inset: 0; z-index: -2; pointer-events: none;
  background:
    radial-gradient(1100px 600px at 70% -10%, rgba(124, 58, 237, 0.26), transparent 60%),
    radial-gradient(700px 500px at 0% 100%, rgba(167, 139, 250, 0.1), transparent 60%),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.025) 0 1px, transparent 1px 96px),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.025) 0 1px, transparent 1px 96px),
    linear-gradient(180deg, var(--bg-2), var(--bg) 50%);
}
body::after {
  content: "";
  position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: 0.045;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

h1, h2, h3 { font-family: var(--serif); font-weight: 600; color: var(--ink); margin: 0; letter-spacing: -0.03em; line-height: 1.02; }
h1 { font-size: clamp(42px, 6.6vw, 86px); letter-spacing: -0.045em; }
h2 { font-size: clamp(32px, 4.4vw, 56px); }
h3 { font-size: clamp(21px, 2.1vw, 26px); line-height: 1.15; font-weight: 600; letter-spacing: -0.02em; }
em { font-style: normal; font-weight: 400; color: var(--accent); }
p { margin: 0 0 16px; }
a { color: var(--accent); text-decoration: none; }
a:hover { color: #d9ccff; }
strong { color: var(--ink); font-weight: 600; }
svg { display: block; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }

.wrap { width: min(var(--max), calc(100% - 2 * var(--gutter))); margin: 0 auto; }
.mono { font-family: var(--mono); font-size: 12.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.lead { font-size: clamp(18px, 1.5vw, 21px); line-height: 1.55; color: var(--ink-2); max-width: 620px; }
.muted { color: var(--muted); }

/* ---------- Header ---------- */
.top {
  position: sticky; top: 0; z-index: 40;
  background: linear-gradient(180deg, rgba(11, 10, 18, 0.9), rgba(11, 10, 18, 0.6));
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 24px; }
.mark { display: inline-flex; align-items: center; gap: 14px; color: var(--ink); }
.mark .tile {
  width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; overflow: hidden;
  background: linear-gradient(145deg, var(--accent), var(--accent-2));
  box-shadow: 0 8px 24px -10px rgba(124, 58, 237, 0.9), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}
.mark .tile img { height: 28px; width: auto; display: block; }
.mark .name { display: flex; flex-direction: column; line-height: 1.1; }
.mark .name b { font-family: var(--serif); font-weight: 600; font-size: 17px; letter-spacing: -0.02em; }
.mark .name span { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-top: 3px; }
.index { display: flex; gap: 26px; }
.index a { font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); display: inline-flex; gap: 8px; }
.index a i { font-style: normal; color: var(--accent); }
.index a:hover { color: var(--ink); }
.burger { display: none; width: 44px; height: 44px; border: 1px solid var(--line-2); border-radius: 10px; background: transparent; color: var(--ink); cursor: pointer; }
.burger svg { width: 20px; height: 20px; margin: 0 auto; }

/* ---------- Hero ---------- */
.hero { padding: clamp(70px, 10vw, 130px) 0 clamp(60px, 8vw, 110px); }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.75fr); gap: clamp(32px, 6vw, 90px); align-items: end; }
.hero .kicker { display: flex; align-items: center; gap: 14px; margin-bottom: 30px; }
.hero .kicker .rule { width: 56px; height: 1px; background: var(--accent); }
.hero h1 { margin-bottom: 28px; text-wrap: balance; }
.hero .cta { display: flex; flex-wrap: wrap; gap: 14px 26px; align-items: center; margin-top: 34px; }
.link-arrow { display: inline-flex; align-items: center; gap: 10px; font-weight: 500; color: var(--ink); font-size: 16px; }
.link-arrow svg { width: 18px; height: 18px; transition: transform 0.2s ease; }
.link-arrow:hover { color: var(--ink); }
.link-arrow:hover svg { transform: translateX(4px); }
.btn {
  display: inline-flex; align-items: center; gap: 10px; padding: 14px 22px; border-radius: 8px;
  font-weight: 600; font-size: 15px; color: #fff;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 14px 34px -16px rgba(124, 58, 237, 0.9);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.btn:hover { color: #fff; transform: translateY(-1px); box-shadow: 0 18px 40px -16px rgba(124, 58, 237, 1); }
.btn svg { width: 16px; height: 16px; }

/* Company dossier */
.dossier {
  position: relative; padding: 26px 26px 22px; border: 1px solid var(--line-2); border-radius: 6px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.9);
}
.dossier::before { content: ""; position: absolute; left: 14px; right: 14px; top: -5px; height: 9px; border: 1px solid var(--line-2); border-bottom: 0; border-radius: 6px 6px 0 0; background: var(--bg); }
.dossier .hd { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-bottom: 14px; border-bottom: 1px dashed var(--line-2); margin-bottom: 6px; }
.dossier .stamp { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); padding: 5px 9px; border: 1px solid rgba(167, 139, 250, 0.5); border-radius: 4px; transform: rotate(-2deg); }
.dossier dl { margin: 0; display: grid; grid-template-columns: auto 1fr; column-gap: 18px; }
.dossier dt, .dossier dd { margin: 0; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.dossier dt { font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--faint); padding-top: 13px; }
.dossier dd { color: var(--ink); }
.dossier dt:last-of-type, .dossier dd:last-of-type { border-bottom: 0; }
.dossier .ft { margin-top: 14px; font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; color: var(--faint); text-transform: uppercase; }
/* Application steps inside the card */
.dossier .ap { list-style: none; margin: 0; padding: 0; }
.dossier .ap li { display: grid; grid-template-columns: 30px 1fr; gap: 12px; padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 14px; line-height: 1.5; color: var(--muted); }
.dossier .ap li i { font-style: normal; font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.1em; color: var(--accent); padding-top: 4px; }
.dossier .ap li b { display: block; color: var(--ink); font-weight: 600; font-size: 15px; margin-bottom: 2px; }
.dossier .btns { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 18px; }
.dossier .btns .btn { justify-content: center; padding: 13px 16px; }
.btn-ghost { background: rgba(255, 255, 255, 0.05); color: var(--ink); border: 1px solid var(--line-2); box-shadow: none; }
.btn-ghost:hover { color: var(--ink); background: rgba(255, 255, 255, 0.09); box-shadow: none; }
.dossier .ap li { animation: rise 0.6s ease both; }
.dossier .ap li:nth-child(1) { animation-delay: 0.6s; }
.dossier .ap li:nth-child(2) { animation-delay: 0.7s; }
.dossier .ap li:nth-child(3) { animation-delay: 0.8s; }
.dossier .btns { animation: rise 0.6s ease both 0.95s; }
.hero.settled .dossier .ap li, .hero.settled .dossier .btns { animation: none; opacity: 1; transform: none; }

/* ---------- Chapters ---------- */
.chapter { padding: clamp(64px, 8vw, 120px) 0; border-top: 1px solid var(--line); }
.chapter-head { display: grid; grid-template-columns: 120px 1fr; gap: 24px; align-items: start; margin-bottom: clamp(36px, 5vw, 64px); }
.num { font-family: var(--serif); font-weight: 700; font-size: clamp(54px, 7vw, 96px); line-height: 0.9; color: transparent; -webkit-text-stroke: 1px rgba(167, 139, 250, 0.55); letter-spacing: -0.05em; }
.chapter-head h2 { margin-bottom: 14px; }
.chapter-head .lead { margin: 0; }

/* Services as a ledger */
.ledger { border-top: 1px solid var(--line-2); }
.ledger .row {
  display: grid; grid-template-columns: 70px minmax(0, 0.8fr) minmax(0, 1.2fr) 40px; gap: 24px; align-items: baseline;
  padding: 28px 10px; border-bottom: 1px solid var(--line); position: relative;
  transition: background 0.2s ease;
}
.ledger .row:hover { background: linear-gradient(90deg, var(--accent-soft), transparent 70%); }
.ledger .row .i { font-family: var(--mono); font-size: 12px; letter-spacing: 0.1em; color: var(--accent); }
.ledger .row h3 { font-size: clamp(22px, 2.4vw, 30px); }
.ledger .row p { margin: 0; color: var(--muted); font-size: 16px; }
.ledger .row .arr { width: 22px; height: 22px; color: var(--faint); justify-self: end; transition: transform 0.2s ease, color 0.2s ease; }
.ledger .row:hover .arr { color: var(--accent); transform: translate(3px, -3px); }

/* Clients: spectrum bar and principles */
.spectrum { margin: 10px 0 46px; }
.spectrum .bar { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; height: 10px; }
.spectrum .bar span { border-radius: 3px; background: linear-gradient(90deg, rgba(167, 139, 250, 0.35), rgba(124, 58, 237, 0.75)); }
.spectrum .bar span:nth-child(2) { opacity: 0.85; }
.spectrum .bar span:nth-child(3) { opacity: 0.7; }
.spectrum .bar span:nth-child(4) { opacity: 0.6; }
.spectrum .bar span:nth-child(5) { opacity: 0.5; }
.spectrum .labels { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-top: 12px; }
.spectrum .labels div { font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.spectrum .labels div::before { content: ""; display: block; width: 1px; height: 10px; background: var(--line-2); margin-bottom: 8px; }
.cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.cols h3 { font-size: 24px; margin-bottom: 10px; }
.cols p { margin: 0; color: var(--muted); font-size: 16px; }
.cols .k { display: block; font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; }

/* Process timeline */
.timeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; position: relative; padding-top: 34px; }
.timeline::before { content: ""; position: absolute; left: 0; right: 0; top: 8px; height: 1px; background: linear-gradient(90deg, var(--accent), var(--line-2) 70%, transparent); }
.tstep { position: relative; }
.tstep::before { content: ""; position: absolute; left: 0; top: -31px; width: 11px; height: 11px; border-radius: 50%; background: var(--bg); border: 2px solid var(--accent); box-shadow: 0 0 0 5px rgba(167, 139, 250, 0.14); }
.tstep .k { font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.tstep h3 { font-size: 24px; margin-bottom: 8px; }
.tstep p { margin: 0; color: var(--muted); font-size: 15.5px; }
.terms-note { margin-top: 56px; padding: 24px 28px; border-left: 2px solid var(--accent); background: linear-gradient(90deg, var(--accent-soft), transparent 60%); max-width: 760px; }
.terms-note p { margin: 0; color: var(--ink-2); }

/* Company */
.company { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 90px); align-items: start; }
.company .quote { font-family: var(--serif); font-weight: 500; font-size: clamp(23px, 2.4vw, 32px); line-height: 1.25; letter-spacing: -0.025em; color: var(--ink); margin: 0 0 26px; }
.facts { border-top: 1px solid var(--line-2); }
.facts .f { display: grid; grid-template-columns: 170px 1fr; gap: 16px; padding: 15px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.facts .f b { font-family: var(--mono); font-weight: 400; font-size: 11.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--faint); padding-top: 3px; }
.facts .f span { color: var(--ink); }

/* Contact */
.contact h2 { font-size: clamp(40px, 6vw, 76px); margin-bottom: 18px; }
.contact .lead { margin-bottom: 44px; }
.tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; max-width: 900px; }
.tile-c {
  display: grid; grid-template-columns: 54px 1fr auto; gap: 18px; align-items: center;
  padding: 24px 26px; border: 1px solid var(--line-2); border-radius: 10px; color: var(--ink);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.tile-c:hover { color: var(--ink); border-color: rgba(167, 139, 250, 0.7); transform: translateY(-2px); box-shadow: 0 30px 60px -40px rgba(124, 58, 237, 0.9); }
.tile-c .ic { width: 54px; height: 54px; border-radius: 12px; display: grid; place-items: center; background: linear-gradient(145deg, var(--accent), var(--accent-2)); color: #fff; box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25); }
.tile-c .ic svg { width: 24px; height: 24px; }
.tile-c .k { display: block; font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.tile-c .v { display: block; font-size: 19px; font-weight: 500; letter-spacing: -0.01em; overflow-wrap: anywhere; }
.tile-c .arr { width: 22px; height: 22px; color: var(--faint); transition: transform 0.2s ease, color 0.2s ease; }
.tile-c:hover .arr { color: var(--accent); transform: translate(3px, -3px); }
.contact .hint { margin-top: 22px; font-size: 14.5px; color: var(--faint); }

/* Footer */
footer { border-top: 1px solid var(--line); padding: 34px 0 44px; }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px 30px; align-items: flex-start; }
footer .legal { font-size: 13.5px; color: var(--faint); max-width: 640px; margin: 0; line-height: 1.6; }
footer .links { display: flex; gap: 22px; font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; }
footer .links a { color: var(--muted); }
footer .links a:hover { color: var(--ink); }

/* Legal pages */
.doc { padding: clamp(50px, 7vw, 90px) 0 100px; }
.doc .wrap { width: min(760px, calc(100% - 2 * var(--gutter))); }
.doc h1 { font-size: clamp(38px, 5vw, 58px); margin-bottom: 10px; }
.doc .meta { font-family: var(--mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--faint); margin-bottom: 44px; }
.doc h2 { font-size: 26px; margin: 46px 0 12px; }
.doc h3 { font-size: 19px; font-family: var(--sans); font-weight: 600; margin: 26px 0 8px; }
.doc p, .doc li { font-size: 16px; color: var(--ink-2); }
.doc ul { padding-left: 20px; }
.doc li { margin-bottom: 8px; }
.doc address { font-style: normal; }
.doc .box { padding: 18px 22px; border: 1px solid var(--line-2); border-radius: 6px; background: rgba(255, 255, 255, 0.03); margin: 18px 0; font-size: 15.5px; }
.doc .btn { margin-top: 10px; }

/* ---------- Motion ---------- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in { opacity: 1; transform: none; }

@keyframes rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
@keyframes grow { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes stampIn { from { opacity: 0; transform: rotate(-9deg) scale(1.25); } to { opacity: 1; transform: rotate(-2deg) scale(1); } }
.hero .kicker { animation: rise 0.7s ease both 0.05s; }
.hero h1 { animation: rise 0.8s ease both 0.15s; }
.hero .lead { animation: rise 0.8s ease both 0.3s; }
.hero .cta { animation: rise 0.8s ease both 0.42s; }
.dossier { animation: rise 0.9s ease both 0.35s; transform-style: preserve-3d; will-change: transform; }
.dossier dt, .dossier dd { animation: rise 0.6s ease both; }
.dossier dt:nth-of-type(1), .dossier dd:nth-of-type(1) { animation-delay: 0.6s; }
.dossier dt:nth-of-type(2), .dossier dd:nth-of-type(2) { animation-delay: 0.68s; }
.dossier dt:nth-of-type(3), .dossier dd:nth-of-type(3) { animation-delay: 0.76s; }
.dossier dt:nth-of-type(4), .dossier dd:nth-of-type(4) { animation-delay: 0.84s; }
.dossier dt:nth-of-type(5), .dossier dd:nth-of-type(5) { animation-delay: 0.92s; }
.dossier dt:nth-of-type(6), .dossier dd:nth-of-type(6) { animation-delay: 1s; }
.dossier .stamp { animation: stampIn 0.5s cubic-bezier(0.2, 0.9, 0.3, 1.3) both 1.15s; }
.dossier.tilt { transition: transform 0.25s ease; transform: perspective(1000px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); }
/* Safety net: if the entrance animation never runs (throttled tab, odd
   in-app browsers), the script marks the hero as settled and everything shows. */
.hero.settled .kicker, .hero.settled h1, .hero.settled .lead, .hero.settled .cta,
.hero.settled .dossier dt, .hero.settled .dossier dd, .hero.settled .dossier .stamp { animation: none; opacity: 1; transform: none; }
.hero.settled .dossier .stamp { transform: rotate(-2deg); }
.hero.settled .dossier { animation: none; opacity: 1; }

/* Light that follows the pointer, and a thin reading progress line */
.glow {
  position: fixed; z-index: -1; pointer-events: none; width: 640px; height: 640px; border-radius: 50%;
  left: var(--mx, 50vw); top: var(--my, 30vh); transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(167, 139, 250, 0.16), rgba(124, 58, 237, 0.06) 40%, transparent 65%);
  transition: left 0.35s ease, top 0.35s ease, opacity 0.6s ease; opacity: 0;
}
.glow.on { opacity: 1; }
.progress { position: fixed; top: 0; left: 0; z-index: 60; width: 100%; height: 2px; transform-origin: left; transform: scaleX(var(--p, 0)); background: linear-gradient(90deg, var(--accent), var(--accent-2)); }

/* Ledger: underline sweeps in on hover */
.ledger .row::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: linear-gradient(90deg, var(--accent), transparent 80%); transform: scaleX(0); transform-origin: left; transition: transform 0.4s ease; }
.ledger .row:hover::after { transform: scaleX(1); }
.chapter:hover .num { -webkit-text-stroke-color: var(--accent); transition: -webkit-text-stroke-color 0.4s ease; }

/* Spectrum bar grows in, timeline draws itself */
.spectrum .bar span { transform: scaleX(0); transform-origin: left; }
.spectrum.in .bar span { animation: grow 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
.spectrum.in .bar span:nth-child(2) { animation-delay: 0.1s; }
.spectrum.in .bar span:nth-child(3) { animation-delay: 0.2s; }
.spectrum.in .bar span:nth-child(4) { animation-delay: 0.3s; }
.spectrum.in .bar span:nth-child(5) { animation-delay: 0.4s; }
.timeline::before { transform: scaleX(0); transform-origin: left; transition: transform 1.3s ease 0.2s; }
.timeline.in::before { transform: scaleX(1); }
.tstep::before { transform: scale(0); transition: transform 0.4s cubic-bezier(0.2, 0.9, 0.3, 1.4); }
.timeline.in .tstep::before { transform: scale(1); }
.timeline.in .tstep:nth-child(2)::before { transition-delay: 0.3s; }
.timeline.in .tstep:nth-child(3)::before { transition-delay: 0.6s; }
.timeline.in .tstep:nth-child(4)::before { transition-delay: 0.9s; }

@media (prefers-reduced-motion: reduce) {
  .reveal, .spectrum .bar span, .tstep::before, .timeline::before { opacity: 1; transform: none; transition: none; animation: none; }
  .hero .kicker, .hero h1, .hero .lead, .hero .cta, .dossier, .dossier dt, .dossier dd, .dossier .stamp, .dossier .ap li, .dossier .btns { animation: none; }
  .dossier.tilt { transform: none; transition: none; }
  .glow { display: none; }
  html { scroll-behavior: auto; }
}
@media (pointer: coarse) { .glow { display: none; } }

/* Responsive */
@media (max-width: 1000px) {
  .hero .wrap { grid-template-columns: 1fr; align-items: start; }
  .dossier { max-width: 520px; }
  .ledger .row { grid-template-columns: 56px 1fr 32px; }
  .ledger .row p { grid-column: 2 / 3; }
  .timeline { grid-template-columns: repeat(2, 1fr); row-gap: 44px; }
  .timeline::before { display: none; }
  .tstep::before { position: static; display: block; margin-bottom: 16px; }
  .timeline { padding-top: 0; }
  .cols { grid-template-columns: 1fr; gap: 30px; }
  .company { grid-template-columns: 1fr; }
  .chapter-head { grid-template-columns: 84px 1fr; }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  .top .wrap { height: 68px; }
  .mark .name span { display: none; }
  .index { display: none; position: absolute; left: var(--gutter); right: var(--gutter); top: 78px; flex-direction: column; gap: 0; padding: 8px; border: 1px solid var(--line-2); border-radius: 10px; background: rgba(14, 12, 22, 0.98); }
  .index.open { display: flex; }
  .index a { padding: 13px 12px; border-radius: 6px; font-size: 13px; }
  .index a:hover { background: rgba(255, 255, 255, 0.05); }
  .burger { display: block; }
  .hero { padding-top: 56px; }
  .hero .cta { gap: 16px; }
  .chapter-head { grid-template-columns: 1fr; gap: 10px; }
  .num { font-size: 44px; }
  .ledger .row { grid-template-columns: 1fr 28px; padding: 22px 4px; }
  .ledger .row .i { grid-column: 1; }
  .ledger .row h3 { grid-column: 1; }
  .ledger .row p { grid-column: 1; }
  .ledger .row .arr { grid-column: 2; grid-row: 2; }
  .spectrum .labels div { font-size: 10px; letter-spacing: 0.06em; }
  .timeline { grid-template-columns: 1fr; }
  .facts .f { grid-template-columns: 1fr; gap: 4px; }
  .tiles { grid-template-columns: 1fr; }
  .tile-c { grid-template-columns: 48px 1fr; gap: 14px; padding: 20px 18px; }
  .tile-c .ic { width: 48px; height: 48px; }
  .tile-c .arr { display: none; }
  .tile-c .v { font-size: 15.5px; }
  footer .wrap { flex-direction: column; }
}
