/* Compact pages: a cover, six roles, and details opened on demand. */
.compact{min-height:100svh;display:flex;flex-direction:column;line-height:1.5}
.compact [hidden]{display:none!important}
.compact header:has(.role-nav){flex-wrap:nowrap;gap:16px;padding:14px 4%}
.compact header .wordmark{font-size:24px;margin-right:12px}
.compact .role-nav{order:0;width:auto;display:flex;flex-wrap:nowrap;margin-left:auto;gap:20px;font-size:14px}
.compact .role-nav a{padding:9px 0}
.compact #music,.compact #motion{font-size:11px;padding:7px 11px;margin-left:0;min-height:44px}
.compact main{flex:1;width:100%;max-width:1360px;padding:20px 4%}
.compact h1{font-size:56px;line-height:1;text-transform:uppercase}
.role-heading{display:flex;justify-content:space-between;align-items:center;gap:24px;margin-bottom:16px}
.role-heading p{margin-top:8px;font-size:16px;color:var(--muted)}
.role-layout{display:grid;grid-template-columns:minmax(0,.85fr) minmax(0,1.25fr);gap:32px;align-items:center}
.role-copy{min-width:0;max-width:65ch}
.role-copy h2{font-size:30px;margin-bottom:12px}
.role-copy h3{font-size:17px;line-height:1.4;margin:24px 0 8px}
.role-copy p{color:var(--muted)}
.role-copy .role-subtitle{color:var(--cream);font-size:18px;margin:0 0 18px}
.role-copy ul{margin:0;padding-left:20px;color:var(--muted)}
.role-copy li+li{margin-top:6px}
.compact .credential{margin:0 0 20px;padding:0 0 16px;border:0;border-bottom:1px solid #41606f}
.compact .credential h2{font-size:26px;margin-bottom:4px}
.compact .credential p{margin:0;color:var(--cream)}
.compact .text-link{margin-top:10px;padding:10px 0;min-height:44px}
.compact .role-layout>.main-photo{align-self:center;justify-self:center;width:100%}
.compact .main-photo img{height:clamp(360px,calc(100svh - 304px),640px);max-height:none;object-fit:contain}
.compact .portrait,.compact .product-photo{max-width:none}
.compact footer{margin-top:auto;padding:12px 4%;font-size:12px;gap:24px}
.compact footer a{padding:7px 0}
/* Leader: keep the program flyer beside its plans and identify the tour. */
.leader-program{display:grid;grid-template-columns:104px minmax(0,1fr);gap:20px;align-items:start;margin-top:16px}
.leader-program figure{margin:0}
.leader-program img{display:block;width:100%;height:auto}
.leader-program figcaption{font-size:12px;margin-top:6px;color:var(--muted)}
.leader-program h3{margin:0 0 8px}
.leader-program ul{font-size:14px}
.leader-program .note{font-size:12px;line-height:1.5;margin:12px 0 0}
.leader-page .main-photo figcaption strong,.leader-page .main-photo figcaption span{display:block}
.leader-page .main-photo figcaption strong{color:var(--cream);font-size:14px;margin-bottom:4px}
.compact .leader-page .main-photo img{height:clamp(320px,calc(100svh - 336px),608px)}
.leader-media-caption{display:grid;grid-template-columns:minmax(0,1fr) 200px;gap:16px;align-items:start}
.leader-page .leader-certificate{display:flex;align-items:center;gap:12px;text-align:left;background:transparent;color:var(--aqua);font:inherit;line-height:1.4}
.compact .leader-page .leader-certificate img{width:80px;height:52px;object-fit:contain;flex-shrink:0}
@media(max-width:800px){.leader-media-caption{grid-template-columns:1fr;gap:12px}}
@media(max-width:800px){.compact .leader-page .role-layout>.main-photo{display:block}.leader-page .main-photo>.image-button{display:none}.leader-page .main-photo figcaption{margin-top:0}.leader-program{grid-template-columns:100px minmax(0,1fr);gap:16px}}
/* Athlete: the record alongside the photographs behind it. */
.compact .athlete-layout{align-items:stretch;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr)}
.compact .achievement-groups{margin:0}
.compact .achievement-groups section+section{margin-top:16px}
.compact .achievement-groups .achievements{gap:12px;margin:8px 0}
.compact .achievement-groups h2{font-size:13px;padding-bottom:8px;margin-bottom:0}
.compact .achievement-groups dt{font-size:24px}
.compact .achievement-groups dd{font-size:14px;line-height:1.45}
.region-world{--region-color:#76eef1}.region-americas{--region-color:#f2ce84}.region-usa{--region-color:#bda8ff}
.region-achievement{display:grid;grid-template-columns:144px minmax(0,1fr);gap:16px;align-items:center}
.compact .athlete-page .geography-achievements section+section{margin-top:8px;padding-top:8px;border-top:1px solid #294352}
.region-map{width:100%;height:96px;object-fit:contain}
.compact .geography-achievements h2{font:800 28px/1.05 Barlow,Arial,sans-serif;letter-spacing:0;color:var(--region-color);padding:0;border:0}
.region-copy p{margin:4px 0 0;font-size:12px;line-height:1.35}
.region-copy .region-reach{font-size:14px;color:var(--cream)}
.region-reach strong{font-size:17px}
.compact .geography-achievements .achievements{margin:8px 0 0}
.compact .geography-achievements dt{font-size:22px;color:var(--cream)}
.compact .geography-achievements dd{font-size:12px;line-height:1.35;margin-top:3px}
.compact .region-world dt{font-size:32px;color:#edf6ff}
.compact .region-world .achievements{margin-top:6px}
.solo-medal{display:flex;align-items:center;gap:8px}
.silver-medal{width:28px;height:34px;flex-shrink:0}
.region-copy .world-placements{margin-top:3px;font-size:12px;font-weight:400;color:var(--muted)}
.region-links{display:flex;align-items:center;flex-wrap:wrap;gap:4px 16px;margin-top:4px}
.region-links .map-note{font-size:11px;color:var(--muted);margin:0}
.compact .region-links .text-link{margin-top:0}
@media(max-width:650px){.region-achievement{grid-template-columns:100px minmax(0,1fr);gap:12px}.region-map{height:92px}.compact .geography-achievements h2{font-size:26px}}
.athlete-evidence{display:grid;grid-template-columns:minmax(0,1fr) 80px;grid-template-rows:minmax(0,1fr) 44px;gap:8px 12px;height:clamp(440px,calc(100svh - 284px),700px)}
.compact .medal-feature{display:grid;grid-template-rows:minmax(0,1fr) auto;grid-column:1;grid-row:1/3;min-width:0;min-height:0;padding:0}
.compact .medal-feature .image-button{min-height:0;display:grid;place-items:center}
.compact .medal-feature img{height:100%;max-height:none;width:100%;object-fit:contain}
.compact .medal-feature figcaption{font-size:12px}
.compact .swimming-gallery{grid-column:2;grid-row:1;grid-template-columns:1fr;grid-template-rows:repeat(8,minmax(0,1fr));gap:4px;margin:0;min-height:0}
.compact .swimming-gallery figure,.compact .swimming-gallery .image-button{height:100%;min-height:0}
.compact .swimming-gallery img{height:100%;width:100%;object-fit:cover}
.athlete-evidence>.slideshow-start{grid-column:2;grid-row:2;width:100%;padding:8px;font-size:13px}
/* Projects and creative work switch in place instead of becoming a long feed. */
.tab-list{display:flex;flex-wrap:wrap;gap:8px 28px;border-bottom:1px solid #41606f;margin-bottom:24px}
.tab-list button{border:0;border-bottom:3px solid transparent;background:none;padding:10px 0;min-height:44px;text-align:left;font-weight:700;font-size:15px}
.tab-list button[aria-selected=true]{color:var(--aqua);border-color:var(--aqua)}
.tab-list button:hover{color:var(--aqua)}
[role=tabpanel]:focus-visible{outline:2px solid var(--aqua);outline-offset:8px}
/* Athletic results: highlights first, with one year open at a time. */
.compact main.athlete-page{padding-top:20px;padding-bottom:20px}
.athlete-page .role-heading{flex-wrap:wrap;gap:12px 24px;margin-bottom:16px}
.athlete-page .achievement-groups section+section{margin-top:12px}
.athlete-tabs{margin:0;gap:20px}
.athlete-tabs button{font-size:14px}
.results-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px 48px;align-items:start}
.competition-results h2{font-size:24px;margin:0 0 8px}
.competition-results ul{list-style:none;padding:0;margin:0}
.competition-results li{display:grid;grid-template-columns:44px 1fr;gap:12px;padding:4px 0;border-bottom:1px solid #294352;font-size:14px;line-height:1.4}
.competition-results .place{color:var(--aqua);font-variant-numeric:tabular-nums}
.competition-results .first-place{font-weight:700}
.competition-results .note{display:block;margin-top:2px;font-size:12px;color:var(--muted)}
@media(max-width:800px){.athlete-tabs{order:3;width:100%;justify-content:space-between;gap:12px}.results-grid{grid-template-columns:1fr;gap:24px}}
.creator-page .role-heading{margin-bottom:8px}
.project-navigation{display:flex;align-items:center;gap:24px;margin-bottom:12px}
.project-navigation>p{font-size:14px;font-weight:700;color:var(--muted)}
.project-navigation .tab-list{display:flex;flex-wrap:wrap;gap:4px;border:0;margin:0}
.project-navigation .tab-list button{padding:9px 14px;border:1px solid transparent;border-radius:6px;font-size:14px}
.project-navigation .tab-list button[aria-selected=true]{background:#163848;border-color:#527987}
@media(max-width:650px){.project-navigation{display:block}.project-navigation>p{margin-bottom:4px}.project-navigation .tab-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}}
.project-panel{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(0,1fr);gap:32px;align-items:start}
.project-panel>.image-button img{height:auto;max-height:clamp(360px,calc(100svh - 304px),640px);object-fit:contain}
.compact .project-copy h2{font-size:32px;margin:0 0 12px}
.compact .project-copy p{font-size:15px;line-height:1.5;margin-top:12px}
.compact .project-copy p.note{font-size:12px;line-height:1.5;margin-bottom:0}
.compact .project-copy .submission-status{color:var(--aqua);margin:0 0 14px}
.project-actions{display:flex;gap:24px;flex-wrap:wrap}
.project-actions .text-link{font-size:13px}
.compact .project-copy details{margin-top:8px;padding-top:8px}
.compact .project-copy summary{font-size:14px;padding:8px 0;min-height:44px}
.compact .project-copy details p{max-width:65ch}
.compact .project-copy video{max-height:260px}
.compact-gallery-heading{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:16px}
.compact-gallery-heading h2{font-size:20px}
.compact .slideshow-start{font-size:13px;padding:8px 16px;min-height:44px}
.art-honors{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 32px;margin-bottom:20px}
.art-honors>div{border-left:3px solid var(--aqua);padding-left:14px}
.art-honors h3{margin:0 0 4px;font-size:20px;line-height:1.25;color:var(--aqua)}
.art-honors p{font-size:15px;line-height:1.4}
.art-honors span{display:block;margin-top:3px;font-size:12px;line-height:1.4;color:var(--muted)}
.compact .art-gallery{grid-template-columns:repeat(6,minmax(0,1fr));gap:16px}
.compact .art-gallery .image-button{background:transparent}
.compact .art-gallery img{height:clamp(200px,calc(100svh - 490px),430px);object-fit:contain}
.compact .art-gallery figcaption{font-size:12px;line-height:1.35;margin-top:6px}
.piano-panel{display:grid;grid-template-columns:minmax(0,.45fr) minmax(0,1.55fr);gap:32px;align-items:center}
.piano-panel h2{font-size:44px;color:var(--aqua);margin-bottom:8px}
.piano-panel .role-subtitle{font-size:20px;margin-bottom:16px}
.piano-panel>div>p{max-width:42ch}
.compact .piano-media{margin:0;gap:20px;grid-template-columns:1fr 2.25fr;max-width:none}
.compact .piano-media img{height:clamp(300px,calc(100svh - 304px),640px);object-fit:contain}
.enterprise-brand{display:flex;align-items:center;gap:20px;margin-bottom:24px}
.enterprise-brand img{width:76px;height:76px}
.enterprise-brand h2{margin:0 0 6px}
.enterprise-brand p{margin:0;font-size:14px}
.role-heading:has(.tab-list){flex-wrap:wrap;gap:12px 24px}
.role-heading>.tab-list{margin:0}
/* Keep the approved cover as a compact doorway into the role pages. */
.compact.home main{display:flex;padding:0;max-width:none}
.compact.home .real-cover{flex:1;height:auto;min-height:430px;max-height:none}
.compact.home .cover-intro{padding:32px 0 30px 4%}
.compact.home .cover-intro h1{font-size:clamp(90px,9vw,140px);font-style:italic;line-height:.93;letter-spacing:-.025em;animation:title-arrive 1.1s cubic-bezier(.16,1,.3,1) both}
.compact.home .cover-intro h1 span{color:var(--aqua)}
.compact.home .cover-intro p{margin-top:18px;font-size:16px;line-height:1.5}
.compact.home .cover-cta{margin-top:22px;font-size:14px;min-height:44px;padding:12px 22px}
.compact.home .panel-copy{bottom:28px}
.compact.home .cover-athlete-panel h3{font-size:48px}
.compact.home .panel-copy p{font-size:12px}
.compact.home .home-impact{background:var(--cream);color:var(--navy);padding:16px 4%;display:flex;align-items:center;justify-content:space-between;gap:32px}
.home-impact h2{font-size:26px;line-height:1.05}
.home-impact p{font-size:14px}
.compact .home-impact a{color:var(--navy);font-size:14px;font-weight:700;white-space:nowrap;min-height:44px;padding:12px 0}
@media(max-width:1100px){
 .compact header:has(.role-nav){flex-wrap:wrap;gap:8px 16px;padding:10px 4%}
 .compact header .wordmark{margin-right:auto}
 .compact .role-nav{order:3;width:100%;margin:0;justify-content:space-between;gap:16px}
 .role-layout{gap:32px}.project-panel{gap:28px}
 .compact .art-gallery{grid-template-columns:repeat(3,minmax(0,1fr))}.compact .art-gallery img{height:clamp(140px,calc((100svh - 416px)/2),240px)}
 .compact.home .cover-intro h1{font-size:96px}
}
@media(max-width:800px){
 .role-layout,.compact .athlete-layout,.project-panel,.piano-panel{grid-template-columns:1fr;gap:24px}
 .compact .role-layout>.main-photo{order:0;justify-self:start}
 .compact .portrait{max-width:240px}.compact .portrait img{max-height:280px}
 .role-copy{max-width:70ch}
 .project-panel>.image-button img{max-height:200px;width:100%}
 .compact .product-photo img{max-height:300px}
 .compact .piano-media img{height:220px}
 .compact.home .home-impact{gap:20px}.home-impact p{display:none}
}
@media(max-width:650px){
 .compact main{padding:20px 5% 24px}
 .compact h1{font-size:44px}
 .role-heading{gap:16px;margin-bottom:20px}.role-heading p{font-size:15px}
 .compact header .wordmark{font-size:23px;margin-right:auto}
 .compact #music,.compact #motion{font-size:10px;padding:7px 9px}
 .compact .role-nav{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0 14px;font-size:13px}
 .compact .role-nav a{padding:9px 0}
 .tab-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 20px;margin-bottom:20px}
 .tab-list button{font-size:14px}
 .athlete-tabs{display:flex;flex-wrap:nowrap;gap:8px;margin:0}.athlete-tabs button{font-size:13px}.athlete-page .role-heading>div:first-child{flex:1}
 .compact .project-copy h2{font-size:30px}
 .compact .project-copy p{font-size:14px}
 .compact .project-copy p.note{font-size:12px}
 .project-panel>.image-button img{max-height:160px}
 .art-honors{grid-template-columns:1fr;gap:16px}
 .compact .art-gallery{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px 10px}
 .compact .art-gallery img{height:140px}
 .compact .art-gallery figcaption{font-size:11px}
 .compact-gallery-heading{gap:12px}.compact-gallery-heading h2{font-size:18px}
 .compact-gallery-heading .slideshow-start{font-size:11px;padding:8px 12px}
 .compact .piano-media img{height:180px}.piano-panel{gap:20px}
 .role-heading>.tab-list{width:100%;order:3}
 .compact.home main{display:block;padding:0}
 .compact.home .real-cover{display:block;min-height:0}
 .compact.home .cover-intro{width:100%;padding:24px 5% 20px}
 .compact.home .cover-intro h1{font-size:76px;white-space:nowrap}
 .compact.home .cover-intro h1 br{display:none}.compact.home .cover-intro h1 span{margin-left:.12em}
 .compact.home .cover-intro p{margin-top:12px;font-size:14px}
 .compact.home .cover-cta{margin-top:16px}
 .compact.home .cover-panels{height:240px}
 .compact.home .panel-copy{bottom:16px}
 .compact.home .cover-athlete-panel h3{font-size:30px}
 .compact.home .panel-copy p{display:none}
 .compact.home .home-impact{display:block;padding:14px 5%}
 .home-impact h2{font-size:23px}.compact.home .home-impact a{display:none}
}
@media(prefers-reduced-motion:reduce){.compact.home .cover-intro h1{animation:none}}

.role-thumbnail,.mobile-gallery-link{display:none}
@media(max-width:800px){
 .role-thumbnail{display:block;width:108px;height:86px;flex-shrink:0;padding:0;border:1px solid #55717d;background:#112c3a;overflow:hidden}
 .role-thumbnail img{width:100%;height:100%;object-fit:cover}
 .role-layout>.main-photo,.athlete-evidence{display:none}
 .mobile-gallery-link{display:block;background:transparent;border:1px solid #55717d;padding:10px 14px;min-height:44px;color:var(--aqua);font-size:14px;margin-top:8px}
 .project-panel{display:block}
 .project-panel>.image-button{float:right;width:44%;margin:0 0 12px 16px}
 .project-panel>.image-button img{height:auto;max-height:none;object-fit:contain}
 .project-panel:after{content:'';display:block;clear:both}
 .project-panel .project-copy h2{font-size:28px}
 .compact .piano-media img{height:220px}
 .piano-panel h2{font-size:36px}
 .piano-panel .role-subtitle{margin-bottom:0}
 .piano-panel{gap:16px}
}

/* Creator: purpose, real screen, functions, and a clear next action. */
.creator-page .role-heading h1{font-size:44px}
.creator-page .role-heading p{font-size:14px}
.creator-page .project-navigation{margin-bottom:20px}
.creator-page .project-panel{display:grid;grid-template-columns:minmax(0,.85fr) minmax(0,1.35fr);grid-template-rows:min-content 1fr;gap:12px 36px;align-items:start}
.creator-page .project-panel:after{content:none}
.project-overview{grid-column:1;grid-row:1}
.creator-page .project-overview h2{font-size:34px;line-height:1.1;margin:0 0 8px}
.project-overview .project-purpose{font-size:17px;line-height:1.45;color:var(--cream)}
.project-overview .project-status{font-size:12px;line-height:1.45;color:var(--aqua);margin-top:8px}
.project-overview .project-submission{margin:8px 0;padding-bottom:6px;border-bottom:1px solid #41606f}
.project-submission strong{display:block;font-size:22px;line-height:1.25;color:var(--aqua)}
.project-submission span{display:block;margin-top:2px;font-size:13px;line-height:1.45;color:var(--cream)}
.project-screen{grid-column:2;grid-row:1/3;align-self:start;min-width:0}
.creator-page .project-screen .image-button{transform:none;box-shadow:none;background:transparent;border:1px solid #41606f}
.creator-page .project-screen .image-button:after{display:none}
.creator-page .project-screen img{width:100%;height:auto;max-height:410px;object-fit:contain}
.project-screen figcaption{font-size:12px;line-height:1.4;margin-top:8px}
.project-demo{display:block;width:100%;height:auto;aspect-ratio:16/9;border:1px solid #41606f;background:var(--navy)}
.project-video figcaption{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:4px 16px}
.project-video figcaption a{display:inline-flex;align-items:center;min-height:44px;color:var(--aqua);text-underline-offset:4px}
.project-details{grid-column:1;grid-row:2}
.project-details h3{font:700 14px/1.5 Arial,sans-serif;margin:0 0 8px;color:var(--cream)}
.project-features{margin:0;padding-left:18px;font-size:14px;line-height:1.5;color:var(--cream)}
.project-features li+li{margin-top:4px}
.creator-page .project-details .project-note{font-size:12px;line-height:1.5;color:var(--muted);margin:12px 0 0}
.creator-page .project-actions{gap:20px;margin-top:4px}
.creator-page .project-actions .text-link{font-size:14px;margin:0}
.creator-page .project-details details{margin-top:8px;padding-top:4px}
.creator-page .project-details summary{font-size:13px}
.creator-page .project-details details p{font-size:14px}
@media(min-width:801px){.compact main.creator-page{padding-bottom:6px}}
@media(max-width:800px){
 .creator-page .project-panel{display:flex;flex-direction:column;gap:20px}
 .project-overview{order:0}.project-screen{order:1;width:100%}.project-details{order:2;width:100%}
 .creator-page .project-screen img{max-height:none}
 .creator-page .project-overview h2{font-size:32px}
 .creator-page .project-navigation{margin-bottom:24px}
}

/* RippleOne: a collection overview with original product sheets on demand. */
.enterprise-page .role-heading h1{font-size:44px}
.enterprise-page .role-heading p{font-size:14px}
.enterprise-page .enterprise-layout{grid-template-columns:minmax(0,.8fr) minmax(0,1.4fr);align-items:start;gap:36px}
.enterprise-page .enterprise-brand{gap:16px;margin-bottom:20px}
.enterprise-page .enterprise-brand h2{font-size:28px}
.enterprise-page .role-copy p{font-size:14px;line-height:1.5}
.enterprise-page .role-copy .note{font-size:12px;margin-top:16px}
.product-list{margin-top:20px;padding-top:8px;border-top:1px solid #41606f}
.product-list summary{min-height:44px;padding:10px 0;font-weight:700;font-size:14px;color:var(--aqua);cursor:pointer}
.product-list dl{margin:4px 0 16px}
.product-list dl>div+div{margin-top:12px}
.product-list dt{font:700 14px/1.5 Arial,sans-serif;color:var(--cream)}
.product-list dd{font-size:13px;line-height:1.5;margin-top:2px}
.product-collection{min-width:0;display:grid;grid-template-columns:minmax(0,1fr) 148px;gap:8px 12px;align-items:start}
.collection-heading{grid-column:1/-1;display:flex;align-items:center;justify-content:space-between;gap:16px}
.collection-heading h2{font-size:23px}
.collection-heading .slideshow-start{background:transparent;border:1px solid #527987;border-radius:6px;white-space:nowrap;color:var(--cream)}
.product-collection .image-button{transform:none;background:transparent;box-shadow:none;border:1px solid #41606f}
.product-collection .image-button:after{display:none}
.collection-feature img{width:100%;height:clamp(300px,calc(100svh - 360px),560px);object-fit:contain}
.collection-feature figcaption{font-size:11px;margin-top:5px}
.collection-thumbnails{display:grid;gap:8px}
.collection-thumbnails figure{display:grid;grid-template-columns:56px minmax(0,1fr);gap:8px;align-items:center}
.collection-thumbnails img{width:100%;height:44px;object-fit:contain;background:#f7f7f7}
.collection-thumbnails figcaption{font-size:11px;line-height:1.35;margin:0}
@media(max-width:800px){
 .enterprise-page .enterprise-layout{grid-template-columns:1fr;gap:24px}
 .enterprise-page .enterprise-brand{margin-bottom:16px}
 .product-collection{order:-1;display:block}
 .collection-heading{margin-bottom:8px}
 .collection-feature img{height:auto;max-height:none}
 .collection-thumbnails{grid-template-columns:none;grid-auto-flow:column;grid-auto-columns:96px;overflow-x:auto;margin-top:12px;padding:4px 2px 12px;scroll-snap-type:x proximity}
 .collection-thumbnails figure{display:block;scroll-snap-align:start}
 .collection-thumbnails img{height:72px}
 .collection-thumbnails figcaption{margin-top:5px}
 .collection-heading h2{font-size:22px}
}

/* Quiet piano performance in the white space beneath the home photographs. */
.compact.home .home-impact:has(.home-piano){gap:24px;min-height:128px}
.home-piano{width:240px;min-height:96px;flex-shrink:0}
.piano-widget{display:flex;align-items:center;gap:12px;color:var(--navy)}
.piano-circle{width:96px;aspect-ratio:1;flex-shrink:0;border-radius:50%;border:2px solid #477e89;overflow:hidden;background:#163848}
.piano-circle video{display:block;margin:0;width:100%;height:100%;object-fit:cover;object-position:50% 30%}
.piano-details{width:132px}
.compact.home .home-piano .piano-caption{display:block;margin:0;font:700 13px/1.4 Arial,sans-serif;color:var(--navy)}
.piano-caption span{display:block;font-size:11px;line-height:1.4;font-weight:400;color:#375662;margin-top:2px}
.piano-controls{display:flex;margin-top:4px}
.piano-controls button{display:grid;place-items:center;width:44px;min-height:44px;padding:0;border:0;border-radius:50%;background:transparent;color:#163848;cursor:pointer}
.piano-controls button:hover{background:#dce5e2}
.piano-controls svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.piano-controls button:focus-visible,#piano-show:focus-visible{outline:2px solid #163848;outline-offset:2px}
#piano-show{min-height:44px;padding:8px 12px;border:1px solid #477e89;border-radius:6px;background:transparent;color:#163848;cursor:pointer;font:700 12px Arial,sans-serif}
@media(max-width:650px){
 .compact.home .home-impact:has(.home-piano){display:flex;align-items:center;gap:16px;flex-wrap:wrap}
 .compact.home .home-impact:has(.home-piano) h2{flex:1;min-width:140px}
 .home-piano{width:212px;min-height:88px;margin-left:auto}
 .piano-widget{gap:8px;min-height:88px}.piano-circle{width:72px}
 .compact.home .home-piano .piano-caption{font-size:12px}
}

/* Fit the overview to laptop and tablet viewports without clipping content. */
.compact main,.role-heading>div,.role-layout>*,.project-panel>*{min-width:0}
@media(min-width:801px){
 .compact main{padding-top:14px;padding-bottom:14px}
 .compact h1{font-size:clamp(38px,5.8svh,56px)}
 .role-heading{margin-bottom:12px}
 .role-heading p{margin-top:6px;font-size:14px}
 .role-layout{grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);gap:28px}
 .role-copy{font-size:14px;line-height:1.5}
 .role-copy .role-subtitle{font-size:16px;margin-bottom:12px}
 .compact .credential{margin-bottom:14px;padding-bottom:10px}
 .compact .credential h2{font-size:24px}
 .compact .main-photo img{height:clamp(220px,calc(100svh - 310px),640px)}
 .athlete-evidence{height:clamp(280px,calc(100svh - 300px),700px)}
 .creator-page .project-panel{grid-template-columns:minmax(0,1fr) minmax(0,1.2fr);gap:10px 28px}
 .creator-page .project-screen img{max-height:min(410px,calc(100svh - 330px))}
 .creator-page .project-navigation{margin-bottom:12px}
 .project-overview .project-purpose{font-size:15px}
 .project-submission strong{font-size:20px}
 .project-features{font-size:13px}
 .compact footer{padding-top:8px;padding-bottom:8px}
 .compact .art-gallery img{height:clamp(120px,calc(100svh - 440px),430px)}
 .collection-feature img{height:clamp(220px,calc(100svh - 340px),560px)}
 .compact .piano-media img{height:clamp(220px,calc(100svh - 320px),640px)}
}
@media(min-width:801px) and (max-width:1100px){
 .compact .art-gallery img{height:clamp(80px,calc((100svh - 540px)/2),240px)}
 .art-honors{gap:16px;margin-bottom:12px}
 .art-honors h3{font-size:18px}
 .compact .art-gallery{gap:12px}
 .compact .athlete-layout{gap:20px}
 .region-achievement{grid-template-columns:90px minmax(0,1fr);gap:12px}
 .region-map{height:80px}
 .compact .geography-achievements h2{font-size:26px}
}
@media(max-width:650px){
 .compact.home .cover-intro h1{font-size:clamp(54px,17vw,76px)}
 .compact footer{flex-wrap:wrap;gap:4px 16px}
 .role-heading>div{overflow-wrap:break-word}
 .project-actions{gap:8px 20px}
}
@media(min-width:801px) and (max-width:1100px){
 .compact .main-photo img{height:clamp(200px,calc(100svh - 360px),590px)}
 .collection-feature img{height:clamp(200px,calc(100svh - 370px),530px)}
}
@media(min-width:801px) and (max-width:1100px){
 .compact .leader-page .main-photo>.image-button img{height:clamp(200px,calc(100svh - 380px),564px)}
}

/* Option B: readable phone overviews, with supporting content on demand. */
@media(max-width:650px){
 .compact main{padding-top:14px;padding-bottom:14px}
 .compact h1,.creator-page .role-heading h1{font-size:36px}
 .role-heading{margin-bottom:12px}
 .role-heading p{font-size:13px;margin-top:6px}
 .role-layout{gap:12px}
 .role-copy{font-size:14px;line-height:1.45}
 .phone-section{width:100%;min-width:0;margin:0;border-top:1px solid #41606f;padding:0}
 .phone-section>summary{padding:12px 0;min-height:44px;font-size:14px;font-weight:700;cursor:pointer;color:var(--cream)}
 .phone-section>summary:focus-visible{outline:2px solid var(--aqua);outline-offset:2px}
 .phone-section>.credential{margin:6px 0 10px;padding-bottom:8px}
 .phone-section .credential h2{font-size:22px}
 .phone-section p{font-size:14px;line-height:1.45}
 .phone-section .text-link{font-size:13px;margin-top:4px;padding:6px 0}
 .phone-section .region-achievement{padding:4px 0 12px;border:0}
 .phone-section .competition-results h2{display:none}
 .creator-page .project-panel{gap:0}
 .creator-page .project-panel>.phone-section{order:1}
 .creator-page .project-panel>.project-overview{margin-bottom:12px}
 .creator-page .project-screen img{max-height:280px;object-fit:contain}
 .phone-section>.main-photo{display:block!important;margin-bottom:12px}
 .phone-section .collection-feature img{max-height:260px;object-fit:contain}
 .phone-section .art-gallery{margin-bottom:12px}
 .art-honors{gap:12px;margin-bottom:12px}
 .art-honors h3{font-size:20px}
 .compact footer{padding-top:8px;padding-bottom:8px;font-size:11px}
}
@media(max-width:650px){
 .phone-section .region-copy h2{display:none}
 .compact .phone-section .solo-medal{font-size:24px}
 .phone-section .region-reach{margin-top:0}
 .enterprise-page .role-copy>p{margin-bottom:12px}
 .enterprise-page .enterprise-brand{margin-bottom:10px}
 .compact.home .home-impact:has(.home-piano){gap:10px;padding-top:10px;padding-bottom:10px}
}
@media(max-width:650px){.athlete-page .region-links{gap:4px}.athlete-page .map-note{margin:0}.compact .enterprise-page .phone-section>h3{display:none}}

/* Academics: GPA first, with completed and current coursework kept separate. */
.academic-gpa{display:flex;gap:36px;align-items:center;margin:12px 0 20px}
.academic-gpa>div{display:flex;flex-direction:column;gap:4px}
.academic-gpa strong{font:700 42px/1 Arial,sans-serif;color:var(--aqua)}
.academic-gpa span{font-size:14px}
.academic-gpa p{max-width:260px;font-size:12px;color:#b8c9d1}
.academic-table{width:100%;border-collapse:collapse;font-size:14px;text-align:left}
.academic-table caption{text-align:left;font-size:12px;padding:14px 0;color:#b8c9d1}
.academic-table th,.academic-table td{padding:10px 14px;border-bottom:1px solid #36505e}
.academic-table th:first-child{padding-left:0}
.academic-table tbody th{font-weight:400}
.academic-table thead{color:var(--aqua)}
.academic-table td{white-space:nowrap}
.academic-note{font-size:12px;line-height:1.5;color:#b8c9d1;margin-top:12px;max-width:780px}
@media(max-width:650px){
 .compact .role-nav{grid-template-columns:repeat(4,minmax(0,1fr));gap:0 8px;font-size:12px}
 .academic-gpa{gap:24px;flex-wrap:wrap;margin:10px 0 14px}
 .academic-gpa strong{font-size:34px}
 .academic-gpa p{flex-basis:100%;max-width:none;margin:0}
 .academic-table{font-size:13px}
 .academic-table th,.academic-table td{padding:9px 8px}
 .academics-page .tab-list{gap:16px;font-size:13px}
}
.academics-page .tab-list{margin-bottom:0}
.academic-table{line-height:1.4}
.academic-table th,.academic-table td{padding-top:7px;padding-bottom:7px}
.academic-gpa{margin-bottom:10px}
.academic-note{margin-top:8px}

/* Clear page navigation and a remembered ocean / sand palette. */
.compact header:has(.role-nav){display:grid;grid-template-columns:1fr auto auto auto;gap:6px 12px;padding:10px 4%}
.compact header .wordmark{grid-column:1;grid-row:1}
.compact header #music,.compact header #motion,.compact header #theme{grid-row:1;min-height:36px}
#theme{border:1px solid #7896a0;border-radius:30px;background:transparent;padding:7px 14px;font-size:12px;white-space:nowrap}
.compact .role-nav{grid-row:2;grid-column:1/-1;width:100%;margin:0;justify-content:space-between;gap:6px;font-size:18px;font-weight:700}
.compact .role-nav a{padding:8px 14px;min-height:44px;border:1px solid transparent;border-radius:6px;color:#f6f2e9}
.compact .role-nav a:hover{background:#17394a;color:#a2f5f3}
.compact .role-nav a[aria-current]{background:#76eef1;color:#041623;border-color:#76eef1}
html{color-scheme:dark}
html[data-theme=sand]{color-scheme:light;--navy:#f3eadb;--cream:#173440;--aqua:#006f78;--muted:#485d63}
[data-theme=sand] body:before{background:linear-gradient(90deg,#f3eadbf7,#eee0ccf5),url('assets/swimming-gallery/in-the-water.jpeg') center/cover}
[data-theme=sand] header{background:#f3eadbf5;border-color:#c0ad92}
[data-theme=sand] .compact .role-nav a{color:#173440}
[data-theme=sand] .compact .role-nav a:hover{background:#e1d1b9;color:#173440}
[data-theme=sand] .compact .role-nav a[aria-current]{background:#173f4b;border-color:#173f4b;color:#fff8ed}
[data-theme=sand] .academic-note,[data-theme=sand] .academic-table caption,[data-theme=sand] .academic-gpa p{color:#485d63}
[data-theme=sand] .region-world{--region-color:#006f78}
[data-theme=sand] .region-americas{--region-color:#8c5718}
[data-theme=sand] .region-usa{--region-color:#6843a1}
[data-theme=sand] .region-map{filter:brightness(.58) saturate(1.3)}
[data-theme=sand] .project-navigation .tab-list button[aria-selected=true]{background:#dfd2bc;border-color:#89765c}
[data-theme=sand] .image-button,[data-theme=sand] .role-thumbnail{background:#e4d7c2}
[data-theme=sand] .real-cover{--navy:#041623;--cream:#f6f2e9;--aqua:#76eef1;--muted:#b5cbd5;color:#f6f2e9}
[data-theme=sand] .compact.home .home-impact{background:#e7d8c1;color:#173440}
[data-theme=sand] .compact .home-impact a{color:#173440}
[data-theme=sand] #gallery{--navy:#041623;--cream:#f6f2e9;--aqua:#76eef1;--muted:#b5cbd5;color:#f6f2e9}
::selection{background:#76eef1;color:#041623}
[data-theme=sand] ::selection{background:#173f4b;color:#fff8ed}
@media(max-width:650px){
 .compact header:has(.role-nav){grid-template-columns:1fr auto auto;gap:6px;padding:10px 4%}
 .compact header .wordmark{grid-column:1/-1;font-size:24px}
 .compact header #music,.compact header #motion,.compact header #theme{grid-row:2;font-size:11px;padding:6px 9px}
 .compact header #music{justify-self:start}
 .compact .role-nav{grid-row:3;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:4px;font-size:12px}
 .compact .role-nav a{padding:9px 2px;display:flex;align-items:center;justify-content:center;text-align:center}
}
[data-theme=sand] .compact .region-world dt{color:#173f4b}

/* Give the FigureSense screen more room on large and tall displays. */
@media(min-width:801px){
 .compact main.creator-page:has(#figuresense:not([hidden])){max-width:1600px}
 .creator-page #figuresense{grid-template-columns:minmax(280px,.7fr) minmax(0,1.5fr)}
 .creator-page #figuresense .project-screen img{max-height:calc(100svh - 310px);width:100%;height:auto;object-fit:contain}
}
@media(max-width:650px){
 .creator-page #figuresense .project-screen img{max-height:none;height:auto}
}
@media(min-width:1101px){
 .compact main.creator-page:has(#figuresense:not([hidden])){display:grid;grid-template-columns:minmax(280px,.7fr) minmax(0,1.5fr);gap:10px 28px;align-content:start}
 .creator-page:has(#figuresense:not([hidden]))>.role-heading{grid-column:1;grid-row:1;margin-bottom:0}
 .creator-page:has(#figuresense:not([hidden]))>.project-navigation{grid-column:1;grid-row:2;margin-bottom:0}
 .creator-page:has(#figuresense:not([hidden])) #figuresense{display:contents}
 .creator-page #figuresense .project-overview{grid-column:1;grid-row:3}
 .creator-page #figuresense .project-details{grid-column:1;grid-row:4}
 .creator-page #figuresense .project-screen{grid-column:2;grid-row:1/5}
 .creator-page #figuresense .project-screen img{max-height:calc(100svh - 185px)}
}
@media(min-width:1101px){
 .creator-page:has(#figuresense:not([hidden]))>.project-navigation{display:block}
 .creator-page:has(#figuresense:not([hidden]))>.project-navigation>p{margin:0 0 6px}
 .creator-page:has(#figuresense:not([hidden]))>.project-navigation .tab-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px 8px}
 .creator-page:has(#figuresense:not([hidden]))>.project-navigation .tab-list button{width:100%;text-align:left}
}

.compact.home .home-impact .home-purpose{max-width:52ch;line-height:1.5}
@media(max-width:800px){.compact.home .home-impact .home-purpose{display:block;flex-basis:100%;font-size:13px}.compact.home .home-impact:has(.home-purpose){flex-wrap:wrap}}

/* A single light sweep on main titles, replayed on hover. */
.shiny-title{--shine-base:var(--cream);--shine-peak:#fff}
.shiny-title span{--shine-base:var(--aqua)}
[data-theme=sand] .role-heading .shiny-title{--shine-peak:#386d72}
.compact .shiny-title.is-shining,.compact.home .cover-intro h1.shiny-title.is-shining span{background-image:linear-gradient(110deg,var(--shine-base) 0%,var(--shine-base) 36%,var(--aqua) 46%,var(--shine-peak) 50%,var(--aqua) 54%,var(--shine-base) 64%,var(--shine-base) 100%);background-size:250% 100%;background-position:100% 0;-webkit-background-clip:text;background-clip:text;color:transparent}
@media(prefers-reduced-motion:reduce){.compact .shiny-title.is-shining,.compact.home .cover-intro h1.shiny-title.is-shining span{background:none;color:var(--shine-base)}}
