/* September 28 — focused refinements. No framework or site-wide redesign. */

/* Native scroll chapters, with a height-aware composition for full-width
   laptops. Text is never scaled as a bitmap or clipped to force a fit. */
.credibility-tunnel { --spt-scroll-length:280svh; }
.credibility-tunnel[data-spt-mounted="true"][data-spt-static="false"] .spt-tunnel__sticky {
  padding-block:calc(var(--header-height,100px) + 20px) 30px;
}
@media (min-width:761px) {
  .credibility-tunnel #credibility-title {
    padding-bottom:clamp(16px,2.2svh,26px);
    margin-bottom:clamp(18px,3svh,32px);
  }
  .credibility-tunnel .credential-title > span,
  .credibility-tunnel .credential-title > em {
    font-size:clamp(34px,min(4.2vw,5.6svh),58px);
    line-height:1.12;
  }
  .credibility-tunnel .spt-tunnel__step h3,
  .credibility-tunnel .spt-tunnel__step h3.credential-heading,
  .credibility-tunnel .spt-tunnel__step h3.credential-heading--intersection {
    font-size:clamp(32px,min(5.7cqi,6.5svh),60px);
    line-height:1.13;
  }
}
.credibility-tunnel[data-spt-layout="compact"] #credibility-title {
  padding-bottom:14px; margin-bottom:18px;
}
.credibility-tunnel[data-spt-layout="compact"] .credential-title > span,
.credibility-tunnel[data-spt-layout="compact"] .credential-title > em {
  font-size:clamp(28px,min(3.5vw,5.5svh),42px); line-height:1.12;
}
.credibility-tunnel[data-spt-layout="compact"] .credential-chapter {
  width:50px; height:50px; min-width:50px; font-size:27px;
}
.credibility-tunnel[data-spt-layout="compact"] .spt-tunnel__step h3,
.credibility-tunnel[data-spt-layout="compact"] .spt-tunnel__step h3.credential-heading,
.credibility-tunnel[data-spt-layout="compact"] .spt-tunnel__step h3.credential-heading--intersection {
  font-size:clamp(26px,min(4.7cqi,5.5svh),40px); line-height:1.15;
}
.credibility-tunnel[data-spt-layout="compact"] .credential-highlights { margin-top:16px; }
.credibility-tunnel[data-spt-layout="compact"] .credential-highlights li { padding-block:7px; }
.credibility-tunnel[data-spt-layout="compact"] .experience-field { margin-top:18px; }
.credibility-tunnel[data-spt-layout="compact"] .experience-constellation { grid-template-rows:86px 86px; }
.credibility-tunnel[data-spt-layout="compact"] .experience-token { margin-top:8px; }
.credibility-tunnel[data-spt-mounted="true"][data-spt-static="false"][data-spt-layout="compact"] .spt-tunnel__sticky {
  padding-block:calc(var(--header-height,100px) + 12px) 24px;
}
@media (max-width:760px) {
  .credibility-tunnel { --spt-scroll-length:280svh; }
  .credibility-tunnel[data-spt-layout="compact"] #credibility-title { gap:9px; }
  .credibility-tunnel[data-spt-layout="compact"] .experience-constellation { grid-template-rows:repeat(3,78px); }
  .credibility-tunnel[data-spt-layout="compact"] .experience-token { margin-top:4px; }
  .credibility-tunnel[data-spt-layout="compact"] .credential-chapter {
    width:42px; height:42px; min-width:42px; font-size:24px;
  }
}
/* Short/zoomed windows and reduced motion retain every claim as ordinary text. */
.credibility-tunnel[data-spt-static="true"] .spt-tunnel__sticky { padding-block:64px; }

/* Restore the corner-anchored image typography. The desktop composition stays
   untouched. Mobile type uses the image's inline size, not the entire viewport. */
