/* ─── PROTOTYPE: THE BEE ───
   White, drawn like a plan. Black type, grey grid, and one colour — the red of
   the line and the bee — so the eye always knows where to go. */
:root {
  --ink: #0A0A0A;
  --mute: rgba(10,10,10,0.55);
  --red: #D9383C;
  --grid: rgba(10,10,10,0.05);
  --rule: rgba(10,10,10,0.14);
  --pad: clamp(20px, 4vw, 56px);
  --bee: 72px;
  --font: 'Montserrat', 'Helvetica Neue', Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  color: var(--ink);
  font-family: var(--font);
  font-weight: 400;
  background-color: #fff;
  /* the drafting grid: 80px squares, hairline */
  background-image:
    linear-gradient(var(--grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 80px 80px;
  background-position: calc(var(--pad) - 1px) -1px;
  overflow-x: hidden;
}
body.lb-open { overflow: hidden; }
a { color: inherit; }
img { max-width: 100%; }
button { font: inherit; color: inherit; }
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

/* ─── FLIGHT ─── */
.flight {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  pointer-events: none;
  z-index: 5;
  overflow: visible;
}
.flight path, .b-outline path {
  fill: none;
  stroke: var(--red);
  stroke-linecap: round;
  stroke-linejoin: round;
}
.flight-line, .b-outline-line { stroke-width: 1.5; }
/* the trail: two fainter copies a step behind and a few pixels off */
.flight-echo--1, .b-outline-echo { stroke-width: 1; opacity: 0.45; transform: translate(4px, 5px); }
.flight-echo--2 { stroke-width: 0.75; opacity: 0.22; transform: translate(-5px, 9px); }

/* ─── THE BEE ───
   Three layers of the same drawing on one canvas, so they stack exactly. The
   wings beat by narrowing from their roots at the thorax — seen from above,
   that is what a wingbeat looks like. */
.bee {
  position: absolute;
  top: 0;
  left: 0;
  width: var(--bee);
  aspect-ratio: 240 / 185;
  margin: calc(var(--bee) * -0.385) 0 0 calc(var(--bee) * -0.5);
  z-index: 6;
  pointer-events: none;
  will-change: transform;
  opacity: 0;
}
.bee.is-on { opacity: 1; transition: opacity 0.4s ease; }
.bee-in {
  position: absolute;
  inset: 0;
  transition: transform 0.9s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.bee-in img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}
.bee-wing { opacity: 0.9; }
.bee-wing--l { transform-origin: 43.8% 39%; animation: flap-l 0.06s linear infinite alternate; }
.bee-wing--r { transform-origin: 56.3% 39%; animation: flap-r 0.06s linear infinite alternate; }
@keyframes flap-l { to { transform: scaleX(0.3) rotate(6deg); opacity: 0.55; } }
@keyframes flap-r { to { transform: scaleX(0.3) rotate(-6deg); opacity: 0.55; } }
/* landed: bigger, still, wings folded back along the body */
.bee.is-landed .bee-in { transform: scale(1.65); }
.bee.is-landed .bee-wing { animation: none; transition: transform 0.5s ease; }
.bee.is-landed .bee-wing--l { transform: scaleX(0.62) rotate(-14deg); }
.bee.is-landed .bee-wing--r { transform: scaleX(0.62) rotate(14deg); }
@media (prefers-reduced-motion: reduce) {
  .bee-wing { animation: none; }
  .b-comb polygon { transition: none; }
}

/* ─── NAV ─── */
.b-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px var(--pad);
  background: rgba(255,255,255,0.88);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--rule);
}
.b-logo svg { display: block; height: 18px; width: auto; aspect-ratio: 847 / 147; fill: var(--red); }
.b-label, .b-meta {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
}

/* ─── DOCK: five cells of a comb, the app bar at the foot of the screen ───
   Flat-top hexagons that interlock like a strip of honeycomb: the even
   cells sit half a cell lower. The wall is the red background, the white
   face sits 1.5px inside it; the section on screen fills red. */
