/* =========================================================
   dodo_baku — Designer Fashion House
   ========================================================= */

:root {
  --ink: #161513;
  --ink-2: #2a2825;
  --stone: #6f6a63;
  --mist: #a9a39a;
  --bone: #e9e4dc;
  --paper: #f3efe8;
  --cream: #faf6ef;
  --line: rgba(22, 21, 19, 0.14);
  --line-light: rgba(250, 246, 239, 0.28);

  --serif: "Cormorant Garamond", "Cormorant", "Bodoni Moda", Georgia, serif;
  --sans: "Jost", "Helvetica Neue", Arial, sans-serif;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --gutter: clamp(20px, 4.2vw, 64px);
  --header-h: 92px;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 15px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body.is-locked { overflow: hidden; }

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
input { font: inherit; color: inherit; }

::selection { background: var(--ink); color: var(--cream); }

/* ---------- Grain overlay ---------- */
.grain {
  position: fixed;
  inset: -50%;
  z-index: 200;
  pointer-events: none;
  opacity: 0.06;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1.2s steps(6) infinite;
}
@keyframes grain {
  0% { transform: translate(0, 0); }
  20% { transform: translate(-4%, 3%); }
  40% { transform: translate(3%, -5%); }
  60% { transform: translate(-6%, -2%); }
  80% { transform: translate(5%, 4%); }
  100% { transform: translate(0, 0); }
}

/* ---------- Typography helpers ---------- */
.eyebrow {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.32em;
  text-transform: uppercase;
}
.display {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  line-height: 0.95;
  letter-spacing: -0.01em;
}
.serif { font-family: var(--serif); font-weight: 300; }
.muted { color: var(--stone); }

/* ---------- Buttons ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 18px;
  padding: 19px 40px;
  border: 1px solid currentColor;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  overflow: hidden;
  isolation: isolate;
  transition: color 0.6s var(--ease);
}
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: currentColor;
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 0.6s var(--ease);
}
.btn span, .btn svg { position: relative; transition: color 0.6s var(--ease); }
.btn:hover::before { transform: scaleY(1); }
.btn--light { color: var(--cream); }
.btn--light:hover span, .btn--light:hover svg { color: var(--ink); }
.btn--dark { color: var(--ink); }
.btn--dark:hover span, .btn--dark:hover svg { color: var(--cream); }
.btn svg { width: 26px; height: 10px; transition: transform 0.6s var(--ease), color 0.6s var(--ease); }
.btn:hover svg { transform: translateX(6px); }

.link-line {
  position: relative;
  display: inline-block;
  padding-bottom: 4px;
}
.link-line::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: currentColor;
  transform-origin: right;
  transition: transform 0.7s var(--ease);
}
.link-line:hover::after { transform: scaleX(0); }

/* ---------- Header ---------- */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--header-h);
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  color: var(--cream);
  transition: background 0.6s var(--ease), color 0.6s var(--ease), height 0.6s var(--ease), transform 0.7s var(--ease);
}
.header::after {
  content: "";
  position: absolute;
  left: var(--gutter); right: var(--gutter); bottom: 0;
  height: 1px;
  background: currentColor;
  opacity: 0;
  transition: opacity 0.6s var(--ease);
}
.header.is-scrolled {
  --header-h: 72px;
  background: rgba(243, 239, 232, 0.82);
  backdrop-filter: blur(18px) saturate(1.2);
  -webkit-backdrop-filter: blur(18px) saturate(1.2);
  color: var(--ink);
}
.header.is-scrolled::after { opacity: 0.1; }
.header.is-hidden { transform: translateY(-100%); }
.header--dark { color: var(--ink); }

.logo {
  font-family: var(--serif);
  font-size: 34px;
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1;
  justify-self: start;
}
.nav { display: flex; gap: clamp(32px, 5.5vw, 84px); }
.nav a {
  position: relative;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  padding: 6px 0;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 0.3em; bottom: 0;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.6s var(--ease);
}
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }

