/* ChompDuo's site: one stylesheet for every page. Cartoon's purple on the deep night it lives in,
   chunky rounded type, and a row of teeth where sections meet. */

:root {
  color-scheme: dark;
  --deep: #1a0a3d;
  --deeper: #12062b;
  --purple: #8f5cf7;
  --lilac: #c9b2ff;
  --gum: #ff6f91;
  --tooth: #fff6e6;
  --ink: #ffffff;
  --ink-2: rgba(255, 255, 255, 0.72);
  --ink-3: rgba(255, 255, 255, 0.5);
  --line: rgba(201, 178, 255, 0.16);
  --radius: 28px;
  --rounded: ui-rounded, "SF Pro Rounded", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--deep);
  color: var(--ink);
  font: 600 17px/1.6 var(--rounded);
  overflow-x: hidden;
}

h1, h2, h3 { margin: 0; line-height: 1.05; letter-spacing: -0.02em; font-weight: 900; }

a { color: var(--lilac); }

img { max-width: 100%; display: block; }

picture { display: block; }

.wrap { width: 100%; max-width: 1100px; margin: 0 auto; padding: 0 16px; }

@media (min-width: 700px) { .wrap { padding: 0 32px; } }

/* A row of teeth: the signature divider. */
.teeth {
  height: 26px;
  background: var(--tooth);
  -webkit-mask: conic-gradient(from 135deg at 50% 100%, #000 90deg, transparent 0) 0 0 / 40px 100%;
  mask: conic-gradient(from 135deg at 50% 100%, #000 90deg, transparent 0) 0 0 / 40px 100%;
}

.teeth.up { transform: scaleY(-1); }

.gum { background: var(--gum); height: 10px; }

/* ---------- Header ---------- */

header.site { background: var(--deeper); }

header.site .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 64px; }

.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-size: 20px; font-weight: 900; letter-spacing: -0.02em; }

.brand img { width: 32px; height: 32px; border-radius: 9px; }

header.site nav { display: flex; gap: 22px; font-size: 15px; font-weight: 750; }

header.site nav a { color: var(--ink-2); text-decoration: none; }

header.site nav a:hover { color: var(--ink); }

/* ---------- Home ---------- */

.hero { padding: clamp(40px, 8vw, 88px) 0 clamp(48px, 8vw, 80px); text-align: center; background: radial-gradient(60% 55% at 50% 60%, rgba(143, 92, 247, 0.38), transparent 70%); }

.hero h1 { font-size: clamp(52px, 11vw, 116px); letter-spacing: -0.04em; }

.hero h1 span { color: var(--purple); }

.hero .tagline { font-size: clamp(22px, 3.4vw, 34px); font-weight: 900; margin: 12px 0 0; }

.hero .sub { color: var(--ink-2); max-width: 600px; margin: 14px auto 0; font-size: clamp(17px, 2vw, 19px); }

.hero-art { max-width: 640px; margin: 28px auto 0; }

.hero-art img { width: 100%; height: auto; filter: drop-shadow(0 30px 50px rgba(0, 0, 0, 0.5)); }

.soon {
  display: inline-block;
  margin-top: 26px;
  padding: 14px 26px;
  border-radius: 999px;
  background: var(--purple);
  font-weight: 900;
  box-shadow: 0 10px 0 #5d34b8;
}

