/* ==========================================================================
   AURELLE — style.css
   1.  Tokens
   2.  Reset & base
   3.  Utilities (labels, links, buttons)
   4.  Header
   5.  Hero
   6.  Intro
   7.  Product shelves & cards
   8.  Editorial
   9.  Campaign
   10. Process
   11. Categories
   12. Statement
   13. Newsletter
   14. Footer
   15. Overlays (scrim, menu, search, bag, quick view, toast)
   16. Motion
   17. Responsive
   ========================================================================== */

/* 1. TOKENS ------------------------------------------------------------- */
:root {
  --espresso: #2A1B14;
  --chocolate: #3B2418;
  --ivory: #F4F0E9;
  --cream: #EAE4DA;
  --gold: #B9975B;
  --charcoal: #181512;

  --ink: var(--espresso);
  --ink-soft: rgba(42, 27, 20, .62);
  --ink-faint: rgba(42, 27, 20, .40);
  --line: rgba(42, 27, 20, .16);
  --on-dark: #EFE8DE;
  --on-dark-soft: rgba(239, 232, 222, .64);
  --line-dark: rgba(239, 232, 222, .20);

  --font-display: "Schibsted Grotesk", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-body: "Instrument Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;

  --fs-hero: clamp(3.6rem, 12vw, 10rem);
  --fs-xl: clamp(2.5rem, 6.4vw, 6.2rem);
  --fs-lg: clamp(2rem, 4.4vw, 4rem);
  --fs-md: clamp(1.5rem, 2.6vw, 2.4rem);
  --fs-body: clamp(0.95rem, 0.55vw + 0.8rem, 1.0625rem);
  --fs-small: 0.8125rem;
  --fs-label: 0.6875rem;

  --gutter: clamp(20px, 4.6vw, 72px);
  --block: clamp(72px, 10vw, 160px);
  --header-h: 62px;

  --ease: cubic-bezier(.22, .61, .36, 1);
  --slow: cubic-bezier(.16, .84, .44, 1);
}

/* 2. RESET & BASE ------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
html.is-locked { overflow: hidden; }

section[id], main[id], body[id] { scroll-margin-top: calc(var(--header-h) + 24px); }

body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.62;
  font-weight: 400;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -0.028em;
  line-height: 0.98;
  margin: 0;
}

p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}

input { font: inherit; color: inherit; }

:focus-visible {
  outline: 1px solid var(--gold);
  outline-offset: 3px;
}

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip-link {
  position: fixed;
  top: 8px; left: 8px;
  z-index: 999;
  padding: 10px 16px;
  background: var(--espresso);
  color: var(--ivory);
  font-size: var(--fs-label);
  letter-spacing: .14em;
  text-transform: uppercase;
  transform: translateY(-160%);
  transition: transform .3s var(--ease);
}
.skip-link:focus-visible { transform: none; }

/* 3. UTILITIES ---------------------------------------------------------- */
.label {
  font-size: var(--fs-label);
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin: 0;
}
.label--light { color: var(--on-dark-soft); }

.lede {
  font-size: clamp(1.05rem, 1.15vw, 1.3rem);
  line-height: 1.5;
  color: var(--ink);
}

.wordmark {
  font-family: var(--font-display);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .14em;
}

/* underline-on-hover link */
.ulink {
  position: relative;
  display: inline-block;
  font-size: var(--fs-small);
  letter-spacing: .02em;
  padding-bottom: 2px;
  color: inherit;
}
.ulink::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .45s var(--ease);
}
.ulink:hover::after,
.ulink:focus-visible::after { transform: scaleX(1); transform-origin: left; }

.arrow-link {
  display: inline-flex;
  align-items: center;
  gap: .6em;
  font-size: var(--fs-label);
  letter-spacing: .18em;
  text-transform: uppercase;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--line);
  transition: border-color .4s var(--ease);
}
.arrow-link::after {
  content: "→";
  transition: transform .45s var(--ease);
}
.arrow-link:hover { border-color: var(--ink); }
.arrow-link:hover::after { transform: translateX(6px); }
.arrow-link--light { border-color: var(--line-dark); color: var(--on-dark); }
.arrow-link--light:hover { border-color: var(--on-dark); }

.btn {
  display: inline-flex;
  align-items: center;
  gap: .75em;
  padding: 14px 26px;
  font-size: var(--fs-label);
  letter-spacing: .18em;
  text-transform: uppercase;
  border: 1px solid currentColor;
  transition: background-color .45s var(--ease), color .45s var(--ease);
}
.btn__arrow { transition: transform .45s var(--ease); }
.btn:hover .btn__arrow { transform: translateX(5px); }

