/* =====================================================================
   Thomas Wong portfolio styles
   One story, top to bottom: the opening (who I am), the path (background,
   experience, capabilities), DND as one continuous dark chapter (the claim,
   the numbers, the channel, how it grew, three videos, what the job was),
   NOVALINE, and the close. Light ground with one dark chapter. One 1280px
   column, 12 columns. Hairlines between rows, no boxes.
   Colours, type and spacing are set once in :root.
   Fonts are defined in fonts.css.
   ===================================================================== */

/* ---------- Design tokens ---------- */
:root {
  --bg: #EDEAE4;            /* warm stone off-white */
  --ink: #1C1B19;           /* charcoal */
  --muted: #615D56;         /* labels and captions on light (4.5:1+) */
  --soft: #3D3A35;          /* body text in a softer tone (7:1+) */
  --line: rgba(28, 27, 25, 0.16);
  --dark: #121211;          /* the dark band and the close */
  --dark-ink: #EDEAE4;
  --dark-muted: #A9A59D;
  --frame: #1E1D1B;         /* video frames */

  /* --serif is the display face (headlines, numbers), --sans the text face. The names are kept
     from the first design so every rule still reads them; both are sans-serifs now. */
  --serif: "Inter Tight", "Helvetica Neue", Arial, sans-serif;
  --sans: "Inter", "Helvetica Neue", Arial, sans-serif;
  --display-weight: 600;    /* headlines and big numbers */
  --display-track: -0.03em; /* tight tracking for large display type */

  --nav: 72px;              /* header height */
  --padt: 128px;            /* space above a section's heading (72px of it sits under the header) */
  --padb: 56px;             /* space under a section's content */
  --chapter: 200px;         /* space above and below a chapter */
  --block: 176px;           /* space between the parts of a chapter */
  --metric-gap: 96px;       /* air under each big number, so they arrive one at a time */
  --hero-padb: 72px;
  --gut: 80px;              /* page margin */
  --gutter: 24px;           /* space between columns */
  --container: 1280px;

  --t-h1: 64px;  --t-h2: 44px;  --t-h3: 24px;  --t-lead: 19px;
  --t-body: 16px; --t-small: 14px; --t-label: 13px; --t-stat: 80px;
  --t-hero: clamp(48px, 6.6vw, 100px);       /* the opening statement */
  --t-display: clamp(60px, 11.5vw, 176px);   /* "From zero to millions." */
  --t-metric: clamp(64px, 9.5vw, 148px);     /* the counted totals */
  --t-work: clamp(30px, 2.8vw, 42px);  --t-perf: 64px;
  --dark-line: rgba(237, 234, 228, 0.16);
  --ease-reveal: cubic-bezier(0.16, 1, 0.3, 1);  /* scroll reveals: quick start, long soft landing */

  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);   /* UI response: starts fast, settles softly */
  --ease: var(--ease-out);
  --m-ease: cubic-bezier(.22, 1, .36, 1);
  --m-ease-enter: cubic-bezier(.22, 1, .36, 1);

  /* names the moment kit reads (assets/moments) */
  --accent: var(--ink); --surface: #FFFFFF; --font-text: var(--sans); --r-md: 6px;
  --s-2: 8px; --s-4: 16px; --s-5: 24px; --s-6: 32px; --s-7: 48px;
}
@media (min-width: 640px) and (max-width: 1023px) {
  :root { --gut: 48px; --t-h1: 52px; --t-h2: 38px; --t-stat: 64px; --t-perf: 56px; --chapter: 152px; --block: 136px; }
}
@media (max-width: 639px) {
  :root { --nav: 56px; --padt: 96px; --padb: 40px; --gut: 24px; --gutter: 12px; --chapter: 112px; --block: 104px; --metric-gap: 56px; --t-perf: 48px; --hero-padb: 40px;
          --t-h1: 36px; --t-h2: 28px; --t-h3: 22px; --t-lead: 17px; --t-stat: 44px; }
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 0; scroll-behavior: auto; background: var(--bg); }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 var(--t-body)/1.6 var(--sans);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: clip;
}
img, video { display: block; max-width: 100%; height: auto; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
h1, h2, h3, h4 { font-weight: 400; text-wrap: balance; }
a { color: inherit; }
::selection { background: var(--ink); color: var(--bg); }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.section--dark :focus-visible { outline-color: var(--dark-ink); }
.nowrap { white-space: nowrap; }

.skip-link { position: absolute; left: max(var(--gut), (100% - var(--container)) / 2); top: -100px; z-index: 100; background: var(--ink); color: var(--bg); padding: 12px 16px; text-decoration: none; }
.skip-link:focus { top: 12px; }

/* ---------- The column ---------- */
.wrap { width: min(100% - 2 * var(--gut), var(--container)); margin-inline: auto; }

/* ---------- Sections ---------- */
main > section, footer.closing { position: relative; box-sizing: border-box; padding: var(--padt) 0 var(--padb); }
main > section > .wrap, footer.closing > .wrap { position: relative; }
footer.closing { display: flex; flex-direction: column; min-height: 100vh; min-height: 100svh; }
footer.closing > .wrap { flex: 1 0 auto; display: flex; flex-direction: column; }

.section--dark { background: var(--dark); color: var(--dark-ink); }
.section--dark ::selection { background: var(--dark-ink); color: var(--dark); }

/* ---------- Type ---------- */
h1, h2, .h3, .statement, .close-email, .figure dd { font-family: var(--serif); font-weight: var(--display-weight); letter-spacing: -0.02em; }
h1 { font-size: var(--t-h1); line-height: 1.02; letter-spacing: var(--display-track); }
h2 { font-size: var(--t-h2); line-height: 1.06; letter-spacing: var(--display-track); max-width: 20em; }
.h3 { font-size: var(--t-h3); line-height: 1.2; }
.lead { font-size: var(--t-lead); line-height: 1.5; color: var(--soft); margin-top: 16px; max-width: 34em; }
.section--dark .lead { color: var(--dark-muted); }
.note { font-size: var(--t-label); line-height: 1.5; color: var(--muted); max-width: 52em; }
.section--dark .note { color: var(--dark-muted); }
.runin { font-family: var(--serif); font-weight: var(--display-weight); font-size: 1.1em; line-height: 1.2; letter-spacing: -0.01em; }

/* ---------- Buttons and links (with the hover layer) ---------- */
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px;
  border-radius: 4px; font: 500 16px/1 var(--sans); text-decoration: none; cursor: pointer;
  border: 1px solid transparent;
  transition: transform 160ms var(--ease-out), background-color 150ms ease, border-color 150ms ease, color 150ms ease;
}
.btn--primary { background: var(--ink); color: var(--bg); }
.btn--secondary { border-color: currentColor; color: inherit; background: transparent; }

@media (hover: hover) and (pointer: fine) {
  .btn:hover { transform: translateY(-1px); }
  .btn--primary:hover { background: #3a3835; }
  .btn--secondary:hover { background: rgba(28, 27, 25, 0.06); }
}
.btn:active { transform: scale(0.97); transition-duration: 100ms; }

/* a text link: a faint rest line, and the full line draws left to right on hover */
.link {
  text-decoration: none; padding-bottom: 2px;
  background-image: linear-gradient(currentColor, currentColor), linear-gradient(currentColor, currentColor);
  background-size: 100% 1px, 0% 1px; background-position: 0 100%, 0 100%; background-repeat: no-repeat;
  transition: background-size 240ms var(--ease-out);
}
.link { background-image: linear-gradient(color-mix(in srgb, currentColor 35%, transparent), color-mix(in srgb, currentColor 35%, transparent)), linear-gradient(currentColor, currentColor); }
.link:is(:hover, :focus-visible) { background-size: 100% 1px, 100% 1px; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--nav);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 max(var(--gut), (100% - var(--container)) / 2);
  background: var(--bg); color: var(--ink);
  transition: background-color 200ms ease, color 200ms ease;
}
.site-header.is-dark { background: var(--dark); color: var(--dark-ink); }
.site-header.is-dark .btn--primary, body.menu-open .site-header .btn--primary { background: var(--dark-ink); color: var(--dark); }
@media (hover: hover) and (pointer: fine) {
  .site-header.is-dark .btn--primary:hover { background: #FFFFFF; }
}
/* the ring takes the header's colour, not the control's own text colour, so the filled
   button and the skip link (light text) still show a dark ring on the light header */
.site-header :focus-visible { outline-color: var(--ink); }
.site-header.is-dark :focus-visible, body.menu-open .site-header :focus-visible { outline-color: var(--dark-ink); }
.wordmark { font-family: var(--serif); font-weight: var(--display-weight); letter-spacing: -0.02em; font-size: 20px; line-height: 1; text-decoration: none; display: inline-flex; align-items: center; min-height: 44px; }
.btn--nav { min-height: 40px; padding: 0 16px; font-size: 15px; }
.nav-list { display: flex; align-items: center; gap: 28px; font-size: 15px; }
.nav-list a:not(.btn) { text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size 240ms var(--ease-out); padding: 12px 0 4px; }
.nav-list a:not(.btn):is(:hover, :focus-visible) { background-size: 100% 1px; }
.menu-button { display: none; font: inherit; font-size: 15px; color: inherit; background: none; border: 0; min-height: 44px; padding: 0; cursor: pointer; }
.mobile-menu { position: fixed; inset: 0; z-index: 40; background: var(--dark); color: var(--dark-ink); display: flex; align-items: flex-end; padding: 96px var(--gut) 48px; }
.mobile-menu[hidden] { display: none; opacity: 0; }
@media (prefers-reduced-motion: no-preference) {
  .mobile-menu { opacity: 1; transition: opacity 220ms var(--ease-out), display 220ms allow-discrete; }
  .mobile-menu[hidden] { transition-duration: 140ms; }
  @starting-style { .mobile-menu { opacity: 0; } }
}
.mobile-menu-list { display: grid; gap: 4px; width: 100%; }
.mobile-menu-list a { font-family: var(--serif); font-weight: var(--display-weight); letter-spacing: var(--display-track); font-size: 40px; line-height: 1.1; text-decoration: none; display: block; padding-block: 4px; }
.mobile-menu-list .secondary a { font-family: var(--sans); font-size: 17px; color: var(--dark-muted); padding-block: 12px; }
.mobile-menu-list .secondary:first-of-type { margin-top: 20px; }
body.menu-open { overflow: hidden; }
body.menu-open .site-header { background: var(--dark); color: var(--dark-ink); }
@media (max-width: 1023px) {
  .nav-list { display: none; }
  .menu-button { display: block; }
}

/* The hero's entrance (motion.md): once on load the h1 rises line by line, then the lead and the
   buttons fade up and the reel settles from .98. motion.js runs it; without script, under reduced
   motion and in print the hero stands as written. */
@media screen and (prefers-reduced-motion: no-preference) {
  html.m-enter:not(.m-enter-done, [data-motion="off"]) .hero[data-enter]:not([data-enter="off"], .is-entering, .is-entered)
    :is(h1, h1 ~ *, :has(> h1) ~ *, :has(~ h1)):not([data-enter-media], :has([data-enter-media])) { opacity: 0; }
  html.m-enter.m-enter-done:not([data-motion="off"]) .hero[data-enter]:not([data-enter="off"], .is-entering, .is-entered)
    :is(h1, h1 ~ *, :has(> h1) ~ *, :has(~ h1)) { transition: opacity 400ms var(--m-ease); }
  html.m-enter:not([data-motion="off"]) .hero[data-enter]:not([data-enter="off"], .is-still) [data-enter-media] { transition: scale 900ms var(--m-ease-enter); }
  html.m-enter:not(.m-enter-done, [data-motion="off"]) .hero[data-enter]:not([data-enter="off"], .is-entering, .is-entered) [data-enter-media] { scale: .98; }
  html.m-enter:not([data-motion="off"]) .hero[data-enter]:not([data-enter="off"], .is-entered) { overflow: clip; }
}
.hero[data-enter] .m-w { display: inline-block; overflow: clip; vertical-align: top; padding-bottom: .12em; margin-bottom: -.12em; }
.hero[data-enter] .m-w__in { display: inline-block; }
@media (prefers-reduced-motion: reduce) {
  .reel-card, .reel-frame :is(img, video), .btn, .link { transition: none; }
}

/* =====================================================================
   1. Opening: who I am. A statement on the left, the portrait on the
   right, both standing on the foot of the first screen.
   ===================================================================== */
main > .hero {
  min-height: 100vh; min-height: 100svh;
  padding: calc(var(--nav) + 48px) 0 var(--hero-padb);
  display: flex; flex-direction: column; justify-content: flex-end;
}
.hero-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); align-items: end; }
.hero-text { grid-column: 1 / span 7; }
.hero h1 { font-size: var(--t-hero); line-height: 0.98; letter-spacing: -0.045em; max-width: 9.5em; }
.hero-lead { margin-top: 32px; font-size: var(--t-lead); line-height: 1.5; color: var(--soft); max-width: 32em; }
.hero .actions { margin-top: 32px; }
.hero-meta { margin-top: 40px; font-size: var(--t-small); color: var(--muted); }

/* =====================================================================
   Shared pieces of the story
   ===================================================================== */
.chapter-title, .path h2, .bring h2 { font-size: var(--t-h2); }
.h-section { font-family: var(--serif); font-weight: var(--display-weight); font-size: var(--t-h2); line-height: 1.06; letter-spacing: var(--display-track); }
.kicker { font-size: var(--t-small); color: var(--muted); }
.section--dark .kicker { color: var(--dark-muted); }
.block-title { font-family: var(--sans); font-weight: 500; font-size: var(--t-small); color: var(--muted); }
.section--dark .block-title { color: var(--dark-muted); }
/* a heading and its lead side by side: the heading on the left, the lead on the right, on one baseline */
.split-head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); row-gap: 20px; align-items: end; }
.split-head > :first-child { grid-column: 1 / span 6; }
.split-head > .lead { grid-column: 8 / span 5; margin-top: 0; }
@media (max-width: 1023px) {
  .split-head > :first-child, .split-head > .lead { grid-column: 1 / -1; }
}
/* hairlines between rows instead of boxes */
.rule-list > li, .roles > li, .approach > li, .beyond > li, .bring-list > li, .caps > .cap, .metric { border-top: 1px solid var(--line); }
.section--dark :is(.approach > li, .beyond > li, .metric, .facts) { border-color: var(--dark-line); }

/* =====================================================================
   2. Path: the heading holds on the left while the roles pass on the right
   ===================================================================== */
.path { padding-top: var(--chapter); padding-bottom: var(--chapter); }
.path-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); align-items: start; }
.path-intro { grid-column: 1 / span 5; position: sticky; top: calc(var(--nav) + 48px); }
.path-intro .lead { margin-top: 28px; }
.roles { grid-column: 7 / span 6; }
.roles .role:last-child { border-bottom: 1px solid var(--line); }
.role { display: grid; grid-template-columns: 128px minmax(0, 1fr); column-gap: var(--gutter); padding: 28px 0 32px; }
.role-dates { color: var(--muted); font-size: var(--t-small); font-variant-numeric: tabular-nums; padding-top: 0.45em; }
.role-company { font-family: var(--serif); font-weight: var(--display-weight); font-size: var(--t-h3); line-height: 1.15; letter-spacing: -0.02em; }
.role-title { color: var(--muted); font-size: var(--t-small); margin-top: 4px; }
.role-summary { margin-top: 12px; color: var(--soft); max-width: 34em; }
.role-link { margin-top: 12px; font-size: var(--t-small); }
.caps-block { margin-top: var(--block); }
.caps-title { font-family: var(--serif); font-weight: var(--display-weight); font-size: var(--t-h3); letter-spacing: -0.02em; }
.caps { margin-top: 28px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: var(--gutter); row-gap: 32px; }
.cap { padding-top: 20px; }
.cap-name { font-family: var(--serif); font-weight: var(--display-weight); font-size: 20px; line-height: 1.2; letter-spacing: -0.015em; }
.cap p { margin-top: 8px; color: var(--soft); max-width: 26em; }
.cap .cap-tools { color: var(--muted); font-size: var(--t-small); }
@media (max-width: 1023px) {
  .path-intro { grid-column: 1 / -1; position: static; }
  .roles { grid-column: 1 / -1; margin-top: 56px; }
}
@media (max-width: 639px) {
  .role { grid-template-columns: 1fr; row-gap: 6px; }
  .role-dates { padding-top: 0; }
  .caps { grid-template-columns: 1fr; }
}

/* =====================================================================
   3. Featured work: DND. One dark chapter from the claim to the proof.
   ===================================================================== */
.dnd { padding-top: var(--chapter); padding-bottom: var(--chapter); }
.dnd .display { margin-top: 24px; font-size: var(--t-display); line-height: 0.92; letter-spacing: -0.05em; max-width: none; }
.dnd-lede { margin-top: 40px; font-size: calc(var(--t-lead) + 2px); max-width: 36em; }
.facts { margin-top: 72px; padding-top: 24px; border-top: 1px solid; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: var(--gutter); row-gap: 24px; }
.facts dt { font-size: var(--t-small); color: var(--dark-muted); margin-bottom: 6px; }
.facts dd { font-family: var(--serif); font-weight: var(--display-weight); font-size: var(--t-h3); line-height: 1.25; letter-spacing: -0.02em; }

/* the numbers */
/* the numbers sit in the centre: heading and intro, the four totals two by two, then the
   per-video counts in one row, then the source note */
