:root {
  --paper: #f8f3ea;
  --cotton: #fffaf2;
  --sand: #d8c4a8;
  --clay: #c58d77;
  --sunset: #e8b59b;
  --olive: #7f9177;
  --sage: #bac6b7;
  --sky: #abc8d7;
  --ink: #2f3029;
  --soft-ink: #6d665c;
  --line: rgba(47, 48, 41, 0.16);
  --shadow: 0 28px 70px rgba(75, 57, 36, 0.16);
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Inter", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 8% 18%, rgba(171, 200, 215, 0.28), transparent 28rem),
    linear-gradient(180deg, var(--paper), #f5ece0 42%, #f8f3ea);
  color: var(--ink);
  font-family: var(--sans);
  line-height: 1.65;
}

body.menu-open,
body.dialog-open {
  overflow: hidden;
}

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

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

button,
input {
  font: inherit;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 18px clamp(18px, 4vw, 56px);
  transition: background 220ms ease, box-shadow 220ms ease, padding 220ms ease;
}

.site-header.is-scrolled {
  background: rgba(248, 243, 234, 0.92);
  box-shadow: 0 8px 28px rgba(47, 48, 41, 0.08);
  backdrop-filter: blur(18px);
  padding-block: 12px;
}

.brand {
  display: inline-flex;
  align-items: baseline;
  gap: 0.28em;
  font-family: var(--serif);
  font-size: clamp(1.55rem, 2.2vw, 2.3rem);
  font-weight: 500;
  line-height: 1;
}

.desktop-nav {
  display: flex;
  gap: clamp(18px, 3vw, 38px);
  color: rgba(47, 48, 41, 0.78);
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
}

.desktop-nav a,
.mobile-nav a,
.text-link,
.footer-links a {
  position: relative;
}

.desktop-nav a::after,
.mobile-nav a::after,
.text-link::after,
.footer-links a::after {
  position: absolute;
  right: 0;
  bottom: -5px;
  left: 0;
  height: 1px;
  background: currentColor;
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

.desktop-nav a:hover::after,
.mobile-nav a:hover::after,
.text-link:hover::after,
.footer-links a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.icon-button {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(255, 250, 242, 0.78);
  color: var(--ink);
  cursor: pointer;
}

.menu-toggle {
  display: none;
  gap: 5px;
}

.menu-toggle span,
.dialog-close span {
  display: block;
  width: 18px;
  height: 1px;
  background: currentColor;
}

.mobile-nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 40;
  display: grid;
  gap: 18px;
  padding: 92px 24px 30px;
  background: rgba(248, 243, 234, 0.98);
  box-shadow: var(--shadow);
  color: var(--ink);
  font-family: var(--serif);
  font-size: 2.1rem;
  transform: translateY(-110%);
  transition: transform 240ms ease;
}

.mobile-nav.is-open {
  transform: translateY(0);
}

.section-band {
  position: relative;
  overflow: clip;
}

.hero {
  min-height: 94svh;
  display: grid;
  align-items: end;
  padding: 118px clamp(18px, 4vw, 60px) 52px;
  background: #dcd8cd;
}

.hero-media {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 8px;
}

.hero-media::after {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(30, 26, 19, 0.5), rgba(30, 26, 19, 0.12) 48%, rgba(248, 243, 234, 0.1)),
    linear-gradient(0deg, rgba(47, 48, 41, 0.52), transparent 54%);
  content: "";
}

.hero-media img:first-child {
  object-position: 50% 38%;
}

.hero-media img:last-child {
  object-position: 50% 45%;
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(760px, 100%);
  color: var(--cotton);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--olive);
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #f7dfce;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 500;
  line-height: 0.98;
}

h1 {
  max-width: 840px;
  font-size: clamp(3.8rem, 8.2vw, 7.2rem);
}

h2 {
  font-size: clamp(2.75rem, 6vw, 6.4rem);
}

h3 {
  font-size: clamp(1.85rem, 3vw, 3.2rem);
}

p {
  margin: 0;
}

.hero-content p:not(.eyebrow) {
  max-width: 620px;
  margin-top: 22px;
  color: rgba(255, 250, 242, 0.9);
  font-size: clamp(1rem, 1.6vw, 1.22rem);
}

.button-row,
.field-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border: 1px solid currentColor;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 700;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease, border-color 180ms ease;
}

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

.button.primary {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--cotton);
}

.hero .button.primary {
  border-color: var(--cotton);
  background: var(--cotton);
  color: var(--ink);
}

.button.secondary {
  background: rgba(255, 250, 242, 0.18);
  color: inherit;
}

.scroll-note {
  position: absolute;
  right: clamp(18px, 4vw, 60px);
  bottom: 54px;
  z-index: 1;
  color: rgba(255, 250, 242, 0.8);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  writing-mode: vertical-rl;
}

