:root {
  --ink: #11100d;
  --ink-soft: #2a241f;
  --ivory: #fffdf8;
  --cream: #f5efe3;
  --gold: #c9a45b;
  --gold-soft: #ead8ad;
  --muted: #716a62;
  --line: rgba(17, 16, 13, 0.14);
  --dark-line: rgba(255, 253, 248, 0.16);
  --radius: 8px;
  --shadow: 0 24px 70px rgba(17, 16, 13, 0.22);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 22px;
  min-height: 76px;
  padding: 14px clamp(18px, 3vw, 42px);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 253, 248, 0.93);
  backdrop-filter: blur(18px);
}

.nav,
.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}

.nav {
  flex-wrap: wrap;
}

.header-actions {
  justify-content: flex-end;
}

.brand {
  display: grid;
  gap: 2px;
  justify-items: center;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 32px;
  font-weight: 700;
  line-height: 0.92;
}

.brand small {
  color: var(--muted);
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.language-control {
  display: inline-flex;
}

.language-select {
  min-height: 36px;
  max-width: 118px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--ivory);
  color: var(--ink);
  font: inherit;
}

.is-current {
  color: var(--gold);
}

.detail-hero {
  position: relative;
  min-height: 620px;
  display: grid;
  align-items: end;
  overflow: hidden;
  background: var(--ink);
  color: var(--ivory);
}

.detail-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(17, 16, 13, 0.92), rgba(17, 16, 13, 0.52) 42%, rgba(17, 16, 13, 0.12)),
    linear-gradient(0deg, rgba(17, 16, 13, 0.88), transparent 48%);
}

.detail-hero > img {
  position: absolute;
  inset: 0;
  opacity: 0.82;
}

.hero-inner,
.section-inner,
.footer-inner {
  width: min(100% - 44px, 1180px);
  margin: 0 auto;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 20px;
  padding: 136px 0 76px;
}

.eyebrow {
  margin: 0;
  color: var(--gold);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin: 0;
}

h1 {
  max-width: 760px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(52px, 8vw, 110px);
  line-height: 0.86;
  letter-spacing: 0;
}

h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(34px, 5vw, 64px);
  line-height: 0.95;
  letter-spacing: 0;
}

h3 {
  font-size: 28px;
  line-height: 1;
}

.lead {
  max-width: 720px;
  color: rgba(255, 253, 248, 0.78);
  font-size: clamp(17px, 2vw, 22px);
  line-height: 1.55;
}

.section .lead {
  color: var(--muted);
}

.section.dark .lead {
  color: rgba(255, 253, 248, 0.72);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border: 1px solid currentColor;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.btn-primary {
  border-color: var(--gold);
  background: var(--gold);
  color: var(--ink);
}

.btn-outline {
  color: inherit;
}

.btn-dark {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--ivory);
}

.section {
  padding: 84px 0;
}

.section.dark {
  background: var(--ink);
  color: var(--ivory);
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(300px, 0.7fr);
  gap: 24px;
  align-items: end;
  margin-bottom: 32px;
}

.detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.78fr);
  gap: 24px;
  align-items: stretch;
}

.detail-grid.reverse {
  grid-template-columns: minmax(340px, 0.78fr) minmax(0, 1.05fr);
}

.copy-panel,
.media-panel,
.info-card,
.cta-band {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--ivory);
  box-shadow: 0 18px 55px rgba(17, 16, 13, 0.08);
}

.section.dark .copy-panel,
.section.dark .media-panel,
.section.dark .info-card,
.section.dark .cta-band {
  border-color: var(--dark-line);
  background: #17130f;
  box-shadow: none;
}

.copy-panel {
  display: grid;
  align-content: center;
  gap: 18px;
  padding: 32px;
}

.copy-panel p,
.info-card p,
.step-card p,
.spec-card span {
  color: var(--muted);
  line-height: 1.6;
}

.section.dark .copy-panel p,
.section.dark .info-card p,
.section.dark .step-card p,
.section.dark .spec-card span {
  color: rgba(255, 253, 248, 0.7);
}

.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.badge {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.section.dark .badge {
  border-color: var(--dark-line);
  color: var(--gold-soft);
}

.spec-grid,
.card-grid,
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.spec-card,
.step-card,
.info-card {
  padding: 22px;
}

.spec-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fffaf1;
}

.section.dark .spec-card {
  border-color: var(--dark-line);
  background: rgba(255, 253, 248, 0.06);
}

.spec-card strong,
.step-card strong {
  display: block;
  margin-bottom: 8px;
  font-size: 13px;
  font-weight: 950;
  text-transform: uppercase;
}

.media-panel {
  position: relative;
  display: grid;
  min-height: 560px;
  overflow: hidden;
  background: #090807;
}

.media-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  grid-template-rows: repeat(3, minmax(0, 1fr));
  grid-auto-rows: minmax(0, 1fr);
  gap: 10px;
  height: 100%;
  min-height: 560px;
  padding: 10px;
}

.media-tile {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: 5px;
  background: #090807;
}

.media-tile img,
.finish-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.finish-card.is-product img {
  object-fit: contain;
  padding: 18px;
  background:
    radial-gradient(circle at 30% 18%, rgba(234, 216, 173, 0.32), transparent 38%),
    #fffaf1;
}

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

