/* Dip Studio dip-site: about page (dark hero + pillars, expertise rows,
   industries, team grid, ebook band, venture studio). */

/* --------------------------------------- dark hero: text + video panel
   Matches the original About: heading and lede on the left, the studio
   reel playing in a contained rounded panel on the right. */
.about-hero {
  background: var(--dark);
  color: var(--on-dark);
  padding-top: calc(var(--header-h) + clamp(3rem, 7vw, 6rem));
  padding-bottom: clamp(3rem, 7vw, 6rem);
  overflow: clip;
}
.about-hero__grid { display: grid; gap: clamp(2.5rem, 5vw, 4rem); align-items: center; }
.about-hero__text { display: grid; gap: 1.5rem; }
/* sized to the original's About headline, which sits well below the
   homepage display scale so the lede and video panel stay balanced */
.about-hero h1 { color: var(--on-dark); max-width: 20ch; font-size: clamp(1.9rem, 1.2rem + 2.1vw, 3.1rem); line-height: 1.1; }
.about-hero__lede { color: var(--on-dark-muted); font-size: var(--fs-lead); max-width: 50ch; }
.about-hero__media {
  position: relative; border-radius: var(--radius-lg); overflow: clip;
  background: var(--dark-2); aspect-ratio: 16 / 12;
}
.about-hero__media img, .about-hero__media video {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
}
.about-hero__media video { opacity: 0.001; transition: opacity var(--dur-media-fade) var(--ease-out); }
.about-hero__media video.is-live { opacity: 1; }
@media (min-width: 920px) {
  .about-hero__grid { grid-template-columns: 0.85fr 1.15fr; column-gap: clamp(3rem, 6vw, 5.5rem); }
}
@media (prefers-reduced-motion: reduce) { .about-hero__media video { display: none; } }

/* ------------------- how we work: founder video card + stacked pillars */
.hww { background: var(--dark); color: var(--on-dark); padding-block: clamp(3rem, 6vw, 6rem) var(--section-y); }
.hww__grid { display: grid; gap: clamp(2.5rem, 5vw, 4.5rem); align-items: center; }
.hww__media { display: grid; gap: 1.5rem; align-content: start; }
.hww__player { aspect-ratio: 4 / 3; border-radius: var(--radius-lg); }
.hww__caption { display: grid; gap: 0.5rem; }
.hww__kicker { font-size: var(--fs-label); letter-spacing: 0.16em; text-transform: uppercase; font-weight: 600; color: var(--on-dark-muted); }
.hww__title { font-family: var(--font-display); font-weight: 600; font-size: var(--fs-h3); line-height: 1.1; letter-spacing: -0.02em; color: var(--on-dark); }
.hww__byline { display: flex; align-items: center; gap: 0.9rem; margin-top: 0.7rem; color: var(--on-dark); }
.hww__byline .muted { color: var(--on-dark-muted); }
.hww__pillars { display: grid; gap: clamp(1.8rem, 3vw, 2.6rem); align-content: center; }
.pillar { display: grid; gap: 0.8rem; align-content: start; padding-top: 1.6rem; border-top: 1px solid var(--hairline-dark); }
.pillar h2 { font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--on-dark-muted); font-weight: 600; font-family: var(--font-body); }
.pillar p { color: var(--on-dark); max-width: 52ch; }
@media (min-width: 920px) {
  .hww__grid { grid-template-columns: 1.05fr 0.95fr; column-gap: clamp(3rem, 6vw, 5.5rem); }
}

/* ------------------------------------------------ expertise rows */
.xp { background: var(--gray-50); border-top: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline); }
.xp__head { display: grid; gap: 1.1rem; margin-bottom: clamp(2.5rem, 5vw, 4.5rem); }
.xp__rows { display: grid; }
.xp-row { display: grid; gap: 1.5rem; padding-block: clamp(2.5rem, 5vw, 4rem); border-top: 1px solid var(--hairline); }
.xp-row:last-child { border-bottom: 1px solid var(--hairline); }
.xp-row__media { border-radius: var(--radius-lg); overflow: clip; background: var(--paper); border: 1px solid var(--hairline); }
.xp-row__media img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; transition: transform var(--dur-zoom) var(--ease-out); }
.xp-row:hover .xp-row__media img { transform: scale(1.035); }
.xp-row h3 { font-size: var(--fs-h3); }
.xp-row__copy { color: var(--gray-600); max-width: 50ch; margin-top: 0.8rem; }
.xp-row__points { margin-top: 1.2rem; display: grid; gap: 0.55rem; }
.xp-row__points li { position: relative; padding-left: 1.4rem; }
.xp-row__points li::before { content: ""; position: absolute; left: 0; top: 0.62em; width: 0.55rem; height: 2px; background: var(--accent); }
@media (min-width: 920px) {
  .xp-row { grid-template-columns: 1fr 1fr; column-gap: clamp(3rem, 5vw, 5rem); align-items: center; }
  .xp-row:nth-child(even) .xp-row__media { order: 2; }
}