.header__icons { justify-self: end; display: flex; align-items: center; gap: 30px; }
.icon-btn { position: relative; display: grid; place-items: center; width: 28px; height: 28px; }
.icon-btn svg { width: 24px; height: 24px; stroke: currentColor; fill: none; stroke-width: 1.3; transition: transform 0.4s var(--ease); }
.icon-btn:hover svg { transform: scale(1.1); }
.icon-btn .count {
  position: absolute;
  top: -5px; right: -9px;
  min-width: 17px; height: 17px;
  padding: 0 4px;
  border-radius: 9px;
  background: currentColor;
  font-size: 10px;
  line-height: 17px;
  text-align: center;
  letter-spacing: 0;
  transform: scale(0);
  transition: transform 0.5s var(--ease);
}
.icon-btn .count span { color: var(--ink); }
.header.is-scrolled .icon-btn .count span, .header--dark .icon-btn .count span { color: var(--cream); }
.icon-btn .count.has-items { transform: scale(1); }
.menu-btn { display: none; }

/* ---------- Hero (home) ---------- */
.hero {
  position: relative;
  height: 100vh;
  height: 100svh;
  min-height: 620px;
  overflow: hidden;
  background: #57534e;
  color: var(--cream);
}
.fluid {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}
.fluid-fallback {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: drift 24s var(--ease-in-out) infinite alternate;
}
@keyframes drift { from { transform: scale(1.04); } to { transform: scale(1.1) translate(-1%, -1%); } }

.hero__shade {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(to bottom, rgba(20, 19, 17, 0.38) 0%, rgba(20, 19, 17, 0) 22%),
    linear-gradient(to top, rgba(20, 19, 17, 0.32) 0%, rgba(20, 19, 17, 0) 26%);
}

.hero__content {
  position: absolute;
  left: 0; right: 0;
  top: var(--hero-top, 42%);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  pointer-events: none;
  transform: translateX(var(--hero-shift, 0px));
}
.hero__content > * { pointer-events: auto; }
.hero__title {
  margin: 0;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: var(--hero-size, clamp(84px, 15vw, 260px));
  line-height: 0.9;
  letter-spacing: -0.035em;
  color: var(--cream);
  text-shadow: 0 2px 40px rgba(20, 18, 15, 0.18);
  white-space: nowrap;
  max-width: 94vw;
}
[data-split] .ch {
  display: inline-block;
  white-space: pre;
  opacity: 0;
  transform: translateY(0.35em) rotate(4deg);
  filter: blur(10px);
  transition: opacity 1.4s var(--ease), transform 1.6s var(--ease), filter 1.4s var(--ease);
}
.is-ready [data-split] .ch { opacity: 1; transform: none; filter: blur(0); }
.hero__sub {
  margin: calc(var(--hero-size, 200px) * 0.2) 0 0;
  font-size: clamp(11px, 1.05vw, 16px);
  letter-spacing: 0.72em;
  margin-right: -0.72em;
  text-transform: uppercase;
  font-weight: 400;
}
.hero__cta { margin-top: calc(var(--hero-size, 200px) * 0.26); }
.reveal-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 1.4s var(--ease), transform 1.4s var(--ease);
}
.is-ready .reveal-up { opacity: 1; transform: none; }
.is-ready .reveal-up.d1 { transition-delay: 0.9s; }
.is-ready .reveal-up.d2 { transition-delay: 1.15s; }
.is-ready .reveal-up.d3 { transition-delay: 1.5s; }

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 34px;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: var(--cream);
}
.scroll-cue svg { width: 30px; height: 14px; stroke: currentColor; fill: none; stroke-width: 1.2; animation: cue 2.6s var(--ease-in-out) infinite; }
@keyframes cue { 0%, 100% { transform: translateY(0); opacity: 0.6; } 50% { transform: translateY(8px); opacity: 1; } }

