/* One shared light surface. Motion mechanism: 8B Isoline evenings-surface (MIT).
   Exact adaptation and licenses: ../references/section-flow-sources.txt. */
body[data-section-flow] {
  --section-flow-canvas: #f4fbfe;
  --section-flow-ink: #123f55;
  --section-flow-muted: #476e81;
  background-color: var(--section-flow-canvas);
  background-image: none;
}
body[data-section-flow] #main,
body[data-section-flow] .brand-footer {
  background: transparent;
}
body[data-section-flow] .brand-landscape { min-height: 540px; }
body[data-section-flow] .brand-footer-copy { padding-top: 78px; padding-bottom: 70px; }
body[data-section-flow] .brand-landscape::before {
  background: radial-gradient(ellipse at 62% 42%, #ffffff4d, transparent 70%);
}

/* Sillage works:exit adaptation. Only the outgoing inner surface recedes;
   no fixed/pinned chapters, opacity fade or blur is applied to its text. */
body[data-section-flow-mode="scroll"] [data-section-recede-active] { will-change: transform; }
body[data-section-flow-mode="scroll"] #opening[data-recede-shell] {
  background: var(--section-flow-canvas);
}
body[data-section-flow-mode="scroll"] #opening[data-recede-shell] .opening__second {
  overflow: clip;
}

/* About: the real photograph, data, timeline and culture occupy the same canvas.
   Keep the photo's existing image mask, transform and pointer interaction intact. */
