/* Hooke Labs site styles. Black, white and one blue. */

@font-face { font-family: "Geist"; src: url("../fonts/geist-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Geist"; src: url("../fonts/geist-500.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Geist"; src: url("../fonts/geist-600.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Geist Mono"; src: url("../fonts/geist-mono-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Geist Mono"; src: url("../fonts/geist-mono-500.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }

:root {
  --ink: #000000;
  --paper: #ffffff;
  --blue: #4DA2FF;
  --blue-on-white: #1A6FD6;
  --muted: rgba(255, 255, 255, 0.7);
  --faint: rgba(255, 255, 255, 0.5);
  --rule: rgba(255, 255, 255, 0.16);
  --card: #0B0C0E;
  --grey-text: #4A4F57;
  --grey-rule: #DADDE2;
  --gutter: clamp(16px, 4vw, 48px);
  --max: 1240px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --intro: 1.9s; /* loader length; set to 0s when the loader is skipped */
  color-scheme: dark;
}
html.hk-skip { --intro: 0s; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: "Geist", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img, video, svg { display: block; max-width: 100%; }
a { color: var(--blue); }
a:hover { color: var(--paper); }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3, h4, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 10px 14px; background: var(--blue); color: #000; border-radius: 8px; text-decoration: none; }
.skip:focus { top: 12px; }

.wrap { max-width: var(--max); margin: 0 auto; }
.pad { padding-left: var(--gutter); padding-right: var(--gutter); }
.mono { font-family: "Geist Mono", ui-monospace, monospace; text-transform: uppercase; letter-spacing: .08em; }
.eyebrow { font-size: 12px; color: var(--blue); }
.h2 { font-weight: 500; font-size: clamp(36px, 5vw, 68px); line-height: 1.02; letter-spacing: -0.04em; }
.lead { font-size: clamp(16px, 1.4vw, 18.5px); line-height: 1.55; color: var(--muted); text-wrap: pretty; }
.section { padding-top: clamp(72px, 10vw, 140px); padding-bottom: clamp(72px, 10vw, 140px); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 24px; border: 0; border-radius: 8px;
  background: var(--blue); color: #000; font: 500 16px/1 "Geist", system-ui, sans-serif;
  text-decoration: none; cursor: pointer;
  transition: transform .35s var(--ease), box-shadow .35s ease, filter .3s ease;
}
.btn:hover { color: #000; box-shadow: 0 12px 34px -10px rgba(77, 162, 255, .85); filter: brightness(1.06); }
.btn--white { background: var(--paper); }
.btn--white:hover { box-shadow: 0 12px 34px -10px rgba(255, 255, 255, .55); }
.btn--small { min-height: 44px; padding: 0 18px; font-size: 15px; }
.btn .arr { display: inline-block; transition: transform .35s var(--ease); }
.btn:hover .arr { transform: translateX(5px); }
.btn[disabled] { opacity: .6; cursor: progress; }

/* ---------- loader (once per session) ---------- */
@property --p { syntax: "<integer>"; inherits: true; initial-value: 0; }
.ld { position: fixed; inset: 0; z-index: 60; pointer-events: none; animation: ld-off 0s linear calc(var(--intro) + .8s) forwards; }
.ld-half { position: absolute; left: 0; right: 0; height: 50%; background: #000; transition: none; animation: .8s cubic-bezier(.75, 0, .2, 1) var(--intro) forwards; }
.ld-top { top: 0; animation-name: ld-up; }
.ld-bot { bottom: 0; animation-name: ld-down; }
.ld-count { animation: ld-p 1.5s cubic-bezier(.45, 0, .2, 1) .15s forwards; }
.ld-brand { position: absolute; left: var(--gutter); top: var(--gutter); display: flex; align-items: center; gap: 10px; font-size: 12px; color: var(--paper); opacity: 0; animation: hk-fade .5s ease .1s forwards; }
.ld-brand .logo path { stroke-dasharray: 1; stroke-dashoffset: 1; animation: ld-draw .9s var(--ease) .15s forwards; }
.ld-num { position: absolute; right: var(--gutter); bottom: 22px; display: flex; align-items: flex-start; gap: 6px; font-weight: 500; line-height: .8; letter-spacing: -0.05em; font-variant-numeric: tabular-nums; }
.ld-num .n { font-size: clamp(96px, 15vw, 220px); }
.ld-num .n::before { counter-reset: p var(--p); content: counter(p); }
.ld-num .pc { font-size: clamp(32px, 4.4vw, 64px); color: var(--blue); }
.ld-note { position: absolute; left: var(--gutter); top: 22px; font-size: 11.5px; color: var(--faint); }
.ld-line { position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: rgba(255, 255, 255, .14); z-index: 2; animation: hk-fade .2s linear var(--intro) reverse forwards; }
.ld-fill { position: absolute; left: 0; top: -1px; height: 3px; width: calc(var(--p) * 1%); background: var(--blue); box-shadow: 0 0 18px 2px rgba(77, 162, 255, .7); }
.ld-dot { position: absolute; top: 50%; left: calc(var(--p) * 1%); width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%; background: var(--blue); border: 2px solid #fff; box-shadow: 0 0 16px rgba(77, 162, 255, .9); }
@keyframes ld-p { 0% { --p: 0 } 25% { --p: 22 } 45% { --p: 48 } 60% { --p: 57 } 85% { --p: 91 } 100% { --p: 100 } }
@keyframes ld-up { to { transform: translateY(-100%); } }
@keyframes ld-down { to { transform: translateY(100%); } }
@keyframes ld-off { to { visibility: hidden; } }
@keyframes ld-draw { to { stroke-dashoffset: 0; } }
html.hk-skip .ld { display: none; }

/* ---------- shared keyframes ---------- */
@keyframes hk-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes hk-in { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
@keyframes hk-word { from { transform: translateY(110%) rotate(3deg); } to { transform: none; } }
@keyframes hk-ping { from { transform: scale(.6); opacity: .9; } to { transform: scale(2.2); opacity: 0; } }
@keyframes hk-zoom { from { transform: scale(1.18); filter: blur(12px); opacity: 0; } to { transform: none; filter: none; opacity: 1; } }
.in { animation: hk-in 1s var(--ease) both; animation-delay: calc(var(--intro) + var(--d, 0s)); }

/* ---------- header ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 40;
  background-color: rgba(0, 0, 0, .88); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, .1);
  animation: hk-fade .8s ease both; animation-delay: calc(var(--intro) - .1s);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px 32px; min-height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--paper); text-decoration: none; font-size: 20px; font-weight: 500; letter-spacing: -0.03em; line-height: 1; }
.brand:hover { color: var(--paper); }
.logo { flex: none; }
.brand .logo path { transition: transform .5s cubic-bezier(.3, 1.6, .5, 1); }
.brand:hover .logo path:first-child { transform: translateY(-5px); }
.brand:hover .logo path:last-child { transform: translateY(5px); }
.nav { display: flex; align-items: center; gap: 8px 30px; }
.nav-links { display: flex; gap: 4px 28px; font-size: 12px; }
.nav-links a { position: relative; color: var(--paper); text-decoration: none; padding: 12px 0; }
.nav-links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 6px; height: 1px; background: var(--blue); transform: scaleX(0); transform-origin: right; transition: transform .35s ease; }
.nav-links a:hover::after { transform: scaleX(1); transform-origin: left; }
.progress { position: fixed; left: 0; top: 0; width: 100%; height: 2px; z-index: 50; background: var(--blue); transform: scaleX(0); transform-origin: left; }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; min-height: min(100svh, 980px); display: flex; align-items: center; }
.hero-wall {
  position: absolute; top: -10%; right: -26%; width: 104%; height: 128%; perspective: 1300px; perspective-origin: 10% 40%;
  -webkit-mask-image: linear-gradient(to right, transparent 8%, #000 46%), linear-gradient(to bottom, transparent 0%, #000 16%, #000 78%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(to right, transparent 8%, #000 46%), linear-gradient(to bottom, transparent 0%, #000 16%, #000 78%, transparent 100%);
  mask-composite: intersect;
}
.hero-par { position: absolute; inset: 0; will-change: transform; }
.hero-zoom { position: absolute; inset: 0; animation: hk-zoom 1.4s var(--ease) both; animation-delay: calc(var(--intro) - .15s); }
.hero-tilt { position: absolute; inset: 0; transform: rotateY(-36deg) rotateX(22deg) rotateZ(-7deg) scale(.86); transform-origin: 30% 50%; }
.hero-tilt video { width: 100%; height: 100%; object-fit: cover; opacity: .92; }
.spot { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(560px circle at var(--mx, 72%) var(--my, 38%), rgba(77, 162, 255, .18), rgba(77, 162, 255, 0) 62%); opacity: 0; transition: opacity .4s ease; }
.hero:hover .spot { opacity: 1; }
.hero-body { position: relative; width: 100%; padding-top: 140px; padding-bottom: 120px; will-change: transform, opacity; }
.hero-copy { max-width: 760px; display: flex; flex-direction: column; align-items: flex-start; gap: 28px; }
.hero h1 { font-weight: 500; font-size: min(max(44px, 6.6vw), 96px, calc(12.4vw - 4px)); line-height: 1; letter-spacing: -0.04em; }
.hw { display: inline-block; overflow: hidden; vertical-align: bottom; padding-bottom: .1em; margin-bottom: -.1em; }
.hw > span { display: inline-block; animation: hk-word 1.1s var(--ease) both; animation-delay: calc(var(--intro) + var(--d, 0s)); }
.hl-tail { white-space: nowrap; }
.rot { display: inline-grid; overflow: hidden; vertical-align: bottom; padding-bottom: .1em; margin-bottom: -.1em; color: var(--blue); }
.rot > span { grid-area: 1 / 1; white-space: nowrap; animation: rot 10.4s var(--ease) infinite both; animation-delay: calc(var(--intro) + var(--d, 0s)); }
@keyframes rot { 0% { transform: translateY(105%); opacity: 0; filter: blur(8px); } 4%, 23% { transform: none; opacity: 1; filter: blur(0); } 27%, 100% { transform: translateY(-105%); opacity: 0; filter: blur(8px); } }
.hero .lead { max-width: 36rem; color: rgba(255, 255, 255, .75); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.cue { position: absolute; left: 50%; bottom: 32px; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 10px; font-size: 10.5px; color: var(--faint); }
.cue-line { position: relative; width: 1px; height: 44px; background: rgba(255, 255, 255, .18); overflow: hidden; }
.cue-line::after { content: ""; position: absolute; left: 0; top: -40%; width: 1px; height: 40%; background: var(--blue); animation: cue 1.8s cubic-bezier(.6, 0, .4, 1) infinite; }
@keyframes cue { to { top: 100%; } }
.footage-note { position: absolute; left: var(--gutter); bottom: 28px; font-size: 10.5px; color: rgba(255, 255, 255, .42); }

/* ---------- manifesto ---------- */
.manifesto p.big { max-width: 22ch; font-size: clamp(28px, 4.2vw, 58px); font-weight: 500; line-height: 1.12; letter-spacing: -0.035em; }
.mw { opacity: .14; transition: opacity .35s ease, color .35s ease; cursor: default; }
.mw.on { opacity: 1; }
.mw:hover { color: var(--blue); opacity: 1; }

/* ---------- datasets drum ---------- */
@property --lift { syntax: "<length>"; inherits: false; initial-value: 0px; }
/* 3D reveal transforms must never widen the page on phones */
main > section, .site-footer { overflow-x: clip; }
#datasets { overflow: hidden; overflow-x: clip; overflow-y: visible; }
.ds-head { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 18px; }
.ds-head .h2 { max-width: 18ch; }
.ds-head .lead { max-width: 36rem; }
.drum { --cw: 280px; --R: 440px; --dh: 720px; position: relative; height: var(--dh); margin-top: 40px; perspective: 1800px; perspective-origin: 50% 50%; }
.dtilt { position: absolute; left: 50%; top: 50%; width: 0; height: 0; transform-style: preserve-3d; transform: rotateX(-7deg); }
.ring { position: absolute; left: 0; top: 0; width: 0; height: 0; transform-style: preserve-3d; animation: ring-spin 42s linear infinite; }
@keyframes ring-spin { from { transform: rotateY(0deg); } to { transform: rotateY(-360deg); } }
.dc {
  position: absolute; width: var(--cw); height: calc(var(--cw) * 1.32); left: calc(var(--cw) / -2); top: calc(var(--cw) * -0.66);
  border-radius: 18px; overflow: hidden; background: var(--card); cursor: pointer;
  transform: rotateY(calc(var(--i) * 60deg)) translateZ(calc(var(--R) + var(--lift)));
  transition: --lift .45s var(--ease);
  animation: dc-dim 42s linear infinite; animation-delay: calc(var(--i) * 7s - 42s);
}
@keyframes dc-dim { 0% { opacity: 1; } 16% { opacity: .72; } 25% { opacity: .45; } 40%, 60% { opacity: .16; } 75% { opacity: .45; } 84% { opacity: .72; } 100% { opacity: 1; } }
.drum:hover .ring, .drum:hover .dc, .drum:focus-within .ring, .drum:focus-within .dc { animation-play-state: paused; }
.dc:hover, .dc:focus-within { --lift: 80px; opacity: 1 !important; }
.dc video, .dc img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.dc:hover video { transform: scale(1.08); }
.dc::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(to bottom, rgba(0, 0, 0, .5) 0%, rgba(0, 0, 0, 0) 26%, rgba(0, 0, 0, 0) 46%, rgba(0, 0, 0, .9) 100%); }
.dc::after { content: ""; position: absolute; inset: 0; z-index: 2; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14); }
.dc.now::after { box-shadow: inset 0 0 0 1.5px var(--blue); }
.dc .tag { position: absolute; z-index: 3; left: 16px; top: 14px; font-size: 11px; color: rgba(255, 255, 255, .75); }
.dc.now .tag { color: var(--blue); }
.dc .txt { position: absolute; z-index: 3; left: 16px; right: 16px; bottom: 16px; display: flex; flex-direction: column; gap: 6px; }
.dc h3 { font-size: 24px; font-weight: 500; letter-spacing: -0.03em; line-height: 1.1; }
.dc p { font-size: 13.5px; line-height: 1.45; color: rgba(255, 255, 255, .75); }
.pulse { position: relative; display: inline-block; width: 6px; height: 6px; margin-right: 8px; vertical-align: 1px; border-radius: 50%; background: var(--blue); }
.pulse::after { content: ""; position: absolute; inset: -1px; border-radius: 50%; border: 1.5px solid var(--blue); animation: hk-ping 2s ease-out 2s infinite; }
.drum-hint { margin-top: 24px; text-align: center; font-size: 11px; color: rgba(255, 255, 255, .4); }
.kitchen { margin-top: 80px; }
.kitchen h3 { font-size: 26px; font-weight: 500; letter-spacing: -0.03em; }
.kitchen ul { margin-top: 18px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 40px; font-size: 16.5px; }
.ki { display: flex; align-items: baseline; gap: 14px; padding: 14px 0; }
.ki .mono { font-size: 11px; color: var(--blue); }
.ki > span:last-child { display: inline-block; transition: transform .35s var(--ease), color .3s ease; }
.ki:hover > span:last-child { transform: translateX(10px); color: var(--blue); }

/* rule line that draws in */
.rl { background-image: linear-gradient(var(--rl, rgba(255, 255, 255, .18)), var(--rl, rgba(255, 255, 255, .18))); background-repeat: no-repeat; background-position: 0 0; background-size: 100% 1px; }

/* ---------- data bento ---------- */
.bento { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 16px; margin-top: 56px; }
.bc { position: relative; min-height: 440px; border-radius: 16px; overflow: hidden; background: var(--card); border: 1px solid rgba(255, 255, 255, .1); }
.bc.s7 { grid-column: span 7; } .bc.s5 { grid-column: span 5; } .bc.s12 { grid-column: span 12; min-height: 0; padding: 28px; }
.bc video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.bc:hover video { transform: scale(1.06); }
.bc .shade { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(to bottom, rgba(0, 0, 0, .55) 0%, rgba(0, 0, 0, 0) 28%, rgba(0, 0, 0, 0) 50%, rgba(0, 0, 0, .85) 100%); }
.bc::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: 3; background: radial-gradient(420px circle at var(--gx, 50%) var(--gy, 50%), rgba(255, 255, 255, .14), rgba(255, 255, 255, 0) 60%); opacity: 0; transition: opacity .3s ease; }
.bc:hover::after { opacity: 1; }
.bc:hover { box-shadow: 0 30px 70px -30px rgba(77, 162, 255, .55); }
.bc .lbl { position: absolute; z-index: 2; left: 22px; top: 18px; font-size: 11.5px; color: var(--blue); }
.bc .cnt { position: absolute; z-index: 2; right: 22px; top: 18px; font-size: 11.5px; color: var(--faint); }
.bc .cap { position: absolute; z-index: 2; left: 22px; right: 22px; bottom: 20px; max-width: 30rem; font-size: 22px; font-weight: 500; line-height: 1.3; letter-spacing: -0.02em; }
.hud { position: absolute; z-index: 2; width: 16px; height: 16px; border: 0 solid rgba(255, 255, 255, .85); transition: transform .9s var(--ease) .35s, opacity .6s ease .35s; }
.hud.tl { left: 10px; top: 10px; border-width: 2px 0 0 2px; } .hud.tr { right: 10px; top: 10px; border-width: 2px 2px 0 0; }
.hud.bl { left: 10px; bottom: 10px; border-width: 0 0 2px 2px; } .hud.br { right: 10px; bottom: 10px; border-width: 0 2px 2px 0; }
.bc:hover .hud { transition-delay: 0s; } .bc:hover .hud.tl { transform: translate(-4px, -4px); } .bc:hover .hud.tr { transform: translate(4px, -4px); } .bc:hover .hud.bl { transform: translate(-4px, 4px); } .bc:hover .hud.br { transform: translate(4px, 4px); }
.rec { position: absolute; z-index: 2; right: 22px; top: 40px; display: flex; align-items: center; gap: 8px; font-size: 11px; color: rgba(255, 255, 255, .7); }
.rec i { width: 7px; height: 7px; border-radius: 50%; background: #FF4D4D; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
@property --f { syntax: "<integer>"; inherits: true; initial-value: 0; }
.fc { counter-reset: f var(--f); animation: fcount 5s linear infinite; }
.fc::before { content: "FRAME " counter(f); }
@keyframes fcount { from { --f: 0; } to { --f: 300; } }
.wave-box { position: absolute; z-index: 2; left: 0; right: 0; bottom: 72px; height: 96px; overflow: hidden; pointer-events: none; }
.wave { position: absolute; left: 0; top: 0; width: 200%; height: 100%; animation: wave 5s linear infinite; }
@keyframes wave { to { transform: translateX(-50%); } }
.wave-key { position: absolute; z-index: 2; left: 22px; bottom: 172px; display: flex; gap: 14px; font-size: 10.5px; color: rgba(255, 255, 255, .7); }
.tl-box { position: absolute; z-index: 2; left: 22px; right: 22px; bottom: 78px; pointer-events: none; }
.tl-track { position: relative; display: flex; gap: 3px; height: 26px; font-size: 10.5px; }
.sg { display: flex; align-items: center; padding: 0 8px; border-radius: 4px; overflow: hidden; white-space: nowrap; background: rgba(255, 255, 255, .12); color: rgba(255, 255, 255, .7); }
.sg1 { flex: 40 1 0; animation: sg1 5.04s linear infinite; } .sg2 { flex: 20 1 0; animation: sg2 5.04s linear infinite; } .sg3 { flex: 40 1 0; animation: sg3 5.04s linear infinite; }
@keyframes sg1 { 0%, 39.9% { background: rgba(77, 162, 255, .92); color: #000; } 40%, 100% { background: rgba(255, 255, 255, .12); color: rgba(255, 255, 255, .7); } }
@keyframes sg2 { 0%, 39.9% { background: rgba(255, 255, 255, .12); color: rgba(255, 255, 255, .7); } 40%, 59.9% { background: rgba(77, 162, 255, .92); color: #000; } 60%, 100% { background: rgba(255, 255, 255, .12); color: rgba(255, 255, 255, .7); } }
@keyframes sg3 { 0%, 59.9% { background: rgba(255, 255, 255, .12); color: rgba(255, 255, 255, .7); } 60%, 100% { background: rgba(77, 162, 255, .92); color: #000; } }
.ph { position: absolute; top: -6px; bottom: -6px; width: 2px; background: #fff; box-shadow: 0 0 8px #fff; animation: ph 5.04s linear infinite; }
@keyframes ph { from { left: 0; } to { left: calc(100% - 2px); } }
.tl-meta { margin-top: 8px; font-size: 10.5px; color: rgba(255, 255, 255, .65); }
.deliver { display: flex; flex-wrap: wrap; gap: 28px 48px; align-items: stretch; }
.deliver-code { flex: 1.3 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.deliver-code .row { display: flex; justify-content: space-between; font-size: 11.5px; }
.deliver-copy { flex: 1 1 300px; display: flex; flex-direction: column; justify-content: flex-end; gap: 18px; }
.deliver-copy h3 { font-size: clamp(22px, 2.4vw, 30px); font-weight: 500; line-height: 1.15; letter-spacing: -0.03em; }
.deliver-copy li { padding: 12px 0; font-size: 15.5px; }
pre.json { margin: 0; padding: 22px 22px 22px 18px; font: 13.5px/1.75 "Geist Mono", ui-monospace, monospace; color: rgba(255, 255, 255, .6); white-space: pre-wrap; word-break: break-word; background: #050607; border: 1px solid rgba(255, 255, 255, .08); border-radius: 12px; overflow: hidden; }
pre.json > span { display: block; }
pre.json .ln { display: inline-block; width: 2.4em; color: rgba(255, 255, 255, .3); }
pre.json .k { color: #fff; } pre.json .s { color: var(--blue); } pre.json .n { color: #F5C46B; }
.data-note { margin-top: 28px; font-size: 16px; color: var(--muted); }

/* ---------- rights ---------- */
.rights-outer { padding: 0 clamp(12px, 2vw, 24px); }
.rights { background: var(--paper); color: #000; border-radius: 24px; }
.rights .inner { display: flex; flex-wrap: wrap; gap: 40px 72px; padding-top: clamp(72px, 9vw, 128px); padding-bottom: clamp(72px, 9vw, 128px); }
.rights .side { flex: 1 1 320px; max-width: 30rem; display: flex; flex-direction: column; gap: 20px; }
.rights .eyebrow { color: var(--blue-on-white); }
.rights .lead { color: var(--grey-text); }
.rights a { color: var(--blue-on-white); }
.rights a:hover { color: #000; }
.rights ul { flex: 1.6 1 460px; font-size: 17px; line-height: 1.6; --rl: var(--grey-rule); }
.cl { position: relative; padding: 18px 0; }
.cl:last-child { border-bottom: 1px solid var(--grey-rule); }
.cl strong { font-weight: 500; transition: color .3s ease; }
.cl span { color: var(--grey-text); }
.cl::before { content: ""; position: absolute; left: -18px; top: 50%; width: 7px; height: 7px; border-radius: 50%; background: var(--blue-on-white); transform: translateY(-50%) scale(0); transition: transform .3s cubic-bezier(.3, 1.6, .5, 1); }
.cl:hover::before { transform: translateY(-50%) scale(1); }
.cl:hover strong { color: var(--blue-on-white); }

/* ---------- mission ---------- */
.mission .inner { display: flex; flex-wrap: wrap; align-items: center; gap: 48px 96px; }
.mission .copy { flex: 1.5 1 420px; max-width: 42rem; display: flex; flex-direction: column; gap: 20px; }
.mission .h2 { max-width: 14ch; }
.mission p { color: rgba(255, 255, 255, .74); text-wrap: pretty; }
.mission p.strong { color: #fff; font-size: clamp(19px, 1.7vw, 23px); line-height: 1.5; letter-spacing: -0.01em; }
.mission p.strong em { font-style: normal; color: var(--blue); }
.mission figure { flex: 1 1 220px; max-width: 260px; display: flex; flex-direction: column; gap: 12px; }
.mission figcaption { font-size: 10.5px; line-height: 1.6; color: rgba(255, 255, 255, .55); }
.coil { transform-box: view-box; transform-origin: 100px 36px; }
.weight { transform-box: view-box; }
.is-in .coil { animation: coil 2.6s cubic-bezier(.3, 0, .2, 1) .2s both; }
.is-in .weight { animation: weight 2.6s cubic-bezier(.3, 0, .2, 1) .2s both; }
@keyframes coil { 0% { transform: scaleY(.7); } 55% { transform: scaleY(1.08); } 75% { transform: scaleY(.97); } 100% { transform: scaleY(1); } }
@keyframes weight { 0% { transform: translateY(-44px); } 55% { transform: translateY(12px); } 75% { transform: translateY(-4px); } 100% { transform: none; } }

/* ---------- contact ---------- */
.contact .h2 { max-width: 14ch; font-size: clamp(42px, 6.4vw, 92px); line-height: 1; letter-spacing: -0.045em; }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 24px 64px; margin-top: 56px; align-items: start; }
.cbox { --rl: rgba(255, 255, 255, .4); padding-top: 28px; display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.cbox h3 { font-size: 24px; font-weight: 500; letter-spacing: -0.03em; }
.cbox > p { max-width: 30rem; font-size: 16.5px; color: var(--muted); }
.form { width: 100%; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 4px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 11px; color: rgba(255, 255, 255, .65); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 12px 14px; border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, .18); background: #0B0C0E; color: #fff;
  font: 400 16px/1.4 "Geist", system-ui, sans-serif; transition: border-color .2s ease, box-shadow .2s ease;
}
.field textarea { min-height: 120px; resize: vertical; }
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, #fff 50%), linear-gradient(135deg, #fff 50%, transparent 50%); background-position: calc(100% - 20px) 21px, calc(100% - 15px) 21px; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 36px; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: rgba(255, 255, 255, .35); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(77, 162, 255, .25); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-foot { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.form-foot small { font-size: 13.5px; color: var(--faint); }
.form-status { grid-column: 1 / -1; min-height: 1.5em; font-size: 15px; }
.form-status.ok { color: var(--blue); }
.form-status.err { color: #FF8A8A; }
.mail-alt { font-size: 15px; color: var(--muted); }

/* ---------- footer ---------- */
.site-footer { overflow: hidden; }
.foot-row { padding-top: 24px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px; font-size: 14.5px; color: rgba(255, 255, 255, .62); }
.foot-row p { display: flex; align-items: center; gap: 10px; }
.foot-row nav { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.foot-row a { color: rgba(255, 255, 255, .82); padding: 4px 0; }
.giant { margin-top: 24px; overflow: hidden; font-size: clamp(76px, 18.5vw, 280px); font-weight: 500; line-height: .82; letter-spacing: -0.07em; white-space: nowrap; color: rgba(255, 255, 255, .08); padding-bottom: .06em; }
.lt { display: inline-block; }
@keyframes lthop { 0%, 100% { transform: none; } 45% { transform: translateY(-16%); color: var(--blue); } }
.lt:hover { animation: lthop .6s cubic-bezier(.3, 1.6, .5, 1); }

/* ---------- headings hover ---------- */
.w { display: inline-block; overflow: hidden; vertical-align: bottom; padding-bottom: .1em; margin-bottom: -.1em; }
.w > span { display: inline-block; }
@keyframes wbounce { 0%, 100% { transform: none; } 40% { transform: translateY(-14%); } }
h2:hover .w > span { animation: wbounce .7s cubic-bezier(.3, 1.6, .5, 1) var(--wd, 0ms); }

/* ---------- scroll reveal (enabled by JS adding .js-motion on <html>) ---------- */
.js-motion [data-sx] { transition: opacity .9s var(--ease), transform 1.1s var(--ease), clip-path 1.2s var(--ease), filter 1s ease, border-radius 1s ease, background-size 1.3s var(--ease); }
.js-motion [data-sx].rl:not(.is-in) { background-size: 0% 1px; }
.js-motion [data-sx="up"]:not(.is-in) { opacity: 0; transform: translateY(60px); }
.js-motion [data-sx="left"]:not(.is-in) { opacity: 0; transform: translateX(-64px); }
.js-motion [data-sx="fade"]:not(.is-in) { opacity: 0; }
.js-motion [data-sx="blur"]:not(.is-in) { opacity: 0; filter: blur(14px); transform: scale(1.05); }
.js-motion [data-sx="flip"]:not(.is-in) { opacity: 0; transform: perspective(1200px) rotateX(32deg) translateY(90px) scale(.94); }
.js-motion [data-sx="tilt"]:not(.is-in) { opacity: 0; transform: perspective(1400px) rotateX(48deg) translateY(140px) scale(.82); }
.js-motion [data-sx="panel"]:not(.is-in) { transform: translateY(90px) scale(.92); border-radius: 72px; }
.js-motion [data-sx="words"] .w > span { transition: transform 1.05s var(--ease), filter .9s ease, opacity .9s ease; }
.js-motion [data-sx="words"]:not(.is-in) .w > span { transform: translateY(110%) rotate(4deg); filter: blur(6px); opacity: 0; }
.js-motion [data-sx="lines"] > span { transition: opacity .5s ease, transform .6s var(--ease); }
.js-motion [data-sx="lines"]:not(.is-in) > span { opacity: 0; transform: translateX(-14px); }
.js-motion [data-sx="letters"] .lt { transition: transform 1.1s var(--ease), opacity 1s ease; }
.js-motion [data-sx="letters"]:not(.is-in) .lt { transform: translateY(90%); opacity: 0; }
.js-motion [data-sx]:not(.is-in) .hud { opacity: 0; transform: scale(2.4); }
.js-motion .bc.is-in { transform: perspective(1100px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .3s ease-out, opacity .9s ease, box-shadow .3s ease; }

/* ---------- privacy and simple pages ---------- */
.doc { background: #fff; color: #000; }
.doc .site-header { position: sticky; background: rgba(255, 255, 255, .92); border-bottom-color: var(--grey-rule); animation: none; }
.doc .brand, .doc .brand:hover, .doc .nav-links a { color: #000; }
.doc a { color: var(--blue-on-white); }
.doc a:hover { color: #000; }
.doc main { padding-top: clamp(40px, 6vw, 72px); padding-bottom: 96px; }
.doc article { max-width: 46rem; display: flex; flex-direction: column; gap: 14px; line-height: 1.7; }
.doc h1 { font-weight: 500; font-size: clamp(36px, 4.4vw, 52px); line-height: 1.1; letter-spacing: -0.035em; }
.doc h2 { margin-top: 28px; font-size: 22px; font-weight: 600; line-height: 1.4; }
.doc ul { list-style: disc; padding-left: 1.3em; display: flex; flex-direction: column; gap: 6px; }
.doc .meta { color: var(--grey-text); font-size: 15.5px; }
.doc .box { background: #E6F1FF; border-radius: 8px; padding: 20px 24px; }
.todo { display: inline; padding: 0 6px; border: 1px dashed #000; border-radius: 3px; background: #E6F1FF; }
.doc .site-footer { border-top: 1px solid #000; }
.doc .foot-row { color: var(--grey-text); padding-bottom: 40px; }
.doc .foot-row a { color: var(--blue-on-white); }
.simple { min-height: 70svh; display: flex; flex-direction: column; justify-content: center; gap: 22px; padding-top: 140px; padding-bottom: 80px; }

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  .bento { grid-template-columns: minmax(0, 1fr); }
  .bc.s7, .bc.s5, .bc.s12 { grid-column: 1 / -1; }
  .bc { min-height: 340px; }
  .bc .cap { font-size: 19px; }
  .contact-grid { grid-template-columns: minmax(0, 1fr); }
  .kitchen ul { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 860px) {
  .nav-links { display: none; }
  .hero-wall { opacity: .32; right: -70%; width: 170%; }
  .hero-body { padding-top: 120px; padding-bottom: 110px; }
  .drum { --cw: 168px; --R: 250px; --dh: 400px; }
  .dc h3 { font-size: 20px; }
  .footage-note { bottom: 92px; }
}
@media (max-width: 560px) {
  .form { grid-template-columns: minmax(0, 1fr); }
  .hero-ctas .btn { flex: 1 1 100%; }
  .site-header .wrap { min-height: 60px; }
  .brand { font-size: 18px; }
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ld { display: none; }
  :root { --intro: 0s; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .rot > span + span { display: none; }
  .rot > span { animation: none !important; transform: none; opacity: 1; filter: none; }
  .mw { opacity: 1; }
  .ring { animation: none !important; position: static; width: auto; height: auto; transform: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px; }
  .dtilt { position: static; width: auto; height: auto; transform: none; }
  .drum { height: auto; perspective: none; }
  .dc { position: relative; left: auto; top: auto; transform: none; animation: none !important; opacity: 1; }
  .drum-hint { display: none; }
}
