/* ============================================================
   Built by Jacksons — Site styles
   Aesthetic: dark, editorial sans + monospace labels, lime accent
   ============================================================ */

/* ---------- Tokens ---------- */
:root {
  /* Color */
  --bg: #0B0B0B;
  --bg-elev: #121212;
  --surface: #181818;
  --surface-2: #1E1E1E;
  --border: rgba(255, 255, 255, 0.10);
  --border-soft: rgba(255, 255, 255, 0.06);
  --text: #F4F4F2;
  --text-soft: #C9C9C4;
  --text-mute: #7A7A75;
  --text-dim: #4F4F4B;
  --accent: #9EE21B;
  --accent-soft: rgba(158, 226, 27, 0.16);
  --accent-deep: #74B30E;
  --danger: #FF6B5B;

  /* Type */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', 'SF Mono', 'Menlo', monospace;

  /* Spacing scale */
  --s-1: 4px;
  --s-2: 8px;
  --s-3: 12px;
  --s-4: 16px;
  --s-5: 24px;
  --s-6: 32px;
  --s-7: 48px;
  --s-8: 64px;
  --s-9: 96px;
  --s-10: 128px;
  --s-11: 192px;

  /* Nav */
  --nav-w: 110px;
  --nav-w-expanded: 220px;
  --nav-w-mobile: 64px;
  --nav-pad: 14px;

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --t-fast: 160ms;
  --t-base: 280ms;
  --t-slow: 520ms;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-feature-settings: 'ss01', 'cv11';
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
a { color: inherit; text-decoration: none; }
input, textarea, select { font: inherit; color: inherit; }
::selection { background: var(--accent); color: #0B0B0B; }

/* ---------- Layout root ---------- */
.layout {
  --nav-current-w: var(--nav-w);
  --nav-inset-x: 20px;  /* gap between viewport edge and nav (per Figma) */
  --nav-inset-y: 18px;  /* gap between viewport top/bottom and nav */
  display: grid;
  /* Grid column reserves: left gap + nav width. Main content follows. */
  grid-template-columns: calc(var(--nav-current-w) + var(--nav-inset-x)) 1fr;
  min-height: 100vh;
  transition: grid-template-columns var(--t-base) var(--ease);
}
.layout.is-nav-expanded {
  --nav-current-w: var(--nav-w-expanded);
}

.layout__main {
  min-width: 0;
  padding: var(--s-7) clamp(var(--s-5), 4vw, var(--s-9)) var(--s-9);
}

@media (max-width: 720px) {
  .layout {
    --nav-current-w: var(--nav-w-mobile);
    --nav-inset-x: 0px;   /* glue to edge on mobile */
    --nav-inset-y: 0px;
  }
  .layout.is-nav-expanded { --nav-current-w: var(--nav-w-mobile); }
  .layout__main { padding: var(--s-7) var(--s-5) var(--s-8); }
}

/* ============================================================
   NAVIGATION  (in-place expanding sidebar; overlay = mobile only)
   ============================================================ */

.nav {
  position: sticky;
  /* Floats inside the viewport with the inset gaps from .layout. */
  top: var(--nav-inset-y);
  margin: var(--nav-inset-y) 0 var(--nav-inset-y) var(--nav-inset-x);
  height: calc(100vh - 2 * var(--nav-inset-y));
  width: var(--nav-current-w, var(--nav-w));
  padding: var(--nav-pad);
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
  background: var(--bg-elev);
  border: 1px solid var(--border-soft);
  border-radius: 14px;
  z-index: 50;
  /* No overflow:hidden — would clip the expand tab. Cards clip themselves. */
  transition: width var(--t-base) var(--ease);
}

@media (max-width: 720px) {
  .nav {
    width: var(--nav-w-mobile);
    padding: 12px;
    gap: var(--s-2);
    margin: 0;
    height: 100vh;
    border-radius: 0;
    border: 0;
    border-right: 1px solid var(--border-soft);
  }
}

/* ---------- Logo (transparent, no box — sits on sidebar bg) ---------- */
.nav__logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: var(--s-3) 0 var(--s-2);
  color: var(--text);
  position: relative;
  flex-shrink: 0;
  transition: transform var(--t-base) var(--ease);
}
.nav__logo:hover { transform: translateY(-1px); }
.nav__logo-mark { display: flex; }
.nav__logo-mark svg {
  width: 100%;
  height: auto;
  display: block;
}
.nav__logo-mark--vert {
  width: 86%;
  max-width: 100px;
}
.nav__logo-mark--horiz {
  display: none;
  width: 100%;
  max-width: 110px; /* per Figma */
}
.layout.is-nav-expanded .nav__logo-mark--vert { display: none; }
.layout.is-nav-expanded .nav__logo-mark--horiz { display: flex; }
/* Horizontal logo stays centered in the expanded sidebar (base rule already
   centers via justify-content: center on .nav__logo — no override needed). */

@keyframes sparklePulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.18); opacity: 0.85; }
}
.nav__logo .sparkle,
.nav-panel__logo .sparkle {
  transform-origin: center;
  transform-box: fill-box;
  animation: sparklePulse 2.6s ease-in-out infinite;
}

/* ---------- Expand/collapse tab on right edge ---------- */
.nav__expand-tab {
  position: absolute;
  top: 22px;
  left: 100%;
  height: 90px;
  padding: 0 5px;
  border: 1px solid var(--border-soft);
  border-left: 0;
  border-radius: 0 8px 8px 0;
  background: var(--bg-elev);
  color: var(--accent);
  font: 500 9px/1 var(--font-mono);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  transition: color var(--t-fast) var(--ease), background var(--t-fast) var(--ease);
}
.nav__expand-tab:hover { background: var(--surface-2); }
.nav__expand-tab-chev { display: inline-block; transition: transform var(--t-base) var(--ease); }
.nav__expand-tab [data-expanded-text] { display: none; }
.layout.is-nav-expanded .nav__expand-tab [data-collapsed-text] { display: none; }
.layout.is-nav-expanded .nav__expand-tab [data-expanded-text] { display: inline; }
.layout.is-nav-expanded .nav__expand-tab-chev { transform: rotate(180deg); }

@media (max-width: 720px) {
  .nav__expand-tab { display: none; }
}

/* ---------- Sidebar items (Work / Contact / featured projects) ---------- */
.nav__items {
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
  /* Collapsed: items are natural-height circles; remaining space is a real
     gap above the foot. Expanded: stretches so featured cards can grow. */
  flex: 0 0 auto;
}
.layout.is-nav-expanded .nav__items {
  /* Like collapsed: natural-height items; gap below comes from .nav__foot's
     margin-top:auto. The featured cards no longer absorb leftover space. */
  flex: 0 0 auto;
}

.nav-card {
  position: relative;
  display: flex;
  align-items: flex-end;
  width: 100%;
  padding: var(--s-3);
  border-radius: 14px;
  overflow: hidden;
  color: var(--text);
  /* No background-color fallback. The image fills the card; on rounded edges
     sub-pixel antialiasing fades into whatever sits underneath — and that
     should be the sidebar itself, so the edge has zero contrast and no halo.
     If we set a fallback color (e.g. var(--surface)) it bleeds through the
     antialiased fraction and rims the card. */
  background: center / cover no-repeat;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: -0.005em;
  min-height: 0;
  transition:
    flex-grow var(--t-base) var(--ease),
    border-radius var(--t-base) var(--ease),
    box-shadow var(--t-fast) var(--ease),
    transform var(--t-base) var(--ease);
}
/* Photo darken so labels stay readable */
.nav-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11,11,11,0.05) 35%, rgba(11,11,11,0.78) 100%);
  pointer-events: none;
}
.nav-card > * { position: relative; z-index: 1; }
.nav-card:hover { box-shadow: inset 0 0 0 1px var(--accent); }
.nav-card:hover .nav-card__arrow { color: var(--accent); transform: translate(2px, -2px); }
.nav-card[aria-current="page"] { box-shadow: inset 0 0 0 1px var(--accent); }
.nav-card[aria-current="page"] .nav-card__label { color: var(--accent); }

.nav-card__label {
  font: 500 13px/1.15 var(--font-sans);
  color: var(--text);
  letter-spacing: -0.005em;
  text-wrap: balance;
}
.nav-card__eyebrow {
  position: absolute;
  left: var(--s-3);
  top: var(--s-3);
  font: 500 9px/1 var(--font-mono);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-soft);
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity var(--t-base) var(--ease), transform var(--t-base) var(--ease);
}
.nav-card__arrow {
  position: absolute;
  right: var(--s-3);
  top: var(--s-3);
  color: var(--text);
  opacity: 0;
  transform: translate(-4px, 4px);
  transition: opacity var(--t-base) var(--ease), transform var(--t-base) var(--ease), color var(--t-fast) var(--ease);
}

