:root {
  --paper: #f5efe2;
  --paper-2: #fffaf0;
  --cream: #eadfc8;
  --charcoal: #282622;
  --muted: #756c60;
  --tomato: #b94332;
  --tomato-dark: #8f3026;
  --basil: #3f6f4a;
  --paprika: #c46b3a;
  --line: rgba(40, 38, 34, 0.18);
  --shadow: 0 18px 50px rgba(40, 38, 34, 0.12);
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--charcoal);
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.6;
}

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

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(245, 239, 226, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.nav {
  max-width: var(--max);
  margin: 0 auto;
  padding: 16px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.brand {
  text-decoration: none;
  font-weight: 800;
  letter-spacing: 0;
  font-size: 1.2rem;
}

.brand span {
  color: var(--tomato);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  font-family: Inter, Arial, sans-serif;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.nav-links a {
  text-decoration: none;
  color: var(--muted);
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--charcoal);
}

.nav-cta {
  border: 1px solid var(--charcoal);
  padding: 9px 13px;
  border-radius: 999px;
}

.section {
  padding: 78px 22px;
}

.section.tight {
  padding-top: 46px;
}

.inner {
  max-width: var(--max);
  margin: 0 auto;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--tomato);
  font-family: Inter, Arial, sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.73rem;
  font-weight: 800;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.02;
  font-weight: 700;
}

h1 {
  font-size: clamp(3rem, 9vw, 7.7rem);
  max-width: 920px;
}

h2 {
  font-size: clamp(2.2rem, 5vw, 5rem);
  max-width: 900px;
}

h3 {
  font-size: clamp(1.35rem, 2.2vw, 2rem);
}

p {
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.62;
}

.lead {
  color: var(--charcoal);
  font-size: clamp(1.18rem, 2vw, 1.55rem);
  max-width: 760px;
}

.hero {
  min-height: 760px;
  display: grid;
  align-items: stretch;
  background: var(--charcoal);
  color: var(--paper-2);
}

.hero-media {
  position: relative;
  min-height: 760px;
}

.hero-media img {
  width: 100%;
  height: 100%;
  min-height: 760px;
  object-fit: cover;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(40, 38, 34, 0.84), rgba(40, 38, 34, 0.42) 40%, rgba(40, 38, 34, 0.05) 72%);
}

.hero-content {
  position: absolute;
  inset: 0;
  max-width: var(--max);
  margin: 0 auto;
  padding: 86px 22px 72px;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

.hero p {
  color: rgba(255, 250, 240, 0.86);
}

.actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 22px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 11px 18px;
  border-radius: 999px;
  border: 1px solid var(--charcoal);
  background: var(--charcoal);
  color: var(--paper-2);
  font-family: Inter, Arial, sans-serif;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  text-decoration: none;
  font-weight: 800;
}

.button.alt {
  background: transparent;
  color: var(--charcoal);
}

.hero .button {
  background: var(--paper-2);
  color: var(--charcoal);
  border-color: var(--paper-2);
}

.hero .button.alt {
  background: transparent;
  color: var(--paper-2);
}

.grid {
  display: grid;
  gap: 24px;
}

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

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

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

.card {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}

.card-body {
  padding: 24px;
}

.card img {
  width: 100%;
  height: 280px;
  object-fit: cover;
}

.feature {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 42px;
  align-items: center;
}

