/* ==========================================================================
   VEER — style.css
   Palette, type and spacing live in :root. Change them there.
   ========================================================================== */

:root {
  --ink: #111111;
  --paper: #f7f4ef;
  --paper-deep: #efe9e1;
  --sand: #c9b6a1;            /* the one muted accent: marquee band only */
  --muted: #6b645c;
  --line: rgba(17, 17, 17, 0.16);
  --line-light: rgba(255, 255, 255, 0.28);

  --serif: "Bodoni Moda", "Didot", "Bodoni 72", Georgia, serif;
  --sans: "Jost", "Futura", "Helvetica Neue", Arial, sans-serif;

  --gutter: clamp(1rem, 4vw, 4rem);
  --section: clamp(5rem, 11vw, 10rem);
  --header-h: 84px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, p, figure { margin: 0; }
button, input { font: inherit; color: inherit; }
button { background: none; border: 0; padding: 0; cursor: pointer; }
address { font-style: normal; }
body.is-locked { overflow: hidden; }
/* Elements with the hidden attribute must stay hidden even when a class sets display */
[hidden] { display: none !important; }
section[id], footer[id] { scroll-margin-top: var(--header-h); }

:focus-visible { outline: 1px solid currentColor; outline-offset: 4px; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0; padding: 0; margin: -1px;
}
.skip-link {
  position: fixed; top: 0.75rem; left: 0.75rem; z-index: 200;
  padding: 0.6rem 1rem; background: var(--ink); color: var(--paper);
  transform: translateY(-200%); transition: transform 0.2s;
}
.skip-link:focus { transform: none; }

/* ---------- Type primitives ---------- */
.display {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -0.03em;
  font-optical-sizing: auto;
}
.display em { font-style: italic; }
.label {
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

/* Text link with sliding underline */
.link-underline {
  position: relative;
  display: inline-block;
  padding-bottom: 0.2em;
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.link-underline::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: 0;
  height: 1px; background: currentColor;
}
/* Underline slides out to the right, then back in from the left */
.link-underline:hover::after,
.link-underline:focus-visible::after { animation: underline-slide 0.9s var(--ease); }
@keyframes underline-slide {
  0%    { transform: scaleX(1); transform-origin: right; }
  45%   { transform: scaleX(0); transform-origin: right; }
  45.1% { transform: scaleX(0); transform-origin: left; }
  100%  { transform: scaleX(1); transform-origin: left; }
}

/* Image zoom wrapper */
.img-wrap { display: block; overflow: hidden; }
.img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
a:hover .img-wrap img, a.img-wrap:hover img, .look:hover .img-wrap img { transform: scale(1.04); }

/* Product shots on pure white take on the warm page tone instead of reading as white boxes */
.product__media img, .insta__strip img, .story__img img, .collections .img-wrap img, .look .img-wrap img { mix-blend-mode: multiply; }

/* Thin decorative curves (nod to the reference) */
.deco-lines {
  position: absolute; inset: 0; width: 100%; height: 100%;
  pointer-events: none; z-index: 0;
}
.deco-lines path { fill: none; stroke: var(--ink); stroke-width: 1; opacity: 0.22; vector-effect: non-scaling-stroke; }

/* ==========================================================================
   LOADING SCREEN
   Shown while <html> has .is-loading; lifts away when script.js removes it.
   ========================================================================== */
.loader { display: none; }
.js .loader {
  position: fixed; inset: 0; z-index: 300;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  background: var(--paper);
  transition: transform 1.1s cubic-bezier(0.76, 0, 0.24, 1) 0.1s, visibility 0s 1.3s;
}
.js.is-loading body { overflow: hidden; }
.js:not(.is-loading) .loader { transform: translateY(-100%); visibility: hidden; pointer-events: none; }

.loader__logo {
  position: relative;
  width: clamp(150px, 32vw, 210px);
  aspect-ratio: 235 / 142;
  transition: opacity 0.4s var(--ease), transform 0.8s var(--ease);
}
.loader__word {
  position: absolute; inset: 0; width: 100%; height: 100%;
  clip-path: inset(100% 0 0 0);
  transform: translateY(14px);
  animation: loader-word 1s var(--ease) 0.3s forwards;
}
.loader__flower {
  position: absolute; left: 0; top: 0; width: 19.149%; height: auto;
  opacity: 0; scale: 0.3;
  animation: loader-flower 0.9s var(--ease) forwards, loader-spin 5s linear infinite;
}
.loader__line {
  width: clamp(150px, 32vw, 210px); height: 1px; margin-top: 2.25rem;
  background: var(--line); overflow: hidden;
  transition: opacity 0.4s var(--ease);
}
.loader__line span {
  display: block; height: 100%; background: var(--ink);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.6s var(--ease);
}
.js:not(.is-loading) .loader__logo { opacity: 0; transform: translateY(-24px); }
.js:not(.is-loading) .loader__line { opacity: 0; }

@keyframes loader-word { to { clip-path: inset(0 0 0 0); transform: none; } }
@keyframes loader-flower { to { opacity: 1; scale: 1; } }
@keyframes loader-spin { from { rotate: -90deg; } to { rotate: 270deg; } }

/* Hero waits for the loading screen, then rises in */
.js.is-loading .hero__img { animation-play-state: paused; }
.js .hero__index li, .js .hero__title, .js .hero__cta, .js .hero__rule {
  transition: opacity 1.1s var(--ease), transform 1.3s var(--ease);
}
.js.is-loading .hero__index li, .js.is-loading .hero__title,
.js.is-loading .hero__cta, .js.is-loading .hero__rule { opacity: 0; transform: translateY(40px); }
.js .hero__index li:nth-child(1) { transition-delay: 0.55s; }
.js .hero__index li:nth-child(2) { transition-delay: 0.62s; }
.js .hero__index li:nth-child(3) { transition-delay: 0.69s; }
.js .hero__index li:nth-child(4) { transition-delay: 0.76s; }
.js .hero__title { transition-delay: 0.45s; }
.js .hero__cta { transition-delay: 0.8s; }
.js .hero__rule { transition-delay: 0.9s; }

/* ==========================================================================
   HEADER
   ========================================================================== */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 100;
  color: #fff;
  transition: background-color 0.4s var(--ease), color 0.4s var(--ease), border-color 0.4s;
  border-bottom: 1px solid transparent;
}
.site-header.is-solid,
body.menu-open .site-header {
  background: var(--paper);
  color: var(--ink);
  border-bottom-color: var(--line);
}
body.menu-open .site-header { border-bottom-color: transparent; }

.site-header__inner {
  height: var(--header-h);
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 2rem;
}
.brand { position: relative; display: block; width: 74px; }
.brand__logo { width: 100%; height: auto; transition: opacity 0.4s; }
.brand__logo--dark { position: absolute; inset: 0; opacity: 0; }
.site-header.is-solid .brand__logo--light,
body.menu-open .brand__logo--light { opacity: 0; }
.site-header.is-solid .brand__logo--dark,
body.menu-open .brand__logo--dark { opacity: 1; }

.main-nav ul { display: flex; justify-content: flex-end; gap: clamp(1.25rem, 2.6vw, 2.75rem); }
.main-nav a {
  position: relative; font-size: 0.74rem; font-weight: 400;
  letter-spacing: 0.2em; text-transform: uppercase; padding: 0.4rem 0;
}
.main-nav a::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 1px;
  background: currentColor; transform: scaleX(0); transform-origin: right;
  transition: transform 0.45s var(--ease);
}
.main-nav a:hover::after, .main-nav a:focus-visible::after { transform: scaleX(1); transform-origin: left; }

