/* ═══════════════════════════════════════════════════════════════
   OMorals Media — site styles
   ═══════════════════════════════════════════════════════════════ */

@property --glow {
  syntax: "<color>";
  inherits: true;
  initial-value: #ff5a1f;
}

:root {
  --ink: #07080c;
  --ink-2: #0e1017;
  --ink-3: #171a24;
  --cream: #f3eee5;
  --cream-2: #c9c4ba;
  --mute: #a5a39c;
  --line: rgba(243, 238, 229, 0.12);
  --line-2: rgba(243, 238, 229, 0.22);

  --accent: #ff5a1f;
  --red: #ff3b3f;
  --green: #19c99a;
  --blue: #6f8bff;

  --glow: #ff5a1f;

  --f-display: "Bricolage Grotesque", "Helvetica Neue", Arial, sans-serif;
  --f-serif: "Instrument Serif", "Times New Roman", serif;
  --f-body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;

  --pad: clamp(20px, 4.2vw, 72px);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-io: cubic-bezier(0.76, 0, 0.24, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  background: var(--ink);
  color: var(--cream);
  scrollbar-color: #2a2d38 var(--ink);
}
html.is-loading, html.menu-open { overflow: hidden; }

body {
  margin: 0;
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

h1, h2, h3, h4, p, ol, ul, fieldset { margin: 0; padding: 0; border: 0; }
ol, ul { list-style: none; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; color: inherit; }
img, svg, canvas { display: block; }
::selection { background: var(--accent); color: var(--ink); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; border-radius: 4px; }

em { font-family: var(--f-serif); font-style: italic; font-weight: 400; letter-spacing: -0.01em; color: var(--accent); }

/* Lenis */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

/* ───────────── Preloader ───────────── */
.loader {
  --hole: 0px;
  position: fixed; inset: 0; z-index: 100;
  display: grid; grid-template-rows: auto 1fr auto;
  padding: clamp(18px, 3vw, 40px) var(--pad);
  background: var(--ink);
  color: var(--cream);
  -webkit-mask: radial-gradient(circle at 50% 50%, transparent var(--hole), #000 calc(var(--hole) + 1.5px));
          mask: radial-gradient(circle at 50% 50%, transparent var(--hole), #000 calc(var(--hole) + 1.5px));
}
.loader.is-done { display: none; }
.loader__top, .loader__bottom { display: flex; justify-content: space-between; align-items: flex-end; }
.loader__top { align-items: flex-start; }
.loader__brand, .loader__hint {
  font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--cream-2);
}
.loader__words { height: 1.25em; overflow: hidden; font-family: var(--f-serif); font-style: italic; font-size: clamp(20px, 2.4vw, 30px); line-height: 1.25; color: var(--accent); }
.loader__words-track { display: flex; flex-direction: column; text-align: right; animation: words 2.7s var(--ease-io) infinite; }
@keyframes words {
  0%, 22% { transform: translateY(0); }
  33%, 55% { transform: translateY(-25%); }
  66%, 88% { transform: translateY(-50%); }
  100% { transform: translateY(-75%); }
}
.loader__mark { display: grid; place-items: center; }
.loader__mark svg { width: min(34vmin, 260px); height: auto; overflow: visible; transform-origin: 50% 50%; }
.loader__ring-bg { fill: none; stroke: rgba(243, 238, 229, 0.09); stroke-width: 20; }
.loader__ring {
  fill: none; stroke: var(--cream); stroke-width: 20;
  stroke-dasharray: 100; stroke-dashoffset: 100;
  transform: rotate(-90deg); transform-origin: 100px 100px;
}
.loader__play { fill: var(--accent); opacity: 0; }
.loader__count {
  display: block; overflow: hidden;
  font-family: var(--f-display); font-weight: 700; font-variation-settings: "opsz" 96;
  font-size: clamp(64px, 13vw, 200px); line-height: 0.82; letter-spacing: -0.05em;
  font-variant-numeric: tabular-nums;
}
.loader__count span { display: block; }

/* ───────────── Fixed stage (WebGL + glows + grain) ───────────── */
.stage { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; background: var(--ink); }
#scene { position: absolute; inset: 0; width: 100%; height: 100%; }
.stage__glow {
  position: absolute; border-radius: 50%;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--glow) 34%, transparent), color-mix(in srgb, var(--glow) 12%, transparent) 55%, transparent);
  will-change: transform;
}
.stage__glow--a { width: 86vmax; height: 86vmax; right: -32vmax; top: -36vmax; }
.stage__glow--b { width: 66vmax; height: 66vmax; left: -30vmax; bottom: -34vmax; opacity: 0.55; }
.stage__grain {
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: 0.045;
}
body { transition: --glow 1.1s ease; }
body[data-glow="orange"] { --glow: #ff5a1f; }
body[data-glow="red"]    { --glow: #ff3040; }
body[data-glow="green"]  { --glow: #14be91; }
body[data-glow="blue"]   { --glow: #5870ff; }

/* ───────────── Cursor ─────────────
   The system cursor is never hidden, so pointing always feels instant.
   A thin ring trails it and a small label appears beside it over special
   targets. Both move with transform/opacity only (no layout, no blur). */
.cursor { position: fixed; left: 0; top: 0; z-index: 90; pointer-events: none; opacity: 0; transition: opacity .25s; will-change: transform; }
.has-cursor .cursor { opacity: 1; }
.cursor__ring {
  position: absolute; left: -17px; top: -17px; width: 34px; height: 34px; border-radius: 50%;
  border: 1px solid rgba(243, 238, 229, 0.5);
  transition: transform .22s var(--ease), opacity .2s, border-color .2s, background-color .2s;
}
.cursor.is-link .cursor__ring { transform: scale(1.55); border-color: rgba(255, 90, 31, 0.9); background-color: rgba(255, 90, 31, 0.1); }
.cursor.is-down .cursor__ring { transform: scale(0.8); }
.cursor.is-label .cursor__ring, .cursor.is-text .cursor__ring { opacity: 0; transform: scale(0.4); }
.cursor__label {
  position: absolute; left: 16px; top: 18px; padding: 7px 12px; border-radius: 999px;
  background: var(--cream); color: var(--ink);
  font-size: 12px; font-weight: 700; letter-spacing: 0.02em; line-height: 1; white-space: nowrap;
  opacity: 0; transform: translateY(6px) scale(0.9); transform-origin: 0 0;
  transition: opacity .18s, transform .22s var(--ease);
}
.cursor.is-label .cursor__label { opacity: 1; transform: none; }
@media (hover: none), (pointer: coarse) { .cursor { display: none; } }

/* ───────────── Scroll progress ───────────── */
.progress { position: fixed; left: 0; right: 0; top: 0; height: 2px; z-index: 60; }
.progress span { display: block; height: 100%; background: var(--accent); transform-origin: 0 50%; transform: scaleX(0); }

/* ───────────── Nav ───────────── */
.nav {
  position: fixed; left: 0; right: 0; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 18px var(--pad);
  transition: transform .55s var(--ease), background .4s;
}
.nav.is-hidden { transform: translateY(-110%); }
.nav.is-solid { background: rgba(7, 8, 12, 0.86); box-shadow: 0 1px 0 var(--line); }
.nav__brand { display: inline-flex; align-items: center; gap: 2px; font-family: var(--f-display); font-weight: 700; font-size: 24px; letter-spacing: -0.04em; }
.nav__mark { width: 30px; height: 30px; transition: transform .8s var(--ease); }
.nav__brand:hover .nav__mark { transform: rotate(360deg); }
.nav__links { display: flex; gap: clamp(16px, 2.4vw, 36px); font-size: 14px; font-weight: 500; }
.nav__links a { position: relative; display: block; padding: 4px 0; color: var(--cream-2); transition: color .25s; }
.nav__links a:hover { color: var(--cream); }
.nav__links a::before {
  content: ""; position: absolute; left: 0; right: 0; bottom: 1px; height: 1px; background: var(--accent);
  transform: scaleX(0); transform-origin: 100% 50%; transition: transform .45s var(--ease);
}
.nav__links a:hover::before, .nav__links a.is-active::before { transform: scaleX(1); transform-origin: 0 50%; }
.nav__links a.is-active { color: var(--cream); }
.nav__actions { display: flex; align-items: center; gap: 18px; }
.nav__login { font-size: 14px; font-weight: 600; color: var(--cream-2); transition: color .2s; }
.nav__login:hover { color: var(--cream); }
.nav__burger { display: none; width: 44px; height: 44px; border: 1px solid var(--line-2); border-radius: 50%; background: transparent; position: relative; cursor: pointer; }
.nav__burger span { position: absolute; left: 13px; right: 13px; height: 1.5px; background: var(--cream); transition: transform .4s var(--ease), top .4s var(--ease); }
.nav__burger span:first-child { top: 18px; }
.nav__burger span:last-child { top: 25px; }
.menu-open .nav__burger span:first-child { top: 21px; transform: rotate(45deg); }
.menu-open .nav__burger span:last-child { top: 21px; transform: rotate(-45deg); }

.menu {
  position: fixed; inset: 0; z-index: 45; background: var(--ink-2);
  display: flex; flex-direction: column; justify-content: space-between;
  padding: 110px var(--pad) 36px;
  clip-path: inset(0 0 100% 0); visibility: hidden;
  transition: clip-path .7s var(--ease-io), visibility 0s .7s;
}
.menu-open .menu { clip-path: inset(0); visibility: visible; transition: clip-path .7s var(--ease-io), visibility 0s; }
.menu__links a { display: flex; align-items: baseline; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); font-family: var(--f-display); font-weight: 600; font-size: clamp(30px, 9vw, 54px); letter-spacing: -0.04em; line-height: 1.05; overflow: hidden; }
.menu__links em { font-size: 15px; }
.menu__links span { display: block; transform: translateY(110%); transition: transform .7s var(--ease); }
.menu-open .menu__links span { transform: none; }
.menu__links a:nth-child(2) span { transition-delay: .05s; } .menu__links a:nth-child(3) span { transition-delay: .1s; }
.menu__links a:nth-child(4) span { transition-delay: .15s; } .menu__links a:nth-child(5) span { transition-delay: .2s; }
.menu__foot { display: flex; justify-content: space-between; gap: 16px; font-size: 14px; color: var(--cream-2); }

/* ───────────── Buttons & links ───────────── */
.btn {
  --bg: var(--accent); --fg: var(--ink);
  position: relative; display: inline-flex; align-items: center; gap: 12px;
  padding: 17px 26px; border-radius: 999px; border: 0; cursor: pointer;
  background: var(--bg); color: var(--fg);
  font-weight: 700; font-size: 15px; letter-spacing: -0.005em; line-height: 1;
  overflow: hidden; isolation: isolate; will-change: transform;
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  background: var(--cream); transform: translateY(101%); transition: transform .5s var(--ease);
}
.btn:hover::before { transform: none; }
.btn__icon { display: inline-block; transition: transform .45s var(--ease); }
.btn:hover .btn__icon { transform: translate(3px, -3px); }
.btn--ghost { --bg: transparent; --fg: var(--cream); box-shadow: inset 0 0 0 1px var(--line-2); transition: color .3s; }
.btn--ghost:hover { color: var(--ink); }
.btn--sm { padding: 13px 20px; font-size: 14px; }
.btn--lg { padding: 22px 34px; font-size: 17px; }
.btn__play { width: 0; height: 0; border-left: 9px solid var(--accent); border-top: 6px solid transparent; border-bottom: 6px solid transparent; }
.btn[disabled] { opacity: .6; pointer-events: none; }

.link { display: inline-flex; gap: 8px; align-items: center; font-weight: 600; font-size: 15px; color: var(--cream); background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat; padding-bottom: 3px; transition: background-size .45s var(--ease), color .2s; }
.link:hover { background-size: 0 1px; background-position: 100% 100%; color: var(--accent); }
.link--lg { font-size: clamp(18px, 1.6vw, 22px); }

.eyebrow { display: inline-flex; align-items: center; gap: 12px; font-size: 12px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--cream-2); }
.eyebrow i { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(255, 90, 31, 0.18); }

.display {
  font-family: var(--f-display); font-weight: 700; font-variation-settings: "opsz" 96;
  font-size: clamp(38px, 5.4vw, 88px); line-height: 0.98; letter-spacing: -0.045em;
  text-wrap: balance;
}
.display em { letter-spacing: -0.02em; font-size: 1.04em; }

main { position: relative; z-index: 1; }

/* Blank space the WebGL totems are glued to on single-column layouts */
.stage-slot { display: none; }
section { position: relative; }

/* ───────────── Hero ───────────── */
.hero {
  min-height: 100svh;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 120px var(--pad) clamp(28px, 4vw, 56px);
}
.hero__inner { max-width: 1500px; }
.hero__title {
  margin: 22px 0 clamp(28px, 4vw, 52px);
  font-family: var(--f-display); font-weight: 700; font-variation-settings: "opsz" 96;
  font-size: clamp(44px, 9.2vw, 168px); line-height: 0.9; letter-spacing: -0.055em;
}
.hero__title em { letter-spacing: -0.03em; font-size: 1.03em; }
.line { display: block; overflow: hidden; padding: 0.06em 0 0.12em; margin-bottom: -0.12em; }
.line__in { display: block; transform: translateY(115%); will-change: transform; }
.hero__row { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.hero__lead { max-width: 30em; font-size: clamp(16px, 1.35vw, 20px); color: var(--cream-2); }
.hero__cta { display: flex; gap: 12px; flex-wrap: wrap; }
.hero__index {
  display: flex; gap: clamp(18px, 3vw, 56px); margin-top: clamp(28px, 4vw, 56px); padding-top: 18px;
  border-top: 1px solid var(--line); font-size: 13px; color: var(--cream-2); flex-wrap: wrap;
}
.hero__index b { color: var(--accent); font-weight: 600; margin-right: 8px; font-variant-numeric: tabular-nums; }
.hero__index a { transition: color .2s; }
.hero__index a:hover { color: var(--cream); }
.hero__scroll {
  position: absolute; right: var(--pad); top: 50%; display: flex; align-items: center; gap: 12px;
  font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--cream-2);
  writing-mode: vertical-rl;
}
.hero__scroll span { width: 1px; height: 64px; background: var(--line-2); position: relative; overflow: hidden; }
.hero__scroll span::after { content: ""; position: absolute; inset: 0; background: var(--accent); animation: drip 2s var(--ease-io) infinite; }
@keyframes drip { 0% { transform: translateY(-100%); } 60%, 100% { transform: translateY(100%); } }

/* ───────────── Marquee ───────────── */
.marquee { position: relative; z-index: 1; overflow: hidden; border-block: 1px solid var(--line); padding: 22px 0; background: rgba(7, 8, 12, 0.72); }
.marquee__track { display: flex; align-items: center; gap: 36px; width: max-content; white-space: nowrap; will-change: transform; font-family: var(--f-display); font-weight: 600; font-size: clamp(26px, 3.6vw, 56px); letter-spacing: -0.04em; line-height: 1; }
.marquee__track i { font-style: normal; color: var(--accent); font-size: 0.55em; }
.marquee__track em { font-size: 1.08em; color: var(--cream); }

/* ───────────── Manifesto ───────────── */
.manifesto { min-height: 100svh; display: flex; flex-direction: column; justify-content: center; gap: 28px; padding: clamp(100px, 14vw, 220px) var(--pad); }
.manifesto__text {
  max-width: 21em;
  font-family: var(--f-display); font-weight: 600; font-variation-settings: "opsz" 60;
  font-size: clamp(28px, 4.5vw, 76px); line-height: 1.06; letter-spacing: -0.04em;
}
.manifesto__text .w { opacity: 0.14; }

/* ───────────── Craft chapters ───────────── */
.craft { padding: clamp(90px, 11vw, 180px) var(--pad); display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; row-gap: clamp(40px, 5vw, 72px); }
.craft__body { grid-column: 7 / -1; position: relative; }
.craft--left .craft__body { grid-column: 1 / 7; }
.craft__num {
  position: absolute; right: -0.04em; top: -0.72em; z-index: -1;
  font-family: var(--f-display); font-weight: 800; font-size: clamp(120px, 18vw, 320px); line-height: 1; letter-spacing: -0.06em;
  color: transparent; -webkit-text-stroke: 1px var(--line-2); opacity: 0.55; user-select: none; pointer-events: none;
}
.craft .display { margin: 20px 0 26px; }
.craft__lead { max-width: 34em; font-size: clamp(16px, 1.25vw, 19px); color: var(--cream-2); }
.craft__lead strong { color: var(--cream); font-weight: 700; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.chips li { padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line-2); font-size: 13px; font-weight: 600; background: rgba(7, 8, 12, 0.6); }

.list { margin-top: 34px; border-top: 1px solid var(--line); }
.list li {
  display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 16px; align-items: baseline;
  padding: 16px 0; border-bottom: 1px solid var(--line); position: relative;
  transition: padding .45s var(--ease);
}
.list li::before { content: ""; position: absolute; left: 0; bottom: -1px; height: 1px; width: 100%; background: var(--accent); transform: scaleX(0); transform-origin: 0 50%; transition: transform .6s var(--ease); }
.list li:hover { padding-left: 14px; }
.list li:hover::before { transform: scaleX(1); }
.list b { font-family: var(--f-display); font-weight: 600; font-size: clamp(18px, 1.6vw, 24px); letter-spacing: -0.03em; }
.list span { font-size: 14px; color: var(--mute); }

/* Video reel */
.reel { grid-column: 1 / -1; }
.reel__head { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; flex-wrap: wrap; margin-bottom: 22px; }
.reel__head h3 { font-family: var(--f-display); font-weight: 600; font-size: clamp(20px, 2vw, 28px); letter-spacing: -0.03em; }
.reel__track {
  display: flex; gap: 18px; overflow-x: auto; overscroll-behavior-x: contain;
  margin-inline: calc(var(--pad) * -1); padding: 6px var(--pad) 18px;
  scrollbar-width: none; cursor: grab; scroll-snap-type: x proximity; perspective: 1200px;
}
.reel__track::-webkit-scrollbar { display: none; }
.reel__track.is-drag { cursor: grabbing; scroll-snap-type: none; }
.reel__track.is-drag a { pointer-events: none; }
.vid { flex: 0 0 clamp(250px, 26vw, 400px); scroll-snap-align: start; transform-style: preserve-3d; }
.vid__thumb { position: relative; aspect-ratio: 16 / 9; border-radius: 16px; overflow: hidden; background: var(--ink-3); box-shadow: 0 0 0 1px var(--line); }
.vid__thumb img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); transition: transform .9s var(--ease), filter .5s; filter: saturate(0.92); }
.vid:hover .vid__thumb img { transform: scale(1.12); filter: saturate(1.1); }
.vid__thumb::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(7, 8, 12, 0.7)); }
.vid__play { position: absolute; left: 14px; bottom: 14px; z-index: 1; width: 42px; height: 42px; border-radius: 50%; background: var(--cream); display: grid; place-items: center; transform: scale(0.8); opacity: 0; transition: transform .45s var(--ease), opacity .3s; }
.vid__play::before { content: ""; margin-left: 3px; border-left: 11px solid var(--ink); border-top: 7px solid transparent; border-bottom: 7px solid transparent; }
.vid:hover .vid__play { transform: none; opacity: 1; }
.vid__n { position: absolute; right: 12px; top: 10px; z-index: 1; font-size: 11px; font-weight: 700; letter-spacing: 0.1em; padding: 4px 8px; border-radius: 999px; background: rgba(7, 8, 12, 0.6); }
.vid h4 { margin-top: 14px; font-size: 15px; font-weight: 600; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.vid small { display: block; margin-top: 6px; font-size: 12px; color: var(--mute); }

/* Sample call-log card */
.ticket {
  grid-column: 1 / 7; justify-self: start; width: min(100%, 460px); margin-top: -8px;
  border-radius: 22px; padding: 22px; background: linear-gradient(160deg, rgba(23, 26, 36, 0.94), rgba(14, 16, 23, 0.94));
  border: 1px solid var(--line);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.7); transform-style: preserve-3d;
}
.ticket header { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 14px; margin-bottom: 12px; }
.ticket header em { margin-left: auto; font-size: 15px; color: var(--mute); }
.ticket .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 0 rgba(25, 201, 154, 0.6); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 9px rgba(25, 201, 154, 0); } 100% { box-shadow: 0 0 0 0 rgba(25, 201, 154, 0); } }
.ticket li { display: grid; grid-template-columns: 46px 1fr auto; gap: 10px; align-items: center; padding: 12px 0; border-top: 1px solid var(--line); font-size: 14px; }
.ticket time { color: var(--mute); font-variant-numeric: tabular-nums; font-size: 13px; }
.ticket footer { margin-top: 12px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 13px; color: var(--mute); }
.tag { font-size: 11px; font-weight: 700; padding: 5px 9px; border-radius: 999px; background: rgba(243, 238, 229, 0.08); color: var(--cream-2); white-space: nowrap; }
.tag--ok { background: rgba(25, 201, 154, 0.16); color: var(--green); }
.tag--warn { background: rgba(255, 180, 40, 0.16); color: #ffc24b; }

/* Work cards */
.work { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; perspective: 1400px; }
.work__card {
  position: relative; display: flex; flex-direction: column; min-height: 260px; padding: 26px; border-radius: 22px;
  background: linear-gradient(160deg, rgba(23, 26, 36, 0.92), rgba(14, 16, 23, 0.92));
  border: 1px solid var(--line);
  transform-style: preserve-3d; overflow: hidden; transition: border-color .3s;
}
.work__card::before { content: ""; position: absolute; inset: 0; background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(111, 139, 255, 0.22), transparent 60%); opacity: 0; transition: opacity .4s; }
.work__card:hover { border-color: var(--line-2); }
.work__card:hover::before { opacity: 1; }
.work__kind { font-size: 11px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--blue); }
.work__card h3 { margin: auto 0 10px; padding-top: 48px; font-family: var(--f-display); font-weight: 700; font-size: clamp(26px, 2.6vw, 38px); letter-spacing: -0.04em; line-height: 1; transform: translateZ(30px); }
.work__card p { font-size: 14px; color: var(--cream-2); max-width: 30em; transform: translateZ(18px); }
.work__go { position: absolute; right: 22px; top: 20px; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; transition: background .3s, color .3s, transform .5s var(--ease); }
.work__card:hover .work__go { background: var(--cream); color: var(--ink); transform: rotate(45deg); }

