/* ==========================================================================
   ARK Digital — site system
   Dark-first, monochrome, one blue accent. Display face for headings,
   Geist for text, a light serif italic for accent words.
   Dark only; there is no light theme.
   ========================================================================== */

/* ---------------------------------------------------------------- tokens */
:root {
  --font-display: "DM Sans", system-ui, sans-serif;
  --font-text: "Geist", "Inter", system-ui, sans-serif;
  --font-accent: "Fraunces", Georgia, serif;

  --blue-300: #7acaff;
  --blue-500: #0099ff;
  --blue-700: #0068ad;
  --amber: #ffb840;

  --text-h3: 2.25rem;
  --text-lead: 1.125rem;
  --text-body: .9375rem;
  --text-body-s: .8125rem;
  --text-caption: .75rem;
  --tracking-h1: -.04em;
  --tracking-h2: -.035em;
  --tracking-h3: -.03em;

  --ease: cubic-bezier(.22, .61, .36, 1);
  --wrap: 1380px;
  --gutter: 24px;
}
@media (min-width: 768px) { :root { --gutter: 32px; } }

:root,
[data-theme="dark"] {
  color-scheme: dark;
  --bg: #000;
  --bg-elevated: #111;
  --card: transparent;
  --surface: #141414;
  --surface-2: #181818;
  --surface-strong: #1f1f1f;
  --line: #ffffff17;
  --line-strong: #ffffff29;
  --hairline: #fff3;
  --fg: #fff;
  --fg-strong: #d8d8d8;
  --fg-muted: #9a9a9a;
  --fg-subtle: #7d7d7d;
  --fg-dim: #757575;
  --tint-weak: #ffffff14;
  --tint: #fff2;
  --tint-strong: #ffffff30;
  --field: #fff2;
  --icon: #ffffff8c;
  --raise-shadow: transparent;
  --card-line: #ffffff8c;
  --card-lift: #ffffff1a;
  --card-lift-mid: #ffffff08;
  --card-rule: #ffffff24;
  --card-border: #fff3;
  --nav-bg: #000000b8;
  --section-shadow: 0 44px 90px -24px #000000f2, 0 18px 44px -18px #000c;
  --footer-veil: #0009;
  --glass: color-mix(in srgb, var(--bg) 42%, transparent);
  --pop-shadow: 0 18px 40px -12px #0009;
  --blue-ink: #7acaff;
  --ink: #141414;
}
/* A themed island (e.g. the always-dark editor) resets its own text colour. */
[data-theme] { color: var(--fg); }

