/* ==========================================================================
   Dabba Cartel — Catering
   Design system + components. Single stylesheet, no build step.
   ========================================================================== */

/* ---------- 0. The two switches -----------------------------------------
   Bulk Meals and Festive Boxes are ordered somewhere else, so on this site
   they are links — in the nav, the mobile menu, the footer and a card on
   the home and corporate pages. On WordPress the switches are under
   Dabba Cartel → Settings → Contact & links; the theme puts dc-no-bulk /
   dc-no-festive on <body> when a range is off, and these two rules hide
   every link to it. `!important` because the cards carry a display of
   their own further down.
   ---------------------------------------------------------------------- */
.dc-no-bulk .f-bulk{ display:none !important; }
.dc-no-festive .f-festive{ display:none !important; }
.dc-no-bulk.dc-no-festive .ranges-band{ display:none !important; }

/* ---------- 1. Tokens ---------------------------------------------------- */
:root{
  /* Brand — green sampled from the Dabba Cartel logo (#47704C) */
  --ink:          #0E1510;
  --forest-900:   #142019;
  --forest-800:   #1A2C20;
  --forest-700:   #26412E;
  --brand:        #47704C;
  --brand-600:    #3A5E3F;
  --brand-300:    #8FB591;
  --brand-100:    #D7E4D6;

  --paper:        #FBF8F1;
  --cream:        #F4EEE1;
  --sand:         #E8DDC8;
  --saffron:      #D08C38;
  --copper:       #B35C2F;

  --text:         #17201A;
  --text-soft:    #4C5B50;
  --text-faint:   #7B8A7F;
  --on-dark:      #F2EEE3;
  --on-dark-soft: #B7C2B6;

  --line:         rgba(23,32,26,.13);
  --line-soft:    rgba(23,32,26,.07);
  --line-dark:    rgba(242,238,227,.16);

  --bg:           var(--paper);
  --surface:      #FFFFFF;

  /* Type */
  --display: "Fraunces", "Castoro", Georgia, "Times New Roman", serif;
  --sans:    "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  /* Fluid scale */
  --step--1: clamp(.80rem, .77rem + .14vw, .875rem);
  --step-0:  clamp(1rem, .96rem + .18vw, 1.0625rem);
  --step-1:  clamp(1.13rem, 1.06rem + .33vw, 1.3rem);
  --step-2:  clamp(1.35rem, 1.2rem + .7vw, 1.75rem);
  --step-3:  clamp(1.65rem, 1.35rem + 1.4vw, 2.5rem);
  --step-4:  clamp(2.05rem, 1.5rem + 2.5vw, 3.5rem);
  --step-5:  clamp(2.5rem, 1.5rem + 4.4vw, 5.25rem);
  --step-6:  clamp(3rem, 1.4rem + 6.8vw, 7rem);

  /* Space */
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --section: clamp(4.5rem, 9vw, 9rem);
  --maxw: 1280px;
  --maxw-narrow: 760px;

  --radius-s: 10px;
  --radius:   18px;
  --radius-l: 28px;
  --radius-xl: 40px;

  --shadow-s: 0 1px 2px rgba(20,32,25,.05), 0 4px 14px -6px rgba(20,32,25,.10);
  --shadow:   0 2px 6px rgba(20,32,25,.05), 0 18px 44px -18px rgba(20,32,25,.22);
  --shadow-l: 0 30px 80px -30px rgba(20,32,25,.38);

  --ease: cubic-bezier(.22,.68,.26,1);
  --ease-out: cubic-bezier(.16,1,.3,1);

  --header-h: 76px;
}

