/* Leo Falcon brand system */
@font-face { font-family: 'Archivo'; src: url(fonts/archivo.woff2) format('woff2-variations'); font-weight: 100 900; font-stretch: 62% 125%; font-display: swap; }
@font-face { font-family: 'JetBrains Mono'; src: url(fonts/jbmono-500.woff2) format('woff2'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'JetBrains Mono'; src: url(fonts/jbmono-700.woff2) format('woff2'); font-weight: 700; font-display: swap; }
:root {
  --blue: #2d61d2;
  --blue-deep: #1c45a8;
  --blue-glow: #2f6bff;
  --soft: #7fa2f0;
  --black: #0b0b0c;
  --bg: #eef0f5;
  --paper: #f6f7fa;
  --line: #dfe3ec;
  --white: #fff;
  --r: 26px;
  --gap: 18px;
  --display: 'Archivo', system-ui, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, monospace;
}
* { box-sizing: border-box; }
html { background: var(--bg); }
body { margin: 0; font-family: var(--display); color: var(--black); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; text-align: left; }

.wrap { padding: var(--gap); display: grid; gap: var(--gap); max-width: 1920px; margin: 0 auto; }
.bento { display: grid; gap: var(--gap); }
.card { position: relative; overflow: hidden; border-radius: var(--r); padding: clamp(24px, 3vw, 46px); isolation: isolate; }
.blue { background: var(--blue); color: var(--white); }
.black { background: var(--black); color: var(--white); }
.light { background: var(--paper); border: 1px solid var(--line); }
.soft { background: var(--soft); }

.mono { font-family: var(--mono); font-weight: 700; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; }
.dim { opacity: .55; }
h2 { font-weight: 900; font-stretch: 112%; font-size: clamp(40px, 4.6vw, 80px); line-height: .95; letter-spacing: -.035em; margin: 18px 0 18px; }
.card p { margin: 0; font-size: clamp(15px, 1.1vw, 19px); line-height: 1.45; font-weight: 500; }

/* ---------- 01 index ---------- */
.hero-row { grid-template-columns: 1.72fr 1fr; min-height: calc(100vh - var(--gap) * 2); }
.hero { container-type: inline-size; display: flex; flex-direction: column; justify-content: space-between; min-height: 560px; }
.bar { display: flex; justify-content: space-between; position: relative; z-index: 2; }
.orb { position: absolute; width: min(56vw, 720px); aspect-ratio: 1; right: -14%; top: 12%; border-radius: 50%; background: var(--black); z-index: -1; }
.moon { position: absolute; width: 6%; aspect-ratio: 1; border-radius: 50%; background: var(--soft); left: 15%; top: 15%; }
.wordmark { margin: 0; font-weight: 900; font-stretch: 125%; line-height: .86; letter-spacing: -.03em; font-size: 16.4cqi; white-space: nowrap; }
.wordmark .line { display: block; overflow: hidden; padding-bottom: .02em; }
.wordmark .char { display: inline-block; }

.side { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1.5fr 1fr; gap: var(--gap); }
.ig { grid-column: 1 / -1; display: block; min-height: 300px; }
.ig .arrow { position: absolute; right: 34px; top: 34px; width: 66px; height: 66px; border-radius: 50%; display: grid; place-items: center; font-size: 24px; background: #3b3b3e; border: 2px solid #5a5a5e; transition: background .3s, transform .4s cubic-bezier(.2, .9, .2, 1); }
.ig:hover .arrow { background: var(--blue); transform: rotate(45deg); }
.roll { position: absolute; left: clamp(24px, 3vw, 46px); bottom: calc(28px + 3.4em * .3 + 40px); height: 1em; overflow: hidden; font-weight: 900; font-stretch: 112%; font-size: clamp(44px, 4.8vw, 88px); line-height: 1; letter-spacing: -.03em; }
.roll span { display: block; height: 1em; transition: transform .55s cubic-bezier(.7, 0, .2, 1); }
.ig:hover .roll span { transform: translateY(-100%); }
.drawer { position: absolute; left: 0; right: 0; bottom: 0; padding: 28px clamp(24px, 3vw, 46px); background: var(--blue-deep); border-radius: var(--r) var(--r) 0 0; transform: translateY(0); transition: transform .5s cubic-bezier(.2, .9, .2, 1); }
.ig:hover .drawer { background: var(--blue); }
.dots { display: grid; grid-template-columns: repeat(6, 1fr); align-content: space-around; justify-items: center; }
.dots i { width: 6px; height: 6px; border-radius: 50%; background: var(--blue); }
.monogram { display: flex; flex-direction: column; justify-content: space-between; color: var(--black); }
.monogram b { font-weight: 900; font-stretch: 125%; font-size: clamp(90px, 8vw, 150px); line-height: .8; display: flex; align-items: flex-end; }
.monogram b i { width: .24em; height: .24em; background: var(--white); margin-left: .02em; transition: transform .4s; }
.monogram:hover b i { transform: translateY(-.5em); }

/* ---------- 02 / 03 ---------- */
.two { grid-template-columns: 1fr 1fr; }
.two .card { min-height: 440px; }
.projects { display: grid; grid-template-columns: 1fr 1.05fr; gap: 28px; align-items: center; }
.copy { position: relative; z-index: 2; }
.glow-shard { position: absolute; z-index: -1; right: -6%; top: -30%; width: 55%; height: 160%; background: linear-gradient(115deg, transparent 30%, var(--blue-glow) 48%, #0b2a7a 62%, transparent 75%); transform: rotate(18deg); filter: blur(2px); opacity: .9; }
.ctas { display: flex; align-items: center; gap: 26px; margin-top: 34px; flex-wrap: wrap; }
.btn { display: inline-flex; align-items: center; gap: 14px; padding: 18px 34px; border-radius: 999px; background: var(--white); color: var(--black); font-weight: 800; font-size: 16px; transition: transform .25s, box-shadow .25s; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 12px 30px -10px rgba(47, 107, 255, .6); }
.link { font-weight: 700; display: inline-flex; gap: 10px; }
.link span, .btn span { transition: transform .25s; }
.link:hover span, .btn:hover span { transform: translateX(4px); }

.player { position: relative; display: block; width: 100%; aspect-ratio: 16 / 10; border-radius: 22px; overflow: hidden; border: 2px solid rgba(255, 255, 255, .85); background: #111; transform: perspective(1000px) rotateY(-9deg) rotateZ(-2deg); transform-style: preserve-3d; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .8); }
.scene { position: absolute; inset: 0; width: 100%; height: 100%; }
.corner { position: absolute; width: 22px; height: 22px; border: 3px solid #fff; z-index: 2; }
.corner.tl { left: 20px; top: 20px; border-right: 0; border-bottom: 0; }
.corner.tr { right: 20px; top: 20px; border-left: 0; border-bottom: 0; }
.play { position: absolute; left: 50%; top: 45%; transform: translate(-40%, -50%); border-left: 34px solid #fff; border-top: 22px solid transparent; border-bottom: 22px solid transparent; filter: drop-shadow(0 4px 14px rgba(0, 0, 0, .5)); transition: transform .3s; }
.player:hover .play { transform: translate(-40%, -50%) scale(1.15); }
.hud { position: absolute; left: 0; right: 0; bottom: 0; display: flex; align-items: center; gap: 14px; padding: 16px 20px; background: linear-gradient(transparent, rgba(0, 0, 0, .75)); letter-spacing: 0; font-size: 12px; text-transform: none; }
.pause { width: 10px; height: 14px; border-left: 3px solid #fff; border-right: 3px solid #fff; }
.track { flex: 1; position: relative; height: 3px; background: rgba(255, 255, 255, .3); border-radius: 3px; }
.fill { position: absolute; inset: 0 auto 0 0; width: 34%; background: #fff; border-radius: 3px; }
.knob { position: absolute; top: 50%; left: 34%; width: 12px; height: 12px; margin: -6px; border-radius: 50%; background: #fff; }

.services { display: grid; grid-template-columns: .9fr 1.1fr; gap: 28px; align-items: start; background: radial-gradient(130% 120% at 40% 0%, #2f5fe0, #1240c9 55%, #0b2fa0); }
.planet { position: absolute; z-index: -1; border-radius: 50%; width: 120%; aspect-ratio: 1; left: 2%; top: 58%; background: radial-gradient(circle at 50% 50%, #1236b5 0 58%, #3f7dff 66%, rgba(63, 125, 255, 0) 72%); filter: blur(.5px); }
.rows { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.rows a { display: flex; align-items: center; gap: 22px; padding: 22px 26px; border-radius: 20px; border: 1.5px solid rgba(255, 255, 255, .45); background: rgba(255, 255, 255, .04); transition: background .3s, border-color .3s; }
.rows a:hover { background: rgba(255, 255, 255, .14); border-color: #fff; }
.rows svg { width: 38px; height: 38px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linejoin: round; stroke-linecap: round; }
.rows span { flex: 1; display: grid; gap: 4px; }
.rows b { font-weight: 800; font-size: clamp(17px, 1.4vw, 23px); letter-spacing: -.02em; }
.rows small { font-size: 14px; opacity: .85; }
.rows em { font-style: normal; font-size: 24px; transition: transform .3s; }
.rows a:hover em { transform: translateX(6px); }

/* ---------- 04 / 05 ---------- */
.toolkit { display: flex; flex-direction: column; }
.toolkit h2 { margin-bottom: 10px; }
.tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 26px; flex: 1; }
.tile { position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; gap: 6px; min-height: 180px; padding: 28px; border-radius: 22px; background: #131416; color: #fff; }
.tile b, .tile small, .tile .arrow { z-index: 1; }
.tile b { font-weight: 900; font-size: clamp(26px, 2.2vw, 38px); letter-spacing: -.03em; position: relative; }
.tile small { font-size: 14px; opacity: .85; position: relative; }
.tile .arrow { position: absolute; right: 24px; top: 20px; font-size: 26px; transition: transform .3s; }
.tile:hover .arrow { transform: translate(3px, -3px); }
.strips { position: absolute; inset: 0; display: flex; opacity: .55; transition: opacity .4s; }
.strips i { flex: 1; }
.strips i:nth-child(1) { background: linear-gradient(#2a3140, #0f1116); }
.strips i:nth-child(2) { background: linear-gradient(#3b4a63, #12151c); }
.strips i:nth-child(3) { background: linear-gradient(#5a5260, #16141a); }
.strips i:nth-child(4) { background: linear-gradient(#26486d, #0d141f); }
.strips i:nth-child(5) { background: linear-gradient(#423a33, #141210); }
.luts:hover .strips { opacity: .9; }
.luts::after, .gear::after { content: ''; position: absolute; inset: 0; background: linear-gradient(transparent 30%, rgba(0, 0, 0, .75)); }
.lens { position: absolute; right: -14%; top: -30%; width: 75%; aspect-ratio: 1; }
.lens i { position: absolute; inset: 0; border-radius: 50%; border: 10px solid #26282d; }
.lens i:nth-child(2) { inset: 14%; border-color: #1c1e22; border-width: 14px; }
.lens i:nth-child(3) { inset: 32%; border: 0; background: radial-gradient(circle at 40% 35%, #3a4f7a, #0b0d12 60%); }
.work .planet { left: auto; right: -42%; top: -10%; width: 95%; background: radial-gradient(circle at 50% 50%, #050913 0 56%, #1d4ed8 64%, #2f6bff 67%, rgba(47, 107, 255, 0) 73%); }
.work h2 { font-size: clamp(42px, 4.8vw, 84px); }
.work .btn { margin-top: 34px; }

footer { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 10px 6px 4px; font-size: 11px; color: #5d6474; }
footer a:hover { color: var(--blue); }

/* ---------- sheet (LUTs / gear / showreel) ---------- */
.sheet { position: fixed; inset: 0; z-index: 50; display: grid; place-items: center; padding: 20px; background: rgba(11, 11, 12, .55); }
.sheet[hidden] { display: none; }
.sheet .panel { position: relative; width: min(640px, 100%); max-height: 86vh; overflow: auto; background: var(--black); color: #fff; border-radius: var(--r); padding: 40px; }
.sheet .close { position: absolute; right: 20px; top: 14px; font-size: 30px; opacity: .7; }
.sheet .close:hover { opacity: 1; }
.sheet h3 { font-weight: 900; font-size: 40px; letter-spacing: -.03em; margin: 14px 0 20px; }
.sheet dl { display: grid; grid-template-columns: auto 1fr; gap: 12px 24px; margin: 0; font-size: 15px; }
.sheet dt { font-family: var(--mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; opacity: .6; padding-top: 2px; }
.sheet dd { margin: 0; }
.sheet video { width: 100%; border-radius: 16px; background: #000; }
.sheet .frame { position: relative; aspect-ratio: 16 / 9; border-radius: 16px; overflow: hidden; background: #000; }
.sheet .frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.sheet .panel:has(.frame), .sheet .panel:has(video) { width: min(1100px, 100%); }

/* stack the services rows under the heading until the card is wide enough */
@media (max-width: 1700px) {
  .services { grid-template-columns: 1fr; }
  .services .rows { max-width: 640px; }
}

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .hero-row, .two { grid-template-columns: 1fr; }
  .hero-row { min-height: 0; }
  .side { grid-template-rows: auto 220px; }
  .projects, .services { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  @font-face { font-family: 'Archivo'; src: url(fonts/archivo.woff2) format('woff2-variations'); font-weight: 100 900; font-stretch: 62% 125%; font-display: swap; }
@font-face { font-family: 'JetBrains Mono'; src: url(fonts/jbmono-500.woff2) format('woff2'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'JetBrains Mono'; src: url(fonts/jbmono-700.woff2) format('woff2'); font-weight: 700; font-display: swap; }
:root { --gap: 10px; --r: 20px; }
  .hero { min-height: 74vh; }
  .orb { width: 110vw; right: -50%; top: 18%; }
  .tiles { grid-template-columns: 1fr; }
  .ig { min-height: 240px; }
  .player { transform: none; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }

/* ---------- single page: sticky top bar + stacked full-screen sections ---------- */
html { scroll-behavior: smooth; }
.topbar { position: fixed; left: 0; right: 0; top: 0; z-index: 30; display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding: 12px calc(var(--gap) + 8px); transition: background .3s, transform .4s cubic-bezier(.2, .9, .2, 1); transform: translateY(-110%); }
.topbar.show { transform: none; background: rgba(238, 240, 245, .82); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.topbar nav { display: flex; gap: 6px; flex-wrap: wrap; }
.topbar nav a { position: relative; padding: 9px 14px; border-radius: 999px; font-size: 11.5px; color: #4b5263; transition: color .25s; }
.topbar nav a span { opacity: .5; margin-right: 8px; }
.topbar nav a:hover { color: var(--black); }
.topbar nav a.on { color: #fff; }
.topbar nav { position: relative; }
.topbar .pill { position: absolute; z-index: -1; left: 0; top: 0; border-radius: 999px; background: var(--black); opacity: 0; }
.topbar .home { font-size: 13px; }

.jumps { grid-template-columns: repeat(4, 1fr); }
.jump { display: flex; flex-direction: column; justify-content: space-between; gap: 40px; min-height: 200px; transition: transform .35s cubic-bezier(.2, .9, .2, 1); }
.jump:hover { transform: translateY(-6px); }
.jump b { font-weight: 900; font-stretch: 112%; font-size: clamp(30px, 2.6vw, 48px); line-height: .95; letter-spacing: -.035em; }
.jump em { position: absolute; right: clamp(24px, 3vw, 46px); bottom: clamp(24px, 3vw, 46px); font-style: normal; font-size: 30px; transition: transform .3s; }
.jump:hover em { transform: translateY(5px); }
.glowy { background: radial-gradient(90% 120% at 110% 120%, #2f6bff, #0b1b4d 45%, var(--black) 70%); }

.stacks { padding: 0 var(--gap); }
/* each section stays pinned for an extra ~60vh of scrolling before the next one slides over */
.stack { position: sticky; top: 64px; height: calc(100vh - 64px - var(--gap)); margin-bottom: 60vh; scroll-margin-top: 64px; }
.stack:last-child { margin-bottom: var(--gap); }
.stack > .card { height: 100%; display: grid; align-content: center; transform-origin: 50% 0; will-change: transform; }
.stack > .card::after { content: ''; position: absolute; inset: 0; z-index: 5; background: #000; opacity: var(--dim, 0); pointer-events: none; border-radius: inherit; }
.stack h2 { font-size: clamp(54px, 7vw, 132px); }
.stack .projects { grid-template-columns: 1fr 1.15fr; gap: 6vw; }
.stack .services { grid-template-columns: .9fr 1.1fr; align-items: center; }
.stack .toolkit { display: flex; flex-direction: column; justify-content: center; }
.stack .tiles { flex: none; min-height: 44vh; }
.stack .work h2 { font-size: clamp(60px, 8vw, 150px); }
.stacks + .wrap { padding-top: 0; }

@media (max-width: 1100px) {
  .jumps { grid-template-columns: 1fr 1fr; }
  .stack .projects, .stack .services { grid-template-columns: 1fr; }
  .stack { position: relative; top: 0; height: auto; margin-bottom: var(--gap); }
  .stack > .card { height: auto; min-height: calc(100vh - 64px - var(--gap)); }
}
@media (max-width: 640px) {
  .jumps { grid-template-columns: 1fr; }
  .topbar { flex-wrap: nowrap; padding: 10px 14px; }
  .topbar nav { flex-wrap: nowrap; gap: 2px; }
  .topbar nav a { font-size: 0; padding: 8px 11px; }
  .topbar nav a span { font-size: 12px; opacity: 1; margin: 0; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .topbar { transform: none; } }

/* ---------- contact form ---------- */
.work { grid-template-columns: .9fr 1.1fr; gap: 5vw; align-items: center; }
.mail-link { display: inline-block; margin-top: 30px; font-weight: 800; font-size: clamp(18px, 1.6vw, 26px); letter-spacing: -.02em; border-bottom: 2px solid rgba(255, 255, 255, .5); padding-bottom: 3px; transition: border-color .2s; }
.mail-link:hover { border-color: #fff; }
.cform { position: relative; z-index: 2; display: grid; gap: 18px; padding: clamp(22px, 2.4vw, 36px); border-radius: 24px; background: rgba(255, 255, 255, .06); border: 1.5px solid rgba(255, 255, 255, .18); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); }
.cform .label { display: block; font-size: 11px; opacity: .6; margin-bottom: 10px; }
.cform .label i { font-style: normal; text-transform: none; letter-spacing: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips .label { width: 100%; margin-bottom: 2px; }
.chips input { position: absolute; opacity: 0; pointer-events: none; }
.chips span:not(.label) { display: inline-block; padding: 10px 16px; border-radius: 999px; border: 1.5px solid rgba(255, 255, 255, .28); font-weight: 700; font-size: 14px; cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.chips label:hover span { border-color: #fff; }
.chips input:checked + span { background: #fff; color: var(--black); border-color: #fff; }
.chips input:focus-visible + span { outline: 2px solid var(--soft); outline-offset: 2px; }
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: block; }
.field input, .field textarea { width: 100%; font: 500 16px var(--display); color: #fff; background: rgba(255, 255, 255, .05); border: 1.5px solid rgba(255, 255, 255, .2); border-radius: 14px; padding: 14px 16px; outline: none; resize: vertical; transition: border-color .2s, background .2s; }
.field input::placeholder, .field textarea::placeholder { color: rgba(255, 255, 255, .35); }
.field input:focus, .field textarea:focus { border-color: var(--soft); background: rgba(127, 162, 240, .08); }
.field.bad input, .field.bad textarea { border-color: #ff7a7a; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.send-row { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.send { position: relative; overflow: hidden; }
.send[disabled] { opacity: .7; cursor: progress; }
.status { margin: 0; font-size: 14px; font-weight: 600; color: #ffb3b3; }
.done { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 10px; border-radius: inherit; background: var(--blue); opacity: 0; pointer-events: none; text-align: center; }
.done svg { width: 76px; height: 76px; fill: none; stroke: #fff; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.done circle { stroke-dasharray: 151; stroke-dashoffset: 151; }
.done path { stroke-dasharray: 36; stroke-dashoffset: 36; }
.done b { font-size: 40px; font-weight: 900; letter-spacing: -.03em; }
.done span { opacity: .85; }
@media (max-width: 1100px) { .work { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .pair { grid-template-columns: 1fr; } }

/* ---------- 3D planet + effects ---------- */
.orb3d { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; opacity: 0; transition: opacity 1.2s ease; }
.orb3d.on { opacity: 1; }
.work.has3d .planet.flat { opacity: 0; transition: opacity 1.2s ease; }
.magnet { will-change: transform; }
.tilt { transform-style: preserve-3d; will-change: transform; }
@media (hover: none) { .ig .drawer { background: var(--blue); } }

/* ---------- legal pages ---------- */
.legal-page .topbar { position: sticky; transform: none; }
.legal-page .wrap { padding-top: 0; }
.doc { max-width: 860px; margin: 8px auto 0; padding: clamp(26px, 5vw, 72px); }
.doc h1 { font-weight: 900; font-stretch: 112%; font-size: clamp(40px, 6vw, 84px); line-height: .95; letter-spacing: -.035em; margin: 18px 0 22px; }
.doc h2 { font-size: clamp(22px, 2.2vw, 30px); font-stretch: 100%; letter-spacing: -.02em; margin: 44px 0 12px; }
.doc h3 { font-size: 17px; margin: 26px 0 6px; }
.doc p, .doc li { font-size: 16px; line-height: 1.7; color: #2a2f3a; }
.doc .lede { font-size: clamp(18px, 1.6vw, 22px); line-height: 1.55; color: var(--black); font-weight: 500; }
.doc ul { padding-left: 20px; }
.doc a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.legal-links a { text-decoration: none; }
.consent { margin: -4px 0 0; font-size: 12.5px; line-height: 1.5; opacity: .65; }
.consent a { text-decoration: underline; text-underline-offset: 2px; }
@media (max-width: 640px) { .legal-page .topbar { flex-wrap: wrap; } .legal-page .topbar nav { flex-wrap: wrap; } .legal-page .topbar nav a { font-size: 11px; padding: 7px 9px; } }

/* ---------- gear page ---------- */
.gear-page .topbar { position: sticky; transform: none; }
.gear-page .wrap { padding-top: 0; }
.gear-hero { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; flex-wrap: wrap; min-height: 46vh; margin-top: 6px; background: radial-gradient(120% 140% at 85% 120%, #3f7dff, var(--blue) 45%, #1c45a8); }
.gear-hero h1 { font-weight: 900; font-stretch: 125%; font-size: clamp(64px, 12vw, 220px); line-height: .85; letter-spacing: -.04em; margin: 18px 0 18px; }
.gear-hero p { max-width: 420px; }
.gear-count { text-align: right; }
.gear-count b { display: block; font-weight: 900; font-size: clamp(80px, 10vw, 180px); line-height: .8; letter-spacing: -.05em; }
.gear-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); }
.gear-card { display: flex; flex-direction: column; border-radius: var(--r); background: var(--paper); border: 1px solid var(--line); overflow: hidden; }
.stage { position: relative; aspect-ratio: 4 / 3; perspective: 900px; display: grid; place-items: center; background: radial-gradient(70% 70% at 50% 45%, #fff, #eef0f5 70%); overflow: hidden; }
.obj { position: relative; z-index: 1; width: 72%; height: 72%; display: grid; place-items: center; transform-style: preserve-3d; transform: rotateY(var(--tilt, 0deg)); }
.obj img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; transform: translateZ(30px); }
.shadow { position: absolute; bottom: 12%; left: 50%; width: 52%; height: 18px; margin-left: -26%; border-radius: 50%; background: radial-gradient(closest-side, rgba(11, 11, 12, .28), transparent); filter: blur(4px); }
.meta { padding: 26px 28px 30px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.meta .mono { font-size: 11px; color: var(--blue); }
.meta h2 { font-size: clamp(24px, 2vw, 32px); margin: 0; font-stretch: 105%; letter-spacing: -.03em; line-height: 1.02; }
.meta p { margin: 0 0 6px; font-size: 15px; line-height: 1.55; color: #3b4150; font-weight: 500; }
.meta .link { margin-top: auto; align-self: flex-start; color: var(--black); border-bottom: 1.5px solid var(--black); padding-bottom: 2px; font-weight: 700; }

/* cage: an SVG frame with depth */
.cage3d svg { width: 100%; filter: drop-shadow(0 18px 22px rgba(0, 0, 0, .25)); transform: translateZ(40px); }
/* ND filters: three real discs in 3D that fan apart on hover */
.nd3d i { position: absolute; width: 38%; aspect-ratio: 1; border-radius: 50%; border: 10px solid #1a1c20; box-shadow: inset 0 0 0 2px #3a3f47, 0 10px 24px rgba(0, 0, 0, .25); background: radial-gradient(circle at 35% 30%, rgba(255, 255, 255, .5), transparent 40%), var(--tint); transition: transform .7s cubic-bezier(.2, .9, .2, 1); }
.nd3d i::after { content: attr(data-n); position: absolute; left: 50%; bottom: -34px; transform: translateX(-50%); font: 700 11px var(--mono); letter-spacing: .1em; color: #3b4150; }
.nd3d i:nth-child(1) { --tint: rgba(60, 70, 90, .35); transform: translateX(-34%) translateZ(-40px) rotateY(-28deg); }
.nd3d i:nth-child(2) { --tint: rgba(30, 36, 50, .55); transform: translateZ(0) rotateY(-28deg); }
.nd3d i:nth-child(3) { --tint: rgba(10, 12, 20, .78); transform: translateX(34%) translateZ(40px) rotateY(-28deg); }
.gear-card:hover .nd3d i:nth-child(1) { transform: translateX(-72%) translateZ(-40px) rotateY(-8deg); }
.gear-card:hover .nd3d i:nth-child(2) { transform: translateZ(0) rotateY(-8deg); }
.gear-card:hover .nd3d i:nth-child(3) { transform: translateX(72%) translateZ(40px) rotateY(-8deg); }
/* carrying case: a box with a lid, zipper and handle */
.case3d { width: 60%; height: 46%; }
.case3d .front { position: absolute; inset: 0; border-radius: 22px; background: linear-gradient(160deg, #2a2d33, #121418); box-shadow: 0 24px 30px -10px rgba(0, 0, 0, .35); transform: translateZ(30px); }
.case3d .front b { position: absolute; left: 6%; right: 6%; top: 22%; height: 4px; border-radius: 2px; background: repeating-linear-gradient(90deg, #555a63 0 4px, #2a2d33 4px 7px); }
.case3d .front::after { content: 'ACTION 6'; position: absolute; left: 50%; bottom: 18%; transform: translateX(-50%); font: 700 11px var(--mono); letter-spacing: .3em; color: #6b7280; }
.case3d .lid { position: absolute; left: 0; right: 0; top: 0; height: 60px; border-radius: 22px 22px 8px 8px; background: #3a3e46; transform-origin: top; transform: rotateX(78deg) translateZ(0); }
.case3d .handle { position: absolute; left: 34%; right: 34%; top: -16px; height: 22px; border: 6px solid #1a1c20; border-bottom: 0; border-radius: 14px 14px 0 0; transform: translateZ(30px); }
/* mic: two transmitters + a receiver */
.mic3d i { position: absolute; border-radius: 16px; background: linear-gradient(160deg, #2b2f36, #0f1115); box-shadow: 0 16px 24px -8px rgba(0, 0, 0, .35); }
.mic3d .tx { width: 26%; height: 44%; left: 22%; transform: translateZ(40px) rotate(-8deg); }
.mic3d .tx.two { left: 46%; transform: translateZ(10px) rotate(6deg); }
.mic3d .tx b { position: absolute; left: 18%; right: 18%; top: 12%; height: 30%; border-radius: 10px; background: radial-gradient(#5a6070 1.4px, transparent 1.6px) 0 0 / 7px 7px; }
.mic3d .rx { width: 22%; height: 30%; left: 66%; top: 46%; background: linear-gradient(160deg, #3a3f47, #16181c); transform: translateZ(-20px); }

@media (max-width: 1100px) { .gear-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .gear-grid { grid-template-columns: 1fr; } .gear-count { text-align: left; } .gear-page .topbar nav a { font-size: 11px; padding: 7px 9px; } }
@media (prefers-reduced-motion: reduce) { .nd3d i { transition: none; } }

/* ---------- editing timeline under the player ---------- */
.media-col { display: grid; gap: 14px; }
.timeline { position: relative; padding: 10px 12px 12px; border-radius: 16px; background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .12); }
.tl-ruler { height: 12px; margin-left: 34px; background: repeating-linear-gradient(90deg, rgba(255, 255, 255, .35) 0 1px, transparent 1px 10px), repeating-linear-gradient(90deg, rgba(255, 255, 255, .7) 0 1px, transparent 1px 50px); background-size: auto 5px, auto 12px; background-repeat: repeat-x; background-position: bottom; opacity: .6; }
.timeline .track { display: flex; align-items: center; gap: 10px; height: 22px; margin-top: 6px; }
.timeline .track .mono { width: 24px; font-size: 10px; opacity: .55; letter-spacing: .08em; }
.lane { position: relative; flex: 1; height: 100%; }
.lane i { position: absolute; top: 0; bottom: 0; left: var(--l); width: calc(var(--w) - 3px); border-radius: 5px; background: linear-gradient(#3a68e0, #2650c0); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25); transform-origin: left; }
.lane i.t-title { background: linear-gradient(#8c6cf0, #6a49d6); }
.lane i.t-audio { background: repeating-linear-gradient(90deg, rgba(255, 255, 255, .35) 0 2px, transparent 2px 5px) center / 100% 60% no-repeat, linear-gradient(#14845f, #0f6a4c); }
.lane i.t-music { background: repeating-linear-gradient(90deg, rgba(255, 255, 255, .25) 0 2px, transparent 2px 4px) center / 100% 40% no-repeat, linear-gradient(#b8782a, #965f1d); }
.playhead { position: absolute; top: 6px; bottom: 8px; left: 46px; width: 2px; background: #fff; box-shadow: 0 0 10px rgba(255, 255, 255, .7); pointer-events: none; }
.playhead::before { content: ''; position: absolute; top: -4px; left: -5px; border-left: 6px solid transparent; border-right: 6px solid transparent; border-top: 8px solid #fff; }
.stack .projects .player { transform: none; }

/* ---------- services: how I work ---------- */
.process { list-style: none; margin: 34px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; max-width: 620px; }
.process li { display: grid; gap: 6px; align-content: start; padding: 16px 14px 18px; border-radius: 18px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .18); }
.process .mono { font-size: 10px; opacity: .65; }
.process b { font-size: 17px; letter-spacing: -.02em; }
.process small { font-size: 12.5px; line-height: 1.4; opacity: .82; }
@media (max-width: 640px) { .process { grid-template-columns: 1fr 1fr; } }

/* ---------- contact grows with its content on short screens ---------- */
.stack:last-child { position: relative; top: 0; height: auto; }
.stack:last-child > .card { height: auto; min-height: calc(100vh - 64px - var(--gap)); padding-block: clamp(36px, 6vh, 80px); }
.cform { background: rgba(10, 12, 18, .28); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
@media (max-height: 920px) and (min-width: 1101px) {
  .stack h2 { font-size: clamp(48px, 5.6vw, 104px); }
  .stack .work h2 { font-size: clamp(52px, 6vw, 112px); }
  .cform { gap: 13px; }
  .field textarea { min-height: 90px; }
}

/* ---------- services rows: portfolio buttons + crafted icons ---------- */
.rows button { width: 100%; display: flex; align-items: center; gap: 22px; padding: 18px 22px 18px 18px; border-radius: 20px; border: 1.5px solid rgba(255, 255, 255, .4); background: rgba(255, 255, 255, .05); color: #fff; text-align: left; cursor: pointer; transition: background .3s, border-color .3s, transform .3s; }
.rows button:hover { background: rgba(255, 255, 255, .14); border-color: #fff; }
.rows .ico { flex: none; width: 58px; height: 58px; border-radius: 16px; display: grid; place-items: center; background: linear-gradient(150deg, rgba(255, 255, 255, .22), rgba(255, 255, 255, .05)); border: 1px solid rgba(255, 255, 255, .35); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .4); transition: transform .4s cubic-bezier(.2, .9, .2, 1); }
.rows button:hover .ico { transform: rotate(-6deg) scale(1.06); }
.rows .ico svg { width: 30px; height: 30px; fill: none; stroke: #fff; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.rows .ico svg .fill { fill: #fff; stroke: none; }
.rows .ico svg .soft { opacity: .55; }
.rows .see { font-style: normal; font-size: 13px; font-weight: 700; white-space: nowrap; display: inline-flex; gap: 8px; align-items: center; padding: 9px 14px; border-radius: 999px; background: rgba(255, 255, 255, .14); }
.rows .see span { transition: transform .3s; }
.rows button:hover .see { background: #fff; color: var(--blue-deep); }
.rows button:hover .see span { transform: translateX(4px); }
.rows svg:not(.ico svg) { display: none; }
@media (max-width: 640px) { .rows .see { font-size: 0; padding: 9px 12px; } .rows .see span { font-size: 16px; } }

/* work sheet */
.work-list { display: grid; gap: 12px; margin-top: 8px; }
.work-item { display: grid; gap: 10px; }
.work-item b { font-size: 17px; }
.work-item small { opacity: .7; font-size: 13px; }
.work-empty { padding: 26px; border-radius: 18px; border: 1px dashed rgba(255, 255, 255, .3); line-height: 1.6; }
.meta .links { margin-top: auto; display: flex; gap: 22px; }
.meta .links .link { margin-top: 0; }

/* gear photos: white stage so white-background product shots blend in with no visible box */
.stage { background: #fff; }
.obj img { -webkit-mask-image: linear-gradient(#000 86%, transparent 99%); mask-image: linear-gradient(#000 86%, transparent 99%); }
/* contact: calmer, readable form over the planet */
.cform { background: rgba(9, 11, 16, .62); border-color: rgba(255, 255, 255, .16); }
.work .planet.flat { display: none; }
/* ---------- portfolio page ---------- */
.pf-hero { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; flex-wrap: wrap; min-height: 42vh; margin-top: 6px; }
.pf-hero h1 { font-weight: 900; font-stretch: 125%; font-size: clamp(56px, 11vw, 200px); line-height: .85; letter-spacing: -.04em; margin: 18px 0; }
.pf-filters { display: flex; gap: 8px; flex-wrap: wrap; padding: 4px 2px; }
.pf-filters button { display: inline-flex; gap: 10px; align-items: center; padding: 12px 18px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); font-weight: 700; font-size: 14px; transition: background .2s, color .2s; }
.pf-filters button span { font: 700 11px var(--mono); opacity: .55; }
.pf-filters button.on { background: var(--black); color: #fff; border-color: var(--black); }
.pf-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); }
.pf-card { position: relative; display: flex; flex-direction: column; gap: 8px; padding: 14px 14px 24px; border-radius: var(--r); background: var(--paper); border: 1px solid var(--line); text-align: left; transition: transform .35s cubic-bezier(.2, .9, .2, 1), box-shadow .35s; }
.pf-card[hidden] { display: none; }
.pf-card:hover { transform: translateY(-6px); box-shadow: 0 24px 50px -28px rgba(11, 11, 12, .45); }
.pf-card .thumb { position: relative; aspect-ratio: 16 / 9; border-radius: 16px; margin-bottom: 10px; background: linear-gradient(135deg, #0b0b0c 40%, #1c45a8 75%, #2f6bff) center / cover; overflow: hidden; display: grid; place-items: center; }
.pf-card .thumb .play { position: static; transform: none; border-left: 26px solid #fff; border-top: 17px solid transparent; border-bottom: 17px solid transparent; transition: transform .3s; }
.pf-card:hover .thumb .play { transform: scale(1.2); }
.pf-card .thumb em { position: absolute; left: 12px; top: 12px; font-style: normal; font-size: 10px; padding: 6px 10px; border-radius: 999px; background: rgba(255, 255, 255, .16); color: #fff; }
.pf-card > .mono { font-size: 11px; color: var(--blue); padding: 0 8px; }
.pf-card b { font-weight: 900; font-size: clamp(20px, 1.7vw, 28px); letter-spacing: -.03em; padding: 0 8px; }
.pf-card small { font-size: 14px; color: #3b4150; padding: 0 8px; }
.pf-card.cta { background: var(--blue); color: #fff; border: 0; justify-content: flex-end; min-height: 260px; padding: 28px; }
.pf-card.cta > .mono, .pf-card.cta small { color: #fff; opacity: .85; padding: 0; }
.pf-card.cta b { padding: 0; font-size: clamp(28px, 2.6vw, 44px); line-height: .95; }
.pf-card.cta em { position: absolute; right: 28px; top: 24px; font-style: normal; font-size: 30px; }
@media (max-width: 1100px) { .pf-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .pf-grid { grid-template-columns: 1fr; } }

/* ---------- colour pass: less black, more of the blue family ---------- */
:root { --navy: #0f1c4d; }
.projects { background: var(--soft); color: var(--black); }
.projects .glow-shard { background: linear-gradient(115deg, transparent 30%, #fff 48%, #b9cdf9 62%, transparent 75%); opacity: .5; }
.projects .timeline { background: var(--navy); border-color: transparent; }
.projects .btn { background: var(--navy); color: #fff; }
.work { background: radial-gradient(120% 130% at 0% 0%, #1a2f86, var(--navy) 62%); }
.cform { background: rgba(10, 18, 52, .6); }
.jumps .jump.black { background: var(--soft); color: var(--black); }
.jumps .jump.glowy { background: radial-gradient(90% 120% at 110% 120%, #2f6bff, #1a2f86 45%, var(--navy) 75%); color: #fff; }
.tile { background: var(--blue-deep); }
.tile.gear { background: var(--navy); }
.lens i { border-color: rgba(255, 255, 255, .14); }
.lens i:nth-child(2) { border-color: rgba(255, 255, 255, .08); }
.strips { mix-blend-mode: screen; opacity: .7; }
.pf-hero { background: var(--soft); color: var(--black); }
.pf-hero .glow-shard { background: linear-gradient(115deg, transparent 30%, #fff 48%, #b9cdf9 62%, transparent 75%); opacity: .5; }
.pf-card .thumb { background: linear-gradient(135deg, var(--navy) 30%, #1c45a8 70%, #2f6bff) center / cover; }
.sheet { background: rgba(15, 28, 77, .55); }
.sheet .panel { background: var(--navy); }
.topbar .pill, .topbar nav a[aria-current] { background: var(--blue); }
.pf-filters button.on { background: var(--blue); border-color: var(--blue); }

/* ================= polish pass ================= */
.scene { background: url(img/scene.svg) center / cover; }

/* hero shortcuts */
.hero { justify-content: flex-start; }
.wordmark { margin-top: auto; }
.shortcuts { position: relative; z-index: 2; margin-top: clamp(26px, 6vh, 70px); display: grid; gap: 4px; width: min(330px, 46%); }
.shortcuts a, .shortcuts button { display: flex; align-items: baseline; gap: 16px; padding: 9px 4px; color: #fff; border-bottom: 1px solid rgba(255, 255, 255, .28); transition: padding .3s cubic-bezier(.2, .9, .2, 1), border-color .3s; }
.shortcuts .mono { font-size: 11px; opacity: .65; }
.shortcuts b { flex: 1; font-weight: 800; font-stretch: 108%; font-size: clamp(17px, 1.5vw, 24px); letter-spacing: -.02em; }
.shortcuts em { font-style: normal; opacity: 0; transform: translateX(-8px); transition: opacity .25s, transform .3s; }
.shortcuts a:hover, .shortcuts button:hover { padding-left: 14px; border-color: #fff; }
.shortcuts a:hover em, .shortcuts button:hover em { opacity: 1; transform: none; }
.wordmark .char { will-change: transform, font-variation-settings; font-variation-settings: "wdth" 125, "wght" 900; }

/* navbar entrance */
.topbar { transition: background .3s; transform: none; opacity: 0; pointer-events: none; clip-path: inset(0 0 100% 0); }
.topbar.show { opacity: 1; pointer-events: auto; clip-path: inset(0 0 -40px 0); transition: clip-path .7s cubic-bezier(.2, .9, .2, 1), opacity .3s, background .3s; }
.gear-page .topbar, .legal-page .topbar { opacity: 1; pointer-events: auto; clip-path: none; }

/* 02: editing suite */
.stack .projects { grid-template-columns: .72fr 1.28fr; gap: 4vw; }
.editor { position: relative; z-index: 2; border-radius: 22px; background: var(--navy); padding: 10px; box-shadow: 0 40px 80px -30px rgba(15, 28, 77, .7), inset 0 1px 0 rgba(255, 255, 255, .12); color: #fff; }
.ed-bar { display: flex; align-items: center; gap: 14px; padding: 6px 8px 12px; font-size: 10.5px; letter-spacing: .08em; text-transform: none; }
.ed-bar .dots { display: flex; gap: 6px; } .ed-bar .dots i { width: 10px; height: 10px; border-radius: 50%; background: #ff6b5f; } .ed-bar .dots i:nth-child(2) { background: #ffc43d; } .ed-bar .dots i:nth-child(3) { background: #37d67a; }
.ed-bar .proj { flex: 1; opacity: .7; } .ed-bar .ed-tc { font-variant-numeric: tabular-nums; color: var(--soft); font-size: 12px; }
.ed-main { display: grid; grid-template-columns: 1fr 190px; gap: 10px; }
.editor .player { transform: none !important; border-radius: 14px; border: 0; aspect-ratio: 16 / 9; box-shadow: none; }
.editor .player .scene { position: absolute; inset: -4%; animation: kenburns 16s ease-in-out infinite alternate; }
.editor .player .grade { position: absolute; inset: 0; backdrop-filter: var(--grade, none); -webkit-backdrop-filter: var(--grade, none); transition: backdrop-filter .5s; }
@keyframes kenburns { from { transform: scale(1) translate(0, 0); } to { transform: scale(1.12) translate(-2%, -1.5%); } }
.corner.bl { left: 20px; bottom: 54px; border-right: 0; border-top: 0; } .corner.br { right: 20px; bottom: 54px; border-left: 0; border-top: 0; }
.editor .corner { width: 16px; height: 16px; border-width: 2px; opacity: .8; }
.rec { position: absolute; left: 44px; top: 20px; z-index: 2; display: flex; gap: 7px; align-items: center; font-size: 10px; } .rec i { width: 8px; height: 8px; border-radius: 50%; background: #ff4d4d; animation: blink 1.2s steps(2) infinite; }
@keyframes blink { 50% { opacity: .2; } }
.clipname { position: absolute; right: 44px; top: 20px; z-index: 2; font-size: 10px; opacity: .85; }
.ed-side { display: grid; gap: 10px; grid-template-rows: auto auto 1fr; }
.panel-s { border-radius: 12px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); padding: 9px 10px 10px; display: grid; gap: 8px; align-content: start; }
.panel-s > .mono { font-size: 9.5px; opacity: .6; }
.scope { width: 100%; height: auto; border-radius: 6px; background: #070b1c; }
.bin { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; } .bin i { aspect-ratio: 16 / 10; border-radius: 6px; background: url(img/scene.svg) center / cover; filter: var(--g); outline: 1px solid rgba(255, 255, 255, .14); }
.bin i.on { outline: 2px solid var(--soft); }
.vu { display: flex; gap: 6px; height: 100%; min-height: 44px; align-items: flex-end; } .vu i { flex: 1; height: 100%; border-radius: 4px; background: linear-gradient(to top, #37d67a 0 60%, #ffc43d 60% 85%, #ff6b5f 85%); transform-origin: bottom; transform: scaleY(.4); }
.editor .timeline { margin-top: 10px; background: rgba(255, 255, 255, .05); border-color: rgba(255, 255, 255, .1); }
.lane i u { position: absolute; left: 7px; top: 50%; transform: translateY(-50%); font: 700 8.5px var(--mono); letter-spacing: .06em; text-decoration: none; color: rgba(255, 255, 255, .85); white-space: nowrap; overflow: hidden; max-width: calc(100% - 10px); }
@media (max-width: 1100px) { .stack .projects { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .ed-main { grid-template-columns: 1fr; } .ed-side { grid-template-columns: 1fr 1fr; grid-template-rows: auto; } .meters { display: none; } }

/* services: format frames */
.formats { position: absolute; z-index: -1; left: 30%; right: -2%; bottom: -9%; height: 44%; display: flex; gap: 2.2%; align-items: flex-end; justify-content: flex-end; transform: rotate(-4deg); transform-origin: 100% 100%; }
.fmt { position: relative; flex: none; height: 100%; border-radius: 18px; overflow: hidden; border: 2px solid rgba(255, 255, 255, .55); box-shadow: 0 30px 60px -20px rgba(4, 16, 70, .7); background: #0f1c4d; }
.fmt .scene { position: absolute; inset: 0; }
.fmt.wide { aspect-ratio: 16 / 9; } .fmt.tall { aspect-ratio: 9 / 16; height: 128%; } .fmt.sq { aspect-ratio: 1; height: 82%; }
.fmt.tall .scene { filter: saturate(1.45) hue-rotate(-16deg); } .fmt.sq .scene { filter: sepia(.5) saturate(1.3); }
.fmt b { position: absolute; left: 12px; top: 12px; font-size: 9.5px; padding: 5px 9px; border-radius: 999px; background: rgba(8, 14, 40, .55); color: #fff; backdrop-filter: blur(6px); }
.services::after { content: ''; position: absolute; inset: auto 0 0 0; height: 30%; z-index: -1; background: linear-gradient(transparent, rgba(11, 47, 160, .55)); pointer-events: none; }
@media (max-width: 1100px) { .formats { position: relative; left: 0; right: 0; bottom: 0; height: 200px; margin-top: 30px; transform: none; justify-content: flex-start; z-index: 0; } .fmt.tall { height: 100%; } }

/* toolkit tiles */
.tile { min-height: 240px; }
.looks { position: absolute; inset: 0; display: flex; }
.looks i { position: relative; flex: 1; background: url(img/scene.svg) center / cover; background-size: 500% 100%; filter: var(--g); transition: flex .5s cubic-bezier(.2, .9, .2, 1); border-right: 1px solid rgba(255, 255, 255, .35); }
.looks i:nth-child(1) { background-position: 0% 50%; } .looks i:nth-child(2) { background-position: 25% 50%; } .looks i:nth-child(3) { background-position: 50% 50%; } .looks i:nth-child(4) { background-position: 75% 50%; } .looks i:nth-child(5) { background-position: 100% 50%; border: 0; }
.looks i:hover { flex: 2.2; }
.looks u { position: absolute; left: 10px; top: 12px; font-size: 9px; text-decoration: none; color: #fff; padding: 4px 7px; border-radius: 999px; background: rgba(8, 14, 40, .5); white-space: nowrap; filter: none; }
.tile.luts { background: var(--navy); }
.tile.gear { background: #fff; color: var(--black); border: 1px solid var(--line); }
.tile.gear::after { background: linear-gradient(transparent 55%, #fff 88%); }
.kit { position: absolute; inset: 6% 3% 26% 3%; display: flex; align-items: flex-end; justify-content: center; }
.kit img { height: 78%; width: 19%; object-fit: contain; mix-blend-mode: multiply; margin: 0 -1.2%; transition: transform .5s cubic-bezier(.2, .9, .2, 1); }
.kit img:nth-child(odd) { height: 96%; }
.tile.gear:hover .kit img { transform: translateY(-8%) scale(1.06); } .tile.gear:hover .kit img:nth-child(even) { transform: translateY(-14%) scale(1.06); }

/* contact planet: soft edge */
.orb3d { filter: blur(.7px) saturate(1.08); }
.editor .player .scene { width: auto; height: auto; }
.formats { height: 25%; bottom: -5%; left: 42%; }
.fmt.tall { height: 108%; } .fmt.sq { height: 86%; }
.vu { gap: 5px; height: 60px; } .vu i { transition: transform .12s linear; }

/* ---------- calmer pass ---------- */
.stack { margin-bottom: 22vh; }
/* Instagram card: no clipped descenders, new arrow button */
.roll { height: 1.22em; line-height: 1.22; padding-right: .06em; }
.roll span { height: 1.22em; white-space: nowrap; }
.ig .go { position: absolute; right: 30px; top: 30px; width: 60px; height: 60px; border-radius: 50%; background: #fff; overflow: hidden; transition: background .3s, transform .3s; }
.ig .go svg { position: absolute; inset: 0; margin: auto; width: 26px; height: 26px; fill: none; stroke: var(--black); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; transition: transform .45s cubic-bezier(.7, 0, .2, 1), stroke .3s; }
.ig .go svg + svg { transform: translate(-60px, 60px); }
.ig:hover .go { background: var(--blue); transform: scale(1.06); }
.ig:hover .go svg { stroke: #fff; transform: translate(60px, -60px); }
.ig:hover .go svg + svg { transform: none; }

/* audio meters: segmented, fill the panel */
.panel-s.meters { grid-template-rows: auto 1fr auto; }
.vu-wrap { display: flex; gap: 8px; min-height: 96px; height: 100%; }
.db { display: flex; flex-direction: column; justify-content: space-between; font-size: 8px; opacity: .5; letter-spacing: 0; text-align: right; width: 18px; }
.vu { flex: 1; display: flex; gap: 8px; height: auto; min-height: 0; align-items: stretch; }
.vu i { flex: 1; display: flex; flex-direction: column-reverse; gap: 2px; height: auto; background: none; transform: none !important; border-radius: 0; }
.vu b { flex: 1; min-height: 2px; border-radius: 2px; background: rgba(255, 255, 255, .08); transition: background .08s; }
.vu b.on { background: #37d67a; box-shadow: 0 0 6px rgba(55, 214, 122, .5); }
.vu b.on:nth-child(n+12) { background: #ffc43d; box-shadow: 0 0 6px rgba(255, 196, 61, .5); }
.vu b.on:nth-child(n+16) { background: #ff6b5f; box-shadow: 0 0 6px rgba(255, 107, 95, .5); }
.lr { display: flex; gap: 8px; padding-left: 26px; font-size: 8.5px; opacity: .6; } .lr span { flex: 1; text-align: center; }

/* ================= showreel ================= */
.stack .projects { grid-template-columns: .62fr 1.38fr; gap: 4vw; }
.reel { position: relative; z-index: 2; display: grid; gap: 14px; }
.reel-frame { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; border-radius: 22px; overflow: hidden; background: var(--navy); cursor: none; box-shadow: 0 40px 90px -30px rgba(15, 28, 77, .75); transform-origin: 50% 60%; }
.reel-cover { position: absolute; inset: -6%; background: var(--reel-cover, url(img/scene.svg)) center / cover; transition: transform 1.2s cubic-bezier(.2, .9, .2, 1), filter .6s; }
.reel-frame::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(15, 28, 77, .1), rgba(15, 28, 77, .55)); pointer-events: none; }
.reel-frame:hover .reel-cover { transform: scale(1.06); filter: saturate(1.15); }
.reel-marquee { position: absolute; z-index: 2; left: 0; right: 0; bottom: 8%; display: flex; white-space: nowrap; pointer-events: none; mix-blend-mode: overlay; }
.reel-marquee span { flex: none; padding-right: .4em; font-weight: 900; font-stretch: 125%; font-size: clamp(40px, 6vw, 110px); line-height: 1; letter-spacing: -.04em; color: #fff; animation: marquee 26s linear infinite; }
@keyframes marquee { to { transform: translateX(-100%); } }
.reel-cursor { position: absolute; z-index: 3; left: 0; top: 0; width: 132px; height: 132px; margin: -66px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--black); pointer-events: none; transform: translate(var(--cx, 50%), var(--cy, 50%)); }
.reel-cursor i { display: none; }
.reel-cursor b { font-weight: 800; font-size: 15px; letter-spacing: -.01em; }
.reel-cursor::before { content: ''; position: absolute; inset: -10px; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, .6); animation: pulse 2.4s ease-out infinite; }
@keyframes pulse { from { transform: scale(.9); opacity: 1; } to { transform: scale(1.35); opacity: 0; } }
.reel-corner { position: absolute; z-index: 2; top: 20px; font-size: 10.5px; color: #fff; padding: 7px 11px; border-radius: 999px; background: rgba(15, 28, 77, .45); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.reel-corner.tl { left: 20px; } .reel-corner.tr { right: 20px; }
.reel.playing .reel-frame { cursor: auto; }
.reel.playing .reel-cursor, .reel.playing .reel-marquee, .reel.playing .reel-corner { display: none; }
.reel iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; z-index: 4; }
.reel-meta { display: flex; gap: 18px; align-items: baseline; font-size: 11px; padding: 0 6px; flex-wrap: wrap; }
.reel-meta b { font-family: var(--display); font-weight: 800; font-size: 15px; letter-spacing: -.01em; text-transform: none; }
.reel-meta span:first-child { opacity: .55; }
.reel-meta a { margin-left: auto; font-weight: 700; }
@media (hover: none) { .reel-frame { cursor: pointer; } }
@media (max-width: 1100px) { .stack .projects { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .reel-cursor { width: 92px; height: 92px; margin: -46px; } }

/* ================= who am I + FAQ ================= */
.about-hero, .faq-hero { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; flex-wrap: wrap; min-height: 52vh; margin-top: 6px; overflow: hidden; }
.about-hero h1, .faq-hero h1 { font-weight: 900; font-stretch: 125%; font-size: clamp(56px, 10vw, 190px); line-height: .85; letter-spacing: -.045em; margin: 18px 0; }
.big { font-size: clamp(17px, 1.6vw, 24px) !important; line-height: 1.45 !important; max-width: 620px; }
.about-orb { position: absolute; width: min(46vw, 620px); right: -10%; top: -20%; z-index: -1; }
.about-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); }
.a-card { display: flex; flex-direction: column; gap: 14px; min-height: 280px; }
.a-card h2 { font-size: clamp(28px, 2.6vw, 44px); margin: auto 0 0; }
.a-card p { margin: 0; }
.a-card a { text-decoration: underline; text-underline-offset: 3px; }
.card.soft .mono, .card.light .mono { color: var(--blue-deep); }
.next-cta { display: flex; flex-direction: column; gap: 30px; min-height: 200px; transition: transform .35s cubic-bezier(.2, .9, .2, 1); }
.next-cta:hover { transform: translateY(-6px); }
.next-cta b { font-weight: 900; font-stretch: 112%; font-size: clamp(36px, 4.6vw, 80px); line-height: .95; letter-spacing: -.04em; }
.next-cta em { position: absolute; right: clamp(24px, 3vw, 46px); bottom: clamp(24px, 3vw, 46px); font-style: normal; font-size: 40px; }
.faq-hero { color: var(--black); }
.faq-list { display: grid; gap: 10px; }
.faq-item { border-radius: 22px; background: var(--paper); border: 1px solid var(--line); transition: background .3s, border-color .3s; }
.faq-item[open] { background: #fff; border-color: var(--soft); }
.faq-item summary { list-style: none; display: flex; align-items: center; gap: 22px; padding: 24px clamp(20px, 3vw, 40px); cursor: pointer; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .mono { color: var(--blue); font-size: 12px; }
.faq-item summary b { flex: 1; font-weight: 800; font-size: clamp(19px, 1.8vw, 28px); letter-spacing: -.025em; }
.faq-item summary i { position: relative; width: 38px; height: 38px; flex: none; border-radius: 50%; background: var(--bg); transition: background .3s, transform .4s cubic-bezier(.2, .9, .2, 1); }
.faq-item summary i::before, .faq-item summary i::after { content: ''; position: absolute; left: 50%; top: 50%; width: 14px; height: 2px; margin: -1px -7px; background: var(--black); border-radius: 2px; transition: transform .4s, background .3s; }
.faq-item summary i::after { transform: rotate(90deg); }
.faq-item[open] summary i { background: var(--blue); transform: rotate(180deg); }
.faq-item[open] summary i::before, .faq-item[open] summary i::after { background: #fff; }
.faq-item[open] summary i::after { transform: rotate(0); }
.faq-a { overflow: hidden; }
.faq-a p { margin: 0; padding: 0 clamp(20px, 3vw, 40px) 28px calc(clamp(20px, 3vw, 40px) + 44px); font-size: 16px; line-height: 1.65; color: #3b4150; max-width: 900px; }
.faq-a a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 1100px) { .about-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .about-grid { grid-template-columns: 1fr; } .faq-a p { padding-left: clamp(20px, 3vw, 40px); } }
.reel-cursor { transform: none; left: var(--cx, 50%); top: var(--cy, 50%); }
.reel-frame { width: min(100%, calc((100vh - 290px) * 16 / 9)); justify-self: end; }
.reel-meta { width: min(100%, calc((100vh - 290px) * 16 / 9)); justify-self: end; }
.topbar nav a[aria-current], .topbar nav a.on { color: #fff !important; }

/* ================= calm mode: static decoration, hover = colour only ================= */
.reel-marquee span, .reel-cursor::before { animation: none; }
.reel-marquee { justify-content: center; }
.reel-marquee span + span { display: none; }
.reel-marquee span { font-size: clamp(30px, 4.2vw, 76px); padding: 0; }
.reel-cursor { left: 50% !important; top: 50% !important; transition: background .2s, color .2s; }
.reel-frame { cursor: pointer; }
.reel-frame:hover .reel-cover { transform: none; filter: none; }
.reel-frame:hover .reel-cursor { background: var(--blue); color: #fff; }
.jump:hover, .next:hover, .next-cta:hover, .pf-card:hover, .btn:hover, .gear-card:hover { transform: none !important; }
.tile.gear:hover .kit img, .tile.gear:hover .kit img:nth-child(even) { transform: none; }
.looks i:hover { flex: 1; }
.rows button:hover .ico, .pf-card:hover .thumb .play, .ig:hover .go { transform: none; }
.shortcuts a:hover, .shortcuts button:hover { padding-left: 4px; }
.shortcuts em { opacity: .6; transform: none; }
.topbar, .topbar.show { clip-path: none; transition: opacity .25s; }
.reel-marquee { mix-blend-mode: normal; opacity: .92; }
.reel-marquee span { text-shadow: 0 6px 30px rgba(10, 20, 60, .5); }

/* ================= no stacking: sections flow normally ================= */
.stacks { display: grid; gap: var(--gap); }
.stack, .stack:last-child { position: relative; top: auto; height: auto; margin: 0; }
.stack > .card, .stack:last-child > .card { height: auto; min-height: calc(100vh - 64px - var(--gap) * 2); will-change: auto; }
.stack > .card::after { display: none; }
.stacks + .wrap { padding-top: var(--gap); }
/* showreel: cursor follows again, no pulse ring */
.reel-cursor { left: var(--cx, 50%) !important; top: var(--cy, 50%) !important; }
.reel-frame { cursor: none; }
@media (hover: none) { .reel-frame { cursor: pointer; } }
/* gentle hover lifts are back where they help */
.pf-card:hover, .gear-card:hover { transform: translateY(-4px) !important; }
.tile.gear:hover .kit img { transform: translateY(-4%); }
.looks i:hover { flex: 1.5; }
/* showreel: real frame from the vlog as the cover */
.reel-cover { --reel-cover: url(img/tom-lulofs-vlog.webp); background-position: 40% 35%; }
.reel-frame::after { background: linear-gradient(180deg, rgba(15, 28, 77, .05) 50%, rgba(15, 28, 77, .45)); }
.reel-marquee { display: none; }
.reel .reel-video { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 4; background: #000; object-fit: contain; }

/* ---------- hero: moon orbit + dot ripple (pure CSS, always running) ---------- */
@keyframes orbit { to { rotate: 360deg; } }
.orb { animation: orbit 48s linear infinite; }
@keyframes ripple { 0%, 70%, 100% { scale: 1; opacity: 1; } 12% { scale: 2.1; opacity: .45; } 24% { scale: 1; opacity: 1; } }
.dots i { animation: ripple 6s ease-in-out infinite; animation-delay: var(--d, 0s); }

/* ---------- content pass ---------- */
.bio { display: grid; grid-template-columns: 1.6fr 1fr; gap: var(--gap); }
.bio-text h2 { font-size: clamp(30px, 3.4vw, 56px); margin: 14px 0 18px; }
.bio-text p { font-size: 17px !important; line-height: 1.7 !important; max-width: 760px; margin: 0 0 16px !important; color: #2a2f3a; }
.bio-facts dl { display: grid; grid-template-columns: auto 1fr; gap: 12px 22px; margin: 22px 0 0; font-size: 15px; }
.bio-facts dt { font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; opacity: .65; padding-top: 3px; }
.bio-facts dd { margin: 0; font-weight: 600; }
.bio-facts a { text-decoration: underline; text-underline-offset: 3px; }
.faq-group { margin: 26px 4px 4px; font-size: 12px; color: var(--blue-deep); }
.faq-group:first-child { margin-top: 6px; }
.pf-card .story { margin: 4px 8px 0; font-size: 14px; line-height: 1.55; color: #3b4150; }
.pf-card .role { margin: 6px 8px 0; font-size: 10.5px; color: var(--blue); }
.case-text h2 { font-size: clamp(26px, 2.6vw, 40px); margin: 12px 0; }
.case-text p { max-width: 820px; line-height: 1.65; }
.home-intro { padding: clamp(22px, 3vw, 40px); }
.home-intro p { margin: 10px 0 0; font-size: clamp(16px, 1.3vw, 20px) !important; line-height: 1.6 !important; max-width: 980px; }
.home-intro a { text-decoration: underline; text-underline-offset: 3px; color: var(--blue-deep); }
@media (max-width: 900px) { .bio { grid-template-columns: 1fr; } }
