/* Layout and type scale ported from the original Sapper components. */
.not-found { background: #010001; color: white; padding: 100px 20px; text-align: center; }
.not-found-inner { max-width: 1240px; margin-inline: auto; }
.not-found #not-found-title {
    margin: 0 0 8px;
    font: 700 58px/1.5 Formula, Impact, sans-serif;
    letter-spacing: .05em;
    text-transform: uppercase;
}
.not-found .not-found-home {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    padding: 14px 11px;
    background: #fdc139;
    color: #010001;
    font: 400 10px/15px Graphik, Arial, sans-serif;
    letter-spacing: .12em;
    text-transform: uppercase;
}
.not-found-home svg { flex-shrink: 0; }
.hero-child{padding:0;background:#010001;position:relative;min-height:470px;display:flex;align-items:end;color:white}
.hero-child>img{position:absolute;left:0;top:0;width:83.333%;height:100%;object-fit:cover}
.hero-child:after{content:'';position:absolute;inset:0 16.6667% 0 0;background:linear-gradient(transparent,#010001),url('shapes/hero-shape.png') right top/contain no-repeat;pointer-events:none}
.hero-child>.wrap{position:relative;z-index:1;width:100%;padding-top:270px;padding-bottom:80px;margin:0 auto}
.hero-child h1{font:300 58px/1.2 Formula,Impact,sans-serif;letter-spacing:.05em;text-transform:uppercase;margin:0}
.hero-parent{display:block;font-size:10px;text-transform:uppercase;letter-spacing:.12em;margin-bottom:50px;text-decoration:none}
.hub-information{display:grid;grid-template-columns:7fr 5fr;gap:15px}
.hub-information>.wrap{max-width:none;width:100%;margin:0;padding:40px;display:block}
.hub-information h2{font:400 18px/1.3 Minion,Georgia,serif;margin-bottom:60px}
.hub-information .prose{max-width:none}.hub-information .accordion-group{background:#f6f1e9}
.hub-children{gap:40px;position:relative}.hub-children .card{position:relative;background:#010001;min-height:480px;overflow:hidden}
.hub-children .card img{height:480px;opacity:.8}.hub-children .card h2{position:absolute;left:40px;bottom:40px;color:white;font-size:24px;z-index:1;margin:0;max-width:80%}
.hub-children .card>a:after{content:'';position:absolute;inset:0;background:linear-gradient(transparent,#0008);pointer-events:none}
.form-subscribe{grid-template-columns:1fr 1fr;gap:20px}.form-subscribe>.form-field:nth-of-type(4){grid-column:1/-1}
.form-subscribe>label,.form-subscribe>select,.form-subscribe>p,.form-subscribe>button{grid-column:1/-1}
.form-subscribe input,.form-subscribe select{border:1px solid #ebebeb;font-size:15px;padding:15px;background:white}
.form-subscribe button{background:#010001;color:white;justify-self:end;font-size:10px;letter-spacing:.12em;text-transform:uppercase}
body{font-size:15px;line-height:1.4;letter-spacing:-.01em}
h1,h2,h3{font-family:Graphik,Arial,sans-serif;font-weight:400;letter-spacing:-.02em;line-height:1.2;text-transform:none}
h1{font-size:30px}h2{font-size:24px}h3{font-size:22px}p{margin-bottom:20px}
.wrap{max-width:1280px;padding:0 20px;margin:100px auto}.narrow{max-width:900px}
.quote{font:400 58px/1.3 Minion,Georgia,serif;letter-spacing:-.02em;text-align:center}
.text-link{font-size:10px;letter-spacing:.12em;text-transform:uppercase;text-decoration:none;display:inline-block;margin-top:20px}
.text-link:after{content:' →';display:inline-block;margin-left:20px;font-size:20px}
.notice-banner{background:#010001;color:white;padding:0 20px}
.notice-inner{max-width:1240px;min-height:48px;margin:auto;display:flex;align-items:center;gap:16px;position:relative;padding:10px 35px 10px 0}
.notice-inner strong{font:400 18px/1.2 Minion,Georgia,serif}.notice-inner>div{display:flex;align-items:center;gap:15px;font-size:13px}
.notice-inner>div:before{content:'';width:50px;border-top:1px solid white;flex-shrink:0}.notice-inner p{margin:0}
.notice-close{position:absolute;right:0;top:50%;transform:translateY(-50%);background:none;color:#fedc45;padding:5px;font-size:24px;line-height:1}
.notice-close:hover{background:none;color:white}
.site-header{padding:0 20px;border:0;display:block}.header-inner{height:84px;max-width:1240px;margin:auto;display:flex;gap:24px;align-items:center}
.site-header .brand{width:105px;margin-right:auto}.site-header .brand img{max-height:35px}
.site-header #primary-navigation{flex:0 1 auto}.site-header ul{gap:24px;align-items:center}.site-header li{font-size:16px;white-space:nowrap}
.site-header li > a { padding: 30px 0; }
.site-header #primary-navigation li > a:hover,
.site-header #primary-navigation li > a:focus-visible {
    text-decoration: underline;
    text-underline-offset: auto;
}
.site-header #primary-navigation li > a { text-decoration-thickness: auto; }
.site-header #primary-navigation :is(ul.menu, ul.nav-menu) > .menu-item-has-children > a::after {
    content: '';
    display: inline-block;
    width: 8px;
    height: 8px;
    margin-left: 5px;
    vertical-align: .08em;
    background: currentColor;
    clip-path: polygon(0 32%, 18% 14%, 50% 46%, 82% 14%, 100% 32%, 50% 82%);
}
.site-header .sub-menu{padding:12px 20px;min-width:250px}.site-header .sub-menu li{white-space:normal;font-size:15px}.site-header .sub-menu a{padding:10px 0}
.site-header .languages{flex:0;font:700 16px Formula,sans-serif}.site-header .sub-menu .sub-menu{position:static;visibility:inherit;opacity:1;padding:0 0 0 15px}.site-header .sub-menu .sub-menu a{font-size:12px;text-transform:uppercase}
.home-featured{display:block;background:linear-gradient(#fedc45 0 75%,white 75%);padding:100px 20px 0}
.featured-inner{max-width:1240px;position:relative;margin:auto;padding-bottom:50px}
.home-featured .featured-card{display:block;position:relative;width:66.6667%;padding:0;background:none;font:400 24px Graphik,Arial,sans-serif;text-transform:none;text-decoration:none}
.home-featured .featured-card:after{content:none}.featured-card>img{width:100%;height:480px;object-fit:cover}.featured-card>span{position:absolute;top:0;left:0;background:#fedc45;padding:20px 30px;display:flex;align-items:center;gap:30px}
.featured-card>span>span{font-size:28px}.featured-card:nth-child(2){position:absolute;right:0;top:260px}.featured-card:nth-child(3){margin-top:125px}
.featured-card:hover>img{filter:brightness(.9)}
.home-quote{background:url('shapes/quote-shape.svg') center/contain no-repeat;padding:270px 9%;margin:100px auto}
.home-promos{position:relative;background:linear-gradient(white 0 385px,#010001 385px calc(100% - 385px),white calc(100% - 385px));padding:45px 0}
.home-promos>.wrap{margin:100px auto}.promo-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:40px}
.promo-image img{width:100%;height:480px;object-fit:cover}.promo-card h2{margin:20px 0;color:white}.promo-card .prose,.promo-card>.text-link{color:white}
.shop-card{margin-top:100px}.shop-card>img{width:100%;height:480px;object-fit:cover}.shop-card>div{display:flex;justify-content:space-between;align-items:baseline;gap:40px;padding-top:20px}.shop-card h2{margin:0}.shop-card .text-link{margin:0;flex-shrink:0}
.social-banner{display:grid;grid-template-columns:1fr 1fr;background:#010001;color:white}.social-pattern{background:url('shapes/pattern-facebook.svg') center/cover}
.social-banner>div:last-child{padding:75px 40px}.social-banner .quote{text-align:left;max-width:550px;margin:0 0 50px;padding:0}.social-banner .text-link{margin:0}
.brand-marquee{height:250px;display:flex;align-items:center;overflow:hidden;color:#fedc45}.brand-marquee span{white-space:nowrap;font:700 100px/1.3 Formula,Impact,sans-serif;text-transform:uppercase;letter-spacing:.03em}
.home-endgame{position:relative;min-height:500px;color:white;padding:270px 0 60px;background:#010001}.home-endgame>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.home-endgame:after{content:'';position:absolute;inset:0;background:linear-gradient(transparent,#010001)}
.home-endgame>.wrap{position:relative;z-index:1;margin:0 auto;display:grid;grid-template-columns:2fr 1fr;gap:20px 80px;border-top:1px solid #ffffff80;padding-top:60px}.home-endgame h2{font-size:40px;font-family:Minion,Georgia,serif;grid-column:1}.home-endgame .prose{grid-column:1}.home-endgame .text-link{grid-column:2;grid-row:1/3;align-self:end;justify-self:end}
.prefooter{display:grid;grid-template-columns:1fr 1fr;gap:0;margin:0;padding:0;max-width:none}.prefooter>div{padding:60px 40px}.prefooter>div>div{max-width:530px;margin:auto}.newsletter-panel{background:#f6f6f6}.locations-panel{background:#fbd3c2}.prefooter h2{max-width:450px}.prefooter details{border:0;padding:12px 0}.prefooter summary{font:400 24px/1.3 Graphik,Arial,sans-serif;margin:0;list-style:none;display:flex;justify-content:space-between}.prefooter summary:after{content:'+'}.prefooter details[open]>summary:after{content:'−'}.prefooter details .prose{padding-bottom:0}
.site-footer{display:block;color:#010001;background:white;padding:50px 20px 30px}.footer-inner{max-width:1240px;margin:auto;display:flex;flex-wrap:wrap;gap:30px}.site-footer .brand{width:105px}.footer-nav{flex:1}.footer-nav>ul{display:flex;gap:35px;margin:0}.footer-nav a{text-decoration:none;display:inline-block;max-width:180px}.footer-nav>ul>li>a{margin-bottom:10px}.footer-nav .sub-menu a{font-size:14px;color:#7c7c7c}.footer-nav .sub-menu .sub-menu{padding-left:15px}.site-footer li{font-size:16px;margin-bottom:5px}.site-footer .socials{font-size:10px;text-transform:uppercase;letter-spacing:.12em;gap:15px}.site-footer p{color:#7c7c7c;font-size:13px}
.hero{background:#f6f1e9;padding-top:80px}.hero .wrap{margin-bottom:60px}.hero>img{height:480px}.card h2{font-size:24px}.prose{color:#7c7c7c}.prose h2,.prose h3,.prose a{color:#010001}.prose h2{margin-bottom:30px}.button{font-size:10px;letter-spacing:.12em;text-transform:uppercase}
summary{font:400 18px/1.3 Minion,Georgia,serif}.hub-hero{background:#161616;padding:100px 20px 0}.hub-hero>.wrap{margin:0 auto;padding:0;display:grid;grid-template-columns:7fr 5fr}.hub-title{background:#010001;height:380px;position:relative;color:white}.hub-title h1{position:absolute;left:25px;top:50%;writing-mode:vertical-rl;transform:translateY(-50%) rotate(180deg);margin:0}.hub-pattern img{width:100%;height:380px;object-fit:cover}
.crossover{position:relative;margin-bottom:-60px}.crossover-image{width:75%;margin-left:auto}.crossover-image img{height:400px;width:100%;object-fit:cover}.crossover-text{width:58.333%;position:relative;top:-160px;background:white;padding:40px 40px 40px 15px}
@media(max-width:1199px){.header-inner{flex-wrap:wrap;height:auto;min-height:84px;gap:20px;padding:20px 0}.site-header .brand{width:120px}.menu-toggle{display:block;margin-left:auto;order:2;background:none;padding:5px;font-size:15px}.site-header .languages{order:1}.site-header #primary-navigation{display:none;order:3;flex-basis:100%}.site-header #primary-navigation.is-open{display:block}.site-header ul{display:block}.site-header li>a{padding:12px 0}.site-header .sub-menu{position:static;visibility:visible;opacity:1;background:none;padding:0 0 0 20px}.site-header .sub-menu .sub-menu{padding-left:20px}.promo-image img{height:400px}.footer-inner{gap:40px}.footer-nav>ul{gap:25px}}
@media(max-width:1022px){.home-quote{padding:100px 9%;margin:100px auto}.quote{font-size:40px}.featured-card>img{height:320px}.home-featured .featured-card{width:83.333%}.featured-card:nth-child(2){top:200px}.featured-card:nth-child(3){margin-top:200px}.promo-card:nth-child(2) h2,.promo-card:nth-child(2) .prose,.promo-card:nth-child(2)>.text-link{color:#010001}.home-promos{background:linear-gradient(white 0 240px,#010001 240px 45%,white 45%)}.promo-grid{grid-template-columns:1fr;gap:70px}.promo-image img{height:480px}.shop-card{margin-top:60px}.prefooter{grid-template-columns:1fr}.footer-nav>ul{flex-wrap:wrap}.site-footer .socials{width:100%}}
@media(max-width:767px){.wrap{margin:60px auto;padding:0 20px}.notice-inner{display:block;padding:12px 35px 12px 0}.notice-inner strong{font-size:16px}.notice-inner>div{display:block;font-size:12px;margin-top:6px}.notice-inner>div:before{display:none}.home-featured{padding:50px 0 0}.featured-inner{padding-bottom:0}.home-featured .featured-card{width:91.6667%}.featured-card>span{font-size:20px;padding:15px 20px;gap:20px}.featured-card>img{height:320px}.home-quote{margin:60px auto;padding:100px 30px}.home-promos{padding:0}.home-promos>.wrap{margin:60px auto}.promo-image img,.shop-card>img{height:320px}.shop-card>div{display:block}.shop-card .text-link{margin-top:20px}.social-banner{grid-template-columns:1fr}.social-pattern{height:140px}.social-banner>div:last-child{padding:60px 30px}.social-banner .quote{font-size:40px}.brand-marquee{height:200px}.brand-marquee span{font-size:80px}.home-endgame{padding-top:200px}.home-endgame>.wrap{display:block;border:0;padding:30px}.home-endgame h2{font-size:32px}.home-endgame .text-link{margin-top:25px}.prefooter>div{padding:40px 25px}.prefooter summary{font-size:22px}.footer-inner{display:block;text-align:center}.site-footer .brand{margin:0 auto 40px}.footer-nav>ul{display:block}.footer-nav>ul>li{margin-bottom:30px}.footer-nav .sub-menu .sub-menu{padding:0}.site-footer .socials{justify-content:center;margin:30px 0}.hero{padding-top:50px}.hero>img{height:320px}.hub-hero{padding:0}.hub-hero>.wrap{grid-template-columns:1fr 3fr}.hub-title,.hub-pattern img{height:480px}.hub-title h1{left:20px}.crossover{margin-top:60px;margin-bottom:0}.crossover-image{width:100%}.crossover-image img{height:320px}.crossover-text{width:92%;margin:auto;top:-60px;padding:25px 20px}.crossover-text h2{font-size:24px}}
.hero.hero-child{padding:0}.hero.hero-child>.wrap{margin:0 auto;padding-top:270px;padding-bottom:80px}.hero.hero-child>img{height:100%}
.double-images{display:grid;grid-template-columns:2fr 1fr}.double-images img{height:375px;width:100%;object-fit:cover}.double-body{display:flex;justify-content:space-between;gap:40px;padding-top:20px}.double-body>.prose{max-width:600px}.double-body .text-link{flex-shrink:0;margin-top:0}
.pricing-section:nth-of-type(odd){background:#f6f1e9}.pricing-section>.wrap{margin:0 auto;padding-top:60px;padding-bottom:60px}.pricing-heading{display:flex;align-items:center;justify-content:space-between;gap:40px;margin-bottom:60px}.pricing-heading h2{margin:0}.pricing-heading p{font-size:13px;color:#7c7c7c;margin:0}.pricing-section h3{font-size:10px;letter-spacing:.12em;text-transform:uppercase;margin:40px 0}
.price-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.price-row{display:grid;grid-template-columns:1fr auto;gap:15px;border:1px solid #f6f1e9;background:white;padding:20px;align-content:start}.price-name{font:400 18px Minion,Georgia,serif}.price-row strong{font-size:13px;font-weight:400}.price-notice{grid-column:1/-1;font-size:13px;color:#7c7c7c;min-height:35px;margin:0}.price-row .button,.onsite-purchase{grid-column:1/-1;margin-top:10px;justify-self:start}.onsite-purchase{font-size:10px;text-transform:uppercase;letter-spacing:.12em;color:#7c7c7c;padding:14px 0}
@media(max-width:767px){.hero.hero-child{min-height:440px}.hero-child>img{width:100%}.hero-child:after{right:0;background:linear-gradient(transparent,#010001),url('shapes/hero-shape-mobile.svg') right top/contain no-repeat}.hero.hero-child>.wrap{padding:230px 25px 40px}.hero-child h1{font-size:48px}.hub-information{display:block;padding:0}.hub-information>.wrap{padding:30px 20px;margin:0}.hub-children{gap:15px}.hub-children .card{min-height:180px}.hub-children .card img{height:180px}.hub-children .card h2{left:20px;bottom:20px}.price-list{grid-template-columns:1fr}.pricing-heading{display:block;margin-bottom:30px}.pricing-heading p{margin-top:20px}.pricing-section>.wrap{padding-top:40px;padding-bottom:40px}.double-images{grid-template-columns:1fr}.double-images img{height:300px}.double-images img:nth-child(2){display:none}.double-body{display:block}.form-subscribe{grid-template-columns:1fr}.form-subscribe>.form-field{grid-column:1/-1}}
.contact-locations{background:linear-gradient(#fbd3c2,white);padding:80px 0}.contact-locations>.wrap{margin:0 auto}.location-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:40px}.location-cards details{border:0}.location-cards summary{font:400 24px Graphik,Arial,sans-serif;list-style:none;margin:0}.location-cards .location-stat{display:flex;gap:15px;align-items:center;margin:15px 0}.location-stat img{max-width:45px;max-height:45px}.contact-form>.delire-form{margin:auto}.contact-form>h2{text-align:center;margin-bottom:50px}
.course-list{background:#f6f1e9;padding:60px 0}.course-list>.wrap{margin:0 auto}.course-list h2{margin:40px 0}.course-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:40px}.course-card{padding:20px;background:white;display:flex;flex-direction:column}.course-card>div:first-child{display:flex;gap:20px;justify-content:space-between}.course-card h3{font:400 18px Minion,Georgia,serif;margin:0}.course-card h3 a{text-decoration:none}.course-card>div:first-child>span{font-size:13px;white-space:nowrap}.course-card>p{font-size:13px;margin-top:20px}.course-card>.prose{font-size:13px;margin-bottom:30px}.course-card>.text-link{margin-top:auto}.location-pill{display:inline-block;background:#f06641;color:#010001;font-size:10px;border-radius:20px;padding:5px 10px;margin:5px 5px 0 0}
@media(max-width:1022px){.course-grid,.location-cards{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:767px){.course-grid,.location-cards{grid-template-columns:1fr;gap:20px}.contact-locations{padding:40px 0}.course-list{padding:30px 0}}
.site-footer .brand{width:50px}.site-footer .brand img{max-height:60px}
.hero.hero-child{background:#010001}.course-card{min-width:0}.course-card>div:first-child{min-width:0}.course-card>div:first-child>span{white-space:normal;max-width:40%;overflow-wrap:anywhere;flex-shrink:0}.course-card h3{min-width:0;overflow-wrap:anywhere}.shop-card>div{display:grid;grid-template-columns:2fr 1fr;gap:20px 40px}.shop-card h2,.shop-card>div>p{grid-column:1}.shop-card .text-link{grid-column:2;grid-row:1/3;justify-self:end;align-self:start}
@media(max-width:767px){.shop-card>div{display:block}.shop-card .text-link{margin-top:20px}}
.site-chrome{position:sticky;top:0;z-index:50;background:white}.admin-bar .site-chrome{top:32px}@media(max-width:782px){.admin-bar .site-chrome{top:46px}}@media(max-width:1199px){.site-chrome:has(#primary-navigation.is-open){max-height:100vh;overflow-y:auto}}

/* Match the source homepage card stacking and vertical rhythm. */
.featured-card:nth-child(2) { z-index: 8; }
.featured-card:nth-child(3) { z-index: 10; }
.featured-card:hover > span,
.featured-card:focus-visible > span { background: #010001; color: white; }
.home-quote { padding-inline: max(20px, 8.333%); }
.home-promos { display: flow-root; padding-block: 0; }
.home-promos > .wrap { margin-block: 145px; }
.promo-image img,
.shop-card > img { height: 375px; }
.home-endgame h2 { font: 400 24px/1.2 Graphik, Arial, sans-serif; margin-bottom: 0; }
.home-endgame .prose { color: #aaa; font-size: 13px; }
.brand-marquee { position: relative; height: 250px; }
.marquee-track {
    display: flex;
    flex: 0 0 auto;
    gap: 0;
    width: 200%;
    animation: delire-marquee 20s linear infinite;
}
.brand-marquee .marquee-track span {
    flex: 0 0 25%;
    text-align: center;
    font-size: clamp(80px, 6vw, 120px);
}
@keyframes delire-marquee { to { transform: translateX(-50%); } }

@media (max-width: 1022px) {
    .home-featured { background: linear-gradient(#fedc45 400px, white 400px); }
    .featured-card:nth-child(2) { top: 260px; }
    .home-promos > .wrap { margin-block: 60px; }
}
@media (max-width: 1199px) {
    .marquee-track { width: 400%; }
    .brand-marquee .marquee-track span { white-space: normal; line-height: .98; }
}
@media (max-width: 767px) {
    .promo-image img,
    .shop-card > img { height: 300px; }
    .home-endgame h2 { font-size: 24px; }
}
@media (prefers-reduced-motion: reduce) {
    .marquee-track { animation: none; }
}

/* Port of CoursSingle, AccordeonSingle, AccordeonsTrainings and PreFooter. */
.training-hero { display: grid; grid-template-columns: 2fr 1fr; background: #f6f1e9; }
.training-hero-copy { width: 58.333%; margin-left: 16.667%; padding: 80px 20px; }
.training-hero-copy > p { margin: 0 0 50px; }
.training-hero h1 { font: 400 40px/1.2 Minion, Georgia, serif; margin: 0 0 40px; text-transform: none; }
.training-intro img { width: 100%; height: auto; }
.training-pattern { background: url('shapes/banner-third-level.svg') center / cover; }
.source-small-link { font-size: 10px; text-transform: uppercase; letter-spacing: .12em; }
.training-options { display: grid; gap: 15px; margin-block: 100px; }
.training-options.has-featured { grid-template-columns: 7fr 5fr; }
.training-options > .source-accordion-panel { padding: 40px; background: #f6f1e9; }
.training-options > .highlight { margin: 0; width: 100%; padding: 40px; }
.training-options > .highlight > .prose { margin: 0; }
.source-accordion-panel h2, .footer-locations h3 { font: 400 18px/1.3 Minion, Georgia, serif; }
.source-accordion-panel h2 { margin-bottom: 70px; }
details.source-accordion, .prefooter details.source-accordion { border: 0; padding: 0; }
details.source-accordion > summary, .prefooter details.source-accordion > summary {
    display: block;
    position: relative;
    margin: 0;
    padding: 20px 20px 20px 0;
    font: 400 10px/1.4 Graphik, Arial, sans-serif;
    letter-spacing: .12em;
    text-transform: uppercase;
    list-style: none;
}
.source-accordion > summary::-webkit-details-marker { display: none; }
details.source-accordion > summary::after, .prefooter details.source-accordion > summary::after {
    content: '';
    position: absolute;
    top: calc(50% - 5px);
    right: 2px;
    width: 7px;
    height: 7px;
    border: solid currentColor;
    border-width: 0 1px 1px 0;
    transform: rotate(45deg);
}
details.source-accordion[open] > summary { opacity: .6; }
details.source-accordion[open] > summary::after, .prefooter details.source-accordion[open] > summary::after {
    content: '';
    transform: rotate(225deg);
}
details.source-accordion > .prose, .prefooter details.source-accordion > .prose {
    margin: 0;
    padding: 20px;
    background: white;
}
.training-price { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 15px 0; color: #010001; }
.training-options .booking { margin-top: 15px; }
.prefooter .locations-panel { padding-block: 75px; }
.prefooter .footer-locations { background: white; padding: 15px 20px 5px; }
.footer-locations h3 { margin: 0; }
.prefooter .footer-locations details.source-accordion > summary { padding-block: 15px; }
.prefooter .footer-locations details.source-accordion > .prose { padding-inline: 0; }
.footer-credits { display: flex; justify-content: space-between; gap: 20px; width: 100%; }
.footer-credits p { margin: 0; width: auto; }
.footer-credits a { color: inherit; text-decoration: none; }
.footer-nav > ul { flex-wrap: wrap; column-gap: 40px; row-gap: 20px; }
@media (max-width: 1022px) {
    .training-hero { grid-template-columns: 1fr; }
    .training-pattern { order: -1; min-height: 145px; }
    .training-hero-copy { margin: 0; width: 100%; padding-inline: 20px; }
    .footer-credits { flex-direction: column; text-align: center; }
}
@media (max-width: 767px) {
    .training-hero { background: white; }
    .training-hero-copy { padding-block: 30px; }
    .training-hero h1 { font-size: 32px; }
    .training-options, .training-options.has-featured { grid-template-columns: 1fr; margin: 0 0 20px; padding: 40px 0 0; background: #f6f1e9; }
    .training-options > .highlight { order: -1; width: calc(100% - 30px); margin-inline: auto; padding: 20px; }
    .training-options > .source-accordion-panel { padding: 30px 15px; }
    .source-accordion-panel h2 { margin-bottom: 40px; }
    .training-price > :last-child { text-align: right; }
    .prefooter .locations-panel { padding-block: 20px; }
}
.training-intro :is(h2, h3, h4) { margin: 40px 0 20px; }
.training-intro :is(p, li) { color: #7c7c7c; }
.training-intro ul { padding-left: 15px; margin-top: 20px; }
.training-intro li { margin-block: 15px; }
.training-intro figure { margin-block: 80px; }
.training-hero { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); }
.training-hero-copy > p { line-height: 21px; }
.training-hero-copy > p > a { display: inline-block; line-height: 29px; vertical-align: top; }
.training-hero h1 { line-height: 1.5; letter-spacing: -.02em; }
.training-intro { font: 400 24px/1.4 Graphik, Arial, sans-serif; }
.training-intro :is(h2, h3, h4) { line-height: 33.6px; }
.training-intro :is(p, li), .training-description :is(p, li) { font: 400 15px/21px Graphik, Arial, sans-serif; }
.training-intro p, .training-description p { margin: 0 0 16px; }
.training-intro :is(h3, h4), .training-description :is(h3, h4) {
    font-family: Minion, Georgia, serif;
    font-size: 18px;
    font-weight: 500;
    letter-spacing: -.02em;
}
.training-options > .source-accordion-panel > h2 { font: 500 18px/27px Minion, Georgia, serif; letter-spacing: -.02em; }
.training-options details.source-accordion > summary { line-height: 15px; padding-block: 21px; }
.training-description { display: flow-root; font: 400 16px/24px system-ui, sans-serif; }
.training-description :is(h1, h2, h3, h4) { margin: 40px 0 20px; line-height: 1.5; }
.training-description ul { margin: 20px 0 16px; padding-left: 15px; }
.training-description li { margin-block: 15px; }
.training-description ul ul { margin-top: 0; }
.training-description ul ul li { margin-block: 10px; }
:is(.training-intro, .training-description) :is(p, li) a:not(.button, .btn, .text-black) { color: #fdc139; }
.training-registration { margin-top: 30px; }
.training-registration .booking {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    margin: 0;
    padding: 14px 11px;
    background: #fdc139;
    font: 400 10px/15px Graphik, Arial, sans-serif;
    letter-spacing: .12em;
}
@media (max-width: 1022px) {
    .training-hero { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 767px) {
    .training-hero h1 { line-height: 1.2; }
    :is(.training-intro, .training-description) a[style*="inline-flex"] {
        max-width: 100%;
        height: auto !important;
        min-height: 44px;
        white-space: normal !important;
    }
}
.prefooter .footer-locations { padding: 0; }
.footer-location-group { padding: 15px 20px 5px; }
.footer-location-factory,
.prefooter .footer-location-factory details.source-accordion > .prose { background: #010001; color: white; }
.prefooter .footer-location-factory .prose a { color: inherit; }

/* About.svelte places the copy before the image in both layouts. */
.about-intro {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 5fr));
    gap: 16.6667%;
    align-items: center;
    max-width: 1280px;
    margin-block: 120px;
    padding: 0;
}
.about-hero > .wrap { max-width: 1280px; }
:is(.about-hero, .journal-hub-hero, .careers-hero, .contact-hero, .membership-hero) .hub-title h1 {
    left: 40px;
    top: -3px;
    height: 380px;
    text-align: center;
    transform: rotate(180deg);
}
.about-intro > div:first-child { padding-inline: 20px; }
.about-intro img { width: 100%; height: auto; }
.about-intro :is(h2, h3, h4) { line-height: 1.5; margin-bottom: 40px; }
.about-intro p { margin: 0 0 16px; }
.about-intro p:last-child { margin-bottom: 0; }
.full-image.full-image-cover img { width: 100%; height: 480px; object-fit: cover; }
.about-stats { text-align: center; }
.about-stats > h2 {
    margin: 0 auto 60px;
    padding-bottom: 25px;
    font: 500 18px/27px Minion, Georgia, serif;
    letter-spacing: -.02em;
}
.about-stats-band { border-top: 1px solid #e7e7e7; }
.about-stats-band dl {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    max-width: 1280px;
    padding: 60px 20px 90px;
    margin: 0 auto;
}
.about-stats-band dl > div { display: flex; flex-direction: column-reverse; padding-inline: 20px; }
.about-stats-band dt { color: #7c7c7c; font: 400 13px/1.4 Graphik, Arial, sans-serif; }
.about-stats-band dd { margin: 0; }
.about-stat-number { color: #fedc45; font: 700 73px/1.4 Formula, Impact, sans-serif; }
@media (min-width: 768px) {
    main:has(> :is(.about-hero, .careers-hero)) > .content-endgame .prose { margin-bottom: 16px; }
}
.prefooter .form-subscribe button { background: #fdc139; color: #010001; }
@media (max-width: 767px) {
    :is(.about-hero, .journal-hub-hero, .careers-hero, .contact-hero, .membership-hero) .hub-title h1 { left: 20px; top: -53px; height: 480px; text-align: start; }
    .about-intro { grid-template-columns: 1fr; gap: 60px; margin-block: 60px 0; }
    .full-image.full-image-cover img { height: 300px; }
    .about-stats-band dl { padding: 0; }
    .about-stats-band dl > div { flex: 0 0 50%; padding-block: 30px; }
}

/* MainNav and RockgymModal from the original frontend. */
.menu-mask { display: none; }
.booking-dialog {
    width: min(calc(100% - 40px), 1240px);
    max-width: none;
    height: auto;
    max-height: calc(100dvh - 60px);
    margin: 60px auto auto;
    padding: 20px 0 0;
    background: transparent;
}
.booking-dialog::backdrop { background: rgba(1, 1, 1, .85); }
.booking-dialog iframe { height: max(280px, calc(100dvh - 200px)); margin-top: 40px; }
.booking-dialog > a { color: white; font-size: 12px; }

@media (max-width: 1199px) {
    body.drawer-active { overflow: hidden; }
    .site-chrome.drawer-open:has(#primary-navigation.is-open) { max-height: none; overflow: visible; }
    .menu-toggle img { width: 25px; height: auto; }
    .drawer-open .menu-toggle { transform: translateX(calc(-1 * min(280px, 85vw))); }
    .menu-toggle { transition: transform 300ms ease; }
    .drawer-open .menu-mask:not([hidden]) {
        display: block;
        position: fixed;
        inset: 0;
        background: rgba(1, 1, 1, .92);
        z-index: 1;
    }
    .drawer-open .menu-toggle { position: relative; z-index: 2; background: white; }
    .drawer-open .site-header #primary-navigation.is-open {
        position: fixed;
        top: 0;
        right: 0;
        width: min(280px, 85vw);
        height: 100dvh;
        overflow-y: auto;
        overscroll-behavior: contain;
        background: white;
        padding: 30px;
        z-index: 3;
        animation: delire-drawer-in 300ms ease both;
    }
    .drawer-open #primary-navigation li > a { font-size: 20px; white-space: normal; }
    .drawer-open #primary-navigation .sub-menu { padding: 0; }
    .drawer-open #primary-navigation .sub-menu a { color: #7c7c7c; }
}
@keyframes delire-drawer-in { from { transform: translateX(100%); } }
@media (prefers-reduced-motion: reduce) {
    .menu-toggle { transition: none; }
    .drawer-open .site-header #primary-navigation.is-open { animation: none; }
}

/* Article.svelte uses a centered serif heading over a pale pink gradient. */
/* Journal index filters and alternating cards. */
.journal-index-filters { margin: 0 auto; padding-top: 60px; }
.journal-filter-row { display: flex; gap: 10px; align-items: center; overflow-x: auto; margin-bottom: 60px; }
.journal-filter-row p { flex: 0 0 auto; margin: 0 auto 0 15px; font: 500 18px/27px Minion, Georgia, serif; letter-spacing: -.02em; }
.journal-filter-row .journal-filter {
    flex: 0 0 auto;
    background: #fdc139;
    color: #010001;
    padding: 14px 11px;
    font: 400 10px/15px Graphik, Arial, sans-serif;
    letter-spacing: .12em;
}
.journal-filter-row .journal-filter[aria-current] { background: #010001; color: white; }
.journal-filter-row .journal-filter:focus-visible { outline-offset: -3px; }
.journal-index-count { display: flex; justify-content: center; gap: 40px; }
.journal-index-count p { font: 400 13px/18.2px Graphik, Arial, sans-serif; margin: 0 0 16px; }
.journal-index-cards { display: grid; gap: 80px; margin: 80px auto; padding: 0; }
.journal-index-card { display: grid; width: 66.6667%; align-items: center; }
.journal-index-narrow { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); }
.journal-index-wide { justify-self: end; }
.journal-index-image { display: block; overflow: hidden; margin-inline: 20px; height: 480px; background: #161616; }
.journal-index-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease-out; }
.journal-index-image:is(:hover, :focus-visible) img { transform: scale(1.1); }
.journal-index-copy { padding-inline: 20px; }
.journal-index-narrow .journal-index-copy { grid-row: 1; grid-column: 1; }
.journal-index-narrow .journal-index-image { grid-row: 1; grid-column: 2; }
.journal-index-card h2 { font: 400 24px/36px Graphik, Arial, sans-serif; letter-spacing: -.02em; margin: 0 0 20px; }
.journal-index-card h2 a { text-decoration: none; }
.journal-index-card h2 a:hover { text-decoration: underline; }
.journal-index-narrow h2 { margin-bottom: 30px; }
.journal-index-wide .journal-index-copy { display: flex; align-items: flex-start; justify-content: space-between; gap: 40px; margin-top: 30px; }
.journal-index-wide h2 { width: 58.3333%; }
.journal-index-copy .journal-small-link { white-space: nowrap; }
.journal-index-pages {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    align-items: center;
    text-align: center;
    min-height: 36px;
    margin: 0 auto 120px;
}
.journal-page-arrow { justify-self: start; color: white; background: #010001; text-decoration: none; padding: 6px 12px; line-height: 24px; }
.journal-page-arrow:last-child { justify-self: end; }
@media (min-width: 768px) and (max-width: 1022px) {
    .journal-index-narrow { width: 83.3333%; }
    .journal-index-image { height: 380px; }
}
@media (max-width: 767px) {
    .journal-index-filters { padding-inline: 0; }
    .journal-filter-row { min-height: 58px; }
    .journal-index-card { width: 83.3333%; }
    .journal-index-narrow { display: block; justify-self: end; }
    .journal-index-wide { justify-self: start; }
    .journal-index-image { height: auto; aspect-ratio: 1; }
    .journal-index-card .journal-index-copy { display: block; margin-top: 30px; }
    .journal-index-card h2 { width: auto; margin-bottom: 20px; }
}
@media (prefers-reduced-motion: reduce) {
    .journal-index-image img { transition: none; }
}
.journal-article { background: linear-gradient(180deg, #fbd3c2, rgba(251, 211, 194, 0) 50%); padding-block: 80px 0; color: #212529; }
.journal-heading { margin: 0 auto; text-align: center; }
.journal-heading h1 { font: 400 58px/1.2 Minion, Georgia, serif; margin: 0 0 60px; text-transform: none; }
.journal-article .journal-heading { max-width: 1320px; padding-inline: 40px; display: flow-root; }
.journal-article .journal-heading h1 { line-height: 1.5; letter-spacing: -.02em; }
.journal-categories, .journal-article .journal-share { font: 400 13px/1.4 Graphik, Arial, sans-serif; margin-bottom: 16px; }
.journal-categories a { padding-inline: 15px; color: #010001; text-decoration: none; }
.journal-categories a:hover { text-decoration: underline; }
.journal-share { margin-top: 40px; position: relative; }
.journal-share a, .journal-copy { font-size: 10px; text-transform: uppercase; letter-spacing: .12em; margin-inline: 10px; }
.journal-copy { background: transparent; padding: 8px 0; }
:is(.journal-article, .job-heading) .journal-share :is(a, button) { line-height: 18.2px; margin-inline: 15px; }
:is(.journal-article, .job-heading) .journal-copy { padding: 1px 6px; }
:is(.journal-article, .job-heading) .journal-share a, .journal-small-link, :is(.journal-article, .job-heading) .journal-copy { display: inline-block; color: inherit; text-decoration: none; }
:is(.journal-article, .job-heading) .journal-copy:hover { background: transparent; }
:is(.journal-article, .job-heading) .journal-share a::after, :is(.journal-article, .job-heading) .journal-copy::after, .journal-small-link::after {
    content: ''; display: block; margin-top: 5px; height: 1px; background: currentColor;
}
@media (prefers-reduced-motion: no-preference) {
    .journal-share a:hover::after, .journal-copy:hover::after, .journal-small-link:hover::after { animation: journal-underline .25s ease-out; }
}
@keyframes journal-underline { from { transform: scaleX(.15); } to { transform: scaleX(1); } }
.journal-copy-wrap { position: relative; display: inline-block; }
.journal-copy-status:not(:empty) {
    position: absolute; top: 35px; left: 50%; transform: translateX(-50%); z-index: 2;
    width: 100px; border-radius: 6px; background: #1c1c1c; color: white; padding: 10px;
    font: 700 13px/1.4 Graphik, Arial, sans-serif;
}
.journal-copy-status:not(:empty)::before {
    content: ''; position: absolute; top: -8px; left: 20%;
    border-inline: 12px solid transparent; border-bottom: 12px solid #1c1c1c;
}
.journal-column { width: calc(58.3333% - 23.3333px); max-width: 746.6667px; padding-inline: 20px; margin-inline: auto; display: flow-root; }
.journal-intro { margin-top: 80px; text-align: center; }
.journal-intro-no-image { margin-bottom: 80px; }
.journal-lead { font: 400 24px/36px Graphik, Arial, sans-serif; letter-spacing: -.02em; margin: 0 0 8px; }
.journal-intro figure, .journal-body figure { margin-block: 80px; }
.journal-lead + figure { margin-top: 88px; }
.journal-intro img { width: 100%; height: auto; }
.journal-intro figcaption { text-align: right; margin-top: 15px; }
.journal-body { font: 400 16px/24px system-ui, sans-serif; }
.journal-body :is(h1, h2, h3, h4) { margin: 40px 0 20px; color: #212529; letter-spacing: -.02em; text-transform: none; }
.journal-body h1 { font: 400 30px/45px Graphik, Arial, sans-serif; }
.journal-body h2 { font: 400 24px/36px Graphik, Arial, sans-serif; }
.journal-body :is(h3, h4) { font: 500 18px/27px Minion, Georgia, serif; }
.journal-body :is(p, li) { font: 400 15px/21px Graphik, Arial, sans-serif; color: #010001; }
.journal-body p { margin: 0 0 16px; }
.journal-body ul { margin: 20px 0 16px; padding-left: 15px; }
.journal-body li { margin-block: 15px; }
.journal-body a { text-decoration: none; }
.journal-body a:hover { text-decoration: underline; }
.journal-body :is(p, li) a:not(.btn, .button, .text-black) { color: #fdc139; }
.journal-body img, .journal-lead img.emoji { display: inline; vertical-align: middle; }
.journal-body blockquote { margin: 100px 0; text-align: center; }
.journal-body blockquote, .journal-body blockquote p { font: 400 54px/1.4 Minion, Georgia, serif; letter-spacing: -.02em; }
.journal-full-image { margin: 0 0 120px; }
.journal-full-image img { width: 100%; height: 480px; object-fit: cover; }
.journal-gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 40px; margin-block: 50px 100px; }
.journal-gallery figure:nth-child(even) { padding-top: 100px; }
.journal-gallery img { width: 100%; }
@media (prefers-reduced-motion: no-preference) {
    .journal-gallery figure:nth-child(odd) img { transform: translateY(var(--journal-gallery-offset, 0px)); }
    .journal-gallery figure:nth-child(even) img { transform: translateY(calc(-1 * var(--journal-gallery-offset, 0px))); }
}
.journal-signoff { margin: 100px auto 0; padding: 0 15px 16px; text-align: center; color: #7c7c7c; font: 400 13px/1.4 Graphik, Arial, sans-serif; }
.journal-signoff a { color: #010001; text-decoration: none; }
.journal-signoff a:hover { text-decoration: underline; }
.journal-related { display: flow-root; background: linear-gradient(transparent 145px, #000 145px); color: white; }
.journal-related > .wrap { max-width: 1320px; margin: 50px auto 0; padding: 0 40px 100px; }
.journal-related-image { position: relative; min-height: 375px; padding: 40px; background: #212529; isolation: isolate; }
.journal-related-image img, .journal-related-image::before { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.journal-related-image img { object-fit: cover; z-index: -2; }
.journal-related-image::before { content: ''; background: linear-gradient(180deg, #000b 7%, transparent 66%); }
.journal-related-top, .journal-related-body { display: flex; justify-content: space-between; align-items: start; gap: 20px; }
.journal-related-top h2 { font: 500 18px/27px Minion, Georgia, serif; letter-spacing: -.02em; margin: 0; }
.journal-related-body { padding-top: 20px; }
.journal-related-body > div { width: calc(50% - 20px); }
.journal-related-body h3 { font: 400 24px/36px Graphik, Arial, sans-serif; letter-spacing: -.02em; margin: 0; }
.journal-related-body h3 a { text-decoration: none; }
.journal-related-body h3 a:hover { text-decoration: underline; }
.journal-related-body p { font: 400 15px/21px Graphik, Arial, sans-serif; color: #7c7c7c; margin: 20px 0 16px; }
.journal-small-link { font: 400 10px/24px Graphik, Arial, sans-serif; text-transform: uppercase; letter-spacing: .12em; }
@media (max-width: 767px) {
    .journal-article .journal-heading { padding-inline: 20px; }
    .journal-article .journal-heading h1 { font-size: 40px; line-height: 1.2; margin-bottom: 30px; }
    .journal-column { width: 100%; }
    .journal-body blockquote, .journal-body blockquote p { font-size: 32px; }
    .journal-body a[style*="inline-flex"] { max-width: 100%; min-height: 44px; height: auto !important; white-space: normal !important; }
    .journal-full-image img { height: 300px; }
    .journal-related > .wrap { padding-inline: 20px; }
    .journal-related-image { min-height: 300px; padding: 20px; }
    .journal-related-body { display: block; }
    .journal-related-body > div { width: 100%; }
    .journal-related-body > a { margin-top: 20px; }
}

.careers-intro {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 5fr));
    gap: 16.6667%;
    margin-block: 120px;
    padding: 0;
}
.careers-intro > div { padding-inline: 20px; }
.careers-intro, .careers-cv { color: #212529; }
.careers-intro h2 { font: 400 24px/36px Graphik, Arial, sans-serif; margin: 0 0 8px; }
.careers-intro h4, .career-card h2, .careers-cv h2 { font: 500 18px/27px Minion, Georgia, serif; letter-spacing: -.02em; margin: 0 0 8px; }
.careers-intro p { margin: 0 0 16px; }
.careers-jobs { background: #f6f1e9; }
.careers-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 40px;
    max-width: 1320px;
    margin-block: 0;
    padding: 100px 40px 140px;
}
.career-card { display: flex; flex-direction: column; align-items: flex-start; background: white; padding: 20px; }
.career-card h2 a { text-decoration: none; }
.career-card h2 a:hover { text-decoration: underline; }
.career-card p, .careers-cv p { font: 400 13px/18.2px Graphik, Arial, sans-serif; letter-spacing: -.01em; }
.career-card .career-location { width: 100%; color: #7c7c7c; margin: 0 0 16px; }
.career-card .location-pill { color: white; margin: 15px 15px 0 0; padding: 4px 6px; border-radius: 2px; font-size: 13px; }
.career-excerpt { color: #7c7c7c; margin: 30px 0; }
.career-card .source-small-link {
    margin-top: auto;
    font: 400 10px/24px Graphik, Arial, sans-serif;
    letter-spacing: .12em;
    text-decoration: none;
}
.career-card .source-small-link::after { content: ''; display: block; height: 1px; margin-top: 4px; background: currentColor; }
.careers-cv { background: #fedc45; }
.careers-cv > .wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    max-width: 1320px;
    margin-block: 0;
    padding: 40px;
}
.careers-cv > .wrap > div { width: calc(50% - 20px); }
.careers-cv h2 { margin-bottom: 30px; }
.careers-cv p { margin: 0; }
.careers-cv .careers-cv-link {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    background: #010001;
    color: #fdc139;
    padding: 14px 11px;
    font: 400 10px/21px Graphik, Arial, sans-serif;
    letter-spacing: .12em;
}
.careers-cv-link img { width: 13px; }
.careers-cv .careers-cv-link { gap: 19px; }
main:has(> .careers-hero) > .content-endgame::after {
    background: linear-gradient(180deg, transparent 1.04%, #000 95.52%);
}
main:has(> .careers-hero) > .content-endgame .prose { letter-spacing: -.01em; }
@media (min-width: 768px) {
    main:has(> .careers-hero) > .content-endgame > .wrap {
        max-width: 1320px;
        border-top-color: transparent;
        grid-template-columns: minmax(0, calc(58.3333% - 16.6667px)) minmax(0, 1fr);
    }
    main:has(> .careers-hero) > .content-endgame::before {
        content: '';
        position: absolute;
        top: 278px;
        inset-inline: 20px;
        height: 2px;
        background: rgb(255 255 255 / 20%);
        z-index: 1;
    }
}
@media (max-width: 1022px) {
    .careers-grid { grid-template-columns: 1fr; padding-block: 50px 90px; }
}
@media (max-width: 767px) {
    .careers-intro { grid-template-columns: 1fr; gap: 40px; margin-block: 60px; }
    .careers-grid { padding-inline: 20px; }
    .careers-cv > .wrap { align-items: flex-start; flex-direction: column; padding-inline: 20px; }
    .careers-cv > .wrap > div { width: 100%; }
    .careers-cv h2 { margin-bottom: 20px; }
}
.job-apply-top { background: #010001; text-align: center; padding: 15px 20px; }
.job-apply-top .button, .job-apply .button {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    padding: 14px 11px;
    font: 400 10px/21px Graphik, Arial, sans-serif;
    letter-spacing: .12em;
}
.job-apply-top .button { background: #010001; color: #fdc139; line-height: 14px; }
.job-apply-top img { width: 13px; }
.job-heading { background: #fbd3c2; color: #212529; padding: 100px 0; }
.job-heading > .wrap { max-width: 1320px; padding-inline: 40px; }
.job-heading .job-back, .job-heading .journal-share { font: 400 13px/18.2px Graphik, Arial, sans-serif; margin: 0 0 16px; }
.job-heading .job-back a { color: #010001; line-height: 19px; }
.job-heading h1 { margin: 60px 0; line-height: 1.5; letter-spacing: -.02em; }
.job-heading .journal-share { display: flow-root; }
.job-heading .journal-copy { margin-inline: 0; }
.job-image img { display: block; width: 100%; height: 480px; object-fit: cover; }
.job-body {
    display: flow-root;
    width: 58.3333%;
    max-width: 746.6667px;
    margin: 80px auto 100px;
    color: #212529;
}
.job-body :is(p, li) { color: #7c7c7c; font: 400 15px/21px Graphik, Arial, sans-serif; letter-spacing: -.01em; }
.job-body p { margin: 0 0 16px; }
.job-body ul { margin: 20px 0 16px; padding-left: 15px; }
.job-body li { margin-block: 15px; }
.job-body :is(h3, h4) { font: 500 18px/27px Minion, Georgia, serif; letter-spacing: -.02em; margin: 40px 0 20px; }
.job-body :is(p, li) a:not(.button, .btn) { color: #fdc139; }
.job-apply { background: #010001; color: white; }
.job-apply > .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; max-width: 1320px; margin-block: 0; padding: 60px 40px; min-height: 188px; }
.job-apply h2 { font: 400 40px/1.5 Minion, Georgia, serif; letter-spacing: -.02em; margin: 0 0 8px; }
.job-apply p { margin: 0 0 16px; }
.job-apply .button { background: #fdc139; color: #010001; }
.job-apply .button span { font-size: 14px; }
@media (max-width: 767px) {
    .job-apply-top { padding-block: 5px; }
    .job-heading { padding: 40px 0; }
    .job-heading h1 { margin-top: 40px; font-size: 40px; line-height: 1.2; }
    .job-image img { height: 280px; }
    .job-body { width: 100%; }
    .job-apply > .wrap { flex-direction: column; align-items: flex-start; padding: 20px; min-height: 0; }
    .job-apply h2 { font-size: 32px; line-height: 1.2; }
}

/* Geometry and type measured against the original homepage at 1280px and 390px. */
.home-featured { padding: 100px 40px 0; }
.featured-inner { max-width: 1200px; padding-bottom: 50px; }
.home-featured .featured-card { font-size: 22px; line-height: 33px; }
.featured-card > span {
    padding: 24px 20px;
    gap: 20px;
    font: inherit;
    transition: background-color 300ms ease-out, color 300ms ease-out;
}
.featured-card .featured-arrow {
    position: relative;
    width: 12px;
    height: 1px;
    background: currentColor;
}
.featured-arrow::after {
    content: '';
    position: absolute;
    top: -3px;
    right: 0;
    width: 6px;
    height: 6px;
    border: solid currentColor;
    border-width: 1px 1px 0 0;
    transform: rotate(45deg);
}
.featured-card:nth-child(2) .featured-arrow { transform: rotate(-45deg); }
.home-quote { padding-inline: 0; }
.home-quote > .quote {
    max-width: calc((100% - 48px) * .833333);
    margin: 0 auto 8px;
    padding: 0;
    font-weight: 500;
    color: #212529;
}
.home-promos > .wrap { padding-inline: 40px; }
.promo-card h2 { line-height: 1.5; margin: 20px 0 0; }
.promo-card .prose { margin-top: 20px; }
.text-link,
.site-footer .socials a {
    display: inline-block;
    width: fit-content;
    line-height: 21px;
    text-decoration: none;
    transition: opacity 250ms ease-out;
}
.text-link::after,
.site-footer .socials a::after {
    content: '';
    display: block;
    width: 100%;
    height: 1px;
    margin: 5px 0 0;
    background: currentColor;
}
.text-link:hover,
.site-footer .socials a:hover { opacity: .5; text-decoration: none; }
.prefooter .footer-location-group details.source-accordion > summary {
    line-height: 15px;
    padding-block: 6px 26px;
}
.prefooter .footer-location-group details.source-accordion > summary::after { top: 9px; }

@media (max-width: 767px) {
    .home-featured { padding-top: 100px; }
    .home-quote { margin-block: 0; padding-block: 100px; }
    .home-promos > .wrap { margin-block: 145px 60px; }
    .prefooter .locations-panel { padding-inline: 20px; }
}
@media (max-width: 349px) {
    .home-featured, .home-promos > .wrap { padding-inline: 0; }
}

/* PreFooter.svelte and Newsletter.svelte use fluid columns at each breakpoint. */
.prefooter .newsletter-panel { padding: 60px 0; }
.prefooter .newsletter-panel > div { width: 83.3333%; max-width: none; }
.prefooter .newsletter-panel h2 {
    max-width: none;
    margin: 0;
    font: 400 24px/36px Graphik, Arial, sans-serif;
    color: #212529;
}
.prefooter .locations-panel { padding: 75px 20px; }
.prefooter .footer-locations { width: 83.3333%; max-width: none; }
.footer-location-group { padding: 15px 20px 5px; }
.footer-location-group h3 { font-size: 18px; line-height: 27px; margin: 0 0 5px; }
.prefooter .footer-location-group details.source-accordion > summary {
    padding-block: 1px 21px;
    line-height: 15px;
}
.prefooter .footer-location-group details.source-accordion > summary::after { top: 3px; }

.prefooter .form-subscribe {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px 20px;
    margin: 40px 0 0;
    max-width: none;
}
.prefooter .form-subscribe > .form-field { grid-column: auto; }
.prefooter .form-subscribe > .form-field:has(input[type=email]) { grid-column: 1 / -1; }
.prefooter .form-subscribe .form-field input,
.prefooter .form-subscribe select {
    display: block;
    box-sizing: border-box;
    width: 100%;
    height: 50px;
    border: 1px solid #ebebeb;
    border-radius: 0;
    padding: 0 10px;
    font: 400 16px/24px Graphik, Arial, sans-serif;
    background: white;
}
.prefooter .form-subscribe .consent { margin: 0; font-size: 13px; }
.prefooter .form-subscribe .consent input { width: auto; height: auto; }
.prefooter .form-subscribe button {
    padding: 14px 11px;
    margin: 0;
    background: #fdc139;
    color: #010001;
    line-height: 15px;
}
.prefooter .form-subscribe button span { margin-left: 10px; font-size: 14px; }
.newsletter-feedback { grid-column: 1 / -1; margin: 0; font-size: 13px; color: #972f25; }
.newsletter-feedback:empty { margin-top: -20px; }
.newsletter-feedback[data-state="sent"] { color: #24643f; }
.form-subscribe button:disabled { opacity: .65; cursor: wait; }

@media (max-width: 767px) {
    .prefooter .newsletter-panel { padding-block: 30px; }
    .prefooter .newsletter-panel > div { width: 91.6667%; }
    .prefooter .locations-panel { padding-block: 20px; }
    .prefooter .footer-locations { width: 100%; }
}
.footer-location-hours {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin: 0 0 5px;
    font-size: 13px;
    line-height: 1.5;
}

.prefooter .footer-location-group details.source-accordion > .prose { padding-block: 0 15px; }
.footer-location-media, .footer-location-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 20px;
    margin: 0 0 15px;
}
.footer-location-media .text-link, .footer-location-links .text-link {
    color: inherit;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
}
.footer-location-address {
    max-width: 58.333%;
    margin-bottom: 30px;
    color: #212529;
    font-size: 14px;
    line-height: 21px;
}
.footer-location-phone { margin: 0; padding-block: 15px; font-size: 13px; }
.footer-location-stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
    margin: 20px 0;
    text-align: center;
    font-size: 13px;
}
.footer-location-stats img { width: auto; height: 35px; margin: 0 auto 15px; object-fit: contain; }
.footer-location-stats p { margin: 0; }
@media (max-width: 767px) {
    .footer-location-address { max-width: 83.333%; }
    .footer-location-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Grimper: match the original ChildPagesLinks row and compact link labels. */
.hub-title h1 { line-height: 1.5; }
.crossover-text.prose h2 { color: #212529; font-size: 30px; line-height: 45px; }
.hub-information h2 { font-weight: 500; line-height: 27px; }
.hub-card-band { background: linear-gradient(white 140px, #161616 140px); padding-bottom: 140px; }
.hub-card-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    max-width: 1280px;
    margin: 50px auto 0;
    padding-inline: 40px;
}
.hub-card {
    position: relative;
    display: block;
    height: 480px;
    overflow: hidden;
    color: white;
    background: #161616;
    text-decoration: none;
}
.hub-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 300ms ease-out; }
.hub-card::before,
.hub-card::after { content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.hub-card::before { background: linear-gradient(180deg, transparent 7.14%, #000 113.1%); }
.hub-card::after { background: #010001; opacity: 0; transition: opacity 300ms ease-out; }
.hub-card:is(:hover, :focus-visible) img { transform: scale(1.1); }
.hub-card:is(:hover, :focus-visible)::after { opacity: .2; }
.hub-card span {
    position: absolute;
    left: 40px;
    bottom: 40px;
    max-width: calc(100% - 80px);
    z-index: 2;
    font: 400 10px/15px Graphik, Arial, sans-serif;
    text-transform: uppercase;
    letter-spacing: .12em;
}
.hub-card span::after { content: ''; display: block; height: 1px; margin-top: 5px; background: currentColor; }
@media (max-width: 767px) {
    .hub-card-band { background: none; padding-bottom: 0; }
    .hub-card-grid { grid-template-columns: 1fr; margin-top: 0; padding: 0; }
    .hub-card { height: 180px; }
}
@media (prefers-reduced-motion: reduce) {
    .hub-card img, .hub-card::after { transition: none; }
}

/* Grimper measurements from the original hub, crossover and FAQ components. */
main:has(> .hub-information) .hub-title h1 { left: 40px; top: calc(50% - 3px); }
main:has(> .hub-information) > .crossover { margin-bottom: -160px; }
main:has(> .hub-information) .crossover-text > h1 {
    color: #212529;
    font-size: 30px;
    line-height: 45px;
    margin: 0 0 8px;
}
main:has(> .hub-information) .crossover-text > p { margin: 0 0 16px; }
main:has(> .hub-information) .crossover-text > h3 {
    color: #212529;
    font-size: 22px;
    line-height: 33px;
    margin: 0 0 25px;
}
.hub-information { grid-template-columns: 58.3333% minmax(0, 1fr); }
.hub-information:not(:has(.hub-risk)) { grid-template-columns: 1fr; }
.hub-information > .wrap { margin: 0; }
.hub-information .source-accordion > summary {
    color: #000;
    padding-block: 21px;
    line-height: 15px;
}
.hub-risk { background: #fedc45; }
.hub-risk h2 { margin-bottom: 40px; }
.hub-risk-copy {
    color: #212529;
    font-size: 13px;
    line-height: 1.4;
    letter-spacing: -.01em;
    margin-bottom: 40px;
}
.hub-risk-copy > :last-child { margin-bottom: 0; }
.hub-information .hub-risk-button {
    background: #010001;
    color: #fdc139;
    font: 400 10px/21px Graphik, Arial, sans-serif;
    letter-spacing: .12em;
    padding: 14px 11px;
}
.hub-risk-button::after { content: '→'; margin-left: 15px; font-size: 14px; }
.hub-risk-download::after {
    content: '';
    display: inline-block;
    width: 14px;
    height: 14px;
    vertical-align: middle;
    background: url('icons/ico-download.svg') center / contain no-repeat;
}
.hub-card-band { display: flow-root; background: linear-gradient(white 140px, #161616 140px); }
@media (max-width: 767px) {
    main:has(> .hub-information) .hub-title h1 { left: 20px; }
    main:has(> .hub-information) > .crossover { margin: 0; padding: 0; }
    main:has(> .hub-information) .crossover-image img { height: 400px; }
    main:has(> .hub-information) .crossover-text { width: 91.6667%; top: -160px; margin-bottom: -160px; padding: 20px 40px 40px 15px; }
    .hub-information { margin-top: 0; margin-bottom: 20px; }
    .hub-information > .accordion-group { padding: 30px 15px; }
    .hub-information .accordion-group h2 { margin-bottom: 40px; }
    .hub-information > .hub-risk { width: 91.6667%; margin: 20px auto 0; padding: 20px; }
    .hub-card-band { background: none; }
}

/* Tarifs et abonnements: introduction, promotion and price cards. */
.hero-with-parent.hero-child h1 { line-height: 1.5; }
.hero-with-parent .hero-parent {
    display: inline-block;
    line-height: 15px;
    text-decoration: none;
    border-bottom: 1px solid currentColor;
    padding-bottom: 5px;
}
.pricing-intro {
    display: grid;
    grid-template-columns: 5fr 2fr 5fr;
    align-items: start;
    margin-block: 0;
    padding-block: 145px;
}
.pricing-intro:not(:has(.pricing-promo)) { grid-template-columns: 10fr 2fr; }
.pricing-intro-copy { color: #212529; }
.pricing-intro-copy h2 { font-size: 24px; line-height: 36px; margin: 40px 0 25px; }
.pricing-intro-copy h4, .pricing-promo h2, .pricing-waiver h2, .price-row .price-name {
    font: 500 18px/27px Minion, Georgia, serif;
    letter-spacing: -.02em;
}
.pricing-intro-copy h4 { margin: 40px 0 25px; }
.pricing-intro-copy > :first-child { margin-top: 0; }
.pricing-intro-copy p, .pricing-intro-copy li { color: #7c7c7c; }
.pricing-intro-copy li { margin-block: 15px; }
.pricing-promo { grid-column: 3; background: #fedc45; padding: 40px; }
.pricing-promo-heading { display: grid; grid-template-columns: 2fr auto; gap: 20px; }
.pricing-promo h2, .pricing-waiver h2 { margin: 0 0 40px; }
.pricing-promo-heading > span, .pricing-promo-copy, .pricing-waiver-copy { font-size: 13px; line-height: 18.2px; }
.pricing-promo-copy { margin-bottom: 30px; }
.pricing-sections .pricing-section { background: white; }
.pricing-sections .pricing-section:nth-child(odd) { background: #f6f1e9; }
.pricing-sections .pricing-section > .wrap { padding-inline: 40px; }
.pricing-heading h2 { line-height: 36px; }
.pricing-heading .pricing-tagline { color: #7c7c7c; font-size: 13px; }
.pricing-sections .pricing-section h3 { margin: 0 0 40px; line-height: 14px; }
.pricing-sections .price-list { gap: 40px; margin-bottom: 40px; }
.pricing-sections .price-row {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-rows: auto 1fr auto;
    gap: 0 20px;
    padding: 20px;
    align-content: stretch;
}
.pricing-sections .price-name { margin: 0 0 25px; }
.pricing-sections .price-notice { min-height: 0; margin: 0 0 15px; }
.pricing-sections .price-row .button, .pricing-sections .onsite-purchase {
    grid-row: 3;
    margin: 0;
    align-self: end;
}
.pricing-intro .booking, .pricing-sections .booking, .pricing-waiver .button, .pricing-sections .onsite-purchase {
    font: 400 10px/21px Graphik, Arial, sans-serif;
    text-transform: uppercase;
    letter-spacing: .12em;
    padding: 14px 11px;
}
.pricing-sections .booking { background: #fdc139; color: #010001; }
.pricing-sections .onsite-purchase { background: #f6f1e9; color: #010001; }
.pricing-intro .booking, .pricing-waiver .button { background: #010001; color: #fdc139; }
.pricing-sections .booking::before, .pricing-intro .booking::before {
    content: '';
    display: inline-block;
    width: 14px;
    height: 14px;
    vertical-align: -3px;
    margin-right: 15px;
    background: currentColor;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.4'%3E%3Cpath d='M1 2h3l3 13h13l3-9H5'/%3E%3Ccircle cx='8' cy='20' r='1.5'/%3E%3Ccircle cx='19' cy='20' r='1.5'/%3E%3C/svg%3E") center / contain no-repeat;
}
.pricing-waiver { background: #fedc45; }
.pricing-waiver > .wrap { display: flex; align-items: center; justify-content: space-between; gap: 40px; margin: 0 auto; padding-block: 40px; }
.pricing-waiver-copy {
    width: calc(66.6667% - 40px);
    color: #212529;
}
.pricing-waiver-copy h2 { color: #010001; }
.pricing-waiver-copy h2::before {
    content: '';
    display: inline-block;
    width: 13px;
    height: 18px;
    margin-right: 15px;
    vertical-align: -3px;
    background: currentColor;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 18' fill='none' stroke='black'%3E%3Cpath d='M1 1h8l4 4v12H1z M9 1v4h4 M4 13c3-2 4-6 3-6s0 5 4 5c0 1-5 0-7 1z'/%3E%3C/svg%3E") center / contain no-repeat;
}
.pricing-waiver-copy p { font-size: 13px; line-height: 18.2px; }
.pricing-waiver-copy > :last-child { margin-bottom: 0; }
.pricing-waiver .button { flex-shrink: 0; }
.pricing-waiver .button::after {
    content: '';
    display: inline-block;
    width: 13px;
    height: 13px;
    margin-left: 15px;
    vertical-align: -2px;
    background: url('icons/ico-right-external.svg') center / contain no-repeat;
}
@media (max-width: 1022px) {
    .pricing-sections .price-list { grid-template-columns: 1fr; gap: 15px; }
}
@media (max-width: 767px) {
    .pricing-intro, .pricing-intro:not(:has(.pricing-promo)) { grid-template-columns: 1fr; gap: 40px; padding-block: 40px 15px; }
    .pricing-promo { grid-column: auto; padding: 15px; }
    .pricing-sections .pricing-section > .wrap { padding-inline: 20px; }
    .pricing-heading { margin-bottom: 60px; }
    .pricing-waiver > .wrap { display: block; padding-block: 20px; }
    .pricing-waiver-copy { width: 100%; margin-bottom: 40px; }
}

/* Match the measured title block and spacing between pricing rows. */
.hero-with-parent.hero.hero-child > .wrap {
    max-width: none;
    padding-left: calc(20px + 13.8889%);
    padding-right: calc(20px + 16.6667%);
    padding-bottom: 91px;
}
.hero-with-parent.hero-child h1 { font-weight: 700; }
.pricing-intro { grid-template-columns: minmax(0, 5fr) minmax(0, 2.58fr) minmax(0, 5fr); }
.pricing-promo-heading { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); }
.pricing-promo-heading > span { justify-self: end; }
.pricing-sections .pricing-heading h2 { margin-bottom: 25px; }
.pricing-sections .pricing-section h3 { line-height: 15px; }
.pricing-sections .price-list { margin-bottom: 44px; }
.pricing-sections .price-row { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); }
.pricing-sections .price-row > strong { justify-self: end; }
.pricing-sections .booking::before, .pricing-intro .booking::before { margin-right: 18px; }
@media (max-width: 1022px) {
    .hero-with-parent.hero.hero-child > .wrap { padding-inline: 20px; }
}
@media (max-width: 767px) {
    .hero-with-parent.hero.hero-child > .wrap { padding: 270px 20px 46px; }
    .hero-with-parent.hero-child h1 { font-size: 58px; max-width: calc(83.3333vw - 52px); }
    .pricing-intro { grid-template-columns: 1fr; }
    .pricing-sections .price-list { margin-bottom: 40px; }
}

/* Jeunesse and the course listing share the source CardClass layout. */
.course-list { padding-block: 100px; }
.course-list > .wrap { max-width: 1320px; padding-inline: 40px; }
.course-list h2 { color: #212529; line-height: 36px; margin: 0 0 68px; }
.course-grid { margin-bottom: 40px; }
.course-card > .text-link { margin-bottom: 2px; }
.course-grid + h2 { margin-top: 60px; }
.course-card { color: #212529; }
.course-card > div:first-child { flex-wrap: wrap; gap: 0 20px; }
.course-card h3 {
    flex: 0 0 calc(58.3333% - 16.6667px);
    font: 500 18px/27px Minion, Georgia, serif;
    letter-spacing: -.02em;
}
.course-card h3 a:hover { text-decoration: underline; }
.course-card > div:first-child > span { max-width: 100%; color: #7c7c7c; line-height: 18.2px; }
.course-card > p { margin: 15px 0 16px; line-height: 18.2px; }
.course-card > .prose { margin: 30px 0; line-height: 18.2px; }
.course-card .location-pill {
    color: white;
    font-size: 13px;
    line-height: 18.2px;
    padding: 4px 6px;
    margin-right: 15px;
}
@media (max-width: 1022px) {
    .course-grid { grid-template-columns: 1fr; }
    .course-list { padding-block: 60px; }
}
@media (max-width: 767px) {
    .course-list > .wrap { padding-inline: 20px; }
    .course-grid { gap: 40px; }
    main:has(> .course-list) .content-endgame { padding-block: 270px 30px; }

    main:has(> .course-list) .content-endgame .text-link { margin-top: 20px; }
    main:has(> .course-list) .content-endgame h2 { margin-bottom: 0; }
}

@media (min-width: 1023px) {

    main:has(> .course-list) .home-endgame { padding-bottom: 76px; }
}

/* Shared flexible content blocks from the original page template. */
.hero.hero-child.hero-without-parent { min-height: 0; }
.hero.hero-child.hero-without-parent > .wrap {
    max-width: none;
    padding: 270px calc(20px + 16.6667%) 80px calc(20px + 13.8889%);
}
.hero-child.hero-without-parent h1 {
    margin-bottom: 8px;
    font-weight: 700;
    line-height: 87px;
}
.hero-child.hero-without-parent::after {
    background: linear-gradient(180deg, transparent 1.04%, #000 95.52%);
}
.flex-rich-text {
    display: flow-root;
    width: 58.3333%;
    max-width: 746.667px;
    margin-block: 120px;
}
.flex-crossover { margin-block: 120px -160px; }
.flex-crossover .crossover-text { color: #212529; }
:is(.flex-rich-text, .flex-crossover .crossover-text) :is(h1, h2, h3, h4) {
    line-height: 1.5;
    font-weight: 400;
    color: #212529;
    margin: 40px 0 25px;
}
:is(.flex-rich-text, .flex-crossover .crossover-text) > :first-child { margin-top: 0; }
:is(.flex-rich-text, .flex-crossover .crossover-text) h3,
:is(.flex-rich-text, .flex-crossover .crossover-text) h4 {
    font: 500 18px/27px Minion, Georgia, serif;
    letter-spacing: -.02em;
}
:is(.flex-rich-text, .flex-crossover .crossover-text) h2 { font-size: 24px; }
:is(.flex-rich-text, .flex-crossover .crossover-text) p { margin: 0 0 16px; }
.flex-gallery { position: relative; isolation: isolate; padding: 40px 20px; }
.flex-gallery::before {
    content: '';
    position: absolute;
    inset: 80px 0 180px;
    z-index: -1;
    background: #f6f1e9;
}
.flex-gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 66.6667%;
    max-width: 853.333px;
    margin: 0 auto;
}
.flex-gallery-column { padding-inline: 20px; }
.flex-gallery-column:first-child { margin-top: -100px; }
.flex-gallery-column img { display: block; width: 100%; height: auto; margin: 40px 0; }
.content-endgame { padding: 278px 0 60px; }
.content-endgame > .wrap {
    padding: 69px 40px 0;
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    gap: 30px 20px;
}
.content-endgame h2 { line-height: 36px; }
.content-endgame .prose { color: #7c7c7c; line-height: 18.2px; }
.content-endgame .text-link { align-self: start; margin-top: 2px; }
@media (max-width: 1022px) {
    .hero.hero-child.hero-without-parent > .wrap { padding: 270px calc(20px + 16.6667%) 24px 20px; }
    .flex-rich-text { width: 83.3333%; }
}
@media (max-width: 767px) {
    .hero-child.hero-without-parent h1 { font-size: 58px; }
    .flex-rich-text { width: 100%; margin-block: 40px; }
    .flex-crossover { padding: 0; margin-block: 0 -160px; }
    .flex-crossover .crossover-image img { height: 400px; }
    .flex-crossover .crossover-text { top: -160px; width: 91.6667%; padding: 20px 40px 40px 15px; }
    .flex-gallery { padding: 0; }
    .flex-gallery::before { display: none; }
    .flex-gallery-grid { width: 100%; }
    .flex-gallery-column:first-child { margin-top: 0; }
    .content-endgame { padding-block: 330px 46px; }
    .content-endgame h2 { margin-bottom: 30px; }
    .content-endgame .text-link { margin-top: 18px; }
    .content-endgame > .wrap { padding: 0 20px; }
}

.flex-crossover .crossover-text > :is(h1, h2, h3, h4) { margin-top: 0; }
.flex-crossover .crossover-text > h1 { margin-bottom: 8px; }
.flex-crossover .crossover-text > a:last-child { display: inline-block; line-height: 29px; margin-bottom: 16px; }
.flex-rich-text > p:last-child { margin-bottom: 16px; }
.flex-rich-text :is(ul, ol) { margin: 20px 0 16px; padding-left: 15px; }
.flex-rich-text li { margin-block: 15px; line-height: 21px; color: #7c7c7c; }
.flex-rich-text.prose h1 { margin-bottom: 20px; }
.flex-rich-text a { text-decoration: none; text-underline-offset: auto; }
.flex-rich-text a:hover { text-decoration: underline; }
.flex-rich-text :is(h1, h2, h3, h4) a { color: #007bff; }
.flex-rich-text :is(p, li) a:not(.button, .btn, .text-black) { color: #fdc139; }
.flex-rich-text :is(h1, h2, h3, h4, p) img { display: inline; vertical-align: middle; }
.flex-rich-text blockquote {
    width: min(160%, calc(100vw - 80px));
    margin: 100px 0;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
}
.flex-rich-text blockquote, .flex-rich-text blockquote p {
    font: 500 54px/1.4 Minion, Georgia, serif;
    letter-spacing: -.02em;
    text-align: center;
}
.membership-portal { display: flow-root; width: 58.3333%; max-width: 746.667px; margin: 40px auto 120px; }
.membership-portal h2 { font: 400 22px/33px Graphik, Arial, sans-serif; letter-spacing: -.02em; margin: 0 0 30px; }
.membership-portal p { margin: 0 0 16px; }
.membership-portal .booking {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    padding: 14px 11px;
    background: #fdc139;
    color: #010001;
    font: 400 10px/21px Graphik, Arial, sans-serif;
    letter-spacing: .12em;
}
@media (max-width: 1022px) { .membership-portal { width: 83.3333%; } }
@media (max-width: 767px) { .membership-portal { width: 100%; margin-bottom: 40px; } }
@media (max-width: 767px) {
    .flex-rich-text blockquote { width: 95%; }
    .flex-rich-text blockquote, .flex-rich-text blockquote p { font-size: 32px; }
}
@media (min-width: 768px) {
    .content-endgame { min-height: 508px; }
}

@media (min-width: 768px) {
    .flex-gallery-compact { margin-block: 80px; }
    .flex-gallery-compact::before { inset: 0; }
}

/* Flexible featured banners use the original YellowBanner layout. */
.flex-featured { margin-block: 50px; }
.flex-featured-panel {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
    padding: 40px;
    background: #fedc45;
}
.flex-featured-copy { max-width: 66.6667%; color: #212529; }
.flex-featured-copy h2 { font: 500 18px/27px Minion, Georgia, serif; margin: 0 0 40px; }
.flex-featured-copy, .flex-featured-copy p { font-size: 13px; line-height: 18.2px; }
.flex-featured-description > :last-child { margin-bottom: 0; }
.flex-featured-link {
    flex-shrink: 0;
    background: #010001;
    color: #fdc139;
    font: 400 10px/21px Graphik, Arial, sans-serif;
    padding: 14px 11px;
    min-width: 50px;
    text-align: center;
}
.flex-featured-link:hover { background: #010001; color: #fdc139; }
.flex-featured-link:empty::after { margin-left: 0; }
.flex-featured-link::after { content: '→'; margin-left: 15px; font-size: 14px; }
@media (min-width: 1023px) {
    .flex-featured-copy { max-width: calc(50% - 20px); }
}
@media (max-width: 767px) {
    .flex-featured-panel { flex-direction: column; align-items: flex-start; gap: 20px; padding: 20px; }
    .flex-featured-copy { max-width: none; }
    .flex-featured-copy h2 { margin-bottom: 20px; }
}

.flex-accordions { margin-block: 120px; }
.flex-accordion-panel { background: #f6f1e9; padding: 40px; }

/* Contact page location cards and centered form. */
.contact-locations { padding: 160px 0 120px; background: linear-gradient(#fbd3c2 0%, rgb(251 211 194 / 0%) 121.87%); }
.contact-locations > .wrap { max-width: 1320px; padding-inline: 40px; }
.contact-location-desktop h2 {
    font: 400 24px/36px Graphik, Arial, sans-serif;
    letter-spacing: -.02em;
    margin: 0 0 105px;
}
.contact-location-desktop .location-cards + h2 { margin-top: 80px; }
.contact-location-card { display: flex; flex-direction: column; min-width: 0; padding: 20px; background: white; color: #212529; }
.contact-location-card h3 { font: 500 18px/27px Minion, Georgia, serif; letter-spacing: -.02em; margin: 0 0 40px; }
.contact-location-card .has-location-info { margin-bottom: 15px; }
.contact-address { font: 400 20px/30px Graphik, Arial, sans-serif; letter-spacing: -.02em; margin-bottom: 30px; overflow-wrap: anywhere; }
.contact-address p { margin: 0; }
.contact-hours { display: flex; flex-wrap: wrap; margin-inline: -20px; }
.contact-hours span { padding: 0 20px 16px; max-width: 100%; }
.contact-hours span:first-child { flex-basis: 50%; }
.contact-hours, .contact-phone { font: 400 13px/18.2px Graphik, Arial, sans-serif; letter-spacing: -.01em; }
.contact-phone { margin-top: auto; padding-top: 15px; color: #010001; text-decoration: none; }
.contact-phone:hover { text-decoration: underline; }
.contact-location-mobile { display: none; }
.contact-form { position: relative; isolation: isolate; }
.contact-form::before { content: ''; position: absolute; inset: -100px 0 100px; background: #f6f1e9; z-index: -1; }
.contact-form > .wrap { width: calc(100% - 80px); max-width: 1240px; background: white; margin: 0 auto; padding: 60px 80px; }
.contact-form h2 { font: 400 24px/36px Graphik, Arial, sans-serif; letter-spacing: -.02em; margin: 0 0 60px; }
.contact-form .form-contact { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 0 20px; max-width: none; }
.form-contact > :is(.form-field, .contact-source, [role="status"]) { grid-column: 1 / -1; }
.form-contact .form-field, .form-contact .contact-source { margin-bottom: 40px; }
.form-contact .form-field { position: relative; }
.form-contact .form-field label:not(.screen-reader-text) {
    position: absolute;
    top: 14px;
    left: 15px;
    pointer-events: none;
    color: #7c7c7c;
}
.form-contact .form-field input::placeholder { color: transparent; }
.form-contact .form-field:has(input:focus, input:not(:placeholder-shown)) label {
    top: -10px;
    padding-inline: 5px;
    background: white;
    font-size: 12px;
}
.form-contact :is(input:not([type="checkbox"]), textarea, select) {
    color: #212529;
    border: 1px solid #bcbcbc;
    background: white;
    padding: 12px 15px;
    font: 400 15px/21px Graphik, Arial, sans-serif;
}
.form-contact input:not([type="checkbox"]) { height: 50px; }
.form-contact textarea { height: 180px; }
.form-contact select { height: 42px; padding-block: 0; }
.form-contact .contact-source label { display: block; margin-bottom: 10px; }
.form-contact .consent { align-self: center; margin: 0; font-size: 13px; line-height: 1.4; }
.form-contact button { justify-self: end; background: #010001; color: #fdc139; font: 400 10px/21px Graphik, Arial, sans-serif; letter-spacing: .12em; text-transform: uppercase; padding: 14px 11px; }
.form-contact button span { margin-left: 15px; font-size: 14px; }
main:has(> .contact-hero) .social-pattern { background-size: auto; }
main:has(> .contact-hero) .social-banner > div:last-child { padding: 75px 40px 91px; }
main:has(> .contact-hero) .social-banner .quote { max-width: 395px; margin-bottom: 70px; font: 500 58px/1.3 Minion, Georgia, serif; letter-spacing: -.02em; }
@media (min-width: 768px) and (max-width: 1022px) {
    .contact-location-desktop .location-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
    .contact-locations { padding: 40px 0; }
    .contact-locations > .contact-location-desktop { display: none; }
    .contact-locations > .contact-location-mobile { display: block; padding-inline: 20px; }
    .contact-location-mobile .footer-location-group { background: white; padding-block: 20px 10px; }
    .contact-location-mobile .footer-location-factory { background: #010001; color: white; }
    .contact-location-mobile details.source-accordion > summary { line-height: 15px; padding-block: 19px; }
    .contact-location-mobile details.source-accordion > .prose { padding-inline: 0; }
    .contact-form, .contact-form > .wrap { background: #f6f1e9; }
    .contact-form::before { display: none; }
    .contact-form > .wrap { width: 100%; padding: 20px; }
    .contact-form .form-contact { grid-template-columns: minmax(0, 1fr); }
    .form-contact .form-field, .form-contact .contact-source { margin-bottom: 20px; }
    .form-contact .consent { margin: 0 0 10px; }
    main:has(> .contact-hero) .social-banner > div:last-child { padding: 60px 40px 76px; text-align: center; }
    main:has(> .contact-hero) .social-banner .quote { margin-inline: auto; text-align: center; font-size: 40px; }
}
.flex-accordion-panel > h2 { font: 500 18px/27px Minion, Georgia, serif; letter-spacing: -.02em; }
.flex-accordion-panel details.source-accordion > summary { line-height: 15px; padding-block: 21px; }
.flex-accordion-panel details.source-accordion > .prose :is(h2, h3, h4) { color: #010001; margin-bottom: 25px; }
@media (min-width: 768px) {
    .flex-gallery:not(.flex-gallery-compact) { margin-top: 100px; }
}
@media (max-width: 767px) {
    .flex-accordions { padding-inline: 0; margin-block: 40px; }
    .flex-accordion-panel { padding: 20px; }
    /* Imported booking links use inline sizing and nowrap. */
    :is(.flex-rich-text, .flex-accordion-panel .prose) a[style*="inline-flex"] {
        max-width: 100%;
        min-height: 44px;
        height: auto !important;
        white-space: normal !important;
    }
}
