/* =====================================================================
   Pip's Palace — Rabbit Cafe & Farm
   Single source of truth. Every colour + fiddly value is a token here.
   No raw hex anywhere outside :root.
   ===================================================================== */

:root {
  /* --- Palette (drawn from the logo) --- */
  --paper:        #F3ECDC;   /* warm cream base (matched to logo ground) */
  --paper-2:      #ECE2CD;   /* deeper cream for alternating bands  */
  --paper-3:      #E4D8BE;   /* deepest cream / footer top          */
  --ink:          #2B2620;   /* warm charcoal text (never black)    */
  --ink-soft:     #5C544A;   /* secondary text                      */
  --ink-faint:    #8B8175;   /* captions, meta                      */
  --sage:         #8B9A76;   /* ring green                          */
  --sage-deep:    #6C7B57;   /* darker sage for text on cream       */
  --sage-tint:    #DCE1CE;   /* sage wash for cards / bands         */
  --gold:         #B4913A;   /* crown gold                          */
  --gold-deep:    #927219;   /* gold text that stays legible        */
  --gold-tint:    #EEE3C6;   /* gold wash                           */
  --rabbit-grey:  #A79F95;   /* Pip's coat                          */
  --ear-pink:     #D6AE9F;   /* quiet warm ear pink                 */
  --pip-blue:     #6E8CA8;   /* Pip's blue eye; a single glimmer    */
  --line:         rgba(43, 38, 32, 0.12);
  --line-strong:  rgba(43, 38, 32, 0.20);
  --shadow-soft:  0 10px 30px rgba(43, 38, 32, 0.08);
  --shadow-card:  0 14px 40px rgba(43, 38, 32, 0.10);

  /* --- Semantic aliases --- */
  --bg:           var(--paper);
  --bg-alt:       var(--paper-2);
  --accent:       var(--sage-deep);
  --accent-2:     var(--gold-deep);
  --btn-bg:       var(--ink);
  --btn-ink:      var(--paper);
  --cta:          var(--gold);

  /* --- Layout / geometry (tokenise anything fiddly) --- */
  --wrap-max:     1180px;
  --gutter:       clamp(20px, 5vw, 56px);
  --nav-h:        68px;
  --radius:       16px;
  --radius-lg:    22px;
  --radius-pill:  999px;
  --section-y:    clamp(64px, 9vw, 116px);

  /* --- Wordmark underline geometry --- */
  --wm-bar:            var(--gold);
  --wm-underline-drop: -0.16em;

  /* --- Type --- */
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-sans:    "Inter", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;

  /* --- Motion --- */
  --ease:       cubic-bezier(0.2, 0.7, 0.2, 1);
  --ease-snap:  cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ===================== Base ===================== */
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.01em;
  margin: 0 0 0.5em;
}
p { margin: 0 0 1em; }

.wrap {
  width: 100%;
  max-width: var(--wrap-max);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

.eyebrow {
  font-size: 12.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--accent);
  white-space: nowrap;
  margin: 0 0 14px;
}
.eyebrow--gold { color: var(--gold-deep); }

.lede { font-size: 18px; color: var(--ink-soft); max-width: 52ch; }
.dot-gold { color: var(--gold-deep); }

