/* AHS Nursing College — design system
   Brochure colours + bento tiles (concept A) with serif editorial type,
   arched photos and outlined cards (concept C). */

:root {
  --cream: #fff6e8;
  --paper: #fffdf8;
  --ink: #14110f;
  --ink-2: #3b3530;
  --muted: #6e655c;
  --night: #0c0c0c;
  --forest: #0a5c3d;     /* deep green blocks */
  --green: #2fd27c;      /* brochure bright green */
  --pink: #ff9ec7;
  --yellow: #ffd23f;
  --orange: #ff6a3d;
  --coral: #ff7a59;
  --lilac: #b9a7ff;
  --mint: #b6f0d0;
  --ice: #e6ecf5;
  --accent: #0a5c3d;
  --line: #e8dfd1;
  --radius: 32px;
  --radius-sm: 18px;
  --max: 1280px;
  --serif: "Fraunces", Georgia, serif;
  --sans: "Bricolage Grotesque", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --shadow: 6px 6px 0 var(--ink);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { overflow-x: clip; }
body { margin: 0; font-family: var(--sans); color: var(--ink); background: var(--cream); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.02; }
h1, h2 { font-family: var(--serif); font-weight: 800; letter-spacing: -0.03em; }
h1 { font-size: clamp(2.8rem, 6.6vw, 6rem); }
h2 { font-size: clamp(2.1rem, 4.4vw, 3.8rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.6rem); font-weight: 700; letter-spacing: -0.02em; }
h1 em, h2 em { font-style: italic; font-weight: 500; color: var(--forest); }
p { margin: 0 0 1em; }
.lead { font-size: clamp(1.08rem, 1.5vw, 1.3rem); color: var(--ink-2); max-width: 48ch; }
.container { max-width: var(--max); margin: 0 auto; padding: 0 clamp(20px, 4vw, 56px); }
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; } .mt-2 { margin-top: 2rem; } .mt-3 { margin-top: 3rem; }

/* Highlighter words (concept A) */
.hl { display: inline-block; padding: 0 .18em; border-radius: .22em; color: var(--ink); font-style: normal; transform: rotate(-2deg); }
.hl--green { background: var(--green); } .hl--pink { background: var(--pink); } .hl--yellow { background: var(--yellow); } .hl--lilac { background: var(--lilac); }

/* Eyebrow + numbered label */
.eyebrow { display: inline-block; font-size: .82rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--forest); margin-bottom: 1rem; }
.label { display: inline-flex; align-items: center; gap: 12px; font-weight: 600; font-size: 1.05rem; margin-bottom: 26px; }
.label b { background: var(--ink); color: var(--cream); border-radius: 999px; padding: 4px 14px; font-size: .9rem; }

