/* ==========================================================================
   THE CAFÉ COMMISSARY — Design System
   Editorial cream · ink · gold. Fraunces display serif + Inter.
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  --cream:      #F2ECE1;
  --cream-2:    #EAE2D2;
  --cream-3:    #E2D8C4;
  --paper:      #F7F3EA;
  --ink:        #1B1611;
  --ink-2:      #2B241C;
  --ink-soft:   #574A3A;
  --brown:      #6B5138;
  --gold:       #B08528;
  --gold-2:     #C9A45C;
  --line:       rgba(27, 22, 17, 0.14);
  --line-soft:  rgba(27, 22, 17, 0.08);
  --line-cream: rgba(242, 236, 225, 0.18);
  --white:      #FFFDF8;
  --danger:     #A63B2A;
  --ok:         #4A6741;

  --font-serif: "Fraunces", "Playfair Display", Georgia, serif;
  --font-sans:  "Inter", "Helvetica Neue", Arial, sans-serif;

  --ease-out:   cubic-bezier(0.22, 1, 0.36, 1);
  --ease-inout: cubic-bezier(0.65, 0, 0.35, 1);

  --nav-h: 78px;
  --radius: 2px;
  --gutter: clamp(20px, 4.5vw, 72px);
  --section-pad: clamp(84px, 11vw, 160px);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: auto; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
ul, ol { list-style: none; }
::selection { background: var(--gold); color: var(--cream); }

/* ---------- Paper grain overlay ---------- */
.grain {
  position: fixed; inset: -50%;
  width: 200%; height: 200%;
  pointer-events: none;
  z-index: 9998;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain-shift 0.9s steps(2) infinite;
}
@keyframes grain-shift {
  0% { transform: translate(0, 0); }
  50% { transform: translate(1.5%, -1%); }
  100% { transform: translate(-1%, 1.5%); }
}

/* ---------- Preloader ---------- */
.preloader {
  position: fixed; inset: 0;
  z-index: 10000;
  background: var(--ink);
  display: flex; align-items: center; justify-content: center;
  flex-direction: column; gap: 14px;
  transition: opacity 0.6s var(--ease-inout), visibility 0.6s;
}
.preloader.is-done { opacity: 0; visibility: hidden; }
.preloader__mark { overflow: hidden; }
.preloader__mark span {
  display: block;
  font-family: var(--font-serif);
  font-weight: 900;
  font-size: clamp(34px, 6vw, 58px);
  letter-spacing: 0.04em;
  color: var(--cream);
  transform: translateY(110%);
  animation: pre-rise 0.9s 0.15s var(--ease-out) forwards;
}
.preloader__sub {
  font-size: 10px; letter-spacing: 0.42em; text-transform: uppercase;
  color: var(--gold-2);
  opacity: 0;
  animation: pre-fade 0.8s 0.7s forwards;
}
.preloader__rule {
  width: 0; height: 1px; background: var(--line-cream);
  animation: pre-rule 1s 0.4s var(--ease-inout) forwards;
}
@keyframes pre-rise { to { transform: translateY(0); } }
@keyframes pre-fade { to { opacity: 1; } }
@keyframes pre-rule { to { width: min(300px, 60vw); } }

/* ---------- Typography helpers ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 14px;
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.34em; text-transform: uppercase;
  color: var(--ink-soft);
}
.eyebrow::before {
  content: ""; width: 34px; height: 1px; background: var(--gold);
}
.eyebrow--center::after {
  content: ""; width: 34px; height: 1px; background: var(--gold);
}

.display {
  font-family: var(--font-serif);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.display em, .italic-gold {
  font-style: italic;
  font-weight: 500;
  color: var(--gold);
}
h1.display { font-size: clamp(44px, 7.2vw, 108px); }
h2.display { font-size: clamp(34px, 4.6vw, 64px); }
h3.display { font-size: clamp(24px, 2.6vw, 34px); }

.lede {
  font-size: clamp(16px, 1.35vw, 19px);
  line-height: 1.75;
  color: var(--ink-soft);
  max-width: 56ch;
}
.serif-note {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(17px, 1.5vw, 21px);
  color: var(--brown);
}

/* ---------- Layout ---------- */
.container { width: 100%; max-width: 1440px; margin: 0 auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section-pad); position: relative; }
.section--tight { padding-block: clamp(56px, 7vw, 100px); }
.section--dark { background: var(--ink); color: var(--cream); }
.section--dark .display { color: var(--cream); }
.section--dark .lede { color: rgba(242, 236, 225, 0.66); }
.section--dark .eyebrow { color: var(--gold-2); }
.section--paper { background: var(--paper); }
.section--cream2 { background: var(--cream-2); }

.section-head { display: grid; gap: 22px; margin-bottom: clamp(40px, 6vw, 76px); }
.section-head--split {
  grid-template-columns: 1fr auto;
  align-items: end;
}
.section-head--center { text-align: center; justify-items: center; }

.sec-no {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 15px;
  color: var(--gold);
  letter-spacing: 0.08em;
}
.rule { height: 1px; background: var(--line); border: 0; }

/* ---------- Buttons ---------- */
.btn {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  padding: 17px 34px;
  font-size: 12px; font-weight: 600;
  letter-spacing: 0.22em; text-transform: uppercase;
  border: 1px solid var(--ink);
  color: var(--ink);
  background: transparent;
  overflow: hidden;
  transition: color 0.4s var(--ease-out), border-color 0.4s, background 0.4s;
  isolation: isolate;
}
.btn::after {
  content: "";
  position: absolute; inset: 0;
  background: var(--ink);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.45s var(--ease-out);
  z-index: -1;
}
.btn:hover { color: var(--cream); }
.btn:hover::after { transform: scaleY(1); transform-origin: bottom; }

.btn--solid { background: var(--ink); color: var(--cream); }
.btn--solid::after { background: var(--gold); transform-origin: bottom; }
.btn--solid:hover { color: var(--ink); border-color: var(--gold); }

.btn--gold { border-color: var(--gold); color: var(--gold); }
.btn--gold::after { background: var(--gold); }
.btn--gold:hover { color: var(--ink); }

.btn--cream { border-color: var(--cream); color: var(--cream); }
.btn--cream::after { background: var(--cream); }
.btn--cream:hover { color: var(--ink); }

.btn--sm { padding: 12px 22px; font-size: 11px; }
.btn .arr { font-size: 15px; letter-spacing: 0; transition: transform 0.35s var(--ease-out); }
.btn:hover .arr { transform: translateX(5px); }

