/* ==========================================================================
   HexaClicks redesign concept: "The open cell"
   The mark is a hexagon with one side open and a cursor in the gap.
   Open hexagon frames: hero + closing only. The comb: verticals only.
   ========================================================================== */

:root {
  /* palette: logo file + live site CSS, deepened for contrast */
  --graphite: #1C1F1C;      /* primary ink, dark bands */
  --cursor: #363636;        /* the logo cursor */
  --leaf: #2E7426;          /* links, focus on light (5.77:1 on white) */
  --lime: #A4DE02;          /* signal on dark only; fill behind graphite text */
  --chalk: #F2F4EF;         /* alternate ground, cool green-grey */
  --white: #FFFFFF;
  --slate: #5E645A;         /* secondary text on light */
  --line: #DADDD5;          /* hairlines */
  --mist: #E7EAE2;          /* photo tiles */
  --on-dark: #F2F4EF;
  --on-dark-2: #A9AFA4;     /* 7.3:1 on graphite */
  --line-dark: rgba(242, 244, 239, .14);
  --haze: #F3E4B6;          /* concept notice only */

  --display: "Urbanist", "Century Gothic", system-ui, sans-serif;
  --body: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;

  --fs-display: clamp(2.9rem, 1.4rem + 5.4vw, 6rem);
  --fs-h2: clamp(2.1rem, 1.35rem + 2.6vw, 3.6rem);
  --fs-h3: 1.375rem;
  --fs-lede: clamp(1.125rem, 1rem + .4vw, 1.3rem);
  --fs-body: 1.0625rem;
  --fs-small: .875rem;

  --wrap: 1280px;
  --gutter: clamp(16px, 4vw, 48px);
  --section: clamp(84px, 10vw, 150px);
  --radius: 14px;
  --radius-s: 8px;
  --shadow: 0 1px 0 rgba(28, 31, 28, .04), 0 18px 40px -22px rgba(28, 31, 28, .35);

  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --ease-drawer: cubic-bezier(0.32, 0.72, 0, 1);

  --masthead-h: 76px;

  /* the open cell, in % of a 733:860 box (the official mark: rounded corners, cursor at 65%) */
  --cell-closed: polygon(45.06% 2.47%, 47.53% 1.54%, 50.00% 1.24%, 52.47% 1.54%, 54.94% 2.47%, 95.06% 22.53%, 97.22% 23.92%, 98.76% 25.60%, 99.69% 27.59%, 100.00% 29.88%, 100.00% 70.12%, 99.69% 72.41%, 98.76% 74.40%, 97.22% 76.08%, 95.06% 77.47%, 54.94% 97.53%, 52.47% 98.46%, 50.00% 98.76%, 47.53% 98.46%, 45.06% 97.53%, 37.86% 93.93%, 37.86% 93.93%, 37.86% 93.93%, 37.86% 93.93%, 37.86% 93.93%, 21.50% 85.75%, 21.50% 85.75%, 21.50% 85.75%, 21.50% 85.75%, 21.50% 85.75%, 5.14% 77.57%, 5.14% 77.57%, 5.14% 77.57%, 5.14% 77.57%, 5.14% 77.57%, 2.31% 76.16%, 1.30% 75.35%, 0.58% 74.07%, 0.14% 72.33%, 0.00% 70.12%, 0.00% 29.88%, 0.31% 27.59%, 1.24% 25.60%, 2.78% 23.92%, 4.94% 22.53%);
  --cell-open:   polygon(45.06% 2.47%, 47.53% 1.54%, 50.00% 1.24%, 52.47% 1.54%, 54.94% 2.47%, 95.06% 22.53%, 97.22% 23.92%, 98.76% 25.60%, 99.69% 27.59%, 100.00% 29.88%, 100.00% 70.12%, 99.69% 72.41%, 98.76% 74.40%, 97.22% 76.08%, 95.06% 77.47%, 54.94% 97.53%, 52.47% 98.46%, 50.00% 98.76%, 47.53% 98.46%, 45.06% 97.53%, 38.81% 94.40%, 38.39% 94.14%, 38.10% 93.82%, 37.92% 93.44%, 37.86% 93.00%, 37.86% 53.52%, 37.80% 53.06%, 37.61% 52.84%, 37.30% 52.87%, 36.85% 53.14%, 5.95% 76.95%, 5.54% 77.19%, 5.11% 77.30%, 4.66% 77.27%, 4.20% 77.10%, 2.31% 76.16%, 1.30% 75.35%, 0.58% 74.07%, 0.14% 72.33%, 0.00% 70.12%, 0.00% 29.88%, 0.31% 27.59%, 1.24% 25.60%, 2.78% 23.92%, 4.94% 22.53%);
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; overflow-x: hidden; scroll-padding-top: calc(var(--masthead-h) + 16px); }
body {
  margin: 0;
  background: var(--white);
  color: var(--graphite);
  font: 400 var(--fs-body)/1.65 var(--body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--leaf); text-underline-offset: .2em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
h1, h2, h3 { margin: 0; font-family: var(--display); font-weight: 700; line-height: 1.05; letter-spacing: -.02em; text-wrap: balance; }
p { margin: 0 0 1em; text-wrap: pretty; }
ul { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--leaf); outline-offset: 3px; border-radius: 4px; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); }
.section--chalk { background: var(--chalk); }

.h2 { font-size: var(--fs-h2); }
.lede { font-size: var(--fs-lede); line-height: 1.55; }
.label { margin: 0 0 18px; font-family: var(--body); font-size: var(--fs-small); font-weight: 600; color: var(--leaf); }

.skip {
  position: fixed; top: 10px; left: 10px; z-index: 300;
  padding: 10px 16px; border-radius: var(--radius-s);
  background: var(--graphite); color: var(--white); text-decoration: none;
  transform: translateY(-160%);
}
.skip:focus-visible { transform: none; }

/* ---------- buttons ---------- */
.btn {
  --bg: var(--graphite); --fg: var(--white);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 46px; padding: 0 22px;
  border: 1.5px solid var(--bg); border-radius: 999px;
  background: var(--bg); color: var(--fg);
  font: 600 1rem/1 var(--body); text-decoration: none; white-space: nowrap;
  cursor: pointer;
  transition: transform 160ms var(--ease-out), background-color 200ms var(--ease-out), border-color 200ms var(--ease-out), color 200ms var(--ease-out);
}
.btn:active { transform: scale(.97); }
.btn--lg { min-height: 54px; padding: 0 28px; font-size: 1.0625rem; }
.btn--ink { --bg: var(--graphite); --fg: var(--white); }
.btn--lime { --bg: var(--lime); --fg: var(--graphite); }
.btn--quiet { --bg: transparent; --fg: var(--graphite); border-color: var(--line); }
@media (hover: hover) and (pointer: fine) {
  .btn--ink:hover { --bg: #000; }
  .btn--lime:hover { --bg: #B5EA22; }
  .btn--quiet:hover { border-color: var(--graphite); }
}
.btn:focus-visible { outline-offset: 4px; }

/* ---------- concept notice ---------- */
.concept { background: var(--haze); color: var(--graphite); font-size: .8125rem; }
.concept p { margin: 0; padding: 8px var(--gutter); text-align: center; line-height: 1.45; }
.concept a { color: inherit; font-weight: 600; }

/* ---------- masthead ---------- */
.masthead {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .92);
  -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 240ms var(--ease-out);
}
.masthead.is-scrolled { border-bottom-color: var(--line); }
.masthead__inner { display: flex; align-items: center; gap: 32px; height: var(--masthead-h); }
.masthead__logo { flex: none; display: block; border-radius: 6px; }
.masthead__logo img { width: 148px; height: auto; }
.nav { margin-inline: auto; }
.nav ul { display: flex; gap: 6px; }
.nav a {
  position: relative; display: block; padding: 10px 14px;
  color: var(--graphite); font-weight: 500; text-decoration: none; border-radius: 999px;
  transition: background-color 180ms var(--ease-out);
}
.nav a[aria-current="page"]::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px;
  background: var(--graphite); border-radius: 2px;
}
@media (hover: hover) and (pointer: fine) { .nav a:hover { background: var(--chalk); } }
.masthead__actions { display: flex; align-items: center; gap: 18px; }
.masthead__phone { display: inline-flex; align-items: center; gap: 8px; color: var(--graphite); font-size: .9375rem; font-weight: 500; text-decoration: none; }
.masthead__phone svg { width: 18px; height: 18px; color: var(--slate); }
@media (hover: hover) and (pointer: fine) { .masthead__phone:hover span { text-decoration: underline; } }

.menu-toggle {
  display: none; width: 46px; height: 46px; padding: 0; border: 1.5px solid var(--line); border-radius: 50%;
  background: var(--white); cursor: pointer;
}
.menu-toggle__bars, .menu-toggle__bars::before, .menu-toggle__bars::after {
  display: block; width: 18px; height: 1.5px; margin: auto; background: var(--graphite); border-radius: 2px; content: "";
}
.menu-toggle__bars { position: relative; }
.menu-toggle__bars::before { position: absolute; top: -6px; }
.menu-toggle__bars::after { position: absolute; top: 6px; }

@media (max-width: 1100px) { .masthead__phone span { display: none; } }
@media (max-width: 900px) {
  .nav, .masthead__phone, .masthead__actions > .btn { display: none; }
  .menu-toggle { display: grid; place-items: center; }
  .masthead__actions { margin-left: auto; }
  :root { --masthead-h: 68px; }
  .masthead__logo img { width: 132px; }
}

/* ---------- full-screen menu ---------- */
.menu {
  position: fixed; inset: 0; z-index: 200;
  display: flex; flex-direction: column;
  background: var(--graphite); color: var(--on-dark);
  clip-path: inset(0 0 100% 0);
  visibility: hidden;
  transition: clip-path .55s cubic-bezier(.7, 0, .2, 1) .14s, visibility 0s linear .7s;
}
.menu.is-open { clip-path: inset(0); visibility: visible; transition: clip-path .7s cubic-bezier(.7, 0, .2, 1), visibility 0s; }
.menu__head { display: flex; align-items: center; justify-content: space-between; height: var(--masthead-h); }
.menu__head img { width: 132px; }
.menu__close { position: relative; width: 46px; height: 46px; border: 1.5px solid var(--line-dark); border-radius: 50%; background: none; cursor: pointer; }
.menu__close span::before, .menu__close span::after { content: ""; position: absolute; left: 13px; right: 13px; top: 21.5px; height: 1.5px; background: var(--on-dark); }
.menu__close span::before { transform: rotate(45deg); }
.menu__close span::after { transform: rotate(-45deg); }
.menu__nav { flex: 1; display: flex; align-items: center; }
.menu__nav ul { display: grid; gap: 4px; }
.menu__nav a {
  display: block; padding: 6px 0;
  color: var(--on-dark); font: 700 clamp(2.4rem, 11vw, 3.6rem)/1.05 var(--display); letter-spacing: -.02em; text-decoration: none;
}
.menu__nav a[aria-current="page"] { color: var(--lime); }
.menu__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; padding-bottom: 32px; }
.menu__foot a:not(.btn) { color: var(--on-dark-2); text-decoration: none; }
.menu__nav li, .menu__foot {
  opacity: 0; transform: translateY(26px);
  transition: opacity .2s, transform .2s;
}
.menu.is-open .menu__nav li, .menu.is-open .menu__foot {
  opacity: 1; transform: none;
  transition: opacity .5s cubic-bezier(.2, .8, .2, 1) calc(.3s + var(--i) * .06s), transform .75s cubic-bezier(.2, .8, .2, 1) calc(.3s + var(--i) * .06s);
}
.menu :focus-visible { outline-color: var(--lime); }

/* ---------- the open cell (hero + closing) ---------- */
.cell { position: relative; aspect-ratio: 733 / 860; }
.cell__img {
  width: 100%; height: 100%; object-fit: cover;
  clip-path: var(--cell-open);
}
.cell__cursor { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; fill: var(--cursor); }
/* armed (JS, before the intro): closed cell, cursor waiting outside the gap */
.js .cell.is-armed .cell__img { clip-path: var(--cell-closed); }
.js .cell.is-armed .cell__cursor { opacity: 0; transform: translate(-9%, 7%); }
/* transitions live on the revealed state, so arming never animates backwards */
.js .cell.is-open .cell__img { clip-path: var(--cell-open); transition: clip-path 900ms var(--ease-in-out); }
.js .cell.is-open .cell__cursor { opacity: 1; transform: none; transition: opacity 300ms var(--ease-out) 380ms, transform 900ms var(--ease-out) 380ms; }