.btn--ghost { color: var(--on-dark); border-color: rgba(239, 232, 222, .55); }
.btn--ghost:hover { background: var(--on-dark); color: var(--espresso); border-color: var(--on-dark); }

.btn--solid {
  width: 100%;
  justify-content: center;
  background: var(--espresso);
  color: var(--ivory);
  border-color: var(--espresso);
}
.btn--solid:hover { background: var(--chocolate); border-color: var(--chocolate); }

/* 4. HEADER ------------------------------------------------------------- */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 90;
  color: var(--on-dark);
  transform: translateY(0);
  transition: transform .5s var(--ease), background-color .5s var(--ease),
              color .5s var(--ease), box-shadow .5s var(--ease);
}

.header__note {
  overflow: hidden;
  height: 34px;
  background: var(--charcoal);
  color: var(--on-dark);
  display: grid;
  place-items: center;
  transition: height .5s var(--ease), opacity .35s var(--ease);
}
.only-narrow { display: none; }
.header__note p {
  font-size: 0.6875rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  white-space: nowrap;
  padding: 0 16px;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100vw;
}

.header__bar {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
  height: var(--header-h);
  padding: 0 var(--gutter);
  border-bottom: 1px solid transparent;
  transition: border-color .5s var(--ease);
}

.header__side { display: flex; align-items: center; gap: clamp(16px, 2vw, 30px); }
.header__side--end { justify-content: flex-end; }
.header__nav { display: flex; gap: clamp(16px, 2vw, 30px); }
.header__brand { font-size: clamp(1.05rem, 1.5vw, 1.35rem); margin-right: -.14em; }
.header__menu { display: none; }
.header__count { font-variant-numeric: tabular-nums; }

/* scrolled state */
.header.is-scrolled { background: var(--ivory); color: var(--ink); box-shadow: 0 1px 0 var(--line); }
.header.is-scrolled .header__note { height: 0; opacity: 0; }
.header.is-scrolled .header__bar { border-color: var(--line); }

/* hidden on scroll down */
.header.is-hidden { transform: translateY(-100%); }

.icon-btn {
  display: inline-grid;
  place-items: center;
  width: 36px; height: 36px;
  margin: -8px;
  color: inherit;
}
.icon-btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.2; }
.icon-btn__lines { display: block; width: 20px; }
.icon-btn__lines i {
  display: block;
  height: 1px;
  background: currentColor;
  transition: transform .4s var(--ease);
}
.icon-btn__lines i + i { margin-top: 6px; width: 14px; }
.icon-btn:hover .icon-btn__lines i + i { width: 20px; }

/* 5. HERO --------------------------------------------------------------- */
.hero {
  position: relative;
  height: clamp(560px, 92vh, 980px);
  overflow: hidden;
  background: var(--chocolate);
  color: var(--on-dark);
  display: flex;
  align-items: flex-end;
}

.hero__media { position: absolute; inset: -10% 0 -10% 0; will-change: transform; }
.hero__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 50% 40%;
  animation: heroZoom 16s var(--slow) forwards;
}
@keyframes heroZoom { from { transform: scale(1.12); } to { transform: scale(1); } }

.hero__veil {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(24, 21, 18, .52) 0%, rgba(24, 21, 18, 0) 32%),
    linear-gradient(0deg, rgba(24, 21, 18, .62) 0%, rgba(24, 21, 18, 0) 55%);
}

.hero__inner {
  position: relative;
  width: 100%;
  padding: 0 var(--gutter) clamp(84px, 13vh, 150px);
  text-align: center;
}
.hero__eyebrow {
  font-size: var(--fs-label);
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--on-dark-soft);
}
.hero__title {
  font-size: var(--fs-hero);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .06em;
  line-height: .9;
  margin: clamp(10px, 1.6vh, 22px) 0 0;
  margin-right: -.06em;
}
.hero__tagline {
  font-size: clamp(1rem, 1.5vw, 1.35rem);
  letter-spacing: .01em;
  margin-top: 10px;
  color: var(--on-dark);
}
.hero .btn { margin-top: clamp(22px, 3.4vh, 38px); }

.hero__foot {
  position: absolute;
  left: var(--gutter); right: var(--gutter); bottom: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-size: var(--fs-label);
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--on-dark-soft);
}
.hero__cue { display: inline-flex; align-items: center; gap: 10px; }
.hero__cue i {
  display: block;
  width: 1px; height: 28px;
  background: linear-gradient(180deg, rgba(239, 232, 222, .1), rgba(239, 232, 222, .85));
  animation: cue 2.6s var(--ease) infinite;
  transform-origin: top;
}
@keyframes cue {
  0%, 100% { transform: scaleY(.35); opacity: .5; }
  50% { transform: scaleY(1); opacity: 1; }
}

