/* Jah Brown. Split stage: paper thinks, ink does. */
:root {
  --paper: #ECEAE4;
  --ink: #0D0D0C;
  --paper-soft: #55524B;   /* secondary text on paper */
  --ink-soft: #A8A59D;     /* secondary text on ink */
  --accent: #FF3D1F;
  --accent-deep: #B8280E;  /* accent as text on paper */

  --sc-canvas: var(--ink);  --sc-surface: #171716;
  --sc-ink: var(--paper);   --sc-ink-soft: var(--ink-soft);
  --sc-accent: var(--accent); --sc-accent-ink: var(--ink);
  --sc-font-display: "Anton", Impact, sans-serif;
  --sc-font-text: "Archivo", system-ui, sans-serif;

  --line: 50;               /* written by site.js, in vw */
  --pad-y: clamp(4.5rem, 12vh, 9rem);
  --lane: max(var(--sc-gutter), 4.5rem);   /* room beside the line for the meter */
}
html { background: var(--ink); }
body { background: var(--ink); color: var(--paper); font-family: var(--sc-font-text); font-size: var(--sc-t-base); overflow-x: clip; }
::selection { background: var(--accent); color: var(--ink); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
img { display: block; max-width: 100%; height: auto; }

.skip { position: absolute; left: 1rem; top: -4rem; z-index: 100; background: var(--accent); color: var(--ink); padding: .6rem 1rem; font-weight: 700; }
.skip:focus { top: 1rem; }

/* ---------- type ---------- */
.big {
  font-family: var(--sc-font-display); font-weight: 400; text-transform: uppercase;
  font-size: clamp(2.6rem, 10.5cqi, 7rem); line-height: .9; letter-spacing: -.004em;
  margin: 0; text-wrap: balance;
}
.body { margin: 0; max-width: 58ch; line-height: 1.62; text-wrap: pretty; }
.split__do .body { line-height: 1.68; letter-spacing: .005em; }
.lab, .meta, .tags li, .clip__cap, .figs li, .line, .index, .links, .post figcaption, .hub figcaption, .pair figcaption, .press span {
  font-stretch: 125%; text-transform: uppercase; letter-spacing: .06em; font-size: var(--sc-t-xs); font-weight: 600;
}
.lab { margin: 0; font-weight: 800; }
.meta { margin: 0; }
.stack > * + * { margin-top: var(--sc-4); }
.stack > .big + * { margin-top: var(--sc-5); }
.stack > .lab { margin-top: var(--sc-7); }
.stack > .lab + .body { margin-top: var(--sc-2); }
.stack > .tags, .stack > .hub, .stack > .post, .stack > .reel, .stack > .pair, .stack > .figs { margin-top: var(--sc-7); }
.title { font-family: var(--sc-font-display); font-weight: 400; font-size: clamp(3rem, 9cqi, 6rem); line-height: .9; margin: 0; }

/* ---------- the split ---------- */
.split { display: grid; grid-template-columns: var(--s, 50%) 1fr; }
.split__think, .split__do { container-type: inline-size; padding-block: var(--pad-y); }
.split__think { background: var(--paper); color: var(--ink); padding-left: var(--sc-gutter); padding-right: var(--lane); }
.split__do    { background: var(--ink);  color: var(--paper); padding-right: var(--sc-gutter); padding-left: var(--lane); }
.split__think .body, .split__think .meta { color: var(--paper-soft); }
.split__do .body, .split__do .meta { color: var(--ink-soft); }
.split__think .big { color: var(--ink); }

.note { border-top: 1px solid currentColor; padding-top: var(--sc-4); }

/* tags: the evidence the line is computed from */
.tags { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: var(--sc-2); }
.tags li { border: 1px solid currentColor; padding: .45rem .7rem .4rem; display: inline-flex; align-items: center; gap: .5rem; }
.tags li::before { content: ""; width: .5rem; height: .5rem; background: var(--accent); }
.split__think .tags { color: var(--ink); }

/* figures */
.figs { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--sc-5); }
.figs li { color: var(--ink-soft); line-height: 1.45; max-width: 26ch; }
.figs b { display: block; font-family: var(--sc-font-display); font-weight: 400; font-size: clamp(2.8rem, 8cqi, 5rem); line-height: 1; color: var(--paper); letter-spacing: 0; margin-bottom: .35rem; font-variant-numeric: tabular-nums; text-transform: none; }
.figs--row { grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr)); gap: var(--sc-5) var(--sc-6); }
.thesis .figs { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: var(--sc-8); }