.feature img {
  width: 100%;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.band {
  background: var(--charcoal);
  color: var(--paper-2);
}

.band p {
  color: rgba(255, 250, 240, 0.76);
}

.cream {
  background: var(--cream);
}

.stat-row,
.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.pill {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 12px;
  font-family: Inter, Arial, sans-serif;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.quote {
  border-left: 4px solid var(--tomato);
  padding-left: 22px;
  font-size: 1.45rem;
  color: var(--charcoal);
}

.kicker-list {
  display: grid;
  gap: 16px;
  margin-top: 26px;
}

.kicker {
  border-top: 1px solid var(--line);
  padding-top: 16px;
}

.kicker strong {
  display: block;
  font-family: Inter, Arial, sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.78rem;
  margin-bottom: 6px;
}

.page-hero {
  padding: 100px 22px 66px;
  border-bottom: 1px solid var(--line);
}

.page-hero .inner {
  display: grid;
  gap: 16px;
}

.split-list {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 38px;
  padding: 30px 0;
  border-top: 1px solid var(--line);
}

.mini {
  color: var(--muted);
  font-family: Inter, Arial, sans-serif;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.newsletter-box {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 24px;
  align-items: end;
  padding: 36px;
  border-radius: 8px;
  background: var(--paper-2);
  border: 1px solid var(--line);
}

form {
  display: grid;
  gap: 12px;
}

input,
select,
textarea {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 12px;
  background: var(--paper);
  color: var(--charcoal);
  font: inherit;
}

textarea {
  min-height: 120px;
}

.site-footer {
  padding: 58px 22px;
  background: #1f1d1a;
  color: var(--paper-2);
}

.footer-grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.35fr repeat(4, 1fr);
  gap: 28px;
}

.site-footer a,
.site-footer p {
  color: rgba(255, 250, 240, 0.74);
  text-decoration: none;
}

.site-footer nav {
  display: grid;
  gap: 8px;
}

.legal-copy {
  max-width: 840px;
}

.legal-copy h2 {
  font-size: clamp(2rem, 4vw, 4.25rem);
}

.placeholder-note {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
  background: var(--paper-2);
  color: var(--muted);
  font-family: Inter, Arial, sans-serif;
  font-size: 0.9rem;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 10px;
}

.skip-link:focus {
  left: 10px;
  z-index: 99;
  background: var(--paper-2);
  padding: 8px;
}

@media (max-width: 900px) {
  .nav {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav-links {
    flex-wrap: wrap;
  }

  .grid.two,
  .grid.three,
  .grid.four,
  .feature,
  .newsletter-box,
  .footer-grid,
  .split-list {
    grid-template-columns: 1fr;
  }

  .hero,
  .hero-media,
  .hero-media img {
    min-height: 700px;
  }

  .hero-media::after {
    background: linear-gradient(180deg, rgba(40, 38, 34, 0.84), rgba(40, 38, 34, 0.58), rgba(40, 38, 34, 0.18));
  }

  .hero-content {
    justify-content: flex-end;
  }
}

@media (max-width: 720px) {
  h1 {
    font-size: clamp(2.3rem, 11vw, 3.7rem);
  }

  h2 {
    font-size: clamp(1.82rem, 8.8vw, 2.85rem);
  }

  p {
    font-size: 1rem;
  }

  .hero,
  .hero-media,
  .hero-media img {
    min-height: 680px;
  }

  .hero-content {
    padding-top: 80px;
    padding-bottom: 54px;
  }

  body[data-page="home"] .hero-content h1 {
    font-size: clamp(2.85rem, 13vw, 4.75rem);
  }

  .newsletter-box {
    padding: 24px;
  }

  .discovery-tile,
  .discovery-tile img {
    min-height: 300px;
  }
}

@media (max-width: 560px) {
  .section {
    padding: 52px 18px;
  }

  .page-hero {
    padding: 66px 18px 42px;
  }

  .nav {
    padding: 14px 18px;
  }

  .nav-links {
    gap: 10px;
    font-size: 0.7rem;
  }

  .card img {
    height: 220px;
  }

  .actions,
  .button {
    width: 100%;
  }

  .button {
    text-align: center;
  }
}

/* Creative Direction V2.1: coffee-table cookbook rhythm, tactile imagery, trust before transactions. */
:root {
  --vellum: #fbf6ea;
  --ink-soft: rgba(40, 38, 34, 0.72);
}

body {
  text-rendering: optimizeLegibility;
}

.section {
  padding-top: 84px;
  padding-bottom: 84px;
}

h1 {
  font-size: clamp(2.9rem, 7.8vw, 7.35rem);
  max-width: 980px;
  letter-spacing: 0;
  line-height: 1.02;
}

h2 {
  font-size: clamp(1.95rem, 4.15vw, 4.45rem);
  letter-spacing: 0;
  line-height: 1.03;
}

.lead {
  font-size: clamp(1.16rem, 1.75vw, 1.48rem);
  line-height: 1.5;
}

.hero,
.hero-media,
.hero-media img {
  min-height: 880px;
}

.hero-content {
  padding-top: 116px;
  padding-bottom: 94px;
}

.chapter {
  display: grid;
  grid-template-columns: 0.62fr 1.38fr;
  gap: 52px;
  align-items: start;
}

.chapter-number {
  font-family: Inter, Arial, sans-serif;
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--tomato);
  position: sticky;
  top: 96px;
}

.editorial-copy {
  max-width: 820px;
}

.editorial-copy p {
  font-size: clamp(1.12rem, 1.55vw, 1.34rem);
  line-height: 1.62;
}

.image-run {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  align-items: start;
}

.image-run img,
.wide-photo {
  width: 100%;
  border-radius: 8px;
  box-shadow: var(--shadow);
  object-fit: cover;
}

.image-run img {
  aspect-ratio: 4 / 3;
}

.caption {
  margin-top: 12px;
  max-width: 520px;
  color: var(--muted);
  font-family: Inter, Arial, sans-serif;
  font-size: 0.82rem;
  line-height: 1.45;
}

.quiet-link {
  font-family: Inter, Arial, sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.78rem;
  font-weight: 800;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
}

.card {
  transition: transform 260ms ease, box-shadow 260ms ease, border-color 260ms ease;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: rgba(185, 67, 50, 0.35);
}

.feature.loose {
  gap: 52px;
}

.vellum {
  background: var(--vellum);
}

.page-hero {
  padding-top: 92px;
  padding-bottom: 58px;
  background: linear-gradient(180deg, var(--paper), var(--vellum));
}

.page-hero h1 {
  font-size: clamp(2.55rem, 5.25vw, 5.15rem);
  max-width: 880px;
}

.page-hero .lead {
  max-width: 760px;
}

.section-note {
  max-width: 760px;
  margin-top: 10px;
  color: var(--ink-soft);
}

.editorial-panel {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 34px 0;
}

.discovery-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 18px;
  margin-top: 30px;
}

.discovery-tile {
  position: relative;
  min-height: 360px;
  overflow: hidden;
  border-radius: 8px;
  background: var(--charcoal);
  color: var(--paper-2);
}

.discovery-tile img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
  opacity: 0.78;
  transition: transform 360ms ease, opacity 360ms ease;
}

