/* ==========================================================================
   Intelli Living — obsidian.css
   The studio surface, v5. Loaded last on the home page.

   O0  Tokens — obsidian, bone, one spectral accent
   O1  Chrome — navigation, drawer, buttons, language toggle, footer
   O2  Hero — the field, the nine-character statement, the instrument foot
   O3  Section grammar — head, display, lead, notes
   O4  Thesis
   O5  Architecture console (pipeline + layers + simulation log)
   O6  Capability rows
   O7  Flagship 01
   O8  Pipeline 02 · 03
   O9  Principles — 2 · 5 · 1 · 0
   O10 Studio statement
   O11 Contact
   O12 Motion, contrast, small screens
   ========================================================================== */

/* --------------------------------------------------------------------------
   O0  Tokens
   -------------------------------------------------------------------------- */
:root {
  --ink: #050506;
  --ink-deep: #000000;
  --ink-soft: #0a0a0c;
  --surface: rgba(255, 255, 255, 0.028);
  --surface-solid: #0b0b0d;
  --surface-high: rgba(255, 255, 255, 0.055);

  --line: rgba(244, 241, 234, 0.11);
  --line-strong: rgba(244, 241, 234, 0.2);
  --line-accent: rgba(206, 216, 255, 0.4);

  --bone: #f4f1ea;
  --bone-dim: #d4cfc6;
  --muted: #9a958c;
  --dim: #6a665f;

  --accent: #dbe3ff;
  --accent-strong: #8a9bff;
  --accent-glow: rgba(150, 170, 255, 0.3);
  --accent-soft: rgba(160, 178, 255, 0.09);

  --prism: linear-gradient(104deg, #fffdf7 0%, #e8ecff 34%, #b9c6ff 62%, #f2e6ff 100%);

  --gutter: clamp(20px, 4.2vw, 56px);
  --shell: 1360px;
  --section-y: clamp(84px, 10vw, 160px);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ob-radius: 16px;
}

/* --------------------------------------------------------------------------
   O1  Chrome
   -------------------------------------------------------------------------- */
body {
  background: var(--ink);
  color: var(--bone);
  font-family: var(--font-sans);
  letter-spacing: -0.012em;
}

/* Obsidian atmosphere: near-monochrome, one cold bloom, one warm bloom. */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(1200px 700px at 76% -12%, rgba(108, 124, 210, 0.14), transparent 62%),
    radial-gradient(900px 620px at 6% 4%, rgba(196, 176, 140, 0.05), transparent 58%),
    radial-gradient(1400px 900px at 50% 118%, rgba(84, 96, 168, 0.12), transparent 64%),
    linear-gradient(180deg, #050506 0%, #060608 52%, #040405 100%);
}

/* Film grain — a single tiny SVG, no image request. */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.5;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='0.34'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}

::selection { background: rgba(206, 216, 255, 0.24); color: #fff; }

/* Navigation — a hairline instrument bar, not a card. */
.nav-wrap {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 300;
  padding: clamp(12px, 2vw, 20px) var(--gutter);
  pointer-events: none;
}

.nav {
  pointer-events: auto;
  max-width: var(--shell);
  margin-inline: auto;
  padding: 10px 12px 10px 16px;
  border: 1px solid rgba(244, 241, 234, 0.1);
  border-radius: 999px;
  background: rgba(8, 8, 10, 0.52);
  backdrop-filter: blur(22px) saturate(120%);
  -webkit-backdrop-filter: blur(22px) saturate(120%);
  transition: background 0.5s ease, border-color 0.5s ease, transform 0.5s var(--ease);
}

.nav.is-scrolled {
  background: rgba(7, 7, 9, 0.86);
  border-color: rgba(244, 241, 234, 0.15);
}

.nav__name {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.16em;
}

.nav__sub {
  font-family: var(--font-mono);
  font-size: 8.5px;
  letter-spacing: 0.2em;
  color: var(--dim);
  margin-top: 4px;
  text-transform: uppercase;
}

.nav__links { gap: clamp(12px, 1.8vw, 30px); }
.nav__links a {
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--muted);
}
.nav__links a:hover { color: var(--bone); }
.nav__links a.is-active { color: var(--ink); background: var(--bone); font-weight: 600; }
.nav__links a::after {
  content: "";
  display: block;
  height: 1px;
  margin-top: 2px;
  background: var(--bone);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s var(--ease);
}
.nav__links a:hover::after { transform: scaleX(1); }
.nav__links a.is-active::after { display: none; }

/* Language toggle — two hairline keys. */
.lang-toggle {
  border: 1px solid rgba(244, 241, 234, 0.12);
  border-radius: 999px;
  background: transparent;
  padding: 2px;
  gap: 0;
}
.lang-toggle button {
  min-width: 38px;
  padding: 6px 9px;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.14em;
  color: var(--dim);
  transition: color 0.3s ease, background 0.3s ease;
}
.lang-toggle button[aria-pressed="true"] { color: var(--ink); background: var(--bone); }