/* ---------- media tiles ---------- */
.reel { display: grid; gap: var(--sc-4); }
.reel--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.reel--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--sc-6) var(--sc-4); }
.clip { all: unset; display: block; cursor: pointer; position: relative; color: inherit; }
.clip--static { cursor: default; }
.clip video { width: 100%; height: auto; display: block; object-fit: cover; background: #1b1b1a; transition: transform 240ms var(--sc-ease-out), filter 240ms var(--sc-ease-out); }
.clip--v video { aspect-ratio: 9 / 16; }
.clip--w video { aspect-ratio: 16 / 9; }
.clip { overflow: visible; }
.clip > video { clip-path: inset(0); }
.clip__cap { display: block; margin-top: var(--sc-3); color: var(--ink-soft); line-height: 1.4; }
button.clip::after {           /* play mark: a hard accent square with a triangle */
  content: ""; position: absolute; left: 0; top: 0; width: 2.75rem; height: 2.75rem;
  background: var(--accent) no-repeat center / 38% url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 12'%3E%3Cpath d='M0 0l10 6-10 6z' fill='%230D0D0C'/%3E%3C/svg%3E");
  transition: transform 160ms var(--sc-ease-out);
}
@media (hover: hover) and (pointer: fine) {
  button.clip:hover video { transform: scale(1.015); }
  button.clip:hover::after { transform: translate(4px, 4px); }
}
button.clip:active::after { transform: translate(6px, 6px) scale(.97); }
button.clip:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }

.feature .clip video { filter: none; }
.feature__cap { display: grid; grid-template-columns: auto 1fr; gap: var(--sc-4) var(--sc-6); align-items: center; }
.feature__cap .body { grid-column: 1 / -1; }
.laurel { width: clamp(7rem, 22cqi, 11rem); filter: invert(1); opacity: .92; justify-self: end; }

.post { margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: var(--sc-4); }
.post img, .pair img { width: 100%; height: auto; }
.post figcaption { grid-column: 1 / -1; color: var(--ink-soft); line-height: 1.5; text-transform: none; letter-spacing: .01em; font-stretch: 100%; font-size: var(--sc-t-sm); font-weight: 400; }
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sc-4); max-width: 44rem; }
.pair figure { margin: 0; }
.pair figcaption, .hub figcaption { margin-top: var(--sc-3); color: var(--ink-soft); line-height: 1.4; }
.hub { margin: 0; }
.hub img { box-shadow: 0 10px 30px -12px rgb(13 13 12 / .45); }
.hub figcaption { color: var(--paper-soft); text-transform: none; letter-spacing: .01em; font-stretch: 100%; font-size: var(--sc-t-sm); font-weight: 400; line-height: 1.5; }

.press { display: block; color: inherit; text-decoration: none; max-width: 44rem; }
.press img { width: 100%; height: auto; transition: filter 200ms var(--sc-ease-out); }
.press span { display: block; margin-top: var(--sc-3); text-decoration: underline; text-underline-offset: .3em; }
.press:hover img { filter: none; }
.links { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: var(--sc-3) var(--sc-6); }
.links a { color: var(--paper); text-underline-offset: .3em; }
.links a:hover { color: var(--accent); }

.about .split__think, .about .split__do { padding-block: clamp(3.5rem, 9vh, 6rem); }
.about .body { font-size: var(--sc-t-sm); }


/* ---------- the work band: media at full size, under both sides ---------- */
.split__work { grid-column: 1 / -1; background: var(--ink); color: var(--paper); padding: var(--sc-7) var(--sc-gutter) var(--pad-y); container-type: inline-size; }
.split__work > * { margin-inline: auto; }
.split__work > * + * { margin-top: var(--sc-8); }
.split__work .reel--3 { grid-template-columns: repeat(3, minmax(0, 27rem)); justify-content: center; gap: var(--sc-6); }
.split__work .reel--2 { max-width: 88rem; gap: var(--sc-8) var(--sc-6); }
.split__work .feature, .split__work .feature__cap { max-width: 88rem; }
.split__work .feature__cap { margin-top: var(--sc-5); }
.split__work .post { max-width: 64rem; gap: var(--sc-6); }
.split__work .pair { max-width: 60rem; gap: var(--sc-6); }
.split__work .press { max-width: 72rem; }
.split__work .clip__cap, .split__work figcaption { font-size: var(--sc-t-sm); }
.split__work button.clip::after { width: 3.5rem; height: 3.5rem; }

