@import url("tokens.css?v=2");

/* Shared site styles. Later responsive/state rules intentionally retain cascade order. */

@font-face {
  font-family: "Pulp Serif";
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url("assets/pulp-light.ttf");
}

@font-face {
  font-family: "Pulp Serif";
  font-style: italic;
  font-weight: 300;
  font-display: swap;
  src: url("assets/pulp-light-italic.ttf");
}

@font-face {
  font-family: "Pulp Serif";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/pulp-regular.ttf");
}

@font-face {
  font-family: "Pulp Serif";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("assets/pulp-regular-italic.ttf");
}

@font-face {
  font-family: Geist;
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/geist-regular.woff2") format("woff2");
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  background: var(--color-paper);
  color: var(--color-ink);
}

body {
  font-family: Arial, Helvetica, sans-serif;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  font: inherit;
  color: inherit;
  cursor: pointer;
}

header {
  padding: 5.7vh 3.75vw 0;
}

.brand {
  white-space: nowrap;
  color: #151515;
  text-decoration: none;
  font-size: clamp(20px, 1.65vw, 34px);
  line-height: 1.2;
}

nav {
  display: flex;
  justify-content: space-between;
  flex: 1;
  gap: 28px;
}

nav button {
  background: none;
  border: 0;
  padding: 0;
  color: var(--color-muted);
  white-space: nowrap;
  font-size: clamp(16px, 1.65vw, 34px);
  line-height: 1.2;
  transition: color 0.2s;
}

nav button:hover,
nav button[aria-current="page"] {
  color: #242424;
}

button:focus-visible,
a:focus-visible {
  outline: 2px solid #6966b5;
  outline-offset: 8px;
}

.landing {
  height: 84.25svh;
  min-height: 420px;
}

.marquee {
  height: 100%;
  display: flex;
  align-items: center;
}

.track {
  display: flex;
  width: max-content;
  animation: travel 55s linear infinite;
  will-change: transform;
}

.track.is-interactive {
  animation: none !important;
}

.marquee {
  pointer-events: auto;
  cursor: grab;
  touch-action: pan-y pinch-zoom;
  user-select: none;
  -webkit-user-select: none;
}

.marquee.is-dragging {
  cursor: grabbing;
}

.phrase {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.phrase > span {
  font:
    400 18.2vw/0.95 "Pulp Serif",
    Didot,
    serif;
  letter-spacing: var(--title-tracking);
}

.phrase > .pulp {
  font-style: italic;
  letter-spacing: var(--title-tracking);
  padding-right: 0.025em;
}

.fruit {
  position: relative;
  overflow: hidden;
  width: 17.5vw;
  height: 22.4vw;
  flex-shrink: 0;
  animation: none;
}

.fruit img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  user-select: none;
}

.intro {
  transform-origin: 50% 45%;
}

.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;
}

@keyframes travel {
  to {
    transform: translateX(-50%);
  }
}

@media (max-width: 700px) {
  .brand {
    font-size: 22px;
  }

  nav {
    margin-top: 27px;
    gap: 14px;
    justify-content: space-between;
    flex-wrap: wrap;
  }

  nav button {
    font-size: 14px;
  }

  .landing {
    min-height: 390px;
  }

  .phrase > span {
    font-size: 34.3vw;
  }

  .fruit {
    width: 32.2vw;
    height: 41.3vw;
  }
}

@media (prefers-reduced-motion: reduce) {
  .marquee {
    animation: none;
  }

  .track,
  .fruit {
    animation: none !important;
  }
}

.fruit .fruit-frame {
  position: absolute;
  inset: 0;
  will-change: opacity;
}

header {
  position: sticky;
  top: 0;
  z-index: 20;
}

.hero-scroll {
  height: auto;
  position: relative;
}

.hero-scroll[hidden] {
  display: none;
}

.landing {
  position: relative;
  overflow: clip;
  --scroll-scale: 1;
}

.marquee {
  transform: translateY(-7vh) scale(var(--scroll-scale));
  transform-origin: 50% 48%;
  will-change: transform;
}

.feature {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  align-items: center;
  gap: 4.8vw;
  width: 59%;
  padding: 120px 0;
}

.video-still {
  position: relative;
  aspect-ratio: 2062/1150;
  overflow: hidden;
}

.video-still img {
  display: block;
  width: 100%;
  height: auto;
}

[data-video-trigger] .video-still img {
  transform: scale(1);
  transition: transform 650ms cubic-bezier(0.22, 1, 0.36, 1);
}

@media (hover: hover) {
  [data-video-trigger]:hover .video-still img {
    transform: scale(1.055);
  }
}

[data-video-trigger]:focus-visible .video-still img {
  transform: scale(1.055);
}

@media (prefers-reduced-motion: reduce) {
  [data-video-trigger] .video-still img {
    transition: none;
    transform: none;
  }
}

.feature h2 {
  font:
    400 clamp(32px, 3vw, 64px)/1.12 Georgia,
    serif;
  letter-spacing: -0.02em;
  margin: 0 0 32px;
  color: #111;
}

.byline {
  display: flex;
  align-items: baseline;
  gap: var(--space-24);
  flex-wrap: wrap;
  font:
    400 clamp(14px, 1vw, 20px)/1.5 Georgia,
    serif;
  margin: 0;
}

.byline time {
  color: var(--color-muted);
}

@media (max-width: 700px) {
  .feature {
    width: 86%;
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 100px 0;
  }

  .feature h2 {
    font-size: 38px;
    margin-bottom: 22px;
  }

  .byline {
    font-size: 16px;
  }

  .marquee {
    transform: translateY(-8vh) scale(var(--scroll-scale));
  }
}

@media (prefers-reduced-motion: reduce) {
  .marquee {
    will-change: auto;
  }
}

header {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0;
  align-items: start;
}

header nav {
  display: contents;
}

header .brand,
header nav button {
  font-family: Geist, Arial, sans-serif;
  font-size: 16px;
  font-weight: 400;
  letter-spacing: -0.015em;
  text-align: center;
  justify-self: center;
  white-space: nowrap;
}

header .brand {
  justify-self: start;
}

header nav button:last-child {
  justify-self: end;
}

@media (max-width: 700px) {
  header {
    padding: 26px 12px;
    column-gap: 8px;
  }

  header .brand,
  header nav button {
    font-size: 16px;
    white-space: normal;
    line-height: 1.35;
  }

  header nav {
    margin: 0;
  }

  .landing {
    height: calc(100svh - 130px);
  }
}

.fruit .fruit-frame {
  transform: scale(1.08);
}

.phrase > span {
  color: var(--color-heading);
}

.marquee {
  opacity: 1;
}

.editorial-panel {
  min-height: 84.25svh;
  display: grid;
  place-items: center;
  background: var(--color-paper);
  scroll-margin-top: 15.75vh;
}

