@font-face { font-family: Roobert; src: url(roobert-regular.woff2) format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: Roobert; src: url(roobert-semibold.woff2) format('woff2'); font-weight: 600; font-display: swap; }
@font-face { font-family: Roobert; src: url(roobert-bold.woff2) format('woff2'); font-weight: 700 800; font-display: swap; }

/* Round 12 page system (design-system.md, module m204): the same names and values. */
:root {
  --ds-ink: #151518;
  --ds-ink-2: #48425f;
  --ds-green: #5c7900;
  --ds-lime: #d4f564;
  --ds-bg-cream: #f5ebdd;
  --ds-bg-paper: #fffdf8;
  --ds-bg-dark: #0e1308;
  --ds-title: clamp(36px, calc(2.5vw + 20px), 64px);
  --ds-sub: clamp(17px, calc(.42vw + 14px), 21px);
  --ds-container: 1200px;
  --ds-gutter: clamp(20px, 4.45vw, 64px);
  --ds-gap-title: clamp(32px, calc(1.5vw + 26px), 56px);
  --ds-radius: 20px;
  --ds-ease: cubic-bezier(.16, 1, .3, 1);
  --tm-pad: clamp(64px, calc(2.6vw + 54px), 96px);
  --tm-gap: clamp(16px, 1.4vw, 24px);
  --tm-text: #f7f1e6;
  --tm-text-2: #b3b8a2;
  --tm-card: #171d10;
  color: var(--ds-ink);
  background: var(--ds-bg-paper);
  font-family: Roobert, system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}

*, *::before, *::after { box-sizing: border-box; }
body, h2, p, ol, blockquote { margin: 0; }
ol { padding: 0; list-style: none; }
img { display: block; max-width: 100%; height: auto; }
::selection { color: var(--ds-ink); background: var(--ds-lime); }

/* Preview only: the end of the section above and the start of the section below, in their round 12 colours. */
.band { display: flex; height: 180px; padding-inline: max(var(--ds-gutter), calc((100% - var(--ds-container)) / 2)); }
.band--in { align-items: flex-end; padding-bottom: 28px; background: var(--ds-bg-paper); }
.band--out { align-items: flex-start; padding-top: 28px; background: var(--ds-bg-cream); }
.band-note { color: var(--ds-ink-2); font-size: 15px; line-height: 1.4; }
@media (max-width: 599px) { .band { height: 120px; } .band-note { font-size: 14px; } }

