/* =============================================================
   BRASSICA — main.css
   Built against the Brassica Web Design Guide v1.0 (2026).
   Build against tokens, never against literals.
   Breakpoint model: desktop ≥1170px, mobile ≤1169px.
   ============================================================= */

/* -------------------------------------------------------------
   1. TOKENS  (Design Guide, Appendix: Token Reference, p.65–67)
   ------------------------------------------------------------- */
:root {
  /* Color — brand */
  --brand-primary:        #ED2891;
  --brand-primary-hover:  #CC2585;
  --brand-secondary:      #D5A459;
  --brand-secondary-hover:#CF9134;
  --brand-light:          #FFFFFF;
  --brand-dark:           #231F20;

  /* Color — text */
  --text-primary-dark:    #231F20;
  --text-primary-light:   #F9F9F9;
  --text-secondary-dark:  #3F383D;
  /* Client decision (v1.0.4): secondary-light retired in favor of
     primary light everywhere it was used. Token kept so a future
     change is one line here. Original guide value: #CAC5B4. */
  --text-secondary-light: #F9F9F9;
  --text-tertiary:        #D5A459;

  /* Color — background */
  --bg-light:             #F9F9F9;
  --bg-dark:              #231F20;
  --overlay-image:        rgba(0, 0, 0, 0.30);

  /* Layout */
  --radius:               1px;
  --rule-weight:          1px;
  --stroke-button:        2px;
  --container-max:        1440px;
  --live-area:            1240px;   /* within the 1200–1280 range */
  --header-content-max:   1120px;
  --gutter:               24px;
  --header-h:             108px;
  --side-margin:          clamp(20px, 5vw, 80px);

  /* Buttons */
  --btn-height-sm:        36px;
  --btn-height-md:        44px;
  --btn-height-lg:        60px;
  --btn-min-width:        150px;

  /* Motion */
  --transition:           0.2s ease-out;
  --tracking-hover-delta: -0.01em;

  /* Section rhythm (p.15–16) */
  --section-pad:          clamp(120px, 10vw, 160px);
  --block-gap:            56px;   /* between blocks in a section: 48–64 */
  --headline-to-body:     24px;
  --body-to-cta:          32px;
  --rule-gap:             24px;

  /* Type family — Raleway, one family across the entire site */
  --font: "Raleway", "Helvetica Neue", Arial, sans-serif;
}

@media (max-width: 1169px) {
  :root {
    --header-h:          100px;
    --section-pad:       clamp(72px, 12vw, 96px);
    --block-gap:         40px;
    --headline-to-body:  20px;
    --body-to-cta:       28px;
    --rule-gap:          20px;
  }
}

/* -------------------------------------------------------------
   2. RESET & BASE
   ------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.65;
  color: var(--text-primary-dark);
  background: var(--bg-light);
}

img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; background: none; border: 0; padding: 0; cursor: pointer; color: inherit; }

/* Anchor targets clear the fixed header */
[id] { scroll-margin-top: calc(var(--header-h) + 24px); }

/* Skip link (accessibility) */
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--bg-dark); color: var(--text-primary-light);
  padding: 12px 20px;
}
.skip-link:focus { left: 12px; top: 12px; }

/* -------------------------------------------------------------
   3. TYPOGRAPHY  (p.11–14)
   One H1 per page. Headlines never go bold. Tracking ≥ 0.
   ------------------------------------------------------------- */
h1, .h1 { font-weight: 200; font-size: 64px; line-height: 1.1;  letter-spacing: 0.005em; margin: 0; }
h2, .h2 { font-weight: 300; font-size: 48px; line-height: 1.15; letter-spacing: 0.01em;  margin: 0; }
h3, .h3 { font-weight: 300; font-size: 36px; line-height: 1.2;  letter-spacing: 0.01em;  margin: 0; }
h4, .h4 { font-weight: 400; font-size: 26px; line-height: 1.3;  margin: 0; }
h5, .h5 { font-weight: 500; font-size: 20px; line-height: 1.35; margin: 0; }
h6, .h6, .eyebrow {
  font-weight: 600; font-size: 14px; line-height: 1.4;
  letter-spacing: 0.135em; text-transform: uppercase; margin: 0;
}

.lead    { font-weight: 300; font-size: 20px; line-height: 1.6; }
.body    { font-weight: 400; font-size: 17px; line-height: 1.65; }
.caption { font-weight: 400; font-size: 14px; line-height: 1.5; letter-spacing: 0.01em; }
.legal   { font-weight: 400; font-size: 12px; line-height: 1.5; letter-spacing: 0.02em; }

@media (max-width: 1169px) {
  h1, .h1 { font-size: 40px; }
  h2, .h2 { font-size: 32px; }
  h3, .h3 { font-size: 28px; }
  h4, .h4 { font-size: 22px; }
  h5, .h5 { font-size: 18px; }
  .lead   { font-size: 18px; }
}

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

/* Body copy measure: 65–75 characters (p.12) */
.measure { max-width: 70ch; }
.measure--center { max-width: 70ch; margin-left: auto; margin-right: auto; }

/* Text links (Tertiary text color) */
.text-link {
  color: var(--text-tertiary);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color var(--transition);
}
.text-link:hover { color: var(--brand-secondary-hover); }

/* -------------------------------------------------------------
   4. LAYOUT: CONTAINER, SECTIONS, RHYTHM  (p.15–18)
   ------------------------------------------------------------- */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding-left: var(--side-margin);
  padding-right: var(--side-margin);
}
.live {
  max-width: var(--live-area);
  margin-left: auto;
  margin-right: auto;
}

.section { padding-top: var(--section-pad); padding-bottom: var(--section-pad); }