/* Buttons — solid ivory and hairline ghost. */
.btn {
  height: 46px;
  padding: 0 22px;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: -0.01em;
  border: 1px solid transparent;
  background: var(--bone);
  color: #0a0a0b;
  transition: background 0.35s ease, color 0.35s ease, border-color 0.35s ease, transform 0.35s var(--ease);
}
.btn:hover { background: #fffdf7; transform: translateY(-1px); box-shadow: 0 14px 40px rgba(0, 0, 0, 0.5); }
.btn .arw { font-size: 11px; }
.btn--ghost {
  background: transparent;
  border-color: rgba(244, 241, 234, 0.2);
  color: var(--bone-dim);
}
.btn--ghost:hover {
  background: rgba(244, 241, 234, 0.06);
  border-color: rgba(244, 241, 234, 0.42);
  color: var(--bone);
  box-shadow: none;
}
.btn--sm { height: 38px; padding: 0 16px; font-size: 12.5px; }

/* Footer — a ledger. */
.footer {
  border-top: 1px solid var(--line);
  padding-top: clamp(48px, 6vw, 84px);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.014), transparent 40%);
}
.footer__brand p { color: var(--muted); font-size: 13.5px; }
.footer__col h3 {
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.2em;
  color: var(--dim);
  font-weight: 500;
}
.footer__col a { font-size: 13px; color: var(--bone-dim); }
.footer__col a:hover { color: var(--bone); }
.footer__legal { border-top: 1px solid var(--line); color: var(--dim); }
.newsletter {
  border: 0;
  border-radius: 0;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  padding: 0;
  gap: 10px;
  max-width: 400px;
  border-bottom: 1px solid var(--line-strong);
}
.newsletter input {
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 10px 0;
}
.newsletter input::placeholder { color: #5a5751; }
.newsletter input:focus { outline: none; }
.newsletter:focus-within { border-bottom-color: var(--bone); }
.newsletter button {
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: transparent;
  color: var(--bone);
  font-size: 12px;
  padding: 8px 14px;
}
.newsletter button:hover { background: var(--bone); color: var(--ink); border-color: var(--bone); }

/* --------------------------------------------------------------------------
   O2  Hero
   -------------------------------------------------------------------------- */
.ob-hero {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 100svh;
  padding-top: clamp(118px, 17vh, 190px);
  padding-bottom: clamp(22px, 3.2vh, 44px);
  overflow: hidden;
  isolation: isolate;
  border-bottom: 1px solid var(--line);
}

.ob-hero__atmos {
  position: absolute;
  inset: 0;
  z-index: -3;
  background:
    radial-gradient(760px 520px at 72% 18%, rgba(120, 136, 226, 0.16), transparent 68%),
    radial-gradient(680px 520px at 18% 82%, rgba(214, 190, 148, 0.055), transparent 66%),
    linear-gradient(180deg, #060608 0%, #050506 60%, #030304 100%);
}

.ob-hero__field {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  display: block;
  opacity: 0;
  transition: opacity 1.6s ease 0.1s;
}
.ob-hero__field.is-live { opacity: 1; }
.ob-hero__field, .ob-core, .ob-core-glow { pointer-events: none; }
/* The network stays luminous on the open side and steps back behind the
   statement, so the type never fights the mesh. */
.ob-hero__field {
  -webkit-mask-image: linear-gradient(104deg, rgba(0,0,0,0.25) 6%, rgba(0,0,0,0.55) 30%, #000 58%);
  mask-image: linear-gradient(104deg, rgba(0,0,0,0.25) 6%, rgba(0,0,0,0.55) 30%, #000 58%);
}

/* The core: a rotating deterministic lattice, drawn on its own canvas. */
.ob-core {
  position: absolute;
  z-index: -1;
  right: clamp(-40px, -2vw, 8px);
  top: 54%;
  width: min(41vw, 620px);
  height: min(41vw, 620px);
  transform: translateY(-50%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 1.4s ease 0.2s;
}
.ob-core.is-live { opacity: 1; }
.ob-core-glow {
  position: absolute;
  z-index: -2;
  right: clamp(-90px, -4vw, -20px);
  top: 54%;
  width: min(56vw, 900px);
  height: min(56vw, 900px);
  transform: translateY(-50%);
  pointer-events: none;
  background: radial-gradient(closest-side, rgba(126, 143, 235, 0.17), rgba(126, 143, 235, 0.05) 52%, transparent 74%);
  filter: blur(6px);
}
@media (max-width: 899px) {
  .ob-core, .ob-core-glow { display: none; }
}

/* A fine engineering lattice, masked to a soft vignette. */
.ob-hero__spot {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.9s ease;
  background: radial-gradient(420px 420px at var(--px, 60%) var(--py, 30%), rgba(196, 208, 255, 0.10), transparent 66%);
}
.ob-hero__spot.is-live { opacity: 1; }

.ob-hero__lattice {
  position: absolute;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(244, 241, 234, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(244, 241, 234, 0.045) 1px, transparent 1px);
  background-size: 88px 88px, 88px 88px;
  mask-image: radial-gradient(120% 90% at 50% 8%, #000 0%, rgba(0, 0, 0, 0.45) 48%, transparent 82%);
  -webkit-mask-image: radial-gradient(120% 90% at 50% 8%, #000 0%, rgba(0, 0, 0, 0.45) 48%, transparent 82%);
}

.ob-hero__vignette {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(120% 80% at 50% 120%, rgba(3, 3, 4, 0.92), transparent 62%),
    linear-gradient(180deg, rgba(5, 5, 6, 0.5), transparent 26%, transparent 74%, rgba(5, 5, 6, 0.85));
}

.ob-hero__inner {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: clamp(22px, 3.4vh, 40px);
}

.ob-hero__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.ob-kicker,
.ob-status {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-mono);
  font-size: 9.5px;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--bone-dim);
}

.ob-kicker__dot,
.ob-status i,
.ob-live-dot {
  display: inline-block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px rgba(190, 205, 255, 0.85);
  flex: none;
}

.ob-kicker__dot {
  animation: obPulse 3.4s ease-in-out infinite;
}

@keyframes obPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.35; transform: scale(0.82); }
}

.ob-status { color: var(--muted); }
.ob-status i { background: #9fe8c6; box-shadow: 0 0 12px rgba(140, 240, 200, 0.8); }

.ob-hero__title {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: clamp(30px, 9.4vw, 176px);
  line-height: 0.94;
  letter-spacing: -0.055em;
  margin: 0;
  text-wrap: nowrap;
}

.ob-hero__line {
  display: block;
  white-space: nowrap;
}

.ob-hero__title em {
  font-family: var(--font-display);
  font-style: normal;
  font-weight: 300;
  letter-spacing: -0.03em;
  background: var(--prism);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  padding-right: 0.06em;
}

/* One mono line of technical fact under the statement — not a paragraph. */
.ob-hero__sub {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  font-family: var(--font-mono);
  font-size: clamp(8.5px, 0.72vw, 10.5px);
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--dim);
}
.ob-hero__sub b { color: var(--accent-strong); font-weight: 400; }

.ob-hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: clamp(8px, 2vh, 22px);
}

.ob-hero__foot {
  width: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  padding-top: clamp(18px, 2.6vh, 28px);
  border-top: 1px solid var(--line);
  margin-top: clamp(30px, 6vh, 72px);
}

.ob-facts {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(18px, 3.4vw, 56px);
}
.ob-facts div { display: grid; gap: 5px; }
.ob-facts dt {
  font-family: var(--font-mono);
  font-size: 8.5px;
  letter-spacing: 0.22em;
  color: var(--dim);
}
.ob-facts dd { font-size: 12.5px; color: var(--bone-dim); letter-spacing: -0.005em; }

.ob-hero__tools { display: flex; align-items: center; gap: clamp(12px, 2vw, 26px); flex: none; }

.ob-film {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  height: 34px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.12em;
  transition: color 0.3s ease, border-color 0.3s ease;
}
.ob-film:hover { color: var(--bone); border-color: var(--line-strong); }
.ob-film__play {
  width: 0;
  height: 0;
  border-left: 6px solid currentColor;
  border-top: 4px solid transparent;
  border-bottom: 4px solid transparent;
}

.ob-scroll {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 8.5px;
  letter-spacing: 0.26em;
  color: var(--dim);
  text-transform: uppercase;
}
.ob-scroll i {
  display: block;
  width: 1px;
  height: 26px;
  background: linear-gradient(180deg, var(--line-strong), transparent);
  position: relative;
  overflow: hidden;
}
.ob-scroll i::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 1px;
  height: 10px;
  background: var(--bone);
  animation: obScroll 2.6s cubic-bezier(0.65, 0, 0.35, 1) infinite;
}
@keyframes obScroll {
  0% { transform: translateY(-12px); opacity: 0; }
  30% { opacity: 1; }
  100% { transform: translateY(28px); opacity: 0; }
}

.ob-hero__rail {
  position: absolute;
  right: clamp(4px, 0.8vw, 12px);
  top: 50%;
  transform: translateY(-50%) rotate(180deg);
  writing-mode: vertical-rl;
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.3em;
  color: rgba(244, 241, 234, 0.18);
  pointer-events: none;
}
@media (max-width: 1179px) { .ob-hero__rail { display: none; } }

/* Ticker */
.ob-ticker {
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  padding: 13px 0;
  background: rgba(255, 255, 255, 0.012);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.ob-ticker__track {
  display: flex;
  align-items: center;
  gap: 34px;
  width: max-content;
  animation: obTicker 48s linear infinite;
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.24em;
  color: var(--dim);
  white-space: nowrap;
}
.ob-ticker__track i {
  display: block;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--accent-strong);
  opacity: 0.7;
}
@keyframes obTicker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* --------------------------------------------------------------------------
   O3  Section grammar
   -------------------------------------------------------------------------- */
.ob-section {
  position: relative;
  padding-block: var(--section-y);
  border-bottom: 1px solid var(--line);
}

.ob-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 13px;
  border-bottom: 1px solid var(--line);
  margin-bottom: clamp(34px, 5vw, 72px);
}