.discovery-tile:hover img {
  transform: scale(1.03);
  opacity: 0.88;
}

.discovery-tile div {
  position: absolute;
  inset: auto 0 0;
  padding: 24px;
  background: linear-gradient(180deg, rgba(40, 38, 34, 0), rgba(40, 38, 34, 0.78));
}

.discovery-tile p,
.discovery-tile h3,
.band h2,
.band h3 {
  color: var(--paper-2);
}

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

.card .quiet-link {
  display: inline-block;
  margin-top: 8px;
}

.button,
.quiet-link,
.nav-links a {
  transition: color 180ms ease, background-color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.button:hover {
  transform: translateY(-1px);
  background: var(--tomato-dark);
  border-color: var(--tomato-dark);
}

.button.alt:hover {
  color: var(--tomato-dark);
  border-color: var(--tomato-dark);
  background: transparent;
}

body[data-page="home"] .hero,
body[data-page="home"] .hero-media,
body[data-page="home"] .hero-media img {
  min-height: clamp(560px, 56.25vw, 880px);
}

body[data-page="home"] .hero-media {
  aspect-ratio: 16 / 9;
}

body[data-page="home"] .hero-media::after {
  background:
    radial-gradient(ellipse at 25% 50%, rgba(31, 29, 26, 0.52) 0%, rgba(31, 29, 26, 0.34) 34%, rgba(31, 29, 26, 0) 63%),
    linear-gradient(90deg, rgba(40, 38, 34, 0.54), rgba(40, 38, 34, 0.28) 42%, rgba(40, 38, 34, 0.05) 76%);
}

body[data-page="home"] .hero-content h1 {
  max-width: 980px;
  font-size: clamp(3.4rem, 10vw, 9.3rem);
  line-height: 0.98;
  color: #fffdf7;
  text-shadow:
    0 2px 9px rgba(0, 0, 0, 0.54),
    0 16px 44px rgba(0, 0, 0, 0.4);
}

body[data-page="home"] .hero-content .lead {
  max-width: 720px;
  color: rgba(255, 253, 247, 0.98);
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.36);
}

body[data-page="home"] .hero .eyebrow {
  color: rgba(255, 250, 240, 0.92);
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.3);
}

body[data-page="home"] .hero .button {
  min-height: 48px;
  padding: 13px 21px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
}

body[data-page="home"] .hero .button.alt {
  border-color: rgba(255, 250, 240, 0.9);
  background: rgba(255, 250, 240, 0.12);
}

body[data-page="books"] .page-hero .inner {
  gap: 12px;
}

body[data-page="books"] .page-hero .section-note {
  margin-top: 0;
}

body[data-page="home"] .home-recipe-grid {
  gap: 32px;
}

body[data-page="home"] .home-recipe-grid .card img {
  aspect-ratio: 4 / 5;
  height: auto;
  object-fit: cover;
  object-position: center;
}

body[data-page="home"] .home-recipe-grid .card-body {
  min-height: 310px;
  padding: 28px;
}

body[data-page="home"] .band .feature > img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

body[data-page="recipes"] .feature.loose > img,
body[data-page="gear"] .feature.loose > img,
body[data-page="community"] .feature.loose > img,
body[data-page="learn"] .feature.loose > img {
  aspect-ratio: 4 / 3;
  max-height: 430px;
  object-fit: cover;
  object-position: center;
}

body[data-page="recipes"] .card img {
  aspect-ratio: 4 / 5;
  height: auto;
  object-fit: cover;
  object-position: center;
}

body[data-page="recipes"] .page-hero h1 {
  max-width: 820px;
}

body[data-page="gear"] .page-hero h1,
body[data-page="apparel"] .page-hero h1,
body[data-page="community"] .page-hero h1,
body[data-page="learn"] .page-hero h1 {
  max-width: 840px;
}

/* Apparel artwork catalog */
.apparel-hero {
  background:
    radial-gradient(circle at 78% 22%, rgba(196, 107, 58, 0.17), transparent 28%),
    linear-gradient(135deg, var(--paper-2), var(--cream));
}

.apparel-library-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 24px;
}

