/* Chandni Sacheti: Amal-style. Lavender on olive, Fraunces display serif (opsz 144, SOFT 0), cursor glow, tile boards. Tokens in DESIGN.md. */
@font-face { font-family: "Fraunces"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("fonts/fraunces-latin-full-normal.woff2") format("woff2-variations"), url("fonts/fraunces-latin-full-normal.woff2") format("woff2"); }
@font-face { font-family: "Hanken Grotesk"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("fonts/hanken-grotesk-latin-wght-normal.woff2") format("woff2-variations"), url("fonts/hanken-grotesk-latin-wght-normal.woff2") format("woff2"); }

:root {
  --olive: #383E24;
  --cream: #E4DFF3;
  --cream-2: #BCB7C9;
  --line: rgba(228, 223, 243, 0.2);
  --tile: rgba(228, 223, 243, 0.045);
  --ph-bg: #F3E7A8;
  --ph-ink: #3A3000;
  --hue: 75;
  --glow-h: 62;          /* the one glow color: warm olive-gold */            /* set by JS from the cursor */

  --title: "Fraunces", "Didot", "Bodoni 72", Georgia, serif;
  --title-set: 350 / normal;
  --sans: "Hanken Grotesk", "Helvetica Neue", Arial, sans-serif;
  --gutter: clamp(20px, 4.5vw, 64px);
  --max: 1320px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--olive); color: var(--cream);
  font-family: var(--sans); font-weight: 350; font-size: clamp(16px, 0.3vw + 15px, 18px); line-height: 1.65;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
::selection { background: var(--cream); color: var(--olive); }
a { color: inherit; text-underline-offset: 0.25em; text-decoration-thickness: 1px; }
:focus-visible { outline: 1.5px solid var(--cream); outline-offset: 4px; border-radius: 2px; }
.skip { position: absolute; left: var(--gutter); top: -100px; background: var(--cream); color: var(--olive); padding: 10px 14px; z-index: 100; }
.skip:focus { top: 10px; }
.ph { display: inline-block; background: var(--ph-bg); color: var(--ph-ink); font-family: var(--sans); font-size: 0.78rem; font-weight: 500; line-height: 1.4; padding: 0.1em 0.55em; border-radius: 2px; letter-spacing: 0; text-transform: none; vertical-align: 0.15em; }

/* Cursor-following glow: two soft lights, hue shifts with the cursor */
.glow { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.glow span { position: absolute; left: 0; top: 0; border-radius: 50%; filter: blur(70px); will-change: transform; }
.glow-a {
  width: 60vmax; height: 60vmax; margin: -30vmax 0 0 -30vmax;
  background: radial-gradient(circle, hsl(var(--glow-h) 45% 60% / 0.55), transparent 66%);
  transform: translate(var(--gx, 60vw), var(--gy, 25vh));
}
.glow-b {
  width: 46vmax; height: 46vmax; margin: -23vmax 0 0 -23vmax;
  background: radial-gradient(circle, hsl(var(--glow-h) 40% 60% / 0.3), transparent 66%);
  transform: translate(var(--hx, 20vw), var(--hy, 75vh));
}

/* Bar */
.bar { position: sticky; top: 0; z-index: 20; transition: background-color 0.3s; }
.bar.is-scrolled { background: rgba(56, 62, 36, 0.82); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.bar-inner { max-width: var(--max); margin: 0 auto; padding: 22px var(--gutter); display: flex; align-items: center; gap: 1.5rem; }
.brand { font-family: var(--sans); font-weight: 400; font-size: 1.15rem; letter-spacing: -0.01em; text-decoration: none; white-space: nowrap; }
.bar nav { margin-left: auto; }
.bar ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: clamp(1rem, 2.6vw, 2rem); }
.bar nav a { text-decoration: none; font-size: 1.02rem; font-weight: 400; letter-spacing: -0.01em; white-space: nowrap; opacity: 0.9; }
.bar nav a:hover { opacity: 1; text-decoration: underline; }
.bar nav a.nav-cta { opacity: 1; border: 1px solid var(--cream); border-radius: 50%; padding: 0.7rem 1.5rem; }
.bar nav a.nav-cta:hover { background: var(--cream); color: var(--olive); text-decoration: none; }

/* Hero */
.hero { max-width: var(--max); margin: 0 auto; padding: clamp(4rem, 10vw, 9rem) var(--gutter) clamp(4rem, 9vw, 8rem); }
.hero-h { margin: 0; font-family: var(--title); font-variation-settings: "opsz" 144, "SOFT" 0, "WONK" 0; font-weight: 440; letter-spacing: -0.035em; line-height: 0.9; font-size: clamp(3.2rem, 12vw, 11.5rem); }
.hero-h span { display: block; }
.hero-h .r0 { font-family: var(--sans); font-weight: 400; font-size: clamp(1.1rem, 2vw, 1.75rem); letter-spacing: -0.01em; line-height: 1; padding-left: 12%; margin-bottom: clamp(1.2rem, 3.5vw, 3.2rem); }
.hero-h .r1 { padding-left: 9%; }
.hero-h .r2 { padding-left: 21%; }
.hero-h .r3 { padding-left: 46%; }
.hero-h .amp { display: inline; font-size: 0.4em; letter-spacing: 0; margin-left: 0.15em; vertical-align: 0.35em; }
.hero-sub { margin: clamp(1.5rem, 3vw, 2.6rem) 0 0 52%; max-width: 34ch; font-family: var(--sans); font-weight: 400; font-size: clamp(1.1rem, 2vw, 1.75rem); line-height: 1.25; letter-spacing: -0.01em; }

.label { margin: 0 0 1rem; font-family: var(--sans); font-size: 0.82rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; }
.work-intro { margin: 0; font-family: var(--title); font-variation-settings: "opsz" 144, "SOFT" 0, "WONK" 0; font-weight: 400; font-size: clamp(1.9rem, 3.6vw, 3rem); line-height: 1.1; letter-spacing: -0.02em; }

/* Intro */
.intro { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter) clamp(5rem, 10vw, 9rem); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 3rem clamp(3rem, 7vw, 7rem); align-items: start; }
.intro-text { display: grid; gap: 3rem; min-width: 0; }
.block p { margin: 0 0 1rem; max-width: 54ch; color: var(--cream-2); }
.block .mission { font-family: var(--title); font-variation-settings: "opsz" 144, "SOFT" 0, "WONK" 0; font-weight: 400; font-size: clamp(1.6rem, 2.7vw, 2.35rem); line-height: 1.2; color: var(--cream); letter-spacing: -0.02em; margin-bottom: 1.4rem; }
.contact { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.35rem; font-size: 1.05rem; }
.copy { font: inherit; font-size: 0.78rem; font-weight: 500; color: var(--cream); background: transparent; border: 1px solid var(--line); border-radius: 999px; padding: 0.15rem 0.7rem; margin-left: 0.4rem; cursor: pointer; vertical-align: 0.15em; }
.copy:hover { border-color: var(--cream); }
.portrait { margin: 0; width: 85%; justify-self: end; align-self: start; }
.portrait img { width: 100%; height: auto; border-radius: 4px; }
.portrait-empty { aspect-ratio: 4 / 5; width: 100%; max-width: 100%; border-radius: 4px; }
.portrait img { object-fit: cover; }
.portrait-empty { background: var(--tile); border: 1px solid var(--line); display: grid; place-content: center; justify-items: center; gap: 0.5rem; padding: 1.5rem; text-align: center; }
.hint { font-size: 0.8rem; color: var(--cream-2); }

