/* ==========================================================================
   B.B's Busy Bees: one stylesheet for every page
   ========================================================================== */
:root {
  --ink: #121210;
  --ink-2: #1c1c19;
  --ink-3: #26261f;
  --line-d: #2c2c27;
  --cream: #fafaf6;
  --sand: #f2eee4;
  --line-l: #e3ded2;
  --text: #1a1c1a;
  --text-d: #f6f3ea;
  --muted: #66645b;
  --muted-d: #a9a698;
  --honey: #f5c518;
  --honey-hi: #ffd43b;
  --honey-lo: #ddae06;
  --earth: #8b7355;
  --earth-lo: #6f5a41;

  --f-head: 'Bricolage Grotesque', 'Figtree', system-ui, sans-serif;
  --f-body: 'Figtree', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --f-serif: 'Instrument Serif', Georgia, serif;

  --max: 1320px;
  --gut: clamp(16px, 4vw, 56px);
  --sec: clamp(96px, 12vw, 176px);
  --r: 22px;
  --r-sm: 14px;
  --ease: cubic-bezier(.16, .84, .24, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
  --nav-h: 76px;
}
@media (max-width: 760px) { :root { --nav-h: 64px; --r: 18px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--nav-h) + 12px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0; background: var(--cream); color: var(--text);
  font: 400 17px/1.62 var(--f-body);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, video, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2.5px solid var(--honey); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--honey); color: var(--ink); }
[hidden] { display: none !important; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 200; background: var(--honey); color: var(--ink); padding: 10px 16px; border-radius: 999px; font-weight: 700; text-decoration: none; transition: top .2s; }
.skip:focus { top: 12px; }

.wrap { width: min(100% - 2 * var(--gut), var(--max)); margin-inline: auto; }
.sec { padding-block: var(--sec); position: relative; }
.dark { background: var(--ink); color: var(--text-d); }
.sand { background: var(--sand); }

/* ------------------------------------------------ type */
h1, h2, h3, h4 { font-family: var(--f-head); font-weight: 750; letter-spacing: -.028em; line-height: 1; margin: 0; font-optical-sizing: auto; }
h1, h2, h3 { text-wrap: balance; }
p, li { text-wrap: pretty; }
h2 { font-size: clamp(36px, 5.6vw, 72px); line-height: .98; }
h3 { font-size: clamp(21px, 1.9vw, 25px); letter-spacing: -.018em; line-height: 1.12; }
p { margin: 0; }
.lede { font-size: clamp(17px, 1.45vw, 20px); color: var(--muted); max-width: 58ch; margin-top: 22px; }
.dark .lede { color: var(--muted-d); }
.serif { font-family: var(--f-serif); font-style: italic; font-weight: 400; letter-spacing: -.01em; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font: 600 12.5px/1 var(--f-body); letter-spacing: .16em; text-transform: uppercase;
  color: var(--earth); margin-bottom: 20px;
}
.dark .eyebrow, .on-dark .eyebrow, .page-head .eyebrow, .cta-band .eyebrow { color: var(--honey); }
.eyebrow::before { content: ''; width: 11px; height: 12.5px; background: var(--honey); clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); flex: none; }
.sec-head { display: grid; gap: 0; margin-bottom: clamp(44px, 6vw, 80px); }
.sec-head.split { grid-template-columns: 1.1fr .9fr; align-items: end; gap: 40px; }
@media (max-width: 900px) { .sec-head.split { grid-template-columns: 1fr; gap: 0; } }
.hl { color: var(--honey); }
.light .hl, .sand .hl { color: inherit; background: linear-gradient(transparent 62%, rgba(245,197,24,.55) 62%); }

/* ------------------------------------------------ buttons */
.btn {
  --b: var(--honey); --bt: var(--ink);
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 56px; padding: 0 28px; border-radius: 999px; border: 0;
  background: var(--b); color: var(--bt); text-decoration: none; cursor: pointer;
  font: 700 16px/1 var(--f-body); letter-spacing: .005em; white-space: nowrap;
  transition: transform .35s var(--ease), background .25s, box-shadow .35s var(--ease), color .25s, border-color .25s;
  box-shadow: 0 1px 0 rgba(255,255,255,.35) inset, 0 10px 26px -12px rgba(245,197,24,.55);
}
.btn:hover { background: var(--honey-hi); transform: translateY(-2px); box-shadow: 0 1px 0 rgba(255,255,255,.35) inset, 0 16px 34px -14px rgba(245,197,24,.7); }
.btn:active { background: var(--honey-lo); transform: translateY(0); }
.btn .arr { width: 18px; height: 18px; transition: transform .35s var(--ease); flex: none; }
.btn:hover .arr { transform: translateX(3px); }
.btn.ghost {
  background: transparent; color: var(--text); box-shadow: none;
  border: 1.5px solid var(--earth);
}
.btn.ghost:hover { background: rgba(139,115,85,.1); }
.dark .btn.ghost, .on-dark .btn.ghost { color: var(--text-d); border-color: rgba(246,243,234,.5); }
.dark .btn.ghost:hover, .on-dark .btn.ghost:hover { background: rgba(246,243,234,.1); border-color: var(--text-d); }
.btn.sm { min-height: 44px; padding: 0 20px; font-size: 15px; }
.btn.lg { min-height: 64px; padding: 0 34px; font-size: 17px; }
.link-arrow {
  display: inline-flex; align-items: center; gap: 8px; font-weight: 700; text-decoration: none;
  color: var(--text); background: none; border: 0; padding: 6px 0; cursor: pointer;
  border-bottom: 1.5px solid transparent; transition: border-color .25s, gap .3s var(--ease);
}
.link-arrow:hover { border-color: currentColor; gap: 12px; }
.link-arrow svg { width: 16px; height: 16px; }
.dark .link-arrow { color: var(--honey); }

/* ------------------------------------------------ reveal: slow growth */
[data-reveal] { opacity: 0; transform: translateY(28px) scale(.985); filter: blur(6px); }
[data-reveal].is-in {
  opacity: 1; transform: none; filter: none;
  transition: opacity 1.2s var(--ease), transform 1.3s var(--ease), filter 1.1s var(--ease);
  transition-delay: var(--d, 0ms);
}
[data-reveal="fade"] { transform: none; }
.no-js [data-reveal], .reduce [data-reveal] { opacity: 1; transform: none; filter: none; }