/* Strict pairing: light bg → dark text; dark bg → light text (p.9) */
.section--light { background: var(--bg-light); color: var(--text-primary-dark); }
.section--light .text-secondary { color: var(--text-secondary-dark); }
.section--dark  { background: var(--bg-dark);  color: var(--text-primary-light); }
.section--dark  .text-secondary { color: var(--text-secondary-light); }

.center { text-align: center; }

.stack > * + *            { margin-top: var(--block-gap); }
.headline + .lead,
h1 + .lead, h2 + .lead, h3 + .lead,
h1 + p, h2 + p, h3 + p    { margin-top: var(--headline-to-body); }
.cta-row                  { margin-top: var(--body-to-cta); display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; align-items: center; }
.cta-row--left            { justify-content: flex-start; }

/* -------------------------------------------------------------
   5. IMAGE PLACEHOLDERS & MEDIA BLOCKS
   Hatched boxes marked IMAGE — art-directed separately (p.4).
   Every image that carries text carries the 30% overlay (p.9).
   ------------------------------------------------------------- */
.ph {
  position: relative;
  background:
    repeating-linear-gradient(45deg,
      rgba(255,255,255,0.05) 0 12px, rgba(0,0,0,0.06) 12px 24px),
    #3a3536;
  overflow: hidden;
}
.ph--light {
  background:
    repeating-linear-gradient(45deg,
      rgba(0,0,0,0.035) 0 12px, rgba(0,0,0,0.08) 12px 24px),
    #e9e7e4;
}
.ph__label {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 600; letter-spacing: 0.15em;
  text-transform: uppercase; color: rgba(255,255,255,0.55);
  pointer-events: none;
}
.ph--light .ph__label { color: rgba(35,31,32,0.4); }

/* Full-screen media header shared by most pages */
.media-hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex; align-items: center; justify-content: center;
  color: var(--text-primary-light);
  text-align: center;
  background: var(--bg-dark);
  overflow: hidden;
}
.media-hero--short { min-height: 62vh; }
.media-hero__media { position: absolute; inset: 0; }
.media-hero__media img,
.media-hero__media video { width: 100%; height: 100%; object-fit: cover; }
.media-hero__media::after {           /* the 30% overlay — not optional */
  content: ""; position: absolute; inset: 0;
  background: var(--overlay-image);
}
.media-hero__content {
  position: relative; z-index: 1;
  padding: calc(var(--header-h) + 40px) var(--side-margin) 64px;
  max-width: 880px;
}
.media-hero__content .lead { margin-top: var(--headline-to-body); }

/* Hero carousel slides (Home) */
.hero-slides { position: absolute; inset: 0; }
.hero-slide {
  position: absolute; inset: 0; opacity: 0;
  transition: opacity 1.2s ease;
}
.hero-slide.is-active { opacity: 1; }
.hero-slide img { width: 100%; height: 100%; object-fit: cover; }

/* On mobile the header does not overlap content (p.18) —
   heroes tuck under the in-flow header naturally. */
@media (max-width: 1169px) {
  .media-hero__content { padding-top: 64px; }
}

/* -------------------------------------------------------------
   6. RULES & DOTTED DIVIDERS  (p.26–27)
   All rules 1px. Dots are round, 1px, evenly spaced.
   ------------------------------------------------------------- */
.rule        { border: 0; height: var(--rule-weight); margin: var(--rule-gap) 0; background: var(--brand-dark); }
.rule--light { background: var(--text-primary-light); }
.rule--gold  { background: var(--brand-secondary); }
.rule--pink  { background: var(--brand-primary); }   /* reserved: Don't Forget only */

/* Round-dot lines via radial gradients (crisper than border-style:dotted) */
.dots-h, .dots-v { --dot-color: var(--text-primary-dark); flex: none; }
.dots-h {
  height: 3px;
  background-image: radial-gradient(circle, var(--dot-color) 1.2px, transparent 1.4px);
  background-size: 9px 3px;
  background-repeat: repeat-x;
  background-position: center;
}
.dots-v {
  width: 3px; align-self: stretch;
  background-image: radial-gradient(circle, var(--dot-color) 1.2px, transparent 1.4px);
  background-size: 3px 9px;
  background-repeat: repeat-y;
  background-position: center;
}
.dots--gold { --dot-color: var(--brand-secondary); }

/* Menu section-title lockup: rule — H2 — rule (p.40) */
.title-lockup {
  display: flex; align-items: center; gap: 24px;
  text-align: center;
}
.title-lockup::before, .title-lockup::after {
  content: ""; flex: 1; height: var(--rule-weight);
  background: var(--brand-secondary);
}
.title-lockup > * { flex: none; }

/* Dotted subhead lockup: dots — H4 gold — dots (Load It Up With, p.42) */
.subhead-lockup { display: flex; align-items: center; gap: 20px; }
.subhead-lockup::before, .subhead-lockup::after {
  content: ""; flex: 1; height: 3px;
  background-image: radial-gradient(circle, var(--brand-secondary) 1.2px, transparent 1.4px);
  background-size: 9px 3px; background-repeat: repeat-x; background-position: center;
}
.subhead-lockup > .h4 { color: var(--text-tertiary); flex: none; }

/* -------------------------------------------------------------
   7. BUTTONS  (p.22–25)
   Three tiers, three sizes. Radius 1px everywhere.
   Hug with a 150px minimum. Title Case labels (markup).
   Hover: color + letter-spacing tighten together, 0.2s ease-out.
   ------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: var(--btn-min-width);
  border-radius: var(--radius);
  font-weight: 500; font-size: 15px; line-height: 1;
  letter-spacing: 0.09em;
  text-decoration: none; text-align: center;
  cursor: pointer; white-space: nowrap;
  transition: color var(--transition), background-color var(--transition),
              border-color var(--transition), letter-spacing var(--transition);
  border: 0;
}
.btn:hover { letter-spacing: 0.08em; }   /* 0.09 − 0.01em */