/* Work */
.work { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter) clamp(4rem, 8vw, 7rem); }
.work-head { display: grid; gap: 1rem; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.jump { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 0.6rem; }
.jump a { text-decoration: none; font-size: 0.9rem; border: 1px solid var(--line); border-radius: 999px; padding: 0.35rem 1rem; transition: border-color 0.2s, background-color 0.2s; }
.jump a:hover { border-color: var(--cream); background: var(--tile); }

.pillar { display: grid; gap: clamp(1.5rem, 3vw, 2.2rem); padding: clamp(2.5rem, 5vw, 4rem) 0; border-top: 1px solid var(--line); }
.pillar-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 0.5rem 2rem; }
.pillar-name { margin: 0; font-family: var(--title); font-variation-settings: "opsz" 144, "SOFT" 0, "WONK" 0; font-weight: 400; font-size: clamp(2.4rem, 6vw, 5.2rem); line-height: 1; letter-spacing: -0.02em; }
.pillar-line { margin: 0; color: var(--cream-2); max-width: 32ch; }

/* Tile boards */
.board { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; min-width: 0; }
.tile {
  --mx: 50%; --my: 50%;
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; flex-direction: column; gap: 0.7rem;
  min-height: 15rem; padding: 1.4rem 1.4rem 1.3rem;
  border-radius: 16px; background: var(--tile); border: 1px solid var(--line);
  transition: border-color 0.3s, transform 0.4s var(--ease);
}
.tile::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity 0.35s;
  background: radial-gradient(420px circle at var(--mx) var(--my), hsl(var(--glow-h) 45% 72% / 0.22), transparent 60%);
}
.tile:hover { border-color: hsl(var(--glow-h) 40% 75% / 0.5); transform: translateY(-2px); }
.tile:hover::before { opacity: 1; }
.tile-wide { grid-column: span 2; }
.tile-full { grid-column: 1 / -1; }
.tile-full:has(> .t-photo) { padding-left: calc(50% + 1.4rem); }
.tile-full > .t-photo { position: absolute; left: 0; top: 0; bottom: 0; width: 50%; margin: 0; aspect-ratio: auto; border-bottom: 0; border-right: 1px solid var(--line); }
.tile-quiet { min-height: 0; }
.t-tag { align-self: flex-start; font-size: 0.7rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--cream-2); }
.t-hook { margin: auto 0 0; font-family: var(--title); font-variation-settings: "opsz" 144, "SOFT" 0, "WONK" 0; font-weight: 400; font-size: clamp(2.6rem, 4.4vw, 4rem); line-height: 0.95; letter-spacing: -0.02em; }
.tile:not(.tile-wide):not(.tile-full) .t-hook { font-size: clamp(2rem, 3vw, 2.8rem); overflow-wrap: anywhere; }
.tile-quiet .t-hook { margin-top: 0.2rem; font-size: clamp(2rem, 3.2vw, 2.8rem); }
.t-arrow { font-family: var(--sans); font-weight: 200; font-size: 0.7em; vertical-align: 0.08em; }
.t-cap { margin: 0; font-size: 0.95rem; line-height: 1.5; color: var(--cream); max-width: 40ch; }
.t-org { margin: 0.2rem 0 0; padding-top: 0.7rem; border-top: 1px solid var(--line); font-size: 0.85rem; font-weight: 600; display: flex; flex-wrap: wrap; gap: 0.2rem 0.6rem; }
.t-org span { font-weight: 400; color: var(--cream-2); }
.t-org .ph { color: var(--ph-ink); font-weight: 500; }

/* Sub-groups inside a pillar (Mentally: industry / research / community) */
.group + .group { margin-top: clamp(1.6rem, 3vw, 2.4rem); }
.group-label { display: flex; align-items: center; gap: 0.9rem; margin: 0 0 0.8rem; font-size: 0.72rem; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: var(--cream-2); }
.group-label::after { content: ""; flex: 1; height: 1px; background: var(--line); }

/* Tile photos: on top in single tiles, on the left half in wide tiles.
   To add one: replace the <span class="ph"> inside .t-photo with <img src="assets/NAME.jpg" alt="..."> */
.t-photo { margin: -1.4rem -1.4rem 0.5rem; aspect-ratio: 4 / 3; overflow: hidden; display: grid; place-items: center; padding: 1rem; text-align: center;
  background: linear-gradient(160deg, rgba(228, 223, 243, 0.08), rgba(228, 223, 243, 0.02)); border-bottom: 1px solid var(--line); }
.t-photo:has(img) { padding: 0; border-bottom: 0; }
.t-photo img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.8s var(--ease); }
.tile:hover .t-photo img { transform: scale(1.04); }
.tile-wide:has(> .t-photo) { padding-left: calc(50% + 1.4rem); }
.tile-wide > .t-photo { position: absolute; left: 0; top: 0; bottom: 0; width: 50%; margin: 0; aspect-ratio: auto; border-bottom: 0; border-right: 1px solid var(--line); }
.tile-wide > .t-photo:has(img) { border-right: 0; }
.tile-wide .t-hook { margin-top: auto; font-size: clamp(2.2rem, 3.4vw, 3.2rem); }

/* Speaking & Features */
.speaking { max-width: var(--max); margin: 0 auto; padding: clamp(2rem, 5vw, 3rem) var(--gutter) clamp(5rem, 10vw, 9rem); border-top: 1px solid var(--line); }
.circles { list-style: none; margin: clamp(2rem, 4vw, 3rem) 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 3vw, 2.5rem); }
.circle {
  --mx: 50%; --my: 50%;
  position: relative; overflow: hidden; isolation: isolate;
  aspect-ratio: 1; max-width: 100%; border-radius: 50%; border: 1px solid var(--line); background: var(--tile);
  display: grid; place-content: center; justify-items: center; text-align: center; gap: 0.5rem; padding: 14%;
  transition: border-color 0.3s;
}
.circle::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity 0.35s; background: radial-gradient(260px circle at var(--mx) var(--my), hsl(var(--glow-h) 45% 72% / 0.22), transparent 65%); }
.circle:hover { border-color: hsl(var(--glow-h) 40% 75% / 0.5); }
.circle:hover::before { opacity: 1; }
.c-top { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--cream-2); }
.c-title { font-family: var(--title); font-variation-settings: "opsz" 144, "SOFT" 0, "WONK" 0; font-weight: 400; font-size: clamp(1.6rem, 3vw, 2.6rem); line-height: 1; letter-spacing: -0.02em; }
.c-place { font-size: 0.9rem; color: var(--cream-2); }
.features { margin-top: clamp(2.5rem, 5vw, 4rem); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 3fr); gap: 1rem clamp(2rem, 5vw, 4.5rem); align-items: baseline; }
.features ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.8rem 2.2rem; font-family: var(--title); font-variation-settings: "opsz" 144, "SOFT" 0, "WONK" 0; font-size: clamp(1.4rem, 2.2vw, 1.9rem); letter-spacing: -0.02em; }
.features a { text-decoration: none; border-bottom: 1px solid var(--line); }
.also { margin: 2.5rem 0 0; color: var(--cream-2); }

/* Book */
.book { max-width: var(--max); margin: 0 auto; padding: clamp(2rem, 5vw, 3rem) var(--gutter) clamp(5rem, 10vw, 8rem); border-top: 1px solid var(--line); }
.book-h { margin: 0 0 1rem; font-family: var(--title); font-variation-settings: "opsz" 144, "SOFT" 0, "WONK" 0; font-weight: 400; font-size: clamp(3.4rem, 9vw, 8rem); letter-spacing: -0.02em; line-height: 0.95; }
.book p { margin: 0 0 2rem; max-width: 46ch; font-size: 1.12rem; color: var(--cream-2); }
.actions { display: flex; flex-wrap: wrap; gap: 0.8rem; }
.btn { display: inline-flex; align-items: center; min-height: 50px; padding: 0 1.8rem; border-radius: 999px; background: var(--cream); color: var(--olive); font-weight: 500; text-decoration: none; border: 1px solid var(--cream); transition: background-color 0.25s, color 0.25s; }
.btn:hover { background: transparent; color: var(--cream); }
.btn-ghost { background: transparent; color: var(--cream); }
.btn-ghost:hover { background: var(--cream); color: var(--olive); }

