/* =========================================================
   Tokens
   ========================================================= */
:root {
  --bg: #0d0f0a;
  --bg-2: #15180f;
  --ink: #f1efe6;
  --muted: #8d8f84;
  --lime: #d2ff00;
  --lime-dim: #9bbd00;
  --line: rgba(241, 239, 230, 0.12);
  --display: "Bricolage Grotesque", system-ui, sans-serif;
  --body: "Inter", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
  --gutter: clamp(16px, 3vw, 40px);
  --ease: cubic-bezier(0.7, 0, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.5;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
::selection { background: var(--lime); color: var(--bg); }

.mono { font-family: var(--mono); font-size: 12px; letter-spacing: 0.04em; text-transform: lowercase; }
.lime { color: var(--lime); }
.section-tag { color: var(--muted); margin-bottom: 24px; display: block; }
.big {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(56px, 11vw, 180px);
  line-height: 0.86;
  letter-spacing: -0.045em;
  text-transform: lowercase;
}
.outline { color: transparent; -webkit-text-stroke: 1.5px var(--ink); }
section { position: relative; }

/* =========================================================
   Loader
   ========================================================= */
.loader {
  position: fixed; inset: 0; z-index: 100; visibility: hidden;
  background: var(--lime); color: var(--bg);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: var(--gutter);
}
.loader__count {
  font-family: var(--display); font-weight: 800;
  font-size: clamp(96px, 22vw, 360px); line-height: 0.8; letter-spacing: -0.05em;
}
.loader__label { margin-top: 12px; }
.js .loader { visibility: visible; }

/* =========================================================
   Cursor
   ========================================================= */
.cursor {
  position: fixed; top: 0; left: 0; z-index: 90;
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--lime); pointer-events: none;
  transform: translate(-50%, -50%);
  mix-blend-mode: difference;
  display: grid; place-items: center;
  transition: width .35s var(--ease), height .35s var(--ease), background .3s;
}
.cursor.is-big { width: 96px; height: 96px; mix-blend-mode: normal; }
.cursor__label { font-family: var(--mono); font-size: 11px; color: var(--bg); opacity: 0; transition: opacity .2s; }
.cursor.is-big .cursor__label { opacity: 1; }
@media (hover: none) { .cursor { display: none; } }

/* =========================================================
   Nav
   ========================================================= */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; gap: 32px;
  padding: 18px var(--gutter);
  mix-blend-mode: difference;
}
.nav__logo { width: 40px; height: 40px; color: var(--ink); }
.nav__logo svg { width: 100%; height: 100%; }
.nav__links { display: flex; gap: 28px; margin-left: auto; }
.nav__links a, .nav__cta { font-family: var(--mono); font-size: 13px; position: relative; }
.nav__links a::after {
  content: ""; position: absolute; left: 0; bottom: -4px; width: 100%; height: 1px;
  background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease);
}
.nav__links a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav__cta { padding: 10px 16px; border: 1px solid var(--ink); border-radius: 999px; }
.nav__burger { display: none; width: 40px; height: 40px; position: relative; }
.nav__burger span { position: absolute; left: 8px; right: 8px; height: 2px; background: var(--ink); transition: transform .4s var(--ease); }
.nav__burger span:first-child { top: 15px; }
.nav__burger span:last-child { top: 23px; }
.menu-open .nav__burger span:first-child { transform: translateY(4px) rotate(45deg); }
.menu-open .nav__burger span:last-child { transform: translateY(-4px) rotate(-45deg); }

.menu {
  position: fixed; inset: 0; z-index: 40; background: var(--lime); color: var(--bg);
  display: flex; flex-direction: column; justify-content: center; gap: 4px;
  padding: var(--gutter);
  clip-path: inset(0 0 100% 0); transition: clip-path .7s var(--ease);
}
.menu a { font-family: var(--display); font-weight: 800; font-size: clamp(56px, 16vw, 120px); line-height: 0.95; letter-spacing: -0.04em; }
.menu-open .menu { clip-path: inset(0 0 0 0); }

@media (max-width: 760px) {
  .nav__links, .nav__cta { display: none; }
  .nav__burger { display: block; margin-left: auto; }
}