/* ───────────── Process (horizontal) ───────────── */
.process__pin { min-height: 100svh; display: flex; flex-direction: column; justify-content: center; gap: clamp(32px, 5vw, 64px); padding: 110px 0 60px; overflow: hidden; }
.process__head { padding-inline: var(--pad); }
.process__head .display { margin-top: 18px; }
.process__rail { display: flex; gap: 20px; padding-inline: var(--pad); width: max-content; will-change: transform; }
.step {
  flex: 0 0 clamp(270px, 30vw, 440px); min-height: clamp(260px, 36vh, 360px); display: flex; flex-direction: column;
  padding: 26px; border-radius: 22px; border: 1px solid var(--line);
  background: linear-gradient(160deg, rgba(23, 26, 36, 0.92), rgba(14, 16, 23, 0.92));
}
.step__n { font-family: var(--f-serif); font-style: italic; font-size: 26px; color: var(--accent); }
.step h3 { margin-top: auto; font-family: var(--f-display); font-weight: 700; font-size: clamp(34px, 3.8vw, 60px); letter-spacing: -0.05em; line-height: 1; }
.step p { margin-top: 14px; font-size: 15px; color: var(--cream-2); max-width: 26em; }
.process__bar { margin-inline: var(--pad); height: 1px; background: var(--line); }
.process__bar span { display: block; height: 100%; background: var(--accent); transform-origin: 0 50%; transform: scaleX(0); }

