/* ────────────────────────────────────────────────────────────────
   CLOSET — slow fashion, hand-made, whimsical
   Palette: cream paper, ink, tomato, butter, sage, lilac, peach.
   ──────────────────────────────────────────────────────────────── */

:root {
  --paper:     #f6efe4;
  --paper-2:   #efe6d6;
  --ink:       #1a1816;
  --ink-soft:  #3a342f;
  --muted:     #6f655c;

  --tomato:    #e0563c;
  --tomato-d:  #b8412b;
  --butter:    #f7c948;
  --sage:      #7a9e7e;
  --sage-d:    #4f7755;
  --lilac:     #b893c5;
  --peach:     #f5b8a6;
  --teal:      #2d6f7a;
  --plum:      #5e2750;

  --serif:  "Fraunces", "Cormorant Garamond", Georgia, serif;
  --sans:   "Manrope", "Inter", system-ui, -apple-system, sans-serif;
  --hand:   "Caveat", "Comic Sans MS", cursive;

  --gap:    clamp(20px, 4vw, 48px);
  --radius: 18px;
  --shadow-card: 0 6px 0 rgba(26,24,22,.08), 0 18px 30px -18px rgba(26,24,22,.25);
  --shadow-tape: 0 2px 12px rgba(26,24,22,.18);
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  font-size: 17px;
  line-height: 1.6;
  font-weight: 400;
  /* Paper grain */
  background-image:
    radial-gradient(circle at 12% 18%, rgba(224,86,60,.06), transparent 35%),
    radial-gradient(circle at 88% 70%, rgba(184,147,197,.07), transparent 40%),
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.18 0 0 0 0 0.16 0 0 0 0 0.14 0 0 0 0.035 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  background-attachment: fixed;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--ink); text-decoration: none; }
a:hover { color: var(--tomato-d); }
:focus-visible { outline: 3px solid var(--tomato); outline-offset: 3px; border-radius: 4px; }

/* ── Typography ─────────────────────────────────────────────────── */
h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 500;
  font-variation-settings: "opsz" 144, "SOFT" 50, "WONK" 0;
  line-height: 1.05;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 0 0 .5em;
}
h1 { font-size: clamp(2.6rem, 6.5vw, 5.4rem); }
h2 { font-size: clamp(2rem, 4vw, 3.2rem); }
h3 { font-size: clamp(1.3rem, 2vw, 1.7rem); font-weight: 600; }

.eyebrow {
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ink-soft);
  font-weight: 600;
  display: inline-block;
  padding: 6px 12px;
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  background: var(--paper);
  transform: rotate(-1.5deg);
}

.scribble {
  font-family: var(--hand);
  font-weight: 600;
  color: var(--tomato);
  font-size: 1.5em;
  line-height: 1;
  display: inline-block;
  transform: rotate(-3deg);
}

.underline-wavy {
  position: relative;
  display: inline-block;
}
.underline-wavy::after {
  content: "";
  position: absolute;
  left: -4%;
  right: -4%;
  bottom: -.1em;
  height: 12px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 12' preserveAspectRatio='none'><path d='M0,8 Q15,0 30,6 T60,6 T90,6 T120,6' fill='none' stroke='%23e0563c' stroke-width='3' stroke-linecap='round'/></svg>");
  background-repeat: no-repeat;
  background-size: 100% 100%;
}

.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 var(--gap);
}