/* ---------- hero ---------- */
.hero { padding-block: clamp(36px, 6vw, 88px) clamp(56px, 7vw, 104px); overflow: clip; }
.hero__inner { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.hero__title { font-size: var(--fs-display); font-weight: 800; line-height: .96; letter-spacing: -.035em; text-wrap: initial; }
.hero__title .line { display: block; overflow: clip; padding-bottom: .14em; margin-bottom: -.14em; }   /* the clip has to clear the descenders (g, y, p): ink reaches 1.08em below the line top at this leading */
.hero__title .line > span { display: inline-block; }
.hero__lede { max-width: 34ch; margin: clamp(22px, 2.5vw, 32px) 0 0; font-size: var(--fs-lede); line-height: 1.5; color: var(--slate); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero__visual { position: relative; }
.cell--hero { width: min(100%, 540px); margin-left: auto; }

.proof {
  display: inline-flex; align-items: center; gap: 16px; max-width: 470px; margin-top: clamp(36px, 4vw, 56px);
  padding: 10px 18px 10px 10px; border: 1px solid var(--line); border-radius: var(--radius);
  color: var(--graphite); text-decoration: none; background: var(--white);
  transition: border-color 200ms var(--ease-out);
}
.proof__img { flex: none; width: 84px; height: 64px; object-fit: cover; border-radius: 8px; }
.proof__text { display: grid; gap: 4px; }
.proof__kicker { font-size: .8125rem; color: var(--slate); }
.proof__title { font-size: .9375rem; font-weight: 600; line-height: 1.35; }
@media (hover: hover) and (pointer: fine) { .proof:hover { border-color: var(--graphite); } }

/* hero intro (JS): lines rise once the loader lifts */
.js .hero.is-armed .hero__title .line > span { transform: translateY(115%); }   /* far enough that letter tops stay below the taller clip */
.js .hero.is-armed :is(.hero__lede, .hero__actions, .proof) { opacity: 0; transform: translateY(14px); }
.js .hero.is-in .hero__title .line > span { transform: none; transition: transform 1s var(--ease-out) calc(var(--d, 0) * 1ms); }
.js .hero.is-in :is(.hero__lede, .hero__actions, .proof) { opacity: 1; transform: none; transition: opacity .7s var(--ease-out) calc(var(--d, 0) * 1ms), transform .9s var(--ease-out) calc(var(--d, 0) * 1ms); }

@media (max-width: 960px) {
  /* the message first, then the cell, which steps to the right like the comb offset */
  .hero__inner {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0 32px;
    grid-template-areas: "title title" "lede lede" "actions actions" "proof visual";
  }
  .hero__copy { display: contents; }
  .hero__title { grid-area: title; }
  .hero__lede { grid-area: lede; }
  .hero__actions { grid-area: actions; }
  .hero__visual { grid-area: visual; margin-top: 48px; }
  .proof { grid-area: proof; align-self: end; margin-top: 0; }
  .cell--hero { width: 100%; max-width: 400px; margin: 0 0 0 auto; }
}
@media (max-width: 600px) {
  .hero__inner { grid-template-columns: minmax(0, 1fr); grid-template-areas: "title" "lede" "actions" "visual" "proof"; }
  .hero__visual { margin-top: 40px; }
  .cell--hero { width: 74%; }
  .proof { margin-top: 32px; }
}

/* ---------- recognition row ---------- */
.marks { border-block: 1px solid var(--line); }
.marks__list {
  display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); align-items: center; justify-items: center;
  gap: 28px; padding-block: 30px;
}
.marks__list img { height: var(--h); width: auto; max-width: 100%; opacity: .7; }
@media (max-width: 1100px) { .marks__list { grid-template-columns: repeat(4, minmax(0, 1fr)); row-gap: 34px; } }
@media (max-width: 560px) {
  .marks__list { display: flex; flex-wrap: wrap; justify-content: center; gap: 26px 34px; padding-block: 28px; }
  .marks__list li { flex: 0 0 calc((100% - 68px) / 3); display: grid; place-items: center; }
  .marks__list img { height: calc(var(--h) * .9); }
}

/* ---------- workplace (dark band) ---------- */
.workplace { position: relative; isolation: isolate; overflow: hidden; background: var(--graphite); color: var(--on-dark); padding-block: var(--section); }
.workplace__bg {
  position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; object-fit: cover; object-position: 70% 50%;
  opacity: .34;
  -webkit-mask-image: linear-gradient(90deg, transparent 18%, #000 75%); mask-image: linear-gradient(90deg, transparent 18%, #000 75%);
}
.workplace .label { color: var(--lime); }
.workplace__head { max-width: 640px; }
.workplace__head .lede { margin-top: 22px; color: var(--on-dark-2); }
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: clamp(56px, 7vw, 96px) 0 0; border-top: 1px solid var(--line-dark); }
.facts__item { padding: 28px 24px 0 0; display: flex; flex-direction: column; }
.facts__item + .facts__item { padding-left: 24px; border-left: 1px solid var(--line-dark); }
.facts dt { order: 2; margin-top: 10px; color: var(--on-dark-2); font-size: .9375rem; }
.facts dd { margin: 0; order: 1; font: 700 clamp(3rem, 2rem + 3vw, 4.75rem)/1 var(--display); letter-spacing: -.04em; }
.facts .plus { color: var(--lime); margin-left: .04em; }
.facts .facts__note { order: 3; margin-top: 14px; font: 400 var(--fs-small)/1.6 var(--body); letter-spacing: 0; color: var(--on-dark-2); }
@media (max-width: 760px) {
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .facts__item { padding: 24px 16px 24px 0; }
  .facts__item + .facts__item { padding-left: 0; border-left: 0; }
  .facts__item:nth-child(even) { padding-left: 20px; border-left: 1px solid var(--line-dark); }
  .facts__item:nth-child(n+3) { border-top: 1px solid var(--line-dark); }
  .workplace__bg { -webkit-mask-image: linear-gradient(180deg, #000, transparent 70%); mask-image: linear-gradient(180deg, #000, transparent 70%); opacity: .28; }
}

/* ---------- build your career ---------- */
.career__grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(40px, 7vw, 120px); align-items: start; }
.career__copy .h2 { margin-bottom: 32px; }
.career__copy p { max-width: 60ch; color: #3A3E39; }
.career__copy .btn { margin-top: 12px; }
/* two real office photos, overlapping on a diagonal like neighbouring cells */
.career__photos { position: relative; margin: 0; display: grid; grid-template-columns: repeat(10, minmax(0, 1fr)); grid-template-rows: auto auto; padding-top: 8px; }
.career__photo { width: 100%; aspect-ratio: 14 / 15; object-fit: cover; border-radius: var(--radius); background: var(--mist); }
.career__photo--a { grid-column: 1 / span 6; grid-row: 1; }
.career__photo--b { grid-column: 5 / span 6; grid-row: 1; margin-top: 46%; box-shadow: 0 0 0 10px var(--white); }
.career__photos figcaption { grid-column: 1 / span 4; grid-row: 1; align-self: end; padding-right: 16px; font-size: var(--fs-small); line-height: 1.5; color: var(--slate); }
.pillars {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0;
  margin-top: clamp(64px, 8vw, 112px);
}
.pillar { padding: 28px 28px 0 0; border-top: 1px solid var(--line); }
.pillar + .pillar { padding-left: 28px; border-left: 1px solid var(--line); }
.pillar__icon { width: 48px; height: 48px; margin-bottom: 22px; }
.pillar h3 { font-size: var(--fs-h3); margin-bottom: 10px; }
.pillar p { margin: 0; color: var(--slate); }
@media (max-width: 960px) {
  .career__grid { grid-template-columns: minmax(0, 1fr); }
  .pillars { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pillar { padding: 26px 20px 28px 0; }
  .pillar + .pillar { padding-left: 0; border-left: 0; }
  .pillar:nth-child(even) { padding-left: 20px; border-left: 1px solid var(--line); }
}
@media (max-width: 520px) {
  .pillars { grid-template-columns: minmax(0, 1fr); }
  .pillar:nth-child(even) { padding-left: 0; border-left: 0; }
}
@media (max-width: 960px) { .career__photos { max-width: 560px; } }

/* ---------- section heads ---------- */
.section-head { display: grid; gap: 18px; max-width: 760px; margin-bottom: clamp(44px, 5vw, 72px); }
.section-head p { margin: 0; font-size: var(--fs-lede); line-height: 1.55; color: var(--slate); }
.section-head--split { max-width: none; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(24px, 6vw, 100px); align-items: end; }
@media (max-width: 860px) { .section-head--split { grid-template-columns: minmax(0, 1fr); } }

/* ---------- verticals: the comb ---------- */
.comb-wrap { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.comb {
  container-type: inline-size;              /* cells measure against the comb, not themselves */
  position: relative; width: 100%;
  aspect-ratio: 100 / 86;                   /* 3 rows: h + 2 * .75h, h = w * 471/401 */
}
.comb__cell, .comb__cursor {
  --g: clamp(6px, 1.6cqw, 12px);            /* gap between cells */
  --w: calc((100cqw - 2 * var(--g)) / 3.5); /* cell width */
}
.comb__cell {
  /* odd rows (--o: 1) sit half a cell to the right: the comb offset */
  --x: calc(var(--c) * (var(--w) + var(--g)) + var(--o, 0) * (var(--w) + var(--g)) * .5);
  position: absolute; left: 0; top: 0;
  width: var(--w); height: calc(var(--w) * 1.1733); overflow: hidden;
  transform: translate(var(--x), calc(var(--r) * (var(--w) * 1.1733 * .75 + var(--g) * .87)));
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
  /* content sits high, clear of the door that opens at the lower left */
  padding: calc(var(--w) * .1) calc(var(--w) * .1) calc(var(--w) * .34);
  border: 0; background: var(--cell-bg, var(--white)); color: var(--graphite);   /* --cell-bg: a section can retint the resting cells */
  clip-path: var(--cell-closed);
  font: 600 clamp(.75rem, .55rem + .45vw, .9375rem)/1.2 var(--body); text-align: center;
  cursor: pointer;
  transition: background-color 260ms var(--ease-out), color 260ms var(--ease-out);
}
.comb__cell img { width: 38%; aspect-ratio: 1; }
.comb__cell .ic-light { display: none; }
.comb__cell[aria-selected="true"] .ic-dark { display: none; }
.comb__cell[aria-selected="true"] .ic-light { display: block; }
.comb__cell span { max-width: 11ch; }
.comb__cell[aria-selected="true"] {
  background: var(--graphite); color: var(--white);
  clip-path: var(--cell-open);
  transition: background-color 260ms var(--ease-out), color 260ms var(--ease-out), clip-path 520ms var(--ease-in-out);
}
/* clip-path hides outlines, so focus shows inside the cell: a tint plus an underlined name */
.comb__cell:focus-visible { outline: none; background: #E4E9DD; }
.comb__cell:focus-visible span { text-decoration: underline 2px; text-underline-offset: 5px; }
.comb__cell[aria-selected="true"]:focus-visible { background: #000; }
.comb__cell[aria-selected="true"]:focus-visible span { color: var(--lime); }
@media (max-width: 900px) { .comb__cell:focus-visible img { outline: 2px solid var(--leaf); outline-offset: 6px; border-radius: 4px; } .comb__cell[aria-selected="true"]:focus-visible img { outline-color: var(--lime); } }
@media (hover: hover) and (pointer: fine) { .comb__cell[aria-selected="false"]:hover { background: #E4E9DD; } }
.comb__cursor {
  position: absolute; left: 0; top: 0; width: var(--w); height: calc(var(--w) * 1.1733);
  fill: var(--lime); overflow: visible; pointer-events: none;
  transform: translate(var(--cx, 0), var(--cy, 0));
  transition: transform 520ms var(--ease-in-out);
}
.comb__panels { position: relative; }
.vpanel__icon { width: 64px; height: 64px; margin-bottom: 26px; }
.vpanel h3 { font-size: clamp(1.75rem, 1.3rem + 1.2vw, 2.4rem); margin-bottom: 16px; }
.vpanel p { max-width: 46ch; font-size: var(--fs-lede); line-height: 1.55; color: #3A3E39; }
.comb__cta { margin-top: 18px; }
/* without JS: no comb, the panels are a list */
html:not(.js) .comb { display: none; }
html:not(.js) .comb-wrap { grid-template-columns: minmax(0, 1fr); }
html:not(.js) .vpanel { padding-block: 24px; border-top: 1px solid var(--line); }
.js .vpanel[hidden] { display: none; }
.js .vpanel.is-entering { animation: panel-in 300ms var(--ease-out); }
@keyframes panel-in { from { opacity: .2; filter: blur(2px); transform: translateY(6px); } }
@media (max-width: 700px) {
  .comb-wrap { grid-template-columns: minmax(0, 1fr); }
  .comb { max-width: 520px; }
}
@media (max-width: 900px) {
  .comb-wrap { gap: 36px; }
  .comb__cell span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .comb__cell img { width: 46%; }
  .comb__panels { min-height: 300px; }
}

/* ---------- people ---------- */
.people__list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); }
.person__photo { aspect-ratio: 4 / 4.4; overflow: hidden; border-radius: var(--radius); background: var(--mist); }
.person__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; }
.person__name { margin-top: 20px; font-size: var(--fs-h3); }
.person__role { margin: 6px 0 0; color: var(--slate); font-size: .9375rem; }
.person__bio { margin-top: 12px; }
.person__bio summary {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 0;
  color: var(--leaf); font-weight: 600; font-size: .9375rem; cursor: pointer; list-style: none;
}
.person__bio summary::-webkit-details-marker { display: none; }
.person__bio summary::after {
  content: ""; width: 8px; height: 8px; border: solid currentColor; border-width: 0 1.5px 1.5px 0;
  transform: translateY(-2px) rotate(45deg); transition: transform 240ms var(--ease-out);
}
.person__bio[open] summary::after { transform: translateY(2px) rotate(-135deg); }
.person__bio p { margin: 8px 0 0; color: #3A3E39; font-size: .9875rem; }
@media (max-width: 1000px) { .people__list { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 44px; } }
@media (max-width: 520px) {
  .people__list { column-gap: 14px; row-gap: 36px; }
  .person__name { margin-top: 14px; font-size: 1.125rem; }
  .person__role { font-size: .875rem; }
}

/* ---------- programs ---------- */
.programs__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px); }
.program { display: flex; flex-direction: column; }
.program__img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius); background: var(--mist); }
.program__icon { width: 40px; height: 40px; margin: 26px 0 16px; }
.program h3 { font-size: var(--fs-h3); margin-bottom: 12px; }
.program p { margin: 0; color: #3A3E39; }
.programs__cta { margin-top: clamp(40px, 5vw, 64px); }
@media (max-width: 960px) { .programs__list { grid-template-columns: minmax(0, 1fr); gap: 52px; } .program { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); column-gap: 28px; } .program__img { grid-row: 1 / span 3; } .program__icon { margin-top: 0; } }
@media (max-width: 640px) { .program { display: flex; } }

/* ---------- news ---------- */
.news__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); grid-template-rows: auto auto; gap: clamp(28px, 3vw, 44px) clamp(28px, 4vw, 56px); }
.story--lead { grid-row: 1 / span 2; }
.story__link { display: block; color: var(--graphite); text-decoration: none; }
.story__img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius); background: var(--mist); transition: transform 700ms var(--ease-out); }
.story:not(.story--lead) .story__img { aspect-ratio: 2.4 / 1; }
.story__meta { margin: 18px 0 8px; color: var(--slate); font-size: var(--fs-small); }
.story__meta time::before { content: ""; display: inline-block; width: 3px; height: 3px; margin: 0 10px 3px; border-radius: 50%; background: currentColor; vertical-align: middle; }
.story__title { font-size: 1.3rem; line-height: 1.2; letter-spacing: -.01em; }
.story--lead .story__title { font-size: clamp(1.6rem, 1.2rem + 1.2vw, 2.2rem); }
.story__excerpt { margin: 14px 0 0; color: #3A3E39; max-width: 58ch; }
.story__more { display: inline-block; margin-top: 14px; color: var(--leaf); font-weight: 600; font-size: .9375rem; }
.story__link:hover .story__more { text-decoration: underline; }
.story__link { border-radius: var(--radius); }
.story__link .story__img-wrap { overflow: hidden; }
@media (max-width: 860px) { .news__grid { grid-template-columns: minmax(0, 1fr); } .story--lead { grid-row: auto; } }

/* ---------- FAQ ---------- */
.faq__grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(40px, 6vw, 100px); }
.faq__head p { margin-top: 20px; color: var(--slate); font-size: var(--fs-lede); line-height: 1.55; }
.faq__head { position: sticky; top: calc(var(--masthead-h) + 32px); align-self: start; }
.faq__groups { display: grid; gap: 48px; }
.faq__label { margin-bottom: 8px; font: 600 var(--fs-small)/1.4 var(--body); letter-spacing: 0; color: var(--leaf); }
.qa { border-bottom: 1px solid var(--line); }
.qa summary {
  position: relative; display: block; padding: 22px 48px 22px 0;
  font: 600 1.125rem/1.4 var(--display); letter-spacing: -.005em; cursor: pointer; list-style: none;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary::before, .qa summary::after {
  content: ""; position: absolute; right: 8px; top: 50%; width: 14px; height: 1.5px; background: var(--graphite); border-radius: 2px;
  transition: transform 300ms var(--ease-in-out);
}
.qa summary::after { transform: rotate(90deg); }
.qa[open] summary::after { transform: rotate(0deg); }
.qa__body { overflow: hidden; }
.qa__body p { margin: 0; padding: 0 48px 24px 0; color: #3A3E39; }
@media (max-width: 860px) { .faq__grid { grid-template-columns: minmax(0, 1fr); } .faq__head { position: static; } }

/* ---------- closing ---------- */
.closing__grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(40px, 6vw, 100px); align-items: center; }
.closing__title { font-size: clamp(2.6rem, 1.4rem + 4vw, 5rem); font-weight: 800; letter-spacing: -.035em; }
.closing .lede { max-width: 40ch; margin: 26px 0 34px; color: var(--slate); }
.cell--closing { width: min(100%, 480px); margin-left: auto; }
@media (max-width: 860px) {
  .closing__grid { grid-template-columns: minmax(0, 1fr); }
  .cell--closing { width: min(78%, 360px); margin: 8px auto 0 0; }
}

/* ---------- footer ---------- */
.footer { background: var(--graphite); color: var(--on-dark-2); padding-block: clamp(64px, 8vw, 104px) 40px; font-size: .9375rem; }
.footer a { color: var(--on-dark); text-decoration: none; }
.footer a:hover { text-decoration: underline; }
.footer :focus-visible { outline-color: var(--lime); }
.footer__top { display: grid; grid-template-columns: minmax(0, 4fr) repeat(4, minmax(0, 1.4fr)); gap: 40px; }
.footer__brand img { width: 164px; margin-bottom: 24px; }
.footer__brand p { max-width: 40ch; margin: 0; }
.footer__col h2 { margin-bottom: 16px; font: 600 var(--fs-small)/1.4 var(--body); letter-spacing: 0; color: var(--lime); }
.footer__col ul { display: grid; gap: 10px; color: var(--on-dark); }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; margin-top: 64px; padding-top: 24px; border-top: 1px solid var(--line-dark); }
.footer__bottom p { margin: 0; }
.footer__cookie { padding: 0; border: 0; background: none; color: var(--on-dark); cursor: pointer; text-decoration: underline; text-underline-offset: .2em; }
.footer__concept { margin: 20px 0 0; max-width: 90ch; font-size: .8125rem; line-height: 1.6; }
.footer__concept a { text-decoration: underline; }
@media (max-width: 960px) { .footer__top { grid-template-columns: repeat(2, minmax(0, 1fr)); } .footer__brand { grid-column: 1 / -1; } }

