/* oneura.ai: white and black, text floating in open space. One typeface across the site. */
@font-face { font-family: "Instrument Sans"; src: url("/assets/fonts/instrument-sans.woff2") format("woff2"); font-weight: 400 700; font-stretch: 75% 100%; font-style: normal; font-display: swap; }
:root {
  --ink: #0a0a0a;
  --soft: #5c5c5c;
  --hair: #e6e6e6;
  --paper: #ffffff;
  --sans: "Instrument Sans", "Helvetica Neue", system-ui, -apple-system, sans-serif;
  --mono: ui-monospace, "SF Mono", "JetBrains Mono", Menlo, Consolas, monospace;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 400;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: inherit; }
.skip { position: absolute; left: -999px; top: 0; background: var(--ink); color: #fff; padding: 10px 14px; z-index: 50; }
.skip:focus { left: 8px; top: 8px; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }

/* ---------- top bar */
.bar {
  position: fixed; inset: 0 0 auto 0; z-index: 20;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px clamp(20px, 4vw, 56px);
  background: rgba(255, 255, 255, .86);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
}
.mark { font-size: 20px; font-weight: 500; letter-spacing: -0.02em; text-decoration: none; }
.mark span { font-weight: 400; }
.bar nav { display: flex; align-items: center; gap: clamp(14px, 2.4vw, 34px); font-size: 14px; }
.bar nav a { text-decoration: none; color: var(--soft); transition: color .2s; }
.bar nav a:hover { color: var(--ink); }
.pill {
  display: inline-block; border: 1px solid var(--ink); border-radius: 999px;
  padding: 9px 18px; color: var(--ink) !important; text-decoration: none;
  transition: background .2s, color .2s;
}
.pill:hover { background: var(--ink); color: #fff !important; }
.pill.big { font-size: clamp(18px, 2.2vw, 26px); padding: 16px 34px; margin-top: 18px; }

/* ---------- scroll journey */
.journey { position: relative; }
.stage {
  position: sticky; top: 0; height: 100vh; height: 100svh; width: 100%;
  overflow: hidden; pointer-events: none;
  margin-bottom: -100vh; margin-bottom: -100svh;
}
#scope {
  position: absolute; top: 52%; left: 63%;
  width: min(86vh, 50vw); height: min(86vh, 50vw);
  transform: translate(-50%, -50%);
  -webkit-mask-image: radial-gradient(closest-side, #000 78%, transparent 100%);
  mask-image: radial-gradient(closest-side, #000 78%, transparent 100%);
}
.scale {
  position: absolute; right: clamp(16px, 3vw, 44px); top: 50%; transform: translateY(-50%);
  list-style: none; margin: 0; padding: 0;
  font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase;
  color: #b5b5b5;
}
.scale li { display: flex; align-items: center; justify-content: flex-end; gap: 10px; padding: 7px 0; transition: color .3s; flex-direction: row-reverse; }
.scale li i { display: block; width: 14px; height: 1px; background: currentColor; transition: width .3s; }
.scale li.on { color: var(--ink); }
.scale li.on i { width: 34px; }
.hint {
  position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%);
  font-family: var(--mono); font-size: 11px; letter-spacing: .3em; text-transform: uppercase; color: var(--soft);
  transition: opacity .4s;
}
.hint::after { content: ""; display: block; width: 1px; height: 34px; background: var(--ink); margin: 10px auto 0; animation: drop 1.8s ease-in-out infinite; transform-origin: top; }
@keyframes drop { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }

.scene { position: relative; min-height: 300vh; padding: 0 clamp(20px, 6vw, 96px); }
.scene:first-of-type { min-height: 280vh; }
.float {
  position: relative; max-width: min(500px, 36vw);
  padding-top: 34vh; min-height: 130vh;
}
.float.low { padding-top: 20vh; }
.eyebrow {
  font-family: var(--mono); font-size: 12px; letter-spacing: .18em; text-transform: uppercase;
  color: var(--soft); margin: 0 0 22px;
}
h1, h2, h3 { font-weight: 400; font-stretch: 92%; letter-spacing: -0.035em; line-height: 1.02; margin: 0; }
h1 { font-size: clamp(42px, 5.6vw, 88px); }
.scene h2 { font-size: clamp(30px, 3.6vw, 54px); line-height: 1.06; }
.scene p:not(.eyebrow) { font-size: clamp(17px, 1.45vw, 21px); color: #2b2b2b; margin: 26px 0 0; max-width: 30em; }
.scene p.io { font-size: clamp(16px, 1.25vw, 18px); color: var(--soft); margin-top: 18px; }
.scene p.io b { font-weight: 500; color: var(--ink); margin-right: .35em; }
.uses { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 4vw, 64px) clamp(32px, 6vw, 110px); margin-top: clamp(40px, 7vh, 90px); }
.uses h3 { font-size: clamp(22px, 2.2vw, 32px); font-weight: 400; line-height: 1.15; letter-spacing: -0.02em; }
.uses p { color: #2b2b2b; font-size: 18px; max-width: 30em; }
.lede { font-size: clamp(18px, 1.6vw, 23px) !important; }

.float { will-change: opacity; text-shadow: 0 0 22px #fff, 0 0 8px #fff; }
#still { position: absolute; top: 52%; left: 63%; width: min(86vh, 50vw); height: min(86vh, 50vw); transform: translate(-50%, -50%); object-fit: contain; }

/* ---------- plain sections */
.plain {
  position: relative; background: var(--paper);
  padding: clamp(90px, 16vh, 200px) clamp(20px, 6vw, 96px);
  border-top: 1px solid var(--hair);
}
.plain h2 { font-size: clamp(34px, 5vw, 76px); max-width: 16em; }
.facts { list-style: none; padding: 0; margin: clamp(40px, 7vh, 80px) 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 4vw, 64px); }
.facts b { display: block; font-weight: 200; font-size: clamp(64px, 9vw, 140px); line-height: .9; letter-spacing: -0.05em; }
.facts span { display: block; margin-top: 16px; color: var(--soft); max-width: 22em; }
.note { margin-top: clamp(36px, 6vh, 64px); color: var(--soft); max-width: 46em; font-size: 16px; }
.tracks { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 110px); margin-top: clamp(40px, 7vh, 90px); }
.tracks .num { font-family: var(--mono); font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--soft); margin: 0 0 18px; }
.tracks h3 { font-size: clamp(30px, 3.4vw, 52px); }
.tracks p { color: #2b2b2b; font-size: 18px; max-width: 30em; }
.link { display: inline-block; margin-top: 10px; font-size: 18px; text-decoration: none; border-bottom: 1px solid var(--ink); padding-bottom: 3px; }
.link:hover { opacity: .6; }
.end { text-align: center; }
.end h2 { margin: 0 auto; }
.end p { max-width: 34em; margin: 26px auto 0; font-size: 19px; color: #2b2b2b; }

.foot { border-top: 1px solid var(--hair); padding: 44px clamp(20px, 6vw, 96px) 60px; display: grid; grid-template-columns: 1fr auto; gap: 18px 40px; font-size: 14px; color: var(--soft); }
.foot p { margin: 0; }
.foot nav { display: flex; gap: 24px; flex-wrap: wrap; }
.foot nav a { text-decoration: none; }
.foot nav a:hover { color: var(--ink); }
.foot .fine { grid-column: 1 / -1; font-size: 12px; max-width: 60em; }

/* ---------- inner pages (what it models, validation) */
.page main { padding-top: 72px; }
.intro-block { padding: clamp(80px, 14vh, 170px) clamp(20px, 6vw, 96px) clamp(40px, 8vh, 90px); }
.intro-block h1 { max-width: 13em; }
.intro-block .lede { margin-top: 28px; max-width: 32em; color: #2b2b2b; }
.ladder { list-style: none; margin: 0; padding: 0 clamp(20px, 6vw, 96px) clamp(60px, 10vh, 120px); }
.ladder li { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(24px, 5vw, 90px); border-top: 1px solid var(--hair); padding: clamp(40px, 7vh, 80px) 0; scroll-margin-top: 80px; }
.ladder h2 { font-size: clamp(28px, 3vw, 44px); line-height: 1.08; }
.rung-art { display: block; width: min(300px, 70%); height: auto; margin-top: 28px; }
.detail > p { margin: 0; font-size: clamp(17px, 1.3vw, 19px); color: #2b2b2b; max-width: 36em; }
.detail dl { margin: 28px 0 0; display: grid; grid-template-columns: auto 1fr; gap: 12px 24px; max-width: 40em; }
.detail dt { font-weight: 600; font-size: 15px; padding-top: 2px; }
.detail dd { margin: 0; color: var(--soft); font-size: 16px; }
/* ---------- validation page */
.vblock { padding: clamp(44px, 8vh, 96px) clamp(20px, 6vw, 96px); border-top: 1px solid var(--hair); scroll-margin-top: 80px; }
.vblock h2 { font-size: clamp(28px, 3vw, 46px); }
.vlede { font-size: clamp(17px, 1.4vw, 20px); color: #2b2b2b; margin: 24px 0 0; max-width: 40em; }
.vblock > p.plainp { margin: 28px 0 0; font-size: 17px; line-height: 1.6; color: #2b2b2b; max-width: 40em; }

.toc { display: flex; flex-wrap: wrap; gap: 12px 26px; margin-top: 38px; font-family: var(--mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; }
.toc a { color: var(--soft); text-decoration: none; border-bottom: 1px solid var(--hair); padding-bottom: 4px; }
.toc a:hover { color: var(--ink); border-bottom-color: var(--ink); }

.vcases { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 4vw, 60px) clamp(32px, 6vw, 90px); margin-top: clamp(36px, 6vh, 64px); }
.vcases article { border-top: 1px solid var(--ink); padding-top: 22px; }
.vcases article.wide { grid-column: 1 / -1; display: grid; align-items: start;
  grid-template-columns: 1fr 1fr; column-gap: clamp(32px, 6vw, 90px); }
.vcases article.wide > h3 { grid-column: 1 / -1; }
.vcases article.wide > p { grid-column: 1; }
.vcases article.wide > .vmiss { grid-column: 2; grid-row: 2; margin-top: 16px !important; max-width: 34em; }
.vcases article.wide > .vsrc { grid-column: 1; grid-row: 3; align-self: start; }
.vcases h3 { font-size: clamp(20px, 1.9vw, 25px); font-weight: 500; line-height: 1.18; letter-spacing: -0.015em; max-width: 20em; }
.vcases p { margin: 16px 0 0; font-size: 16px; line-height: 1.58; color: #2b2b2b; max-width: 34em; }

.vmiss { margin: 18px 0 0 !important; font-size: 15px !important; line-height: 1.55; color: var(--soft) !important; border-left: 2px solid var(--hair); padding-left: 16px; max-width: 42em; }
.vsrc { font-family: var(--mono); font-size: 11px !important; letter-spacing: .12em; text-transform: uppercase; color: var(--soft) !important; margin-top: 18px !important; }

.vtable { margin: clamp(32px, 5vh, 54px) 0 0; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); max-width: 70em; }
.vtable dt { grid-column: 1; font-weight: 500; font-size: 16px; padding: 16px 28px 16px 0; border-top: 1px solid var(--hair); }
.vtable dd { grid-column: 2; margin: 0; font-size: 16px; line-height: 1.55; color: #2b2b2b; padding: 16px 0; border-top: 1px solid var(--hair); }
.vtable dd span { display: block; margin-top: 5px; font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--soft); }

@media (max-width: 860px) {
  .vcases { grid-template-columns: 1fr; }
  .vcases article.wide { display: block; }
  .vtable { grid-template-columns: 1fr; max-width: 100%; }
  .vtable dt { grid-column: 1; padding: 18px 0 0; }
  .vtable dd { grid-column: 1; padding: 5px 0 18px; border-top: 0; }
}

@media (max-width: 860px) {
  .bar nav a:not(.pill) { display: none; }
  #scope, #still { left: 50%; top: 33%; width: min(100vw, 58vh); height: min(100vw, 58vh); }
  .scale, .hint { display: none; }
  .float { max-width: 100%; padding-top: 56vh; }
  .float.low { padding-top: 40vh; }
  .facts, .tracks, .uses, .ladder li { grid-template-columns: 1fr; }
  .detail dl { grid-template-columns: 1fr; gap: 4px; }
  .detail dd { margin-bottom: 12px; }
  .foot { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .hint::after { animation: none; }
  .float { opacity: 1 !important; }
}