/* ----- Collapsed sizing (default): all four cards are equal circles ----- */
.nav-card--work,
.nav-card--contact,
.nav-card--featured {
  flex: 0 0 auto;
  aspect-ratio: 1 / 1;
  border-radius: 999px;
  min-height: 0;
  justify-content: center;
  align-items: center;
  padding: var(--s-3);
}
.nav-card--work .nav-card__label,
.nav-card--contact .nav-card__label,
.nav-card--featured .nav-card__label {
  font-size: 12px;
  text-align: center;
  width: 100%;
  line-height: 1.1;
}
.nav-card--contact {
  background-color: #C9C9C4;
  color: #0B0B0B;
}
.nav-card--contact::before { background: linear-gradient(180deg, rgba(0,0,0,0.10), rgba(0,0,0,0.34)); }
.nav-card--contact .nav-card__label { color: var(--text); }

/* ----- Expanded sizing: Work/Contact rounded-rect, featured grow tall ----- */
.layout.is-nav-expanded .nav-card--work,
.layout.is-nav-expanded .nav-card--contact {
  aspect-ratio: auto;
  flex: 0 0 96px;
  border-radius: 3px;
  justify-content: flex-start;
  align-items: flex-end;
  padding: var(--s-3);
}
.layout.is-nav-expanded .nav-card--work .nav-card__label,
.layout.is-nav-expanded .nav-card--contact .nav-card__label {
  font-size: 17px;
  text-align: left;
}
.layout.is-nav-expanded .nav-card--featured {
  aspect-ratio: 4 / 3;
  flex: 0 0 auto;
  border-radius: 3px;
  min-height: 0;
  align-items: flex-start;
  flex-direction: column;
  justify-content: flex-end;
  padding: var(--s-4);
}
.layout.is-nav-expanded .nav-card--featured .nav-card__label {
  font-size: 18px;
  text-align: left;
  width: auto;
}
.layout.is-nav-expanded .nav-card__eyebrow { opacity: 1; transform: translateY(0); }
.layout.is-nav-expanded .nav-card--featured .nav-card__arrow { opacity: 1; transform: translate(0, 0); }

/* ---------- Foot: Work Together CTA ---------- */
.nav__foot {
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
  align-items: stretch;
  flex-shrink: 0;
  margin-top: auto; /* pin to the bottom; gap above is the empty space */
}

.nav__cta {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 168px;
  padding: var(--s-4) var(--s-3);
  border: 1px solid var(--accent);
  border-radius: 10px;
  background: transparent;
  color: var(--text);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transition:
    height var(--t-base) var(--ease),
    background var(--t-base) var(--ease),
    color var(--t-base) var(--ease),
    box-shadow var(--t-base) var(--ease);
}
/* Top-down vertical reading (head tilt right) — flip the 180° drift. */
.nav__cta-text { writing-mode: vertical-rl; }
.nav__cta-arrow { display: none; }
.nav__cta:hover {
  background: var(--accent);
  color: #0B0B0B;
  box-shadow: 0 0 0 4px var(--accent-soft);
}

.layout.is-nav-expanded .nav__cta {
  height: 52px;
  border-radius: 3px;
  /* Mono carries over from collapsed — explicit here so we don't drift. */
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.layout.is-nav-expanded .nav__cta-text { writing-mode: horizontal-tb; transform: none; }
/* Arrow stays hidden in expanded — matches Figma. */

/* ---------- Mobile hamburger ---------- */
.nav__hamburger {
  display: none;
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 999px;
  background: var(--surface-2);
  border: 1px solid var(--border-soft);
  align-items: center;
  justify-content: center;
  transition: background var(--t-fast) var(--ease);
}
.nav__hamburger:hover { background: var(--surface); }
.nav__hamburger span {
  display: block;
  width: 18px;
  height: 1.5px;
  background: var(--text);
  position: relative;
}
.nav__hamburger span::before,
.nav__hamburger span::after {
  content: '';
  position: absolute;
  left: 0; right: 0;
  height: 1.5px;
  background: var(--text);
}
.nav__hamburger span::before { top: -6px; }
.nav__hamburger span::after { top: 6px; }

@media (max-width: 720px) {
  .nav__hamburger { display: flex; }
  .nav__items, .nav__foot { display: none; }
}

/* ---------- Expanded overlay (used on desktop EXPAND tap + mobile hamburger) ---------- */
.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 90;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--t-base) var(--ease);
  backdrop-filter: blur(6px);
}
.nav-overlay.is-open { opacity: 1; pointer-events: auto; }

.nav-panel {
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: min(360px, 92vw);
  background: var(--bg-elev);
  border-right: 1px solid var(--border);
  padding: var(--s-5) var(--s-5) var(--s-5);
  z-index: 95;
  display: flex;
  flex-direction: column;
  transform: translateX(-100%);
  transition: transform var(--t-slow) var(--ease);
}
.nav-overlay.is-open .nav-panel { transform: translateX(0); }

.nav-panel__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: var(--s-6);
}
.nav-panel__logo {
  height: 80px;
  padding: 12px 22px;
  background: #000;
  color: var(--text);
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.nav-panel__logo svg { height: 100%; width: auto; display: block; }
.nav-panel__collapse {
  font: 500 10px/1 var(--font-mono);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-mute);
  padding: var(--s-3) var(--s-4);
  border: 1px solid var(--border-soft);
  border-radius: 8px;
  transition: color var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease);
}
.nav-panel__collapse:hover { color: var(--accent); border-color: var(--accent); }

.nav-panel__list {
  list-style: none;
  padding: 0;
  margin: var(--s-5) 0 var(--s-6);
  display: flex;
  flex-direction: column;
  gap: var(--s-2);
}

.nav-panel__link {
  position: relative;
  display: flex;
  align-items: center;
  padding: var(--s-4) var(--s-3);
  font-size: 28px;
  font-weight: 500;
  color: var(--text);
  border-radius: 10px;
  transition: color var(--t-fast) var(--ease), padding-left var(--t-base) var(--ease);
  letter-spacing: -0.01em;
}
.nav-panel__link:hover { color: var(--text); padding-left: var(--s-5); }
.nav-panel__link:hover .nav-panel__hoverimg { opacity: 1; transform: scale(1) translateX(0); }
.nav-panel__link[aria-current="page"] { color: var(--accent); }
.nav-panel__link[aria-current="page"]::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 4px;
  height: 24px;
  background: var(--accent);
  border-radius: 2px;
  transform: translateY(-50%);
}

.nav-panel__hoverimg {
  position: absolute;
  right: var(--s-3);
  top: 50%;
  width: 96px;
  height: 56px;
  border-radius: 8px;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: translateY(-50%) scale(0.92) translateX(8px);
  transition: opacity var(--t-base) var(--ease), transform var(--t-base) var(--ease);
  pointer-events: none;
  border: 1px solid var(--border);
  background-color: #2a2a28;
}

.nav-panel__featured {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: var(--s-4);
}
.nav-panel__featured-item {
  display: block;
  position: relative;
  padding: var(--s-5);
  border-radius: 10px;
  overflow: hidden;
  min-height: 148px;
  border: 1px solid var(--border-soft);
  background: var(--surface) center / cover no-repeat;
}
.nav-panel__featured-item::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11, 11, 11, 0.15) 0%, rgba(11, 11, 11, 0.88) 100%);
  pointer-events: none;
}
.nav-panel__featured-item > * { position: relative; z-index: 1; }
.nav-panel__featured-item--dillons { background-image: url('/assets/img/dillons-dinner.png'); }
.nav-panel__featured-item--wayward { background-image: url('/assets/img/ww-hero-graphic.png'); }
.nav-panel__featured-item + .nav-panel__featured-item { margin-top: var(--s-3); }
.nav-panel__featured-label {
  font: 500 10px/1 var(--font-mono);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-mute);
  margin-bottom: var(--s-2);
}
.nav-panel__featured-title {
  font-size: 22px;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: color var(--t-fast) var(--ease);
}
.nav-panel__featured-item:hover .nav-panel__featured-title { color: var(--accent); }

.nav-panel__cta {
  display: block;
  padding: var(--s-4);
  border: 1px solid var(--accent);
  border-radius: 8px;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 14px;
  letter-spacing: 0.08em;
  margin-top: var(--s-5);
  transition: background var(--t-base) var(--ease), color var(--t-base) var(--ease);
}
.nav-panel__cta:hover { background: var(--accent); color: #0B0B0B; }

/* ============================================================
   TYPOGRAPHY UTILITIES
   ============================================================ */
.eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 500;
  display: inline-block;
  margin-bottom: var(--s-4);
}
.eyebrow--mute { color: var(--text-mute); }