/* 6. INTRO -------------------------------------------------------------- */
.intro {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(24px, 3vw, 48px) clamp(20px, 2.4vw, 40px);
  padding: var(--block) var(--gutter);
  background: var(--ivory);
}
.intro__label { grid-column: 1 / 3; padding-top: .55em; }
.intro__title {
  grid-column: 3 / 9;
  font-size: var(--fs-xl);
}
.intro__aside {
  grid-column: 9 / 13;
  align-self: end;
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
}
.intro__sub { color: var(--ink-soft); max-width: 42ch; }

/* 7. SHELVES & PRODUCTS -------------------------------------------------- */
.shelf { padding: var(--block) 0; background: var(--ivory); }
.shelf + .shelf { padding-top: 0; }

.shelf__head {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: clamp(20px, 4vw, 80px);
  align-items: end;
  padding: 0 var(--gutter) clamp(34px, 4vw, 62px);
}
.shelf__title { font-size: var(--fs-lg); margin-top: 18px; }
.shelf__title--big { font-size: var(--fs-xl); margin-top: 0; }
.shelf__aside {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  max-width: 46ch;
  color: var(--ink-soft);
  padding-bottom: 6px;
}

.rail {
  display: flex;
  gap: clamp(14px, 1.6vw, 26px);
  padding: 0 var(--gutter);
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x proximity;
  scroll-padding-inline: var(--gutter);
  scrollbar-width: none;
  -ms-overflow-style: none;
  cursor: grab;
}
.rail::-webkit-scrollbar { display: none; }
.rail.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.rail.is-dragging * { pointer-events: none; }

.rail__hint {
  padding: 22px var(--gutter) 0;
  font-size: var(--fs-label);
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ink-faint);
}
.rail__hint span { display: inline-flex; align-items: center; gap: 10px; }
.rail__hint span::before {
  content: "";
  width: clamp(60px, 12vw, 160px);
  height: 1px;
  background: var(--line);
}

.product {
  flex: 0 0 clamp(238px, 21vw, 330px);
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
}
.shelf--stagger .product:nth-child(even) { margin-top: clamp(18px, 3vw, 54px); }

.product__media {
  position: relative;
  cursor: pointer;
  overflow: hidden;
  background: var(--cream);
  aspect-ratio: 4 / 5;
}
.product__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.1s var(--slow), opacity .6s var(--ease);
}
.product:hover .product__media img { transform: scale(1.045); }

.product__fav {
  position: absolute;
  top: 12px; right: 12px;
  width: 34px; height: 34px;
  display: grid; place-items: center;
  color: var(--ink);
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity .4s var(--ease), transform .4s var(--ease), color .3s;
}
.product:hover .product__fav,
.product__fav:focus-visible { opacity: 1; transform: none; }
.product__fav svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.2; }
.product__fav[aria-pressed="true"] { opacity: 1; transform: none; color: var(--gold); }
.product__fav[aria-pressed="true"] svg { fill: currentColor; stroke: currentColor; }

.product__quick {
  position: absolute;
  left: 12px; right: 12px; bottom: 12px;
  padding: 11px 12px;
  background: rgba(244, 240, 233, .94);
  color: var(--ink);
  font-size: var(--fs-label);
  letter-spacing: .18em;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .45s var(--ease), transform .45s var(--ease), background-color .3s;
}
.product:hover .product__quick,
.product__quick:focus-visible { opacity: 1; transform: none; }
.product__quick:hover { background: var(--ivory); }

.product__meta { padding-top: 16px; }
.product__row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 14px;
}
.product__row + .product__row { margin-top: 4px; }
.product__name {
  font-family: var(--font-display);
  font-size: .8125rem;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  line-height: 1.3;
}
.product__ref, .product__material, .product__price {
  font-size: var(--fs-small);
  color: var(--ink-soft);
}
.product__price { font-variant-numeric: tabular-nums; color: var(--ink); }
.product__ref { letter-spacing: .1em; }

.product__add {
  margin-top: 14px;
  align-self: flex-start;
  font-size: var(--fs-label);
  letter-spacing: .18em;
  text-transform: uppercase;
  padding-bottom: 4px;
  border-bottom: 1px solid var(--line);
  transition: border-color .4s var(--ease), color .4s var(--ease);
}
.product__add:hover { border-color: var(--ink); }

