/* Imperator Page 1 / 2:2. All content still comes from the published CMS document.
   The six page rows are hero, about, sports, experiences, testimonials, contact.
   Figma interface vectors are local theme assets; no runtime Figma dependency exists. */
body[data-theme="imperator"]{--im-red:#d64550;--im-readable-red:#d13f4b;--im-ink:#1b1b1e;--im-paper:#fbfffe;--im-sand:#ddd6cf;--font:Raleway,Arial,sans-serif;background:var(--im-paper);color:var(--im-ink);font-family:var(--font);font-size:16px;line-height:1.6}
body[data-theme="imperator"] h1,body[data-theme="imperator"] h2,body[data-theme="imperator"] h3{font-family:Rokkitt,Georgia,serif;color:inherit}
body[data-theme="imperator"] h2{font-size:48px;font-weight:700;line-height:1.15;margin:0 0 24px}
body[data-theme="imperator"] a{color:inherit;text-decoration-color:currentColor}
body[data-theme="imperator"] a:focus-visible,body[data-theme="imperator"] summary:focus-visible{outline:3px solid currentColor;outline-offset:5px}
.im-sr-only,.imperator-landing .page-title{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
.im-header{height:80px;background:var(--im-paper);position:relative;z-index:10}
.im-header-inner{max-width:1270px;height:100%;padding:0 0;margin:auto;display:flex;align-items:center;justify-content:space-between;gap:32px}
.im-brand{flex:0 0 41px;display:block;line-height:0}.im-brand img{display:block;width:41px;height:40px;filter:brightness(0)}
.im-header nav>ul{margin:0;padding:0;list-style:none;display:flex;gap:32px;align-items:center}.im-header nav a{font-family:Rokkitt,Georgia,serif;font-weight:600;font-size:20px;text-decoration:none;display:inline-block}
.im-header nav a:hover{text-decoration:underline}.im-header nav ul ul{font:inherit;margin:0;padding-left:20px}.im-header li:has(ul){position:relative}.im-header nav li>ul{position:absolute;top:100%;left:0;min-width:180px;background:var(--im-paper);padding:12px;box-shadow:0 3px 10px #0002;list-style:none}
.im-header-tools{position:relative;width:105px;flex:0 0 105px;line-height:0}.im-header-tools img{display:block;width:105px;height:40px}
/* Preserve the original composite SVG; tint only its white cart on the light header. */
.im-header-tools img{clip-path:inset(0 32px 0 0)}
.im-header-tools:after{content:'';position:absolute;right:0;top:4px;width:32px;height:32px;background:url('/assets/themes/imperator/header-tools.svg') right center/105px 40px no-repeat;filter:brightness(0);pointer-events:none}
.im-mobile{display:none}.im-mobile summary{cursor:pointer;font-weight:700;min-height:44px;padding:10px 16px}
.imperator-landing main{padding:0;max-width:none;margin:0;min-height:0}.imperator-landing .breadcrumbs{display:none}
.imperator-landing .page-layout>.layout-full,.imperator-landing .page-layout>.layout-row{margin:0;min-width:0}
.imperator-landing .page-layout .page-section{margin:0;border:0;background:none;padding:0;min-width:0}
.imperator-landing .page-layout .content-section,.imperator-landing .page-layout .call-to-action{padding:0;background:none;border:0;border-radius:0}
.imperator-landing .plain-content,.imperator-landing .rich-content{max-width:none;font-size:16px;line-height:1.6;margin:0}
.imperator-landing .rich-content p{margin:0 0 20px}.imperator-landing .rich-content p:last-child{margin-bottom:0}
.imperator-landing .button{font-family:Rokkitt,Georgia,serif;font-size:16px;font-weight:600;line-height:16px;min-height:32px;border:0;border-radius:6px;padding:8px 34px;background:var(--im-readable-red);color:var(--im-paper);text-decoration:none;display:inline-flex;align-items:center;justify-content:center;gap:8px}
.imperator-landing .button:after{content:'';width:16px;height:16px;flex:0 0 16px;background:url('/assets/themes/imperator/arrow-right.svg') center/16px 16px no-repeat}
.imperator-landing .button:hover{filter:brightness(.92)}
/* First row: the photo remains a real image from the published HERO. */
.imperator-landing .page-layout>:nth-child(1){height:700px;position:relative;isolation:isolate;display:flex;align-items:center;justify-content:center;text-align:center;color:var(--im-paper);background:var(--im-ink)}
.imperator-landing .page-layout>:nth-child(1)>.layout-column{position:static;width:100%;display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:0 24px}
.imperator-landing .page-layout>:nth-child(1) .page-section[data-block="HERO"]{width:100%;position:static}
.imperator-landing .page-layout>:nth-child(1) .hero{position:static;margin:0;padding:0;border:0;border-radius:0;background:none}
.imperator-landing .page-layout>:nth-child(1) .hero img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:-2;max-width:none}
.imperator-landing .page-layout>:nth-child(1) .hero h2{font-size:60px;font-weight:900;line-height:70px;letter-spacing:2.4px;margin:0 16px 0}
.imperator-landing .page-layout>:nth-child(1) .hero .plain-content,.imperator-landing .page-layout>:nth-child(1) .hero .rich-content{font-family:Rokkitt,Georgia,serif;font-size:36px;line-height:44px;margin:0 16px 34px}
.imperator-landing .page-layout>:nth-child(1) .hero .button{margin-bottom:0}
.imperator-landing .page-layout>:nth-child(1) .page-section[data-block="CTA"]{position:absolute;top:398px;left:calc(50% + 12px);width:auto}
.imperator-landing .page-layout>:nth-child(1) .hero:has(.button){padding-bottom:0}
.imperator-landing .page-layout>:nth-child(1):has([data-block="CTA"]) .hero>.button{transform:translateX(-115px)}
.imperator-landing .page-layout>:nth-child(1) [data-block="CTA"] .button{background:var(--im-paper);color:var(--im-ink)}
.imperator-landing .page-layout>:nth-child(1) [data-block="CTA"] .button:after{filter:brightness(0)}
.imperator-landing .page-layout>:nth-child(1) [data-block="CTA"] p:empty{display:none}
/* About: 1080 container, 32px gutters, 352px text / 515px picture. */
.imperator-landing .page-layout>:nth-child(2){max-width:1080px;margin:auto;min-height:487px;display:grid;grid-template-columns:352px 515px;justify-content:space-between;align-items:center;gap:40px;padding:72px 32px}
.imperator-landing .page-layout>:nth-child(2)>.layout-column{grid-column:auto;min-width:0}
.imperator-landing .page-layout>:nth-child(2) .image-section{margin:0}.imperator-landing .page-layout>:nth-child(2) img{display:block;width:515px;height:343px;object-fit:cover}
.imperator-landing .page-layout>:nth-child(2) [data-block="CTA"]{margin-top:24px}
/* The strip is intentionally clipped on desktop, scrollable on smaller screens. */
.imperator-landing .page-layout>:nth-child(3){height:642px;padding:0 0 88px;overflow:hidden;text-align:center}
.imperator-landing .page-layout>:nth-child(3) h2{margin:0 16px 48px}
.imperator-landing .page-layout>:nth-child(3) .gallery{display:flex;width:max-content;max-width:none;gap:30px;margin:0;position:relative;left:50%;transform:translateX(-50%);overflow:visible}
.imperator-landing .page-layout>:nth-child(3) .gallery figure{width:300px;flex:0 0 300px;margin:0;text-align:left}
.imperator-landing .page-layout>:nth-child(3) .gallery img{display:block;width:300px;height:450.6px;object-fit:cover;border-radius:0}
.imperator-landing .page-layout>:nth-child(3) .gallery figcaption:empty,.imperator-landing .page-layout>:nth-child(3) .gallery p:empty{display:none}
/* Experience collage is the exact transparent Figma export, not reconstructed. */
.imperator-landing .page-layout>:nth-child(4){background:var(--im-sand);min-height:600px;padding:26px max(32px,calc((100% - 1080px)/2));display:grid;grid-template-columns:minmax(0,542px) minmax(0,460px);gap:78px;align-items:center}
.imperator-landing .page-layout>:nth-child(4)>.layout-column{grid-column:auto;min-width:0}
.imperator-landing .page-layout>:nth-child(4) figure{margin:0}.imperator-landing .page-layout>:nth-child(4) img{display:block;width:542px;height:auto;aspect-ratio:542/547;object-fit:contain}
.imperator-landing .page-layout>:nth-child(4) [data-block="CTA"]{margin-top:24px}
/* Student quotes: real content only; quote marks use the original local Figma vector. */
.imperator-landing .page-layout>:nth-child(5){max-width:1080px;min-height:773px;padding:74px 0 110px;margin:auto;display:grid;grid-template-columns:minmax(0,487px) minmax(0,528px);gap:65px;align-items:start}
.imperator-landing .page-layout>:nth-child(5)>.layout-column{grid-column:auto;min-width:0}
.imperator-landing .testimonial{border:0;background:var(--im-readable-red);color:var(--im-paper);border-radius:8px;margin:0 0 32px;padding:24px 40px;position:relative;min-height:147px}
.imperator-landing .testimonial blockquote{font-family:Raleway,Arial,sans-serif;font-style:italic;font-size:20px;line-height:32px;white-space:normal;margin:0}
.imperator-landing .testimonial figcaption{font-size:14px;margin-top:12px}
.imperator-landing .testimonial:before,.imperator-landing .testimonial:after{content:'';width:24px;height:24px;position:absolute;background:url('/assets/themes/imperator/quote.svg') center/24px 24px no-repeat}
.imperator-landing .testimonial:before{top:-10px;left:16px}.imperator-landing .testimonial:after{bottom:-10px;right:16px;transform:rotate(180deg)}
.imperator-landing .page-layout>:nth-child(5) [data-block="CTA"]{margin-top:24px}
/* Contact overlaps the red footer by 86px. Decorative lines use the original local Figma vectors. */
.imperator-landing .page-layout>:nth-child(6){position:relative;z-index:2;width:680px;max-width:calc(100% - 40px);min-height:210px;margin:0 auto -86px;padding:48px 70px;background:var(--im-ink);color:var(--im-paper);border-radius:8px;text-align:center}
.imperator-landing .page-layout>:nth-child(6) h2{font-size:36px;margin-bottom:24px}
.imperator-landing .page-layout>:nth-child(6):before,.imperator-landing .page-layout>:nth-child(6):after{content:'';position:absolute;top:40px;height:120px;width:6px;background:center/6px 120px no-repeat;pointer-events:none}
.imperator-landing .page-layout>:nth-child(6):before{left:-24px;background-image:url('/assets/themes/imperator/contact-line-26.svg')}.imperator-landing .page-layout>:nth-child(6):after{right:-24px;background-image:url('/assets/themes/imperator/contact-line-27.svg')}
.imperator-landing .page-layout>:nth-child(6)>.page-section:after{content:'';position:absolute;width:735px;height:7px;left:50%;bottom:24px;transform:translateX(-50%);background:url('/assets/themes/imperator/contact-line-29.svg') center/735px 7px no-repeat;pointer-events:none}
.im-footer{background:var(--im-readable-red);color:var(--im-paper);padding-top:159px}
.im-footer-inner{max-width:1280px;margin:auto;display:grid;grid-template-columns:320px minmax(0,1fr);column-gap:128px;row-gap:40px;min-height:290px;padding:0 0 48px}
.im-footer-brand{display:block;width:160px;line-height:0;align-self:start}.im-footer-brand img{display:block;width:160px;height:156px;object-fit:contain}
.im-footer-columns{display:flex;flex-wrap:wrap;gap:64px;align-items:start}.im-footer-columns section{flex:1;min-width:130px}
.im-footer h2{font-size:28px!important;font-weight:600!important;line-height:32px!important;margin:0 0 20px!important}.im-footer p{margin:0 0 12px}
.im-footer nav ul{display:block;list-style:none;margin:0;padding:0}.im-footer nav li{margin:0 0 8px}.im-footer a{text-decoration:none}.im-footer a:hover{text-decoration:underline}.im-footer nav ul ul{padding-left:16px}
.im-social{grid-column:2}.im-social nav>ul{display:flex;gap:24px;flex-wrap:wrap}.im-social a{display:inline-flex;align-items:center;justify-content:center;min-width:32px;min-height:32px}.im-social img{display:block;width:32px;height:32px}.im-social-fallback{font-size:14px}
.im-subfooter{background:#e4dedc;color:var(--im-ink);min-height:53px;padding:14px max(24px,calc((100% - 1280px)/2));display:flex;justify-content:space-between;align-items:center;gap:24px;font-size:12px}.im-subfooter p{margin:0}.im-subfooter nav>ul{display:flex;gap:24px;margin:0}.im-subfooter nav li{margin:0}
@media(max-width:1300px){.im-header-inner{padding:0 32px}.im-footer-inner{margin:0 40px;grid-template-columns:240px minmax(0,1fr);gap:40px 64px}.imperator-landing .page-layout>:nth-child(5){margin-inline:40px;gap:40px}}
@media(max-width:1100px){.im-header nav>ul{gap:18px}.im-header-inner{gap:20px}.imperator-landing .page-layout>:nth-child(2){grid-template-columns:minmax(0,1fr) minmax(0,1.25fr);padding-inline:40px;gap:40px}.imperator-landing .page-layout>:nth-child(2) img{width:100%;height:auto;aspect-ratio:515/343}.imperator-landing .page-layout>:nth-child(4){grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:40px;padding:40px}.imperator-landing .page-layout>:nth-child(5){grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.im-footer-inner{grid-template-columns:180px minmax(0,1fr);column-gap:40px}.im-footer-columns{gap:32px}}
@media(max-width:850px){.im-desktop{display:none}.im-mobile{display:block;margin-left:auto;position:relative}.im-mobile[open]>div{position:absolute;right:0;top:100%;width:min(320px,80vw);background:var(--im-paper);padding:20px;box-shadow:0 4px 16px #0003}.im-mobile nav>ul{display:block}.im-mobile nav a{display:block;min-height:44px;padding:6px 0}.im-mobile nav li{margin-bottom:8px}.im-mobile nav li>ul{position:static;box-shadow:none;padding:8px 0 0 20px}.im-header-tools{width:80px;flex-basis:80px}.im-header-tools img{width:80px;height:auto;clip-path:inset(0 24.381px 0 0)}.im-header-tools:after{top:3.048px;width:24.381px;height:24.381px;background-size:80px 30.476px}.im-header-inner{padding-inline:24px}}
@media(max-width:48rem){body[data-theme="imperator"] h2{font-size:36px;line-height:1.15}.imperator-landing .button{min-height:44px;padding:12px 24px}.imperator-landing .page-layout>:nth-child(1){height:auto;min-height:620px;padding:110px 24px}.imperator-landing .page-layout>:nth-child(1) .hero h2{font-size:42px;line-height:48px;letter-spacing:1.2px;margin:0 0 16px}.imperator-landing .page-layout>:nth-child(1) .hero .plain-content,.imperator-landing .page-layout>:nth-child(1) .hero .rich-content{font-size:28px;line-height:34px;margin:0 0 32px}.imperator-landing .page-layout>:nth-child(1):has([data-block="CTA"]) .hero>.button{transform:none}.imperator-landing .page-layout>:nth-child(1) .page-section[data-block="CTA"]{position:static;margin-top:16px;width:100%}.imperator-landing .page-layout>:nth-child(2),.imperator-landing .page-layout>:nth-child(4),.imperator-landing .page-layout>:nth-child(5){grid-template-columns:minmax(0,1fr)!important;gap:32px;padding:56px 24px;margin:0;min-height:0}.imperator-landing .page-layout>:nth-child(2)>.layout-column,.imperator-landing .page-layout>:nth-child(4)>.layout-column,.imperator-landing .page-layout>:nth-child(5)>.layout-column{grid-column:1/-1}.imperator-landing .page-layout>:nth-child(3){height:auto;padding:0 0 56px}.imperator-landing .page-layout>:nth-child(3) h2{margin-bottom:32px}.imperator-landing .page-layout>:nth-child(3)>[data-block]{overflow-x:auto;padding-bottom:16px;scroll-snap-type:x proximity}.imperator-landing .page-layout>:nth-child(3) .gallery{left:auto;transform:none;padding-inline:24px;gap:20px}.imperator-landing .page-layout>:nth-child(3) .gallery figure{width:260px;flex-basis:260px;scroll-snap-align:center}.imperator-landing .page-layout>:nth-child(3) .gallery img{width:260px;height:390px}.imperator-landing .page-layout>:nth-child(4) img{max-width:542px;margin:auto;width:100%}.imperator-landing .testimonial{padding:28px 24px;margin-bottom:28px}.imperator-landing .page-layout>:nth-child(6){margin-top:20px;padding:40px 24px;min-height:210px}.imperator-landing .page-layout>:nth-child(6) h2{font-size:32px}.imperator-landing .page-layout>:nth-child(6):before,.imperator-landing .page-layout>:nth-child(6):after{display:none}.imperator-landing .page-layout>:nth-child(6)>.page-section:after{left:16px;right:16px;bottom:20px;width:auto;transform:none;background-size:contain}.im-footer{padding-top:142px}.im-footer-inner{margin:0;padding:0 24px 40px;grid-template-columns:1fr;gap:40px;min-height:0}.im-footer-brand{width:120px}.im-footer-brand img{width:120px;height:117px}.im-footer-columns{gap:32px}.im-footer-columns section{min-width:145px}.im-social{grid-column:1}.im-subfooter{flex-direction:column;align-items:flex-start;gap:12px}.im-subfooter nav>ul{flex-wrap:wrap}.im-header-tools{display:none}}
@media(prefers-reduced-motion:reduce){.imperator-landing *{scroll-behavior:auto}}
