:root {
  --bg: #0b0a09;
  --bg-2: #13110f;
  --ink: #efe9de;
  --muted: #8d867b;
  --dim: #5a554d;
  --line: rgba(239, 233, 222, 0.09);
  --accent: #e8603a;
  --serif: "Instrument Serif", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Menlo, monospace;
  --ease: cubic-bezier(.22, 1, .36, 1);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 16px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, canvas { display: block; }
a { color: inherit; text-decoration: none; }
a[href], button { cursor: pointer; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; }
::selection { background: var(--accent); color: #fff; }
h1, h2, h3 { margin: 0; font-weight: 400; }
h2 { font: 400 clamp(40px, 5vw, 60px)/1 var(--serif); letter-spacing: -0.02em; }
h3 { font: 500 17px/1.3 var(--sans); }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 28px; }
.muted { color: var(--muted); }
.eyebrow { margin: 0 0 22px; font: 400 12px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }

/* Film grain over everything */
.grain {
  position: fixed; inset: -50%; z-index: 50; pointer-events: none; opacity: .07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' 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%, -3%); }
  60% { transform: translate(-2%, -1%); } 80% { transform: translate(3%, 3%); } 100% { transform: translate(0, 0); }
}

/* Top bar */
.bar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 20;
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px 28px; transition: background .4s, padding .4s;
}
.bar.scrolled { background: rgba(11, 10, 9, .6); backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%); padding: 14px 28px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font: 500 17px/1 var(--sans); letter-spacing: -0.01em; }
.mark { width: 30px; height: 30px; overflow: visible; }
.mark-h { stroke: var(--ink); stroke-width: 2.6; stroke-linecap: round; }
.mark-snake { fill: none; stroke: var(--accent); stroke-width: 2.4; stroke-linecap: round; stroke-dasharray: 30; stroke-dashoffset: 0; }
.mark-head { fill: var(--accent); }
.mark-tongue { fill: none; stroke: var(--accent); stroke-width: 1; stroke-linecap: round; opacity: 0; transform-box: fill-box; transform-origin: left center; }
.brand:hover .mark-snake { animation: slither 1.1s var(--ease); }
.brand:hover .mark-tongue { animation: flick .7s .25s 2; }
@keyframes slither { 0% { stroke-dashoffset: 30; } 100% { stroke-dashoffset: 0; } }
@keyframes flick { 0%, 100% { opacity: 0; transform: scaleX(0); } 30%, 60% { opacity: 1; transform: scaleX(1); } }
.nav { display: flex; gap: 30px; }
.nav a { font-size: 14px; color: var(--muted); position: relative; transition: color .3s; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 1px; background: var(--ink); transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease); }
.nav a:hover { color: var(--ink); }
.nav a:hover::after { transform: scaleX(1); transform-origin: left; }