.header-actions { display: flex; align-items: center; gap: 1.1rem; }
.icon-btn { display: grid; place-items: center; width: 34px; height: 34px; }
.icon-btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.2; }

.menu-toggle { display: none; align-items: center; gap: 0.7rem; height: 34px; }
.menu-toggle__label { font-size: 0.7rem; letter-spacing: 0.24em; text-transform: uppercase; }
.menu-toggle__lines { position: relative; width: 22px; height: 8px; }
.menu-toggle__lines span {
  position: absolute; left: 0; width: 100%; height: 1px; background: currentColor;
  transition: transform 0.4s var(--ease), top 0.4s var(--ease);
}
.menu-toggle__lines span:first-child { top: 0; }
.menu-toggle__lines span:last-child { top: 7px; }
.menu-toggle[aria-expanded="true"] .menu-toggle__lines span:first-child { top: 4px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle__lines span:last-child { top: 4px; transform: rotate(-45deg); }

/* Mobile menu */
.mobile-menu {
  position: fixed; inset: 0; z-index: 90;
  background: var(--paper);
  padding: calc(var(--header-h) + 2rem) var(--gutter) 2rem;
  display: flex; flex-direction: column; justify-content: space-between;
  opacity: 0; pointer-events: none; transition: opacity 0.4s var(--ease);
}
.mobile-menu.is-open { opacity: 1; pointer-events: auto; }
.mobile-menu__list li { border-top: 1px solid var(--line); }
.mobile-menu__list li:last-child { border-bottom: 1px solid var(--line); }
.mobile-menu__list a {
  display: flex; align-items: baseline; gap: 1.25rem;
  padding: 0.85rem 0;
  font-family: var(--serif); font-size: clamp(2.1rem, 9vw, 3.4rem); line-height: 1.05;
  transform: translateY(14px); opacity: 0;
  transition: transform 0.6s var(--ease), opacity 0.6s var(--ease);
}
.mobile-menu.is-open .mobile-menu__list a { transform: none; opacity: 1; }
.mobile-menu__list li:nth-child(2) a { transition-delay: 0.04s; }
.mobile-menu__list li:nth-child(3) a { transition-delay: 0.08s; }
.mobile-menu__list li:nth-child(4) a { transition-delay: 0.12s; }
.mobile-menu__list li:nth-child(5) a { transition-delay: 0.16s; }
.mobile-menu__list li:nth-child(6) a { transition-delay: 0.2s; }
.mobile-menu__list span { font-family: var(--sans); font-size: 0.7rem; letter-spacing: 0.2em; color: var(--muted); }
.mobile-menu__foot { color: var(--muted); }

/* Search */
.search {
  position: fixed; inset: 0; z-index: 150;
  background: var(--paper);
  overflow-y: auto;
}
.search__inner { max-width: 1100px; margin: 0 auto; padding: clamp(1.5rem, 6vw, 5rem) var(--gutter); }
.search__bar { display: flex; align-items: center; gap: 1.5rem; border-bottom: 1px solid var(--ink); }
.search__input {
  flex: 1; min-width: 0; border: 0; background: transparent; outline: none;
  font-family: var(--serif); font-size: clamp(1.8rem, 5vw, 3.4rem); padding: 0.6rem 0;
}
.search__input::placeholder { color: rgba(17, 17, 17, 0.32); }
.search__input::-webkit-search-cancel-button { display: none; }
.search__results { margin-top: 1.5rem; }
.search__results li { border-bottom: 1px solid var(--line); }
.search__results a, .search__results p { display: grid; grid-template-columns: 64px 1fr auto; gap: 1.25rem; align-items: center; padding: 0.9rem 0; }
.search__results p { display: block; color: var(--muted); }
.search__results img { width: 64px; height: 64px; object-fit: cover; }
.search__results .s-name { font-family: var(--serif); font-size: 1.25rem; line-height: 1.2; }
.search__results .s-cat { display: block; font-size: 0.68rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); }
.search__results a:hover .s-name { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
  position: relative;
  min-height: 100vh; min-height: 100svh;
  color: #fff;
  overflow: hidden;
  display: grid;
  grid-template-rows: 1fr auto auto;
  isolation: isolate;
}
.hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transform: scale(1.06); animation: hero-in 2.4s var(--ease) forwards; }
.hero__veil { position: absolute; inset: 0; background: rgba(17, 17, 17, 0.22); z-index: -1; }
@keyframes hero-in { to { transform: scale(1); } }