.ob-label {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--bone-dim);
}
.ob-label i {
  display: block;
  width: 5px;
  height: 5px;
  background: var(--accent);
  transform: rotate(45deg);
  box-shadow: 0 0 10px rgba(190, 205, 255, 0.7);
}

.ob-head__aside {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--dim);
  text-align: right;
}

.ob-display {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: clamp(29px, 4.5vw, 64px);
  line-height: 1.1;
  letter-spacing: -0.05em;
  text-wrap: balance;
}
.ob-display em {
  font-family: var(--font-display);
  font-style: normal;
  font-weight: 300;
  letter-spacing: -0.035em;
  background: var(--prism);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.ob-display + .ob-lead { margin-top: clamp(16px, 1.6vw, 26px); }

.ob-lead {
  max-width: 47ch;
  font-size: clamp(13.5px, 1vw, 15.5px);
  line-height: 1.78;
  color: var(--muted);
  letter-spacing: -0.008em;
}

.ob-note {
  margin-top: 18px;
  font-size: 12px;
  line-height: 1.7;
  color: var(--dim);
  max-width: 72ch;
}

.ob-cta-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: clamp(22px, 3vw, 34px); }

.ob-chip {
  display: inline-block;
  min-height: 24px;
  padding: 4px 10px 3px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 8.5px;
  line-height: 1.45;
  letter-spacing: 0.16em;
  color: var(--bone-dim);
  text-transform: uppercase;
  text-align: center;
}
.ob-chip--dim { color: var(--dim); border-color: var(--line); }

/* Reveal — only armed once JS is running, so a script failure never hides copy.
   main.js adds .is-visible as each block enters the viewport. */
.ob-js [data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.95s var(--ease), transform 0.95s var(--ease);
}
.ob-js [data-reveal].is-visible { opacity: 1; transform: none; }

/* --------------------------------------------------------------------------
   O4  Thesis
   -------------------------------------------------------------------------- */
.ob-thesis__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
  gap: clamp(28px, 5vw, 88px);
  align-items: end;
}
.ob-thesis__grid .ob-display { font-size: clamp(30px, 4.9vw, 70px); }

