/* Epilogue (SIL Open Font License), served from this site, not from Google */
@font-face { font-family: Epilogue; font-style: normal; font-weight: 400 900; font-display: swap; src: url(fonts/epilogue-latin-ext.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: Epilogue; font-style: normal; font-weight: 400 900; font-display: swap; src: url(fonts/epilogue-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  /* brand: navy and blue */
  --navy: #0e2c5b;
  --deep: #071a38;
  --blue: #1a56db;
  --sky: #a9c4ff;
  --paper: #f3f5f9;
  --surface: #e3e9f3;
  --ink: #0a1830;
  --muted: #3f4d66;
  --white: #ffffff;
  --pale: #d4e1ff;
  --ok: #146c34;
  --warn: #8a5300;
  --bad: #b3261e;

  --accent: var(--blue);
  --accent-ink: var(--white);

  --step-small: 0.9375rem;
  --step-body: 1.125rem;
  --step-mid: clamp(1.25rem, 0.85rem + 1.4vw, 1.875rem);
  --step-head: clamp(2.5rem, 1.2rem + 5vw, 5.5rem);
  --step-display: clamp(6.5rem, 15vw, 14.5rem);

  --m: clamp(16px, 2.8vw, 40px);
  --gap-section: clamp(96px, 12vw, 200px);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --radius: 0;
}

*, *::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: Epilogue, system-ui, sans-serif;
  font-size: var(--step-body);
  line-height: 1.5;
  font-weight: 400;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
img, video, svg { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, ul, ol, dl, dd, blockquote, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration-thickness: 2px; text-underline-offset: 0.18em; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
.on-dark :focus-visible { outline-color: var(--sky); }
::selection { background: var(--sky); color: var(--ink); }
.num { font-variant-numeric: tabular-nums; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

h2 { font-weight: 900; letter-spacing: -0.04em; line-height: 0.95; font-size: var(--step-head); text-wrap: balance; }
h3 { font-weight: 500; font-size: var(--step-mid); line-height: 1.2; letter-spacing: -0.01em; }

.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6em;
  min-height: 3.25rem; padding: 0 1.5rem;
  background: var(--accent); color: var(--accent-ink);
  font: 500 var(--step-body)/1 Epilogue, sans-serif;
  text-decoration: none; border: 0; border-radius: var(--radius); cursor: pointer;
  transition: transform 160ms var(--ease-out), background-color 200ms ease, color 200ms ease;
}
.button:hover { background: var(--white); color: var(--ink); }
.button:active { transform: scale(0.97); }
.button--ink { background: var(--ink); color: var(--white); }
.button--ink:hover { background: var(--blue); color: var(--white); }
.on-light .button:hover { background: var(--ink); color: var(--white); }
.button .arrow { transition: transform 220ms var(--ease-out); }
.button:hover .arrow { transform: translateX(4px); }

/* ---------- hero: stacked name, two inks ---------- */
.hero {
  position: relative; min-height: 100svh; background: var(--navy); color: var(--white);
  display: grid; grid-template-rows: auto 1fr auto; padding: 24px var(--m) 40px;
}
.top { display: flex; justify-content: space-between; align-items: baseline; font-size: var(--step-small); }
.top .mark { font-weight: 900; letter-spacing: -0.02em; text-decoration: none; font-size: var(--step-body); }
.top nav ul { display: flex; gap: clamp(14px, 2vw, 32px); }
.top nav a { text-decoration: none; padding: 10px 0; position: relative; }
.top nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 4px; height: 2px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform 260ms var(--ease-out); }
.top nav a:hover::after { transform: scaleX(1); }
.hero h1 {
  align-self: start; margin-top: 10vh;
  font-size: var(--step-display); font-weight: 900; letter-spacing: -0.05em; line-height: 0.84;
}
.hero h1 .line { display: block; overflow: hidden; padding: 0.2em 0 0.14em; margin: -0.2em 0 -0.14em; }
.hero h1 [data-line] { display: block; }
.hero h1 .ink-2 { color: var(--sky); }
.hero .foot { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 16px; align-items: end; }
.hero .foot .facts { grid-column: 1 / 6; font-size: var(--step-small); color: var(--pale); display: flex; flex-wrap: wrap; gap: 6px 28px; }
.hero .foot .facts strong { color: var(--white); font-weight: 500; }
.hero .foot .say { grid-column: 8 / 13; justify-self: end; text-align: right; max-width: 36ch; }
.hero .say p { font-size: var(--step-body); line-height: 1.45; margin-bottom: 24px; }
.hero .say .alt { display: block; margin-top: 14px; font-size: var(--step-small); color: var(--pale); }

/* ---------- intro: staircase statement ---------- */
.intro {
  position: relative; min-height: 100svh; background: var(--blue); color: var(--white);
  display: grid; grid-template-columns: 1fr 30vw; column-gap: 4vw; align-items: center;
  padding: 12vh var(--m) 14vh 4vw;
}
.stairs { font-size: clamp(1.25rem, 0.6rem + 2.2vw, 2.25rem); font-weight: 900; line-height: 1.15; letter-spacing: -0.02em; }
.stairs span { display: block; }
.stairs span:nth-child(2) { padding-left: 5vw; color: var(--pale); }
.stairs span:nth-child(3) { padding-left: 10vw; }

.intro .pics { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.intro .pics img:first-child { grid-column: 1 / 3; }
.intro .pics img:not(:first-child) { aspect-ratio: 4 / 5; }
.intro .pics img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; object-position: 50% 22%; }
.intro .note { position: absolute; left: 4vw; bottom: 40px; font-size: var(--step-small); color: var(--pale); max-width: 46ch; }

/* ---------- register (the live thing) ---------- */
.register { padding: var(--gap-section) var(--m) 0; }
.register .head { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 16px; align-items: end; margin-bottom: 72px; }
.register h2 { grid-column: 1 / 9; }
.register .head p { grid-column: 1 / 7; margin-top: 32px; max-width: 52ch; }
.register .head .clip { grid-column: 10 / 13; grid-row: 1 / 3; align-self: start; }
.register .clip video, .register .clip img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.register .clip figcaption { font-size: var(--step-small); color: var(--muted); margin-top: 10px; }
.reg { width: 100%; border-collapse: collapse; font-size: var(--step-mid); line-height: 1.25; }
.reg th, .reg td { text-align: left; font-weight: 400; padding: 0.22em 0; vertical-align: top; }
.reg thead th { font-size: var(--step-small); color: var(--muted); padding-bottom: 20px; }
.reg .c-doc { width: 46%; }
.reg .c-art { width: 19%; }
.reg .c-when { width: 27%; }
.reg .c-have { width: 8%; text-align: right; }
.reg tbody th[colspan] {
  color: var(--blue); font-weight: 500; padding: 64px 0 14px;
  position: sticky; top: 0; background: var(--paper); z-index: 1;
}
.reg td.c-art, .reg td.c-when { color: var(--muted); }
.reg label { display: inline-flex; align-items: center; justify-content: flex-end; gap: 10px; cursor: pointer; font-size: var(--step-small); color: var(--muted); min-height: 44px; }
.reg input[type=checkbox] {
  appearance: none; -webkit-appearance: none; margin: 0; width: 30px; height: 30px; flex: none;
  background: #c5d3ea; border-radius: 50%; cursor: pointer; display: grid; place-items: center;
  transition: background-color 200ms ease, transform 160ms var(--ease-out);
}
.reg input[type=checkbox]::after { content: ""; width: 12px; height: 7px; border: solid var(--white); border-width: 0 0 3px 3px; transform: translateY(-2px) rotate(-45deg) scale(0.6); opacity: 0; transition: opacity 160ms ease,: transform 220ms var(--ease-out); }
.reg input[type=checkbox]:checked { background: var(--blue); }
.reg input[type=checkbox]:checked::after { transform: translateY(-2px) rotate(-45deg) scale(1); opacity: 1; }
.reg input[type=checkbox]:hover { transform: scale(1.1); }
.reg tr.have td.c-doc, .reg tr.have th.c-doc { color: var(--muted); text-decoration: line-through; text-decoration-thickness: 2px; }
.tally {
  position: sticky; bottom: 0; z-index: 2; margin: 56px calc(var(--m) * -1) 0;
  background: var(--ink); color: var(--white);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px;
  padding: 18px var(--m);
}
.tally p { font-size: var(--step-mid); font-weight: 500; letter-spacing: -0.01em; }
.tally p .num { color: var(--sky); }
.tally .hint { font-size: var(--step-small); color: var(--pale); font-weight: 400; display: block; letter-spacing: 0; }

/* ---------- work: client names + three cases ---------- */
.work { background: var(--surface); padding: var(--gap-section) var(--m); margin-top: 0; }
.names { font-size: var(--step-mid); font-weight: 500; line-height: 1.22; letter-spacing: -0.02em; color: var(--muted); max-width: 64ch; }
.names strong { color: var(--ink); font-weight: 900; }
.names span { color: var(--ink); transition: color 200ms ease; }
.work .count { font-size: var(--step-small); color: var(--muted); margin-top: 24px; }
.cases { margin-top: clamp(96px, 10vw, 160px); }
.cases > h2 { margin-bottom: 64px; }
.case { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 16px; padding: 40px 0; }
.case + .case { margin-top: 8px; }
.case .sector { grid-column: 1 / 3; font-size: var(--step-small); color: var(--muted); padding-top: 0.5em; }
.case h3 { grid-column: 1 / 8; }
.case .problem { grid-column: 1 / 8; margin-top: 14px; }
.case .done { grid-column: 9 / 13; grid-row: 1 / 3; padding-top: 0.3em; }
.case .done strong { display: block; font-weight: 500; margin-bottom: 6px; }
.case:nth-child(odd of .case) { background: transparent; }
.case { transition: background-color 300ms ease; margin-inline: calc(var(--m) * -1); padding-inline: var(--m); }
.case:hover { background: var(--paper); }

/* ---------- how: itinerary on a slip ---------- */
.how { background: var(--navy); color: var(--white); padding: var(--gap-section) var(--m) calc(var(--gap-section) * 0.8); display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 16px; }
.how .copy { grid-column: 1 / 6; }
.how .copy p { margin-top: 32px; max-width: 34ch; }
.how .copy .clock { margin-top: 48px; font-size: var(--step-mid); line-height: 1.25; font-weight: 500; max-width: 26ch; }
.how .copy .clock time { color: var(--sky); }
.how .copy .clock + p { color: var(--pale); font-size: var(--step-small); margin-top: 14px; }
.slip {
  grid-column: 7 / 12; justify-self: start; width: min(100%, 480px);
  background: var(--paper); color: var(--ink); font-size: var(--step-small); line-height: 1.45;
  padding: 36px 32px 64px;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 14px), 96% 100%, 92% calc(100% - 14px), 88% 100%, 84% calc(100% - 14px), 80% 100%, 76% calc(100% - 14px), 72% 100%, 68% calc(100% - 14px), 64% 100%, 60% calc(100% - 14px), 56% 100%, 52% calc(100% - 14px), 48% 100%, 44% calc(100% - 14px), 40% 100%, 36% calc(100% - 14px), 32% 100%, 28% calc(100% - 14px), 24% 100%, 20% calc(100% - 14px), 16% 100%, 12% calc(100% - 14px), 8% 100%, 4% calc(100% - 14px), 0 100%);
}
.slip .title { font-weight: 900; font-size: var(--step-mid); letter-spacing: -0.02em; line-height: 1.1; }
.slip .sub { color: var(--muted); font-size: var(--step-small); margin-top: 6px; }
.slip h3 { font-size: var(--step-small); font-weight: 500; margin-top: 28px; margin-bottom: 6px; line-height: 1.3; }
.slip li { display: flex; align-items: baseline; gap: 8px; padding: 3px 0; }
.slip li .what { flex: 0 1 auto; }
.slip li .dots { flex: 1 1 24px; overflow: hidden; white-space: nowrap; color: var(--muted); letter-spacing: 0.2em; min-width: 24px; }
.slip li .dots::before { content: "··························································································"; }
.slip li .val { flex: none; white-space: nowrap; font-variant-numeric: tabular-nums; }
.slip .total span:last-child { white-space: nowrap; }
.slip .total { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin: 32px -32px 0; padding: 0 32px; min-height: 52px; background: var(--ink); color: var(--paper); font-weight: 500; }

