/* Unique Science Academy, Basti
   Design idea: a calm navy school with real photographs at full size. Navy carries the page, the logo blue is kept for small accents,
   and a single lamp-amber (the diya in the school seal) marks the one thing to do next: apply. */

:root {
  --navy: #2f3e72;        /* main colour */
  --navy-deep: #1e2a55;   /* footer, hero shade */
  --blue: #086afe;        /* logo blue, accents only */
  --link: #2450c9;
  --ink: #1a2347;
  --muted: #55628b;
  --sky: #edf1fb;
  --paper: #f6f8fd;
  --line: #d9e0f2;
  --amber: #f6b021;       /* the diya flame */
  --amber-deep: #c98a00;
  --white: #ffffff;
  --red: #d6342c; --yellow: #e5a400; --green: #2c9a52;

  --f-display: 'Young Serif', 'Georgia', 'Times New Roman', serif;
  --f-body: 'Albert Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

  --gutter: max(20px, env(safe-area-inset-left, 0px));
  --maxw: 1200px;
  --header-h: 76px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body { margin: 0; background: var(--white); color: var(--ink); font: 400 1.0625rem/1.65 var(--f-body); -webkit-font-smoothing: antialiased; }
img, svg, iframe { max-width: 100%; display: block; }
img { height: auto; }
a { color: var(--link); text-underline-offset: 3px; }
a:hover { color: var(--navy); }
h1, h2, h3, h4 { font-family: var(--f-display); font-weight: 400; color: var(--navy); line-height: 1.12; margin: 0 0 .5em; text-wrap: balance; }
h1 { font-size: clamp(2.4rem, 5.2vw, 4.4rem); }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.9rem); }
h3 { font-size: 1.35rem; line-height: 1.2; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
.i { width: 1.25em; height: 1.25em; flex: none; }
.i--sm { width: 1.05em; height: 1.05em; }
.skip { position: absolute; left: 12px; top: -60px; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 8px; z-index: 100; }
.skip:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 4px; }
.hero :focus-visible, .page-head :focus-visible, .site-footer :focus-visible, .cta :focus-visible, .topbar :focus-visible, .section--navy :focus-visible { outline-color: var(--amber); }

