:root {
  --ink: #123331;
  --ink-soft: #214b47;
  --paper: #fff8e7;
  --paper-deep: #efe3c9;
  --panel: #fffdf6;
  --line: #d9cdb7;
  --ember: #ff6b35;
  --ember-soft: #ffd6bd;
  --lagoon: #35c7bd;
  --lagoon-soft: #c9f1ed;
  --tide: #2b9fc7;
  --tide-soft: #cceaf3;
  --sun: #f7d64a;
  --shadow: #4a3f72;
  color-scheme: light;
  font-family: "Trebuchet MS", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { min-width: 320px; background: var(--paper); }
body { min-height: 100vh; margin: 0; color: var(--ink); background: var(--paper); }
a { color: inherit; }
button { color: inherit; font: inherit; }
canvas { display: block; }

.site-nav {
  width: min(1420px, calc(100% - 48px));
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0 auto;
  border-bottom: 1px solid rgb(18 51 49 / 24%);
}

.site-nav p {
  margin: 0;
  color: rgb(18 51 49 / 64%);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.site-nav p span { color: rgb(18 51 49 / 38%); }

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 19px;
  font-weight: 900;
  letter-spacing: .04em;
  text-decoration: none;
}

.wordmark-mark {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 50% 50% 45% 55%;
  background: var(--ink);
  color: var(--paper);
  font-size: 15px;
  transform: rotate(-6deg);
}

.landing-page {
  background:
    radial-gradient(circle at 78% 0%, rgb(53 199 189 / 19%), transparent 30rem),
    radial-gradient(circle at 4% 28%, rgb(255 107 53 / 13%), transparent 28rem),
    var(--paper);
}

.landing-page main {
  width: min(1420px, calc(100% - 48px));
  margin: 0 auto;
  padding: 54px 0 30px;
}

.landing-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, .65fr);
  gap: clamp(34px, 8vw, 120px);
  align-items: end;
  margin-bottom: 42px;
}

.eyebrow {
  margin: 0 0 14px;
  color: rgb(18 51 49 / 62%);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.landing-hero h1,
.showcase-title,
.cast-copy strong,
.player-copy h2 {
  font-family: Georgia, "Times New Roman", serif;
}

.landing-hero h1 {
  margin: 0;
  font-size: clamp(58px, 10vw, 144px);
  font-weight: 500;
  letter-spacing: -.055em;
  line-height: .78;
}

.landing-hero h1 em {
  color: transparent;
  font-weight: 500;
  -webkit-text-stroke: 2px var(--ink);
}

.hero-note > p {
  margin: 0 0 28px;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.55;
}

.atlas-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 0;
  border-top: 1px solid rgb(18 51 49 / 24%);
}

.atlas-stats div { padding: 16px 8px 0 0; }
.atlas-stats dt { font-family: Georgia, serif; font-size: 30px; font-weight: 900; }
.atlas-stats dd { margin: 3px 0 0; color: rgb(18 51 49 / 58%); font-size: 10px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }

.casting-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 1px solid rgb(18 51 49 / 22%);
  background: rgb(255 253 246 / 76%);
}

.cast-card {
  position: relative;
  min-width: 0;
  display: grid;
  grid-template-rows: auto minmax(300px, 47vh) auto auto;
  overflow: hidden;
  padding: 18px;
  color: var(--ink);
  text-decoration: none;
  transition: background 180ms ease;
}

.cast-card + .cast-card { border-left: 1px solid rgb(18 51 49 / 22%); }
.cast-card:hover, .cast-card:focus-visible { outline: none; }
.cast-card--fire:hover, .cast-card--fire:focus-visible { background: var(--ember-soft); }
.cast-card--water:hover, .cast-card--water:focus-visible { background: var(--lagoon-soft); }
.cast-card--tide:hover, .cast-card--tide:focus-visible { background: var(--tide-soft); }

.card-index {
  position: relative;
  z-index: 2;
  font-family: Monaco, "SFMono-Regular", monospace;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .08em;
}

.cast-stage {
  position: relative;
  display: grid;
  place-items: center;
}

.cast-stage::after {
  content: "";
  position: absolute;
  width: 56%;
  aspect-ratio: 1;
  border: 1px solid rgb(18 51 49 / 18%);
  border-radius: 50%;
}

