:root {
  --bg: #07080c;
  --bg-2: #0c0e14;
  --ink: #edf2f8;
  --muted: #b4becc;
  --faint: #93a0b3;
  --line: rgba(186, 210, 255, 0.14);
  --line-strong: rgba(186, 210, 255, 0.32);
  --cyan: #8fdfff;
  --header: 64px;
  --font: "Segoe UI", "Helvetica Neue", sans-serif;
  --display: Bahnschrift, "Segoe UI", sans-serif;
  --mono: "Cascadia Mono", Consolas, ui-monospace, monospace;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header) + 12px); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.5;
  min-height: 100%;
}
img { max-width: 100%; height: auto; }
svg { max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--display); font-weight: 600; letter-spacing: -0.03em; }
h1 { margin: 0 0 16px; font-size: clamp(2.7rem, 7vw, 5.5rem); line-height: 0.94; letter-spacing: -0.045em; }
h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); line-height: 1.05; }
p { margin: 0 0 12px; }
::selection { background: rgba(126, 235, 255, 0.28); color: white; }
:focus { outline: none; }
:focus-visible { outline: 2px solid #9aefff; outline-offset: 3px; }
h1:focus, h1:focus-visible, h2:focus, h2:focus-visible { outline: none; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip {
  position: absolute;
  left: 12px;
  top: -48px;
  z-index: 100;
  background: #fff;
  color: #07080c;
  padding: 8px 12px;
}
.skip:focus { top: 12px; }

.ambient {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(120, 160, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(120, 160, 255, 0.045) 1px, transparent 1px);
  background-size: 80px 80px;
  animation: grid-drift 90s linear infinite;
  mask-image: radial-gradient(ellipse at 50% 20%, #000 15%, transparent 72%);
}
@keyframes grid-drift {
  to { background-position: 80px 80px, 80px 80px; }
}
.pointer-glow {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 0;
  width: 520px;
  height: 520px;
  margin: -260px 0 0 -260px;
  pointer-events: none;
  opacity: 0;
  background: radial-gradient(circle, rgba(90, 190, 255, 0.16), rgba(140, 90, 255, 0.05) 42%, transparent 68%);
  mix-blend-mode: screen;
  transition: opacity 0.4s linear;
}
.pointer-glow.is-on { opacity: 1; }
main, .site-footer { position: relative; z-index: 1; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  gap: 12px;
  height: var(--header);
  padding: 0 16px;
  background: rgba(7, 8, 12, 0.94);
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  font-family: var(--display);
  font-size: 18px;
  letter-spacing: -0.03em;
  flex-shrink: 0;
}
.brand span { display: none; }
.brand img, .foot-brand img, .mega-mark img {
  width: 36px;
  height: 36px;
  max-width: none;
  object-fit: cover;
  border-radius: 8px;
  display: block;
}
.site-nav { display: none; }
.site-nav.is-open {
  display: flex;
  flex-direction: column;
  position: fixed;
  z-index: 50;
  inset: var(--header) 0 0 0;
  background: #07080c;
  padding: 8px 8px 32px;
  overflow: auto;
}
.site-nav a {
  display: flex;
  align-items: center;
  min-height: 52px;
  padding: 0 12px;
  font-size: 22px;
  letter-spacing: -0.02em;
  border-top: 1px solid var(--line);
  color: var(--muted);
}
.site-nav a.is-active { color: var(--ink); box-shadow: inset 2px 0 0 var(--cyan); }
.header-actions { display: flex; align-items: center; gap: 8px; margin-left: auto; flex-shrink: 0; }
.nav-toggle__close { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__open { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__close { display: inline; }
.icon-btn {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
}
.icon-btn svg { width: 16px; height: 16px; display: block; }
.icon-btn:hover { color: var(--cyan); }
.full { display: none; }
.short { display: inline; }

.btn, .text-link {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 999px;
  border: 1px solid transparent;
  padding: 0 16px;
  background: transparent;
  text-decoration: none;
}
.btn-primary { background: #eef3f8; color: #0a0c10; }
.btn-primary:hover { background: #fff; }
.btn-line { border-color: var(--line-strong); color: var(--ink); }
.btn-line:hover { border-color: rgba(126, 235, 255, 0.55); }
.text-link {
  padding: 0;
  border: 0;
  border-radius: 0;
  color: var(--muted);
  min-height: 44px;
}
.text-link:hover { color: var(--ink); }
button:disabled { opacity: 0.4; cursor: not-allowed; }
[data-copy-ca] { min-width: 104px; }
[data-copy-ca].is-copied { border-color: rgba(126, 235, 255, 0.7); color: var(--cyan); }

.wrap { width: min(1180px, calc(100% - 32px)); margin-inline: auto; }
.wrap-wide { width: min(1360px, calc(100% - 32px)); margin-inline: auto; }
.view { padding: 28px 0 72px; }
.view-app h1 { font-size: clamp(2rem, 5vw, 3.4rem); }
.eyebrow, .foot h2, legend {
  margin: 0 0 12px;
  font-family: var(--font);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--faint);
}
.lede { font-size: 1.125rem; color: var(--muted); max-width: 40rem; }
.hint, .muted, .caption, .count { color: var(--muted); font-size: 14px; }
.note {
  border-left: 1px solid rgba(126, 235, 255, 0.45);
  padding: 4px 0 4px 14px;
  color: var(--muted);
  max-width: 44rem;
}
.badge, .tag {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 8px;
  border-radius: 999px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 11px;
}
.badge { border: 1px solid var(--line-strong); color: var(--cyan); }
.tag { color: var(--faint); padding: 0; }
.mono, code, .js-ca { font-family: var(--mono); font-size: 0.92em; }
.js-ca { user-select: all; overflow-wrap: anywhere; }

.hero-grid { display: grid; gap: 12px; align-items: center; }
.hero-actions, .row, .ca-row, .roster-nav { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.hero-actions, .ca-row { margin: 8px 0 16px; }
.ca-name { font-family: var(--display); font-size: 1.3rem; }
.ca-role { color: var(--faint); font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; }
.hero-mark { position: relative; display: grid; place-items: center; min-width: 0; }
.hero-mark img { width: min(100%, 440px); position: relative; z-index: 1; }
.hero-mark::after {
  content: "";
  position: absolute;
  inset: 12% 18%;
  background: radial-gradient(circle, rgba(80, 180, 255, 0.42), rgba(170, 80, 255, 0.12) 42%, transparent 70%);
  animation: illuminate 8s ease-in-out infinite;
  z-index: 0;
}
@keyframes illuminate {
  0%, 100% { opacity: 0.45; transform: scale(0.96); }
  50% { opacity: 0.9; transform: scale(1); }
}
.thesis { padding: clamp(36px, 6vw, 72px) 0 10px; }
.thesis p {
  font-family: var(--display);
  font-size: clamp(1.6rem, 3.2vw, 2.5rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin: 0 0 10px;
  max-width: 18em;
}
.thesis__second { color: var(--muted); }
.venue { padding-top: 12px; }
.venue-banner {
  width: 100%;
  aspect-ratio: 3 / 1;
  object-fit: cover;
  object-position: center;
  display: block;
  border-radius: 12px;
}
.caption { margin-top: 12px; max-width: 40rem; }
.section-head { margin: clamp(56px, 9vw, 104px) 0 18px; }
.section-head h2 { margin: 0 0 8px; font-size: clamp(2rem, 4vw, 3.3rem); }
.section-head p { max-width: 40rem; color: var(--muted); }
.step-grid { display: grid; }
.step {
  display: grid;
  gap: 6px;
  padding: 20px 0;
  border-top: 1px solid var(--line);
  color: inherit;
}
.step strong { font-size: 12px; letter-spacing: 0.16em; color: var(--faint); font-weight: 600; }
.step h3 { margin: 0; font-size: clamp(1.45rem, 2vw, 2rem); }
.step p { margin: 0; color: var(--muted); }
.step:hover h3 { color: #fff; }
.roster-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  align-items: end;
}
.roster-head .section-head { margin-bottom: 0; }
.roster-scroller {
  display: block;
  overflow-x: auto;
  max-width: 100%;
  scroll-snap-type: x mandatory;
  padding: 18px 0 12px;
  scrollbar-color: rgba(126, 235, 255, 0.35) transparent;
}
.roster-track {
  display: flex;
  gap: 16px;
  width: max-content;
}
.roster-scroller .talent {
  flex: 0 0 min(72vw, 260px);
  width: min(72vw, 260px);
  scroll-snap-align: start;
}
.talent { display: block; color: inherit; min-width: 0; }
.talent__photo, .profile-photo, .preview-frame, .scene-card {
  position: relative;
  overflow: hidden;
  background: #101218;
  border-radius: 12px;
}
.talent__photo { aspect-ratio: 3 / 4; }
.talent__photo svg, .talent__photo img,
.profile-photo svg, .profile-photo img,
.preview-frame svg, .preview-frame img,
.scene-card svg, .scene-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
  display: block;
}
.talent__meta { padding: 12px 2px 0; display: grid; gap: 3px; }
.talent__top { display: flex; justify-content: space-between; gap: 8px; align-items: start; }
.talent h3 { margin: 0; min-width: 0; font-size: clamp(1rem, 2.2vw, 1.2rem); overflow-wrap: anywhere; }
.talent p { margin: 0; }
.talent__tick { font-family: var(--mono); font-size: 13px; color: var(--cyan); }
.talent__go { color: var(--muted); font-size: 14px; }
.talent:hover .talent__go { color: var(--ink); }
.talent:hover .talent__photo svg,
.talent:hover .talent__photo img { transform: scale(1.035); }
.talent__photo svg, .talent__photo img { transition: transform 0.5s var(--ease); }
.spine {
  list-style: none;
  margin: 8px 0 18px;
  padding: 0 0 0 28px;
  position: relative;
  display: grid;
  gap: 28px;
}
.spine::before {
  content: "";
  position: absolute;
  left: 3px;
  top: 6px;
  bottom: 6px;
  width: 1px;
  background: repeating-linear-gradient(to bottom, rgba(126, 235, 255, 0.8) 0 6px, transparent 6px 14px);
  animation: spine 1.8s linear infinite;
}
@keyframes spine { to { background-position: 0 14px; } }
.spine li { position: relative; }
.spine li::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--cyan);
  position: absolute;
  left: -28px;
  top: 8px;
}
.spine h3 { margin: 0 0 4px; font-size: 1.45rem; }
.spine p { margin: 0; color: var(--muted); }
.plain { list-style: none; padding: 0; margin: 0 0 18px; }
.plain li { padding: 16px 0; border-top: 1px solid var(--line); }
.plain h3 { margin: 0 0 4px; font-size: 1.25rem; }
.plain p { margin: 0; color: var(--muted); }
.hierarchy { list-style: none; padding: 0; margin: 0 0 20px; }
.hierarchy li {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 4px 16px;
  align-items: baseline;
  padding: 18px 0;
  border-top: 1px solid var(--line);
  font-family: var(--display);
  font-size: clamp(1.35rem, 3vw, 2.3rem);
  letter-spacing: -0.03em;
}
.hierarchy span { min-width: 0; }
.hierarchy em { margin-left: auto; }
.hierarchy em { font-style: normal; color: var(--faint); font-family: var(--font); font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; }

.toolbar { display: grid; gap: 12px; margin: 18px 0; }
.filters, .choice-row, .tabs, .scene-row, .switch-list { display: flex; flex-wrap: wrap; gap: 8px; }
.filters, .tabs, .scene-row, .rail ol { max-width: 100%; }
.choice, .chip {
  min-height: 40px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--muted);
}
.choice[aria-pressed="true"], .chip[aria-pressed="true"] {
  color: var(--ink);
  border-color: rgba(126, 235, 255, 0.55);
}
.swatches { display: flex; flex-wrap: wrap; gap: 10px; }
.swatch {
  width: 36px;
  height: 36px;
  min-height: 36px;
  padding: 0;
  border-radius: 50%;
  background: var(--swatch);
  border: 1px solid rgba(255, 255, 255, 0.24);
}
.swatch[aria-pressed="true"] { box-shadow: 0 0 0 2px #eef3f8; }
.lookbook { display: grid; gap: 22px 12px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.scene-row {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: min(78vw, 220px);
  overflow-x: auto;
  padding-bottom: 8px;
  scroll-snap-type: x mandatory;
}
.scene-card {
  min-height: 280px;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 14px;
  gap: 4px;
  color: var(--ink);
}
.scene-card small { color: var(--muted); }
.scene-card__photo {
  position: absolute;
  inset: 0;
}
.scene-card::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 46%;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.82));
  pointer-events: none;
}
.scene-card span, .scene-card small { position: relative; z-index: 1; }
.status-line { color: var(--faint); }
.empty { color: var(--muted); padding: 24px 0; }

.control, .affix {
  width: 100%;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 10px;
  min-height: 46px;
}
.control { padding: 10px 12px; display: block; }
textarea.control { min-height: 120px; resize: vertical; }
select.control {
  appearance: none;
  padding-right: 36px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath fill='none' stroke='%23b4becc' stroke-width='1.4' d='M1 1.5 6 6.5 11 1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 12px 8px;
}
.field { display: grid; gap: 6px; margin: 0 0 14px; }
.affix { display: flex; align-items: center; padding-left: 12px; }
.affix .control { border: 0; background: transparent; min-height: 44px; }
fieldset { border: 0; padding: 0; margin: 0 0 16px; }
.field-error { color: #ffb4be; font-size: 14px; margin: 0 0 10px; }
.dropzone {
  position: relative;
  display: grid;
  place-items: center;
  gap: 4px;
  min-height: 128px;
  padding: 16px;
  text-align: center;
  border: 1px dashed rgba(186, 210, 255, 0.28);
  border-radius: 12px;
  margin-bottom: 10px;
}
.dropzone.is-over { border-color: rgba(126, 235, 255, 0.75); }
.dropzone input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.refchip { display: flex; justify-content: space-between; gap: 12px; align-items: center; margin-bottom: 12px; }
.launch-shell, .studio-shell { display: flex; flex-direction: column; gap: 22px; }
.launch-shell > *, .studio-shell > * { min-width: 0; }
.preview-col { order: 1; }
.launch-form { order: 2; }
.summary-col { order: 3; }
.rail { order: 0; }
.stage { order: 1; }
.studio-controls { order: 2; }
.studio-output { order: 3; }
.rail ol { display: flex; gap: 4px; overflow-x: auto; list-style: none; padding: 0; margin: 0; }
.rail__row { display: flex; flex-wrap: wrap; justify-content: flex-start; gap: 8px 18px; align-items: center; }
.rail button[data-go-step] {
  background: none;
  border: 0;
  color: var(--faint);
  min-height: 44px;
  padding: 0 8px;
  white-space: nowrap;
}
.rail button[aria-current="step"] { color: var(--ink); box-shadow: inset 0 -1px 0 var(--cyan); }
.preview-col { display: flex; flex-direction: column; align-items: center; }
.preview-frame {
  width: min(100%, 320px);
  aspect-ratio: 4 / 5;
  margin-inline: auto;
  background: #0c1016;
}
.preview-frame[data-framing="head"] { aspect-ratio: 1 / 1; }
#preview-visual { position: absolute; inset: 0; }
#preview-visual svg, #preview-visual img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
}
.nameplate {
  position: static;
  width: min(100%, 320px);
  margin: 12px auto 0;
  padding: 0;
  background: none;
}
.nameplate h2 { margin: 0; font-size: clamp(1.8rem, 3vw, 2.6rem); }
.nameplate p { margin: 0; }
#preview-ticker { font-family: var(--mono); color: var(--cyan); }
.summary { margin: 0 0 12px; }
.summary div {
  display: grid;
  grid-template-columns: 108px minmax(0, 1fr);
  gap: 8px;
  padding: 10px 0;
  border-top: 1px solid var(--line);
}
.summary dt { color: var(--faint); font-size: 13px; }
.summary dd { margin: 0; overflow-wrap: anywhere; }
.step-nav { display: flex; gap: 10px; margin-top: 8px; }
.check { color: var(--muted); padding-left: 18px; }
.check li { margin: 8px 0; }
.econ { margin-top: 8px; }

.stage {
  position: relative;
  min-height: 460px;
  border-radius: 12px;
  overflow: hidden;
}
.stage::after {
  content: "";
  position: absolute;
  z-index: 0;
  left: 8%;
  right: 8%;
  bottom: 12%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(126, 235, 255, 0.55), transparent);
}
.stage__figure {
  position: absolute;
  z-index: 1;
  left: 50%;
  top: 12%;
  bottom: 18%;
  width: min(72%, 420px);
  transform: translateX(-50%);
}
.stage__figure svg, .stage__figure img {
  width: 100%;
  height: 100%;
  display: block;
}
.stage__figure svg { object-fit: contain; object-position: center bottom; }
.stage__figure img {
  object-fit: cover;
  object-position: center 16%;
  border-radius: 10px;
}
.stage__flag, .stage__scene {
  position: absolute;
  z-index: 2;
  margin: 0;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 12px;
}
.stage__flag { top: 14px; left: 14px; color: var(--cyan); }
.stage__scene { top: 14px; right: 14px; color: var(--muted); }
.stage__caption {
  position: absolute;
  z-index: 2;
  left: 14px;
  right: 14px;
  bottom: 14px;
  margin: 0;
}
.scene-street, .stage.scene-street { background: linear-gradient(180deg, #1c2730 0%, #101114 46%, #1a1612 100%); }
.scene-studio, .stage.scene-studio { background: radial-gradient(circle at 50% 18%, #313b4b, #0c0e12 70%); }
.scene-interview, .stage.scene-interview { background: linear-gradient(180deg, #1c1e22, #0e1014 72%); }
.scene-product, .stage.scene-product { background: linear-gradient(180deg, #1a2628, #0c1012); }
.scene-stage, .stage.scene-stage { background: radial-gradient(circle at 50% 100%, rgba(180, 90, 220, 0.28), #140814 60%); }
.scene-travel, .stage.scene-travel { background: linear-gradient(180deg, #243840, #121614 72%); }
.scene-editorial, .stage.scene-editorial { background: linear-gradient(180deg, #26282e, #101114); }
.preview-frame::after, .stage::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(380px circle at var(--mx, 50%) var(--my, 20%), rgba(255, 255, 255, 0.14), transparent 46%);
}
.studio-output, .summary-col, .ca-panel {
  border-top: 1px solid var(--line);
  padding-top: 16px;
}

.gate { padding-bottom: 22px; margin-bottom: 8px; border-bottom: 1px solid var(--line); }
.tabs {
  flex-wrap: nowrap;
  gap: 0;
  overflow-x: auto;
  padding-bottom: 8px;
  margin: 8px 0 12px;
}
.tabs button {
  background: none;
  border: 0;
  color: var(--faint);
  min-height: 44px;
  padding: 0 10px;
  white-space: nowrap;
  flex: 0 0 auto;
}
@media (max-width: 720px) {
  .tabs { gap: 0; }
  .tabs button {
    flex: 1 1 0;
    min-width: 0;
    padding: 0 2px;
    font-size: 14px;
    text-align: center;
  }
}
.tabs button[aria-selected="true"] { color: var(--ink); box-shadow: inset 0 -1px 0 var(--cyan); }
.row.two { display: grid; grid-template-columns: 1fr; gap: 0; }
.switch {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 52px;
  padding: 8px 0;
  border: 0;
  border-top: 1px solid var(--line);
  background: transparent;
  text-align: left;
}
.switch__track {
  width: 42px;
  height: 24px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  padding: 2px;
  flex-shrink: 0;
  display: flex;
}
.switch__thumb {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--faint);
}
.switch[aria-checked="true"] .switch__thumb { background: var(--cyan); margin-left: auto; }
.switch[aria-checked="true"] .switch__track { border-color: rgba(126, 235, 255, 0.6); }
.draft {
  display: grid;
  gap: 10px;
  padding: 16px 0;
  border-top: 1px solid var(--line);
}
.draft h3 { margin: 0; font-size: 1.3rem; }
.draft p { margin: 0; color: var(--muted); }
.draft__actions { display: flex; flex-wrap: wrap; gap: 8px; }
.log { list-style: none; padding: 0; margin: 0; }
.log li {
  display: grid;
  gap: 2px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 13px;
}
.log time { color: var(--faint); }

.profile-top, .profile-split, .mega-mark { display: grid; gap: 22px; }
.profile-photo { aspect-ratio: 3 / 4; }
.profile-kicker { color: var(--cyan); letter-spacing: 0.14em; text-transform: uppercase; font-size: 12px; }
.feed { display: grid; gap: 12px; }
.frame {
  aspect-ratio: 3 / 4;
  min-height: 0;
  border-radius: 12px;
  position: relative;
  overflow: hidden;
}
.frame p {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  margin: 0;
}
.frame__figure { position: absolute; inset: 0; }
.frame__figure svg, .frame__figure img { width: 100%; height: 100%; object-fit: cover; object-position: center 18%; }
.frame::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 42%;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.78));
  pointer-events: none;
}
.frame p { z-index: 1; }
.chart-empty svg, .chart-panel iframe { width: 100%; display: block; }
.chart-panel { min-height: 220px; padding-top: 22px; }
.chart-panel iframe { height: min(70vh, 640px); border: 0; background: #0c0e14; }
.chart-empty p { color: var(--muted); }
.ca-panel { margin-top: 28px; }
.ca-line { font-size: 1.4rem; overflow-wrap: anywhere; }
.mega-mark img { width: 84px; height: 84px; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 12px 0; }

.doc { width: min(760px, calc(100% - 32px)); }
.doc h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
.doc h2 { margin-top: 2rem; font-size: 1.45rem; }
.doc p, .doc li { color: var(--muted); }
.doc strong, .doc b { color: var(--ink); font-weight: 600; }
.doc a { text-decoration: underline; text-underline-offset: 3px; color: #d7f6ff; }
.doc ul { padding-left: 18px; }

.site-footer { padding: 48px 0 28px; margin-top: 20px; border-top: 1px solid var(--line); }
.foot { display: grid; gap: 22px; }
.foot a, .foot .text-link { display: flex; align-items: center; min-height: 44px; color: var(--muted); }
.foot a:hover, .foot .text-link:hover { color: var(--ink); }
.foot-brand strong { display: block; font-family: var(--display); font-size: 1.4rem; margin: 8px 0; }
.foot-brand img { width: 40px; height: 40px; }
.foot-end { padding-top: 18px; color: var(--faint); font-size: 14px; }
.foot-end p { max-width: 46rem; }

.modal[hidden] { display: none !important; }
.modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: end center;
  padding: 16px;
}
.modal__backdrop { position: absolute; inset: 0; background: rgba(0, 0, 0, 0.66); }
.modal__panel {
  position: relative;
  width: min(520px, 100%);
  max-height: min(86vh, 720px);
  overflow: auto;
  background: #0d0f14;
  border: 1px solid var(--line-strong);
  border-radius: 18px 18px 0 0;
  padding: 22px 18px 28px;
  animation: rise 0.35s var(--ease);
}
@keyframes rise {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: none; }
}
.provider {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  min-height: 60px;
  padding: 8px 0;
  background: transparent;
  border: 0;
  border-top: 1px solid var(--line);
  text-align: left;
}
.provider:disabled { opacity: 0.55; }
.provider__id { display: flex; align-items: center; gap: 12px; min-width: 0; }
.provider__icon {
  width: 32px;
  height: 32px;
  flex: none;
  display: block;
}
.provider__icon svg,
.provider__icon img {
  width: 32px;
  height: 32px;
  max-width: none;
  border-radius: 8px;
  display: block;
  object-fit: cover;
}
.provider-list { margin: 12px 0; }
.toast {
  position: fixed;
  z-index: 90;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%) translateY(8px);
  opacity: 0;
  pointer-events: none;
  background: #eef3f8;
  color: #0a0c10;
  border-radius: 999px;
  padding: 12px 16px;
  max-width: calc(100% - 32px);
}
.toast.is-on { opacity: 1; transform: translateX(-50%); }
body.is-locked { overflow: hidden; }
.noscript {
  position: relative;
  z-index: 2;
  margin: 0;
  padding: 12px 16px;
  background: #141820;
}
.reveal { opacity: 0; transform: translateY(14px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); transition-delay: var(--d, 0ms); }
.reveal.is-in { opacity: 1; transform: none; }
html.boot .view { animation: none; }
.view.is-active { animation: view-in 0.45s var(--ease); }
@keyframes view-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}

@media (min-width: 700px) {
  .lookbook { grid-template-columns: 1fr 1fr; }
  .feed { grid-template-columns: 1fr 1fr 1fr; }
  .row.two { grid-template-columns: 1fr 1fr; gap: 12px; }
  .modal { place-items: center; }
  .modal__panel { border-radius: 18px; }
  .foot { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 760px) {
  .brand span, .full { display: inline; }
  .short { display: none; }
  .hero-grid { grid-template-columns: minmax(0, 1.2fr) minmax(200px, 0.72fr); gap: 20px; align-items: center; }
  .hero-copy h1 { font-size: clamp(2.3rem, 4.4vw, 4.6rem); }
}
@media (min-width: 900px) {
  .lookbook { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .profile-top { grid-template-columns: minmax(240px, 380px) minmax(0, 1fr); align-items: start; }
  .mega-mark { grid-template-columns: 84px minmax(0, 1fr); align-items: start; }
  .step-grid { grid-template-columns: 1fr 1fr; }
  .step:nth-child(odd) { padding-right: 28px; }
  .step:nth-child(even) { padding-left: 28px; }
  .scene-row {
    grid-auto-flow: unset;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    overflow: visible;
  }
}
@media (min-width: 980px) {
  :root { --header: 72px; }
  .nav-toggle { display: none; }
  .site-nav, .site-nav.is-open {
    display: flex;
    position: static;
    flex-direction: row;
    inset: auto;
    background: transparent;
    padding: 0;
    overflow: visible;
    margin-left: auto;
  }
  .site-nav a {
    min-height: 44px;
    padding: 0 10px;
    font-size: 12px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    border: 0;
  }
  .site-nav a.is-active { box-shadow: inset 0 -1px 0 var(--cyan); }
  .header-actions { margin-left: 0; }
  .hero-grid { grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.8fr); gap: 28px; }
  .hero-copy h1 { font-size: clamp(2.8rem, 4.6vw, 5.2rem); }
  .toolbar { grid-template-columns: minmax(200px, 280px) minmax(0, 1fr); align-items: start; }
  .foot { grid-template-columns: 1.4fr repeat(4, minmax(0, 1fr)); }
}
@media (min-width: 1100px) {
  .lookbook { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .launch-shell {
    display: grid;
    grid-template-columns: minmax(250px, 330px) minmax(260px, 1fr) minmax(220px, 280px);
    grid-template-areas:
      "rail rail rail"
      "form preview summary";
    gap: 28px 28px;
    align-items: start;
  }
  .rail { grid-area: rail; }
  .launch-form { grid-area: form; order: 0; }
  .preview-col, .summary-col { position: sticky; top: calc(var(--header) + 16px); }
  .preview-col { grid-area: preview; }
  .summary-col { grid-area: summary; }
  .studio-shell {
    display: grid;
    grid-template-columns: minmax(240px, 300px) minmax(0, 1fr) minmax(220px, 280px);
    grid-template-areas: "controls stage output";
    gap: 22px;
    align-items: start;
  }
  .studio-controls { grid-area: controls; order: 0; }
  .stage { grid-area: stage; min-height: 640px; position: sticky; top: calc(var(--header) + 16px); }
  .studio-output { grid-area: output; position: sticky; top: calc(var(--header) + 16px); }
  .draft { grid-template-columns: minmax(0, 1fr) auto; align-items: center; }
}
@media (max-width: 420px) {
  .summary div { grid-template-columns: 1fr; gap: 2px; }
}
@media (pointer: coarse) {
  .pointer-glow { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .pointer-glow { display: none; }
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
  .reveal { opacity: 1; transform: none; }
  .talent:hover .talent__photo svg,
  .talent:hover .talent__photo img { transform: none; }
}
.reduce .pointer-glow { display: none; }
.reduce *, .reduce *::before, .reduce *::after {
  animation: none !important;
  transition: none !important;
}