/* 8. EDITORIAL ---------------------------------------------------------- */
.editorial {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) clamp(112px, 11vw, 186px) minmax(0, 1.25fr);
  background: var(--chocolate);
  color: var(--on-dark);
  min-height: min(94vh, 880px);
  overflow: hidden;
}
.editorial__text {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: clamp(40px, 8vh, 90px);
  padding: clamp(48px, 7vw, 96px) clamp(28px, 3.4vw, 64px);
}
.editorial__title { font-size: var(--fs-lg); }
.editorial__copy { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; max-width: 40ch; }
.editorial__copy p { color: var(--on-dark-soft); }
.editorial__copy p:first-child { color: var(--on-dark); }

.editorial__strip { display: grid; grid-template-rows: repeat(4, 1fr); }
.editorial__thumb { margin: 0; overflow: hidden; background: var(--espresso); }
.editorial__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--slow); }
.editorial__thumb:hover img { transform: scale(1.06); }

.editorial__main { margin: 0; overflow: hidden; background: var(--espresso); }
.editorial__main img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 35%; }

/* 9. CAMPAIGN ----------------------------------------------------------- */
.campaign {
  position: relative;
  min-height: clamp(520px, 82vh, 900px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--espresso);
  color: var(--on-dark);
}
.campaign__media { position: absolute; inset: 0; }
.campaign__media img { width: 100%; height: 100%; object-fit: cover; object-position: 55% 35%; }
.campaign__veil {
  position: absolute; inset: 0;
  background: linear-gradient(75deg, rgba(24, 21, 18, .82) 0%, rgba(24, 21, 18, .34) 52%, rgba(24, 21, 18, 0) 78%);
}
.campaign__inner {
  position: relative;
  padding: var(--gutter) var(--gutter) clamp(56px, 8vw, 100px);
  max-width: 58ch;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}
.campaign__title { font-size: var(--fs-lg); }
.campaign__copy { color: var(--on-dark-soft); max-width: 42ch; }

/* 10. PROCESS ----------------------------------------------------------- */
.process {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  background: var(--cream);
  overflow: hidden;
}
.process__figure { margin: 0; overflow: hidden; background: var(--espresso); min-height: clamp(420px, 62vw, 860px); }
.process__figure img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }

.process__body {
  position: relative;
  padding: clamp(56px, 6.6vw, 118px) clamp(28px, 5vw, 96px);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 22px;
}
.process__title { font-size: clamp(1.8rem, 3vw, 3rem); }
.process__list { width: 100%; max-width: 46ch; margin-top: 6px; }
.process__list li { padding: 18px 0; border-top: 1px solid var(--line); }
.process__list li:last-child { border-bottom: 1px solid var(--line); }
.process__list h3 {
  font-size: .8125rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-weight: 500;
}
.process__list p { margin-top: 6px; color: var(--ink-soft); font-size: var(--fs-small); }

@media (min-width: 1025px) {
  .process__body { padding-right: calc(clamp(120px, 15vw, 210px) + clamp(40px, 5vw, 90px)); }
}

.process__object {
  position: absolute;
  top: clamp(40px, 5vw, 84px);
  right: clamp(24px, 4vw, 72px);
  width: clamp(120px, 15vw, 210px);
  margin: 0;
}
.process__object img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; background: var(--ivory); }
.process__object figcaption {
  margin-top: 10px;
  font-size: var(--fs-label);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

/* 11. CATEGORIES --------------------------------------------------------- */
.categories { padding: var(--block) var(--gutter); background: var(--ivory); }
.categories__head { margin-bottom: clamp(30px, 4vw, 58px); }
.categories__title { font-size: var(--fs-lg); margin-top: 14px; }

.categories__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: clamp(190px, 21vw, 300px);
  gap: clamp(10px, 1.1vw, 18px);
}
.tile--tall { grid-row: span 2; }
.tile--wide { grid-column: span 2; }

.tile {
  position: relative;
  overflow: hidden;
  display: block;
  background: var(--cream);
  color: var(--on-dark);
}
.tile__media { position: absolute; inset: 0; display: block; }
.tile__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.5s var(--slow); }
.tile::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(24, 21, 18, .62) 0%, rgba(24, 21, 18, .04) 62%);
  transition: opacity .5s var(--ease);
}
.tile:hover img { transform: scale(1.06); }
.tile:hover::after { opacity: .78; }

.tile__label {
  position: absolute;
  left: clamp(16px, 1.6vw, 26px);
  bottom: clamp(16px, 1.6vw, 26px);
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 4px;
  transition: transform .55s var(--ease);
}
.tile:hover .tile__label { transform: translateY(-4px); }
.tile__name {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 1.8vw, 1.7rem);
  font-weight: 500;
  letter-spacing: -.01em;
}
.tile__count {
  font-size: var(--fs-label);
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--on-dark-soft);
}
.tile__arrow {
  position: absolute;
  right: clamp(16px, 1.6vw, 26px);
  bottom: clamp(16px, 1.6vw, 26px);
  z-index: 2;
  font-size: 1.1rem;
  opacity: 0;
  transform: translateX(-8px);
  transition: opacity .5s var(--ease), transform .5s var(--ease);
}
.tile:hover .tile__arrow, .tile:focus-visible .tile__arrow { opacity: 1; transform: none; }