.ob-facts3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin-top: clamp(44px, 6vw, 84px);
  border-top: 1px solid var(--line);
}
.ob-facts3 li {
  position: relative;
  padding: 22px clamp(16px, 2.2vw, 34px) 0 0;
}
.ob-facts3 li + li {
  padding-left: clamp(16px, 2.2vw, 34px);
  border-left: 1px solid var(--line);
}
.ob-facts3__no {
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.2em;
  color: var(--accent-strong);
}
.ob-facts3 h3 {
  margin-top: 12px;
  font-size: clamp(15px, 1.3vw, 18px);
  font-weight: 600;
  letter-spacing: -0.025em;
}
.ob-facts3 p {
  margin-top: 9px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--muted);
  max-width: 34ch;
}

/* --------------------------------------------------------------------------
   O5  Architecture console
   -------------------------------------------------------------------------- */
.ob-arch__intro,
.ob-cap__intro,
.ob-pipeline__intro,
.ob-principles__intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.86fr);
  gap: clamp(24px, 5vw, 80px);
  align-items: end;
  margin-bottom: clamp(34px, 4.4vw, 56px);
}
.ob-arch__intro .ob-lead,
.ob-pipeline__intro .ob-lead { justify-self: end; }

.ob-console {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--ob-radius);
  background:
    radial-gradient(600px 300px at var(--ob-mx, 70%) var(--ob-my, 0%), rgba(174, 190, 255, 0.07), transparent 70%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.008) 55%, rgba(255, 255, 255, 0.004));
  overflow: hidden;
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.045);
}

/* Corner registration ticks. */
.ob-console::before,
.ob-console::after {
  content: "";
  position: absolute;
  width: 9px;
  height: 9px;
  border: 1px solid rgba(244, 241, 234, 0.3);
  pointer-events: none;
}
.ob-console::before { top: 8px; left: 8px; border-right: 0; border-bottom: 0; }
.ob-console::after { bottom: 8px; right: 8px; border-left: 0; border-top: 0; }

.ob-console__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 14px;
  border-bottom: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.28);
}

.ob-tabs { display: flex; gap: 6px; flex-wrap: wrap; }

.ob-tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 32px;
  padding: 0 13px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--dim);
  transition: color 0.3s ease, background 0.3s ease, border-color 0.3s ease;
}
.ob-tab span {
  font-family: var(--font-mono);
  font-size: 8.5px;
  letter-spacing: 0.1em;
  opacity: 0.8;
}
.ob-tab:hover { color: var(--bone-dim); }
.ob-tab.is-active {
  color: var(--bone);
  background: rgba(244, 241, 234, 0.065);
  border-color: rgba(244, 241, 234, 0.14);
}

.ob-run {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  height: 32px;
  padding: 0 14px;
  border: 1px solid rgba(244, 241, 234, 0.2);
  border-radius: 999px;
  color: var(--bone-dim);
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: transparent;
  transition: color 0.3s ease, border-color 0.3s ease, background 0.3s ease;
}
.ob-run:hover { color: var(--bone); border-color: rgba(244, 241, 234, 0.45); background: rgba(244, 241, 234, 0.05); }
.ob-run__glyph {
  width: 0;
  height: 0;
  border-left: 6px solid currentColor;
  border-top: 4px solid transparent;
  border-bottom: 4px solid transparent;
  transition: border 0.2s ease;
}
.ob-run.is-running .ob-run__glyph {
  width: 7px;
  height: 7px;
  border: 1px solid currentColor;
  border-top-color: transparent;
  border-radius: 50%;
  animation: obSpin 0.8s linear infinite;
}
@keyframes obSpin { to { transform: rotate(360deg); } }

.ob-console__body { display: flex; flex-direction: column; }
.ob-pane[hidden] { display: none; }

.ob-track { position: relative; padding: clamp(26px, 3.6vw, 46px) clamp(14px, 2.4vw, 30px) 6px; }

.ob-track__line {
  position: absolute;
  left: 12.5%;
  right: 12.5%;
  top: calc(clamp(26px, 3.6vw, 46px) + 7px);
  height: 1px;
  background: linear-gradient(90deg, rgba(244, 241, 234, 0.05), rgba(244, 241, 234, 0.26), rgba(244, 241, 234, 0.05));
  overflow: visible;
}
.ob-track__pulse {
  position: absolute;
  top: -1.5px;
  left: 0;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--bone);
  box-shadow: 0 0 14px 3px rgba(190, 205, 255, 0.75);
  animation: obTravel 6.4s cubic-bezier(0.5, 0, 0.5, 1) infinite;
}
@keyframes obTravel {
  0% { left: 0%; opacity: 0; }
  6% { opacity: 1; }
  94% { opacity: 1; }
  100% { left: 100%; opacity: 0; }
}

.ob-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  position: relative;
}

.ob-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  padding: 0 6px;
  text-align: center;
  color: var(--dim);
  transition: color 0.35s ease;
}
.ob-step__node {
  width: 13px;
  height: 13px;
  border: 1px solid rgba(244, 241, 234, 0.28);
  border-radius: 50%;
  background: #08080a;
  margin-bottom: 12px;
  position: relative;
  transition: border-color 0.35s ease, box-shadow 0.4s ease, transform 0.4s var(--ease);
}
.ob-step__node::after {
  content: "";
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  background: var(--bone);
  opacity: 0;
  transform: scale(0.4);
  transition: opacity 0.35s ease, transform 0.45s var(--ease);
}
.ob-step:hover { color: var(--bone-dim); }
.ob-step:hover .ob-step__node { border-color: rgba(244, 241, 234, 0.6); }