.link-underline {
  position: relative;
  display: inline-block;
  font-size: 12px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase;
  padding-bottom: 5px;
}
.link-underline::after {
  content: "";
  position: absolute; left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: currentColor;
  transform: scaleX(1);
  transform-origin: left;
  transition: transform 0.4s var(--ease-out);
}
.link-underline:hover::after { transform: scaleX(0.25); }

/* ---------- Navigation ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 900;
  height: var(--nav-h);
  display: flex; align-items: center;
  transition: transform 0.5s var(--ease-out), background 0.4s, box-shadow 0.4s, height 0.4s;
}
.nav.is-scrolled {
  background: rgba(242, 236, 225, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--line-soft);
}
.nav.is-hidden { transform: translateY(-100%); }
.nav__inner {
  width: 100%; max-width: 1440px; margin: 0 auto;
  padding-inline: var(--gutter);
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
}

.brand { display: flex; flex-direction: column; align-items: center; line-height: 1; gap: 3px; }
.brand__the { font-size: 8px; letter-spacing: 0.5em; text-transform: uppercase; color: var(--ink-soft); }
.brand__mark {
  font-family: var(--font-serif);
  font-weight: 900; font-size: 25px; letter-spacing: 0.05em;
  color: var(--ink);
  border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink);
  padding: 3px 6px;
}
.brand__sub { font-size: 7.5px; letter-spacing: 0.44em; text-transform: uppercase; color: var(--ink-soft); }

.nav__links { display: flex; gap: clamp(20px, 3vw, 44px); align-items: center; }
.nav__link {
  position: relative;
  font-size: 12px; font-weight: 500;
  letter-spacing: 0.22em; text-transform: uppercase;
  padding: 6px 0;
  color: var(--ink);
  opacity: 0.75;
  transition: opacity 0.3s;
}
.nav__link::after {
  content: "";
  position: absolute; left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s var(--ease-out);
}
.nav__link:hover, .nav__link.is-active { opacity: 1; }
.nav__link:hover::after, .nav__link.is-active::after { transform: scaleX(1); transform-origin: left; }

.nav__actions { display: flex; align-items: center; gap: 18px; }
.cart-btn {
  position: relative;
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase;
  border: 1px solid var(--ink);
  padding: 11px 20px;
  transition: background 0.35s var(--ease-out), color 0.35s;
}
.cart-btn:hover { background: var(--ink); color: var(--cream); }
.cart-btn__count {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 21px; height: 21px;
  padding: 0 5px;
  border-radius: 99px;
  background: var(--gold);
  color: var(--ink);
  font-size: 11px; font-weight: 700; letter-spacing: 0;
  transition: transform 0.3s var(--ease-out);
}
.cart-btn__count.bump { animation: bump 0.45s var(--ease-out); }
@keyframes bump { 30% { transform: scale(1.45); } }

.nav__burger { display: none; flex-direction: column; gap: 5px; padding: 10px; z-index: 1001; }
.nav__burger span { width: 26px; height: 1.5px; background: var(--ink); transition: transform 0.35s var(--ease-out), opacity 0.3s; }

/* Mobile menu */
.mobile-menu {
  position: fixed; inset: 0;
  z-index: 950;
  background: var(--ink);
  display: flex; flex-direction: column; justify-content: center;
  padding: var(--gutter);
  clip-path: inset(0 0 100% 0);
  transition: clip-path 0.65s var(--ease-inout);
}
.mobile-menu.is-open { clip-path: inset(0 0 0% 0); }
.mobile-menu__link {
  font-family: var(--font-serif);
  font-size: clamp(34px, 9vw, 56px);
  font-weight: 700;
  color: var(--cream);
  padding: 10px 0;
  border-bottom: 1px solid var(--line-cream);
  display: flex; justify-content: space-between; align-items: center;
  opacity: 0; transform: translateY(24px);
  transition: opacity 0.5s var(--ease-out), transform 0.5s var(--ease-out);
}
.mobile-menu.is-open .mobile-menu__link { opacity: 1; transform: translateY(0); }
.mobile-menu__link i { font-style: italic; font-size: 15px; color: var(--gold-2); }
.mobile-menu__foot { margin-top: 40px; color: rgba(242,236,225,0.5); font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; }

body.menu-open .nav__burger span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); background: var(--cream); }
body.menu-open .nav__burger span:nth-child(2) { opacity: 0; }
body.menu-open .nav__burger span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); background: var(--cream); }
body.menu-open { overflow: hidden; }

@media (max-width: 900px) {
  .nav__links { display: none; }
  .nav__burger { display: flex; }
  .cart-btn span.cart-btn__label { display: none; }
  .cart-btn { padding: 10px 14px; }
}

/* ---------- Marquee (continuous scroll strips) ---------- */
.marquee {
  overflow: hidden;
  white-space: nowrap;
  user-select: none;
  padding-block: 18px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--cream);
}
.marquee--dark { background: var(--ink); border-color: var(--line-cream); }
.marquee--gold { background: var(--gold); border-color: transparent; }
.marquee__track { display: inline-flex; will-change: transform; }
.marquee__inner { display: inline-flex; align-items: center; gap: 0; }
.marquee__item {
  display: inline-flex; align-items: center; gap: 28px;
  padding-inline: 28px;
  font-family: var(--font-serif);
  font-size: clamp(16px, 1.6vw, 22px);
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--ink);
}
.marquee--dark .marquee__item { color: var(--cream); }
.marquee--gold .marquee__item { color: var(--ink); }
.marquee__item .dot {
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--gold); flex: none;
}
.marquee--gold .marquee__item .dot { background: var(--ink); }
.marquee__item em { font-style: italic; color: var(--gold); }
.marquee--dark .marquee__item em { color: var(--gold-2); }

/* Big outline marquee (footer / section divider) */
.marquee--display .marquee__item {
  font-size: clamp(58px, 9vw, 150px);
  font-weight: 900;
  letter-spacing: 0.02em;
  padding-inline: 40px;
  color: transparent;
  -webkit-text-stroke: 1px rgba(27, 22, 17, 0.35);
}
.marquee--display { border: 0; padding-block: 10px; background: transparent; }
.section--dark .marquee--display .marquee__item,
.marquee--display.on-dark .marquee__item { -webkit-text-stroke-color: rgba(242, 236, 225, 0.3); }