/* ---------- pricing: one plan as a sentence ---------- */
.pricing { background: var(--sky); color: var(--ink); min-height: 86svh; padding: var(--gap-section) var(--m) 80px; display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 16px; align-content: center; }
.pricing h2 { grid-column: 1 / 13; font-size: clamp(2.75rem, 1rem + 6.6vw, 7.5rem); line-height: 0.98; }
.pricing h2 .price { display: inline-block; background: var(--blue); color: var(--white); padding: 0 0.22em 0 0.15em; }
.pricing .incl { grid-column: 1 / 8; margin-top: 64px; max-width: 54ch; }
.pricing .incl p + p { margin-top: 16px; color: var(--ink); }
.pricing .act { grid-column: 9 / 13; justify-self: end; align-self: end; text-align: right; }
.pricing .act a.text { display: block; margin-top: 16px; font-size: var(--step-small); }
.pricing .vs { grid-column: 1 / 9; margin-top: 56px; max-width: 60ch; font-size: var(--step-body); }


/* ---------- about: side facts, wide paragraph + team ---------- */
.about { padding: var(--gap-section) var(--m) 0; }
.about .row { display: grid; grid-template-columns: calc(34vw - var(--m)) 1fr; column-gap: 0; }
.about .facts { display: grid; gap: 12px; align-content: start; font-size: var(--step-small); max-width: 26ch; padding-right: 24px; }
.about .lede { font-size: var(--step-mid); line-height: 1.35; max-width: 40ch; font-weight: 400; }
.about .lede strong { font-weight: 500; }
.about .row + .row { margin-top: 120px; }
.about .word { font-size: var(--step-small); font-weight: 500; }
.about .lists { display: grid; grid-template-columns: repeat(2, minmax(0, 360px)); column-gap: 64px; }
.about .lists li { display: flex; justify-content: space-between; gap: 16px; font-size: var(--step-small); padding: 5px 0; }
.about .lists li span:last-child { color: var(--muted); text-align: right; }
.about .lists h3 { font-size: var(--step-small); font-weight: 500; margin-bottom: 10px; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 120px; }
.stats div { border-top: 0; }
.stats dt { font-size: var(--step-head); font-weight: 900; letter-spacing: -0.04em; line-height: 1; color: var(--blue); }
.stats dd { margin-top: 12px; font-size: var(--step-small); max-width: 22ch; }
.team { margin-top: var(--gap-section); }
.team h2 { margin-bottom: 48px; }
.team ul { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.team figure { overflow: hidden; }
.team img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 18%; transition: transform 900ms var(--ease-out); }
.team li:hover img { transform: scale(1.04); }
.team figcaption { margin-top: 14px; font-size: var(--step-small); }
.team figcaption strong { display: block; font-size: var(--step-body); font-weight: 500; }
.certs { margin-top: 120px; display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 16px; align-items: start; }
.certs h3 { grid-column: 1 / 4; }
.certs p { grid-column: 1 / 4; margin-top: 16px; font-size: var(--step-small); color: var(--muted); }
.certs ul { grid-column: 5 / 13; grid-row: 1 / 3; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.certs img { width: 100%; aspect-ratio: 5 / 7; object-fit: cover; object-position: top; background: var(--white); }

/* ---------- testimonial: paper slips ---------- */
.letters { position: relative; background: var(--blue); color: var(--white); margin-top: var(--gap-section); padding: var(--gap-section) var(--m) 0; overflow: hidden; }
.letters h2 { max-width: 12ch; }
.letters > p { margin-top: 24px; max-width: 44ch; color: var(--pale); }
.slips { position: relative; display: flex; justify-content: center; align-items: flex-start; margin-top: 72px; padding-left: 4vw; }
.paper {
  width: 340px; flex: none; background: var(--paper); color: var(--ink); padding: 44px 48px 56px 26px; font-size: var(--step-body); line-height: 1.5;
  --zig: polygon(0 10px, 5% 0, 10% 10px, 15% 0, 20% 10px, 25% 0, 30% 10px, 35% 0, 40% 10px, 45% 0, 50% 10px, 55% 0, 60% 10px, 65% 0, 70% 10px, 75% 0, 80% 10px, 85% 0, 90% 10px, 95% 0, 100% 10px, 100% calc(100% - 10px), 95% 100%, 90% calc(100% - 10px), 85% 100%, 80% calc(100% - 10px), 75% 100%, 70% calc(100% - 10px), 65% 100%, 60% calc(100% - 10px), 55% 100%, 50% calc(100% - 10px), 45% 100%, 40% calc(100% - 10px), 35% 100%, 30% calc(100% - 10px), 25% 100%, 20% calc(100% - 10px), 15% 100%, 10% calc(100% - 10px), 5% 100%, 0 calc(100% - 10px));
  clip-path: var(--zig);
  transition: transform 400ms var(--ease-out);
}
.paper:nth-child(1) { min-height: 440px; transform: rotate(-4deg); margin-top: 24px; }
.paper:nth-child(2) { min-height: 520px; transform: rotate(2deg); margin-left: -40px; }
.paper:nth-child(3) { min-height: 600px; transform: rotate(5deg); margin-left: -40px; margin-top: 40px; margin-bottom: -120px; }
.paper:hover { transform: rotate(0deg) translateY(-12px); z-index: 2; }
.paper .who { margin-bottom: 24px; text-align: center; font-weight: 900; font-size: var(--step-body); letter-spacing: -0.01em; }
.paper .role { text-align: center; color: var(--muted); font-size: var(--step-small); margin-top: 2px; }
.paper .mono { width: 120px; height: 120px; margin: 24px auto 24px; background: var(--navy); color: var(--white); display: grid; place-items: center; font-weight: 900; font-size: 2.75rem; letter-spacing: -0.04em; }
.paper blockquote p { font-size: var(--step-body); }

/* ---------- city band ---------- */
.city { position: relative; margin: 0; overflow: clip; }
.city img { width: 100%; height: min(78svh, 760px); object-fit: cover; object-position: 50% 60%; }
.city figcaption { padding: 14px var(--m) 0; font-size: var(--step-small); color: var(--muted); }

/* ---------- faq ---------- */
.faq { padding: var(--gap-section) var(--m); }

.faq .qs { margin-top: 80px; margin-left: calc((100% + 16px) * 4 / 12); }
.faq details { margin: 0 calc(min(24px, var(--m)) * -1); padding: 18px min(24px, var(--m)); transition: background-color 220ms ease; }
.faq details + details { margin-top: 18px; }
.faq details[open] { background: var(--surface); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 24px; align-items: center; font-size: var(--step-mid); line-height: 1.25; letter-spacing: -0.01em; min-height: 44px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 12px; height: 12px; border: solid currentColor; border-width: 0 2px 2px 0; transform: translateY(-4px) rotate(45deg); transition: transform 260ms var(--ease-out); }
.faq details[open] summary::after { transform: translateY(2px) rotate(-135deg); }
.faq summary:hover { color: var(--blue); }
.faq details p { margin-top: 16px; max-width: 52ch; }

/* ---------- contact: the email as display type ---------- */
.contact { position: relative; min-height: 100svh; background: var(--deep); color: var(--white); padding: 32px var(--m) 40px; display: grid; grid-template-rows: auto 1fr auto auto; }
.contact .ask { font-size: var(--step-mid); line-height: 1.3; max-width: 26ch; font-weight: 500; }
.contact .ask + p { margin-top: 16px; color: var(--pale); max-width: 40ch; }
.contact .mail { align-self: end; display: block; margin-bottom: 12vh; text-decoration: none; color: var(--white); transition: color 260ms ease; }
.contact .mail:hover { color: var(--sky); }
.contact .mail svg { width: 100%; height: auto; overflow: visible; }
.contact .mail text { fill: currentColor; font-family: Epilogue, sans-serif; font-weight: 500; letter-spacing: -0.04em; }
.contact .corners { display: flex; justify-content: space-between; gap: 24px; font-size: var(--step-small); flex-wrap: wrap; }
.contact .corners a { text-decoration: none; }
.contact .corners a:hover { text-decoration: underline; }
.contact .corners p { color: var(--pale); }
.contact .corners p strong { color: var(--white); font-weight: 500; }

/* ---------- footer ---------- */
footer { background: var(--navy); color: var(--white); min-height: 100svh; display: grid; grid-template-rows: auto 1fr auto auto; padding: 40px var(--m) 24px; }
footer .cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px 16px; font-size: var(--step-small); }
footer .cols li { color: var(--pale); padding: 2px 0; }
footer .cols li:first-child { color: var(--white); font-weight: 500; margin-bottom: 4px; }
footer .cols a { text-decoration: none; }
footer .cols a:hover { text-decoration: underline; color: var(--white); }
footer .wordmark { margin-bottom: 20px; }
footer .wordmark svg { width: 100%; height: auto; }
footer .wordmark text { fill: var(--white); font-family: Epilogue, sans-serif; font-weight: 900; letter-spacing: -0.05em; }
footer .legal { font-size: var(--step-small); color: var(--pale); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; }
footer .credits { font-size: var(--step-small); color: var(--pale); margin-bottom: 24px; max-width: 64ch; }
footer .credits a { color: var(--white); }