/* ---------- 2. Reset / base --------------------------------------------- */
*,*::before,*::after{ box-sizing:border-box; }
html{ -webkit-text-size-adjust:100%; scroll-behavior:smooth; }
html:focus-within{ scroll-padding-top: calc(var(--header-h) + 1rem); }
body{
  margin:0;
  background:var(--bg);
  color:var(--text);
  font-family:var(--sans);
  font-size:var(--step-0);
  line-height:1.6;
  font-synthesis-weight:none;
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
  overflow-x:hidden;
}
body.is-locked{ overflow:hidden; }
img,picture,video,svg{ display:block; max-width:100%; }
img{ height:auto; }
button,input,select,textarea{ font:inherit; color:inherit; }
a{ color:inherit; text-decoration:none; }
h1,h2,h3,h4{ margin:0; text-wrap:balance; font-family:var(--display); font-weight:500; line-height:1.04; letter-spacing:-.022em; font-variation-settings:"SOFT" 18,"WONK" 1,"opsz" 48; }
p{ margin:0; }
ul,ol{ margin:0; padding:0; list-style:none; }
::selection{ background:var(--brand); color:#fff; }
:focus-visible{ outline:2.5px solid var(--saffron); outline-offset:3px; border-radius:4px; }

.skip{
  position:absolute; left:50%; top:0; transform:translate(-50%,-150%);
  background:var(--forest-900); color:var(--on-dark); padding:.75rem 1.25rem;
  border-radius:0 0 var(--radius-s) var(--radius-s); z-index:999; font-size:var(--step--1); font-weight:600;
  transition:transform .25s var(--ease);
}
.skip:focus{ transform:translate(-50%,0); }

/* ---------- 3. Layout ---------------------------------------------------- */
.wrap{ width:min(var(--maxw), 100% - var(--gutter)*2); margin-inline:auto; }
.wrap--narrow{ width:min(var(--maxw-narrow), 100% - var(--gutter)*2); }
.wrap--wide{ width:min(1480px, 100% - var(--gutter)*2); }
.section{ padding-block:var(--section); position:relative; }
.section--tight{ padding-block:clamp(3rem,6vw,5.5rem); }
.section--dark{ background:var(--forest-900); color:var(--on-dark); }
.section--cream{ background:var(--cream); }
.section--sand{ background:linear-gradient(180deg,var(--cream),var(--paper)); }

.grid{ display:grid; gap:clamp(1.25rem,3vw,2.5rem); }
.grid-2{ grid-template-columns:1fr; }
.grid-3{ grid-template-columns:1fr; }
.grid-4{ grid-template-columns:repeat(2,1fr); }
@media (min-width:680px){ .grid-3{ grid-template-columns:repeat(2,1fr); } }
@media (min-width:900px){
  .grid-2{ grid-template-columns:repeat(2,1fr); }
  .grid-3{ grid-template-columns:repeat(3,1fr); }
  .grid-4{ grid-template-columns:repeat(4,1fr); }
}
.flow > * + *{ margin-top:1.1em; }

/* ---------- 4. Typography helpers ---------------------------------------- */
.eyebrow{
  display:inline-flex; align-items:center; gap:.6rem;
  font-family:var(--sans); font-size:.72rem; font-weight:600;
  letter-spacing:.2em; text-transform:uppercase; color:var(--brand-600);
}
.eyebrow::before{ content:""; width:28px; height:1px; background:currentColor; opacity:.55; }
:is(.section--dark,.hero,.cta-band) .eyebrow{ color:var(--brand-300); }

.h-xl{ font-size:var(--step-5); }
.h-lg{ font-size:var(--step-4); }
.h-md{ font-size:var(--step-3); }
.h-sm{ font-size:var(--step-2); }
.lede{ text-wrap:pretty; font-size:var(--step-1); color:var(--text-soft); line-height:1.58; max-width:62ch; }
:is(.section--dark,.hero,.cta-band) .lede{ color:var(--on-dark-soft); }
.muted{ color:var(--text-soft); }
.small{ font-size:var(--step--1); }
.ital{ font-style:italic; font-variation-settings:"SOFT" 40,"WONK" 1,"opsz" 40; }
.accent{ color:var(--brand); }
:is(.section--dark,.hero,.cta-band) .accent{ color:var(--brand-300); }

/* underline-swipe for inline links */
.ulink{
  background-image:linear-gradient(currentColor,currentColor);
  background-size:0% 1.5px; background-repeat:no-repeat; background-position:0 100%;
  transition:background-size .4s var(--ease-out); padding-bottom:2px;
}
.ulink:hover,.ulink:focus-visible{ background-size:100% 1.5px; }

/* ---------- 5. Buttons --------------------------------------------------- */
.btn{
  --btn-bg:var(--forest-900); --btn-fg:var(--on-dark); --btn-bd:var(--forest-900);
  position:relative; display:inline-flex; align-items:center; justify-content:center; gap:.6rem;
  padding:.95rem 1.6rem; border:1px solid var(--btn-bd); background:var(--btn-bg); color:var(--btn-fg);
  border-radius:100px; font-size:var(--step--1); font-weight:600; letter-spacing:.015em;
  cursor:pointer; overflow:hidden; isolation:isolate; text-align:center;
  transition:color .35s var(--ease), border-color .35s var(--ease), transform .3s var(--ease), box-shadow .35s var(--ease);
}
.btn::after{
  content:""; position:absolute; inset:0; z-index:-1; border-radius:inherit;
  background:var(--brand); transform:translateY(101%);
  transition:transform .45s var(--ease-out);
}
.btn:hover::after,.btn:focus-visible::after{ transform:translateY(0); }
.btn:hover{ color:#fff; border-color:var(--brand); box-shadow:var(--shadow-s); }
.btn:active{ transform:translateY(1px) scale(.99); }

.btn--primary{ --btn-bg:var(--brand); --btn-bd:var(--brand); --btn-fg:#fff; }
.btn--primary::after{ background:var(--forest-900); }
.btn--primary:hover{ border-color:var(--forest-900); }

.btn--ghost{ --btn-bg:transparent; --btn-bd:var(--line); --btn-fg:var(--text); }
.btn--ghost::after{ background:var(--forest-900); }
.btn--ghost:hover{ border-color:var(--forest-900); }

:is(.section--dark,.hero,.cta-band) .btn--ghost{ --btn-bd:var(--line-dark); --btn-fg:var(--on-dark); }
:is(.section--dark,.hero,.cta-band) .btn--ghost::after{ background:var(--on-dark); }
:is(.section--dark,.hero,.cta-band) .btn--ghost:hover{ color:var(--forest-900); border-color:var(--on-dark); }

.btn--lg{ padding:1.1rem 2rem; font-size:var(--step-0); }
.btn--sm{ padding:.7rem 1rem; font-size:var(--step--1); }
.btn--block{ width:100%; }
.btn .ic{ width:1em; height:1em; flex:none; transition:transform .35s var(--ease-out); }
.btn:hover .ic{ transform:translateX(3px); }

.btn-row{ display:flex; flex-wrap:wrap; gap:.75rem; }

/* text link w/ arrow */
.arrow-link{
  display:inline-flex; align-items:center; gap:.5rem; font-weight:600;
  font-size:var(--step--1); letter-spacing:.01em; color:var(--brand-600);
}
.arrow-link .ic{ width:1.05em; height:1.05em; transition:transform .35s var(--ease-out); }
.arrow-link:hover .ic{ transform:translateX(4px); }
:is(.section--dark,.hero,.cta-band) .arrow-link{ color:var(--brand-300); }

/* ---------- 6. Header ---------------------------------------------------- */
.site-header{
  position:fixed; inset:0 0 auto 0; z-index:200;
  padding-block:.85rem;
  transition:background .45s var(--ease), box-shadow .45s var(--ease), padding .45s var(--ease), backdrop-filter .45s var(--ease);
}
.site-header::before{
  content:""; position:absolute; inset:0; z-index:-1; opacity:0;
  background:rgba(251,248,241,.86);
  -webkit-backdrop-filter:saturate(180%) blur(14px); backdrop-filter:saturate(180%) blur(14px);
  border-bottom:1px solid var(--line-soft);
  transition:opacity .45s var(--ease);
}
.site-header.is-stuck::before{ opacity:1; }
.site-header.is-stuck{ padding-block:.5rem; }
.site-header.is-hidden{ transform:translateY(-105%); transition:transform .5s var(--ease); }

.header-inner{ display:flex; align-items:center; justify-content:space-between; gap:1.5rem; }

.brand{ display:inline-flex; align-items:center; flex:none; }
.brand__logo{
  display:block; width:auto; flex:none;
  height:clamp(42px, 4.6vw, 58px);
  transition:transform .5s var(--ease-out), opacity .3s var(--ease);
}
.brand:hover .brand__logo{ transform:scale(1.03); }
/* two renderings of the same mark: dark artwork for light surfaces, reversed for dark */
.brand__logo--dark{ display:none; }
.site-header.is-stuck .brand__logo--light,
.site-header.is-light .brand__logo--light{ display:none; }
.site-header.is-stuck .brand__logo--dark,
.site-header.is-light .brand__logo--dark{ display:block; }
.site-header.is-stuck .brand__logo{ height:clamp(38px, 4vw, 48px); }
/* while the overlay menu is open the header sits on a dark panel */
body.is-locked .site-header::before{ opacity:0; }
body.is-locked .site-header{ color:var(--on-dark); }
/* needs to out-specify the .site-header.is-stuck rules above */
body.is-locked .site-header .brand__logo--dark{ display:none; }
body.is-locked .site-header .brand__logo--light{ display:block; }
.site-footer .brand__logo{ height:62px; }

/* Supper Club runs a split hero: photograph on the left, cream booking panel
   on the right. Reversed-out nav vanishes over that cream half, so from the
   breakpoint where the split appears the header wears its solid bar. */
@media (min-width:1040px){
  body.page-sc:not(.is-locked) .site-header::before{ opacity:1; }
  body.page-sc:not(.is-locked) .site-header{ color:var(--text); }
  body.page-sc:not(.is-locked) .site-header .brand__logo--light{ display:none; }
  body.page-sc:not(.is-locked) .site-header .brand__logo--dark{ display:block; }
}

/* header colour states */
.site-header{ color:var(--on-dark); }
.site-header.is-stuck,
.site-header.is-light{ color:var(--text); }

.nav{ display:none; }
@media (min-width:1040px){
  .nav{ display:flex; align-items:center; gap:.1rem; }
  .nav a{
    position:relative; padding:.55rem .58rem; font-size:.82rem; font-weight:500; border-radius:100px;
    white-space:nowrap;
    transition:opacity .3s var(--ease);
  }
  .nav a::after{
    content:""; position:absolute; left:.58rem; right:.58rem; bottom:.3rem; height:1.5px;
    background:currentColor; transform:scaleX(0); transform-origin:left; opacity:.8;
    transition:transform .4s var(--ease-out);
  }
  .nav a:hover::after,.nav a[aria-current="page"]::after{ transform:scaleX(1); }
  .nav a[aria-current="page"]{ font-weight:600; }
}
/* Room to breathe once the window is wide enough for it. */
@media (min-width:1320px){
  .nav{ gap:.3rem; }
  .nav a{ padding:.55rem .85rem; font-size:.875rem; }
  .nav a::after{ left:.85rem; right:.85rem; }
}

/* An external range opens in a new tab; the little arrow says so without
   needing a word for it. */
.ext{ display:inline-block; flex:none; width:.7em; height:.7em; margin-left:.3em; vertical-align:.05em; opacity:.6; }
.menu-list .ext{ width:.4em; height:.4em; margin-left:-.45rem; align-self:center; opacity:.5; }

.header-cta{ display:none; }
@media (min-width:1200px){ .header-cta{ display:inline-flex; } }

.site-header .btn--ghost{ --btn-bd:currentColor; --btn-fg:currentColor; border-color:color-mix(in srgb, currentColor 32%, transparent); }
.site-header .btn--ghost::after{ background:currentColor; }
.site-header .btn--ghost:hover{ color:var(--paper); }
.site-header.is-stuck .btn--ghost:hover,.site-header.is-light .btn--ghost:hover{ color:var(--paper); }

/* burger: two lines in a soft circle, folding into an X. The lines are
   placed absolutely so nothing depends on flex gaps inside a <button>. */
.burger{
  position:relative; display:inline-block; flex:none;
  width:44px; height:44px; padding:0; margin:0; cursor:pointer;
  -webkit-appearance:none; appearance:none; -webkit-tap-highlight-color:transparent;
  color:inherit; background:color-mix(in srgb, currentColor 6%, transparent);
  border:1px solid color-mix(in srgb, currentColor 20%, transparent); border-radius:50%;
  transition:border-color .3s var(--ease), background .3s var(--ease);
}
@media (hover:hover){ .burger:hover{ background:color-mix(in srgb, currentColor 12%, transparent); } }
.burger__line{
  position:absolute; top:50%; left:50%; height:2px; margin-top:-1px;
  width:20px; margin-left:-10px; background:currentColor; border-radius:2px;
  transition:transform .45s var(--ease-out), width .35s var(--ease-out), margin .35s var(--ease-out);
}
.burger__line--a{ transform:translateY(-4px); }
.burger__line--b{ transform:translateY(4px); width:13px; margin-left:-3px; }
@media (hover:hover){ .burger:hover .burger__line--b{ width:20px; margin-left:-10px; } }
.burger[aria-expanded="true"] .burger__line--a{ transform:rotate(45deg); }
.burger[aria-expanded="true"] .burger__line--b{ transform:rotate(-45deg); width:20px; margin-left:-10px; }
@media (min-width:1040px){ .burger{ display:none; } }

/* mobile overlay nav */
.menu-panel{
  position:fixed; inset:0; z-index:190; background:var(--forest-900); color:var(--on-dark);
  display:grid; grid-template-rows:var(--header-h) 1fr auto;
  clip-path:inset(0 0 100% 0); pointer-events:none;
  transition:clip-path .7s var(--ease-out);
}
.menu-panel.is-open{ clip-path:inset(0 0 0 0); pointer-events:auto; }
.menu-panel__body{ align-self:center; padding:1rem var(--gutter) 0; overflow-y:auto; }
.menu-list{ counter-reset:dcmenu; }
.menu-list li{ overflow:hidden; border-bottom:1px solid var(--line-dark); counter-increment:dcmenu; }
.menu-list li:first-child{ border-top:1px solid var(--line-dark); }
.menu-list a{
  display:flex; align-items:baseline; gap:1rem; padding:clamp(.9rem,2.6vw,1.3rem) 0;
  font-family:var(--display); font-size:clamp(1.8rem,7vw,2.75rem); line-height:1.05; letter-spacing:-.02em;
  transform:translateY(110%); transition:transform .7s var(--ease-out), color .3s var(--ease);
}
.menu-panel.is-open .menu-list a{ transform:translateY(0); }
.menu-list a:hover{ color:var(--brand-300); }
.menu-list .num{ flex:none; min-width:1.6rem; font-family:var(--sans); font-size:.68rem; letter-spacing:.18em; opacity:.45; }
.menu-list .num::before{ content:counter(dcmenu, decimal-leading-zero); }
.menu-panel__foot{
  padding:1.5rem var(--gutter) calc(1.5rem + env(safe-area-inset-bottom));
  border-top:1px solid var(--line-dark); display:grid; gap:1rem;
  opacity:0; transform:translateY(14px); transition:opacity .5s .35s var(--ease), transform .5s .35s var(--ease-out);
}
.menu-panel.is-open .menu-panel__foot{ opacity:1; transform:none; }
.menu-panel__foot a.contactline{ display:flex; gap:.6rem; align-items:center; color:var(--on-dark-soft); font-size:var(--step--1); }
.menu-panel__foot a.contactline:hover{ color:var(--on-dark); }

/* ---------- 7. Hero ------------------------------------------------------ */
.hero{
  position:relative; isolation:isolate; display:flex; align-items:flex-end;
  min-height:clamp(620px, 96svh, 1000px);
  padding-top:calc(var(--header-h) + 3rem);
  padding-bottom:clamp(2.5rem,6vw,4.5rem);
  background:var(--forest-900); color:var(--on-dark); overflow:hidden;
}
.hero__media{ position:absolute; inset:-6% 0 0 0; z-index:-2; }
.hero__media img{ width:100%; height:112%; object-fit:cover; will-change:transform; }
.hero__scrim{
  position:absolute; inset:0; z-index:-1;
  background:
    linear-gradient(180deg, rgba(14,21,16,.76) 0%, rgba(14,21,16,.46) 24%, rgba(14,21,16,.66) 52%, rgba(14,21,16,.97) 100%),
    radial-gradient(130% 92% at 8% 100%, rgba(14,21,16,.82), transparent 64%);
}
.hero__inner{ position:relative; z-index:1; }
.hero__title{ text-wrap:initial; margin-top:clamp(.9rem,2vw,1.4rem); font-size:var(--step-6); line-height:.98; letter-spacing:-.03em; max-width:16ch; }
.hero__title .ital{ color:var(--brand-300); }
.hero__lede{ max-width:46ch; margin-top:1.4rem; color:var(--on-dark-soft); font-size:var(--step-1); }
.hero__actions{ margin-top:2rem; }
.hero__bottom{
  margin-top:clamp(2.5rem,6vw,4rem); padding-top:1.5rem; border-top:1px solid var(--line-dark);
  display:grid; gap:1.25rem;
}
@media (min-width:860px){ .hero__bottom{ grid-template-columns:repeat(3,1fr); gap:2rem; } }
.hero__fact{ display:grid; gap:.3rem; }
.hero__fact dt{ font-size:.68rem; letter-spacing:.2em; text-transform:uppercase; color:var(--brand-300); font-weight:600; }
.hero__fact dd{ margin:0; font-size:var(--step--1); color:var(--on-dark-soft); line-height:1.45; }

/* word-mask reveal */
.reveal-line{ display:block; overflow:hidden; padding-bottom:.08em; margin-bottom:-.06em; }
.reveal-line > span{
  display:block; transform:translateY(105%);
  transition:transform 1.05s var(--ease-out);
  transition-delay:calc(var(--i, 0) * 95ms);
}
.is-ready .reveal-line > span{ transform:translateY(0); }

@media (max-width:640px){
  .hero{ min-height:clamp(560px, 90svh, 820px); padding-top:calc(var(--header-h) + 1.5rem); }
  .hero__lede{ margin-top:1.1rem; font-size:var(--step-0); }
  .hero__actions{ margin-top:1.5rem; }
  .hero .btn{ flex:1 1 auto; }
  .hero__bottom{ margin-top:2rem; gap:.9rem; }
  .hero__fact dd{ font-size:.82rem; }
  .hero .eyebrow{ font-size:.64rem; letter-spacing:.16em; }
  .hero .eyebrow::before{ width:18px; }
  .crumbs{ font-size:.66rem; margin-bottom:1rem; }
}

.hero__scroll{
  position:absolute; left:50%; bottom:1.5rem; transform:translateX(-50%); z-index:2;
  display:none; align-items:center; gap:.55rem; font-size:.62rem; letter-spacing:.24em;
  text-transform:uppercase; color:var(--on-dark-soft);
}
@media (min-width:860px){ @media (max-width:640px){
  .hero{ min-height:clamp(560px, 90svh, 820px); padding-top:calc(var(--header-h) + 1.5rem); }
  .hero__lede{ margin-top:1.1rem; font-size:var(--step-0); }
  .hero__actions{ margin-top:1.5rem; }
  .hero .btn{ flex:1 1 auto; }
  .hero__bottom{ margin-top:2rem; gap:.9rem; }
  .hero__fact dd{ font-size:.82rem; }
  .hero .eyebrow{ font-size:.64rem; letter-spacing:.16em; }
  .hero .eyebrow::before{ width:18px; }
  .crumbs{ font-size:.66rem; margin-bottom:1rem; }
}

.hero__scroll{ display:inline-flex; } }
.hero__scroll i{ display:block; width:1px; height:34px; background:linear-gradient(var(--brand-300),transparent); animation:drip 2.4s var(--ease) infinite; }
@keyframes drip{ 0%{ transform:scaleY(0); transform-origin:top; } 45%{ transform:scaleY(1); transform-origin:top; } 55%{ transform:scaleY(1); transform-origin:bottom; } 100%{ transform:scaleY(0); transform-origin:bottom; } }

/* page hero (interior, shorter) */
.hero--page{ min-height:clamp(540px, 82svh, 820px); }
.hero--page .hero__title{ font-size:var(--step-5); max-width:18ch; }

/* breadcrumb */
.crumbs{ display:flex; gap:.5rem; align-items:center; font-size:.72rem; letter-spacing:.14em; text-transform:uppercase; color:var(--on-dark-soft); margin-bottom:1.5rem; }
.crumbs span{ opacity:.45; }

/* ---------- 8. Marquee --------------------------------------------------- */
.marquee{
  --speed:34s;
  background:var(--forest-800); color:var(--on-dark);
  padding-block:clamp(.85rem,2vw,1.15rem); overflow:hidden;
  border-block:1px solid var(--line-dark);
}
.marquee__track{ display:flex; width:max-content; animation:slide var(--speed) linear infinite; }
.marquee:hover .marquee__track{ animation-play-state:paused; }
.marquee__group{ display:flex; align-items:center; gap:clamp(1.5rem,4vw,3rem); padding-right:clamp(1.5rem,4vw,3rem); }
.marquee__item{
  display:inline-flex; align-items:center; gap:clamp(1.5rem,4vw,3rem);
  font-family:var(--display); font-size:clamp(1rem,2.2vw,1.45rem); letter-spacing:.01em; white-space:nowrap;
}
.marquee__item::after{ content:""; width:6px; height:6px; border-radius:50%; background:var(--brand-300); flex:none; }
@keyframes slide{ to{ transform:translateX(-50%); } }

/* ---------- 9. Cards ----------------------------------------------------- */
.card{
  position:relative; display:flex; flex-direction:column; background:var(--surface);
  border:1px solid var(--line-soft); border-radius:var(--radius-l); overflow:hidden;
  transition:transform .55s var(--ease-out), box-shadow .55s var(--ease), border-color .4s var(--ease);
}
.card:hover{ transform:translateY(-6px); box-shadow:var(--shadow); border-color:transparent; }
.card__media{ position:relative; aspect-ratio:4/3; overflow:hidden; background:var(--sand); }
.card__media img{ width:100%; height:100%; object-fit:cover; transition:transform 1.1s var(--ease-out), filter .6s var(--ease); }
.card:hover .card__media img{ transform:scale(1.06); }
.card__body{ padding:clamp(1.4rem,2.6vw,2rem); display:flex; flex-direction:column; gap:.8rem; flex:1; }
.card__title{ font-size:var(--step-2); }
.card__text{ color:var(--text-soft); font-size:var(--step--1); line-height:1.62; flex:1; }
.card__tag{
  position:absolute; top:1rem; left:1rem; z-index:2;
  background:rgba(251,248,241,.92); color:var(--forest-900);
  padding:.35rem .8rem; border-radius:100px; font-size:.66rem; font-weight:700;
  letter-spacing:.14em; text-transform:uppercase;
}
.card__list{ display:grid; gap:.5rem; font-size:var(--step--1); color:var(--text-soft); }
.card__list li{ position:relative; padding-left:1.15rem; }
.card__list li::before{
  content:""; position:absolute; left:0; top:.62em;
  width:5px; height:5px; border-radius:50%; background:var(--brand);
}
.card__list strong{ color:var(--text); font-weight:600; }
:is(.section--dark,.hero,.cta-band) .card__list strong{ color:var(--on-dark); }

/* service card — large editorial */
.svc{ position:relative; border-radius:var(--radius-l); overflow:hidden; isolation:isolate; min-height:clamp(380px,46vw,520px); display:flex; align-items:flex-end; color:var(--on-dark); }
.svc img{ position:absolute; inset:0; z-index:-2; width:100%; height:100%; object-fit:cover; transition:transform 1.2s var(--ease-out); }
.svc::after{ content:""; position:absolute; inset:0; z-index:-1; background:linear-gradient(180deg, rgba(14,21,16,.08) 20%, rgba(14,21,16,.62) 62%, rgba(14,21,16,.92) 100%); transition:opacity .5s var(--ease); }
.svc:hover img{ transform:scale(1.05); }
.svc__body{ padding:clamp(1.5rem,3vw,2.25rem); display:grid; gap:.7rem; width:100%; }
.svc__title{ font-size:var(--step-3); }
.svc__text{ color:var(--on-dark-soft); font-size:var(--step--1); max-width:38ch; }

/* ---------- 10. Stats ---------------------------------------------------- */
.stats{ display:grid; gap:0; border-top:1px solid var(--line); }
@media (min-width:760px){ .stats{ grid-template-columns:repeat(3,1fr); } }
:is(.section--dark,.hero,.cta-band) .stats{ border-color:var(--line-dark); }
.stat{ padding:clamp(1.5rem,3.5vw,2.5rem) 0; border-bottom:1px solid var(--line); }
@media (min-width:760px){
  .stat{ padding-inline:clamp(1rem,3vw,2.5rem); border-bottom:0; border-right:1px solid var(--line); }
  .stat:first-child{ padding-left:0; }
  .stat:last-child{ border-right:0; padding-right:0; }
}
:is(.section--dark,.hero,.cta-band) .stat{ border-color:var(--line-dark); }
.stat__num{ font-family:var(--display); font-size:var(--step-4); line-height:1; letter-spacing:-.03em; display:flex; align-items:baseline; gap:.1em; }
.stat__num small{ font-size:.42em; color:var(--brand); }
:is(.section--dark,.hero,.cta-band) .stat__num small{ color:var(--brand-300); }
.stat__label{ margin-top:.6rem; font-size:var(--step--1); color:var(--text-soft); max-width:30ch; }
:is(.section--dark,.hero,.cta-band) .stat__label{ color:var(--on-dark-soft); }

/* ---------- 11. Process rail --------------------------------------------- */
.steps{ display:grid; gap:0; counter-reset:step; }
.step{
  counter-increment:step; position:relative;
  display:grid; gap:.6rem 1.75rem; padding:clamp(1.6rem,3.5vw,2.6rem) 0;
  border-top:1px solid var(--line);
}
:is(.section--dark,.hero,.cta-band) .step{ border-color:var(--line-dark); }
.step:last-child{ border-bottom:1px solid var(--line); }
:is(.section--dark,.hero,.cta-band) .step:last-child{ border-color:var(--line-dark); }
@media (min-width:820px){
  .step{ grid-template-columns:5.5rem minmax(0,20rem) minmax(0,1fr); align-items:start; }
}
.step__num{
  font-family:var(--display); font-size:var(--step-2); color:var(--brand); line-height:1;
  font-variation-settings:"SOFT" 0,"WONK" 0;
}
.step__num::before{ content:"0" counter(step); }
:is(.section--dark,.hero,.cta-band) .step__num{ color:var(--brand-300); }
.step__title{ font-size:var(--step-2); }
.step__text{ color:var(--text-soft); font-size:var(--step--1); line-height:1.65; max-width:58ch; }
:is(.section--dark,.hero,.cta-band) .step__text{ color:var(--on-dark-soft); }

/* ---------- 12. Split feature -------------------------------------------- */
.split{ display:grid; gap:clamp(2rem,5vw,4.5rem); align-items:center; }
@media (min-width:920px){
  .split{ grid-template-columns:1fr 1fr; }
  .split--wide-media{ grid-template-columns:1.15fr 1fr; }
  .split--flip .split__media{ order:2; }
}
.split__media{ position:relative; }
.split__media img{ width:100%; border-radius:var(--radius-l); aspect-ratio:4/5; object-fit:cover; }
.split__media--wide img{ aspect-ratio:5/4; }
.split__badge{
  position:absolute; right:clamp(-.5rem,-1vw,0rem); bottom:clamp(1rem,3vw,2rem);
  background:var(--paper); color:var(--text); border-radius:var(--radius);
  padding:1.1rem 1.35rem; box-shadow:var(--shadow); display:grid; gap:.2rem; max-width:14rem;
  border:1px solid var(--line-soft);
}
.split__badge strong{ font-family:var(--display); font-size:var(--step-2); line-height:1; }
.split__badge span{ font-size:.72rem; letter-spacing:.1em; text-transform:uppercase; color:var(--text-faint); }

/* stacked / overlap media */
.media-stack{ position:relative; padding-bottom:clamp(2.5rem,7vw,5rem); padding-right:clamp(2rem,6vw,4rem); }
.media-stack__a img{ border-radius:var(--radius-l); aspect-ratio:4/5; object-fit:cover; width:100%; }
.media-stack__b{ position:absolute; right:0; bottom:0; width:clamp(42%,44%,48%); }
.media-stack__b img{ border-radius:var(--radius); aspect-ratio:1/1; object-fit:cover; width:100%; box-shadow:var(--shadow-l); border:6px solid var(--paper); }

/* ---------- 13. Menu preview --------------------------------------------- */
.menu-tabs{ display:flex; flex-wrap:wrap; gap:.5rem; margin-bottom:clamp(1.75rem,4vw,2.5rem); }
.menu-tab{
  padding:.6rem 1.15rem; border-radius:100px; border:1px solid var(--line);
  background:transparent; font-size:var(--step--1); font-weight:500; cursor:pointer; color:var(--text-soft);
  transition:background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease), transform .3s var(--ease);
}
.menu-tab:hover{ border-color:var(--brand); color:var(--brand-600); }
.menu-tab[aria-selected="true"]{ background:var(--forest-900); border-color:var(--forest-900); color:var(--on-dark); }
:is(.section--dark,.hero,.cta-band) .menu-tab{ border-color:var(--line-dark); color:var(--on-dark-soft); }
:is(.section--dark,.hero,.cta-band) .menu-tab[aria-selected="true"]{ background:var(--on-dark); color:var(--forest-900); border-color:var(--on-dark); }

.menu-panel-tab[hidden]{ display:none; }
.menu-panel-tab{ animation:fadeUp .55s var(--ease-out) both; }
@keyframes fadeUp{ from{ opacity:0; transform:translateY(16px); } to{ opacity:1; transform:none; } }

.menu-grid{ display:grid; gap:clamp(.85rem,2vw,1.4rem) clamp(2rem,5vw,4rem); }
@media (min-width:760px){ .menu-grid{ grid-template-columns:repeat(2,1fr); } }
.menu-item{ display:grid; gap:.3rem; padding-block:clamp(.8rem,1.6vw,1rem); border-bottom:1px solid var(--line-soft); }
:is(.section--dark,.hero,.cta-band) .menu-item{ border-color:var(--line-dark); }
.menu-item__top{ display:flex; align-items:baseline; gap:.75rem; }
.menu-item__name{ font-family:var(--display); font-size:var(--step-1); letter-spacing:-.015em; font-variation-settings:"SOFT" 10,"WONK" 0,"opsz" 24; }
.menu-item__dots{ flex:1; border-bottom:1px dotted var(--line); transform:translateY(-.22em); }
:is(.section--dark,.hero,.cta-band) .menu-item__dots{ border-color:var(--line-dark); }
.menu-item__price{ font-size:var(--step-0); font-weight:600; font-variant-numeric:tabular-nums; white-space:nowrap; }
.menu-item__desc{ font-size:var(--step--1); color:var(--text-soft); line-height:1.55; max-width:52ch; }
:is(.section--dark,.hero,.cta-band) .menu-item__desc{ color:var(--on-dark-soft); }
.menu-item__meta{ display:flex; flex-wrap:wrap; gap:.35rem; margin-top:.25rem; }

.diet{
  display:inline-flex; align-items:center; justify-content:center;
  min-width:1.9rem; padding:.12rem .42rem; border-radius:5px;
  font-size:.6rem; font-weight:700; letter-spacing:.07em;
  background:var(--brand-100); color:var(--brand-600); border:1px solid transparent;
}
:is(.section--dark,.hero,.cta-band) .diet{ background:rgba(143,181,145,.16); color:var(--brand-300); }
.diet--min{ background:transparent; border-color:var(--line); color:var(--text-faint); font-weight:600; letter-spacing:.04em; }
:is(.section--dark,.hero,.cta-band) .diet--min{ border-color:var(--line-dark); color:var(--on-dark-soft); }

.diet-key{ display:flex; flex-wrap:wrap; gap:.75rem 1.25rem; }
.diet-key li{ display:flex; align-items:center; gap:.45rem; font-size:var(--step--1); color:var(--text-soft); }
:is(.section--dark,.hero,.cta-band) .diet-key li{ color:var(--on-dark-soft); }

/* ---------- 14. Gallery -------------------------------------------------- */
.gallery{ display:grid; gap:clamp(.6rem,1.4vw,1rem); grid-template-columns:repeat(2,1fr); }
@media (min-width:820px){ .gallery{ grid-template-columns:repeat(4,1fr); } }
.gallery figure{ margin:0; overflow:hidden; border-radius:var(--radius); background:var(--sand); }
.gallery img{ width:100%; height:100%; object-fit:cover; aspect-ratio:1/1; transition:transform 1s var(--ease-out), filter .6s var(--ease); }
.gallery figure:hover img{ transform:scale(1.07); }
.gallery .tall{ grid-row:span 2; }
.gallery .tall img{ aspect-ratio:1/2; }
@media (max-width:819px){ .gallery .tall{ grid-row:span 1; } .gallery .tall img{ aspect-ratio:1/1; } }

/* horizontal scroller */
.scroller{
  display:grid; grid-auto-flow:column; grid-auto-columns:minmax(260px,78vw);
  gap:clamp(.85rem,2vw,1.5rem); overflow-x:auto; scroll-snap-type:x mandatory;
  padding-bottom:1rem; margin-inline:calc(var(--gutter) * -1); padding-inline:var(--gutter);
  scrollbar-width:thin;
  /* Sideways only. overflow-x:auto quietly makes overflow-y auto as well, so
     a card lifting on hover (or rising in on reveal) gave the strip a second,
     vertical scroll that grabbed the mouse wheel mid-page. The top padding is
     the room that lift needs. */
  overflow-y:hidden; overscroll-behavior-x:contain; padding-top:.75rem;
}
@media (min-width:720px){ .scroller{ grid-auto-columns:minmax(300px,34vw); } }
@media (min-width:1100px){ .scroller{ grid-auto-columns:minmax(320px,26vw); } }
.scroller > *{ scroll-snap-align:start; }
.scroller::-webkit-scrollbar{ height:5px; }
.scroller::-webkit-scrollbar-thumb{ background:var(--line); border-radius:10px; }

/* "Ordered elsewhere" band (corporate) — the Bulk Meals / Festive Box cards
   sit on a photograph rather than an empty strip of page. With the festive
   box switched off the one card keeps its half and the photo fills the rest. */
.ranges-band{
  background:
    linear-gradient(90deg, rgba(14,21,16,.78) 0%, rgba(14,21,16,.45) 55%, rgba(14,21,16,.2) 100%),
    url(../img/boxes-colour.webp) center/cover no-repeat var(--forest-900);
}
.ranges-band .card{ box-shadow:0 24px 60px -24px rgba(0,0,0,.55); border-color:transparent; }
@media (max-width:719px){
  .ranges-band{ background:linear-gradient(rgba(14,21,16,.55),rgba(14,21,16,.7)), url(../img/boxes-colour@800.webp) center/cover no-repeat var(--forest-900); }
}

/* ---------- 15. Accordion / FAQ ------------------------------------------ */
.acc{ border-top:1px solid var(--line); }
:is(.section--dark,.hero,.cta-band) .acc{ border-color:var(--line-dark); }
.acc__item{ border-bottom:1px solid var(--line); }
:is(.section--dark,.hero,.cta-band) .acc__item{ border-color:var(--line-dark); }
.acc__btn{
  width:100%; display:flex; align-items:flex-start; justify-content:space-between; gap:1.5rem;
  padding:clamp(1.1rem,2.6vw,1.6rem) 0; background:none; border:0; cursor:pointer; text-align:left;
  font-family:var(--display); font-size:var(--step-2); letter-spacing:-.015em; line-height:1.2;
  color:inherit; transition:color .3s var(--ease);
}
.acc__btn:hover{ color:var(--brand); }
:is(.section--dark,.hero,.cta-band) .acc__btn:hover{ color:var(--brand-300); }
.acc__icon{ position:relative; width:1.25rem; height:1.25rem; flex:none; margin-top:.35em; }
.acc__icon::before,.acc__icon::after{
  content:""; position:absolute; inset:50% 0 auto 0; height:1.5px; background:currentColor;
  transition:transform .45s var(--ease-out);
}
.acc__icon::after{ transform:rotate(90deg); }
.acc__btn[aria-expanded="true"] .acc__icon::after{ transform:rotate(0deg); }
.acc__panel{ display:grid; grid-template-rows:0fr; transition:grid-template-rows .5s var(--ease-out); }
.acc__panel[data-open="true"]{ grid-template-rows:1fr; }
.acc__panel > div{ overflow:hidden; }
.acc__panel p{ padding-bottom:clamp(1.1rem,2.6vw,1.6rem); color:var(--text-soft); max-width:68ch; font-size:var(--step-0); }
:is(.section--dark,.hero,.cta-band) .acc__panel p{ color:var(--on-dark-soft); }

/* ---------- 16. Quote form ----------------------------------------------- */
.quote{
  background:var(--surface); border:1px solid var(--line-soft); border-radius:var(--radius-l);
  padding:clamp(1.5rem,4vw,2.75rem); box-shadow:var(--shadow-s);
}
:is(.section--dark,.hero,.cta-band) .quote{ background:var(--forest-800); border-color:var(--line-dark); }
.field{ display:grid; gap:.45rem; margin-bottom:1.1rem; min-width:0; }
.field label{ font-size:.72rem; font-weight:600; letter-spacing:.12em; text-transform:uppercase; color:var(--text-faint); }
:is(.section--dark,.hero,.cta-band) .field label{ color:var(--on-dark-soft); }
.field input,.field select,.field textarea{
  width:100%; padding:.85rem 1rem; border-radius:var(--radius-s);
  border:1px solid var(--line); background:var(--paper); color:var(--text);
  font-size:var(--step-0); transition:border-color .3s var(--ease), box-shadow .3s var(--ease), background .3s var(--ease);
}
:is(.section--dark,.hero,.cta-band) .field input,:is(.section--dark,.hero,.cta-band) .field select,:is(.section--dark,.hero,.cta-band) .field textarea{
  background:var(--forest-900); border-color:var(--line-dark); color:var(--on-dark);
}
.field input:focus,.field select:focus,.field textarea:focus{
  outline:0; border-color:var(--brand); box-shadow:0 0 0 3px color-mix(in srgb, var(--brand) 18%, transparent);
}
.field textarea{ min-height:120px; resize:vertical; }
.field-row{ display:grid; gap:0 1rem; }
@media (min-width:620px){ .field-row{ grid-template-columns:1fr 1fr; } }
.form-note{ font-size:var(--step--1); color:var(--text-faint); margin-top:.85rem; }
:is(.section--dark,.hero,.cta-band) .form-note{ color:var(--on-dark-soft); }

/* chip choices */
.chips{ display:flex; flex-wrap:wrap; gap:.5rem; }
.chip{ position:relative; }
.chip input{ position:absolute; opacity:0; width:0; height:0; }
.chip span{
  display:inline-block; padding:.55rem 1rem; border:1px solid var(--line); border-radius:100px;
  font-size:var(--step--1); cursor:pointer; color:var(--text-soft);
  transition:background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
}
:is(.section--dark,.hero,.cta-band) .chip span{ border-color:var(--line-dark); color:var(--on-dark-soft); }
.chip input:checked + span{ background:var(--brand); border-color:var(--brand); color:#fff; }
.chip input:focus-visible + span{ outline:2.5px solid var(--saffron); outline-offset:2px; }

/* ---------- 17. CTA band ------------------------------------------------- */
.cta-band{ position:relative; isolation:isolate; overflow:hidden; background:var(--forest-900); color:var(--on-dark); }
.cta-band__media{ position:absolute; inset:0; z-index:-2; }
.cta-band__media img{ width:100%; height:100%; object-fit:cover; opacity:.34; }
.cta-band::after{ content:""; position:absolute; inset:0; z-index:-1; background:radial-gradient(90% 110% at 50% 0%, rgba(20,32,25,.35), rgba(14,21,16,.92)); }
.cta-band__inner{ text-align:center; display:grid; gap:1.4rem; justify-items:center; }
.cta-band__title{ font-size:var(--step-5); max-width:17ch; }

/* ---------- 18. Footer --------------------------------------------------- */
.site-footer{ background:var(--ink); color:var(--on-dark-soft); padding-top:clamp(3.5rem,7vw,6rem); }
.footer-top{ display:grid; gap:clamp(2rem,5vw,3rem); padding-bottom:clamp(2.5rem,5vw,4rem); }
@media (min-width:700px) and (max-width:899px){
  .footer-top{ grid-template-columns:repeat(3, minmax(0,1fr)); }
  .footer-brand{ grid-column:1 / -1; }
}
@media (min-width:900px){ .footer-top{ grid-template-columns:1.6fr 1fr 1fr 1.3fr; } }
.site-footer h3{ font-family:var(--sans); font-size:.72rem; letter-spacing:.2em; text-transform:uppercase; color:var(--on-dark); margin-bottom:1.1rem; font-weight:600; }
.site-footer a:hover{ color:var(--brand-300); }
.footer-links li + li{ margin-top:.6rem; }
.footer-links a{ font-size:var(--step--1); }
.footer-links a,.footer-links span{ overflow-wrap:anywhere; }

/* Each link column: a plain heading on wider screens, a + accordion on phones. */
.footer-col{ min-width:0; }
.footer-col__btn{
  display:flex; align-items:center; justify-content:space-between; gap:1rem; width:100%;
  padding:0; margin:0; border:0; background:none; color:inherit; text-align:left;
  font:inherit; letter-spacing:inherit; text-transform:inherit;
  pointer-events:none; cursor:default; -webkit-tap-highlight-color:transparent;
}
.footer-col__icon{ display:none; }
@media (max-width:699px){
  .footer-top{ gap:0; }
  .footer-brand{ padding-bottom:2.25rem; }
  .footer-col{ border-top:1px solid var(--line-dark); }
  .footer-col:last-child{ border-bottom:1px solid var(--line-dark); }
  .site-footer .footer-col__head{ margin:0; font-size:.78rem; }
  .footer-col__btn{ pointer-events:auto; cursor:pointer; padding:1.2rem 0; }
  .footer-col__icon{ display:block; position:relative; width:14px; height:14px; flex:none; }
  .footer-col__icon::before,.footer-col__icon::after{
    content:""; position:absolute; left:0; right:0; top:50%; height:1.5px; margin-top:-.75px;
    background:currentColor; transition:transform .4s var(--ease-out);
  }
  .footer-col__icon::after{ transform:rotate(90deg); }
  .footer-col__btn[aria-expanded="true"] .footer-col__icon::after{ transform:rotate(0deg); }
  .footer-col__inner{ padding-bottom:1.4rem; }
  .footer-links li + li{ margin-top:.9rem; }
  .footer-links a{ font-size:var(--step-0); }
  /* folded only once JS is running, so a script failure never hides links */
  .dc-js .footer-col__panel{ display:grid; grid-template-rows:0fr; transition:grid-template-rows .45s var(--ease-out); }
  .dc-js .footer-col__panel.is-open{ grid-template-rows:1fr; }
  .dc-js .footer-col__panel > .footer-col__inner{ overflow:hidden; min-height:0; padding-bottom:0; }
  .dc-js .footer-col__panel > .footer-col__inner::after{ content:""; display:block; height:1.4rem; }
  .dc-js .footer-col__panel:not(.is-open) > .footer-col__inner{ visibility:hidden; transition:visibility 0s .45s; }
  .footer-bottom{ flex-direction:column; align-items:flex-start; }
}
.footer-brand .brand{ color:var(--on-dark); margin-bottom:1rem; }
.footer-brand p{ font-size:var(--step--1); max-width:34ch; }
.socials{ display:flex; gap:.6rem; margin-top:1.25rem; }
.socials a{
  width:40px; height:40px; display:grid; place-items:center; border-radius:50%;
  border:1px solid var(--line-dark); transition:background .3s var(--ease), color .3s var(--ease), transform .3s var(--ease), border-color .3s var(--ease);
}
.socials a:hover{ background:var(--brand); border-color:var(--brand); color:#fff; transform:translateY(-3px); }
.socials svg{ width:17px; height:17px; }
.footer-bottom{
  border-top:1px solid var(--line-dark); padding-block:1.5rem calc(1.5rem + env(safe-area-inset-bottom));
  display:flex; flex-wrap:wrap; gap:.75rem 1.5rem; justify-content:space-between; align-items:center;
  font-size:.78rem;
}
.footer-bottom ul{ display:flex; flex-wrap:wrap; gap:1.25rem; }

/* big footer wordmark */
.footer-word{
  font-family:var(--display); font-size:clamp(3rem,15vw,13rem); line-height:.82; letter-spacing:-.045em;
  color:transparent; -webkit-text-stroke:1px rgba(242,238,227,.17); text-align:center;
  padding-top:clamp(1rem,3vw,2rem); user-select:none; overflow:hidden; white-space:nowrap;
}

/* ---------- 19. Misc ----------------------------------------------------- */
.note{
  display:flex; gap:.85rem; align-items:flex-start; padding:1.1rem 1.25rem;
  background:color-mix(in srgb, var(--saffron) 12%, transparent);
  border:1px solid color-mix(in srgb, var(--saffron) 32%, transparent);
  border-radius:var(--radius); font-size:var(--step--1); color:var(--text-soft);
}
.note svg{ width:1.1rem; height:1.1rem; flex:none; margin-top:.15em; color:var(--copper); }
:is(.section--dark,.hero,.cta-band) .note{ color:var(--on-dark-soft); }

.pill-list{ display:flex; flex-wrap:wrap; gap:.5rem; }
.pill{
  padding:.45rem .9rem; border-radius:100px; border:1px solid var(--line);
  font-size:var(--step--1); color:var(--text-soft);
}
:is(.section--dark,.hero,.cta-band) .pill{ border-color:var(--line-dark); color:var(--on-dark-soft); }

.rule{ height:1px; background:var(--line); border:0; margin:0; }
:is(.section--dark,.hero,.cta-band) .rule{ background:var(--line-dark); }

.sec-head{ display:grid; gap:1rem; margin-bottom:clamp(2.25rem,5vw,3.5rem); }
@media (min-width:900px){
  .sec-head--split{ grid-template-columns:1.35fr 1fr; align-items:end; gap:2.5rem; }
  .sec-head--split .sec-head__aside{ justify-self:end; text-align:right; }
}

/* grain overlay */
.grain{
  position:fixed; inset:0; z-index:300; pointer-events:none; opacity:.4; mix-blend-mode:multiply;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='.055'/%3E%3C/svg%3E");
}

/* ---------- 20. Scroll reveal -------------------------------------------- */
[data-reveal]{
  opacity:0; transform:translateY(26px);
  transition:opacity .85s var(--ease-out), transform .95s var(--ease-out);
  transition-delay:calc(var(--d, 0) * 1ms);
}
[data-reveal].in{ opacity:1; transform:none; }
[data-reveal="fade"]{ transform:none; }
[data-reveal="left"]{ transform:translateX(-30px); }
[data-reveal="right"]{ transform:translateX(30px); }
[data-reveal="zoom"]{ transform:scale(.95); }
/* The clip reveal animates the CHILDREN, not the element itself.
   Chrome's IntersectionObserver takes clip-path into account when it works
   out an intersection rect, so clipping the observed element to
   inset(0 0 100%) gave it zero visible area — it never counted as
   intersecting, never got .in, and so stayed clipped for good. Keeping the
   observed box unclipped breaks that deadlock and the effect is identical. */
[data-reveal="clip"]{ opacity:1; transform:none; clip-path:none; transition:none; }
[data-reveal="clip"] > *{
  clip-path:inset(0 0 100% 0);
  transition:clip-path 1.1s var(--ease-out);
  transition-delay:calc(var(--d, 0) * 1ms);
}
[data-reveal="clip"].in > *{ clip-path:inset(0 0 0 0); }

/* ---------- 21. Reduced motion ------------------------------------------- */
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior:auto; }
  *,*::before,*::after{
    animation-duration:.001ms !important; animation-iteration-count:1 !important;
    transition-duration:.001ms !important; scroll-behavior:auto !important;
  }
  [data-reveal]{ opacity:1 !important; transform:none !important; clip-path:none !important; }
  [data-reveal="clip"] > *{ clip-path:none !important; }
  .reveal-line > span{ transform:none !important; }
  .marquee__track{ animation:none; }
  .hero__media img{ transform:none !important; }
  .menu-list a{ transform:none !important; }
}

/* ---------- 22. Print ---------------------------------------------------- */
@media print{
  .site-header,.menu-panel,.grain,.cta-band,.hero__scroll,.marquee{ display:none !important; }
  body{ background:#fff; color:#000; }
  .section{ padding-block:1.5rem; }
  a[href^="http"]::after{ content:" (" attr(href) ")"; font-size:.7em; color:#555; }
}

/* ---------- 23. Dark-section text overrides ------------------------------ */
:is(.section--dark,.hero,.cta-band) .muted,
.cta-band .muted{ color:var(--on-dark-soft); }
:is(.section--dark,.hero,.cta-band) .small.muted{ color:var(--on-dark-soft); }
:is(.section--dark,.hero,.cta-band) .card{ background:var(--forest-800); border-color:var(--line-dark); color:var(--on-dark); }
:is(.section--dark,.hero,.cta-band) .card__text{ color:var(--on-dark-soft); }
:is(.section--dark,.hero,.cta-band) .card:hover{ border-color:var(--brand); }
:is(.section--dark,.hero,.cta-band) .card__list li::before{ background:var(--brand-300); }
:is(.section--dark,.hero,.cta-band) hr.rule{ background:var(--line-dark); }
.cta-band .eyebrow{ color:var(--brand-300); }