.display {
  font-size: clamp(48px, 7vw, 96px);
  line-height: 0.98;
  letter-spacing: -0.025em;
  font-weight: 500;
  margin: 0;
  text-wrap: balance;
}
.h1 {
  font-size: clamp(40px, 5.4vw, 72px);
  line-height: 1;
  letter-spacing: -0.022em;
  font-weight: 500;
  margin: 0;
  text-wrap: balance;
}
.h2 {
  font-size: clamp(32px, 3.6vw, 52px);
  line-height: 1.04;
  letter-spacing: -0.02em;
  font-weight: 500;
  margin: 0;
}
.h3 {
  font-size: clamp(22px, 2vw, 28px);
  line-height: 1.18;
  letter-spacing: -0.012em;
  font-weight: 500;
  margin: 0;
}

.lede {
  font-size: 19px;
  line-height: 1.55;
  color: var(--text-soft);
  max-width: 62ch;
  text-wrap: pretty;
}

p { text-wrap: pretty; }

/* Reveal — simple fade-up on scroll. JS opts in by adding `is-armed`.
   Without JS, content renders normally. */
.reveal.is-armed {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 720ms var(--ease-out), transform 720ms var(--ease-out);
  will-change: opacity, transform;
}
.reveal.is-armed.is-in {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--s-3);
  padding: 12px 18px;
  border: 1px solid var(--border);
  border-radius: 4px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text);
  background: transparent;
  position: relative;
  transition: background var(--t-base) var(--ease), color var(--t-base) var(--ease), border-color var(--t-base) var(--ease), transform var(--t-fast) var(--ease);
  cursor: pointer;
  isolation: isolate;
  will-change: transform;
}
.btn:hover { border-color: var(--accent); color: var(--accent); }
.btn .arrow { transition: transform var(--t-base) var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }

.btn--primary {
  border-color: var(--accent);
}
.btn--primary:hover {
  background: var(--accent);
  color: #0B0B0B;
}

.btn--dashed {
  border-style: dashed;
  border-color: var(--accent-deep);
  color: var(--text);
}
.btn--dashed:hover { border-style: dashed; }

.btn--ghost {
  border-color: var(--border);
}

/* ============================================================
   HOME
   ============================================================ */

/* Hero: top row (title left, intro/CTAs right), gallery below.
   Tablet (≤1024px): top row stacks (title → intro).
   Mobile (≤720px): everything stacks; gallery is one image per row. */
.hero {
  display: flex;
  flex-direction: column;
  gap: var(--s-7);
  padding-top: var(--s-5);
  --hero-cols: 1fr 1fr 0.88fr;
  --hero-col-gap: var(--s-3);
}

.hero__top {
  display: grid;
  grid-template-columns: var(--hero-cols);
  column-gap: var(--hero-col-gap);
  row-gap: clamp(var(--s-5), 4vw, var(--s-9));
  align-items: start;
}
.hero__title { grid-column: 1 / 3; }
.hero__intro-block { grid-column: 3; }
@media (max-width: 1024px) {
  .hero__top { grid-template-columns: 1fr; gap: var(--s-5); }
  .hero__title,
  .hero__intro-block { grid-column: auto; }
}

.hero__title {
  font-size: clamp(40px, 6vw, 84px);
  line-height: 0.98;
  letter-spacing: -0.025em;
  font-weight: 500;
  margin: 0;
  text-wrap: balance;
}
.hero__title em {
  font-style: normal;
  font-weight: 600;
}

.hero__intro-block {
  display: flex;
  flex-direction: column;
  gap: var(--s-5);
}

.hero__actions { display: flex; gap: var(--s-3); flex-wrap: wrap; }

/* Gallery: 3-col mosaic (Music + Beauty top-left, Dillon's wide below,
   MCH tall right). Mobile (≤720px) collapses to one image per row. */
.hero__collage {
  display: grid;
  grid-template-columns: var(--hero-cols);
  grid-template-rows: auto auto;
  gap: var(--hero-col-gap);
}
.hero__collage > .hero__collage-cell:nth-child(1) { grid-column: 1; grid-row: 1; }
.hero__collage > .hero__collage-cell:nth-child(2) { grid-column: 2; grid-row: 1; }
.hero__collage > .hero__collage-cell--wide { grid-column: 1 / 3; grid-row: 2; }
.hero__collage > .hero__collage-cell--tall { grid-column: 3; grid-row: 1 / -1; }

.hero__collage-cell {
  border-radius: 10px;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border-soft);
  min-height: 0;
}
.hero__collage > .hero__collage-cell:nth-child(1),
.hero__collage > .hero__collage-cell:nth-child(2) {
  aspect-ratio: 353 / 204;
}
.hero__collage-cell--wide { aspect-ratio: 16 / 9; }
.hero__collage-cell img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
@media (max-width: 720px) {
  .hero__collage {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }
  .hero__collage > .hero__collage-cell:nth-child(1),
  .hero__collage > .hero__collage-cell:nth-child(2),
  .hero__collage > .hero__collage-cell--wide,
  .hero__collage > .hero__collage-cell--tall {
    grid-column: auto;
    grid-row: auto;
    aspect-ratio: 4 / 3;
  }
}

.text-accent { color: var(--accent); font-style: normal; font-weight: 600; }
.hidden { display: none !important; }

.hero__intro {
  margin-top: 0;
  font-size: 17px;
  line-height: 1.55;
  color: var(--text-soft);
}

/* Section base */
.section {
  padding-top: var(--s-10);
  padding-bottom: var(--s-7);
  border-top: 1px solid var(--border-soft);
}
.section--no-rule { border-top: 0; }

.section__head {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: var(--s-7);
  align-items: end;
  margin-bottom: var(--s-7);
}
@media (max-width: 980px) {
  .section__head { grid-template-columns: 1fr; gap: var(--s-4); align-items: start; }
}

/* Who-we-are bio reveal */
.who { position: relative; padding-top: var(--s-8); }
.who .section__head {
  align-items: start;
  margin-bottom: var(--s-5);
}
.who .lede { max-width: none; }
.who__avatars-row {
  display: flex;
  align-items: center;
  gap: var(--s-4);
  margin-top: var(--s-5);
}
.who__hint {
  font-size: 13px;
  color: var(--text-mute);
  white-space: nowrap;
}
.who__bios {
  margin-top: calc(-1 * var(--s-3));
  padding-top: var(--s-3);
}
.who__avatars {
  display: flex;
  gap: var(--s-6);
  align-items: flex-start;
}
.who__avatar {
  width: 72px;
  height: 72px;
  border-radius: 999px;
  padding: 0;
  overflow: hidden;
  border: 2px solid var(--border);
  cursor: pointer;
  position: relative;
  transition: transform var(--t-base) var(--ease), border-color var(--t-base) var(--ease), box-shadow var(--t-base) var(--ease);
}
.who__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.who__avatar::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -10px;
  width: 0;
  height: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-bottom: 10px solid transparent;
  transform: translateX(-50%);
  transition: border-bottom-color var(--t-base) var(--ease);
}
.who__avatar:hover,
.who__avatar[data-active="true"] {
  transform: scale(1.06);
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent-soft);
}
.who__avatar[data-active="true"]::after {
  border-bottom-color: var(--accent);
}

.bio-card {
  display: none;
  grid-template-columns: 1.4fr 1fr;
  gap: var(--s-7);
  align-items: start;
  padding: var(--s-7);
  background: var(--bg-elev);
  border: 1px solid var(--border-soft);
  border-radius: 14px;
  position: relative;
}
.who__bios .bio-card + .bio-card { margin-top: var(--s-3); }
.bio-card.is-open { display: grid; animation: bioIn 360ms var(--ease); }
@keyframes bioIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }

@media (max-width: 800px) {
  .bio-card { grid-template-columns: 1fr; }
  .bio-card__side { margin-left: 0; width: 100%; }
}

.bio-card__name { font-size: 32px; font-weight: 500; letter-spacing: -0.02em; margin: 0 0 var(--s-3); color: var(--accent); }
.bio-card__name--alt { color: var(--text); }
.bio-card__body { color: var(--text-soft); font-size: 16px; }
.bio-card__body p + p { margin-top: var(--s-3); }
.bio-card__side {
  display: flex;
  flex-direction: column;
  gap: var(--s-4);
  margin-left: auto;
  width: max-content;
  max-width: 100%;
}
.bio-card__photos {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}
.bio-card__photo {
  width: 88px;
  height: 88px;
  border-radius: 999px;
  background: var(--surface) center / cover no-repeat;
  border: 1px solid var(--border-soft);
  flex-shrink: 0;
}
.bio-card__cta {
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
  width: 100%;
}
.bio-card__cta .btn {
  display: flex;
  width: 100%;
  box-sizing: border-box;
  justify-content: space-between;
}

