/* Screen sections. Oversized content stays readable at smaller window sizes. */
:root { --header-height: 76px; --panel-height: calc(100svh - var(--header-height)); }
html { scroll-padding-top: var(--header-height); }
@media (min-width: 1100px) and (min-height: 650px) and (pointer: fine) and (hover: hover) {
  html:not(.story-open):has(.presentation-page) { scroll-snap-type: y mandatory; }
}
.topic-story-dialog { overscroll-behavior: contain; }
.presentation-page main > section { min-height: var(--panel-height); scroll-snap-align: start; scroll-snap-stop: always; scroll-margin-top: 0; }
.presentation-page .site-footer { scroll-snap-align: end; }
.about-photo { margin: 0; aspect-ratio: auto; overflow: visible; }
.about-photo::after { display: none; }
.about-photo figcaption { padding: 10px 0 0; margin: 0; color: var(--pine-soft); font-size: 14px; line-height: 1.5; }
.skip-link { position: fixed; top: -70px; left: 20px; z-index: 100; padding: 12px 20px; background: white; color: var(--pine); }
.skip-link:focus { top: 10px; }
.contact-alternative { margin: 20px auto 0; font-size: 14px; line-height: 1.9; }
.contact-alternative a, .contact-privacy a { text-decoration: underline; text-underline-offset: 3px; }
.contact-privacy { margin: 16px auto 0; max-width: 420px; font-size: 12px; line-height: 1.6; color: var(--pine-soft); }
.footer-legal { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 20px; margin-top: 22px; }
.section-controls { position: fixed; bottom: 18px; left: 18px; z-index: 15; display: flex; align-items: center; gap: 6px; padding: 4px; border: 1px solid var(--line); border-radius: 30px; background: rgba(252,250,246,.97); color: var(--pine); box-shadow: 0 3px 16px rgba(0,0,0,.06); }
.section-controls button { width: 42px; height: 42px; border: 0; border-radius: 50%; background: transparent; color: inherit; cursor: pointer; font-size: 20px; }
.section-controls button:hover { background: var(--paper); }
.section-controls button:disabled { opacity: .3; cursor: default; }
.section-controls span { min-width: 42px; text-align: center; font-size: 12px; }
.whatsapp-shortcut { position: fixed; bottom: 20px; right: 20px; z-index: 15; background: var(--pine); color: white; border-radius: 28px; padding: 14px 20px; font-size: 13px; font-weight: 700; }
.section-controls button:focus-visible, .whatsapp-shortcut:focus-visible { outline: 3px solid var(--rose); outline-offset: 3px; }
html.story-open .section-controls, html.story-open .whatsapp-shortcut { visibility: hidden; }
@media (min-width: 1100px) and (min-height: 650px) {
  .presentation-page main > section { height: var(--panel-height); }
  .presentation-page main > section.section-long { height: auto; }
  .presentation-page .hero-copy { padding-block: clamp(24px, 5svh, 70px); }
  .presentation-page .hero h1 { font-size: clamp(78px, 14svh, 138px); }
  .presentation-page .manifesto, .presentation-page .about { padding-block: clamp(26px, 4svh, 48px); }
  .presentation-page .about-photo { width: min(100%, calc((var(--panel-height) - 110px) * 951 / 1152)); }
  .presentation-page .manifesto-visual img { height: min(66svh, calc(var(--panel-height) - 110px)); }
  .presentation-page .about blockquote { font-size: clamp(30px, 3vw, 48px); }
  .presentation-page .about-copy > p:not(.eyebrow) { font-size: 14px; line-height: 1.8; }
  .presentation-page .values { margin-top: 20px; }
  .presentation-page .business-steps { gap: 16px 24px; margin-top: 16px; }
  .presentation-page .business-steps p { font-size: 12px; line-height: 1.65; }
  .presentation-page .business-steps h3 { font-size: clamp(20px, 1.45vw, 25px); }
  .presentation-page .manifesto h2 { font-size: clamp(38px, 3.4vw, 58px); }
  .presentation-page .manifesto-lead { margin-block: 16px; font-size: 14px; }
  .presentation-page .contact { padding-block: 32px; display: flex; flex-direction: column; justify-content: center; align-items: center; }
  .presentation-page .contact h2 { font-size: clamp(42px, 5vw, 66px); }
}
@media (max-width: 580px) {
  :root { --header-height: 68px; }
  .whatsapp-shortcut { right: 12px; bottom: 14px; padding: 13px 16px; }
  .section-controls { left: 12px; bottom: 10px; }
  .section-controls button { width: 38px; height: 38px; }
  .site-footer { padding-bottom: 90px; }
  .footer-legal { justify-content: flex-start; }
  .presentation-page .topic-explorer { padding-bottom: 72px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* Give the desktop topic copy presence without changing the mobile cards. */
@media (min-width: 961px) {
  .explorer-panels {
    container-type: inline-size;
    align-items: center;
    padding: clamp(22px, 2.5vw, 44px);
  }
  .explorer-panel .panel-kicker { margin-bottom: 16px; font-size: 11px; }
  .explorer-panel h3 {
    margin-bottom: 24px;
    font-size: clamp(32px, 10cqi, 48px);
    line-height: 1.08;
  }
  .explorer-panel > p:not(.panel-kicker) {
    max-width: 34ch;
    margin-bottom: 24px;
    font-size: clamp(16px, 4.4cqi, 18px);
    line-height: 1.75;
  }
  .explorer-panel .topic-read-more { font-size: 14px; padding-block: 12px; }
}

.business-actions { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 24px; }
