:root {
  --color-ink: #11110f;
  --color-canvas: #f3f0e9;
  --color-paper: #fbfaf7;
  --color-graphite: #181a1c;
  --color-charcoal: #28292a;
  --color-white: #ffffff;
  --color-warm: #8d5834;
  --color-warm-light: #d89a6c;
  --color-cool: #4d7183;
  --color-cool-light: #9bb6c2;
  --color-muted-light: #6d6962;
  --color-muted-dark: #a9adaf;
  --color-line-light: rgba(17, 17, 15, 0.16);
  --color-line-dark: rgba(255, 255, 255, 0.18);
  --color-focus: #9a4f22;
  --color-focus-contrast: #ffffff;
  --font-sans: Inter, Pretendard, "Apple SD Gothic Neo", "Noto Sans KR",
    "Malgun Gothic", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-serif: Georgia, "Times New Roman", serif;
  --type-display: clamp(3.75rem, 8vw, 8rem);
  --type-hero-copy: clamp(1.35rem, 2.2vw, 2.15rem);
  --type-section: clamp(2.1rem, 5.2vw, 5.5rem);
  --type-subsection: clamp(1.35rem, 2.4vw, 2.4rem);
  --type-body: clamp(1rem, 1.2vw, 1.125rem);
  --type-label: 0.75rem;
  --space-1: 0.5rem;
  --space-2: 0.75rem;
  --space-3: 1rem;
  --space-4: 1.5rem;
  --space-5: 2rem;
  --space-6: 2.75rem;
  --space-7: 3.5rem;
  --space-8: 4.5rem;
  --space-9: 5.5rem;
  --space-10: 6.5rem;
  --space-11: 7.25rem;
  --space-12: 8rem;
  --section-space: clamp(5rem, 11vw, 10rem);
  --gutter: clamp(1.25rem, 4vw, 4.5rem);
  --content-width: 72rem;
  --media-width: 96rem;
  --nav-height: 4.25rem;
  --radius-small: 0.5rem;
  --radius-media: 1rem;
  --radius-pill: 999px;
  --motion-fast: 160ms;
  --motion-base: 420ms;
  --motion-slow: 900ms;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  color-scheme: light;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--color-canvas);
  color: var(--color-ink);
  font-family: var(--font-sans);
  font-size: var(--type-body);
  line-height: 1.65;
  overflow-x: hidden;
}

body[data-theme="dreamer"] {
  --chapter-accent: var(--color-cool);
}

body[data-theme="retro"],
body:not([data-theme]) {
  --chapter-accent: var(--color-warm);
}

body[data-theme="retro"] :is(.hero, .chapter--dark, .chapter--charcoal) {
  --chapter-accent: var(--color-warm-light);
}

body[data-theme="dreamer"] :is(.hero, .chapter--dark, .chapter--charcoal) {
  --chapter-accent: var(--color-cool-light);
}

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

a {
  color: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid var(--color-focus);
  outline-offset: 3px;
  box-shadow: 0 0 0 6px var(--color-focus-contrast);
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: var(--space-2);
  left: var(--space-2);
  transform: translateY(-160%);
  border-radius: var(--radius-small);
  background: var(--color-white);
  color: var(--color-ink);
  padding: var(--space-2) var(--space-3);
  transition: transform var(--motion-fast) var(--ease-out);
}

.skip-link:focus {
  transform: translateY(0);
}

.export-mode :is(.archive-nav, .skip-link) {
  display: none !important;
}

.archive-nav {
  position: fixed;
  z-index: 30;
  inset: 0 0 auto;
  min-height: var(--nav-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding: 0 var(--gutter);
  color: var(--color-white);
  border-bottom: 1px solid transparent;
  transition:
    background-color var(--motion-base) var(--ease-out),
    border-color var(--motion-base) var(--ease-out),
    color var(--motion-base) var(--ease-out),
    backdrop-filter var(--motion-base) var(--ease-out);
}

.archive-nav.is-solid,
.showcase-page .archive-nav {
  background: color-mix(in srgb, var(--color-paper) 92%, transparent);
  color: var(--color-ink);
  border-color: var(--color-line-light);
  backdrop-filter: blur(1rem);
}

.wordmark,
.nav-link {
  min-height: 2.75rem;
  display: inline-flex;
  align-items: center;
  color: inherit;
  text-decoration: none;
}

.wordmark {
  font-size: 0.82rem;
  font-weight: 760;
  letter-spacing: 0.15em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(0.9rem, 3vw, 2.5rem);
}

.nav-link {
  position: relative;
  font-size: 0.78rem;
  font-weight: 650;
  letter-spacing: 0.06em;
}

.nav-link::after {
  position: absolute;
  right: 0;
  bottom: 0.45rem;
  left: 0;
  height: 1px;
  content: "";
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--motion-fast) var(--ease-out);
}