/* Shared toolbox — homepage + case studies */
.toolbox {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--s-3);
  max-width: 480px;
  margin-top: var(--s-5);
}
.toolbox--3 {
  grid-template-columns: repeat(3, 1fr);
  max-width: 360px;
}
@media (max-width: 600px) {
  .toolbox { grid-template-columns: repeat(3, 1fr); }
  .toolbox--3 { max-width: none; }
}
.toolbox__tile {
  aspect-ratio: 1 / 1;
  background: #191919;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--s-4);
  transition: background var(--t-base) var(--ease), transform var(--t-base) var(--ease);
  text-align: center;
  padding: var(--s-2);
}
.toolbox__tile:hover {
  background: #1f1f1f;
  transform: translateY(-2px);
}
.toolbox__tile img {
  width: auto;
  height: 28px;
  max-width: 100%;
  display: block;
}
.toolbox__tile .wix-logo {
  height: 19px;
}
.toolbox__tile span {
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
}

/* Process timeline */
.section--process {
  border-top: 0;
  padding-top: var(--s-7);
  padding-bottom: var(--s-7);
}
.section--process + .section { border-top: 0; }
.process-panel {
  --process-pad-x: var(--s-7);
  background: #191919;
  border-radius: 14px;
  padding: var(--s-8) var(--process-pad-x);
  position: relative;
}
.section--process .section__head {
  align-items: start;
  margin-bottom: var(--s-6);
}
.process-stage {
  --progress: 0;
  position: relative;
  margin-inline: calc(-1 * var(--process-pad-x));
  padding-inline: var(--process-pad-x);
}
@media (max-width: 900px) {
  .process-panel { --process-pad-x: var(--s-5); padding: var(--s-6) var(--process-pad-x); }
}

.process {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--s-5);
}
@media (max-width: 900px) { .process { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .process { grid-template-columns: 1fr; } }

.process__track {
  position: absolute;
  top: 20px;
  left: 0;
  right: 0;
  height: 2px;
  pointer-events: none;
  z-index: 0;
}
@media (max-width: 900px) { .process__track { display: none; } }

.process__line {
  position: absolute;
  top: 0;
  height: 2px;
  transition:
    width 650ms var(--ease-out),
    left 650ms var(--ease-out),
    opacity 280ms var(--ease);
}
.process__line--accent {
  left: 0;
  width: calc(var(--progress) * 100%);
  background: var(--accent);
  opacity: 0;
  z-index: 1;
}
.process__line--gray {
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.14);
  opacity: 1;
}
.process-stage:not([data-active="-1"]) .process__line--accent {
  opacity: 1;
}
@media (prefers-reduced-motion: reduce) {
  .process__line { transition: none; }
  .process__mark { transition: none; }
}

.process__step {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
}
.process__mark-slot {
  height: 42px;
  display: flex;
  align-items: center;
}
.process__mark {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: var(--text);
  flex-shrink: 0;
  transition:
    width 360ms var(--ease-out),
    height 360ms var(--ease-out),
    border-radius 360ms var(--ease-out),
    background 280ms var(--ease),
    box-shadow 360ms var(--ease-out),
    -webkit-mask-image 280ms var(--ease),
    mask-image 280ms var(--ease);
  box-shadow: none;
  -webkit-mask-image: none;
  mask-image: none;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: contain;
  mask-size: contain;
}
.process__step.is-reached .process__mark {
  width: 36px;
  height: 40.5px;
  border-radius: 0;
  background: var(--accent);
  box-shadow: 0 0 16px var(--accent-soft);
  -webkit-mask-image: url('../vector/ai-agentic.svg');
  mask-image: url('../vector/ai-agentic.svg');
}
.process__title { font-size: 22px; font-weight: 500; letter-spacing: -0.012em; margin: 0; }
.process__body { font-size: 14.5px; color: var(--text-soft); margin: 0; line-height: 1.6; }

/* The work — preview grid (static ≤3) or horizontal strip (>3) */
.work__aside,
.work-head__title .work__aside {
  font-family: var(--font-mono);
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-mute);
  margin-left: var(--s-3);
  vertical-align: middle;
}
.work__title .text-accent { font-style: normal; }
.work__all-cta { margin-top: var(--s-5); }
.work__all-cta[hidden] { display: none; }

.workgrid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-7) var(--s-5);
  margin-top: var(--s-5);
}
@media (max-width: 900px) { .workgrid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .workgrid { grid-template-columns: 1fr; } }

.work-strip {
  display: flex;
  gap: var(--s-5);
  margin-top: var(--s-5);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding-bottom: var(--s-2);
  scrollbar-width: thin;
  scrollbar-color: var(--border) transparent;
}
.work-strip .workcard {
  flex: 0 0 min(340px, 82vw);
  scroll-snap-align: start;
}
.work-strip--carousel .workcard {
  flex: 0 0 min(380px, 78vw);
}

.workcard {
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
  cursor: pointer;
  transition: transform var(--t-base) var(--ease);
}

.workcard__frame {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 10px;
  overflow: hidden;
  background: #191919;
  transition: transform var(--t-base) var(--ease), box-shadow var(--t-base) var(--ease);
}
.workcard:hover .workcard__frame {
  transform: scale(1.015);
  box-shadow: 0 24px 60px -20px rgba(0,0,0,0.6);
}
.workcard__bg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform var(--t-slow) var(--ease);
}
.workcard:hover .workcard__bg { transform: scale(1.06); }

.workcard__arrow {
  position: absolute;
  top: 14px; right: 14px;
  width: 28px; height: 28px;
  display: flex; align-items: center; justify-content: center;
  color: var(--text);
  z-index: 2;
  transition: transform var(--t-base) var(--ease), color var(--t-base) var(--ease);
}
.workcard:hover .workcard__arrow { transform: translate(2px, -2px); color: var(--accent); }

.workcard__cta-label {
  position: absolute;
  right: 14px;
  bottom: 14px;
  z-index: 2;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  opacity: 0;
  transition: opacity var(--t-base) var(--ease);
}
.workcard:hover .workcard__cta-label { opacity: 1; }

.workcard__tags {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
}
.workcard__tag {
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 4px 8px;
  border: 1px solid var(--border);
  border-radius: 3px;
  color: var(--text-soft);
}

.workcard__title {
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.012em;
  margin: 0;
}

/* Skills row */
.skills-row {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: var(--s-4);
  margin-top: var(--s-5);
  align-items: center;
}
@media (max-width: 900px) { .skills-row { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 540px) { .skills-row { grid-template-columns: repeat(3, 1fr); } }

.skill {
  aspect-ratio: 1 / 1;
  border: 1px solid var(--border-soft);
  border-radius: 10px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: var(--s-4);
  padding: var(--s-3);
  text-align: center;
  color: var(--text-soft);
  transition: border-color var(--t-base) var(--ease), color var(--t-base) var(--ease);
}
.skill:hover { border-color: var(--accent); color: var(--text); }
.skill__mark {
  font-weight: 600;
  font-size: 16px;
  letter-spacing: -0.02em;
}
.skill__name {
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-deep);
}
.skill__mark img,
.skill__mark svg {
  width: 76px;
  height: 46px;
  object-fit: contain;
}

.skill__mark .webflow-logo { width: 46px; }
.skill__mark .squarespace-logo { width: 46px; }


/* Marquee for client logos */
.marquee {
  margin-top: var(--s-6);
  overflow: hidden;
  position: relative;
}
.marquee::before, .marquee::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 80px;
  z-index: 2;
  pointer-events: none;
}
.marquee::before { left: 0; background: linear-gradient(90deg, var(--bg), transparent); }
.marquee::after { right: 0; background: linear-gradient(-90deg, var(--bg), transparent); }

.marquee__track {
  display: flex;
  gap: var(--s-9);
  padding: var(--s-5) 0;
  width: max-content;
  animation: marquee 50s linear infinite;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.marquee__logo {
  height: 36px;
  width: auto;
  max-width: 140px;
  object-fit: contain;
  opacity: 0.55;
  transition: opacity var(--t-base) var(--ease);
  flex-shrink: 0;
}
.marquee__track:hover .marquee__logo { opacity: 0.85; }
.marquee__logo--tall { height: 44px; }

/* CTA bottom section */
.cta-end {
  text-align: center;
  padding: var(--s-10) 0 var(--s-9);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--s-5);
}
.cta-end__title {
  font-size: clamp(32px, 4.4vw, 60px);
  font-weight: 500;
  letter-spacing: -0.022em;
  margin: 0;
  text-wrap: balance;
}
/* `<em>` is shorthand for the small "(finally?)" parenthetical — unless an author
   has explicitly added .text-accent (then it's an accent inline like "legit?"). */
