/* Shared typography scale for every page and interactive workshop. */
:root {
  --type-hero: 56px;
  --type-section: 36px;
  --type-card: 24px;
  --type-lead: 20px;
  --type-body: 18px;
  --type-control: 16px;
  --type-caption: 13px;
}
body { font-size: var(--type-body); line-height: 1.55; }
h1, main h1 { font-size: var(--type-hero) !important; line-height: 1.15 !important; }
h2, main h2, footer h2 { font-size: var(--type-section) !important; line-height: 1.15 !important; }
h3, main h3 { font-size: var(--type-card) !important; line-height: 1.25 !important; }
h4, main h4 { font-size: var(--type-body) !important; line-height: 1.4 !important; }
main p, footer p, dialog p, main li, main details {
  font-size: var(--type-body) !important;
  line-height: 1.55 !important;
}
main p, dialog p { max-width: 65ch; }
main :is(.reveal-intro, .page-intro, .wg-hero, .connected-intro, .strategy-page-head)>p,
main .hero-approved-copy p, main .strategy-lead {
  font-size: var(--type-lead) !important;
  line-height: 1.55 !important;
}
:is(.button, .header-cta, .menu-toggle, .inline-link, .text-button, .filter, .plain),
.site-header nav, .site-header nav a, main button, dialog button,
label, input, select, textarea {
  font-size: var(--type-control) !important;
  line-height: 1.5 !important;
}
:is(.eyebrow, .tag, .small-note, .hint, .notice, .footer-bottom, .wg-caption,
.wg-audience, .wg-art-label, .wg-local-note, .strategy-note, .strategy-availability,
.record-status, .ws-notice, .ws-legend, .ed-note, .connected-footer),
main small, main figcaption, .brand small,
main .ws-progress li, main .ws-row {
  font-size: var(--type-caption) !important;
  line-height: 1.5 !important;
}
.brand small { letter-spacing: .08em; margin-top: 5px; }
.site-header { gap: 24px; }
.site-header nav { gap: 24px; }
.button { white-space: normal; text-align: center; height: auto; min-height: 46px; }
main :is(input, select, textarea) { max-width: 100%; }
main :is(.choice, .room-options button, .piece-options button, .perspective-buttons button) {
  height: auto; min-height: 48px; white-space: normal;
}
main :is(.choice strong, .room-options strong, .room-options span, .piece-options button,
.perspective-buttons button, .ws-options strong) { font-size: var(--type-control) !important; }
main :is(.choice small, .perspective-buttons button>span, .wg-card-foot small) { font-size: 14px !important; }
main :is(.piece-content h2, .room-scene-caption h2, .buyer-view h2) { font-size: var(--type-card) !important; }
main :is(.museum-question p, .journey-case-question>p, .story-u-base strong) {
  font-size: var(--type-card) !important; line-height: 1.35 !important;
}
main :is(.museum-evidence p, .museum-navigation button, .museum-invitation small,
.jg-node small, .jg-node>span, .record-row>span, .ws-card>span) {
  font-size: var(--type-caption) !important; line-height: 1.5 !important;
}
@media (max-width: 1100px) {
  .site-header { gap: 16px; }
  .site-header nav { gap: 16px; }
}
@media (max-width: 700px) {
  :root {
    --type-hero: 36px;
    --type-section: 28px;
    --type-card: 22px;
    --type-lead: 18px;
    --type-body: 17px;
    --type-control: 15px;
  }
  .brand small { font-size: 11px !important; }
  .footer-bottom { gap: 18px; flex-wrap: wrap; }
  main h1 { overflow-wrap: break-word; }
}

/* Compact rhythm, preserving comfortable touch targets and reading width. */
main .section { padding-top: 56px; padding-bottom: 56px; }
main .page-intro { padding-top: 52px; padding-bottom: 36px; }
main .section-heading { margin-bottom: 28px; gap: 36px; }
main :is(.ed-intro, .ed-collections, .ed-founder) { padding-top: 34px; padding-bottom: 34px; }
main :is(.ed-invitation, .ed-practice) { column-gap: 6%; }
main .ed-topics { gap: 24px; }
main .ed-topic img { margin-bottom: 16px; }
main .ed-topic h3 { margin-bottom: 10px; }
main .ed-topic p { margin-bottom: 14px; }
main .wg-hero { padding-top: 48px; padding-bottom: 44px; gap: 32px; }
main .wg-grid { gap: 22px; margin-bottom: 22px; }
main .immersive-hero:has(.people-leaders-hero) { height: auto !important; min-height: 0 !important; padding-top: 132px !important; padding-bottom: 52px !important; }
main .people-leaders-hero h1 { margin-bottom: 18px; }
main .people-leaders-hero .hero-approved-copy p { margin-bottom: 10px; }
main .people-leaders-hero .intro-actions { margin-top: 18px; }
main .button { padding: 11px 20px; min-height: 44px; }
footer { padding-top: 44px; }
.footer-bottom { margin-top: 36px; }
@media (max-width: 760px) {
  main .section, main :is(.ed-intro, .ed-collections, .ed-founder) { padding-top: 28px; padding-bottom: 28px; }
  main .page-intro { padding-top: 34px; padding-bottom: 24px; }
  main .section-heading { margin-bottom: 22px; }
  main .wg-hero { padding-top: 30px; padding-bottom: 30px; gap: 22px; }
  main .ed-topics { gap: 28px; }
  main .immersive-hero:has(.people-leaders-hero) { padding-top: 110px !important; padding-bottom: 34vh !important; }
  footer { padding-top: 32px; }
  .footer-bottom { margin-top: 28px; }
}

