/* Viewport-sized chapters. Native snapping keeps touch, keyboard and anchors usable. */
:root{--screen:100svh;--header-height:84px}
html{scroll-padding-top:0;scroll-snap-type:y mandatory}
.header{height:var(--header-height)}
.nav .brand-mark{width:80px}
.screen-section,.closing-screen{scroll-snap-align:start;scroll-snap-stop:always;min-height:var(--screen)}
.screen-section:not(.hero-book){display:flex;padding-block:clamp(24px,4svh,48px)}
.screen-section:not(.hero-book)>.wrap{margin-block:0;align-self:stretch;display:flex;flex-direction:column}
.section-line{flex-shrink:0;padding-bottom:16px;font-size:11px}

/* The poster, video and every open leaf stay within the first viewport. */
.hero-book{height:var(--screen);min-height:0;max-height:none;padding:0}
.hero-book .hero-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.1fr);height:100%;gap:2%;padding-top:calc(var(--header-height) + 16px);padding-bottom:60px;align-items:center}
.hero-book h1{font-size:clamp(36px,min(5.2vw,8.5svh),75px);line-height:1.04;margin:20px 0}
.hero-book .hero-description{font-size:clamp(15px,1.25vw,17px);line-height:1.55;margin-bottom:24px}
.hero-book .book-visual{display:grid;grid-template-rows:minmax(0,1fr) 32px;gap:8px;height:100%;max-height:760px;min-height:0;width:100%;margin:0}
#book-scene{height:100%;min-height:0}
.book-motion{align-self:center;justify-self:center;margin:0;min-height:30px;line-height:1.2;padding:6px 14px}
.hero-book .hero-bottom{bottom:22px}

.statement{font-size:clamp(36px,4.5vw,64px);margin-block:auto;padding:32px 0;line-height:1.13}
.vision-bottom{gap:6%;line-height:1.55}
.vision-bottom>p{font-size:21px}
.vision-bottom>div p+p{margin-top:16px}
.pillars{margin-top:32px;padding-top:20px}

.section-intro{padding:28px 0;align-items:center;gap:24px}
.section-intro h2,.experience-copy h2{font-size:clamp(34px,4vw,56px);line-height:1.12}
.section-intro>p{font-size:16px;margin:0;padding:0}
.solution-layout{flex:1;align-items:center;gap:7%}
.solution-stage{height:clamp(340px,50svh,490px);min-height:0;padding:20px}
.solution-map{max-width:380px;max-height:340px;min-height:0;flex:1}
.stage-caption{font-size:16px}
.service summary{padding:19px 0;gap:16px}
.service h3{font-size:21px}
.service-body{padding:0 30px 22px}
.service-body p{font-size:15px;line-height:1.55}
.tags{margin:16px 0;gap:6px}

.network-heading{padding:18px 0 0}
.network-heading .eyebrow{font-size:10px}
.network-heading h2{font-size:clamp(34px,4.2vw,56px);line-height:1.08;margin:12px 0}
.network-heading h2 br{display:none}
.network-heading>p:last-child{font-size:15px;line-height:1.5}
.network{container-type:size;width:100%;height:250px;min-height:250px;max-height:630px;margin:8px auto 0;flex:1 0 250px}
.network-core{width:min(170px,18cqw,34cqh);height:auto;aspect-ratio:1;gap:0}
.network-core .network-brand{display:block;width:64%;flex-shrink:0}
.node{width:clamp(52px,9.8cqw,112px);height:clamp(32px,5.4cqw,58px);padding:8px}
.node img{max-width:100%;max-height:100%}
.network-controls{margin-top:auto;padding:8px 0 10px;font-size:12px;gap:16px}
.quiet-button{padding:7px 13px;min-height:34px}
.all-partners>summary{padding:12px 0;font-size:13px}
/* Expanded partner lists can grow normally; no clipped content or nested scroll area. */
.all-partners[open]{padding-bottom:12px}