body[data-section-flow="about"] .about-experience,
body[data-section-flow="about"] .real-campus,
body[data-section-flow="about"] .about-data,
body[data-section-flow="about"] .about-history,
body[data-section-flow="about"] .about-culture,
body[data-section-flow="about"] .about-next {
  background: transparent;
}
body[data-section-flow="about"] .real-campus__wash {
  background:
    linear-gradient(180deg,
      var(--section-flow-canvas) 1%,
      color-mix(in srgb, var(--section-flow-canvas) 96%, transparent) 33%,
      color-mix(in srgb, var(--section-flow-canvas) 58%, transparent) 55%,
      transparent 79%),
    linear-gradient(90deg,
      var(--section-flow-canvas) 0%, var(--section-flow-canvas) 33%,
      color-mix(in srgb, var(--section-flow-canvas) 96%, transparent) 47%,
      transparent 65%);
  box-shadow: inset 0 -35px 30px -12px var(--section-flow-canvas);
}
body[data-section-flow="about"] .about-data { padding-top: 40px; padding-bottom: 42px; }
body[data-section-flow="about"] .about-history { padding-top: 62px; padding-bottom: 46px; }
body[data-section-flow="about"] .about-history-track { padding-bottom: 0; }
body[data-section-flow="about"] .about-history-entry:last-of-type { padding-bottom: 26px; }
body[data-section-flow="about"] .history-year i {
  background: var(--section-flow-canvas);
  box-shadow: 0 0 0 7px var(--section-flow-canvas);
}
body[data-section-flow="about"] .about-culture {
  padding-top: 62px;
  padding-bottom: 54px;
  color: var(--section-flow-ink);
}
body[data-section-flow="about"] .culture-heading { min-height: 425px; }
body[data-section-flow="about"] .culture-heading h2,
body[data-section-flow="about"] .culture-answer h3 { color: var(--section-flow-ink); }
body[data-section-flow="about"] .about-culture .eyebrow,
body[data-section-flow="about"] .culture-word,
body[data-section-flow="about"] .culture-word small { color: #08718f; }
body[data-section-flow="about"] .culture-heading > p,
body[data-section-flow="about"] .culture-answer p { color: var(--section-flow-muted); }
body[data-section-flow="about"] .culture-item { border-color: #a1cddc; }
body[data-section-flow="about"] .culture-item:first-child { border-top-color: #a1cddc; }
body[data-section-flow="about"] .culture-mark { border-color: #6bafc6; }
body[data-section-flow="about"] .culture-mark::after { background: #139bc0; }
body[data-section-flow="about"] .culture-dragon {
  background: linear-gradient(130deg, #33bad9, #8ed8e9);
  opacity: .24;
}
body[data-section-flow="about"] .about-next { padding-top: 42px; padding-bottom: 32px; }

/* Homepage: retain the two existing product interactions; only their section
   surfaces and the space between chapters are coordinated here. */
body[data-section-flow="home"] .tl-company-story.tl-home-story,
body[data-section-flow="home"] .tl-gallery-section,
body[data-section-flow="home"] .tl-collections,
body[data-section-flow="home"] .quality-feature,
body[data-section-flow="home"] .parent-section,
body[data-section-flow="home"] .cooperation-band,
body[data-section-flow="home"] .home-news { background: transparent; }
body[data-section-flow="home"] .tl-home-story .tl-sticky-row:last-child {
  min-height: 72svh;
  padding-bottom: 6svh;
}
body[data-section-flow="home"] .tl-gallery-section { padding-top: 64px; padding-bottom: 54px; }
body[data-section-flow="home"] .tl-collections { padding-top: 82px; padding-bottom: 68px; }
body[data-section-flow="home"] .quality-feature { padding-top: 68px; padding-bottom: 68px; color: var(--section-flow-ink); }
body[data-section-flow="home"] .quality-feature .eyebrow,
body[data-section-flow="home"] .quality-feature-head { color: #08718f; }
body[data-section-flow="home"] .quality-feature-head { border-color: #acd4e2; }
body[data-section-flow="home"] .quality-feature-body h2 { color: var(--section-flow-ink); }
body[data-section-flow="home"] .quality-feature-copy p { color: var(--section-flow-muted); }
body[data-section-flow="home"] .quality-feature .button.secondary { color: #086787; border-color: #85bdce; }
body[data-section-flow="home"] .quality-feature .button.secondary span { background: #eaf8fd; color: #08718f; }
body[data-section-flow="home"] .quality-tags span { border-color: #a8cedc; }
body[data-section-flow="home"] .quality-arc {
  border-color: #6bb5cd30;
  box-shadow: 0 0 0 32px #6bb5cd0a, 0 0 0 64px #6bb5cd08, 0 0 0 96px #6bb5cd06;
}
body[data-section-flow="home"] .parent-wrap { padding-top: 62px; padding-bottom: 62px; }
body[data-section-flow="home"] .parent-section { padding-top: 28px; padding-bottom: 28px; border-bottom: 0; }
body[data-section-flow="home"] .cooperation-band .section { padding-top: 62px; padding-bottom: 60px; }
body[data-section-flow="home"] .home-news { padding-top: 62px; padding-bottom: 40px; }

/* Editorial pages use the same paper and ink as the homepage. */
body[data-section-flow="quality"] .ed-page,
body[data-section-flow="cooperation"] .ed-page,
body[data-section-flow="quality"] .ed-hero,
body[data-section-flow="cooperation"] .ed-hero,
body[data-section-flow="quality"] .ed-system,
body[data-section-flow="quality"] .ed-next,
body[data-section-flow="cooperation"] .ed-process { background: transparent; }
body[data-section-flow="quality"] .ed-hero,
body[data-section-flow="cooperation"] .ed-hero { border-bottom: 0; padding-bottom: 18px; }
body[data-section-flow="quality"] .ed-section,
body[data-section-flow="cooperation"] .ed-section { padding-top: 76px; padding-bottom: 72px; }
body[data-section-flow="quality"] .ed-system { padding-top: 62px; padding-bottom: 62px; color: var(--section-flow-ink); }
body[data-section-flow="quality"] .ed-system .ed-kicker { color: #08718f; }
body[data-section-flow="quality"] .ed-system h2,
body[data-section-flow="quality"] .ed-system .ed-large-copy { color: var(--section-flow-ink); }
body[data-section-flow="quality"] .ed-system .text-link { color: #08718f; }
body[data-section-flow="quality"] .ed-system p { color: var(--section-flow-muted); }
body[data-section-flow="quality"] .ed-next { padding-top: 40px; padding-bottom: 28px; }
body[data-section-flow="cooperation"] .ed-process { padding-top: 58px; padding-bottom: 62px; }
body[data-section-flow="cooperation"] .ed-process-steps li::before { border-color: var(--section-flow-canvas); }
body[data-section-flow="cooperation"] .ed-contact-strip { padding-top: 58px; padding-bottom: 40px; }

/* Catalog and news stay static. Preserve the deliberate white image surfaces. */
body[data-section-flow="news"] .ed-page,
body[data-section-flow="news"] .ed-hero { background: transparent; }
body[data-section-flow="news"] .ed-hero { border-bottom: 0; }
body[data-section-flow="news"] .ed-section { padding-bottom: 72px; }
body[data-section-flow="news"] .ed-record-layout { padding-bottom: 64px; }

/* Contact and catalog: carry the existing orbital backdrop through the heading
   without a separate title-band rectangle. Its vertical spill stays intact. */
body:is([data-section-flow="contact"], [data-section-flow="products"]) #main { overflow-x: clip; }
body:is([data-section-flow="contact"], [data-section-flow="products"]) .page-title-band {
  background: transparent;
  border: 0;
  border-radius: 0;
  margin-bottom: 0;
  overflow: visible;
}
body:is([data-section-flow="contact"], [data-section-flow="products"]) .page-title-band .page-title { border-bottom: 0; margin-bottom: 0; padding-bottom: 42px; }
body:is([data-section-flow="contact"], [data-section-flow="products"]) .page-orbit {
  width: clamp(340px, 42vw, 620px);
  height: clamp(340px, 42vw, 620px);
  top: -170px;
  opacity: .65;
  mask-image: linear-gradient(180deg, #000 32%, transparent 100%);
  -webkit-mask-image: linear-gradient(180deg, #000 32%, transparent 100%);
}
body[data-section-flow="contact"] .contact-layout { position: relative; z-index: 1; padding-top: 30px; padding-bottom: 46px; }
body[data-section-flow="contact"] .form-panel { background: #ffffffb8; }

@media (max-width: 960px) {
  body[data-section-flow="home"] .tl-home-story .tl-sticky-row:last-child { min-height: 0; padding-bottom: 40px; }
}
@media (max-width: 900px) {
  body[data-section-flow] .brand-landscape { min-height: 470px; }
  body[data-section-flow] .brand-footer-copy { padding-top: 62px; padding-bottom: 56px; }
  body[data-section-flow="about"] .about-data { padding-top: 28px; padding-bottom: 28px; }
  body[data-section-flow="about"] .about-history { padding-top: 46px; padding-bottom: 30px; }
  body[data-section-flow="about"] .about-history-entry:last-of-type { padding-bottom: 12px; }
  body[data-section-flow="about"] .about-culture { padding-top: 44px; padding-bottom: 38px; }
  body[data-section-flow="about"] .culture-heading { min-height: 220px; }
  body[data-section-flow="about"] .history-year i { box-shadow: 0 0 0 4px var(--section-flow-canvas); }
  body[data-section-flow="about"] .about-next { padding-top: 32px; padding-bottom: 24px; }
  body[data-section-flow="home"] .tl-gallery-section { padding-top: 42px; padding-bottom: 36px; }
  body[data-section-flow="home"] .tl-collections { padding-top: 52px; padding-bottom: 46px; }
  body[data-section-flow="home"] .quality-feature { padding-top: 44px; padding-bottom: 44px; }
  body[data-section-flow="home"] .parent-wrap { padding-top: 42px; padding-bottom: 38px; }
  body[data-section-flow="home"] .parent-section { padding-top: 24px; padding-bottom: 24px; }
  body[data-section-flow="home"] .cooperation-band .section { padding-top: 44px; padding-bottom: 40px; }
  body[data-section-flow="home"] .home-news { padding-top: 42px; padding-bottom: 28px; }
  body[data-section-flow="quality"] .ed-section,
  body[data-section-flow="cooperation"] .ed-section { padding-top: 48px; padding-bottom: 48px; }
  body[data-section-flow="quality"] .ed-system { padding-top: 42px; padding-bottom: 42px; }
  body[data-section-flow="quality"] .ed-next { padding-top: 32px; padding-bottom: 22px; }
  body[data-section-flow="cooperation"] .ed-process { padding-top: 42px; padding-bottom: 44px; }
  body[data-section-flow="cooperation"] .ed-contact-strip { padding-top: 42px; padding-bottom: 30px; }
  body[data-section-flow="news"] .ed-section { padding-bottom: 48px; }
  body[data-section-flow="news"] .ed-record-layout { padding-bottom: 44px; }
  body:is([data-section-flow="contact"], [data-section-flow="products"]) .page-title-band .page-title { padding-bottom: 28px; }
  body[data-section-flow="contact"] .contact-layout { padding-top: 18px; padding-bottom: 32px; }
  body:is([data-section-flow="contact"], [data-section-flow="products"]) .page-orbit { right: -135px; top: -155px; }
}
@media (prefers-reduced-motion: reduce) {
  body[data-section-flow] { scroll-behavior: auto; }
}
