:root {
  --paper: #ece4d8;
  --paper-deep: #e2d7c8;
  --ink: #2f2925;
  --muted: #6f655d;
  --line: rgba(58, 48, 41, 0.18);
  --accent: #8a6d55;
  --off-white: #f5f0e8;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at top left, rgba(255,255,255,0.5), transparent 28%),
    linear-gradient(135deg, rgba(255,255,255,0.35), transparent 40%),
    var(--paper);
  color: var(--ink);
  font-family: "Manrope", Arial, sans-serif;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.35;
  background:
    radial-gradient(circle at 10% 20%, rgba(255,255,255,0.8), transparent 18%),
    radial-gradient(circle at 90% 10%, rgba(255,255,255,0.55), transparent 22%),
    linear-gradient(120deg, transparent 0 18%, rgba(255,255,255,0.5) 18.2%, transparent 18.5%),
    linear-gradient(300deg, transparent 0 12%, rgba(255,255,255,0.4) 12.2%, transparent 12.5%);
}

.page {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 28px 0 18px;
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  flex: 0 0 auto;
  text-decoration: none;
}

.brand-symbol,
.brand-wordmark {
  display: block;
  height: auto;
}

.brand-symbol {
  width: 62px;
}

.brand-wordmark {
  width: 216px;
  image-rendering: auto;
  filter: contrast(1.08) saturate(1.04);
}

.eyebrow {
  margin: 0 0 4px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
}

.tagline {
  margin: 0;
  font-size: 13px;
}

.nav {
  display: flex;
  gap: 24px;
}

.nav a {
  color: var(--ink);
  font-size: 14px;
  text-decoration: none;
}

.hero {
  min-height: 620px;
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  align-items: center;
  gap: 18px;
  border-top: 1px solid var(--line);
}

.hero h1,
.story h2,
.section-heading h2,
.purchase h2,
.contact-hero h1,
.preorder-panel h2,
.collection-story h1,
.product-overview h2,
.daily-wear h2,
.collection-cta h2 {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 600;
  letter-spacing: 0;
}

.hero h1 {
  font-size: clamp(56px, 8vw, 92px);
  line-height: 0.9;
}

.hero-subtitle {
  max-width: 460px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
}

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

.button {
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 4px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
}

.primary {
  background: var(--ink);
  color: var(--off-white);
}

.ghost {
  border: 1px solid var(--line);
  color: var(--ink);
}