.hero__meta {
  position: absolute;
  bottom: 38px;
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  opacity: 0.75;
}
.hero__meta--l { left: var(--gutter); }
.hero__meta--r { right: var(--gutter); text-align: right; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  position: relative;
  height: 86vh;
  min-height: 560px;
  overflow: hidden;
  background: #4c4844;
  color: var(--cream);
}
.page-hero .hero__shade {
  background:
    linear-gradient(to bottom, rgba(18, 17, 15, 0.42) 0%, rgba(18, 17, 15, 0) 26%),
    linear-gradient(to top, rgba(18, 17, 15, 0.62) 0%, rgba(18, 17, 15, 0) 55%);
}
.page-hero__inner {
  position: absolute;
  left: var(--gutter); right: var(--gutter); bottom: clamp(40px, 7vh, 80px);
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 40px;
}
.page-hero__title {
  margin: 14px 0 0;
  font-size: clamp(64px, 11vw, 190px);
}
.page-hero__lede { max-width: 360px; margin: 0; font-size: 15px; color: rgba(250, 246, 239, 0.88); }

/* ---------- Sections ---------- */
.section { padding: clamp(96px, 14vw, 200px) var(--gutter); position: relative; }
.section--tight { padding-top: clamp(64px, 8vw, 120px); padding-bottom: clamp(64px, 8vw, 120px); }
.section--dark { background: var(--ink); color: var(--bone); }
.section--bone { background: var(--bone); }

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: clamp(48px, 6vw, 88px);
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
}
.section--dark .section-head { border-color: rgba(233, 228, 220, 0.14); }
.section-head h2 { margin: 12px 0 0; font-size: clamp(44px, 6vw, 96px); }
.index-no { font-family: var(--serif); font-style: italic; font-size: 20px; color: var(--stone); }

/* Manifesto */
.manifesto { display: grid; grid-template-columns: 1fr 3fr; gap: 6vw; }
.manifesto__text {
  margin: 0;
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(32px, 4.2vw, 68px);
  line-height: 1.12;
  letter-spacing: -0.01em;
}
.manifesto__text em { font-style: italic; color: var(--stone); }
.manifesto__cols {
  margin-top: clamp(48px, 6vw, 90px);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
  max-width: 1000px;
}
.manifesto__cols p { margin: 12px 0 0; color: var(--stone); }

/* Split feature */
.split {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: clamp(40px, 7vw, 120px);
  align-items: center;
}
.split--rev { grid-template-columns: 1fr 1.15fr; }
.split--rev .split__media { order: 2; }
.split__media { position: relative; }
.split__body h2 { margin: 18px 0 28px; font-size: clamp(48px, 6.4vw, 108px); }
.split__body p { max-width: 440px; color: var(--stone); margin: 0 0 40px; }
.section--dark .split__body p { color: var(--mist); }
.split__caption {
  position: absolute;
  bottom: -34px; left: 0;
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--stone);
}

/* Image crop frames — crops from the master image */
.frame {
  position: relative;
  overflow: hidden;
  background: #8b857d;
}
.frame__img {
  position: absolute;
  inset: -6% 0;
  background-image: url("../assets/hero-4k.webp");
  background-repeat: no-repeat;
  will-change: transform;
  transition: transform 1.6s var(--ease), filter 1.2s var(--ease);
}
.frame__img--photo { background-image: none; background-size: cover; background-position: center; background-color: #d9d3ca; }
.frame--portrait { aspect-ratio: 4 / 5; }
.frame--tall { aspect-ratio: 3 / 4; }
.frame--square { aspect-ratio: 1; }
.frame--wide { aspect-ratio: 16 / 10; }
.frame--cinema { aspect-ratio: 21 / 9; }
.frame.tone-warm .frame__img { filter: sepia(0.22) saturate(1.1) contrast(1.02); }
.frame.tone-cool .frame__img { filter: grayscale(0.6) contrast(1.08) brightness(0.96); }
.frame.tone-mono .frame__img { filter: grayscale(1) contrast(1.1); }
.frame.tone-dark .frame__img { filter: brightness(0.78) contrast(1.12); }

/* image reveal curtain */
.frame.reveal::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--paper);
  transform-origin: top;
  transition: transform 1.5s var(--ease-in-out);
  z-index: 2;
}
.section--dark .frame.reveal::after { background: var(--ink); }
.section--bone .frame.reveal::after { background: var(--bone); }
.frame.reveal.in::after { transform: scaleY(0); }
.frame.reveal .frame__img { transform: scale(1.18); }
.frame.reveal.in .frame__img { transform: scale(1); }

