/* ==========================================================================
   Canaanland University: public site styles
   No build step. Plain CSS, deployable over FTP (agent-contract.md §3.4).

   Brand tokens are sampled from the university crest:
     jam   #B8084F  (shield field)      wordmark #99134E
     plum  #760255  (motto ribbon)      deep plum #3A0429
     gold  #E9A825  (torch flame, used only as a small ornament)

   Shape system (one rule, used everywhere):
     buttons + chips = full pill, cards + images = 16px, inputs = 10px
   ========================================================================== */

:root {
  color-scheme: light;

  --jam-500: #b8084f;
  --jam-600: #a00a4c;
  --jam-700: #820843;
  --plum-600: #760255;
  --plum-800: #4b0438;
  --plum-900: #2a0320;
  --lilac-50: #fbf6f9;
  --lilac-100: #f5eaf1;
  --lilac-200: #ead5e3;
  --lilac-300: #d8b3cc;
  --gold: #e9a825;

  --bg: #fcf9fb;
  --surface: #fffdfe;
  --surface-2: var(--lilac-100);
  --surface-3: var(--lilac-200);
  --ink: #1f1220;
  --ink-2: #4a3947;
  --ink-3: #6b5a67;
  --line: #e8d9e3;
  --line-strong: #d6c0cf;

  --accent: var(--jam-600);          /* buttons, active states */
  --accent-hover: var(--jam-700);
  --accent-text: var(--jam-600);     /* links + accent text on page bg */
  --on-accent: #fffafc;
  --deep: var(--plum-800);           /* dark brand bands */
  --deep-2: var(--plum-900);
  --on-deep: #fbf1f7;
  --on-deep-muted: #dcc4d4;

  --success-bg: #e8f5ee; --success-ink: #14532d;
  --error-ink: #b4232f;

  --shadow-sm: 0 1px 2px rgb(74 4 56 / .06), 0 2px 8px rgb(74 4 56 / .05);
  --shadow-md: 0 10px 30px -12px rgb(74 4 56 / .22);
  --shadow-lg: 0 24px 60px -24px rgb(74 4 56 / .35);

  --r-card: 16px;
  --r-input: 10px;
  --r-pill: 999px;

  --font: "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --container: 1240px;
  --gutter: clamp(16px, 4vw, 32px);
  --header-h: 72px;
  --ease-out: cubic-bezier(.16, 1, .3, 1);

  /* z-index scale */
  --z-header: 50;
  --z-drawer: 70;
  --z-dialog: 90;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --bg: #150912;
    --surface: #1d0e1a;
    --surface-2: #261322;
    --surface-3: #33192e;
    --ink: #f7eef4;
    --ink-2: #d9c7d3;
    --ink-3: #ad97a6;
    --line: #3a2135;
    --line-strong: #4e2c47;
    --accent: #c41a69;
    --accent-hover: #d8337f;
    --accent-text: #f07ab2;
    --deep: #2b0621;
    --deep-2: #1a0314;
    --success-bg: #12301f; --success-ink: #bfeccf;
    --error-ink: #ff8f99;
    --shadow-sm: 0 1px 2px rgb(0 0 0 / .4);
    --shadow-md: 0 10px 30px -12px rgb(0 0 0 / .6);
    --shadow-lg: 0 24px 60px -24px rgb(0 0 0 / .7);
  }
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #150912; --surface: #1d0e1a; --surface-2: #261322; --surface-3: #33192e;
  --ink: #f7eef4; --ink-2: #d9c7d3; --ink-3: #ad97a6; --line: #3a2135; --line-strong: #4e2c47;
  --accent: #c41a69; --accent-hover: #d8337f; --accent-text: #f07ab2;
  --deep: #2b0621; --deep-2: #1a0314;
  --success-bg: #12301f; --success-ink: #bfeccf; --error-ink: #ff8f99;
}