.editorial-panel .feature h2 {
  font:
    400 clamp(48px, 4.6vw, 92px)/1.08 "Pulp Serif",
    Didot,
    serif;
  letter-spacing: -0.045em;
  margin: 0 0 30px;
  color: var(--color-heading);
}

.editorial-panel .byline {
  font:
    400 clamp(14px, 1.1vw, 22px)/1.45 Geist,
    Arial,
    sans-serif;
  row-gap: 8px;
}

.feature-placeholder {
  width: 100%;
  aspect-ratio: 2.04/1;
}

.feature-placeholder--peach {
  background: #c9d0e2;
}

.culture-thumbnail {
  display: block;
  height: auto;
  object-fit: contain;
}

.feature-placeholder--lilac {
  background: #f5eee1;
}

.team-grid {
  width: 84%;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));

  gap: var(--team-photo-gap);
}

.team-photo {
  aspect-ratio: 1;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

.team-photo--tovin {
  background-image: url("assets/tovin-portrait.jpg?v=1");
}

.team-photo--jenice {
  background-image: url("assets/jenice-portrait-cropped.jpg?v=1");
}

.editorial-panel > .feature,
.editorial-panel > .team-grid {
  transform: scale(var(--exit-scale, 1));
  transform-origin: center;
  opacity: var(--exit-opacity, 1);
  will-change: transform, opacity;
}

.editorial-panel > .feature {
  pointer-events: auto;
}

header .brand[aria-current="page"] {
  color: #151515;
}

header:has(nav button[aria-current="page"]) .brand:not([aria-current="page"]) {
  color: #999;
}

@media (max-width: 700px) {
  .editorial-panel {
    min-height: calc(100svh - 130px);
    scroll-margin-top: 130px;
  }

  .editorial-panel .feature h2 {
    font-size: clamp(42px, 11vw, 64px);
  }

  .editorial-panel .byline {
    font-size: 14px;
  }

  .team-grid {
    width: 90%;

    gap: var(--team-photo-gap);
  }
}

body.intro-active header {
  opacity: 0;
}

.marquee {
  animation: none;
  --marquee-y: -7vh;
}

body.intro-active .marquee {
  animation: intro-marquee 6.65s ease-out both;
  animation-delay: 0.3s;
}

body.intro-holding .track {
  animation: none;
  transform: translateX(0);
}

/* Keep every intro layer on frame zero until the first-load assets settle. */
body.intro-pending .intro,
body.intro-pending .intro-question,
body.intro-pending .intro-pane,
body.intro-pending .marquee {
  animation-play-state: paused;
}

.intro {
  position: fixed;
  inset: 0;
  z-index: 40;
  overflow: hidden;
  pointer-events: none;
  background: var(--color-paper);
  animation: intro-shell 6.65s linear both;
  animation-delay: 0.3s;
}

.intro-question {
  position: absolute;
  z-index: 3;
  left: 50%;
  top: 50%;
  margin: 0;
  text-align: center;
  animation: intro-question-out 6s ease both;
  transform: translate(-50%, -50%);
}

.intro-panels {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.intro-pane {
  position: relative;
  min-width: 0;
  height: 100%;
  background: var(--pane-color);
  animation-duration: 6.65s;
  animation-delay: 0.3s;
  animation-fill-mode: both;
  animation-timing-function: linear;
}

.intro-pane--blue {
  --pane-color: #7d8abd;
  animation-name: intro-pane-1;
}

.intro-pane--yellow {
  --pane-color: #fff8e9;
  animation-name: intro-pane-2;
}

.intro-pane--beige {
  --pane-color: #f4eee2;
  animation-name: intro-pane-3;
}

.intro-pane--green {
  --pane-color: #ddefe9;
  animation-name: intro-pane-4;
}

.intro-pane--light-blue {
  --pane-color: #d8e2f2;
  animation-name: intro-pane-5;
}

@keyframes intro-shell {
  0%,
  69.96687% {
    background: var(--color-paper);
    visibility: visible;
  }

  70.93567%,
  100% {
    background: transparent;
    visibility: visible;
  }
}

@keyframes intro-question-out {
  0% {
    opacity: 0;
  }

  13.33333%,
  32.06667% {
    opacity: 1;
  }

  41.83419%,
  100% {
    opacity: 0;
  }
}

@keyframes intro-pane-1 {
  0%,
  25.26316% {
    transform: translateY(-100%);
    animation-timing-function: cubic-bezier(0.25, 0.72, 0.18, 1);
  }

  41.31064%,
  69.96687% {
    transform: translateY(0);
    animation-timing-function: cubic-bezier(0.55, 0, 0.35, 1);
  }

  100% {
    transform: translateY(-100%);
  }
}

@keyframes intro-pane-2 {
  0%,
  32.14065% {
    transform: translateY(-100%);
    animation-timing-function: cubic-bezier(0.25, 0.72, 0.18, 1);
  }

  48.18813%,
  69.96687% {
    transform: translateY(0);
    animation-timing-function: cubic-bezier(0.55, 0, 0.35, 1);
  }

  100% {
    transform: translateY(-100%);
  }
}

@keyframes intro-pane-3 {
  0%,
  39.01814% {
    transform: translateY(-100%);
    animation-timing-function: cubic-bezier(0.25, 0.72, 0.18, 1);
  }

  55.06563%,
  69.96687% {
    transform: translateY(0);
    animation-timing-function: cubic-bezier(0.55, 0, 0.35, 1);
  }

  100% {
    transform: translateY(-100%);
  }
}

@keyframes intro-pane-4 {
  0%,
  45.89563% {
    transform: translateY(-100%);
    animation-timing-function: cubic-bezier(0.25, 0.72, 0.18, 1);
  }

  61.94312%,
  69.96687% {
    transform: translateY(0);
    animation-timing-function: cubic-bezier(0.55, 0, 0.35, 1);
  }

  100% {
    transform: translateY(-100%);
  }
}

@keyframes intro-pane-5 {
  0%,
  52.77313% {
    transform: translateY(-100%);
    animation-timing-function: cubic-bezier(0.25, 0.72, 0.18, 1);
  }

  68.82061%,
  69.96687% {
    transform: translateY(0);
    animation-timing-function: cubic-bezier(0.55, 0, 0.35, 1);
  }

  100% {
    transform: translateY(-100%);
  }
}

@keyframes intro-marquee {
  0%,
  69.96687% {
    opacity: 0;
    transform: translateY(var(--marquee-y));
  }

  70.93567%,
  100% {
    opacity: var(--marquee-opacity, 1);
    transform: translateY(var(--marquee-y));
  }
}

@media (max-width: 700px) {
  .marquee {
    --marquee-y: -8vh;
  }
}

@media (prefers-reduced-motion: reduce) {
  .intro {
    display: none;
  }

  body.intro-active header {
    opacity: 1;
  }

  body.intro-active .marquee {
    animation: none;
  }

  body.intro-active .track {
    animation: travel 55s linear infinite;
  }
}

body:not(.intro-active) .intro {
  animation: none;
  opacity: 0;
  visibility: hidden;
}

body:not(.intro-active) .intro-question,
body:not(.intro-active) .intro-pane {
  animation: none;
}

html,
body {
  overflow-x: clip;
}

.team-content {
  width: 100%;
  transform: translateY(-2vh) scale(var(--exit-scale, 1));
  transform-origin: center;
  opacity: var(--exit-opacity, 1);
  will-change: transform, opacity;
}

.team-content .team-grid {
  margin-inline: auto;
  top: -8px;
  position: relative;
}

.team-photo {
  cursor: pointer;
  display: block;
  width: 100%;
  border: 0;
  padding: 0;
  appearance: none;
  transition: opacity 0.22s ease;
}

.team-bio {
  width: min(80ch, calc(100vw - 48px));
  height: 100px;
  margin: clamp(56px, 8.5vh, 110px) auto 0;
  text-align: center;
  font:
    400 18px/1.5 Geist,
    Arial,
    sans-serif;
  color: #333;
  position: relative;
  overflow-anchor: none;
  transition: none;
}

.team-bio-layer {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
}

/* Preserve personal copy wrapping while the team layout returns behind it. */
.team-bio-layer--personal {
  width: min(80ch, calc(100vw - 48px));
  max-width: 100%;
  margin-inline: auto;
}

.team-bio a {
  color: inherit;
  text-underline-offset: 3px;
}

@media (max-width: 700px) {
  .team-content {
    transform: translateY(0) scale(var(--exit-scale, 1));
  }

  .team-bio {
    height: 190px;
    margin-top: 32px;
    font-size: 16px;
  }
}

.editorial-panel .feature {
  position: relative;
  isolation: isolate;
  cursor: none;
}

.editorial-panel .feature::before {
  content: "";
  position: absolute;
  z-index: -1;
  background: var(--article-hover);
  opacity: 0;
  transition: opacity 0.24s ease;
  pointer-events: none;
}

.editorial-panel .feature:is(:hover, :focus-visible)::before {
  opacity: 1;
}

.editorial-panel .feature-placeholder {
  transition: background-color 0.24s ease;
}

#squeeze .feature {
  --article-hover: var(--color-butter);
}

.article-cursor {
  position: fixed;
  z-index: 60;
  width: calc(clamp(77px, 7.2vw, 115px) * var(--cursor-scale, 1));
  height: auto;
  pointer-events: none;
  visibility: hidden;
  transform: translate(-48%, -50%) rotate(var(--cursor-rotation, 0deg)) scale(1);
  transition: transform 0.25s ease-out;
  will-change: left, top, transform;
}

.article-cursor.is-shaken {
  transform: translate(-48%, -50%) rotate(var(--cursor-rotation, 0deg))
    scale(2.2);
}

@media (prefers-reduced-motion: reduce) {
  .article-cursor {
    transition: none;
  }
}

.article-cursor.is-visible {
  visibility: visible;
}

@media (max-width: 700px) {
  .editorial-panel .feature {
    cursor: auto;
  }

  .article-cursor {
    display: none;
  }
}

.intro-pane {
  background-repeat: no-repeat;
  background-size: auto 100%;
  background-position: center;
}

.intro-pane--blue {
  background-image: url("assets/pears-pink.webp");
}

.intro-pane--yellow {
  background-image: url("assets/lemons.webp");
  background-position: 35% center;
}

.intro-pane--beige {
  background-image: url("assets/grapes.webp");
}

.intro-pane--green {
  background-image: url("assets/apples.webp");
}

.intro-pane--light-blue {
  background-image: url("assets/pears-purple.webp");
}

header {
  background: var(--color-paper);
}

.hero-scroll {
  overflow: clip;
}

a.feature {
  color: inherit;
  text-decoration: none;
}

html:has(.article-page),
body.article-page {
  background: var(--article-background, var(--color-paper));
}

.article-page {
  min-height: 100svh;
  font-family: Geist, Arial, sans-serif;
}

.article-detail {
  --article-body-size: 16px;
  width: min(1120px, 88vw);
  margin: clamp(80px, 12vh, 150px) auto 100px;
}

.article-detail h1 {
  width: fit-content;
  max-width: 100%;
  margin: 0 auto 32px;
  text-align: center;
  font-size: var(--article-title-size);
}

.article-detail .byline {
  justify-content: center;
  font:
    400 var(--article-body-size)/1.5 Geist,
    Arial,
    sans-serif;
}

.article-body {
  max-width: var(--content-width);
  margin: 64px auto 0;
  font-size: var(--article-body-size);
  line-height: 1.5;
}

@media (max-width: 700px) {
  .article-detail {
    --article-body-size: 17px;
    margin-top: 64px;
  }

  .article-body {
    margin-top: 40px;
  }
}

body.video-open {
  overflow: hidden;
}

.video-dialog {
  width: min(94vw, calc((100svh - 100px) * 16 / 9));
  max-width: none;
  max-height: none;
  aspect-ratio: 16/9;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: #111;
  overflow: visible;
  box-shadow: 0 20px 80px #0002;
}

.video-dialog::backdrop {
  background: rgb(255 253 250 / 0.65);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.video-dialog iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: inherit;
}

.video-close {
  position: absolute;
  right: 0;
  top: -44px;
  border: 0;
  border-radius: 50%;
  width: 34px;
  height: 34px;
  background: var(--color-paper);
  color: var(--color-ink);
  font:
    400 26px/1 Arial,
    sans-serif;
}

@media (max-width: 700px) {
  .video-dialog {
    width: min(96vw, calc((100svh - 80px) * 16 / 9));
    border-radius: 0;
  }
}

.team-bio {
  white-space: pre-line;
  text-wrap: balance;
}

header {
  padding-inline: calc((100vw - var(--homepage-container-width)) / 2);
}

.editorial-panel .feature {
  width: min(84%, 1160px);
  grid-template-columns: 0.85fr 1fr;
  gap: clamp(48px, 5vw, 80px);
}

.editorial-panel .video-still,
.editorial-panel .feature-placeholder {
  aspect-ratio: 16/9;
}

.editorial-panel .video-still {
  aspect-ratio: 2062/1150;
}

.team-content .team-grid {
  width: var(--homepage-container-width);
}

@media (max-width: 700px) {
  header {
    padding-inline: 12px;
  }

  .editorial-panel .feature {
    width: 90%;
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .team-content .team-grid {
    width: 90%;
  }
}

.pulp-footer {
  position: relative;
  isolation: isolate;
  height: 100svh;
  min-height: 560px;
  overflow: hidden;
  background: var(--color-footer);
  /* Settled fruit reaches 16.8% of the composition width (minimum 760px).
     Reserve it before images decode so the statement never shifts on entry. */
  padding-top: var(--footer-viewport-offset, 0px);
  padding-bottom: max(127.68px, 16.8vw);
  display: grid;
  place-items: center;
}

.footer-statement {
  position: relative;
  top: clamp(20px, 4vh, 40px);
  z-index: 2;
  margin: 0 24px;
  text-align: center;
  color: var(--color-paper);
  font:
    300 clamp(36px, 5.35vw, 128px)/1.02 "Pulp Serif",
    Didot,
    serif;
  letter-spacing: -0.035em;
  pointer-events: none;
}

.footer-fruits {
  position: fixed;
  inset: 0;
  z-index: 30;
  pointer-events: none;
  overflow: hidden;
}

.fruit-credit {
  position: absolute;
  bottom: max(150px, 17vw);
  left: 24px;
  right: 24px;
  margin: 0;
  text-align: center;
  font:
    400 12px/1.5 Geist,
    Arial,
    sans-serif;
  color: var(--color-paper);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.fruit-credit a {
  color: inherit;
  text-underline-offset: 3px;
}

@media (min-width: 1800px) {
  .fruit-credit {
    bottom: calc(17vw - 24px);
  }
}

body.in-footer .fruit-credit:is(.is-visible, :focus-within) {
  opacity: 0.85;
  pointer-events: auto;
}

@media (hover: hover) {
  body.in-footer .footer-fruit {
    pointer-events: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .fruit-credit {
    transition: none;
  }
}

.footer-fruit {
  position: absolute;
  left: var(--x);
  bottom: var(--bottom);
  width: var(--size);
  object-fit: contain;
  transform: translateX(-50%) rotate(var(--rotation));
  opacity: 0;
  user-select: none;
}

body.in-footer header {
  background: var(--color-footer);
}

body.in-footer header .brand,
body.in-footer header nav button {
  color: var(--color-paper);
}

header {
  transition:
    background-color 0.2s ease,
    opacity 0.35s ease;
}

@media (max-width: 700px) {
  .pulp-footer {
    min-height: 580px;
  }

  .footer-statement {
    font-size: clamp(36px, 7.7vw, 54px);
    margin-bottom: 0;
    max-width: 90%;
  }

  .footer-break {
    display: none;
  }
}

body.in-footer
  header:has(nav button[aria-current="page"])
  .brand:not([aria-current="page"]) {
  color: var(--color-paper);
}

@media (min-width: 701px) {
  header {
    display: flex;
    justify-content: space-between;
    gap: 0;
  }

  header .brand,
  header nav button {
    flex: 0 0 auto;
  }
}

.editorial-panel .feature::before {
  inset: 0;
}

@media (max-width: 700px) {
  .editorial-panel .feature {
    margin-block: 30px;
  }
}

header {
  height: auto;
  min-height: 0;
  padding-block: 5.7vh;
}

@media (max-width: 700px) {
  header {
    padding-block: 26px;
  }
}

@media (min-width: 701px) {
  .editorial-panel .feature {
    width: var(--homepage-container-width);
    max-width: 94%;
    grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
    gap: clamp(32px, 4.5vw, 88px);
  }

  .editorial-panel .feature-copy {
    width: 100%;
    min-width: 0;
    max-width: none;
  }

  .editorial-panel .feature h2 {
    font-size: clamp(32px, 3.6vw, 72px);
  }
}

body.video-open .marquee {
  visibility: hidden;
}

body.video-open .track {
  animation-play-state: paused;
}

.editorial-panel .feature {
  padding: 48px;
}

.hero-scroll {
  z-index: 21;
}

body.past-marquee .marquee {
  visibility: hidden;
}

.hero-scroll {
  pointer-events: none;
}

body:not(.intro-active) .marquee {
  opacity: var(--marquee-opacity, 1);
}

.editorial-panel .feature {
  padding-right: 56px;
}

.fruit .fruit-frame {
  animation: none;
  opacity: 0;
}

.fruit .fruit-frame.is-current {
  opacity: 1;
}

.phrase {
  gap: max(0px, calc(1.25vw - 8px));
  padding-right: max(0px, calc(1.25vw - 8px));
}

@media (max-width: 700px) {
  .phrase {
    gap: max(0px, calc(2.6vw - 8px));
    padding-right: max(0px, calc(2.6vw - 8px));
  }
}

.footer-fruit {
  height: auto;
}

.editorial-panel .feature h2 {
  width: fit-content;
  max-width: 100%;
}

.intro-question {
  font:
    400 6.4vw/0.95 "Pulp Serif",
    Didot,
    serif;
  letter-spacing: var(--title-tracking);
  color: var(--color-heading);
  white-space: nowrap;
  width: max-content;
  max-width: none;
  text-wrap: nowrap;
}

#layers .feature {
  --article-hover: var(--color-peach);
}

#fruit .feature {
  --article-hover: var(--color-lavender);
}

.article-subtitle {
  text-align: center;
  font:
    400 18px/1.5 Geist,
    Arial,
    sans-serif;
  margin: 0 auto 24px;
  max-width: 620px;
}

.article-body h2 {
  margin: var(--space-40) 0 var(--space-24);
  font-family: var(--font-display);
  font-weight: 400;
  font-size: var(--text-32);
  line-height: 1.2;
  color: var(--color-heading);
}

.article-body p {
  margin: 0 0 24px;
}

.article-body ul {
  padding-left: 24px;
  margin: 0 0 24px;
}

.article-body li {
  margin-bottom: 8px;
}

.article-nav {
  background: var(--article-background, var(--color-paper));
}

.article-nav nav a {
  font:
    400 16px/1.2 Geist,
    Arial,
    sans-serif;
  letter-spacing: -0.015em;
  color: var(--color-muted);
  text-decoration: none;
  white-space: nowrap;
  text-align: center;
  justify-self: center;
  flex: 0 0 auto;
}

.article-nav nav a:last-child {
  justify-self: end;
}

.article-nav .brand {
  color: var(--color-muted);
}

.article-nav nav a:hover,
.article-nav nav a[aria-current="page"] {
  color: #242424;
}

@media (max-width: 700px) {
  .article-nav nav a {
    white-space: normal;
    font-size: 16px;
    line-height: 1.35;
  }
}

.article-back-to-top {
  display: block;
  margin: 48px auto 0;
  padding: 8px 12px;
  border: 0;
  background: none;
  color: var(--color-heading);
  font:
    400 14px/1.4 Geist,
    Arial,
    sans-serif;
  text-decoration: none;
  text-underline-offset: 4px;
}

.article-back-to-top:hover,
.article-back-to-top:focus-visible {
  text-decoration: underline;
}

.footer-statement a {
  color: inherit;
  text-decoration: none;
  pointer-events: auto;
}

/* Pran's optional photo collage uses the existing portrait as its moving anchor. */
.team-photo--pran {
  background-image: url("assets/pran/portrait.png");
  background-size: cover;
  background-position: center;
  cursor: pointer;
  transform-origin: top left;
  position: relative;
  z-index: 2;
}
.collage-tile {
  display: none;
}
.collage-open .team-grid {
  grid-template-columns: 1fr 1fr 2.2fr 1fr 1fr;
  grid-template-rows: repeat(2, minmax(0, 1fr));
  aspect-ratio: auto;
  gap: var(--team-photo-gap);
}
.collage-open .team-photo:not(.team-photo--pran) {
  display: none;
}
.collage-open .team-photo--pran {
  grid-column: 3;
  grid-row: 1 / 3;
  aspect-ratio: auto;
  height: 100%;
}
.collage-open .collage-tile {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  object-position: center;
  aspect-ratio: 1;
}
.collage-slot-0 {
  grid-column: 1;
  grid-row: 1;
}
.collage-slot-1 {
  grid-column: 2;
  grid-row: 1;
}
.collage-slot-2 {
  grid-column: 4;
  grid-row: 1;
}
.collage-slot-3 {
  grid-column: 5;
  grid-row: 1;
}
.collage-slot-4 {
  grid-column: 1;
  grid-row: 2;
}
.collage-slot-5 {
  grid-column: 2;
  grid-row: 2;
}
.collage-slot-6 {
  grid-column: 4;
  grid-row: 2;
}
.collage-slot-7 {
  grid-column: 5;
  grid-row: 2;
}
/* Mobile reference: a wide portrait flanked by four photos on each side. */
@media (max-width: 700px) {
  .collage-open .team-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 2.2fr) minmax(0, 1fr);
    grid-template-rows: repeat(4, minmax(0, 1fr));
    gap: var(--team-photo-gap);
  }
  .collage-open .collage-tile {
    min-width: 0;
    aspect-ratio: auto;
  }
  .collage-open .team-photo--pran {
    grid-column: 2;
    grid-row: 1 / 5;
    min-height: 0;
  }
  .collage-slot-0 {
    grid-column: 1;
    grid-row: 1;
  }
  .collage-slot-1 {
    grid-column: 1;
    grid-row: 2;
  }
  .collage-slot-2 {
    grid-column: 3;
    grid-row: 1;
  }
  .collage-slot-3 {
    grid-column: 3;
    grid-row: 2;
  }
  .collage-slot-4 {
    grid-column: 1;
    grid-row: 3;
  }
  .collage-slot-5 {
    grid-column: 1;
    grid-row: 4;
  }
  .collage-slot-6 {
    grid-column: 3;
    grid-row: 3;
  }
  .collage-slot-7 {
    grid-column: 3;
    grid-row: 4;
  }
}