.foot { max-width: var(--max); margin: 0 auto; padding: 1.8rem var(--gutter) 2.6rem; border-top: 1px solid var(--line); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 0.8rem; font-size: 0.9rem; color: var(--cream-2); }
.foot-links { display: flex; flex-wrap: wrap; gap: 0.4rem 1rem; align-items: center; }

.toast { position: fixed; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom, 0px)); transform: translate(-50%, 16px); background: var(--cream); color: var(--olive); padding: 0.7rem 1.2rem; border-radius: 999px; font-weight: 500; font-size: 0.9rem; opacity: 0; pointer-events: none; z-index: 50; transition: opacity 0.25s, transform 0.35s var(--ease); }
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }

@media (max-width: 1000px) {
  .board { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .intro, .pillar, .features { grid-template-columns: minmax(0, 1fr); }
  .portrait { max-width: 420px; }
  .circles { grid-template-columns: minmax(0, 1fr); max-width: 340px; }
}
@media (max-width: 700px) {
  .bar-inner { flex-wrap: wrap; row-gap: 0.5rem; }
  .bar nav { margin-left: 0; width: 100%; }
  .bar ul { gap: 0.6rem 1.1rem; flex-wrap: wrap; }
}
@media (max-width: 560px) {
  .tile-wide:has(> .t-photo) { padding-left: 1.4rem; }
  .tile-wide > .t-photo { position: static; width: auto; margin: -1.4rem -1.4rem 0.5rem; aspect-ratio: 4 / 3; border-right: 0; border-bottom: 1px solid var(--line); }
  .board { grid-template-columns: minmax(0, 1fr); }
  .tile-wide, .tile-full { grid-column: auto; }
  .tile { min-height: 12rem; }
  .hero-h .r2, .hero-h .r3 { padding-left: 0; }
  .hero-sub { text-align: left; margin-left: 0; }
  .bar nav a { font-size: 0.88rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}

.book .book-email { margin: 1.6rem 0 0; font-size: 1rem; color: var(--cream-2); }
.block .story-turn { font-family: var(--sans); font-size: clamp(1.15rem, 1.6vw, 1.4rem); font-weight: 500; color: var(--cream); margin: 0 0 1.4rem; }
.c-link { color: inherit; text-decoration: none; } .c-link:hover { text-decoration: underline; }
.t-cap a { text-underline-offset: 0.2em; }
.t-photo img[src*="asian-hall"] { object-position: 50% 15%; }

/* Media strip: slow auto-scrolling marquee, no labels */
.media { margin-top: clamp(2rem, 4vw, 3rem); overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.strip { list-style: none; margin: 0; padding: 0; display: flex; gap: 0.9rem; width: max-content; animation: strip-move 70s linear infinite; }
.media:hover .strip, .media:focus-within .strip { animation-play-state: paused; }
.strip li { flex: 0 0 auto; }
.strip figure { margin: 0; }
.strip figcaption { margin-top: 0.5rem; font-size: 0.78rem; line-height: 1.3; color: var(--cream-2); white-space: nowrap; }
.strip img { height: clamp(13rem, 22vw, 18rem); width: auto; display: block; border-radius: 4px; border: 1px solid var(--line); }
@keyframes strip-move { to { transform: translateX(calc(-50% - 0.45rem)); } }
@media (prefers-reduced-motion: reduce) { .media { overflow-x: auto; -webkit-mask-image: none; mask-image: none; } .strip { animation: none; } }

.t-photo img[src*="model-gala"] { object-position: 52% 30%; }

/* Uniform tiles: tag and title sit at the top, org line pins to the bottom */
.t-hook, .tile-wide .t-hook, .tile-quiet .t-hook, .tile:not(.tile-wide):not(.tile-full) .t-hook { margin-top: 0.25rem; }
.t-org { margin-top: auto; }
.t-cap + .t-org, .t-cap { margin-bottom: 0; }

.pillar-line { max-width: 46ch; }

.t-photo img[src*="refuel-logo"] { object-fit: contain; }

.t-photo img[src*="refuel-booth"] { object-position: 35% 10%; }
.t-photo img[src*="ucla-royce"] { object-position: 45% 50%; }
.t-photo:has(img[src*="refuel-logo"]) { position: absolute; }
.t-photo img[src*="refuel-logo"] { position: absolute; inset: 0; width: 100%; height: 100%; }

/* Photo opacity */
.t-photo img, .portrait img, .strip img { opacity: 0.9; }
.t-photo img[src*="refuel-logo"] { opacity: 0.6; }

/* Smaller speaking circles, five across */
.circles { grid-template-columns: repeat(auto-fill, minmax(10rem, 1fr)); gap: clamp(0.8rem, 1.6vw, 1.4rem); }
.circle { padding: 9%; gap: 0.35rem; }
.c-title { font-size: clamp(1.15rem, 1.7vw, 1.55rem); }
.c-top { font-size: 0.66rem; }
.c-place { font-size: 0.76rem; line-height: 1.3; }
@media (max-width: 900px) { .circles { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: none; } }
@media (max-width: 380px) { .circle { padding: 5%; } .c-place { font-size: 0.7rem; } .c-title { font-size: 1.05rem; } }
.t-photo img[src*="neurogum"] { object-position: 50% 0%; }

/* Centre the speaking intro and circles */
.speaking .work-intro { text-align: center; }
.circles { display: flex; flex-wrap: wrap; justify-content: center; }
.circles .circle { flex: 0 0 clamp(9.5rem, 17vw, 12.5rem); }
@media (max-width: 900px) { .circles { max-width: none; } .circles .circle { flex-basis: calc(50% - 0.7rem); } }

/* Keep all five speaking bubbles on one line (desktop/tablet) */
@media (min-width: 701px) {
  .circles { flex-wrap: nowrap; }
  .circles .circle { flex: 1 1 0; min-width: 0; max-width: 13rem; }
}
@media (max-width: 700px) { .circles .circle { flex-basis: calc(50% - 0.7rem); } .circles { flex-wrap: wrap; } }
@media (min-width: 701px) and (max-width: 1000px) { .circle { padding: 4%; } .c-title { font-size: 1rem; } .c-place { font-size: 0.64rem; } .c-top { font-size: 0.58rem; } }

/* Project figures */
.t-photo img[src*="fig-"] { object-fit: contain; padding: 0.5rem; opacity: 1; }
.tile:hover .t-photo img[src*="fig-"] { transform: none; }
@media (max-width: 700px) {
  .tile-wide > .t-photo:has(img[src*="refuel-logo"]) { position: relative; }
}
.t-photo img[src*="outdoors"] { object-position: 50% 60%; }

/* Off the clock: three equal tiles */
.board-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.board-3 .t-photo { aspect-ratio: 4 / 3; }
@media (max-width: 700px) { .board-3 { grid-template-columns: minmax(0, 1fr); } }
.t-photo img[src*="parks"] { object-position: 50% 70%; }
.t-link { color: var(--cream); text-decoration: none; display: flex; flex-wrap: wrap; gap: 0.2rem 0.6rem; }
.t-link span { color: var(--cream-2); font-weight: 400; }
.t-link:hover, .t-link:focus-visible { text-decoration: underline; text-underline-offset: 3px; }

/* Project figures row */
.board-projects { margin-top: 14px; }
.tile-fig .t-photo { aspect-ratio: 7 / 6; padding: 0; }
.tile-fig .t-photo img { position: static; width: 100%; height: 100%; object-fit: contain; padding: 0.6rem; }

/* Line diagrams */
.t-diagram { display: block; padding: 1.6rem; }
.t-diagram svg { width: 100%; height: 100%; display: block; }

/* ===== Phone experience ===== */
.menu-btn { display: none; }
@media (max-width: 700px) {
  /* Compact header with a full-screen menu */
  .bar-inner { flex-wrap: nowrap; padding-top: 14px; padding-bottom: 14px; }
  .menu-btn { display: inline-flex; align-items: center; gap: 0.55rem; margin-left: auto; min-height: 44px; padding: 0 0.2rem 0 0.9rem; background: none; border: 0; color: var(--cream); font: inherit; font-size: 0.95rem; cursor: pointer; position: relative; z-index: 31; }
  .menu-lines, .menu-lines::before { display: block; width: 22px; height: 1.5px; background: currentColor; transition: transform 0.3s var(--ease); }
  .menu-lines { position: relative; transform: translateY(-3px); }
  .menu-lines::before { content: ""; position: absolute; left: 0; top: 6px; }
  .menu-open .menu-lines { transform: translateY(0) rotate(45deg); }
  .menu-open .menu-lines::before { transform: translateY(-6px) rotate(-90deg); }
  .bar nav { position: fixed; inset: 0; z-index: 30; width: auto; margin: 0; background: rgba(46, 51, 30, 0.97); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); display: flex; align-items: center; padding: 6rem var(--gutter) 3rem; opacity: 0; visibility: hidden; transition: opacity 0.3s, visibility 0.3s; }
  .menu-open .bar nav { opacity: 1; visibility: visible; }
  .bar nav ul { flex-direction: column; align-items: flex-start; gap: 1.4rem; }
  .bar nav a { font-family: var(--title); font-variation-settings: "opsz" 144, "SOFT" 0, "WONK" 0; font-weight: 350; font-size: clamp(2.2rem, 10vw, 3rem); line-height: 1.05; letter-spacing: -0.02em; opacity: 1; transform: translateY(12px); transition: transform 0.45s var(--ease); }
  .menu-open .bar nav a { transform: none; }
  .bar nav a.nav-cta { font-family: var(--sans); font-size: 1.05rem; padding: 0.95rem 1.8rem; margin-top: 0.8rem; display: inline-block; }
  body.menu-open { overflow: hidden; }
  .brand { position: relative; z-index: 31; }

  /* Swipeable rows instead of a very long stack */
  .board { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; margin-inline: calc(-1 * var(--gutter)); padding: 2px var(--gutter) 6px; scroll-padding-inline: var(--gutter); scrollbar-width: none; -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain; }
  .board::-webkit-scrollbar { display: none; }
  .board > .tile { flex: 0 0 86%; scroll-snap-align: start; min-width: 0; }
  .board > .tile:only-child { flex-basis: 100%; }
  .board > .tile > .t-photo { aspect-ratio: 16 / 11; }
  .board-projects > .tile > .t-photo { aspect-ratio: 7 / 6; }
  .swipe-hint { display: flex; gap: 6px; justify-content: center; margin-top: 12px; }
  .swipe-hint span { width: 6px; height: 6px; border-radius: 50%; background: var(--cream); opacity: 0.25; transition: opacity 0.3s, width 0.3s; }
  .swipe-hint span.on { opacity: 0.9; width: 16px; border-radius: 3px; }

  /* Comfortable tap targets */
  .feat-links a, .features a, .foot-links a { display: inline-block; padding-block: 0.45rem; }
  .t-link { min-height: 32px; align-items: center; }
}
@media (min-width: 701px) { .swipe-hint { display: none; } }

/* Gentle reveal as things scroll into view */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }
@media (max-width: 700px) {
  .hero-h { font-size: clamp(3rem, 15.5vw, 4.6rem); }
  .hero-h .r1 { padding-left: 0; }
  .hero-h .r2 { padding-left: 9%; }
  .hero-h .r3 { padding-left: 20%; }
}

/* v84: centered mission, tighter Work→Speaking gap, media arrows */
.work-head .work-intro { text-align: center; font-size: clamp(2.3rem, 4.8vw, 4rem); line-height: 1.08; max-width: 34ch; margin: 0.4rem auto 0.6rem; }
.work-head .jump { justify-content: center; }
.work { padding-bottom: 0; }
.work .pillar:last-child { padding-bottom: clamp(1.5rem, 3vw, 2.5rem); }

.media { position: relative; overflow-x: auto; scrollbar-width: none; overscroll-behavior-x: contain; }
.media::-webkit-scrollbar { display: none; }
.media .strip { animation: none; }
.media-wrap { position: relative; }
.media-btn { position: absolute; top: calc(50% - 0.9rem); transform: translateY(-50%); z-index: 2; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); background: rgba(56, 62, 36, 0.72); color: var(--cream); font: inherit; font-size: 1.2rem; line-height: 1; display: grid; place-items: center; cursor: pointer; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); transition: background-color 0.2s, border-color 0.2s; }
.media-btn:hover { border-color: var(--cream); background: rgba(56, 62, 36, 0.92); }
.media-btn.prev { left: 6px; } .media-btn.next { right: 6px; }