/* =========================================================
   Hero
   ========================================================= */
.hero {
  min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end;
  padding: 120px var(--gutter) 48px; overflow: hidden;
}
.hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__inner { position: relative; z-index: 2; pointer-events: none; }
.hero__eyebrow { display: flex; align-items: center; gap: 10px; margin-bottom: 20px; color: var(--muted); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 0 var(--lime); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px transparent; } 100% { box-shadow: 0 0 0 0 transparent; } }
.hero__title {
  font-family: var(--display); font-weight: 800;
  font-size: clamp(72px, 17vw, 300px); line-height: 0.82; letter-spacing: -0.055em;
}
.hero__title .line { display: block; overflow: hidden; padding-bottom: 0.04em; }
.hero__title .line > span { display: inline-block; }
.hero__title em { font-style: normal; color: var(--lime); }
.hero__role { margin-top: 24px; font-size: clamp(16px, 1.6vw, 22px); max-width: 560px; }

.hero__card {
  position: absolute; z-index: 3; right: var(--gutter); top: 120px;
  width: 260px; padding: 18px; border-radius: 16px;
  background: rgba(21, 24, 15, 0.7); backdrop-filter: blur(12px);
  border: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 8px;
  transition: background .4s, color .4s, transform .4s var(--ease);
}
.hero__card:hover { background: var(--lime); color: var(--bg); transform: translateY(-4px); }
.hero__card:hover .hero__card-tag, .hero__card:hover .hero__card-meta { color: var(--bg); }
.hero__card-tag { color: var(--lime); }
.hero__card strong { font-family: var(--display); font-size: 24px; line-height: 1.05; letter-spacing: -0.02em; }
.hero__card-meta { color: var(--muted); }
.hero__card-arrow { position: absolute; right: 18px; bottom: 14px; font-size: 20px; }
.hero__scroll, .hero__since { position: absolute; z-index: 2; bottom: 48px; color: var(--muted); }
.hero__scroll { right: var(--gutter); }
.hero__scroll span { display: inline-block; animation: bob 1.6s ease-in-out infinite; }
.hero__since { right: var(--gutter); bottom: 72px; }
.hero__since b { color: var(--ink); font-weight: 500; }
@keyframes bob { 50% { transform: translateY(4px); } }

@media (max-width: 760px) {
  .hero__card { position: relative; top: auto; right: auto; width: 100%; margin-top: 32px; }
  .hero__scroll, .hero__since { display: none; }
}

/* =========================================================
   Marquee
   ========================================================= */
.marquee { background: var(--lime); color: var(--bg); overflow: hidden; padding: 18px 0; transform: rotate(-1.5deg) scale(1.03); }
.marquee__track { display: flex; gap: 32px; width: max-content; animation: marquee 30s linear infinite; }
.marquee__track span { font-family: var(--display); font-weight: 800; font-size: clamp(28px, 4vw, 56px); letter-spacing: -0.03em; white-space: nowrap; }
.marquee__track i { font-style: normal; font-size: clamp(20px, 3vw, 40px); align-self: center; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* =========================================================
   Message
   ========================================================= */
.message { padding: clamp(120px, 18vw, 240px) var(--gutter); max-width: 1400px; margin: 0 auto; }
.message__text {
  font-family: var(--display); font-weight: 600;
  font-size: clamp(30px, 4.6vw, 72px); line-height: 1.04; letter-spacing: -0.03em;
}
.message__text b { color: var(--lime); font-weight: 800; }
.js .reveal-words .w { opacity: 0.15; }
.message__sign { margin-top: 48px; color: var(--muted); }

/* =========================================================
   Horizontal gallery
   ========================================================= */
.gallery__pin { min-height: 100vh; display: flex; align-items: center; gap: 6vw; padding: 0 var(--gutter); overflow: hidden; }
.gallery__head { flex: 0 0 auto; }
.gallery__track { display: flex; align-items: flex-start; gap: 24px; flex: 0 0 auto; }
.shot {
  position: relative; flex: 0 0 auto;
  width: clamp(280px, 34vw, 520px); aspect-ratio: 4 / 5;
  border-radius: 20px; overflow: hidden; background: var(--bg-2);
}
.shot:nth-child(even) { margin-top: 12vh; }
.shot__art { position: absolute; inset: 0; transition: transform 1s var(--ease); }
.shot:hover .shot__art { transform: scale(1.06); }
.shot__art img { width: 100%; height: 100%; object-fit: cover; }
.shot__cap {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 18px;
  display: flex; justify-content: space-between; align-items: end; gap: 12px;
  background: linear-gradient(transparent, rgba(0,0,0,.75));
}
.shot__cap h4 { font-family: var(--display); font-size: 26px; line-height: 1; letter-spacing: -0.02em; }
.shot__cap .mono { color: var(--lime); }

@media (max-width: 760px) {
  .gallery__pin { flex-direction: column; align-items: stretch; padding: 80px var(--gutter); }
  .gallery__track { flex-direction: column; }
  .shot { width: 100%; }
  .shot:nth-child(even) { margin-top: 0; }
}

/* =========================================================
   Quote
   ========================================================= */
.quote { padding: clamp(100px, 14vw, 200px) var(--gutter); display: flex; justify-content: flex-end; }
.quote blockquote { max-width: 900px; min-width: 0; }
.quote p { font-family: var(--display); font-weight: 600; font-size: clamp(32px, 5vw, 76px); line-height: 1; letter-spacing: -0.035em; }

/* =========================================================
   Split cards
   ========================================================= */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; padding: 0 var(--gutter); }
