/* ==========================================================================
   Bakes n Bites — Demo house style (F&B / heritage hawker bakery)
   Built on the project DESIGN.md system, themed for food & beverage:
   warm cream base + deep terracotta brand + espresso ink, Fraunces + Hanken.
   Mobile-first. WCAG 2.2 AA. Self-contained (no build step).
   ========================================================================== */

/* ----- Design tokens ----------------------------------------------------- */
:root {
  /* Colour — F&B theming of the house warm-off-white base.
     Brand colour carries identity; everything else stays neutral. */
  --bg: #FBF7F1;            /* warm cream canvas (avoid clinical pure white) */
  --surface: #FFFFFF;       /* clean raised surface for cards */
  --surface-warm: #F4EADD;  /* warm tinted surface band */
  --ink: #2A2118;           /* espresso near-black body text (avoid pure black) */
  --ink-soft: #5A4F44;      /* warm muted text — passes >=7:1 on cream */
  --line: #E8DDCD;          /* warm hairline border */
  --line-strong: #D8C6AE;   /* stronger warm border */

  --brand: #A1432B;         /* deep terracotta — fills carry white text >=4.5:1 */
  --brand-deep: #863521;    /* hover / link text on light (>=7:1 on cream) */
  --brand-tint: #F3E1D7;    /* light terracotta wash */
  --brand-wash: #FBEDE6;    /* faintest terracotta wash */
  --honey: #C2872E;         /* warm amber — decorative accents only, never body text */
  --honey-deep: #8A5E16;    /* amber that passes as text on cream when needed */

  --whatsapp: #1FA855;      /* WhatsApp green, darkened for white-text AA on buttons */
  --whatsapp-deep: #18914A;

  /* Type */
  --font-body: "Hanken Grotesk", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --font-head: "Fraunces", Georgia, "Times New Roman", serif;

  /* Fluid type scale (mobile -> desktop), bounds per DESIGN.md */
  --fs-body: clamp(1.0625rem, 1rem + 0.3vw, 1.125rem);  /* 17->18px, floor 16 */
  --fs-small: 1rem;                                       /* 16px */
  --fs-h3: clamp(1.375rem, 1.2rem + 0.7vw, 1.5rem);      /* 22->24 */
  --fs-h2: clamp(1.75rem, 1.45rem + 1.4vw, 2rem);        /* 28->32 */
  --fs-h1: clamp(2.125rem, 1.55rem + 2.7vw, 2.9rem);     /* 34->~46 (<=6rem ceiling) */
  --fs-display: clamp(2.5rem, 1.7rem + 3.6vw, 3.75rem);  /* hero only */

  /* Spacing — 8px scale */
  --s-1: 0.5rem;  --s-2: 1rem;   --s-3: 1.5rem; --s-4: 2rem;
  --s-6: 3rem;    --s-8: 4rem;    --s-10: 5rem;  --s-12: 6rem;

  /* Radius */
  --r-sm: 8px; --r-md: 12px; --r-lg: 20px; --r-pill: 999px;

  /* Shadow — low and diffuse, never glowy */
  --sh-1: 0 1px 2px rgba(42, 33, 24, 0.05);
  --sh-2: 0 6px 20px -8px rgba(42, 33, 24, 0.18);
  --sh-3: 0 18px 44px -16px rgba(42, 33, 24, 0.28);

  /* Semantic z-index scale */
  --z-sticky: 100; --z-nav: 200; --z-drawer: 300; --z-bar: 250;

  --container: 1180px;
  --measure: 68ch;
}