/* ===================== Buttons ===================== */
.btn {
  display: inline-flex; align-items: center; gap: 0.5em;
  font-family: var(--font-sans); font-weight: 600; font-size: 15.5px;
  padding: 13px 26px; border-radius: var(--radius-pill);
  text-decoration: none; white-space: nowrap; cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.25s var(--ease-snap), background 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.btn-primary { background: var(--ink); color: var(--paper); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: var(--shadow-soft); }
.btn-gold { background: var(--cta); color: var(--ink); }
.btn-gold:hover { transform: translateY(-2px); box-shadow: var(--shadow-soft); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn-ghost:hover { border-color: var(--ink); transform: translateY(-2px); }
.btn-sm { padding: 10px 18px; font-size: 14px; }

/* ===================== Announcement bar ===================== */
.announce { background: var(--ink); color: var(--paper); }
.announce-inner { display: flex; align-items: center; justify-content: center; gap: 8px 14px;
  padding: 9px 0; flex-wrap: wrap; text-align: center; }
.announce-tag { background: var(--gold); color: var(--ink); font-weight: 700; font-size: 10.5px;
  letter-spacing: 0.09em; text-transform: uppercase; padding: 3px 9px; border-radius: var(--radius-pill); }
.announce-text { font-size: 13.5px; color: rgba(243, 236, 220, 0.9); }
.announce-link { font-size: 13.5px; font-weight: 600; color: var(--paper);
  text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
.announce-link:hover { color: var(--cta); }

/* "Opening soon" pill */
.badge-soon { display: inline-block; background: var(--gold-tint); color: var(--gold-deep);
  font-weight: 700; font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 5px 12px; border-radius: var(--radius-pill); margin-bottom: 14px; }

/* ===================== Waitlist form ===================== */
.waitlist-form { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; max-width: 480px; margin: 6px auto 0; }
.waitlist-form input[type="email"] { flex: 1 1 220px; min-width: 0; padding: 14px 16px;
  border: 1px solid var(--line-strong); border-radius: var(--radius-pill); background: var(--paper);
  font: inherit; color: var(--ink); }
.waitlist-form .btn { flex: none; }
.waitlist-form .hp { position: absolute; left: -9999px; }
.waitlist-done { margin-top: 16px; font-weight: 600; color: var(--paper); }
.callout .badge-soon { background: var(--gold); color: var(--ink); }

/* ===================== Nav ===================== */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background 0.35s var(--ease), box-shadow 0.35s var(--ease),
              border-color 0.35s var(--ease), backdrop-filter 0.35s var(--ease);
}
.nav.scrolled {
  background: rgba(243, 236, 220, 0.86);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom-color: var(--line);
  box-shadow: 0 8px 24px rgba(43, 38, 32, 0.06);
}
.nav-inner {
  min-height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
}
.nav-brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.nav-brand img { height: 42px; width: auto; }
.nav-wordmark {
  font-family: var(--font-display); font-weight: 600; font-size: 20px;
  color: var(--ink); letter-spacing: -0.01em; white-space: nowrap;
  opacity: 1; transition: opacity 0.35s var(--ease);
}
/* On the home hero the big lockup is already on screen: hide the compact mark until scrolled */
body.is-home .nav-wordmark { opacity: 0; }
body.is-home .nav.scrolled .nav-wordmark { opacity: 1; }

.nav-links { display: flex; align-items: center; gap: 26px; }
.nav-links a {
  text-decoration: none; font-size: 15px; font-weight: 500; color: var(--ink-soft);
  white-space: nowrap; transition: color 0.2s var(--ease);
}
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--ink); }
.nav-links a[aria-current="page"] { font-weight: 600; }
.nav-cta { flex: none; white-space: nowrap; }
.nav-toggle { display: none; }

@media (max-width: 860px) {
  .nav-links { display: none; }
  .nav-toggle {
    display: inline-flex; flex-direction: column; gap: 5px; justify-content: center;
    width: 44px; height: 40px; background: transparent; border: 1px solid var(--line-strong);
    border-radius: 12px; cursor: pointer;
  }
  .nav-toggle span { display: block; height: 2px; width: 20px; margin: 0 auto; background: var(--ink); border-radius: 2px; }
  .nav.open .nav-links {
    display: flex; flex-direction: column; align-items: flex-start; gap: 16px;
    position: absolute; top: var(--nav-h); left: 0; right: 0;
    background: var(--paper); padding: 22px var(--gutter) 28px;
    border-bottom: 1px solid var(--line); box-shadow: var(--shadow-soft);
  }
  .nav.open .nav-cta { align-self: stretch; }
}