/* ==========================================================
   v100 "Signal" boxes: keep the boxes, make them hers.
   Each pillar has its own accent and its own biosignal trace
   (EEG for Mentally, EMG for Physically, breath for Consciously,
   heartbeat for Beyond). Boxes are flatter and tighter-cornered,
   sized by importance, with a lab-label footer.
   ========================================================== */
#mentally    { --accent: 252 52% 84%; --trace: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A//www.w3.org/2000/svg%27%20width%3D%27160%27%20height%3D%2716%27%20viewBox%3D%270%200%20160%2016%27%3E%3Cpath%20d%3D%27M0%2C8.9%20L2%2C10.8%20L4%2C10.6%20L6%2C10.2%20L8%2C9.6%20L10%2C8.7%20L12%2C9.1%20L14%2C10.7%20L16%2C9.0%20L18%2C7.1%20L20%2C6.1%20L22%2C3.6%20L24%2C4.1%20L26%2C4.9%20L28%2C7.2%20L30%2C8.2%20L32%2C9.7%20L34%2C10.0%20L36%2C9.1%20L38%2C9.7%20L40%2C10.5%20L42%2C10.5%20L44%2C11.7%20L46%2C10.2%20L48%2C7.4%20L50%2C4.5%20L52%2C4.5%20L54%2C4.0%20L56%2C5.8%20L58%2C7.6%20L60%2C8.2%20L62%2C8.7%20L64%2C7.7%20L66%2C8.7%20L68%2C9.3%20L70%2C11.7%20L72%2C12.7%20L74%2C11.3%20L76%2C9.7%20L78%2C7.3%20L80%2C6.4%20L82%2C4.6%20L84%2C5.3%20L86%2C5.7%20L88%2C6.8%20L90%2C6.6%20L92%2C6.2%20L94%2C6.6%20L96%2C7.6%20L98%2C10.1%20L100%2C11.8%20L102%2C13.3%20L104%2C12.6%20L106%2C11.0%20L108%2C8.2%20L110%2C5.8%20L112%2C6.5%20L114%2C7.0%20L116%2C7.3%20L118%2C6.5%20L120%2C6.0%20L122%2C4.6%20L124%2C6.0%20L126%2C7.2%20L128%2C9.2%20L130%2C10.9%20L132%2C13.0%20L134%2C12.4%20L136%2C9.3%20L138%2C8.8%20L140%2C7.4%20L142%2C6.9%20L144%2C7.3%20L146%2C7.6%20L148%2C6.6%20L150%2C3.9%20L152%2C4.2%20L154%2C4.1%20L156%2C7.3%20L158%2C9.2%20L160%2C11.9%27%20fill%3D%27none%27%20stroke%3D%27black%27%20stroke-width%3D%271.2%27%20stroke-linejoin%3D%27round%27%20stroke-linecap%3D%27round%27/%3E%3C/svg%3E"); }
#physically  { --accent: 46 62% 70%;  --trace: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A//www.w3.org/2000/svg%27%20width%3D%27160%27%20height%3D%2716%27%20viewBox%3D%270%200%20160%2016%27%3E%3Cpath%20d%3D%27M0%2C8.3%20L2%2C8.0%20L4%2C8.3%20L6%2C7.9%20L8%2C7.7%20L10%2C8.1%20L12%2C7.7%20L14%2C7.8%20L16%2C7.9%20L18%2C8.1%20L20%2C7.8%20L22%2C7.7%20L24%2C8.2%20L26%2C7.9%20L28%2C8.3%20L30%2C8.2%20L32%2C7.9%20L34%2C8.0%20L36%2C8.0%20L38%2C8.1%20L40%2C8.1%20L42%2C8.0%20L44%2C8.1%20L46%2C8.3%20L48%2C8.0%20L50%2C8.3%20L52%2C7.4%20L54%2C8.8%20L56%2C8.8%20L58%2C6.8%20L60%2C8.6%20L62%2C7.2%20L64%2C9.8%20L66%2C10.6%20L68%2C11.4%20L70%2C4.6%20L72%2C2.8%20L74%2C12.3%20L76%2C12.4%20L78%2C10.7%20L80%2C4.6%20L82%2C13.7%20L84%2C11.2%20L86%2C10.2%20L88%2C2.8%20L90%2C5.5%20L92%2C4.8%20L94%2C9.7%20L96%2C5.7%20L98%2C7.1%20L100%2C9.8%20L102%2C7.1%20L104%2C7.6%20L106%2C7.3%20L108%2C8.3%20L110%2C7.9%20L112%2C8.3%20L114%2C7.9%20L116%2C8.2%20L118%2C8.0%20L120%2C8.2%20L122%2C7.9%20L124%2C8.2%20L126%2C7.8%20L128%2C8.1%20L130%2C8.1%20L132%2C8.0%20L134%2C8.0%20L136%2C8.2%20L138%2C8.0%20L140%2C8.1%20L142%2C7.9%20L144%2C8.0%20L146%2C7.7%20L148%2C7.9%20L150%2C7.8%20L152%2C8.0%20L154%2C8.2%20L156%2C8.1%20L158%2C8.0%20L160%2C8.0%27%20fill%3D%27none%27%20stroke%3D%27black%27%20stroke-width%3D%271.2%27%20stroke-linejoin%3D%27round%27%20stroke-linecap%3D%27round%27/%3E%3C/svg%3E"); }
#consciously { --accent: 105 30% 72%; --trace: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A//www.w3.org/2000/svg%27%20width%3D%27160%27%20height%3D%2716%27%20viewBox%3D%270%200%20160%2016%27%3E%3Cpath%20d%3D%27M0%2C8.0%20L2%2C8.6%20L4%2C9.2%20L6%2C9.8%20L8%2C10.4%20L10%2C10.8%20L12%2C11.2%20L14%2C11.6%20L16%2C11.8%20L18%2C12.0%20L20%2C12.0%20L22%2C12.0%20L24%2C11.8%20L26%2C11.6%20L28%2C11.2%20L30%2C10.8%20L32%2C10.4%20L34%2C9.8%20L36%2C9.2%20L38%2C8.6%20L40%2C8.0%20L42%2C7.4%20L44%2C6.8%20L46%2C6.2%20L48%2C5.6%20L50%2C5.2%20L52%2C4.8%20L54%2C4.4%20L56%2C4.2%20L58%2C4.0%20L60%2C4.0%20L62%2C4.0%20L64%2C4.2%20L66%2C4.4%20L68%2C4.8%20L70%2C5.2%20L72%2C5.6%20L74%2C6.2%20L76%2C6.8%20L78%2C7.4%20L80%2C8.0%20L82%2C8.6%20L84%2C9.2%20L86%2C9.8%20L88%2C10.4%20L90%2C10.8%20L92%2C11.2%20L94%2C11.6%20L96%2C11.8%20L98%2C12.0%20L100%2C12.0%20L102%2C12.0%20L104%2C11.8%20L106%2C11.6%20L108%2C11.2%20L110%2C10.8%20L112%2C10.4%20L114%2C9.8%20L116%2C9.2%20L118%2C8.6%20L120%2C8.0%20L122%2C7.4%20L124%2C6.8%20L126%2C6.2%20L128%2C5.6%20L130%2C5.2%20L132%2C4.8%20L134%2C4.4%20L136%2C4.2%20L138%2C4.0%20L140%2C4.0%20L142%2C4.0%20L144%2C4.2%20L146%2C4.4%20L148%2C4.8%20L150%2C5.2%20L152%2C5.6%20L154%2C6.2%20L156%2C6.8%20L158%2C7.4%20L160%2C8.0%27%20fill%3D%27none%27%20stroke%3D%27black%27%20stroke-width%3D%271.2%27%20stroke-linejoin%3D%27round%27%20stroke-linecap%3D%27round%27/%3E%3C/svg%3E"); }
#beyond      { --accent: 18 55% 76%;  --trace: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A//www.w3.org/2000/svg%27%20width%3D%27160%27%20height%3D%2716%27%20viewBox%3D%270%200%20160%2016%27%3E%3Cpath%20d%3D%27M0%2C9%20L56%2C9%20L60%2C7.5%20L64%2C9%20L70%2C9%20L73%2C10.5%20L77%2C1.5%20L81%2C14.5%20L84%2C9%20L92%2C9%20L98%2C6.5%20L104%2C9%20L160%2C9%27%20fill%3D%27none%27%20stroke%3D%27black%27%20stroke-width%3D%271.2%27%20stroke-linejoin%3D%27round%27%20stroke-linecap%3D%27round%27/%3E%3C/svg%3E"); }