.cast-stage canvas { position: relative; z-index: 2; width: 100%; height: 100%; }

.element-orbit {
  position: absolute;
  width: 72%;
  aspect-ratio: 1;
  border: 1px dashed rgb(18 51 49 / 18%);
  border-radius: 50%;
  animation: orbit 24s linear infinite;
}

.element-orbit::before {
  content: "";
  position: absolute;
  top: 11%;
  left: 8%;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--sun);
}

.cast-card--fire .element-orbit::before { background: var(--ember); }
.cast-card--water .element-orbit::before { background: var(--lagoon); }
.cast-card--tide .element-orbit::before { background: var(--tide); }

@keyframes orbit { to { transform: rotate(360deg); } }

.cast-copy {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  padding-top: 10px;
  border-top: 1px solid rgb(18 51 49 / 22%);
}

.cast-copy strong { display: block; font-size: clamp(29px, 3.2vw, 48px); line-height: .96; }
.cast-copy small { display: block; margin-top: 6px; color: rgb(18 51 49 / 58%); font-size: 11px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.cast-arrow { font-size: 28px; transition: transform 180ms ease; }
.cast-card:hover .cast-arrow { transform: translate(4px, -4px); }
.cast-meta { margin-top: 16px; color: rgb(18 51 49 / 58%); font-size: 11px; font-weight: 700; }

.landing-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 0;
  font-size: 12px;
  font-weight: 800;
}
.landing-footer p { max-width: 680px; margin: 0; color: rgb(18 51 49 / 58%); }
.landing-footer a { text-decoration-thickness: 1px; text-underline-offset: 4px; }

.showcase-page {
  --accent: var(--lagoon);
  --accent-soft: var(--lagoon-soft);
  background:
    radial-gradient(circle at 80% 10%, color-mix(in srgb, var(--accent) 18%, transparent), transparent 30rem),
    var(--paper);
}
.showcase-page[data-armon="belkin"] { --accent: var(--ember); --accent-soft: var(--ember-soft); }
.showcase-page[data-armon="supremakoAdult"] { --accent: var(--tide); --accent-soft: var(--tide-soft); }

.showcase-main {
  width: min(1420px, calc(100% - 48px));
  margin: 0 auto;
  padding: 34px 0 48px;
}

.showcase-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 430px);
  gap: 40px;
  align-items: end;
  margin-bottom: 24px;
}

.showcase-title {
  margin: 0;
  font-size: clamp(54px, 9vw, 122px);
  font-weight: 500;
  letter-spacing: -.055em;
  line-height: .83;
}

.showcase-deck {
  margin: 12px 0 0;
  max-width: 720px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.5;
}

.status-card {
  padding: 18px;
  border: 1px solid rgb(18 51 49 / 22%);
  background: rgb(255 253 246 / 78%);
}

