/* Onnisoft — Cobalt system
   Ground #050507 · navy #0B1B66 · cobalt #1A4BFF · white.
   Type: Archivo (one family). Motion: transform/opacity only, ease-out for entrances. */

:root {
  --night: #050507;
  --deep: #050a26;
  --navy: #0b1b66;
  --cobalt: #1a4bff;
  --cobalt-hover: #0e3be6;
  --raised: #101014;
  --white: #ffffff;
  --soft: #c7cbd6;
  --muted: #8c8f99;
  --paper-field: #efeff1;
  --ink-2: #4a4c55;

  --gutter: clamp(16px, 2.2vw, 32px);
  --max: 1600px;
  --section: clamp(112px, 12vw, 192px);

  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-io: cubic-bezier(0.77, 0, 0.175, 1);

  --font: "Archivo", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  color-scheme: dark;
}

*,
*::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(--night);
  color: var(--white);
  font-family: var(--font);
  font-size: 19px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}

a { color: inherit; }
img, svg { display: block; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--white); outline-offset: 3px; }
.contact :focus-visible { outline-color: var(--cobalt); }

.skip {
  position: absolute; left: 16px; top: -100px; z-index: 100;
  padding: 12px 20px; border-radius: 999px; background: var(--white); color: var(--night);
  font-weight: 600; text-decoration: none;
}
.skip:focus { top: 16px; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding-inline: var(--gutter); }

.display {
  font-variation-settings: "wdth" 112;
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 0.94;
}
.h2 {
  margin: 0;
  font-size: clamp(32px, 3.4vw, 48px);
  line-height: 1;
  letter-spacing: -0.03em;
  font-weight: 600;
  font-variation-settings: "wdth" 112;
}
.statement {
  margin: 0;
  font-size: clamp(24px, 2.5vw, 36px);
  line-height: 1.18;
  letter-spacing: -0.02em;
  font-weight: 500;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 56px; padding: 0 28px; border: 0; border-radius: 999px;
  font-size: 17px; font-weight: 600; text-decoration: none; cursor: pointer;
  transition: transform 160ms var(--ease-out), background-color 200ms ease;
  -webkit-tap-highlight-color: transparent;
}
.btn:active { transform: scale(0.97); }
.btn-sm { min-height: 44px; padding: 0 20px; font-size: 16px; }
.btn-white { background: var(--white); color: var(--night); }
.btn-blue { background: var(--cobalt); color: var(--white); }
.btn .arrow { width: 18px; height: 18px; transition: transform 260ms var(--ease-out); }
.btn[disabled] { opacity: 0.6; cursor: progress; }

.u-line {
  text-decoration: none;
  background-image: linear-gradient(currentColor, currentColor);
  background-repeat: no-repeat;
  background-position: 0 100%;
  background-size: 0% 1.5px;
  transition: background-size 360ms var(--ease-out);
}

@media (hover: hover) and (pointer: fine) {
  .btn-white:hover { background: #dce4ff; }
  .btn-blue:hover { background: var(--cobalt-hover); }
  .btn:hover .arrow { transform: translateX(4px); }
  .u-line:hover { background-size: 100% 1.5px; }
}

/* ---------- Grain (tile generated in app.js; no JS = no grain) ---------- */
.grain {
  position: absolute; inset: -10%;
  background-image: var(--grain, none);
  background-size: 180px 180px;
  opacity: 0.3;
  mix-blend-mode: overlay;
  pointer-events: none;
  animation: grain 900ms steps(1) infinite;
}
@keyframes grain {
  0% { transform: translate(0, 0); }
  20% { transform: translate(-2%, 1.5%); }
  40% { transform: translate(1.5%, -2%); }
  60% { transform: translate(-1%, -1%); }
  80% { transform: translate(2%, 1%); }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  height: 100vh;
  height: 100svh;
  min-height: 620px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: linear-gradient(180deg, var(--night) 0%, var(--deep) 30%, var(--navy) 62%, var(--cobalt) 100%);
}
.hero > .grain { z-index: 1; opacity: 0.32; }

.hero-light {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  animation: drift 26s ease-in-out infinite alternate;
}
@keyframes drift {
  0% { transform: translate3d(-6%, 4%, 0) scale(1); }
  100% { transform: translate3d(6%, -3%, 0) scale(1.12); }
}
.hero-light-follow {
  --s: max(110vw, 110svh);
  position: absolute;
  left: 50%;
  bottom: calc(var(--s) * -0.5);
  width: var(--s);
  height: var(--s);
  margin-left: calc(var(--s) / -2);
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(77, 122, 255, 0.85), rgba(26, 75, 255, 0.35) 45%, rgba(26, 75, 255, 0) 100%);
  will-change: transform;
}