/* ---------- motion ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .hero h1 [data-line] { transform: translateY(105%); animation: line-up 900ms var(--ease-out) forwards; animation-delay: calc(var(--i, 0) * 110ms + 150ms); }
  .js [data-rise] { opacity: 0; transform: translateY(18px); animation: rise 700ms var(--ease-out) forwards; animation-delay: calc(var(--i, 0) * 90ms + 700ms); }
  .js [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity 700ms var(--ease-out), transform 900ms var(--ease-out); transition-delay: calc(var(--i, 0) * 80ms); }
  .js [data-reveal].is-in { opacity: 1; transform: none; }
  .js .paper[data-reveal]:nth-child(1) { transform: rotate(-4deg) translateY(60px); }
  .js .paper[data-reveal]:nth-child(2) { transform: rotate(2deg) translateY(60px); }
  .js .paper[data-reveal]:nth-child(3) { transform: rotate(5deg) translateY(60px); }
  .js .paper[data-reveal].is-in:nth-child(1) { transform: rotate(-4deg); }
  .js .paper[data-reveal].is-in:nth-child(2) { transform: rotate(2deg); }
  .js .paper[data-reveal].is-in:nth-child(3) { transform: rotate(5deg); }
  .js .paper[data-reveal].is-in:hover { transform: rotate(0deg) translateY(-12px); }
  .city img { transform: scale(1.08); transition: transform 2400ms var(--ease-out); }
  .city.is-in img { transform: scale(1); }
  .tally p .num.bump { animation: bump 380ms var(--ease-out); display: inline-block; }
}
@keyframes line-up { to { transform: none; } }
@keyframes rise { to { opacity: 1; transform: none; } }
@keyframes bump { 40% { transform: scale(1.25); } }
@media (prefers-reduced-motion: reduce) {
  .register video { display: none; }
  .register .clip .poster-rm { display: block !important; }
}

/* ---------- tablet ---------- */
@media (max-width: 1024px) {
  .hero .foot .facts { grid-column: 1 / 13; order: 2; margin-top: 32px; }
  .hero .foot .say { grid-column: 1 / 13; justify-self: start; text-align: left; }
  .intro { grid-template-columns: 1fr; }
  .intro .pics { grid-template-columns: 1fr 1fr; margin-top: 48px; }
  .intro .note { position: static; margin-top: 32px; }
  .register h2 { grid-column: 1 / 13; }
  .register .head p { grid-column: 1 / 9; }
  .register .head .clip { grid-column: 9 / 13; grid-row: 2; margin-top: 32px; }

  .how .copy { grid-column: 1 / 13; }
  .slip { grid-column: 1 / 13; margin-top: 56px; }
  .pricing .incl { grid-column: 1 / 13; }
  .pricing .act { grid-column: 1 / 13; justify-self: start; text-align: left; margin-top: 32px; }
  .pricing .vs { grid-column: 1 / 13; }
  .about .row { grid-template-columns: 1fr; row-gap: 40px; }
  .about .row .lede { order: -1; }
  .stats { grid-template-columns: repeat(2, 1fr); row-gap: 48px; }
  .team ul { grid-template-columns: repeat(3, 1fr); }
  .certs h3, .certs p { grid-column: 1 / 13; }
  .certs ul { grid-column: 1 / 13; grid-row: auto; margin-top: 32px; }
  .faq .qs { margin-left: 0; }
}