.hero__index {
  align-self: center;
  display: grid; grid-template-columns: repeat(4, 1fr);
  padding: calc(var(--header-h) + 2rem) var(--gutter) 0;
}
.hero__index a { display: inline-block; }
.hero__index-name {
  display: block;
  font-family: var(--serif); font-size: clamp(1.3rem, 2.4vw, 2.3rem); line-height: 1.05;
  letter-spacing: -0.01em; font-variation-settings: "opsz" 72;
}
.hero__index-meta { display: block; margin-top: 0.6rem; font-size: 0.72rem; letter-spacing: 0.24em; text-transform: uppercase; opacity: 0.8; }
.hero__index a:hover .hero__index-name { font-style: italic; }

.hero__content {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem;
  padding: 0 var(--gutter) clamp(1.5rem, 3vw, 2.5rem);
}
.hero__title {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(3.4rem, 11vw, 11rem);
  line-height: 0.92; letter-spacing: -0.03em;
}
.hero__title em { font-style: italic; padding-left: 0.6em; }
.hero__cta { margin-bottom: 1.4rem; white-space: nowrap; }

.hero__rule {
  display: flex; align-items: center; gap: 1.5rem;
  padding: 0 0 clamp(1.5rem, 3vw, 2.25rem);
}
.hero__rule::before, .hero__rule::after { content: ""; flex: 1; height: 1px; background: var(--line-light); }
.hero__rule::before { flex: 0 0 var(--gutter); }
.hero__rule span { font-size: 0.72rem; letter-spacing: 0.3em; text-transform: uppercase; }