/* Hero */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; overflow: hidden; isolation: isolate; }
.hero-bg { position: absolute; inset: 0; z-index: -3; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 72% 50%; opacity: 0; transform: scale(1.06); animation: bg-in 2.4s .1s var(--ease) forwards; }
.hero-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(11, 10, 9, .88) 0%, rgba(11, 10, 9, .62) 40%, rgba(11, 10, 9, .1) 70%, transparent 100%); }
@keyframes bg-in { to { opacity: .9; transform: none; } }
.hero::after { content: ""; position: absolute; inset: auto 0 0; height: 30%; z-index: -1; background: linear-gradient(transparent, var(--bg)); }
.spot { position: absolute; inset: 0; z-index: -2; pointer-events: none; background: radial-gradient(420px circle at var(--mx, 70%) var(--my, 40%), rgba(232, 96, 58, .09), transparent 70%); }
.snake { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; }
.hero-inner { width: 100%; max-width: 1080px; margin: 0 auto; padding: 120px 28px 96px; }
h1 { font: 400 clamp(56px, 9.4vw, 132px)/.95 var(--serif); letter-spacing: -0.03em; max-width: 9.5em; }
h1 em { font-style: italic; color: var(--accent); }
.split .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .14em; margin-bottom: -.14em; }
.split .w > span { display: inline-block; transform: translateY(110%); animation: rise 1.1s var(--ease) forwards; animation-delay: calc(.25s + var(--i) * .08s); }
@keyframes rise { to { transform: none; } }
.lede { max-width: 470px; margin: 34px 0 0; color: var(--muted); font-size: 17px; }
.fade { opacity: 0; transform: translateY(10px); animation: fade-up 1s var(--ease) forwards; animation-delay: var(--d, 0s); }
@keyframes fade-up { to { opacity: 1; transform: none; } }
.actions { display: flex; align-items: center; gap: 28px; margin-top: 40px; }
.btn {
  display: inline-flex; align-items: center; height: 46px; padding: 0 24px; border-radius: 999px;
  background: var(--ink); color: var(--bg); font: 500 14.5px/1 var(--sans);
  transition: background .3s, color .3s, transform .4s var(--ease);
}
.btn:hover { background: var(--accent); color: #fff; }
.link-arrow { display: inline-flex; gap: 6px; font-size: 14.5px; color: var(--ink); border-bottom: 1px solid var(--line); padding-bottom: 3px; transition: border-color .3s; }
.link-arrow span { transition: transform .35s var(--ease); }
.link-arrow:hover { border-color: var(--accent); }
.link-arrow:hover span { transform: translate(2px, -2px); }

/* Sections */
.section { padding: 140px 0; position: relative; }
.head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 48px; flex-wrap: wrap; }
.head .muted { margin: 0; max-width: 460px; }
.head-stack { display: block; }
.head-stack .muted { margin-top: 16px; }
.partner { margin: 28px 0 0; font-size: 14.5px; color: var(--muted); }
.partner a { color: var(--ink); border-bottom: 1px solid var(--line); transition: border-color .3s, color .3s; }
.partner a:hover { color: var(--accent); border-color: var(--accent); }

/* Work index */
.filters { position: relative; display: flex; padding: 4px; border: 1px solid var(--line); border-radius: 999px; }
.filters button { position: relative; z-index: 1; padding: 8px 16px; font-size: 13.5px; color: var(--muted); transition: color .3s; }
.filters button[aria-selected="true"] { color: var(--bg); }
.filters-pill { position: absolute; top: 4px; bottom: 4px; left: 0; width: 0; border-radius: 999px; background: var(--ink); transition: transform .5s var(--ease), width .5s var(--ease); }
.index { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.index li { border-bottom: 1px solid var(--line); transition: opacity .4s; }
.index li, .index li > a { display: grid; grid-template-columns: 40px 200px 1fr auto; gap: 0 22px; align-items: center; }
.index li > a { grid-column: 1 / -1; }
.index li > span, .index li > a > span { padding: 22px 0; }
.index .ic { width: 40px; height: 40px; opacity: .85; transition: transform .5s var(--ease), opacity .3s; }
.index li:hover .ic { opacity: 1; transform: scale(1.12) rotate(-4deg); }
.index .n { font: 400 30px/1 var(--serif); letter-spacing: -0.01em; transition: transform .5s var(--ease), color .3s; }
.index .d { color: var(--muted); font-size: 14.5px; transition: color .3s; }
.index .t { font: 400 11.5px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--dim); white-space: nowrap; }
.index .t.hot { color: var(--accent); }
.index:hover li { opacity: .35; }
.index:hover li:hover { opacity: 1; }
.index li:hover .n { transform: translateX(14px); color: var(--accent); }
.index li:hover .d { color: var(--ink); }
.index li.out { display: none; }
.index li.enter { animation: fade-up .6s var(--ease) both; animation-delay: calc(var(--j) * 30ms); }
.preview {
  position: fixed; left: 0; top: 0; z-index: 15; width: 300px; aspect-ratio: 3 / 2; pointer-events: none;
  border-radius: 10px; overflow: hidden; opacity: 0; scale: .85;
  transition: opacity .35s var(--ease), scale .45s var(--ease);
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .7);
}
.preview.on { opacity: 1; scale: 1; }
.preview img { width: 100%; height: 100%; object-fit: cover; }
.preview.square { aspect-ratio: 1; width: 230px; }