/* 12. STATEMENT ---------------------------------------------------------- */
.statement {
  padding: clamp(110px, 17vw, 250px) var(--gutter);
  background: var(--ivory);
  text-align: center;
}
.statement blockquote { margin: 0; }
.statement p {
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 6.6vw, 6.2rem);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -.03em;
  max-width: 18ch;
  margin: 0 auto;
}
.statement [data-line] { display: inline-block; }
.statement__sign {
  margin-top: clamp(28px, 4vw, 54px);
  font-size: var(--fs-label);
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

/* 13. NEWSLETTER --------------------------------------------------------- */
.news {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(30px, 5vw, 90px);
  align-items: end;
  padding: 0 var(--gutter) var(--block);
  background: var(--ivory);
}
.news__title { font-size: var(--fs-md); }
.news__text p { margin-top: 14px; color: var(--ink-soft); max-width: 40ch; }

.news__form { position: relative; display: flex; align-items: center; gap: 16px; border-bottom: 1px solid var(--line); padding-bottom: 12px; }
.news__input {
  flex: 1;
  min-width: 0;
  background: none;
  border: 0;
  padding: 6px 0;
  font-size: 1rem;
}
.news__input::placeholder { color: var(--ink-faint); }
.news__input:focus { outline: none; }
.news__form:focus-within { border-color: var(--ink); }
.news__submit {
  display: inline-flex;
  align-items: center;
  gap: .6em;
  font-size: var(--fs-label);
  letter-spacing: .18em;
  text-transform: uppercase;
  white-space: nowrap;
}
.news__submit:hover .btn__arrow { transform: translateX(5px); }
.news__msg {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  font-size: var(--fs-small);
  color: var(--ink-soft);
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity .4s var(--ease), transform .4s var(--ease);
}
.news__msg.is-shown { opacity: 1; transform: none; }
.news__msg.is-error { color: #8C3A22; }

/* 14. FOOTER ------------------------------------------------------------- */
.footer {
  background: var(--espresso);
  color: var(--on-dark);
  padding: clamp(56px, 7vw, 110px) var(--gutter) 26px;
  overflow: hidden;
}
.footer__top {
  display: grid;
  grid-template-columns: 1.6fr repeat(4, 1fr);
  gap: clamp(28px, 3vw, 56px);
  padding-bottom: clamp(48px, 7vw, 96px);
}
.footer__blurb { margin-top: 16px; max-width: 34ch; color: var(--on-dark-soft); font-size: var(--fs-small); }
.footer__head {
  font-family: var(--font-body);
  font-size: var(--fs-label);
  letter-spacing: .2em;
  text-transform: uppercase;
  font-weight: 400;
  color: var(--on-dark-soft);
  margin-bottom: 18px;
}
.footer__col li + li { margin-top: 10px; }

.footer__wordmark {
  font-family: var(--font-display);
  font-weight: 500;
  text-transform: uppercase;
  font-size: min(17vw, 240px);
  line-height: .82;
  letter-spacing: .01em;
  margin: 0 0 clamp(20px, 3vw, 44px);
  color: var(--on-dark);
  white-space: nowrap;
}

.footer__base {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  padding-top: 22px;
  border-top: 1px solid var(--line-dark);
  font-size: var(--fs-small);
  color: var(--on-dark-soft);
}
.footer__base ul { display: flex; gap: clamp(14px, 2vw, 30px); flex-wrap: wrap; }

/* 15. OVERLAYS ----------------------------------------------------------- */
.scrim {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(24, 21, 18, .5);
  opacity: 0;
  transition: opacity .5s var(--ease);
}
.scrim.is-open { opacity: 1; }
html.is-locked .header { padding-right: var(--scrollbar, 0px); }
[hidden] { display: none !important; }

.menu, .search, .cart, .quick { z-index: 110; }

/* Mobile menu */
.menu {
  position: fixed;
  inset: 0;
  background: var(--espresso);
  color: var(--on-dark);
  display: flex;
  flex-direction: column;
  transform: translateX(-100%);
  transition: transform .6s var(--slow);
}
.menu.is-open { transform: none; }
.menu__bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: var(--header-h);
  padding: 0 var(--gutter);
  border-bottom: 1px solid var(--line-dark);
}
.menu__brand { font-size: 1.1rem; }
.menu__nav {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: clamp(6px, 1.4vh, 16px);
  padding: 0 var(--gutter);
}
.menu__nav a {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 12vw, 3.4rem);
  font-weight: 500;
  letter-spacing: -.03em;
  line-height: 1.1;
  opacity: 0;
  transform: translateY(14px);
}
.menu.is-open .menu__nav a { animation: menuIn .7s var(--slow) forwards; }
.menu.is-open .menu__nav a:nth-child(1) { animation-delay: .1s; }
.menu.is-open .menu__nav a:nth-child(2) { animation-delay: .17s; }
.menu.is-open .menu__nav a:nth-child(3) { animation-delay: .24s; }
.menu.is-open .menu__nav a:nth-child(4) { animation-delay: .31s; }
@keyframes menuIn { to { opacity: 1; transform: none; } }
.menu__foot {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
  padding: 26px var(--gutter) calc(26px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line-dark);
  font-size: var(--fs-small);
  color: var(--on-dark-soft);
}
.menu__foot p { margin-left: auto; }