/* ── Buttons ────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 999px;
  border: 2px solid var(--ink);
  background: var(--ink);
  color: var(--paper);
  font-family: var(--sans);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: .01em;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .2s;
  box-shadow: 0 4px 0 var(--ink);
  text-decoration: none;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 6px 0 var(--ink); color: var(--paper); }
.btn:active { transform: translateY(2px); box-shadow: 0 0 0 var(--ink); }

.btn-secondary {
  background: var(--butter);
  color: var(--ink);
  border-color: var(--ink);
  box-shadow: 0 4px 0 var(--ink);
}
.btn-secondary:hover { color: var(--ink); }

.btn-tomato { background: var(--tomato); color: var(--paper); }
.btn-tomato:hover { color: var(--paper); }

.btn-ghost {
  background: transparent;
  color: var(--ink);
  box-shadow: none;
}
.btn-ghost:hover {
  background: var(--ink);
  color: var(--paper);
  box-shadow: 0 4px 0 var(--ink);
}

.btn-sm { padding: 9px 18px; font-size: 13px; }

/* ── Header ─────────────────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--paper);
  border-bottom: 2px solid var(--ink);
  box-shadow: 0 4px 0 rgba(26,24,22,.08);
}
.announce-bar {
  background: var(--ink);
  color: var(--butter);
  font-size: 13px;
  padding: 8px 0;
  letter-spacing: .03em;
  font-family: var(--sans);
  overflow: hidden;
  white-space: nowrap;
}
.announce-track {
  display: inline-flex;
  width: max-content;
  will-change: transform;
  animation: announce-scroll 28s linear infinite;
}
.announce-track span { padding: 0 2.5vw; }
@keyframes announce-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
/* Honour reduced-motion by slowing the scroll right down rather than stopping it. */
@media (prefers-reduced-motion: reduce) {
  .announce-track { animation-duration: 60s; }
}
.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px var(--gap);
  max-width: 1400px;
  margin: 0 auto;
}
.nav-logo {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 26px;
  letter-spacing: -0.015em;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  line-height: 1;
}
.nav-logo-text { white-space: nowrap; }
.nav-logo .dot {
  width: 11px; height: 11px;
  border-radius: 50%;
  background: var(--tomato);
  display: inline-block;
  box-shadow: 13px 0 0 var(--butter), 26px 0 0 var(--sage);
  margin-right: 34px;
  transform: translateY(1px);
  flex-shrink: 0;
}
@media (max-width: 480px) {
  .nav-logo { font-size: 20px; }
  .nav-logo .dot { width: 9px; height: 9px; box-shadow: 11px 0 0 var(--butter), 22px 0 0 var(--sage); margin-right: 28px; }
}
.nav-links { display: flex; gap: 28px; align-items: center; font-weight: 600; font-size: 15px; }
.nav-links a { position: relative; padding: 4px 2px; }
.nav-links a:hover { color: var(--tomato-d); }
.nav-links a.active::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -4px;
  height: 3px; background: var(--tomato); border-radius: 2px;
}
.nav-actions { display: flex; gap: 14px; align-items: center; }
.nav-cart, .nav-account {
  position: relative;
  display: inline-flex; align-items: center; gap: 8px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  padding: 8px 16px;
  background: var(--paper);
  font-weight: 700;
  font-size: 14px;
  box-shadow: 0 3px 0 var(--ink);
}
.nav-cart:hover, .nav-account:hover { background: var(--butter); color: var(--ink); }
.nav-account { background: var(--paper); }
@media (max-width: 900px) {
  .nav-account span { display: none; }
  .nav-account { padding: 8px 12px; }
}
.cart-badge {
  background: var(--tomato);
  color: var(--paper);
  border-radius: 999px;
  min-width: 20px;
  height: 20px;
  font-size: 11px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 6px;
  font-weight: 700;
}
.nav-mobile-toggle {
  display: none;
  background: var(--paper);
  border: 2px solid var(--ink);
  border-radius: 12px;
  padding: 8px 10px;
  cursor: pointer;
  box-shadow: 0 3px 0 var(--ink);
}
.nav-mobile-toggle span {
  display: block; width: 22px; height: 2.5px;
  background: var(--ink); margin: 4px 0; border-radius: 2px;
}

@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-mobile-toggle { display: inline-block; }
  .nav-cart span:not(.cart-badge) { display: none; }
  .nav-logo { font-size: 24px; }
  .nav-logo .dot { box-shadow: 12px 0 0 var(--butter), 24px 0 0 var(--sage); margin-right: 30px; }
}

