/* Palette and type from the Claude Design "Portfolio" file (Modernist system, dark variant). */
:root {
  --ink: #161513;
  --panel: #1d1c19;
  --well: #2a2825;
  --rule: #3a3733;
  --paper: #efece4;
  --paper-2: #ecebe3;
  --text-2: #d6d2c8;
  --muted: #b9b4a8;
  --faint: #7d786e;
  --red: #ff3b2f;
  --red-hi: #ff6a5f;
  --red-ink: #b8261c;
  --dark: #1a1916;
  --gutter: clamp(20px, 4vw, 56px);
  --mono: 'IBM Plex Mono', monospace;
  --sans: 'IBM Plex Sans Condensed', sans-serif;
  --display: 'Big Shoulders Display', sans-serif;
}

* { box-sizing: border-box; }
body { margin: 0; background: var(--ink); color: var(--paper); font-family: var(--sans); }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--red-hi); }
::selection { background: var(--red); color: var(--ink); }
:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; }
img, video, iframe { display: block; width: 100%; height: 100%; border: 0; object-fit: cover; }

.page { min-height: 100vh; display: flex; flex-direction: column; }
.mono { font-family: var(--mono); }
.kicker { font-family: var(--mono); font-size: 12px; color: var(--red-hi); letter-spacing: .08em; text-transform: uppercase; }
.label { font-family: var(--mono); font-size: 10px; color: var(--red-hi); text-transform: uppercase; }
.dot { width: 9px; height: 9px; border-radius: 50%; background: var(--red); display: inline-block; flex: none; }
.display { font-family: var(--display); font-weight: 900; text-transform: uppercase; }
.red { color: var(--red); }

/* Nav */
.nav { position: sticky; top: 0; z-index: 5; background: var(--ink); border-bottom: 1px solid var(--rule); display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; padding: 14px var(--gutter); font-family: var(--mono); font-size: 12px; letter-spacing: .06em; }
.nav .brand { display: flex; align-items: center; gap: 10px; }
.nav .brand span.sub { color: var(--faint); }
.nav .links { display: flex; gap: 22px; flex-wrap: wrap; }
.nav .links a { color: var(--muted); }
.nav .links a.on { color: var(--paper); }
.nav .links a:hover { color: var(--red-hi); }

/* Hero */
.hero { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: clamp(24px, 4vw, 56px); padding: clamp(32px, 6vw, 80px) var(--gutter) 40px; align-items: end; }
.hero .copy { display: flex; flex-direction: column; gap: 20px; }
.hero h1 { margin: 0; font-family: var(--display); font-weight: 900; font-size: clamp(56px, 8vw, 120px); line-height: .84; text-transform: uppercase; }
.hero p { margin: 0; font-size: 18px; line-height: 1.5; max-width: 520px; color: var(--text-2); text-wrap: pretty; }
.ctas { display: flex; gap: 10px; flex-wrap: wrap; }
.btn { font-weight: 700; font-size: 15px; padding: 12px 18px; min-width: 180px; display: flex; justify-content: space-between; gap: 20px; border: 1.5px solid var(--paper); }
.btn:hover { background: var(--well); color: var(--paper); }
.btn.primary { background: var(--red); color: var(--ink); border-color: var(--red); }
.btn.primary:hover { background: var(--red-hi); border-color: var(--red-hi); color: var(--ink); }

.screen { position: relative; aspect-ratio: 16/9; background: var(--well); border: 1px solid var(--rule); overflow: hidden; font-family: var(--mono); font-size: 11px; color: var(--muted); }
a.screen:hover { border-color: var(--red); color: var(--muted); }
.screen > .media { position: absolute; inset: 0; }
.screen > .media img { opacity: .55; }
.screen .overlay { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: space-between; padding: 14px; }
.screen .media + .overlay { background: linear-gradient(rgba(22, 21, 19, .9), transparent 30%, transparent 72%, rgba(22, 21, 19, .85)); color: var(--paper); }
.screen .row { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; }
.screen .rec { display: flex; gap: 8px; align-items: center; color: var(--paper); }
.screen .rec .dot { width: 7px; height: 7px; }
.screen .time { color: var(--paper); font-size: 13px; white-space: nowrap; }

/* Stat strip */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.stats > div { padding: 16px 20px; border-right: 1px solid var(--rule); }
.stats > div:first-child { padding-left: var(--gutter); }
.stats > div:last-child { border-right: 0; }
.stats .v { font-size: 30px; font-weight: 700; }

/* Sections */
.section { padding: 56px var(--gutter); display: flex; flex-direction: column; gap: 24px; }
.section.tight { padding-top: 0; }
.sec-head { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 12px; border-bottom: 1.5px solid var(--paper); padding-bottom: 12px; }
.sec-head h2 { margin: 0; font-family: var(--display); font-weight: 900; font-size: 44px; text-transform: uppercase; line-height: 1; }
.sec-head .note { font-family: var(--mono); font-size: 11px; color: var(--muted); }