/* Width lock: a hidden ghost of the label, rendered at rest tracking
   (the widest state), holds the button's width so the hover tighten
   never shifts neighbors. The visible line re-centers inside. */
.btn__label { display: inline-flex; flex-direction: column; align-items: center; }
.btn__label::after {
  content: attr(data-label);
  height: 0; overflow: hidden; visibility: hidden; pointer-events: none;
  letter-spacing: 0.09em;              /* rest tracking for buttons */
}
.nav-label { display: inline-flex; flex-direction: column; align-items: flex-start; }
.nav-label::after {
  content: attr(data-label);
  height: 0; overflow: hidden; visibility: hidden; pointer-events: none;
  letter-spacing: 0.1em;               /* rest tracking for nav links */
}

/* Sizes */
.btn--sm { height: var(--btn-height-sm); padding: 4px 12px;  gap: 4px;  font-size: 14px; }
.btn--md { height: var(--btn-height-md); padding: 10px 16px; gap: 6px;  }
.btn--lg { height: var(--btn-height-lg); padding: 16px 22px; gap: 10px; }

/* Tiers */
.btn--primary {
  background: var(--brand-primary);
  color: var(--text-primary-light);
}
.btn--primary:hover { background: var(--brand-primary-hover); color: var(--text-primary-light); }

.btn--secondary {
  background: transparent;
  border: var(--stroke-button) solid var(--brand-secondary);
  color: var(--text-primary-dark);
}
.section--dark .btn--secondary,
.on-dark .btn--secondary,
.site-header .btn--secondary,
.mobile-nav .btn--secondary,
.site-footer .btn--secondary,
.lightbox__panel .btn--secondary,
.offerings .btn--secondary,
.media-hero .btn--secondary { color: var(--text-primary-light); }
/* Hover: stroke deepens to the hover gold; no fill, label keeps its
   contextual color (client decision v1.0.11 — the guide's fill-on-hover
   from p.25 is retired). The tracking tighten comes from .btn:hover. */
.btn--secondary:hover {
  border-color: var(--brand-secondary-hover);
}
.btn--secondary.is-active {          /* filter active state (p.35) */
  background: var(--brand-secondary-hover);
  border-color: var(--brand-secondary-hover);
  color: var(--text-primary-light);
}

.btn--tertiary {
  background: transparent; border: 0;
  min-width: 0;
  color: inherit;
}
.btn--tertiary:hover { color: var(--brand-secondary-hover); }

/* Focus: never removed, never hover-only (p.25) */
.btn:focus-visible,
a:focus-visible,
button:focus-visible,
.accordion__trigger:focus-visible {
  outline: 2px solid var(--brand-secondary);
  outline-offset: 2px;
}

.btn[disabled], .btn.is-disabled { opacity: 0.4; pointer-events: none; }

/* Icons: trailing arrow = leaves the site; chevron = opens in place */
.btn__icon { flex: none; width: 1em; height: 1em; }
.btn__icon svg { width: 100%; height: 100%; fill: currentColor; }
.btn__chev { transition: transform var(--transition); }
[aria-expanded="true"] > .btn__chev { transform: rotate(180deg); }

/* Touch targets ≥ 44×44 on mobile (p.18) */
@media (max-width: 1169px) {
  .btn--sm { min-height: 44px; }
  .btn--tertiary { min-height: 44px; }
}

/* -------------------------------------------------------------
   8. HEADER & NAVIGATION  (p.28–31)
   ------------------------------------------------------------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--header-h);
  background: var(--bg-dark);
  color: var(--text-primary-light);
  border-bottom: var(--rule-weight) solid var(--text-primary-light);
  transition: background-color var(--transition), border-color var(--transition);
}
/* Transparent at the top of hero pages; the opaque chrome fades in on
   scroll. Desktop only — the mobile header sits above content, not over
   it — and only on pages whose hero/dark section sits behind the header. */
@media (min-width: 1170px) {
  body.brassica-hero-page .site-header.is-transparent {
    background-color: transparent;
    border-bottom-color: transparent;
  }
}
.site-header__inner {
  max-width: var(--header-content-max);
  height: 100%;
  margin: 0 auto;
  padding: 0 24px;
  display: flex; align-items: center;
}
.site-header__brand { flex: none; margin-right: 36px; }
.site-header__brand svg { width: 50px; height: 50px; color: var(--brand-primary); }

.site-nav { display: flex; align-items: center; gap: 12px; }
.site-nav__item { position: relative; }
.site-nav__link {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 8px;
  font-size: 15px; font-weight: 500; letter-spacing: 0.1em;
  line-height: 1; text-decoration: none;   /* Title Case per mockup */
  color: var(--text-primary-light);
  transition: color var(--transition), letter-spacing var(--transition);
}
.site-nav__link:hover { color: var(--brand-secondary-hover); letter-spacing: 0.09em; }
.site-nav__chev { width: 10px; height: 10px; transition: transform var(--transition); }
.site-nav__chev svg { width: 100%; height: 100%; }
/* The chevron artwork is a 1.4-weight stroke (half of Material's). At
   this 10px display size that would render sub-pixel, so the nav
   instances bump the stroke to stay a crisp hairline. Larger uses
   (the hero scroll cue) keep the thin weight from the file. */
.site-nav__chev svg { stroke-width: 2.4; }
.site-nav__item.is-open .site-nav__chev,
.site-nav__item:has(:focus-visible) .site-nav__chev { transform: rotate(90deg); }

