:root {
  --ink: #0a0a0a;
  --taupe: #4f4749;
  --taupe-60: rgba(79, 71, 73, .6);
  --taupe-50: rgba(79, 71, 73, .5);
  --paper: #ffffff;
  --mist: #f4f4f4;
  --snow: #f7f7f7;
  --snow-60: rgba(247, 247, 247, .6);
  --line: rgba(79, 71, 73, .14);
  --gutter: clamp(16px, 2.2vw, 32px);
  --font: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --ease: cubic-bezier(.2, .7, .1, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

/* ---------- type primitives ---------- */
.eyebrow {
  margin: 0 0 28px;
  font-size: 10px;
  line-height: 1;
  letter-spacing: .128em;
  text-transform: uppercase;
  font-weight: 400;
  color: var(--taupe-60);
}
.eyebrow.light { color: var(--snow-60); margin: 14px 0 0; }
.statement {
  margin: 0;
  font-size: clamp(24px, 2.6vw, 34px);
  line-height: 1.3;
  letter-spacing: -.03em;
  font-weight: 400;
  max-width: 19em;
  text-wrap: balance;
}
.year {
  display: block;
  font-size: 11px;
  letter-spacing: .04em;
  opacity: .7;
  margin-bottom: 14px;
}

/* ---------- nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  height: 56px; padding: 0 var(--gutter);
  color: var(--snow);
  transition: background .4s var(--ease), color .4s var(--ease), backdrop-filter .4s;
}
.nav.solid {
  color: var(--ink);
  background: rgba(247, 247, 247, .82);
  backdrop-filter: blur(14px) saturate(1.4);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
}
.logo svg { width: 38px; height: 19px; }
.links { display: flex; gap: clamp(20px, 3.4vw, 54px); }
.links a, .cta {
  font-size: 11px; line-height: 20px; letter-spacing: .08em;
  text-transform: uppercase; font-weight: 500;
  opacity: .75; transition: opacity .2s;
}
.links a:hover, .links a.active, .cta:hover { opacity: 1; }
.cta { justify-self: end; opacity: 1; }
.burger { display: none; }

/* ---------- hero ---------- */
.hero {
  position: relative; height: 100svh; min-height: 520px;
  background: #47403f; overflow: hidden; color: var(--snow);
}
.hero-media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); }
.hero-shade {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.35) 0%, rgba(0,0,0,0) 22%, rgba(0,0,0,0) 55%, rgba(0,0,0,.45) 100%);
}
.hero-text { position: absolute; left: var(--gutter); bottom: clamp(36px, 8vh, 80px); }
.hero h1 {
  margin: 0;
  font-size: clamp(40px, 6.4vw, 96px);
  line-height: 1; letter-spacing: -.035em; font-weight: 500;
}
.scroll-cue {
  position: absolute; right: var(--gutter); bottom: clamp(36px, 8vh, 80px);
  width: 22px; height: 36px; border: 1px solid var(--snow-60); border-radius: 12px;
}
.scroll-cue span {
  position: absolute; left: 50%; top: 8px; width: 2px; height: 6px; margin-left: -1px;
  border-radius: 2px; background: var(--snow); animation: cue 1.8s var(--ease) infinite;
}
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(12px); } }

/* ---------- intro ---------- */
.intro {
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px;
  padding: clamp(64px, 11vw, 160px) var(--gutter) clamp(64px, 9vw, 130px);
  background: var(--snow);
}
.intro-right { max-width: 380px; justify-self: end; padding-top: 38px; }
.intro-right p { margin: 0 0 18px; font-size: 12.5px; line-height: 1.6; color: var(--taupe-60); }
.intro-right b { color: var(--taupe); font-weight: 500; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 40px 0 0; padding-top: 22px; border-top: 1px solid var(--line); }
.stats dt { font-size: 26px; letter-spacing: -.03em; color: var(--taupe); }
.stats dd { margin: 6px 0 0; font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: var(--taupe-50); }

/* ---------- chapters (sticky split) ---------- */
.chapter { display: grid; grid-template-columns: 1fr 1fr; background: var(--snow); }
.chapter.reverse .chapter-sticky { order: 2; }
.chapter-sticky {
  position: sticky; top: 0; height: 100svh;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 80px var(--gutter) 60px; background: var(--snow); overflow: hidden;
}
.chapter-sticky img {
  width: 100%; max-height: 62vh; object-fit: contain;
  mix-blend-mode: multiply;
}
.chapter-sticky img, .tile.light img {
  --fx: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  --fy: linear-gradient(180deg, transparent, #000 10%, #000 90%, transparent);
  -webkit-mask-image: var(--fx), var(--fy);
  -webkit-mask-composite: source-in;
  mask-image: var(--fx), var(--fy);
  mask-composite: intersect;
}
.chapter-title {
  margin: 36px 0 0;
  font-size: clamp(26px, 2.4vw, 32px); line-height: 1.25; letter-spacing: -.03em; font-weight: 500;
  color: var(--taupe); text-align: center;
}
.chapter-title span { color: var(--taupe-60); }

.chapter-tiles { display: flex; flex-direction: column; }
.tile {
  position: relative; aspect-ratio: 4 / 5; overflow: hidden; cursor: zoom-in;
  background: #2b2728; color: var(--snow);
}
.tile img, .tile video {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.2s var(--ease);
}
.tile:hover img, .tile:hover video { transform: scale(1.035); }
.tile::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(20,18,18,0) 35%, rgba(20,18,18,.55) 100%);
  pointer-events: none;
}
.tile.light { background: #fafafa; color: var(--taupe); }
.tile.light img { object-fit: contain; padding: 6% 6% 30%; mix-blend-mode: multiply; }
.tile.light::after { background: none; }
.tile.light .tile-text p { color: var(--taupe-50); }
.tile-text {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 1;
  padding: 0 clamp(20px, 3.4vw, 48px) clamp(24px, 4vw, 52px);
  max-width: 460px;
}
.tile-text h3 { margin: 0 0 10px; font-size: 18px; line-height: 1.6; font-weight: 400; }
.tile-text p { margin: 0; font-size: 12px; line-height: 1.6; color: var(--snow-60); }

/* ---------- feature ---------- */
.feature {
  display: grid; grid-template-columns: 1.25fr 1fr; align-items: center;
  background: var(--paper);
}
.feature-media { aspect-ratio: 16 / 10; background: #0d2a2c; overflow: hidden; }
.feature-media video { width: 100%; height: 100%; object-fit: cover; }
.feature-text { padding: clamp(40px, 6vw, 96px) var(--gutter) clamp(40px, 6vw, 96px) clamp(32px, 5vw, 80px); }
.feature-text p { margin: 22px 0 30px; max-width: 360px; font-size: 12.5px; line-height: 1.6; color: var(--taupe-60); }

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  height: 40px; padding: 0 20px; border-radius: 999px;
  background: var(--ink); color: var(--snow);
  font-size: 11px; letter-spacing: .08em; text-transform: uppercase; font-weight: 500;
  transition: background .25s, transform .25s var(--ease);
}
.btn::after { content: "→"; font-size: 13px; letter-spacing: 0; transition: transform .25s var(--ease); }
.btn:hover::after { transform: translateX(3px); }
.btn.light { background: var(--snow); color: var(--ink); }

/* ---------- ventures ---------- */
.ventures { background: var(--paper); padding: clamp(72px, 10vw, 150px) var(--gutter) var(--gutter); }
.ventures-head { margin-bottom: clamp(40px, 6vw, 80px); }
.venture-grid {
  display: grid; gap: 8px;
  grid-template-columns: 1fr 1fr;
  grid-template-areas: "big big" "a b" "c c";
}
.venture { position: relative; overflow: hidden; background: #1a1718; color: var(--snow); min-height: 420px; }
.venture.big { grid-area: big; aspect-ratio: 16 / 8; }
.venture.shotso { grid-area: a; }
.venture.codr { grid-area: b; }
.venture.photo { grid-area: c; aspect-ratio: 16 / 7; }
.venture img, .venture video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.venture.big::after, .venture.photo::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(8,8,10,.82) 0%, rgba(8,8,10,.35) 50%, rgba(8,8,10,0) 75%);
}
.venture-text {
  position: absolute; z-index: 1; left: 0; bottom: 0;
  padding: clamp(24px, 3.6vw, 52px); max-width: 480px;
}
.venture-text h3 { margin: 0 0 12px; font-size: clamp(26px, 2.6vw, 34px); letter-spacing: -.03em; font-weight: 500; line-height: 1.1; }
.venture-text p { margin: 0 0 22px; font-size: 12.5px; line-height: 1.6; color: var(--snow-60); }
.venture-text p:last-child { margin-bottom: 0; }

.venture.type { aspect-ratio: 4 / 4.2; }
.wordmark {
  position: absolute; inset: 0 0 40% 0;
  display: flex; align-items: center; justify-content: center; white-space: nowrap;
  font-size: clamp(48px, 7vw, 104px); letter-spacing: -.05em; font-weight: 500;
}
.shotso { background: radial-gradient(120% 90% at 50% 20%, #3a3335 0%, #141213 70%); }
.shotso .wordmark i {
  display: inline-block; width: .22em; height: .22em; margin-left: .06em;
  border-radius: 50%; background: #ff4d3d; vertical-align: .9em;
  box-shadow: 0 0 40px 6px rgba(255, 77, 61, .45);
}
.codr { background: #ececec; color: var(--taupe); }
.codr .venture-text p { color: var(--taupe-60); }
.codr .wordmark { font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; letter-spacing: -.06em; }
.codr .wordmark span { color: var(--taupe-50); font-weight: 300; }

/* ---------- timeline ---------- */
.timeline { padding: clamp(80px, 11vw, 160px) var(--gutter); background: var(--snow); }
.timeline ol { list-style: none; margin: clamp(48px, 6vw, 80px) 0 0; padding: 0; border-top: 1px solid var(--line); }
.timeline li {
  display: grid; grid-template-columns: 140px minmax(0, 1fr) minmax(0, 1.2fr); gap: 24px;
  padding: 26px 0; border-bottom: 1px solid var(--line); align-items: baseline;
}
.timeline li span { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--taupe-50); }
.timeline li b { font-size: 18px; font-weight: 400; color: var(--taupe); }
.timeline li p { margin: 0; font-size: 12.5px; line-height: 1.6; color: var(--taupe-60); }
.skills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 40px; }
.skills span {
  font-size: 11px; letter-spacing: .06em; text-transform: uppercase;
  padding: 9px 14px; border: 1px solid var(--line); border-radius: 999px; color: var(--taupe);
}

/* ---------- contact ---------- */
.contact { position: relative; min-height: 78svh; display: grid; place-items: center; overflow: hidden; background: #050607; color: var(--snow); text-align: center; }
.contact img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .55; }
.contact-inner { position: relative; padding: 0 var(--gutter); }
.contact h2 { margin: 0; font-size: clamp(36px, 5vw, 72px); letter-spacing: -.035em; font-weight: 500; line-height: 1.05; }
.contact h2 span { color: var(--snow-60); }
.contact p { margin: 18px 0 32px; font-size: 13px; color: var(--snow-60); }

/* ---------- footer ---------- */
.footer { background: var(--ink); color: var(--snow); padding: 56px var(--gutter) 28px; }
.footer-top { display: flex; gap: 56px; align-items: flex-start; flex-wrap: wrap; }
.footer-top nav { display: flex; flex-direction: column; gap: 10px; }
.footer-top nav a { font-size: 11px; letter-spacing: .08em; text-transform: uppercase; opacity: .6; transition: opacity .2s; }
.footer-top nav a:hover { opacity: 1; }
.footer .logo { margin-right: auto; }
.copy { margin: 72px 0 0; font-size: 11px; color: rgba(247,247,247,.4); }

/* ---------- lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 100; display: grid; place-items: center;
  background: rgba(10,10,10,.92); padding: 64px var(--gutter) var(--gutter);
  animation: fade .3s var(--ease);
}
.lightbox[hidden] { display: none; }
.lb-body img, .lb-body video { max-width: min(1400px, 100%); max-height: calc(100svh - 100px); object-fit: contain; }
.lb-close {
  position: absolute; top: 18px; right: var(--gutter); color: var(--snow);
  font-size: 11px; letter-spacing: .08em; text-transform: uppercase; font-weight: 500;
}
@keyframes fade { from { opacity: 0; } }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .nav { grid-template-columns: 1fr auto; }
  .links {
    position: fixed; inset: 56px 0 auto 0; flex-direction: column; gap: 0;
    background: rgba(255,255,255,.96); color: var(--ink); padding: 8px var(--gutter) 20px;
    transform: translateY(-8px); opacity: 0; pointer-events: none;
    transition: opacity .25s, transform .25s var(--ease);
  }
  .links a { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 12px; }
  .nav.open .links { opacity: 1; transform: none; pointer-events: auto; }
  .nav.open { color: var(--ink); background: #fff; }
  .cta { display: none; }
  .burger { display: grid; gap: 6px; width: 28px; height: 28px; place-content: center; justify-self: end; }
  .burger span { width: 20px; height: 1.5px; background: currentColor; transition: transform .25s; }
  .nav.open .burger span:first-child { transform: translateY(3.75px) rotate(45deg); }
  .nav.open .burger span:last-child { transform: translateY(-3.75px) rotate(-45deg); }

  .intro, .feature { grid-template-columns: 1fr; }
  .intro-right { justify-self: start; padding-top: 0; max-width: none; }
  .chapter { grid-template-columns: 1fr; }
  .chapter-sticky { position: relative; height: auto; padding: 72px var(--gutter) 48px; }
  .chapter.reverse .chapter-sticky { order: 0; }
  .chapter-sticky img { max-height: 46vh; }
  .feature-text { padding: 48px var(--gutter); }
  .venture-grid { grid-template-columns: 1fr; grid-template-areas: "big" "a" "b" "c"; }
  .venture.big, .venture.photo { aspect-ratio: auto; min-height: 0; }
  .venture.big::after, .venture.photo::after { display: none; }
  .venture.big video, .venture.photo img { position: relative; height: auto; aspect-ratio: 16 / 10; }
  .venture.big .venture-text, .venture.photo .venture-text { position: relative; }
  .venture.type { aspect-ratio: auto; min-height: 460px; }
  .timeline li { grid-template-columns: 1fr; gap: 6px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .scroll-cue span { animation: none; }
}

/* ---------- selected work (calm card grid) ---------- */
.work { background: #F7F7F7; padding: clamp(80px, 10vw, 150px) var(--gutter) clamp(80px, 9vw, 140px); }
.work-head { margin-bottom: clamp(40px, 5vw, 72px); }
.card-grid {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: clamp(16px, 2vw, 32px); row-gap: clamp(48px, 5vw, 80px);
}
.card { cursor: pointer; text-align: center; }
.card-media {
  position: relative; aspect-ratio: 4 / 5; overflow: hidden;
  border-radius: 14px; background: #ebebeb;
}
.card-media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.1s var(--ease), filter .6s var(--ease);
}
.card:hover .card-media img { transform: scale(1.03); filter: brightness(.94); }
.pill {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -40%);
  padding: 10px 18px; border-radius: 999px;
  background: rgba(255,255,255,.55); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink);
  opacity: 0; transition: opacity .35s var(--ease), transform .35s var(--ease);
}
.card:hover .pill, .card:focus-visible .pill { opacity: 1; transform: translate(-50%, -50%); }
.card h3 { margin: 26px 0 8px; font-size: clamp(19px, 1.6vw, 24px); font-weight: 400; letter-spacing: -.02em; color: var(--taupe); }
.card .meta { margin: 0; font-size: 13px; font-weight: 300; color: var(--taupe-60); }
.card .label {
  margin: 10px 0 0; font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: rgba(79,71,73,.42);
}
.card:focus-visible { outline: none; }
.card:focus-visible .card-media { outline: 2px solid var(--taupe); outline-offset: 4px; }