/* Text reveal */
.fade { opacity: 0; transform: translateY(36px); transition: opacity 1.3s var(--ease), transform 1.3s var(--ease); }
.fade.in { opacity: 1; transform: none; }
.fade.d1 { transition-delay: 0.12s; }
.fade.d2 { transition-delay: 0.24s; }
.fade.d3 { transition-delay: 0.36s; }

/* ---------- Products ---------- */
.products {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(28px, 3vw, 48px) clamp(16px, 2vw, 32px);
}
.products--4 { grid-template-columns: repeat(4, 1fr); }
.product { position: relative; display: block; }
.product .frame { aspect-ratio: 3 / 4; }
.product__alt { opacity: 0; transition: opacity 0.9s var(--ease), transform 1.6s var(--ease) !important; }
.product:hover .product__alt { opacity: 1; }
.product:hover .frame__img { transform: scale(1.05); }
.product__tag {
  position: absolute;
  top: 16px; left: 16px;
  z-index: 3;
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--cream);
}
.product__wish {
  position: absolute;
  top: 12px; right: 12px;
  z-index: 3;
  width: 36px; height: 36px;
  display: grid; place-items: center;
  color: var(--cream);
}
.product__wish svg { width: 20px; height: 20px; stroke: currentColor; stroke-width: 1.3; fill: none; transition: fill 0.4s, transform 0.4s var(--ease); }
.product__wish.is-on svg { fill: currentColor; }
.product__wish:hover svg { transform: scale(1.12); }
.product__quick {
  position: absolute;
  left: 14px; right: 14px; bottom: 14px;
  z-index: 3;
  padding: 15px;
  background: rgba(243, 239, 232, 0.92);
  backdrop-filter: blur(8px);
  color: var(--ink);
  font-size: 11px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  text-align: center;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease), background 0.4s;
}
.product:hover .product__quick { opacity: 1; transform: none; }
.product__quick:hover { background: var(--ink); color: var(--cream); }
.product__info { display: flex; justify-content: space-between; gap: 16px; margin-top: 18px; }
.product__name { font-family: var(--serif); font-size: 23px; font-weight: 400; line-height: 1.2; margin: 0; }
.product__meta { font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--stone); margin-top: 6px; }
.product__price { font-size: 13px; letter-spacing: 0.08em; white-space: nowrap; }
.product.is-hidden { display: none; }

/* Filters */
.filters {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  margin-bottom: 56px;
  padding: 22px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  flex-wrap: wrap;
}
.filters__list { display: flex; gap: clamp(18px, 3vw, 44px); flex-wrap: wrap; }
.filter {
  font-size: 11px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--stone);
  transition: color 0.4s;
  position: relative;
}
.filter sup { font-family: var(--serif); font-style: italic; letter-spacing: 0; font-size: 13px; margin-left: 4px; }
.filter.is-active, .filter:hover { color: var(--ink); }
.filter.is-active::after { content: ""; position: absolute; left: 0; right: 0; bottom: -23px; height: 1px; background: var(--ink); }

/* ---------- Marquee ---------- */
.marquee {
  overflow: hidden;
  padding: 34px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}
.marquee__track { display: inline-flex; animation: marquee 48s linear infinite; }
.marquee__track span {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(44px, 6vw, 96px);
  line-height: 1;
  padding-right: 0.6em;
}
.marquee__track span i { font-style: normal; font-size: 0.4em; vertical-align: middle; padding-right: 0.9em; color: var(--stone); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-top: 56px; padding-top: 36px; border-top: 1px solid var(--line); }
.section--dark .stats { border-color: rgba(233, 228, 220, 0.14); }
.stat__n { font-family: var(--serif); font-size: clamp(44px, 4.4vw, 70px); line-height: 1; font-weight: 300; }
.stat__l { font-size: 10px; letter-spacing: 0.26em; text-transform: uppercase; color: var(--stone); margin-top: 12px; }
.section--dark .stat__l { color: var(--mist); }