.hero-media {
  min-height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-media img {
  width: min(88%, 620px);
  display: block;
  mix-blend-mode: multiply;
  filter: drop-shadow(0 24px 20px rgba(52, 42, 35, 0.18));
}

.feature-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.feature-strip article {
  min-height: 168px;
  padding: 26px 24px;
}

.feature-strip article + article {
  border-left: 1px solid var(--line);
}

.feature-strip span {
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
}

.feature-strip h2 {
  margin: 12px 0 10px;
  font-size: 18px;
}

.feature-strip p,
.story p,
.looks p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.story {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 42px;
  padding: 72px 0 46px;
}

.story h2,
.section-heading h2 {
  font-size: clamp(34px, 4vw, 48px);
  line-height: 1;
}

.collection-video-hero {
  padding: 18px 0 0;
  border-top: 1px solid var(--line);
}

.collection-video-hero video {
  display: block;
  width: 100%;
  max-height: 72vh;
  object-fit: cover;
  border: 1px solid var(--line);
  background: #d8cbbb;
}

.collection-story h1 {
  font-size: clamp(44px, 6vw, 72px);
  line-height: 0.95;
}

.collection-palette {
  padding-top: 48px;
}

.product-overview {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
  gap: 42px;
  align-items: center;
  padding: 10px 0 72px;
}

.product-overview h2 {
  margin: 12px 0 18px;
  font-size: clamp(38px, 5vw, 58px);
  line-height: 0.95;
}

.product-overview p {
  max-width: 470px;
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
}

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

.sole-card {
  position: relative;
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  background: rgba(245, 240, 232, 0.66);
}

.sole-layer {
  position: absolute;
  border-radius: 999px;
}

.sole-top {
  width: 62%;
  height: 84px;
  background: #8f877f;
  transform: translateY(-28px) rotate(-7deg);
}

.sole-mid {
  width: 68%;
  height: 90px;
  background:
    radial-gradient(circle, rgba(0,0,0,0.28) 1.5px, transparent 1.7px) 0 0 / 12px 12px,
    #2b2928;
  transform: translateY(-6px) rotate(-7deg);
}

.sole-bottom {
  width: 70%;
  height: 34px;
  background: var(--off-white);
  box-shadow: 0 20px 0 #a56f3d;
  transform: translateY(36px) rotate(-7deg);
}

.sole-card small {
  position: absolute;
  bottom: 22px;
  color: var(--muted);
  text-transform: uppercase;
}

.story p {
  max-width: 560px;
  font-size: 17px;
}

.daily-wear {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(420px, 1.08fr);
  gap: 42px;
  align-items: center;
  margin: 72px 0;
  padding: 42px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.daily-wear h2 {
  margin: 0 0 18px;
  font-size: clamp(34px, 4vw, 48px);
  line-height: 1;
}

.daily-wear p {
  max-width: 500px;
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
}

.daily-wear ul {
  display: grid;
  gap: 14px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.daily-wear li {
  display: flex;
  align-items: center;
  gap: 12px;
}

.daily-wear li::before {
  content: "✓";
  width: 26px;
  height: 26px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  background: var(--ink);
  color: var(--off-white);
  font-size: 14px;
}

.material-board {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  padding: 18px;
  border: 1px solid var(--line);
  background: rgba(245, 240, 232, 0.66);
}

.material-board article {
  display: grid;
  gap: 18px;
  min-height: 250px;
  padding: 22px;
  background: rgba(200, 185, 168, 0.55);
}

.material-board span {
  color: var(--muted);
  text-transform: uppercase;
}

.mesh-sample,
.cushion-sample {
  align-self: end;
  min-height: 118px;
}

.mesh-sample {
  border-radius: 28px;
  background:
    radial-gradient(circle, rgba(0,0,0,0.38) 1.5px, transparent 1.7px) 0 0 / 12px 12px,
    #2b2928;
}

.cushion-sample {
  border-radius: 28px;
  background: var(--off-white);
}

.palette {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
  padding: 0 0 64px;
}

.palette-showcase {
  padding: 0 0 72px;
}

.centered {
  text-align: center;
}

.palette-cards {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
}

.palette-cards article {
  display: grid;
  justify-items: center;
  gap: 18px;
  padding: 24px 18px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.18);
}

.palette-cards span {
  width: 96px;
  height: 96px;
  display: block;
  border-radius: 50%;
  background: var(--swatch);
}

.color-gallery {
  padding: 0 0 72px;
}

.color-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.color-grid article {
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.18);
}

.color-trigger {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
}

.color-trigger img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.color-grid article > div:last-child {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px;
}

.color-grid span {
  width: 18px;
  height: 18px;
  display: inline-block;
  border-radius: 50%;
  background: var(--swatch);
  border: 1px solid rgba(47, 41, 37, 0.15);
}

.color-grid h3 {
  margin: 0;
  font-size: 18px;
}

.gallery-modal {
  position: fixed;
  inset: 0;
  z-index: 20;
  display: none;
  place-items: center;
  padding: 28px;
  background: rgba(28, 23, 20, 0.78);
}

.gallery-modal.is-open {
  display: grid;
}

.gallery-modal img {
  max-width: min(92vw, 920px);
  max-height: 88vh;
  width: auto;
  height: auto;
  display: block;
}

.gallery-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 42px;
  height: 42px;
  border: 0;
  background: var(--off-white);
  color: var(--ink);
  font-size: 28px;
  cursor: pointer;
}

.swatch {
  display: grid;
  gap: 12px;
}