.nav-link:hover::after,
.nav-link[aria-current="page"]::after {
  transform: scaleX(1);
}

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: end;
  isolation: isolate;
  overflow: hidden;
  background: var(--color-graphite);
  color: var(--color-white);
}

.hero-media {
  position: absolute;
  z-index: -2;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  animation: hero-settle var(--motion-slow) var(--ease-out) both;
}

.hero-video {
  position: absolute;
  z-index: -2;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 38%;
  background: var(--color-graphite);
}

.hero::after {
  position: absolute;
  z-index: -1;
  inset: 0;
  content: "";
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.06) 25%, rgba(0, 0, 0, 0.82) 100%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.48), transparent 65%);
}

.hero-inner {
  width: min(100%, var(--media-width));
  margin-inline: auto;
  padding: calc(var(--nav-height) + var(--space-8)) var(--gutter)
    clamp(3.5rem, 8vw, 7rem);
}

.eyebrow {
  margin: 0 0 var(--space-3);
  color: var(--chapter-accent);
  font-size: var(--type-label);
  font-weight: 760;
  letter-spacing: 0.18em;
  line-height: 1.3;
  text-transform: uppercase;
}

.hero-title {
  margin: 0;
  font-size: var(--type-display);
  font-weight: 760;
  letter-spacing: -0.075em;
  line-height: 0.92;
}

.hero-copy {
  max-width: 29ch;
  margin: var(--space-5) 0 0;
  font-size: var(--type-hero-copy);
  font-weight: 560;
  letter-spacing: -0.035em;
  line-height: 1.24;
  word-break: keep-all;
}

.archive-cue {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  min-height: 2.75rem;
  margin-top: var(--space-5);
  color: var(--color-muted-dark);
  font-size: var(--type-label);
  letter-spacing: 0.14em;
  text-decoration: none;
  text-transform: uppercase;
}

.archive-cue::after {
  content: "↓";
  font-size: 1rem;
}

.chapter {
  position: relative;
  padding: var(--section-space) var(--gutter);
  background: var(--color-canvas);
  color: var(--color-ink);
}

.chapter--paper {
  background: var(--color-paper);
}

.chapter--dark {
  background: var(--color-graphite);
  color: var(--color-white);
}

.chapter--charcoal {
  background: var(--color-charcoal);
  color: var(--color-white);
}

.chapter-inner {
  width: min(100%, var(--content-width));
  margin-inline: auto;
}

.chapter-inner--wide {
  width: min(100%, var(--media-width));
}

.statement {
  display: grid;
  grid-template-columns: minmax(3rem, 0.75fr) minmax(0, 7fr);
  gap: var(--space-5);
  align-items: start;
}

.statement-number {
  margin: 0.2em 0 0;
  color: var(--chapter-accent);
  font-family: var(--font-serif);
  font-size: 1rem;
  font-style: italic;
}

.statement-copy {
  max-width: 18ch;
  margin: 0;
  font-size: var(--type-section);
  font-weight: 650;
  letter-spacing: -0.055em;
  line-height: 1.02;
  word-break: keep-all;
}

/* Latin display copy needs more measure than Korean at the same optical size. */
.statement-copy--wide {
  max-width: 24ch;
}

.section-header {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(14rem, 2fr);
  gap: var(--space-6);
  align-items: end;
  margin-bottom: clamp(2.5rem, 6vw, 5.5rem);
}

.section-title {
  max-width: 18ch;
  margin: 0;
  font-size: var(--type-section);
  font-weight: 650;
  letter-spacing: -0.055em;
  line-height: 1.02;
  word-break: keep-all;
}

.section-meta {
  margin: 0;
  color: var(--color-muted-light);
  font-size: var(--type-body);
  word-break: keep-all;
}

.chapter--dark .section-meta,
.chapter--charcoal .section-meta {
  color: var(--color-muted-dark);
}