/* ---------- phone ---------- */
@media (max-width: 640px) {
  :root { --m: 16px; }
  .top nav li:not(:last-child) { display: none; }
  .hero { padding-bottom: 24px; }
  .hero h1 { font-size: 21vw; margin-top: 14vh; }
  
  .hero .say .button { width: 100%; }
  .intro { padding: 96px 16px 64px; min-height: auto; }
  .stairs span:nth-child(2) { padding-left: 4vw; } .stairs span:nth-child(3) { padding-left: 8vw; }
  .register .head .clip { grid-column: 1 / 13; }
  .register .head p { grid-column: 1 / 13; }
  .reg thead { display: none; }
  .reg, .reg tbody, .reg tr, .reg td, .reg th { display: block; width: auto !important; }
  .reg tbody tr:not(.group) { display: grid; grid-template-columns: 1fr auto; column-gap: 12px; padding: 9px 0; }
  .reg tbody tr:not(.group) .c-doc { grid-column: 1; font-size: var(--step-body); font-weight: 500; line-height: 1.25; }
  .reg tbody tr:not(.group) .c-art, .reg tbody tr:not(.group) .c-when { grid-column: 1; font-size: var(--step-small); display: inline; padding: 0; }
  .reg tbody tr:not(.group) .c-when { margin-top: 2px; }
  .reg tbody tr:not(.group) .c-have { grid-column: 2; grid-row: 1 / 4; align-self: center; }
  .reg label .t { display: none; }
  .reg tbody th[colspan] { padding-top: 40px; font-size: var(--step-body); }
  .tally p { font-size: var(--step-body); }
  .tally { flex-wrap: nowrap; padding: 12px 16px; gap: 12px; }
  .tally .hint { display: none; }
  .tally .button { min-height: 2.75rem; padding: 0 1rem; font-size: var(--step-small); }
  .names { font-size: 1.375rem; }
  .case { display: block; }
  .case .done { margin-top: 20px; }
  .pricing h2 { font-size: 9vw; }
  .pricing .act, .pricing .act .button { width: 100%; }
  .about .lists { grid-template-columns: 1fr; row-gap: 40px; }
  
  .team ul { grid-template-columns: repeat(2, 1fr); }
  .certs ul { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .slips { flex-direction: column; align-items: stretch; padding-left: 0; }
  .paper { width: 78%; min-height: 0 !important; margin: 0 !important; }
  .paper:nth-child(2) { align-self: flex-end; margin-top: -32px !important; }
  .paper:nth-child(3) { margin-top: -32px !important; margin-bottom: -60px !important; }
  .letters h2 { font-size: 10vw; }
  .city img { height: 56svh; }
  .faq h2 { font-size: 10vw; }
  .faq details { margin: 0 -16px; padding: 14px 16px; }
  .faq summary { font-size: var(--step-body); font-weight: 500; }
  
  .contact { min-height: 86svh; }
  .contact .ask { font-size: var(--step-body); }
  .contact .corners { flex-direction: column; gap: 12px; }
  footer .cols { grid-template-columns: 1fr 1fr; gap: 32px 16px; }
  footer .legal { font-size: var(--step-small); }
}

/* =========================================================
   service pages and the Compliance Governance System hub
   ========================================================= */
:root { --step-lead: clamp(1.25rem, 0.6rem + 2.2vw, 2.25rem); }
.stairs { font-size: var(--step-lead); }
.hero .crumbs { font-size: var(--step-small); color: var(--pale); }
.hero .crumbs a { color: var(--white); }
.top nav a[aria-current="page"]::after { transform: scaleX(1); }

/* scope table, three columns */
.scope { padding: var(--gap-section) var(--m) 0; }
.scope .head { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 16px; align-items: start; margin-bottom: 56px; }
.scope h2 { grid-column: 1 / 9; }
.scope .head p { grid-column: 1 / 7; margin-top: 32px; max-width: 52ch; }
.scope .head figure { grid-column: 9 / 13; grid-row: 1 / 3; }
.scope .head figure img, .scope .head figure video { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.scope .head figcaption { font-size: var(--step-small); color: var(--muted); margin-top: 10px; }
.reg--3 .c-doc { width: 36%; }
.reg--3 .c-art { width: 20%; }
.reg--3 .c-when { width: 44%; }
.reg--3 td.c-when { color: var(--ink); }
.note-small { font-size: var(--step-small); color: var(--muted); margin-top: 32px; max-width: 70ch; }

/* deliverables: a list set large beside a picture */
.gets { background: var(--surface); padding: var(--gap-section) var(--m); display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 16px; margin-top: var(--gap-section); }
.gets h2 { grid-column: 1 / 13; margin-bottom: 64px; }
.gets ol { grid-column: 1 / 8; list-style: none; }
.gets li { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); column-gap: 32px; align-items: baseline; font-size: var(--step-lead); font-weight: 500; line-height: 1.15; letter-spacing: -0.02em; padding: 0.4em 0; }
.gets li span { font-size: var(--step-body); font-weight: 400; letter-spacing: 0; color: var(--ink); line-height: 1.45; }
.gets figure { grid-column: 9 / 13; align-self: start; position: sticky; top: 24px; }
.gets figure img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.gets figcaption { font-size: var(--step-small); color: var(--muted); margin-top: 10px; }

/* part of the system: modules as one sentence */
.part { background: var(--sky); color: var(--ink); padding: var(--gap-section) var(--m); }
.part .mods-line { margin-top: 40px; font-size: var(--step-lead); font-weight: 500; line-height: 1.3; letter-spacing: -0.02em; max-width: 48ch; }
.part .mods-line a { color: var(--ink); transition: color 200ms ease; }
.part .mods-line a:hover { color: var(--blue); }
.part .mods-line strong { background: var(--blue); color: var(--white); padding: 0 0.2em; font-weight: 500; }
.part .row-act { margin-top: 48px; display: flex; flex-wrap: wrap; gap: 16px 32px; align-items: center; }

/* people for this service */
.people { padding: var(--gap-section) var(--m) 0; display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 16px; align-items: start; }
.people .txt { grid-column: 1 / 6; }
.people .txt p { margin-top: 24px; max-width: 40ch; }
.people ul { grid-column: 7 / 13; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.people ul.two { grid-template-columns: repeat(2, 1fr); }
.people img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 18%; transition: transform 900ms var(--ease-out); }
.people figure { overflow: hidden; }
.people li:hover img { transform: scale(1.04); }
.people figcaption { margin-top: 12px; font-size: var(--step-small); }
.people figcaption strong { display: block; font-size: var(--step-body); font-weight: 500; }

/* hub: the shared core matrix */
.core { padding: var(--gap-section) var(--m) 0; }
.core .head { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 16px; margin-bottom: 56px; }
.core h2 { grid-column: 1 / 9; }
.core .head p { grid-column: 1 / 7; margin-top: 32px; max-width: 54ch; }
.reg--core .c-doc { width: 28%; }
.reg--core td, .reg--core thead th.r { width: 24%; }
.reg--core thead th.r { font-size: var(--step-mid); color: var(--ink); font-weight: 900; letter-spacing: -0.02em; transition: color 220ms ease, opacity 220ms ease; }
.reg--core td { color: var(--ink); transition: color 220ms ease, opacity 220ms ease; }
.reg--core.has-pick td:not(.c-doc):not(.on), .reg--core.has-pick thead th.r:not(.on) { opacity: 0.4; }
.reg--core thead th.r.on { color: var(--blue); }

/* hub: six modules */
.mods { background: var(--surface); padding: var(--gap-section) var(--m); margin-top: var(--gap-section); }
.mods > h2 { margin-bottom: 72px; }
.mods .reg-row { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 16px; padding: 40px 0; }
.mods .reg-row + .reg-row { margin-top: 16px; }
.mods .reg-row h3 { grid-column: 1 / 5; font-size: var(--step-head); font-weight: 900; letter-spacing: -0.04em; line-height: 0.95; }
.mods .mod { grid-column: span 4; padding-right: 24px; }
.mods .mod a.name { font-size: var(--step-mid); font-weight: 500; letter-spacing: -0.01em; text-decoration: none; display: inline-flex; gap: 0.4em; align-items: baseline; }
.mods .mod a.name:hover { color: var(--blue); }
.mods .mod a.name .arrow { transition: transform 220ms var(--ease-out); }
.mods .mod a.name:hover .arrow { transform: translateX(6px); }
.mods .mod p { margin-top: 10px; max-width: 40ch; }
.mods .mod p.price { font-weight: 500; margin-top: 8px; }

/* hub: configurator */
.config { background: var(--sky); padding: var(--gap-section) var(--m) 0; }
.config .head { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 16px; margin-bottom: 48px; }
.config h2 { grid-column: 1 / 10; }
.config .head p { grid-column: 1 / 7; margin-top: 28px; max-width: 52ch; }
.picks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.picks fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.picks legend { font-size: var(--step-head); font-weight: 900; letter-spacing: -0.04em; line-height: 1; padding: 0; margin-bottom: 20px; }
.picks label { display: flex; align-items: center; justify-content: space-between; gap: 16px; background: var(--pale); padding: 18px 20px; margin-bottom: 8px; cursor: pointer; font-size: var(--step-mid); font-weight: 500; letter-spacing: -0.01em; line-height: 1.2; transition: background-color 200ms ease, color 200ms ease, transform 160ms var(--ease-out); min-height: 64px; }
.picks label:hover { background: var(--white); }
.picks label:active { transform: scale(0.99); }
.picks label:has(input:checked) { background: var(--ink); color: var(--white); }
.picks input { appearance: none; -webkit-appearance: none; margin: 0; width: 28px; height: 28px; flex: none; border-radius: 50%; background: var(--sky); display: grid; place-items: center; cursor: pointer; }
.picks input::after { content: ""; width: 11px; height: 6px; border: solid var(--ink); border-width: 0 0 3px 3px; transform: translateY(-2px) rotate(-45deg) scale(0.6); opacity: 0; transition: opacity 160ms ease, transform 220ms var(--ease-out); }
.picks input:checked::after { opacity: 1; transform: translateY(-2px) rotate(-45deg) scale(1); }
.verdict { margin: 56px calc(var(--m) * -1) 0; background: var(--ink); color: var(--white); padding: 40px var(--m) 48px; display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 16px; row-gap: 24px; }
.verdict .count { grid-column: 1 / 6; font-size: var(--step-lead); font-weight: 900; letter-spacing: -0.02em; line-height: 1.1; }
.verdict .count .num { color: var(--sky); }
.verdict ul { grid-column: 6 / 11; }
.verdict li { padding: 4px 0; color: var(--pale); }
.verdict li strong { color: var(--white); font-weight: 500; }
.verdict .send { grid-column: 11 / 13; justify-self: end; align-self: start; }

@media (max-width: 1024px) {
  .scope h2, .core h2, .config h2 { grid-column: 1 / 13; }
  .scope .head p, .core .head p, .config .head p { grid-column: 1 / 13; }
  .scope .head figure { grid-column: 1 / 8; grid-row: auto; margin-top: 32px; }
  .gets ol { grid-column: 1 / 13; }
  .gets figure { grid-column: 1 / 9; position: static; margin-top: 48px; }
  .people .txt { grid-column: 1 / 13; }
  .people ul { grid-column: 1 / 13; margin-top: 40px; }
  .mods .reg-row h3 { grid-column: 1 / 13; margin-bottom: 24px; }
  .mods .mod { grid-column: span 6; }
  .picks { grid-template-columns: 1fr; gap: 88px; }
  .verdict .count, .verdict ul { grid-column: 1 / 13; }
  .verdict .send { grid-column: 1 / 13; justify-self: start; }
}
@media (max-width: 640px) {
  .scope .head figure { grid-column: 1 / 13; }
  .gets figure { grid-column: 1 / 13; }
  .people ul, .people ul.two { grid-template-columns: repeat(2, 1fr); }
  .mods .mod { grid-column: 1 / 13; margin-top: 24px; }
  .picks legend { font-size: 2.5rem; }
  .picks label { font-size: var(--step-body); }
  .reg--core tbody tr:not(.group) { display: block; padding: 14px 0; }
  .reg--core tbody tr:not(.group) td { display: block; font-size: var(--step-small); padding: 2px 0; }
  .reg--core tbody tr:not(.group) td[data-l]::before { content: attr(data-l) ": "; font-weight: 500; }
  .reg--core tbody tr:not(.group) .c-doc { font-size: var(--step-body); font-weight: 500; margin-bottom: 4px; }
  .reg--3 tbody tr:not(.group) { display: block; padding: 10px 0; }
  .reg--3 tbody tr:not(.group) td { display: block; }
  .reg--3 tbody tr:not(.group) .c-art, .reg--3 tbody tr:not(.group) .c-when { font-size: var(--step-small); }
}
.part--navy { background: var(--navy); color: var(--white); }
.part--navy .mods-line a { color: var(--white); }
.part--navy .mods-line a:hover { color: var(--sky); }
.part--navy .button--ink { background: var(--blue); }
.part--navy .button--ink:hover { background: var(--white); color: var(--ink); }
.part--navy .row-act a.text { color: var(--white); }
@media (max-width: 640px) { .gets li { display: block; padding: 0 0 32px; } .gets li span { display: block; margin-top: 8px; } }
.how + .gets { margin-top: 0; }
.gets figure img[src*="GRAI"] { aspect-ratio: 1; }

/* ---------- sticky bar with the services menu ---------- */
:root { --bar-h: 64px; }
html { scroll-padding-top: calc(var(--bar-h) + 8px); }
.bar {
  position: sticky; top: 0; z-index: 50; height: var(--bar-h);
  display: flex; align-items: stretch; justify-content: space-between;
  padding: 0 var(--m); background: var(--navy); color: var(--white); font-size: var(--step-small);
}
.bar .mark { align-self: center; font-weight: 900; font-size: var(--step-body); letter-spacing: -0.02em; text-decoration: none; padding: 10px 0; }
.bar nav { display: flex; }
.bar-links { display: flex; align-items: stretch; gap: clamp(14px, 2vw, 32px); }
.bar-links > li { display: flex; align-items: center; }
.bar-links > li > a, .menu-btn {
  position: relative; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0;
  color: inherit; font: inherit; text-decoration: none; background: none; border: 0; cursor: pointer;
}
.bar-links > li > a::after, .menu-btn::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 8px; height: 2px; background: currentColor;
  transform: scaleX(0); transform-origin: left; transition: transform 260ms var(--ease-out);
}
.bar-links > li > a:hover::after, .menu-btn:hover::after, .menu-btn.is-current::after, .menu-btn[aria-expanded="true"]::after { transform: scaleX(1); }
.chev { width: 8px; height: 8px; border: solid currentColor; border-width: 0 2px 2px 0; transform: translateY(-2px) rotate(45deg); transition: transform 220ms var(--ease-out); }
.menu-btn[aria-expanded="true"] .chev { transform: translateY(2px) rotate(-135deg); }