/* ---------- Hero (homepage) ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex; flex-direction: column; justify-content: flex-end;
  color: var(--cream);
  overflow: hidden;
  background: var(--ink);
}
.hero__slides { position: absolute; inset: 0; }
.hero__slide {
  position: absolute; inset: 0;
  opacity: 0;
  transition: opacity 1.6s var(--ease-inout);
}
.hero__slide img {
  width: 100%; height: 100%;
  object-fit: cover;
  transform: scale(1);
}
.hero__slide.is-active { opacity: 1; }
.hero__slide.is-active img { animation: kenburns 7.5s linear forwards; }
@keyframes kenburns {
  from { transform: scale(1.02) translate(0, 0); }
  to   { transform: scale(1.14) translate(-1.4%, 1.2%); }
}
.hero__scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(20,16,12,0.55) 0%, rgba(20,16,12,0.18) 38%, rgba(20,16,12,0.82) 100%),
    radial-gradient(120% 90% at 18% 88%, rgba(20,16,12,0.72) 0%, transparent 55%);
}
.hero__content {
  position: relative;
  z-index: 2;
  width: 100%; max-width: 1440px;
  margin: 0 auto;
  padding: 0 var(--gutter) clamp(90px, 12vh, 130px);
}
.hero__eyebrow {
  display: inline-flex; align-items: center; gap: 14px;
  font-size: 11px; font-weight: 600; letter-spacing: 0.4em; text-transform: uppercase;
  color: var(--gold-2);
  margin-bottom: 26px;
}
.hero__eyebrow::before, .hero__eyebrow::after { content: ""; width: 38px; height: 1px; background: var(--gold-2); opacity: 0.7; }
.hero__title {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: clamp(46px, 8.6vw, 128px);
  line-height: 0.98;
  letter-spacing: -0.015em;
  color: var(--cream);
  max-width: 13ch;
}
.hero__title .line { display: block; overflow: hidden; }
.hero__title .line > span { display: inline-block; will-change: transform; }
.hero__title em { font-style: italic; font-weight: 400; color: var(--gold-2); }
.hero__lede {
  margin-top: 30px;
  max-width: 47ch;
  font-size: clamp(15px, 1.25vw, 18px);
  line-height: 1.75;
  color: rgba(242, 236, 225, 0.82);
}
.hero__cta { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 42px; }
.hero__meta {
  position: absolute;
  right: var(--gutter); bottom: clamp(90px, 12vh, 130px);
  z-index: 2;
  display: flex; flex-direction: column; gap: 10px; align-items: flex-end;
  font-size: 11px; letter-spacing: 0.3em; text-transform: uppercase;
  color: rgba(242, 236, 225, 0.6);
  text-align: right;
}
.hero__meta strong { color: var(--gold-2); font-weight: 600; }
.hero__counter {
  position: absolute; left: var(--gutter); bottom: 26px;
  z-index: 2;
  font-family: var(--font-serif); font-style: italic;
  font-size: 13px; letter-spacing: 0.15em;
  color: rgba(242, 236, 225, 0.6);
}
.hero__counter b { color: var(--gold-2); font-weight: 500; font-size: 17px; }

/* Steam wisps */
.steam {
  position: absolute;
  z-index: 2;
  pointer-events: none;
  opacity: 0.5;
}
.steam path {
  fill: none;
  stroke: rgba(242, 236, 225, 0.5);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-dasharray: 60 240;
  animation: steam-flow 5s linear infinite;
}
.steam path:nth-child(2) { animation-delay: 1.6s; }
.steam path:nth-child(3) { animation-delay: 3.2s; }
@keyframes steam-flow { to { stroke-dashoffset: -300; } }

/* ---------- Page hero (subpages) ---------- */
.page-hero {
  position: relative;
  padding: calc(var(--nav-h) + clamp(70px, 10vw, 130px)) 0 clamp(56px, 7vw, 96px);
  background: var(--cream);
  overflow: hidden;
}
.page-hero__bg {
  position: absolute;
  right: -4%; top: 12%;
  font-family: var(--font-serif);
  font-weight: 900;
  font-size: clamp(160px, 30vw, 440px);
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(27, 22, 17, 0.07);
  pointer-events: none; user-select: none;
  white-space: nowrap;
}
.page-hero .eyebrow { margin-bottom: 22px; }
.page-hero__title { max-width: 16ch; }
.page-hero__lede { margin-top: 24px; }
.page-hero__meta {
  display: flex; flex-wrap: wrap; gap: 12px 36px;
  margin-top: 36px;
  font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--ink-soft);
}
.page-hero__meta span { display: inline-flex; align-items: center; gap: 10px; }
.page-hero__meta .dot { width: 5px; height: 5px; border-radius: 50%; background: var(--gold); }

/* ---------- Reveal utilities (JS adds .is-in) ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(38px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
  transition-delay: var(--d, 0s);
  will-change: opacity, transform;
}
[data-reveal].is-in { opacity: 1; transform: none; }
[data-reveal="fade"] { transform: none; }
[data-reveal="left"] { transform: translateX(-48px); }
[data-reveal="right"] { transform: translateX(48px); }
[data-reveal="scale"] { transform: scale(0.92); }

.img-frame { overflow: hidden; position: relative; }
.img-frame img { transition: transform 0.9s var(--ease-out); }
.img-frame:hover img { transform: scale(1.05); }
[data-parallax] img { will-change: transform; transform: scale(1.18); }

/* Curtain image reveal */
[data-curtain] { position: relative; overflow: hidden; }
[data-curtain]::after {
  content: "";
  position: absolute; inset: 0;
  background: var(--cream-3);
  transform: scaleX(1);
  transform-origin: right;
  transition: transform 1.1s var(--ease-inout);
  transition-delay: var(--d, 0s);
  z-index: 2;
}
[data-curtain].is-in::after { transform: scaleX(0); }
.section--dark [data-curtain]::after { background: var(--ink-2); }

/* ---------- Footer ---------- */
.footer {
  background: var(--ink);
  color: var(--cream);
  padding-top: clamp(70px, 9vw, 120px);
  position: relative;
  overflow: hidden;
}
.footer__cta { text-align: center; padding-bottom: clamp(60px, 8vw, 100px); }
.footer__cta .display { color: var(--cream); }
.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: clamp(28px, 4vw, 60px);
  padding-block: clamp(48px, 6vw, 80px);
  border-top: 1px solid var(--line-cream);
}
.footer__brand .brand__mark { color: var(--cream); border-color: var(--cream); font-size: 30px; }
.footer__brand .brand__the, .footer__brand .brand__sub { color: rgba(242,236,225,0.55); }
.footer__brand { align-items: flex-start; }
.footer__tag { margin-top: 18px; font-family: var(--font-serif); font-style: italic; font-size: 15px; color: rgba(242,236,225,0.65); max-width: 30ch; line-height: 1.6; }
.footer__col h4 {
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--gold-2);
  margin-bottom: 22px;
}
.footer__col a, .footer__col li, .footer__col span {
  display: block;
  padding: 6px 0;
  font-size: 14px;
  color: rgba(242, 236, 225, 0.72);
  transition: color 0.3s, transform 0.3s var(--ease-out);
}
.footer__col a:hover { color: var(--gold-2); transform: translateX(6px); }
.footer__bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px;
  padding-block: 26px;
  border-top: 1px solid var(--line-cream);
  font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  color: rgba(242, 236, 225, 0.4);
}
.footer__wordmark {
  font-family: var(--font-serif);
  font-weight: 900;
  font-size: clamp(64px, 14vw, 230px);
  line-height: 1;
  text-align: center;
  color: transparent;
  -webkit-text-stroke: 1px rgba(242, 236, 225, 0.16);
  user-select: none;
  transform: translateY(18%);
}
@media (max-width: 900px) {
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .footer__grid { grid-template-columns: 1fr; }
}

