/* ==========================================================================
   Inamdar College of Pharmacy — "Royal Pharmacy" design system
   Emerald and pharmacy green from the caduceus, sapphire from the book,
   leaf green from the laurels. No gold. Mint parchment surfaces, not white.
   ========================================================================== */

@font-face { font-family: "Cormorant Garamond"; src: url("../fonts/cormorant.woff2") format("woff2"); font-weight: 300 700; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/inter.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }

:root {
  /* emerald scale */
  --em-950: #08261C;
  --em-900: #0B3326;
  --em-800: #0E3B2D;
  --em-700: #124B38;   /* pharmacy green, primary */
  --em-600: #197653;   /* emerald, actions */
  --em-500: #1F8A62;
  --leaf: #8CC63F;     /* laurel green, accents on dark */
  --leaf-soft: #B9DE8C;
  --sapphire: #1F4E9C; /* book blue, links */
  --sky: #3A9AD9;

  --parchment: #F1F6F2;  /* page background */
  --sage: #E5EEE7;       /* alternate sections */
  --card: #F8FBF8;       /* raised surfaces */
  --line: #CFDFD4;
  --line-soft: #DFEADF;
  --ink: #16241D;
  --ink-2: #435549;
  --ink-3: #66786C;
  --on-dark: #CFE2D5;
  --on-dark-2: #9DBBA8;
  --on-dark-line: rgba(207, 226, 213, .16);
  --danger: #A8281C;
  --wa: #1DA851;

  --serif: "Cormorant Garamond", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --t-sm: .875rem;
  --t-base: 1.0625rem;
  --t-md: 1.25rem;
  --t-lg: 1.625rem;
  --t-xl: clamp(2rem, 1.5rem + 2vw, 2.75rem);
  --t-2xl: clamp(2.5rem, 1.7rem + 3.2vw, 4rem);
  --t-3xl: clamp(2.9rem, 1.8rem + 4.6vw, 5.4rem);

  --wrap: 1240px;
  --gutter: clamp(20px, 5vw, 48px);
  --section: clamp(76px, 9vw, 132px);
  --r-sm: 4px;
  --r-md: 8px;
  --r-lg: 14px;
  --header-h: 84px;
  --ease: cubic-bezier(.2, .7, .2, 1);

  --lattice-light: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='97' viewBox='0 0 56 97'%3E%3Cpath d='M28 0 L56 16.2 L56 48.5 L28 64.7 L0 48.5 L0 16.2 Z M28 64.7 L28 97' fill='none' stroke='%23124B38' stroke-opacity='.07' stroke-width='1'/%3E%3C/svg%3E");
  --lattice-dark: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='97' viewBox='0 0 56 97'%3E%3Cpath d='M28 0 L56 16.2 L56 48.5 L28 64.7 L0 48.5 L0 16.2 Z M28 64.7 L28 97' fill='none' stroke='%238CC63F' stroke-opacity='.10' stroke-width='1'/%3E%3C/svg%3E");
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 20px); }
body { margin: 0; font-family: var(--sans); font-size: var(--t-base); line-height: 1.68; color: var(--ink); background: var(--parchment); -webkit-font-smoothing: antialiased; overflow-x: clip; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--sapphire); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--em-700); }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; color: var(--em-700); font-family: var(--serif); font-weight: 600; letter-spacing: -.01em; }
h1 { font-size: var(--t-3xl); line-height: 1.02; letter-spacing: -.02em; }
h2 { font-size: var(--t-2xl); line-height: 1.06; letter-spacing: -.015em; }
h3 { font-size: var(--t-lg); line-height: 1.2; font-weight: 700; }
h4 { font-family: var(--sans); font-size: 1rem; font-weight: 650; letter-spacing: 0; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0; padding: 0; }
:focus-visible { outline: 3px solid var(--leaf); outline-offset: 3px; border-radius: 3px; }
::selection { background: var(--leaf-soft); color: var(--em-900); }