.media-figure {
  min-width: 0;
  margin: 0;
}

.media-frame {
  position: relative;
  overflow: hidden;
  background: var(--color-paper);
}

.media-frame--mood {
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-media);
  box-shadow: 0 1.5rem 4rem rgba(0, 0, 0, 0.18);
}

.media-frame--studio {
  aspect-ratio: 16 / 9;
  border: 1px solid var(--color-line-light);
}

.media-frame--square {
  aspect-ratio: 1;
}

.media-frame--portrait {
  aspect-ratio: 2 / 3;
}

.media-frame img {
  width: 100%;
  height: 100%;
}

.media-frame video {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--color-graphite);
}

.chapter-video {
  object-fit: cover;
  object-position: center;
}

.media-frame--mood img {
  object-fit: cover;
}

.media-frame--studio img {
  object-fit: contain;
}

.media-figure figcaption {
  display: flex;
  justify-content: space-between;
  gap: var(--space-3);
  padding-top: var(--space-3);
  color: var(--color-muted-light);
  font-size: 0.78rem;
  line-height: 1.4;
}

.chapter--dark .media-figure figcaption,
.chapter--charcoal .media-figure figcaption {
  color: var(--color-muted-dark);
}

.media-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 2vw, 2rem);
}

.media-grid--feature {
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.65fr);
  align-items: stretch;
}

.media-grid--feature > :first-child {
  grid-row: span 2;
}

.media-grid--feature .media-frame {
  height: 100%;
}

.media-grid--feature > :not(:first-child) .media-frame {
  aspect-ratio: 4 / 3;
}

.detail-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--color-line-light);
  border: 1px solid var(--color-line-light);
}

.detail-grid .media-frame {
  border: 0;
}

.detail-grid .media-figure figcaption {
  min-height: 3.5rem;
  padding: var(--space-2) var(--space-3);
  background: var(--color-paper);
}

.detail-grid > .media-figure:last-child {
  grid-column: 1 / -1;
}

.detail-grid > .media-figure:last-child .media-frame {
  aspect-ratio: 16 / 5;
}

.color-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(18rem, 0.8fr);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: center;
  margin-bottom: clamp(3rem, 7vw, 6rem);
}

.color-intro .section-title {
  max-width: 14ch;
}

.color-head {
  margin-bottom: clamp(2rem, 5vw, 3.5rem);
}

.color-head .section-title {
  max-width: 14ch;
}

.chapter-lead {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1rem, 3vw, 2.5rem);
  width: min(100%, 52rem);
  margin: 0 auto clamp(3rem, 7vw, 6rem);
}

.statement-note {
  margin: var(--space-4) 0 0;
  font-size: 0.78rem;
}

.product-switch {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: var(--space-5);
  align-items: end;
  min-height: 15rem;
  color: inherit;
  text-decoration: none;
}

.product-switch-copy {
  max-width: 20ch;
  margin: 0;
  font-size: var(--type-section);
  font-weight: 650;
  letter-spacing: -0.055em;
  line-height: 1.02;
  word-break: keep-all;
}

.product-switch-arrow {
  display: inline-grid;
  width: 3.5rem;
  height: 3.5rem;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: var(--radius-pill);
  font-size: 1.4rem;
  transition: transform var(--motion-fast) var(--ease-out);
}

.product-switch:hover .product-switch-arrow {
  transform: translateX(0.4rem);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: var(--space-5);
  align-items: flex-end;
  padding: var(--space-8) var(--gutter);
  border-top: 1px solid var(--color-line-dark);
  background: var(--color-graphite);
  color: var(--color-white);
}

.footer-note {
  max-width: 36ch;
  margin: 0;
  color: var(--color-muted-dark);
  font-size: 0.78rem;
}

.footer-links {
  display: flex;
  gap: var(--space-4);
}

.footer-links a {
  min-height: 2.75rem;
  display: inline-flex;
  align-items: center;
  font-size: 0.78rem;
  text-decoration: none;
}

.review-hero {
  min-height: 72svh;
}

.review-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1rem, 3vw, 2.5rem);
}

.review-card {
  display: grid;
  gap: var(--space-3);
  color: inherit;
  text-decoration: none;
}

.review-card:nth-child(3n) {
  grid-column: 1 / -1;
}

