/* site-2027-company.css: the 2027 3D layer for the company pages (body.co). Loads after site-2027.css. */
/* hero stages */
.co-hf.hx-stage{display:flex;align-items:center;justify-content:center;min-height:360px;margin:0}
.co-hf.hx-stage>.hx-obj{width:100%;border-radius:4px;border-top:3px solid var(--hx-gold)}
.co-hf.hx-stage>img.hx-obj{aspect-ratio:4/3;object-fit:cover}
.co-hf.hx-stage figcaption{position:absolute;left:36px;right:36px;bottom:10px;margin:0;font-size:13px;color:#c9d5e8;text-align:left}
.co-hf.hx-stage>img.hx-obj{margin-bottom:22px}
.co-hf.hx-stage--chalk .co-mos{padding:8px;background:#fff;border-radius:4px}
.co-hf.hx-stage .co-cover{background:#fff;color:var(--hx-ink);padding:24px;border-radius:4px}
.co-hero.hx-clip{overflow-x:clip}
/* the white page body sits on a chalk floor under the stage, like the home page */
.co-hero{position:relative}
/* cards and photo cards */
.co-tutor__f{position:relative}
.co-tutor__f img{border-radius:4px;box-shadow:0 22px 36px -22px rgba(13,31,60,.55)}
.co-tutor__f.hx-lift:hover{transform:translateY(-6px)}
.co-mos__i{box-shadow:0 12px 20px -14px rgba(13,31,60,.5)}
/* testimonials: result screenshots as standing 3D phones */
.co-gal{perspective:1400px;gap:22px}
.co-main .co-gal .results-gallery__item{box-shadow:0 26px 40px -26px rgba(13,31,60,.55);background:#0D1F3C;border:0;border-radius:18px;overflow:hidden;transition:transform .35s var(--hx-ease),box-shadow .35s ease}
.co-main .co-gal .results-gallery__item:nth-child(4n+1){transform:rotateY(10deg)}
.co-main .co-gal .results-gallery__item:nth-child(4n+2){transform:rotateY(4deg) translateY(-12px)}
.co-main .co-gal .results-gallery__item:nth-child(4n+3){transform:rotateY(-4deg) translateY(8px)}
.co-main .co-gal .results-gallery__item:nth-child(4n){transform:rotateY(-10deg)}
.co-main .co-gal .results-gallery__item:hover{transform:translateY(-8px) rotateY(0);box-shadow:0 34px 46px -26px rgba(13,31,60,.7);border:0}
/* WhatsApp pictures on the admissions page */
.co-wa{transition:transform .35s var(--hx-ease)}
.co-results__f{perspective:1200px}
.co-results__f .co-wa:nth-child(1){transform:rotateY(8deg)}
.co-results__f .co-wa:nth-child(2){transform:rotateY(-8deg) translateY(14px)}
.co-results__f .co-wa img{border-radius:14px;box-shadow:0 26px 40px -26px rgba(13,31,60,.6)}
/* forms on a stage */
.hx-stage .co-panel{margin:0;border-top:3px solid var(--hx-gold);background:#fff;color:var(--hx-ink)}
.hx-stage .co-panel *{text-shadow:none}
.co-reg>.hx-stage,.co-contact>div>.hx-stage{width:100%}
/* join us banner */
.co-bst{padding:28px}
.co-bst img{width:100%;height:auto;border-radius:4px}
/* college admissions hero */
.pm-hero .g.hx-3d{perspective:1400px}
.pm-figure.hx-obj{box-shadow:0 34px 60px -26px rgba(2,8,22,.72)}
/* reviews band sits inside the co-main flow */
.co-main .hx-reviews{font-family:inherit}
/* long text pages: type and spacing polish only */
.co-sec--legal p,.co-fcat .co-pr p{line-height:1.7}
/* phones */
@media (max-width:1023px){.co-hf.hx-stage{min-height:0}.co-main .co-gal .results-gallery__item:nth-child(n){transform:none}}
@media (max-width:680px){
  .co-hf.hx-stage{padding:20px}
  .co-hf.hx-stage figcaption{position:static;margin-top:10px}
  .co-hf.hx-stage>img.hx-obj{margin-bottom:0}
  .co-results__f .co-wa:nth-child(n){transform:none}
  .co-bst{padding:16px}
  .hx-stage--pad .co-panel{padding-left:16px;padding-right:16px}
}
@media (hover:none){.co-results__f .co-wa:nth-child(n){transform:none}}
@media (prefers-reduced-motion:reduce){.co-main .co-gal .results-gallery__item,.co-wa{transition:none}}
.co-hf.hx-stage{flex-direction:column}
.co-hf.hx-stage>.hx-obj{flex:0 0 auto}
.co-hero--text{padding-bottom:clamp(8px,2vw,24px)}
@media (max-width:680px){.co-hf.hx-stage{align-items:stretch}}
@media (max-width:900px){.pm-figure.hx-obj{transform:none}}

/* ---- QA 12 Nov ---- */
/* crisp text: forms and the crash course card tilt only a little (they straighten on hover and focus) */
.hx-obj:has(>.co-panel){transform:rotateX(calc(1deg + var(--hx-rx,0deg))) rotateY(calc(-2deg + var(--hx-ry,0deg)))}
.co-cover.hx-obj{transform:rotateX(calc(1.5deg + var(--hx-rx,0deg))) rotateY(calc(-3.5deg + var(--hx-ry,0deg)))}
/* founder card caption: sans like the home page, not the template's italic figcaption */
.hx-founder__cap{margin:0;font:normal 400 14px/1.4 var(--fu,"Instrument Sans",system-ui,sans-serif);color:var(--hx-ink)}
.hx-founder__cap strong{font-style:normal}
/* join us banner: the picture is a dark navy duotone, so it stands on a pale floor and is lifted to read */
.co-bst.hx-stage{background:var(--hx-chalk)}
.co-bst img{filter:brightness(1.5) contrast(1.12) saturate(.85)}
/* testimonials: gentler turn so the outer screenshots stay inside the page edges */
.co-main .co-gal .results-gallery__item:nth-child(4n+1){transform:rotateY(5deg)}
.co-main .co-gal .results-gallery__item:nth-child(4n+2){transform:rotateY(2deg) translateY(-12px)}
.co-main .co-gal .results-gallery__item:nth-child(4n+3){transform:rotateY(-2deg) translateY(8px)}
.co-main .co-gal .results-gallery__item:nth-child(4n){transform:rotateY(-5deg)}
.co-main .co-gal .results-gallery__item:nth-child(n):hover{transform:translateY(-8px)}
@media (max-width:1023px){.co-main .co-gal .results-gallery__item:nth-child(n){transform:none}}
/* founder card on phones: the kit keeps "Founder and lead tutor" on one line and the narrow card cuts it; let it wrap */
@media (max-width:680px){.hx-founder__cap b{white-space:normal;line-height:1.3}}
/* crash course card on its stage: the stage padding narrows the three columns, so "Nov '26" broke in two; keep each figure whole */
.co-hf.hx-stage .co-cover .co-lg{white-space:nowrap;font-size:clamp(24px,2.1vw,30px)}
.co-hf.hx-stage .co-cover li{padding-right:10px}
.co-hf.hx-stage .co-cover li+li{padding-left:12px}
@media (min-width:1024px) and (max-width:1199px){
  .co-hf.hx-stage .co-cover ul{grid-template-columns:minmax(0,1fr)}
  .co-hf.hx-stage .co-cover li,.co-hf.hx-stage .co-cover li+li{display:flex;align-items:baseline;gap:16px;padding:12px 0;border-left:0}
  .co-hf.hx-stage .co-cover li+li{border-top:1px solid #cbd4e0}
  .co-hf.hx-stage .co-cover .co-lg{flex:0 0 4.2em}
}
