/* ARK College of Pharmacy — inner pages. Every page has its own layout (October 2026).
   Only the theme colours / fonts / corners from Website admin → Settings → Look and layout are used,
   so the pages follow whichever theme is chosen. */

/* ---------------------------------------------------------------- shared small parts */
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.pg-crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 9px; font-size: 14.5px; color: var(--muted); margin: 0 0 18px; }
.pg-crumbs a { color: inherit; text-decoration: none; }
.pg-crumbs a:hover { color: var(--herb); text-decoration: underline; }
.pg-crumbs span { opacity: .55; }
.pg-crumbs .cur { opacity: 1; color: var(--ink); font-weight: 600; }
.pg-eyebrow { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 14px; font: 700 13px/1 var(--body); letter-spacing: .16em; text-transform: uppercase; color: var(--gold-ink); }
.pg-eyebrow::before { content: ""; width: 34px; height: 2px; background: currentColor; }
.pg-eyebrow.light { color: var(--gold-soft); }
.pg-words .w > span { transform: none; }
.js-anim .pg-words .w > span { transform: translateY(108%); }
.js-anim.ready .pg-words .w > span { animation: word .9s var(--ease) both; animation-delay: calc(.12s + var(--wi) * .07s); }
.js-anim .pg-in { opacity: 0; transform: translateY(14px); }
.js-anim.ready .pg-in { opacity: 1; transform: none; transition: opacity .7s var(--d, .25s), transform .8s var(--ease) var(--d, .25s); }
.cd-ticks { list-style: none; margin: 0 0 20px; padding: 0; display: grid; gap: 11px; }
.cd-ticks li { display: flex; gap: 12px; align-items: flex-start; }
.cd-ticks .i { margin-top: .22em; color: var(--herb); width: 1.2em; height: 1.2em; padding: 3px; border-radius: 50%; background: var(--wash); box-sizing: content-box; }
.cd-chips { list-style: none; margin: 12px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.cd-chips li { padding: 6px 14px; border-radius: 999px; background: var(--wash); border: 1px solid var(--line); color: var(--leaf); font-weight: 600; font-size: 15px; }
.empty { text-align: center; color: var(--muted); padding: 50px 0; }
.mt { margin-top: 28px; }

/* ================================================================ ABOUT: arch photo + chapter index */
.ab-hero { background: var(--wash); position: relative; overflow: hidden; }
.ab-hero::before { content: ""; position: absolute; inset: 0; opacity: .5; background: radial-gradient(circle at 1px 1px, var(--line-2) 1px, transparent 1.4px) 0 0/22px 22px; }
.ab-hero .wrap { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 64px; align-items: center; padding-top: 52px; padding-bottom: 72px; }
.ab-hero h1 { font-size: clamp(36px, 4.8vw, 62px); max-width: 13ch; margin-bottom: 22px; }
.ab-intro { font-size: clamp(17.5px, 1.5vw, 20px); line-height: 1.65; padding-left: 20px; border-left: 3px solid var(--gold); max-width: 54ch; margin-bottom: 26px; }
.ab-arch { margin: 0; position: relative; max-width: 440px; justify-self: center; width: 100%; }
.ab-arch > img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 999px 999px var(--r) var(--r); box-shadow: 0 40px 60px -40px rgba(var(--shade), .8); }
.ab-badge { position: absolute; left: -46px; bottom: 34px; width: 150px; height: 150px; color: var(--leaf); filter: drop-shadow(0 12px 18px rgba(var(--shade), .3)); }
.ab-badge-bg { fill: var(--gold); }
.ab-badge-t { fill: currentColor; font-family: var(--body); transform-origin: 80px 80px; animation: spin 26s linear infinite; }
.ab-badge-rx { fill: currentColor; font-family: var(--display); }
@keyframes spin { to { transform: rotate(360deg); } }
.ab-ribbon { background: var(--leaf); color: var(--on-dark); overflow: hidden; border-block: 4px solid var(--gold); }
.ab-track { display: flex; width: max-content; animation: marq 42s linear infinite; }
.ab-ribbon:hover .ab-track { animation-play-state: paused; }
.ab-track ul { display: flex; list-style: none; margin: 0; padding: 0; }
.ab-track li { display: flex; align-items: baseline; gap: 12px; padding: 20px 38px; white-space: nowrap; position: relative; }
.ab-track li::after { content: "✦"; position: absolute; right: -6px; color: var(--gold); font-size: 14px; }
.ab-track b { font: 800 34px/1 var(--display); color: var(--gold-soft); font-variant-numeric: tabular-nums; }
.ab-track span { font-size: 16px; }
@keyframes marq { to { transform: translateX(-50%); } }

.ab-chap { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 64px; padding-top: 70px; padding-bottom: 30px; align-items: start; }
.ab-index { position: sticky; top: 96px; }
.ab-index p { font: 700 12.5px/1 var(--body); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin: 0 0 12px; }
.ab-index ol { list-style: none; margin: 0; padding: 0; border-left: 2px solid var(--line); }
.ab-index a { display: flex; gap: 10px; align-items: baseline; padding: 9px 0 9px 16px; margin-left: -2px; border-left: 2px solid transparent; text-decoration: none; color: var(--muted); font-weight: 600; transition: color .2s, border-color .2s, padding .25s var(--ease); }
.ab-index a small { color: var(--gold-ink); font-variant-numeric: tabular-nums; font-size: 13px; }
.ab-index a:hover { color: var(--leaf); }
.ab-index a.on { color: var(--leaf); border-left-color: var(--gold); padding-left: 22px; }
.ab-ch { padding-bottom: 70px; scroll-margin-top: 100px; }
.ab-ch > h2 { display: flex; align-items: baseline; gap: 14px; margin-bottom: 26px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.ab-ch > h2 small { font: 700 15px/1 var(--body); color: var(--gold-ink); letter-spacing: .1em; }
.ab-story { display: grid; grid-template-columns: 1.2fr .8fr; gap: 34px; align-items: start; }
.ab-text { font-size: 18.5px; line-height: 1.75; }
.ab-text p:first-child::first-letter { font: 700 3.7em/.8 var(--display); float: left; margin: .08em .12em 0 0; color: var(--herb); }
.ab-photo { margin: 6px 0 0; }
.ab-photo img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: var(--r); box-shadow: 14px 14px 0 var(--gold-soft); }
.ab-why { list-style: none; margin: 0; padding: 0; counter-reset: w; }
.ab-why li { display: grid; grid-template-columns: 74px 1fr; gap: 14px; align-items: baseline; padding: 20px 0; border-bottom: 1px solid var(--line); }
.ab-why span { font: 800 40px/1 var(--display); color: transparent; -webkit-text-stroke: 1.5px var(--herb); }
.ab-why p { margin: 0; font-size: 19px; line-height: 1.55; }
.ab-aims { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.ab-aim { background: var(--leaf); color: var(--on-dark); padding: 30px 28px; border-radius: var(--r); position: relative; overflow: hidden; }
.ab-aim:nth-child(2) { background: var(--herb); }
.ab-aim::after { content: "“"; position: absolute; right: 18px; top: -18px; font: 700 150px/1 var(--display); color: rgba(255, 255, 255, .1); }
.ab-aim h3 { color: var(--gold-soft); margin-bottom: 14px; }
.ab-aim ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 12px; position: relative; }
.ab-aim li { padding-left: 22px; position: relative; }
.ab-aim li::before { content: ""; position: absolute; left: 0; top: .7em; width: 10px; height: 2px; background: var(--gold); }
.ab-fac { list-style: none; margin: 0; padding: 0; }
.ab-fac li { display: grid; grid-template-columns: 54px minmax(150px, .8fr) 1.4fr; gap: 18px; align-items: center; padding: 20px 14px; border-bottom: 1px solid var(--line); transition: background .25s, transform .3s var(--ease); }
.ab-fac li:hover { background: var(--wash); transform: translateX(8px); }
.ab-fac-i { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--gold-soft); color: var(--gold-ink); }
.ab-fac-i .i { width: 24px; height: 24px; }
.ab-fac b { font: 700 20px/1.2 var(--display); color: var(--leaf); }
.ab-fac p { margin: 0; color: var(--muted); }
.ab-voices { display: grid; gap: 28px; }
.ab-voice { margin: 0; max-width: 640px; padding: 28px 30px; border-radius: var(--r); background: var(--wash); position: relative; }
.ab-voice.r { margin-left: auto; background: var(--gold-soft); }
.ab-voice::before { content: "“"; position: absolute; left: 18px; top: -16px; font: 700 90px/1 var(--display); color: var(--herb); }
.ab-voice blockquote { margin: 12px 0 18px; font-size: 20px; line-height: 1.55; font-style: italic; }
.ab-voice figcaption { display: flex; align-items: center; gap: 12px; }
.ab-voice figcaption img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }
.ab-voice figcaption b { display: block; color: var(--leaf); }
.ab-appr { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 22px; }
.ab-appr a { display: flex; flex-direction: column; gap: 6px; padding: 18px; border: 1px solid var(--line); border-radius: var(--r); text-decoration: none; color: var(--ink); transition: border-color .2s, transform .3s var(--ease); }
.ab-appr a:hover { border-color: var(--herb); transform: translateY(-4px); }
.ab-appr b { font: 800 30px/1 var(--display); color: var(--herb); }
.ab-appr span { font-size: 15px; color: var(--muted); }