/* ===================== Hero ===================== */
.hero { padding: 46px 0 74px; }
.hero .grid {
  display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(28px, 5vw, 60px);
  align-items: center;
}
.hero-lockup { margin: 0 0 22px; }
.hero-lockup img { width: min(320px, 78%); height: auto; }
.hero h1 {
  font-size: clamp(38px, 5.4vw, 62px); line-height: 1.05;
  max-width: 15ch; margin: 0 0 18px;
}
.hero .lede { margin-bottom: 26px; }
.cta-row { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.hero-note { margin: 18px 0 0; font-size: 13.5px; color: var(--ink-faint); }

.hero-media {
  position: relative; min-height: 420px; border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow-card);
  background:
    radial-gradient(120% 90% at 30% 15%, var(--sage-tint), transparent 60%),
    linear-gradient(150deg, var(--gold-tint), var(--paper-2));
}
.hero-media .frame-note {
  position: absolute; inset: auto 0 0 0; padding: 14px 18px;
  font-size: 12.5px; color: var(--ink-soft);
  background: linear-gradient(0deg, rgba(244,237,221,0.92), transparent);
}
.hero-media .crest { position: absolute; inset: 0; display: grid; place-items: center; }
.hero-media .crest img { width: 58%; opacity: 0.92; filter: drop-shadow(0 8px 24px rgba(43,38,32,0.14)); }

/* Home hero brand lockup: the logo's own cream ground matches --paper, so it
   floats on the hero with no box. */
.hero-brand { display: grid; place-items: center; }
.hero-brand img { width: min(380px, 88%); height: auto; }
@media (max-width: 860px) { .hero-brand img { width: min(300px, 74%); } }

/* Home hero experience photo */
.hero-photo { position: relative; border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-card); aspect-ratio: 4 / 3; }
.hero-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-photo .cap {
  position: absolute; left: 14px; bottom: 14px; z-index: 2;
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(43, 38, 32, 0.72); color: var(--paper);
  font-size: 12.5px; font-weight: 600; letter-spacing: 0.02em;
  padding: 7px 13px; border-radius: var(--radius-pill); backdrop-filter: blur(4px);
}
.hero-photo .cap b { color: var(--cta); font-weight: 700; }

/* Hero "what you get" quick facts */
.hero-facts { display: flex; flex-wrap: wrap; gap: 8px 16px; list-style: none; padding: 0; margin: 20px 0 0; }
.hero-facts li { font-size: 14px; font-weight: 500; color: var(--ink-soft); display: inline-flex; align-items: center; }
.hero-facts li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); margin-right: 9px; }
@media (max-width: 860px) { .hero-facts { gap: 6px 14px; } .hero-facts li { font-size: 13px; } }

@media (max-width: 860px) {
  .hero { padding: 30px 0 44px; }
  .hero .grid { grid-template-columns: 1fr; gap: 26px; }
  .hero-lockup img { width: min(260px, 70%); }
  .hero h1 { font-size: clamp(32px, 8.4vw, 44px); }
  .hero .lede { font-size: 16px; }
  .hero-media { min-height: 300px; }
}
@media (max-width: 360px) { .hero h1 { font-size: 30px; } }

/* ===================== Sections ===================== */
.section { padding: var(--section-y) 0; }
.section--alt { background: var(--bg-alt); }
.section--sage { background: var(--sage-tint); }
.section-head { max-width: 62ch; margin: 0 0 clamp(30px, 4vw, 48px); }
.section-head h2 { font-size: clamp(28px, 3.6vw, 44px); }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

/* thin decorative rule with a small carrot glyph */
.rule { display: flex; align-items: center; gap: 12px; color: var(--gold-deep); margin: 0 0 18px; }
.rule::before, .rule::after { content: ""; height: 1px; background: var(--line-strong); flex: 1; }
.rule span { font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-faint); }

/* ===================== Cards ===================== */
.cards { display: grid; gap: clamp(18px, 2.5vw, 26px); }
.cards-3 { grid-template-columns: repeat(3, 1fr); }
.cards-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 860px) { .cards-3, .cards-2 { grid-template-columns: 1fr; } }

.card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; box-shadow: var(--shadow-soft);
}
.card h3 { font-size: 22px; margin-bottom: 8px; }
.card p { color: var(--ink-soft); margin: 0; font-size: 15.5px; }
.card .tag {
  display: inline-block; font-size: 11.5px; letter-spacing: 0.1em; text-transform: uppercase;
  font-weight: 600; color: var(--sage-deep); background: var(--sage-tint);
  padding: 4px 10px; border-radius: var(--radius-pill); margin-bottom: 14px;
}
.card .tag--gold { color: var(--gold-deep); background: var(--gold-tint); }