/* ---------- hero ---------- */
.hero__stage { height: 100vh; height: 100svh; overflow: hidden; --mx: 0; --my: 0; }
.hero__ground, .hero__ground i { position: absolute; inset: 0; }
.hero__ground i:first-child { background: var(--paper); right: 50%; }
.hero__ground i:last-child  { background: var(--ink); left: 50%; }
.hero__name {
  position: absolute; left: 0; right: 0; top: 50%; margin: 0; z-index: 4;
  display: flex; justify-content: center; gap: .82em;
  font-family: var(--sc-font-display); font-weight: 400; text-transform: uppercase;
  font-size: clamp(5rem, 19vw, 22rem); line-height: .82; letter-spacing: -.01em;
  color: var(--paper); mix-blend-mode: difference; translate: 0 -100%;
}
.hero__name span { display: block; will-change: transform; }
.hero__jah   { transform: translate3d(calc(var(--sc-p, 0) * -9vw + var(--mx) * -10px), calc(var(--my) * -6px), 0); }
.hero__brown { transform: translate3d(calc(var(--sc-p, 0) * 9vw + var(--mx) * -10px), calc(var(--my) * -6px), 0); }
.hero__me {
  position: absolute; z-index: 3; bottom: 0; left: 50%; height: 94%; width: auto; max-width: none;
  translate: -52% 0; transform-origin: 50% 100%;
  transform: translate3d(calc(var(--mx) * -22px), calc(var(--sc-p, 0) * 5vh), 0) scale(calc(1 - var(--sc-p, 0) * .07));
  filter: drop-shadow(18px 24px 30px rgb(13 13 12 / .35));
}
.hero__role, .hero__beat { position: absolute; z-index: 5; margin: 0; bottom: clamp(1.5rem, 6vh, 3.5rem);
  font-family: var(--sc-font-display); font-weight: 400; text-transform: uppercase; line-height: .98; letter-spacing: .005em; text-wrap: balance; }
.hero__role { left: var(--sc-gutter); max-width: 13ch; color: var(--ink); background: var(--paper); padding: .2em .3em .14em 0; font-size: clamp(1.7rem, 2.7vw, 3rem); }
.hero__beat { right: var(--sc-gutter); bottom: clamp(4.5rem, 14vh, 9rem); text-align: right; max-width: 11ch; color: var(--paper); background: var(--ink); padding: .2em .3em .12em; font-size: clamp(2rem, 3.6vw, 3.8rem); }
.hero__beat em { font-style: normal; color: var(--accent); }

/* ---------- close: the collapse ---------- */
.close__stage { height: 100vh; height: 100svh; overflow: hidden; background: var(--ink); --k: clamp(0, calc((var(--sc-p, 0) - .25) / .3), 1); }
.close__paper { position: absolute; inset: 0; background: var(--paper); clip-path: inset(0 calc(50% + 50% * var(--k)) 0 0); }
.close__think, .close__do {
  position: absolute; top: 50%; margin: 0; z-index: 1; translate: 0 -55%;
  font-family: var(--sc-font-display); text-transform: uppercase; font-size: clamp(5rem, 21vw, 24rem); line-height: .8;
  color: var(--paper); mix-blend-mode: difference;
  opacity: calc(1 - clamp(0, (var(--sc-p, 0) - .5) * 6.5, 1));
}
.close__think { right: 50%; margin-right: .06em; transform: translateX(calc(var(--k) * 3vw)); }
.close__do    { left: 50%;  margin-left: .06em;  transform: translateX(calc(var(--k) * -3vw)); }
.close__me {
  position: absolute; z-index: 2; bottom: 0; right: 4vw; height: 88%; width: auto; max-width: none;
  transform: translate3d(0, calc((1 - clamp(0, (var(--sc-p, 0) - .5) * 3.5, 1)) * 95vh), 0);
}
.close__copy { position: absolute; z-index: 3; left: var(--sc-gutter); bottom: clamp(2rem, 9vh, 6rem); max-width: 44rem; }
.close__line { margin: 0; font-family: var(--sc-font-display); font-weight: 400; text-transform: uppercase; font-size: clamp(3.6rem, 10vw, 10rem); line-height: .86; }
.close__sub { margin: var(--sc-5) 0 0; color: var(--ink-soft); font-size: var(--sc-t-lg); max-width: 30ch; line-height: 1.4; }
.close__cta {
  display: inline-block; margin-top: var(--sc-6); background: var(--accent); color: var(--ink); text-decoration: none;
  font-family: var(--sc-font-display); text-transform: uppercase; font-size: clamp(2rem, 4vw, 3.4rem); line-height: 1; padding: .3em .45em .26em;
  box-shadow: 8px 8px 0 var(--paper); transition: transform 140ms var(--sc-ease-out), box-shadow 140ms var(--sc-ease-out);
}
.close__cta:hover { transform: translate(4px, 4px); box-shadow: 4px 4px 0 var(--paper); }
.close__cta:active { transform: translate(8px, 8px); box-shadow: 0 0 0 var(--paper); }
.close__links { margin: var(--sc-6) 0 0; color: var(--ink-soft); font-size: var(--sc-t-sm); display: flex; flex-wrap: wrap; gap: .6rem; }
.close__links a { color: var(--paper); text-underline-offset: .3em; }