.media-tile span {
  position: absolute;
  inset: auto 10px 10px;
  max-height: calc(100% - 20px);
  overflow: hidden;
  padding: 10px;
  border: 1px solid rgba(255, 253, 248, 0.18);
  border-radius: 4px;
  background: rgba(11, 10, 8, 0.72);
  color: var(--ivory);
  font-size: 12px;
  font-weight: 900;
  line-height: 1.2;
  overflow-wrap: anywhere;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.product-band {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 20px;
  align-items: center;
  margin-top: 24px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fffaf1;
}

.product-band img {
  height: 210px;
  object-fit: contain;
}

.cta-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  margin-top: 24px;
  padding: 28px;
}

.sleep-style-visual {
  position: relative;
  min-height: 620px;
  overflow: hidden;
  border-radius: var(--radius);
  background: #090807;
}

.sleep-scene,
.sleep-scene img {
  position: absolute;
  inset: 0;
}

.sleep-scene img {
  opacity: 0.8;
  object-position: center;
}

.sleep-badge {
  position: absolute;
  top: 18px;
  left: 18px;
  z-index: 2;
  padding: 8px 11px;
  border: 1px solid rgba(255, 253, 248, 0.18);
  border-radius: 999px;
  background: rgba(12, 10, 8, 0.58);
  color: var(--gold-soft);
  font-size: 11px;
  font-weight: 950;
  text-transform: uppercase;
}

.sleep-portrait {
  position: absolute;
  top: 24px;
  right: 22px;
  z-index: 2;
  width: 168px;
  aspect-ratio: 1;
  overflow: hidden;
  border: 1px solid rgba(255, 253, 248, 0.24);
  border-radius: 50%;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.3);
}

.sleep-choice-panel {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  z-index: 2;
  display: grid;
  gap: 14px;
  padding: 16px;
  border: 1px solid rgba(255, 253, 248, 0.2);
  border-radius: var(--radius);
  background: rgba(13, 12, 10, 0.72);
  color: var(--ivory);
  backdrop-filter: blur(14px);
}

.sleep-choice-copy {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(220px, 0.45fr);
  gap: 14px;
  align-items: end;
}

.sleep-choice-copy strong {
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 28px;
  line-height: 1;
}

.sleep-choice-copy span,
.sleep-choice-summary {
  color: rgba(255, 253, 248, 0.72);
  font-size: 13px;
  line-height: 1.45;
}

.sleep-choice-summary {
  text-align: right;
}

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

.sleep-option {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  min-height: 66px;
  padding: 8px;
  border: 1px solid rgba(255, 253, 248, 0.18);
  border-radius: 999px;
  background: rgba(255, 253, 248, 0.08);
  color: var(--ivory);
  cursor: pointer;
}

.sleep-option.is-active {
  border-color: var(--gold);
  background: rgba(201, 164, 91, 0.24);
}

.sleep-option-thumb {
  width: 46px;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 50%;
  background: var(--ivory);
}

.sleep-option-thumb img {
  object-fit: contain;
  padding: 5px;
}

.sleep-option strong {
  min-width: 0;
  font-size: 11px;
  line-height: 1.15;
  text-align: left;
}

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

.finish-card {
  position: relative;
  margin: 0;
  height: clamp(280px, 29vw, 360px);
  min-height: 0;
  overflow: hidden;
  border-radius: var(--radius);
  background: #090807;
}

.finish-card span {
  position: absolute;
  inset: auto 12px 12px;
  max-height: calc(100% - 24px);
  overflow: hidden;
  padding: 12px;
  border: 1px solid rgba(255, 253, 248, 0.16);
  border-radius: 4px;
  background: rgba(10, 9, 7, 0.72);
  color: var(--ivory);
  font-weight: 900;
  line-height: 1.2;
  overflow-wrap: anywhere;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.site-footer {
  padding: 34px 0;
  border-top: 1px solid var(--line);
  background: var(--ivory);
  color: var(--muted);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  font-size: 13px;
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: 1fr;
    justify-items: center;
  }

  .nav,
  .header-actions {
    justify-content: center;
  }

  .section-head,
  .detail-grid,
  .detail-grid.reverse,
  .cta-band,
  .product-band {
    grid-template-columns: 1fr;
  }

  .spec-grid,
  .card-grid,
  .process-grid,
  .finish-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .media-panel {
    min-height: 520px;
  }

  .media-grid {
    min-height: 520px;
  }

  .finish-card {
    height: 300px;
  }
}

@media (max-width: 640px) {
  .hero-inner,
  .section-inner,
  .footer-inner {
    width: min(100% - 28px, 1180px);
  }

  .detail-hero {
    min-height: 650px;
  }

  .detail-hero::after {
    background:
      linear-gradient(0deg, rgba(17, 16, 13, 0.94), rgba(17, 16, 13, 0.28)),
      linear-gradient(90deg, rgba(17, 16, 13, 0.72), transparent);
  }

  h1 {
    font-size: 48px;
  }

  .section {
    padding: 62px 0;
  }

  .copy-panel,
  .cta-band {
    padding: 22px;
  }

  .media-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 190px;
    grid-template-rows: none;
    min-height: 0;
  }

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

  .media-tile {
    min-height: 190px;
  }

  .spec-grid,
  .card-grid,
  .process-grid,
  .finish-grid,
  .sleep-options {
    grid-template-columns: 1fr;
  }

  .sleep-style-visual {
    min-height: 620px;
  }

  .finish-card {
    height: 260px;
  }

  .sleep-portrait {
    width: 126px;
  }

  .sleep-choice-copy {
    grid-template-columns: 1fr;
  }

  .sleep-choice-summary {
    text-align: left;
  }

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

  .footer-inner {
    flex-direction: column;
  }
}