/* Mobile drawer */
.mobile-menu {
  position: fixed; inset: 0;
  background: var(--paper);
  z-index: 100;
  transform: translateX(100%);
  transition: transform .35s cubic-bezier(.6,.05,.3,1);
  display: flex; flex-direction: column;
  padding: 28px var(--gap);
  overflow-y: auto;
}
.mobile-menu.open { transform: translateX(0); }
.mobile-menu-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 32px; }
.mobile-menu-close {
  background: var(--ink); color: var(--paper);
  border: 0; border-radius: 999px; width: 44px; height: 44px;
  font-size: 22px; cursor: pointer;
}
.mobile-menu nav { display: flex; flex-direction: column; gap: 6px; }
.mobile-menu nav a {
  font-family: var(--serif); font-size: 36px; font-weight: 500;
  padding: 6px 0;
  border-bottom: 1px dashed rgba(26,24,22,.2);
}
.mobile-menu nav a:last-child { border-bottom: 0; }
.mobile-menu-sub { margin-top: auto; padding-top: 24px; display: flex; flex-direction: column; gap: 10px; font-size: 14px; color: var(--muted); }

/* ── Sections ───────────────────────────────────────────────────── */
section { padding: clamp(56px, 8vw, 100px) 0; position: relative; }

.section-title {
  display: flex;
  align-items: baseline;
  gap: 18px;
  margin-bottom: clamp(28px, 4vw, 44px);
  flex-wrap: wrap;
}
.section-title h2 { margin: 0; }
.section-title .scribble { font-size: 2.2rem; }

/* ── HERO ───────────────────────────────────────────────────────── */
.hero {
  padding: clamp(40px, 6vw, 80px) 0 clamp(60px, 8vw, 110px);
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}
.hero-text { position: relative; z-index: 2; }
.hero h1 {
  font-size: clamp(3rem, 8vw, 6.4rem);
  font-weight: 500;
  font-variation-settings: "opsz" 144, "SOFT" 100, "WONK" 0;
}
.hero h1 em {
  font-style: italic;
  color: var(--tomato);
  font-weight: 400;
  font-variation-settings: "opsz" 144, "SOFT" 100, "WONK" 0;
}
.hero p.lead {
  font-size: clamp(1.05rem, 1.6vw, 1.22rem);
  color: var(--ink-soft);
  max-width: 52ch;
  margin: 26px 0 32px;
}
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; align-items: flex-start; }
/* Angie uses the secondary CTA as an intro note, so it can hold a paragraph.
   Let it wrap and stay contained inside the yellow box on its own line. */
.hero-ctas .btn-secondary {
  flex: 1 1 100%;
  display: block;
  white-space: normal;
  text-align: left;
  line-height: 1.55;
  font-weight: 500;
  font-size: 15px;
  border-radius: 18px;
  padding: 18px 22px;
  max-width: 620px;
}

/* Hero collage */
.hero-collage {
  position: relative;
  aspect-ratio: 4 / 5;
  min-height: 420px;
}
.hero-card {
  position: absolute;
  background: var(--paper);
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}
.hero-card a { display: block; width: 100%; height: 100%; }
.hero-card img { width: 100%; height: 100%; object-fit: cover; }
.hero-card.c1 { top: 0; left: 0; width: 62%; height: 70%; transform: rotate(-3deg); z-index: 2; background: var(--peach); }
.hero-card.c2 { top: 12%; right: 0; width: 50%; height: 56%; transform: rotate(4deg); z-index: 3; background: var(--sage); }
.hero-card.c3 { bottom: 0; left: 18%; width: 56%; height: 48%; transform: rotate(-1.5deg); z-index: 4; background: var(--butter); }
.hero-card .placeholder {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--hand);
  font-size: 1.6rem;
  color: rgba(26,24,22,.5);
  padding: 16px;
  text-align: center;
}

/* Tape strips */
.tape {
  position: absolute;
  width: 90px;
  height: 22px;
  background: rgba(255, 247, 220, .85);
  border: 1px solid rgba(26,24,22,.12);
  box-shadow: var(--shadow-tape);
  pointer-events: none;
}
.tape.t1 { top: -10px; left: 30%; transform: rotate(-6deg); background: rgba(247,201,72,.7); }
.tape.t2 { top: -8px; right: 20%; transform: rotate(8deg); background: rgba(122,158,126,.6); }

