/* ============================================================
   TARTAN ROSE — style.css
   Design system · mobile-first base
   Brand colour: #AB6F48 · Paper ivory · Warm ink charcoal
   Fonts: Lora (display) · Inter (UI)
   ============================================================ */

/* ---------- 1. Tokens ---------- */
:root {
  /* Colour */
  --paper:        #FBF7F1;
  --paper-2:      #F5EEE3;
  --toast:        #EFE5D6;
  --card:         #FFFDF9;
  --ink:          #27211A;
  --ink-2:        #413831;
  --muted:        #7E7264;
  --line:         #E7DCCC;
  --line-strong:  #D9C9B4;

  --accent:       #AB6F48;   /* official brand colour */
  --accent-deep:  #8A5734;   /* accessible fill on buttons */
  --accent-ink:   #6F452B;
  --accent-soft:  #F2E7DB;

  --ok:           #48684F;
  --ok-soft:      #E8EFE7;
  --err:          #A2432E;
  --err-soft:     #F8E9E4;

  --ink-bg:       #2B231B;   /* deep warm band */
  --ink-bg-2:     #241D16;
  --ink-line:     rgba(244, 236, 224, .14);
  --ink-text:     #F3EBDF;
  --ink-muted:    #C7B8A4;

  /* Type */
  --font-display: 'Lora', 'Georgia', serif;
  --font-ui:      'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;

  /* Layout */
  --container:      1200px;
  --container-wide: 1400px;
  --gutter:         clamp(20px, 5vw, 48px);
  --sec:            clamp(72px, 10vw, 140px);
  --sec-sm:         clamp(48px, 7vw, 96px);
  --header-h:       64px;

  /* Radii / effects */
  --r-sm: 10px;
  --r-md: 14px;
  --r-lg: 20px;
  --ease:  cubic-bezier(.22, 1, .36, 1);
  --ease-2: cubic-bezier(.16, 1, .3, 1);
  --shadow-card:  0 1px 2px rgba(39, 33, 26, .05), 0 10px 28px -14px rgba(39, 33, 26, .14);
  --shadow-pop:   0 2px 6px rgba(39, 33, 26, .08), 0 24px 60px -20px rgba(39, 33, 26, .28);
  --ring:         0 0 0 3px rgba(171, 111, 72, .32);
}

/* ---------- 2. Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-ui);
  font-size: 16px;
  line-height: 1.65;
  font-feature-settings: "kern" 1;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.overflow-hidden { overflow: hidden; }

img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
[hidden] { display: none !important; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; padding: 0; cursor: pointer; }
a { color: inherit; }
h1, h2, h3, h4, p, ul, ol, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
address { font-style: normal; }

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

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 2px;
}

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

.skip {
  position: fixed; top: 10px; left: 10px; z-index: 300;
  background: var(--ink); color: var(--paper);
  padding: 10px 16px; border-radius: var(--r-sm);
  transform: translateY(-300%);
  transition: transform .25s var(--ease);
  font-size: 14px; font-weight: 600; text-decoration: none;
}
.skip:focus-visible { transform: translateY(0); }

/* ---------- 3. Typography ---------- */
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 500; line-height: 1.12; letter-spacing: -0.01em; }
h1, h2 { text-wrap: balance; }
p { text-wrap: pretty; }

.display-hero {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2.85rem, 8.4vw, 5.1rem);
  line-height: 1.04;
  letter-spacing: -0.015em;
}

.page-head__title {
  font-size: clamp(2.3rem, 5.6vw, 3.9rem);
  line-height: 1.06;
}

.section-head__title {
  font-size: clamp(1.85rem, 4.4vw, 2.7rem);
  line-height: 1.14;
}

.card-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.22rem;
  line-height: 1.25;
}

.lead {
  font-size: clamp(1.02rem, 1.5vw, 1.14rem);
  color: var(--ink-2);
  line-height: 1.7;
  max-width: 62ch;
}

.serif-i, .accent-i {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
}
.serif-i { color: inherit; }
.accent-i { color: var(--accent); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .17em;
  text-transform: uppercase;
  color: var(--accent-ink);
}

.eyebrow--light { color: var(--toast); }

/* Tartan thread — small signature divider (3 woven stripes) */
.thread {
  display: inline-block;
  width: 34px; height: 10px;
  background:
    linear-gradient(var(--accent), var(--accent)) 0 0 / 2px 100% no-repeat,
    linear-gradient(var(--ink),   var(--ink))   16px 0 / 2px 100% no-repeat,
    linear-gradient(var(--accent), var(--accent)) 32px 0 / 2px 100% no-repeat;
  opacity: .85;
}
.thread--light {
  background:
    linear-gradient(var(--toast), var(--toast)) 0 0 / 2px 100% no-repeat,
    linear-gradient(var(--accent), var(--accent)) 16px 0 / 2px 100% no-repeat,
    linear-gradient(var(--toast), var(--toast)) 32px 0 / 2px 100% no-repeat;
}

.muted { color: var(--muted); }
.small { font-size: 13.5px; }
.tabular { font-variant-numeric: tabular-nums; }

/* ---------- 4. Layout helpers ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container--wide { max-width: var(--container-wide); }

.section { padding-block: var(--sec); }
.section--sm { padding-block: var(--sec-sm); }
.section--tint { background: var(--paper-2); }
.section--toast { background: var(--toast); }
.section--ink {
  background: var(--ink-bg);
  color: var(--ink-text);
}
.section--ink .lead { color: var(--ink-muted); }
.section--ink .muted { color: var(--ink-muted); }

#main { display: block; }

/* ---------- 5. Buttons & links ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 26px;
  min-height: 50px;
  border-radius: var(--r-sm);
  border: 1px solid transparent;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .01em;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color .22s var(--ease), color .22s var(--ease),
              border-color .22s var(--ease), transform .15s var(--ease),
              box-shadow .22s var(--ease);
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0) scale(.985); }
.btn:disabled, .btn[aria-disabled="true"] {
  opacity: .5; cursor: not-allowed; transform: none; pointer-events: none;
}
.btn svg { flex: 0 0 auto; }

.btn--primary { background: var(--accent-deep); color: #FFF9F3; }
.btn--primary:hover { background: var(--accent-ink); box-shadow: 0 10px 24px -12px rgba(138, 87, 52, .55); }

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

.btn--ghost {
  border-color: var(--line-strong);
  color: var(--ink);
  background: transparent;
}
.btn--ghost:hover { border-color: var(--accent); color: var(--accent-ink); }
.section--ink .btn--ghost { border-color: var(--ink-line); color: var(--ink-text); }
.section--ink .btn--ghost:hover { border-color: var(--accent); color: #FFF9F3; }

.btn--paper { background: var(--paper); color: var(--ink); }
.btn--paper:hover { background: #FFFFFF; }

.btn--sm { min-height: 42px; padding: 0 18px; font-size: 13.5px; }
.btn--lg { min-height: 56px; padding: 0 34px; font-size: 15.5px; }
.btn--block { width: 100%; }

.btn .btn__arrow { transition: transform .25s var(--ease); }
.btn:hover .btn__arrow { transform: translateX(3px); }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--accent-ink);
  text-decoration: none;
  letter-spacing: .01em;
}
.link-arrow svg { transition: transform .25s var(--ease); }
.link-arrow:hover { color: var(--accent-deep); }
.link-arrow:hover svg { transform: translateX(4px); }
.section--ink .link-arrow { color: var(--toast); }
.section--ink .link-arrow:hover { color: #FFF9F3; }

/* Loading state on buttons */
.btn.is-loading { pointer-events: none; }
.btn.is-loading .btn__label { opacity: .55; }
.btn.is-loading::after {
  content: "";
  width: 16px; height: 16px;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  animation: spin .7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- 6. Price lockup ---------- */
.price {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.18rem;
  letter-spacing: -0.01em;
  font-variant-numeric: tabular-nums;
}
.price__cents { font-size: .68em; opacity: .62; margin-left: 1px; }
.price--lg { font-size: 1.7rem; }
.price--poa {
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---------- 7. Chips / badges ---------- */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 0 18px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: var(--card);
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink-2);
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  transition: border-color .2s var(--ease), background-color .2s var(--ease), color .2s var(--ease);
}
.chip:hover { border-color: var(--accent); color: var(--accent-ink); }
.chip.is-active {
  background: var(--accent-soft);
  border-color: var(--accent);
  color: var(--accent-ink);
  font-weight: 600;
}
.chip--static { cursor: default; }
.chip--static:hover { border-color: var(--line-strong); color: var(--ink-2); }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--accent-ink);
}
.badge::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