/* ---------- Full-bleed band ---------- */
.band {
  position: relative;
  height: 110vh;
  min-height: 640px;
  overflow: hidden;
  color: var(--cream);
  display: grid;
  place-items: center;
  text-align: center;
}
.band .frame { position: absolute; inset: 0; }
.band .frame__img { inset: -12% 0; }
.band::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at center, rgba(18, 17, 15, 0.15), rgba(18, 17, 15, 0.55)); }
.band__inner { position: relative; z-index: 2; padding: 0 var(--gutter); }
.band h2 { margin: 22px 0 44px; font-size: clamp(64px, 10vw, 180px); }

/* ---------- Lookbook strip ---------- */
.strip { display: grid; grid-template-columns: 1.2fr 0.8fr 1fr; gap: clamp(14px, 2vw, 28px); align-items: end; }
.strip .frame:nth-child(1) { aspect-ratio: 4 / 5; }
.strip .frame:nth-child(2) { aspect-ratio: 3 / 4; margin-bottom: 14%; }
.strip .frame:nth-child(3) { aspect-ratio: 1; }

/* ---------- House ---------- */
.quote {
  margin: 0 auto;
  max-width: 1200px;
  text-align: center;
  font-family: var(--serif);
  font-weight: 300;
  font-style: italic;
  font-size: clamp(38px, 5vw, 84px);
  line-height: 1.08;
}
.quote cite { display: block; margin-top: 44px; font-family: var(--sans); font-style: normal; font-size: 11px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--stone); }
.section--dark .quote cite { color: var(--mist); }

.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 3vw, 48px); }
.pillar { border-top: 1px solid var(--line); padding-top: 28px; }
.pillar h3 { font-family: var(--serif); font-style: italic; font-weight: 300; font-size: clamp(36px, 3.4vw, 54px); line-height: 1; margin: 18px 0 20px; }
.pillar p { color: var(--stone); margin: 0 0 28px; }
.pillar .frame { aspect-ratio: 4 / 5; }

.timeline { list-style: none; margin: 0; padding: 0; }
.timeline li {
  display: grid;
  grid-template-columns: 180px 1fr 1.4fr;
  gap: 40px;
  padding: 36px 0;
  border-top: 1px solid rgba(233, 228, 220, 0.14);
  align-items: baseline;
}
.timeline li:last-child { border-bottom: 1px solid rgba(233, 228, 220, 0.14); }
.timeline .yr { font-family: var(--serif); font-style: italic; font-size: 44px; line-height: 1; }
.timeline h3 { margin: 0; font-family: var(--serif); font-weight: 400; font-size: 28px; }
.timeline p { margin: 0; color: var(--mist); }

.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--line); }
.process__step { padding: 36px 28px 0 0; border-right: 1px solid var(--line); margin-right: 28px; }
.process__step:last-child { border-right: 0; }
.process__step .n { font-family: var(--serif); font-style: italic; font-size: 64px; line-height: 1; color: var(--mist); }
.process__step h3 { font-weight: 400; font-size: 13px; letter-spacing: 0.24em; text-transform: uppercase; margin: 24px 0 12px; }
.process__step p { color: var(--stone); margin: 0; }