.apparel-count {
  margin: 0 0 8px;
  color: var(--muted);
  font-family: Inter, Arial, sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.apparel-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 30px 0 36px;
}

.apparel-filter {
  appearance: none;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper-2);
  color: var(--charcoal);
  cursor: pointer;
  padding: 10px 16px;
  font: 700 0.76rem/1 Inter, Arial, sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

.apparel-filter:hover,
.apparel-filter:focus-visible,
.apparel-filter.is-active {
  border-color: var(--charcoal);
  background: var(--charcoal);
  color: var(--paper-2);
}

.apparel-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.apparel-art-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--paper-2);
  box-shadow: 0 10px 30px rgba(40, 38, 34, 0.08);
  cursor: pointer;
  text-align: left;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.apparel-art-card:hover,
.apparel-art-card:focus-visible {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  outline: none;
}

.apparel-art-card-image {
  display: grid;
  place-items: center;
  min-height: 238px;
  padding: 12px;
  background: #737873;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.16);
  overflow: hidden;
}

.apparel-art-card img {
  width: min(100%, 220px);
  height: 220px;
  aspect-ratio: 1;
  object-fit: contain;
  filter: drop-shadow(0 2px 1px rgba(20, 18, 16, 0.2));
}

.apparel-card-character-label {
  margin-top: 8px !important;
  color: var(--tomato);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.apparel-art-card-body {
  padding: 14px 16px 16px;
  border-top: 1px solid var(--line);
}

.apparel-art-card-body h3 {
  margin: 2px 0 6px;
  font-size: 1.08rem;
  line-height: 1.15;
}

.apparel-art-card-body p {
  margin: 0;
  color: var(--muted);
  font-family: Inter, Arial, sans-serif;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

.apparel-load-more {
  display: block;
  margin: 34px auto 0;
}

.apparel-load-more[hidden] {
  display: none;
}

.apparel-how {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 60px;
  align-items: start;
}

.apparel-how ol {
  display: grid;
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: apparel-step;
}

.apparel-how li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 4px 16px;
  counter-increment: apparel-step;
}

.apparel-how li::before {
  grid-row: span 2;
  content: counter(apparel-step);
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--tomato);
  color: white;
  font: 800 0.85rem/1 Inter, Arial, sans-serif;
}

.apparel-how span {
  color: var(--muted);
}

.apparel-dialog {
  width: min(1060px, calc(100% - 32px));
  max-height: calc(100vh - 32px);
  overflow: auto;
  padding: 0;
  border: 0;
  border-radius: 22px;
  background: var(--paper-2);
  color: var(--charcoal);
  box-shadow: 0 30px 100px rgba(20, 18, 16, 0.5);
}

.apparel-dialog::backdrop {
  background: rgba(28, 25, 22, 0.76);
  backdrop-filter: blur(4px);
}

.dialog-close {
  position: absolute;
  z-index: 2;
  top: 14px;
  right: 14px;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--paper-2);
  cursor: pointer;
  font-size: 1.7rem;
  line-height: 1;
}

.configurator-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 650px;
}

.configurator-preview {
  display: grid;
  place-items: center;
  padding: 55px;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 35%, #f9f5ec, #d9d2c5 68%, #c2b9aa);
}

.apparel-opening .inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(24px, 3vw, 42px);
}

.apparel-opening-copy h1 {
  max-width: none;
  margin: 0 0 14px;
  color: #fff9ef;
  font-size: clamp(2.25rem, 4vw, 4.5rem);
  white-space: nowrap;
}

.apparel-opening-lead {
  max-width: 760px;
  margin: 0;
  color: #d7cfc2;
  font-size: clamp(1rem, 1.45vw, 1.25rem);
  line-height: 1.65;
}

.apparel-opening-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 3vw, 42px);
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: apparel-opening-step;
}

.apparel-opening-steps li {
  display: grid;
  grid-template-columns: 46px 1fr;
  column-gap: 15px;
  align-items: center;
  counter-increment: apparel-opening-step;
}

.apparel-opening-steps li::before {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #c84634;
  color: white;
  font: 800 1rem/1 Inter, Arial, sans-serif;
  content: counter(apparel-opening-step);
  grid-row: 1 / span 2;
}

.apparel-opening-steps strong,
.apparel-opening-steps span {
  grid-column: 2;
}

.apparel-opening-steps strong {
  color: #fff9ef;
  font-size: 1.08rem;
}

.apparel-opening-steps span {
  color: #aaa194;
  line-height: 1.45;
}

.apparel-opening-note {
  max-width: 900px;
  margin: -8px 0 0;
  color: #8f877c;
  font-size: 0.88rem;
  line-height: 1.55;
}

.apparel-family-image {
  width: 100%;
  margin: 0;
  overflow: hidden;
  border-radius: 24px;
  box-shadow: 0 24px 54px rgba(50, 39, 28, 0.16);
}

