/* ============================================================
   CAYKED DESIGN SYSTEM — shared tokens & components
   ============================================================ */
:root {
  /* Colour */
  --paper:        #FAF4EA;   /* warm cream canvas */
  --paper-deep:   #F2E8D5;   /* deeper cream panel */
  --ink:          #26190F;   /* deep cocoa */
  --ink-soft:     #5C4A3A;   /* muted cocoa body text */
  --berry:        #C2273F;   /* raspberry accent — CTAs, badges */
  --berry-deep:   #9E1B31;
  --caramel:      #C98A3D;   /* gold highlight */
  --line:         #E4D5BA;   /* hairline borders */
  --white:        #FFFDF8;

  /* Type */
  --font-display: "Fraunces", Georgia, serif;
  --font-ui:      "Archivo", system-ui, sans-serif;

  /* Space */
  --space-1: 0.5rem;
  --space-2: 1rem;
  --space-3: 1.5rem;
  --space-4: 2rem;
  --space-5: 3rem;
  --space-6: 4.5rem;
  --space-7: 6.5rem;

  /* Radius */
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 22px;

  /* Container */
  --max-w: 1200px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-ui);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { display: block; width: 100%; height: 100%; object-fit: cover; }
a { color: inherit; text-decoration: none; }
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 var(--space-4); }

/* ------------------------------------------------------------
   Type scale
   ------------------------------------------------------------ */