/* image frame — honest placeholder */
.imgframe {
  position: relative; border-radius: var(--radius); overflow: hidden;
  aspect-ratio: 4 / 3; box-shadow: var(--shadow-soft);
  background:
    radial-gradient(100% 80% at 25% 20%, var(--sage-tint), transparent 60%),
    linear-gradient(150deg, var(--gold-tint), var(--paper-2));
  display: grid; place-items: center;
}
.imgframe .label {
  position: absolute; inset: auto 0 0 0; padding: 10px 14px;
  font-size: 12px; color: var(--ink-soft);
  background: linear-gradient(0deg, rgba(244,237,221,0.92), transparent);
}
.imgframe .glyph { font-family: var(--font-display); font-size: 30px; color: var(--ink-faint); opacity: 0.6; }

/* ===================== Photos ===================== */
.framed {
  display: block; width: 100%; height: auto; object-fit: cover;
  border-radius: var(--radius); box-shadow: var(--shadow-card);
}
.split-media .framed { aspect-ratio: 4 / 3; }
.card-photo { aspect-ratio: 4 / 3; border-radius: var(--radius) var(--radius) 0 0; box-shadow: none; }

/* image-topped card variant */
.card.card--photo { padding: 0; overflow: hidden; }
.card.card--photo .card-body { padding: 22px 24px 26px; }
.card.card--photo h3 { margin-top: 4px; }

/* full-bleed-ish banner image */
.banner { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-card); }
.banner img { display: block; width: 100%; height: auto; object-fit: cover; aspect-ratio: 3 / 1; }
@media (max-width: 860px) { .banner img { aspect-ratio: 16 / 10; } }

/* ===================== Gallery ===================== */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(12px, 1.6vw, 18px); }
.gallery img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow-soft); aspect-ratio: 3 / 4; }
.gallery .wide { grid-column: span 2; aspect-ratio: 3 / 2; }
@media (max-width: 860px) { .gallery { grid-template-columns: repeat(2, 1fr); } .gallery .wide { grid-column: span 2; } }

/* ===================== Reviews ===================== */
.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 24px); }
@media (max-width: 860px) { .reviews-grid { grid-template-columns: 1fr; } }
.review { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow-soft); display: flex; flex-direction: column; gap: 12px; }
.stars { color: var(--gold-deep); letter-spacing: 2px; font-size: 15px; }
.review p { margin: 0; color: var(--ink); font-size: 15.5px; line-height: 1.5; }
.review .who { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.avatar { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: 14px; color: var(--paper); background: var(--sage-deep); flex: none; }
.avatar.gold { background: var(--gold-deep); }
.review .who .meta { font-size: 13.5px; color: var(--ink-soft); line-height: 1.3; }
.review .who .meta strong { color: var(--ink); font-weight: 600; display: block; }

/* ===================== Split feature ===================== */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 4vw, 56px); align-items: center; }
.split--reverse .split-media { order: 2; }
@media (max-width: 860px) { .split, .split--reverse { grid-template-columns: 1fr; }
  .split--reverse .split-media { order: 0; } }

/* ===================== Menu ===================== */
.menu-groups { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 4vw, 56px); }
@media (max-width: 860px) { .menu-groups { grid-template-columns: 1fr; } }
.menu-group h3 {
  font-size: 24px; padding-bottom: 10px; margin-bottom: 6px;
  border-bottom: 2px solid var(--gold); display: inline-block;
}
.menu-item {
  display: grid; grid-template-columns: 1fr auto; gap: 8px 16px;
  padding: 14px 0; border-bottom: 1px solid var(--line); align-items: baseline;
}
.menu-item .name { font-weight: 600; font-size: 16.5px; }
.menu-item .name .flag {
  font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; font-weight: 700;
  color: var(--sage-deep); margin-left: 8px;
}
.menu-item .desc { grid-column: 1 / 2; font-size: 14.5px; color: var(--ink-soft); margin: 2px 0 0; }
.menu-item .price { font-family: var(--font-display); font-weight: 600; font-size: 17px; color: var(--ink); }
.menu-key { margin-top: 26px; font-size: 13.5px; color: var(--ink-faint); }
.menu-key .flag { color: var(--sage-deep); font-weight: 700; }