/* Exhibits */
.exhibits { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 20px; }
.exhibit { display: flex; flex-direction: column; border: 1px solid var(--rule); background: var(--panel); }
.exhibit:hover { border-color: var(--red); }
.exhibit .shot { position: relative; aspect-ratio: 16/10; background: var(--well); overflow: hidden; }
.exhibit .shot .tags { position: absolute; inset: 0; display: flex; align-items: flex-start; justify-content: space-between; padding: 10px; font-family: var(--mono); font-size: 10px; color: var(--faint); }
.exhibit .shot .tags .status { background: var(--panel); padding: 2px 6px; }
.exhibit .body { padding: 16px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.exhibit h3 { margin: 0; font-family: var(--display); font-weight: 700; font-size: 30px; text-transform: uppercase; line-height: 1; }
.exhibit .line { font-size: 15px; line-height: 1.45; color: var(--text-2); }
.exhibit .stack { font-family: var(--mono); font-size: 10px; color: var(--muted); margin-top: auto; padding-top: 8px; text-transform: uppercase; }
.exhibit .actions { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--rule); font-size: 14px; font-weight: 700; }
.exhibit .actions a { padding: 12px 16px; display: flex; justify-content: space-between; }
.exhibit .actions a:first-child { border-right: 1px solid var(--rule); }
.exhibit .actions a:hover { background: var(--well); }
.exhibit .actions .soon { padding: 12px 16px; border-right: 1px solid var(--rule); color: var(--faint); }

/* Workbench */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); border: 1px solid var(--rule); }
.steps > div { padding: 18px; border-right: 1px solid var(--rule); display: flex; flex-direction: column; gap: 8px; }
.steps > div:last-child { border-right: 0; }
.steps .n { font-family: var(--mono); font-size: 11px; color: var(--red-hi); }
.steps .t { font-size: 19px; font-weight: 700; }
.steps .d { font-size: 14px; line-height: 1.45; color: var(--muted); }

/* Team (light band) */
.team { background: var(--paper-2); color: var(--dark); padding: 56px var(--gutter); display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr)); gap: 40px; }
.team .copy { display: flex; flex-direction: column; gap: 14px; }
.team .kicker { color: var(--red-ink); font-size: 11px; }
.team h2 { margin: 0; font-family: var(--display); font-weight: 900; font-size: clamp(40px, 5vw, 64px); line-height: .88; text-transform: uppercase; }
.team p { margin: 0; font-size: 17px; line-height: 1.5; max-width: 520px; text-wrap: pretty; }
.team ol { list-style: none; margin: 0; padding: 0; border-top: 1.5px solid var(--dark); }
.team li { display: grid; grid-template-columns: 110px 1fr; gap: 16px; padding: 12px 0; border-bottom: 1px dashed var(--dark); }
.team li .y { font-family: var(--mono); font-size: 12px; }
.team li .r { font-size: 16px; font-weight: 700; }

/* Case file */
.case-head { padding: clamp(32px, 5vw, 64px) var(--gutter) 32px; display: flex; flex-direction: column; gap: 18px; }
.case-head .back { font-family: var(--mono); font-size: 12px; color: var(--muted); }
.case-head h1 { margin: 0; font-family: var(--display); font-weight: 900; font-size: clamp(64px, 10vw, 150px); line-height: .82; text-transform: uppercase; }
.case-head p { margin: 0; font-size: 20px; line-height: 1.45; max-width: 640px; color: var(--text-2); text-wrap: pretty; }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.facts > * { padding: 14px 20px; border-right: 1px solid var(--rule); display: flex; flex-direction: column; }
.facts > *:first-child { padding-left: var(--gutter); }
.facts .v { font-size: 17px; font-weight: 700; }
.facts a.launch { background: var(--red); color: var(--ink); border-right: 0; }
.facts a.launch:hover { background: var(--red-hi); color: var(--ink); }
.facts a.launch .label { color: var(--ink); }
.case-hero { position: relative; margin: 32px var(--gutter); aspect-ratio: 21/9; background: var(--well); border: 1px solid var(--rule); overflow: hidden; }
.case-hero.video { aspect-ratio: 16/9; }
.case-hero .ph { position: absolute; left: 12px; bottom: 12px; font-family: var(--mono); font-size: 11px; color: var(--faint); }
.case-body { padding: 0 var(--gutter) 56px; display: flex; flex-direction: column; }
.case-sec { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 24px; padding: 28px 0; border-top: 1.5px solid var(--paper); }
.case-sec h2 { margin: 6px 0 0; font-family: var(--display); font-weight: 900; font-size: 36px; text-transform: uppercase; line-height: 1; }
.case-sec .d { font-size: 18px; line-height: 1.55; color: var(--text-2); max-width: 720px; text-wrap: pretty; }
.next { border: 1.5px solid var(--paper); padding: 20px; display: flex; justify-content: space-between; align-items: center; margin-top: 16px; }
.next:hover { border-color: var(--red); color: var(--paper); }
.next .k { font-family: var(--mono); font-size: 11px; color: var(--muted); }
.next .n { font-family: var(--display); font-weight: 900; font-size: 32px; text-transform: uppercase; }
.next .arrow { font-size: 28px; }