.collage-tile[role="button"] {
  cursor: pointer;
}
.collage-tile[role="button"]:focus-visible {
  outline: 2px solid #6966b5;
  outline-offset: 4px;
}

/* Give each article breathing room; the team inherits the measured gap. */
@media (min-width: 701px) {
  #layers .feature {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr);
  }
  #layers .feature-copy {
    grid-column: 1;
    grid-row: 1;
    width: fit-content;
    max-width: 100%;
    justify-self: end;
  }
  #layers .feature-placeholder {
    grid-column: 2;
    grid-row: 1;
  }
}

@media (min-width: 701px) {
  /* Scale the gap with the desktop composition, then cap it alongside
     the cards so taller monitors cannot introduce extra empty space. */
  .editorial-panel:not(.team-panel) {
    min-height: 0;
  }
  .editorial-panel .feature {
    margin-block: calc((var(--desktop-section-gap) - 96px) / 2);
  }
}
.team-panel {
  overflow: clip;
  align-items: start;
  min-height: 100svh;
  padding-top: var(--team-section-gap, 0px);
  padding-bottom: clamp(64px, 7svh, 96px);
}

.team-panel .team-content {
  position: relative;
  transform: none;
}

@media (min-width: 701px) {
  .team-panel {
    min-height: var(--team-viewport-height, 100svh);
    padding-bottom: 64px;
  }
}