.apparel-family-image img {
  display: block;
  width: 100%;
  height: auto;
}

.slice-crew-feature {
  overflow: hidden;
  background:
    radial-gradient(circle at 80% 20%, rgba(198, 70, 52, 0.16), transparent 36%),
    #171b20;
  color: #f8edda;
}

.slice-crew-feature .inner {
  display: grid;
  grid-template-columns: minmax(260px, 0.58fr) minmax(0, 1.42fr);
  gap: clamp(30px, 5vw, 72px);
  align-items: center;
}

.slice-crew-feature-copy h2 {
  margin: 0 0 12px;
  color: #fff6e8;
  font-size: clamp(3rem, 6vw, 6rem);
}

.slice-crew-feature-copy > p:not(.eyebrow) {
  margin: 0 0 28px;
  color: #cfc4b2;
  font-size: clamp(1.1rem, 1.7vw, 1.4rem);
}

.slice-crew-marquee {
  overflow-x: auto;
  overflow-y: hidden;
  padding: 10px 0 14px;
  cursor: grab;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 246, 232, 0.32) transparent;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}

.slice-crew-marquee:active {
  cursor: grabbing;
}

.slice-crew-marquee-track {
  display: flex;
  width: max-content;
  gap: 14px;
  animation: sliceCrewMarquee 44s linear infinite;
}

.slice-crew-marquee:hover .slice-crew-marquee-track,
.slice-crew-marquee:focus-within .slice-crew-marquee-track {
  animation-play-state: paused;
}

.slice-crew-marquee img {
  display: block;
  width: clamp(178px, 18vw, 255px);
  height: clamp(178px, 18vw, 255px);
  aspect-ratio: 1;
  object-fit: contain;
  border: 1px solid rgba(255, 246, 232, 0.12);
  border-radius: 16px;
  background: #283646;
  flex: 0 0 auto;
  padding: 4px;
}

@keyframes sliceCrewMarquee {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(calc(-50% - 7px));
  }
}

.slice-crew-chapter-browser {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin: 0.85rem 0 1.4rem;
  padding: 0.85rem;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: #fffaf0;
}

.slice-crew-chapter-browser[hidden] {
  display: none;
}