.split__card {
  position: relative; min-height: 70vh; padding: 28px; border-radius: 24px;
  background: var(--bg-2); border: 1px solid var(--line);
  display: flex; flex-direction: column; justify-content: space-between; overflow: hidden;
  transition: background .5s var(--ease), color .5s var(--ease);
}
.split__card h3 { font-family: var(--display); font-weight: 800; font-size: clamp(64px, 10vw, 170px); line-height: 0.82; letter-spacing: -0.05em; }
.split__card p { color: var(--muted); max-width: 280px; transition: color .5s; }
.split__arrow { position: absolute; top: 24px; right: 28px; font-size: 40px; transition: transform .5s var(--ease); }
.split__card:hover { background: var(--lime); color: var(--bg); }
.split__card:hover p { color: var(--bg); }
.split__card:hover .split__arrow { transform: rotate(-45deg); }
.split__card--alt h3 { color: transparent; -webkit-text-stroke: 1.5px var(--ink); transition: color .5s, -webkit-text-stroke-color .5s; }
.split__card--alt:hover h3 { color: var(--bg); -webkit-text-stroke-color: var(--bg); }
@media (max-width: 760px) { .split { grid-template-columns: 1fr; } .split__card { min-height: 52vh; } }

/* =========================================================
   Projects
   ========================================================= */
.models { padding: clamp(120px, 16vw, 220px) var(--gutter) 80px; }
.models__head { display: flex; flex-direction: column; margin-bottom: 56px; }
.models__feature {
  display: grid; grid-template-columns: 1.3fr 1fr; gap: 32px; align-items: end;
  padding-bottom: 56px; margin-bottom: 56px; border-bottom: 1px solid var(--line);
}
.models__feature .feature__art { aspect-ratio: 16 / 10; border-radius: 24px; overflow: hidden; position: relative; }
.models__feature h3 { font-family: var(--display); font-weight: 800; font-size: clamp(40px, 5vw, 80px); line-height: 0.9; letter-spacing: -0.04em; margin: 12px 0 20px; }
.models__feature p { color: var(--muted); max-width: 460px; }
.feature__metrics { display: flex; gap: 32px; margin-top: 28px; }
.feature__metrics b { display: block; font-family: var(--display); font-size: 40px; color: var(--lime); line-height: 1; }
.feature__metrics span { font-family: var(--mono); font-size: 11px; color: var(--muted); }