/* ==========================================================================
   STORY
   ========================================================================== */
.story {
  position: relative;
  padding: var(--section) var(--gutter);
  overflow: hidden;
}
.story__label { position: relative; z-index: 1; text-align: center; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.story__grid {
  position: relative; z-index: 1;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: auto auto auto;
  column-gap: clamp(0.75rem, 2vw, 2rem);
  max-width: 1440px; margin: 0 auto;
}
.story__title {
  grid-column: 1 / 7; grid-row: 1;
  font-size: clamp(2.8rem, 6.4vw, 6.4rem);
  position: relative; z-index: 2;
  padding-top: 3rem;
  align-self: start;
}
.story__img--main { grid-column: 6 / 10; grid-row: 1 / 4; }
figure.story__img, .look .img-wrap { background: var(--paper); }
.collections .img-wrap { background: var(--paper-deep); }
.story__img--main img { aspect-ratio: 3 / 4; object-fit: cover; width: 100%; }
.story__img--small { grid-column: 2 / 5; grid-row: 2 / 4; align-self: end; margin-top: 3rem; }
.story__img--small img { aspect-ratio: 4 / 5; object-fit: cover; width: 100%; }
.story__img--side { grid-column: 10 / 13; grid-row: 1 / 2; margin-top: 4rem; }
.story__img--side img { aspect-ratio: 4 / 5; object-fit: cover; width: 100%; }
.story__text {
  grid-column: 9 / 13; grid-row: 2 / 4;
  align-self: end;
  position: relative; z-index: 2;
  background: var(--paper);
  padding: 2rem 0 0 2rem;
  margin-left: -2rem;
}
.story__text p { margin-bottom: 1.25rem; color: var(--muted); max-width: 36ch; }
.story__text .story__lede { font-family: var(--serif); font-style: italic; font-size: clamp(1.2rem, 1.6vw, 1.5rem); line-height: 1.45; color: var(--ink); }
.story__text .link-underline { margin-top: 0.5rem; }

/* ==========================================================================
   MARQUEE
   ========================================================================== */
.marquee {
  background: var(--sand);
  overflow: hidden;
  padding: clamp(0.5rem, 1.2vw, 1rem) 0 clamp(0.9rem, 1.8vw, 1.5rem);
  white-space: nowrap;
}
.marquee__track { display: inline-flex; animation: marquee 38s linear infinite; }
.marquee span {
  font-family: var(--serif); font-size: clamp(3.4rem, 9vw, 9rem); line-height: 1.1;
  letter-spacing: -0.02em; padding-right: 0.3em;
}
@keyframes marquee { to { transform: translateX(-50%); } }

/* ==========================================================================
   SHOP
   ========================================================================== */
.shop { padding: var(--section) var(--gutter); max-width: 1600px; margin: 0 auto; }
.shop__head {
  display: grid; grid-template-columns: 1fr minmax(0, 340px);
  align-items: end; gap: 2rem;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}
.shop__title { font-size: clamp(2.6rem, 5.6vw, 5.4rem); margin-top: 0.75rem; }
.shop__note { color: var(--muted); font-size: 0.95rem; }

.filters {
  display: flex; flex-wrap: wrap; gap: 0.25rem 2rem;
  padding: 1rem 0;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--line);
}
.filter-btn {
  position: relative; padding: 0.35rem 0;
  font-size: 0.74rem; font-weight: 400; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--muted); transition: color 0.3s;
}
.filter-btn sup { font-size: 0.6rem; letter-spacing: 0; margin-left: 0.25em; }
.filter-btn::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: 100%;
  background: var(--ink); transform: scaleX(0); transform-origin: left; transition: transform 0.45s var(--ease);
}
.filter-btn:hover, .filter-btn[aria-pressed="true"] { color: var(--ink); }
.filter-btn[aria-pressed="true"]::after { transform: scaleX(1); }

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  column-gap: clamp(1rem, 2vw, 2rem);
  row-gap: clamp(2.5rem, 4vw, 4rem);
  padding-top: clamp(2rem, 3vw, 3rem);
}
.product { display: flex; flex-direction: column; }
.product.is-hidden { display: none; }
.product__media {
  position: relative; overflow: hidden;
  aspect-ratio: 4 / 5;
  background: var(--paper-deep);
}
.product__media img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.1s var(--ease), opacity 0.6s var(--ease);
}
.product__media .product__hover { opacity: 0; }
.product:hover .product__media.has-hover .product__hover { opacity: 1; }
.product:hover .product__media:not(.has-hover) img { transform: scale(1.05); }
.product__body {
  display: grid; grid-template-columns: 1fr auto; gap: 0.15rem 1rem;
  padding-top: 1rem;
  border-top: 1px solid transparent;
}
.product__cat { grid-column: 1 / -1; font-size: 0.66rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted); }
.product__name { font-family: var(--serif); font-weight: 400; font-size: clamp(1.05rem, 1.35vw, 1.3rem); line-height: 1.25; }
.product__price { font-size: 0.95rem; font-weight: 400; white-space: nowrap; }
.product__order { grid-column: 1 / -1; justify-self: start; margin-top: 0.9rem; font-size: 0.7rem; }
.product__flash { animation: flash 1.6s var(--ease); }
@keyframes flash { 0%, 100% { outline: 1px solid transparent; outline-offset: 10px; } 20%, 70% { outline: 1px solid var(--ink); outline-offset: 10px; } }