.cta-end__title em:not(.text-accent) { font-style: normal; color: var(--text-mute); font-size: 0.42em; vertical-align: super; }
.cta-end__actions { display: flex; gap: var(--s-3); flex-wrap: wrap; justify-content: center; }

/* Footer */
.site-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--s-3);
  padding: var(--s-5) 0;
  border-top: 1px solid var(--border-soft);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-mute);
}

.site-footer__nav {
  display: flex;
  gap: var(--s-4);
}

.site-footer__nav a {
  color: var(--text-mute);
  text-decoration: none;
}

.site-footer__nav a:hover {
  color: var(--text);
}

/* Static nav fallback (replaced by nav.js when JS runs) */
.nav-static {
  display: flex;
  gap: var(--s-4);
  padding: var(--s-4);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.nav-static a {
  color: var(--text-soft);
  text-decoration: none;
}

.nav-static a:hover {
  color: var(--text);
}

/* ============================================================
   WORK INDEX
   ============================================================ */
.work-head {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: var(--s-7);
  align-items: end;
  padding-top: var(--s-5);
  margin-bottom: var(--s-8);
}
@media (max-width: 900px) { .work-head { grid-template-columns: 1fr; align-items: start; } }
.work-head__title {
  font-size: clamp(48px, 7vw, 96px);
  font-weight: 500;
  letter-spacing: -0.025em;
  margin: 0;
  line-height: 0.98;
}
.work-head__title .text-accent { font-style: normal; }
.work-head__body { color: var(--text-soft); font-size: 16px; max-width: 52ch; }
.work-head__actions { display: flex; gap: var(--s-3); flex-wrap: wrap; margin-top: var(--s-5); }

/* ============================================================
   CASE STUDY
   ============================================================ */
.case-head {
  padding-top: var(--s-3);
  padding-bottom: var(--s-6);
  margin-bottom: var(--s-7);
  border-bottom: 1px solid var(--border-soft);
  display: flex;
  flex-direction: column;
  gap: var(--s-1);
}
.case-head__location {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
}
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35em 0.5em;
  margin-bottom: var(--s-4);
}

.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35em;
  list-style: none;
  padding: 0;
  margin: 0;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-mute);
}

.breadcrumb__studio {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-mute);
}

.breadcrumb li:not(:last-child)::after {
  content: "›";
  margin-left: 0.35em;
  color: var(--text-mute);
}

.breadcrumb a {
  color: var(--text-soft);
  text-decoration: none;
}

.breadcrumb a:hover {
  color: var(--text);
}

.case-facts {
  padding: var(--s-4);
  border: 1px solid var(--border-soft);
  border-radius: 4px;
}

.case-facts--below-gallery {
  margin-top: var(--s-7);
  margin-bottom: calc(-1 * var(--s-3));
}

.case-facts dl {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--s-2) var(--s-4);
  margin: 0;
}

.case-facts dt {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-mute);
}

.case-facts dd {
  margin: 0;
  color: var(--text-soft);
  font-size: 14px;
}

.contact-info {
  margin-top: var(--s-5);
  padding-top: var(--s-5);
  border-top: 1px solid var(--border-soft);
}

.contact-info dl {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--s-2) var(--s-4);
  margin: 0 0 var(--s-5);
}

.contact-info dt {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-mute);
}

.contact-info dd {
  margin: 0;
  color: var(--text-soft);
  font-size: 14px;
}

.contact-faq {
  margin-top: var(--s-8);
  padding-top: var(--s-6);
  border-top: 1px solid var(--border-soft);
}

.contact-faq__title {
  font-size: clamp(28px, 3.2vw, 40px);
  font-weight: 500;
  letter-spacing: -0.02em;
  margin-bottom: var(--s-5);
}

.contact-faq details {
  border-bottom: 1px solid var(--border-soft);
  padding: var(--s-4) 0;
}

.contact-faq summary {
  cursor: pointer;
  font-weight: 500;
  list-style: none;
}

.contact-faq summary::-webkit-details-marker {
  display: none;
}

.contact-faq details p {
  margin: var(--s-3) 0 0;
  color: var(--text-soft);
}

.case-head__title {
  font-size: clamp(40px, 5.6vw, 76px);
  font-weight: 500;
  letter-spacing: -0.025em;
  margin: 0;
  line-height: 1;
}

.case-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: var(--s-7);
  margin-bottom: var(--s-9);
}
@media (max-width: 900px) { .case-grid { grid-template-columns: 1fr; } }

.case-grid h2,
.case-grid h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--accent);
  margin: 0 0 var(--s-2);
}
.case-grid p { color: var(--text-soft); margin: 0 0 var(--s-4); font-size: 15.5px; line-height: 1.6; }
.case-grid section + section { margin-top: var(--s-6); }
.case-grid .eyebrow { margin: var(--s-6) 0 var(--s-3); }
.case-grid .toolbox { margin-top: 0; margin-bottom: var(--s-2); }
.case-grid .btn { margin-top: var(--s-2); }

