:root {
  --ink: #080808;
  --paper: #f5f3ed;
  --red: #e9382c;
  --acid: #d8ff38;
  --cyan: #68d8e8;
  --line: rgba(8, 8, 8, 0.18);
  --display: Outfit, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--ink); color: var(--paper); font-family: var(--display); letter-spacing: 0; }
button, input, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
main { overflow-x: hidden; width: 100%; max-width: 100%; }

.nav {
  position: absolute; z-index: 10; top: 24px; left: 50%; transform: translateX(-50%);
  width: min(1180px, calc(100% - 40px)); height: 58px; padding: 0 10px 0 18px;
  display: flex; align-items: center; justify-content: space-between;
  border: 1px solid rgba(255,255,255,.25); background: rgba(5,5,5,.56); backdrop-filter: blur(16px);
}
.brand, .nav-action { color: #fff; text-decoration: none; font-weight: 700; }
.brand { display: flex; align-items: center; gap: 11px; }
.brand-mark { display: grid; place-items: center; width: 30px; height: 30px; background: var(--acid); color: var(--ink); }
.nav-action { padding: 10px 12px; background: #fff; color: var(--ink); }

.hero { position: relative; min-height: 860px; padding: 170px max(24px, calc((100vw - 1180px)/2)) 92px; overflow: hidden; display: flex; align-items: center; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.95) 0%, rgba(0,0,0,.75) 48%, rgba(0,0,0,.08) 100%); pointer-events: none; }
.hero-copy { position: relative; z-index: 3; width: min(780px, 68%); }
.kicker { margin: 0 0 22px; color: var(--acid); font-size: 13px; font-weight: 800; text-transform: uppercase; }
.kicker.dark { color: var(--red); }
h1, h2, h3, p { letter-spacing: 0; }
h1 { max-width: 1120px; margin: 0; font-size: 76px; line-height: .98; font-weight: 700; }
.inline-image, .closing-image { display: inline-block; width: 112px; height: 44px; margin: 0 8px; vertical-align: middle; background: url("jin-rockstar-stage.jpg") center 32%/cover; border-radius: 999px; filter: contrast(1.15) saturate(.7); }
.hero-lede { max-width: 610px; margin: 34px 0; color: rgba(255,255,255,.75); font-size: 20px; line-height: 1.55; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.button { min-height: 50px; padding: 0 22px; border: 1px solid transparent; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; text-decoration: none; font-weight: 800; transition: transform .25s ease, background .25s ease; }
.button:hover { transform: translateY(-3px); }
.button-light { background: #fff; color: var(--ink); }
.button-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.5); }
.button-dark { background: var(--ink); color: #fff; }
.button-acid { background: var(--acid); color: var(--ink); }
.hero-portrait { position: absolute; z-index: 1; inset: 0 0 0 auto; width: 59%; margin: 0; overflow: hidden; }
.hero-portrait img { width: 100%; height: 100%; object-fit: cover; object-position: center 22%; filter: contrast(1.15) saturate(.75); transform: scale(1.04); transition: transform .8s ease; }
.hero-portrait:hover img { transform: scale(1.09); }
.hero-portrait figcaption { position: absolute; right: 24px; bottom: 24px; z-index: 2; max-width: 220px; color: rgba(255,255,255,.72); font-size: 11px; text-align: right; }
.hero-word { position: absolute; z-index: 2; right: -20px; bottom: -36px; font-size: 210px; font-weight: 800; line-height: 1; color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.35); }