/* Submenu: opens on hover, focus, and click (p.29) */
.site-nav__submenu {
  position: absolute; top: calc(100% + 8px); left: 0;
  min-width: 190px;
  background: var(--bg-dark);
  padding: 16px;
  display: none;
  flex-direction: column; gap: 12px;
  z-index: 110;
}
/* Invisible bridge across the 8px offset so the pointer can travel
   from trigger to panel without the hover state breaking. */
.site-nav__submenu::before {
  content: ""; position: absolute;
  top: -9px; left: 0; right: 0; height: 9px;
}
/* Open state lives in the .is-open class (hover + click, managed in
   global.js so click-to-close always wins). The :has() rule keeps the
   panel open for keyboard focus without fighting mouse clicks —
   :focus-visible doesn't match on pointer clicks. */
.site-nav__item.is-open > .site-nav__submenu,
.site-nav__item:has(:focus-visible) > .site-nav__submenu {
  display: flex;
  animation: submenu-reveal var(--transition);
}
/* Top-to-bottom unmask, easing out. Close stays instant — restraint. */
@keyframes submenu-reveal {
  from { clip-path: inset(0 0 100% 0); }
  to   { clip-path: inset(0 0 0 0); }
}
.site-nav__submenu a {
  font-size: 14px; font-weight: 500; letter-spacing: 0.1em;
  text-decoration: none;
  color: var(--text-primary-light);
  transition: color var(--transition);
  padding: 2px 0;
}
.site-nav__submenu a:hover { color: var(--brand-secondary-hover); }

.site-header__ctas { margin-left: auto; display: flex; align-items: center; gap: 16px; }

.site-header__toggle { display: none; }

/* --- Mobile header & drawer (p.30–31) --- */
@media (max-width: 1169px) {
  .site-header { position: sticky; }      /* does not overlap content */
  .site-header__inner { max-width: none; padding: 24px; }
  .site-nav, .site-header__ctas { display: none; }

  .site-header__toggle {
    display: inline-flex; align-items: center; justify-content: center;
    margin-left: auto;
    width: 44px; height: 44px;
    color: var(--text-primary-light);
  }
  .site-header__toggle svg { width: 26px; height: 26px; fill: currentColor; }
  .site-header__toggle .icon-close { display: none; }
  .site-header__toggle[aria-expanded="true"] .icon-menu  { display: none; }
  .site-header__toggle[aria-expanded="true"] .icon-close { display: block; }

  .mobile-nav {
    position: fixed;
    top: var(--header-h); left: 0; right: 0; bottom: 0;
    background: var(--bg-dark);
    color: var(--text-primary-light);
    padding: 24px;
    overflow-y: auto;
    display: none;
    z-index: 99;
  }
  .mobile-nav.is-open { display: block; }

  .mobile-nav__list { list-style: none; margin: 0; padding: 0; }
  .mobile-nav__list > li { padding-bottom: 24px; }
  .mobile-nav__link,
  .mobile-nav__trigger {
    display: inline-flex; align-items: center; gap: 8px;
    min-height: 44px;
    font-size: 15px; font-weight: 500; letter-spacing: 0.1em;
    text-decoration: none;               /* Title Case per mockup */
    color: var(--text-primary-light);
  }
  .mobile-nav__trigger .site-nav__chev { transform: rotate(90deg); }
  .mobile-nav__trigger[aria-expanded="true"] .site-nav__chev { transform: rotate(-90deg); }

  /* Submenu pushes the list down; it does not overlay (p.30) */
  .mobile-nav__submenu {
    list-style: none; margin: 8px 0 0; padding: 0 0 0 20px;
    display: none;
  }
  .mobile-nav__trigger[aria-expanded="true"] + .mobile-nav__submenu { display: block; }
  .mobile-nav__submenu li { padding: 8px 0; }
  .mobile-nav__submenu a {
    color: var(--text-primary-light); text-decoration: none;
    font-size: 14px; font-weight: 500; letter-spacing: 0.1em;
    display: inline-flex; min-height: 44px; align-items: center;
  }
  .mobile-nav__ctas { display: flex; flex-direction: column; gap: 16px; margin-top: 8px; max-width: 320px; }

  body.nav-open { overflow: hidden; }
}
@media (min-width: 1170px) {
  .mobile-nav { display: none !important; }
}

/* Pages without a media hero start below the fixed header on desktop */
.page-offset { padding-top: var(--header-h); }
@media (max-width: 1169px) {
  .page-offset { padding-top: 0; }   /* sticky header is in flow on mobile */
}

/* -------------------------------------------------------------
   9. FOOTER  (p.32–33)
   ------------------------------------------------------------- */
.site-footer {
  background: var(--bg-dark);
  color: var(--text-primary-light);
  text-align: center;
  padding: 96px var(--side-margin) 48px;
}
.site-footer__wordmark { display: inline-block; color: var(--brand-primary); }
.site-footer__wordmark svg { height: 50px; width: auto; }

.site-footer__links {
  list-style: none; margin: 48px 0 0; padding: 0;
  display: flex; justify-content: center; gap: 40px;
}
.site-footer__links a {
  font-size: 18px; text-decoration: none;
  color: var(--text-primary-light);
  transition: color var(--transition);
}
.site-footer__links a:hover { color: var(--brand-secondary-hover); }

.site-footer__instagram {
  display: inline-flex; margin-top: 44px;
  color: var(--brand-secondary);
  width: 44px; height: 44px; align-items: center; justify-content: center;
  transition: color var(--transition);
}
.site-footer__instagram:hover { color: var(--brand-secondary-hover); }
.site-footer__instagram svg { width: 30px; height: 30px; fill: currentColor; }