/* Search */
.search {
  position: fixed;
  inset: 0 0 auto 0;
  background: var(--ivory);
  color: var(--ink);
  transform: translateY(-101%);
  transition: transform .6s var(--slow);
  max-height: 100dvh;
  display: flex;
  flex-direction: column;
}
.search.is-open { transform: none; }
.search__bar {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 0 var(--gutter);
  height: clamp(78px, 11vh, 108px);
  border-bottom: 1px solid var(--line);
}
.search__input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: none;
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3.4vw, 2.4rem);
  font-weight: 500;
  letter-spacing: -.02em;
}
.search__input:focus { outline: none; }
.search__input::placeholder { color: var(--ink-faint); }
.search__body { padding: clamp(22px, 3vw, 40px) var(--gutter) clamp(34px, 5vw, 60px); overflow-y: auto; }
.search__results {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: clamp(14px, 1.6vw, 26px);
  margin-top: 22px;
}
.search__results button { display: block; width: 100%; text-align: left; }
.search__results img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  background: var(--cream);
  transition: opacity .4s var(--ease);
}
.search__results button:hover img { opacity: .84; }
.search__results .product__name { display: block; margin-top: 12px; }
.search__results .product__price { display: block; margin-top: 2px; }
.search__empty { color: var(--ink-soft); margin-top: 22px; }

/* Bag */
.cart {
  position: fixed;
  top: 0; right: 0;
  height: 100dvh;
  width: min(430px, 100%);
  background: var(--ivory);
  color: var(--ink);
  display: flex;
  flex-direction: column;
  transform: translateX(101%);
  transition: transform .6s var(--slow);
  box-shadow: -1px 0 0 var(--line);
}
.cart.is-open { transform: none; }
.cart__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 0 clamp(20px, 3vw, 30px);
  height: var(--header-h);
  border-bottom: 1px solid var(--line);
}
.cart__head h2 {
  font-family: var(--font-body);
  font-size: var(--fs-label);
  letter-spacing: .2em;
  text-transform: uppercase;
  font-weight: 400;
}
.cart__body { flex: 1; overflow-y: auto; padding: clamp(18px, 2.4vw, 26px) clamp(20px, 3vw, 30px); }

.cart__empty { color: var(--ink-soft); padding: 40px 0; }
.cart__empty p + p { margin-top: 14px; }

.cart-item { display: grid; grid-template-columns: 78px 1fr; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.cart-item:first-child { padding-top: 0; }
.cart-item__media { background: var(--cream); }
.cart-item__media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.cart-item__top { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; }
.cart-item__name {
  font-family: var(--font-display);
  font-size: .75rem;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.cart-item__meta { margin-top: 4px; font-size: var(--fs-small); color: var(--ink-soft); }
.cart-item__price { font-size: var(--fs-small); font-variant-numeric: tabular-nums; }
.cart-item__foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 12px; }

.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); }
.qty button { width: 30px; height: 28px; display: grid; place-items: center; font-size: .9rem; transition: background-color .3s; }
.qty button:hover { background: var(--cream); }
.qty span { min-width: 28px; text-align: center; font-size: var(--fs-small); font-variant-numeric: tabular-nums; }
.cart-item__remove { font-size: var(--fs-label); letter-spacing: .16em; text-transform: uppercase; color: var(--ink-soft); border-bottom: 1px solid transparent; transition: color .3s, border-color .3s; }
.cart-item__remove:hover { color: var(--ink); border-color: var(--line); }