.personal-back {
  position: absolute;
  grid-column: 5;
  grid-row: 1 / 3;
  top: 20px;
  right: 20px;
  z-index: 3;
  padding: 8px;
  border: 0;
  background: none;
  color: #fff;
  font:
    400 12px/1.4 Geist,
    Arial,
    sans-serif;
}
.collage-open .team-grid {
  position: relative;
}
@media (max-width: 700px) {
  .personal-back {
    top: 12px;
    right: 12px;
    grid-column: 3;
    grid-row: 3;
  }
}
.personal-back[hidden] {
  display: none;
}

/* The thumbnail remains one click target for the video dialog. */
.thumbnail-play {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: clamp(48px, 12%, 88px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgb(0 0 0 / 0.58);
  color: white;
  pointer-events: none;
}
.thumbnail-play svg {
  width: 52%;
  height: 52%;
}

/* Jenice's personal sticker scene. */
.jenice-scene[hidden] {
  display: none;
}
.jenice-open .team-grid {
  visibility: hidden;
}
.jenice-scene {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: var(--homepage-container-width);
  height: var(--team-photo-height);
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: clamp(28px, 3.5vw, 56px);
  overflow: visible;
  isolation: isolate;
  background: transparent;
}
.sticker-board {
  position: relative;
  flex: 1;
  min-height: 0;
}
.jenice-lace-frame {
  position: absolute;
  top: -8%;
  left: -4%;
  z-index: 2;
  display: block;
  width: 108%;
  height: 116%;
  object-fit: fill;
  pointer-events: none;
  user-select: none;
}
.jenice-scene .personal-back {
  top: -36px;
  right: 0;
  z-index: 4;
  color: #1d1d1d;
}
.jenice-sticker {
  position: absolute;
  z-index: 3;
  left: 0;
  top: 0;
  transform: translate(-50%, -50%);
  padding: 0;
  border: 0;
  background: none;
  cursor: grab;
  touch-action: none;
  user-select: none;
  -webkit-user-select: none;
}
.jenice-sticker img {
  display: block;
  width: 100%;
  pointer-events: none;
}
.jenice-sticker.is-dragging {
  cursor: grabbing;
  will-change: transform;
}
.jenice-sticker--back {
  z-index: 1;
  cursor: pointer;
}
@media (max-width: 700px) {
  .jenice-scene {
    width: 90%;
    padding: 24px;
  }
  .jenice-scene .personal-back {
    top: -32px;
    right: 0;
  }
}

.pran-halftone {
  opacity: 0.55;
  position: absolute;
  z-index: 2;
  pointer-events: none;
}
.pran-halftone[hidden] {
  display: none;
}

html.collage-transitioning,
.collage-transitioning body {
  overflow-anchor: none;
}

.collage-open .personal-back {
  top: -30px;
  right: 0;
  color: var(--color-heading);
  grid-column: auto;
  grid-row: auto;
}

.article-figure img {
  display: block;
  width: 100%;
  height: auto;
}
.article-figure figcaption {
  margin-top: var(--space-16);
  font:
    400 14px/1.5 Geist,
    Arial,
    sans-serif;
  color: var(--color-muted);
  text-align: center;
}

@media (prefers-reduced-motion: reduce) {
  .team-photo {
    transition: none;
  }
}

/* Shared editorial typography, matching the opening question. */
.intro-question,
.editorial-panel .feature h2,
.article-detail h1 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 0.95;
  letter-spacing: var(--title-tracking);
  color: var(--color-heading);
}
.editorial-panel .feature h2 {
  font-size: var(--thumbnail-title-size);
  margin-bottom: var(--space-32);
}
.article-figure {
  margin: var(--space-32) 0;
}