/* ------------------------------------------------------------------ base */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: 104px;
  overflow-x: clip;
}
body {
  font-family: var(--font-text);
  font-size: var(--text-body);
  line-height: 1.6;
  color: var(--fg);
  background: var(--bg);
  overflow-x: clip;
  transition: background .28s var(--ease), color .28s var(--ease);
}
img, video, svg, canvas { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul, ol { list-style: none; }
h1, h2, h3, h4 { font-weight: 500; }
::selection { background: var(--blue-500); color: #000; }
:focus-visible { outline: 2px solid var(--blue-500); outline-offset: 3px; border-radius: 4px; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip {
  position: fixed; top: 12px; left: 12px; z-index: 300;
  padding: 10px 20px; border-radius: 999px;
  background: var(--fg); color: var(--bg); font-size: 14px; font-weight: 500;
  translate: 0 -80px; transition: translate .3s var(--ease);
}
.skip:focus { translate: 0 0; }

.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.wrap--wide { max-width: 1440px; }

/* ------------------------------------------------------------- type */
.display { font-family: var(--font-display); font-weight: 500; line-height: 1; }
.t-hero  { font-size: clamp(48px, 6.4vw, 92px); letter-spacing: -.06em; }
.t-giant { font-size: clamp(46px, 9vw, 132px); letter-spacing: -.05em; }
.t-mega  { font-size: clamp(56px, 10vw, 150px); letter-spacing: -.05em; }
.t-h1    { font-size: clamp(38px, 4.6vw, 64px); letter-spacing: var(--tracking-h1); }
.t-h2    { font-size: clamp(38px, 5vw, 72px); letter-spacing: -.05em; }
.t-h3    { font-size: var(--text-h3); line-height: 1.1; letter-spacing: var(--tracking-h3); }
.t-card  { font-size: clamp(24px, 2.6vw, 36px); line-height: 1.1; letter-spacing: var(--tracking-h2); }
.lead    { font-size: var(--text-lead); color: var(--fg-muted); }
.muted   { color: var(--fg-muted); }
.center  { text-align: center; }

/* Accent words: light optical serif, italic or roman. */
.accent, .accent-roman {
  font-family: var(--font-accent);
  font-optical-sizing: none;
  font-variation-settings: "opsz" 120;
  font-weight: 300;
  letter-spacing: -.04em;
  margin-left: -.04em;
}
.accent { font-style: italic; }
.accent-roman { font-style: normal; }

/* ----------------------------------------------------------- buttons */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 15px; border: 1px solid transparent; border-radius: 999px;
  font-size: 14px; line-height: 1; font-weight: 500; white-space: nowrap;
  transition: background-color .22s var(--ease), border-color .22s var(--ease), color .22s var(--ease);
}
.btn--solid { background: var(--fg); color: var(--bg); }
.btn--solid:hover { background: var(--fg-strong); }
.btn--line { border-color: var(--line-strong); }
.btn--line:hover { border-color: var(--fg-subtle); background: var(--surface); }
.btn--soft { background: color-mix(in srgb, var(--fg) 15%, transparent); }
.btn--soft:hover { background: color-mix(in srgb, var(--fg) 25%, transparent); }
.btn--glass { border-radius: 8px; padding: 10px 15px; background: #ffffff33; color: #fff; }
.btn--glass:hover { background: #ffffff4d; }
.btn--sq { border-radius: 12px; }
.btn--blue { background: var(--blue-500); color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 10px; }
.btn-row--center { justify-content: center; }

/* Rolling label: each character is two stacked copies; hover lifts them.
   Built by site.js from the element's text; the plain text stays for
   screen readers and touch, where the roll is hidden. */
.roll {
  --bleed: .2em;
  display: inline-flex; align-items: flex-start; overflow: hidden;
  height: calc(1lh + var(--bleed) * 2);
  margin-block: calc(var(--bleed) * -1);
  padding-inline: var(--bleed); margin-inline: calc(var(--bleed) * -1);
  vertical-align: bottom;
}
.roll__c {
  display: inline-flex; flex-direction: column; white-space: pre;
  transition: translate .52s var(--ease);
  transition-delay: calc(var(--i) * 18ms);
}
.roll__c > span { flex: none; height: 1lh; padding-block: var(--bleed); box-sizing: content-box; }
:is(a, button):is(:hover, :focus-visible) .roll__c { translate: 0 -50%; }
@media (pointer: coarse) {
  .roll { display: none; }
  .roll-text { position: static; width: auto; height: auto; margin: 0; overflow: visible; clip: auto; white-space: inherit; }
}

/* Shine: a conic highlight that runs around the border on hover. */
@property --shine-a { syntax: "<angle>"; inherits: false; initial-value: 135deg; }
@property --shine-b { syntax: "<angle>"; inherits: false; initial-value: 135deg; }
@property --shine-w { syntax: "<angle>"; inherits: false; initial-value: 24deg; }
@keyframes shine-a {
  0% { --shine-a: 135deg; --shine-w: 0deg; opacity: 1; }
  10% { --shine-w: 24deg; }
  86% { --shine-a: -45deg; --shine-w: 24deg; opacity: 1; }
  to { --shine-a: -45deg; --shine-w: 24deg; opacity: 0; }
}
@keyframes shine-b {
  0% { --shine-b: 135deg; --shine-w: 0deg; opacity: 1; }
  10% { --shine-w: 24deg; }
  86% { --shine-b: 315deg; --shine-w: 24deg; opacity: 1; }
  to { --shine-b: 315deg; --shine-w: 24deg; opacity: 0; }
}
.shine {
  position: absolute; inset: 0; border-radius: inherit; padding: 1px;
  pointer-events: none; opacity: 0; transition: opacity 60ms linear;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
}
.shine--a { background-image: conic-gradient(from calc(var(--shine-a) - var(--shine-w)), transparent 0deg, var(--blue-500) calc(var(--shine-w) / 2), var(--blue-300) var(--shine-w), transparent calc(var(--shine-w) * 2), transparent 360deg); }
.shine--b { background-image: conic-gradient(from calc(var(--shine-b) - var(--shine-w)), transparent 0deg, var(--blue-500) calc(var(--shine-w) / 2), var(--blue-300) var(--shine-w), transparent calc(var(--shine-w) * 2), transparent 360deg); }
.has-shine:is(:hover, :focus-visible) .shine { opacity: 1; }
@media (prefers-reduced-motion: no-preference) {
  .has-shine:is(:hover, :focus-visible) .shine { opacity: 0; animation: 2.8s linear infinite; }
  .has-shine:is(:hover, :focus-visible) .shine--a { animation-name: shine-a; }
  .has-shine:is(:hover, :focus-visible) .shine--b { animation-name: shine-b; }
}
@media (pointer: coarse) { .shine { display: none; } }

/* Glass card: translucent panel with a lit top edge. */
.glass {
  position: relative; overflow: hidden; border: 1px solid var(--card-border);
  border-radius: 12px; background: var(--glass);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
}
.glass::before {
  content: ""; position: absolute; top: 0; left: 50%; translate: -50% 0;
  width: 240px; max-width: 80%; height: 1px; pointer-events: none;
  background: linear-gradient(90deg, transparent, var(--card-line) 50%, transparent);
}
.glass::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; border-radius: inherit;
  background: radial-gradient(58% 46% at 50% 0%,
    color-mix(in srgb, var(--card-lift) 62%, transparent) 0%,
    color-mix(in srgb, var(--card-lift-mid) 62%, transparent) 45%, transparent 78%);
}
.glass > * { position: relative; z-index: 1; }
.glass--wide::before { width: 420px; }

/* ---------------------------------------------------------- content reel */
/* The content portfolio in small cards (pages.py: reel_*). The source clips
   are 320-960px wide, so cards stay near that size instead of filling tiles.
   A still shows first; site.js swaps in the GIF on hover. */
.reel-stats { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 44px; margin-top: 28px; }
.reel-stats p { display: flex; align-items: center; gap: 12px; }
.reel-stats strong { font-family: var(--font-display); font-weight: 500; font-size: clamp(36px, 4vw, 52px); line-height: 1; letter-spacing: -.04em; }
.reel-stats p span { max-width: 15ch; font-size: 14px; line-height: 1.35; color: var(--fg-muted); }
.reel-stats .link-accent { margin-left: auto; }
@media (max-width: 640px) { .reel-stats .link-accent { margin-left: 0; } }

.reel {
  display: grid; gap: 22px; margin-top: 48px; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.reel__track { display: flex; gap: 16px; width: max-content; animation: reel 80s linear infinite; }
.reel__row--rev .reel__track { animation-direction: reverse; animation-duration: 90s; }
.reel:hover .reel__track { animation-play-state: paused; }
/* The row holds its cards twice; -50% less half a gap lands on the copy. */
@keyframes reel { to { transform: translateX(calc(-50% - 8px)); } }

.reel__card { flex: none; width: 248px; margin: 0; }
@media (max-width: 640px) { .reel__card { width: 200px; } }
.reel__img {
  position: relative; aspect-ratio: 16 / 9; overflow: hidden;
  border: 1px solid var(--line); border-radius: 10px; background: var(--surface);
}
.reel__img img { width: 100%; height: 100%; object-fit: cover; transition: scale .6s var(--ease); }
.reel__card:hover .reel__img img { scale: 1.04; }
.reel__play {
  position: absolute; right: 8px; bottom: 8px; display: grid; place-items: center;
  width: 24px; height: 24px; border-radius: 50%; background: #0009; color: #fff;
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); transition: opacity .25s var(--ease);
}
.reel__img.is-playing .reel__play { opacity: 0; }
.reel__card figcaption { display: grid; gap: 3px; padding: 12px 2px 0; }
.reel__kind { font-size: 11px; line-height: 1.3; letter-spacing: .08em; text-transform: uppercase; color: var(--blue-ink); }
.reel__t { font-size: 15px; line-height: 1.3; letter-spacing: -.01em; color: var(--fg); }
.reel__stat { font-size: 12px; line-height: 1.4; color: var(--fg-subtle); }

.reel-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(196px, 1fr)); gap: 28px 16px; margin-top: 8px; }
.reel-grid .reel__card { width: auto; }
@media (max-width: 520px) { .reel-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 12px; } }
.reel-note { max-width: 80ch; margin-top: 32px; font-size: 13px; line-height: 1.6; color: var(--fg-subtle); }

