:root {
  --ink: #10211c;
  --ink-soft: #3d4a45;
  --paper: #f3eee6;
  --paper-2: #e7dfd3;
  --white: #fbf8f3;
  --sand: #d7c4ae;
  --gold: #9c7349;
  --line: rgba(16, 33, 28, 0.12);
  --shadow: 0 28px 60px rgba(16, 33, 28, 0.16);
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Outfit", "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 1.05rem;
  line-height: 1.6;
  overflow-x: clip;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, textarea { font: inherit; }
.wrap { width: min(1180px, calc(100% - 2.4rem)); margin: 0 auto; }

.progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0;
  z-index: 40;
  background: linear-gradient(90deg, var(--sand), var(--gold));
}

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 4vw;
  color: var(--white);
  background: linear-gradient(180deg, rgba(8, 16, 14, 0.78), rgba(8, 16, 14, 0));
}
.nav.is-solid,
.page-inner .nav {
  color: var(--ink);
  background: rgba(243, 238, 230, 0.94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.brand {
  display: flex;
  align-items: center;
  text-decoration: none;
  background: #10211c;
  border-radius: 12px;
  padding: 0.35rem 0.7rem;
}
.brand img { height: 36px; width: auto; }
.nav-links { display: flex; gap: 1.25rem; align-items: center; }
.nav-links a { text-decoration: none; font-size: 0.92rem; }
.nav-cta, .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  border-radius: 999px;
  padding: 0.85rem 1.25rem;
  background: var(--ink);
  color: var(--paper);
  font-weight: 600;
}
.nav .nav-cta { background: var(--sand); color: var(--ink); }
.btn-ghost {
  background: transparent;
  color: inherit;
  border: 1px solid currentColor;
}
.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid currentColor;
  background: transparent;
  color: inherit;
}

.hero {
  position: relative;
  min-height: 100vh;
  color: var(--white);
  overflow: hidden;
  display: grid;
  align-items: end;
  background: #1a1612;
}
.hero-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 120%;
  object-fit: cover;
  object-position: center 30%;
  transform: scale(1.06);
}
.hero-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 12, 10, 0.28) 0%, rgba(8, 12, 10, 0.18) 40%, rgba(8, 12, 10, 0.82) 100%);
}
.hero-copy {
  position: relative;
  z-index: 2;
  padding: 8rem 4vw 4.2rem;
  width: min(1180px, 100%);
}
.eyebrow {
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-size: 0.75rem;
  font-weight: 600;
}
.hero h1 {
  margin: 0.35rem 0 0.8rem;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(4rem, 11vw, 8.4rem);
  line-height: 0.88;
  letter-spacing: -0.03em;
}
.hero h1 span { display: block; font-style: italic; color: var(--sand); }
.hero-lead { max-width: 36rem; font-size: 1.15rem; color: rgba(251, 248, 243, 0.9); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.5rem; }

.marquee { overflow: hidden; background: var(--ink); color: var(--sand); }
.marquee-track {
  display: flex;
  gap: 2rem;
  width: max-content;
  padding: 0.9rem 0;
  animation: slide 32s linear infinite;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
@keyframes slide {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.section { padding: 6rem 0; }
.section h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2.6rem, 6vw, 4.6rem);
  line-height: 0.95;
  letter-spacing: -0.03em;
  margin: 0.25rem 0 1rem;
}
.kicker { color: var(--gold); letter-spacing: 0.18em; text-transform: uppercase; font-size: 0.75rem; font-weight: 700; }
.split { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 3.5rem; align-items: center; }
.prose p { color: var(--ink-soft); font-size: 1.08rem; }
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin-top: 1.6rem; }
.stat { padding: 1rem 0; border-top: 1px solid var(--line); }
.stat b { display: block; font-family: var(--serif); font-size: 1.8rem; font-weight: 500; }
.stat span { color: var(--ink-soft); font-size: 0.9rem; }