.tile { border-radius: 6px; background: hsl(var(--accent, 252 52% 84%) / 0.045); border: 1px solid hsl(var(--accent, 252 52% 84%) / 0.2); transition: border-color 0.3s; }
.tile::before { display: none; }
.tile:hover { transform: none; border-color: hsl(var(--accent) / 0.55); }
.tile:hover .t-photo img { transform: none; }
.t-photo, .t-photo img { border-radius: 0; }
.tile-wide > .t-photo, .tile-full > .t-photo { border-right: 1px solid hsl(var(--accent) / 0.2); }
.t-photo img { opacity: 1; }

/* pillar accent on labels and names */
.pillar-name { color: hsl(var(--accent, 252 52% 84%)); }
.t-tag { color: hsl(var(--accent)); font-weight: 600; letter-spacing: 0.12em; }
.group-label { color: hsl(var(--accent) / 0.85); }
.group-label::after { background: hsl(var(--accent) / 0.25); }
.pillar { border-top-color: hsl(var(--accent) / 0.25); }

/* lab-label footer: the pillar's signal trace, then name left / role right */
.t-org { position: relative; border-top: 0; padding-top: 1.35rem; justify-content: space-between; align-items: baseline; }
.t-org::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 16px; background: hsl(var(--accent) / 0.55);
  -webkit-mask: var(--trace) 0 0 / 160px 16px repeat-x; mask: var(--trace) 0 0 / 160px 16px repeat-x; }