.experience-story{display:contents}
.experience-layout{flex:1;align-items:center;gap:8%;padding:32px 0}
.experience-number>span{font-size:clamp(115px,14vw,195px)}
.experience-number p{font-size:19px;margin-top:24px}
.experience-copy h2{margin-bottom:22px}
.experience-copy>p{margin-top:16px;font-size:15px;line-height:1.6}
.signature{margin-top:26px;font-size:11px;line-height:1.5}
.approach{padding-top:26px;gap:5%}
.approach h3{font-size:19px;margin:13px 0 9px}
.approach article>span{font-size:11px}
.approach p{font-size:14px;line-height:1.5}

/* Contact and footer form one final screen, rather than an isolated footer fragment. */
.closing-screen{display:flex;flex-direction:column}
.contact{flex:1;display:flex;padding:28px 0 32px}
.contact>.wrap{display:flex;flex-direction:column;align-items:center;justify-content:center;align-self:stretch}
.contact .section-line{align-self:stretch;margin-bottom:auto;padding-bottom:14px}
.contact>.wrap>.eyebrow{margin-top:28px;font-size:11px}
.contact h2{font-size:clamp(40px,6vw,76px);margin:20px 0}
.contact .button{margin-top:24px;min-height:48px;padding:12px 25px}
.contact-email{margin-top:16px}
.footer{padding:20px 0}
.footer-top{padding-bottom:16px}
.footer-top .brand-mark{width:68px}
.footer-top p,.footer-top>a:last-child{font-size:12px}
.footer-bottom{padding-top:14px;font-size:11px}

@media(max-width:1050px){
  .nav{gap:18px}.nav nav{gap:16px;font-size:13px}
  .solution-layout{gap:5%}.service h3{font-size:19px}
  .stage-label{font-size:10px}.stage-caption{font-size:15px}
  .network-heading h2{font-size:40px}
}

@media(max-width:760px){
  :root{--header-height:66px}
  .nav .brand-mark{width:60px}.nav nav{top:calc(var(--header-height) - 1px)}
  .nav-cta{font-size:11px;min-height:36px;padding:8px 12px}
  .nav{gap:10px}.menu{width:40px;height:40px}
  .hero-book .hero-layout{display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:max-content minmax(0,1fr);gap:8px;align-items:stretch;padding-top:calc(var(--header-height) + 12px);padding-bottom:42px}
  .hero-book .hero-content{padding:0}
  .hero-book .eyebrow{font-size:10px;line-height:1.45;letter-spacing:.11em;max-width:none}
  .hero-book h1{font-size:clamp(28px,min(8.6vw,5.2svh),44px);margin:10px 0 12px;line-height:1.04}
  .hero-book .hero-description{font-size:14px;line-height:1.45;margin-bottom:14px;max-width:440px}
  .hero-book .solid{font-size:12px;min-height:40px;padding:10px 18px}
  .hero-book .book-visual{grid-template-rows:minmax(0,1fr) 28px;gap:4px;margin:0;max-height:none}
  .book-motion{font-size:11px;min-height:28px;padding:5px 12px}
  .hero-book .hero-bottom{bottom:12px;font-size:10px}
  .hero-book .hero-bottom a{font-size:10px;padding-bottom:2px}

  .screen-section:not(.hero-book){padding-block:24px}
  .section-line{font-size:10px;letter-spacing:.04em;gap:14px;padding-bottom:12px}
  .statement{font-size:clamp(30px,7.7vw,43px);padding:24px 0}
  .vision-bottom{gap:18px;grid-template-columns:1fr}
  .vision-bottom>p{font-size:18px;line-height:1.45}
  .vision-bottom>div{font-size:15px;line-height:1.55}
  .vision-bottom>div p+p{margin-top:14px}
  .pillars{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:26px;padding-top:18px;font-size:12px;line-height:1.5}

  .section-intro{display:block;padding:20px 0}
  .section-intro h2{font-size:clamp(28px,7.5vw,37px)}
  .section-intro>p{font-size:13px;line-height:1.5;margin:12px 0 0}
  .solution-layout{display:flex;flex-direction:column;align-items:stretch;justify-content:center;gap:0}
  .solution-stage{display:none}
  .service summary{padding:15px 0;gap:12px}
  .service h3{font-size:18px}
  .service-body{padding:0 24px 18px}
  .service-body p{font-size:14px;line-height:1.5}
  .tags{margin:14px 0}.tags span{font-size:11px;padding:4px 8px}
  .service-body a{font-size:13px}

  .connections>.wrap{width:94%}
  .network-heading{padding-top:18px}
  .network-heading h2{font-size:32px;margin:10px 0}
  .network-heading>p:last-child{font-size:14px;line-height:1.45;max-width:430px;margin-inline:auto}
  .network-heading .eyebrow{font-size:10px}
  .network{width:100%;height:250px;max-height:600px;margin:8px 0 0}
  .network-core{width:min(112px,22cqw,32cqh);height:auto}
  .network-core .network-brand{width:68%;display:block}
  .node{width:clamp(52px,15cqw,72px);height:clamp(32px,9cqw,42px);padding:7px}
  .network-controls{gap:10px;font-size:11px}
  .quiet-button{font-size:11px;padding:7px 10px}

  /* Give the three-step approach its own full, readable mobile chapter. */
  .screen-section.experience{min-height:0;padding:0}
  .screen-section.experience>.wrap{display:block}
  .experience-story,.approach{min-height:var(--screen);scroll-snap-align:start;scroll-snap-stop:always;padding-block:24px}
  .experience-story{display:flex;flex-direction:column}
  .experience-layout{display:flex;flex-direction:column;align-items:stretch;justify-content:center;gap:28px;padding:28px 0 12px}
  .experience-number{display:flex;align-items:center;gap:24px}
  .experience-number>span{font-size:104px;flex-shrink:0}
  .experience-number p{font-size:15px;margin:0}
  .experience-copy h2{font-size:34px;margin-bottom:18px}
  .experience-copy>p{font-size:15px;margin-top:14px}
  .signature{margin-top:22px;font-size:10px;letter-spacing:.10em}
  .approach{display:flex;flex-direction:column;justify-content:space-evenly;gap:24px}
  .approach article{padding-bottom:24px}
  .approach article>span{font-size:12px}
  .approach h3{font-size:24px;margin:12px 0}
  .approach p{font-size:16px;max-width:420px}

  .contact{padding:24px 0 28px}
  .contact .section-line{margin-bottom:0}
  .contact>.wrap>.eyebrow{margin-top:24px;font-size:10px}
  .contact h2{font-size:clamp(36px,9.5vw,54px);margin:18px 0}
  .contact p{font-size:14px;line-height:1.5}
  .contact .button{min-height:44px;margin-top:20px;font-size:13px}
  .contact-email{font-size:12px;margin-top:14px}
  .footer{padding:16px 0}
  .footer-top{gap:12px;padding-bottom:14px}
  .footer-top .brand-mark{width:52px}
  .footer-top p{font-size:11px}
  .footer-bottom{gap:4px;padding-top:12px;font-size:10px}
}