/* ───────────── Workspace teaser ───────────── */
.board { padding: clamp(90px, 11vw, 180px) var(--pad); display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.board .display { margin: 20px 0 26px; font-size: clamp(34px, 4.4vw, 72px); }
.board .link { margin-top: 30px; }
.board__scene { perspective: 1600px; }
.mock {
  border-radius: 18px; overflow: hidden; background: #f5f3ee; color: #141826;
  box-shadow: 0 60px 120px -40px rgba(0, 0, 0, 0.85), 0 0 0 1px rgba(255, 255, 255, 0.08);
  transform: rotateX(18deg) rotateY(-16deg) rotateZ(3deg); transform-style: preserve-3d; will-change: transform;
}
.mock__bar { display: flex; align-items: center; gap: 7px; padding: 12px 14px; background: #0b1020; color: #c9c4ba; font-size: 12px; font-weight: 600; }
.mock__bar i { width: 9px; height: 9px; border-radius: 50%; background: #2c3144; }
.mock__bar i:first-child { background: var(--accent); }
.mock__bar span { margin-left: 10px; }
.mock__cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; padding: 14px; }
.mock__col h4 { display: flex; justify-content: space-between; font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: #565c70; margin-bottom: 10px; }
.mock__col h4 b { color: #141826; }
.mock__card { position: relative; background: #fff; border: 1px solid #e6e2d8; border-radius: 10px; padding: 10px 10px 10px 16px; margin-bottom: 8px; transform: translateZ(0); }
.mock__card u { position: absolute; left: 6px; top: 10px; bottom: 10px; width: 3px; border-radius: 3px; background: var(--c); }
.mock__card p { font-size: 12px; font-weight: 700; line-height: 1.3; }
.mock__card small { display: block; margin-top: 4px; font-size: 10px; color: #565c70; }
.mock__card--lift { transform: translateZ(46px) rotate(-2deg); box-shadow: 0 24px 40px -16px rgba(11, 16, 32, 0.45); border-color: var(--accent); }
.mock__prog { margin-top: 8px; height: 3px; border-radius: 3px; background: #ece8de; }
.mock__prog span { display: block; height: 100%; width: var(--w); border-radius: 3px; background: var(--accent); }

/* ───────────── Contact ───────────── */
.contact { padding: clamp(100px, 12vw, 200px) var(--pad) clamp(60px, 8vw, 120px); }
.contact__title {
  margin: 22px 0 clamp(40px, 6vw, 90px);
  font-family: var(--f-display); font-weight: 700; font-variation-settings: "opsz" 96;
  font-size: clamp(40px, 8vw, 148px); line-height: 0.92; letter-spacing: -0.055em;
}
.contact__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(32px, 6vw, 110px); align-items: start; }
.form { display: grid; gap: 6px; }
.field { position: relative; padding: 18px 0 14px; border-bottom: 1px solid var(--line-2); transition: border-color .3s; }
.field:focus-within { border-color: var(--accent); }
.field label, .field legend { display: block; font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--mute); margin-bottom: 8px; padding: 0; }
.field input[type="text"], .field textarea {
  width: 100%; background: transparent; border: 0; outline: 0; padding: 0; resize: none;
  font-family: var(--f-display); font-weight: 500; font-size: clamp(20px, 2.1vw, 30px); letter-spacing: -0.03em; line-height: 1.25;
}
.field ::placeholder { color: rgba(243, 238, 229, 0.46); }
.field.is-bad { border-color: var(--red); }
.pick { display: flex; flex-wrap: wrap; gap: 8px; padding-top: 4px; }
.pick input { position: absolute; opacity: 0; pointer-events: none; }
.pick span { display: block; padding: 11px 18px; border-radius: 999px; border: 1px solid var(--line-2); font-weight: 600; font-size: 14px; cursor: pointer; transition: background .25s, color .25s, border-color .25s, transform .25s var(--ease); }
.pick span:hover { border-color: var(--cream); }
.pick input:checked + span { background: var(--cream); color: var(--ink); border-color: var(--cream); }
.pick input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 3px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form__foot { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; margin-top: 28px; }
.form__note { font-size: 14px; color: var(--mute); }
.form__note.is-ok { color: var(--green); }
.form__note.is-err { color: var(--red); }
.contact__side { display: grid; gap: 4px; }
.reach { display: block; padding: 20px 0; border-bottom: 1px solid var(--line); transition: padding .45s var(--ease), border-color .3s; }
.reach:first-child { border-top: 1px solid var(--line); }
.reach:hover { padding-left: 12px; border-color: var(--accent); }
.reach small { display: block; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--mute); margin-bottom: 4px; }
.reach span { font-family: var(--f-display); font-weight: 600; font-size: clamp(20px, 1.9vw, 28px); letter-spacing: -0.03em; }

/* ───────────── Footer ───────────── */
.footer { position: relative; z-index: 1; padding: 28px var(--pad) 0; border-top: 1px solid var(--line); overflow: hidden; background: linear-gradient(180deg, transparent, rgba(7, 8, 12, 0.85) 40%); }
.footer__row { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; font-size: 13px; color: var(--cream-2); }
.footer__row nav { display: flex; gap: 22px; }
.footer__row nav a { transition: color .2s; }
.footer__row nav a:hover { color: var(--accent); }
.footer__clock { font-variant-numeric: tabular-nums; }
.footer__top { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; font-size: 18px; transition: background .3s, color .3s; }
.footer__top:hover { background: var(--cream); color: var(--ink); }
.footer__word {
  display: flex; align-items: center; justify-content: center; margin: clamp(24px, 4vw, 60px) 0 -0.16em;
  font-family: var(--f-display); font-weight: 800; font-variation-settings: "opsz" 96;
  font-size: clamp(80px, 24.5vw, 470px); line-height: 0.8; letter-spacing: -0.07em; user-select: none;
}
.footer__word svg { width: 0.86em; height: 0.86em; flex: none; margin-right: -0.04em; }
.footer__word span { display: block; }

/* ───────────── Reveal defaults (JS adds .js) ───────────── */
.js [data-reveal], .js [data-reveal-list] > * { opacity: 0; transform: translateY(28px); }
.js [data-reveal="fade"] { transform: translateY(14px); }

/* ───────────── Responsive ───────────── */
@media (max-width: 1100px) {
  .stage-slot { display: block; grid-column: 1 / -1; height: clamp(250px, 40svh, 380px); margin-bottom: -8px; }
  .stage-slot--hero { height: clamp(200px, 32svh, 320px); margin-bottom: 8px; }
  .nav__links { display: none; }
  .nav__burger { display: block; }
  .craft__body, .craft--left .craft__body { grid-column: 1 / -1; }
  .ticket { grid-column: 1 / -1; justify-self: start; }
  .work { grid-template-columns: 1fr; }
  .work__card { min-height: 200px; }
  .board { grid-template-columns: 1fr; }
  .contact__grid { grid-template-columns: 1fr; }
  .hero__scroll { display: none; }
}
@media (max-width: 1100px) and (min-width: 721px) {
  .craft__body { max-width: 720px; }
  .work { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  .nav { padding: 14px var(--pad); }
  .nav__login, .nav .btn { display: none; }
  .hero { padding-top: 84px; justify-content: flex-end; }
  .hero__lead { font-size: 15px; }
  .hero__cta .btn { padding: 15px 20px; font-size: 14px; }
  .hero__title { font-size: clamp(42px, 13.2vw, 80px); }
  .hero__index { gap: 10px 22px; }
  .craft__num { font-size: 120px; top: -0.5em; opacity: 0.5; }
  .list li { grid-template-columns: 1fr; gap: 2px; padding: 14px 0; }
  .mock__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mock__col:nth-child(n+3) { display: none; }
  .mock { transform: rotateX(14deg) rotateY(-10deg) rotateZ(2deg); }
  .step { flex-basis: 78vw; }
  .footer__row nav { order: 3; width: 100%; }
  .btn--lg { padding: 19px 28px; }
}

/* ───────────── Reduced motion ───────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  .line__in { transform: none; }
  .js [data-reveal], .js [data-reveal-list] > * { opacity: 1; transform: none; }
  .manifesto__text .w { opacity: 1; }
}