.shop__empty {
  padding: 4rem 0; text-align: left;
  font-family: var(--serif); font-size: clamp(1.4rem, 2.4vw, 2rem); max-width: 28ch;
}
.shop__empty a { text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px; }
.shop__more { margin-top: clamp(3rem, 5vw, 4.5rem); border-top: 1px solid var(--line); padding-top: 1.5rem; display: flex; justify-content: flex-end; }

/* ==========================================================================
   COLLECTIONS
   ========================================================================== */
.collections {
  position: relative; overflow: hidden;
  background: var(--paper-deep);
  padding: var(--section) var(--gutter);
}
.collection-feature {
  position: relative; z-index: 1;
  display: grid;
  grid-template-columns: 1fr minmax(0, 520px) 1fr;
  grid-template-rows: auto auto;
  align-items: start;
  max-width: 1440px; margin: 0 auto;
}
.collection-feature__word {
  grid-row: 1; padding-top: 0.5rem;
  font-size: clamp(4rem, 12vw, 12.5rem); line-height: 0.9; letter-spacing: -0.04em;
}
.collection-feature__word--l { grid-column: 1; justify-self: end; padding-right: clamp(1rem, 2.5vw, 2.5rem); }
.collection-feature__word--r { grid-column: 3; justify-self: start; padding-left: clamp(1rem, 2.5vw, 2.5rem); }
.collection-feature__frame { grid-column: 2; grid-row: 1; position: relative; display: block; padding: 12px; margin-top: clamp(4rem, 8vw, 8rem); }
.collection-feature__frame .img-wrap { aspect-ratio: 6 / 7; }
.corner { position: absolute; width: 44px; height: 44px; border: 0 solid var(--ink); }
.corner--tl { top: 0; left: 0; border-top-width: 1px; border-left-width: 1px; }
.corner--tr { top: 0; right: 0; border-top-width: 1px; border-right-width: 1px; }
.corner--bl { bottom: 0; left: 0; border-bottom-width: 1px; border-left-width: 1px; }
.corner--br { bottom: 0; right: 0; border-bottom-width: 1px; border-right-width: 1px; }
.collection-feature__frame .corner { transition: width 0.6s var(--ease), height 0.6s var(--ease); }
.collection-feature__frame:hover .corner { width: 64px; height: 64px; }