/* ---------- Toast ---------- */
.toast {
  position: fixed;
  left: 50%; bottom: 34px;
  transform: translate(-50%, 140%);
  z-index: 1200;
  display: flex; align-items: center; gap: 14px;
  background: var(--ink);
  color: var(--cream);
  padding: 16px 26px;
  font-size: 13px; letter-spacing: 0.06em;
  box-shadow: 0 18px 50px rgba(27, 22, 17, 0.35);
  transition: transform 0.5s var(--ease-out);
  max-width: min(92vw, 480px);
}
.toast.is-show { transform: translate(-50%, 0); }
.toast__icon { color: var(--gold-2); font-size: 16px; }
.toast a { color: var(--gold-2); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Cart drawer (mini-cart) ---------- */
.cart-drawer {
  position: fixed; inset: 0;
  z-index: 1100;
  visibility: hidden;
  pointer-events: none;
}
.cart-drawer.is-open { visibility: visible; pointer-events: auto; }
.cart-drawer__scrim {
  position: absolute; inset: 0;
  background: rgba(20, 16, 12, 0.5);
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
  opacity: 0;
  transition: opacity 0.5s var(--ease-out);
}
.cart-drawer.is-open .cart-drawer__scrim { opacity: 1; }
.cart-drawer__panel {
  position: absolute; top: 0; right: 0;
  height: 100%;
  width: min(448px, 100%);
  background: var(--cream);
  display: flex; flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.6s var(--ease-inout);
  box-shadow: -34px 0 90px rgba(27, 22, 17, 0.28);
}
.cart-drawer.is-open .cart-drawer__panel { transform: translateX(0); }
.cart-drawer__head {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 24px clamp(22px, 4vw, 30px);
  border-bottom: 1px solid var(--line);
}
.cart-drawer__title {
  display: flex; align-items: baseline; gap: 12px;
  font-family: var(--font-serif); font-size: 23px; font-weight: 700;
}
.cart-drawer__title span {
  font-family: var(--font-sans); font-size: 11px; font-weight: 600;
  letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold);
}
.cart-drawer__close {
  flex: none;
  width: 42px; height: 42px;
  border: 1px solid var(--line); border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 15px;
  transition: background 0.3s, color 0.3s, border-color 0.3s, transform 0.45s var(--ease-out);
}
.cart-drawer__close:hover { background: var(--ink); color: var(--cream); border-color: var(--ink); transform: rotate(90deg); }
.cart-drawer__body { flex: 1; overflow-y: auto; padding: 4px clamp(22px, 4vw, 30px); overscroll-behavior: contain; }
.cart-drawer__foot { padding: clamp(20px, 3vw, 26px) clamp(22px, 4vw, 30px); border-top: 1px solid var(--line); background: var(--paper); }
.cart-drawer__foot .btn { width: 100%; }
.cart-drawer__total {
  display: flex; align-items: baseline; justify-content: space-between;
  margin-bottom: 18px;
}
.cart-drawer__total span { font-size: 11px; letter-spacing: 0.28em; text-transform: uppercase; color: var(--ink-soft); }
.cart-drawer__total b { font-family: var(--font-serif); font-size: 28px; font-weight: 700; }
.cart-drawer__note { margin-top: 14px; font-size: 12px; line-height: 1.65; color: var(--ink-soft); text-align: center; }
.cart-drawer__note em { font-style: italic; color: var(--brown); }
.cart-drawer__empty { text-align: center; padding: clamp(50px, 12vh, 90px) 14px; }
.cart-drawer__empty .serif-note { display: block; margin-bottom: 12px; }
.cart-drawer__empty p { font-size: 14px; color: var(--ink-soft); line-height: 1.7; }

.mini-line {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 4px 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line-soft);
  animation: mini-in 0.4s var(--ease-out) both;
}
@keyframes mini-in { from { opacity: 0; transform: translateY(8px); } }
.mini-line__name { font-family: var(--font-serif); font-size: 16.5px; font-weight: 700; line-height: 1.3; }
.mini-line__tier { font-size: 12px; color: var(--ink-soft); letter-spacing: 0.03em; margin-top: 3px; }
.mini-line__price { font-family: var(--font-serif); font-size: 16.5px; font-weight: 600; white-space: nowrap; text-align: right; }
.mini-line__row2 { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; margin-top: 12px; }
.mini-line__remove {
  font-size: 10.5px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--ink-soft);
  padding-bottom: 2px;
  border-bottom: 1px solid transparent;
  transition: color 0.3s, border-color 0.3s;
}
.mini-line__remove:hover { color: var(--danger); border-bottom-color: currentColor; }

body.cart-open { overflow: hidden; }
@media (prefers-reduced-motion: reduce) {
  .cart-drawer__panel { transition: none; }
  .mini-line { animation: none; }
}

/* ==========================================================================
   HOMEPAGE COMPONENTS
   ========================================================================== */