/* Marquee */
.marquee { overflow: hidden; border-block: 1px solid var(--line); padding: 26px 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee-track { display: flex; width: max-content; animation: marquee 40s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee span, .marquee a { font: italic 400 28px/1 var(--serif); color: var(--dim); padding: 0 28px; white-space: nowrap; transition: color .3s; }
.marquee a:hover { color: var(--ink); }
.marquee span::after, .marquee a::after { content: "\2022"; font-style: normal; font-size: 12px; margin-left: 56px; vertical-align: middle; color: var(--dim); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Founders */
.people { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; }
.person { display: grid; grid-template-columns: 112px 1fr; gap: 24px; align-items: start; }
.person img { width: 112px; height: 112px; border-radius: 50%; object-fit: cover; filter: grayscale(1) contrast(1.05) brightness(.9); transition: filter .6s var(--ease), transform .6s var(--ease); }
.person:hover img { filter: none; transform: scale(1.04); }
.person .role { margin: 6px 0 12px; font: 400 11.5px/1.4 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--accent); }
.person .muted { margin: 0; font-size: 14.5px; }

/* Contact */
.contact { position: relative; overflow: hidden; padding: 180px 0 160px; text-align: center; isolation: isolate; }
.contact-bg { position: absolute; inset: 0; z-index: -1; opacity: .45; -webkit-mask-image: radial-gradient(ellipse 60% 70% at 50% 50%, #000, transparent); mask-image: radial-gradient(ellipse 60% 70% at 50% 50%, #000, transparent); }
.contact-bg img { width: 100%; height: 100%; object-fit: cover; }
.mail { position: relative; display: inline-block; font: 400 clamp(32px, 6.4vw, 84px)/1.05 var(--serif); letter-spacing: -0.02em; }
.mail > span { background: linear-gradient(var(--accent), var(--accent)) 0 100% / 0 2px no-repeat; transition: background-size .7s var(--ease), color .4s; padding-bottom: 4px; }
.mail:hover > span { background-size: 100% 2px; color: #fff; }
.peek { position: absolute; right: 0; bottom: .1em; width: 1.1em; height: .44em; overflow: visible; pointer-events: none; opacity: 0; transform: translate(-40%, 30%) rotate(-6deg); transition: opacity .3s, transform .7s var(--ease); }
.mail:hover .peek { opacity: 1; transform: translate(85%, -10%) rotate(-6deg); }
.peek-body { fill: none; stroke: var(--accent); stroke-width: 3; stroke-linecap: round; }
.peek-head { fill: var(--accent); }
.peek-eye { fill: var(--bg); }
.peek-tongue { fill: none; stroke: var(--accent); stroke-width: 1.2; stroke-linecap: round; opacity: 0; transform-box: fill-box; transform-origin: left center; }
.mail:hover .peek-tongue { animation: flick .6s .6s 2; }

.footer { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 28px; border-top: 1px solid var(--line); font: 400 11.5px/1.4 var(--mono); letter-spacing: .04em; color: var(--dim); }

/* Scroll reveal */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001s !important; animation-iteration-count: 1 !important; transition-duration: .001s !important; }
  .grain { display: none; }
  .js .reveal { opacity: 1; transform: none; }
}

@media (hover: none) {
  .preview { display: none; }
  .index:hover li { opacity: 1; }
}

@media (max-width: 820px) {
  .people { grid-template-columns: 1fr; gap: 40px; }
  .index li, .index li > a { grid-template-columns: 36px 1fr auto; gap: 0 14px; align-items: baseline; }
  .index .ic { width: 36px; height: 36px; grid-row: 1 / span 2; align-self: center; }
  .index .t { grid-column: 3; grid-row: 1; align-self: center; }
  .index .d { grid-column: 2 / -1; }
  .index li > .n, .index li > a > .n, .index li > .t, .index li > a > .t { padding-bottom: 8px; }
  .index li > .d, .index li > a > .d { padding-top: 0; }
}

@media (max-width: 560px) {
  .wrap, .hero-inner { padding-left: 16px; padding-right: 16px; }
  .bar, .bar.scrolled { padding-left: 16px; padding-right: 16px; }
  .nav { gap: 18px; }
  .hero { align-items: flex-end; }
  .hero-bg img { object-position: 62% 30%; }
  .hero-bg::after { background: linear-gradient(180deg, transparent 20%, rgba(11, 10, 9, .7) 55%, rgba(11, 10, 9, .9) 100%); }
  .hero-inner { padding-top: 140px; padding-bottom: 96px; }
  .section { padding: 96px 0; }
  .index .n { font-size: 26px; }
  .person { grid-template-columns: 84px 1fr; gap: 18px; }
  .person img { width: 84px; height: 84px; }
  .contact { padding: 120px 0; }
  .marquee span { font-size: 22px; }
}