/* Footnote markers open a tilted source card, placed by footnotes.js. */
.footnote-anchor {
  white-space: nowrap;
}
.footnote {
  line-height: 0;
}
.footnote-ref {
  display: inline-grid;
  place-items: center;
  min-width: 1.5em;
  height: 1.5em;
  margin-left: 2px;
  border-radius: 50%;
  color: #5f66a8;
  font-size: var(--text-12);
  text-decoration: none;
  transition: background-color 160ms ease;
}
.footnote-ref:hover,
.footnote-ref:focus-visible,
.footnote-ref[aria-expanded="true"] {
  background: var(--color-lavender);
}
.source-card {
  --tail-x: 50%;
  --tail-size: 12px;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 15;
  box-sizing: border-box;
  width: min(260px, calc(100vw - var(--space-32)));
  border: 1.5px solid var(--color-ink);
  border-radius: var(--space-16);
  background: var(--color-paper);
  color: var(--color-ink);
  transform: rotate(var(--card-tilt, 0deg));
  transform-origin: var(--tail-x) calc(100% + var(--tail-size));
  animation: source-card-pop 360ms cubic-bezier(0.34, 1.56, 0.64, 1) both;
}
.source-card[hidden] {
  display: none;
}
.source-card[data-placement="below"] {
  transform-origin: var(--tail-x) calc(var(--tail-size) * -1);
}
.source-card::after {
  content: "";
  position: absolute;
  bottom: calc(var(--tail-size) / -2 - 1px);
  left: calc(var(--tail-x) - var(--tail-size) / 2);
  width: var(--tail-size);
  height: var(--tail-size);
  box-sizing: border-box;
  border-right: 1.5px solid var(--color-ink);
  border-bottom: 1.5px solid var(--color-ink);
  background: var(--color-paper);
  transform: rotate(45deg);
}
.source-card[data-placement="below"]::after {
  top: calc(var(--tail-size) / -2 - 1px);
  bottom: auto;
  transform: rotate(-135deg);
}
.source-card-link {
  display: block;
  padding: var(--space-16) 20px;
  border-radius: inherit;
  color: var(--color-ink);
  text-decoration: none;
}
.source-card-link:focus-visible {
  outline: 2px solid #5f66a8;
  outline-offset: 3px;
}
.source-card-eyebrow {
  display: block;
  margin-bottom: 6px;
  color: var(--color-muted);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.source-card-title {
  display: block;
  font-family: var(--font-display);
  font-size: 22px;
  line-height: 1.1;
  letter-spacing: -0.02em;
  text-decoration: underline 1px transparent;
  text-underline-offset: 3px;
  transition: text-decoration-color 160ms ease;
}
.source-card-link:hover .source-card-title {
  text-decoration-color: currentColor;
}
.source-card-arrow {
  display: inline-block;
  color: var(--color-muted);
  font-family: var(--font-body);
  font-size: var(--text-14);
  transition: transform 160ms ease;
}
.source-card-link:hover .source-card-arrow {
  transform: translate(2px, -2px);
}
@keyframes source-card-pop {
  from {
    opacity: 0;
    transform: rotate(0deg) scale(0.9);
  }
  to {
    opacity: 1;
    transform: rotate(var(--card-tilt, 0deg)) scale(1);
  }
}
@media (prefers-reduced-motion: reduce) {
  .source-card {
    animation: source-card-fade 160ms ease-out both;
  }
}
@keyframes source-card-fade {
  from {
    opacity: 0;
  }
}
.team-grid {
  --team-photo-gap: 16px;
}
@media (max-width: 700px) {
  .team-grid {
    --team-photo-gap: 8px;
  }
  .editorial-panel .feature h2 {
    margin-bottom: var(--space-24);
  }
}

/* Tovin's coffee and golf keepsakes share the existing portrait-row bounds. */
.tovin-scene[hidden] {
  display: none;
}
.tovin-open .team-grid {
  visibility: hidden;
}
.tovin-scene {
  position: absolute;
  top: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: var(--homepage-container-width);
  height: var(--team-photo-height);
  padding: 0;
  isolation: isolate;
}
.tovin-back {
  top: -30px;
  right: 0;
  color: var(--color-heading);
  cursor: pointer;
}
.tovin-board {
  position: relative;
  width: 100%;
  height: 100%;
}
.tovin-portrait {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  height: 100%;
  width: auto;
  aspect-ratio: 0.86;
  display: flex;
  flex-direction: column;
  padding: 8px 8px 0;
  border: 0;
  background: #fffefa;
  box-shadow: 0 3px 12px #302c2020;
  transform-origin: top left;
  cursor: pointer;
  z-index: 2;
}
.tovin-portrait-photo {
  flex: 1;
  min-height: 0;
  display: block;
  width: 100%;
  aspect-ratio: 1;
  background-repeat: no-repeat;
}
.tovin-portrait-note {
  flex: none;
  display: grid;
  place-items: center;
  width: 100%;
  text-align: center;
  padding: 12px 0;
  color: #39352e;
  font: italic 400 clamp(16px, 1.7vw, 24px)/1.1 var(--font-display);
}
.tovin-keepsake {
  position: absolute;
  width: 17%;
  padding: 0;
  border: 0;
  background: transparent;
  transform: translate(-50%, -50%) rotate(var(--keepsake-angle));
  touch-action: none;
  user-select: none;
  -webkit-user-select: none;
  cursor: grab;
  z-index: 3;
}
.tovin-keepsake-art {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  background-image: url("assets/tovin-keepsakes.png");
  background-size: 300% 200%;
  background-repeat: no-repeat;
  filter: drop-shadow(0 3px 2px #302c2018);
  pointer-events: none;
  transition: transform 180ms ease;
}
.tovin-keepsake-label {
  display: block;
  width: max-content;
  max-width: 130%;
  margin: -4px auto 0;
  padding: 3px 7px;
  background: #fffdfaeb;
  color: #464138;
  font:
    400 14px/1.3 Geist,
    Arial,
    sans-serif;
  pointer-events: none;
}
.tovin-keepsake:hover .tovin-keepsake-art,
.tovin-keepsake:focus-visible .tovin-keepsake-art {
  transform: translateY(-5px) rotate(-3deg);
}
.tovin-keepsake.is-dragging {
  cursor: grabbing;
}
@media (max-width: 700px) {
  .tovin-scene {
    width: 90%;
  }
  .tovin-portrait {
    top: 4%;
    height: 84%;
    padding: 6px 6px 0;
  }
  .tovin-portrait-note {
    font-size: 12px;
    padding: 8px 0;
  }
  .tovin-keepsake {
    width: 29%;
  }
  .tovin-keepsake-label {
    display: none;
    background: transparent;
    width: auto;
    max-width: 100%;
    font-size: 12px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .tovin-keepsake-art {
    transition: none;
  }
}

/* Keep personal scenes within the portrait row. */
.team-panel:is(.collage-open, .jenice-open, .tovin-open) .team-grid {
  height: var(--team-photo-height);
  aspect-ratio: auto;
}
.jenice-scene {
  top: -8px;
}

/* Balance work bios across two lines. */
.team-panel:not(.collage-open):not(.jenice-open):not(.tovin-open) .team-bio {
  width: min(110ch, calc(100vw - 48px));
}
@media (max-width: 700px) {
  .team-panel:not(.collage-open):not(.jenice-open):not(.tovin-open) .team-bio {
    white-space: normal;
  }
}

/* Mobile presentation. Desktop composition and motion remain unchanged. */
.mobile-menu-toggle {
  display: none;
}
@media (max-width: 700px) {
  header,
  header.article-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
    padding: 16px 24px;
    z-index: 35;
  }
  header .brand {
    font-size: 21px;
  }
  .mobile-menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    padding: 10px;
    border: 0;
    background: transparent;
    color: var(--color-ink);
    z-index: 2;
  }
  .mobile-menu-toggle span {
    display: block;
    width: 24px;
    height: 1px;
    background: currentColor;
    transition:
      transform 200ms,
      opacity 200ms;
  }
  body.in-footer .mobile-menu-toggle {
    color: var(--color-paper);
  }
  header nav {
    display: flex;
    position: fixed;
    inset: 80px 0 0;
    height: calc(100dvh - 80px);
    margin: 0;
    padding: 32px 24px 100px;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: flex-start;
    justify-content: center;
    gap: 24px;
    overflow-y: auto;
    background: var(--color-paper);
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
  }
  header nav button,
  .article-nav nav a {
    font:
      400 clamp(28px, 7.6vw, 44px)/1.15 Geist,
      Arial,
      sans-serif;
    letter-spacing: -0.04em;
    text-align: left;
    white-space: normal;
    flex: 0 0 auto;
  }
  body.mobile-menu-open {
    overflow: hidden;
  }
  body.mobile-menu-open header {
    background: var(--color-paper);
  }
  body.mobile-menu-open header .brand,
  body.mobile-menu-open .mobile-menu-toggle {
    color: var(--color-ink);
  }
  body.mobile-menu-open header nav {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
  }
  body.mobile-menu-open header nav :is(button, a) {
    color: var(--color-muted);
  }
  body.mobile-menu-open header nav [aria-current="page"] {
    color: var(--color-ink);
  }
  .mobile-menu-open .mobile-menu-toggle span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
  }
  .mobile-menu-open .mobile-menu-toggle span:nth-child(2) {
    opacity: 0;
  }
  .mobile-menu-open .mobile-menu-toggle span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
  }

  .intro-panels {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(5, 1fr);
  }
  .intro-pane {
    background-size: 100% auto;
    background-position: center;
    /* Match desktop timing; only the direction changes on phones. */
  }
  .intro-pane:nth-child(1) {
    animation-name: mobile-intro-pane-1;
  }
  .intro-pane:nth-child(2) {
    animation-name: mobile-intro-pane-2;
  }
  .intro-pane:nth-child(3) {
    animation-name: mobile-intro-pane-3;
  }
  .intro-pane:nth-child(4) {
    animation-name: mobile-intro-pane-4;
  }
  .intro-pane:nth-child(5) {
    animation-name: mobile-intro-pane-5;
  }
  .intro-question {
    width: calc(100% - 48px);
    white-space: normal;
    text-wrap: balance;
    font-size: 60px;
  }
  body.intro-active .marquee {
    animation: none;
  }
  .landing {
    height: calc(100svh - 80px);
    min-height: 360px;
  }
  .editorial-panel:not(.team-panel) {
    min-height: 0;
    padding: 96px 0 0;
    scroll-margin-top: 96px;
  }
  .editorial-panel .feature {
    width: var(--homepage-container-width);
    max-width: none;
    grid-template-columns: minmax(0, 1fr);
    gap: var(--mobile-content-gap);
    padding: 0;
    margin: 0;
  }
  .editorial-panel .feature h2 {
    font-size: 36px;
    line-height: 1.08;
    margin-bottom: 16px;
  }
  .editorial-panel .byline {
    row-gap: 4px;
    font-size: 14px;
    line-height: 1.4;
  }
  .editorial-panel .feature::before {
    display: none;
  }
  .article-detail {
    width: calc(100% - 64px);
    margin: 24px auto 64px;
  }
  .article-detail h1 {
    font-size: clamp(46px, 12.5vw, 80px);
    margin-bottom: 24px;
  }
  .article-subtitle {
    font-size: 16px;
  }
  .article-detail .byline {
    row-gap: 8px;
  }
  .article-body {
    line-height: 1.6;
    margin-top: 32px;
  }
  .article-body h2 {
    font-size: 30px;
    line-height: 1.15;
  }
  .footer-statement {
    position: absolute;
    /* Optical center of the open space above the fruit, not the full screen. */
    top: calc(50% - 32px);
    left: 50%;
    transform: translate(-50%, -50%);
    width: var(--homepage-container-width);
    max-width: none;
    margin: 0;
    font-family: var(--font-display);
    font-size: 60px;
    font-weight: 400;
    line-height: 0.95;
    letter-spacing: var(--title-tracking);
    text-wrap: balance;
    text-align: center;
  }
}
@keyframes mobile-intro-pane-1 {
  0%,
  25.26316% {
    transform: translateX(-100%);
    animation-timing-function: cubic-bezier(0.25, 0.72, 0.18, 1);
  }

  41.31064%,
  69.96687% {
    transform: translateX(0);
    animation-timing-function: cubic-bezier(0.55, 0, 0.35, 1);
  }

  100% {
    transform: translateY(-100svh);
  }
}