.manifesto,
.collections,
.shop,
.journal,
.newsletter,
.split-section {
  padding: clamp(72px, 9vw, 132px) clamp(18px, 5vw, 76px);
}

.manifesto-inner {
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
}

.manifesto-inner p:not(.eyebrow) {
  max-width: 680px;
  margin: 24px auto 0;
  color: var(--soft-ink);
  font-size: clamp(1.05rem, 1.7vw, 1.32rem);
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(300px, 1.12fr);
  gap: clamp(38px, 7vw, 110px);
  align-items: center;
}

.story {
  background: linear-gradient(135deg, #fbf5eb, #ede2d1 55%, #dfe7dc);
}

.split-copy {
  max-width: 620px;
}

.split-copy p:not(.eyebrow) {
  margin-top: 20px;
  color: var(--soft-ink);
  font-size: 1rem;
}

.text-link {
  display: inline-flex;
  margin-top: 28px;
  color: var(--ink);
  font-weight: 700;
}

.editorial-stack {
  position: relative;
  min-height: 650px;
}

.stack-main,
.portrait-frame,
.newsletter-image,
.collection-card img,
.product-card img,
.journal-card img {
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.stack-main {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 72%;
  height: 86%;
}

.stack-small {
  position: absolute;
  top: 0;
  left: 0;
  width: 46%;
  height: 56%;
  border: 10px solid var(--cotton);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.section-heading {
  display: grid;
  gap: 14px;
  max-width: 760px;
  margin-bottom: clamp(32px, 5vw, 58px);
}

.section-heading p:last-child {
  color: var(--soft-ink);
  font-size: 1.05rem;
}

.collection-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(18px, 3vw, 34px);
}

.collection-card {
  display: grid;
  grid-template-columns: minmax(190px, 0.92fr) minmax(0, 1fr);
  gap: 24px;
  align-items: end;
  min-height: 420px;
  padding: clamp(18px, 3vw, 28px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 250, 242, 0.62);
}

.collection-card img {
  height: 100%;
  min-height: 340px;
}

.collection-content {
  display: grid;
  gap: 14px;
}

.swatches {
  display: flex;
  gap: 10px;
  margin-top: 10px;
}

.swatch {
  width: 28px;
  height: 28px;
  border: 1px solid rgba(47, 48, 41, 0.22);
  border-radius: 50%;
}

.shop {
  background:
    linear-gradient(180deg, rgba(186, 198, 183, 0.22), transparent 36%),
    #fbf6ee;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 3vw, 28px);
}

.product-card {
  display: grid;
  gap: 16px;
  align-content: start;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 250, 242, 0.78);
}

.product-card img {
  aspect-ratio: 4 / 5;
}

.product-card h3 {
  font-size: clamp(1.55rem, 2.4vw, 2.4rem);
}

.product-card p {
  color: var(--soft-ink);
}

.product-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--ink);
  font-weight: 700;
}

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

.studio {
  grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1fr);
}

.portrait-frame {
  height: min(760px, 82vw);
  overflow: hidden;
}

.portrait-frame img {
  object-position: 50% 32%;
}

.journal {
  background:
    linear-gradient(135deg, rgba(232, 181, 155, 0.3), transparent 38%),
    linear-gradient(0deg, #eef1e8, #fbf5ed);
}

.journal-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(180px, 1fr));
  gap: 14px;
  overflow-x: auto;
  padding-bottom: 12px;
  scrollbar-width: thin;
}

.journal-card {
  display: grid;
  gap: 14px;
  min-width: 180px;
}

.journal-card img {
  aspect-ratio: 3 / 4;
}

.journal-card h3 {
  font-size: 1.5rem;
  line-height: 1.08;
}

.journal-card p {
  color: var(--soft-ink);
  font-size: 0.92rem;
}

.newsletter {
  display: grid;
  grid-template-columns: minmax(280px, 0.85fr) minmax(0, 1fr);
  gap: clamp(30px, 6vw, 86px);
  align-items: center;
}

.newsletter-image {
  height: min(620px, 70vw);
  overflow: hidden;
}

.newsletter-form {
  display: grid;
  gap: 16px;
  max-width: 640px;
}

.newsletter-form p:not(.eyebrow) {
  color: var(--soft-ink);
}

.newsletter-form label {
  margin-top: 10px;
  color: var(--soft-ink);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
}

.field-row {
  margin-top: 0;
}

input {
  flex: 1 1 260px;
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--cotton);
  color: var(--ink);
  padding: 0 18px;
  outline: none;
}

input:focus {
  border-color: var(--olive);
  box-shadow: 0 0 0 4px rgba(127, 145, 119, 0.16);
}