/* ---------- Archive ---------- */
.archive-list { list-style: none; margin: 0; padding: 0; position: relative; }
.archive-item {
  display: grid;
  grid-template-columns: 110px 1fr 220px 140px;
  gap: 24px;
  align-items: center;
  padding: 30px 0;
  border-top: 1px solid var(--line);
  cursor: pointer;
  transition: padding 0.7s var(--ease), color 0.5s;
}
.archive-item:last-child { border-bottom: 1px solid var(--line); }
.archive-item .no { font-family: var(--serif); font-style: italic; font-size: 20px; color: var(--stone); }
.archive-item .ttl {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(36px, 5vw, 80px);
  line-height: 1;
  transition: transform 0.8s var(--ease), font-style 0s;
}
.archive-item .season, .archive-item .yr { font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--stone); }
.archive-item .yr { text-align: right; }
.archive-list:hover .archive-item { color: var(--mist); }
.archive-list:hover .archive-item:hover { color: var(--ink); }
.archive-item:hover .ttl { transform: translateX(28px); font-style: italic; }

.archive-preview {
  position: fixed;
  top: 0; left: 0;
  z-index: 60;
  width: 300px;
  aspect-ratio: 3 / 4;
  pointer-events: none;
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.85);
  transition: opacity 0.5s var(--ease), transform 0.6s var(--ease);
  overflow: hidden;
}
.archive-preview.is-on { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.archive-preview .frame { position: absolute; inset: 0; }

/* ---------- Newsletter ---------- */
.letter { display: grid; grid-template-columns: 1fr 1fr; gap: 6vw; align-items: end; }
.letter h2 { margin: 16px 0 0; font-size: clamp(54px, 7vw, 120px); }
.letter p { color: var(--mist); max-width: 420px; }
.letter form { display: flex; border-bottom: 1px solid rgba(233, 228, 220, 0.4); margin-top: 28px; }
.letter input {
  flex: 1;
  background: none;
  border: 0;
  padding: 18px 0;
  font-size: 16px;
  color: var(--cream);
  outline: none;
}
.letter input::placeholder { color: var(--stone); letter-spacing: 0.04em; }
.letter button { font-size: 11px; letter-spacing: 0.28em; text-transform: uppercase; padding: 0 0 0 20px; }
.letter .note { margin-top: 14px; font-size: 12px; min-height: 20px; color: var(--mist); }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: var(--bone); padding: 90px var(--gutter) 34px; }
.footer__top { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 80px; }
.footer h4 { font-size: 11px; letter-spacing: 0.28em; text-transform: uppercase; font-weight: 400; color: var(--stone); margin: 0 0 22px; }
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer li { margin-bottom: 10px; }
.footer li a { color: var(--mist); transition: color 0.4s; }
.footer li a:hover { color: var(--cream); }
.footer__address { color: var(--mist); max-width: 300px; }
.footer__word {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: 21.5vw;
  line-height: 0.8;
  letter-spacing: -0.04em;
  margin: 0 0 0 -0.04em;
  color: var(--bone);
  white-space: nowrap;
  user-select: none;
}
.footer__bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 40px;
  padding-top: 26px;
  border-top: 1px solid rgba(233, 228, 220, 0.12);
  font-size: 10px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--stone);
  flex-wrap: wrap;
}

/* ---------- Drawers & overlays ---------- */
.scrim {
  position: fixed;
  inset: 0;
  z-index: 140;
  background: rgba(18, 17, 15, 0.45);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.6s var(--ease);
}
.scrim.is-on { opacity: 1; pointer-events: auto; }