.swatch span {
  display: block;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--swatch);
  border: 1px solid rgba(47, 41, 37, 0.15);
}

.swatch small {
  color: var(--muted);
  text-align: center;
}

.looks {
  padding: 0 0 72px;
}

.section-heading {
  margin-bottom: 24px;
}

.looks-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.looks-grid article {
  min-height: 180px;
  padding: 24px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.18);
}

.looks-grid h3 {
  margin: 0 0 12px;
  font-size: 20px;
}

.purchase {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 72px;
  padding: 28px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.purchase h2 {
  font-size: clamp(30px, 3vw, 40px);
}

.collection-cta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  margin-bottom: 72px;
  padding: 40px 42px;
  background: var(--ink);
  color: var(--off-white);
}

.collection-cta h2 {
  max-width: 420px;
  margin: 12px 0;
  font-size: clamp(34px, 4vw, 48px);
  line-height: 1;
}

.collection-cta p {
  max-width: 520px;
  margin: 0;
  color: rgba(245, 240, 232, 0.78);
  line-height: 1.7;
}

.collection-cta > div:last-child {
  display: grid;
  justify-items: start;
  gap: 16px;
}

.light {
  background: var(--off-white);
  color: var(--ink);
}

.collection-cta small {
  color: rgba(245, 240, 232, 0.78);
}

.contact-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.contact-main {
  flex: 1;
  display: grid;
  align-content: center;
  gap: 34px;
  padding: 48px 0 72px;
}

.contact-hero {
  max-width: 640px;
}

.contact-hero h1 {
  margin-bottom: 14px;
  font-size: clamp(44px, 6vw, 72px);
  line-height: 0.95;
}

.contact-hero p:last-child {
  margin: 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
}

.contact-panel {
  display: grid;
  gap: 10px;
  max-width: 520px;
  padding: 28px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.18);
}

.contact-panel span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.contact-panel a {
  color: var(--ink);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(28px, 4vw, 40px);
  text-decoration: none;
}

.preorder-panel {
  display: grid;
  gap: 20px;
  max-width: 720px;
  padding: 28px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.18);
}

.preorder-panel h2 {
  font-size: clamp(28px, 4vw, 40px);
}

.preorder-form {
  display: grid;
  gap: 12px;
}

.preorder-form label {
  font-size: 14px;
  font-weight: 700;
}

.preorder-row {
  display: flex;
  gap: 12px;
}

.preorder-row input {
  flex: 1;
  min-width: 0;
  min-height: 46px;
  padding: 0 14px;
  border: 1px solid var(--line);
  background: rgba(245, 240, 232, 0.82);
  color: var(--ink);
  font: inherit;
}

.form-message {
  min-height: 24px;
  margin: 0;
  color: var(--muted);
}

.form-message.success {
  color: #4d6346;
}

.form-message.error {
  color: #8b4f42;
}

footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 0 0 36px;
}

footer span {
  width: 1px;
  height: 18px;
  background: var(--line);
}

footer p {
  margin: 0;
  color: var(--muted);
}

@media (max-width: 900px) {
  .page {
    width: min(100% - 32px, 1180px);
  }

  .topbar {
    flex-wrap: wrap;
  }

  .nav {
    width: 100%;
    order: 3;
  }

  .brand-lockup {
    gap: 10px;
  }

  .brand-symbol {
    width: 52px;
  }

  .brand-wordmark {
    width: 176px;
  }

  .hero,
  .story,
  .product-overview,
  .daily-wear {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 0;
    padding: 42px 0 28px;
  }

  .hero-media {
    min-height: auto;
    order: -1;
  }

  .feature-strip,
  .looks-grid {
    grid-template-columns: 1fr;
  }

  .feature-strip article + article {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

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

  .palette-cards {
    grid-template-columns: 1fr;
  }

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


  .collection-cta {
    flex-direction: column;
    align-items: flex-start;
  }

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

  .preorder-row {
    flex-direction: column;
  }

  .material-board {
    grid-template-columns: 1fr;
  }
}