.models__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.card { position: relative; display: block; }
.card__art { position: relative; aspect-ratio: 1; border-radius: 18px; overflow: hidden; background: var(--bg-2); }
.card__art > * { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .5s var(--ease), transform .8s var(--ease); }
.card__art .hover { opacity: 0; transform: scale(1.08); }
.card:hover .card__art .base { opacity: 0; }
.card:hover .card__art .hover { opacity: 1; transform: scale(1); }
.card__meta { display: flex; justify-content: space-between; align-items: baseline; padding: 14px 4px 0; gap: 12px; }
.card__meta h4 { font-family: var(--display); font-size: 22px; letter-spacing: -0.02em; line-height: 1.1; }
.card__meta .mono { color: var(--muted); white-space: nowrap; }
.card__tags { display: flex; flex-wrap: wrap; gap: 6px; padding: 10px 4px 0; }
.card__tags span { font-family: var(--mono); font-size: 11px; padding: 4px 8px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); }
@media (max-width: 860px) { .models__feature { grid-template-columns: 1fr; } }
@media (max-width: 600px) {
  .models__grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .card__meta { flex-direction: column; gap: 2px; }
  .card__meta h4 { font-size: 17px; }
  .card__tags { display: none; }
}

/* =========================================================
   Stats
   ========================================================= */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin: 0 var(--gutter); }
.stat { padding: 40px 20px; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat b { display: block; font-family: var(--display); font-weight: 800; font-size: clamp(56px, 7vw, 110px); line-height: 0.9; letter-spacing: -0.04em; color: var(--lime); }
.stat span { font-family: var(--mono); font-size: 12px; color: var(--muted); }
@media (max-width: 760px) {
  .stats { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}

/* =========================================================
   Stack
   ========================================================= */
.stack { padding: clamp(120px, 16vw, 220px) var(--gutter) 80px; }
.stack__head { margin-bottom: 56px; }
.stack__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.tool {
  aspect-ratio: 3 / 2; display: flex; flex-direction: column; justify-content: space-between;
  padding: 18px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line);
  transition: background .35s, color .35s;
}
.tool b { font-family: var(--display); font-size: 24px; letter-spacing: -0.02em; font-weight: 600; }
.tool span { font-family: var(--mono); font-size: 11px; color: var(--muted); transition: color .35s; }
.tool:hover { background: var(--lime); color: var(--bg); }
.tool:hover span { color: var(--bg); }

/* =========================================================
   Writing
   ========================================================= */
.writing { padding: 80px var(--gutter) clamp(120px, 16vw, 220px); display: grid; grid-template-columns: 1fr 1.4fr; gap: 48px; }
.writing__list { list-style: none; border-top: 1px solid var(--line); }
.writing__list a, .writing__list .row {
  display: grid; grid-template-columns: 90px 1fr auto; gap: 20px; align-items: baseline;
  padding: 26px 0; border-bottom: 1px solid var(--line); transition: padding .4s var(--ease), color .3s;
}
.writing__list a:hover, .writing__list .row:hover { padding-left: 16px; color: var(--lime); }
.writing__list h4 { font-family: var(--display); font-size: clamp(22px, 2.4vw, 34px); line-height: 1.1; letter-spacing: -0.02em; font-weight: 600; }
.writing__list .mono { color: var(--muted); }
@media (max-width: 860px) {
  .writing { grid-template-columns: 1fr; }
  .writing__list a, .writing__list .row { grid-template-columns: 1fr auto; }
  .writing__list .date { grid-column: 1 / -1; }
}

/* =========================================================
   Footer
   ========================================================= */
.footer { background: var(--lime); color: var(--bg); padding: 100px var(--gutter) 28px; border-radius: 32px 32px 0 0; }
.footer .section-tag { color: rgba(13, 15, 10, 0.6); }
.footer .lime { color: var(--bg); opacity: 0.4; }
.footer__mail {
  display: block; font-family: var(--display); font-weight: 800;
  font-size: clamp(26px, 6.2vw, 112px); line-height: 0.95; letter-spacing: -0.045em;
  overflow-wrap: anywhere;
}
.footer__mail:hover { text-decoration: underline; text-decoration-thickness: 4px; text-underline-offset: 10px; }
.footer__cols { display: grid; grid-template-columns: repeat(3, minmax(0, 220px)); gap: 32px; margin: 80px 0; }
.footer__cols div { display: flex; flex-direction: column; gap: 6px; }
.footer__cols .mono { opacity: 0.6; margin-bottom: 8px; }
.footer__cols a { font-weight: 500; }
.footer__cols a:hover { text-decoration: underline; }
.footer__tag { font-family: var(--display); font-weight: 800; font-size: clamp(72px, 19vw, 340px); line-height: 0.8; letter-spacing: -0.06em; }
.footer__bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 40px; opacity: 0.7; }
@media (max-width: 600px) { .footer__cols { grid-template-columns: 1fr 1fr; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal-words .w { opacity: 1 !important; }
}

/* =========================================================
   Added: captions, descriptions, journey
   ========================================================= */
.shot__cap p { font-size: 13px; color: rgba(241, 239, 230, 0.75); margin-top: 6px; max-width: 320px; line-height: 1.35; }
.card__desc { padding: 6px 4px 0; font-size: 14px; color: var(--muted); line-height: 1.4; }
.footer__loc { margin-top: 6px; opacity: 0.6; font-size: 14px; }

.journey { padding: clamp(120px, 16vw, 220px) var(--gutter) 0; }
.journey__head { margin-bottom: 56px; }
.journey__list { list-style: none; border-top: 1px solid var(--line); }
.journey__item {
  display: grid; grid-template-columns: 220px 1fr; gap: 32px;
  padding: 40px 0; border-bottom: 1px solid var(--line);
}
.journey__when { color: var(--muted); padding-top: 10px; }
.journey__item h3 {
  font-family: var(--display); font-weight: 800; font-size: clamp(30px, 4vw, 60px);
  line-height: 0.95; letter-spacing: -0.035em; margin-bottom: 12px;
}
.journey__item p { color: var(--muted); max-width: 720px; margin-top: 14px; font-size: 17px; }
@media (max-width: 760px) {
  .journey__item { grid-template-columns: 1fr; gap: 8px; }
  .journey__when { padding-top: 0; }
  .card__desc { font-size: 13px; }
}

/* =========================================================
   Portrait (lime duotone, true colour on hover)
   ========================================================= */
.message { display: grid; grid-template-columns: minmax(260px, 0.8fr) 1.6fr; gap: clamp(32px, 5vw, 80px); align-items: center; max-width: 1500px; }
.portrait { position: relative; border-radius: 24px; overflow: hidden; background: var(--lime); aspect-ratio: 4 / 5; }
.portrait img {
  width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%;
  filter: grayscale(1) contrast(1.25) brightness(1.05);
  mix-blend-mode: multiply;
  transform: scale(1.04);
  transition: filter .8s var(--ease), transform 1.2s var(--ease), mix-blend-mode 0s .4s;
}
.portrait:hover img { filter: none; mix-blend-mode: normal; transform: scale(1); transition: filter .8s var(--ease), transform 1.2s var(--ease); }
.portrait figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 14px 16px;
  display: flex; justify-content: space-between; color: var(--bg);
}
@media (max-width: 860px) {
  .message { grid-template-columns: 1fr; }
  .portrait { max-width: 420px; }
}