/* ---------- chrome: the line ---------- */
.line { position: fixed; inset: 0 auto 0 0; z-index: 60; width: 0; pointer-events: none;
  transform: translate3d(calc(var(--line) * 1vw), 0, 0); transition: opacity 200ms var(--sc-ease-out); }
.line.is-gone { opacity: 0; }
.line.is-gone > * { pointer-events: none !important; }
.line > * { position: absolute; left: 0; translate: -50% 0; pointer-events: auto; white-space: nowrap; }
.line__index, .line__cta { all: unset; box-sizing: border-box; cursor: pointer; background: var(--accent); color: var(--ink); padding: .62rem .9rem .56rem; font: inherit; position: absolute; white-space: nowrap; translate: -50% 0; pointer-events: auto; }
.line__index { top: 1rem; }
.line__cta { bottom: 1rem; text-decoration: none; }
.line__index:hover, .line__cta:hover { background: var(--paper); }
.line__index:focus-visible, .line__cta:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.line__meter { top: 50%; translate: -50% -50%; display: flex; flex-direction: column; align-items: center; gap: .35rem;
  background: var(--ink); color: var(--paper); border: 1px solid var(--accent); padding: .6rem .45rem; pointer-events: none; }
.line__side { writing-mode: vertical-rl; rotate: 180deg; color: var(--ink-soft); font-size: .62rem; }
.line__num { font-family: var(--sc-font-display); font-stretch: 100%; font-size: 1.35rem; letter-spacing: 0; line-height: 1; font-variant-numeric: tabular-nums; min-width: 2ch; text-align: center; }
.line__rule { width: 1px; height: 1.4rem; background: var(--accent); }

.index { position: fixed; z-index: 70; top: 4.2rem; left: calc(var(--line) * 1vw); translate: -50% 0; background: var(--ink); border: 1px solid var(--accent); padding: var(--sc-3); min-width: 19rem;
  box-shadow: 0 20px 40px -18px rgb(0 0 0 / .6); }