/* ventures without the photo tile */
.venture-grid { grid-template-areas: "big big" "a b"; }

/* ---------- project gallery (lightbox) ---------- */
.lightbox { background: rgba(14,13,13,.94); padding: 56px var(--gutter) 24px; }
.lb-body { width: min(1200px, 100%); display: flex; flex-direction: column; align-items: center; gap: 22px; color: var(--snow); }
.lb-stage { position: relative; width: 100%; display: grid; place-items: center; }
.lb-stage img, .lb-stage video { max-width: 100%; max-height: calc(100svh - 230px); border-radius: 10px; object-fit: contain; }
.lb-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border-radius: 50%;
  background: rgba(255,255,255,.12); color: var(--snow); font-size: 18px; transition: background .2s; }
.lb-nav:hover { background: rgba(255,255,255,.24); }
.lb-prev { left: 0; } .lb-next { right: 0; }
.lb-info { text-align: center; max-width: 560px; }
.lb-info h3 { margin: 0 0 6px; font-size: 22px; font-weight: 400; letter-spacing: -.02em; }
.lb-info .meta { margin: 0 0 12px; font-size: 13px; color: var(--snow-60); }
.lb-info p { margin: 0; font-size: 13px; line-height: 1.6; color: rgba(247,247,247,.72); }
.lb-dots { display: flex; gap: 6px; justify-content: center; margin-top: 14px; }
.lb-dots i { width: 6px; height: 6px; border-radius: 50%; background: rgba(255,255,255,.3); }
.lb-dots i.on { background: var(--snow); }

@media (max-width: 900px) {
  .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .venture-grid { grid-template-areas: "big" "a" "b"; }
}
@media (max-width: 560px) {
  .card-grid { grid-template-columns: 1fr; }
  .pill { opacity: 1; transform: translate(-50%, -50%); top: auto; bottom: 16px; transform: translateX(-50%); }
  .card:hover .pill { transform: translateX(-50%); }
  .lb-nav { top: auto; bottom: -56px; transform: none; }
}