/* ---------- 8. Header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 120;
  height: var(--header-h);
  transition: background-color .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
  background: rgba(251, 247, 241, .86);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
  box-shadow: 0 8px 30px -18px rgba(39, 33, 26, .18);
}

.site-header__inner {
  height: 100%;
  max-width: var(--container-wide);
  margin-inline: auto;
  padding-inline: var(--gutter);
  display: flex;
  align-items: center;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  margin-right: auto;
}
.brand__mark { width: 30px; height: 30px; flex: 0 0 auto; }
.brand__word {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.12rem;
  letter-spacing: .01em;
  color: var(--ink);
}

.nav {
  display: none;
  align-items: center;
  gap: 4px;
}
.nav__link {
  position: relative;
  padding: 8px 13px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-2);
  text-decoration: none;
  border-radius: 8px;
  transition: color .2s var(--ease);
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 13px; right: 13px; bottom: 3px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s var(--ease);
}
.nav__link:hover { color: var(--ink); }
.nav__link.is-active { color: var(--ink); font-weight: 600; }
.nav__link.is-active::after { transform: scaleX(1); }

.site-header__actions { display: flex; align-items: center; gap: 10px; }
.site-header__cta { display: none; }

.icon-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px; height: 42px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: rgba(255, 253, 249, .7);
  color: var(--ink);
  transition: border-color .2s var(--ease), color .2s var(--ease), transform .15s var(--ease), background-color .2s;
}
.icon-btn:hover { border-color: var(--accent); color: var(--accent-ink); background: var(--card); }
.icon-btn:active { transform: scale(.94); }
.site-header:not(.is-scrolled) .icon-btn { border-color: rgba(39, 33, 26, .22); background: rgba(255, 253, 249, .55); }

.cart-btn__count {
  position: absolute;
  top: -5px; right: -5px;
  min-width: 19px; height: 19px;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--accent);
  color: #FFF9F3;
  font-size: 10.5px;
  font-weight: 700;
  line-height: 19px;
  text-align: center;
  font-variant-numeric: tabular-nums;
}
.cart-btn__count[hidden] { display: none; }
.cart-btn.bump { animation: bump .45s var(--ease); }
@keyframes bump {
  0% { transform: scale(1); }
  35% { transform: scale(1.14); }
  100% { transform: scale(1); }
}

/* Burger */
.burger { position: relative; }
.burger__line {
  position: absolute;
  left: 50%;
  width: 18px; height: 1.8px;
  border-radius: 2px;
  background: currentColor;
  transform: translateX(-50%);
  transition: transform .3s var(--ease), opacity .2s;
}
.burger__line:nth-child(1) { top: 15px; }
.burger__line:nth-child(2) { top: 20px; }
.burger__line:nth-child(3) { top: 25px; }
.burger.is-open .burger__line:nth-child(1) { transform: translateX(-50%) translateY(5px) rotate(45deg); }
.burger.is-open .burger__line:nth-child(2) { opacity: 0; }
.burger.is-open .burger__line:nth-child(3) { transform: translateX(-50%) translateY(-5px) rotate(-45deg); }

/* ---------- 9. Drawers (mobile menu / cart) ---------- */
.overlay {
  position: fixed; inset: 0;
  z-index: 180;
  background: rgba(39, 33, 26, .42);
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .35s var(--ease);
}
.overlay.is-open { opacity: 1; pointer-events: auto; }

.drawer {
  position: fixed;
  top: 0; right: 0; bottom: 0;
  z-index: 190;
  width: min(430px, 94vw);
  background: var(--paper);
  display: flex;
  flex-direction: column;
  transform: translateX(102%);
  transition: transform .5s var(--ease);
  box-shadow: var(--shadow-pop);
  visibility: hidden;
}
.drawer.is-open { transform: translateX(0); visibility: visible; }

.drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
  border-bottom: 1px solid var(--line);
}
.drawer__title { font-family: var(--font-display); font-size: 1.25rem; font-weight: 600; }
.drawer__sub { font-size: 13px; color: var(--muted); }
.drawer__body { flex: 1; overflow-y: auto; overscroll-behavior: contain; }
.drawer__foot { padding: 18px 22px; border-top: 1px solid var(--line); background: var(--card); }

.drawer-close {
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--ink-2);
  transition: border-color .2s, color .2s, transform .15s;
}
.drawer-close:hover { border-color: var(--accent); color: var(--accent-ink); }
.drawer-close:active { transform: scale(.92); }

/* Mobile menu drawer */
.menu-drawer { padding: 8px 0 32px; }
.menu-drawer__nav { display: flex; flex-direction: column; padding: 10px 22px; }
.menu-drawer__link {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  font-family: var(--font-display);
  font-size: 1.55rem;
  color: var(--ink);
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .4s var(--ease), transform .5s var(--ease), color .2s;
  transition-delay: calc(var(--i, 0) * 45ms);
}
.menu-drawer__link .menu-drawer__index { font-family: var(--font-ui); font-size: 11px; color: var(--muted); letter-spacing: .12em; }
.menu-drawer__link:hover { color: var(--accent-ink); }
.menu-drawer.is-open .menu-drawer__link { opacity: 1; transform: translateY(0); }
.menu-drawer__meta { padding: 26px 22px 0; }
.menu-drawer__meta address { font-size: 13.5px; color: var(--muted); line-height: 1.8; }