.index ol { list-style: none; margin: 0; padding: 0; }
.index a { display: flex; justify-content: space-between; gap: 1rem; padding: .7rem .6rem; color: var(--paper); text-decoration: none; border-bottom: 1px solid #2a2a28; }
.index li:last-child a { border-bottom: 0; }
.index a span { color: var(--ink-soft); font-weight: 500; }
.index a:hover, .index a:focus-visible { background: var(--accent); color: var(--ink); }
.index a:hover span, .index a:focus-visible span { color: var(--ink); }

/* ---------- film player ---------- */
.player { border: 0; padding: 0; background: transparent; max-width: min(92vw, 150vh); width: 100%; }
.player::backdrop { background: rgb(8 8 7 / .92); }
.player video { width: 100%; max-height: 86vh; background: #000; display: block; }
.player__x { all: unset; cursor: pointer; display: block; margin: 0 0 .75rem auto; background: var(--accent); color: var(--ink); padding: .55rem .9rem .5rem;
  font-stretch: 125%; text-transform: uppercase; letter-spacing: .06em; font-size: var(--sc-t-xs); font-weight: 700; }
.player__x:focus-visible { outline: 2px solid var(--paper); outline-offset: 3px; }

/* ---------- phone: the line turns horizontal ---------- */
@media (max-width: 760px) {
  :root { --pad-y: 3.5rem; }
  .split { grid-template-columns: 1fr; }
  .split__think, .split__do { padding-inline: var(--sc-gutter); }
  .thesis .figs { grid-template-columns: 1fr 1fr; }
  .reel--3 { grid-template-columns: 1fr 1fr; }
  .reel--3 > :nth-child(3) { grid-column: 1 / -1; max-width: 60%; }
  .reel--2 { grid-template-columns: 1fr; }
  .big { font-size: clamp(2.5rem, 13cqi, 4rem); }

  .hero__ground i:first-child { right: 0; bottom: 50%; }
  .hero__ground i:last-child  { left: 0; top: 50%; }
  .hero__name { flex-direction: column; align-items: center; top: 21%; translate: 0 0; font-size: 30vw; gap: 0; line-height: .84; }
  .hero__jah   { transform: translate3d(calc(var(--sc-p, 0) * -30vw), 0, 0); }
  .hero__brown { transform: translate3d(calc(var(--sc-p, 0) * 30vw), 0, 0); }
  .hero__me { height: 62%; translate: -48% 0; }
  .hero__role { top: 1.1rem; bottom: auto; max-width: 16ch; font-size: 1.45rem; }
  .hero__beat { right: auto; left: var(--sc-gutter); bottom: 4.8rem; text-align: left; font-size: 1.9rem; }
  .split__work { padding-top: var(--sc-5); }
  .split__work .reel--3 { grid-template-columns: 1fr 1fr; gap: var(--sc-4); }
  .split__work > * + * { margin-top: var(--sc-7); }

  .close__think, .close__do { font-size: 26vw; top: 30%; }
  .close__me { height: 46%; top: 5%; bottom: auto; right: -12vw; }
  .close__copy { right: var(--sc-gutter); bottom: 5.5rem; }
  .close__sub { font-size: var(--sc-t-base); max-width: 22ch; }

  .line { inset: auto 0 0 0; width: auto; height: 3.5rem; transform: none; display: flex; align-items: stretch; background: var(--ink); border-top: 1px solid var(--accent); pointer-events: auto; }
  .line > * { position: static; translate: none; }
  .line__index, .line__cta { position: static; translate: none; display: flex; align-items: center; padding: 0 1rem; }
  .line__meter { flex: 1; flex-direction: row; justify-content: center; border: 0; padding: 0; background: none; }
  .line__side { writing-mode: horizontal-tb; rotate: none; }
  .line__rule { width: 1.2rem; height: 1px; }
  .index { top: auto; bottom: 4rem; left: 1rem; right: 1rem; translate: none; min-width: 0; }
  body { padding-bottom: 3.5rem; }
}

@media (prefers-reduced-motion: reduce) {
  .hero__jah, .hero__brown, .hero__me, .close__think, .close__do, .close__me { transform: none !important; }
  .close__stage { --k: 1; }
  .close__think, .close__do { opacity: 0; }
  .clip video, .line { transition: none; }
}

/* ---------- media beside the words: noticeable, not the whole screen ---------- */
.split__do .reel--3 { max-width: 38rem; gap: var(--sc-4); }
.split__do .reel--2 { max-width: 46rem; }
.split__do .feature { max-width: 46rem; }
.split__do .post { max-width: 32rem; }
.split__do .pair { max-width: 28rem; }
.split__do .press { max-width: 40rem; }
.stack > .feature:first-child, .stack > .reel:first-child, .stack > .post:first-child, .stack > .pair:first-child, .stack > .duo:first-child, .stack > .press:first-child { margin-top: 0; }
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sc-4); align-items: end; max-width: 36rem; }
.duo figure { margin: 0; }
.duo img { width: 100%; height: auto; }
.duo figcaption { margin-top: var(--sc-3); color: var(--ink-soft); font-size: var(--sc-t-xs); line-height: 1.45; }
.stack > .duo, .stack > .quote { margin-top: var(--sc-7); }
.quote { margin: 0; font-family: var(--sc-font-display); text-transform: uppercase; font-size: clamp(1.5rem, 5cqi, 2.4rem); line-height: 1; color: var(--ink); max-width: 20ch; }
.quote cite { display: block; margin-top: var(--sc-3); font-family: var(--sc-font-text); font-style: normal; font-stretch: 125%; font-size: var(--sc-t-xs); font-weight: 600; letter-spacing: .06em; color: var(--paper-soft); }
@media (max-width: 760px) {
  .split__do .reel--3, .split__do .post, .split__do .pair, .duo { max-width: none; }
}

