:root {
  color-scheme: dark;
  --ink: #0c0e24;
  --panel: #161936;
  --line: #35395e;
  --paper: #f7f6ff;
  --muted: #c0c2de;
  --accent: #e3ff57;
  --blue: #363bcb;
  font: 16px/1.55 Arial, Helvetica, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--paper); background: var(--ink); }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, video:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 4px;
}
[hidden] { display: none !important; }
.shell { width: min(1320px, 92%); margin-inline: auto; }
.head, .nav, .wordmark, .actions, .topline, .filmhead, .filmfoot, .footer {
  display: flex;
  align-items: center;
}
.head, .topline, .filmhead, .footer { justify-content: space-between; }
.head { padding: 19px 0; gap: 22px; border-bottom: 1px solid var(--line); }
.wordmark { gap: 10px; white-space: nowrap; }
.wordmark strong { display: block; font-size: 17px; font-weight: 900; letter-spacing: -.055em; }
.wordmark small { display: block; color: var(--muted); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; }
.mark { display: grid; grid-template-columns: repeat(5, 2px); gap: 3px; align-items: center; color: var(--accent); }
.mark i { height: 14px; background: currentColor; }
.mark i:nth-child(2), .mark i:nth-child(4) { height: 22px; }
.mark i:nth-child(3) { height: 28px; }
.nav { gap: clamp(12px, 3vw, 36px); font-size: 14px; font-weight: 700; }
.nav a:hover, .source:hover { text-decoration: underline; text-underline-offset: 4px; }
.micro, .filmhead, .filmfoot {
  margin: 0;
  font: 700 11px/1.5 ui-monospace, monospace;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.topline { padding: 12px 0; color: var(--muted); gap: 16px; }
.topline span:last-child { color: var(--accent); }
.hero {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: clamp(26px, 4vw, 68px);
  align-items: center;
  padding: clamp(24px, 5vw, 72px);
  background: var(--blue);
  border-radius: 18px;
}
h1, h2, h3 { margin: 0; line-height: .97; letter-spacing: -.067em; }
h1 { font-size: clamp(65px, 9vw, 140px); font-weight: 900; text-transform: uppercase; }
h1 em, h2 em { font-style: normal; }
h1 em, h1 span, h2 em { color: var(--accent); }
h2 { font-size: clamp(43px, 6.1vw, 90px); font-weight: 900; }
h3 { font-size: 24px; line-height: 1.05; letter-spacing: -.045em; }
.lead { max-width: 37ch; margin: 24px 0; font-size: clamp(15px, 1.55vw, 20px); }
.actions { flex-wrap: wrap; gap: 10px; }
.action, .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 15px;
  border: 1px solid var(--accent);
  border-radius: 6px;
  background: var(--accent);
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}
.action:hover, .btn:hover { background: #f2ffad; color: var(--ink); }
.action.outline { background: transparent; color: var(--paper); border-color: #d9dbff; }
.action.outline:hover { background: var(--paper); color: var(--ink); }
.filmframe { min-width: 0; padding: 10px; background: var(--ink); border-radius: 12px; }
.filmhead, .filmfoot { padding: 6px 4px; gap: 10px; color: var(--muted); }
.filmhead { padding-top: 1px; padding-bottom: 9px; }
.filmfoot { padding-bottom: 0; }
.playdot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
video { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: contain; background: #000; border-radius: 5px; }
section[id], #film { scroll-margin-top: 16px; }
.intro, .book { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(20px, 6vw, 100px); }
.intro, .ensemble, .book { padding-block: clamp(50px, 8vw, 112px); }
.intro { align-items: start; border-bottom: 1px solid var(--line); }
.label { color: var(--accent); }
.label::before { content: '///'; margin-right: 10px; }
.copy, .desc { max-width: 60ch; margin: 24px 0 0; color: var(--muted); font-size: 18px; }
.sectionhead { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 34px; }
.sectionhead h2, .experience h2, .book h2 { margin-top: 15px; }
.sectionhead > p { max-width: 29ch; margin: 0; color: var(--muted); }
.artists { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }
.artist { background: var(--panel); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.portrait {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 1 / 1;
  border-bottom: 1px solid var(--line);
  background: repeating-linear-gradient(135deg, #282e83 0 2px, #1e225f 2px 12px);
}
.artist:nth-child(even) .portrait { background: repeating-linear-gradient(45deg, #282e83 0 2px, #1e225f 2px 12px); }
.portrait img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.08); }
.initial { font-size: clamp(40px, 6vw, 90px); font-weight: 900; color: var(--accent); letter-spacing: -.08em; }
.artistbody { padding: 15px; }
.artistbody .micro { margin-bottom: 8px; color: var(--accent); }
.bio, .note, .photo-note { color: var(--muted); font-size: 14px; }
.photo-note { font-size: 12px; }
.source { color: var(--accent); font-size: 13px; text-decoration: underline; text-underline-offset: 3px; }
.experience { background: var(--panel); border-block: 1px solid var(--line); padding-block: clamp(45px, 7vw, 90px); }
.experience .shell { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 6vw, 100px); align-items: start; }
.occasion { padding: 20px 0; border-top: 1px solid var(--line); }
.occasion p { margin: 7px 0 0; color: var(--muted); }
.form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 15px; padding: clamp(16px, 3vw, 35px); border: 1px solid var(--line); border-radius: 12px; background: var(--panel); }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field label { font-size: 13px; font-weight: 700; }
.full { grid-column: 1 / -1; }
input, select, textarea { width: 100%; min-height: 44px; padding: 9px 11px; border: 1px solid #676b91; border-radius: 5px; background: var(--ink); color: var(--paper); }
textarea { min-height: 100px; resize: vertical; }
.note { margin: 0; }
.result { padding: 15px; background: var(--ink); border: 1px solid var(--line); border-radius: 6px; }
.result pre { white-space: pre-wrap; overflow-wrap: anywhere; font: inherit; }
.result .note { margin-top: 8px; }
.footer { gap: 15px; padding-block: 24px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }
@media (max-width: 1000px) {
  .artists { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .head { flex-wrap: wrap; gap: 13px; }
  .nav { width: 100%; justify-content: space-between; font-size: 13px; gap: 8px; }
  .nav .action { padding-inline: 9px; }
  .topline span:first-child { display: none; }
  .hero, .intro, .experience .shell, .book { grid-template-columns: 1fr; }
  .hero { padding: 22px; }
  h1 { font-size: clamp(58px, 15vw, 102px); }
  .sectionhead { display: block; }
  .sectionhead > p { margin-top: 15px; }
  .artists { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .artistbody { padding: 11px; }
  .form { grid-template-columns: 1fr; }
  .footer { align-items: start; flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
.maker-credit a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.maker-credit a:hover { color: var(--paper); }