.dnd-metrics { margin-top: var(--block); text-align: center; }
.metrics-head { max-width: 40em; margin: 0 auto; }
.metrics-heading { font-family: var(--serif); font-weight: var(--display-weight); font-size: var(--t-h2); line-height: 1.1; letter-spacing: var(--display-track); }
.metrics-intro { margin-top: 16px; font-size: var(--t-lead); line-height: 1.5; color: var(--dark-muted); }
.metrics--account { margin-top: 56px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--gutter); }
.dnd-metrics .metric { align-items: center; }
.dnd-metrics .metric dd { justify-content: center; }
.dnd-metrics .metric dt { margin-left: auto; margin-right: auto; }
.metrics--account .metric dd { font-size: calc(var(--t-metric) * 0.82); }
.metrics-note { max-width: 40em; margin: 40px auto 0; }
.metric { display: flex; flex-direction: column; padding: 32px 0 var(--metric-gap); }
.metric dd { order: -1; font-family: var(--serif); font-weight: var(--display-weight); font-size: var(--t-metric); line-height: 0.9; letter-spacing: -0.05em; }
.metric dt { margin-top: 20px; font-size: var(--t-lead); line-height: 1.4; color: var(--dark-muted); max-width: 24em; }
.metrics--video { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: var(--gutter); }
.metrics--video .metric { padding-bottom: 0; }
.metrics--video .metric dd { font-size: calc(var(--t-metric) * 0.62); }
.metrics--video .metric dt { font-size: var(--t-body); }
.count { display: inline-block; font-variant-numeric: tabular-nums; white-space: nowrap; }
@media (max-width: 1023px) {
  .facts { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* the carousel: every long video over 100K views, after the three in detail. A native sideways
   scroll with snap points (swipe, trackpad, shift+wheel, or the two buttons); no autoplay, no
   scroll takeover. Cards peek past the right edge so it reads as "more this way". */
.dnd-reel { margin-top: var(--block); }
.carousel-head { display: flex; align-items: flex-end; justify-content: space-between; gap: var(--gutter); }
.carousel-intro { max-width: 40em; }
.carousel-intro .block-title { font-size: var(--t-h2); line-height: 1.08; letter-spacing: var(--display-track); color: var(--dark-ink); max-width: 16em; }
.carousel-intro .lead { margin-top: 16px; color: var(--dark-muted); }
.carousel-btn { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--dark-line); background: transparent; color: var(--dark-ink); cursor: pointer; transition: background-color 180ms var(--ease-out), border-color 180ms var(--ease-out), opacity 180ms var(--ease-out), transform 100ms var(--ease-out); }
.carousel-btn svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.carousel-btn:active:not(:disabled) { transform: scale(0.94); }
.carousel-btn:disabled { opacity: 0.32; cursor: default; }
.carousel-btn:focus-visible { outline: 2px solid var(--dark-ink); outline-offset: 3px; }
@media (hover: hover) and (pointer: fine) {
  .carousel-btn:hover:not(:disabled) { background: rgba(237, 234, 228, 0.08); border-color: rgba(237, 234, 228, 0.5); }
}
.reel {
  display: flex; gap: 16px; overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; scroll-padding-inline: var(--gut); scrollbar-width: none;
  margin-inline: calc(-1 * var(--gut)); padding: 6px var(--gut) 8px;
}
.reel::-webkit-scrollbar { display: none; }
.reel:focus-visible { outline: 2px solid var(--dark-ink); outline-offset: 4px; }
.reel-item { flex: 0 0 calc((min(100vw, var(--container)) - 2 * var(--gut) - 3 * 16px) / 4.35); scroll-snap-align: start; }
.carousel-note { margin-top: 20px; }
.reel-card { position: relative; display: block; text-decoration: none; color: #fff; border-radius: 6px; overflow: hidden; background: var(--frame); }
.reel-frame { display: block; aspect-ratio: 9 / 16; position: relative; }
.reel-frame img, .reel-frame video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 320ms var(--ease-out); }
.reel-time { position: absolute; top: 12px; right: 12px; padding: 3px 7px; border-radius: 4px; background: rgba(10, 10, 9, 0.72); font-size: var(--t-label); line-height: 1.3; font-variant-numeric: tabular-nums; color: #fff; }
.reel-info { position: absolute; inset: auto 0 0 0; display: flex; flex-direction: column; gap: 4px; padding: 56px 16px 16px; background: linear-gradient(to top, rgba(10, 10, 9, 0.9) 45%, rgba(10, 10, 9, 0)); }
.reel-views { font-family: var(--serif); font-weight: var(--display-weight); font-size: clamp(26px, 2.4vw, 34px); line-height: 1; letter-spacing: -0.03em; }
.reel-views > span:not(.count) { font-family: var(--sans); font-weight: 400; font-size: var(--t-label); color: rgba(255, 255, 255, 0.9); letter-spacing: 0; }
.reel-title { font-size: var(--t-small); line-height: 1.35; color: rgba(255, 255, 255, 0.86); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (hover: hover) and (pointer: fine) {
  .reel-card { transition: transform 240ms var(--ease-out); }
  .reel-card:hover { transform: translateY(-4px); }
  .reel-card:hover .reel-frame :is(img, video) { transform: scale(1.04); }
}
@media (max-width: 1023px) {
  .reel { gap: 12px; }
  .reel-item { flex-basis: min(36vw, 260px); }
}
@media (max-width: 639px) {
  .carousel-btn { display: none; }
  .reel-item { flex-basis: 64vw; }
}

/* how it grew */
.dnd-approach { margin-top: var(--block); }
.approach { margin-top: 56px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--gutter); row-gap: 40px; }
.approach li { padding-top: 20px; }
.runin-head, .beyond h4 { font-family: var(--serif); font-weight: var(--display-weight); font-size: 21px; line-height: 1.25; letter-spacing: -0.015em; color: var(--dark-ink); }
.approach p, .beyond p { margin-top: 8px; color: var(--dark-muted); max-width: 30em; }
@media (max-width: 639px) { .approach { grid-template-columns: 1fr; row-gap: 28px; } }

/* three kinds of video: alternating sides, the words level with the player */
.dnd-work { margin-top: var(--block); }
.work-item { margin-top: 120px; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); align-items: center; }
.work-text { grid-column: 1 / span 6; grid-row: 1; }
.work-media { grid-column: 8 / span 4; grid-row: 1; justify-self: center; width: 100%; }
.work-item--flip .work-text { grid-column: 7 / span 6; }
.work-item--flip .work-media { grid-column: 2 / span 4; }
.work-sub { margin-top: 12px; font-size: var(--t-lead); line-height: 1.4; color: var(--dark-ink); max-width: 26em; }
.work-title { margin-top: 0; font-family: var(--serif); font-weight: var(--display-weight); font-size: var(--t-work); line-height: 1.08; letter-spacing: -0.03em; max-width: 14em; }
.work-text .meta { margin-top: 12px; font-size: var(--t-small); color: var(--dark-muted); }
.brief { margin-top: 28px; display: grid; row-gap: 12px; max-width: 36em; color: var(--dark-muted); }
.brief .runin { color: var(--dark-ink); }
.perf { margin-top: 36px; }
.perf-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 420px; gap: 28px 24px; }
.stat { display: flex; flex-direction: column; }
.stat dd { order: -1; display: flex; align-items: center; gap: 0.3em; font-family: var(--serif); font-weight: var(--display-weight); font-size: clamp(24px, 2.6vw, 38px); line-height: 1; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.stat dt { margin-top: 8px; font-size: var(--t-small); letter-spacing: 0.08em; text-transform: uppercase; color: var(--dark-muted); }
.stat--views { grid-column: 1 / -1; }
.stat--views dd { font-size: var(--t-perf); line-height: 0.95; letter-spacing: -0.04em; }
.stat-icon { display: inline-flex; flex: none; width: 0.62em; height: 0.62em; color: var(--dark-ink); }
.stat--views .stat-icon { width: 0.5em; height: 0.5em; }
.perf-small { margin-top: 20px; font-size: var(--t-small); color: var(--dark-muted); }
.perf .note { margin-top: 12px; }
.work-text .links { margin-top: 28px; }
@media (max-width: 1023px) {
  .work-item { margin-top: 96px; }
  .work-text, .work-item--flip .work-text { grid-column: 1 / -1; grid-row: 1; }
  .work-media, .work-item--flip .work-media { grid-column: 1 / -1; grid-row: 2; justify-self: start; margin-top: 40px; width: min(100%, 360px); }
}
@media (max-width: 639px) {
  .work-text .links .link { display: inline-flex; align-items: center; min-height: 44px; }
}

/* more than the camera */
.dnd-beyond { margin-top: var(--block); }
.beyond { margin-top: 56px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--gutter); row-gap: 48px; }
.beyond li { padding-top: 20px; }
.testimonial { margin-top: 72px; max-width: 46em; }
.testimonial blockquote { font-family: var(--serif); font-weight: 500; letter-spacing: -0.02em; font-size: 28px; line-height: 1.25; }
.testimonial figcaption { margin-top: 12px; color: var(--dark-muted); font-size: var(--t-small); }
@media (max-width: 1023px) { .beyond { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 639px) { .beyond { grid-template-columns: 1fr; row-gap: 28px; } }

/* =====================================================================
   The TikTok player (a facade until someone presses play)
   ===================================================================== */
.player {
  position: relative; width: 100%; aspect-ratio: 9 / 16;
  width: min(100%, calc(78svh * 9 / 16)); margin-inline: auto;
  background: var(--frame); border-radius: 6px; overflow: hidden;
}
.player-start { position: absolute; inset: 0; width: 100%; height: 100%; padding: 0; border: 0; background: none; cursor: pointer; display: grid; place-items: center; color: #fff; }
.player-poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 320ms var(--ease-out); }
.play-ring { position: relative; width: 76px; height: 76px; border-radius: 50%; display: grid; place-items: center; background: rgba(18, 18, 17, 0.55); border: 1px solid rgba(255, 255, 255, 0.7); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); transition: background-color 200ms ease, transform 160ms var(--ease-out); }
.play-ring svg { width: 18px; height: 20px; margin-left: 4px; fill: currentColor; }
@media (hover: hover) and (pointer: fine) {
  .player-start:hover .player-poster { transform: scale(1.03); }
  .player-start:hover .play-ring { background: rgba(18, 18, 17, 0.8); transform: scale(1.04); }
}
.player-start:active .play-ring { transform: scale(0.97); }
.player iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: var(--frame); }
.player-loading { position: absolute; inset: 0; display: grid; place-items: center; color: var(--dark-muted); font-size: var(--t-small); }
.player-fallback { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; gap: 14px; padding: 28px; color: var(--dark-ink); }
.player-fallback p { font-size: 15px; color: var(--dark-muted); }
.player-help { margin-top: 12px; font-size: var(--t-label); color: var(--muted); }

/* =====================================================================
   4. NOVALINE: what I'm building now
   ===================================================================== */
/* ---------- NOVALINE: a featured founder case study (Thomas, 2026-12-04) ----------
   The name set as large as the column allows, with "the line" (NOVALINE's 5 mm yellow band)
   drawn under it, a one-line intro and a metadata line. Then three chapters: development
   (three photos in one row), brand and creative (a compact gallery plus thumbnails that open
   the viewer), and launch and operations (six short points and the Amazon link). Every
   picture opens larger in the viewer. Yellow appears only as the line, the intro highlight,
   the band under each number and the "upcoming" tag. */