/* Cart drawer */
.cart-drawer__items { padding: 10px 22px; }
.cart-item {
  display: grid;
  grid-template-columns: 64px 1fr auto;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.cart-item:last-child { border-bottom: 0; }
.cart-item__thumb {
  width: 64px; height: 64px;
  border-radius: var(--r-sm);
  object-fit: cover;
}
.cart-item__name { font-weight: 600; font-size: 14.5px; line-height: 1.35; }
.cart-item__opts { font-size: 12.5px; color: var(--muted); line-height: 1.5; margin-top: 3px; }
.cart-item__price { font-weight: 600; font-size: 14px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.cart-item__price .price--poa { font-size: 10.5px; display: block; margin-top: 4px; }
.cart-item__side { display: flex; flex-direction: column; align-items: flex-end; justify-content: space-between; gap: 8px; }
.cart-item__remove {
  font-size: 12px;
  color: var(--muted);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color .2s;
}
.cart-item__remove:hover { color: var(--err); }

.cart-drawer__empty { padding: 56px 30px; text-align: center; }
.cart-drawer__empty svg { margin: 0 auto 18px; color: var(--line-strong); }
.cart-drawer__empty p { color: var(--muted); font-size: 14px; }

.drawer-summary { display: grid; gap: 12px; }
.drawer-summary__row { display: flex; justify-content: space-between; align-items: baseline; font-size: 14.5px; color: var(--ink-2); }
.drawer-summary__total { font-weight: 600; color: var(--ink); font-size: 15.5px; }
.drawer-summary__total b { font-family: var(--font-display); font-size: 1.3rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.drawer-summary__note { font-size: 12.5px; color: var(--muted); line-height: 1.55; }

/* ---------- 10. Quantity stepper ---------- */
.qty {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: var(--card);
  overflow: hidden;
}
.qty__btn {
  width: 34px; height: 34px;
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--ink-2);
  transition: color .2s, background-color .2s;
}
.qty__btn:hover { color: var(--accent-ink); background: var(--accent-soft); }
.qty__btn:active { transform: scale(.92); }
.qty__val {
  min-width: 26px;
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.qty--sm .qty__btn { width: 30px; height: 30px; }
.qty--sm .qty__val { min-width: 22px; font-size: 13px; }

/* ---------- 11. Add-to-cart button state ---------- */
.add-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 20px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--paper);
  font-size: 14px;
  font-weight: 600;
  transition: background-color .2s var(--ease), transform .15s var(--ease), color .2s;
}
.add-btn:hover { background: var(--accent-deep); }
.add-btn:active { transform: scale(.96); }
.add-btn .qty { display: none; }
.add-btn.is-added { background: var(--accent-deep); }
.add-btn.is-added .add-btn__label { display: none; }
.add-btn.is-added .qty { display: inline-flex; border-color: rgba(255, 249, 243, .35); background: transparent; }
.add-btn.is-added .qty__btn { color: #FFF9F3; width: 30px; }
.add-btn.is-added .qty__btn:hover { background: rgba(255, 249, 243, .14); color: #FFF9F3; }
.add-btn.is-added .qty__val { color: #FFF9F3; min-width: 22px; }
.add-btn.is-added .qty__btn:active { transform: scale(.9); }

/* ---------- 12. Section headers ---------- */
.section-head { margin-bottom: clamp(36px, 5vw, 60px); }
.section-head__row {
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
  justify-content: space-between;
}
.section-head__title { margin-top: 14px; }
.section-head .lead { margin-top: 16px; }
.section-head--center { text-align: center; }
.section-head--center .lead { margin-inline: auto; }
.section-head--center .thread { margin-inline: auto; }
.section-head--center .eyebrow { justify-content: center; }

/* ---------- 13. Product card (menu) ---------- */
.p-card {
  display: flex;
  flex-direction: column;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: box-shadow .3s var(--ease), transform .3s var(--ease), border-color .3s;
}
.p-card:hover { box-shadow: var(--shadow-card); border-color: var(--line-strong); transform: translateY(-3px); }
.p-card__media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--paper-2);
}
.p-card__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .7s var(--ease-2);
}
.p-card:hover .p-card__media img { transform: scale(1.045); }
.p-card__badge {
  position: absolute;
  top: 12px; left: 12px;
  background: rgba(255, 253, 249, .92);
  color: var(--accent-ink);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 5px 11px;
  border-radius: 999px;
}
.p-card__body {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 16px 18px 18px;
  flex: 1;
}
.p-card__name { font-size: 1.05rem; }
.p-card__desc {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.p-card__foot {
  margin-top: auto;
  padding-top: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

/* ---------- 14. Cake card (shop) ---------- */
.c-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: box-shadow .3s var(--ease), transform .3s var(--ease), border-color .3s;
}
.c-card:hover { box-shadow: var(--shadow-card); border-color: var(--line-strong); transform: translateY(-3px); }
.c-card__media { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--paper-2); }
.c-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease-2); }
.c-card:hover .c-card__media img { transform: scale(1.05); }
.c-card__size {
  position: absolute;
  bottom: 12px; left: 12px;
  background: rgba(39, 33, 26, .78);
  color: var(--ink-text);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 999px;
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}
.c-card__qv {
  position: absolute;
  top: 12px; right: 12px;
  z-index: 2;
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(255, 253, 249, .92);
  border: 1px solid rgba(39, 33, 26, .12);
  color: var(--ink);
  display: grid;
  place-items: center;
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  transition: color .2s, border-color .2s, transform .15s;
}
.c-card__qv:hover { color: var(--accent-ink); border-color: var(--accent); }
.c-card__qv:active { transform: scale(.92); }

.c-card__body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 3px; flex: 1; }
.c-card__name { font-size: 1.12rem; }
.c-card__meta { font-size: 13px; color: var(--muted); }
.c-card__foot {
  margin-top: auto;
  padding-top: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

/* ---------- 15. Rails / horizontal movement ---------- */
/* Product grids */
.p-grid {
  display: grid;
  gap: clamp(14px, 2vw, 22px);
  grid-template-columns: 1fr 1fr;
}
.c-grid {
  display: grid;
  gap: clamp(14px, 2vw, 22px);
  grid-template-columns: 1fr 1fr;
}
.cat-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: 1fr;
}

.rail-viewport {
  overflow-x: auto;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
  -ms-overflow-style: none;
  overscroll-behavior-x: contain;
  padding-inline: max(var(--gutter), calc((100% - var(--container-wide)) / 2));
  cursor: grab;
}
.rail-viewport::-webkit-scrollbar { display: none; }
.rail-viewport.dragging { cursor: grabbing; scroll-snap-type: none; }
.rail-viewport.dragging * { user-select: none; }

.rail {
  display: flex;
  gap: clamp(14px, 2vw, 22px);
  width: max-content;
  padding-bottom: 8px;
}
.rail > * { scroll-snap-align: start; }

.rail-card { width: clamp(236px, 62vw, 300px); flex: 0 0 auto; }
.rail-card--cake { width: clamp(250px, 66vw, 330px); }

.rail-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 28px;
}
.rail-nav { display: flex; gap: 8px; }
.rail-arrow {
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: var(--card);
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--ink);
  transition: border-color .2s, color .2s, background-color .2s, transform .15s;
}
.rail-arrow:hover:not(:disabled) { border-color: var(--accent); color: var(--accent-ink); }
.rail-arrow:active:not(:disabled) { transform: scale(.93); }
.rail-arrow:disabled { opacity: .35; cursor: default; }
.section--ink .rail-arrow { border-color: var(--ink-line); background: transparent; color: var(--ink-text); }

/* ---------- 16. Testimonials carousel ---------- */
.t-viewport {
  overflow-x: auto;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
  overscroll-behavior-x: contain;
  cursor: grab;
  padding: 30px max(var(--gutter), calc((100% - var(--container-wide)) / 2)) 60px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}
.t-viewport::-webkit-scrollbar { display: none; }
.t-viewport.dragging { cursor: grabbing; scroll-snap-type: none; }
.t-viewport.dragging * { user-select: none; }
.t-track { display: flex; gap: clamp(14px, 2.4vw, 26px); width: max-content; align-items: center; }

.t-card {
  width: clamp(290px, 82vw, 560px);
  flex: 0 0 auto;
  scroll-snap-align: center;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(26px, 4vw, 44px);
  opacity: .42;
  transform: scale(.94);
  transition: opacity .45s var(--ease), transform .55s var(--ease), box-shadow .45s var(--ease), border-color .45s;
}
.t-card.is-current {
  opacity: 1;
  transform: scale(1);
  box-shadow: var(--shadow-card);
  border-color: var(--line-strong);
}
.t-card__quote {
  font-family: var(--font-display);
  font-size: clamp(1.08rem, 2vw, 1.32rem);
  line-height: 1.55;
  color: var(--ink);
}
.t-card__quote::before { content: "\201C"; color: var(--accent); margin-right: 2px; }
.t-card__quote::after { content: "\201D"; color: var(--accent); margin-left: 2px; }
.t-card__person { display: flex; align-items: center; gap: 14px; margin-top: 26px; }
.t-card__avatar {
  width: 50px; height: 50px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--accent-soft);
}
.t-card__name { font-weight: 600; font-size: 14.5px; }
.t-card__meta { font-size: 12.5px; color: var(--muted); }
.t-stars { display: inline-flex; gap: 3px; color: var(--accent); margin-top: 6px; }
.t-stars svg { width: 14px; height: 14px; }