.review-card-copy {
  max-width: 30ch;
  margin: 0;
  font-size: var(--type-subsection);
  font-weight: 620;
  letter-spacing: -0.035em;
  line-height: 1.18;
  word-break: keep-all;
}

.review-card .media-frame img {
  transition: transform var(--motion-base) var(--ease-out);
}

.review-card:hover .media-frame img {
  transform: scale(1.012);
}

.showcase-main {
  padding: calc(var(--nav-height) + var(--space-8)) var(--gutter)
    var(--section-space);
}

.showcase-header,
.showcase-block {
  width: min(100%, var(--content-width));
  margin-inline: auto;
}

.showcase-header {
  margin-bottom: var(--space-9);
}

.showcase-title {
  max-width: 12ch;
  margin: 0;
  font-size: var(--type-section);
  letter-spacing: -0.055em;
  line-height: 1;
}

.showcase-copy {
  max-width: 54ch;
  margin: var(--space-4) 0 0;
  color: var(--color-muted-light);
}

.showcase-block {
  padding: var(--space-7) 0;
  border-top: 1px solid var(--color-line-light);
}

.showcase-label {
  margin: 0 0 var(--space-5);
  color: var(--color-warm);
  font-size: var(--type-label);
  font-weight: 760;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.showcase-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
}

.showcase-action {
  min-height: 3rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--color-ink);
  border-radius: var(--radius-pill);
  background: transparent;
  color: var(--color-ink);
  padding: 0 var(--space-4);
  font: inherit;
  font-weight: 650;
  text-decoration: none;
  transition:
    background-color var(--motion-fast) var(--ease-out),
    color var(--motion-fast) var(--ease-out),
    transform var(--motion-fast) var(--ease-out);
}

.showcase-action:hover {
  background: var(--color-ink);
  color: var(--color-white);
  transform: translateY(-2px);
}

.showcase-action[aria-disabled="true"] {
  cursor: not-allowed;
  opacity: 0.45;
}

.guide-stack {
  display: grid;
  gap: clamp(1.75rem, 4vw, 3.25rem);
  width: min(100%, 52rem);
  margin: clamp(2.5rem, 6vw, 4.5rem) auto 0;
}

.media-frame--guide {
  border: 1px solid var(--color-line-light);
  border-radius: var(--radius-media);
  background: var(--color-canvas);
}

.media-frame--guide img {
  width: 100%;
  height: auto;
}

/* ---------------------------------------------------------------------------
   Information blocks — restrained heads, rule-line spec table, media quarters,
   FAQ disclosure. Monochrome only; no new colour or shadow tokens.
   --------------------------------------------------------------------------- */

.block-head {
  margin-bottom: clamp(2.5rem, 6vw, 4.5rem);
}

.block-title {
  max-width: 20ch;
  margin: 0;
  font-size: var(--type-subsection);
  font-weight: 650;
  letter-spacing: -0.035em;
  line-height: 1.1;
  word-break: keep-all;
}

.block-copy {
  max-width: 46ch;
  margin: var(--space-4) 0 0;
  color: var(--color-muted-light);
  word-break: keep-all;
}

.chapter--dark .block-copy,
.chapter--charcoal .block-copy {
  color: var(--color-muted-dark);
}

.spec-wrap {
  width: min(100%, 46rem);
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.spec-table-caption {
  padding-bottom: var(--space-3);
  border-bottom: 1px solid currentColor;
  color: var(--color-muted-light);
  font-size: var(--type-label);
  font-weight: 760;
  letter-spacing: 0.16em;
  text-align: left;
  text-transform: uppercase;
}

.spec-table th,
.spec-table td {
  padding: var(--space-4) 0;
  border-bottom: 1px solid var(--color-line-light);
  vertical-align: baseline;
  word-break: keep-all;
}

.spec-table th {
  width: 40%;
  padding-right: var(--space-4);
  font-weight: 620;
  letter-spacing: -0.01em;
}

.spec-table td {
  color: var(--color-muted-light);
}

.chapter--dark .spec-table td,
.chapter--charcoal .spec-table td {
  color: var(--color-muted-dark);
}

.chapter--dark .spec-table :is(th, td),
.chapter--charcoal .spec-table :is(th, td) {
  border-bottom-color: var(--color-line-dark);
}

.spec-table sup {
  font-size: 0.7em;
  line-height: 0;
}

.spec-note {
  margin: var(--space-4) 0 0;
  color: var(--color-muted-light);
  font-size: 0.78rem;
  word-break: keep-all;
}

.chapter--dark .spec-note,
.chapter--charcoal .spec-note {
  color: var(--color-muted-dark);
}

.quarter-stack {
  display: grid;
  gap: clamp(3rem, 8vw, 7rem);
}

.media-quarter {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.5rem, 5vw, 4.5rem);
  align-items: center;
}