/* Continuous hero with a lower portrait and a soft navigation backdrop. */
.home-immersive .site-header{background:linear-gradient(180deg,#fbfaf6 0%,#fbfaf6ed 65%,#fbfaf600 100%);border:0}
@media(min-width:761px){
  .editorial-home .immersive-hero .reveal-scene{inset:0;width:100%;height:100%;min-height:0}
  .editorial-home .immersive-hero .mono-scene,.editorial-home .immersive-hero .color-scene{object-position:77% 0%}
}
@media(max-width:1150px){
  .home-immersive .site-header nav.open{background:#fbfaf6}
}

/* Give the opening scene a full screen and room to breathe. */
main .immersive-hero:has(.people-leaders-hero){min-height:100svh!important;padding-top:156px!important;padding-bottom:90px!important;display:flex;align-items:center}
main .people-leaders-hero h1{margin-bottom:28px}
main .people-leaders-hero .hero-approved-copy{max-width:530px}
main .people-leaders-hero .intro-actions{margin-top:28px}
.hero-examples{max-width:540px;margin-top:32px;padding-top:18px;border-top:1px solid #9eaa874d;color:#4f5b42}
.hero-examples-label{display:block;font-size:10px;letter-spacing:.12em;font-weight:600;margin-bottom:9px}
.hero-examples>div{font-size:13px;line-height:1.9;text-wrap:pretty}
.hero-examples a{text-decoration:underline;text-decoration-color:#b6a16b88;text-underline-offset:4px}
.hero-examples a:hover{color:#344721;text-decoration-color:#a5853f}
@media(max-width:760px){
 main .immersive-hero:has(.people-leaders-hero){min-height:100svh!important;display:block;padding-top:120px!important;padding-bottom:35vh!important}
 main .people-leaders-hero h1{margin-bottom:22px}
 .hero-examples{margin-top:24px;max-width:100%}
 .hero-examples>div{font-size:12px}
}

/* A small welcome from Zoey, above the navigation. */
.zoey-welcome{min-height:48px;position:relative;z-index:25;background:#edf0e5;color:#3f4f32;display:flex;align-items:center;justify-content:center;gap:18px;padding:3px 4%;border-bottom:1px solid #dce0cf}
.zoey-welcome p{font-size:12px;line-height:1.5;margin:0}
.zoey-welcome strong{font-weight:600}
.zoey-welcome>a{font-size:12px;white-space:nowrap;text-decoration:underline;text-underline-offset:3px}
.zoey-walk-track{display:block;width:78px;height:42px;flex-shrink:0;overflow:hidden}
.zoey-walk-track img{width:48px;height:42px;object-fit:contain;animation:zoey-stroll 6s ease-in-out infinite,zoey-step .65s ease-in-out infinite alternate;transform-origin:50% 85%}
.zoey-motion{border:0;background:transparent;color:#52613d;font-size:12px;min-width:28px;min-height:30px;flex-shrink:0}
.zoey-welcome.is-paused img{animation-play-state:paused}
.home-immersive .site-header{top:48px}
main .immersive-hero:has(.people-leaders-hero){min-height:calc(100svh - 48px)!important}
@keyframes zoey-stroll{0%,12%{translate:0 0}48%,62%{translate:28px 0}100%{translate:0 0}}
@keyframes zoey-step{from{transform:translateY(0) rotate(-2deg)}to{transform:translateY(-2px) rotate(2deg)}}
@media(max-width:760px){
 .zoey-welcome{height:84px;padding:7px 4%;gap:9px}
 .zoey-welcome p{font-size:11px}
 .zoey-welcome>a{font-size:11px;white-space:normal;max-width:70px}
 .zoey-walk-track{width:46px}
 .zoey-walk-track img{width:35px}
 .home-immersive .site-header{top:84px}
 main .immersive-hero:has(.people-leaders-hero){min-height:calc(100svh - 84px)!important}
}
@media(prefers-reduced-motion:reduce){.zoey-walk-track img{animation:none}.zoey-motion{display:none}}

/* Keep the story introduction beneath its heading. */
.editorial-home .ed-collections.home-essential .section-heading{display:block}
.editorial-home .ed-collections.home-essential .section-heading>p{max-width:780px;margin:16px 0 0}