/* Panels: every section is a rounded block on the cream page */
main { padding: 0 14px; }
.section, .page-hero { max-width: calc(var(--max) + 28px); margin: 0 auto 14px; border-radius: 36px; padding: clamp(56px, 8vw, 104px) 0; background: var(--paper); position: relative; overflow: hidden; }
.section--soft { background: #fff; }
.section--dark { background: var(--night); color: #fff; }
.section--dark h2, .section--dark h3 { color: #fff; }
.section--dark h2 em { color: var(--yellow); }
.section--dark .lead, .section--dark p { color: #cfc8bf; }
.section--dark .label b { background: var(--yellow); color: var(--ink); }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 44px; flex-wrap: wrap; }
.section-head h2 { margin: 0; max-width: 18ch; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: .5em; padding: .95em 1.6em; border-radius: 999px; font-weight: 700; font-size: 1rem; text-decoration: none; border: 2px solid var(--ink); background: var(--ink); color: var(--cream); cursor: pointer; font-family: var(--sans); transition: transform .15s, box-shadow .15s; }
.btn:hover { transform: translate(-2px, -2px); box-shadow: 4px 4px 0 var(--ink); }
.btn--ghost { background: transparent; color: var(--ink); }
.btn--accent { background: var(--yellow); color: var(--ink); }
.btn--green { background: var(--green); color: var(--ink); }
.btn--light { background: var(--cream); color: var(--ink); border-color: var(--cream); }
.btn--outline-light { background: transparent; color: var(--cream); border-color: rgba(255, 246, 232, .6); }
.btn--light:hover, .btn--outline-light:hover { box-shadow: 4px 4px 0 var(--yellow); }
.btn-row { display: flex; gap: 12px; flex-wrap: wrap; }
.link-arrow { font-weight: 700; text-decoration: none; display: inline-flex; gap: .4em; align-items: center; border-bottom: 2px solid currentColor; padding-bottom: 2px; }
.link-arrow::after { content: "→"; transition: transform .15s; }
.link-arrow:hover::after { transform: translateX(4px); }

/* Ticker — orange scrolling banner */
.ticker { background: var(--orange); color: var(--ink); font-size: .92rem; font-weight: 700; overflow: hidden; }
.ticker .container { display: flex; align-items: center; gap: 16px; height: 42px; }
.ticker__label { white-space: nowrap; padding: 3px 12px; background: var(--ink); color: var(--cream); border-radius: 999px; font-size: .8rem; }
.ticker__track { overflow: hidden; flex: 1; }
.ticker__items { display: inline-flex; gap: 48px; white-space: nowrap; animation: ticker 40s linear infinite; }
.ticker__items a { text-decoration: none; }
.ticker__items a:hover { text-decoration: underline; }
.ticker:hover .ticker__items { animation-play-state: paused; }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* Header / mega menu */
.header { position: sticky; top: 0; z-index: 50; background: rgba(255, 246, 232, .94); backdrop-filter: blur(10px); }
.header .container { display: flex; align-items: center; height: 76px; gap: 28px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--serif); font-weight: 800; font-size: 1.2rem; line-height: 1.05; letter-spacing: -0.01em; }
.brand small { display: block; font-family: var(--sans); font-weight: 500; color: var(--muted); font-size: .72rem; letter-spacing: 0; }
.brand__logo { height: 42px; width: auto; }
.nav { display: flex; gap: 2px; flex: 1; }
.nav__item { position: relative; }
.nav__btn { background: none; border: 0; font: inherit; font-size: .95rem; font-weight: 600; padding: 9px 14px; border-radius: 999px; cursor: pointer; color: var(--ink); text-decoration: none; display: inline-block; }
.nav__btn:hover, .nav__item.open .nav__btn { background: var(--yellow); }
.mega { position: absolute; top: calc(100% + 12px); left: 0; min-width: 300px; background: #fff; border: 2px solid var(--ink); border-radius: 22px; padding: 10px; box-shadow: var(--shadow); display: none; }
.nav__item.open .mega { display: block; }
.mega a { display: block; padding: 10px 14px; border-radius: 12px; text-decoration: none; }
.mega a:hover { background: var(--mint); }
.mega a strong { display: block; font-weight: 700; font-size: .95rem; }
.mega a span { color: var(--muted); font-size: .82rem; }
.mega .sub { padding-left: 28px; } .mega .sub strong { font-weight: 500; }
.header__cta { display: flex; gap: 8px; }
.header__cta .btn { padding: .6em 1.2em; font-size: .9rem; }
.menu-toggle { display: none; margin-left: auto; background: var(--yellow); border: 2px solid var(--ink); border-radius: 12px; font-size: 1.3rem; cursor: pointer; width: 46px; height: 42px; }
@media (max-width: 1100px) {
  .nav, .header__cta { display: none; }
  .menu-toggle { display: block; }
  .header.mobile-open .nav { display: flex; flex-direction: column; position: absolute; top: 76px; left: 8px; right: 8px; background: #fff; border: 2px solid var(--ink); border-radius: 22px; padding: 12px; box-shadow: var(--shadow); max-height: calc(100vh - 130px); overflow: auto; }
  .header.mobile-open .header__cta { display: flex; position: absolute; top: 17px; right: 74px; }
  .header.mobile-open .header__cta .btn--ghost { display: none; }
  .mega { position: static; box-shadow: none; border: 0; padding: 0 0 8px 8px; min-width: 0; }
  .nav__btn { width: 100%; text-align: left; font-size: 1.1rem; padding: 12px 10px; }
}

/* Photos: placeholders and real images */
.ph { position: relative; border-radius: var(--radius); overflow: hidden; width: 100%; height: 100%; min-height: 220px; background: repeating-linear-gradient(135deg, var(--mint) 0 18px, #c9f5dd 18px 36px); display: flex; align-items: flex-end; padding: 18px; font-size: .85rem; font-weight: 700; }
.ph span { position: relative; background: var(--cream); border: 2px solid var(--ink); padding: 4px 12px; border-radius: 999px; }
.ph--warm { background: repeating-linear-gradient(135deg, #ffe7a6 0 18px, var(--yellow) 18px 36px); }
.ph--blue { background: repeating-linear-gradient(135deg, var(--ice) 0 18px, #d5def0 18px 36px); }
.ph--ink { background: repeating-linear-gradient(135deg, #2a2a2a 0 18px, #1d1d1d 18px 36px); }
.ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* Split rows with arched photos (concept C) */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.split + .split { margin-top: clamp(64px, 8vw, 112px); }
.split--rev .split__media { order: 2; }
.split__media { position: relative; }
.split__media .ph { aspect-ratio: 4 / 4.4; border-radius: 999px 999px 32px 32px; border: 3px solid var(--ink); box-shadow: 10px 10px 0 var(--yellow); }
.split--rev .split__media .ph { box-shadow: -10px 10px 0 var(--pink); }
.checklist { list-style: none; padding: 0; margin: 0 0 1.5em; }
.checklist li { padding: 11px 0 11px 36px; position: relative; border-bottom: 2px dashed var(--line); }
.checklist li::before { content: "✓"; position: absolute; left: 0; top: 11px; width: 24px; height: 24px; border-radius: 8px; background: var(--green); border: 2px solid var(--ink); font-size: .75rem; display: grid; place-items: center; font-weight: 800; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } .split--rev .split__media { order: 0; } .split__media .ph { max-width: 460px; } }

/* Cards — outlined, offset shadow, rotating brochure colours */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.cards--2 { grid-template-columns: repeat(2, 1fr); }
.cards--4 { grid-template-columns: repeat(4, 1fr); }
.card { background: var(--yellow); border: 2px solid var(--ink); box-shadow: var(--shadow); border-radius: var(--radius); padding: 30px; text-decoration: none; display: flex; flex-direction: column; position: relative; }
.cards > .card:nth-child(4n+2) { background: var(--lilac); }
.cards > .card:nth-child(4n+3) { background: var(--pink); }
.cards > .card:nth-child(4n+4) { background: var(--mint); }
.card--white, .cards > .card--white:nth-child(n) { background: #fff; }
.card--dark, .cards > .card--dark:nth-child(n) { background: var(--night); color: #fff; box-shadow: 6px 6px 0 var(--green); }
.card--dark p { color: #cfc8bf; } .card--dark .eyebrow { color: var(--green); }
.card__icon { width: 54px; height: 54px; border-radius: 16px; background: var(--cream); border: 2px solid var(--ink); display: grid; place-items: center; font-size: 1.5rem; margin-bottom: 22px; }
.card--dark .card__icon { background: #222; border-color: #444; }
.card h3 { margin-bottom: .4em; }
.card p { color: var(--ink-2); font-size: .98rem; }
.card .link-arrow { margin-top: auto; padding-top: 12px; align-self: flex-start; }
a.card { transition: transform .15s, box-shadow .15s; }
a.card:hover { transform: translate(-3px, -3px); box-shadow: 9px 9px 0 var(--ink); }
a.card--dark:hover { box-shadow: 9px 9px 0 var(--green); }
@media (max-width: 1000px) { .cards, .cards--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .cards, .cards--2, .cards--4 { grid-template-columns: 1fr; } }

/* Course cards (outlined colour cards with photo strip) */
.ccards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.ccard { border: 2px solid var(--ink); box-shadow: 8px 8px 0 var(--ink); border-radius: 36px; text-decoration: none; display: flex; flex-direction: column; overflow: hidden; transition: transform .15s, box-shadow .15s; min-height: 520px; }
.ccard:hover { transform: translate(-3px, -3px); box-shadow: 11px 11px 0 var(--ink); }
.ccard__img { height: 220px; position: relative; border-bottom: 2px solid var(--ink); overflow: hidden; }
.ccard__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.ccard:hover .ccard__img img { transform: scale(1.06); }
.ccard__go { position: absolute; top: 16px; right: 16px; width: 54px; height: 54px; border-radius: 50%; background: var(--ink); color: var(--cream); display: grid; place-items: center; font-size: 1.3rem; }
.ccard__body { padding: 26px 28px 30px; display: flex; flex-direction: column; flex: 1; }
.ccard__k { font-weight: 700; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; }
.ccard h3 { font-family: var(--serif); font-weight: 800; font-size: clamp(2.4rem, 3.6vw, 3.2rem); margin: auto 0 8px; letter-spacing: -0.02em; line-height: 1; }
.ccard p { margin: 0; font-weight: 600; }
.ccard--yellow { background: var(--yellow); } .ccard--lilac { background: var(--lilac); } .ccard--pink { background: var(--pink); }
@media (max-width: 900px) { .ccards { grid-template-columns: 1fr; } .ccard { min-height: 0; } .ccard h3 { margin-top: 24px; } }

/* Tall photo cards (courses page) */
.tcards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.tcard { position: relative; min-height: 520px; border-radius: 36px; overflow: hidden; text-decoration: none; color: #fff; isolation: isolate; border: 2px solid var(--ink); box-shadow: 8px 8px 0 var(--ink); transition: transform .15s, box-shadow .15s; }
.tcard:hover { transform: translate(-3px, -3px); box-shadow: 11px 11px 0 var(--ink); }
.tcard img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.tcard::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 30%, rgba(12, 12, 12, .9) 82%); }
.tcard__icon { position: absolute; top: 18px; left: 18px; width: 60px; height: 60px; border-radius: 50%; background: var(--tint, var(--yellow)); border: 2px solid var(--ink); display: grid; place-items: center; }
.tcard__icon svg { width: 26px; height: 26px; fill: none; stroke: var(--ink); stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.tcard__chip { display: inline-block; margin-bottom: 12px; background: var(--tint, var(--yellow)); color: var(--ink); font-size: .75rem; font-weight: 800; padding: 5px 12px; border-radius: 999px; }
.tcard__body { position: absolute; left: 24px; right: 24px; bottom: 26px; }
.tcard h3 { font-family: var(--serif); font-size: clamp(1.8rem, 2.6vw, 2.4rem); color: #fff; margin: 0 0 .35em; }
.tcard p { color: #eee; margin: 0; font-size: .98rem; line-height: 1.45; }
.tcard--blue { --tint: var(--yellow); } .tcard--peach { --tint: var(--lilac); } .tcard--teal { --tint: var(--pink); }
@media (max-width: 1000px) {
  .tcards, .tcards[style] { grid-template-columns: none !important; grid-auto-flow: column; grid-auto-columns: minmax(260px, 75%); overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 12px 14px 4px; }
  .tcard { scroll-snap-align: start; min-height: 440px; }
}

/* Stats as colour tiles */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.stat { border-radius: 28px; padding: 26px; min-height: 230px; display: flex; flex-direction: column; justify-content: space-between; color: var(--ink); background: var(--yellow); border: 2px solid var(--ink); }
.stat:nth-child(2) { background: var(--pink); } .stat:nth-child(3) { background: var(--green); } .stat:nth-child(4) { background: var(--lilac); }
.stat b { font-family: var(--serif); font-size: clamp(3rem, 5vw, 4.4rem); letter-spacing: -0.04em; line-height: 1; order: 2; }
.stat span { font-weight: 700; font-size: .98rem; }
@media (max-width: 800px) { .stats { grid-template-columns: 1fr 1fr; } .stat { min-height: 180px; } }

/* Testimonials */
.quote { background: #fff; border: 2px solid var(--ink); border-radius: var(--radius); padding: 32px; display: flex; flex-direction: column; box-shadow: var(--shadow); }
.cards > .quote:nth-child(3n+2) { background: var(--mint); } .cards > .quote:nth-child(3n+3) { background: var(--lilac); }
.quote blockquote { margin: 0 0 26px; font-family: var(--serif); font-size: 1.3rem; line-height: 1.35; font-weight: 500; }
.quote blockquote::before { content: "“"; display: block; font-size: 4rem; line-height: .6; color: var(--orange); margin-bottom: 6px; font-weight: 800; }
.quote__who { display: flex; gap: 14px; align-items: center; margin-top: auto; }
.avatar { width: 48px; height: 48px; border-radius: 50%; background: var(--yellow); border: 2px solid var(--ink); display: grid; place-items: center; font-weight: 800; flex: none; }
.quote__who small { display: block; color: var(--muted); }

/* Approval pills */
.logos { display: flex; flex-wrap: wrap; gap: 14px; }
.logo-pill { flex: 1 1 200px; border: 2px solid var(--ink); border-radius: 22px; padding: 20px 22px; text-decoration: none; display: flex; gap: 14px; align-items: center; background: var(--yellow); transition: transform .15s, box-shadow .15s; }
.logo-pill:nth-child(5n+2) { background: var(--pink); } .logo-pill:nth-child(5n+3) { background: var(--green); } .logo-pill:nth-child(5n+4) { background: var(--lilac); } .logo-pill:nth-child(5n+5) { background: var(--ice); }
.logo-pill:hover { transform: translate(-2px, -2px); box-shadow: 4px 4px 0 var(--ink); }
.logo-pill b { font-family: var(--serif); font-size: 1.7rem; letter-spacing: -0.02em; }
.logo-pill span { font-size: .85rem; font-weight: 600; line-height: 1.3; }

/* CTA band — coral block */
.cta-band { position: relative; border-radius: 36px; background: var(--coral); color: var(--ink); border: 2px solid var(--ink); padding: clamp(40px, 7vw, 88px); display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: end; overflow: hidden; }
.cta-band h2 { margin: 0; color: var(--ink); } .cta-band h2 em { color: var(--cream); }
.cta-band p { color: var(--ink); font-weight: 600; }
.cta-band .eyebrow { color: var(--ink) !important; background: var(--yellow); padding: 4px 12px; border-radius: 999px; border: 2px solid var(--ink); }
.cta-band .btn--light { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.cta-band .btn--outline-light { color: var(--ink); border-color: var(--ink); }
@media (max-width: 800px) { .cta-band { grid-template-columns: 1fr; } }

/* Page hero — deep green block with colour squares */
.page-hero { background: var(--forest); color: var(--cream); padding: clamp(48px, 7vw, 96px) 0; }
.page-hero h1 { font-size: clamp(2.6rem, 5.8vw, 5rem); max-width: 15ch; color: var(--cream); position: relative; z-index: 1; }
.page-hero h1 em { color: var(--yellow); }
.page-hero .lead { color: #d7eadf; position: relative; z-index: 1; }
.page-hero .eyebrow { background: var(--yellow); color: var(--ink); border-radius: 999px; padding: 5px 14px; letter-spacing: .06em; font-size: .78rem; position: relative; z-index: 1; }
.page-hero::before, .page-hero::after { content: ""; position: absolute; border-radius: 22px; width: 92px; height: 92px; }
.page-hero::before { right: 6%; top: 18%; background: var(--yellow); box-shadow: -110px 110px 0 var(--pink), 0 220px 0 var(--green); }
.page-hero::after { right: calc(6% + 110px); top: 18%; background: rgba(255, 246, 232, .1); box-shadow: 110px 110px 0 rgba(255, 246, 232, .1), -110px 220px 0 var(--orange); }
.crumbs { font-size: .85rem; color: #a9cdb9; margin-bottom: 20px; position: relative; z-index: 1; }
.crumbs a { text-decoration: none; } .crumbs a:hover { text-decoration: underline; }
.subnav { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 28px; position: relative; z-index: 1; }
.subnav a { padding: 8px 16px; border-radius: 999px; border: 2px solid rgba(255, 246, 232, .35); text-decoration: none; font-size: .9rem; font-weight: 600; }
.subnav a:hover { border-color: var(--cream); }
.subnav a.active { background: var(--cream); color: var(--ink); border-color: var(--cream); }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pills span { padding: 8px 16px; border-radius: 999px; border: 2px solid var(--ink); font-size: .9rem; font-weight: 600; background: #fff; }
@media (max-width: 1100px) { .page-hero::before, .page-hero::after { display: none; } }

/* Tables */
.table-wrap { overflow-x: auto; border: 2px solid var(--ink); border-radius: var(--radius-sm); background: #fff; }
table { width: 100%; border-collapse: collapse; font-size: .95rem; }
th, td { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { background: var(--yellow); font-weight: 700; white-space: nowrap; border-bottom: 2px solid var(--ink); }
tr:last-child td { border-bottom: 0; }

/* Facts row */
.facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.fact { background: var(--yellow); border: 2px solid var(--ink); border-radius: var(--radius-sm); padding: 20px 22px; }
.fact:nth-child(4n+2) { background: var(--pink); } .fact:nth-child(4n+3) { background: var(--green); } .fact:nth-child(4n+4) { background: var(--lilac); }
.fact small { display: block; font-size: .76rem; text-transform: uppercase; letter-spacing: .08em; font-weight: 700; }
.fact b { font-family: var(--serif); font-size: 1.5rem; letter-spacing: -0.02em; }
.facts--3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 800px) { .facts { grid-template-columns: 1fr 1fr; } .facts--3 { grid-template-columns: 1fr; } }

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 260px; gap: 16px; }
.gallery .ph { min-height: 0; border: 2px solid var(--ink); }
.gallery .tall { grid-row: span 2; } .gallery .wide { grid-column: span 2; }
@media (max-width: 800px) { .gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 180px; } }

/* Faculty */
.people { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.person .ph { aspect-ratio: 1; height: auto; min-height: 0; margin-bottom: 14px; border: 2px solid var(--ink); border-radius: 999px 999px 24px 24px; }
.person h3 { font-size: 1.1rem; margin-bottom: .2em; } .person p { color: var(--muted); font-size: .9rem; margin: 0; }
@media (max-width: 900px) { .people { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* News */
.news-list { border-top: 2px solid var(--ink); }
.news-item { display: grid; grid-template-columns: 120px 1fr auto; gap: 20px; padding: 18px 0; border-bottom: 2px dashed var(--line); align-items: baseline; }
.news-item time { color: var(--muted); font-size: .88rem; font-weight: 600; }
.news-item h3 { font-size: 1.05rem; margin: 0; }
.badge { display: inline-block; font-size: .7rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; padding: 4px 10px; border-radius: 999px; background: var(--mint); border: 2px solid var(--ink); }
.badge--warm { background: var(--yellow); }
@media (max-width: 640px) { .news-item { grid-template-columns: 1fr; gap: 6px; } }

/* Forms */
.form { display: grid; gap: 14px; }
.form label { font-size: .85rem; font-weight: 700; display: grid; gap: 6px; }
.form input, .form select, .form textarea { font: inherit; padding: 14px 16px; border-radius: 14px; border: 2px solid var(--ink); background: #fff; }
.form input:focus, .form select:focus, .form textarea:focus { outline: 3px solid var(--green); outline-offset: 1px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 640px) { .form-row { grid-template-columns: 1fr; } }

.note { background: var(--yellow); border: 2px solid var(--ink); border-radius: var(--radius-sm); padding: 16px 20px; font-size: .95rem; }
.prose { max-width: 72ch; }
.prose h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); margin-top: 1.4em; }
.prose h3 { margin-top: 1.4em; }
.prose ul { padding-left: 1.2em; } .prose li { margin-bottom: .4em; }

/* Homepage hero — bento grid */
.bento { max-width: calc(var(--max) + 28px); margin: 6px auto 14px; display: grid; grid-template-columns: repeat(12, 1fr); gap: 14px; }
.tile { border-radius: 36px; position: relative; overflow: hidden; padding: clamp(26px, 3vw, 40px); }
.tile--hero { grid-column: span 7; background: var(--forest); color: var(--cream); min-height: 600px; display: flex; flex-direction: column; justify-content: space-between; }
.tile--hero h1 { color: var(--cream); font-size: clamp(3rem, 6vw, 5.8rem); line-height: .95; margin: 0; }
.tile--hero h1 em { color: var(--yellow); display: block; }
.tile--hero p { color: #d7eadf; font-size: 1.12rem; max-width: 44ch; }
.tile--hero .cross { position: absolute; right: -36px; bottom: -36px; width: 240px; opacity: .1; }
.tile--photo { grid-column: span 5; background: var(--coral); display: flex; align-items: flex-end; justify-content: center; padding-bottom: 0; min-height: 600px; }
.tile--photo .arch { width: 80%; height: 86%; border-radius: 999px 999px 0 0; overflow: hidden; border: 8px solid var(--cream); border-bottom: 0; }
.tile--photo .arch img { width: 100%; height: 100%; object-fit: cover; }
.sticker { position: absolute; top: 28px; left: 28px; width: 140px; height: 140px; border-radius: 50%; background: var(--yellow); display: grid; place-items: center; text-align: center; font-family: var(--serif); font-weight: 800; font-size: 1.2rem; line-height: 1.05; transform: rotate(-12deg); box-shadow: 0 8px 0 var(--ink); border: 2px solid var(--ink); z-index: 2; animation: wobble 6s ease-in-out infinite; }
.sticker span { display: block; font-family: var(--sans); font-size: .68rem; letter-spacing: .12em; font-weight: 800; margin-top: 4px; }
@keyframes wobble { 50% { transform: rotate(-4deg); } }
.tag { position: absolute; right: 22px; top: 190px; background: var(--cream); padding: 10px 16px; border-radius: 14px; font-weight: 800; border: 2px solid var(--ink); box-shadow: 0 6px 0 var(--ink); transform: rotate(4deg); z-index: 2; }
.tile--tabs { grid-column: span 3; background: var(--ice); padding: 22px; display: flex; flex-direction: column; min-height: 380px; }
.tile--tabs h3 { font-family: var(--serif); font-size: 1.7rem; font-weight: 800; margin: 2px 2px auto; }
.tab { border-radius: 18px; padding: 14px 16px 26px; margin-top: -12px; color: var(--ink); font-weight: 800; font-size: 1.02rem; display: flex; justify-content: space-between; align-items: center; text-decoration: none; border: 2px solid var(--ink); transition: transform .2s; }
.tab:last-child { padding-bottom: 14px; }
.tab:hover { transform: translateY(-6px); }
.tab small { font-weight: 600; opacity: .75; }
.dots { display: flex; gap: 4px; } .dots i { width: 9px; height: 9px; border-radius: 50%; background: currentColor; opacity: .3; } .dots i:last-child { opacity: .9; }
.tile--stat { grid-column: span 2; color: var(--ink); display: flex; flex-direction: column; justify-content: space-between; }
.tile--stat b { font-family: var(--serif); font-size: clamp(3rem, 4.6vw, 4.2rem); letter-spacing: -0.04em; line-height: 1; }
.tile--stat span { font-weight: 700; }
.tile--stat .ic { width: 52px; height: 52px; border-radius: 16px; background: rgba(255, 255, 255, .55); display: grid; place-items: center; font-size: 1.5rem; margin-bottom: 12px; border: 2px solid var(--ink); }
.tile--approve { grid-column: span 5; background: var(--green); display: flex; flex-direction: column; justify-content: space-between; gap: 20px; }
.tile--approve h3 { font-family: var(--serif); font-size: clamp(1.8rem, 2.6vw, 2.4rem); font-weight: 800; margin: 0; max-width: 16ch; }
.tile--approve img { width: 64px; height: auto; }
.seals { display: flex; flex-wrap: wrap; gap: 8px; }
.seals a { background: var(--cream); border: 2px solid var(--ink); border-radius: 999px; padding: 8px 14px; font-weight: 800; text-decoration: none; font-size: .9rem; }
.seals a:hover { background: var(--yellow); }
.tile--marquee { grid-column: span 12; background: var(--orange); padding: 0; height: 104px; display: flex; align-items: center; }
.tile--marquee div { display: flex; gap: 40px; white-space: nowrap; font-family: var(--serif); font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 800; animation: ticker 30s linear infinite; }
.tile--marquee span:nth-child(even) { color: var(--cream); }
@media (max-width: 1100px) {
  .bento { grid-template-columns: repeat(2, 1fr); }
  .tile--hero, .tile--photo, .tile--approve, .tile--marquee, .tile--tabs { grid-column: span 2; }
  .tile--hero { min-height: 0; gap: 40px; } .tile--photo { min-height: 480px; }
  .tile--stat { grid-column: span 1; min-height: 200px; }
}

/* Admission steps on a dark panel */
.approach__grid { display: grid; grid-template-columns: .8fr 2fr; gap: clamp(28px, 4vw, 56px); align-items: center; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.step { position: relative; border-radius: 28px; padding: 26px 22px; min-height: 340px; background: #1c1c1c; color: #fff; display: flex; flex-direction: column; overflow: hidden; border: 2px solid #333; }
.step svg { width: 34px; height: 34px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.step__num { position: absolute; top: 20px; right: 22px; font-family: var(--serif); font-size: 2.2rem; font-weight: 800; opacity: .35; }
.step h3 { margin: auto 0 .4em; font-family: var(--serif); font-size: 1.8rem; font-weight: 800; color: inherit !important; }
.step p { margin: 0; font-size: .95rem; line-height: 1.45; }
.section--dark .step p { color: #cfc8bf; }
.step--lav, .step--mint, .step--yellow { color: var(--ink); border-color: var(--ink); }
.step--lav { background: var(--lilac); } .step--mint { background: var(--green); } .step--yellow { background: var(--yellow); }
.section--dark .step--lav p, .section--dark .step--mint p, .section--dark .step--yellow p { color: var(--ink); }
.step--photo { padding: 0; border-radius: 999px 999px 28px 28px; border: 3px solid var(--cream); }
.step--photo img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
@media (max-width: 1100px) { .approach__grid { grid-template-columns: 1fr; } }
@media (max-width: 700px) { .steps { grid-template-columns: 1fr 1fr; } .step { min-height: 250px; } }

/* Footer */
.footer { background: var(--night); color: #fff; padding: 80px 0 32px; margin: 0 14px 14px; border-radius: 36px; }
.footer__cta { display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; align-items: end; padding-bottom: 56px; margin-bottom: 56px; border-bottom: 2px dashed #2f2f2f; }
.footer__cta h2 { margin: 0; color: #fff; max-width: 15ch; } .footer__cta h2 em { color: var(--yellow); }
.footer__cta .btn-row { justify-content: flex-end; }
.footer__cta .btn--light { background: var(--yellow); border-color: var(--yellow); }
.footer__top { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 32px; }
.footer h4 { font-size: .8rem; color: var(--green); font-weight: 800; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 16px; }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li { margin-bottom: 10px; }
.footer a { text-decoration: none; color: #e8e8e8; font-size: .95rem; }
.footer a:hover { color: var(--yellow); }
.footer .brand small { color: #9a9a9a; }
.footer__about { color: #bdbdbd; font-size: .95rem; max-width: 34ch; margin-top: 20px; }
.footer__contact li { display: flex; gap: 10px; color: #e8e8e8; font-size: .95rem; }
.footer__contact .ic { width: 18px; height: 18px; flex: none; fill: var(--green); margin-top: 3px; }
.socials { display: flex; gap: 10px; margin-top: 24px; }
.socials a { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--yellow); transition: transform .15s; }
.socials a:nth-child(2) { background: var(--pink); } .socials a:nth-child(3) { background: var(--green); } .socials a:nth-child(4) { background: var(--lilac); } .socials a:nth-child(5) { background: var(--orange); }
.socials a:hover { transform: translateY(-2px); }
.socials svg { width: 18px; height: 18px; fill: var(--ink); }
.footer__bottom { margin-top: 56px; padding-top: 24px; border-top: 2px dashed #2f2f2f; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; color: #8a8a8a; font-size: .85rem; }
@media (max-width: 900px) { .footer__top { grid-template-columns: 1fr 1fr; } .footer__top > :first-child { grid-column: 1 / -1; } .footer__cta { grid-template-columns: 1fr; } .footer__cta .btn-row { justify-content: flex-start; } }

/* Floating call / WhatsApp */
.fab { position: fixed; right: 18px; bottom: 18px; z-index: 60; display: flex; flex-direction: column; gap: 12px; }
.fab a { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; border: 2px solid var(--ink); box-shadow: 3px 3px 0 var(--ink); transition: transform .15s; }
.fab a:hover { transform: translate(-2px, -2px); }
.fab svg { width: 24px; height: 24px; fill: var(--ink); }
.fab .fab--call { background: var(--yellow); } .fab .fab--wa { background: var(--green); }

@media (max-width: 700px) {
  main { padding: 0 8px; }
  .section, .page-hero, .tile { border-radius: 26px; }
  .section, .page-hero { margin-bottom: 8px; }
  .bento { gap: 8px; }
  .footer { margin: 0 8px 8px; border-radius: 26px; }
}

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .ticker__items, .tile--marquee div, .sticker { animation: none; }
  html { scroll-behavior: auto; }
}
.tile--approve img { width: 84px; background: var(--cream); border: 2px solid var(--ink); border-radius: 20px; padding: 10px; }
.footer .btn--light, .footer .btn--light:hover { color: var(--ink); }

/* =====================================================================
   Creative layer — heartbeat line, spinning badge, word rotator,
   scribble underlines, floating doodles, playful hovers
   ===================================================================== */

/* ECG heartbeat line that draws itself */
.ecg { display: block; width: 100%; height: 70px; overflow: visible; }
.ecg path { fill: none; stroke: var(--yellow); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round;
  stroke-dasharray: 1400; stroke-dashoffset: 1400; animation: ecg 3.2s ease-in-out infinite; }
.ecg--ink path { stroke: var(--ink); }
.ecg--green path { stroke: var(--green); }
@keyframes ecg { 0% { stroke-dashoffset: 1400; } 55% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: -1400; } }
.tile--hero .ecg { margin: 18px 0 6px; max-width: 520px; }
.ecg-divider { max-width: calc(var(--max) + 28px); margin: -6px auto 8px; padding: 0 40px; }

/* Spinning circular text around the sticker */
.sticker { overflow: visible; }
.sticker .ring { position: absolute; inset: -26px; width: calc(100% + 52px); height: calc(100% + 52px); animation: spin 18s linear infinite; pointer-events: none; }
.sticker .ring text { font-family: var(--sans); font-size: 11.5px; font-weight: 800; letter-spacing: 3.2px; fill: var(--ink); }
@keyframes spin { to { transform: rotate(360deg); } }

/* Rotating words in the hero headline */
.rotator { display: inline-grid; vertical-align: top; }
.rotator > span { grid-area: 1 / 1; opacity: 0; transform: translateY(40%) rotate(4deg); transition: opacity .5s, transform .5s; white-space: nowrap; }
.rotator > span.on { opacity: 1; transform: none; }

/* Scribbled underline under italic headline words */
.section h2 em, .ccards + * h2 em { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 12' preserveAspectRatio='none'%3E%3Cpath d='M2 8 C 40 2, 80 12, 120 6 S 180 4, 198 7' fill='none' stroke='%23ffd23f' stroke-width='5' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat 0 100% / 100% .28em; padding-bottom: .06em; }
.section--dark h2 em { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 12' preserveAspectRatio='none'%3E%3Cpath d='M2 8 C 40 2, 80 12, 120 6 S 180 4, 198 7' fill='none' stroke='%232fd27c' stroke-width='5' stroke-linecap='round'/%3E%3C/svg%3E"); }

/* Floating doodles (plus signs, hearts, pills) */
.doodles { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.doodles i { position: absolute; font-style: normal; font-size: var(--s, 28px); opacity: .9; animation: drift var(--d, 9s) ease-in-out infinite alternate; }
@keyframes drift { from { transform: translate(0, 0) rotate(0); } to { transform: translate(var(--x, 12px), var(--y, -18px)) rotate(var(--r, 25deg)); } }
.tile--hero > *:not(.doodles):not(.cross) { position: relative; z-index: 1; }

/* Playful hover: cards tilt slightly */
.ccard:hover { transform: translate(-3px, -3px) rotate(-1deg); }
.ccards .ccard:nth-child(2):hover { transform: translate(-3px, -3px) rotate(1deg); }
.tab:hover { transform: translateY(-6px) rotate(-1.5deg); }
.logo-pill:hover { transform: translate(-2px, -2px) rotate(-1deg); }

/* Photo chips floating on arches */
.split__media .chip-float { position: absolute; z-index: 2; background: #fff; border: 2px solid var(--ink); border-radius: 16px; padding: 10px 14px; font-weight: 800; font-size: .9rem; box-shadow: 4px 4px 0 var(--ink); animation: bob 4s ease-in-out infinite; }
.split__media .chip-float--a { left: -18px; bottom: 18%; transform: rotate(-4deg); }
.split__media .chip-float--b { right: -14px; top: 16%; transform: rotate(5deg); animation-delay: -2s; }
@keyframes bob { 50% { translate: 0 -8px; } }
@media (max-width: 900px) { .split__media .chip-float--a { left: 8px; } .split__media .chip-float--b { right: 8px; } }

/* Section number stickers */
.label b { transform: rotate(-4deg); display: inline-block; }

@media (prefers-reduced-motion: reduce) {
  .ecg path { animation: none; stroke-dashoffset: 0; }
  .sticker .ring, .doodles i, .chip-float { animation: none; }
  .rotator > span { transition: none; }
}

/* INC advantage panel */
.inc { background: var(--forest); color: var(--cream); }
.inc h2 { color: var(--cream); } .inc h2 em { color: var(--yellow); }
.inc .lead { color: #d7eadf; }
.inc .label b { background: var(--yellow); color: var(--ink); }
.inc__grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.inc__seal { display: inline-flex; align-items: center; gap: 14px; background: var(--cream); color: var(--ink); border: 2px solid var(--ink); border-radius: 999px; padding: 8px 18px 8px 8px; font-weight: 800; box-shadow: 4px 4px 0 var(--ink); margin: 6px 0 28px; }
.inc__seal b { width: 46px; height: 46px; border-radius: 50%; background: var(--yellow); border: 2px solid var(--ink); display: grid; place-items: center; font-family: var(--serif); font-size: .95rem; }
.benefits { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 28px; }
.benefit { background: var(--cream); color: var(--ink); border: 2px solid var(--ink); border-radius: 24px; padding: 22px; box-shadow: 5px 5px 0 var(--ink); }
.benefit:nth-child(2) { background: var(--yellow); } .benefit:nth-child(3) { background: var(--pink); } .benefit:nth-child(4) { background: var(--lilac); }
.benefit span { font-size: 1.7rem; display: block; margin-bottom: 8px; }
.benefit h3 { font-size: 1.15rem; margin-bottom: .35em; }
.benefit p { margin: 0; font-size: .93rem; color: var(--ink-2); line-height: 1.45; }
.stamps-wrap { position: relative; }
.stamps-wrap h3 { font-family: var(--serif); font-size: 1.6rem; color: var(--cream); margin-bottom: 18px; }
.stamps { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.stamp { position: relative; border: 3px dashed var(--c, var(--yellow)); border-radius: 20px; padding: 18px 18px 16px; transform: rotate(var(--r, -2deg)); transition: transform .25s; background: rgba(255, 246, 232, .05); }
.stamp:hover { transform: rotate(0) scale(1.04); }
.stamp b { font-family: var(--serif); font-size: 2rem; line-height: 1; color: var(--c, var(--yellow)); display: block; }
.stamp small { display: block; font-weight: 700; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--cream); margin: 4px 0 8px; }
.stamp span { display: inline-block; background: var(--c, var(--yellow)); color: var(--ink); font-weight: 800; font-size: .8rem; padding: 4px 10px; border-radius: 999px; }
.stamp::after { content: "✈"; position: absolute; top: 12px; right: 14px; color: var(--c, var(--yellow)); opacity: .7; }
.stamp--wide { grid-column: span 2; }
.inc__fine { font-size: .85rem; color: #a9cdb9 !important; margin-top: 18px; }
@media (max-width: 1000px) { .inc__grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .benefits { grid-template-columns: 1fr; } }

/* sticker ring fully visible */
.tile--photo .sticker { top: 46px; left: 46px; }
.region { margin-bottom: 18px; }
.region h4 { font-family: var(--sans); font-size: .85rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--cream); margin: 0 0 10px; }
.region .stamps { grid-template-columns: repeat(3, 1fr); gap: 12px; }
.region .stamp { padding: 14px 14px 12px; }
.region .stamp b { font-size: 1.6rem; }
.region .stamp small { font-size: .7rem; }
.region .stamp span { font-size: .72rem; }
@media (max-width: 560px) { .region .stamps { grid-template-columns: 1fr 1fr; } }
.inc__seal b { font-size: .72rem; flex: none; }
.govt { margin-top: 22px; background: var(--night); border: 2px solid var(--ink); border-radius: 24px; padding: 22px; box-shadow: 5px 5px 0 var(--yellow); }
.govt h4 { font-family: var(--serif); font-size: 1.35rem; color: var(--cream); margin: 0 0 14px; }
.govt__list { display: flex; flex-wrap: wrap; gap: 8px; }
.govt__list span { background: var(--cream); color: var(--ink); border: 2px solid var(--ink); border-radius: 999px; padding: 7px 14px; font-size: .85rem; font-weight: 600; }
.govt__list span b { font-weight: 800; color: var(--forest); margin-right: 6px; }
.govt__list span:first-child { background: var(--yellow); }
.govt p { margin: 12px 0 0; font-size: .82rem; color: #a9a29a !important; }

/* Live ECG monitor */
.monitor { position: relative; display: flex; align-items: center; gap: 14px; margin: 14px 0 4px; max-width: 560px; }
.ecg-live { flex: 1; height: 84px; display: block; }
.bpm { flex: none; font-weight: 800; font-size: .85rem; letter-spacing: .06em; color: var(--yellow); white-space: nowrap; font-variant-numeric: tabular-nums; }
.bpm b { font-family: var(--serif); font-size: 1.6rem; letter-spacing: 0; margin: 0 2px; }
.monitor .bpm::first-letter { display: inline-block; }
.monitor.beat .bpm { animation: thump .35s ease-out; }
@keyframes thump { 30% { transform: scale(1.18); } }
.monitor--green .bpm { color: var(--green); }
.ecg-live { min-width: 0; width: 100%; }
.gallery { grid-auto-flow: dense; }
/* Invisible bridge over the gap so the hover menu stays open while the mouse moves into it */
.mega::before { content: ""; position: absolute; left: 0; right: 0; top: -16px; height: 16px; }
.nav__btn { white-space: nowrap; padding: 9px 11px; font-size: .92rem; }
.header .container { gap: 18px; }
@media (min-width: 1101px) and (max-width: 1280px) { .header__cta .btn--ghost { display: none; } .nav__btn { padding: 8px 8px; font-size: .88rem; } }
/* seven top-level menus: hamburger at 1100px and below, tighter up to 1340px */
@media (max-width: 1100px) {
  .nav, .header__cta { display: none; }
  .menu-toggle { display: block; }
  .header.mobile-open .nav { display: flex; flex-direction: column; position: absolute; top: 76px; left: 8px; right: 8px; background: #fff; border: 2px solid var(--ink); border-radius: 22px; padding: 12px; box-shadow: var(--shadow); max-height: calc(100vh - 130px); overflow: auto; }
  .header.mobile-open .header__cta { display: flex; position: absolute; top: 17px; right: 74px; }
  .header.mobile-open .header__cta .btn--ghost { display: none; }
  .mega { position: static; box-shadow: none; border: 0; padding: 0 0 8px 8px; min-width: 0; }
  .nav__btn { width: 100%; text-align: left; font-size: 1.1rem; padding: 12px 10px; }
}
@media (min-width: 1101px) and (max-width: 1340px) { .header__cta .btn--ghost { display: none; } .nav__btn { padding: 8px 7px; font-size: .87rem; } .brand small { display: none; } }
/* Courses group: sub-pages sit indented under "Courses" with a connector line */
.mega a.sub { margin-left: 18px; padding-left: 16px; border-left: 2px solid var(--line); border-radius: 0 12px 12px 0; }
.mega a.sub strong::before { content: ""; }
.header__cta .btn { white-space: nowrap; }

/* Form spam trap, error and thank-you */
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-msg { margin: 8px 0 0; color: #b42318; font-weight: 600; } .form-msg .btn { margin-top: 12px; }
.form-done { border: 2px solid var(--ink); border-radius: var(--radius-sm); background: var(--mint); padding: 20px 22px; color: var(--ink); }
.form-done b { font-family: var(--serif); font-size: 1.3rem; }
.form-done p { margin: 6px 0 14px; }
.avatar--ph { width: 60px; height: 60px; object-fit: cover; padding: 0; background: #fff; }
.cards--quotes { grid-template-columns: repeat(2, 1fr); } .cards--quotes .quote blockquote { font-size: 1.18rem; line-height: 1.45; }
.cards--quotes > .quote:nth-child(3n+2) { background: #fff; } .cards--quotes > .quote:nth-child(4n+2), .cards--quotes > .quote:nth-child(4n+3) { background: var(--mint); }
@media (max-width: 760px) { .cards--quotes { grid-template-columns: 1fr; } }
.fee-note { margin-top: 16px; padding: 16px 20px; border: 2px solid var(--ink); border-left-width: 8px; border-radius: var(--radius-sm); background: #fff6cf; font-size: .98rem; }
/* Study ethics: attendance meter */
.att { background: #fff; border: 2px solid var(--ink); border-radius: var(--radius); box-shadow: var(--shadow); padding: 28px; display: grid; gap: 22px; }
.att__row span { display: block; font-weight: 700; margin-bottom: 8px; }
.att__bar { position: relative; height: 26px; border: 2px solid var(--ink); border-radius: 99px; background: var(--cream); }
.att__bar i { position: absolute; inset: 0 auto 0 0; border-radius: 99px; background: var(--yellow); }
.att__bar--green i { background: var(--green); }
.att__bar em { position: absolute; top: -30px; white-space: nowrap; transform: translateX(-50%); font-style: normal; font-weight: 800; font-size: .85rem; }
.att__bar em::after { content: ""; position: absolute; left: 50%; top: 24px; width: 2px; height: 30px; background: var(--ink); }
.att__note { margin: 0; color: var(--muted); font-size: .9rem; }
.ethos-band { background: var(--forest); color: #fff; border-radius: var(--radius); padding: clamp(32px, 6vw, 72px); text-align: center; }
.ethos-band .eyebrow { color: var(--yellow); }
.ethos-band p { font-family: var(--serif); font-size: clamp(1.5rem, 3.4vw, 2.6rem); line-height: 1.25; margin: 12px auto 0; max-width: 26ch; }
.ethos-band em { color: var(--yellow); }
/* How to reach us: animated journey map */
.jmap__tabs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 18px; }
.jmap__tabs button { font: 700 1rem var(--sans); padding: 12px 22px; border: 2px solid var(--ink); border-radius: 99px; background: #fff; color: var(--ink); cursor: pointer; transition: transform .15s, box-shadow .15s; }
.jmap__tabs button:hover { transform: translate(-2px, -2px); box-shadow: 3px 3px 0 var(--ink); }
.jmap__tabs button.on { background: var(--ink); color: #fff; box-shadow: 3px 3px 0 var(--green); }
.jmap__body { display: grid; grid-template-columns: 1.55fr 1fr; gap: 20px; align-items: stretch; }
.jmap__map { position: relative; border: 2px solid var(--ink); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: #0d1612; }
.jmap__svg { display: block; width: 100%; height: auto; }
.jbg { fill: #0d1612; } .jdots circle { fill: #ffffff14; } #jdots circle { fill: #ffffff14; }
.jriver { fill: none; stroke: #2f6f9f; stroke-width: 9; stroke-linecap: round; opacity: .55; }
.jbase { fill: none; stroke: #ffffff26; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.jbase--rail { stroke-dasharray: 2 6; stroke-width: 4; stroke: #ffffff33; }
.jlabel { fill: #ffffff59; font: 600 12px var(--sans); letter-spacing: .06em; text-transform: uppercase; }
.jlabel--river { fill: #6aa8d6; opacity: .8; }
.jr { fill: none; stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; filter: url(#jglow); opacity: 0; transition: opacity .3s; }
.jr--fly { stroke: var(--yellow); stroke-dasharray: 6 8; stroke-width: 3; }
.jr--road { stroke: var(--green); } .jr--rail { stroke: var(--pink); }
.jt circle { fill: #0d1612; stroke: #ffffffb3; stroke-width: 2; }
.jt rect { fill: var(--yellow); stroke: #0d1612; stroke-width: 2; }
.jt--stn rect { fill: var(--pink); }
.jt text { fill: #fff; font: 700 14px var(--sans); paint-order: stroke; stroke: #0d1612; stroke-width: 4px; }
.jcol__dot { fill: var(--green); stroke: #fff; stroke-width: 3; }
.jcol__pulse { fill: none; stroke: var(--green); stroke-width: 3; transform-box: fill-box; transform-origin: center; animation: jpulse 2s ease-out infinite; }
@keyframes jpulse { from { transform: scale(1); opacity: .9; } to { transform: scale(4); opacity: 0; } }
.jcol__tag rect { fill: #fff; stroke: var(--ink); stroke-width: 2; }
.jcol__tag text { fill: var(--ink); font: 800 15px var(--sans); text-anchor: middle; }
.jkm { opacity: 0; transition: opacity .4s; }
.jkm rect { fill: var(--ink); stroke: var(--green); stroke-width: 2; }
.jkm text { fill: #fff; font: 800 13px var(--sans); text-anchor: middle; }
.jkm.on { opacity: 1; }
.jv { opacity: 0; }
.jv--plane path { fill: var(--yellow); stroke: #0d1612; stroke-width: 1.5; }
.jv--train rect { fill: var(--pink); stroke: #0d1612; stroke-width: 1.5; }
.jv--car rect { fill: #fff; stroke: var(--green); stroke-width: 3; }
.jnorth { fill: #ffffff80; font: 800 14px var(--sans); }
.jmap__replay { position: absolute; right: 14px; bottom: 14px; font: 700 .9rem var(--sans); padding: 8px 16px; border-radius: 99px; border: 2px solid #fff; background: transparent; color: #fff; cursor: pointer; }
.jmap__replay:hover { background: #fff; color: var(--ink); }
.jmap__info { background: #fff; border: 2px solid var(--ink); border-radius: var(--radius); box-shadow: var(--shadow); padding: 28px; display: flex; flex-direction: column; gap: 6px; }
.jmap__info .btn { margin-top: auto; align-self: flex-start; }
.jpanel h3 { margin: 0 0 8px; font-size: 1.5rem; }
.jpanel p { color: var(--muted); margin: 0 0 14px; }
.jlist { list-style: none; margin: 0 0 14px; padding: 0; }
.jlist li { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px dashed var(--line); }
.jlist b { white-space: nowrap; font-size: 1.1rem; color: var(--forest); }
.jpanel__note { font-size: .92rem; background: var(--cream); border-radius: 12px; padding: 10px 14px; color: var(--ink-2) !important; }
.jmap__src { margin: 12px 0 0; color: var(--muted); font-size: .85rem; }
.jmap.js .jpanel[hidden] { display: none; }
.jmap:not(.js) .jr, .jmap:not(.js) .jkm { opacity: 1; }
.jmap:not(.js) .jmap__tabs, .jmap:not(.js) .jmap__replay { display: none; }
@media (max-width: 900px) { .jmap__body { grid-template-columns: 1fr; } .jmap__info { padding: 22px; } }
@media (max-width: 480px) { .jmap__tabs button { padding: 10px 14px; font-size: .92rem; } .jt text { font-size: 20px; } .jcol__tag text { font-size: 19px; } .jkm text { font-size: 17px; } .jlabel { font-size: 15px; } .jmap__replay { right: 8px; bottom: 8px; padding: 4px 10px; font-size: .75rem; } }
/* Hostel: animated day in the hostel */
.hd { --hd-sky: #c6ecff; }
.hd__stage { border: 2px solid var(--ink); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: #fff; }
.hd__svg { display: block; width: 100%; height: auto; }
.hd-sky { fill: var(--hd-sky); transition: fill 1.2s ease; }
.hd[data-sky=dawn] { --hd-sky: #ffd2a6; } .hd[data-sky=morning] { --hd-sky: #c6ecff; } .hd[data-sky=day] { --hd-sky: #a8dcff; }
.hd[data-sky=noon] { --hd-sky: #9ad4ff; } .hd[data-sky=afternoon] { --hd-sky: #ffe3a6; } .hd[data-sky=evening] { --hd-sky: #ffab84; }
.hd[data-sky=dusk] { --hd-sky: #5d4b8c; } .hd[data-sky=night] { --hd-sky: #14203b; }
.hd-stars { fill: #fff; opacity: 0; transition: opacity 1.2s; }
.hd[data-sky=dusk] .hd-stars { opacity: .5; } .hd[data-sky=night] .hd-stars { opacity: 1; animation: hdtw 2.6s ease-in-out infinite alternate; }
@keyframes hdtw { to { opacity: .55; } }
.hd-sun { fill: var(--yellow); stroke: #ff9d2e; stroke-width: 4; transition: transform 1.4s ease, opacity .8s; }
.hd-moon { opacity: 0; transition: opacity 1s; } .hd-moon circle { fill: #fff6cf; } .hd-moon .hd-moon__cut { fill: var(--hd-sky); transition: fill 1.2s; }
.hd[data-sky=dusk] .hd-moon, .hd[data-sky=night] .hd-moon { opacity: 1; }
.hd[data-sky=dusk] .hd-sun, .hd[data-sky=night] .hd-sun { opacity: 0; }
.hd-cloud { fill: #fff; opacity: .9; transition: opacity 1.2s; }
.hd-cloud--a { animation: hdcloud 38s linear infinite; } .hd-cloud--b { animation: hdcloud 52s linear infinite -20s; }
@keyframes hdcloud { from { translate: -420px 0; } to { translate: 700px 0; } }
.hd[data-sky=dusk] .hd-cloud, .hd[data-sky=night] .hd-cloud { opacity: .12; }
.hd-hill { fill: #8fd6a6; transition: fill 1.2s; }
.hd[data-sky=dusk] .hd-hill { fill: #4f7a6a; } .hd[data-sky=night] .hd-hill { fill: #23413a; }
.hd-bldg > rect:first-child { fill: #fff; stroke: var(--ink); stroke-width: 3; }
.hd-bldg--college > rect:first-child { fill: #fff6e8; }
.hd-roof { fill: var(--pink); stroke: var(--ink); stroke-width: 3; stroke-linejoin: round; }
.hd-bldg--college .hd-roof { fill: var(--forest); }
.hd-win { fill: #cfe9ff; stroke: var(--ink); stroke-width: 2; transition: fill .8s; }
.hd-door { fill: var(--forest); stroke: var(--ink); stroke-width: 2.5; }
.hd-sign { fill: var(--yellow); stroke: var(--ink); stroke-width: 2.5; }
.hd-signt { font: 800 13px var(--sans); text-anchor: middle; fill: var(--ink); letter-spacing: .08em; }
.hd-flag { fill: var(--green); stroke: var(--ink); stroke-width: 2.5; stroke-linejoin: round; transform-box: fill-box; transform-origin: left center; }
.hd-tree rect { fill: #7a4b2a; } .hd-tree circle { fill: #2fb36b; stroke: var(--ink); stroke-width: 2.5; }
.hd-court__ground { fill: #e8b26a; stroke: var(--ink); stroke-width: 2.5; stroke-linejoin: round; }
.hd-court__post { stroke: var(--ink); stroke-width: 3; stroke-linecap: round; display: none; }
.hd-court__net { fill: #ffffffb3; stroke: var(--ink); stroke-width: 2; }
.hd-court__ck { font-size: 22px; opacity: 0; transition: opacity .4s; }
.hd[data-where=ground] .hd-court__ck { opacity: 1; animation: hdshuttle 1.1s ease-in-out infinite alternate; }
@keyframes hdshuttle { from { translate: -70px 8px; rotate: -20deg; } to { translate: 0 -10px; rotate: 10deg; } }
.hd-road { fill: #3b3530; } .hd-lane { stroke: #fff; stroke-width: 3; stroke-dasharray: 18 14; }
.hd[data-sky=dusk] .hd-bldg--hostel .hd-win, .hd[data-sky=night] .hd-bldg--hostel .hd-win { fill: #ffd23f; }
.hd[data-sky=night] .hd-bldg--college .hd-win, .hd[data-sky=dusk] .hd-bldg--college .hd-win { fill: #2b3554; }
.hd[data-step="13"] .hd-bldg--hostel .hd-win { fill: #2b3554; }
.hd[data-step="13"] .hd-bldg--hostel .hd-win:nth-of-type(7n+3) { fill: #ffd23f; opacity: .55; }
.hd[data-step="0"] .hd-bldg--hostel .hd-win:nth-of-type(3n+2) { fill: #ffd23f; }
.hd-busw { transition: transform 2.4s cubic-bezier(.6, 0, .3, 1); transform: translate(206px, 362px); }
.hd[data-bus=college] .hd-busw { transform: translate(760px, 362px); }
.hd-bus > rect:first-child { fill: var(--yellow); stroke: var(--ink); stroke-width: 3; }
.hd-bus__w { fill: #cfe9ff; stroke: var(--ink); stroke-width: 1.5; } .hd-bus__t { fill: var(--ink); stroke: #888; stroke-width: 2; }
.hd.moving .hd-bus { animation: hdbounce .25s ease-in-out infinite alternate; }
@keyframes hdbounce { to { translate: 0 -3px; } }
.hd[data-bus=hostel] .hd-bus { scale: -1 1; }
.hd-chip { opacity: 0; transition: opacity .4s; } .hd-chip rect { fill: #fff; stroke: var(--ink); stroke-width: 2.5; }
.hd-chip text { font: 800 15px var(--sans); text-anchor: middle; fill: var(--ink); }
.hd[data-where=road] .hd-chip { opacity: 1; }
.hd-bub { transition: transform .8s cubic-bezier(.5, 1.5, .4, 1); transform: translate(172px, 58px); }
.hd-bub circle, .hd-bub__tail { fill: #fff; stroke: var(--ink); stroke-width: 3; stroke-linejoin: round; }
.hd-bub .hd-bub__in { stroke: none; }
.hd-bub__i { font-size: 40px; text-anchor: middle; }
.hd[data-where=college] .hd-bub { transform: translate(812px, 36px); }
.hd[data-where=road] .hd-bub { transform: translate(480px, 250px); }
.hd[data-where=gate] .hd-bub { transform: translate(206px, 262px); }
.hd[data-where=ground] .hd-bub { transform: translate(395px, 214px); }
.hd-bub.pop .hd-bub__i { animation: hdpop .5s cubic-bezier(.5, 1.8, .4, 1); transform-box: fill-box; transform-origin: center; }
@keyframes hdpop { from { transform: scale(.2); opacity: 0; } }
.hd__cap { display: flex; align-items: center; gap: 14px; padding: 14px 20px; border-top: 2px solid var(--ink); background: #fff; }
.hd__cap p { margin: 0; flex: 1; line-height: 1.35; } .hd__cap p b { display: block; font-size: 1.15rem; } .hd__cap p span { color: var(--muted); }
.hd__capi { width: 48px; height: 48px; flex: none; display: grid; place-items: center; font-size: 1.6rem; border-radius: 14px; background: var(--yellow); border: 2px solid var(--ink); }
.hd__play { width: 40px; height: 40px; flex: none; border-radius: 50%; border: 2px solid var(--ink); background: #fff; font: 800 .8rem var(--sans); cursor: pointer; }
.hd__play:hover { background: var(--ink); color: #fff; }
.hd__count { font-weight: 800; font-size: .95rem; white-space: nowrap; color: var(--muted); } .hd__count b { color: var(--ink); font-size: 1.2rem; }
.hd__line { list-style: none; margin: 22px 0 0; padding: 0; display: grid; grid-template-columns: repeat(14, 1fr); gap: 4px; position: relative; }
.hd__line::before { content: ""; position: absolute; left: 3.5%; right: 3.5%; top: 24px; height: 6px; border-radius: 6px; background: linear-gradient(90deg, #ffd2a6, #a8dcff 35%, #ffe3a6 60%, #ffab84 75%, #5d4b8c 86%, #14203b); border: 1.5px solid var(--ink); }
.hd__line button { position: relative; width: 100%; display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 0; border: 0; background: none; font: inherit; color: var(--ink); cursor: pointer; text-align: center; }
.hd-ico { width: 52px; height: 52px; display: grid; place-items: center; font-size: 1.4rem; border-radius: 50%; background: #fff; border: 2px solid var(--ink); transition: transform .25s, background .25s, box-shadow .25s; }
.hd__line b { font-size: .78rem; line-height: 1.2; font-weight: 700; color: var(--muted); }
.hd__line button:hover .hd-ico { transform: translateY(-3px); }
.hd__line li.past .hd-ico { background: var(--mint); }
.hd__line li.on .hd-ico { background: var(--yellow); transform: scale(1.18); box-shadow: 3px 3px 0 var(--ink); }
.hd__line li.on b { color: var(--ink); }
.hd-fallback { display: none; }
.hd:not(.js) .hd__cap { display: none; }
@media (max-width: 1000px) {
  .hd__line { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 10px; padding: 4px 4px 10px; scrollbar-width: none; }
  .hd__line::-webkit-scrollbar { display: none; } .hd__line::before { display: none; }
  .hd__line li { flex: 0 0 76px; scroll-snap-align: center; }
}
@media (max-width: 560px) { .hd__cap { padding: 12px 14px; gap: 10px; } .hd__capi { width: 40px; height: 40px; font-size: 1.3rem; } .hd__cap p b { font-size: 1rem; } .hd__cap p span { font-size: .88rem; } }
@media (prefers-reduced-motion: reduce) { .hd-busw, .hd-bub, .hd-sun, .hd-sky { transition: none; } .hd-stars, .hd-cloud, .hd-court__ck { animation: none !important; } }
/* Administrative staff */
.staff-group + .staff-group { margin-top: 56px; }
.staff-group h2 { display: flex; align-items: center; gap: 12px; }
.staff-group h2 small { font: 800 .95rem var(--sans); background: var(--yellow); border: 2px solid var(--ink); border-radius: 99px; padding: 2px 12px; }
.staff-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 24px; margin-top: 22px; }
.staff { background: #fff; border: 2px solid var(--ink); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; display: flex; flex-direction: column; transition: transform .2s, box-shadow .2s; }
.staff:hover { transform: translate(-3px, -3px); box-shadow: 9px 9px 0 var(--ink); }
.staff__ph { aspect-ratio: 1; background: var(--mint); border-bottom: 2px solid var(--ink); }
.staff-grid .staff:nth-child(3n+2) .staff__ph { background: var(--lilac); } .staff-grid .staff:nth-child(3n+3) .staff__ph { background: var(--pink); }
.staff__ph img { width: 100%; height: 100%; object-fit: cover; object-position: center top; display: block; }
.staff__av { display: grid; place-items: center; width: 100%; height: 100%; font: 800 3.4rem var(--serif); color: var(--ink); }
.staff__body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 8px; }
.staff__body > b { font-size: 1.3rem; line-height: 1.2; }
.staff__role { align-self: flex-start; font-weight: 700; font-size: .85rem; background: var(--forest); color: #fff; border-radius: 99px; padding: 4px 12px; }
.staff__meta { list-style: none; margin: 6px 0 0; padding: 0; display: grid; gap: 6px; font-size: .93rem; color: var(--ink-2); }
.staff__meta a { color: var(--forest); font-weight: 600; word-break: break-all; }
.staff-more { margin-top: 48px; display: flex; align-items: center; gap: 28px; padding: 28px 32px; border: 2px dashed var(--ink); border-radius: var(--radius); background: #fff6cf; }
.staff-more p { margin: 0; font-size: 1.05rem; color: var(--ink-2); } .staff-more p b { display: block; font-size: 1.3rem; color: var(--ink); margin-bottom: 4px; }
.staff-more__faces { display: flex; flex: none; }
.staff-more__faces span { width: 52px; height: 52px; display: grid; place-items: center; font-size: 1.5rem; border-radius: 50%; border: 2px solid var(--ink); background: #fff; margin-left: -12px; }
.staff-more__faces span:first-child { margin-left: 0; } .staff-more__faces span:last-child { background: var(--ink); color: #fff; font-weight: 800; }
@media (max-width: 700px) { .staff-more { flex-direction: column; align-items: flex-start; padding: 22px; gap: 16px; } }
/* Study ethics: college rules */
.rules { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.rule { background: #fff; border: 2px solid var(--ink); border-radius: var(--radius-sm); padding: 24px; box-shadow: 5px 5px 0 var(--ink); }
.rule h3 { margin: 12px 0 6px; font-size: 1.2rem; } .rule p { margin: 0; color: var(--ink-2); font-size: .95rem; }
.rule__i { width: 52px; height: 52px; display: grid; place-items: center; font-size: 1.6rem; border-radius: 14px; border: 2px solid var(--ink); background: var(--yellow); }
.rules .rule:nth-child(6n+2) .rule__i { background: var(--pink); } .rules .rule:nth-child(6n+3) .rule__i { background: var(--lilac); }
.rules .rule:nth-child(6n+4) .rule__i { background: var(--mint); } .rules .rule:nth-child(6n+5) .rule__i { background: var(--ice); } .rules .rule:nth-child(6n+6) .rule__i { background: #ffd2a6; }
.zero { margin-top: 28px; background: var(--night); color: #fff; border-radius: var(--radius); padding: 32px; display: grid; grid-template-columns: 1fr 2.2fr; gap: 28px; align-items: start; box-shadow: 6px 6px 0 var(--orange); }
.zero .eyebrow { color: var(--orange); } .zero h3 { margin: 8px 0 0; font-family: var(--serif); font-size: 2rem; line-height: 1.1; }
.zero ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.zero li { border: 1.5px solid #ffffff33; border-radius: 16px; padding: 14px 16px 14px 46px; position: relative; color: #cfc8bf; font-size: .93rem; }
.zero li::before { content: "✕"; position: absolute; left: 14px; top: 13px; width: 22px; height: 22px; border-radius: 50%; background: var(--orange); color: #fff; font: 800 .75rem/22px var(--sans); text-align: center; }
.zero li b { display: block; color: #fff; font-size: 1.02rem; margin-bottom: 2px; }
@media (max-width: 1000px) { .rules { grid-template-columns: 1fr 1fr; } .zero { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .rules, .zero ul { grid-template-columns: 1fr; } .zero { padding: 24px; } }