.site-footer__rule {
  border: 0; height: var(--rule-weight);
  background: var(--text-primary-light);
  max-width: var(--live-area); margin: 56px auto 32px;
}
.site-footer__caption { max-width: 760px; margin: 0 auto; }
.site-footer__caption a { color: inherit; }
.site-footer__legal { margin-top: 16px; }

@media (max-width: 1169px) {
  .site-footer { padding-top: 72px; }
  .site-footer__links { flex-direction: column; gap: 24px; }
}

/* -------------------------------------------------------------
   10. ACCORDIONS, TABS & FILTERS  (p.34–35)
   ------------------------------------------------------------- */
/* Accordion */
.accordion { display: flex; flex-direction: column; gap: 24px; text-align: left; }
.accordion__row {
  border: var(--rule-weight) solid var(--brand-dark);
  border-radius: var(--radius);
  background: transparent;
}
.accordion__trigger {
  width: 100%;
  display: flex; align-items: flex-start; gap: 16px;
  padding: 28px 32px;
  text-align: left;
}
.accordion__heading { flex: 1; }
.accordion__heading .h3 { font-size: 26px; line-height: 1.25; }
.accordion__heading .caption { display: block; margin-top: 6px; color: var(--text-secondary-dark); }
.accordion__icon {
  flex: none; width: 20px; height: 20px; margin-top: 6px;
  position: relative; color: var(--text-primary-dark);
}
.accordion__icon::before, .accordion__icon::after {
  content: ""; position: absolute; background: currentColor;
  transition: opacity var(--transition);   /* crossfade — never spin (p.34) */
}
.accordion__icon::before { left: 0; right: 0; top: 9px; height: 2px; }
.accordion__icon::after  { top: 0; bottom: 0; left: 9px; width: 2px; }
.accordion__trigger[aria-expanded="true"] .accordion__icon::after { opacity: 0; }

.accordion__panel { overflow: hidden; height: 0; transition: height var(--transition); }
.accordion__panel-inner { padding: 0 32px 32px; }
.accordion__panel-inner .cta-row { justify-content: flex-start; }

@media (max-width: 1169px) {
  .accordion__trigger { padding: 20px; }
  .accordion__heading .h3 { font-size: 20px; }
  .accordion__panel-inner { padding: 0 20px 24px; }
}

/* Tabs */
.tabs__list {
  display: flex; gap: 32px; flex-wrap: wrap;
  border-bottom: var(--rule-weight) solid var(--brand-secondary);
  padding-bottom: 14px;
  margin-bottom: 48px;
}
.tabs__tab {
  font-size: 17px; font-weight: 400;
  color: var(--text-primary-light);
  transition: color var(--transition);
}
.section--light .tabs__tab { color: var(--text-primary-dark); }
.tabs__tab:hover { color: var(--brand-secondary-hover); }
.tabs__tab[aria-selected="true"] { color: var(--text-tertiary); }
.tabs__panel { animation: tab-fade var(--transition); }
.tabs__panel[hidden] { display: none; }
@keyframes tab-fade { from { opacity: 0; } to { opacity: 1; } }

@media (max-width: 1169px) {
  .tabs__list { flex-direction: column; gap: 16px; align-items: flex-start; }
}

/* Filters: Small Secondary buttons, centered row, wraps on mobile */
.filters {
  display: flex; justify-content: center; flex-wrap: wrap; gap: 12px;
  margin-top: 40px;
}
.filters .btn { min-width: 0; padding-left: 20px; padding-right: 20px; }

.result-count { margin-top: 28px; color: var(--text-secondary-dark); }

/* Empty state replaces the list (p.56) */
.empty-state {
  border: var(--rule-weight) solid var(--brand-dark);
  border-radius: var(--radius);
  padding: 40px 32px;
  text-align: left;
}

/* -------------------------------------------------------------
   11. HOME  (p.37–39)
   ------------------------------------------------------------- */
.home-hero__wordmark { display: inline-block; color: var(--brand-light); }
.home-hero__wordmark svg { height: 100px; width: auto; margin: 0 auto; }
@media (max-width: 480px) {
  /* If 100px will not fit with clear space, swap to wordmark alone at 50px */
  .home-hero__wordmark svg { height: clamp(50px, 24vw, 100px); }
}

/* Scroll cue — 50×50 Material chevron, Text Primary Light, bottom of
   the home hero. Points down; the click glides to #about. */
.hero-scroll-cue {
  position: absolute;
  left: 50%; bottom: 36px;
  transform: translateX(-50%);
  z-index: 2;
  width: 50px; height: 50px;
  display: flex; align-items: center; justify-content: center;
  color: var(--text-primary-light);
  transition: color var(--transition), transform var(--transition);
}
.hero-scroll-cue svg {
  width: 50px; height: 50px;
  transform: rotate(90deg);          /* forward chevron → down */
  fill: currentColor;
}
.hero-scroll-cue:hover {
  color: var(--brand-secondary-hover);
  transform: translateX(-50%) translateY(3px);
}

/* Offerings pinned scroll (03) */
.offerings { position: relative; background: var(--bg-dark); color: var(--text-primary-light); }
.offerings__track { position: relative; }
.offerings__viewport {
  position: sticky; top: 0;
  height: 100vh; height: 100svh;
  overflow: hidden;
  display: flex; align-items: center;
}
.offerings__media { position: absolute; inset: 0; will-change: transform; }
.offerings__media .offering-slide {
  position: absolute; inset: 0; opacity: 0; transition: opacity 0.5s ease;
}
.offerings__media .offering-slide.is-active { opacity: 1; }
.offerings__media img { width: 100%; height: 100%; object-fit: cover; }
.offerings__media::after { content: ""; position: absolute; inset: 0; background: var(--overlay-image); }