/* ===================== Booking mock ===================== */
.booking { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(24px, 3.5vw, 44px); align-items: start; }
@media (max-width: 900px) { .booking { grid-template-columns: 1fr; } }
.book-step { margin-bottom: 30px; }
.book-step .step-label {
  display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 14px;
  letter-spacing: 0.04em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 14px;
}
.book-step .step-num {
  width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center;
  background: var(--ink); color: var(--paper); font-size: 12px; font-weight: 700;
}
.choice-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.choice {
  border: 1px solid var(--line-strong); background: var(--paper); border-radius: 14px;
  padding: 14px 16px; cursor: pointer; text-align: left; font: inherit; color: inherit;
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease), transform 0.2s var(--ease-snap);
}
.choice:hover { transform: translateY(-2px); border-color: var(--ink); }
.choice[aria-pressed="true"] { border-color: var(--sage-deep); background: var(--sage-tint); }
.choice .c-title { display: block; font-weight: 600; font-size: 15.5px; }
.choice .c-sub { display: block; font-size: 13px; color: var(--ink-soft); margin-top: 2px; }
.slot-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 10px; }
.slot { padding: 11px 8px; text-align: center; border-radius: 12px; border: 1px solid var(--line-strong);
  background: var(--paper); cursor: pointer; font: inherit; font-weight: 600; font-size: 14.5px;
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease); }
.slot:hover { border-color: var(--ink); }
.slot[aria-pressed="true"] { border-color: var(--gold-deep); background: var(--gold-tint); }
.slot[disabled] { opacity: 0.4; cursor: not-allowed; text-decoration: line-through; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 13.5px; font-weight: 600; color: var(--ink-soft); margin-bottom: 6px; }
.field input, .field select {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line-strong); border-radius: 12px;
  background: var(--paper); font: inherit; color: var(--ink);
}
.stepper { display: inline-flex; align-items: center; gap: 0; border: 1px solid var(--line-strong); border-radius: 12px; overflow: hidden; }
.stepper button { width: 44px; height: 44px; background: var(--paper); border: none; font-size: 20px; cursor: pointer; color: var(--ink); }
.stepper button:hover { background: var(--sage-tint); }
.stepper .count { min-width: 48px; text-align: center; font-weight: 600; }

.summary {
  position: sticky; top: calc(var(--nav-h) + 16px);
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px; box-shadow: var(--shadow-card);
}
.summary h3 { font-size: 22px; margin-bottom: 16px; }
.summary-row { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.summary-row .k { color: var(--ink-soft); }
.summary-row .v { font-weight: 600; text-align: right; }
.summary-total { display: flex; justify-content: space-between; align-items: baseline; margin: 16px 0 4px; }
.summary-total .lbl { font-weight: 600; }
.summary-total .amt { font-family: var(--font-display); font-weight: 600; font-size: 30px; }
.summary .fineprint { font-size: 12.5px; color: var(--ink-faint); margin: 6px 0 18px; }
.summary .btn { width: 100%; justify-content: center; }
.demo-note {
  font-size: 12.5px; color: var(--gold-deep); background: var(--gold-tint);
  border-radius: 10px; padding: 8px 12px; margin-top: 14px; text-align: center;
}

/* ===================== Shop ===================== */
.shop-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 2.5vw, 28px); }
@media (max-width: 860px) { .shop-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .shop-grid { grid-template-columns: 1fr; } }
.product { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-soft);
  display: flex; flex-direction: column; }
.product .imgframe { aspect-ratio: 1 / 1; border-radius: 0; box-shadow: none; }
.product .framed { aspect-ratio: 1 / 1; border-radius: 0; box-shadow: none; }
.product .body { padding: 18px 18px 20px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.product h3 { font-size: 18px; margin: 0; }
.product .p-desc { font-size: 13.5px; color: var(--ink-soft); margin: 0; flex: 1; }
.product .p-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 10px; }
.product .price { font-family: var(--font-display); font-weight: 600; font-size: 20px; }

.basket-pill {
  position: relative; display: inline-flex; align-items: center; gap: 8px;
}
.basket-count {
  min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px;
  background: var(--gold); color: var(--ink); font-size: 12px; font-weight: 700;
  display: inline-grid; place-items: center;
}