.tile:hover .t-org::before { background: hsl(var(--accent)); animation: trace-run 2.4s linear infinite; }
@keyframes trace-run { to { -webkit-mask-position: -160px 0; mask-position: -160px 0; } }
@media (prefers-reduced-motion: reduce) { .tile:hover .t-org::before { animation: none; } }
.t-org > a.t-link { width: 100%; justify-content: space-between; }
.t-org span { text-align: right; }

/* less crushed display tracking; plain jump links */
.hero-h { letter-spacing: -0.025em; }
.jump a { border-radius: 4px; }

/* ==========================================================
   v110 Boxes shaped by their photos.
   Photos keep their own proportions (no forced crop); box widths
   follow the photo (tall photo = narrow box, wide photo = wide box).
   Inside: title and year on one line, one sentence, a quiet credit
   line under the pillar's signal trace. No category label.
   ========================================================== */
.tile { display: flex; flex-direction: column; gap: 0; padding: 0; min-height: 0; overflow: hidden; }
.tile > .t-photo { position: relative; inset: auto; width: auto; margin: 0; padding: 0; aspect-ratio: auto; border: 0; border-bottom: 1px solid hsl(var(--accent) / 0.2); background: hsl(var(--accent) / 0.05); }
.tile > .t-photo img { position: static; width: 100%; height: auto; object-fit: initial; display: block; }
.tile > .t-photo.t-diagram { aspect-ratio: 21 / 20; display: grid; place-items: center; }
.tile > .t-photo.t-diagram svg { width: 100%; height: 100%; }
.t-body { display: flex; flex-direction: column; gap: 0.75rem; padding: 1.3rem 1.4rem 1.25rem; flex: 1; }
.t-head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; }
.tile .t-head .t-hook { margin: 0; font-size: clamp(1.9rem, 2.6vw, 2.5rem); line-height: 1; letter-spacing: -0.012em; font-weight: 400; overflow-wrap: normal; }
.t-when { flex: none; font-size: 0.82rem; color: hsl(var(--accent)); font-variant-numeric: tabular-nums; letter-spacing: 0.02em; }
.t-cap { margin: 0; color: var(--cream); opacity: 0.86; max-width: 46ch; }
.t-metric { margin: 0; font-family: var(--title); font-variation-settings: "opsz" 144, "SOFT" 0, "WONK" 0; font-size: 1.35rem; line-height: 1.15; color: hsl(var(--accent)); }
.t-credit { position: relative; margin: auto 0 0; padding-top: 1.3rem; font-size: 0.84rem; color: var(--cream-2); }
.t-credit a { color: var(--cream); text-decoration: none; }
.t-credit a:hover { text-decoration: underline; text-underline-offset: 3px; }
.t-credit::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 16px; background: hsl(var(--accent) / 0.5);
  -webkit-mask: var(--trace) 0 0 / 160px 16px repeat-x; mask: var(--trace) 0 0 / 160px 16px repeat-x; }
.tile:hover .t-credit::before { background: hsl(var(--accent)); animation: trace-run 2.4s linear infinite; }
@media (prefers-reduced-motion: reduce) { .tile:hover .t-credit::before { animation: none; } }
.b-fig .t-metric { margin-top: auto; }

/* the Reflex logo sits on a soft panel at its own proportions */
.b-logo > .t-photo { padding: 2.2rem 3rem; }
.b-logo > .t-photo img { opacity: 0.7; }

/* text-only boxes: a bigger title, no photo */
.b-text .t-body { padding-top: 1.6rem; }
.b-text .t-head .t-hook { font-size: clamp(2.2rem, 3.2vw, 3rem); }

/* feature boxes: the one big moment in each section */
.b-feature .t-head .t-hook { font-size: clamp(2.6rem, 4vw, 3.8rem); }

@media (min-width: 701px) {
  .board, .board-3, .board-projects { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 14px; align-items: start; }
  .board > .tile { grid-column: span 6; }
  .board > .s4 { grid-column: span 4; } .board > .s5 { grid-column: span 5; } .board > .s6 { grid-column: span 6; }
  .board > .s7 { grid-column: span 7; } .board > .s12 { grid-column: 1 / -1; }
  /* side-by-side: picture left, words right */
  .board > .b-side { flex-direction: row; align-items: stretch; }
  .board > .b-side > .t-photo { flex: 0 0 46%; border-bottom: 0; border-right: 1px solid hsl(var(--accent) / 0.2); }
  .board > .s12.b-side > .t-photo { flex-basis: 58%; }
  .board > .b-side > .t-photo img { height: 100%; object-fit: cover; }
  .board > .b-side > .t-photo.t-diagram { aspect-ratio: auto; min-height: 20rem; }
  /* rows whose boxes end at different heights keep a straight bottom edge inside the group */
  .board > .tile { align-self: stretch; }
  .board > .tile > .t-photo:not(.t-diagram) { flex: none; }
}
@media (max-width: 700px) {
  .tile > .t-photo { max-height: 62vh; overflow: hidden; }
  .b-side > .t-photo.t-diagram { aspect-ratio: 16 / 10; }
}

/* v111: photos keep their proportions, and grow (cropping gently) only when a row needs it */
.tile > .t-photo:not(.t-diagram) { position: relative; flex: 1 0 auto; aspect-ratio: var(--ar, 4 / 3); overflow: hidden; }
.tile > .t-photo:not(.t-diagram) img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.b-wave > .t-photo.t-diagram { aspect-ratio: 16 / 9; flex: 1 0 auto; }
.b-logo > .t-photo:not(.t-diagram) { padding: 0; }
.b-logo > .t-photo img, .t-photo img[src*="refuel-logo"] { position: absolute; inset: 12% 14%; width: 72%; height: 76%; object-fit: contain; }
.t-photo:has(img[src*="refuel-logo"]) { position: relative; }
.b-fig > .t-photo:not(.t-diagram) { flex: 0 0 auto; }
.b-fig > .t-photo img { object-fit: contain; padding: 0.6rem; }
.t-photo img[src*="crux"] { object-position: 78% 50%; }
.t-photo img[src*="neurogum"] { object-position: 50% 35%; }
.t-photo img[src*="refuel-tall"] { object-position: 45% 62%; }
.t-photo img[src*="model-gala"] { object-position: 50% 30%; }
.t-photo img[src*="neurohack-tall"] { object-position: 60% 30%; }
@media (min-width: 701px) {
  .board > .b-side > .t-photo { flex: 0 0 46%; aspect-ratio: auto; }
  .board > .s12.b-side > .t-photo { flex: 0 0 58%; aspect-ratio: var(--ar); }
  .board > .tile > .t-photo:not(.t-diagram) { flex: 1 0 auto; }
  .board > .b-side > .t-photo:not(.t-diagram) { flex: 0 0 46%; }
  .board > .s12.b-side > .t-photo:not(.t-diagram) { flex: 0 0 58%; }
  .board > .b-fig > .t-photo:not(.t-diagram) { flex: 0 0 auto; }
}
@media (max-width: 700px) {
  .tile > .t-photo:not(.t-diagram) { flex: 0 0 auto; max-height: none; }
  .t-photo img[src*="neurohack-tall"], .t-photo img[src*="refuel-tall"] { object-position: 50% 40%; }
  .tile > .t-photo[style*="1333"], .tile > .t-photo[style*="880"] { aspect-ratio: 4 / 5; }
}
.tile.b-logo > .t-photo:not(.t-diagram) img { inset: 18% 14%; width: 72%; height: 64%; object-fit: contain; opacity: 0.7; }
.tile > .t-photo img[src*="crux"] { object-position: 62% 50%; }
.board > .s4:not(.b-fig) > .t-photo { aspect-ratio: 4 / 3; }