.collection-feature__caption {
  grid-column: 2 / 4; grid-row: 2;
  display: grid; grid-template-columns: auto 1fr; column-gap: 2.5rem; row-gap: 0.75rem; align-items: baseline;
  padding-top: 1.75rem;
}
.collection-feature__caption h3 { font-size: clamp(2rem, 3.6vw, 3.4rem); grid-row: span 2; }
.collection-feature__caption p { color: var(--muted); max-width: 34ch; }
.collection-feature__caption .link-underline { justify-self: start; }

.collection-pair {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: repeat(12, 1fr); column-gap: clamp(1rem, 2vw, 2rem);
  max-width: 1440px; margin: clamp(5rem, 10vw, 9rem) auto 0;
}
.collection-block { position: relative; }
.collection-block .img-wrap { position: relative; }
.collection-block--tall { grid-column: 1 / 6; }
.collection-block--tall .img-wrap { aspect-ratio: 10 / 13; }
.collection-block--wide { grid-column: 6 / 13; align-self: end; margin-top: 0; }
.collection-block--wide .img-wrap { aspect-ratio: 7 / 5; }
.collection-block__text {
  position: relative;
  background: var(--paper-deep);
  padding: 1.75rem 1.75rem 0 0;
  margin-top: -5rem;
  width: min(85%, 420px);
}
.collection-block--wide .collection-block__text { margin-left: auto; padding: 1.75rem 0 0 1.75rem; }
.collection-block__text h3 { font-size: clamp(2.2rem, 4.4vw, 4.2rem); margin: 0.6rem 0 0.9rem; }
.collection-block__text p:not(.label) { color: var(--muted); margin-bottom: 1.25rem; max-width: 34ch; }

/* ==========================================================================
   LOOKBOOK
   ========================================================================== */
.lookbook { padding: var(--section) var(--gutter); max-width: 1600px; margin: 0 auto; }
.lookbook__head { display: flex; justify-content: space-between; align-items: end; gap: 2rem; margin-bottom: clamp(3rem, 6vw, 5rem); border-bottom: 1px solid var(--line); padding-bottom: 2rem; }
.lookbook__title { font-size: clamp(2.6rem, 6vw, 6rem); text-align: right; }
.lookbook__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.5rem, 5vw, 6rem); align-items: start; }
.look { display: flex; flex-direction: column; gap: 2rem; }
.look .img-wrap { aspect-ratio: 9 / 11.5; }
.look--offset { margin-top: clamp(0rem, 3vw, 3rem); }
.look__text h3 { font-size: clamp(1.6rem, 2.6vw, 2.6rem); line-height: 1.08; margin-bottom: 0.9rem; }
.look__text p { color: var(--muted); margin-bottom: 1rem; max-width: 32ch; }