.media-quarter--flip .media-figure {
  order: 2;
}

.media-frame--quarter {
  aspect-ratio: 1;
}

.quarter-body {
  min-width: 0;
}

.quarter-title {
  margin: 0;
  font-size: 1rem;
  font-weight: 720;
  letter-spacing: 0.01em;
  line-height: 1.3;
  word-break: keep-all;
}

.quarter-copy {
  max-width: 40ch;
  margin: var(--space-3) 0 0;
  color: var(--color-muted-light);
  word-break: keep-all;
}

.quarter-sub {
  max-width: 40ch;
  margin: var(--space-2) 0 0;
  color: var(--color-muted-light);
  font-size: 0.85rem;
  word-break: keep-all;
}

.chapter--dark :is(.quarter-copy, .quarter-sub),
.chapter--charcoal :is(.quarter-copy, .quarter-sub) {
  color: var(--color-muted-dark);
}

.quarter-cue {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  min-height: 2.75rem;
  margin-top: var(--space-4);
  color: inherit;
  font-size: var(--type-label);
  font-weight: 760;
  letter-spacing: 0.14em;
  text-decoration: none;
  text-transform: uppercase;
}

.quarter-cue > span:first-child {
  border-bottom: 1px solid currentColor;
  padding-bottom: 0.15em;
}

.quarter-cue-arrow {
  transition: transform var(--motion-fast) var(--ease-out);
}

.quarter-cue:hover .quarter-cue-arrow {
  transform: translateX(0.3rem);
}

.faq-list {
  width: min(100%, 52rem);
  border-top: 1px solid var(--color-line-light);
}

.chapter--dark .faq-list,
.chapter--charcoal .faq-list {
  border-top-color: var(--color-line-dark);
}

.faq-item {
  border-bottom: 1px solid var(--color-line-light);
}

.chapter--dark .faq-item,
.chapter--charcoal .faq-item {
  border-bottom-color: var(--color-line-dark);
}

.faq-heading {
  margin: 0;
  font-size: inherit;
  font-weight: inherit;
}

.faq-trigger {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--space-4);
  width: 100%;
  min-height: 3.5rem;
  border: 0;
  background: transparent;
  color: inherit;
  padding: var(--space-4) 0;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.faq-question {
  max-width: 40ch;
  font-weight: 620;
  letter-spacing: -0.01em;
  line-height: 1.4;
  word-break: keep-all;
}

.faq-marker {
  flex: none;
  color: var(--chapter-accent);
  font-size: 1.15rem;
  line-height: 1;
}

.faq-marker::before {
  content: "+";
}

.faq-trigger[aria-expanded="true"] .faq-marker::before {
  content: "\2212";
}

.faq-panel {
  padding: 0 0 var(--space-5);
}

.faq-panel[hidden] {
  display: none;
}

.faq-panel p {
  max-width: 52ch;
  margin: 0;
  color: var(--color-muted-light);
  word-break: keep-all;
}

.chapter--dark .faq-panel p,
.chapter--charcoal .faq-panel p {
  color: var(--color-muted-dark);
}

.site-footer--archive {
  align-items: flex-end;
}

.footer-mark {
  display: grid;
  gap: var(--space-1);
}

.footer-phonetic {
  margin: 0;
  color: var(--color-muted-dark);
  font-family: var(--font-serif);
  font-size: 0.9rem;
  font-style: italic;
}

.footer-switch {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  min-height: 2.75rem;
  color: inherit;
  text-decoration: none;
}

.footer-switch-copy {
  font-size: 0.78rem;
  font-weight: 760;
  letter-spacing: 0.14em;
}

.footer-switch-arrow {
  display: inline-grid;
  width: 2.5rem;
  height: 2.5rem;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: var(--radius-pill);
  font-size: 1.1rem;
  transition: transform var(--motion-fast) var(--ease-out);
}