/* ---------- 17. Toasts ---------- */
.toasts {
  position: fixed;
  left: 50%;
  bottom: 22px;
  transform: translateX(-50%);
  z-index: 240;
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: min(420px, calc(100vw - 32px));
  pointer-events: none;
}
.toast {
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--ink);
  color: var(--ink-text);
  border-radius: var(--r-sm);
  padding: 13px 16px;
  box-shadow: var(--shadow-pop);
  font-size: 14px;
  opacity: 0;
  transform: translateY(12px) scale(.98);
  transition: opacity .35s var(--ease), transform .45s var(--ease);
}
.toast.is-in { opacity: 1; transform: translateY(0) scale(1); }
.toast__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); flex: 0 0 auto; }
.toast--ok .toast__dot { background: var(--ok); }
.toast--err .toast__dot { background: var(--err); }
.toast__action {
  margin-left: auto;
  color: var(--toast);
  font-weight: 600;
  font-size: 13px;
  text-decoration: none;
  border-bottom: 1px solid rgba(239, 229, 214, .5);
  padding-bottom: 1px;
}
.toast__action:hover { color: #FFF9F3; }

/* ---------- 18. Modal ---------- */
.modal {
  position: fixed; inset: 0;
  z-index: 220;
  display: grid;
  place-items: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s var(--ease);
}
.modal.is-open { opacity: 1; pointer-events: auto; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(39, 33, 26, .5); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.modal__card {
  position: relative;
  width: min(960px, 100%);
  max-height: min(86vh, 760px);
  background: var(--paper);
  border-radius: var(--r-lg);
  overflow: auto;
  box-shadow: var(--shadow-pop);
  transform: translateY(18px) scale(.985);
  transition: transform .4s var(--ease);
}
.modal.is-open .modal__card { transform: translateY(0) scale(1); }
.modal__close {
  position: absolute;
  top: 14px; right: 14px;
  z-index: 2;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(255, 253, 249, .92);
  border: 1px solid var(--line-strong);
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--ink-2);
}
.modal__close:hover { color: var(--accent-ink); border-color: var(--accent); }

/* ---------- 19. Forms ---------- */
.field { display: grid; gap: 7px; }
.field__label {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-2);
  letter-spacing: .01em;
}
.field__label .req { color: var(--accent); }
.field__hint { font-size: 12.5px; color: var(--muted); line-height: 1.5; }
.field__error {
  display: none;
  font-size: 12.5px;
  color: var(--err);
  font-weight: 500;
}
.field.is-invalid .field__error { display: block; }

.field__input, .field__select, .field__textarea {
  width: 100%;
  min-height: 48px;
  padding: 0 15px;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-sm);
  background: var(--card);
  color: var(--ink);
  font-size: 15px;
  transition: border-color .2s, box-shadow .2s, background-color .2s;
  appearance: none;
}
.field__textarea { min-height: 120px; padding: 13px 15px; resize: vertical; line-height: 1.6; }
.field__input::placeholder, .field__textarea::placeholder { color: #A99B8A; }
.field__input:hover, .field__select:hover, .field__textarea:hover { border-color: var(--line-strong); }
.field__input:focus, .field__select:focus, .field__textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: var(--ring);
}
.field.is-invalid .field__input,
.field.is-invalid .field__select,
.field.is-invalid .field__textarea {
  border-color: var(--err);
  background: var(--err-soft);
}
.field.is-invalid .field__input:focus { box-shadow: 0 0 0 3px rgba(162, 67, 46, .22); }

.field--select { position: relative; }
.field--select::after {
  content: "";
  position: absolute;
  right: 18px; bottom: 20px;
  width: 9px; height: 9px;
  border-right: 2px solid var(--muted);
  border-bottom: 2px solid var(--muted);
  transform: rotate(45deg) translate(2px, -2px);
  pointer-events: none;
}

.form-grid { display: grid; gap: 20px; }
.form-grid--2 { gap: 18px; }

.form-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(22px, 3.4vw, 34px);
}
.form-card__head { display: flex; align-items: baseline; gap: 14px; margin-bottom: 22px; }
.form-card__num {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--accent);
  font-size: 1.05rem;
}
.form-card__title { font-size: 1.18rem; }

/* Radio option cards */
.opt-grid { display: grid; gap: 12px; }
.opt {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-sm);
  background: var(--card);
  padding: 15px 16px;
  cursor: pointer;
  transition: border-color .2s, background-color .2s, transform .15s;
}
.opt:hover { border-color: var(--accent); }
.opt:active { transform: scale(.99); }
.opt input {
  position: absolute;
  opacity: 0;
  width: 1px; height: 1px;
}
.opt:has(input:focus-visible) { outline: 2px solid var(--accent); outline-offset: 2px; }
.opt__dot {
  width: 20px; height: 20px;
  border-radius: 50%;
  border: 1.5px solid var(--line-strong);
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  transition: border-color .2s, background-color .2s;
}
.opt__dot::after {
  content: "";
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--accent);
  transform: scale(0);
  transition: transform .22s var(--ease);
}
.opt__label { flex: 1; font-size: 14.5px; font-weight: 500; color: var(--ink-2); }
.opt__note { font-size: 12.5px; color: var(--muted); font-weight: 400; display: block; }
.opt:has(input:checked) {
  border-color: var(--accent);
  background: var(--accent-soft);
}
.opt:has(input:checked) .opt__dot { border-color: var(--accent); }
.opt:has(input:checked) .opt__dot::after { transform: scale(1); }
.opt:has(input:checked) .opt__label { color: var(--ink); }

/* Colour chips */
.swatch-grid { display: flex; flex-wrap: wrap; gap: 14px; }
.swatch {
  position: relative;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--ink-2);
}
.swatch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.swatch__chip {
  width: 46px; height: 46px;
  border-radius: 50%;
  border: 2px solid #fff;
  box-shadow: 0 0 0 1.5px var(--line-strong), 0 3px 8px rgba(39, 33, 26, .12);
  display: grid;
  place-items: center;
  transition: box-shadow .2s, transform .2s;
}
.swatch__chip svg { color: #fff; opacity: 0; transform: scale(.5); transition: opacity .2s, transform .25s var(--ease); }
.swatch:hover .swatch__chip { transform: translateY(-2px); }
.swatch:has(input:focus-visible) .swatch__chip { outline: 2px solid var(--accent); outline-offset: 3px; }
.swatch:has(input:checked) .swatch__chip { box-shadow: 0 0 0 2px var(--accent), 0 3px 8px rgba(39, 33, 26, .12); }
.swatch:has(input:checked) .swatch__chip svg { opacity: 1; transform: scale(1); }
.swatch:has(input:checked) { color: var(--accent-ink); font-weight: 600; }

/* Upload */
.upload {
  position: relative;
  display: grid;
  place-items: center;
  gap: 10px;
  text-align: center;
  border: 1.5px dashed var(--line-strong);
  border-radius: var(--r-md);
  background: var(--paper);
  padding: 34px 20px;
  cursor: pointer;
  transition: border-color .2s, background-color .2s;
}
.upload:hover { border-color: var(--accent); background: var(--accent-soft); }
.upload input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.upload:has(input:focus-visible) { outline: 2px solid var(--accent); outline-offset: 2px; }
.upload__icon { color: var(--accent); }
.upload__title { font-weight: 600; font-size: 14.5px; }
.upload__hint { font-size: 12.5px; color: var(--muted); }
.upload.has-file { padding: 12px; display: flex; flex-direction: row; gap: 16px; text-align: left; align-items: center; }
.upload.has-file .upload__icon, .upload.has-file .upload__hint { display: none; }
.upload__preview { display: none; width: 72px; height: 72px; border-radius: var(--r-sm); object-fit: cover; border: 1px solid var(--line); }
.upload.has-file .upload__preview { display: block; }
.upload__file { font-size: 13px; font-weight: 600; word-break: break-word; }

/* ---------- 20. Notices ---------- */
.notice {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  border-radius: var(--r-sm);
  border: 1px solid;
  padding: 14px 16px;
  font-size: 13.5px;
  line-height: 1.55;
}
.notice svg { flex: 0 0 auto; margin-top: 2px; }
.notice--info { background: var(--accent-soft); border-color: #E3CDB8; color: var(--accent-ink); }
.notice--ok { background: var(--ok-soft); border-color: #CFDECF; color: var(--ok); }
.notice--err { background: var(--err-soft); border-color: #ECC9BF; color: var(--err); }
.notice--ink { background: rgba(255, 253, 249, .06); border-color: var(--ink-line); color: var(--ink-muted); }
.notice b { font-weight: 600; }
.notice + .notice { margin-top: 12px; }

/* ---------- 21. Page heads (inner pages) ---------- */
.page-head {
  padding-top: calc(var(--header-h) + clamp(40px, 7vw, 88px));
  padding-bottom: clamp(40px, 6vw, 80px);
}
.page-head__title { margin-top: 14px; max-width: 20ch; }
.page-head .lead { margin-top: 18px; }
.page-head__chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.page-head--split .page-head__media { margin-top: 36px; }
.page-head--center { text-align: center; }
.page-head--center .page-head__title, .page-head--center .lead { margin-inline: auto; }
.page-head--center .eyebrow { justify-content: center; }
.page-head--center .page-head__chips { justify-content: center; }

.head-collage { display: grid; grid-template-columns: 1.2fr .8fr; gap: 12px; }
.head-collage__img {
  border-radius: var(--r-md);
  object-fit: cover;
  width: 100%;
}
.head-collage__img--tall { aspect-ratio: 4 / 5; }
.head-collage__img--wide { aspect-ratio: 4 / 3; }
.head-collage__stack { display: grid; gap: 12px; }

/* ---------- 22. Home — hero ---------- */
.hero {
  position: relative;
  min-height: max(620px, 94svh);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--paper);
}
.hero__media {
  position: absolute;
  inset: 0;
}
.hero__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 68% 50%;
  animation: hero-settle 2.6s var(--ease-2) both;
}
@keyframes hero-settle {
  from { transform: scale(1.06); }
  to { transform: scale(1); }
}
.hero__media::after {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(251, 247, 241, .85) 0%, rgba(251, 247, 241, .1) 26%, rgba(251, 247, 241, .28) 100%),
    linear-gradient(90deg, rgba(251, 247, 241, .96) 0%, rgba(251, 247, 241, .9) 30%, rgba(251, 247, 241, .45) 62%, rgba(251, 247, 241, .08) 100%);
}
.hero__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  padding-top: var(--header-h);
  padding-bottom: clamp(40px, 7vw, 88px);
}
.hero__content { max-width: 640px; }
.hero__title { margin-top: 20px; }
.hero__lead { margin-top: 22px; font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: var(--ink-2); max-width: 46ch; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 26px;
  margin-top: clamp(36px, 6vw, 64px);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--ink-2);
}
.hero__meta span { display: inline-flex; align-items: center; gap: 9px; }
.hero__meta span::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); }

