/* inSanity — one dark board, compressed loud type, yellow as the signature, ultraviolet for Labs. */
:root {
  --ink: #0B0B0C;
  --ink-2: #151517;
  --ink-3: #1D1E1B;
  --line: #2A2B27;
  --bone: #EEEDE8;
  --static: #8C8E86;
  --sun: #FFD60A;
  --uv: #5B2BFF;
  --uv-l: #9C88FF;
  --oprezo: #FF4100;
  --display: "Archivo", "Arial Narrow", Impact, sans-serif;
  --body: "Instrument Sans", "Helvetica Neue", Arial, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Menlo, monospace;
  --gutter: clamp(16px, 3vw, 40px);
  --radius: 28px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  color-scheme: dark;
}

/* page-to-page: a soft cross-fade, the nav stays put */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: vt-out .35s var(--ease) both; }
::view-transition-new(root) { animation: vt-in .5s var(--ease) both; }
@keyframes vt-out { to { opacity: 0; transform: translateY(-12px); } }
@keyframes vt-in { from { opacity: 0; transform: translateY(16px); } }
.nav { view-transition-name: nav; }

*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body { margin: 0; background: var(--ink); color: var(--bone); font: 400 17px/1.55 var(--body); -webkit-font-smoothing: antialiased; overflow-x: clip; }
a { color: inherit; text-decoration: none; }
img, canvas, svg { display: block; }
ul, ol { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, p, figure, fieldset { margin: 0; }
fieldset { border: 0; padding: 0; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
::selection { background: var(--sun); color: var(--ink); }
:focus-visible { outline: 2px solid var(--sun); outline-offset: 3px; border-radius: 6px; }

.mono { font-family: var(--mono); font-size: 12px; letter-spacing: .04em; text-transform: uppercase; }
.wrap { width: min(1320px, 100%); margin-inline: auto; padding-inline: var(--gutter); }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--sun); color: var(--ink); padding: 8px 14px; border-radius: 999px; }
.skip:focus { left: 8px; }
.logo { width: 100%; height: auto; overflow: visible; fill: currentColor; }

.grain {
  position: fixed; inset: -50%; z-index: 60; pointer-events: none; opacity: .07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1.2s steps(6) infinite;
}
@keyframes grain { 0% { transform: translate(0, 0); } 20% { transform: translate(-3%, 2%); } 40% { transform: translate(2%, -4%); } 60% { transform: translate(-4%, -1%); } 80% { transform: translate(3%, 3%); } 100% { transform: translate(0, 0); } }

/* ---------- nav ---------- */
.nav {
  position: fixed; top: 12px; left: 12px; right: 12px; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 10px 10px 10px 22px; border-radius: 999px;
  background: rgba(11, 11, 12, .55); backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%);
  border: 1px solid rgba(238, 237, 232, .08);
  transition: transform .5s var(--ease);
}
.nav.is-hidden { transform: translateY(calc(-100% - 20px)); }
.nav-logo { color: var(--bone); width: 118px; flex: none; transition: color .2s; }
.nav-logo:hover { color: var(--sun); }
.nav-links { display: flex; gap: 4px; }
.nav-links a { font: 500 12px/1 var(--mono); text-transform: uppercase; letter-spacing: .05em; padding: 10px 14px; border-radius: 999px; border: 1px solid var(--line); color: var(--static); transition: color .2s, border-color .2s, background .2s; }
.nav-links a:hover { color: var(--bone); border-color: var(--static); }
.nav-links a[aria-current="page"] { color: var(--ink); background: var(--bone); border-color: var(--bone); }
.nav-right { display: flex; align-items: center; gap: 8px; }
.lang { font: 500 12px/1 var(--mono); padding: 12px; color: var(--static); border-radius: 999px; }
.lang:hover { color: var(--bone); }
.lang-on { color: var(--bone); }
.lang-sep { margin: 0 4px; opacity: .5; }
.menu-btn { display: none; align-items: center; gap: 10px; font: 500 12px/1 var(--mono); text-transform: uppercase; letter-spacing: .05em; padding: 12px 14px; border-radius: 999px; background: var(--sun); color: var(--ink); }
.menu-btn i { width: 14px; height: 8px; border-top: 2px solid; border-bottom: 2px solid; transition: transform .3s var(--ease); }
.menu-btn[aria-expanded="true"] i { transform: rotate(90deg); }

.menu { position: fixed; inset: 0; z-index: 45; background: var(--ink); padding: 96px var(--gutter) 28px; display: flex; flex-direction: column; justify-content: space-between; }
.menu[hidden] { display: none; }
.menu-links { display: flex; flex-direction: column; }
.menu-links a { display: flex; align-items: baseline; gap: 14px; font-family: var(--display); font-weight: 900; font-stretch: 62%; font-variation-settings: "wdth" 62; text-transform: uppercase; font-size: clamp(52px, 15vw, 96px); line-height: .95; border-bottom: 1px solid var(--line); padding: 6px 0; opacity: 0; transform: translateY(20px); animation: fade .5s var(--ease) forwards; animation-delay: calc(var(--i) * 45ms); }
.menu-links a .mono { color: var(--static); font-weight: 500; }
.menu-links a[aria-current="page"] { color: var(--sun); }
.menu-foot { display: flex; justify-content: space-between; gap: 12px; color: var(--static); flex-wrap: wrap; }
body.menu-open { overflow: hidden; }

.btn { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; font: 600 14px/1 var(--body); padding: 12px 18px; border-radius: 999px; transition: transform .25s var(--ease), background .2s, color .2s, border-color .2s; }
.btn:active { transform: scale(.97); }
.btn-sun { background: var(--sun); color: var(--ink); }
.btn-sun:hover { background: var(--bone); }
.btn-ghost { border: 1px solid rgba(238, 237, 232, .25); color: var(--bone); }
.btn-ghost:hover { border-color: var(--bone); background: rgba(238, 237, 232, .06); }
.btn-lg { padding: 16px 24px; font-size: 15px; }