.footer-switch:hover .footer-switch-arrow {
  transform: translateX(0.3rem);
}

/* ---------------------------------------------------------------------------
   Colour switcher — one archive chapter for all colours. The choice is made
   with real side-view photographs, never a colour swatch, and the selected
   thumbnail is marked with a 2px ink border plus a text label. Monochrome only;
   no new colour or shadow tokens.
   --------------------------------------------------------------------------- */

.colour-picker {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(0.75rem, 2.5vw, 1.75rem);
  align-items: start;
  margin-bottom: clamp(2.5rem, 6vw, 4.5rem);
}

/* The button is exactly as wide as its photograph, so a two-word label wraps
   under the thumbnail instead of pushing the next colour onto a new row. */
.colour-option {
  display: grid;
  gap: var(--space-2);
  justify-items: center;
  width: clamp(5.5rem, 13vw, 9rem);
  border: 0;
  background: transparent;
  color: inherit;
  padding: 0;
  font: inherit;
  cursor: pointer;
}

.colour-option-shot {
  display: block;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 1;
  border: 1px solid var(--color-line-light);
  background: var(--color-paper);
  transition:
    border-color var(--motion-fast) var(--ease-out),
    border-width var(--motion-fast) var(--ease-out);
}

.colour-option-shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 52%;
}

.colour-option[aria-pressed="true"] .colour-option-shot {
  border: 2px solid var(--color-ink);
}

.colour-option-label {
  color: var(--color-muted-light);
  font-size: var(--type-label);
  font-weight: 760;
  letter-spacing: 0.14em;
  text-align: center;
  text-transform: uppercase;
  transition: color var(--motion-fast) var(--ease-out);
}

.colour-option[aria-pressed="true"] .colour-option-label {
  color: var(--color-ink);
}

.chapter--dark .colour-option-shot,
.chapter--charcoal .colour-option-shot {
  border-color: var(--color-line-dark);
}

.chapter--dark .colour-option[aria-pressed="true"] .colour-option-shot,
.chapter--charcoal .colour-option[aria-pressed="true"] .colour-option-shot {
  border-color: var(--color-white);
}

.chapter--dark .colour-option-label,
.chapter--charcoal .colour-option-label {
  color: var(--color-muted-dark);
}

.chapter--dark .colour-option[aria-pressed="true"] .colour-option-label,
.chapter--charcoal .colour-option[aria-pressed="true"] .colour-option-label {
  color: var(--color-white);
}

/* Every colour keeps its own <video> in the DOM so switching never re-downloads
   a clip. The author rule above sets `display: block`, so the hidden attribute
   needs an author-level match to win. */
.media-frame video[hidden] {
  display: none;
}

/* Stills share one <img> per slot; the src is swapped behind a 0.4s fade. */
.media-frame [data-colour-image] {
  transition: opacity 400ms var(--ease-out);
}

.media-frame [data-colour-image].is-swapping {
  opacity: 0;
}