.display {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: -0.015em;
  font-variation-settings: "SOFT" 50, "WONK" 1;
}
.eyebrow {
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.section-head { max-width: 640px; margin-bottom: var(--space-5); }
.section-head h2 {
  font-size: clamp(1.9rem, 4vw, 3rem);
  margin: var(--space-2) 0 var(--space-2);
}
.section-head p { color: var(--ink-soft); font-size: 1.05rem; }

/* ------------------------------------------------------------
   Buttons
   ------------------------------------------------------------ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  padding: 0.8rem 1.4rem;
  border-radius: 999px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, background .15s ease, color .15s ease, border-color .15s ease;
  white-space: nowrap;
}
.btn svg { width: 16px; height: 16px; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--berry); color: var(--white); }
.btn-primary:hover { background: var(--berry-deep); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--paper); }
.btn-light { background: var(--white); color: var(--ink); }
.btn-light:hover { background: var(--paper-deep); }

/* ------------------------------------------------------------
   Dev note
   ------------------------------------------------------------ */
.devnote {
  background: var(--ink);
  color: var(--paper-deep);
  font-size: 0.78rem;
  text-align: center;
  padding: 0.4rem var(--space-3);
  letter-spacing: 0.02em;
}
.devnote strong { color: var(--white); font-weight: 600; }

/* ------------------------------------------------------------
   Utility bar
   ------------------------------------------------------------ */
.utility {
  background: var(--ink);
  color: var(--paper-deep);
  font-size: 0.84rem;
  padding: 0.55rem 0;
}
.utility .container { display: flex; justify-content: space-between; align-items: center; gap: var(--space-3); flex-wrap: wrap; }
.utility .dot { color: var(--berry); font-weight: 700; }
.utility a { color: var(--white); font-weight: 600; }
.utility a:hover { text-decoration: underline; }

/* ------------------------------------------------------------
   Header
   ------------------------------------------------------------ */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250,244,234,.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .container {
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--space-3); padding-top: 0.85rem; padding-bottom: 0.85rem;
}
.wordmark {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.9rem;
  letter-spacing: -0.02em;
  font-variation-settings: "SOFT" 60, "WONK" 1;
}
.wordmark .accent { color: var(--berry); }
.nav { display: flex; gap: var(--space-3); }
.nav a {
  font-weight: 500; font-size: 0.95rem; color: var(--ink-soft);
  position: relative; padding: 0.2rem 0;
}
.nav a:hover { color: var(--ink); }
.nav a::after {
  content: ""; position: absolute; left: 0; bottom: -2px; height: 2px; width: 0;
  background: var(--berry); transition: width .18s ease;
}
.nav a:hover::after { width: 100%; }
.nav a.active { color: var(--ink); }
.nav a.active::after { width: 100%; }
.header-actions { display: flex; align-items: center; gap: var(--space-2); flex-shrink: 0; }
.cart-btn {
  display: grid; place-items: center; width: 42px; height: 42px;
  border: 1.5px solid var(--line); border-radius: 50%; background: var(--white);
  cursor: pointer; transition: border-color .15s ease; color: var(--ink);
  flex-shrink: 0;
}
.cart-btn:hover { border-color: var(--ink); }
.cart-btn svg { width: 18px; height: 18px; }
.menu-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  height: 42px;
  padding: 0 0.95rem;
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: 0.92rem;
  cursor: pointer;
  flex-shrink: 0;
}
.menu-toggle svg { width: 18px; height: 18px; }
.menu-toggle .icon-close { display: none; }
.menu-toggle.is-open .icon-menu { display: none; }
.menu-toggle.is-open .icon-close { display: block; }
.menu-toggle .menu-label { line-height: 1; }
.nav-login { display: none; }
@media (min-width: 961px) {
  .menu-toggle { display: none; }
  .nav-login { display: none; }
}
.form-thanks, .form-status {
  margin: var(--space-2) 0 0;
  padding: 0;
  color: var(--ink);
  font-weight: 600;
  text-align: center;
  line-height: 1.45;
}
.form-status.is-ok { color: var(--berry-deep); }
.form-status.is-error { color: var(--berry); }
.newsletter-form .form-thanks,
.newsletter-form .form-status { color: var(--paper); text-align: left; font-weight: 500; }
.newsletter-form .form-status.is-error { color: #F4C98A; }

/* ------------------------------------------------------------
   Hero (home)
   ------------------------------------------------------------ */
.hero {
  position: relative; min-height: min(86vh, 760px);
  display: flex; align-items: center;
  overflow: hidden;
  background: var(--ink);
}
.hero-media { position: absolute; inset: 0; }
.hero-media img { filter: saturate(1.05); }
.hero::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(20,12,6,.88) 0%, rgba(20,12,6,.55) 46%, rgba(20,12,6,.12) 100%);
}
.hero-content {
  position: relative; z-index: 2; max-width: 620px;
  color: var(--paper); padding: var(--space-6) 0;
}
.hero .eyebrow { color: #F4C98A; }
.hero h1 {
  font-size: clamp(2.6rem, 6.5vw, 4.6rem);
  margin: var(--space-3) 0 var(--space-3);
}
.hero p.sub { font-size: 1.15rem; color: #EDE2D0; max-width: 46ch; }
.hero-ctas { display: flex; gap: var(--space-2); margin-top: var(--space-4); flex-wrap: wrap; }
.delivery-pill {
  display: inline-flex; align-items: center; gap: 0.5rem;
  margin-top: var(--space-4);
  padding: 0.55rem 0.95rem; border-radius: 999px;
  background: rgba(255,253,248,.14); border: 1px solid rgba(255,253,248,.28);
  font-size: 0.88rem; font-weight: 500; color: var(--paper);
}
.delivery-pill .pulse { width: 8px; height: 8px; border-radius: 50%; background: #6AD26A; box-shadow: 0 0 0 4px rgba(106,210,106,.25); }

/* ------------------------------------------------------------
   Page hero (subpages)
   ------------------------------------------------------------ */
.page-hero {
  position: relative; min-height: 44vh;
  display: flex; align-items: flex-end;
  overflow: hidden; background: var(--ink);
}
.page-hero-media { position: absolute; inset: 0; }
.page-hero-media img { filter: saturate(1.05) brightness(.9); }
.page-hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(20,12,6,.28) 0%, rgba(20,12,6,.82) 100%);
}
.page-hero-content {
  position: relative; z-index: 2; color: var(--paper);
  padding: var(--space-6) 0 var(--space-5);
}
.page-hero .eyebrow { color: #F4C98A; }
.page-hero h1 {
  font-size: clamp(2.3rem, 5vw, 4rem);
  margin: var(--space-2) 0 var(--space-2);
}
.page-hero p { color: #EDE2D0; max-width: 52ch; font-size: 1.1rem; }

/* ------------------------------------------------------------
   Range grid (category tiles)
   ------------------------------------------------------------ */
.range { padding: var(--space-7) 0; }
.range-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-3); }
.range-tile {
  position: relative; border-radius: var(--r-md); overflow: hidden;
  aspect-ratio: 3 / 4; cursor: pointer;
  background: var(--paper-deep);
}
.range-tile img { transition: transform .5s ease; }
.range-tile:hover img { transform: scale(1.06); }
.range-tile .shade {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(20,12,6,0) 38%, rgba(20,12,6,.82) 100%);
}
.range-tile .label {
  position: absolute; left: var(--space-3); right: var(--space-3); bottom: var(--space-3);
  color: var(--paper); z-index: 2;
}
.range-tile .label h3 { font-family: var(--font-display); font-weight: 600; font-size: 1.45rem; }
.range-tile .label span {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-size: 0.85rem; font-weight: 600; margin-top: 0.35rem; opacity: .9;
}
.range-tile .label svg { width: 14px; height: 14px; }