/* Intro / manifesto */
.intro__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(40px, 6vw, 100px);
  align-items: center;
}
.intro__statement {
  font-family: var(--font-serif);
  font-size: clamp(26px, 3.2vw, 44px);
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: -0.01em;
}
.intro__statement em { font-style: italic; color: var(--gold); }
.intro__figure { position: relative; }
.intro__figure .img-frame { aspect-ratio: 4 / 5; }
.intro__figure img { width: 100%; height: 100%; object-fit: cover; }
.intro__badge {
  position: absolute;
  left: -34px; bottom: 42px;
  background: var(--ink);
  color: var(--cream);
  padding: 22px 26px;
  max-width: 230px;
  font-size: 12px; line-height: 1.6; letter-spacing: 0.04em;
}
.intro__badge b { display: block; font-family: var(--font-serif); font-size: 20px; font-weight: 700; margin-bottom: 4px; color: var(--gold-2); }
.intro__stats {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: clamp(48px, 6vw, 84px);
  padding-top: clamp(28px, 4vw, 48px);
  border-top: 1px solid var(--line);
}
.stat b {
  display: block;
  font-family: var(--font-serif);
  font-size: clamp(34px, 4vw, 54px);
  font-weight: 700;
  line-height: 1;
}
.stat b i { font-style: italic; color: var(--gold); font-weight: 500; }
.stat span {
  display: block; margin-top: 10px;
  font-size: 11px; letter-spacing: 0.26em; text-transform: uppercase;
  color: var(--ink-soft);
}
@media (max-width: 860px) {
  .intro__grid { grid-template-columns: 1fr; }
  .intro__badge { left: 16px; }
  .intro__stats { grid-template-columns: 1fr 1fr; }
}

/* Category showcase */
.cats { display: flex; flex-direction: column; }
.cat-row {
  position: relative;
  display: grid;
  grid-template-columns: 90px minmax(0, 1fr) minmax(0, 1.3fr) 200px 60px;
  align-items: center;
  gap: clamp(18px, 3vw, 44px);
  padding: clamp(26px, 3.4vw, 42px) 0;
  border-bottom: 1px solid var(--line);
  transition: background 0.4s, padding-left 0.45s var(--ease-out);
}
.cat-row:first-child { border-top: 1px solid var(--line); }
.cat-row__no { font-family: var(--font-serif); font-style: italic; font-size: 15px; color: var(--gold); }
.cat-row__name {
  font-family: var(--font-serif);
  font-size: clamp(24px, 3vw, 42px);
  font-weight: 700;
  line-height: 1.1;
  transition: transform 0.45s var(--ease-out);
}
.cat-row__desc { font-size: 14px; line-height: 1.7; color: var(--ink-soft); max-width: 46ch; }
.cat-row__price { font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--ink-soft); text-align: right; }
.cat-row__price b { display: block; font-family: var(--font-serif); font-size: 20px; letter-spacing: 0; color: var(--ink); margin-top: 4px; }
.cat-row__arrow {
  font-size: 22px;
  text-align: center;
  transition: transform 0.45s var(--ease-out), color 0.3s;
}
.cat-row:hover { padding-left: 18px; background: rgba(255, 253, 248, 0.5); }
.cat-row:hover .cat-row__arrow { transform: translateX(8px); color: var(--gold); }
/* Floating image preview on hover */
.cat-preview {
  position: fixed;
  z-index: 800;
  width: 300px; height: 210px;
  pointer-events: none;
  overflow: hidden;
  opacity: 0;
  transform: scale(0.85) rotate(-3deg);
  transition: opacity 0.35s var(--ease-out), transform 0.35s var(--ease-out);
  box-shadow: 0 30px 70px rgba(27, 22, 17, 0.3);
}
.cat-preview.is-on { opacity: 1; transform: scale(1) rotate(0deg); }
.cat-preview img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 900px) {
  .cat-row { grid-template-columns: 44px 1fr 34px; }
  .cat-row__desc, .cat-row__price { display: none; }
  .cat-preview { display: none; }
}

/* Split feature band */
.feature {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(40px, 6vw, 110px);
  align-items: center;
}
.feature--flip .feature__media { order: 2; }
.feature__media { position: relative; }
.feature__media .img-frame { aspect-ratio: 4 / 4.6; }
.feature__media img { width: 100%; height: 100%; object-fit: cover; }
.feature__media .img-frame--wide { aspect-ratio: 16 / 11; }
.feature__kicker {
  position: absolute;
  top: 22px; left: 22px;
  z-index: 3;
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--cream);
  color: var(--ink);
  padding: 10px 16px;
  font-size: 10px; font-weight: 600; letter-spacing: 0.3em; text-transform: uppercase;
  box-shadow: 0 8px 24px rgba(27, 22, 17, 0.14);
}
.feature__kicker::before {
  content: ""; width: 5px; height: 5px; border-radius: 50%;
  background: var(--gold); flex: none;
}
.feature__list { margin-top: 34px; display: grid; gap: 0; }
.feature__list li {
  display: flex; gap: 20px; align-items: baseline;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}
.feature__list li:first-child { border-top: 1px solid var(--line); }
.feature__list .no { font-family: var(--font-serif); font-style: italic; color: var(--gold); font-size: 14px; flex: none; }
.feature__list b { display: block; font-family: var(--font-serif); font-size: 19px; font-weight: 700; margin-bottom: 4px; }
.feature__list p { font-size: 14px; color: var(--ink-soft); line-height: 1.7; }
@media (max-width: 860px) {
  .feature { grid-template-columns: 1fr; }
  .feature--flip .feature__media { order: 0; }
}