/* ----- Reset / base ------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.55;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg, picture { display: block; max-width: 100%; }
img { height: auto; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.015em;
  color: var(--ink);
  text-wrap: balance;
}
h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); line-height: 1.2; }
p { text-wrap: pretty; }

a { color: var(--brand-deep); text-underline-offset: 0.18em; }
a:hover { color: var(--brand); }

ul, ol { padding-left: 1.1em; }

:focus-visible {
  outline: 3px solid var(--brand-deep);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ----- Layout helpers ---------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(1.15rem, 0.6rem + 2.5vw, 2.5rem);
}
.section { padding-block: clamp(3.25rem, 2rem + 5vw, 5.5rem); }
.section--warm { background: var(--surface-warm); }
.section--brand { background: var(--brand); color: #FFF7F2; }
.section--brand h2, .section--brand h3 { color: #FFFFFF; }
.measure { max-width: var(--measure); }
.center { text-align: center; margin-inline: auto; }

.eyebrow {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  color: var(--brand-deep);
  display: inline-flex; align-items: center; gap: 0.5rem;
}
.section--brand .eyebrow { color: #FCE6DC; }

.lead { font-size: clamp(1.1rem, 1rem + 0.5vw, 1.28rem); color: var(--ink-soft); line-height: 1.6; }
.muted { color: var(--ink-soft); }

.skip-link {
  position: absolute; left: 0.75rem; top: -3.5rem;
  background: var(--ink); color: #fff; padding: 0.7rem 1.1rem;
  border-radius: var(--r-sm); z-index: 400; transition: top .15s ease;
}
.skip-link:focus { top: 0.75rem; color: #fff; }

/* ----- Buttons ----------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem;
  min-height: 48px; padding: 0.8rem 1.5rem;
  font-family: var(--font-body); font-weight: 600; font-size: 1rem; line-height: 1;
  border-radius: var(--r-pill); border: 2px solid transparent;
  cursor: pointer; text-decoration: none; white-space: nowrap;
  transition: transform .18s cubic-bezier(.22,1,.36,1), background-color .18s ease, box-shadow .18s ease, color .18s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn svg { width: 1.15em; height: 1.15em; flex: none; }

.btn-primary { background: var(--brand); color: #fff; box-shadow: var(--sh-2); }
.btn-primary:hover { background: var(--brand-deep); color: #fff; box-shadow: var(--sh-3); }

.btn-secondary { background: transparent; color: var(--brand-deep); border-color: var(--line-strong); }
.btn-secondary:hover { background: var(--brand-wash); color: var(--brand-deep); border-color: var(--brand); }
.section--brand .btn-secondary { color: #fff; border-color: rgba(255,255,255,.6); }
.section--brand .btn-secondary:hover { background: rgba(255,255,255,.12); color: #fff; }

.btn-whatsapp { background: var(--whatsapp); color: #fff; box-shadow: var(--sh-2); }
.btn-whatsapp:hover { background: var(--whatsapp-deep); color: #fff; box-shadow: var(--sh-3); }

.btn-block { width: 100%; }
@media (prefers-reduced-motion: reduce) { .btn:hover { transform: none; } }

/* ----- Header / navigation ---------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: var(--z-nav);
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 68px; }

.brand-mark { display: inline-flex; align-items: center; gap: 0.6rem; text-decoration: none; color: var(--ink); }
.brand-mark:hover { color: var(--ink); }
.brand-mark .logo-badge { width: 38px; height: 38px; flex: none; }
.brand-mark .wordmark { font-family: var(--font-head); font-weight: 600; font-size: 1.3rem; letter-spacing: -0.01em; line-height: 1; }
.brand-mark .wordmark small { display: block; font-family: var(--font-body); font-weight: 600; font-size: 0.62rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--brand-deep); margin-top: 2px; }

.nav-links { display: none; }
.nav-actions { display: flex; align-items: center; gap: 0.6rem; }

.nav-toggle {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  min-height: 44px; min-width: 44px; padding: 0 0.7rem;
  background: transparent; border: 1.5px solid var(--line-strong); border-radius: var(--r-sm);
  font-family: var(--font-body); font-weight: 600; color: var(--ink); cursor: pointer;
}
.nav-toggle .bars { position: relative; width: 18px; height: 12px; }
.nav-toggle .bars span { position: absolute; left: 0; width: 100%; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .2s ease, opacity .2s ease; }
.nav-toggle .bars span:nth-child(1) { top: 0; }
.nav-toggle .bars span:nth-child(2) { top: 5px; }
.nav-toggle .bars span:nth-child(3) { top: 10px; }

/* Mobile drawer */
.nav-drawer {
  position: fixed; inset: 0 0 0 auto; width: min(82vw, 340px);
  background: var(--surface); z-index: var(--z-drawer);
  transform: translateX(100%); transition: transform .26s cubic-bezier(.22,1,.36,1);
  box-shadow: var(--sh-3); padding: 1.25rem; display: flex; flex-direction: column; gap: 0.25rem;
  overflow-y: auto;
}
.nav-drawer[data-open="true"] { transform: translateX(0); }
.nav-backdrop {
  position: fixed; inset: 0; background: rgba(42,33,24,.42); z-index: var(--z-bar);
  opacity: 0; visibility: hidden; transition: opacity .26s ease, visibility .26s ease;
}
.nav-backdrop[data-open="true"] { opacity: 1; visibility: visible; }
.nav-drawer .drawer-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 0.75rem; }
.nav-drawer .drawer-close { min-height: 44px; min-width: 44px; border: 0; background: var(--surface-warm); border-radius: var(--r-sm); font-size: 1.4rem; line-height: 1; cursor: pointer; color: var(--ink); }
.nav-drawer a.drawer-link { display: block; padding: 0.85rem 0.75rem; border-radius: var(--r-sm); text-decoration: none; color: var(--ink); font-weight: 600; font-size: 1.1rem; }
.nav-drawer a.drawer-link:hover, .nav-drawer a.drawer-link[aria-current="page"] { background: var(--brand-wash); color: var(--brand-deep); }
.nav-drawer .drawer-cta { margin-top: 0.85rem; display: grid; gap: 0.6rem; }