/* Stage */
.stage { padding: clamp(32px, 5vw, 64px) var(--gutter) 56px; display: flex; flex-direction: column; gap: 28px; }
.stage h1 { margin: 0; font-family: var(--display); font-weight: 900; font-size: clamp(56px, 8vw, 120px); line-height: .84; text-transform: uppercase; }
.stage .onair { display: flex; gap: 8px; align-items: center; }
.player { display: flex; flex-direction: column; gap: 12px; max-width: 1100px; }
.player .screen { font-size: 12px; }
.player .screen .big { font-size: 42px; color: var(--paper); }
.player .meta { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; align-items: baseline; }
.player .meta h2 { margin: 0; font-family: var(--display); font-weight: 700; font-size: 30px; text-transform: uppercase; }
.player .meta .mono { font-size: 12px; color: var(--muted); }
.filters { display: flex; gap: 8px; flex-wrap: wrap; border-top: 1.5px solid var(--paper); padding-top: 16px; }
.filters a { font-family: var(--mono); font-size: 12px; padding: 8px 14px; border: 1px solid var(--rule); }
.filters a.on { border-color: var(--red); background: var(--red); color: var(--ink); }
.talks { display: flex; flex-direction: column; border-top: 1px solid var(--rule); }
.talk { display: grid; grid-template-columns: 120px minmax(0, 1fr) 120px 70px; gap: 16px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--rule); }
.talk:hover, .talk.on { background: var(--panel); color: var(--paper); }
.talk .thumb { position: relative; aspect-ratio: 16/9; background: var(--well); display: flex; align-items: center; justify-content: center; color: var(--muted); overflow: hidden; }
.talk .thumb img { position: absolute; inset: 0; opacity: .6; }
.talk .thumb span { position: relative; }
.talk .t { font-size: 18px; font-weight: 700; }
.talk .e, .talk .len { font-family: var(--mono); font-size: 11px; color: var(--muted); }
.talk .kind { font-family: var(--mono); font-size: 11px; color: var(--red-hi); }
.empty { font-family: var(--mono); font-size: 12px; color: var(--muted); padding: 20px 0; }

/* Contact */
.contact { margin-top: auto; border-top: 1px solid var(--rule); padding: 48px var(--gutter); display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 32px; align-items: end; }
.contact h2 { margin: 10px 0 0; font-family: var(--display); font-weight: 900; font-size: clamp(44px, 6vw, 80px); line-height: .86; text-transform: uppercase; }
.contact ul { list-style: none; margin: 0; padding: 0; font-family: var(--mono); font-size: 13px; border-top: 1px solid var(--rule); }
.contact li a, .contact li.foot { display: flex; justify-content: space-between; padding: 12px 0; border-bottom: 1px solid var(--rule); text-transform: uppercase; }
.contact li.foot { border-bottom: 0; color: var(--faint); }

/* Not found */
.notfound { padding: clamp(32px, 6vw, 80px) var(--gutter); display: flex; flex-direction: column; gap: 20px; }
.notfound h1 { margin: 0; font-family: var(--display); font-weight: 900; font-size: clamp(56px, 8vw, 120px); line-height: .84; text-transform: uppercase; }

@media (max-width: 640px) {
  .talk { grid-template-columns: 96px minmax(0, 1fr); row-gap: 4px; }
  .talk .kind, .talk .len { grid-column: 2; }
  .stats > div, .facts > * { padding-left: var(--gutter); border-right: 0; border-bottom: 1px solid var(--rule); }
  .steps > div { border-right: 0; border-bottom: 1px solid var(--rule); }
}

/* Coming soon */
.soon-page { flex: 1; padding: clamp(48px, 10vw, 140px) var(--gutter) 56px; display: flex; flex-direction: column; gap: 22px; }
.soon-page .onair { display: flex; gap: 8px; align-items: center; }
.soon-page h1 { margin: 0; font-family: var(--display); font-weight: 900; font-size: clamp(64px, 11vw, 160px); line-height: .84; text-transform: uppercase; }
.soon-page p { margin: 0; font-size: 18px; line-height: 1.5; max-width: 560px; color: var(--text-2); text-wrap: pretty; }
.soon-foot { grid-template-columns: minmax(0, 560px); }