/* Horizontal pinned steps (GSAP) */
.steps-section { overflow: hidden; }
.steps-track {
  display: flex;
  gap: clamp(20px, 2.5vw, 36px);
  padding-inline: var(--gutter);
  width: max-content;
}
.step-card {
  width: min(420px, 78vw);
  flex: none;
  background: var(--paper);
  border: 1px solid var(--line);
  padding: clamp(28px, 3vw, 44px);
  display: flex; flex-direction: column; gap: 18px;
  min-height: 320px;
}
.section--dark .step-card { background: var(--ink-2); border-color: var(--line-cream); }
.step-card__no {
  font-family: var(--font-serif);
  font-size: clamp(44px, 5vw, 64px);
  font-weight: 900;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px var(--gold);
}
.step-card__who {
  align-self: flex-start;
  font-size: 9px; font-weight: 700; letter-spacing: 0.3em; text-transform: uppercase;
  padding: 6px 12px;
  border: 1px solid var(--gold);
  color: var(--gold);
}
.step-card__who--you { background: var(--gold); color: var(--ink); }
.step-card h3 { font-family: var(--font-serif); font-size: clamp(21px, 2vw, 26px); font-weight: 700; color: var(--cream); }
.steps-section:not(.section--dark) .step-card h3 { color: var(--ink); }
.step-card p { font-size: 14px; line-height: 1.75; color: rgba(242,236,225,0.62); margin-top: auto; }
.steps-section:not(.section--dark) .step-card p { color: var(--ink-soft); }
.steps-progress {
  height: 1px; background: var(--line-cream);
  margin: clamp(36px, 5vw, 60px) var(--gutter) 0;
  position: relative;
}
.steps-progress b {
  position: absolute; left: 0; top: -0.5px;
  height: 2px; width: 0%;
  background: var(--gold);
  transition: width 0.2s linear;
}
/* Fallback when the GSAP pin is unavailable (mobile / reduced motion): swipeable track */
.steps-section.no-pin .steps-track {
  width: auto;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.steps-section.no-pin .steps-track::-webkit-scrollbar { display: none; }
.steps-section.no-pin .steps-progress { display: none; }

/* CTA band */
.cta-band { text-align: center; position: relative; overflow: hidden; }
.cta-band .display { max-width: 20ch; margin-inline: auto; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; margin-top: 44px; }

/* ==========================================================================
   MENU PAGE
   ========================================================================== */
.menu-layout {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: start;
}
.menu-side {
  position: sticky;
  top: calc(var(--nav-h) + 28px);
  display: flex; flex-direction: column; gap: 4px;
}
.menu-side__label { font-size: 10px; letter-spacing: 0.34em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 14px; }
.menu-side__link {
  display: flex; align-items: baseline; gap: 12px;
  padding: 9px 0;
  font-size: 13px; font-weight: 500; letter-spacing: 0.08em;
  color: var(--ink-soft);
  border-bottom: 1px solid var(--line-soft);
  transition: color 0.3s, padding-left 0.35s var(--ease-out);
}
.menu-side__link .no { font-family: var(--font-serif); font-style: italic; font-size: 11px; color: var(--gold); }
.menu-side__link:hover { color: var(--ink); padding-left: 6px; }
.menu-side__link.is-active { color: var(--ink); font-weight: 600; padding-left: 6px; border-bottom-color: var(--gold); }
@media (max-width: 900px) {
  .menu-layout { grid-template-columns: 1fr; }
  .menu-side {
    position: sticky; top: var(--nav-h);
    z-index: 500;
    flex-direction: row; gap: 8px;
    overflow-x: auto;
    background: var(--cream);
    padding: 14px 0;
    margin: 0 calc(var(--gutter) * -1);
    padding-inline: var(--gutter);
    border-bottom: 1px solid var(--line);
    scrollbar-width: none;
  }
  .menu-side::-webkit-scrollbar { display: none; }
  .menu-side__label { display: none; }
  .menu-side__link { flex: none; border: 1px solid var(--line); padding: 8px 16px !important; font-size: 11px; }
  .menu-side__link.is-active { background: var(--ink); color: var(--cream); border-color: var(--ink); }
  .menu-side__link.is-active .no { color: var(--gold-2); }
}

.menu-cat { padding-top: 20px; }
.menu-cat + .menu-cat { margin-top: clamp(60px, 8vw, 110px); }
.menu-cat__head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 200px;
  gap: 24px;
  align-items: end;
  margin-bottom: 30px;
}
.menu-cat__head .img-frame { aspect-ratio: 16/10; }
.menu-cat__head img { width: 100%; height: 100%; object-fit: cover; }
.menu-cat__blurb { font-size: 14px; color: var(--ink-soft); max-width: 58ch; margin-top: 14px; line-height: 1.75; }
.menu-cat__note {
  display: inline-block;
  margin-top: 12px;
  font-family: var(--font-serif); font-style: italic;
  font-size: 14px; color: var(--gold);
}
@media (max-width: 700px) { .menu-cat__head { grid-template-columns: 1fr; } .menu-cat__head .img-frame { display: none; } }

.menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(310px, 1fr));
  gap: 1px;
  border: 1px solid var(--line);
}
.dish {
  background: var(--cream);
  /* hairline between cards without painting empty grid cells */
  box-shadow: 0 0 0 1px var(--line);
  padding: clamp(22px, 2.4vw, 32px);
  display: flex; flex-direction: column; gap: 14px;
  position: relative;
  transition: background 0.4s;
}
.dish:hover { background: var(--paper); }
.dish__top { display: flex; justify-content: space-between; align-items: baseline; gap: 14px; }
.dish__name { font-family: var(--font-serif); font-size: 20px; font-weight: 700; line-height: 1.25; }
.dish__dots { flex: 1; border-bottom: 1px dotted rgba(27,22,17,0.35); transform: translateY(-5px); min-width: 20px; }
.dish__price { font-family: var(--font-serif); font-size: 19px; font-weight: 600; white-space: nowrap; }
.dish__price small { font-size: 11px; font-family: var(--font-sans); color: var(--ink-soft); letter-spacing: 0.08em; }
.dish__desc { font-size: 13.5px; line-height: 1.7; color: var(--ink-soft); }
.dish__note { font-size: 11.5px; font-style: italic; font-family: var(--font-serif); color: var(--gold); }
.dish__tag {
  position: absolute; top: -1px; right: 18px;
  font-size: 9px; font-weight: 700; letter-spacing: 0.26em; text-transform: uppercase;
  background: var(--ink); color: var(--gold-2);
  padding: 6px 12px;
}
.dish__tag--sampler { background: var(--gold); color: var(--ink); }
.dish__controls {
  margin-top: auto;
  display: flex; gap: 10px; align-items: stretch;
  padding-top: 16px;
}
.dish select {
  flex: 1;
  min-width: 0;
  appearance: none;
  background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%231B1611' fill='none'/%3E%3C/svg%3E") no-repeat right 12px center;
  border: 1px solid var(--line);
  padding: 11px 32px 11px 14px;
  font-size: 12.5px;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: border-color 0.3s;
}
.dish select:hover, .dish select:focus { border-color: var(--ink); outline: none; }
.dish__add {
  flex: none;
  display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--cream);
  padding: 11px 18px;
  font-size: 11px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase;
  transition: background 0.35s var(--ease-out), color 0.35s, border-color 0.35s;
}
.dish__add:hover { background: var(--gold); border-color: var(--gold); color: var(--ink); }

/* ==========================================================================
   ORDER PAGE
   ========================================================================== */
.order-steps {
  display: flex; align-items: center; justify-content: center;
  gap: clamp(10px, 2vw, 20px);
  margin-bottom: clamp(40px, 6vw, 70px);
}
.order-step {
  display: flex; align-items: center; gap: 12px;
  font-size: 11px; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--ink-soft);
  opacity: 0.45;
  transition: opacity 0.4s;
}
.order-step.is-active, .order-step.is-done { opacity: 1; }
.order-step__no {
  display: inline-flex; align-items: center; justify-content: center;
  width: 30px; height: 30px;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-family: var(--font-serif); font-style: italic; font-size: 13px;
}
.order-step.is-active .order-step__no { background: var(--ink); border-color: var(--ink); color: var(--gold-2); }
.order-step.is-done .order-step__no { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.order-step__bar { width: clamp(24px, 5vw, 70px); height: 1px; background: var(--line); }
@media (max-width: 640px) { .order-step span.order-step__label { display: none; } }

.order-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(320px, 1fr);
  gap: clamp(32px, 4.5vw, 72px);
  align-items: start;
}
@media (max-width: 940px) { .order-layout { grid-template-columns: 1fr; } }