.menu {
  display: none; position: absolute; top: var(--bar-h); right: var(--m);
  width: min(760px, calc(100vw - 2 * var(--m))); padding: 16px;
  background: var(--paper); color: var(--ink);
  box-shadow: 0 24px 48px rgba(7, 26, 56, 0.35); /* taste-skill-ignore: the open menu floats over the page */
}
.menu-btn[aria-expanded="true"] + .menu { display: block; }
@media (hover: hover) and (min-width: 641px) { .has-menu:hover .menu { display: block; } }
@media (prefers-reduced-motion: no-preference) {
  .menu { animation: menu-in 220ms var(--ease-out); }
}
@keyframes menu-in { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }

.menu-hub { display: block; background: var(--blue); color: var(--white); padding: 20px 22px; text-decoration: none; transition: background-color 200ms ease; }
.menu-hub:hover { background: var(--ink); }
.menu-hub strong { display: block; font-size: var(--step-mid); font-weight: 900; letter-spacing: -0.02em; line-height: 1.1; }
.menu-hub span { display: block; margin-top: 6px; color: var(--pale); font-size: var(--step-small); }
.menu-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 8px; }
.menu-cols > div { background: var(--surface); padding: 16px 20px 18px; }
.menu-reg { font-size: var(--step-mid); font-weight: 900; letter-spacing: -0.02em; line-height: 1; margin-bottom: 10px; }
.menu-cols a { display: block; padding: 8px 0; font-size: var(--step-body); text-decoration: none; transition: color 160ms ease, transform 200ms var(--ease-out); }
.menu-cols a:hover { color: var(--blue); transform: translateX(4px); }
.menu a[aria-current="page"] { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 0.2em; }
.menu-hub[aria-current="page"] { background: var(--ink); }
.menu-more { display: none; }