.ob-step.is-active { color: var(--bone); }
.ob-step.is-active .ob-step__node {
  border-color: rgba(214, 224, 255, 0.9);
  box-shadow: 0 0 0 4px rgba(160, 178, 255, 0.1), 0 0 22px rgba(160, 178, 255, 0.55);
}
.ob-step.is-active .ob-step__node::after { opacity: 1; transform: scale(1); }

.ob-step.is-sending .ob-step__node {
  border-color: #fff;
  box-shadow: 0 0 0 6px rgba(160, 178, 255, 0.13), 0 0 30px rgba(190, 205, 255, 0.8);
}

.ob-step__no {
  font-family: var(--font-mono);
  font-size: 8.5px;
  letter-spacing: 0.18em;
  opacity: 0.75;
}
.ob-step__name {
  font-size: clamp(12px, 1.05vw, 14px);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.35;
}
.ob-step__tag {
  font-family: var(--font-mono);
  font-size: 7.5px;
  letter-spacing: 0.16em;
  color: var(--dim);
  text-transform: uppercase;
  margin-top: 2px;
}

.ob-details {
  border-top: 1px solid var(--line);
  padding: clamp(20px, 2.6vw, 30px) clamp(16px, 2.4vw, 30px) clamp(22px, 2.8vw, 32px);
  min-height: 148px;
  background: rgba(0, 0, 0, 0.18);
}
.ob-detail[hidden] { display: none; }
.ob-detail__io {
  display: block;
  font-family: var(--font-mono);
  font-size: 8.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-strong);
  margin-bottom: 12px;
}
.ob-detail h3 {
  font-size: clamp(17px, 1.6vw, 21px);
  font-weight: 600;
  letter-spacing: -0.03em;
  margin-bottom: 8px;
}
.ob-detail p {
  font-size: clamp(12.5px, 0.95vw, 14px);
  line-height: 1.72;
  color: var(--muted);
  max-width: 76ch;
}

.ob-log {
  display: flex;
  align-items: baseline;
  gap: 9px;
  min-height: 40px;
  padding: 11px clamp(16px, 2.4vw, 30px);
  border-top: 1px solid var(--line);
  background: #030304;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.04em;
  color: #b8c6ac;
}
.ob-log__cursor { color: var(--accent-strong); }
.ob-log__text { min-width: 0; overflow-wrap: anywhere; }
.ob-log.is-running .ob-log__text::after {
  content: "";
  display: inline-block;
  width: 6px;
  height: 11px;
  margin-left: 4px;
  background: #b8c6ac;
  vertical-align: -1px;
  animation: obBlink 1s steps(2, start) infinite;
}
@keyframes obBlink { 50% { opacity: 0; } }

.ob-console__note {
  padding: 12px clamp(16px, 2.4vw, 30px) 16px;
  border-top: 1px solid rgba(244, 241, 234, 0.06);
  font-size: 11px;
  line-height: 1.65;
  color: var(--dim);
}

/* --------------------------------------------------------------------------
   O6  Capability rows
   -------------------------------------------------------------------------- */
.ob-rows { border-bottom: 1px solid var(--line); }

.ob-row {
  position: relative;
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr) 132px 26px;
  gap: clamp(12px, 2vw, 28px);
  align-items: start;
  padding: clamp(22px, 2.8vw, 34px) 0;
  border-top: 1px solid var(--line);
  transition: background 0.5s ease, padding 0.5s var(--ease);
}
.ob-row::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--accent), transparent);
  transition: width 0.9s var(--ease);
}
.ob-row:hover::after { width: 100%; }
.ob-row:hover { background: linear-gradient(90deg, rgba(255, 255, 255, 0.028), transparent 62%); }

.ob-row__no {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--dim);
  padding-top: 7px;
  transition: color 0.35s ease;
}
.ob-row:hover .ob-row__no { color: var(--accent); }

.ob-row__main h3 {
  font-size: clamp(18px, 2.05vw, 27px);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1.25;
}
.ob-row__main p {
  margin-top: 9px;
  font-size: clamp(12.5px, 0.95vw, 14px);
  line-height: 1.72;
  color: var(--muted);
  max-width: 68ch;
}
.ob-row__tag {
  font-family: var(--font-mono);
  font-size: 8.5px;
  letter-spacing: 0.18em;
  color: var(--dim);
  text-transform: uppercase;
  padding-top: 10px;
  white-space: nowrap;
}
.ob-row__arw {
  color: var(--dim);
  font-size: 14px;
  padding-top: 7px;
  transition: transform 0.45s var(--ease), color 0.35s ease;
}
.ob-row:hover .ob-row__arw { color: var(--bone); transform: translate(3px, -3px); }

/* --------------------------------------------------------------------------
   O7  Flagship
   -------------------------------------------------------------------------- */
.ob-flagship__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  gap: clamp(30px, 5vw, 84px);
  align-items: start;
}

.ob-spec {
  margin-top: clamp(24px, 3.4vw, 38px);
  border-top: 1px solid var(--line);
}
.ob-spec div {
  display: grid;
  grid-template-columns: 128px minmax(0, 1fr);
  gap: 18px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  align-items: baseline;
}
.ob-spec dt {
  font-family: var(--font-mono);
  font-size: 8.5px;
  letter-spacing: 0.18em;
  color: var(--dim);
}
.ob-spec dd { font-size: 13.5px; color: var(--bone-dim); }

.ob-figure { margin: 0; }
.ob-figure__frame {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  background: #08080a;
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.6);
  transform: perspective(1200px) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg));
  transition: transform 0.5s var(--ease);
}
.ob-figure__frame img {
  width: 100%;
  height: auto;
  display: block;
  filter: contrast(1.06) saturate(0.72) brightness(0.9);
  transform: scale(1.005);
}
.ob-figure__sheen {
  position: absolute;
  inset: 0;
  background: linear-gradient(112deg, transparent 40%, rgba(255, 255, 255, 0.07) 50%, transparent 60%);
  mix-blend-mode: screen;
  pointer-events: none;
}
.ob-figure figcaption {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 10px;
  font-family: var(--font-mono);
  font-size: 8.5px;
  letter-spacing: 0.18em;
  color: var(--dim);
  text-transform: uppercase;
}