.order-panel { background: var(--paper); border: 1px solid var(--line); padding: clamp(24px, 3vw, 44px); }
.order-panel + .order-panel { margin-top: 28px; }
.order-panel__title {
  display: flex; align-items: baseline; gap: 14px;
  font-family: var(--font-serif); font-size: 24px; font-weight: 700;
  margin-bottom: 26px;
}
.order-panel__title .no { font-style: italic; font-size: 14px; color: var(--gold); font-weight: 500; }

/* Cart lines */
.cart-line {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto auto;
  gap: 16px;
  align-items: center;
  padding: 18px 0;
  border-bottom: 1px solid var(--line-soft);
}
.cart-line__name { font-family: var(--font-serif); font-weight: 700; font-size: 17px; line-height: 1.3; }
.cart-line__tier { font-size: 12px; color: var(--ink-soft); letter-spacing: 0.06em; margin-top: 3px; }
.cart-line__price { font-family: var(--font-serif); font-size: 17px; font-weight: 600; white-space: nowrap; }
.cart-line__remove {
  font-size: 18px; line-height: 1;
  color: var(--ink-soft);
  padding: 6px;
  transition: color 0.3s, transform 0.3s;
}
.cart-line__remove:hover { color: var(--danger); transform: rotate(90deg); }
.qty {
  display: inline-flex; align-items: center;
  border: 1px solid var(--line);
  background: var(--cream);
}
.qty button {
  width: 32px; height: 34px;
  font-size: 15px;
  transition: background 0.25s;
}
.qty button:hover { background: var(--cream-2); }
.qty input {
  width: 40px; height: 34px;
  text-align: center;
  border: 0; background: transparent;
  font-size: 13px; font-weight: 600;
  -moz-appearance: textfield;
}
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; }
@media (max-width: 560px) {
  .cart-line { grid-template-columns: minmax(0,1fr) auto; row-gap: 10px; }
  .cart-line__price { grid-column: 1; }
  .cart-line__remove { grid-column: 2; grid-row: 1; justify-self: end; }
}

.cart-empty { text-align: center; padding: clamp(40px, 6vw, 80px) 20px; }
.cart-empty .serif-note { display: block; margin-bottom: 20px; }

/* Summary card */
.summary { position: sticky; top: calc(var(--nav-h) + 24px); }
.summary__card { background: var(--ink); color: var(--cream); padding: clamp(26px, 3vw, 40px); }
.summary__card h3 { font-family: var(--font-serif); font-size: 22px; font-weight: 700; margin-bottom: 24px; color: var(--cream); }
.summary__row {
  display: flex; justify-content: space-between; gap: 14px;
  padding: 9px 0;
  font-size: 13.5px;
  color: rgba(242, 236, 225, 0.75);
}
.summary__row b { color: var(--cream); font-weight: 600; }
.summary__total {
  display: flex; justify-content: space-between; align-items: baseline;
  margin-top: 18px; padding-top: 20px;
  border-top: 1px solid var(--line-cream);
}
.summary__total span { font-size: 11px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--gold-2); }
.summary__total b { font-family: var(--font-serif); font-size: clamp(26px, 2.6vw, 34px); font-weight: 700; }
.summary__note { margin-top: 18px; font-size: 12px; line-height: 1.7; color: rgba(242,236,225,0.55); }
.summary__note em { color: var(--gold-2); font-style: italic; }
.summary .btn { width: 100%; margin-top: 24px; }

/* Forms */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 24px; }
.form-grid .span-2 { grid-column: span 2; }
@media (max-width: 620px) { .form-grid { grid-template-columns: 1fr; } .form-grid .span-2 { grid-column: span 1; } }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label {
  font-size: 10.5px; font-weight: 600;
  letter-spacing: 0.26em; text-transform: uppercase;
  color: var(--ink-soft);
}
.field label b { color: var(--danger); }
.field input, .field select, .field textarea {
  background: var(--cream);
  border: 1px solid var(--line);
  padding: 14px 16px;
  font-size: 14.5px;
  transition: border-color 0.3s, box-shadow 0.3s;
  border-radius: 0;
  width: 100%;
}
.field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%231B1611' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--ink);
  box-shadow: 0 1px 0 var(--ink);
}
.field .hint { font-size: 11.5px; color: var(--ink-soft); letter-spacing: 0.02em; }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--danger); }
.field .error-msg { display: none; font-size: 11.5px; color: var(--danger); }
.field.has-error .error-msg { display: block; }

/* Radio cards (delivery / payment options) */
.opt-cards { display: grid; gap: 14px; }
.opt-card {
  position: relative;
  display: flex; gap: 16px; align-items: flex-start;
  border: 1px solid var(--line);
  background: var(--cream);
  padding: 20px;
  cursor: pointer;
  transition: border-color 0.3s, background 0.3s;
}
.opt-card:hover { border-color: var(--ink-soft); }
.opt-card input { position: absolute; opacity: 0; pointer-events: none; }
.opt-card__dot {
  flex: none;
  width: 18px; height: 18px;
  margin-top: 2px;
  border: 1px solid var(--ink-soft);
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  transition: border-color 0.3s;
}
.opt-card__dot::after {
  content: "";
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--gold);
  transform: scale(0);
  transition: transform 0.3s var(--ease-out);
}
.opt-card.is-checked { border-color: var(--ink); background: var(--paper); }
.opt-card.is-checked .opt-card__dot { border-color: var(--gold); }
.opt-card.is-checked .opt-card__dot::after { transform: scale(1); }
.opt-card b { display: block; font-family: var(--font-serif); font-size: 16.5px; font-weight: 700; margin-bottom: 4px; }
.opt-card p { font-size: 13px; line-height: 1.65; color: var(--ink-soft); }
.opt-card .tag {
  margin-left: auto; flex: none;
  font-size: 9px; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--gold);
  border: 1px solid var(--gold);
  padding: 4px 9px;
}