@media(max-width:760px) and (max-height:650px){
  :root{--header-height:60px}
  .hero-book .hero-layout{padding-top:70px;padding-bottom:36px;gap:4px}
  .hero-book h1{font-size:clamp(27px,min(8vw,5.1svh),34px);margin:8px 0}
  .hero-book .hero-description{font-size:13px;line-height:1.4;margin-bottom:10px}
  .hero-book .solid{min-height:36px;padding:8px 16px}
  .hero-book .hero-bottom{bottom:8px}
}

/* A horizontal phone uses two columns so the book never falls below the fold. */
@media(min-width:600px) and (max-height:500px){
  :root{--header-height:54px}
  .nav .brand-mark{width:52px}
  .hero-book .hero-layout{grid-template-columns:minmax(0,1fr) minmax(0,1.1fr);grid-template-rows:minmax(0,1fr);padding-top:64px;padding-bottom:36px;gap:4%;align-items:center}
  .hero-book .eyebrow{font-size:9px}
  .hero-book h1{font-size:clamp(26px,7.2svh,36px);margin:8px 0}
  .hero-book .hero-description{font-size:12px;line-height:1.4;margin-bottom:10px}
  .hero-book .solid{min-height:34px;font-size:11px;padding:8px 16px}
  .hero-book .book-visual{grid-template-rows:minmax(0,1fr) 28px;gap:4px}
  .hero-book .hero-bottom{bottom:8px;font-size:10px}
  .hero-book .hero-bottom a{font-size:10px}
  .book-motion{font-size:10px;min-height:26px;padding:5px 10px}
}

@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
