:root {
  --bg: #0c0c0b;
  --surface: #161613;
  --gold: #d6b571;
  --gold-hover: #e9cb8b;
  --text: #f1e9d8;
  --on-gold: #14120d;
  --muted: #b7b1a3;
  --line: #3b3528;
  --serif: "DM Serif Display", Georgia, serif;
  --sans: "DM Sans", Arial, sans-serif;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}
img {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
  color: inherit;
  cursor: pointer;
}
[hidden] {
  display: none !important;
}
:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 6px;
}
::selection {
  background: var(--gold);
  color: var(--on-gold);
}
.wrap {
  width: min(1280px, calc(100% - 112px));
  margin-inline: auto;
}
.section {
  padding-block: 100px;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h2 {
  font-family: var(--serif);
  font-size: clamp(2.5rem, 4.3vw, 4.4rem);
  line-height: 1.03;
  font-weight: 400;
  letter-spacing: -0.035em;
  white-space: pre-line;
  margin-bottom: 26px;
}
p {
  line-height: 1.8;
}
.eyebrow {
  font-size: 0.69rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 800;
  margin-bottom: 25px;
}
.eyebrow::before {
  content: "";
  display: inline-block;
  width: 20px;
  height: 2px;
  margin: 0 10px 4px 0;
  background: var(--gold);
}
.skip {
  position: fixed;
  left: 12px;
  top: 12px;
  z-index: 100;
  padding: 16px;
  background: var(--bg);
  transform: translateY(-150%);
}
.skip:focus {
  transform: none;
}
.masthead {
  min-height: 94px;
  padding: 16px 4%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 25px;
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 30;
  background: var(--bg);
}
.wordmark {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-shrink: 0;
}
.wordmark img {
  width: 45px;
  height: 50px;
  object-fit: contain;
}
.wordmark > span {
  font-family: var(--serif);
  font-size: 1.9rem;
  line-height: 1;
  letter-spacing: 0.045em;
}
.wordmark small {
  display: block;
  font: 700 0.52rem var(--sans);
  letter-spacing: 0.45em;
  margin-top: 8px;
}
.navigation {
  display: flex;
  align-items: center;
  gap: 28px;
}
.navigation a {
  font-size: 0.79rem;
  font-weight: 700;
  position: relative;
  padding-block: 12px;
}
.navigation a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 3px;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform 0.2s;
}
.navigation a:hover::after,
.navigation a[aria-current]::after {
  transform: scaleX(1);
}
.header-tools {
  display: flex;
  align-items: center;
  gap: 18px;
}
.languages {
  display: flex;
  align-items: center;
  font-size: 0.7rem;
  gap: 3px;
}
.languages button {
  padding: 10px 7px;
  border: 0;
  background: none;
  opacity: 0.55;
}
.languages button.is-active {
  opacity: 1;
  font-weight: 800;
}
.menu-toggle {
  display: none;
  border: 1px solid var(--line);
  background: none;
  width: 44px;
  height: 44px;
}
.menu-toggle span {
  height: 2px;
  width: 18px;
  background: var(--text);
  display: block;
  margin: 5px auto;
}
.hero {
  display: grid;
  grid-template-columns: 47% 53%;
  min-height: 690px;
}
.hero-copy {
  padding: 95px 8% 40px max(56px, calc((100vw - 1280px) / 2));
  position: relative;
  align-self: center;
}
.hero h1 {
  font-family: var(--serif);
  font-size: clamp(4.5rem, 6.5vw, 7rem);
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: -0.05em;
  margin: 0 0 30px;
  max-width: 560px;
}
.hero-description {
  color: var(--muted);
  max-width: 425px;
  font-size: 0.95rem;
}
.actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 28px;
  margin-top: 35px;
}
.button {
  display: inline-flex;
  gap: 28px;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  background: var(--gold);
  color: var(--on-gold);
  font-size: 0.8rem;
  font-weight: 700;
  min-height: 54px;
  transition:
    background 0.2s,
    transform 0.2s;
}
.button:hover {
  background: var(--gold-hover);
  transform: translateY(-3px);
}
.button > span:last-child {
  font-size: 1.2rem;
}
.text-link {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-block: 12px;
  border-bottom: 1px solid var(--text);
  font-size: 0.79rem;
  font-weight: 700;
}
.text-link:hover {
  color: var(--gold);
  border-color: var(--gold);
}
.hero-scroll {
  display: inline-flex;
  gap: 12px;
  align-items: center;
  margin-top: 62px;
  font-size: 0.66rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}