/* the hero now sits under the bar */
.hero { grid-template-rows: 1fr auto; min-height: calc(100svh - var(--bar-h)); padding-top: 0; }
.hero h1 { margin-top: 8vh; }
.reg tbody th[colspan] { top: var(--bar-h); }
.gets figure { top: calc(var(--bar-h) + 24px); }

@media (max-width: 640px) {
  :root { --bar-h: 56px; }
  .hide-s { display: none !important; }
  .menu { left: 0; right: 0; width: auto; max-height: calc(100svh - var(--bar-h)); overflow: auto; padding: 12px 16px 20px; }
  .menu-cols { grid-template-columns: 1fr; }
  .menu-more { display: flex; flex-wrap: wrap; gap: 4px 24px; margin-top: 16px; }
  .menu-more a { padding: 10px 0; font-size: var(--step-body); }
  .hero h1 { margin-top: 12vh; }
}

/* six modules: lead line and actions (home page) */
.mods > h2 + .mods-lead { margin: -40px 0 64px; max-width: 56ch; }
.mods-lead a { text-decoration-thickness: 2px; }
.mods-act { margin-top: 56px; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 32px; }
.pricing + .mods { margin-top: 0; }
.city img[src*="baltyk"] { object-position: 50% 6%; }

/* ---------- contact dialog ---------- */
.cdlg {
  width: min(680px, calc(100vw - 32px)); max-height: calc(100svh - 32px); padding: 0; border: 0;
  background: var(--paper); color: var(--ink);
  box-shadow: 0 32px 80px rgba(7, 26, 56, 0.45); /* taste-skill-ignore: a dialog floats over the page */
}
.cdlg::backdrop { background: rgba(7, 26, 56, 0.72); }
.cdlg[open] { display: flex; flex-direction: column; }
@media (prefers-reduced-motion: no-preference) {
  .cdlg[open] { animation: cdlg-in 260ms var(--ease-out); }
}
@keyframes cdlg-in { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.cdlg-head { background: var(--navy); color: var(--white); padding: 28px 32px 24px; display: flex; justify-content: space-between; align-items: start; gap: 24px; }
.cdlg-head h2 { font-size: var(--step-mid); line-height: 1.1; }
.cdlg-head p { margin-top: 8px; font-size: var(--step-small); color: var(--pale); max-width: 44ch; }
.cdlg-close { flex: none; width: 44px; height: 44px; margin: -8px -12px 0 0; border: 0; background: none; color: var(--white); cursor: pointer; display: grid; place-items: center; transition: transform 160ms var(--ease-out); }
.cdlg-close:hover { transform: rotate(90deg); }
.cdlg-close::before, .cdlg-close::after { content: ""; grid-area: 1 / 1; width: 20px; height: 2px; background: currentColor; transform: rotate(45deg); }
.cdlg-close::after { transform: rotate(-45deg); }
.cdlg-body { padding: 24px 32px 32px; overflow: auto; }
.cform { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 16px; }
.cform .full { grid-column: 1 / -1; }
.cform label { display: block; font-size: var(--step-small); font-weight: 500; margin-bottom: 6px; }
.cform label .opt { font-weight: 400; color: var(--muted); }
.cform input, .cform select, .cform textarea {
  width: 100%; font: inherit; font-size: var(--step-body); color: var(--ink);
  background: var(--white); border: 2px solid var(--surface); border-radius: 0; padding: 12px 14px; min-height: 48px;
  transition: border-color 160ms ease;
}
.cform textarea { min-height: 132px; resize: vertical; line-height: 1.45; }
.cform input:hover, .cform select:hover, .cform textarea:hover { border-color: var(--sky); }
.cform input:focus-visible, .cform select:focus-visible, .cform textarea:focus-visible { outline: none; border-color: var(--blue); }
.cform [aria-invalid="true"] { border-color: var(--bad); }
.cform .err { font-size: var(--step-small); color: var(--bad); margin-top: 4px; }
.cform .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; } /* taste-skill-ignore: hidden spam trap, not a rule */
.cform .info { font-size: var(--step-small); color: var(--muted); line-height: 1.5; }
.cform .info a { color: var(--ink); }
.cform .send-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.cform .send-row .alt { font-size: var(--step-small); }
.cform button[type="submit"][disabled] { opacity: 0.6; cursor: progress; }
.cdlg-done { padding: 8px 0 4px; }
.cdlg-done h3 { font-size: var(--step-mid); font-weight: 900; letter-spacing: -0.02em; line-height: 1.1; }
.cdlg-done p { margin-top: 12px; max-width: 46ch; }
.cdlg-done .button { margin-top: 24px; }
@media (max-width: 640px) {
  .cdlg { width: 100vw; max-width: 100vw; height: 100svh; max-height: 100svh; margin: 0; }
  .cdlg-head { padding: 20px 16px 18px; }
  .cdlg-body { padding: 20px 16px 28px; }
  .cform { grid-template-columns: 1fr; }
}
.contact .contact-btn { margin-top: 28px; }

