/* ==========================================================================
   Beech & Bolster — Brand & Website
   Design system / shared styles
   Ported from "Beech & Bolster - Brand & Website.dc.html"
   ========================================================================== */

/* ---- Fonts (self-hosted, latin subset; Newsreader as static 300/400 instances; SIL Open Font Licence — see assets/fonts/OFL-*.txt) */
@font-face { font-family: 'Newsreader'; font-style: normal; font-weight: 300; font-display: swap; src: url('../fonts/newsreader-normal-300.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Newsreader'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/newsreader-normal-400.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Newsreader'; font-style: italic; font-weight: 300; font-display: swap; src: url('../fonts/newsreader-italic-300.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Newsreader'; font-style: italic; font-weight: 400; font-display: swap; src: url('../fonts/newsreader-italic-400.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Spectral'; font-style: italic; font-weight: 400; font-display: swap; src: url('../fonts/spectral-italic-400.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Spectral'; font-style: normal; font-weight: 300; font-display: swap; src: url('../fonts/spectral-normal-300.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Spectral'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/spectral-normal-400.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Spectral'; font-style: normal; font-weight: 500; font-display: swap; src: url('../fonts/spectral-normal-500.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* ---- Design tokens ------------------------------------------------------- */
:root {
  /* Brand palette */
  --sage:        #6f7d5e;
  --sage-deep:   #5f7049;
  --terracotta:  #c66a52;
  --terracotta-deep: #b0563f;
  --petrol:      #3f5566;
  --petrol-deep: #2c3a45;
  --ochre:       #d9a441;
  --gold:        #b98a30;
  --blush:       #d8a999;
  --blush-soft:  #e0a892;
  --blush-pale:  #f0c9bc;

  /* Neutrals */
  --linen:       #f4efe4;   /* page background */
  --paper:       #faf7f0;   /* cards / panels  */
  --paper-warm:  #ece6d8;
  --ink:         #2e2a23;   /* primary text    */
  --ink-2:       #4f483c;   /* body text       */
  --muted:       #6b6457;
  --muted-2:     #6f6550;   /* labels / meta — darkened to clear WCAG AA on linen/paper/paper-warm */
  --muted-soft:  #9a8f76;   /* decorative-only warm taupe (non-text accents) */
  --footer-muted:#a39a85;   /* footer meta on dark — clears AA */
  --line:        #e6ded0;   /* hairlines on paper */
  --line-2:      #ddd5c6;   /* section dividers   */
  --dark:        #2f2c25;   /* footer          */

  /* Configurable accent (the "Tweaks" colour) */
  --accent:      var(--terracotta);
  /* Deeper accent for filled buttons and badges, so light text on it meets
     WCAG AA (4.5:1). main.js sets the matching shade for each accent. */
  --accent-strong: var(--terracotta-deep);

  /* Type */
  --display: "Newsreader", Georgia, "Times New Roman", serif;
  --body:    "Spectral", Georgia, "Times New Roman", serif;
  --mono:    ui-monospace, Menlo, Consolas, monospace;

  /* Layout */
  --maxw: 1240px;
  --gutter: 32px;

  /* Motion */
  --ease: cubic-bezier(.2,.6,.2,1);
}

/* ---- Reset --------------------------------------------------------------- */
* { box-sizing: border-box; }
html, body { margin: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--linen);
  color: var(--ink);
  font-family: var(--body);
  font-weight: 300;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
::selection { background: #dcae9c; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 2px; }

/* ---- Layout helpers ------------------------------------------------------ */
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.wrap--wide { max-width: 1480px; }
.section { padding-top: 88px; padding-bottom: 88px; }
.section + .section { border-top: 1px solid var(--line-2); }
.divider { border: 0; border-top: 1px solid var(--line-2); margin: 0; }

/* ---- Typographic primitives --------------------------------------------- */
.eyebrow {
  font-family: var(--body);
  font-size: 12px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin: 0;
}
.eyebrow--light { color: rgba(255,255,255,.82); }

.h-display {
  font-family: var(--display);
  font-weight: 300;
  line-height: 1.04;
  letter-spacing: -.01em;
  color: var(--ink);
  margin: 0;
}
h1.h-display { font-size: clamp(40px, 6vw, 80px); }
h2.h-display { font-size: clamp(28px, 3.6vw, 44px); line-height: 1.08; }
h3.h-display { font-size: clamp(24px, 2.6vw, 33px); line-height: 1.12; }

.amp { font-style: italic; color: var(--accent); }

.lede {
  font-weight: 300;
  font-size: clamp(17px, 1.6vw, 21px);
  line-height: 1.6;
  color: var(--ink-2);
  max-width: 60ch;
}
.body-copy { font-weight: 300; font-size: 16px; line-height: 1.66; color: var(--ink-2); }
.measure { max-width: 58ch; }

/* ---- Buttons ------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--body);
  font-size: 14px;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 14px 30px;
  border-radius: 3px;
  transition: transform .15s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease);
}
.btn--solid { background: var(--accent-strong); color: #fbf8f1; }
.btn--solid:hover { transform: translateY(-2px); box-shadow: 0 12px 24px rgba(40,34,26,.22); }
.btn--ink { background: var(--ink); color: var(--linen); }
.btn--ink:hover { transform: translateY(-2px); box-shadow: 0 12px 24px rgba(40,34,26,.22); }
.btn--ghost {
  padding: 0 0 2px;
  border-radius: 0;
  border-bottom: 1px solid rgba(46,42,35,.4);
  text-transform: none;
  letter-spacing: 0;
  font-size: 15px;
}
.btn--ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn--ghost-light {
  color: #fbf8f1;
  border-bottom: 1px solid rgba(255,255,255,.55);
}
.btn--ghost-light:hover { border-color: #fff; color: #fff; }
.link-arrow {
  font-family: var(--body);
  font-size: 14px;
  border-bottom: 1px solid #c9bfaa;
  padding-bottom: 2px;
  transition: border-color .2s var(--ease), color .2s var(--ease);
}
.link-arrow:hover { color: var(--accent); border-color: var(--accent); }
/* Links inside running copy */
.inline-link { color: var(--ink); border-bottom: 1px solid var(--accent); transition: color .15s var(--ease); }
.inline-link:hover { color: var(--accent); }

/* ---- Logo / wordmark ----------------------------------------------------- */
.logo { display: inline-flex; align-items: center; gap: 11px; }
.logo svg { display: block; flex: none; }
.logo__word {
  font-family: var(--display);
  font-weight: 400;
  letter-spacing: .04em;
  color: var(--ink);
  white-space: nowrap;
}

/* ---- Site header --------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(244,239,228,.86);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 16px; padding-bottom: 16px;
}
.site-header__word { font-size: 23px; }
.main-nav { display: flex; gap: 22px; }
.main-nav a {
  font-family: var(--body);
  font-size: 14px;
  white-space: nowrap;
  color: var(--ink-2);
  position: relative;
  padding: 4px 0;
  transition: color .15s var(--ease);
}
.main-nav a::after {
  content: "";
  position: absolute; left: 0; bottom: -1px;
  width: 100%; height: 1px;
  background: var(--accent);
  transform: scaleX(0); transform-origin: left;
  transition: transform .2s var(--ease);
}
.main-nav a:hover { color: var(--ink); }
.main-nav a:hover::after,
.main-nav a[aria-current="page"]::after { transform: scaleX(1); }
.main-nav a[aria-current="page"] { color: var(--ink); }
.main-nav a.is-muted { color: var(--muted-2); }

.header-actions { display: flex; align-items: center; gap: 18px; }
.basket-link {
  font-family: var(--body);
  font-size: 13px;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  gap: 7px;
  transition: color .15s var(--ease);
}
.basket-link:hover { color: var(--ink); }
.basket-count {
  min-width: 18px; height: 18px; padding: 0 5px;
  border-radius: 9px;
  background: var(--accent-strong); color: #fbf8f1;
  font-size: 11px; line-height: 18px; text-align: center;
}
.nav-toggle { display: none; }

/* ---- Footer -------------------------------------------------------------- */
.site-footer { background: var(--dark); color: #b4ab97; }
.site-footer__top {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 40px;
  padding-top: 64px; padding-bottom: 48px;
}
.site-footer__word { font-size: 24px; color: var(--linen); }
.site-footer .footer-blurb { font-size: 14px; line-height: 1.7; max-width: 34ch; margin: 18px 0 0; }
.footer-col h4, .footer-col__h {
  font-family: var(--body);
  font-size: 11px; letter-spacing: .2em; text-transform: uppercase;
  color: var(--footer-muted); margin: 0 0 14px; font-weight: 400;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.footer-col a { font-size: 14px; color: #b4ab97; transition: color .15s var(--ease); }
.footer-col a:hover { color: var(--linen); }
.site-footer__bottom {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px;
  padding-top: 22px; padding-bottom: 30px;
  border-top: 1px solid rgba(255,255,255,.08);
  font-size: 12.5px; color: var(--footer-muted);
}
.footer-group { color: #b4ab97; border-bottom: 1px solid rgba(180,171,151,.45); transition: color .15s var(--ease), border-color .15s var(--ease); }
.footer-group:hover { color: var(--linen); border-color: var(--linen); }

/* ---- Cards / tiles ------------------------------------------------------- */
.tile { display: block; }
.tile__media {
  border-radius: 4px;
  overflow: hidden;
  background: var(--paper-warm);
  position: relative;
}
.tile__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.tile:hover .tile__media img { transform: scale(1.04); }
.tile__title { font-family: var(--display); font-size: 18px; color: var(--ink); margin: 12px 0 0; }
.tile__meta { font-family: var(--body); font-size: 13px; color: var(--muted-2); margin-top: 2px; }

/* ---- Pills (accent switcher etc.) --------------------------------------- */
.pill-row { display: flex; flex-wrap: wrap; gap: 8px; }
.pill {
  font-family: var(--body);
  font-size: 13.5px; letter-spacing: .02em;
  padding: 9px 17px; border-radius: 30px;
  border: 1px solid var(--line); background: transparent; color: var(--muted);
  transition: all .15s var(--ease);
}
.pill:hover { border-color: var(--accent); color: var(--ink); }
.pill.is-active { border: 1.5px solid var(--accent); background: #fff; color: var(--ink); }

/* ---- Section head -------------------------------------------------------- */
.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 32px;
}

/* ---- Accent switch (footer) --------------------------------------------- */
.accent-switch { display: inline-flex; align-items: center; gap: 9px; }
.accent-switch__label {
  font-family: var(--body); font-size: 11px; letter-spacing: .18em;
  text-transform: uppercase; color: var(--footer-muted); margin-right: 2px;
}
.accent-dot {
  width: 26px; height: 26px; padding: 0; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: none;
}
.accent-dot::before {
  content: ""; width: 16px; height: 16px; border-radius: 50%;
  background: var(--d);
  outline: 1px solid rgba(255,255,255,.25); outline-offset: 2px;
  transition: transform .15s var(--ease), outline-color .15s var(--ease);
}
.accent-dot:hover::before { transform: scale(1.15); }
.accent-dot.is-active::before { outline: 2px solid var(--linen); }

/* ---- Basket drawer ------------------------------------------------------- */
.basket-drawer { position: fixed; inset: 0; z-index: 80; visibility: hidden; }
.basket-drawer.is-open { visibility: visible; }
.basket-drawer__scrim {
  position: absolute; inset: 0; background: rgba(40,34,26,.42);
  opacity: 0; transition: opacity .3s var(--ease);
}
.basket-drawer.is-open .basket-drawer__scrim { opacity: 1; }
.basket-drawer__panel {
  position: absolute; top: 0; right: 0; height: 100%;
  width: min(92vw, 400px);
  background: var(--paper); border-left: 1px solid var(--line);
  display: flex; flex-direction: column;
  transform: translateX(100%); transition: transform .32s var(--ease);
  box-shadow: -28px 0 70px rgba(40,34,26,.2);
}
.basket-drawer.is-open .basket-drawer__panel { transform: none; }
.basket-drawer__head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px 24px; border-bottom: 1px solid var(--line);
}
.basket-drawer__title { font-family: var(--display); font-size: 22px; font-weight: 300; }
.basket-drawer__close { font-size: 26px; line-height: 1; color: var(--muted); padding: 4px 8px; }
.basket-drawer__close:hover { color: var(--ink); }
.basket-drawer__body { flex: 1; overflow-y: auto; padding: 12px 24px; }
.basket-drawer__foot { padding: 20px 24px; border-top: 1px solid var(--line); }
.basket-empty { font-size: 15px; color: var(--muted); line-height: 1.6; padding: 28px 0; }
.basket-item { display: flex; gap: 14px; justify-content: space-between; padding: 18px 0; border-bottom: 1px solid var(--line); }
.basket-item__title { font-family: var(--display); font-size: 17px; }
.basket-item__meta { font-size: 13px; color: var(--muted-2); margin-top: 3px; }
.basket-item__opts { font-size: 12.5px; color: var(--muted); margin-top: 5px; }
.basket-item__side { text-align: right; white-space: nowrap; }
.basket-item__price { font-family: var(--display); font-size: 17px; }
.basket-item__remove { font-size: 12px; color: var(--muted-2); margin-top: 6px; border-bottom: 1px solid transparent; }
.basket-item__remove:hover { color: var(--terracotta-deep); border-color: currentColor; }
.basket-total { display: flex; justify-content: space-between; font-family: var(--display); font-size: 20px; margin-bottom: 10px; }
.basket-note { font-size: 12.5px; color: var(--muted); line-height: 1.55; margin: 0 0 16px; }
.basket-back { font-size: 14px; color: var(--muted); border-bottom: 1px solid transparent; }
.basket-back:hover { color: var(--ink); border-color: currentColor; }
.checkout { display: grid; gap: 14px; padding-bottom: 16px; }
.checkout label { display: block; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted-2); }
.checkout label span { text-transform: none; letter-spacing: 0; font-size: 12.5px; }
.checkout input, .checkout textarea {
  display: block; margin-top: 6px;
  font: inherit; font-size: 16px; font-weight: 300; letter-spacing: 0; text-transform: none; color: var(--ink);
  background: #fff; border: 1px solid var(--line-2); border-radius: 3px; padding: 10px 12px; width: 100%;
}
.checkout input:focus, .checkout textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(198,106,82,.18); }
.checkout button[disabled] { opacity: .6; cursor: progress; }
.checkout__error { font-size: 14px; line-height: 1.5; color: var(--ink-2); padding: 12px 14px; border-left: 3px solid var(--terracotta-deep); background: var(--paper-warm); border-radius: 3px; }
.basket-done { padding: 22px 0; }
.basket-done p { font-size: 15px; line-height: 1.6; color: var(--ink-2); margin: 0 0 14px; }
.basket-done__lead { font-family: var(--display); font-size: 21px !important; color: var(--ink) !important; }
/* Honeypot fields — hidden from people, filled in by bots */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---- Before / after pair ------------------------------------------------- */
.ba { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.ba__side {
  position: relative; margin: 0;
  aspect-ratio: 4/5; border-radius: 4px; overflow: hidden;
  background: var(--paper-warm);
}
.ba__side img { width: 100%; height: 100%; object-fit: cover; }
.ba__tag {
  position: absolute; left: 10px; top: 10px;
  font-family: var(--body); font-size: 11px; line-height: 1; letter-spacing: .18em; text-transform: uppercase;
  padding: 6px 9px 5px; border-radius: 2px;
  background: rgba(250,247,240,.94); color: var(--ink);
}
.ba__tag--after { background: var(--ink); color: var(--linen); }

/* ---- Lightbox ------------------------------------------------------------ */
.lightbox {
  width: 100vw; height: 100vh; max-width: none; max-height: none;
  margin: 0; padding: 56px 72px; border: 0;
  background: rgba(30,27,22,.94); color: var(--linen);
}
.lightbox::backdrop { background: rgba(30,27,22,.6); }
.lightbox[open] { display: flex; align-items: center; justify-content: center; }
.lightbox__fig { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 14px; max-height: 100%; }
.lightbox__img { max-width: 100%; max-height: calc(100vh - 150px); width: auto; height: auto; border-radius: 3px; }
.lightbox__cap { font-size: 14.5px; color: rgba(244,239,228,.86); text-align: center; max-width: 60ch; }
.lightbox__btn {
  position: absolute; width: 48px; height: 48px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--display); font-size: 34px; line-height: 1; color: var(--linen);
  background: rgba(244,239,228,.08); transition: background .15s var(--ease);
}
.lightbox__btn:hover { background: rgba(244,239,228,.2); }
.lightbox__close { top: 14px; right: 14px; }
.lightbox__prev { left: 12px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 12px; top: 50%; transform: translateY(-50%); }
.lightbox.is-single .lightbox__prev, .lightbox.is-single .lightbox__next { display: none; }
body.lb-open { overflow: hidden; }
@media (max-width: 700px) {
  .lightbox { padding: 64px 12px 24px; }
  .lightbox__prev, .lightbox__next { top: auto; bottom: 14px; transform: none; }
}

/* ---- Utility ------------------------------------------------------------- */
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

/* Skip link — visually hidden until focused */
.skip-link {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}
.skip-link:focus {
  position: fixed; top: 12px; left: 12px; z-index: 1000;
  width: auto; height: auto; margin: 0; padding: 11px 18px;
  clip: auto; clip-path: none; overflow: visible;
  background: var(--terracotta-deep); color: #fff; border-radius: 6px;
  font-family: var(--body); font-size: 14px; box-shadow: 0 8px 24px rgba(40,34,26,.3);
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important; animation-iteration-count: 1 !important;
    transition-duration: .001ms !important; scroll-behavior: auto !important;
  }
  .reveal { opacity: 1 !important; transform: none !important; }
  .tile:hover .tile__media img,
  .btn--solid:hover, .btn--ink:hover, .shape-card:hover { transform: none !important; }
}

/* ---- Responsive ---------------------------------------------------------- */
@media (max-width: 1080px) {
  .main-nav { gap: 15px; }
}
@media (max-width: 960px) {
  .section { padding-top: 64px; padding-bottom: 64px; }
  .site-footer__top { grid-template-columns: 1fr 1fr; gap: 32px; }
}
/* Collapse to the menu button before the eight nav links run out of room. */
@media (max-width: 940px) {
  :root { --gutter: 22px; }
  .nav-toggle {
    display: inline-flex; align-items: center; justify-content: center;
    width: 40px; height: 40px; border-radius: 6px; border: 1px solid var(--line);
  }
  .main-nav {
    position: fixed; inset: 0 0 0 auto; width: min(82vw, 340px);
    flex-direction: column; gap: 4px;
    background: var(--paper); border-left: 1px solid var(--line);
    padding: 88px 28px 28px;
    /* Closed = clipped away in place (not translated off-screen), so the
       panel never widens the page and phones don't load zoomed out. */
    clip-path: inset(0 0 0 100%);
    visibility: hidden; pointer-events: none;
    transition: clip-path .3s var(--ease), visibility .3s var(--ease);
    box-shadow: -24px 0 60px rgba(40,34,26,.18);
  }
  .main-nav.is-open { clip-path: inset(0 0 0 -90px); visibility: visible; pointer-events: auto; }
  .main-nav a { font-size: 18px; padding: 12px 0; border-bottom: 1px solid var(--line); }
  .main-nav a::after { display: none; }
  body.nav-open { overflow: hidden; }
  .nav-scrim {
    position: fixed; inset: 0; background: rgba(40,34,26,.4);
    opacity: 0; visibility: hidden; transition: opacity .3s var(--ease); z-index: 40;
  }
  .nav-scrim.is-open { opacity: 1; visibility: visible; }
}
@media (max-width: 620px) {
  .site-footer__top { grid-template-columns: 1fr; gap: 28px; }
}