/* ------------------------------------------------ industries */
.industries .display-h2 { max-width: 18ch; }
.industries__list { margin-top: clamp(2.5rem, 5vw, 4rem); display: grid; }
.industries__list li {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(1.8rem, 1.1rem + 2.8vw, 4rem); line-height: 1.1; letter-spacing: -0.025em;
  padding-block: clamp(1.2rem, 2.5vw, 2rem);
  border-top: 1px solid var(--hairline);
  display: flex; align-items: baseline; gap: 1.2rem;
}
.industries__list li:last-child { border-bottom: 1px solid var(--hairline); }
.industries__list .idx { font-size: var(--fs-label); letter-spacing: 0.1em; color: var(--gray-600); font-weight: 600; }
.industries__lede { margin-top: 1.4rem; color: var(--gray-600); font-size: var(--fs-lead); max-width: 52ch; }

/* ------------------------------------------------ team: rail + grid
   David 2026-08-24, three passes: portraits read too big -> add a vertical
   "DESIGN IN PROGRESS" rail (what dip stands for) on the left. Outline take
   was ugly/small; the giant slide-through take cropped the words. Final
   form: the three words as side-by-side vertical columns, all caps, solid
   ink, sized so the WHOLE phrase always fits the sticky window (the longest
   word, PROGRESS, sets the scale, so letters still land ~2x the first
   take). about.js brightens the letters in reading order, scrubbed to the
   section's scroll; nothing ever crops. Decorative (aria-hidden). */
.team__layout { display: grid; }
.team-rail { display: none; }
@media (min-width: 920px) {
  .team__layout { grid-template-columns: auto 1fr; column-gap: clamp(2rem, 3.5vw, 4rem); }
  /* flex centers the word block in the window; with no JS or reduced motion
     the rail stretches to the full row instead and stays fully solid */
  .team-rail { display: flex; align-items: center; }
  html.motion-init .team-rail {
    position: sticky;
    top: var(--header-h);
    height: calc(100vh - var(--header-h));
  }
  .team-rail__text {
    /* vertical-rl + 180deg: columns read left-to-right, letters bottom-up,
       all three words sharing the same start line at the bottom */
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    font-family: var(--font-display);
    font-weight: 600;
    /* vh so PROGRESS fits the window height; vw so three columns never
       crowd the grid on narrower desktops */
    font-size: clamp(4rem, min(13vh, 7.2vw), 10rem);
    line-height: 1.06;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--ink);
  }
  /* about.js wraps each letter in .l and scrubs these to full ink */
  html.motion-init .team-rail__text .l { opacity: 0.16; }
}

.team__lede { margin-top: 1.4rem; color: var(--gray-600); font-size: var(--fs-lead); max-width: 52ch; }
.team__grid { margin-top: clamp(2.5rem, 5vw, 4rem); display: grid; gap: clamp(1.6rem, 3vw, 3rem); grid-template-columns: repeat(2, 1fr); }
@media (min-width: 760px) { .team__grid { grid-template-columns: repeat(3, 1fr); } }
.team-card { display: grid; gap: 0.7rem; align-content: start; }
.team-card__photo { border-radius: var(--radius); overflow: clip; background: var(--gray-50); aspect-ratio: 1 / 1; }
.team-card__photo img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); transition: filter 0.5s var(--ease-out), transform var(--dur-zoom) var(--ease-out); }
.team-card:hover .team-card__photo img { filter: grayscale(0); transform: scale(1.03); }
.team-card__name { font-family: var(--font-display); font-weight: 600; font-size: 1.15rem; letter-spacing: -0.01em; }
.team-card__role { color: var(--gray-600); font-size: 0.9rem; }
/* an odd last card on the two-column phone grid centres itself */
@media (max-width: 759.98px) { .team-card:last-child:nth-child(odd) { grid-column: 1 / -1; width: calc(50% - 0.8rem); justify-self: center; } }

/* ------------------------------------------------ ebook band (warm) */
.ebook { background: var(--warm-100); }
.ebook .container { display: grid; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
/* The cover art is the book itself, trimmed to its own edges (the source had
   a white studio ground baked in, which showed through the old dark card).
   So there is no card: just the image on the band, lightly rounded. */
.ebook__cover { border-radius: var(--radius); overflow: clip; }
.ebook__cover img { display: block; width: 100%; height: auto; }
.ebook__form input { border-color: #c9c5bf; }
.ebook__body { display: grid; gap: 1.2rem; align-content: center; }
.ebook__body .muted { color: var(--on-warm-muted); max-width: 50ch; }
.ebook__form { display: grid; gap: 0.9rem; max-width: 460px; }
@media (min-width: 920px) { .ebook .container { grid-template-columns: 0.8fr 1.2fr; column-gap: clamp(3rem, 6vw, 6rem); } }

/* ------------------------------------------------ venture studio */
.venture { background: var(--dark); color: var(--on-dark); }
.venture .container { display: grid; gap: 1.4rem; }
.venture h2 { color: var(--on-dark); max-width: 12ch; }
.venture p:not(.sec-label) { color: var(--on-dark-muted); font-size: var(--fs-lead); max-width: 52ch; }
/* desktop: heading left, paragraph right, like the how-we-work plate above */
@media (min-width: 920px) {
  .venture .container { grid-template-columns: 0.8fr 1.2fr; column-gap: clamp(3rem, 6vw, 6rem); align-items: start; }
  .venture .sec-label { grid-column: 1 / -1; }
  .venture h2 { grid-column: 1; }
  .venture p:not(.sec-label) { grid-column: 2; }
}