.offerings__copy {
  position: relative; z-index: 1;
  will-change: transform;
  width: 50%;
  padding-left: clamp(48px, 10vw, 176px);   /* generous left inset */
  padding-right: 24px;
  max-width: 760px;
  display: grid;                            /* stack the two groups */
}
/* One group on stage at a time: both occupy the same grid cell,
   vertically centered; the active one fades in as the other fades out. */
.offerings__group {
  grid-area: 1 / 1;
  align-self: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0s linear 0.4s;
}
.offerings__group.is-active {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.4s ease;
}
.offerings__group > h2 { margin-bottom: 28px; }
.offering-item { padding: 18px 0; opacity: 0.45; transition: opacity 0.3s ease; }
.offering-item.is-active { opacity: 1; }
.offering-item p { margin: 6px 0 0; color: var(--text-secondary-light); }
.offering-item::after {
  content: ""; display: block; margin-top: 18px;
  height: var(--rule-weight); background: var(--text-primary-light);
  max-width: 420px;
}

/* Degraded / mobile: stacked sequence — image, then its copy (p.39) */
.offerings--static .offerings__viewport { position: static; height: auto; display: block; }
.offerings--static .offerings__media { display: none; }
.offerings--static .offerings__copy { width: auto; max-width: none; padding: var(--section-pad) var(--side-margin); display: block; }
.offerings--static .offerings__group { opacity: 1; visibility: visible; }
.offerings--static .offerings__group + .offerings__group { margin-top: 48px; }
.offerings--static .offering-item { opacity: 1; }
.offerings--static .offering-static-img { aspect-ratio: 16 / 9; margin: 24px 0; }
.offerings--static .offering-static-img img { width: 100%; height: 100%; object-fit: cover; }

@media (max-width: 1169px) {
  .offerings__copy { width: auto; padding-right: var(--side-margin); }
}

/* -------------------------------------------------------------
   12. OUR MENU  (p.40–43)
   ------------------------------------------------------------- */
.menu-section { max-width: 980px; margin: 0 auto; }
.menu-section + .menu-section { margin-top: var(--block-gap); }
.menu-section .title-lockup { margin-bottom: 44px; }
.menu-section .title-lockup h2 { letter-spacing: 0.06em; text-transform: uppercase; font-size: 34px; }

.menu-row { display: flex; align-items: stretch; justify-content: center; gap: 0; text-align: center; }
.menu-item { flex: 1; padding: 0 28px; }
.menu-item .h4 { text-transform: uppercase; font-size: 20px; letter-spacing: 0.04em; }
.menu-item p { margin: 8px 0 0; font-size: 15px; color: var(--text-secondary-dark); }
.menu-item .caption { display: block; margin-top: 4px; color: var(--text-secondary-dark); text-transform: uppercase; letter-spacing: 0.08em; font-size: 11px; }

/* OR / symbol lockups (With, Crunch) */
.menu-or {
  flex: 1; display: flex; align-items: center; gap: 14px; padding: 0 20px;
  color: var(--text-tertiary);
}
.menu-or::before, .menu-or::after {
  content: ""; flex: 1; height: 3px;
  background-image: radial-gradient(circle, var(--text-primary-dark) 1.2px, transparent 1.4px);
  background-size: 9px 3px; background-repeat: repeat-x; background-position: center;
}
.menu-or .h4 { text-transform: uppercase; font-size: 20px; }
.menu-or svg { width: 44px; height: 16px; color: var(--brand-secondary); }

/* Enjoy One: 2×2 with vertical divider between columns, horizontal between rows */
.menu-grid-2x2 { display: grid; grid-template-columns: 1fr 3px 1fr; column-gap: 0; text-align: center; }
.menu-grid-2x2 .dots-v { grid-row: 1 / span 3; grid-column: 2; }
.menu-grid-2x2 .menu-cell { padding: 24px 28px; }
.menu-grid-2x2 .dots-h { width: 100%; }

/* Don't Forget (08): the page's pink budget */
.dont-forget {
  border: var(--rule-weight) solid var(--brand-primary);
  border-radius: var(--radius);
  padding: 0 32px 32px;
  margin-top: var(--block-gap);
}
.dont-forget__title {
  display: flex; align-items: center; gap: 20px;
  transform: translateY(-50%);
  color: var(--brand-primary);
}
.dont-forget__title::before, .dont-forget__title::after {
  content: ""; flex: 1; height: var(--rule-weight); background: var(--brand-primary);
}
.dont-forget__title .h4 { text-transform: uppercase; font-size: 18px; letter-spacing: 0.08em; }
.dont-forget .menu-row { margin-top: -6px; }

.menu-cta { margin-top: 64px; }

/* Mobile: single column; vertical dotted dividers become horizontal (p.27, 43) */
@media (max-width: 1169px) {
  .menu-row { flex-direction: column; align-items: stretch; }
  .menu-row .dots-v {
    width: auto; height: 3px; align-self: center; min-width: 160px; margin: 20px auto;
    background-image: radial-gradient(circle, var(--dot-color, var(--text-primary-dark)) 1.2px, transparent 1.4px);
    background-size: 9px 3px; background-repeat: repeat-x; background-position: center;
  }
  .menu-item { padding: 0; }
  .menu-or { padding: 20px 0; }
  .menu-grid-2x2 { grid-template-columns: 1fr; }
  .menu-grid-2x2 .dots-v {
    grid-row: auto; grid-column: 1;
    width: auto; height: 3px; margin: 20px auto; min-width: 160px; align-self: center;
    background-image: radial-gradient(circle, var(--text-primary-dark) 1.2px, transparent 1.4px);
    background-size: 9px 3px; background-repeat: repeat-x; background-position: center;
  }
  .menu-grid-2x2 .menu-cell { padding: 12px 0; }
  .menu-section .title-lockup { gap: 14px; }
  .menu-section .title-lockup h2 { font-size: 24px; }
}