@media (min-width: 900px) {
  .nav-links { display: flex; align-items: center; gap: 0.35rem; }
  .nav-links a {
    padding: 0.6rem 0.9rem; border-radius: var(--r-sm); text-decoration: none;
    color: var(--ink); font-weight: 600; font-size: 1.02rem;
  }
  .nav-links a:hover { background: var(--brand-wash); color: var(--brand-deep); }
  .nav-links a[aria-current="page"] { color: var(--brand-deep); }
  .nav-links a[aria-current="page"]::after { content: ""; display: block; height: 2px; background: var(--brand); border-radius: 2px; margin-top: 3px; }
  .nav-toggle { display: none; }
}

/* ----- Hero -------------------------------------------------------------- */
.hero { position: relative; overflow: hidden; background: linear-gradient(180deg, var(--brand-wash), var(--bg) 70%); }
.hero .container { position: relative; z-index: 1; }
.hero-grid { display: grid; gap: clamp(1.75rem, 1rem + 4vw, 3.5rem); align-items: center; padding-block: clamp(2.5rem, 1.5rem + 5vw, 5rem); }
.hero-copy .eyebrow { margin-bottom: 1rem; }
.hero h1 { font-size: var(--fs-display); font-weight: 600; }
.hero h1 em { font-style: italic; color: var(--brand-deep); }
.hero-copy .lead { margin-top: 1.15rem; max-width: 32ch; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.75rem; }
.hero-trust { margin-top: 1.6rem; font-size: 0.95rem; color: var(--ink-soft); }
.hero-trust strong { color: var(--ink); font-weight: 700; }

@media (min-width: 860px) {
  .hero-grid { grid-template-columns: 1.05fr 0.95fr; }
}