.wrap { width: 100%; max-width: calc(var(--maxw) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.wrap--narrow { max-width: calc(860px + 2 * var(--gutter)); }
.section { padding-block: clamp(56px, 8vw, 104px); }
.section--tint { background: var(--sky); }
.section--paper { background: var(--paper); }
.section--navy { background: var(--navy); color: #dfe6fb; }
.section--navy h2, .section--navy h3 { color: #fff; }
.section-head { max-width: 46rem; margin-bottom: clamp(28px, 4vw, 48px); }
.section-head p { color: var(--muted); font-size: 1.1rem; margin: 0; }
.lead { font-size: 1.2rem; color: var(--ink); }
.lead-lt { font-size: 1.15rem; color: #cdd7f5; max-width: 34em; }
.prose { max-width: 66ch; }
.prose p { color: #26305a; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: .6em; padding: .85em 1.5em; border-radius: 999px; font: 700 1rem/1.2 var(--f-body); text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: background-color .2s, color .2s, border-color .2s, transform .2s; }
.btn svg { width: 1.2em; height: 1.2em; fill: currentColor; flex: none; }
.btn--primary { background: var(--navy); color: #fff; }
.btn--primary:hover { background: var(--navy-deep); color: #fff; }
.btn--amber { background: var(--amber); color: var(--navy-deep); }
.btn--amber:hover { background: #ffc54a; color: var(--navy-deep); }
.btn--white { background: #fff; color: var(--navy); }
.btn--white:hover { background: var(--sky); color: var(--navy); }
.btn--line { border-color: currentColor; background: transparent; color: #fff; }
.btn--line:hover { background: rgba(255,255,255,.14); color: #fff; }
.btn .i { transition: transform .2s; }
.btn:hover .i { transform: translateX(3px); }
.link-arrow { display: inline-flex; align-items: center; gap: .45em; font-weight: 700; text-decoration: none; }
.link-arrow:hover .i { transform: translateX(3px); }
.link-arrow .i { transition: transform .2s; }
.section--navy .link-arrow { color: #fff; }

/* ---------- top bar + header ---------- */
.topbar { background: var(--navy-deep); color: #cdd7f5; font-size: .9rem; }
.topbar .wrap { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 26px; padding-block: 8px; }
.topbar a { color: #fff; text-decoration: none; display: inline-flex; align-items: center; gap: .5em; }
.topbar a:hover { text-decoration: underline; color: #fff; }
.topbar span { display: inline-flex; align-items: center; gap: .5em; }
.t-grow { flex: 1; }
.topbar .t-open { background: var(--amber); color: var(--navy-deep); font-weight: 800; border-radius: 999px; padding: .15em .9em .15em .75em; }
.topbar .t-open:hover { color: var(--navy-deep); text-decoration: none; background: #ffc54a; }
.pulse { width: 9px; height: 9px; border-radius: 50%; background: var(--navy-deep); position: relative; flex: none; }
.pulse::after { content: ''; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid currentColor; opacity: 0; animation: ping 2.2s ease-out infinite; }
@keyframes ping { 0% { transform: scale(.5); opacity: .8; } 100% { transform: scale(1.6); opacity: 0; } }
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: #fff; border-bottom: 1px solid var(--line); transition: box-shadow .25s; }
.site-header.is-stuck { box-shadow: 0 8px 28px rgba(30,42,85,.12); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 76px; }
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; color: var(--navy); }
.brand img { height: 62px; width: auto; }
.brand-text { display: none; font-family: var(--f-display); line-height: 1.1; font-size: 1.1rem; }
.nav ul { display: flex; align-items: center; gap: 2px; }
.nav a { display: block; padding: .6em .9em; text-decoration: none; color: var(--navy); font-weight: 600; font-size: .98rem; border-radius: 10px; position: relative; }
.nav a:hover { color: var(--blue); }
.nav a[aria-current='page'] { color: var(--navy); font-weight: 800; }
.nav a[aria-current='page']::after { content: ''; position: absolute; left: .9em; right: .9em; bottom: .15em; height: 3px; background: var(--amber); border-radius: 3px; }
.nav a.nav-cta { background: var(--amber); color: var(--navy-deep); font-weight: 800; margin-left: 10px; border-radius: 999px; padding-inline: 1.3em; }
.nav a.nav-cta:hover { background: #ffc54a; color: var(--navy-deep); }
.nav a.nav-cta[aria-current='page']::after { display: none; }
.nav-toggle { display: none; background: none; border: 2px solid var(--line); border-radius: 12px; width: 48px; height: 48px; align-items: center; justify-content: center; color: var(--navy); cursor: pointer; }
.nav-toggle .i { width: 26px; height: 26px; }
.nav-toggle .i-close { display: none; }

@media (min-width: 1100px) { .brand-text { display: block; } }
@media (max-width: 1000px) {
  .nav-toggle { display: inline-flex; }
  .nav { position: fixed; inset: 0; top: var(--header-h, 76px); background: #fff; padding: 12px var(--gutter) 40px; overflow-y: auto; transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .2s, transform .2s, visibility .2s; }
  .nav.is-open { opacity: 1; transform: none; visibility: visible; }
  .nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .nav a { padding: 1em .2em; font-size: 1.2rem; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav a[aria-current='page']::after { display: none; }
  .nav a.nav-cta { margin: 20px 0 0; text-align: center; border-radius: 999px; border: 0; }
  .nav-toggle[aria-expanded='true'] .i-menu { display: none; }
  .nav-toggle[aria-expanded='true'] .i-close { display: block; }
}
@media (max-width: 900px) { .topbar .t-addr, .topbar .t-mail { display: none; } }
@media (max-width: 520px) { .topbar .wrap { justify-content: space-between; } .t-grow { display: none; } }

/* ---------- hero carousel ---------- */
.hero { position: relative; background: var(--navy-deep); color: #fff; isolation: isolate; overflow: hidden; }
.slides { display: grid; }
.slide { grid-area: 1 / 1; position: relative; min-height: clamp(580px, 84vh, 760px); display: grid; align-items: center; opacity: 0; visibility: hidden; transition: opacity .9s ease, visibility .9s; background: linear-gradient(120deg, var(--navy-deep), var(--navy)); }
.slide.is-active { opacity: 1; visibility: visible; z-index: 1; }
.slide-bg { position: absolute; top: 0; bottom: 0; right: 0; width: 62%; z-index: -1; overflow: hidden; background: transparent;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, rgba(0,0,0,.55) 18%, #000 46%); mask-image: linear-gradient(90deg, transparent 0, rgba(0,0,0,.55) 18%, #000 46%); }
.slide-bg img { width: 100%; height: 100%; object-fit: cover; transform: scale(1); }
.slide.is-active .slide-bg img { animation: drift 16s ease-out forwards; }
@keyframes drift { from { transform: scale(1.0); } to { transform: scale(1.06); } }
.slide-bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(30,42,85,.55), rgba(30,42,85,0) 35%); }
.slide--quote .slide-bg { width: 60%; }
.slide--photo { background: linear-gradient(110deg, var(--navy-deep) 0%, var(--navy) 55%, #3b4d8c 100%); }
.slide-grid { display: grid; grid-template-columns: minmax(0, 1fr); align-items: center; padding-block: clamp(48px, 7vw, 96px) clamp(132px, 12vw, 168px); }
.slide-text { max-width: 36rem; }
.slide .kicker { color: var(--amber); font-weight: 700; letter-spacing: .02em; margin: 0 0 1em; display: flex; align-items: center; gap: 12px; }
.slide .kicker::before { content: ''; width: 36px; height: 2px; background: var(--amber); }
.slide h1, .slide h2 { color: #fff; font-size: clamp(2.3rem, 5.2vw, 4.3rem); margin-bottom: .4em; }
.slide--quote h2 { font-size: clamp(1.8rem, 3.6vw, 3rem); line-height: 1.2; }
.slide .sub { font-size: clamp(1.05rem, 1.5vw, 1.25rem); color: #e4eafb; max-width: 34em; }
.slide .by { font-weight: 700; color: #fff; margin: 0 0 1.4em; }
.slide .by::before { content: ''; display: inline-block; width: 30px; height: 2px; background: var(--amber); vertical-align: middle; margin-right: 12px; }
.slide .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.8rem; }
.quote-mark { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--amber); color: var(--navy-deep); margin-bottom: 22px; }
.quote-mark .i { width: 30px; height: 30px; }
.slide.is-active .slide-text > * { animation: rise .8s both; }
.slide.is-active .slide-text > :nth-child(2) { animation-delay: .1s; }
.slide.is-active .slide-text > :nth-child(3) { animation-delay: .2s; }
.slide.is-active .slide-text > :nth-child(4) { animation-delay: .3s; }
@keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

/* portrait slides: the leader's photo stands on the right in an arch */
.slide--portrait .slide-grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(24px, 5vw, 72px); }
.slide-fig { align-self: end; justify-self: center; width: min(100%, 380px); aspect-ratio: 4 / 5; border-radius: 999px 999px 24px 24px; overflow: hidden; border: 6px solid rgba(255,255,255,.2); background: var(--navy); box-shadow: 0 30px 70px rgba(10,16,45,.45); margin-bottom: -60px; }
.slide-fig img { width: 100%; height: 100%; object-fit: cover; }
.slide--portrait { background: radial-gradient(circle at 78% 40%, #3f528f 0, var(--navy) 45%, var(--navy-deep) 100%); }

.hero-controls { position: absolute; left: 0; right: 0; bottom: 92px; z-index: 5; }
.hero-controls .wrap { display: flex; align-items: center; gap: 20px; }
.dots { display: flex; gap: 8px; flex: 1; max-width: 480px; }
.dot { flex: 1; height: 28px; background: none; border: 0; padding: 0; cursor: pointer; position: relative; }
.dot::before { content: ''; position: absolute; left: 0; right: 0; top: 12px; height: 4px; border-radius: 4px; background: rgba(255,255,255,.3); }
.dot::after { content: ''; position: absolute; left: 0; top: 12px; height: 4px; border-radius: 4px; background: var(--amber); width: 0; }
.dot[aria-current='true']::after { width: 100%; }
.hero.is-playing .dot[aria-current='true']::after { width: 0; animation: fill var(--dur, 7s) linear forwards; }
@keyframes fill { to { width: 100%; } }
.arrows { display: flex; gap: 8px; margin-left: auto; }
.arrow { width: 46px; height: 46px; border-radius: 50%; border: 2px solid rgba(255,255,255,.6); background: rgba(30,42,85,.35); color: #fff; display: grid; place-items: center; cursor: pointer; transition: background-color .2s, border-color .2s; }
.arrow:hover { background: rgba(255,255,255,.2); border-color: #fff; }
.arrow--dark { border-color: var(--line); background: #fff; color: var(--navy); }
.arrow--dark:hover { background: var(--navy); color: #fff; border-color: var(--navy); }
@media (max-width: 860px) {
  .slide { min-height: 700px; align-items: end; }
  .slide-bg, .slide--quote .slide-bg { left: 0; right: 0; width: auto; bottom: auto; height: 42%; -webkit-mask-image: linear-gradient(180deg, #000 50%, transparent 100%); mask-image: linear-gradient(180deg, #000 50%, transparent 100%); }
  .slide-bg::after { display: none; }
  .slide-grid { padding-block: 40px 150px; }
  .slide--portrait .slide-grid { grid-template-columns: 1fr; }
  .slide-fig { width: min(52vw, 220px); order: -1; justify-self: start; margin-bottom: 0; }
  .slide--portrait { align-items: start; }
  .slide--portrait .slide-grid { padding-top: 28px; }
  .hero-controls { bottom: 84px; }
  .hero-controls .arrows .arrow-prev, .hero-controls .arrows .arrow-next { display: none; }
}

/* ---------- numbers ---------- */
.stats { position: relative; z-index: 6; margin-top: -64px; }
.stats-card { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); background: #fff; border-radius: 24px; box-shadow: 0 24px 60px rgba(30,42,85,.16); border-top: 5px solid var(--amber); overflow: hidden; }
.stats-card li { display: grid; justify-items: center; gap: 2px; padding: clamp(18px, 2.6vw, 30px) 12px; text-align: center; position: relative; }
.stats-card li + li::before { content: ''; position: absolute; left: 0; top: 22%; bottom: 22%; width: 1px; background: var(--line); }
.i-stat { width: 28px; height: 28px; color: var(--blue); margin-bottom: 6px; }
.stats-card .num { font-family: var(--f-display); font-size: clamp(2rem, 4vw, 3.2rem); color: var(--navy); line-height: 1.05; }
.stats-card .num b { font-weight: 400; }
.stats-card .lab { color: var(--muted); font-weight: 600; font-size: .98rem; }
@media (max-width: 760px) { .stats-card { grid-template-columns: repeat(2, minmax(0, 1fr)); } .stats-card li:nth-child(3)::before { display: none; } .stats-card li:nth-child(n+3) { border-top: 1px solid var(--line); } }

/* ---------- about on home ---------- */
.about-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.msg { background: var(--sky); border-radius: 28px; padding: clamp(24px, 3vw, 36px); position: relative; border-top: 5px solid var(--navy); }
.msg .portrait { width: 140px; aspect-ratio: 4 / 5; border-radius: 999px 999px 18px 18px; overflow: hidden; margin-bottom: 20px; box-shadow: 0 0 0 5px #fff; }
.msg .portrait img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 12%; }
.msg h3 { margin-bottom: .6em; }
.msg blockquote { margin: 0 0 1.2em; font-size: 1.04rem; color: #26305a; }
.msg .who { font-weight: 800; color: var(--navy); }
.msg .who small { display: block; font-weight: 500; color: var(--muted); font-size: .95rem; }
@media (max-width: 860px) { .about-grid { grid-template-columns: 1fr; } }

/* ---------- journey ---------- */
.journey { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(28px, 6vw, 80px); align-items: center; }
.ach { display: grid; margin-top: 28px; }
.ach li { display: flex; gap: 14px; align-items: flex-start; padding: 16px 0; border-top: 1px solid rgba(255,255,255,.2); color: #fff; }
.ach li:last-child { border-bottom: 1px solid rgba(255,255,255,.2); }
.ach .i { color: var(--amber); margin-top: 3px; }
.growth { margin: 0; justify-self: center; width: min(100%, 420px); }
.g-bars { height: 320px; display: flex; align-items: flex-end; justify-content: center; gap: clamp(28px, 6vw, 56px); padding-bottom: 36px; position: relative; border-bottom: 2px solid currentColor; }
.g-col { display: flex; flex-direction: column; align-items: center; justify-content: flex-end; height: 100%; width: 38%; position: relative; }
.g-bar { width: 100%; height: 0; border-radius: 14px 14px 0 0; transition: height 1.4s cubic-bezier(.2,.7,.2,1); }
.growth.is-in .g-bar { height: var(--h); }
.g-val { font-family: var(--f-display); font-size: clamp(1.8rem, 4vw, 2.6rem); line-height: 1; margin-bottom: 10px; color: var(--navy); }
.g-val--sm { font-size: clamp(1.5rem, 3vw, 2rem); }
.g-yr { position: absolute; bottom: -36px; font-weight: 700; }
.g-bar--now { background: linear-gradient(180deg, var(--navy), #4a5fa8); }
.g-bar--then { background: var(--amber); }
.growth figcaption { margin-top: 52px; text-align: center; font-size: 1.1rem; }
.growth figcaption strong { font-family: var(--f-display); font-weight: 400; font-size: 1.5rem; color: var(--navy); }
.growth { color: var(--navy); }
.section--navy .growth { color: #fff; }
.section--navy .g-val, .section--navy .growth figcaption strong { color: #fff; }
.section--navy .g-bar--now { background: linear-gradient(180deg, var(--amber), #ffcf6a); }
.section--navy .g-bar--then { background: rgba(255,255,255,.55); }
@media (max-width: 860px) { .journey { grid-template-columns: 1fr; } .g-bars { height: 260px; } }

/* ---------- special attention ---------- */
.attention { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.attention li { display: flex; flex-direction: column; gap: 16px; padding: 26px; background: #fff; border-radius: 22px; border: 1px solid var(--line); transition: transform .25s, box-shadow .25s; }
.attention li:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(30,42,85,.12); }
.attention .ico { width: 54px; height: 54px; border-radius: 16px; background: var(--navy); color: #fff; display: grid; place-items: center; }
.attention .ico .i { width: 26px; height: 26px; }
.attention p { margin: 0; font-weight: 600; color: var(--navy); line-height: 1.4; }
@media (max-width: 960px) { .attention { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .attention { grid-template-columns: 1fr; } }

/* ---------- five stages ---------- */
.stage-cards { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; align-items: end; }
.stage-card { position: relative; display: flex; flex-direction: column; justify-content: flex-end; gap: 6px; min-height: 200px; padding: 22px 20px; border-radius: 22px; background: var(--sky); color: var(--navy); text-decoration: none; border-bottom: 5px solid var(--amber); transition: transform .25s, box-shadow .25s; }
.stage-cards li:nth-child(2) .stage-card { min-height: 235px; } .stage-cards li:nth-child(3) .stage-card { min-height: 270px; }
.stage-cards li:nth-child(4) .stage-card { min-height: 305px; } .stage-cards li:nth-child(5) .stage-card { min-height: 340px; background: var(--navy); color: #fff; }
.stage-card:hover { transform: translateY(-5px); box-shadow: 0 18px 40px rgba(30,42,85,.16); color: inherit; }
.stage-card:hover { color: var(--navy); } .stage-cards li:nth-child(5) .stage-card:hover { color: #fff; }
.sc-ico { width: 52px; height: 52px; border-radius: 50%; background: var(--navy); color: #fff; display: grid; place-items: center; margin-bottom: auto; }
.sc-ico .i { width: 26px; height: 26px; }
.stage-cards li:nth-child(5) .sc-ico { background: var(--amber); color: var(--navy-deep); }
.stage-card b { font-family: var(--f-display); font-weight: 400; font-size: 1.45rem; line-height: 1.1; }
.stage-card small { font-size: .95rem; opacity: .85; }
@media (max-width: 960px) { .stage-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: stretch; } .stage-cards li .stage-card, .stage-cards li:nth-child(n) .stage-card { min-height: 190px; } .stage-cards li:last-child { grid-column: 1 / -1; } }

/* ---------- life rail ---------- */
.rail-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 28px; }
.rail-btns { display: flex; gap: 8px; }
.rail { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px max(var(--gutter), calc((100vw - var(--maxw)) / 2)) 18px; scroll-padding-inline: max(var(--gutter), calc((100vw - var(--maxw)) / 2)); scrollbar-width: thin; }
.rail-item { position: relative; flex: 0 0 min(80vw, 480px); aspect-ratio: 4 / 3; border-radius: 24px; overflow: hidden; scroll-snap-align: start; background: var(--navy); color: #fff; text-decoration: none; }
.rail-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s; }
.rail-item:hover img { transform: scale(1.05); }
.rail-item::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(30,42,85,.85), rgba(30,42,85,0) 50%); }
.rail-item span { position: absolute; z-index: 1; left: 20px; bottom: 16px; font-family: var(--f-display); font-size: 1.3rem; }

/* ---------- facilities bento ---------- */
.bento { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: minmax(190px, auto); gap: 16px; }
.tile { position: relative; border-radius: 22px; padding: 24px; background: var(--sky); display: flex; flex-direction: column; justify-content: flex-end; gap: 6px; overflow: hidden; min-height: 190px; }
.tile .i-big { position: absolute; top: 22px; left: 24px; width: 40px; height: 40px; color: var(--navy); }
.tile-top { position: absolute; top: 20px; left: 24px; }
.tile h3 { margin: 0; font-size: 1.25rem; }
.tile p { margin: 0; color: var(--muted); font-size: .98rem; line-height: 1.45; }
.tile--blue { background: var(--navy); color: #fff; }
.tile--blue h3, .tile--blue p { color: #fff; }
.tile--blue .i-big { color: var(--amber); }
.tile--navy { background: var(--navy-deep); }
.tile--navy h3, .tile--navy p { color: #fff; }
.tile--navy .i-big { color: var(--amber); }
.tile--photo { color: #fff; padding: 0; justify-content: flex-end; background: var(--navy); text-decoration: none; }
.tile--photo > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .7s; }
.tile--photo:hover > img { transform: scale(1.05); }
.tile--photo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(30,42,85,.9), rgba(30,42,85,0) 62%); }
.tile--photo .cap { position: relative; z-index: 1; padding: 22px 24px; }
.tile--photo h3, .tile--photo p { color: #fff; }
.t-labs { grid-column: span 2; grid-row: span 2; }
.t-library { grid-column: span 1; grid-row: span 2; }
.big-num { font-family: var(--f-display); font-size: 3.2rem; line-height: 1; color: var(--amber); }
@media (max-width: 960px) { .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); } .t-labs { grid-column: span 2; } .t-library { grid-column: span 1; } }
@media (max-width: 520px) { .bento { grid-template-columns: 1fr; } .t-labs, .t-library { grid-column: auto; grid-row: span 1; min-height: 260px; } }

/* ---------- testimonials carousel ---------- */
.tslider { max-width: 880px; }
.tslides { display: grid; }
.tslide { grid-area: 1 / 1; margin: 0; opacity: 0; visibility: hidden; transition: opacity .6s, visibility .6s; }
.tslide.is-active { opacity: 1; visibility: visible; }
.tq { width: 54px; height: 54px; color: var(--amber); margin-bottom: 18px; }
.tslide blockquote { margin: 0 0 28px; font-family: var(--f-display); font-size: clamp(1.4rem, 2.8vw, 2.1rem); line-height: 1.35; color: #fff; }
.tslide figcaption { display: flex; align-items: center; gap: 16px; }
.tslide .av { width: 56px; height: 56px; border-radius: 50%; background: var(--amber); color: var(--navy-deep); display: grid; place-items: center; font-family: var(--f-display); font-size: 1.3rem; flex: none; }
.tslide figcaption b { display: block; color: #fff; }
.tslide figcaption small { color: #cdd7f5; font-size: .95rem; }
.tcontrols { display: flex; align-items: center; justify-content: space-between; margin-top: 36px; gap: 20px; }
.tdots { display: flex; gap: 8px; }
.tdot { width: 36px; height: 28px; background: none; border: 0; padding: 0; cursor: pointer; position: relative; }
.tdot::before { content: ''; position: absolute; left: 0; right: 0; top: 12px; height: 4px; border-radius: 4px; background: rgba(255,255,255,.3); }
.tdot[aria-current='true']::before { background: var(--amber); }
.tcontrols .arrows { margin-left: 0; }

/* ---------- call to action ---------- */
.cta { background: var(--navy-deep); color: #fff; position: relative; overflow: hidden; isolation: isolate; }
.cta::before { content: ''; position: absolute; width: 1200px; height: 3px; background: linear-gradient(90deg, transparent, var(--amber), transparent); right: -300px; top: 60%; transform: rotate(-22deg); opacity: .5; z-index: -1; }
.cta::after { content: ''; position: absolute; width: 560px; height: 560px; border-radius: 50%; border: 2px solid rgba(255,255,255,.09); left: -220px; bottom: -330px; z-index: -1; }
.cta .wrap { padding-block: clamp(52px, 7vw, 92px); display: grid; grid-template-columns: minmax(0, 1.3fr) auto; gap: 28px 56px; align-items: center; }
.cta h2 { color: #fff; margin: .4em 0 .3em; }
.cta p { margin: 0; color: #cdd7f5; font-size: 1.1rem; max-width: 40em; }
.cta-tag { display: inline-flex; align-items: center; gap: .6em; background: var(--amber); color: var(--navy-deep); font-weight: 800; border-radius: 999px; padding: .2em 1em .2em .8em; font-size: .95rem; }
.cta .actions { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 820px) { .cta .wrap { grid-template-columns: 1fr; } }

/* ---------- footer ---------- */
.site-footer { background: var(--navy-deep); color: #c3cdee; border-top: 4px solid var(--amber); }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; color: #fff; }
.foot-grid { display: grid; grid-template-columns: 1.3fr 1fr 1.1fr 1fr; gap: 40px; padding-block: clamp(48px, 7vw, 80px); }
.foot-brand img { height: 84px; width: auto; margin-bottom: 18px; }
.foot-brand p { margin: 0 0 .8em; max-width: 30ch; }
.site-footer h3 { font-family: var(--f-body); font-weight: 800; font-size: 1.02rem; color: #fff; margin-bottom: 1em; letter-spacing: .01em; }
.foot-links { display: grid; gap: .55em; }
.foot-links.two { grid-template-columns: 1fr 1fr; column-gap: 20px; align-items: start; }
.foot-links.two .foot-links { align-content: start; }
.contact-list { display: grid; gap: 14px; }
.contact-list li { display: flex; gap: 12px; align-items: flex-start; }
.contact-list .i { margin-top: 4px; color: var(--amber); }
.socials { display: flex; gap: 12px; }
.socials a { width: 48px; height: 48px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.4); display: grid; place-items: center; transition: background-color .2s, border-color .2s; }
.socials a:hover { background: var(--amber); border-color: var(--amber); color: var(--navy-deep); text-decoration: none; }
.socials svg { width: 22px; height: 22px; fill: currentColor; }
.foot-bottom { border-top: 1px solid rgba(255,255,255,.16); }
.foot-bottom .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-block: 20px; font-size: .92rem; }
.foot-bottom .made { letter-spacing: .06em; font-size: .85rem; }
.foot-bottom .made a { font-weight: 800; text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 960px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .foot-grid { grid-template-columns: 1fr; gap: 32px; } }

/* ---------- call / WhatsApp dock ---------- */
.dock { position: fixed; z-index: 60; right: calc(16px + env(safe-area-inset-right, 0px)); bottom: calc(18px + env(safe-area-inset-bottom, 0px)); display: grid; gap: 10px; }
.dock a { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; color: #fff; text-decoration: none; box-shadow: 0 10px 26px rgba(30,42,85,.35); transition: transform .2s; }
.dock a:hover { transform: scale(1.08); color: #fff; }
.dock .d-call { background: var(--navy); }
.dock .d-wa { background: #1fa855; }
.dock .d-apply { display: none; }
.dock svg { width: 26px; height: 26px; fill: currentColor; }
.dock .i { width: 26px; height: 26px; }
.dock span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (max-width: 760px) {
  .dock { left: 0; right: 0; bottom: 0; grid-template-columns: repeat(3, 1fr); gap: 0; background: var(--navy-deep); border-top: 3px solid var(--amber); padding-bottom: env(safe-area-inset-bottom, 0px); }
  .dock a { width: auto; height: 56px; border-radius: 0; box-shadow: none; background: transparent !important; display: flex; align-items: center; justify-content: center; gap: 8px; font-weight: 700; }
  .dock .d-apply { display: flex; color: var(--navy-deep); background: var(--amber) !important; }
  .dock a:hover { transform: none; }
  .dock span { position: static; width: auto; height: auto; overflow: visible; clip: auto; font-size: .98rem; }
  .dock svg, .dock .i { width: 22px; height: 22px; }
  body { padding-bottom: calc(56px + env(safe-area-inset-bottom, 0px)); }
}

/* ---------- inner pages ---------- */
.page-head { position: relative; background: linear-gradient(120deg, var(--navy-deep), var(--navy)); color: #fff; overflow: hidden; isolation: isolate; }
.page-head::before { content: ''; position: absolute; width: 900px; height: 900px; border-radius: 50%; border: 2px solid rgba(255,255,255,.1); box-shadow: 0 0 0 70px rgba(255,255,255,.025); right: -260px; top: -420px; z-index: -1; }
.page-head::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: linear-gradient(90deg, var(--amber), transparent 60%); }
.page-head .wrap { padding-block: clamp(44px, 7vw, 84px); }
.page-head h1 { color: #fff; margin: 0 0 .3em; font-size: clamp(2.3rem, 5vw, 4rem); }
.page-head p { margin: 0; color: #d6def6; max-width: 40em; font-size: 1.12rem; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: .95rem; margin-bottom: 18px; color: #c3cdee; }
.crumbs a { color: #fff; }
.crumbs li { display: flex; }
.crumbs li + li::before { content: '/'; margin-right: 8px; opacity: .6; }

.profile { display: grid; grid-template-columns: minmax(0, 340px) minmax(0, 1fr); gap: clamp(28px, 6vw, 80px); align-items: start; }
.profile + .profile { margin-top: clamp(56px, 8vw, 96px); }
.profile--flip { grid-template-columns: minmax(0, 1fr) minmax(0, 340px); }
.profile--flip .profile-fig { order: 2; }
.profile-fig { text-align: center; }
.seal { position: relative; width: min(100%, 320px); aspect-ratio: 4 / 5; margin-inline: auto; }
.oval { position: absolute; inset: 0; border-radius: 999px 999px 24px 24px; overflow: hidden; background: var(--sky); box-shadow: 0 0 0 6px var(--sky), 0 24px 50px rgba(30,42,85,.18); }
.oval img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 14%; }
.oval--cutout { background: radial-gradient(circle at 50% 36%, var(--amber) 0, var(--amber) 22%, #46589a 23%, var(--navy) 75%); }
.oval--cutout img { object-fit: contain; object-position: 50% 100%; width: 118%; max-width: none; margin-left: -9%; }
.profile-fig figcaption { margin-top: 30px; }
.profile-fig .nm { font-family: var(--f-display); font-size: 1.5rem; color: var(--navy); display: block; line-height: 1.2; }
.profile-fig .meta { color: var(--muted); display: block; margin-top: 4px; }
.facts { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 24px; }
.facts li { background: var(--sky); border-radius: 999px; padding: .4em 1em; font-weight: 700; color: var(--navy); font-size: .96rem; }
.profile blockquote { margin: 0; font-size: 1.15rem; max-width: 62ch; color: #26305a; }
@media (max-width: 820px) { .profile, .profile--flip { grid-template-columns: 1fr; } .profile--flip .profile-fig { order: 0; } }

.society { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.person .ph { aspect-ratio: 4 / 5; border-radius: 22px; overflow: hidden; background: #fff; margin-bottom: 16px; }
.person .ph img { width: 100%; height: 100%; object-fit: cover; }
.person h3 { margin: 0 0 .15em; }
.person p { margin: 0; color: var(--muted); }
.person .role { color: var(--navy); font-weight: 800; }
@media (max-width: 760px) { .society { grid-template-columns: 1fr; max-width: 360px; } }

/* facility */
.fac-list { display: grid; gap: 0; }
.fac { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 24px; padding: 28px 0; border-top: 1px solid var(--line); align-items: start; scroll-margin-top: 100px; }
.fac:last-child { border-bottom: 1px solid var(--line); }
.fac .ico { width: 64px; height: 64px; border-radius: 18px; background: var(--navy); color: #fff; display: grid; place-items: center; }
.fac .ico .i { width: 30px; height: 30px; }
.fac h3 { margin: 6px 0 .2em; font-size: 1.5rem; }
.fac p { margin: 0; color: var(--muted); }
.mosaic { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 12px; margin-top: 18px; }
.mosaic a, .mosaic figure { margin: 0; overflow: hidden; border-radius: 18px; background: var(--sky); position: relative; display: block; }
.mosaic img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; transition: transform .5s; }
.mosaic a:hover img { transform: scale(1.04); }
.mosaic .m6 { grid-column: span 6; } .mosaic .m4 { grid-column: span 4; } .mosaic .m3 { grid-column: span 3; }
@media (max-width: 700px) { .fac { grid-template-columns: 1fr; gap: 14px; } .mosaic .m4, .mosaic .m3, .mosaic .m6 { grid-column: span 6; } }

/* admissions */
.stairs { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; align-items: end; margin-top: 36px; }
.stair { background: var(--sky); border-radius: 18px 18px 0 0; padding: 18px 16px 20px; display: flex; flex-direction: column; justify-content: flex-end; gap: 6px; border-bottom: 4px solid var(--amber); }
.stair:nth-child(1) { min-height: 150px; } .stair:nth-child(2) { min-height: 190px; } .stair:nth-child(3) { min-height: 230px; }
.stair:nth-child(4) { min-height: 270px; } .stair:nth-child(5) { min-height: 310px; background: var(--navy); color: #fff; }
.stair .step { font-family: var(--f-body); font-weight: 800; font-size: 1.9rem; line-height: 1; color: var(--navy); }
.stair:nth-child(5) .step, .stair:nth-child(5) h3, .stair:nth-child(5) p { color: #fff; }
.stair h3 { margin: 0; font-size: 1.15rem; }
.stair p { margin: 0; font-size: .95rem; color: var(--muted); line-height: 1.4; }
@media (max-width: 900px) { .stairs { grid-template-columns: 1fr; } .stair { min-height: 0 !important; border-radius: 16px; flex-direction: row; justify-content: flex-start; align-items: center; gap: 18px; border-bottom-width: 0; border-left: 4px solid var(--amber); } .stair .step { min-width: 1.2em; text-align: center; } }
.table-wrap { overflow-x: auto; border-radius: 18px; border: 1px solid var(--navy); background: var(--navy); -webkit-overflow-scrolling: touch; }
.age { border-collapse: collapse; width: 100%; min-width: 760px; color: #fff; text-align: center; }
.age th, .age td { border: 1px solid rgba(255,255,255,.35); padding: 14px 10px; }
.age th { font-weight: 700; background: rgba(0,0,0,.18); }
.age tbody th { text-align: left; padding-left: 20px; }
.age td { font-size: 1.15rem; }
.tick { display: grid; gap: 14px; margin: 24px 0; }
.tick li { display: flex; gap: 14px; align-items: flex-start; max-width: 70ch; }
.tick .i { color: var(--navy); margin-top: 4px; background: var(--amber); border-radius: 50%; padding: 3px; width: 1.4em; height: 1.4em; }
.two-col { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(28px, 6vw, 80px); }
@media (max-width: 860px) { .two-col { grid-template-columns: 1fr; } }
.flow { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; counter-reset: s; position: relative; margin-top: 40px; }
.flow li { position: relative; padding: 0 18px 0 0; }
.flow li::before { counter-increment: s; content: counter(s); width: 56px; height: 56px; border-radius: 50%; background: var(--navy); color: #fff; display: grid; place-items: center; font-family: var(--f-body); font-weight: 800; font-size: 1.4rem; position: relative; z-index: 1; box-shadow: 0 0 0 6px var(--sky), 0 0 0 8px var(--amber); }
.flow li::after { content: ''; position: absolute; left: 56px; right: 0; top: 27px; height: 2px; background: repeating-linear-gradient(90deg, var(--navy) 0 8px, transparent 8px 14px); }
.flow li:last-child::after { display: none; }
.flow h3 { margin: 18px 0 0; font-size: 1.2rem; }
@media (max-width: 760px) { .flow { grid-template-columns: 1fr; gap: 28px; } .flow li { padding: 0 0 0 76px; min-height: 56px; display: flex; align-items: center; } .flow li::before { position: absolute; left: 0; top: 0; } .flow li::after { left: 27px; right: auto; top: 56px; width: 2px; height: 28px; bottom: auto; background: repeating-linear-gradient(180deg, var(--navy) 0 6px, transparent 6px 11px); } .flow h3 { margin: 0; } }

/* careers */
.career-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.career-card { background: var(--sky); border-radius: 24px; padding: clamp(24px, 3vw, 38px); border-top: 5px solid var(--navy); }
.career-card h2 { font-size: 1.7rem; }
.career-card p { margin: 0; color: #26305a; }
.openings { margin-top: 24px; padding: clamp(24px, 3vw, 38px); border-radius: 24px; border: 2px solid var(--navy); }
.openings .roles { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 1.2em; }
.openings .roles li { background: var(--navy); color: #fff; font-weight: 700; border-radius: 999px; padding: .3em 1em; }
.apply-line { display: flex; flex-wrap: wrap; gap: 18px 28px; align-items: center; margin-top: 8px; }
.apply-line p { margin: 0; font-size: 1.2rem; color: var(--navy); max-width: 36em; }
@media (max-width: 760px) { .career-cols { grid-template-columns: 1fr; } }

/* gallery */
.tabs { display: inline-flex; padding: 5px; border-radius: 999px; background: var(--sky); gap: 4px; margin-bottom: 28px; }
.tab { border: 0; background: transparent; padding: .7em 1.7em; border-radius: 999px; font: 700 1rem var(--f-body); color: var(--navy); cursor: pointer; }
.tab[aria-selected='true'] { background: var(--navy); color: #fff; }
.g-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 40px; position: sticky; top: calc(var(--header-h, 76px) + 8px); z-index: 20; padding: 10px 0; background: linear-gradient(#fff 75%, rgba(255,255,255,0)); }
.g-chips a { text-decoration: none; border: 1.5px solid var(--line); background: #fff; color: var(--navy); padding: .35em 1em; border-radius: 999px; font-weight: 600; font-size: .95rem; }
.g-chips a:hover { border-color: var(--navy); background: var(--navy); color: #fff; }
.g-sec { margin-bottom: clamp(48px, 7vw, 84px); scroll-margin-top: 150px; }
.g-head { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; border-bottom: 2px solid var(--navy); padding-bottom: 10px; margin-bottom: 8px; }
.g-head h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); margin: 0; }
.g-head .count { color: var(--muted); font-size: .95rem; font-weight: 600; }
.g-blurb { color: var(--muted); margin: 0 0 20px; }
.g-sub { font-family: var(--f-body); font-weight: 800; font-size: 1.05rem; color: var(--navy); margin: 22px 0 12px; }
.g-sub::before { content: ''; display: inline-block; width: 22px; height: 3px; background: var(--amber); vertical-align: middle; margin-right: 10px; }
.g-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px; grid-auto-flow: dense; }
.g-item { position: relative; display: block; aspect-ratio: 4 / 3; border-radius: 16px; overflow: hidden; background: var(--sky); border: 0; padding: 0; cursor: zoom-in; }
.g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.g-item:hover img { transform: scale(1.05); }
.g-item.wide { grid-column: span 2; aspect-ratio: auto; }
.g-item--lead { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
.g-item.wide img { aspect-ratio: 8 / 3.4; }
.videos { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 28px 24px; }
.video { display: block; width: 100%; border: 0; padding: 0; background: none; text-align: left; cursor: pointer; font: inherit; color: inherit; }
.video--lead { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 28px; align-items: center; }
.video--lead strong { font-family: var(--f-display); font-weight: 400; font-size: clamp(1.4rem, 2.6vw, 2rem); margin-top: 0; }
.video .thumb { position: relative; aspect-ratio: 16 / 9; border-radius: 18px; overflow: hidden; background: var(--navy); display: block; }
.video .thumb img { width: 100%; height: 100%; object-fit: cover; opacity: .92; }
.video .thumb iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video .play { position: absolute; left: 50%; top: 50%; width: 68px; height: 68px; margin: -34px 0 0 -34px; border-radius: 50%; background: var(--amber); color: var(--navy-deep); display: grid; place-items: center; transition: transform .2s; }
.video:hover .play { transform: scale(1.1); }
.video strong { display: block; margin-top: 12px; font-weight: 700; color: var(--navy); line-height: 1.35; }
@media (max-width: 760px) { .video--lead { grid-template-columns: 1fr; gap: 12px; } }
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(14,20,48,.95); display: none; align-items: center; justify-content: center; padding: 56px 16px 72px; touch-action: pan-y; }
.lightbox.is-open { display: flex; }
.lightbox img { max-height: 100%; max-width: min(1200px, 100%); object-fit: contain; border-radius: 8px; }
.lightbox .lb-cap { position: absolute; left: 0; right: 0; bottom: 20px; text-align: center; color: #cdd7f5; font-size: .95rem; }
.lb-btn { font-size: 2rem; line-height: 1; position: absolute; width: 52px; height: 52px; border-radius: 50%; border: 2px solid rgba(255,255,255,.7); background: rgba(255,255,255,.08); color: #fff; display: grid; place-items: center; cursor: pointer; }
.lb-btn:hover { background: rgba(255,255,255,.2); }
.lb-close { top: 14px; right: 14px; } .lb-prev { left: 14px; top: 50%; margin-top: -26px; } .lb-next { right: 14px; top: 50%; margin-top: -26px; }
@media (max-width: 560px) { .g-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .g-item.wide, .g-item--lead { grid-column: span 2; } .g-item--lead { grid-row: auto; aspect-ratio: 4 / 3; } .lb-prev, .lb-next { top: auto; bottom: 10px; margin: 0; } }

/* contact + forms */
.contact-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.info-list { display: grid; gap: 22px; margin: 0 0 28px; }
.info-list li { display: flex; gap: 16px; align-items: flex-start; }
.info-list .ico { width: 48px; height: 48px; flex: none; border-radius: 14px; background: var(--navy); color: #fff; display: grid; place-items: center; }
.info-list strong { display: block; color: var(--navy); }
.info-list a { color: var(--ink); }
form.card { background: var(--paper); border: 1px solid var(--line); border-radius: 24px; padding: clamp(22px, 3.4vw, 40px); border-top: 5px solid var(--amber); }
.field { display: grid; gap: 6px; margin-bottom: 18px; }
.field label { font-weight: 700; color: var(--navy); }
.field input, .field textarea, .field select { width: 100%; font: inherit; color: var(--ink); background: #fff; border: 1.5px solid #b9c4e3; border-radius: 12px; padding: .8em 1em; }
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { outline: 3px solid rgba(47,62,114,.3); border-color: var(--navy); }
.field .err { color: #b3261e; font-size: .94rem; min-height: 1.2em; }
.field [aria-invalid='true'] { border-color: #b3261e; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin-top: 16px; padding: 14px 18px; border-radius: 12px; display: none; font-weight: 500; }
.form-status.ok { display: block; background: #e4f6ea; color: #14532d; }
.form-status.bad { display: block; background: #fdeceb; color: #8a1c14; }
.map { margin-top: clamp(36px, 5vw, 56px); border-radius: 24px; overflow: hidden; border: 1px solid var(--line); background: var(--sky); }
.map iframe { width: 100%; height: 420px; border: 0; }
.map .map-link { padding: 14px 20px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; background: #fff; border-top: 1px solid var(--line); }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }

.notice { display: grid; grid-template-columns: auto 1fr auto; gap: 18px 28px; align-items: center; padding: 26px 0; border-top: 1px solid var(--line); }
.notice:last-of-type { border-bottom: 1px solid var(--line); }
.notice .ico { width: 54px; height: 54px; border-radius: 16px; background: var(--navy); color: #fff; display: grid; place-items: center; }
.notice h3 { margin: 0 0 .15em; font-size: 1.3rem; }
.notice p { margin: 0; color: var(--muted); }
@media (max-width: 640px) { .notice { grid-template-columns: auto 1fr; } .notice .link-arrow { grid-column: 1 / -1; } }

.notfound { text-align: center; padding-block: clamp(72px, 12vw, 160px); }
.notfound .big { font-family: var(--f-display); font-size: clamp(5rem, 16vw, 10rem); color: var(--navy); line-height: 1; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .growth .g-bar { height: var(--h); }
}
@media print { .topbar, .site-header, .hero-controls, .cta, .nav-toggle, .dock { display: none !important; } }

/* keep decorative shapes from creating sideways scroll on phones */
main { overflow-x: clip; }

/* at-a-glance card */
.stats-card li { justify-items: start; text-align: left; gap: 6px; padding: clamp(20px, 2.6vw, 32px) clamp(18px, 2.4vw, 30px); }
.st-ico { width: 52px; height: 52px; border-radius: 16px; background: var(--navy); color: #fff; display: grid; place-items: center; margin-bottom: 8px; }
.st-ico .i { width: 26px; height: 26px; }
.stats-card li:nth-child(odd) .st-ico { background: var(--navy); }
.stats-card li:nth-child(even) .st-ico { background: var(--blue); }
.st-title { font-family: var(--f-display); font-weight: 400; font-size: clamp(1.15rem, 1.7vw, 1.45rem); line-height: 1.2; color: var(--navy); }
.stats-card .lab { line-height: 1.45; font-size: .95rem; }
@media (max-width: 760px) { .stats-card li:nth-child(3)::before { display: none; } }
.stats-card li { align-content: start; }

/* admissions: transfer certificate callout and two-column checklist */
.callout { display: flex; gap: 24px; align-items: flex-start; background: var(--navy); color: #dfe6fb; border-radius: 26px; padding: clamp(24px, 3.4vw, 40px); border-left: 8px solid var(--amber); margin-bottom: clamp(40px, 6vw, 64px); }
.callout h2 { color: #fff; font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: .4em; }
.callout p { margin: 0; font-size: 1.12rem; max-width: 60ch; }
.callout-ico { flex: none; width: 64px; height: 64px; border-radius: 18px; background: var(--amber); color: var(--navy-deep); display: grid; place-items: center; }
.callout-ico .i { width: 30px; height: 30px; }
.req-h { margin-bottom: .6em; }
.tick--2col { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 48px; max-width: none; }
.tick--2col li { max-width: none; }
@media (max-width: 860px) { .tick--2col { grid-template-columns: 1fr; } .callout { flex-direction: column; gap: 16px; } }
.tick--2col { display: block; columns: 2; column-gap: 48px; }
.tick--2col li { break-inside: avoid; margin-bottom: 18px; }
@media (max-width: 860px) { .tick--2col { columns: 1; } }
/* videos: a designed card even when YouTube's picture is not available */
a.video { text-decoration: none; }
.video .thumb { background: radial-gradient(circle at 30% 20%, #4a5fa8 0, var(--navy) 55%, var(--navy-deep) 100%); }
.video .thumb img { position: absolute; inset: 0; }
.video .play { z-index: 1; box-shadow: 0 8px 24px rgba(10,16,45,.4); }
.video .play .i { display: none; }
.video .play::after { content: ''; width: 0; height: 0; margin-left: 5px; border-style: solid; border-width: 11px 0 11px 18px; border-color: transparent transparent transparent var(--navy-deep); }

/* video pop-up player */
.vbox { position: fixed; inset: 0; z-index: 210; background: rgba(14,20,48,.94); display: none; align-items: center; justify-content: center; padding: 56px 16px; }
.vbox.is-open { display: flex; }
.vbox-in { width: min(1000px, 100%); }
.vbox-frame { aspect-ratio: 16 / 9; width: 100%; background: #000; border-radius: 14px; overflow: hidden; }
.vbox-frame iframe { width: 100%; height: 100%; border: 0; }
.vbox-foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin: 14px 0 0; color: #cdd7f5; }
.vbox-yt { color: var(--amber); font-weight: 700; }
.vbox .lb-close { top: 12px; right: 12px; }

/* =====================================================================
   Colour and energy upgrade
   Navy stays the school colour. Five supporting colours bring life:
   logo blue, teal, coral, violet and the amber flame.
   ===================================================================== */
:root {
  --teal: #0fb5a6; --teal-d: #08877c; --teal-t: #dcf6f2;
  --coral: #ff5d4f; --coral-d: #d93d2f; --coral-t: #ffe5e1;
  --violet: #7a56f0; --violet-d: #5a38d0; --violet-t: #ebe5ff;
  --sun-t: #fff0c9; --blue-t: #dfeaff;
  --rainbow: linear-gradient(90deg, var(--blue) 0 20%, var(--teal) 0 40%, var(--amber) 0 60%, var(--coral) 0 80%, var(--violet) 0);
}

/* ---- page banners ---- */
.page-head { background: linear-gradient(115deg, var(--navy-deep) 0%, var(--navy) 55%, #3b3f93 100%); }
.page-head::after { height: 6px; background: var(--rainbow); z-index: 3; }
.page-head .wrap { position: relative; z-index: 2; }
.page-head.has-photo .wrap { padding-block: clamp(52px, 8vw, 104px); }
.page-head.has-photo h1, .page-head.has-photo p { max-width: 30rem; }
.ph-photo { position: absolute; top: 0; right: 0; bottom: 0; width: 60%; z-index: -1; }
.ph-photo img { width: 100%; height: 100%; object-fit: cover; -webkit-mask-image: linear-gradient(90deg, transparent 0, rgba(0,0,0,.55) 22%, #000 55%); mask-image: linear-gradient(90deg, transparent 0, rgba(0,0,0,.55) 22%, #000 55%); }
.ph-photo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(47,62,114,.55), rgba(122,86,240,.18) 60%, rgba(15,181,166,.12)); mix-blend-mode: multiply; pointer-events: none; }
.ph-shape { position: absolute; border-radius: 50%; pointer-events: none; z-index: 1; }
.ph-s1 { width: 132px; height: 132px; right: 6%; bottom: -46px; background: var(--coral); opacity: .95; }
.ph-s2 { width: 70px; height: 70px; right: 56%; top: 18px; border: 8px solid var(--teal); opacity: .9; }
.ph-s3 { width: 26px; height: 26px; right: 20%; bottom: 52px; background: var(--amber); }
@media (prefers-reduced-motion: no-preference) {
  .ph-s1 { animation: bob 7s ease-in-out infinite; } .ph-s2 { animation: bob 9s ease-in-out -3s infinite; } .ph-s3 { animation: bob 5s ease-in-out -1s infinite; }
}
/* management banner: same position as the other banners (no overlap with the heading), but a lighter fade so the first portrait stays clear */
.ph-photo--management img { -webkit-mask-image: linear-gradient(90deg, transparent 0, rgba(0,0,0,.7) 14%, #000 40%); mask-image: linear-gradient(90deg, transparent 0, rgba(0,0,0,.7) 14%, #000 40%); }
.ph-photo--management::after { background: linear-gradient(90deg, rgba(47,62,114,.3), rgba(122,86,240,.1) 60%, transparent); }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
@media (max-width: 760px) {
  .ph-photo { width: 100%; opacity: .34; }
  .ph-photo--management { width: 100%; opacity: .5; }
  .ph-photo img { -webkit-mask-image: linear-gradient(0deg, transparent 0, #000 70%); mask-image: linear-gradient(0deg, transparent 0, #000 70%); }
  .page-head.has-photo h1, .page-head.has-photo p { max-width: none; }
  .ph-s1 { width: 84px; height: 84px; right: -10px; bottom: -30px; } .ph-s2 { right: 6%; top: 16px; bottom: auto; width: 38px; height: 38px; border-width: 5px; } .ph-s3 { display: none; }
}

/* ---- headings, buttons, bands ---- */
.section-head h2::after { content: ''; display: block; width: 84px; height: 6px; border-radius: 6px; margin-top: 16px; background: linear-gradient(90deg, var(--coral) 0 34%, var(--amber) 0 67%, var(--teal) 0); }
.btn--primary { background: linear-gradient(135deg, var(--navy), #4350b8); }
.btn--primary:hover { background: linear-gradient(135deg, var(--navy-deep), var(--navy)); transform: translateY(-2px); }
.btn--amber:hover { transform: translateY(-2px); }
.cta { background: radial-gradient(900px 420px at 90% 0%, rgba(122,86,240,.55), transparent 60%), radial-gradient(700px 360px at 0% 100%, rgba(15,181,166,.35), transparent 60%), linear-gradient(115deg, var(--navy-deep), var(--navy)); }
.site-footer { border-top: 0; position: relative; }
.site-footer::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 6px; background: var(--rainbow); }

/* ---- home: facts card, stages, tiles ---- */
.stats-card { border-top: 0; background: var(--rainbow) top / 100% 6px no-repeat, #fff; }
.stats-card li:nth-child(1) .st-ico { background: var(--blue); }
.stats-card li:nth-child(2) .st-ico { background: var(--teal); }
.stats-card li:nth-child(3) .st-ico { background: var(--coral); }
.stats-card li:nth-child(4) .st-ico { background: var(--violet); }
.stats-card .st-ico { box-shadow: 0 10px 22px -8px currentColor; }
.stage-cards li:nth-child(1) .stage-card { background: var(--teal-t); border-bottom-color: var(--teal); }
.stage-cards li:nth-child(2) .stage-card { background: var(--sun-t); border-bottom-color: var(--amber); }
.stage-cards li:nth-child(3) .stage-card { background: var(--coral-t); border-bottom-color: var(--coral); }
.stage-cards li:nth-child(4) .stage-card { background: var(--violet-t); border-bottom-color: var(--violet); }
.stage-cards li:nth-child(5) .stage-card { background: linear-gradient(160deg, var(--navy), #4a3fa6); border-bottom-color: var(--amber); }
.stage-cards li:nth-child(1) .sc-ico { background: var(--teal); } .stage-cards li:nth-child(2) .sc-ico { background: var(--amber); color: var(--navy-deep); }
.stage-cards li:nth-child(3) .sc-ico { background: var(--coral); } .stage-cards li:nth-child(4) .sc-ico { background: var(--violet); }
.tile--coral { background: var(--coral); } .tile--teal { background: var(--teal-d); } .tile--violet { background: var(--violet); } .tile--sun { background: var(--amber); }
.tile--coral h3, .tile--coral p, .tile--teal h3, .tile--teal p, .tile--violet h3, .tile--violet p { color: #fff; }
.tile--coral .i-big, .tile--teal .i-big, .tile--violet .i-big { color: #fff; }
.tile--sun h3, .tile--sun p, .tile--sun .i-big { color: var(--navy-deep); }
.tile--blue { background: linear-gradient(150deg, var(--navy), #3f4fb0); }
.tile:not(.tile--photo) { transition: transform .25s, box-shadow .25s; }
.tile:not(.tile--photo):hover { transform: translateY(-4px); box-shadow: 0 18px 36px rgba(30,42,85,.2); }

/* ---- about ---- */
.two-col > div { background: #fff; border-radius: 26px; padding: clamp(24px, 3.4vw, 42px); border-top: 7px solid var(--teal); box-shadow: 0 14px 34px -18px rgba(30,42,85,.3); }
.two-col > div:nth-child(2) { border-top-color: var(--coral); }
.two-col > div h2 { margin-bottom: .3em; } .two-col > div .lead { margin-bottom: 0; }
.work-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.tick--color li:nth-child(1) .i { background: var(--amber); } .tick--color li:nth-child(2) .i { background: #5fd6c8; }
.tick--color li:nth-child(3) .i { background: #ff9a8d; } .tick--color li:nth-child(4) .i { background: #b7a4ff; } .tick--color li:nth-child(5) .i { background: #8fb8ff; }
.work-fig { position: relative; margin: 0; padding: 0 0 28px 28px; }
.work-fig::before { content: ''; position: absolute; left: 0; bottom: 0; width: 70%; height: 74%; border-radius: 40px; background: linear-gradient(145deg, var(--teal), var(--violet)); z-index: 0; }
.wf-photo { position: relative; z-index: 1; border-radius: 40px 40px 40px 120px; overflow: hidden; aspect-ratio: 4 / 4.4; box-shadow: 0 26px 50px -22px rgba(30,42,85,.5); }
.wf-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 38% center; }
.wf-chip { position: absolute; z-index: 2; padding: .5em 1.1em; border-radius: 999px; font: 800 .98rem/1 var(--f-body); color: #fff; box-shadow: 0 12px 24px -10px rgba(30,42,85,.5); }
.wf-chip.c1 { top: 8%; left: 0; background: var(--coral); } .wf-chip.c2 { top: 30%; right: -10px; background: var(--teal-d); }
.wf-chip.c3 { bottom: 26%; left: -6px; background: var(--violet); } .wf-chip.c4 { bottom: 4%; right: 6%; background: var(--amber); color: var(--navy-deep); }
@media (prefers-reduced-motion: no-preference) { .wf-chip { animation: bob 6s ease-in-out infinite; } .wf-chip.c2 { animation-delay: -2s; } .wf-chip.c3 { animation-delay: -4s; } .wf-chip.c4 { animation-delay: -1s; } }
@media (max-width: 860px) { .work-grid { grid-template-columns: 1fr; } .work-fig { max-width: 460px; margin-inline: auto; width: 100%; } .wf-chip.c2 { right: 0; } }

/* ---- facilities ---- */
.fac--labs .ico { background: var(--teal); } .fac--library .ico { background: var(--violet); }
.more-fac .section-head { margin-bottom: 28px; }
.fac-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.fc { position: relative; overflow: hidden; border-radius: 26px; padding: 28px 26px 26px; min-height: 220px; display: flex; flex-direction: column; gap: 6px; background: #fff; border: 2px solid transparent; transition: transform .25s, box-shadow .25s; scroll-margin-top: 100px; }
.fc:hover { transform: translateY(-5px); box-shadow: 0 22px 40px -18px rgba(30,42,85,.35); }
.fc::after { content: ''; position: absolute; width: 150px; height: 150px; border-radius: 50%; right: -46px; top: -46px; background: var(--fc, var(--teal)); opacity: .16; }
.fc-ico { width: 62px; height: 62px; border-radius: 20px; display: grid; place-items: center; background: var(--fc, var(--teal)); color: #fff; margin-bottom: auto; box-shadow: 0 14px 24px -10px var(--fc, var(--teal)); }
.fc-ico .i { width: 30px; height: 30px; }
.fc h3 { margin: 18px 0 0; font-size: 1.4rem; } .fc p { margin: 0; color: var(--muted); }
.fc-num { position: absolute; right: 22px; top: 14px; font: 400 3rem/1 var(--f-display); color: var(--fc); z-index: 1; }
.fc--0 { --fc: var(--blue); border-color: var(--blue-t); } .fc--1 { --fc: var(--coral); border-color: var(--coral-t); } .fc--2 { --fc: var(--teal); border-color: var(--teal-t); }
.fc--3 { --fc: var(--violet); border-color: var(--violet-t); } .fc--4 { --fc: var(--amber); border-color: var(--sun-t); } .fc--5 { --fc: var(--coral); border-color: var(--coral-t); }
.fc--4 .fc-ico { color: var(--navy-deep); }
@media (max-width: 900px) { .fac-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .fac-cards { grid-template-columns: 1fr; } .fc { min-height: 0; } }

/* ---- careers ---- */
.career-card { border-top-width: 7px; border-top-color: var(--teal); background: var(--teal-t); }
.career-card:nth-child(2) { border-top-color: var(--coral); background: var(--coral-t); }
.openings { border: 0; background: linear-gradient(135deg, var(--violet-t), var(--sun-t)); }
.openings .roles li:nth-child(1) { background: var(--blue); } .openings .roles li:nth-child(2) { background: var(--teal-d); }
.openings .roles li:nth-child(3) { background: var(--coral-d); } .openings .roles li:nth-child(4) { background: var(--violet-d); }
.solo { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 18px; margin-top: 18px; align-items: stretch; }
.solo > a { display: block; overflow: hidden; border-radius: 18px; } .solo > a img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; transition: transform .5s; } .solo > a:hover img { transform: scale(1.04); }
.solo-note { border-radius: 22px; padding: clamp(22px, 3vw, 34px); background: linear-gradient(145deg, var(--violet-t), var(--blue-t)); display: flex; flex-direction: column; justify-content: center; gap: 14px; }
.solo-note p { font: 400 clamp(1.4rem, 2.4vw, 1.9rem)/1.2 var(--f-display); color: var(--navy); margin: 0; }
.sn-ico { width: 54px; height: 54px; border-radius: 16px; background: var(--violet); color: #fff; display: grid; place-items: center; } .sn-ico .i { width: 26px; height: 26px; }
@media (max-width: 700px) { .solo { grid-template-columns: 1fr; } }

/* ---- home: special attention, dark sections ---- */
.attention li { transition: transform .25s, box-shadow .25s; }
.attention li:hover { transform: translateY(-4px); box-shadow: 0 18px 34px -16px rgba(30,42,85,.35); }
.attention li:nth-child(6n+1) .ico { background: var(--blue); } .attention li:nth-child(6n+2) .ico { background: var(--coral); }
.attention li:nth-child(6n+3) .ico { background: var(--teal); } .attention li:nth-child(6n+4) .ico { background: var(--violet); }
.attention li:nth-child(6n+5) .ico { background: var(--amber); color: var(--navy-deep); } .attention li:nth-child(6n) .ico { background: var(--coral); }
.attention li:nth-child(6n+1) { border-top: 4px solid var(--blue); } .attention li:nth-child(6n+2) { border-top: 4px solid var(--coral); }
.attention li:nth-child(6n+3) { border-top: 4px solid var(--teal); } .attention li:nth-child(6n+4) { border-top: 4px solid var(--violet); }
.attention li:nth-child(6n+5) { border-top: 4px solid var(--amber); } .attention li:nth-child(6n) { border-top: 4px solid var(--coral); }
.section--navy { background: radial-gradient(700px 380px at 100% 0%, rgba(122,86,240,.38), transparent 60%), radial-gradient(600px 320px at 0% 100%, rgba(15,181,166,.28), transparent 60%), var(--navy); }
.journey li .i, .journey .ico { color: var(--amber); }

/* ---- facilities: library row ---- */
.lib-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(18px, 3vw, 40px); align-items: center; }
.lib-text h3 { margin-top: 6px; } .lib-text p { font-size: 1.15rem; }
.lib-photo { display: block; overflow: hidden; border-radius: 22px; box-shadow: 0 20px 40px -22px rgba(30,42,85,.5); }
.lib-photo img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 16 / 10; transition: transform .5s; } .lib-photo:hover img { transform: scale(1.04); }
@media (max-width: 700px) { .lib-row { grid-template-columns: 1fr; } .lib-text { order: 1; } .lib-photo { order: 2; } }

/* ---- contact: campus card, map fallback ---- */
.contact-grid > div:first-child { display: flex; flex-direction: column; }
.visit { position: relative; margin: 28px 0 0; flex: 1; min-height: 300px; border-radius: 24px; overflow: hidden; background: var(--navy); color: #fff; display: flex; align-items: flex-end; }
.visit img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.visit::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(30,42,85,.94) 0, rgba(30,42,85,.55) 48%, rgba(30,42,85,0) 80%); }
.visit figcaption { position: relative; z-index: 1; padding: 24px; display: grid; gap: 6px; }
.visit strong { font: 400 1.5rem/1.15 var(--f-display); } .visit span { color: #dbe3fa; }
.visit .v-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 10px; }
.visit .btn { padding: .6em 1.2em; font-size: .95rem; }
.map-frame { position: relative; height: 420px; background: var(--sky); }
.map-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; z-index: 1; }
.map-fallback { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 8px; text-align: center; padding: 20px;
  background: linear-gradient(rgba(255,255,255,.55), rgba(255,255,255,.55)), repeating-linear-gradient(0deg, transparent 0 46px, #cfd9f2 46px 48px), repeating-linear-gradient(90deg, transparent 0 62px, #cfd9f2 62px 64px), var(--sky); }
.map-fallback strong { font: 400 1.5rem/1.2 var(--f-display); color: var(--navy); } .map-fallback > span:not(.mf-pin) { color: var(--muted); margin-bottom: 8px; }
.mf-pin { width: 60px; height: 60px; border-radius: 50%; background: var(--coral); color: #fff; display: grid; place-items: center; box-shadow: 0 14px 26px -10px var(--coral); } .mf-pin .i { width: 28px; height: 28px; }
@media (max-width: 860px) { .visit { min-height: 280px; } .map-frame { height: 340px; } }
.contact-grid { align-items: stretch; }
.lib-photo { position: relative; aspect-ratio: 16 / 9; }
.lib-photo img { position: absolute; inset: 0; width: 100%; height: 100%; aspect-ratio: auto; object-position: 50% 62%; }

/* ---- small message when a number or email is copied ---- */
.toast { position: fixed; left: 50%; bottom: 28px; z-index: 90; transform: translate(-50%, 24px); opacity: 0; pointer-events: none; max-width: calc(100vw - 32px); background: var(--navy-deep); color: #fff; border-left: 6px solid var(--amber); border-radius: 14px; padding: .8em 1.3em; font-weight: 600; box-shadow: 0 18px 40px rgba(30,42,85,.35); transition: opacity .25s, transform .25s; }
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }
@media (prefers-reduced-motion: reduce) { .toast { transition: none; } }

/* ---- final round: Atal Tinkering Lab + photo tiles ---- */
.t-atl { grid-column: span 2; grid-row: span 2; }
.t-atl .cap p { font-size: 1.02rem; max-width: 34rem; }
.t-atl > img { object-position: 50% 45%; }
.t-library > img { object-position: 38% 50%; }
.tile--photo.t-smart > img { object-position: 72% 40%; }
@media (max-width: 960px) { .t-atl { grid-column: span 2; } }
@media (max-width: 520px) { .t-atl { grid-column: auto; grid-row: span 1; min-height: 340px; } }
.fac--atl .ico { background: var(--coral); }
.atl { min-width: 0; }
.atl .lib-photo { aspect-ratio: 16 / 10; }
.atl .lib-photo img { object-position: 50% 45%; }
.fac .atl-callout { display: flex; gap: 16px; align-items: center; margin: 30px 0 10px; padding: 20px 24px; background: var(--teal-t); border-left: 6px solid var(--teal); border-radius: 16px; color: var(--navy-deep) !important; font-size: 1.2rem; font-weight: 600; line-height: 1.5; }
.fac .atl-callout .i { flex: 0 0 auto; width: 38px; height: 38px; padding: 8px; border-radius: 50%; background: var(--teal); color: #fff; }
.atl-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(20px, 3vw, 44px); margin-top: 22px; }
.atl-cols h4 { margin: 0 0 10px; font-family: var(--f-display); font-size: 1.2rem; color: var(--navy); }
.atl-cols ul { margin: 0; padding-left: 1.2em; list-style: disc; display: grid; gap: 8px; color: var(--muted); }
.atl-cols li b { color: var(--ink); }
@media (max-width: 760px) { .atl-cols { grid-template-columns: 1fr; } .fac .atl-callout { align-items: flex-start; font-size: 1.08rem; } }
.field .opt{font-weight:400;opacity:.65;font-size:.9em}