/* Journey logos */
.journey__side { display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.journey__logo {
  width: 96px; height: 96px; border-radius: 20px; background: var(--ink);
  display: grid; place-items: center; padding: 14px;
  transition: transform .5s var(--ease), background .4s;
}
.journey__logo img { width: 100%; height: 100%; object-fit: contain; }
.journey__item:hover .journey__logo { transform: rotate(-6deg) scale(1.05); background: #fff; }
@media (max-width: 760px) {
  .journey__side { flex-direction: row; align-items: center; }
  .journey__logo { width: 64px; height: 64px; border-radius: 14px; padding: 10px; }
}

/* Portrait: face centred (source photo has the face in the lower half) */
.portrait img {
  position: absolute; left: 50%; top: -19%;
  width: auto; height: 125%; max-width: none;
  transform: translateX(-50%) scale(1.04);
}
.portrait:hover img { transform: translateX(-50%) scale(1); }

/* Credential rows with issuer logos */
.writing__list .row.cred { grid-template-columns: 120px 1fr; align-items: center; padding: 18px 0; }
.cred__logo {
  width: 120px; height: 68px; border-radius: 14px; background: #fff;
  display: flex; padding: 10px 14px; flex: 0 0 auto; overflow: hidden;
  transition: transform .5s var(--ease);
}
.cred__logo img { width: 100%; height: 100%; min-height: 0; object-fit: contain; }
.cred h4 { margin-bottom: 4px; }
.writing__list .row.cred:hover .cred__logo { transform: rotate(-4deg) scale(1.05); }
@media (max-width: 860px) {
  .writing__list .row.cred { grid-template-columns: 84px 1fr; gap: 14px; }
  .cred__logo { width: 84px; height: 52px; border-radius: 10px; padding: 8px; }
}

/* Project illustrations (art.js) */
.art-svg { display: block; width: 100%; height: 100%; }
.shot__art > div { position: absolute; inset: 0; transition: opacity .5s var(--ease); }
.shot__art .hover { opacity: 0; }
.shot:hover .shot__art .hover { opacity: 1; }
.shot:hover .shot__art .base { opacity: 0; }
.shot:hover .shot__cap { background: linear-gradient(transparent, rgba(13,15,10,.9)); }

/* Gallery: caption in its own band below a square illustration */
.shot { aspect-ratio: auto; display: flex; flex-direction: column; border: 1px solid var(--line); }
.shot__art { position: relative; inset: auto; aspect-ratio: 1; overflow: hidden; }
.shot:hover .shot__art { transform: none; }
.shot__cap { position: static; background: none; padding: 16px 18px 18px; border-top: 1px solid var(--line); transition: background .5s var(--ease), color .5s var(--ease); }
.shot:hover .shot__cap { background: var(--lime); color: var(--bg); }
.shot:hover .shot__cap p, .shot:hover .shot__cap .mono { color: var(--bg); }
.shot:nth-child(even) { margin-top: 8vh; }
.shot__cap .mono { white-space: nowrap; }

/* Experience points & education tags */
.journey__points { list-style: none; margin-top: 22px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 32px; max-width: 980px; }
.journey__points li { position: relative; padding-left: 22px; color: var(--ink); font-size: 15px; line-height: 1.45; }
.journey__points li::before { content: "→"; position: absolute; left: 0; color: var(--lime); font-family: var(--mono); }
.journey__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.journey__tags span { font-family: var(--mono); font-size: 11px; padding: 6px 10px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); }
.journey--edu { padding-bottom: 40px; }
@media (max-width: 760px) { .journey__points { grid-template-columns: 1fr; } }

/* ASCII portrait (portrait.js) */
.portrait { background: var(--bg-2); border: 1px solid var(--line); transition: background .5s var(--ease); }
.portrait:hover { background: var(--lime); }
.portrait__ascii { position: absolute; inset: 0; display: block; }
.portrait figcaption { color: var(--muted); z-index: 1; transition: color .5s; }
.portrait:hover figcaption { color: var(--bg); }
.portrait::after {
  content: ""; position: absolute; left: 0; right: 0; height: 2px; top: 0;
  background: var(--lime); opacity: .5; animation: scan 4s linear infinite; pointer-events: none;
}
.portrait:hover::after { background: var(--bg); }
@keyframes scan { from { top: 0; } to { top: 100%; } }

/* Portrait v3: ASCII intro → real B&W photo; hover = "model view" */
.portrait:hover { background: var(--bg-2); }
.portrait:hover figcaption { color: var(--muted); }
.portrait:hover::after { background: var(--lime); }
.portrait img {
  filter: saturate(1.15) contrast(1.08) brightness(.97) sepia(.08);
  mix-blend-mode: normal;
  opacity: 0;
  -webkit-mask-image: radial-gradient(ellipse 29% 44% at 50% 56%, #000 50%, transparent 100%);
          mask-image: radial-gradient(ellipse 29% 44% at 50% 56%, #000 50%, transparent 100%);
  transition: opacity 1.2s var(--ease), transform 1.2s var(--ease), filter .6s;
}
.portrait.is-photo img { opacity: 1; }
.portrait:hover img { filter: saturate(1.15) contrast(1.08) brightness(.97) sepia(.08); }
.portrait.is-photo:hover img { opacity: .18; }
.portrait__ascii { transition: opacity 1.2s var(--ease); }
.portrait.is-photo .portrait__ascii { opacity: 0; }
.portrait.is-photo:hover .portrait__ascii { opacity: 1; }
.portrait__hint { opacity: .8; }
.portrait figcaption { background: linear-gradient(transparent, rgba(21,24,15,.9)); }

/* =========================================================
   Lanyard ID badge (badge.js)
   ========================================================= */
.message { align-items: start; }
.badge-stage { position: relative; height: 600px; overflow: visible; }
.badge-strap { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; z-index: 1; }
.badge-strap path { fill: none; stroke: #262b1c; stroke-width: 18; stroke-linecap: round; }
.badge-strap text { fill: var(--lime); font-family: var(--mono); font-size: 8.5px; letter-spacing: .18em; dominant-baseline: middle; }

.badge {
  position: absolute; top: 0; left: 0; z-index: 2;
  width: 250px; padding: 34px 16px 16px;
  background: var(--lime); color: #0d0f0a;
  border-radius: 18px;
  transform-origin: 50% 0;
  box-shadow: 0 30px 60px -20px rgba(0,0,0,.65), 0 2px 0 rgba(255,255,255,.35) inset;
  cursor: grab; touch-action: none; user-select: none; -webkit-user-select: none;
  will-change: transform;
}
.is-dragging .badge { cursor: grabbing; }
.badge__clip {
  position: absolute; top: -22px; left: 50%; transform: translateX(-50%);
  width: 30px; height: 34px; border-radius: 8px 8px 6px 6px;
  background: linear-gradient(180deg, #e3e6da, #9a9e8f);
  box-shadow: inset 0 0 0 5px rgba(0,0,0,.08), 0 2px 4px rgba(0,0,0,.4);
}
.badge__clip::after { content: ""; position: absolute; left: 50%; top: 7px; width: 10px; height: 14px; transform: translateX(-50%); border-radius: 4px; background: #262b1c; }
.badge__slot { position: absolute; top: 14px; left: 50%; transform: translateX(-50%); width: 56px; height: 8px; border-radius: 4px; background: rgba(13,15,10,.25); }
.badge__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.badge__head svg { width: 24px; height: 24px; }
.badge__head .mono { font-size: 10px; letter-spacing: .08em; text-transform: uppercase; }
.badge__status { display: inline-flex; align-items: center; gap: 6px; }
.badge__status i { width: 7px; height: 7px; border-radius: 50%; background: #0d0f0a; animation: badgeBlink 1.6s ease-in-out infinite; }
@keyframes badgeBlink { 50% { opacity: .25; } }
@media (prefers-reduced-motion: reduce) { .badge__status i { animation: none; } }
.badge__photo { aspect-ratio: 1 / 0.95; border-radius: 12px; overflow: hidden; background: #dfe2ea; }
.badge__photo img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.3); transform-origin: 50% 50%; pointer-events: none; }
.badge__name { font-family: var(--display); font-weight: 800; font-size: 32px; line-height: .88; letter-spacing: -.035em; margin: 14px 0 6px; }
.badge__role { font-size: 11px; opacity: .75; }
.badge__foot { display: flex; align-items: flex-end; gap: 12px; margin-top: 14px; padding-top: 12px; border-top: 1.5px dashed rgba(13,15,10,.3); }
.badge__qr { flex: 0 0 auto; width: 56px; height: 56px; padding: 4px; background: #fff; border-radius: 6px; }
.badge__qr svg { display: block; width: 100%; height: 100%; }
.badge__code { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.badge__barcode svg { display: block; width: 100%; height: 26px; }
.badge__code .mono { font-size: 10px; }
.badge-hint { position: absolute; left: 50%; bottom: 10px; transform: translateX(-50%); color: var(--muted); transition: opacity .4s; white-space: nowrap; }
.was-touched .badge-hint { opacity: 0; }
@media (max-width: 860px) {
  .badge-stage { height: 560px; }
  .badge { width: 228px; }
  .badge__name { font-size: 28px; }
}
/* Badge photo: centre on the face (source face centre ≈ 55.5% x, 54% y) */
.badge__photo { position: relative; }
.badge__photo img { position: absolute; width: 125%; height: auto; max-width: none; left: -19.4%; top: -21%; transform: none; object-fit: initial; }