/* =========================================================
   playbook: claim hero, Fort.One pulpit, proofs, documents
   ========================================================= */
.hero--claim h1 { font-size: clamp(3rem, 1rem + 6.6vw, 8rem); line-height: 0.9; margin-top: 7vh; }
.hero--claim h1 .line + .line { font-size: 0.5em; letter-spacing: -0.035em; }
.hero--claim .foot { align-items: start; row-gap: 40px; margin-top: 64px; }
.hero--claim .foot .say { grid-column: 1 / 6; justify-self: start; text-align: left; max-width: 44ch; }
.hero--claim .say .sla { font-size: var(--step-small); color: var(--pale); margin: -8px 0 28px; }
.hero--claim .say .sla strong { color: var(--white); font-weight: 500; }
.hero--claim .say .acts { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; }
.hero--claim .pulpit { grid-column: 7 / 13; }

/* the Fort.One pulpit, drawn from example data */
.pulpit { margin: 0; font-size: var(--step-small); line-height: 1.35; }
.pp { background: var(--paper); color: var(--ink); }
.pp-bar { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 4px 16px; background: var(--ink); color: var(--white); padding: 12px 18px; }
.pp-bar strong { font-weight: 900; font-size: var(--step-body); letter-spacing: -0.02em; }
.pp-bar span { color: var(--pale); }
.pp-sum { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; padding: 16px 18px 10px; }
.pp-sum p { padding: 10px 12px; color: var(--white); }
.pp-sum b { display: block; font-size: var(--step-mid); font-weight: 900; letter-spacing: -0.02em; line-height: 1; margin-bottom: 4px; }
.pp-sum .g { background: var(--ok); }
.pp-sum .y { background: var(--warn); }
.pp-sum .r { background: var(--bad); }
.pp-rows { width: 100%; border-collapse: collapse; margin-bottom: 10px; }
.pp-rows th, .pp-rows td { text-align: left; font-weight: 400; padding: 7px 18px 7px 0; vertical-align: top; }
.pp-rows th { padding-left: 18px; font-weight: 500; }
.pp-rows tr:nth-child(odd) { background: var(--surface); }
.pp-rows td.who { color: var(--muted); white-space: nowrap; }
.st { display: inline-flex; align-items: center; gap: 7px; font-weight: 500; white-space: nowrap; }
.st::before { content: ""; width: 10px; height: 10px; background: currentColor; flex: none; }
.st--ok { color: var(--ok); }
.st--warn { color: var(--warn); }
.st--bad { color: var(--bad); }
.pulpit figcaption { margin-top: 10px; color: var(--muted); }
.on-dark .pulpit figcaption { color: var(--pale); }
@media (prefers-reduced-motion: no-preference) {
  .js .hero .pulpit .pp-rows tr { opacity: 0; animation: rise 600ms var(--ease-out) forwards; animation-delay: calc(var(--r, 0) * 90ms + 1100ms); }
}

/* why: four levels, each with its proof beside it */
.why { padding: var(--gap-section) var(--m); }
.why > h2 { margin-bottom: 64px; }
.why-row { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 16px; row-gap: 16px; padding: 40px var(--m); margin-inline: calc(var(--m) * -1); }
.why-row:nth-of-type(even) { background: var(--surface); }
.why-row h3 { grid-column: 1 / 6; font-size: var(--step-lead); font-weight: 900; letter-spacing: -0.02em; line-height: 1.1; }
.why-row p { grid-column: 6 / 10; max-width: 42ch; }
.why-row .proof { grid-column: 10 / 13; font-size: var(--step-small); }
.why-row .proof strong { display: block; font-weight: 500; font-size: var(--step-body); margin-bottom: 4px; }
.why-row .proof a { font-weight: 500; }

/* ordinary text links on dark */
.on-dark a.text { color: var(--white); }

/* team: roles without names, bios of the core */
.roles { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 16px; padding: var(--gap-section) var(--m) 0; }
.roles h2 { grid-column: 1 / 7; }
.roles > p { grid-column: 1 / 6; margin-top: 24px; max-width: 40ch; }
.roles ul { grid-column: 7 / 13; grid-row: 1 / 3; font-size: var(--step-mid); font-weight: 500; line-height: 1.3; letter-spacing: -0.01em; }
.roles li { padding: 6px 0; }
.bios { padding: var(--gap-section) var(--m) 0; }
.bios > h2 { margin-bottom: 56px; }
.bio { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 16px; padding: 32px 0; align-items: start; }
.bio figure { grid-column: 1 / 4; overflow: hidden; }
.bio img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 18%; }
.bio h3 { grid-column: 5 / 13; font-size: var(--step-lead); font-weight: 900; letter-spacing: -0.02em; line-height: 1.1; }
.bio p { grid-column: 5 / 11; margin-top: 12px; max-width: 56ch; }

/* Fort.One: views with captions */
.views { padding: var(--gap-section) var(--m) 0; }
.views > h2 { margin-bottom: 24px; }
.views > p { max-width: 54ch; margin-bottom: 48px; }
.view { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 16px; row-gap: 24px; padding: 48px 0; align-items: start; }
.view .txt { grid-column: 1 / 5; }
.view .txt p { margin-top: 12px; max-width: 36ch; }
.view .pulpit { grid-column: 6 / 13; }
.pp-card { padding: 18px; }
.pp-card .t { font-size: var(--step-body); font-weight: 500; line-height: 1.3; margin-bottom: 12px; }
.pp-card dl { display: grid; grid-template-columns: max-content 1fr; gap: 6px 20px; }
.pp-card dt { color: var(--muted); }
.pp-hist li { display: flex; gap: 16px; padding: 7px 18px; }
.pp-hist li:nth-child(odd) { background: var(--surface); }
.pp-hist time { flex: none; width: 7em; color: var(--muted); }