.b-dock {
  --c: 62px;
  position: fixed;
  left: 50%;
  bottom: max(10px, env(safe-area-inset-bottom));
  z-index: 12;
  transform: translate(-50%, calc(100% + 30px));
  opacity: 0;
  transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.5s ease;
}
html:not(.js) .b-dock, body.dock-on .b-dock { transform: translate(-50%, 0); opacity: 1; }
body.lb-open .b-dock, body.dock-away .b-dock { transform: translate(-50%, calc(100% + 30px)); opacity: 0; pointer-events: none; }
.b-dock ul {
  position: relative;
  width: calc(var(--c) * 4.12);
  height: calc(var(--c) * 0.866 * 1.5);
  margin: 0;
  padding: 0;
  list-style: none;
  filter: drop-shadow(0 6px 14px rgba(10,10,10,0.14));
}
.b-dock li { position: absolute; top: 0; left: calc(var(--i) * var(--c) * 0.78); }
.b-dock li:nth-child(1) { --i: 0; }
.b-dock li:nth-child(2) { --i: 1; top: calc(var(--c) * 0.433); }
.b-dock li:nth-child(3) { --i: 2; }
.b-dock li:nth-child(4) { --i: 3; top: calc(var(--c) * 0.433); }
.b-dock li:nth-child(5) { --i: 4; }
.b-dock-cell {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: var(--c);
  height: calc(var(--c) * 0.866);
  clip-path: polygon(25% 0, 75% 0, 100% 50%, 75% 100%, 25% 100%, 0 50%);
  background: var(--red);
  color: var(--ink);
  text-decoration: none;
}
.b-dock-cell::before {
  content: '';
  position: absolute;
  inset: 1.5px;
  clip-path: inherit;
  background: #fff;
  transition: opacity 0.3s;
}
.b-dock-cell svg, .b-dock-cell span { position: relative; transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.3s, color 0.3s; }
.b-dock-cell svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.b-dock-cell span {
  position: absolute;
  top: 62%;
  font-size: 0.48rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0;
}
.b-dock-cell.is-on { color: #fff; }
.b-dock-cell.is-on::before { opacity: 0; }
.b-dock-cell:focus-visible { outline: none; }
.b-dock-cell:focus-visible::before { inset: 3px; }
@media (hover: hover) {
  .b-dock-cell:hover { color: #fff; }
  .b-dock-cell:hover::before { opacity: 0; }
  .b-dock-cell:hover svg { transform: translateY(-6px); }
  .b-dock-cell:hover span { opacity: 1; }
}

/* ─── OPENERS: the hero and JAQUÓ ───
   A tall pin holds a screen-high stage still while the scroll opens the frame
   from its place in the layout (the slot) to the whole screen. JS sets the
   frame's box and the cut of its corners from the progress. */
.b-pin { position: relative; height: 230svh; }
.b-stage {
  position: sticky;
  top: 0;
  height: 100svh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 36px;
  padding: 96px var(--pad) 48px;
}
.b-slot {
  position: relative;
  z-index: 2;
  width: 100%;
  aspect-ratio: 21 / 9;
  max-height: 62svh;
  flex: none;
}
/* the one six-sided shape on the page; --cut is the corner at rest */
.b-frame {
  --cut: 6%;
  position: absolute;
  z-index: 1;
  background: #f2f2f2;
  clip-path: polygon(var(--c, 0px) 0, calc(100% - var(--c, 0px)) 0, 100% 50%, calc(100% - var(--c, 0px)) 100%, var(--c, 0px) 100%, 0 50%);
}
.b-frame video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.b-outline {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 3;
  pointer-events: none;
  overflow: visible;
}
#beeFilm {
  opacity: 0;
  transform: scale(1.08);
  transition: opacity 1.2s ease, transform 2.4s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.b-hero.is-open #beeFilm { opacity: 1; transform: none; }
.b-hero .b-pin { height: 300svh; }
/* white cells over the film; each one the bee passes folds away */
.b-comb {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.b-comb polygon {
  fill: #fff;
  stroke: var(--rule);
  stroke-width: 1;
  vector-effect: non-scaling-stroke;
  transform-box: fill-box;
  transform-origin: center;
  transition: transform 0.5s cubic-bezier(0.3, 0.7, 0.2, 1), opacity 0.5s ease;
}
.b-comb polygon.is-gone { transform: scale(0.2) rotate(30deg); opacity: 0; }
.b-hero-foot {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}
.b-title {
  margin: 0;
  font-size: clamp(1.6rem, 3.4vw, 3rem);
  font-weight: 300;
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.b-title span {
  display: block;
  margin-top: 10px;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--mute);
}
.b-film .b-pin { margin-top: -40px; }
.b-film .b-slot { display: flex; align-items: center; justify-content: center; }
.b-film-play {
  padding: 16px 28px;
  border: 0;
  background: var(--red);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  cursor: pointer;
}
.b-film-play:hover { background: var(--ink); }

/* ─── SECTIONS ─── */
.b-section { padding: 18vh var(--pad) 8vh; }
.b-head { margin-bottom: 56px; }
.b-h2 {
  margin: 12px 0 0;
  font-size: clamp(2.6rem, 7vw, 6rem);
  font-weight: 300;
  line-height: 1;
  letter-spacing: -0.03em;
}

/* manifesto: big thin type with a dimension line drawn under it */
.b-statement {
  margin: 0;
  max-width: 22ch;
  font-size: clamp(2rem, 5.6vw, 5.2rem);
  font-weight: 300;
  line-height: 1.08;
  letter-spacing: -0.03em;
}
.b-statement em { display: block; font-style: normal; font-weight: 500; }

/* every framed thing is white, so the red line reads on a clean edge */
[data-frame] { background: #fff; }

.b-groups {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.b-group { padding: 28px 28px 36px; }
.b-group ol { list-style: none; margin: 40px 0 0; padding: 0; }
.b-group li {
  display: flex;
  gap: 16px;
  padding: 16px 0;
  border-top: 1px solid var(--rule);
}
.b-group li b { display: block; font-size: clamp(1rem, 1.4vw, 1.2rem); font-weight: 500; }
.b-group li span { display: block; margin-top: 6px; font-size: 0.85rem; line-height: 1.5; color: var(--mute); }
.b-group li i, .b-work figcaption i {
  font-style: normal;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  padding-top: 0.35em;
  color: rgba(10,10,10,0.45);
}

/* ─── ON THE DESK ─── */
.b-desk {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.b-win { display: flex; flex-direction: column; min-width: 0; }
.b-win-bar {
  padding: 14px 16px;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--rule);
}
.b-win-media { flex: 1; display: flex; align-items: center; justify-content: center; padding: 12px; }
.b-win-media--whole img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 64svh;
  object-fit: contain;
}
.b-reel, .b-faves { position: relative; margin: 12px; overflow: hidden; background: #f2f2f2; }
.b-reel { aspect-ratio: 1; }
.b-faves { aspect-ratio: 3 / 4; }
.b-reel img, .b-fave {
  position: absolute;
  inset: 0;
  margin: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.9s ease;
}
.b-reel img.is-on, .b-fave.is-on { opacity: 1; }
.b-fave img { width: 100%; height: 100%; object-fit: cover; display: block; }
.b-fave figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  background: #fff;
  font-size: 0.8rem;
}
.b-fave figcaption span { color: var(--mute); }
.b-faves-segs { position: absolute; z-index: 2; top: 10px; left: 10px; right: 10px; display: flex; gap: 4px; }
.b-faves-segs i { flex: 1; height: 2px; background: rgba(255,255,255,0.5); overflow: hidden; }
.b-faves-segs i::after {
  content: '';
  display: block;
  height: 100%;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
}
.b-faves-segs i.is-done::after { transform: none; }
.b-faves-segs i.is-on::after { animation: seg 5s linear forwards; }
.b-faves.paused .b-faves-segs i.is-on::after { animation-play-state: paused; }
@keyframes seg { to { transform: none; } }
.b-faves-arrow {
  position: absolute;
  z-index: 2;
  top: 0;
  bottom: 44px;
  width: 40%;
  border: 0;
  background: none;
  cursor: pointer;
}
.b-faves-prev { left: 0; cursor: w-resize; }
.b-faves-next { right: 0; cursor: e-resize; }

/* ─── WORK: the hive ───
   A pin holds the stage while the scroll walks the bee from cell to cell. The
   cells are pointy-topped hexagons in rows of 5-4-5; --x and --y place each
   one. JS moves each film out of its cell to the card and back. */
.b-hive-pin { height: calc(14 * 45svh); margin: 0 calc(-1 * var(--pad)); }
.b-hive-stage {
  --w: min(10.4vw, 156px, calc((100svh - 260px) / 2.887));
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
}
.b-hive-side { flex: none; }
.b-hive {
  position: relative;
  list-style: none;
  margin: 0;
  padding: 0;
  width: calc(var(--w) * 5);
  height: calc(var(--w) * 2.887);
}
.b-hive li {
  position: absolute;
  left: calc(var(--x) * var(--w));
  top: calc(var(--y) * var(--w) * 0.866);
  width: var(--w);
  height: calc(var(--w) * 1.1547);
}
/* the wall is the button's own colour showing round a white inner hexagon */
.b-cell {
  --hex: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  height: 100%;
  padding: 0 13%;
  border: 0;
  background: var(--rule);
  clip-path: var(--hex);
  cursor: pointer;
  text-align: center;
  transition: background 0.3s ease, color 0.3s ease;
}
.b-cell::before {
  content: '';
  position: absolute;
  inset: 1px;
  z-index: -1;
  background: #fff;
  clip-path: var(--hex);
  transition: background 0.3s ease;
}
.b-cell i { font-style: normal; font-size: 0.62rem; font-weight: 500; letter-spacing: 0.14em; color: var(--mute); }
.b-cell b { font-size: 0.72rem; font-weight: 500; line-height: 1.25; }
.b-cell.is-done i { color: var(--red); }
.b-cell:hover, .b-cell:focus-visible { background: var(--red); color: var(--red); outline: none; }
/* the cell the bee is on lights up */
.b-cell.is-on { background: var(--red); color: #fff; }
.b-cell.is-on::before { background: var(--red); }
.b-cell.is-on i { color: #fff; }
.b-hive-note { margin: 28px 0 0; color: var(--mute); }

/* the card: a 9:16 box the films come out to. They are vertical, so nothing gets cut */
.b-show {
  position: relative;
  flex: none;
  height: calc(100svh - 96px - 48px - 72px);
  aspect-ratio: 9 / 16;
  margin: 0 6vw 72px auto;
}
.b-trail {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 3;
  pointer-events: none;
  overflow: visible;
}
.b-trail path, .b-sweep { fill: none; stroke: var(--red); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.b-work {
  --q: 1;
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  will-change: transform, opacity;
  outline: 1px solid transparent;
  outline-offset: 8px;
  transition: outline-color 0.3s ease;
}
.b-work.is-out { pointer-events: auto; outline-color: var(--red); }
/* out of the cell it is a hexagon; on the card the corners square off */
.b-work video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #f2f2f2;
  clip-path: polygon(50% 0, 100% calc(var(--q) * 25%), 100% calc(100% - var(--q) * 25%), 50% 100%, 0 calc(100% - var(--q) * 25%), 0 calc(var(--q) * 25%));
}
.b-work figcaption {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 12px;
  align-items: baseline;
  padding-top: 20px;
  font-size: 1.05rem;
  font-weight: 500;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.b-work.is-out figcaption { opacity: 1; }
.b-work figcaption span {
  width: 100%;
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 400;
  color: var(--mute);
}
.b-work-open {
  position: absolute;
  inset: 0;
  width: 100%;
  border: 0;
  background: none;
  cursor: pointer;
}
.b-work:hover figcaption { color: var(--red); }

/* ─── CLIENTS: the Huge-style wall, as a plan — white boxes, grey hairlines ─── */
.b-wall {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
}
.b-wall > li {
  position: relative;
  aspect-ratio: 1.6;
  overflow: hidden;
  background: #fff;
}
.js .b-wall > li:nth-child(n+9) { display: none; }
.b-wall-face {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 46%;
  height: 40%;
  object-fit: contain;
  opacity: 0.88;
  transition: transform 0.7s cubic-bezier(0.65, 0, 0.35, 1), opacity 0.7s cubic-bezier(0.65, 0, 0.35, 1);
}
.b-wall-face--name {
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 500;
  font-size: clamp(0.9rem, 1.6vw, 1.4rem);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
/* the swap: the old logo leaves upward, the new one rises from below */
.b-wall-face.is-out { transform: translateY(-40%); opacity: 0; }
.b-wall-face.is-in { transform: translateY(40%); opacity: 0; transition: none; }

/* ─── ABOUT ─── */
.b-about {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 48px;
  padding: clamp(24px, 4vw, 56px);
}
.b-about-meta { margin: 0; }
.b-about-meta div { padding: 14px 0; border-top: 1px solid var(--rule); }
.b-about-meta dt { font-size: 0.68rem; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; color: var(--mute); }
.b-about-meta dd { margin: 6px 0 0; font-size: 1.05rem; }
.b-about-body { max-width: 62ch; }
.b-about-body p { margin: 0 0 1.2em; font-size: 1.02rem; line-height: 1.7; color: rgba(10,10,10,0.75); }
.b-about-body .b-about-lead {
  font-size: clamp(1.6rem, 3vw, 2.6rem);
  font-weight: 300;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--ink);
}

/* ─── CONTACT ─── */
.b-contact { padding-bottom: 12vh; }
.b-cta {
  display: inline-block;
  font-size: clamp(3rem, 11vw, 10rem);
  font-weight: 300;
  line-height: 1;
  letter-spacing: -0.04em;
  text-decoration: none;
}
.b-cta:hover { color: var(--red); }
.b-contact-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: clamp(32px, 6vw, 96px);
  margin-top: 12vh;
}
.b-form { display: flex; flex-direction: column; gap: 28px; }
.b-field { display: block; }
.b-field span, .b-chips legend {
  display: block;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--mute);
}
.b-field input, .b-field textarea {
  display: block;
  width: 100%;
  margin-top: 6px;
  padding: 10px 0;
  border: 0;
  border-bottom: 1px solid var(--rule);
  border-radius: 0;
  background: transparent;
  font: inherit;
  font-size: 1.05rem;
  color: var(--ink);
  resize: vertical;
}
.b-field input:focus, .b-field textarea:focus { outline: none; border-bottom-color: var(--red); }
.b-chips { border: 0; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.b-chips legend { margin-bottom: 12px; }
.b-chip input { position: absolute; opacity: 0; pointer-events: none; }
.b-chip span {
  display: inline-block;
  padding: 8px 14px;
  border: 1px solid var(--rule);
  font-size: 0.8rem;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s, color 0.2s;
}
.b-chip span:hover { border-color: var(--ink); }
.b-chip input:checked + span { background: var(--red); border-color: var(--red); color: #fff; }
.b-chip input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 2px; }
/* consent: a small square in the chips' language, red when ticked */
.b-consent { display: flex; align-items: flex-start; gap: 12px; cursor: pointer; font-size: 0.85rem; line-height: 1.5; color: rgba(10,10,10,0.75); }
.b-consent input {
  flex: none;
  appearance: none;
  width: 18px;
  height: 18px;
  margin: 1px 0 0;
  border: 1px solid var(--rule);
  border-radius: 0;
  background: transparent;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}
.b-consent:hover input { border-color: var(--ink); }
.b-consent input:checked {
  border-color: var(--red);
  background: var(--red) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 8.5l3 3 6-7' fill='none' stroke='%23fff' stroke-width='2'/%3E%3C/svg%3E") center / 14px no-repeat;
}
.b-consent a { color: var(--ink); }
.b-consent a:hover { color: var(--red); }
.b-consent input:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.b-form-msg { min-height: 1.2em; font-size: 0.9rem; }
.b-form-msg.error { color: var(--red); }
.b-send {
  align-self: flex-start;
  padding: 16px 32px;
  border: 0;
  background: var(--red);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  cursor: pointer;
}
.b-send:hover { background: var(--ink); }
.b-send:disabled { opacity: 0.5; cursor: default; }
.b-contact-info p { margin: 0 0 40px; font-size: 1rem; line-height: 1.7; color: rgba(10,10,10,0.75); }
.b-contact-info dl { margin: 0; }
.b-contact-info dl div { padding: 14px 0; border-top: 1px solid var(--rule); }
.b-contact-info dt { font-size: 0.68rem; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; color: var(--mute); }
.b-contact-info dd { margin: 6px 0 0; font-size: 1.05rem; }
.b-contact-info dd i { font-style: normal; margin-left: 10px; color: var(--red); }
.b-contact-info a:hover { color: var(--red); }

.b-foot {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  /* clear of the dock */
  padding: 24px var(--pad) 120px;
  border-top: 1px solid var(--rule);
  font-size: 0.75rem;
  color: var(--mute);
  background: #fff;
}
.b-foot a { text-decoration: none; }
.b-foot a:hover { color: var(--red); }

/* ─── LIGHTBOX ─── */
.b-lb {
  position: fixed;
  inset: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 64px var(--pad) 32px;
  background: rgba(255,255,255,0.97);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0s linear 0.35s;
}
.b-lb.open { opacity: 1; visibility: visible; transition: opacity 0.35s ease; }
.b-lb-close {
  position: absolute;
  top: 20px;
  right: var(--pad);
  border: 0;
  background: none;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  cursor: pointer;
}
.b-lb-close:hover { color: var(--red); }
.b-lb-stage {
  width: 100%;
  max-width: 1400px;
  display: grid;
  grid-template-columns: auto 260px;
  justify-content: center;
  gap: 32px;
  align-items: end;
}
/* the work films are vertical — shown whole, 9:16 */
.b-lb video {
  display: block;
  width: auto;
  height: min(78svh, 760px);
  max-width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: contain;
  background: #000;
  outline: 1px solid var(--red);
  outline-offset: 8px;
}
.b-lb h3 { margin: 10px 0 6px; font-size: 1.8rem; font-weight: 300; letter-spacing: -0.02em; }
.b-lb-note { font-size: 0.8rem; color: var(--mute); }
.b-lb-nav { display: flex; align-items: center; gap: 16px; margin-top: 28px; font-size: 0.8rem; }
.b-lb-nav button { width: 44px; height: 44px; border: 1px solid var(--rule); background: #fff; cursor: pointer; }
.b-lb-nav button:hover { border-color: var(--red); color: var(--red); }
.b-lb--single .b-lb-nav { display: none; }
/* a work film that is 4:3 — shown whole at its own shape */
.b-lb--wide video { aspect-ratio: 4 / 3; }
/* the JAQUÓ film is 16:9 — one column, film over its caption */
.b-lb--single .b-lb-stage { grid-template-columns: auto; }
.b-lb--single video {
  width: min(88vw, calc(72svh * 16 / 9), 1280px);
  height: auto;
  aspect-ratio: 16 / 9;
}

/* content waits for the line: it appears once the bee has passed its top */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.js [data-reveal].is-in { opacity: 1; transform: none; }
/* frames stay exactly where the line is drawn round them — they only fade */
.js [data-frame][data-reveal] { transform: none; }

/* ─── TABLET ─── */
@media (max-width: 1024px) {
  .b-desk { grid-template-columns: repeat(2, 1fr); }
  .b-wall { grid-template-columns: repeat(3, 1fr); }
  .js .b-wall > li:nth-child(n+7) { display: none; }
}

/* ─── PHONE ─── */
@media (max-width: 768px) {
  :root { --bee: 48px; --pad: 28px; }
  .b-dock { --c: 56px; }
  .b-nav { padding: 16px var(--pad); }
  .b-logo svg { height: 16px; }
  .b-stage { padding-top: 84px; gap: 28px; }
  .b-frame { --cut: 10%; }
  .b-slot { aspect-ratio: 4 / 5; max-height: 58svh; }
  .b-hero-foot { flex-direction: column; align-items: flex-start; }
  .b-groups, .b-desk, .b-about, .b-contact-grid, .b-lb-stage { grid-template-columns: 1fr; }
  /* the hive on top, the card under it */
  .b-hive-stage {
    --w: calc((100vw - 2 * var(--pad)) / 5);
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    gap: 24px;
  }
  .b-cell b, .b-hive-note { display: none; }
  .b-show { height: calc(100svh - 84px - 24px - var(--w) * 2.887 - 96px); margin: 0; }
  .b-work figcaption { gap: 4px 10px; padding-top: 16px; font-size: 0.9rem; }
  .b-lb video { height: min(64svh, 640px); justify-self: center; }
  .b-lb--wide video { width: 100%; height: auto; }
  .b-group { padding: 22px 20px 28px; }
  .b-about { gap: 24px; }
  .b-wall { grid-template-columns: repeat(2, 1fr); }
  .b-wall-face { width: 56%; }
  .b-lb-stage { gap: 16px; }
}