.frame-3d { perspective: 1400px; }
.board {
  border-radius: 28px;
  overflow: hidden;
  transform: rotateY(-7deg) rotateX(3deg);
  box-shadow: var(--shadow);
  transition: transform 0.6s ease;
}
.board img { width: 100%; height: min(70vh, 640px); object-fit: cover; }
.frame-3d:hover .board { transform: none; }

.rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(240px, 28vw);
  gap: 0.9rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 0.6rem;
}
.rail figure {
  margin: 0;
  scroll-snap-align: start;
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  min-height: 380px;
  background: var(--ink);
}
.rail img { width: 100%; height: 420px; object-fit: cover; }
.rail figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 2.4rem 1rem 1rem;
  color: var(--white);
  background: linear-gradient(transparent, rgba(8, 12, 10, 0.82));
  font-family: var(--serif);
  font-size: 1.45rem;
}

.values, .offers, .quotes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
}
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 1.3rem 1.2rem 1.4rem;
  transform-style: preserve-3d;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.card:hover { box-shadow: var(--shadow); }
.card em {
  color: var(--gold);
  font-style: normal;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.75rem;
  font-weight: 700;
}
.card h3 { margin: 0.4rem 0; font-family: var(--serif); font-size: 1.8rem; font-weight: 500; }
.card p { margin: 0; color: var(--ink-soft); }

.mosaic {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 1fr;
  grid-template-rows: 280px 280px;
  gap: 0.8rem;
}
.mosaic figure {
  margin: 0;
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  min-width: 0;
}
.mosaic figure:first-child { grid-row: 1 / span 2; }
.mosaic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.mosaic figcaption {
  position: absolute;
  left: 0.8rem;
  bottom: 0.8rem;
  background: rgba(251, 248, 243, 0.92);
  border-radius: 999px;
  padding: 0.35rem 0.75rem;
  font-size: 0.82rem;
}

.visit { background: var(--ink); color: var(--paper); }
.visit-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: center; }
.visit a { color: var(--sand); }
.hours { margin: 1.2rem 0; }
.hours div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  border-bottom: 1px solid rgba(243, 238, 230, 0.16);
  padding: 0.75rem 0;
}
.visit img { width: 100%; height: min(520px, 70vh); object-fit: cover; border-radius: 28px; }

.page-inner main { padding: 7.2rem 0 4rem; }
.page-inner h1 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(3rem, 7vw, 5.4rem);
  line-height: 0.92;
  margin: 0.2rem 0 1rem;
}
.note { color: var(--ink-soft); font-size: 0.95rem; }