@keyframes mobile-intro-pane-2 {
  0%,
  32.14065% {
    transform: translateX(-100%);
    animation-timing-function: cubic-bezier(0.25, 0.72, 0.18, 1);
  }

  48.18813%,
  69.96687% {
    transform: translateX(0);
    animation-timing-function: cubic-bezier(0.55, 0, 0.35, 1);
  }

  100% {
    transform: translateY(-100svh);
  }
}

@keyframes mobile-intro-pane-3 {
  0%,
  39.01814% {
    transform: translateX(-100%);
    animation-timing-function: cubic-bezier(0.25, 0.72, 0.18, 1);
  }

  55.06563%,
  69.96687% {
    transform: translateX(0);
    animation-timing-function: cubic-bezier(0.55, 0, 0.35, 1);
  }

  100% {
    transform: translateY(-100svh);
  }
}

@keyframes mobile-intro-pane-4 {
  0%,
  45.89563% {
    transform: translateX(-100%);
    animation-timing-function: cubic-bezier(0.25, 0.72, 0.18, 1);
  }

  61.94312%,
  69.96687% {
    transform: translateX(0);
    animation-timing-function: cubic-bezier(0.55, 0, 0.35, 1);
  }

  100% {
    transform: translateY(-100svh);
  }
}

@keyframes mobile-intro-pane-5 {
  0%,
  52.77313% {
    transform: translateX(-100%);
    animation-timing-function: cubic-bezier(0.25, 0.72, 0.18, 1);
  }

  68.82061%,
  69.96687% {
    transform: translateX(0);
    animation-timing-function: cubic-bezier(0.55, 0, 0.35, 1);
  }

  100% {
    transform: translateY(-100svh);
  }
}