/* --------------------------------------------------------------------------
   O8  Pipeline 02 · 03
   -------------------------------------------------------------------------- */.ob-pipe-rows {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.ob-pipe-row {
  padding: clamp(24px, 3vw, 40px) clamp(18px, 2.4vw, 34px) clamp(22px, 2.6vw, 32px) 0;
  transition: background 0.5s ease;
}
.ob-pipe-row + .ob-pipe-row {
  border-left: 1px solid var(--line);
  padding-left: clamp(18px, 2.4vw, 34px);
}
.ob-pipe-row:hover { background: rgba(255, 255, 255, 0.018); }
.ob-pipe-row__top { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 18px; }
.ob-pipe-row h3 {
  font-size: clamp(18px, 2vw, 25px);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1.3;
}
.ob-pipe-row p {
  margin-top: 10px;
  font-size: 13px;
  line-height: 1.74;
  color: var(--muted);
  max-width: 48ch;
}
.ob-pipe-row__meta {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-top: 22px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 8.5px;
  letter-spacing: 0.18em;
  color: var(--dim);
}

/**
 * O8b  Pipeline 02 – 05 + ROADMAP 06
 * Four equal flagship cards on a hairline grid; the roadmap band runs the
 * full width underneath so it never reads as a fifth shipping product.
 */
.ob-pipe-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.ob-pcard {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: clamp(24px, 2.8vw, 38px) clamp(18px, 2.4vw, 34px) clamp(22px, 2.4vw, 30px) 0;
  transition: background 0.5s ease;
}
.ob-pcard:nth-child(2n) { padding-right: 0; padding-left: clamp(18px, 2.4vw, 34px); }
.ob-pcard:nth-child(2n-1) { border-right: 1px solid var(--line); }
.ob-pcard:nth-child(n+3) { border-top: 1px solid var(--line); }
.ob-pcard:hover { background: rgba(255, 255, 255, 0.018); }

.ob-pcard__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: clamp(14px, 1.8vw, 20px);
}
.ob-pcard__state { max-width: 100%; text-align: left; }
.ob-pcard__state--open {
  color: var(--accent);
  border-color: var(--line-accent);
  box-shadow: 0 0 18px rgba(150, 170, 255, 0.12) inset;
}