/* Hero entrance */
[data-hero] { opacity: 0; transform: translateY(26px); }
body.is-loaded [data-hero] {
  animation: hero-in .9s var(--ease-2) forwards;
  animation-delay: calc(var(--d, 0) * 110ms);
}
@keyframes hero-in { to { opacity: 1; transform: none; } }

/* Marquee strip */
.marquee {
  position: relative;
  z-index: 3;
  background: var(--ink-bg);
  color: var(--ink-text);
  overflow: hidden;
  border-top: 1px solid var(--ink-line);
}
.marquee__track {
  display: flex;
  width: max-content;
  animation: marquee 30s linear infinite;
}
.marquee__group {
  display: flex;
  align-items: center;
  gap: 0;
  padding: 13px 0;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  white-space: nowrap;
}
.marquee__group span { padding-inline: 22px; }
.marquee__group .dot { color: var(--accent); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- 23. Home — about composition ---------- */
.about-comp { display: grid; gap: clamp(36px, 6vw, 72px); }
.about-comp__statement {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3.6vw, 2.5rem);
  line-height: 1.3;
  color: var(--ink);
  max-width: 26ch;
}
.about-comp__copy { margin-top: 26px; color: var(--ink-2); max-width: 58ch; }
.about-comp__copy p + p { margin-top: 14px; }

.fact-list { margin-top: clamp(30px, 4.5vw, 46px); border-top: 1px solid var(--line); }
.fact-list__row {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 10px;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
  align-items: baseline;
}
.fact-list__num { font-family: var(--font-display); font-style: italic; color: var(--accent); font-size: .95rem; }
.fact-list__label { font-weight: 600; font-size: 14.5px; }
.fact-list__note { font-size: 13px; color: var(--muted); }

.about-comp__media { position: relative; }
.about-comp__img {
  width: 100%;
  border-radius: var(--r-md);
  object-fit: cover;
}
.about-comp__img--main { aspect-ratio: 4 / 5; }
.about-comp__img--float {
  position: absolute;
  left: clamp(-18px, -4vw, -44px);
  bottom: clamp(-26px, -5vw, -56px);
  width: min(46%, 240px);
  aspect-ratio: 1 / 1;
  border-radius: var(--r-md);
  object-fit: cover;
  border: 6px solid var(--paper);
  box-shadow: var(--shadow-pop);
}
.about-comp__caption {
  position: absolute;
  top: clamp(-20px, -3vw, -30px);
  right: clamp(8px, 3vw, 36px);
  background: var(--ink);
  color: var(--ink-text);
  border-radius: var(--r-sm);
  padding: 10px 16px;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  box-shadow: var(--shadow-pop);
}

/* ---------- 24. Home — explore tiles ---------- */
.explore-grid {
  display: grid;
  gap: clamp(14px, 2vw, 22px);
}
.explore-tile {
  position: relative;
  display: flex;
  align-items: flex-end;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--ink);
  text-decoration: none;
  color: var(--ink-text);
  isolation: isolate;
}
.explore-tile__media { position: absolute; inset: 0; z-index: -1; }
.explore-tile__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .9s var(--ease-2);
}
.explore-tile:hover .explore-tile__media img { transform: scale(1.05); }
.explore-tile::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(39, 33, 26, .05) 30%, rgba(39, 33, 26, .62) 100%);
}
.explore-tile__index {
  position: absolute;
  top: 18px; left: 20px;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1rem;
  color: var(--ink-text);
  opacity: .9;
}
.explore-tile__body { position: relative; z-index: 1; padding: clamp(18px, 2.6vw, 30px); width: 100%; }
.explore-tile__title {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.6vw, 1.9rem);
  font-weight: 500;
}
.explore-tile__desc {
  margin-top: 7px;
  font-size: 13.5px;
  line-height: 1.55;
  color: rgba(243, 235, 223, .85);
  max-width: 46ch;
}
.explore-tile__go {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--ink-text);
}
.explore-tile__go svg { transition: transform .3s var(--ease); }
.explore-tile:hover .explore-tile__go svg { transform: translateX(5px); }
.explore-tile__go::after {
  content: "";
  display: block;
  width: 26px; height: 1.5px;
  background: var(--accent);
}
.explore-tile--feature { min-height: clamp(300px, 44vw, 460px); }
.explore-tile--tall { min-height: clamp(280px, 36vw, 400px); }
.explore-tile--mid { min-height: clamp(240px, 30vw, 340px); }
.explore-tile--wide { min-height: clamp(200px, 24vw, 260px); }

/* ---------- 25. Home — custom cakes band ---------- */
.custom-band { display: grid; gap: clamp(36px, 6vw, 72px); align-items: center; }
.custom-band__steps { margin-top: clamp(30px, 4.5vw, 48px); border-top: 1px solid var(--ink-line); }
.custom-band__step {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 12px;
  padding: 18px 0;
  border-bottom: 1px solid var(--ink-line);
}
.custom-band__step-num { font-family: var(--font-display); font-style: italic; color: var(--accent); font-size: 1.05rem; }
.custom-band__step-title { font-weight: 600; font-size: 15.5px; color: var(--ink-text); }
.custom-band__step-note { font-size: 13.5px; color: var(--ink-muted); margin-top: 3px; }
.custom-band__cta { margin-top: 34px; }
.custom-band__media { position: relative; }
.custom-band__img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--r-md); }
.custom-band__tag {
  position: absolute;
  left: 16px; bottom: 16px;
  background: var(--paper);
  color: var(--ink);
  border-radius: var(--r-sm);
  padding: 10px 16px;
  font-size: 12.5px;
  font-weight: 600;
  box-shadow: var(--shadow-pop);
  display: flex;
  align-items: center;
  gap: 9px;
}
.custom-band__tag::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }

/* ---------- 26. Home — behind the scenes ---------- */
.bts { position: relative; }
.bts__main {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: var(--r-md);
}
.bts__float {
  position: relative;
  width: min(62%, 420px);
  margin: -72px 0 0 auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--r-md);
  border: 7px solid var(--paper);
  box-shadow: var(--shadow-pop);
}
.bts__caption {
  position: absolute;
  left: clamp(14px, 3vw, 40px);
  bottom: clamp(-20px, -3vw, -34px);
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 18px 22px;
  max-width: 300px;
  box-shadow: var(--shadow-card);
}
.bts__caption-title { font-family: var(--font-display); font-size: 1.05rem; }
.bts__caption-note { font-size: 13px; color: var(--muted); margin-top: 4px; }