/* The section: a dark room, so the 7 videos read as one place to watch and listen. */
.tm { background: var(--ds-bg-dark); color: var(--tm-text); padding-block: var(--tm-pad); view-timeline-name: --tm; }
.tm-in { width: min(var(--ds-container), calc(100% - 2 * var(--ds-gutter))); margin-inline: auto; }
.tm-head { max-width: 900px; }
.tm-h { font-size: var(--ds-title); font-weight: 800; line-height: 1.02; letter-spacing: -.035em; text-wrap: balance; color: #fbf8f1; }
.tm-h em {
  font-style: normal;
  color: var(--ds-lime);
  background: linear-gradient(180deg, #e6fc96 0%, #c2f542 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.tm-sub { max-width: 62ch; margin-top: 12px; color: rgba(247, 241, 230, .74); font-size: var(--ds-sub); line-height: 1.38; text-wrap: pretty; }

/* 7 cards: 4 on top, 3 under them set half a card in (desktop). 3, then 2 per row on smaller screens, 1 on a phone. */
.tm-list { display: grid; gap: var(--tm-gap); margin-top: var(--ds-gap-title); grid-template-columns: 1fr; }
.tm-c { display: flex; min-width: 0; --col: 0; }
@media (min-width: 600px) {
  .tm-list { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .tm-c { grid-column: span 2; }
  .tm-c:nth-child(7) { grid-column: 2 / span 2; }
  .tm-c:nth-child(even) { --col: 1; }
}
@media (min-width: 900px) {
  .tm-list { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .tm-c:nth-child(7) { grid-column: 3 / span 2; }
  .tm-c:nth-child(3n + 1) { --col: 0; }
  .tm-c:nth-child(3n + 2) { --col: 1; }
  .tm-c:nth-child(3n) { --col: 2; }
}
@media (min-width: 1100px) {
  .tm-list { grid-template-columns: repeat(8, minmax(0, 1fr)); }
  .tm-c:nth-child(5) { grid-column: 2 / span 2; }
  .tm-c:nth-child(7) { grid-column: auto / span 2; }
  .tm-c:nth-child(1), .tm-c:nth-child(5) { --col: 0; }
  .tm-c:nth-child(2), .tm-c:nth-child(6) { --col: 1; }
  .tm-c:nth-child(3), .tm-c:nth-child(7) { --col: 2; }
  .tm-c:nth-child(4) { --col: 3; }
}

/* One card: the muted clip, the face, name and title, then the founder's own words. Same layout for all 7. */
.vt {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  overflow: hidden;
  border-radius: var(--ds-radius);
  background: var(--tm-card);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .07), 0 28px 48px -30px rgba(0, 0, 0, .9);
  container-type: inline-size;
  font-size: clamp(14px, 5.6cqi, 17px);
  transition: box-shadow .3s ease;
}
.vt-media { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: #22281a; }
.vt-lens { position: absolute; inset: 0; transform-origin: 50% 40%; backface-visibility: hidden; }
.vt-poster, .vt-loop { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.vt-loop { opacity: 0; transition: opacity .5s ease; }
.vt-loop.is-on { opacity: 1; }
.vt-media::after { content: ""; position: absolute; inset: 0 0 62%; background: linear-gradient(to top, rgba(14, 19, 8, 0), rgba(14, 19, 8, .5)); pointer-events: none; }
.vt-cue {
  position: absolute; z-index: 1; left: .8em; top: .8em;
  display: inline-flex; align-items: center; gap: .55em;
  padding: .42em 1.05em .42em .42em; border-radius: 99px;
  background: #fff; color: var(--ds-ink);
  font-size: .94em; font-weight: 700; white-space: nowrap;
  box-shadow: 0 10px 24px -10px rgba(0, 0, 0, .6);
  transition: background-color .25s ease;
}
.vt-ico { display: grid; place-items: center; width: 2.1em; height: 2.1em; border-radius: 50%; background: var(--ds-lime); transition: background-color .25s ease; }
.vt-ico svg { width: 1.2em; height: 1.2em; fill: var(--ds-ink); stroke: var(--ds-ink); stroke-width: 0; }
.vt-ico svg .w1, .vt-ico svg .w2 { fill: none; stroke-width: 2; stroke-linecap: round; }
.vt.is-playing .vt-ico svg .w1 { animation: vt-wave 1.6s ease-in-out infinite; }
.vt.is-playing .vt-ico svg .w2 { animation: vt-wave 1.6s ease-in-out .25s infinite; }
@keyframes vt-wave { 0%, 100% { opacity: .25; } 45% { opacity: 1; } }
.vt-head { display: flex; align-items: center; gap: .7em; padding: 1em 1.1em .55em; }
.vt-face { flex: none; width: 2.9em; height: 2.9em; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 2px var(--ds-lime); }
.vt-who { min-width: 0; line-height: 1.25; }
.vt-who b { display: block; font-weight: 600; }
.vt-who small { display: block; margin-top: .1em; color: var(--tm-text-2); font-size: .84em; }
.vt-quote { flex: 1 0 auto; margin: 0; padding: .15em 1.1em 1.2em; font-size: 1.04em; font-weight: 600; line-height: 1.34; letter-spacing: -.01em; text-wrap: pretty; }
.vt-quote b { color: var(--ds-lime); font-weight: 800; }
.vt-quote--none { color: var(--tm-text-2); font-weight: 400; }
@media (min-width: 600px) { .vt-quote { min-height: calc(3 * 1.34em + 1.35em); } }
@media (min-width: 1100px) { .vt-quote { min-height: calc(4 * 1.34em + 1.35em); } }
.vt-open { position: absolute; z-index: 3; inset: 0; width: 100%; padding: 0; border: 0; border-radius: inherit; background: none; cursor: pointer; }
.vt-open:focus-visible { outline: 3px solid var(--ds-lime); outline-offset: -3px; }
@media (hover: hover) {
  .vt:hover { box-shadow: 0 0 0 2px var(--ds-lime), 0 28px 48px -30px rgba(0, 0, 0, .9); }
  .vt:hover .vt-cue { background: var(--ds-lime); }
  .vt:hover .vt-ico { background: #fff; }
}

/* Phone: a wider, shorter picture so each card fits the screen with its words. */
@media (max-width: 599px) {
  .vt-media { aspect-ratio: 5 / 4; }
  .vt-poster, .vt-loop { object-position: 50% 22%; }
  .vt { font-size: 16px; }
}

/* Motion: tied to the scroll, both ways, run by the browser's compositor (no script in the scroll).
   Words only fade. The picture behind them settles from a slight zoom to its place. */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .tm-head { animation: tm-fade linear both; animation-timeline: --tm; animation-range: entry 4% entry 34%; }
    .vt { animation: tm-fade linear both; animation-timeline: view(); animation-range: entry calc(var(--col) * 7%) entry calc(72% + var(--col) * 7%); }
    .vt-lens { animation: tm-settle linear both; animation-timeline: view(); animation-range: entry calc(var(--col) * 7%) cover calc(50% + var(--col) * 4%); }
  }
}
html[data-motion="fade"] .vt-lens { animation: none; }
@keyframes tm-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes tm-settle { from { transform: scale(1.16); } to { transform: scale(1); } }

/* The video, opened with sound, in our own simple player: play or pause, sound, captions, close. No time or length. */
.vt-box { width: min(1080px, calc(100vw - 32px)); max-width: none; max-height: none; padding: 0; border: 0; background: transparent; color: #f7f1e6; overflow: visible; }
.vt-box::backdrop { background: rgba(10, 12, 8, .9); }
.vt-box[open] { animation: vt-in .32s cubic-bezier(.2, .7, .2, 1); }
@keyframes vt-in { from { opacity: 0; } to { opacity: 1; } }
.vt-box-in { display: grid; justify-items: center; gap: 12px; }
.vt-frame { position: relative; max-width: 100%; }
.vt-full { display: block; width: auto; height: auto; max-width: 100%; max-height: calc(100svh - 150px); border-radius: 12px; background: #000; cursor: pointer; }
.vt-full::cue { font-family: Roobert, system-ui, sans-serif; font-size: clamp(15px, 2.2vw, 22px); background: rgba(12, 12, 14, .78); }
.vt-big { position: absolute; left: 50%; top: 50%; display: grid; place-items: center; width: 76px; height: 76px; margin: -38px 0 0 -38px; padding: 0; border: 0; border-radius: 50%;
  background: var(--ds-lime); cursor: pointer; opacity: 0; pointer-events: none; transition: opacity .2s ease; }
.vt-frame.is-paused .vt-big { opacity: 1; pointer-events: auto; }
.vt-big svg { width: 34px; height: 34px; margin-left: 4px; fill: var(--ds-ink); }
.vt-bar { display: flex; align-items: center; gap: 10px; width: 100%; }
.vt-btn { flex: none; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; background: #fff; color: var(--ds-ink); cursor: pointer; transition: background-color .2s ease; }
.vt-btn svg { width: 22px; height: 22px; fill: currentColor; }
.vt-btn .w { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.vt-btn:focus-visible, .vt-big:focus-visible { outline: 3px solid var(--ds-lime); outline-offset: 2px; }
@media (hover: hover) { .vt-btn:hover { background: var(--ds-lime); } }
.vt-pp .i-play, .vt-pp.is-paused .i-pause, .vt-snd .i-off, .vt-snd.is-off .i-on { display: none; }
.vt-pp.is-paused .i-play, .vt-snd.is-off .i-off { display: block; }
.i-cc { font: 700 14px/1 Roobert, system-ui, sans-serif; letter-spacing: .03em; }
.vt-cc.is-off { background: rgba(255, 255, 255, .35); }
.vt-box-who { min-width: 0; margin: 0 0 0 auto; font-family: Roobert, system-ui, sans-serif; text-align: right; line-height: 1.3; }
.vt-box-who b { display: block; font-size: 18px; font-weight: 600; }
.vt-box-who small { color: #b8b1a4; font-size: 15px; }
@media (max-width: 599px) { .vt-box-who b { font-size: 15px; } .vt-box-who small { font-size: 13px; } }
.vt-x { position: fixed; top: 14px; right: 14px; width: 44px; height: 44px; border: 0; border-radius: 50%; background: #fff; color: var(--ds-ink); font: 700 26px/1 Roobert, system-ui, sans-serif; cursor: pointer; }
.vt-x:focus-visible { outline: 3px solid var(--ds-lime); outline-offset: 2px; }

@media (prefers-reduced-motion: reduce) {
  .vt-loop, .vt-cue, .vt-ico, .vt-box[open], .vt-big, .vt-btn, .vt { transition: none; animation: none; }
  .vt-ico svg path { animation: none !important; }
}