/* Floating sticker badges */
.sticker {
  position: absolute;
  background: var(--butter);
  color: var(--ink);
  border: 2px solid var(--ink);
  border-radius: 50%;
  width: 110px; height: 110px;
  display: flex; align-items: center; justify-content: center;
  text-align: center;
  font-family: var(--serif);
  font-weight: 600;
  font-style: italic;
  font-size: 14px;
  line-height: 1.15;
  padding: 12px;
  z-index: 6;
  box-shadow: 0 6px 0 var(--ink);
  transform: rotate(-12deg);
}
.sticker.s-tomato { background: var(--tomato); color: var(--paper); }
.sticker.s-sage { background: var(--sage); color: var(--paper); }

@media (max-width: 800px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-collage { aspect-ratio: 3 / 3.4; max-width: 480px; margin: 0 auto; }
}

/* ── Trust strip / marquee ──────────────────────────────────────── */
.trust-strip {
  background: var(--ink);
  color: var(--paper);
  padding: 18px 0;
  overflow: hidden;
  border-block: 2px solid var(--ink);
  margin-top: -1px;
}
.marquee {
  display: flex;
  gap: 60px;
  animation: marquee 36s linear infinite;
  white-space: nowrap;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.1rem, 2vw, 1.6rem);
  font-weight: 500;
}
.marquee span { display: inline-flex; align-items: center; gap: 60px; }
.marquee i { color: var(--butter); font-style: normal; }
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ── Pillars / What we make ─────────────────────────────────────── */
.pillars {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: clamp(20px, 3vw, 40px);
  margin-top: 12px;
}
.pillar {
  background: var(--paper);
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  padding: 28px;
  position: relative;
  box-shadow: var(--shadow-card);
}
.pillar:nth-child(2) { transform: rotate(1deg); background: var(--peach); }
.pillar:nth-child(3) { transform: rotate(-1deg); background: var(--sage); color: var(--paper); }
.pillar:nth-child(3) h3, .pillar:nth-child(3) p { color: var(--paper); }
.pillar:nth-child(4) { transform: rotate(.6deg); background: var(--butter); }
.pillar .num {
  font-family: var(--serif); font-style: italic; font-size: 60px;
  line-height: 1; color: var(--tomato); margin-bottom: 8px;
  font-variation-settings: "opsz" 144, "WONK" 0;
}
.pillar:nth-child(3) .num { color: var(--butter); }
.pillar p { color: var(--ink-soft); margin: 6px 0 0; }
.pillar:nth-child(3) p { color: rgba(246,239,228,.9); }

/* ── Featured pieces ────────────────────────────────────────────── */
.featured {
  background: var(--paper-2);
  border-block: 2px solid var(--ink);
  position: relative;
}
.featured::before, .featured::after {
  content: ""; display: block;
  height: 14px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 14'><path d='M0,14 L10,0 L20,14 L30,0 L40,14 Z' fill='%23f6efe4'/></svg>");
  background-size: 40px 14px;
  background-repeat: repeat-x;
}
.featured::before { transform: rotate(180deg); margin-bottom: -1px; }
.featured::after { margin-top: -1px; }

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: clamp(20px, 3vw, 36px);
}
.product-card {
  position: relative;
  background: var(--paper);
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease;
  box-shadow: 0 4px 0 var(--ink);
}
.product-card:hover { transform: translateY(-4px) rotate(-.5deg); box-shadow: 0 8px 0 var(--ink); }
.product-card:nth-child(3n) { transform: rotate(.5deg); }
.product-card:nth-child(3n):hover { transform: translateY(-4px) rotate(1deg); }
.product-card:nth-child(3n+2) { transform: rotate(-.4deg); }
.product-card:nth-child(3n+2):hover { transform: translateY(-4px) rotate(-1deg); }