/* ------------------------------------------------ nav */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 60; height: var(--nav-h);
  color: var(--text-d);
  transition: background .5s var(--ease), box-shadow .5s, transform .5s var(--ease), height .4s var(--ease);
}
.nav::before { content: ''; position: absolute; inset: 0 0 -40px; background: linear-gradient(rgba(10,10,8,.55), rgba(10,10,8,0)); pointer-events: none; transition: opacity .5s; }
.nav.solid { background: rgba(18,18,16,.84); -webkit-backdrop-filter: saturate(140%) blur(16px); backdrop-filter: saturate(140%) blur(16px); box-shadow: 0 1px 0 rgba(255,255,255,.06); }
.nav.solid::before { opacity: 0; }
.nav.hide { transform: translateY(-100%); }
.nav-in { position: relative; height: 100%; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; justify-self: start; }
.brand img { width: 44px; height: 44px; filter: drop-shadow(0 4px 10px rgba(0,0,0,.35)); transition: transform .6s var(--ease); }
.brand:hover img { transform: rotate(-8deg) scale(1.04); }
.brand b { display: block; font: 800 20px/1 var(--f-head); letter-spacing: -.02em; }
.brand small { display: block; font: 600 10.5px/1 var(--f-body); letter-spacing: .15em; text-transform: uppercase; color: var(--honey); margin-top: 5px; }
.nav-links { display: flex; gap: 6px; list-style: none; margin: 0; padding: 0; }
.nav-links a { display: block; padding: 10px 14px; border-radius: 999px; text-decoration: none; font-weight: 600; font-size: 15px; color: rgba(246,243,234,.86); transition: color .2s, background .2s; }
.nav-links a:hover, .nav-links a[aria-current="true"] { color: var(--text-d); background: rgba(246,243,234,.1); }
.nav-right { justify-self: end; display: flex; align-items: center; gap: 14px; }
.nav-phone { text-decoration: none; font-weight: 700; font-size: 15px; display: inline-flex; align-items: center; gap: 8px; color: var(--text-d); opacity: .9; }
.nav-phone svg { width: 17px; height: 17px; color: var(--honey); }
.nav-phone:hover { opacity: 1; }
.burger { display: none; width: 46px; height: 46px; border-radius: 50%; border: 1.5px solid rgba(246,243,234,.3); background: rgba(18,18,16,.35); cursor: pointer; position: relative; }
.burger span { position: absolute; left: 13px; right: 13px; height: 2px; background: var(--text-d); border-radius: 2px; transition: transform .45s var(--ease), opacity .3s; }
.burger span:nth-child(1) { top: 16px; } .burger span:nth-child(2) { top: 22px; } .burger span:nth-child(3) { top: 28px; }
.menu-open .burger span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-open .burger span:nth-child(2) { opacity: 0; }
.menu-open .burger span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
@media (max-width: 1080px) { .nav-phone span { display: none; } .nav-links a { padding: 10px 10px; } }
@media (max-width: 980px) {
  .nav-in { grid-template-columns: 1fr auto; }
  .nav-links, .nav-phone, .nav-in > nav { display: none; }
  .burger { display: block; }
}
@media (max-width: 420px) { .brand small { display: none; } .brand b { font-size: 18px; } .nav-right .btn { padding: 0 16px; } }

.menu {
  position: fixed; inset: 0; z-index: 55; background: var(--ink); color: var(--text-d);
  padding: calc(var(--nav-h) + 28px) var(--gut) calc(28px + env(safe-area-inset-bottom));
  display: flex; flex-direction: column; gap: 28px; overflow-y: auto;
  clip-path: circle(0 at calc(100% - 44px) 32px); visibility: hidden;
  transition: clip-path .75s var(--ease-io), visibility 0s linear .75s;
}
.menu-open .menu { clip-path: circle(150% at calc(100% - 44px) 32px); visibility: visible; transition: clip-path .75s var(--ease-io); }
.menu ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.menu li a { display: flex; align-items: baseline; gap: 14px; padding: 10px 0; text-decoration: none; font: 750 clamp(32px, 9vw, 48px)/1.05 var(--f-head); letter-spacing: -.03em; border-bottom: 1px solid var(--line-d); }
.menu li a small { font: 600 12px/1 var(--f-body); color: var(--honey); letter-spacing: .12em; }
.menu-contact { display: grid; gap: 10px; margin-top: auto; }
.menu-contact .btn { width: 100%; }
body.menu-open { overflow: hidden; }

/* ------------------------------------------------ scrub sections (hero + portfolio intro) */
.scrub { position: relative; background: var(--ink); color: var(--text-d); }
.scrub-stage { position: sticky; top: 0; height: 100vh; height: 100lvh; overflow: hidden; }
.scrub-stage video, .scrub-stage .poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.scrub-stage .poster { background: center / cover no-repeat; transition: opacity .8s var(--ease); }
.scrub-stage video { opacity: 0; transition: opacity .8s var(--ease); }
.scrub.video-ready video { opacity: 1; }
.scrub.video-ready .poster { opacity: 0; }
.scrub.static { height: auto !important; }
.scrub.static .scrub-stage { position: relative; height: 100vh; height: 100svh; min-height: 620px; }
.scrub.static video { display: none; }
.scrim-top { position: absolute; inset: 0 0 auto; height: 30%; background: linear-gradient(rgba(10,10,8,.62), rgba(10,10,8,0)); pointer-events: none; }
.scrim-bottom { position: absolute; inset: auto 0 0; height: 62%; background: linear-gradient(rgba(10,10,8,0), rgba(10,10,8,.42) 45%, rgba(10,10,8,.78)); pointer-events: none; }
.scrim-left { position: absolute; inset: 0 auto 0 0; width: 62%; background: linear-gradient(90deg, rgba(10,10,8,.55), rgba(10,10,8,0)); pointer-events: none; }

/* text-anchored soft scrim: a blurred dark cushion that follows each caption */
.cushion { position: relative; isolation: isolate; }
.cushion::before {
  content: ''; position: absolute; inset: -12% -10%; z-index: -1; border-radius: 48px;
  background: radial-gradient(ellipse at 45% 50%, rgba(10,10,8,.66), rgba(10,10,8,.38) 55%, rgba(10,10,8,0) 76%);
  filter: blur(14px);
}
.on-dark { color: var(--text-d); text-shadow: 0 2px 22px rgba(0,0,0,.45), 0 1px 3px rgba(0,0,0,.35); }