.nl { --nl-yellow: #F3E52A; --nl-yellow-soft: rgba(243, 229, 42, 0.62); --nl-gap: clamp(88px, 8vw, 128px); padding-top: var(--chapter); padding-bottom: clamp(96px, 9vw, 144px); }
.nl-open { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); }
.nl-kicker { grid-column: 1 / -1; display: flex; align-items: center; gap: 14px; margin-bottom: clamp(40px, 5vw, 72px); padding-top: 20px; border-top: 1px solid var(--ink); font-size: var(--t-label); font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink); }
.nl-kicker::before { content: ""; width: 24px; height: 5px; background: var(--nl-yellow); }
.nl-word { grid-column: 1 / -1; font-family: var(--serif); font-weight: var(--display-weight); font-size: min(calc((100vw - 2 * var(--gut)) * 0.229), 293px); line-height: 0.84; letter-spacing: -0.055em; white-space: nowrap; margin-left: -0.04em; }
.nl-word { margin-left: 0; }
.nl-word .mask-in { display: block; }
.nl-logo { display: block; width: 100%; aspect-ratio: 1347 / 174; background: var(--ink); -webkit-mask: url("../images/novaline/nl-wordmark.svg") no-repeat center / contain; mask: url("../images/novaline/nl-wordmark.svg") no-repeat center / contain; }
.nl-word .sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.nl-line { grid-column: 1 / -1; display: block; height: clamp(8px, 1.1vw, 14px); margin-top: clamp(14px, 1.6vw, 24px); background: var(--nl-yellow); transform-origin: left center; }
html.rv .nl-line { transition: transform 1300ms var(--ease-reveal) 250ms; opacity: 1; }
html.rv .nl-line:not(.is-in) { transform: scaleX(0); opacity: 1; }
.nl-intro { grid-column: 1 / span 9; margin-top: clamp(14px, 1.4vw, 20px); font-family: var(--serif); font-weight: 500; font-size: clamp(22px, 2.05vw, 30px); line-height: 1.3; letter-spacing: -0.018em; color: var(--ink); text-wrap: pretty; max-width: 22em; }
.nl-hl { background: linear-gradient(var(--nl-yellow-soft), var(--nl-yellow-soft)) no-repeat 0 82% / 100% 0.5em; padding: 0 0.06em; margin: 0 -0.06em; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
html.rv .nl-intro .nl-hl { transition: background-size 900ms var(--ease-reveal) 700ms; }
html.rv .nl-intro:not(.is-in) .nl-hl { background-size: 0% 0.5em; }
.nl-open .nl-meta { grid-column: 1 / -1; margin-top: clamp(24px, 2.6vw, 36px); flex-direction: row; gap: 6px 14px; }
.nl-open .nl-meta span, .nl-open .nl-meta span:first-child { color: var(--muted); font-weight: 500; }
.nl-open .nl-meta span + span { padding-left: 0; }
.nl-open .nl-meta span + span::before { content: "/"; position: static; display: inline-block; width: auto; height: auto; margin-right: 14px; background: none; }
.nl-note { grid-column: 1 / -1; margin-top: 12px; color: var(--muted); font-size: var(--t-body); line-height: 1.5; }

/* pictures: soft corners, open in the viewer, a gentle zoom on hover */
.nl-pic { position: relative; border-radius: 6px; overflow: hidden; background: #E2DED6; }
.nl-zoom { display: block; width: 100%; height: 100%; cursor: zoom-in; }
.nl-pic img { width: 100%; height: 100%; object-fit: cover; transition: transform 700ms var(--ease-out); }
.nl-white { background: #fff; }
.nl-contain img { object-fit: contain; }
.nl-zoom:focus-visible { outline: 2px solid var(--ink); outline-offset: -2px; border-radius: 6px; }
@media (hover: hover) and (pointer: fine) { .nl-zoom:hover img { transform: scale(1.025); } }
.nl-tag { position: absolute; left: 12px; top: 12px; padding: 6px 10px; border-radius: 3px; background: rgba(255, 255, 255, 0.94); color: var(--ink); font-size: 12px; line-height: 1; font-weight: 500; letter-spacing: 0.02em; pointer-events: none; }
.nl-tag--next { background: var(--nl-yellow); }

/* chapters */
.nl-ch { margin-top: var(--nl-gap); display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); }
.nl-ch-head { grid-column: 1 / -1; display: grid; grid-template-columns: subgrid; align-items: start; }
.nl-num { grid-column: 1 / span 1; font-family: var(--serif); font-weight: var(--display-weight); font-size: var(--t-small); letter-spacing: 0.02em; color: var(--ink); padding-top: 0.55em; }
.nl-num::after { content: ""; display: block; width: 24px; height: 5px; margin-top: 10px; background: var(--nl-yellow); }
.nl-ch-title { grid-column: 2 / span 10; font-family: var(--serif); font-weight: var(--display-weight); font-size: clamp(30px, 3.2vw, 48px); line-height: 1.02; letter-spacing: -0.035em; text-wrap: balance; }
.nl-ch-text { grid-column: 2 / span 7; margin-top: clamp(16px, 1.6vw, 24px); color: var(--soft); font-size: var(--t-body); line-height: 1.6; max-width: 40em; text-wrap: pretty; }
.nl-media { grid-column: 1 / -1; margin-top: clamp(32px, 3.2vw, 48px); }

/* 01 development: the meeting large, two tall test photos at the same height */
.nl-dev { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gutter); }
.nl-dev-lead { grid-column: 1 / span 6; aspect-ratio: 3 / 2; }
.nl-fill { grid-column: span 3; }
.nl-fill .nl-zoom { position: absolute; inset: 0; }

.nl-vid video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.nl-more-link { margin-top: 18px; }
.nl-textbtn { padding: 0; border: 0; background: none; font: inherit; font-size: var(--t-small); color: var(--ink); cursor: pointer; }

/* 02 brand and creative: A+ banner beside the logo, three squares, then the thumbnails */
.nl-gallery { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gutter); }
.nl-g-aplus { grid-column: 1 / span 8; aspect-ratio: 2000 / 819; }
.nl-g-logo { grid-column: 9 / -1; }
.nl-g-logo .nl-zoom { position: absolute; inset: 0; }
.nl-g-logo img { padding: 6%; }
.nl-g-sq { grid-column: span 4; aspect-ratio: 1 / 1; }
.nl-g-next { background: #E9E9E7; }
.nl-g-half { grid-column: span 6; aspect-ratio: 5 / 4; }
.nl-g-half.nl-contain img { padding: 4%; }
.nl-g-wide { grid-column: 1 / -1; aspect-ratio: 21 / 9; }
.nl-g-wide img { object-position: 50% 52%; }
.nl-g-film { grid-column: 1 / -1; aspect-ratio: 640 / 351; } /* the full 16:9 frame; only the progress bar burned into the bottom of the product video is cut */
.nl-g-film video { object-position: 50% 0; }
.nl-g-half.nl-g-square { aspect-ratio: 1 / 1; }
.nl-g-square.nl-vid video { height: 103%; object-position: 50% 0; }
.nl-feature { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gutter); }
.nl-g-feature .nl-zoom { position: absolute; inset: 0; }
.nl-feature-side { display: grid; gap: var(--gutter); align-content: start; }
.nl-feature-side .nl-g-film { grid-column: auto; }
.nl-more { margin-top: clamp(28px, 3vw, 40px); }
.nl-more + .nl-gallery { margin-top: clamp(28px, 3vw, 40px); }
.nl-group { margin-bottom: 14px; font-size: var(--t-label); letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.nl-thumbs { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.nl-thumb, .nl-all { display: block; width: 100%; aspect-ratio: 1 / 1; border-radius: 4px; overflow: hidden; background: #fff; cursor: zoom-in; }
.nl-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 600ms var(--ease-out), opacity 200ms ease; }
.nl-all { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; padding: 14px; border: 1px solid var(--ink); background: transparent; color: var(--ink); font: 500 var(--t-small)/1.25 var(--sans); text-align: center; cursor: pointer; transition: background-color 150ms ease, transform 160ms var(--ease-out); }
.nl-all-n { white-space: nowrap; font-family: var(--serif); font-weight: var(--display-weight); font-size: clamp(18px, 2.4vw, 36px); line-height: 1; letter-spacing: -0.03em; }
.nl-all:active { transform: scale(0.97); }
.nl-all:focus-visible, .nl-thumb:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
@media (hover: hover) and (pointer: fine) { .nl-thumb:hover img { transform: scale(1.04); } .nl-all:hover { background: var(--nl-yellow); } }

/* 03 launch and operations: the head and link on the left, six points on the right */
.nl-ch--run .nl-ch-head { grid-column: 1 / span 5; grid-template-columns: repeat(5, minmax(0, 1fr)); column-gap: var(--gutter); }
.nl-ch--run .nl-num { grid-column: 1 / -1; padding-top: 0; margin-bottom: 20px; }
.nl-ch--run .nl-ch-title, .nl-ch--run .nl-ch-text { grid-column: 1 / -1; }
.nl-ch--run .nl-ch-text { margin-top: 16px; padding-top: 0; max-width: 24em; }
.nl-actions { grid-column: 1 / -1; margin-top: 32px; }
.nl-ch--close .nl-actions { grid-column: 2 / -1; margin-top: 24px; }
.nl-ch--run .nl-media { grid-column: 7 / -1; margin-top: 0; }
.nl-run { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px var(--gutter); }
.nl-run li { padding-top: 16px; border-top: 1px solid var(--line); }
.nl-run h4 { font-family: var(--serif); font-weight: var(--display-weight); font-size: 18px; line-height: 1.25; letter-spacing: -0.012em; }
.nl-run p { margin-top: 6px; color: var(--soft); font-size: var(--t-small); line-height: 1.55; max-width: 24em; }

/* the viewer */
.nl-lb { width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: clamp(16px, 4vw, 56px) clamp(16px, 7vw, 112px); border: 0; background: rgba(18, 18, 17, 0.94); color: var(--dark-ink); overflow: hidden; }
.nl-lb::backdrop { background: transparent; }
.nl-lb[open] { display: grid; place-items: center; }
.nl-lb-fig { display: grid; align-content: center; gap: 14px; width: 100%; max-width: 1400px; pointer-events: none; }
.nl-lb-img { justify-self: center; align-self: center; max-width: 100%; max-height: calc(100dvh - 2 * clamp(16px, 4vw, 56px) - 40px); width: auto; height: auto; object-fit: contain; border-radius: 4px; pointer-events: auto; }
.nl-lb-cap { display: flex; justify-content: space-between; gap: 16px; font-size: var(--t-small); color: var(--dark-muted); }
.nl-lb-label { color: var(--dark-ink); }
.nl-lb-btn { position: absolute; display: grid; place-items: center; width: 48px; height: 48px; border: 0; border-radius: 50%; background: rgba(237, 234, 228, 0.1); color: var(--dark-ink); cursor: pointer; transition: background-color 150ms ease, transform 160ms var(--ease-out); }
.nl-lb-btn svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.nl-lb-btn:active { transform: scale(0.94); }
.nl-lb-btn:focus-visible { outline: 2px solid var(--dark-ink); outline-offset: 2px; }
@media (hover: hover) and (pointer: fine) { .nl-lb-btn:hover { background: rgba(237, 234, 228, 0.2); } }
.nl-lb-prev { left: clamp(8px, 2vw, 32px); top: 50%; margin-top: -24px; }
.nl-lb-next { right: clamp(8px, 2vw, 32px); top: 50%; margin-top: -24px; }
.nl-lb-close { right: clamp(8px, 2vw, 32px); top: clamp(8px, 2vw, 24px); }
@media (prefers-reduced-motion: no-preference) {
  .nl-lb[open] { animation: nl-lb-in 220ms var(--ease-out); }
  .nl-lb[open] .nl-lb-img { animation: nl-lb-img 320ms var(--ease-out); }
}
@keyframes nl-lb-in { from { opacity: 0; } }
@keyframes nl-lb-img { from { opacity: 0; transform: scale(0.97); } }
html:has(.nl-lb[open]) { overflow: hidden; }

@media (max-width: 1023px) {
  .nl-intro { grid-column: 1 / -1; }
  .nl-ch-title { grid-column: 2 / -1; }
  .nl-ch-text { grid-column: 2 / -1; margin-top: 16px; }
  .nl-ch--run .nl-ch-head { grid-column: 1 / -1; grid-template-columns: subgrid; }
  .nl-ch--run .nl-num { grid-column: 1 / span 1; padding-top: 0.55em; margin-bottom: 0; }
  .nl-ch--run .nl-ch-title, .nl-ch--run .nl-ch-text, .nl-actions { grid-column: 2 / -1; }
  .nl-ch--run .nl-media { grid-column: 2 / -1; margin-top: 40px; }
  .nl-actions { margin-top: 24px; }
  .nl-ch--close .nl-actions { grid-column: 2 / -1; }
}
@media (max-width: 639px) {
  .nl { --nl-gap: 80px; padding-bottom: 88px; }
  .nl-line { margin-top: 10px; }
  .nl-ch-head, .nl-ch--run .nl-ch-head { display: block; }
  .nl-num, .nl-ch--run .nl-num { padding-top: 0; margin-bottom: 16px; }
  .nl-ch-text, .nl-ch--run .nl-ch-text { margin-top: 12px; }
  .nl-media { margin-top: 28px; }
  .nl-dev, .nl-gallery { gap: 10px; }
  .nl-dev-lead { grid-column: 1 / -1; }
  .nl-fill { grid-column: span 6; aspect-ratio: 1 / 1; }
  .nl-g-aplus { grid-column: 1 / -1; }
  .nl-g-logo { display: none; }
  .nl-g-sq { grid-column: span 6; }
  .nl-g-half { grid-column: span 6; aspect-ratio: 1 / 1; }
  .nl-g-wide { aspect-ratio: 4 / 3; }
  .nl-thumbs { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
  .nl-thumbs li:nth-child(n+4):not(.nl-thumbs-all) { display: none; }
  .nl-all { padding: 10px; font-size: 12px; }
  .nl-all-n { font-size: 18px; }
  .nl-feature { grid-template-columns: 1fr; gap: 10px; }
  .nl-feature-side { gap: 10px; }
  .nl-g-feature { aspect-ratio: 1 / 1; }
  .nl-ch--run .nl-media { grid-column: 1 / -1; margin-top: 28px; }
  .nl-run { gap: 18px 16px; }
  .nl-run h4 { font-size: 16px; }
  .nl-run p { font-size: 13px; }
  .nl-actions .btn { width: 100%; }
  .nl-lb { padding: 64px 12px 24px; }
  .nl-lb-prev, .nl-lb-next { top: auto; bottom: 16px; margin-top: 0; }
  .nl-lb-fig { padding-bottom: 56px; }
  .nl-lb-img { max-height: calc(100dvh - 180px); }
}

/* =====================================================================
   5. The close: what I bring, then contact and the name
   ===================================================================== */
.bring { padding-top: var(--chapter); padding-bottom: 0; }
.bring h2 { max-width: 14em; }
.bring-list { margin-top: 56px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: var(--gutter); row-gap: 32px; }
.bring-list li { padding-top: 20px; }
.bring-list h3 { font-family: var(--serif); font-weight: var(--display-weight); font-size: var(--t-h3); line-height: 1.2; letter-spacing: -0.02em; }
.bring-list p { margin-top: 10px; color: var(--soft); max-width: 26em; }
@media (max-width: 1023px) { .bring-list { grid-template-columns: 1fr; } }
footer.closing { padding-top: var(--block); }

/* =====================================================================
   Scroll reveals (js/scroll.js adds html.rv only when motion is welcome).
   One entrance per element: a short rise and fade, a heading rising out of
   its mask, a video frame opening from a slight inset. Delays come from
   --rv-d and shrink down a group, so a group reads as a wave.
   ===================================================================== */
html.rv [data-reveal] {
  transition: opacity 700ms var(--ease-reveal) var(--rv-d, 0ms), transform 900ms var(--ease-reveal) var(--rv-d, 0ms);
}
html.rv [data-reveal]:not(.is-in) { opacity: 0; transform: translateY(24px); }

.mask { display: block; overflow: clip; padding-bottom: 0.1em; margin-bottom: -0.1em; }
.mask-in { display: block; }
html.rv [data-reveal="mask"], html.rv [data-reveal="mask"]:not(.is-in) { opacity: 1; transform: none; transition: none; }
html.rv [data-reveal="mask"] .mask-in { transition: transform 1100ms var(--ease-reveal) var(--rv-d, 0ms); }
html.rv [data-reveal="mask"]:not(.is-in) .mask-in { transform: translateY(105%); }

html.rv [data-reveal="frame"] { transition: clip-path 1200ms var(--ease-reveal) var(--rv-d, 0ms), opacity 600ms ease var(--rv-d, 0ms); }
html.rv [data-reveal="frame"]:not(.is-in) { opacity: 0.001; transform: none; clip-path: inset(7% 9% round 6px); }
html.rv [data-reveal="frame"].is-in { clip-path: inset(0 round 6px); }

html.rv [data-reveal="name"]:not(.is-in) { transform: translateY(18%); }
html.rv [data-reveal="name"] { transition-duration: 900ms, 1300ms; }

/* ---------- Contact and footer (one screen) ---------- */
footer.closing .close h2 { font-size: calc(var(--t-h2) * 1.25); max-width: 16em; }
footer.closing .lead { margin-top: 16px; }
.footer-block { margin-top: auto; padding-top: 72px; }
.close-name { font-family: var(--serif); font-weight: var(--display-weight); font-size: clamp(36px, 12.6vw, 182px); line-height: 0.9; letter-spacing: -0.05em; white-space: nowrap; }
.close-email { margin-top: 48px; font-weight: 500; font-size: var(--t-h2); line-height: 1.1; overflow-wrap: anywhere; }
.close-email a { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.14em; transition: text-decoration-color 200ms; }
.close-email a:hover { text-decoration-color: transparent; }
footer.closing .actions { margin-top: 36px; }
.footer-row { margin-top: 32px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 40px; font-size: var(--t-label); color: var(--muted); }
.footer-row p { max-width: 52em; }
footer.closing .link { display: inline-flex; align-items: center; min-height: 44px; }
.close-email a { display: inline-block; padding-block: 6px; }
@media (max-width: 639px) {
  footer.closing .close h2 { font-size: 34px; }
  .close-email { font-size: 30px; }
}

/* ---------- Draft markers and fallbacks ---------- */
.draft { display: inline-flex; border: 1px dashed currentColor; color: var(--muted); padding: 10px 14px; font-size: var(--t-label); }
.noscript { padding: 160px var(--gut); }
.noscript h1 { font-size: 56px; }

/* =====================================================================
   Metric icons: followers, views and likes draw themselves as their
   number appears, then do one small thing each (the plus pops, the eye
   blinks, the heart beats and two little hearts float off). Static and
   fully drawn without html.rv (reduced motion, screenshots).
   ===================================================================== */
.metric dd { display: flex; align-items: center; gap: 0.16em; }
.metric-icon { display: inline-flex; flex: none; width: 0.44em; height: 0.44em; color: var(--dark-ink); }
.mi { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; overflow: visible; }
.mi-float { display: none; }
.mi-heart, .mi-mark, .mi-arrow, .mi-play, .mi-lid, .mi-pupil, .mi-plus, .mi-float { transform-box: fill-box; transform-origin: 50% 50%; }
html.rv :is(.metric, .reel-item, .stat, .cover-strip) .mi :is(path, circle):not(.mi-float) { stroke-dasharray: 1; transition: stroke-dashoffset 1100ms var(--ease-reveal) calc(var(--rv-d, 0ms) + 200ms); }
html.rv :is(.metric, .reel-item, .stat, .cover-strip):not(.is-in) .mi :is(path, circle):not(.mi-float) { stroke-dashoffset: 1; }
html.rv :is(.metric, .reel-item, .stat, .cover-strip).is-in .mi-plus { animation: mi-pop 700ms var(--ease-reveal) 1300ms both; }
html.rv :is(.metric, .reel-item, .stat, .cover-strip).is-in .mi-lid { animation: mi-blink 380ms ease-in-out 1500ms both; }
html.rv :is(.metric, .reel-item, .stat, .cover-strip).is-in .mi-pupil { animation: mi-look 1400ms ease-in-out 1900ms both; }
html.rv :is(.metric, .reel-item, .stat, .cover-strip).is-in .mi-heart { animation: mi-beat 900ms ease-out 1300ms both; }
html.rv :is(.metric, .reel-item, .stat, .cover-strip).is-in .mi-float { display: block; fill: currentColor; stroke: none; opacity: 0; animation: mi-float 1500ms var(--ease-reveal) 1450ms both; }
html.rv :is(.metric, .reel-item, .stat, .cover-strip).is-in .mi-float--2 { animation-delay: 1650ms; --fx: 9px; }
html.rv .stat.is-in .mi-mark { animation: mi-save 900ms var(--ease-reveal) 1300ms both; }
html.rv .stat.is-in .mi-arrow { animation: mi-send 900ms var(--ease-reveal) 1300ms both; }
@keyframes mi-save { 0% { fill: transparent; transform: scaleY(1); } 35% { transform: scaleY(0.82); } 70% { transform: scaleY(1.08); fill: currentColor; } 100% { transform: scaleY(1); fill: currentColor; } }
@keyframes mi-send { 0% { transform: translate(0, 0) rotate(0); } 40% { transform: translate(4px, -3px) rotate(-8deg); } 100% { transform: translate(0, 0) rotate(0); } }
@keyframes mi-pop { 0% { transform: scale(1) rotate(0); } 45% { transform: scale(1.45) rotate(90deg); } 100% { transform: scale(1) rotate(180deg); } }
@keyframes mi-blink { 0%, 100% { transform: scaleY(1); } 50% { transform: scaleY(0.08); } }
@keyframes mi-look { 0%, 100% { transform: translateX(0); } 30% { transform: translateX(-1.6px); } 65% { transform: translateX(1.6px); } }
@keyframes mi-beat { 0%, 100% { transform: scale(1); fill: transparent; } 25% { transform: scale(1.22); fill: currentColor; } 45% { transform: scale(0.96); } 65% { transform: scale(1.1); } 99% { fill: currentColor; } }
@keyframes mi-float { 0% { opacity: 0; transform: translate(0, 0) scale(0.3); } 25% { opacity: 0.9; } 100% { opacity: 0; transform: translate(var(--fx, -8px), -26px) scale(0.42); } }

/* the carousel cards: views and likes, each with its icon, both counting up */
.reel-stats { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; }
.reel-stat { display: inline-flex; align-items: center; gap: 6px; font-family: var(--serif); font-weight: var(--display-weight); line-height: 1; letter-spacing: -0.02em; }
.reel-stat .mi { width: 0.78em; height: 0.78em; stroke-width: 2; }
.reel-stat--views { font-size: clamp(22px, 1.9vw, 28px); }
.reel-stat--likes { font-size: clamp(16px, 1.3vw, 19px); color: rgba(255, 255, 255, 0.92); }
@media (max-width: 639px) { .perf-stats { column-gap: 12px; } .stat:not(.stat--views) dd { font-size: 22px; } }

/* DND opener: the brand's logo with "Brand I worked with" */
.brand-tag { display: flex; align-items: center; gap: 16px; }
.brand-logo { width: 64px; height: 64px; border-radius: 50%; box-shadow: 0 0 0 1px var(--dark-line); }
.brand-tag > span > span { display: block; }
.brand-tag-label { font-size: var(--t-small); color: var(--dark-muted); }
.brand-tag-name { margin-top: 2px; font-family: var(--serif); font-weight: var(--display-weight); font-size: var(--t-h3); letter-spacing: -0.02em; }

/* the cover strip: two copies of the covers drift left for ever; hover or focus pauses it.
   Without motion it is a row you can scroll sideways. */
.cover-strip { margin-top: 72px; display: flex; overflow-x: auto; scrollbar-width: none; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.cover-strip::-webkit-scrollbar { display: none; }
.cover-track { display: flex; gap: 12px; padding-right: 12px; flex: none; }
.cover-track[aria-hidden] { display: none; }
.cover-track a { position: relative; display: block; width: clamp(110px, 10vw, 150px); aspect-ratio: 9 / 16; border-radius: 6px; overflow: hidden; background: var(--frame); }
.cover-track img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 320ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .cover-track a:hover img { transform: scale(1.05); } }
html.rv .cover-strip { overflow: hidden; }
html.rv .cover-track[aria-hidden] { display: flex; }
html.rv .cover-track { animation: cover-drift 70s linear infinite; }
html.rv .cover-strip:is(:hover, :focus-within) .cover-track { animation-play-state: paused; }
@keyframes cover-drift { to { transform: translateX(-100%); } }

/* featured videos: a silent 3 second loop over the cover until play is pressed */
.player-loop { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
@media (max-width: 639px) {
  .metrics--account { grid-template-columns: 1fr; }
  .metrics--video { grid-template-columns: 1fr; }
  .brand-logo { width: 52px; height: 52px; }
  .cover-strip { margin-top: 48px; }
}

/* the Instagram dot is filled; the play triangle fills and nudges once it has drawn */
.mi-dot { fill: currentColor; }
html.rv .metric.is-in .mi-play { animation: mi-playfill 900ms var(--ease-reveal) 1300ms both; }
@keyframes mi-playfill { 0% { fill: transparent; transform: translateX(0); } 40% { transform: translateX(1.5px) scale(1.15); } 100% { fill: currentColor; transform: translateX(0); } }

/* the cover strip: views and likes on each cover, counting up when the strip appears */
.cover-info { position: absolute; left: 0; right: 0; bottom: 0; display: flex; flex-direction: column; gap: 4px; padding: 36px 10px 10px; background: linear-gradient(180deg, rgba(12, 12, 11, 0) 0%, rgba(12, 12, 11, 0.88) 55%); color: #fff; }
.cover-stat { display: inline-flex; align-items: center; gap: 5px; font-family: var(--serif); font-weight: var(--display-weight); font-size: 13px; line-height: 1; color: rgba(255, 255, 255, 0.9); }
.cover-stat--views { font-size: 17px; color: #fff; }
.cover-stat .mi { width: 0.85em; height: 0.85em; stroke-width: 2; }

/* carousel buttons on the left and right of the row, centred on the cards; at either end the
   button that can't move fades away */
.carousel-stage { position: relative; margin-top: 40px; }
.carousel-stage .carousel-btn { position: absolute; z-index: 2; top: 50%; margin-top: -28px; width: 56px; height: 56px; background: rgba(18, 18, 17, 0.78); border-color: rgba(237, 234, 228, 0.35); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); box-shadow: 0 10px 30px -12px rgba(0, 0, 0, 0.7); transition: opacity 200ms var(--ease-out), background-color 180ms var(--ease-out), border-color 180ms var(--ease-out), transform 120ms var(--ease-out); }
.carousel-btn[hidden] { display: none; }
.carousel-btn--prev { left: -28px; }
.carousel-btn--next { right: -28px; }
.carousel-stage .carousel-btn:disabled { opacity: 0; pointer-events: none; }
@media (hover: hover) and (pointer: fine) { .carousel-stage .carousel-btn:hover:not(:disabled) { background: rgba(40, 39, 36, 0.92); border-color: rgba(237, 234, 228, 0.7); } }
@media (max-width: 1023px) { .carousel-btn--prev { left: -16px; } .carousel-btn--next { right: -16px; } }

/* Brands I co-founded: four columns of plain cards under a split heading */
.brands { padding-top: var(--chapter); }
.brand-list { margin-top: 56px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: var(--gutter); row-gap: 40px; }
.brand-card { display: flex; flex-direction: column; padding-top: 20px; border-top: 1px solid var(--line); }
.brand-name { font-family: var(--serif); font-weight: var(--display-weight); font-size: var(--t-h3); line-height: 1.15; letter-spacing: -0.02em; }
.brand-text { margin-top: 10px; color: var(--soft); }
.brand-best { margin-top: 20px; padding: 16px; border-radius: 6px; background: rgba(28, 27, 25, 0.05); }
.brand-product { font-size: var(--t-small); font-weight: 500; }
.brand-rating { margin-top: 8px; display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; }
.brand-rating .count { font-family: var(--serif); font-weight: var(--display-weight); font-size: 28px; line-height: 1; letter-spacing: -0.02em; }
.brand-rating > span:last-child { font-size: var(--t-small); color: var(--muted); }
.brand-star { width: 18px; height: 18px; align-self: center; fill: var(--ink); }
.brand-bought { margin-top: 6px; font-size: var(--t-small); color: var(--muted); }
.brand-link { margin-top: auto; padding-top: 20px; }
.brands-foot { margin-top: 48px; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; }
@media (max-width: 1379px) { .brand-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 639px) { .brand-list { grid-template-columns: 1fr; row-gap: 32px; } }

@media (max-width: 639px) { .facts { grid-template-columns: 1fr; row-gap: 20px; } }

/* brand cards: logo, then the top seller with its photo */
.brand-logo-box { height: 104px; display: flex; align-items: center; margin-bottom: 16px; }
.brand-mark { max-height: 104px; max-width: 70%; width: auto; height: auto; object-fit: contain; mix-blend-mode: multiply; }
.brand-wordmark { font-family: var(--serif); font-weight: 800; font-size: 30px; line-height: 0.95; letter-spacing: 0.04em; text-transform: uppercase; }
.brand-best-label { font-size: var(--t-label); color: var(--muted); }
.brand-photo { margin: 10px 0 12px; aspect-ratio: 1; border-radius: 4px; overflow: hidden; background: #fff; }
.brand-photo img { width: 100%; height: 100%; object-fit: contain; display: block; transition: transform 320ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .brand-card:hover .brand-photo img { transform: scale(1.04); } }

/* the skills heading runs on one line across the full width (Thomas, 2026-12-04) */
.dnd-beyond .split-head > :first-child { grid-column: 1 / -1; }
@media (min-width: 640px) { .dnd-beyond .h-section .mask-in { white-space: nowrap; } }

/* "Social Media Experience": the title of the whole DND part, above the logo */
.dnd-section-title { margin-bottom: 32px; padding-bottom: 16px; border-bottom: 1px solid var(--dark-line); font-family: var(--serif); font-weight: var(--display-weight); font-size: var(--t-h3); letter-spacing: -0.02em; color: var(--dark-ink); }

/* the DND headline: one sentence per line ("Built from zero." / "Viewed by millions.") */
.dnd .display { font-size: clamp(44px, 8.2vw, 124px); line-height: 0.98; }
.display-line { display: block; }

/* the opening headline: one phrase per line (\n in the config) */
.hero-line { display: block; }
.nobr { white-space: nowrap; }
@media (max-width: 639px) { .hero h1 { font-size: min(48px, 11.6vw); } }
@media (min-width: 640px) { .hero h1 { max-width: none; } .hero-line { white-space: nowrap; } }
/* the longest headline line fits its column: the size follows the column width (Thomas, 2026-12-04) */
@media (min-width: 640px) { .hero-text { container-type: inline-size; } .hero h1 { font-size: min(var(--t-hero), 8.6cqi); } }

/* tablets: with the big portrait gone the headline takes the full width (Dec 4 2026) */
@media (min-width: 640px) and (max-width: 1023px) { .hero h1 { font-size: min(84px, 8.6cqi); } }

/* =====================================================================
   The opening, redesigned (Thomas, December 4, 2026).
   Thomas stands in a clay arch, a doorway set on the floor of the first
   screen, and his head breaks out over its top. The headline speaks in
   two voices: "Creative by trade." light, "Business-minded by nature."
   solid. Clay is the one accent: the arch, the two full stops, the
   selection. On phones and tablets a small arch stands on a hairline
   beside the name; it is its own composition, not the desktop shrunk.
   ===================================================================== */
:root { --clay: #B4532F; --clay-deep: #93421F; }
::selection { background: var(--clay); color: #FFF8F2; }

.hero h1 { letter-spacing: -0.042em; }
.hero-line--1 { font-weight: 300; letter-spacing: -0.035em; }
.hero-line--2 { font-weight: 650; }
.hero-dot { color: var(--clay); }

/* the arch and the figure: one square stage; the figure is the cut-out photo, the arch sits behind
   it, and a mask keeps the shoulders inside the arch's sides while the head is free above it */
.hero-stage { position: relative; aspect-ratio: 1; }
.hero-arch { position: absolute; left: 50%; bottom: 0; width: 62%; height: 74%; translate: -50% 0; background: var(--clay); border-radius: 999px 999px 0 0; }
.hero-cut { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; object-position: 50% 100%;
  -webkit-mask: linear-gradient(#000 0 0) top / 100% 73% no-repeat, linear-gradient(#000 0 0) center / 62% 100% no-repeat;
          mask: linear-gradient(#000 0 0) top / 100% 73% no-repeat, linear-gradient(#000 0 0) center / 62% 100% no-repeat; }

.hero-byline { display: none; }
.hero .btn--primary:hover { background: var(--clay-deep); border-color: var(--clay-deep); }

/* desktop: text on the left, the arch standing on the floor of the first screen on the right */
@media (min-width: 1024px) {
  main > .hero { min-height: 0; justify-content: flex-end; padding: calc(var(--nav) + 24px) 0 0; }
  .hero-grid { align-items: end; }
  .hero-text { grid-column: 1 / span 7; align-self: center; padding-bottom: 56px; }
  .hero-stage--main { grid-column: 8 / -1; justify-self: end; width: min(46vw, 680px, calc(100svh - var(--nav) - 40px)); margin-right: max(-4vw, -56px); }
  .hero-meta { margin-top: 36px; display: flex; align-items: center; gap: 10px; }
  .hero-meta::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--clay); flex: none; }
}

/* phones and tablets: a small arch on a hairline, the name and place beside it, then the words */
@media (max-width: 1023px) {
  main > .hero { min-height: 0; justify-content: flex-start; padding-top: calc(var(--nav) + 40px); padding-bottom: 72px; }
  .hero-text { grid-column: 1 / -1; }
  .hero-stage--main { display: none; }
  .hero-byline { display: flex; align-items: flex-end; gap: 18px; margin-bottom: 40px; border-bottom: 1px solid var(--line); }
  .hero-stage--mini { flex: none; width: 132px; margin-left: -12px; margin-right: -8px; }
  .hero-id { display: flex; flex-direction: column; gap: 3px; padding-bottom: 18px; font-size: var(--t-small); line-height: 1.45; color: var(--muted); }
  .hero-name { font-family: var(--serif); font-size: 19px; font-weight: 600; letter-spacing: -0.015em; color: var(--ink); }
  .hero-meta { display: none; }
}
@media (max-width: 639px) {
  main > .hero { padding-top: calc(var(--nav) + 20px); padding-bottom: 56px; }
  .hero-byline { gap: 12px; margin-bottom: 28px; }
  .hero-stage--mini { width: 112px; }
  .hero-id { padding-bottom: 14px; }
  .hero-name { font-size: 17px; }
  .hero-lead { margin-top: 20px; }
  .hero .actions { margin-top: 24px; flex-wrap: nowrap; gap: 12px; }
  .hero .actions .btn { flex: 1 1 0; padding: 0 12px; }
}

/* the one authored moment: the arch rises out of the floor and Thomas rises into it, with the
   headline (motion.js). Once, on load; nothing moves after that, and under reduced motion
   everything simply stands. */
@media screen and (prefers-reduced-motion: no-preference) {
  .hero-arch { animation: hero-arch-in 900ms cubic-bezier(.16, 1, .3, 1) 80ms both; }
  .hero-cut { animation: hero-cut-in 1000ms cubic-bezier(.16, 1, .3, 1) 220ms both; }
}
@keyframes hero-arch-in { from { clip-path: inset(100% 0 0 0 round 999px 999px 0 0); } to { clip-path: inset(0 0 0 0 round 999px 999px 0 0); } }
@keyframes hero-cut-in { from { opacity: 0; transform: translateY(7%); } to { opacity: 1; transform: none; } }
/* "Three Approaches to Content" introduces the three videos, so it stays a step above their titles */
.dnd-work > .split-head .h-section { font-size: clamp(36px, 4.4vw, 64px); }
/* "The Objective:" sits on its own line as a small heading, the objective under it (Dec 4 2026) */
.brief { row-gap: 6px; }
.brief-label { font-family: var(--serif); font-weight: var(--display-weight); font-size: 18px; line-height: 1.3; letter-spacing: -0.01em; color: var(--dark-ink); }
.brief-text { font-size: var(--t-lead); line-height: 1.5; }
.dnd-work > .split-head > :first-child { grid-column: 1 / -1; }
@media (min-width: 640px) { .dnd-work > .split-head .h-section .mask-in { white-space: nowrap; } }
/* phones: "Three Approaches to Content" stays on one line (Thomas asked), sized to the screen; the
   video titles under it step down so the heading still leads */
@media (max-width: 639px) {
  .dnd-work > .split-head .h-section { font-size: calc((100vw - 2 * var(--gut)) / 17); }
  .dnd-work > .split-head .h-section .mask-in { white-space: nowrap; }
  .work-title { font-size: 18px; }
}

/* "Across 234 Videos" closes the four numbers, centred under them (Dec 4 2026) */
.metrics-outro { margin-top: 56px; text-align: center; font-size: var(--t-lead); line-height: 1.5; color: var(--dark-muted); }
@media (max-width: 639px) { .metrics-outro { margin-top: 40px; } }

/* an odd last number (234 total videos) takes the full row, centred under the others */
.metrics--account .metric:last-child:nth-child(odd) { grid-column: 1 / -1; }

/* a very wide logo made for a dark label (Project Mono) sits on its own black strip, like a piece of the label */
.brand-mark--strip { max-width: 100%; width: 100%; max-height: none; mix-blend-mode: normal; background: #000; border-radius: 4px; }

/* brand logos: equal visual weight, left edges and bottoms lined up on one row */
.brand-logo-box { height: 92px; align-items: flex-end; }
.brand-mark { max-height: none; max-width: 100%; height: auto; }
.brand-mark--strip { box-sizing: content-box; max-width: calc(100% - 20px); padding: 7px 10px; }
/* every brand description takes exactly two lines, so the cards below line up */
.brand-text { font-size: 15px; max-width: 20em; min-height: calc(2 * 1lh); text-wrap: balance; }
/* the logo already says the brand's name, so the written name is kept only for screen readers */
.brand-name { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.brand-logo-box + .brand-name + .brand-text { margin-top: 0; }
/* logos sit centred in their column, bottoms still on one line */
.brand-logo-box { justify-content: center; }
/* product photos lose their white backdrop: white blends into the card's own colour */
.brand-photo { background: transparent; }
.brand-photo img { mix-blend-mode: multiply; }
/* product names always take two lines of space, so ratings and sales line up across the cards */
.brand-product { min-height: calc(2 * 1lh); }
/* the brand description now sits under the product box, above the Amazon link */
.brand-best + .brand-text { margin-top: 16px; }
.brand-text + .brand-link { padding-top: 12px; }

/* the video's length sits right after "Watch on TikTok" */
.link-runtime { margin-left: 10px; color: var(--dark-muted); font-size: var(--t-small); font-variant-numeric: tabular-nums; }

/* ------------------------------------------------------------------
   The strategy loop (js/strategy-loop.js): pictograms next to
   "The Strategy Behind the Results". Off-white line drawings on the
   dark section, one warm clay accent, eight scenes that loop.
   ------------------------------------------------------------------ */
.pg { --pg-accent: #D9784E; --pg-bg: #121211; margin: 0; }
.pg-stage { position: relative; aspect-ratio: 1; border-radius: 50%; background: rgba(237, 234, 228, 0.035); border: 1px solid var(--dark-line); display: grid; place-items: center; }
.pg-svg { width: 76%; height: auto; color: var(--dark-ink); overflow: visible; }
.pg-cap { display: flex; align-items: center; gap: 12px; margin-top: 20px; font-size: var(--t-small); color: var(--dark-muted); }
.pg-num { font-variant-numeric: tabular-nums; font-weight: 600; color: var(--pg-accent); }
.pg-label { flex: 1; color: var(--dark-ink); }
.pg-toggle { position: relative; width: 34px; height: 34px; flex: none; border-radius: 50%; border: 1px solid var(--dark-line); background: none; color: var(--dark-muted); display: grid; place-items: center; cursor: pointer; transition: color 160ms var(--ease-out), border-color 160ms var(--ease-out); }
.pg-toggle::after { content: ""; position: absolute; inset: -6px; }
.pg-toggle svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.pg-toggle .pg-i-play { display: none; fill: currentColor; }
.pg.is-paused .pg-i-pause { display: none; }
.pg.is-paused .pg-i-play { display: inline; }
@media (hover: hover) and (pointer: fine) { .pg-toggle:hover { color: var(--dark-ink); border-color: var(--dark-muted); } }
.pg-toggle:focus-visible { outline: 2px solid var(--dark-ink); outline-offset: 3px; }
.pg-ticks { display: flex; gap: 6px; margin: 14px 0 0; padding: 0; list-style: none; }
.pg-ticks li { flex: 1; height: 2px; border-radius: 1px; background: var(--dark-line); transition: background-color 300ms var(--ease-out); }
.pg-ticks li.is-on { background: var(--pg-accent); }

/* layout: its own column beside the heading and list on desktop, between them on smaller screens */
.dnd-beyond.has-pg .pg { width: min(100%, 320px); margin: 40px auto 0; }
@media (min-width: 1024px) {
  .dnd-beyond.has-pg { display: grid; grid-template-columns: minmax(0, 1fr) clamp(250px, 25vw, 360px); column-gap: clamp(40px, 5vw, 96px); align-items: center; }
  .dnd-beyond.has-pg > .split-head { grid-column: 1; grid-row: 1; }
  .dnd-beyond.has-pg > .beyond { grid-column: 1; grid-row: 2; }
  .dnd-beyond.has-pg > .pg { grid-column: 2; grid-row: 1 / span 2; width: 100%; margin: 0; }
  .dnd-beyond.has-pg > :not(.split-head):not(.beyond):not(.pg) { grid-column: 1 / -1; }
}

/* drawing basics */
.pg-scene { opacity: 0; }
.pg-scene.is-on { opacity: 1; transition: opacity 350ms var(--ease-out); }
.pg-solid { fill: var(--pg-bg); }
.pg-fillink { fill: currentColor; stroke: none; }
.pg-fillaccent { fill: var(--pg-accent); stroke: none; }
.pg-thick { stroke-width: 9; }
.pg-thin { stroke-width: 3; opacity: 0.5; }
.pg-svg :is(.pg-bubble, .pg-bar, .pg-okring, .pg-likeicon, .pg-col, .pg-t1, .pg-t2, .pg-t3, .pg-bulb, .pg-rays, .pg-clip) { transform-box: fill-box; }
.pg:not(.is-play) .pg-scene * { animation-play-state: paused !important; }

/* 1. writing notes */
.pg-ink { stroke-dasharray: 1; stroke-dashoffset: 1; }
.pg-pen { transform: translate(74px, 80px); }
.pg-scene.is-on .pg-l1 { animation: pg-draw 0.44s linear 0s both; }
.pg-scene.is-on .pg-l2 { animation: pg-draw 0.39s linear 0.49s both; }
.pg-scene.is-on .pg-l3 { animation: pg-draw 0.39s linear 0.94s both; }
.pg-scene.is-on .pg-l4 { animation: pg-draw 0.34s linear 1.38s both; }
.pg-scene.is-on .pg-pen { animation: pg-pen 2.6s linear both; }
@keyframes pg-draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes pg-pen {
  0% { transform: translate(74px, 80px); } 17% { transform: translate(152px, 80px); }
  19% { transform: translate(74px, 106px); } 34% { transform: translate(140px, 106px); }
  36% { transform: translate(74px, 132px); } 51% { transform: translate(150px, 132px); }
  53% { transform: translate(74px, 158px); } 66% { transform: translate(118px, 158px); }
  80%, 100% { transform: translate(134px, 148px); }
}

/* 2. pressing record */
.pg-finger { transform: translateY(-70px); }
.pg-dot { fill: var(--pg-accent); stroke: none; }
.pg-rectext { fill: var(--pg-accent); stroke: none; font: 700 15px var(--sans); letter-spacing: 0.08em; }
.pg-scene.is-on .pg-finger { animation: pg-press 2.6s var(--ease-out) both; }
.pg-scene.is-on .pg-btn { animation: pg-btn 2.6s var(--ease-out) both; }
.pg-scene.is-on :is(.pg-dot, .pg-rectext) { animation: pg-blink 2.6s linear both; }
@keyframes pg-press { 0% { transform: translateY(-70px); } 30% { transform: translateY(0); } 38%, 52% { transform: translateY(4px); } 76%, 100% { transform: translateY(-70px); } }
@keyframes pg-btn { 0%, 30% { transform: translateY(0); } 38%, 52% { transform: translateY(4px); } 60%, 100% { transform: translateY(0); } }
@keyframes pg-blink { 0%, 37% { opacity: 0; } 39%, 62% { opacity: 1; } 70% { opacity: 0.15; } 78%, 100% { opacity: 1; } }

/* 3. talking */
.pg-bubble { transform-origin: 0% 100%; }
.pg-scene.is-on .pg-bubble { animation: pg-pop 0.5s var(--ease-out) 0.15s both; }
.pg-scene.is-on .pg-b1 { animation: pg-bob 0.9s ease-in-out 0.6s infinite; }
.pg-scene.is-on .pg-b2 { animation: pg-bob 0.9s ease-in-out 0.75s infinite; }
.pg-scene.is-on .pg-b3 { animation: pg-bob 0.9s ease-in-out 0.9s infinite; }
@keyframes pg-pop { from { opacity: 0; transform: scale(0.6); } to { opacity: 1; transform: scale(1); } }
@keyframes pg-bob { 0%, 60%, 100% { transform: translateY(0); } 30% { transform: translateY(-7px); } }

/* 4. editing */
.pg-clip { stroke-width: 3; }
.pg-head { stroke: var(--pg-accent); stroke-width: 3; }
.pg-cursor { stroke-width: 3; transform: translate(214px, 204px); }
.pg-scene.is-on .pg-head { animation: pg-scrub 2.4s linear both; }
.pg-scene.is-on .pg-cursor { animation: pg-cursor 2.6s var(--ease-out) both; }
.pg-scene.is-on .pg-clip2 { animation: pg-pick 2.6s linear both; }
@keyframes pg-scrub { from { transform: translateX(0); } to { transform: translateX(152px); } }
@keyframes pg-cursor {
  0% { transform: translate(214px, 204px); opacity: 0; }
  25% { transform: translate(112px, 121px); opacity: 1; }
  35% { transform: translate(112px, 121px) scale(0.82); }
  42%, 100% { transform: translate(112px, 121px) scale(1); opacity: 1; }
}
@keyframes pg-pick { 0%, 36% { stroke: currentColor; fill: transparent; } 40%, 100% { stroke: var(--pg-accent); fill: rgba(217, 120, 78, 0.28); } }

/* 5. posting */
.pg-bar { transform-origin: 0 50%; transform: scaleX(0); }
.pg-okring { stroke: var(--pg-accent); transform-origin: 50% 50%; opacity: 0; }
.pg-ok { stroke: var(--pg-accent); stroke-dasharray: 1; stroke-dashoffset: 1; }
.pg-scene.is-on .pg-up { animation: pg-rise 2.6s var(--ease-out) both; }
.pg-scene.is-on .pg-bar { animation: pg-fill 2.6s ease-in-out both; }
.pg-scene.is-on .pg-okring { animation: pg-pop 0.35s var(--ease-out) 1.65s both; }
.pg-scene.is-on .pg-ok { animation: pg-draw 0.35s ease-out 1.85s both; }
@keyframes pg-rise { 0% { transform: translateY(10px); opacity: 0; } 15%, 55% { transform: translateY(0); opacity: 1; } 70%, 100% { transform: translateY(-16px); opacity: 0; } }
@keyframes pg-fill { 0%, 15% { transform: scaleX(0); } 60%, 100% { transform: scaleX(1); } }

/* 6. likes pour in */
.pg-likeicon { transform-origin: 50% 50%; }
.pg-heart { fill: var(--pg-accent); stroke: none; opacity: 0; }
.pg-scene.is-on .pg-likeicon { animation: pg-like 2.6s var(--ease-out) both; }
.pg-scene.is-on .pg-heart { animation: pg-float 1.3s cubic-bezier(0.2, 0.7, 0.3, 1) var(--d) infinite; }
@keyframes pg-like { 0%, 8% { fill: transparent; transform: scale(1); } 16% { fill: var(--pg-accent); stroke: var(--pg-accent); transform: scale(1.4); } 26%, 100% { fill: var(--pg-accent); stroke: var(--pg-accent); transform: scale(1); } }
@keyframes pg-float {
  0% { opacity: 0; transform: translate(0, 0) scale(0.5); }
  15% { opacity: 1; transform: translate(calc(var(--x) * 0.3), -18px) scale(1); }
  100% { opacity: 0; transform: translate(var(--x), -120px) scale(0.8); }
}

/* 7. reviewing analytics */
.pg-col { transform-origin: 50% 100%; transform: scaleY(0); stroke-width: 4; }
.pg-trend { stroke: var(--pg-accent); stroke-dasharray: 1; stroke-dashoffset: 1; }
.pg-lens { transform: translate(40px, 60px); opacity: 0; }
.pg-scene.is-on .pg-c1 { animation: pg-grow 0.5s var(--ease-out) 0.1s both; }
.pg-scene.is-on .pg-c2 { animation: pg-grow 0.5s var(--ease-out) 0.22s both; }
.pg-scene.is-on .pg-c3 { animation: pg-grow 0.5s var(--ease-out) 0.34s both; }
.pg-scene.is-on .pg-c4 { animation: pg-grow 0.5s var(--ease-out) 0.46s both; }
.pg-scene.is-on .pg-trend { animation: pg-draw 0.7s ease-out 1s both; }
.pg-scene.is-on .pg-lens { animation: pg-scan 2.6s ease-in-out both; }
@keyframes pg-grow { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@keyframes pg-scan {
  0% { transform: translate(40px, 60px); opacity: 0; }
  20% { transform: translate(66px, 128px); opacity: 1; }
  45% { transform: translate(102px, 98px); opacity: 1; }
  72%, 100% { transform: translate(174px, 58px); opacity: 1; }
}

/* 8. thinking, then the idea */
.pg-t1, .pg-t2, .pg-t3, .pg-rays { transform-origin: 50% 50%; opacity: 0; }
.pg-bulb { transform-origin: 50% 100%; }
.pg-rays { stroke: var(--pg-accent); }
.pg-scene.is-on .pg-t1 { animation: pg-pop 0.3s var(--ease-out) 0.3s both; }
.pg-scene.is-on .pg-t2 { animation: pg-pop 0.3s var(--ease-out) 0.6s both; }
.pg-scene.is-on .pg-t3 { animation: pg-pop 0.3s var(--ease-out) 0.9s both; }
.pg-scene.is-on .pg-bulb { animation: pg-pop 0.45s var(--ease-out) 1.25s both; }
.pg-scene.is-on .pg-glass { animation: pg-light 0.3s ease-out 1.6s both; }
.pg-scene.is-on .pg-rays { animation: pg-pop 0.4s var(--ease-out) 1.7s both; }
@keyframes pg-light { from { fill: transparent; } to { fill: var(--pg-accent); stroke: var(--pg-accent); } }

/* reduced motion: no movement, each scene appears finished and the loop steps more slowly */
@media (prefers-reduced-motion: reduce) {
  .pg-scene.is-on { transition: none; }
  .pg .pg-scene.is-on * { animation-duration: 1ms !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; }
  .pg .pg-scene.is-on .pg-heart { animation: none !important; opacity: 1; transform: translate(var(--x), var(--ry)); }
  .pg-ticks li { transition: none; }
}

/* the finger now has a hand behind it; the posted video shows its play mark once uploaded */
.pg-finger { transform: translateY(-90px); }
@keyframes pg-press { 0% { transform: translateY(-90px); } 30% { transform: translateY(0); } 38%, 52% { transform: translateY(4px); } 76%, 100% { transform: translateY(-90px); } }
.pg-live { opacity: 0; transform-box: fill-box; transform-origin: 50% 50%; }
.pg-scene.is-on .pg-live { animation: pg-pop 0.35s var(--ease-out) 1.9s both; }
/* keep every drawing inside the circle, so the pressing hand slides in from its edge */
.pg-stage { overflow: hidden; }
/* small laptops: the heading keeps its full width and the loop sits beside the list */
@media (min-width: 1024px) and (max-width: 1279px) {
  .dnd-beyond.has-pg > .split-head { grid-column: 1 / -1; }
  .dnd-beyond.has-pg > .pg { grid-row: 2; align-self: center; margin-top: 56px; }
}

/* =====================================================================
   HiPerion Inc.: Brands I Co-Founded (Thomas, 2026-12-04)
   An editorial chapter, not a storefront: headline and what I did, the
   combined totals set large, the four brands as open columns (each with a
   thin rule and a photo tint in its own color), then My Contributions.
   ===================================================================== */
.vh { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* the opening */
.hp-head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); row-gap: 28px; align-items: end; }
.hp-label { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: var(--t-label); letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.hp-label span:first-child { color: var(--ink); font-weight: 600; }
.hp-label span + span { position: relative; padding-left: 18px; }
.hp-label span + span::before { content: ""; position: absolute; left: 0; top: 50%; width: 8px; height: 1px; background: currentColor; }
.nw { white-space: nowrap; }
.hp-title { grid-column: 1 / span 6; font-family: var(--serif); font-weight: var(--display-weight); font-size: clamp(40px, 5.8vw, 88px); line-height: 0.96; letter-spacing: -0.045em; text-wrap: balance; max-width: none; }
.hp-intro { grid-column: 7 / -1; max-width: 34em; font-size: var(--t-lead); line-height: 1.55; color: var(--soft); text-wrap: pretty; padding-bottom: 0.4em; }

/* the combined totals */
.hp-totals { margin-top: clamp(48px, 5vw, 80px); }
.hp-stats { display: grid; grid-template-columns: minmax(0, 1fr); }
.hp-stat { display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: 16px; padding-top: 22px; border-top: 1px solid var(--ink); }
.hp-stat dd { display: flex; align-items: center; flex-wrap: wrap; column-gap: 0.24em; font-family: var(--serif); font-weight: var(--display-weight); font-size: clamp(52px, 6vw, 96px); line-height: 0.88; letter-spacing: -0.055em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.hp-stat dt { font-size: var(--t-small); line-height: 1.4; color: var(--soft); }
.hp-totals-note { margin-top: 20px; max-width: 46em; }

/* the brands: open columns, no boxes */
.hb-list { margin-top: clamp(64px, 7vw, 104px); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: clamp(24px, 2.6vw, 44px); row-gap: 0; }   /* no row gap: the columns share rows (subgrid), a gap would open between every line */
.hb { --brand: var(--ink); --tint: color-mix(in srgb, var(--brand) 10%, var(--bg)); position: relative; display: grid; grid-template-rows: subgrid; grid-row: span 7; row-gap: 0; align-content: start; min-width: 0; padding-top: 28px; }
.hb > * { align-self: start; }
.hb::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--brand); transform-origin: left; }
html.rv .hb::before { transition: transform 1000ms var(--ease-reveal) calc(var(--rv-d, 0ms) + 160ms); }
html.rv .hb:not(.is-in)::before { transform: scaleX(0); }
.hb-logo { height: 84px; display: flex; align-items: center; justify-content: center; }
.hb-mark { display: block; height: auto; max-width: 100%; mix-blend-mode: multiply; }
.hb-mark--invert { filter: invert(1) hue-rotate(180deg) saturate(1.4); }
.hb-photo { margin-top: 24px; aspect-ratio: 1; display: grid; place-items: center; overflow: hidden; background: var(--tint); transition: background-color 400ms var(--ease-out); }
.hb-photo img { width: 86%; height: 86%; object-fit: contain; transition: transform 600ms var(--ease-out); }
.hb-photo--fill img { width: 100%; height: 100%; }
.hb-kicker { margin-top: 22px; font-size: var(--t-label); letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.hb-kicker + .hb-product { margin-top: 6px; }
.hb-product { margin-top: 22px; font-family: var(--serif); font-weight: var(--display-weight); font-size: 21px; line-height: 1.2; letter-spacing: -0.02em; text-wrap: balance; }
.hb-text { margin-top: 10px; margin-bottom: 28px; font-size: 15px; line-height: 1.5; color: var(--soft); text-wrap: pretty; }
.hb-figs { padding-top: 20px; border-top: 1px solid var(--line); }
.hb-fig dd { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.hb-fig .hb-unit { flex-basis: 100%; }
.hb-num { display: inline-flex; align-items: center; }
.hb-num { font-family: var(--serif); font-weight: var(--display-weight); font-size: clamp(28px, 3vw, 48px); line-height: 0.95; letter-spacing: -0.045em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.hb-unit { font-size: var(--t-label); line-height: 1.4; color: var(--muted); }
.hb-link { margin-top: 20px; font-size: var(--t-small); font-weight: 500; }
.hb-link a { display: inline-block; padding-block: 12px; margin-block: -12px; }
@media (hover: hover) {
  .hb:hover .hb-photo { background: color-mix(in srgb, var(--brand) 16%, var(--bg)); }
  .hb:hover .hb-photo img { transform: scale(1.03); }
}
@media (prefers-reduced-motion: reduce) { .hb-photo, .hb-photo img { transition: none; } }

/* My Contributions */
.hp-life { margin-top: clamp(104px, 11vw, 168px); }
.hp-life-head { max-width: 40em; }
.hp-sub { font-family: var(--serif); font-weight: var(--display-weight); font-size: var(--t-h2); line-height: 1.06; letter-spacing: var(--display-track); }
.hp-sub-intro { margin-top: 16px; font-size: var(--t-lead); line-height: 1.5; color: var(--soft); max-width: 32em; text-wrap: pretty; }

.hp-stages { margin-top: 48px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: var(--gutter); }
.hp-stage { position: relative; padding-top: 28px; }
.hp-stage::before { content: ""; position: absolute; left: 0; right: calc(-1 * var(--gutter)); top: 0; height: 1px; background: var(--ink); transform-origin: left; }
.hp-stage:last-child::before { right: 0; }
.hp-stage::after { content: ""; position: absolute; left: 0; top: -4px; width: 9px; height: 9px; border-radius: 50%; background: var(--bg); box-shadow: inset 0 0 0 1.5px var(--ink); }
html.rv .hp-stage::before { transition: transform 1100ms var(--ease-reveal) calc(var(--rv-d, 0ms) + 120ms); }
html.rv .hp-stage:not(.is-in)::before { transform: scaleX(0); }
/* an arrowhead at the end of each stretch of the line, pointing to the next stage */
.hp-arrow { position: absolute; top: -4px; right: calc(-1 * var(--gutter) + 14px); width: 9px; height: 9px; border-top: 1.5px solid var(--ink); border-right: 1.5px solid var(--ink); transform: rotate(45deg); transform-origin: center; }
.hp-stage:last-child .hp-arrow { right: 1px; }
html.rv .hp-arrow { transition: opacity 300ms ease calc(var(--rv-d, 0ms) + 900ms); }
html.rv .hp-stage:not(.is-in) .hp-arrow { opacity: 0; }
.hp-stage-num { font-family: var(--serif); font-weight: var(--display-weight); font-size: clamp(40px, 4.4vw, 64px); line-height: 1; letter-spacing: -0.04em; color: var(--ink); font-variant-numeric: tabular-nums; }
.hp-stage-title { margin-top: 20px; font-family: var(--serif); font-weight: var(--display-weight); font-size: 19px; line-height: 1.25; letter-spacing: -0.01em; min-height: calc(2 * 1lh); text-wrap: balance; max-width: 11em; }
.hp-tasks { margin-top: 18px; display: grid; gap: 12px; }
/* one quiet bullet for every task: a short rule in the muted tone */
.hp-task { position: relative; padding-left: 20px; font-size: 15px; line-height: 1.45; color: var(--soft); }
.hp-task::before { content: ""; position: absolute; left: 0; top: 0.72em; width: 8px; height: 1px; background: var(--muted); }

/* five stars filled to the rating; the filled layer is clipped to the exact value and sweeps in */
.hb-stars { position: relative; display: block; width: 104px; height: 21px; }
.hb-stars > span { position: absolute; inset: 0; }
.hb-stars svg { display: block; width: 100%; height: 100%; }
.hb-stars-base svg { fill: rgba(28, 27, 25, 0.16); }
.hb-stars-fill svg { fill: var(--ink); }
.hb-stars-fill { clip-path: inset(0 var(--cut, 0%) 0 0); }
html.rv .hb-stars-fill { transition: clip-path 1200ms var(--ease-reveal) calc(var(--rv-d, 0ms) + 450ms); }
html.rv :is(.hb, .hp-stat):not(.is-in) .hb-stars-fill { clip-path: inset(0 100% 0 0); }
.hp-stat .hb-stars { width: 1.9em; height: 0.39em; margin: 0; }

/* tablets: two brands a row once four would be cramped */
@media (max-width: 999px) {
  .hb-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hb:nth-child(n+3) { margin-top: 72px; }
}
/* tablet */
@media (max-width: 1023px) {
  .nw { white-space: nowrap; }
.hp-title { grid-column: 1 / -1; }
  .hp-intro { grid-column: 1 / span 10; }
  .hp-stages { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 56px; }
  .hp-stage:nth-child(2n)::before { right: 0; }
  .hp-stage:nth-child(2n) .hp-arrow { right: 1px; }
}
/* phone */
@media (max-width: 639px) {
  .hp-intro { grid-column: 1 / -1; }
  .hp-label { flex-direction: column; }
  .hp-label span + span { padding-left: 0; }
  .hp-label span + span::before { display: none; }

  .hp-stats { grid-template-columns: minmax(0, 1fr); }
  .hp-stat { flex-direction: row-reverse; justify-content: space-between; align-items: baseline; gap: 16px; padding: 16px 0 18px; border-top-color: var(--line); }
  .hp-stat:first-child { border-top-color: var(--ink); }
  .hp-stat dd { font-size: 44px; }
  .hp-stat dt { text-align: right; max-width: 11em; }

  /* each brand: logo, then the photo beside its name and line, then the figures */
  .hp-totals { margin-top: 40px; }
  .hb-list { grid-template-columns: minmax(0, 1fr); row-gap: 48px; margin-top: 48px; }
  .hb:nth-child(n+3) { margin-top: 0; }
  .hb { display: grid; grid-row: auto; grid-template-columns: 46% minmax(0, 1fr); grid-template-rows: auto auto auto 1fr auto auto; column-gap: 16px; align-items: start; padding-top: 22px; }
  .hb > * { grid-column: 1 / -1; }
  .hb-logo { height: 80px; }
  .hb-photo { grid-column: 1; grid-row: 2 / span 3; margin-top: 20px; }
  .hb-photo:not(.hb-photo--fill) img { width: 92%; height: 92%; }
  .hb-kicker { grid-column: 2; grid-row: 2; margin-top: 20px; }
  .hb-product { grid-column: 2; grid-row: 3; }
  .hb-text { grid-column: 2; grid-row: 4; }
  .hb-figs { grid-row: 5; }
  .hb-link { grid-row: 6; }
  .hb-product { margin-top: 20px; font-size: 18px; }
  .hb-text { margin-bottom: 0; font-size: 14px; }
  .hb-figs { margin-top: 20px; }
  .hb-num { font-size: 36px; }

  .hp-life { margin-top: 88px; }
  .hp-stages { grid-template-columns: minmax(0, 1fr); row-gap: 0; margin-top: 32px; }
  .hp-stage { padding: 0 0 36px 32px; }
  .hp-stage::before { left: 4px; right: auto; top: 6px; bottom: 0; width: 1px; height: auto; transform-origin: top; }
  .hp-stage:last-child::before { display: none; }
  .hp-arrow { top: auto; right: auto; left: 0; bottom: 2px; transform: rotate(135deg); }
  .hp-stage:last-child .hp-arrow { display: none; }
  html.rv .hp-stage:not(.is-in)::before { transform: scaleY(0); }
  .hp-stage::after { top: 2px; }
  .hp-stage-num { font-size: 15px; letter-spacing: 0; color: var(--muted); }
  .hp-stage-title { margin-top: 6px; min-height: 0; max-width: none; }
  .hp-tasks { margin-top: 14px; }
}
/* Branding & Creative Direction: captions, play buttons, packaging label */
.nl-cap { margin-top: 10px; color: var(--muted); font-size: 13px; line-height: 1.4; }
.nl-asset--feature { display: flex; flex-direction: column; }
.nl-asset--feature .nl-pic { flex: 1 1 auto; min-height: 0; }
.nl-g-feature img { scale: 1.22; }
.nl-tag--next { left: clamp(16px, 1.6vw, 24px); top: clamp(16px, 1.6vw, 24px); padding: 0; border-radius: 0; background: none; font-size: 11px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; line-height: 1.3; }
.nl-tag-note { display: block; margin-top: 4px; color: var(--muted); font-weight: 500; letter-spacing: 0.08em; }
.nl-play { position: absolute; left: 50%; top: 50%; width: 52px; height: 52px; margin: -26px 0 0 -26px; display: grid; place-items: center; border: 0; border-radius: 50%; background: rgba(255, 255, 255, 0.86); color: var(--ink); cursor: pointer; transition: opacity 200ms ease, transform 160ms var(--ease-out), background-color 160ms ease; }
.nl-play svg { width: 22px; height: 22px; fill: currentColor; }
.nl-play .nl-pause-i { display: none; }
.nl-vid.is-playing .nl-play { opacity: 0; }
.nl-vid.is-playing .nl-play .nl-play-i { display: none; }
.nl-vid.is-playing .nl-play .nl-pause-i { display: inline; }
.nl-vid.is-playing .nl-play:focus-visible { opacity: 1; }
.nl-play:active { transform: scale(0.94); }
.nl-play:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
@media (hover: hover) and (pointer: fine) {
  .nl-play:hover { background: #fff; }
  .nl-vid.is-playing:hover .nl-play { opacity: 1; }
}
@media (max-width: 639px) {
  .nl-play { width: 44px; height: 44px; margin: -22px 0 0 -22px; }
  .nl-play svg { width: 20px; height: 20px; }
  .nl-cap { margin-top: 8px; font-size: 12px; }
}

/* =====================================================================
   The close, rebuilt (Thomas, 2026-12-04): "What I bring" removed.
   Education & Experience is one full-width list, newest first; then
   "Let's work together." with three contact links and a one-line footer.
   ===================================================================== */
.path { padding-bottom: var(--block); }
.path .roles { margin-top: clamp(32px, 3.6vw, 52px); }
.path .role { grid-template-columns: repeat(12, minmax(0, 1fr)); padding: 26px 0 28px; align-items: baseline; }
.path .role-dates { grid-column: 1 / span 2; padding-top: 0; }
.path .role-head { grid-column: 3 / span 4; }
.path .role-body { grid-column: 7 / -1; }
.path .role-summary { margin-top: 0; max-width: 36em; }
.path .role-link { margin-top: 8px; }
footer.closing { min-height: 0; padding-top: 0; padding-bottom: 0; }
footer.closing .close h2 { max-width: none; }
.contact-links { margin-top: clamp(36px, 4vw, 56px); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: var(--gutter); }
.contact-links li { border-top: 1px solid var(--line); padding-top: 18px; min-width: 0; }
.cl-label { color: var(--muted); font-size: var(--t-label); text-transform: uppercase; letter-spacing: 0.08em; }
.cl-value { margin-top: 8px; font-family: var(--serif); font-weight: var(--display-weight); font-size: var(--t-h3); line-height: 1.2; letter-spacing: -0.02em; overflow-wrap: anywhere; }
.cl-value a { display: inline-block; padding-block: 4px; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.18em; text-decoration-color: var(--line); transition: text-decoration-color 200ms; }
.cl-value a:hover { text-decoration-color: currentColor; }
footer.closing .footer-row { margin-top: var(--block); padding: 20px 0 28px; border-top: 1px solid var(--line); align-items: center; }
.footer-credit { flex: 1 1 24em; }
@media (max-width: 1023px) {
  .path .role-dates { grid-column: 1 / span 3; }
  .path .role-head { grid-column: 4 / -1; }
  .path .role-body { grid-column: 4 / -1; margin-top: 10px; }
}
@media (max-width: 639px) {
  .path .role { grid-template-columns: 1fr; row-gap: 6px; }
  .path .role-dates, .path .role-head, .path .role-body { grid-column: 1 / -1; }
  .path .role-body { margin-top: 6px; }
  .contact-links { grid-template-columns: 1fr; row-gap: 24px; }
}
/* the inquiry email is long: stack the contact links below desktop so nothing breaks mid-word */
@media (max-width: 1023px) { .contact-links { grid-template-columns: 1fr; row-gap: 24px; } }
/* stacked featured videos (tablet and phone): the video first, then "1. Installation Tutorial" and its text (Thomas, 2026-12-04) */
@media (max-width: 1023px) {
  .work-media, .work-item--flip .work-media { grid-row: 1; margin-top: 0; }
  .work-text, .work-item--flip .work-text { grid-row: 2; margin-top: 32px; }
}
/* text for screen readers only (used by the counting numbers) */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* Video showcase cards (Thomas, 2026-12-05): a soft black wash over the whole cover so the
   results lead; views and likes sit in the centre, the title stays at the bottom. */
.reel-info { inset: 0; justify-content: center; align-items: center; text-align: center; gap: 0; padding: 16px; background: rgba(10, 10, 9, 0.5); transition: background-color 240ms var(--ease-out); }
.reel-stats { flex-direction: column; justify-content: center; gap: 10px; }
.reel-stat--views { font-size: clamp(28px, 2.6vw, 38px); }
.reel-stat--likes { font-size: clamp(17px, 1.4vw, 21px); }
.reel-stat, .reel-title { text-shadow: 0 1px 12px rgba(0, 0, 0, 0.35); }
.reel-title { position: absolute; left: 16px; right: 16px; bottom: 16px; }
.reel-time { z-index: 1; }
@media (hover: hover) and (pointer: fine) { .reel-card:hover .reel-info { background-color: rgba(10, 10, 9, 0.38); } }
.reel-info { background-color: rgba(10, 10, 9, 0.58); background-image: radial-gradient(ellipse 75% 32% at 50% 50%, rgba(10, 10, 9, 0.45), rgba(10, 10, 9, 0)); }
@media (hover: hover) and (pointer: fine) { .reel-card:hover .reel-info { background-color: rgba(10, 10, 9, 0.46); } }

/* ------------------------------------------------------------------
   Strategy loop, six steps (Thomas, 2026-12-05). Scenes 1 and 6 play in
   parts (.pg-ph): each part fades in, holds and fades out; the last part
   stays. Under reduced motion every animation jumps to its end, so only
   each scene's finished last part shows.
   ------------------------------------------------------------------ */
.pg-ph { opacity: 0; }
@keyframes pg-phase { 0% { opacity: 0; } 10%, 90% { opacity: 1; } 100% { opacity: 0; } }
@keyframes pg-in { from { opacity: 0; } to { opacity: 1; } }
.pg-svg :is(.pg-bulb2, .pg-rays2, .pg-sb, .pg-broll, .pg-dip, .pg-redo, .pg-redo2, .pg-cm, .pg-likeicon2, .pg-xbar, .pg-bar2) { transform-box: fill-box; }

/* 1. research: at the computer, the feed scrolls, notes, the idea */
.pg-scene.is-on .pg-r1 { animation: pg-phase 2.1s linear 0s both; }
.pg-scene.is-on .pg-r2 { animation: pg-phase 2.3s linear 2.1s both; }
.pg-scene.is-on .pg-r3 { animation: pg-in 0.35s var(--ease-out) 4.4s both; }
.pg-scene.is-on .pg-rhead { animation: pg-nod 2.1s ease-in-out both; }
@keyframes pg-nod { 0%, 30% { transform: translateY(0); } 45%, 60% { transform: translateY(3px); } 80%, 100% { transform: translateY(0); } }
.pg-row { stroke-width: 4; }
.pg-hl { stroke-width: 4; stroke: var(--pg-accent); }
.pg-scene.is-on .pg-feed { animation: pg-scroll 1.9s ease-in-out 2.3s both; }
.pg-scene.is-on .pg-thumb { animation: pg-thumb 1.9s ease-in-out 2.3s both; }
@keyframes pg-scroll { from { transform: translateY(0); } to { transform: translateY(-84px); } }
@keyframes pg-thumb { from { transform: translateY(0); } to { transform: translateY(72px); } }
.pg-pen2 { transform: translate(62px, 100px); }
.pg-scene.is-on .pg-n1 { animation: pg-draw 0.42s linear 4.5s both; }
.pg-scene.is-on .pg-n2 { animation: pg-draw 0.38s linear 4.95s both; }
.pg-scene.is-on .pg-n3 { animation: pg-draw 0.42s linear 5.36s both; }
.pg-scene.is-on .pg-pen2 { animation: pg-pen2 1.5s linear 4.48s both; }
@keyframes pg-pen2 {
  0% { transform: translate(62px, 100px); } 28% { transform: translate(136px, 100px); }
  31% { transform: translate(62px, 126px); } 56% { transform: translate(126px, 126px); }
  59% { transform: translate(62px, 152px); } 86% { transform: translate(138px, 152px); }
  100% { transform: translate(128px, 170px); }
}
.pg-bulb2 { transform-origin: 50% 100%; opacity: 0; }
.pg-rays2 { stroke: var(--pg-accent); transform-origin: 50% 50%; opacity: 0; }
.pg-scene.is-on .pg-bulb2 { animation: pg-pop 0.45s var(--ease-out) 6s both; }
.pg-scene.is-on .pg-glass2 { animation: pg-light 0.3s ease-out 6.3s both; }
.pg-scene.is-on .pg-rays2 { animation: pg-pop 0.4s var(--ease-out) 6.35s both; }

/* 2. script and plan */
.pg-sb { transform-origin: 50% 50%; opacity: 0; }
.pg-chk { stroke: var(--pg-accent); stroke-width: 4; stroke-dasharray: 1; stroke-dashoffset: 1; }
.pg-scene.is-on .pg-sb1 { animation: pg-pop 0.35s var(--ease-out) 0.1s both; }
.pg-scene.is-on .pg-sb2 { animation: pg-pop 0.35s var(--ease-out) 0.3s both; }
.pg-scene.is-on .pg-sb3 { animation: pg-pop 0.35s var(--ease-out) 0.5s both; }
.pg-scene.is-on .pg-p1 { animation: pg-draw 0.4s linear 0.8s both; }
.pg-scene.is-on .pg-k1 { animation: pg-draw 0.25s ease-out 1.2s both; }
.pg-scene.is-on .pg-p2 { animation: pg-draw 0.4s linear 1.45s both; }
.pg-scene.is-on .pg-k2 { animation: pg-draw 0.25s ease-out 1.85s both; }
.pg-scene.is-on .pg-p3 { animation: pg-draw 0.4s linear 2.1s both; }
.pg-scene.is-on .pg-k3 { animation: pg-draw 0.25s ease-out 2.5s both; }

/* 3. record, then the extra clips stack up */
.pg-broll { transform-origin: 50% 50%; opacity: 0; }
.pg-scene.is-on .pg-br1 { animation: pg-pop 0.35s var(--ease-out) 1.8s both; }
.pg-scene.is-on .pg-br2 { animation: pg-pop 0.35s var(--ease-out) 2.05s both; }
.pg-scene.is-on .pg-br3 { animation: pg-pop 0.35s var(--ease-out) 2.3s both; }

/* 5. export, review the retention curve, fix, run it again */
.pg-xbar { transform-origin: 0 50%; transform: scaleX(0); }
.pg-bad { stroke-width: 4; stroke-dasharray: 1; stroke-dashoffset: 1; opacity: 0.6; }
.pg-good { stroke: var(--pg-accent); stroke-width: 4; stroke-dasharray: 1; stroke-dashoffset: 1; }
.pg-dip { stroke: var(--pg-accent); stroke-width: 3; transform-origin: 50% 50%; opacity: 0; }
.pg-redo { transform-origin: 50% 50%; opacity: 0; color: var(--pg-accent); }
.pg-scene.is-on .pg-xbar { animation: pg-grow-x 1.1s ease-in-out both; }
.pg-scene.is-on .pg-bad { animation: pg-draw 0.8s ease-out 1.2s both, pg-dim 0.4s ease-out 3.4s forwards; }
.pg-scene.is-on .pg-dip { animation: pg-pop 0.3s var(--ease-out) 2.05s both, pg-out 0.3s ease-out 3.4s forwards; }
.pg-scene.is-on .pg-redo { animation: pg-spin 1.1s var(--ease-out) 2.4s both; }
.pg-scene.is-on .pg-good { animation: pg-draw 0.8s ease-out 3.6s both; }
@keyframes pg-grow-x { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes pg-dim { to { opacity: 0.18; } }
@keyframes pg-out { to { opacity: 0; } }
@keyframes pg-spin { 0% { opacity: 0; transform: rotate(-90deg) scale(0.6); } 25% { opacity: 1; transform: rotate(0) scale(1); } 100% { opacity: 1; transform: rotate(360deg) scale(1); } }

/* 6. post, engage, read the numbers, back to the next video */
.pg-scene.is-on .pg-o1 { animation: pg-phase 1.9s linear 0s both; }
.pg-scene.is-on .pg-o2 { animation: pg-phase 2s linear 1.9s both; }
.pg-scene.is-on .pg-o3 { animation: pg-in 0.35s var(--ease-out) 3.9s both; }
.pg-bar2 { transform-origin: 0 50%; transform: scaleX(0); }
.pg-scene.is-on .pg-up2 { animation: pg-rise 1.9s var(--ease-out) both; }
.pg-scene.is-on .pg-bar2 { animation: pg-fill 1.7s ease-in-out both; }
.pg-likeicon2 { transform-origin: 50% 50%; }
.pg-scene.is-on .pg-likeicon2 { animation: pg-like 1.6s var(--ease-out) 2.1s both; }
.pg-heart2 { fill: var(--pg-accent); stroke: none; opacity: 0; }
.pg-scene.is-on .pg-heart2 { animation: pg-float 1.2s cubic-bezier(0.2, 0.7, 0.3, 1) var(--d) 2 both; }
.pg-cm { transform-origin: 100% 100%; opacity: 0; }
.pg-scene.is-on .pg-cm1 { animation: pg-pop 0.35s var(--ease-out) 2.4s both; }
.pg-scene.is-on .pg-cm2 { animation: pg-pop 0.35s var(--ease-out) 2.9s both; }
.pg-trend2 { stroke: var(--pg-accent); stroke-dasharray: 1; stroke-dashoffset: 1; }
.pg-scene.is-on .pg-d1 { animation: pg-grow 0.5s var(--ease-out) 4.0s both; }
.pg-scene.is-on .pg-d2 { animation: pg-grow 0.5s var(--ease-out) 4.12s both; }
.pg-scene.is-on .pg-d3 { animation: pg-grow 0.5s var(--ease-out) 4.24s both; }
.pg-scene.is-on .pg-d4 { animation: pg-grow 0.5s var(--ease-out) 4.36s both; }
.pg-scene.is-on .pg-trend2 { animation: pg-draw 0.7s ease-out 4.8s both; }
.pg-redo2 { transform-origin: 50% 50%; opacity: 0; color: var(--pg-accent); }
.pg-scene.is-on .pg-redo2 { animation: pg-spin 1s var(--ease-out) 5.5s both; }

@media (prefers-reduced-motion: reduce) {
  .pg .pg-scene.is-on .pg-heart2 { animation: none !important; opacity: 0; }
}

/* brand logos: give the logo row the page colour behind it, so the white of each logo melts away
   from the first frame of the fade-in instead of flashing white until the fade ends */
.hb-logo { background-color: var(--bg); isolation: isolate; }

/* Video showcase cards (Dec 5 2026): a still from the video, a dark layer, the results in the centre.
   Hover (or, on phones, scrolling a card into view) plays a silent clip from the start of the video. */
.reel-preview { opacity: 0; transition: opacity 260ms var(--ease-out); }
.reel-card.is-playing .reel-preview { opacity: 1; }
.reel-info { background-color: rgba(10, 10, 9, 0.6); }
@media (hover: hover) and (pointer: fine) { .reel-card:hover .reel-info { background-color: rgba(10, 10, 9, 0.5); } }
.reel-card.is-playing .reel-info { background-color: rgba(10, 10, 9, 0.42); background-image: radial-gradient(ellipse 80% 34% at 50% 50%, rgba(10, 10, 9, 0.5), rgba(10, 10, 9, 0)); }
.reel-more { display: flex; justify-content: center; flex-wrap: wrap; gap: 4px 12px; margin-top: 6px; padding-top: 12px; border-top: 1px solid rgba(255, 255, 255, 0.28); }
.reel-mini { display: inline-flex; align-items: center; gap: 5px; font-size: 13px; line-height: 1; font-variant-numeric: tabular-nums; color: rgba(255, 255, 255, 0.9); text-shadow: 0 1px 10px rgba(0, 0, 0, 0.4); }
.reel-mini .mi { width: 13px; height: 13px; stroke-width: 2; }
@media (max-width: 639px) { .reel-more { gap: 4px 10px; } .reel-mini { font-size: 12px; } }

/* ---------- Video showcase as a showreel (Dec 5 2026) ----------
   Bigger cards (about 18% on desktop), more air between them, soft fades at both screen edges,
   the thumbnails at full brightness with only a bottom gradient for the numbers, views first.
   The row drifts slowly on its own (main.js, carouselSetup); the hovered or focused card lifts a little. */
.reel-label { margin-top: clamp(28px, 3vw, 40px); font-size: var(--t-label); letter-spacing: 0.08em; text-transform: uppercase; color: var(--dark-muted); }
.reel-label + .carousel-stage { margin-top: 16px; }
.reel {
  gap: 24px; padding-block: 16px 18px;
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 calc(var(--gut) + 48px), #000 calc(100% - var(--gut) - 48px), transparent 100%);
          mask-image: linear-gradient(to right, transparent 0, #000 calc(var(--gut) + 48px), #000 calc(100% - var(--gut) - 48px), transparent 100%);
}
.reel.is-drifting { scroll-snap-type: none; }
.reel-item { flex-basis: calc((min(100vw, var(--container)) - 2 * var(--gut) - 3 * 24px) / 3.6); }
@media (max-width: 1023px) { .reel { gap: 18px; } .reel-item { flex-basis: min(40vw, 290px); } }
@media (max-width: 639px) {
  .reel { gap: 14px; -webkit-mask-image: linear-gradient(to right, transparent 0, #000 var(--gut), #000 calc(100% - var(--gut)), transparent 100%); mask-image: linear-gradient(to right, transparent 0, #000 var(--gut), #000 calc(100% - var(--gut)), transparent 100%); }
  .reel-item { flex-basis: 64vw; }
}

/* the card: original colours, a gradient only where the numbers sit */
.reel-info, .reel-card.is-playing .reel-info {
  inset: auto 0 0 0; justify-content: flex-end; align-items: flex-start; text-align: left; gap: 0;
  padding: 72px 18px 18px;
  background-color: transparent;
  background-image: linear-gradient(to top, rgba(10, 10, 9, 0.82) 0%, rgba(10, 10, 9, 0.55) 45%, rgba(10, 10, 9, 0) 100%);
}
@media (hover: hover) and (pointer: fine) { .reel-card:hover .reel-info { background-color: transparent; } }
.reel-info .reel-title { position: static; max-width: 100%; margin-bottom: 8px; font-size: 13px; color: rgba(255, 255, 255, 0.78); }
.reel-stat--views { font-size: clamp(30px, 2.5vw, 38px); letter-spacing: -0.03em; }
.reel-stat--views .mi { width: 0.62em; height: 0.62em; }
.reel-sub { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; margin-top: 10px; }
.reel-sub .reel-mini { font-size: 13px; color: rgba(255, 255, 255, 0.8); }
.reel-sub .reel-mini--likes { color: rgba(255, 255, 255, 0.92); }

/* hover or keyboard focus: the card comes forward a little (the row has already eased to a stop) */
.reel-card { transform-origin: 50% 50%; transition: transform 240ms var(--ease-out), box-shadow 240ms var(--ease-out); }
.reel-card:focus-visible { outline: 2px solid var(--dark-ink); outline-offset: 3px; transform: scale(1.03); }
@media (hover: hover) and (pointer: fine) {
  .reel-card:hover { transform: scale(1.03); box-shadow: 0 18px 40px -18px rgba(0, 0, 0, 0.7); }
  .reel-card:hover .reel-frame :is(img, video) { transform: none; }
}
@media (prefers-reduced-motion: reduce) { .reel-card:hover, .reel-card:focus-visible { transform: none; } }

/* less empty space between the showcase and "The Impact I Made" after it */
.dnd-reel + .dnd-metrics { margin-top: calc(var(--block) * 0.6); }
@media (max-width: 639px) {
  .reel-info, .reel-card.is-playing .reel-info { padding: 64px 14px 14px; }
  .reel-sub { gap: 4px 9px; flex-wrap: nowrap; }
  .reel-sub .reel-mini { font-size: 12px; gap: 4px; }
  .reel-sub .reel-mini .mi { width: 11px; height: 11px; }
}

/* ---------- Editorial pass on the DND opening (Dec 5 2026) ---------- */
/* "Three Different Approaches to Content" centred (Thomas's request) */
.dnd-work .split-head > :first-child { grid-column: 1 / -1; text-align: center; }
.dnd-work .split-head > .lead { grid-column: 3 / span 8; text-align: center; }

/* Selected Work sits closer to the role details it proves */
.dnd-open + .dnd-reel { margin-top: clamp(72px, 7vw, 104px); }

/* cards about 12% smaller; fades only in the page margin, so every card inside the margins reads cleanly */
.reel-item { flex-basis: calc((min(100vw, var(--container)) - 2 * var(--gut) - 3 * 24px) / 4.1); }
.reel { gap: 22px;
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 calc(var(--gut) * 0.75), #000 calc(100% - var(--gut) * 0.75), transparent 100%);
          mask-image: linear-gradient(to right, transparent 0, #000 calc(var(--gut) * 0.75), #000 calc(100% - var(--gut) * 0.75), transparent 100%); }
@media (max-width: 1023px) { .reel { gap: 16px; } .reel-item { flex-basis: min(34vw, 250px); } }
@media (max-width: 639px) {
  .reel { gap: 12px;
    -webkit-mask-image: linear-gradient(to right, transparent 0, #000 12px, #000 calc(100% - 12px), transparent 100%);
            mask-image: linear-gradient(to right, transparent 0, #000 12px, #000 calc(100% - 12px), transparent 100%); }
  .reel-item { flex-basis: 58vw; }
}

/* the metrics: one clear number, then a quiet line. "2.3M views" reads as a sentence, not a dashboard */
.reel-info, .reel-card.is-playing .reel-info { padding: 88px 16px 16px; background-image: linear-gradient(to top, rgba(10, 10, 9, 0.86) 0%, rgba(10, 10, 9, 0.6) 42%, rgba(10, 10, 9, 0) 100%); }
.reel-info .reel-title { margin-bottom: 10px; font-size: 12px; letter-spacing: 0.01em; color: rgba(255, 255, 255, 0.72); }
.reel-stat--views { align-items: baseline; gap: 6px; font-size: clamp(28px, 2.3vw, 34px); line-height: 0.95; }
.reel-unit { font-family: var(--sans); font-weight: 400; font-size: 13px; letter-spacing: 0; color: rgba(255, 255, 255, 0.72); }
.reel-sub { gap: 6px 14px; margin-top: 14px; padding-top: 12px; border-top: 1px solid rgba(255, 255, 255, 0.16); width: 100%; }
.reel-sub .reel-mini { gap: 5px; font-size: 12px; letter-spacing: 0.01em; color: rgba(255, 255, 255, 0.82); }
.reel-sub .reel-mini .mi { width: 11px; height: 11px; stroke-width: 1.8; opacity: 0.7; }
.reel-sub .reel-mini--likes { color: rgba(255, 255, 255, 0.92); }
@media (max-width: 639px) {
  .reel-info, .reel-card.is-playing .reel-info { padding: 72px 12px 12px; }
  .reel-sub { gap: 4px 10px; margin-top: 12px; padding-top: 10px; }
  .reel-sub .reel-mini { font-size: 11px; gap: 4px; }
}

/* calmer hover: a smaller lift, no heavy shadow; the arrows stay out of the way until the row is hovered */
@media (hover: hover) and (pointer: fine) {
  .reel-card:hover { transform: scale(1.02); box-shadow: 0 12px 28px -18px rgba(0, 0, 0, 0.6); }
  .carousel-stage .carousel-btn { opacity: 0; transition: opacity 240ms var(--ease-out), background-color 180ms var(--ease-out), border-color 180ms var(--ease-out), transform 100ms var(--ease-out); }
  .carousel-stage:hover .carousel-btn, .carousel-stage:focus-within .carousel-btn { opacity: 1; }
}
.reel-card { transition: transform 320ms var(--ease-out), box-shadow 320ms var(--ease-out); }
.reel-card:focus-visible { transform: scale(1.02); }
.carousel-btn { background: rgba(10, 10, 9, 0.6); }

/* Overall Impact: left-aligned like every other heading on the page */
.dnd-metrics { text-align: left; }
.metrics-head { margin: 0; }
.dnd-metrics .metric { align-items: flex-start; }
.dnd-metrics .metric dd { justify-content: flex-start; }
.dnd-metrics .metric dt { margin-left: 0; margin-right: 0; }
.metrics-note, .metrics-outro { margin-left: 0; text-align: left; }
.reel-sub { flex-wrap: nowrap; justify-content: space-between; gap: 8px; }
.reel-sub .reel-mini { white-space: nowrap; }
@media (max-width: 639px) { .reel-sub { gap: 6px; } }
/* the four smaller counts as a quiet two-by-two block: likes, comments / saves, shares */
.reel-sub { display: grid; grid-template-columns: repeat(2, max-content); justify-content: start; column-gap: 22px; row-gap: 7px; }
@media (max-width: 639px) { .reel-sub { column-gap: 16px; row-gap: 6px; } .reel-item { flex-basis: 62vw; } }

/* ---------- Content Highlights, full width (Dec 5 2026) ----------
   The heading stays on the page margins; the row of cards runs edge to edge across the screen,
   a wide, cinematic break between the structured parts. The first card lines up with the heading
   (the row's inner padding equals the content margin), and the arrows sit on the content margins. */
.dnd-reel .carousel-stage {
  --inset: max(var(--gut), calc((var(--page-w, 100vw) - var(--container)) / 2 + var(--gut)));
  margin-inline: calc(50% - var(--page-w, 100vw) / 2);
}
.dnd-reel .reel {
  margin-inline: 0; padding-inline: var(--inset); scroll-padding-inline: var(--inset);
  /* softer edges than before: the outermost cards dim to about a quarter, never vanish */
  -webkit-mask-image: linear-gradient(to right, rgba(0, 0, 0, 0.28) 0, #000 min(9vw, 150px), #000 calc(100% - min(9vw, 150px)), rgba(0, 0, 0, 0.28) 100%);
          mask-image: linear-gradient(to right, rgba(0, 0, 0, 0.28) 0, #000 min(9vw, 150px), #000 calc(100% - min(9vw, 150px)), rgba(0, 0, 0, 0.28) 100%);
}
.dnd-reel .carousel-btn--prev { left: calc(var(--inset) - 28px); }
.dnd-reel .carousel-btn--next { right: calc(var(--inset) - 28px); }
@media (max-width: 1023px) {
  .dnd-reel .carousel-btn--prev { left: calc(var(--inset) - 16px); }
  .dnd-reel .carousel-btn--next { right: calc(var(--inset) - 16px); }
}
@media (max-width: 639px) {
  .dnd-reel .reel {
    -webkit-mask-image: linear-gradient(to right, rgba(0, 0, 0, 0.4) 0, #000 20px, #000 calc(100% - 20px), rgba(0, 0, 0, 0.4) 100%);
            mask-image: linear-gradient(to right, rgba(0, 0, 0, 0.4) 0, #000 20px, #000 calc(100% - 20px), rgba(0, 0, 0, 0.4) 100%);
  }
}

/* ---------- Content Highlights: readable results (Dec 5 2026) ----------
   Title (secondary), then the views large with a "Views" label, then a labelled two-by-two grid:
   Likes, Comments / Saves, Shares. Numbers in one short form everywhere (787, 4K, 73K, 2.3M).
   The gradient only darkens the bottom third, where the text sits; the rest of the frame keeps its colour. */
.reel-info, .reel-card.is-playing .reel-info {
  padding: 56px 16px 16px;
  background-image: linear-gradient(to top, rgba(10, 10, 9, 0.9) 0%, rgba(10, 10, 9, 0.78) 38%, rgba(10, 10, 9, 0.32) 72%, rgba(10, 10, 9, 0) 100%);
}
.reel-info .reel-title { margin-bottom: 8px; font-size: 13px; line-height: 1.3; letter-spacing: 0; color: rgba(255, 255, 255, 0.8); }
.reel-stat--views { display: flex; align-items: baseline; gap: 7px; font-size: clamp(30px, 2.4vw, 36px); line-height: 1; }
.reel-unit { font-family: var(--sans); font-weight: 500; font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(255, 255, 255, 0.74); }
.reel-grid {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 16px; width: 100%;
  margin-top: 14px; padding-top: 14px; border-top: 1px solid rgba(255, 255, 255, 0.2);
}
.reel-cell { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.reel-cell-num { font-family: var(--serif); font-weight: var(--display-weight); font-size: 18px; line-height: 1; letter-spacing: -0.01em; font-variant-numeric: tabular-nums; color: #fff; }
.reel-cell-label { font-size: 10.5px; line-height: 1.2; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(255, 255, 255, 0.68); }
.reel-stat, .reel-title, .reel-cell { text-shadow: 0 1px 8px rgba(0, 0, 0, 0.35); }
@media (max-width: 639px) {
  .reel-info, .reel-card.is-playing .reel-info { padding: 48px 14px 14px; }
  .reel-stat--views { font-size: 30px; }
  .reel-grid { gap: 10px 12px; margin-top: 12px; padding-top: 12px; }
  .reel-cell-num { font-size: 17px; }
}
.reel-info, .reel-card.is-playing .reel-info {
  padding-top: 44px;
  background-image: linear-gradient(to top, rgba(10, 10, 9, 0.9) 0%, rgba(10, 10, 9, 0.8) 45%, rgba(10, 10, 9, 0.55) 76%, rgba(10, 10, 9, 0) 100%);
}

/* ---------- Content Highlights: typography (Dec 5 2026) ----------
   Same two faces as the rest of the site: Inter Tight for the one big number, Inter for everything
   else. Hierarchy by size AND weight: views 600 at display size; the four smaller results in Inter 500,
   their names in sentence case, regular weight, softer tone (as the Overall Impact labels are).
   "2.3M views" reads as a phrase on one baseline. Figures are tabular so the grid's columns line up. */
.reel-info .reel-title { font-family: var(--sans); font-weight: 400; font-size: 13px; line-height: 1.35; letter-spacing: -0.003em; color: rgba(255, 255, 255, 0.84); margin-bottom: 6px; }
.reel-stat--views { font-family: var(--serif); font-weight: 600; font-size: clamp(32px, 2.5vw, 38px); line-height: 1; letter-spacing: -0.035em; gap: 8px; }
.reel-stat--views .count { font-variant-numeric: tabular-nums; }
.reel-unit { font-family: var(--sans); font-weight: 400; font-size: 14px; letter-spacing: 0; text-transform: none; color: rgba(255, 255, 255, 0.72); }
.reel-grid { gap: 13px 16px; margin-top: 15px; padding-top: 14px; border-top-color: rgba(255, 255, 255, 0.18); }
.reel-cell { gap: 4px; }
.reel-cell-num { font-family: var(--sans); font-weight: 500; font-size: 15px; line-height: 1.1; letter-spacing: -0.005em; font-variant-numeric: tabular-nums; color: rgba(255, 255, 255, 0.95); }
.reel-cell-label { font-family: var(--sans); font-weight: 400; font-size: 12px; line-height: 1.2; letter-spacing: 0; text-transform: none; color: rgba(255, 255, 255, 0.64); }
.reel-time { font-variant-numeric: tabular-nums; letter-spacing: 0.01em; }
@media (max-width: 639px) {
  .reel-stat--views { font-size: 31px; }
  .reel-unit { font-size: 13px; }
  .reel-cell-num { font-size: 15px; }
  .reel-cell-label { font-size: 11.5px; }
}
/* the hidden screen-reader copy sits in the same row; space the unit with a margin so it is counted once */
.reel-stat--views { gap: 0; }
.reel-info .reel-stat--views .reel-unit { margin-left: 7px; }

/* ---------- Content Highlights and Overall Impact headings centered (Dec 5 2026) ----------
   Matches "Three Different Approaches to Content". Only the headings move; the cards and the
   four totals keep their own alignment. */
.dnd-reel .carousel-head { justify-content: center; }
.dnd-reel .carousel-intro { text-align: center; }
.dnd-reel .carousel-intro .block-title { margin-left: auto; margin-right: auto; }
.dnd-metrics .metrics-head { margin-left: auto; margin-right: auto; text-align: center; }

/* ---------- Content Highlights and Overall Impact: one heading style (Dec 5 2026) ----------
   They are sibling headings inside the DND section, so they share one face, weight, size, tracking
   and leading (Inter Tight 600, the site's display style) and the same space down to their content. */
.dnd-reel .carousel-intro .block-title,
.dnd-metrics .metrics-heading {
  font-family: var(--serif);
  font-weight: var(--display-weight);
  font-size: var(--t-h2);
  line-height: 1.08;
  letter-spacing: var(--display-track);
  color: var(--dark-ink);
  text-wrap: balance;
}
.dnd-reel .carousel-stage { margin-top: clamp(36px, 3.7vw, 52px); }
.dnd-metrics .metrics--account { margin-top: clamp(32px, 3.4vw, 48px); }

/* the odd last total (234 total videos) sits in the middle of its full-width row on two-column layouts;
   on phones every total is one left-aligned column, so it stays with the others */
@media (min-width: 640px) {
  .dnd-metrics .metrics--account .metric:last-child:nth-child(odd) { align-items: center; text-align: center; }
  .dnd-metrics .metrics--account .metric:last-child:nth-child(odd) dd { justify-content: center; }
  .dnd-metrics .metrics--account .metric:last-child:nth-child(odd) dt { margin-left: auto; margin-right: auto; }
}

/* ---------- Overall Impact, rebuilt (Dec 5 2026) ----------
   Two lead results large and side by side (22M+ views, 175K followers), three supporting results
   smaller beneath, separated by one hairline. No icons, no per-number rules, no cards.
   Everything centred under the centred heading. Numbers: Inter Tight 600, tabular, tight tracking
   that loosens as the size drops. Labels: Inter regular in the muted tone, sentence case. */
.impact { margin-top: clamp(32px, 3.4vw, 48px); }
.impact-row { display: grid; text-align: center; }
.impact-row--lead { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--gutter); }
.impact-row--support {
  grid-template-columns: repeat(var(--n, 3), minmax(0, 1fr)); column-gap: var(--gutter);
  margin-top: clamp(40px, 4.4vw, 64px); padding-top: clamp(32px, 3.4vw, 48px);
  border-top: 1px solid var(--dark-line);
}
.impact-item { display: flex; flex-direction: column; align-items: center; min-width: 0; }
.impact-item dd { order: -1; font-family: var(--serif); font-weight: var(--display-weight); line-height: 0.92; white-space: nowrap; color: var(--dark-ink); }
.impact-item dd .count { font-variant-numeric: tabular-nums lining-nums; }
.impact-item dt { font-family: var(--sans); font-weight: 400; color: var(--dark-muted); text-wrap: balance; }
.impact-item--lead dd { font-size: clamp(56px, 7.6vw, 116px); letter-spacing: -0.045em; }
.impact-item--lead dt { margin-top: clamp(12px, 1.2vw, 18px); font-size: clamp(15px, 1.15vw, 17px); line-height: 1.4; }
.impact-item--support dd { font-size: clamp(30px, 3.3vw, 48px); letter-spacing: -0.03em; }
.impact-item--support dt { margin-top: 10px; font-size: clamp(13px, 1vw, 15px); line-height: 1.4; max-width: 16em; }
/* the section's old left-aligned head rules do not apply to the centred heading */
.dnd-metrics .metrics-head { text-align: center; }
@media (max-width: 639px) {
  .impact-row--lead { column-gap: 16px; }
  .impact-item--lead dd { font-size: clamp(44px, 13.5vw, 56px); }
  .impact-item--lead dt { font-size: 14px; }
  .impact-row--support { column-gap: 12px; margin-top: 36px; padding-top: 28px; }
  .impact-item--support dd { font-size: clamp(24px, 7.4vw, 30px); letter-spacing: -0.025em; }
  .impact-item--support dt { font-size: 12.5px; line-height: 1.35; }
}
.dnd-metrics .impact { margin-top: clamp(36px, 4vw, 60px); }
.impact-item--lead dt { font-size: clamp(15px, 1.25vw, 18px); }

/* ---------- Overall Impact: lead labels read as part of the number (Dec 5 2026) ----------
   "22M+" and "TikTok views" are one statement, so the lead label steps up: full ink, medium
   weight, larger, and set close under the figure. The figure comes down a little so the pair
   reads together. Supporting labels keep the quiet muted style, so the two tiers stay distinct.
   No eyebrow labels or icons: the label itself carries the meaning. */
.impact-item--lead dd { font-size: clamp(56px, 7vw, 104px); }
.impact-item--lead dt {
  margin-top: clamp(8px, 0.8vw, 12px);
  font-family: var(--sans); font-weight: 500;
  font-size: clamp(17px, 1.55vw, 22px); line-height: 1.3; letter-spacing: -0.005em;
  color: rgba(237, 234, 228, 0.92);
}
@media (max-width: 639px) {
  .impact-item--lead dd { font-size: clamp(42px, 12.5vw, 52px); }
  .impact-item--lead dt { margin-top: 8px; font-size: 15px; }
}

/* ---------- Overall Impact: refinements (Dec 5 2026) ----------
   Supporting labels a step larger and brighter (still quieter than the lead labels). */
.impact-item--support dt { font-size: clamp(14px, 1.1vw, 16px); color: rgba(237, 234, 228, 0.74); }
@media (max-width: 639px) { .impact-item--support dt { font-size: 13.5px; } }

/* ---------- Overall Impact: three equal results + one line (Dec 5 2026) ----------
   Views, followers and likes share one row at the same size; the row takes its column count from
   the number of results. Under it, one centred sentence in the label style, with "234 videos" set
   in the figures' face and full ink (it counts up with the rest). Phones: the three results stack,
   each still large, because three across would shrink them below a comfortable size. */
.impact-row--lead { grid-template-columns: repeat(var(--n, 2), minmax(0, 1fr)); }
.impact-item--lead dd { font-size: clamp(52px, 6.4vw, 96px); }
.impact-statement {
  margin-top: clamp(40px, 4.4vw, 64px); text-align: center;
  font-family: var(--sans); font-weight: 400; font-size: clamp(16px, 1.3vw, 19px); line-height: 1.45;
  color: var(--dark-muted); text-wrap: balance;
}
.impact-statement-em {
  font-family: var(--serif); font-weight: var(--display-weight); font-size: 1.12em;
  letter-spacing: -0.015em; color: var(--dark-ink); white-space: nowrap;
}
.impact-statement-em .count { font-variant-numeric: tabular-nums lining-nums; }
@media (max-width: 639px) {
  .impact-row--lead { grid-template-columns: 1fr; row-gap: 32px; }
  .impact-item--lead dd { font-size: clamp(48px, 14vw, 56px); }
  .impact-statement { margin-top: 36px; font-size: 15.5px; }
}

/* Role, timeline and channels: moved under Content Highlights (Thomas, Dec 5 2026).
   The hairline above them (the .facts top border) separates them from the videos. */
.dnd-facts { margin-top: clamp(56px, 6vw, 88px); }
.dnd-facts .facts { margin-top: 0; }
.dnd-facts + .dnd-metrics { margin-top: calc(var(--block) * 0.6); }

/* Role row, balanced (Dec 5 2026): the hairline stays full width; the two items sit as a centred
   pair under it, matching the centred Content Highlights above and Overall Impact below. */
.dnd-facts .facts { grid-template-columns: repeat(var(--n, 2), auto); justify-content: center; column-gap: clamp(64px, 9vw, 144px); text-align: center; padding-top: clamp(28px, 2.6vw, 40px); }
@media (max-width: 639px) {
  .dnd-facts .facts { grid-template-columns: 1fr; row-gap: 22px; }
}

/* Hairlines above Content Highlights and Overall Impact (Thomas, Dec 5 2026), the same line as above
   the role row, so the three parts of the DND story read as separate chapters. */
.dnd-reel, .dnd-metrics { border-top: 1px solid var(--dark-line); padding-top: clamp(48px, 5vw, 72px); }

/* Role row centred between its two hairlines: the same space above the items as below them
   (Thomas, Dec 5 2026), and the same as the space under the other two lines. */
.dnd-facts .facts { padding-top: clamp(48px, 5vw, 72px); }
.dnd-facts + .dnd-metrics { margin-top: clamp(48px, 5vw, 72px); }

/* Hairline above "Three Different Approaches to Content" (Thomas, Dec 5 2026), spaced like the line
   above Overall Impact: the same gap above the line as below it. This replaces the old full --block gap. */
.dnd-metrics + .dnd-work { margin-top: clamp(48px, 5vw, 72px); border-top: 1px solid var(--dark-line); padding-top: clamp(48px, 5vw, 72px); }

/* =====================================================================
   Scroll cue (Dec 5 2026, v3). It sits on the seam between the light
   opening and the dark section: a disc of the opening's own colour,
   centred on the boundary, so its top half melts into the opening and
   its lower half drops into the dark like a tab joining the two. Inside,
   a clay chevron keeps flowing down (glides in, holds, slips out as the
   next arrives). "Scroll to explore" sits just above, on the light side.
   ===================================================================== */
main > .hero { position: relative; }
.scroll-cue { --ring: 56px; position: absolute; left: 50%; translate: -50% 0; bottom: calc(var(--ring) / -2); z-index: 5; animation: scroll-cue-in 800ms var(--ease-out) 1200ms both; }
.scroll-cue-link { display: flex; flex-direction: column; align-items: center; gap: 12px; color: var(--muted); text-decoration: none; -webkit-tap-highlight-color: transparent; transition: opacity 320ms var(--ease-out); }
.scroll-cue-link.is-gone { opacity: 0; pointer-events: none; }
.scroll-cue-label { font-size: 13px; line-height: 1; letter-spacing: 0.02em; white-space: nowrap; transition: color 150ms ease; }
.scroll-cue-ring { display: grid; place-items: center; width: var(--ring); height: var(--ring); border-radius: 50%; background: var(--bg); border: 1px solid rgba(28, 27, 25, 0.14); overflow: hidden; transition: background-color 220ms var(--ease-out), border-color 220ms var(--ease-out), transform 120ms var(--ease-out); }
.scroll-cue-chev { width: 22px; height: 22px; fill: none; stroke: var(--clay); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: stroke 220ms var(--ease-out); animation: scroll-cue-flow 2400ms 2000ms infinite both; }
.scroll-cue-link:active .scroll-cue-ring { transform: scale(0.95); }
@media (hover: hover) and (pointer: fine) {
  .scroll-cue-link:hover .scroll-cue-label { color: var(--ink); }
  .scroll-cue-link:hover .scroll-cue-ring { background-color: var(--clay); border-color: var(--clay); }
  .scroll-cue-link:hover .scroll-cue-chev { stroke: var(--bg); }
}
.scroll-cue-link:focus-visible { outline: none; }
.scroll-cue-link:focus-visible .scroll-cue-ring { outline: 2px solid var(--clay); outline-offset: 3px; }
/* a short laptop screen where the label would touch the words or the portrait: the disc alone */
.scroll-cue.is-low .scroll-cue-label { visibility: hidden; }

@keyframes scroll-cue-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes scroll-cue-flow {
  0%   { transform: translateY(-130%); opacity: 0; animation-timing-function: cubic-bezier(0.23, 1, 0.32, 1); }
  32%  { transform: translateY(0); opacity: 1; }
  62%  { transform: translateY(0); opacity: 1; animation-timing-function: cubic-bezier(0.77, 0, 0.175, 1); }
  92%, 100% { transform: translateY(130%); opacity: 0; }
}

/* tablets and phones: a little more room at the foot of the opening for the label */
@media (max-width: 1023px) {
  main > .hero { padding-bottom: 104px; }
  .scroll-cue { --ring: 50px; }
}
@media (max-width: 639px) {
  main > .hero { padding-bottom: 92px; }
  .scroll-cue { --ring: 46px; }
  .scroll-cue-label { font-size: 12px; }
  .scroll-cue-chev { width: 20px; height: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  .scroll-cue { animation-name: scroll-cue-fade; }
  .scroll-cue-chev { animation: none; }
}
@keyframes scroll-cue-fade { from { opacity: 0; } }
/* sections receive focus after an in-page link glides to them (smooth-scroll.js); no ring on those */
main [tabindex="-1"]:focus, footer[tabindex="-1"]:focus { outline: none; }
/* two chevrons half a beat apart, so the disc always holds one and they read as a steady stream down */
.scroll-cue-chev { grid-area: 1 / 1; animation: scroll-cue-stream 2400ms 1600ms infinite both; }
.scroll-cue-chev--2 { animation-delay: 2800ms; }
@keyframes scroll-cue-stream {
  0%   { transform: translateY(-115%); opacity: 0; animation-timing-function: cubic-bezier(0.23, 1, 0.32, 1); }
  40%  { transform: translateY(0); opacity: 1; }
  58%  { transform: translateY(0); opacity: 1; animation-timing-function: cubic-bezier(0.77, 0, 0.175, 1); }
  100% { transform: translateY(115%); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .scroll-cue-chev { animation: none; }
  .scroll-cue-chev--2 { display: none; }
}

/* Desktop: the scroll cue joins the left-aligned composition (Dec 5 2026). The disc's left edge sits on
   the content grid's left edge (the headline, paragraph and buttons); it stays centred on the seam.
   The label lines up with it. Tablets and phones keep the centred cue. */
@media (min-width: 1024px) {
  .scroll-cue { left: calc((100% - min(100% - 2 * var(--gut), var(--container))) / 2); translate: 0 0; }
  .scroll-cue-link { align-items: flex-start; }
}