.form-note {
  min-height: 24px;
  color: var(--olive);
  font-size: 0.92rem;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  padding: 46px clamp(18px, 5vw, 76px);
  border-top: 1px solid var(--line);
  background: #f1e5d6;
}

.site-footer p {
  max-width: 480px;
  margin-top: 12px;
  color: var(--soft-ink);
}

.footer-links {
  display: grid;
  gap: 12px;
  align-content: center;
  justify-items: end;
  font-weight: 700;
}

.product-dialog {
  width: min(1080px, calc(100vw - 28px));
  max-height: min(860px, calc(100svh - 28px));
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: var(--cotton);
  color: var(--ink);
  box-shadow: var(--shadow);
}

.product-dialog::backdrop {
  background: rgba(47, 48, 41, 0.48);
  backdrop-filter: blur(8px);
}

.dialog-close {
  position: sticky;
  top: 14px;
  left: calc(100% - 58px);
  z-index: 3;
  margin: 14px 14px -58px auto;
}

.dialog-close span:first-child {
  transform: rotate(45deg) translate(1px, 1px);
}

.dialog-close span:last-child {
  transform: rotate(-45deg);
}

.product-detail {
  display: grid;
  grid-template-columns: minmax(280px, 0.95fr) minmax(0, 1fr);
  gap: clamp(24px, 5vw, 60px);
  padding: clamp(18px, 4vw, 56px);
}

.detail-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.detail-gallery img:first-child {
  grid-column: 1 / -1;
  aspect-ratio: 4 / 5;
}

.detail-gallery img {
  aspect-ratio: 1;
  border-radius: 8px;
}

.detail-copy {
  display: grid;
  align-content: center;
  gap: 18px;
}

.detail-copy h2 {
  font-size: clamp(2.7rem, 5vw, 5.7rem);
}

.detail-story {
  color: var(--soft-ink);
  font-family: var(--serif);
  font-size: clamp(1.35rem, 2.4vw, 2rem);
  line-height: 1.18;
}

.detail-list {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 8px 0 0;
  list-style: none;
  color: var(--soft-ink);
}

.detail-list li::before {
  content: "• ";
  color: var(--olive);
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 560ms ease, transform 560ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  .desktop-nav {
    display: none;
  }

  .menu-toggle {
    display: inline-grid;
  }

  .hero-media {
    grid-template-columns: 1fr;
  }

  .hero-media img:last-child {
    display: none;
  }

  .split-section,
  .studio,
  .newsletter,
  .product-detail {
    grid-template-columns: 1fr;
  }

  .editorial-stack {
    min-height: 560px;
  }

  .collection-grid,
  .product-grid {
    grid-template-columns: 1fr;
  }

  .collection-card {
    grid-template-columns: 1fr;
  }

  .site-footer {
    display: grid;
  }

  .footer-links {
    justify-items: start;
  }
}

@media (max-width: 640px) {
  .site-header {
    padding-inline: 16px;
  }

  .hero {
    min-height: 92svh;
    padding-inline: 16px;
  }

  h1 {
    font-size: clamp(3.2rem, 17vw, 5.4rem);
  }

  h2 {
    font-size: clamp(2.35rem, 13vw, 4.2rem);
  }

  .scroll-note {
    display: none;
  }

  .manifesto,
  .collections,
  .shop,
  .journal,
  .newsletter,
  .split-section {
    padding-inline: 16px;
  }

  .editorial-stack {
    min-height: 430px;
  }

  .stack-main {
    width: 78%;
    height: 84%;
  }

  .stack-small {
    width: 52%;
    height: 50%;
    border-width: 7px;
  }

  .collection-card,
  .product-card {
    padding: 10px;
  }

  .collection-card img {
    min-height: 280px;
  }

  .portrait-frame,
  .newsletter-image {
    height: 460px;
  }

  .product-dialog {
    width: 100vw;
    max-height: 100svh;
    border-radius: 0;
  }

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

.consent-banner {
  position: fixed;
  z-index: 1000;
  right: 20px;
  bottom: 20px;
  left: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: 980px;
  margin-inline: auto;
  padding: 20px;
  color: #2f352d;
  background: #fffdf8;
  border: 1px solid rgba(47, 53, 45, .18);
  box-shadow: 0 16px 50px rgba(47, 53, 45, .18);
}

.consent-banner[hidden] { display: none; }
.consent-banner p { margin: 6px 0 0; max-width: 650px; }
.consent-actions { display: flex; gap: 10px; flex: 0 0 auto; }

@media (max-width: 720px) {
  .consent-banner { align-items: stretch; flex-direction: column; }
  .consent-actions { display: grid; grid-template-columns: 1fr; }
}