/* ------------------------------------------------------------
   Delivery band (dark)
   ------------------------------------------------------------ */
.delivery { background: var(--ink); color: var(--paper); padding: var(--space-7) 0; }
.delivery .eyebrow { color: #F4C98A; }
.delivery h2 { font-size: clamp(1.9rem, 4vw, 3rem); margin: var(--space-2) 0 var(--space-5); }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-3); }
.step { background: rgba(255,253,248,.06); border: 1px solid rgba(255,253,248,.14); border-radius: var(--r-md); padding: var(--space-4); }
.step .num { font-family: var(--font-display); font-size: 1.6rem; color: var(--berry); font-weight: 700; }
.step h4 { font-family: var(--font-display); font-weight: 600; font-size: 1.25rem; margin: var(--space-2) 0 0.4rem; }
.step p { color: #D8CBB6; font-size: 0.95rem; }
.delivery-foot { display: flex; gap: var(--space-3); align-items: center; flex-wrap: wrap; margin-top: var(--space-4); }
.clock {
  display: inline-flex; align-items: center; gap: 0.6rem;
  background: var(--white); color: var(--ink);
  padding: 0.7rem 1.1rem; border-radius: var(--r-sm); font-weight: 700;
}
.clock svg { width: 20px; height: 20px; color: var(--berry); }
.chips { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.chip {
  border: 1px solid rgba(255,253,248,.3); border-radius: 999px;
  padding: 0.45rem 0.9rem; font-size: 0.85rem; color: #EDE2D0;
}
.chip.dark { border-color: var(--line); color: var(--ink-soft); }

/* ------------------------------------------------------------
   Spotlight / product cards
   ------------------------------------------------------------ */
.spotlight { padding: var(--space-7) 0; }
.spotlight-top { display: flex; align-items: flex-end; justify-content: space-between; gap: var(--space-4); flex-wrap: wrap; }
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-3); margin-top: var(--space-5); }
.product-card {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--r-md); overflow: hidden;
  transition: box-shadow .2s ease, transform .2s ease;
}
.product-card:hover { box-shadow: 0 18px 40px -18px rgba(38,25,15,.28); transform: translateY(-3px); }
.product-card .media { aspect-ratio: 4 / 5; background: var(--paper-deep); }
.product-card .body { padding: var(--space-3); }
.product-card h4 { font-family: var(--font-display); font-weight: 600; font-size: 1.15rem; line-height: 1.2; }
.product-card .price { font-weight: 700; font-size: 1.15rem; margin-top: 0.35rem; }
.product-card .price small { font-weight: 500; color: var(--ink-soft); font-size: 0.85rem; }
.product-card .unit { color: var(--ink-soft); font-size: 0.82rem; margin-top: 0.15rem; }
.product-card .enquire {
  margin-top: var(--space-2); width: 100%;
  justify-content: center; background: var(--paper); color: var(--ink); border-color: var(--line);
  text-decoration: none;
}
.product-card .enquire:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }

/* ------------------------------------------------------------
   Filter bar
   ------------------------------------------------------------ */
.filter-bar { display: flex; align-items: center; gap: 0.5rem; flex-wrap: wrap; margin-bottom: var(--space-4); }
.filter-chip {
  border: 1.5px solid var(--line); border-radius: 999px;
  padding: 0.55rem 1.1rem; font-size: 0.9rem; font-weight: 600;
  background: var(--white); color: var(--ink-soft); cursor: pointer;
  transition: all .15s ease;
}
.filter-chip:hover { border-color: var(--ink); color: var(--ink); }
.filter-chip.active { background: var(--berry); border-color: var(--berry); color: var(--white); }

/* ------------------------------------------------------------
   Empty state
   ------------------------------------------------------------ */
.empty-state {
  display: none;
  border: 1.5px dashed var(--line); border-radius: var(--r-md);
  padding: var(--space-5); text-align: center; color: var(--ink-soft);
  grid-column: 1 / -1;
}
.empty-state h3 { font-family: var(--font-display); font-weight: 600; font-size: 1.4rem; color: var(--ink); }
.empty-state p { margin-top: 0.4rem; }