/* client marks: who the work was for, set in the column's ink */
.client { display: flex; flex-wrap: wrap; align-items: center; gap: var(--sc-3) var(--sc-6); margin-bottom: var(--sc-6); }
.client img { height: clamp(3.2rem, 5.2vw, 4.6rem); width: auto; }
.client img[src$=".svg"] { height: clamp(1.6rem, 2.4vw, 2.1rem); filter: brightness(0) saturate(0); opacity: .92; }
.client p { margin: 0; font-stretch: 125%; text-transform: uppercase; letter-spacing: .06em; font-size: var(--sc-t-xs); font-weight: 700; color: var(--paper-soft); }
.client p.client__name { color: var(--ink); font-size: var(--sc-t-sm); }
.stack > .client + * { margin-top: 0; }
.split__do .reel--duo { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 26rem; }
.split__do .feature + .feature__cap { margin-top: var(--sc-4); max-width: 46rem; }

/* ---------- about: the proof ---------- */
.about .split__think, .about .split__do { padding-block: var(--pad-y); }
.about .body { font-size: var(--sc-t-base); }
.steps { list-style: none; padding: 0; margin-top: var(--sc-8) !important; counter-reset: s; border-top: 2px solid var(--ink); }
.steps li { counter-increment: s; display: grid; grid-template-columns: 3.2rem 1fr; gap: 0 var(--sc-4); padding: var(--sc-5) 0; border-bottom: 1px solid color-mix(in oklab, var(--ink) 25%, transparent); }
.steps li::before { content: counter(s, decimal-leading-zero); grid-row: span 2; font-family: var(--sc-font-display); font-size: 2rem; line-height: 1; color: var(--accent-deep); }
.steps b { font-family: var(--sc-font-display); font-weight: 400; text-transform: uppercase; font-size: clamp(2rem, 7cqi, 3.4rem); line-height: .95; color: var(--ink); }
.steps span { color: var(--paper-soft); line-height: 1.55; margin-top: var(--sc-2); max-width: 40ch; }
.certs { display: grid; grid-template-columns: 1fr; gap: var(--sc-7); max-width: 40rem; }
.cert { margin: 0; max-width: none; }
.cert img { width: 100%; height: auto; box-shadow: 0 30px 60px -24px rgb(0 0 0 / .8), 0 2px 0 rgb(255 255 255 / .06); }
.cert--a { transform: rotate(-1.4deg); }
.cert--b { transform: rotate(1.2deg); width: 88%; margin-left: auto; }
.cert figcaption { margin-top: var(--sc-4); color: var(--ink-soft); font-size: var(--sc-t-sm); line-height: 1.5; max-width: 46ch; }
.cert figcaption b { display: block; font-family: var(--sc-font-display); font-weight: 400; text-transform: uppercase; font-size: clamp(1.6rem, 4.5cqi, 2.4rem); line-height: 1; color: var(--paper); margin-bottom: .35rem; }
.stack > .certs + .lab { margin-top: var(--sc-9); }
.toolwall { margin: var(--sc-3) 0 0; font-family: var(--sc-font-display); text-transform: uppercase; font-size: clamp(1.6rem, 5.2cqi, 2.8rem); line-height: 1.08; color: var(--paper); max-width: 22ch; }

/* click-to-enlarge images */
.zoomable { cursor: zoom-in; transition: transform 180ms var(--sc-ease-out); }
@media (hover: hover) and (pointer: fine) { .zoomable:hover { transform: translateY(-2px); } }
.zoomable:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.player__img { display: block; max-width: 100%; max-height: 86vh; width: auto; height: auto; margin: 0 auto; background: var(--paper); }
.player__img[hidden], .player video[hidden] { display: none; }