/* ----- Photo slots (honest stand-ins for owner's real photos) ------------ */
.photo-slot {
  position: relative; border-radius: var(--r-lg); overflow: hidden;
  background:
    radial-gradient(120% 120% at 80% 10%, var(--brand-tint), transparent 60%),
    linear-gradient(160deg, #FBEFE6, #F1E0CF);
  border: 1px solid var(--line-strong);
  display: grid; place-items: center; text-align: center;
  color: var(--brand-deep); aspect-ratio: 4 / 3;
}
.photo-slot--hero { aspect-ratio: 5 / 6; box-shadow: var(--sh-3); }
.photo-slot--wide { aspect-ratio: 16 / 10; }
.photo-slot__art { width: clamp(84px, 30%, 150px); height: auto; opacity: 0.92; }
.photo-slot__tag {
  position: absolute; left: 0.85rem; bottom: 0.85rem;
  display: inline-flex; align-items: center; gap: 0.4rem;
  background: rgba(255,255,255,.86); color: var(--ink-soft);
  font-size: 0.78rem; font-weight: 600; padding: 0.35rem 0.6rem; border-radius: var(--r-pill);
  box-shadow: var(--sh-1);
}
.photo-slot__tag svg { width: 0.95rem; height: 0.95rem; color: var(--brand-deep); }
/* Filled slots: a real sourced photo covers the frame */
.photo-slot.has-photo { background: var(--surface-warm); }
.photo-slot.has-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* ----- Generic content blocks ------------------------------------------- */
.section-head { max-width: 56ch; margin-bottom: clamp(1.75rem, 1rem + 2vw, 2.75rem); }
.section-head.center { margin-inline: auto; }
.section-head h2 { margin-top: 0.7rem; }
.section-head p { margin-top: 0.85rem; }

/* Feature highlights */
.features { display: grid; gap: 1.1rem; grid-template-columns: 1fr; }
@media (min-width: 620px) { .features { grid-template-columns: 1fr 1fr; } }
@media (min-width: 980px) { .features { grid-template-columns: repeat(4, 1fr); } }
.feature { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); padding: 1.4rem; box-shadow: var(--sh-1); }
.feature .ic { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 10px; background: var(--brand-wash); color: var(--brand-deep); margin-bottom: 0.9rem; }
.feature .ic svg { width: 22px; height: 22px; }
.feature h3 { font-size: 1.18rem; }
.feature p { margin-top: 0.4rem; font-size: 0.98rem; color: var(--ink-soft); }

/* Menu items */
.menu-grid { display: grid; gap: 1.25rem; grid-template-columns: 1fr; }
@media (min-width: 600px) { .menu-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 980px) { .menu-grid { grid-template-columns: repeat(3, 1fr); } }
.menu-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; box-shadow: var(--sh-1); display: flex; flex-direction: column; }
.menu-card .photo-slot { border-radius: 0; border: 0; border-bottom: 1px solid var(--line); aspect-ratio: 4 / 3; }
.menu-card .photo-slot__art { width: clamp(64px, 26%, 104px); }
.menu-card .body { padding: 1.1rem 1.15rem 1.25rem; display: flex; flex-direction: column; gap: 0.3rem; flex: 1; }
.menu-card .row { display: flex; align-items: baseline; justify-content: space-between; gap: 0.75rem; }
.menu-card h3 { font-size: 1.2rem; }
.menu-card .price { font-family: var(--font-body); font-weight: 700; color: var(--brand-deep); white-space: nowrap; }
.menu-card .desc { font-size: 0.95rem; color: var(--ink-soft); }
.badge {
  align-self: flex-start; margin-top: 0.5rem;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.02em; text-transform: uppercase;
  padding: 0.28rem 0.55rem; border-radius: var(--r-pill);
  background: var(--brand); color: #fff;
}
.badge--soft { background: var(--brand-wash); color: var(--brand-deep); }
.badge--honey { background: #F6E8CC; color: var(--honey-deep); }

.menu-note { margin-top: 1.5rem; font-size: 0.92rem; color: var(--ink-soft); }

/* Menu list (full menu page) */
.menu-cat { margin-top: clamp(2rem, 1rem + 3vw, 3.25rem); }
.menu-cat__head { display: flex; align-items: baseline; gap: 0.75rem; flex-wrap: wrap; border-bottom: 2px solid var(--line-strong); padding-bottom: 0.6rem; margin-bottom: 1.1rem; }
.menu-cat__head h3 { font-size: clamp(1.4rem, 1.2rem + 1vw, 1.7rem); }
.menu-cat__head .hint { font-size: 0.9rem; color: var(--ink-soft); }
.price-list { display: grid; gap: 0.2rem; }
.price-row { display: grid; grid-template-columns: 1fr auto; gap: 0.4rem 1rem; align-items: baseline; padding: 0.7rem 0; border-bottom: 1px dashed var(--line); }
.price-row:last-child { border-bottom: 0; }
.price-row .name { font-weight: 600; }
.price-row .name .tag-inline { font-family: var(--font-body); font-weight: 700; font-size: 0.66rem; text-transform: uppercase; letter-spacing: 0.03em; color: var(--brand-deep); background: var(--brand-wash); padding: 0.12rem 0.4rem; border-radius: var(--r-pill); margin-left: 0.5rem; vertical-align: middle; }
.price-row .price { font-weight: 700; color: var(--brand-deep); }
.price-row .name p { font-weight: 400; font-size: 0.92rem; color: var(--ink-soft); margin-top: 0.15rem; }

/* Press strip */
.press { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 0.9rem 1.75rem; }
.press span { font-family: var(--font-head); font-weight: 600; font-size: clamp(1.05rem, 0.9rem + 0.6vw, 1.4rem); color: var(--ink-soft); opacity: 0.85; }

/* Quotes */
.quotes { display: grid; gap: 1.25rem; grid-template-columns: 1fr; }
@media (min-width: 820px) { .quotes { grid-template-columns: 1fr 1fr; } }
.quote { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); padding: 1.6rem; box-shadow: var(--sh-1); }
.quote blockquote { font-family: var(--font-head); font-size: 1.22rem; line-height: 1.4; color: var(--ink); }
.quote .cite { margin-top: 0.9rem; font-size: 0.9rem; font-weight: 700; color: var(--brand-deep); }
.quote .stars { color: var(--honey); letter-spacing: 2px; margin-bottom: 0.6rem; }