/* ------------------------------------------------------------
   FAQ
   ------------------------------------------------------------ */
.faq { padding: var(--space-6) 0; }
.faq-list { max-width: 760px; }
.faq-item { border-bottom: 1px solid var(--line); padding: var(--space-3) 0; }
.faq-item h3 { font-family: var(--font-display); font-weight: 600; font-size: 1.15rem; margin-bottom: 0.3rem; }
.faq-item p { color: var(--ink-soft); }

/* ------------------------------------------------------------
   Story / about
   ------------------------------------------------------------ */
.story { padding: var(--space-7) 0; }
.story-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: var(--space-6); align-items: center; }
.story-media { border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4 / 3; background: var(--paper-deep); }
.story-media img { width: 100%; height: 100%; object-fit: cover; }
.story h2 { font-size: clamp(1.9rem, 4vw, 3rem); margin: var(--space-2) 0 var(--space-3); }
.story p { color: var(--ink-soft); margin-bottom: var(--space-2); }
.stat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-3); margin-top: var(--space-4); }
.stat { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md); padding: var(--space-3); }
.stat .num { font-family: var(--font-display); font-weight: 700; font-size: 2rem; color: var(--berry); }
.stat .cap { color: var(--ink-soft); font-size: 0.9rem; margin-top: 0.2rem; }

/* ------------------------------------------------------------
   Values
   ------------------------------------------------------------ */
.values { background: var(--paper-deep); padding: var(--space-7) 0; }
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-3); }
.value { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md); padding: var(--space-4); }
.value svg { width: 26px; height: 26px; color: var(--berry); }
.value h3 { font-family: var(--font-display); font-weight: 600; font-size: 1.25rem; margin: var(--space-2) 0 0.4rem; }
.value p { color: var(--ink-soft); font-size: 0.95rem; }

/* ------------------------------------------------------------
   Trade form / contact
   ------------------------------------------------------------ */