.product-card .pc-image {
  aspect-ratio: 4 / 5;
  background: var(--paper-2);
  border-bottom: 2px solid var(--ink);
  position: relative;
  overflow: hidden;
}
.product-card .pc-image img { width: 100%; height: 100%; object-fit: cover; }
.product-card .pc-image .placeholder-img {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--hand);
  font-size: 1.4rem;
  color: rgba(26,24,22,.4);
}
.product-card .pc-oneoff {
  position: absolute; top: 12px; left: 12px;
  background: var(--tomato); color: var(--paper);
  font-size: 11px; font-weight: 700;
  letter-spacing: .12em;
  padding: 5px 10px;
  border-radius: 999px;
  text-transform: uppercase;
  transform: rotate(-4deg);
  border: 1.5px solid var(--ink);
}
.product-card .pc-soldout {
  position: absolute; top: 12px; right: 12px;
  background: var(--ink); color: var(--paper);
  font-size: 11px; font-weight: 700;
  letter-spacing: .12em;
  padding: 5px 10px;
  border-radius: 999px;
  text-transform: uppercase;
}
.pc-body { padding: 18px 20px 22px; }
.pc-name {
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 500;
  margin: 0 0 4px;
}
.pc-tagline { color: var(--muted); font-size: 13px; margin: 0 0 10px; font-style: italic; }
.pc-price {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.15rem;
}
.pc-price s { color: var(--muted); font-weight: 400; margin-right: 8px; }

/* ── Manifesto / quote ──────────────────────────────────────────── */
.manifesto {
  text-align: center;
}
.manifesto blockquote {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.6rem, 3.4vw, 2.6rem);
  font-weight: 400;
  max-width: 22ch;
  margin: 0 auto;
  line-height: 1.2;
  color: var(--ink);
  font-variation-settings: "opsz" 144, "SOFT" 80;
}
.manifesto blockquote em { color: var(--tomato); }
.manifesto cite {
  display: block;
  font-family: var(--hand);
  font-size: 1.6rem;
  color: var(--sage-d);
  font-style: normal;
  margin-top: 24px;
}

/* ── Process strip ──────────────────────────────────────────────── */
.process-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: clamp(28px, 4vw, 56px);
  position: relative;
}
.process-strip::before {
  content: "";
  position: absolute;
  left: 6%; right: 6%;
  top: 40px;
  height: 2px;
  background-image: linear-gradient(to right, var(--ink) 50%, transparent 0);
  background-size: 12px 2px;
  background-repeat: repeat-x;
  z-index: 0;
}
.process-step { text-align: center; position: relative; z-index: 1; }
.process-step .circle {
  width: 80px; height: 80px;
  border-radius: 50%;
  background: var(--paper);
  border: 2px solid var(--ink);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif); font-style: italic; font-size: 30px; font-weight: 600;
  margin: 0 auto 18px;
  box-shadow: 0 4px 0 var(--ink);
  color: var(--ink);
}
.process-step:nth-child(1) .circle { background: var(--peach); }
.process-step:nth-child(2) .circle { background: var(--butter); }
.process-step:nth-child(3) .circle { background: var(--sage); color: var(--paper); }
.process-step:nth-child(4) .circle { background: var(--lilac); color: var(--paper); }
.process-step h3 { font-size: 1.2rem; margin: 0 0 6px; }
.process-step p { color: var(--ink-soft); font-size: 15px; margin: 0; }

/* ── Lookbook teaser ────────────────────────────────────────────── */
.lookbook-teaser {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 18px;
}
.lookbook-teaser a {
  display: block;
  aspect-ratio: 3/4;
  background: var(--paper-2);
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  transition: transform .2s ease;
  box-shadow: 0 4px 0 var(--ink);
}
.lookbook-teaser a:nth-child(odd) { transform: rotate(-1deg); }
.lookbook-teaser a:nth-child(even) { transform: rotate(1deg); }
.lookbook-teaser a:hover { transform: rotate(0) translateY(-4px); }
.lookbook-teaser img { width: 100%; height: 100%; object-fit: cover; }
.lookbook-teaser .label {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: rgba(26,24,22,.85);
  color: var(--paper);
  padding: 10px 14px;
  font-family: var(--serif); font-style: italic;
  font-size: 15px;
}