/* Split (story / cta) */
.split { display: grid; gap: clamp(1.75rem, 1rem + 4vw, 3.5rem); align-items: center; }
@media (min-width: 820px) { .split { grid-template-columns: 1fr 1fr; } .split.reverse > :first-child { order: 2; } }

/* FAQ */
.faq { display: grid; gap: 0.75rem; max-width: 60ch; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); box-shadow: var(--sh-1); overflow: hidden; }
.faq summary { cursor: pointer; padding: 1.05rem 1.2rem; font-weight: 700; font-size: 1.05rem; list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .chev { flex: none; transition: transform .2s ease; color: var(--brand-deep); }
.faq details[open] summary .chev { transform: rotate(180deg); }
.faq .ans { padding: 0 1.2rem 1.2rem; color: var(--ink-soft); }
.faq .ans p + p { margin-top: 0.6rem; }
@media (prefers-reduced-motion: reduce) { .faq summary .chev { transition: none; } }

/* Info / contact cards */
.info-grid { display: grid; gap: 1.25rem; grid-template-columns: 1fr; }
@media (min-width: 760px) { .info-grid { grid-template-columns: 1fr 1fr; } }
.info-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); padding: 1.5rem; box-shadow: var(--sh-1); }
.info-card h3 { font-size: 1.25rem; margin-bottom: 0.6rem; }
.info-list { list-style: none; padding: 0; display: grid; gap: 0.7rem; }
.info-list li { display: flex; gap: 0.7rem; align-items: flex-start; }
.info-list svg { width: 1.25rem; height: 1.25rem; color: var(--brand-deep); flex: none; margin-top: 0.15rem; }
.info-list a { font-weight: 600; }
.hours-table { width: 100%; border-collapse: collapse; }
.hours-table th, .hours-table td { text-align: left; padding: 0.5rem 0; border-bottom: 1px dashed var(--line); font-size: 0.98rem; }
.hours-table td:last-child { text-align: right; font-weight: 600; }
.hours-table tr:last-child th, .hours-table tr:last-child td { border-bottom: 0; }
.hours-table .closed { color: var(--brand-deep); }

/* Map */
.map-frame { border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line-strong); box-shadow: var(--sh-2); }
.map-frame iframe { display: block; width: 100%; height: clamp(280px, 40vw, 420px); border: 0; }