.ob-pcard__name {
  font-size: clamp(19px, 2vw, 26px);
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 1.18;
  color: var(--bone);
  overflow-wrap: anywhere;
}
.ob-pcard__kind {
  display: block;
  margin-top: 8px;
  font-size: 12.5px;
  letter-spacing: -0.01em;
  color: var(--bone-dim);
}
.ob-pcard__desc {
  margin-top: 12px;
  font-size: 13px;
  line-height: 1.74;
  color: var(--muted);
  max-width: 46ch;
}
.ob-pcard__spec {
  display: grid;
  gap: 7px;
  margin-top: 18px;
}
.ob-pcard__spec div {
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr);
  gap: 10px;
  align-items: baseline;
}
.ob-pcard__spec dt {
  font-family: var(--font-mono);
  font-size: 8.5px;
  letter-spacing: 0.16em;
  color: var(--dim);
  text-transform: uppercase;
}
.ob-pcard__spec dd {
  font-size: 12px;
  line-height: 1.55;
  color: var(--bone-dim);
}
.ob-pcard__foot {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: auto;
  padding-top: clamp(20px, 2.4vw, 28px);
}
.ob-pcard__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 3px;
  border-bottom: 1px solid var(--line-strong);
  font-size: 12.5px;
  font-weight: 500;
  color: var(--bone);
  transition: color 0.35s ease, border-color 0.35s ease;
}
.ob-pcard__link .arw { font-size: 11px; color: var(--dim); transition: color 0.35s ease; }
.ob-pcard__link:hover { color: #fff; border-color: var(--accent); }
.ob-pcard__link:hover .arw { color: var(--accent); }
.ob-pcard--open .ob-pcard__link { border-color: var(--line-accent); }
.ob-pcard__meta {
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.16em;
  color: var(--dim);
  text-transform: uppercase;
}

.ob-roadmap {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  column-gap: clamp(16px, 2.6vw, 34px);
  row-gap: 10px;
  align-items: start;
  margin-top: clamp(26px, 3.4vw, 44px);
  padding: clamp(22px, 2.8vw, 34px) clamp(18px, 2.4vw, 34px);
  border: 1px solid var(--line);
  background:
    linear-gradient(118deg, rgba(160, 178, 255, 0.055), transparent 58%),
    rgba(255, 255, 255, 0.012);
}
.ob-roadmap__no {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(34px, 4.6vw, 62px);
  line-height: 0.86;
  letter-spacing: -0.04em;
  color: transparent;
  -webkit-text-stroke: 1px var(--line-strong);
}
@supports not (-webkit-text-stroke: 1px #fff) {
  .ob-roadmap__no { color: var(--line-strong); -webkit-text-stroke: 0; }
}
.ob-roadmap__body { min-width: 0; }
.ob-roadmap .ob-pcard__top { justify-content: flex-start; gap: 10px; }
.ob-roadmap__note {
  grid-column: 2;
  margin-top: 0;
  font-size: 11.5px;
  line-height: 1.7;
  color: var(--dim);
  max-width: 60ch;
}

/* Product-specific inquiry links in 08 CONTACT */
.ob-quick {
  display: flex;
  align-items: baseline;
  gap: 10px 16px;
  flex-wrap: wrap;
  margin-top: clamp(22px, 2.8vw, 30px);
}
.ob-quick__k {
  font-family: var(--font-mono);
  font-size: 8.5px;
  letter-spacing: 0.18em;
  color: var(--dim);
  text-transform: uppercase;
}
.ob-quick__list {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.ob-quick__list a {
  display: inline-flex;
  align-items: center;
  height: 28px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 11.5px;
  color: var(--bone-dim);
  transition: color 0.3s ease, border-color 0.3s ease, background 0.3s ease;
}
.ob-quick__list a:hover {
  color: var(--bone);
  border-color: var(--line-accent);
  background: var(--accent-soft);
}

/* --------------------------------------------------------------------------
   O9  Principles
   -------------------------------------------------------------------------- */.ob-numbers {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
}
.ob-number {
  padding: clamp(22px, 3vw, 38px) clamp(14px, 1.8vw, 26px) 6px 0;
}
.ob-number + .ob-number {
  padding-left: clamp(14px, 1.8vw, 26px);
  border-left: 1px solid var(--line);
}
.ob-number__num {
  display: block;
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(58px, 7.6vw, 116px);
  line-height: 0.86;
  letter-spacing: -0.06em;
  background: linear-gradient(180deg, #fbf8f1 0%, #b9b4a8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  font-variant-numeric: tabular-nums;
}
.ob-number h3 {
  margin-top: 18px;
  font-size: clamp(14px, 1.2vw, 17px);
  font-weight: 600;
  letter-spacing: -0.025em;
}
.ob-number p {
  margin-top: 7px;
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--muted);
  max-width: 32ch;
}

/* --------------------------------------------------------------------------
   O10 Studio statement
   -------------------------------------------------------------------------- */
.ob-studio { border-bottom: 1px solid var(--line); }
.ob-quote {
  margin: 0;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(26px, 5vw, 80px);
  align-items: end;
}
.ob-quote blockquote {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: clamp(30px, 4.6vw, 66px);
  line-height: 1.12;
  letter-spacing: -0.05em;
}
.ob-quote blockquote em {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 300;
  letter-spacing: -0.03em;
  background: var(--prism);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}
.ob-quote figcaption p {
  font-size: clamp(13px, 1vw, 15px);
  line-height: 1.78;
  color: var(--muted);
  max-width: 44ch;
}
.ob-quote__rule {
  display: block;
  width: 48px;
  height: 1px;
  background: var(--accent);
  margin-bottom: 20px;
}
.ob-quote__src {
  display: block;
  margin-top: 18px;
  font-family: var(--font-mono);
  font-size: 8.5px;
  letter-spacing: 0.22em;
  color: var(--dim);
}

/* --------------------------------------------------------------------------
   O11 Contact
   -------------------------------------------------------------------------- */
.ob-contact__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(30px, 5vw, 84px);
  align-items: start;
}

.ob-mail {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: clamp(26px, 3.4vw, 40px);
  padding-bottom: 6px;
  border-bottom: 1px solid var(--line-strong);
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(18px, 2.3vw, 30px);
  letter-spacing: -0.02em;
  color: var(--bone);
  transition: border-color 0.35s ease, color 0.35s ease;
  max-width: 100%;
  overflow-wrap: anywhere;
}
.ob-mail:hover { border-color: var(--bone); }
.ob-mail__arw { font-size: 0.6em; color: var(--muted); }

.ob-channels { border-top: 1px solid var(--line); }
.ob-channels li { border-bottom: 1px solid var(--line); }
.ob-channels a {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 16px 2px;
  transition: background 0.4s ease, padding-left 0.4s var(--ease);
}
.ob-channels a:hover { background: rgba(255, 255, 255, 0.025); padding-left: 8px; }
.ob-channels__k {
  font-family: var(--font-mono);
  font-size: 8.5px;
  letter-spacing: 0.18em;
  color: var(--dim);
}
.ob-channels__v {
  font-size: 13.5px;
  color: var(--bone-dim);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.ob-channels__t {
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.16em;
  color: var(--dim);
}

/* Contact form: product-prefilled inquiry notice */
.form-prefill {
  margin: 0 0 18px;
  padding: 12px 14px;
  border: 1px solid var(--line-accent);
  border-radius: 12px;
  background: var(--accent-soft);
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--bone-dim);
}

/* --------------------------------------------------------------------------
   O12  Pointer, motion, small screens
   -------------------------------------------------------------------------- */
.ob-cursor {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 400;
  width: 26px;
  height: 26px;
  margin: -13px 0 0 -13px;
  border: 1px solid rgba(244, 241, 234, 0.55);
  border-radius: 50%;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease, width 0.3s var(--ease), height 0.3s var(--ease), margin 0.3s var(--ease), border-color 0.3s ease;
  will-change: transform;
}
.ob-cursor.is-live { opacity: 1; }
.ob-cursor.is-hot { width: 46px; height: 46px; margin: -23px 0 0 -23px; border-color: rgba(206, 216, 255, 0.85); }
@media (hover: none), (pointer: coarse) { .ob-cursor { display: none; } }

/* Keep the language switch on the bar itself down to phone width. */
@media (max-width: 1080px) and (min-width: 360px) {
  .nav__right .lang-toggle { display: inline-flex; }
  .nav__right .lang-toggle button { min-width: 30px; padding: 6px 7px; font-size: 9px; }
}
@media (max-width: 400px) {
  .nav__sub { display: none; }
  .nav__brandtext { gap: 0; }
}
@media (max-width: 359px) {
  .nav { padding-left: 12px; }
  .nav__brandtext { display: none; }
  .nav__right .lang-toggle { display: inline-flex; }
  .nav__right .lang-toggle button { min-width: 28px; padding: 5px 6px; font-size: 8.5px; }
}


/* --------------------------------------------------------------------------
   O13  Sub-page chrome — the same obsidian grammar on the inner pages
   (structure untouched; only surface, tone and card material change)
   -------------------------------------------------------------------------- */
.page-hero::before {
  background: radial-gradient(620px 340px at 18% 18%, rgba(126, 143, 235, 0.16), transparent 66%);
}
.page-hero .fl-stage { display: none; }
.card {
  border-radius: 12px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.032), rgba(255, 255, 255, 0.006) 62%, rgba(255, 255, 255, 0.002));
  box-shadow: none;
}
.card:hover {
  border-color: rgba(206, 216, 255, 0.26);
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.5);
}
.card__idx, .chip, .sec-label .idx, .mono {
  font-family: var(--font-mono);
  letter-spacing: 0.16em;
}
.chip {
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  color: var(--bone-dim);
  background: transparent;
}
.chip--accent { color: var(--accent); border-color: rgba(206, 216, 255, 0.34); }
.sec-label .bar { background: var(--line-strong); }
.section-title { letter-spacing: -0.05em; }
.page-hero__glow, .hero__glow { filter: saturate(0.45) brightness(1.05); }
.rule { background: linear-gradient(90deg, transparent, var(--line-strong) 18%, var(--line-strong) 82%, transparent); }