/* ---------- loader ---------- */
.loader { display: none; }
.js .loader {
  position: fixed; inset: 0; z-index: 400;
  display: grid; place-items: center;
  background: var(--white);
}
.loader__stage { display: grid; justify-items: center; gap: 22px; }
.loader__mark { width: min(300px, 72vw); height: auto; overflow: visible; }
.loader__draw { stroke-dasharray: 1; stroke-dashoffset: 1; }
.loader__cursor { opacity: 0; transform-box: fill-box; transform-origin: 95% 5%; }
.loader__pulse { opacity: 0; transform-box: fill-box; transform-origin: center; }
.loader__edge { position: absolute; left: 0; right: 0; top: 100%; width: 100%; height: 8vh; fill: var(--white); }
.loader.is-done { display: none; }

/* ---------- reduced motion: gentler, not zero ---------- */
@media (prefers-reduced-motion: reduce) {
  .js .cell.is-armed .cell__cursor { transform: none; }
  .js .cell.is-open .cell__img { transition: none; }
  .js .hero.is-armed .hero__title .line > span { transform: none; opacity: 0; }
  .js .hero.is-in .hero__title .line > span { opacity: 1; transition: opacity .6s ease; }
  .js .hero.is-armed :is(.hero__lede, .hero__actions, .proof) { transform: none; }
  .comb__cell, .comb__cursor, .menu, .menu__nav li, .menu__foot { transition-duration: .01ms !important; }
  .js .vpanel.is-entering { animation: none; }
}

/* ==========================================================================
   INNER PAGES
   ========================================================================== */