/* sample Fort.One Status: an A4 sheet */
.doc { background: var(--surface); padding: 64px var(--m) var(--gap-section); }
.doc-intro { max-width: 210mm; margin: 0 auto 40px; }
.doc-intro h1 { font-size: var(--step-head); font-weight: 900; letter-spacing: -0.04em; line-height: 0.95; }
.doc-intro p { margin-top: 20px; max-width: 54ch; }
.doc-intro .acts { margin-top: 28px; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; }
.sheet { max-width: 210mm; margin: 0 auto; background: var(--white); color: var(--ink); padding: 14mm 14mm 12mm; font-size: var(--step-small); line-height: 1.35; }
.sheet .pp-bar { margin: -14mm -14mm 0; padding: 7mm 14mm 6mm; }
.sheet .co { font-weight: 900; font-size: var(--step-mid); letter-spacing: -0.03em; line-height: 1.05; margin-top: 8mm; }
.sheet .sub { color: var(--muted); margin-top: 2mm; }
.sheet .pp-sum { padding: 6mm 0 4mm; }
.sheet .pp-rows th, .sheet .pp-rows td { padding-top: 1.4mm; padding-bottom: 1.4mm; }
.sheet .pp-rows th { padding-left: 3mm; }
.sheet .h { font-size: var(--step-small); font-weight: 900; margin: 6mm 0 2mm; }
.sheet .two { display: grid; grid-template-columns: 1fr 1fr; gap: 8mm; }
.sheet .two li { padding: 0.8mm 0; }
.sheet .end { margin-top: 7mm; display: flex; justify-content: space-between; align-items: baseline; gap: 8mm; color: var(--muted); }
.sheet .end strong { color: var(--ink); font-size: var(--step-body); font-weight: 900; letter-spacing: -0.02em; white-space: nowrap; }
@media print {
  @page { size: A4; margin: 0; }
  body { background: var(--white); font-size: 12px; }
  .bar, footer, .doc-intro, .doc ~ section, .doc ~ *, .cdlg { display: none !important; }
  .doc { padding: 0; background: var(--white); }
  .sheet { max-width: none; width: 210mm; min-height: 297mm; margin: 0; font-size: 12px; }
  .sheet { padding: 11mm 13mm 9mm; font-size: 11px; }
  .sheet .pp-bar { margin: -11mm -13mm 0; padding: 6mm 13mm 5mm; }
  .sheet .pp-rows th, .sheet .pp-rows td { padding-top: 1mm; padding-bottom: 1mm; }
  .sheet .pp-sum { padding: 4mm 0 3mm; }
  .sheet .h { margin: 4mm 0 1mm; }
  .sheet .end { margin-top: 4mm; }
  .sheet .pp-sum b { font-size: 22px; }
  .sheet .co { font-size: 24px; }
  * { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}

/* menu: the system as a second big link */
.menu-sys { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-top: 8px; padding: 16px 22px; background: var(--ink); color: var(--white); text-decoration: none; transition: background-color 200ms ease; }
.menu-sys:hover { background: var(--blue); }
.menu-sys strong { font-weight: 900; font-size: var(--step-body); letter-spacing: -0.02em; }
.menu-sys span { color: var(--pale); font-size: var(--step-small); }
.menu-sys[aria-current="page"] { background: var(--blue); }

@media (max-width: 1024px) {
  .hero--claim .foot .say, .hero--claim .pulpit { grid-column: 1 / 13; }
  .why-row h3 { grid-column: 1 / 13; }
  .why-row p { grid-column: 1 / 9; }
  .why-row .proof { grid-column: 9 / 13; }
  .roles h2, .roles > p, .roles ul { grid-column: 1 / 13; grid-row: auto; }
  .roles ul { margin-top: 40px; }
  .view .txt, .view .pulpit { grid-column: 1 / 13; }
}
@media (max-width: 640px) {
  .hero--claim h1 { margin-top: 8vh; }
  .hero--claim .say .acts .button { width: 100%; }
  .pp-rows td.what { display: none; }
  .pp-sum { padding: 12px 12px 8px; gap: 6px; }
  .pp-sum p { padding: 8px; }
  .why-row p, .why-row .proof { grid-column: 1 / 13; }
  .bio figure { grid-column: 1 / 7; }
  .bio h3, .bio p { grid-column: 1 / 13; }
  .bio h3 { margin-top: 20px; }
  .sheet { padding: 20px 16px; }
  .sheet .pp-bar { margin: -20px -16px 0; padding: 14px 16px; }
  .sheet .two { grid-template-columns: 1fr; }
  .menu-sys { flex-direction: column; }
}

/* playbook additions */
.hero--claim.is-long h1 { font-size: clamp(2.75rem, 1rem + 5.2vw, 6.5rem); }
.hero--claim .hero-pic { grid-column: 7 / 13; margin: 0; }
.hero--claim .hero-pic img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: 50% 25%; }
.gets-note { grid-column: 1 / 8; margin-top: 40px; font-size: var(--step-lead); font-weight: 900; letter-spacing: -0.02em; line-height: 1.15; }
.bar-links > li > a[aria-current="page"]::after { transform: scaleX(1); }
@media (max-width: 1024px) { .hero--claim .hero-pic, .gets-note { grid-column: 1 / 13; } }
.team-more { margin-top: 32px; }
.part .more { margin-top: 24px; max-width: 54ch; }
@media (max-width: 640px) { .hero--claim.is-long h1 { font-size: 2.25rem; } }

/* coloured sections that meet: no paper strip between them */
:is(.hero, .intro, .how, .work, .pricing, .letters, .gets, .part, .mods, .config, .contact, .doc, .city) + :is(.how, .work, .pricing, .letters, .gets, .part, .mods, .config, .contact, .city) { margin-top: 0 !important; }

/* privacy policy: headings left, text right */
.policy { padding: 64px var(--m) var(--gap-section); }
.policy-head { max-width: 62ch; margin-bottom: 80px; }
.policy-head h1 { font-size: var(--step-head); font-weight: 900; letter-spacing: -0.04em; line-height: 0.95; }
.policy-head p { margin-top: 20px; }
.policy-head .when, .policy-head .draft { font-size: var(--step-small); color: var(--muted); }
.policy-part { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 16px; padding: 40px 0; }
.policy-part h2 { grid-column: 1 / 5; font-size: var(--step-mid); line-height: 1.2; letter-spacing: -0.01em; }
.policy-part .txt { grid-column: 6 / 12; max-width: 62ch; }
.policy-part .txt > * + * { margin-top: 16px; }
.policy-part ul { list-style: disc; padding-left: 1.2em; }
.policy-part li + li { margin-top: 8px; }
.tbc { background: var(--pale); color: var(--ink); padding: 0 0.15em; }
@media (max-width: 1024px) { .policy-part h2, .policy-part .txt { grid-column: 1 / 13; } .policy-part .txt { margin-top: 16px; } }
.policy-part figure { grid-column: 1 / 5; grid-row: 2; margin-top: 24px; max-width: 360px; }
.policy-part figure img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.policy-part figcaption { margin-top: 10px; font-size: var(--step-small); color: var(--muted); }
.policy-part .txt { grid-row: 1 / 3; }
.route { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 48px; counter-reset: none; }
.route li { background: var(--navy); color: var(--white); padding: 18px 16px; display: flex; flex-direction: column; justify-content: space-between; gap: 4px; min-height: 200px; }
.route li:last-child { background: var(--blue); }
.route span { font-size: var(--step-small); color: var(--pale); }
.jar { background: var(--white); font-size: var(--step-small); }
.jar p { padding: 10px 14px; }
.jar-bar { background: var(--surface); font-weight: 500; }
.jar-row { display: grid; grid-template-columns: 1fr 1fr; color: var(--muted); }
.jar-none { padding: 72px 14px !important; text-align: center; color: var(--muted); }
@media (max-width: 1024px) { .policy-part figure { grid-column: 1 / 13; grid-row: auto; } .policy-part .txt { grid-row: auto; } }
@media (max-width: 640px) { .route { grid-template-columns: 1fr 1fr; } .route li { min-height: 120px; } }

/* consent banner (only when a Google Ads id is set in site.js) */
.consent { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: var(--ink); color: var(--white); padding: 18px var(--m); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 32px; font-size: var(--step-small); }
.consent[hidden] { display: none; }
.consent p { max-width: 70ch; color: var(--pale); }
.consent a { color: var(--white); }
.consent-acts { display: flex; flex-wrap: wrap; gap: 12px; }
.consent .button { min-height: 2.75rem; }
@media (prefers-reduced-motion: no-preference) { .consent { animation: rise 500ms var(--ease-out); } }
@media (max-width: 640px) { .consent-acts, .consent .button { width: 100%; } .consent-acts { display: grid; grid-template-columns: 1fr 1fr; } }
footer .legal a[hidden] { display: none; }
footer .legal a + a { margin-left: 20px; }
body { padding-bottom: var(--consent-h, 0px); }
.tally { bottom: var(--consent-h, 0px); }
.consent p { flex: 1 1 280px; min-width: 0; }
@media (max-width: 640px) { .consent { padding: 14px 16px; } .consent p { flex-basis: 100%; } }