/* hero */
.hero { height: 380vh; }
@media (max-width: 760px) { .hero { height: 320vh; } }
.hero-copy { position: absolute; left: var(--gut); right: var(--gut); bottom: clamp(56px, 11vh, 120px); max-width: 980px; }
.hero-copy .kicker { display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: center; font: 600 13px/1.3 var(--f-body); letter-spacing: .14em; text-transform: uppercase; color: var(--honey); margin-bottom: 18px; }
.hero-copy .kicker span { white-space: nowrap; }
.hero-copy .kicker i { width: 5px; height: 5px; border-radius: 50%; background: currentColor; opacity: .7; }
@media (max-width: 520px) { .hero-copy .kicker { font-size: 11.5px; letter-spacing: .1em; } }
.hero h1 { font-size: clamp(50px, 10.2vw, 136px); line-height: .9; letter-spacing: -.04em; font-weight: 800; }
.hero h1 .apos { color: var(--honey); }
.hero .tagline { font: 400 clamp(26px, 3.6vw, 46px)/1.06 var(--f-serif); font-style: italic; margin-top: 14px; color: #fff; }
.hero .tagline em { color: var(--honey); font-style: italic; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 26px; font-size: 14.5px; font-weight: 600; color: rgba(246,243,234,.88); }
.hero-trust span { display: inline-flex; align-items: center; gap: 8px; }
.hero-trust svg { width: 16px; height: 16px; color: var(--honey); }

.beat { position: absolute; max-width: 540px; opacity: 0; visibility: hidden; will-change: opacity, transform; }
.beat .n { font: 600 12.5px/1 var(--f-body); letter-spacing: .16em; text-transform: uppercase; color: var(--honey); display: block; margin-bottom: 14px; }
.beat h2 { font-size: clamp(40px, 5.6vw, 84px); line-height: .94; letter-spacing: -.035em; }
.beat h2 .serif { font-weight: 400; }
.beat p { margin-top: 16px; font-size: clamp(16px, 1.35vw, 19px); color: rgba(246,243,234,.92); max-width: 44ch; }
.beat.b1 { left: var(--gut); top: 50%; translate: 0 -50%; }
.beat.b2 { right: var(--gut); top: 50%; translate: 0 -50%; text-align: right; }
.beat.b2 p { margin-left: auto; }
.beat.b3 { left: var(--gut); top: 50%; translate: 0 -50%; }
.beat.b4 { left: 50%; bottom: clamp(56px, 10vh, 110px); translate: -50% 0; text-align: center; max-width: 900px; width: calc(100% - 2 * var(--gut)); }
.beat.b4 h2 { font-size: clamp(42px, 6.4vw, 96px); }
.beat.b4 .hero-cta { justify-content: center; }
@media (max-width: 760px) {
  .beat.b1, .beat.b2, .beat.b3 { left: var(--gut); right: var(--gut); top: auto; bottom: clamp(80px, 13vh, 130px); translate: none; text-align: left; max-width: none; }
  .beat.b2 p { margin-left: 0; }
  .beat.b4 { bottom: clamp(70px, 11vh, 110px); }
}

.chapters {
  position: absolute; right: calc(var(--gut) + 96px); bottom: 32px; display: flex; align-items: center; gap: 12px;
  font: 600 11.5px/1 var(--f-body); letter-spacing: .14em; text-transform: uppercase; color: rgba(246,243,234,.6);
}
.chapters .track { width: 160px; height: 2px; background: rgba(246,243,234,.2); border-radius: 2px; position: relative; overflow: hidden; }
.chapters .track i { position: absolute; inset: 0; background: var(--honey); transform-origin: left; transform: scaleX(var(--p, 0)); }
.chapters .track b { position: absolute; inset: 0; background: rgba(246,243,234,.35); transform-origin: left; transform: scaleX(var(--load, 0)); transition: transform .3s; }
.chapters span { transition: color .4s; }
.chapters span.on { color: var(--honey); }
@media (max-width: 760px) { .chapters { left: var(--gut); right: auto; bottom: 22px; } .chapters .track { width: 90px; } }

.cue {
  position: absolute; left: 50%; bottom: 28px; translate: -50% 0; display: flex; flex-direction: column; align-items: center; gap: 10px;
  font: 600 11.5px/1 var(--f-body); letter-spacing: .16em; text-transform: uppercase; color: rgba(246,243,234,.75); transition: opacity .6s;
}
.cue .mouse { width: 24px; height: 36px; border-radius: 14px; border: 1.5px solid rgba(246,243,234,.55); position: relative; }
.cue .mouse::after { content: ''; position: absolute; left: 50%; top: 7px; width: 3px; height: 7px; margin-left: -1.5px; border-radius: 2px; background: var(--honey); animation: cue 2.4s var(--ease) infinite; }
@keyframes cue { 0% { transform: translateY(0); opacity: 0; } 25% { opacity: 1; } 70% { transform: translateY(11px); opacity: 0; } 100% { opacity: 0; } }
@media (max-width: 1100px) { .hero .cue { display: none; } }
@media (max-width: 760px) { .cue { display: none; } }

.scrub.static .beat, .scrub.static .cue, .scrub.static .chapters { display: none; }

/* portfolio intro */
.intro { height: 200vh; }
.intro .say {
  position: absolute; inset: 0; display: grid; place-items: center; text-align: center; padding: 0 var(--gut);
  pointer-events: none;
}
.intro .say .line { font: 400 clamp(52px, 9.6vw, 150px)/.95 var(--f-serif); font-style: italic; letter-spacing: -.02em; color: #fff; opacity: 0; will-change: opacity, transform; text-shadow: 0 4px 44px rgba(0,0,0,.6), 0 1px 4px rgba(0,0,0,.45); }
.intro .top-label { position: absolute; left: var(--gut); top: calc(var(--nav-h) + 28px); }
.intro .top-label h2 { font-size: clamp(34px, 5vw, 64px); }
.intro .top-label p { margin-top: 12px; color: rgba(246,243,234,.88); max-width: 40ch; }
.intro .fade-out { position: absolute; inset: 0; background: var(--ink); opacity: 0; pointer-events: none; }
.intro.static .say .line { opacity: 1; }

/* ------------------------------------------------ marquee */
.marquee { background: var(--ink); color: var(--text-d); border-top: 1px solid var(--line-d); overflow: hidden; padding: 20px 0; position: relative; }
.marquee-track { display: flex; width: max-content; animation: marq 60s linear infinite; }
.marquee span { display: inline-flex; align-items: center; gap: 26px; padding-right: 26px; font: 700 clamp(18px, 2vw, 24px)/1 var(--f-head); letter-spacing: -.01em; white-space: nowrap; }
.marquee span::after { content: ''; width: 10px; height: 11.5px; background: var(--honey); clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); }
@keyframes marq { to { transform: translateX(-50%); } }

/* ------------------------------------------------ services */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 28px); }
@media (max-width: 1020px) { .svc-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .svc-grid { grid-template-columns: 1fr; } }
.svc {
  position: relative; display: flex; flex-direction: column; background: #fff; border-radius: var(--r);
  border: 1.5px solid var(--line-l); overflow: hidden;
  transition: border-color .45s var(--ease), transform .6s var(--ease), box-shadow .6s var(--ease);
}
.svc:hover { border-color: var(--honey); transform: translateY(-4px); box-shadow: 0 30px 60px -36px rgba(26,28,26,.35); }
.svc-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--sand); }
.svc-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.svc:hover .svc-media img { transform: scale(1.05); }
.svc-num {
  position: absolute; left: 18px; top: 18px; width: 44px; height: 50px; display: grid; place-items: center;
  background: var(--honey); color: var(--ink); font: 800 15px/1 var(--f-head);
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
}
.svc-tag { position: absolute; right: 16px; bottom: 16px; background: rgba(18,18,16,.72); color: var(--text-d); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); padding: 7px 12px; border-radius: 999px; font-size: 12.5px; font-weight: 600; }
.svc-body { padding: 26px 26px 24px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.svc-body p { color: var(--muted); font-size: 16px; }
.svc-body .link-arrow { margin-top: auto; align-self: flex-start; }
.consult {
  margin-top: clamp(40px, 5vw, 64px); display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  padding: clamp(24px, 3vw, 36px) clamp(24px, 3.4vw, 44px); border-radius: var(--r); background: var(--ink); color: var(--text-d);
  position: relative; overflow: hidden;
}
.consult p { font: 600 clamp(20px, 2.1vw, 28px)/1.2 var(--f-head); letter-spacing: -.015em; max-width: 30ch; }
.consult p span { color: var(--honey); }
.consult .comb { position: absolute; right: -40px; top: -60px; width: 300px; opacity: .08; pointer-events: none; }

/* service dialog */
dialog.svc-dlg {
  width: min(960px, calc(100% - 24px)); max-height: calc(100% - 24px); padding: 0; border: 0; border-radius: var(--r);
  background: var(--cream); color: var(--text); overflow: hidden; box-shadow: 0 40px 120px -30px rgba(0,0,0,.6);
}
dialog.svc-dlg::backdrop { background: rgba(10,10,8,.62); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
dialog.svc-dlg[open] { animation: dlg .6s var(--ease); }
@keyframes dlg { from { opacity: 0; transform: translateY(24px) scale(.98); } }
.dlg-in { display: grid; grid-template-columns: 1fr 1fr; max-height: calc(100vh - 24px); }
.dlg-in > img { width: 100%; height: 100%; object-fit: cover; min-height: 280px; }
.dlg-body { padding: clamp(26px, 4vw, 44px); overflow-y: auto; display: flex; flex-direction: column; gap: 16px; }
.dlg-body h3 { font-size: clamp(28px, 3vw, 38px); }
.dlg-body p { color: var(--muted); }
.dlg-body ul { list-style: none; padding: 0; margin: 4px 0 8px; display: grid; gap: 10px; }
.dlg-body li { display: flex; gap: 12px; align-items: flex-start; }
.dlg-body li::before { content: ''; flex: none; width: 10px; height: 11.5px; margin-top: 7px; background: var(--honey); clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); }
.dlg-close { position: absolute; right: 14px; top: 14px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(18,18,16,.75); color: #fff; cursor: pointer; display: grid; place-items: center; z-index: 2; }
.dlg-close svg { width: 18px; height: 18px; }
@media (max-width: 720px) { .dlg-in { grid-template-columns: 1fr; } .dlg-in > img { max-height: 34vh; min-height: 0; } }

/* ------------------------------------------------ texture bands */
.texture { position: relative; height: clamp(220px, 34vw, 460px); overflow: hidden; background: var(--ink); }
.texture img { position: absolute; left: 0; top: -12%; width: 100%; height: 124%; object-fit: cover; will-change: transform; }
.texture .t-copy { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; padding: 0 var(--gut); }
.texture .t-copy p { font: 400 clamp(30px, 4.6vw, 64px)/1.02 var(--f-serif); font-style: italic; color: #fff; text-shadow: 0 4px 30px rgba(0,0,0,.55); max-width: 18ch; }
.texture::after { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at center, rgba(10,10,8,.35), rgba(10,10,8,.05) 70%); pointer-events: none; }
.texture.quiet::after { background: linear-gradient(rgba(10,10,8,.15), rgba(10,10,8,0) 30%, rgba(10,10,8,0) 70%, rgba(10,10,8,.15)); }

/* ------------------------------------------------ before / after work grid */
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: clamp(28px, 4vw, 44px); }
.chip {
  display: inline-flex; align-items: center; gap: 10px; min-height: 46px; padding: 0 20px; border-radius: 999px; cursor: pointer;
  background: transparent; border: 1.5px solid var(--line-d); color: var(--text-d); font-weight: 600; font-size: 15px;
  transition: background .3s, border-color .3s, color .3s;
}
.chip b { font: 700 12px/1 var(--f-body); background: rgba(246,243,234,.12); padding: 4px 8px; border-radius: 999px; }
.chip:hover { border-color: rgba(246,243,234,.5); }
.chip[aria-pressed="true"] { background: var(--honey); border-color: var(--honey); color: var(--ink); }
.chip[aria-pressed="true"] b { background: rgba(18,18,16,.14); }
.light .chip { border-color: var(--line-l); color: var(--text); }
.light .chip b { background: var(--sand); }

.work-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(16px, 2.2vw, 30px); }
@media (max-width: 760px) { .work-grid { grid-template-columns: 1fr; } }
.work { position: relative; display: block; text-decoration: none; color: var(--text-d); border-radius: var(--r); transition: opacity .5s var(--ease), transform .7s var(--ease); }
.work.is-hidden { display: none; }
.work.is-leaving { opacity: 0; transform: scale(.97); }
.ba { position: relative; overflow: hidden; border-radius: var(--r); aspect-ratio: 4 / 3; background: var(--ink-2); --split: 0%; touch-action: pan-y; cursor: ew-resize; }
.ba img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; user-select: none; -webkit-user-drag: none; }
.ba .after { transition: transform 1.2s var(--ease); }
.work:hover .ba .after { transform: scale(1.02); }
.ba .before { clip-path: inset(0 calc(100% - var(--split)) 0 0); }
.ba .handle { position: absolute; top: 0; bottom: 0; left: var(--split); width: 2px; margin-left: -1px; background: var(--honey); opacity: 0; transition: opacity .35s; pointer-events: none; }
.ba .handle::after {
  content: ''; position: absolute; top: 50%; left: 50%; width: 42px; height: 48px; translate: -50% -50%;
  background: var(--honey) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23121210' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 6l-5 6 5 6M15 6l5 6-5 6'/%3E%3C/svg%3E") center / 20px no-repeat;
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
}
.ba .lbl { position: absolute; top: 14px; padding: 6px 12px; border-radius: 999px; background: rgba(18,18,16,.72); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); color: #fff; font: 700 11.5px/1 var(--f-body); letter-spacing: .12em; text-transform: uppercase; opacity: 0; transition: opacity .35s; pointer-events: none; }
.ba .lbl.l { left: 14px; } .ba .lbl.r { right: 14px; background: var(--honey); color: var(--ink); }
.ba.live .handle, .ba.live .lbl { opacity: 1; }
.ba.no-before { cursor: pointer; }
.ba .real { position: absolute; left: 14px; bottom: 14px; display: inline-flex; align-items: center; gap: 7px; padding: 7px 12px 7px 10px; border-radius: 999px; background: rgba(18,18,16,.72); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); color: #fff; font: 600 12px/1 var(--f-body); pointer-events: none; transition: opacity .35s; }
.ba .real i { width: 7px; height: 7px; border-radius: 50%; background: var(--honey); box-shadow: 0 0 0 3px rgba(245,197,24,.25); }
.ba.live .real { opacity: 0; }
.work-meta { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; padding: 18px 4px 4px; }
.work-meta h3 { font-size: clamp(20px, 1.8vw, 24px); transition: color .3s; }
.work:hover .work-meta h3 { color: var(--honey); }
.work-meta p { color: var(--muted-d); font-size: 14.5px; margin-top: 6px; }
.tag { flex: none; display: inline-flex; align-items: center; min-height: 30px; padding: 0 12px; border-radius: 999px; border: 1.5px solid rgba(245,197,24,.5); color: var(--honey); font: 700 11.5px/1 var(--f-body); letter-spacing: .12em; text-transform: uppercase; }
.work-go { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: rgba(246,243,234,.08); flex: none; transition: background .3s, transform .5s var(--ease); }
.work-go svg { width: 18px; height: 18px; }
.work:hover .work-go { background: var(--honey); color: var(--ink); transform: rotate(-45deg); }