/* Case study — bento gallery */
.case-bento {
  width: 100%;
  margin-bottom: var(--s-9);
}
.case-bento__grid {
  display: grid;
  gap: var(--s-3);
  width: 100%;
}
.case-bento__grid--dillons {
  grid-template-columns: repeat(3, 1fr);
}
.case-bento__cell {
  min-width: 0;
  border-radius: 10px;
  overflow: hidden;
}
.case-bento__media,
.case-bento__frame {
  width: 100%;
  border-radius: 10px;
  overflow: hidden;
}
.case-bento__media img,
.case-bento__frame > img:not(.case-bento__stool-icon):not(.case-bento__stool-logo),
.case-bento__video {
  display: block;
  width: 100%;
  height: auto;
}
.case-bento__video {
  object-fit: cover;
  background: #191919;
}
.case-bento__cell--hero .case-bento__media {
  height: 100%;
}
.case-bento__cell--hero .case-bento__video {
  width: 100%;
  height: 100%;
  min-height: 240px;
  aspect-ratio: auto;
}
.case-bento__cell--bourbon-col {
  display: flex;
  flex-direction: column;
  min-height: 0;
  min-width: 0;
}
.case-bento__frame--cream { background: #E8DCC8; }
.case-bento__frame--family { background: #E7E2DA; }
.case-bento__frame--burgundy { background: #6A2B2B; }
.case-bento__frame--dark { background: #191919; min-height: 120px; }

/* Dillon's grid placement */
.case-bento__cell--hero { grid-column: 1 / 3; grid-row: 1; }
.case-bento__cell--old-fashioned { grid-column: 3; grid-row: 1; }
.case-bento__cell--salmon-col { grid-column: 1; grid-row: 2; }
.case-bento__cell--family { grid-column: 2 / 4; grid-row: 2; }
.case-bento__cell--stool {
  grid-column: 2;
  grid-row: 3 / 5;
  align-self: start;
}
.case-bento__cell--bourbon-col { grid-column: 3; grid-row: 3 / 5; }
.case-bento__cell--mussels { grid-column: 1; grid-row: 3 / 5; }
.case-bento__cell--food-truck {
  grid-column: 1 / 3;
  grid-row: 5;
  display: flex;
  flex-direction: column;
  min-height: 0;
}
.case-bento__cell--entres { grid-column: 3; grid-row: 5; }

/* Row 5 — food truck */
.case-bento__food-truck {
  flex: 1;
  height: 100%;
  min-height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(var(--s-3), 2.5vw, 20px);
  background: #F1EDE4;
}
.case-bento__frame.case-bento__food-truck > img {
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 100%;
  object-fit: contain;
}
.case-bento__cell--menu {
  grid-column: 1;
  grid-row: 6;
  display: flex;
  flex-direction: column;
  min-height: 0;
}
.case-bento__cell--snug {
  grid-column: 2 / 4;
  grid-row: 6;
  display: flex;
  flex-direction: column;
  min-height: 0;
}
.case-bento__cell--snug .case-bento__media {
  flex: 1;
  min-height: 0;
  height: 100%;
}
.case-bento__cell--snug .case-bento__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Row 6 — menu */
.case-bento__menu {
  flex: 1;
  height: 100%;
  min-height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(12px, 1.5vw, 15px) clamp(var(--s-2), 2vw, 12px);
  background: #0D0D0B;
  overflow: hidden;
}
.case-bento__frame.case-bento__menu > img {
  width: auto;
  max-width: 80%;
  height: auto;
  max-height: 100%;
  object-fit: contain;
}

/* Row 2 — salmon column stack */
.case-bento__cell--salmon-col { min-width: 0; }
.case-bento__stack {
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
  min-height: 100%;
  min-width: 0;
}
.case-bento__stack .case-bento__media {
  flex: 1;
  min-height: 0;
}
.case-bento__stack .case-bento__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Row 3–4 — bourbon + brunch column */
.case-bento__stack--pair {
  flex: 1;
  height: 100%;
  min-height: 100%;
  min-width: 0;
}
.case-bento__pair-bourbon {
  flex: 1.15;
  min-height: 0;
  display: flex;
  flex-direction: column;
}
.case-bento__pair-brunch {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  border-radius: 10px;
  overflow: hidden;
}
.case-bento__pair-brunch .case-bento__media {
  flex: 1;
  min-height: 0;
  border-radius: 10px;
  overflow: hidden;
}
.case-bento__pair-brunch .case-bento__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Salmon menu card */
.bento-menu-card {
  flex-shrink: 0;
  min-width: 0;
  width: 100%;
  padding: clamp(14px, 2vw, 20px);
  background: #181816;
  border: 1px solid #EDEDED;
  border-radius: 10px;
  overflow: visible;
}
.bento-menu-card__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: var(--s-3);
  margin-bottom: clamp(var(--s-3), 2vw, 20px);
}
.bento-menu-card__title {
  display: flex;
  flex-direction: column;
  font-family: 'Libre Baskerville', Georgia, 'Times New Roman', serif;
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: 0;
  color: var(--text);
}
.bento-menu-card__title [data-typeon-line] { display: block; }
.bento-menu-card__price {
  flex-shrink: 0;
  font-family: 'Libre Baskerville', Georgia, 'Times New Roman', serif;
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 400;
  line-height: 1.15;
  color: var(--text);
}
.bento-menu-card__desc {
  margin: 0;
  font-family: 'Fira Mono', var(--font-mono);
  font-size: clamp(14px, 1.5vw, 17px);
  font-weight: 400;
  line-height: 1.5;
  color: var(--text-soft);
  white-space: normal;
  overflow-wrap: break-word;
}
.bento-menu-card__desc .bento-typeon__char {
  display: inline;
}

/* Menu card — description pinned to bottom (bourbon) */
.bento-menu-card--fill {
  flex: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.bento-menu-card--fill .bento-menu-card__head {
  margin-bottom: 0;
}
.bento-menu-card--fill .bento-menu-card__desc {
  margin-top: auto;
  padding-top: clamp(var(--s-3), 2vw, 20px);
}

.case-bento__family {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(var(--s-3), 2vw, 20px);
  padding: clamp(var(--s-3), 2.5vw, 20px);
  align-items: center;
  min-height: 100%;
}
.case-bento__family-photos,
.case-bento__family-copy {
  min-width: 0;
}
.case-bento__family img {
  width: 100%;
  height: auto;
  display: block;
}

.case-bento__stool {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-4);
  padding: clamp(var(--s-5), 4vw, 40px) clamp(var(--s-3), 3vw, 24px);
  background: #6A2B2B;
}
.case-bento__stool .case-bento__stool-icon {
  width: 140px;
  height: 214px;
  max-width: none;
  object-fit: contain;
  flex-shrink: 0;
  opacity: 0;
  transform: translateY(-40px);
}
.case-bento__cell--stool.is-inview .case-bento__stool-icon {
  animation: stool-drop 760ms cubic-bezier(0.34, 1.45, 0.64, 1) forwards;
}
@keyframes stool-drop {
  0%   { opacity: 0; transform: translateY(-40px); }
  65%  { opacity: 1; transform: translateY(5px); }
  82%  { transform: translateY(-2px); }
  100% { opacity: 1; transform: translateY(0); }
}
.case-bento__stool-copy {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 var(--s-2);
}

/* Bento type-on blocks */
.bento-typeon--menu {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: var(--s-4);
  padding: var(--s-5) var(--s-4);
}
.bento-typeon__head {
  display: flex;
  flex-direction: column;
  gap: var(--s-1);
}
.bento-typeon__name {
  display: block;
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--text);
}
.bento-typeon__price {
  display: block;
  font-size: clamp(16px, 1.6vw, 20px);
  font-style: italic;
  font-weight: 400;
  line-height: 1.2;
  color: #C9A96E;
}
.bento-typeon__desc {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--text-mute);
  max-width: 28ch;
}
.bento-typeon--stool {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.12em;
  font-family: 'Libre Baskerville', Georgia, 'Times New Roman', serif;
  font-size: clamp(26px, 3.2vw, 41px);
  font-weight: 400;
  line-height: 1.28;
  letter-spacing: 0;
  color: var(--text);
}
.bento-typeon--stool [data-typeon-line] { display: block; }
.bento-typeon__char {
  opacity: 0;
}
[data-typeon].is-active .bento-typeon__char {
  opacity: 1;
  transition: opacity 50ms linear;
  transition-delay: var(--delay, 0ms);
}
.case-bento__stool .case-bento__stool-logo {
  width: 80%;
  max-width: none;
  height: auto;
  flex-shrink: 0;
  opacity: 0;
  transition: opacity 560ms var(--ease-out);
}
.case-bento__cell--stool.is-logo-in .case-bento__stool-logo { opacity: 1; }

.case-bento__menu img {
  transform: translateY(18%);
  transition: transform 900ms var(--ease-out);
}
.case-bento__cell--menu.is-inview .case-bento__menu img {
  transform: translateY(0);
}

.case-bento__media--zoom img {
  transform: scale(1.08);
  transition: transform 900ms var(--ease-out);
}
.case-bento__pair-brunch.is-inview .case-bento__media--zoom img {
  transform: scale(1);
}

/* Scroll reveals */
.case-bento__cell[data-reveal]:not([data-reveal="static"]):not([data-reveal="stool"]):not(.is-inview),
.case-bento__pair-bourbon[data-reveal]:not(.is-inview),
.case-bento__pair-brunch[data-reveal]:not(.is-inview),
.case-bento__pair-hustle[data-reveal]:not(.is-inview),
.case-bento__pair-i-was-you[data-reveal]:not(.is-inview) {
  opacity: 0;
}
.case-bento__cell[data-reveal="fade"]:not(.is-inview) {
  transform: translateY(12px);
}
.case-bento__cell[data-reveal="fade"].is-inview,
.case-bento__cell[data-reveal="video"].is-inview,
.case-bento__cell[data-reveal="burning"].is-inview,
.case-bento__cell[data-reveal="faq-video"].is-inview,
.case-bento__cell[data-reveal="logo-cycle"].is-inview,
.case-bento__cell[data-reveal="placeholder"].is-inview,
.case-bento__cell[data-reveal="bubble-blast"].is-inview,
.case-bento__cell[data-reveal="stagger"].is-inview,
.case-bento__cell[data-reveal="rise"].is-inview,
.case-bento__cell[data-reveal="zoom"].is-inview,
.case-bento__pair-bourbon.is-inview,
.case-bento__pair-brunch.is-inview,
.case-bento__pair-hustle.is-inview,
.case-bento__pair-i-was-you.is-inview {
  opacity: 1;
  transform: none;
  transition:
    opacity 720ms var(--ease-out),
    transform 720ms var(--ease-out);
}
.case-bento__cell[data-reveal="stagger"] [data-reveal-child] {
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity 600ms var(--ease-out),
    transform 600ms var(--ease-out);
}
.case-bento__cell[data-reveal="stagger"].is-inview [data-reveal-child]:nth-child(1) {
  opacity: 1;
  transform: none;
  transition-delay: 0ms;
}
.case-bento__cell[data-reveal="stagger"].is-inview [data-reveal-child]:nth-child(2) {
  opacity: 1;
  transform: none;
  transition-delay: 180ms;
}

/* Wayward Wellness grid */
.case-bento__grid--wayward {
  grid-template-columns: repeat(3, 1fr);
  align-items: stretch;
}
.case-bento__grid--wayward .case-bento__cell:not(.case-bento__cell--bubble-blast):not(.case-bento__cell--rebels-col) {
  display: flex;
  flex-direction: column;
  min-height: 0;
}
.case-bento__grid--wayward .case-bento__cell > .case-bento__media,
.case-bento__grid--wayward .case-bento__cell > .case-bento__frame:not(.case-bento__bubble-blast) {
  flex: 1;
  min-height: 0;
  height: 100%;
}
.case-bento__grid--wayward .case-bento__cell > .case-bento__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.case-bento__grid--wayward .case-bento__cell--ww-hero { grid-column: 1 / 3; grid-row: 1; }
.case-bento__grid--wayward .case-bento__cell--bubble-blast { grid-column: 3; grid-row: 1; }

.case-bento__grid--wayward .case-bento__cell--bubble-blast {
  display: flex;
  flex-direction: column;
  min-height: 0;
}
.case-bento__bubble-blast {
  flex: 1;
  min-height: 0;
  height: 100%;
  background: #E8E4D9;
  overflow: hidden;
}
.bubble-blast {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 240px;
  overflow: hidden;
}
.bubble-blast__card {
  position: absolute;
  opacity: 0;
  transform: scale(0.35);
  transform-origin: center center;
  will-change: transform, opacity;
  pointer-events: none;
}
.bubble-blast__card img {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 3px 10px rgba(26, 38, 32, 0.1));
}
.bubble-blast__card.is-popped {
  opacity: 1;
  transform: scale(1);
  transition:
    opacity 380ms var(--ease-out),
    transform 520ms cubic-bezier(0.34, 1.45, 0.64, 1);
}
.case-bento__cell--bubble-blast.is-wiggling .bubble-blast__card.is-popped {
  transition: none;
  animation: bubble-orbit var(--wiggle-duration, 3.2s) ease-in-out infinite;
  animation-delay: var(--wiggle-delay, 0ms);
}
/* Dense pile from bubble-blast.webp — +20% size, card 4 anchored fully visible */
.bubble-blast__card--1 {
  left: 23%;
  top: -7%;
  width: 55.96%;
  z-index: 1;
  --wiggle-delay: 0ms;
  --orbit-x: 2px;
  --orbit-y: 2.5px;
}
.bubble-blast__card--2 {
  left: 48.5%;
  top: 15.2%;
  width: 55.36%;
  z-index: 3;
  --wiggle-delay: 120ms;
  --orbit-x: 2.5px;
  --orbit-y: 2px;
}
.bubble-blast__card--3 {
  left: -9.5%;
  top: 13.2%;
  width: 55.15%;
  z-index: 2;
  --wiggle-delay: 240ms;
  --orbit-x: 2px;
  --orbit-y: 2.5px;
}
.bubble-blast__card--4 {
  left: 22%;
  top: 35.5%;
  width: 55.75%;
  z-index: 6;
  --wiggle-delay: 80ms;
  --orbit-x: 1.5px;
  --orbit-y: 2px;
}
.bubble-blast__card--5 {
  left: 47%;
  top: 55.5%;
  width: 55.56%;
  z-index: 5;
  --wiggle-delay: 200ms;
  --orbit-x: 2.5px;
  --orbit-y: 2px;
}
.bubble-blast__card--6 {
  left: -7.5%;
  top: 57.5%;
  width: 55.75%;
  z-index: 4;
  --wiggle-delay: 360ms;
  --orbit-x: 2px;
  --orbit-y: 2.5px;
}
@keyframes bubble-orbit {
  0%, 100% {
    transform: scale(1) translate(0, 0);
  }
  25% {
    transform: scale(1) translate(var(--orbit-x, 2px), calc(var(--orbit-y, 2px) * -1));
  }
  50% {
    transform: scale(1) translate(0, calc(var(--orbit-y, 2.5px) * -1.2));
  }
  75% {
    transform: scale(1) translate(calc(var(--orbit-x, 2px) * -1), calc(var(--orbit-y, 2px) * -0.5));
  }
}
.case-bento__grid--wayward .case-bento__cell--brainspotting { grid-column: 1; grid-row: 2; }
.case-bento__grid--wayward .case-bento__cell--burn-the-bp { grid-column: 2 / 4; grid-row: 2; }
.case-bento__grid--wayward .case-bento__cell--burning-bp { grid-column: 1; grid-row: 3; }
.case-bento__media--burning {
  flex: 1;
  min-height: 0;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #F0EEE2;
}
.case-bento__video--burning {
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 100%;
  object-fit: contain;
  background: #F0EEE2;
}
.case-bento__grid--wayward .case-bento__cell--renae { grid-column: 2; grid-row: 3; }
.case-bento__grid--wayward .case-bento__cell--energy-workshop { grid-column: 3; grid-row: 3; }
.case-bento__grid--wayward .case-bento__cell--quote-pic { grid-column: 1 / 3; grid-row: 4; }
.case-bento__grid--wayward .case-bento__cell--rebels-col { grid-column: 3; grid-row: 4; }
.case-bento__grid--wayward .case-bento__cell--somatic-rewire { grid-column: 1; grid-row: 5; }
.case-bento__grid--wayward .case-bento__cell--suck-it-up { grid-column: 2 / 4; grid-row: 5; }