/* ---------- calm static hero ---------- */
.hero {
  height: auto; min-height: 0;
  background: #F7F7F7; color: var(--ink);
  padding: clamp(150px, 22vh, 240px) var(--gutter) clamp(56px, 8vh, 96px);
  display: flex; align-items: flex-end; justify-content: space-between; gap: 24px;
}
.hero-text { position: static; }
.hero h1 { color: var(--ink); font-weight: 400; }
.hero .eyebrow { margin: 18px 0 0; }
.scroll-cue { position: static; flex: none; border-color: var(--line); }
.scroll-cue span { background: var(--taupe-60); animation: none; top: 10px; }
.intro { padding-top: clamp(40px, 6vw, 80px); border-top: 1px solid var(--line); background: #F7F7F7; }

/* ---------- hero with still photo ---------- */
.hero {
  position: relative; overflow: hidden;
  min-height: 92svh; background: #8c8c8c;
  align-items: flex-start;
  padding-top: clamp(140px, 26vh, 280px);
}
.hero-photo {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: 62% 100%;
}
.hero-text, .scroll-cue { position: relative; z-index: 1; }
.hero-text { left: 0; bottom: auto; }
.hero .eyebrow { color: rgba(10,10,10,.55); }
.scroll-cue { position: absolute; right: var(--gutter); bottom: clamp(28px, 5vh, 56px); border-color: rgba(10,10,10,.25); }
.scroll-cue span { background: rgba(10,10,10,.45); }
@media (max-width: 560px) {
  .hero { min-height: 82svh; }
  .hero-photo { object-position: 30% 100%; }
}

/* ---------- film card under the banner ---------- */
.film { background: #F7F7F7; padding: clamp(24px, 4vw, 56px) var(--gutter) clamp(32px, 4vw, 56px); text-align: center; }
.film-card {
  position: relative; overflow: hidden; margin: 0 auto;
  max-width: 1400px; aspect-ratio: 16 / 9; max-height: 82svh;
  border-radius: clamp(18px, 3vw, 40px); background: #1a1716;
}
.film-card img, .film-card video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.film-play {
  position: absolute; left: 50%; bottom: clamp(20px, 6%, 56px); transform: translateX(-50%);
  display: inline-flex; align-items: center; gap: 12px;
  height: 52px; padding: 0 26px; border-radius: 999px;
  background: rgba(40, 36, 36, .55); color: #fff;
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  font-size: 15px; letter-spacing: -.01em; transition: background .25s;
}
.film-play:hover { background: rgba(40, 36, 36, .75); }
.film-play svg { width: 11px; height: 13px; }
.film-caption { margin: 18px 0 0; font-size: 12px; color: var(--taupe-60); }
.film.playing .film-play { display: none; }
@media (max-width: 560px) { .film-play { height: 44px; font-size: 13px; padding: 0 20px; } }

/* ---------- 1X-style top bar ---------- */
.nav { height: 60px; color: #fff; background: transparent; }
.nav .links a { opacity: .72; }
.nav .links a:hover, .nav .links a.active { opacity: 1; }
.nav .cta { font-weight: 600; }
.nav.solid { color: var(--ink); background: rgba(247, 247, 247, .86); }
.nav:not(.solid) .logo, .nav:not(.solid) .links a, .nav:not(.solid) .cta { text-shadow: 0 1px 12px rgba(0,0,0,.18); }

/* ---------- apps tile (Codr + FN Island Metrics) ---------- */
.venture.apps {
  grid-area: b; background: #ececec; color: var(--taupe);
  display: flex; flex-direction: column; justify-content: space-between;
  padding: clamp(24px, 3.6vw, 52px); gap: 32px;
}
.apps-head h3 { margin: 0 0 12px; font-size: clamp(26px, 2.6vw, 34px); letter-spacing: -.03em; font-weight: 500; line-height: 1.1; }
.apps-head p { margin: 0; font-size: 12.5px; line-height: 1.6; color: var(--taupe-60); }
.app-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.app-list li { border-bottom: 1px solid var(--line); }
.app-list a { display: flex; align-items: center; gap: 16px; padding: 18px 0; }
.app-icon {
  flex: none; width: 52px; height: 52px; border-radius: 14px;
  display: grid; place-items: center; font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 15px;
}
.codr-icon { background: var(--ink); color: var(--snow); }
.fn-icon { background: #fff; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
.fn-icon svg { width: 24px; height: 16px; }
.app-info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.app-info b { font-weight: 500; font-size: 16px; color: var(--ink); }
.app-info small { font-size: 12px; line-height: 1.5; color: var(--taupe-60); }
.app-go { font-size: 16px; color: var(--taupe-60); transition: transform .25s var(--ease), color .25s; }
.app-list a:hover .app-go { transform: translate(2px, -2px); color: var(--ink); }
@media (max-width: 900px) { .venture.apps { min-height: 0; } }

/* ---------- real app icons ---------- */
.venture img.app-icon { position: static; inset: auto; width: 52px; height: 52px; object-fit: cover; box-shadow: 0 0 0 1px var(--line); }

/* ---------- contact list ---------- */
.contact-list { list-style: none; margin: 0 auto; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; max-width: 720px; }
.contact-list a {
  display: flex; align-items: center; gap: 12px; height: 56px; padding: 0 22px 0 16px; border-radius: 999px;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18); color: var(--snow);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  transition: background .25s, border-color .25s;
}
.contact-list a:hover { background: rgba(255,255,255,.2); border-color: rgba(255,255,255,.35); }
.contact-list svg { width: 18px; height: 18px; flex: none; }
.contact-list span { font-size: 13px; font-weight: 500; }
.contact-list small { font-size: 12px; color: var(--snow-60); }
@media (max-width: 560px) { .contact-list a { width: 100%; justify-content: flex-start; } }

/* ---------- Euphoriax link chips ---------- */
.venture-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px; border-radius: 999px;
  border: 1px solid rgba(255,255,255,.28); background: rgba(255,255,255,.08); color: var(--snow);
  font-size: 12px; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  transition: background .25s, border-color .25s;
}
.chip:hover { background: rgba(255,255,255,.18); border-color: rgba(255,255,255,.45); }
.chip svg { width: 16px; height: 16px; }
.venture.big .venture-text { max-width: 620px; }

/* ---------- ventures: Tectonic back as wide photo tile ---------- */
.venture-grid { grid-template-areas: "big big" "a b" "c c"; }
@media (max-width: 900px) { .venture-grid { grid-template-areas: "big" "a" "b" "c"; } }

/* ---------- vertical timeline ---------- */
.timeline ol.tl { position: relative; border-top: 0; margin-top: clamp(48px, 6vw, 80px); padding-left: 0; }
.tl::before { content: ""; position: absolute; top: 8px; bottom: 8px; left: 151px; width: 1px; background: var(--line); }
.timeline .tl li {
  position: relative; display: grid; grid-template-columns: 120px 1fr; gap: 0 64px;
  padding: 0 0 38px; border: 0; align-items: start;
}
.tl li::before {
  content: ""; position: absolute; left: 147px; top: 6px; width: 9px; height: 9px; border-radius: 50%;
  background: #f7f7f7; box-shadow: inset 0 0 0 1.5px var(--taupe-50);
}
.tl li.win::before { background: var(--taupe); box-shadow: none; }
.tl li.now::before { background: #ff4d3d; box-shadow: 0 0 0 5px rgba(255, 77, 61, .15); }
.tl time { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--taupe-50); text-align: right; padding-top: 3px; }
.tl b { display: block; font-size: 18px; font-weight: 400; color: var(--taupe); margin-bottom: 6px; }
.tl p { margin: 0; max-width: 560px; font-size: 12.5px; line-height: 1.6; color: var(--taupe-60); }
.tl p a { color: var(--taupe); text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 900px) {
  .tl::before { left: 4px; }
  .timeline .tl li { grid-template-columns: 1fr; gap: 6px; padding-left: 28px; }
  .tl li::before { left: 0; }
  .tl time { text-align: left; }
}

/* ---------- project carousel (replaces the grid) ---------- */
.work { --c: min(720px, 56vw, 74svh); --gap: clamp(16px, 2.4vw, 40px); overflow: hidden; }
.card-grid {
  display: block; position: relative; height: var(--c);
  touch-action: pan-y; user-select: none;
}
.card-grid .card {
  position: absolute; left: 50%; top: 50%; width: var(--c); height: var(--c);
  transform: translate(-50%, -50%); transform-origin: center;
  transition: transform .7s var(--ease), opacity .5s var(--ease);
  will-change: transform; text-align: left;
}
.card-grid .card.reveal, .card-grid .card.reveal.in { opacity: inherit; }
.card-grid .card-media { aspect-ratio: auto; width: 100%; height: 100%; border-radius: clamp(28px, 4.5vw, 64px); }
.card-grid .card h3, .card-grid .card .meta, .card-grid .card .label { display: none; }
.card-grid .card:hover .card-media img { transform: none; filter: none; }
.card-grid .card.is-active:hover .card-media img { transform: scale(1.025); }
.card-grid .pill {
  opacity: 1; top: auto; bottom: 7%; transform: translateX(-50%);
  background: rgba(40, 36, 36, .62); color: #fff; text-transform: none; letter-spacing: -.01em;
  font-size: 15px; padding: 9px 16px; white-space: nowrap;
}
.card-grid .card:hover .pill { transform: translateX(-50%); }
.card-grid .card:not(.is-active) { cursor: pointer; }
.card-grid .card:not(.is-active) .pill { font-size: 22px; padding: 13px 22px; } /* stays visually equal after scale */

.carousel-foot { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; margin-top: clamp(24px, 3vw, 40px); }
.carousel-caption { margin: 0; font-size: 13px; color: var(--taupe-60); }
.carousel-caption b { font-weight: 500; color: var(--taupe); margin-right: 8px; }
.dots { display: flex; gap: 8px; }
.dots button { width: 8px; height: 8px; border-radius: 50%; background: rgba(79,71,73,.22); transition: background .3s, transform .3s; padding: 0; }
.dots button.on { background: var(--taupe); }
.arrows { justify-self: end; display: flex; gap: 8px; }
.arrows button {
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid var(--line); color: var(--taupe); transition: background .25s;
}
.arrows button:hover { background: rgba(79,71,73,.08); }
.arrows svg { width: 14px; height: 14px; }
@media (max-width: 900px) {
  .work { --c: min(560px, 76vw); }
  .carousel-foot { grid-template-columns: 1fr; justify-items: center; gap: 16px; text-align: center; }
  .arrows { justify-self: center; order: 3; }
}

/* ---------- blue backdrop banner ---------- */
.hero { background: #7d9cc0; }
.hero-photo { object-position: center; }
.hero h1 { color: #fff; }
.hero .eyebrow { color: rgba(255, 255, 255, .72); }
.hero .scroll-cue { border-color: rgba(255, 255, 255, .45); }
.hero .scroll-cue span { background: rgba(255, 255, 255, .8); }

/* ---------- banner fills the whole first screen ---------- */
.hero { min-height: 100vh; min-height: 100svh; }
@media (max-width: 560px) { .hero { min-height: 100vh; min-height: 100svh; } }

/* ---------- intro on the blue banner ---------- */
.hero { display: block; padding: 0; }
.hero-inner {
  position: relative; z-index: 1;
  min-height: 100vh; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: space-between; gap: 56px;
  padding: clamp(120px, 22vh, 220px) var(--gutter) clamp(40px, 7vh, 72px);
}
.hero-intro { display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px; align-items: end; }
.hero-intro .eyebrow { color: rgba(255,255,255,.65); margin: 0 0 22px; }
.hero-intro .statement { color: #fff; }
.hero-intro .intro-right { max-width: 380px; justify-self: end; padding-top: 0; }
.hero-intro .intro-right p { margin: 0 0 16px; font-size: 12.5px; line-height: 1.6; color: rgba(255,255,255,.78); }
.hero-intro .intro-right b { color: #fff; font-weight: 500; }
.hero-intro .stats { margin-top: 28px; border-top-color: rgba(255,255,255,.28); }
.hero-intro .stats dt { color: #fff; }
.hero-intro .stats dd { color: rgba(255,255,255,.62); }
.hero-text .eyebrow { margin-top: 18px; }
@media (max-width: 900px) {
  .hero-intro { grid-template-columns: 1fr; gap: 28px; }
  .hero-intro .intro-right { justify-self: start; max-width: none; }
}

/* ---------- portrait on the banner ---------- */
.hero-top { display: flex; justify-content: space-between; align-items: center; gap: 32px; }
.portrait {
  flex: none; width: clamp(180px, 21vw, 360px); height: auto; aspect-ratio: 1;
  border-radius: 50%; object-fit: cover; object-position: center 35%;
  box-shadow: 0 0 0 1px rgba(255,255,255,.35), 0 24px 60px rgba(30, 45, 70, .25);
}
@media (max-width: 560px) {
  .hero-top { flex-direction: column-reverse; align-items: flex-start; gap: 24px; }
  .portrait { width: 132px; }
}

/* ---------- film plays in full, never cropped ---------- */
.film-card video { object-fit: contain; background: #000; }
.lb-stage video { background: #000; }

/* ---------- external links (U:NIT) ---------- */
.film-caption a { color: var(--taupe); text-decoration: underline; text-underline-offset: 3px; }
.lb-link { display: inline-block; margin-top: 14px; font-size: 13px; color: var(--snow); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Shotso tile with real screenshot + logo ---------- */
.venture.shotso { display: flex; flex-direction: column; aspect-ratio: auto; }
.shotso-shot {
  position: relative; padding: clamp(24px, 3.4vw, 48px) clamp(24px, 3.4vw, 48px) 0;
}
.venture .shotso-shot img {
  position: static; inset: auto; width: 100%; height: auto; display: block;
  border-radius: 12px; box-shadow: 0 0 0 1px rgba(255,255,255,.08), 0 30px 70px rgba(0,0,0,.45);
}
.venture.shotso .venture-text { position: relative; margin-top: auto; }
.venture h3.with-icon { display: flex; align-items: center; gap: 14px; }
.venture h3.with-icon img.app-icon {
  position: static; inset: auto; width: 44px; height: 44px; border-radius: 11px; object-fit: cover;
  box-shadow: none;
}
@media (max-width: 900px) { .venture.shotso { min-height: 0; } }

/* ---------- rounded free-time tiles ---------- */
.venture-grid { gap: 12px; }
.venture { border-radius: clamp(24px, 3vw, 40px); isolation: isolate; }

/* ---------- Euphoriax tile: text left, cover right ---------- */
.venture.euphoriax {
  aspect-ratio: auto; min-height: 0;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); align-items: center; gap: clamp(24px, 4vw, 64px);
  padding: clamp(28px, 4vw, 64px);
  background: radial-gradient(90% 120% at 85% 10%, #3b2f63 0%, #17141f 55%, #111015 100%);
}
.venture.euphoriax::after { display: none; }
.venture.euphoriax .venture-text { position: relative; padding: 0; max-width: none; }
.eux-facts { list-style: none; margin: 0 0 28px; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 18px 24px; }
.eux-facts li { display: flex; flex-direction: column; gap: 4px; padding-top: 14px; border-top: 1px solid rgba(255,255,255,.14); }
.eux-facts b { font-size: 22px; font-weight: 500; letter-spacing: -.02em; color: #fff; }
.eux-facts span { font-size: 12px; line-height: 1.5; color: rgba(247,247,247,.6); }
.venture .eux-shot img {
  position: static; inset: auto; width: 100%; height: auto; display: block;
  border-radius: 14px; box-shadow: 0 0 0 1px rgba(255,255,255,.1), 0 40px 90px rgba(0,0,0,.5);
}
@media (max-width: 900px) {
  .venture.euphoriax { grid-template-columns: 1fr; }
  .venture.euphoriax .eux-shot { order: -1; }
  .venture.euphoriax video { display: none; }
}
@media (max-width: 560px) { .eux-facts { grid-template-columns: 1fr; } }

/* ---------- free-time: every tile one equal row (like Euphoriax) ---------- */
.venture-grid { display: flex; flex-direction: column; gap: 12px; }
.venture.row {
  position: relative; overflow: hidden; color: var(--snow);
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); align-items: center;
  gap: clamp(24px, 4vw, 64px); padding: clamp(28px, 4vw, 64px);
  min-height: clamp(520px, 40vw, 620px); aspect-ratio: auto;
  background: radial-gradient(90% 120% at 85% 10%, #3a3335 0%, #171515 55%, #111010 100%);
}
.venture.row::after { display: none; }
.venture.row .venture-text { position: relative; inset: auto; padding: 0; max-width: none; }
.venture.row .venture-text p { margin-bottom: 28px; }
.venture.euphoriax { background: radial-gradient(90% 120% at 85% 10%, #3b2f63 0%, #17141f 55%, #111015 100%); }
.v-apps { background: radial-gradient(90% 120% at 85% 10%, #1f3d34 0%, #131a17 55%, #0f1211 100%) !important; }
.v-tectonic { background: radial-gradient(90% 120% at 85% 10%, #5a2219 0%, #1c1311 55%, #120f0e 100%) !important; }

.row-visual { position: relative; height: clamp(360px, 30vw, 480px); display: flex; align-items: center; justify-content: center; }
.venture.row .row-visual img { position: static; inset: auto; display: block; }
.row-visual.shot img { width: 100%; height: auto; max-height: 100%; object-fit: contain; border-radius: 14px; box-shadow: 0 0 0 1px rgba(255,255,255,.08), 0 40px 90px rgba(0,0,0,.5); }
.venture.euphoriax .eux-shot { display: flex; align-items: center; height: clamp(360px, 30vw, 480px); }

/* three phones, fanned */
.row-visual.phones { gap: 0; }
.row-visual.phones img {
  height: 92%; width: auto; aspect-ratio: auto; object-fit: cover;
  border-radius: 22px; box-shadow: 0 0 0 1px rgba(255,255,255,.12), 0 30px 70px rgba(0,0,0,.55);
}
.row-visual.phones img:nth-child(1) { transform: translateX(18%) rotate(-6deg) scale(.88); z-index: 1; }
.row-visual.phones img:nth-child(2) { z-index: 2; }
.row-visual.phones img:nth-child(3) { transform: translateX(-18%) rotate(6deg) scale(.88); z-index: 1; }

/* two event photos */
.row-visual.duo { gap: 12px; }
.row-visual.duo img { height: 100%; width: calc(50% - 6px); object-fit: cover; border-radius: 18px; box-shadow: 0 30px 70px rgba(0,0,0,.45); }

/* app list on dark */
.v-apps .app-list { border-top-color: rgba(255,255,255,.14); }
.v-apps .app-list li { border-bottom-color: rgba(255,255,255,.14); }
.v-apps .app-info b { color: #fff; }
.v-apps .app-info small, .v-apps .app-go { color: rgba(247,247,247,.6); }
.v-apps .app-list a:hover .app-go { color: #fff; }
.venture.row img.app-icon { width: 52px; height: 52px; border-radius: 13px; object-fit: cover; flex: none; }
.venture.row h3.with-icon img.app-icon { width: 44px; height: 44px; border-radius: 11px; }

@media (max-width: 900px) {
  .venture.row { grid-template-columns: 1fr; min-height: 0; }
  .venture.row .row-visual, .venture.euphoriax .eux-shot { order: -1; height: auto; }
  .row-visual.phones { height: 360px; }
  .row-visual.duo { height: 320px; }
}
@media (max-width: 560px) {
  .row-visual.phones { height: 280px; }
  .row-visual.duo { height: 240px; }
}

/* ---------- free-time grid: equal row heights, Shotso + apps side by side ---------- */
.venture-grid {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-rows: 1fr; gap: 12px;
}
.venture.row { min-height: 0; }
.venture.euphoriax, .v-tectonic { grid-column: 1 / -1; }
.v-shotso, .v-apps {
  grid-template-columns: 1fr; grid-template-rows: auto 1fr; align-items: start;
  gap: clamp(20px, 2.4vw, 36px);
}
.v-shotso .row-visual, .v-apps .row-visual { order: -1; height: clamp(240px, 20vw, 320px); }
.v-shotso .venture-text, .v-apps .venture-text { align-self: end; }
.v-apps .app-list a { padding: 14px 0; }
.venture.row .more { color: #fff; font-weight: 500; }
@media (max-width: 900px) {
  .venture-grid { grid-template-columns: 1fr; grid-auto-rows: auto; }
  .venture.euphoriax, .v-tectonic { grid-column: auto; }
}
.venture.row.v-shotso, .venture.row.v-apps {
  grid-template-columns: minmax(0, 1fr); grid-template-rows: auto 1fr; align-items: start;
}
.venture.row.v-shotso .row-visual, .venture.row.v-apps .row-visual { order: -1; height: clamp(240px, 20vw, 320px); width: 100%; }
.venture.row.v-shotso .venture-text, .venture.row.v-apps .venture-text { align-self: end; }

/* ---------- footer: earth horizon + #010207 ---------- */
.contact { background: #010207; }
.contact img { opacity: 1; object-position: center 30%; }
.footer { background: #010207; }

/* ---------- personal note in About ---------- */
.about-me { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 48px; max-width: 980px; margin-top: 32px; }
.about-me p { margin: 0; font-size: 16px; line-height: 1.65; color: var(--taupe); }
@media (max-width: 900px) { .about-me { grid-template-columns: 1fr; } }

/* ---------- ventures ~15% lower ---------- */
.venture.row { padding: clamp(24px, 3.4vw, 54px); gap: clamp(20px, 3.4vw, 54px); }
.venture.row.v-shotso .row-visual, .venture.row.v-apps .row-visual { height: clamp(190px, 15.8vw, 256px); }
.venture.row.v-shotso, .venture.row.v-apps { gap: clamp(16px, 2vw, 28px); }
.venture.euphoriax .eux-shot, .row-visual { height: clamp(306px, 25.5vw, 408px); }
.eux-facts { gap: 14px 24px; margin-bottom: 22px; }
.venture.row .venture-text p { margin-bottom: 22px; }

/* ---------- contact: static location chip ---------- */
.contact-list .contact-static {
  display: flex; align-items: center; gap: 12px; height: 56px; padding: 0 22px 0 16px; border-radius: 999px;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); color: var(--snow);
}
.contact-list .contact-static svg { width: 18px; height: 18px; flex: none; }
.contact-list .contact-static span { font-size: 13px; font-weight: 500; }
.contact-list .contact-static small { font-size: 12px; color: var(--snow-60); }
.contact-list { max-width: 900px; }
@media (max-width: 560px) { .contact-list .contact-static { width: 100%; } }

/* ---------- contact: one button + socials below ---------- */
.contact-main { display: flex; flex-direction: column; align-items: center; gap: 14px; margin-bottom: 14px; }
.contact-toggle { height: 52px; padding: 0 26px; font-size: 12px; }
.contact-toggle::after { content: "↓"; }
.contact-toggle.open::after { transform: rotate(180deg); }
.contact-card {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; max-width: 900px;
  animation: fade .3s var(--ease);
}
.contact-card[hidden] { display: none; }
.contact-card > a, .contact-card > .contact-static {
  display: flex; align-items: center; gap: 12px; height: 56px; padding: 0 22px 0 16px; border-radius: 999px;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18); color: var(--snow);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
}
.contact-card > a:hover { background: rgba(255,255,255,.2); }
.contact-card svg { width: 18px; height: 18px; flex: none; }
.contact-card span { font-size: 13px; font-weight: 500; }
.contact-card small { font-size: 12px; color: var(--snow-60); }
@media (max-width: 560px) { .contact-card > a, .contact-card > .contact-static { width: 100%; } }

/* ---------- centred scroll button on the banner ---------- */
.hero-scroll {
  position: absolute; z-index: 2; left: 50%; bottom: clamp(28px, 5vh, 52px); transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  color: #fff; font-size: 10px; letter-spacing: .16em; text-transform: uppercase; opacity: .85;
  transition: opacity .25s;
}
.hero-scroll:hover { opacity: 1; }
.hero-scroll i {
  position: relative; width: 26px; height: 42px; border-radius: 14px;
  border: 1.5px solid rgba(255,255,255,.7);
}
.hero-scroll i::after {
  content: ""; position: absolute; left: 50%; top: 8px; width: 3px; height: 8px; margin-left: -1.5px;
  border-radius: 2px; background: #fff; animation: cue 1.8s var(--ease) infinite;
}
@media (max-width: 900px) { .hero-scroll { display: none; } }
@media (prefers-reduced-motion: reduce) { .hero-scroll i::after { animation: none; } }
@media (min-width: 901px) {
  .hero-intro { grid-template-columns: minmax(0, 1fr) 200px minmax(0, 1fr); }
  .hero-intro .intro-left { grid-column: 1; }
  .hero-intro .intro-right { grid-column: 3; }
  .hero-intro .statement { max-width: 16em; }
}
.hero-inner { padding-top: clamp(96px, 15vh, 160px); padding-bottom: clamp(36px, 6vh, 64px); }
.contact .socials { margin-bottom: 14px; }
.contact-main { margin-bottom: 0; }
.contact-toggle.open::after { content: "↑"; transform: none; }
.contact-toggle:hover::after { transform: none; }

/* ---------- big portrait in the banner (1X style) ---------- */
.hero-person {
  position: absolute; z-index: 1; bottom: 0; right: clamp(0px, 6vw, 120px);
  height: 92%; width: auto; max-width: 62%; object-fit: cover; object-position: center bottom;
  --mx: linear-gradient(90deg, transparent 0%, #000 22%, #000 78%, transparent 100%);
  --my: linear-gradient(180deg, transparent 0%, #000 22%, #000 100%);
  -webkit-mask-image: var(--mx), var(--my); -webkit-mask-composite: source-in;
  mask-image: var(--mx), var(--my); mask-composite: intersect;
  pointer-events: none;
}
.hero-inner { z-index: 2; }
.hero-text, .hero-intro .intro-left { max-width: 46%; }
.hero h1, .hero-intro .statement { text-shadow: 0 2px 24px rgba(30, 45, 70, .18); }

/* ---------- About: facts moved from the banner ---------- */
.about-facts { max-width: 980px; margin-top: 28px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 48px; }
.about-facts p { margin: 0 0 16px; font-size: 14px; line-height: 1.65; color: var(--taupe-60); }
.about-facts b { color: var(--taupe); font-weight: 500; }
.about-facts .stats { grid-column: 1 / -1; margin-top: 16px; max-width: 560px; }

@media (max-width: 900px) {
  .hero-person { height: 58%; max-width: none; right: -8%; }
  .hero-text, .hero-intro .intro-left { max-width: none; }
  .hero-intro { position: relative; }
  .about-facts { grid-template-columns: 1fr; }
}
.hero-text, .hero-intro .intro-left { max-width: none; }
.hero-person { right: clamp(0px, 2vw, 40px); height: 90%; }
@media (min-width: 901px) { .hero h1 { white-space: nowrap; } }

/* ---------- contact: anchored to the top so opening details never shifts it ---------- */
.contact { place-items: start center; align-content: start; padding: clamp(200px, 30vh, 300px) 0 clamp(80px, 12vh, 140px); }
@media (max-width: 900px) {
  .hero-person { right: auto; left: 50%; transform: translateX(-50%); height: auto; width: min(118vw, 640px); max-width: none; }
}

/* ---------- About: one merged, clearly ordered text ---------- */
.about-text { max-width: 680px; margin-top: 36px; }
.about-text p { margin: 0 0 18px; font-size: 15px; line-height: 1.7; color: var(--taupe-60); }
.about-text p.lead { font-size: 20px; line-height: 1.55; color: var(--taupe); letter-spacing: -.01em; margin-bottom: 26px; }
.about-text b { color: var(--taupe); font-weight: 500; }
.about-text .stats { margin-top: 32px; }

/* ---------- more space between banner and film ---------- */
.film { padding-top: clamp(64px, 9vw, 140px); }

/* ---------- slider closer to the reference: dots only, minimal chevrons ---------- */
.work { --gap: clamp(20px, 2.4vw, 40px); }
.carousel-foot { display: flex; justify-content: center; margin-top: clamp(28px, 3vw, 44px); }
.carousel-caption { display: none; }
.dots { gap: 10px; }
.dots button { width: 7px; height: 7px; background: rgba(10,10,10,.18); }
.dots button.on { background: var(--ink); }
.card-grid .arrows {
  position: absolute; z-index: 20; top: calc(-1 * clamp(44px, 4vw, 64px)); left: 0; right: 0;
  display: flex; justify-content: space-between; pointer-events: none;
}
.card-grid .arrows button {
  pointer-events: auto; width: 40px; height: 40px; border: 0; background: none; color: rgba(10,10,10,.55);
}
.card-grid .arrows button:hover { background: none; color: var(--ink); }
.card-grid .arrows svg { width: 16px; height: 16px; }
.card-grid .pill { background: rgba(48, 42, 40, .72); font-weight: 500; }
.work-head { margin-bottom: clamp(72px, 7vw, 110px); }
@media (max-width: 900px) { .card-grid .arrows { display: none; } }
.card-grid .arrows { justify-self: stretch; width: auto; }

/* ---------- Euphoriax: brand banner background + logo ---------- */
.venture.row.euphoriax {
  background: #07060f url("assets/euphoriax-bg.jpg") center / 100% 100% no-repeat;
}
.venture h3.with-icon img.brand-mark {
  position: static; inset: auto; width: 34px; height: 38px; object-fit: contain; flex: none;
}

/* ---------- Tectonic: stage photo as background, team photo on top ---------- */
.venture.row.v-tectonic {
  background:
    linear-gradient(90deg, rgba(10,6,6,.92) 0%, rgba(10,6,6,.72) 38%, rgba(10,6,6,.25) 70%, rgba(10,6,6,.45) 100%),
    #0d0909 url("assets/tectonic-bg.jpg") center 42% / cover no-repeat !important;
}
.row-visual.single { justify-content: flex-end; }
.venture.row .row-visual.single img {
  height: 100%; width: auto; max-width: 100%; aspect-ratio: 3 / 4; object-fit: cover;
  border-radius: 18px; box-shadow: 0 0 0 1px rgba(255,255,255,.1), 0 40px 90px rgba(0,0,0,.6);
}
@media (max-width: 900px) { .row-visual.single { justify-content: center; height: 360px; } }

/* ---------- Tectonic team photo fills the whole right column ---------- */
.venture.row .row-visual.single img { width: 100%; height: 100%; aspect-ratio: auto; object-fit: cover; object-position: center 60%; }
@media (max-width: 900px) { .row-visual.single { height: 300px; } }
.venture.row .row-visual.single img { object-position: center 40%; }
.tl li.now::before { background: #ff8a1f; box-shadow: 0 0 0 5px rgba(255, 138, 31, .18); }

/* ---------- cut-out portrait on the orange banner ---------- */
.hero { background: #e9a46b; }
.hero-person { -webkit-mask-image: none; mask-image: none; }
.hero-person { bottom: -16%; height: 100%; }
@media (max-width: 900px) { .hero-person { bottom: -12%; height: auto; } }
.hero { background: #7d9cc0; }

/* ---------- back to the blue portrait, blended into the banner ---------- */
.hero-person {
  bottom: 0; height: 90%;
  -webkit-mask-image: var(--mx), var(--my); -webkit-mask-composite: source-in;
  mask-image: var(--mx), var(--my); mask-composite: intersect;
}
@media (max-width: 900px) { .hero-person { bottom: 0; height: auto; } }

/* ---------- "worked with" logo strip above the projects ---------- */
.clients { text-align: center; padding-bottom: clamp(56px, 7vw, 100px); margin-bottom: clamp(56px, 7vw, 100px); border-bottom: 1px solid var(--line); }
.clients .eyebrow { margin-bottom: 32px; }
.client-logos {
  list-style: none; margin: 0 auto; padding: 0; max-width: 1100px;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 32px 48px;
}
.client-logos li { display: flex; align-items: center; justify-content: center; flex: 1 1 120px; }
.client-logos img { width: auto; max-width: 150px; filter: brightness(0); opacity: .55; transition: opacity .25s; }
.client-logos img:hover { opacity: .9; }
@media (max-width: 560px) {
  .client-logos { justify-content: center; gap: 28px 36px; }
  .client-logos li { flex: 0 0 auto; }
  .client-logos img { max-width: 110px; transform: scale(.85); }
}
@media (min-width: 901px) {
  .client-logos { max-width: 1240px; flex-wrap: nowrap; gap: 0 clamp(24px, 3vw, 48px); }
  .client-logos li { flex: 0 1 auto; }
  .client-logos img { max-width: 130px; }
}

/* ---------- logos: one row, optically equal size, linked ---------- */
.client-logos a { display: flex; align-items: center; justify-content: center; }
.client-logos img { max-width: none; height: auto; }
@media (min-width: 901px) {
  .client-logos { flex-wrap: nowrap; justify-content: space-between; gap: 0 24px; max-width: 1260px; }
  .client-logos li { flex: 0 0 auto; }
}
@media (max-width: 900px) {
  .client-logos img { zoom: .8; }
}

/* ---------- RV monogram ---------- */
.logo { display: inline-flex; align-items: center; }
.logo svg { width: 28px; height: 24px; }
.footer .logo svg { width: 36px; height: 31px; }

/* ---------- soft blue-to-cream gradient banner: dark text for contrast ---------- */
.hero { background: #c9d6df; }
.hero h1, .hero-intro .statement, .hero-intro .intro-right b, .hero-intro .stats dt { color: var(--ink); text-shadow: none; }
.hero .eyebrow, .hero-intro .eyebrow { color: rgba(10,10,10,.55); }
.hero-intro .intro-right p, .hero-intro .stats dd { color: rgba(10,10,10,.62); }
.hero-intro .stats { border-top-color: rgba(10,10,10,.18); }
.hero-scroll { color: var(--ink); }
.hero-scroll i { border-color: rgba(10,10,10,.45); }
.hero-scroll i::after { background: var(--ink); }
/* cut-out portrait so no photo background shows on the gradient */
.hero-person { -webkit-mask-image: none; mask-image: none; object-fit: contain; bottom: -16%; height: 100%; }
@media (max-width: 900px) { .hero-person { bottom: -12%; height: auto; } }
.nav:not(.solid) { color: var(--ink); }
.nav:not(.solid) .logo, .nav:not(.solid) .links a, .nav:not(.solid) .cta { text-shadow: none; }

/* ---------- banner image at 50% opacity ---------- */
.hero-photo { opacity: .5; }

/* ---------- logo slider: endless horizontal scroll ---------- */
.logo-marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.logo-track { display: flex; width: max-content; animation: logo-scroll 60s linear infinite; }
.logo-marquee:hover .logo-track { animation-play-state: paused; }
.logo-marquee .client-logos {
  flex: none; max-width: none; margin: 0; flex-wrap: nowrap; justify-content: flex-start;
  gap: 0 clamp(48px, 5vw, 80px); padding-right: clamp(48px, 5vw, 80px);
}
.logo-marquee .client-logos li { flex: 0 0 auto; }
.logo-marquee .client-logos img { zoom: 1; transform: none; max-width: none; }
@media (max-width: 900px) { .logo-marquee .client-logos img { zoom: .8; } }
@keyframes logo-scroll { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .logo-track { animation: none; }
  .logo-marquee { overflow-x: auto; }
}

/* ---------- logo slider: driven by JS, pauses on hover, scrollable by hand ---------- */
.logo-marquee { overflow-x: auto; overflow-y: hidden; scrollbar-width: none; cursor: grab; overscroll-behavior-x: contain; }
.logo-marquee::-webkit-scrollbar { display: none; }
.logo-marquee:active { cursor: grabbing; }
.logo-track { animation: none; }
.logo-marquee img { -webkit-user-drag: none; user-select: none; }

/* ---------- less space between banner and logo strip ---------- */
.work { padding-top: clamp(40px, 5vw, 72px); }

/* ==========================================================
   Hero layout: big outlined/solid name, intro bottom-left,
   social pills bottom-right
   ========================================================== */
.hero { display: block; padding: 0; }
.hx {
  position: relative; z-index: 2;
  max-width: 1440px; margin: 0 auto;
  min-height: 100vh; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: space-between;
  padding: clamp(84px, 11vh, 120px) var(--gutter) clamp(36px, 6vh, 64px);
}
.hero .hx-title {
  margin: 0;
  display: flex; flex-wrap: wrap; justify-content: space-between; column-gap: .25em;
  font-family: "Geist", system-ui, sans-serif; font-weight: 800;
  font-size: clamp(44px, 9.8vw, 150px); line-height: .9; letter-spacing: .01em;
  text-transform: uppercase; color: var(--ink); text-shadow: none; white-space: normal;
}
.hx-title span { display: inline-block; animation: hx-rise 1s cubic-bezier(.2,.8,.2,1) both; }
.hx-title .hx-solid { animation-delay: .15s; }
.hero .hx-outline { color: transparent; -webkit-text-stroke: clamp(1.5px, .2vw, 2.5px) var(--ink); }
@keyframes hx-rise { from { opacity: 0; transform: translateY(40px); } }

.hx-bottom {
  display: flex; justify-content: space-between; align-items: flex-end; gap: 32px;
  margin-top: clamp(48px, 10vw, 140px);
  padding-left: clamp(0px, 1.4vw, 20px);
}
.hx-intro { max-width: 520px; }
.hx-name { margin: 0; font-weight: 700; font-size: clamp(18px, 1.9vw, 26px); letter-spacing: .01em; text-transform: uppercase; color: var(--ink); }
.hx-role { margin: 6px 0 4px; font-weight: 600; font-size: clamp(24px, 2.6vw, 36px); line-height: 1.15; letter-spacing: -.01em; color: var(--ink); }
.hx-meta { margin: 0 0 22px; font-size: 13px; color: rgba(10,10,10,.55); }
.hx-label { margin: 0 0 6px; font-size: 11px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: rgba(10,10,10,.5); }
.hx-text { margin: 0 0 26px; font-size: 17px; line-height: 1.55; color: rgba(10,10,10,.68); }
.hx-btn {
  display: inline-flex; align-items: center; gap: 10px;
  height: 48px; padding: 0 24px; border-radius: 999px;
  background: var(--ink); color: #fff; font-size: 15px; font-weight: 500;
  transition: transform .25s ease, box-shadow .25s ease;
}
.hx-btn:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(10,10,10,.18); }

.hx-aside { display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
.hx-pill {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-width: 124px; height: 38px; padding: 0 16px; border-radius: 999px;
  background: #fff; color: var(--ink); font-size: 14px;
  transition: background .2s, color .2s;
}
.hx-pill:hover { background: var(--ink); color: #fff; }
.hx-pill svg { width: 18px; height: 18px; }
.hx-be { font-weight: 800; font-size: 14px; }

.hero .hero-scroll { bottom: clamp(20px, 3vh, 36px); }

@media (max-width: 900px) {
  .hx { padding-top: 110px; }
  .hero .hx-title { justify-content: flex-start; font-size: 14vw; }
  .hx-bottom { flex-direction: column; align-items: flex-start; padding-left: 0; }
  .hx-aside { flex-direction: row; flex-wrap: wrap; }
}
@media (prefers-reduced-motion: reduce) { .hx-title span { animation: none; } }

/* ---------- star mark instead of RV monogram ---------- */
.logo svg { width: auto; height: 26px; }
.footer .logo svg { width: auto; height: 34px; }

/* ==========================================================
   STYLE MATCHED TO THE "portfolio website" DESIGN (2026-11-11)
   Archivo display + Inter body, #fafafa / #222 / orange accent,
   floating pill nav, [01] section heads with an outlined word,
   dark pill buttons that turn orange, light contact + footer
   ========================================================== */
:root {
  --bg: #fafafa;
  --ink: #222222;
  --muted: #8a8a8a;
  --line: #ebebeb;
  --accent: #ff5b1f;
  --accent-ink: #c2410c;          /* darker orange for small text (AA contrast) */
  --green: #3ccf5a;
  --font: "Inter", system-ui, sans-serif;
  --display: "Archivo", "Inter", system-ui, sans-serif;
}
body { background: var(--bg); color: var(--ink); font-family: var(--font); }
::selection { background: var(--accent); color: #fff; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.outline { color: transparent; -webkit-text-stroke: 1.5px var(--ink); }

/* ---------- scroll progress ---------- */
.progress { position: fixed; top: 0; left: 0; z-index: 60; height: 2px; width: 100%; background: var(--accent); transform-origin: 0 50%; transform: scaleX(0); pointer-events: none; }

/* ---------- floating pill nav ---------- */
.nav, .nav.solid, .nav.open {
  inset: 14px auto auto 50%; translate: -50% 0;
  width: calc(min(1280px, 100%) - 2 * var(--gutter)); height: auto;
  display: flex; align-items: center; gap: 12px;
  padding: 6px 6px 6px 18px;
  color: var(--ink);
  background: rgba(255, 255, 255, .72);
  backdrop-filter: blur(16px) saturate(1.4); -webkit-backdrop-filter: blur(16px) saturate(1.4);
  border: 1px solid rgba(0, 0, 0, .06); border-radius: 999px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, .04);
  transition: background .3s, box-shadow .3s;
}
.nav.solid { background: rgba(255, 255, 255, .92); box-shadow: 0 8px 28px rgba(0, 0, 0, .08); }
.nav .logo svg { width: auto; height: 22px; }
.nav:not(.solid) .logo, .nav:not(.solid) .links a, .nav:not(.solid) .cta { text-shadow: none; }
.status-pill {
  display: inline-flex; align-items: center; gap: 8px; white-space: nowrap;
  padding: 8px 14px; border-radius: 999px; background: #f3f3f3;
  font-size: 13px; color: var(--ink);
}
.status-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 0 rgba(60, 207, 90, .6); animation: status-pulse 2s infinite; }
@keyframes status-pulse { 70% { box-shadow: 0 0 0 8px rgba(60, 207, 90, 0); } 100% { box-shadow: 0 0 0 0 rgba(60, 207, 90, 0); } }
.links { margin: 0 auto; gap: 2px; }
.links a {
  padding: 8px 14px; border-radius: 999px;
  font-size: 14px; line-height: 20px; letter-spacing: 0; text-transform: none; font-weight: 400;
  opacity: 1; transition: background .2s, color .2s;
}
.links a:hover { background: #f3f3f3; }
.links a.active { background: var(--ink); color: #fff; }
.links sup { font-size: 10px; color: var(--muted); margin-left: 1px; }
.links a.active sup { color: rgba(255, 255, 255, .6); }
.cta {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 16px; border-radius: 999px; background: var(--ink); color: #fff;
  font-size: 14px; line-height: 20px; letter-spacing: 0; text-transform: none; font-weight: 500;
  opacity: 1; transition: background .25s, transform .25s, box-shadow .25s;
}
.cta:hover { background: var(--accent); transform: translateY(-2px); box-shadow: 0 8px 20px rgba(255, 91, 31, .28); }
.arrow { display: inline-block; transition: transform .25s ease; }
.cta:hover .arrow { transform: translate(3px, -3px); }

/* ---------- hero in the same type ---------- */
.hero .hx-title { font-family: var(--display); font-weight: 800; letter-spacing: .02em; }
.hero .hx-outline { -webkit-text-stroke: clamp(1.5px, .25vw, 3px) var(--ink); }
.hx { max-width: 1280px; padding-top: clamp(120px, 14vw, 170px); }
.hx-role { font-family: var(--display); font-weight: 600; letter-spacing: 0; color: var(--ink); }
.hx-meta { color: var(--muted); font-size: 14px; }
.hx-label { margin: 0 0 6px; font-size: 13px; font-weight: 500; letter-spacing: 0; text-transform: none; color: var(--accent-ink); }
.hx-label::before { content: none; }
.hx-text { color: #555; }

/* ---------- section heads: [01] + big uppercase title with an outlined word ---------- */
.work, .ventures, .timeline, .film { background: var(--bg); }
.sec-head {
  display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px 16px;
  padding-bottom: 24px; margin: 0 0 48px; border-bottom: 1px solid var(--line);
}
.work-head.sec-head, .ventures-head.sec-head { margin-bottom: 48px; }
.sec-index { margin: 0; font-size: 15px; font-weight: 500; letter-spacing: 0; text-transform: none; color: var(--accent-ink); white-space: nowrap; }
.sec-index span { color: var(--muted); font-weight: 400; margin-left: 4px; }
.sec-title {
  margin: 0; flex: 1 1 100%;
  font-family: var(--display); font-weight: 800; text-transform: uppercase;
  font-size: clamp(36px, 6.4vw, 88px); line-height: 1; letter-spacing: .01em; color: var(--ink);
  text-wrap: balance;
}
.sec-title .outline { -webkit-text-stroke-width: clamp(1.2px, .15vw, 2px); }
.clients .sec-index { display: block; margin-bottom: 32px; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.clients { border-bottom-color: var(--line); }

/* ---------- buttons: dark pill, orange on hover ---------- */
.btn {
  height: 48px; padding: 0 22px;
  font-family: var(--font); font-size: 15px; letter-spacing: 0; text-transform: none; font-weight: 500;
  transition: background .25s, color .25s, transform .25s, box-shadow .25s;
}
.btn::after { content: "\2197"; font-size: 15px; }
.btn:hover::after { transform: translate(3px, -3px); }
.btn:hover { background: var(--accent); color: #fff; transform: translateY(-2px); box-shadow: 0 8px 20px rgba(255, 91, 31, .28); }
.chip { font-family: var(--font); letter-spacing: 0; text-transform: none; }

/* ---------- cards ---------- */
.card h3 { font-family: var(--display); font-weight: 600; }
.card .meta { color: var(--muted); }
.venture.row { border-radius: 24px; }
.venture h3 { font-family: var(--display); font-weight: 700; letter-spacing: 0; }

/* ---------- about / timeline ---------- */
.about-text p { color: #555; }
.about-text p.lead { color: var(--ink); }
.about-text b { color: var(--ink); }
.tl { border-top-color: var(--line); }
.tl li { border-bottom-color: var(--line); }
.tl time { color: var(--accent-ink); font-size: 15px; font-weight: 500; letter-spacing: 0; }
.tl b { font-family: var(--display); font-weight: 700; font-size: clamp(18px, 1.8vw, 22px); color: var(--ink); }
.tl p { color: #555; }
.tl a { color: var(--ink); }
.tl a:hover, .about-text a:hover { color: var(--accent-ink); }
.tl li.now::before { background: var(--accent); box-shadow: 0 0 0 5px rgba(255, 91, 31, .16); }
.skills span { background: #fff; border: 1px solid var(--line); color: #555; font-size: 13px; letter-spacing: 0; text-transform: none; }

/* ---------- contact: light, outlined first words + last word in orange ---------- */
.contact { min-height: 0; background: var(--bg); color: var(--ink); padding: clamp(72px, 10vw, 140px) 0; }
.contact > img { display: none; }
.contact h2 {
  font-family: var(--display); font-weight: 800; text-transform: uppercase; letter-spacing: .01em;
  font-size: clamp(48px, 10vw, 150px); line-height: .9; color: var(--ink);
}
.contact h2 .outline { color: transparent; -webkit-text-stroke: clamp(1.5px, .25vw, 3px) var(--ink); }
.contact h2 .accent { color: var(--accent); -webkit-text-stroke: 0; }
.contact p { color: var(--muted); font-size: 18px; margin: 24px 0 32px; }
.contact-list a, .contact-list .contact-static, .contact-card > a, .contact-card > .contact-static {
  background: #fff; border: 1px solid var(--line); color: var(--ink);
  backdrop-filter: none; -webkit-backdrop-filter: none;
}
.contact-list a:hover, .contact-card > a:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.contact-list small, .contact-card small, .contact-list .contact-static small { color: var(--muted); }
.contact-list a:hover small, .contact-card > a:hover small { color: rgba(255, 255, 255, .65); }
.contact .btn.light { background: var(--ink); color: #fff; }
.contact .btn.light:hover { background: var(--accent); }

/* ---------- footer: light and quiet ---------- */
.footer { background: var(--bg); color: var(--muted); border-top: 1px solid var(--line); padding: 32px var(--gutter) 24px; }
.footer .logo { color: var(--ink); }
.footer-top nav a { color: var(--ink); opacity: .7; font-size: 13px; letter-spacing: .02em; }
.footer-top nav a:hover { opacity: 1; color: var(--accent-ink); }
.footer .copy { color: var(--muted); }

/* ---------- mobile ---------- */
@media (max-width: 900px) {
  .nav, .nav.solid, .nav.open { padding-left: 14px; }
  .links {
    position: absolute; inset: calc(100% + 8px) 0 auto 0; margin: 0;
    flex-direction: column; gap: 2px;
    background: #fff; color: var(--ink); padding: 8px;
    border: 1px solid rgba(0, 0, 0, .06); border-radius: 24px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, .1);
  }
  .links a { padding: 14px 18px; font-size: 17px; border-radius: 16px; border-bottom: 0; }
  .burger { margin-left: auto; width: 36px; height: 36px; border-radius: 50%; background: #f3f3f3; }
  .burger span { width: 16px; }
  .hx { padding-top: 110px; }
  .sec-head { margin-bottom: 32px; }
}
@media (max-width: 420px) {
  .status-pill { font-size: 12px; padding: 7px 12px; }
}
@media (prefers-reduced-motion: reduce) { .status-dot { animation: none; } }

/* ---------- one shared content edge: everything lines up with the nav ---------- */
:root { --gutter: max(clamp(16px, 3vw, 40px), calc((100vw - 1280px) / 2)); }
.nav, .nav.solid, .nav.open { width: calc(100% - 2 * var(--gutter)); }
.hx { max-width: none; padding-left: var(--gutter); padding-right: var(--gutter); }
.hx-bottom { padding-left: 0; }
@media (max-width: 900px) {
  .cta { display: none; }
  .hero .hx-title { font-size: 12.4vw; }
}
@media (max-width: 900px) {
  .links { opacity: 0; transform: translateY(-8px); pointer-events: none; transition: opacity .25s, transform .25s; }
  .nav.open .links { opacity: 1; transform: none; pointer-events: auto; }
}

.links-contact { display: none; }
@media (max-width: 900px) { .links .links-contact { display: block; } }

/* ==========================================================
   PROJECT GRID: two big rounded tiles per row, title underneath
   with a circled arrow (replaces the 3D slider)
   ========================================================== */
:root {
  --circle-arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='M8 12h8M12.5 8.5 16 12l-3.5 3.5'/%3E%3C/svg%3E");
}
.project-grid {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(28px, 3vw, 44px) clamp(16px, 1.8vw, 24px);
}
.project-grid .card { display: block; text-align: left; cursor: pointer; }
.project-grid .card-media { aspect-ratio: 16 / 9.4; border-radius: 20px; background: #ebebeb; }
.project-grid .card-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.project-grid .card:hover .card-media img { transform: scale(1.035); filter: none; }
.project-grid .pill, .project-grid .label { display: none; }

.project-grid .card h3 {
  display: flex; align-items: center; gap: 14px;
  margin: 18px 0 0 6px;
  font-family: var(--font); font-weight: 400; font-size: clamp(18px, 1.7vw, 23px); letter-spacing: -.01em; color: var(--ink);
  transition: color .25s;
}
.project-grid .card h3::before {
  content: ""; flex: none; width: 22px; height: 22px; background: currentColor;
  -webkit-mask: var(--circle-arrow) center / contain no-repeat; mask: var(--circle-arrow) center / contain no-repeat;
  transition: transform .3s ease;
}
.project-grid .card:hover h3 { color: var(--accent-ink); }
.project-grid .card:hover h3::before { transform: rotate(-45deg); }
.project-grid .card .meta { margin: 4px 0 0 42px; font-size: 14px; color: var(--muted); }
.project-grid .card:focus-visible { outline: none; }
.project-grid .card:focus-visible .card-media { outline: 2px solid var(--accent); outline-offset: 4px; }

/* section heads: big title left, small label right (like the example) */
.sec-head { flex-wrap: nowrap; justify-content: space-between; align-items: flex-start; gap: 24px; }
.sec-head .sec-title { order: 0; flex: 1 1 auto; }
.sec-head .sec-index {
  order: 1; flex: none; max-width: 240px; padding-top: .6em; text-align: right;
  font-size: 13px; letter-spacing: .04em; text-transform: uppercase; line-height: 1.4;
}
.sec-head .sec-index span { display: block; margin: 2px 0 0; color: var(--ink); }

@media (max-width: 700px) {
  .project-grid { grid-template-columns: 1fr; }
  .project-grid .card-media { border-radius: 16px; }
  .sec-head { flex-direction: column-reverse; gap: 10px; }
  .sec-head .sec-index { text-align: left; padding-top: 0; }
  .sec-head .sec-index span { display: inline; margin-left: 4px; }
}

/* ==========================================================
   LOGO STRIP BETWEEN PROJECTS AND VENTURES · COMPACT VENTURES
   ========================================================== */
.work .clients {
  margin: clamp(64px, 8vw, 110px) 0 0; padding: clamp(40px, 5vw, 64px) 0 0;
  border-top: 1px solid var(--line); border-bottom: 0;
}
.work { padding-bottom: clamp(40px, 5vw, 72px); }
.ventures { padding-top: clamp(56px, 7vw, 100px); }

/* rows only as tall as their content (was: every row as tall as the tallest) */
.venture-grid { grid-auto-rows: auto; gap: 16px; }
.venture.row { padding: clamp(22px, 2.4vw, 36px); gap: clamp(20px, 2.6vw, 40px); min-height: 0; }
.venture.euphoriax .eux-shot, .venture.row .row-visual.single { height: clamp(220px, 18vw, 280px); }
.venture.row.v-shotso .row-visual, .venture.row.v-apps .row-visual { height: clamp(140px, 11vw, 176px); }
.venture.row .venture-text p { margin-bottom: 16px; }
.venture-text h3 { margin-bottom: 8px; }
.venture.euphoriax .eux-facts { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px 20px; margin-bottom: 18px; }
.v-apps .app-list a { padding: 10px 0; }
@media (max-width: 900px) {
  .venture.euphoriax .eux-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .venture.euphoriax .eux-shot, .venture.row .row-visual.single { height: auto; }
}


.venture.row.v-shotso, .venture.row.v-apps { align-content: start; }
.venture.row.v-shotso .venture-text, .venture.row.v-apps .venture-text { align-self: start; }

/* logo image (nav + footer) */
.logo img { display: block; width: auto; height: 24px; }
.footer .logo img { height: 34px; }

/* ---------- footer: bottom half of the banner gradient (same 50% look as the banner) ---------- */
.footer { position: relative; isolation: isolate; background: #c9d6df; border-top: 0; color: rgba(34, 34, 34, .6); }
.footer::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: url("assets/footer-bottom.jpg") center / cover no-repeat; opacity: .5;
}
.footer .copy { color: rgba(34, 34, 34, .6); }
.footer-top nav a { color: var(--ink); opacity: .75; }

/* ==========================================================
   CLUELY-STYLE COLOURWAY (2026-11-12)
   white page · Geist 500 headings with a black-to-grey gradient
   · EB Garamond for the big name · light grey body text
   · blue gradient buttons · banner + footer fade at 50%
   ========================================================== */
:root {
  --bg: #ffffff;
  --ink: #19191d;
  --ink-2: #2e3038;
  --muted: #8c929d;
  --line: #ececf0;
  --accent: #1c38ea;
  --accent-ink: #1e5fd8;
  --accent-2: #1e82e0;
  --font: "Geist", ui-sans-serif, system-ui, sans-serif;
  --display: "Geist", ui-sans-serif, system-ui, sans-serif;
  --serif: "EB Garamond", Georgia, serif;
  --title-grad: linear-gradient(to right, #19191d 0%, #6e6e82 100%);
  --blue-grad: radial-gradient(101.79% 101.79% at 65.61% 81.79%, rgba(255,255,255,.6) 0, rgba(255,255,255,0) 100%),
               radial-gradient(114.65% 114.65% at 9.73% 17.27%, #1e82e0 0, #1c38ea 100%);
  --blue-shadow: 0 10px 24px rgba(148, 172, 243, .45), inset -3px -3px 4px rgba(191, 229, 251, .4), inset 4px 4px 4px rgba(19, 26, 228, .1);
}
body { background: var(--bg); color: var(--ink); font-family: var(--font); }
.work, .ventures, .timeline, .film, .contact { background: var(--bg); }
::selection { background: var(--accent); color: #fff; }
:focus-visible { outline-color: var(--accent); }

/* ---------- gradient titles: black fading to light grey ---------- */
.sec-title, .contact h2, .hx-role {
  background: var(--title-grad); -webkit-background-clip: text; background-clip: text;
  color: transparent; -webkit-text-fill-color: transparent;
}
.sec-title {
  font-family: var(--display); font-weight: 500; text-transform: none;
  font-size: clamp(34px, 3.9vw, 56px); line-height: 1.15; letter-spacing: -.023em;
}
.sec-title .outline, .contact h2 .outline { -webkit-text-stroke: 0; color: transparent; }

/* hero name in the serif, each word its own gradient (they animate separately) */
.hero .hx-title { font-family: var(--serif); font-weight: 500; text-transform: none; letter-spacing: -.02em; line-height: .95; font-size: clamp(56px, 10.4vw, 160px); }
.hero .hx-title span {
  background: var(--title-grad); -webkit-background-clip: text; background-clip: text;
  color: transparent; -webkit-text-fill-color: transparent; -webkit-text-stroke: 0;
  padding-bottom: .06em;
}
.hero .hx-outline { -webkit-text-stroke: 0; }
.hx-role { font-family: var(--display); font-weight: 500; letter-spacing: -.02em; }
.hx-meta, .hx-text { color: var(--muted); }
.hx-text { font-size: 18px; line-height: 1.5; }
.hx-label { color: var(--accent-ink); }

/* ---------- light grey text ---------- */
.about-text p, .tl p, .card .meta, .project-grid .card .meta, .contact p, .sec-index span { color: var(--muted); }
.about-text p.lead { color: var(--ink-2); font-weight: 500; letter-spacing: -.01em; }
.about-text b, .tl b, .tl a { color: var(--ink-2); }
.tl b { font-family: var(--display); font-weight: 500; letter-spacing: -.015em; }
.project-grid .card h3 { color: var(--ink-2); font-weight: 500; }
.project-grid .card:hover h3 { color: var(--accent); }
.skills span { color: var(--ink-2); background: #fff; border-color: var(--line); }

/* ---------- accents: Cluely blue ---------- */
.sec-index { color: var(--accent-ink); }
.tl time { color: var(--accent-ink); }
.tl li.now::before { background: var(--accent); box-shadow: 0 0 0 5px rgba(28, 56, 234, .14); }
.tl a:hover, .about-text a:hover, .footer-top nav a:hover { color: var(--accent); }
.progress { background: linear-gradient(90deg, #1e82e0, #1c38ea); }
.contact h2 .accent {
  background: linear-gradient(100deg, #1e82e0, #1c38ea); -webkit-background-clip: text; background-clip: text;
  color: transparent; -webkit-text-fill-color: transparent;
}
.contact h2 { font-family: var(--display); font-weight: 500; text-transform: none; letter-spacing: -.035em; line-height: 1; font-size: clamp(44px, 7vw, 104px); }

/* ---------- buttons: blue gradient, soft glow, 12px corners ---------- */
.cta, .btn, .contact .btn.light {
  background: var(--blue-grad); color: #fff; border-radius: 12px; box-shadow: var(--blue-shadow);
  font-weight: 500;
}
.cta:hover, .btn:hover, .contact .btn.light:hover { background: var(--blue-grad); filter: brightness(1.08); transform: translateY(-1px); box-shadow: var(--blue-shadow), 0 14px 30px rgba(28, 56, 234, .25); }
/* white buttons stay white on the dark venture cards */
.venture .btn.light { background: #fff; color: var(--ink); box-shadow: none; }
.venture .btn.light:hover { background: #fff; filter: none; box-shadow: 0 8px 20px rgba(0, 0, 0, .25); }
.links a.active { background: var(--ink); }
.contact-list a:hover, .contact-card > a:hover { background: var(--ink); border-color: var(--ink); }

/* ---------- banner + footer: 50% opacity, fading softly into the white page ---------- */
.hero { background: #fff; }
.hero-photo {
  opacity: .5;
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 55%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 0%, #000 55%, transparent 100%);
}
.footer { background: #fff; }
.footer::before {
  opacity: .5;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 55%, #000 100%);
  mask-image: linear-gradient(to bottom, transparent 0%, #000 55%, #000 100%);
}
.footer { padding-top: clamp(64px, 8vw, 110px); }

.hero .hx-title { justify-content: flex-start; column-gap: .22em; }

/* no divider line above "worked with" */
.work .clients, .clients { border-top: 0; border-bottom: 0; }

.hx-meta { color: var(--accent-ink); font-weight: 500; }

/* "worked with" sits closer under the projects */
.work .clients { margin-top: clamp(32px, 4vw, 56px); padding-top: 0; }

/* ==========================================================
   ABOUT: fact sheet (intro · education · awards | software · experience)
   ========================================================== */
.about-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 96px); margin-top: clamp(8px, 1vw, 16px); }
.about-col { display: flex; flex-direction: column; gap: clamp(36px, 4vw, 56px); }
.about-grid .about-text { margin: 0; max-width: 560px; }
.about-grid .about-text p { font-size: 16px; line-height: 1.65; margin: 0 0 14px; }
.about-grid .about-text p.lead { font-size: clamp(18px, 1.6vw, 21px); line-height: 1.5; margin-bottom: 18px; }

.fact-title {
  margin: 0 0 18px; font-family: var(--display); font-weight: 500; font-size: clamp(22px, 2vw, 28px); letter-spacing: -.02em;
  background: var(--title-grad); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent;
  width: fit-content;
}
.facts { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.facts li { display: grid; grid-template-columns: 104px minmax(0, 1fr); column-gap: 18px; row-gap: 2px; }
.facts time { grid-row: span 2; padding-top: 2px; font-size: 13px; font-weight: 500; color: var(--accent-ink); white-space: nowrap; }
.facts b { font-size: 15px; font-weight: 500; color: var(--ink-2); letter-spacing: -.01em; }
.facts span { font-size: 14px; line-height: 1.5; color: var(--muted); }
.facts a { color: var(--ink-2); }
.facts a:hover { color: var(--accent); }

.apps { list-style: none; margin: 0 0 22px; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 18px 10px; }
.apps li { display: flex; flex-direction: column; align-items: center; gap: 8px; font-size: 11.5px; line-height: 1.25; text-align: center; color: var(--muted); }
.apps i {
  display: grid; place-items: center; width: 52px; height: 52px; border-radius: 13px;
  background: var(--b); color: var(--f);
  font-style: normal; font-family: var(--display); font-weight: 600; font-size: 19px; letter-spacing: -.02em;
  box-shadow: 0 1px 0 rgba(255,255,255,.12) inset, 0 6px 14px rgba(25, 25, 29, .12);
  transition: transform .25s ease, box-shadow .25s ease;
}
.apps li:hover i { transform: translateY(-3px); box-shadow: 0 10px 22px rgba(25, 25, 29, .18); }
.about-grid .skills { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; }
.about-grid .skills span { padding: 7px 12px; border-radius: 999px; font-size: 12.5px; }

@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; }
  .apps { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 420px) {
  .facts li { grid-template-columns: 1fr; }
  .facts time { grid-row: auto; }
}

/* reset old timeline rules inside the fact sheet */
.timeline .facts li { display: grid; grid-template-columns: 104px minmax(0, 1fr); column-gap: 18px; row-gap: 2px; padding: 0; border: 0; align-items: start; }
.timeline .facts li span { font-size: 14px; letter-spacing: 0; text-transform: none; line-height: 1.5; color: var(--muted); }
.timeline .facts li b { font-size: 15px; font-weight: 500; color: var(--ink-2); }
.timeline .apps li { display: flex; padding: 0; border: 0; }
@media (max-width: 420px) { .timeline .facts li { grid-template-columns: 1fr; } }

/* timeline back under the fact sheet */
.about-timeline { margin-top: clamp(56px, 7vw, 96px); }
.about-timeline .tl { margin-top: 8px; }
.timeline .about-timeline .tl { margin-top: 4px; border-top: 0; }

/* ---------- official app icons ---------- */
.apps .app-ic {
  display: grid; place-items: center; width: 52px; height: 52px; border-radius: 13px; overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease;
}
.apps .app-ic img { width: 100%; height: 100%; object-fit: contain; display: block; }
/* plain marks sit on a light tile, like on the reference */
.apps .app-ic.tile { background: #f4f4f6; box-shadow: inset 0 0 0 1px var(--line); padding: 9px; }
.apps .app-ic.rstudio { padding: 8px; }
.apps li:hover .app-ic { transform: translateY(-3px); box-shadow: 0 10px 22px rgba(25, 25, 29, .16); }
.apps li:hover .app-ic.tile { box-shadow: inset 0 0 0 1px var(--line), 0 10px 22px rgba(25, 25, 29, .12); }
.apps .app-ic.nx { background: #009999; padding: 7px; }

/* icon tiles exactly like aeonbonje.com, scaled from 38px to 52px */
.apps .app-ic { overflow: visible; border-radius: 0; }
.apps .app-ic.tile { background: #fff; border-radius: 11px; padding: 10px; box-shadow: 0 0 0 1px rgba(0, 0, 0, .08); }
.apps li:hover .app-ic.tile { box-shadow: 0 0 0 1px rgba(0, 0, 0, .08), 0 10px 22px rgba(25, 25, 29, .12); }
.apps .app-ic.nx {
  display: grid; place-items: center; align-content: center; gap: 1px;
  background: #009999; border-radius: 11px; padding: 7px 5px;
}
.apps .app-ic.nx img { width: 41px; height: 41px; object-fit: contain; margin: -9px 0 -11px; }
.apps .app-ic.nx b { font-family: "Archivo", system-ui, sans-serif; font-weight: 900; font-size: 16px; line-height: 1; color: #fff; }

/* SolidWorks tile from the provided icon set: rounded like the Adobe icons */
.apps img[src*="solidworks-tile"] { border-radius: 11px; }

/* old .tile overlay must not darken the app icons */
.apps .app-ic::after, .apps .app-ic::before { content: none !important; display: none !important; }

/* round logos sit in a clearly visible rounded frame */
.apps .app-ic.tile { background: #f5f5f7; border-radius: 12px; padding: 8px; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .07); }
.apps li:hover .app-ic.tile { box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .07), 0 10px 22px rgba(25, 25, 29, .12); }

/* ---------- project tags: company + award ---------- */
.project-grid .proj-tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0 0 42px; }
.project-grid .tag {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 10px; border-radius: 999px; font-size: 12.5px; font-weight: 500; line-height: 1.2; letter-spacing: 0;
}
.project-grid .tag-co { background: #f3f3f5; color: var(--ink-2); box-shadow: inset 0 0 0 1px var(--line); }
.project-grid .tag-co::before { content: "For"; color: var(--muted); font-weight: 400; }
.project-grid .tag-award { background: rgba(28, 56, 234, .08); color: var(--accent); }
.project-grid .tag-award svg { width: 14px; height: 14px; flex: none; }
@media (max-width: 480px) { .project-grid .proj-tags { margin-left: 0; } }

/* every icon box is a rounded square, also its hover shadow */
.apps .app-ic { border-radius: 12px; overflow: hidden; }
.apps .app-ic img { border-radius: inherit; }
.apps .app-ic.tile img { border-radius: 0; }

/* ---------- Tectonic: hall overview as background, two photos on the right ---------- */
.venture.row.v-tectonic {
  background:
    linear-gradient(90deg, rgba(10,6,6,.92) 0%, rgba(10,6,6,.78) 38%, rgba(10,6,6,.35) 70%, rgba(10,6,6,.55) 100%),
    #0d0909 url("assets/tectonic-hall.jpg") center 40% / cover no-repeat !important;
}
.venture.row .row-visual.tect-duo {
  display: grid; grid-template-columns: 1.55fr 1fr; gap: 10px;
  height: clamp(240px, 20vw, 320px); width: 100%;
}
.venture.row .row-visual.tect-duo img {
  position: static; inset: auto; width: 100%; height: 100%; object-fit: cover;
  border-radius: 16px; box-shadow: 0 0 0 1px rgba(255,255,255,.08), 0 24px 60px rgba(0,0,0,.5);
}
.venture.row .row-visual.tect-duo img:first-child { object-position: 55% 45%; }
.venture.row .row-visual.tect-duo img:last-child { object-position: center 55%; }
@media (max-width: 900px) {
  .venture.row .row-visual.tect-duo { height: 240px; order: -1; }
}
.venture.row .row-visual.tect-duo { grid-template-rows: minmax(0, 1fr); overflow: hidden; border-radius: 16px; }
.venture.row .row-visual.tect-duo img { height: 100% !important; min-height: 0; max-height: 100%; aspect-ratio: auto !important; }

/* ---------- round portrait next to the About text ---------- */
.about-portrait {
  width: clamp(160px, 16vw, 224px); height: auto; aspect-ratio: 1; border-radius: 50%;
  object-fit: cover; object-position: center 30%; background: #f1f1f3;
  box-shadow: 0 18px 40px rgba(25, 25, 29, .10);
}
@media (max-width: 900px) { .about-portrait { width: 150px; order: -1; } }

/* About as a 2x2 grid: text | photo, then Education | Skills on one line */
.about-grid.about-grid-2x2 { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); row-gap: clamp(40px, 5vw, 64px); align-items: start; }
.about-grid-2x2 .about-portrait { align-self: center; }
@media (max-width: 900px) {
  .about-grid.about-grid-2x2 { grid-template-columns: 1fr; }
  .about-grid-2x2 .about-portrait { order: -1; }
}

/* ---------- extra skills behind one fold-out button ---------- */
.more-skills { margin-top: 4px; }
.more-skills summary {
  display: inline-flex; align-items: center; gap: 8px; cursor: pointer; list-style: none;
  padding: 8px 14px; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 1px var(--line);
  font-size: 13px; font-weight: 500; color: var(--ink-2); user-select: none;
  transition: background .2s, box-shadow .2s;
}
.more-skills summary::-webkit-details-marker { display: none; }
.more-skills summary::after { content: ""; width: 7px; height: 7px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform .25s; }
.more-skills[open] summary::after { transform: translateY(2px) rotate(-135deg); }
.more-skills summary:hover { background: #f5f5f7; }
.more-skills .count { color: var(--muted); font-weight: 400; }
.more-skills .skills { margin-top: 12px; }

/* fold-out button: just an arrow */
.more-skills summary { width: 36px; height: 36px; padding: 0; justify-content: center; gap: 0; }

/* ==========================================================
   VENTURES in the same style as the projects:
   rounded image tile · circled-arrow title · grey meta · tags · link pills
   ========================================================== */
.vt-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(36px, 4vw, 56px) clamp(16px, 1.8vw, 24px); }
.vt { display: flex; flex-direction: column; }
.vt-media {
  position: relative; display: block; overflow: hidden; aspect-ratio: 16 / 9.4;
  border-radius: 20px; background: #ebebeb;
}
.vt-media > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
a.vt-media:hover > img { transform: scale(1.035); }
.vt-phones { display: flex; align-items: center; justify-content: center; gap: 4%; padding: 6% 8% 0; background: linear-gradient(180deg, #f3f4f7, #e6e8ee); }
.vt-phones img {
  position: static; width: 26%; height: auto; align-self: flex-end;
  border-radius: 14px 14px 0 0; box-shadow: 0 18px 40px rgba(25, 25, 29, .18);
}
.vt-phones img:nth-child(2) { width: 29%; }

.vt-title {
  display: flex; align-items: center; gap: 14px; margin: 18px 0 0 6px;
  font-family: var(--font); font-weight: 500; font-size: clamp(18px, 1.7vw, 23px); letter-spacing: -.01em; color: var(--ink-2);
}
.vt-title::before {
  content: ""; flex: none; width: 22px; height: 22px; background: currentColor;
  -webkit-mask: var(--circle-arrow) center / contain no-repeat; mask: var(--circle-arrow) center / contain no-repeat;
  transition: transform .3s ease;
}
.vt:hover .vt-title { color: var(--accent); }
.vt:hover .vt-title::before { transform: rotate(-45deg); }
.vt-title a, .vt-title span { color: inherit; }
.vt-meta { margin: 4px 0 0 42px; font-size: 14px; color: var(--muted); }
.vt-desc { margin: 12px 0 0 42px; max-width: 560px; font-size: 14.5px; line-height: 1.6; color: var(--muted); }
.vt-desc b { color: var(--ink-2); font-weight: 500; }

.vt-tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 14px 0 0 42px; }
.vt .tag {
  display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 999px;
  font-size: 12.5px; font-weight: 500; line-height: 1.2; background: #f3f3f5; color: var(--ink-2); box-shadow: inset 0 0 0 1px var(--line);
}
.vt .tag-co::before { content: "For"; color: var(--muted); font-weight: 400; }
.vt .tag-award { background: rgba(28, 56, 234, .08); color: var(--accent); box-shadow: none; }
.vt .tag-award svg { width: 14px; height: 14px; flex: none; }

.vt-links { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 0 42px; }
.vt-link {
  display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 14px; border-radius: 999px;
  background: #fff; box-shadow: inset 0 0 0 1px var(--line); color: var(--ink-2);
  font: 500 13px/1 var(--font); cursor: pointer; transition: background .2s, color .2s, box-shadow .2s;
}
.vt-link::after { content: "\2197"; color: var(--muted); transition: transform .25s, color .2s; }
.vt-link:hover { background: var(--ink); color: #fff; box-shadow: none; }
.vt-link:hover::after { color: #fff; transform: translate(2px, -2px); }
.vt-link img { width: 18px; height: 18px; border-radius: 5px; }
.vt-link[data-video]::after { content: "\25B6"; font-size: 9px; }

@media (max-width: 700px) {
  .vt-grid { grid-template-columns: 1fr; }
  .vt-media { border-radius: 16px; }
}
@media (max-width: 480px) {
  .vt-meta, .vt-desc, .vt-tags, .vt-links { margin-left: 0; }
}

/* ---------- gradient band behind "worked on projects for", fading out left and right ---------- */
.work .clients { position: relative; isolation: isolate; padding: clamp(36px, 4vw, 56px) 0; }
.work .clients::before {
  content: ""; position: absolute; z-index: -1; top: 0; bottom: 0;
  left: calc(-1 * var(--gutter)); right: calc(-1 * var(--gutter));
  background: url("assets/clients-band.jpg?v=2") center / cover no-repeat; opacity: .5;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 22%, #000 78%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 22%, #000 78%, transparent 100%);
}
/* band fades out on all sides (left/right and top/bottom), at 50% */
.work .clients::before {
  opacity: .5;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 22%, #000 78%, transparent 100%), linear-gradient(180deg, transparent 0%, #000 30%, #000 70%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(90deg, transparent 0%, #000 22%, #000 78%, transparent 100%), linear-gradient(180deg, transparent 0%, #000 30%, #000 70%, transparent 100%);
  mask-composite: intersect;
}
.work .clients { padding: clamp(48px, 5.4vw, 76px) 0; }
/* band: fade only top and bottom, full colour to the left/right edges */
.work .clients::before {
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 30%, #000 70%, transparent 100%);
  mask-image: linear-gradient(180deg, transparent 0%, #000 30%, #000 70%, transparent 100%);
  -webkit-mask-composite: source-over; mask-composite: add;
}
.work .clients::before { top: 5px; bottom: -5px; }
.work .clients { margin-top: clamp(48px, 5.6vw, 80px); }

/* ==========================================================
   PROJECT PAGE (opens like a popup over the site)
   ========================================================== */
.case-lock, .case-lock body { overflow: hidden; }
.case {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(25, 25, 29, 0); backdrop-filter: blur(0); -webkit-backdrop-filter: blur(0);
  display: flex; align-items: flex-end; justify-content: center;
  transition: background .35s ease, backdrop-filter .35s ease;
}
.case[hidden] { display: none; }
.case.open { background: rgba(25, 25, 29, .45); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.case-sheet {
  position: relative; width: min(1180px, 100%); height: calc(100% - 28px);
  overflow-y: auto; overscroll-behavior: contain; outline: none;
  background: #fff; border-radius: 24px 24px 0 0;
  box-shadow: 0 -20px 60px rgba(25, 25, 29, .25);
  padding: 0 clamp(20px, 5vw, 72px) clamp(40px, 6vw, 80px);
  transform: translateY(100%); transition: transform .45s cubic-bezier(.2, .8, .2, 1);
}
.case.open .case-sheet { transform: none; }

.case-bar {
  position: sticky; top: 0; z-index: 2;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  margin: 0 calc(-1 * clamp(20px, 5vw, 72px)); padding: 16px clamp(20px, 5vw, 72px);
  background: rgba(255, 255, 255, .88); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.case-crumb { font-size: 13px; color: var(--muted); }
.case-crumb i { font-style: normal; margin: 0 6px; opacity: .6; }
.case-close {
  display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 14px; border-radius: 999px;
  background: #f3f3f5; color: var(--ink-2); font: 500 13px/1 var(--font); cursor: pointer; transition: background .2s, color .2s;
}
.case-close:hover { background: var(--ink); color: #fff; }

.case-head { max-width: 760px; padding: clamp(36px, 5vw, 64px) 0 clamp(28px, 3vw, 40px); }
.case-meta { margin: 0 0 10px; font-size: 14px; font-weight: 500; color: var(--accent-ink); }
.case-title {
  margin: 0; font-family: var(--display); font-weight: 500; letter-spacing: -.03em; line-height: 1.05;
  font-size: clamp(40px, 6vw, 80px);
  background: var(--title-grad); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent;
  width: fit-content;
}
.case-tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 18px 0 0; }
.case-tags .tag { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; font-size: 13px; font-weight: 500; }
.case-tags .tag-co { background: #f3f3f5; color: var(--ink-2); box-shadow: inset 0 0 0 1px var(--line); }
.case-tags .tag-co::before { content: "For"; color: var(--muted); font-weight: 400; }
.case-tags .tag-award { background: rgba(28, 56, 234, .08); color: var(--accent); }
.case-tags .tag-award svg { width: 14px; height: 14px; }
.case-desc { margin: 20px 0 0; font-size: clamp(17px, 1.5vw, 20px); line-height: 1.6; color: var(--muted); }
.case-link {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 22px; height: 44px; padding: 0 18px; border-radius: 12px;
  background: var(--blue-grad); color: #fff; box-shadow: var(--blue-shadow); font-weight: 500; font-size: 15px;
}
.case-link::after { content: "\2197"; }

.case-hero, .case-gallery figure, .case-video { margin: 0; overflow: hidden; border-radius: 20px; background: #f1f1f3; }
.case-hero img { width: 100%; height: auto; display: block; }
.case-gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 16px; }
.case-gallery img { width: 100%; height: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
.case-gallery figure:only-child, .case-gallery figure:last-child:nth-child(odd) { grid-column: 1 / -1; }
.case-gallery figure:last-child:nth-child(odd) img { aspect-ratio: 16 / 9; }
.case-video { margin-top: 16px; background: #000; }
.case-video video { width: 100%; display: block; max-height: 80vh; }

.case-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: clamp(40px, 5vw, 64px); padding-top: 24px; border-top: 1px solid var(--line); }
.case-nav button {
  display: flex; flex-direction: column; gap: 4px; padding: 18px 20px; border-radius: 16px; text-align: left;
  background: #f6f6f8; cursor: pointer; transition: background .2s;
}
.case-nav .case-next { text-align: right; align-items: flex-end; }
.case-nav small { font-size: 12px; color: var(--muted); }
.case-nav span { font-size: clamp(16px, 1.6vw, 20px); font-weight: 500; color: var(--ink-2); }
.case-nav .case-prev span::before { content: "\2190  "; }
.case-nav .case-next span::after { content: "  \2192"; }
.case-nav button:hover { background: #ececf0; }
.case-nav button:hover span { color: var(--accent); }

@media (max-width: 700px) {
  .case-sheet { height: calc(100% - 12px); border-radius: 18px 18px 0 0; }
  .case-gallery { grid-template-columns: 1fr; }
  .case-gallery figure:last-child:nth-child(odd) { grid-column: auto; }
  .case-crumb { display: none; }
}
@media (prefers-reduced-motion: reduce) { .case-sheet, .case { transition: none; } }

/* company always at the right of the project title, without "For" */
.project-grid .card h3 { justify-content: flex-start; }
.project-grid .card h3::after { content: none; }
.project-grid .card h3 .proj-co {
  margin-left: auto; padding-left: 16px; text-align: right; white-space: nowrap;
  font-size: 14px; font-weight: 500; letter-spacing: 0; color: var(--muted);
  transition: color .25s;
}
.project-grid .card:hover h3 .proj-co { color: var(--ink-2); }
.tag-co::before, .project-grid .tag-co::before, .vt .tag-co::before, .case-tags .tag-co::before { content: none !important; }
@media (max-width: 480px) { .project-grid .card h3 .proj-co { font-size: 12.5px; } }
@media (max-width: 700px) { .case-bar { justify-content: flex-end; } }

/* ---------- popup: no visible scrollbar ---------- */
.case-sheet { scrollbar-width: none; -ms-overflow-style: none; }
.case-sheet::-webkit-scrollbar { display: none; width: 0; height: 0; }

/* ---------- ventures open the same popup: tiles show only image, title and subtitle ---------- */
.vt { cursor: pointer; }
.vt .vt-desc, .vt .vt-tags, .vt .vt-links { display: none; }
.vt:hover .vt-media > img { transform: scale(1.035); }
.vt:focus-visible { outline: none; }
.vt:focus-visible .vt-media { outline: 2px solid var(--accent); outline-offset: 4px; }

/* links + phone screenshots inside the popup */
.case-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.case-desc b { color: var(--ink-2); font-weight: 500; }
.case-gallery.phones { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 0; }
.case-gallery.phones figure { background: #f3f4f7; padding: 14px 14px 0; display: flex; align-items: flex-end; }
.case-gallery.phones img { aspect-ratio: auto; height: auto; object-fit: contain; border-radius: 14px 14px 0 0; box-shadow: 0 12px 30px rgba(25, 25, 29, .15); }
.case-gallery.phones figure:last-child:nth-child(odd) { grid-column: auto; }
@media (max-width: 700px) { .case-gallery.phones { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.case-gallery.phones figure { justify-content: center; height: clamp(300px, 34vw, 440px); overflow: hidden; }
.case-gallery.phones img { width: auto; max-width: 100%; height: auto; max-height: none; align-self: flex-start; margin-top: 4%; }

/* scroll cue in the banner hidden */
.hero-scroll { display: none !important; }

/* ==========================================================
   CASE CONTENT in the popup: facts, numbered sections, photo rows
   ========================================================== */
.case-facts {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 18px 28px;
  margin: 0 0 clamp(28px, 3vw, 40px); padding: 22px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.case-facts div { min-width: 0; }
.case-facts dt { margin: 0 0 4px; font-size: 11px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.case-facts dd { margin: 0; font-size: 15px; font-weight: 500; line-height: 1.4; color: var(--ink-2); }
.case-body > .case-imgs, .case-body > .case-video { margin-bottom: clamp(36px, 5vw, 64px); }
.case-video figcaption { padding: 10px 4px 0; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); background: #fff; }

.case-imgs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.case-imgs.wide, .case-imgs:has(> figure:only-child) { grid-template-columns: 1fr; }
.case-imgs.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.case-imgs figure { margin: 0; overflow: hidden; border-radius: 18px; background: #f1f1f3; }
.case-imgs img { display: block; width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; }
.case-imgs.wide img, .case-imgs > figure:only-child img { aspect-ratio: auto; height: auto; }

.case-sec { display: grid; grid-template-columns: 64px minmax(0, 1fr); column-gap: 20px; padding: clamp(28px, 4vw, 48px) 0; border-top: 1px solid var(--line); }
.case-no { grid-row: span 2; padding-top: 6px; font-size: 13px; font-weight: 500; color: var(--accent-ink); font-variant-numeric: tabular-nums; }
.case-sec h3 { margin: 0 0 10px; font-family: var(--display); font-weight: 500; font-size: clamp(22px, 2.2vw, 30px); letter-spacing: -.02em; color: var(--ink-2); }
.case-sec p { margin: 0; max-width: 680px; font-size: 16px; line-height: 1.7; color: var(--muted); }
.case-sec .case-imgs, .case-sec .case-video { grid-column: 1 / -1; margin-top: 24px; }

@media (max-width: 700px) {
  .case-sec { grid-template-columns: 1fr; }
  .case-no { grid-row: auto; padding: 0 0 6px; }
  .case-imgs, .case-imgs.three { grid-template-columns: 1fr; }
}

/* ---------- year right after each title ---------- */
.project-grid .card h3 .proj-year, .vt-title .vt-year {
  margin-left: -4px; font-size: .62em; font-weight: 500; letter-spacing: 0; color: var(--muted);
  font-variant-numeric: tabular-nums; transform: translateY(1px);
}
.project-grid .card:hover h3 .proj-year, .vt:hover .vt-title .vt-year { color: var(--accent-ink); }
.case-head { position: relative; }
.case-year { display: inline-block; margin-top: 8px; font-size: 15px; font-weight: 500; color: var(--muted); font-variant-numeric: tabular-nums; }

/* ---------- awards as badges on the photo, top right ---------- */
.award-badges, .project-grid .card-media .proj-tags.award-badges {
  position: absolute; z-index: 2; top: 14px; right: 14px; left: auto; margin: 0;
  display: flex; flex-direction: column; align-items: flex-end; gap: 6px; max-width: calc(100% - 28px);
  pointer-events: none;
}
.award-badges .tag-award, .project-grid .award-badges .tag-award, .vt .award-badges .tag-award {
  display: inline-flex; align-items: center; gap: 6px; padding: 6px 11px; border-radius: 999px;
  background: rgba(255, 255, 255, .86); color: var(--ink-2); box-shadow: 0 4px 14px rgba(0, 0, 0, .18);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  font-size: 12px; font-weight: 500; line-height: 1.2; text-align: right;
}
.award-badges .tag-award svg { width: 14px; height: 14px; flex: none; color: #c58b00; }
@media (max-width: 480px) {
  .award-badges { top: 10px; right: 10px; }
  .award-badges .tag-award { font-size: 11px; padding: 5px 9px; }
}

/* award badges in the site blue, light and slightly see-through */
.award-badges .tag-award, .project-grid .award-badges .tag-award, .vt .award-badges .tag-award {
  background: rgba(214, 223, 255, .82); color: var(--accent);
  box-shadow: 0 4px 14px rgba(28, 56, 234, .18);
}
.award-badges .tag-award svg { color: var(--accent); }

/* trophy in the colour of the prize */
.tag-award.medal-gold svg { color: #d4a017 !important; }
.tag-award.medal-silver svg { color: #9aa3ad !important; }
.tag-award.medal-bronze svg { color: #b87333 !important; }

/* clearer trophies: bigger, filled, thicker outline */
.tag-award svg { width: 17px !important; height: 17px !important; }
.tag-award svg path { stroke-width: 2.1; }
.tag-award[class*="medal-"] svg path { fill: currentColor; fill-opacity: .45; }
.tag-award.medal-gold svg { color: #e0a100 !important; filter: drop-shadow(0 0 3px rgba(224, 161, 0, .45)); }
.tag-award.medal-silver svg { color: #8a95a3 !important; filter: drop-shadow(0 0 3px rgba(138, 149, 163, .45)); }
.tag-award.medal-bronze svg { color: #c2671f !important; filter: drop-shadow(0 0 3px rgba(194, 103, 31, .45)); }

/* trophies stay crisp on dark photos too: more opaque badge, solid two-tone cups */
.award-badges .tag-award, .project-grid .award-badges .tag-award, .vt .award-badges .tag-award { background: rgba(222, 229, 255, .96); }
.tag-award[class*="medal-"] svg { filter: none !important; }
.tag-award[class*="medal-"] svg path { fill-opacity: 1; stroke-width: 1.8; }
.tag-award.medal-gold svg path { fill: #f6c445; stroke: #9a6b00; }
.tag-award.medal-silver svg path { fill: #d5dbe2; stroke: #5f6874; }
.tag-award.medal-bronze svg path { fill: #e0965a; stroke: #7e3f10; }

/* ---------- venture logos over the image, bottom left ---------- */
.vt-logos { position: absolute; z-index: 2; left: 16px; bottom: 16px; display: flex; gap: 10px; pointer-events: none; }
.vt-logo {
  display: grid; place-items: center; width: 56px; height: 56px; border-radius: 15px; overflow: hidden;
  background: #fff; box-shadow: 0 8px 24px rgba(0, 0, 0, .28), 0 0 0 1px rgba(255, 255, 255, .25);
}
.vt-logo img { position: static !important; width: 100%; height: 100%; object-fit: cover; transform: none !important; }
.vt-logo.dark { background: linear-gradient(145deg, #2a2160, #0c0a24); }
.vt-logo.dark img { width: 58%; height: 58%; object-fit: contain; }
@media (max-width: 480px) { .vt-logos { left: 12px; bottom: 12px; } .vt-logo { width: 46px; height: 46px; border-radius: 12px; } }
.vt-phones .vt-logo img { width: 100%; height: 100%; border-radius: 0; box-shadow: none; align-self: auto; }

/* stats row + inline link inside a case section */
.case-stats { grid-column: 2 / -1; display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.case-stats div { display: flex; flex-direction: column; gap: 2px; min-width: 120px; padding: 14px 18px; border-radius: 14px; background: #f5f6fa; }
.case-stats b { font-family: var(--display); font-size: 26px; font-weight: 600; letter-spacing: -.02em; color: var(--accent); }
.case-stats span { font-size: 13px; color: var(--muted); }
.case-sec .case-inline-link { grid-column: 2 / -1; justify-self: start; margin-top: 18px; }
@media (max-width: 700px) { .case-stats, .case-sec .case-inline-link { grid-column: 1 / -1; } }

/* inline links inside case stories */
.case-sec p a, .case-desc a { color: var(--accent); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; transition: color .2s; }
.case-sec p a:hover, .case-desc a:hover { color: var(--ink-2); }

/* ---------- photo zoom inside the popup ---------- */
.case-sheet img:not(.vt-logo img) { cursor: zoom-in; }
.case-head img { cursor: auto; }
.case-imgs figure, .case-hero, .case-gallery figure { position: relative; }
.case-imgs figure img, .case-hero img, .case-gallery img { transition: transform .5s var(--ease), filter .3s; }
.case-imgs figure:hover img, .case-hero:hover img, .case-gallery figure:hover img { transform: scale(1.02); filter: brightness(.96); }
.zoom {
  position: fixed; inset: 0; z-index: 300; display: grid; place-items: center;
  background: rgba(10, 10, 14, 0); transition: background .25s ease;
}
.zoom[hidden] { display: none; }
.zoom.open { background: rgba(10, 10, 14, .92); }
.zoom img {
  max-width: min(92vw, 1600px); max-height: 86vh; width: auto; height: auto; border-radius: 12px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .5); opacity: 0; transform: scale(.97); transition: opacity .25s, transform .25s;
  cursor: zoom-out;
}
.zoom.open img { opacity: 1; transform: none; }
.zoom button {
  position: absolute; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 999px;
  background: rgba(255, 255, 255, .12); color: #fff; font-size: 18px; cursor: pointer; transition: background .2s;
}
.zoom button:hover { background: rgba(255, 255, 255, .24); }
.zoom-close { top: 18px; right: 18px; }
.zoom-prev { left: 18px; top: 50%; transform: translateY(-50%); }
.zoom-next { right: 18px; top: 50%; transform: translateY(-50%); }
.zoom.single .zoom-prev, .zoom.single .zoom-next { display: none; }
.zoom-count { position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%); color: rgba(255, 255, 255, .7); font-size: 13px; font-variant-numeric: tabular-nums; }
@media (max-width: 700px) { .zoom-prev, .zoom-next { top: auto; bottom: 14px; transform: none; } .zoom img { max-height: 78vh; } }
/* tall poster inside a case: shown whole, centred */
.case-imgs.poster { grid-template-columns: 1fr; justify-items: center; margin-top: 16px; }
.case-imgs.poster figure { max-width: 620px; width: 100%; }
.case-imgs.poster img { aspect-ratio: auto; height: auto; }
.case-body > .case-imgs.wide + .case-imgs.poster { margin-top: -40px; }

/* logo next to a wide screenshot (Graffify) */
.case-imgs.logo-shot { grid-template-columns: minmax(0, 1fr) minmax(0, 2.4fr); align-items: stretch; }
.case-imgs.logo-shot img { aspect-ratio: auto; height: 100%; }
.case-imgs.logo-shot figure:last-child { background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.case-imgs.logo-shot figure:last-child img { object-fit: contain; }
@media (max-width: 700px) { .case-imgs.logo-shot { grid-template-columns: 1fr; } .case-imgs.logo-shot figure:first-child { max-width: 220px; } }

/* no double line when a section follows the facts row directly */
.case-facts + .case-sec { border-top: 0; padding-top: 4px; }

.case-sheet .vt-logo img { cursor: default; }
.case-imgs figure .vt-logos { left: 18px; bottom: 18px; }
.case-imgs figure:hover .vt-logo img { transform: none; filter: none; }

/* ==========================================================
   CLEANER HERO: name and intro form one block, vertically centred.
   Intro sits right under the name in two columns, above a thin line.
   ========================================================== */
.hx { justify-content: center; gap: 0; padding-top: clamp(110px, 14vh, 160px); padding-bottom: clamp(60px, 10vh, 120px); }
.hx-bottom {
  margin-top: clamp(36px, 5vw, 64px); padding-top: clamp(22px, 2.4vw, 32px);
  border-top: 1px solid rgba(25, 25, 29, .12);
  display: block;
}
.hx-intro {
  max-width: none;
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); column-gap: clamp(32px, 6vw, 96px);
  align-items: end;
}
.hx-meta { grid-column: 1; grid-row: 1; margin: 0 0 8px; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; }
.hx-role { grid-column: 1; grid-row: 2; margin: 0; font-size: clamp(24px, 2.4vw, 34px); line-height: 1.15; }
.hx-text { grid-column: 2; grid-row: 1 / span 2; align-self: end; margin: 0; max-width: 440px; font-size: clamp(16px, 1.25vw, 18px); line-height: 1.55; }
@media (max-width: 900px) {
  .hx { justify-content: flex-start; }
  .hx-intro { grid-template-columns: 1fr; row-gap: 14px; }
  .hx-text { grid-column: 1; grid-row: 3; }
}

/* Belgium under the role */
.hx-role { grid-row: 1; }
.hx-meta { grid-row: 2; margin: 8px 0 0; }
@media (max-width: 900px) { .hx-role { grid-row: 1; } .hx-meta { grid-row: 2; } }

/* logo slider runs edge to edge across the full screen */
.work .clients .logo-marquee {
  margin-left: calc(-1 * var(--gutter)); margin-right: calc(-1 * var(--gutter));
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%);
}

/* less space between ventures and About */
.ventures { padding-bottom: clamp(32px, 4vw, 64px); }
.timeline#about { padding-top: clamp(40px, 5vw, 80px); }

/* equal space above and below the logo band */
.work { padding-bottom: 0; }
.ventures { padding-top: clamp(48px, 5.6vw, 80px); }

/* About now sits above Projects; Timeline stays at the bottom. Even spacing between sections. */
.timeline.about-top { padding-bottom: clamp(40px, 5vw, 72px); }
.timeline.timeline-only { padding-top: clamp(40px, 5vw, 80px); }
.timeline-only .about-timeline { margin-top: 0; }
