/* Wibble Wobble: brand tokens and site styles (v2) */

@font-face {
  font-family: "Titan One";
  src: url("../fonts/titan-one-latin.woff2") format("woff2");
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Titan One";
  src: url("../fonts/titan-one-latin-ext.woff2") format("woff2");
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Outfit";
  src: url("../fonts/outfit-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Outfit";
  src: url("../fonts/outfit-latin-ext.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --ink: #33061f;
  --night: #2a1038;
  --night-2: #45195a;
  --coral: #f4574b;
  --coral-deep: #e23d33;
  --teal: #1fbcae;
  --grape: #9a5faa;
  --custard: #fdd033;
  --tangerine: #f6a00f;
  --lilac: #d9a9f1;
  --cream: #fff1dc;
  --paper: #fff6e6;
  --grass: #7fd36b;

  --display: "Titan One", "Arial Rounded MT Bold", "Trebuchet MS", system-ui, sans-serif;
  --body: "Outfit", "Avenir Next", "Segoe UI", system-ui, sans-serif;

  --t-small: 0.95rem;
  --t-body: 1.15rem;
  --t-lead: 1.4rem;
  --t-h3: 1.7rem;
  --t-h2: clamp(2.4rem, 5.2vw, 4rem);

  --line: 4px;
  --drop: 0 8px 0 var(--ink);
  --drop-small: 0 5px 0 var(--ink);
  --wrap: 76rem;

  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .45 0 0 0 0 .25 0 0 0 0 .1 0 0 0 .09 0'/%3E%3C/filter%3E%3Crect width='220' height='220' filter='url(%23n)'/%3E%3C/svg%3E");
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--body); font-size: var(--t-body); font-weight: 400; line-height: 1.55;
  color: var(--ink); background: var(--paper) var(--grain);
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; line-height: 1.05; margin: 0; }
h2 { font-size: var(--t-h2); color: var(--coral-deep); letter-spacing: 0.005em; }
h3 { font-size: var(--t-h3); }
p { margin: 0; }
.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
.lead { font-size: var(--t-lead); line-height: 1.45; max-width: 38ch; }
.center { text-align: center; }
.center .lead { margin-inline: auto; }
:focus-visible { outline: 4px solid var(--custard); outline-offset: 4px; border-radius: 12px; }

.btn {
  display: inline-block; font-weight: 700; font-size: 1.1rem; text-decoration: none; cursor: pointer;
  background: #fff; color: var(--ink); border: 3px solid var(--ink); border-radius: 999px;
  padding: 0.7rem 1.6rem; box-shadow: var(--drop-small); font-family: var(--body);
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}
.btn:hover { transform: translateY(2px); box-shadow: 0 3px 0 var(--ink); }
.btn:active { transform: translateY(5px); box-shadow: 0 0 0 var(--ink); }
.btn.gold { background: var(--custard); }
.btn.big { font-size: 1.3rem; padding: 0.9rem 2rem; }

/* ---------- Top bar ---------- */
.topbar {
  position: absolute; inset: 0 0 auto 0; z-index: 6;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.2rem clamp(1.25rem, 4vw, 3rem); color: #fff;
}
.mini-mark { font-family: var(--display); font-size: 1.6rem; text-decoration: none; color: #fff; -webkit-text-stroke: 5px var(--ink); paint-order: stroke fill; text-shadow: 0 3px 0 var(--ink); }
.topbar nav { display: flex; gap: clamp(1rem, 3vw, 2.6rem); align-items: center; }
.topbar nav a:not(.btn) { text-decoration: none; font-weight: 600; font-size: 1.1rem; text-shadow: 0 1px 8px rgba(42, 16, 56, 0.6); }
.topbar nav a:not(.btn):hover { text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 6px; }
.topbar .btn { font-size: 1rem; padding: 0.5rem 1.2rem; }
@media (max-width: 46rem) { .topbar nav a.optional { display: none; } }

/* ---------- Hero ---------- */
.hero {
  position: relative; isolation: isolate; color: #fff; padding: clamp(6.5rem, 12vh, 8.5rem) 0 clamp(5.5rem, 9vw, 7.5rem);
  background:
    radial-gradient(1.5px 1.5px at 12% 14%, #fff 50%, transparent 51%),
    radial-gradient(2px 2px at 82% 10%, #fff 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 46% 7%, #fff 50%, transparent 51%),
    radial-gradient(2px 2px at 28% 86%, #fff 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 94% 62%, #fff 50%, transparent 51%),
    radial-gradient(2px 2px at 5% 55%, #fff 50%, transparent 51%),
    radial-gradient(70% 90% at 78% 40%, #5a2a86 0%, transparent 70%),
    linear-gradient(var(--night), var(--night-2));
}
.hero .scallop {
  position: absolute; left: 0; right: 0; bottom: -1px; height: 46px; z-index: 4;
  background: radial-gradient(circle at 50% 100%, var(--paper) 69%, transparent 71%) 0 0 / 92px 46px repeat-x;
}
.hero-grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(2rem, 4vw, 4rem); align-items: center; }
.wordmark {
  font-size: clamp(3.6rem, 7.6vw, 6.8rem); line-height: 0.86; margin: 0;
  display: inline-flex; flex-direction: column; align-items: flex-start; rotate: -3deg;
}
.wordmark .word { position: relative; display: block; padding: 0 0.12em; transform-origin: 50% 90%; }
.wordmark .word:nth-child(2) { margin-left: 0.55em; margin-top: -0.02em; }
.wordmark .word::before {
  content: attr(data-t); position: absolute; left: 0.12em; top: 0; z-index: -1; color: var(--ink);
  -webkit-text-stroke: clamp(12px, 1.6vw, 22px) var(--ink);
  text-shadow: 0 0.05em 0 var(--ink), 0 0.1em 0 var(--ink), 0 0.14em 0 #1c0312, 0 0.2em 0.22em rgba(20, 2, 30, 0.45);
}
.wordmark .face {
  background: linear-gradient(#fff7c9 8%, #ffe04a 38%, #ffb81f 78%, #f58f0e 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 -0.012em 0 rgba(255, 255, 255, 0.7));
}
.wordmark .word:nth-child(2) .face { background-image: linear-gradient(#ffe9e2 8%, #ff8a7c 38%, #f4574b 78%, #d8362d 100%); }
@keyframes wobble {
  0% { transform: scale(1, 1) rotate(0); }
  20% { transform: scale(1.08, 0.88) rotate(-3deg); }
  45% { transform: scale(0.93, 1.1) rotate(3deg); }
  70% { transform: scale(1.03, 0.97) rotate(-1deg); }
  100% { transform: scale(1, 1) rotate(0); }
}
.wordmark .word { animation: wobble 1s cubic-bezier(.3,.7,.3,1) 0.2s both; }
.wordmark .word:nth-child(2) { animation-delay: 0.38s; }
.wordmark:hover .word { animation-name: wobble-again; }
@keyframes wobble-again {
  0% { transform: scale(1, 1) rotate(0); }
  25% { transform: scale(1.08, 0.88) rotate(3deg); }
  55% { transform: scale(0.94, 1.08) rotate(-3deg); }
  100% { transform: scale(1, 1) rotate(0); }
}
.hero .lead { margin-top: 2.2rem; max-width: 30ch; font-weight: 500; }
.hero .cta { margin-top: 1.8rem; display: flex; flex-wrap: wrap; gap: 0.9rem 1rem; }
.player { rotate: 1.5deg; background: #000; }
.player video { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
@media (max-width: 56rem) {
  .hero-grid { grid-template-columns: 1fr; }
  .mini-mark { display: none; }
  .topbar { justify-content: flex-end; }
  .hero { padding-top: 5.5rem; }
  .wordmark { font-size: clamp(3.8rem, 17vw, 6rem); }
}
@keyframes hop {
  0% { transform: translateY(0) scale(0.6, 0.6); }
  40% { transform: translateY(-28%) scale(0.94, 1.08); }
  70% { transform: translateY(0) scale(1.1, 0.88); }
  100% { transform: translateY(0) scale(1, 1); }
}

/* ---------- Sections ---------- */
.band { padding: clamp(4.5rem, 9vw, 7.5rem) 0; position: relative; }
.band h2 + .lead { margin-top: 1rem; }

/* How it works */
.how .grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.frame { border: var(--line) solid var(--ink); border-radius: 30px; box-shadow: var(--drop); overflow: hidden; background: var(--night); }
.frame img { width: 100%; }
.steps { list-style: none; margin: 2rem 0 0; padding: 0; display: grid; gap: 1.6rem; counter-reset: step; }
.steps li { counter-increment: step; display: grid; grid-template-columns: 3.2rem 1fr; gap: 1.1rem; align-items: start; }
.steps li::before {
  content: counter(step); font-family: var(--display); font-size: 1.5rem; width: 3.2rem; height: 3.2rem; display: grid; place-items: center;
  background: var(--custard); border: 3px solid var(--ink); border-radius: 50%; box-shadow: 0 4px 0 var(--ink);
}
.steps h3 { font-size: 1.45rem; }
.steps p { margin-top: 0.3rem; max-width: 34ch; }
@media (max-width: 56rem) { .how .grid { grid-template-columns: 1fr; } }

/* Real play photos */
.how .frame { rotate: -1.5deg; }
.shots { padding-bottom: clamp(1rem, 3vw, 2rem); }
.shots .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 4vw, 3rem); }
.shots figure { margin: 0; position: relative; }
.shots figure:nth-child(1) { rotate: 1.2deg; }
.shots figure:nth-child(2) { rotate: -1.2deg; margin-top: 2.5rem; }
.shots figcaption { position: absolute; left: 1rem; bottom: 1rem; background: #fff; border: 3px solid var(--ink); border-radius: 999px; padding: 0.3rem 1.1rem; font-weight: 700; box-shadow: 0 4px 0 var(--ink); }
.fine { margin-top: 2.2rem; font-size: 0.92rem; opacity: 0.75; text-align: center; }
@media (max-width: 46rem) { .shots .wrap { grid-template-columns: 1fr; } .shots figure:nth-child(2) { margin-top: 0; } }

/* Simple text pages */
.page-head { background: var(--night); color: #fff; padding: 7.5rem 0 3.5rem; position: relative; }
.page-head h1 { font-size: clamp(2.4rem, 6vw, 4rem); color: var(--custard); -webkit-text-stroke: 9px var(--ink); paint-order: stroke fill; text-shadow: 0 5px 0 var(--ink); }
.page-head p { margin-top: 1rem; max-width: 46ch; font-size: 1.25rem; }
.prose { max-width: 46rem; }
.prose h2 { font-size: 1.7rem; color: var(--ink); margin-top: 2.6rem; }
.prose p, .prose ul { margin-top: 0.9rem; }
.prose ul { padding-left: 1.3rem; }
.prose li { margin-top: 0.4rem; }
.prose .draft { border: 3px dashed var(--coral-deep); border-radius: 18px; padding: 1rem 1.3rem; background: #fff; font-weight: 600; }

/* Games */
.games { padding-bottom: clamp(3rem, 6vw, 5rem); }
.feature {
  position: relative; margin-top: 3rem; border: var(--line) solid var(--ink); border-radius: 34px; box-shadow: var(--drop);
  overflow: hidden; min-height: clamp(22rem, 44vw, 34rem); display: flex; align-items: flex-end; color: #fff; isolation: isolate;
}
.feature > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.feature::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(34, 10, 52, 0.88) 0%, rgba(34, 10, 52, 0.55) 34%, rgba(34, 10, 52, 0) 62%); }
.feature .copy { padding: clamp(1.5rem, 4vw, 3rem); max-width: 30rem; }
.feature h3 { font-size: clamp(1.9rem, 4.6vw, 3.6rem); -webkit-text-stroke: 8px var(--ink); paint-order: stroke fill; text-shadow: 0 5px 0 var(--ink); color: var(--custard); }
.feature h3 span { white-space: nowrap; }
.feature p { margin-top: 0.8rem; font-size: 1.25rem; font-weight: 500; }
.tag { display: inline-block; font-weight: 700; font-size: var(--t-small); background: #fff; color: var(--ink); border: 3px solid var(--ink); border-radius: 999px; padding: 0.15rem 0.9rem; }
.tag.live { background: var(--custard); }
.feature .tag { margin-bottom: 1rem; }
.moves { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 1.1rem 0 0; padding: 0; list-style: none; }
.moves li { font-size: var(--t-small); font-weight: 600; background: rgba(255, 255, 255, 0.16); border: 2px solid rgba(255, 255, 255, 0.7); border-radius: 999px; padding: 0.1rem 0.8rem; }
@media (max-width: 46rem) {
  .feature { align-items: flex-end; min-height: 30rem; }
  .feature::after { background: linear-gradient(0deg, rgba(34, 10, 52, 0.92) 0%, rgba(34, 10, 52, 0.6) 45%, rgba(34, 10, 52, 0) 70%); }
}

.row-head { margin-top: clamp(3.5rem, 7vw, 5.5rem); display: flex; align-items: end; justify-content: space-between; gap: 1rem; }
.row-head h3 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); }
.row-head .arrows { display: flex; gap: 0.7rem; }
.arrow { width: 3.2rem; height: 3.2rem; border-radius: 50%; border: 3px solid var(--ink); background: #fff; box-shadow: 0 4px 0 var(--ink); cursor: pointer; display: grid; place-items: center; transition: transform 0.12s ease, box-shadow 0.12s ease; }
.arrow:hover { transform: translateY(2px); box-shadow: 0 2px 0 var(--ink); }
.arrow svg { width: 1.2rem; height: 1.2rem; }
.rail {
  margin-top: 1.5rem; display: flex; gap: 1.6rem; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  padding: 0.5rem max(1.25rem, calc((100vw - var(--wrap)) / 2)) 3.5rem; scroll-padding-inline: max(1.25rem, calc((100vw - var(--wrap)) / 2));
}
.rail::-webkit-scrollbar { display: none; }
.tile {
  position: relative; flex: 0 0 clamp(15.5rem, 23vw, 20rem); min-width: 0; aspect-ratio: 4 / 5; scroll-snap-align: start;
  border: var(--line) solid var(--ink); border-radius: 28px; box-shadow: var(--drop); overflow: hidden; color: #fff; isolation: isolate;
  transition: transform 0.25s cubic-bezier(.3,1.4,.5,1);
}
.tile:nth-child(even) { margin-top: 2.2rem; }
.tile:hover { transform: translateY(-8px) rotate(-1deg); }
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, 50% 50%); z-index: -2; }
.tile::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(34, 10, 52, 0.94) 0%, rgba(34, 10, 52, 0.5) 30%, rgba(34, 10, 52, 0) 55%); }
.tile .tag { position: absolute; left: 0.9rem; top: 0.9rem; }
.tile .copy { position: absolute; left: 0; right: 0; bottom: 0; padding: 1.2rem 1.2rem 1.3rem; }
.tile h4 { font-family: var(--display); font-weight: 400; font-size: 1.7rem; line-height: 1.05; margin: 0; -webkit-text-stroke: 5px var(--ink); paint-order: stroke fill; text-shadow: 0 3px 0 var(--ink); }
.tile p { margin-top: 0.35rem; font-size: 1.02rem; line-height: 1.35; font-weight: 500; }

/* Creatures */
.creatures { background: var(--teal); }
.creatures::before, .signoff::before {
  content: ""; position: absolute; left: 0; right: 0; top: -45px; height: 46px;
  background: radial-gradient(circle at 50% 100%, var(--edge) 69%, transparent 71%) 0 0 / 92px 46px repeat-x;
}
.creatures { --edge: var(--teal); }
.creatures h2 { color: #fff; -webkit-text-stroke: 9px var(--ink); paint-order: stroke fill; text-shadow: 0 5px 0 var(--ink); }
.creatures .lead { font-weight: 500; }
.cast { list-style: none; padding: 0; margin: 3.5rem 0 0; display: grid; gap: 3rem 2rem; grid-template-columns: repeat(4, 1fr); text-align: center; }
.cast li:nth-child(even) { translate: 0 2.5rem; }
.cast .spot { aspect-ratio: 1; border-radius: 50%; border: var(--line) solid var(--ink); box-shadow: var(--drop); display: grid; place-items: center; background: var(--tone, var(--cream)); }
.cast .spot img { width: 76%; animation: breathe 3.6s ease-in-out infinite; animation-delay: var(--d, 0s); transform-origin: 50% 100%; }
.cast li:hover .spot img { animation: hop 0.7s cubic-bezier(.3,1.6,.5,1); }
@keyframes breathe { 0%, 100% { transform: scale(1, 1); } 50% { transform: scale(1.03, 0.97); } }
.cast h3 { margin-top: 1.5rem; font-size: 1.5rem; }
.cast p { margin: 0.35rem auto 0; font-size: 1.05rem; line-height: 1.4; max-width: 22ch; font-weight: 500; }
.cast-note { margin-top: 5.5rem; font-weight: 600; text-align: center; }
@media (max-width: 60rem) { .cast { grid-template-columns: repeat(2, 1fr); } .cast li:nth-child(even) { translate: 0 0; } }

/* Grown-ups */
.grownups::before { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 46px; background: radial-gradient(circle at 50% 0%, var(--teal) 69%, transparent 71%) 0 0 / 92px 46px repeat-x; }
.grownups { padding-top: clamp(6.5rem, 11vw, 9.5rem); }
.promise { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.promise ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.7rem; }
.promise li { display: grid; grid-template-columns: 3.6rem 1fr; gap: 1.2rem; align-items: start; }
.promise .dot { width: 3.6rem; height: 3.6rem; border-radius: 50%; border: 3px solid var(--ink); box-shadow: 0 4px 0 var(--ink); display: grid; place-items: center; background: var(--tone); }
.promise .dot svg { width: 1.8rem; height: 1.8rem; }
.promise strong { display: block; font-family: var(--display); font-weight: 400; font-size: 1.4rem; line-height: 1.15; }
.promise li p { margin-top: 0.3rem; }
.need { margin-top: 2rem; padding: 1.2rem 1.5rem; border: 3px solid var(--ink); border-radius: 22px; background: #fff; box-shadow: var(--drop-small); max-width: 30rem; }
.need strong { font-weight: 700; }
@media (max-width: 56rem) { .promise { grid-template-columns: 1fr; } }

/* Sign-off */
.signoff { --edge: var(--night); color: #fff; text-align: center; isolation: isolate; overflow: visible; padding: clamp(6rem, 12vw, 10rem) 0; background: var(--night); }
.signoff > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 70%; z-index: -2; }
.signoff::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(rgba(42, 16, 56, 1) 0%, rgba(42, 16, 56, 0.7) 30%, rgba(42, 16, 56, 0.35) 100%); }
.signoff h2 { color: var(--custard); -webkit-text-stroke: 9px var(--ink); paint-order: stroke fill; text-shadow: 0 5px 0 var(--ink); }
.signoff .lead { margin: 1rem auto 0; font-weight: 500; text-shadow: 0 2px 12px rgba(34, 10, 52, 0.9); }
.signoff .btn { margin-top: 2rem; }
.signoff .mail { margin-top: 1.2rem; font-weight: 600; text-shadow: 0 2px 12px rgba(34, 10, 52, 0.9); }
footer { background: var(--ink); color: var(--cream); padding: 2rem 0; font-size: var(--t-small); }
footer .wrap { display: flex; flex-wrap: wrap; gap: 0.6rem 2rem; justify-content: space-between; }
footer a { font-weight: 600; }

/* ---------- Brand page ---------- */
.brand-head { background: var(--night); color: #fff; padding: 8rem 0 5rem; position: relative; }
.brand-head .wordmark { font-size: clamp(3rem, 9vw, 6rem); }
.brand-head .lead { margin-top: 2.5rem; max-width: 44ch; }
.spec + .spec { border-top: 3px solid var(--ink); }
.spec.alt { background: var(--cream); }
.spec h2 { font-size: clamp(2rem, 4vw, 2.8rem); }
.spec .lead { max-width: 52ch; font-size: 1.25rem; }
.swatches { margin-top: 2.5rem; display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fill, minmax(10.5rem, 1fr)); list-style: none; padding: 0; }
.swatches .chip { height: 6.5rem; border-radius: 22px; border: var(--line) solid var(--ink); box-shadow: var(--drop-small); background: var(--c); }
.swatches b { display: block; margin-top: 0.9rem; font-weight: 700; }
.swatches code { font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: 0.9em; }
.swatches span { display: block; font-size: var(--t-small); line-height: 1.35; }
.specimen { margin-top: 2.5rem; display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; }
.specimen .big { font-family: var(--display); font-size: clamp(3rem, 8vw, 5.5rem); line-height: 1; }
.specimen .bodyset { font-size: 1.4rem; }
.specimen dl { margin: 1.2rem 0 0; display: grid; grid-template-columns: auto 1fr; gap: 0.3rem 1.2rem; font-size: 1.05rem; }
.specimen dt { font-weight: 700; }
.specimen dd { margin: 0; }
@media (max-width: 52rem) { .specimen { grid-template-columns: 1fr; } }
.rules { margin-top: 2rem; display: grid; grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr)); gap: 2rem 3rem; padding: 0; list-style: none; }
.rules b { display: block; font-family: var(--display); font-weight: 400; font-size: 1.35rem; margin-bottom: 0.2rem; }
.demo-row { margin-top: 2.5rem; display: flex; flex-wrap: wrap; gap: 3rem; align-items: center; }
.demo-row .tile { flex: 0 0 19rem; }
.voice { margin-top: 2rem; display: grid; gap: 1rem; max-width: 44rem; padding: 0; list-style: none; }
.voice li { display: grid; grid-template-columns: 5.5rem 1fr; gap: 1rem; }
.voice .tagw { font-weight: 700; }
.voice .no { opacity: 0.6; text-decoration: line-through; text-decoration-thickness: 2px; }

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