.drawer {
  position: fixed;
  top: 0; right: 0; bottom: 0;
  z-index: 150;
  width: min(480px, 100vw);
  background: var(--paper);
  color: var(--ink);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.8s var(--ease);
}
.drawer.is-open { transform: none; }
.drawer__head { display: flex; justify-content: space-between; align-items: center; padding: 30px 36px; border-bottom: 1px solid var(--line); }
.drawer__head h3 { margin: 0; font-family: var(--serif); font-style: italic; font-weight: 300; font-size: 34px; }
.drawer__close { font-size: 11px; letter-spacing: 0.26em; text-transform: uppercase; }
.drawer__body { flex: 1; overflow: auto; padding: 10px 36px; }
.drawer__empty { padding: 60px 0; text-align: center; color: var(--stone); }
.drawer__empty .serif { display: block; font-style: italic; font-size: 30px; color: var(--ink); margin-bottom: 8px; }
.line-item { display: grid; grid-template-columns: 92px 1fr auto; gap: 18px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.line-item .frame { aspect-ratio: 3 / 4; }
.line-item h4 { margin: 0; font-family: var(--serif); font-weight: 400; font-size: 21px; line-height: 1.2; }
.line-item .meta { font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--stone); margin-top: 4px; }
.qty { display: inline-flex; align-items: center; gap: 14px; margin-top: 14px; font-size: 13px; border: 1px solid var(--line); padding: 4px 12px; }
.qty button { width: 16px; }
.line-item .remove { font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--stone); align-self: end; }
.drawer__foot { padding: 28px 36px 36px; border-top: 1px solid var(--line); }
.drawer__total { display: flex; justify-content: space-between; font-size: 12px; letter-spacing: 0.24em; text-transform: uppercase; margin-bottom: 8px; }
.drawer__total strong { font-family: var(--serif); font-size: 26px; letter-spacing: 0; font-weight: 400; }
.drawer__foot .small { font-size: 12px; color: var(--stone); margin: 0 0 22px; }
.drawer__foot .btn { width: 100%; justify-content: center; }

.search {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 150;
  background: var(--paper);
  color: var(--ink);
  padding: 120px var(--gutter) 70px;
  transform: translateY(-100%);
  transition: transform 0.8s var(--ease);
}
.search.is-open { transform: none; }
.search input {
  width: 100%;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: none;
  padding: 10px 0 20px;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(40px, 6vw, 92px);
  outline: none;
}
.search__close { position: absolute; top: 40px; right: var(--gutter); font-size: 11px; letter-spacing: 0.26em; text-transform: uppercase; }
.search__results { display: flex; flex-wrap: wrap; gap: 10px 40px; margin-top: 30px; min-height: 30px; }
.search__results a { font-family: var(--serif); font-size: 24px; }
.search__results a span { font-family: var(--sans); font-size: 12px; color: var(--stone); margin-left: 10px; }
.search__hint { font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--stone); }

/* Quick view */
.qv {
  position: fixed;
  inset: 0;
  z-index: 150;
  display: grid;
  place-items: center;
  padding: 24px;
  pointer-events: none;
}
.qv__panel {
  width: min(1080px, 100%);
  max-height: calc(100vh - 48px);
  overflow: auto;
  background: var(--paper);
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s var(--ease), transform 0.8s var(--ease);
}
.qv.is-open { pointer-events: auto; }
.qv.is-open .qv__panel { opacity: 1; transform: none; }
.qv__media .frame { height: 100%; min-height: 520px; }
.qv__body { padding: 56px 48px; display: flex; flex-direction: column; }
.qv__body h3 { margin: 14px 0 10px; font-family: var(--serif); font-weight: 300; font-style: italic; font-size: 52px; line-height: 1; }
.qv__price { font-size: 15px; letter-spacing: 0.06em; margin-bottom: 26px; }
.qv__desc { color: var(--stone); margin: 0 0 32px; }
.sizes { display: flex; gap: 8px; margin: 14px 0 36px; flex-wrap: wrap; }
.size {
  min-width: 52px;
  padding: 12px 10px;
  border: 1px solid var(--line);
  font-size: 12px;
  letter-spacing: 0.1em;
  transition: border-color 0.3s, background 0.3s, color 0.3s;
}
.size:hover { border-color: var(--ink); }
.size.is-active { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.qv__close { align-self: flex-end; font-size: 11px; letter-spacing: 0.26em; text-transform: uppercase; }
.qv__body .btn { justify-content: center; }
.qv__fine { margin-top: auto; padding-top: 32px; font-size: 12px; color: var(--stone); }

/* Toast */
.toast {
  position: fixed;
  left: 50%; bottom: 30px;
  z-index: 180;
  transform: translate(-50%, 30px);
  opacity: 0;
  background: var(--ink);
  color: var(--cream);
  padding: 16px 28px;
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  transition: opacity 0.5s var(--ease), transform 0.6s var(--ease);
  pointer-events: none;
}
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Page transition ---------- */
.curtain {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: var(--ink);
  display: grid;
  place-items: center;
  pointer-events: none;
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 0.9s var(--ease-in-out);
}
.curtain span {
  font-family: var(--serif);
  font-style: italic;
  font-size: 48px;
  font-weight: 300;
  color: var(--bone);
  opacity: 0;
  transition: opacity 0.4s;
}
.curtain.is-cover { transform: scaleY(1); pointer-events: auto; }
.curtain.is-cover span { opacity: 1; transition-delay: 0.4s; }
.curtain.is-leaving { transform-origin: top; }

/* Custom cursor */
.cursor {
  position: fixed;
  top: 0; left: 0;
  z-index: 250;
  width: 8px; height: 8px;
  margin: -4px 0 0 -4px;
  border-radius: 50%;
  background: #fff;
  mix-blend-mode: difference;
  pointer-events: none;
  transition: width 0.45s var(--ease), height 0.45s var(--ease), margin 0.45s var(--ease), opacity 0.3s;
}
.cursor.is-hover { width: 54px; height: 54px; margin: -27px 0 0 -27px; }
@media (hover: none), (pointer: coarse) { .cursor { display: none; } }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .products--4 { grid-template-columns: repeat(3, 1fr); }
  .archive-item { grid-template-columns: 70px 1fr 120px; }
  .archive-item .season { display: none; }
}