/* Form */
.form-grid { display: grid; gap: 1rem; }
.field { display: grid; gap: 0.4rem; }
.field label { font-weight: 600; font-size: 0.98rem; }
.field input, .field textarea, .field select {
  font: inherit; color: var(--ink); background: var(--surface);
  border: 1.5px solid var(--line-strong); border-radius: var(--r-sm);
  padding: 0.75rem 0.85rem; min-height: 48px; width: 100%;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { outline: 3px solid var(--brand-deep); outline-offset: 1px; border-color: var(--brand); }
.field .hint { font-size: 0.85rem; color: var(--ink-soft); }
.form-consent { font-size: 0.88rem; color: var(--ink-soft); display: flex; gap: 0.55rem; align-items: flex-start; }

/* Callout (PayNow / ordering) */
.callout { background: var(--surface-warm); border: 1px solid var(--line-strong); border-radius: var(--r-md); padding: 1.25rem 1.35rem; display: flex; gap: 1rem; align-items: flex-start; }
.callout svg { width: 1.6rem; height: 1.6rem; color: var(--brand-deep); flex: none; }
.callout h3 { font-size: 1.1rem; }
.callout p { font-size: 0.95rem; color: var(--ink-soft); margin-top: 0.25rem; }

/* CTA band */
.cta-band { text-align: center; }
.cta-band h2 { color: #fff; }
.cta-band p { color: #FCE6DC; margin-top: 0.8rem; max-width: 50ch; margin-inline: auto; }
.cta-band .hero-cta { justify-content: center; margin-top: 1.75rem; }

/* ----- Sticky mobile contact bar ---------------------------------------- */
.contact-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: var(--z-bar);
  display: grid; grid-template-columns: 1fr 1fr; gap: 0;
  background: var(--surface); border-top: 1px solid var(--line-strong);
  box-shadow: 0 -8px 24px -12px rgba(42,33,24,.3);
  padding: 0.5rem; padding-bottom: max(0.5rem, env(safe-area-inset-bottom));
  gap: 0.5rem;
}
.contact-bar a { min-height: 50px; border-radius: var(--r-sm); font-size: 1rem; }
@media (min-width: 900px) { .contact-bar { display: none; } }
body { padding-bottom: 76px; }
@media (min-width: 900px) { body { padding-bottom: 0; } }

/* ----- Footer ------------------------------------------------------------ */
.site-footer { background: var(--ink); color: #E9E0D5; padding-block: clamp(2.5rem, 1.5rem + 4vw, 4rem); }
.site-footer a { color: #F0E6DA; }
.site-footer a:hover { color: #fff; }
.footer-grid { display: grid; gap: 2rem; grid-template-columns: 1fr; }
@media (min-width: 720px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.footer-brand .wordmark { font-family: var(--font-head); font-size: 1.5rem; font-weight: 600; color: #fff; }
.footer-brand p { margin-top: 0.75rem; color: #C9BEB0; max-width: 34ch; font-size: 0.96rem; }
.footer-col h4 { font-family: var(--font-body); font-size: 0.82rem; letter-spacing: 0.1em; text-transform: uppercase; color: #C9BEB0; margin-bottom: 0.9rem; }
.footer-col ul { list-style: none; padding: 0; display: grid; gap: 0.55rem; }
.footer-col a { text-decoration: none; }
.footer-col a:hover { text-decoration: underline; }
.footer-col address { font-style: normal; color: #C9BEB0; font-size: 0.96rem; line-height: 1.6; }
.site-footer .footer-soft { color: #C9BEB0; }
.footer-bottom { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.12); display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; justify-content: space-between; align-items: center; font-size: 0.86rem; color: #B7AC9D; }
.social-row { display: flex; gap: 0.6rem; margin-top: 1rem; }
.social-row a { width: 42px; height: 42px; display: grid; place-items: center; border-radius: var(--r-sm); background: rgba(255,255,255,.08); }
.social-row svg { width: 20px; height: 20px; }

/* ----- Motion: reveal (enhances an already-visible default) --------------
   Only the `.js` class (added by script before paint) opts content into the
   hidden-then-revealed state. With no JS, or reduced motion, content is fully
   visible — the reveal can never strand a section blank. */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s cubic-bezier(.22,1,.36,1); }
  .js .reveal.is-in { opacity: 1; transform: none; }
}

/* Utilities */
.stack-sm > * + * { margin-top: 0.75rem; }
.mt-1 { margin-top: 0.5rem; } .mt-2 { margin-top: 1rem; } .mt-4 { margin-top: 2rem; }
.taglist { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1rem; }
.tag { font-size: 0.85rem; font-weight: 600; color: var(--brand-deep); background: var(--brand-wash); padding: 0.4rem 0.75rem; border-radius: var(--r-pill); }