.case-bento__grid--wayward .case-bento__cell--rebels-col {
  display: flex;
  flex-direction: column;
  min-height: 0;
}

/* Beauty by Britt bento grid */
.case-bento__grid--beauty {
  grid-template-columns: repeat(3, 1fr);
}
.case-bento__grid--beauty .case-bento__cell:not(.case-bento__cell--bbb-logo-stack) {
  display: flex;
  flex-direction: column;
}
.case-bento__grid--beauty .case-bento__cell > .case-bento__media {
  flex: 1;
  min-height: 0;
  height: 100%;
}
.case-bento__grid--beauty .case-bento__cell > .case-bento__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.case-bento__grid--beauty .case-bento__cell--bbb-hero { grid-column: 1 / 3; grid-row: 1; }
.case-bento__grid--beauty .case-bento__cell--bbb-swatch { grid-column: 3; grid-row: 1; }
.case-bento__grid--beauty .case-bento__cell--bbb-logo { grid-column: 1; grid-row: 2; }
.case-bento__grid--beauty .case-bento__cell--bbb-logo > .case-bento__frame {
  flex: 1;
  min-height: 0;
  height: 100%;
}
.case-bento__bbb-logo {
  background: #292929;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  min-height: 0;
}
.bbb-logo-cycle {
  display: grid;
  width: 80%;
  place-items: center;
}
.bbb-logo-cycle__img {
  grid-area: 1 / 1;
  width: 100%;
  height: auto;
  max-width: 100%;
  object-fit: contain;
  opacity: 0;
  transition: opacity 1s ease;
}
.bbb-logo-cycle__img.is-active {
  opacity: 1;
}
.case-bento__grid--beauty .case-bento__cell--bbb-styling { grid-column: 2 / 4; grid-row: 2; }
.case-bento__grid--beauty .case-bento__cell--bbb-hair-back { grid-column: 1; grid-row: 3; }
.case-bento__grid--beauty .case-bento__cell--bbb-makeup { grid-column: 2; grid-row: 3; }
.case-bento__grid--beauty .case-bento__cell--bbb-faq { grid-column: 3; grid-row: 3; }
.case-bento__grid--beauty .case-bento__cell--bbb-faq > .case-bento__frame {
  flex: 1;
  min-height: 0;
  height: 100%;
}
.case-bento__bbb-faq {
  position: relative;
  background: #292929;
  height: 100%;
  min-height: 0;
  overflow: hidden;
}
.case-bento__video--faq {
  position: absolute;
  top: 5%;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: auto;
  max-width: none;
  object-fit: initial;
  background: transparent;
}
.case-bento__grid--beauty .case-bento__cell--bbb-wordmark { grid-column: 1 / 3; grid-row: 4; }
.case-bento__grid--beauty .case-bento__cell--bbb-logo-stack { grid-column: 3; grid-row: 4; }
.case-bento__grid--beauty .case-bento__cell--bbb-hair-profile { grid-column: 1; grid-row: 5; }
.case-bento__grid--beauty .case-bento__cell--bbb-wedding { grid-column: 2 / 4; grid-row: 5; }

.case-bento__grid--beauty .case-bento__cell--bbb-logo-stack {
  display: flex;
  flex-direction: column;
  min-height: 0;
}
.case-bento__grid--beauty .case-bento__pair-wordmark-alt,
.case-bento__grid--beauty .case-bento__pair-group-photo {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  border-radius: 10px;
  overflow: hidden;
}
.case-bento__grid--beauty .case-bento__pair-wordmark-alt .case-bento__media,
.case-bento__grid--beauty .case-bento__pair-group-photo .case-bento__media {
  flex: 1;
  min-height: 0;
}
.case-bento__grid--beauty .case-bento__pair-wordmark-alt .case-bento__media img,
.case-bento__grid--beauty .case-bento__pair-group-photo .case-bento__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.case-bento__grid--wayward .case-bento__pair-hustle,
.case-bento__grid--wayward .case-bento__pair-i-was-you {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  border-radius: 10px;
  overflow: hidden;
}
.case-bento__grid--wayward .case-bento__pair-i-was-you .case-bento__frame {
  flex: 1;
  min-height: 0;
}
.case-bento__grid--wayward .case-bento__pair-hustle .case-bento__media {
  flex: 1;
  min-height: 0;
}
.case-bento__grid--wayward .case-bento__pair-hustle .case-bento__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.case-bento__i-was-you {
  flex: 1;
  min-height: 0;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(14px, 2.8vw, 26px) clamp(14px, 2.6vw, 24px);
  background: #798A72;
}
.bento-i-was-you {
  margin: 0;
  font-family: 'Instrument Serif', Georgia, 'Times New Roman', serif;
  font-size: clamp(57px, 9vw, 92px);
  font-weight: 400;
  line-height: 1.06;
  letter-spacing: -0.01em;
  color: #FFFFFF;
}
.bento-i-was-you > [data-typeon-line] { display: block; }
.bento-i-was-you__line2 { display: block; }
.bento-i-was-you__line2 [data-typeon-line] { display: inline; }
.bento-i-was-you__you .bento-typeon__char {
  font-style: italic;
  color: #394C41;
}