.trade { background: var(--paper-deep); padding: var(--space-7) 0; }
.trade-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: var(--space-6); align-items: start; }
.trade h2 { font-size: clamp(1.9rem, 4vw, 3rem); margin: var(--space-2) 0 var(--space-3); }
.contact-line { display: flex; gap: 0.7rem; align-items: center; margin-bottom: 0.8rem; color: var(--ink-soft); }
.contact-line svg { width: 18px; height: 18px; color: var(--berry); flex-shrink: 0; }
.contact-line strong { color: var(--ink); }
.form-card {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: var(--space-4);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-3); }
.field { margin-bottom: var(--space-3); }
.field label { display: block; font-weight: 600; font-size: 0.85rem; margin-bottom: 0.4rem; }
.field > input, .field > select, .field > textarea {
  width: 100%; padding: 0.75rem 0.9rem; font-family: inherit; font-size: 0.95rem;
  border: 1.5px solid var(--line); border-radius: var(--r-sm); background: var(--white);
  color: var(--ink); transition: border-color .15s ease;
}
.field > input:focus, .field > select:focus, .field > textarea:focus { outline: none; border-color: var(--berry); }
.chip-select { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.chip-select input { position: absolute; opacity: 0; pointer-events: none; }
.chip-select label {
  border: 1.5px solid var(--line); border-radius: 999px; padding: 0.5rem 0.95rem;
  font-size: 0.86rem; font-weight: 500; cursor: pointer; transition: all .15s ease;
}
.chip-select input:checked + label { background: var(--berry); border-color: var(--berry); color: var(--white); }

/* ------------------------------------------------------------
   Map placeholder
   ------------------------------------------------------------ */
.map-placeholder {
  position: relative; border-radius: var(--r-lg); overflow: hidden;
  background:
    repeating-linear-gradient(45deg, #EFE3CB 0 14px, #E9DBC0 14px 28px);
  min-height: 320px; display: grid; place-items: center;
}
.map-pin { text-align: center; color: var(--ink); }
.map-pin svg { width: 40px; height: 40px; color: var(--berry); }
.map-pin .place { font-family: var(--font-display); font-weight: 700; font-size: 1.3rem; margin-top: 0.5rem; }
.map-pin .sub { color: var(--ink-soft); font-size: 0.9rem; }

/* ------------------------------------------------------------
   CTA band
   ------------------------------------------------------------ */
.cta-band { background: var(--berry); color: var(--white); padding: var(--space-6) 0; }
.cta-band .container { display: flex; align-items: center; justify-content: space-between; gap: var(--space-4); flex-wrap: wrap; }
.cta-band h2 { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.7rem, 3.5vw, 2.6rem); }
.cta-band p { color: #F4D7DC; margin-top: 0.3rem; }
.cta-band .btn-light { background: var(--white); color: var(--berry); }
.cta-band .btn-light:hover { background: var(--paper); }

/* ------------------------------------------------------------
   Footer
   ------------------------------------------------------------ */
.site-footer { background: var(--ink); color: #CBBDA6; padding: var(--space-6) 0 var(--space-4); }
.footer-top { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: var(--space-5); }
.site-footer .wordmark { color: var(--paper); }
.site-footer h5 { color: var(--paper); font-size: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: var(--space-2); }
.site-footer ul { list-style: none; }
.site-footer li { margin-bottom: 0.5rem; }
.site-footer a:hover { color: var(--white); }
.footer-bottom {
  margin-top: var(--space-5); padding-top: var(--space-3);
  border-top: 1px solid rgba(255,253,248,.14);
  display: flex; justify-content: space-between; gap: var(--space-3); flex-wrap: wrap;
  font-size: 0.82rem; color: #9A8B73;
}

/* ------------------------------------------------------------
   Tokens showcase
   ------------------------------------------------------------ */
.tokens { padding: var(--space-7) 0; border-top: 1px solid var(--line); }
.tokens h2 { font-size: 1.8rem; margin-bottom: var(--space-2); }
.tokens .lede { color: var(--ink-soft); margin-bottom: var(--space-5); max-width: 60ch; }
.token-block { margin-bottom: var(--space-5); }
.token-block h3 { font-size: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: var(--space-2); }
.swatches { display: grid; grid-template-columns: repeat(6, 1fr); gap: var(--space-2); }
.swatch { border-radius: var(--r-sm); border: 1px solid var(--line); overflow: hidden; }
.swatch .chip-color { height: 72px; }
.swatch .chip-name { padding: 0.45rem 0.6rem; font-size: 0.75rem; font-weight: 600; background: var(--white); }
.swatch .chip-val { padding: 0 0.6rem 0.5rem; font-size: 0.7rem; color: var(--ink-soft); font-family: ui-monospace, monospace; }
.type-spec { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-4); }
.type-spec .spec { border: 1px solid var(--line); border-radius: var(--r-md); padding: var(--space-4); background: var(--white); }
.btn-row { display: flex; gap: var(--space-2); flex-wrap: wrap; align-items: center; }
.component-row { display: flex; gap: var(--space-3); flex-wrap: wrap; align-items: center; }

/* ------------------------------------------------------------
   Mobile sticky bar
   ------------------------------------------------------------ */
.mobile-cta {
  display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  background: rgba(250,244,234,.96); backdrop-filter: blur(10px);
  border-top: 1px solid var(--line); padding: 0.6rem var(--space-3);
  gap: var(--space-2);
}
.mobile-cta .btn { flex: 1; justify-content: center; }

/* ------------------------------------------------------------
   Responsive
   ------------------------------------------------------------ */
@media (max-width: 960px) {
  .range-grid, .product-grid { grid-template-columns: repeat(2, 1fr); }
  .steps, .values-grid, .stat-grid { grid-template-columns: 1fr; }
  .trade-grid, .story-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .swatches { grid-template-columns: repeat(3, 1fr); }
  .type-spec { grid-template-columns: 1fr; }
  .site-header .container {
    flex-wrap: wrap;
    justify-content: space-between;
    padding-left: 1rem;
    padding-right: 1rem;
    gap: 0.5rem;
  }
  .wordmark { font-size: 1.5rem; }
  .header-actions { margin-left: auto; }
  .menu-toggle { position: static; }
  .header-actions .btn-primary,
  .header-actions .login-link,
  .header-actions .cart-btn { display: none; }
  .nav-login { display: block; }
  .nav {
    display: none;
    flex-direction: column;
    gap: 0;
    width: 100%;
    order: 10;
    padding: 0.35rem 0 0.6rem;
    border-top: 1px solid var(--line);
    margin-top: 0.35rem;
  }
  .nav.is-open { display: flex; }
  .nav a {
    padding: 0.7rem 0;
    font-size: 1.05rem;
  }
  .nav a::after { display: none; }
  .mobile-cta { display: flex; }
  body { padding-bottom: 74px; }
}
@media (max-width: 600px) {
  .hero { min-height: 82vh; }
  .form-row { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .swatches { grid-template-columns: repeat(2, 1fr); }
}

/* ------------------------------------------------------------
   Login link (header)
   ------------------------------------------------------------ */
.login-link {
  font-weight: 600; font-size: 0.92rem; color: var(--ink-soft);
  padding: 0.2rem 0; position: relative; white-space: nowrap;
}
.login-link:hover { color: var(--ink); }
.login-link::after {
  content: ""; position: absolute; left: 0; bottom: -2px; height: 2px; width: 0;
  background: var(--berry); transition: width .18s ease;
}
.login-link:hover::after { width: 100%; }

/* ------------------------------------------------------------
   Newsletter (footer)
   ------------------------------------------------------------ */
.newsletter {
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--space-4); flex-wrap: wrap;
  padding: 0 0 var(--space-5);
  border-bottom: 1px solid rgba(255,253,248,.14);
  margin-bottom: var(--space-5);
}
.newsletter h5 {
  color: var(--paper); font-size: 0.8rem; letter-spacing: 0.14em;
  text-transform: uppercase; margin-bottom: var(--space-1);
}
.newsletter p { color: #CBBDA6; font-size: 0.95rem; max-width: 44ch; }
.newsletter-form { display: flex; gap: var(--space-2); min-width: min(420px, 100%); }
.newsletter-form input {
  flex: 1; padding: 0.8rem 1rem; font-family: inherit; font-size: 0.95rem;
  border: 1.5px solid rgba(255,253,248,.28); border-radius: 999px;
  background: rgba(255,253,248,.06); color: var(--paper);
}
.newsletter-form input::placeholder { color: #9A8B73; }
.newsletter-form input:focus { outline: none; border-color: var(--caramel); }

/* ------------------------------------------------------------
   Auth page (login)
   ------------------------------------------------------------ */
.auth { padding: var(--space-7) 0; }
.auth-card { max-width: 440px; margin: 0 auto; }
.auth-card .form-card { padding: var(--space-5); }
.auth-links {
  display: flex; justify-content: space-between; align-items: center;
  gap: var(--space-2); margin: var(--space-1) 0 var(--space-3); font-size: 0.88rem;
}
.auth-links a { color: var(--berry); font-weight: 600; }
.auth-links a:hover { text-decoration: underline; }
.auth-links label { display: flex; align-items: center; gap: .4rem; color: var(--ink-soft); }
.auth-alt {
  text-align: center; margin-top: var(--space-3); padding-top: var(--space-3);
  border-top: 1px solid var(--line); font-size: 0.9rem; color: var(--ink-soft);
}
.auth-alt a { color: var(--berry); font-weight: 600; }
.auth-alt a:hover { text-decoration: underline; }

/* responsive additions */
@media (max-width: 600px) {
  .newsletter { flex-direction: column; align-items: stretch; }
  .newsletter-form { flex-direction: column; min-width: 0; }
  .newsletter-form .btn { width: 100%; justify-content: center; }
}

/* ------------------------------------------------------------
   Social icons (footer)
   ------------------------------------------------------------ */
.social { display: flex; gap: 0.6rem; margin-top: var(--space-3); }
.social a {
  display: grid; place-items: center; width: 40px; height: 40px;
  border-radius: 50%; border: 1px solid rgba(255,253,248,.28);
  color: #CBBDA6; transition: color .15s ease, border-color .15s ease, transform .15s ease;
}
.social a:hover { color: var(--white); border-color: var(--white); transform: translateY(-1px); }
.social svg { width: 18px; height: 18px; }

/* ------------------------------------------------------------
   Legal prose (terms)
   ------------------------------------------------------------ */
.legal { padding: var(--space-6) 0 var(--space-7); }
.legal .prose { max-width: 760px; }
.legal h2 {
  font-family: var(--font-display); font-weight: 600; font-size: 1.35rem;
  margin: var(--space-4) 0 var(--space-2); line-height: 1.25;
}
.legal h2:first-child { margin-top: 0; }
.legal p { color: var(--ink-soft); margin-bottom: var(--space-2); font-size: 0.98rem; }
.legal ul { color: var(--ink-soft); margin: 0 0 var(--space-2) var(--space-3); font-size: 0.98rem; }
.legal li { margin-bottom: 0.35rem; }