/* featured project spans both columns: story on the left, portrait slider on the right */
.work.featured { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr minmax(0, .82fr); gap: clamp(20px, 3vw, 48px); align-items: center; background: var(--ink-2); border: 1px solid var(--line-d); padding: clamp(18px, 2.4vw, 30px); }
.work.featured .ba { aspect-ratio: 1 / 1; }
.work.featured .ba img { object-position: 50% 38%; }
.f-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; max-width: 340px; margin-top: 6px; }
.f-pair figure { margin: 0; position: relative; border-radius: 14px; overflow: hidden; aspect-ratio: 1; background: var(--ink-3); }
.f-pair img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 35%; }
.f-pair figcaption { position: absolute; left: 8px; bottom: 8px; padding: 5px 9px; border-radius: 999px; background: rgba(18,18,16,.75); color: #fff; font: 700 10.5px/1 var(--f-body); letter-spacing: .12em; text-transform: uppercase; }
.f-pair figure + figure figcaption { background: var(--honey); color: var(--ink); }
.work.featured .f-copy { padding: clamp(6px, 2vw, 28px); display: flex; flex-direction: column; gap: 16px; }
.work.featured h3 { font-size: clamp(30px, 3.6vw, 52px); line-height: .98; letter-spacing: -.03em; }
.work.featured .f-copy > p { color: var(--muted-d); font-size: 17px; max-width: 44ch; }
.work.featured .f-row { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.work.featured .star { display: inline-flex; align-items: center; gap: 8px; font: 700 12px/1 var(--f-body); letter-spacing: .14em; text-transform: uppercase; color: var(--honey); }
.work.featured .star::before { content: ''; width: 10px; height: 11.5px; background: var(--honey); clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); }
@media (max-width: 860px) { .f-pair { display: none; } .work.featured { grid-template-columns: 1fr; } .work.featured .ba { aspect-ratio: 4 / 4.4; } .work.featured .f-copy { order: 2; padding: 4px; } }
.work-more { margin-top: clamp(36px, 5vw, 60px); display: flex; justify-content: center; }

/* ------------------------------------------------ process */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(18px, 2.4vw, 34px); position: relative; }
.steps .line { position: absolute; left: 30px; right: 30px; top: 34px; height: 4px; z-index: 0; }
.steps .line path { stroke: var(--earth); stroke-width: 2; stroke-dasharray: 2 9; stroke-linecap: round; fill: none; }
.steps .line .draw { stroke: var(--honey); stroke-width: 3; stroke-dasharray: none; stroke-dashoffset: var(--dash, 1000); }
.step { position: relative; z-index: 1; }
.step .hex { width: 64px; height: 72px; display: grid; place-items: center; background: var(--ink); color: var(--honey); font: 800 22px/1 var(--f-head); clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); margin-bottom: 26px; transition: background .5s, color .5s; }
.step.lit .hex { background: var(--honey); color: var(--ink); }
.step h3 { margin-bottom: 10px; }
.step p { color: var(--muted); font-size: 16px; }
@media (max-width: 900px) {
  .steps { grid-template-columns: 1fr 1fr; row-gap: 44px; }
  .steps .line { display: none; }
}
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } .step { display: grid; grid-template-columns: 64px 1fr; gap: 0 20px; } .step .hex { margin: 0; grid-row: span 2; } }