.cart__foot { padding: clamp(18px, 2.4vw, 24px) clamp(20px, 3vw, 30px) calc(clamp(18px, 2.4vw, 24px) + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); }
.cart__row { display: flex; justify-content: space-between; align-items: baseline; font-size: var(--fs-small); letter-spacing: .1em; text-transform: uppercase; }
.cart__row span:last-child { font-size: 1.15rem; letter-spacing: 0; font-variant-numeric: tabular-nums; }
.cart__note { margin: 12px 0 18px; font-size: var(--fs-small); color: var(--ink-soft); }

/* Quick view */
.quick {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  padding: var(--gutter);
  pointer-events: none;
}
.quick__inner {
  position: relative;
  width: min(1000px, 100%);
  max-height: min(86dvh, 720px);
  overflow-y: auto;
  background: var(--ivory);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  opacity: 0;
  transform: translateY(20px) scale(.99);
  transition: opacity .5s var(--ease), transform .6s var(--slow);
  pointer-events: auto;
}
.quick.is-open .quick__inner { opacity: 1; transform: none; }

.quick__media { background: var(--cream); overflow: hidden; }
.quick__media img { width: 100%; height: 100%; min-height: 320px; object-fit: cover; }
.quick__body { padding: clamp(26px, 3.2vw, 52px); display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.quick__ref { font-size: var(--fs-label); letter-spacing: .18em; text-transform: uppercase; color: var(--ink-faint); }
.quick__name { font-size: clamp(1.6rem, 2.6vw, 2.3rem); }
.quick__price { font-size: 1.1rem; font-variant-numeric: tabular-nums; }
.quick__desc { color: var(--ink-soft); }
.quick__spec { width: 100%; font-size: var(--fs-small); color: var(--ink-soft); }
.quick__spec div { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-top: 1px solid var(--line); }
.quick__sizes { width: 100%; }
.quick__sizes .label { margin-bottom: 10px; }
.quick__size-row { display: flex; flex-wrap: wrap; gap: 8px; }
.quick__size {
  min-width: 46px;
  padding: 9px 12px;
  border: 1px solid var(--line);
  font-size: var(--fs-small);
  text-align: center;
  transition: border-color .3s, background-color .3s, color .3s;
}
.quick__size:hover { border-color: var(--ink); }
.quick__size.is-active { background: var(--espresso); border-color: var(--espresso); color: var(--ivory); }
.quick__actions { width: 100%; display: flex; gap: 12px; align-items: stretch; }
.quick__actions .btn--solid { flex: 1; width: auto; }
.quick__fav {
  width: 50px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  transition: border-color .3s, color .3s;
}
.quick__fav svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.2; }
.quick__fav[aria-pressed="true"] { color: var(--gold); border-color: var(--gold); }
.quick__fav[aria-pressed="true"] svg { fill: currentColor; }
.quick__ship { font-size: var(--fs-small); color: var(--ink-faint); }
.quick__close {
  position: absolute;
  top: 12px; right: 12px;
  width: 38px; height: 38px;
  display: grid; place-items: center;
  background: rgba(244, 240, 233, .9);
  color: var(--ink);
  z-index: 2;
}
.quick__close svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.2; }

/* Toast */
.toast {
  position: fixed;
  left: var(--gutter);
  bottom: 24px;
  z-index: 120;
  padding: 13px 20px;
  background: var(--espresso);
  color: var(--ivory);
  font-size: var(--fs-small);
  max-width: min(360px, calc(100vw - 2 * var(--gutter)));
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity .45s var(--ease), transform .45s var(--ease);
}
.toast.is-shown { opacity: 1; transform: none; }

