/* ─────────────────────────────────────────────
   Design & Travel — portfolio
   Tokens mirror the Bound Voyage DESIGN_TOKENS.md:
   Fraunces 600 display · Schibsted Grotesk 400/500/600
   12px radius for things you look at, 10px for things you choose with
   ───────────────────────────────────────────── */

:root {
  --bg: #faf7f2;
  --card: #fdfbf8;
  --tint: #f2ede5;
  --ink: #1c1a17;
  --muted: #6b6259;
  --navy: #101b3d;
  --terra: #b85c38;
  --terra-ink: #9a4a2a; /* terracotta for TEXT on light surfaces: ≥5:1 on --bg and --tile */
  --brown: #8e4e36;
  --green: #1f3a32;
  --line: #e5dcd0;
  --action-bg: #101b3d;
  --action-fg: #faf7f2;
  --glass-edge: rgba(255, 255, 255, .65);
  --shadow: 0 1px 2px rgba(16, 27, 61, .06), 0 12px 32px rgba(16, 27, 61, .08);

  --mom: #d67e82;
  --dad: #d9a34f;
  --tessa: #9287c4;
  --nolan: #5c9673;

  --side: 0px;
  --gutter: 24px;
  --section: 112px;

  --display: "Fraunces", Georgia, serif;
  --sans: "Schibsted Grotesk", system-ui, -apple-system, sans-serif;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0a1229;
    --card: #101b3d;
    --tint: #16234a;
    --ink: #faf7f2;
    --muted: #b9ae9f;
    --terra: #e08a66;
    --terra-ink: #e08a66;
    --line: #26345c;
    --action-bg: #faf7f2;
    --action-fg: #101b3d;
    --glass-edge: rgba(255, 255, 255, .14);
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 16px 40px rgba(0, 0, 0, .35);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0a1229;
  --card: #101b3d;
  --tint: #16234a;
  --ink: #faf7f2;
  --muted: #b9ae9f;
  --terra: #e08a66;
  --terra-ink: #e08a66;
  --line: #26345c;
  --action-bg: #faf7f2;
  --action-fg: #101b3d;
  --glass-edge: rgba(255, 255, 255, .14);
  --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 16px 40px rgba(0, 0, 0, .35);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 16px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  transition: background .3s, color .3s;
}
img, svg { display: block; }
a { color: inherit; }
b, strong { font-weight: 600; }
h1, h2, h3 { font-family: var(--display); font-weight: 600; margin: 0; letter-spacing: -.01em; }

.eyebrow {
  font-weight: 500; font-size: 12px; letter-spacing: 1.6px;
  text-transform: uppercase; color: var(--muted); margin: 0 0 12px;
}
.ph {
  color: var(--muted); font-style: italic; font-size: 14px;
  border: 1px dashed var(--line); border-radius: 10px; padding: 8px 12px;
  display: inline-block;
}

/* Liquid Glass */
.glass {
  background: color-mix(in srgb, var(--card) 58%, transparent);
  -webkit-backdrop-filter: blur(22px) saturate(1.7);
  backdrop-filter: blur(22px) saturate(1.7);
  border: 1px solid var(--glass-edge);
  box-shadow: inset 0 1px 0 var(--glass-edge), var(--shadow);
}


/* ───────── Top bar ───────── */
.topbar {
  position: fixed; top: 16px; left: var(--side); right: 0; z-index: 10;
  display: flex; justify-content: center; gap: 8px; pointer-events: none;
}
.topbar > * { pointer-events: auto; }
.nav { display: flex; padding: 4px; border-radius: 999px; }
.nav a {
  text-decoration: none; font-size: 14px; font-weight: 500; color: var(--muted);
  padding: 8px 16px; border-radius: 999px; transition: color .2s, background .2s;
}
.nav a:hover, .nav a:focus-visible { color: var(--ink); }
.nav a.active { color: var(--ink); background: color-mix(in srgb, var(--card) 85%, transparent); box-shadow: 0 1px 3px rgba(16,27,61,.12); }
.theme-toggle {
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  cursor: pointer; color: var(--ink);
}
.theme-toggle svg { fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; }
.theme-toggle .moon { display: none; }
:root[data-theme="dark"] .theme-toggle .sun { display: none; }
:root[data-theme="dark"] .theme-toggle .moon { display: block; }


.duo {
  --w: min(820px, calc(100vw - var(--side) - 96px), calc((100vh - 280px) * 1.397));
  --h: calc(var(--w) / 1.397);
  --b: calc(var(--w) * .013);
  --r: calc(var(--w) * .052);
  --frame: linear-gradient(145deg, #3b3f4a, #16181e 45%, #2c2f37);
  all: unset; cursor: pointer; display: block;
  perspective: calc(var(--w) * 3);
  -webkit-tap-highlight-color: transparent;
}
.duo:focus-visible .duo-body { outline: 2px solid var(--terra); outline-offset: 8px; border-radius: var(--r); }
.duo-body {
  position: relative; display: block; width: var(--w); height: var(--h);
  transform-style: preserve-3d;
  transform: translateX(calc(var(--w) * -.25 * (1 - var(--p))));
}
.duo-body::before { /* soft ground shadow that grows as it opens */
  content: ""; position: absolute; left: calc(50% - 50% * var(--p)); right: 0; bottom: -6%; height: 12%;
  background: radial-gradient(closest-side, rgba(16,27,61,.28), transparent);
  filter: blur(8px); transform: translateZ(-2px);
}
.half, .face { position: absolute; top: 0; height: 100%; display: block; background: var(--frame); }
.half.right {
  --rc: calc(var(--r) * (1 - var(--p)));
  left: 50%; width: 50%; border-radius: var(--rc) var(--r) var(--r) var(--rc);
  padding: var(--b) var(--b) var(--b) 0; transform: translateZ(-1px);
}
.leaf {
  position: absolute; left: 0; top: 0; width: 50%; height: 100%; display: block;
  transform-origin: 100% 50%; transform-style: preserve-3d;
  transform: rotateY(calc(180deg * (1 - var(--p))));
}
.face { inset: 0; width: 100%; -webkit-backface-visibility: hidden; backface-visibility: hidden; }
.face.front { border-radius: var(--r) calc(var(--r) * (1 - var(--p))) calc(var(--r) * (1 - var(--p))) var(--r); padding: var(--b) 0 var(--b) var(--b); }
.face.back { transform: rotateY(180deg); border-radius: var(--r); padding: var(--b); }
.face.back .back-slot { display: block; width: 100%; height: 100%; container-type: size; }
.screen-window { position: relative; display: block; width: 100%; height: 100%; overflow: hidden; background: var(--bg); }
.half.right .screen-window { border-radius: 0 calc(var(--r) - var(--b)) calc(var(--r) - var(--b)) 0; }
.face.front .screen-window { border-radius: calc(var(--r) - var(--b)) 0 0 calc(var(--r) - var(--b)); }
.inner-slot { position: absolute; top: 0; left: 0; width: 200%; height: 100%; display: block; container-type: size; }
.half.right .inner-slot { left: -100%; }
.hinge {
  position: absolute; left: calc(50% - 1px); top: var(--b); bottom: var(--b); width: 2px; display: block;
  background: linear-gradient(90deg, rgba(0,0,0,.08), rgba(255,255,255,.35), rgba(0,0,0,.08));
  opacity: calc(var(--p) * .8); transform: translateZ(1px); pointer-events: none;
}

/* App UI inside the device: always Bound Voyage light */
.outer-screen, .inner-screen {
  --bg: #faf7f2; --card: #fdfbf8; --tint: #f2ede5; --ink: #1c1a17; --muted: #6b6259; --line: #e5dcd0;
  --glass-edge: rgba(255,255,255,.7);
  color: var(--ink); background: var(--bg); font-family: var(--sans);
  display: grid; width: 100%; height: 100%; overflow: hidden;
}
.outer-screen {
  border-radius: calc(var(--r) - var(--b));
  grid-template-columns: 1fr 17cqw; padding: 7cqw 0 6cqw 7cqw;
}
.os-content { display: flex; flex-direction: column; min-width: 0; }
.os-eyebrow { display: block; font-weight: 500; font-size: max(6px, 2.5cqw); letter-spacing: .35cqw; text-transform: uppercase; color: var(--muted); }
.outer-screen .os-eyebrow { font-size: 3.2cqw; }
.os-trip { font-family: var(--display); font-weight: 600; font-size: 7.4cqw; line-height: 1.1; margin-top: 1.5cqw; }
.os-num { font-family: var(--display); font-weight: 600; font-size: 34cqw; line-height: .9; margin-top: 6cqw; color: #101b3d; }
.os-sub { font-size: 4.2cqw; color: var(--muted); }
.os-card { display: block; margin-top: 7cqw; background: var(--card); border: 1px solid var(--line); border-radius: 3cqw; padding: 4cqw; }
.os-bar { display: block; height: 1.6cqw; border-radius: 99px; background: var(--tint); margin: 2.5cqw 0 2cqw; overflow: hidden; }
.os-bar i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #101b3d, #b85c38); }
.os-meta { font-size: 3.4cqw; color: var(--muted); }
.facepile { display: flex; margin-top: auto; }
.facepile i {
  width: 9cqw; height: 9cqw; border-radius: 50%; display: grid; place-items: center;
  background: var(--pc); color: #fff; font: 600 3.6cqw/1 var(--sans); font-style: normal;
  border: .7cqw solid var(--bg); margin-right: -2cqw;
}
.rail { display: flex; flex-direction: column; align-items: center; gap: 4cqw; }
.island { width: 7cqw; height: 13cqw; border-radius: 99px; background: #0b0c0f; margin-top: -3cqw; }
.status { font-size: 3.2cqw; font-weight: 600; writing-mode: vertical-rl; }
.rail-btn {
  width: 10cqw; height: 10cqw; border-radius: 50%; display: grid; place-items: center;
  font-size: 5.5cqw; line-height: 1; color: #fff; background: #101b3d;
}
.tabbar { margin-top: auto; display: flex; flex-direction: column; gap: 2cqw; padding: 1.6cqw; border-radius: 99px; }
.tabbar i { width: 10cqw; height: 10cqw; border-radius: 50%; display: grid; place-items: center; color: var(--muted); }
.tabbar i.on { color: #101b3d; background: rgba(16,27,61,.08); }
.tabbar svg { width: 60%; height: 60%; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

/* Inner display: split view across the fold, controls on the trailing edge */
.inner-screen { grid-template-columns: 42% 1fr 8cqw; }
.pane { display: flex; flex-direction: column; min-width: 0; padding: 5cqh 3.4cqw; }
.pane.lead { background: var(--card); border-right: 1px solid var(--line); }
.inner-screen .os-eyebrow { font-size: 1.05cqw; letter-spacing: .15cqw; }
.is-title { font-family: var(--display); font-weight: 600; font-size: 2.6cqw; line-height: 1.15; margin-top: .6cqw; }
.is-meta { font-size: 1.2cqw; color: var(--muted); margin-top: .4cqw; }
.days { display: flex; flex-direction: column; gap: .6cqw; margin-top: 2.6cqw; }
.day {
  display: flex; align-items: center; gap: 1.2cqw; font-size: 1.35cqw; padding: 1cqw 1.2cqw;
  border-radius: 1cqw; border: 1px solid transparent;
}
.day b { font-family: var(--display); font-weight: 600; font-size: 1.9cqw; width: 2.6cqw; }
.day.on { border: 1.5px solid #101b3d; background: rgba(16,27,61,.05); }
.pane.trail { padding-left: 4cqw; }
.looks { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2cqw; margin-top: 2.2cqw; }
.look { display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); border-radius: 1.2cqw; padding: 1cqw; }
.look i {
  display: block; height: 7.5cqw; border-radius: .8cqw; margin-bottom: .8cqw;
  background: linear-gradient(160deg, color-mix(in srgb, var(--pc) 70%, #fff), var(--pc));
}
.look b { font-size: 1.3cqw; line-height: 1.2; }
.look small { font-size: 1.05cqw; color: var(--muted); }
.inner-screen .os-card { margin-top: auto; padding: 1.2cqw 1.6cqw; border-radius: 1.2cqw; }
.inner-screen .os-bar { height: .6cqw; margin: .8cqw 0 0; }
.inner-screen .rail { padding: 4cqh 0; gap: 1.6cqw; border-left: 1px solid var(--line); }
.inner-screen .status { font-size: 1.1cqw; }
.inner-screen .rail-btn { width: 3.6cqw; height: 3.6cqw; font-size: 2.2cqw; }
.inner-screen .tabbar { gap: .8cqw; padding: .6cqw; }
.inner-screen .tabbar i { width: 3.6cqw; height: 3.6cqw; }


.reel { margin: 28px 0 0; }
.reel video { width: 100%; aspect-ratio: 16 / 9; border-radius: 12px; background: #000; display: block; box-shadow: var(--shadow); }
.reel figcaption { font-size: 12px; color: var(--muted); margin-top: 8px; }

.btn {
  display: inline-flex; align-items: center; gap: 8px; font: 600 14px/1 var(--sans);
  text-decoration: none; cursor: pointer; padding: 13px 18px; border-radius: 10px; border: 0;
  background: var(--action-bg); color: var(--action-fg); transition: transform .2s, opacity .2s;
}
.btn:hover, .btn:focus-within { transform: translateY(-1px); }
.btn.ghost { background: transparent; color: var(--ink); border: 1px solid var(--line); }
.btn[disabled] { opacity: .5; cursor: default; transform: none; }

/* Static device mocks for cards */
.mock { display: flex; justify-content: center; }
.mini-duo {
  --r: 22px; --b: 5px; position: relative; padding: var(--b); border-radius: var(--r);
  background: linear-gradient(145deg, #3b3f4a, #16181e 45%, #2c2f37); box-shadow: var(--shadow);
}
.mini-duo.closed { width: min(210px, 100%); aspect-ratio: 84.1 / 117.8; }
.mini-duo.open { width: min(340px, 100%); aspect-ratio: 164.6 / 117.8; }
.mini-duo.open::after { content: ""; position: absolute; left: 50%; top: var(--b); bottom: var(--b); width: 1px; background: rgba(255,255,255,.28); }
.mini-screen {
  height: 100%; border-radius: calc(var(--r) - var(--b)); overflow: hidden; position: relative;
  display: flex; flex-direction: column; justify-content: flex-end; padding: 16px; color: #fff;
  background: linear-gradient(160deg, var(--a1), var(--a2));
}
.mini-duo.closed .mini-screen::before { /* outer camera, top trailing corner */
  content: ""; position: absolute; top: 10px; right: 10px; width: 10px; height: 18px; border-radius: 99px; background: #0b0c0f;
}
.mini-screen b { font-family: var(--display); font-weight: 600; font-size: 20px; line-height: 1.15; }
.mini-screen small { font-size: 11px; opacity: .85; margin-top: 4px; }
.mini-screen .spec {
  position: absolute; top: 14px; left: 14px; font-size: 10px; letter-spacing: 1px; text-transform: uppercase;
  padding: 4px 8px; border-radius: 6px; background: rgba(255,255,255,.18); border: 1px dashed rgba(255,255,255,.5);
}


/* iMessage testimonials */
.thread { margin-top: 28px; display: flex; flex-direction: column; gap: 10px; max-width: 560px; }
.bubble {
  align-self: flex-start; max-width: 86%; padding: 12px 16px; border-radius: 20px 20px 20px 6px;
  background: var(--tint); opacity: 0; transform: translateY(10px) scale(.98);
  transition: opacity .5s, transform .5s;
}
.bubble.in { opacity: 1; transform: none; }
.bubble p { margin: 0; font-size: 15px; }
.bubble small { display: block; margin-top: 4px; font-size: 12px; color: var(--muted); }
.bubble.me { align-self: flex-end; border-radius: 20px 20px 6px 20px; background: #0066d6; color: #fff; }


/* Talks */
.talks-intro { color: var(--muted); font-size: 15px; margin: 28px 0 0; }
.talks { margin: 16px 0 0; border-top: 1px solid var(--line); }
.talk { border-bottom: 1px solid var(--line); }
.talk summary {
  list-style: none; cursor: pointer; display: grid; grid-template-columns: 40px 1fr auto; column-gap: 16px; row-gap: 4px;
  padding: 18px 0; align-items: baseline;
}
.talk summary::-webkit-details-marker { display: none; }
.talk .num { grid-row: span 2; font-family: var(--display); font-weight: 600; color: var(--terra-ink); font-size: 17px; }
.talk .t { font-size: 17px; font-weight: 600; }
.talk .tag { grid-column: 2; font-size: 12px; letter-spacing: 1.2px; text-transform: uppercase; color: var(--muted); }
.talk .dur { grid-column: 3; grid-row: 1; font-size: 12px; color: var(--muted); white-space: nowrap; }
.talk .dur::after { content: " +"; font-size: 16px; color: var(--ink); margin-left: 6px; display: inline-block; transition: transform .25s; }
.talk[open] .dur::after { transform: rotate(45deg); }
.story { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; padding: 0 0 20px 56px; }
.story div { padding: 14px; border-radius: 12px; background: var(--card); border: 1px solid var(--line); }
.story .lbl { display: block; font-size: 12px; letter-spacing: 1.6px; text-transform: uppercase; color: var(--terra-ink); font-weight: 500; margin-bottom: 6px; }
.story b { display: block; font-size: 14px; line-height: 1.35; margin-bottom: 6px; }
.story p { margin: 0; font-size: 13px; color: var(--muted); line-height: 1.5; }
.best { padding: 0 0 20px 56px; margin: -8px 0 0; font-size: 13px; color: var(--muted); }
.itinerary { margin-top: 28px; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 20px; border-radius: 12px; background: var(--tint); }
.itinerary b { font-family: var(--display); font-weight: 600; font-size: 24px; margin-right: 10px; }
.itinerary span { color: var(--muted); font-size: 14px; }
.itinerary .btn { flex: none; white-space: nowrap; }

/* ───────── Case study sheet ───────── */
.sheet {
  width: min(760px, 100vw); max-height: min(88vh, 100dvh); margin: auto auto 0; padding: 0; border: 0;
  border-radius: 20px 20px 0 0; background: var(--bg); color: var(--ink); box-shadow: 0 -20px 60px rgba(0,0,0,.25);
}
.sheet[open] { animation: rise .35s cubic-bezier(.2,.8,.2,1); }
@keyframes rise { from { transform: translateY(40px); opacity: 0; } }
.sheet::backdrop { background: rgba(10, 18, 41, .45); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.sheet-inner { padding: 28px 24px 48px; }
.sheet-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.sheet-head h2 { font-size: 34px; line-height: 1.1; }
.sheet-close {
  flex: none; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line);
  background: var(--card); display: grid; place-items: center; cursor: pointer; color: var(--ink);
}
.sheet-close svg { stroke: currentColor; stroke-width: .7; stroke-linecap: round; }
.facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 28px 0 0; padding: 0; list-style: none; }
.facts li { padding: 12px; border-radius: 12px; background: var(--card); border: 1px solid var(--line); font-size: 14px; }
.facts li span { display: block; font-size: 12px; letter-spacing: 1.6px; text-transform: uppercase; color: var(--muted); font-weight: 500; margin-bottom: 4px; }
.cs-block { margin-top: 28px; }
.cs-block h3 { font-size: 20px; margin-bottom: 8px; }
.cs-block p, .cs-block li { color: var(--muted); font-size: 15px; }
.cs-block ul { padding-left: 20px; margin: 0; }
.cs-block li + li { margin-top: 6px; }
.slots { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 12px; }
.slot {
  aspect-ratio: 16 / 10; border-radius: 12px; border: 1.5px dashed var(--line); display: grid; place-items: center;
  text-align: center; padding: 12px; font-size: 13px; color: var(--muted); background: var(--card);
}
.metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 12px; }
.metric { padding: 16px; border-radius: 12px; background: var(--card); border: 1px solid var(--line); }
.metric b { display: block; font-family: var(--display); font-weight: 600; font-size: 24px; color: var(--muted); }
.metric span { font-size: 13px; color: var(--muted); }

.toast {
  position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 20px); z-index: 30;
  padding: 10px 16px; border-radius: 999px; font-size: 14px; font-weight: 500;
  background: var(--action-bg); color: var(--action-fg); opacity: 0; pointer-events: none; transition: .25s;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ═════════════════════════════════════════════
   Bento dashboard
   ═════════════════════════════════════════════ */
:root {
  --tile: #f2ede5;
  --tile-2: #fdfbf8;
  --gap: 12px;
  --cw: min(1200px, calc(100vw - 48px));
  --cell: calc((var(--cw) - 3 * var(--gap)) / 4);
  --tr: 22px;
  --ease: cubic-bezier(.2, .8, .2, 1);
}
:root[data-theme="dark"] { --tile: #101b3d; --tile-2: #16234a; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --tile: #101b3d; --tile-2: #16234a; } }

main.dash { width: var(--cw); margin: 0 auto; padding: 100px 0 40px; }
.lookhint {
  width: var(--cw); margin: 0 auto -28px; padding-top: 88px; text-align: right;
  font-size: 12px; color: var(--muted); display: flex; justify-content: flex-end; gap: 6px; align-items: center;
}
.lookhint svg { width: 12px; height: 12px; fill: var(--muted); }
main.dash { padding-top: 40px; }

.view { display: none; }
.view.on { display: block; animation: viewIn .45s var(--ease); }
@keyframes viewIn { from { opacity: 0; transform: translateY(8px); } }

.bento {
  display: grid; gap: var(--gap);
  grid-template-columns: repeat(4, var(--cell)); grid-auto-rows: var(--cell); grid-auto-flow: dense;
}
.w2 { grid-column: span 2; }
.h2 { grid-row: span 2; }
.h3 { grid-row: span 3; }

.tile {
  position: relative; overflow: hidden; isolation: isolate; border-radius: var(--tr);
  background: var(--tile); padding: 18px; color: var(--ink); text-decoration: none; display: block;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
  opacity: 0; animation: tileIn .6s var(--ease) forwards; animation-delay: calc(var(--i, 0) * 40ms);
}
@keyframes tileIn { from { opacity: 0; transform: translateY(14px) scale(.98); } to { opacity: 1; transform: none; } }
.tile:hover, .tile:focus-within { transform: translateY(-3px); box-shadow: var(--shadow); }
button.tile { font: inherit; border: 0; text-align: left; cursor: pointer; width: 100%; }
.tile[data-case], .tile[data-go], a.tile, .tile[data-talk] { cursor: pointer; }
.tile:focus-visible { outline: 2px solid var(--terra); outline-offset: 3px; }
.t-eyebrow { font-weight: 500; font-size: 12px; letter-spacing: 1.6px; text-transform: uppercase; color: var(--muted); }
.t-title { font-family: var(--display); font-weight: 600; font-size: 24px; line-height: 1.15; margin: 6px 0 0; }
.t-sub { font-size: 13px; color: var(--muted); margin: 4px 0 0; line-height: 1.4; }

/* corner arrow, Marco-style */
.go {
  position: absolute; left: 14px; bottom: 14px; z-index: 3; width: 30px; height: 30px; border-radius: 50%;
  display: grid; place-items: center; color: var(--ink); opacity: .55; transition: opacity .3s, transform .3s var(--ease);
}
.go svg { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; }
.tile:hover .go, .tile:focus-within .go { opacity: 1; transform: rotate(45deg); }

/* photo tiles: muted until you hover */
.tile.photo { padding: 0; background: #1c1a17; }
.tile.photo img, .tile.photo video {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  filter: grayscale(1) contrast(.92) brightness(1.04); transition: filter .6s var(--ease), transform 1.2s var(--ease), opacity .6s;
}
.tile.photo:hover img, .tile.photo:hover video, .tile.photo:focus-within img, .tile.photo:focus-within video { filter: none; transform: scale(1.04); }
.cap {
  position: absolute; left: 10px; right: 10px; bottom: 10px; z-index: 2; border-radius: 14px; padding: 9px 12px;
  font-size: 12px; line-height: 1.35; color: var(--ink);
}
.cap .h { display: none; }
.tile:hover .cap .d, .tile:focus-within .cap .d { display: none; }
.tile:hover .cap .h, .tile:focus-within .cap .h { display: inline; }
.tile.photo .go { left: auto; right: 12px; top: 12px; bottom: auto; }

/* ── 1. Intro ── */
.intro { padding: 32px; display: flex; flex-direction: column; }
.intro h1 { font-size: clamp(24px, 2.4vw, 30px); line-height: 1.2; margin: 0; }
.intro h1 .muted { color: var(--muted); }
.swap { position: relative; display: inline-block; }
.swap u { text-decoration-thickness: 2px; text-underline-offset: 5px; text-decoration-color: var(--terra); }
.swap u.out { animation: swapOut .3s forwards; }
.swap u.in { animation: swapIn .35s var(--ease); }
@keyframes swapOut { to { opacity: 0; transform: translateY(-6px); } }
@keyframes swapIn { from { opacity: 0; transform: translateY(6px); } }
.intro hr { border: 0; border-top: 1px solid var(--line); margin: 20px 0 18px; }
.intro p { margin: 0 0 14px; font-size: 16px; color: var(--muted); line-height: 1.5; transition: color .25s; }
.intro p:hover, .intro p:focus-within { color: var(--ink); }
.intro p.last { color: var(--ink); font-weight: 500; }
.intro sup { color: var(--terra-ink); }
.intro small { margin-top: auto; font-size: 12px; color: var(--muted); }

/* ── 2. Studio app switcher ── */
.studio { display: flex; flex-direction: column; gap: 12px; }
.studio .top { display: flex; justify-content: space-between; align-items: center; }
.studio .app-name { font-size: 28px; margin: 0; transition: color .25s; }
.docs { display: flex; gap: 8px; overflow: hidden; flex: none; align-items: flex-start; }
.doc {
  flex: 1; min-width: 0; background: var(--tile-2); border-radius: 12px; padding: 10px 12px;
  border: 1.5px solid transparent; transition: border-color .25s, transform .25s var(--ease);
}
.doc:first-child { border-color: var(--navy); }
:root[data-theme="dark"] .doc:first-child { border-color: var(--terra); }
.doc b { display: block; font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.doc span { display: block; font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.docs.fresh .doc { animation: docIn .35s var(--ease) both; }
.docs.fresh .doc:nth-child(2) { animation-delay: .04s; }
.docs.fresh .doc:nth-child(3) { animation-delay: .08s; }
@keyframes docIn { from { opacity: 0; transform: translateY(6px); } }
.dock {
  margin-top: auto; display: flex; gap: 8px; padding: 8px; border-radius: 18px; overflow-x: auto; scrollbar-width: none;
}
.dock::-webkit-scrollbar { display: none; }
.app {
  flex: none; width: 46px; height: 46px; border-radius: 12px; border: 0; cursor: pointer; color: #fff;
  font: 600 12px/1 var(--sans); letter-spacing: .5px; background: var(--c);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.3), 0 2px 6px rgba(0,0,0,.12);
  transition: transform .25s var(--ease), box-shadow .25s;
}
.app:hover, .app.on, .app:focus-within { transform: translateY(-4px) scale(1.08); }
.app.on { box-shadow: 0 0 0 2px var(--bg), 0 0 0 4px var(--c), 0 6px 14px rgba(0,0,0,.18); }

/* ── 3. Headshot ── */
.headshot img.alt { opacity: 0; }
.headshot:hover img.alt, .headshot:focus-within img.alt { opacity: 1; }
.headshot img { filter: none !important; object-position: 50% 20%; }

/* ── 4. LinkedIn ── */
.linkedin { display: flex; flex-direction: column; }
.li-top { display: flex; gap: 10px; align-items: center; }
.li-top img { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; object-position: 50% 25%; }
.li-top b { display: block; font-size: 14px; }
.li-top div span { font-size: 12px; color: var(--muted); }
.li-top .li-mark { margin-left: auto; width: 34px; height: 34px; border-radius: 8px; background: #0a66c2; color: #fff; display: grid; place-items: center; font: 700 17px/1 var(--sans); align-self: flex-start; }
.li-bio { font-family: var(--display); font-weight: 600; font-size: 19px; line-height: 1.25; margin: 14px 0 0; }
.li-bio em { font-style: normal; color: #0a66c2; }
:root[data-theme="dark"] .li-bio em { color: #70b5f9; }
.pill {
  margin-top: auto; display: flex; justify-content: center; gap: 6px; padding: 10px; border-radius: 999px;
  border: 1px solid var(--line); background: var(--tile-2); font-size: 13px; font-weight: 600; transition: background .25s, color .25s;
}
.linkedin:hover .pill, .linkedin:focus-within .pill { background: #0a66c2; color: #fff; border-color: #0a66c2; }

/* ── 5. iPhone Duo tile ── */
.duo-tile { --p: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.duo-tile .t-eyebrow { position: absolute; top: 18px; left: 20px; }
.duo-tile .hint { position: absolute; bottom: 20px; right: 20px; font-size: 12px; color: var(--muted); transition: opacity .3s; }
.duo-tile .hint .h { display: none; }
.duo-tile.is-open .hint .d { display: none; }
.duo-tile.is-open .hint .h { display: inline; }
.duo-tile .duo { --w: var(--dw, 480px); pointer-events: none; }

/* ── 6. Photos stack ── */
.stack img { opacity: 0; }
.stack img.on { opacity: 1; }
.photos-icon {
  position: absolute; top: 12px; right: 12px; z-index: 2; width: 38px; height: 38px; border-radius: 10px; background: #fff;
  display: grid; place-items: center; box-shadow: 0 2px 8px rgba(0,0,0,.2);
}
.photos-icon svg { width: 28px; height: 28px; }
.stack .count { float: right; color: var(--muted); }

/* ── 8. Redacted ── */
.redacted { display: flex; align-items: center; justify-content: center; }
.paper {
  width: 100%; background: #fdfbf8; color: #1c1a17; border-radius: 10px; padding: 14px; transform: rotate(-2deg);
  box-shadow: 0 8px 24px rgba(16,27,61,.14); transition: transform .45s var(--ease);
}
.redacted:hover .paper, .redacted:focus-within .paper { transform: rotate(0) scale(1.03); }
.paper-h { display: flex; align-items: center; gap: 8px; font-size: 11px; font-weight: 600; margin-bottom: 10px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pdf { flex: none; font-size: 8px; font-weight: 700; color: #fff; background: #b85c38; border-radius: 3px; padding: 3px 4px; }
.paper p { margin: 0 0 7px; font-size: 12px; line-height: 1.4; color: #6b6259; }
.r { background: #1c1a17; color: transparent; border-radius: 2px; padding: 0 2px; transition: background .35s, color .35s; }
.redacted:hover .r, .redacted:focus-within .r { background: rgba(184,92,56,.14); color: #8e4e36; font-weight: 600; }
.redacted:hover p:nth-of-type(2) .r, .redacted:focus-within p:nth-of-type(2) .r { transition-delay: .08s; }
.redacted:hover p:nth-of-type(3) .r, .redacted:focus-within p:nth-of-type(3) .r { transition-delay: .16s; }
.redacted .foot { position: absolute; bottom: 14px; right: 16px; font-size: 12px; color: var(--muted); }

/* ── 10. Odometer ── */
.odo { display: flex; flex-direction: column; }
.odo .num { font-family: var(--display); font-weight: 600; font-size: clamp(44px, 5vw, 64px); line-height: 1; margin-top: auto; color: var(--navy); font-variant-numeric: tabular-nums; }
:root[data-theme="dark"] .odo .num { color: var(--ink); }
.odo .lbl { font-size: 13px; color: var(--muted); min-height: 36px; margin-top: 6px; }
.dots { display: flex; gap: 4px; margin-top: 10px; }
.dots i { width: 6px; height: 6px; border-radius: 50%; background: var(--line); transition: background .3s, width .3s; }
.dots i.on { background: var(--terra); width: 16px; border-radius: 3px; }

/* ── 11. Boarding pass ── */
.passes { display: flex; flex-direction: column; gap: 12px; }
.pass { flex: 1; display: flex; background: var(--tile-2); border-radius: 14px; overflow: hidden; min-height: 0; }
.pass-main { flex: 1; padding: 14px 16px; display: flex; flex-direction: column; min-width: 0; }
.route { display: flex; align-items: center; gap: 10px; font-size: 12px; color: var(--muted); letter-spacing: 1px; text-transform: uppercase; }
.route b { font-size: 20px; letter-spacing: 1px; color: var(--ink); font-family: var(--display); font-weight: 600; }
.route .plane { flex: 1; border-top: 1.5px dashed var(--line); position: relative; }
.route .plane::after { content: "✈"; position: absolute; left: 0; top: -11px; font-size: 13px; color: var(--terra-ink); transition: left 1s var(--ease); }
.passes:hover .route .plane::after, .passes:focus-within .route .plane::after { left: calc(100% - 12px); }
.pass-title { font-family: var(--display); font-weight: 600; font-size: 18px; line-height: 1.2; margin-top: 10px; }
.pass-meta { margin-top: auto; font-size: 12px; color: var(--muted); }
.stub {
  width: 34%; flex: none; border-left: 2px dashed var(--line); padding: 14px; position: relative; display: flex; flex-direction: column;
  transition: transform .5s var(--ease); transform-origin: 0 100%;
}
.stub::before, .stub::after { content: ""; position: absolute; left: -9px; width: 16px; height: 16px; border-radius: 50%; background: var(--tile); }
.stub::before { top: -8px; } .stub::after { bottom: -8px; }
.passes:hover .stub, .passes:focus-within .stub { transform: translateX(6px) rotate(4deg); }
.stub .flag { font-size: 26px; line-height: 1; }
.stub .t-eyebrow { margin-top: 10px; color: var(--terra-ink); }
.stub p { margin: 4px 0 0; font-size: 12px; line-height: 1.35; }
.flags { display: flex; gap: 6px; }
.flags button {
  flex: 1; border: 1px solid var(--line); background: transparent; border-radius: 10px; padding: 6px 0; cursor: pointer;
  font: 500 12px var(--sans); color: var(--muted); transition: background .2s, color .2s, border-color .2s;
}
.flags button.on, .flags button:hover, .flags button:focus-visible { background: var(--tile-2); color: var(--ink); border-color: var(--ink); }

/* ── 12. Movie ticket flip ── */
.ticket { padding: 0; background: transparent; perspective: 900px; overflow: visible; }
.flip { position: absolute; inset: 0; transform-style: preserve-3d; transition: transform .7s var(--ease); }
.ticket:hover .flip, .ticket.flipped .flip, .ticket:focus-within .flip { transform: rotateY(180deg); }
.side {
  position: absolute; inset: 0; border-radius: var(--tr); padding: 18px; backface-visibility: hidden; -webkit-backface-visibility: hidden;
  display: flex; flex-direction: column; overflow: hidden;
}
.side.front {
  background: radial-gradient(circle at 0 58%, var(--bg) 11px, transparent 12px), radial-gradient(circle at 100% 58%, var(--bg) 11px, transparent 12px), linear-gradient(160deg, #1f3a32, #101b3d);
  color: #faf7f2;
}
.side.front .t-eyebrow { color: #d9a34f; }
.side.front .t-title { font-size: 24px; }
.side.front .perf { margin: auto 0 10px; border-top: 2px dashed rgba(255,255,255,.25); }
.side.front small { font-size: 12px; opacity: .8; }
.side.back { transform: rotateY(180deg); background: var(--tile-2); border: 1px solid var(--line); }
.course { display: flex; justify-content: space-between; align-items: center; font-size: 13px; padding: 7px 0; border-bottom: 1px solid var(--line); }
.course:last-of-type { border-bottom: 0; }
.lvl { display: flex; gap: 3px; }
.lvl i { width: 16px; height: 6px; border-radius: 3px; background: var(--line); }
.lvl i.f { background: var(--terra); }
.side.back small { margin-top: auto; font-size: 12px; color: var(--muted); }

/* ── 13. Agent relay ── */
.relay { display: flex; flex-direction: column; }
.lane { position: relative; margin-top: 12px; display: flex; flex-direction: column; gap: 9px; padding-left: 22px; }
.lane::before { content: ""; position: absolute; left: 6px; top: 6px; bottom: 6px; width: 2px; background: var(--line); }
.lane li { list-style: none; position: relative; font-size: 13px; }
.lane li::before { content: ""; position: absolute; left: -21px; top: 4px; width: 12px; height: 12px; border-radius: 50%; background: var(--tile); border: 2px solid var(--line); transition: background .2s, border-color .2s; }
.lane li span { color: var(--muted); font-size: 12px; display: block; }
.relay:hover .lane li::before, .relay:focus-within .lane li::before { animation: baton 2.4s infinite; animation-delay: calc(var(--n) * .6s); }
@keyframes baton { 0%, 30% { background: var(--terra); border-color: var(--terra); } 40%, 100% { background: var(--tile); border-color: var(--line); } }

/* ── 14. Tokens ── */
.tokens { padding: 0; display: flex; }
.swatch {
  flex: 1; border: 0; cursor: copy; background: var(--sw); position: relative; transition: flex .45s var(--ease);
  display: flex; align-items: flex-end; justify-content: center; padding-bottom: 42px;
}
.swatch:hover, .swatch:focus-within { flex: 3.2; }
.swatch span {
  writing-mode: vertical-rl; transform: rotate(180deg); font: 600 12px var(--sans); letter-spacing: 1px;
  color: var(--fg, #fff); opacity: 0; transition: opacity .3s;
}
.swatch:hover span, .swatch:focus-within span { opacity: 1; }
.tokens .t-eyebrow { text-shadow: 0 0 2px rgba(0,0,0,.5); position: absolute; top: 16px; left: 16px; z-index: 2; color: #fff; mix-blend-mode: difference; pointer-events: none; }

/* ── 15. Badges ── */
.badges { display: flex; flex-direction: column; }
.deck { position: relative; flex: 1; margin-top: 8px; }
.card {
  position: absolute; left: 6%; right: 6%; top: 50%; height: 44px; margin-top: -26px; border-radius: 12px;
  background: var(--tile-2); border: 1px solid var(--line); box-shadow: 0 2px 8px rgba(16,27,61,.08);
  padding: 8px 12px; font-size: 12px; line-height: 1.25; display: flex; flex-direction: column; justify-content: center;
  transform: translateY(calc(var(--n) * -5px)) scale(calc(1 - var(--n) * .03)); transition: transform .5s var(--ease);
}
.card b { font-size: 12px; }
.card span { font-size: 12px; color: var(--muted); }
.card::before { content: ""; position: absolute; left: 0; top: 10px; bottom: 10px; width: 3px; border-radius: 0 3px 3px 0; background: var(--c); }
.badges:hover .card, .badges:focus-within .card { transform: translateY(calc((var(--n) - 2) * 40px)) rotate(calc((var(--n) - 2) * -2deg)); }

/* ── 19. Cr8 Tr8n ── */
.cr8 { display: flex; flex-direction: column; }
.track { margin-top: auto; position: relative; height: 34px; border-bottom: 3px solid var(--ink); }
.track::after { content: ""; position: absolute; left: 0; right: 0; bottom: -7px; height: 4px; background: repeating-linear-gradient(90deg, var(--line) 0 6px, transparent 6px 14px); }
.train { position: absolute; bottom: 2px; left: -4px; display: flex; gap: 3px; transition: transform 1.6s var(--ease); }
.cr8:hover .train, .cr8:focus-within .train { transform: translateX(calc(var(--cell) - 110px)); }
.train i { display: block; width: 26px; height: 20px; border-radius: 4px 4px 2px 2px; background: var(--c); position: relative; }
.train i::before, .train i::after { content: ""; position: absolute; bottom: -4px; width: 7px; height: 7px; border-radius: 50%; background: var(--ink); }
.train i::before { left: 3px; } .train i::after { right: 3px; }
.train i:first-child { width: 32px; border-radius: 10px 4px 2px 2px; }

/* ── 20. Text me ── */
.textme { display: flex; flex-direction: column; gap: 6px; }
.b { max-width: 78%; padding: 8px 13px; border-radius: 18px 18px 18px 5px; background: var(--tile-2); font-size: 14px; align-self: flex-start; }
.b.me { align-self: flex-end; border-radius: 18px 18px 5px 18px; background: #0066d6; color: #fff; opacity: 0; transform: translateY(6px) scale(.96); transition: .35s var(--ease); }
.textme:hover .b.me, .textme:focus-within .b.me { opacity: 1; transform: none; }
.typing { align-self: flex-start; display: flex; gap: 3px; padding: 10px 12px; border-radius: 18px; background: var(--tile-2); }
.typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--muted); animation: dot 1.2s infinite; }
.typing i:nth-child(2) { animation-delay: .15s; } .typing i:nth-child(3) { animation-delay: .3s; }
@keyframes dot { 0%, 60%, 100% { opacity: .3; transform: none; } 30% { opacity: 1; transform: translateY(-3px); } }
.textme .pill { margin-top: auto; }
.textme:hover .pill, .textme:focus-within .pill { background: #0066d6; color: #fff; border-color: #0066d6; }

/* ── 21. Stats / 22. Shipping ── */
.stats-t { display: flex; flex-direction: column; justify-content: space-between; }
.stat b { display: block; font-family: var(--display); font-weight: 600; font-size: 30px; line-height: 1; font-variant-numeric: tabular-nums; }
.stat span { font-size: 12px; color: var(--muted); }
.ship { display: flex; flex-direction: column; }
.steps { list-style: none; padding: 0; margin: auto 0 0; display: grid; gap: 7px; }
.steps li { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); }
.steps li::before { content: ""; width: 10px; height: 10px; border-radius: 50%; border: 1.5px solid var(--line); flex: none; }
.steps li.done { color: var(--ink); }
.steps li.done::before { background: var(--nolan); border-color: var(--nolan); }
.steps li.now { color: var(--ink); font-weight: 600; }
.steps li.now::before { border-color: var(--terra); background: var(--terra); animation: pulse 2s infinite; box-shadow: 0 0 0 0 var(--terra); }
@keyframes pulse { 70% { box-shadow: 0 0 0 7px transparent; } 100% { box-shadow: 0 0 0 0 transparent; } }
.ship:hover .steps li.next, .ship:focus-within .steps li.next { color: var(--ink); }

/* ── Work view ── */
.proj { display: flex; flex-direction: column; }
.proj .mock { position: absolute; right: 18px; bottom: -18px; transition: transform .5s var(--ease); }
.proj:hover .mock, .proj:focus-within .mock { transform: translateY(-14px) rotate(-2deg); }
.proj .mini-duo.closed { width: calc(var(--cell) * .62); }
.proj.w2 .mini-duo.closed { width: calc(var(--cell) * .7); }
.proj .mini-duo.open { width: calc(var(--cell) * .95); }
.proj .tags { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 10px; max-width: 60%; }
.proj .tags span { font-size: 12px; padding: 3px 8px; border-radius: 999px; background: var(--tile-2); color: var(--muted); }
.proj.lab { background: transparent; border: 1.5px dashed var(--line); }
.proj.h2 .t-title { font-size: 34px; }
.proj.h2 .t-sub { max-width: 46%; font-size: 15px; }
.nda-t { background: #101b3d; color: #faf7f2; display: flex; flex-direction: column; }
.nda-t img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .28; filter: grayscale(1); transition: opacity .6s, filter .6s; z-index: -1; }
.nda-t:hover img, .nda-t:focus-within img { opacity: .5; filter: none; }
.nda-t .t-eyebrow { color: #d9d1c5; }
.nda-t .t-sub { color: #d9d1c5; max-width: 40ch; }
.nda-t .btn { margin-top: auto; align-self: flex-start; background: #faf7f2; color: #101b3d; }
.how { display: flex; flex-direction: column; }
.how ol { list-style: none; padding: 0; margin: auto 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.how li { background: var(--tile-2); border-radius: 12px; padding: 10px; font-size: 12px; color: var(--muted); transition: transform .3s var(--ease), background .3s; }
.how li b { display: block; color: var(--ink); font-size: 13px; margin-bottom: 2px; }
.how li:hover, .how li:focus-within { transform: translateY(-4px); background: var(--bg); }
.words .b { font-size: 13px; }
.words .b small { display: block; font-size: 12px; color: var(--muted); margin-top: 2px; }

/* ── About view ── */
.about-layout { display: grid; grid-template-columns: calc(var(--cell) * 2 + var(--gap)) 1fr; gap: var(--gap); align-items: start; }
.about-layout .bento { grid-template-columns: repeat(2, var(--cell)); }
.essay { opacity: 1; animation: none; padding: 32px; }
.essay:hover, .essay:focus-within { transform: none; box-shadow: none; }
.essay h1 { font-size: 30px; margin: 0 0 20px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.essay h2 { font-family: var(--sans); font-weight: 500; font-size: 12px; letter-spacing: 1.6px; text-transform: uppercase; color: var(--muted); margin: 22px 0 6px; }
.essay p { margin: 0; font-size: 16px; line-height: 1.6; color: var(--muted); }
.essay p b { color: var(--ink); }
.essay .ph { margin-top: 8px; }
.exp { display: flex; flex-direction: column; }
.exp ol { list-style: none; padding: 0; margin: 12px 0 0; display: flex; flex-direction: column; gap: 4px; }
.exp li { display: flex; justify-content: space-between; gap: 10px; padding: 9px 10px; border-radius: 10px; transition: background .25s; }
.exp li:hover, .exp li:focus-within { background: var(--tile-2); }
.exp li b { font-size: 14px; display: block; }
.exp li span { font-size: 12px; color: var(--muted); }
.exp li em { font-style: normal; font-size: 12px; color: var(--terra-ink); white-space: nowrap; text-align: right; }
.exp li .hid { display: block; max-height: 0; overflow: hidden; transition: max-height .4s var(--ease); font-size: 12px; color: var(--muted); }
.exp li:hover .hid, .exp li:focus-within .hid { max-height: 60px; }
.dashed { background: transparent; border: 1.5px dashed var(--line); }
.med { display: flex; flex-direction: column; }
.med .big { margin-top: auto; font-family: var(--display); font-weight: 600; font-size: 40px; line-height: 1; }
.med .bar { height: 6px; border-radius: 99px; background: var(--tile-2); margin-top: 10px; overflow: hidden; }
.med .bar i { display: block; height: 100%; width: 12%; background: linear-gradient(90deg, #101b3d, #b85c38); border-radius: inherit; transition: width 1.2s var(--ease); }
.med:hover .bar i, .med:focus-within .bar i { width: 55%; }

/* ── Speaking + contact panels ── */
.panel { background: var(--tile); border-radius: var(--tr); padding: 40px; max-width: 880px; margin: 0 auto; }
.panel h2 { font-size: clamp(28px, 3.4vw, 38px); line-height: 1.15; max-width: 22ch; }
.panel .reel { margin-top: 24px; }
.strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); margin-top: 20px; }
.strip .tile { aspect-ratio: 1; }

.chat { max-width: 560px; padding: 0; overflow: hidden; }
.chat-head { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 20px; border-bottom: 1px solid var(--line); background: var(--tile-2); }
.chat-head img { width: 54px; height: 54px; border-radius: 50%; object-fit: cover; object-position: 50% 25%; }
.chat-head b { font-size: 14px; }
.chat-head span { font-size: 12px; color: var(--muted); }
.thread-c { padding: 20px; display: flex; flex-direction: column; gap: 6px; min-height: 380px; max-height: 58vh; overflow-y: auto; }
.thread-c .b { animation: pop .35s var(--ease); }
.thread-c .b.me { opacity: 1; transform: none; }
@keyframes pop { from { opacity: 0; transform: translateY(8px) scale(.96); } }
.delivered { align-self: flex-end; font-size: 12px; color: var(--muted); margin: -2px 4px 4px; }
.composer { display: flex; gap: 8px; padding: 12px 16px 16px; border-top: 1px solid var(--line); }
.composer input {
  flex: 1; min-width: 0; font: 400 15px var(--sans); color: var(--ink); background: var(--tile-2);
  border: 1px solid var(--line); border-radius: 999px; padding: 10px 16px; outline: none;
}
.composer input:focus { border-color: #0066d6; }
.composer button {
  flex: none; width: 40px; height: 40px; border-radius: 50%; border: 0; background: #0066d6; color: #fff; cursor: pointer;
  display: grid; place-items: center; font-size: 18px;
}
.composer button[disabled] { opacity: .4; cursor: default; }
.err { color: var(--brown); font-size: 13px; padding: 0 20px 8px; min-height: 0; }
:root[data-theme="dark"] .err { color: var(--terra-ink); }
.chat-foot { text-align: center; font-size: 12px; color: var(--muted); padding: 0 20px 18px; }
.chat-foot button { font: inherit; color: var(--ink); background: none; border: 0; text-decoration: underline; cursor: pointer; padding: 0; }
.send-mail { align-self: center; margin: 10px 0 4px; }

footer.foot { width: var(--cw); margin: 0 auto; padding: 24px 0 40px; font-size: 12px; color: var(--muted); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

/* ── Responsive ── */
@media (max-width: 900px) {
  :root { --cw: calc(100vw - 32px); --cell: calc((var(--cw) - var(--gap)) / 2); }
  .bento { grid-template-columns: repeat(2, var(--cell)); }
  .intro { grid-row: span 3; padding: 22px; }
  .studio { grid-row: span 2; }
  .studio .docs { flex-direction: column; align-items: stretch; }
  .paper { padding: 10px; }
  .paper p { font-size: 11px; margin-bottom: 5px; }
  .paper-h { font-size: 10px; }
  .redacted .foot { display: none; }
  .t-title { font-size: 20px; }
  .odo .lbl { font-size: 12px; }
  .intro h1 { font-size: 24px; }
  .studio .doc { padding: 8px 10px; }
  .studio .doc:nth-child(3) { display: none; }
  .li-bio { font-size: 13px; margin-top: 8px; }
  .linkedin { padding: 14px; }
  .li-top img { width: 34px; height: 34px; }
  .relay { grid-column: span 2; }
  .lane { gap: 6px; }
  .lane li span { display: none; }
  .badges { grid-row: span 2; }
  .card { height: 42px; margin-top: -21px; }
  .card b { font-size: 12px; }
  .ticket .t-title { font-size: 20px; }
  .intro p { font-size: 15px; margin-bottom: 10px; }
  .about-layout { grid-template-columns: 1fr; }
  .essay { padding: 22px; }
  .panel { padding: 22px; }
  .how ol { grid-template-columns: 1fr 1fr; }
  .how { grid-row: span 2; }
  .proj.h2 .t-title { font-size: 26px; }
  .proj.h2 .t-sub { max-width: 100%; }
  .strip { grid-template-columns: 1fr 1fr; }
  .passes { grid-row: span 2; }
  .pass { flex-direction: column; }
  .stub { width: auto; border-left: 0; border-top: 2px dashed var(--line); }
  .stub::before, .stub::after { display: none; }
  .nav a { padding: 8px 9px; font-size: 12px; }
  .lookhint { display: none; }
  main.dash { padding-top: 84px; }
  .talk .dur { grid-column: 2; grid-row: auto; }
  .story { grid-template-columns: 1fr; padding-left: 0; }
  .best { padding-left: 0; }
  .itinerary { flex-direction: column; align-items: flex-start; }
}

/* Touch: no hover, so show color and play things when they scroll into view */
.touch .tile.photo img, .touch .tile.photo video { filter: none; }
.touch .tile.in-view .r { background: rgba(184,92,56,.14); color: #8e4e36; font-weight: 600; }
.touch .tile.in-view .b.me { opacity: 1; transform: none; }
.touch .tile.in-view .card { transform: translateY(calc((var(--n) - 2) * 40px)) rotate(calc((var(--n) - 2) * -2deg)); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .tile { opacity: 1; }
}

.photo img.pos-r { object-position: 72% 40%; }
.proj:not(.w2) .mini-duo.closed { width: calc(var(--cell) * .42); }
.proj:not(.w2) .mini-duo.open { width: calc(var(--cell) * .68); }
.proj:not(.w2) .t-sub { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.proj:not(.w2) .tags { display: none; }

/* ── Map ── */
.map-t { display: flex; flex-direction: column; }
.map-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.map-head .t-title { display: block; font-size: 24px; }
.seg { flex: none; display: flex; border: 1px solid var(--line); border-radius: 999px; padding: 2px; background: var(--tile-2); }
.seg button { border: 0; background: transparent; font: 500 12px var(--sans); color: var(--muted); padding: 6px 12px; border-radius: 999px; cursor: pointer; }
.seg button.on { background: var(--navy); color: #faf7f2; }
:root[data-theme="dark"] .seg button.on { background: var(--ink); color: var(--navy); }
.map { flex: 1; width: 100%; min-height: 0; margin-top: 6px; overflow: hidden; border-radius: 12px; }
.map .land { fill: var(--tile-2); stroke: var(--line); stroke-width: .6; }
.map .ghost { fill: color-mix(in srgb, var(--tile-2) 60%, var(--tile)); stroke: var(--line); stroke-width: .5; }
.map .hit { cursor: pointer; stroke: var(--tile); stroke-width: 1; transition: fill .25s, opacity .25s; animation: landIn .6s var(--ease) both; animation-delay: calc(var(--n, 0) * 90ms); }
@keyframes landIn { from { opacity: 0; } }
.map .lived, .map .studied { fill: var(--terra); }
.map .now, .map .hosted { fill: var(--navy); }
:root[data-theme="dark"] .map .now, :root[data-theme="dark"] .map .hosted { fill: #faf7f2; }
.map .hit:hover, .map .hit.sel, .map .hit:focus-within { fill: var(--brown); }
.map .pin { fill: var(--terra); stroke: #fff; stroke-width: 1.5; cursor: pointer; }
.map .pin.now-pin { fill: var(--navy); }
.map .ring { fill: none; stroke: var(--navy); stroke-width: 1.5; animation: ring 2s infinite; transform-box: fill-box; transform-origin: center; }
:root[data-theme="dark"] .map .ring { stroke: #faf7f2; }
@keyframes ring { from { transform: scale(.6); opacity: .9; } to { transform: scale(2.4); opacity: 0; } }
.map .lbl { font: 600 12px var(--sans); fill: #fff; pointer-events: none; letter-spacing: .5px; }
.map-info { align-self: flex-start; display: flex; gap: 8px; align-items: baseline; padding: 8px 14px; border-radius: 999px; font-size: 13px; }
.map-info span { color: var(--muted); font-size: 12px; }
.map-fallback { font-size: 14px; color: var(--muted); margin: auto 0; }

/* ── Vlog ── */
.vlog { display: flex; gap: 14px; padding: 14px; }
.thumb { position: relative; flex: none; width: 42%; border: 0; padding: 0; border-radius: 14px; overflow: hidden; background: #000; cursor: pointer; }
.thumb img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); transition: filter .5s, transform 1s var(--ease); }
.vlog:hover .thumb img, .vlog:focus-within .thumb img { filter: none; transform: scale(1.05); }
.play { position: absolute; left: 50%; top: 50%; width: 52px; height: 36px; margin: -18px 0 0 -26px; border-radius: 10px; background: #ff0033; display: grid; place-items: center; transition: transform .3s var(--ease); }
.play svg { width: 18px; height: 18px; fill: #fff; }
.vlog:hover .play, .vlog:focus-within .play { transform: scale(1.15); }
.scrub { position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: rgba(255,255,255,.3); }
.scrub i { display: block; height: 100%; width: 0; background: #ff0033; transition: width 2.4s linear; }
.vlog:hover .scrub i, .vlog:focus-within .scrub i { width: 70%; }
.vmeta { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.yt { color: #ff0033; }
.vlist { list-style: none; padding: 0; margin: 8px 0 0; display: grid; gap: 2px; }
.vlist button { width: 100%; text-align: left; border: 0; background: transparent; font: 500 13px/1.3 var(--sans); color: var(--muted); padding: 6px 8px; border-radius: 8px; cursor: pointer; transition: background .2s, color .2s; }
.vlist button.on, .vlist button:hover, .vlist button:focus-visible { background: var(--tile-2); color: var(--ink); }
.ch { margin-top: auto; text-decoration: none; }
.ch:hover, .ch:focus-within { color: var(--ink); }
.yt-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); }
.yt-card { border: 0; padding: 0; background: none; text-align: left; cursor: pointer; font: inherit; color: var(--ink); }
.yt-card .tn { position: relative; display: block; aspect-ratio: 16 / 9; border-radius: 12px; overflow: hidden; background: #000; }
.yt-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.yt-card:hover img, .yt-card:focus-within img { transform: scale(1.06); }
.yt-card .d { position: absolute; right: 6px; bottom: 6px; font-size: 12px; font-weight: 600; color: #fff; background: rgba(0,0,0,.75); padding: 2px 5px; border-radius: 4px; }
.yt-card b { display: block; font-size: 13px; line-height: 1.3; margin-top: 8px; }
.embed { position: relative; aspect-ratio: 16 / 9; margin-top: 16px; border-radius: 12px; overflow: hidden; background: #000; }
.embed.short { aspect-ratio: 9 / 16; max-height: 70vh; margin: 16px auto 0; }
.embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ── Scrapbook ── */
.scrap { display: flex; flex-direction: column; }
.page { position: relative; flex: 1; margin: 10px 0 8px; }
.page i { position: absolute; left: var(--x); top: var(--y); width: var(--w); height: var(--h); background: var(--c); border-radius: 4px; transform: rotate(var(--r)) scale(.82);
  box-shadow: 0 2px 6px rgba(0,0,0,.15); transition: left .6s var(--ease), top .6s var(--ease), transform .6s var(--ease); }
.page i:nth-child(1) { background: linear-gradient(135deg, var(--c), #d9a34f); }
.scrap:hover .page i, .scrap:focus-within .page i { left: var(--gx); top: var(--gy); transform: none; }
.scrap:hover .page i:nth-child(2), .scrap:focus-within .page i:nth-child(2) { transition-delay: .05s; } .scrap:hover .page i:nth-child(3), .scrap:focus-within .page i:nth-child(3) { transition-delay: .1s; }
.scrap:hover .page i:nth-child(4), .scrap:focus-within .page i:nth-child(4) { transition-delay: .15s; } .scrap:hover .page i:nth-child(5), .scrap:focus-within .page i:nth-child(5) { transition-delay: .2s; }
.tape { position: absolute; left: 18%; top: -6px; width: 30%; height: 12px; background: repeating-linear-gradient(45deg, rgba(250,247,242,.85) 0 6px, rgba(214,126,130,.7) 6px 12px); transform: rotate(-6deg); opacity: 0; transition: opacity .3s .5s; }
.scrap:hover .tape, .scrap:focus-within .tape { opacity: 1; }

/* ── Bees ── */
.bees { display: flex; flex-direction: column; }
.comb { width: 100%; flex: 1; min-height: 0; margin-top: 4px; }
.comb polygon { fill: transparent; stroke: #d9a34f; stroke-width: 1.2; transition: fill .4s; transition-delay: calc(var(--n) * 70ms); }
.bees:hover .comb polygon, .bees:focus-within .comb polygon { fill: #d9a34f; }
.bees:hover .comb polygon:nth-child(3n), .bees:focus-within .comb polygon:nth-child(3n) { fill: #e8c07a; }
.bee { position: absolute; right: 18px; top: 16px; font-size: 18px; transition: transform 1.4s var(--ease); }
.bees:hover .bee, .bees:focus-within .bee { animation: buzz 2.4s ease-in-out infinite; }
@keyframes buzz { 0% { transform: translate(0,0) rotate(0); } 25% { transform: translate(-60px, 30px) rotate(-20deg); } 50% { transform: translate(-100px, 10px) rotate(10deg); } 75% { transform: translate(-40px, 50px) rotate(-10deg); } 100% { transform: translate(0,0) rotate(0); } }

/* ── Books ── */
.books { display: flex; flex-direction: column; }
.shelf { flex: 1; display: flex; align-items: flex-end; gap: 5px; margin: 10px 0 8px; border-bottom: 3px solid var(--ink); padding: 0 6px; }
.shelf button { flex: 1; height: var(--h); background: var(--c); border: 0; border-radius: 3px 3px 0 0; cursor: pointer; padding: 6px 0; position: relative;
  display: flex; align-items: flex-end; justify-content: center; transition: transform .35s var(--ease); }
.shelf button span { writing-mode: vertical-rl; transform: rotate(180deg); font: 600 12px/1 var(--sans); letter-spacing: .5px; color: #faf7f2; white-space: nowrap; overflow: hidden; max-height: 100%; }
.shelf button::after { content: ""; position: absolute; left: 20%; right: 20%; top: 8px; height: 2px; background: rgba(255,255,255,.45); }
.shelf button:hover, .shelf button:focus-visible { transform: translateY(-14px); }
.books:hover .shelf button, .books:focus-within .shelf button { animation: wave 1.2s var(--ease); animation-delay: calc(var(--k, 0) * 60ms); }
.books:hover .shelf button:hover, .books:focus-within .shelf button:focus-visible { animation: none; transform: translateY(-14px); }
.book-cap b { color: var(--ink); }
.reading { list-style: none; padding: 0; margin: 12px 0 0; display: grid; gap: 6px; }
.reading li { font-size: 12px; color: var(--muted); padding: 8px 10px; border-radius: 10px; background: var(--tile-2); border-left: 3px solid var(--terra); transition: transform .25s var(--ease); }
.reading li:hover, .reading li:focus-within { transform: translateX(4px); }
.reading li:nth-child(2) { border-left-color: #101b3d; } .reading li:nth-child(3) { border-left-color: #d9a34f; } .reading li:nth-child(4) { border-left-color: #1f3a32; }
.reading b { display: block; color: var(--ink); font-size: 13px; }
@keyframes wave { 40% { transform: translateY(-8px); } }

@media (max-width: 900px) {
  .map-head { flex-direction: column; }
  .vlog { grid-row: span 2; flex-direction: column; }
  .thumb { width: 100%; height: 44%; }
  .yt-grid { grid-template-columns: 1fr 1fr; }
}

a.tile .t-eyebrow, a.tile .t-title { display: block; }

.mini-screen.has-img { padding: 0; background: #f6f1e7; }
.mini-screen.has-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; }
.slot.shot { padding: 0; overflow: hidden; aspect-ratio: auto; max-height: 420px; }
.slot.shot img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.kai { display: flex; flex-direction: column; }
.kai .mini-duo { position: absolute; right: 16px; bottom: calc(var(--cell) * -.32); width: calc(var(--cell) * .46); transition: transform .5s var(--ease); }
.kai:hover .mini-duo, .kai:focus-within .mini-duo { transform: translateY(calc(var(--cell) * -.2)) rotate(-3deg); }
.kai .t-sub { max-width: 55%; }

/* ═════════════════════════════════════════════
   Hi-fi iPhone Duo mock
   Titanium frame → black bezel → glass screen.
   --pw sets the phone's width; every detail scales from it.
   ═════════════════════════════════════════════ */
.pop { overflow: visible; z-index: 1; }
.pop:hover, .pop:focus-within { z-index: 8; }
.stage3d {
  position: absolute; right: var(--px, 18px); bottom: var(--py, -24px); z-index: 2;
  perspective: 1100px; pointer-events: none;
}
.stage3d::before { /* contact shadow on the tile */
  content: ""; position: absolute; left: 8%; right: 8%; bottom: 2%; height: 14%; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(16,27,61,.38), transparent); filter: blur(10px);
  transform: translateY(40%); transition: transform .6s var(--ease), opacity .6s;
}
.pop:hover .stage3d::before, .pop:focus-within .stage3d::before { transform: translateY(70%) scale(.8); opacity: .55; }

.phone {
  --pw: 150px;
  --ti: linear-gradient(145deg, #787b83 0%, #2c2e33 13%, #1a1b1f 46%, #2f3136 78%, #83868e 100%);
  --edge: rgba(255,255,255,.22);
  position: relative; width: var(--pw); aspect-ratio: 84.1 / 117.8; border-radius: calc(var(--pw) * .15);
  background: var(--ti);
  box-shadow:
    inset 0 0 0 1px var(--edge),
    inset 0 1.5px 1px rgba(255,255,255,.35),
    inset 0 -2px 3px rgba(0,0,0,.35),
    0 1px 0 rgba(0,0,0,.25),
    0 28px 50px -18px rgba(16,27,61,.5),
    0 10px 20px -10px rgba(0,0,0,.35);
  transform: rotateX(var(--rx, 6deg)) rotateY(var(--ry, -16deg)) rotateZ(var(--rz, 3deg));
  transform-style: preserve-3d;
  transition: transform .7s var(--ease), box-shadow .7s var(--ease);
}
.pop:hover .phone, .pop:focus-within .phone {
  transform: translateY(-16%) translateZ(60px) rotateX(var(--hx, 0deg)) rotateY(var(--hy, 0deg)) rotateZ(0) scale(1.05);
  box-shadow:
    inset 0 0 0 1px var(--edge), inset 0 1.5px 1px rgba(255,255,255,.35), inset 0 -2px 3px rgba(0,0,0,.35),
    0 1px 0 rgba(0,0,0,.25), 0 50px 70px -24px rgba(16,27,61,.55), 0 18px 30px -14px rgba(0,0,0,.4);
}
.phone.star {
  --ti: linear-gradient(145deg, #ffffff 0%, #dedbd5 15%, #c7c3bc 48%, #e2dfd9 80%, #ffffff 100%);
  --edge: rgba(255,255,255,.7);
}
/* black bezel */
.phone::before {
  content: ""; position: absolute; inset: calc(var(--pw) * .024); border-radius: calc(var(--pw) * .13);
  background: #050506; box-shadow: inset 0 0 0 1px rgba(255,255,255,.06);
}
/* glass screen */
.phone .scr {
  position: absolute; inset: calc(var(--pw) * .052); border-radius: calc(var(--pw) * .105); overflow: hidden;
  background: #faf7f2; isolation: isolate;
}
.phone .scr > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; }
.phone .scr::after { /* glass glare that follows the cursor */
  content: ""; position: absolute; inset: 0; z-index: 5; pointer-events: none;
  background:
    radial-gradient(120% 70% at var(--gx, 20%) var(--gy, 0%), rgba(255,255,255,.34), transparent 55%),
    linear-gradient(118deg, rgba(255,255,255,.16) 0%, rgba(255,255,255,0) 32%, rgba(255,255,255,0) 70%, rgba(255,255,255,.06) 100%);
  mix-blend-mode: screen; opacity: .55; transition: opacity .5s;
}
.pop:hover .phone .scr::after, .pop:focus-within .phone .scr::after { opacity: 1; }
/* hardware */
.phone .cam { /* outer front camera, top-trailing corner */
  position: absolute; z-index: 6; top: calc(var(--pw) * .045); right: calc(var(--pw) * .06);
  width: calc(var(--pw) * .07); height: calc(var(--pw) * .13); border-radius: 99px; background: #050506;
}
.phone .cam::after {
  content: ""; position: absolute; left: 50%; top: 22%; width: 46%; aspect-ratio: 1; transform: translateX(-50%); border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #3b4a6b, #0c1020 60%); box-shadow: 0 0 0 1px rgba(255,255,255,.06);
}
.phone .sb { /* side button with Touch ID */
  position: absolute; right: calc(var(--pw) * -.014); top: 20%; width: calc(var(--pw) * .02); height: 13%;
  border-radius: 0 3px 3px 0; background: var(--ti); box-shadow: inset -1px 0 0 var(--edge), 1px 0 2px rgba(0,0,0,.25);
}
.phone .spine { /* hinge, on the leading edge when closed */
  position: absolute; left: calc(var(--pw) * -.02); top: 4%; bottom: 4%; width: calc(var(--pw) * .036); border-radius: calc(var(--pw) * .02) 0 0 calc(var(--pw) * .02);
  background:
    repeating-linear-gradient(180deg, rgba(255,255,255,.0) 0 9%, rgba(255,255,255,.22) 9% 9.6%, rgba(0,0,0,.25) 9.6% 10.4%, rgba(255,255,255,0) 10.4% 20%),
    linear-gradient(90deg, #2a2c31, #4a4d54 45%, #1c1d21);
  box-shadow: -2px 0 4px rgba(0,0,0,.25), inset 1px 0 0 rgba(255,255,255,.18);
  transform: translateZ(-1px);
}
.phone.star .spine { background: repeating-linear-gradient(180deg, transparent 0 9%, rgba(255,255,255,.7) 9% 9.6%, rgba(0,0,0,.12) 9.6% 10.4%, transparent 10.4% 20%), linear-gradient(90deg, #bdb9b2, #efece7 45%, #b3afa8); }

/* open (inner display) */
.phone.open { aspect-ratio: 164.6 / 117.8; border-radius: calc(var(--pw) * .075); }
.phone.open::before { inset: calc(var(--pw) * .013); border-radius: calc(var(--pw) * .066); }
.phone.open .scr { inset: calc(var(--pw) * .027); border-radius: calc(var(--pw) * .055); }
.phone.open .sb { top: calc(var(--pw) * -.01); right: 14%; width: 10%; height: calc(var(--pw) * .012); border-radius: 3px 3px 0 0; }
.phone.open .hcap { position: absolute; left: 50%; width: calc(var(--pw) * .06); height: calc(var(--pw) * .012); transform: translateX(-50%); background: #111216; border-radius: 2px; }
.phone.open .hcap.t { top: 0; } .phone.open .hcap.b { bottom: 0; }
.phone .crease { /* the fold */
  position: absolute; z-index: 4; left: 50%; top: 0; bottom: 0; width: 6%; transform: translateX(-50%); pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(0,0,0,.07) 42%, rgba(255,255,255,.18) 50%, rgba(0,0,0,.07) 58%, transparent);
}
.phone.open .scr::before { /* each half catches light a little differently */
  content: ""; position: absolute; inset: 0; z-index: 3; pointer-events: none;
  background: linear-gradient(90deg, rgba(0,0,0,.04), transparent 30%, transparent 48%, rgba(0,0,0,.05) 50%, transparent 52%, transparent 75%, rgba(255,255,255,.05));
}

/* placeholder app UI, until real screens drop in */
.ui { position: absolute; inset: 0; font-size: calc(var(--pw) * .06); color: #1c1a17; display: grid; grid-template-columns: 1fr 17%; }
.ui-main { padding: 1.6em .9em .9em 1.1em; display: flex; flex-direction: column; gap: .55em; min-width: 0; }
.ui-time { font-weight: 600; font-size: .7em; }
.ui-title { font-family: var(--display); font-weight: 600; font-size: 1.35em; line-height: 1.05; margin-top: .3em; }
.sk { display: block; height: .5em; border-radius: 99px; background: rgba(28,26,23,.1); }
.sk.w70 { width: 70%; } .sk.w45 { width: 45%; }
.ui-card { border-radius: .7em; height: 3.6em; background: linear-gradient(140deg, var(--a1, #101b3d), var(--a2, #b85c38)); box-shadow: 0 .3em .8em rgba(0,0,0,.12); }
.ui-card.sm { height: 2.2em; opacity: .55; }
.ui-rail { display: flex; flex-direction: column; align-items: center; gap: .6em; padding-top: 3.2em; border-left: 1px solid rgba(28,26,23,.07); }
.ui-rail i { width: 1.25em; height: 1.25em; border-radius: 50%; background: rgba(28,26,23,.12); }
.ui-rail i:first-child { background: var(--a1, #101b3d); }
.ui-drop { position: absolute; left: .8em; right: 20%; bottom: .8em; font-size: .52em; letter-spacing: .08em; text-transform: uppercase; color: rgba(28,26,23,.55);
  border: 1px dashed rgba(28,26,23,.25); border-radius: .6em; padding: .45em .6em; text-align: center; }
.phone.open .ui { font-size: calc(var(--pw) * .032); grid-template-columns: 38% 1fr 9%; }
.phone.open .ui-pane { padding: 1.6em 1em 1em; display: flex; flex-direction: column; gap: .5em; min-width: 0; }
.phone.open .ui-pane:first-child { background: rgba(28,26,23,.035); border-right: 1px solid rgba(28,26,23,.06); }
.ui-row { display: flex; gap: .5em; align-items: center; padding: .4em; border-radius: .5em; }
.ui-row::before { content: ""; width: 1.4em; height: 1.4em; border-radius: .4em; background: rgba(28,26,23,.12); flex: none; }
.ui-row.on { background: rgba(16,27,61,.07); }
.ui-row.on::before { background: var(--a1); }
.ui-row .sk { flex: 1; }
.ui-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .6em; }
.ui-grid i { height: 3.2em; border-radius: .6em; background: linear-gradient(140deg, var(--a1), var(--a2)); opacity: .9; }
.ui-grid i:nth-child(2n) { opacity: .5; }

/* placements */
.proj .stage3d { --px: 22px; --py: -26px; }
.proj .phone { --pw: calc(var(--cell) * .42); }
.proj.w2.h2 .phone { --pw: calc(var(--cell) * .74); }
.proj.w2:not(.h2) .phone.open { --pw: calc(var(--cell) * 1.02); }
.proj.w2:not(.h2) .t-sub { max-width: 46%; }
.proj .mock { display: none; }
.kai .stage3d { --px: 14px; --py: -30px; }
.kai .phone { --pw: calc(var(--cell) * .44); }
.kai .mini-duo { display: none; }

/* big fold tile: richer titanium + glass */
.duo-tile { overflow: visible; z-index: 1; perspective: 1800px; }
.duo-tile:hover, .duo-tile:focus-within { z-index: 8; }
.duo-tile .duo { transform-style: preserve-3d; transform: rotateX(var(--hx, 0deg)) rotateY(var(--hy, 0deg)); transition: transform .5s var(--ease); }
.duo { --frame: linear-gradient(145deg, #787b83 0%, #2c2e33 13%, #1a1b1f 46%, #2f3136 78%, #83868e 100%); }
.half, .face { box-shadow: inset 0 0 0 1px rgba(255,255,255,.2), inset 0 1.5px 1px rgba(255,255,255,.32), inset 0 -2px 3px rgba(0,0,0,.35); }
.screen-window::after, .back-slot::after {
  content: ""; position: absolute; inset: 0; z-index: 5; pointer-events: none; border-radius: inherit;
  background: radial-gradient(120% 70% at var(--gx, 20%) var(--gy, 0%), rgba(255,255,255,.28), transparent 55%), linear-gradient(118deg, rgba(255,255,255,.12), transparent 32%);
  mix-blend-mode: screen; opacity: .6;
}
.back-slot { position: relative; border-radius: calc(var(--r) - var(--b)); }
.face.back .dspine {
  position: absolute; left: calc(var(--w) * -.012); top: 3%; bottom: 3%; width: calc(var(--w) * .02); border-radius: 6px;
  background: repeating-linear-gradient(180deg, transparent 0 9%, rgba(255,255,255,.22) 9% 9.6%, rgba(0,0,0,.25) 9.6% 10.4%, transparent 10.4% 20%), linear-gradient(90deg, #2a2c31, #4a4d54 45%, #1c1d21);
}
.face.back .dsb { position: absolute; right: calc(var(--w) * -.006); top: 20%; width: calc(var(--w) * .008); height: 13%; border-radius: 0 3px 3px 0; background: var(--frame); }

@media (max-width: 900px) {
  .proj .phone { --pw: calc(var(--cell) * .5); }
  .proj.w2.h2 .phone { --pw: calc(var(--cell) * .8); }
  .proj.w2:not(.h2) .phone.open { --pw: calc(var(--cell) * 1.1); }
  .kai .phone { --pw: calc(var(--cell) * .5); }
  .proj.w2:not(.h2), .nda-t { grid-row: span 2; }
  .proj.w2:not(.h2) .t-sub { max-width: 100%; }
  .proj.w2:not(.h2) .phone.open { --pw: calc(var(--cell) * 1.25); }
  .proj:not(.w2) .phone { --pw: calc(var(--cell) * .42); }
  .proj:not(.w2) .stage3d { --py: -40px; --px: 12px; }
  .proj:not(.w2) .t-sub { display: none; }
  .proj:not(.w2) .phone { --pw: calc(var(--cell) * .36); }
}
@media (hover: none) {
  .pop.in-view .phone { transform: translateY(-8%) rotateX(4deg) rotateY(-8deg); }
}
.duo-tile:hover .duo, .duo-tile:focus-within .duo { transform: translateY(-10px) translateZ(30px) rotateX(var(--hx, 0deg)) rotateY(var(--hy, 0deg)); }

/* ═════════════ Sliders (credentials + books) ═════════════ */
.badges, .books, .now-reading, .creds-t { display: flex; flex-direction: column; }
.slider { position: relative; flex: 1; min-height: 0; display: flex; flex-direction: column; margin-top: 8px; }
.sl-track {
  flex: 1; min-height: 0; display: flex; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory;
  scrollbar-width: none; overscroll-behavior-x: contain; outline: none; border-radius: 14px;
}
.sl-track::-webkit-scrollbar { display: none; }
.sl-track:focus-visible { box-shadow: 0 0 0 2px var(--terra); }
.slide {
  flex: 0 0 100%; scroll-snap-align: start; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 8px; padding: 6px 4px; text-align: center; min-width: 0;
  opacity: .35; transform: scale(.92); transition: opacity .45s var(--ease), transform .45s var(--ease);
}
.slide.cur { opacity: 1; transform: none; }
.slide .vis { flex: 1; min-height: 0; width: 100%; display: grid; place-items: center; perspective: 700px; }
.slide .txt { display: flex; flex-direction: column; gap: 1px; max-width: 100%; }
.slide .txt b { font-size: 13px; line-height: 1.25; }
.slide .txt span { font-size: 12px; color: var(--muted); }
.slide .txt a, .slide .txt em { font-size: 12px; font-style: normal; color: var(--terra-ink); text-decoration: none; margin-top: 2px; }
.slide .txt a:hover, .slide .txt a:focus-visible { text-decoration: underline; }

/* badges: lift + shine */
.cred .vis > img, .cred .vis > svg {
  height: 100%; max-height: 132px; width: auto; max-width: 80%; object-fit: contain;
  filter: drop-shadow(0 8px 14px rgba(16,27,61,.22)); transition: transform .6s var(--ease), filter .6s;
}
.slider:hover .cur.cred .vis > img, .slider:hover .cur.cred .vis > svg, .slider:focus-within .cur.cred .vis > img, .slider:focus-within .cur.cred .vis > svg { transform: translateY(-6px) rotateY(12deg) scale(1.06); filter: drop-shadow(0 16px 20px rgba(16,27,61,.3)); }
.cred .vis { position: relative; overflow: hidden; }
.cred .vis::after { content: ""; position: absolute; top: -20%; bottom: -20%; width: 30%; left: -40%; transform: skewX(-18deg);
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.55), transparent); pointer-events: none; }
.slider:hover .cur.cred .vis::after, .slider:focus-within .cur.cred .vis::after { animation: shine 1.1s var(--ease); }
@keyframes shine { to { left: 120%; } }

/* books: 3D cover with a spine */
.cover {
  position: relative; display: block; height: 100%; max-height: 150px; aspect-ratio: 2 / 3; border-radius: 2px 6px 6px 2px; overflow: hidden;
  box-shadow: 0 14px 22px -8px rgba(16,27,61,.45), 0 2px 4px rgba(0,0,0,.2);
  transform: rotateY(-18deg) rotateX(4deg); transform-origin: left center; transition: transform .6s var(--ease), box-shadow .6s;
  background: var(--tile-2);
}
.cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cover::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 9%; z-index: 1;
  background: linear-gradient(90deg, rgba(0,0,0,.35), rgba(255,255,255,.18) 45%, rgba(0,0,0,.12)); }
.cover::after { content: ""; position: absolute; inset: 0; background: linear-gradient(120deg, rgba(255,255,255,.28), transparent 40%); pointer-events: none; }
.slider:hover .cur .cover, .slider:focus-within .cur .cover { transform: rotateY(0) rotateX(0) translateY(-6px) scale(1.05); box-shadow: 0 22px 30px -10px rgba(16,27,61,.5), 0 2px 4px rgba(0,0,0,.2); }

/* nav */
.sl-nav { display: flex; align-items: center; justify-content: space-between; gap: 6px; margin-top: 6px; }
.sl-nav button {
  width: 26px; height: 26px; flex: none; border-radius: 50%; border: 1px solid var(--line); background: var(--tile-2); color: var(--ink);
  font: 600 15px/1 var(--sans); cursor: pointer; display: grid; place-items: center; padding: 0 0 2px; opacity: .6; transition: opacity .2s, transform .2s;
}
.slider:hover .sl-nav button, .sl-nav button:focus-visible, .slider:focus-within .sl-nav button { opacity: 1; }
.sl-nav button:hover, .sl-nav button:focus-visible { transform: scale(1.1); }
.sl-dots { display: flex; gap: 4px; flex-wrap: wrap; justify-content: center; }
.sl-dots i { width: 5px; height: 5px; border-radius: 99px; background: var(--line); transition: width .3s, background .3s; }
.sl-dots i.on { width: 14px; background: var(--terra); }

/* larger About versions */
.now-reading .cover { max-height: 300px; }
.now-reading .slide .txt b { font-size: 16px; font-family: var(--display); font-weight: 600; }
.creds-t .slide { flex-basis: 33.333%; }
.creds-t .cred .vis > img, .creds-t .cred .vis > svg { max-height: 150px; }
@media (max-width: 900px) {
  .creds-t .slide { flex-basis: 50%; }
  .creds-t { grid-row: span 2; }
}

/* ═════════════ Home sections (Apple-style two-tone headers) ═════════════ */
.sec-h {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 24px;
  margin: 72px 4px 18px;
}
.sec-h h2 { font-family: var(--display); font-weight: 600; font-size: clamp(26px, 3vw, 36px); line-height: 1.15; letter-spacing: -.01em; margin: 0; max-width: 30ch; }
.sec-h h2 b { color: var(--ink); font-weight: 600; }
.sec-h h2 span { color: var(--muted); }
.sec-link {
  flex: none; font-size: 14px; font-weight: 500; color: var(--ink); text-decoration: none; padding: 8px 14px; border-radius: 999px;
  border: 1px solid var(--line); background: var(--tile-2); transition: background .2s, color .2s, border-color .2s;
}
.sec-link:hover, .sec-link:focus-within { background: var(--navy); color: #faf7f2; border-color: var(--navy); }
:root[data-theme="dark"] .sec-link:hover, :root[data-theme="dark"] .sec-link:focus-within { background: var(--ink); color: var(--navy); }
.sec-link span { display: inline-block; transition: transform .2s; }
.sec-link:hover span, .sec-link:focus-within span { transform: translateX(3px); }
.nextstage { display: flex; flex-direction: column; background: linear-gradient(160deg, var(--navy), #1f3a32); color: #faf7f2; }
.nextstage .t-eyebrow { color: #d9a34f; }
.nextstage .t-title { font-size: 22px; }
.nextstage .t-sub { color: #d9d1c5; }
.nextstage .go { color: #faf7f2; }
@media (max-width: 900px) {
  .sec-h { flex-direction: column; align-items: flex-start; gap: 12px; margin-top: 52px; }
  .sec-h h2 { font-size: 24px; }
}

/* ═════════════ Hover pass 2: phones pop OUT, more zoom, more variety ═════════════ */
:root { --spring: cubic-bezier(.34, 1.56, .64, 1); }

/* phones: tucked in at rest, pop out toward you on hover */
.pop .stage3d { bottom: var(--py-rest, 16px); transition: bottom .6s var(--spring); }
.proj .stage3d, .kai .stage3d { --py-rest: 14px; }
.pop .phone { transform: rotateX(4deg) rotateY(-10deg) rotateZ(2deg) scale(.86); transform-origin: 50% 100%; transition: transform .7s var(--spring), box-shadow .7s var(--ease); }
.pop:hover .stage3d, .pop:focus-within .stage3d { bottom: calc(var(--py-rest, 16px) + 10px); }
.pop:hover .phone, .pop:focus-within .phone {
  transform: translateY(-18%) translateZ(90px) rotateX(var(--hx, 0deg)) rotateY(var(--hy, 0deg)) rotateZ(0) scale(1.18);
}
.pop .stage3d::before { transform: translateY(20%) scale(.85); opacity: .9; }
.pop:hover .stage3d::before, .pop:focus-within .stage3d::before { transform: translateY(90%) scale(1.05); opacity: .45; }
@media (hover: none) {
  .pop .phone { transform: rotateX(4deg) rotateY(-10deg) scale(.86); }
  .pop.in-view .phone { transform: translateY(-10%) rotateX(2deg) rotateY(-4deg) scale(1.06); }
}

/* text tiles get a gentle spring zoom */
.tile:not(.photo):not(.pop):not(.essay):not(.duo-tile):not(.ticket):not(.map-t):hover, /* text tiles get a gentle spring zoom */
.tile:not(.photo):not(.pop):not(.essay):not(.duo-tile):not(.ticket):not(.map-t):focus-within { transform: translateY(-4px) scale(1.018); transition: transform .5s var(--spring), box-shadow .4s var(--ease); }

/* photo effects */
.tile.photo.fx-reveal img { transform: scale(1.35); }
.tile.photo.fx-reveal:hover img, .tile.photo.fx-reveal:focus-within img { transform: scale(1); transition: transform 1.4s var(--ease), filter .6s; }
.tile.photo.fx-pushin img { transform-origin: 62% 38%; }
.tile.photo.fx-pushin:hover img, .tile.photo.fx-pushin:focus-within img { transform: scale(1.32); transition: transform 1.6s var(--ease), filter .6s; }
.tile.photo.fx-pan img { transform: scale(1.25); object-position: 0% 50%; transition: object-position 3s var(--ease), filter .6s; }
.tile.photo.fx-pan:hover img, .tile.photo.fx-pan:focus-within img { object-position: 100% 50%; transform: scale(1.25); }
.tile.photo.fx-panv img { transform: scale(1.2); object-position: 50% 0%; transition: object-position 3s var(--ease), filter .6s; }
.tile.photo.fx-panv:hover img, .tile.photo.fx-panv:focus-within img { object-position: 50% 100%; transform: scale(1.2); }
.tile.photo.fx-flicker:hover img, .tile.photo.fx-flicker:focus-within img { animation: flicker 2.6s steps(1) infinite; transform: scale(1.08); }
@keyframes flicker {
  0% { filter: brightness(1); } 8% { filter: brightness(.35) hue-rotate(40deg); } 10% { filter: brightness(1.15); }
  40% { filter: brightness(1); } 43% { filter: brightness(.5) hue-rotate(-30deg); } 45% { filter: brightness(1.1); } 100% { filter: brightness(1); }
}
.headshot:hover img.alt, .headshot:focus-within img.alt { transform: scale(1.08); transition: opacity .6s, transform 1.4s var(--ease); }

/* Studio: macOS-style dock magnification */
.dock { align-items: flex-end; overflow: visible; }
.app { transition: transform .18s var(--ease), box-shadow .25s; transform-origin: 50% 100%; }
.dock .app { transform: translateY(calc(var(--m, 0) * -10px)) scale(calc(1 + var(--m, 0) * .45)); }
.dock .app.on { box-shadow: 0 0 0 2px var(--bg), 0 0 0 4px var(--c), 0 6px 14px rgba(0,0,0,.18); }

/* Next stop: a spotlight follows the cursor */
.nextstage { background:
  radial-gradient(260px circle at var(--mx, 70%) var(--my, 20%), rgba(217,163,79,.35), transparent 60%),
  linear-gradient(160deg, var(--navy), #1f3a32); }
.nextstage .t-title { transition: transform .5s var(--spring); transform-origin: 0 50%; }
.nextstage:hover .t-title, .nextstage:focus-within .t-title { transform: scale(1.06); }

/* Map zooms toward the cursor */
.map { transition: transform .6s var(--ease); transform-origin: var(--zx, 50%) var(--zy, 50%); }
.map-t:hover .map, .map-t:focus-within .map { transform: scale(1.12); }

/* Impact + stats numbers bounce */
.odo .num.bump { animation: bump .6s var(--spring); }
.stat b.bump { animation: bump .6s var(--spring); }
@keyframes bump { 0% { transform: scale(.7); opacity: .3; } 100% { transform: scale(1); opacity: 1; } }
.odo .num, .stat b { transform-origin: 0 80%; display: inline-block; }

/* Text me: typing dots, then the reply */
.textme .typing { opacity: 0; transform: translateY(4px); transition: opacity .2s, transform .2s; align-self: flex-end; background: #0066d6; }
.textme .typing i { background: #fff; }
.textme:hover .typing, .textme:focus-within .typing { animation: typeThenGo 1s forwards; }
@keyframes typeThenGo { 0% { opacity: 0; } 15% { opacity: 1; transform: none; } 85% { opacity: 1; } 100% { opacity: 0; height: 0; padding: 0; margin: 0; } }
.textme:hover .b.me, .textme:focus-within .b.me { transition-delay: .9s; }

/* LinkedIn avatar zoom */
.li-top img { transition: transform .5s var(--spring); }
.linkedin:hover .li-top img, .linkedin:focus-within .li-top img { transform: scale(1.25) rotate(-4deg); }

@media (prefers-reduced-motion: reduce) {
  .tile.photo img { transform: none !important; animation: none !important; }
  .dock .app { transform: none; }
}

/* ═════════════ My AI toolkit ═════════════ */
.studio { display: flex; flex-direction: column; gap: 10px; }
.st-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.st-title { display: block; font-family: var(--display); font-weight: 600; font-size: 20px; line-height: 1.15; margin-top: 4px; }
.st-count { flex: none; font-size: 12px; color: var(--muted); background: var(--tile-2); border-radius: 999px; padding: 5px 10px; }
.st-count b { color: var(--ink); }
.st-body { flex: 1; min-height: 0; display: grid; grid-template-columns: 38% 1fr; gap: 14px; align-items: center; }
.st-vis { height: 100%; min-height: 0; border-radius: 14px; background: var(--tile-2); display: grid; place-items: center; overflow: hidden; position: relative; }
.st-vis.fresh > * { animation: visIn .5s var(--spring, cubic-bezier(.34,1.56,.64,1)) both; }
@keyframes visIn { from { opacity: 0; transform: translateY(10px) scale(.9); } }
.st-info { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.st-tool { font-size: 12px; font-weight: 500; letter-spacing: 1.4px; text-transform: uppercase; color: var(--terra-ink); }
.st-made { font-size: 15px; line-height: 1.25; }
.st-what { font-size: 12.5px; line-height: 1.4; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.st-skills { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 2px; }
.st-skills span { font-size: 12px; font-weight: 500; padding: 3px 8px; border-radius: 999px; background: color-mix(in srgb, var(--terra) 14%, transparent); color: var(--ink); }

/* dock with real icons + hover labels */
.studio .dock { margin-top: 0; gap: 7px; padding: 7px 9px; }
.studio .app { position: relative; width: 42px; height: 42px; display: grid; place-items: center; background: var(--c); font-size: 12px; }
.studio .app img { width: 56%; height: 56%; filter: invert(1); }
.studio .app.light img { filter: none; }
.studio .app.light { box-shadow: inset 0 0 0 1px rgba(0,0,0,.12), 0 2px 6px rgba(0,0,0,.12); }
.studio .app .mono { font: 700 14px/1 var(--sans); color: #fff; }
.studio .app-tag { position: absolute; bottom: -3px; right: -5px; font: 700 7.5px/1 var(--sans); font-style: normal; letter-spacing: .3px; text-transform: uppercase; padding: 2px 3px; border-radius: 4px; background: #faf7f2; color: #1c1a17; box-shadow: 0 1px 3px rgba(0,0,0,.2); }
.studio .app-label { position: absolute; bottom: calc(100% + 8px); left: 50%; transform: translateX(-50%) translateY(4px); white-space: nowrap; font: 500 12px/1 var(--sans);
  padding: 5px 8px; border-radius: 7px; background: var(--action-bg); color: var(--action-fg); opacity: 0; pointer-events: none; transition: opacity .15s, transform .15s; }
.studio .app:hover .app-label, .studio .app:focus-visible .app-label, .studio .app:focus-within .app-label { opacity: 1; transform: translateX(-50%) translateY(0); }

/* previews */
.v-term { width: 86%; border-radius: 10px; background: #1c1a17; padding: 22px 10px 10px; font: 500 10.5px/1.7 ui-monospace, Menlo, monospace; color: #d9d1c5; display: flex; flex-direction: column; position: relative; box-shadow: 0 8px 18px rgba(0,0,0,.2); }
.v-term::before { content: ""; position: absolute; left: 10px; top: 8px; width: 34px; height: 7px; background: radial-gradient(circle at 3px 3.5px, #ff5f57 3px, transparent 3.5px), radial-gradient(circle at 15px 3.5px, #febc2e 3px, transparent 3.5px), radial-gradient(circle at 27px 3.5px, #28c840 3px, transparent 3.5px); }
.v-term i { font-style: normal; animation: visIn .4s both; }
.v-term i:nth-child(2) { animation-delay: .25s; } .v-term i:nth-child(3) { animation-delay: .5s; } .v-term i:nth-child(4) { animation-delay: .75s; } .v-term i:nth-child(5) { animation-delay: 1s; }
.v-term .ok { color: #7fc79a; } .v-term .run { color: #e8a87c; }
.v-tokens { display: flex; flex-wrap: wrap; gap: 6px; width: 78%; justify-content: center; }
.v-tokens i { width: 30px; height: 30px; border-radius: 9px; background: var(--c); box-shadow: inset 0 0 0 1px rgba(0,0,0,.08), 0 3px 8px rgba(0,0,0,.12); }
.v-tokens em { flex-basis: 100%; text-align: center; font: 500 10.5px var(--sans); font-style: normal; color: var(--muted); margin-top: 4px; }
.v-flow { display: flex; align-items: center; gap: 6px; }
.v-flow i { width: 30px; height: 52px; border-radius: 6px; background: var(--tile); border: 1.5px solid var(--line); position: relative; }
.v-flow i::after { content: ""; position: absolute; left: 5px; right: 5px; top: 8px; height: 10px; border-radius: 3px; background: color-mix(in srgb, var(--terra) 40%, transparent); }
.v-flow b { color: var(--terra-ink); font-size: 13px; }
.v-ticket { width: 80%; border-radius: 10px; padding: 12px; background: linear-gradient(160deg, #1f3a32, #101b3d); color: #faf7f2; display: flex; flex-direction: column; gap: 3px; }
.v-ticket em { font: 500 9px var(--sans); font-style: normal; letter-spacing: 1.4px; text-transform: uppercase; color: #d9a34f; }
.v-ticket b { font-family: var(--display); font-weight: 600; font-size: 16px; }
.v-ticket small { font-size: 9.5px; opacity: .8; }
.v-phone { height: 88%; aspect-ratio: 84.1 / 117.8; border-radius: 12px; padding: 3px; background: linear-gradient(145deg, #fff, #c7c3bc 50%, #fff); box-shadow: 0 8px 18px rgba(0,0,0,.2); overflow: hidden; }
.v-phone img { width: 100%; height: 100%; object-fit: cover; object-position: top; border-radius: 9px; display: block; }
.v-badge { width: 84px; height: 84px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #ff8a3d, #f26207); color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; box-shadow: 0 8px 18px rgba(242,98,7,.35), inset 0 0 0 4px rgba(255,255,255,.3); }
.v-badge b { font-family: var(--display); font-weight: 600; font-size: 24px; line-height: 1; }
.v-badge small { font-size: 8.5px; margin-top: 2px; }
.v-brand { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.v-brand b { font-family: var(--display); font-weight: 600; font-size: 40px; line-height: 1; color: #101b3d; }
:root[data-theme="dark"] .v-brand b { color: var(--ink); }
.v-brand span { display: flex; gap: 5px; }
.v-brand i { width: 22px; height: 22px; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px rgba(0,0,0,.1); }
.v-doc { width: 76%; border-radius: 8px; background: #fff; padding: 10px; display: flex; flex-direction: column; gap: 5px; box-shadow: 0 6px 16px rgba(0,0,0,.12); color: #1c1a17; }
.v-doc b { font-size: 12px; }
.v-doc i { display: block; height: 5px; border-radius: 99px; background: #e5dcd0; }
.v-doc span { display: flex; align-items: center; gap: 5px; }
.v-doc em { font-style: normal; font-size: 10px; color: #5c9673; }
.v-doc .w90 { width: 90%; } .v-doc .w70 { width: 70%; } .v-doc .w60 { width: 60%; } .v-doc .w50 { width: 50%; } .v-doc .w40 { width: 40%; }
@media (max-width: 900px) {
  .studio { grid-row: span 3; }
  .st-body { grid-template-columns: 1fr; align-content: start; }
  .st-vis { height: 130px; }
  .st-count { display: none; }
  .studio .dock { overflow-x: auto; }
}
.stat span { display: block; }

/* ═════════════ Foldable mock on the lead work tile ═════════════ */
.duo.fold {
  position: absolute; left: 50%; bottom: 26px; z-index: 2; pointer-events: none;
  transform: translateX(-50%) rotateX(var(--hx, 0deg)) rotateY(var(--hy, 0deg));
  transform-style: preserve-3d; transition: transform .5s var(--ease);
}
.proj:hover .duo.fold, .proj:focus-within .duo.fold { transform: translateX(-50%) translateY(-8px) rotateX(var(--hx, 0deg)) rotateY(var(--hy, 0deg)); }
.fold .ui { font-size: calc(var(--w) * .028); }
.fold .back-slot { --pw: calc(var(--w) * .5); }
.fold .fui { grid-template-columns: 38% 1fr 9%; }
.fold .fui .ui-pane { padding: 1.6em 1em 1em; display: flex; flex-direction: column; gap: .55em; min-width: 0; }
.fold .fui .ui-pane:first-child { background: rgba(28,26,23,.035); border-right: 1px solid rgba(28,26,23,.06); }
.fold .fui .ui-title { font-size: 1.5em; }
.fold .fui .ui-grid i { height: 4.2em; }
.fold .fui .ui-rail { padding-top: 3.2em; }
.fold .fcam {
  position: absolute; z-index: 6; top: calc(var(--w) * .022); right: calc(var(--w) * .03);
  width: calc(var(--w) * .034); height: calc(var(--w) * .064); border-radius: 99px; background: #050506;
}
.fold .fcam::after { content: ""; position: absolute; left: 50%; top: 22%; width: 46%; aspect-ratio: 1; transform: translateX(-50%); border-radius: 50%; background: radial-gradient(circle at 35% 35%, #3b4a6b, #0c1020 60%); }
.fold .hinge { opacity: calc(var(--p) * .9); }
@media (max-width: 900px) {
  .proj.w2.h2 { grid-row: span 3; }
}
.fold .back-slot { background: #faf7f2; overflow: hidden; }
.fold .screen-window { background: #faf7f2; }

/* ═════════════ My AI toolkit: App Store–style shelf ═════════════ */
.wfull { grid-column: 1 / -1; }
.toolkit { display: flex; flex-direction: column; gap: 14px; padding: 20px 0 8px 22px; margin-bottom: var(--gap); overflow: hidden; }
.toolkit:hover, .toolkit:focus-within { transform: none; box-shadow: none; }
.tk-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; padding-right: 22px; }
.tk-title { display: block; font-family: var(--display); font-weight: 600; font-size: 22px; margin-top: 4px; }
.tk-ctrl { display: flex; gap: 8px; align-items: center; }
.tk-ctrl button { height: 34px; min-width: 34px; border-radius: 999px; border: 1px solid var(--line); background: var(--tile-2); color: var(--ink); font: 500 13px var(--sans); cursor: pointer; padding: 0 10px; transition: transform .2s var(--spring), background .2s, opacity .2s; }
.tk-ctrl button:hover, .tk-ctrl button:focus-visible { transform: scale(1.08); }
.tk-ctrl button:disabled { opacity: .35; cursor: default; transform: none; }
.tk-ctrl .tk-prev, .tk-ctrl .tk-next { font-size: 20px; line-height: 1; padding: 0 0 2px; }
.tk-sound[aria-pressed="true"] { background: var(--navy); color: #faf7f2; border-color: var(--navy); }
.tk-track {
  display: grid; grid-auto-flow: column; grid-auto-columns: 250px; column-gap: 16px;
  overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-padding-left: 0;
  padding: 10px 22px 18px 2px; scrollbar-width: none; cursor: grab; outline: none;
}
.tk-track::-webkit-scrollbar { display: none; }
.tk-track.drag { cursor: grabbing; scroll-snap-type: none; }
.tk-track.drag .tk-card { pointer-events: none; }
.tk-track:focus-visible { box-shadow: inset 0 0 0 2px var(--terra); border-radius: 12px; }
.tk-card {
  scroll-snap-align: start; display: flex; flex-direction: column; gap: 10px; padding: 14px;
  border-radius: 18px; background: var(--tile-2); border: 1px solid var(--line);
  box-shadow: 0 1px 2px rgba(16,27,61,.05);
  transition: transform .45s var(--spring), box-shadow .35s var(--ease);
  user-select: none;
}
.tk-card:hover, .tk-card:focus-within { transform: translateY(-6px) scale(1.03); box-shadow: 0 18px 30px -14px rgba(16,27,61,.35); }
.tk-card[data-case] { cursor: pointer; }
.tk-card header { display: flex; gap: 10px; align-items: center; }
.tk-card header b { display: block; font-size: 15px; line-height: 1.2; }
.tk-card header small { display: block; font-size: 12px; color: var(--muted); }
.tk-icon { position: relative; flex: none; width: 44px; height: 44px; border-radius: 12px; background: var(--c); display: grid; place-items: center;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.25), 0 3px 8px rgba(0,0,0,.14); transition: transform .45s var(--spring); }
.tk-card:hover .tk-icon, .tk-card:focus-within .tk-icon { transform: rotate(-8deg) scale(1.1); }
.tk-icon img { width: 56%; height: 56%; filter: invert(1); }
.tk-icon.light { box-shadow: inset 0 0 0 1px rgba(0,0,0,.12), 0 3px 8px rgba(0,0,0,.12); }
.tk-icon.light img { filter: none; }
.tk-icon b { font: 700 15px/1 var(--sans); color: #fff; }
.tk-icon em { position: absolute; bottom: -4px; right: -6px; font: 700 7.5px/1 var(--sans); font-style: normal; letter-spacing: .3px; text-transform: uppercase; padding: 2px 4px; border-radius: 4px; background: #faf7f2; color: #1c1a17; box-shadow: 0 1px 3px rgba(0,0,0,.2); }
.tk-vis { height: 112px; border-radius: 12px; background: var(--tile); display: grid; place-items: center; overflow: hidden; }
.tk-vis > * { transition: transform .5s var(--spring); }
.tk-card:hover .tk-vis > *, .tk-card:focus-within .tk-vis > * { transform: scale(1.08); }
.tk-card p { margin: 0; font-size: 14px; line-height: 1.35; font-weight: 500; color: var(--ink); min-height: 2.7em; }
.tk-card p span { display: block; font-size: 12px; font-weight: 500; letter-spacing: 1.4px; text-transform: uppercase; color: var(--terra-ink); margin-bottom: 2px; }
.tk-card footer { display: flex; justify-content: space-between; align-items: center; margin-top: auto; }
.tk-card .chip { font-size: 12px; font-weight: 500; padding: 3px 9px; border-radius: 999px; background: color-mix(in srgb, var(--terra) 14%, transparent); color: var(--ink); }
.tk-card .see { font-size: 12px; font-weight: 600; color: var(--ink); opacity: .6; transition: opacity .2s; }
.tk-card:hover .see, .tk-card:focus-within .see { opacity: 1; }
.tk-vis .v-phone { height: 92%; }
.tk-vis .v-term { width: 90%; padding-top: 20px; font-size: 10px; line-height: 1.55; }

/* taller profile tiles in the hello group */
.headshot.h2 img { object-position: 50% 18%; }
.linkedin.h2 { gap: 0; }
.li-facts { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 10px; }
.li-facts li { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--muted); line-height: 1.35; }
.li-facts li span { flex: none; width: 26px; height: 26px; border-radius: 8px; background: var(--tile-2); display: grid; place-items: center; font-size: 13px; }
.li-actions { margin-top: auto; display: grid; gap: 8px; }
.li-actions .pill { margin-top: 0; text-decoration: none; color: var(--ink); }
.li-actions .pill.ghost { background: transparent; }
.linkedin:hover .li-actions .pill:first-child, .linkedin:focus-within .li-actions .pill:first-child { background: #0a66c2; color: #fff; border-color: #0a66c2; }
.linkedin:hover .pill, .linkedin:focus-within .pill { background: var(--tile-2); color: var(--ink); border-color: var(--line); }

@media (max-width: 900px) {
  .toolkit { padding: 16px 0 16px 16px; }
  .tk-head { flex-direction: column; align-items: flex-start; }
  .tk-title { font-size: 18px; }
  .tk-track { grid-auto-columns: 78%; }
  .li-facts { margin-top: 12px; gap: 6px; }
  .li-facts li { font-size: 12px; }
}

/* ═════════════ How I work: process shuffle ═════════════ */
.how { --pc: #101b3d; display: flex; flex-direction: column; gap: 10px; }
.pr-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.pr-name { display: block; font-family: var(--display); font-weight: 600; font-size: 24px; line-height: 1.1; margin-top: 4px; color: var(--pc); transition: color .4s; }
:root[data-theme="dark"] .pr-name { color: var(--ink); }
.pr-best { display: block; font-size: 13px; color: var(--muted); margin-top: 2px; }
.pr-ctrl { display: flex; gap: 6px; align-items: center; flex: none; }
.pr-seg { display: flex; border: 1px solid var(--line); border-radius: 999px; padding: 2px; background: var(--tile-2); }
.pr-seg button { border: 0; background: transparent; font: 500 12px var(--sans); color: var(--muted); padding: 6px 9px; border-radius: 999px; cursor: pointer; white-space: nowrap; transition: background .25s, color .25s; }
.pr-seg button.on { background: var(--pc); color: #faf7f2; }
.pr-shuffle { width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--line); background: var(--tile-2); cursor: pointer; font-size: 14px; transition: transform .5s var(--spring); }
.pr-shuffle:hover, .pr-shuffle:focus-within { transform: rotate(180deg) scale(1.1); }
.how.shuffling .pr-shuffle { animation: spin .6s var(--spring); }
@keyframes spin { to { transform: rotate(360deg); } }

.pr-flow { list-style: none; margin: auto 0 0; padding: 0 0 26px; position: relative; display: grid; grid-template-columns: repeat(var(--n), 1fr); gap: 8px; }
.pr-flow::before { /* the line that connects the steps */
  content: ""; position: absolute; left: calc(50% / var(--n)); right: calc(50% / var(--n)); top: 15px; height: 2px;
  background: linear-gradient(90deg, var(--pc), color-mix(in srgb, var(--pc) 35%, transparent)); border-radius: 2px;
}
.pr-flow li { position: relative; display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; animation: stepIn .5s var(--spring) both; animation-delay: calc(var(--k) * 70ms); }
@keyframes stepIn { from { opacity: 0; transform: translateY(12px) scale(.8); } }
.pr-flow li span {
  position: relative; z-index: 1; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center;
  background: var(--tile-2); border: 2px solid var(--pc); color: var(--pc); font: 600 13px var(--sans);
  transition: transform .35s var(--spring), background .25s, color .25s;
}
:root[data-theme="dark"] .pr-flow li span { color: var(--ink); }
.pr-flow li b { font-size: 12.5px; font-weight: 600; line-height: 1.2; }
.pr-flow li:hover span, .pr-flow li:focus-within span { transform: scale(1.18); background: var(--pc); color: #faf7f2; }
.pr-loop { position: absolute; left: calc(50% / var(--n)); right: calc(50% / var(--n)); bottom: 0; width: calc(100% - 100% / var(--n)); height: 26px; overflow: visible; }
.pr-loop path { fill: none; stroke: var(--pc); stroke-width: 1.5; stroke-dasharray: 3 3; vector-effect: non-scaling-stroke; opacity: .6; }
.pr-loop .head { stroke-dasharray: none; opacity: .9; }
.pr-dot { position: absolute; top: 11px; left: calc(50% / var(--n)); width: 10px; height: 10px; border-radius: 50%; background: var(--pc); z-index: 2; box-shadow: 0 0 0 4px color-mix(in srgb, var(--pc) 20%, transparent); animation: travel 3.2s var(--ease) infinite; }
@keyframes travel { 0% { left: calc(50% / var(--n) - 5px); } 85%, 100% { left: calc(100% - 50% / var(--n) - 5px); opacity: 1; } 95% { opacity: 0; } }
.pr-proof { margin: 0; font-size: 12px; color: var(--muted); }
.pr-proof b { color: var(--pc); font-weight: 600; margin-right: 4px; text-transform: uppercase; letter-spacing: 1px; font-size: 12px; }
:root[data-theme="dark"] .pr-proof b { color: var(--terra-ink); }
@media (max-width: 900px) {
  .pr-head { flex-direction: column; }
  .pr-seg button { padding: 6px 7px; font-size: 12px; }
  .pr-flow li b { font-size: 12px; }
  .pr-flow li span { width: 26px; height: 26px; font-size: 12px; }
  .pr-flow::before { top: 12px; }
  .pr-dot { top: 8px; }
}
/* override the old "How I work" list styles */
.how .pr-flow { grid-template-columns: repeat(var(--n), 1fr); margin: auto 0 0; }
.how .pr-flow li { background: none; padding: 0; border-radius: 0; font-size: inherit; color: inherit; }
.how .pr-flow li:hover, .how .pr-flow li:focus-within { transform: none; background: none; }
@media (max-width: 900px) { .how .pr-flow { grid-template-columns: repeat(var(--n), 1fr); } }

/* ═════════════ Click a mock → it flies to center, page dims, case study opens ═════════════ */
.veil { position: fixed; inset: 0; z-index: 90; background: rgba(10,18,41,0); pointer-events: none;
  -webkit-backdrop-filter: blur(0px); backdrop-filter: blur(0px); transition: background .7s var(--ease), backdrop-filter .7s var(--ease); }
.veil.on { background: rgba(10,18,41,.5); -webkit-backdrop-filter: blur(8px) grayscale(.6); backdrop-filter: blur(8px) grayscale(.6); }
.fly { position: fixed; z-index: 95; margin: 0; pointer-events: none; transform-origin: 0 0; }
.fly .phone, .fly.duo { transform: none !important; }
.fly .stage3d::before { display: none; }

/* intro headline: verb + object swap together */
.swap { display: inline; transition: opacity .3s, filter .3s; }
.swap.out { opacity: 0; filter: blur(4px); }
.swap.in { animation: swapIn .45s var(--spring); }
.swap .verb { color: var(--muted); }

/* ═════════════ A week on the channel ═════════════ */
.week { display: flex; flex-direction: column; gap: 14px; }
.wk-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.wk-title { display: block; font-family: var(--display); font-weight: 600; font-size: 24px; line-height: 1.15; margin-top: 4px; }
.wk-sub { display: block; font-size: 13px; color: var(--muted); margin-top: 4px; max-width: 42ch; }
.wk-days { margin-top: auto; display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.wk-days button {
  display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 12px 0 10px; border-radius: 14px;
  border: 1px solid var(--line); background: var(--tile-2); color: var(--muted); cursor: pointer; font: 500 12px var(--sans);
  transition: transform .35s var(--spring), background .25s, color .25s, border-color .25s;
}
.wk-days button i { width: 8px; height: 8px; border-radius: 50%; background: var(--line); transition: background .25s, transform .3s var(--spring); }
.wk-days button:hover, .wk-days button:focus-visible { transform: translateY(-4px); }
.wk-days button.on { background: var(--navy); color: #faf7f2; border-color: var(--navy); }
.wk-days button.on i { background: #ff0033; transform: scale(1.3); }
.wk-days button.today:not(.on) i { background: #ff0033; }
:root[data-theme="dark"] .wk-days button.on { background: var(--ink); color: var(--navy); border-color: var(--ink); }
@media (max-width: 900px) {
  .week { grid-row: span 2; }
  .wk-head { flex-direction: column; }
  .wk-days { gap: 4px; }
  .wk-days button { font-size: 12px; padding: 10px 0 8px; }
}

/* ═════════════ Hello v2: typed headline, small photo, clock, wide LinkedIn ═════════════ */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.intro h1 { min-height: 2.4em; }
.hl-typer .verb { color: var(--muted); }
.hl-typer u { text-decoration-thickness: 2px; text-underline-offset: 5px; text-decoration-color: var(--terra); }
.hl-caret { display: inline-block; width: 2px; height: .95em; margin-left: 2px; vertical-align: -.1em; background: var(--terra); border-radius: 1px; animation: caretBlink 1s steps(1) infinite; }
.hl-typer.hl-typing .hl-caret { animation: none; }
@keyframes caretBlink { 50% { opacity: 0; } }

.headshot .cap { font-size: 12px; padding: 7px 10px; }

.clock-t { display: flex; flex-direction: column; justify-content: space-between; padding: 18px; }
.ck-lbl { font-size: 12px; font-weight: 600; color: var(--terra-ink); letter-spacing: .3px; }
.ck-time { font-family: var(--display); font-weight: 600; font-size: clamp(28px, 3vw, 40px); line-height: 1; font-variant-numeric: tabular-nums; }
.ck-zone, .ck-diff { font-size: 12px; color: var(--muted); line-height: 1.35; }
.ck-diff { display: block; max-height: 0; opacity: 0; overflow: hidden; transition: max-height .4s var(--ease), opacity .3s; }
.clock-t:hover .ck-diff, .clock-t:focus-within .ck-diff { max-height: 40px; opacity: 1; }
.clock-t:hover .ck-zone, .clock-t:focus-within .ck-zone { display: none; }

.li-wide { flex-direction: row; gap: 16px; align-items: stretch; padding: 20px; }
.li-wide .li-main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.li-wide .li-bio { font-size: 18px; margin-top: 10px; }
.li-sub { margin: auto 0 0; font-size: 12px; color: var(--muted); line-height: 1.4; }
.li-wide .li-top .li-mark { margin-left: auto; }
.li-wide .li-actions { flex: none; width: 44%; margin-top: 0; align-content: end; }

@media (max-width: 900px) {
  .li-wide { flex-direction: column; padding: 14px; }
  .li-wide .li-actions { width: 100%; grid-template-columns: 1fr 1fr; }
  .li-wide .li-sub { display: none; }
  .clock-t { padding: 14px; }
  .clock-t .ck-diff { max-height: 40px; opacity: 1; }
  .clock-t .ck-zone { display: none; }
}

/* ═════════════ Photo roll (Capital One) ═════════════ */
.ph-track { position: absolute; inset: 0; display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; outline-offset: -3px; }
.ph-track::-webkit-scrollbar { display: none; }
.ph-track > * { flex: none; width: 100%; height: 100%; scroll-snap-align: start; }
.tile.photo .ph-track img { position: static; }
.ph-slot { display: grid; place-items: center; background: repeating-linear-gradient(135deg, #2a2723 0 10px, #24211e 10px 20px); color: #b9ae9f; text-align: center; font-size: 13px; font-weight: 600; }
.ph-slot small { font-weight: 400; opacity: .7; }
.ph-dots { position: absolute; top: 12px; left: 12px; z-index: 3; display: flex; gap: 4px; }
.ph-dots i { width: 6px; height: 6px; border-radius: 3px; background: rgba(255,255,255,.55); transition: width .3s var(--ease), background .3s; }
.ph-dots i.on { width: 16px; background: #fff; }
.ph-live { position: absolute; top: 8px; right: 8px; z-index: 3; padding: 6px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; color: #1c1a17; background: rgba(255,255,255,.85); backdrop-filter: blur(8px); text-decoration: none; opacity: 0; transform: translateY(-4px); transition: opacity .3s, transform .3s var(--ease); }
.ph-roll:hover .ph-live, .ph-live:focus-visible, .touch .ph-live, .ph-roll:focus-within .ph-live { opacity: 1; transform: none; }
.ph-live[data-todo] { cursor: not-allowed; }
.ph-roll .go { display: none; }
.ph-dots:has(i:only-child) { display: none; }

/* ═════════════ Accessibility layer (see STYLE-GUIDE.md § Accessibility) ═════════════ */
html { scroll-padding-top: 96px; } /* 2.4.11: sticky nav never hides the focused element */
.skip { position: fixed; left: 16px; top: 12px; z-index: 1000; padding: 10px 16px; border-radius: 999px; background: var(--navy); color: #faf7f2; font-weight: 600; text-decoration: none; transform: translateY(-160%); }
.skip:focus, .skip:focus-visible { transform: none; outline: 2px solid var(--terra); outline-offset: 2px; }
:root[data-theme="dark"] .skip { background: #faf7f2; color: #101b3d; }
#main:focus { outline: none; }
.motion-toggle svg path { fill: none; }
.motion-toggle .m-play { display: none; }
.motion-toggle .m-play path { fill: currentColor; stroke: none; }
.still .motion-toggle .m-play { display: block; }
.still .motion-toggle .m-pause { display: none; }
/* paused: freeze every CSS animation and transition-driven loop */
/* paused: drop animations entirely (not "paused"), so fade-in content still lands in its visible end state */
.still *, .still *::before, .still *::after { animation: none !important; }
.still .tile { opacity: 1; } /* tiles start at opacity 0 and fade in by animation */
.still .hl-caret { animation: none; }
/* visible focus on everything interactive */
a:focus-visible, button:focus-visible, [tabindex]:focus-visible, input:focus-visible, summary:focus-visible { outline: 2px solid var(--terra-ink); outline-offset: 3px; }
.sl-nav button { opacity: 1; }

.cap .h { display: inline; position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.tile:hover .cap .h, .tile:focus-within .cap .h { position: static; width: auto; height: auto; clip: auto; white-space: normal; }
.tile:hover .cap .d, .tile:focus-within .cap .d { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); display: inline; }
.exp li:focus-within .hid, .exp li:focus .hid { max-height: 60px; }
.slide .txt a, .t-sub.ch { display: inline-flex; align-items: center; min-height: 27px; flex-shrink: 0; } /* 27px so side slides scaled to .9 still give 24px */ /* 2.5.8 target size */
.intro sup { font-size: 12px; }

/* ═════════════ Triage v1: hero role line, case study tags ═════════════ */
.hl-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin: 4px 0 14px; padding: 12px 14px; border-radius: 16px; background: var(--tile-2); border: 1px solid var(--line); }
.hl-role { flex: 1 1 220px; margin: 0; font-size: 14px; line-height: 1.4; color: var(--ink); }
.hl-role b { color: var(--terra-ink); font-weight: 600; }
.intro .hl-cta p { margin: 0; font-size: 14px; color: var(--ink); }
.hl-mail { margin: 0; flex: none; min-height: 44px; padding: 10px 18px; align-items: center; text-decoration: none; background: var(--navy); color: #faf7f2; border-color: var(--navy); }
:root[data-theme="dark"] .hl-mail { background: #faf7f2; color: #101b3d; border-color: #faf7f2; }
.hl-def { display: block; margin-top: 4px; }
.hl-def b { color: var(--ink); font-weight: 600; }
.cs-tag { position: absolute; top: 14px; right: 14px; z-index: 4; padding: 5px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; color: var(--ink); background: var(--tile-2); border: 1px solid var(--line); pointer-events: none; transition: transform .3s var(--ease), background .3s, color .3s; }
.tile:hover .cs-tag, .tile:focus-within .cs-tag, .tile:focus-visible .cs-tag { background: var(--navy); color: #faf7f2; border-color: var(--navy); transform: translateX(-2px); }
:root[data-theme="dark"] .tile:hover .cs-tag, :root[data-theme="dark"] .tile:focus-visible .cs-tag { background: #faf7f2; color: #101b3d; }
@media (max-width: 900px) {
  .hl-cta { padding: 10px 12px; }
}
.copy-email { min-height: 24px; padding: 2px 4px; }
.tokens .t-eyebrow { mix-blend-mode: normal; color: #faf7f2; background: rgba(16,27,61,.72); padding: 4px 8px; border-radius: 999px; text-shadow: none; }
/* process colors as TEXT in dark mode: lighten toward cream so they stay ≥4.5:1 on navy tiles */
:root[data-theme="dark"] .pr-flow li span, :root[data-theme="dark"] .pr-proof b { color: color-mix(in srgb, var(--pc) 25%, #faf7f2); }
:root[data-theme="dark"] .pr-flow li:hover span, :root[data-theme="dark"] .pr-flow li:focus-within span { color: #faf7f2; }
/* 1.4.10 / 1.4.12: rows grow to fit their text instead of clipping it (any width, any zoom) */
.bento { grid-auto-rows: minmax(var(--cell), auto); }
/* phones: nav + pause + theme must fit 375px with no overlap (1.4.10) */
@media (max-width: 480px) {
  .topbar { left: 8px; right: 8px; gap: 5px; }
  .nav a { padding: 8px 6px; }
  .theme-toggle { width: 38px; height: 38px; }
}
.composer input:focus-visible { box-shadow: 0 0 0 2px #0066d6; }
.tk-track:focus-visible, .sl-track:focus-visible { box-shadow: inset 0 0 0 2px var(--terra-ink); }

/* ═════════════ Home v3: impact, workflow, résumé (triage 2026-09-26) ═════════════ */
/* logo plates stay white in both themes so brand colors read correctly */
.im-logo { flex: none; display: grid; place-items: center; width: 112px; height: 44px; padding: 8px 12px; border-radius: 12px; background: #fff; border: 1px solid var(--line); }
.im-logo img { max-width: 100%; max-height: 26px; width: auto; height: auto; }
.im-logo.sm { width: 76px; height: 32px; padding: 5px 8px; border-radius: 8px; }
.im-logo.sm img { max-height: 18px; }

.impact { display: flex; flex-direction: column; gap: 12px; padding: 22px; }
.im-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.im-list li { display: flex; gap: 14px; align-items: flex-start; }
.im-list b { font-size: 14px; }
.im-list span { font-size: 12px; color: var(--muted); margin-left: 6px; }
.im-list p { margin: 3px 0 0; font-size: 13.5px; line-height: 1.45; color: var(--ink); }
.im-foot { margin: auto 0 0; font-size: 13px; color: var(--muted); }
.im-foot a { color: var(--terra-ink); font-weight: 600; text-underline-offset: 3px; }

.workflow { display: flex; flex-direction: column; gap: 12px; padding: 20px; }
.wf-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; counter-reset: wf; }
.wf-steps li { counter-increment: wf; position: relative; display: flex; flex-direction: column; gap: 2px; padding: 10px 8px; border-radius: 12px; background: var(--tile-2); border: 1px solid var(--line); }
.wf-steps li::before { content: counter(wf); font: 600 12px/1 var(--sans); color: var(--terra-ink); }
.wf-steps li.wf-me { background: var(--navy); border-color: var(--navy); color: #faf7f2; }
.wf-steps li.wf-me::before { content: "✓"; color: #faf7f2; }
.wf-steps li.wf-me span { color: #d9d1c5; }
:root[data-theme="dark"] .wf-steps li.wf-me { background: #faf7f2; border-color: #faf7f2; color: #101b3d; }
:root[data-theme="dark"] .wf-steps li.wf-me::before { color: #101b3d; }
:root[data-theme="dark"] .wf-steps li.wf-me span { color: #3d3833; }
.wf-steps b { font-size: 13px; }
.wf-steps span { font-size: 12px; line-height: 1.3; color: var(--muted); }
.wf-note { margin: 0; font-size: 13.5px; line-height: 1.45; color: var(--ink); max-width: 62ch; }
.wf-tools { margin-top: auto; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.wf-lbl { font-size: 12px; color: var(--muted); }
.wf-tools img { width: 20px; height: 20px; }
:root[data-theme="dark"] .wf-tools img { filter: invert(1); }
.wf-more { margin-left: auto; font-size: 13px; font-weight: 600; color: var(--terra-ink); text-decoration: none; min-height: 24px; display: inline-flex; align-items: center; }
.wf-more:hover, .wf-more:focus-visible { text-decoration: underline; }
.workflow:hover .wf-steps li:not(.wf-me) { transform: translateY(-2px); }
.wf-steps li { transition: transform .35s var(--spring); }
.workflow:hover .wf-steps li:nth-child(2) { transition-delay: .05s; } .workflow:hover .wf-steps li:nth-child(3) { transition-delay: .1s; } .workflow:hover .wf-steps li:nth-child(4) { transition-delay: .15s; }

.resume-t { display: flex; flex-direction: column; gap: 8px; text-decoration: none; color: var(--ink); }
.rs-page { flex: 1; min-height: 0; display: flex; flex-direction: column; gap: 6px; padding: 12px; border-radius: 8px; background: #fff; border: 1px solid var(--line); box-shadow: 0 6px 14px rgba(16,27,61,.08); transform: rotate(-2deg); transition: transform .45s var(--spring); }
.rs-page i { display: block; height: 5px; border-radius: 3px; background: #e5dcd0; }
.rs-page i:first-child { height: 8px; background: #101b3d; width: 55% !important; }
.rs-page .w90 { width: 90%; } .rs-page .w80 { width: 80%; } .rs-page .w70 { width: 70%; } .rs-page .w60 { width: 60%; } .rs-page .w50 { width: 50%; }
.resume-t:hover .rs-page, .resume-t:focus-visible .rs-page { transform: rotate(0) translateY(-4px); }
.rs-title { font-size: 18px; margin: 0; }

.badges.h2 .slider { flex: 1; }
.work-tools { margin-top: var(--gap); }
.exp li { align-items: center; }
.exp li .im-logo.sm { margin-right: 10px; }

@media (max-width: 900px) {
  .wf-steps { grid-template-columns: repeat(2, 1fr); }
  .wf-steps li.wf-me { grid-column: span 2; }
  .im-logo { width: 84px; height: 36px; padding: 6px 8px; }
  .impact { padding: 16px; }
}
/* wordmark logos (Fisher is 14:1) need a wider plate to stay legible */
.im-logo { width: 150px; height: 48px; padding: 8px 12px; }
.im-logo img { max-height: 30px; max-width: 100%; }
.im-logo img[src*="fisher"] { width: 100%; max-height: none; }
@media (max-width: 900px) {
  .im-list li { flex-direction: column; gap: 8px; }
  .im-logo { width: 170px; height: 44px; }
}
.im-logo { width: 176px; padding: 8px 10px; }
.impact .im-list { flex: 1; align-content: space-evenly; }
/* credentials without an official badge show the issuer's real logo on a white seal */
.cred-logo { width: 78%; aspect-ratio: 1; max-width: 132px; border-radius: 50%; background: #fff; border: 1px solid var(--line); display: grid; place-items: center; padding: 16%; box-shadow: 0 8px 18px -8px rgba(16,27,61,.35); }
.cred-logo img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
.cred-logo { padding: 11%; } .cred-logo img[src$=".png"] { width: 100%; }
/* About: the essay stays in view while the tile column scrolls */
@media (min-width: 901px) { .about-layout .essay { position: sticky; top: 88px; } }

/* ═════════════ About v2: one column, short captions (2026-09-26) ═════════════ */
.ab-head { display: grid; gap: 10px; margin: 8px 0 8px; max-width: 62ch; }
.ab-head h1 { margin: 0; font-size: clamp(32px, 4vw, 44px); line-height: 1.1; }
.ab-head p { margin: 0; font-size: 18px; line-height: 1.5; color: var(--muted); }
.fact { display: flex; flex-direction: column; gap: 4px; }
.fact .t-title { font-size: 21px; margin-top: auto; }
.fact .t-sub { font-size: 13px; }
.looking { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px; padding: 24px 28px; background: var(--navy); color: #faf7f2; }
.looking .t-eyebrow { color: #e8b89f; }
.lk-line { margin: 6px 0 0; max-width: 56ch; font-family: var(--display); font-weight: 600; font-size: 22px; line-height: 1.3; color: #faf7f2; }
.lk-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.lk-actions .pill { margin: 0; min-height: 44px; padding: 10px 18px; align-items: center; text-decoration: none; color: #faf7f2; background: transparent; border-color: rgba(250,247,242,.45); }
.lk-actions .pill.hl-mail { background: #faf7f2; color: #101b3d; border-color: #faf7f2; }
:root[data-theme="dark"] .looking { background: #16234a; border: 1px solid var(--line); }
.looking:hover { transform: none; }
.bento[data-group="looking"] { grid-auto-rows: auto; margin-top: calc(var(--gap) * 2); }
@media (max-width: 900px) {
  .lk-line { font-size: 18px; }
  .looking { padding: 20px; }
}
/* About experience: results always visible (home links here for the full story) */
[data-view="about"] .exp li .hid { max-height: none; margin-top: 4px; font-size: 13px; color: var(--ink); }
[data-view="about"] .exp ol { display: grid; gap: 18px; }
.now-reading.w2 .slide { flex-basis: 33.333%; }
@media (max-width: 900px) { .now-reading.w2 .slide { flex-basis: 50%; } }
.now-reading.w2 .slide .vis { padding: 0 12px; }
.now-reading.w2 .cover { max-height: 210px; max-width: 78%; }
.now-reading.w2 .cover img { width: 100%; height: auto; }

/* ═════════════ Round 4 (2026-09-26): no uniform cards, no logo plates, agent docs ═════════════ */

/* Logos sit directly on the tile, no white plate. Dark mode: single-color marks turn cream so they stay visible;
   BECU (red box with white letters), UserTesting (blue bubble) and Vanderbilt (gold V) keep their own colors. */
.im-logo, .im-logo.sm { background: none; border: 0; padding: 0; border-radius: 0; justify-items: start; width: 150px; height: 40px; }
.im-logo img { max-height: 30px; }
.im-logo img[src*="fisher"] { width: 100%; max-height: none; }
.cred-logo { background: none; border: 0; box-shadow: none; border-radius: 0; padding: 6%; }
:root[data-theme="dark"] :is(.im-logo, .cred-logo) img:is([src*="capital-one"], [src*="edward-jones"], [src*="fisher"], [src*="replit"]) { filter: brightness(0) invert(96%) sepia(8%) saturate(300%); }
@media (max-width: 900px) { .im-logo { width: 150px; height: 36px; } }

/* Talk stories: mixed rectangles, not four equal cards */
.story { grid-template-columns: repeat(6, 1fr); grid-auto-flow: dense; align-items: start; gap: 14px; }
.story > div { border-radius: 16px; }
.story > div:nth-child(1) { grid-column: span 4; background: none; border: 0; padding: 4px 0 0; }
.story > div:nth-child(1) b { font-family: var(--display); font-weight: 600; font-size: 22px; line-height: 1.2; }
.story > div:nth-child(1) p { font-size: 15px; max-width: 60ch; }
.story > div:nth-child(2) { grid-column: span 2; grid-row: span 2; background: var(--card); border: 1px solid var(--line); }
.story > div:nth-child(3) { grid-column: span 2; background: var(--navy); border: 0; }
.story > div:nth-child(3) .lbl { color: #e8b89f; }
.story > div:nth-child(3) b { color: #faf7f2; font-family: var(--display); font-weight: 600; font-size: 19px; line-height: 1.25; }
.story > div:nth-child(3) p { color: #d9d1c5; }
:root[data-theme="dark"] .story > div:nth-child(3) { background: #faf7f2; }
:root[data-theme="dark"] .story > div:nth-child(3) .lbl { color: #9a4a2a; }
:root[data-theme="dark"] .story > div:nth-child(3) b { color: #101b3d; }
:root[data-theme="dark"] .story > div:nth-child(3) p { color: #3d3833; }
.story > div:nth-child(4) { grid-column: span 2; background: none; border: 1.5px solid var(--terra); }
@media (max-width: 900px) {
  .story { grid-template-columns: 1fr; }
  .story > div:nth-child(n) { grid-column: auto; grid-row: auto; }
}

/* Workflow steps are links to the role docs */
.wf-steps li { padding: 0; }
.wf-steps li a { display: flex; flex-direction: column; gap: 2px; padding: 10px 8px; min-height: 100%; border-radius: 12px; color: inherit; text-decoration: none; }
.wf-steps li::before { position: absolute; top: 10px; left: 8px; }
.wf-steps li a b { margin-top: 16px; }
.wf-steps li:hover, .wf-steps li:focus-within { border-color: var(--terra); }
.wf-steps li a:hover b, .wf-steps li a:focus-visible b { text-decoration: underline; text-underline-offset: 3px; }
.wf-note a { color: var(--terra-ink); font-weight: 600; text-underline-offset: 3px; }

/* Agent docs on Work: a tetris of shapes, each one a different kind of surface */
.ag-grid { margin-top: 0; }
.ag { display: flex; flex-direction: column; gap: 8px; padding: 22px; position: relative; }
.ag:hover { transform: none; }
.ag-name { margin: 0; font-family: var(--display); font-weight: 600; font-size: 22px; line-height: 1.15; }
.ag p { margin: 0; font-size: 14px; line-height: 1.5; color: var(--ink); max-width: 58ch; }
.ag-rules { margin: 2px 0 0; padding-left: 18px; display: grid; gap: 4px; font-size: 13px; color: var(--muted); }
.ag-rules li::marker { color: var(--terra-ink); }
.ag-file { margin-top: auto; align-self: flex-start; display: inline-flex; align-items: center; min-height: 32px; padding: 4px 12px; border-radius: 999px; font: 500 13px/1 ui-monospace, Menlo, monospace; color: var(--ink); background: var(--tile-2); border: 1px solid var(--line); text-decoration: none; }
.ag-file:hover, .ag-file:focus-visible { background: var(--navy); color: #faf7f2; border-color: var(--navy); }
.ag-step { position: absolute; top: 18px; right: 20px; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font: 600 14px/1 var(--sans); color: var(--terra-ink); border: 1.5px solid var(--terra); }
.ag-skill { background: color-mix(in srgb, var(--terra) 12%, var(--tile)); }
.ag-ux, .ag-dev { background: none; border: 1.5px dashed var(--line); }
.ag-tokens { background: linear-gradient(90deg, #101b3d 0 20%, #b85c38 20% 40%, #faf7f2 40% 60%, #1f3a32 60% 80%, #d9a34f 80%) top / 100% 10px no-repeat, var(--tile); padding-top: 30px; }
.ag-me { background: var(--navy); color: #faf7f2; }
.ag-me .ag-name, .ag-me p { color: #faf7f2; }
.ag-me .t-eyebrow { color: #e8b89f; }
.ag-me .ag-step { color: #faf7f2; border-color: #faf7f2; }
:root[data-theme="dark"] .ag-me { background: #faf7f2; }
:root[data-theme="dark"] .ag-me .ag-name, :root[data-theme="dark"] .ag-me p { color: #101b3d; }
:root[data-theme="dark"] .ag-me .t-eyebrow { color: #9a4a2a; }
:root[data-theme="dark"] .ag-me .ag-step { color: #101b3d; border-color: #101b3d; }
.ag:focus { outline: none; }
.ag.ag-hit { animation: agHit 1.6s var(--ease); }
@keyframes agHit { 0%, 40% { box-shadow: 0 0 0 3px var(--terra); } 100% { box-shadow: 0 0 0 3px transparent; } }
.story > div:nth-child(2) { align-self: stretch; }
/* logo sizing without plates: wide wordmarks get the full width, compact marks get height */
.im-logo { width: 160px; height: 44px; }
.im-logo img { max-height: 36px; max-width: 100%; }
.im-logo img[src*="capital-one"] { height: 40px; max-height: 40px; }
.im-logo img[src*="edward-jones"], .im-logo img[src*="fisher"] { width: 100%; height: auto; max-height: none; }
.ag-skill { background: color-mix(in srgb, var(--terra) 8%, var(--tile)); }
.ag-skill .t-eyebrow, .ag-skill .ag-rules { color: #5a524b; }
:root[data-theme="dark"] .ag-skill .t-eyebrow, :root[data-theme="dark"] .ag-skill .ag-rules { color: var(--muted); }
.wf-more { min-height: 32px; padding: 4px 0; }

/* Week tile: each day shows its theme's latest video */
.week { display: flex; flex-direction: column; gap: 14px; }
.wk-video { display: flex; gap: 14px; align-items: center; padding: 0; border: 0; background: none; color: inherit; font: inherit; text-align: left; cursor: pointer; border-radius: 14px; }
.wk-video[hidden] { display: none; }
.wk-thumb { position: relative; flex: none; width: 46%; aspect-ratio: 16 / 9; border-radius: 12px; overflow: hidden; background: #1c1a17; }
.wk-video.is-short .wk-thumb { width: 28%; aspect-ratio: 9 / 16; max-height: 200px; }
.wk-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.wk-play { position: absolute; inset: 0; margin: auto; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: rgba(16,27,61,.78); color: #faf7f2; font-size: 15px; padding-left: 3px; transition: transform .3s var(--spring), background .3s; }
.wk-video:hover .wk-thumb img, .wk-video:focus-visible .wk-thumb img { transform: scale(1.06); }
.wk-video:hover .wk-play, .wk-video:focus-visible .wk-play { transform: scale(1.12); background: #c4302b; }
.wk-meta { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.wk-kind { font-size: 12px; letter-spacing: .6px; text-transform: uppercase; color: var(--terra-ink); font-weight: 600; }
.wk-vt { font-size: 15px; line-height: 1.35; color: var(--ink); }
.wk-date { font-size: 12px; color: var(--muted); }
.week .wk-days { margin-top: auto; }
@media (max-width: 900px) {
  .wk-thumb { width: 42%; }
  .wk-video.is-short .wk-thumb { width: 32%; }
  .wk-vt { font-size: 14px; }
}

/* ═════════════ Speaking v2: no single big card (2026-09-26) ═════════════ */
.sp-reel { margin: 0; padding: 0; display: flex; flex-direction: column; justify-content: center; background: #101b3d; }
.sp-reel video { width: 100%; aspect-ratio: 16 / 9; display: block; background: #000; }
.sp-reel figcaption { padding: 12px 18px; font-size: 13px; color: #d9d1c5; }
.sp-reel:hover { transform: none; }
[data-view="speaking"] .talks { margin: 0; border-top: 1px solid var(--line); }
[data-view="speaking"] .talk summary { padding-left: 0; padding-right: 0; }
[data-view="speaking"] .yt-grid { margin-top: 0; }
[data-view="speaking"] .bento[data-group="looking"] { margin-top: calc(var(--gap) * 3); }
.sp-tall img { object-position: 50% 30%; }
/* Speaking: the workshop video is one full-width row */
.bento[data-group="sp-reel"] { grid-auto-rows: auto; }
.sp-reel { grid-column: 1 / -1; background: #000; }
.sp-reel video { max-height: 72vh; object-fit: contain; }
.sp-reel figcaption { background: #101b3d; }

/* ═════════════ Talks as passport stamps (2026-09-26) ═════════════ */
.ink-navy   { --ink: #101b3d; }
.ink-terra  { --ink: #9a4a2a; }
.ink-green  { --ink: #1f3a32; }
.ink-maroon { --ink: #6b2d3c; }
.ink-gold   { --ink: #7a5a1f; }
:root[data-theme="dark"] .ink-navy   { --ink: #c9d3f2; }
:root[data-theme="dark"] .ink-terra  { --ink: #e59a78; }
:root[data-theme="dark"] .ink-green  { --ink: #8fd3b4; }
:root[data-theme="dark"] .ink-maroon { --ink: #e6a3b3; }
:root[data-theme="dark"] .ink-gold   { --ink: #e8c071; }

[data-view="speaking"] .talks { border-top: 0; }
.stamps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; align-items: center; justify-items: center; padding: 10px 0 26px; }
.stamp {
  position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; text-align: center;
  width: 100%; max-width: 220px; padding: 18px 14px; cursor: pointer; font: inherit; color: var(--ink); background: transparent;
  border: 3px solid var(--ink); box-shadow: inset 0 0 0 4px var(--bg), inset 0 0 0 5.5px var(--ink);
  transform: rotate(var(--rot)); transition: transform .35s var(--spring), background .3s, opacity .3s; opacity: .82;
}
.stamp:hover, .stamp:focus-visible { opacity: 1; transform: rotate(0deg) scale(1.04); }
.stamp.on { opacity: 1; background: color-mix(in srgb, var(--ink) 9%, transparent); transform: rotate(0deg); }
.stamp:focus-visible { outline: 2px solid var(--terra-ink); outline-offset: 6px; }
.stamp.pressed { animation: stampPress .45s var(--ease); }
@keyframes stampPress { 0% { transform: rotate(0) scale(1.18); } 55% { transform: rotate(0) scale(.95); } 100% { transform: rotate(0) scale(1); } }

.st-num   { font: 600 12px/1 var(--sans); letter-spacing: 2px; text-transform: uppercase; }
.st-place { font: 600 21px/1.1 var(--display); text-transform: uppercase; letter-spacing: .5px; }
.st-sub   { font: 500 12px/1.3 var(--sans); letter-spacing: 1px; text-transform: uppercase; opacity: .9; }
.st-title { font: 500 13px/1.3 var(--sans); margin-top: 4px; padding-top: 6px; border-top: 1.5px dashed var(--ink); max-width: 20ch; }
.st-dur   { font: 600 12px/1 var(--sans); letter-spacing: 1.2px; text-transform: uppercase; }

/* five different stamp shapes */
.st-circle { aspect-ratio: 1; border-radius: 50%; padding: 22px; }
.st-rect   { border-radius: 6px; }
.st-oval   { border-radius: 50% / 38%; padding: 26px 18px; }
.st-hex    { border-style: dashed; border-radius: 14px; box-shadow: inset 0 0 0 5px var(--bg), inset 0 0 0 7px var(--ink); }
.st-ticket { border-radius: 4px; border-style: double; border-width: 6px; box-shadow: none; }

/* the chosen talk: story next to the trip photo */
.talk-panel { border-top: 1px solid var(--line); padding-top: 22px; }
.talk-panel:focus { outline: none; }
.talk-panel:focus-visible { outline: 2px solid var(--terra-ink); outline-offset: 6px; border-radius: 8px; }
.talk-panel.tp-in { animation: viewIn .4s var(--ease); }
.tp-head { display: flex; gap: 16px; align-items: baseline; margin-bottom: 18px; }
.tp-num { font: 600 22px/1 var(--display); color: var(--terra-ink); }
.tp-title { margin: 0; font: 600 26px/1.2 var(--display); }
.tp-tag { margin: 6px 0 0; font-size: 12px; letter-spacing: 1.2px; text-transform: uppercase; color: var(--muted); }
.tp-body { display: block; }
.tp-body.has-photo { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 18px; align-items: start; }
.tp-photo { margin: 0; border-radius: 16px; overflow: hidden; position: relative; background: #1c1a17; }
.tp-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; display: block; }
.tp-photo figcaption { position: absolute; left: 10px; bottom: 10px; padding: 6px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; background: rgba(250,247,242,.9); color: #1c1a17; }
[data-view="speaking"] .story { padding-left: 0; }
.tp-body.has-photo .story { grid-template-columns: repeat(4, 1fr); }
.tp-body.has-photo .story > div:nth-child(1) { grid-column: span 4; }
.tp-body.has-photo .story > div:nth-child(2) { grid-column: span 2; grid-row: auto; }
.tp-body.has-photo .story > div:nth-child(3), .tp-body.has-photo .story > div:nth-child(4) { grid-column: span 2; }
.talk-panel .best { margin: 16px 0 0; font-size: 13px; color: var(--muted); }

@media (max-width: 900px) {
  .stamps { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .stamps .stamp:last-child { grid-column: span 2; max-width: 240px; }
  .st-place { font-size: 18px; }
  .tp-body.has-photo { grid-template-columns: 1fr; }
  .tp-body.has-photo .story { grid-template-columns: 1fr; }
  .tp-body.has-photo .story > div:nth-child(n) { grid-column: auto; }
  .tp-title { font-size: 21px; }
}
@media (prefers-reduced-motion: reduce) { .stamp { transform: none; } }

/* ═════════════ Hero: profile picture + live, dated status (2026-09-26) ═════════════ */
.hl-row { display: flex; gap: 16px; align-items: flex-start; }
.hl-avatar { position: relative; flex: none; width: 64px; height: 64px; }
.hl-avatar img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; object-position: 50% 18%; box-shadow: 0 0 0 3px var(--tile), 0 0 0 4.5px var(--line); }
.hl-live { position: absolute; right: 1px; bottom: 3px; width: 15px; height: 15px; border-radius: 50%; background: #2f8a55; box-shadow: 0 0 0 3px var(--tile); }
.hl-when { margin: 8px 0 0 !important; display: flex; align-items: center; gap: 7px; font-size: 13px !important; color: var(--muted) !important; opacity: 0; transform: translateY(-3px); transition: opacity .35s, transform .35s var(--ease); min-height: 20px; }
.hl-when.on { opacity: 1; transform: none; }
.hl-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #2f8a55; box-shadow: 0 0 0 0 rgba(47,138,85,.45); animation: livePulse 2.2s infinite; flex: none; }
.hl-when.is-old .hl-dot { background: var(--muted); animation: none; }
@keyframes livePulse { 70% { box-shadow: 0 0 0 7px rgba(47,138,85,0); } 100% { box-shadow: 0 0 0 0 rgba(47,138,85,0); } }
.intro .hl-row h1 { min-height: 0; }

/* Recent work feed */
.activity { display: flex; flex-direction: column; gap: 10px; padding: 20px; }
.activity .t-eyebrow { display: flex; align-items: center; gap: 8px; }
.act-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; position: relative; }
.act-list::before { content: ""; position: absolute; left: 3px; top: 8px; bottom: 8px; width: 1.5px; background: var(--line); }
.act-list li a { position: relative; display: grid; gap: 1px; padding: 7px 8px 7px 20px; border-radius: 10px; color: inherit; text-decoration: none; transition: background .25s; }
.act-list li a::before { content: ""; position: absolute; left: 0; top: 13px; width: 8px; height: 8px; border-radius: 50%; background: var(--tile); border: 1.5px solid var(--terra); }
.act-list li:first-child a::before { background: #2f8a55; border-color: #2f8a55; }
.act-list li a:hover, .act-list li a:focus-visible { background: var(--tile-2); }
.act-when { font-size: 12px; font-weight: 600; color: var(--terra-ink); text-transform: uppercase; letter-spacing: .6px; }
.act-list b { font-size: 14px; line-height: 1.3; }
.act-note { font-size: 12px; line-height: 1.35; color: var(--muted); }

/* LinkedIn, compact 1×1 */
.li-compact { display: flex; flex-direction: column; gap: 6px; padding: 18px; }
.li-compact .li-bio { font-size: 15px; margin: 4px 0 0; }
.li-compact .pill { margin-top: auto; min-height: 40px; align-items: center; text-decoration: none; color: var(--ink); }
.li-compact:hover .pill { background: #0a66c2; color: #fff; border-color: #0a66c2; }

@media (max-width: 900px) {
  .hl-avatar { width: 48px; height: 48px; }
  .hl-live { width: 12px; height: 12px; }
  .activity { grid-column: span 2; grid-row: span 1; }
}

/* Mentee reviews tile (replaces the big LinkedIn card) */
.reviews { display: flex; flex-direction: column; gap: 10px; padding: 18px; }
.rv-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; flex-wrap: wrap; }
.rv-stars { font-size: 13px; color: #8a5a00; letter-spacing: 1px; white-space: nowrap; }
:root[data-theme="dark"] .rv-stars { color: #f2c46a; }
.rv-stars b { color: var(--ink); letter-spacing: 0; margin-left: 2px; }
.rv-stage { flex: 1; display: flex; }
.rv-card { margin: 0; display: flex; flex-direction: column; gap: 8px; }
.rv-card.rv-in { animation: viewIn .45s var(--ease); }
.rv-card blockquote { margin: 0; font: 600 16px/1.35 var(--display); color: var(--ink); }
.rv-card figcaption { display: grid; gap: 1px; margin-top: auto; }
.rv-card figcaption b { font-size: 13px; }
.rv-card figcaption span { font-size: 12px; color: var(--muted); line-height: 1.3; }
.rv-writing a { font: 600 17px/1.3 var(--display); color: var(--ink); text-decoration-color: var(--terra); text-underline-offset: 4px; }
.rv-kind { font-size: 12px; font-weight: 600; letter-spacing: .6px; text-transform: uppercase; color: var(--terra-ink); }
.rv-foot { display: flex; justify-content: space-between; align-items: center; }
.rv-dots { display: flex; gap: 4px; }
.rv-dots i { width: 6px; height: 6px; border-radius: 3px; background: var(--line); transition: width .3s, background .3s; }
.rv-dots i.on { width: 16px; background: var(--terra); }
.rv-next { width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--line); background: var(--tile-2); color: var(--ink); font: 600 16px/1 var(--sans); cursor: pointer; padding-bottom: 2px; }
.rv-next:hover, .rv-next:focus-visible { background: var(--navy); color: #faf7f2; }

/* Résumé tile with profile links */
.resume-t { display: flex; flex-direction: column; gap: 10px; padding: 18px; }
.rs-main { flex: 1; display: flex; flex-direction: column; gap: 8px; color: inherit; text-decoration: none; min-height: 0; }
.resume-t .rs-page { padding: 10px; }
.rs-social { display: flex; flex-wrap: wrap; gap: 6px; }
.rs-social a { display: inline-flex; align-items: center; min-height: 28px; padding: 3px 10px; border-radius: 999px; border: 1px solid var(--line); background: var(--tile-2); font-size: 12px; font-weight: 600; color: var(--ink); text-decoration: none; }
.rs-social a:hover, .rs-social a:focus-visible { background: var(--navy); color: #faf7f2; border-color: var(--navy); }

/* Agent teams toggle + Cowork dashboard */
.team-toggle { display: inline-flex; gap: 4px; padding: 4px; margin: 0 0 var(--gap); border-radius: 999px; background: var(--tile); border: 1px solid var(--line); }
.team-toggle button { min-height: 40px; padding: 8px 18px; border: 0; border-radius: 999px; background: none; font: 600 14px var(--sans); color: var(--muted); cursor: pointer; transition: background .25s, color .25s; }
.team-toggle button span { font-weight: 500; }
.team-toggle button[aria-selected="true"] { background: var(--navy); color: #faf7f2; }
:root[data-theme="dark"] .team-toggle button[aria-selected="true"] { background: #faf7f2; color: #101b3d; }
.ag-grid[hidden], .cw-grid[hidden] { display: none; }
.cw-grid .tile { display: flex; flex-direction: column; gap: 10px; padding: 22px; }
.cw-grid .tile:hover { transform: none; }
.cw-founder { background: var(--navy); color: #faf7f2; }
.cw-founder .ag-name, .cw-founder p { color: #faf7f2; margin: 0; }
.cw-founder p { font-size: 14px; line-height: 1.5; max-width: 52ch; }
.cw-founder .t-eyebrow { color: #e8b89f; }
:root[data-theme="dark"] .cw-founder { background: #faf7f2; }
:root[data-theme="dark"] .cw-founder .ag-name, :root[data-theme="dark"] .cw-founder p { color: #101b3d; }
:root[data-theme="dark"] .cw-founder .t-eyebrow { color: #9a4a2a; }
.cw-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.cw-two { grid-template-columns: 1fr 1fr; gap: 12px 16px; }
.cw-list li { display: flex; gap: 10px; align-items: flex-start; }
.cw-av { flex: none; width: 38px; height: 38px; border-radius: 50%; overflow: hidden; background: var(--tile-2); border: 1px solid var(--line); display: grid; place-items: center; }
.cw-av img { width: 100%; height: 100%; object-fit: cover; }
.cw-init { font: 600 16px/1 var(--display); color: var(--terra-ink); }
.cw-list b { display: block; font-size: 14px; }
.cw-role { display: block; font-size: 12px; font-weight: 600; letter-spacing: .4px; text-transform: uppercase; color: var(--terra-ink); }
.cw-owns { display: block; font-size: 13px; line-height: 1.35; color: var(--muted); }
.cw-comp { background: none; border: 1.5px dashed var(--line); }
.cw-beats { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.cw-beats li { display: grid; grid-template-columns: 150px 1fr; gap: 12px; font-size: 13px; line-height: 1.4; }
.cw-beats b { color: var(--ink); }
.cw-beats span { color: var(--muted); }
.cw-vs { background: color-mix(in srgb, var(--terra) 8%, var(--tile)); }
.cw-vs p { margin: 0; font-size: 14px; line-height: 1.5; color: var(--ink); }
.cw-switch { margin-top: auto; align-self: flex-start; min-height: 32px; padding: 4px 12px; border-radius: 999px; border: 1px solid var(--line); background: var(--tile-2); font: 600 13px var(--sans); color: var(--ink); cursor: pointer; }
.cw-switch:hover, .cw-switch:focus-visible { background: var(--navy); color: #faf7f2; }
@media (max-width: 900px) {
  .cw-two { grid-template-columns: 1fr; }
  .cw-beats li { grid-template-columns: 1fr; gap: 0; }
  .team-toggle button span { display: none; }
}

/* Books: write-ups, Jill's ratings, book club */
.bk-stars { font-size: 13px; letter-spacing: 1px; color: #8a5a00; }
:root[data-theme="dark"] .bk-stars { color: #f2c46a; }
.bk-about { margin: 6px 0 0; font-size: 13px; line-height: 1.45; color: var(--ink); max-width: 34ch; }
.bk-club { display: inline-flex; align-items: center; min-height: 28px; margin-top: 6px; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; color: var(--terra-ink); border: 1px solid color-mix(in srgb, var(--terra) 45%, transparent); text-decoration: none; }
.bk-club:hover, .bk-club:focus-visible { background: var(--navy); color: #faf7f2; border-color: var(--navy); }
.books .bk-about, .books .bk-club, .books .slide em { display: none; } /* the small home tile stays short; About shows the write-ups */

/* Speaking: sessions hosted */
.sess-grid { grid-auto-rows: auto; }
.sess-grid .tile { display: flex; flex-direction: column; gap: 8px; padding: 22px; text-decoration: none; color: var(--ink); }
.sess-sum { background: var(--navy); color: #faf7f2; }
.sess-sum .t-eyebrow { color: #e8b89f; }
.sess-big { font: 600 64px/1 var(--display); }
.sess-lbl { font-size: 14px; line-height: 1.5; color: #d9d1c5; max-width: 52ch; }
:root[data-theme="dark"] .sess-sum { background: #faf7f2; color: #101b3d; }
:root[data-theme="dark"] .sess-sum .t-eyebrow { color: #9a4a2a; }
:root[data-theme="dark"] .sess-lbl { color: #3d3833; }
.sess-t { font: 600 20px/1.2 var(--display); }
.sess-meter { display: block; height: 8px; border-radius: 4px; background: var(--line); overflow: hidden; margin-top: auto; }
.sess-meter i { display: block; height: 100%; background: var(--terra); border-radius: 4px; }
.sess-rsvp { font-size: 13px; color: var(--muted); }
.sess:hover .sess-t, .sess:focus-visible .sess-t { text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--terra); }
@media (max-width: 900px) { .sess-big { font-size: 48px; } }
.sess-grid .sess-sum { color: #faf7f2; }
:root[data-theme="dark"] .sess-grid .sess-sum { color: #101b3d; }
/* reviews: honest summary line + article thumbnail */
.rv-avg { font-size: 12px; line-height: 1.35; color: var(--muted); text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 3px; margin-top: -4px; }
.rv-avg:hover, .rv-avg:focus-visible { color: var(--ink); text-decoration-color: var(--terra); }
.rv-img { display: block; aspect-ratio: 16 / 9; border-radius: 10px; overflow: hidden; background: var(--tile-2); }
.rv-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.rv-writing:hover .rv-img img, .rv-writing:focus-within .rv-img img { transform: scale(1.05); }
.rv-writing a { font-size: 15px; }

/* ═════════════ Speaking: video reel, cover-flow wheel ═════════════ */
.reel-w { display: grid; gap: 14px; }
.rw-stage { position: relative; height: clamp(230px, 34vw, 430px); perspective: 1400px; outline: none; touch-action: pan-y; }
.rw-stage:focus-visible { outline: 2px solid var(--terra-ink); outline-offset: 6px; border-radius: 16px; }
.rw-card {
  position: absolute; left: 50%; top: 0; width: min(62%, 720px); aspect-ratio: 16 / 9; padding: 0; border: 0; border-radius: 16px; overflow: hidden;
  background: #1c1a17; cursor: pointer; box-shadow: 0 24px 50px -24px rgba(16,27,61,.55);
  transform: translateX(calc(-50% + var(--x, 0%))) scale(var(--s, 1)) rotateY(var(--ry, 0deg));
  transition: transform .7s var(--ease), opacity .5s, filter .5s; filter: saturate(.55) brightness(.8);
}
.rw-card.is-cur { filter: none; }
.rw-card img { width: 100%; height: 100%; object-fit: cover; display: block; }
.rw-play { position: absolute; inset: 0; margin: auto; width: 68px; height: 68px; border-radius: 50%; display: grid; place-items: center; font-size: 22px; padding-left: 4px; color: #faf7f2; background: rgba(16,27,61,.78); opacity: 0; transform: scale(.8); transition: opacity .3s, transform .35s var(--spring), background .3s; }
.rw-card.is-cur .rw-play { opacity: 1; transform: none; }
.rw-card.is-cur:hover .rw-play, .rw-card.is-cur:focus-visible .rw-play { background: #c4302b; transform: scale(1.08); }
.rw-dur { position: absolute; right: 10px; bottom: 10px; padding: 3px 8px; border-radius: 6px; font: 600 12px/1.2 var(--sans); color: #fff; background: rgba(0,0,0,.75); }
.rw-card:focus-visible { outline: 3px solid var(--terra); outline-offset: 3px; }
.rw-info { display: flex; align-items: center; justify-content: center; gap: 18px; }
.rw-cap { display: grid; gap: 4px; text-align: center; min-width: 0; max-width: 56ch; min-height: 3.2em; }
.rw-ep { font-size: 12px; font-weight: 600; letter-spacing: 1.2px; text-transform: uppercase; color: var(--terra-ink); }
.rw-title { font: 600 20px/1.25 var(--display); color: var(--ink); }
.rw-btn { flex: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: var(--tile); color: var(--ink); font: 600 20px/1 var(--sans); padding-bottom: 3px; cursor: pointer; transition: background .25s, color .25s, transform .25s var(--spring); }
.rw-btn:hover, .rw-btn:focus-visible { background: var(--navy); color: #faf7f2; transform: scale(1.06); }
.rw-ticks { display: flex; justify-content: center; gap: 6px; }
.rw-ticks i { width: 22px; height: 4px; border-radius: 2px; background: var(--line); transition: background .3s, width .3s; }
.rw-ticks i.on { width: 36px; background: var(--terra); }
@media (max-width: 900px) {
  .rw-card { width: 74%; }
  .rw-title { font-size: 17px; }
  .rw-info { gap: 10px; }
}
@media (prefers-reduced-motion: reduce) { .rw-card { transition: opacity .2s; } }
.rw-stage { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent); mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent); padding-block: 8px; box-sizing: content-box; }
.rw-card { top: 8px; }
@media (max-width: 900px) { .rw-stage { height: calc((100vw - 32px) * .74 * 9 / 16); } }

/* ═════════════ Home: talks as a collected passport page ═════════════ */
.passport { display: grid; grid-template-columns: 1.35fr 1fr; gap: 16px; padding: 14px; }
.passport:hover { transform: none; }
.pp-page {
  position: relative; border-radius: 12px; overflow: hidden; min-height: 240px;
  background:
    repeating-linear-gradient(0deg, transparent 0 22px, color-mix(in srgb, var(--terra) 7%, transparent) 22px 23px),
    radial-gradient(120% 90% at 30% 20%, #fffdf8, #f3ebdf);
  border: 1px solid var(--line); box-shadow: inset 0 0 0 6px rgba(255,255,255,.45);
}
:root[data-theme="dark"] .pp-page { background: repeating-linear-gradient(0deg, transparent 0 22px, rgba(255,255,255,.04) 22px 23px), radial-gradient(120% 90% at 30% 20%, #1b2750, #121c3f); }
.pp-head { position: absolute; right: 12px; bottom: 8px; font: 600 12px/1 var(--sans); letter-spacing: 2px; text-transform: uppercase; color: var(--muted); }
.pp-stamps { position: absolute; inset: 0; }
.pp-stamp {
  position: absolute; left: var(--l); top: var(--t); width: 38%; max-width: 150px; padding: 10px 8px; gap: 2px; opacity: .78;
  box-shadow: inset 0 0 0 3px transparent, inset 0 0 0 4.5px var(--ink); border-width: 2.5px; background: transparent;
  transition: transform .45s var(--spring), opacity .3s, background .3s; z-index: 1;
}
.pp-stamp.st-circle { width: 30%; max-width: 118px; padding: 12px; }
.pp-stamp.st-ticket { box-shadow: none; }
.pp-stamp .st-num { font-size: 12px; letter-spacing: 1.4px; }
.pp-stamp .st-place { font-size: 15px; }
.pp-stamp .st-dur { font-size: 12px; }
.pp-stamp:hover, .pp-stamp:focus-visible, .pp-stamp.on { opacity: 1; z-index: 5; background: color-mix(in srgb, var(--ink) 7%, #fffdf8); transform: rotate(0deg) scale(1.1); }
:root[data-theme="dark"] .pp-stamp:hover, :root[data-theme="dark"] .pp-stamp:focus-visible, :root[data-theme="dark"] .pp-stamp.on { background: color-mix(in srgb, var(--ink) 12%, #16234a); }
.pp-stamp.pressed { animation: ppPress .5s var(--ease); }
@keyframes ppPress { 0% { transform: rotate(0) scale(1.35); opacity: .4; } 45% { transform: rotate(0) scale(1.02); opacity: 1; } 65% { transform: rotate(0) scale(1.14); } 100% { transform: rotate(0) scale(1.1); } }
.pp-cap { display: flex; flex-direction: column; gap: 6px; padding: 8px 6px; min-width: 0; }
.pp-title { font: 600 20px/1.25 var(--display); color: var(--ink); }
.pp-meta { font-size: 12px; line-height: 1.4; color: var(--muted); }
.pp-hint { margin-top: auto; font-size: 13px; font-weight: 600; color: var(--terra-ink); }
@media (max-width: 900px) {
  .passport { grid-template-columns: 1fr; }
  .pp-page { min-height: 230px; }
}
.pp-stamp { width: 31%; max-width: 140px; }
.pp-stamp.st-circle { width: 27%; max-width: 112px; }
.pp-stamp.st-circle .st-dur { display: none; }
.pp-stamp .st-place { font-size: 14px; line-height: 1.1; }
.pp-stamp { width: 34%; max-width: 150px; box-shadow: 0 1px 0 rgba(0,0,0,.02), inset 0 0 0 3px transparent, inset 0 0 0 4.5px var(--ink); }
.pp-stamp.st-circle { width: 31%; max-width: 128px; padding: 8px; }
.pp-stamp.st-circle .st-place { font-size: 13px; letter-spacing: 0; }
.pp-stamp.st-circle .st-num { letter-spacing: .8px; }
/* ink bleeds a little where stamps overlap, like real stamps */
.pp-stamp { mix-blend-mode: multiply; }
:root[data-theme="dark"] .pp-stamp { mix-blend-mode: screen; }
.pp-stamp:hover, .pp-stamp:focus-visible, .pp-stamp.on { mix-blend-mode: normal; }

/* ═════════════ Media player (Disney shorts; shared by the week tile) ═════════════ */
.mp { display: grid; grid-template-columns: minmax(0, 40%) minmax(0, 1fr); gap: 18px; padding: 16px; align-items: stretch; }
.mp:hover { transform: none; }
.mp-art { position: relative; padding: 0; border: 0; border-radius: 14px; overflow: hidden; background: #1c1a17; cursor: pointer; box-shadow: 0 18px 30px -18px rgba(16,27,61,.6); aspect-ratio: 3 / 4; align-self: start; width: 100%; }
.mp-art img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; transform: scale(1.35); transition: transform .8s var(--ease); }
.mp-art:hover img, .mp-art:focus-visible img { transform: scale(1.42); }
.mp-eq { position: absolute; left: 10px; bottom: 10px; display: flex; align-items: flex-end; gap: 3px; height: 18px; padding: 4px 6px; border-radius: 6px; background: rgba(16,27,61,.72); }
.mp-eq i { width: 3px; background: #faf7f2; border-radius: 1px; animation: eq 1s ease-in-out infinite; }
.mp-eq i:nth-child(1) { height: 40%; animation-delay: -.2s; } .mp-eq i:nth-child(2) { height: 90%; animation-delay: -.5s; }
.mp-eq i:nth-child(3) { height: 60%; animation-delay: -.1s; } .mp-eq i:nth-child(4) { height: 75%; animation-delay: -.7s; }
@keyframes eq { 0%, 100% { transform: scaleY(.35); } 50% { transform: scaleY(1); } }
.mp-eq i { transform-origin: bottom; }
.mp-body { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.mp-title { font: 600 20px/1.2 var(--display); color: var(--ink); margin-top: 2px; }
.mp-by { font-size: 12px; color: var(--muted); }
.mp-controls { display: flex; align-items: center; gap: 10px; margin: 8px 0 4px; }
.mp-btn { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 0; background: none; color: var(--ink); cursor: pointer; transition: transform .25s var(--spring), background .25s; }
.mp-btn svg { width: 20px; height: 20px; fill: currentColor; }
.mp-btn:hover, .mp-btn:focus-visible { background: var(--tile-2); transform: scale(1.08); }
.mp-play { width: 52px; height: 52px; background: var(--navy); color: #faf7f2; }
.mp-play svg { width: 24px; height: 24px; margin-left: 3px; }
.mp-play:hover, .mp-play:focus-visible { background: #c4302b; }
:root[data-theme="dark"] .mp-play { background: #faf7f2; color: #101b3d; }
.mp-pos { margin-left: auto; font-size: 12px; font-variant-numeric: tabular-nums; color: var(--muted); }
.mp-lbl { font-size: 12px; font-weight: 600; letter-spacing: 1.2px; text-transform: uppercase; color: var(--muted); margin-top: 4px; }
.mp-queue { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.mp-queue button { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 40px; padding: 4px 6px; border: 0; border-radius: 10px; background: none; font: 500 13px/1.3 var(--sans); color: var(--ink); text-align: left; cursor: pointer; }
.mp-queue button:hover, .mp-queue button:focus-visible { background: var(--tile-2); }
.mp-queue img { flex: none; width: 44px; height: 32px; border-radius: 6px; object-fit: cover; }
.mp-ch { margin-top: auto; padding-top: 6px; font-size: 13px; color: var(--muted); text-decoration: none; min-height: 28px; display: inline-flex; align-items: center; }
.mp-ch:hover, .mp-ch:focus-visible { color: var(--ink); text-decoration: underline; }
.mp.mp-swap .mp-title, .mp.mp-swap .mp-art { animation: mpIn .45s var(--ease); }
@keyframes mpIn { from { opacity: .25; } }
@media (max-width: 900px) {
  .mp { grid-template-columns: 1fr; }
  .mp-art { aspect-ratio: 16 / 10; }
  .mp-art img { transform: scale(1.05); }
}

/* Week tile: player controls */
.wk-controls { display: flex; align-items: center; gap: 10px; }
.wk-controls .mp-pos { margin-left: 4px; }
.wk-video .wk-kind::before { content: "Now playing · "; }

/* ═════════════ Speaking: the channel (featured episode + rail), replaces the cover-flow ═════════════ */
.ch-show { display: flex; flex-direction: column; gap: 20px; padding: 22px; margin-bottom: var(--gap); }
.ch-show:hover { transform: none; }
.ch-top { display: flex; align-items: center; gap: 12px; }
.ch-av { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; object-position: 50% 18%; }
.ch-name { display: block; font-size: 16px; }
.ch-handle { font-size: 13px; color: var(--muted); }
.ch-sub { margin-left: auto; display: inline-flex; align-items: center; min-height: 40px; padding: 8px 18px; border-radius: 999px; background: #c4302b; color: #fff; font-size: 14px; font-weight: 600; text-decoration: none; transition: transform .25s var(--spring), background .25s; }
.ch-sub:hover, .ch-sub:focus-visible { background: #a3261f; transform: scale(1.04); }
.ch-feature { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 24px; align-items: center; }
.ch-hero { position: relative; padding: 0; border: 0; border-radius: 16px; overflow: hidden; aspect-ratio: 16 / 9; background: #1c1a17; cursor: pointer; box-shadow: 0 24px 44px -26px rgba(16,27,61,.6); }
.ch-hero img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .8s var(--ease); }
.ch-hero:hover img, .ch-hero:focus-visible img { transform: scale(1.03); }
.ch-play { position: absolute; inset: 0; margin: auto; width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center; background: rgba(16,27,61,.82); transition: transform .3s var(--spring), background .3s; }
.ch-play svg { width: 30px; height: 30px; fill: #faf7f2; margin-left: 4px; }
.ch-hero:hover .ch-play, .ch-hero:focus-visible .ch-play { background: #c4302b; transform: scale(1.08); }
.ch-dur { position: absolute; right: 12px; bottom: 12px; padding: 3px 8px; border-radius: 6px; font: 600 12px/1.2 var(--sans); color: #fff; background: rgba(0,0,0,.78); }
.ch-info { display: flex; flex-direction: column; gap: 10px; }
.ch-ep { font-size: 12px; font-weight: 600; letter-spacing: 1.4px; text-transform: uppercase; color: var(--terra-ink); }
.ch-title { margin: 0; font: 600 clamp(22px, 2.4vw, 30px)/1.2 var(--display); color: var(--ink); text-wrap: balance; }
.ch-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
.ch-actions .pill { margin: 0; min-height: 44px; padding: 10px 18px; align-items: center; text-decoration: none; color: var(--ink); cursor: pointer; font: 600 14px var(--sans); }
.ch-actions .hl-mail { color: #faf7f2; }
:root[data-theme="dark"] .ch-actions .hl-mail { color: #101b3d; }
.ch-show.ch-swap .ch-hero img, .ch-show.ch-swap .ch-title { animation: mpIn .4s var(--ease); }

.ch-rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(180px, 1fr); gap: 12px; overflow-x: auto; padding: 4px 2px 8px; scroll-snap-type: x proximity; scrollbar-width: thin; outline: none; }
.ch-rail:focus-visible { box-shadow: inset 0 0 0 2px var(--terra-ink); border-radius: 12px; }
.ch-ep-card { scroll-snap-align: start; display: flex; flex-direction: column; gap: 6px; padding: 8px; border: 1.5px solid transparent; border-radius: 14px; background: none; text-align: left; font: inherit; color: var(--ink); cursor: pointer; transition: background .25s, border-color .25s, transform .3s var(--spring); }
.ch-ep-card:hover, .ch-ep-card:focus-visible { background: var(--tile-2); transform: translateY(-3px); }
.ch-ep-card.on { border-color: var(--terra); background: var(--tile-2); }
.ch-thumb { position: relative; display: block; aspect-ratio: 16 / 9; border-radius: 10px; overflow: hidden; background: #1c1a17; }
.ch-thumb img { width: 100%; height: 100%; object-fit: cover; }
.ch-d { position: absolute; right: 6px; bottom: 6px; padding: 2px 6px; border-radius: 5px; font: 600 12px/1.2 var(--sans); color: #fff; background: rgba(0,0,0,.78); }
.ch-no { font-size: 12px; font-weight: 700; letter-spacing: 1px; color: var(--terra-ink); }
.ch-t { font-size: 13px; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
@media (max-width: 900px) {
  .ch-feature { grid-template-columns: 1fr; gap: 14px; }
  .ch-rail { grid-auto-columns: 62%; }
  .ch-show { padding: 16px; }
  .ch-handle { font-size: 12px; }
}

/* ═════════════ Work: methods, experience + certifications ═════════════ */
.methods-grid { margin-bottom: var(--gap); }
.me-card { display: flex; flex-direction: column; gap: 8px; padding: 20px; }
.me-card:hover { transform: none; }
.me-name { margin: 0 0 4px; font: 600 20px/1.2 var(--display); }
.me-lbl { font-size: 12px; font-weight: 600; letter-spacing: 1.2px; text-transform: uppercase; color: var(--muted); margin-top: 4px; }
.me-used { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.me-used li { display: grid; gap: 1px; padding-left: 12px; border-left: 2px solid var(--terra); }
.me-used b { font-size: 14px; }
.me-used span { font-size: 13px; line-height: 1.4; color: var(--muted); }
.me-certs { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.me-certs a, .me-certs li > span { display: flex; gap: 10px; align-items: flex-start; padding: 8px 10px; border-radius: 12px; background: var(--tile-2); border: 1px solid var(--line); color: var(--ink); text-decoration: none; }
.me-certs a:hover, .me-certs a:focus-visible { border-color: var(--terra); }
.me-certs a::after { content: "↗"; margin-left: auto; font-size: 12px; color: var(--terra-ink); }
.me-seal { flex: none; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-weight: 700; color: #faf7f2; background: #2f6b4f; }
.me-certs b { display: block; font-size: 13px; line-height: 1.3; }
.me-certs em { display: block; font-style: normal; font-size: 12px; color: var(--muted); }
.me-train { margin: 0; font-size: 13px; color: var(--muted); }
.me-card.w2 { background: color-mix(in srgb, var(--terra) 6%, var(--tile)); }
.pr-proof a { color: var(--terra-ink); font-weight: 600; text-underline-offset: 3px; }
.tk-agents { display: inline-flex; align-items: center; min-height: 28px; margin-top: 4px; font-size: 13px; font-weight: 600; color: var(--terra-ink); text-decoration: none; }
.tk-agents:hover, .tk-agents:focus-visible { text-decoration: underline; text-underline-offset: 3px; }

/* ═════════════ Hero: updates typed as Design Thinking Hills (Who · What · Wow) ═════════════ */
.hw-name { display: block; font-size: 12px; font-weight: 600; letter-spacing: 1.2px; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.intro .hl-row h1 { font-size: clamp(21px, 2vw, 26px); line-height: 1.3; min-height: 3.9em; }
.hw-who { font-weight: 600; color: var(--navy); }
:root[data-theme="dark"] .hw-who { color: var(--ink); }
.hw-what { color: var(--muted); font-weight: 600; }
.hw-wow { color: var(--terra-ink); font-weight: 600; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 5px; text-decoration-color: var(--terra); }
.hw-key { display: flex; gap: 12px; margin: 6px 0 0 !important; font-size: 12px !important; letter-spacing: 1px; text-transform: uppercase; font-weight: 600; }
.hw-key span { display: inline-flex; align-items: center; gap: 5px; }
.hw-key span::before { content: ""; width: 8px; height: 8px; border-radius: 2px; }
.k-who { color: var(--navy); } .k-who::before { background: var(--navy); }
:root[data-theme="dark"] .k-who { color: var(--ink); } :root[data-theme="dark"] .k-who::before { background: var(--ink); }
.k-what { color: var(--muted); } .k-what::before { background: var(--muted); }
.k-wow { color: var(--terra-ink); } .k-wow::before { background: var(--terra); }
@media (max-width: 900px) { .intro .hl-row h1 { font-size: 20px; min-height: 5.2em; } }

/* Talk workshop versions, by lens */
.ws { margin-top: 18px; display: grid; gap: 10px; }
.ws-lbl { font-size: 12px; font-weight: 600; letter-spacing: 1.2px; text-transform: uppercase; color: var(--muted); }
.ws-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 12px; }
.ws-list li { display: flex; gap: 12px; align-items: flex-start; }
.ws-lens { flex: none; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; font: 700 13px/1 var(--sans); letter-spacing: .5px; color: #faf7f2; }
.ws-ux .ws-lens { background: #101b3d; }
.ws-ax .ws-lens { background: #9a4a2a; }
.ws-cx .ws-lens { background: #1f3a32; }
:root[data-theme="dark"] .ws-ux .ws-lens { background: #c9d3f2; color: #101b3d; }
:root[data-theme="dark"] .ws-ax .ws-lens { background: #e59a78; color: #101b3d; }
:root[data-theme="dark"] .ws-cx .ws-lens { background: #8fd3b4; color: #101b3d; }
.ws-list b { display: block; font-size: 14px; line-height: 1.3; color: var(--ink); }
.ws-list p { margin: 3px 0 0; font-size: 13px; line-height: 1.45; color: var(--muted); }
.sheet .ws-list { grid-template-columns: 1fr; }
.ws-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 16px; }
.ws-key { font-size: 12px; color: var(--muted); }
.ws-key b { color: var(--ink); }

/* tool stats */
.tk-stat { display: inline-flex; align-self: flex-start; margin: 2px 0 0; padding: 3px 9px; border-radius: 999px; font: 700 12px/1.3 var(--sans); color: #faf7f2; background: var(--navy); font-variant-numeric: tabular-nums; }
:root[data-theme="dark"] .tk-stat { background: #faf7f2; color: #101b3d; }

/* the second Claude Code team: a full-width band */
.ag-crit { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 20px; align-items: start; background: none; border: 1.5px solid var(--line); }
.ag-crit-h p { margin-top: 6px; }
.ag-crit-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 18px; }
.ag-crit-list li { display: grid; gap: 2px; padding-left: 12px; border-left: 2px solid var(--terra); }
.ag-crit-list b { font-size: 14px; }
.ag-crit-list span { font-size: 13px; line-height: 1.4; color: var(--muted); }
@media (max-width: 900px) { .ag-crit, .ag-crit-list { grid-template-columns: 1fr; } }

/* ═════════════ Hill headline: animated for impact, not typed ═════════════ */
.hl-typer.hw .hw-who, .hl-typer.hw .hw-w, .hl-typer.hw .hw-pop { display: inline-block; }
.hw-in .hw-who { animation: hwSlide .55s var(--spring) both; }
.hw-in .hw-w { animation: hwWord .45s var(--ease) both; animation-delay: calc(.25s + var(--k) * 55ms); }
.hw-in .hw-pop { animation: hwPop .6s var(--spring) both; animation-delay: calc(.45s + var(--k) * 55ms); }
.hw-pop { position: relative; padding: 0 .12em; margin: 0 -.12em; text-decoration: none; }
.hw-wow { text-decoration: none; }
.hw-pop::before { content: ""; position: absolute; inset: 58% -2px 4% -2px; z-index: -1; border-radius: 3px; background: color-mix(in srgb, var(--terra) 26%, transparent); transform-origin: left; transform: scaleX(1); }
.hw-in .hw-pop::before { animation: hwSweep .6s var(--ease) both; animation-delay: calc(.75s + var(--k) * 55ms); }
.hl-typer.hw { position: relative; z-index: 0; display: inline; }
.hw-out .hw-who, .hw-out .hw-w, .hw-out .hw-pop { animation: hwOut .4s var(--ease) both; }
@keyframes hwSlide { from { opacity: 0; transform: translateY(14px); } }
@keyframes hwWord { from { opacity: 0; transform: translateY(8px); filter: blur(4px); } }
@keyframes hwPop { 0% { opacity: 0; transform: scale(.6) rotate(-3deg); } 60% { opacity: 1; transform: scale(1.08) rotate(1deg); } 100% { transform: none; } }
@keyframes hwSweep { from { transform: scaleX(0); } }
@keyframes hwOut { to { opacity: 0; transform: translateY(-8px); filter: blur(3px); } }
.intro .hl-row h1 { min-height: 0; }
.hw-cta { margin-left: 10px; font-weight: 600; color: var(--terra-ink); text-decoration: underline; text-decoration-color: color-mix(in srgb, var(--terra) 40%, transparent); text-underline-offset: 3px; min-height: 24px; display: inline-flex; align-items: center; }
.hw-cta:hover, .hw-cta:focus-visible { text-decoration-color: var(--terra); }
.hl-when { transition: opacity .35s; }

/* ═════════════ Home: section headers as legs of one itinerary (PDX → PRF → BLD → STG → FLD) ═════════════ */
.leg-navy { --leg: #101b3d; } .leg-terra { --leg: #9a4a2a; } .leg-green { --leg: #1f3a32; } .leg-gold { --leg: #7a5a1f; }
:root[data-theme="dark"] .leg-navy { --leg: #c9d3f2; } :root[data-theme="dark"] .leg-terra { --leg: #e59a78; }
:root[data-theme="dark"] .leg-green { --leg: #8fd3b4; } :root[data-theme="dark"] .leg-gold { --leg: #e8c071; }
.leg { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 24px; row-gap: 14px; align-items: end; margin: 88px 0 22px; }
.view > .leg:first-child { margin-top: 12px; }
.leg-route { grid-column: 1 / -1; display: flex; align-items: center; gap: 14px; }
.leg-stamp { flex: none; padding: 5px 10px; border: 2px solid var(--leg); border-radius: 6px; box-shadow: inset 0 0 0 2px var(--bg), inset 0 0 0 3px var(--leg); font: 700 12px/1 var(--sans); letter-spacing: 1.8px; text-transform: uppercase; color: var(--leg); transform: rotate(-4deg); }
.leg-code { flex: none; font: 600 15px/1 var(--display); letter-spacing: 2px; color: var(--ink); font-variant-numeric: tabular-nums; }
.leg-line { position: relative; flex: 1; height: 18px; background: linear-gradient(90deg, var(--leg) 50%, transparent 0) left center / 10px 1.5px repeat-x; opacity: .9; }
.leg-plane { position: absolute; top: 50%; left: 0; width: 18px; height: 18px; margin-top: -9px; color: var(--leg); transform: translateX(-4px) rotate(90deg); transition: left 1.6s cubic-bezier(.45, .05, .25, 1); }
.leg-plane svg { width: 100%; height: 100%; fill: currentColor; }
.leg.flown .leg-plane { left: calc(100% - 14px); }
.leg-title { margin: 0; font: 600 clamp(34px, 4.4vw, 56px)/1.02 var(--display); letter-spacing: -.02em; color: var(--ink); text-wrap: balance; }
.leg-sub { margin: 10px 0 0; max-width: 58ch; font-size: 17px; line-height: 1.5; color: var(--muted); }
.leg .sec-link { align-self: end; }
.bento-join { margin-top: var(--gap); }
.still .leg-plane { transition: none; }
@media (max-width: 900px) {
  .leg { grid-template-columns: 1fr; margin-top: 64px; }
  .leg .sec-link { justify-self: start; }
  .leg-sub { font-size: 15px; }
}
@media (prefers-reduced-motion: reduce) { .leg-plane { transition: none; } }
.hw-cta { min-height: 30px; padding-block: 4px; }

/* ═════════════ Talk panel, simplified: hero, title, three beats ═════════════ */
.leg-maroon { --leg: #6b2d3c; } :root[data-theme="dark"] .leg-maroon { --leg: #e6a3b3; }
.tp-hero { position: relative; display: flex; flex-direction: column; justify-content: flex-end; gap: 4px; min-height: clamp(180px, 22vw, 280px); padding: 24px 26px; border-radius: 18px; overflow: hidden; background: var(--leg); color: #faf7f2; margin-bottom: 20px; }
:root[data-theme="dark"] .tp-hero { color: #101b3d; }
.tp-hero::after { content: ""; position: absolute; right: -40px; top: -40px; width: 220px; height: 220px; border-radius: 50%; border: 3px solid currentColor; box-shadow: inset 0 0 0 10px transparent, inset 0 0 0 12px currentColor; opacity: .18; }
.tp-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tp-hero.has-photo { color: #faf7f2; }
.tp-hero.has-photo::before { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(16,27,61,.75), transparent 60%); }
.tp-hero.has-photo::after { display: none; }
.tp-hero-place, .tp-hero-sub { position: relative; z-index: 1; }
.tp-hero-place { font: 600 clamp(38px, 6vw, 72px)/.95 var(--display); letter-spacing: -.02em; text-transform: uppercase; }
.tp-hero-sub { font-size: 13px; font-weight: 600; letter-spacing: 1.6px; text-transform: uppercase; opacity: .9; }
.talk-panel .tp-title { margin: 0 0 14px; font: 600 clamp(24px, 2.6vw, 32px)/1.2 var(--display); max-width: 30ch; }
.tp-beats { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.tp-beats li { display: grid; gap: 6px; padding-top: 12px; border-top: 2px solid var(--leg, var(--terra)); font-size: 16px; line-height: 1.4; color: var(--ink); }
.talk-panel { --leg: var(--terra); }
.tp-beats span { font-size: 12px; font-weight: 600; letter-spacing: 1.2px; text-transform: uppercase; color: var(--terra-ink); }
.tp-more { margin-top: 18px; }
.tp-more summary { display: inline-flex; align-items: center; min-height: 36px; padding: 6px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--tile-2); font-size: 13px; font-weight: 600; color: var(--ink); cursor: pointer; list-style: none; }
.tp-more summary::-webkit-details-marker { display: none; }
.tp-more summary::after { content: " +"; margin-left: 4px; }
.tp-more[open] summary::after { content: " −"; }
.tp-more .story { margin-top: 14px; }
.tp-ws { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 18px 0 0; }
.tp-ws-lbl, .tp-best::before { font-size: 12px; font-weight: 600; letter-spacing: 1.2px; text-transform: uppercase; color: var(--muted); margin-right: 4px; }
.tp-ws-chip { display: inline-flex; align-items: center; gap: 8px; padding: 4px 12px 4px 4px; border-radius: 999px; border: 1px solid var(--line); background: var(--tile-2); font-size: 13px; color: var(--ink); }
.tp-ws-chip b { display: grid; place-items: center; width: 28px; height: 22px; border-radius: 999px; font-size: 11px; font-weight: 700; color: #faf7f2; letter-spacing: .5px; }
.tp-ws-chip.ws-ux b { background: #101b3d; } .tp-ws-chip.ws-ax b { background: #9a4a2a; } .tp-ws-chip.ws-cx b { background: #1f3a32; }
:root[data-theme="dark"] .tp-ws-chip b { color: #101b3d; }
:root[data-theme="dark"] .tp-ws-chip.ws-ux b { background: #c9d3f2; } :root[data-theme="dark"] .tp-ws-chip.ws-ax b { background: #e59a78; } :root[data-theme="dark"] .tp-ws-chip.ws-cx b { background: #8fd3b4; }
.tp-best { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 12px 0 0; }
.tp-best::before { content: "Best for"; }
.tp-best span { padding: 3px 10px; border-radius: 999px; font-size: 12px; color: var(--muted); border: 1px dashed var(--line); }

/* more countries she can tell stories about */
.more-dest { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--line); }
.md-lbl { font-size: 12px; font-weight: 600; letter-spacing: 1.2px; text-transform: uppercase; color: var(--muted); }
.md-stamp { padding: 6px 12px; border: 2px dashed var(--muted); border-radius: 8px; font: 600 14px/1 var(--display); letter-spacing: 1px; text-transform: uppercase; color: var(--ink); transform: rotate(var(--rot)); }
.md-ask { margin-left: auto; font-size: 13px; font-weight: 600; color: var(--terra-ink); text-decoration: none; min-height: 28px; display: inline-flex; align-items: center; }
.md-ask:hover, .md-ask:focus-visible { text-decoration: underline; }
@media (max-width: 900px) {
  .tp-beats { grid-template-columns: 1fr; gap: 12px; }
  .md-ask { margin-left: 0; }
}
/* stamps: just entry, country, length (the title lives in the panel) */
.stamps .stamp .st-title, .stamps .stamp .st-sub { display: none; }
.stamps .stamp { gap: 6px; }
.stamps .stamp .st-place { font-size: 22px; }
.tp-ws-chip b { font-size: 12px; width: 32px; height: 24px; }

/* ═════════════ The journey: Home scrolls sideways (desktop, fine pointer, motion allowed) ═════════════ */
.hz-stage { position: relative; width: 100vw; margin-left: calc(50% - 50vw); }
.hz-sticky { position: sticky; top: 0; height: 100vh; overflow: hidden; }
.hz-track { position: absolute; top: 84px; left: 0; display: flex; gap: 96px; align-items: flex-start; padding: 0 max(24px, calc((100vw - 1200px) / 2)); height: var(--hz-h); will-change: transform; }
.hz-panel { flex: none; display: flex; gap: var(--gap); height: 100%; align-items: stretch; }
.hz-on .hz-panel > .leg { flex: none; width: 380px; margin: 0; display: flex; flex-direction: column; justify-content: flex-end; gap: 18px; padding-bottom: 8px; }
.hz-on .hz-panel > .leg .leg-text { display: block; }
.hz-on .hz-panel > .leg .leg-title { font-size: clamp(34px, 3.4vw, 48px); }
.hz-on .hz-panel > .leg .sec-link { align-self: flex-start; }
.hz-on .hz-panel > .bento { --cell: var(--hz-cell); grid-template-columns: none; grid-auto-flow: column dense; grid-template-rows: repeat(2, var(--hz-cell)); grid-auto-rows: var(--hz-cell); grid-auto-columns: var(--hz-cell); height: 100%; margin: 0; flex: none; }
.hz-on .hz-panel > .bento-join { margin: 0; }
.hz-on .hz-panel > .bento .tile { overflow: hidden; }
.hz-on .view[data-view="home"] .look-hint { display: none; }
/* the itinerary's progress: a thin route under the nav fills as you travel */
.hz-sticky::before { content: ""; position: absolute; left: 0; top: 70px; height: 2px; width: calc(var(--hz-p, 0) * 100%); background: var(--terra); z-index: 2; transition: width .1s linear; }
.hz-end { align-items: center; }
.hz-end-card { width: 360px; display: flex; flex-direction: column; gap: 10px; padding: 32px; border-radius: 24px; background: var(--navy); color: #faf7f2; }
.hz-end-card b { font: 600 56px/1 var(--display); }
.hz-end-card p { margin: 0; color: #d9d1c5; font-size: 15px; line-height: 1.5; }
.hz-end-card .leg-stamp { --leg: #e8b89f; align-self: flex-start; box-shadow: inset 0 0 0 2px var(--navy), inset 0 0 0 3px var(--leg); }
.hz-end-card .pill { align-self: flex-start; margin-top: 8px; min-height: 44px; padding: 10px 18px; align-items: center; text-decoration: none; background: #faf7f2; color: #101b3d; }
:root[data-theme="dark"] .hz-end-card { background: #faf7f2; color: #101b3d; }
:root[data-theme="dark"] .hz-end-card p { color: #3d3833; }
:root[data-theme="dark"] .hz-end-card .pill { background: #101b3d; color: #faf7f2; }
.hz-on .view[data-view="home"] > .board { display: none; } /* Home boards About from its last panel */

/* "Now boarding" at the end of every page */
.board { margin: 96px 0 24px; display: flex; justify-content: center; }
.board-card { display: grid; grid-template-columns: auto 1fr auto; grid-template-areas: "lbl lbl lbl" "to bar go" "to hint go"; align-items: center; gap: 4px 20px; width: min(760px, 100%); padding: 22px 26px; border-radius: 22px; border: 1.5px dashed var(--line); background: var(--tile); }
.board-lbl { grid-area: lbl; font-size: 12px; font-weight: 600; letter-spacing: 1.6px; text-transform: uppercase; color: var(--terra-ink); }
.board-to { grid-area: to; font: 600 40px/1 var(--display); color: var(--ink); }
.board-bar { grid-area: bar; height: 6px; border-radius: 3px; background: var(--line); overflow: hidden; }
.board-bar i { display: block; height: 100%; width: 0; background: var(--terra); transition: width .15s linear; }
.board-hint { grid-area: hint; font-size: 12px; color: var(--muted); }
.board-go { grid-area: go; margin: 0; min-height: 44px; padding: 10px 18px; align-items: center; text-decoration: none; color: var(--ink); }
@media (max-width: 700px) { .board-card { grid-template-columns: 1fr; grid-template-areas: "lbl" "to" "go"; } .board-bar, .board-hint { display: none; } }
/* Wow highlight: behind each word, under the lower half of the letters, no padding */
.hw-pop { padding: 0; margin: 0; background: linear-gradient(transparent 58%, color-mix(in srgb, var(--terra) 28%, transparent) 58%, color-mix(in srgb, var(--terra) 28%, transparent) 92%, transparent 92%) no-repeat 0 0 / 100% 100%; }
.hw-pop::before { content: none; }
.hw-in .hw-pop { animation: hwPop .55s var(--spring) both, hwMark .5s var(--ease) both; animation-delay: calc(.4s + var(--k) * 60ms), calc(.7s + var(--k) * 60ms); }
@keyframes hwMark { from { background-size: 0% 100%; } }
:root[data-theme="dark"] .hz-end-card .leg-stamp { --leg: #9a4a2a; box-shadow: inset 0 0 0 2px #faf7f2, inset 0 0 0 3px var(--leg); }
.hz-on .hz-panel > .leg { width: 420px; }

/* ═════════════ Home as a six-slide deck (2026-09-28) ═════════════
   Every slide: a fixed top band (leg route · slide count · headline · story line · proof number · link),
   then its stage. Desktop: one slide per screen, sideways. Phones / reduced motion: stacked. */
.dk-slide { margin: 0; display: block; }
.dk-slide + .dk-slide { margin-top: 96px; }
.sl-head { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "route route" "title proof"; column-gap: 40px; row-gap: 14px; align-items: end; margin-bottom: 22px; }
.sl-head .leg-route { grid-area: route; }
.sl-title { grid-area: title; min-width: 0; }
.sl-proof { grid-area: proof; display: flex; flex-direction: column; align-items: flex-end; gap: 10px; text-align: right; max-width: 360px; }
.sl-count { flex: none; margin-left: 6px; font-size: 12px; font-weight: 600; letter-spacing: 1.4px; text-transform: uppercase; color: var(--muted); font-variant-numeric: tabular-nums; }
.dk-slide .leg-title { font-size: clamp(34px, 4vw, 54px); }
.dk-slide .leg-sub { margin-top: 10px; max-width: 62ch; }
.sl-stat { margin: 0; display: grid; gap: 2px; }
.sl-stat b { font: 600 clamp(44px, 5vw, 72px)/.9 var(--display); color: var(--leg); font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.sl-stat span { font-size: 13px; line-height: 1.35; color: var(--muted); }
/* slide 1: the Hill is the headline */
.sl-hill .hl-row { align-items: center; }
.sl-hill .hl-avatar { width: 76px; height: 76px; }
.sl-hill h1 { margin: 2px 0 0; font: 600 clamp(28px, 3.1vw, 42px)/1.15 var(--display); letter-spacing: -.01em; max-width: 26ch; }
.sl-sign { align-items: flex-end; }
.sl-motto { margin: 0; font: 600 22px/1.2 var(--display); color: var(--ink); }
.sl-def { margin: 0; font-size: 12px; line-height: 1.45; color: var(--muted); max-width: 32ch; }
.sl-def b { color: var(--ink); }
.sl-ctas .pill { margin: 0; min-height: 44px; padding: 10px 20px; align-items: center; text-decoration: none; }
/* arrival */
.arrive { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gap); }
.arr-card { display: flex; flex-direction: column; gap: 6px; justify-content: flex-end; min-height: 220px; padding: 24px; border-radius: var(--tr); background: var(--tile); color: var(--ink); text-decoration: none; transition: transform .45s var(--spring), background .3s, color .3s; }
.arr-card b { font: 600 32px/1.05 var(--display); }
.arr-card > span:last-child { font-size: 13px; color: var(--muted); word-break: break-word; }
.arr-card:hover, .arr-card:focus-visible { transform: translateY(-6px); }
.arr-mail { background: var(--navy); color: #faf7f2; }
.arr-mail .t-eyebrow { color: #e8b89f; } .arr-mail > span:last-child { color: #d9d1c5; }
:root[data-theme="dark"] .arr-mail { background: #faf7f2; color: #101b3d; }
:root[data-theme="dark"] .arr-mail .t-eyebrow { color: #9a4a2a; } :root[data-theme="dark"] .arr-mail > span:last-child { color: #3d3833; }
.arr-next { border: 1.5px dashed var(--line); background: none; }
.deck-hud { display: none; }
@media (max-width: 900px) {
  .sl-head { grid-template-columns: 1fr; grid-template-areas: "route" "title" "proof"; }
  .sl-proof { align-items: flex-start; text-align: left; }
  .sl-count { display: none; }
  .arrive { grid-template-columns: 1fr 1fr; }
}

/* build-in: each part enters in order when its slide arrives (a slide only animates the first time) */
.dk-slide .leg-stamp { transition: none; }
.dk-slide.seen .leg-stamp { animation: dkStamp .55s var(--spring) both; }
.dk-slide.seen .sl-title, .dk-slide.seen .sl-proof { animation: dkRise .7s var(--ease) both; }
.dk-slide.seen .sl-proof { animation-delay: .18s; }
.dk-slide.seen .stage > * { animation: dkTile .8s var(--ease) both; }
.dk-slide.seen .stage > *:nth-child(2) { animation-delay: .12s; } .dk-slide.seen .stage > *:nth-child(3) { animation-delay: .22s; } .dk-slide.seen .stage > *:nth-child(4) { animation-delay: .32s; }
@keyframes dkStamp { 0% { opacity: 0; transform: rotate(-4deg) scale(1.6); } 60% { opacity: 1; transform: rotate(-4deg) scale(.94); } 100% { transform: rotate(-4deg) scale(1); } }
@keyframes dkRise { from { opacity: 0; transform: translateY(18px); } }
@keyframes dkTile { from { opacity: 0; transform: translateY(26px) scale(.97); } }

/* ── desktop deck mode ── */
.deck-on .dk-stage { position: relative; width: 100vw; margin-left: calc(50% - 50vw); }
.deck-on .dk-sticky { position: sticky; top: 0; height: 100vh; overflow: hidden; }
.deck-on .dk-snap { position: absolute; left: 0; top: calc(var(--i) * 100vw); width: 1px; height: 1px; scroll-snap-align: start; }
html.deck-on.on-home { scroll-snap-type: y proximity; }
.deck-on .deck { position: absolute; top: 84px; bottom: 0; left: 0; display: flex; will-change: transform; }
.deck-on .dk-slide { flex: none; width: 100vw; height: 100%; margin: 0; padding: 0 max(32px, calc((100vw - 1280px) / 2)) 78px; display: grid; grid-template-rows: auto minmax(0, 1fr); }
.deck-on .dk-slide .sl-head { margin-bottom: 20px; transform: translateX(calc(var(--d, 0) * 90px)); opacity: calc(1 - min(1, max(var(--d, 0), calc(var(--d, 0) * -1))) * .6); }
.deck-on .dk-slide .stage { transform: translateX(calc(var(--d, 0) * 220px)); }
.deck-on .stage.bento { --cell: clamp(210px, calc((100vh - 400px) / 2), 330px); height: 100%; grid-auto-flow: row; grid-auto-rows: auto; grid-template-rows: none; margin: 0; }
.deck-on .stage.bento > .tile { min-height: 0; overflow: hidden; }
.deck-on .st-1 { grid-template-columns: 1.15fr 1fr; grid-template-rows: 1fr 1fr; grid-template-areas: "act rev" "act res"; }
.deck-on .st-2 { grid-template-columns: 1.45fr 1fr; grid-template-rows: 1.15fr 1fr; grid-template-areas: "imp cred" "imp c1"; }
.deck-on .st-3 { grid-template-columns: 1.05fr 1fr 1fr; grid-template-rows: 1fr 1fr; grid-template-areas: "duo wf wf" "duo kai tix"; }
.deck-on .st-4 { grid-template-columns: 1fr 1fr; grid-template-rows: 1fr; grid-template-areas: "pp reel"; }
.deck-on .st-5 { grid-template-columns: 1.4fr 1fr 1fr; grid-template-rows: 1fr; grid-template-areas: "vlog bk txt"; }
.deck-on .st-1 > .activity { grid-area: act; } .deck-on .st-1 > .reviews { grid-area: rev; } .deck-on .st-1 > .resume-t { grid-area: res; }
.deck-on .st-2 > .impact { grid-area: imp; } .deck-on .st-2 > .creds-t { grid-area: cred; } .deck-on .st-2 > .ph-roll { grid-area: c1; }
.deck-on .st-3 > .duo-tile { grid-area: duo; } .deck-on .st-3 > .workflow { grid-area: wf; } .deck-on .st-3 > .kai { grid-area: kai; } .deck-on .st-3 > .ticket { grid-area: tix; }
.deck-on .st-4 > .passport { grid-area: pp; } .deck-on .st-4 > .reel-t { grid-area: reel; }
.deck-on .st-5 > .vlog { grid-area: vlog; } .deck-on .st-5 > .books { grid-area: bk; } .deck-on .st-5 > .textme { grid-area: txt; }
.deck-on .arrive { height: 100%; align-content: center; }
.deck-on .arr-card { min-height: 46vh; }
/* the itinerary bar: always shows where you are, and takes you anywhere */
.deck-on .deck-hud { position: fixed; left: 50%; bottom: 16px; z-index: 20; transform: translateX(-50%); display: flex; align-items: center; gap: 6px; padding: 6px; border-radius: 999px; background: color-mix(in srgb, var(--tile) 88%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border: 1px solid var(--line); box-shadow: var(--shadow); }
.view:not(.on) .deck-hud { display: none !important; }
.hud-btn { width: 40px; height: 40px; border-radius: 50%; border: 0; background: none; color: var(--ink); font: 600 20px/1 var(--sans); padding-bottom: 3px; cursor: pointer; }
.hud-btn:hover:not(:disabled), .hud-btn:focus-visible { background: var(--tile-2); }
.hud-btn:disabled { opacity: .35; cursor: default; }
.hud-stops { list-style: none; margin: 0; padding: 0; display: flex; gap: 2px; }
.hud-stops a { display: grid; justify-items: center; gap: 1px; min-width: 66px; padding: 6px 10px; border-radius: 999px; text-decoration: none; color: var(--muted); transition: background .3s, color .3s; }
.hud-stops b { font: 600 13px/1 var(--display); letter-spacing: 1.5px; }
.hud-stops span { font-size: 12px; line-height: 1.1; }
.hud-stops a:hover, .hud-stops a:focus-visible { color: var(--ink); background: var(--tile-2); }
.hud-stops a.on { background: var(--navy); color: #faf7f2; }
:root[data-theme="dark"] .hud-stops a.on { background: #faf7f2; color: #101b3d; }
.still .deck-on .dk-slide .sl-head, .still .deck-on .dk-slide .stage { transform: none; }
/* slides reuse the leg colors but not the old leg-header grid */
.dk-slide.leg { display: block; column-gap: 0; row-gap: 0; align-items: stretch; margin-top: 0; }
.dk-slide.leg + .dk-slide.leg { margin-top: 96px; }
.deck-on .dk-slide.leg { display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: auto minmax(0, 1fr); margin: 0; }
.dk-slide .stage > .tile { opacity: 1; } @keyframes dkTile { from { opacity: 0; transform: translateY(26px) scale(.97); } to { opacity: 1; transform: none; } }
/* deck fit: snapping aligns exactly to each slide; rows can't grow past the screen */
html.deck-on.on-home { scroll-padding-top: 0; }
.deck-on .dk-slide { padding-bottom: 76px; }
.deck-on .dk-slide .sl-head { margin-bottom: 14px; row-gap: 8px; }
.deck-on .dk-slide .leg-title { font-size: clamp(30px, 3.2vw, 46px); }
.deck-on .dk-slide .leg-sub { font-size: 15px; margin-top: 6px; }
.deck-on .sl-stat b { font-size: clamp(38px, 4vw, 58px); }
.deck-on .st-1, .deck-on .st-2, .deck-on .st-3 { grid-template-rows: minmax(0, 1fr) minmax(0, 1fr); }
.deck-on .st-4, .deck-on .st-5 { grid-template-rows: minmax(0, 1fr); }
.deck-on .stage { min-height: 0; }
.deck-on .impact { gap: 8px; padding: 18px 20px; }
.deck-on .impact .im-list { gap: 8px; }
.deck-on .impact .im-list p { font-size: 13px; }
.deck-on .im-logo { height: 34px; }
.deck-on .dk-slide.leg + .dk-slide.leg { margin-top: 0; }
.deck-on .st-1 .act-list li:nth-child(n+4) { display: none; } /* the deck shows the 3 newest; the full feed is on phones */
.deck-on .ticket .side.front small { display: none; }

/* ═════════════ Itinerary nav + blob mega menu ═════════════ */
.nav.itin { display: flex; align-items: center; gap: 4px; padding: 5px 6px 5px 10px; }
.it-stops { position: relative; list-style: none; margin: 0; padding: 0 0 6px; display: flex; align-items: center; }
.it-stops li { position: relative; display: flex; align-items: center; }
.it-stops li + li::before { content: ""; width: 18px; height: 1.5px; margin: 0 2px; background: linear-gradient(90deg, var(--muted) 50%, transparent 0) 0 0 / 5px 1.5px repeat-x; opacity: .6; }
.nav.itin a { display: grid; justify-items: center; gap: 1px; padding: 6px 10px; border-radius: 999px; font-size: inherit; }
.nav.itin a b { font: 600 13px/1 var(--display); letter-spacing: 1.4px; color: var(--ink); }
.nav.itin a span { font-size: 12px; line-height: 1.1; color: var(--muted); }
.nav.itin a.active { background: var(--navy); box-shadow: none; }
.nav.itin a.active b, .nav.itin a.active span { color: #faf7f2; }
:root[data-theme="dark"] .nav.itin a.active { background: #faf7f2; }
:root[data-theme="dark"] .nav.itin a.active b, :root[data-theme="dark"] .nav.itin a.active span { color: #101b3d; }
.it-plane { position: absolute; left: 0; bottom: -3px; width: 12px; height: 12px; color: var(--terra); transform: translateX(calc(var(--x, 30px) - 6px)) rotate(90deg); transition: transform .7s cubic-bezier(.45, .05, .25, 1); pointer-events: none; }
.it-plane svg { width: 100%; height: 100%; fill: currentColor; }
.it-more { position: relative; width: 44px; height: 44px; margin-left: 4px; border: 0; border-radius: 50%; background: var(--tile-2); display: flex; align-items: center; justify-content: center; gap: 3px; cursor: pointer; transition: background .3s, border-radius .4s var(--spring), transform .3s var(--spring); }
.it-more i { width: 5px; height: 5px; border-radius: 50%; background: var(--ink); transition: transform .35s var(--spring), background .3s; }
.it-more:hover, .it-more:focus-visible { border-radius: 42% 58% 55% 45% / 50% 44% 56% 50%; transform: scale(1.06); }
.it-more[aria-expanded="true"] { background: var(--navy); border-radius: 38% 62% 52% 48% / 55% 40% 60% 45%; }
.it-more[aria-expanded="true"] i { background: #faf7f2; }
.it-more[aria-expanded="true"] i:nth-child(1) { transform: translate(8px, -6px) scale(.8); }
.it-more[aria-expanded="true"] i:nth-child(3) { transform: translate(-8px, 6px) scale(.8); }
:root[data-theme="dark"] .it-more[aria-expanded="true"] { background: #faf7f2; }
:root[data-theme="dark"] .it-more[aria-expanded="true"] i { background: #101b3d; }

.mega { position: fixed; z-index: 30; top: 76px; left: 50%; width: min(940px, calc(100vw - 32px)); transform: translateX(-50%); pointer-events: none; }
.mega.open { pointer-events: auto; }
.mega-blob { position: absolute; inset: -10px; background: var(--navy); border-radius: 46% 54% 48% 52% / 58% 46% 54% 42%; transform-origin: var(--ox, 90%) var(--oy, 0); transform: scale(.04); opacity: 0; transition: transform .6s cubic-bezier(.2, 1.2, .3, 1), opacity .25s, border-radius .6s; box-shadow: 0 30px 70px -30px rgba(16,27,61,.65); }
.mega.open .mega-blob { transform: none; opacity: 1; border-radius: 34px 44px 38px 48px / 40px 36px 46px 38px; animation: blobIdle 7s ease-in-out .7s infinite alternate; }
@keyframes blobIdle { 0% { border-radius: 34px 44px 38px 48px / 40px 36px 46px 38px; } 50% { border-radius: 48px 32px 50px 36px / 34px 50px 36px 48px; } 100% { border-radius: 38px 50px 34px 44px / 48px 38px 42px 34px; } }
:root[data-theme="dark"] .mega-blob { background: #faf7f2; }
.mega-in { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px 28px; padding: 30px 34px 32px; color: #faf7f2; }
:root[data-theme="dark"] .mega-in { color: #101b3d; }
.mega-in section { opacity: 0; transform: translateY(10px); transition: opacity .3s, transform .45s var(--ease); }
.mega.open .mega-in section { opacity: 1; transform: none; }
.mega.open .mega-in section:nth-child(1) { transition-delay: .18s; } .mega.open .mega-in section:nth-child(2) { transition-delay: .24s; }
.mega.open .mega-in section:nth-child(3) { transition-delay: .3s; } .mega.open .mega-in section:nth-child(4) { transition-delay: .36s; }
.mg-h { margin: 0 0 10px; font: 600 12px/1 var(--sans); letter-spacing: 1.6px; text-transform: uppercase; color: #e8b89f; }
:root[data-theme="dark"] .mg-h { color: #9a4a2a; }
.mega-in ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.mega-in a { display: inline-flex; align-items: center; min-height: 32px; font: 600 18px/1.2 var(--display); color: inherit; text-decoration: none; transition: transform .25s var(--spring), color .2s; }
.mega-in a:hover, .mega-in a:focus-visible { transform: translateX(4px); color: #e8b89f; }
:root[data-theme="dark"] .mega-in a:hover, :root[data-theme="dark"] .mega-in a:focus-visible { color: #9a4a2a; }
.mg-find a { font: 500 14px/1.2 var(--sans); }
.still .mega-blob, .still .mega-in section { transition: none; animation: none; }
@media (prefers-reduced-motion: reduce) { .mega-blob { transform: none; transition: opacity .2s; } }
@media (max-width: 900px) {
  .mega-in { grid-template-columns: 1fr 1fr; padding: 26px; }
  .nav.itin a span { display: none; }
  .nav.itin a { padding: 8px 7px; }
  .it-stops li + li::before { width: 8px; }
}
@media (max-width: 480px) { .it-more { width: 38px; height: 38px; } .it-stops li + li::before { width: 4px; margin: 0; } .nav.itin a b { font-size: 12px; letter-spacing: .8px; } }

.rv-avg { display: inline-flex; align-items: center; min-height: 26px; }

/* ═════════════ Hero: format switch, separate key, "Now showing" art ═════════════ */
.hw-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; margin-bottom: 10px; }
.hw-fmt { display: inline-flex; gap: 2px; padding: 3px; border-radius: 999px; background: var(--tile); border: 1px solid var(--line); }
.hw-fmt button { min-height: 30px; padding: 4px 12px; border: 0; border-radius: 999px; background: none; font: 600 12px var(--sans); color: var(--muted); cursor: pointer; transition: background .25s, color .25s; }
.hw-fmt button[aria-checked="true"] { background: var(--navy); color: #faf7f2; }
:root[data-theme="dark"] .hw-fmt button[aria-checked="true"] { background: #faf7f2; color: #101b3d; }
.hw-fmt button:hover:not([aria-checked="true"]) { color: var(--ink); }
.hw-bar .hw-key { margin: 0 !important; padding: 5px 12px; border-radius: 999px; border: 1px dashed var(--line); }
.sl-hill h1 { max-width: 30ch; }
.now-art { display: flex; flex-direction: column; padding: 0; overflow: hidden; }
.na-media { position: relative; flex: 1; min-height: 0; background: var(--tile-2); display: grid; place-items: center; overflow: hidden; }
.na-img { width: 100%; height: 100%; object-fit: cover; }
.na-img.fit-contain { object-fit: contain; padding: 12px; background: #fff; }
.na-img.fit-phone { width: auto; height: 92%; object-fit: contain; border-radius: 22px; box-shadow: 0 20px 40px -20px rgba(16,27,61,.6); border: 6px solid #1c1a17; }
.na-cap { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; padding: 14px 18px; }
.na-kind { flex: 1 0 100%; }
.na-title { flex: 1; font: 600 20px/1.2 var(--display); color: var(--ink); }
.na-cta { margin: 0; min-height: 40px; padding: 8px 16px; align-items: center; text-decoration: none; }
.now-art.na-in .na-media > * { animation: naIn .7s var(--ease) both; }
.now-art.na-in .na-title { animation: dkRise .5s var(--ease) both; }
@keyframes naIn { from { opacity: 0; transform: scale(1.06); filter: blur(6px); } }
.na-ticket { display: grid; gap: 6px; padding: 26px 30px; border-radius: 16px; background: #0f2a26; color: #faf7f2; text-align: left; box-shadow: 0 20px 40px -24px rgba(0,0,0,.6); border: 1px dashed rgba(250,247,242,.4); }
.na-ticket span { font-size: 12px; font-weight: 600; letter-spacing: 1.6px; text-transform: uppercase; color: #e8c071; }
.na-ticket b { font: 600 34px/1 var(--display); }
.na-ticket em { font-style: normal; font-size: 13px; color: #d9d1c5; }
.na-avatars { display: flex; align-items: center; }
.na-avatars img { width: 74px; height: 74px; margin-left: -14px; border-radius: 50%; border: 3px solid var(--tile-2); background: #fff; }
.na-avatars img:first-child { margin-left: 0; }
.na-avatars span { margin-left: 12px; font: 600 16px var(--display); color: var(--ink); }
.deck-on .st-1 { grid-template-columns: 1.25fr 1fr 1fr; grid-template-areas: "art act rev" "art act res"; }
.deck-on .st-1 > .now-art { grid-area: art; }
.deck-on .reel-t img, .deck-on .reel-t video { object-fit: contain; background: #1c1a17; }
.deck-on .st-1 .rv-card blockquote { font-size: 14px; }
.deck-on .st-1 .reviews { gap: 6px; padding: 16px; }
.deck-on .st-5 .mp-queue li:nth-child(n+2) { display: none; }

/* ═════════════ Home, sorted: every slide is 2–3 labeled piles; one nav (the top itinerary) ═════════════ */
.deck-hud, .deck-on .deck-hud { display: none !important; }
.stage.sort { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 20px; margin-top: 8px; }
.pile { display: flex; flex-direction: column; gap: 12px; min-width: 0; min-height: 0; }
.pile-h { display: flex; align-items: center; gap: 8px; margin: 0; padding-bottom: 10px; border-bottom: 1px solid var(--line); font: 700 12px/1.2 var(--sans); letter-spacing: 1.4px; text-transform: uppercase; color: var(--muted); }
.pile-h::before { content: counter(pile, decimal-leading-zero); font: 600 12px/1 var(--display); color: var(--terra-ink); letter-spacing: 1px; }
.stage.sort { counter-reset: pile; } .pile { counter-increment: pile; }
.pile > .tile { position: relative; flex: 1 1 auto; min-height: var(--cell); margin: 0; grid-column: auto; grid-row: auto; }
.pile > .tile.h2 { min-height: calc(var(--cell) * 1.4); }
.pile > .tile + .tile { flex-basis: 0; }
.dk-slide.seen .stage > * { animation: dkTile .8s var(--ease) both; }
.still .dk-slide .stage > * { animation: none; }
/* the headline's format switch sits quietly under it */
.sl-hill .hw-bar { margin: 12px 0 0; }
/* deck: piles fill the screen height; wide piles get more room */
.deck-on .stage.sort { height: 100%; min-height: 0; margin: 0; grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 24px; }
.deck-on .stage.sort > .pile-wide { grid-column: span 2; }
.deck-on .st-2.sort { grid-auto-columns: minmax(0, 1fr); grid-template-columns: 1.5fr 1fr 1fr; }
.deck-on .st-2.sort > .pile-wide, .deck-on .st-4.sort > .pile-wide { grid-column: auto; }
.deck-on .st-4.sort { grid-template-columns: 1.4fr 1fr; }
.deck-on .pile > .tile { min-height: 0; overflow: hidden; flex: 1 1 0; }
.deck-on .stage.sort { grid-template-areas: none; grid-template-rows: minmax(0, 1fr); }
html.deck-on.on-home { scroll-snap-type: none; } /* one scroll = one slide is handled in app.js */
.arrive { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 900px) { .arrive { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 420px) { .nav.itin a { padding: 6px 7px; } .it-stops li + li::before { width: 10px; } }
@media (max-width: 420px) {
  .nav.itin { padding: 4px 4px 4px 6px; gap: 2px; }
  .nav.itin a { padding: 8px 5px; min-height: 36px; align-content: center; }
  .nav.itin a b { font-size: 12px; letter-spacing: .6px; }
  .it-stops li + li::before { display: none; }
}
.stage.sort { overflow-x: clip; overflow-clip-margin: 0; } /* the unfolding Duo can't widen the page on phones */
/* in a pile, the agent line-up reads as a numbered list instead of five squeezed boxes */
.pile .wf-steps { grid-template-columns: minmax(0, 1fr); gap: 4px; }
.pile .wf-steps li { flex-direction: row; align-items: center; gap: 10px; padding: 0; }
.pile .wf-steps li::before { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); pointer-events: none; }
.pile .wf-steps a { display: flex; align-items: baseline; gap: 10px; width: 100%; min-height: 36px; padding: 8px 12px 8px 32px; align-items: center; }
.pile .wf-steps a span { font-size: 13px; }
.deck-on .pile .wf-tools { display: none; } /* the full stack lives on Work; "Meet the agents" links there */
.pile .wf-steps li a { flex-direction: row; justify-content: flex-start; text-align: left; gap: 10px; } .pile .wf-steps li a b { min-width: 76px; }
.pile .wf-steps li a b { margin-top: 0; }

/* ═════════════ Gate J1: the welcome. Pick a boarding pass, it tears, you board that page ═════════════ */
html.gate-open { overflow: hidden; }
.gate { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; overflow-y: auto; padding: max(24px, env(safe-area-inset-top, 0px)) 16px 24px; background: var(--bg); background-image: radial-gradient(color-mix(in srgb, var(--muted) 22%, transparent) 1px, transparent 1.2px); background-size: 22px 22px; transition: opacity .5s var(--ease), visibility 0s .5s; }
.gate.gt-leave { opacity: 0; visibility: hidden; }
.gt-in { width: min(1180px, 100%); display: grid; justify-items: center; gap: 10px; text-align: center; }
.gt-kick { margin: 0; font: 700 12px/1.2 var(--sans); letter-spacing: 1.6px; text-transform: uppercase; color: var(--terra-ink); }
.gt-h { margin: 0; font: 600 clamp(44px, 7vw, 92px)/1 var(--display); letter-spacing: -1px; color: var(--ink); }
.gt-sub { margin: 0 0 18px; max-width: 46ch; font-size: 16px; line-height: 1.5; color: var(--muted); text-wrap: balance; }
.gt-tickets { list-style: none; margin: 0; padding: 0; width: 100%; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.gt-tickets li { display: flex; }
.gt-tk { --gt: #101b3d; position: relative; flex: 1; display: grid; grid-template-rows: 1fr auto; padding: 0; border: 0; background: none; color: #faf7f2; font: inherit; text-align: left; cursor: pointer; border-radius: 18px;
  animation: gtDeal .8s var(--spring) both; animation-delay: calc(var(--n, 0) * 90ms + 150ms); transition: transform .45s var(--spring), filter .3s; }
.gt-tickets li:nth-child(1) .gt-tk { --n: 0; --r: -2.5deg; } .gt-tickets li:nth-child(2) .gt-tk { --n: 1; --r: 1.5deg; }
.gt-tickets li:nth-child(3) .gt-tk { --n: 2; --r: -1deg; } .gt-tickets li:nth-child(4) .gt-tk { --n: 3; --r: 2.5deg; }
.gt-main, .gt-stub { position: relative; display: flex; flex-direction: column; background: var(--gt); }
.gt-main { gap: 8px; padding: 20px 20px 18px; border-radius: 18px 18px 0 0; min-height: 250px;
  -webkit-mask: radial-gradient(circle 11px at 0 100%, transparent 98%, #000) , radial-gradient(circle 11px at 100% 100%, transparent 98%, #000); -webkit-mask-composite: source-in; mask: radial-gradient(circle 11px at 0 100%, transparent 98%, #000) , radial-gradient(circle 11px at 100% 100%, transparent 98%, #000); mask-composite: intersect; }
.gt-stub { flex-direction: row; justify-content: space-between; align-items: center; padding: 14px 20px 16px; border-radius: 0 0 18px 18px; border-top: 2px dashed rgba(250, 247, 242, .55);
  -webkit-mask: radial-gradient(circle 11px at 0 0, transparent 98%, #000), radial-gradient(circle 11px at 100% 0, transparent 98%, #000); -webkit-mask-composite: source-in; mask: radial-gradient(circle 11px at 0 0, transparent 98%, #000), radial-gradient(circle 11px at 100% 0, transparent 98%, #000); mask-composite: intersect;
  transform-origin: 0 0; transition: transform .7s var(--ease), opacity .5s; }
.gt-top { display: flex; justify-content: space-between; font: 700 12px/1 var(--sans); letter-spacing: 1.4px; text-transform: uppercase; color: #e8dfd2; }
.gt-route { display: flex; align-items: center; gap: 10px; margin-top: 10px; }
.gt-route b { font: 600 30px/1 var(--display); letter-spacing: 2px; }
.gt-route i { flex: 1; height: 2px; position: relative; background: linear-gradient(90deg, #e8dfd2 50%, transparent 0) 0 0 / 8px 2px repeat-x; }
.gt-route i::after { content: "✈"; position: absolute; left: 50%; top: 50%; transform: translate(-50%, -54%); font-size: 16px; line-height: 1; padding: 0 4px; background: var(--gt); transition: left .6s var(--ease); }
.gt-title { margin-top: 8px; font: 600 26px/1.1 var(--display); }
.gt-best { font: 700 12px/1.3 var(--sans); letter-spacing: 1px; text-transform: uppercase; color: #f0c9b5; }
.gt-what { font-size: 14px; line-height: 1.45; color: #e8dfd2; }
.gt-code { font: 600 22px/1 var(--display); letter-spacing: 3px; }
.gt-adm { font: 700 12px/1 var(--sans); letter-spacing: 1.4px; text-transform: uppercase; color: #e8dfd2; }
.gt-tk:hover, .gt-tk:focus-visible { transform: translateY(-10px) rotate(var(--r)); filter: drop-shadow(0 18px 24px rgba(16, 27, 61, .28)); }
.gt-tk:hover .gt-route i::after, .gt-tk:focus-visible .gt-route i::after { left: 78%; }
.gt-tk:focus-visible { outline: 3px solid var(--terra-ink); outline-offset: 6px; }
/* chosen: the stub tears off and drops, the pass flies up, the rest step back */
.gt-tk.gt-pick { transform: translateY(-26px) scale(1.04); filter: drop-shadow(0 24px 30px rgba(16, 27, 61, .32)); z-index: 2; }
.gt-tk.gt-pick .gt-stub { transform: translate(8px, 60px) rotate(14deg); opacity: 0; }
.gt-tk.gt-pick .gt-route i::after { left: 100%; }
.gate.gt-chosen .gt-tk:not(.gt-pick) { transform: translateY(30px) scale(.94); opacity: .25; transition: transform .5s var(--ease), opacity .4s; }
.gt-skip { margin-top: 18px; min-height: 44px; padding: 10px 20px; border-radius: 999px; border: 1px solid var(--line); background: var(--tile); color: var(--ink); font: 600 14px/1 var(--sans); cursor: pointer; }
.gt-skip:hover, .gt-skip:focus-visible { background: var(--tile-2); }
.gt-again { padding: 0; border: 0; background: none; color: inherit; font: inherit; text-align: left; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; min-height: 24px; }
@keyframes gtDeal { from { opacity: 0; transform: translateY(80px) rotate(calc(var(--r, 0deg) * 4)); } to { opacity: 1; transform: none; } }
.still .gt-tk, .still .gt-stub, .still .gate { animation: none; transition: none; }
@media (max-width: 1000px) { .gt-tickets { grid-template-columns: repeat(2, minmax(0, 1fr)); } .gt-main { min-height: 0; } }
@media (max-width: 560px) {
  .gate { place-items: start center; }
  .gt-tickets { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .gt-what { display: none; }
  .gt-main { padding: 16px 18px 14px; gap: 4px; }
  .gt-route { margin-top: 4px; } .gt-route b { font-size: 24px; } .gt-title { font-size: 22px; margin-top: 4px; }
  .gt-stub { padding: 10px 18px 12px; }
}
/* the deck starts at the very top of the page, so the first scroll already moves one whole slide */
html.deck-on.on-home .lookhint { display: none; }
html.deck-on.on-home .dash { padding-top: 0; }
.gt-best { color: #faf7f2; }

/* ═════════════ Home, calm (2026-09-28 reset) ═════════════
   One headline, one sentence, at most two pieces of content per slide. One type scale:
   leg label 12 · lede 18 · h2 36–56 · h1 40–64. Spacing steps: 12 · 20 · 32 · 48. */
.lookhint { display: none !important; }
.hm-slide { display: flex; flex-direction: column; gap: 32px; }
.dk-slide.hm-slide + .dk-slide.hm-slide { margin-top: 120px; }
.hm-leg { display: flex; align-items: center; gap: 12px; margin: 0 0 20px; font: 700 12px/1 var(--sans); letter-spacing: 1.4px; text-transform: uppercase; color: var(--muted); }
.hm-stamp { padding: 5px 8px 4px; border: 1.5px solid var(--terra-ink); border-radius: 6px; color: var(--terra-ink); }
.hm-of { margin-left: auto; font-variant-numeric: tabular-nums; }
.hm-h2 { margin: 0; max-width: 20ch; font: 600 clamp(34px, 4vw, 56px)/1.05 var(--display); letter-spacing: -.5px; color: var(--ink); text-wrap: balance; }
.hm-lede { margin: 14px 0 0; max-width: 58ch; font-size: 18px; line-height: 1.5; color: var(--muted); text-wrap: pretty; }
.hm-h3 { margin: 0 0 4px; font: 700 12px/1 var(--sans); letter-spacing: 1.4px; text-transform: uppercase; color: var(--muted); }
.hm-body { min-height: 0; }
.hm-split { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 48px; }
.hm-more { align-self: flex-start; margin-top: 8px; font-weight: 700; font-size: 15px; color: var(--terra-ink); text-decoration: none; }
.hm-more:hover, .hm-more:focus-visible { text-decoration: underline; text-underline-offset: 3px; }

/* 1 · Hello */
.hm-hello { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 56px; align-items: center; }
.hm-who { display: flex; align-items: center; gap: 12px; margin: 0 0 24px; font-size: 15px; color: var(--muted); }
.hm-who img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }
.hm-who b { display: block; font-size: 16px; color: var(--ink); }
.hm-h1 { margin: 0; min-height: 3.3em; font: 600 clamp(38px, 4.4vw, 62px)/1.08 var(--display); letter-spacing: -.5px; text-wrap: balance; }
.hm-intro .hl-when { margin: 16px 0 0; }
.hm-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hm-btn { display: inline-flex; align-items: center; min-height: 48px; padding: 0 24px; border-radius: 999px; background: var(--action-bg); color: var(--action-fg); font-weight: 700; font-size: 15px; text-decoration: none; transition: transform .3s var(--spring); }
.hm-btn:hover, .hm-btn:focus-visible { transform: translateY(-2px); }
.hm-ghost { background: none; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); }
.hm-art { margin: 0; display: flex; flex-direction: column; border-radius: 24px; overflow: hidden; background: var(--tile); border: 1px solid var(--line); }
.hm-art .na-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--tile-2); }
.hm-art .na-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hm-art .na-media .fit-contain, .hm-art .na-media .fit-phone { object-fit: contain; padding: 16px; }
.hm-art .na-cap { position: static; display: grid; gap: 6px; padding: 20px 24px 24px; background: none; }
.hm-art .na-kind { font: 700 12px/1 var(--sans); letter-spacing: 1.4px; text-transform: uppercase; color: var(--muted); }
.hm-art .na-title { font: 600 22px/1.2 var(--display); color: var(--ink); }
.hm-art .na-cta { justify-self: start; margin-top: 4px; font-weight: 700; font-size: 15px; color: var(--terra-ink); text-decoration: none; background: none; padding: 0; min-height: 24px; }
.hm-art .na-cta:hover, .hm-art .na-cta:focus-visible { text-decoration: underline; text-underline-offset: 3px; }

/* 2 · Proof: four results, same shape, 2 × 2 */
.hm-results { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.hm-results li { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 20px; align-items: start; padding: 24px; border-radius: 20px; background: var(--tile); border: 1px solid var(--line); }
.hm-results .im-logo { height: 32px; display: flex; align-items: center; }
.hm-results .im-logo img { max-height: 28px; max-width: 120px; }
.hm-results b { display: inline; font-size: 16px; }
.hm-results div > span { margin-left: 8px; font-size: 13px; color: var(--muted); }
.hm-results p { margin: 8px 0 0; font-size: 15px; line-height: 1.5; color: var(--ink); }
.hm-foot { margin: 20px 0 0; font-size: 14px; color: var(--muted); }
.hm-foot a { color: var(--terra-ink); font-weight: 700; }

/* 3 · The build · 4 · On stage: a picture on the left, a numbered list on the right */
.hm-duo { position: relative; min-height: 420px; display: flex; align-items: center; justify-content: center; border-radius: 24px; background: var(--tile); border: 1px solid var(--line); cursor: pointer; }
.hm-cap { position: absolute; left: 24px; bottom: 20px; font-size: 13px; font-weight: 600; color: var(--muted); }
.hm-team { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.hm-steps, .hm-talks { list-style: none; margin: 0; padding: 0; counter-reset: hm; border-top: 1px solid var(--line); }
.hm-steps li, .hm-talks li { counter-increment: hm; border-bottom: 1px solid var(--line); }
.hm-steps a, .hm-talks a { position: relative; display: grid; grid-template-columns: 40px minmax(0, 1fr); column-gap: 12px; align-items: baseline; padding: 14px 4px; color: var(--ink); text-decoration: none; }
.hm-steps a::before, .hm-talks a::before { content: counter(hm, decimal-leading-zero); grid-row: span 2; font: 600 14px/1.4 var(--display); color: var(--terra-ink); }
.hm-steps b { font-size: 17px; } .hm-talks b { font: 600 18px/1.25 var(--display); }
.hm-steps span, .hm-talks span { grid-column: 2; margin-top: 2px; font-size: 14px; color: var(--muted); }
.hm-steps a:hover b, .hm-steps a:focus-visible b, .hm-talks a:hover b, .hm-talks a:focus-visible b { text-decoration: underline; text-underline-offset: 3px; }
.hm-me a::before { content: "✓"; color: var(--ink); }
.hm-video { position: relative; margin: 0; min-height: 360px; border-radius: 24px; overflow: hidden; background: #101b3d; }
.hm-video video { width: 100%; height: 100%; object-fit: cover; display: block; }
.hm-video figcaption { position: absolute; left: 16px; top: 16px; padding: 6px 12px; border-radius: 999px; background: rgba(16, 27, 61, .78); color: #faf7f2; font-size: 13px; font-weight: 600; }

/* 5 · Your move */
.hm-go { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.hm-card { display: flex; flex-direction: column; justify-content: flex-end; gap: 8px; min-height: 240px; padding: 32px; border-radius: 24px; background: var(--tile); border: 1px solid var(--line); color: var(--ink); text-decoration: none; transition: transform .35s var(--spring); }
.hm-card:hover, .hm-card:focus-visible { transform: translateY(-4px); }
.hm-card span { font: 700 12px/1 var(--sans); letter-spacing: 1.4px; text-transform: uppercase; color: var(--muted); }
.hm-card b { font: 600 34px/1.05 var(--display); }
.hm-card em { font-style: normal; font-size: 14px; color: var(--muted); overflow-wrap: anywhere; }
.hm-primary { background: var(--action-bg); border-color: var(--action-bg); color: var(--action-fg); }
.hm-primary span, .hm-primary em { color: color-mix(in srgb, var(--action-fg) 82%, var(--action-bg)); }

/* desktop deck: every slide fills the screen below the menu, content centered at 1200px */
.deck-on .dk-slide.hm-slide { display: flex; margin: 0; padding: 40px max(40px, calc((100vw - 1200px) / 2)) 48px; }
.deck-on .dk-slide.hm-slide + .dk-slide.hm-slide { margin: 0; }
.deck-on .hm-slide > .hm-body { flex: 1; }
.deck-on .hm-split { height: 100%; }
.deck-on .hm-duo, .deck-on .hm-video { min-height: 0; height: 100%; }
.deck-on .hm-hello { flex: 1; }
.deck-on .hm-art .na-media { aspect-ratio: auto; height: min(42vh, 380px); }
.deck-on .hm-go { align-content: center; }
.dk-slide.seen .hm-head, .dk-slide.seen .hm-body, .dk-slide.seen .hm-hello > * { animation: dkRise .7s var(--ease) both; }
.dk-slide.seen .hm-body, .dk-slide.seen .hm-art { animation-delay: .12s; }
.still .dk-slide .hm-head, .still .dk-slide .hm-body, .still .dk-slide .hm-hello > * { animation: none; }

@media (max-width: 900px) {
  .hm-hello, .hm-split { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .hm-results, .hm-go { grid-template-columns: minmax(0, 1fr); }
  .hm-results li { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .hm-h1 { min-height: 0; }
  .hm-duo { min-height: 360px; } .hm-video { min-height: 0; aspect-ratio: 16 / 9; }
  .dk-slide.hm-slide + .dk-slide.hm-slide { margin-top: 80px; }
  .hm-card { min-height: 0; padding: 24px; }
}
.gate[hidden] { display: none; }
.hm-video { background: var(--tile-2); } .hm-video video { object-fit: contain; }
.deck-on .hm-go { align-content: start; margin-top: 16px; }

/* ── Gate tickets v2: an illustrated hand of boarding passes, fanned out ── */
.gt-tickets { display: flex; justify-content: center; align-items: flex-end; gap: 0; grid-template-columns: none; padding: 36px 0 12px; }
.gt-tickets li { flex: 0 0 auto; margin: 0 -18px; }
.gt-tickets li:nth-child(1) { --r: -9deg; --y: 30px; } .gt-tickets li:nth-child(2) { --r: -3deg; --y: 6px; }
.gt-tickets li:nth-child(3) { --r: 3deg; --y: 6px; } .gt-tickets li:nth-child(4) { --r: 9deg; --y: 30px; }
.gt-tk { width: 270px; display: flex; flex-direction: column; border-radius: 20px; overflow: hidden; box-shadow: 0 18px 36px -12px rgba(16, 27, 61, .35);
  transform-origin: 50% 110%; transform: translateY(var(--y)) rotate(var(--r)); animation: gtFan .9s var(--spring) both; animation-delay: calc(var(--n, 0) * 80ms + 120ms); }
.gt-tk:hover, .gt-tk:focus-visible { transform: translateY(calc(var(--y) - 34px)) rotate(0deg) scale(1.04); z-index: 3; filter: none; box-shadow: 0 30px 50px -14px rgba(16, 27, 61, .45); }
.gt-tickets:has(.gt-tk:hover) .gt-tk:not(:hover) { filter: saturate(.8) brightness(.96); }
@keyframes gtFan { from { opacity: 0; transform: translateY(120px) rotate(0deg); } to { opacity: 1; transform: translateY(var(--y)) rotate(var(--r)); } }
/* the picture: what's behind each ticket, drawn in one line style */
.gt-art { position: relative; display: block; height: 146px; background: color-mix(in srgb, var(--gt) 78%, #faf7f2 22%); }
.gt-art svg { position: absolute; inset: 10px 10px 0; width: calc(100% - 20px); height: calc(100% - 10px); }
.gt-ln { fill: none; stroke: #faf7f2; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.gt-dash { fill: none; stroke: #f0c9b5; stroke-width: 2.4; stroke-dasharray: 5 7; stroke-linecap: round; }
.gt-pl, .gt-dot, .gt-fill { fill: #f0c9b5; } .gt-me { fill: #faf7f2; } .gt-heart { fill: var(--gt); }
.gt-beam { fill: #faf7f2; opacity: .14; }
.gt-tk:hover .gt-dash, .gt-tk:focus-visible .gt-dash { animation: gtRoute 1.2s linear infinite; }
@keyframes gtRoute { to { stroke-dashoffset: -24; } }
/* a passport stamp on every pass */
.gt-badge { position: absolute; right: 12px; top: 10px; width: 64px; height: 64px; display: grid; place-content: center; text-align: center; border-radius: 50%; border: 2px solid #faf7f2; box-shadow: inset 0 0 0 3px var(--gt), inset 0 0 0 4.5px #faf7f2; color: #faf7f2; transform: rotate(-14deg); background: var(--gt); }
.gt-badge b { font: 600 13px/1 var(--display); letter-spacing: .5px; } .gt-badge small { font: 700 9px/1.2 var(--sans); letter-spacing: 1px; text-transform: uppercase; }
.gt-main { min-height: 0; gap: 6px; padding: 16px 20px 16px; border-radius: 0; -webkit-mask: none; mask: none; }
.gt-top { font-size: 12px; }
.gt-title { margin-top: 2px; font: 600 26px/1.1 var(--display); }
.gt-best { font: 700 12px/1.3 var(--sans); letter-spacing: .6px; text-transform: none; color: #faf7f2; }
.gt-what { font-size: 13px; line-height: 1.4; color: #e8dfd2; }
.gt-stub { position: relative; padding: 12px 20px 14px; border-radius: 0; -webkit-mask: none; mask: none; font: 700 12px/1 var(--sans); letter-spacing: 1.2px; text-transform: uppercase; color: #e8dfd2; }
.gt-stub::before, .gt-stub::after { content: ""; position: absolute; top: -9px; width: 16px; height: 16px; border-radius: 50%; background: var(--bg); }
.gt-stub::before { left: -8px; } .gt-stub::after { right: -8px; }
.gt-tk.gt-pick { transform: translateY(-40px) rotate(0deg) scale(1.08); }
.gate.gt-chosen .gt-tk:not(.gt-pick) { transform: translateY(calc(var(--y) + 60px)) rotate(var(--r)) scale(.92); }
.still .gt-tk { transform: translateY(var(--y)) rotate(var(--r)); }
@media (max-width: 1000px) { .gt-tk { width: 230px; } .gt-tickets li { margin: 0 -24px; } .gt-what { display: none; } }
@media (max-width: 700px) {
  .gt-tickets { flex-direction: column; align-items: center; gap: 14px; padding: 8px 0; }
  .gt-tickets li { margin: 0; width: 100%; max-width: 360px; }
  .gt-tickets li:nth-child(n) { --r: 0deg; --y: 0px; }
  .gt-tk { width: 100%; flex-direction: row; flex-wrap: wrap; }
  .gt-art { width: 110px; height: auto; flex: none; }
  .gt-art svg { inset: 8px; width: calc(100% - 16px); height: calc(100% - 16px); }
  .gt-badge { display: none; }
  .gt-main { flex: 1; padding: 14px 16px; }
  .gt-stub { width: 100%; padding: 10px 16px; }
}
.gt-tickets li:nth-child(1) .gt-tk { --r: -9deg; --y: 30px; } .gt-tickets li:nth-child(2) .gt-tk { --r: -3deg; --y: 6px; }
.gt-tickets li:nth-child(3) .gt-tk { --r: 3deg; --y: 6px; } .gt-tickets li:nth-child(4) .gt-tk { --r: 9deg; --y: 30px; }
.gt-badge { width: 86px; height: 86px; right: 10px; top: 8px; }
.gt-badge b { font-size: 15px; } .gt-badge small { font-size: 12px; letter-spacing: .4px; }
@media (max-width: 700px) { .gt-tickets li:nth-child(n) .gt-tk { --r: 0deg; --y: 0px; } }
.gt-tickets li { margin: 0 -4px; } .gt-tk { width: 262px; }
@media (max-width: 1150px) { .gt-tk { width: 218px; } .gt-title { font-size: 22px; } .gt-what { display: none; } }
@media (max-width: 700px) { .gt-tickets li { margin: 0; } .gt-tk { width: 100%; } }
/* welcome tour label + progress dots; a calmer headline; the two-way format toggle */
.hm-of { display: flex; gap: 6px; } .hm-of i { width: 18px; height: 4px; border-radius: 2px; background: var(--line); } .hm-of i.on { background: var(--terra-ink); }
.hm-h1 { font-size: clamp(30px, 3vw, 44px); line-height: 1.12; min-height: 3.4em; max-width: 18ch; }
.hm-fmt { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; margin-top: 20px; }
.hm-fmt-l { font: 700 12px/1 var(--sans); letter-spacing: 1.2px; text-transform: uppercase; color: var(--muted); }
.hm-fmt .hw-fmt { display: inline-flex; gap: 4px; padding: 4px; border-radius: 999px; background: var(--tile); border: 1px solid var(--line); }
.hm-fmt .hw-fmt button { display: inline-flex; align-items: baseline; gap: 6px; min-height: 36px; padding: 0 14px; border: 0; border-radius: 999px; background: none; color: var(--ink); font: 700 13px/36px var(--sans); cursor: pointer; }
.hm-fmt .hw-fmt button span { font-weight: 500; color: var(--muted); }
.hm-fmt .hw-fmt button[aria-checked="true"] { background: var(--action-bg); color: var(--action-fg); }
.hm-fmt .hw-fmt button[aria-checked="true"] span { color: color-mix(in srgb, var(--action-fg) 80%, var(--action-bg)); }
.hm-fmt .hw-fmt button:focus-visible { outline: 2px solid var(--terra-ink); outline-offset: 2px; }
.hm-ctas { margin-top: 28px; }
@media (max-width: 900px) { .hm-h1 { min-height: 0; font-size: clamp(28px, 7vw, 36px); } .hm-fmt .hw-fmt button span { display: none; } }
.deck-on .hm-hello { align-items: start; padding-top: 3vh; }
.hm-slide { overflow-x: clip; overflow-clip-margin: 0; }
/* five passes in the fan */
.gt-tickets li:nth-child(1) .gt-tk { --r: -11deg; --y: 42px; } .gt-tickets li:nth-child(2) .gt-tk { --r: -5.5deg; --y: 12px; }
.gt-tickets li:nth-child(3) .gt-tk { --r: 0deg; --y: 0px; } .gt-tickets li:nth-child(4) .gt-tk { --r: 5.5deg; --y: 12px; }
.gt-tickets li:nth-child(5) .gt-tk { --r: 11deg; --y: 42px; }
.gt-tickets li:nth-child(5) .gt-tk { --n: 4; }
.gt-tk { width: 236px; } .gt-title { font-size: 23px; }
@media (max-width: 1250px) { .gt-tk { width: 196px; } .gt-what { display: none; } .gt-title { font-size: 20px; } .gt-badge { width: 70px; height: 70px; } }
@media (max-width: 700px) { .gt-tickets li:nth-child(n) .gt-tk { --r: 0deg; --y: 0px; } .gt-tk { width: 100%; } }

/* ═════════════ Peer-review pass (2026-09-28): one header shape, a solid nav, hiring first ═════════════ */
/* the nav is solid, so text never scrolls underneath it, and pages start below it */
.topbar .nav.itin, .topbar .theme-toggle { background: var(--card); -webkit-backdrop-filter: none; backdrop-filter: none; border: 1px solid var(--line); }
main.dash { padding-top: 112px; }
html.deck-on.on-home main.dash { padding-top: 0; }
html { scroll-padding-top: 104px; }
/* every page opens with the same header Home uses: stamp label, big title, one lede */
.pg-head { margin: 0 0 48px; display: block; }
.pg-head .hm-leg { margin-bottom: 16px; }
.pg-head > p:not(.hm-leg) { margin: 14px 0 0; max-width: 58ch; font-size: 18px; line-height: 1.5; color: var(--muted); }
.pg-head .hm-h2 { max-width: 22ch; }
/* section headers: one title, one quiet line under it (no two-tone headline) */
.sec-h { margin: 72px 0 24px; }
.sec-h h2 { font: 600 clamp(26px, 2.6vw, 36px)/1.15 var(--display); color: var(--ink); }
.sec-h h2 b { font-weight: inherit; }
.sec-h h2 span { display: block; margin-top: 8px; font: 400 17px/1.5 var(--sans); color: var(--muted); }
/* Home, stop 1: what I do, then the latest */
.hm-claim { max-width: 17ch; font-size: clamp(34px, 3.6vw, 52px); }
.hm-latest { margin-top: 28px; padding: 20px 24px; border-radius: 20px; background: var(--tile); border: 1px solid var(--line); }
.hm-latest-l { margin: 0 0 8px; font: 700 12px/1 var(--sans); letter-spacing: 1.4px; text-transform: uppercase; color: var(--muted); }
.hm-hill { margin: 0; min-height: 2.5em; font: 600 22px/1.25 var(--display); }
.hm-latest .hl-when { margin: 10px 0 0; }
.hm-latest .hm-fmt { margin-top: 14px; }
.hm-feature { text-decoration: none; color: inherit; transition: transform .35s var(--spring); }
.hm-feature:hover, .hm-feature:focus-visible { transform: translateY(-4px); }
.hm-feat-media { display: block; aspect-ratio: 4 / 3; background: var(--tile-2); overflow: hidden; }
.hm-feat-media img { width: 100%; height: 100%; object-fit: contain; padding: 16px; display: block; }
.deck-on .hm-feat-media { aspect-ratio: auto; height: min(40vh, 360px); }
.hm-feat-d { font-size: 15px; line-height: 1.45; color: var(--muted); }
.hm-feature:hover .na-cta, .hm-feature:focus-visible .na-cta { text-decoration: underline; text-underline-offset: 3px; }
/* Speaking: a plain line instead of an empty banner; booking steps */
.tp-where { margin: 0 0 6px; font: 700 12px/1 var(--sans); letter-spacing: 1.4px; text-transform: uppercase; color: var(--terra-ink); }
.sp-book { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 32px; align-items: end; max-width: 1000px; }
@media (max-width: 800px) { .sp-book { grid-template-columns: minmax(0, 1fr); } }
/* six stops in the menu */
@media (max-width: 1100px) { .nav.itin a { padding-left: 7px; padding-right: 7px; } }
@media (max-width: 480px) { .nav.itin a { padding: 8px 4px; } }
/* shorter laptop screens (760–900px tall): the same slides, tighter */
@media (max-height: 900px) {
  .deck-on .dk-slide.hm-slide { padding-top: 20px; padding-bottom: 28px; gap: 20px; }
  .deck-on .hm-leg { margin-bottom: 12px; }
  .deck-on .hm-h2 { font-size: clamp(30px, 3.2vw, 44px); }
  .deck-on .hm-lede { margin-top: 8px; font-size: 16px; }
  .deck-on .hm-claim { font-size: clamp(30px, 3vw, 42px); }
  .deck-on .hm-who { margin-bottom: 14px; }
  .deck-on .hm-latest { margin-top: 18px; padding: 14px 20px; }
  .deck-on .hm-hill { font-size: 19px; }
  .deck-on .hm-ctas { margin-top: 18px; }
  .deck-on .hm-steps a, .deck-on .hm-talks a { padding: 9px 4px; }
  .deck-on .hm-steps span, .deck-on .hm-talks span { font-size: 13px; }
  .deck-on .hm-results li { padding: 18px; }
  .deck-on .hm-feat-media { height: min(34vh, 300px); }
}
/* passes: the route is enough; the badge already says what it is */
.gt-top > span:first-child { display: none; }

/* How I build · by platform */
.pf-filter { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 24px; }
.pf-lbl { margin-right: 4px; font: 700 12px/1 var(--sans); letter-spacing: 1.4px; text-transform: uppercase; color: var(--muted); }
.pf-lbl:not(:first-child) { margin-left: 16px; }
.pf-filter button { min-height: 36px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); color: var(--ink); font: 600 13px/1 var(--sans); cursor: pointer; }
.pf-filter button:hover, .pf-filter button:focus-visible { border-color: var(--ink); }
.pf-filter button[aria-pressed="true"] { background: var(--action-bg); border-color: var(--action-bg); color: var(--action-fg); }
.pf-grid { list-style: none; margin: 0 0 24px; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; }
.pf-card { display: flex; flex-direction: column; gap: 12px; padding: 24px; border-radius: 20px; background: var(--tile); border: 1px solid var(--line); }
.pf-card[hidden] { display: none; }
.pf-top { display: flex; align-items: center; gap: 12px; }
.pf-logo { flex: none; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 10px; background: var(--card); border: 1px solid var(--line); }
.pf-logo img { width: 22px; height: 22px; }
.pf-logo b { font: 700 14px/1 var(--sans); color: var(--ink); }
:root[data-theme="dark"] .pf-logo img { filter: invert(1); }
.pf-name { margin: 0; font: 600 22px/1.15 var(--display); }
.pf-kind { font-size: 13px; color: var(--muted); }
.pf-stat { margin: 0; font: 700 13px/1.3 var(--sans); color: var(--terra-ink); }
.pf-work { list-style: none; margin: 0; padding: 12px 0 0; border-top: 1px solid var(--line); display: grid; gap: 14px; }
.pf-proj { display: block; font: 700 12px/1.2 var(--sans); letter-spacing: 1.2px; text-transform: uppercase; color: var(--ink); }
.pf-proj a { color: var(--terra-ink); text-decoration: none; }
.pf-proj a:hover, .pf-proj a:focus-visible { text-decoration: underline; text-underline-offset: 3px; }
.pf-work p { margin: 4px 0 0; font-size: 15px; line-height: 1.5; color: var(--ink); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .pf-logo img { filter: invert(1); } }
/* Speaking: in person vs digital */
.sp-jump { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.sp-jump a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); color: var(--ink); font: 600 14px/1 var(--sans); text-decoration: none; }
.sp-jump a:hover, .sp-jump a:focus-visible { border-color: var(--ink); }
.sp-grp { margin-top: 96px; padding-top: 40px; border-top: 1px solid var(--line); }
.sp-grp-h { margin-bottom: 32px; }
.sp-grp-h .hm-stamp { display: inline-block; font: 700 12px/1 var(--sans); letter-spacing: 1.4px; text-transform: uppercase; margin-bottom: 14px; }
.sec-h h3 { margin: 0; font: 600 clamp(24px, 2.2vw, 30px)/1.2 var(--display); color: var(--ink); }
.sec-h h3 b { font-weight: inherit; }
.sec-h h3 span { display: block; margin-top: 8px; font: 400 17px/1.5 var(--sans); color: var(--muted); }
.sp-grp .sec-h:first-of-type { margin-top: 0; }
/* the stamp label is the same size on every page (About/Speaking's older header rule was winning) */
.ab-head.pg-head .hm-leg { font-size: 12px; color: var(--muted); max-width: none; margin: 0 0 16px; }
/* gate, 1001–1300px: passes share the width and tilt less, so nothing runs off the screen */
@media (min-width: 1001px) and (max-width: 1300px) {
  .gt-tk { width: calc((100vw - 120px) / 5); }
  .gt-tickets li { margin: 0 -2px; }
  .gt-tickets li:nth-child(1) .gt-tk { --r: -6deg; --y: 24px; } .gt-tickets li:nth-child(2) .gt-tk { --r: -3deg; --y: 8px; }
  .gt-tickets li:nth-child(4) .gt-tk { --r: 3deg; --y: 8px; } .gt-tickets li:nth-child(5) .gt-tk { --r: 6deg; --y: 24px; }
}
/* gate, 1000px and under: the passes stack as rows */
@media (max-width: 1000px) {
  .gate { place-items: start center; }
  .gt-tickets { flex-direction: column; align-items: center; gap: 12px; padding: 8px 0; }
  .gt-tickets li { margin: 0; width: 100%; max-width: 440px; }
  .gt-tickets li:nth-child(n) .gt-tk { --r: 0deg; --y: 0px; }
  .gt-tk { width: 100%; flex-direction: row; flex-wrap: wrap; }
  .gt-art { width: 110px; height: auto; flex: none; }
  .gt-art svg { inset: 8px; width: calc(100% - 16px); height: calc(100% - 16px); }
  .gt-badge, .gt-what { display: none; }
  .gt-main { flex: 1; padding: 14px 16px; }
  .gt-stub { width: 100%; padding: 10px 16px; }
}

/* How I build: pick a platform, see how I use it */
.bl-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; margin: 0 0 24px; }
.bl-list [role="tab"] { display: flex; align-items: center; gap: 10px; min-height: 56px; padding: 10px 14px; border-radius: 16px; border: 1px solid var(--line); background: var(--card); color: var(--ink); font: 600 15px/1.2 var(--sans); text-align: left; cursor: pointer; transition: border-color .2s, transform .3s var(--spring); }
.bl-list [role="tab"]:hover, .bl-list [role="tab"]:focus-visible { border-color: var(--ink); transform: translateY(-2px); }
.bl-list [role="tab"][aria-selected="true"] { background: var(--action-bg); border-color: var(--action-bg); color: var(--action-fg); }
.bl-logo { flex: none; width: 32px; height: 32px; display: grid; place-items: center; border-radius: 8px; background: #faf7f2; }
.bl-logo img { width: 18px; height: 18px; } .bl-logo b { font: 700 13px/1 var(--sans); color: #101b3d; }
.bl-panel { min-height: 120px; padding: 28px 32px; border-radius: 24px; background: var(--tile); border: 1px solid var(--line); outline: none; }
.bl-panel.bl-in { animation: dkRise .45s var(--ease) both; }
.still .bl-panel.bl-in { animation: none; }
.bl-hint { margin: 0; font-size: 17px; color: var(--muted); }
.bl-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 16px; margin-bottom: 20px; }
.bl-title { margin: 0; font: 600 clamp(28px, 2.8vw, 38px)/1.1 var(--display); }
.bl-kind { font-size: 15px; color: var(--muted); }
.bl-stat { font: 700 13px/1 var(--sans); color: var(--terra-ink); }
.bl-uses { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.bl-uses li { display: flex; flex-direction: column; gap: 6px; padding-top: 16px; border-top: 1px solid var(--line); }
.bl-proj { font: 700 12px/1 var(--sans); letter-spacing: 1.4px; text-transform: uppercase; color: var(--muted); }
.bl-uses p { margin: 0; max-width: 52ch; font-size: 17px; line-height: 1.5; }
.bl-team { margin-top: 24px; }
.bl-team .team-toggle { display: none; } /* the platform you picked already chose the team */
.bl-team .sec-h { margin-top: 40px; }
.bl-more { margin-top: 64px; border-top: 1px solid var(--line); padding-top: 8px; }
.bl-more > summary { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; min-height: 56px; padding: 12px 0; cursor: pointer; list-style: none; font: 600 22px/1.2 var(--display); }
.bl-more > summary::-webkit-details-marker { display: none; }
.bl-more > summary::after { content: "Show"; margin-left: auto; font: 700 14px/1 var(--sans); color: var(--terra-ink); }
.bl-more[open] > summary::after { content: "Hide"; }
.bl-more > summary span { font: 400 15px/1.4 var(--sans); color: var(--muted); }
.bl-more > summary:focus-visible { outline: 2px solid var(--terra-ink); outline-offset: 4px; border-radius: 8px; }
.bl-more .bl-methods-h { display: none; }
/* Speaking: a talk drops down only when its stamp is picked */
.talk-hint { margin: 24px 0 0; font-size: 16px; color: var(--muted); }
.talk-panel:not([hidden]) { animation: spDrop .45s var(--ease) both; transform-origin: top; }
@keyframes spDrop { from { opacity: 0; transform: translateY(-12px); } }
.still .talk-panel { animation: none; }
.stamp[aria-expanded="true"] { opacity: 1; }
/* international map: pins = lived, fill = traveled */
.map .traveled { fill: color-mix(in srgb, var(--terra) 45%, var(--tile-2)); }
.map .traveled:hover, .map .traveled.sel, .map .traveled:focus-visible { fill: var(--terra); outline: none; }
.map .pin { fill: var(--navy); stroke: #faf7f2; stroke-width: 1.5; }
.map .pin.now-pin { fill: var(--terra); }
.map .pin.study-pin { fill: #d9a34f; }
.map .pin:hover, .map .pin.sel, .map .pin:focus-visible { stroke: var(--ink); stroke-width: 2.5; outline: none; }
:root[data-theme="dark"] .map .pin { fill: #faf7f2; stroke: #101b3d; }
.map-key { display: flex; flex-wrap: wrap; gap: 6px 14px; margin: 0; font-size: 13px; color: var(--muted); }
.map-key span { display: inline-flex; align-items: center; gap: 6px; }
.map-key span::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--navy); }
.map-key .k-now::before { background: var(--terra); }
.map-key .k-trav::before { border-radius: 2px; background: color-mix(in srgb, var(--terra) 45%, var(--tile-2)); }
.map-info { background: var(--card); border: 1px solid var(--line); }
/* folded sections: the title opens the rest */
.fold { margin-top: 56px; border-top: 1px solid var(--line); }
.fold > summary { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; margin: 0; padding: 24px 0; cursor: pointer; list-style: none; }
.fold > summary::-webkit-details-marker { display: none; }
.fold > summary > h2, .fold > summary > h3 { flex: 1; min-width: 240px; margin: 0; }
.fold-act::after { content: "Show"; display: inline-flex; align-items: center; min-height: 36px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line); font: 700 14px/1 var(--sans); color: var(--ink); }
.fold[open] .fold-act::after { content: "Hide"; }
.fold > summary:hover .fold-act::after { border-color: var(--ink); }
.fold > summary:focus-visible { outline: 2px solid var(--terra-ink); outline-offset: 4px; border-radius: 8px; }
.fold[open] > summary { padding-bottom: 20px; }

/* ═════════════ Hiring-director wayfinding: plain labels, no codes ═════════════ */
.it-plane { display: none; }
.it-stops { padding-bottom: 0; }
.it-stops li + li::before { display: none; }
.nav.itin a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; }
.nav.itin a .nv-l { font: 600 14px/1 var(--sans); color: var(--ink); }
.nav.itin a .nv-s { display: none; }
.nav.itin a.active .nv-l, .nav.itin a.active .nv-s { color: #faf7f2; }
:root[data-theme="dark"] .nav.itin a.active .nv-l, :root[data-theme="dark"] .nav.itin a.active .nv-s { color: #101b3d; }
.nav.itin a:not(.active):hover { background: var(--tile-2); }
.nv-cv { display: inline-flex; align-items: center; min-height: 40px; margin-left: 4px; padding: 0 14px; border-radius: 999px; border: 1.5px solid var(--ink); color: var(--ink); font: 700 14px/1 var(--sans); text-decoration: none; white-space: nowrap; }
.nv-cv:hover, .nv-cv:focus-visible { background: var(--ink); color: var(--bg); }
@media (max-width: 1100px) { .nav.itin a { padding: 0 10px; } .nv-cv { padding: 0 10px; } }
@media (max-width: 860px) { .nav.itin a .nv-l { display: none; } .nav.itin a .nv-s { display: inline; font: 600 13px/1 var(--sans); color: var(--ink); } }
@media (max-width: 480px) { .nav.itin a { padding: 0 7px; } .nv-cv { display: none; } }
/* gate without ticket-stub wording */
.gt-main { padding-bottom: 20px; }
.gt-title { line-height: 1.12; }
/* phones: the four a hiring manager needs; Speaking and About live in the ••• menu */
@media (max-width: 560px) { .it-stops li:has(a[data-nav="speaking"]), .it-stops li:has(a[data-nav="about"]) { display: none; } }
@media (max-width: 480px) {
  .nav.itin { padding: 3px 3px 3px 4px; gap: 0; }
  .nav.itin a { padding: 0 6px; min-height: 38px; }
  .nav.itin a .nv-s { font-size: 12.5px; }
  .it-more { width: 34px; }
}
@media (max-width: 480px) { .topbar { gap: 3px; } .it-stops li { margin: 0; padding: 0; } .it-stops { gap: 0; } }
@media (max-width: 380px) { .nav.itin a { padding: 0 4px; } .topbar .theme-toggle { width: 30px; height: 30px; } .it-more { width: 30px; } }
.nav.itin a.nv-cv, .nav.itin .nv-cv { color: var(--ink); font: 700 14px/1 var(--sans); background: none; } .nav.itin .nv-cv:hover, .nav.itin .nv-cv:focus-visible { background: var(--ink); color: var(--bg); }
/* AX case studies on the AI workflow page */
.bl-ax-t { display: block; font: 600 20px/1.25 var(--display); color: var(--ink); }
.bl-sig { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.bl-sig li { padding: 6px 10px; border-radius: 8px; background: var(--card); border: 1px solid var(--line); font-size: 13px; line-height: 1.3; color: var(--ink); }
.bl-open { align-self: flex-start; margin-top: 8px; border: 0; cursor: pointer; }
.ax-sig { padding-left: 1.2em; }
.ax-sig li::marker { color: var(--terra-ink); }
.ax-ev { display: flex; flex-wrap: wrap; gap: 8px; }

/* One Case studies page: product + agents together */
.cs-filter { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: -16px 0 28px; }
.cs-filter button { min-height: 36px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); color: var(--ink); font: 600 13px/1 var(--sans); cursor: pointer; }
.cs-filter button:hover, .cs-filter button:focus-visible { border-color: var(--ink); }
.cs-filter button[aria-pressed="true"] { background: var(--action-bg); border-color: var(--action-bg); color: var(--action-fg); }
.work-grid > .tile[hidden] { display: none; }
.cs-built { position: relative; z-index: 2; display: block; margin-top: 10px; font-size: 13px; line-height: 1.4; color: var(--ink); }
.cs-built-l { font: 700 12px/1 var(--sans); letter-spacing: 1.2px; text-transform: uppercase; color: var(--muted); margin-right: 4px; }
.site-t { display: flex; flex-direction: column; gap: 6px; cursor: pointer; }
.site-t .cs-read { margin-top: auto; font-weight: 700; font-size: 15px; color: var(--terra-ink); }
.site-t:hover .cs-read, .site-t:focus-visible .cs-read { text-decoration: underline; text-underline-offset: 3px; }
.fold .bl-methods-h { display: none; }
.cs-ax { margin-top: 18px; padding: 18px 20px; border-radius: 16px; background: var(--tile); border: 1px solid var(--line); }
.cs-ax-plat { margin: 0 0 4px; font: 700 12px/1 var(--sans); letter-spacing: 1.4px; text-transform: uppercase; color: var(--terra-ink); }
.cs-ax h4 { margin: 0 0 8px; font: 600 19px/1.25 var(--display); }
.cs-ax p { margin: 0 0 8px; }
.cs-ax ul { margin: 0 0 8px; }
.cs-ax-h { font-size: 15px; }

/* Case studies: every project gets the same card */
.work-grid { display: grid !important; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); grid-auto-rows: auto; gap: 24px; }
.cs-card { display: flex; flex-direction: column; border-radius: 24px; overflow: hidden; background: var(--tile); border: 1px solid var(--line); color: var(--ink); cursor: pointer; transition: transform .35s var(--spring), border-color .2s; }
.cs-card:hover, .cs-card:focus-visible { transform: translateY(-4px); border-color: var(--ink); }
.cs-card:focus-visible { outline: 2px solid var(--terra-ink); outline-offset: 3px; }
.cs-media { position: relative; display: grid; place-items: center; aspect-ratio: 16 / 10; background: var(--tile-2); overflow: hidden; }
.cs-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cs-media img.fit-phone { width: auto; height: 88%; object-fit: contain; border-radius: 14px; box-shadow: 0 10px 24px -10px rgba(16, 27, 61, .35); }
.cs-ticket { display: grid; gap: 6px; justify-items: center; padding: 22px 34px; border-radius: 14px; background: #101b3d; color: #faf7f2; text-align: center; box-shadow: 0 12px 26px -12px rgba(16, 27, 61, .5); }
.cs-ticket em { font: 700 12px/1 var(--sans); font-style: normal; letter-spacing: 1.4px; text-transform: uppercase; color: #f0c9b5; }
.cs-ticket b { font: 600 26px/1.1 var(--display); }
.cs-ticket small { font-size: 13px; color: #e8dfd2; }
.cs-body { display: flex; flex-direction: column; gap: 8px; flex: 1; padding: 22px 24px 24px; }
.cs-kind { font: 700 12px/1 var(--sans); letter-spacing: 1.4px; text-transform: uppercase; color: var(--muted); }
.cs-title { font: 600 24px/1.15 var(--display); }
.cs-line { font-size: 15px; line-height: 1.5; color: var(--muted); }
.cs-read { margin-top: auto; padding-top: 8px; font-weight: 700; font-size: 15px; color: var(--terra-ink); }
.cs-card:hover .cs-read, .cs-card:focus-visible .cs-read { text-decoration: underline; text-underline-offset: 3px; }
.cs-media img.fit-phone { position: absolute; top: 6%; left: 50%; height: 88%; width: auto; max-width: none; transform: translateX(-50%); }

/* ═════════════ Case studies: immersive device mockups (hover or focus swaps the screen) ═════════════ */
.work-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
.cs-feat { grid-column: 1 / -1; flex-direction: row; }
.cs-feat .cs-media { flex: 1.35; aspect-ratio: auto; min-height: 340px; }
.cs-feat .cs-body { flex: 1; justify-content: center; padding: 40px; }
.cs-feat .cs-title { font-size: 34px; }
.cs-apps { font-size: 14px; line-height: 1.5; color: var(--ink); }
.cs-media { aspect-ratio: 4 / 3; perspective: 1200px; background: radial-gradient(120% 90% at 50% 100%, color-mix(in srgb, var(--mc, var(--terra)) 16%, var(--tile-2)), var(--tile-2)); }
.cs-draft { cursor: default; }
.cs-draft .cs-read { color: var(--muted); }
/* the phone */
.mk-phone { position: relative; width: 44%; max-width: 210px; aspect-ratio: 9 / 19; border-radius: 30px; padding: 8px; background: linear-gradient(145deg, #3a3d44, #16171b 45%, #2c2e33); box-shadow: 0 24px 40px -18px rgba(16, 27, 61, .55); transform: rotateX(8deg) rotateY(-12deg) rotateZ(2deg); transition: transform .6s var(--spring), box-shadow .4s; }
.mk-phone::before { content: ""; position: absolute; top: 14px; left: 50%; width: 30%; height: 12px; border-radius: 8px; background: #0b0c0e; transform: translateX(-50%); z-index: 3; }
.mk-screen { position: relative; display: block; width: 100%; height: 100%; border-radius: 23px; overflow: hidden; background: #faf7f2; }
.mk-s { position: absolute; inset: 0; display: flex; flex-direction: column; gap: 7px; padding: 34px 14px 14px; color: #1c1a17; transition: transform .6s var(--ease), opacity .45s; }
.mk-s2 { transform: translateY(100%); opacity: 0; background: #faf7f2; }
.cs-card:hover .mk-s1, .cs-card:focus-visible .mk-s1 { transform: translateY(-18%); opacity: 0; }
.cs-card:hover .mk-s2, .cs-card:focus-visible .mk-s2 { transform: none; opacity: 1; }
.cs-card:hover .mk-phone, .cs-card:focus-visible .mk-phone { transform: rotateX(0) rotateY(0) rotateZ(0) translateY(-8px) scale(1.05); box-shadow: 0 34px 50px -18px rgba(16, 27, 61, .6); }
.mk-shot { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; }
.mk-s1:has(.mk-shot) { padding: 0; }
.mk-eb { font: 700 8px/1 var(--sans); font-style: normal; letter-spacing: 1px; text-transform: uppercase; color: var(--ma, #b85c38); }
.mk-h { font: 600 15px/1.15 var(--display); }
.mk-big { font: 600 64px/.9 var(--display); color: var(--mc); }
.mk-sub { font-size: 8.5px; font-style: normal; color: #6b6259; }
.mk-card { display: grid; gap: 5px; margin-top: 6px; padding: 9px; border-radius: 10px; border: 1px solid #e5dcd0; background: #fff; }
.mk-bar { height: 4px; border-radius: 2px; background: #efe8de; } .mk-bar i { display: block; height: 100%; border-radius: 2px; background: linear-gradient(90deg, var(--mc), var(--ma)); }
.mk-row { display: flex; align-items: center; gap: 7px; padding: 7px 8px; border-radius: 10px; background: #fff; border: 1px solid #efe8de; font-size: 9.5px; font-weight: 600; }
.mk-dot { flex: none; display: grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; background: var(--d); color: #faf7f2; font: 700 8px/1 var(--sans); font-style: normal; }
.mk-sw { display: flex; gap: 3px; margin-left: auto; } .mk-sw i { width: 12px; height: 16px; border-radius: 3px; background: color-mix(in srgb, var(--mc) 30%, #efe8de); }
.mk-sw i:nth-child(2) { background: color-mix(in srgb, var(--ma) 40%, #efe8de); }
.mk-crate { position: relative; margin: 14px auto 0; width: 80%; aspect-ratio: 4 / 3; border: 3px solid var(--mc); border-radius: 10px; display: flex; justify-content: space-evenly; align-items: stretch; padding: 6px; }
.mk-crate i { width: 3px; border-radius: 2px; background: var(--mc); opacity: .55; }
/* the company dashboard */
.mk-dash { position: relative; width: 82%; aspect-ratio: 16 / 10; border-radius: 16px; overflow: hidden; background: #faf7f2; border: 1px solid #e5dcd0; box-shadow: 0 28px 50px -24px rgba(16, 27, 61, .5); transform: rotateX(10deg) rotateY(-8deg); transition: transform .6s var(--spring); display: flex; flex-direction: column; --ma: #b85c38; }
.cs-card:hover .mk-dash, .cs-card:focus-visible .mk-dash { transform: none; }
.mk-bar-top { display: flex; align-items: center; gap: 5px; padding: 9px 12px; background: #101b3d; }
.mk-bar-top i { width: 8px; height: 8px; border-radius: 50%; background: #faf7f2; opacity: .5; }
.mk-bar-top em { margin-left: 8px; font: 600 10px/1 var(--sans); font-style: normal; color: #faf7f2; }
.mk-dash .mk-screen { flex: 1; border-radius: 0; }
.mk-dash .mk-s { padding: 18px 22px; gap: 9px; }
.mk-dash .mk-h { font-size: 20px; } .mk-dash .mk-eb { font-size: 10px; } .mk-dash .mk-row { font-size: 12px; padding: 8px 10px; }
.mk-avs { display: flex; align-items: center; } .mk-avs img { width: 30px; height: 30px; border-radius: 50%; border: 2px solid #faf7f2; margin-right: -8px; background: #efe8de; }
.mk-avs em { margin-left: 14px; font: 700 12px/1 var(--sans); font-style: normal; color: #6b6259; }
.mk-org { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.mk-org > span { display: grid; gap: 4px; padding: 10px 12px; border-radius: 10px; background: #fff; border: 1px solid #efe8de; }
.mk-org b { font: 600 13px/1.2 var(--display); } .mk-org i { font-size: 10px; font-style: normal; color: #6b6259; line-height: 1.4; }
.mk-org .mk-you { background: #101b3d; border-color: #101b3d; } .mk-org .mk-you b, .mk-org .mk-you i { color: #faf7f2; }
/* motion off: swap instantly, no tilt */
.still .mk-phone, .still .mk-dash, .still .mk-s { transition: none; }
.still .mk-phone, .still .mk-dash { transform: none; }
/* enterprise band */
.cs-ent { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 32px; margin: 28px 0 0; padding: 28px 32px; border-radius: 24px; background: var(--tile); border: 1px solid var(--line); }
.cs-ent > div:first-child { flex: 1 1 420px; }
.cs-ent-h { margin: 6px 0 6px; font: 600 26px/1.15 var(--display); }
.cs-ent-p { margin: 0; max-width: 60ch; font-size: 15px; line-height: 1.5; color: var(--muted); }
.cs-ent-go { display: flex; flex-wrap: wrap; gap: 10px; }
.cs-ent-go button { cursor: pointer; border: 0; }
@media (max-width: 800px) {
  .work-grid { grid-template-columns: minmax(0, 1fr) !important; }
  .cs-feat { flex-direction: column; } .cs-feat .cs-media { min-height: 0; aspect-ratio: 4 / 3; } .cs-feat .cs-body { padding: 22px 24px 24px; } .cs-feat .cs-title { font-size: 26px; }
  .mk-dash .mk-h { font-size: 15px; } .mk-dash .mk-s { padding: 12px 14px; gap: 6px; } .mk-org i { display: none; }
}
.cs-card.mk-alt .mk-s1 { transform: translateY(-18%); opacity: 0; }
.cs-card.mk-alt .mk-s2 { transform: none; opacity: 1; }
.cs-card.mk-alt .mk-phone, .cs-card.mk-alt .mk-dash { transform: none; }
.mk-phone { width: auto; height: 86%; max-width: none; }
.mk-shot { object-fit: contain; object-position: top center; background: #f7f2e8; }
.mk-s1:has(.mk-shot) { background: #f7f2e8; padding-top: 28px; }
.mk-s1:has(.mk-shot) .mk-shot { top: 28px; height: calc(100% - 28px); }
.mk-screen::after { content: ""; position: absolute; left: 50%; bottom: 7px; width: 34%; height: 4px; border-radius: 2px; background: #1c1a17; opacity: .25; transform: translateX(-50%); z-index: 3; }
.mk-dash .mk-screen::after { display: none; }
.cs-media img.mk-shot { object-fit: contain; object-position: top center; }

/* ═════════════ Round of 5 fixes: sliders, Speaking, About, sitemap ═════════════ */
/* card phones that flip through real screens */
.mk-roll .mk-screen { background: #faf7f2; }
.mk-slide { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top center; opacity: 0; transform: scale(1.04); transition: opacity .45s var(--ease), transform .6s var(--ease); }
.mk-slide.on { opacity: 1; transform: none; }
.mk-dots { position: absolute; left: 50%; bottom: -16px; display: flex; gap: 4px; transform: translateX(-50%); }
.mk-dots i { width: 5px; height: 5px; border-radius: 50%; background: color-mix(in srgb, var(--ink) 25%, transparent); transition: width .3s, background .3s; }
.mk-dots i.on { width: 14px; border-radius: 3px; background: var(--terra-ink); }
.still .mk-slide { transition: none; }
/* case study screens: a horizontal slider */
.shot-slider { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 2px 12px; }
.shot-slider:focus-visible { outline: 2px solid var(--terra-ink); outline-offset: 4px; border-radius: 12px; }
.shot { flex: 0 0 auto; width: 210px; margin: 0; scroll-snap-align: start; }
.shot.wide { width: 440px; }
.shot img { width: 100%; border-radius: 16px; border: 1px solid var(--line); display: block; background: #fff; }
.shot figcaption { margin-top: 8px; font-size: 13px; font-weight: 600; color: var(--muted); }
.shot-ctrl { display: flex; gap: 8px; justify-content: flex-end; }
.shot-ctrl button { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: var(--card); color: var(--ink); font: 600 20px/1 var(--sans); cursor: pointer; }
.shot-ctrl button:hover, .shot-ctrl button:focus-visible { border-color: var(--ink); }
/* case study team roster */
.cs-team { list-style: none; margin: 12px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px; }
.cs-team li { display: flex; gap: 10px; align-items: flex-start; padding: 12px; border-radius: 14px; background: var(--tile); border: 1px solid var(--line); }
.cs-team li > img, .cs-team li > i { flex: none; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--tile-2); font: 700 14px/1 var(--sans); font-style: normal; color: var(--ink); }
.cs-team li.me { background: var(--action-bg); border-color: var(--action-bg); color: var(--action-fg); }
.cs-team li.me > i { background: var(--action-fg); color: var(--action-bg); }
.cs-team b { display: block; font-size: 15px; }
.cs-team span > span { display: block; font-size: 13px; line-height: 1.4; color: var(--muted); }
.cs-team li.me span > span { color: color-mix(in srgb, var(--action-fg) 80%, var(--action-bg)); }
.cs-team a { display: inline-block; margin-top: 4px; font-size: 13px; font-weight: 700; color: var(--terra-ink); }
/* nav without ••• and theme: just the pages */
.topbar .nav.itin { padding-right: 6px; }
/* Speaking, condensed */
.sp-top { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 24px; }
.sp-proof { margin: 0; font-size: 15px; color: var(--muted); } .sp-proof b { font: 600 22px/1 var(--display); color: var(--ink); margin-right: 4px; }
.view[data-view="speaking"] .pg-head { margin-bottom: 28px; }
.sp-where { margin-top: 56px; }
.sp-h2 { margin: 0 0 16px; font: 600 clamp(26px, 2.4vw, 34px)/1.15 var(--display); }
.sp-h3 { margin: 4px 0 14px; font: 600 20px/1.2 var(--display); }
.sp-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.sp-col { padding: 24px; border-radius: 24px; background: var(--tile); border: 1px solid var(--line); }
.sp-col .sp-reel { margin: 0; border-radius: 16px; overflow: hidden; background: var(--tile-2); }
.sp-col .sp-reel video { width: 100%; display: block; aspect-ratio: 16 / 9; object-fit: contain; }
.sp-col .sp-reel figcaption { padding: 8px 12px; font-size: 13px; color: var(--muted); }
.sp-col .sess-grid { display: grid; gap: 10px; grid-template-columns: minmax(0, 1fr) !important; }
.sp-chan { display: flex; align-items: center; gap: 12px; margin-top: 12px; padding: 12px 14px; border-radius: 14px; border: 1px solid var(--line); background: var(--card); color: var(--ink); text-decoration: none; }
.sp-chan img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }
.sp-chan b { display: block; font-size: 15px; } .sp-chan span span { font-size: 13px; color: var(--muted); }
.sp-chan em { margin-left: auto; font-style: normal; font-weight: 700; color: var(--terra-ink); }
.sp-chan:hover, .sp-chan:focus-visible { border-color: var(--ink); }
.view[data-view="speaking"] .cs-ent { margin-top: 28px; }
.view[data-view="speaking"] .more-dest { margin-top: 16px; }
/* About */
.ab2-top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; align-items: start; }
.ab2-bio .hm-lede + .hm-lede { margin-top: 12px; }
.ab2-top .map-t { min-height: 420px; }
.ab2-sec { margin-top: 64px; }
.ab2-lede { margin: -6px 0 18px; max-width: 60ch; font-size: 16px; color: var(--muted); }
.ab2-prof { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.ab2-card { display: flex; flex-direction: column; gap: 6px; padding: 22px; border-radius: 20px; background: var(--tile); border: 1px solid var(--line); color: var(--ink); text-decoration: none; transition: transform .3s var(--spring), border-color .2s; }
.ab2-card:hover, .ab2-card:focus-visible { transform: translateY(-3px); border-color: var(--ink); }
.ab2-card b { font: 600 20px/1.2 var(--display); }
.ab2-big { font: 600 40px/1 var(--display) !important; }
.ab2-big span { font-size: 18px; color: #b8860b; letter-spacing: 1px; }
.ab2-sub { font-size: 14px; line-height: 1.45; color: var(--muted); }
.ab2-rev { grid-row: span 2; }
.ab2-quotes { display: grid; gap: 12px; margin-top: 10px; }
.ab2-q q { display: block; font-size: 15px; line-height: 1.45; color: var(--ink); }
.ab2-q small { display: block; margin-top: 4px; font-size: 12px; color: var(--muted); }
.ab2-art img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 12px; margin-bottom: 6px; }
.ab2-pics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.ab2-pics figure { margin: 0; }
.ab2-pics img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 20px; display: block; transition: transform .4s var(--spring); }
.ab2-pics figure:hover img { transform: rotate(-1.5deg) scale(1.02); }
.ab2-pics figcaption { margin-top: 8px; font-size: 14px; color: var(--muted); }
.ab2-books { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.ab2-book { display: flex; gap: 16px; padding: 18px; border-radius: 20px; background: var(--tile); border: 1px solid var(--line); }
.ab2-book img { width: 76px; height: 114px; object-fit: cover; border-radius: 6px; box-shadow: 0 8px 16px -8px rgba(16, 27, 61, .4); flex: none; }
.ab2-book b { display: block; font: 600 18px/1.2 var(--display); }
.ab2-about { display: block; margin-top: 6px; font-size: 14px; line-height: 1.45; }
.ab2-book a { display: inline-block; margin-top: 8px; font-size: 13px; font-weight: 700; color: var(--terra-ink); }
.ab2-marquee { overflow: hidden; border-radius: 20px; background: var(--tile); border: 1px solid var(--line); -webkit-mask: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.ab2-track { display: flex; width: max-content; animation: abScroll 60s linear infinite; }
.ab2-marquee:hover .ab2-track, .ab2-marquee:focus-within .ab2-track, .still .ab2-track { animation-play-state: paused; }
.ab2-track ul { list-style: none; margin: 0; padding: 16px 8px; display: flex; gap: 12px; }
.ab2-cred { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-radius: 14px; background: var(--card); border: 1px solid var(--line); white-space: nowrap; }
.ab2-cred img { width: 40px; height: 40px; object-fit: contain; }
.ab2-cred > i { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; border: 2px solid var(--terra); font: 700 10px/1 var(--sans); font-style: normal; color: var(--terra-ink); }
.ab2-cred b { display: block; font-size: 14px; } .ab2-cred span span { font-size: 12px; color: var(--muted); }
.ab2-cred a { font-size: 12px; font-weight: 700; color: var(--terra-ink); }
@keyframes abScroll { to { transform: translateX(-50%); } }
.ab2-split { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 32px; }
.ab2-exp ol { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.ab2-exp li { padding: 14px 0; border-bottom: 1px solid var(--line); }
.ab2-exp li b { display: block; font-size: 16px; } .ab2-exp li span { display: block; font-size: 14px; color: var(--muted); }
.ab2-exp .hid { position: static !important; width: auto !important; height: auto !important; clip: auto !important; margin-top: 4px; color: var(--ink) !important; }
.ab2-facts { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ab2-facts li { padding: 14px 16px; border-radius: 14px; background: var(--tile); border: 1px solid var(--line); }
.ab2-facts b { display: block; font-size: 15px; } .ab2-facts span { font-size: 14px; color: var(--muted); }
.view[data-view="about"] .cs-ent { margin-top: 56px; }
.view[data-view="about"] .cs-ent-h { font-size: 22px; max-width: 34ch; }
/* sitemap */
.smap { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.smap h2 { margin: 0 0 10px; font: 700 12px/1 var(--sans); letter-spacing: 1.4px; text-transform: uppercase; color: var(--muted); }
.smap ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.smap a, .smap button { font-size: 16px; color: var(--ink); background: none; border: 0; padding: 0; cursor: pointer; text-align: left; }
.smap a:hover, .smap button:hover { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 900px) {
  .sp-cols, .ab2-top, .ab2-split, .ab2-books { grid-template-columns: minmax(0, 1fr); }
  .ab2-prof, .ab2-pics { grid-template-columns: minmax(0, 1fr); } .ab2-rev { grid-row: auto; }
  .smap { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .shot { width: 160px; } .shot.wide { width: 300px; }
}
.ab2-top .map-t { grid-column: auto !important; grid-row: auto !important; }
.ab2-prof { grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: auto; }
.cs-team li.me a { color: var(--action-fg); }
.sp-lens { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 8px; }
.sp-lens li { display: flex; align-items: center; gap: 10px; font-size: 15px; }
.sp-lens b { display: grid; place-items: center; width: 34px; height: 24px; border-radius: 6px; background: var(--action-bg); color: var(--action-fg); font: 700 12px/1 var(--sans); }
.view[data-view="speaking"] .talk-hint { margin-top: 8px; }
.sp-col .sp-reel figcaption { background: var(--tile-2); color: var(--ink); }
.ab2-book a, .ab2-cred a { display: inline-flex; align-items: center; min-height: 28px; }

/* ═════════════ marco-style layout: Home bento · project page · full case study ═════════════ */
.bx-hint { display: flex; justify-content: flex-end; align-items: center; gap: 6px; margin: 0 8px 12px; font-size: 14px; color: var(--muted); }
.bx-hint svg { width: 12px; height: 12px; fill: var(--muted); }
.bx { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 300px; gap: 22px; }
.bx-t { position: relative; overflow: hidden; border-radius: 34px; background: var(--tile); padding: 26px; display: flex; flex-direction: column; transition: transform .45s var(--spring), box-shadow .3s; }
.bx-2x2 { grid-column: span 2; grid-row: span 2; } .bx-1x2 { grid-row: span 2; } .bx-2x1 { grid-column: span 2; }
.bx-lbl { margin: 0 0 12px; font: 700 12px/1 var(--sans); letter-spacing: 1.4px; text-transform: uppercase; color: var(--muted); }
.bx-go { position: absolute; left: 20px; bottom: 20px; z-index: 5; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; background: color-mix(in srgb, var(--card) 88%, transparent); border: 1px solid var(--line); color: var(--ink); transition: transform .35s var(--spring), background .2s; }
.bx-go svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; }
.bx-t:hover .bx-go, .bx-go:focus-visible { transform: scale(1.1) rotate(8deg); background: var(--action-bg); color: var(--action-fg); }
/* the statement card */
.bx-say { padding: 44px 44px 36px; }
.bx-say h1 { margin: 0; font: 600 clamp(28px, 2.6vw, 40px)/1.15 var(--display); color: var(--muted); text-wrap: balance; }
.bx-say h1 b { color: var(--ink); font-weight: inherit; }
.bx-say hr { width: 100%; margin: 26px 0; border: 0; border-top: 1px solid var(--line); }
.bx-lines { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.bx-lines li { font-size: clamp(17px, 1.35vw, 21px); line-height: 1.45; color: color-mix(in srgb, var(--ink) 72%, var(--tile)); }
.bx-lines sup, .bx-foot sup { color: var(--terra-ink); font-weight: 700; }
.bx-foot { margin: auto 0 0; padding-top: 24px; font-size: 14px; color: var(--muted); }
/* phones that flip through real screens */
.bx-phone { align-items: center; justify-content: center; padding-top: 22px; }
.bx-phone .bx-lbl { align-self: flex-start; }
.bx-dev { position: relative; flex: 1; min-height: 0; aspect-ratio: 9 / 19; max-width: 100%; border-radius: 34px; padding: 8px; background: linear-gradient(145deg, #3a3d44, #16171b 45%, #2c2e33); box-shadow: 0 30px 44px -24px rgba(16, 27, 61, .6); transform: rotate(-6deg) translateY(18px); transition: transform .6s var(--spring); }
.bx-scr { position: relative; display: block; width: 100%; height: 100%; border-radius: 27px; overflow: hidden; background: #faf7f2; }
.bx-scr img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; opacity: 0; transform: translateY(8%); transition: opacity .4s var(--ease), transform .5s var(--ease); }
.bx-scr img.on { opacity: 1; transform: none; }
.bx-phone:hover .bx-dev, .bx-phone:focus-within .bx-dev { transform: rotate(0) translateY(0) scale(1.03); }
/* latest + format toggle */
.bx-latest .hm-hill { font-size: clamp(19px, 1.6vw, 24px); min-height: 2.6em; }
.bx-latest .hm-fmt { margin-top: auto; }
/* agent team: a hand of cards that fans out on hover (z-layered) */
.bx-deck { list-style: none; margin: auto 0 0 70px; padding: 0; position: relative; height: 170px; }
.bx-deck li { position: absolute; bottom: 0; left: calc(var(--i) * 26px); width: 180px; height: 150px; display: flex; flex-direction: column; justify-content: flex-end; gap: 4px; padding: 16px; border-radius: 18px; background: var(--card); border: 1px solid var(--line); box-shadow: 0 10px 22px -14px rgba(16, 27, 61, .4); z-index: var(--i); transform: rotate(calc((var(--i) - 2) * 2deg)); transition: transform .5s var(--spring), left .5s var(--spring); }
.bx-deck li b { font: 600 18px/1.1 var(--display); } .bx-deck li span { font-size: 13px; color: var(--muted); }
.bx-deck li.me { background: var(--action-bg); color: var(--action-fg); border-color: var(--action-bg); } .bx-deck li.me span { color: color-mix(in srgb, var(--action-fg) 80%, var(--action-bg)); }
.bx-team:hover .bx-deck li, .bx-team:focus-within .bx-deck li { left: calc(var(--i) * 118px); transform: rotate(calc((var(--i) - 2) * 3deg)) translateY(calc(var(--i) * -3px)); }
.bx-deck li:hover { transform: translateY(-18px) rotate(0) !important; z-index: 9; }
/* passport stamps: lift on hover, thunk down on click */
.bx-pass { position: relative; flex: 1; display: flex; align-items: center; justify-content: center; gap: 0; }
.bx-stamp.stamp { margin: 0 -10px; transform: rotate(var(--r)) scale(.78); transition: transform .45s var(--spring), filter .3s; z-index: 1; }
.bx-stamp.stamp:hover, .bx-stamp.stamp:focus-visible { transform: rotate(0) scale(.92) translateY(-12px); z-index: 5; filter: drop-shadow(0 14px 16px rgba(16, 27, 61, .25)); }
.bx-stamp.thunk { animation: bxThunk .5s var(--spring); }
@keyframes bxThunk { 0% { transform: rotate(0) scale(1.1) translateY(-24px); } 55% { transform: rotate(var(--r)) scale(.72); } 100% { transform: rotate(var(--r)) scale(.8); } }
/* company dashboard */
.bx-dash { flex: 1; margin: 0 -8px -60px 70px; border-radius: 16px 16px 0 0; background: var(--card); border: 1px solid var(--line); box-shadow: 0 24px 40px -26px rgba(16, 27, 61, .5); display: flex; flex-direction: column; transform: translateY(10px) rotate(-1.5deg); transition: transform .6s var(--spring); }
.bx-dt:hover .bx-dash, .bx-dt:focus-within .bx-dash { transform: translateY(-6px) rotate(0); }
.bx-dash-bar { display: flex; align-items: center; gap: 5px; padding: 10px 14px; border-radius: 16px 16px 0 0; background: #101b3d; }
.bx-dash-bar i { width: 8px; height: 8px; border-radius: 50%; background: #faf7f2; opacity: .5; } .bx-dash-bar em { margin-left: 8px; font: 600 12px/1 var(--sans); font-style: normal; color: #faf7f2; }
.bx-avs { display: flex; align-items: center; padding: 14px 16px 6px; } .bx-avs img { width: 34px; height: 34px; border-radius: 50%; border: 2px solid var(--card); margin-right: -9px; background: var(--tile-2); } .bx-avs em { margin-left: 16px; font: 700 13px/1 var(--sans); font-style: normal; color: var(--muted); }
.bx-dash-rows { display: grid; gap: 6px; padding: 6px 16px 16px; } .bx-dash-rows span { padding: 8px 10px; border-radius: 10px; background: var(--tile); font-size: 13px; }
/* small tiles */
.bx-big { font: 600 54px/1 var(--display); color: var(--ink); } .bx-big span { color: #b8860b; font-size: 34px; }
.bx-sub { margin: 10px 0 0; font-size: 15px; line-height: 1.45; color: var(--muted); }
.bx-q { margin: 12px 0 0; font-size: 15px; line-height: 1.45; } .bx-q small { display: block; margin-top: 6px; font-size: 12px; color: var(--muted); }
.bx-pic { padding: 0; } .bx-pic img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); } .bx-pic:hover img { transform: scale(1.05); }
.bx-num .bx-big, .bx-rev .bx-big { margin-top: 6px; }
.still .bx-t, .still .bx-dev, .still .bx-deck li, .still .bx-stamp, .still .bx-dash, .still .bx-scr img, .still .bx-pic img { transition: none; animation: none !important; }
/* project page (level 2) */
.pj { max-width: 1110px; margin: 0 auto; }
.pj-head { padding: 28px 0 22px; border-bottom: 1px solid var(--line); }
.pj-back { display: inline-flex; align-items: center; min-height: 32px; margin-bottom: 14px; font-size: 14px; font-weight: 700; color: var(--muted); text-decoration: none; }
.pj-back:hover, .pj-back:focus-visible { color: var(--ink); }
.pj-head h1, .cz-head h1 { margin: 0; font: 600 clamp(38px, 4vw, 58px)/1.05 var(--display); letter-spacing: -.5px; }
.pj-sub { margin: 8px 0 0; font-size: 20px; color: var(--muted); }
.pj-body { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 48px; padding: 36px 0 12px; }
.pj-meta { margin: 0; display: grid; gap: 22px; align-content: start; }
.pj-meta dt, .pj-desc h2 { margin: 0 0 8px; font: 700 12px/1 var(--sans); letter-spacing: 1.2px; text-transform: uppercase; color: var(--muted); }
.pj-meta dd { margin: 0; font-size: 16px; line-height: 1.45; }
.pj-desc h2 { margin-top: 26px; } .pj-desc h2:first-child { margin-top: 0; }
.pj-desc p { margin: 0 0 12px; max-width: 62ch; font-size: 18px; line-height: 1.7; }
.pj-note { color: var(--muted); font-size: 16px !important; }
.pj-btns { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; margin-top: 26px; }
.pj-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 22px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--card); color: var(--ink); font-weight: 700; font-size: 16px; text-decoration: none; transition: border-color .2s, transform .3s var(--spring); }
.pj-btn svg { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.pj-btn:hover, .pj-btn:focus-visible { border-color: var(--ink); transform: translateY(-2px); }
.pj-main { background: var(--action-bg); color: var(--action-fg); border-color: var(--action-bg); }
.pj-hint { margin-top: 40px; }
.pj-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 300px; gap: 22px; margin: 0; }
.pj-shot { padding: 18px 18px 0; align-items: center; justify-content: flex-end; }
.pj-shot img { width: 78%; border-radius: 20px 20px 0 0; box-shadow: 0 20px 30px -18px rgba(16, 27, 61, .5); transform: translateY(12px) rotate(calc((var(--i) - 1.5) * 2deg)); transition: transform .5s var(--spring); }
.pj-shot:hover img { transform: translateY(-4px) rotate(0) scale(1.03); }
.pj-shot figcaption, .pj-wide figcaption { position: absolute; top: 18px; left: 22px; font: 700 12px/1 var(--sans); letter-spacing: 1.2px; text-transform: uppercase; color: var(--muted); }
.pj-wide { grid-column: span 2; padding: 50px 22px 0; justify-content: flex-end; } .pj-wide img { width: 100%; border-radius: 14px 14px 0 0; }
.pj-stat { justify-content: flex-end; }
.pj-team { grid-column: span 2; }
.pj-faces { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.pj-faces li { display: flex; align-items: center; gap: 8px; padding: 6px 12px 6px 6px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); font-size: 13px; }
.pj-faces i { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--tile-2); font: 700 12px/1 var(--sans); font-style: normal; }
.pj-faces b { font-weight: 700; }
/* full case study (level 3) */
.cz { max-width: 900px; margin: 0 auto; }
.cz-marq { overflow: hidden; margin: 0 calc(50% - 50vw) 36px; padding: 16px 0; background: var(--action-bg); color: var(--action-fg); }
.cz-marq div { display: flex; gap: 28px; width: max-content; animation: abScroll 40s linear infinite; font: 600 clamp(28px, 3vw, 44px)/1 var(--display); white-space: nowrap; }
.cz-marq i { font-style: normal; color: #d9a34f; }
.still .cz-marq div { animation: none; }
.cz-head { padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.cz-meta { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 16px; margin: 24px 0 0; }
.cz-meta dt { font: 700 12px/1 var(--sans); letter-spacing: 1.2px; text-transform: uppercase; color: var(--muted); } .cz-meta dd { margin: 6px 0 0; font-size: 15px; }
.cz-body .cs-block { margin-top: 44px; } .cz-body .cs-block h3 { font: 600 clamp(24px, 2.4vw, 32px)/1.2 var(--display); }
.cz-body p, .cz-body li { font-size: 17px; line-height: 1.65; }
.cz-body .shot { width: 260px; } .cz-body .shot.wide { width: 560px; }
.cz-end { margin: 56px 0 0; }
@media (max-width: 1100px) { .bx, .pj-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .pj-grid { margin: 0; } }
@media (max-width: 700px) {
  .bx, .pj-grid { grid-template-columns: minmax(0, 1fr); grid-auto-rows: auto; }
  .bx-2x2, .bx-1x2, .bx-2x1, .pj-wide, .pj-team { grid-column: auto; grid-row: auto; }
  .bx-t { min-height: 240px; } .bx-phone { min-height: 520px; } .bx-say { padding: 28px; }
  .bx-deck { margin-left: 0; } .bx-team:hover .bx-deck li { left: calc(var(--i) * 26px); }
  .pj-body { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .bx-pass { flex-wrap: wrap; } .bx-dash { margin-left: 0; }
}
.pj-grid figure { margin: 0; }
.pj-wide { padding-top: 48px; }
.bx-stamp.stamp { transform: rotate(var(--r)) scale(.62); margin: 0 -22px; }
.bx-stamp.stamp:hover, .bx-stamp.stamp:focus-visible { transform: rotate(0) scale(.8) translateY(-12px); }
@keyframes bxThunk { 0% { transform: rotate(0) scale(.95) translateY(-24px); } 55% { transform: rotate(var(--r)) scale(.58); } 100% { transform: rotate(var(--r)) scale(.62); } }
.bx-rev .bx-q { display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; margin-bottom: 56px; }
.bx-rev .bx-q small { display: none; }
.bx-num .bx-sub { margin-bottom: 56px; }
.bx-rev .bx-q { display: block; -webkit-line-clamp: unset; overflow: visible; margin-bottom: 56px; }
.bx-rev .bx-q small { display: block; }
.bx-qt { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.pj-shot { padding: 52px 18px 0; justify-content: flex-start; }
.pj-shot img { width: auto; height: 100%; max-width: 88%; object-fit: cover; object-position: top; }
.pj-shot figcaption, .pj-wide figcaption { z-index: 2; padding: 6px 10px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); }
.pj-wide { padding: 56px 22px 0; } .pj-wide img { height: 100%; object-fit: cover; object-position: top left; }
.cs-team a { display: inline-flex; align-items: center; min-height: 26px; }
.cz-body .cs-block h2 { margin: 0 0 12px; font: 600 clamp(24px, 2.4vw, 32px)/1.2 var(--display); }
.cz-body .cs-ax h3 { margin: 0 0 8px; font: 600 19px/1.25 var(--display); }

/* Home: a trip photo rises behind the hovered stamp */
.bx-snap { position: absolute; left: var(--x, 50%); bottom: 50%; z-index: 0; width: 180px; margin: 0; padding: 8px 8px 26px; background: #fff; border-radius: 6px; box-shadow: 0 16px 30px -14px rgba(16, 27, 61, .45); transform: translate(-50%, 40px) rotate(-4deg) scale(.7); opacity: 0; transition: transform .45s var(--spring), opacity .25s; pointer-events: none; }
.bx-snap.on { opacity: 1; transform: translate(-50%, 0) rotate(-4deg) scale(1); }
.bx-snap img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; border-radius: 2px; }
.bx-snap figcaption { position: absolute; left: 10px; bottom: 6px; font: 600 12px/1 var(--sans); color: #1c1a17; }
.bx-stamps { overflow: visible; } .bx-stamps .bx-pass { overflow: visible; }
.bx-stamp.stamp { position: relative; z-index: 2; }

/* Speaking: scannable talk cards */
.tk2 { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 22px; }
.tk2-card { display: flex; flex-direction: column; border-radius: 28px; background: var(--tile); border: 1px solid var(--line); overflow: hidden; outline: none; }
.tk2-card:focus-visible { outline: 2px solid var(--terra-ink); outline-offset: 3px; }
.tk2-art { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--tile-2); cursor: pointer; }
.tk2-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); filter: saturate(.2) brightness(1.1); opacity: .28; transition: opacity .45s var(--ease), transform .7s var(--ease), filter .45s; }
.tk2-cap { position: absolute; left: 14px; bottom: 14px; z-index: 3; padding: 6px 10px; border-radius: 999px; background: rgba(250, 247, 242, .92); color: #1c1a17; font: 600 12px/1 var(--sans); opacity: 0; transform: translateY(8px); transition: opacity .3s, transform .4s var(--spring); }
.tk2-stamp.stamp { position: absolute; left: 50%; top: 50%; z-index: 2; margin: 0; transform: translate(-50%, -50%) rotate(var(--r)) scale(.95); background: color-mix(in srgb, var(--tile) 80%, transparent); transition: transform .55s var(--spring), opacity .35s; }
/* hover / focus / tap: the stamp lifts off the page and the trip photo comes into color */
.tk2-card:hover .tk2-photo, .tk2-card:focus-within .tk2-photo, .tk2-art.peek .tk2-photo { opacity: 1; filter: none; transform: scale(1); }
.tk2-card:hover .tk2-stamp, .tk2-card:focus-within .tk2-stamp, .tk2-art.peek .tk2-stamp { transform: translate(calc(-50% + 34%), calc(-50% - 30%)) rotate(calc(var(--r) * -1.6)) scale(.62); }
.tk2-card:hover .tk2-cap, .tk2-card:focus-within .tk2-cap, .tk2-art.peek .tk2-cap { opacity: 1; transform: none; }
.tk2-body { display: flex; flex-direction: column; gap: 10px; flex: 1; padding: 22px 24px 24px; }
.tk2-meta { margin: 0; font: 700 12px/1.3 var(--sans); letter-spacing: 1.2px; text-transform: uppercase; color: var(--muted); }
.tk2-title { margin: 0; font: 600 22px/1.2 var(--display); text-wrap: balance; }
.tk2-hook { margin: 0; font-size: 16px; line-height: 1.45; color: var(--ink); }
.tk2-tags, .tk2-ws { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 0; }
.tk2-tags span { padding: 5px 10px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); font-size: 12px; font-weight: 600; }
.tk2-lens { display: grid; place-items: center; min-width: 34px; height: 24px; border-radius: 6px; background: var(--action-bg); color: var(--action-fg); font: 700 12px/1 var(--sans); }
.tk2-ws-l { margin-left: 4px; font-size: 13px; color: var(--muted); }
.tk2-more summary { display: inline-flex; align-items: center; min-height: 32px; cursor: pointer; font-weight: 700; font-size: 14px; color: var(--terra-ink); }
.tk2-beats { list-style: none; margin: 6px 0 0; padding: 0; display: grid; gap: 8px; }
.tk2-beats li { font-size: 14px; line-height: 1.45; } .tk2-beats b { display: block; font: 700 12px/1.4 var(--sans); letter-spacing: 1px; text-transform: uppercase; color: var(--muted); }
.tk2-best { margin: 10px 0 0; font-size: 13px; color: var(--muted); } .tk2-best b { color: var(--ink); margin-right: 4px; }
.tk2-book { margin-top: auto; min-height: 44px; }
.still .tk2-photo, .still .tk2-stamp, .still .tk2-cap, .still .bx-snap { transition: none; }

/* spotlight: hovering (or tabbing to) one card fades and grays the rest, so the one you're on invites the click */
.bx > .bx-t, .work-grid > *, .pj-grid > *, .tk2 > .tk2-card { transition: opacity .35s var(--ease), filter .35s var(--ease), transform .45s var(--spring); }
@media (hover: hover) {
  .bx:has(> .bx-t:hover) > .bx-t:not(:hover), .work-grid:has(> :hover) > :not(:hover),
  .pj-grid:has(> :hover) > :not(:hover), .tk2:has(> .tk2-card:hover) > .tk2-card:not(:hover) { opacity: .45; filter: grayscale(1); }
}
.bx:has(> .bx-t:focus-within) > .bx-t:not(:focus-within), .work-grid:has(> :focus-within) > :not(:focus-within),
.tk2:has(> .tk2-card:focus-within) > .tk2-card:not(:focus-within) { opacity: .55; filter: grayscale(1); }
.still .bx > .bx-t, .still .work-grid > *, .still .tk2 > .tk2-card { transition: none; }
.sp-talks-h { margin-top: 8px; } .sp-talks-h span { display: block; margin-top: 6px; font: 400 16px/1.4 var(--sans); color: var(--muted); }

/* Case studies: an asymmetric bento, so projects aren't all the same size */
@media (min-width: 901px) {
  .work-grid { grid-template-columns: repeat(6, minmax(0, 1fr)) !important; grid-auto-rows: 250px; gap: 22px; }
  .work-grid > .cs-card { min-height: 0; }
  .work-grid > [data-case="design-and-travel"] { grid-column: 1 / 5; grid-row: 1 / 3; }
  .work-grid > [data-case="bound-voyage"] { grid-column: 5 / 7; grid-row: 1 / 4; }
  .work-grid > [data-case="kaitchen"] { grid-column: 1 / 3; grid-row: 3 / 5; }
  .work-grid > [data-case="cr8-tr8n"] { grid-column: 3 / 5; grid-row: 3 / 5; }
  .work-grid > .cs-draft { grid-column: 5 / 7; grid-row: 4 / 5; flex-direction: row; }
  .work-grid .cs-media { flex: 1; min-height: 0; aspect-ratio: auto; }
  .work-grid .cs-body { flex: none; padding: 18px 22px 20px; gap: 6px; }
  .work-grid .cs-feat .cs-body { flex: 1; justify-content: center; }
  .work-grid > [data-case="bound-voyage"] .mk-phone { height: 90%; }
  .work-grid .cs-draft .cs-media { flex: 0 0 42%; } .work-grid .cs-draft .mk-phone { height: 84%; }
  .work-grid .cs-draft .cs-body { flex: 1; justify-content: center; }
  .work-grid .cs-line { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
}
@media (min-width: 901px) {
  .work-grid > [data-case="scene-and-simmer"] { grid-column: 1 / 4; grid-row: 5 / 7; flex-direction: row; }
  .work-grid > [data-case="scene-and-simmer"] .cs-media { flex: 0 0 48%; }
  .work-grid > [data-case="scene-and-simmer"] .cs-body { flex: 1; justify-content: center; }
  .work-grid > .cs-draft:last-child { grid-column: 4 / 7; grid-row: 5 / 7; }
  .work-grid > .cs-draft:last-child .cs-media { flex: 0 0 48%; }
}
@media (min-width: 901px) {
  .work-grid > [data-case="scene-and-simmer"] { grid-row: 5 / 6; }
  .work-grid > .cs-draft:last-child { grid-row: 5 / 6; flex-direction: row; }
  .work-grid > [data-case="scene-and-simmer"] .mk-phone, .work-grid > .cs-draft:last-child .mk-phone { height: 84%; }
  .work-grid > .cs-draft:last-child .cs-body { flex: 1; justify-content: center; }
}

/* ═════════════ About as a bento (main pages browse, sub-pages read) ═════════════ */
.ab3 { grid-auto-rows: 140px; grid-auto-flow: dense; }
.ab3 .bx-1x1, .ab3 .bx-2x1 { grid-row: span 2; } .ab3 .bx-2x2, .ab3 .bx-1x2 { grid-row: span 4; }
.ab3 .bx-say h1 { font-size: clamp(26px, 2.4vw, 36px); }
.ab3-ctas { display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto; padding-top: 20px; }
.ab3-ctas .pj-btn { min-height: 44px; padding: 0 18px; font-size: 15px; }
.bx-pic { margin: 0; } .ab3-head img { object-position: center 20%; }
.ab3-cap { position: absolute; left: 16px; bottom: 16px; padding: 6px 12px; border-radius: 999px; background: rgba(250, 247, 242, .92); color: #1c1a17; font: 600 13px/1 var(--sans); }
.ab3-map { padding: 22px; } .ab3-map .map { flex: 1; min-height: 0; width: 100%; }
.ab3-map .map-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; } .ab3-map .map-title { font-size: 18px; }
.ab3-map .map-info { position: absolute; left: 20px; bottom: 20px; }
/* logos: hover one and its result slides up */
.ab3-logos { list-style: none; margin: auto 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.ab3-logos li { position: relative; height: 150px; display: grid; place-items: center; border-radius: 18px; background: var(--card); border: 1px solid var(--line); overflow: hidden; outline: none; transition: transform .4s var(--spring); }
.ab3-logos img { max-width: 76%; max-height: 38px; transition: transform .45s var(--spring), opacity .3s; }
.ab3-logos span { position: absolute; inset: auto 0 0; padding: 10px; font-size: 12px; line-height: 1.35; color: var(--ink); background: var(--card); transform: translateY(101%); transition: transform .45s var(--spring); }
.ab3-logos b { display: block; font-size: 12px; }
.ab3-logos li:hover, .ab3-logos li:focus-visible { transform: translateY(-4px); } .ab3-logos li:focus-visible { outline: 2px solid var(--terra-ink); }
.ab3-logos li:hover img, .ab3-logos li:focus-visible img { transform: translateY(-34px) scale(.85); }
.ab3-logos li:hover span, .ab3-logos li:focus-visible span { transform: none; }
:root[data-theme="dark"] .ab3-logos img { filter: brightness(0) invert(.95); }
/* article */
.ab3-art { justify-content: flex-start; }
.ab3-art-t { max-width: 52%; font: 600 22px/1.2 var(--display); }
.ab3-art-img { position: absolute; right: -20px; bottom: -20px; width: 50%; border-radius: 16px; box-shadow: 0 20px 30px -16px rgba(16, 27, 61, .45); transform: rotate(-4deg); transition: transform .5s var(--spring); }
.ab3-art:hover .ab3-art-img { transform: rotate(0) translate(-10px, -10px) scale(1.04); }
/* audiobook shelf */
.ab3-shelf { display: flex; align-items: flex-end; gap: 0; margin-top: auto; padding-left: 10px; }
.ab3-cover { width: 92px; margin-left: -14px; padding: 0; border: 0; background: none; cursor: pointer; transform: rotate(calc((var(--i) - 1.5) * 4deg)); transition: transform .45s var(--spring); z-index: var(--i); }
.ab3-cover img { width: 100%; aspect-ratio: 2 / 3; object-fit: cover; border-radius: 6px; box-shadow: 0 12px 20px -10px rgba(16, 27, 61, .5); display: block; }
.ab3-cover:hover, .ab3-cover:focus-visible { transform: translateY(-18px) rotate(0) scale(1.08); z-index: 9; }
.ab3-cover:focus-visible { outline: 2px solid var(--terra-ink); outline-offset: 3px; border-radius: 6px; }
.ab3-book-note { margin: 12px 0 0; font-size: 14px; color: var(--muted); } .ab3-book-note b { color: var(--ink); } .ab3-book-note a { color: var(--terra-ink); font-weight: 700; }
/* off the clock: hover to flip through */
.ab3-flip { list-style: none; margin: 0; padding: 0; position: relative; flex: 1; }
.ab3-flip li { position: absolute; inset: 0; display: flex; flex-direction: column; gap: 4px; font-size: 14px; line-height: 1.4; color: var(--muted); opacity: 0; transform: translateY(10px); transition: opacity .35s, transform .45s var(--spring); }
.ab3-flip li span { font-size: 34px; } .ab3-flip li b { font: 600 20px/1.2 var(--display); color: var(--ink); }
.ab3-flip li:nth-child(1) { opacity: 1; transform: none; }
.ab3-fun:hover .ab3-flip li:nth-child(1), .ab3-fun:focus-within .ab3-flip li:nth-child(1) { animation: abFlip 6s infinite; }
.ab3-fun:hover .ab3-flip li:nth-child(2), .ab3-fun:focus-within .ab3-flip li:nth-child(2) { animation: abFlip 6s 2s infinite; }
.ab3-fun:hover .ab3-flip li:nth-child(3), .ab3-fun:focus-within .ab3-flip li:nth-child(3) { animation: abFlip 6s 4s infinite; }
@keyframes abFlip { 0%, 30% { opacity: 1; transform: none; } 36%, 100% { opacity: 0; transform: translateY(-10px); } }
.ab3-yt-t { font: 600 26px/1.15 var(--display); }
.ab3-cred { grid-column: 1 / -1; grid-row: span 1; padding: 16px 20px; justify-content: center; }
.ab3-cred .bx-lbl { margin-bottom: 8px; } .ab3-cred .ab2-marquee { border: 0; background: none; }
.ab3-cred .ab2-track ul { padding: 0; }
.ab3-look { background: var(--action-bg); color: var(--action-fg); } .ab3-look .bx-lbl { color: color-mix(in srgb, var(--action-fg) 75%, var(--action-bg)); }
.ab3-look-t { margin: 0; font: 600 clamp(20px, 1.8vw, 26px)/1.25 var(--display); max-width: 30ch; }
.still .ab3-logos *, .still .ab3-cover, .still .ab3-art-img { transition: none; } .still .ab3-flip li { animation: none !important; }
@media (max-width: 1100px) { .ab3-logos { grid-template-columns: repeat(2, minmax(0, 1fr)); } .ab3-logos li { height: 100px; } }
@media (max-width: 700px) { .ab3 { grid-auto-rows: auto; } .ab3 .bx-1x1, .ab3 .bx-2x1, .ab3 .bx-2x2, .ab3 .bx-1x2 { grid-row: auto; } .ab3-head { min-height: 420px; } .ab3-map { min-height: 380px; } .ab3-art-t { max-width: 100%; } .ab3-art-img { position: static; width: 100%; transform: none; margin-top: 12px; } .ab3-fun { min-height: 200px; } }
@media (min-width: 701px) { .ab3-look { grid-column: 1 / -1; grid-row: span 1; flex-direction: row; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 90px 22px 32px; } .ab3-look .bx-lbl { margin: 0; flex: none; } .ab3-look .bx-go { left: auto; right: 24px; top: 50%; bottom: auto; transform: translateY(-50%); } .ab3-look:hover .bx-go { transform: translateY(-50%) scale(1.1); } }
.ab3-yt::after { content: "▶"; position: absolute; right: 28px; bottom: 22px; width: 64px; height: 44px; display: grid; place-items: center; border-radius: 12px; background: #c4302b; color: #fff; font-size: 18px; transition: transform .4s var(--spring); }
.ab3-yt:hover::after { transform: scale(1.12) rotate(-4deg); }
@media (min-width: 701px) { .ab3-look { justify-content: flex-start; gap: 40px; } .ab3-look-t { max-width: 44ch; font-size: 22px; } }

/* spotlight, v2: only on the case study cards and talk cards, only while hovering or tabbing (never from a focused heading) */
.bx:has(> .bx-t:hover) > .bx-t:not(:hover), .pj-grid:has(> :hover) > :not(:hover),
.bx:has(> .bx-t:focus-within) > .bx-t:not(:focus-within), .work-grid:has(> :focus-within) > :not(:focus-within),
.tk2:has(> .tk2-card:focus-within) > .tk2-card:not(:focus-within) { opacity: 1; filter: none; }
@media (hover: hover) {
  .work-grid:has(> .cs-card:hover) > .cs-card:not(:hover), .tk2:has(> .tk2-card:hover) > .tk2-card:not(:hover) { opacity: .5; filter: grayscale(1); }
}
.work-grid:has(> .cs-card:focus-visible) > .cs-card:not(:focus-visible) { opacity: .55; filter: grayscale(1); }
.ab3-head img { object-position: center 12%; } @media (max-width: 700px) { .ab3-head { min-height: 320px; } }
.ab3-head img { object-position: center 6%; transform: scale(1.35); transform-origin: center 18%; } .ab3-head:hover img { transform: scale(1.4); }

/* ═════════════ Layered hovers (Home): 1 background · 2 prototype · 3 things drifting in · 4 text ═════════════ */
.lx > *:not(.lx-bg):not(.bx-go):not(.lx-float):not(.lx-txt) { position: relative; z-index: 1; }
.lx-bg { position: absolute; inset: 0; z-index: 0; opacity: 0; transform: scale(1.15); transition: opacity .5s var(--ease), transform .9s var(--ease); pointer-events: none; }
.lx-navy { background: radial-gradient(120% 90% at 100% 0%, color-mix(in srgb, #101b3d 22%, transparent), transparent 60%), radial-gradient(80% 70% at 0% 100%, color-mix(in srgb, #b85c38 16%, transparent), transparent 70%); }
.lx-terra { background: radial-gradient(110% 90% at 0% 0%, color-mix(in srgb, #b85c38 22%, transparent), transparent 60%), radial-gradient(70% 60% at 100% 100%, color-mix(in srgb, #d9a34f 18%, transparent), transparent 70%); }
.lx-gold { background: radial-gradient(110% 90% at 50% 0%, color-mix(in srgb, #d9a34f 26%, transparent), transparent 65%); }
.lx-green { background: radial-gradient(110% 90% at 100% 100%, color-mix(in srgb, #1f3a32 22%, transparent), transparent 60%), radial-gradient(60% 60% at 0% 0%, color-mix(in srgb, #d9a34f 16%, transparent), transparent 70%); }
.lx:hover .lx-bg, .lx:focus-within .lx-bg { opacity: 1; transform: none; }
.lx-float { position: absolute; inset: 0; z-index: 3; pointer-events: none; overflow: hidden; border-radius: inherit; }
.lx-float i { position: absolute; left: var(--x); top: 0; padding: 6px 11px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); box-shadow: 0 10px 20px -12px rgba(16, 27, 61, .45); font: 700 12px/1 var(--sans); font-style: normal; color: var(--ink); white-space: nowrap; opacity: 0; transform: translateY(-60px) rotate(0); }
.lx:hover .lx-float i, .lx:focus-within .lx-float i { animation: lxFall 2.4s cubic-bezier(.22, .9, .3, 1) both; animation-delay: calc(var(--i) * 140ms); }
@keyframes lxFall { 0% { opacity: 0; transform: translateY(-60px) rotate(0); } 18% { opacity: 1; } 60% { transform: translateY(calc(60px + var(--i) * 26px)) rotate(var(--r)); } 100% { opacity: 1; transform: translateY(calc(48px + var(--i) * 22px)) rotate(calc(var(--r) * .7)); } }
.lx-txt { position: absolute; right: 18px; bottom: 18px; left: 80px; z-index: 4; padding: 10px 14px; border-radius: 14px; background: var(--action-bg); color: var(--action-fg); font: 600 14px/1.35 var(--sans); opacity: 0; transform: translateY(16px); transition: opacity .3s .15s, transform .5s .15s var(--spring); pointer-events: none; }
.lx:hover .lx-txt, .lx:focus-within .lx-txt { opacity: 1; transform: none; }
/* 2 · the prototype: the briefing runs like a demo */
.bx-dash-rows span { position: relative; display: flex; align-items: center; gap: 8px; transition: background .3s; }
.dx-chk { flex: none; width: 16px; height: 16px; border-radius: 50%; border: 1.5px solid var(--line); background: var(--card); position: relative; }
.dx-chk::after { content: "✓"; position: absolute; inset: 0; display: grid; place-items: center; font: 700 10px/1 var(--sans); color: #fff; opacity: 0; }
.dx-pill { margin-left: auto; padding: 3px 8px; border-radius: 999px; background: #b85c38; color: #fff; font: 700 11px/1 var(--sans); font-style: normal; opacity: 0; }
.dx-toast { position: absolute; right: 16px; bottom: 16px; z-index: 2; display: flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 12px; background: #101b3d; color: #faf7f2; font-size: 12px; box-shadow: 0 12px 24px -12px rgba(16, 27, 61, .6); opacity: 0; transform: translateY(14px); }
.dx-toast img { width: 22px; height: 22px; border-radius: 50%; background: #faf7f2; } .dx-toast b { margin-right: 2px; }
.dx-cursor { position: absolute; left: 60%; top: 30%; z-index: 3; width: 18px; height: 18px; opacity: 0; background: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M1 1l9 4-4 1-1 4z' fill='%23101b3d' stroke='white' stroke-width='.8'/%3E%3C/svg%3E"); }
.bx-dash { position: relative; }
.bx-dt:hover .dx-cursor, .bx-dt:focus-within .dx-cursor { animation: dxCursor 2.6s var(--ease) both; }
.bx-dt:hover .bx-dash-rows span:nth-child(1), .bx-dt:focus-within .bx-dash-rows span:nth-child(1) { animation: dxRow .4s .5s both; }
.bx-dt:hover .bx-dash-rows span:nth-child(2), .bx-dt:focus-within .bx-dash-rows span:nth-child(2) { animation: dxRow .4s 1.1s both; }
.bx-dt:hover .bx-dash-rows span:nth-child(3), .bx-dt:focus-within .bx-dash-rows span:nth-child(3) { animation: dxRow .4s 1.7s both; }
.bx-dt:hover .bx-dash-rows span:nth-child(1) .dx-chk, .bx-dt:focus-within .bx-dash-rows span:nth-child(1) .dx-chk { animation: dxChk .3s .6s both; }
.bx-dt:hover .bx-dash-rows span:nth-child(2) .dx-chk, .bx-dt:focus-within .bx-dash-rows span:nth-child(2) .dx-chk { animation: dxChk .3s 1.2s both; }
.bx-dt:hover .bx-dash-rows span:nth-child(3) .dx-chk, .bx-dt:focus-within .bx-dash-rows span:nth-child(3) .dx-chk { animation: dxChk .3s 1.8s both; }
.bx-dt:hover .dx-chk::after, .bx-dt:focus-within .dx-chk::after { opacity: 1; transition: opacity .2s .6s; }
.bx-dt:hover .dx-pill, .bx-dt:focus-within .dx-pill { animation: dxPop .4s .7s var(--spring) both; }
.bx-dt:hover .dx-toast, .bx-dt:focus-within .dx-toast { animation: dxToast .5s 2s var(--spring) both; }
.bx-dt:hover .bx-avs img, .bx-dt:focus-within .bx-avs img { animation: dxBob .5s var(--spring) both; }
.bx-avs img:nth-child(2) { animation-delay: .08s !important; } .bx-avs img:nth-child(3) { animation-delay: .16s !important; } .bx-avs img:nth-child(4) { animation-delay: .24s !important; } .bx-avs img:nth-child(5) { animation-delay: .32s !important; }
@keyframes dxCursor { 0% { opacity: 0; left: 70%; top: 10%; } 15% { opacity: 1; } 30% { left: 20%; top: 42%; } 55% { left: 24%; top: 58%; } 80% { left: 26%; top: 74%; } 100% { opacity: 1; left: 80%; top: 86%; } }
@keyframes dxRow { 0% { background: var(--tile); } 50% { background: color-mix(in srgb, #1f3a32 14%, var(--tile)); } 100% { background: var(--tile); } }
@keyframes dxChk { to { background: #1f3a32; border-color: #1f3a32; transform: scale(1.1); } }
@keyframes dxPop { from { opacity: 0; transform: scale(.4); } to { opacity: 1; transform: none; } }
@keyframes dxToast { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes dxBob { 0% { transform: translateY(0); } 50% { transform: translateY(-8px); } 100% { transform: translateY(0); } }
/* the ↗ buttons: hovering one spotlights its tile and grays out the rest */
@media (hover: hover) { .bx:has(.bx-go:hover) > .bx-t:not(:has(.bx-go:hover)) { opacity: .45; filter: grayscale(1); } }
.bx:has(.bx-go:focus-visible) > .bx-t:not(:has(.bx-go:focus-visible)) { opacity: .5; filter: grayscale(1); }
.bx > .bx-t { transition: opacity .35s var(--ease), filter .35s var(--ease), transform .45s var(--spring); }
/* motion off: everything visible, nothing moves */
.still .lx-float, .still .dx-cursor { display: none; }
.still .lx *, .still .lx-bg, .still .lx-txt { animation: none !important; transition: none !important; }
@media (hover: none) { .lx-float, .lx-txt, .dx-cursor { display: none; } }
/* chips scatter across the upper part of the tile instead of stacking on the content */
.lx-float i { top: var(--y); transform: translate(-50%, -140%); }
@keyframes lxFall { 0% { opacity: 0; transform: translate(-50%, -260%) rotate(0); } 25% { opacity: 1; } 70% { transform: translate(-50%, 14%) rotate(var(--r)); } 100% { opacity: 1; transform: translate(-50%, 0) rotate(calc(var(--r) * .7)); } }
.bx-1x1 .lx-float i:nth-child(n+4) { display: none; }
.bx-1x1 .lx-float i { --y: 12% !important; }
.bx-1x1 .lx-float i:nth-child(1) { --x: 78% !important; } .bx-1x1 .lx-float i:nth-child(2) { --x: 56% !important; } .bx-1x1 .lx-float i:nth-child(3) { --x: 88% !important; }

/* build team: flip cards (front = role, back = does / doesn't / fun fact) */
.fc-grid { list-style: none; margin: 16px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px; }
.fc { position: relative; perspective: 1100px; }
.fc-in { position: relative; display: block; width: 100%; height: 270px; padding: 0; border: 0; background: none; color: inherit; font: inherit; text-align: left; cursor: pointer; transform-style: preserve-3d; transition: transform .7s var(--spring); }
.fc-in:focus-visible { outline: 2px solid var(--terra-ink); outline-offset: 4px; border-radius: 20px; }
.fc-face { position: absolute; inset: 0; display: flex; flex-direction: column; gap: 8px; padding: 20px; border-radius: 20px; border: 1px solid var(--line); background: var(--tile); -webkit-backface-visibility: hidden; backface-visibility: hidden; overflow: hidden; }
.fc-front > img, .fc-front > i { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--card); font: 700 16px/1 var(--sans); font-style: normal; }
.fc-front b { margin-top: auto; font: 600 22px/1.15 var(--display); } .fc-front > span { font-size: 14px; line-height: 1.4; color: var(--muted); }
.fc-front em { position: absolute; top: 20px; right: 20px; font: 700 12px/1 var(--sans); font-style: normal; color: var(--terra-ink); }
.fc-back { transform: rotateY(180deg); background: var(--card); gap: 12px; justify-content: center; }
.fc-back > span { font-size: 13.5px; line-height: 1.4; } .fc-back i { display: block; margin-bottom: 2px; font: 700 12px/1 var(--sans); font-style: normal; letter-spacing: 1.2px; text-transform: uppercase; color: var(--terra-ink); }
.fc.flip .fc-in { transform: rotateY(180deg); }
@media (hover: hover) { .fc:hover .fc-in { transform: rotateY(180deg); } .fc.flip:hover .fc-in { transform: rotateY(180deg); } }
.fc.me .fc-front { background: var(--action-bg); color: var(--action-fg); border-color: var(--action-bg); }
.fc.me .fc-front > span { color: color-mix(in srgb, var(--action-fg) 80%, var(--action-bg)); } .fc.me .fc-front em { color: var(--action-fg); }
.fc.me .fc-front > i { background: var(--action-fg); color: var(--action-bg); }
.fc-doc { display: inline-flex; align-items: center; min-height: 28px; margin-top: 8px; font-size: 13px; font-weight: 700; color: var(--terra-ink); }
.pj-origin { padding: 14px 18px; border-left: 3px solid var(--terra); background: var(--tile); border-radius: 0 12px 12px 0; font-style: italic; }
.still .fc-in { transition: none; }
.bx-stamps .lx-bg { transform: none; border-radius: inherit; }

/* ═════════════ Hover prototypes ═════════════ */
.px { isolation: isolate; }
.px > *:not(.px-bg):not(.bx-go) { position: relative; z-index: 1; }
.px-bg { position: absolute; inset: 0; z-index: 0; opacity: 0; transition: background .6s var(--ease), opacity .4s; pointer-events: none; }
.px:hover .px-bg, .px:focus-within .px-bg { opacity: 1; }
.px-dev { flex: 1; min-height: 0; display: flex; flex-direction: column; align-self: center; transition: transform .6s var(--spring); }
.px-phone .px-dev { aspect-ratio: 9 / 19; height: 100%; max-height: 100%; padding: 7px; border-radius: 32px; background: linear-gradient(145deg, #3a3d44, #16171b 45%, #2c2e33); box-shadow: 0 30px 44px -24px rgba(16, 27, 61, .6); transform: rotate(-5deg) translateY(16px); }
.px-phone:hover .px-dev, .px-phone:focus-within .px-dev { transform: none; }
.px-window .px-dev { width: calc(100% - 70px); margin-left: 70px; border-radius: 14px 14px 0 0; background: var(--card); border: 1px solid var(--line); box-shadow: 0 24px 40px -26px rgba(16, 27, 61, .5); transform: translateY(8px) rotate(-1deg); overflow: hidden; }
.px-window:hover .px-dev, .px-window:focus-within .px-dev { transform: none; }
.px-chrome { display: flex; gap: 5px; padding: 9px 12px; background: #101b3d; } .px-chrome i { width: 8px; height: 8px; border-radius: 50%; background: #faf7f2; opacity: .5; }
.px-screens { position: relative; flex: 1; min-height: 0; overflow: hidden; cursor: pointer; background: #faf7f2; }
.px-phone .px-screens { border-radius: 26px 26px 0 0; }
.px-scr { position: absolute; inset: 0; opacity: 0; transform: translateX(14%); transition: opacity .35s var(--ease), transform .5s var(--ease); pointer-events: none; }
.px-scr.on { opacity: 1; transform: none; pointer-events: auto; }
.px-scr img { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; }
.px-html { padding: 12px 16px; display: grid; gap: 7px; align-content: start; color: #1c1a17; }
.px-eb { margin: 0; font: 700 11px/1 var(--sans); letter-spacing: 1px; text-transform: uppercase; color: #9a4a2a; }
.px-row { margin: 0; padding: 8px 10px; border-radius: 10px; background: #f2ede5; font-size: 13px; line-height: 1.35; } .px-row b { display: block; font-size: 13px; }
.px-avs { display: flex; align-items: center; margin: 0; } .px-avs img { width: 30px; height: 30px; border-radius: 50%; border: 2px solid #faf7f2; margin-right: -8px; background: #efe8de; } .px-avs em { margin-left: 14px; font: 700 12px/1 var(--sans); font-style: normal; color: #6b6259; }
.px-hot { position: absolute; border: 0; background: none; border-radius: 10px; cursor: pointer; }
.px:hover .px-hot { box-shadow: 0 0 0 2px rgba(184, 92, 56, .6); animation: pxPulse 1.6s infinite; }
@keyframes pxPulse { 50% { box-shadow: 0 0 0 6px rgba(184, 92, 56, .15); } }
.px-tabs { display: flex; gap: 2px; padding: 5px; background: #16171b; }
.px-window .px-tabs { background: var(--tile-2); order: -1; }
.px-tabs button { flex: 1; min-height: 28px; padding: 0 4px; border: 0; border-radius: 8px; background: none; color: #d9d1c5; font: 700 11px/1 var(--sans); cursor: pointer; }
.px-window .px-tabs button { color: var(--ink); }
.px-tabs button[aria-selected="true"] { background: #faf7f2; color: #101b3d; }
.px-tabs button:focus-visible { outline: 2px solid #e08a66; outline-offset: 1px; }
.px-phone .px-tabs { border-radius: 0 0 26px 26px; }
.px-note { margin: 10px 0 0 70px; min-height: 1.3em; font-size: 13px; font-weight: 600; color: var(--ink); text-align: center; opacity: 0; transform: translateY(6px); transition: opacity .3s, transform .4s var(--spring); }
.px-phone .px-note { margin-left: 0; }
.px:hover .px-note, .px:focus-within .px-note { opacity: 1; transform: none; }
.px-window .px-dev { margin-bottom: -26px; }
.still .px-dev, .still .px-scr, .still .px-bg, .still .px-note { transition: none; } .still .px-hot { animation: none; }
@media (hover: none) { .px-note, .px-bg { opacity: 1; transform: none; } }
.px-window .px-chrome { order: -2; }
.px-note { display: inline-block; align-self: center; margin: 10px 0 0 64px; padding: 6px 12px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); color: var(--ink); }
.px-phone .px-note { margin: 10px 0 0 56px; font-size: 12px; }
.px-window .px-note { position: absolute; top: 20px; right: 22px; margin: 0; max-width: 55%; font-size: 12px; z-index: 3; }
.px-window .bx-lbl { max-width: 40%; }
:root[data-theme="dark"] .px-bg { mix-blend-mode: soft-light; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .px-bg { mix-blend-mode: soft-light; } }
.px-tabs button, .px-eb { font-size: 12px; } .px-tabs button { padding: 0 2px; letter-spacing: -.1px; }

/* ═════════════ Signature hovers (one idea per tile) ═════════════ */
.lx-glow { background: radial-gradient(60% 60% at 30% 30%, rgba(217, 163, 79, .55), transparent 70%), radial-gradient(50% 50% at 80% 80%, rgba(184, 92, 56, .35), transparent 70%); filter: blur(6px); }
.lx:hover .lx-glow { animation: sgGlow 3s ease-in-out infinite alternate; }
@keyframes sgGlow { to { transform: scale(1.12) rotate(6deg); } }
.sg-roll { position: absolute; inset: 88px 20px 72px; z-index: 2; overflow: hidden; opacity: 0; transition: opacity .4s; -webkit-mask: linear-gradient(transparent, #000 18%, #000 82%, transparent); mask: linear-gradient(transparent, #000 18%, #000 82%, transparent); }
.sg-roll > span { display: grid; gap: 14px; animation: sgUp 14s linear infinite; animation-play-state: paused; }
.sg-roll q { font-size: 15px; line-height: 1.4; color: var(--ink); } .sg-roll small { font-size: 12px; color: var(--muted); margin-top: -8px; }
.bx-rev:hover .sg-roll, .bx-rev:focus-within .sg-roll { opacity: 1; } .bx-rev:hover .sg-roll > span { animation-play-state: running; }
.bx-rev:hover .bx-q, .bx-rev:focus-within .bx-q { opacity: 0; } .bx-rev .bx-q { transition: opacity .3s; }
@keyframes sgUp { to { transform: translateY(-50%); } }
.sg-chat { position: absolute; inset: auto 18px 76px 18px; z-index: 2; display: flex; flex-direction: column; gap: 6px; pointer-events: none; }
.sg-chat i { max-width: 82%; padding: 7px 11px; border-radius: 14px; font: 500 12px/1.3 var(--sans); font-style: normal; opacity: 0; transform: translateY(10px) scale(.9); }
.sg-chat .u { align-self: flex-end; background: var(--action-bg); color: var(--action-fg); border-bottom-right-radius: 4px; }
.sg-chat .a { align-self: flex-start; background: var(--card); border: 1px solid var(--line); color: var(--ink); border-bottom-left-radius: 4px; }
.bx-chat:hover .sg-chat i, .bx-chat:focus-within .sg-chat i { animation: sgMsg .4s var(--spring) both; }
.bx-chat .sg-chat i:nth-child(2) { animation-delay: .7s !important; } .bx-chat .sg-chat i:nth-child(3) { animation-delay: 1.4s !important; } .bx-chat .sg-chat i:nth-child(4) { animation-delay: 2.1s !important; }
@keyframes sgMsg { to { opacity: 1; transform: none; } }
.bx-chat .bx-sub { transition: opacity .3s; } .bx-chat:hover .bx-sub { opacity: 0; }
.sg-seats { position: absolute; right: 18px; bottom: 76px; left: 18px; z-index: 2; display: grid; grid-template-columns: repeat(14, 1fr); gap: 4px; }
.sg-seats i { aspect-ratio: 1; border-radius: 3px; background: color-mix(in srgb, var(--ink) 12%, transparent); }
.bx-seats:hover .sg-seats i, .bx-seats:focus-within .sg-seats i { animation: sgSeat .25s both; animation-delay: calc(var(--i) * 14ms); }
@keyframes sgSeat { to { background: var(--terra); transform: scale(1.1); } }
.bx-seats .bx-sub { transition: opacity .3s; } .bx-seats:hover .bx-sub { opacity: 0; }
.bx-latest:hover { box-shadow: 0 0 0 2px var(--terra), 0 20px 50px -20px rgba(184, 92, 56, .6); }
.bx-pic:hover { transform: rotate(-1.5deg) scale(1.02); z-index: 3; }
.bx-team:hover { z-index: 3; }

/* ═════════════ Unlock: the foldable pops out and opens ═════════════ */
.ul-btn { position: absolute; right: 18px; top: 18px; z-index: 6; display: inline-flex; align-items: center; gap: 6px; min-height: 34px; padding: 0 14px; border: 0; border-radius: 999px; background: linear-gradient(135deg, #d9a34f, #b85c38); color: #fff; font: 700 13px/1 var(--sans); cursor: pointer; box-shadow: 0 8px 20px -8px rgba(184, 92, 56, .7); animation: ulPing 2.4s infinite; }
.ul-btn:hover, .ul-btn:focus-visible { transform: scale(1.06); } .ul-btn:focus-visible { outline: 2px solid #101b3d; outline-offset: 2px; }
@keyframes ulPing { 0%, 70%, 100% { box-shadow: 0 8px 20px -8px rgba(184, 92, 56, .7), 0 0 0 0 rgba(217, 163, 79, .5); } 85% { box-shadow: 0 8px 20px -8px rgba(184, 92, 56, .7), 0 0 0 10px rgba(217, 163, 79, 0); } }
html.ul-on .dash, html.ul-on .topbar, html.ul-on .foot { filter: grayscale(1) blur(2px); opacity: .35; transition: filter .5s, opacity .5s; }
.ul { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; }
.ul-dim { position: absolute; inset: 0; background: rgba(16, 27, 61, .35); opacity: 0; transition: opacity .4s; }
.ul.open .ul-dim { opacity: 1; }
.ul-stage { position: relative; display: grid; justify-items: center; gap: 18px; }
.ul-badge { margin: 0; padding: 8px 16px; border-radius: 999px; background: #101b3d; color: #faf7f2; font: 700 14px/1 var(--sans); opacity: 0; transform: translateY(-12px) scale(.9); transition: opacity .4s .5s, transform .5s .5s var(--spring); }
.ul-badge span { color: #d9a34f; }
.ul.open .ul-badge { opacity: 1; transform: none; }
.ul-fold { position: relative; display: flex; height: min(68vh, 620px); aspect-ratio: 2670 / 1878; padding: 12px; border-radius: 34px; background: linear-gradient(145deg, #3a3d44, #16171b 45%, #2c2e33); box-shadow: 0 50px 90px -30px rgba(16, 27, 61, .7);
  transform: translate(var(--dx), var(--dy)) scale(var(--s)); transition: transform .6s cubic-bezier(.2, .9, .25, 1.1); perspective: 1600px; }
.ul.open .ul-fold { transform: none; }
.ul-half { flex: 1; overflow: hidden; background: #faf7f2; transition: transform .7s .35s cubic-bezier(.2, .9, .25, 1.05); }
.ul-l { border-radius: 24px 4px 4px 24px; transform-origin: right center; transform: rotateY(-100deg); }
.ul-r { border-radius: 4px 24px 24px 4px; }
.ul.open .ul-l { transform: none; }
.ul-half img { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; }
.ul-hinge { width: 6px; background: linear-gradient(90deg, #111, #444, #111); }
.ul-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; opacity: 0; transition: opacity .4s .8s; }
.ul.open .ul-actions { opacity: 1; }
.ul-actions .pj-btn { min-height: 46px; }
.ul-spark { position: absolute; inset: 0; pointer-events: none; }
.ul-spark i { position: absolute; left: 50%; top: 50%; width: 8px; height: 8px; border-radius: 2px; background: var(--c, #d9a34f); opacity: 0; }
.ul-spark i:nth-child(3n) { --c: #b85c38; } .ul-spark i:nth-child(3n+1) { --c: #faf7f2; }
.ul.open .ul-spark i { animation: ulSpark 1.2s .5s cubic-bezier(.2, .8, .3, 1) both; }
@keyframes ulSpark { 0% { opacity: 1; transform: translate(0, 0) rotate(0); } 100% { opacity: 0; transform: translate(calc(cos(var(--i) * 25.7deg) * 42vw), calc(sin(var(--i) * 25.7deg) * 38vh)) rotate(540deg); } }
.still .ul-fold, .still .ul-half, .still .ul-badge, .still .ul-actions { transition: none; } .still .ul-spark, .still .ul-btn { animation: none; }
.still .sg-roll > span, .still .sg-chat i, .still .sg-seats i { animation: none !important; } .still .sg-chat i { opacity: 1; transform: none; } .still .sg-seats i { background: var(--terra); }
@media (max-width: 700px) { .ul-fold { height: auto; width: 92vw; } .sg-seats, .sg-chat, .sg-roll { display: none; } }
/* BECU is a full-color mark (white letters on red): never recolor it in dark mode */
:root[data-theme="dark"] img[src*="becu"] { filter: none !important; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) img[src*="becu"] { filter: none !important; } }
.sg-chat { inset: 96px 18px auto 18px; } .sg-chat i:nth-child(4) { display: none; }

/* About: tools list (logos + real text for Ctrl+F) */
.ab3-tools { grid-column: 1 / -1; }
.ab3-tool-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; flex: 1; }
.ab3-tool-h { margin: 0 0 10px; font: 600 18px/1.2 var(--display); }
.ab3-tool-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.ab3-tool-list li { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 6px 6px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); font-size: 14px; font-weight: 600; transition: transform .3s var(--spring); }
.ab3-tool-list li:hover { transform: translateY(-3px); }
.ab3-tool-ico { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: #faf7f2; }
.ab3-tool-ico img { width: 16px; height: 16px; } .ab3-tool-ico img.full { width: 22px; height: auto; }
.ab3-tool-ico b { font: 700 11px/1 var(--sans); color: #101b3d; }
@media (max-width: 900px) { .ab3-tool-cols { grid-template-columns: minmax(0, 1fr); } }
/* the bee: always buzzing a little, and flies a loop on hover */
.ab3-bee { display: block; width: 46px; height: 36px; animation: beeHover 2.4s ease-in-out infinite; }
.ab3-bee svg { width: 100%; height: 100%; overflow: visible; }
.ab3-bee .w1, .ab3-bee .w2 { fill: #e8f1f8; stroke: #9fb6c8; stroke-width: .8; transform-origin: 20px 12px; animation: beeWing .12s ease-in-out infinite alternate; }
.ab3-bee .w2 { animation-delay: .06s; }
@keyframes beeWing { to { transform: scaleY(.35); } }
@keyframes beeHover { 0%, 100% { transform: translate(0, 0) rotate(-4deg); } 50% { transform: translate(6px, -6px) rotate(5deg); } }
.ab3-fun:hover .ab3-bee, .ab3-fun:focus-within .ab3-bee { animation: beeLoop 3.2s ease-in-out infinite; }
@keyframes beeLoop { 0% { transform: translate(0, 0) rotate(0); } 25% { transform: translate(140px, -10px) rotate(12deg); } 50% { transform: translate(160px, 60px) rotate(160deg); } 75% { transform: translate(40px, 70px) rotate(200deg); } 100% { transform: translate(0, 0) rotate(360deg); } }
.ab3-flip li:nth-child(1) { overflow: visible; }
.still .ab3-bee, .still .ab3-bee .w1, .still .ab3-bee .w2 { animation: none !important; }
.ab3-badge img { object-position: center 35%; }
/* tools tile height handled by bento auto-fit in app.js */
.ab3-tool-cols { grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 22px 28px; }
.ab3-tool-list li { font-size: 13px; padding: 5px 11px 5px 5px; }
.ab3-tool-ico { width: 26px; height: 26px; } .ab3-tool-ico b { font-size: 12px; }

/* fix: Unlock sits in the top corner (the prototype layer rule made it relative) */
.px > .ul-btn { position: absolute; right: 18px; top: 16px; z-index: 6; }
/* Lily's polaroids beside the Cr8 Tr8n phone */
.lily { position: absolute; right: 6%; bottom: 10%; width: 40%; height: 70%; pointer-events: none; }
.lily img { position: absolute; right: 0; bottom: 0; width: 70%; aspect-ratio: 4 / 5; object-fit: cover; padding: 6px 6px 22px; background: #fff; border-radius: 4px; box-shadow: 0 12px 24px -12px rgba(16, 27, 61, .5); transform: rotate(calc(8deg - var(--k) * 9deg)) translate(calc(var(--k) * -18%), calc(var(--k) * -10%)); transition: transform .5s var(--spring); }
.cs-card:hover .lily img { transform: rotate(calc(12deg - var(--k) * 14deg)) translate(calc(var(--k) * -34%), calc(var(--k) * -16%)); }
.lily em { position: absolute; right: 0; bottom: -6%; z-index: 3; padding: 5px 10px; border-radius: 999px; background: #101b3d; color: #faf7f2; font: 700 12px/1.2 var(--sans); font-style: normal; white-space: nowrap; }
[data-case="cr8-tr8n"] .mk-phone { transform: translateX(-30%) rotate(-6deg); }
.pj-lily { margin: 40px 0 8px; }
.pj-lily h2 { margin: 0 0 14px; font: 600 28px/1.2 var(--display); } .pj-lily h2 span { font: italic 400 18px/1.3 var(--sans); color: var(--muted); margin-left: 8px; }
.pj-lily-row { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 16px; }
.pj-lily-row figure { margin: 0; padding: 8px 8px 12px; background: #fff; border-radius: 6px; box-shadow: 0 14px 26px -16px rgba(16, 27, 61, .5); transform: rotate(calc((var(--k) - 2) * 2deg)); transition: transform .4s var(--spring); }
.pj-lily-row figure:hover { transform: rotate(0) translateY(-6px) scale(1.03); }
.pj-lily-row img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; display: block; border-radius: 2px; }
.pj-lily-row figcaption { margin-top: 8px; font: 600 13px/1.2 var(--sans); color: #1c1a17; text-align: center; }
/* talk story: always visible, lesson highlighted */
.tk2-beats { list-style: none; margin: 4px 0 6px; padding: 0; display: grid; gap: 8px; counter-reset: beat; }
.tk2-beats li { position: relative; padding: 0 0 0 26px; font-size: 14px; line-height: 1.4; counter-increment: beat; }
.tk2-beats li::before { content: counter(beat); position: absolute; left: 0; top: 1px; width: 18px; height: 18px; border-radius: 50%; display: grid; place-items: center; background: var(--card); border: 1px solid var(--line); font: 700 11px/1 var(--sans); color: var(--muted); }
.tk2-beats b { display: block; font: 700 12px/1.4 var(--sans); letter-spacing: 1px; text-transform: uppercase; color: var(--muted); }
.tk2-beats li.lesson { padding: 10px 12px 10px 38px; border-radius: 12px; background: var(--action-bg); color: var(--action-fg); font: 600 15px/1.35 var(--display); }
.tk2-beats li.lesson::before { left: 12px; top: 12px; background: #d9a34f; border-color: #d9a34f; color: #101b3d; content: "✦"; }
.tk2-beats li.lesson b { color: #f0c9b5; }
/* unlock, bigger: spin out, open, tilt with the pointer, screens scroll on their own */
.ul-fold { transform: translate(var(--dx), var(--dy)) scale(var(--s)) rotateY(-35deg) rotateZ(-8deg); transition: transform .9s cubic-bezier(.2, .9, .25, 1.15); transform-style: preserve-3d; }
.ul.open .ul-fold { transform: rotateX(var(--tx, 0deg)) rotateY(var(--ty, 0deg)); transition: transform .9s cubic-bezier(.2, .9, .25, 1.15); }
.ul.open.scroll .ul-fold { transition: transform .25s ease-out; }
.ul-l { transform: rotateY(-178deg); transition: transform .9s .55s cubic-bezier(.3, 1.3, .4, 1); box-shadow: inset -30px 0 40px -20px rgba(0, 0, 0, .35); }
.ul.open .ul-l { transform: none; box-shadow: none; transition: transform .9s .55s cubic-bezier(.3, 1.3, .4, 1), box-shadow .6s 1.2s; }
.ul-half img { transition: object-position 7s ease-in-out; }
.ul.scroll .ul-r img { object-position: bottom; }
.ul-fold::after { content: ""; position: absolute; inset: -30px; z-index: -1; border-radius: 60px; background: radial-gradient(closest-side, rgba(217, 163, 79, .55), transparent); opacity: 0; transition: opacity .8s 1s; }
.ul.open .ul-fold::after { opacity: 1; animation: sgGlow 3s 1.8s ease-in-out infinite alternate; }
.still .ul-half img { transition: none; }
.ab3-yt::after { display: none; }
.ab3-shorts { position: absolute; right: 28px; bottom: -40px; display: flex; }
.ab3-shorts img { width: 92px; aspect-ratio: 9 / 16; object-fit: cover; margin-left: -34px; border-radius: 10px; box-shadow: 0 14px 24px -12px rgba(16, 27, 61, .55); transform: rotate(calc((var(--k) - 1.5) * 7deg)) translateY(calc(var(--k) * 4px)); transition: transform .5s var(--spring); }
.ab3-yt:hover .ab3-shorts img { transform: rotate(calc((var(--k) - 1.5) * 10deg)) translate(calc((var(--k) - 1.5) * 18px), -36px); }
.ab3-shorts img:hover { z-index: 3; }
@media (max-width: 700px) { .ab3-shorts { position: static; margin-top: 12px; padding-left: 34px; } }
.ul-half { position: relative; height: 100%; }
.ul-half img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; }
.ul.scroll .ul-r img { object-position: bottom; }
.px-window .bx-lbl { max-width: none; white-space: nowrap; }
.bx-seats .sg-seats { bottom: 80px; top: auto; } .bx-seats:not(:hover) .sg-seats { opacity: 0; } .bx-seats .sg-seats { transition: opacity .3s; }
:root[data-theme="dark"] .tk2-beats li.lesson b { color: #9a4a2a; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .tk2-beats li.lesson b { color: #9a4a2a; } }

/* photo-led cards (Cr8 Tr8n, kAItchen): the story photos lead; hover and the phone bursts out while the photos ghost back */
.cs-photo .cs-media { overflow: visible; z-index: 2; }
.cs-photo .lily { inset: 0; width: auto; height: auto; right: auto; bottom: auto; overflow: hidden; border-radius: 24px 24px 0 0; }
.cs-photo .lily img { top: 50%; left: 50%; right: auto; bottom: auto; width: 46%; transform: translate(calc(-50% + (var(--k) - 1) * 62%), -50%) rotate(calc((var(--k) - 1) * 7deg)); transition: transform .6s var(--spring), filter .5s, opacity .5s; }
.cs-photo .lily img:only-child, .cs-photo .lily img:first-child:nth-last-child(3) { }
.cs-photo .lily em { left: 50%; right: auto; bottom: 14px; transform: translateX(-50%); transition: opacity .3s; }
.lily-hint { position: absolute; top: 14px; right: 14px; padding: 4px 10px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); font: 700 12px/1.2 var(--sans); font-style: normal; color: var(--ink); transition: opacity .3s; }
.cs-photo .mk-phone { position: absolute; left: 50%; top: 50%; z-index: 3; height: 70%; transform: translate(-50%, -30%) scale(.35) rotate(-8deg); opacity: 0; transition: transform .65s cubic-bezier(.2, .9, .25, 1.2), opacity .35s; }
.cs-photo:hover .mk-phone, .cs-photo:focus-visible .mk-phone { opacity: 1; transform: translate(-50%, -52%) scale(1.22) rotate(0); box-shadow: 0 40px 70px -24px rgba(16, 27, 61, .7); }
.cs-photo:hover .lily img, .cs-photo:focus-visible .lily img { filter: grayscale(1) blur(2px); opacity: .35; transform: translate(calc(-50% + (var(--k) - 1) * 90%), -50%) rotate(calc((var(--k) - 1) * 14deg)) scale(.92); }
.cs-photo:hover .lily em, .cs-photo:hover .lily-hint, .cs-photo:focus-visible .lily em, .cs-photo:focus-visible .lily-hint { opacity: 0; }
.cs-photo:hover { z-index: 5; }
[data-case="cr8-tr8n"] .mk-phone { transform: translate(-50%, -30%) scale(.35) rotate(-8deg); }
[data-case="cr8-tr8n"].cs-photo:hover .mk-phone { transform: translate(-50%, -52%) scale(1.22) rotate(0); }
.cs-photo .mk-dots { display: none; }
.still .cs-photo .mk-phone, .still .cs-photo .lily img { transition: none; }
@media (hover: none) { .cs-photo .mk-phone { display: none; } .lily-hint { display: none; } }
.cs-photo .cs-media > .lily { position: absolute !important; inset: 0 !important; width: 100% !important; height: 100% !important; }
.cs-photo .cs-media > .lily img { width: 44% !important; height: auto; }
.cs-photo .cs-media > .lily img:only-of-type { width: 62% !important; transform: translate(-50%, -52%) rotate(-3deg); }
.cs-photo:hover .cs-media > .lily img:only-of-type { transform: translate(-50%, -50%) rotate(-8deg) scale(.95); }

/* let the photography speak: no polaroid borders */
.lily img, .pj-lily-row figure, .bx-snap, .ab3-cap { }
.cs-photo .cs-media > .lily img { padding: 0 !important; background: none !important; border-radius: 14px !important; box-shadow: 0 18px 30px -16px rgba(16, 27, 61, .45) !important; aspect-ratio: 4 / 5; }
.pj-lily-row { grid-template-columns: repeat(6, minmax(0, 1fr)); grid-auto-rows: 180px; gap: 12px; }
.pj-lily-row figure { position: relative; padding: 0; background: none; box-shadow: none; transform: none; overflow: hidden; border-radius: 18px; margin: 0; }
.pj-lily-row figure:nth-child(1) { grid-column: span 2; grid-row: span 2; } .pj-lily-row figure:nth-child(2) { grid-column: span 2; grid-row: span 2; }
.pj-lily-row figure:nth-child(n+3) { grid-column: span 2; }
.pj-lily-row img { height: 100%; aspect-ratio: auto; border-radius: 0; transition: transform .6s var(--ease); }
.pj-lily-row figure:hover { transform: none; } .pj-lily-row figure:hover img { transform: scale(1.05); }
.pj-lily-row figcaption { position: absolute; left: 12px; bottom: 12px; margin: 0; padding: 5px 10px; border-radius: 999px; background: rgba(16, 27, 61, .72); color: #faf7f2; text-align: left; font-size: 12px; }
.bx-snap { padding: 0; background: none; border-radius: 14px; overflow: hidden; } .bx-snap img { border-radius: 0; } .bx-snap figcaption { color: #faf7f2; background: rgba(16, 27, 61, .72); padding: 4px 8px; border-radius: 999px; bottom: 8px; }
@media (max-width: 800px) { .pj-lily-row { grid-template-columns: repeat(2, minmax(0, 1fr)); } .pj-lily-row figure:nth-child(n) { grid-column: span 1; grid-row: span 1; } }
@media (min-width: 801px) { .pj-lily-row figure:nth-child(6):last-child { grid-column: span 4; } .pj-lily-row figure:nth-child(5):last-child { grid-column: span 4; } }

/* ═════════════ Photo-led cards v3 ═════════════ */
.cs-photo .lily { display: none; }
.ph-gal { position: absolute; inset: 0; z-index: 1; overflow: hidden; border-radius: 24px 24px 0 0; }
.ph-strip img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.04); transition: opacity .6s var(--ease), transform 1.2s var(--ease), filter 1.6s var(--ease); }
.ph-strip img.on { opacity: 1; transform: none; }
.ph-prev, .ph-next { position: absolute; top: 50%; z-index: 3; width: 38px; height: 38px; margin-top: -19px; border: 0; border-radius: 50%; background: rgba(250, 247, 242, .85); color: #101b3d; font: 600 22px/1 var(--sans); cursor: pointer; opacity: 0; transition: opacity .25s, transform .25s; backdrop-filter: blur(6px); }
.ph-prev { left: 12px; } .ph-next { right: 12px; }
.cs-photo:hover .ph-prev, .cs-photo:hover .ph-next, .ph-prev:focus-visible, .ph-next:focus-visible { opacity: 1; }
.ph-prev:hover, .ph-next:hover { transform: scale(1.1); }
.ph-prev:focus-visible, .ph-next:focus-visible { outline: 2px solid #9a4a2a; outline-offset: 2px; }
[data-mode="dissolve"] .ph-prev, [data-mode="dissolve"] .ph-next { display: none; }
.ph-cap { position: absolute; left: 50%; bottom: 14px; z-index: 3; transform: translateX(-50%); padding: 5px 12px; border-radius: 999px; background: rgba(16, 27, 61, .78); color: #faf7f2; font: 700 12px/1.2 var(--sans); white-space: nowrap; transition: opacity .4s; }
.ph-hint { position: absolute; top: 14px; right: 14px; z-index: 3; padding: 4px 10px; border-radius: 999px; background: rgba(250, 247, 242, .9); font: 700 12px/1.2 var(--sans); color: #101b3d; transition: opacity .4s; }
/* the "hold" ring fills over 2s in the middle, like a long-press */
.ph-ring { position: absolute; left: 50%; top: 50%; z-index: 3; width: 64px; height: 64px; margin: -32px 0 0 -32px; border-radius: 50%; background: conic-gradient(#faf7f2 var(--p, 0%), rgba(250, 247, 242, .25) 0); -webkit-mask: radial-gradient(circle, transparent 58%, #000 60%); mask: radial-gradient(circle, transparent 58%, #000 60%); opacity: 0; transition: opacity .3s; pointer-events: none; }
@property --p { syntax: "<percentage>"; inherits: false; initial-value: 0%; }
.cs-photo.ph-arm .ph-ring { opacity: 1; animation: phFill 2s linear forwards; }
@keyframes phFill { to { --p: 100%; } }
/* reveal: photos slowly give way to the phone */
.cs-photo .mk-phone { opacity: 0; transform: translate(-50%, -40%) scale(.7) rotate(-6deg); transition: transform 1.4s cubic-bezier(.2, .9, .25, 1.1), opacity 1.1s var(--ease); }
.cs-photo:hover .mk-phone { opacity: 0; transform: translate(-50%, -40%) scale(.7) rotate(-6deg); }
.cs-photo.ph-open .mk-phone, [data-case="cr8-tr8n"].cs-photo.ph-open .mk-phone { opacity: 1; transform: translate(-50%, -52%) scale(1.18) rotate(0); box-shadow: 0 40px 70px -24px rgba(16, 27, 61, .7); }
.cs-photo.ph-open .ph-strip img { filter: grayscale(1) blur(6px) brightness(1.15); opacity: .0; }
.cs-photo.ph-open .ph-strip img.on { opacity: .35; }
.cs-photo.ph-open .ph-cap, .cs-photo.ph-open .ph-hint, .cs-photo.ph-open .ph-prev, .cs-photo.ph-open .ph-next, .cs-photo.ph-arm .ph-hint { opacity: 0; pointer-events: none; }
.cs-photo:hover .ph-hint, .cs-photo:hover .ph-cap { }
.still .ph-strip img, .still .cs-photo .mk-phone { transition: none; } .still .ph-ring { display: none; }
@media (hover: none) { .ph-prev, .ph-next { opacity: 1; } .ph-hint, .ph-ring { display: none; } }

/* Lily's typed awards (Cr8 Tr8n gallery) */
.ph-award { position: absolute; left: 14px; right: 14px; bottom: 14px; z-index: 3; display: flex; align-items: center; gap: 10px; width: max-content; max-width: calc(100% - 28px); margin-inline: auto; padding: 8px 14px 8px 10px; border-radius: 14px; background: rgba(16, 27, 61, .84); color: #faf7f2; transition: opacity .4s; }
.ph-award svg { flex: none; filter: drop-shadow(0 2px 3px rgba(0,0,0,.35)); }
.ph-award small { display: block; font: 700 12px/1.2 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: #f5cf5c; }
.ph-award b { display: block; min-height: 1.25em; font: 700 15px/1.25 var(--serif, Georgia, serif); }
.ph-award b::after { content: "|"; margin-left: 1px; animation: ph-caret 1s steps(1) infinite; }
@keyframes ph-caret { 50% { opacity: 0; } }
html.still .ph-award b::after, .reduce .ph-award b::after { animation: none; opacity: 0; }
@media (prefers-reduced-motion: reduce) { .ph-award b::after { animation: none; opacity: 0; } }
.cs-photo.ph-open .ph-award { opacity: 0; pointer-events: none; }

/* realistic award: dog-show rosette + engraved brass plate */
.ph-award { left: 12px; right: auto; bottom: 12px; margin: 0; padding: 0; gap: 0; background: none; align-items: center; }
.ph-ros { position: relative; z-index: 2; flex: none; margin-right: -14px; filter: drop-shadow(0 4px 5px rgba(0,0,0,.4)); transform-origin: 50% 36%; }
.ph-plate { position: relative; padding: 8px 16px 8px 24px; border-radius: 4px; background: linear-gradient(180deg, #f6e3a1 0%, #dcb454 38%, #c49a3a 62%, #e9cf80 100%); box-shadow: inset 0 1px 0 rgba(255,255,255,.7), inset 0 -1px 0 rgba(90,60,8,.45), 0 6px 14px -4px rgba(0,0,0,.45); }
.ph-plate::before, .ph-plate::after { content: ""; position: absolute; top: 50%; width: 5px; height: 5px; margin-top: -2.5px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #fff6d0, #8a6414); }
.ph-plate::before { left: 12px; } .ph-plate::after { right: 5px; }
.ph-award small { color: #5a3d08; font: 700 12px/1.2 var(--sans); letter-spacing: .08em; }
.ph-award b { color: #3a2704; font: 700 15px/1.25 var(--serif, Georgia, serif); text-shadow: 0 1px 0 rgba(255,244,200,.7); }
.ph-award b::after { color: #3a2704; }
.cs-photo:not(.ph-open) .ph-ros { animation: rosSway 4s ease-in-out infinite; }
@keyframes rosSway { 0%, 100% { transform: rotate(-4deg); } 50% { transform: rotate(4deg); } }
.still .ph-ros { animation: none !important; }
@media (prefers-reduced-motion: reduce) { .ph-ros { animation: none !important; } }
.cs-photo:not(.ph-open) .mk-phone { pointer-events: none; }

/* ═════ Phone reveal v4: one transition, no competing hover rules (fixes jitter) ═════ */
.work-grid .cs-photo[data-case] .mk-phone, .cs-photo[data-case] .mk-phone {
  opacity: 0; transform: translate(-50%, -36%) scale(.62) rotate(-9deg); pointer-events: none; animation: none;
  transition: opacity .9s cubic-bezier(.33, 0, .2, 1), transform 1.7s cubic-bezier(.16, 1, .3, 1), box-shadow 1.2s ease;
  will-change: transform, opacity; }
.work-grid .cs-photo[data-case].ph-open .mk-phone, .cs-photo[data-case].ph-open .mk-phone {
  opacity: 1; transform: translate(-50%, -52%) scale(1.16) rotate(0); pointer-events: auto; box-shadow: 0 40px 70px -24px rgba(16, 27, 61, .7);
  transition-delay: .25s, .15s, .15s; }
.still .cs-photo[data-case] .mk-phone { transition: none; }

/* kAItchen: photos roll by as a film reel of cards, not full-bleed */
[data-mode="dissolve"].ph-gal { background: linear-gradient(160deg, #eef2e2, #dfe8cf); }
[data-mode="dissolve"] .ph-strip { position: absolute; top: 46%; left: 0; display: flex; gap: 14px; padding-right: 14px; height: 64%; width: max-content; transform: translateY(-50%); animation: phReel 36s linear infinite; transition: opacity 1.2s ease, filter 1.4s ease, scale 1.6s cubic-bezier(.16, 1, .3, 1); }
[data-mode="dissolve"] .ph-strip img { position: relative; inset: auto; flex: none; width: auto; height: 100%; aspect-ratio: 4 / 5; opacity: 1; border-radius: 16px; box-shadow: 0 14px 24px -14px rgba(30, 45, 20, .55); transform: rotate(-2deg) translateY(-6px); transition: transform .6s var(--ease); }
[data-mode="dissolve"] .ph-strip img:nth-child(even) { transform: rotate(2deg) translateY(8px); }
@keyframes phReel { to { transform: translate(-50%, -50%); } }
.cs-photo:hover [data-mode="dissolve"] .ph-strip img { transform: rotate(0) translateY(0); }
.cs-photo.ph-open [data-mode="dissolve"] .ph-strip { opacity: .3; filter: grayscale(1) blur(4px); scale: .9; }
.cs-photo.ph-open [data-mode="dissolve"] .ph-strip img { opacity: 1; filter: none; }
.still [data-mode="dissolve"] .ph-strip { animation: none; }
@media (prefers-reduced-motion: reduce) { [data-mode="dissolve"] .ph-strip { animation: none; } }

/* Home stamps: when the trip photo rises, the stamp shrinks and tucks onto its bottom edge instead of covering it */
.bx-stamps .bx-stamp.stamp:hover, .bx-stamps .bx-stamp.stamp:focus-visible { transform: rotate(-8deg) scale(.4) translateY(40px); }
.bx-snap { width: 210px; }

/* Home portrait: hover swaps to the Designmuseum Danmark selfie and drops a location pin */
.bx-pic .bx-pic-b { position: absolute; inset: 0; opacity: 0; object-position: center 22%; transition: opacity .7s var(--ease), transform .8s var(--ease); }
.bx-pic:hover .bx-pic-b, .bx-pic:focus-within .bx-pic-b { opacity: 1; }
.bx-pin { position: absolute; left: 14px; top: 14px; z-index: 3; display: flex; align-items: center; gap: 8px; padding: 7px 12px 7px 9px; border-radius: 14px; background: rgba(250, 247, 242, .94); color: #1c1a17; box-shadow: 0 10px 22px -10px rgba(16, 27, 61, .5); font: 500 12px/1.25 var(--sans); opacity: 0; transform: translateY(-14px) scale(.9); transition: opacity .35s, transform .5s var(--spring); pointer-events: none; }
.bx-pin b { display: block; font-weight: 700; font-size: 13px; }
.bx-pin svg { flex: none; transform-origin: 50% 100%; }
.bx-pic:hover .bx-pin, .bx-pic:focus-within .bx-pin { opacity: 1; transform: none; transition-delay: .25s; }
.bx-pic:hover .bx-pin svg, .bx-pic:focus-within .bx-pin svg { animation: pinDrop .7s .3s var(--spring) both; }
@keyframes pinDrop { 0% { transform: translateY(-16px) scale(.6); opacity: 0; } 60% { transform: translateY(2px) scale(1.08, .92); opacity: 1; } 100% { transform: none; } }
.bx-pic:has(.bx-pin):hover .lx-chip, .bx-pic:has(.bx-pin):hover [class*="chip"] { opacity: 0; }
.still .bx-pic-b, .still .bx-pin { transition: none; } .still .bx-pin svg { animation: none !important; }
@media (prefers-reduced-motion: reduce) { .bx-pin svg { animation: none !important; } }

/* ═════ Lily: same footprint as Bound Voyage (2 across × 3 down) ═════ */
@media (min-width: 901px) {
  .work-grid > [data-case="cr8-tr8n"] { grid-column: 1 / 3; grid-row: 3 / 6; }
  .work-grid > [data-case="kaitchen"] { grid-column: 3 / 5; grid-row: 3 / 5; }
  .work-grid > .cs-draft:not(:last-child) { grid-column: 5 / 7; grid-row: 4 / 5; flex-direction: row; }
  .work-grid > [data-case="scene-and-simmer"] { grid-column: 3 / 5; grid-row: 5 / 6; flex-direction: row; }
  .work-grid > .cs-draft:last-child { grid-column: 5 / 7; grid-row: 5 / 6; flex-direction: row; }
}
[data-case="cr8-tr8n"] .ph-strip img { object-position: center 12%; }
/* shine: a warm glow and a slow glossy sweep across Lily's photos */
[data-case="cr8-tr8n"].cs-photo { box-shadow: 0 0 0 1px rgba(224, 165, 38, .35), 0 24px 60px -28px rgba(224, 165, 38, .55); }
[data-case="cr8-tr8n"] .ph-gal::after { content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none; background: linear-gradient(110deg, transparent 38%, rgba(255, 244, 210, .28) 48%, rgba(255, 255, 255, .06) 54%, transparent 62%); background-size: 260% 100%; background-position: 130% 0; animation: lilyShine 7s ease-in-out 1.5s infinite; }
@keyframes lilyShine { 0%, 62% { background-position: 130% 0; } 100% { background-position: -30% 0; } }
.cs-photo.ph-open[data-case="cr8-tr8n"] .ph-gal::after { animation: none; opacity: 0; }
.still [data-case="cr8-tr8n"] .ph-gal::after { animation: none; opacity: 0; }
@media (prefers-reduced-motion: reduce) { [data-case="cr8-tr8n"] .ph-gal::after { animation: none; opacity: 0; } }
@media (max-width: 900px) { .work-grid > [data-case="cr8-tr8n"] .cs-media { min-height: 460px; } }

/* ═════ About: YouTube channel card (recognizably YouTube) ═════ */
.ab3-yt { gap: 12px; padding: 22px 24px; justify-content: flex-start; }
.ab3-yt .ab3-shorts { display: none; }
.yt-top { display: flex; align-items: center; gap: 6px; }
.yt-word { font: 700 19px/1 "Roboto", "Helvetica Neue", Arial, sans-serif; letter-spacing: -.04em; color: var(--ink); }
.yt-chan { display: flex; align-items: center; gap: 12px; }
.yt-av { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; flex: none; }
.yt-chan > span { flex: 1; min-width: 0; }
.yt-chan b { display: block; font: 700 17px/1.2 var(--sans); }
.yt-chan small { display: block; font: 500 13px/1.3 var(--sans); color: var(--muted); }
.yt-sub { flex: none; display: inline-flex; align-items: center; min-height: 36px; padding: 0 16px; border-radius: 999px; background: #0f0f0f; color: #fff; font: 600 14px/1 var(--sans); text-decoration: none; transition: background .2s, transform .3s var(--spring); }
.yt-sub:hover { background: #cc0000; transform: scale(1.05); }
.yt-sub:focus-visible { outline: 2px solid var(--accent, #9a4a2a); outline-offset: 3px; }
.yt-vids { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 4px 0 0; padding: 0; list-style: none; }
.yt-vids a { display: block; color: inherit; text-decoration: none; }
.yt-th { position: relative; display: block; aspect-ratio: 16 / 9; border-radius: 10px; overflow: hidden; background: #0f0f0f; transition: transform .35s var(--spring), box-shadow .35s; }
.yt-th img { width: 100%; height: 100%; object-fit: cover; display: block; }
.yt-th em { position: absolute; right: 6px; bottom: 6px; padding: 2px 5px; border-radius: 4px; background: rgba(0, 0, 0, .82); color: #fff; font: 600 12px/1.2 var(--sans); font-style: normal; }
.yt-th i { position: absolute; left: 50%; top: 50%; width: 46px; height: 32px; margin: -16px 0 0 -23px; border-radius: 9px; background: #ff0033; opacity: 0; transform: scale(.7); transition: opacity .25s, transform .35s var(--spring); }
.yt-th i::after { content: ""; position: absolute; left: 18px; top: 9px; border-left: 12px solid #fff; border-top: 7px solid transparent; border-bottom: 7px solid transparent; }
.yt-th::after { content: ""; position: absolute; left: 0; bottom: 0; height: 3px; width: 0; background: #ff0033; transition: width 1.2s var(--ease); }
.yt-vids a:hover .yt-th, .yt-vids a:focus-visible .yt-th { transform: translateY(-4px); box-shadow: 0 14px 24px -12px rgba(0, 0, 0, .5); }
.yt-vids a:hover .yt-th i, .yt-vids a:focus-visible .yt-th i { opacity: 1; transform: none; }
.yt-vids a:hover .yt-th::after, .yt-vids a:focus-visible .yt-th::after { width: 62%; }
.yt-vids a:focus-visible { outline: 2px solid var(--accent, #9a4a2a); outline-offset: 3px; border-radius: 10px; }
.yt-ti { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-top: 6px; font: 600 13px/1.3 var(--sans); }
.still .yt-th, .still .yt-th i, .still .yt-th::after, .still .yt-sub { transition: none; }
@media (max-width: 700px) { .yt-vids { grid-template-columns: repeat(2, minmax(0, 1fr)); } .yt-vids li:nth-child(3) { display: none; } .yt-chan { flex-wrap: wrap; } }

/* ═════ kAItchen: quiet fanned photo cards (lets the bigger projects lead) ═════ */
[data-mode="dissolve"] .ph-strip { position: absolute; top: auto; bottom: 46px; left: 50%; right: auto; display: block; width: 0; height: 0; padding: 0; gap: 0; transform: none; animation: none; }
[data-mode="dissolve"] .ph-strip img { position: absolute; left: 0; bottom: 0; width: 118px; height: auto; aspect-ratio: 3 / 4; border-radius: 12px; border: 0; opacity: 1; box-shadow: 0 14px 24px -12px rgba(30, 45, 20, .55); transform-origin: 50% 120%; transform: translateX(-50%) rotate(calc((var(--k) - 2.5) * 9deg)) translateY(calc(var(--kk) * 5px)); transition: transform .6s var(--spring), opacity .5s, filter .8s; }
[data-mode="dissolve"] .ph-strip img:nth-child(n+7) { display: none; }
.cs-photo:hover [data-mode="dissolve"] .ph-strip img { transform: translateX(-50%) rotate(calc((var(--k) - 2.5) * 14deg)) translate(calc((var(--k) - 2.5) * 22px), -22px); }
.cs-photo.ph-open [data-mode="dissolve"] .ph-strip { opacity: .35; filter: grayscale(1) blur(3px); scale: 1; }
.cs-photo.ph-open [data-mode="dissolve"] .ph-strip img { transform: translateX(-50%) rotate(calc((var(--k) - 2.5) * 5deg)) translateY(30px); }

/* Lily mosaic (5 photos): the portrait selfie gets a tall tile instead of a wide strip that cropped to teeth */
@media (min-width: 801px) {
  .pj-lily-row:has(> figure:nth-child(5):last-child) > figure:nth-child(5) { grid-column: 5 / 7; grid-row: 1 / 4; }
  .pj-lily-row:has(> figure:nth-child(5):last-child) > figure:nth-child(3) { grid-column: 1 / 3; grid-row: 3; }
  .pj-lily-row:has(> figure:nth-child(5):last-child) > figure:nth-child(4) { grid-column: 3 / 5; grid-row: 3; }
}
.pj-lily-row img[src*="selfie"] { object-position: center 30%; }

/* farm fan: smaller and fully inside the card */
[data-mode="dissolve"] .ph-strip { bottom: 64px; }
[data-mode="dissolve"] .ph-strip img { width: 92px; transform-origin: 50% 140%; transform: translateX(-50%) rotate(calc((var(--k) - 2.5) * 8deg)) translateY(calc(var(--kk) * 4px)); }
.cs-photo:hover [data-mode="dissolve"] .ph-strip img { transform: translateX(-50%) rotate(calc((var(--k) - 2.5) * 12deg)) translate(calc((var(--k) - 2.5) * 16px), -14px); }

/* ═════ Tools: icon-only, name in a tooltip (still findable with Ctrl+F) ═════ */
.ab3-tool-cols { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px 28px; }
.ab3-tool-h { font-size: 16px; margin-bottom: 8px; }
.ab3-tool-list { gap: 8px; }
.ab3-tool-list li { padding: 0; border: 0; background: none; border-radius: 0; }
.ab3-tool-list li:hover { transform: none; }
.ab3-tool { position: relative; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 1px solid var(--line); border-radius: 50%; background: var(--card); cursor: pointer; transition: transform .3s var(--spring), border-color .2s; }
.ab3-tool .ab3-tool-ico { width: 32px; height: 32px; }
.ab3-tool .ab3-tool-ico img { width: 18px; height: 18px; } .ab3-tool .ab3-tool-ico img.full { width: 24px; height: auto; }
.ab3-tool:hover, .ab3-tool:focus-visible, .ab3-tool.tip-on { transform: translateY(-3px) scale(1.08); border-color: var(--ink); z-index: 4; }
.ab3-tool:focus-visible { outline: 2px solid var(--accent, #9a4a2a); outline-offset: 3px; }
.ab3-tip { position: absolute; left: 50%; bottom: calc(100% + 10px); z-index: 5; padding: 6px 10px; border-radius: 8px; background: #faf7f2; color: #101b3d; font: 600 13px/1.2 var(--sans); white-space: nowrap; box-shadow: 0 10px 22px -10px rgba(0, 0, 0, .5); opacity: 0; transform: translate(-50%, 4px); transition: opacity .18s, transform .25s var(--spring); pointer-events: none; }
.ab3-tip::after { content: ""; position: absolute; left: 50%; top: 100%; margin-left: -6px; border: 6px solid transparent; border-top-color: #faf7f2; }
.ab3-tool:hover .ab3-tip, .ab3-tool:focus-visible .ab3-tip, .ab3-tool.tip-on .ab3-tip { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
.ab3-tool.tip-off .ab3-tip { opacity: 0 !important; }
.still .ab3-tool, .still .ab3-tip { transition: none; }
@media (max-width: 900px) { .ab3-tool-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .ab3-tool-cols { grid-template-columns: minmax(0, 1fr); } }
/* groups flow like words: each sized to its icons, so the whole tile is a few short lines */
.ab3-tool-cols { display: flex !important; flex-wrap: wrap; gap: 18px 36px; }
.ab3-tool-cols > * { flex: 0 1 auto; min-width: 0; max-width: 100%; }
.ab3-tool-list { gap: 6px; }

/* Speaking: the travel map sits between the talks and where I've taught (talks are born on trips) */
.sp-map { margin: 56px 0 8px; }
.sp-map-t { position: relative; padding: 26px; min-height: 540px; border-radius: 28px; }
.sp-map-t .map { flex: 1; min-height: 0; width: 100%; }
.sp-map-t .map-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 8px 16px; }
.sp-map-t .map-title { font-size: clamp(20px, 2vw, 26px); }
.sp-map-t .map-info { position: absolute; left: 26px; bottom: 24px; }
@media (max-width: 700px) { .sp-map-t { min-height: 420px; padding: 20px; } .sp-map-t .map-info { position: static; margin-top: 8px; } }
.ab3-tool-cols { align-content: flex-start; }

/* Tools: no ring around the icons; in dark mode, soft light glyphs on a faint tint instead of bright white dots */
.ab3-tool { border: 0; background: none; }
.ab3-tool .ab3-tool-ico { width: 36px; height: 36px; background: color-mix(in srgb, var(--ink) 7%, transparent); }
.ab3-tool:hover, .ab3-tool:focus-visible, .ab3-tool.tip-on { border-color: transparent; }
.ab3-tool:hover .ab3-tool-ico, .ab3-tool:focus-visible .ab3-tool-ico, .ab3-tool.tip-on .ab3-tool-ico { background: color-mix(in srgb, var(--ink) 14%, transparent); }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .ab3-tool .ab3-tool-ico { background: rgba(250, 247, 242, .07); }
  :root:not([data-theme="light"]) .ab3-tool .ab3-tool-ico img:not(.full) { filter: invert(1) brightness(.9); opacity: .78; }
  :root:not([data-theme="light"]) .ab3-tool .ab3-tool-ico img.full { opacity: .85; }
  :root:not([data-theme="light"]) .ab3-tool .ab3-tool-ico b { color: rgba(250, 247, 242, .8); }
  :root:not([data-theme="light"]) .ab3-tool:hover .ab3-tool-ico, :root:not([data-theme="light"]) .ab3-tool:focus-visible .ab3-tool-ico, :root:not([data-theme="light"]) .ab3-tool.tip-on .ab3-tool-ico { background: rgba(250, 247, 242, .16); }
  :root:not([data-theme="light"]) .ab3-tool:hover img, :root:not([data-theme="light"]) .ab3-tool:focus-visible img { opacity: 1; }
}

/* About intro: icon links (email, résumé, LinkedIn) with name tooltips */
.ab3-icos { display: flex; gap: 12px; }
.ab3-ico { position: relative; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: color-mix(in srgb, var(--ink) 8%, transparent); color: var(--ink); text-decoration: none; transition: transform .3s var(--spring), background .2s; }
.ab3-ico svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ab3-ico svg.fill { fill: currentColor; stroke: none; }
.ab3-ico.pj-main { background: var(--ink); color: var(--bg, #faf7f2); }
.ab3-ico:hover, .ab3-ico:focus-visible { transform: translateY(-3px) scale(1.06); background: color-mix(in srgb, var(--ink) 16%, transparent); }
.ab3-ico.pj-main:hover, .ab3-ico.pj-main:focus-visible { background: var(--ink); }
.ab3-ico:focus-visible { outline: 2px solid var(--accent, #9a4a2a); outline-offset: 3px; }
.ab3-ico:hover .ab3-tip, .ab3-ico:focus-visible .ab3-tip { opacity: 1; transform: translate(-50%, 0); }
.still .ab3-ico { transition: none; }
.ab3-tip { background: var(--ink); color: var(--bg); } .ab3-tip::after { border-top-color: var(--ink); }

/* Listening to: the right side tells you what the hovered book is about */
@media (min-width: 701px) {
  .ab3-books { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); grid-template-rows: auto 1fr auto; column-gap: 28px; }
  .ab3-books > .bx-lbl { grid-column: 1 / -1; }
  .ab3-books .ab3-shelf { grid-column: 1; grid-row: 2; }
  .ab3-books .ab3-book-note { grid-column: 1; grid-row: 3; }
  .ab3-book-about { grid-column: 2; grid-row: 2 / 4; align-self: end; padding-left: 22px; border-left: 2px solid color-mix(in srgb, var(--ink) 14%, transparent); }
}
.ab3-book-tag { display: block; margin-bottom: 6px; font: 700 12px/1.2 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.ab3-book-about p { margin: 0; font-size: 15px; line-height: 1.5; color: var(--ink); max-width: 38ch; }
.ab3-book-about.swap p, .ab3-book-about.swap .ab3-book-tag { animation: bookIn .45s var(--ease) both; }
@keyframes bookIn { from { opacity: 0; transform: translateY(6px); } }
.still .ab3-book-about * { animation: none !important; }
@media (max-width: 700px) { .ab3-book-about { margin-top: 12px; } }

/* Tools as clusters (like app folders): each group is a compact grid, groups sit side by side */
.ab3-tool-cols { display: grid !important; grid-template-columns: repeat(auto-fill, minmax(236px, 1fr)); gap: 14px; align-items: start; }
.ab3-tool-cols > * { padding: 14px 14px 12px; border-radius: 18px; background: color-mix(in srgb, var(--ink) 4%, transparent); }
.ab3-tool-h { font-size: 15px; margin-bottom: 10px; }
.ab3-tool-list { display: grid; grid-template-columns: repeat(5, 40px); gap: 4px 2px; justify-content: start; }
.ab3-tool { width: 40px; height: 40px; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .ab3-tool-cols > * { background: rgba(250, 247, 242, .035); } }

/* ═════ Design & Travel prototype: drawn, animated docs (no private business numbers) ═════ */
.px-html:has(.dd) { padding: 0; display: block; height: 100%; }
.dd { height: 100%; padding: 14px 16px; background: #fbfaf7; color: #1c1a17; font: 500 12px/1.3 var(--sans); overflow: hidden; }
.dd-h { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-bottom: 10px; padding-bottom: 8px; border-bottom: 1px solid #ece6dc; }
.dd-h b { font: 700 15px/1.2 var(--display); }
.dd-h span { color: #6b645a; font-size: 12px; }
.dd-row { display: flex; align-items: center; gap: 10px; padding: 6px 8px; margin-bottom: 5px; border-radius: 9px; background: #fff; box-shadow: 0 1px 0 #ece6dc; }
.dd-row span { flex: 1; min-width: 0; } .dd-row b { display: block; font-weight: 700; font-size: 12px; } .dd-row small { color: #6b645a; font-size: 12px; }
.dd-row u { text-decoration: none; padding: 2px 8px; border-radius: 6px; background: #efeafb; color: #5a3fc0; font-weight: 700; font-size: 12px; }
.dd-av { position: relative; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--c); color: #fff; font: 700 12px/1 var(--sans); font-style: normal; flex: none; }
.dd-av em { position: absolute; right: -1px; bottom: -1px; width: 7px; height: 7px; border-radius: 50%; background: #2fbf71; border: 1.5px solid #fff; }
.dd-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.dd-k { margin: 2px 0 6px; font: 700 12px/1 var(--sans); letter-spacing: .06em; text-transform: uppercase; color: #6b645a; }
.dd-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--c); flex: none; }
.dd-num { display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: #c4552f; color: #fff; font: 700 12px/1 var(--sans); font-style: normal; flex: none; }
.dd-bar { height: 8px; border-radius: 99px; background: #ece6dc; overflow: hidden; } .dd-bar span { display: block; height: 100%; width: 72%; border-radius: inherit; background: linear-gradient(90deg, #c4552f, #e0a526); transform-origin: left; }
.dd-cap { display: block; margin-top: 4px; color: #6b645a; font-size: 12px; }
.dd-tick { position: relative; width: 18px; height: 18px; border-radius: 50%; background: #2f8a5b; flex: none; }
.dd-tick::after { content: ""; position: absolute; left: 6px; top: 3px; width: 4px; height: 8px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.dd-foot { margin: 8px 0 0; font-weight: 700; color: #2f8a5b; }
/* animation: rows cascade in, dots breathe, bar fills, ticks pop, each time a screen opens */
.px-scr.on .dd-row { animation: ddIn .5s calc(var(--d) * 110ms + 120ms) var(--ease) both; }
.px-scr.on .dd-bar span { animation: ddFill 1.4s .5s cubic-bezier(.16, 1, .3, 1) both; }
.px-scr.on .dd-tick { animation: ddTick .45s calc(var(--d) * 260ms + 450ms) var(--spring) both; }
.px-scr.on .dd-av em { animation: ddBreathe 2.4s calc(var(--d) * 200ms) ease-in-out infinite; }
.px-scr.on .dd-foot { animation: ddIn .5s 1.6s var(--ease) both; }
@keyframes ddIn { from { opacity: 0; transform: translateY(8px); } }
@keyframes ddFill { from { transform: scaleX(0); } }
@keyframes ddTick { from { transform: scale(0); } 60% { transform: scale(1.25); } }
@keyframes ddBreathe { 50% { transform: scale(1.35); opacity: .6; } }
.still .dd *, .still .dd { animation: none !important; }
@media (prefers-reduced-motion: reduce) { .dd, .dd * { animation: none !important; } }

/* ═════ Tools carousel: one module, one group per snap-slide ═════ */
.ab3 > .ab3-tools { grid-column: span 2; grid-row: span 2; display: flex; flex-direction: column; gap: 10px; }
.ab3-tools .ab3-tool-cols { display: flex !important; flex: 1; gap: 0; overflow-x: auto; overflow-y: visible; scroll-snap-type: x mandatory; scrollbar-width: none; padding-top: 44px; margin-top: -44px; }
.ab3-tools .ab3-tool-cols::-webkit-scrollbar { display: none; }
.ab3-tools .ab3-tool-cols > * { flex: 0 0 100%; scroll-snap-align: start; scroll-snap-stop: always; padding: 0; background: none !important; border-radius: 0; }
.ab3-tools .ab3-tool-h { font-size: 18px; margin-bottom: 12px; }
.ab3-tools .ab3-tool-list { grid-template-columns: repeat(auto-fill, 44px); gap: 8px 6px; }
.ab3-tools .ab3-tool { width: 44px; height: 44px; }
.tl-foot { display: flex; align-items: center; gap: 8px; min-height: 32px; }
.tl-dots { display: flex; gap: 6px; }
.tl-dots button { width: 24px; height: 24px; padding: 0; border: 0; background: none; cursor: pointer; display: grid; place-items: center; }
.tl-dots button::before { content: ""; width: 8px; height: 8px; border-radius: 99px; background: color-mix(in srgb, var(--ink) 25%, transparent); transition: width .35s var(--spring), background .2s; }
.tl-dots button[aria-current]::before { width: 22px; background: var(--ink); }
.tl-dots button:focus-visible, .tl-nav:focus-visible { outline: 2px solid var(--accent, #9a4a2a); outline-offset: 2px; border-radius: 99px; }
.tl-nav { width: 28px; height: 28px; padding: 0; border: 0; border-radius: 50%; background: color-mix(in srgb, var(--ink) 8%, transparent); color: var(--ink); font: 600 17px/1 var(--sans); cursor: pointer; display: grid; place-items: center; }
.tl-nav:hover { background: color-mix(in srgb, var(--ink) 16%, transparent); }
.tl-nav svg { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.tl-play .i-play { display: none; fill: currentColor; stroke: none; } .tl-stopped .tl-play .i-play { display: block; } .tl-stopped .tl-play .i-pause { display: none; }
.tl-count { font: 700 13px/1 var(--sans); font-variant-numeric: tabular-nums; color: var(--muted); margin-left: 4px; }
.tl-hover { flex: 1; min-width: 0; text-align: right; font: 600 13px/1.2 var(--sans); color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 900px) { .ab3 > .ab3-tools { grid-column: 1 / -1; } }
@media (max-width: 560px) { .tl-hover { display: none; } }

/* Tools carousel fixes: slides sit side by side; the hover readout lives in the header */
.ab3-tools .ab3-tool-cols { flex-wrap: nowrap !important; align-items: flex-start; }
.ab3-tools { position: relative; }
.ab3-tools .tl-hover { position: absolute; top: 22px; right: 26px; max-width: 55%; }
@media (max-width: 560px) { .ab3-tools .tl-hover { display: none; } }

/* Book club tiles: host logo, the book and what it's about */
.bc-lbl { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.bc-host { display: inline-flex; align-items: center; gap: 5px; padding: 2px 8px 2px 3px; border-radius: 99px; background: color-mix(in srgb, var(--ink) 8%, transparent); letter-spacing: 0; text-transform: none; font-weight: 700; color: var(--ink); }
.bc-host img { width: 16px; height: 16px; border-radius: 4px; background: #fff; }
.bx-bc .bx-big { font-size: 56px; line-height: 1; }
.bx-bc .bx-sub { margin-bottom: 10px !important; }
.bx-bc .bx-go { top: 18px; right: 18px; bottom: auto; left: auto; }
.bc-book { display: flex; gap: 10px; align-items: flex-start; margin-top: auto; }
.bc-book img { width: 42px; aspect-ratio: 2 / 3; object-fit: cover; border-radius: 4px; box-shadow: 0 8px 14px -8px rgba(0, 0, 0, .55); flex: none; }
.bc-book span { min-width: 0; font-size: 12px; line-height: 1.35; }
.bc-book b { display: block; font-size: 13px; } .bc-book small { display: block; color: var(--muted); font-size: 12px; }
.bc-book em { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-top: 3px; font-style: normal; color: var(--muted); }
.bc-lbl { padding-right: 52px; } .bc-lbl .bc-host { flex-basis: auto; }

/* Speaking talk cards: no ghost at rest. Photo in full color, stamp already tucked in the corner; hover adds a gentle zoom + stamp wiggle */
.tk2-photo { opacity: 1; filter: none; transform: scale(1); }
.tk2-stamp.stamp { transform: translate(calc(-50% + 34%), calc(-50% - 30%)) rotate(calc(var(--r) * -1.6)) scale(.62); }
.tk2-cap { opacity: 1; transform: none; }
.tk2-card:hover .tk2-photo, .tk2-card:focus-within .tk2-photo { transform: scale(1.05); }
.tk2-card:hover .tk2-stamp, .tk2-card:focus-within .tk2-stamp { transform: translate(calc(-50% + 34%), calc(-50% - 30%)) rotate(calc(var(--r) * -.4)) scale(.68); }

/* Design lesson: a quiet callout, not a white slab */
.tk2-beats li.lesson { padding: 10px 12px 10px 38px; border-radius: 4px 12px 12px 4px; background: color-mix(in srgb, #d9a34f 12%, transparent); border-left: 3px solid #d9a34f; color: var(--ink); font: 600 15px/1.35 var(--display); }
.tk2-beats li.lesson b, :root[data-theme="dark"] .tk2-beats li.lesson b { color: #8a4a12; }
.tk2-beats li.lesson::before { left: 11px; top: 11px; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .tk2-beats li.lesson b { color: #e6b866; } :root:not([data-theme="light"]) .tk2-beats li.lesson { background: rgba(217, 163, 79, .1); } }
:root[data-theme="dark"] .tk2-beats li.lesson b { color: #e6b866; }

/* D&T docs render at a fixed design size and scale to fit the window (like a screenshot), so nothing is cut mid-row */
.px-html:has(.dd) { position: relative; overflow: hidden; background: #fbfaf7; }
.px-html .dd { position: absolute; left: 0; top: 0; width: 560px; height: auto; transform-origin: 0 0; transform: translate(var(--dx, 0px), 0) scale(var(--ds, 1)); padding-bottom: 30px; }
.dd-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 8px; }
.dd-grid { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); } .dd-cols { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }

/* floating tooltip replaces the in-card ones (those stay in the page, invisible, so Ctrl+F still finds tool names) */
.ab3-tool .ab3-tip, .ab3-ico .ab3-tip, .ab3-tool:hover .ab3-tip, .ab3-tool:focus-visible .ab3-tip, .ab3-tool.tip-on .ab3-tip, .ab3-ico:hover .ab3-tip, .ab3-ico:focus-visible .ab3-tip { opacity: 0 !important; pointer-events: none !important; }
.ftip { position: fixed; z-index: 9999; left: 0; top: 0; padding: 6px 10px; border-radius: 8px; background: var(--ink); color: var(--bg); font: 600 13px/1.2 var(--sans); white-space: nowrap; box-shadow: 0 10px 22px -10px rgba(0, 0, 0, .5); opacity: 0; transform: translateY(4px); transition: opacity .15s, transform .2s var(--spring); pointer-events: none; }
.ftip.on { opacity: 1; transform: none; }
.ftip::after { content: ""; position: absolute; left: var(--ax, 50%); top: 100%; margin-left: -6px; border: 6px solid transparent; border-top-color: var(--ink); }
.ftip.below::after { top: auto; bottom: 100%; border-top-color: transparent; border-bottom-color: var(--ink); }
.still .ftip { transition: none; }

/* ═════ Speaking v3: simple talk cards. Photo, a stamp layer hanging off the corner, title, one lesson. Details in the modal. ═════ */
.tk3 { list-style: none; margin: 34px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 64px 40px; }
.tk3-card { position: relative; display: flex; flex-direction: column; gap: 6px; outline: none; }
.tk3-card:nth-child(3n + 2) { margin-top: 72px; }
.tk3-pic { position: relative; margin: 0 0 12px; aspect-ratio: 4 / 5; border-radius: 22px; overflow: hidden; transform: rotate(calc(var(--r) * .22)); box-shadow: 0 26px 44px -26px rgba(16, 27, 61, .55); transition: transform .6s var(--spring), box-shadow .5s; }
.tk3-pic img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 1.2s var(--ease); }
.tk3-cap { position: absolute; left: 14px; bottom: 14px; padding: 5px 11px; border-radius: 99px; background: rgba(250, 247, 242, .92); color: #1c1a17; font: 600 12px/1.2 var(--sans); }
.tk3-stamp.stamp { position: absolute; top: -30px; right: -26px; z-index: 3; margin: 0; background: var(--bg); transform: rotate(var(--r)) scale(.72); transform-origin: 70% 30%; box-shadow: 0 12px 22px -12px rgba(16, 27, 61, .45); transition: transform .5s var(--spring); pointer-events: none; }
.tk3-num { margin: 0; font: 700 12px/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.tk3-title { margin: 0; font: 600 clamp(22px, 2vw, 27px)/1.18 var(--display); text-wrap: balance; }
.tk3-open { all: unset; cursor: pointer; }
.tk3-open::after { content: ""; position: absolute; inset: -8px; z-index: 4; border-radius: 26px; }
.tk3-open:focus-visible::after { outline: 2px solid var(--accent, #9a4a2a); outline-offset: 2px; }
.tk3-lesson { margin: 2px 0 0; font: italic 400 16px/1.45 var(--display); color: var(--muted); max-width: 34ch; }
.tk3-lesson::before { content: "“"; } .tk3-lesson::after { content: "”"; }
.tk3-more { margin-top: 6px; font: 700 14px/1 var(--sans); color: var(--terra-ink, #9a4a2a); }
.tk3-more i { display: inline-block; font-style: normal; transition: transform .35s var(--spring); }
/* hover: the photo straightens and lifts, the stamp swings toward you, the arrow nudges */
.tk3-card:hover .tk3-pic, .tk3-card:focus-within .tk3-pic { transform: rotate(0) translateY(-8px); box-shadow: 0 36px 56px -28px rgba(16, 27, 61, .6); }
.tk3-card:hover .tk3-pic img, .tk3-card:focus-within .tk3-pic img { transform: scale(1.06); }
.tk3-card:hover .tk3-stamp, .tk3-card:focus-within .tk3-stamp { transform: rotate(calc(var(--r) * -.6)) scale(.8) translate(-6px, 4px); }
.tk3-card:hover .tk3-more i, .tk3-card:focus-within .tk3-more i { transform: translateX(6px); }
/* click: the stamp thunks down before the full talk opens */
.tk3-card.thunk .tk3-stamp { animation: tkThunk .32s var(--spring); }
@keyframes tkThunk { 0% { transform: rotate(var(--r)) scale(1.05); } 55% { transform: rotate(var(--r)) scale(.66); } 100% { transform: rotate(var(--r)) scale(.74); } }
.still .tk3-pic, .still .tk3-pic img, .still .tk3-stamp, .still .tk3-more i { transition: none; } .still .tk3-card.thunk .tk3-stamp { animation: none; }
@media (max-width: 1000px) { .tk3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .tk3-card:nth-child(3n + 2) { margin-top: 0; } .tk3-card:nth-child(even) { margin-top: 56px; } }
@media (max-width: 620px) { .tk3 { grid-template-columns: minmax(0, 1fr); gap: 56px; } .tk3-card:nth-child(n) { margin-top: 0; } .tk3-stamp.stamp { right: -8px; top: -22px; transform: rotate(var(--r)) scale(.62); } }
/* talk modal photo */
.tk3-sheet-pic { position: relative; margin: 14px 0 0; border-radius: 16px; overflow: hidden; aspect-ratio: 16 / 9; }
.tk3-sheet-pic img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tk3-sheet-pic figcaption { position: absolute; left: 12px; bottom: 12px; padding: 4px 10px; border-radius: 99px; background: rgba(250, 247, 242, .92); color: #1c1a17; font: 600 12px/1.2 var(--sans); }
.tk3-blank { display: grid; place-items: center; align-content: center; gap: 18px; padding: 28px; text-align: center; background: repeating-linear-gradient(135deg, transparent 0 14px, color-mix(in srgb, var(--ink) 4%, transparent) 14px 15px), var(--card); border: 2px dashed color-mix(in srgb, var(--ink) 20%, transparent); box-shadow: none; }
.tk3-blank p { margin: 0; max-width: 24ch; color: var(--muted); font-size: 15px; }
.tk3-blank .tk3-empty.stamp { position: static; transform: rotate(var(--r)) scale(1); background: transparent; box-shadow: none; }
.tk3-next:hover .tk3-blank .tk3-empty { transform: rotate(0) scale(1.06); }
.tk3-lesson.tk3-plain { font-style: normal; font-family: var(--sans); font-size: 15px; } .tk3-plain::before, .tk3-plain::after { content: none; }
.sp-col .sess-grid > * { grid-column: 1 / -1 !important; }

/* Nav: every page stays reachable at every width (short labels from 900px down, nothing hidden) */
@media (max-width: 900px) { .nav.itin a .nv-l { display: none !important; } .nav.itin a .nv-s { display: inline !important; font: 600 13px/1 var(--sans); } }
@media (max-width: 560px) { .it-stops li:has(a[data-nav="speaking"]), .it-stops li:has(a[data-nav="about"]) { display: list-item !important; } .nav.itin a { padding: 8px 6px !important; } .nav.itin a .nv-s { font-size: 12px; } .it-stops li + li::before { display: none; } }
@media (max-width: 380px) { .nav.itin a { padding: 8px 4px !important; } .nv-cv { padding-inline: 10px !important; } }

/* ═════ Device tiers: the bento re-packs for tablet and phone sizes instead of stretching every tile full-screen ═════ */
/* tablet (701–1100): 2 columns, shorter rows */
@media (min-width: 701px) and (max-width: 1100px) {
  .bx { grid-auto-rows: 250px; gap: 16px; }
  .bx-phone .px-dev, .bx-phone .mk-phone { max-height: 440px; }
}
/* phone (≤700): small stat tiles pair up like iPhone widgets; big tiles span; nothing is taller than about half the screen */
@media (max-width: 700px) {
  .bx { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .bx > .bx-2x2, .bx > .bx-2x1, .bx > .bx-1x2 { grid-column: 1 / -1; }
  .bx-t { min-height: 0; padding: 18px; border-radius: 22px; }
  .bx-phone { min-height: 0; height: min(460px, 58svh); }
  .bx-2x1 { min-height: 210px; }
  .bx > .bx-1x1 { min-height: 190px; }
  .bx-lbl { font-size: 12px; letter-spacing: .06em; }
  .bx-big, .bx-bc .bx-big { font-size: clamp(34px, 10vw, 44px); }
  .bx-big span { font-size: 24px; }
  .bx-sub { font-size: 13px; }
  .bx-rev .bx-q { font-size: 13px; line-height: 1.4; margin-bottom: 44px; }
  .bx-qt { -webkit-line-clamp: 4; }
  .bx-go { width: 36px; height: 36px; left: 14px; bottom: 14px; }
  .bx-bc .bx-go { top: 12px; right: 12px; left: auto; bottom: auto; }
  .bc-lbl { padding-right: 40px; }
  .bc-book em { display: none; }
  .bc-book img { width: 34px; }
  .bx-say { padding: 24px; }
  .bx-say h1, .bx-say .bx-h { font-size: clamp(30px, 8.6vw, 40px); }
  .px-note { font-size: 12px; }
  .ul-btn { transform: scale(.9); }
}
/* small phones (≤380): single column again so nothing gets cramped */
@media (max-width: 380px) {
  .bx { grid-template-columns: minmax(0, 1fr); }
  .bx > .bx-1x1 { min-height: 170px; }
}
/* pages: headings and gutters scale down on phones */
@media (max-width: 700px) {
  .pg-head h1, .view > header h1, .cz h1, .pj h1 { font-size: clamp(34px, 9.5vw, 46px); }
  .sp-h2, .cz h2 { font-size: clamp(24px, 6.4vw, 30px); }
}
@media (max-width: 700px) {
  .bx-stamps .bx-pass { flex-wrap: wrap; justify-content: center; align-content: center; gap: 0 4px; }
  .bx-stamps .bx-stamp.stamp { transform: rotate(var(--r)) scale(.5); margin: -22px -26px; }
  .bx-stamps .bx-stamp.stamp:hover, .bx-stamps .bx-stamp.stamp:focus-visible { transform: rotate(0) scale(.56); }
  .bx-stamps { min-height: 0; }
}
@media (max-width: 700px) {
  .bx-stamps .bx-pass { display: flex !important; flex-direction: row !important; flex-wrap: wrap; justify-content: center; align-items: center; gap: 6px 2px; zoom: .62; padding: 10px 0 40px; }
  .bx-stamps .bx-stamp.stamp { margin: 0 -6px; transform: rotate(var(--r)) scale(.9); }
  .bx-stamps .bx-stamp.stamp:hover, .bx-stamps .bx-stamp.stamp:focus-visible { transform: rotate(0) scale(1); }
}
.nv-cv-i { display: none; width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 400px) {
  .nv-cv { padding: 0 !important; width: 36px; height: 36px; display: grid !important; place-items: center; border-radius: 50%; } .nv-cv-t { display: none; } .nv-cv-i { display: block; }
  .topbar { gap: 4px !important; } .topbar .motion-toggle, .topbar .sound-toggle { width: 34px !important; height: 34px !important; }
  .nav.itin { padding: 4px !important; gap: 0 !important; }
}
@media (max-width: 340px) { .nav.itin a { padding: 8px 3px !important; } .nav.itin a .nv-s { font-size: 11.5px; letter-spacing: 0; } }
@media (max-width: 340px) { .topbar .motion-toggle, .topbar .sound-toggle { width: 30px !important; height: 30px !important; } .nv-cv { width: 32px; height: 32px; } }

/* ═════ Welcome v2: editorial, personal, plain. Her photo + a clean list, like a departures board without the codes ═════ */
.gate.gt2 { background: var(--bg); background-image: none; display: grid; place-items: center; padding: 32px 20px; overflow-y: auto; }
.gate.gt2::before, .gate.gt2::after { content: none !important; }
.gt2 .gt-in { width: min(1040px, 100%); display: grid; grid-template-columns: minmax(0, 320px) minmax(0, 1fr); gap: 56px; align-items: center; text-align: left; }
.gt2 .gt-me { display: grid; gap: 10px; }
.gt2 .gt-face { width: 100%; max-width: 320px; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 22%; border-radius: 22px; box-shadow: 0 30px 60px -34px rgba(16, 27, 61, .6); transform: rotate(-2deg); transition: transform .8s var(--spring); }
.gt2 .gt-me:hover .gt-face { transform: rotate(0); }
.gt2 .gt-kick { margin: 8px 0 0; font: 600 26px/1.1 var(--display); color: var(--ink); letter-spacing: 0; text-transform: none; }
.gt2 .gt-role { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.45; max-width: 30ch; }
.gt2 .gt-h { margin: 0; font: 600 clamp(36px, 4.4vw, 56px)/1.04 var(--display); color: var(--ink); text-align: left; letter-spacing: -.01em; }
.gt2 .gt-sub { margin: 12px 0 26px; color: var(--muted); font-size: 16px; text-align: left; max-width: 44ch; }
.gt2 .gt-tickets { list-style: none; margin: 0; padding: 0; display: block; border-top: 1px solid var(--line); perspective: none; }
.gt2 .gt-tickets li { border-bottom: 1px solid var(--line); }
.gt2 .gt-tk { all: unset; box-sizing: border-box; width: 100%; display: grid; grid-template-columns: 36px minmax(0, 1fr) auto 36px; align-items: center; gap: 16px; padding: 18px 12px; border-radius: 14px; cursor: pointer; color: var(--ink); transition: background .25s, padding .35s var(--spring); transform: none !important; }
.gt2 .gt-no { font: 700 12px/1 var(--sans); letter-spacing: .1em; color: var(--muted); font-variant-numeric: tabular-nums; }
.gt2 .gt-main { display: grid; gap: 4px; }
.gt2 .gt-title { font: 600 clamp(20px, 2vw, 25px)/1.15 var(--display); }
.gt2 .gt-what { font-size: 14px; color: var(--muted); }
.gt2 .gt-dest { font: 700 13px/1 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); white-space: nowrap; font-variant-numeric: tabular-nums; }
.gt2 .gt-go { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: color-mix(in srgb, var(--ink) 7%, transparent); transition: transform .35s var(--spring), background .2s; }
.gt2 .gt-go svg { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; }
.gt2 .gt-tk:hover, .gt2 .gt-tk:focus-visible { background: color-mix(in srgb, var(--ink) 5%, transparent); padding-left: 18px; }
.gt2 .gt-tk:hover .gt-dest, .gt2 .gt-tk:focus-visible .gt-dest { color: var(--terra-ink, #9a4a2a); }
.gt2 .gt-tk:hover .gt-go, .gt2 .gt-tk:focus-visible .gt-go { background: var(--ink); color: var(--bg); transform: translateX(4px); }
.gt2 .gt-tk:focus-visible { outline: 2px solid var(--accent, #9a4a2a); outline-offset: 2px; }
.gt2 .gt-tk.gt-pick { background: var(--ink); color: var(--bg); } .gt2 .gt-tk.gt-pick .gt-what, .gt2 .gt-tk.gt-pick .gt-no, .gt2 .gt-tk.gt-pick .gt-dest { color: color-mix(in srgb, var(--bg) 75%, transparent); }
.gt2.gt-chosen .gt-tk:not(.gt-pick) { opacity: .35; }
.gt2 .gt-skip { margin-top: 20px; background: none; border: 0; padding: 10px 0; color: var(--muted); font: 600 14px/1 var(--sans); text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
.gt2 .gt-skip:hover { color: var(--ink); }
.gt2.gt-leave { opacity: 0; transition: opacity .4s; }
.gt2 .gt-in > * { animation: gtIn .7s var(--ease) both; } .gt2 .gt-pick-col { animation-delay: .12s; }
.gt2 .gt-tickets li { animation: gtIn .6s var(--ease) both; } .gt2 .gt-tickets li:nth-child(1) { animation-delay: .25s; } .gt2 .gt-tickets li:nth-child(2) { animation-delay: .32s; } .gt2 .gt-tickets li:nth-child(3) { animation-delay: .39s; } .gt2 .gt-tickets li:nth-child(4) { animation-delay: .46s; }
@keyframes gtIn { from { opacity: 0; transform: translateY(10px); } }
.still .gt2 *, .still .gt2 { animation: none !important; transition: none !important; }
@media (max-width: 800px) {
  .gt2 .gt-in { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .gt2 .gt-me { grid-template-columns: 72px minmax(0, 1fr); align-items: center; column-gap: 14px; row-gap: 2px; }
  .gt2 .gt-face { grid-row: span 2; width: 72px; border-radius: 50%; aspect-ratio: 1; transform: none; }
  .gt2 .gt-kick { margin: 0; font-size: 20px; }
  .gt2 .gt-tk { grid-template-columns: minmax(0, 1fr) 32px; padding: 16px 6px; gap: 10px; }
  .gt2 .gt-no, .gt2 .gt-dest { display: none; }
}

/* ═════ About v4: content-height rows with explicit placement (no gaps, no stretched tiles) ═════ */
.ab3 { grid-auto-rows: minmax(250px, auto) !important; grid-auto-flow: row !important; }
.ab3 > * { grid-row: auto !important; }
.ab3 > .ab3-look { grid-row: auto !important; }
@media (min-width: 1101px) {
  .ab3 { grid-template-columns: repeat(4, minmax(0, 1fr)); grid-template-rows: minmax(300px, auto) minmax(300px, auto); }
  .ab3 > #from { grid-column: 1 / 3 !important; grid-row: 1 / 3 !important; }
  .ab3 > .ab3-head { grid-column: 3 !important; grid-row: 1 !important; }
  .ab3 > #profiles { grid-column: 4 !important; grid-row: 1 !important; }
  .ab3 > .bx-bc { grid-column: 3 !important; grid-row: 2 !important; }
  .ab3 > figure:has(img[src*="talk-05"]) { grid-column: 4 !important; grid-row: 2 !important; }
  .ab3 > #worked { grid-column: 1 / 3 !important; grid-row: 3 !important; }
  .ab3 > .ab3-art { grid-column: 3 / 5 !important; grid-row: 3 !important; }
  .ab3 > #listening { grid-column: 1 / 3 !important; grid-row: 4 !important; }
  .ab3 > figure:has(img[src*="haunted"]) { grid-column: 3 !important; grid-row: 4 !important; }
  .ab3 > #offclock { grid-column: 4 !important; grid-row: 4 !important; }
  .ab3 > #tools { grid-column: 1 / 3 !important; grid-row: 5 !important; }
  .ab3 > .ab3-yt { grid-column: 3 / 5 !important; grid-row: 5 !important; }
  .ab3 > .ab3-badge { grid-column: 1 / 3 !important; grid-row: 6 !important; min-height: 300px; }
  .ab3 > .ab3-look { grid-column: 3 / 5 !important; grid-row: 6 !important; }
  .ab3 > #credentials { grid-column: 1 / -1 !important; grid-row: 7 !important; min-height: 0; }
}
/* tiles size to their content; keep inner spacing even */
.ab3 > .bx-t { padding: 26px; gap: 14px; }
.ab3 #from { justify-content: space-between; }
.ab3 #worked .ab3-logos, .ab3 #listening .ab3-shelf { margin-top: 18px; }
.ab3 #worked .ab3-logos li { height: 120px; }
.ab3 #offclock { justify-content: flex-start; }
.ab3 .ab3-tools .ab3-tool-cols { min-height: 150px; }
/* what I'm looking for: a normal tile in the grid */
@media (min-width: 701px) {
  .ab3 > .ab3-look { flex-direction: column !important; align-items: flex-start !important; justify-content: center !important; gap: 14px !important; padding: 30px 30px 30px 30px !important; }
  .ab3 > .ab3-look .bx-go { position: static !important; transform: none !important; margin-top: 6px; }
  .ab3 > .ab3-look .ab3-look-t { font-size: clamp(22px, 2vw, 28px); line-height: 1.25; }
}
@media (min-width: 701px) and (max-width: 1100px) { .ab3 > #credentials, .ab3 > .ab3-look, .ab3 > .ab3-badge { grid-column: 1 / -1 !important; } .ab3 > .ab3-badge { min-height: 320px; } }
@media (max-width: 700px) { .ab3 { grid-auto-rows: auto !important; } .ab3 > .bx-pic { min-height: 320px; } }
/* gate: rows are plain (no leftover ticket fills) */
.gt2 .gt-main, .gt2 .gt-tk > * { background: none !important; box-shadow: none !important; padding: 0 !important; border: 0 !important; }
.gt2 .gt-face { max-height: 58vh; }
/* About: photos fill their tile edge to edge and never set the row height */
.ab3 > .bx-pic { position: relative; padding: 0 !important; overflow: hidden; min-height: 260px; }
.ab3 > .bx-pic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ab3 > .bx-pic figcaption { z-index: 2; }
.ab3 > .ab3-badge img { object-position: center 30%; }
@media (min-width: 1101px) {
  .ab3 { grid-template-rows: minmax(300px, auto) minmax(300px, auto) auto auto auto minmax(300px, auto) auto !important; grid-auto-rows: auto !important; }
}
.ab3 > #credentials { padding-block: 20px !important; }
.ab3 #listening .ab3-shelf { margin-top: 8px; align-self: start; }
.ab3 #listening { justify-content: center; }
@media (max-width: 700px) { .ab3 > .ab3-fun { min-height: 250px !important; padding-bottom: 30px !important; } }
.gt2 .gt-tk > .gt-go { background: color-mix(in srgb, var(--ink) 7%, transparent) !important; }
.gt2 .gt-tk:hover > .gt-go, .gt2 .gt-tk:focus-visible > .gt-go { background: var(--ink) !important; }
.gt2 .gt-what { display: block !important; }

/* ═════ Home desktop: finer 100px rows so quiet tiles shrink and the Design & Travel prototype gets the big spot ═════ */
@media (min-width: 1101px) {
  .bx:not(.ab3) { grid-auto-rows: 100px !important; grid-template-rows: none; }
  .bx:not(.ab3) > .bx-say { grid-column: 1 / 3 !important; grid-row: 1 / 6 !important; }
  .bx:not(.ab3) > .bx-phone[data-proto="bound-voyage"] { grid-column: 3 !important; grid-row: 1 / 6 !important; }
  .bx:not(.ab3) > .bx-phone[data-proto="kaitchen"] { grid-column: 4 !important; grid-row: 1 / 6 !important; }
  .bx:not(.ab3) > .bx-latest { grid-column: 1 / 3 !important; grid-row: 6 / 8 !important; }
  .bx:not(.ab3) > .bx-team { grid-column: 3 / 5 !important; grid-row: 6 / 8 !important; }
  .bx:not(.ab3) > .bx-stamps { grid-column: 1 / 3 !important; grid-row: 8 / 11 !important; }
  .bx:not(.ab3) > .bx-rev { grid-column: 3 !important; grid-row: 8 / 11 !important; }
  .bx:not(.ab3) > .bx-chat { grid-column: 4 !important; grid-row: 8 / 11 !important; }
  .bx:not(.ab3) > .bx-dt { grid-column: 1 / 4 !important; grid-row: 11 / 17 !important; }
  .bx:not(.ab3) > .bx-pic { grid-column: 4 !important; grid-row: 11 / 14 !important; }
  .bx:not(.ab3) > .bx-seats { grid-column: 4 !important; grid-row: 14 / 17 !important; }
  /* the window fills its tile */
  .bx-dt .px-dev { width: calc(100% - 40px) !important; max-width: none !important; height: calc(100% - 118px) !important; margin: 4px auto 0 !important; transform: none !important; }
  .bx-dt:hover .px-dev { transform: none !important; }
  .bx-dt .px-tabs button { font-size: 15px; }
}
@media (min-width: 1101px) {
  .bx:not(.ab3) > .bx-dt { grid-row: 11 / 16 !important; }
  .bx:not(.ab3) > .bx-pic { grid-row: 11 / 13 !important; }
  .bx:not(.ab3) > .bx-seats { grid-row: 13 / 16 !important; }
  .bx-dt .px-dev { width: calc(100% - 52px) !important; }
}
@media (min-width: 1101px) and (max-width: 1279px) { .bx:not(.ab3) { grid-template-columns: 1fr 1fr 1.3fr 1.3fr !important; } }
/* badge photo removed: "What I'm looking for" spans the row as a slim band */
@media (min-width: 1101px) { .ab3 > .ab3-look { grid-column: 1 / -1 !important; grid-row: 6 !important; } .ab3 { grid-template-rows: minmax(300px, auto) minmax(300px, auto) auto auto auto auto auto !important; } }
@media (min-width: 701px) { .ab3 > .ab3-look { flex-direction: row !important; align-items: center !important; justify-content: space-between !important; padding: 28px 32px !important; } }

/* app names keep their real casing (kAItchen, Cr8 Tr8n) instead of being forced to ALL CAPS */
.bx-lbl.bx-name, .cs-kind .nm { text-transform: none; letter-spacing: .01em; font: 700 15px/1.2 var(--display); }

/* ═════ Full case study hero: a slow, tilted wall of the app's real screens; the name sits in front ═════ */
.cz-marq { display: none; }
.cz-hero { position: relative; height: clamp(260px, 34vw, 420px); margin: 0 calc(50% - 50vw) -130px; overflow: hidden; perspective: 1100px; background: var(--bg); -webkit-mask: linear-gradient(to bottom, #000 55%, transparent); mask: linear-gradient(to bottom, #000 55%, transparent); }
.cz-wall { position: absolute; left: 50%; top: -30%; width: 120%; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; transform: translateX(-50%) rotateX(calc(28deg + var(--py, 0) * -6deg)) rotateZ(calc(-14deg + var(--px, 0) * 4deg)); transform-origin: 50% 30%; transition: transform 1.2s cubic-bezier(.16, 1, .3, 1); }
.cz-col { display: flex; flex-direction: column; gap: 22px; animation: czDrift calc(90s + var(--r) * 20s) linear infinite; animation-direction: var(--dir, normal); }
.cz-col:nth-child(2) { --dir: reverse; margin-top: -120px; }
.cz-col img { width: 100%; aspect-ratio: 9 / 16; object-fit: cover; object-position: top; border-radius: 22px; box-shadow: 0 30px 50px -30px rgba(16, 27, 61, .5); opacity: .92; }
@keyframes czDrift { to { transform: translateY(-50%); } }
.cz-glow { position: absolute; inset: 0; background: radial-gradient(60% 70% at calc(50% + var(--px, 0) * 40%) calc(40% + var(--py, 0) * 30%), transparent 0, color-mix(in srgb, var(--bg) 55%, transparent) 70%); pointer-events: none; }
.cz-hero + .cz-head { position: relative; z-index: 2; }
.cz-hero + .cz-head h1 { font-size: clamp(56px, 8vw, 112px); line-height: .95; letter-spacing: -.02em; text-shadow: 0 2px 30px var(--bg), 0 0 2px var(--bg); }
.cz-hero + .cz-head .pj-back { display: inline-block; padding: 6px 12px; border-radius: 99px; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(6px); }
.still .cz-col { animation: none; } .still .cz-wall { transition: none; }
@media (prefers-reduced-motion: reduce) { .cz-col { animation: none; } }
@media (max-width: 700px) { .cz-hero { height: 240px; margin-bottom: -90px; } .cz-wall { width: 170%; gap: 12px; } .cz-col { gap: 12px; } .cz-col img { border-radius: 14px; } }

/* kAItchen card: the farm photos are the hero again (bigger fan, spread wide), the phone rises after */
[data-mode="dissolve"] .ph-strip { bottom: 34px; }
[data-mode="dissolve"] .ph-strip img { width: 150px; border-radius: 14px; transform-origin: 50% 150%; transform: translateX(-50%) rotate(calc((var(--k) - 2.5) * 11deg)) translateY(calc(var(--kk) * 6px)); }
.cs-photo:hover [data-mode="dissolve"] .ph-strip img { transform: translateX(-50%) rotate(calc((var(--k) - 2.5) * 15deg)) translate(calc((var(--k) - 2.5) * 30px), -12px); }
@media (max-width: 700px) { [data-mode="dissolve"] .ph-strip img { width: 110px; } }
.cz-hero { height: clamp(300px, 36vw, 460px); margin-bottom: -150px; -webkit-mask: linear-gradient(to bottom, #000 40%, transparent 96%); mask: linear-gradient(to bottom, #000 40%, transparent 96%); }
.cz-wall { width: 150%; top: -45%; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 26px; transform: translateX(-50%) rotateX(calc(34deg + var(--py, 0) * -6deg)) rotateZ(calc(-18deg + var(--px, 0) * 5deg)); }
.cz-col:nth-child(even) { --dir: reverse; margin-top: -160px; }
.cz-col img { opacity: 1; }
.cz-glow { background: radial-gradient(45% 60% at calc(50% + var(--px, 0) * 50%) calc(45% + var(--py, 0) * 40%), transparent 0, color-mix(in srgb, var(--bg) 30%, transparent) 75%); }
.cz-hero + .cz-head .pj-back { margin-bottom: 8px; }
.cz-wall { width: 180%; left: 58%; }

/* ═════ Travel map v2: whole world, Québec as places, countries with a talk invite a click ═════ */
.sp-map-t .map { aspect-ratio: 2 / 1; height: auto; flex: none; }
.map-t:hover .map, .map-t:focus-within .map { transform: none; }
.map .has-talk { fill: color-mix(in srgb, var(--terra) 70%, var(--tile-2)); cursor: pointer; }
.map .has-talk:hover, .map .has-talk.sel, .map .has-talk:focus-visible { fill: var(--terra); }
.map .pin.trip-pin { fill: #d9a34f; stroke: var(--tile); stroke-width: 1.2; }
.map-key .k-trip::before { width: 8px; height: 8px; background: #d9a34f; }
.map-key .k-talk::before { border-radius: 2px; background: color-mix(in srgb, var(--terra) 70%, var(--tile-2)); }
.map-bub { position: absolute; left: 0; top: 0; z-index: 6; width: 260px; padding: 12px 14px; border-radius: 16px 16px 16px 4px; background: var(--ink); color: var(--bg); box-shadow: 0 16px 30px -14px rgba(0, 0, 0, .5); pointer-events: none; opacity: 0; transition: opacity .18s; }
.map-bub.on { opacity: 1; }
.map-bub small { display: block; font: italic 500 13px/1.3 var(--display); opacity: .8; }
.map-bub b { display: block; margin: 4px 0; font: 600 16px/1.25 var(--display); }
.map-bub span { font: 700 12px/1 var(--sans); color: #e6b866; }
:root[data-theme="dark"] .map-bub span { color: #9a4a2a; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .map-bub span { color: #9a4a2a; } }
@media (hover: none) { .map-bub { display: none; } }
.sp-map-t .map-info { position: static !important; margin-top: 10px; }
:root[data-theme="dark"] .map-key .k-pin::before { background: #faf7f2; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .map-key .k-pin::before { background: #faf7f2; } }
/* welcome photo shuffle: cards deal on top of each other like a travel stack */
.gt2 .gt-shuffle { position: relative; aspect-ratio: 4 / 5; max-width: 320px; width: 100%; transform: none; box-shadow: none; }
.gt2 .gt-shuffle figure { position: absolute; inset: 0; margin: 0; border-radius: 22px; overflow: hidden; box-shadow: 0 30px 60px -34px rgba(16, 27, 61, .6); opacity: 0; transform: rotate(4deg) translateY(12px) scale(.96); transition: opacity .7s var(--ease), transform .9s var(--spring); }
.gt2 .gt-shuffle figure.on { opacity: 1; transform: rotate(-2deg); z-index: 2; }
.gt2 .gt-shuffle figure.out { opacity: 0; transform: rotate(-10deg) translate(-40px, 10px) scale(.94); z-index: 3; }
.gt2 .gt-shuffle img { width: 100%; height: 100%; object-fit: cover; }
.gt2 .gt-shuffle figcaption { position: absolute; left: 12px; bottom: 12px; padding: 4px 10px; border-radius: 99px; background: rgba(250, 247, 242, .92); color: #1c1a17; font: 600 12px/1.2 var(--sans); }
.still .gt2 .gt-shuffle figure { transition: none; }
@media (max-width: 800px) { .gt2 .gt-shuffle { width: 72px; max-width: 72px; aspect-ratio: 1; } .gt2 .gt-shuffle figure { border-radius: 50%; } .gt2 .gt-shuffle figcaption { display: none; } }
.ab3-head img { object-position: center 25% !important; }
/* résumé button: icon on phones (the nav hides label spans below ~640px) */
@media (max-width: 640px) { .nav.itin .nv-cv { display: grid !important; padding: 0 !important; width: 36px; height: 36px; place-items: center; border-radius: 50%; } .nav.itin .nv-cv .nv-cv-t { display: none !important; } .nav.itin .nv-cv .nv-cv-i { display: block !important; } }
@media (min-width: 641px) { .nav.itin .nv-cv .nv-cv-t { display: inline !important; } }

/* ═════ Welcome v3 ═════ */
.gt2 { overflow: hidden auto; }
.gt-aura { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.gt-aura i { position: absolute; width: 46vmax; height: 46vmax; border-radius: 50%; filter: blur(70px); opacity: .32; transition: transform 1.6s cubic-bezier(.16, 1, .3, 1); }
.gt-aura i:nth-child(1) { left: -12vmax; top: -16vmax; background: #d9a34f; transform: translate(calc(var(--gx, .5) * 6vmax), calc(var(--gy, .5) * 4vmax)); animation: aura 18s ease-in-out infinite alternate; }
.gt-aura i:nth-child(2) { right: -14vmax; bottom: -20vmax; background: #c4552f; opacity: .22; transform: translate(calc(var(--gx, .5) * -5vmax), calc(var(--gy, .5) * -4vmax)); animation: aura 22s ease-in-out -6s infinite alternate; }
.gt-aura i:nth-child(3) { left: 40%; top: 55%; width: 30vmax; height: 30vmax; background: #6b8fd6; opacity: .16; transform: translate(calc(var(--gx, .5) * 8vmax - 4vmax), calc(var(--gy, .5) * 6vmax - 3vmax)); animation: aura 26s ease-in-out -12s infinite alternate; }
@keyframes aura { to { translate: 4vmax -3vmax; scale: 1.12; } }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .gt-aura i { opacity: .2; } }
:root[data-theme="dark"] .gt-aura i { opacity: .2; }
.gt2 .gt-in { position: relative; z-index: 1; }
/* preview: the photo stack wipes to a peek of wherever that row goes */
.gt-stage { position: relative; width: 100%; max-width: 320px; }
.gt-peek { position: absolute; inset: 0; z-index: 4; margin: 0; border-radius: 22px; overflow: hidden; background: var(--card); box-shadow: 0 30px 60px -30px rgba(16, 27, 61, .6); clip-path: circle(0% at var(--ox, 100%) var(--oy, 50%)); transition: clip-path .7s cubic-bezier(.16, 1, .3, 1); transform: rotate(-2deg); }
.gt-stage.peeking .gt-peek { clip-path: circle(150% at var(--ox, 100%) var(--oy, 50%)); }
.gt-peek img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.gt-peek p { position: absolute; left: 10px; right: 10px; bottom: 10px; margin: 0; padding: 10px 12px; border-radius: 14px; background: rgba(16, 27, 61, .88); color: #faf7f2; font: 600 13px/1.35 var(--sans); backdrop-filter: blur(6px); }
/* greeting + typed facts */
.gt-hello { margin: 0 0 14px; font-size: 14px; color: var(--muted); }
.gt-hello b { color: var(--ink); }
.gt-fact { margin: 6px 0 0; min-height: 1.4em; font: italic 500 15px/1.4 var(--display); color: var(--terra-ink, #9a4a2a); }
.gt-fact-t::after { content: "|"; margin-left: 2px; font-style: normal; animation: ph-caret 1s steps(1) infinite; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .gt-fact { color: #e6b866; } }
:root[data-theme="dark"] .gt-fact { color: #e6b866; }
/* rows: a light follows the pointer; keys to choose */
.gt2 .gt-tk { position: relative; overflow: hidden; }
.gt2 .gt-tk::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(220px circle at var(--rx, 50%) 50%, color-mix(in srgb, #d9a34f 22%, transparent), transparent 70%); opacity: 0; transition: opacity .3s; }
.gt2 .gt-tk:hover::before, .gt2 .gt-tk:focus-visible::before { opacity: 1; }
.gt2 .gt-no kbd { display: inline-grid; place-items: center; min-width: 24px; height: 24px; padding: 0 6px; border-radius: 6px; border: 1px solid var(--line); border-bottom-width: 2px; background: var(--card); font: 700 12px/1 var(--sans); color: var(--muted); }
.gt2 .gt-tk:hover .gt-no kbd, .gt2 .gt-tk:focus-visible .gt-no kbd { color: var(--ink); border-color: var(--ink); }
.gt2 .gt-tk:hover .gt-title, .gt2 .gt-tk:focus-visible .gt-title { transform: translateX(4px); } .gt2 .gt-title { display: inline-block; transition: transform .35s var(--spring); }
.still .gt-aura i, .still .gt-fact-t::after { animation: none !important; } .still .gt-peek, .still .gt-aura i { transition: none; }
@media (prefers-reduced-motion: reduce) { .gt-aura i { animation: none !important; } }
@media (max-width: 800px) { .gt-stage { width: 72px; } .gt-peek { display: none; } .gt2 .gt-me { grid-template-columns: 72px minmax(0, 1fr); } .gt2 .gt-stage { grid-row: span 3; } .gt-fact { font-size: 14px; } }
.gt2 .gt-tk { isolation: isolate; }
.gt2 .gt-h:focus { outline: none; }
@media (hover: none), (max-width: 800px) { .gt-keys { display: none; } }

/* ═════ Welcome previews: a different little scene for each audience ═════ */
.gt-peek .pk { position: absolute; inset: 0; }
.gt-peek[data-v="work"] { background: linear-gradient(160deg, #e8edf7, #d5deef); }
.gt-peek[data-v="home"] { background: linear-gradient(160deg, #f3ece0, #e6dccb); }
.gt-peek[data-v="about"] { background: linear-gradient(160deg, #f4e7dc, #ead6c6); }
/* 1 · the new iPhone: thin even bezels, Dynamic Island, screens sliding through */
.pk-phone { display: grid; place-items: center; }
.pk-ip { position: relative; width: 56%; aspect-ratio: 9 / 19.5; border-radius: 34px; padding: 5px; background: linear-gradient(145deg, #5b5e66, #2a2c31 40%, #45474d); box-shadow: 0 0 0 1px #1a1b1e inset, 0 26px 40px -20px rgba(16, 27, 61, .6); transform: rotate(-4deg) translateY(12px); animation: pkRise .8s cubic-bezier(.16, 1, .3, 1) both; }
.pk-island { position: absolute; left: 50%; top: 11px; z-index: 2; width: 30%; height: 11px; border-radius: 99px; background: #0b0c0e; transform: translateX(-50%); animation: pkIsland 4.8s ease-in-out .9s infinite; }
.pk-scr { position: relative; height: 100%; border-radius: 30px; overflow: hidden; background: #faf7f2; }
.pk-scr img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; opacity: 0; animation: pkSlides 4.8s calc(var(--i) * 1.2s) infinite; }
.pk-chip { position: absolute; padding: 6px 10px; border-radius: 99px; background: #faf7f2; color: #101b3d; font: 700 12px/1 var(--sans); box-shadow: 0 10px 20px -10px rgba(16, 27, 61, .5); animation: pkPop .5s var(--spring) both; }
.pk-c1 { left: 8px; top: 22%; animation-delay: .35s; } .pk-c2 { right: 8px; top: 48%; animation-delay: .55s; }
@keyframes pkRise { from { transform: rotate(6deg) translateY(60px) scale(.8); opacity: 0; } }
@keyframes pkSlides { 0%, 20% { opacity: 1; transform: none; } 25%, 100% { opacity: 0; transform: translateX(-8%); } }
@keyframes pkIsland { 0%, 70%, 100% { width: 30%; height: 11px; } 78%, 92% { width: 62%; height: 18px; } }
@keyframes pkPop { from { transform: scale(.4); opacity: 0; } }
/* 2 · the overview: a browser window that scrolls itself, a cursor that wanders */
.pk-web { display: grid; place-items: center; padding: 12px; }
.pk-win { width: 100%; height: 78%; margin-top: -14%; border-radius: 12px; overflow: hidden; background: #fff; box-shadow: 0 20px 36px -18px rgba(16, 27, 61, .5); animation: pkRise .7s cubic-bezier(.16, 1, .3, 1) both; }
.pk-bar { display: flex; align-items: center; gap: 4px; height: 22px; padding: 0 8px; background: #101b3d; }
.pk-bar i { width: 6px; height: 6px; border-radius: 50%; background: rgba(250, 247, 242, .5); }
.pk-bar em { margin-left: 8px; font: 600 12px/1 var(--sans); font-style: normal; color: rgba(250, 247, 242, .85); }
.pk-page { height: calc(100% - 22px); overflow: hidden; } .pk-page img { width: 100%; animation: pkScroll 7s ease-in-out .6s infinite alternate; }
@keyframes pkScroll { to { transform: translateY(calc(-100% + 180px)); } }
.pk-cursor { position: absolute; left: 30%; top: 30%; width: 14px; height: 14px; background: #101b3d; clip-path: polygon(0 0, 100% 45%, 55% 55%, 45% 100%); animation: pkCursor 5s ease-in-out infinite; }
@keyframes pkCursor { 0%, 100% { translate: 0 0; } 30% { translate: 90px 40px; } 60% { translate: 40px 110px; } }
/* 3 · booking a speaker: you on stage, with a live mic sound wave */
.pk-stage img { width: 100%; height: 100%; object-fit: cover; }
.pk-live { position: absolute; left: 12px; top: 12px; display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 99px; background: rgba(16, 27, 61, .85); color: #faf7f2; font: 700 12px/1 var(--sans); letter-spacing: .06em; text-transform: uppercase; }
.pk-live i { width: 8px; height: 8px; border-radius: 50%; background: #ff4d4d; animation: pkBlink 1.2s ease-in-out infinite; }
.pk-wave { position: absolute; left: 12px; right: 12px; bottom: 64px; height: 48px; display: flex; align-items: center; gap: 3px; padding: 0 10px; border-radius: 14px; background: rgba(16, 27, 61, .55); backdrop-filter: blur(6px); }
.pk-wave i { flex: 1; height: 20%; border-radius: 99px; background: linear-gradient(#f5cf5c, #e07a4f); animation: pkWave 1.1s ease-in-out calc(var(--i) * -73ms) infinite alternate; }
.pk-wave i:nth-child(3n) { animation-duration: .8s; } .pk-wave i:nth-child(4n+1) { animation-duration: 1.4s; }
@keyframes pkWave { to { height: 92%; } }
@keyframes pkBlink { 50% { opacity: .25; } }
/* 4 · getting to know me: polaroids deal out and fan */
.pk-polar figure { position: absolute; left: 50%; top: 44%; width: 58%; margin: 0; padding: 7px 7px 26px; background: #fff; border-radius: 4px; box-shadow: 0 14px 26px -12px rgba(16, 27, 61, .5); transform: translate(-50%, -50%) rotate(calc((var(--i) - 1) * 12deg)) translateX(calc((var(--i) - 1) * 26%)); animation: pkDeal .7s calc(var(--i) * .12s) cubic-bezier(.16, 1, .3, 1) both; }
.pk-polar img { width: 100%; aspect-ratio: 1; object-fit: cover; display: block; }
.pk-polar figcaption { position: absolute; left: 0; right: 0; bottom: 6px; text-align: center; font: italic 600 12px/1 var(--display); color: #1c1a17; }
.pk-polar figure:nth-child(1) { z-index: 3; }
@keyframes pkDeal { from { transform: translate(-50%, 40%) rotate(0) scale(.7); opacity: 0; } }
.gt-peek p { z-index: 5; }
.still .gt-peek *, .still .gt-peek *::before { animation: none !important; }
.still .pk-scr img:first-child { opacity: 1; } .still .pk-wave i { height: 55%; }
@media (prefers-reduced-motion: reduce) { .gt-peek * { animation: none !important; } .pk-scr img:first-child { opacity: 1; } .pk-wave i { height: 55%; } }
.pk-phone { place-items: start center; padding-top: 16px; }
.pk-ip { width: 46%; transform: rotate(-4deg); }
.pk-c1 { top: 16%; } .pk-c2 { top: 42%; }
.pk-stage img { object-position: 70% 30%; }
.pk-wave { bottom: 78px; height: 40px; }
.pk-polar figure { top: 40%; width: 52%; }
.pk-web .pk-win { height: 70%; margin-top: -24%; }

/* ═════ Every phone mockup is the new iPhone: thin even titanium bezel, Dynamic Island, side buttons ═════ */
.mk-phone, .bx-dev, .px-phone .px-dev { padding: 4px !important; border-radius: 38px !important; aspect-ratio: 9 / 19.5 !important; background: linear-gradient(135deg, #8a8d93 0%, #3b3e44 18%, #26282c 50%, #4a4d53 82%, #9a9da3 100%) !important; box-shadow: inset 0 0 0 1.5px #16171a, inset 0 0 0 2.5px rgba(255, 255, 255, .12), 0 30px 46px -24px rgba(16, 27, 61, .6) !important; }
.mk-screen, .px-phone .px-screens, .bx-scr { border-radius: 34px !important; }
.mk-phone::before { top: 10px !important; width: 30% !important; height: 13px !important; border-radius: 99px !important; background: #050506 !important; box-shadow: inset 8px 0 0 -6px #1d2a4a; }
.px-phone .px-dev::before, .bx-dev::before { content: ""; position: absolute; left: 50%; top: 10px; z-index: 5; width: 30%; height: 13px; border-radius: 99px; background: #050506; transform: translateX(-50%); pointer-events: none; }
/* side buttons: action + volume on the left, power on the right */
.mk-phone::after, .px-phone .px-dev::after, .bx-dev::after { content: ""; position: absolute; left: -2px; top: 20%; width: 3px; height: 16%; border-radius: 2px; background: linear-gradient(#5d6066, #2a2c30); box-shadow: 0 -18% 0 0 #3a3d42, calc(100% + 0px) 0 0 transparent; pointer-events: none; }
.mk-phone { overflow: visible; }
/* Dynamic Island wakes up briefly when the phone is hovered */
.bx-phone:hover .bx-dev::before, .bx-phone:hover .px-dev::before, .cs-card:hover .mk-phone::before { animation: islandWake 1.6s cubic-bezier(.16, 1, .3, 1); }
@keyframes islandWake { 30%, 70% { width: 58%; height: 20px; } }
.still .bx-dev::before, .still .px-dev::before, .still .mk-phone::before { animation: none !important; }

/* iPhone 18: same bezels as the 17, Dynamic Island about 25–30% smaller */
.mk-phone::before, .px-phone .px-dev::before, .bx-dev::before, .pk-island { width: 22% !important; height: 10px !important; }
@keyframes islandWake { 30%, 70% { width: 50%; height: 18px; } }
@keyframes pkIsland { 0%, 70%, 100% { width: 22%; height: 10px; } 78%, 92% { width: 52%; height: 17px; } }

/* ═════ Phone prototypes: a real iOS tab bar. It floats on the screen as a frosted glass capsule, instead of a black strip stuck in the bezel ═════ */
.px-phone .px-dev { position: relative; display: flex; flex-direction: column; }
.px-phone .px-screens { flex: 1; border-radius: 34px !important; }
.px-phone .px-tabs { position: absolute; left: 12px; right: 12px; bottom: 20px; z-index: 6; gap: 0; padding: 4px; border-radius: 99px !important; background: rgba(250, 247, 242, .72); -webkit-backdrop-filter: blur(14px) saturate(1.6); backdrop-filter: blur(14px) saturate(1.6); box-shadow: 0 0 0 .5px rgba(16, 27, 61, .12), 0 8px 20px -8px rgba(16, 27, 61, .35); }
.px-phone .px-tabs button { min-height: 30px; padding: 0 2px; border-radius: 99px; color: #3c3a37; font: 600 12px/1 var(--sans); letter-spacing: -.2px; transition: background .25s, color .25s; }
.px-phone .px-tabs button[aria-selected="true"] { background: rgba(16, 27, 61, .1); color: #101b3d; font-weight: 700; }
.px-phone .px-tabs button:hover { color: #101b3d; }
/* home indicator */
.px-phone .px-dev > .px-screens::after { content: ""; position: absolute; left: 50%; bottom: 7px; z-index: 7; width: 34%; height: 4px; border-radius: 99px; background: rgba(16, 27, 61, .55); transform: translateX(-50%); pointer-events: none; }
/* screens run to the bottom behind the glass */
.px-phone .px-scr img { object-position: top; }
.px-phone .px-tabs { left: 10px; right: 10px; justify-content: space-between; }
.px-phone .px-tabs button.ico { flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; gap: 5px; min-width: 30px; height: 30px; padding: 0 7px; }
.px-phone .px-tabs button.ico svg { width: 17px; height: 17px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.px-phone .px-tabs button.ico .lbl { display: none; }
.px-phone .px-tabs button.ico[aria-selected="true"] { padding: 0 10px 0 8px; background: #101b3d; color: #faf7f2; }
.px-phone .px-tabs button.ico[aria-selected="true"] .lbl { display: inline; font: 700 12px/1 var(--sans); animation: tabIn .35s var(--spring); }
@keyframes tabIn { from { opacity: 0; transform: translateX(-4px); } }
.still .px-phone .px-tabs .lbl { animation: none; }
/* narrow phones: icons only, selected one gets the dark pill; wide enough phones also show the name */
.px-phone .px-dev { container-type: inline-size; container-name: pxdev; }
.px-phone .px-tabs button.ico { min-width: 0; flex: 1 1 0; padding: 0; height: 30px; }
.px-phone .px-tabs button.ico[aria-selected="true"] { padding: 0; }
.px-phone .px-tabs button.ico[aria-selected="true"] .lbl { display: none; }
@container pxdev (min-width: 250px) {
  .px-phone .px-tabs button.ico[aria-selected="true"] { flex: 2.4 1 0; padding: 0 8px; }
  .px-phone .px-tabs button.ico[aria-selected="true"] .lbl { display: inline; }
}
/* hidden tab names stay readable by screen readers (visually hidden, not display:none) */
.px-phone .px-tabs button.ico .lbl, .px-phone .px-tabs button.ico[aria-selected="true"] .lbl { display: inline; position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@container pxdev (min-width: 250px) { .px-phone .px-tabs button.ico[aria-selected="true"] .lbl { position: static; width: auto; height: auto; clip: auto; } }
.px-phone .px-tabs button.ico { position: relative; }

/* ═════ Welcome reactions v2: each choice does something different, in a different place ═════ */
.gt-fx { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.gt-fx .fx { position: absolute; opacity: 0; transition: opacity .4s, transform .9s cubic-bezier(.16, 1, .3, 1); }
/* hiring → an iPhone 18 rises from the right edge, level with the row */
.fx-phone { right: -40px; top: calc(var(--rowy, 50vh) - 210px); width: 200px; transform: translate(120px, 80px) rotate(14deg); }
.fx-phone .pk-ip { width: 100%; transform: none; animation: none; }
.gate[data-fx="work"] .fx-phone { opacity: 1; transform: translate(0, 0) rotate(-8deg); }
/* overview → a browser window drops in from the top-right corner */
.fx-web { right: -60px; top: -40px; width: 420px; height: 300px; transform: translate(80px, -260px) rotate(-6deg); }
.fx-web .pk-win { height: 100%; margin: 0; }
.gate[data-fx="home"] .fx-web { opacity: 1; transform: translate(0, 0) rotate(-6deg); }
/* speaking → a live wave runs through the row */
.gt-wave { position: absolute; left: 0; right: 0; bottom: 0; z-index: -1; height: 70%; display: flex; align-items: flex-end; gap: 4px; padding: 0 12px; opacity: 0; transition: opacity .3s; }
.gt-wave i { flex: 1; height: 8%; border-radius: 99px 99px 0 0; background: linear-gradient(to top, color-mix(in srgb, #e07a4f 45%, transparent), color-mix(in srgb, #f5cf5c 30%, transparent)); }
.gt-tk[data-gt="speaking"]:hover .gt-wave, .gt-tk[data-gt="speaking"]:focus-visible .gt-wave { opacity: 1; }
.gt-tk[data-gt="speaking"]:hover .gt-wave i, .gt-tk[data-gt="speaking"]:focus-visible .gt-wave i { animation: pkWave 1s ease-in-out calc(var(--i) * -61ms) infinite alternate; }
.gt-wave i:nth-child(3n) { animation-duration: .7s !important; } .gt-wave i:nth-child(5n+1) { animation-duration: 1.3s !important; }
.gt-live { position: absolute; right: 64px; top: 10px; display: inline-flex; align-items: center; gap: 5px; padding: 3px 8px; border-radius: 99px; background: #101b3d; color: #faf7f2; font: 700 12px/1 var(--sans); letter-spacing: .06em; text-transform: uppercase; opacity: 0; transform: translateY(-4px); transition: opacity .25s, transform .35s var(--spring); }
.gt-live i { width: 7px; height: 7px; border-radius: 50%; background: #ff4d4d; animation: pkBlink 1.2s ease-in-out infinite; }
.gt-tk[data-gt="speaking"]:hover .gt-live, .gt-tk[data-gt="speaking"]:focus-visible .gt-live { opacity: 1; transform: none; }
/* about → polaroids slide out from behind the photo and land around it */
.fx-polar { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.fx-polar figure { position: absolute; left: 50%; top: 50%; width: 46%; margin: 0; padding: 6px 6px 22px; background: #fff; border-radius: 3px; box-shadow: 0 14px 26px -12px rgba(16, 27, 61, .5); transform: translate(-50%, -50%) rotate(0) scale(.8); opacity: 0; transition: transform .8s cubic-bezier(.16, 1, .3, 1), opacity .3s; transition-delay: calc(var(--i) * 70ms); }
.fx-polar img { width: 100%; aspect-ratio: 1; object-fit: cover; display: block; }
.fx-polar figcaption { position: absolute; left: 0; right: 0; bottom: 5px; text-align: center; font: italic 600 12px/1 var(--display); color: #1c1a17; }
.gate[data-fx="about"] .fx-polar figure { opacity: 1; }
.gate[data-fx="about"] .fx-polar figure:nth-child(1) { transform: translate(-128%, -96%) rotate(-12deg); }
.gate[data-fx="about"] .fx-polar figure:nth-child(2) { transform: translate(34%, -112%) rotate(9deg); }
.gate[data-fx="about"] .fx-polar figure:nth-child(3) { transform: translate(-104%, 34%) rotate(7deg); }
.gt-stage .gt-face { position: relative; z-index: 1; }
.gt-what { transition: color .2s; }
.gt-tk:hover .gt-what, .gt-tk:focus-visible .gt-what { color: var(--ink); }
.still .gt-fx .fx, .still .fx-polar figure { transition: none; } .still .gt-wave i, .still .gt-live i { animation: none !important; } .still .gt-wave i { height: 40%; }
@media (prefers-reduced-motion: reduce) { .gt-wave i, .gt-live i { animation: none !important; } .gt-wave i { height: 40%; } }
@media (max-width: 1100px) { .gt-fx { display: none; } }
@media (max-width: 800px) { .fx-polar { display: none; } .gt-live { right: 52px; } }
/* overview window: smaller, bottom-right, clear of the heading */
.fx-web { top: auto; bottom: -30px; right: -40px; width: 340px; height: 230px; transform: translate(60px, 260px) rotate(-5deg); }
.gate[data-fx="home"] .fx-web { transform: translate(0, 0) rotate(-5deg); }
/* about: polaroids land in the open space at the bottom right, not behind the photo */
.gt-fx .fx-polar { position: absolute; inset: auto 3vw 4vh auto; width: 440px; height: 220px; opacity: 1; }
.gt-fx .fx-polar figure { left: auto; top: auto; right: 0; bottom: 0; width: 150px; transform: translate(40px, 280px) rotate(0); }
.gate[data-fx="about"] .fx-polar figure:nth-child(1) { transform: translate(-280px, -10px) rotate(-9deg); }
.gate[data-fx="about"] .fx-polar figure:nth-child(2) { transform: translate(-140px, -40px) rotate(5deg); }
.gate[data-fx="about"] .fx-polar figure:nth-child(3) { transform: translate(0, -4px) rotate(-3deg); }
/* LIVE badge keeps its dark pill */
.gt2 .gt-tk > .gt-live { background: #101b3d !important; padding: 3px 8px !important; }
.gt-fx .fx-polar { bottom: 1vh; } .gt-fx .fx-polar figure { width: 132px; } .gate[data-fx="about"] .fx-polar figure:nth-child(1) { transform: translate(-250px, 20px) rotate(-9deg); } .gate[data-fx="about"] .fx-polar figure:nth-child(2) { transform: translate(-124px, 0) rotate(5deg); } .gate[data-fx="about"] .fx-polar figure:nth-child(3) { transform: translate(0, 24px) rotate(-3deg); }

/* ═════ "What I'm building now": a live log card in the last Case studies slot ═════ */
.cs-now { background: var(--ink) !important; color: var(--bg); cursor: default; }
.cs-now .cs-body { padding: 26px 28px; gap: 10px; }
.cs-now .cs-kind { display: inline-flex; align-items: center; gap: 8px; color: #e6b866; }
.cs-now .cs-title { color: var(--bg); }
.now-dot { width: 8px; height: 8px; border-radius: 50%; background: #3ddc84; box-shadow: 0 0 0 0 rgba(61, 220, 132, .6); animation: nowPulse 2s ease-out infinite; }
@keyframes nowPulse { 70% { box-shadow: 0 0 0 8px rgba(61, 220, 132, 0); } 100% { box-shadow: 0 0 0 0 rgba(61, 220, 132, 0); } }
.now-list { list-style: none; margin: 6px 0 0; padding: 0; display: grid; gap: 0; }
.now-list li { display: grid; grid-template-columns: 92px minmax(0, 1fr); column-gap: 14px; padding: 10px 0; border-top: 1px solid color-mix(in srgb, var(--bg) 16%, transparent); animation: nowIn .5s calc(var(--i) * 80ms) var(--ease) both; }
.now-list time { grid-row: span 2; font: 700 12px/1.4 var(--sans); letter-spacing: .04em; text-transform: uppercase; color: color-mix(in srgb, var(--bg) 70%, transparent); }
.now-list b { font: 600 15px/1.3 var(--display); color: var(--bg); }
.now-list span { font-size: 13px; line-height: 1.4; color: color-mix(in srgb, var(--bg) 78%, transparent); }
.now-src { margin-top: auto; font-size: 12px; color: color-mix(in srgb, var(--bg) 70%, transparent); }
@keyframes nowIn { from { opacity: 0; transform: translateY(6px); } }
.still .now-dot, .still .now-list li { animation: none; }
@media (min-width: 901px) { .work-grid > .cs-now { grid-column: 5 / 7 !important; grid-row: 4 / 6 !important; } .work-grid > .cs-draft { grid-column: 5 / 7 !important; grid-row: 3 / 4 !important; } }
@media (min-width: 901px) { .work-grid > .cs-draft { grid-column: 5 / 7 !important; grid-row: 4 / 5 !important; } .work-grid > .cs-now { grid-column: 5 / 7 !important; grid-row: 5 / 7 !important; } }
@media (min-width: 901px) {
  .work-grid > .cs-now { grid-column: 1 / -1 !important; grid-row: 6 / 7 !important; height: auto; }
  .work-grid { grid-template-rows: repeat(5, 250px) auto; }
  .cs-now .cs-body { display: grid; grid-template-columns: 220px minmax(0, 1fr); column-gap: 32px; align-items: start; }
  .cs-now .cs-kind, .cs-now .cs-title, .cs-now .now-src { grid-column: 1; }
  .cs-now .now-list { grid-column: 2; grid-row: 1 / span 4; margin: 0; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0 18px; }
  .cs-now .now-list li { grid-template-columns: minmax(0, 1fr); border-top: 0; border-left: 1px solid color-mix(in srgb, var(--bg) 16%, transparent); padding: 2px 0 2px 16px; }
  .cs-now .now-list time { grid-row: auto; margin-bottom: 4px; }
  .cs-now .now-src { margin-top: 8px; }
}
@media (min-width: 901px) { .work-grid > [data-case="scene-and-simmer"] { grid-column: 3 / 7 !important; } .cs-now .now-list { align-items: start; } .cs-now .now-list li { align-content: start; } .cs-now .now-list b { min-height: 2.6em; } }
:root[data-theme="dark"] .cs-now .cs-kind { color: #8a4a12; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .cs-now .cs-kind { color: #8a4a12; } }
