:root {
  --color-sand: #dccba8;
  --color-forest: #213a2c;
  --color-gold: #c2a05f;
  --color-ink: #101010;
  --color-cream: #f7f4ee;
  --color-white: #ffffff;
  --color-border: rgba(16, 16, 16, 0.08);
  --shadow-soft: 0 30px 60px rgba(16, 16, 16, 0.08);
  --container: min(1280px, calc(100vw - 64px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  color: var(--color-ink);
  background:
    radial-gradient(circle at top left, rgba(220, 203, 168, 0.2), transparent 32%),
    linear-gradient(180deg, #fbfaf7 0%, #f4f0e9 100%);
}

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

figure {
  margin: 0;
}

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

.site-shell {
  width: var(--container);
  margin: 0 auto;
  padding-bottom: 48px;
}

.topbar {
  position: absolute;
  inset: 0 0 auto 0;
  width: var(--container);
  margin: 0 auto;
  padding: 28px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 3;
  color: var(--color-white);
}

.topbar-light {
  position: relative;
  width: 100%;
  color: var(--color-ink);
  padding-bottom: 12px;
}

.brandmark {
  font-family: "Cormorant Garamond", serif;
  font-size: 2rem;
  letter-spacing: 0.28em;
}

.topnav {
  display: flex;
  gap: 28px;
  font-size: 0.83rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
}

.hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  align-items: end;
  overflow: hidden;
  border-radius: 0 0 32px 32px;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}

.hero-media img {
  height: 100vh;
  object-fit: cover;
  filter: saturate(0.9) contrast(0.95);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(16, 16, 16, 0.1) 0%, rgba(16, 16, 16, 0.48) 100%),
    linear-gradient(90deg, rgba(33, 58, 44, 0.26) 0%, rgba(33, 58, 44, 0) 55%);
}

.hero-copy {
  position: absolute;
  left: 0;
  bottom: 0;
  width: min(720px, calc(100% - 48px));
  padding: 0 0 72px 48px;
  color: var(--color-white);
  z-index: 2;
}

.eyebrow {
  margin: 0 0 20px;
  font-size: 0.78rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.hero h1,
.intro-copy h2,
.section-head h2,
.brand-panel-copy h2,
.product-summary h1 {
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  font-weight: 600;
  line-height: 0.95;
  letter-spacing: 0.02em;
}

.hero h1 {
  font-size: clamp(4rem, 8vw, 7.3rem);
  max-width: 10ch;
}

.hero-text,
.intro-copy p,
.brand-panel-copy p,
.product-description,
.detail-strip p,
.intro-note p {
  font-size: 1rem;
  line-height: 1.9;
  letter-spacing: 0.02em;
}

.hero-text {
  max-width: 38rem;
  margin: 24px 0 0;
}

.hero-note {
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.84);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.78rem;
}

.hero-actions,
.purchase-box {
  display: flex;
  gap: 14px;
  align-items: center;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 26px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  transition: transform 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  background: var(--color-white);
  color: var(--color-forest);
}

.button-secondary {
  border-color: rgba(255, 255, 255, 0.45);
  color: var(--color-white);
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(14px);
}

.intro-grid,
.brand-panel,
.detail-strip {
  display: grid;
  gap: 32px;
}

.intro-grid {
  grid-template-columns: 1.4fr 0.8fr;
  padding: 108px 0;
  align-items: start;
}

.intro-copy h2,
.section-head h2,
.brand-panel-copy h2,
.product-summary h1 {
  font-size: clamp(2.6rem, 5vw, 4.4rem);
  max-width: 12ch;
}

.intro-copy p:last-child,
.brand-panel-copy p:last-child {
  max-width: 42rem;
  margin-top: 24px;
}

.intro-note {
  padding: 28px 0 0 24px;
  border-left: 1px solid rgba(16, 16, 16, 0.12);
}

.note-line {
  display: block;
  width: 48px;
  height: 1px;
  margin-bottom: 24px;
  background: var(--color-gold);
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 24px;
  margin-bottom: 32px;
}

.featured-collection {
  padding-bottom: 120px;
}

.product-showcase {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 24px;
}

.product-card {
  background: rgba(255, 255, 255, 0.54);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.product-card-large .product-image-wrap img {
  height: 760px;
}

.product-card .product-image-wrap img {
  height: 520px;
  object-fit: cover;
}

.product-meta {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 26px 24px 28px;
}

.product-meta.compact {
  padding-top: 22px;
}

.product-name,
.product-price,
.detail-label {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.8rem;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  padding: 10px 16px;
  margin: 0 0 20px;
  border: 1px solid rgba(33, 58, 44, 0.14);
  border-radius: 999px;
  background: rgba(194, 160, 95, 0.1);
  color: var(--color-forest);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.74rem;
}

.product-subtitle,
.purchase-note {
  margin: 10px 0 0;
  color: rgba(16, 16, 16, 0.68);
  line-height: 1.7;
}

.product-cta {
  align-self: center;
  color: var(--color-forest);
}

.brand-panel {
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  padding: 72px;
  border-radius: 36px;
  background: linear-gradient(135deg, rgba(33, 58, 44, 0.96), rgba(33, 58, 44, 0.84));
  color: var(--color-white);
  box-shadow: var(--shadow-soft);
}

.brand-panel-copy p:last-child {
  color: rgba(255, 255, 255, 0.78);
}

.brand-panel-media img {
  height: 620px;
  object-fit: cover;
  border-radius: 24px;
}

.product-page {
  padding-top: 10px;
}

.product-layout {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 42px;
  align-items: start;
  padding: 24px 0 88px;
}

.product-gallery {
  display: grid;
  gap: 24px;
}

.gallery-main img,
.gallery-secondary img {
  border-radius: 28px;
  object-fit: cover;
  box-shadow: var(--shadow-soft);
}

.gallery-main img {
  height: 820px;
}

.gallery-secondary {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.gallery-secondary img {
  height: 320px;
}

.product-summary {
  position: sticky;
  top: 32px;
  padding: 48px 42px;
  border: 1px solid var(--color-border);
  border-radius: 32px;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(12px);
}

.product-price {
  margin-top: 22px;
  color: var(--color-forest);
}

.product-description {
  margin: 28px 0 0;
}

.product-points {
  margin: 28px 0 0;
  padding-left: 18px;
  line-height: 2;
}

.size-row {
  display: flex;
  gap: 12px;
  margin-top: 34px;
  flex-wrap: wrap;
}

.size-pill {
  min-width: 52px;
  padding: 14px 18px;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  text-align: center;
  font-size: 0.82rem;
  letter-spacing: 0.16em;
}

.size-pill.active {
  background: var(--color-forest);
  border-color: var(--color-forest);
  color: var(--color-white);
}

.button-block {
  width: 100%;
  background: var(--color-forest);
  color: var(--color-white);
}

.purchase-box {
  display: block;
}

.purchase-note {
  margin-top: 14px;
}

.detail-strip {
  grid-template-columns: repeat(3, 1fr);
  padding: 34px 0 12px;
  border-top: 1px solid var(--color-border);
}

.site-footer {
  margin-top: 88px;
  padding: 44px 36px 28px;
  border: 1px solid rgba(16, 16, 16, 0.08);
  border-radius: 32px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(248, 244, 236, 0.92));
  box-shadow: var(--shadow-soft);
}

.footer-top,
.footer-bottom,
.footer-links {
  display: grid;
  gap: 24px;
}

.footer-top {
  grid-template-columns: 1.1fr 1.4fr;
  align-items: start;
  padding-bottom: 26px;
}

.footer-brand {
  max-width: 24rem;
}

.footer-brandmark {
  display: inline-block;
  margin-bottom: 18px;
  color: var(--color-forest);
}

.footer-brand p,
.footer-bottom p,
.footer-links a {
  margin: 0;
  color: rgba(16, 16, 16, 0.72);
  line-height: 1.9;
}

.footer-links {
  grid-template-columns: repeat(3, 1fr);
}

.footer-links a {
  display: block;
}

.footer-heading {
  margin: 0 0 14px;
  color: var(--color-ink);
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.76rem;
}

.footer-bottom {
  grid-template-columns: repeat(2, 1fr);
  padding-top: 22px;
  border-top: 1px solid rgba(16, 16, 16, 0.08);
  font-size: 0.92rem;
}

@media (max-width: 1100px) {
  .product-showcase,
  .brand-panel,
  .product-layout,
  .intro-grid,
  .detail-strip,
  .footer-top,
  .footer-links,
  .footer-bottom {
    grid-template-columns: 1fr;
  }

  .product-card-large .product-image-wrap img,
  .product-card .product-image-wrap img,
  .gallery-main img {
    height: auto;
  }

  .product-summary {
    position: static;
  }
}

@media (max-width: 720px) {
  :root {
    --container: min(100vw - 28px, 1000px);
  }

  .topbar,
  .topbar-light {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

  .topnav {
    flex-wrap: wrap;
    gap: 14px;
  }

  .hero {
    min-height: 92vh;
  }

  .hero-media img {
    height: 92vh;
  }

  .hero-copy {
    width: calc(100% - 28px);
    padding: 0 0 38px 20px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .button {
    width: 100%;
  }

  .brand-panel,
  .product-summary,
  .site-footer {
    padding: 28px 22px;
  }

  .gallery-secondary {
    grid-template-columns: 1fr;
  }
}