@media (max-width: 700px) and (prefers-reduced-motion: reduce) {
  .intro {
    display: none;
  }
  .mobile-menu-toggle span {
    transition: none;
  }
}

@media (max-width: 700px) {
  .team-panel {
    min-height: 0;
    padding-bottom: 96px;
  }
  .team-panel:not(.collage-open):not(.jenice-open):not(.tovin-open) .team-grid {
    width: var(--homepage-container-width);
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: 86%;
    gap: 28px;
    padding-inline: 0;
    top: 0;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 0;
    scrollbar-width: none;
  }
  .team-panel:not(.collage-open):not(.jenice-open):not(.tovin-open)
    .team-photo {
    scroll-snap-align: start;
    scroll-snap-stop: always;
  }
  .team-panel .team-bio {
    display: none;
  }
}

@media (max-width: 700px) {
  .pulp-footer {
    /* Fill the visible viewport even when the phone browser toolbar collapses. */
    height: 100dvh;
    padding-bottom: max(137.088px, 18.564svh);
  }
  .fruit-credit {
    bottom: max(161px, 22svh);
  }
}

/* Mobile rhythm: 16px for metadata, 24px within cards, 64px between groups.
   Only the incoming section owns the gap, so padding cannot accumulate. */
@media (max-width: 700px) {
  :root {
    --mobile-section-gap: 64px;
    --mobile-content-gap: 24px;
  }
  #squeeze.editorial-panel {
    padding-top: 0;
  }
  .team-panel {
    padding-top: 96px;
  }
  .editorial-panel .feature-copy {
    min-width: 0;
  }
}