/* ── Final CTA ──────────────────────────────────────────────────── */
.final-cta {
  background: var(--tomato);
  color: var(--paper);
  text-align: center;
  position: relative;
  border-block: 2px solid var(--ink);
}
.final-cta h2 { color: var(--paper); }
.final-cta p { color: rgba(246,239,228,.9); max-width: 56ch; margin: 0 auto 28px; }
.final-cta .btn { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.final-cta .btn:hover { background: var(--paper); color: var(--ink); }
.final-cta .scribble { color: var(--butter); font-size: 2rem; }

/* ── Commissions band ──────────────────────────────────────────── */
.commission {
  background: var(--sage);
  border-block: 2px solid var(--ink);
}
.commission-inner {
  display: grid;
  grid-template-columns: 1.5fr .9fr;
  gap: 44px;
  align-items: center;
}
.commission-text h2 { margin: 12px 0 18px; }
.commission-text p {
  max-width: 54ch;
  margin: 0 0 28px;
  color: var(--ink-soft);
}
.commission .scribble { color: var(--paper); font-size: 1.5rem; }
.commission .btn { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.commission .btn:hover { background: var(--paper); color: var(--ink); }
.commission-note {
  justify-self: center;
  max-width: 260px;
  font-family: var(--hand);
  font-size: 1.7rem;
  line-height: 1.25;
  text-align: center;
  color: var(--ink);
  background: var(--butter);
  border: 2px solid var(--ink);
  border-radius: 14px;
  padding: 30px 26px;
  transform: rotate(-2.5deg);
  box-shadow: 6px 6px 0 rgba(26, 24, 22, .18);
}
@media (max-width: 760px) {
  .commission-inner { grid-template-columns: 1fr; }
  .commission-note { display: none; }
}

/* ── Footer ─────────────────────────────────────────────────────── */
.site-footer {
  background: var(--ink);
  color: var(--paper);
  padding: 60px 0 0;
  border-top: 2px solid var(--ink);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 50px;
}
@media (max-width: 800px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
.footer-grid h4 {
  color: var(--butter);
  font-family: var(--sans);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .14em;
  text-transform: uppercase;
  margin: 0 0 18px;
}
.footer-grid p, .footer-grid a {
  color: rgba(246,239,228,.78);
  font-size: 14px;
  line-height: 1.7;
}
.footer-grid a:hover { color: var(--butter); }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.footer-logo {
  font-family: var(--serif);
  font-size: 32px;
  color: var(--paper);
  font-weight: 500;
  margin-bottom: 10px;
  display: inline-block;
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 18px 0;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 12px;
  color: rgba(246,239,228,.5);
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom a { color: rgba(246,239,228,.5); }
.footer-bottom a:hover { color: var(--butter); }
.powered-by {
  text-align: center;
  background: #0e0d0c;
  padding: 8px;
  font-size: 11px;
}
.powered-by a { color: rgba(246,239,228,.3); }

/* ── Flash messages ─────────────────────────────────────────────── */
.flash-container {
  position: fixed;
  top: 84px; right: 20px;
  z-index: 200;
  display: flex; flex-direction: column; gap: 10px;
  pointer-events: none;
}
.flash {
  background: var(--paper);
  border: 2px solid var(--ink);
  border-radius: 14px;
  padding: 14px 20px;
  font-weight: 600;
  font-size: 14px;
  max-width: 360px;
  box-shadow: 0 6px 0 var(--ink);
  pointer-events: auto;
  transition: opacity .3s;
}
.flash-success { background: var(--sage); color: var(--paper); }
.flash-error { background: var(--tomato); color: var(--paper); }

/* ── Forms ──────────────────────────────────────────────────────── */
.form-grid { display: grid; gap: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }

label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 6px;
}
.input,
input:not([type]), input[type="text"], input[type="email"], input[type="tel"],
input[type="number"], input[type="password"], input[type="search"], input[type="url"],
textarea, select {
  width: 100%;
  padding: 13px 16px;
  border: 2px solid var(--ink);
  border-radius: 12px;
  background: var(--paper);
  font-family: var(--sans);
  font-size: 15px;
  color: var(--ink);
  transition: box-shadow .15s, transform .1s;
  box-shadow: 0 3px 0 var(--ink);
}
textarea { min-height: 120px; resize: vertical; }
.input:focus,
input:not([type="checkbox"]):not([type="radio"]):not([type="file"]):not([type="submit"]):not([type="button"]):focus,
textarea:focus, select:focus {
  outline: none;
  box-shadow: 0 3px 0 var(--tomato);
  transform: translateY(-1px);
}

/* ── Page banner ────────────────────────────────────────────────── */
.page-banner {
  padding: clamp(60px, 8vw, 110px) 0 clamp(40px, 5vw, 60px);
  text-align: center;
  border-bottom: 2px dashed rgba(26,24,22,.2);
  position: relative;
}
.page-banner .eyebrow { margin-bottom: 18px; }
.page-banner h1 { max-width: 18ch; margin-inline: auto; }
.page-banner p.lead { color: var(--ink-soft); max-width: 60ch; margin: 18px auto 0; }

/* ── Product detail ─────────────────────────────────────────────── */
.product-detail {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
}
@media (max-width: 900px) { .product-detail { grid-template-columns: 1fr; } }
.product-gallery { display: grid; gap: 14px; }
.product-gallery .main {
  aspect-ratio: 4/5;
  background: var(--paper-2);
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 4px 0 var(--ink);
}
.product-gallery .main img { width: 100%; height: 100%; object-fit: cover; }
.product-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.product-thumbs button {
  aspect-ratio: 1;
  border: 2px solid var(--ink);
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  padding: 0;
  background: var(--paper-2);
  transition: transform .15s;
}
.product-thumbs button.active { box-shadow: 0 3px 0 var(--tomato); transform: translateY(-2px); }
.product-thumbs button img { width: 100%; height: 100%; object-fit: cover; }
.product-info h1 { font-size: clamp(2.2rem, 4.5vw, 3.4rem); margin-bottom: 6px; }
.product-info .tagline { font-family: var(--hand); font-size: 1.6rem; color: var(--tomato); margin-bottom: 16px; }
.product-info .price-row {
  font-family: var(--serif);
  font-size: 1.8rem;
  font-weight: 500;
  margin: 16px 0 28px;
}
.product-info .price-row s { color: var(--muted); font-weight: 400; margin-right: 12px; font-size: 1.4rem; }
.product-meta-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  background: var(--paper-2);
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  padding: 22px;
  margin-top: 30px;
}
.product-meta-grid .label { font-size: 11px; color: var(--muted); margin-bottom: 4px; }
.product-meta-grid .value { font-family: var(--serif); font-style: italic; font-size: 1rem; }

/* ── Cart ───────────────────────────────────────────────────────── */
.cart-grid { display: grid; grid-template-columns: 2fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: start; }
@media (max-width: 800px) { .cart-grid { grid-template-columns: 1fr; } }
.cart-item {
  display: grid;
  grid-template-columns: 96px 1fr auto;
  gap: 18px;
  padding: 20px 0;
  border-bottom: 1px dashed rgba(26,24,22,.2);
  align-items: center;
}
.cart-item img { width: 96px; height: 120px; object-fit: cover; border-radius: 10px; border: 2px solid var(--ink); }
.cart-item .ci-name { font-family: var(--serif); font-size: 1.2rem; font-weight: 500; margin: 0; }
.cart-item .ci-tag { color: var(--muted); font-size: 13px; font-style: italic; margin: 2px 0 0; }
.cart-item .ci-price { font-family: var(--serif); font-weight: 500; }
.qty-control { display: inline-flex; align-items: center; border: 2px solid var(--ink); border-radius: 999px; overflow: hidden; }
.qty-control button { background: var(--paper); border: 0; width: 32px; height: 32px; font-size: 16px; cursor: pointer; }
.qty-control input { width: 36px; text-align: center; border: 0; background: transparent; font-weight: 700; font-size: 15px; padding: 0; box-shadow: none; }
.qty-control input:focus { box-shadow: none; }
.cart-summary {
  background: var(--paper);
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: 0 4px 0 var(--ink);
  position: sticky; top: 100px;
}
.cart-summary h3 { margin-top: 0; }
.cart-summary .row { display: flex; justify-content: space-between; margin: 10px 0; font-size: 15px; }
.cart-summary .total { font-family: var(--serif); font-size: 1.4rem; font-weight: 600; padding-top: 14px; border-top: 2px solid var(--ink); margin-top: 14px; }

/* ── Confirmation ───────────────────────────────────────────────── */
.confirm-hero {
  background: var(--butter);
  border-bottom: 2px solid var(--ink);
  padding: 60px 0;
  text-align: center;
}
.confirm-hero h1 { margin: 0 0 12px; }
.order-card {
  background: var(--paper);
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: 0 4px 0 var(--ink);
}

/* ── Lookbook page ──────────────────────────────────────────────── */
.lookbook-grid {
  columns: 3 220px;
  column-gap: 18px;
}
@media (max-width: 700px) { .lookbook-grid { columns: 2 200px; } }
.lookbook-grid > a {
  break-inside: avoid;
  display: block;
  margin-bottom: 18px;
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--paper-2);
  transition: transform .2s ease;
  box-shadow: 0 4px 0 var(--ink);
}
.lookbook-grid > a:nth-child(3n) { transform: rotate(-.7deg); }
.lookbook-grid > a:nth-child(3n+1) { transform: rotate(.5deg); }
.lookbook-grid > a:hover { transform: translateY(-4px) rotate(0); }
.lookbook-grid figcaption {
  padding: 12px 16px;
  font-family: var(--serif); font-style: italic; font-size: 14px;
}

/* ── Process page ──────────────────────────────────────────────── */
.process-detail {
  display: grid;
  gap: 60px;
}
.process-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(20px, 4vw, 56px);
  align-items: center;
}
.process-block:nth-child(even) { direction: rtl; }
.process-block:nth-child(even) > * { direction: ltr; }
@media (max-width: 800px) { .process-block { grid-template-columns: 1fr; direction: ltr; } }
.process-block .pb-img {
  aspect-ratio: 4/5;
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  background: var(--paper-2);
  box-shadow: 0 4px 0 var(--ink);
  position: relative;
}
.process-block:nth-child(odd) .pb-img { transform: rotate(-1.2deg); background: var(--peach); }
.process-block:nth-child(even) .pb-img { transform: rotate(1deg); background: var(--sage); }
.process-block .pb-img img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
  border-radius: inherit;
}
.process-block .pb-img .placeholder {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--hand); font-size: 2rem; color: rgba(26,24,22,.5);
  text-align: center; padding: 24px;
}
.process-block .pb-num {
  font-family: var(--serif); font-style: italic; font-size: 80px;
  line-height: 1; color: var(--tomato); margin-bottom: 6px;
  font-variation-settings: "opsz" 144;
}
.process-block h3 { font-size: clamp(1.8rem, 3vw, 2.4rem); margin: 0 0 12px; }