@media (max-width:600px) {
  .speaking-feature { overflow:visible; }
  .speaking-feature > img { border-radius:5px; }
  .speaking-feature::after {
    content:""; position:absolute; inset:0; pointer-events:none; border-radius:5px;
    background:linear-gradient(180deg,#101b2ce6 0%,#101b2c88 16%,transparent 36%,transparent 64%,#101b2c88 84%,#101b2ced 100%);
  }
  .speaking-feature-caption {
    position:absolute; inset:0; display:block; padding:0; background:none;
  }
  .speaking-feature-caption .feature-statement {
    position:absolute; width:max-content; max-width:none; margin:0; padding:0;
    white-space:nowrap; text-wrap:nowrap; line-height:1.25;
    font-size:var(--feature-fit-size,clamp(17px,5.2cqi,28px)); letter-spacing:-.035em;
    text-shadow:0 1px 4px #000000b3,0 2px 16px #00000073;
  }
  .speaking-feature-caption .feature-statement--top {
    top:5.5%; left:3.5%; right:auto; bottom:auto; text-align:left;
  }
  .speaking-feature-caption .feature-statement--bottom {
    bottom:5.5%; right:3.5%; left:auto; top:auto;
    border:0; text-align:right; font-size:var(--feature-fit-size,clamp(16px,4.65cqi,25px));
  }
}

/* Two small signatures inhabit existing whitespace. No large quote panel,
   no new content row; the terrain passes behind both columns. */
.hybrid-site .about-grid { position:relative; isolation:isolate; }
.hybrid-site .about-visual,.hybrid-site .about-copy { position:relative; z-index:1; }
.hybrid-site .about-copy { align-self:stretch; }
.bio-terrain.ct-terrain {
  --ct-background:transparent; --ct-foreground:var(--blue);
  --ct-line:rgba(37,61,129,.15); --ct-line-accent:rgba(172,73,42,.25);
  --ct-star:rgba(37,61,129,.15); --ct-star-accent:rgba(172,73,42,.34);
  --ct-noise-opacity:0;
  position:absolute; z-index:0; inset-inline:calc(var(--gutter) * -1);
  bottom:-30px; block-size:clamp(220px,21vw,320px); min-block-size:0;
  overflow:hidden; pointer-events:none; background:none;
  mask-image:linear-gradient(transparent,#000 22%,#000 76%,transparent);
  -webkit-mask-image:linear-gradient(transparent,#000 22%,#000 76%,transparent);
}
.bio-terrain.ct-terrain::before,.bio-terrain.ct-terrain::after { content:none; }
.hybrid-site .about-grid .bio-principle {
  position:relative; width:max-content; max-width:100%;
  margin:0; padding:0; font:500 17px/1.35 var(--sans); letter-spacing:.02em;
  color:var(--blue); text-shadow:0 0 9px var(--paper),0 0 22px var(--paper);
}
.hybrid-site .about-grid .bio-principle > span {
  display:block; margin:0 0 3px; color:inherit;
  font:500 16px/1.35 var(--sans); letter-spacing:.055em;
}
.hybrid-site .about-grid .bio-principle em {
  display:block; font:400 italic clamp(23px,2.05vw,30px)/1.12 var(--serif);
  letter-spacing:-.025em; color:inherit;
}
.hybrid-site .recognition .bio-principle--rhythm { margin-top:30px; }
.hybrid-site .about-copy .bio-principle--intelligence {
  align-self:flex-end; margin-top:auto; padding-top:46px; padding-bottom:22px;
  color:var(--rust); text-align:right;
}
@media (max-width:980px) {
  .bio-terrain.ct-terrain,
  .hybrid-site .about-grid .bio-principle { display:none; }
}
@media print {
  .bio-terrain.ct-terrain { display:none!important; }
  .credibility-tunnel[data-spt-mounted="true"] .spt-tunnel__sticky { padding-block:32px; }
}

/* Focused section rhythm: remove the empty tail after the blue philosophy
   panel, then use a shared, compact outer rhythm for Watch -> Partner -> Invite.
   Section interiors, typography, and the earlier speaking/tunnel flow stay put. */
@media screen {
  .hybrid-site #about { padding-bottom:0; }
  .hybrid-site #watch,
  .hybrid-site #partner { padding-block:clamp(40px,4vw,60px); }
  .hybrid-site #connect { padding-top:clamp(40px,4vw,60px); }
}

/* Tighten only the tunnel-to-Speaker handoff; retain tunnel scroll geometry. */
@media screen {
  .hybrid-site .credibility-tunnel + #speaking { padding-top:clamp(40px,4vw,60px); }
}