/* -------------------------------------------------------------
   13. LOCATIONS & CATERING  (p.44–46, 59–60)
   ------------------------------------------------------------- */
.loc-group { max-width: var(--live-area); margin: 0 auto; }
.loc-group + .loc-group { margin-top: var(--section-pad); }
.loc-group__title {
  text-align: center;
  letter-spacing: 0.14em; text-transform: uppercase; font-size: 34px;
  padding-bottom: 18px; margin-bottom: 8px;
  border-bottom: var(--rule-weight) solid var(--brand-secondary);
}

.loc-entry {
  display: grid;
  grid-template-columns: 1.2fr 1fr 0.9fr;
  gap: var(--gutter);
  align-items: start;
  padding: 44px 0 36px;
  border-bottom: var(--rule-weight) solid var(--brand-dark);
}
.loc-entry__name .h3 { font-size: 30px; }
.loc-entry__name .lead { margin-top: 10px; font-size: 18px; white-space: pre-line; }
.loc-entry__addr { font-weight: 500; font-size: 15px; line-height: 1.6; padding-top: 8px; }
.loc-entry__addr .loc-entry__phone { display: block; margin-top: 14px; font-weight: 500; text-decoration: none; }
.loc-entry__addr a { color: inherit; }
.loc-entry__actions {
  display: flex; flex-direction: column; align-items: flex-end; gap: 18px;
  padding-top: 8px;
}
.loc-entry__actions .text-link { font-weight: 600; font-size: 14px; color: var(--text-primary-dark); }
.section--dark .loc-entry { border-bottom-color: var(--text-primary-light); }
.section--dark .loc-entry__actions .text-link { color: var(--text-primary-light); }

@media (max-width: 1169px) {
  .loc-entry { grid-template-columns: 1fr; gap: 16px; padding: 32px 0 28px; }
  .loc-entry__actions { align-items: flex-start; }
  .loc-group__title { font-size: 24px; }
}

/* Locations hero jump links */
.media-hero__jumps { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-top: 40px; }

/* Sarah Fairchild (04) */
.artist { max-width: var(--live-area); margin: var(--section-pad) auto 0; text-align: center; }
.artist__banner { aspect-ratio: 3 / 1; }
.artist h3 { margin-top: 40px; }
.artist .lead { margin-top: 16px; }
.artist .cta-row { margin-top: 28px; }
@media (max-width: 1169px) { .artist__banner { aspect-ratio: 16 / 9; } }

/* Restaurant details (single location) */
.loc-detail { padding-top: calc(var(--header-h) + 56px); padding-bottom: var(--section-pad); }
.loc-detail__media {
  display: grid; grid-template-columns: 1fr 1fr; gap: var(--gutter);
  max-width: var(--live-area); margin: 0 auto 24px;
}
.loc-detail__photo, .loc-detail__map { aspect-ratio: 11 / 10; position: relative; }
.loc-detail__photo img { width: 100%; height: 100%; object-fit: cover; }
.loc-detail__map iframe { width: 100%; height: 100%; border: 0; display: block; filter: grayscale(1); }
.loc-detail .loc-entry { border-bottom-color: var(--text-primary-light); }
@media (max-width: 1169px) {
  .loc-detail { padding-top: 40px; }
  .loc-detail__media { grid-template-columns: 1fr; }
}

/* -------------------------------------------------------------
   14. CAREERS CLUSTER  (p.47–55)
   ------------------------------------------------------------- */
/* Alternating two-column sections */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split + .split { margin-top: var(--section-pad); }
.split__media { aspect-ratio: 4 / 3; }
.split__media img { width: 100%; height: 100%; object-fit: cover; }
.split__content h2 { margin-bottom: 18px; }
.split__content .content-rule {
  border: 0; height: var(--rule-weight);
  background: var(--text-primary-light);
  margin: 28px 0 0;                 /* closes the content, not the section */
}
.section--light .split__content .content-rule { background: var(--brand-dark); }
.split__content .cta-row { justify-content: flex-start; margin-top: var(--body-to-cta); }
.split--flip .split__media { order: 2; }

@media (max-width: 1169px) {
  .split { grid-template-columns: 1fr; gap: 32px; }
  .split--flip .split__media { order: 0; }   /* image first, always (p.49) */
}

/* Stat rows (Culture tabs) */
.stat-row { display: flex; align-items: baseline; gap: 16px; padding: 18px 0; flex-wrap: wrap; }
.stat-row__icon { flex: none; width: 25px; height: 25px; color: var(--brand-secondary); align-self: center; }
.stat-row__icon svg { width: 100%; height: 100%; fill: currentColor; }
.stat-row .h3 { font-size: 24px; font-weight: 400; }
.stat-row .stat-row__note { color: var(--text-secondary-light); font-size: 15px; }
.stat-row .stat-row__note.is-italic { font-style: italic; }

/* Coworkers grid (Culture 03) */
.coworkers { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gutter); margin-top: 48px; }
.coworker { position: relative; aspect-ratio: 4 / 5; overflow: hidden; }
.coworker img { width: 100%; height: 100%; object-fit: cover; }
.coworker__meta {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 20px; text-align: left;
  color: var(--text-primary-light);
  background: linear-gradient(transparent 40%, rgba(0,0,0,0.65));
  opacity: 0; transition: opacity var(--transition);
}
.coworker:hover .coworker__meta,
.coworker:focus-within .coworker__meta { opacity: 1; }
.coworker__meta .h5 { font-size: 18px; }
.coworker__meta p { margin: 6px 0 0; font-size: 14px; }