.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--em-800); color: #fff; padding: 10px 16px; border-radius: var(--r-sm); text-decoration: none; }
.skip-link:focus { top: 12px; color: #fff; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); position: relative; }
.section--alt { background: var(--sage); }
.section--emerald { background: var(--em-800); color: var(--on-dark); isolation: isolate; }
.section--emerald::before { content: ""; position: absolute; inset: 0; background-image: var(--lattice-dark); background-size: 56px 97px; z-index: -1; }
.section--emerald h2, .section--emerald h3 { color: #F1F8F2; }
.section--tight { padding-block: clamp(52px, 6vw, 84px); }

/* ---------- headings ---------- */
.kicker { display: inline-flex; align-items: center; gap: 12px; margin: 0 0 16px; font-family: var(--sans); font-size: .8125rem; font-weight: 650; letter-spacing: .02em; color: var(--em-600); }
.kicker::before { content: ""; width: 7px; height: 7px; transform: rotate(45deg); background: currentColor; flex: none; }
.kicker::after { content: ""; width: 28px; height: 1px; background: currentColor; opacity: .6; }
.section--emerald .kicker, .on-dark .kicker { color: var(--leaf); }
.head { max-width: 780px; margin-bottom: clamp(38px, 5vw, 60px); }
.head > p:not(.kicker) { font-size: var(--t-md); color: var(--ink-2); margin-top: 18px; line-height: 1.6; }
.section--emerald .head > p:not(.kicker) { color: var(--on-dark); }
.head--split { max-width: none; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 24px 72px; align-items: end; }
.head--split > div:last-child > p:not(.kicker) { color: var(--ink-2); font-size: var(--t-md); line-height: 1.6; }
.head--center { margin-inline: auto; text-align: center; }
.head--center .kicker { justify-content: center; }
.lede { font-size: var(--t-md); line-height: 1.62; color: var(--ink-2); }

/* laurel divider */
.laurel { display: flex; align-items: center; gap: 16px; color: var(--leaf); margin-bottom: 22px; }
.laurel::before, .laurel::after { content: ""; flex: 1; height: 1px; background: currentColor; opacity: .45; }
.laurel svg { width: 64px; height: 28px; flex: none; }
.laurel--left::before { display: none; }

/* ---------- buttons ---------- */
.btn { --bg: var(--em-600); --fg: #fff; --bd: var(--em-600);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 13px 26px;
  border-radius: var(--r-sm); border: 1.5px solid var(--bd); background: var(--bg); color: var(--fg);
  font-family: var(--sans); font-weight: 650; font-size: 1rem; letter-spacing: .005em; text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease); }
.btn:hover { --bg: #13603F; --bd: #13603F; color: #fff; }
.btn:active { transform: translateY(1px); }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn--leaf { --bg: var(--leaf); --fg: var(--em-950); --bd: var(--leaf); }
.btn--leaf:hover { --bg: #A2D45E; --bd: #A2D45E; color: var(--em-950); }
.btn--ghost { --bg: transparent; --fg: var(--em-700); --bd: var(--line); }
.btn--ghost:hover { --bg: var(--card); --fg: var(--em-700); --bd: var(--em-700); color: var(--em-700); }
.btn--on-dark { --bg: transparent; --fg: #F1F8F2; --bd: rgba(207,226,213,.45); }
.btn--on-dark:hover { --bg: rgba(140,198,63,.12); --bd: var(--leaf); color: #fff; }
.btn--wa { --bg: var(--wa); --bd: var(--wa); }
.btn--wa:hover { --bg: #178A43; --bd: #178A43; }
.btn--sm { min-height: 44px; padding: 9px 18px; font-size: .9375rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.text-link { font-weight: 650; color: var(--em-600); text-decoration: none; border-bottom: 1.5px solid currentColor; padding-bottom: 2px; }
.text-link:hover { color: var(--em-800); }
.on-dark .text-link, .section--emerald .text-link { color: var(--leaf); }

/* ---------- review markers ---------- */
.tbc { display: inline-flex; align-items: center; gap: 6px; font-family: var(--sans); font-size: .8125rem; font-weight: 600; line-height: 1.3; color: #6A4300; background: #FFF2CF; border: 1px dashed #C98E00; border-radius: 3px; padding: 3px 8px; vertical-align: middle; letter-spacing: 0; text-transform: none; }
.tbc::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #C98E00; flex: none; }
.review-bar { background: #FFF2CF; color: #573800; font-size: .875rem; border-bottom: 1px solid #EBD08A; }
.review-bar .wrap { padding-block: 8px; }
.unpublished-bar { background: #FCE3DF; color: #6E1C12; border-bottom: 1px solid #F0B7AE; font-size: .9375rem; }
.unpublished-bar .wrap { padding-block: 12px; }

/* ---------- top bar & header ---------- */
.topbar { background: var(--em-950); color: var(--on-dark); font-size: .875rem; }
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 42px; }
.topbar a { color: #F1F8F2; text-decoration: none; }
.topbar a:hover { color: var(--leaf); }
.topbar__notice { display: flex; align-items: center; gap: 10px; margin: 0; }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--leaf); animation: pulse 2.4s infinite; flex: none; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(140,198,63,.55); } 70% { box-shadow: 0 0 0 9px rgba(140,198,63,0); } 100% { box-shadow: 0 0 0 0 rgba(140,198,63,0); } }
.topbar__contact { display: flex; gap: 22px; align-items: center; }
.topbar__contact span { display: inline-flex; align-items: center; gap: 7px; }
.topbar__contact svg { width: 15px; height: 15px; opacity: .8; }

.site-header { position: sticky; top: 0; z-index: 50; background: #F4F9F5; border-bottom: 1px solid var(--line); transition: box-shadow .25s var(--ease); }
.site-header::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 3px; background: linear-gradient(90deg, var(--em-700) 0 34%, var(--leaf) 34% 67%, var(--sapphire) 67% 100%); opacity: .9; }
.site-header.is-scrolled { box-shadow: 0 10px 30px -18px rgba(8,38,28,.45); }
.site-header .wrap { max-width: 1400px; display: flex; align-items: center; justify-content: space-between; gap: 22px; min-height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; color: var(--em-700); flex: none; }
.brand:hover { color: var(--em-700); }
.brand__mark { width: 66px; height: 59px; flex: none; }
.brand__mark img { width: 100%; height: 100%; object-fit: contain; }
.brand__text { display: flex; flex-direction: column; line-height: 1.05; }
.brand__name { font-family: var(--serif); font-weight: 700; font-size: 1.5rem; letter-spacing: -.005em; color: var(--em-700); }
.brand__sub { font-family: var(--sans); font-weight: 550; font-size: .78rem; color: var(--ink-2); letter-spacing: .01em; margin-top: 4px; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav__list { display: flex; list-style: none; gap: 0; align-items: center; }
.nav__item { position: relative; }
.nav__link, .nav__toggle { display: inline-flex; align-items: center; gap: 4px; padding: 10px 11px; border-radius: var(--r-sm); font-weight: 600; font-size: .9rem; color: var(--ink); text-decoration: none; background: none; border: 0; cursor: pointer; white-space: nowrap; }
.nav__link:hover, .nav__toggle:hover, .nav__item:focus-within > .nav__toggle { color: var(--em-600); background: var(--sage); }
.nav__link[aria-current="page"], .nav__toggle.is-current { color: var(--em-600); box-shadow: inset 0 -2px 0 var(--leaf); }
.nav__toggle svg { width: 14px; height: 14px; transition: transform .2s var(--ease); }
.nav__toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
.nav__menu { position: absolute; top: calc(100% + 10px); left: -10px; min-width: 270px; list-style: none; background: var(--card); border: 1px solid var(--line); border-top: 3px solid var(--em-600); border-radius: 0 0 var(--r-md) var(--r-md); padding: 8px; box-shadow: 0 24px 44px -22px rgba(8,38,28,.45); opacity: 0; visibility: hidden; transform: translateY(-4px); transition: opacity .18s var(--ease), transform .18s var(--ease), visibility .18s; }
.nav__menu::before { content: ""; position: absolute; inset: -14px 0 auto 0; height: 14px; }
.nav__item.is-open > .nav__menu { opacity: 1; visibility: visible; transform: none; }
@media (hover: hover) and (min-width: 1321px) { .nav__item:hover > .nav__menu { opacity: 1; visibility: visible; transform: none; } }
.nav__menu a { display: block; padding: 10px 12px; border-radius: var(--r-sm); text-decoration: none; color: var(--ink); font-size: .9375rem; font-weight: 550; }
.nav__menu a:hover { background: var(--sage); color: var(--em-600); }
.nav__menu small { display: block; color: var(--ink-3); font-size: .8125rem; font-weight: 400; margin-top: 2px; }
.nav__cta { margin-left: 8px; }
.menu-btn { display: none; width: 48px; height: 48px; border: 1px solid var(--line); background: var(--card); border-radius: var(--r-sm); cursor: pointer; align-items: center; justify-content: center; color: var(--em-700); }
.menu-btn svg { width: 22px; height: 22px; }

@media (max-width: 1320px) {
  .menu-btn { display: inline-flex; }
  .nav { position: fixed; inset: var(--nav-top, 126px) 0 0 0; background: var(--parchment); flex-direction: column; align-items: stretch; padding: 12px var(--gutter) 120px; overflow-y: auto; transform: translateX(100%); transition: transform .28s var(--ease); visibility: hidden; z-index: 49; }
  .nav.is-open { transform: none; visibility: visible; }
  .nav__list { flex-direction: column; align-items: stretch; }
  .nav__item { border-bottom: 1px solid var(--line-soft); }
  .nav__link, .nav__toggle { width: 100%; justify-content: space-between; padding: 16px 4px; font-size: 1.0625rem; border-radius: 0; }
  .nav__link:hover, .nav__toggle:hover { background: none; }
  .nav__link[aria-current="page"], .nav__toggle.is-current { box-shadow: none; }
  .nav__menu { position: static; box-shadow: none; border: 0; padding: 0 0 12px 10px; min-width: 0; display: none; opacity: 1; visibility: visible; transform: none; background: none; }
  .nav__item.is-open > .nav__menu { display: block; }
  .nav__cta { margin: 24px 0 0; }
  .nav__cta .btn { width: 100%; }
  .topbar__contact .hide-sm { display: none; }
}
@media (max-width: 640px) {
  .topbar__contact { display: none; }
  .brand__mark { width: 52px; height: 47px; }
  .brand__name { font-size: 1.3rem; }
  .brand__sub { font-size: .72rem; }
  :root { --header-h: 74px; }
}

/* ---------- photographs ---------- */
.photo { position: relative; overflow: hidden; border-radius: var(--r-md); background: var(--em-900); aspect-ratio: var(--ar, auto); }
.photo img { width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, center); }
.photo--mat::after { content: ""; position: absolute; inset: 12px; border: 1px solid rgba(241,248,242,.55); border-radius: 4px; pointer-events: none; }
.photo figcaption, .photo__cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 36px 18px 14px; color: #F1F8F2; font-size: .875rem; background: linear-gradient(transparent, rgba(8,38,28,.85)); }
figure { margin: 0; }

/* illustrated placeholders (labs without photos yet) */
.frame { position: relative; border-radius: var(--r-md); overflow: hidden; aspect-ratio: var(--ar, 4/3); background: var(--sage); }
.frame--wide { --ar: 16/9; }
.frame--tall { --ar: 4/5; }
.frame--square { --ar: 1/1; }
.art { position: absolute; inset: 0; display: grid; place-items: center; background-color: #E1ECE3; }
.art::before { content: ""; position: absolute; inset: 0; background-image: var(--lattice-light); background-size: 56px 97px; }
.art svg { position: relative; width: min(62%, 290px); height: auto; }
.art .ill-stroke { stroke: var(--em-700); stroke-width: 1.6; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.art .ill-fill { fill: var(--leaf); opacity: .28; }
.art .ill-accent { stroke: var(--sapphire); }
.art .ill-dot { fill: var(--sapphire); }
.art--dark { background-color: #12402F; }
.art--dark::before { background-image: var(--lattice-dark); }
.art--dark .ill-stroke { stroke: #D3E7D9; }
.art--dark .ill-accent { stroke: var(--leaf); }
.art--dark .ill-dot { fill: var(--leaf); }
.frame .tbc, .photo .tbc { position: absolute; left: 12px; top: 12px; max-width: calc(100% - 24px); z-index: 2; }

/* ---------- hero ---------- */
.hero { position: relative; min-height: min(90vh, 860px); display: grid; align-items: end; color: var(--on-dark); background: var(--em-900); overflow: hidden; isolation: isolate; }
.hero__img { position: absolute; inset: 0; z-index: -3; }
.hero__img img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 30%; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -2; background:
  linear-gradient(90deg, rgba(8,38,28,.96) 0%, rgba(8,38,28,.86) 34%, rgba(8,38,28,.42) 62%, rgba(8,38,28,.12) 100%),
  linear-gradient(0deg, rgba(8,38,28,.95) 0%, rgba(8,38,28,0) 38%); }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background-image: var(--lattice-dark); background-size: 56px 97px; -webkit-mask-image: linear-gradient(90deg, #000 0 30%, transparent 60%); mask-image: linear-gradient(90deg, #000 0 30%, transparent 60%); }
.hero__inner { padding-block: clamp(80px, 12vw, 150px) 0; }
.hero__copy { max-width: 700px; }
.hero h1 { color: #F4FAF5; font-weight: 600; }
.hero h1 em { font-style: italic; font-weight: 500; color: var(--leaf-soft); }
.hero__lede { font-size: var(--t-md); line-height: 1.6; max-width: 34em; margin: 26px 0 36px; color: var(--on-dark); }
.hero__facts { margin-top: clamp(48px, 7vw, 88px); display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); border-top: 1px solid var(--on-dark-line); }
.hero__facts > div { padding: 22px 24px 30px 0; }
.hero__facts > div + div { padding-left: 24px; border-left: 1px solid var(--on-dark-line); }
.hero__facts dt { font-size: .8125rem; color: var(--leaf); font-weight: 600; margin-bottom: 6px; }
.hero__facts dd { margin: 0; color: #F4FAF5; font-family: var(--serif); font-weight: 600; font-size: 1.4rem; line-height: 1.2; }
.js .hero__copy > * { opacity: 0; transform: translateY(16px); animation: rise .9s var(--ease) forwards; }
.js .hero__copy > *:nth-child(2) { animation-delay: .1s; }
.js .hero__copy > *:nth-child(3) { animation-delay: .2s; }
.js .hero__copy > *:nth-child(4) { animation-delay: .3s; }
.js .hero__img img { animation: settle 2.4s var(--ease) both; }
@keyframes rise { to { opacity: 1; transform: none; } }
@keyframes settle { from { transform: scale(1.06); } to { transform: none; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }

/* internal page hero */
.page-hero { position: relative; background: var(--em-800); color: var(--on-dark); overflow: hidden; isolation: isolate; }
.page-hero::before { content: ""; position: absolute; inset: 0; background-image: var(--lattice-dark); background-size: 56px 97px; z-index: -1; }
.page-hero__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 48px; align-items: center; padding-block: clamp(52px, 7vw, 96px); }
.page-hero--photo .page-hero__grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); }
.page-hero h1 { color: #F4FAF5; font-size: var(--t-2xl); max-width: 16ch; }
.page-hero p { font-size: var(--t-md); margin: 20px 0 0; max-width: 38em; line-height: 1.58; }
.page-hero .photo { --ar: 4/3; box-shadow: 0 30px 60px -30px rgba(0,0,0,.6); }
.page-hero__mark { position: absolute; right: -40px; top: 50%; transform: translateY(-50%); width: min(40vw, 460px); opacity: .09; pointer-events: none; z-index: -1; color: #fff; }
.breadcrumbs { font-size: .875rem; margin-bottom: 22px; }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.breadcrumbs li + li::before { content: "/"; margin-right: 8px; color: var(--on-dark-2); }
.breadcrumbs a { color: var(--on-dark); text-decoration: none; }
.breadcrumbs a:hover { color: #fff; text-decoration: underline; }
.breadcrumbs [aria-current] { color: var(--leaf); }

/* ---------- layouts ---------- */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(36px, 6vw, 96px); align-items: center; }
.split--media-left { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); }
.split > *, .cards-2 > *, .cards-3 > *, .labs > *, .contact-grid > *, .admit__grid > *, .principal > * { min-width: 0; }
.stack-photos { position: relative; padding: 0 9% 12% 0; }
.stack-photos .photo:first-child { --ar: 4/3; }
.stack-photos .photo + .photo { position: absolute; right: 0; bottom: 0; width: 46%; --ar: 1/1; border: 6px solid var(--parchment); box-shadow: 0 24px 48px -26px rgba(8,38,28,.55); }
.ticks { list-style: none; display: grid; gap: 14px; margin-top: 28px; }
.ticks li { display: grid; grid-template-columns: 26px 1fr; gap: 12px; align-items: start; }
.ticks svg { width: 22px; height: 22px; color: var(--em-600); margin-top: 3px; }
.cards-2 { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 24px; }
.cards-3 { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 24px; }
.panel { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-md); padding: 30px; }
.panel h3 { margin-bottom: 10px; }
.panel p { color: var(--ink-2); font-size: 1rem; }
.panel--rule { border-top: 3px solid var(--em-600); }
.royal { box-shadow: inset 0 0 0 6px var(--card), inset 0 0 0 7px var(--line); }

/* strengths */
.strengths { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); border-top: 1px solid var(--line); }
.strength { padding: 38px 32px 42px 0; border-bottom: 1px solid var(--line); }
.strength:not(:nth-child(3n+1)) { padding-left: 32px; border-left: 1px solid var(--line); }
.strength__icon { width: 54px; height: 54px; margin-bottom: 22px; color: var(--em-600); }
.strength h3 { margin-bottom: 10px; }
.strength p { color: var(--ink-2); font-size: 1rem; }

/* course cards */
.courses { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.course { position: relative; display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.course__head { position: relative; padding: 30px 32px 26px; background: var(--em-800); color: var(--on-dark); isolation: isolate; }
.course__head::before { content: ""; position: absolute; inset: 0; background-image: var(--lattice-dark); background-size: 56px 97px; z-index: -1; }
.course__code { font-family: var(--serif); font-weight: 700; font-size: clamp(3rem, 2rem + 3vw, 4.4rem); line-height: .9; color: #F4FAF5; letter-spacing: -.02em; }
.course__name { color: var(--leaf-soft); font-family: var(--serif); font-size: 1.45rem; margin-top: 10px; }
.course__status { position: absolute; top: 24px; right: 24px; font-size: .8125rem; font-weight: 650; padding: 5px 12px; border-radius: 999px; background: var(--leaf); color: var(--em-950); }
.course__status--pending { background: #FFE6B3; color: #5C3B00; }
.course__body { padding: 26px 32px 32px; display: flex; flex-direction: column; gap: 18px; flex: 1; }
.course__body > p { color: var(--ink-2); }
.course dl { margin: 0; display: grid; grid-template-columns: 120px 1fr; }
.course dt, .course dd { padding: 11px 0; border-bottom: 1px solid var(--line-soft); }
.course dt { font-weight: 650; color: var(--em-700); font-size: .9375rem; }
.course dd { margin: 0; color: var(--ink-2); font-size: .9375rem; }
.course .btn-row { margin-top: auto; padding-top: 6px; }
.course--pending { opacity: .92; border-style: dashed; }

/* monograph (course detail) */
.monograph { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.monograph__head { display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: end; padding: clamp(28px, 4vw, 48px); background: var(--em-800); color: var(--on-dark); position: relative; isolation: isolate; }
.monograph__head::before { content: ""; position: absolute; inset: 0; background-image: var(--lattice-dark); background-size: 56px 97px; z-index: -1; }
.monograph__code { font-family: var(--serif); font-weight: 700; font-size: clamp(3.4rem, 2rem + 5vw, 6.2rem); line-height: .86; letter-spacing: -.03em; color: #F4FAF5; }
.monograph__title { color: var(--leaf-soft); font-size: var(--t-lg); margin-top: 14px; }
.monograph__badge { display: inline-flex; flex-direction: column; align-items: flex-end; gap: 6px; text-align: right; font-size: .875rem; }
.monograph__badge strong { color: #F4FAF5; font-size: 1rem; }
.monograph__seal { width: 66px; height: 66px; color: var(--leaf); }
.monograph__body { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); }
.monograph dl { margin: 0; padding: clamp(24px, 4vw, 48px); display: grid; grid-template-columns: 170px 1fr; }
.monograph dt, .monograph dd { padding: 16px 0; border-bottom: 1px solid var(--line-soft); }
.monograph dt { font-weight: 700; color: var(--em-700); font-size: .9375rem; padding-right: 16px; }
.monograph dd { margin: 0; color: var(--ink-2); }
.monograph dl > :nth-last-child(-n+2) { border-bottom: 0; }
.monograph__aside { background: var(--sage); padding: clamp(24px, 4vw, 48px); border-left: 1px solid var(--line); display: flex; flex-direction: column; gap: 24px; }
.metric-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; }
.metric { background: var(--card); padding: 16px 18px; }
.metric b { display: block; font-family: var(--serif); font-weight: 700; color: var(--em-700); font-size: 2.1rem; line-height: 1; }
.metric span { font-size: .8125rem; color: var(--ink-2); line-height: 1.35; display: block; margin-top: 6px; }

/* lab explorer */
.labs { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 4vw, 60px); align-items: start; }
.labs__tabs { display: flex; flex-direction: column; border-top: 1px solid var(--on-dark-line); }
.labs__tab { text-align: left; background: none; border: 0; border-bottom: 1px solid var(--on-dark-line); padding: 20px 4px 20px 0; cursor: pointer; color: var(--on-dark); font-family: var(--serif); font-weight: 600; font-size: 1.35rem; display: flex; justify-content: space-between; align-items: center; gap: 16px; transition: color .2s var(--ease), padding .25s var(--ease); }
.labs__tab:hover { color: #fff; }
.labs__tab[aria-selected="true"] { color: #fff; padding-left: 16px; box-shadow: inset 3px 0 0 var(--leaf); }
.labs__tab svg { width: 18px; height: 18px; opacity: 0; color: var(--leaf); transition: opacity .2s; }
.labs__tab[aria-selected="true"] svg { opacity: 1; }
.labs__panel .frame { --ar: 16/10; }
.labs__panel h3 { color: #F4FAF5; font-size: var(--t-xl); margin: 8px 0 12px; }
.labs__panel p { color: var(--on-dark); max-width: 58ch; }
.labs__panel[hidden] { display: none; }
.js .labs__panel:not([hidden]) { animation: fade .35s var(--ease); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin-top: 18px; }
.chips li { font-size: .875rem; padding: 6px 13px; border-radius: 999px; border: 1px solid var(--on-dark-line); color: #DCEBE0; }
.chips--light li { border-color: var(--line); color: var(--ink-2); background: var(--card); }

/* lab explorer (text panels) */
.labs__part { color: var(--leaf); font-weight: 600; font-size: .9375rem; }
.labs__panel h3 { margin-top: 8px; }
.labs__sub { font-family: var(--sans); font-size: .9375rem; font-weight: 650; color: #F1F8F2; margin-top: 26px; }
.labs__sub + .chips { margin-top: 12px; }
.section--emerald .head--split > div:last-child > p:not(.kicker) { color: var(--on-dark); }

/* laboratory index: a ruled list of links into laboratories.html */
.lab-index { list-style: none; border-top: 1px solid var(--line); }
.lab-index li { border-bottom: 1px solid var(--line); }
.lab-index a { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 15px 2px; text-decoration: none; color: var(--em-700); transition: padding .2s var(--ease), color .2s; }
.lab-index a:hover { padding-left: 10px; color: var(--em-600); }
.lab-index b { display: block; font-family: var(--serif); font-weight: 600; font-size: 1.3rem; line-height: 1.2; }
.lab-index small { display: block; font-size: .8125rem; color: var(--ink-2); margin-top: 3px; }
.lab-index svg { flex: none; width: 18px; height: 18px; color: var(--em-600); }
.lab-index--dark { border-color: var(--on-dark-line); }
.lab-index--dark li { border-color: var(--on-dark-line); }
.lab-index--dark a { color: #F1F8F2; }
.lab-index--dark a:hover { color: #fff; }
.lab-index--dark small { color: var(--on-dark); }
.lab-index--dark svg { color: var(--leaf); }
.lab-index--cols { display: grid; grid-template-columns: 1fr 1fr; column-gap: clamp(28px, 4vw, 64px); border-top: 0; }
.lab-index--cols li:nth-child(-n+2) { border-top: 1px solid var(--on-dark-line); }
.lab-home { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(28px, 4vw, 64px); align-items: start; }

/* laboratories page */
.lab-intro { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.lab-intro__label { font-weight: 650; color: var(--em-700); margin-bottom: 10px; }
.lab-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 34px; border-top: 1px solid var(--line); }
.lab-facts > div { padding: 20px 20px 4px 0; }
.lab-facts > div + div { padding-left: 20px; border-left: 1px solid var(--line); }
.lab-facts b { display: block; font-family: var(--serif); font-weight: 700; font-size: clamp(2.4rem, 2rem + 1.4vw, 3.2rem); line-height: 1; color: var(--em-700); }
.lab-facts span { display: block; font-size: .875rem; color: var(--ink-2); margin-top: 8px; line-height: 1.4; }
.lab__grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: clamp(32px, 5vw, 76px); align-items: center; }
.lab__grid > * { min-width: 0; }
.lab__grid--flip > .lab__media { order: 2; }
.lab__media--pair { padding-bottom: 8%; }
.lab__inset { width: 56%; margin: -14% 0 0 auto; z-index: 1; outline: 8px solid var(--parchment); }
.section--alt .lab__inset { outline-color: var(--sage); }
.lab__grid--flip .lab__inset { margin: -14% auto 0 0; }
.lab__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; color: var(--ink-2); font-size: .9375rem; margin-bottom: 14px; }
.lab__part { font-weight: 650; color: var(--em-700); background: rgba(140,198,63,.18); border: 1px solid rgba(25,118,83,.25); border-radius: 999px; padding: 3px 12px; }
.lab__body .lede { margin-top: 18px; }
.lab__lists { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 34px; padding-top: 28px; border-top: 1px solid var(--line); }
.lab__lists h3 { font-family: var(--sans); font-size: .9375rem; font-weight: 700; color: var(--em-700); }
.ticks--sm { gap: 10px; margin-top: 14px; }
.ticks--sm li { grid-template-columns: 20px 1fr; gap: 10px; font-size: .9375rem; line-height: 1.5; }
.ticks--sm svg { width: 18px; height: 18px; margin-top: 2px; }
.lab__equip { list-style: none; display: grid; gap: 10px; margin-top: 14px; }
.lab__equip li { position: relative; padding-left: 22px; font-size: .9375rem; line-height: 1.5; }
.lab__equip li::before { content: ""; position: absolute; left: 3px; top: .62em; width: 8px; height: 8px; background: var(--leaf); transform: rotate(45deg); }
.section--emerald .chips { margin-top: 26px; }
.section--emerald .lede { color: var(--on-dark); }
.lab__media--pair > .photo:first-child figcaption { top: 0; bottom: auto; padding: 14px 18px 40px; background: linear-gradient(rgba(8,38,28,.82), transparent); }
@media (max-width: 900px) {
  .lab-home, .lab-intro, .lab__grid { grid-template-columns: 1fr; }
  .lab__grid--flip > .lab__media { order: 0; }
  .lab-index--cols { grid-template-columns: 1fr; }
  .lab-index--cols li:nth-child(2) { border-top: 0; }
}
@media (max-width: 560px) {
  .lab__lists { grid-template-columns: 1fr; }
  .lab-facts { grid-template-columns: 1fr; }
  .lab-facts > div + div { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
  .lab__inset { width: 72%; margin-top: -10%; outline-width: 6px; }
}

/* learning path (a real sequence) */
.path { list-style: none; display: grid; grid-template-columns: repeat(6, minmax(0,1fr)); counter-reset: step; position: relative; }
.path::before { content: ""; position: absolute; top: 25px; left: 36px; right: calc(100% / 6 - 26px); height: 1px; background: repeating-linear-gradient(90deg, var(--em-600) 0 6px, transparent 6px 12px); }
.path li { position: relative; padding-right: 20px; counter-increment: step; }
.path__num { width: 52px; height: 52px; transform: rotate(45deg); background: var(--parchment); border: 1.5px solid var(--em-600); display: grid; place-items: center; margin: 0 0 24px 10px; position: relative; }
.path__num::before { content: counter(step); transform: rotate(-45deg); color: var(--em-700); font-family: var(--serif); font-weight: 700; font-size: 1.35rem; }
.section--alt .path__num { background: var(--sage); }
.path li:last-child .path__num { background: var(--em-600); }
.path li:last-child .path__num::before { color: #fff; }
.path h3 { font-size: 1.3rem; margin-bottom: 8px; }
.path p { font-size: .9375rem; color: var(--ink-2); }
.path__when { display: block; font-size: .8125rem; color: var(--em-600); font-weight: 650; margin-bottom: 6px; }

/* mosaic for campus teaser */
.mosaic { display: grid; grid-template-columns: 1.4fr 1fr; grid-template-rows: auto auto; gap: 18px; }
.mosaic .photo:first-child { grid-row: span 2; --ar: auto; min-height: 100%; }
.mosaic .photo { --ar: 4/3; }
.mosaic__list { list-style: none; display: grid; gap: 0; border-top: 1px solid var(--line); }
.mosaic__list li { border-bottom: 1px solid var(--line); }
.mosaic__list a { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 18px 2px; text-decoration: none; color: var(--em-700); font-family: var(--serif); font-weight: 600; font-size: 1.35rem; }
.mosaic__list a:hover { color: var(--em-600); padding-left: 8px; }
.mosaic__list svg { width: 18px; height: 18px; color: var(--em-600); }
.mosaic__list a { transition: padding .2s var(--ease), color .2s; }

/* gallery */
.gallery-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.filter-btn { border: 1px solid var(--line); background: var(--card); border-radius: 999px; padding: 9px 18px; cursor: pointer; font-weight: 600; font-size: .9375rem; color: var(--ink); }
.filter-btn:hover { border-color: var(--em-700); }
.filter-btn[aria-pressed="true"] { background: var(--em-700); border-color: var(--em-700); color: #fff; }
.masonry { columns: 3 260px; column-gap: 18px; }
.masonry__item { break-inside: avoid; margin: 0 0 18px; }
.masonry__item[hidden] { display: none; }
.masonry__btn { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; text-align: left; border-radius: var(--r-md); }
.masonry__btn .photo img, .masonry__btn .frame { transition: transform .6s var(--ease); }
.masonry__btn:hover .photo img { transform: scale(1.03); }
.masonry figcaption { font-size: .875rem; color: var(--ink-2); margin-top: 10px; }
.lightbox { position: fixed; inset: 0; z-index: 90; background: rgba(5,26,19,.96); display: grid; grid-template-rows: 1fr auto; padding: 64px 76px 24px; }
.lightbox[hidden] { display: none; }
.lightbox__stage { display: grid; place-items: center; min-height: 0; }
.lightbox__stage > * { max-width: min(1400px, 100%); max-height: 100%; width: 100%; }
.lightbox__stage .photo { background: none; aspect-ratio: auto; height: 100%; }
.lightbox__stage img { max-height: 80vh; width: auto; max-width: 100%; margin: auto; object-fit: contain; }
.lightbox__caption { color: var(--on-dark); text-align: center; padding-top: 16px; font-size: .9375rem; }
.lightbox__btn { position: absolute; width: 50px; height: 50px; border-radius: 50%; border: 1px solid rgba(207,226,213,.35); background: rgba(207,226,213,.06); color: #fff; cursor: pointer; display: grid; place-items: center; }
.lightbox__btn:hover { background: rgba(140,198,63,.2); }
.lightbox__btn svg { width: 22px; height: 22px; }
.lightbox__close { top: 16px; right: 16px; }
.lightbox__prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 16px; top: 50%; transform: translateY(-50%); }

/* news */
.news-list { list-style: none; border-top: 1px solid var(--line); }
.news-item { display: grid; grid-template-columns: 170px minmax(0,1fr) auto; gap: 24px; padding: 30px 0; border-bottom: 1px solid var(--line); align-items: start; }
.news-item__meta { font-size: .875rem; color: var(--ink-3); }
.news-item__type { display: inline-block; font-weight: 650; color: var(--em-600); font-size: .875rem; margin-bottom: 4px; }
.news-item h3 { margin-bottom: 8px; }
.news-item p { color: var(--ink-2); max-width: 64ch; }

/* admission band */
.admit { position: relative; color: var(--on-dark); background: var(--em-900); overflow: hidden; isolation: isolate; }
.admit__bg { position: absolute; inset: 0; z-index: -2; }
.admit__bg img { width: 100%; height: 100%; object-fit: cover; }
.admit::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(8,38,28,.97) 0%, rgba(8,38,28,.93) 45%, rgba(8,38,28,.80) 100%); }
.admit__grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 84px); align-items: start; }
.admit h2 { color: #F4FAF5; }
.admit__facts { list-style: none; margin: 32px 0; border-top: 1px solid var(--on-dark-line); }
.admit__facts li { display: grid; grid-template-columns: 130px 1fr; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--on-dark-line); }
.admit__facts b { color: #F4FAF5; font-weight: 650; }
.admit__call { display: grid; gap: 8px; }
.admit__call a { color: #F4FAF5; font-family: var(--serif); font-weight: 700; font-size: 1.6rem; text-decoration: none; }
.admit__call a:hover { color: var(--leaf); }
.admit__photo-note { font-size: .8125rem; color: var(--on-dark-2); margin-top: 22px; }

/* ---------- forms ---------- */
.form-card { position: relative; background: var(--card); color: var(--ink); border-radius: var(--r-lg); padding: clamp(26px, 4vw, 46px); box-shadow: 0 34px 70px -40px rgba(0,0,0,.6); }
.form-card::before { content: ""; position: absolute; inset: 8px; border: 1px solid var(--line); border-radius: 10px; pointer-events: none; }
.form-card h3 { font-size: var(--t-xl); margin-bottom: 6px; }
.form-card > p { color: var(--ink-2); font-size: .9375rem; margin-bottom: 24px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; position: relative; }
.form-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.field { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field > label, .field > legend, .field > .label { font-weight: 650; font-size: .9375rem; color: var(--em-700); }
.field .opt { font-weight: 450; color: var(--ink-3); font-size: .8125rem; }
.field input:not([type=checkbox]):not([type=radio]), .field select, .field textarea { width: 100%; min-height: 50px; padding: 12px 14px; border: 1.5px solid #BFD3C5; border-radius: var(--r-sm); background: #FCFEFC; font-size: 1rem; transition: border-color .15s, box-shadow .15s; }
.field textarea { min-height: 110px; resize: vertical; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23124B38' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 18px; padding-right: 40px; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: #8FB09B; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--em-600); box-shadow: 0 0 0 4px rgba(25,118,83,.16); }
.field.has-error input, .field.has-error select, .field.has-error textarea, .field.has-error .file-drop { border-color: var(--danger); }
.field__error { color: var(--danger); font-size: .8125rem; font-weight: 550; }
.field__error:empty { display: none; }
.field__hint { font-size: .8125rem; color: var(--ink-3); }
.phone-input { display: flex; }
.phone-input span { display: grid; place-items: center; padding: 0 12px; border: 1.5px solid #BFD3C5; border-right: 0; border-radius: var(--r-sm) 0 0 var(--r-sm); background: var(--sage); font-weight: 600; color: var(--ink-2); font-size: .9375rem; }
.phone-input input { border-radius: 0 var(--r-sm) var(--r-sm) 0 !important; }
.choice-row { display: flex; flex-wrap: wrap; gap: 8px; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.choice span { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 16px; border: 1.5px solid #BFD3C5; border-radius: 999px; background: #FCFEFC; font-size: .9375rem; font-weight: 550; cursor: pointer; }
.choice input:checked + span { background: var(--em-700); border-color: var(--em-700); color: #fff; }
.choice input:focus-visible + span { outline: 3px solid var(--leaf); outline-offset: 2px; }
.check { display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: start; font-size: .875rem; color: var(--ink-2); line-height: 1.5; cursor: pointer; font-weight: 400; }
.check input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--em-600); cursor: pointer; }
.check--inline { font-size: .8125rem; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 10px; position: relative; }
.form-actions .btn { min-width: 220px; }
.form-note { font-size: .8125rem; color: var(--ink-3); }
.form-status { margin-top: 18px; padding: 16px 18px; border-radius: var(--r-sm); font-size: .9375rem; display: none; position: relative; }
.form-status.is-error { display: block; background: #FBE6E2; color: #6E1C12; border: 1px solid #F0B7AE; }
.form-status.is-info { display: block; background: #E4F2E3; color: #0E3B2D; border: 1px solid #BFDDBE; }
.form-status.is-warn { display: block; background: #FFF2CF; color: #573800; border: 1px solid #EBD08A; }
.form-status a { color: inherit; font-weight: 700; }
.form-success { position: relative; padding: 8px 0; }
.form-success__icon { width: 58px; height: 58px; color: var(--em-600); margin-bottom: 18px; }
.form-success h3 { margin-bottom: 10px; }
.form-success p { color: var(--ink-2); }
.btn[aria-busy="true"] { opacity: .75; pointer-events: none; }
.spinner { width: 18px; height: 18px; border: 2px solid rgba(255,255,255,.4); border-top-color: #fff; border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- application wizard ---------- */
.wizard { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.stepper { list-style: none; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); background: var(--em-800); color: var(--on-dark-2); counter-reset: st; }
.stepper li { counter-increment: st; padding: 18px 10px 16px; text-align: center; font-size: .8125rem; font-weight: 600; position: relative; border-bottom: 3px solid transparent; }
.stepper li::before { content: counter(st); display: grid; place-items: center; width: 32px; height: 32px; margin: 0 auto 8px; border-radius: 50%; border: 1.5px solid currentColor; font-family: var(--serif); font-size: 1.05rem; font-weight: 700; }
.stepper li.is-done { color: var(--leaf); }
.stepper li.is-done::before { content: "✓"; background: var(--leaf); color: var(--em-950); border-color: var(--leaf); font-family: var(--sans); font-size: .9rem; }
.stepper li.is-current { color: #F4FAF5; border-bottom-color: var(--leaf); }
.stepper li.is-current::before { background: #F4FAF5; color: var(--em-800); border-color: #F4FAF5; }
.wizard__body { padding: clamp(24px, 4vw, 48px); }
.wizard__step[hidden] { display: none; }
.wizard__step h2 { font-size: var(--t-xl); margin-bottom: 6px; }
.wizard__step > p { color: var(--ink-2); margin-bottom: 26px; }
.wizard__nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--line-soft); }
.file-drop { display: grid; grid-template-columns: 44px 1fr auto; gap: 14px; align-items: center; padding: 14px 16px; border: 1.5px dashed #9FBDA9; border-radius: var(--r-md); background: #FCFEFC; position: relative; }
.file-drop:hover { border-color: var(--em-600); }
.file-drop input[type=file] { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; }
.file-drop__icon { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--sage); color: var(--em-600); }
.file-drop__icon svg { width: 20px; height: 20px; }
.file-drop__name { font-size: .875rem; color: var(--ink-2); overflow-wrap: anywhere; }
.file-drop__name b { display: block; color: var(--em-700); font-size: .9375rem; }
.file-drop.has-file { border-style: solid; border-color: var(--em-600); background: #F0F7F1; }
.file-drop__btn { font-size: .8125rem; font-weight: 650; color: var(--em-600); }
.review-list { display: grid; gap: 22px; }
.review-block { border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; }
.review-block h3 { font-size: 1.2rem; padding: 12px 18px; background: var(--sage); display: flex; justify-content: space-between; align-items: center; }
.review-block h3 button { font: 600 .8125rem var(--sans); color: var(--sapphire); background: none; border: 0; cursor: pointer; text-decoration: underline; }
.review-block dl { margin: 0; display: grid; grid-template-columns: 200px 1fr; padding: 6px 18px 12px; }
.review-block dt, .review-block dd { padding: 8px 0; border-bottom: 1px solid var(--line-soft); font-size: .9375rem; }
.review-block dt { color: var(--ink-3); }
.review-block dd { margin: 0; color: var(--ink); font-weight: 550; overflow-wrap: anywhere; }
.ack { text-align: left; }
.ack__ref { display: inline-block; margin: 18px 0 8px; padding: 14px 22px; border: 1.5px solid var(--em-600); border-radius: var(--r-md); background: #F0F7F1; font-family: var(--serif); font-weight: 700; font-size: 2rem; letter-spacing: .04em; color: var(--em-700); }
.ack__note { background: var(--sage); border-left: 3px solid var(--em-600); padding: 14px 18px; border-radius: 0 var(--r-sm) var(--r-sm) 0; color: var(--ink-2); margin: 20px 0; }

/* ---------- misc blocks ---------- */
.subject-table { width: 100%; border-collapse: collapse; }
.subject-table th, .subject-table td { text-align: left; padding: 16px 16px 16px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.subject-table th { font-size: .8125rem; color: var(--ink-3); font-weight: 650; }
.subject-table td:first-child { font-family: var(--serif); font-weight: 700; color: var(--em-700); font-size: 1.15rem; width: 36%; }
.subject-table td { color: var(--ink-2); overflow-wrap: anywhere; }
.steps { list-style: none; counter-reset: s; display: grid; border-top: 1px solid var(--line); }
.steps li { counter-increment: s; display: grid; grid-template-columns: 64px 1fr; gap: 20px; padding: 26px 0; border-bottom: 1px solid var(--line); }
.steps li::before { content: counter(s); width: 46px; height: 46px; border-radius: 50%; border: 1.5px solid var(--em-600); color: var(--em-700); display: grid; place-items: center; font-family: var(--serif); font-weight: 700; font-size: 1.3rem; }
.steps h3 { margin-bottom: 6px; font-size: 1.35rem; }
.steps p { color: var(--ink-2); }
.doc-list { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 0 32px; }
.doc-list li { display: grid; grid-template-columns: 24px 1fr; gap: 12px; padding: 13px 0; border-bottom: 1px solid var(--line-soft); }
.doc-list svg { width: 20px; height: 20px; color: var(--em-600); margin-top: 3px; }
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 48px 22px 0; position: relative; font-family: var(--serif); font-weight: 700; color: var(--em-700); font-size: 1.35rem; line-height: 1.3; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 14px; height: 14px; margin-top: -7px; background: linear-gradient(var(--em-600), var(--em-600)) center/14px 2px no-repeat, linear-gradient(var(--em-600), var(--em-600)) center/2px 14px no-repeat; transition: transform .25s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > p { padding: 0 48px 24px 0; color: var(--ink-2); max-width: 70ch; }
.people { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 28px; }
.person .frame, .person .photo { --ar: 1/1; margin-bottom: 16px; }
.person h3 { font-size: 1.35rem; }
.person p { font-size: .9375rem; color: var(--ink-2); margin-top: 4px; }
.principal { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.principal blockquote { margin: 0; font-family: var(--serif); font-size: var(--t-lg); line-height: 1.45; color: var(--em-700); font-weight: 600; }
.group-list { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); border-top: 1px solid var(--line); }
.group-list li { padding: 24px 24px 28px 0; border-bottom: 1px solid var(--line); }
.group-list li + li { padding-left: 24px; border-left: 1px solid var(--line); }
.group-list b { display: block; font-family: var(--serif); color: var(--em-700); font-size: 1.35rem; margin-bottom: 6px; line-height: 1.2; }
.group-list span { color: var(--ink-2); font-size: .9375rem; }
.contact-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.contact-list { list-style: none; border-top: 1px solid var(--line); }
.contact-list li { display: grid; grid-template-columns: 46px 1fr; gap: 14px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.contact-list .ico { width: 46px; height: 46px; border-radius: 50%; background: var(--em-700); color: var(--leaf); display: grid; place-items: center; }
.contact-list .ico svg { width: 20px; height: 20px; }
.contact-list b { display: block; color: var(--em-700); margin-bottom: 4px; }
.contact-list a { color: var(--ink); text-decoration: none; font-weight: 600; }
.contact-list a:hover { color: var(--em-600); text-decoration: underline; }
.map-card { position: relative; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); background: var(--sage); aspect-ratio: 16/10; }
.map-card iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-card__placeholder { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; padding: 24px; }
.map-card__placeholder::before { content: ""; position: absolute; inset: 0; background-image: var(--lattice-light); background-size: 56px 97px; }
.map-card__placeholder > div { position: relative; display: grid; gap: 14px; justify-items: center; }
.map-pin { width: 56px; height: 56px; color: var(--em-600); }
.legal { max-width: 72ch; }
.legal h2 { font-size: var(--t-xl); margin: 40px 0 12px; }
.legal p, .legal li { color: var(--ink-2); }
.legal ul { padding-left: 20px; display: grid; gap: 6px; margin-bottom: 1em; }
.empty { border: 1px dashed var(--line); border-radius: var(--r-md); padding: 40px; text-align: center; color: var(--ink-2); background: var(--card); }
.cta-strip { position: relative; display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; padding: clamp(28px, 4vw, 48px); background: var(--em-800); color: var(--on-dark); border-radius: var(--r-lg); overflow: hidden; isolation: isolate; }
.cta-strip::before { content: ""; position: absolute; inset: 0; background-image: var(--lattice-dark); background-size: 56px 97px; z-index: -1; }
.cta-strip h2 { font-size: var(--t-xl); color: #F4FAF5; }
.cta-strip p { margin-top: 8px; }
.quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.quote { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-md); padding: 32px; }
.quote blockquote { margin: 0 0 20px; font-family: var(--serif); font-size: 1.4rem; line-height: 1.4; color: var(--em-700); }
.quote cite { font-style: normal; font-weight: 650; color: var(--ink); }
.quote cite span { display: block; font-weight: 450; color: var(--ink-3); font-size: .875rem; }
.timeline { list-style: none; border-left: 1px solid var(--line); margin-left: 8px; }
.timeline li { position: relative; padding: 0 0 30px 32px; }
.timeline li::before { content: ""; position: absolute; left: -6px; top: 8px; width: 11px; height: 11px; transform: rotate(45deg); background: var(--em-600); }
.timeline b { display: block; font-family: var(--serif); font-size: 1.35rem; color: var(--em-700); }
.timeline p { color: var(--ink-2); margin-top: 4px; }

/* ---------- footer ---------- */
.site-footer { background: var(--em-950); color: var(--on-dark); padding-top: clamp(56px, 7vw, 96px); font-size: .9375rem; position: relative; isolation: isolate; }
.site-footer::before { content: ""; position: absolute; inset: 0; background-image: var(--lattice-dark); background-size: 56px 97px; opacity: .6; z-index: -1; }
.site-footer a { color: var(--on-dark); text-decoration: none; }
.site-footer a:hover { color: var(--leaf); text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, .8fr)) minmax(0, 1.25fr); gap: 40px 32px; padding-bottom: 56px; }
.footer-seal { display: flex; align-items: center; gap: 16px; margin-bottom: 18px; color: #F4FAF5; text-decoration: none; }
.footer-seal__medal { width: 88px; height: 88px; border-radius: 50%; background: #E9F5E9; display: grid; place-items: center; box-shadow: 0 0 0 4px var(--em-950), 0 0 0 5px rgba(140,198,63,.6); flex: none; }
.footer-seal__medal img { width: 72px; height: auto; }
.footer-seal b { display: block; font-family: var(--serif); font-size: 1.6rem; line-height: 1.05; font-weight: 700; }
.footer-seal span { font-size: .8125rem; color: var(--on-dark-2); }
.footer-brand p { max-width: 34ch; }
.site-footer h2 { font-family: var(--sans); font-size: .875rem; font-weight: 650; color: var(--leaf); margin-bottom: 16px; letter-spacing: .02em; }
.site-footer ul { list-style: none; display: grid; gap: 10px; }
.footer-contact li { display: grid; grid-template-columns: 20px 1fr; gap: 10px; }
.footer-contact svg { width: 16px; height: 16px; margin-top: 4px; color: var(--leaf); }
.social { display: flex; gap: 10px; margin-top: 18px; }
.social a { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--on-dark-line); display: grid; place-items: center; }
.social svg { width: 18px; height: 18px; }
.footer-bottom { border-top: 1px solid var(--on-dark-line); padding-block: 22px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; font-size: .875rem; color: var(--on-dark-2); }
.footer-bottom ul { display: flex; gap: 20px; flex-wrap: wrap; }

/* ---------- WhatsApp, mobile bar, consent ---------- */
.wa { position: fixed; right: 22px; bottom: 22px; z-index: 60; display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
.wa__fab { width: 60px; height: 60px; border-radius: 50%; border: 0; background: var(--wa); color: #fff; display: grid; place-items: center; cursor: pointer; box-shadow: 0 14px 30px -12px rgba(16,90,50,.7); transition: transform .2s var(--ease); }
.wa__fab:hover { transform: scale(1.05); }
.wa__fab svg { width: 30px; height: 30px; }
.wa__panel { width: min(350px, calc(100vw - 32px)); background: var(--card); border-radius: var(--r-lg); box-shadow: 0 30px 60px -24px rgba(8,38,28,.55); overflow: hidden; border: 1px solid var(--line); }
.wa__panel[hidden] { display: none; }
.wa__head { background: var(--em-800); color: #fff; padding: 18px 20px; }
.wa__head b { font-family: var(--serif); font-size: 1.35rem; display: block; }
.wa__head span { font-size: .8125rem; color: var(--on-dark); }
.wa__list { list-style: none; padding: 8px; }
.wa__list a { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px; border-radius: var(--r-sm); text-decoration: none; color: var(--ink); font-weight: 600; font-size: .9375rem; }
.wa__list a:hover { background: var(--sage); color: var(--em-600); }
.wa__list svg { width: 16px; height: 16px; color: var(--em-600); }
.wa__foot { padding: 0 20px 16px; font-size: .75rem; color: var(--ink-3); }
.action-bar { display: none; }
@media (max-width: 720px) {
  .wa { bottom: 84px; right: 14px; }
  .wa__fab { width: 54px; height: 54px; }
  .action-bar { display: grid; grid-template-columns: 1fr 1fr 1.3fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 55; background: #F4F9F5; border-top: 1px solid var(--line); padding: 8px 10px calc(8px + env(safe-area-inset-bottom)); gap: 8px; }
  .action-bar a { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; border-radius: var(--r-sm); text-decoration: none; font-weight: 650; font-size: .9375rem; }
  .action-bar svg { width: 18px; height: 18px; }
  .ab-call { color: var(--em-700); border: 1.5px solid var(--line); }
  .ab-wa { color: #fff; background: var(--wa); }
  .ab-apply { color: #fff; background: var(--em-600); }
  body { padding-bottom: 72px; }
}
.consent { position: fixed; left: 22px; bottom: 22px; z-index: 70; width: min(420px, calc(100vw - 32px)); background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 22px; box-shadow: 0 30px 60px -24px rgba(8,38,28,.5); font-size: .9375rem; }
.consent[hidden] { display: none; }
.consent h2 { font-size: 1.4rem; margin-bottom: 8px; }
.consent p { color: var(--ink-2); margin-bottom: 16px; }
@media (max-width: 720px) { .consent { left: 16px; bottom: 84px; } }

/* reveal */
.js [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .hero__facts { grid-template-columns: 1fr 1fr; }
  .hero__facts > div:nth-child(3) { padding-left: 0; border-left: 0; }
  .hero__facts > div:nth-child(n+3) { border-top: 1px solid var(--on-dark-line); }
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .monograph__body { grid-template-columns: 1fr; }
  .monograph__aside { border-left: 0; border-top: 1px solid var(--line); }
  .path { grid-template-columns: repeat(3, minmax(0,1fr)); row-gap: 44px; }
  .path::before { display: none; }
  .stepper li { font-size: 0; padding: 14px 4px 12px; }
  .stepper li::before { margin-bottom: 0; font-size: 1rem; }
  .stepper li.is-current { font-size: .75rem; }
  .stepper li.is-current::before { margin-bottom: 6px; }
}
@media (max-width: 900px) {
  .split, .split--media-left, .labs, .admit__grid, .contact-grid, .principal, .head--split, .page-hero--photo .page-hero__grid, .mosaic { grid-template-columns: 1fr; }
  .mosaic .photo:first-child { grid-row: auto; --ar: 16/10; }
  .strengths { grid-template-columns: 1fr 1fr; }
  .strength:not(:nth-child(3n+1)) { padding-left: 0; border-left: 0; }
  .strength:nth-child(2n) { padding-left: 28px; border-left: 1px solid var(--line); }
  .cards-3, .courses { grid-template-columns: 1fr 1fr; }
  .group-list { grid-template-columns: 1fr; }
  .group-list li + li { padding-left: 0; border-left: 0; }
  .news-item { grid-template-columns: 1fr; gap: 8px; }
  .cta-strip { grid-template-columns: 1fr; }
  .form-grid--3 { grid-template-columns: 1fr 1fr; }
  .page-hero__mark { display: none; }
}
@media (max-width: 640px) {
  .hero { min-height: 0; }
  .hero__inner { padding-top: 56vw; }
  .hero__img img { object-position: 72% 20%; }
  .hero::before { background: linear-gradient(0deg, rgba(8,38,28,.98) 0%, rgba(8,38,28,.9) 55%, rgba(8,38,28,.25) 85%, rgba(8,38,28,.1) 100%); }
  .hero__facts { grid-template-columns: 1fr 1fr; }
  .hero__facts > div, .hero__facts > div + div { padding: 14px 12px 16px 0; }
  .hero__facts > div:nth-child(2n) { padding-left: 14px; border-left: 1px solid var(--on-dark-line); }
  .hero__facts dd { font-size: 1.15rem; }
  .strengths, .cards-2, .cards-3, .courses, .doc-list, .form-grid, .form-grid--3 { grid-template-columns: 1fr; }
  .strength:nth-child(2n) { padding-left: 0; border-left: 0; }
  .strength { padding-right: 0; }
  .monograph dl, .course dl, .review-block dl { grid-template-columns: 1fr; }
  .monograph dt, .course dt, .review-block dt { border-bottom: 0; padding-bottom: 0; }
  .monograph dd, .course dd, .review-block dd { padding-top: 2px; }
  .monograph__head { grid-template-columns: 1fr; }
  .monograph__badge { align-items: flex-start; text-align: left; }
  .path { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .admit__facts li { grid-template-columns: 1fr; gap: 2px; }
  .lightbox { padding: 64px 12px 24px; }
  .lightbox__prev, .lightbox__next { top: auto; bottom: 16px; transform: none; }
  .btn-row .btn { flex: 1 1 auto; }
  .panel { padding: 22px 18px; }
  .subject-table td:first-child { width: 42%; padding-right: 12px; font-size: 1.05rem; }
  .masonry { columns: 2; column-gap: 12px; }
  .masonry__item { margin-bottom: 14px; }
  .stack-photos { padding: 0; }
  .stack-photos .photo + .photo { display: none; }
  .wizard__nav .btn { flex: 1; min-width: 0; }
  .file-drop { grid-template-columns: 40px 1fr; }
  .file-drop__btn { display: none; }
  .course__head, .course__body { padding-inline: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .js .hero__copy > *, .js [data-reveal] { opacity: 1; transform: none; }
}
@media print {
  .topbar, .site-header, .wa, .action-bar, .consent, .review-bar, .site-footer, .stepper, .wizard__nav, .page-hero { display: none !important; }
  body { padding: 0; background: #fff; }
  .wizard { border: 0; }
}

.glance { margin: 0; display: grid; grid-template-columns: 130px 1fr; }
.glance dt, .glance dd { padding: 13px 0; border-bottom: 1px solid var(--line-soft); }
.glance dt { font-weight: 650; color: var(--em-700); font-size: .9375rem; }
.glance dd { margin: 0; color: var(--ink-2); }
.glance > :nth-last-child(-n+2) { border-bottom: 0; }
@media (max-width: 640px) { .glance { grid-template-columns: 1fr; } .glance dt { border-bottom: 0; padding-bottom: 0; } }

.split--top { align-items: start; }
.sticky-media { position: sticky; top: calc(var(--header-h) + 32px); }
@media (max-width: 900px) { .sticky-media { position: static; } .sticky-media .photo { --ar: 4/3 !important; } }

/* mobile hero: photo on top, copy on emerald below */
@media (max-width: 640px) {
  .hero { display: block; min-height: 0; }
  .hero__img { position: relative; inset: auto; height: 68vw; z-index: 0; }
  .hero__img img { object-position: 40% 42%; }
  .hero::before { background: linear-gradient(180deg, rgba(8,38,28,0) 0, rgba(8,38,28,0) 30vw, rgba(8,38,28,1) 68vw, rgba(8,38,28,1) 100%); z-index: 1; pointer-events: none; }
  .hero::after { display: none; }
  .hero__inner { position: relative; z-index: 2; padding-top: 0; margin-top: -18vw; }
  .map-card { aspect-ratio: auto; min-height: 340px; }
  .map-card__placeholder { position: relative; inset: auto; padding: 36px 18px; }
  .map-card iframe { min-height: 340px; }
}

[hidden] { display: none !important; }
/* molecule line art (page-hero watermark) */
.molecule { width: 100%; height: auto; overflow: visible; }
.molecule .bond { stroke: currentColor; stroke-width: 3; stroke-linecap: round; fill: none; }
.molecule .bond--inner { stroke: var(--leaf); stroke-width: 2.5; }
.molecule .atom { font-family: var(--serif); font-weight: 700; font-size: 28px; fill: currentColor; }
.molecule .atom--o, .molecule .atom--n { fill: var(--leaf); }
.molecule .node { fill: var(--leaf); }
.molecule .halo { fill: none; stroke: currentColor; stroke-width: 1; opacity: .5; }
.molecule .note, .molecule .note-line { display: none; }