/* ---------- page hero (careers, about, contact) ---------- */
.phero { padding-top: clamp(40px, 6vw, 96px); }
.phero__inner { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(28px, 6vw, 100px); align-items: end; }
.phero__title { font-size: clamp(2.7rem, 1.4rem + 4.6vw, 5.6rem); font-weight: 800; line-height: .98; letter-spacing: -.035em; }
.phero__lede { margin: 26px 0 0; font-size: var(--fs-lede); color: var(--slate); }
.phero__aside p { margin: 0; font-size: var(--fs-lede); line-height: 1.55; color: #3A3E39; }
.phero__photo { margin: clamp(48px, 6vw, 88px) auto 0; }
.phero__photo img { width: 100%; aspect-ratio: 21 / 8; object-fit: cover; object-position: 50% 40%; border-radius: var(--radius); }
.jumpcount {
  display: inline-flex; align-items: baseline; gap: 12px; margin-top: 28px; padding: 12px 20px 12px 16px;
  border: 1px solid var(--line); border-radius: 999px; color: var(--graphite); text-decoration: none; font-weight: 500;
  transition: border-color 200ms var(--ease-out);
}
.jumpcount__n { font: 800 1.5rem/1 var(--display); }
@media (hover: hover) and (pointer: fine) { .jumpcount:hover { border-color: var(--graphite); } }
@media (max-width: 860px) {
  .phero__inner { grid-template-columns: minmax(0, 1fr); align-items: start; }
  .phero__photo img { aspect-ratio: 4 / 3; }
}

/* ---------- where are you now: three paths, the cursor marks each stop ---------- */
.paths__sub { margin: 14px 0 0; font-size: var(--fs-lede); color: var(--slate); }
.paths__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 48px); counter-reset: none; }
.path { position: relative; padding-top: 40px; border-top: 1.5px solid var(--graphite); display: flex; flex-direction: column; }
.path__icon { width: 48px; height: 48px; margin-bottom: 22px; }
.path h3 { font-size: var(--fs-h3); margin-bottom: 12px; }
.path p { color: #3A3E39; flex: 1; }
.path__link { align-self: flex-start; margin-top: 8px; font-weight: 600; }
@media (max-width: 860px) { .paths__list { grid-template-columns: minmax(0, 1fr); gap: 48px; } }

/* ---------- jobs board ---------- */
.jobs__head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 28px; }
.jobs__search { position: relative; flex: 0 1 360px; }
.jobs__search svg { position: absolute; left: 16px; top: 50%; width: 20px; height: 20px; transform: translateY(-50%); color: var(--slate); pointer-events: none; }
.jobs__search input {
  width: 100%; height: 52px; padding: 0 18px 0 46px; border: 1.5px solid var(--line); border-radius: 999px;
  background: var(--white); color: var(--graphite); font: 500 1rem var(--body);
  transition: border-color 200ms var(--ease-out);
}
.jobs__search input:focus { outline: none; border-color: var(--graphite); }
.jobs__search input:focus-visible { box-shadow: 0 0 0 3px rgba(46, 116, 38, .35); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 16px;
  border: 1.5px solid var(--line); border-radius: 999px; background: var(--white); color: var(--graphite);
  font: 500 .9375rem/1 var(--body); cursor: pointer;
  transition: background-color 180ms var(--ease-out), border-color 180ms var(--ease-out), color 180ms var(--ease-out), transform 160ms var(--ease-out);
}
.chip span { color: var(--slate); font-size: .8125rem; font-variant-numeric: tabular-nums; }
.chip:active { transform: scale(.97); }
.chip[aria-pressed="true"] { background: var(--graphite); border-color: var(--graphite); color: var(--white); }
.chip[aria-pressed="true"] span { color: var(--lime); }
@media (hover: hover) and (pointer: fine) { .chip[aria-pressed="false"]:hover { border-color: var(--graphite); } }
.jobs__status { margin: 26px 0 10px; font-size: var(--fs-small); color: var(--slate); }
.joblist { border-top: 1px solid var(--line); }
.job { border-bottom: 1px solid var(--line); }
.job[hidden] { display: none; }
.job__link {
  display: grid; grid-template-columns: minmax(0, 3.2fr) minmax(0, 1.7fr) minmax(0, 1.5fr) minmax(0, 1.8fr) minmax(0, 1.5fr) 28px;
  align-items: center; gap: 20px; padding: 22px 8px 22px 4px;
  color: var(--graphite); text-decoration: none; border-radius: 6px;
  transition: background-color 180ms var(--ease-out);
}
.job__title { font: 600 1.1875rem/1.3 var(--display); letter-spacing: -.01em; }
.job__dept, .job__level, .job__where, .job__hours { font-size: .9375rem; color: #3A3E39; }
.job__dept { color: var(--leaf); font-weight: 600; }
.job__go { justify-self: end; width: 10px; height: 10px; margin-right: 6px; border: solid var(--graphite); border-width: 1.75px 1.75px 0 0; transform: rotate(45deg); opacity: .35; transition: opacity 200ms var(--ease-out), transform 260ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .job__link:hover { background: var(--white); }
  .job__link:hover .job__go { opacity: 1; transform: translateX(3px) rotate(45deg); }
}
.jobs__empty { padding: 32px 0; color: var(--slate); }
.linklike { padding: 0; border: 0; background: none; color: var(--leaf); font: inherit; font-weight: 600; text-decoration: underline; cursor: pointer; }
@media (max-width: 960px) {
  .job__link { position: relative; display: flex; flex-wrap: wrap; gap: 4px 14px; padding: 20px 44px 20px 4px; }
  .job__title { flex: 1 0 100%; margin-bottom: 4px; }
  .job__dept, .job__level, .job__where, .job__hours { font-size: .875rem; }
  .job__go { position: absolute; right: 12px; top: 50%; margin-top: -5px; }
}

/* ---------- life at HexaClicks (dark band) ---------- */
.life { position: relative; isolation: isolate; overflow: hidden; background: var(--graphite); color: var(--on-dark); padding-block: var(--section); }
.life__bg { object-position: 30% 60%; -webkit-mask-image: linear-gradient(270deg, transparent 10%, #000 80%); mask-image: linear-gradient(270deg, transparent 10%, #000 80%); }
.life .label { color: var(--lime); }
.life__inner { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(40px, 6vw, 100px); align-items: start; }
.life__head .lede { margin-top: 20px; color: var(--on-dark-2); }
.life__list { display: grid; }
.life__list li {
  display: flex; align-items: center; gap: 22px; padding: 22px 0; border-bottom: 1px solid var(--line-dark);
  font: 700 clamp(1.5rem, 1rem + 1.6vw, 2.4rem)/1.1 var(--display); letter-spacing: -.02em;
}
.life__list li:first-child { border-top: 1px solid var(--line-dark); }
.life__list svg { flex: none; width: 18px; height: 22px; color: var(--lime); transform: scaleX(-1); } /* mirrored: reads as a pointer */
@media (max-width: 860px) { .life__inner { grid-template-columns: minmax(0, 1fr); } }

/* ---------- job page ---------- */
.btn--block { display: flex; width: 100%; }
.role__head { padding-top: clamp(32px, 5vw, 72px); }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 28px; padding: 0; list-style: none; font-size: var(--fs-small); color: var(--slate); }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: var(--line); }
.crumbs a { color: var(--slate); }
.role__title { font-size: clamp(2.6rem, 1.6rem + 3.6vw, 4.8rem); font-weight: 800; letter-spacing: -.035em; }
.role__lede { max-width: 46ch; margin: 20px 0 0; font-size: var(--fs-lede); color: var(--slate); }
.role__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(40px, 6vw, 96px); margin-top: clamp(40px, 5vw, 72px); align-items: start; }
.role__body section + section { margin-top: 48px; padding-top: 40px; border-top: 1px solid var(--line); }
.role__body h2 { font-size: 1.6rem; margin-bottom: 18px; }
.role__body p { max-width: 64ch; color: #3A3E39; }
.ticks { display: grid; gap: 12px; }
.ticks li { position: relative; padding-left: 30px; color: #3A3E39; max-width: 64ch; }
.ticks li::before {
  content: ""; position: absolute; left: 2px; top: .45em; width: 11px; height: 13px; background: var(--leaf);
  /* the logo cursor, mirrored so it reads as a pointer */
  clip-path: polygon(0 0, 100% 65%, 48% 70%, 14% 100%, 0 95%);
}
.role__aside { position: sticky; top: calc(var(--masthead-h) + 24px); }
.role__card { padding: 28px; border-radius: var(--radius); background: var(--chalk); }
.role__facts { display: grid; gap: 20px; margin: 0 0 26px; }
.role__facts dt { font-size: var(--fs-small); font-weight: 600; color: var(--leaf); }
.role__facts dd { margin: 4px 0 0; font-weight: 500; line-height: 1.5; }
.role__note { margin: 16px 0 0; font-size: var(--fs-small); color: var(--slate); line-height: 1.55; }
.role__more { padding-block: var(--section); }
.role__more h2 { font-size: 1.6rem; margin-bottom: 20px; }
.role__all { display: inline-block; margin-top: 24px; font-weight: 600; }
.applybar { display: none; }
@media (max-width: 900px) {
  .role__grid { grid-template-columns: minmax(0, 1fr); }
  .role__aside { position: static; order: -1; }
  .applybar {
    display: block; position: sticky; bottom: 0; z-index: 50; padding: 12px var(--gutter) calc(12px + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, .94); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-top: 1px solid var(--line);
  }
}

/* ==========================================================================
   COOKIE CONSENT
   Asks once, after the loader lifts. Reject sits beside Accept with the same weight;
   Cookie settings in the footer reopens it with the choices already open.
   ========================================================================== */
.consent {
  position: fixed;
  /* bottom right: over the hero photo rather than the quick form (was left: clamp(16px, 2.5vw, 32px)) */
  right: clamp(16px, 2.5vw, 32px);
  bottom: clamp(16px, 2.5vw, 32px);
  z-index: 90; /* under the header (100), so the full-screen menu covers it */
  width: min(440px, calc(100vw - 32px));
  max-height: calc(100vh - 32px);
  max-height: calc(100dvh - 32px);
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 22px 24px 22px;
  border-radius: var(--radius);
  background: var(--white);
  color: var(--graphite);
  box-shadow: 0 0 0 1px rgba(28, 31, 28, .08), 0 28px 56px -24px rgba(28, 31, 28, .45);
  /* resting state; leaving returns here, so it exits the way it came in */
  opacity: 0;
  transform: translateY(16px) scale(.97);
  transform-origin: 100% 100%; /* rises out of its corner */
  transition: opacity 220ms var(--ease-out), transform 260ms var(--ease-out);
}
.consent[hidden] { display: none; }
.consent.is-open {
  opacity: 1;
  transform: none;
  transition: opacity 320ms var(--ease-out), transform 560ms var(--ease-drawer);
}
/* after a choice it fades out while sinking, unhurried, so it never feels snapped shut
   (it used to fall back to the resting state's 220/260ms and a 16px drop) */
.consent.is-leaving {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 440ms cubic-bezier(0.4, 0, 0.2, 1), transform 560ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* the content settles in just behind the card, a beat apart */
.consent__head,
.consent__text,
.consent__manage,
.consent__actions {
  opacity: 0;
  transform: translateY(8px);
}
.consent.is-open :is(.consent__head, .consent__text, .consent__manage, .consent__actions),
.consent.is-leaving :is(.consent__head, .consent__text, .consent__manage, .consent__actions) {
  opacity: 1;
  transform: none;
}
.consent.is-open :is(.consent__head, .consent__text, .consent__manage, .consent__actions) {
  transition:
    opacity 360ms var(--ease-out) calc(90ms + var(--i, 0) * 50ms),
    transform 480ms var(--ease-out) calc(90ms + var(--i, 0) * 50ms);
}

.consent__head { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
/* the HexaClicks mark settles in */
.consent__mark {
  flex: none;
  width: 18px;
  height: 21px;
  color: var(--cursor);
  opacity: 0;
  transform: scale(.6);
}
.consent.is-open .consent__mark,
.consent.is-leaving .consent__mark { opacity: 1; transform: none; }
.consent.is-open .consent__mark { transition: transform 720ms var(--ease-out) 150ms, opacity 280ms var(--ease-out) 150ms; }
.consent__title { font-family: var(--display); font-weight: 700; font-size: 1.3rem; letter-spacing: -.01em; line-height: 1.2; color: var(--graphite); }
.consent__title:focus { outline: none; } /* only ever focused by script, on reopen */
.consent__close {
  display: none;
  position: relative;
  flex: none;
  width: 36px;
  height: 36px;
  margin: -6px -10px -6px auto;
  border-radius: 50%;
  color: var(--slate);
  transition: background-color .2s, color .2s, transform 160ms var(--ease-out);
}
.consent.can-dismiss .consent__close { display: block; }
.consent__close:active { transform: scale(.92); }
.consent__close span,
.consent__close span::before {
  position: absolute;
  left: 11px;
  top: 17px;
  width: 14px;
  height: 1.5px;
  background: currentColor;
  transform: rotate(45deg);
}
.consent__close span::before { content: ""; left: 0; top: 0; transform: rotate(90deg); }

.consent__text { margin: 0; font-size: .9375rem; line-height: 1.55; color: #3A3E39; }

.consent__manage {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
  padding: 8px 0;
  font-size: .9375rem;
  font-weight: 500;
  color: var(--leaf);
  transition: color .2s;
}
.consent__manage svg { width: 12px; height: 12px; transition: transform 260ms var(--ease-in-out); }
.consent.is-expanded .consent__manage svg { transform: rotate(180deg); }

/* choices: the panel opens to its natural height, rows arrive one after another;
   closing is quicker and all together */
.consent__prefs { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 240ms var(--ease-in-out); }
.consent.is-expanded .consent__prefs { grid-template-rows: 1fr; transition-duration: 380ms; }
.consent__prefs-inner { min-height: 0; overflow: hidden; margin: 0 -4px; padding: 0 4px; }
.consent__row,
.consent__save {
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 140ms var(--ease-out), transform 140ms var(--ease-out);
}
.consent.is-expanded :is(.consent__row, .consent__save) {
  opacity: 1;
  transform: none;
  transition:
    opacity 300ms var(--ease-out) calc(70ms + var(--i, 0) * 40ms),
    transform 420ms var(--ease-out) calc(70ms + var(--i, 0) * 40ms);
}
.consent__row {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 4px 16px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
}
.consent__label { font-size: 1rem; font-weight: 500; color: var(--graphite); }
label.consent__label { cursor: pointer; }
.consent__row p { grid-column: 1 / -1; margin: 0; font-size: .875rem; line-height: 1.5; color: var(--slate); }
.consent__always { font-size: .875rem; font-weight: 500; color: var(--leaf); }
.consent__save { padding: 6px 0 4px; }

/* switch: the thumb slides across and stretches a little while pressed */
.consent__switch {
  -webkit-appearance: none;
  appearance: none;
  position: relative;
  flex: none;
  width: 44px;
  height: 26px;
  margin: 0;
  border-radius: 13px;
  background: #C9CEC4;
  cursor: pointer;
  transition: background-color 200ms var(--ease-out);
}
.consent__switch::before {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 20px;
  height: 20px;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 1px 3px rgba(28, 31, 28, .3);
  transition: transform 220ms var(--ease-out), width 160ms var(--ease-out);
}
.consent__switch:checked { background: var(--graphite); }
.consent__switch:checked::before { transform: translateX(18px); }
.consent__switch:active::before { width: 24px; }
.consent__switch:checked:active::before { transform: translateX(14px); }
.consent__switch:focus-visible { outline-offset: 2px; border-radius: 13px; }

.consent__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 14px; }
.consent__actions .btn { min-height: 46px; padding: 10px 14px; }

@media (hover: hover) and (pointer: fine) {
  .consent__manage:hover { color: var(--graphite); }
  .consent__close:hover { background: var(--mist); color: var(--graphite); }
}

/* phones: a sheet that comes up from the bottom edge and goes back down there */
@media (max-width: 600px) {
  .consent {
    left: 12px;
    right: 12px;
    bottom: max(12px, env(safe-area-inset-bottom));
    width: auto;
    max-height: calc(100vh - 24px);
    max-height: calc(100dvh - 24px);
    padding: 18px 20px 20px;
    transform: translateY(calc(100% + 24px));
    transform-origin: 50% 100%;
    transition: opacity 260ms var(--ease-out), transform 300ms var(--ease-out);
  }
  /* the sheet sinks back below the edge it came from, fading as it goes */
  .consent.is-leaving { transform: translateY(calc(100% + 24px)); }
  .consent__title { font-size: 1.25rem; }
}

/* reduced motion: gentler, not zero. Everything still fades; nothing travels */
@media (prefers-reduced-motion: reduce) {
  .consent,
  .consent :is(.consent__head, .consent__text, .consent__manage, .consent__actions, .consent__mark, .consent__row, .consent__save) { transform: none !important; }
  .consent__prefs,
  .consent.is-expanded .consent__prefs { transition: none; }
}
.consent__close, .consent__manage { border: 0; background: none; cursor: pointer; }
.consent .btn { font-size: .9375rem; }
.consent :focus-visible { outline-color: var(--leaf); }

/* ==========================================================================
   V2: layers, motion and new components
   Textures and backgrounds are ChatGPT photographs, graded and layered with blend modes:
   window light (hero, closing), limewash plaster (chalk sections), graphite (dark bands).
   ========================================================================== */

/* ---------- textures ---------- */
.section--plaster { position: relative; isolation: isolate; }
.section--plaster::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: url(../img/tex-plaster.jpg) repeat; background-size: 520px;
  mix-blend-mode: soft-light; opacity: .9;
}
.tex { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.tex--graphite { background: url(../img/tex-graphite.jpg) repeat; background-size: 600px; mix-blend-mode: soft-light; opacity: .7; }

/* ---------- header: steps aside while you read, returns when you scroll up ---------- */
.masthead { transition: border-color 240ms var(--ease-out), transform 420ms var(--ease-drawer); }
.masthead.is-tucked { transform: translateY(-100%); }

/* ---------- hero: afternoon window light ---------- */
.hero--v2 { position: relative; isolation: isolate; }
.light { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.light__still, .light__gl { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% 30%; mix-blend-mode: multiply; }
.light__still { opacity: .2; filter: sepia(.45) saturate(1.4); }
.light__gl { opacity: 0; transition: opacity 1.2s var(--ease-out); }
.light.is-gl .light__gl { opacity: 1; }
.light.is-gl .light__still { opacity: 0; transition: opacity 1.2s var(--ease-out); }
/* the text column keeps clean wall behind it */
.light::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #fff 18%, rgba(255, 255, 255, 0) 52%); }
@media (max-width: 960px) { .light::after { background: linear-gradient(180deg, rgba(255, 255, 255, .75), rgba(255, 255, 255, 0) 60%); } }

.hero__visual { position: relative; }
.cell__gl { position: absolute; inset: 0; width: 100%; height: 100%; clip-path: var(--cell-open); opacity: 0; pointer-events: none; }
.cell.is-resolving .cell__gl { opacity: 1; }
.cell.is-resolving .cell__img { opacity: 0; }
[data-tilt] { transition: transform 900ms var(--ease-out); will-change: transform; }

/* ---------- doodles: the lime marker notes from the team photos, drawn on ---------- */
.doodle { position: absolute; pointer-events: none; z-index: 2; }
.doodle__svg { display: block; width: 100%; height: auto; overflow: visible; }
.doodle__svg path { stroke-dasharray: 1; stroke-dashoffset: 0; }
.js.motion .doodle:not(.is-drawn) .doodle__svg path { stroke-dashoffset: 1; }
.doodle.is-drawn .doodle__svg path { transition: stroke-dashoffset 520ms cubic-bezier(.65, 0, .35, 1) calc(var(--i, 0) * 140ms); }
.doodle--hero { width: clamp(52px, 7vw, 92px); top: -2%; right: -6%; }
.doodle--bento { width: clamp(44px, 5vw, 70px); }
.doodle--closing { width: clamp(70px, 9vw, 120px); left: -22%; bottom: 14%; transform: rotate(-12deg); }
@media (max-width: 960px) { .doodle--hero { right: 4%; } .doodle--closing { left: auto; right: 2%; bottom: -6%; } }

/* ---------- recognition: one ink at rest, their own colours on hover ---------- */
.mk { position: relative; display: inline-block; height: var(--h); }
.mk img { height: 100%; width: auto; max-width: none; display: block; transition: opacity 320ms var(--ease-out); }
.marks__list .mk img { opacity: .72; }
.marks__list .mk .mk__c { position: absolute; inset: 0; opacity: 0; }
@media (hover: hover) and (pointer: fine) {
  .mk:hover img:first-child { opacity: 0; }
  .mk:hover .mk__c { opacity: 1; }
}
@media (max-width: 560px) { .mk { height: calc(var(--h) * .9); } }

/* ---------- workplace band: dusk, grain and the mark in metal ---------- */
.workplace--v2 .workplace__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 40px; align-items: center; }
.object { position: relative; margin: -40px 0 -60px; aspect-ratio: 1; }
.object__img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  -webkit-mask-image: radial-gradient(closest-side, #000 62%, transparent 100%); mask-image: radial-gradient(closest-side, #000 62%, transparent 100%);
}
@media (max-width: 860px) {
  .workplace--v2 .workplace__grid { grid-template-columns: minmax(0, 1fr); }
  .object { width: min(78%, 360px); margin: 0 auto -40px; order: -1; }
}
.num { display: inline-flex; overflow: hidden; padding-bottom: .04em; }
.num > span { display: inline-block; }

/* ---------- build your career: bento ---------- */
.bento { position: relative; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(14px, 1.6vw, 22px); }
.bento > * { min-width: 0; }
.bento__intro { grid-column: 1 / span 6; grid-row: 1 / span 2; padding-right: clamp(0px, 3vw, 48px); align-self: center; }
.bento__intro .h2 { margin-bottom: 28px; }
.bento__intro p { max-width: 58ch; color: #3A3E39; }
.bento__intro .btn { margin-top: 10px; }
.bento__photo { margin: 0; border-radius: var(--radius); overflow: hidden; background: var(--mist); position: relative; }
.bento__photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.bento__photo--a { grid-column: 7 / span 3; grid-row: 1 / span 2; }
.bento__photo--b { grid-column: 10 / span 3; grid-row: 1 / span 2; margin-top: 18%; }
.bento__photo figcaption {
  position: absolute; left: 12px; bottom: 12px; padding: 6px 10px; border-radius: 999px;
  background: rgba(28, 31, 28, .72); color: #fff; font-size: .8125rem; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.doodle--bento { right: 1%; top: -3%; }
.pcell {
  grid-column: span 3; display: flex; flex-direction: column; gap: 10px;
  padding: clamp(22px, 2.2vw, 30px); border-radius: var(--radius); background: var(--chalk); min-height: 230px;
}
.pcell .ic { width: 52px; height: 52px; margin-bottom: auto; }
.pcell h3 { font-size: var(--fs-h3); margin-top: 26px; }
.pcell p { margin: 0; color: var(--slate); }
.pcell--dark { position: relative; overflow: hidden; isolation: isolate; background: var(--graphite); color: var(--on-dark); }
.pcell--dark::before { content: ""; position: absolute; inset: 0; z-index: -1; background: url(../img/tex-graphite.jpg) repeat; background-size: 600px; mix-blend-mode: soft-light; opacity: .7; }
.pcell--dark p { color: var(--on-dark-2); }
.pcell--dark .ic-b { fill: var(--on-dark); }
@media (max-width: 1000px) {
  .bento__intro { grid-column: 1 / -1; grid-row: auto; padding: 0 0 12px; }
  .bento__photo--a { grid-column: 1 / span 6; grid-row: auto; aspect-ratio: 14 / 15; }
  .bento__photo--b { grid-column: 7 / span 6; grid-row: auto; aspect-ratio: 14 / 15; margin-top: 12%; }
  .pcell { grid-column: span 6; }
  .doodle--bento { top: auto; bottom: 46%; }
}
@media (max-width: 560px) { .pcell { grid-column: 1 / -1; min-height: 0; } .pcell h3 { margin-top: 18px; } }

/* ---------- icons: graphite drawing, lime accents that move ---------- */
.ic { display: block; width: 48px; height: 48px; overflow: visible; }
.ic-b { fill: var(--cursor); transition: fill 260ms var(--ease-out); }
.ic-a path { fill: var(--lime); transform-box: fill-box; transform-origin: 50% 50%; }
.ic--seo .ic-a path, .ic--client-success .ic-a path { transform-origin: 0% 50%; }
.ic--business-development .ic-a path, .ic--career-growth .ic-a path { transform-origin: 0% 100%; }
.ic--performance-marketing .ic-a path, .ic--innovation-first .ic-a path, .ic--career-opportunities .ic-a path { transform-origin: 8% 8%; }
.ic--internship .ic-a path { transform-origin: 50% 0%; }
/* armed: accents wait (only with JS and motion allowed) */
.js.motion [data-icon]:not(.is-played) .ic-a path, .js.motion .comb__cell:not(.is-played) .ic-a path { opacity: 0; }
.motion .is-played .ic-a path { animation: ic-pop 620ms var(--ease-out) both calc(140ms + var(--i, 0) * 110ms); }
.motion .is-played .ic--seo .ic-a path,
.motion .is-played .ic--client-success .ic-a path { animation-name: ic-grow-x; animation-duration: 700ms; }
.motion .is-played .ic--business-development .ic-a path,
.motion .is-played .ic--career-growth .ic-a path { animation-name: ic-grow; animation-duration: 700ms; }
.motion .is-played .ic--performance-marketing .ic-a path,
.motion .is-played .ic--innovation-first .ic-a path,
.motion .is-played .ic--career-opportunities .ic-a path { animation-name: ic-click; animation-duration: 760ms; }
.motion .is-played .ic--internship .ic-a path { animation-name: ic-swing; animation-duration: 900ms; }
.motion .is-played .ic--real-impact .ic-a path { animation-name: ic-live; animation-duration: 1400ms; }
@keyframes ic-pop { 0% { opacity: 0; transform: scale(.2); } 60% { opacity: 1; transform: scale(1.18); } 100% { opacity: 1; transform: none; } }
@keyframes ic-grow-x { 0% { opacity: 0; transform: scaleX(0); } 30% { opacity: 1; } 100% { opacity: 1; transform: none; } }
@keyframes ic-grow { 0% { opacity: 0; transform: scale(0); } 30% { opacity: 1; } 100% { opacity: 1; transform: none; } }
@keyframes ic-click { 0% { opacity: 0; transform: translate(45%, 45%); } 55% { opacity: 1; transform: none; } 70% { transform: scale(.8); } 100% { opacity: 1; transform: none; } }
@keyframes ic-swing { 0% { opacity: 0; transform: rotate(-30deg) scale(.6); } 50% { opacity: 1; transform: rotate(14deg); } 75% { transform: rotate(-6deg); } 100% { opacity: 1; transform: none; } }
@keyframes ic-live { 0% { opacity: 0; transform: scale(.2); } 30% { opacity: 1; transform: scale(1.2); } 45% { transform: none; } 70% { transform: scale(1.35); opacity: .55; } 100% { opacity: 1; transform: none; } }

/* comb + panel icons */
.comb__cell .ic { width: 38%; height: auto; aspect-ratio: 1; }
.comb__cell[aria-selected="true"] .ic-b { fill: #F2F4EF; }
.vpanel__icon .ic { width: 64px; height: 64px; margin-bottom: 26px; }
@media (max-width: 900px) { .comb__cell .ic { width: 46%; } }

/* ---------- people: expanding gallery ---------- */
.gallery { display: flex; gap: clamp(10px, 1.2vw, 16px); height: clamp(460px, 42vw, 580px); }
.gp {
  position: relative; flex: 1 1 0; min-width: 0; display: flex; border-radius: var(--radius); overflow: hidden;
  background: var(--mist); transition: flex-grow 720ms var(--ease-in-out), background-color 400ms var(--ease-out);
}
.gp.is-active { flex-grow: 2.7; background: var(--chalk); }
.gp__btn {
  position: relative; flex: none; width: 100%; max-width: 100%; display: block; padding: 0; border: 0; background: none;
  text-align: left; cursor: pointer; transition: max-width 720ms var(--ease-in-out);
}
.gp.is-active .gp__btn { max-width: 46%; cursor: default; }
.gp__photo { position: absolute; inset: 0; }
.gp__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; transition: transform 900ms var(--ease-out); }
.gp__id {
  position: absolute; left: 0; right: 0; bottom: 0; display: grid; gap: 4px; padding: 56px 20px 20px;
  background: linear-gradient(180deg, rgba(231, 234, 226, 0), rgba(231, 234, 226, .92) 46%);
}
.gp__name { font: 700 1.25rem/1.15 var(--display); letter-spacing: -.01em; color: var(--graphite); }
.gp__role { font-size: .875rem; color: var(--slate); }
.gp__bio {
  flex: 1; display: flex; align-items: flex-end; padding: 28px clamp(20px, 2.4vw, 36px);
  opacity: 0; transform: translateY(14px); visibility: hidden;
  transition: opacity 240ms var(--ease-out), transform 240ms var(--ease-out), visibility 0s linear 240ms;
}
.gp.is-active .gp__bio { opacity: 1; transform: none; visibility: visible; transition: opacity 500ms var(--ease-out) 380ms, transform 700ms var(--ease-out) 380ms, visibility 0s; }
.gp__bio p { margin: 0; max-width: 40ch; font-size: 1.0625rem; line-height: 1.6; color: #3A3E39; }
.gp__btn:focus-visible { outline-offset: -4px; }
@media (hover: hover) and (pointer: fine) { .gp:not(.is-active):hover .gp__photo img { transform: scale(1.04); } }
@media (max-width: 900px) {
  .gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); height: auto; gap: 14px; }
  .gp { flex-direction: column; background: none; border-radius: 0; overflow: visible; }
  .gp.is-active { background: none; }
  .gp__btn, .gp.is-active .gp__btn { max-width: none; cursor: pointer; }
  .gp__photo { position: relative; display: block; aspect-ratio: 4 / 4.4; border-radius: var(--radius); overflow: hidden; background: var(--mist); }
  .gp__id { position: static; background: none; padding: 14px 0 0; }
  .gp__bio { display: block; padding: 10px 0 0; opacity: 1; transform: none; visibility: visible; }
  .gp__bio[hidden] { display: none; }
  .gp__bio p { font-size: .9375rem; }
}

/* ---------- programs: stacking cards ---------- */
.stack { display: grid; gap: 28px; }
.scard {
  position: sticky; top: calc(var(--masthead-h) + 36px + var(--i) * 22px);
  display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); min-height: clamp(380px, 34vw, 480px);
  border-radius: calc(var(--radius) + 6px); overflow: hidden; background: var(--white);
  box-shadow: 0 1px 0 rgba(28, 31, 28, .04), 0 30px 60px -36px rgba(28, 31, 28, .45);
  transform-origin: 50% 0;
}
.scard__media { position: relative; overflow: hidden; }
.scard__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.scard__body { display: flex; flex-direction: column; padding: clamp(28px, 3.6vw, 52px); }
.scard__body .ic { width: 52px; height: 52px; margin-bottom: 28px; }
.scard__body h3 { font-size: clamp(1.6rem, 1.2rem + 1vw, 2.2rem); margin-bottom: 16px; }
.scard__body p { color: #3A3E39; }
.scard__link { margin-top: auto; align-self: flex-start; font-weight: 600; }
.scard:nth-child(2) { background: #FBFCF9; }
.scard:nth-child(3) { background: var(--graphite); color: var(--on-dark); }
.scard:nth-child(3) p { color: var(--on-dark-2); }
.scard:nth-child(3) .ic-b { fill: var(--on-dark); }
.scard:nth-child(3) .scard__link { color: var(--lime); }
.scard:nth-child(3) :focus-visible { outline-color: var(--lime); }
@media (max-width: 860px) {
  .scard { position: relative; top: auto; grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .scard__media { aspect-ratio: 3 / 2; }
}

/* ---------- news: framed images ---------- */
.story__frame { display: block; overflow: hidden; border-radius: var(--radius); }
.story__frame .story__img { border-radius: 0; }
@media (hover: hover) and (pointer: fine) { .story__link:hover .story__img { transform: scale(1.04); } }

/* ---------- closing: the same afternoon light ---------- */
.closing--v2 { position: relative; isolation: isolate; overflow: hidden; }
.closing__light {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: url(../img/light-shadow.jpg) 85% 40% / cover no-repeat;
  mix-blend-mode: multiply; opacity: .2; filter: sepia(.45) saturate(1.4);
  -webkit-mask-image: linear-gradient(90deg, transparent 30%, #000 70%); mask-image: linear-gradient(90deg, transparent 30%, #000 70%);
}
.closing__visual { position: relative; }

/* ---------- footer: graphite grain and the giant wordmark ---------- */
.footer { position: relative; overflow: hidden; isolation: isolate; }
.footer::before { content: ""; position: absolute; inset: 0; z-index: -1; background: url(../img/tex-graphite.jpg) repeat; background-size: 600px; mix-blend-mode: soft-light; opacity: .7; pointer-events: none; }
.footer__giant { margin-top: clamp(40px, 6vw, 80px); margin-bottom: calc(clamp(40px, 6vw, 80px) * -1 - 2px); pointer-events: none; }
.footer__giant svg { display: block; width: 100%; height: auto; fill: #2A2E2A; }

/* ---------- click ripple: a small lime hexagon on the primary buttons ---------- */
.btn { position: relative; overflow: hidden; isolation: isolate; }
.ripple {
  position: absolute; width: 90px; height: 104px; margin: -52px 0 0 -45px; pointer-events: none; z-index: -1;
  background: var(--lime); opacity: .55; transform: scale(0);
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
  animation: ripple 560ms var(--ease-out) forwards;
}
@keyframes ripple { to { transform: scale(2.6); opacity: 0; } }

/* ---------- reduced motion: fades only, no travel, no ambient light ---------- */
@media (prefers-reduced-motion: reduce) {
  .masthead.is-tucked { transform: none; }
  .gp, .gp__btn { transition: none; }
  .doodle.is-drawn .doodle__svg path { transition: none; }
  .ripple { display: none; }
}

/* split headings: each line rises out of its own mask */
.sl { display: block; overflow: clip; padding-bottom: .1em; margin-bottom: -.1em; }
.sl > span { display: inline-block; }

/* comb cells open a smaller door (cursor at 50%), so their labels stay clear of it */
:root {
  --comb-closed: polygon(45.06% 2.47%, 47.53% 1.54%, 50.00% 1.24%, 52.47% 1.54%, 54.94% 2.47%, 95.06% 22.53%, 97.22% 23.92%, 98.76% 25.60%, 99.69% 27.59%, 100.00% 29.88%, 100.00% 70.12%, 99.69% 72.41%, 98.76% 74.40%, 97.22% 76.08%, 95.06% 77.47%, 54.94% 97.53%, 52.47% 98.46%, 50.00% 98.76%, 47.53% 98.46%, 45.06% 97.53%, 29.13% 89.56%, 29.13% 89.56%, 29.13% 89.56%, 29.13% 89.56%, 29.13% 89.56%, 18.81% 84.41%, 18.81% 84.41%, 18.81% 84.41%, 18.81% 84.41%, 18.81% 84.41%, 8.50% 79.25%, 8.50% 79.25%, 8.50% 79.25%, 8.50% 79.25%, 8.50% 79.25%, 3.82% 76.91%, 2.15% 75.77%, 0.96% 74.26%, 0.24% 72.37%, 0.00% 70.12%, 0.00% 29.88%, 0.31% 27.59%, 1.24% 25.60%, 2.78% 23.92%, 4.94% 22.53%);
  --comb-open:   polygon(45.06% 2.47%, 47.53% 1.54%, 50.00% 1.24%, 52.47% 1.54%, 54.94% 2.47%, 95.06% 22.53%, 97.22% 23.92%, 98.76% 25.60%, 99.69% 27.59%, 100.00% 29.88%, 100.00% 70.12%, 99.69% 72.41%, 98.76% 74.40%, 97.22% 76.08%, 95.06% 77.47%, 54.94% 97.53%, 52.47% 98.46%, 50.00% 98.76%, 47.53% 98.46%, 45.06% 97.53%, 30.07% 90.03%, 29.66% 89.77%, 29.36% 89.45%, 29.19% 89.07%, 29.13% 88.63%, 29.13% 64.51%, 29.06% 64.05%, 28.87% 63.84%, 28.56% 63.86%, 28.11% 64.13%, 9.31% 78.62%, 8.89% 78.87%, 8.46% 78.97%, 8.02% 78.94%, 7.55% 78.78%, 3.82% 76.91%, 2.15% 75.77%, 0.96% 74.26%, 0.24% 72.37%, 0.00% 70.12%, 0.00% 29.88%, 0.31% 27.59%, 1.24% 25.60%, 2.78% 23.92%, 4.94% 22.53%);
}
.comb__cell { clip-path: var(--comb-closed); padding: calc(var(--w) * .12) calc(var(--w) * .1) calc(var(--w) * .3); }
.comb__cell[aria-selected="true"] { clip-path: var(--comb-open); }

/* bento photos keep a portrait frame instead of stretching to the copy */
.bento__photo--a, .bento__photo--b { align-self: start; aspect-ratio: 4 / 5; }
.bento__photo--b { margin-top: 22%; }

/* phones: the bio toggle says what it does */
.gp__more { display: none; }
@media (max-width: 900px) {
  .gp__more { display: inline-flex; align-items: center; gap: 8px; margin-top: 8px; color: var(--leaf); font-weight: 600; font-size: .9375rem; }
  .gp__more::after { content: ""; width: 7px; height: 7px; border: solid currentColor; border-width: 0 1.5px 1.5px 0; transform: translateY(-2px) rotate(45deg); transition: transform 240ms var(--ease-out); }
  .gp__btn[aria-expanded="true"] .gp__more::after { transform: translateY(2px) rotate(-135deg); }
}

@media (max-width: 860px) {
  .closing__light { -webkit-mask-image: linear-gradient(180deg, transparent 42%, #000 82%); mask-image: linear-gradient(180deg, transparent 42%, #000 82%); background-position: 70% 100%; }
}

/* ---------- About us: facts bento (from about-options C) ---------- */
.ab-c { padding-block: var(--section); }
.ab-c__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-auto-rows: minmax(150px, auto); gap: clamp(12px, 1.4vw, 20px); }
.ab-c__intro { grid-column: 1 / span 5; grid-row: 1 / span 3; align-self: center; padding-right: 24px; }
.tile { position: relative; display: flex; flex-direction: column; justify-content: flex-end; padding: 26px; border-radius: 18px; background: var(--chalk); overflow: hidden; }
.tile__n { margin: 0; font: 800 clamp(3rem, 2rem + 2.4vw, 4.6rem)/1 var(--display); letter-spacing: -.04em; }
.tile__l { margin: 6px 0 0; color: var(--slate); font-size: .9375rem; }
.tile--dark { background: var(--graphite); color: var(--on-dark); isolation: isolate; }
.tile--dark::before { content: ""; position: absolute; inset: 0; z-index: -1; background: url(../img/tex-graphite.jpg) repeat; background-size: 600px; mix-blend-mode: soft-light; opacity: .7; }
.tile--dark .tile__l { color: var(--on-dark-2); }
.tile--partners { grid-column: 6 / span 4; grid-row: 1 / span 2; }
.tile--years { grid-column: 10 / span 3; grid-row: 1; }
.tile--verticals { grid-column: 10 / span 3; grid-row: 2; }
.tile--countries { grid-column: 6 / span 7; grid-row: 3; }
.tile__viz { margin-bottom: auto; }
.tile__viz--cells { display: grid; grid-template-columns: repeat(5, 26px); gap: 8px 10px; padding: 6px 0 0 4px; }
.mini-hex { width: 26px; height: 30px; background: var(--lime); clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); }
.mini-hex:nth-child(10n+6), .mini-hex:nth-child(10n+7), .mini-hex:nth-child(10n+8), .mini-hex:nth-child(10n+9), .mini-hex:nth-child(10n+10) { transform: translateX(18px); }
.mini-plus { align-self: center; color: var(--lime); font: 800 1.6rem/1 var(--display); }
.js.motion .tile:not(.is-in) .mini-hex, .js.motion .tile:not(.is-in) .comb-hex { opacity: 0; scale: .3; }
.tile.is-in .mini-hex, .tile.is-in .comb-hex { transition: opacity 400ms var(--ease-out) calc(var(--i) * 35ms), scale 600ms var(--ease-out) calc(var(--i) * 35ms); }
.tile__viz--ruler { display: flex; align-items: flex-end; gap: 9px; height: 54px; }
.tile__viz--ruler span { width: 3px; height: 100%; border-radius: 2px; background: var(--leaf); transform-origin: 50% 100%; }
.tile__viz--ruler span:nth-child(odd) { height: 60%; }
.tile__viz--ruler em { font: 800 1.4rem/1 var(--display); font-style: normal; color: var(--leaf); }
.js.motion .tile:not(.is-in) .tile__viz--ruler span { transform: scaleY(0); }
.tile.is-in .tile__viz--ruler span { transition: transform 500ms var(--ease-out) calc(var(--i) * 60ms); }
.js.motion .tile:not(.is-in) .mini-plus, .js.motion .tile:not(.is-in) .tile__viz--ruler em { opacity: 0; scale: .3; }
/* the + lands after its drawing: 25 cells x 35ms, 10 ticks x 60ms */
.tile.is-in .mini-plus { transition: opacity 400ms var(--ease-out) 1000ms, scale 600ms var(--ease-out) 1000ms; }
.tile.is-in .tile__viz--ruler em { transition: opacity 400ms var(--ease-out) 700ms, scale 600ms var(--ease-out) 700ms; }
.tile__viz--comb { position: relative; width: 120px; height: 82px; }
.comb-hex { position: absolute; width: 34px; height: 40px; background: var(--graphite); clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); }
.comb-hex:nth-child(1) { left: 0; top: 0; } .comb-hex:nth-child(2) { left: 38px; top: 0; } .comb-hex:nth-child(3) { left: 76px; top: 0; }
.comb-hex:nth-child(4) { left: 19px; top: 32px; } .comb-hex:nth-child(5) { left: 57px; top: 32px; background: var(--lime); } .comb-hex:nth-child(6) { left: 95px; top: 32px; }
/* ---- C, countries tile: one route, cities placed by their real longitude ----
   Each city carries its longitude (--lon); --t maps it linearly, Toronto -79.4 = 0 to Lahore 74.3 = 1.
   The SVG's viewBox is longitude x 10, so route and ticks share that scale; a tick every 15 degrees = one hour of time zone.
   Dot and label sit at t of the track, pulled back by t of their own width, so the end labels stay inside the tile. */
.cty { display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: auto 24px auto; padding-bottom: 18px; container-type: inline-size; }
.cty__line { grid-area: 2 / 1; display: block; width: calc(100% - 20px); height: 24px; margin-left: 10px; overflow: visible; }
.cty__route { fill: none; stroke: var(--leaf); stroke-width: 2px; vector-effect: non-scaling-stroke; }
.cty__ticks { fill: none; stroke: var(--slate); stroke-width: 1px; opacity: .35; vector-effect: non-scaling-stroke; }
.cty__cities, .cty__city { grid-area: 1 / 1 / -1 / -1; display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: subgrid; }
.cty__cities { margin: 0; padding: 0; list-style: none; }
.cty__city { --t: calc((var(--lon) + 79.4) / 153.7); justify-items: start; }
.cty__dot, .cty__label { margin-left: calc(var(--t) * 100%); translate: calc(var(--t) * -100%) 0; }
.cty__dot { grid-row: 2; align-self: center; display: grid; place-items: center; width: 20px; height: 23px; }
.cty__dot::before { content: ""; width: 12px; height: 12px; border-radius: 50%; background: var(--graphite); box-shadow: 0 0 0 3px var(--chalk); }
.cty__city--home .cty__dot { background: var(--lime); clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); }
.cty__city--home .cty__dot::before { width: 7px; height: 7px; box-shadow: none; }
.cty__label { grid-row: 3; display: grid; width: max-content; margin-top: 12px; }
.cty__city:nth-child(2) .cty__label { text-align: center; }
.cty__city:last-child .cty__label { text-align: right; }
.cty__name { font: 700 1.25rem/1.15 var(--display); letter-spacing: -.01em; }
.cty__time { margin-top: 4px; color: var(--slate); font-size: .8125rem; font-variant-numeric: tabular-nums; }
.cty__time time { font-weight: 600; color: var(--graphite); }
@container (max-width: 440px) {
  .cty__name { font-size: 1.0625rem; }
  .cty__city:nth-child(even) .cty__label { grid-row: 1; margin-block: 0 12px; }
}
/* motion: the route draws west to east and each city arrives as the line reaches it (1.45s at most) */
.js.motion .tile--countries:not(.is-in) .cty__line { clip-path: inset(0 100% 0 0); }
.js.motion .tile--countries:not(.is-in) .cty__dot { opacity: 0; scale: .3; }
.js.motion .tile--countries:not(.is-in) .cty__label { opacity: 0; transform: translateY(4px); }
.tile--countries.is-in .cty__line { clip-path: inset(0); transition: clip-path 900ms cubic-bezier(.45, 0, .55, 1); }
.tile--countries.is-in .cty__dot { transition: opacity 300ms var(--ease-out) calc(var(--t) * 900ms), scale 500ms var(--ease-out) calc(var(--t) * 900ms); }
.tile--countries.is-in .cty__label { transition: opacity 450ms var(--ease-out) calc(var(--t) * 900ms + 100ms), transform 450ms var(--ease-out) calc(var(--t) * 900ms + 100ms); }
/* ---- end countries tile ---- */
@media (max-width: 960px) {
  .ab-c__intro { grid-column: 1 / -1; grid-row: auto; padding: 0 0 12px; }
  .tile--partners { grid-column: 1 / -1; grid-row: auto; min-height: 260px; }
  .tile--years, .tile--verticals { grid-column: span 6; grid-row: auto; }
  .tile--countries { grid-column: 1 / -1; grid-row: auto; }
}

.ab-c .label { color: var(--leaf); }
.ab-c .lede { margin-top: 20px; color: #3A3E39; }
.tile--dark .plus { color: var(--lime); }
/* on the homepage it sits on chalk, so the light tiles turn white (the next section's cells stay chalk) */
.about-bento .tile:not(.tile--dark) { background: var(--white); }
.about-bento .cty__dot::before { box-shadow: 0 0 0 3px var(--white); }

/* ---------- hero: the comb wall in real-time 3D (hero-options F5) ---------- */
.hx-fx { position: relative; isolation: isolate; overflow: hidden; min-height: clamp(600px, calc(100svh - 110px), 860px); display: flex; flex-direction: column; }
.f-scene { position: absolute; inset: 0; z-index: -1; }
.f-scene__gl { position: absolute; inset: 0; width: 100%; height: 100%; display: block; opacity: 0; transition: opacity 700ms var(--ease-out); }
.f-scene.is-3d .f-scene__gl { opacity: 1; }
/* without WebGL: the photographed mark stands in */
.f-scene__still { position: absolute; right: 6%; top: 50%; width: min(40%, 520px); aspect-ratio: 1; height: auto; transform: translateY(-50%); object-fit: cover; border-radius: 22px; }
.f-scene.is-3d .f-scene__still { display: none; }
.hx-fx__hero { flex: 1; display: flex; align-items: center; padding-block: 24px 96px; }
.hx-fx__hero .hero__inner { width: 100%; }
.hx-fx .hero__copy { position: relative; z-index: 1; }
.hx-f5 { background: #EFE7DB; }
/* the relief stays strong on the right; a plaster-coloured veil keeps the copy column calm */
.hx-f5 .f-scene::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, rgba(239, 231, 219, .9) 0%, rgba(239, 231, 219, .78) 34%, rgba(239, 231, 219, 0) 56%); }
@media (max-width: 960px) {
  .hx-fx .hero__inner { grid-template-areas: none; grid-template-columns: minmax(0, 1fr); }
  .hx-fx .hero__copy { display: block; }
  .hx-fx__hero { align-items: flex-start; padding-bottom: min(92vw, 520px); }
  .f-scene__still { top: auto; bottom: 4%; right: 50%; transform: translateX(50%); width: min(70%, 340px); }
  .hx-f5 .f-scene::after { background: linear-gradient(180deg, rgba(239, 231, 219, .9) 0%, rgba(239, 231, 219, .75) 50%, rgba(239, 231, 219, 0) 70%); }
}

/* the hero poster: the 3D scene's resting frame, aligned to the live canvas by the mark's anchor */
.f-scene__poster, .f-scene__poster img { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.f-scene__poster img { object-fit: cover; object-position: 70% 53%; }
@media (max-width: 899px) { .f-scene__poster img { object-position: 50% 80%; } }
.f-scene:has(.f-scene__poster) .f-scene__gl { transition-duration: 300ms; }

/* ---------- hero tone: chalk by default (the site's ground), warm behind ?tone=warm ----------
   The posters are CSS backgrounds so only the tone in use downloads; cover + position at the mark's
   anchor lines them up with the live canvas exactly as object-fit did. */
.f-scene__poster { position: absolute; inset: 0; background: url(../img/hero-poster.jpg) 70% 53% / cover no-repeat; }
@media (max-width: 899px) { .f-scene__poster { background-image: url(../img/hero-poster-m.jpg); background-position: 50% 80%; } }
.tone-warm .f-scene__poster { background-image: url(../img/hero-poster-warm.jpg); }
@media (max-width: 899px) { .tone-warm .f-scene__poster { background-image: url(../img/hero-poster-warm-m.jpg); } }

.hx-f5 { background: var(--chalk); }
/* the copy column stays calm, and the floor fades into the white logo strip below, so there is no seam; v66: the top
   fades the same way, so the header's links read over the wall (it sits under the header at the top of the page) */
.hx-f5 .f-scene::after {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0) 80%, #fff 100%),
    linear-gradient(180deg, rgba(242, 244, 239, .86) 0px, rgba(242, 244, 239, .6) 80px, rgba(242, 244, 239, 0) 190px),
    linear-gradient(90deg, rgba(242, 244, 239, .9) 0%, rgba(242, 244, 239, .78) 34%, rgba(242, 244, 239, 0) 56%);
}
.tone-warm .hx-f5 { background: #EFE7DB; }
.tone-warm .hx-f5 .f-scene::after {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0) 80%, #fff 100%),
    linear-gradient(180deg, rgba(239, 231, 219, .86) 0px, rgba(239, 231, 219, .6) 80px, rgba(239, 231, 219, 0) 190px),
    linear-gradient(90deg, rgba(239, 231, 219, .9) 0%, rgba(239, 231, 219, .78) 34%, rgba(239, 231, 219, 0) 56%);
}
@media (max-width: 960px) {
  .hx-f5 .f-scene::after {
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0) 93%, #fff 100%),
      linear-gradient(180deg, rgba(242, 244, 239, .9) 0%, rgba(242, 244, 239, .75) 50%, rgba(242, 244, 239, 0) 70%);
  }
  .tone-warm .hx-f5 .f-scene::after {
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0) 93%, #fff 100%),
      linear-gradient(180deg, rgba(239, 231, 219, .9) 0%, rgba(239, 231, 219, .75) 50%, rgba(239, 231, 219, 0) 70%);
  }
}
.hx-fx + .marks { border-top-color: transparent; }

/* ---------- About (v36): the Countries band moves under the intro, so both columns end level ----------
   Before: the intro floated in a column twice its height, and Countries was a wide, mostly empty tile.
   Now: left = intro at the top, Countries at the bottom; right = 25+ beside 10+ over 6+.
   Scoped to the homepage (.about-bento); about-options C keeps the original as a reference. */
.about-bento { padding-block: clamp(72px, 8vw, 120px); }
.about-bento .ab-c__side { grid-column: 1 / span 5; display: flex; flex-direction: column; justify-content: space-between; gap: clamp(32px, 3.5vw, 48px); }
.about-bento .ab-c__intro { align-self: stretch; }
.about-bento .ab-c__tiles { grid-column: 6 / span 7; display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 3fr); grid-template-rows: 1fr 1fr; gap: inherit; }
.about-bento .ab-c__tiles .tile { grid-column: auto; grid-row: auto; }
.about-bento .ab-c__tiles .tile--partners { grid-row: 1 / span 2; }
/* Countries as a band: the stat on the left, the route on the right, bottoms on one line */
@media (min-width: 601px) {
  .about-bento .tile--countries { display: grid; grid-template-columns: auto minmax(0, 1fr); grid-template-rows: 1fr auto auto; column-gap: clamp(28px, 3vw, 48px); }
  .about-bento .tile--countries .tile__n { grid-area: 2 / 1; }
  .about-bento .tile--countries .tile__l { grid-area: 3 / 1; }
  .about-bento .tile--countries .cty { grid-area: 1 / 2 / -1 / 3; align-self: end; margin: 0; padding: 0 0 2px; }
}
@media (max-width: 960px) {
  .about-bento .ab-c__side { display: contents; }
  .about-bento .ab-c__tiles { grid-column: 1 / -1; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: none; }
  .about-bento .ab-c__tiles .tile--partners { grid-column: 1 / -1; grid-row: auto; }
  .about-bento .tile--countries { order: 1; }   /* phones keep the old order: intro, 25+, 10+ and 6+, then Countries */
}

/* ---------- v37: Verticals moves up, onto white; Build your career becomes the mirrored bento ----------
   Order: About (chalk) > Verticals (white) > Build your career (chalk) > People (white)...
   Who we are, then what we do, then why build a career here; and the two bentos no longer touch. */

/* ---- Build your career: the mirrored bento (career-options A), ported from options.css ---- */
.cr .h2 { margin: 0; }
.cr-copy { margin-top: 26px; }
.cr-copy p { margin: 0 0 1em; max-width: 58ch; color: #3A3E39; }
.cr-copy .btn { margin-top: 10px; }
/* on chalk, so the light tiles turn white, as in the About bento */
.career-bento .tile:not(.tile--dark) { background: var(--white); }

/* ---- pillar tiles ---- */
.cr-tile__h { margin: 22px 0 0; font: 800 clamp(1.4rem, 1.05rem + .9vw, 1.85rem)/1.08 var(--display); letter-spacing: -.025em; }
.cr-tile__p { margin: 8px 0 0; max-width: 32ch; color: var(--slate); font-size: .9375rem; line-height: 1.5; }
.tile--dark .cr-tile__p { color: var(--on-dark-2); }

/* ---- the drawings: one per pillar, drawn once in view like the facts tiles ---- */
.pv { display: block; width: 116px; height: auto; margin-bottom: auto; overflow: visible; color: var(--graphite); }
.pv .s { fill: none; stroke: currentColor; stroke-width: 2px; }
.pv .faint { stroke-opacity: .3; }
.pv .f { fill: currentColor; }
.pv .dim { fill-opacity: .45; }
.pv .lime { fill: var(--lime); }
.pv .ink { fill: var(--graphite); }
.pv .bar { fill: var(--leaf); }
.pv .pop, .pv .grow-x, .pv .grow-y, .pv-live__pulse, .pv-spark__cur { transform-box: fill-box; }
.pv .pop, .pv-live__pulse { transform-origin: 50% 50%; }
.pv .grow-x { transform-origin: 0 50%; }
.pv .grow-y { transform-origin: 50% 100%; }
.pv-live__pulse { fill: none; stroke: var(--lime); stroke-width: 2px; opacity: 0; }
.pv--spark { --d: 520ms; }   /* the cursor arrives first, then the click ripples out */
.tile--dark .pv { color: var(--on-dark-2); }
.tile--dark .pv .bar { fill: var(--on-dark-2); }
.tile--dark .pv-spark__cur .ink { fill: var(--on-dark); }

.js.motion .tile:not(.is-in) .pv .pop { opacity: 0; transform: scale(.3); }
.tile.is-in .pv .pop { transition: opacity 400ms var(--ease-out) calc(var(--d, 150ms) + var(--i, 0) * 85ms), transform 650ms var(--ease-out) calc(var(--d, 150ms) + var(--i, 0) * 85ms); }
.js.motion .tile:not(.is-in) .pv .grow-x { transform: scaleX(0); }
.tile.is-in .pv .grow-x { transition: transform 600ms var(--ease-out) calc(200ms + var(--i, 0) * 110ms); }
.js.motion .tile:not(.is-in) .pv .grow-y { transform: scaleY(0); }
.tile.is-in .pv .grow-y { transition: transform 500ms var(--ease-out) calc(var(--i, 0) * 45ms); }
.js.motion .tile:not(.is-in) .pv-spark__cur { opacity: 0; transform: translate(18px, 18px); }
.tile.is-in .pv-spark__cur { transition: opacity 300ms ease 100ms, transform 650ms var(--ease-out) 100ms; }
.motion .tile.is-in .pv-live__pulse { animation: pv-pulse 1.3s var(--ease-out) 1000ms 2; }   /* twice, then still */
@keyframes pv-pulse { from { opacity: .9; transform: scale(1); } to { opacity: 0; transform: scale(2.1); } }

/* ---------- A: mirrored bento (tiles left, copy right) ---------- */
.cr-a__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(12px, 1.4vw, 20px); }
.cr-a__intro { grid-column: 8 / span 5; grid-row: 1; align-self: start; padding-left: clamp(0px, 2.4vw, 36px); }
.cr-a__tiles { grid-column: 1 / span 7; grid-row: 1; display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 4fr); grid-template-rows: 1fr 1fr auto; gap: inherit; }
.cr-a .cr-tile--live { grid-area: 1 / 2 / 3 / 3; }
.cr-a .cr-tile--live .pv { width: min(100%, 300px); }   /* big enough that the tall graphite tile reads as a window, not a void */
.cr-a .cr-tile--spark { grid-area: 1 / 1; }
.cr-a .cr-tile--team { grid-area: 2 / 1; }
.cr-a .cr-tile--band { grid-area: 3 / 1 / 4 / 3; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); grid-template-rows: auto auto; align-items: end; column-gap: clamp(24px, 3vw, 48px); }
.cr-a .cr-tile--band .pv { grid-area: 1 / 2 / 3 / 3; width: 100%; max-width: 380px; justify-self: end; margin: 0; }
.cr-a .cr-tile--band .cr-tile__h { grid-area: 1 / 1; margin: 0; }
.cr-a .cr-tile--band .cr-tile__p { grid-area: 2 / 1; }
@media (max-width: 960px) {
  .cr-a__intro { grid-column: 1 / -1; padding: 0 0 12px; }
  .cr-a__tiles { grid-column: 1 / -1; grid-row: 2; }
  .cr-a .cr-tile--live, .cr-a .cr-tile--spark, .cr-a .cr-tile--team { min-height: 230px; }
}
@media (max-width: 600px) {
  .cr-a__tiles { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; }
  .cr-a .cr-tile--live, .cr-a .cr-tile--spark, .cr-a .cr-tile--team, .cr-a .cr-tile--band { grid-area: auto; min-height: 0; }
  .cr-a .cr-tile--live { min-height: 280px; }
  .cr-a .cr-tile--band { grid-template-columns: minmax(0, 1fr); }
  .cr-a .cr-tile--band .pv { grid-area: auto; justify-self: start; margin-bottom: 22px; }
  .cr-a .cr-tile--band .cr-tile__h, .cr-a .cr-tile--band .cr-tile__p { grid-area: auto; }
}


/* ---------- v39: Our verticals in a spotlight (verticals-options A), ported from options.css ----------
   A graphite band between the chalk About and Career sections. No cursor; the chosen cell is a whole lime hexagon. */
.vx .comb__cell { --y: calc(var(--r) * (var(--w) * 1.1733 * .75 + var(--g) * .87)); }
/* ---------- A: spotlight (graphite band) ----------
   Each cell's background is its 2px rim (the inner fill sits on ::before). A lime light at the pointer
   (--mx, --my, in comb pixels) brightens the rims near it. */
@property --glow { syntax: '<number>'; inherits: true; initial-value: 0; }
.vx--a { position: relative; isolation: isolate; background: var(--graphite); color: var(--on-dark); }
.vx--a::before { content: ""; position: absolute; inset: 0; z-index: -1; background: url(../img/tex-graphite.jpg) repeat; background-size: 600px; mix-blend-mode: soft-light; opacity: .7; }
.vx--a .h2 { color: var(--on-dark); }
.vx--a .section-head p { color: var(--on-dark-2); }
.vx--a .comb { --mx: -999px; --my: -999px; transition: --glow 500ms var(--ease-out); }
.vx--a .comb.is-lit { --glow: 1; }
.vx--a .comb__cell {
  color: var(--on-dark);
  background:
    radial-gradient(circle 240px at calc(var(--mx) - var(--x)) calc(var(--my) - var(--y)), rgba(164, 222, 2, calc(var(--glow) * .95)), rgba(164, 222, 2, 0)),
    rgba(242, 244, 239, .16);
}
.vx--a .comb__cell::before {
  content: ""; position: absolute; inset: 2px; z-index: -1; clip-path: var(--comb-closed);
  background:
    radial-gradient(circle 220px at calc(var(--mx) - var(--x)) calc(var(--my) - var(--y)), rgba(164, 222, 2, calc(var(--glow) * .17)), rgba(164, 222, 2, 0)),
    #212521;
  transition: background-color 260ms var(--ease-out), opacity 260ms var(--ease-out);
}
.vx--a .comb__cell .ic-b { fill: var(--on-dark); }
@media (hover: hover) and (pointer: fine) { .vx--a .comb__cell[aria-selected="false"]:hover::before { background-color: #2A302A; } }
.vx--a .comb__cell[aria-selected="true"] { background: var(--lime); color: var(--graphite); }
.vx--a .comb__cell[aria-selected="true"]::before { opacity: 0; }
.vx--a .comb__cell[aria-selected="true"] .ic-b { fill: var(--graphite); }
.vx--a .comb__cell[aria-selected="true"] .ic-a path { fill: var(--white); }
.vx--a .comb__cursor { display: none; }   /* client: no cursor in A; the chosen cell stays a whole hexagon */
.vx--a .comb__cell[aria-selected="true"] { clip-path: var(--comb-closed); }
.vx--a .vpanel h3 { color: var(--on-dark); }
.vx--a .vpanel p { color: var(--on-dark-2); }
.vx--a .vpanel .ic-b { fill: var(--on-dark); }

/* keyboard focus on the chosen cell stays lime (the base rule turns it black), with the underlined name */
.vx--a .comb__cell[aria-selected="true"]:focus-visible { background: #C3F12E; }
.vx--a .comb__cell[aria-selected="true"]:focus-visible span { color: var(--graphite); }

/* ---------- v40: People is v1's cards again; Read bio opens the same photo in a modal ---------- */
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.person__more {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 12px; padding: 6px 0; border: 0; background: none;
  color: var(--leaf); font: 600 .9375rem/1.4 var(--body); cursor: pointer;
}
.person__more::after { content: ""; width: 8px; height: 8px; border: solid currentColor; border-width: 1.5px 1.5px 0 0; transform: rotate(45deg); transition: transform 240ms var(--ease-out); }
.person__more:focus-visible { outline: 2px solid var(--leaf); outline-offset: 3px; border-radius: 4px; }
html:not(.js) .person__more { display: none; }
.js .person__bio { display: none; }
.js .person__photo { cursor: pointer; }
@media (hover: hover) and (pointer: fine) {
  .person__more:hover::after { transform: translateX(3px) rotate(45deg); }
}
.person.is-away .person__photo img { visibility: hidden; }   /* the photo has flown to the modal */
html.has-bio { overflow: hidden; }

.bio { width: 100%; max-width: none; height: 100%; max-height: none; margin: 0; padding: clamp(16px, 4vw, 48px); border: 0; background: none; overflow: auto; overscroll-behavior: contain; }
.bio[open] { display: grid; }   /* the dialog scrolls; the panel centres with margin: auto, so a tall one starts at the top instead of being cut off */
.bio::backdrop { background: rgba(28, 31, 28, .55); backdrop-filter: blur(6px); opacity: 0; transition: opacity 320ms var(--ease-out); }
.bio.is-shown::backdrop { opacity: 1; }
/* the panel never outgrows the screen; only the words scroll, so the photo and the close button stay put */
.bio__panel { position: relative; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); grid-template-rows: minmax(0, 1fr); width: min(980px, 100%); max-height: calc(100svh - 2 * clamp(16px, 4vw, 48px)); margin: auto; border-radius: 22px; background: var(--white); overflow: clip; box-shadow: 0 50px 100px -40px rgba(0, 0, 0, .45); }
.bio__photo { grid-area: 1 / 1; position: relative; min-height: min(460px, 72svh); background: var(--mist); }   /* fills the panel's height (an aspect-ratio box would not stretch) */
.bio__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; }
.bio__text { grid-area: 1 / 2; display: flex; flex-direction: column; overflow: auto; overscroll-behavior: contain; padding: clamp(28px, 4.5vw, 64px); }
.bio__text > :first-child { margin-top: auto; }   /* centred when it fits, from the top when it scrolls */
.bio__text > :last-child { margin-bottom: auto; }
.bio__name { font-size: clamp(1.9rem, 1.3rem + 1.8vw, 2.8rem); letter-spacing: -.02em; }
.bio__role { margin: 8px 0 0; color: var(--leaf); font-weight: 600; }
.bio__copy { margin: 22px 0 0; max-width: 46ch; color: #3A3E39; font-size: var(--fs-lede); line-height: 1.6; }
.bio__close { position: absolute; top: 14px; right: 14px; z-index: 1; width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--chalk); cursor: pointer; }
.bio__close span::before, .bio__close span::after { content: ""; position: absolute; left: 14px; right: 14px; top: 21.25px; height: 1.5px; background: var(--graphite); }
.bio__close span::before { transform: rotate(45deg); }
.bio__close span::after { transform: rotate(-45deg); }
.bio__close:focus-visible { outline: 2px solid var(--leaf); outline-offset: 2px; }
@media (hover: hover) and (pointer: fine) { .bio__close:hover { background: #E4E9DD; } }
.bio__fly { position: fixed; z-index: 2; overflow: hidden; background: var(--mist); pointer-events: none; }
.bio__fly img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; }
@media (max-width: 760px) {
  .bio { padding: 12px; }
  .bio__panel { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto minmax(0, 1fr); max-height: calc(100svh - 24px); }
  .bio__photo { min-height: 0; aspect-ratio: 4 / 3.4; max-height: 42svh; }
  .bio__text { grid-area: 2 / 1; padding: 24px 22px 30px; }
  .bio__close { background: rgba(255, 255, 255, .9); }
}

/* ---------- v43: People head: a small comb beside the copy (four graphite cells for the four people, a lime one with room for one more) ---------- */
.section-head--people { max-width: none; grid-template-columns: minmax(0, 760px) auto; justify-content: space-between; column-gap: clamp(32px, 6vw, 100px); }
.section-head--people > .h2, .section-head--people > p { grid-column: 1; }
.team-comb { grid-column: 2; grid-row: 1 / span 2; align-self: end; display: grid; justify-items: end; gap: 16px; color: var(--leaf); font-weight: 600; font-size: .9375rem; text-decoration: none; }
.team-comb__cells { width: clamp(150px, 14vw, 205px); height: auto; overflow: visible; }
.team-comb__cells .c { fill: var(--mist); }   /* the portrait cards' own grey: the four cells read as the four people */
.team-comb__seat, .team-comb__seat .plus { transform-box: fill-box; transform-origin: 50% 50%; transition: transform 500ms var(--ease-out); }
.team-comb__seat .lime { fill: var(--lime); }
.team-comb__seat .plus { fill: none; stroke: var(--graphite); stroke-width: 3; stroke-linecap: round; }
.team-comb__label { display: inline-flex; align-items: center; gap: 8px; }
.team-comb__label::after { content: ""; width: 8px; height: 8px; border: solid currentColor; border-width: 1.5px 1.5px 0 0; transform: rotate(45deg); transition: transform 240ms var(--ease-out); }
.team-comb:focus-visible { outline: 2px solid var(--leaf); outline-offset: 6px; border-radius: 8px; }
@media (hover: hover) and (pointer: fine) {
  .team-comb:hover .team-comb__seat { transform: scale(1.08); }
  .team-comb:hover .team-comb__seat .plus { transform: rotate(90deg); }
  .team-comb:hover .team-comb__label::after { transform: translateX(3px) rotate(45deg); }
}
@media (max-width: 860px) {
  .section-head--people { grid-template-columns: minmax(0, 1fr); }
  .team-comb { grid-column: 1; grid-row: auto; justify-items: start; margin-top: 8px; }
  .team-comb__cells { width: 132px; }
}

/* ---------- v44: people step out of the hero's wall on hover ----------
   The portraits are cut-outs, so the hero's own comb wall (rendered once, square on: people-wall.jpg) can sit
   behind them. On hover it fades in and eases back while the person comes forward with a soft shadow; both
   drift with the pointer at different rates (--nx, --ny from v2.js), which is what reads as depth. */
.person__photo { position: relative; isolation: isolate; }
.person__photo::before {
  content: ""; position: absolute; inset: -4%; z-index: -1; background: url(../img/people-wall.jpg) center / cover no-repeat;
  opacity: 0; transform: translate(calc(var(--nx, 0) * -16px), calc(var(--ny, 0) * -12px)) scale(1.1);
  transition: opacity 500ms var(--ease-out), transform 900ms var(--ease-out);
}
.js .person__photo img { transition: transform 900ms var(--ease-out), filter 500ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .js .person:hover .person__photo::before { opacity: 1; transform: translate(calc(var(--nx, 0) * -16px), calc(var(--ny, 0) * -12px)) scale(1.03); }
  .js .person:hover .person__photo img {
    transform: translate(calc(var(--nx, 0) * 8px), calc(var(--ny, 0) * 5px)) scale(1.045);
    filter: drop-shadow(0 18px 22px rgba(28, 31, 28, .26));
  }
}
@media (prefers-reduced-motion: reduce) { .person__photo::before, .js .person__photo img { transition-duration: .01ms; } }
/* the modal and the flying photo carry the same wall, so the person arrives with their backdrop */
.bio__photo { background: var(--mist) url(../img/people-wall.jpg) center / cover no-repeat; }

/* ---------- v45: the wall hands over smoothly ----------
   While a person is away in the modal their card keeps its wall lit, framed exactly like a cover background
   (the 1.08 overscan x .926), so the flying photo lands on an identical card; then the wall fades out. */
.js .person.is-lit .person__photo::before { opacity: 1; transform: scale(.926); }
.bio__fly { background: var(--mist); }
.bio__fly-wall { position: absolute; inset: 0; background: url(../img/people-wall.jpg) 50% 50% / cover no-repeat; }
.bio__fly img { position: absolute; inset: 0; }

/* ---------- v47: Grow with a team is the sticky story (programs-options A), ported from options.css ---------- */

.pg { padding-block: var(--section); }
.pg .h2 { margin: 0; }
.pg-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; color: var(--leaf); font-weight: 600; font-size: .9375rem; text-decoration: none; }
.pg-link::after { content: ""; width: 8px; height: 8px; border: solid currentColor; border-width: 1.5px 1.5px 0 0; transform: rotate(45deg); transition: transform 240ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .pg-link:hover::after { transform: translateX(3px) rotate(45deg); } }
.pg-link:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; border-radius: 4px; }
.pg-link--lime { color: var(--lime); }
.pg-badge { display: inline-grid; place-items: center; width: 54px; height: 54px; border-radius: 15px; background: var(--white); }
.pg-badge .ic { width: 30px; height: 30px; }

/* ---------- A: the sticky story ---------- */
.pg-a { --iris: polygon(50% -80%, 162.6% -15%, 162.6% 115%, 50% 180%, -62.6% 115%, -62.6% -15%); --iris-0: polygon(50% 50%, 50% 50%, 50% 50%, 50% 50%, 50% 50%, 50% 50%); }
.pg-a__grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(40px, 7vw, 112px); align-items: start; }
.pg-a__stage { position: sticky; top: 12vh; }
.pg-a__frame { position: relative; aspect-ratio: 4 / 4.6; max-height: 76vh; border-radius: 24px; overflow: hidden; background: var(--mist); box-shadow: 0 40px 80px -50px rgba(28, 31, 28, .5); }
.pg-a__shot { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; clip-path: var(--iris-0); transform: scale(1.08); }
.pg-a__shot.is-prev { z-index: 1; clip-path: var(--iris); transform: none; }
.pg-a__shot.is-on { z-index: 2; clip-path: var(--iris); transform: none; }
.motion .pg-a__shot.is-on { transition: clip-path 1100ms cubic-bezier(.65, 0, .35, 1), transform 1500ms var(--ease-out); }
.pg-a__steps { position: relative; list-style: none; margin: clamp(56px, 7vw, 96px) 0 0; padding: 0 0 12vh 46px; display: grid; gap: clamp(72px, 14vh, 160px); }
.pg-a__steps::before, .pg-a__steps::after { content: ""; position: absolute; left: 12px; top: 27px; width: 2px; }
.pg-a__steps::before { bottom: calc(12vh + 40px); background: var(--line); }
.pg-a__steps::after { height: calc((100% - 12vh - 67px) * var(--prog, 0)); background: var(--leaf); transition: height 800ms var(--ease-out); }
.pg-a__step { position: relative; opacity: .38; transition: opacity 500ms var(--ease-out); }
.pg-a__step.is-active { opacity: 1; }
.pg-a__step::before { content: ""; position: absolute; left: -40px; top: 20px; z-index: 1; width: 14px; height: 14px; border-radius: 50%; background: var(--chalk); border: 2px solid #C9CEC2; transition: background-color 400ms var(--ease-out), border-color 400ms var(--ease-out); }
.pg-a__step.is-past::before { background: var(--leaf); border-color: var(--leaf); }
.pg-a__step.is-active::before { background: var(--lime); border-color: var(--lime); box-shadow: 0 0 0 5px rgba(164, 222, 2, .25); }
.pg-a__step h3 { margin: 22px 0 12px; font-size: clamp(1.6rem, 1.15rem + 1.3vw, 2.4rem); letter-spacing: -.02em; }
.pg-a__step p { margin: 0; max-width: 52ch; color: #3A3E39; font-size: var(--fs-lede); line-height: 1.6; }
.pg-a__media { display: none; }
@media (max-width: 960px) {
  .pg-a__grid { grid-template-columns: minmax(0, 1fr); }
  .pg-a__stage { display: none; }
  .pg-a__steps { padding: 0; gap: 52px; }
  .pg-a__steps::before, .pg-a__steps::after, .pg-a__step::before { display: none; }
  .pg-a__step { opacity: 1; }
  .pg-a__media { display: block; margin: 0 0 20px; aspect-ratio: 3 / 2; border-radius: 18px; overflow: hidden; background: var(--mist); }
  .pg-a__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; }   /* the faces sit in the top third of each photo */
}


/* ---------- v48: News and media: a lead cover card over two tiles ----------
   The client's event photos are wide banners (1304 x 480); every card shows them at that shape, so nobody is cut off.
   The lead is a graphite card with its words over the photo; the other two are chalk tiles of equal height. */
.nw__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); }
.nw-card--lead { grid-column: 1 / -1; }
.nw-card__link { position: relative; display: flex; flex-direction: column; height: 100%; border-radius: 22px; overflow: hidden; background: var(--chalk); color: var(--graphite); text-decoration: none; transition: transform 500ms var(--ease-out), box-shadow 500ms var(--ease-out); }
.nw-card__frame { display: block; overflow: hidden; aspect-ratio: 1304 / 480; background: var(--mist); }
.nw-card__frame img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 1000ms var(--ease-out); }
.nw-card__body { display: flex; flex: 1; flex-direction: column; align-items: flex-start; gap: 12px; padding: clamp(22px, 2.4vw, 32px); }
.nw-card__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; color: var(--slate); font-size: var(--fs-small); }
.nw-card__tag { display: inline-flex; align-items: center; gap: 8px; padding: 5px 12px 5px 10px; border-radius: 99px; background: var(--white); color: var(--graphite); font-weight: 600; }
.nw-card__tag::before { content: ""; width: 11px; height: 10px; background: var(--lime); clip-path: polygon(25% 0, 75% 0, 100% 50%, 75% 100%, 25% 100%, 0 50%); }
.nw-card__title { margin: 0; max-width: 30ch; font-size: clamp(1.2rem, 1rem + .6vw, 1.55rem); line-height: 1.22; letter-spacing: -.015em; }
.nw-card__excerpt { margin: 0; max-width: 60ch; }
.nw-card__more { display: inline-flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 6px; color: var(--leaf); font-weight: 600; font-size: .9375rem; }
.nw-card__more::after { content: ""; width: 8px; height: 8px; border: solid currentColor; border-width: 1.5px 1.5px 0 0; transform: rotate(45deg); transition: transform 240ms var(--ease-out); }
.nw-card__link:focus-visible { outline: 2px solid var(--leaf); outline-offset: 4px; }
@media (hover: hover) and (pointer: fine) {
  .nw-card__link:hover { transform: translateY(-4px); box-shadow: 0 34px 60px -40px rgba(28, 31, 28, .4); }
  .nw-card__link:hover .nw-card__frame img { transform: scale(1.04); }
  .nw-card__link:hover .nw-card__more::after { transform: translateX(3px) rotate(45deg); }
  .nw-card__link:hover .nw-card__title { text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 4px; }
}
/* the lead: graphite, its words over the photo on a soft dark gradient */
.nw-card--lead .nw-card__link { background: var(--graphite); color: var(--on-dark); }
.nw-card--lead .nw-card__tag { background: rgba(242, 244, 239, .14); color: var(--on-dark); backdrop-filter: blur(6px); }
.nw-card--lead .nw-card__meta { color: var(--on-dark-2); }
.nw-card--lead .nw-card__excerpt { color: var(--on-dark-2); }
.nw-card--lead .nw-card__more { color: var(--lime); }
/* the whole group fills the banner, so the words sit under it (not over it), in two columns */
@media (min-width: 861px) {
  .nw-card--lead .nw-card__body {
    display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); grid-template-areas: "meta excerpt" "title excerpt" "title more";
    align-items: end; column-gap: clamp(28px, 5vw, 80px); row-gap: 12px; padding: clamp(28px, 3vw, 44px);
  }
  .nw-card--lead .nw-card__meta { grid-area: meta; }
  .nw-card--lead .nw-card__title { grid-area: title; align-self: start; max-width: 24ch; font-size: clamp(1.7rem, 1.1rem + 1.6vw, 2.5rem); line-height: 1.12; letter-spacing: -.025em; }
  .nw-card--lead .nw-card__excerpt { grid-area: excerpt; }
  .nw-card--lead .nw-card__more { grid-area: more; margin-top: 0; }
}
@media (max-width: 860px) { .nw__grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 600px) { .nw-card__frame { aspect-ratio: 2 / 1; } }   /* phones: a little taller than the 2.72:1 banners, so faces are not thin strips */