@media (max-width: 900px) {
  .case-bento__grid--dillons .case-bento__cell,
  .case-bento__grid--wayward .case-bento__cell,
  .case-bento__grid--beauty .case-bento__cell {
    grid-column: 1 / -1 !important;
    grid-row: auto !important;
  }
  .case-bento__cell--stool {
    height: auto !important;
    align-self: stretch;
  }
  .case-bento__stool {
    min-height: 320px;
    justify-content: center;
    gap: var(--s-5);
  }
  .case-bento__stool .case-bento__stool-icon {
    width: min(140px, 36vw);
    height: auto;
    aspect-ratio: 140 / 214;
  }
  .case-bento__family { grid-template-columns: 1fr; }
  .case-bento__stack .case-bento__media img { height: auto; object-fit: initial; }
  .case-bento__menu { max-height: none; }
  .case-bento__menu img { transform: none; }
  .case-bento__cell--menu.is-inview .case-bento__menu img { transform: none; }
  .case-bento__media--zoom img { transform: none; }
  .case-bento__grid--wayward .case-bento__cell > .case-bento__media img,
  .case-bento__grid--wayward .case-bento__pair-hustle .case-bento__media img,
  .case-bento__grid--beauty .case-bento__cell > .case-bento__media img,
  .case-bento__grid--beauty .case-bento__pair-wordmark-alt .case-bento__media img,
  .case-bento__grid--beauty .case-bento__pair-group-photo .case-bento__media img {
    height: auto;
    object-fit: initial;
  }
}

@media (prefers-reduced-motion: reduce) {
  .case-bento__cell[data-reveal] { opacity: 1 !important; transform: none !important; }
  .case-bento__cell[data-reveal="stagger"] [data-reveal-child] { opacity: 1 !important; transform: none !important; }
  .case-bento__menu img { transform: none !important; }
  .case-bento__media--zoom img { transform: none !important; }
  .bento-typeon__char { opacity: 1 !important; transition: none !important; }
  .case-bento__stool-icon { opacity: 1 !important; transform: none !important; animation: none !important; }
  .bubble-blast__card { opacity: 1 !important; transform: none !important; animation: none !important; transition: none !important; }
  .case-bento__stool-logo { opacity: 1 !important; transition: none !important; }
  .bbb-logo-cycle__img { opacity: 0 !important; transition: none !important; }
  .bbb-logo-cycle__img:first-child { opacity: 1 !important; }
}

/* Case study — flat image gallery (MVP) */
.case-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--s-3);
  margin-bottom: var(--s-9);
}
@media (max-width: 700px) { .case-gallery { grid-template-columns: 1fr; } }
.case-gallery__item {
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--border-soft);
  background: var(--surface);
}
.case-gallery__item--wide { grid-column: 1 / -1; }
.case-gallery__item img {
  width: 100%;
  height: auto;
  display: block;
}

/* Case study gallery — collaged */
.collage {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--s-3);
  margin-bottom: var(--s-8);
}
.collage > * { border-radius: 10px; }

.collage__item {
  position: relative;
  background: #1a1a18;
  border: 1px solid var(--border-soft);
  overflow: hidden;
  min-height: 200px;
  transition: transform var(--t-base) var(--ease), box-shadow var(--t-base) var(--ease);
  cursor: pointer;
}
.collage__item:hover {
  transform: translateY(-2px);
  box-shadow: 0 28px 60px -20px rgba(0,0,0,0.7);
}
.collage__bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  transition: transform 500ms var(--ease);
}
.collage__item:hover .collage__bg { transform: scale(1.05); }
.collage__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(11,11,11,0) 30%, rgba(11,11,11,0.94) 100%);
  padding: var(--s-4);
  display: flex; flex-direction: column; justify-content: flex-end;
  opacity: 0;
  transition: opacity var(--t-base) var(--ease);
  z-index: 2;
}
.collage__item:hover .collage__overlay { opacity: 1; }
.collage__overlay h4 { margin: 0 0 4px; font-size: 18px; font-weight: 500; letter-spacing: -0.012em; }
.collage__overlay p { margin: 0; font-size: 12.5px; color: var(--text-soft); }

/* Specific spans */
.collage--12 { grid-column: span 12; }
.collage--8 { grid-column: span 8; }
.collage--6 { grid-column: span 6; }
.collage--5 { grid-column: span 5; }
.collage--4 { grid-column: span 4; }
.collage--3 { grid-column: span 3; }
.collage--tall { aspect-ratio: 3 / 4; min-height: 0; }
.collage--wide { aspect-ratio: 16 / 9; min-height: 0; }
.collage--square { aspect-ratio: 1 / 1; min-height: 0; }

@media (max-width: 800px) {
  .collage > .collage__item { grid-column: span 12 !important; }
}

/* Case study back-link / next-up */
.case-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: var(--s-7);
  padding-top: var(--s-5);
  padding-bottom: var(--s-5);
  border-top: 1px solid var(--border-soft);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-mute);
}

/* ============================================================
   CONTACT
   ============================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(var(--s-6), 6vw, var(--s-10));
  align-items: start;
  padding-top: var(--s-5);
  min-height: 70vh;
}
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

.contact-grid__title {
  font-size: clamp(40px, 5.8vw, 84px);
  font-weight: 500;
  letter-spacing: -0.025em;
  margin: 0 0 var(--s-5);
  line-height: 0.98;
  text-wrap: balance;
}
.contact-grid__body { color: var(--text-soft); margin-bottom: var(--s-5); }
.contact-grid__body p + p { margin-top: var(--s-4); }

/* Form */
.form { display: flex; flex-direction: column; gap: var(--s-5); padding-top: var(--s-3); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-5); }
@media (max-width: 600px) { .form__row { grid-template-columns: 1fr; } }

.field { display: flex; flex-direction: column; gap: var(--s-2); }
.field label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 500;
}
.field input,
.field textarea {
  width: 100%;
  padding: 14px 16px;
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: 6px;
  color: var(--text);
  font-size: 15px;
  outline: none;
  transition: border-color var(--t-base) var(--ease), background var(--t-base) var(--ease);
  resize: vertical;
}
.field input:focus,
.field textarea:focus { border-color: var(--accent); background: var(--surface-2); }
.field textarea { min-height: 160px; font-family: var(--font-sans); }

.form__status {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-top: var(--s-3);
  opacity: 0;
  transition: opacity var(--t-base) var(--ease);
}
.form__status.is-shown { opacity: 1; }

/* ============================================================
   404
   ============================================================ */
.notfound {
  display: flex; flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  min-height: 80vh;
  gap: var(--s-5);
}
.notfound__code {
  font-size: clamp(140px, 22vw, 320px);
  line-height: 0.9;
  letter-spacing: -0.05em;
  font-weight: 600;
  color: var(--accent);
  margin: 0;
}
.notfound__title { font-size: clamp(28px, 3vw, 44px); font-weight: 500; letter-spacing: -0.02em; margin: 0; }
.notfound__body { color: var(--text-soft); max-width: 56ch; }
.notfound__actions { display: flex; gap: var(--s-3); flex-wrap: wrap; margin-top: var(--s-3); }

/* ============================================================
   CURSOR (custom, only when fine pointer)
   ============================================================ */
.cursor,
.cursor-glow {
  pointer-events: none;
  position: fixed;
  top: 0; left: 0;
  z-index: 200;
  border-radius: 999px;
  transform: translate(-50%, -50%);
  will-change: transform;
}
.cursor {
  width: 8px; height: 8px;
  background: var(--accent);
  mix-blend-mode: difference;
  transition: width var(--t-base) var(--ease), height var(--t-base) var(--ease), background var(--t-base) var(--ease);
}
.cursor.is-hover { width: 40px; height: 40px; background: var(--accent); }
.cursor-glow {
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(158, 226, 27, 0.10), transparent 65%);
  filter: blur(8px);
  opacity: 0;
  transition: opacity 360ms var(--ease);
}
.cursor-glow.is-visible { opacity: 1; }

@media (pointer: coarse), (max-width: 720px) {
  .cursor, .cursor-glow { display: none !important; }
  html, body { cursor: auto; }
}
html.has-custom-cursor { cursor: none; }
html.has-custom-cursor a, html.has-custom-cursor button, html.has-custom-cursor input, html.has-custom-cursor textarea { cursor: none; }

/* Reduce motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}