.nav {
  position: absolute; top: 0; left: 0; right: 0; z-index: 3;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 8px 24px;
  padding-block: 20px;
  animation: nav-in 900ms var(--ease-out) 200ms both;
}
@keyframes nav-in { from { opacity: 0; transform: translateY(-100%); } to { opacity: 1; transform: none; } }
.brand {
  display: inline-flex; align-items: center; min-height: 44px;
  font-size: 20px; font-weight: 700; letter-spacing: -0.02em;
  font-variation-settings: "wdth" 112; text-decoration: none;
}
.nav-links { display: flex; flex-wrap: wrap; align-items: center; gap: 0 4px; font-size: 16px; font-weight: 500; }
.nav-links .u-line { margin: 0 10px; padding: 12px 0 10px; }
.nav-links .btn { margin-left: 12px; }

.hero-copy {
  position: relative; z-index: 3;
  display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between;
  gap: 28px 48px;
  margin-bottom: clamp(24px, 3.4vw, 56px);
}
.hero-lead { flex: 1 1 320px; min-width: 0; max-width: 17em; }
@media (max-width: 600px) { .nav-links .u-line { display: none; } }
.hero-copy > * { animation: lift 1100ms var(--ease-out) both; }
.hero-copy > :nth-child(1) { animation-delay: 950ms; }
.hero-copy > :nth-child(2) { animation-delay: 1040ms; }
@keyframes lift {
  from { opacity: 0; transform: translateY(24px); filter: blur(6px); }
  to { opacity: 1; transform: none; filter: blur(0); }
}

.hero-mark { position: relative; z-index: 3; padding-inline: var(--gutter); transform-origin: 50% 100%; }
.wordmark {
  margin: 0 0 -0.035em -0.045em;
  padding-top: 0.04em;
  font-size: 25.4vw; /* fallback; app.js fits it to the exact width */
  line-height: 0.8;
  letter-spacing: -0.045em;
  font-weight: 700;
  font-variation-settings: "wdth" 100;
  white-space: nowrap;
  overflow: hidden;
}
.wordmark span { display: inline-block; animation: letter-up 1300ms var(--ease-out) both; }
.wordmark span:nth-child(1) { animation-delay: 380ms; }
.wordmark span:nth-child(2) { animation-delay: 430ms; }
.wordmark span:nth-child(3) { animation-delay: 480ms; }
.wordmark span:nth-child(4) { animation-delay: 530ms; }
.wordmark span:nth-child(5) { animation-delay: 580ms; }
.wordmark span:nth-child(6) { animation-delay: 630ms; }
.wordmark span:nth-child(7) { animation-delay: 680ms; }
.wordmark span:nth-child(8) { animation-delay: 730ms; }
@keyframes letter-up { from { transform: translateY(105%); } to { transform: translateY(0); } }

/* ---------- Products ---------- */
.products { padding-block: clamp(120px, 13vw, 208px) var(--section); }
.products-head {
  display: flex; flex-wrap: wrap; align-items: flex-start;
  gap: 24px clamp(32px, 6vw, 120px);
}
.products-head .h2 { flex: 0 0 auto; }
.products-head .statement { flex: 1 1 520px; min-width: 0; max-width: 21em; }