.form {
  display: grid;
  gap: 0.75rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 1.2rem;
}
.form label { display: grid; gap: 0.3rem; font-size: 0.85rem; }
.form input, .form textarea {
  width: 100%;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0.85rem 0.9rem;
  background: var(--paper);
  color: var(--ink);
}
.form textarea { min-height: 120px; resize: vertical; }
.form .is-bad { border-color: #9c3b2e; }
.form .ok { margin: 0; color: var(--ink); }

.footer {
  padding: 1.6rem 0 2rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  color: var(--ink-soft);
  font-size: 0.92rem;
}
.footer a { color: var(--ink); }
.kit { margin-top: 1rem; background: #050505; border-radius: 16px; padding: 0.6rem 0.8rem; }
.kit img { width: min(920px, 100%); height: auto; margin: 0 auto; }

.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.8s ease, transform 0.8s ease; }
.js .reveal.is-in { opacity: 1; transform: none; }

@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav.is-open .nav-links {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 72px;
    left: 4vw;
    right: 4vw;
    padding: 1rem;
    background: var(--paper);
    color: var(--ink);
    border-radius: 18px;
  }
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .split, .values, .offers, .quotes, .visit-grid, .stats, .shop-grid, .checkout { grid-template-columns: 1fr; }
  .product-card img { height: 260px; }
  .pay-row { grid-template-columns: 1fr; }
  .mosaic { grid-template-columns: 1fr 1fr; grid-template-rows: 220px 220px 220px; }
  .mosaic figure:first-child { grid-row: auto; grid-column: 1 / -1; height: 280px; }
  .hero h1 { font-size: clamp(3.2rem, 16vw, 4.8rem); }
  .section { padding: 4.2rem 0; }
}
.nav { justify-content: flex-start; }
.nav-links { margin-left: auto; }
.nav-tools { display: flex; align-items: center; gap: 0.7rem; margin-left: 1rem; }
.nav-cart { text-decoration: none; display: inline-flex; align-items: center; background: transparent; border: 0; cursor: pointer; color: inherit; }
.cart-drawer[hidden] { display: none; }
.cart-shade {
  position: fixed;
  inset: 0;
  border: 0;
  background: rgba(8, 12, 10, 0.46);
  z-index: 60;
}
.cart-panel {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 61;
  width: min(420px, 100%);
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  padding: 1.2rem 1.1rem 1.4rem;
  background: var(--paper);
  color: var(--ink);
  box-shadow: var(--shadow);
}
.cart-head { display: flex; align-items: center; justify-content: space-between; }
.cart-lines { overflow: auto; flex: 1; }
.cart-total { margin: 0; font-weight: 600; }
body.cart-open { overflow: hidden; }
.cart-count {
  display: inline-flex;
  min-width: 1.35rem;
  height: 1.35rem;
  margin-left: 0.4rem;
  padding: 0 0.35rem;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--sand);
  color: var(--ink);
  font-size: 0.75rem;
  font-weight: 700;
}
.nav.is-solid .cart-count,
.page-inner .cart-count { background: var(--ink); color: var(--paper); }

.shop-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.product-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 22px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  min-width: 0;
}
.product-card img { width: 100%; height: 340px; object-fit: cover; background: #ece7e0; }
.product-card > div { padding: 1rem 1.05rem 1.2rem; }
.product-card .brand-name,
.meta-label {
  color: var(--gold);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.72rem;
  font-weight: 700;
}
.product-card h3 { font-family: var(--serif); font-size: 1.65rem; font-weight: 500; margin: 0.2rem 0 0.35rem; }
.price { font-weight: 600; }

.size-list, .qty-list { display: flex; flex-wrap: wrap; gap: 0.45rem; }
.size-list button, .qty-list button, .ship-list label {
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
  border-radius: 999px;
  padding: 0.5rem 0.85rem;
  cursor: pointer;
}
.size-list button.is-on, .qty-list button.is-on {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}
.ship-list { display: grid; gap: 0.55rem; }
.ship-list label { display: block; border-radius: 16px; }
.ship-list label:has(input:checked) { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.ship-list input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.ship-list span { display: block; white-space: normal; line-height: 1.35; }
.checkout { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 1.2rem; align-items: start; }
.basket-line {
  display: grid;
  grid-template-columns: 72px 1fr auto;
  gap: 0.8rem;
  align-items: center;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--line);
}
.basket-line img { width: 72px; height: 88px; object-fit: cover; border-radius: 12px; }
.pay-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; }
.confirm-box { background: var(--white); border: 1px solid var(--line); border-radius: 24px; padding: 1.4rem; }
.confirm-box h1 { margin-top: 0.2rem; }

@media (max-width: 900px) {
  .nav-tools { margin-left: auto; }
  .shop-grid, .checkout, .pay-row { grid-template-columns: 1fr; }
  .product-card img { height: 260px; }
  .basket-line { grid-template-columns: 64px 1fr; }
  .basket-line b { grid-column: 2; }
}
@media (prefers-reduced-motion: reduce) {
  .reveal, .marquee-track, .board { animation: none; transition: none; transform: none; opacity: 1; }
  .hero-photo { transform: none; }
}