/* ------------------------------------------------ seasons */
.banner {
  display: flex; align-items: center; justify-content: center; gap: 14px; flex-wrap: wrap; text-align: center;
  background: var(--honey); color: var(--ink); padding: 18px var(--gut); font: 700 clamp(16px, 1.6vw, 19px)/1.3 var(--f-body);
  position: relative; overflow: hidden;
}
.banner svg { width: 30px; height: 30px; flex: none; }
.banner a { color: var(--ink); font-weight: 800; }
.season-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(14px, 1.8vw, 24px); }
@media (max-width: 1080px) { .season-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) {
  .season-grid { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 84%; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px var(--gut) 18px; margin-inline: calc(-1 * var(--gut)); scrollbar-width: none; }
  .season-grid::-webkit-scrollbar { display: none; }
  .season { scroll-snap-align: center; }
}
.season { background: var(--cream); border-radius: var(--r); overflow: hidden; display: flex; flex-direction: column; border: 1.5px solid transparent; transition: border-color .45s, transform .6s var(--ease), box-shadow .6s var(--ease); }
.season:hover { border-color: var(--honey); transform: translateY(-4px); box-shadow: 0 30px 60px -38px rgba(26,28,26,.4); }
.season-media { position: relative; aspect-ratio: 4 / 4.4; overflow: hidden; }
.season-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.season:hover .season-media img { transform: scale(1.05); }
.season-media h3 { position: absolute; left: 20px; bottom: 16px; color: #fff; font-size: clamp(32px, 3vw, 42px); letter-spacing: -.03em; text-shadow: 0 3px 20px rgba(0,0,0,.5); }
.season-media::after { content: ''; position: absolute; inset: 45% 0 0; background: linear-gradient(rgba(10,10,8,0), rgba(10,10,8,.66)); }
.season-media h3 { z-index: 1; }
.season-body { padding: 22px 22px 24px; display: flex; flex-direction: column; gap: 14px; flex: 1; }
.season-body .sub { font: 700 12px/1.3 var(--f-body); letter-spacing: .13em; text-transform: uppercase; color: var(--earth); }
.season-body ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; font-size: 15.5px; }
.season-body li { display: flex; gap: 10px; }
.season-body li::before { content: ''; flex: none; width: 8px; height: 9px; margin-top: 8px; background: var(--honey); clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); }
.season-body .link-arrow { margin-top: auto; align-self: flex-start; }
.swipe-hint { display: none; margin-top: 4px; color: var(--muted); font-size: 14px; align-items: center; gap: 8px; }
@media (max-width: 640px) { .swipe-hint { display: inline-flex; } }