/* ---------- 27. Home — emotional ending ---------- */
.ending {
  position: relative;
  min-height: min(92vh, 860px);
  display: grid;
  place-items: center;
  text-align: center;
  overflow: hidden;
  color: var(--ink-text);
  padding: clamp(90px, 12vw, 160px) 0;
}
.ending__media { position: absolute; inset: 0; }
.ending__media img { width: 100%; height: 100%; object-fit: cover; }
.ending__media::after {
  content: "";
  position: absolute; inset: 0;
  background: rgba(36, 29, 22, .74);
}
.ending__inner { position: relative; z-index: 1; max-width: 780px; padding-inline: var(--gutter); }
.ending__title {
  font-size: clamp(2.1rem, 5.6vw, 3.9rem);
  line-height: 1.1;
  margin-top: 20px;
}
.ending__title .serif-i { color: var(--toast); }
.ending__lines { margin-top: clamp(34px, 5vw, 54px); }
.ending__line {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.02rem, 1.9vw, 1.28rem);
  line-height: 2;
  color: rgba(243, 235, 223, .9);
}
.ending__line--soft { color: rgba(243, 235, 223, .62); font-size: clamp(.95rem, 1.7vw, 1.12rem); }
.ending__line [data-line] { opacity: 0; transform: translateY(14px); transition: opacity .7s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0ms); }
.is-in .ending__line [data-line], .ending__line.is-in [data-line] { opacity: 1; transform: none; }
.ending__thread { margin-top: clamp(30px, 4vw, 44px); }

/* ---------- 28. Final CTA ---------- */
.final-cta { text-align: center; }
.final-cta__title {
  font-size: clamp(2rem, 5vw, 3.2rem);
  max-width: 22ch;
  margin-inline: auto;
}
.final-cta__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 34px; }
.final-cta__note { margin-top: 28px; font-size: 13px; color: var(--muted); }

/* ---------- 29. Toolbar (menu / shop) ---------- */
.toolbar {
  position: sticky;
  top: var(--header-h);
  z-index: 90;
  background: rgba(251, 247, 241, .92);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.toolbar__inner { display: grid; gap: 12px; padding-block: 14px; }
.search {
  position: relative;
  display: flex;
  align-items: center;
}
.search svg {
  position: absolute;
  left: 15px;
  color: var(--muted);
  pointer-events: none;
}
.search input {
  width: 100%;
  min-height: 46px;
  padding: 0 16px 0 44px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: var(--card);
  font-size: 14.5px;
  transition: border-color .2s, box-shadow .2s;
}
.search input:focus { outline: none; border-color: var(--accent); box-shadow: var(--ring); }
.search input::placeholder { color: #A99B8A; }
.toolbar__chips {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  padding-bottom: 2px;
}
.toolbar__chips::-webkit-scrollbar { display: none; }
.sort-wrap { display: flex; align-items: center; gap: 10px; }
.sort-wrap .sort-label { font-size: 12.5px; font-weight: 600; color: var(--muted); letter-spacing: .08em; text-transform: uppercase; }
.sort-select {
  min-height: 42px;
  padding: 0 38px 0 16px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: var(--card);
  font-size: 13.5px;
  font-weight: 500;
  appearance: none;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='7' viewBox='0 0 10 7'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%237E7264' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
}
.sort-select:focus { outline: none; border-color: var(--accent); box-shadow: var(--ring); }

/* ---------- 30. Menu page ---------- */
.menu-cat { scroll-margin-top: calc(var(--header-h) + 140px); }
.menu-cat__head {
  display: flex;
  align-items: baseline;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 24px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}
.menu-cat__title { font-size: 1.5rem; }
.menu-cat__count { font-size: 12.5px; color: var(--muted); letter-spacing: .1em; text-transform: uppercase; }
.menu-cat + .menu-cat { margin-top: clamp(48px, 7vw, 84px); }

.cat-empty {
  border: 1px dashed var(--line-strong);
  border-radius: var(--r-md);
  background: var(--card);
  padding: clamp(30px, 5vw, 48px);
  display: grid;
  gap: 10px;
  max-width: 560px;
}
.cat-empty__title { font-family: var(--font-display); font-size: 1.15rem; }
.cat-empty__note { font-size: 13.5px; color: var(--muted); }

.no-results {
  text-align: center;
  padding: clamp(50px, 8vw, 90px) 0;
  display: grid;
  gap: 12px;
  justify-items: center;
}
.no-results__title { font-size: 1.4rem; }
.no-results__note { color: var(--muted); font-size: 14.5px; }

/* ---------- 31. Shop / cakes page ---------- */
.notice-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 30px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin-top: clamp(30px, 4vw, 46px);
  font-size: 12.5px;
  font-weight: 500;
  color: var(--ink-2);
  letter-spacing: .04em;
  text-transform: uppercase;
}
.notice-strip span { display: inline-flex; align-items: center; gap: 9px; }
.notice-strip span::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); }

/* Quick view */
.qv { display: grid; }
.qv__media { aspect-ratio: 4 / 3; }
.qv__media img { width: 100%; height: 100%; object-fit: cover; }
.qv__body { padding: clamp(22px, 3vw, 32px); display: grid; gap: 14px; align-content: start; }
.qv__title { font-size: 1.5rem; }
.qv__facts { display: grid; gap: 8px; }
.qv__fact { display: flex; justify-content: space-between; gap: 16px; font-size: 13.5px; padding-bottom: 8px; border-bottom: 1px solid var(--line); }
.qv__fact dt { color: var(--muted); }
.qv__fact dd { font-weight: 500; text-align: right; }