/* No motion: the rows sit still and scroll sideways by hand. */
@media (prefers-reduced-motion: reduce) {
  .reel { overflow-x: auto; -webkit-mask-image: none; mask-image: none; }
  .reel__track { animation: none; padding-inline: var(--gutter); }
  .reel__dup { display: none; }
}

/* Scroll reveal. */
[data-reveal] { opacity: 0; translate: 0 24px; transition: opacity .8s var(--ease), translate .8s var(--ease); }
[data-reveal].is-in { opacity: 1; translate: 0 0; }
.no-js [data-reveal] { opacity: 1; translate: none; }

/* ------------------------------------------------------------ header */
.mast {
  position: fixed; inset: 0 0 auto; z-index: 200;
  border-bottom: 1px solid transparent;
  transition: background-color .5s var(--ease), border-color .5s var(--ease), backdrop-filter .5s var(--ease);
}
.mast.is-scrolled {
  background: var(--nav-bg); border-color: var(--line);
  -webkit-backdrop-filter: blur(16px) saturate(1.4); backdrop-filter: blur(16px) saturate(1.4);
}
.mast__in {
  max-width: var(--wrap); margin-inline: auto; padding: 16px var(--gutter);
  display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 20px;
  transition: padding .5s var(--ease);
}
.mast.is-scrolled .mast__in { padding-block: 12px; }
.mast__logo { display: inline-flex; align-items: center; gap: 10px; justify-self: start; font-family: var(--font-display); font-weight: 500; font-size: 19px; letter-spacing: -.04em; }
.mast__logo svg { width: 26px; height: 26px; }
.mast__nav { display: none; align-items: center; gap: 28px; }
.mast__nav a { font-size: 15px; letter-spacing: -.01em; color: var(--fg-muted); transition: color .22s var(--ease); }
.mast__nav a:hover, .mast__nav a[aria-current="page"] { color: var(--fg); }
.mast__nav a[aria-current="page"] { font-weight: 500; }
.mast__end { display: flex; align-items: center; gap: 8px; justify-self: end; }
.mast__cta { height: 38px; padding-inline: 16px; font-size: 13px; letter-spacing: -.01em; }
.mast__cta .long { display: none; }