/* v112: everything a size smaller */
.tile .t-head .t-hook { font-size: clamp(1.5rem, 2vw, 1.95rem); }
.b-feature .t-head .t-hook { font-size: clamp(1.9rem, 2.7vw, 2.5rem); }
.b-text .t-head .t-hook { font-size: clamp(1.7rem, 2.3vw, 2.2rem); }
.t-body { padding: 1.05rem 1.2rem 1.05rem; gap: 0.6rem; }
.t-cap { font-size: 0.9rem; line-height: 1.5; }
.t-metric { font-size: 1.15rem; }
.t-credit { font-size: 0.8rem; padding-top: 1.15rem; }
@media (min-width: 701px) {
  .board > .s8 { grid-column: span 8; }
  .board > .tile > .t-photo:not(.t-diagram) { max-height: 21rem; }
  .board > .s12.b-side > .t-photo:not(.t-diagram) { max-height: 24rem; flex-basis: 50%; }
  .b-wave > .t-photo.t-diagram { aspect-ratio: auto; height: 16rem; flex: 0 0 auto; }
  .board > .b-side > .t-photo.t-diagram { min-height: 15rem; }
  .board > .b-fig > .t-photo:not(.t-diagram) { max-height: 15rem; }
  .board > .s4:not(.b-fig) > .t-photo { max-height: 15rem; }
  .board > .s4.b-feature > .t-photo, .board > .s4 > .t-photo[style*="1333"], .board > .s4 > .t-photo[style*="880"] { max-height: 21rem; }
}
.tile.b-logo > .t-photo:not(.t-diagram) { background: hsl(var(--accent) / 0.07); }
.tile.b-logo > .t-photo:not(.t-diagram) img { inset: 7% 6%; width: 88%; height: 86%; opacity: 1; }

/* v113: another size down so the whole body of work reads at a glance */
.pillar-name { font-size: clamp(2.2rem, 4.6vw, 4rem); }
.pillar { padding: clamp(2rem, 4vw, 3rem) 0; gap: clamp(1.2rem, 2.4vw, 1.8rem); }
.group + .group { margin-top: clamp(1.2rem, 2.4vw, 1.8rem); }
.tile .t-head .t-hook { font-size: clamp(1.3rem, 1.7vw, 1.65rem); }
.b-feature .t-head .t-hook { font-size: clamp(1.6rem, 2.2vw, 2.1rem); }
.b-text .t-head .t-hook { font-size: clamp(1.45rem, 1.9vw, 1.85rem); }
.t-body { padding: 0.95rem 1.1rem 0.95rem; gap: 0.5rem; }
.t-cap { font-size: 0.86rem; line-height: 1.5; }
.t-metric { font-size: 1.05rem; }
.t-credit { font-size: 0.76rem; padding-top: 1.05rem; }
.board-quiet .t-credit { padding-top: 0.2rem; }
.board-quiet .t-credit::before { display: none; }
@media (min-width: 701px) {
  .board > .tile > .t-photo:not(.t-diagram) { max-height: 15rem; }
  .board > .s4 > .t-photo[style*="1333"], .board > .s4 > .t-photo[style*="880"],
  .board > .s5.b-feature > .t-photo { max-height: 18rem; }
  .board > .s4:not(.b-fig) > .t-photo { max-height: 12rem; }
  .board > .b-fig > .t-photo:not(.t-diagram) { max-height: 12.5rem; }
  .b-wave > .t-photo.t-diagram { height: 12rem; }
  .board > .b-side > .t-photo.t-diagram { min-height: 12rem; }
  .board > .b-side > .t-photo:not(.t-diagram) { max-height: none; flex-basis: 42%; }
  .board > .s12.b-side > .t-photo:not(.t-diagram) { max-height: 17rem; flex-basis: 46%; }
  .board > .s6.b-side > .t-photo:not(.t-diagram), .board > .s7.b-side > .t-photo:not(.t-diagram) { min-height: 11rem; }
}
.t-photo img[src*="model-gala"] { object-position: 55% 22%; }

/* v114 keep the original site's breathing room: centred frame, even
   inner margins, and text that fills its box instead of hugging one side */
.t-body { padding: 1.4rem 1.5rem 1.3rem; gap: 0.6rem; }
.t-cap { max-width: none; }
.b-text .t-cap { max-width: 62ch; }
@media (min-width: 701px) {
  .board > .b-side > .t-photo.t-diagram { min-height: 0; height: auto; flex: 0 0 40%; }
  .board > .b-wave.b-side > .t-photo.t-diagram { aspect-ratio: auto; height: auto; }
  .board > .b-logo.b-side > .t-photo:not(.t-diagram) { flex-basis: 44%; min-height: 15rem; }
}

/* v115 portrait photos sit beside their words; landscape ones sit on top */
@media (min-width: 701px) {
  .board > .b-tall.b-side > .t-photo:not(.t-diagram) { flex-basis: 44%; min-height: 21rem; max-height: none; }
  .board > .b-tall.b-side > .t-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
  .board > .s6:not(.b-side) > .t-photo:not(.t-diagram) { max-height: 17rem; }
}
/* beat the old tile-title rule (higher specificity) so the sizes above apply */
.tile:not(.tile-wide):not(.tile-full) .t-head .t-hook { font-size: clamp(1.6rem, 2.2vw, 2.15rem); overflow-wrap: normal; }
.tile.b-feature:not(.tile-wide):not(.tile-full) .t-head .t-hook { font-size: clamp(1.9rem, 2.7vw, 2.6rem); }
.tile.b-text:not(.tile-wide):not(.tile-full) .t-head .t-hook { font-size: clamp(1.75rem, 2.4vw, 2.35rem); }
/* v116 NEUROHACK + hackathon photos closer to square */
@media (min-width: 701px) {
  .board > .b-nh.b-side > .t-photo:not(.t-diagram) { flex-basis: 54%; min-height: 0; }
  .board > .b-hack > .t-photo:not(.t-diagram) { max-height: 20rem; min-height: 20rem; }
  .board > .b-hack > .t-photo img { object-position: 60% 40%; }
}
@media (min-width: 701px) {
  .board > .b-refuel > .t-photo:not(.t-diagram) { max-height: 19rem; min-height: 19rem; }
}
/* project result lines in the plain body font */
.t-metric { font-family: inherit; font-variation-settings: normal; font-size: 0.95rem; font-weight: 500; line-height: 1.4; letter-spacing: 0; }

/* v117 traces only where they mean something: brainwaves for Mentally, a heartbeat for Physically */
#physically { --trace: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A//www.w3.org/2000/svg%27%20width%3D%27160%27%20height%3D%2716%27%20viewBox%3D%270%200%20160%2016%27%3E%3Cpath%20d%3D%27M0%2C9%20L56%2C9%20L60%2C7.5%20L64%2C9%20L70%2C9%20L73%2C10.5%20L77%2C1.5%20L81%2C14.5%20L84%2C9%20L92%2C9%20L98%2C6.5%20L104%2C9%20L160%2C9%27%20fill%3D%27none%27%20stroke%3D%27black%27%20stroke-width%3D%271.2%27%20stroke-linejoin%3D%27round%27%20stroke-linecap%3D%27round%27/%3E%3C/svg%3E"); }
#consciously .t-credit::before, #beyond .t-credit::before { display: none; }
#consciously .t-credit, #beyond .t-credit { padding-top: 0.6rem; }
/* v118 Reflex: smaller picture panel, phones at 90% */
@media (min-width: 701px) {
  .board > .b-logo.b-side > .t-photo:not(.t-diagram) { flex-basis: 36%; min-height: 13rem; }
}
.tile.b-logo > .t-photo:not(.t-diagram) img { inset: 12% 10%; width: 80%; height: 76%; opacity: 0.9; }
.b-podcast > .t-photo img { opacity: 0.65; }
@media (min-width: 701px) { .board > .b-podcast > .t-photo:not(.t-diagram) { max-height: none; aspect-ratio: 16 / 9; flex: none; } }
@media (min-width: 701px) { .board > .b-climate > .t-photo:not(.t-diagram) { max-height: none; flex: 1 1 auto; } .board > .b-climate > .t-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 35% 40%; } }
@media (min-width: 701px) { .board > .b-climate > .t-photo:not(.t-diagram) { flex: 1 1 0; height: 0; min-height: 14rem; aspect-ratio: auto; } }
@media (min-width: 701px) { .board > .b-climate > .t-body { flex: none; } }