/* ── Cookie banner ──────────────────────────────────────────────── */
.cookie-banner {
  position: fixed;
  bottom: 20px; left: 20px; right: 20px;
  max-width: 560px;
  background: var(--paper);
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  padding: 18px 22px;
  box-shadow: 0 6px 0 var(--ink), 0 18px 40px -10px rgba(26,24,22,.3);
  z-index: 150;
  display: none;
  font-size: 14px;
  line-height: 1.5;
}
.cookie-banner.show { display: block; }
.cookie-banner .actions { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }

/* ── Misc ───────────────────────────────────────────────────────── */
.mb-0 { margin-bottom: 0; }
.text-center { text-align: center; }
.muted { color: var(--muted); }

.divider-wave {
  height: 22px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 22' preserveAspectRatio='none'><path d='M0,12 Q12.5,0 25,12 T50,12 T75,12 T100,12' fill='none' stroke='%231a1816' stroke-width='2.5'/></svg>");
  background-size: 100px 22px;
  background-repeat: repeat-x;
}

/* Prose for policy pages */
.prose { max-width: 70ch; margin: 0 auto; }
.prose h2 { margin-top: 1.5em; }
.prose h3 { margin-top: 1.4em; font-family: var(--sans); font-weight: 700; font-size: 1.05rem; text-transform: uppercase; letter-spacing: .05em; }
.prose p, .prose li { color: var(--ink-soft); }
.prose ul { padding-left: 1.2em; }