/* ---------- hero ---------- */
.hero { padding: 12px; min-height: 100svh; display: flex; }
.hero-frame {
  position: relative; flex: 1; overflow: hidden; isolation: isolate; border-radius: var(--radius);
  background: radial-gradient(120% 80% at 50% 0%, #17171a 0%, var(--ink) 60%);
  border: 1px solid rgba(238, 237, 232, .07);
  display: grid; grid-template-rows: auto 1fr auto; gap: 24px;
  padding: 104px clamp(20px, 4vw, 56px) clamp(20px, 3vw, 40px);
  min-height: calc(100svh - 24px);
}
.guides { position: absolute; inset: 0; display: grid; grid-template-columns: repeat(6, 1fr); pointer-events: none; z-index: -2; }
.guides i { border-right: 1px solid rgba(238, 237, 232, .045); }
.hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; touch-action: pan-y; }
.hero-frame.is-over { cursor: grab; }
.hero-frame.is-dragging { cursor: grabbing; }
.hero-top { display: flex; align-items: center; gap: 12px; color: var(--static); pointer-events: none; }
.dot { width: 6px; height: 6px; border-radius: 50%; background: var(--sun); flex: none; }
.hero-title {
  align-self: center; pointer-events: none; margin-top: 24px;
  font-family: var(--display); font-weight: 900; font-stretch: 62%; font-variation-settings: "wdth" 62;
  text-transform: uppercase; line-height: .84; letter-spacing: -.01em;
  font-size: clamp(56px, min(14.5vw, 23svh), 232px); color: var(--bone); mix-blend-mode: difference;
}
.hero-title .line { display: block; overflow: hidden; padding-bottom: .02em; }
.hero-title .line > span { display: inline-block; transform: translateY(105%); animation: rise 1.1s var(--ease) forwards; }
.hero-title .line:nth-child(2) > span { animation-delay: .12s; margin-left: clamp(0px, 9vw, 160px); }
@keyframes rise { to { transform: none; } }
.hero-bottom { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px 32px; flex-wrap: wrap; pointer-events: none; }
.hero-sub { max-width: 50ch; padding: 18px 20px; border-radius: 18px; background: rgba(11, 11, 12, .62); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border: 1px solid rgba(238, 237, 232, .08); font-size: clamp(16px, 1.4vw, 19px); text-wrap: pretty; opacity: 0; animation: fade .9s .45s var(--ease) forwards; }
.hero-actions { display: flex; gap: 10px; flex-wrap: wrap; pointer-events: auto; opacity: 0; animation: fade .9s .6s var(--ease) forwards; }
.hero-actions .btn-ghost { background: rgba(11, 11, 12, .9); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
@keyframes fade { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.switch-wrap { position: absolute; top: 96px; right: clamp(20px, 4vw, 56px); display: flex; flex-direction: column; align-items: flex-end; gap: 10px; opacity: 0; animation: fade .9s .8s var(--ease) forwards; }
.switch-hint { color: var(--static); font-size: 11px; }
.switch { display: inline-flex; align-items: center; gap: 10px; font: 500 12px/1 var(--mono); text-transform: uppercase; letter-spacing: .05em; padding: 8px 12px; border-radius: 999px; border: 1px solid var(--line); background: rgba(11, 11, 12, .6); backdrop-filter: blur(6px); }
.switch-label { color: var(--bone); transition: color .25s; }
.switch[aria-checked="true"] .switch-label:first-child, .switch[aria-checked="false"] .switch-label:last-child { color: var(--static); }
.switch-track { width: 40px; height: 22px; border-radius: 999px; background: var(--ink-3); border: 1px solid var(--line); position: relative; }
.switch-thumb { position: absolute; top: 2px; left: 2px; width: 16px; height: 16px; border-radius: 50%; background: var(--sun); transition: transform .35s var(--ease); }
.switch[aria-checked="true"] .switch-thumb { transform: translateX(18px); }

/* ---------- marquee ---------- */
.marquee { background: var(--sun); color: var(--ink); overflow: hidden; margin-top: 12px; transform: rotate(-1.2deg); }
.marquee-track { display: flex; width: max-content; align-items: center; gap: 28px; padding: 14px 0; animation: marquee 36s linear infinite; }
.marquee span { font-family: var(--display); font-weight: 900; font-stretch: 70%; font-variation-settings: "wdth" 70; text-transform: uppercase; font-size: clamp(28px, 3.6vw, 52px); line-height: 1; }
.marquee i { font-style: normal; font-size: clamp(20px, 2.4vw, 34px); }
@keyframes marquee { to { transform: translateX(-33.333%); } }

/* ---------- manifesto: chaos melts into sanity as you scroll ---------- */
.manifesto { height: 260vh; position: relative; }
.m-sticky { position: sticky; top: 0; height: 100svh; display: flex; flex-direction: column; justify-content: center; gap: 2vh; padding-inline: var(--gutter); overflow: hidden; }
.m-line { font-family: var(--display); font-weight: 900; font-stretch: 62%; font-variation-settings: "wdth" 62; text-transform: uppercase; line-height: .86; font-size: var(--fit, clamp(48px, 8.6vw, 170px)); white-space: nowrap; letter-spacing: -.01em; }
.m-chaos { filter: url(#liquid); color: var(--bone); }
.m-line { width: max-content; max-width: none; }
.m-sanity { color: var(--sun); clip-path: inset(0 100% 0 0); align-self: flex-end; text-align: right; }
.m-meter { position: absolute; top: 110px; left: var(--gutter); right: var(--gutter); display: flex; align-items: center; gap: 14px; color: var(--static); }
.m-bar { flex: 1; height: 2px; background: var(--line); position: relative; overflow: hidden; max-width: 360px; }
.m-bar i { position: absolute; inset: 0; background: var(--sun); transform-origin: left; transform: scaleX(var(--p, 1)); }
.m-pct { color: var(--sun); font-weight: 500; min-width: 4ch; }
.m-sub { color: var(--static); text-align: right; }
.m-note { position: absolute; bottom: 28px; left: var(--gutter); color: var(--static); transition: opacity .4s; }

/* ---------- shared type ---------- */
.block { padding-top: clamp(96px, 12vw, 170px); }
.kicker { color: var(--sun); margin-bottom: 20px; display: flex; align-items: center; gap: 10px; }
.kicker::before { content: ""; width: 18px; height: 2px; background: currentColor; }
.h1, .h2 { font-family: var(--display); font-stretch: 66%; font-variation-settings: "wdth" 66; text-transform: uppercase; letter-spacing: -.005em; text-wrap: balance; }
.h1 { font-weight: 900; line-height: .88; font-size: clamp(56px, 9.5vw, 156px); max-width: 13ch; }
.h2 { font-weight: 850; line-height: .92; font-size: clamp(44px, 7vw, 108px); max-width: 15ch; }
.lead { color: var(--static); font-size: clamp(17px, 1.5vw, 20px); max-width: 52ch; margin-top: 24px; text-wrap: pretty; }
.sub-title { margin-bottom: 40px; display: flex; align-items: center; gap: clamp(20px, 3vw, 40px); font-family: var(--display); font-weight: 800; font-stretch: 75%; font-variation-settings: "wdth" 75; text-transform: uppercase; font-size: clamp(28px, 3vw, 42px); line-height: 1; }
.sub-title::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chips li { font: 500 11px/1 var(--mono); text-transform: uppercase; letter-spacing: .04em; padding: 8px 10px; border: 1px solid var(--line); border-radius: 999px; color: var(--static); }
[data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
[data-reveal].is-in { opacity: 1; transform: none; }

/* ---------- page head + stickers ---------- */
.page-head { position: relative; padding-top: clamp(150px, 18vw, 240px); padding-bottom: clamp(56px, 7vw, 96px); }
.stickers { position: absolute; inset: 0; pointer-events: none; z-index: 0; overflow: clip; }
.page-head > :not(.stickers) { position: relative; z-index: 1; }
.sticker { position: absolute; left: var(--x); top: var(--y); width: var(--s); translate: calc(var(--mx, 0) * (10px + var(--d) * 8px)) calc(var(--my, 0) * (10px + var(--d) * 8px)); transition: translate .8s var(--ease); }
.sticker svg { width: 100%; height: auto; rotate: var(--r); animation: bob calc(5s + var(--d) * 1s) ease-in-out infinite alternate; animation-delay: calc(var(--d) * -1.3s); filter: drop-shadow(0 14px 24px rgba(0, 0, 0, .45)); }
@keyframes bob { from { transform: translateY(-8px) rotate(-6deg); } to { transform: translateY(10px) rotate(8deg); } }

/* ---------- home: service rows ---------- */
.rows { margin-top: clamp(40px, 6vw, 72px); border-top: 1px solid var(--line); }
.row-link { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr) 40px; align-items: center; gap: 24px; padding: 28px 8px; border-bottom: 1px solid var(--line); position: relative; overflow: hidden; isolation: isolate; transition: padding .45s var(--ease), color .35s, opacity .9s var(--ease), transform .9s var(--ease); }
.row-link::before { content: ""; position: absolute; inset: 0; background: var(--sun); transform: translateY(101%); transition: transform .5s var(--ease); z-index: -1; }
.row-link .mono, .row-text { color: var(--static); transition: color .35s; }
.row-name { font-family: var(--display); font-weight: 900; font-stretch: 66%; font-variation-settings: "wdth" 66; text-transform: uppercase; font-size: clamp(40px, 5.2vw, 78px); line-height: .9; }
.row-arrow { font-size: 26px; text-align: right; transition: transform .45s var(--ease); }
.row-link:hover { color: var(--ink); padding-inline: 24px; }
.row-link:hover::before { transform: none; }
.row-link:hover .mono, .row-link:hover .row-text { color: #3a3200; }
.row-link:hover .row-arrow { transform: rotate(45deg); }

/* ---------- home: product cards ---------- */
.pcards { display: grid; grid-template-columns: 1.15fr 1fr; gap: 12px; margin-top: clamp(40px, 6vw, 72px); }
.pcard { position: relative; border-radius: var(--radius); padding: clamp(24px, 3vw, 40px); min-height: 440px; display: flex; flex-direction: column; gap: 18px; overflow: hidden; }
.pcard.is-in { transform: perspective(900px) rotateX(var(--ry, 0deg)) rotateY(var(--rx, 0deg)); transition: transform .5s var(--ease), opacity .9s var(--ease); }
.pcard-name { font-family: var(--display); font-weight: 900; font-stretch: 62%; font-variation-settings: "wdth" 62; text-transform: uppercase; font-size: clamp(64px, 8vw, 128px); line-height: .85; margin-top: auto; }
.pcard-text { max-width: 36ch; font-size: 17px; }
.pcard-arrow { position: absolute; top: clamp(24px, 3vw, 40px); right: clamp(24px, 3vw, 40px); font-size: 30px; transition: transform .45s var(--ease); }
.pcard:hover .pcard-arrow { transform: rotate(45deg) scale(1.15); }
.pcard-oprezo { background: var(--oprezo); color: #fff; }
.pcard-oprezo .status { border-color: rgba(255, 255, 255, .4); color: #fff; }
.pcard-okuma { background: var(--bone); color: var(--ink); }
.pcard-okuma .status { border-color: rgba(11, 11, 12, .25); color: var(--ink); }
.pcard::after { content: ""; position: absolute; inset: 0; background: radial-gradient(400px circle at var(--gx, 50%) var(--gy, 50%), rgba(255, 255, 255, .2), transparent 60%); opacity: 0; transition: opacity .3s; pointer-events: none; }
.pcard:hover::after { opacity: 1; }
.status { align-self: flex-start; font: 600 11px/1 var(--mono); text-transform: uppercase; letter-spacing: .05em; padding: 7px 10px; border-radius: 999px; border: 1px solid var(--line); display: inline-flex; align-items: center; gap: 7px; }
.status.is-live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #3BE37A; animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(59, 227, 122, .6); } 70% { box-shadow: 0 0 0 8px rgba(59, 227, 122, 0); } 100% { box-shadow: 0 0 0 0 rgba(59, 227, 122, 0); } }

/* ---------- home: labs band ---------- */
.labs-band { position: relative; margin: clamp(96px, 12vw, 170px) 12px 0; border-radius: var(--radius); background: var(--uv); color: #fff; overflow: hidden; min-height: 70svh; display: grid; align-items: center; }
.labs-band::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255, 255, 255, .16) 1px, transparent 1px); background-size: 22px 22px; mask-image: linear-gradient(120deg, #000, transparent 75%); -webkit-mask-image: linear-gradient(120deg, #000, transparent 75%); pointer-events: none; }
.labs-band-inner { position: relative; z-index: 1; padding-block: clamp(80px, 10vw, 140px); display: grid; gap: 32px; justify-items: start; }
.labs-band .kicker { color: var(--sun); }

/* ---------- studio ---------- */
.services { display: grid; gap: 12px; }
.service { position: relative; border-radius: var(--radius); padding: clamp(24px, 3vw, 44px); background: var(--ink-2); border: 1px solid var(--line); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr) 40px; align-items: start; gap: 18px 40px; overflow: hidden; transition: background .45s var(--ease), color .45s var(--ease), border-color .45s, transform .9s var(--ease), opacity .9s var(--ease); scroll-margin-top: 110px; }
.service-top { display: flex; justify-content: space-between; color: var(--static); }
.service-arrow { font-size: 22px; line-height: 1; color: var(--sun); transition: transform .6s var(--ease), color .3s; }
.service h2 { font-family: var(--display); font-weight: 900; font-stretch: 64%; font-variation-settings: "wdth" 64; text-transform: uppercase; font-size: clamp(48px, 6.4vw, 104px); line-height: .88; }
.service-body { display: grid; gap: 22px; padding-top: 8px; }
.service p { font-size: clamp(17px, 1.4vw, 19px); max-width: 46ch; }
.service-arrow { justify-self: end; font-size: 26px; }
.service p { color: var(--static); transition: color .45s; }
.service:hover, .service:target { background: var(--sun); color: var(--ink); border-color: var(--sun); }
.service:hover p, .service:hover .service-top, .service:target p, .service:target .service-top { color: #3a3200; }
.service:hover .service-arrow, .service:target .service-arrow { color: var(--ink); transform: rotate(180deg); }
.service:hover .chips li, .service:target .chips li { border-color: rgba(11, 11, 12, .25); color: var(--ink); }

.process { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.process li { padding: 28px 24px 0 0; display: grid; gap: 10px; align-content: start; position: relative; }
.process li::before { content: ""; position: absolute; top: -5px; left: 0; width: 9px; height: 9px; border-radius: 50%; background: var(--sun); }
.process .mono { color: var(--static); }
.process strong { font-family: var(--display); font-weight: 800; font-stretch: 75%; font-variation-settings: "wdth" 75; text-transform: uppercase; font-size: 30px; line-height: 1; }
.process p { color: var(--static); font-size: 15px; max-width: 26ch; }

.rules { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.rule { border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(24px, 3vw, 36px); display: grid; gap: 10px; position: relative; overflow: hidden; min-height: 210px; align-content: end; }
.rule-n { position: absolute; right: 18px; top: -10px; font-family: var(--display); font-weight: 900; font-stretch: 62%; font-variation-settings: "wdth" 62; font-size: 120px; line-height: 1; color: transparent; -webkit-text-stroke: 1px #3a3b36; transition: -webkit-text-stroke-color .3s; }
.rule:hover .rule-n { -webkit-text-stroke-color: var(--sun); }
.rule h3 { font-family: var(--display); font-weight: 800; font-stretch: 75%; font-variation-settings: "wdth" 75; text-transform: uppercase; font-size: clamp(26px, 2.6vw, 36px); line-height: 1; position: relative; max-width: 72%; }
.rule p { color: var(--static); max-width: 40ch; position: relative; }

.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 26px 0; font-family: var(--display); font-weight: 750; font-stretch: 80%; font-variation-settings: "wdth" 80; font-size: clamp(22px, 2.4vw, 32px); line-height: 1.1; transition: color .2s; }
.faq summary:hover { color: var(--sun); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { width: 22px; height: 22px; flex: none; position: relative; }
.faq summary i::before, .faq summary i::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 2px; background: var(--sun); transition: transform .35s var(--ease); }
.faq summary i::after { transform: rotate(90deg); }
.faq details[open] summary i::after { transform: rotate(0); }
.faq details p { color: var(--static); max-width: 62ch; padding: 0 0 28px; }

/* ---------- products ---------- */
.prod-list { display: grid; gap: 12px; }
.prod { border-radius: var(--radius); padding: clamp(28px, 4vw, 56px); display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(28px, 4vw, 64px); align-items: end; position: relative; overflow: hidden; scroll-margin-top: 100px; }
.prod-main { display: grid; gap: 20px; justify-items: start; }
.prod-name { font-family: var(--display); font-weight: 900; font-stretch: 62%; font-variation-settings: "wdth" 62; text-transform: uppercase; font-size: clamp(72px, 11vw, 176px); line-height: .82; }
.prod-text { font-size: clamp(17px, 1.5vw, 20px); max-width: 40ch; }
.prod-links { display: flex; flex-wrap: wrap; gap: 8px; }
.prod-side { display: grid; gap: 24px; }
.feats li { padding: 14px 0; border-bottom: 1px solid rgba(255, 255, 255, .22); display: flex; gap: 12px; align-items: center; font-weight: 500; }
.feats li::before { content: "✶"; font-size: 14px; }
.prod-by { opacity: .7; }
.prod-oprezo { background: var(--oprezo); color: #fff; }
.prod-oprezo .status, .prod-oprezo .btn-ghost { border-color: rgba(255, 255, 255, .45); color: #fff; }
.prod-oprezo .btn-ghost:hover { background: #fff; color: var(--oprezo); }
.prod-okuma { background: var(--bone); color: var(--ink); }
.prod-okuma .status { border-color: rgba(11, 11, 12, .25); }
.prod-okuma .feats li { border-color: rgba(11, 11, 12, .15); }
.prod-okuma .feats li::before { color: #b38f00; }
.prod-url { opacity: .6; }
.prod-next { background: var(--ink-2); border: 1px dashed var(--line); grid-template-columns: 1fr auto; transition: border-color .3s, background .3s, opacity .9s var(--ease), transform .9s var(--ease); }
.prod-next:hover { border-color: var(--uv-l); background: #17142a; }
.prod-next .prod-name, .prod-next .prod-text { color: var(--static); }
.prod-arrow { font-size: 40px; color: var(--uv-l); transition: transform .45s var(--ease); }
.prod-next:hover .prod-arrow { transform: rotate(45deg); }
.blink { animation: blink 1s steps(1) infinite; color: var(--uv-l); }
@keyframes blink { 50% { opacity: 0; } }

/* ---------- labs page ---------- */
.is-labs { background: radial-gradient(90% 60% at 80% 0%, rgba(91, 43, 255, .35), transparent 70%) no-repeat, var(--ink); }
.is-labs .kicker { color: var(--uv-l); }
.exps { display: grid; grid-template-columns: 1.25fr 1fr; gap: 12px; }
.exp { border: 1px solid rgba(156, 136, 255, .3); background: rgba(91, 43, 255, .08); border-radius: var(--radius); padding: clamp(24px, 2.6vw, 34px); display: flex; flex-direction: column; gap: 14px; min-height: 320px; transition: background .4s, border-color .4s, transform .9s var(--ease), opacity .9s var(--ease); }
.exp:hover { background: var(--uv); border-color: var(--uv); }
.exp-n { color: var(--uv-l); }
.exp:hover .exp-n { color: var(--sun); }
.exp h2 { font-family: var(--display); font-weight: 850; font-stretch: 68%; font-variation-settings: "wdth" 68; text-transform: uppercase; font-size: clamp(34px, 3.4vw, 52px); line-height: .92; margin-top: auto; }
.exp p { color: rgba(238, 237, 232, .72); }
.exp-link { color: var(--sun); }
.arena-wrap { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: center; scroll-margin-top: 90px; }
.arena-copy { display: grid; gap: 16px; justify-items: start; }
.arena-copy .lead { margin: 0; }
.arena { background: #0f0f11; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; display: grid; gap: 12px; width: 100%; box-shadow: 0 40px 120px rgba(91, 43, 255, .25); }
.arena-head { display: flex; justify-content: space-between; gap: 12px; color: var(--static); font-size: 11px; padding: 4px 6px 0; }
.arena-count { color: var(--sun); }
.arena-canvas { width: 100%; aspect-ratio: 1; border-radius: 18px; background: var(--ink); }
.arena-run { justify-self: start; }
.labs-soon { color: var(--uv-l); margin-top: 12px; }

/* ---------- about ---------- */
.name-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.name-card { border-radius: var(--radius); padding: clamp(24px, 3vw, 40px); min-height: 360px; display: flex; flex-direction: column; justify-content: space-between; gap: 40px; overflow: hidden; }
.name-card p { color: var(--static); max-width: 34ch; }
.name-card strong { color: var(--bone); font-weight: 600; }
.is-chaos { background: var(--ink-2); border: 1px solid var(--line); }
.is-sanity { background: var(--bone); color: var(--ink); }
.is-sanity p { color: #4b4c47; }
.is-sanity strong { color: var(--ink); }
.glitch, .calm { font-family: var(--display); font-weight: 900; text-transform: uppercase; line-height: .85; position: relative; display: block; }
.calm { font-stretch: 62%; font-variation-settings: "wdth" 62; font-size: clamp(56px, 8.4vw, 136px); }
.glitch { font-stretch: 100%; font-variation-settings: "wdth" 100; font-size: clamp(44px, 6.6vw, 108px); transform: skewX(-8deg); }
.glitch::before, .glitch::after { content: attr(data-text); position: absolute; inset: 0; pointer-events: none; mix-blend-mode: screen; }
.glitch::before { color: var(--sun); clip-path: inset(0 0 62% 0); transform: translate(-6px, 0); animation: gl1 2.8s infinite steps(1); }
.glitch::after { color: var(--uv-l); clip-path: inset(58% 0 0 0); transform: translate(7px, 0); animation: gl2 2.3s infinite steps(1); }
@keyframes gl1 { 0%, 100% { clip-path: inset(0 0 62% 0); transform: translate(-6px, 0); } 30% { clip-path: inset(20% 0 50% 0); transform: translate(10px, -2px); } 55% { clip-path: inset(70% 0 5% 0); transform: translate(-14px, 2px); } 80% { clip-path: inset(40% 0 40% 0); transform: translate(4px, 0); } }
@keyframes gl2 { 0%, 100% { clip-path: inset(58% 0 0 0); transform: translate(7px, 0); } 25% { clip-path: inset(10% 0 75% 0); transform: translate(-9px, 1px); } 60% { clip-path: inset(45% 0 30% 0); transform: translate(12px, -1px); } 85% { clip-path: inset(80% 0 0 0); transform: translate(-5px, 0); } }
.name-story { font-family: var(--display); font-weight: 600; font-stretch: 85%; font-variation-settings: "wdth" 85; font-size: clamp(24px, 2.8vw, 40px); line-height: 1.12; max-width: 30ch; margin: clamp(48px, 7vw, 96px) 0 0 auto; text-wrap: balance; }
.arms { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; position: relative; padding-top: 210px; }
.arms-root { position: absolute; top: 0; left: 50%; translate: -50% 0; width: min(340px, 60%); color: var(--bone); }
.arms::before { content: ""; position: absolute; top: 150px; left: 16.66%; right: 16.66%; height: 60px; border: 1px solid #55574f; border-bottom: 0; border-radius: 18px 18px 0 0; }
.arms::after { content: ""; position: absolute; top: 108px; left: 50%; width: 1px; height: 102px; background: #55574f; }
.arm { border-radius: var(--radius); padding: clamp(22px, 2.6vw, 32px); display: grid; gap: 12px; min-height: 220px; align-content: end; }
.arm-name { font-family: var(--display); font-weight: 900; font-stretch: 66%; font-variation-settings: "wdth" 66; text-transform: uppercase; font-size: clamp(40px, 4.4vw, 64px); line-height: .9; }
.arm-0 { background: var(--sun); color: var(--ink); }
.arm-1 { background: var(--bone); color: var(--ink); }
.arm-2 { background: var(--uv); color: #fff; }
.arm p { opacity: .8; min-height: 3.1em; }
.who-text { font-family: var(--display); font-weight: 600; font-stretch: 85%; font-variation-settings: "wdth" 85; font-size: clamp(24px, 2.8vw, 40px); line-height: 1.15; max-width: 34ch; text-wrap: pretty; }

/* ---------- contact ---------- */
.contact { position: relative; padding-top: clamp(150px, 18vw, 230px); padding-bottom: clamp(96px, 12vw, 160px); }
.contact > :not(.stickers) { position: relative; z-index: 1; }
.contact-title, .cta-title { font-family: var(--display); font-weight: 900; font-stretch: 62%; font-variation-settings: "wdth" 62; text-transform: uppercase; line-height: .84; font-size: clamp(72px, 15vw, 240px); }
.contact-title span, .cta-title span { display: block; }
.sun { color: var(--sun); }
.brief { margin-top: 48px; display: grid; gap: 28px; justify-items: start; }
.brief legend { color: var(--static); margin-bottom: 14px; }
.kinds { display: flex; flex-wrap: wrap; gap: 8px; }
.kinds label { cursor: pointer; }
.kinds input { position: absolute; opacity: 0; pointer-events: none; }
.kinds span { display: inline-block; padding: 14px 20px; border-radius: 999px; border: 1px solid var(--line); font-weight: 600; transition: background .2s, color .2s, border-color .2s; }
.kinds label:hover span { border-color: var(--static); }
.kinds input:checked + span { background: var(--bone); color: var(--ink); border-color: var(--bone); }
.kinds input:focus-visible + span { outline: 2px solid var(--sun); outline-offset: 3px; }
.mail-row { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 56px; padding-top: 28px; border-top: 1px solid var(--line); }
.mail-or { color: var(--static); width: 100%; }
.mail { font-family: var(--display); font-weight: 700; font-stretch: 80%; font-variation-settings: "wdth" 80; font-size: clamp(24px, 3.6vw, 52px); border-bottom: 2px solid var(--sun); line-height: 1.1; overflow-wrap: anywhere; transition: color .2s; }
.mail:hover { color: var(--sun); }

/* ---------- CTA + footer ---------- */
.cta-block { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: end; padding-block: clamp(110px, 14vw, 200px) clamp(72px, 9vw, 120px); }
.cta-side { display: grid; gap: 28px; justify-items: start; padding-bottom: 12px; }
.cta-side .lead { margin: 0; }
.footer { border-top: 1px solid var(--line); overflow: hidden; }
.footer-cols { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; padding-block: 48px; border-top: 1px solid var(--line); }
.footer > .footer-cols:first-child { border-top: 0; }
.footer-line { font-family: var(--display); font-weight: 900; font-stretch: 66%; font-variation-settings: "wdth" 66; text-transform: uppercase; font-size: clamp(30px, 3vw, 44px); line-height: .95; }
.footer-line span { display: block; }
.footer-col { display: grid; gap: 10px; align-content: start; }
.footer-col .mono { color: var(--static); margin-bottom: 6px; }
.footer-col a { width: fit-content; color: var(--bone); transition: color .2s; overflow-wrap: anywhere; }
.footer-col a:hover { color: var(--sun); }
@property --fx { syntax: "<percentage>"; inherits: true; initial-value: 50%; }
@property --fy { syntax: "<percentage>"; inherits: true; initial-value: 50%; }
.footer-mark { position: relative; margin: 0 var(--gutter); color: var(--bone); --fx: 50%; --fy: 50%; }
.fm-lit { position: absolute; inset: 0; color: var(--sun); pointer-events: none;
  -webkit-mask-image: radial-gradient(circle min(260px, 22vw) at var(--fx) var(--fy), #000 30%, transparent 75%); mask-image: radial-gradient(circle min(260px, 22vw) at var(--fx) var(--fy), #000 30%, transparent 75%); }
.footer-mark:not(.is-tracking) { animation: sweep 7s ease-in-out infinite alternate; }
@keyframes sweep { from { --fx: 4%; --fy: 30%; } to { --fx: 96%; --fy: 70%; } }
.footer-base { display: flex; justify-content: space-between; gap: 12px 24px; flex-wrap: wrap; padding-block: 24px 28px; color: var(--static); }
.footer-base a:hover { color: var(--sun); }
.nf { min-height: 70svh; }
.nf p:last-child { margin-top: 32px; }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .exps, .arena-wrap { grid-template-columns: 1fr; }
  .service { grid-template-columns: minmax(0, 1fr) 32px; }
  .service h2 { font-size: clamp(40px, 11vw, 104px); overflow-wrap: anywhere; }
  .service-body { grid-column: 1 / -1; grid-row: 2; }
  .exp { min-height: 0; }
  .exp h2 { margin-top: 24px; }
  .process { grid-template-columns: 1fr 1fr; row-gap: 32px; }
  .row-link { grid-template-columns: minmax(0, 1fr) 32px; grid-template-areas: "name arrow" "text text"; row-gap: 10px; }
  .row-name { grid-area: name; } .row-text { grid-area: text; } .row-arrow { grid-area: arrow; align-self: start; }
  .prod, .prod-next { grid-template-columns: 1fr; }
  .cta-block { grid-template-columns: 1fr; }
  .footer-cols { grid-template-columns: 1fr 1fr; }
  .footer-line { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
  .nav-links, .nav-cta { display: none; }
  .menu-btn { display: inline-flex; }
  .pcards, .name-grid, .rules { grid-template-columns: 1fr; }
  .pcard { min-height: 340px; }
  .arms { grid-template-columns: 1fr; padding-top: 0; }
  .arms::before, .arms::after { display: none; }
  .arms-root { position: static; translate: none; width: 220px; margin-bottom: 20px; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .nav { top: 8px; left: 8px; right: 8px; padding: 8px 8px 8px 16px; }
  .nav-logo { width: 100px; }
  .hero { padding: 8px; }
  .hero-frame { padding: 88px 16px 20px; border-radius: 22px; min-height: calc(100svh - 16px); grid-template-rows: auto 1fr auto auto; }
  .hero-top { flex-wrap: wrap; }
  .hero-title { font-size: 18.5vw; }
  .hero-title .line:nth-child(2) > span { margin-left: 0; }
  .switch-wrap { position: static; align-items: flex-start; order: 3; }
  .switch-hint { display: none; }
  .hero-actions .btn { flex: 1; justify-content: center; }
  .m-line { font-size: 17vw; white-space: normal; width: auto; }
  .m-sanity { text-align: left; align-self: stretch; }
  .m-meter { top: 96px; }
  .process { grid-template-columns: 1fr; }
  .row-link:hover { padding-inline: 8px; }
  .labs-band { margin-inline: 8px; border-radius: 22px; }
  .sticker { width: calc(var(--s) * .6); }
  .mail-row .copy { display: none; }
  .footer-cols { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  ::view-transition-old(root), ::view-transition-new(root) { animation: none; }
  .grain, .marquee-track, .glitch::before, .glitch::after, .status.is-live::before, .sticker svg, .blink, .footer-mark { animation: none !important; }
  .hero-title .line > span, .hero-sub, .hero-actions, .switch-wrap, .menu-links a { animation: none; transform: none; opacity: 1; }
  [data-reveal] { opacity: 1; transform: none; transition: none; }
  .manifesto { height: auto; }
  .m-sticky { position: static; height: auto; padding-block: 120px; }
  .m-chaos { filter: none; }
  .m-sanity { clip-path: none; }
  .m-meter, .m-note { display: none; }
}

/* ---------- real product shots ---------- */
.pcard-oprezo:has(.pcard-shot) { padding-right: clamp(150px, 22vw, 300px); }
.pcard-shot { position: absolute; right: clamp(16px, 3vw, 44px); bottom: -60px; width: clamp(130px, 17vw, 230px); height: auto; border-radius: 22px; border: 6px solid #111; box-shadow: 0 30px 60px rgba(60, 10, 0, .45); rotate: 6deg; transition: translate .6s var(--ease), rotate .6s var(--ease); }
.pcard-oprezo:hover .pcard-shot { translate: 0 -24px; rotate: 2deg; }
.prod-shots { grid-column: 1 / -1; position: relative; margin-top: 8px; padding-right: clamp(60px, 10vw, 160px); }
.shot-desk { width: 100%; height: auto; border-radius: 16px; box-shadow: 0 30px 80px rgba(60, 10, 0, .35); }
.shot-phone { position: absolute; right: 0; bottom: -28px; width: clamp(120px, 18vw, 250px); height: auto; border-radius: 24px; border: 6px solid #111; box-shadow: 0 30px 60px rgba(40, 6, 0, .5); }
.exp { position: relative; overflow: hidden; }
.exp-0 { background: var(--uv); border-color: var(--uv); }
.exp-0 .exp-n { color: var(--sun); }
.exp-0 p { color: rgba(255, 255, 255, .8); }
@media (max-width: 900px) {
  .pcard-oprezo:has(.pcard-shot) { padding-right: clamp(24px, 3vw, 40px); padding-bottom: 260px; }
  .pcard-shot { bottom: -90px; }
}

/* ---------- labs: something is brewing ---------- */
.brew { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .8fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.brew-copy { display: grid; gap: 16px; justify-items: start; }
.brew-copy .lead { margin: 0; }
.brew-pot { position: relative; width: min(100%, 420px); aspect-ratio: 1; justify-self: center; }
.brew-ring { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 22s linear infinite; }
.brew-ring text { font: 600 15px/1 var(--mono); letter-spacing: .04em; text-transform: uppercase; fill: var(--bone); }

.brew-pot i { display: none; position: absolute; left: calc(36% + var(--b) * 5%); bottom: 34%; width: calc(10px + var(--b) * 2px); aspect-ratio: 1; border-radius: 50%; background: var(--ink); opacity: 0; animation: bubble calc(2.4s + var(--b) * .35s) ease-in infinite; animation-delay: calc(var(--b) * -.55s); }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes bubble { 0% { transform: translateY(0) scale(.4); opacity: 0; } 20% { opacity: .9; } 100% { transform: translateY(-120%) scale(1); opacity: 0; } }
@media (max-width: 1080px) { .brew { grid-template-columns: 1fr; } }

/* ---------- grunge type, from the moodboard poster ---------- */
.grunge, .cta-title .sun, .contact-title .sun {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='260' height='260'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='2' seed='4'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 -11 0 0 0 7.3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='260' height='260'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='2' seed='4'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 -11 0 0 0 7.3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)'/%3E%3C/svg%3E");
}
.grunge { color: var(--sun); }
@media (prefers-reduced-motion: reduce) { .brew-ring, .brew-pot i { animation: none; } }

/* ---------- shattered portrait: shards fly apart, scrolling puts the face back together ---------- */
.story-split { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: center; margin-top: clamp(64px, 8vw, 120px); }
.story-split .name-story { margin: 0; }
.shatter { position: relative; aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: clip; overflow-clip-margin: 48px; }
.shatter img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius); visibility: hidden; }
.shards { position: absolute; inset: 0; }
.shards i { position: absolute; inset: 0; background: url("/assets/shots/face.jpg") center / cover; border-radius: var(--radius);
  transform: translate(calc(var(--tx) * var(--c)), calc(var(--ty) * var(--c))) rotate(calc(var(--r) * var(--c))) scale(calc(1 - var(--c) * .08));
  filter: grayscale(1) contrast(1.08) brightness(calc(.86 - var(--c) * .25)); will-change: transform; transition: transform .45s var(--ease), filter .45s; }
.shards i:nth-child(7n) { background-color: var(--sun); background-blend-mode: multiply; }
@media (max-width: 900px) { .story-split { grid-template-columns: 1fr; } .shatter { max-width: 460px; } }
@media (prefers-reduced-motion: reduce) { .shatter { --c: 0 !important; } }


/* ---------- scrollbar: thin, dark track, yellow thumb ---------- */
html { scrollbar-width: thin; scrollbar-color: var(--sun) var(--ink); }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--ink); }
::-webkit-scrollbar-thumb { background: #3a3b36; border-radius: 999px; border: 2px solid var(--ink); }
::-webkit-scrollbar-thumb:hover { background: var(--sun); }

.brew-page { min-height: 100svh; padding-top: 120px; padding-bottom: 60px; }
.brew-page .h1 { max-width: 10ch; }
.brew-page .chips { margin-top: 8px; }
.is-labs .chips-uv li { border-color: rgba(156, 136, 255, .45); color: var(--uv-l); }

/* ---------- the brew: a slow, gooey yellow blob that keeps boiling ---------- */
.brew-goo { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.brew-goo .g { transform-box: fill-box; transform-origin: center; animation: wobble 6s ease-in-out infinite alternate; }
.brew-goo .g1 { animation-duration: 5s; animation-delay: -2s; }
.brew-goo .g2 { animation-duration: 7s; animation-delay: -1s; }
.brew-goo .g3 { animation-duration: 4.5s; animation-delay: -3s; }
@keyframes wobble { 0% { transform: translate(-6px, 4px) scale(1); } 50% { transform: translate(5px, -6px) scale(1.06); } 100% { transform: translate(-2px, 6px) scale(.96); } }
.brew-goo .bub { transform-box: fill-box; transform-origin: center; animation: bubble-rise 3.6s cubic-bezier(.4, 0, .6, 1) infinite; }
.brew-goo .b1 { animation-duration: 4.2s; animation-delay: -1.4s; }
.brew-goo .b2 { animation-duration: 3.1s; animation-delay: -2.2s; }
.brew-goo .b3 { animation-duration: 4.8s; animation-delay: -.6s; }
@keyframes bubble-rise { 0% { transform: translateY(20px) scale(.6); opacity: 1; } 70% { transform: translateY(-62px) scale(1); opacity: 1; } 100% { transform: translateY(-86px) scale(0); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .brew-goo .g, .brew-goo .bub { animation: none; } }

.brew-goo .drip { transform-box: fill-box; transform-origin: center top; animation: drip 4.4s cubic-bezier(.5, 0, .9, .6) infinite; }
.brew-goo .d1 { animation-duration: 5.2s; animation-delay: -2.1s; }
.brew-goo .d2 { animation-duration: 3.8s; animation-delay: -3.3s; }
@keyframes drip { 0% { transform: translateY(-10px) scale(.6, .8); opacity: 1; } 45% { transform: translateY(2px) scale(.9, 1.5); } 80% { transform: translateY(70px) scale(.7, 1); opacity: 1; } 100% { transform: translateY(96px) scale(0); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .brew-goo .drip { animation: none; } }

/* ---------- moodboard touches ---------- */
/* "Weird ideas." is the chaos half of the hero, so it gets the same worn print as "weird idea?" below */
.grunge-soft {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.7' numOctaves='2' seed='9'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 -9 0 0 0 6.6'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.7' numOctaves='2' seed='9'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 -9 0 0 0 6.6'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)'/%3E%3C/svg%3E");
}
/* the sigil sits behind "Got a weird idea?" and draws itself */
.cta-block { position: relative; }
.sigil { position: absolute; right: clamp(-160px, -8vw, -20px); top: clamp(40px, 6vw, 90px); width: min(460px, 52vw); color: var(--sun); opacity: .4; pointer-events: none; z-index: -1; animation: sigil-turn 80s linear infinite; }
.sigil .s-l { stroke-dasharray: 1; stroke-dashoffset: calc(1 - var(--draw, 1)); }
.sigil .s-dot { fill: var(--sun); transform-origin: 200px 200px; animation: sigil-turn 9s linear infinite reverse; }
@keyframes sigil-turn { to { rotate: 360deg; } }
.cta-title, .cta-side { position: relative; }
/* big headings get a short RGB split when you point at them */
.h1:hover, .h2:hover, .cta-title:hover { animation: rgb-split .45s steps(2) 1; }
@keyframes rgb-split { 0% { text-shadow: -4px 0 var(--uv), 4px 0 var(--sun); } 50% { text-shadow: 3px 0 var(--uv), -3px 0 var(--sun); } 100% { text-shadow: none; } }
@media (max-width: 1080px) { .sigil { width: 70vw; right: -28vw; top: 40px; opacity: .25; } }
@media (prefers-reduced-motion: reduce) { .sigil, .sigil .s-dot { animation: none; } .sigil .s-l { stroke-dashoffset: 0; } .h1:hover, .h2:hover, .cta-title:hover { animation: none; } }

/* the hint leaves once you have done what it says */
.switch-hint { transition: opacity .6s var(--ease), translate .6s var(--ease); }
.hero-frame.played .switch-hint { opacity: 0; translate: 0 -6px; }

/* ---------- products: a wide curved wall of cards; scroll it sideways if you like, every card is a link ---------- */
.ring-sec { --cw: clamp(240px, 26vw, 340px); --ch: calc(var(--cw) * 1.3); margin-top: clamp(96px, 12vw, 170px); }
.ring-sticky { display: grid; gap: clamp(32px, 4vw, 56px); }
.ring-title { width: min(1320px, 100%); margin-inline: auto; padding-inline: var(--gutter); }
.arc { overflow-x: auto; overflow-y: hidden; scrollbar-width: none; cursor: grab; perspective: 1400px; padding-block: 40px; outline: none; }
.arc::-webkit-scrollbar { display: none; }
.arc.is-drag { cursor: grabbing; }
.arc-track { display: flex; gap: clamp(14px, 1.6vw, 24px); width: max-content; padding-inline: calc(50vw - var(--cw) / 2); transform-style: preserve-3d; }
.rc { position: relative; flex: none; width: var(--cw); height: var(--ch); border-radius: 24px; padding: 22px; display: flex; flex-direction: column; gap: 12px; overflow: hidden;
  transform: rotateY(var(--ry, 0deg)) translateZ(var(--tz, 0px)); filter: brightness(var(--lt, 1)); box-shadow: 0 30px 80px rgba(0, 0, 0, .5); will-change: transform; transition: box-shadow .3s; }
.rc:hover { box-shadow: 0 30px 80px rgba(0, 0, 0, .5), 0 0 0 2px var(--sun); }
.rc-name { font-family: var(--display); font-weight: 900; font-stretch: 62%; font-variation-settings: "wdth" 62; text-transform: uppercase; font-size: calc(var(--cw) * .2); line-height: .86; margin-top: auto; }
.rc-text { font-size: 15px; line-height: 1.4; max-width: 30ch; }
.rc-oprezo { background: var(--oprezo); color: #fff; }
.rc-oprezo .status { border-color: rgba(255, 255, 255, .4); }
.rc-okuma { background: var(--bone); color: var(--ink); }
.rc-okuma .status { border-color: rgba(11, 11, 12, .25); }
.rc-next { background: var(--uv); color: #fff; }
.rc-next .status { border-color: rgba(255, 255, 255, .4); }
.rc-yours { background: var(--sun); color: var(--ink); }
.rc-yours .status { border-color: rgba(11, 11, 12, .3); }
.rc-shot { padding: 0; background: #111; border: 6px solid #1c1c1f; }
.rc-shot img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.rc-desk img { object-position: left top; }
@media (prefers-reduced-motion: reduce) { .rc { transform: none; filter: none; } }

/* ---------- labs: liquid chrome type that never stops flowing ---------- */
.soon { display: grid; place-items: center; min-height: 360px; filter: url(#liquid-soon); }
.soon-word { font-family: var(--display); font-weight: 900; font-stretch: 62%; font-variation-settings: "wdth" 62; text-transform: uppercase; line-height: .8;
  font-size: clamp(110px, 17vw, 300px); letter-spacing: -.02em; padding: .1em .05em;
  background: linear-gradient(170deg, #fdfdfb 0%, #9c9ea3 22%, #f2f2ee 38%, #4d4f55 52%, #d9dadc 64%, #7b6cff 80%, #f6f6f2 100%);
  background-size: 100% 220%; -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: chrome 7s ease-in-out infinite alternate; }
@keyframes chrome { to { background-position: 0 100%; } }
@media (prefers-reduced-motion: reduce) { .soon { filter: none; } .soon-word { animation: none; } }
.brew-page { grid-template-columns: 1fr; align-content: center; }
.brew-page .soon { min-height: 0; justify-items: start; margin-left: -.04em; }

/* breathing room before the footer line on every page */
main > section:last-child:not(.contact):not(.labs-band):not(.ring-sec) { padding-bottom: clamp(96px, 12vw, 170px); }
.who-text { font-size: clamp(28px, 3.4vw, 48px); }

/* the marquee separator is the long bar from the wordmark (the I in sanity) */
.marquee i.bar { display: block; width: clamp(56px, 7vw, 110px); height: clamp(7px, .8vw, 12px); background: currentColor; flex: none; }

/* ---------- floating objects (moodboard: UNIT01 poster) ---------- */
.objs { position: absolute; inset: 0; pointer-events: none; overflow: clip; }
.obj { position: absolute; left: var(--x); top: var(--y); width: var(--w); height: auto; mix-blend-mode: lighten; border-radius: 50%; -webkit-mask-image: radial-gradient(circle, #000 42%, transparent 68%); mask-image: radial-gradient(circle, #000 42%, transparent 68%);
  translate: calc(var(--mx, 0) * var(--d) * 9px) calc(var(--my, 0) * var(--d) * 9px); transition: translate 1s var(--ease);
  animation: float calc(6s + var(--d) * 1.2s) ease-in-out infinite alternate; animation-delay: calc(var(--d) * -1.7s); }
@keyframes float { from { transform: translateY(-14px) rotate(-5deg); } to { transform: translateY(14px) rotate(6deg); } }
.lab-hero { position: relative; min-height: 100svh; display: grid; place-items: center; text-align: center; padding: 130px var(--gutter) 80px; overflow: clip; }
.lab-copy { position: relative; z-index: 1; display: grid; justify-items: center; gap: 22px; }
.lab-title { font-family: var(--display); font-weight: 900; font-stretch: 62%; font-variation-settings: "wdth" 62; text-transform: uppercase; line-height: .84; font-size: clamp(64px, 12vw, 200px); max-width: 9ch; text-wrap: balance; }
.lab-copy .lead { margin: 0; }
.labs-band .objs { z-index: 0; }
.labs-band .obj { mix-blend-mode: normal; border-radius: 50%; -webkit-mask-image: radial-gradient(circle, #000 48%, transparent 70%); mask-image: radial-gradient(circle, #000 48%, transparent 70%); }
@media (max-width: 700px) { .lab-hero .obj { opacity: .6; width: calc(var(--w) * .75); } .lab-hero .obj:nth-child(4) { top: 82%; left: 6%; } .lab-hero .obj:nth-child(3) { top: 74%; left: 70%; } .labs-band .obj { opacity: .7; } }
@media (prefers-reduced-motion: reduce) { .obj { animation: none; translate: none; } }