.mouth-band { background: #3a1030; }

section.band { padding: clamp(64px, 10vw, 120px) 0; }

section.band h2 { font-size: clamp(36px, 6vw, 60px); }

.center { text-align: center; }

.split { display: grid; gap: 48px; align-items: center; }

@media (min-width: 860px) { .split { grid-template-columns: 1fr 1.1fr; gap: 64px; } }

.copy p { color: var(--ink-2); font-size: clamp(17px, 2vw, 20px); margin: 18px 0 0; max-width: 480px; }

/* Eyes outside, a mouth inside: the closed Duo over the open one's shoulder. */
.duo { background: linear-gradient(var(--deep), #2c1270); }

.pair-art { position: relative; aspect-ratio: 1 / 1.05; max-width: 560px; width: 100%; margin: 0 auto; }

.pair-art picture { position: absolute; }

.pair-art img { width: 100%; height: auto; filter: drop-shadow(0 24px 40px rgba(0, 0, 0, 0.5)); }

.pair-art .closed { left: 0; top: 2%; width: 66%; z-index: 1; }

.pair-art .open { right: 0; bottom: 0; width: 50%; }

/* The fold. */
.fold { background: linear-gradient(#12062b, #0c1a08 55%, #160a03); }

.fold-row { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px, 5vw, 64px); max-width: 760px; margin: 48px auto 0; }

.fold-row figure { margin: 0; text-align: center; }

.fold-row img { width: 100%; height: auto; filter: drop-shadow(0 24px 40px rgba(0, 0, 0, 0.5)); }

.fold-row figcaption { color: var(--ink-2); margin-top: 18px; font-size: clamp(15px, 1.8vw, 18px); line-height: 1.45; }

.fold-row figcaption b { display: block; color: var(--ink); font-size: clamp(19px, 2.4vw, 24px); font-weight: 900; margin-bottom: 4px; }

/* Pick your monster: just the eyes. */
.pick { background: linear-gradient(#1a0a3d, #3b1d8f); }

.lede { text-align: center; color: var(--ink-2); max-width: 600px; margin: 16px auto 0; font-size: clamp(17px, 2vw, 20px); }

.lede.small { font-size: 17px; margin-top: 44px; }

.monster-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(20px, 4vw, 44px) clamp(14px, 3vw, 36px); max-width: 720px; margin: 48px auto 0; }

.monster { text-align: center; }

.monster img { width: 100%; height: auto; filter: drop-shadow(0 16px 28px rgba(0, 0, 0, 0.45)); }

.monster h3 { font-size: clamp(19px, 2.4vw, 24px); margin-top: 14px; display: inline-flex; align-items: center; gap: 8px; }

.monster p { color: var(--ink-2); font-size: clamp(14px, 1.7vw, 17px); margin: 4px 0 0; line-height: 1.4; }

.tag { font-size: 11px; font-weight: 900; letter-spacing: 0.12em; text-transform: uppercase; color: var(--deep); background: var(--lilac); border-radius: 999px; padding: 3px 9px; }

/* Their insides. */
.insides { background: var(--deeper); }

.inside-row { display: grid; gap: 20px; }

@media (min-width: 860px) { .inside-row { grid-template-columns: 1fr 1fr; } }

.inside { display: grid; grid-template-columns: 0.8fr 1fr; gap: 24px; align-items: center; border-radius: var(--radius); padding: 28px; overflow: hidden; }

.inside.treasure { background: radial-gradient(90% 80% at 30% 60%, #5a3416, #160a03); }

.inside.adorable { background: radial-gradient(90% 80% at 30% 60%, #2a8a82, #06302f); }

.inside img { width: 100%; height: auto; filter: drop-shadow(0 18px 30px rgba(0, 0, 0, 0.5)); }

.inside h3 { font-size: clamp(22px, 2.6vw, 28px); }

.inside p { color: var(--ink-2); margin: 10px 0 0; }

/* Closing. */
.closing { text-align: center; padding: clamp(72px, 10vw, 112px) 0; background: radial-gradient(50% 60% at 50% 40%, rgba(143, 92, 247, 0.3), transparent 70%); }

.closing .icon { width: 112px; height: 112px; border-radius: 26px; margin: 0 auto 22px; }

.closing h2 { font-size: clamp(44px, 8vw, 80px); letter-spacing: -0.04em; }

.closing h2 span { color: var(--purple); }

.closing p { color: var(--ink-2); font-size: 19px; margin: 12px 0 0; }

.closing p.small { font-size: 16px; color: var(--ink-3); }

/* ---------- Text pages ---------- */

.prose { max-width: 720px; margin: 0 auto; padding: 56px 16px 88px; }

.prose h1 { font-size: clamp(40px, 6vw, 56px); margin: 0 0 10px; }

.prose h2 { font-size: 22px; margin: 38px 0 10px; }

.prose p { color: var(--ink-2); margin: 0 0 14px; }

.prose strong { color: var(--ink); }

.prose .updated { color: var(--ink-3); font-size: 15px; margin-bottom: 26px; }

.prose .lead { font-size: 20px; color: var(--ink); }

.note { background: rgba(143, 92, 247, 0.16); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px; margin: 22px 0; }

.note p:last-child { margin-bottom: 0; }

/* ---------- Footer ---------- */

footer.site { background: var(--deeper); color: var(--ink-3); font-size: 14px; }

footer.site .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; padding-top: 28px; padding-bottom: 40px; }

footer.site nav { display: flex; flex-wrap: wrap; gap: 10px 22px; }

footer.site a { color: var(--ink-3); text-decoration: none; }

footer.site a:hover { color: var(--ink); }