.hero-scroll > span:first-child {
  border: 1px solid var(--line);
  padding: 9px 13px;
  font-size: 1rem;
}
.hero-art {
  position: relative;
  min-width: 0;
  margin: 24px 24px 24px 0;
  background: var(--surface);
}
.hero-illustration {
  width: 100%;
  height: 100%;
  position: absolute;
  object-fit: cover;
  object-position: 50% 55%;
}
.hero-art::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid #ffffff65;
  margin: 14px;
  pointer-events: none;
}
.art-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  color: white;
  padding: 45px 30px 28px;
  background: linear-gradient(transparent, #0c0c0be6);
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-size: 0.62rem;
  letter-spacing: 0.12em;
}
.hero-seal {
  position: absolute;
  left: -48px;
  bottom: 70px;
  width: 108px;
  height: 108px;
  background: var(--gold);
  border-radius: 50%;
  color: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  outline: 1px solid #ffffff66;
  outline-offset: -8px;
  transform: rotate(-12deg);
}
.hero-seal span {
  font-size: 0.48rem;
  letter-spacing: 0.17em;
}
.hero-seal b {
  font-size: 2.5rem;
  line-height: 1.35;
}
.theme-strip {
  padding: 23px 4%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  background: var(--surface);
  color: var(--text);
  font-size: 0.69rem;
  letter-spacing: 0.22em;
  overflow: hidden;
}
.theme-strip b {
  color: var(--gold);
  font-size: 1.1rem;
}
.introduction {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10%;
  align-items: start;
}
.introduction h2 {
  max-width: 520px;
}
.intro-copy {
  padding-top: 42px;
  font-size: 0.96rem;
  color: var(--muted);
}
.intro-copy .text-link {
  color: var(--text);
}
.section-top {
  display: flex;
  justify-content: space-between;
  gap: 35px;
  align-items: end;
  margin-bottom: 45px;
}
.section-top h2 {
  margin-bottom: 0;
}
.section-top > .text-link {
  flex-shrink: 0;
}
.identity {
  color: var(--text);
  background: var(--surface);
}
.identity .eyebrow {
  color: var(--gold);
}
.identity .eyebrow::before {
  background: var(--gold);
}
.light {
  color: var(--text);
  border-color: #80704e;
}
.light:hover {
  color: var(--gold-hover);
  border-color: var(--gold-hover);
}
.identity-explorer {
  display: grid;
  grid-template-columns: 32% 1fr;
  gap: 6%;
  padding-top: 15px;
}
.identity-tabs {
  display: flex;
  flex-direction: column;
}
.identity-tab {
  display: flex;
  align-items: center;
  gap: 20px;
  text-align: left;
  padding: 24px 8px;
  border: 0;
  border-top: 1px solid var(--line);
  background: none;
  color: var(--muted);
}
.identity-tab:last-child {
  border-bottom: 1px solid var(--line);
}
.identity-tab > span:nth-child(2) {
  font: 400 2.1rem var(--serif);
}
.tab-number {
  font-size: 0.66rem;
}
.tab-arrow {
  margin-left: auto;
}
.identity-tab[aria-selected="true"] {
  color: var(--gold-hover);
  padding-left: 18px;
  background: #ffffff08;
  border-top-color: var(--gold);
}
.identity-note {
  max-width: 210px;
  font-size: 0.77rem;
  color: var(--muted);
  margin-top: 28px;
}
.identity-art {
  position: relative;
  height: 350px;
  isolation: isolate;
  overflow: hidden;
  background: var(--surface);
}
.identity-background {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  opacity: 0.6;
  z-index: -1;
}
.identity-art::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #0c0c0b99, transparent);
  z-index: -1;
}
.identity-card {
  position: absolute;
  max-width: 70%;
  height: 82%;
  width: auto;
  object-fit: contain;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) rotate(6deg);
  filter: drop-shadow(12px 18px 15px #0009);
}
.identity-detail {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  align-items: start;
  gap: 32px;
  padding-top: 25px;
}
.identity-detail h3 {
  font: 400 1.7rem/1.1 var(--serif);
}
.identity-detail p {
  color: var(--muted);
  font-size: 0.84rem;
  margin-bottom: 0;
}
.collection-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px;
}
.card-meta {
  display: flex;
  justify-content: space-between;
  gap: 6px;
  font-size: 0.61rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin-bottom: 18px;
}
.card-meta > span:last-child {
  color: var(--muted);
}
.card-stage {
  background: #1c1b16;
  padding: 28px 22px;
  transition: background 0.25s;
}
.collection-card:nth-child(2) .card-stage {
  background: #1a1b17;
}
.collection-card:nth-child(3) .card-stage {
  background: #231f17;
}
.collection-card:nth-child(4) .card-stage {
  background: #211c17;
}
.card-stage img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 8px 16px #0008;
  transition: transform 0.3s;
}
.collection-card:hover .card-stage img {
  transform: translateY(-9px) rotate(-3deg);
}
.card-title {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding-top: 20px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 18px;
}
.card-title h3 {
  margin: 0;
  font-size: 0.85rem;
  font-weight: 650;
  line-height: 1.5;
}
.deck-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--surface);
  color: var(--text);
}
.deck-art {
  min-height: 620px;
  position: relative;
}
.deck-art img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 32%;
}
.deck-copy {
  padding: 85px clamp(35px, 6vw, 100px);
  align-self: center;
}
.deck-copy p:not(.eyebrow) {
  color: var(--muted);
  font-size: 0.92rem;
  max-width: 440px;
}
.deck-copy .eyebrow {
  color: var(--gold);
}
.deck-copy .eyebrow::before {
  background: var(--gold);
}
.cream {
  color: var(--on-gold);
  background: var(--gold);
}
.cream:hover {
  color: var(--on-gold);
  background: var(--gold-hover);
}
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}
.home-review {
  background: var(--surface);
}
.home-review > img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
.home-review-copy {
  padding: 26px;
}
.home-review h3 {
  font: 400 1.7rem var(--serif);
}
.home-review blockquote {
  margin: 0 0 25px;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.7;
}
.home-review-label {
  font-size: 0.8rem;
  border-bottom: 1px solid;
  padding-bottom: 8px;
}
.next-step {
  display: flex;
  gap: 35px;
  align-items: center;
  justify-content: space-between;
  padding-block: 65px;
}
.next-symbol {
  color: var(--gold);
  font-size: 4rem;
}
.next-step h2 {
  font-size: 2.4rem;
  margin-bottom: 12px;
}
.next-step p {
  color: var(--muted);
  margin-bottom: 0;
  font-size: 0.86rem;
}
.next-step .button {
  flex-shrink: 0;
}
.footer {
  background: #090909;
  color: var(--text);
}
.footer-top {
  padding-block: 55px;
  display: grid;
  grid-template-columns: 1fr 1fr 1.2fr;
  gap: 45px;
  align-items: start;
}
.footer-top > p {
  color: var(--muted);
  font-size: 0.83rem;
  max-width: 290px;
}
.footer-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  font-size: 0.75rem;
}
.footer-links a:hover {
  text-decoration: underline;
}
.footer-bottom {
  border-top: 1px solid #ffffff25;
  padding-block: 22px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  color: var(--muted);
}
/* Section contrast and framed surfaces give each chapter its own visual space. */
.masthead {
  box-shadow: 0 8px 30px #0005;
  border-bottom-color: #d6b57133;
}
.hero {
  background:
    radial-gradient(ellipse at 15% 10%, #d6b57112, transparent 55%), #090909;
}
.hero-art {
  box-shadow: 0 24px 55px #000a;
  border: 1px solid #d6b57155;
}
.hero-art::after {
  border-color: #e9cb8b80;
}
.hero-seal {
  background: linear-gradient(135deg, #f0dba7, #c39b50 70%, #e6c47d);
  box-shadow:
    0 8px 25px #0008,
    inset 0 1px #fff8;
}
.button {
  background: linear-gradient(135deg, #eed49b, #ccaa63);
  box-shadow:
    inset 0 1px #fff5,
    0 5px 18px #0004;
}
.theme-strip {
  background: linear-gradient(100deg, #aa8649, #e0c58c 48%, #b69252);
  color: #211b10;
  border-block: 1px solid #efd79f;
  box-shadow: 0 7px 30px #0006;
  font-weight: 700;
  position: relative;
  z-index: 1;
}
.theme-strip b {
  color: #4a3616;
}
.chapter-surface {
  position: relative;
}
.chapter-surface--story {
  background:
    radial-gradient(ellipse at 95% 65%, #d6b5710d, transparent 65%),
    linear-gradient(145deg, #1d1c18, #121210);
}
.introduction {
  row-gap: 34px;
}
.intro-image {
  box-shadow:
    0 22px 45px #0009,
    0 0 0 6px #d6b57108;
}
.intro-image::after {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid #ebd6ac55;
  pointer-events: none;
}
.identity {
  position: relative;
  border-block: 1px solid #a589504f;
  background:
    radial-gradient(ellipse at 80% 5%, #d6b5711c, transparent 65%),
    repeating-linear-gradient(125deg, #d6b57103 0 1px, transparent 1px 10px),
    linear-gradient(110deg, #24221c, #342c1e 70%, #222019);
  box-shadow:
    inset 0 1px #efd79f15,
    inset 0 -30px 60px #0003;
}
.identity::before,
.chapter-surface--collection::before {
  content: "◆";
  position: absolute;
  top: -13px;
  left: calc(50% - 24px);
  width: 48px;
  text-align: center;
  line-height: 24px;
  font-size: 13px;
  color: var(--gold);
  background: #25221a;
  border-inline: 1px solid #a5895055;
}
.identity-tabs {
  background: #0002;
}
.identity-tab[aria-selected="true"] {
  background: linear-gradient(90deg, #d6b57120, transparent);
  box-shadow: inset 3px 0 var(--gold);
}
.identity-art {
  border: 1px solid #d6b57170;
  box-shadow:
    0 18px 38px #0007,
    0 0 0 7px #0002;
}
.identity-detail {
  padding: 24px;
  background: #0c0c0b66;
  border: 1px solid #d6b57125;
  border-top: 0;
}
.chapter-surface--collection {
  background:
    radial-gradient(ellipse at 50% 60%, #d6b5710b, transparent 65%), #090909;
  border-bottom: 1px solid #d6b57144;
}
.chapter-surface--collection::before {
  background: #090909;
}
.card-stage,
.collection-card:nth-child(2) .card-stage,
.collection-card:nth-child(3) .card-stage,
.collection-card:nth-child(4) .card-stage {
  border: 1px solid #d6b57140;
  background:
    radial-gradient(ellipse at 50% 10%, #a78c5140, transparent 80%),
    linear-gradient(160deg, #24231e, #121210);
  box-shadow:
    inset 0 1px #f5dcaa20,
    0 14px 28px #0006;
}
.card-stage img {
  box-shadow: 0 16px 22px #000b;
}
.deck-section {
  border-bottom: 1px solid #d6b57155;
  background:
    radial-gradient(ellipse at 100% 30%, #d6b57120, transparent 55%),
    linear-gradient(125deg, #141410, #29271f);
}
.deck-art {
  border-right: 1px solid #d6b57166;
}
.deck-art::after {
  content: "";
  position: absolute;
  inset: 16px;
  border: 1px solid #efdab080;
  pointer-events: none;
}
.home-review {
  border: 1px solid #d6b57140;
  box-shadow: 0 15px 35px #0006;
  background: linear-gradient(145deg, #28241b, #151411);
}
.chapter-surface--closing {
  background:
    radial-gradient(ellipse at 15% 40%, #d6b57118, transparent 70%), #1e1c16;
  border-block: 1px solid #d6b57140;
}
.footer {
  box-shadow: inset 0 20px 35px #0003;
}
@media (max-width: 600px) {
  .introduction {
    row-gap: 0;
  }
  .identity-detail {
    padding: 20px 16px;
  }
  .identity-tab[aria-selected="true"] {
    box-shadow: inset 0 -2px var(--gold);
  }
  .identity-art {
    box-shadow: 0 14px 28px #0006;
  }
  .deck-art {
    border-right: 0;
    border-bottom: 1px solid #d6b57166;
  }
}

@media (min-width: 1700px) {
  .hero {
    min-height: 780px;
  }
}
@media (max-width: 1100px) {
  .navigation {
    gap: 17px;
  }
  .wrap {
    width: calc(100% - 64px);
  }
  .hero-copy {
    padding-left: 32px;
    padding-top: 65px;
  }
  .hero h1 {
    font-size: 5.3rem;
  }
  .hero-seal {
    width: 88px;
    height: 88px;
    left: -30px;
  }
  .hero-seal b {
    font-size: 2rem;
  }
  .collection-grid {
    gap: 18px;
  }
  .card-stage {
    padding: 20px 14px;
  }
  .deck-copy {
    padding: 55px 35px;
  }
}
@media (max-width: 900px) {
  .masthead {
    min-height: 78px;
    padding: 12px 24px;
  }
  .wordmark > span {
    font-size: 1.6rem;
  }
  .wordmark img {
    width: 35px;
    height: 40px;
  }
  .menu-toggle {
    display: block;
  }
  .navigation {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg);
    padding: 20px 24px;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 15px 25px #0001;
  }
  .navigation.is-open {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px 24px;
  }
  .hero {
    min-height: 600px;
  }
  .hero-copy {
    padding-top: 45px;
    padding-right: 28px;
  }
  .hero h1 {
    font-size: 4.4rem;
  }
  .hero .eyebrow {
    font-size: 0.6rem;
  }
  .hero-scroll {
    margin-top: 35px;
  }
  .hero-seal {
    display: none;
  }
  .theme-strip span:last-child,
  .theme-strip b:nth-last-child(2) {
    display: none;
  }
  .section {
    padding-block: 70px;
  }
  .identity-explorer {
    grid-template-columns: 30% 1fr;
    gap: 30px;
  }
  .identity-tab {
    gap: 12px;
  }
  .identity-tab > span:nth-child(2) {
    font-size: 1.6rem;
  }
  .identity-art {
    height: 300px;
  }
  .identity-detail {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .collection-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 35px;
  }
  .card-stage {
    padding: 28px 35px;
  }
  .deck-art {
    min-height: 580px;
  }
  .next-symbol {
    display: none;
  }
  .footer-top {
    grid-template-columns: 1fr 1fr;
  }
  .footer-links {
    grid-column: 2;
    grid-row: 1 / 3;
  }
  .footer-top > p {
    margin-top: -20px;
  }
}
@media (max-width: 600px) {
  html {
    scroll-padding-top: 90px;
  }
  .wrap {
    width: calc(100% - 40px);
  }
  .masthead {
    padding-inline: 20px;
  }
  .header-tools {
    gap: 8px;
  }
  .wordmark > span {
    font-size: 1.4rem;
  }
  .wordmark small {
    font-size: 0.44rem;
  }
  .hero {
    grid-template-columns: minmax(0, 1fr);
  }
  .hero-copy {
    padding: 45px 24px 32px;
  }
  .hero h1 {
    font-size: clamp(3.6rem, 13vw, 4.8rem);
    max-width: 400px;
  }
  .hero-description {
    font-size: 0.88rem;
  }
  .hero .eyebrow {
    font-size: 0.62rem;
  }
  .actions {
    gap: 22px;
    margin-top: 28px;
  }
  .button {
    padding: 17px 19px;
    gap: 18px;
  }
  .hero-scroll {
    display: none;
  }
  .hero-art {
    height: 360px;
    margin: 0 20px 20px;
  }
  .hero-illustration {
    object-position: center 45%;
  }
  .art-caption {
    padding: 40px 23px 24px;
  }
  .theme-strip {
    padding: 18px 20px;
    gap: 18px;
    font-size: 0.56rem;
    letter-spacing: 0.12em;
  }
  .theme-strip span:nth-last-child(3),
  .theme-strip b:nth-last-child(4) {
    display: none;
  }
  .section {
    padding-block: 58px;
  }
  h2 {
    font-size: 2.7rem;
  }
  .introduction {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }
  .intro-copy {
    padding: 0;
    font-size: 0.88rem;
  }
  .section-top {
    display: block;
    margin-bottom: 30px;
  }
  .section-top > .text-link {
    margin-top: 20px;
  }
  .identity-explorer {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }
  .identity-tabs {
    flex-direction: row;
  }
  .identity-tab {
    flex: 1;
    justify-content: center;
    padding: 15px 3px;
    gap: 7px;
    border-bottom: 1px solid var(--line);
  }
  .identity-tab[aria-selected="true"] {
    padding-left: 3px;
    border-bottom-color: var(--gold);
  }
  .identity-tab > span:nth-child(2) {
    font-size: 1.2rem;
  }
  .tab-number {
    font-size: 0.54rem;
  }
  .tab-arrow,
  .identity-note {
    display: none;
  }
  .identity-art {
    height: 280px;
  }
  .identity-detail h3 {
    font-size: 1.8rem;
    margin-bottom: 12px;
  }
  .collection-grid {
    gap: 28px 16px;
  }
  .card-meta {
    font-size: 0.52rem;
    letter-spacing: 0;
    margin-bottom: 12px;
  }
  .card-stage {
    padding: 16px 12px;
  }
  .card-title {
    padding-top: 14px;
  }
  .card-title h3 {
    font-size: 0.73rem;
  }
  .deck-section {
    grid-template-columns: minmax(0, 1fr);
  }
  .deck-art {
    min-height: 320px;
  }
  .deck-copy {
    padding: 44px 24px 55px;
  }
  .deck-copy h2 {
    white-space: normal;
    max-width: 360px;
  }
  .reviews-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .next-step {
    display: block;
    padding-block: 50px;
  }
  .next-step h2 {
    font-size: 2.3rem;
  }
  .next-step .button {
    margin-top: 28px;
  }
  .footer-top {
    gap: 35px;
    padding-block: 40px;
    grid-template-columns: minmax(0, 1fr);
  }
  .footer-top > p {
    margin: -12px 0 0;
  }
  .footer-links {
    grid-column: auto;
    grid-row: auto;
    padding-top: 8px;
  }
  .footer-bottom {
    font-size: 0.54rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
}

/* Image-led introduction and feedback for the data-backed illustrations. */
.intro-image {
  grid-column: 1 / -1;
  position: relative;
  margin: 38px 0 0;
  height: 380px;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
}
.intro-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
}
.intro-image figcaption {
  position: absolute;
  inset: auto 0 0;
  padding: 55px 28px 25px;
  background: linear-gradient(transparent, #000d);
  color: var(--text);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
}
.intro-image figcaption span {
  color: var(--gold);
}
.card-data-status {
  padding: 18px 22px;
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.85rem;
  margin-top: 28px;
}
.card-stage {
  aspect-ratio: 3 / 4.4;
  display: grid;
  align-items: center;
}
.card-stage img {
  max-height: 100%;
  object-fit: contain;
}
@media (max-width: 600px) {
  .intro-image {
    height: 270px;
    margin-top: 28px;
  }
  .intro-image figcaption {
    padding: 45px 18px 18px;
    font-size: 0.65rem;
  }
}

h1,
h2,
.wordmark > span {
  color: var(--gold);
}

/* Theme controls; the Light palette is isolated in light.css. */
:root {
  color-scheme: dark;
}
.theme-control {
  display: inline-flex;
  flex-shrink: 0;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 2px;
  gap: 2px;
}
.theme-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  border-radius: 2px;
  background: transparent;
  color: var(--muted);
}
.theme-button svg {
  pointer-events: none;
}
.theme-button:hover {
  background: var(--surface);
  color: var(--text);
}
.theme-button[aria-pressed="true"] {
  background: var(--gold);
  color: var(--on-gold);
  box-shadow: 0 1px 4px #0002;
}
.header-tools {
  gap: 10px;
}
@media (min-width: 901px) and (max-width: 1150px) {
  .masthead {
    padding-inline: 24px;
    gap: 16px;
  }
  .navigation {
    gap: 14px;
  }
  .navigation a {
    font-size: 0.73rem;
  }
  .wordmark > span {
    font-size: 1.65rem;
  }
}
@media (max-width: 600px) {
  .masthead {
    gap: 10px;
    padding-inline: 16px;
  }
  .header-tools {
    gap: 6px;
  }
  .languages {
    gap: 0;
  }
  .languages button {
    padding-inline: 5px;
  }
  .wordmark {
    gap: 6px;
  }
  .wordmark > span {
    font-size: 1.2rem;
  }
  .wordmark small {
    letter-spacing: 0.3em;
  }
}
@media (max-width: 380px) {
  .masthead .wordmark img {
    display: none;
  }
}
