:root {
  --bg: #0c0c0d;
  --panel: #161618;
  --panel-2: #1d1d20;
  --text: #f4f4f5;
  --muted: #9a9aa1;
  --dim: #6b6b72;
  --line: rgba(255, 255, 255, 0.09);
  --line-2: rgba(255, 255, 255, 0.16);
  --rose: #ff5f7e;

  --c-talking: #e8577a;
  --c-faceless: #4a5df0;
  --c-ugc: #e48a1f;
  --c-meta: #c43c9a;
  --c-podcast: #14a08f;
  --c-motion: #8a5cf0;
  --c-car: #d4472f;
  --c-vsl: #b0821a;
  --c-gaming: #4a9a30;

  --sans: "Inter Tight", system-ui, sans-serif;
  --serif: "Instrument Serif", Georgia, serif;
  --max: 1440px;
  --pad: clamp(18px, 4vw, 64px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.55;
  color: var(--text);
  background: radial-gradient(1100px 600px at 50% -5%, #232326 0, var(--bg) 70%) no-repeat, var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
:focus-visible { outline: 2px solid #fff; outline-offset: 3px; border-radius: 8px; }
.skip { position: absolute; left: -999px; top: 8px; background: #fff; color: #000; padding: 8px 14px; border-radius: 8px; z-index: 50; }
.skip:focus { left: 8px; }

h1, h2, h3 { margin: 0; font-weight: 500; letter-spacing: -0.035em; line-height: 1; }
h2 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); }
h3 { font-size: 1.3rem; letter-spacing: -0.02em; }
em { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -0.01em; }

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 30;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px;
  padding: 16px clamp(18px, 2.2vw, 32px);
  background: linear-gradient(180deg, rgba(12,12,13,.92), rgba(12,12,13,.6) 70%, transparent);
  backdrop-filter: blur(8px);
}
.brand { display: flex; flex-direction: column; text-decoration: none; line-height: 1.2; }
.brand b { font-weight: 500; font-size: 1.15rem; letter-spacing: -0.02em; }
.brand span { color: var(--muted); font-size: .92rem; }
.pill { display: flex; gap: 2px; padding: 5px; border-radius: 999px; background: rgba(28,28,30,.85); border: 1px solid var(--line-2); box-shadow: 0 8px 30px rgba(0,0,0,.5); }
.pill a { text-decoration: none; padding: 8px 18px; border-radius: 999px; font-size: .95rem; font-weight: 500; color: #d6d6da; transition: background .2s ease, color .2s ease; }
.pill a:hover, .pill a.active { background: rgba(255,255,255,.1); color: #fff; }
.nav-right { display: flex; justify-content: flex-end; align-items: center; gap: 22px; }
.nav-link { text-decoration: none; font-weight: 500; display: inline-flex; align-items: center; gap: 5px; }
.nav-link:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.ext { width: 12px; height: 12px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 13px 22px; border-radius: 999px; border: 1px solid #fff;
  background: #fff; color: #0c0c0d; font-weight: 600; font-size: .98rem; text-decoration: none;
  transition: transform .15s ease, background .15s ease, color .15s ease, box-shadow .2s ease;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 0 28px rgba(255,255,255,.25); }
.btn-ghost { background: transparent; color: #fff; border-color: var(--line-2); }
.btn-ghost:hover { border-color: #fff; }
.btn-small { padding: 8px 16px; font-size: .92rem; }

/* ---------- window frame ---------- */
main { padding: 0 clamp(10px, 4vw, 64px) 40px; }
.window {
  position: relative; max-width: var(--max); margin: 8px auto 0;
  border-radius: 28px; padding: 10px;
  background: linear-gradient(180deg, #1a1a1c, #121213);
  border: 1px solid var(--line-2);
  box-shadow: 0 0 0 1px rgba(0,0,0,.6), 0 40px 120px -40px rgba(0,0,0,.9), inset 0 1px 0 rgba(255,255,255,.08);
}
.window-bar {
  display: flex; align-items: center; justify-content: space-between;
  height: 54px; padding: 0 22px; border-radius: 18px 18px 0 0;
  background: linear-gradient(90deg, #3a3a3d, #77777a 50%, #3a3a3d);
}
.lights { display: flex; gap: 10px; }
.lights i { width: 13px; height: 13px; border-radius: 50%; background: #ff5f57; box-shadow: 0 0 10px rgba(255,95,87,.6); }
.lights i:nth-child(2) { background: #febc2e; box-shadow: 0 0 10px rgba(254,188,46,.5); }
.lights i:nth-child(3) { background: #28c840; box-shadow: 0 0 10px rgba(40,200,64,.5); }
.window-plus { font-size: 1.6rem; font-weight: 300; color: rgba(255,255,255,.35); }

/* ---------- hero ---------- */
.hero {
  display: grid; grid-template-columns: auto 1fr; gap: clamp(24px, 4vw, 56px); align-items: center;
  padding: clamp(44px, 7vw, 96px) clamp(20px, 6vw, 90px) clamp(8px, 2vw, 16px);
  background: radial-gradient(700px 360px at 35% 40%, rgba(255,255,255,.06), transparent 70%);
}
.hero-photo {
  width: clamp(120px, 15vw, 210px); height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 28px;
  border: 1px solid var(--line-2);
  box-shadow: 0 0 0 6px rgba(255,255,255,.03), 0 0 60px rgba(255,190,200,.18), 0 30px 60px -30px #000;
}
.hero h1 {
  font-size: clamp(2.4rem, 5.6vw, 5.4rem);
  font-weight: 500; letter-spacing: -0.05em; line-height: .98;
  color: #f7f7f8;
  text-shadow: 0 0 18px rgba(255,255,255,.3), 0 0 60px rgba(255,255,255,.1);
}
.hero h1 em {
  font-size: 1.06em; letter-spacing: -0.02em; padding-right: .06em; white-space: nowrap;
  background: linear-gradient(100deg, #8d8d94 0%, #ffffff 45%, #a9a9b0 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  text-shadow: none; filter: drop-shadow(0 0 16px rgba(255,255,255,.22));
}
.hero-lede { margin: 22px 0 0; font-size: clamp(1.05rem, 1.6vw, 1.35rem); line-height: 1.45; letter-spacing: -0.015em; color: var(--dim); max-width: 52ch; }
.hero-lede strong { color: #fff; font-weight: 500; }
.hero-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.link-pill {
  display: inline-flex; align-items: center; gap: 8px; text-decoration: none;
  padding: 9px 15px; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(255,255,255,.03);
  font-size: .95rem; font-weight: 500; color: #e4e4e7; transition: border-color .15s ease, background .15s ease;
}
.link-pill:hover { border-color: #fff; background: rgba(255,255,255,.08); }

/* ---------- sections ---------- */
.section { padding: clamp(64px, 9vw, 120px) clamp(20px, 6vw, 90px) 0; }
#work { padding-top: clamp(40px, 5vw, 64px); }
.section-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 20px 32px; margin-bottom: 8px; }

.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chips .chip { font-size: 1rem; padding: 10px 20px; }
.chip {
  display: inline-flex; align-items: center; gap: 7px;
  border: 1px solid var(--line-2); background: transparent; color: #d6d6da;
  font: 500 .88rem var(--sans); padding: 6px 12px; border-radius: 999px; cursor: pointer;
  transition: background .15s ease, color .15s ease;
}
.chip .sw { width: 8px; height: 8px; border-radius: 50%; background: var(--c, #fff); box-shadow: 0 0 8px var(--c, #fff); }
.chip:hover { border-color: #fff; color: #fff; }
.chip[aria-pressed="true"] { background: #fff; color: #0c0c0d; border-color: #fff; }
.count { opacity: .55; font-variant-numeric: tabular-nums; }

/* groups */
.group-blurb { margin: 0 0 20px; color: var(--dim); }
.group { margin-top: 28px; }
.group-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 14px; padding-bottom: 16px; margin-bottom: 20px; border-bottom: 1px solid var(--line); }
.group-head h3 { font-size: clamp(1.5rem, 2.4vw, 2rem); }
.group-head p { margin: 0; color: var(--dim); }
.group-head .count { margin-left: auto; font-size: .95rem; color: var(--muted); opacity: 1; }
.empty { color: var(--dim); margin: 0; }

.grid { display: grid; gap: 16px; }
.grid.short { grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); }
.grid.long { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }

/* card: thumbnail + title + hairline rows */
.grid { gap: 32px 20px; }
.card { all: unset; box-sizing: border-box; display: block; cursor: pointer; min-width: 0; }
.card:focus-visible { outline: 2px solid #fff; outline-offset: 6px; border-radius: 12px; }
.poster {
  position: relative; aspect-ratio: 9 / 16; overflow: hidden; border-radius: 10px;
  background:
    radial-gradient(90% 60% at 30% 15%, color-mix(in srgb, var(--c) 45%, transparent), transparent 70%),
    linear-gradient(170deg, color-mix(in srgb, var(--c) 30%, #141415), #0d0d0e);
}
.grid.long .poster { aspect-ratio: 16 / 9; }
.poster img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease, opacity .2s ease; }
.card:hover .poster img { transform: scale(1.03); opacity: .88; }
.hover-preview { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .25s ease; }
.poster.previewing .hover-preview { opacity: 1; }
.card-title {
  margin: 14px 0 0; padding-bottom: 10px; border-bottom: 1px solid var(--line);
  font-size: 1.02rem; font-weight: 600; letter-spacing: -0.015em; line-height: 1.3; color: #f2f2f3;
}
.card-row { margin: 0; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: .9rem; color: var(--muted); }
.card:hover .card-title { text-decoration: underline; text-underline-offset: 4px; text-decoration-color: rgba(255,255,255,.4); }

/* ---------- services ---------- */
.services { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 32px; border-top: 1px solid var(--line-2); }
.services article { padding: 26px 24px 30px 0; border-right: 1px solid var(--line); }
.services article + article { padding-left: 24px; }
.services article:last-child { border-right: 0; }
.services p { margin: 10px 0 0; color: var(--muted); font-size: .98rem; }
.also { margin: 20px 0 0; padding: 16px 20px; border-radius: 14px; background: var(--panel); border: 1px solid var(--line); color: var(--muted); max-width: 70ch; }

/* ---------- about ---------- */
.about { display: grid; grid-template-columns: 300px 1fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
.about-photo { width: 100%; height: auto; border-radius: 20px; aspect-ratio: 1; object-fit: cover; border: 1px solid var(--line-2); box-shadow: 0 0 60px rgba(255,180,190,.08); }
.about-lead { font-size: clamp(1.3rem, 2.3vw, 1.8rem); line-height: 1.3; letter-spacing: -0.025em; margin: 22px 0 16px; max-width: 34ch; color: #fff; }
.about p { max-width: 62ch; color: var(--muted); }
.facts { margin: 28px 0 0; display: grid; gap: 14px; }
.facts div { display: grid; grid-template-columns: 110px 1fr; gap: 12px; padding-top: 14px; border-top: 1px solid var(--line); }
.facts dt { font-weight: 500; }
.facts dd { margin: 0; color: var(--muted); }

/* ---------- contact ---------- */
.contact {
  margin: clamp(72px, 10vw, 140px) clamp(12px, 3vw, 40px) 0; padding: clamp(36px, 6vw, 80px);
  border-radius: 22px; border: 1px solid var(--line);
  background: radial-gradient(600px 300px at 20% 0%, rgba(255,255,255,.07), transparent 70%), var(--panel);
}
.contact h2 { font-size: clamp(2rem, 4.6vw, 3.8rem); max-width: 17ch; text-shadow: 0 0 30px rgba(255,255,255,.15); }
.contact-links { display: flex; flex-wrap: wrap; gap: 14px 32px; margin-top: 36px; align-items: center; font-size: 1.12rem; font-weight: 500; }
.contact-links a { text-underline-offset: 5px; text-decoration-color: rgba(255,255,255,.35); }
.contact-links a:hover { text-decoration-color: #fff; }
.email-row { display: flex; align-items: center; gap: 12px; }
.copy { border: 1px solid var(--line-2); background: transparent; color: #fff; font: 500 .85rem var(--sans); padding: 6px 12px; border-radius: 999px; cursor: pointer; }
.copy:hover { border-color: #fff; }

.foot { display: flex; justify-content: space-between; padding: 28px clamp(20px, 4vw, 52px) 22px; font-size: .9rem; color: var(--dim); }

/* ---------- modal ---------- */
.modal { border: 0; padding: 0; background: transparent; max-width: min(1000px, 94vw); width: 100%; color: var(--text); }
.modal::backdrop { background: rgba(0,0,0,.8); backdrop-filter: blur(6px); }
.modal[open] .modal-inner { animation: pop .22s ease-out; }
@keyframes pop { from { opacity: 0; transform: translateY(12px) scale(.98); } }
@media (prefers-reduced-motion: reduce) { .modal[open] .modal-inner { animation: none; } }
.modal-inner { background: var(--panel); border: 1px solid var(--line-2); border-radius: 22px; padding: 18px; }
.modal-head { display: flex; justify-content: space-between; align-items: start; gap: 16px; padding: 4px 4px 14px; }
.modal-cat { margin: 0 0 4px; font-size: .88rem; color: var(--dim); }
.close { border: 1px solid var(--line-2); background: transparent; width: 40px; height: 40px; border-radius: 50%; font-size: 1rem; cursor: pointer; color: #fff; flex: none; }
.close:hover { background: #fff; color: #000; }
.player { position: relative; background: #000; border-radius: 12px; overflow: hidden; margin: 0 auto; }
.player.vertical { aspect-ratio: 9 / 16; height: min(72vh, 760px); max-width: 100%; }
.player.wide { aspect-ratio: 16 / 9; width: 100%; }
.player iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.modal-foot { margin: 12px 4px 0; font-size: .88rem; color: var(--dim); }

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  .hero { grid-template-columns: 1fr; }
  .services { grid-template-columns: 1fr 1fr; }
  .services article { padding: 22px 18px 24px 0 !important; border-right: 0; border-bottom: 1px solid var(--line); }
  .services article:nth-child(even) { padding-left: 18px !important; border-left: 1px solid var(--line); }
  .about { grid-template-columns: 1fr; }
  .about-photo { max-width: 240px; }
}
@media (max-width: 720px) {
  .nav { grid-template-columns: 1fr auto; }
  .pill { display: none; }
  .nav-link { display: none; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  main { padding: 0 8px 24px; }
  .window { border-radius: 20px; padding: 6px; }
  .window-bar { height: 40px; padding: 0 14px; border-radius: 14px 14px 0 0; }
  .lights i { width: 10px; height: 10px; }
  .grid.short { grid-template-columns: 1fr 1fr; gap: 10px; }
  .group-head p { display: none; }
  .hero-photo { width: 120px; border-radius: 22px; }
  .grid.long { grid-template-columns: 1fr; }
  .grid.short { gap: 24px 12px; }
  .card-title { font-size: .92rem; white-space: normal; }
  .services { grid-template-columns: 1fr; }
  .services article:nth-child(even) { padding-left: 0 !important; border-left: 0; }
  .contact { margin-left: 0; margin-right: 0; }
  .facts div { grid-template-columns: 1fr; gap: 2px; }
}