.apparel-card-chapter {
  margin-top: 0.35rem;
  color: var(--tomato);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.apparel-card-description {
  color: var(--muted);
  display: -webkit-box;
  font-size: 0.78rem;
  line-height: 1.35;
  text-transform: none;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

@media (max-width: 820px) {
  .apparel-opening-copy h1 {
    white-space: normal;
  }

  .apparel-opening-steps {
    grid-template-columns: 1fr;
  }

  .slice-crew-feature .inner {
    grid-template-columns: 1fr;
  }
}

.configurator-stage {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
}

.preview-caption {
  position: absolute;
  z-index: 8;
  right: 12px;
  bottom: -36px;
  left: 12px;
  margin: 0;
  color: #655f56;
  font: 700 0.68rem/1.3 Inter, Arial, sans-serif;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.garment-preview {
  --fabric: #1d1c1a;
  position: relative;
  width: min(100%, 440px);
  aspect-ratio: 4 / 5;
  filter: drop-shadow(0 20px 22px rgba(40, 32, 25, 0.24));
}

.garment-body,
.garment-sleeve,
.garment-hood,
.garment-collar,
.garment-pocket {
  position: absolute;
  display: block;
  background: var(--fabric);
  transition: background 180ms ease, clip-path 180ms ease, inset 180ms ease;
}

.garment-body {
  z-index: 1;
  inset: 14% 19% 5%;
  border-radius: 7% 7% 4% 4%;
  box-shadow:
    inset 11px 0 14px rgba(255, 255, 255, 0.055),
    inset -11px 0 14px rgba(0, 0, 0, 0.09);
  clip-path: polygon(16% 0, 36% 5%, 64% 5%, 84% 0, 100% 12%, 93% 100%, 7% 100%, 0 12%);
}

.garment-sleeve {
  z-index: 0;
  top: 14%;
  width: 29%;
  height: 31%;
}

.garment-sleeve-left {
  left: 2%;
  clip-path: polygon(43% 0, 100% 11%, 83% 100%, 0 76%);
}

.garment-sleeve-right {
  right: 2%;
  clip-path: polygon(0 11%, 57% 0, 100% 76%, 17% 100%);
}

.garment-collar {
  z-index: 3;
  top: 14.2%;
  left: 42%;
  width: 16%;
  height: 7%;
  border-radius: 0 0 50% 50%;
  background: color-mix(in srgb, var(--fabric), black 16%);
  box-shadow: inset 0 -3px 0 rgba(255, 255, 255, 0.08);
}

.garment-hood,
.garment-pocket {
  display: none;
}

.garment-preview img {
  position: absolute;
  z-index: 4;
  top: 27%;
  left: 27%;
  width: 46%;
  height: 50%;
  object-fit: contain;
  filter: drop-shadow(0 2px 1px rgba(0, 0, 0, 0.16));
  transition: inset 180ms ease, width 180ms ease, height 180ms ease;
}

.model-preview {
  --art-top: 30%;
  --art-left: 38%;
  --art-width: 24%;
  position: relative;
  width: min(100%, 440px);
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border-radius: 16px;
  background: #ddd7cd;
  box-shadow: 0 20px 38px rgba(40, 32, 25, 0.22);
}

.model-preview-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.model-preview-art {
  position: absolute;
  z-index: 3;
  top: var(--art-top);
  left: var(--art-left);
  width: var(--art-width);
  height: auto;
  max-height: 27%;
  object-fit: contain;
  filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.2));
  pointer-events: none;
}

.garment-long-sleeve .garment-sleeve {
  top: 14%;
  width: 31%;
  height: 69%;
}

.garment-long-sleeve .garment-sleeve-left {
  left: -1%;
  clip-path: polygon(43% 0, 100% 6%, 70% 100%, 36% 96%, 0 43%);
}

.garment-long-sleeve .garment-sleeve-right {
  right: -1%;
  clip-path: polygon(0 6%, 57% 0, 100% 43%, 64% 96%, 30% 100%);
}

.garment-hoodie .garment-body,
.garment-crew-neck .garment-body {
  inset: 17% 17% 4%;
  clip-path: polygon(17% 0, 37% 5%, 63% 5%, 83% 0, 100% 10%, 94% 100%, 6% 100%, 0 10%);
}

.garment-hoodie .garment-sleeve,
.garment-crew-neck .garment-sleeve {
  top: 17%;
  width: 32%;
  height: 70%;
}

.garment-hoodie .garment-sleeve-left,
.garment-crew-neck .garment-sleeve-left {
  left: -2%;
  clip-path: polygon(44% 0, 100% 5%, 72% 100%, 37% 96%, 0 40%);
}

.garment-hoodie .garment-sleeve-right,
.garment-crew-neck .garment-sleeve-right {
  right: -2%;
  clip-path: polygon(0 5%, 56% 0, 100% 40%, 63% 96%, 28% 100%);
}

.garment-hoodie .garment-hood {
  display: block;
  z-index: 0;
  top: 2%;
  left: 33%;
  width: 34%;
  height: 26%;
  border-radius: 48% 48% 22% 22%;
  box-shadow: inset 0 0 0 10px rgba(0, 0, 0, 0.12);
}

.garment-hoodie .garment-pocket {
  display: block;
  z-index: 5;
  left: 36%;
  bottom: 10%;
  width: 28%;
  height: 13%;
  border-radius: 12px 12px 28px 28px;
  background: color-mix(in srgb, var(--fabric), white 4%);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.garment-hoodie .garment-collar {
  display: none;
}

.garment-hoodie img {
  top: 29%;
  height: 42%;
}

.garment-crew-neck .garment-collar {
  top: 17.2%;
  width: 18%;
  left: 41%;
  height: 6%;
}

.garment-muscle-shirt .garment-sleeve {
  display: none;
}

.garment-muscle-shirt .garment-body {
  inset: 12% 23% 4%;
  clip-path: polygon(19% 0, 36% 5%, 64% 5%, 81% 0, 100% 15%, 89% 35%, 91% 100%, 9% 100%, 11% 35%, 0 15%);
}

.garment-muscle-shirt .garment-collar {
  top: 12.2%;
}

.garment-muscle-shirt img {
  top: 25%;
  left: 30%;
  width: 40%;
}

/* Asset-based garment renderer: color, fabric detail, and artwork remain separate layers. */
.garment-preview {
  --garment-mask: none;
  --print-top: 29%;
  --print-left: 34%;
  --print-width: 32%;
  --print-height: 37%;
  filter: none;
}

.garment-preview .garment-color-layer,
.garment-preview .garment-texture-layer,
.garment-preview .garment-highlight-layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  pointer-events: none;
}

.garment-preview .garment-color-layer {
  z-index: 1;
  background: var(--fabric);
  -webkit-mask-image: var(--garment-mask);
  mask-image: var(--garment-mask);
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  filter:
    drop-shadow(0 2px 1px rgba(39, 31, 24, 0.3))
    drop-shadow(0 20px 22px rgba(40, 32, 25, 0.24));
  transition: background 180ms ease;
}

.garment-preview .garment-texture-layer {
  z-index: 2;
  opacity: 0.5;
  mix-blend-mode: multiply;
  filter: contrast(1.18);
}

.garment-preview .garment-highlight-layer {
  z-index: 3;
  opacity: 0.18;
  mix-blend-mode: screen;
  filter: grayscale(1) contrast(1.75) brightness(1.18);
}

.garment-preview.is-light-garment .garment-texture-layer {
  opacity: 0.58;
}

.garment-preview.is-light-garment .garment-highlight-layer {
  opacity: 0.1;
}

.garment-preview .garment-artwork,
.garment-hoodie .garment-artwork,
.garment-muscle-shirt .garment-artwork {
  position: absolute;
  z-index: 4;
  top: var(--print-top);
  left: var(--print-left);
  width: var(--print-width);
  height: var(--print-height);
  object-fit: contain;
  filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.16));
  transition: inset 180ms ease, width 180ms ease, height 180ms ease;
}

