/* Shared page layout: one spacing scale across every public page. */
:root{--page-width:1100px;--reading-width:760px;--page-gutter:32px;--section-space:64px}
body:has(article) main{background-image:none;background-color:var(--paper)}
article,article.wide-article{width:min(var(--page-width),calc(100% - 2 * var(--page-gutter)));max-width:var(--page-width);margin:0 auto;padding:56px 0 72px;background:none}
article>h1{max-width:900px;margin:0 auto 24px;text-align:center;font-size:clamp(32px,4vw,52px);line-height:1.2;hyphens:none;overflow-wrap:normal}
article>.heading-brush{display:block;width:110px;height:auto;margin:0 auto 40px}
article>p,article>ul,article>ol,article>blockquote{max-width:var(--reading-width);margin-left:auto;margin-right:auto}
article>p{margin-top:0;margin-bottom:24px;font-size:18px;line-height:1.75}
article>h2{max-width:var(--reading-width);margin:48px auto 20px;font-size:32px;line-height:1.3}
article>h3{max-width:var(--reading-width);margin:32px auto 16px;font-size:25px;line-height:1.35}
article>blockquote{padding:20px 24px;font-size:19px;line-height:1.75;margin-top:24px;margin-bottom:32px}
.section-inner{width:min(var(--page-width),calc(100% - 2 * var(--page-gutter)));padding:var(--section-space) 0}
article img{max-width:100%}article p,article li{hyphens:none;overflow-wrap:break-word}
@media(max-width:800px){:root{--page-gutter:24px;--section-space:40px}article,article.wide-article{padding:36px 0 48px}article>h1{font-size:32px;line-height:1.25;margin-bottom:20px}article>.heading-brush{margin-bottom:32px;width:100px}article>p,article li,article>blockquote,article>blockquote p{font-size:17px;line-height:1.75}article>h2{font-size:27px;margin-top:36px;margin-bottom:16px}article>h3{font-size:23px;margin-top:28px}article>blockquote{padding:0;margin-top:24px;margin-bottom:24px}.quote-panel,article .quote-panel{margin-left:0;margin-right:0;width:100%}.evidence-content{margin-left:0;margin-right:0}}