/* 16. MOTION -------------------------------------------------------------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 1s var(--ease), transform 1.1s var(--slow);
}
[data-reveal].is-in { opacity: 1; transform: none; }

.editorial__main img,
.campaign__media img,
.process__figure img,
.tile__media img { transform: scale(1.07); transition: transform 1.8s var(--slow); }
.is-in .editorial__main img,
.is-in .campaign__media img,
.is-in .process__figure img,
.is-in .tile__media img { transform: scale(1); }
.tile:hover .tile__media img { transform: scale(1.06); }

.statement [data-line] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .9s var(--ease), transform 1s var(--slow);
}
.statement.is-in [data-line] { opacity: 1; transform: none; }
.statement.is-in [data-line]:nth-child(2) { transition-delay: .12s; }
.statement.is-in [data-line]:nth-child(3) { transition-delay: .24s; }

[data-load] { opacity: 0; transform: translateY(16px); animation: loadIn 1.1s var(--slow) forwards; }
[data-load="1"] { animation-delay: .25s; }
[data-load="2"] { animation-delay: .38s; }
[data-load="3"] { animation-delay: .52s; }
[data-load="4"] { animation-delay: .66s; }
@keyframes loadIn { to { opacity: 1; transform: none; } }

/* image loading state */
img[data-img], .product__media img, .search__results img { background: var(--cream); }
img.img-drawn { object-fit: cover; }
img.img-failed {
  background: linear-gradient(140deg, var(--cream) 0%, #DED5C7 55%, var(--cream) 100%);
}

/* 17. RESPONSIVE ---------------------------------------------------------- */
@media (max-width: 1180px) {
  .footer__top { grid-template-columns: 1fr 1fr 1fr; }
  .footer__col--intro { grid-column: 1 / -1; }
}

@media (max-width: 1024px) {
  .intro__label { grid-column: 1 / -1; }
  .intro__title { grid-column: 1 / 9; }
  .intro__aside { grid-column: 1 / 10; }
  .editorial { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); min-height: 0; }
  .editorial__strip {
    grid-column: 1 / -1;
    grid-template-rows: none;
    grid-template-columns: repeat(4, 1fr);
    height: clamp(120px, 22vw, 220px);
  }
  .editorial__main img { min-height: 440px; }
  .process__object { position: static; width: clamp(140px, 26vw, 220px); margin-top: 6px; }
  .process__list { order: 1; }
  .process__body > .arrow-link { order: 2; }
}

@media (max-width: 900px) {
  :root { --header-h: 56px; }
  .header__nav, .header__util { display: none; }
  .header__menu { display: inline-grid; }
  .header__side--start { gap: 0; }

  .shelf__head { grid-template-columns: 1fr; align-items: start; gap: 22px; }
  .shelf__aside { padding-bottom: 0; }

  .editorial { grid-template-columns: 1fr; }
  .editorial__text { order: 1; }
  .editorial__main { order: 2; }
  .editorial__main img { min-height: clamp(360px, 74vw, 560px); }
  .editorial__strip { order: 3; height: clamp(104px, 26vw, 180px); }

  .process { grid-template-columns: 1fr; }
  .process__figure { min-height: clamp(360px, 82vw, 620px); }

  .news { grid-template-columns: 1fr; align-items: start; gap: 34px; }

  .quick__inner { grid-template-columns: 1fr; max-height: 88dvh; }
  .quick__media img { min-height: 0; aspect-ratio: 4 / 3; height: auto; }
}

@media (max-width: 760px) {
  .categories__grid { grid-template-columns: 1fr 1fr; grid-auto-rows: clamp(180px, 42vw, 260px); }
  .tile--tall { grid-row: span 1; grid-column: span 2; }
  .tile--wide { grid-column: span 2; }
  .footer__top { grid-template-columns: 1fr 1fr; gap: 30px; }
}

@media (max-width: 620px) {
  .hero { height: 100svh; min-height: 540px; }
  .hero__inner { text-align: left; padding-bottom: clamp(96px, 20vh, 150px); }
  .hero__title { letter-spacing: .04em; }
  .hero__foot { font-size: .625rem; }
  .hero__credit { display: none; }

  .intro { gap: 20px; }
  .intro__title { grid-column: 1 / -1; }
  .intro__aside { grid-column: 1 / -1; }

  .shelf--stagger .product:nth-child(even) { margin-top: 0; }
  .product { flex-basis: clamp(220px, 62vw, 280px); }
  .product__fav, .product__quick { opacity: 1; transform: none; }

  .statement p { max-width: none; }
  .statement [data-line] { display: block; }

  .news__form { flex-wrap: wrap; }
  .news__input { flex-basis: 100%; }
  .news__submit { margin-top: 8px; }

  .footer__wordmark { font-size: 18vw; }
  .footer__base { flex-direction: column; align-items: flex-start; gap: 12px; }

  .menu__foot p { margin-left: 0; flex-basis: 100%; }
  .toast { left: 16px; right: 16px; bottom: 16px; max-width: none; }
}

@media (max-width: 560px) {
  .only-wide { display: none; }
  .only-narrow { display: inline; }
}

@media (max-width: 400px) {
  .header__brand { font-size: 1rem; }
  .cart-item { grid-template-columns: 64px 1fr; gap: 12px; }
}

/* pointer-coarse: no hover states to depend on */
@media (hover: none) {
  .product__fav, .product__quick { opacity: 1; transform: none; }
  .rail { cursor: default; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  [data-reveal], [data-load], .statement [data-line] { opacity: 1 !important; transform: none !important; }
  .hero__media img { animation: none; transform: none; }
  .editorial__main img, .campaign__media img, .process__figure img, .tile__media img { transform: none; }
}