/* ---------- 32. Cake detail ---------- */
.pd-grid {
  display: grid;
  gap: clamp(24px, 5vw, 64px);
}
.gallery { display: grid; gap: 12px; }
.gallery__main {
  aspect-ratio: 4 / 4.6;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--paper-2);
}
.gallery__main img { width: 100%; height: 100%; object-fit: cover; animation: fade-swap .35s var(--ease); }
@keyframes fade-swap { from { opacity: .35; } to { opacity: 1; } }
.gallery__thumbs { display: flex; gap: 10px; }
.thumb {
  width: 84px; height: 96px;
  border-radius: var(--r-sm);
  overflow: hidden;
  border: 2px solid transparent;
  cursor: pointer;
  padding: 0;
  transition: border-color .2s, opacity .2s;
  opacity: .75;
}
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb:hover { opacity: 1; }
.thumb.is-active { border-color: var(--accent); opacity: 1; }
.thumb:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.buy-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(22px, 3vw, 30px);
  display: grid;
  gap: 22px;
}
.buy-card__crumb { font-size: 12.5px; color: var(--muted); display: flex; gap: 8px; align-items: center; }
.buy-card__crumb a { color: var(--accent-ink); text-decoration: none; font-weight: 500; }
.buy-card__crumb a:hover { text-decoration: underline; text-underline-offset: 3px; }
.buy-card__title { font-size: clamp(1.6rem, 3vw, 2.1rem); margin-top: 6px; }
.buy-card__price { margin-top: 10px; }
.buy-card__desc { font-size: 14.5px; color: var(--ink-2); line-height: 1.65; }
.option-row { display: grid; gap: 8px; }
.option-row__label { font-size: 12.5px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.option-row__hint { font-size: 12.5px; color: var(--muted); }
.buy-card__actions { display: grid; gap: 12px; }
.buy-card__link { font-size: 13.5px; color: var(--accent-ink); text-align: center; text-decoration: none; font-weight: 500; }
.buy-card__link:hover { text-decoration: underline; text-underline-offset: 3px; }

/* Related */
.related { padding-block: var(--sec-sm); }

/* ---------- 33. Builders (custom cake / catering) ---------- */
.builder { padding-bottom: var(--sec); }
.builder__head { padding-top: calc(var(--header-h) + clamp(36px, 6vw, 72px)); padding-bottom: clamp(28px, 4vw, 48px); }

.progress { display: grid; gap: 12px; margin-bottom: clamp(30px, 5vw, 54px); }
.progress__bar {
  height: 3px;
  background: var(--line);
  border-radius: 3px;
  overflow: hidden;
}
.progress__fill {
  height: 100%;
  width: 0%;
  background: var(--accent);
  border-radius: 3px;
  transition: width .5s var(--ease-2);
}
.step-dots { display: flex; justify-content: space-between; gap: 6px; }
.step-dot {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  width: 34px;
  font-size: 11px;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: .02em;
}
.step-dot__circle {
  width: 30px; height: 30px;
  border-radius: 50%;
  border: 1.5px solid var(--line-strong);
  background: var(--card);
  display: grid;
  place-items: center;
  font-size: 12px;
  transition: border-color .25s, background-color .25s, color .25s;
}
.step-dot__circle svg { width: 13px; height: 13px; }
.step-dot.is-done .step-dot__circle {
  background: var(--accent);
  border-color: var(--accent);
  color: #FFF9F3;
}
.step-dot.is-current { color: var(--accent-ink); }
.step-dot.is-current .step-dot__circle { border-color: var(--accent); box-shadow: var(--ring); }
.step-dot__label { display: none; }

.builder__panel { display: none; }
.builder__panel.is-active { display: block; animation: panel-in .55s var(--ease-2); }
@keyframes panel-in { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

.builder__card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(22px, 3.6vw, 40px);
}
.builder__card-title { font-size: clamp(1.4rem, 3vw, 1.9rem); }
.builder__card-sub { color: var(--muted); font-size: 14.5px; margin-top: 8px; max-width: 60ch; }
.builder__fields { margin-top: clamp(24px, 3.6vw, 36px); display: grid; gap: 26px; }

.opt-grid--2, .opt-grid--3, .opt-grid--4 { gap: 12px; }

.b-nav {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  margin-top: clamp(24px, 3.6vw, 36px);
}

.builder__error {
  display: none;
  margin-top: 18px;
}
.builder__error.is-visible { display: block; }

/* Review */
.review-list { border-top: 1px solid var(--line); }
.review-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 6px;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
}
.review-row dt { font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.review-row dd { font-size: 14.5px; color: var(--ink); line-height: 1.55; }
.review-row dd .muted { font-style: italic; font-size: 13px; }
.review-row__edit {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--accent-ink);
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  padding-bottom: 1px;
  width: max-content;
}
.review-row__edit:hover { color: var(--accent-deep); }

/* Result / success states */
.result {
  text-align: center;
  display: grid;
  justify-items: center;
  gap: 8px;
  padding: clamp(40px, 7vw, 80px) 0;
}
.result__icon {
  width: 76px; height: 76px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent-deep);
  display: grid;
  place-items: center;
  margin-bottom: 10px;
  animation: pop-in .6s var(--ease-2);
}
@keyframes pop-in { 0% { transform: scale(.4); opacity: 0; } 70% { transform: scale(1.06); } 100% { transform: scale(1); opacity: 1; } }
.result__title { font-size: clamp(1.7rem, 4vw, 2.4rem); }
.result__ref {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
  padding: 10px 20px;
  border: 1.5px dashed var(--line-strong);
  border-radius: var(--r-sm);
  font-family: var(--font-display);
  font-size: 1.1rem;
  letter-spacing: .06em;
}
.result__note { max-width: 52ch; color: var(--ink-2); font-size: 14.5px; margin-top: 10px; }
.result__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 28px; }

/* Catering journey */
.journey {
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: clamp(30px, 5vw, 54px);
}
.journey__step {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
}
.journey__num {
  width: 30px; height: 30px;
  border-radius: 50%;
  border: 1.5px solid var(--line-strong);
  display: grid;
  place-items: center;
  background: var(--card);
  font-size: 12.5px;
  transition: border-color .25s, background-color .25s, color .25s;
}
.journey__step.is-active { color: var(--accent-ink); }
.journey__step.is-active .journey__num { background: var(--accent); border-color: var(--accent); color: #FFF9F3; }
.journey__arrow { color: var(--line-strong); }

.cat-tabs { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding-bottom: 4px; }
.cat-tabs::-webkit-scrollbar { display: none; }

.cat-item {
  display: grid;
  grid-template-columns: 72px 1fr auto;
  gap: 16px;
  align-items: center;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 14px;
  transition: border-color .2s, box-shadow .25s;
}
.cat-item:hover { border-color: var(--line-strong); box-shadow: var(--shadow-card); }
.cat-item.is-selected { border-color: var(--accent); }
.cat-item__img { width: 72px; height: 72px; border-radius: var(--r-sm); object-fit: cover; }
.cat-item__name { font-weight: 600; font-size: 14.5px; line-height: 1.35; }
.cat-item__desc { font-size: 12.5px; color: var(--muted); margin-top: 3px; line-height: 1.5; }
.cat-item__qty { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.cat-item__tag { font-size: 10.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--accent-ink); }

.summary-bar {
  position: fixed;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%) translateY(140%);
  z-index: 100;
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--ink);
  color: var(--ink-text);
  border-radius: 999px;
  padding: 10px 12px 10px 22px;
  box-shadow: var(--shadow-pop);
  transition: transform .5s var(--ease);
}
.summary-bar.is-visible { transform: translateX(-50%) translateY(0); }
.summary-bar__label { font-size: 13.5px; font-weight: 600; }
.summary-bar__label small { display: block; font-size: 11.5px; color: var(--ink-muted); font-weight: 400; }
.summary-bar .btn { min-height: 40px; padding: 0 18px; font-size: 13px; background: var(--accent); color: #FFF9F3; }
.summary-bar .btn:hover { background: var(--accent-deep); }

/* Cart FAB (menu / shop pages) */
.cart-fab {
  position: fixed;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%) translateY(140%);
  z-index: 100;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--accent-deep);
  color: #FFF9F3;
  border-radius: 999px;
  padding: 13px 24px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 14px 34px -12px rgba(138, 87, 52, .6);
  transition: transform .5s var(--ease), background-color .2s;
}
.cart-fab.is-visible { transform: translateX(-50%) translateY(0); }
.cart-fab:hover { background: var(--accent-ink); }
.cart-fab__count {
  min-width: 21px; height: 21px;
  border-radius: 999px;
  background: rgba(255, 249, 243, .2);
  font-size: 11.5px;
  font-weight: 700;
  display: grid;
  place-items: center;
  padding-inline: 6px;
}

/* ---------- 34. Cart page ---------- */
.cart-layout { display: grid; gap: clamp(30px, 4vw, 48px); align-items: start; }
.cart-list { display: grid; gap: 16px; }
.cart-row {
  display: grid;
  grid-template-columns: 88px 1fr auto;
  gap: 18px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 16px;
  align-items: center;
}
.cart-row__img { width: 88px; height: 88px; border-radius: var(--r-sm); object-fit: cover; }
.cart-row__name { font-weight: 600; font-size: 15px; line-height: 1.4; }
.cart-row__opts { font-size: 12.5px; color: var(--muted); margin-top: 4px; line-height: 1.55; }
.cart-row__side { display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.cart-row__price { font-weight: 600; font-size: 15px; font-variant-numeric: tabular-nums; }
.cart-row__price .price--poa { font-size: 10.5px; display: block; margin-top: 2px; }

.order-summary {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(22px, 3vw, 30px);
  display: grid;
  gap: 14px;
  position: sticky;
  top: calc(var(--header-h) + 20px);
}
.order-summary__title { font-size: 1.2rem; }
.summary-row { display: flex; justify-content: space-between; gap: 14px; font-size: 14.5px; color: var(--ink-2); padding-top: 12px; border-top: 1px solid var(--line); }
.summary-row b { font-variant-numeric: tabular-nums; }
.summary-row--total { font-size: 15.5px; font-weight: 600; color: var(--ink); }
.summary-row--total b { font-family: var(--font-display); font-size: 1.35rem; }

.empty-state {
  text-align: center;
  display: grid;
  justify-items: center;
  gap: 10px;
  padding: clamp(48px, 8vw, 96px) 0;
}
.empty-state__art { color: var(--line-strong); margin-bottom: 8px; }
.empty-state__title { font-size: clamp(1.6rem, 3.4vw, 2.2rem); }
.empty-state__note { color: var(--muted); max-width: 44ch; font-size: 14.5px; }
.empty-state__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 18px; }