/* ---------- v49: FAQ: the brand's hexagon ---------- */
.qa summary::before, .qa summary::after { content: none; }
.qa__icon { position: absolute; right: 0; top: 50%; width: 34px; height: 38px; translate: 0 -50%; overflow: visible; }
.qa__icon polygon { fill: var(--white); stroke: rgba(28, 31, 28, .14); stroke-width: 1.5; transition: fill 300ms var(--ease-out), stroke 300ms var(--ease-out); }
.qa__icon path { fill: none; stroke: var(--graphite); stroke-width: 1.6; stroke-linecap: round; transform-box: fill-box; transform-origin: 50% 50%; transition: transform 300ms var(--ease-in-out); }
.qa[open] .qa__icon polygon { fill: var(--lime); stroke: var(--lime); }
.qa[open] .qa__icon .v { transform: scaleY(0); }
@media (hover: hover) and (pointer: fine) { .qa summary:hover .qa__icon polygon { stroke: var(--graphite); } }
.qa summary:focus-visible { outline: 2px solid var(--leaf); outline-offset: 4px; border-radius: 6px; }
.faq__label { display: flex; align-items: center; gap: 10px; }
.faq__label::before { content: ""; flex: none; width: 12px; height: 11px; background: var(--lime); clip-path: polygon(25% 0, 75% 0, 100% 50%, 75% 100%, 25% 100%, 0 50%); }
/* a patch of the hero's comb wall around its lime cell, fading into the chalk */
.faq__wall { display: block; width: clamp(240px, 22vw, 340px); aspect-ratio: 1000 / 870; margin-top: clamp(28px, 4vw, 48px); background: url(../img/faq-wall.jpg?v=2) center / cover no-repeat; -webkit-mask-image: radial-gradient(closest-side, #000 42%, transparent 100%); mask-image: radial-gradient(closest-side, #000 42%, transparent 100%); }
@media (max-width: 860px) { .faq__wall { display: none; } }
/* v50: the FAQ head stays at the top of its column and scrolls with the page (client: no sticky) */
.faq__head { position: static; align-self: start; }

/* ---------- v51: closing: the comb wall again, with one empty lime cell ----------
   The hero's wall without the mark, seen obliquely so the cells recede; the lime cell sits two thirds across.
   The words sit on a chalk veil at the left; the top fades in from the FAQ's chalk. */
.closing--v3 { position: relative; isolation: isolate; overflow: hidden; display: flex; align-items: center; min-height: clamp(560px, 76vh, 800px); padding-block: var(--section); background: var(--chalk); }
.closing--v3 .closing__grid { display: block; width: 100%; }
.closing--v3 .closing__copy { max-width: 600px; }
.closing__scene { position: absolute; inset: 0; z-index: -1; }
.closing__scene .closing__poster { position: absolute; inset: 0; background: url(../img/closing-poster.jpg) 50% 50% / cover no-repeat; }
.closing__scene::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(242, 244, 239, 1) 0%, rgba(242, 244, 239, 0) 16%),
    linear-gradient(90deg, rgba(242, 244, 239, .95) 0%, rgba(242, 244, 239, .84) 30%, rgba(242, 244, 239, 0) 56%);
}
.closing__still { display: none; }
@media (max-width: 899px) {
  .closing__scene { display: none; }
  .closing--v3 { display: block; min-height: 0; }
  .closing__still {
    display: block; width: min(100% - 32px, 520px); margin: 40px auto 0; aspect-ratio: 1000 / 870;
    background: url(../img/closing-still.jpg) center / cover no-repeat;   /* framed on the lit path */
    -webkit-mask-image: radial-gradient(closest-side, #000 55%, transparent 100%); mask-image: radial-gradient(closest-side, #000 55%, transparent 100%);
  }
}

/* ---------- v54: recognition as a slow continuous marquee ---------- */
.marks.is-marquee { position: relative; }
/* the content width, as before (client): the track moves inside the wrap and fades at its edges */
.marks.is-marquee .marks__viewport {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 12%, #000 88%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 12%, #000 88%, transparent 100%);
}
.marks.is-marquee .marks__list {
  display: flex; flex-wrap: nowrap; align-items: center; gap: clamp(48px, 5vw, 92px);
  width: max-content; max-width: none; margin: 0; padding: 30px 0; will-change: transform;
}
.marks.is-marquee .marks__list li { flex: none; display: grid; place-items: center; }
.marks.is-marquee .marks__list img { max-width: none; }
@media (max-width: 560px) { .marks.is-marquee .marks__list { padding-block: 24px; } .marks.is-marquee .mk { height: calc(var(--h) * .82); } }
/* the pause control (moving for more than five seconds needs one): shown on hover and on keyboard focus, always on touch */
.marks__toggle { position: absolute; right: clamp(10px, 2vw, 28px); top: 50%; z-index: 1; width: 32px; height: 32px; border: 1px solid var(--line); border-radius: 50%; background: var(--white); cursor: pointer; translate: 0 -50%; opacity: 0; transition: opacity 300ms var(--ease-out); }
.marks__toggle::before, .marks__toggle::after { content: ""; position: absolute; top: 10px; width: 3px; height: 10px; border-radius: 1px; background: var(--graphite); }
.marks__toggle::before { left: 11px; } .marks__toggle::after { left: 16px; }
.marks__toggle.is-paused::before { left: 12px; width: 0; height: 0; border-radius: 0; background: none; border-style: solid; border-width: 5.5px 0 5.5px 9px; border-color: transparent transparent transparent var(--graphite); }
.marks__toggle.is-paused::after { display: none; }
.marks:hover .marks__toggle, .marks__toggle:focus-visible, .marks__toggle.is-paused { opacity: 1; }
.marks__toggle:focus-visible { outline: 2px solid var(--leaf); outline-offset: 3px; }
@media (hover: none) { .marks__toggle { opacity: .9; } }
/* the static row (no JS, reduced motion): the list sits inside the wrap as the old grid did */
.marks__viewport > .marks__list { padding-inline: 0; }
/* the marquee window is exactly the content box of a .wrap, so it lines up with every other section */
.marks.is-marquee .marks__viewport { width: calc(100% - var(--gutter) * 2); max-width: var(--wrap); padding-inline: 0; }
.marks.is-marquee .marks__toggle { right: max(var(--gutter), calc((100% - var(--wrap)) / 2)); }

/* ---------- v56: the navbar floats over the hero, transparent until the page scrolls ----------
   The hero slides up under the sticky header (and grows by the same height, so its proportions hold); the header has
   no background at the top and takes its frosted white and hairline as soon as the page moves. */
.masthead { transition: background-color 320ms var(--ease-out), border-color 240ms var(--ease-out), transform 420ms var(--ease-drawer), -webkit-backdrop-filter 320ms var(--ease-out), backdrop-filter 320ms var(--ease-out); }
.masthead--over:not(.is-scrolled) { background-color: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; }
.hx-fx { margin-top: calc(var(--masthead-h) * -1); min-height: calc(clamp(600px, calc(100svh - 110px), 860px) + var(--masthead-h)); }
.hx-fx__hero { padding-top: calc(24px + var(--masthead-h)); }
/* v65 (replaced in v66 at the client's suggestion, "instead of navbar can we mute the hexagons a bit like in left side
   below content"; the wall now fades at its top, below): a chalk veil behind the header at the top of the page.
   .masthead::before { content: ""; position: absolute; inset: 0 0 auto; height: calc(100% + 36px); z-index: -1; pointer-events: none;
     background: linear-gradient(180deg, rgb(242 244 239 / .9) 0%, rgb(242 244 239 / .7) 58%, rgb(242 244 239 / 0) 100%);
     opacity: 0; transition: opacity 320ms var(--ease-out); }
   .masthead--over:not(.is-scrolled)::before { opacity: 1; } */

/* ---------- v57: the programme rail: hexagon nodes; the line runs node to node and fills with the scroll ----------
   --rail-len (first node to last node) and --prog (0..1, continuous) come from v2.js; no transition, so the fill
   follows the (Lenis-smoothed) scroll exactly instead of jumping between steps. */
.pg-a__steps::before { bottom: auto; height: var(--rail-len, 0px); }
.pg-a__steps::after { height: calc(var(--rail-len, 0px) * var(--prog, 0)); transition: none; }
.pg-a__step::before {
  left: -41px; top: 18px; z-index: 2; width: 16px; height: 18px; border: 0; border-radius: 0; box-shadow: none;
  background: #CFD4C8; clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
  transition: background-color 400ms var(--ease-out);
}
.pg-a__step.is-past::before { background: var(--leaf); box-shadow: none; }
.pg-a__step.is-active::before { background: var(--lime); box-shadow: none; }
.pg-a__step::after {
  content: ""; position: absolute; left: -47px; top: 11px; z-index: 1; width: 28px; height: 32px;
  background: rgba(164, 222, 2, .3); clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
  opacity: 0; transform: scale(.55); transition: opacity 400ms var(--ease-out), transform 500ms var(--ease-out);
}
.pg-a__step.is-active::after { opacity: 1; transform: none; }
@media (max-width: 960px) { .pg-a__step::after { display: none; } }

/* ---------- v59: loader option C (loader-options.html, ?loader=c): graphite from the first paint. The options'
   other styles and their code are in assets/js/loader-options.js, fetched only for ?loader=a|b|c (v62). ---------- */
.js[data-loader="c"] .loader { background: var(--graphite); }
.js[data-loader="c"] .loader__stage { visibility: hidden; }

/* ---------- v60: the loader, improved (client: "keep the current and improve it") ----------
   On the hero's chalk, so the curtain is a sheet of the same paper; a larger lockup; the click's pulse is a lime
   hexagon; the curved edge casts a soft shadow so the lift reads. ?loader=before shows it as it was. */
.js .loader { background: var(--chalk); }
.loader__mark { width: min(360px, 74vw); }
.loader__edge { fill: var(--chalk); filter: drop-shadow(0 16px 18px rgba(28, 31, 28, .1)); }
.loader__hexpulse { opacity: 0; }
.js[data-loader="before"] .loader { background: var(--white); }
[data-loader="before"] .loader__mark { width: min(300px, 72vw); }
[data-loader="before"] .loader__edge { fill: var(--white); filter: none; }