/* ------------------------------------------------------------------ base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent-text); text-underline-offset: .2em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
h1, h2, h3, h4 { margin: 0; color: var(--ink); line-height: 1.12; letter-spacing: -.022em; font-weight: 750; text-wrap: balance; }
h1 { font-size: clamp(2.1rem, 1.45rem + 2.6vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 1.3rem + 1.6vw, 2.6rem); }
h3 { font-size: clamp(1.15rem, 1.05rem + .4vw, 1.375rem); letter-spacing: -.012em; line-height: 1.25; }
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; }
:focus-visible { outline: 3px solid var(--accent-text); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--jam-500); color: #fff; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 16px; top: -100px; z-index: 100; background: var(--accent); color: var(--on-accent); padding: 10px 16px; border-radius: var(--r-pill); font-weight: 650; }
.skip-link:focus { top: 12px; }
.ph { line-height: 1; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: 820px; }
.section { padding-block: clamp(56px, 7vw, 104px); }
.section--tint { background: var(--surface-2); }
.section--tight { padding-block: clamp(40px, 5vw, 64px); }
.section-head { display: grid; gap: 14px; max-width: 68ch; margin-bottom: clamp(28px, 4vw, 48px); }
.section-head p { color: var(--ink-2); font-size: 1.125rem; }
.section-head--row { max-width: none; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 16px 32px; }
.section-head--row > div { display: grid; gap: 14px; max-width: 62ch; }
.lead { font-size: clamp(1.1rem, 1rem + .4vw, 1.3rem); color: var(--ink-2); line-height: 1.55; }
.muted { color: var(--ink-3); }
.kicker { display: inline-flex; align-items: center; gap: 10px; font-size: .8125rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-text); }
.kicker::before { content: ""; width: 28px; height: 2px; background: currentColor; border-radius: 2px; }

/* ---------------------------------------------------------------- buttons */
.btn {
  --btn-bg: var(--accent); --btn-ink: var(--on-accent); --btn-line: transparent;
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 48px; padding: 12px 24px; border-radius: var(--r-pill);
  border: 1.5px solid var(--btn-line); background: var(--btn-bg); color: var(--btn-ink);
  font: 650 1rem/1.2 var(--font); text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s, transform .15s var(--ease-out), box-shadow .2s;
}
.btn:hover { --btn-bg: var(--accent-hover); text-decoration: none; }
.btn:active { transform: translateY(1px) scale(.985); }
.btn .ph { font-size: 1.15em; transition: transform .25s var(--ease-out); }
.btn:hover .ph-arrow-right, .btn:hover .ph-arrow-up-right { transform: translateX(3px); }
.btn--outline { --btn-bg: transparent; --btn-ink: var(--ink); --btn-line: var(--line-strong); }
.btn--outline:hover { --btn-bg: var(--surface-2); --btn-line: var(--accent-text); }
.btn--light { --btn-bg: #fffafc; --btn-ink: var(--plum-800); }
.btn--light:hover { --btn-bg: var(--lilac-100); }
.btn--ghost-light { --btn-bg: rgb(255 255 255 / .08); --btn-ink: #fff; --btn-line: rgb(255 255 255 / .55); backdrop-filter: blur(6px); }
.btn--ghost-light:hover { --btn-bg: rgb(255 255 255 / .18); }
.btn--sm { min-height: 40px; padding: 8px 18px; font-size: .9375rem; }
.btn[aria-disabled="true"] { opacity: .55; pointer-events: none; }
.link-arrow { display: inline-flex; align-items: center; gap: .4em; font-weight: 650; text-decoration: none; color: var(--accent-text); }
.link-arrow .ph { transition: transform .25s var(--ease-out); }
.link-arrow:hover .ph { transform: translateX(4px); }
.link-arrow:hover { text-decoration: underline; }

.badge { display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px; border-radius: var(--r-pill); font-size: .8125rem; font-weight: 650; line-height: 1.4; white-space: nowrap; }
.badge--initial { background: var(--lilac-100); color: var(--jam-700); }
.badge--future { background: transparent; color: var(--ink-3); border: 1px dashed var(--line-strong); }
.badge--soon { background: rgb(233 168 37 / .16); color: #7a5200; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .badge--initial { background: #3a1430; color: #f6a8cd; } :root:not([data-theme="light"]) .badge--soon { color: #f5cf7c; } }

/* ------------------------------------------------------------ announcement */
.notice { background: var(--deep-2); color: var(--on-deep-muted); font-size: .875rem; }
.notice .container { display: flex; align-items: center; gap: 10px; min-height: 40px; padding-block: 8px; }
.notice .ph { color: var(--gold); font-size: 1.1rem; flex: none; }
.notice a { color: #fff; font-weight: 600; margin-left: auto; white-space: nowrap; }
.notice__links { display: none; margin-left: auto; gap: 22px; }
.notice__links a { margin: 0; font-weight: 500; color: var(--on-deep-muted); text-decoration: none; display: inline-flex; gap: 6px; align-items: center; }
.notice__links a:hover { color: #fff; text-decoration: underline; }
.notice__links .ph { color: inherit; font-size: .95rem; }
@media (min-width: 1100px) { .notice__links { display: flex; } .notice__more { display: none; } }

/* ----------------------------------------------------------------- header */
.site-header { position: sticky; top: 0; z-index: var(--z-header); background: color-mix(in srgb, var(--surface) 88%, transparent); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px); border-bottom: 1px solid transparent; transition: border-color .25s, box-shadow .25s; }
.site-header.is-stuck { border-bottom-color: var(--line); box-shadow: var(--shadow-sm); }
.site-header__bar { display: flex; align-items: center; gap: 16px; height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); flex: none; }
.brand img { width: 46px; height: auto; }
.brand__text { display: grid; line-height: 1.05; }
.brand__name { font-weight: 800; letter-spacing: .02em; font-size: 1.125rem; color: var(--jam-600); text-transform: uppercase; }
.brand__sub { font-weight: 600; letter-spacing: .34em; font-size: .6875rem; text-transform: uppercase; color: var(--ink-2); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .brand__name { color: #f07ab2; } }

.nav { display: none; margin-left: auto; }
.nav > ul { display: flex; align-items: center; gap: 2px; list-style: none; }
.nav__item { position: relative; }
.nav__link { display: inline-flex; align-items: center; gap: 3px; padding: 10px 9px; border: 0; background: none; color: var(--ink); font: 600 .9063rem/1 var(--font); text-decoration: none; border-radius: var(--r-pill); cursor: pointer; white-space: nowrap; }
.nav__link .ph { font-size: .8rem; transition: transform .2s; }
.nav__link:hover, .nav__item.is-open > .nav__link { background: var(--surface-2); text-decoration: none; }
.nav__link[aria-current="page"], .nav__item.is-active > .nav__link { color: var(--accent-text); }
.nav__item.is-open > .nav__link .ph { transform: rotate(180deg); }
.nav__panel { position: absolute; top: calc(100% + 10px); left: 50%; translate: -50% 0; width: 340px; padding: 10px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); box-shadow: var(--shadow-lg); list-style: none; opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .18s, transform .22s var(--ease-out), visibility 0s .22s; }
.nav__panel::before { content: ""; position: absolute; inset: -12px 0 auto; height: 12px; }
.nav__item.is-open > .nav__panel { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.nav__panel a { display: grid; gap: 2px; padding: 10px 14px; border-radius: 10px; text-decoration: none; color: var(--ink); }
.nav__panel a strong { font-weight: 650; font-size: .9375rem; }
.nav__panel a span { font-size: .8125rem; color: var(--ink-3); }
.nav__panel a:hover { background: var(--surface-2); }
.nav__panel a:hover strong { color: var(--accent-text); }

.header-actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.icon-btn { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: var(--r-pill); border: 1px solid var(--line); background: var(--surface); color: var(--ink); cursor: pointer; font-size: 1.25rem; transition: background-color .2s, border-color .2s; }
.icon-btn:hover { background: var(--surface-2); border-color: var(--line-strong); }
.header-apply { display: none; }
@media (min-width: 640px) { .header-apply { display: inline-flex; } }
@media (min-width: 1360px) {
  .site-header .container { max-width: 1400px; }
  .nav { display: block; }
  .header-actions { margin-left: 8px; }
  .menu-toggle { display: none; }
}

/* mobile drawer */
.drawer { position: fixed; inset: 0; z-index: var(--z-drawer); display: none; }
.drawer.is-open { display: block; }
.drawer__scrim { position: absolute; inset: 0; background: rgb(26 3 20 / .5); animation: fade .25s both; }
.drawer__panel { position: absolute; inset: 0 0 0 auto; width: min(420px, 100%); background: var(--surface); display: flex; flex-direction: column; box-shadow: var(--shadow-lg); animation: slide-in .32s var(--ease-out) both; }
.drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 14px var(--gutter); border-bottom: 1px solid var(--line); min-height: var(--header-h); }
.drawer__body { overflow-y: auto; padding: 8px var(--gutter) 32px; flex: 1; }
.drawer details { border-bottom: 1px solid var(--line); }
.drawer summary, .drawer__link { display: flex; align-items: center; justify-content: space-between; padding: 16px 2px; font-weight: 650; font-size: 1.0625rem; color: var(--ink); text-decoration: none; cursor: pointer; list-style: none; }
.drawer summary::-webkit-details-marker { display: none; }
.drawer summary .ph { transition: transform .2s; }
.drawer details[open] summary .ph { transform: rotate(180deg); }
.drawer details ul { list-style: none; padding: 0 0 12px 4px; display: grid; gap: 2px; }
.drawer details a { display: block; padding: 9px 12px; border-radius: 10px; color: var(--ink-2); text-decoration: none; }
.drawer details a:hover { background: var(--surface-2); color: var(--ink); }
.drawer__link { border-bottom: 1px solid var(--line); }
.drawer__util { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 24px; }
.drawer__util a { padding: 12px; border-radius: 12px; background: var(--surface-2); color: var(--ink); text-decoration: none; font-size: .9375rem; font-weight: 600; }
.drawer__cta { margin-top: 20px; width: 100%; }
@keyframes slide-in { from { transform: translateX(100%); } }
@keyframes fade { from { opacity: 0; } }

/* ------------------------------------------------------------------ hero */
.hero { position: relative; isolation: isolate; color: #fff; min-height: min(86dvh, 760px); display: grid; align-items: end; overflow: hidden; background: var(--deep-2); }
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
@media (prefers-reduced-motion: no-preference) { .hero__media img { animation: hero-zoom 18s var(--ease-out) both; } }
@keyframes hero-zoom { from { transform: scale(1.08); } }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background:
  linear-gradient(90deg, rgb(42 3 32 / .92) 0%, rgb(42 3 32 / .72) 38%, rgb(42 3 32 / .18) 72%, transparent 100%),
  linear-gradient(0deg, rgb(26 3 20 / .75) 0%, transparent 45%); }
.hero__inner { padding-block: clamp(96px, 14vh, 140px) clamp(120px, 16vh, 168px); display: grid; gap: 22px; max-width: 660px; }
.hero h1 { color: #fff; font-size: clamp(2.3rem, 1.4rem + 3.6vw, 4.1rem); letter-spacing: -.03em; line-height: 1.04; }
.hero h1 em { font-style: normal; color: #ffc6df; }
.hero p { color: #f2dfea; font-size: clamp(1.075rem, 1rem + .35vw, 1.25rem); max-width: 50ch; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
.hero__crest { width: 64px; filter: drop-shadow(0 6px 16px rgb(0 0 0 / .35)); }
@media (prefers-reduced-motion: no-preference) {
  .hero__inner > * { animation: rise .9s var(--ease-out) both; }
  .hero__inner > :nth-child(2) { animation-delay: .08s; }
  .hero__inner > :nth-child(3) { animation-delay: .16s; }
  .hero__inner > :nth-child(4) { animation-delay: .24s; }
}
@keyframes rise { from { opacity: 0; transform: translateY(18px); } }

/* quick links overlap the hero bottom edge */
.quicklinks { position: relative; z-index: 2; margin-top: -64px; }
.quicklinks ul { list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); box-shadow: var(--shadow-lg); overflow: hidden; }
.quicklinks li + li { border-left: 1px solid var(--line); }
.quicklinks li:nth-child(odd) { border-left: 0; }
.quicklinks li:nth-child(n+3) { border-top: 1px solid var(--line); }
.quicklinks a { display: flex; align-items: center; gap: 14px; padding: 20px 22px; text-decoration: none; color: var(--ink); height: 100%; transition: background-color .2s; }
.quicklinks a:hover { background: var(--surface-2); }
.quicklinks .ph { font-size: 1.6rem; color: var(--accent-text); flex: none; transition: transform .3s var(--ease-out); }
.quicklinks a:hover .ph { transform: translateY(-2px) scale(1.06); }
.quicklinks strong { display: block; font-weight: 700; font-size: .98rem; line-height: 1.3; }
.quicklinks small { color: var(--ink-3); font-size: .8125rem; }
@media (max-width: 639px) { .quicklinks small { display: none; } .quicklinks a { padding: 16px; gap: 10px; } }
@media (min-width: 960px) {
  .quicklinks ul { grid-template-columns: repeat(5, 1fr); }
  .quicklinks li + li { border-left: 1px solid var(--line); }
  .quicklinks li:nth-child(n) { border-top: 0; }
  .quicklinks li:first-child { border-left: 0; }
}

/* ------------------------------------------------------------- page hero */
.page-hero { position: relative; isolation: isolate; overflow: hidden; background: var(--deep); color: var(--on-deep); }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(70% 120% at 0% 0%, rgb(184 8 79 / .35), transparent 60%), radial-gradient(60% 100% at 100% 100%, rgb(118 2 85 / .5), transparent 60%); }
.page-hero__inner { display: grid; justify-items: start; gap: 18px; padding-block: clamp(40px, 6vw, 72px) clamp(48px, 7vw, 88px); max-width: 760px; position: relative; }
.page-hero h1 { color: #fff; }
.page-hero .lead { color: var(--on-deep-muted); }
.page-hero__media { display: none; }
/* :has() conditional layout: heroes that carry a photo become a split */
@media (min-width: 900px) {
  .page-hero:has(.page-hero__media) .page-hero__inner { max-width: 56%; }
  .page-hero__media { display: block; position: absolute; inset: 0 0 0 52%; z-index: -1; }
  .page-hero__media img { width: 100%; height: 100%; object-fit: cover; }
  .page-hero__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--deep) 0%, color-mix(in srgb, var(--deep) 55%, transparent) 30%, transparent 70%); }
}
.crumbs { display: flex; flex-wrap: wrap; gap: 6px 4px; list-style: none; font-size: .875rem; color: var(--on-deep-muted); }
.crumbs li { display: inline-flex; align-items: center; gap: 4px; }
.crumbs li + li::before { content: ""; width: 5px; height: 5px; border-right: 1.5px solid currentColor; border-top: 1.5px solid currentColor; transform: rotate(45deg); margin-inline: 6px 8px; opacity: .7; }
.crumbs a { color: #fff; text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.page-hero .badge--initial { background: rgb(255 255 255 / .14); color: #fff; }

/* subnav (in-page anchors) */
.subnav { position: sticky; top: var(--header-h); z-index: 10; background: var(--surface); border-bottom: 1px solid var(--line); }
.subnav ul { display: flex; gap: 4px; list-style: none; overflow-x: auto; scrollbar-width: none; padding-block: 8px; }
.subnav ul::-webkit-scrollbar { display: none; }
.subnav a { display: block; padding: 8px 14px; border-radius: var(--r-pill); color: var(--ink-2); text-decoration: none; white-space: nowrap; font-size: .9375rem; font-weight: 600; }
.subnav a:hover, .subnav a.is-current { background: var(--surface-2); color: var(--accent-text); }

/* ------------------------------------------------------------------ media */
.photo { border-radius: var(--r-card); overflow: hidden; background: var(--surface-3); }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.ratio-4x3 { aspect-ratio: 4 / 3; }
.ratio-3x2 { aspect-ratio: 3 / 2; }
.ratio-16x9 { aspect-ratio: 16 / 9; }
.ratio-4x5 { aspect-ratio: 4 / 5; }

/* labelled placeholder for client-supplied assets (contract §1, §9) */
.placeholder { display: grid; place-items: center; text-align: center; gap: 8px; padding: 20px; border-radius: var(--r-card); background: repeating-linear-gradient(135deg, var(--surface-2) 0 12px, var(--surface-3) 12px 24px); color: var(--ink-3); border: 1px dashed var(--line-strong); font-size: .875rem; font-weight: 600; }
.placeholder img { width: 56px; opacity: .55; filter: grayscale(.2); }

/* -------------------------------------------------------------- intro split */
.split { display: grid; gap: clamp(32px, 5vw, 72px); align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1.05fr 1fr; } .split--flip > :first-child { order: 2; } }
.split__text { display: grid; gap: 20px; }
.split__text p { color: var(--ink-2); }
.stack-photos { position: relative; padding: 0 0 40px 0; }
.stack-photos .photo:first-child { width: 86%; aspect-ratio: 4/3; box-shadow: var(--shadow-md); }
.stack-photos .photo:last-child { position: absolute; right: 0; bottom: 0; width: 48%; aspect-ratio: 1; border: 6px solid var(--bg); box-shadow: var(--shadow-md); }
.motto-card { display: flex; align-items: center; gap: 16px; padding: 16px 18px; border-radius: var(--r-card); background: var(--surface-2); }
.motto-card img { width: 52px; flex: none; }
.motto-card strong { display: block; color: var(--accent-text); font-size: 1.05rem; }
.motto-card span { font-size: .875rem; color: var(--ink-3); }

/* --------------------------------------------------------------- faculties */
.faculty-grid { display: grid; gap: 20px; }
@media (min-width: 860px) { .faculty-grid { grid-template-columns: 1fr 1fr; } }
.faculty-card { position: relative; isolation: isolate; display: flex; flex-direction: column; justify-content: end; min-height: 440px; padding: clamp(22px, 3vw, 34px); border-radius: var(--r-card); overflow: hidden; color: #fff; text-decoration: none; background: var(--deep); }
.faculty-card img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease-out); }
.faculty-card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgb(42 3 32 / .35) 0%, rgb(42 3 32 / .78) 40%, rgb(42 3 32 / .95) 100%); }
.faculty-card:hover img { transform: scale(1.045); }
.faculty-card h3 { color: #fff; font-size: clamp(1.4rem, 1.2rem + .8vw, 1.9rem); margin: 12px 0 8px; }
.faculty-card p { color: #f0dce7; max-width: 46ch; }
.faculty-card .chips { margin-top: 18px; }
.faculty-card .chip { background: rgb(255 255 255 / .12); color: #fff; border-color: rgb(255 255 255 / .2); }
.faculty-card__cta { display: inline-flex; align-items: center; gap: 8px; margin-top: 22px; font-weight: 650; }
.faculty-card__cta .ph { transition: transform .25s var(--ease-out); }
.faculty-card:hover .faculty-card__cta .ph { transform: translateX(4px); }
.faculty-card .badge--initial { background: rgb(255 255 255 / .16); color: #fff; align-self: start; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; }
.chip { display: inline-block; padding: 5px 12px; border-radius: var(--r-pill); border: 1px solid var(--line); background: var(--surface); font-size: .8125rem; font-weight: 600; color: var(--ink-2); }

.future { margin-top: clamp(28px, 4vw, 44px); padding: clamp(22px, 3vw, 32px); border-radius: var(--r-card); border: 1px dashed var(--line-strong); display: grid; gap: 20px; }
@media (min-width: 960px) { .future { grid-template-columns: minmax(240px, .8fr) 2fr; align-items: start; } }
.future__intro { display: grid; gap: 10px; justify-items: start; }
.future__intro p { color: var(--ink-3); font-size: .9375rem; }
.future ul { list-style: none; display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
.future li { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 12px; background: var(--surface-2); color: var(--ink-2); font-weight: 600; font-size: .9375rem; }
.future li .ph { font-size: 1.3rem; color: var(--ink-3); flex: none; }

/* ------------------------------------------------------------- pillars */
.pillars { display: grid; gap: clamp(28px, 4vw, 56px); align-items: stretch; }
@media (min-width: 960px) { .pillars { grid-template-columns: 5fr 6fr; } }
.pillars__photo { min-height: 320px; border-radius: var(--r-card); overflow: hidden; position: relative; }
.pillars__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pillars__list { display: grid; gap: 0; list-style: none; counter-reset: p; }
.pillars__list li { display: grid; grid-template-columns: 52px 1fr; gap: 6px 18px; padding: 22px 0; border-top: 1px solid var(--line); }
.pillars__list li:first-child { border-top: 0; padding-top: 4px; }
.pillars__list .ph { grid-row: span 2; font-size: 1.5rem; width: 52px; height: 52px; display: grid; place-items: center; border-radius: 14px; background: var(--surface-2); color: var(--accent-text); }
.pillars__list p { color: var(--ink-2); font-size: 1rem; }

/* -------------------------------------------------------- gallery strip */
.reel { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(260px, 34%); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px; scrollbar-width: thin; scrollbar-color: var(--line-strong) transparent; }
@media (max-width: 640px) { .reel { grid-auto-columns: 82%; } }
.reel > * { scroll-snap-align: start; }
.reel button, .masonry button { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; border-radius: var(--r-card); overflow: hidden; position: relative; }
.reel img, .masonry img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease-out); }
.reel button { aspect-ratio: 4 / 3; }
.reel button:hover img, .masonry button:hover img { transform: scale(1.04); }
.reel figcaption, .masonry figcaption { font-size: .875rem; color: var(--ink-3); margin-top: 10px; }
.reel figure, .masonry figure { margin: 0; }
.masonry { columns: 3 280px; column-gap: 16px; }
.masonry figure { break-inside: avoid; margin-bottom: 22px; }

.lightbox { padding: 0; border: 0; background: transparent; max-width: min(1100px, 94vw); max-height: 94dvh; overflow: visible; }
.lightbox::backdrop { background: rgb(20 2 15 / .9); }
.lightbox img { max-height: 80dvh; width: auto; margin-inline: auto; border-radius: 12px; }
.lightbox p { color: #f2dfea; text-align: center; margin-top: 12px; }
.lightbox__close { position: absolute; top: -52px; right: 0; color: #fff; background: rgb(255 255 255 / .1); border-color: rgb(255 255 255 / .25); }
.lightbox__nav { position: absolute; top: 50%; translate: 0 -50%; color: #fff; background: rgb(20 2 15 / .55); border-color: rgb(255 255 255 / .25); }
.lightbox__nav--prev { left: 12px; } .lightbox__nav--next { right: 12px; }

/* --------------------------------------------------------- admissions path */
.journey { position: relative; isolation: isolate; background: var(--deep); color: var(--on-deep); overflow: hidden; }
.journey::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(50% 80% at 100% 0%, rgb(184 8 79 / .4), transparent 70%); }
.journey h2, .journey h3 { color: #fff; }
.journey .section-head p { color: var(--on-deep-muted); }
.steps { list-style: none; display: grid; gap: 18px; counter-reset: step; }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(4, 1fr); gap: 0; } }
.steps li { counter-increment: step; position: relative; padding: 0 0 0 56px; }
.steps li::before { content: counter(step); position: absolute; left: 0; top: 0; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font-weight: 750; background: var(--jam-500); color: #fff; box-shadow: 0 0 0 6px rgb(184 8 79 / .25); }
@media (min-width: 900px) {
  .steps li { padding: 64px 28px 0 0; }
  .steps li::after { content: ""; position: absolute; top: 20px; left: 52px; right: 12px; height: 2px; background: linear-gradient(90deg, rgb(255 255 255 / .35), rgb(255 255 255 / .08)); }
  .steps li:last-child::after { display: none; }
}
.steps h3 { font-size: 1.15rem; margin-bottom: 6px; }
.steps p { color: var(--on-deep-muted); font-size: .975rem; }
.journey__foot { margin-top: clamp(32px, 4vw, 48px); padding-top: 28px; border-top: 1px solid rgb(255 255 255 / .14); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.journey__foot p { color: var(--on-deep-muted); max-width: 60ch; }

/* steps on light pages */
.steps--light li::before { box-shadow: 0 0 0 6px var(--lilac-100); }
.steps--light p { color: var(--ink-2); }
.steps--light h3 { color: var(--ink); }
@media (min-width: 900px) { .steps--light li::after { background: linear-gradient(90deg, var(--line-strong), transparent); } }

/* ------------------------------------------------------------ news/events */
.newsboard { display: grid; gap: clamp(32px, 4vw, 56px); }
@media (min-width: 1000px) { .newsboard { grid-template-columns: 1.6fr 1fr; } }
.post-feature { display: grid; gap: 18px; text-decoration: none; color: inherit; }
.post-feature .photo { aspect-ratio: 16/9; }
.post-feature:hover h3 { color: var(--accent-text); }
.post-feature h3 { font-size: clamp(1.3rem, 1.1rem + .8vw, 1.75rem); transition: color .2s; }
.post-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; font-size: .8125rem; color: var(--ink-3); font-weight: 600; }
.post-meta .cat { color: var(--accent-text); text-transform: uppercase; letter-spacing: .08em; }
.post-list { list-style: none; display: grid; gap: 0; }
.post-list li + li { border-top: 1px solid var(--line); }
.post-list a { display: grid; grid-template-columns: 112px 1fr; gap: 16px; padding: 16px 0; text-decoration: none; color: inherit; align-items: center; }
.post-list .photo { aspect-ratio: 1; }
.post-list h3 { font-size: 1.0625rem; margin-top: 4px; transition: color .2s; }
.post-list a:hover h3 { color: var(--accent-text); }

.events { display: grid; gap: 12px; list-style: none; }
.event { display: grid; grid-template-columns: 72px 1fr; gap: 16px; align-items: start; padding: 16px; border-radius: var(--r-card); background: var(--surface); border: 1px solid var(--line); text-decoration: none; color: inherit; transition: border-color .2s, transform .25s var(--ease-out), box-shadow .25s; }
a.event:hover { border-color: var(--line-strong); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.datebox { display: grid; place-items: center; text-align: center; aspect-ratio: 1; border-radius: 12px; background: var(--surface-2); color: var(--accent-text); font-weight: 800; line-height: 1.05; }
.datebox b { font-size: 1.5rem; }
.datebox small { font-size: .6875rem; text-transform: uppercase; letter-spacing: .1em; font-weight: 700; }
.datebox--tba { font-size: .75rem; letter-spacing: .06em; text-transform: uppercase; }
.event h3 { font-size: 1.0625rem; margin-bottom: 4px; }
.event p { font-size: .9375rem; color: var(--ink-2); }
.event .post-meta { margin-top: 8px; }

.news-grid { display: grid; gap: 28px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); }
.news-card { display: grid; gap: 14px; align-content: start; text-decoration: none; color: inherit; }
.news-card .photo { aspect-ratio: 3/2; }
.news-card:hover h3 { color: var(--accent-text); }
.news-card p { color: var(--ink-2); font-size: 1rem; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.filters a { padding: 8px 16px; border-radius: var(--r-pill); border: 1px solid var(--line); color: var(--ink-2); text-decoration: none; font-weight: 600; font-size: .9375rem; }
.filters a:hover { border-color: var(--line-strong); color: var(--ink); }
.filters a[aria-current="true"] { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }

/* -------------------------------------------------------------- CTA band */
.cta-band { position: relative; isolation: isolate; overflow: hidden; border-radius: calc(var(--r-card) + 8px); padding: clamp(32px, 5vw, 64px); background: linear-gradient(120deg, var(--jam-600), var(--plum-600)); color: #fff; display: grid; gap: 24px; align-items: center; }
@media (min-width: 900px) { .cta-band { grid-template-columns: 1fr auto; } }
.cta-band::after { content: ""; position: absolute; right: -60px; bottom: -80px; width: 340px; aspect-ratio: 1; background: url("/images/brand/crest-240.webp") center / contain no-repeat; opacity: .12; z-index: -1; transform: rotate(-8deg); }
.cta-band h2 { color: #fff; }
.cta-band p { color: #f8e3ee; max-width: 56ch; margin-top: 10px; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ----------------------------------------------------------------- prose */
.prose { display: grid; gap: 1.1em; color: var(--ink-2); max-width: 70ch; }
.prose h2 { margin-top: .8em; color: var(--ink); font-size: clamp(1.45rem, 1.2rem + 1vw, 2rem); }
.prose .chips, .prose .ticks { padding-left: 0; display: flex; flex-wrap: wrap; }
.prose .ticks { display: grid; }
.prose .chips li::marker { content: none; }
.prose h3 { margin-top: .6em; color: var(--ink); }
.prose ul, .prose ol { padding-left: 1.3em; display: grid; gap: .45em; }
.prose li::marker { color: var(--accent-text); }
.prose strong { color: var(--ink); }

.layout-aside { display: grid; gap: clamp(32px, 5vw, 64px); }
@media (min-width: 1000px) { .layout-aside { grid-template-columns: minmax(0, 1fr) 340px; align-items: start; } .layout-aside > aside { position: sticky; top: calc(var(--header-h) + 72px); } }
.aside-card { padding: 24px; border-radius: var(--r-card); background: var(--surface); border: 1px solid var(--line); display: grid; gap: 14px; }
.aside-card + .aside-card { margin-top: 16px; }
.aside-card h3 { font-size: 1.0625rem; }
.aside-card > .btn { justify-self: start; }
.aside-card ul { list-style: none; display: grid; gap: 2px; }
.aside-card li a { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; color: var(--ink-2); text-decoration: none; font-weight: 600; font-size: .9375rem; }
.aside-card li a:hover { color: var(--accent-text); }
.aside-card--deep { background: var(--deep); border-color: transparent; color: var(--on-deep-muted); }
.aside-card--deep h3 { color: #fff; }

.facts { display: grid; gap: 0; list-style: none; }
.facts li { display: grid; gap: 2px; padding: 12px 0; border-top: 1px solid var(--line); }
.facts li:first-child { border-top: 0; padding-top: 0; }
.facts dt, .facts .k { font-size: .8125rem; color: var(--ink-3); font-weight: 650; }
.facts .v { color: var(--ink); font-weight: 600; }

/* feature tiles: bento for campus life / about values */
.bento { display: grid; gap: 16px; }
@media (min-width: 760px) { .bento { grid-template-columns: repeat(6, 1fr); } }
.tile { position: relative; isolation: isolate; overflow: hidden; display: grid; align-content: end; gap: 10px; padding: 26px; min-height: 230px; border-radius: var(--r-card); background: var(--surface); border: 1px solid var(--line); }
.tile .ph { font-size: 1.75rem; color: var(--accent-text); }
.tile p { color: var(--ink-2); font-size: 1rem; }
.tile--deep { background: var(--deep); border-color: transparent; }
.tile--deep h3 { color: #fff; } .tile--deep p { color: var(--on-deep-muted); } .tile--deep .ph { color: #ffb3d4; }
.tile--tint { background: var(--surface-2); border-color: transparent; }
.tile--photo { color: #fff; border: 0; min-height: 300px; }
.tile--photo img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.tile--photo::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 30%, rgb(42 3 32 / .88)); }
.tile--photo h3, .tile--photo p { color: #fff; } .tile--photo .ph { color: #ffc6df; }
@media (min-width: 760px) {
  .span-2 { grid-column: span 2; } .span-3 { grid-column: span 3; } .span-4 { grid-column: span 4; } .span-6 { grid-column: span 6; }
  .row-2 { grid-row: span 2; }
}

/* values list (about) */
.values { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); list-style: none; }
.values li { padding: 22px; border-radius: var(--r-card); background: var(--surface); border: 1px solid var(--line); display: grid; gap: 8px; align-content: start; }
.values li:nth-child(3n+2) { background: var(--deep); border-color: transparent; }
.values li:nth-child(3n+2) h3 { color: #fff; } .values li:nth-child(3n+2) p { color: var(--on-deep-muted); } .values li:nth-child(3n+2) .ph { color: #ffb3d4; }
.values .ph { font-size: 1.6rem; color: var(--accent-text); }
.values p { color: var(--ink-2); font-size: .975rem; }

.statement { display: grid; gap: 20px; }
@media (min-width: 900px) { .statement { grid-template-columns: 1fr 1fr; } }
.statement article { padding: clamp(26px, 3vw, 40px); border-radius: var(--r-card); display: grid; gap: 14px; align-content: start; }
.statement article:first-child { background: var(--deep); color: var(--on-deep-muted); }
.statement article:first-child h2 { color: #fff; }
.statement article:last-child { background: var(--surface); border: 1px solid var(--line); color: var(--ink-2); }
.statement article:first-child .kicker { color: #ffb3d4; }
.statement p { font-size: 1.15rem; line-height: 1.6; }

/* people */
.people { display: grid; gap: 24px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); list-style: none; }
.person { display: grid; gap: 14px; align-content: start; }
.person .placeholder { aspect-ratio: 4/5; }
.person h3 { font-size: 1.0625rem; }
.person p { color: var(--ink-3); font-size: .9375rem; }
.person__title { color: var(--accent-text); font-weight: 700; font-size: .875rem; }

/* programmes list (faculty page) */
.programmes { list-style: none; display: grid; gap: 14px; }
@media (min-width: 760px) { .programmes { grid-template-columns: 1fr 1fr; } }
.programme-card { display: grid; grid-template-columns: auto 1fr auto; gap: 18px; align-items: center; padding: 22px; border-radius: var(--r-card); border: 1px solid var(--line); background: var(--surface); text-decoration: none; color: inherit; transition: border-color .2s, transform .25s var(--ease-out), box-shadow .25s; }
.programme-card:hover { border-color: var(--line-strong); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.programme-card__icon { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 14px; background: var(--surface-2); color: var(--accent-text); font-size: 1.4rem; }
.programme-card h3 { font-size: 1.0625rem; }
.programme-card p { font-size: .9375rem; color: var(--ink-3); margin-top: 2px; }
.programme-card > .ph { color: var(--ink-3); transition: transform .25s var(--ease-out), color .2s; }
.programme-card:hover > .ph { color: var(--accent-text); transform: translateX(3px); }

.cols-2 { display: grid; gap: 28px; }
@media (min-width: 760px) { .cols-2 { grid-template-columns: 1fr 1fr; } }
.ticks { list-style: none; display: grid; gap: 10px; }
.ticks li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; color: var(--ink-2); }
.ticks li::before { content: ""; width: 18px; height: 18px; margin-top: 4px; border-radius: 50%; background: var(--surface-3) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='%23a00a4c' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat; }

/* faculty overview cards on academics index */
.faculty-row { display: grid; gap: clamp(24px, 4vw, 48px); padding-block: clamp(28px, 4vw, 44px); border-top: 1px solid var(--line); }
.faculty-row:first-of-type { border-top: 0; padding-top: 0; }
@media (min-width: 900px) { .faculty-row { grid-template-columns: 420px 1fr; align-items: start; } }
.faculty-row .photo { aspect-ratio: 4/3; }
.faculty-row__body { display: grid; gap: 14px; }
.faculty-row__body > p { color: var(--ink-2); }
.dept-links { list-style: none; display: grid; gap: 0; margin-top: 6px; }
@media (min-width: 640px) { .dept-links { grid-template-columns: 1fr 1fr; column-gap: 24px; } }
.dept-links a { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 11px 0; border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none; font-weight: 600; }
.dept-links a:hover { color: var(--accent-text); }
.dept-links .ph { color: var(--ink-3); }

/* accordions (FAQ) */
.accordion { display: grid; gap: 10px; }
.accordion details { border: 1px solid var(--line); border-radius: var(--r-card); background: var(--surface); transition: border-color .2s; }
.accordion details[open] { border-color: var(--line-strong); }
.accordion summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 22px; cursor: pointer; font-weight: 650; list-style: none; }
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary .ph { flex: none; width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; background: var(--surface-2); color: var(--accent-text); transition: transform .25s var(--ease-out); }
.accordion details[open] summary .ph { transform: rotate(45deg); }
.accordion details > div { padding: 0 22px 20px; color: var(--ink-2); }

/* doc list (downloads) */
.docs { list-style: none; display: grid; gap: 10px; }
.doc { display: grid; grid-template-columns: 48px 1fr auto; gap: 16px; align-items: center; padding: 16px 18px; border-radius: var(--r-card); border: 1px solid var(--line); background: var(--surface); }
.doc > .ph { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 12px; background: var(--surface-2); color: var(--accent-text); font-size: 1.4rem; }
.doc h3 { font-size: 1rem; }
.doc p { font-size: .875rem; color: var(--ink-3); }

/* empty state */
.empty { display: grid; justify-items: center; text-align: center; gap: 12px; padding: clamp(36px, 5vw, 64px) 24px; border-radius: var(--r-card); border: 1px dashed var(--line-strong); background: var(--surface); }
.empty > .ph { font-size: 2.4rem; color: var(--accent-text); width: 72px; height: 72px; display: grid; place-items: center; border-radius: 50%; background: var(--surface-2); }
.empty p { color: var(--ink-2); max-width: 52ch; }

/* partnership categories */
.partner-types { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); list-style: none; }
.partner-types li { display: grid; gap: 10px; align-content: start; padding: 26px; border-radius: var(--r-card); background: var(--surface); border: 1px solid var(--line); }
.partner-types li:first-child { background: var(--deep); border-color: transparent; }
.partner-types li:first-child h3 { color: #fff; } .partner-types li:first-child p { color: var(--on-deep-muted); } .partner-types li:first-child .ph { color: #ffb3d4; background: rgb(255 255 255 / .08); }
.partner-types .ph { font-size: 1.5rem; color: var(--accent-text); width: 48px; height: 48px; display: grid; place-items: center; border-radius: 14px; background: var(--surface-2); }
.partner-types p { color: var(--ink-2); font-size: 1rem; }

/* ----------------------------------------------------------------- forms */
.form { display: grid; gap: 20px; }
.form-row { display: grid; gap: 20px; }
@media (min-width: 640px) { .form-row { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 8px; }
.field label, .field legend { font-weight: 650; font-size: .9375rem; color: var(--ink); }
.field .opt { font-weight: 500; color: var(--ink-3); }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 14px; border-radius: var(--r-input); border: 1.5px solid var(--line-strong); background: var(--surface); color: var(--ink);
  font: 500 1rem/1.45 var(--font); transition: border-color .15s, box-shadow .15s;
}
.field textarea { min-height: 160px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: var(--ink-3); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent-text); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent-text) 22%, transparent); }
.field .hint { font-size: .8125rem; color: var(--ink-3); }
.field .error { font-size: .875rem; color: var(--error-ink); font-weight: 600; display: flex; gap: 6px; align-items: center; }
.field:has(.error) input, .field:has(.error) select, .field:has(.error) textarea { border-color: var(--error-ink); }
.check { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; font-size: .9375rem; color: var(--ink-2); }
.check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--accent); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.alert { display: flex; gap: 14px; align-items: start; padding: 18px 20px; border-radius: var(--r-card); }
.alert .ph { font-size: 1.4rem; flex: none; }
.alert--success { background: var(--success-bg); color: var(--success-ink); }
.alert--error { background: color-mix(in srgb, var(--error-ink) 12%, var(--surface)); color: var(--error-ink); }
.form-card { padding: clamp(22px, 3vw, 36px); border-radius: calc(var(--r-card) + 4px); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }

.contact-grid { display: grid; gap: clamp(32px, 5vw, 56px); }
@media (min-width: 1000px) { .contact-grid { grid-template-columns: 380px 1fr; align-items: start; } }
.contact-info { display: grid; gap: 14px; }
.contact-line { display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: start; padding: 16px; border-radius: var(--r-card); background: var(--surface-2); }
.contact-line > .ph { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px; background: var(--surface); color: var(--accent-text); font-size: 1.3rem; }
.contact-line strong { display: block; font-size: .875rem; color: var(--ink-3); font-weight: 650; }
.contact-line span, .contact-line a { font-weight: 600; color: var(--ink); }
.map { position: relative; border-radius: var(--r-card); overflow: hidden; aspect-ratio: 4/3; background: var(--surface-3); }
.map img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.8); }
.map__overlay { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 12px; padding: 20px; text-align: center; background: rgb(42 3 32 / .6); color: #fff; }
.map__overlay p { font-size: .875rem; color: #f2dfea; max-width: 36ch; }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* coming soon */
.soon { display: grid; gap: 20px; justify-items: start; padding-block: clamp(56px, 8vw, 112px); max-width: 720px; }
.soon__icon { width: 72px; height: 72px; display: grid; place-items: center; border-radius: 20px; background: var(--surface-2); color: var(--accent-text); font-size: 2rem; }
.soon p { color: var(--ink-2); }

/* search */
.search-form { display: flex; gap: 10px; }
.search-form input { flex: 1; min-width: 0; padding: 14px 18px; border-radius: var(--r-pill); border: 1.5px solid var(--line-strong); background: var(--surface); color: var(--ink); font: 500 1.0625rem var(--font); }
.search-form input:focus { outline: none; border-color: var(--accent-text); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent-text) 22%, transparent); }
.results { list-style: none; display: grid; gap: 0; margin-top: 28px; }
.results li { border-top: 1px solid var(--line); }
.results a { display: grid; gap: 4px; padding: 18px 0; text-decoration: none; color: inherit; }
.results a:hover h2 { color: var(--accent-text); }
.results h2 { font-size: 1.15rem; }
.results p { font-size: .9375rem; color: var(--ink-2); }
.results .type { font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--accent-text); }
.search-dialog { width: min(640px, calc(100vw - 32px)); margin: 12vh auto auto; padding: 22px; border: 1px solid var(--line); border-radius: calc(var(--r-card) + 4px); background: var(--surface); color: var(--ink); box-shadow: var(--shadow-lg); }
.search-dialog::backdrop { background: rgb(26 3 20 / .55); backdrop-filter: blur(4px); }
.search-dialog__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.search-dialog__head .block-title { margin: 0; }
.search-dialog__hints { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.search-dialog__hints a { font-size: .875rem; }

/* ----------------------------------------------------------------- footer */
.site-footer { background: var(--deep-2); color: var(--on-deep-muted); }
.site-footer a { color: var(--on-deep-muted); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-top { display: grid; gap: 40px; padding-block: clamp(48px, 6vw, 80px); }
@media (min-width: 1000px) { .footer-top { grid-template-columns: 1.3fr repeat(4, 1fr); } }
@media (min-width: 640px) and (max-width: 999px) { .footer-top { grid-template-columns: repeat(2, 1fr); } .footer-brand { grid-column: 1 / -1; } }
.footer-brand { display: grid; gap: 18px; align-content: start; }
.footer-brand .brand__name { color: #fff; }
.footer-brand .brand__sub { color: var(--on-deep-muted); }
.footer-brand p { font-size: .9375rem; max-width: 36ch; }
.site-footer h2 { font-size: .8125rem; letter-spacing: .14em; text-transform: uppercase; color: #fff; margin-bottom: 16px; font-weight: 700; }
.site-footer ul { list-style: none; display: grid; gap: 10px; font-size: .9375rem; }
.social { display: flex; gap: 8px; }
.social a { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; border: 1px solid rgb(255 255 255 / .18); font-size: 1.15rem; }
.social a:hover { background: rgb(255 255 255 / .08); text-decoration: none; }
.footer-bottom { border-top: 1px solid rgb(255 255 255 / .1); }
.footer-bottom .container { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; padding-block: 22px; font-size: .875rem; }
.footer-bottom ul { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.tba { font-style: italic; opacity: .85; }

/* ------------------------------------------------------- scroll reveal */
/* Only hidden when JS is present (html.js, set by boot.js) so no-JS and
   crawlers always see content. */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease-out), transform .8s var(--ease-out); transition-delay: calc(var(--d, 0) * 80ms); }
  .js .reveal.is-in { opacity: 1; transform: none; }
}
.d1 { --d: 1; } .d2 { --d: 2; } .d3 { --d: 3; } .d4 { --d: 4; } .d5 { --d: 5; }

/* -------------------------------------------------------------- utilities */
.block-title { font-size: 1.125rem; margin: 0 0 16px; }
.mt-0 { margin-top: 0; } .mt-1 { margin-top: 12px; } .mt-2 { margin-top: 24px; } .mt-3 { margin-top: 40px; }
.flex-wrap { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.center { text-align: center; }

@media print {
  .site-header, .notice, .site-footer, .drawer, .subnav, .cta-band { display: none !important; }
  body { background: #fff; color: #000; }
}

/* ---------------------------------------------------- late additions */
.alert--info { background: var(--surface-2); color: var(--ink); }
.alert--info .ph { color: var(--accent-text); }
.alert p { margin-top: 2px; }
.mb-2 { margin-bottom: 24px; }
.link-plain { color: inherit; text-decoration: none; }
.link-plain:hover { color: var(--accent-text); }
.map__icon { font-size: 2rem; }
.form-card > .error { color: var(--error-ink); font-weight: 600; margin-bottom: 16px; }
.soon .search-form { width: 100%; max-width: 520px; }
.page-hero .post-meta { color: var(--on-deep-muted); }
.page-hero .flex-wrap .btn--light { --btn-ink: var(--plum-800); }
.partner-logos { list-style: none; display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 180px), 1fr)); }
.partner-logos li { display: grid; place-items: center; min-height: 110px; padding: 20px; border-radius: var(--r-card); background: var(--surface); border: 1px solid var(--line); }
.partner-logos a { display: grid; place-items: center; width: 100%; height: 100%; color: var(--ink); text-decoration: none; font-weight: 650; text-align: center; }
.partner-logos img { max-height: 64px; width: auto; object-fit: contain; }
.split__text > .split__text { gap: 20px; }