/* v120 Kind words: real notes from real people */
.kind { max-width: var(--max); margin: 0 auto; padding: clamp(2rem, 5vw, 3rem) var(--gutter) clamp(3rem, 6vw, 5rem); border-top: 1px solid var(--line); }
.kind-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: start; margin-top: 1.6rem; }
.kind-photo { margin: 0; }
.kind-photo img { display: block; width: 100%; height: auto; border-radius: 4px; transform: rotate(-1.2deg); box-shadow: 0 18px 40px rgba(0,0,0,.28); }
.kind-photo figcaption { margin-top: 1rem; font-size: .82rem; color: var(--cream-2); }
.kind-quotes { display: grid; grid-template-columns: 1fr 1fr; gap: 1.8rem 2rem; }
.kq { margin: 0; padding-top: 1rem; border-top: 1px solid var(--line); }
.kq p { margin: 0 0 .7rem; font-family: var(--title); font-variation-settings: "opsz" 144, "SOFT" 0, "WONK" 0; font-weight: 350; font-size: 1.15rem; line-height: 1.35; color: var(--cream); }
.kq cite { font-style: normal; font-size: .8rem; letter-spacing: .02em; color: var(--cream-2); }
.kq-lead { grid-column: 1 / -1; border-top: 0; padding-top: 0; }
.kq-lead p { font-size: clamp(1.7rem, 2.8vw, 2.5rem); line-height: 1.15; letter-spacing: -0.01em; }
@media (max-width: 800px) { .kind-grid, .kind-quotes { grid-template-columns: minmax(0, 1fr); } .kind-photo { max-width: 26rem; } }
/* v121 a quote lives inside the box it vouches for */
.t-quote { margin: 0.3rem 0 0; padding-left: 0.9rem; border-left: 2px solid hsl(var(--accent) / 0.5); }
.t-quote p { margin: 0 0 0.3rem; font-family: var(--title); font-variation-settings: "opsz" 144, "SOFT" 0, "WONK" 0; font-weight: 350; font-size: 1.02rem; line-height: 1.35; color: var(--cream); }
.t-quote cite { font-style: normal; font-size: 0.76rem; color: var(--cream-2); }
/* v122 Wave across the full width, two leadership notes side by side */
.t-quotes { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; margin-top: 0.4rem; }
.t-quotes .t-quote p { font-size: 0.98rem; }
@media (min-width: 701px) {
  .board > .b-wavefull > .t-photo.t-diagram { flex: 0 0 28%; }
  .board > .b-ng > .t-photo:not(.t-diagram) { flex: 1 1 0; height: 0; min-height: 14rem; max-height: none; aspect-ratio: auto; }
  .board > .b-ng > .t-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
  .board > .b-ng > .t-body { flex: none; }
}
@media (max-width: 700px) { .t-quotes { grid-template-columns: minmax(0, 1fr); } }
@media (min-width: 701px) { .board > .s3 { grid-column: span 3; } }
@media (min-width: 701px) {
  .board > .b-side > .t-body { min-width: 0; }
  .board > .b-nh.b-side > .t-photo:not(.t-diagram) { flex: 0 0 46%; }
}
.b-nh > .t-photo img { object-position: 50% 50% !important; }
/* v123 Refuel + Reflex: both side-by-side, shorter row */
@media (min-width: 701px) {
  .board > .b-refuel.b-side > .t-photo:not(.t-diagram) { flex: 0 0 44%; min-height: 20rem; max-height: none; }
  .board > .b-logo.b-side > .t-photo:not(.t-diagram) { flex-basis: 40%; min-height: 0; }
}
@media (min-width: 701px) { .board > .b-refuel.b-side > .t-photo:not(.t-diagram) { flex-basis: 50%; } .b-refuel > .t-photo img { object-position: 28% 45% !important; } }
@media (min-width: 701px) { #beyond .board > .s6.b-side > .t-photo:not(.t-diagram) { min-height: 15rem; } #beyond .board > .s4:not(.b-fig) > .t-photo:not(.t-diagram) { max-height: 14rem; min-height: 14rem; } }
/* v124 Guest Host side-by-side so the Climate Week row is shorter */
@media (min-width: 701px) {
  .board > .b-podcast.b-side > .t-photo:not(.t-diagram) { flex: 0 0 50%; aspect-ratio: 16 / 9; align-self: center; border-right: 1px solid hsl(var(--accent) / 0.2); }
  .board > .b-podcast.b-side > .t-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
  .board > .b-podcast.b-side { align-items: center; }
  .board > .b-climate > .t-photo:not(.t-diagram) { min-height: 10rem; }
}
@media (min-width: 701px) { .board > .b-podcast.b-side { align-items: stretch; } .board > .b-podcast.b-side > .t-photo:not(.t-diagram) { aspect-ratio: auto; align-self: stretch; flex-basis: 48%; } .board > .b-podcast.b-side > .t-photo img { object-position: 40% 50%; } }
@media (min-width: 701px) { .board > .b-podcast.b-side > .t-photo:not(.t-diagram) { flex-basis: 58%; } .board > .b-podcast.b-side > .t-photo img { object-position: 50% 50%; } #beyond .board > .s6.b-side > .t-photo:not(.t-diagram) { min-height: 17.5rem; } }
@media (min-width: 701px) { .board > .b-podcast.b-side > .t-photo:not(.t-diagram) { flex-basis: 55%; } .board > .b-climate > .t-photo:not(.t-diagram) { min-height: 13rem; } }
/* show the whole podcast cover: letterbox in its own pink, fade the whole panel */
@media (min-width: 701px) { .board > .b-podcast.b-side > .t-photo:not(.t-diagram) { background: rgb(243 163 161); opacity: 0.65; } .board > .b-podcast.b-side > .t-photo img { object-fit: contain; opacity: 1; } }

/* v125 Skills: a quiet typeset index, no chips */
.skills { max-width: var(--max); margin: 0 auto; padding: clamp(2rem, 5vw, 3rem) var(--gutter) clamp(3rem, 6vw, 5rem); border-top: 1px solid var(--line); }
.sk-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem 2.5rem; margin-top: 1.8rem; }
.sk { padding-top: 1rem; border-top: 1px solid var(--line); }
.sk-h { margin: 0 0 .55rem; font-family: var(--title); font-variation-settings: "opsz" 144, "SOFT" 0, "WONK" 0; font-weight: 400; font-size: clamp(1.35rem, 1.8vw, 1.6rem); line-height: 1.1; letter-spacing: -0.01em; color: var(--cream); }
.sk-p { margin: 0; font-size: .95rem; line-height: 1.6; color: var(--cream-2); }
@media (max-width: 900px) { .sk-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .sk-grid { grid-template-columns: minmax(0, 1fr); } }