.reveal {
  opacity: 0;
  transform: translateY(1.5rem);
  transition:
    opacity var(--motion-base) var(--ease-out),
    transform var(--motion-base) var(--ease-out);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes hero-settle {
  from {
    transform: scale(1.025);
    filter: saturate(0.9);
  }
  to {
    transform: scale(1);
    filter: saturate(1);
  }
}

@media (max-width: 64rem) {
  .section-header,
  .color-intro {
    grid-template-columns: 1fr;
  }

  .section-meta {
    max-width: 38rem;
  }

  .media-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .media-grid > :last-child:nth-child(odd) {
    grid-column: 1 / -1;
  }

  .detail-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .detail-grid > :last-child:nth-child(odd) {
    grid-column: 1 / -1;
  }

  .review-grid {
    grid-template-columns: 1fr;
  }

  .review-card:nth-child(3n) {
    grid-column: auto;
  }
}

@media (max-width: 44rem) {
  :root {
    --nav-height: 3.75rem;
  }

  .archive-nav {
    gap: var(--space-2);
  }

  .wordmark {
    font-size: 0.68rem;
    letter-spacing: 0.12em;
  }

  .nav-links {
    gap: var(--space-3);
  }

  .nav-link {
    font-size: 0.68rem;
  }

  .hero {
    min-height: 100svh;
  }

  .hero-media {
    object-position: 54% center;
  }

  .hero-inner {
    padding-bottom: var(--space-7);
  }

  .hero-copy {
    max-width: 21ch;
  }

  .statement {
    grid-template-columns: 1fr;
    gap: var(--space-3);
  }

  .statement-copy,
  .section-title,
  .product-switch-copy {
    letter-spacing: -0.045em;
  }

  .media-grid,
  .media-grid--feature,
  .detail-grid,
  .chapter-lead {
    grid-template-columns: 1fr;
  }

  .media-grid--feature > :first-child {
    grid-row: auto;
  }

  .media-grid > :last-child:nth-child(odd),
  .detail-grid > :last-child:nth-child(odd) {
    grid-column: auto;
  }

  .detail-grid > .media-figure:last-child {
    grid-column: 1;
  }

  .detail-grid > .media-figure:last-child .media-frame {
    aspect-ratio: 16 / 9;
  }

  .media-frame--mood {
    border-radius: var(--radius-small);
  }

  .product-switch {
    grid-template-columns: 1fr;
    min-height: 12rem;
  }

  .product-switch-arrow {
    justify-self: end;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .media-quarter {
    grid-template-columns: 1fr;
    gap: var(--space-5);
  }

  .media-quarter--flip .media-figure {
    order: 0;
  }

  .media-frame--quarter {
    aspect-ratio: 3 / 4;
  }

  .spec-table th {
    width: 45%;
    padding-right: var(--space-3);
  }

  .spec-table :is(th, td) {
    font-size: 0.95rem;
  }

  .faq-trigger {
    gap: var(--space-3);
  }
}

/* ---------------------------------------------------------------------------
   Sticky navigation — the archive nav is now the site's constant, so it rides
   in flow instead of floating over the hero. Paper ground and the 1px rule are
   permanent: the values match the old .is-solid state exactly, so the scroll
   threshold no longer changes anything and nothing shifts on load.
   --------------------------------------------------------------------------- */

.archive-nav {
  position: sticky;
  inset: auto;
  top: 0;
  background: color-mix(in srgb, var(--color-paper) 92%, transparent);
  color: var(--color-ink);
  border-bottom-color: var(--color-line-light);
  backdrop-filter: blur(1rem);
}

/* The nav no longer overlays the hero, so the hero copy does not need to clear
   it. Anchors and scrollIntoView do, though — otherwise a section title lands
   underneath the bar. */
html {
  scroll-padding-top: var(--nav-height);
}

/* Nav plus hero now share the first screen, so the hero gives the bar its
   height back and the scroll cue stays above the fold. */
.hero {
  min-height: calc(100svh - var(--nav-height));
}

.hero-inner {
  padding-top: var(--space-8);
}

/* ---------------------------------------------------------------------------
   Nav mini colour switcher — the same three photographs as the main picker,
   shrunk to thumbnails. It stays in the layout at all times and fades on
   visibility, so appearing and disappearing never reflows the bar. Selection
   uses the picker's regime: 1px hairline, 2px ink when pressed. No new colour,
   no shadow.
   --------------------------------------------------------------------------- */

.nav-colours {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity var(--motion-base) var(--ease-out),
    visibility var(--motion-base) var(--ease-out);
}

.nav-colours.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.nav-colour {
  display: block;
  overflow: hidden;
  width: 1.875rem;
  height: 1.875rem;
  flex: none;
  border: 1px solid var(--color-line-light);
  background: var(--color-paper);
  padding: 0;
  cursor: pointer;
  transition: border-color var(--motion-fast) var(--ease-out);
}

.nav-colour img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 52%;
}

.nav-colour[aria-pressed="true"] {
  border: 2px solid var(--color-ink);
}

/* A phone-width bar cannot carry the wordmark and three thumbnails side by
   side without breaking SUNDRIES ARCHIVE onto two lines, so the two share one
   slot: the wordmark fades out exactly as the miniature fades in. Nothing
   reflows, and RETRO / DREAMER 81 keep their place. */
@media (max-width: 44rem) {
  .nav-colours {
    position: absolute;
    top: 50%;
    left: var(--gutter);
    transform: translateY(-50%);
  }

  .archive-nav .wordmark {
    transition:
      opacity var(--motion-base) var(--ease-out),
      visibility var(--motion-base) var(--ease-out);
  }

  .archive-nav.has-nav-colours .wordmark {
    opacity: 0;
    visibility: hidden;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