/* Payment */
.pay-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 680px) { .pay-grid { grid-template-columns: 1fr; } }
.pay-card {
  border: 1px solid var(--line);
  background: var(--cream);
  padding: 26px;
  text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 14px;
}
.pay-card h4 { font-family: var(--font-serif); font-size: 20px; font-weight: 700; }
.pay-card .qr-box {
  width: 190px; height: 190px;
  background: var(--white);
  border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  padding: 12px;
}
.pay-card .qr-box img, .pay-card .qr-box svg { width: 100%; height: 100%; }
.pay-card p { font-size: 12.5px; color: var(--ink-soft); line-height: 1.65; }
.pay-detail {
  width: 100%;
  display: flex; justify-content: space-between; align-items: center; gap: 10px;
  border: 1px dashed var(--line);
  padding: 11px 14px;
  font-size: 13px;
}
.pay-detail b { font-weight: 600; letter-spacing: 0.04em; }
.copy-btn {
  font-size: 10px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--gold);
  padding: 4px 8px;
  border: 1px solid var(--gold);
  transition: background 0.3s, color 0.3s;
}
.copy-btn:hover, .copy-btn.copied { background: var(--gold); color: var(--ink); }

/* Confirmation */
.confirm-wrap { max-width: 760px; margin: 0 auto; text-align: center; }
.confirm-seal {
  width: 92px; height: 92px;
  margin: 0 auto 30px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 34px; color: var(--gold);
  animation: seal-pop 0.7s var(--ease-out);
}
@keyframes seal-pop { 0% { transform: scale(0.5); opacity: 0; } 60% { transform: scale(1.08); } 100% { transform: scale(1); opacity: 1; } }
.confirm-ref {
  display: inline-block;
  margin: 22px 0;
  font-family: var(--font-serif); font-size: 20px;
  border: 1px dashed var(--gold);
  padding: 12px 28px;
  letter-spacing: 0.12em;
}
.order-receipt {
  text-align: left;
  background: var(--paper);
  border: 1px solid var(--line);
  padding: clamp(24px, 3vw, 40px);
  margin-top: 34px;
}

/* ==========================================================================
   ABOUT PAGE
   ========================================================================== */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.pillar { background: var(--cream); padding: clamp(28px, 3.4vw, 52px); display: flex; flex-direction: column; gap: 18px; min-height: 300px; transition: background 0.4s; }
.pillar:hover { background: var(--paper); }
.pillar__icon { width: 52px; height: 52px; border: 1px solid var(--ink); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 20px; }
.pillar h3 { font-family: var(--font-serif); font-size: 22px; font-weight: 700; }
.pillar p { font-size: 14px; line-height: 1.75; color: var(--ink-soft); margin-top: auto; }
@media (max-width: 800px) { .pillars { grid-template-columns: 1fr; } .pillar { min-height: 0; } }

.econ-band { position: relative; }
.econ-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line-cream); border: 1px solid var(--line-cream); }
.econ-cell { background: var(--ink); padding: clamp(24px, 3vw, 44px); text-align: center; }
.econ-cell b { display: block; font-family: var(--font-serif); font-size: clamp(28px, 3.4vw, 46px); font-weight: 700; color: var(--gold-2); }
.econ-cell span { display: block; margin-top: 10px; font-size: 10px; letter-spacing: 0.28em; text-transform: uppercase; color: rgba(242,236,225,0.55); }
@media (max-width: 800px) { .econ-grid { grid-template-columns: 1fr 1fr; } }

.timeline { position: relative; display: grid; gap: 0; }
.timeline__item {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: clamp(20px, 4vw, 60px);
  padding: clamp(26px, 3.4vw, 44px) 0;
  border-bottom: 1px solid var(--line);
}
.timeline__item:first-child { border-top: 1px solid var(--line); }
.timeline__year { font-family: var(--font-serif); font-style: italic; font-size: clamp(20px, 2.4vw, 30px); color: var(--gold); }
.timeline__item h3 { font-family: var(--font-serif); font-size: clamp(20px, 2.2vw, 27px); font-weight: 700; margin-bottom: 10px; }
.timeline__item p { color: var(--ink-soft); font-size: 15px; max-width: 62ch; }

/* ==========================================================================
   CONTACT PAGE
   ========================================================================== */
.contact-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
@media (max-width: 720px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-card {
  background: var(--cream);
  padding: clamp(28px, 3.4vw, 52px);
  display: flex; flex-direction: column; gap: 12px;
  transition: background 0.4s;
  position: relative;
  overflow: hidden;
}
.contact-card:hover { background: var(--paper); }
.contact-card .eyebrow { margin-bottom: 6px; }
.contact-card__value { font-family: var(--font-serif); font-size: clamp(20px, 2.2vw, 28px); font-weight: 700; line-height: 1.3; word-break: break-word; }
.contact-card p { font-size: 13.5px; color: var(--ink-soft); }
.contact-card__arrow { position: absolute; right: 26px; bottom: 22px; font-size: 20px; color: var(--gold); transition: transform 0.4s var(--ease-out); }
.contact-card:hover .contact-card__arrow { transform: translate(6px, -6px); }

.hours-table { border: 1px solid var(--line); }
.hours-row {
  display: flex; justify-content: space-between; gap: 16px;
  padding: 16px 22px;
  border-bottom: 1px solid var(--line-soft);
  font-size: 14px;
}
.hours-row:last-child { border-bottom: 0; }
.hours-row b { font-weight: 600; }
.hours-row .gold { color: var(--gold); font-style: italic; font-family: var(--font-serif); }

/* FAQ accordion */
.faq { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q {
  width: 100%;
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 24px 4px;
  text-align: left;
  font-family: var(--font-serif); font-size: clamp(17px, 1.8vw, 21px); font-weight: 600;
  transition: color 0.3s, padding-left 0.35s var(--ease-out);
}
.faq__q:hover { color: var(--brown); padding-left: 12px; }
.faq__icon {
  flex: none;
  width: 30px; height: 30px;
  border: 1px solid var(--line);
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 15px;
  transition: transform 0.45s var(--ease-out), background 0.3s, color 0.3s;
}
.faq__item.is-open .faq__icon { transform: rotate(45deg); background: var(--ink); color: var(--cream); border-color: var(--ink); }
.faq__a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.55s var(--ease-inout);
}
.faq__a-inner { padding: 0 4px 26px; font-size: 14.5px; line-height: 1.8; color: var(--ink-soft); max-width: 70ch; }

/* ---------- Utility ---------- */
.text-center { text-align: center; }
.mt-1 { margin-top: 12px; } .mt-2 { margin-top: 24px; } .mt-3 { margin-top: 40px; } .mt-4 { margin-top: 64px; }
.hidden { display: none !important; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .grain { display: none; }
  [data-reveal] { opacity: 1; transform: none; }
  [data-curtain]::after { display: none; }
  .hero__slide.is-active img { animation: none; }
}
