/* Philippine Law School website, version 2.0
   Plum and gold on ivory. Libre Caslon for headings, Hanken Grotesk for text. */

:root {
  --plum-950: #170b21;
  --plum-900: #21102f;
  --plum-800: #2d1741;
  --plum-700: #3d1f57;
  --plum-600: #4f2a70;
  --gold-600: #b3863a;
  --gold-500: #c89c4c;
  --gold-300: #e3c88f;
  --ivory: #f8f4ec;
  --paper: #fffdf9;
  --ink: #231b2c;
  --muted: #6a6170;
  --line: #e6ddce;
  --line-dark: rgba(255, 255, 255, .14);

  --serif: "Libre Caslon Text", Georgia, "Times New Roman", serif;
  --sans: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;

  --wrap: 1200px;
  --gutter: clamp(20px, 4vw, 48px);
  --radius: 6px;
  --shadow: 0 18px 40px -24px rgba(33, 16, 47, .45);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--gold-500); outline-offset: 3px; border-radius: 2px; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--gold-500); color: var(--plum-950); padding: 8px 14px; font-weight: 700; }
.skip:focus { left: 8px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- type ---------- */
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 400; line-height: 1.12; margin: 0; letter-spacing: -.005em; }
h1 { font-size: clamp(40px, 6vw, 72px); }
h2 { font-size: clamp(30px, 3.6vw, 44px); }
h3 { font-size: clamp(21px, 2vw, 25px); }
h4 { font-size: 19px; }
p { margin: 0 0 1em; }
.lede { font-size: clamp(17px, 1.5vw, 19px); color: var(--muted); max-width: 60ch; }
.eyebrow {
  display: inline-block;
  font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--gold-600); margin-bottom: 14px;
}
.eyebrow::before { content: ""; display: block; width: 28px; height: 1px; background: currentColor; margin-bottom: 10px; }
.on-dark .eyebrow { color: var(--gold-300); }
.rule { width: 48px; height: 2px; background: var(--gold-500); border: 0; margin: 26px 0; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font: 600 15px/1 var(--sans);
  padding: 15px 22px; border-radius: 4px; text-decoration: none;
  border: 1px solid transparent; cursor: pointer;
  transition: background .2s, color .2s, border-color .2s, transform .2s;
}
.btn svg { width: 16px; height: 16px; flex: none; }
.btn-gold { background: linear-gradient(180deg, var(--gold-300), var(--gold-500)); color: var(--plum-950); border-color: var(--gold-600); }
.btn-gold:hover { background: linear-gradient(180deg, #ecd5a3, var(--gold-300)); }
.btn-ghost { color: #fff; border-color: rgba(255, 255, 255, .7); }
.btn-ghost:hover { background: rgba(255, 255, 255, .1); }
.btn-ghost-dark { color: var(--plum-800); border-color: var(--plum-700); }
.btn-ghost-dark:hover { background: var(--plum-800); color: #fff; }
.btn-plum { background: var(--plum-600); color: #fff; }
.btn-plum:hover { background: var(--plum-700); }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; color: var(--gold-600); font-weight: 600; font-size: 15px; text-decoration: none; border-bottom: 1px solid transparent; }
.link-arrow:hover { border-bottom-color: currentColor; }
.link-arrow svg { width: 15px; height: 15px; }

/* ---------- header ---------- */
.topbar { background: var(--plum-950); color: #cfc6d6; font-size: 13px; }
.topbar .wrap { display: flex; justify-content: flex-end; gap: 22px; padding-top: 7px; padding-bottom: 7px; }
.topbar a { text-decoration: none; }
.topbar a:hover { color: #fff; }
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 253, 249, .97); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; gap: 24px; height: 78px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; flex: none; }
.brand img { width: 50px; height: auto; }
.brand-name { font-family: var(--serif); font-size: 18px; line-height: 1.02; text-transform: uppercase; letter-spacing: .02em; color: var(--plum-900); }
.brand-name small { display: flex; align-items: center; gap: 8px; font-family: var(--sans); font-size: 10px; letter-spacing: .2em; color: var(--muted); margin-top: 5px; }
.brand-name small::after { content: ""; width: 26px; height: 1px; background: var(--gold-500); }

.mainnav { margin-left: auto; }
.mainnav > ul { list-style: none; display: flex; gap: 4px; margin: 0; padding: 0; }
.mainnav li { position: relative; }
.nav-top {
  display: flex; align-items: center; gap: 5px; background: none; border: 0; cursor: pointer;
  font: 500 14px/1 var(--sans); color: var(--ink); text-decoration: none; padding: 12px 11px; border-radius: 4px;
}
.nav-top svg { width: 11px; height: 11px; transition: transform .2s; }
.nav-top:hover, .mainnav li.open > .nav-top, .nav-top[aria-current="page"] { color: var(--plum-600); }
.nav-top[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--gold-500); border-radius: 0; }
.mainnav li.open > .nav-top svg { transform: rotate(180deg); }
.dropdown {
  position: absolute; top: calc(100% + 6px); left: 0; min-width: 240px;
  background: var(--paper); border: 1px solid var(--line); border-top: 2px solid var(--gold-500);
  box-shadow: var(--shadow); border-radius: 0 0 var(--radius) var(--radius);
  padding: 8px; list-style: none; margin: 0;
  opacity: 0; visibility: hidden; transform: translateY(-4px); transition: opacity .18s, transform .18s, visibility .18s;
}
.mainnav li.open > .dropdown { opacity: 1; visibility: visible; transform: none; }
.dropdown a { display: block; padding: 9px 12px; border-radius: 4px; text-decoration: none; font-size: 14px; }
.dropdown a small { display: block; color: var(--muted); font-size: 12.5px; }
.dropdown a:hover { background: var(--ivory); color: var(--plum-600); }

.header-tools { display: flex; align-items: center; gap: 10px; }
.icon-btn { width: 40px; height: 40px; display: grid; place-items: center; background: none; border: 0; border-radius: 50%; cursor: pointer; color: var(--ink); }
.icon-btn:hover { background: var(--ivory); }
.icon-btn svg { width: 19px; height: 19px; }
.header-tools .btn { padding: 12px 18px; font-size: 14px; }
.menu-btn { display: none; }

/* mobile menu */
.mobile-panel { display: none; }
@media (max-width: 1060px) {
  .mainnav, .header-tools .btn { display: none; }
  .menu-btn { display: grid; }
  .header-tools { margin-left: auto; }
  .mobile-panel {
    display: block; position: fixed; inset: 0 0 0 auto; width: min(380px, 100%); z-index: 70;
    background: var(--plum-900); color: #fff; padding: 22px 24px 40px; overflow-y: auto;
    transform: translateX(100%); transition: transform .28s ease;
  }
  .mobile-panel.open { transform: none; }
  .mobile-scrim { position: fixed; inset: 0; background: rgba(23, 11, 33, .55); z-index: 60; opacity: 0; visibility: hidden; transition: opacity .25s, visibility .25s; }
  .mobile-scrim.open { opacity: 1; visibility: visible; }
}
.mobile-panel .close { margin-left: auto; color: #fff; }
.mobile-panel .close:hover { background: rgba(255, 255, 255, .1); }
.mobile-panel details { border-bottom: 1px solid var(--line-dark); }
.mobile-panel summary { list-style: none; cursor: pointer; padding: 15px 0; font-family: var(--serif); font-size: 21px; display: flex; justify-content: space-between; align-items: center; }
.mobile-panel summary::-webkit-details-marker { display: none; }
.mobile-panel summary::after { content: "+"; font-family: var(--sans); color: var(--gold-300); }
.mobile-panel details[open] summary::after { content: "–"; }
.mobile-panel details a { display: block; padding: 8px 0 8px 12px; color: #ddd3e6; text-decoration: none; font-size: 15px; }
.mobile-panel details a:last-child { padding-bottom: 16px; }
.mobile-panel .solo { display: block; padding: 15px 0; font-family: var(--serif); font-size: 21px; text-decoration: none; border-bottom: 1px solid var(--line-dark); }
.mobile-panel .btn { margin-top: 26px; width: 100%; justify-content: center; }
.mobile-panel .portal-link { display: block; text-align: center; margin-top: 14px; color: var(--gold-300); }

/* search */
.search-dialog { border: 0; padding: 0; width: min(640px, calc(100% - 32px)); border-radius: var(--radius); box-shadow: var(--shadow); background: var(--paper); }
.search-dialog::backdrop { background: rgba(23, 11, 33, .6); }
.search-box { display: flex; align-items: center; gap: 10px; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.search-box svg { width: 20px; height: 20px; color: var(--muted); flex: none; }
.search-box input { flex: 1; border: 0; background: none; font: 400 18px var(--sans); color: var(--ink); outline: none; }
.search-results { list-style: none; margin: 0; padding: 8px; max-height: 55vh; overflow-y: auto; }
.search-results a { display: block; padding: 10px 12px; border-radius: 4px; text-decoration: none; }
.search-results a:hover, .search-results a:focus { background: var(--ivory); outline: none; }
.search-results small { display: block; color: var(--muted); font-size: 13px; }
.search-empty { padding: 18px 12px; color: var(--muted); }

/* ---------- hero (home) ---------- */
.hero { position: relative; background: var(--plum-950); color: #fff; overflow: hidden; }
.hero-slides { position: absolute; inset: 0; }
.hero-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.2s ease; }
.hero-slide.is-active { opacity: 1; }
.hero-slide img { width: 100%; height: 100%; object-fit: cover; }
.hero-slide.is-active img { animation: drift 9s ease-out both; }
@keyframes drift { from { transform: scale(1.06); } to { transform: scale(1); } }
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(23, 11, 33, .92) 0%, rgba(23, 11, 33, .72) 38%, rgba(23, 11, 33, .2) 70%, rgba(23, 11, 33, .35) 100%),
    linear-gradient(0deg, rgba(23, 11, 33, .9) 0%, rgba(23, 11, 33, 0) 34%);
}
.hero-inner { position: relative; z-index: 2; min-height: min(78vh, 680px); display: flex; flex-direction: column; justify-content: center; padding-top: 70px; padding-bottom: 150px; }
.hero h1 { max-width: 9ch; font-size: clamp(46px, 6.4vw, 80px); line-height: 1.02; }
.hero .tagline { font-family: var(--serif); font-style: italic; font-size: clamp(19px, 2vw, 24px); color: #e9e1ef; margin: 18px 0 0; max-width: 26ch; line-height: 1.35; }
.hero .rule { margin: 28px 0 30px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-controls { position: absolute; right: var(--gutter); top: 50%; transform: translateY(-50%); z-index: 3; display: flex; flex-direction: column; align-items: center; gap: 16px; }
.hero-count { font: 600 13px var(--sans); letter-spacing: .08em; color: #fff; }
.hero-count span { color: rgba(255, 255, 255, .5); font-weight: 400; }
.hero-track { width: 1px; height: 110px; background: rgba(255, 255, 255, .25); position: relative; }
.hero-track i { position: absolute; left: -1px; top: 0; width: 3px; background: var(--gold-300); height: var(--p, 33%); transition: height .5s; }
.hero-arrows { display: flex; gap: 10px; }
.hero-arrows button { width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .6); background: rgba(23, 11, 33, .3); color: #fff; cursor: pointer; display: grid; place-items: center; }
.hero-arrows button:hover { background: rgba(255, 255, 255, .15); }
.hero-arrows svg { width: 16px; height: 16px; }

.highlights { position: relative; z-index: 4; margin-top: -96px; }
.highlights ul {
  list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr);
  background: rgba(33, 16, 47, .82); backdrop-filter: blur(10px);
  border: 1px solid rgba(227, 200, 143, .28); border-radius: 10px; color: #fff;
}
.highlights li { display: flex; gap: 16px; align-items: center; padding: 24px 22px; }
.highlights li + li { border-left: 1px solid var(--line-dark); }
.highlights svg { width: 38px; height: 38px; flex: none; color: var(--gold-300); stroke-width: 1.2; }
.highlights strong { display: block; font-size: 15px; font-weight: 600; }
.highlights span { font-size: 13px; color: #cbbfd6; line-height: 1.4; display: block; }
.hero-band { background: var(--plum-950); padding-bottom: 30px; }

/* ---------- page hero (inner pages) ---------- */
.page-hero { position: relative; background: var(--plum-900); color: #fff; overflow: hidden; }
.page-hero img.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .4; }
.page-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(23, 11, 33, .95) 0%, rgba(23, 11, 33, .7) 55%, rgba(23, 11, 33, .35) 100%); }
.page-hero .wrap { position: relative; z-index: 2; padding-top: clamp(70px, 9vw, 120px); padding-bottom: clamp(56px, 7vw, 92px); }
.page-hero h1 { font-size: clamp(40px, 5vw, 62px); max-width: 16ch; }
.page-hero .lede { color: #ddd3e6; margin-top: 18px; }
.crumbs { font-size: 13px; color: #bfb2cc; margin-bottom: 22px; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: #fff; }
.subnav { background: var(--paper); border-bottom: 1px solid var(--line); position: sticky; top: 78px; z-index: 40; }
.subnav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; }
.subnav a { display: block; white-space: nowrap; padding: 16px 12px; font-size: 14px; font-weight: 500; text-decoration: none; color: var(--muted); border-bottom: 2px solid transparent; }
.subnav a:hover, .subnav a.is-here { color: var(--plum-600); border-bottom-color: var(--gold-500); }

/* ---------- sections ---------- */
.section { padding: clamp(64px, 8vw, 104px) 0; scroll-margin-top: 130px; }
.section.tint { background: var(--ivory); }
.section.dark { background: var(--plum-900); color: #fff; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 38px; }
.section-head h2 { max-width: 20ch; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.two-col.top { align-items: start; }
.prose { max-width: 66ch; }
.prose p, .prose li { color: #40384a; }
.prose h3 { margin: 34px 0 12px; }
.prose ul { padding-left: 20px; }

/* about block (home) */
.about-home { background: linear-gradient(180deg, var(--ivory), var(--paper)); overflow: hidden; }
.about-visual { position: relative; min-height: 420px; }
.about-visual .frame { position: absolute; left: 4%; top: 30px; width: 34%; height: 76%; border: 1px solid var(--gold-500); }
.about-visual .portrait { position: relative; z-index: 2; width: 44%; margin-left: 12%; border: 6px solid #fff; box-shadow: var(--shadow); }
.about-visual .bg-photo { position: absolute; right: 0; top: 18px; width: 64%; height: 80%; object-fit: cover; filter: grayscale(.9) sepia(.25) contrast(.9); opacity: .55; -webkit-mask-image: linear-gradient(90deg, transparent, #000 30%); mask-image: linear-gradient(90deg, transparent, #000 30%); }
.about-visual .est { position: absolute; right: 6%; bottom: 6%; z-index: 3; font-family: var(--serif); font-style: italic; font-size: 34px; color: var(--gold-600); }

/* program cards */
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.cards-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.program-card { position: relative; display: block; aspect-ratio: 4 / 2.2; border-radius: var(--radius); overflow: hidden; color: #fff; text-decoration: none; background: var(--plum-900); }
.program-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.program-card:hover img { transform: scale(1.04); }
.program-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(23, 11, 33, .95) 6%, rgba(23, 11, 33, .35) 60%, rgba(23, 11, 33, .1)); }
.program-card .body { position: absolute; left: 22px; right: 22px; bottom: 20px; z-index: 2; display: flex; align-items: end; justify-content: space-between; gap: 12px; }
.program-card h3 { font-size: 24px; }
.program-card p { margin: 6px 0 0; font-size: 13.5px; color: #ddd3e6; }
.program-card .circle { width: 36px; height: 36px; flex: none; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .75); display: grid; place-items: center; }
.program-card .circle svg { width: 15px; height: 15px; }

/* student life */
.life { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 6vw, 72px); align-items: center; }
.life-photo { position: relative; border-radius: var(--radius); overflow: hidden; }
.life-photo img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.life-photo .btn { position: absolute; left: 22px; bottom: 22px; }
.icon-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 30px; }
.icon-row a, .icon-row div { display: flex; flex-direction: column; align-items: center; text-align: center; text-decoration: none; font-size: 14px; color: var(--ink); }
.icon-row svg { width: 34px; height: 34px; margin: 0 0 10px; color: var(--gold-600); stroke-width: 1.3; }
.icon-row a:hover { color: var(--plum-600); }

/* news */
.cards-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.news-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; text-decoration: none; transition: box-shadow .25s; }
.news-card:hover { box-shadow: var(--shadow); }
.news-card img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.news-card .body { padding: 16px 18px 20px; }
.news-card time { display: block; font-size: 11.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-600); margin-bottom: 6px; }
.news-card h3 { font-family: var(--sans); font-size: 16px; font-weight: 700; line-height: 1.35; }
.news-card p { font-size: 14px; color: var(--muted); margin: 8px 0 0; }

/* placeholder for content the school still has to supply */
.tofill {
  display: block; border: 1.5px dashed var(--gold-500); background: repeating-linear-gradient(135deg, #fbf6ea, #fbf6ea 10px, #f8f0dd 10px, #f8f0dd 20px);
  color: #7a5a1f; border-radius: var(--radius); padding: 16px 18px; font-size: 14px; line-height: 1.5;
}
.tofill::before { content: "To fill"; display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; background: var(--gold-500); color: var(--plum-950); padding: 2px 8px; border-radius: 3px; margin-right: 8px; }
.tofill.inline { display: inline; padding: 2px 8px; }
.tofill.inline::before { font-size: 10px; padding: 1px 6px; }
.news-card.is-placeholder { border-style: dashed; border-color: var(--gold-500); }
.news-card.is-placeholder .ph-img { aspect-ratio: 16 / 9; background: repeating-linear-gradient(135deg, #f6efe0, #f6efe0 10px, #efe4cc 10px, #efe4cc 20px); display: grid; place-items: center; color: #9c7a39; font-size: 13px; font-weight: 600; }

/* admissions banner */
.admit-band { position: relative; background: var(--plum-700); color: #fff; overflow: hidden; }
.admit-band img { position: absolute; left: 0; top: 0; width: 55%; height: 100%; object-fit: cover; opacity: .55; filter: saturate(.6); -webkit-mask-image: linear-gradient(90deg, #000 40%, transparent); mask-image: linear-gradient(90deg, #000 40%, transparent); }
.admit-band::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(61, 31, 87, .2), rgba(61, 31, 87, .95) 52%); }
.admit-band .wrap { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr 1fr; padding-top: 64px; padding-bottom: 64px; }
.admit-band .content { grid-column: 2; }
.admit-band p { color: #e3d9ec; font-size: 17px; margin: 14px 0 26px; }
.admit-band .actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* quick links */
.quick { padding: 36px 0; border-bottom: 1px solid var(--line); }
.quick .wrap { display: grid; grid-template-columns: auto 1fr auto; gap: 34px; align-items: center; }
.quick h2 { font-size: 26px; }
.quick ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 12px; }
.quick li { display: flex; }
.quick li a { display: flex; justify-content: center; flex-direction: column; align-items: center; gap: 8px; width: 104px; padding: 16px 8px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; font-size: 12.5px; text-align: center; color: var(--muted); }
.quick li a:hover { border-color: var(--gold-500); color: var(--plum-600); }
.quick li svg { width: 26px; height: 26px; color: var(--plum-700); stroke-width: 1.4; }
.stay { border-left: 1px solid var(--line); padding-left: 34px; max-width: 320px; }
.stay h3 { font-size: 19px; }
.stay p { font-size: 14px; color: var(--muted); margin: 6px 0 12px; }
.stay .btn { padding: 11px 16px; font-size: 14px; }

/* footer */
.site-footer { background: var(--plum-950); color: #cfc4d8; font-size: 14px; position: relative; overflow: hidden; }
.site-footer .wrap { padding-top: 56px; padding-bottom: 26px; position: relative; z-index: 2; }
.foot-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.3fr; gap: 36px; }
.foot-brand { display: flex; align-items: center; gap: 14px; }
.foot-brand img { width: 62px; }
.foot-brand .brand-name { color: #fff; font-size: 20px; }
.foot-brand .brand-name small { color: #b7aac4; }
.foot-grid h4 { font-family: var(--sans); font-size: 14px; font-weight: 700; color: #fff; margin-bottom: 14px; }
.foot-grid ul { list-style: none; margin: 0; padding: 0; }
.foot-grid li { margin-bottom: 8px; }
.foot-grid a { text-decoration: none; }
.foot-grid a:hover { color: #fff; }
.foot-contact li { display: flex; gap: 10px; }
.foot-contact svg { width: 16px; height: 16px; flex: none; margin-top: 3px; color: var(--gold-300); }
.foot-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; border-top: 1px solid var(--line-dark); margin-top: 40px; padding-top: 20px; font-size: 13px; color: #a597b2; }
.social { display: flex; gap: 10px; margin-top: 18px; }
.social a { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .08); }
.social a:hover { background: rgba(255, 255, 255, .18); }
.social svg { width: 17px; height: 17px; color: #fff; }

/* ---------- inner page components ---------- */
.timeline { list-style: none; margin: 0; padding: 0; border-left: 1px solid var(--gold-500); }
.timeline li { position: relative; padding: 0 0 34px 34px; }
.timeline li::before { content: ""; position: absolute; left: -6px; top: 8px; width: 11px; height: 11px; border-radius: 50%; background: var(--paper); border: 2px solid var(--gold-500); }
.timeline .year { font-family: var(--serif); font-size: 26px; color: var(--plum-700); display: block; }
.timeline p { color: var(--muted); margin: 4px 0 0; max-width: 56ch; }

.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; }
.steps li { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 22px; counter-increment: step; position: relative; }
.steps li::before { content: counter(step); display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--plum-700); color: #fff; font-family: var(--serif); font-size: 18px; margin-bottom: 16px; }
.steps h3 { font-family: var(--sans); font-size: 17px; font-weight: 700; margin-bottom: 6px; }
.steps p { font-size: 14.5px; color: var(--muted); margin: 0; }

.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.panel h3 { margin-bottom: 12px; }
.panel ul.check { list-style: none; padding: 0; margin: 0; }
.panel ul.check li { padding: 9px 0 9px 28px; border-bottom: 1px solid var(--line); position: relative; font-size: 15px; }
.panel ul.check li:last-child { border-bottom: 0; }
.panel ul.check li::before { content: ""; position: absolute; left: 2px; top: 15px; width: 12px; height: 7px; border-left: 2px solid var(--gold-600); border-bottom: 2px solid var(--gold-600); transform: rotate(-45deg); }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

.type-card { background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--gold-500); border-radius: var(--radius); padding: 24px; }
.type-card h3 { font-size: 22px; margin-bottom: 8px; }
.type-card p { color: var(--muted); font-size: 15px; margin: 0; }

.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 40px 20px 0; font-family: var(--serif); font-size: 20px; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 18px; font-family: var(--sans); font-size: 22px; color: var(--gold-600); }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--muted); max-width: 70ch; padding-bottom: 12px; }

.person { text-align: left; }
.person img { width: 100%; aspect-ratio: 1; object-fit: cover; object-position: 50% 25%; border-radius: var(--radius); filter: grayscale(.2); }
.person h3 { margin-top: 16px; font-size: 22px; }
.person .role { color: var(--gold-600); font-size: 13px; font-weight: 600; margin-top: 4px; }
.person p { color: var(--muted); font-size: 15px; margin-top: 8px; }

.feature { display: grid; grid-template-columns: 56px 1fr; gap: 18px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.feature:last-child { border-bottom: 0; }
.feature svg { width: 40px; height: 40px; color: var(--gold-600); stroke-width: 1.3; }
.feature h3 { font-family: var(--sans); font-size: 17px; font-weight: 700; margin-bottom: 4px; }
.feature p { margin: 0; color: var(--muted); font-size: 15px; }

.photo { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo figcaption { font-size: 13px; color: var(--muted); padding: 10px 2px 0; }
figure { margin: 0; }

.stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.stat-row div { padding: 24px; }
.stat-row div + div { border-left: 1px solid var(--line); }
.stat-row strong { display: block; font-family: var(--serif); font-size: 38px; font-weight: 400; color: var(--plum-700); line-height: 1.1; }
.stat-row span { font-size: 14px; color: var(--muted); }

.cta-strip { background: var(--plum-800); color: #fff; border-radius: 10px; padding: 34px 38px; display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.cta-strip h2 { font-size: clamp(26px, 3vw, 34px); }
.cta-strip p { margin: 8px 0 0; color: #d6cbe0; }
.cta-strip .actions { display: flex; gap: 12px; flex-wrap: wrap; }

.contact-list { list-style: none; margin: 0; padding: 0; }
.contact-list li { display: grid; grid-template-columns: 120px 1fr; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.contact-list dt, .contact-list .k { font-size: 13px; font-weight: 700; color: var(--gold-600); letter-spacing: .04em; }
.map { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); min-height: 380px; }
.map iframe { width: 100%; height: 100%; min-height: 380px; border: 0; display: block; }

.filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 28px; }
.filters button { font: 500 14px var(--sans); border: 1px solid var(--line); background: #fff; color: var(--muted); padding: 9px 16px; border-radius: 999px; cursor: pointer; }
.filters button[aria-pressed="true"] { background: var(--plum-700); color: #fff; border-color: var(--plum-700); }

/* curriculum */
.curriculum details.year { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 14px; }
.curriculum summary { cursor: pointer; list-style: none; padding: 20px 24px; font-family: var(--serif); font-size: 24px; display: flex; align-items: center; gap: 14px; }
.curriculum summary::-webkit-details-marker { display: none; }
.curriculum summary span { font: 700 12px var(--sans); letter-spacing: .1em; color: var(--gold-600); }
.curriculum summary::after { content: "+"; margin-left: auto; font-family: var(--sans); color: var(--gold-600); }
.curriculum details[open] summary::after { content: "–"; }
.curriculum .grid-2 { padding: 0 24px 24px; }
table.subjects { width: 100%; border-collapse: collapse; font-size: 14.5px; }
table.subjects caption { text-align: left; font-weight: 700; padding: 0 0 10px; color: var(--plum-700); }
table.subjects th { text-align: left; font-size: 12px; font-weight: 600; color: var(--muted); border-bottom: 1px solid var(--line); padding: 6px 0; }
table.subjects td { padding: 8px 0; border-bottom: 1px solid #f0e9dc; }
table.subjects td:last-child, table.subjects th:last-child { text-align: right; width: 60px; }
table.subjects tfoot td { font-weight: 700; border-bottom: 0; }

/* ---------- responsive ---------- */
@media (max-width: 1060px) {
  .highlights ul { grid-template-columns: repeat(2, 1fr); }
  .highlights li:nth-child(3) { border-left: 0; }
  .highlights li:nth-child(n+3) { border-top: 1px solid var(--line-dark); }
  .cards-4, .grid-4, .steps { grid-template-columns: repeat(2, 1fr); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .quick .wrap { grid-template-columns: 1fr; }
  .stay { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); padding-top: 24px; max-width: none; }
  .subnav { top: 78px; }
}
@media (max-width: 820px) {
  .two-col, .life, .grid-2, .grid-3, .cards-3, .cards-2 { grid-template-columns: 1fr; }
  .about-visual { min-height: 360px; }
  .admit-band img { width: 100%; opacity: .25; }
  .admit-band .wrap { grid-template-columns: 1fr; }
  .admit-band .content { grid-column: 1; }
  .hero-controls { top: auto; bottom: 120px; transform: none; flex-direction: row; }
  .hero-track { width: 70px; height: 1px; }
  .hero-track i { top: -1px; left: 0; height: 3px; width: var(--p, 33%); transition: width .5s; }
  .section-head { flex-direction: column; align-items: start; }
  .stat-row { grid-template-columns: 1fr; }
  .stat-row div + div { border-left: 0; border-top: 1px solid var(--line); }
  .contact-list li { grid-template-columns: 1fr; gap: 4px; }
}
@media (max-width: 560px) {
  .topbar .wrap { justify-content: center; gap: 14px; }
  .topbar .hide-sm { display: none; }
  .site-header .wrap { height: 68px; }
  .brand img { width: 42px; }
  .brand-name { font-size: 15.5px; }
  .subnav { top: 68px; }
  .highlights { margin-top: -60px; }
  .highlights ul { grid-template-columns: 1fr; }
  .highlights li { padding: 16px 18px; }
  .highlights li + li { border-left: 0; border-top: 1px solid var(--line-dark); }
  .hero-inner { padding-bottom: 130px; min-height: 600px; }
  .hero-controls { bottom: 90px; }
  .cards-4, .grid-4, .steps, .icon-row { grid-template-columns: 1fr 1fr; }
  .foot-grid { grid-template-columns: 1fr; }
  .program-card { aspect-ratio: 4 / 2.6; }
  .cta-strip { padding: 26px 22px; }
}
@media (max-width: 400px) {
  .cards-4, .steps { grid-template-columns: 1fr; }
}

/* =====================================================================
   2.1: richer layer. Gold detailing, depth, a transparent header over
   the home hero, entrances and count-ups.
   ===================================================================== */

/* draft content only shows with ?draft in the address */
html:not(.draft) .tofill, html:not(.draft) [data-draft] { display: none !important; }

/* gold hairline at the very top */
.topbar { border-top: 2px solid var(--gold-500); }

/* header over the home hero */
.home .site-header { transition: background .35s, border-color .35s, box-shadow .35s; }
.home .site-header.is-over { background: transparent; border-bottom-color: rgba(255, 255, 255, .12); backdrop-filter: none; }
.home .site-header.is-over .brand-name, .home .site-header.is-over .nav-top, .home .site-header.is-over .icon-btn { color: #fff; }
.home .site-header.is-over .brand-name small { color: #d8cde2; }
.home .site-header.is-over .icon-btn:hover { background: rgba(255, 255, 255, .12); }
.home .site-header.is-over .nav-top[aria-current="page"] { box-shadow: none; }
.site-header.is-scrolled { box-shadow: 0 10px 30px -20px rgba(33, 16, 47, .5); }
.home .hero { margin-top: -79px; }
.home .hero-inner { padding-top: 150px; min-height: min(92vh, 820px); }
@media (max-width: 560px) { .home .hero { margin-top: -69px; } .home .hero-inner { padding-top: 120px; } }

/* entrance on load */
.js [data-enter] > * { opacity: 0; transform: translateY(22px); }
.js.is-loaded [data-enter] > * { opacity: 1; transform: none; transition: opacity .9s cubic-bezier(.2, .7, .2, 1), transform .9s cubic-bezier(.2, .7, .2, 1); }
.js.is-loaded [data-enter] > *:nth-child(2) { transition-delay: .12s; }
.js.is-loaded [data-enter] > *:nth-child(3) { transition-delay: .24s; }
.js.is-loaded [data-enter] > *:nth-child(4) { transition-delay: .36s; }
.js.is-loaded [data-enter] > *:nth-child(5) { transition-delay: .48s; }
.js.is-loaded [data-enter] > *:nth-child(6) { transition-delay: .6s; }

/* reveal as a block comes into view (images wipe, text rises) */
.js [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .9s ease, transform .9s cubic-bezier(.2, .7, .2, 1); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js [data-reveal="wipe"] { opacity: 1; transform: none; clip-path: inset(0 100% 0 0); transition: clip-path 1.3s cubic-bezier(.7, 0, .2, 1); }
.js [data-reveal="wipe"].is-in { clip-path: inset(0 0 0 0); }
@media (prefers-reduced-motion: reduce) {
  .js [data-enter] > *, .js [data-reveal] { opacity: 1 !important; transform: none !important; clip-path: none !important; }
}

/* hero richer */
.hero h1 { font-size: clamp(50px, 7.4vw, 104px); letter-spacing: -.015em; }
.hero h1 em { display: block; font-style: italic; color: var(--gold-300); font-size: .62em; margin-top: .12em; }
.hero .eyebrow { color: var(--gold-300); }
.hero-side { position: absolute; left: calc(var(--gutter) * .45); top: 50%; z-index: 3; transform: translateY(-50%) rotate(-90deg); transform-origin: left center; font: 600 11px var(--sans); letter-spacing: .4em; text-transform: uppercase; color: rgba(255, 255, 255, .55); white-space: nowrap; }
@media (max-width: 1300px) { .hero-side { display: none; } }
.hero::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: radial-gradient(60% 70% at 18% 55%, rgba(200, 156, 76, .16), transparent 70%); }
.hero-inner, .hero-controls { z-index: 3; }

.highlights ul { background: linear-gradient(180deg, rgba(45, 23, 65, .78), rgba(23, 11, 33, .9)); border-color: rgba(227, 200, 143, .32); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .6); position: relative; }
.highlights ul::before { content: ""; position: absolute; left: 24px; right: 24px; top: -1px; height: 1px; background: linear-gradient(90deg, transparent, var(--gold-300), transparent); }
.highlights svg { width: 46px; height: 46px; padding: 10px; border-radius: 50%; border: 1px solid rgba(227, 200, 143, .45); background: rgba(227, 200, 143, .06); }
.highlights strong { font-family: var(--serif); font-size: 18px; font-weight: 400; }

/* section headings carry a small gold ornament */
.eyebrow::before { width: 34px; height: 1px; background: linear-gradient(90deg, currentColor 70%, transparent); }
.ornament { display: flex; align-items: center; justify-content: center; gap: 14px; color: var(--gold-500); margin: 0 auto 18px; }
.ornament::before, .ornament::after { content: ""; width: 60px; height: 1px; background: currentColor; opacity: .6; }
.ornament span { width: 7px; height: 7px; transform: rotate(45deg); border: 1px solid currentColor; }
.center { text-align: center; }
.center .lede { margin-left: auto; margin-right: auto; }
h2 em, h1 em { font-style: italic; color: var(--gold-600); }
.on-dark h2 em, .section.dark h2 em, .page-hero h1 em { color: var(--gold-300); }

/* paper texture and the seal watermark */
.paper { background-color: var(--ivory); background-image: radial-gradient(rgba(179, 134, 58, .07) 1px, transparent 1.4px); background-size: 22px 22px; }
.watermark { position: absolute; pointer-events: none; opacity: .06; width: min(620px, 70vw); filter: grayscale(1) brightness(2); }
.section, .page-hero, .site-footer, .admit-band { position: relative; }
.section > .wrap, .site-footer .wrap { position: relative; z-index: 2; }

/* photos framed in gold */
.framed { position: relative; }
.framed::before { content: ""; position: absolute; inset: 18px -18px -18px 18px; border: 1px solid var(--gold-500); border-radius: var(--radius); z-index: 0; pointer-events: none; }
.framed > img, .framed > .photo { position: relative; z-index: 1; }
.photo { position: relative; z-index: 1; }
.photo img { transition: transform 1.2s cubic-bezier(.2, .7, .2, 1); }
.photo:hover img { transform: scale(1.03); }
@media (max-width: 560px) { .framed::before { inset: 10px -8px -10px 10px; } }

/* about block */
.about-home { background: var(--ivory); }
.about-home .big-year { position: absolute; left: -2%; bottom: -6%; font-family: var(--serif); font-size: clamp(160px, 22vw, 340px); line-height: .8; color: transparent; -webkit-text-stroke: 1px rgba(179, 134, 58, .28); pointer-events: none; user-select: none; z-index: 0; }
.about-visual .portrait { border: 0; outline: 1px solid var(--gold-500); outline-offset: 10px; }
.signature { display: flex; align-items: center; gap: 18px; margin-top: 30px; padding-top: 24px; border-top: 1px solid var(--line); }
.signature img { width: 54px; }
.signature strong { display: block; font-family: var(--serif); font-weight: 400; font-size: 19px; }
.signature span { font-size: 14px; color: var(--muted); }

/* programs: tall cards */
.program-card { aspect-ratio: 3 / 3.7; border-radius: 8px; box-shadow: var(--shadow); transition: transform .4s cubic-bezier(.2, .7, .2, 1), box-shadow .4s; }
.program-card:hover { transform: translateY(-4px); box-shadow: 0 30px 60px -28px rgba(33, 16, 47, .7); }
.program-card::before { content: ""; position: absolute; inset: 12px; border: 1px solid rgba(227, 200, 143, .35); border-radius: 4px; z-index: 2; pointer-events: none; transition: inset .4s, border-color .4s; }
.program-card:hover::before { inset: 8px; border-color: rgba(227, 200, 143, .7); }
.program-card .num { position: absolute; top: 28px; left: 30px; z-index: 2; font-family: var(--serif); font-style: italic; color: var(--gold-300); font-size: 20px; }
.program-card .body { left: 30px; right: 30px; bottom: 30px; }
.program-card h3 { font-size: clamp(26px, 2.4vw, 32px); }
.program-card p { font-size: 15px; max-width: 26ch; }
.program-card .circle { border-color: var(--gold-300); color: var(--gold-300); transition: background .3s, color .3s; }
.program-card:hover .circle { background: var(--gold-300); color: var(--plum-950); }
@media (max-width: 820px) { .program-card { aspect-ratio: 4 / 3.4; } }

/* heritage band */
.heritage { background: radial-gradient(80% 90% at 85% 10%, #3a1d55 0%, var(--plum-900) 55%, var(--plum-950) 100%); color: #fff; overflow: hidden; }
.heritage .watermark { right: -120px; top: 50%; transform: translateY(-50%); opacity: .07; }
.heritage .lede { color: #d6cbe0; }
.motto { font-family: var(--serif); font-size: clamp(34px, 5vw, 66px); line-height: 1.1; margin: 0 0 18px; }
.motto span { color: var(--gold-300); font-style: italic; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); margin: 56px 0 64px; border-top: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark); }
.stats div { padding: 30px 26px; }
.stats div + div { border-left: 1px solid var(--line-dark); }
.stats strong { display: block; font-family: var(--serif); font-weight: 400; font-size: clamp(44px, 5vw, 68px); line-height: 1; color: var(--gold-300); }
.stats span { display: block; margin-top: 10px; color: #cfc4d8; font-size: 14.5px; }
.tline { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; position: relative; }
.tline::before { content: ""; position: absolute; left: 0; right: 0; top: 9px; height: 1px; background: linear-gradient(90deg, var(--gold-300), rgba(227, 200, 143, .2)); }
.tline li { position: relative; padding-top: 34px; }
.tline li::before { content: ""; position: absolute; left: 0; top: 2px; width: 15px; height: 15px; border-radius: 50%; background: var(--plum-900); border: 2px solid var(--gold-300); box-shadow: 0 0 0 5px rgba(227, 200, 143, .12); }
.tline b { display: block; font-family: var(--serif); font-weight: 400; font-size: 30px; color: #fff; }
.tline p { margin: 6px 0 0; color: #cbbfd6; font-size: 14.5px; line-height: 1.5; }

/* alumni on home */
.alumni-home .grid-2 { gap: clamp(28px, 5vw, 64px); margin-top: 48px; }
.leader { display: grid; grid-template-columns: 220px 1fr; gap: 30px; align-items: center; }
.leader figure { position: relative; }
.leader figure::before { content: ""; position: absolute; inset: -12px; border: 1px solid var(--gold-500); border-radius: 50% 50% 6px 6px / 40% 40% 6px 6px; }
.leader img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 20%; border-radius: 50% 50% 6px 6px / 40% 40% 6px 6px; filter: sepia(.15); }
.leader .class { font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-600); }
.leader h3 { font-size: 30px; margin: 8px 0 10px; }
.leader p { color: var(--muted); margin: 0; }
.leader .title { font-family: var(--serif); font-style: italic; font-size: 20px; color: var(--plum-700); margin-bottom: 8px; }
@media (max-width: 560px) { .leader { grid-template-columns: 130px 1fr; gap: 22px; } .leader h3 { font-size: 24px; } }

/* steps on dark */
.steps-dark { background: var(--plum-800); color: #fff; overflow: hidden; }
.steps-dark .watermark { left: -160px; bottom: -160px; }
.steps-dark .lede { color: #d6cbe0; }
.journey { list-style: none; margin: 50px 0 44px; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; position: relative; counter-reset: j; }
.journey::before { content: ""; position: absolute; left: 30px; right: 12%; top: 30px; height: 1px; background: repeating-linear-gradient(90deg, var(--gold-300) 0 8px, transparent 8px 14px); opacity: .6; }
.journey li { position: relative; counter-increment: j; }
.journey li::before { content: counter(j); display: grid; place-items: center; width: 60px; height: 60px; border-radius: 50%; background: var(--plum-800); border: 1px solid var(--gold-300); color: var(--gold-300); font-family: var(--serif); font-size: 26px; margin-bottom: 22px; position: relative; box-shadow: 0 0 0 8px var(--plum-800); }
.journey h3 { font-size: 22px; margin-bottom: 8px; }
.journey p { color: #cfc4d8; font-size: 15px; margin: 0; }

/* news */
.news-card { border-radius: 8px; transition: transform .35s cubic-bezier(.2, .7, .2, 1), box-shadow .35s; }
.news-card:hover { transform: translateY(-3px); }
.news-card img { transition: transform 1s cubic-bezier(.2, .7, .2, 1); }
.news-card:hover img { transform: scale(1.04); }
.news-card > img { overflow: hidden; }
.news-feature { display: grid; grid-template-columns: 1.25fr 1fr; gap: 24px; }
.news-feature .news-card.big img { aspect-ratio: 16 / 10; }
.news-feature .news-card.big h3 { font-family: var(--serif); font-weight: 400; font-size: 28px; }
.news-side { display: grid; gap: 24px; align-content: start; }
.fb-card { display: flex; flex-direction: column; justify-content: space-between; gap: 18px; padding: 28px; border-radius: 8px; background: var(--plum-900); color: #fff; text-decoration: none; position: relative; overflow: hidden; }
.fb-card .watermark { right: -60px; bottom: -80px; width: 260px; opacity: .1; }
.fb-card h3 { font-size: 24px; }
.fb-card p { color: #d0c4da; margin: 0; }
@media (max-width: 820px) { .news-feature { grid-template-columns: 1fr; } }

/* admissions band */
.admit-band .watermark { right: 4%; top: 50%; transform: translateY(-50%); width: 360px; opacity: .08; z-index: 1; }
.admit-band h2 { font-size: clamp(36px, 4.4vw, 56px); }

/* footer */
.site-footer { border-top: 3px solid var(--gold-500); }
.site-footer .watermark { right: -100px; bottom: -160px; width: 520px; opacity: .05; }
.foot-cta { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; padding-bottom: 40px; margin-bottom: 44px; border-bottom: 1px solid var(--line-dark); }
.foot-cta h2 { color: #fff; font-size: clamp(30px, 3.6vw, 46px); }
.foot-cta h2 em { color: var(--gold-300); }
.foot-cta .actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* inner page heroes */
.page-hero { min-height: 470px; display: flex; align-items: center; }
.page-hero .wrap { width: 100%; }
.page-hero h1 { font-size: clamp(42px, 5.6vw, 76px); }
.page-hero img.bg { opacity: .5; animation: drift 12s ease-out both; }
.page-hero .watermark { right: -80px; bottom: -120px; width: 480px; z-index: 1; opacity: .08; }
.page-hero::before { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; z-index: 3; background: linear-gradient(90deg, var(--gold-500), var(--gold-300) 50%, transparent); }

/* inner cards richer */
.type-card { transition: transform .35s cubic-bezier(.2, .7, .2, 1), box-shadow .35s; box-shadow: 0 1px 0 rgba(0, 0, 0, .02); }
.type-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.type-card .ic { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 50%; background: var(--ivory); border: 1px solid var(--line); color: var(--gold-600); margin-bottom: 18px; }
.type-card .ic svg { width: 26px; height: 26px; stroke-width: 1.4; }
.steps li { transition: transform .35s, box-shadow .35s; }
.steps li:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.steps li::before { background: linear-gradient(180deg, var(--plum-600), var(--plum-800)); box-shadow: 0 0 0 5px rgba(200, 156, 76, .18); }
.panel { box-shadow: 0 1px 0 rgba(0, 0, 0, .02); border-top: 3px solid var(--plum-700); }
.cta-strip { position: relative; overflow: hidden; background: radial-gradient(70% 120% at 100% 0%, #4a2668, var(--plum-800) 60%); border: 1px solid rgba(227, 200, 143, .25); }
.cta-strip .watermark { right: -40px; top: 50%; transform: translateY(-50%); width: 260px; opacity: .1; }
.cta-strip > * { position: relative; z-index: 2; }
.section.dark { background: radial-gradient(80% 90% at 85% 10%, #3a1d55 0%, var(--plum-900) 55%, var(--plum-950) 100%); overflow: hidden; }
.section.dark .lede, .section.dark p { color: #d6cbe0; }
.section.dark .feature { border-bottom-color: var(--line-dark); }
.section.dark .feature p { color: #cbbfd6; }
.section.dark .feature svg { color: var(--gold-300); }

@media (max-width: 1060px) {
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stats div:nth-child(3) { border-left: 0; }
  .stats div:nth-child(n+3) { border-top: 1px solid var(--line-dark); }
  .tline { grid-template-columns: repeat(3, 1fr); row-gap: 36px; }
  .tline::before { display: none; }
  .journey { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
  .journey::before { display: none; }
}
@media (max-width: 560px) {
  .tline, .journey { grid-template-columns: 1fr; }
  .stats div { padding: 22px 16px; }
  .page-hero { min-height: 400px; }
}
.center .eyebrow::before { margin-left: auto; margin-right: auto; display: none; }
.quick li a { height: 100%; width: 118px; }
.quick ul { align-items: stretch; }
.photo.gold { overflow: visible; box-shadow: none; }
.photo.gold img { border-radius: var(--radius); box-shadow: var(--shadow); position: relative; z-index: 1; }
.photo.gold::before { content: ""; position: absolute; inset: 20px -20px -20px 20px; border: 1px solid var(--gold-500); border-radius: var(--radius); }
.photo.gold:hover img { transform: none; }
@media (max-width: 560px) { .photo.gold::before { inset: 10px -10px -10px 10px; } }
.person img { border-radius: 50% 50% 6px 6px / 38% 38% 6px 6px; outline: 1px solid var(--gold-500); outline-offset: 8px; }
.section.dark .type-card { background: rgba(255, 255, 255, .04); border-color: var(--line-dark); border-top-color: var(--gold-500); }
.section.dark .type-card h3 { color: #fff; }
.section.dark .type-card p { color: #cbbfd6; }
.section.dark .type-card .ic { background: rgba(227, 200, 143, .08); border-color: rgba(227, 200, 143, .35); color: var(--gold-300); }
.section.dark .watermark { right: -140px; top: 50%; transform: translateY(-50%); }