/* ---------- 35. Checkout ---------- */
.checkout-layout { display: grid; gap: clamp(30px, 4vw, 48px); align-items: start; }
.checkout-form { display: grid; gap: 18px; }
.checkout-aside { display: grid; gap: 16px; }
.radio-cards { display: grid; gap: 12px; }
.order-summary__items { display: grid; gap: 12px; }
.summary-item { display: flex; gap: 12px; align-items: center; font-size: 13.5px; }
.summary-item__img { width: 48px; height: 48px; border-radius: var(--r-sm); object-fit: cover; flex: 0 0 auto; }
.summary-item__name { font-weight: 500; line-height: 1.4; }
.summary-item__qty { color: var(--muted); font-size: 12px; }
.summary-item__price { margin-left: auto; font-weight: 600; white-space: nowrap; font-variant-numeric: tabular-nums; }

/* ---------- 36. Confirmation ---------- */
.confirm {
  max-width: 760px;
  margin-inline: auto;
  padding-block: clamp(48px, 8vw, 100px);
}
.confirm__summary {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(22px, 3vw, 32px);
  margin-top: 30px;
  display: grid;
  gap: 14px;
  text-align: left;
}
.confirm__next {
  margin-top: 30px;
  display: grid;
  gap: 12px;
  text-align: left;
  counter-reset: next;
}
.confirm__next li {
  display: grid;
  grid-template-columns: 30px 1fr;
  gap: 12px;
  align-items: start;
  font-size: 14.5px;
  color: var(--ink-2);
}
.confirm__next li::before {
  counter-increment: next;
  content: counter(next);
  width: 26px; height: 26px;
  border-radius: 50%;
  border: 1.5px solid var(--accent);
  color: var(--accent-ink);
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 600;
}

/* ---------- 37. Contact ---------- */
.contact-layout { display: grid; gap: clamp(30px, 4vw, 48px); align-items: start; }
.contact-info { display: grid; gap: 16px; }
.info-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(22px, 3vw, 30px);
  display: grid;
  gap: 4px;
}
.info-card__title { font-size: 1.1rem; margin-bottom: 10px; }
.info-row {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 12px;
  align-items: start;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.info-row:last-child { border-bottom: 0; padding-bottom: 0; }
.info-row:first-of-type { padding-top: 0; }
.info-row__icon {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent-deep);
  display: grid;
  place-items: center;
}
.info-row__label { font-size: 11.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.info-row__value { font-size: 14.5px; font-weight: 500; margin-top: 2px; line-height: 1.5; }
.info-row__value a { color: var(--accent-ink); text-decoration: none; border-bottom: 1px solid rgba(171, 111, 72, .35); padding-bottom: 1px; }
.info-row__value a:hover { color: var(--accent-deep); }

.hours { width: 100%; border-collapse: collapse; font-size: 14px; }
.hours th, .hours td { padding: 10px 0; border-bottom: 1px solid var(--line); text-align: left; font-weight: 400; }
.hours th { color: var(--muted); font-weight: 500; width: 52%; }
.hours td { text-align: right; font-weight: 500; font-variant-numeric: tabular-nums; }
.hours .is-closed { color: var(--muted); font-style: italic; font-weight: 400; }
.hours tr:last-child th, .hours tr:last-child td { border-bottom: 0; }

.map-frame {
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--paper-2);
  min-height: 300px;
  position: relative;
}
.map-frame iframe { width: 100%; height: 100%; min-height: 300px; border: 0; display: block; }

/* ---------- 38. About ---------- */
.stat-band {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.stat {
  padding: clamp(22px, 3vw, 32px) 0;
  display: grid;
  gap: 6px;
  border-bottom: 1px solid var(--line);
}
.stat:last-child { border-bottom: 0; }
.stat__value {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3.4vw, 2.3rem);
  color: var(--accent-ink);
}
.stat__value .serif-i { color: var(--accent); }
.stat__label { font-size: 13px; color: var(--muted); }

.pull-quote {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3.8vw, 2.6rem);
  line-height: 1.32;
  max-width: 30ch;
  color: var(--ink);
}
.pull-quote .serif-i { color: var(--accent); }

.story-copy { max-width: 60ch; }
.story-copy p + p { margin-top: 16px; }
.story-copy .dropcap::first-letter {
  font-family: var(--font-display);
  font-size: 3.4em;
  line-height: .8;
  float: left;
  padding: 6px 10px 0 0;
  color: var(--accent);
}

.num-rows { border-top: 1px solid var(--line); counter-reset: nrows; }
.num-row {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 14px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
}
.num-row__num {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.4rem;
  color: var(--accent);
}
.num-row__title { font-family: var(--font-display); font-size: 1.15rem; }
.num-row__note { font-size: 14px; color: var(--ink-2); margin-top: 6px; max-width: 54ch; }

.band-media { display: grid; gap: 14px; }
.band-media img { width: 100%; object-fit: cover; border-radius: var(--r-md); }

/* ---------- 39. Footer ---------- */
.site-footer {
  background: var(--ink-bg-2);
  color: var(--ink-text);
  margin-top: 0;
}
.site-footer__thread {
  height: 3px;
  background: linear-gradient(90deg, var(--accent) 0 34%, var(--toast) 34% 38%, var(--accent) 38% 72%, var(--toast) 72% 76%, var(--accent) 76% 100%);
}
.site-footer__main {
  padding-block: clamp(48px, 7vw, 84px) clamp(36px, 5vw, 60px);
  display: grid;
  gap: clamp(36px, 5vw, 64px);
}
.footer-brand__mark { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink-text); }
.footer-brand__mark svg { width: 30px; height: 30px; }
.footer-brand__word { font-family: var(--font-display); font-weight: 600; font-size: 1.15rem; }
.footer-brand__blurb { margin-top: 18px; font-size: 13.5px; color: var(--ink-muted); max-width: 34ch; line-height: 1.7; }
.footer-brand__est { margin-top: 16px; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--toast); opacity: .8; }

.footer-col { display: grid; align-content: start; }
.footer-col__title {
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--toast);
  margin-bottom: 18px;
}
.footer-links { display: grid; gap: 10px; }
.footer-links a {
  color: var(--ink-muted);
  text-decoration: none;
  font-size: 14px;
  transition: color .2s;
  width: max-content;
}
.footer-links a:hover { color: #FFF9F3; }

.footer-meta { font-size: 13.5px; color: var(--ink-muted); line-height: 1.9; }
.footer-meta a { color: var(--ink-text); text-decoration: none; border-bottom: 1px solid var(--ink-line); padding-bottom: 1px; }
.footer-meta a:hover { color: #FFF9F3; border-color: var(--accent); }

.site-footer__bottom {
  border-top: 1px solid var(--ink-line);
  padding-block: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  justify-content: space-between;
  font-size: 12.5px;
  color: var(--ink-muted);
}
.site-footer__bottom a { color: var(--ink-muted); text-decoration: none; }
.site-footer__bottom a:hover { color: #FFF9F3; }

/* ---------- 40. Reveals & parallax ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .8s var(--ease), transform .9s var(--ease-2);
  transition-delay: calc(var(--d, 0) * 90ms);
}
[data-reveal].is-in { opacity: 1; transform: none; }

.media-reveal { overflow: hidden; }
.media-reveal img {
  transform: scale(1.09);
  transition: transform 1.4s var(--ease-2);
  will-change: transform;
}
.media-reveal.is-in img { transform: scale(1); }

[data-parallax] { will-change: transform; }

/* ---------- 41. Utilities ---------- */
.u-hide { display: none !important; }
.u-mt-0 { margin-top: 0 !important; }
.u-center { text-align: center; }
.u-nowrap { white-space: nowrap; }

/* ---------- 42. Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    transition-delay: 0ms !important;
  }
  [data-hero], [data-reveal], [data-line] { opacity: 1 !important; transform: none !important; }
  .marquee__track { animation: none; }
}