/* ==========================================================================
   INSTAGRAM STRIP
   ========================================================================== */
.insta { padding-bottom: var(--section); }
.insta__head { display: flex; justify-content: space-between; align-items: baseline; gap: 1.5rem; padding: 0 var(--gutter) 1.5rem; }
.insta__title { font-size: clamp(1.8rem, 3.4vw, 3rem); font-style: italic; }
.insta__strip { display: grid; grid-template-columns: repeat(6, 1fr); }
.insta__strip a { display: block; overflow: hidden; aspect-ratio: 1; background: var(--paper-deep); }
.insta__strip img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease), opacity 0.4s; }
.insta__strip a:hover img { transform: scale(1.06); opacity: 0.88; }

/* ==========================================================================
   NEWSLETTER
   ========================================================================== */
.newsletter {
  display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(2rem, 6vw, 7rem); align-items: end;
  padding: clamp(4rem, 8vw, 7rem) var(--gutter);
  border-top: 1px solid var(--ink);
  max-width: 1600px; margin: 0 auto;
}
.newsletter__title { font-size: clamp(2.2rem, 4.4vw, 4.2rem); margin-top: 1rem; max-width: 16ch; }
.newsletter__field { display: flex; gap: 1rem; border-bottom: 1px solid var(--ink); margin-top: 0.75rem; }
.newsletter__field input {
  flex: 1; min-width: 0; border: 0; background: transparent; padding: 0.8rem 0;
  font-size: 1.05rem; outline: none;
}
.newsletter__field input::placeholder { color: rgba(17, 17, 17, 0.35); }
.newsletter__field button { align-self: center; }
.newsletter__form:focus-within .newsletter__field { border-bottom-width: 2px; margin-bottom: -1px; }
.newsletter__msg { min-height: 1.5em; margin-top: 0.75rem; font-size: 0.9rem; color: var(--muted); }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer { background: var(--ink); color: var(--paper); }
.site-footer__grid {
  display: grid; grid-template-columns: 1fr 1.2fr 1fr;
  padding: clamp(4rem, 7vw, 6rem) var(--gutter);
  max-width: 1600px; margin: 0 auto;
}
.site-footer__col { padding: 0 clamp(1rem, 3vw, 3rem); }
.site-footer__col + .site-footer__col { border-left: 1px solid rgba(247, 244, 239, 0.16); }
.site-footer__col:first-child { padding-left: 0; }
.site-footer__col:last-child { padding-right: 0; }
.site-footer__heading { font-size: clamp(1.8rem, 2.6vw, 2.4rem); margin-bottom: 1.5rem; }
.site-footer__links { columns: 2; column-gap: 2rem; }
.site-footer__links li { margin-bottom: 0.75rem; break-inside: avoid; }
.site-footer a { transition: opacity 0.3s; }
.site-footer__links a:hover, .site-footer__contact a:hover, .site-footer__social a:hover { opacity: 0.6; }
.site-footer__col--brand { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 2rem; }
.site-footer__col--brand img { width: min(190px, 60%); }
.site-footer__social { display: flex; gap: 1.75rem; font-size: 0.72rem; letter-spacing: 0.22em; text-transform: uppercase; }
.site-footer__contact { display: flex; flex-direction: column; gap: 0.75rem; color: rgba(247, 244, 239, 0.82); }
.site-footer__bottom {
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding: 1.5rem var(--gutter);
  border-top: 1px solid rgba(247, 244, 239, 0.16);
  font-size: 0.82rem; color: rgba(247, 244, 239, 0.6);
}
.site-footer__bottom .link-underline { color: var(--paper); font-size: 0.68rem; }

