:root {
  --bg: #F1EDE4;
  --bg-2: #E8E2D6;
  --line: #D2C9B9;
  --text: #15130F;
  --muted: #6F685E;
  --accent: #2B44FF;
  --on-accent: #FFFFFF;
  --text-2: #3B362F;
  --faint: #B9B0A2;
  --glass: rgba(241,237,228,.8);
  --ease: cubic-bezier(0.2, 0, 0.15, 1);
  --serif: "Instrument Serif", Georgia, serif;
  --sans: "Inter Tight", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
  --gutter: clamp(16px, 4vw, 56px);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font: 400 17px/1.55 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
em { font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--accent); }
video, img { display: block; width: 100%; }

/* NAV */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 16px var(--gutter);
  background: color-mix(in srgb, var(--bg) 75%, transparent);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid color-mix(in srgb, var(--line) 60%, transparent);
}
.logo { font-weight: 800; font-size: 20px; letter-spacing: -0.02em; }
.logo span { font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--accent); }
.nav nav { display: flex; gap: 28px; font-size: 15px; color: var(--muted); }
.nav nav a:hover { color: var(--text); }

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 22px; border-radius: 999px;
  background: var(--accent); color: var(--on-accent); font-weight: 600;
  transition: transform .4s var(--ease), background .3s;
}
.btn:hover { transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--text); border: 1px solid var(--line); }
.btn-ghost:hover { border-color: var(--text); }
.btn-small { padding: 9px 16px; font-size: 14px; }

/* HERO */
.hero {
  min-height: min(100svh, 920px);
  padding: 120px var(--gutter) 40px;
  display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(24px, 4vw, 64px);
  align-items: center;
}
.kicker { font: 500 13px/1 var(--mono); color: var(--muted); text-transform: uppercase; letter-spacing: .08em; margin-bottom: 28px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: #3ddc84; box-shadow: 0 0 0 4px rgba(61,220,132,.15); }
h1 {
  font-weight: 800; letter-spacing: -0.035em; line-height: .98;
  font-size: clamp(44px, 6.2vw, 96px);
}
h1 em { font-size: 1.08em; }
.lede { color: var(--muted); font-size: clamp(17px, 1.4vw, 20px); max-width: 560px; margin-top: 28px; }
.lede.narrow { max-width: 620px; }
.cta { display: flex; gap: 12px; margin-top: 36px; flex-wrap: wrap; }

.hero-reel {
  position: relative; aspect-ratio: 16/9; border-radius: 18px; overflow: hidden;
  background: var(--bg-2); border: 1px solid var(--line);
}
.hero-reel video { height: 100%; object-fit: cover; transition: opacity .5s var(--ease); }
.reel-label {
  position: absolute; left: 14px; bottom: 14px;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 14px 8px 8px; border-radius: 999px;
  background: var(--glass); backdrop-filter: blur(8px);
  font: 500 13px var(--mono);
}
.play { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--accent); color: var(--on-accent); font-size: 10px; }
.disciplines {
  grid-column: 1 / -1; list-style: none;
  display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px;
}
.disciplines li { padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; font-size: 14px; color: var(--muted); }

/* MARQUEE */
.marquee { border-block: 1px solid var(--line); overflow: hidden; padding: 26px 0; }
.marquee-track { display: flex; gap: 72px; width: max-content; animation: scroll 28s linear infinite; }
.marquee-track span { font-weight: 800; font-size: clamp(28px, 3.4vw, 48px); letter-spacing: -0.03em; color: var(--faint); white-space: nowrap; }
.marquee-track span:nth-child(odd) { font-family: var(--serif); font-style: italic; font-weight: 400; }
@keyframes scroll { to { transform: translateX(-50%); } }

/* SECTIONS */
.section { padding: clamp(80px, 10vw, 140px) var(--gutter); }
.section-head { margin-bottom: 48px; }
.eyebrow { font: 500 13px var(--mono); color: var(--accent); text-transform: uppercase; letter-spacing: .1em; margin-bottom: 18px; }
h2 { font-weight: 800; font-size: clamp(36px, 4.6vw, 68px); line-height: 1; letter-spacing: -0.03em; }
h2 em { font-size: 1.08em; }

/* FILTERS + GRID */
.filters { display: flex; gap: 8px; margin-top: 32px; flex-wrap: wrap; }
.filters button { padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line); font-size: 14px; color: var(--muted); transition: all .3s var(--ease); }
.filters button.on, .filters button:hover { background: var(--text); color: var(--bg); border-color: var(--text); }

.grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 20px; }
.card { grid-column: span 4; cursor: pointer; transition: opacity .4s var(--ease); }
.card.wide { grid-column: span 8; }
.card.hide { display: none; }
.card .thumb {
  position: relative; overflow: hidden; border-radius: 14px;
  background: var(--bg-2); border: 1px solid var(--line);
  aspect-ratio: 4/3;
}
.card.wide .thumb { aspect-ratio: auto; height: calc(100% - 78px); min-height: 360px; }
.card .thumb img, .card .thumb video { position: absolute; inset: 0; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.card .thumb video { opacity: 0; transition: opacity .4s var(--ease); }
.card.playing .thumb video { opacity: 1; }
.card:hover .thumb img { transform: scale(1.03); }
.card .badge {
  position: absolute; top: 12px; left: 12px; z-index: 2;
  font: 500 12px var(--mono); padding: 5px 10px; border-radius: 999px;
  background: var(--glass); backdrop-filter: blur(8px);
}
.card .meta { display: flex; justify-content: space-between; gap: 16px; padding: 16px 2px 0; }
.card h3 { font-size: 20px; font-weight: 600; letter-spacing: -0.01em; }
.card .sub { color: var(--muted); font-size: 14px; }
.card .year { font: 400 13px var(--mono); color: var(--muted); white-space: nowrap; }
.card.placeholder .thumb { display: grid; place-items: center; border-style: dashed; }
.card.placeholder .thumb span { font: 500 13px var(--mono); color: var(--muted); text-align: center; padding: 20px; }

/* PIPELINES */
.dark-band { background: var(--bg-2); border-block: 1px solid var(--line); }
.pipes { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.pipe { background: var(--bg-2); padding: clamp(24px, 3vw, 40px); }
.pipe .n { font: 500 13px var(--mono); color: var(--accent); }
.pipe h3 { font-size: 26px; font-weight: 700; letter-spacing: -0.02em; margin: 12px 0 12px; }
.pipe p { color: var(--muted); }
.stack { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 20px; }
.stack span { font: 400 12px var(--mono); padding: 4px 10px; border: 1px solid var(--line); border-radius: 6px; color: var(--text); }

/* SERVICES */
.services { border-top: 1px solid var(--line); }
.service { display: grid; grid-template-columns: 80px 1fr 1.3fr; gap: 24px; padding: 28px 0; border-bottom: 1px solid var(--line); align-items: baseline; transition: padding .4s var(--ease); }
.service:hover { padding-left: 12px; }
.service .n { font: 500 13px var(--mono); color: var(--muted); }
.service h3 { font-size: clamp(26px, 3vw, 40px); font-weight: 700; letter-spacing: -0.025em; }
.service ul { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 20px; color: var(--muted); }
.service li::before { content: "+ "; color: var(--accent); }

/* STATS */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; padding-top: 0; }
.stat { border-top: 1px solid var(--line); padding-top: 20px; }
.stat b { display: block; font-weight: 800; font-size: clamp(48px, 6vw, 88px); letter-spacing: -0.04em; line-height: 1; }
.stat span { color: var(--muted); font-size: 15px; }

/* ABOUT */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); }
.about-text p { font-size: clamp(18px, 1.5vw, 21px); margin-bottom: 20px; color: var(--text-2); }
.timeline { list-style: none; border-top: 1px solid var(--line); }
.timeline li { display: grid; grid-template-columns: 1fr auto; gap: 4px 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.timeline b { font-size: 19px; font-weight: 700; }
.timeline .yrs { font: 400 13px var(--mono); color: var(--muted); }
.timeline .r { color: var(--accent); font-size: 15px; }
.timeline p { grid-column: 1 / -1; color: var(--muted); font-size: 15px; }

/* CONTACT */
.contact { text-align: center; border-top: 1px solid var(--line); }
.contact .big { font-size: clamp(48px, 9vw, 150px); line-height: .92; }
.contact .lede { margin-inline: auto; }
.email { display: inline-block; margin-top: 40px; font-family: var(--serif); font-style: italic; font-size: clamp(30px, 4.5vw, 64px); border-bottom: 2px solid var(--accent); transition: color .3s; }
.email:hover { color: var(--accent); }
.socials { list-style: none; display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 40px; }
.socials a { display: inline-block; padding: 10px 18px; border: 1px solid var(--line); border-radius: 999px; font-size: 15px; }
.socials a:hover { border-color: var(--text); }

.footer { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 28px var(--gutter); border-top: 1px solid var(--line); color: var(--muted); font: 400 13px var(--mono); }

/* PLAYER */
.player { position: fixed; inset: 0; z-index: 100; background: rgba(5,5,4,.92); backdrop-filter: blur(10px); display: grid; place-items: center; padding: 64px var(--gutter) 32px; }
.player[hidden] { display: none; }
.player-inner { width: min(1200px, 100%); max-height: 100%; display: flex; flex-direction: column; align-items: center; }
.player video { max-height: 74vh; width: auto; max-width: 100%; border-radius: 12px; background: #000; }
.player-meta { align-self: stretch; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 18px; }
.player-meta h3 { font-size: 22px; font-weight: 700; }
.player-meta p { color: var(--muted); max-width: 640px; }
.player-meta .role { font: 400 13px var(--mono); color: var(--muted); text-align: right; }
.player-close { position: absolute; top: 14px; right: var(--gutter); font-size: 40px; line-height: 1; width: 48px; height: 48px; }

/* REVEAL */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; }
  .marquee-track { animation: none; }
}

/* RESPONSIVE */
@media (max-width: 960px) {
  .hero { grid-template-columns: 1fr; padding-top: 104px; }
  .card, .card.wide { grid-column: span 6; }
  .card.wide .thumb { aspect-ratio: 16/9; height: auto; min-height: 0; }
  .pipes { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; }
  .service { grid-template-columns: 48px 1fr; }
  .service ul { grid-column: 2; }
}
@media (max-width: 640px) {
  .nav nav { display: none; }
  .card, .card.wide { grid-column: 1 / -1; }
  .stats { gap: 28px 16px; }
  .player-meta .role { text-align: left; }
}

/* single project: full width */
.card.wide:only-child { grid-column: 1 / -1; }
.card.wide:only-child .thumb { aspect-ratio: 16/9; height: auto; min-height: 0; }
.card.band { grid-column: 1 / -1; }
.card.band .thumb { aspect-ratio: 21/9; height: auto; min-height: 0; }
@media (max-width: 640px) { .card.band .thumb { aspect-ratio: 16/9; } }
.marquee-track { align-items: center; gap: 96px; }
.client-logo { width: auto; flex: none; filter: brightness(0); opacity: .55; transition: opacity .3s var(--ease); }
.marquee:hover .client-logo { opacity: .8; }
@media (max-width: 640px) { .marquee-track { gap: 56px; } .client-logo { transform: scale(.8); } }