@media (max-width: 900px) {
  :root { --header-h: 76px; }
  .header { grid-template-columns: auto 1fr auto; }
  .logo { font-size: 28px; }
  .nav {
    position: fixed;
    inset: 0;
    z-index: -1;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 18px;
    padding: 0 var(--gutter);
    background: var(--ink);
    color: var(--cream);
    clip-path: inset(0 0 100% 0);
    transition: clip-path 0.9s var(--ease-in-out);
  }
  .nav a { font-family: var(--serif); font-style: italic; font-size: 54px; letter-spacing: 0; text-transform: none; }
  .nav a::after { display: none; }
  body.menu-open .nav { clip-path: inset(0 0 0 0); }
  body.menu-open .header { color: var(--cream); background: transparent; backdrop-filter: none; }
  .menu-btn { display: grid; }
  .header__icons { gap: 20px; grid-column: 3; }
  .header__icons .icon-btn--wish { display: none; }
  .menu-btn span { display: block; width: 24px; height: 1px; background: currentColor; transition: transform 0.5s var(--ease); }
  .menu-btn span + span { margin-top: 7px; }
  body.menu-open .menu-btn span:first-child { transform: translateY(4px) rotate(45deg); }
  body.menu-open .menu-btn span:last-child { transform: translateY(-4px) rotate(-45deg); }

  .manifesto, .split, .split--rev, .letter { grid-template-columns: 1fr; }
  .split--rev .split__media { order: 0; }
  .manifesto__cols, .stats, .pillars { grid-template-columns: 1fr; }
  .products, .products--4 { grid-template-columns: repeat(2, 1fr); }
  .strip { grid-template-columns: 1fr 1fr; }
  .strip .frame:nth-child(3) { display: none; }
  .page-hero__inner { grid-template-columns: 1fr; }
  .timeline li { grid-template-columns: 1fr; gap: 10px; }
  .process { grid-template-columns: 1fr 1fr; }
  .process__step { border-right: 0; margin: 0; padding-bottom: 36px; }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .qv__panel { grid-template-columns: 1fr; }
  .qv__media .frame { min-height: 360px; }
  .qv__body { padding: 36px 28px; }
  .hero__meta { display: none; }
  .archive-preview { display: none; }
}

@media (max-width: 560px) {
  .products, .products--4 { grid-template-columns: 1fr 1fr; gap: 28px 12px; }
  .product__name { font-size: 18px; }
  .product__info { flex-direction: column; gap: 4px; }
  .process { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr; }
  .hero__sub { letter-spacing: 0.4em; margin-right: -0.4em; }
  .btn { padding: 17px 26px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}