/* ------------------------------------------------ estimate */
.estimate { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(24px, 4vw, 64px); align-items: start; }
.est-photo { position: sticky; top: calc(var(--nav-h) + 20px); border-radius: var(--r); overflow: hidden; aspect-ratio: 3 / 4; max-height: calc(100vh - var(--nav-h) - 40px); width: 100%; }
.est-photo img { width: 100%; height: 100%; object-fit: cover; }
.est-photo .card {
  position: absolute; left: 16px; right: 16px; bottom: 16px; padding: 20px 22px; border-radius: var(--r-sm);
  background: rgba(18,18,16,.8); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); color: var(--text-d); display: grid; gap: 10px;
}
.est-photo .card b { font: 700 18px/1.2 var(--f-head); }
.est-photo .card a, .est-photo .card .loc { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 600; font-size: 15.5px; }
.est-photo .card svg { width: 18px; height: 18px; color: var(--honey); flex: none; }
.est-photo .card a:hover { color: var(--honey); }
@media (max-width: 900px) {
  .estimate { grid-template-columns: 1fr; }
  .est-photo { position: relative; top: 0; aspect-ratio: 16 / 11; max-height: none; }
}
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 18px; }
.form .full { grid-column: 1 / -1; }
@media (max-width: 600px) { .form { grid-template-columns: 1fr; } }
.field { display: grid; gap: 8px; position: relative; }
.field label { font: 600 14px/1.2 var(--f-body); color: var(--text); }
.field label .opt { color: var(--muted); font-weight: 500; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 54px; padding: 14px 16px; border-radius: var(--r-sm); border: 1.5px solid var(--line-l);
  background: #fff; color: var(--text); font: 500 16px/1.3 var(--f-body); transition: border-color .25s, box-shadow .25s; appearance: none; -webkit-appearance: none;
}
.field textarea { min-height: 120px; resize: vertical; }
.field select { background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238b7355' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") right 14px center / 18px no-repeat; padding-right: 44px; cursor: pointer; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: #cfc7b6; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--earth); box-shadow: 0 0 0 4px rgba(245,197,24,.28); }
.field.bad input, .field.bad select { border-color: #b3261e; }
.field .err { color: #b3261e; font-size: 13.5px; font-weight: 600; display: none; }
.field.bad .err { display: block; }
.form-foot { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 18px 24px; align-items: center; margin-top: 8px; }
.form-foot small { color: var(--muted); font-size: 13.5px; max-width: 46ch; }
.form-foot small a { color: var(--text); }
.hp { position: absolute; left: -9999px; }
.thanks { display: none; text-align: left; padding: clamp(28px, 4vw, 48px); border-radius: var(--r); background: var(--ink); color: var(--text-d); position: relative; overflow: hidden; }
.thanks.show { display: block; animation: dlg .9s var(--ease); }
.thanks h3 { font-size: clamp(30px, 3.6vw, 46px); letter-spacing: -.03em; margin: 18px 0 14px; }
.thanks p { color: rgba(246,243,234,.88); font-size: 18px; max-width: 46ch; }
.thanks p + p { margin-top: 12px; font-size: 15.5px; color: var(--muted-d); }
.thanks .row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.thanks .btn.ghost { color: var(--text-d); border-color: rgba(246,243,234,.5); }
.thanks .btn.ghost:hover { background: rgba(246,243,234,.1); }
.thanks .bee-big { width: 76px; height: 76px; animation: hover-bee 3.6s ease-in-out infinite; }
@keyframes hover-bee { 50% { transform: translateY(-8px) rotate(-4deg); } }

/* ------------------------------------------------ CTA band */
.cta-band { position: relative; overflow: hidden; background: var(--ink); color: var(--text-d); text-align: center; }
.cta-band .bg { position: absolute; inset: 0; background: center / cover no-repeat; opacity: .38; }
.cta-band .bg::after { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at center, rgba(18,18,16,.35), rgba(18,18,16,.92) 75%); }
.cta-band .wrap { position: relative; display: grid; justify-items: center; gap: 22px; }
.cta-band h2 { max-width: 16ch; }
.cta-band p { color: rgba(246,243,234,.86); max-width: 50ch; font-size: 18px; }
.cta-band .row { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 6px; }

/* ------------------------------------------------ footer */
.foot { background: #0b0b0a; color: var(--text-d); padding: clamp(72px, 9vw, 120px) 0 calc(36px + env(safe-area-inset-bottom)); position: relative; overflow: hidden; }
.foot-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; }
@media (max-width: 960px) { .foot-top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .foot-top { grid-template-columns: 1fr; gap: 32px; } }
.foot .brand img { width: 60px; height: 60px; }
.foot .brand b { font-size: 24px; }
.foot-about { color: var(--muted-d); margin-top: 20px; max-width: 36ch; font-size: 15.5px; }
.foot h4 { font: 700 12.5px/1 var(--f-body); letter-spacing: .15em; text-transform: uppercase; color: var(--honey); margin-bottom: 18px; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.foot ul a, .foot ul button { text-decoration: none; color: rgba(246,243,234,.82); font-size: 15.5px; background: none; border: 0; padding: 0; cursor: pointer; text-align: left; }
.foot ul a:hover, .foot ul button:hover { color: var(--honey); }
.foot-contact a { display: inline-flex; align-items: center; gap: 10px; }
.foot-contact svg { width: 17px; height: 17px; color: var(--honey); flex: none; }
.foot-big { font: 800 clamp(64px, 15vw, 230px)/.8 var(--f-head); letter-spacing: -.05em; color: rgba(246,243,234,.045); margin: clamp(56px, 8vw, 100px) 0 28px; white-space: nowrap; user-select: none; }
.foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px 30px; padding-top: 26px; border-top: 1px solid var(--line-d); color: var(--muted-d); font-size: 13.5px; }
.foot-bottom nav { display: flex; gap: 20px; flex-wrap: wrap; }
.foot-bottom a, .foot-bottom button { color: var(--muted-d); text-decoration: none; background: none; border: 0; padding: 0; cursor: pointer; font-size: 13.5px; }
.foot-bottom a:hover, .foot-bottom button:hover { color: var(--honey); }

/* ------------------------------------------------ the hive (floating quick contact) */
.hive { position: fixed; right: max(18px, env(safe-area-inset-right)); bottom: calc(18px + env(safe-area-inset-bottom)); z-index: 70; width: 68px; height: 76px; }
.hive-btn {
  position: absolute; inset: 0; border: 0; padding: 0; cursor: pointer; background: var(--honey);
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
  display: grid; place-items: center; transition: transform .5s var(--ease), background .3s;
}
.hive-btn:hover { background: var(--honey-hi); transform: scale(1.05); }
.hive-btn img { width: 52px; height: auto; transition: transform .6s var(--ease), opacity .3s; }
.hive-btn .x { position: absolute; width: 22px; height: 22px; opacity: 0; transform: rotate(-90deg); transition: transform .5s var(--ease), opacity .3s; }
.hive.open .hive-btn img { opacity: 0; transform: scale(.4) rotate(40deg); }
.hive.open .hive-btn .x { opacity: 1; transform: none; }
.hive-shadow { position: absolute; inset: 8px 4px -6px; border-radius: 50%; background: rgba(0,0,0,.35); filter: blur(12px); z-index: -1; }
.hive-ring { position: absolute; inset: -6px; pointer-events: none; }
.hive-ring::before { content: ''; position: absolute; inset: 0; background: var(--honey); clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); opacity: 0; animation: ring 6s var(--ease) 3s infinite; }
@keyframes ring { 0% { transform: scale(.9); opacity: .5; } 30% { transform: scale(1.35); opacity: 0; } 100% { opacity: 0; } }
.hive.open .hive-ring::before { animation: none; }
.hive-tip {
  position: absolute; right: 80px; bottom: 18px; white-space: nowrap; background: var(--ink); color: var(--text-d); padding: 10px 14px; border-radius: 12px;
  font-size: 14px; font-weight: 600; box-shadow: 0 14px 40px -12px rgba(0,0,0,.5); opacity: 0; transform: translateX(8px); transition: opacity .5s, transform .6s var(--ease); pointer-events: none;
}
.hive-tip::after { content: ''; position: absolute; right: -6px; top: 50%; margin-top: -6px; border: 6px solid transparent; border-right: 0; border-left-color: var(--ink); }
.hive.tip .hive-tip { opacity: 1; transform: none; }
.hive-cells { position: absolute; right: 0; bottom: 0; pointer-events: none; }
.cell {
  position: absolute; right: 0; bottom: 0; width: 68px; height: 76px; display: grid; place-items: center; text-decoration: none;
  background: var(--ink); color: var(--honey); clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
  opacity: 0; transform: translate(0, 0) scale(.4); transition: transform .55s var(--ease), opacity .35s, background .25s, color .25s;
}
.cell svg { width: 24px; height: 24px; }
.cell:hover, .cell:focus-visible { background: var(--honey); color: var(--ink); }
.cell-lbl { position: absolute; right: 0; bottom: 0; white-space: nowrap; background: rgba(18,18,16,.9); color: #fff; font: 700 13px/1 var(--f-body); padding: 8px 11px; border-radius: 999px; opacity: 0; transition: opacity .35s .1s, transform .55s var(--ease); pointer-events: none; }
.hive.open .hive-cells { pointer-events: auto; }
.hive.open .cell { opacity: 1; transform: translate(var(--x), var(--y)) scale(1); }
.hive.open .cell-lbl { opacity: 1; transform: translate(calc(var(--x) - 78px), calc(var(--y) - 26px)); }
.hive-scrim { position: fixed; inset: 0; z-index: 65; background: rgba(10,10,8,.5); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); opacity: 0; visibility: hidden; transition: opacity .4s, visibility 0s linear .4s; }
.hive-scrim.show { opacity: 1; visibility: visible; transition: opacity .4s; }
@media (max-width: 760px) { .hive { width: 60px; height: 67px; } .hive-btn img { width: 46px; } .cell { width: 60px; height: 67px; } }
.hive.lift { bottom: calc(var(--lift, 0px) + 18px + env(safe-area-inset-bottom)); }
body.menu-open .hive, body.menu-open .bees { display: none; }
@media (max-width: 760px) {
  .hive-tip { right: 0; bottom: 80px; }
  .hive-tip::after { right: 26px; top: auto; bottom: -6px; margin: 0; border: 6px solid transparent; border-bottom: 0; border-top-color: var(--ink); }
}

/* ------------------------------------------------ ambient bees + flight rail */
.bees { position: fixed; inset: 0; pointer-events: none; z-index: 40; }
.bee { position: absolute; left: 0; top: 0; width: 30px; height: 30px; pointer-events: auto; cursor: pointer; will-change: transform; }
.bee svg { width: 100%; height: 100%; overflow: visible; filter: drop-shadow(0 3px 5px rgba(0,0,0,.28)); }
.bee .wing { transform-box: fill-box; transform-origin: 50% 100%; animation: flap .09s linear infinite alternate; }
.bee .wing.r { animation-delay: -.045s; }
@keyframes flap { from { transform: scaleY(1); } to { transform: scaleY(.35); } }
.bee-say {
  position: absolute; left: 0; top: 0; background: var(--ink); color: var(--text-d); padding: 9px 13px; border-radius: 12px; font: 600 13.5px/1.3 var(--f-body); white-space: nowrap;
  box-shadow: 0 14px 40px -12px rgba(0,0,0,.55); opacity: 0; transform: translateY(6px); transition: opacity .35s, transform .5s var(--ease); pointer-events: none; z-index: 41;
}
.bee-say.show { opacity: 1; transform: none; }
.bee-say b { color: var(--honey); }

.rail { position: fixed; right: 22px; top: 50%; translate: 0 -50%; height: 46vh; width: 30px; z-index: 45; pointer-events: none; }
.rail .path { position: absolute; left: 50%; top: 0; bottom: 0; width: 0; border-left: 2px dotted rgba(139,115,85,.55); translate: -1px 0; }
.rail .trail { position: absolute; left: 50%; top: 0; width: 2px; translate: -1px 0; background: var(--honey); height: calc(var(--p, 0) * 100%); border-radius: 2px; }
.rail .rbee { position: absolute; left: 50%; top: calc(var(--p, 0) * 100%); width: 28px; height: 28px; translate: -50% -50%; rotate: 180deg; }
.rail .rbee svg { width: 100%; height: 100%; overflow: visible; }
.rail a { position: absolute; left: 50%; width: 12px; height: 13px; translate: -50% -50%; background: rgba(139,115,85,.6); border: 0; clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); pointer-events: auto; transition: background .3s, transform .3s var(--ease); }
.rail a.passed { background: var(--honey); }
.rail a:hover { transform: scale(1.4); }
.rail .rl { position: absolute; right: 26px; translate: 0 -50%; white-space: nowrap; font: 700 11.5px/1 var(--f-body); letter-spacing: .12em; text-transform: uppercase; background: var(--ink); color: var(--text-d); padding: 7px 10px; border-radius: 999px; opacity: 0; transition: opacity .3s; pointer-events: none; }
.rail a:hover + .rl, .rail a:focus-visible + .rl { opacity: 1; }
@media (max-width: 1180px) { .rail { display: none; } }
.progress-top { position: fixed; left: 0; top: 0; height: 3px; width: 100%; z-index: 61; background: var(--honey); transform-origin: left; transform: scaleX(var(--p, 0)); pointer-events: none; display: none; }
@media (max-width: 1180px) { .progress-top { display: block; } }