.burger {
  display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%;
  border: 1px solid var(--line-strong);
}
.burger i { position: relative; display: block; width: 16px; height: 10px; }
.burger i::before, .burger i::after {
  content: ""; position: absolute; left: 0; width: 100%; height: 1.5px; background: var(--fg);
  transition: rotate .38s var(--ease), top .38s var(--ease);
}
.burger i::before { top: 0; }
.burger i::after { top: 8.5px; }
.menu-open .burger i::before { top: 4.25px; rotate: 45deg; }
.menu-open .burger i::after { top: 4.25px; rotate: -45deg; }

@media (min-width: 981px) {
  .mast__in { grid-template-columns: 1fr auto 1fr; }
  .mast__nav { display: flex; }
  .mast__end { gap: 14px; }
  .mast__cta { height: 36px; padding-inline: 18px; }
  .mast__cta .short { display: none; }
  .mast__cta .long { display: inline; }
  .burger { display: none; }
}

/* Mobile menu: full-screen sheet that wipes down. */
.sheet {
  position: fixed; inset: 0; z-index: 190;
  display: flex; flex-direction: column; justify-content: space-between;
  padding: 104px var(--gutter) 40px; background: var(--bg);
  clip-path: inset(0 0 100% 0); pointer-events: none; visibility: hidden;
  transition: clip-path .6s var(--ease), visibility 0s linear .6s;
}
.menu-open .sheet { clip-path: inset(0); pointer-events: auto; visibility: visible; transition: clip-path .6s var(--ease); }
.sheet__nav { display: flex; flex-direction: column; overflow-y: auto; }
.sheet__nav a, .sheet__foot {
  opacity: 0; translate: 0 16px;
  transition: opacity .55s var(--ease), translate .55s var(--ease), border-color .55s var(--ease);
  transition-delay: calc(var(--i, 0) * 45ms + 120ms);
}
.menu-open .sheet__nav a, .menu-open .sheet__foot { opacity: 1; translate: 0 0; }
.sheet__nav a { display: flex; align-items: baseline; gap: 16px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.sheet__nav a[aria-current="page"] { border-color: color-mix(in srgb, var(--fg) 25%, transparent); }
.sheet__num { width: 24px; flex: none; font-size: 11px; font-variant-numeric: tabular-nums; color: var(--fg-subtle); }
.sheet__label { font-family: var(--font-display); font-size: 34px; line-height: 1.15; font-weight: 500; letter-spacing: var(--tracking-h2); color: var(--fg-muted); transition: translate .3s var(--ease), color .3s var(--ease); }
.sheet__nav a:hover .sheet__label, .sheet__nav a[aria-current="page"] .sheet__label { color: var(--fg); translate: 4px 0; }
.sheet__nav a[aria-current="page"] .sheet__num { color: var(--fg); }
.sheet__nav a[aria-current="page"]::after { content: ""; margin-left: auto; align-self: center; width: 6px; height: 6px; border-radius: 50%; background: var(--blue-500); }
.sheet__foot { display: flex; flex-direction: column; gap: 16px; }
.sheet__foot .btn { justify-content: center; height: 52px; font-size: 15px; }
.sheet__mail { text-align: center; font-size: 13px; color: var(--fg-subtle); }
@media (min-width: 981px) { .sheet { display: none; } }
.menu-open { overflow: hidden; }

/* ------------------------------------------------------------ footer */
.foot { position: relative; isolation: isolate; overflow: hidden; padding-top: 120px; background: var(--bg); }
.foot__in { max-width: 1425px; margin-inline: auto; padding-inline: var(--gutter); }
.foot__title { text-align: center; font-size: clamp(40px, 5.2vw, 72px); letter-spacing: -.06em; }
.foot__ctas { justify-content: center; margin-top: 36px; }
.foot__mark {
  position: absolute; top: 292px; left: 50%; z-index: -1; width: 430px; max-width: none; pointer-events: none;
  color: var(--fg); opacity: 0; transform: translate(-50%, 4px) scale(.985);
  transition: opacity 1.2s cubic-bezier(.5, 0, .6, 1), transform 1.2s cubic-bezier(.5, 0, .6, 1);
}
.foot__mark path { fill: url(#markFill); }
.foot__mark.is-in { opacity: 1; transform: translate(-50%, 0) scale(1); }
@media (min-width: 768px) { .foot__mark { top: 374px; width: 760px; } }
.foot__panel { position: relative; margin-top: 172px; background: var(--footer-veil); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); }
@media (min-width: 768px) { .foot__panel { margin-top: 305px; } }
.foot__rule { position: absolute; top: 0; left: -100vw; right: -100vw; border-top: 1px solid var(--line); pointer-events: none; }
.foot__box { border-inline: 1px solid var(--line); }
.foot__social { display: grid; grid-template-columns: repeat(2, 1fr); }
.foot__social li { border-bottom: 1px solid var(--line); }
.foot__social li:nth-child(even) { border-left: 1px solid var(--line); }
.foot__social a { display: flex; align-items: center; gap: 10px; height: 52px; padding-inline: 16px; font-size: 12px; color: var(--fg-strong); transition: color .2s; }
.foot__social a:hover { color: var(--fg); }
.foot__social svg { width: 16px; height: 16px; }
.foot__social a > span:last-child { margin-left: auto; color: var(--fg-muted); transition: translate .3s var(--ease); }
.foot__social a:hover > span:last-child { translate: 4px 0; }
.foot__cols { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--line); }
.foot__col { padding: 24px 16px; }
.foot__col:nth-child(even) { border-left: 1px solid var(--line); }
.foot__col:nth-child(n+3) { border-top: 1px solid var(--line); }
.foot__col h3 { font-family: var(--font-text); font-size: 12px; line-height: 12px; font-weight: 400; color: var(--fg); }
.foot__col ul { display: flex; flex-direction: column; gap: 6px; margin-top: 15px; }
.foot__col a, .foot__col li > span { display: block; padding-block: 4px; font-size: 12px; line-height: 1.3; color: var(--fg-strong); transition: color .2s; }
.foot__col a:hover { color: var(--fg); }
.foot__base { position: relative; }
.foot__base p { padding-block: 22px; text-align: center; font-size: var(--text-caption); color: var(--fg-dim); }
.foot__base a { text-decoration: underline; text-underline-offset: 2px; }
@media (min-width: 768px) {
  .foot__social { grid-template-columns: repeat(4, 1fr); }
  .foot__social li { border-bottom: 0; }
  .foot__social li:not(:first-child) { border-left: 1px solid var(--line); }
  .foot__social a { height: 62px; padding-inline: 24px; font-size: var(--text-body-s); }
  .foot__cols { grid-template-columns: repeat(4, 1fr); }
  .foot__col { padding: 48px 24px 40px; }
  .foot__col:nth-child(n+3) { border-top: 0; }
  .foot__col:not(:first-child) { border-left: 1px solid var(--line); }
  .foot__col h3 { font-size: var(--text-body-s); line-height: 1.6; color: var(--fg-dim); }
  .foot__col ul { gap: 8px; margin-top: 12px; }
  .foot__col a, .foot__col li > span { font-size: var(--text-body-s); }
}

/* Interactive background (inner pages): a fixed WebGL noise field drawn by
   site.js behind the page. The gradient is the no-WebGL fallback; the scrim
   keeps long pages readable as the field sits under the content. */
.bgfx {
  position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden;
  background:
    radial-gradient(80% 60% at 70% 110%, color-mix(in srgb, var(--blue-500) 30%, transparent), transparent 70%),
    radial-gradient(60% 50% at 10% 0%, color-mix(in srgb, var(--blue-700) 22%, transparent), transparent 70%);
}
.bgfx canvas { width: 100%; height: 100%; opacity: 0; transition: opacity 1.2s var(--ease); }
.bgfx canvas.is-on { opacity: 1; }
.bgfx::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 0%, color-mix(in srgb, var(--bg) 10%, transparent) 50%, color-mix(in srgb, var(--bg) 45%, transparent) 100%);
}

/* Page wipe: five columns that lift away on load and close on leave. */
.wipe { position: fixed; inset: 0; z-index: 400; display: flex; pointer-events: none; }
.wipe i { flex: 1; margin-right: -1px; background: var(--bg); transform-origin: top; transform: scaleY(0); transition: transform .5s var(--ease); transition-delay: calc(var(--i) * 45ms); }
.wipe.is-on i { transform: scaleY(1); transform-origin: bottom; }
@media (prefers-reduced-motion: reduce) { .wipe { display: none; } }