.configurator-preview {
  background:
    radial-gradient(circle at 50% 38%, #f5f1e9 0, #ddd6ca 68%, #c9c0b2 100%);
}

.matrix-page {
  background: #f5f1e9;
}

.matrix-shell {
  width: min(1500px, calc(100% - 32px));
  margin: 0 auto;
  padding: 40px 0 80px;
}

.matrix-shell h1 {
  margin-bottom: 10px;
}

.matrix-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 24px 0 36px;
}

.matrix-controls label,
.matrix-controls button {
  padding: 10px 14px;
  border: 1px solid #aaa196;
  border-radius: 8px;
  background: white;
}

.matrix-design {
  margin-bottom: 48px;
}

.matrix-design > h2,
.matrix-design > p {
  margin-bottom: 6px;
}

.matrix-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(150px, 1fr));
  gap: 10px;
  margin-top: 18px;
}

.matrix-card {
  padding: 9px;
  border: 1px solid #cec6ba;
  border-radius: 10px;
  background: white;
  font: 700 0.68rem/1.3 Inter, Arial, sans-serif;
}

.matrix-card[data-variant-missing="true"] {
  border-color: #d99b44;
}

.matrix-card small {
  display: block;
  margin-top: 4px;
  color: #9b541c;
}

.matrix-garment {
  position: relative;
  aspect-ratio: 1;
  margin-bottom: 6px;
  background: #e8e2d8;
}