/* ------------------------------------------------ cookie consent */
.cookie {
  position: fixed; left: 18px; bottom: calc(18px + env(safe-area-inset-bottom)); z-index: 80; width: min(440px, calc(100% - 36px));
  background: var(--ink); color: var(--text-d); border-radius: var(--r); padding: 22px 22px 20px; box-shadow: 0 30px 80px -24px rgba(0,0,0,.6);
  border: 1px solid var(--line-d); transform: translateY(24px); opacity: 0; visibility: hidden; transition: transform .7s var(--ease), opacity .5s, visibility 0s linear .7s;
}
.cookie.show { transform: none; opacity: 1; visibility: visible; transition: transform .7s var(--ease), opacity .5s; }
.cookie h2 { font-size: 20px; letter-spacing: -.015em; display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.cookie h2 svg { width: 26px; height: 26px; }
.cookie p { color: var(--muted-d); font-size: 14.5px; }
.cookie p a { color: var(--honey); }
.cookie .row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.cookie .row .btn { flex: 1 1 auto; min-height: 46px; font-size: 14.5px; padding: 0 18px; }
.cookie .manage { background: none; border: 0; color: var(--text-d); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; font-size: 14px; font-weight: 600; padding: 10px 4px; }
@media (max-width: 560px) { .cookie { left: 10px; right: 10px; width: auto; bottom: calc(10px + env(safe-area-inset-bottom)); padding: 18px; } }
dialog.prefs { width: min(560px, calc(100% - 24px)); border: 0; border-radius: var(--r); padding: 0; background: var(--cream); color: var(--text); box-shadow: 0 40px 120px -30px rgba(0,0,0,.6); }
dialog.prefs::backdrop { background: rgba(10,10,8,.62); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
dialog.prefs[open] { animation: dlg .6s var(--ease); }
.prefs-in { padding: clamp(24px, 4vw, 36px); display: grid; gap: 18px; }
.prefs-in h2 { font-size: 28px; }
.prefs-in > p { color: var(--muted); font-size: 15px; }
.pref { display: flex; justify-content: space-between; gap: 18px; align-items: flex-start; padding: 16px 0; border-top: 1px solid var(--line-l); }
.pref b { display: block; font-size: 16px; margin-bottom: 4px; }
.pref span { color: var(--muted); font-size: 14px; }
.switch { position: relative; flex: none; width: 52px; height: 30px; }
.switch input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.switch i { position: absolute; inset: 0; border-radius: 999px; background: #d9d3c4; transition: background .3s; pointer-events: none; }
.switch i::after { content: ''; position: absolute; left: 3px; top: 3px; width: 24px; height: 24px; border-radius: 50%; background: #fff; box-shadow: 0 2px 6px rgba(0,0,0,.2); transition: transform .35s var(--ease); }
.switch input:checked + i { background: var(--ink); }
.switch input:checked + i::after { transform: translateX(22px); background: var(--honey); }
.switch input:disabled + i { opacity: .55; }
.switch input:focus-visible + i { outline: 2.5px solid var(--honey); outline-offset: 3px; }
.prefs-in .row { display: flex; gap: 10px; justify-content: flex-end; flex-wrap: wrap; }

/* ------------------------------------------------ inner pages */
.page-head { background: var(--ink); color: var(--text-d); padding: calc(var(--nav-h) + clamp(56px, 8vw, 110px)) 0 clamp(56px, 7vw, 90px); position: relative; overflow: hidden; }
.page-head h1 { font-size: clamp(44px, 7.4vw, 104px); line-height: .92; letter-spacing: -.04em; max-width: 14ch; }
.page-head .lede { color: var(--muted-d); }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; color: var(--muted-d); margin-bottom: 26px; }
.crumbs a { color: var(--muted-d); text-decoration: none; }
.crumbs a:hover { color: var(--honey); }
.crumbs span[aria-hidden] { opacity: .5; }

.legal { max-width: 780px; }
.legal h2 { font-size: clamp(24px, 2.6vw, 32px); margin: 56px 0 16px; letter-spacing: -.02em; }
.legal h2:first-child { margin-top: 0; }
.legal p, .legal li { color: #3b3d38; }
.legal p + p { margin-top: 14px; }
.legal ul { padding-left: 22px; display: grid; gap: 8px; margin: 14px 0; }
.legal .updated { display: inline-block; margin-bottom: 36px; padding: 8px 14px; border-radius: 999px; background: var(--sand); font-size: 14px; font-weight: 600; color: var(--muted); }
.legal .toc { background: #fff; border: 1.5px solid var(--line-l); border-radius: var(--r); padding: 22px 26px; margin-bottom: 48px; }
.legal .toc ol { margin: 10px 0 0; padding-left: 20px; columns: 2; column-gap: 32px; }
.legal .toc a { text-decoration: none; }
.legal .toc a:hover { text-decoration: underline; }
@media (max-width: 600px) { .legal .toc ol { columns: 1; } }
.legal table { width: 100%; border-collapse: collapse; margin: 16px 0; font-size: 15px; }
.legal th, .legal td { text-align: left; padding: 12px 10px; border-bottom: 1px solid var(--line-l); vertical-align: top; }
.legal th { font-weight: 700; }

/* project page */
.proj-head { padding-bottom: clamp(36px, 4vw, 56px); padding-top: calc(var(--nav-h) + clamp(40px, 6vw, 80px)); }
.proj-head h1 { font-size: clamp(40px, 5.6vw, 84px); max-width: 20ch; }
.proj-meta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.proj-meta span { display: inline-flex; align-items: center; min-height: 36px; padding: 0 14px; border-radius: 999px; border: 1.5px solid var(--line-d); font-size: 14px; font-weight: 600; color: rgba(246,243,234,.88); }
.proj-meta span.hi { border-color: var(--honey); color: var(--honey); }
.big-ba { background: var(--ink); padding-bottom: clamp(56px, 7vw, 100px); }
.big-ba .ba { cursor: ew-resize; border-radius: var(--r); max-height: 82vh; margin-inline: auto; --split: 50%; }
.big-ba .ba .handle, .big-ba .ba .lbl { opacity: 1; }
.big-ba .ba .real { display: none; }
.big-ba .ba input[type=range] { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; margin: 0; cursor: ew-resize; }
.big-ba .ba:focus-within .handle::after { outline: 3px solid #fff; }
.big-ba .hint { text-align: center; color: var(--muted-d); font-size: 14px; margin-top: 16px; display: flex; gap: 8px; justify-content: center; align-items: center; }
.proj-body { display: grid; grid-template-columns: 1.4fr .9fr; gap: clamp(28px, 5vw, 80px); align-items: start; }
@media (max-width: 900px) { .proj-body { grid-template-columns: 1fr; } }
.proj-body .scope { font-size: clamp(18px, 1.6vw, 21px); line-height: 1.6; }
.proj-body h3 { margin: 40px 0 16px; }
.did { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.did li { display: flex; gap: 14px; align-items: flex-start; font-size: 17px; }
.did li::before { content: ''; flex: none; width: 22px; height: 22px; border-radius: 50%; background: var(--honey) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23121210' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 13px no-repeat; margin-top: 2px; }
.facts { background: #fff; border: 1.5px solid var(--line-l); border-radius: var(--r); padding: clamp(22px, 3vw, 32px); display: grid; gap: 0; position: sticky; top: calc(var(--nav-h) + 20px); }
.facts dl { margin: 0 0 22px; display: grid; }
.facts dl div { display: flex; justify-content: space-between; gap: 16px; padding: 13px 0; border-bottom: 1px solid var(--line-l); font-size: 15.5px; }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; font-weight: 700; text-align: right; }
.facts .btn { width: 100%; }
.facts small { display: block; margin-top: 14px; color: var(--muted); font-size: 13.5px; text-align: center; }
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(10px, 1.4vw, 18px); }
@media (max-width: 760px) { .gallery { grid-template-columns: repeat(2, 1fr); } }
.gallery button { position: relative; padding: 0; border: 0; border-radius: var(--r-sm); overflow: hidden; aspect-ratio: 4 / 3; cursor: zoom-in; background: var(--sand); }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.gallery button:hover img { transform: scale(1.06); }
.gallery .n { position: absolute; left: 10px; top: 10px; background: rgba(18,18,16,.7); color: #fff; font: 700 12px/1 var(--f-body); padding: 6px 9px; border-radius: 999px; }
.proj-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.proj-nav a { display: grid; grid-template-columns: 96px 1fr; gap: 16px; align-items: center; text-decoration: none; padding: 14px; border-radius: var(--r); border: 1.5px solid var(--line-d); transition: border-color .3s; }
.proj-nav a:hover { border-color: var(--honey); }
.proj-nav img { width: 96px; height: 72px; object-fit: cover; border-radius: 10px; }
.proj-nav small { display: block; color: var(--muted-d); font-size: 12.5px; letter-spacing: .12em; text-transform: uppercase; font-weight: 700; margin-bottom: 4px; }
.proj-nav b { font: 700 18px/1.2 var(--f-head); }
.proj-nav a.next { direction: rtl; text-align: right; }
.proj-nav a.next > * { direction: ltr; }
@media (max-width: 640px) { .proj-nav { grid-template-columns: 1fr; } }
dialog.lightbox { width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(10,10,8,.94); color: #fff; }
dialog.lightbox[open] { display: grid; place-items: center; animation: fadein .4s var(--ease); }
@keyframes fadein { from { opacity: 0; } }
dialog.lightbox img { max-width: calc(100vw - 32px); max-height: calc(100vh - 140px); max-height: calc(100svh - 140px); object-fit: contain; border-radius: 12px; }
dialog.lightbox figcaption { text-align: center; color: var(--muted-d); font-size: 14.5px; margin-top: 14px; padding: 0 20px; }
.lb-btn { position: fixed; width: 52px; height: 52px; border-radius: 50%; border: 0; background: rgba(246,243,234,.12); color: #fff; cursor: pointer; display: grid; place-items: center; }
.lb-btn:hover { background: var(--honey); color: var(--ink); }
.lb-btn svg { width: 20px; height: 20px; }
.lb-close { right: 18px; top: 18px; }
.lb-prev { left: 18px; top: 50%; translate: 0 -50%; }
.lb-next { right: 18px; top: 50%; translate: 0 -50%; }
@media (max-width: 600px) { .lb-prev, .lb-next { top: auto; bottom: 18px; translate: none; } }

/* ------------------------------------------------ reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .marquee-track { animation: none; }
  .bees, .rail .rbee { display: none; }
}