@media (max-width: 1169px) {
  .coworkers { grid-template-columns: repeat(2, 1fr); }
  /* Touch equivalent: always visible on mobile (p.55) */
  .coworker__meta { opacity: 1; position: static; background: none; color: inherit; padding: 12px 0 0; }
  .coworker { aspect-ratio: auto; }
  .coworker .coworker__photo { aspect-ratio: 4 / 5; }
}

/* -------------------------------------------------------------
   15. APPLY & FAQS  (p.56–58)
   ------------------------------------------------------------- */
.roles-wrap { max-width: 900px; margin: 0 auto; }
.roles-wrap .accordion { margin-top: 40px; }
.roles-wrap .load-more { margin-top: 40px; }
.job-desc { text-align: left; }
.job-desc ul { padding-left: 20px; }
.job-desc li { margin: 4px 0; }

/* -------------------------------------------------------------
   16. LIGHTBOXES  (Privacy p.61, Delivery Map p.60)
   ------------------------------------------------------------- */
.lightbox {
  position: fixed; inset: 0; z-index: 200;
  display: none;
  align-items: center; justify-content: center;
  padding: 24px;
}
.lightbox.is-open { display: flex; }
.lightbox__backdrop { position: absolute; inset: 0; background: rgba(0,0,0,0.6); }
.lightbox__panel {
  position: relative; z-index: 1;
  background: var(--bg-dark); color: var(--text-primary-light);
  max-width: 880px; width: 100%;
  max-height: min(86vh, 1000px);
  overflow-y: auto;
  padding: 56px;
  border-radius: var(--radius);
}
.lightbox__panel--map { max-width: 640px; padding: 24px; }
.lightbox__panel--map .lightbox__map { aspect-ratio: 1 / 1; }
.lightbox__panel--map img { width: 100%; height: 100%; object-fit: cover; }
.lightbox__close {
  position: absolute; top: 16px; right: 16px;
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  color: var(--text-primary-light);
}
.lightbox__close svg { width: 22px; height: 22px; fill: currentColor; }
body.lightbox-open { overflow: hidden; }

/* Privacy content */
.privacy-body { text-align: left; margin-top: 40px; }
.privacy-body h3 { font-size: 24px; margin: 36px 0 12px; }
.privacy-body .label { font-weight: 500; }
.privacy-intro { text-align: center; }
.privacy-intro .caption { display: block; margin-top: 12px; color: var(--text-secondary-light); }

@media (max-width: 1169px) {
  .lightbox__panel { padding: 48px 24px 32px; }
}

/* -------------------------------------------------------------
   16b. BLOCK-EDITOR CONTENT (seeded Gutenberg blocks)
   The editable content uses core blocks carrying the same classes
   as the templates. These rules make block output (hr separators,
   wp-block-group wrappers) sit identically to the hand-built markup.
   ------------------------------------------------------------- */
hr.dots-v, hr.dots-h {
  border: 0; margin: 0; max-width: none; opacity: 1;
}
hr.dots-h { height: 3px; width: 100%; }
.menu-row hr.dots-v { align-self: stretch; }
.wp-block-group.menu-item p { margin-top: 8px; }

/* Spacing the templates carried as inline styles */
.subhead-lockup { margin: 40px 0 28px; }
.subhead-lockup:first-of-type { margin-top: 44px; }
.wp-block-heading.h1.center { margin-bottom: var(--section-pad); }

/* Flat h2/p sequences inside tab panels (Benefits) */
.benefits-list h2 { margin-top: var(--block-gap); }
.benefits-list h2:first-child { margin-top: 0; }
.benefits-list h2 + p { margin-top: var(--headline-to-body); }

/* Editor legibility: give slot groups a hint of structure in-admin */
.editor-styles-wrapper .wp-block-group[class*="slot-"] {
  outline: 1px dashed rgba(213, 164, 89, 0.5);
  outline-offset: 8px;
  margin: 24px 0;
}

/* -------------------------------------------------------------
   17. UTILITIES & ODDS AND ENDS
   ------------------------------------------------------------- */
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px;
  margin: -1px; padding: 0; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.mt-0 { margin-top: 0 !important; }

/* All-dark pages (Privacy Policy, 404): dark body so the fixed-header
   offset never flashes a light band between chrome and content. */
body.brassica-dark-page { background: var(--bg-dark); }

/* 404 — full-bleed hero, image anchored to the bottom of the frame. */
.error-hero {
  position: relative;
  min-height: calc(100vh - var(--header-h));
  min-height: calc(100svh - var(--header-h));
  display: flex; align-items: center; justify-content: center;
  text-align: center;
  color: var(--text-primary-light);
  background: var(--bg-dark);
  overflow: hidden;
}
.error-hero__media { position: absolute; inset: 0; }
.error-hero__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: bottom;           /* the broken cookie stays in frame */
}
.error-hero__media::after {          /* the 30% overlay — not optional */
  content: ""; position: absolute; inset: 0;
  background: var(--overlay-image);
}
.error-hero__content {
  position: relative; z-index: 1;
  max-width: 920px;
  padding: 48px var(--side-margin);
}
.error-hero__content .lead { margin-top: var(--headline-to-body); }
.error-hero__content a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color var(--transition);
}
.error-hero__content a:hover { color: var(--brand-secondary-hover); }

/* WP admin bar coexistence */
body.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { body.admin-bar .site-header { top: 46px; } }