@media (max-width: 1023px) {
  .ob-thesis__grid,
  .ob-arch__intro,
  .ob-cap__intro,
  .ob-pipeline__intro,
  .ob-principles__intro,
  .ob-flagship__grid,
  .ob-quote,
  .ob-contact__grid { grid-template-columns: minmax(0, 1fr); }
  .ob-arch__intro .ob-lead,
  .ob-pipeline__intro .ob-lead { justify-self: start; }
  .ob-numbers { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ob-number:nth-child(3) { border-left: 0; padding-left: 0; }
  .ob-number:nth-child(n+3) { border-top: 1px solid var(--line); }
  .ob-row { grid-template-columns: 40px minmax(0, 1fr) 20px; }
  .ob-row__tag { display: none; }
}

@media (max-width: 760px) {
  .ob-hero { padding-top: clamp(104px, 20vh, 150px); }
  .ob-hero__title { font-size: clamp(30px, 12vw, 64px); }
  .ob-head__aside { font-size: 8px; letter-spacing: 0.14em; max-width: 46%; text-align: right; }
  .ob-label { font-size: 9px; letter-spacing: 0.18em; }
  .ob-step__name { font-size: 10.5px; line-height: 1.3; letter-spacing: -0.05em; }
  .ob-step__no { font-size: 8px; }
  .ob-track { padding-inline: 8px; }
  .ob-details { padding: 16px 14px 20px; min-height: 0; }
  .ob-console__note { padding: 10px 14px 14px; }
  .ob-hero__foot { flex-direction: column; align-items: flex-start; gap: 18px; }
  .ob-facts { gap: 16px 26px; }
  .ob-facts3 { grid-template-columns: minmax(0, 1fr); }
  .ob-facts3 li { padding: 20px 0 22px; }
  .ob-facts3 li + li { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
  .ob-steps { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .ob-step__tag { display: none; }
  .ob-step__name { font-size: 11px; letter-spacing: -0.045em; }
  .ob-pipe-rows { grid-template-columns: minmax(0, 1fr); }
  .ob-pipe-row { padding-right: 0; }
  .ob-pipe-row + .ob-pipe-row { border-left: 0; border-top: 1px solid var(--line); padding-left: 0; }
  .ob-pipe-cards { grid-template-columns: minmax(0, 1fr); }
  .ob-pcard,
  .ob-pcard:nth-child(2n) { padding-right: 0; padding-left: 0; }
  .ob-pcard:nth-child(2n-1) { border-right: 0; }
  .ob-pcard:nth-child(n+2) { border-top: 1px solid var(--line); }
  .ob-roadmap { grid-template-columns: minmax(0, 1fr); }
  .ob-roadmap__no { font-size: clamp(30px, 9vw, 44px); }
  .ob-roadmap__note { grid-column: 1; }
  .ob-numbers { grid-template-columns: minmax(0, 1fr); }
  .ob-number { padding: 24px 0; }
  .ob-number + .ob-number { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
  .ob-channels a { grid-template-columns: 78px minmax(0, 1fr); }
  .ob-channels__t { display: none; }
  .ob-console__bar { flex-wrap: wrap; }
  .ob-spec div { grid-template-columns: 104px minmax(0, 1fr); gap: 12px; }
}

@media (max-width: 480px) {
  .ob-head__aside { display: none; }
}

@media (max-width: 420px) {
  .ob-hero__title { font-size: clamp(30px, 12.6vw, 46px); }
  .ob-head { gap: 8px; }
  .ob-head__aside { max-width: 42%; }
  .ob-kicker, .ob-status { font-size: 8.5px; letter-spacing: 0.16em; }
  .ob-hero__sub { font-size: 8px; letter-spacing: 0.16em; gap: 8px; }
  .ob-step__no { font-size: 7.5px; }
  .ob-step__name { font-size: 10px; }
  .ob-step__node { width: 11px; height: 11px; }
  .ob-track__line { left: 12.5%; right: 12.5%; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .ob-ticker__track { transform: none; }
  .ob-hero__field { opacity: 1; }
  [data-reveal] { opacity: 1; transform: none; }
}

@media (prefers-contrast: more) {
  :root {
    --line: rgba(244, 241, 234, 0.32);
    --line-strong: rgba(244, 241, 234, 0.5);
    --muted: #c8c3ba;
    --dim: #a9a49b;
  }
}

@media (prefers-reduced-transparency: reduce) {
  .nav { background: #08080a; backdrop-filter: none; -webkit-backdrop-filter: none; }
  .ob-console { background: #0a0a0c; }
}