.matrix-color,
.matrix-texture {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.matrix-color {
  background: var(--fabric);
  mask: var(--mask) center / contain no-repeat;
}

.matrix-texture {
  opacity: 0.48;
  mix-blend-mode: multiply;
}

.matrix-art {
  position: absolute;
  object-fit: contain;
}

@media (max-width: 900px) {
  .matrix-grid {
    grid-template-columns: repeat(3, minmax(130px, 1fr));
  }
}

.configurator-content {
  padding: 50px 46px;
}

.configurator-content h2 {
  margin-bottom: 8px;
}

.configurator-status {
  display: inline-block;
  margin: 0 0 16px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(185, 67, 50, 0.1);
  color: var(--tomato-dark);
  font: 800 0.68rem/1 Inter, Arial, sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.character-bio {
  display: grid;
  grid-template-columns: 152px 1fr;
  align-items: center;
  gap: 16px;
  margin: 0 0 24px;
  padding: 12px 16px 12px 12px;
  border: 1px solid rgba(185, 67, 50, 0.18);
  border-left: 4px solid var(--tomato);
  border-radius: 12px;
  background: #fff6ea;
  box-shadow: 0 10px 22px rgba(40, 38, 34, 0.055);
}

.character-bio[hidden] {
  display: none;
}

.character-bio-label {
  margin: 0 0 6px;
  color: var(--tomato-dark);
  font: 800 0.68rem/1 Inter, Arial, sans-serif;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.character-bio-art {
  width: 152px;
  height: 152px;
  object-fit: contain;
  background: transparent;
  filter: drop-shadow(0 8px 10px rgba(40, 38, 34, 0.18));
}

.character-bio-text {
  margin: 0;
  color: var(--charcoal);
  font-size: 0.9rem;
  line-height: 1.42;
}

.configurator-content fieldset {
  margin: 0 0 25px;
  padding: 0;
  border: 0;
}

.configurator-content legend {
  margin-bottom: 12px;
  font-weight: 700;
}

.choice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
}

.model-options {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 7px;
}

.model-choice {
  display: grid;
  gap: 5px;
  justify-items: center;
  min-width: 0;
  padding: 5px 3px 7px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: white;
  color: var(--charcoal);
  cursor: pointer;
  font: 700 0.58rem/1 Inter, Arial, sans-serif;
}

.model-choice img,
.model-choice-garment {
  width: 44px;
  height: 52px;
  border-radius: 7px;
  object-fit: cover;
  object-position: top center;
  background: #ece7dd;
}

.model-choice-garment {
  display: grid;
  place-items: center;
  background: var(--charcoal);
  color: white;
  font: 700 1.2rem/1 Georgia, serif;
}

.model-choice.is-selected {
  border-color: var(--tomato);
  box-shadow: inset 0 0 0 1px var(--tomato);
  color: var(--tomato-dark);
}

.garment-choice {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: white;
  cursor: pointer;
  padding: 11px 12px;
  color: var(--charcoal);
  font: 700 0.78rem/1.2 Inter, Arial, sans-serif;
}

.garment-choice.is-selected {
  border-color: var(--tomato);
  box-shadow: inset 0 0 0 1px var(--tomato);
  color: var(--tomato-dark);
}

.garment-choice:disabled,
.color-choice:disabled {
  cursor: not-allowed;
  opacity: 0.28;
}

.garment-choice:disabled:hover,
.garment-choice:disabled:focus-visible {
  border-color: var(--line);
  box-shadow: none;
  color: var(--charcoal);
}

.color-options {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.color-choice {
  position: relative;
  width: 42px;
  height: 42px;
  border: 3px solid var(--paper-2);
  border-radius: 50%;
  background: var(--swatch);
  box-shadow: 0 0 0 1px var(--line);
  cursor: pointer;
}

.color-choice.is-selected {
  box-shadow: 0 0 0 2px var(--tomato);
}

.color-choice:disabled {
  cursor: not-allowed;
  opacity: 0.24;
}

.color-choice:disabled::after {
  position: absolute;
  inset: 3px 18px;
  border-radius: 999px;
  background: #8f2f26;
  content: "";
  transform: rotate(45deg);
}

.color-choice span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.size-options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.size-choice {
  min-width: 48px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: white;
  color: var(--charcoal);
  cursor: pointer;
  font: 750 0.76rem/1 Inter, Arial, sans-serif;
}

.size-choice.is-selected {
  border-color: var(--tomato);
  box-shadow: inset 0 0 0 1px var(--tomato);
  color: var(--tomato-dark);
}

.quantity-control {
  display: inline-grid;
  grid-template-columns: 42px 62px 42px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: white;
}

.quantity-control button,
.quantity-control input {
  min-height: 42px;
  border: 0;
  background: white;
  color: var(--charcoal);
  text-align: center;
  font: 750 0.9rem/1 Inter, Arial, sans-serif;
}

.quantity-control button {
  cursor: pointer;
  font-size: 1.25rem;
}

.quantity-control button:disabled {
  cursor: not-allowed;
  opacity: 0.28;
}

.quantity-control input {
  width: 62px;
  border-right: 1px solid var(--line);
  border-left: 1px solid var(--line);
  appearance: textfield;
}

.quantity-control input::-webkit-inner-spin-button,
.quantity-control input::-webkit-outer-spin-button {
  margin: 0;
  appearance: none;
}

.configurator-cart-button {
  margin: 0 8px 10px 0;
}

.configurator-cart-button:disabled {
  cursor: not-allowed;
  opacity: 0.48;
}

.option-note {
  margin: 10px 0 18px;
  color: var(--muted);
  font-family: Inter, Arial, sans-serif;
  font-size: 0.76rem;
}

.selection-summary {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin: 0 0 20px;
  padding: 15px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  font-family: Inter, Arial, sans-serif;
  font-size: 0.82rem;
}

.selection-summary span {
  color: var(--muted);
}

@media (max-width: 980px) {
  .apparel-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .configurator-layout {
    grid-template-columns: 0.85fr 1.15fr;
  }
}

@media (max-width: 900px) {
  .chapter,
  .image-run,
  .discovery-row {
    grid-template-columns: 1fr;
  }

  .chapter-number {
    position: static;
  }

  .hero,
  .hero-media,
  .hero-media img {
    min-height: 760px;
  }

  .apparel-how,
  .configurator-layout {
    grid-template-columns: 1fr;
  }

  .configurator-preview {
    min-height: 420px;
  }
}

@media (max-width: 720px) {
  h1 {
    font-size: clamp(2.3rem, 11vw, 3.7rem);
  }

  h2 {
    font-size: clamp(1.72rem, 7.8vw, 2.55rem);
  }

  .page-hero h1 {
    font-size: clamp(2.02rem, 8.8vw, 3.12rem);
  }

  .lead {
    font-size: clamp(1.05rem, 4.8vw, 1.24rem);
  }

  body[data-page="home"] .hero-content h1 {
    font-size: clamp(2.85rem, 13vw, 4.75rem);
  }

  .apparel-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

  .apparel-library-head {
    display: block;
  }

  .apparel-art-card-image {
    min-height: 210px;
    padding: 12px;
  }

  .apparel-art-card img {
    width: min(100%, 180px);
    height: 180px;
  }

  .apparel-art-card-body {
    padding: 13px 14px 15px;
  }

  .apparel-art-card-body h3 {
    font-size: 1rem;
  }

  .configurator-content {
    padding: 34px 24px;
  }

  .configurator-preview {
    min-height: 340px;
    padding: 35px;
  }

  .model-options {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .section {
    padding-top: 46px;
    padding-bottom: 46px;
  }

  .page-hero {
    padding-top: 58px;
    padding-bottom: 36px;
  }

  .feature.loose {
    gap: 34px;
  }

  .section-note {
    margin-top: 6px;
  }
}