/* Personal scenes replace the mobile carousel without changing its footprint. */
@media (max-width: 700px) {
  .team-panel .team-content {
    height: var(--team-photo-height);
  }
  .team-content .team-grid {
    top: 0;
  }
  .team-panel:is(.collage-open, .jenice-open, .tovin-open) .team-grid {
    width: var(--homepage-container-width);
    overflow: hidden;
  }
  .team-panel :is(.jenice-scene, .tovin-scene) {
    top: 0;
    width: var(--homepage-container-width);
    overflow: hidden;
  }
  .tovin-back {
    top: 0;
    right: 0;
  }
  .tovin-board {
    margin-top: 36px;
    height: calc(100% - 36px);
  }
}

@media (max-width: 700px) {
  .team-panel .jenice-scene {
    padding: 44px 24px 24px;
  }
  .jenice-scene .personal-back {
    top: 0;
    right: 8px;
  }
  .jenice-lace-frame {
    display: none;
  }
  .jenice-scene::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
    border: 36px solid transparent;
    border-image-source: url("assets/jenice/lace-border.png");
    border-image-slice: 180;
    border-image-width: 36px;
    border-image-repeat: repeat;
    pointer-events: none;
  }
}

@media (max-width: 700px) {
  .feature h2 .article-title-line,
  .article-detail h1 .article-title-line {
    display: inline;
  }
  .feature h2 .desktop-title-break {
    display: none;
  }
}

.article-back {
  display: none;
}
@media (max-width: 700px) {
  .article-nav .brand {
    display: none;
  }
  .article-nav .article-back {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    flex: none;
    background: transparent;
    color: var(--color-ink);
    text-decoration: none;
  }
}

@media (max-width: 700px) {
  .article-detail h1,
  .article-detail .article-subtitle {
    text-align: left;
    margin-inline: 0;
  }
  .article-detail h1 .article-title-line {
    margin-inline: 0;
  }
  .article-detail > .byline {
    justify-content: flex-start;
    text-align: left;
  }
}

@media (max-width: 700px) {
  .hero-scroll {
    margin-bottom: -32px;
    z-index: 36;
  }
  body.mobile-menu-open header {
    z-index: 38;
  }
}

.team-heading {
  display: none;
}
@media (max-width: 700px) {
  .team-panel {
    align-content: start;
  }
  .team-heading {
    display: block;
    width: var(--homepage-container-width);
    margin: 0 auto 24px;
    font: 400 36px/1.08 var(--font-display);
    letter-spacing: var(--title-tracking);
    color: var(--color-heading);
  }
  .footer-fruits {
    z-index: 37;
  }
}

@media (max-width: 700px) {
  .team-photo,
  .personal-back,
  .tovin-portrait,
  .jenice-sticker--back {
    touch-action: manipulation;
  }
}

@media (max-width: 700px) {
  .team-panel .personal-back {
    display: none;
  }
}

/* Mobile uses scrolling and the article back button instead of a menu. */
@media (max-width: 700px) {
  header .mobile-menu-toggle,
  header nav {
    display: none;
  }
  body:not([data-article-section]) header {
    padding-inline: calc((100vw - var(--homepage-container-width)) / 2);
  }
}

@media (max-width: 700px) {
  body:not(.has-started-scrolling) #squeeze .feature {
    visibility: hidden;
    pointer-events: none;
  }
}

.footer-copy-mobile {
  display: none;
}
@media (max-width: 700px) {
  .footer-copy-desktop {
    display: none;
  }
  .footer-copy-mobile {
    display: inline;
  }
}