/* ===================== Membership tiers ===================== */
.tiers { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(18px, 2.4vw, 28px); align-items: start; }
@media (max-width: 760px) { .tiers { grid-template-columns: 1fr; } }
.tier {
  position: relative; background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 30px 28px; box-shadow: var(--shadow-soft);
  display: flex; flex-direction: column; gap: 6px;
}
.tier.featured { border-color: var(--gold); box-shadow: var(--shadow-card); }
.tier .badge {
  position: absolute; top: -12px; right: 24px; background: var(--gold); color: var(--ink);
  font-size: 11.5px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  padding: 5px 12px; border-radius: var(--radius-pill);
}
.tier h3 { font-size: 24px; margin: 0; }
.tier .price-lg { font-family: var(--font-display); font-weight: 600; font-size: 40px; line-height: 1; margin: 6px 0 2px; }
.tier .price-lg span { font-family: var(--font-sans); font-size: 15px; font-weight: 500; color: var(--ink-soft); }
.tier .tier-sub { color: var(--ink-soft); font-size: 14.5px; margin: 0 0 14px; }
.tier ul { list-style: none; padding: 0; margin: 0 0 22px; display: grid; gap: 11px; }
.tier ul li { position: relative; padding-left: 26px; font-size: 15px; color: var(--ink); }
.tier ul li::before {
  content: ""; position: absolute; left: 0; top: 7px; width: 13px; height: 8px;
  border-left: 2px solid var(--sage-deep); border-bottom: 2px solid var(--sage-deep);
  transform: rotate(-45deg);
}
.tier .btn { margin-top: auto; width: 100%; justify-content: center; }
.tier-note { text-align: center; margin-top: 22px; font-size: 13.5px; color: var(--ink-faint); }

/* ===================== Gift voucher card ===================== */
.voucher { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 3vw, 40px); align-items: center;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow-card); }
@media (max-width: 760px) { .voucher { grid-template-columns: 1fr; } }
.voucher .voucher-media { position: relative; min-height: 100%; }
.voucher .voucher-media img { display: block; width: 100%; height: 100%; object-fit: cover; aspect-ratio: 1 / 1; }
.voucher .voucher-body { padding: clamp(24px, 3vw, 40px); }
.voucher h3 { font-size: clamp(24px, 2.6vw, 32px); margin: 0 0 8px; }
.voucher p { color: var(--ink-soft); font-size: 15.5px; margin: 0 0 18px; }
.amount-row { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 18px; }
.amount { padding: 11px 20px; border-radius: var(--radius-pill); border: 1px solid var(--line-strong);
  background: var(--paper); cursor: pointer; font: inherit; font-weight: 600; color: var(--ink);
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease); }
.amount:hover { border-color: var(--ink); }
.amount[aria-pressed="true"] { border-color: var(--gold-deep); background: var(--gold-tint); }

/* ===================== Callout band ===================== */
.callout { background: var(--ink); color: var(--paper); border-radius: var(--radius-lg); padding: clamp(34px, 5vw, 60px); text-align: center; }
.callout h2 { color: var(--paper); font-size: clamp(26px, 3.6vw, 42px); }
.callout p { color: rgba(244,237,221,0.82); max-width: 48ch; margin: 0 auto 24px; }

/* ===================== Footer ===================== */
.footer { background: var(--paper); border-top: 1px solid var(--line); padding: clamp(46px, 6vw, 76px) 0 34px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 36px; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr; gap: 28px; } }
.footer-brand img { height: 96px; width: auto; margin-bottom: 10px; }
.footer-brand p { color: var(--ink-soft); font-size: 14.5px; max-width: 34ch; }
.footer h4 { font-family: var(--font-sans); font-size: 12.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-faint); margin-bottom: 14px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer a { text-decoration: none; color: var(--ink-soft); font-size: 15px; }
.footer a:hover { color: var(--ink); }
.footer-base { margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13px; color: var(--ink-faint); }

/* ===================== Scroll reveal =====================
   Progressive enhancement: only hide when JS is present, so content is
   never permanently invisible if the script fails or JS is off. */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .nav, .nav-wordmark, .btn, .choice, .slot, .reveal { transition: none; }
  .js .reveal { opacity: 1; transform: none; }
}