.page-media{width:100%;max-width:760px;margin:32px auto}.page-media video{display:block;width:100%;height:auto;border-radius:16px;background:#001432}.page-media audio{display:block;width:100%}.portrait-media{max-width:360px}

/* Desktop quote bands: brand blue and 95% transparent source imagery. */
@media(min-width:801px){.quote-band.faded-bg,.quote-panel.faded-bg,article .quote-panel{background-color:var(--ink);color:var(--paper);position:relative;isolation:isolate;overflow:hidden}.quote-band.faded-bg:before,.quote-panel.faded-bg:before{background-image:var(--section-image,url('/assets/03abb635d7dbbe23.jpg'));opacity:.05}.quote-band h2,.quote-band blockquote,.quote-band p,.quote-panel blockquote,.quote-panel p,.quote-panel .attribution{color:var(--paper)}.quote-band .carousel-counter{color:var(--paper)}}

@media(min-width:801px){.quote-band>.section-inner{display:grid;grid-template-columns:minmax(0,1fr) 250px;column-gap:30px;align-items:center}.quote-band>.section-inner>h2{grid-column:1;grid-row:1;text-align:center;margin-left:0;margin-right:0}.quote-band .quote-layout{display:contents}.quote-band .quote-carousel{grid-column:1;grid-row:2;min-width:0;text-align:center}.quote-band .quote-art{grid-column:2;grid-row:1 / span 2;align-self:center}.quote-band .carousel-controls{justify-content:center}.quote-band .quote-carousel blockquote,.quote-band .quote-carousel .attribution{text-align:center}.quote-panel>div{text-align:center}.quote-panel blockquote,.quote-panel .attribution{text-align:center}.quote-panel>.quote-portrait{justify-self:end}}

/* Consistent centered headings and brush accents across public pages. */
main h1,main h2,main h3,main h4,main h5,main h6{text-align:center}
.home-sections h2:after{margin-left:auto;margin-right:auto}
main .heading-brush,main .hero-brush{display:block;margin-left:auto;margin-right:auto}
.hero .academy-label{text-align:center}

/* Compact quote carousel without portrait. */
.quote-band .quote-art{display:none}
@media(min-width:801px){.quote-band>.section-inner{grid-template-columns:minmax(0,1fr);max-width:1100px}.quote-band>.section-inner>h2,.quote-band .quote-carousel{grid-column:1}}
.quote-band .quote-carousel .attribution{display:none}
.quote-band .quote-carousel blockquote{min-height:0;margin:24px 0 16px;padding:16px 20px}
.quote-band .quote-carousel .carousel-slide{min-height:0}
.quote-band .carousel-controls{margin-top:12px}

.home-sections>.color-section{position:relative;background-color:var(--band-color)!important;box-shadow:0 0 0 100vmax var(--band-color);clip-path:inset(0 -100vmax);isolation:isolate}
.home-sections>.color-section:after{content:"";position:absolute;left:50%;bottom:-1px;transform:translateX(-50%);width:100vw;height:18px;background:var(--next-band);clip-path:polygon(0 50%,8% 40%,17% 55%,27% 35%,39% 60%,52% 40%,64% 55%,77% 30%,89% 48%,100% 35%,100% 100%,0 100%);pointer-events:none}
.home-sections>.light-content{color:var(--paper)}
.home-sections>.light-content h2,.home-sections>.light-content h3,.home-sections>.light-content p,.home-sections>.light-content blockquote{color:var(--paper)}
.home-sections>.light-content .offer-card,.home-sections>.light-content .journey-card{color:var(--ink)}
.home-sections>.light-content .offer-card h2,.home-sections>.light-content .offer-card p,.home-sections>.light-content .offer-card h3,.home-sections>.light-content .journey-card h2,.home-sections>.light-content .journey-card p{color:var(--ink)}
@media(max-width:800px){.home-sections>.color-section:after{height:12px}}

/* Brush-textured transitions using the original AWA brush artwork. */
.home-sections>.color-section:after{height:26px;bottom:-2px;clip-path:none;-webkit-mask-image:url('/assets/brand-brush-clean.svg');mask-image:url('/assets/brand-brush-clean.svg');-webkit-mask-size:100% 100%;mask-size:100% 100%;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat}
.home-sections>.color-section:not(.light-content){color:var(--ink)}
@media(max-width:800px){.home-sections>.color-section:after{height:18px}}

.home-sections>.color-section:after{height:40px;bottom:-3px;-webkit-mask-image:url('/assets/section-brush-edge.svg');mask-image:url('/assets/section-brush-edge.svg');-webkit-mask-size:100% 100%;mask-size:100% 100%}
@media(max-width:800px){.home-sections>.color-section:after{height:26px;-webkit-mask-size:900px 100%;mask-size:900px 100%;-webkit-mask-repeat:repeat-x;mask-repeat:repeat-x}}

.speaker-band{background:var(--ink);color:var(--paper)}.speaker-band>.section-inner{padding:50px 0}.speaker-layout{display:grid;grid-template-columns:minmax(0,1fr) 240px;gap:40px;align-items:center;min-height:300px}.speaker-layout.text-only{grid-template-columns:1fr}.speaker-layout blockquote{border:0;background:none;margin:0;padding:20px 0;font-size:26px;text-align:center;color:var(--paper)}.speaker-layout .attribution{text-align:center}.speaker-photo{width:100%;height:270px;object-fit:contain;border-radius:20px}.speaker-layout figure{margin:0}.speaker-layout figcaption{font-size:10px;line-height:1.5;text-align:center;margin-top:8px}.speaker-layout a{color:var(--paper)}.speaker-carousel .carousel-controls{justify-content:center}.speaker-carousel .carousel-counter{color:var(--paper)}@media(max-width:700px){.speaker-layout{grid-template-columns:1fr;gap:18px;min-height:0}.speaker-photo{height:190px}.speaker-layout blockquote{font-size:22px}.speaker-band>.section-inner{padding:35px 0}}

.course-quote{background-color:var(--ink);color:var(--paper);padding:32px;border-radius:20px;margin:0 0 28px;position:relative;isolation:isolate;overflow:hidden}.course-quote blockquote,.course-quote p{color:var(--paper)!important;background:none;border:0;text-align:center}.course-quote blockquote{margin:0 0 20px;padding:0}.course-quote .attribution{margin:0;text-align:center}
.quote-band.faded-bg:before,.quote-panel.faded-bg:before,.speaker-band.faded-bg:before,.course-quote.faded-bg:before{background-image:var(--section-image);background-size:cover;background-position:center;opacity:.22;filter:brightness(1.5);mix-blend-mode:screen}
@media(max-width:800px){.course-quote{padding:24px}}

/* Full-width section boundaries, without outlying box-shadow edges. */
.home-sections>.color-section{box-shadow:none;clip-path:none;width:100%;max-width:none;margin-left:0;margin-right:0;box-sizing:border-box}
.home-sections>.color-section.section-inner{padding-left:max(var(--page-gutter),calc((100% - var(--page-width))/2));padding-right:max(var(--page-gutter),calc((100% - var(--page-width))/2))}
.home-sections>.color-section:after{left:-1px;transform:none;width:calc(100% + 2px);bottom:-2px}
.quote-band.faded-bg:before,.quote-panel.faded-bg:before,.speaker-band.faded-bg:before{opacity:.07;filter:none;mix-blend-mode:normal;z-index:0}
.quote-band.faded-bg>*,.quote-panel.faded-bg>*,.speaker-band.faded-bg>*{position:relative;z-index:1}
.course-quote.faded-bg:before{display:none}

/* Overscan the textured mask so its filter bounds never form side steps. */
.home-sections>.color-section:after{-webkit-mask-image:url('/assets/section-brush-edge.svg?v=overscan');mask-image:url('/assets/section-brush-edge.svg?v=overscan');-webkit-mask-size:calc(100% + 180px) 100%;mask-size:calc(100% + 180px) 100%;-webkit-mask-position:center center;mask-position:center center;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;z-index:2}

/* Consistent portrait finish in quote sections and carousels. */
.quote-portrait,.quote-art>img:not(.quote-symbol),.speaker-photo{border-radius:24px;box-shadow:0 10px 28px rgb(0 0 0 / .24)}

.explanation-card>img{display:block;width:100%;height:240px;object-fit:cover;object-position:center;border-radius:24px}.explanation-card>h3{font-size:27px;font-weight:700;margin:24px 0 18px;text-align:center}@media(max-width:700px){.explanation-card{display:block}.explanation-card>img{width:100%;height:230px}.explanation-card>h3{font-size:25px}}

.carousel-controls>button:hover,.carousel-controls>button:active{background:var(--orange);color:var(--paper)}

/* Orange tiles for the nine offer icons. */
.journey-icon-tile{display:inline-flex;align-items:center;justify-content:center;flex:0 0 40px;width:40px;height:40px;padding:5px;background:var(--orange);border-radius:9px;overflow:hidden;isolation:isolate}.journey-icon-tile .journey-icon{display:block;width:30px;height:30px;object-fit:contain;margin:0;mix-blend-mode:multiply}

/* White offer icon tiles with a brand-orange outline. */
.journey-icon-tile{box-sizing:border-box;background:#fff;border:1px solid var(--orange);border-radius:9px}.journey-icon-tile .journey-icon{mix-blend-mode:normal}

/* Add 30px below the hero content at every viewport size. */
.hero{padding-bottom:75px}@media(min-width:1101px){.hero{padding-bottom:95px}}@media(max-width:600px){.hero{padding-bottom:60px}}

/* Ten additional pixels beneath every page section. */
.section-inner{padding-bottom:calc(var(--section-space) + 10px)}
.speaker-band>.section-inner{padding-bottom:60px}
.quote-panel{padding-bottom:65px}article .quote-panel{padding-bottom:45px}
article,article.wide-article{padding-bottom:82px}
.hero{padding-bottom:85px}
@media(min-width:1101px){.hero{padding-bottom:105px}}
@media(max-width:800px){.quote-panel,article .quote-panel{padding-bottom:45px}article,article.wide-article{padding-bottom:58px}}
@media(max-width:700px){.speaker-band>.section-inner{padding-bottom:45px}}
@media(max-width:600px){.hero{padding-bottom:70px}}