.status-card strong {
  display: block;
  margin-bottom: 7px;
  font-size: 10px;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.status-card p { margin: 0; color: rgb(18 51 49 / 66%); font-size: 12px; font-weight: 700; line-height: 1.5; }

.motion-workbench {
  display: grid;
  grid-template-columns: minmax(210px, 270px) minmax(0, 1fr);
  min-height: 680px;
  border: 1px solid rgb(18 51 49 / 24%);
  background: rgb(255 253 246 / 78%);
}

.motion-sidebar {
  display: flex;
  flex-direction: column;
  padding: 18px;
  border-right: 1px solid rgb(18 51 49 / 24%);
}

.motion-sidebar h2 {
  margin: 0 0 16px;
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.motion-list { display: grid; gap: 8px; }
.motion-button {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  min-height: 54px;
  border: 1px solid rgb(18 51 49 / 18%);
  background: transparent;
  padding: 8px;
  text-align: left;
  cursor: pointer;
}
.motion-button span:first-child { font-family: Monaco, monospace; font-size: 9px; opacity: .52; }
.motion-button strong { font-size: 12px; }
.motion-button[aria-pressed="true"] { border-color: var(--ink); background: var(--accent-soft); }

.sidebar-link {
  margin-top: auto;
  padding-top: 22px;
  font-size: 11px;
  font-weight: 900;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.motion-player { min-width: 0; display: grid; grid-template-rows: auto minmax(400px, 1fr) auto; }

.player-copy {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 22px;
  border-bottom: 1px solid rgb(18 51 49 / 18%);
}
.player-copy h2 { margin: 0; font-size: clamp(30px, 4vw, 54px); }
.player-copy p { max-width: 490px; margin: 6px 0 0; color: rgb(18 51 49 / 62%); font-size: 12px; font-weight: 700; line-height: 1.45; }
.player-tags { display: flex; gap: 6px; flex-wrap: wrap; justify-content: end; }
.player-tags span { border: 1px solid rgb(18 51 49 / 20%); padding: 6px 8px; font-family: Monaco, monospace; font-size: 9px; white-space: nowrap; }

.hero-stage {
  position: relative;
  min-height: 440px;
  display: grid;
  place-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 65%, color-mix(in srgb, var(--accent) 24%, transparent), transparent 28%),
    linear-gradient(180deg, rgb(255 253 246 / 78%), rgb(255 255 255 / 90%));
}
.hero-stage::before {
  content: "";
  position: absolute;
  width: min(48vw, 550px);
  aspect-ratio: 1;
  border: 1px solid color-mix(in srgb, var(--accent) 52%, transparent);
  border-radius: 50%;
}
.hero-stage::after {
  content: "";
  position: absolute;
  bottom: 12%;
  width: min(42vw, 470px);
  height: 1px;
  background: rgb(18 51 49 / 24%);
}
.hero-stage canvas { position: relative; z-index: 2; width: min(720px, 86%); height: min(570px, 92%); }

.play-toggle {
  position: absolute;
  z-index: 3;
  right: 18px;
  bottom: 18px;
  min-width: 92px;
  min-height: 42px;
  border: 1px solid var(--ink);
  background: var(--paper);
  font-size: 11px;
  font-weight: 900;
  cursor: pointer;
}

.strip-panel {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  padding: 16px 22px 20px;
  border-top: 1px solid rgb(18 51 49 / 18%);
}
.strip-panel p { margin: 0; font-family: Monaco, monospace; font-size: 9px; line-height: 1.5; text-transform: uppercase; }
.strip-viewport { min-width: 0; overflow-x: auto; border: 1px solid rgb(18 51 49 / 14%); background: #fff; }
.strip-viewport img { display: block; width: 100%; min-width: 620px; max-height: 118px; object-fit: contain; }

.showcase-next {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 10px;
}
.showcase-next a {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 18px;
  border: 1px solid rgb(18 51 49 / 22%);
  background: rgb(255 253 246 / 72%);
  font-weight: 900;
  text-decoration: none;
}

@media (prefers-reduced-motion: reduce) {
  .element-orbit { animation: none; }
}

@media (max-width: 900px) {
  .landing-hero, .showcase-head { grid-template-columns: 1fr; }
  .casting-grid { grid-template-columns: 1fr; }
  .cast-card { grid-template-rows: auto 360px auto auto; }
  .cast-card + .cast-card { border-left: 0; border-top: 1px solid rgb(18 51 49 / 22%); }
  .motion-workbench { grid-template-columns: 1fr; }
  .motion-sidebar { border-right: 0; border-bottom: 1px solid rgb(18 51 49 / 24%); }
  .motion-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .sidebar-link { margin-top: 18px; }
}

@media (max-width: 620px) {
  .site-nav, .landing-page main, .showcase-main { width: min(100% - 24px, 1420px); }
  .site-nav { min-height: 62px; }
  .site-nav p span { display: none; }
  .landing-page main { padding-top: 34px; }
  .landing-hero { margin-bottom: 28px; }
  .landing-hero h1 { font-size: clamp(54px, 20vw, 82px); }
  .hero-note > p { font-size: 14px; }
  .cast-card { min-height: 520px; grid-template-rows: auto 330px auto auto; }
  .landing-footer { display: grid; }
  .showcase-main { padding-top: 28px; }
  .showcase-title { font-size: clamp(48px, 17vw, 76px); }
  .motion-list { grid-template-columns: 1fr 1fr; }
  .player-copy { display: grid; }
  .player-tags { justify-content: start; }
  .motion-player { grid-template-rows: auto 390px auto; }
  .hero-stage { min-height: 390px; }
  .hero-stage canvas { width: 96%; height: 94%; }
  .strip-panel { grid-template-columns: 1fr; }
  .showcase-next { grid-template-columns: 1fr; }
}