.studio-section { background: var(--paper); color: var(--ink); padding: 150px max(24px, calc((100vw - 1180px)/2)); }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 40px; margin-bottom: 64px; }
.section-heading .kicker { flex: 0 0 180px; }
.section-heading h2, .results-heading h2 { max-width: 800px; margin: 0; font-size: 56px; line-height: 1.05; }
.studio-grid { display: grid; grid-template-columns: repeat(12, 1fr); grid-template-rows: repeat(2, minmax(220px, auto)); grid-auto-flow: dense; gap: 1px; background: var(--ink); border: 1px solid var(--ink); }
.director-panel { grid-column: span 7; grid-row: span 2; padding: 38px; display: grid; gap: 30px; background: #fff; }
.direction-card, .detail-card { grid-column: span 5; margin: 0; overflow: hidden; }
.direction-card { padding: 34px; display: flex; flex-direction: column; background: var(--cyan); }
.direction-card p, .direction-card span, .direction-card small { margin: 0; }
.direction-card strong { margin: 22px 0 10px; font-size: 30px; }
.direction-line { height: 1px; margin: auto 0 18px; background: rgba(0,0,0,.25); }
.detail-card { position: relative; background: var(--red); }
.detail-card img { width: 100%; height: 100%; min-height: 270px; object-fit: cover; object-position: center 22%; filter: grayscale(1) contrast(1.25); transition: transform .7s ease; }
.detail-card:hover img { transform: scale(1.05); }
.detail-card figcaption { position: absolute; inset: auto 18px 18px; padding: 12px; background: #fff; color: var(--ink); font-weight: 700; }
.field { min-width: 0; }
.field label, .field legend { display: block; margin-bottom: 10px; font-size: 13px; font-weight: 800; }
.field input[type="text"], .field input:not([type]), .field select, #star-name { width: 100%; min-height: 48px; border: 0; border-bottom: 2px solid var(--ink); background: transparent; border-radius: 0; outline: none; font-size: 28px; }
.field select { font-size: 20px; }
.segmented { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--ink); }
.segmented label { margin: 0; }
.segmented input { position: absolute; opacity: 0; pointer-events: none; }
.segmented span { min-height: 48px; display: grid; place-items: center; border-right: 1px solid var(--ink); cursor: pointer; }
.segmented label:last-child span { border-right: 0; }
.segmented input:checked + span { background: var(--ink); color: #fff; }
.range-label { display: flex; justify-content: space-between; }
.range-label output { color: var(--red); font-weight: 800; }
input[type="range"] { width: 100%; accent-color: var(--red); }
.form-actions { display: flex; gap: 10px; align-items: center; }
.icon-button { width: 50px; height: 50px; border: 1px solid var(--ink); background: #fff; color: var(--ink); cursor: pointer; font-size: 22px; }

.results-section { min-height: 1100px; padding: 150px max(24px, calc((100vw - 1180px)/2)); display: grid; grid-template-columns: 4fr 7fr; gap: 80px; background: var(--ink); }
.results-heading { align-self: start; }
.results-heading h2 { font-size: 48px; }
.scrub-copy { margin-top: 30px; color: rgba(255,255,255,.28); font-size: 21px; line-height: 1.55; }
.caption-stack { display: flex; flex-direction: column; gap: 18px; }
.caption-card { min-height: 230px; padding: 28px; background: #171717; border: 1px solid rgba(255,255,255,.18); transition: transform .7s ease, background .3s ease; }
.caption-card:hover, .caption-card.active { background: #222; transform: translateX(-12px); }
.caption-card > div { display: flex; justify-content: space-between; align-items: center; color: var(--acid); font-size: 12px; font-weight: 800; text-transform: uppercase; }
.caption-card p { margin: 46px 0 0; font-size: 26px; line-height: 1.35; }
.copy-button { width: 38px; height: 38px; border: 1px solid rgba(255,255,255,.3); background: transparent; color: #fff; cursor: pointer; }
.result-actions { grid-column: 2; display: flex; align-items: center; gap: 22px; }
.result-actions p { color: rgba(255,255,255,.6); font-size: 13px; }

.accordions { min-height: 540px; display: flex; background: var(--paper); color: var(--ink); }
.accordion-panel { flex: 1; min-width: 0; padding: 46px 30px; border-right: 1px solid var(--ink); display: flex; flex-direction: column; transition: flex .65s ease, background .35s ease; overflow: hidden; }
.accordion-panel:last-child { border-right: 0; }
.accordion-panel:hover { flex: 2; background: var(--acid); }
.accordion-panel h3 { margin: auto 0 20px; font-size: 34px; white-space: nowrap; }
.accordion-panel p { max-width: 460px; margin: 0; line-height: 1.5; opacity: .7; }

.closing { padding: 150px max(24px, calc((100vw - 1180px)/2)); background: var(--red); color: #fff; display: flex; align-items: flex-end; justify-content: space-between; gap: 48px; }
.closing-line { max-width: 900px; margin: 0; font-size: 66px; line-height: 1.03; font-weight: 700; }
footer { min-height: 110px; padding: 0 max(24px, calc((100vw - 1180px)/2)); display: flex; align-items: center; justify-content: space-between; color: rgba(255,255,255,.6); font-size: 12px; }

@media (max-width: 900px) {
  .hero { min-height: 820px; padding-top: 140px; align-items: end; }
  .hero::after { background: linear-gradient(0deg, rgba(0,0,0,.98) 0%, rgba(0,0,0,.72) 62%, rgba(0,0,0,.2) 100%); }
  .hero-copy { width: 100%; }
  h1 { font-size: 54px; }
  .hero-portrait { width: 100%; height: 100%; }
  .hero-word { font-size: 130px; }
  .section-heading, .closing { align-items: flex-start; flex-direction: column; }
  .section-heading h2, .results-heading h2 { font-size: 44px; }
  .director-panel, .direction-card, .detail-card { grid-column: span 12; grid-row: auto; }
  .studio-grid { grid-template-rows: auto; }
  .results-section { grid-template-columns: 1fr; gap: 52px; }
  .result-actions { grid-column: 1; }
  .closing-line { font-size: 48px; }
}

@media (max-width: 560px) {
  .nav { top: 14px; width: calc(100% - 28px); }
  .brand span:last-child { display: none; }
  .hero { min-height: 780px; padding: 120px 20px 60px; }
  h1 { font-size: 43px; }
  .inline-image { width: 76px; height: 30px; }
  .hero-lede { font-size: 17px; }
  .studio-section, .results-section, .closing { padding: 100px 20px; }
  .section-heading { margin-bottom: 40px; }
  .section-heading .kicker { flex-basis: auto; }
  .section-heading h2, .results-heading h2 { font-size: 38px; }
  .director-panel { padding: 24px; }
  .segmented { grid-template-columns: 1fr; }
  .segmented span { border-right: 0; border-bottom: 1px solid var(--ink); }
  .segmented label:last-child span { border-bottom: 0; }
  .caption-card { min-height: 240px; }
  .caption-card p { font-size: 22px; }
  .result-actions { align-items: flex-start; flex-direction: column; }
  .accordions { min-height: 760px; flex-direction: column; }
  .accordion-panel { border-right: 0; border-bottom: 1px solid var(--ink); }
  .accordion-panel h3 { margin: 36px 0 16px; white-space: normal; }
  .closing-line { font-size: 40px; }
  footer { align-items: flex-start; flex-direction: column; justify-content: center; gap: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