.switcher {
  margin-top: clamp(64px, 8vw, 128px);
  display: flex; flex-wrap: wrap; align-items: flex-start;
  gap: 32px clamp(24px, 3vw, 48px);
}
.p-tabs { display: none; flex: 1 1 340px; min-width: 0; position: relative; }
.p-indicator {
  position: absolute; left: 0; right: 0; top: 0; height: 88px;
  background: color-mix(in srgb, var(--c, #101014) 14%, #0c0c10);
  transition: transform 520ms var(--ease-out), background-color 420ms ease, height 0ms;
}
.p-tab {
  position: relative; z-index: 1;
  appearance: none; -webkit-appearance: none;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  width: 100%; height: 88px; margin: 0; padding: 0 20px;
  background: transparent; border: 0; cursor: pointer; text-align: left;
  color: var(--muted);
  transition: color 200ms ease;
  -webkit-tap-highlight-color: transparent;
}
.p-tab[aria-selected="true"] { color: var(--white); }
.p-tab-name { font-size: clamp(22px, 2vw, 28px); letter-spacing: -0.02em; font-weight: 500; }
.p-tab-kind { font-size: 15px; }

.p-stage { flex: 999 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }

.panel {
  position: relative; overflow: hidden; isolation: isolate;
  min-height: 560px;
}
.panel > .grain { z-index: 0; inset: 0; animation: none; }
.panel-inner {
  position: relative; z-index: 1; height: 100%; min-height: inherit;
  padding: clamp(24px, 3vw, 48px);
  display: flex; flex-direction: column; justify-content: space-between; gap: 32px;
}
.panel-kind { font-size: 15px; font-weight: 500; }
.panel-body { display: flex; flex-direction: column; gap: 20px; }
.panel-name { margin: 0; font-size: clamp(44px, 5.4vw, 88px); }
.panel-desc { margin: 0; max-width: 26em; }
.panel-facts {
  margin: 0; padding: 0; list-style: none;
  display: flex; flex-wrap: wrap; gap: 8px 28px;
  font-size: 16px; color: var(--soft);
}
.panel-facts li::before { content: "+ "; color: var(--white); }
.panel-price { color: var(--white); font-weight: 600; }
.panel-cta { display: flex; margin-top: 8px; }

/* ---------- Product identities: colour, symbol, personality ----------
   Onus/Hecate emerald · Flight/Hermes sky · Relay/Hestia ember · Helen/Athena crimson · Horizon/Helios gold.
   The site chrome stays cobalt, black and white; colour lives only inside each product. */
.p-onus { --c: #1fcb8b; --d: #06402e; }
.p-flight { --c: #3db8ff; --d: #08365a; }
.p-relay { --c: #ff6a2b; --d: #4a1607; }
.p-helen { --c: #ff4766; --d: #4a0c17; }
.p-horizon { --c: #ffb524; --d: #4a3005; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.ico { width: 1em; height: 1em; flex: 0 0 auto; color: var(--c); }

.p-tab-name { display: inline-flex; align-items: center; gap: 14px; }
.p-tab .ico { width: 26px; height: 26px; opacity: 0.55; transition: opacity 200ms ease, transform 320ms var(--ease-out); }
.p-tab[aria-selected="true"] .ico { opacity: 1; }
@media (hover: hover) and (pointer: fine) {
  .p-tab:hover .ico { transform: scale(1.12); }
}

.panel { background: radial-gradient(85% 75% at 88% 6%, var(--c) 0%, var(--d) 42%, #050507 80%); }
.panel-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; }
.patron { margin: 0; display: flex; flex-direction: column; align-items: flex-end; gap: 10px; text-align: right; }
.patron figcaption { font-size: 14px; font-weight: 500; color: rgba(255, 255, 255, 0.86); }
.sym { width: clamp(84px, 9vw, 136px); height: auto; color: var(--white); overflow: visible; }
.panel-tag {
  margin: -6px 0 0;
  font-size: clamp(22px, 2vw, 28px); line-height: 1.2; letter-spacing: -0.02em; font-weight: 500;
  color: var(--c);
}
.panel-facts li::before { color: var(--c); }
.btn-product { background: var(--c); color: var(--night); }
@media (hover: hover) and (pointer: fine) {
  .btn-product:hover { background: color-mix(in srgb, var(--c) 80%, #ffffff); }
}

.layer-name { display: inline-flex; align-items: center; gap: 10px; color: var(--c); }
.layer-name .ico { width: 0.95em; height: 0.95em; }
.f-prod { display: inline-flex; align-items: center; gap: 10px; }
.f-prod .ico { width: 18px; height: 18px; }

/* Each symbol has its own signature move, played once when its product opens.
   Resting state is the final state, so no-motion users see the finished symbol. */
.sym * { transform-box: view-box; }
.panel.is-active .k-turn { transform-origin: 12px 7.5px; animation: key-turn 1100ms var(--ease-out) 560ms both; }
@keyframes key-turn { 0% { transform: rotate(-90deg) scale(0.9); opacity: 0; } 30% { opacity: 1; } 100% { transform: none; } }

.w-f { stroke-dasharray: 1; stroke-dashoffset: 0; }
.panel.is-active .w-f { animation: draw 700ms var(--ease-out) both; }
.panel.is-active .w-f:nth-child(1) { animation-delay: 560ms; }
.panel.is-active .w-f:nth-child(2) { animation-delay: 640ms; }
.panel.is-active .w-f:nth-child(3) { animation-delay: 720ms; }
.panel.is-active .w-f:nth-child(4) { animation-delay: 800ms; }
.panel.is-active .w-lift { animation: wing-lift 1200ms var(--ease-out) 560ms both; }
@keyframes wing-lift { from { transform: translate(-3px, 3px); } to { transform: none; } }
@keyframes draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }

.f-hearth { stroke-dasharray: 1; }
.panel.is-active .f-hearth { animation: draw 600ms var(--ease-out) 520ms both; }
.panel.is-active .f-flame { transform-origin: 12px 18px; animation: kindle 1300ms var(--ease-out) 640ms both; }
.panel.is-active .f-core { transform-origin: 12px 16px; animation: flicker 1600ms ease-in-out 900ms both; }
@keyframes kindle {
  0% { transform: scale(0.2, 0.1); opacity: 0; }
  45% { transform: scale(1.06, 1.12); opacity: 1; }
  70% { transform: scale(0.97, 0.96); }
  100% { transform: none; }
}
@keyframes flicker {
  0% { transform: scale(0.4); opacity: 0; }
  40% { transform: scale(1.12, 1.2); opacity: 1; }
  65% { transform: scale(0.92, 0.95); }
  100% { transform: none; }
}

.o-brow { stroke-dasharray: 1; }
.panel.is-active .o-brow { animation: draw 600ms var(--ease-out) 540ms both; }
.panel.is-active .o-eyes { transform-origin: 12px 13px; animation: owl-blink 1500ms var(--ease-out) 620ms both; }
.panel.is-active .o-pupils { animation: owl-look 1500ms var(--ease-io) 1100ms both; }
@keyframes owl-blink {
  0% { transform: scaleY(0.05); opacity: 0; }
  25% { transform: none; opacity: 1; }
  62% { transform: none; }
  70% { transform: scaleY(0.08); }
  80% { transform: none; }
  100% { transform: none; }
}
@keyframes owl-look { 0% { transform: none; } 35% { transform: translateX(-1.2px); } 70% { transform: translateX(1.2px); } 100% { transform: none; } }

.s-ray { stroke-dasharray: 1; }
.panel.is-active .s-sun { animation: sunrise 1300ms var(--ease-out) 560ms both; }
.panel.is-active .s-ray { animation: draw 500ms var(--ease-out) both; }
.panel.is-active .s-ray:nth-of-type(1) { animation-delay: 1100ms; }
.panel.is-active .s-ray:nth-of-type(2) { animation-delay: 1160ms; }
.panel.is-active .s-ray:nth-of-type(3) { animation-delay: 1220ms; }
.panel.is-active .s-ray:nth-of-type(4) { animation-delay: 1280ms; }
.panel.is-active .s-ray:nth-of-type(5) { animation-delay: 1340ms; }
@keyframes sunrise { from { transform: translateY(6px); } to { transform: none; } }

/* JS-enhanced switcher: stacked panels wipe in with clip-path */
.js .p-tabs { display: block; }
.js .p-stage {
  position: relative; display: block;
  aspect-ratio: 4 / 3; min-height: 600px; max-height: 760px;
  overflow: hidden; background: var(--night);
}
.js .panel {
  position: absolute; inset: 0; min-height: 0;
  clip-path: inset(100% 0 0 0);
  transition: clip-path 0ms linear 820ms;
  z-index: 1;
}
.js .panel.is-active {
  clip-path: inset(0 0 0 0);
  transition: clip-path 820ms var(--ease-io);
  z-index: 2;
}
.js .panel .panel-inner {
  opacity: 0; transform: translateY(40px);
  transition: opacity 200ms ease, transform 0ms linear 300ms;
}
.js .panel.is-active .panel-inner {
  opacity: 1; transform: none;
  transition: opacity 500ms ease 320ms, transform 900ms var(--ease-out) 320ms;
}
@media (max-width: 720px) {
  .js .p-stage { aspect-ratio: auto; height: 780px; min-height: 0; }
  .p-tab { height: 72px; }
  .p-indicator { height: 72px; }
}

/* ---------- Stack ---------- */
.stack { padding-bottom: var(--section); }
.stack .h2 { margin-bottom: clamp(40px, 5vw, 72px); }
.layers { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: clamp(36px, 4vw, 56px); }
.layer {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 12px clamp(24px, 4vw, 64px);
  align-items: baseline;
}
.layer-q {
  margin: 0; font-size: clamp(30px, 3.6vw, 56px); line-height: 1;
  letter-spacing: -0.03em; font-weight: 600; font-variation-settings: "wdth" 112;
}
.layer-a { margin: 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 20px; }
.layer-name { font-size: clamp(22px, 2vw, 28px); font-weight: 600; letter-spacing: -0.02em; }
.layer-line { color: var(--soft); }
@media (max-width: 720px) { .layer { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Contact (white field) ---------- */
.contact { background: var(--white); color: var(--night); color-scheme: light; }
.contact-inner {
  padding-block: var(--section);
  display: flex; flex-wrap: wrap; align-items: flex-start;
  gap: 48px clamp(32px, 6vw, 120px);
}
.contact-copy { flex: 1 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 28px; }
.contact-title { margin: 0; font-size: clamp(48px, 7.6vw, 124px); }
.contact-copy p { margin: 0; max-width: 28em; }
.contact-form-wrap { flex: 1 1 440px; min-width: 0; }
.form { display: flex; flex-direction: column; gap: 22px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label { font-size: 15px; font-weight: 600; }
.field .hint { font-weight: 400; color: var(--ink-2); }
.input {
  width: 100%; min-height: 56px; padding: 0 22px;
  border: 0; border-radius: 28px; background: var(--paper-field); color: var(--night);
  font-size: 17px;
  transition: box-shadow 200ms ease;
}
.input:focus-visible { outline: none; box-shadow: 0 0 0 3px var(--cobalt); }
textarea.input { padding: 18px 22px; min-height: 140px; resize: vertical; line-height: 1.5; border-radius: 24px; }
select.input {
  appearance: none; -webkit-appearance: none; cursor: pointer;
  padding-right: 52px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23050507' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 22px center;
}
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; }
.form-note { margin: 0; font-size: 15px; color: var(--ink-2); }
.form-error { margin: 0; font-size: 15px; font-weight: 600; color: #b3261e; }
.sent { display: flex; align-items: center; gap: 16px; min-height: 92px; animation: lift 700ms var(--ease-out) both; }
.sent-mark {
  flex: 0 0 auto; width: 48px; height: 48px; border-radius: 50%;
  background: var(--cobalt); color: var(--white);
  display: flex; align-items: center; justify-content: center;
}
.sent p { margin: 0; font-size: 24px; letter-spacing: -0.015em; font-weight: 500; }
[hidden] { display: none !important; }

/* ---------- Footer ---------- */
.footer {
  position: relative; isolation: isolate; overflow: hidden;
  background: linear-gradient(0deg, var(--navy) 0%, var(--night) 70%);
}
.footer > .grain { z-index: 0; animation: none; }
.footer-inner {
  position: relative; z-index: 1;
  padding-top: clamp(96px, 10vw, 160px); padding-bottom: 32px;
  display: flex; flex-direction: column; gap: clamp(72px, 9vw, 140px);
}
.footer-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 48px; }
.footer-top .statement { flex: 1 1 360px; max-width: 14em; }
.footer-cols {
  flex: 1 1 420px;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 32px;
  font-size: 16px;
}
.footer-cols nav { display: flex; flex-direction: column; gap: 4px; }
.footer-cols .col-title { font-weight: 600; padding-bottom: 8px; }
.footer-cols a { align-self: flex-start; padding: 6px 0; color: var(--soft); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; font-size: 15px; color: var(--soft); }

/* ---------- Scroll-driven motion (progressive; content is visible without it) ---------- */
@supports (animation-timeline: view()) {
  .hero-mark { animation: mark-out linear both; animation-timeline: view(); animation-range: exit 0% exit 100%; }
  @keyframes mark-out { to { transform: translateY(22%) scale(0.94); opacity: 0.25; } }
  .hero-copy { animation: copy-out linear both; animation-timeline: view(); animation-range: exit 0% exit 60%; }
  @keyframes copy-out { to { transform: translateY(-40px); opacity: 0; } }
  .w { animation: word-on linear both; animation-timeline: view(); animation-range: cover 18% cover 42%; }
  @keyframes word-on { from { opacity: 0.18; } to { opacity: 1; } }
  .reveal { animation: sc-up linear both; animation-timeline: view(); animation-range: entry 0% entry 70%; }
  @keyframes sc-up { from { opacity: 0; transform: translateY(56px); } to { opacity: 1; transform: none; } }
  .js .p-stage { animation: sc-frame linear both; animation-timeline: view(); animation-range: entry 0% cover 40%; }
  @keyframes sc-frame { from { clip-path: inset(14% 10% 14% 10%); } to { clip-path: inset(0 0 0 0); } }
}
/* Fallback reveal when scroll timelines are missing (class set by app.js) */
.io .reveal { opacity: 0; transform: translateY(40px); transition: opacity 700ms ease, transform 900ms var(--ease-out); }
.io .reveal.in { opacity: 1; transform: none; }

/* ---------- Reduced motion: keep fades, drop travel ---------- */
@media (prefers-reduced-motion: reduce) {
  .grain, .hero-light, .nav, .wordmark span, .hero-mark, .hero-copy, .w, .reveal, .js .p-stage { animation: none !important; }
  .hero-copy > * { animation: fade 200ms ease both; }
  @keyframes fade { from { opacity: 0; } to { opacity: 1; } }
  .js .panel, .js .panel.is-active { transition: none; }
  .js .panel .panel-inner, .js .panel.is-active .panel-inner { transform: none; transition: opacity 200ms ease; }
  .p-indicator { transition: background-color 200ms ease; }
  .sym * { animation: none !important; }
  .io .reveal { transform: none; transition: opacity 200ms ease; }
}

/* ---------- 404 ---------- */
.notfound { min-height: 100svh; display: flex; flex-direction: column; justify-content: center; gap: 32px; }
.notfound h1 { margin: 0; font-size: clamp(48px, 8vw, 128px); }