/* ================================================================ COURSES: two halves + versus */
.cs-top { padding: 52px 0 34px; }
.cs-top .wrap { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px 40px; flex-wrap: wrap; }
.cs-top h1 { font-size: clamp(36px, 5vw, 64px); margin: 0; }
.cs-lead { max-width: 36ch; margin: 0; font-size: 19px; color: var(--muted); }
.cs-split { display: flex; min-height: 640px; overflow: hidden; background: var(--leaf); }
.cs-half { position: relative; flex: 1 1 0; display: flex; align-items: flex-end; color: #fff; overflow: hidden; isolation: isolate; transition: flex .7s var(--ease), opacity .8s, transform 1s var(--ease); }
.cs-half::before { content: ""; position: absolute; inset: 0; z-index: -2; background: var(--bg) center/cover no-repeat; transform: scale(1.04); transition: transform 1.4s var(--ease); }
.cs-half::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(var(--shade), .97) 8%, rgba(var(--shade), .86) 55%, rgba(var(--shade), .62)); }
.cs-half.two::after { background: linear-gradient(0deg, var(--herb) 8%, rgba(var(--shade), .88) 58%, rgba(var(--shade), .64)); }
.cs-half + .cs-half { border-left: 3px solid var(--gold); }
.cs-code { position: absolute; top: 22px; left: 30px; font: 800 clamp(64px, 9vw, 136px)/.95 var(--display); color: transparent; -webkit-text-stroke: 2px rgba(255, 255, 255, .55); letter-spacing: -.02em; white-space: nowrap; transition: -webkit-text-stroke-color .4s; }
.cs-body { padding: 34px 30px 38px; max-width: 560px; }
.cs-level { display: inline-block; margin: 0 0 12px; padding: 4px 12px; border-radius: 999px; background: var(--gold); color: #1a1405; font: 700 13px/1.4 var(--body); letter-spacing: .1em; text-transform: uppercase; }
.cs-body h2 { color: #fff; font-size: clamp(28px, 3vw, 40px); margin-bottom: 14px; }
.cs-body h2 a { color: inherit; text-decoration: none; }
.cs-pills { list-style: none; margin: 0 0 14px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.cs-pills li { padding: 5px 13px; border: 1px solid rgba(255, 255, 255, .5); border-radius: 999px; font-size: 14.5px; }
.cs-sum { color: rgba(255, 255, 255, .92); font-size: 17.5px; margin-bottom: 22px; }
@media (hover: hover) and (min-width: 901px) {
  .cs-split:hover .cs-half { flex: .82; }
  .cs-split .cs-half:hover { flex: 1.3; }
  .cs-half:hover::before { transform: scale(1.12); }
  .cs-half:hover .cs-code { -webkit-text-stroke-color: var(--gold); }
}
.cs-vs-sec { padding: 76px 0; background: var(--wash); }
.cs-vs-title { text-align: center; margin-bottom: 36px; }
.cs-vs { max-width: 980px; margin: 0 auto; --n: 2; }
.cs-vs-head { display: grid; grid-template-columns: repeat(var(--n), 1fr); gap: 16px; margin-bottom: 8px; }
.cs-vs-head b { background: var(--leaf); color: #fff; text-align: center; padding: 20px 14px; font: 800 clamp(26px, 3.4vw, 42px)/1.1 var(--display); border-radius: var(--r); }
.cs-vs-head b:nth-child(even) { background: var(--herb); }
.cs-vs-head small { display: block; font: 500 14.5px/1.3 var(--body); color: var(--on-dark); margin-top: 6px; }
.cs-vs-row { display: grid; grid-template-columns: repeat(var(--n), 1fr); gap: 16px; padding: 30px 0 4px; position: relative; }
.cs-vs-lbl { position: absolute; left: 50%; top: 0; transform: translateX(-50%); z-index: 1; padding: 3px 16px; border-radius: 999px; background: var(--gold); color: #1a1405; font: 700 12.5px/1.6 var(--body); letter-spacing: .12em; text-transform: uppercase; }
.cs-vs-row::before { content: ""; position: absolute; left: 0; right: 0; top: 11px; border-top: 1px dashed var(--line-2); }
.cs-vs-row p { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 16px 18px; text-align: center; font-size: 17px; }

/* ================================================================ COURSE: spec sheet, journey, rail */
.cd-hero { background: var(--leaf); color: var(--on-dark); position: relative; overflow: hidden; }
.cd-ghost { position: absolute; right: -2%; bottom: -.18em; font: 800 clamp(120px, 22vw, 320px)/1 var(--display); color: transparent; -webkit-text-stroke: 2px rgba(255, 255, 255, .09); pointer-events: none; white-space: nowrap; }
.cd-hero .wrap { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 50px; align-items: end; padding-top: 52px; padding-bottom: 110px; }
.cd-hero .pg-crumbs, .cd-hero .pg-crumbs .cur { color: var(--on-dark-2); }
.cd-hero .pg-crumbs a:hover { color: #fff; }
.cd-hero h1 { color: #fff; font-size: clamp(34px, 4.6vw, 60px); margin-bottom: 14px; }
.cd-sub { font-size: 19px; max-width: 40ch; margin-bottom: 26px; }
.cd-photo { margin: 0; }
.cd-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r) var(--r) 0 0; box-shadow: 0 -10px 0 var(--gold); }
.cd-specwrap { position: relative; z-index: 2; margin-top: -64px; }
.cd-spec { margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); background: #fff; border: 1px solid var(--line); border-radius: var(--r); box-shadow: 0 30px 50px -34px rgba(var(--shade), .7); }
.cd-spec > div { padding: 22px 22px 20px; border-left: 1px solid var(--line); }
.cd-spec > div:first-child { border-left: 0; }
.cd-spec dt { font: 700 12.5px/1 var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--gold-ink); margin-bottom: 9px; }
.cd-spec dd { margin: 0; font: 700 19px/1.3 var(--display); color: var(--leaf); }
.cd-nav { position: sticky; top: 62px; z-index: 30; background: rgba(255, 255, 255, .94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); margin-top: 34px; }
.cd-nav .wrap { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; }
.cd-nav a { padding: 15px 16px; white-space: nowrap; text-decoration: none; color: var(--muted); font-weight: 600; border-bottom: 3px solid transparent; transition: color .2s, border-color .2s; }
.cd-nav a:hover { color: var(--leaf); }
.cd-nav a.on { color: var(--leaf); border-bottom-color: var(--gold); }
.cd-sec { padding: 72px 0; scroll-margin-top: 110px; overflow-x: clip; }
.cd-tint { background: var(--wash); }
.cd-lead { font: 500 clamp(21px, 2.2vw, 28px)/1.5 var(--display); color: var(--leaf); max-width: 48ch; margin-bottom: 50px; }
.cd-whyhead { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 30px; margin-bottom: 22px; }
.cd-whyhead h2 { margin: 0; }
.cd-whyhead p { margin: 0; color: var(--muted); max-width: 52ch; }
.cd-why { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.cd-why > div { padding: 28px 28px 24px; border: 0 solid var(--line); border-width: 0 0 1px 1px; background: #fff; transition: background .25s; }
.cd-why > div:hover { background: var(--wash); }
.cd-why > div:nth-child(odd) { border-left: 0; }
.cd-why > div:nth-last-child(-n+2) { border-bottom: 0; }
.cd-why span { display: block; font: 800 34px/1 var(--display); color: var(--gold); margin-bottom: 10px; }
.cd-why h3 { font-size: 21px; margin-bottom: 6px; }
.cd-why p { margin: 0; color: var(--muted); }
.cd-center { text-align: center; max-width: 640px; margin: 0 auto 46px; }
.cd-center p { color: var(--muted); font-size: 18px; margin: 0; }
.cd-journey { list-style: none; margin: 0; padding: 0; position: relative; max-width: 900px; margin-inline: auto; counter-reset: s; }
.cd-journey::before { content: ""; position: absolute; left: 50%; top: 10px; bottom: 10px; width: 3px; background: repeating-linear-gradient(var(--line-2) 0 8px, transparent 8px 14px); transform: translateX(-50%); }
.cd-journey > li { position: relative; width: 50%; padding: 0 44px 34px 0; }
.cd-journey > li:nth-child(even) { margin-left: 50%; padding: 0 0 34px 44px; }
.cd-node { position: absolute; right: -22px; top: 16px; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--gold); color: #1a1405; font: 800 19px/1 var(--display); box-shadow: 0 0 0 6px var(--wash); z-index: 1; }
.cd-journey > li:nth-child(even) .cd-node { right: auto; left: -22px; }
.cd-stage { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 22px 24px; box-shadow: 0 20px 34px -28px rgba(var(--shade), .6); }
.cd-stage h3 { font-size: 21px; margin-bottom: 8px; }
.cd-stage p { margin: 0; color: var(--muted); }
.cd-two { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; }
.cd-two h2 { font-size: clamp(24px, 2.6vw, 32px); margin-bottom: 20px; }
.cd-dark { background: var(--leaf); color: var(--on-dark); padding-bottom: 80px; }
.cd-dark h2 { color: #fff; }
.cd-dark .cd-center p { color: var(--on-dark); }
.cd-rail { overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: thin; scrollbar-color: var(--gold) transparent; padding: 6px 0 20px; }
.cd-rail-in { display: flex; gap: 18px; width: max-content; padding-inline: max(20px, calc((100vw - var(--wrap)) / 2 + 20px)); }
.cd-rail article { scroll-snap-align: start; width: min(320px, 78vw); padding: 26px 24px 28px; border-radius: var(--r); background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .16); transition: background .3s, transform .35s var(--ease); }
.cd-rail article:hover { background: rgba(255, 255, 255, .13); transform: translateY(-6px); }
.cd-rail span { display: block; font: 800 48px/1 var(--display); color: transparent; -webkit-text-stroke: 1.5px var(--gold); margin-bottom: 14px; }
.cd-rail h3 { color: #fff; font-size: 21px; }
.cd-rail p { margin: 0; color: var(--on-dark); font-size: 16.5px; }
.cd-apply { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; padding: 0 20px; max-width: var(--wrap); }
.cd-apply > div { padding: 34px 30px; }
.cd-apply h2 { font-size: clamp(24px, 2.4vw, 30px); margin-bottom: 18px; }
.cd-docs { background: var(--gold-soft); margin-right: -20px; }

/* ================================================================ ADMISSIONS: path, tabs, tick list */
.ad-hero { background: var(--leaf); color: var(--on-dark); position: relative; overflow: hidden; }
.ad-hero .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 50px; align-items: center; padding-top: 50px; padding-bottom: 70px; }
.ad-hero .pg-crumbs, .ad-hero .pg-crumbs .cur { color: var(--on-dark-2); }
.ad-hero .pg-crumbs a:hover { color: #fff; }
.ad-open { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 18px; padding: 7px 16px; border-radius: 999px; background: rgba(255, 255, 255, .1); color: var(--gold-soft); font-weight: 600; }
.ad-hero h1 { color: #fff; font-size: clamp(36px, 5vw, 66px); max-width: 13ch; margin-bottom: 18px; }
.ad-lead { font-size: 19px; max-width: 46ch; margin-bottom: 28px; }
.ad-pic { margin: 0; }
.ad-pic img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 28px 28px 28px var(--r); transform: rotate(1.5deg); box-shadow: -16px 16px 0 var(--gold); }
.ad-path-sec { padding: 86px 0; }
.ad-path-grid { display: grid; grid-template-columns: 340px 1fr; gap: 64px; align-items: start; }
.ad-path-head { position: sticky; top: 110px; }
.ad-path-head p { color: var(--muted); font-size: 18px; }
.ad-path { list-style: none; margin: 0; padding: 0; position: relative; --p: 0; }
.ad-path::before, .ad-path::after { content: ""; position: absolute; left: 34px; top: 30px; bottom: 30px; width: 3px; border-radius: 2px; }
.ad-path::before { background: var(--line); }
.ad-path::after { background: linear-gradient(var(--herb), var(--gold)); transform-origin: top; transform: scaleY(var(--p)); }
.ad-path li { position: relative; display: grid; grid-template-columns: 72px 1fr; gap: 26px; align-items: start; padding: 0 0 34px; }
.ad-path li:last-child { padding-bottom: 0; }
.ad-num { width: 70px; height: 70px; border-radius: 50%; display: grid; place-items: center; background: #fff; border: 3px solid var(--herb); color: var(--herb); font: 800 24px/1 var(--display); position: relative; z-index: 1; transition: background .4s, color .4s, transform .4s var(--spring); }
.ad-path li.in .ad-num { background: var(--herb); color: #fff; transform: scale(1.04); }
.ad-path li > div { background: var(--wash); border-radius: var(--r); padding: 22px 26px; }
.ad-path h3 { font-size: 23px; margin-bottom: 6px; }
.ad-path p { margin: 0; color: var(--muted); }
.ad-check-sec { background: var(--wash); padding: 80px 0; scroll-margin-top: 90px; }
.ad-check-head { text-align: center; margin-bottom: 30px; }
.ad-check-head p { color: var(--muted); font-size: 18px; margin: 0; text-align: center; }
.ad-switch { display: flex; justify-content: center; margin-bottom: 26px; }
.ad-switch div { display: inline-flex; padding: 5px; border-radius: 999px; background: #fff; border: 1px solid var(--line); gap: 4px; }
.ad-switch button { appearance: none; border: 0; background: none; cursor: pointer; padding: 12px 30px; border-radius: 999px; font: 700 17px/1 var(--body); color: var(--muted); transition: background .25s, color .25s; }
.ad-switch button[aria-selected="true"] { background: var(--herb); color: #fff; }
.ad-pane { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; max-width: 980px; margin: 0 auto 28px; }
.ad-tabs.on .ad-pane { margin-bottom: 0; }
.ad-tabs.on .ad-pane[hidden] { display: none; }
.ad-tabs.on .ad-pane:not([hidden]) { animation: paneIn .45s var(--ease); }
@keyframes paneIn { from { opacity: 0; transform: translateY(14px); } }
.ad-elig, .ad-docs { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 28px 28px 24px; }
.ad-elig h3, .ad-docs h3 { font-size: 22px; }
.ad-more { margin: 0; }
.ad-docs ul { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 6px; }
.ad-docs label { display: flex; gap: 12px; align-items: flex-start; padding: 9px 10px; border-radius: calc(var(--r) / 1.5); cursor: pointer; transition: background .2s; }
.ad-docs label:hover { background: var(--wash); }
.ad-docs input { position: absolute; opacity: 0; }
.ad-box { flex: none; width: 24px; height: 24px; margin-top: 2px; border-radius: 6px; border: 2px solid var(--line-2); display: grid; place-items: center; color: transparent; transition: background .2s, border-color .2s, color .2s, transform .25s var(--spring); }
.ad-box .i { width: 15px; height: 15px; stroke-width: 3; }
.ad-docs input:checked + .ad-box { background: var(--herb); border-color: var(--herb); color: #fff; transform: scale(1.08); }
.ad-docs input:checked ~ .ad-doc { color: var(--muted); text-decoration: line-through; text-decoration-color: var(--gold); }
.ad-docs input:focus-visible + .ad-box { outline: 3px solid var(--gold); outline-offset: 2px; }
.ad-prog { display: flex; align-items: center; gap: 12px; margin-top: 6px; font-size: 15px; }
.ad-bar { flex: 1; height: 8px; border-radius: 99px; background: var(--wash); overflow: hidden; }
.ad-bar i { display: block; height: 100%; width: calc(var(--v, 0) * 100%); background: linear-gradient(90deg, var(--herb), var(--gold)); border-radius: 99px; transition: width .5s var(--ease); }
.ad-prog b { white-space: nowrap; color: var(--herb); }
.ad-schol { background: var(--gold-soft); padding: 54px 0; }
.ad-schol .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px 50px; flex-wrap: wrap; }
.ad-schol h2 { margin-bottom: 10px; }
.ad-schol p { margin: 0; max-width: 56ch; font-size: 18px; }
.ad-ask { background: var(--leaf); color: var(--on-dark); padding: 80px 0; }
.ad-ask .wrap { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: start; }
.ad-ask h2 { color: #fff; }
.ad-ask-t p { font-size: 18px; }
.ad-tel { display: flex; align-items: center; gap: 12px; margin-top: 10px; font: 800 clamp(26px, 3vw, 36px)/1.1 var(--display); color: var(--gold-soft); text-decoration: none; }
.ad-tel:hover { color: #fff; }
.ad-faq { margin-top: 24px; }
.ad-faq a { color: var(--gold-soft); }
.ad-ask .enquiry { color: var(--ink); }
.ad-ask .enquiry h2 { color: var(--leaf); }

/* ================================================================ APPROVALS: certificates */
.ap-hero { text-align: center; padding: 56px 0 36px; background: var(--paper); }
.ap-hero .pg-crumbs { justify-content: center; }
.ap-crest { margin: 0 auto 14px; width: 84px; height: 84px; }
.ap-hero h1 { font-size: clamp(32px, 4.2vw, 52px); position: relative; display: block; margin-bottom: 12px; }
.ap-sub { max-width: 56ch; margin: 0 auto; color: var(--muted); font-size: 18px; }
.ap-wall { padding: 20px 0 90px; background: linear-gradient(var(--paper), var(--wash) 40%); }
.ap-wall .wrap { max-width: 920px; display: grid; gap: 36px; }
.ap-cert { background: var(--label); padding: 14px; border: 1px solid var(--line-2); box-shadow: 0 34px 50px -36px rgba(var(--shade), .75); position: relative; }
.ap-frame { border: 4px double var(--gold); padding: 38px 40px; display: grid; grid-template-columns: 150px 1fr; gap: 38px; align-items: center; position: relative; }
.ap-frame::before, .ap-frame::after { content: ""; position: absolute; width: 22px; height: 22px; border: 2px solid var(--gold); }
.ap-frame::before { left: -4px; top: -4px; border-right: 0; border-bottom: 0; }
.ap-frame::after { right: -4px; bottom: -4px; border-left: 0; border-top: 0; }
.ap-seal { width: 150px; height: 150px; border-radius: 50%; display: grid; place-items: center; color: var(--leaf); position: relative;
  background: radial-gradient(circle at 35% 30%, var(--gold-hi), var(--gold) 55%, var(--gold-2)); box-shadow: inset 0 0 0 5px var(--gold-soft), inset 0 0 0 8px var(--gold-2), 0 14px 22px -12px rgba(0, 0, 0, .5); transform: rotate(-6deg); }
.ap-cert:nth-child(even) .ap-seal { transform: rotate(5deg); }
.ap-seal b { font: 800 34px/1 var(--display); letter-spacing: .03em; }
.js-anim .ap-cert[data-anim] .ap-seal { opacity: 0; transform: scale(1.8) rotate(-24deg); }
.js-anim .ap-cert.in .ap-seal { opacity: 1; transform: rotate(-6deg); transition: opacity .3s .35s, transform .6s var(--spring) .35s; }
.ap-kicker { margin: 0 0 6px; font: 700 12.5px/1 var(--body); letter-spacing: .2em; text-transform: uppercase; color: var(--gold-ink); }
.ap-txt h2 { font-size: clamp(24px, 2.6vw, 32px); margin-bottom: 10px; }
.ap-txt p { color: var(--muted); }

/* ================================================================ FACULTY: portraits + staff ID cards */
.fc-hero { background: var(--leaf); color: var(--on-dark); overflow: hidden; }
.fc-hero .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; padding-top: 50px; padding-bottom: 60px; }
.fc-hero .pg-crumbs, .fc-hero .pg-crumbs .cur { color: var(--on-dark-2); }
.fc-hero h1 { color: #fff; font-size: clamp(34px, 4.6vw, 60px); max-width: 12ch; }
.fc-sub { font-size: 19px; max-width: 36ch; }
.fc-count { display: inline-flex; align-items: center; gap: 14px; margin: 0; color: var(--gold-soft); }
.fc-count b { font: 800 34px/1 var(--display); color: #fff; }
.fc-count i { width: 5px; height: 5px; background: var(--gold); border-radius: 50%; }
.fc-faces { display: flex; justify-content: center; }
.fc-faces img { width: clamp(96px, 13vw, 170px); aspect-ratio: 1; object-fit: cover; border-radius: 50%; border: 5px solid var(--leaf); margin-left: -28px; box-shadow: 0 0 0 3px var(--gold); background: var(--wash); }
.fc-faces img:first-child { margin-left: 0; }
.fc-faces img:nth-child(even) { margin-top: 44px; }
.fc-leaders { padding: 70px 0 30px; }
.fc-lead { display: grid; grid-template-columns: 340px 1fr; gap: 54px; align-items: center; margin-bottom: 64px; }
.fc-lead.r { grid-template-columns: 1fr 340px; }
.fc-lead.r figure { order: 2; }
.fc-lead figure { margin: 0; position: relative; }
.fc-lead figure::before { content: ""; position: absolute; inset: 18px -18px -18px 18px; border: 3px solid var(--gold); border-radius: var(--r); z-index: -1; }
.fc-lead.r figure::before { inset: 18px 18px -18px -18px; }
.fc-lead img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--r); background: var(--wash); }
.fc-role { margin: 0 0 6px; font: 700 13px/1 var(--body); letter-spacing: .16em; text-transform: uppercase; color: var(--gold-ink); }
.fc-lead h2 { font-size: clamp(28px, 3vw, 40px); margin-bottom: 18px; }
.fc-lead blockquote { margin: 0; position: relative; padding-top: 34px; font-size: 19px; line-height: 1.65; color: var(--ink); }
.fc-lead blockquote::before { content: "“"; position: absolute; left: -4px; top: -6px; font: 700 80px/1 var(--display); color: var(--herb); opacity: .85; }
.fc-staff { background: var(--wash); padding: 76px 0 90px; }
.fc-staff-head { margin-bottom: 34px; }
.fc-staff-head p { color: var(--muted); font-size: 18px; margin: 0; }
.fc-ids { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px 22px; }
.fc-id { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 46px 16px 20px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 2px; transform: rotate(var(--tilt, 0deg)); transition: transform .35s var(--ease), box-shadow .35s; box-shadow: 0 16px 28px -24px rgba(var(--shade), .7); border-top: 8px solid var(--herb); }
.fc-id:nth-child(3n+2) { border-top-color: var(--gold); }
.fc-id::before { content: ""; position: absolute; top: -2px; left: 50%; width: 54px; height: 10px; margin-left: -27px; border-radius: 0 0 8px 8px; background: var(--wash); border: 1px solid var(--line-2); border-top: 0; }
.fc-id:hover { transform: rotate(0) translateY(-6px); box-shadow: 0 30px 40px -28px rgba(var(--shade), .8); }
.js-anim .fc-id[data-anim="rise"].in { transform: rotate(var(--tilt, 0deg)); }
.js-anim .fc-id[data-anim="rise"].in:hover { transform: rotate(0) translateY(-6px); transition-delay: 0ms; transition-duration: .35s; }
.fc-id img, .fc-ph { width: 104px; height: 104px; border-radius: 50%; object-fit: cover; margin-bottom: 12px; border: 3px solid var(--wash); background: var(--wash); }
.fc-ph { display: grid; place-items: center; font: 800 38px/1 var(--display); color: var(--herb); }
.fc-id b { font: 700 18px/1.25 var(--display); color: var(--leaf); }
.fc-r { color: var(--gold-ink); font-weight: 600; font-size: 15px; }
.fc-id small { color: var(--muted); font-size: 14px; }
.fc-bar { display: block; width: 78%; height: 22px; margin-top: 14px; opacity: .55;
  background: repeating-linear-gradient(90deg, var(--ink) 0 2px, transparent 2px 4px, var(--ink) 4px 5px, transparent 5px 8px, var(--ink) 8px 11px, transparent 11px 13px); }

/* ================================================================ GALLERY: mosaic + masonry wall */
.gl-top { padding: 52px 0 30px; }
.gl-top .wrap { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px 40px; flex-wrap: wrap; }
.gl-top h1 { font-size: clamp(36px, 5vw, 64px); margin: 0; }
.gl-lead { margin: 0; color: var(--muted); font-size: 18px; max-width: 40ch; }
.gl-lead b { color: var(--leaf); }
.gl-sec { padding: 10px 0 90px; }
.gl-mosaic { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 230px; grid-auto-flow: dense; gap: 12px; }
.gl-tile { position: relative; overflow: hidden; border-radius: var(--r); background: var(--leaf); display: block; isolation: isolate; text-decoration: none; }
.gl-tile:nth-child(7n+1) { grid-column: span 2; grid-row: span 2; }
.gl-tile:nth-child(7n+4) { grid-column: span 2; }
.gl-tile:nth-child(7n+6) { grid-row: span 2; }
.gl-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.gl-tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(var(--shade), .92), rgba(var(--shade), .1) 60%); opacity: .9; transition: opacity .3s; }
.gl-tile b { position: absolute; z-index: 1; left: 18px; right: 18px; bottom: 16px; color: #fff; font: 700 clamp(17px, 1.5vw, 21px)/1.25 var(--display); transform: translateY(0); transition: transform .4s var(--ease); }
.gl-tile:nth-child(7n+1) b { font-size: clamp(22px, 2.4vw, 32px); }
.gl-n { position: absolute; z-index: 1; top: 14px; right: 14px; min-width: 38px; height: 38px; padding: 0 10px; border-radius: 99px; display: grid; place-items: center; background: var(--gold); color: #1a1405; font: 800 15px/1 var(--display); }
.js-anim .gl-tile.in:hover img { transform: scale(1.09); transition: transform .8s var(--ease); }
.gl-tile:hover b { transform: translateY(-6px); }
.js-anim .gl-tile[data-anim="wipe"] .gl-n { opacity: 0; } .js-anim .gl-tile[data-anim="wipe"].in .gl-n { opacity: 1; }
.gl-album-top { background: var(--wash); padding: 44px 0 36px; }
.gl-album-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px 40px; flex-wrap: wrap; }
.gl-album-top h1 { font-size: clamp(32px, 4.4vw, 54px); margin-bottom: 8px; }
.gl-album-top p { margin: 0; color: var(--muted); font-size: 18px; max-width: 60ch; }
.gl-count { padding: 10px 20px; border-radius: 99px; background: var(--leaf); color: var(--on-dark); }
.gl-count b { font: 800 22px/1 var(--display); color: var(--gold-soft); margin-right: 4px; }
.gl-wall-sec { padding: 40px 0 90px; }
.gl-wall { columns: 3 260px; column-gap: 14px; }
.gl-wall figure { margin: 0 0 14px; break-inside: avoid; position: relative; border-radius: var(--r); overflow: hidden; background: var(--wash); }
.gl-wall a { display: block; }
.gl-wall img { width: 100%; height: auto; transition: transform .7s var(--ease), filter .4s; }
.gl-wall figure:hover img { transform: scale(1.05); }
.gl-wall figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 14px 12px; color: #fff; font-size: 15px; background: linear-gradient(0deg, rgba(var(--shade), .85), transparent); }

/* ================================================================ EVENTS: sticky panel + timeline */
.ev-layout { display: grid; grid-template-columns: 340px minmax(0, 1fr); gap: 64px; padding-top: 52px; padding-bottom: 90px; align-items: start; }
.ev-side { position: sticky; top: 100px; }
.ev-side h1 { font-size: clamp(40px, 5vw, 66px); margin-bottom: 10px; }
.ev-sub { color: var(--muted); font-size: 18px; margin-bottom: 26px; }
.ev-next { background: var(--leaf); color: var(--on-dark); border-radius: var(--r); padding: 24px 24px 22px; position: relative; overflow: hidden; }
.ev-next::after { content: "℞"; position: absolute; right: 12px; top: -14px; font: 700 96px/1 var(--display); color: rgba(255, 255, 255, .07); }
.ev-flag { display: inline-block; padding: 3px 12px; border-radius: 99px; background: var(--gold); color: #1a1405; font: 700 12.5px/1.5 var(--body); letter-spacing: .12em; text-transform: uppercase; margin-bottom: 12px; }
.ev-next b { display: block; font: 700 21px/1.25 var(--display); color: #fff; margin-bottom: 6px; }
.ev-next p { margin: 0 0 10px; font-size: 15.5px; }
.ev-next strong { color: var(--gold-soft); font: 800 26px/1 var(--display); }
.ev-h { font-size: 15px; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-ink); font-family: var(--body); font-weight: 700; margin: 0 0 22px; display: flex; align-items: center; gap: 14px; }
.ev-h::after { content: ""; flex: 1; border-top: 1px solid var(--line); }
.ev-h.past { margin-top: 64px; color: var(--muted); }
.ev-line { list-style: none; margin: 0; padding: 0; position: relative; }
.ev-line::before { content: ""; position: absolute; left: 49px; top: 8px; bottom: 8px; width: 2px; background: var(--line); }
.ev-line li { display: grid; grid-template-columns: 100px 1fr; gap: 22px; padding-bottom: 30px; position: relative; }
.ev-date { text-align: center; background: var(--paper); position: relative; z-index: 1; padding: 4px 0; align-self: start; }
.ev-date b { display: block; font: 800 46px/1 var(--display); color: var(--herb); }
.ev-date span { font: 600 14px/1.4 var(--body); color: var(--muted); letter-spacing: .06em; text-transform: uppercase; }
.ev-date::after { content: ""; display: block; width: 14px; height: 14px; margin: 8px auto 0; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 5px var(--gold-soft); }
.ev-card { display: grid; grid-template-columns: auto 1fr; gap: 20px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 18px; box-shadow: 0 18px 32px -28px rgba(var(--shade), .7); transition: transform .3s var(--ease), box-shadow .3s; }
.ev-card:hover { transform: translateX(6px); }
.ev-card:not(:has(img)) { grid-template-columns: 1fr; }
.ev-card img { width: 200px; height: 150px; object-fit: cover; border-radius: calc(var(--r) / 1.4); }
.ev-card h3 { font-size: 22px; margin-bottom: 8px; }
.ev-meta { display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 0 0 10px; color: var(--muted); font-size: 15px; }
.ev-meta span { display: inline-flex; gap: 6px; align-items: center; }
.ev-text p:last-child { margin-bottom: 0; }
.ev-text { color: var(--ink); font-size: 16.5px; }
.ev-line.past .ev-date b { color: var(--muted); font-size: 34px; }
.ev-line.past .ev-date::after { background: var(--line-2); box-shadow: 0 0 0 5px var(--wash); }
.ev-line.past .ev-card { background: var(--wash); box-shadow: none; }
.ev-none { border: 2px dashed var(--line-2); border-radius: var(--r); padding: 40px; text-align: center; }

/* ================================================================ NOTICES: register + letter */
.nt-top { background: var(--wash); padding: 46px 0 34px; border-bottom: 1px solid var(--line); }
.nt-top .wrap { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 22px 40px; }
.nt-top h1 { font-size: clamp(34px, 4.6vw, 58px); margin-bottom: 6px; }
.nt-sub { margin: 0; color: var(--muted); font-size: 18px; }
.nt-tools { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.nt-search { display: flex; align-items: center; gap: 10px; background: #fff; border: 2px solid var(--line); border-radius: 999px; padding: 0 20px; min-height: 52px; min-width: min(360px, 100%); transition: border-color .2s, box-shadow .2s; color: var(--muted); }
.nt-search:focus-within { border-color: var(--herb); box-shadow: 0 0 0 4px rgba(var(--shade), .1); }
.nt-search input { border: 0; outline: 0; background: none; font: 500 17px/1.2 var(--body); flex: 1; color: var(--ink); min-width: 0; }
.nt-chip { appearance: none; cursor: pointer; border: 2px solid var(--line); background: #fff; border-radius: 999px; padding: 12px 20px; font: 700 15.5px/1 var(--body); color: var(--herb); transition: all .2s; }
.nt-chip[aria-pressed="true"] { background: var(--herb); color: #fff; border-color: var(--herb); }
.nt-sec { padding: 40px 0 90px; }
.nt-reg { list-style: none; margin: 0; padding: 0; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; background: #fff; }
.nt-reg li { border-bottom: 1px solid var(--line); }
.nt-reg li:last-child { border-bottom: 0; }
.nt-reg li[hidden] { display: none; }
.nt-reg a { display: grid; grid-template-columns: 96px 1fr 40px; gap: 22px; align-items: center; padding: 20px 22px; text-decoration: none; color: var(--ink); position: relative; transition: background .2s, padding .25s var(--ease); }
.nt-reg a::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 5px; background: transparent; transition: background .2s; }
.nt-reg a:hover { background: var(--wash); padding-left: 30px; }
.nt-reg a:hover::before { background: var(--herb); }
.nt-reg .pinned a { background: linear-gradient(90deg, var(--gold-soft), #fff 60%); }
.nt-reg .pinned a::before { background: var(--gold); }
.nt-d { text-align: center; border-right: 1px dashed var(--line-2); padding-right: 20px; }
.nt-d b { display: block; font: 800 36px/1 var(--display); color: var(--herb); }
.nt-d small { font: 600 13px/1.3 var(--body); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.nt-t { display: block; }
.nt-t strong { display: block; font: 700 20px/1.3 var(--display); color: var(--leaf); margin-bottom: 4px; }
.nt-t > span { display: block; color: var(--muted); font-size: 16px; }
.nt-t .pin { display: inline-flex; align-items: center; gap: 6px; margin-bottom: 6px; }
.nt-go { font-size: 24px; color: var(--herb); transition: transform .25s var(--ease); }
.nt-reg a:hover .nt-go { transform: translateX(6px); }
.nt-none, .fq-none { text-align: center; padding: 40px 0; color: var(--muted); }
.nt-letter-sec { background: var(--wash); padding: 44px 0 80px; }
.nt-letter { max-width: 780px; margin: 0 auto; background: #fff; padding: 44px 54px 40px; box-shadow: 0 40px 60px -40px rgba(var(--shade), .7), 0 0 0 1px var(--line); border-top: 8px solid var(--herb); position: relative; }
.nt-lh { display: flex; align-items: center; gap: 16px; padding-bottom: 18px; border-bottom: 2px solid var(--leaf); margin-bottom: 20px; }
.nt-lh img { width: 64px; height: 64px; }
.nt-lh b { display: block; font: 700 22px/1.2 var(--display); color: var(--leaf); }
.nt-lh span { font-size: 14.5px; color: var(--muted); }
.nt-ref { display: flex; justify-content: space-between; color: var(--muted); font-size: 15.5px; margin-bottom: 16px; }
.nt-ref span { text-transform: uppercase; letter-spacing: .14em; font-weight: 700; font-size: 13px; color: var(--gold-ink); }
.nt-letter h1 { font-size: clamp(26px, 3.4vw, 36px); margin-bottom: 20px; }
.nt-body { font-size: 18px; line-height: 1.75; margin-bottom: 20px; }
.nt-sign { margin-top: 40px; padding-top: 14px; border-top: 1px dashed var(--line-2); text-align: right; color: var(--muted); }
.nt-sign b { display: block; color: var(--leaf); font: 700 18px/1.3 var(--display); }
.nt-back { max-width: 780px; margin: 22px auto 0; }

/* ================================================================ CONTACT: map with a floating card */
.ct-hero { position: relative; min-height: 520px; display: flex; align-items: center; background: var(--leaf); }
.ct-map { position: absolute; inset: 0; background: repeating-linear-gradient(45deg, var(--wash) 0 14px, #e5ede7 14px 28px); }
.ct-map iframe { width: 100%; height: 100%; border: 0; display: block; }
.ct-hero .wrap { position: relative; width: 100%; padding-top: 50px; padding-bottom: 50px; pointer-events: none; }
.ct-card { pointer-events: auto; max-width: 440px; margin-left: auto; background: #fff; border-radius: var(--r); padding: 32px 32px 28px; box-shadow: 0 40px 70px -30px rgba(0, 0, 0, .55); border-top: 6px solid var(--gold); }
.ct-card h1 { font-size: clamp(30px, 3.4vw, 42px); margin-bottom: 14px; }
.ct-addr { margin-bottom: 8px; font-size: 18px; }
.ct-addr b { display: block; color: var(--leaf); font: 700 20px/1.3 var(--display); }
.ct-city { color: var(--muted); font-size: 16px; margin-bottom: 18px; }
.ct-hero.nomap { min-height: 0; } .ct-hero.nomap .wrap { display: flex; justify-content: center; }
.ct-ways { background: var(--leaf); }
.ct-ways .wrap { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 0; }
.ct-ways a { display: grid; grid-template-columns: 52px 1fr; column-gap: 14px; align-items: center; padding: 26px 22px; color: var(--on-dark); text-decoration: none; border-left: 1px solid rgba(255, 255, 255, .13); transition: background .25s; }
.ct-ways a:first-child { border-left: 0; }
.ct-ways a:hover { background: rgba(255, 255, 255, .08); color: #fff; }
.ct-ways .i { grid-row: span 2; width: 52px; height: 52px; padding: 14px; border-radius: 50%; background: var(--gold); color: #1a1405; stroke-width: 2; }
.ct-ways span { font: 700 12.5px/1.3 var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--gold-soft); align-self: end; }
.ct-ways b { font: 700 clamp(15.5px, 1.35vw, 18.5px)/1.3 var(--display); color: #fff; overflow-wrap: anywhere; }
.ct-form-sec { padding: 80px 0 90px; }
.ct-form-sec .wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: 60px; align-items: start; }
.ct-form-t p { color: var(--muted); font-size: 18px; }

/* ================================================================ FAQ: search + numbered answers */
.fq-hero { text-align: center; background: var(--wash); padding: 46px 0 56px; position: relative; overflow: hidden; }
.fq-hero .pg-crumbs { justify-content: center; }
.fq-mark { display: block; margin: -4px auto -22px; font: 800 clamp(120px, 16vw, 200px)/1 var(--display); color: transparent; -webkit-text-stroke: 2px var(--herb); opacity: .35; }
.fq-hero h1 { position: relative; font-size: clamp(32px, 4.4vw, 54px); }
.fq-sub { color: var(--muted); font-size: 18px; }
.fq-search { display: flex; align-items: center; gap: 12px; max-width: 560px; margin: 24px auto 0; background: #fff; border: 2px solid var(--line); border-radius: 999px; padding: 0 22px; min-height: 58px; color: var(--muted); transition: border-color .2s, box-shadow .2s; }
.fq-search:focus-within { border-color: var(--herb); box-shadow: 0 0 0 5px rgba(var(--shade), .1); }
.fq-search input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; font: 500 17.5px/1.2 var(--body); color: var(--ink); }
.fq-sec { padding: 54px 0 90px; }
.fq-sec .wrap { max-width: 860px; }
.fq-list { display: grid; gap: 12px; }
.fq-item { background: #fff; border: 1px solid var(--line); border-radius: var(--r); transition: border-color .2s, box-shadow .3s; }
.fq-item[hidden] { display: none; }
.fq-item[open] { border-color: var(--herb); box-shadow: 0 20px 34px -28px rgba(var(--shade), .7); }
.fq-item summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 54px 1fr 30px; gap: 12px; align-items: center; padding: 20px 22px; }
.fq-item summary::-webkit-details-marker { display: none; }
.fq-n { font: 800 26px/1 var(--display); color: var(--gold); }
.fq-q { font: 700 19px/1.35 var(--display); color: var(--leaf); }
.fq-pm { width: 28px; height: 28px; border-radius: 50%; background: var(--wash); position: relative; transition: background .25s, transform .35s var(--ease); }
.fq-pm::before, .fq-pm::after { content: ""; position: absolute; left: 8px; right: 8px; top: 13px; height: 2px; background: var(--herb); transition: transform .3s var(--ease); }
.fq-pm::after { transform: rotate(90deg); }
.fq-item[open] .fq-pm { background: var(--herb); transform: rotate(180deg); }
.fq-item[open] .fq-pm::before { background: #fff; } .fq-item[open] .fq-pm::after { background: #fff; transform: rotate(0); }
.fq-a { padding: 0 22px 22px 88px; color: var(--ink); }
.fq-a p:last-child { margin-bottom: 0; }
.fq-item[open] .fq-a { animation: paneIn .4s var(--ease); }
.fq-help { margin-top: 40px; display: flex; align-items: center; justify-content: space-between; gap: 20px 30px; flex-wrap: wrap; padding: 30px 34px; border-radius: var(--r); background: var(--leaf); color: var(--on-dark); }
.fq-help h2 { color: #fff; font-size: 26px; margin-bottom: 6px; }
.fq-help p { margin: 0; }
.fq-help a:not(.btn) { color: var(--gold-soft); font-weight: 600; }

/* ================================================================ DOWNLOADS: folders + file rows */
.dl-top { padding: 50px 0 28px; border-bottom: 1px solid var(--line); background: linear-gradient(var(--paper), var(--wash)); }
.dl-top h1 { font-size: clamp(34px, 4.6vw, 58px); margin-bottom: 6px; }
.dl-sub { color: var(--muted); font-size: 18px; margin: 0; }
.dl-sec { padding: 44px 0 90px; }
.dl-sec .wrap { max-width: 900px; }
.dl-folder { margin-bottom: 36px; }
.dl-folder h2 { display: inline-flex; align-items: center; gap: 10px; font: 700 17px/1 var(--body); letter-spacing: .04em; color: #fff; background: var(--leaf); padding: 12px 22px 12px 18px; margin: 0; border-radius: var(--r) var(--r) 0 0; clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 100%, 0 100%); padding-right: 36px; }
.dl-folder h2 small { font-size: 13px; background: var(--gold); color: #1a1405; border-radius: 99px; padding: 3px 9px; }
.dl-folder ul { list-style: none; margin: 0; padding: 0; border: 2px solid var(--leaf); border-radius: 0 var(--r) var(--r) var(--r); background: #fff; }
.dl-folder li + li { border-top: 1px solid var(--line); }
.dl-folder a { display: grid; grid-template-columns: 64px 1fr auto; gap: 18px; align-items: center; padding: 16px 20px; text-decoration: none; color: var(--ink); transition: background .2s; }
.dl-folder a:hover { background: var(--wash); }
.dl-ext { width: 56px; height: 64px; display: grid; place-items: end center; padding-bottom: 12px; position: relative; background: var(--wash); border: 2px solid var(--herb); border-radius: 6px 16px 6px 6px; color: var(--herb); font: 800 13px/1 var(--display); letter-spacing: .04em; }
.dl-ext::before { content: ""; position: absolute; right: -2px; top: -2px; width: 16px; height: 16px; background: var(--paper); border-left: 2px solid var(--herb); border-bottom: 2px solid var(--herb); border-radius: 0 0 0 6px; }
.dl-t b { display: block; font: 700 19px/1.3 var(--display); color: var(--leaf); }
.dl-t small { color: var(--muted); font-size: 15px; }
.dl-go { display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: 99px; background: var(--herb); color: #fff; font-weight: 600; white-space: nowrap; transition: background .2s, transform .25s var(--ease); }
.dl-folder a:hover .dl-go { background: var(--leaf); transform: translateY(-2px); }

/* ================================================================ READING PAGE */
.rd-head { text-align: center; padding: 54px 0 20px; }
.rd-head .pg-crumbs { justify-content: center; }
.rd-head h1 { font-size: clamp(32px, 4.4vw, 54px); max-width: 20ch; margin-inline: auto; }
.rd-lead { max-width: 56ch; margin: 0 auto; font-size: 20px; color: var(--muted); }
.rd-orn { display: block; width: 90px; height: 14px; margin: 26px auto 0; background: radial-gradient(circle, var(--gold) 4px, transparent 5px) center/14px 14px repeat-x; }
.rd-pic { margin: 30px auto 0; max-width: 980px; padding: 0 20px; }
.rd-pic img { width: 100%; max-height: 460px; object-fit: cover; border-radius: var(--r); }
.rd-body { max-width: 720px; margin: 0 auto; padding: 44px 0 90px; font-size: 19px; line-height: 1.8; }
.rd-body > p:first-child::first-letter { font: 700 4em/.8 var(--display); float: left; margin: .08em .12em 0 0; color: var(--herb); }

/* ================================================================ phones and tablets */
@media (max-width: 1080px) {
  .fc-ids { grid-template-columns: repeat(3, 1fr); }
  .ab-chap { grid-template-columns: 190px minmax(0, 1fr); gap: 40px; }
  .ad-path-grid { grid-template-columns: 280px 1fr; gap: 40px; }
  .ev-layout { grid-template-columns: 280px minmax(0, 1fr); gap: 40px; }
}
@media (max-width: 900px) {
  .ab-hero .wrap, .cd-hero .wrap, .ad-hero .wrap, .fc-hero .wrap { grid-template-columns: 1fr; gap: 34px; }
  .ab-hero .wrap { padding-bottom: 54px; }
  .ab-arch { max-width: 340px; } .ab-badge { left: -14px; width: 118px; height: 118px; }
  .ab-chap { grid-template-columns: minmax(0, 1fr); gap: 0; padding-top: 0; }
  .ab-chap > * { min-width: 0; }
  .ab-index { position: sticky; top: 66px; z-index: 20; margin: 0 -20px 26px; padding: 0 20px; background: rgba(255, 255, 255, .95); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
  .ab-index p { display: none; }
  .ab-index ol { display: flex; overflow-x: auto; border-left: 0; scrollbar-width: none; gap: 4px; }
  .ab-index a { padding: 14px 12px; margin: 0; border-left: 0; border-bottom: 3px solid transparent; white-space: nowrap; }
  .ab-index a.on { padding-left: 12px; border-bottom-color: var(--gold); }
  .ab-ch { padding-top: 6px; scroll-margin-top: 130px; }
  .ab-story, .ab-aims { grid-template-columns: 1fr; }
  .ab-photo img { aspect-ratio: 4 / 3; }
  .ab-appr { grid-template-columns: 1fr; }
  .cs-split { flex-direction: column; min-height: 0; }
  .cs-half { min-height: 520px; }
  .cs-half + .cs-half { border-left: 0; border-top: 3px solid var(--gold); }
  .cd-hero .wrap { padding-bottom: 90px; } .cd-photo img { aspect-ratio: 16 / 10; }
  .cd-spec { grid-template-columns: 1fr 1fr; }
  .cd-spec > div:nth-child(3) { border-left: 0; } .cd-spec > div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .cd-nav { top: 66px; }
  .cd-why, .cd-two, .cd-apply { grid-template-columns: 1fr; }
  .cd-why > div { border-left: 0 !important; border-bottom: 1px solid var(--line) !important; } .cd-why > div:last-child { border-bottom: 0 !important; }
  .cd-two { gap: 40px; }
  .cd-apply { padding: 0; } .cd-docs { margin-right: 0; }
  .cd-journey::before { left: 21px; }
  .cd-journey li, .cd-journey > li:nth-child(even) { width: 100%; margin-left: 0; padding: 0 0 26px 62px; }
  .cd-node, .cd-journey > li:nth-child(even) .cd-node { left: 0; right: auto; }
  .ad-path-grid { grid-template-columns: 1fr; gap: 28px; } .ad-path-head { position: static; }
  .ad-path::before, .ad-path::after { left: 27px; }
  .ad-path li { grid-template-columns: 56px 1fr; gap: 16px; } .ad-num { width: 56px; height: 56px; font-size: 20px; }
  .ad-pane, .ad-ask .wrap { grid-template-columns: 1fr; }
  .ap-frame { grid-template-columns: 1fr; text-align: center; padding: 30px 22px; gap: 22px; justify-items: center; }
  .ap-frame .acts { justify-content: center; }
  .fc-faces { justify-content: flex-start; } .fc-faces img { margin-top: 0 !important; width: 84px; margin-left: -18px; }
  .fc-lead, .fc-lead.r { grid-template-columns: 1fr; gap: 30px; margin-bottom: 56px; }
  .fc-lead.r figure { order: 0; } .fc-lead figure { max-width: 300px; } .fc-lead figure::before { inset: 14px -12px -12px 14px !important; }
  .fc-ids { grid-template-columns: repeat(2, 1fr); gap: 24px 14px; }
  .gl-mosaic { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 170px; }
  .gl-tile:nth-child(n) { grid-column: auto; grid-row: auto; } .gl-tile:nth-child(5n+1) { grid-column: span 2; grid-row: span 2; } .gl-tile:nth-child(5n+4) { grid-column: span 2; }
  .ev-layout { grid-template-columns: 1fr; gap: 30px; } .ev-side { position: static; }
  .ev-line::before { left: 29px; } .ev-line li { grid-template-columns: 60px 1fr; gap: 14px; }
  .ev-date b { font-size: 34px; } .ev-card { grid-template-columns: 1fr; } .ev-card img { width: 100%; height: 190px; }
  .ct-hero { display: block; min-height: 0; background: var(--paper); }
  .ct-map { position: relative; height: 300px; }
  .ct-hero .wrap { padding: 0 16px; margin-top: -60px; }
  .ct-card { padding: 26px 22px; margin-left: 0; max-width: none; }
  .ct-form-sec .wrap { grid-template-columns: 1fr; gap: 26px; }
  .ct-ways .wrap { grid-template-columns: 1fr; padding: 0; } .ct-ways a { border-left: 0; border-top: 1px solid rgba(255, 255, 255, .13); } .ct-ways a:first-child { border-top: 0; }
  .nt-reg a { grid-template-columns: 70px 1fr; gap: 14px; padding: 16px; } .nt-go { display: none; } .nt-d { padding-right: 12px; } .nt-d b { font-size: 28px; }
  .nt-top .wrap { align-items: stretch; } .nt-tools { width: 100%; } .nt-search { width: 100%; }
  .nt-letter { padding: 28px 20px 26px; }
  .fq-item summary { grid-template-columns: 40px 1fr 28px; padding: 16px; gap: 8px; } .fq-n { font-size: 21px; } .fq-q { font-size: 17.5px; } .fq-a { padding: 0 16px 18px 16px; }
  .dl-folder a { grid-template-columns: 52px 1fr; gap: 14px; padding: 14px; } .dl-go { grid-column: 2; justify-self: start; }
  .dl-ext { width: 48px; height: 56px; }
}
@media (max-width: 600px) {
  .cs-code { left: 18px; font-size: 20vw; } .cs-body { padding: 26px 18px 30px; } .cs-half { min-height: 560px; }
  .cs-vs-row p { padding: 12px; font-size: 15.5px; } .cs-vs-head { gap: 8px; } .cs-vs-row { gap: 8px; }
  .ab-fac li { grid-template-columns: 48px 1fr; } .ab-fac p { grid-column: 2; }
  .ab-why li { grid-template-columns: 52px 1fr; } .ab-why span { font-size: 30px; }
  .cd-spec dd { font-size: 17px; } .cd-spec > div { padding: 16px; }
  .ad-pic img { transform: none; box-shadow: -8px 8px 0 var(--gold); }
  .ad-switch button { padding: 11px 22px; }
  .ad-elig, .ad-docs { padding: 22px 18px; }
  .ap-seal { width: 120px; height: 120px; }
  .ab-aim { padding: 24px 20px; }
  .gl-mosaic { grid-auto-rows: 150px; gap: 8px; } .gl-tile b { left: 12px; right: 12px; bottom: 12px; }
  .gl-wall { columns: 2 140px; column-gap: 8px; } .gl-wall figure { margin-bottom: 8px; }
  .fq-help { padding: 24px 20px; } .fq-help .btn { width: 100%; }
}

/* ---------------------------------------------------------------- less motion */
@media (prefers-reduced-motion: reduce) {
  .js-anim .pg-in, .js-anim .pg-words .w > span, .js-anim .ap-cert[data-anim] .ap-seal { opacity: 1 !important; transform: none !important; }
  .ab-badge-t, .ab-track { animation: none !important; }
  .ab-track { flex-wrap: wrap; width: auto; justify-content: center; }
  .ab-track ul[aria-hidden] { display: none; }
  .js-anim .gl-tile[data-anim="wipe"] .gl-n { opacity: 1 !important; }
  .cd-journey > li, .ad-path li { opacity: 1 !important; transform: none !important; }
}

.ev-quick { display: grid; gap: 10px; }
.ev-quick .btn { justify-content: flex-start; }
.fq-sub, .ap-sub, .rd-lead, .cd-center p, .ad-check-head p, .fq-hero p { text-align: center; }
.ab-intro, .cs-lead, .ev-sub, .fc-sub, .gl-lead, .dl-sub, .nt-sub, .ad-lead, .cd-sub { text-align: left; }
.fc-faces img { flex: none; height: auto; }
.cd-spec dd, .cd-spec dt { text-align: left; }

/* ================================================================ HOME (school-site section order, ARK colours) */
.hm-sec { padding: 84px 0; }
.hm-head { text-align: center; max-width: 680px; margin: 0 auto 44px; }
.hm-head .pg-eyebrow { justify-content: center; }
.hm-head .pg-eyebrow::after { content: ""; width: 34px; height: 2px; background: currentColor; }
.hm-head h2 { margin-bottom: 10px; }
.hm-head p:last-child { color: var(--muted); font-size: 18px; margin: 0; text-align: center; }
/* hero: no ℞ label here; the three quick links sit half over its lower edge */
.hero { min-height: clamp(540px, 80vh, 720px); }
.hm-quick { position: relative; z-index: 6; margin-top: -68px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.hm-quick a { display: flex; align-items: center; gap: 16px; background: #fff; border-radius: var(--r); padding: 20px 22px; text-decoration: none; color: var(--ink); border: 1px solid var(--line); border-bottom: 4px solid var(--gold); box-shadow: 0 26px 40px -28px rgba(var(--shade), .75); transition: transform .3s var(--ease), box-shadow .3s; }
.hm-quick a:hover { transform: translateY(-6px); box-shadow: 0 36px 46px -28px rgba(var(--shade), .85); }
.hm-quick a > span:nth-child(2) { flex: 1; min-width: 0; }
.hm-quick b { display: block; font: 700 18px/1.25 var(--display); color: var(--leaf); }
.hm-quick small { color: var(--muted); font-size: 15px; }
.hm-quick i { font-style: normal; font-size: 22px; color: var(--herb); transition: transform .25s var(--ease); }
.hm-quick a:hover i { transform: translateX(5px); }
.hm-qi { flex: none; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--gold-soft); color: var(--gold-ink); }
.hm-qi .i { width: 24px; height: 24px; }
/* why choose */
.hm-why { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.hm-why article { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 30px 26px 28px; position: relative; overflow: hidden; transition: transform .35s var(--ease), box-shadow .35s, border-color .3s; }
.hm-why article::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: linear-gradient(90deg, var(--herb), var(--gold)); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease); }
.hm-why article:hover { transform: translateY(-8px); box-shadow: 0 34px 44px -32px rgba(var(--shade), .8); border-color: var(--line-2); }
.hm-why article:hover::after { transform: none; }
.hm-wi { display: grid; place-items: center; width: 62px; height: 62px; border-radius: 18px; background: var(--wash); color: var(--herb); margin-bottom: 18px; transition: background .3s, color .3s, transform .4s var(--spring); }
.hm-wi .i { width: 29px; height: 29px; }
.hm-why article:hover .hm-wi { background: var(--herb); color: #fff; transform: rotate(-6deg) scale(1.06); }
.hm-why h3 { font-size: 21px; margin-bottom: 8px; }
.hm-why p { margin: 0; color: var(--muted); }
/* about + numbers */
.hm-about { background: var(--wash); }
.hm-about-grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: 64px; align-items: center; }
.hm-about-pic { margin: 0; position: relative; }
.hm-about-pic img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; border-radius: var(--r); box-shadow: 0 34px 50px -36px rgba(var(--shade), .8); }
.hm-about-pic figcaption { position: absolute; right: -18px; bottom: -22px; background: var(--leaf); color: var(--on-dark); border-radius: var(--r); padding: 16px 24px; border-bottom: 4px solid var(--gold); text-align: center; box-shadow: 0 20px 30px -18px rgba(0, 0, 0, .5); }
.hm-about-pic figcaption b { display: block; font: 800 34px/1 var(--display); color: var(--gold-soft); }
.hm-about-pic figcaption span { font-size: 14px; letter-spacing: .1em; text-transform: uppercase; }
.hm-about h2 { margin-bottom: 14px; }
.hm-lead { font-size: 18.5px; line-height: 1.7; }
.hm-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 64px; }
.hm-stats > div { background: #fff; border-radius: var(--r); border: 1px solid var(--line); padding: 26px 16px 22px; text-align: center; box-shadow: 0 20px 34px -30px rgba(var(--shade), .7); }
.hm-stats b { display: block; font: 800 clamp(36px, 4vw, 52px)/1 var(--display); color: var(--herb); font-variant-numeric: tabular-nums; margin-bottom: 8px; }
.hm-stats span { color: var(--muted); font-size: 16px; }
/* courses */
.hm-course-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
.hm-course { background: #fff; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; display: flex; flex-direction: column; transition: transform .35s var(--ease), box-shadow .35s; }
.hm-course:hover { transform: translateY(-6px); box-shadow: 0 36px 46px -34px rgba(var(--shade), .8); }
.hm-course-img { display: block; position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: var(--leaf); }
.hm-course-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.hm-course:hover .hm-course-img img { transform: scale(1.06); }
.hm-course-img span { display: none; position: absolute; left: 16px; bottom: 14px; padding: 5px 16px; border-radius: 99px; background: var(--gold); color: #1a1405; font: 800 17px/1.3 var(--display); }
.hm-course-body { padding: 26px 28px 28px; display: flex; flex-direction: column; flex: 1; }
.hm-lvl { margin: 0 0 6px; font: 700 13px/1.4 var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--gold-ink); }
.hm-course h3 { font-size: 26px; margin-bottom: 10px; } .hm-course h3 a { color: inherit; text-decoration: none; }
.hm-facts { list-style: none; margin: 0 0 20px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 22px; color: var(--muted); font-size: 15.5px; }
.hm-facts li { display: inline-flex; align-items: center; gap: 8px; } .hm-facts .i { color: var(--herb); }
.hm-course .acts { margin-top: auto; }
/* faculty */
.hm-faculty { background: var(--wash); }
.hm-sub { font: 700 14px/1 var(--body); letter-spacing: .16em; text-transform: uppercase; color: var(--gold-ink); margin: 6px 0 20px; display: flex; align-items: center; gap: 14px; }
.hm-sub::after { content: ""; flex: 1; border-top: 1px solid var(--line-2); }
.hm-people { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-bottom: 40px; }
.hm-person { display: flex; flex-direction: column; text-decoration: none; color: var(--ink); background: #fff; border-radius: var(--r); border: 1px solid var(--line); overflow: hidden; transition: transform .35s var(--ease), box-shadow .35s; }
.hm-person:hover { transform: translateY(-7px); box-shadow: 0 30px 40px -30px rgba(var(--shade), .8); }
.hm-person img, .hm-ph { width: 100%; aspect-ratio: 1; object-fit: cover; background: var(--wash); transition: transform .7s var(--ease); }
.hm-ph { display: grid; place-items: center; font: 800 54px/1 var(--display); color: var(--herb); }
.hm-person:hover img { transform: scale(1.05); }
.hm-person { overflow: hidden; }
.hm-person b { display: block; padding: 14px 16px 0; font: 700 18px/1.25 var(--display); color: var(--leaf); }
.hm-person > span:last-child { padding: 3px 16px 16px; color: var(--gold-ink); font-weight: 600; font-size: 15px; }
/* events */
.hm-ev-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-bottom: 8px; }
.hm-ev { background: #fff; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; display: flex; flex-direction: column; transition: transform .35s var(--ease), box-shadow .35s; }
.hm-ev:hover { transform: translateY(-6px); box-shadow: 0 34px 44px -34px rgba(var(--shade), .8); }
.hm-ev-img { display: block; position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--wash); }
.hm-ev-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.hm-ev:hover .hm-ev-img img { transform: scale(1.06); }
.hm-ev-none { display: grid; place-items: center; height: 100%; color: var(--herb); } .hm-ev-none .i { width: 48px; height: 48px; }
.hm-date { position: absolute; left: 14px; top: 14px; background: var(--gold); color: #1a1405; border-radius: var(--r); padding: 7px 13px 6px; text-align: center; line-height: 1; box-shadow: 0 10px 18px -8px rgba(0, 0, 0, .4); }
.hm-date b { display: block; font: 800 26px/1 var(--display); } .hm-date small { font: 700 12.5px/1.4 var(--body); letter-spacing: .1em; text-transform: uppercase; }
.hm-ev-body { padding: 20px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.hm-venue { display: flex; align-items: center; gap: 7px; margin: 0 0 8px; color: var(--muted); font-size: 15px; } .hm-venue .i { color: var(--herb); }
.hm-ev h3 { font-size: 21px; margin-bottom: 8px; }
.hm-ev p { color: var(--muted); }
.hm-ev .btn { align-self: flex-start; margin-top: auto; }
/* notices + enquiry */
.hm-notices { background: var(--leaf); color: var(--on-dark); padding: 84px 0; }
.hm-notice-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 50px; align-items: start; }
.hm-notices h2 { color: #fff; }
.hm-nlist { list-style: none; margin: 0; padding: 0; }
.hm-nlist li + li { border-top: 1px solid rgba(255, 255, 255, .14); }
.hm-nlist a { display: flex; gap: 16px; align-items: center; padding: 15px 4px; color: var(--on-dark); text-decoration: none; transition: padding .25s var(--ease), background .2s; }
.hm-nlist a:hover { padding-left: 14px; background: rgba(255, 255, 255, .07); color: #fff; }
.hm-nd { flex: none; width: 56px; text-align: center; background: rgba(255, 255, 255, .1); border-radius: var(--r); padding: 7px 0 6px; line-height: 1; }
.hm-nd b { display: block; font: 800 22px/1 var(--display); color: var(--gold-soft); } .hm-nd small { font: 700 12px/1.4 var(--body); letter-spacing: .1em; text-transform: uppercase; }
.hm-nt { font-weight: 600; font-size: 17.5px; line-height: 1.4; }
.hm-nn { color: var(--on-dark); }
.hm-notices .enquiry { color: var(--ink); } .hm-notices .enquiry h2 { color: var(--leaf); }
/* voices */
.hm-quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.hm-quotes figure { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 38px 26px 24px; position: relative; display: flex; flex-direction: column; transition: transform .35s var(--ease), box-shadow .35s; }
.hm-quotes figure:hover { transform: translateY(-6px); box-shadow: 0 30px 40px -32px rgba(var(--shade), .8); }
.hm-qm { position: absolute; left: 22px; top: -4px; font: 800 82px/1 var(--display); color: var(--gold); }
.hm-quotes blockquote { margin: 14px 0 20px; font-size: 18px; line-height: 1.65; flex: 1; }
.hm-quotes figcaption { display: flex; align-items: center; gap: 12px; padding-top: 16px; border-top: 1px dashed var(--line-2); }
.hm-quotes figcaption img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; }
.hm-quotes figcaption b { display: block; color: var(--leaf); } .hm-quotes figcaption span { color: var(--muted); font-size: 15px; }
/* questions */
.hm-faq { background: var(--wash); }
.hm-faq .wrap { max-width: 860px; }
.hm-faq .acts.center { margin-top: 30px; }
/* phones */
@media (max-width: 1080px) { .hm-why { grid-template-columns: repeat(2, 1fr); } .hm-people { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 900px) {
  .hm-sec, .hm-notices { padding: 60px 0; }
  .hm-quick { grid-template-columns: 1fr; margin-top: -34px; gap: 12px; }
  .hm-about-grid, .hm-notice-grid, .hm-course-grid { grid-template-columns: 1fr; gap: 34px; }
  .hm-about-pic figcaption { right: 12px; bottom: -18px; }
  .hm-stats { grid-template-columns: repeat(2, 1fr); margin-top: 52px; }
  .hm-ev-grid, .hm-quotes { grid-template-columns: 1fr; }
  .hm-people { grid-template-columns: repeat(2, 1fr); gap: 14px; }
}
@media (max-width: 600px) {
  .hm-why { grid-template-columns: 1fr; gap: 14px; }
  .hm-why article { padding: 22px 20px; display: grid; grid-template-columns: 62px 1fr; column-gap: 16px; align-items: start; }
  .hm-why .hm-wi { grid-row: span 2; margin: 0; } .hm-why h3 { margin: 4px 0 4px; }
  .hm-course-body { padding: 22px 18px 24px; }
}

@media (min-width: 901px) { .hero .slider-ui { bottom: 104px; } }

/* Course pages (B.Pharm, D.Pharm): text and photo side by side at the same width and height,
   no empty band above the text. */
@media (min-width: 901px) {
  .cd-hero .wrap { grid-template-columns: 1fr 1fr; align-items: stretch; gap: 44px; padding-top: 44px; padding-bottom: 104px; }
  .cd-copy { display: flex; flex-direction: column; justify-content: center; min-width: 0; padding: 36px 40px;
    background: rgba(255, 255, 255, .045); border: 1px solid rgba(255, 255, 255, .1); border-radius: var(--r); }
  .cd-copy .pg-crumbs { margin-bottom: 18px; }
  .cd-copy h1 { font-size: clamp(34px, 3.6vw, 52px); }
  .cd-photo { display: flex; align-items: center; }
  .cd-photo img { width: 100%; height: auto; aspect-ratio: auto; object-fit: contain; border-radius: var(--r); }
}
@media (max-width: 900px) {
  .cd-hero .wrap { padding-top: 26px; gap: 26px; }
  .cd-photo img { width: 100%; height: auto; aspect-ratio: auto; object-fit: contain; border-radius: var(--r); }
}
/* course pages: the subject chips inside each semester keep their own padding, text centred in the pill */
.cd-journey .cd-chips li { width: auto; margin: 0; padding: 7px 16px; display: inline-flex; align-items: center; justify-content: center; text-align: center; line-height: 1.3; min-height: 0; }

/* ================================================================ MANDATORY DISCLOSURE */
.md-upd { margin: 12px auto 0; font-size: 14px; color: var(--muted); text-align: center; }
.md-body { max-width: 980px; padding-top: 30px; padding-bottom: 90px; }
.md-sec { margin: 0 0 44px; }
.md-sec h2 { display: flex; align-items: center; gap: 12px; font-size: clamp(21px, 2.4vw, 26px); margin: 0 0 16px; }
.md-sec h2 span { flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--kg-navy, var(--leaf)); color: #fff; font: 600 15px/1 var(--body, inherit); }
.md-sec h2 em { font-style: normal; font-size: 14px; font-weight: 600; color: #fff; background: var(--kg-red, var(--gold-2)); padding: 3px 9px; border-radius: 12px; }
.md-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.md-t { width: 100%; border-collapse: collapse; font-size: 15.5px; line-height: 1.5; background: #fff; }
.md-t th, .md-t td { border: 1px solid #dcdce4; padding: 10px 14px; text-align: left; vertical-align: top; }
.md-t tbody th { width: 34%; background: #f5f5f8; font-weight: 600; color: #2b2b3b; }
.md-grid thead th { background: var(--kg-navy, var(--leaf)); color: #fff; font-weight: 600; border-color: var(--kg-navy, var(--leaf)); white-space: nowrap; }
.md-grid tbody tr:nth-child(even) td { background: #fafafc; }
.md-t small { display: block; color: var(--muted); font-size: 13px; }
.md-t a, .md-sec p a, .md-more a { color: var(--kg-red, var(--gold-2)); font-weight: 600; }
.md-more { margin: 10px 0 0; font-size: 15px; }
.md-list { margin: 0; padding-left: 20px; font-size: 16px; line-height: 1.7; }
.md-links { list-style: none; padding: 0; }
.md-links li { padding: 8px 0; border-bottom: 1px solid #ececf2; }
.md-links a { display: inline-flex; align-items: center; gap: 8px; color: var(--kg-navy, var(--leaf)); font-weight: 600; text-decoration: none; }
.md-links a:hover { color: var(--kg-red, var(--gold-2)); }
.md-links .i { width: 18px; height: 18px; color: var(--kg-red, var(--gold-2)); }
@media (max-width: 700px) {
  .md-t { font-size: 14px; } .md-t th, .md-t td { padding: 8px 10px; }
  .md-t tbody th { width: 40%; }
  /* phones: each row becomes a small card (no sideways scrolling) */
  .md-grid thead { display: none; }
  .md-grid, .md-grid tbody, .md-grid tr, .md-grid td { display: block; width: 100%; }
  .md-grid tr { border: 1px solid #dcdce4; border-top: 3px solid var(--kg-navy, var(--leaf)); margin: 0 0 12px; background: #fff; }
  .md-grid td { border: 0; border-bottom: 1px solid #ececf2; display: flex; gap: 10px; background: #fff !important; }
  .md-grid td:last-child { border-bottom: 0; }
  .md-grid td::before { content: attr(data-label); flex: none; width: 36%; font-weight: 600; color: #2b2b3b; }
  .md-grid td > b, .md-grid td > small { display: block; }
  .md-grid td.md-no { display: none; }
  .md-grid td:empty { display: none; }
}
@media print { .md-sec { break-inside: avoid; } }

/* ================================================================ PHONES ONLY: headings that fit the screen
   one line: "The people behind ARK", "Bachelor of Pharmacy", "Diploma in Pharmacy"; two lines: About and Admissions headings;
   the college e-mail on the Contact page in one line. Computers are not changed. */
@media (max-width: 700px) {
  body[class] h1.m-h1-one { max-width: none; white-space: nowrap; }
  body[class] h1.m-fac { font-size: min(34px, calc((100vw - 48px) * .094)); }
  body[class] h1.m-crs { font-size: min(34px, calc((100vw - 48px) * .098)); }
  body[class] h1.m-h1-two { max-width: none; text-wrap: balance; }
  body[class] h1.m-abt { font-size: min(36px, calc((100vw - 48px) * .105)); }
  body[class] h1.m-adm { font-size: min(36px, calc((100vw - 48px) * .105)); }
  body[class] b.m-mail { white-space: nowrap; font-size: min(15.5px, calc((100vw - 116px) / 18.3)); }
}
