/* All pinned tracks become ordinary content without the scrub class. */
.sec { padding: clamp(72px, 9vw, 132px) var(--pad); }
.sec-head { max-width: 1384px; margin: 0 auto; display: grid; justify-items: center; text-align: center; gap: 18px; }
.sec-head > .t-lede { max-width: 700px; }
.hero { margin: var(--gap); border-radius: var(--r-panel); background: var(--forest); }
.hero-copy { display: grid; justify-items: start; gap: clamp(14px, 1.6vw, 24px); }
.hero-copy h1 { width: 100%; }
.hero-copy .actions { margin-top: 8px; }
.hero-still img { z-index: 1; opacity: var(--still, 0); }
.hero-end { opacity: var(--end, 1); backdrop-filter: blur(18px); text-align: center; }
.scrub .hero-end { opacity: var(--end, 0); }
@media (min-width: 721px) {
  .scrub .hero { height: 230vh; }
  .hero-pin { --pin-h: min(calc(100svh - 24px), calc((100vw - 24px) / 1.2)); position: sticky; top: var(--gap); min-height: var(--pin-h); border-radius: var(--r-panel); overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; }
  .scrub .hero-pin { height: var(--pin-h); }
  html:not(.scrub) .hero-pin { position: relative; }
  .hero-track, .hero-film { position: absolute; inset: 0; }
  .hero-film img, .hero-film video { object-position: 50% 100%; }
  .hero-copy { position: relative; z-index: 3; padding: calc(var(--nav-h) + 96px) var(--pad) clamp(36px, 7vh, 84px); opacity: var(--copy, 1); transform: translateY(calc((1 - var(--copy, 1)) * -40px)); }
  .hero-copy .ln { white-space: nowrap; }
  .hero-copy h1 { max-width: none; }
  .hero-body { max-width: 720px; }
  .hero-shade { position: absolute; inset: 0; z-index: 2; pointer-events: none; opacity: var(--shade, 1); background: linear-gradient(to top, oklch(.17 .03 155 / .88) 0, oklch(.17 .03 155 / .45) 38%, transparent 68%); }
  .hero-end { position: absolute; z-index: 3; right: var(--pad); bottom: clamp(18px, 4vh, 40px); }
  html:not(.scrub) .hero-end { right: auto; bottom: auto; left: var(--pad); top: calc(var(--nav-h) + 36px); }
}
@media (max-width: 720px) {
  .hero { border-radius: var(--r-panel); padding-bottom: var(--gap); }
  .hero-copy { padding: calc(var(--nav-h) + 36px) 20px 4px; gap: 14px; }
  .hero-copy .ln { white-space: nowrap; }
  .hero-copy .actions { gap: 4px 18px; }
  .hero-copy .link { font-size: 16px; }
  .hero-track { padding: 16px 12px 0; }
  .scrub .hero-track { height: 210vh; }
  .hero-film { position: sticky; margin-inline: auto; border-radius: var(--r-card); aspect-ratio: 3 / 4; width: min(calc(100vw - 48px), calc((100svh - var(--nav-h) - 36px) * .75)); top: calc(var(--nav-h) + 24px + max(0px, (100svh - var(--nav-h) - 36px - (100vw - 48px) * 1.3334) / 2)); }
  .hero-shade { display: none; }
  .hero-end { position: absolute; z-index: 3; left: 50%; bottom: 10px; translate: -50% 0; white-space: nowrap; min-height: 36px; padding: 0 14px; font-size: 14px; }
}
[data-drift] { overflow: hidden; }
[data-drift] img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); }
.intro { text-align: center; }
.section-label { display: flex; justify-content: center; align-items: center; gap: 10px; margin-bottom: 28px; }
.say-text { max-width: 1100px; margin: 0 auto; }
.scrub .say-text .w { color: oklch(.3 .065 155 / .16); transition: color .2s; }
.scrub .say-text .w.lit { color: var(--forest); }
.places { max-width: var(--wrap); margin: 64px auto 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.place-pic { aspect-ratio: 4 / 5; border-radius: var(--r-card); }
.place-pic picture { display: block; height: 100%; }
.places figcaption { margin-top: 20px; }
.places figure:nth-child(2) { margin-top: 8%; }
.intro-close { display: grid; justify-items: center; gap: 16px; max-width: 730px; margin: 64px auto 0; }
.wide-photo { width: 100%; aspect-ratio: 21 / 9; border-radius: var(--r-card); }
.wide-photo picture { display: block; height: 100%; }
.family .wide-photo { margin-top: 24px; }
.fam { margin: var(--gap); padding: var(--pad); border-radius: var(--r-panel); background: var(--sage-stick); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); }
.fam-pic { width: min(100%, calc(100svh - 160px)); overflow: hidden; border-radius: var(--r-card); aspect-ratio: 1; }
.fam-pic img { width: 100%; height: auto; }
#itchstick .fam-pic { position: sticky; top: calc(var(--nav-h) + 24px); align-self: start; }
.fam-block { min-height: 70svh; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 22px; }
.fam.flip { background: var(--sage-patch); align-items: center; }
.fam.flip .fam-pic { grid-column: 2; grid-row: 1; }
.fam.flip .fam-copy { grid-column: 1; grid-row: 1; }
.fam.flip .fam-block { min-height: 0; padding-block: 32px; }
.design-note { margin: 24px var(--pad) 64px; color: var(--muted); text-align: center; }
.belief { position: relative; isolation: isolate; overflow: hidden; margin: var(--gap); border-radius: var(--r-panel); min-height: calc(100svh - 24px); display: flex; align-items: flex-end; background: var(--night); }
.belief-media { position: absolute; inset: 0; z-index: -2; }
.belief-media picture { display: block; height: 100%; }
.belief::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(28deg, oklch(.17 .03 155 / .94), oklch(.17 .03 155 / .42) 45%, transparent 85%); }
.belief-copy { padding: clamp(36px, 6vw, 88px) var(--pad); display: grid; gap: 28px; }
h2 > .bl { display: block; }
.story { margin: var(--gap); border-radius: var(--r-panel); padding: var(--pad); background: var(--bone); }
.story-head { display: grid; grid-template-columns: 1fr 1fr; align-items: end; gap: 8%; margin-block: 28px 44px; }
.story-head h2 { margin-top: 18px; }
.story-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8%; margin-block: 56px 20px; }
.story-fig { position: sticky; top: calc(var(--nav-h) + 24px); align-self: start; width: min(100%, calc((100svh - var(--nav-h) - 96px) * .8)); }
.story-fig img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--r-card); }
.story-fig figcaption { margin-top: 14px; color: var(--muted); }
.story-copy { display: grid; align-content: start; gap: 28px; }
.founder-row { display: flex; align-items: center; gap: 18px; }
.founder-row img { width: 72px; height: 72px; object-fit: cover; border-radius: 50%; }
.founder-row h3 { font-size: 26px; margin-bottom: 6px; }
.poster-stage { perspective: 1600px; }
.poster { display: block; width: 100%; position: relative; aspect-ratio: 16 / 9; border-radius: var(--r-card); overflow: hidden; transform-origin: 50% 100%; }
.poster img { width: 100%; height: 100%; object-fit: contain; }
.poster-play { display: grid; place-items: center; position: absolute; right: 20px; bottom: 20px; width: 72px; height: 72px; border-radius: 50%; background: var(--accent); color: var(--forest); }
.poster-play svg { width: 28px; height: 28px; }
.next .sec-head { margin-bottom: 52px; }
.bento { max-width: var(--wrap); margin: 0 auto; display: grid; gap: var(--gap); grid-template-columns: repeat(6, minmax(0, 1fr)); }
.cell { position: relative; isolation: isolate; overflow: hidden; border-radius: var(--r-card); min-height: 320px; background: var(--night); display: flex; flex-direction: column; justify-content: flex-end; grid-column: span 2; }
.cell.big { grid-column: span 4; grid-row: span 2; }
.cell-media { position: absolute; inset: 0; z-index: -2; }
.cell-media picture { display: block; height: 100%; }
.cell.on-dark::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, oklch(.17 .03 155 / .94), oklch(.17 .03 155 / .5) 50%, transparent 100%); }
.play-cell::before { background: oklch(.17 .03 155 / .77) !important; }
.cell-copy { padding: clamp(20px, 2.4vw, 32px); display: grid; gap: 14px; justify-items: start; }
.cell.big .cell-copy { gap: 20px; }
.cell-copy p { max-width: 38ch; }
.cell-copy .t-small { font-size: 14px; }
.field-note { font-size: 14px; padding: 10px 14px; border-radius: var(--r-ctl); background: oklch(.98 .008 95 / .15); backdrop-filter: blur(14px); }
.cell.tote { background: var(--sage-tote); }
.tote figure { padding: 20px 20px 0; }
.tote img { width: 100%; height: auto; border-radius: var(--r-card); }
.tote figcaption { padding-top: 10px; }
.spark { background: var(--night); background: color-mix(in oklab, var(--accent) calc(var(--flood, 0) * 100%), var(--night)); }
.scrub .spark { height: 220vh; }
.spark-pin { position: sticky; top: 0; height: 100svh; overflow: hidden; }
.spark-film { position: absolute; inset: 0; }
.spark-shade { position: absolute; inset: 0; background: linear-gradient(to top, oklch(.17 .03 155 / .8), transparent 65%); }
.spark-cap { position: absolute; left: var(--pad); bottom: var(--pad); max-width: 760px; right: var(--pad); opacity: var(--cap, 1); }
.spark-flood { position: absolute; inset: 0; z-index: 4; background: var(--accent); opacity: var(--flood, 0); pointer-events: none; }
html:not(.scrub) .spark { margin: var(--gap); background: none; }
html:not(.scrub) .spark-pin { position: relative; height: auto; aspect-ratio: 16 / 9; border-radius: var(--r-panel); }
.contact { background: var(--accent); min-height: 100svh; padding: calc(var(--nav-h) + 48px) var(--pad) clamp(32px, 5vw, 72px); display: flex; flex-direction: column; justify-content: space-between; gap: 48px; }
.contact h2 { margin-top: 28px; }
.contact-bottom { display: grid; grid-template-columns: 5fr 7fr; gap: 7%; align-items: end; }
.contact-bottom > p { max-width: 500px; }
.contact-links { display: grid; gap: 20px; justify-items: start; }
.topics { display: flex; flex-wrap: wrap; gap: 8px; }
.pill { display: inline-flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 48px; padding: 10px 16px; border-radius: var(--r-ctl); box-shadow: inset 0 0 0 1.5px var(--forest); font-size: 15px; }
.pill:hover { background: oklch(.98 .008 95 / .2); }
.foot { padding: 48px var(--pad) 24px; }
.foot-top, .foot-base { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.foot-top img { width: 180px; height: auto; }
.foot-base { border-top: 1px solid var(--line); margin-top: 32px; padding-top: 18px; font-size: 14px; }
.foot-base .link { font-size: 14px; }
.foot noscript p { margin-top: 24px; }
@media (max-width: 899px) {
  .places, .fam, .story-head, .story-grid, .bento, .contact-bottom { grid-template-columns: minmax(0, 1fr); }
  .places { max-width: 560px; gap: 40px; }
  .places figure:nth-child(2) { margin-top: 0; }
  .fam { gap: 32px; }
  #itchstick .fam-pic, .story-fig { position: static; }
  .fam-pic { width: 100%; }
  .fam-block { min-height: 0; padding-block: 20px; }
  .fam.flip .fam-pic, .fam.flip .fam-copy { grid-column: auto; grid-row: auto; }
  .story-head, .story-grid { gap: 32px; }
  .story-fig { width: min(100%, 520px); margin: 0 auto; }
  .cell, .cell.big { grid-column: auto; grid-row: auto; }
  .cell.big { min-height: 580px; }
  .cell.tote { display: grid; grid-template-columns: 1fr 1fr; align-items: center; }
  .tote figure { padding: 20px; }
  .contact-bottom { gap: 28px; }
  .contact-links, .topics, .topics li { width: 100%; }
  .topics { display: grid; }
  .pill { display: flex; min-height: 52px; }
  .contact-links > .btn { width: 100%; }
}
@media (max-width: 720px) {
  .sec { padding-block: 68px; }
  .wide-photo { aspect-ratio: 4 / 5; }
  .belief { min-height: 86svh; }
  .belief-copy { gap: 22px; padding-block: 36px; }
  .story-head { margin-top: 16px; }
  .cell.tote { display: flex; }
  .cell.big { min-height: 480px; }
  .scrub .spark { height: 190vh; }
  html:not(.scrub) .spark-pin { aspect-ratio: 3 / 4; }
}

dialog{border:0;border-radius:18px;color:var(--forest);background:var(--paper);padding:0;width:min(94vw,600px);max-height:88svh;overscroll-behavior:contain;box-shadow:0 20px 100px oklch(0 0 0/.2)}dialog::backdrop{background:oklch(.15 .035 155/.65);backdrop-filter:blur(5px)}.dialog-top{padding:1rem 1.5rem;display:flex;justify-content:space-between;align-items:center;position:sticky;top:0;background:var(--paper);z-index:2}.dialog-close{font-size:2rem;min-width:44px}.dialog-copy{padding:1.7rem 2rem 2rem}.dialog-copy h2{font-size:2.8rem;margin:.6rem 0 1rem}.dialog-copy>p{line-height:1.6}.dialog-copy .detail-note{font-size:.85rem;color:var(--muted);margin:1rem 0 1.5rem}
/* Foreground founder video: the existing agency player in the company modal. */
.dialog-close>svg{width:24px;height:24px;flex-shrink:0}
.dialog-close{display:grid;place-items:center;padding:0;width:44px;height:44px}
#detail-dialog[data-detail="founder"]{width:min(94vw,1060px);max-height:94svh;background:oklch(.08 0 0);color:var(--paper)}
#detail-dialog[data-detail="founder"] .dialog-top{background:oklch(.08 0 0);color:var(--paper);padding:.4rem 1rem}
#founder-player-tools{display:flex;align-items:center;gap:.25rem;min-width:0}
.player-credit{font-size:.78rem;font-weight:600;letter-spacing:.015em}
#founder-player-help{display:grid;place-items:center;width:44px;height:44px;padding:10px;border-radius:50%}
#founder-player-help>svg{width:20px;height:20px}
#founder-player{--on-accent:var(--forest)}
#founder-player .player-shell{height:auto;min-height:0;max-height:none;aspect-ratio:16/9;border-radius:0}
#founder-player .player-anchor{scroll-margin-top:0}
#founder-player .main-video{object-fit:contain}
#founder-player .video-button,#founder-player .center-play{min-height:44px}
#founder-player .video-failure .btn{padding:.6rem 1rem;border:1px solid currentColor;border-radius:99px}
#founder-player .video-direct{display:flex;align-items:center;justify-content:center;gap:.5rem;font-size:.9rem;margin-top:.75rem;text-decoration:underline;text-underline-offset:4px}
#founder-player .video-direct svg{width:18px;height:18px}
#founder-player .video-loading{position:absolute;inset:50% 1rem auto;text-align:center}
#detail-dialog[data-detail="founder"] .dialog-copy{padding:1.2rem 1.5rem 1.5rem}
#detail-dialog[data-detail="founder"] .dialog-copy h2{font-size:1.7rem;margin:.3rem 0 .7rem}
#detail-dialog[data-detail="founder"] .detail-note{margin-bottom:0;color:oklch(.8 .015 95)}
.player-info{position:absolute;top:60px;right:16px;left:16px;margin-left:auto;max-width:460px;padding:1.4rem;background:var(--paper);color:var(--forest);border:1px solid var(--line);border-radius:12px;z-index:15;max-height:calc(100svh - 120px);overflow:auto;box-shadow:0 8px 35px oklch(0 0 0/.3)}
.player-info h3{font-size:1.2rem;letter-spacing:-.02em}.player-info p{font-size:.9rem;margin-top:.8rem}.player-info a{display:flex;align-items:center;gap:.75rem;margin-top:.8rem;text-decoration:underline;text-underline-offset:4px;font-size:.85rem}.player-info a svg{width:18px;height:18px;flex-shrink:0}
button,summary{-webkit-user-select:none;user-select:none}
#founder-player .panorama:has(.pan-input:focus-visible){outline:3px solid var(--paper);outline-offset:3px}
@media(min-width:721px){#founder-player [data-player="fit"]{display:none}}
@media(max-width:720px){
  #detail-dialog[data-detail="founder"]{width:100vw;max-width:none;height:100dvh;max-height:none;margin:0;border-radius:0;overflow:hidden}
  #detail-dialog[data-detail="founder"] .dialog-top{position:absolute;inset:0 0 auto;z-index:10;background:linear-gradient(oklch(0 0 0/.72),transparent);padding:calc(.3rem + env(safe-area-inset-top)) .8rem .6rem}
  #founder-player .player-shell{height:100dvh;aspect-ratio:auto;min-height:0}
  #founder-player .main-video{object-fit:cover}
  #founder-player .player-top{top:calc(66px + env(safe-area-inset-top));left:12px;right:12px}
  #founder-player .player-bottom{padding-bottom:calc(12px + env(safe-area-inset-bottom))}
  #detail-dialog[data-detail="founder"] .dialog-copy{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
  .player-info{top:calc(64px + env(safe-area-inset-top));max-height:calc(100dvh - 100px - env(safe-area-inset-top));right:12px;left:12px}
}

#founder-player .btn { background: var(--accent); color: var(--forest); min-height: 44px; }