/* ==========================================================================
   SCROLL REVEAL
   ========================================================================== */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease), transform 1.1s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1100px) {
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .insta__strip { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 960px) {
  :root { --header-h: 68px; }
  .main-nav { display: none; }
  .menu-toggle { display: inline-flex; }
  .site-header__inner { grid-template-columns: auto 1fr; }
  .header-actions { justify-self: end; gap: 0.6rem; }
  .brand { width: 62px; }

  .hero__index { grid-template-columns: repeat(2, 1fr); row-gap: 2rem; align-self: end; padding-bottom: 3rem; }
  .hero__content { flex-direction: column; align-items: flex-start; gap: 1.5rem; }
  .hero__cta { margin-bottom: 0; }

  .story__grid { grid-template-columns: repeat(6, 1fr); row-gap: 1.5rem; }
  .story__title { grid-column: 1 / -1; grid-row: 1; padding-top: 0; }
  .story__img--main { grid-column: 1 / 5; grid-row: 2; }
  .story__img--side { grid-column: 5 / 7; grid-row: 2; margin-top: 30%; }
  .story__img--small { display: none; }
  .story__text { grid-column: 2 / -1; grid-row: 3; margin: -4rem 0 0; padding: 1.75rem 0 0 1.75rem; }

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

  .collection-feature { grid-template-columns: 1fr; }
  .collection-feature__word { grid-column: 1 !important; grid-row: auto; padding: 0 !important; margin: 0 !important; }
  .collection-feature__word--l { justify-self: start; }
  .collection-feature__word--r { justify-self: end; margin-top: 0.1em !important; }
  .collection-feature__frame { grid-column: 1; grid-row: auto; margin: 0.75rem auto 0; width: min(100%, 520px); }
  .collection-feature__word--l { grid-row: 1; }
  .collection-feature__frame { grid-row: 2; }
  .collection-feature__word--r { grid-row: 3; }
  .collection-feature__caption { grid-column: 1; grid-row: 4; grid-template-columns: 1fr; }
  .collection-feature__caption h3 { grid-row: auto; }

  .collection-pair { grid-template-columns: 1fr; row-gap: 5rem; }
  .collection-block--tall, .collection-block--wide { grid-column: 1; }
  .collection-block--tall { width: 88%; }
  .collection-block--wide { width: 92%; justify-self: end; }

  .lookbook__head { flex-direction: column; align-items: flex-start; }
  .lookbook__title { text-align: left; }
  .lookbook__grid { grid-template-columns: 1fr; gap: 4.5rem; }
  .look, .look--offset { margin: 0; }
  .look:nth-child(even) { padding-left: 14%; }
  .look:nth-child(odd) { padding-right: 14%; }
  .look--offset { flex-direction: column-reverse; }

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

  .site-footer__grid { grid-template-columns: 1fr 1fr; row-gap: 3rem; }
  .site-footer__col--brand { grid-column: 1 / -1; grid-row: 1; padding: 0 0 3rem; border-bottom: 1px solid rgba(247, 244, 239, 0.16); }
  .site-footer__col + .site-footer__col { border-left: 0; }
  .site-footer__col:nth-child(1) { padding-left: 0; }
  .site-footer__col:nth-child(3) { padding-right: 0; border-left: 1px solid rgba(247, 244, 239, 0.16); }
}

@media (max-width: 600px) {
  .menu-toggle__label { display: none; }
  .hero__index-name { font-size: 1.25rem; }
  .hero__rule span { font-size: 0.6rem; letter-spacing: 0.22em; }
  .filters { gap: 0.25rem 1.4rem; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin: 0 calc(var(--gutter) * -1); padding-left: var(--gutter); padding-right: var(--gutter); }
  .filters::-webkit-scrollbar { display: none; }
  .filter-btn { white-space: nowrap; flex: none; }
  .product-grid { column-gap: 0.75rem; }
  .product__body { grid-template-columns: 1fr; }
  .product__price { font-size: 0.88rem; }
  .look:nth-child(n) { padding: 0; }
  .insta__head { flex-direction: column; gap: 0.5rem; }
  .site-footer__grid { grid-template-columns: 1fr; }
  .site-footer__col:nth-child(3) { border-left: 0; padding-left: 0; padding-top: 3rem; border-top: 1px solid rgba(247, 244, 239, 0.16); }
  .site-footer__bottom { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .marquee__track { animation: none; }
  .js .reveal { opacity: 1; transform: none; }
}
