/* ==========================================================================
   Kranthi High School — Collegiate Editorial design system
   Modeled on ox.ac.uk: Oxford Blue authority, oversized serif type,
   zero-radius geometry, hairline detailing.
   ========================================================================== */

:root {
  --oxford: #002147;
  --oxford-deep: #001730;
  --oxford-soft: #0A3160;
  --paper: #F4F2EE;
  --white: #FFFFFF;
  --ink: #14181D;
  --ink-soft: #4A5361;
  --gold: #B8860B;
  --gold-bright: #D4A017;
  --red: #C8102E;
  --hairline: rgba(0, 33, 71, 0.15);
  --hairline-light: rgba(255, 255, 255, 0.22);
  --utility-h: 2.5rem;
  --header-h: 5.75rem;
  --ease: cubic-bezier(0.25, 0.8, 0.25, 1);
  --serif: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --sans: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --tracking-luxe: 0.28em;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; min-height: 100vh;
  font-family: var(--sans); color: var(--ink); background: var(--paper);
  font-size: 1rem; font-weight: 400; line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--oxford); }

.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 200;
  background: var(--oxford); color: #fff; padding: 0.75rem 1.25rem;
}
.skip-link:focus { left: 0; }

/* --------------------------------------------------------------------------
   Type — Montserrat scale adapted from Legacy Builders
   body 400 · display/h1/h2 600 · h3 400 · labels 600 · buttons 700
   -------------------------------------------------------------------------- */
h1, h2 {
  font-family: var(--serif); font-weight: 600; color: var(--oxford);
  line-height: 1.12; letter-spacing: -0.02em;
}
h3, h4 {
  font-family: var(--serif); font-weight: 400; color: var(--oxford);
  letter-spacing: normal; line-height: 1.35;
}

.eyebrow {
  display: flex; align-items: center; gap: 1rem;
  font-family: var(--sans); font-size: 0.75rem; font-weight: 600;
  letter-spacing: var(--tracking-luxe); text-transform: uppercase; color: var(--gold);
  margin: 0 0 1.5rem;
}
.eyebrow::after {
  content: ''; flex: 0 0 2.5rem; height: 1px; background: var(--gold);
}
.eyebrow--center { justify-content: center; }
.eyebrow--center::before {
  content: ''; flex: 0 0 2.5rem; height: 1px; background: var(--gold);
}

.section-title {
  font-size: clamp(1.875rem, 4vw, 3rem);
  line-height: 1.12; letter-spacing: -0.02em; font-weight: 600;
  margin: 0 0 1.5rem;
}
.section-lead {
  font-size: 1.125rem; font-weight: 400; line-height: 1.625; color: var(--ink-soft);
  max-width: 56ch; margin: 0;
}

/* --------------------------------------------------------------------------
   Layout
   -------------------------------------------------------------------------- */
.container { max-width: 1280px; margin: 0 auto; padding: 0 2rem; }
.container--narrow { max-width: 880px; }
.section { padding: 7rem 0; }
.section--tight { padding: 4.5rem 0; }
@media (max-width: 768px) {
  .container { padding: 0 1.25rem; }
  .section { padding: 4.5rem 0; }
}

.bg-white { background: var(--white); }
.bg-paper { background: var(--paper); }
.bg-oxford { background: var(--oxford); color: rgba(255,255,255,0.88); }

/* --------------------------------------------------------------------------
   Buttons — rectangular, letterspaced, no bounce
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; gap: 0.75rem;
  padding: 1rem 2rem;
  font-family: var(--sans); font-size: 0.8125rem; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase;
  text-decoration: none; border: 1px solid transparent; cursor: pointer;
  transition: background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease);
  line-height: 1.5;
}
.btn::after {
  content: '\2192'; font-size: 1rem; line-height: 0;
  transition: transform 0.3s var(--ease);
}
.btn:hover::after { transform: translateX(4px); }

.btn-primary { background: var(--oxford); color: #fff; border-color: var(--oxford); }
.btn-primary:hover { background: var(--oxford-deep); border-color: var(--oxford-deep); }

.btn-ghost { background: transparent; color: var(--oxford); border-color: var(--oxford); }
.btn-ghost:hover { background: var(--oxford); color: #fff; }

.btn-light { background: transparent; color: #fff; border-color: rgba(255,255,255,0.55); }
.btn-light:hover { background: #fff; color: var(--oxford); border-color: #fff; }

.btn-gold { background: var(--gold); color: #fff; border-color: var(--gold); }
.btn-gold:hover { background: var(--gold-bright); border-color: var(--gold-bright); }

/* --------------------------------------------------------------------------
   Utility bar + Header
   -------------------------------------------------------------------------- */
.utility-bar {
  background: var(--oxford); color: rgba(255,255,255,0.82);
  font-size: 0.75rem; font-weight: 400; letter-spacing: 0.02em;
  height: var(--utility-h);
}
.utility-inner {
  max-width: 1280px; margin: 0 auto; padding: 0 2rem;
  height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
}
.utility-bar a { color: rgba(255,255,255,0.82); text-decoration: none; }
.utility-bar a:hover { color: #fff; }
.utility-group { display: flex; align-items: center; gap: 1.5rem; }
.utility-group .divider { width: 1px; height: 0.9rem; background: var(--hairline-light); }
@media (max-width: 900px) {
  .utility-group--contact span.hide-sm { display: none; }
}
@media (max-width: 640px) {
  .utility-bar { font-size: 0.72rem; }
  .utility-inner { padding: 0 1.25rem; }
  .utility-group { gap: 0.9rem; white-space: nowrap; }
  .utility-group a[href*="facebook"],
  .utility-group a[href*="instagram"],
  .utility-group .divider { display: none; }
}

.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--gold);
}
.header-inner {
  max-width: 1280px; margin: 0 auto; padding: 0 2rem;
  height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between; gap: 2rem;
}
@media (max-width: 768px) { .header-inner { padding: 0 1.25rem; } }

.brand { display: flex; align-items: center; gap: 0.85rem; text-decoration: none; flex-shrink: 0; }
.brand-logo { width: 64px; height: 64px; object-fit: contain; flex-shrink: 0; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; min-width: 0; }
.brand-name {
  font-family: var(--serif); font-weight: 700; font-size: 1.05rem;
  letter-spacing: 0.06em; text-transform: uppercase; color: var(--oxford);
  white-space: nowrap;
}
.brand-recog {
  font-size: 0.58rem; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--ink-soft); font-weight: 600; margin-top: 0.12rem;
  white-space: nowrap;
}
.brand-place {
  font-size: 0.58rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--gold); font-weight: 700; margin-top: 0.14rem;
  white-space: nowrap;
}
@media (max-width: 640px) {
  .brand-name { font-size: 0.92rem; }
  .brand-recog, .brand-place { letter-spacing: 0.04em; white-space: normal; }
}

.primary-nav { display: flex; align-items: center; gap: 1.75rem; }
.primary-nav ul {
  display: flex; align-items: center; gap: 1.6rem;
  list-style: none; margin: 0; padding: 0;
}
.primary-nav ul a {
  position: relative; display: block; padding: 0.35rem 0;
  font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase;
  color: rgba(0, 33, 71, 0.75); text-decoration: none;
  transition: color 0.3s var(--ease);
}
.primary-nav ul a::after {
  content: ''; position: absolute; left: 0; right: 100%; bottom: 0;
  height: 2px; background: var(--gold);
  transition: right 0.3s var(--ease);
}
.primary-nav ul a:hover { color: var(--oxford); }
.primary-nav ul a:hover::after,
.primary-nav ul a.is-active::after { right: 0; }
.primary-nav ul a.is-active { color: var(--oxford); }

.nav-cta {
  padding: 0.8rem 1.4rem !important; font-size: 0.72rem !important;
}

.nav-toggle {
  display: none; width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer;
  flex-direction: column; justify-content: center; align-items: center; gap: 6px; padding: 0;
}
.nav-toggle span {
  display: block; width: 24px; height: 2px; background: var(--oxford);
  transition: transform 0.25s var(--ease), opacity 0.25s;
}

@media (max-width: 1359px) {
  .nav-toggle { display: flex; }
  .primary-nav {
    position: fixed; top: 0; right: 0; bottom: 0; width: min(380px, 100vw);
    background: var(--oxford); flex-direction: column; align-items: stretch;
    padding: 6rem 2.5rem 2.5rem; gap: 2rem; z-index: 90;
    transform: translateX(100%);
    transition: transform 0.4s var(--ease);
    overflow-y: auto;
  }
  .primary-nav.is-open { transform: translateX(0); }
  .primary-nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .primary-nav ul li { border-bottom: 1px solid var(--hairline-light); }
  .primary-nav ul a {
    color: rgba(255,255,255,0.85) !important; padding: 1rem 0;
    font-size: 0.85rem;
  }
  .primary-nav ul a:hover, .primary-nav ul a.is-active { color: #fff !important; }
  .primary-nav ul a::after { display: none; }
  .nav-cta { justify-content: center; background: var(--gold); border-color: var(--gold); }
  .nav-toggle { position: relative; z-index: 110; }
  .nav-toggle.is-open span { background: #fff; }
  .nav-toggle.is-open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .nav-toggle.is-open span:nth-child(2) { opacity: 0; }
  .nav-toggle.is-open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
}

@media (min-width: 1360px) {
  .primary-nav { gap: 1.5rem; }
  .primary-nav ul { gap: 1.35rem; }
  .primary-nav ul a { font-size: 0.8125rem; letter-spacing: 0.16em; }
  .nav-cta { padding: 0.75rem 1.4rem !important; font-size: 0.8125rem !important; }
}

/* --------------------------------------------------------------------------
   Hero (home)
   -------------------------------------------------------------------------- */
.hero {
  position: relative; min-height: calc(100vh - var(--utility-h) - var(--header-h));
  min-height: calc(100dvh - var(--utility-h) - var(--header-h));
  display: flex; align-items: center; color: #fff; overflow: hidden;
}
.hero-media { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }

/* Hero slider */
.hero-slides { position: absolute; inset: 0; overflow: hidden; }
.hero-slide {
  position: absolute; inset: 0; margin: 0;
  opacity: 0; transition: opacity 1.4s var(--ease);
  pointer-events: none;
}
.hero-slide.is-active { opacity: 1; }
.hero-slide img {
  width: 100%; height: 100%; object-fit: cover;
  transform: scale(1);
}
.hero-slide.is-active img {
  animation: heroDrift 6s var(--ease) forwards;
}
@keyframes heroDrift {
  from { transform: scale(1.07); }
  to { transform: scale(1); }
}

.hero-controls {
  /* keep clear of the fixed WhatsApp float (54px wide at right:1.75rem) */
  position: absolute; right: 7.5rem; bottom: 2.5rem; z-index: 3;
  display: flex; flex-direction: column; align-items: flex-end; gap: 1rem;
  color: #fff;
}
.hero-caption {
  margin: 0; font-size: 0.6875rem; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  border-bottom: 1px solid var(--gold); padding-bottom: 0.5rem;
}
.hero-controls-row { display: flex; align-items: center; gap: 1.5rem; }
.hero-dots { display: flex; gap: 0.55rem; }
.hero-dots button {
  width: 26px; height: 2px; padding: 0; border: 0; cursor: pointer;
  background: rgba(255,255,255,0.35); transition: background 0.3s;
}
.hero-dots button.is-active { background: var(--gold); }
.hero-arrows { display: flex; gap: 0.5rem; }
.hero-arrow {
  width: 42px; height: 42px; padding: 0; cursor: pointer;
  background: transparent; border: 1px solid rgba(255,255,255,0.4); color: #fff;
  font-size: 1.05rem; line-height: 1;
  transition: background 0.3s var(--ease), border-color 0.3s, color 0.3s;
}
.hero-arrow:hover { background: var(--gold); border-color: var(--gold); }
@media (max-width: 900px) {
  .hero-controls { right: 6.5rem; bottom: 2.25rem; }
  .hero-caption { display: none; }
  .hero-arrows { display: none; }
}
.hero-overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(0,23,48,0.85) 0%, rgba(0,33,71,0.55) 48%, rgba(0,33,71,0.25) 100%);
}
.hero-content {
  position: relative; z-index: 2; width: 100%;
  max-width: 1280px; margin: 0 auto; padding: 6rem 2rem;
}
@media (max-width: 768px) { .hero-content { padding: 4.5rem 1.25rem; } }
.hero-eyebrow {
  font-size: 0.75rem; font-weight: 600; letter-spacing: var(--tracking-luxe); text-transform: uppercase;
  color: var(--gold-bright); margin: 0 0 2rem;
}
.hero-title {
  font-family: var(--serif); font-weight: 600; color: #fff;
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  line-height: 1.12; letter-spacing: -0.02em;
  max-width: 16ch; margin: 0 0 2rem;
}
.hero-rule { width: 5.5rem; height: 2px; background: var(--gold); border: 0; margin: 0 0 2rem; }
.hero-sub {
  font-size: 1.125rem; font-weight: 400; line-height: 1.625;
  max-width: 44ch; margin: 0 0 3rem; color: rgba(255,255,255,0.85);
}
.hero-ctas { display: flex; flex-wrap: wrap; gap: 1rem; }

.hero-scroll {
  position: absolute; bottom: 2.5rem; left: 50%; transform: translateX(-50%);
  z-index: 2; color: rgba(255,255,255,0.6);
  font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase;
  display: flex; flex-direction: column; align-items: center; gap: 0.75rem;
  text-decoration: none;
}
.hero-scroll::after {
  content: ''; width: 1px; height: 3rem; background: rgba(255,255,255,0.4);
  animation: scrollPulse 2.2s var(--ease) infinite;
}
@media (max-height: 840px), (max-width: 900px) {
  .hero-scroll { display: none; }
}
@keyframes scrollPulse {
  0%, 100% { transform: scaleY(0.4); transform-origin: top; opacity: 0.4; }
  50% { transform: scaleY(1); opacity: 1; }
}

/* --------------------------------------------------------------------------
   Page head (inner pages) — solid oxford band
   -------------------------------------------------------------------------- */
.page-head {
  color: #fff;
  padding: 5.5rem 0 5rem;
  position: relative; overflow: hidden;
  background-color: var(--oxford);
  background-image:
    linear-gradient(105deg, rgba(0, 23, 48, 0.92) 0%, rgba(0, 33, 71, 0.78) 48%, rgba(0, 33, 71, 0.55) 100%),
    url('../images/generated/page-header-bg.jpg?v=2');
  background-size: cover;
  background-position: center;
}
.page-head > .container { position: relative; z-index: 1; }
.page-head::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0;
  height: 1px; background: var(--gold); z-index: 2;
}
.crumb {
  font-size: 0.75rem; font-weight: 600; letter-spacing: var(--tracking-luxe); text-transform: uppercase;
  color: var(--gold-bright); margin: 0 0 1.75rem;
}
.crumb a { color: rgba(255,255,255,0.65); text-decoration: none; }
.crumb a:hover { color: #fff; }
.crumb .sep { margin: 0 0.6rem; color: rgba(255,255,255,0.35); }
.page-title {
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  line-height: 1.12; letter-spacing: -0.02em; font-weight: 600; color: #fff;
  margin: 0; max-width: 20ch;
}
.page-lead {
  font-size: 1.125rem; font-weight: 400; line-height: 1.625; color: rgba(255,255,255,0.78);
  max-width: 52ch; margin: 1.75rem 0 0;
}

/* --------------------------------------------------------------------------
   Reveal — subtle fade only
   -------------------------------------------------------------------------- */
.reveal { opacity: 0; transition: opacity 0.9s var(--ease); }
.reveal.is-visible { opacity: 1; }

/* --------------------------------------------------------------------------
   Welcome (home) — editorial split with drop cap
   -------------------------------------------------------------------------- */
.welcome-grid {
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 4.5rem; align-items: center;
}
@media (max-width: 900px) { .welcome-grid { grid-template-columns: 1fr; gap: 2.75rem; } }
.dropcap::first-letter {
  font-family: var(--serif); font-weight: 600; color: var(--oxford);
  font-size: 3.6em; line-height: 0.85;
  float: left; padding: 0.08em 0.1em 0 0;
}
.welcome-copy p {
  font-size: 1.0625rem; font-weight: 400; line-height: 1.75; color: var(--ink-soft); margin: 0 0 1.5rem;
}
.welcome-actions {
  display: flex; flex-wrap: wrap; gap: 0.85rem;
  margin-top: 2.25rem; padding-top: 2.25rem;
  border-top: 1px solid var(--hairline);
}
.welcome-figure {
  margin: 0; position: relative;
  padding: 0.85rem; background: var(--paper);
  border: 1px solid var(--hairline);
}
.welcome-figure::before {
  content: ''; position: absolute; top: 0; left: 0;
  width: 3.5rem; height: 2px; background: var(--gold); z-index: 1;
}
.welcome-figure img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.welcome-figure figcaption {
  margin-top: 1rem;
  font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--ink-soft);
}

/* --------------------------------------------------------------------------
   Program index — numbered editorial rows
   -------------------------------------------------------------------------- */
.program-index { border-top: 1px solid var(--hairline); }
.program-row {
  display: grid; grid-template-columns: 6rem 1fr 300px 3rem;
  gap: 2.5rem; align-items: center;
  padding: 2.75rem 0; border-bottom: 1px solid var(--hairline);
  text-decoration: none; position: relative;
}
.program-row .row-num {
  font-family: var(--serif); font-size: 1.5rem; font-weight: 600;
  color: var(--gold); letter-spacing: 0.04em;
}
.program-row .row-body h3 {
  font-size: clamp(1.5rem, 2.6vw, 2.1rem); font-weight: 400; margin: 0 0 0.5rem;
  letter-spacing: normal; transition: color 0.3s var(--ease);
}
.program-row .row-body p {
  margin: 0; color: var(--ink-soft); font-size: 0.95rem;
  letter-spacing: 0.08em; text-transform: uppercase; font-weight: 500;
}
.program-row .row-media {
  margin: 0; overflow: hidden; aspect-ratio: 16 / 10;
  opacity: 0.85; transition: opacity 0.4s var(--ease);
}
.program-row .row-media img {
  width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.02); transition: transform 0.7s var(--ease);
}
.program-row .row-arrow {
  font-size: 1.5rem; color: var(--hairline);
  transition: color 0.3s var(--ease), transform 0.3s var(--ease);
}
.program-row:hover .row-body h3 { color: var(--gold); }
.program-row:hover .row-media { opacity: 1; }
.program-row:hover .row-media img { transform: scale(1.08); }
.program-row:hover .row-arrow { color: var(--gold); transform: translateX(6px); }
@media (max-width: 900px) {
  .program-row { grid-template-columns: 3.5rem 1fr 2rem; }
  .program-row .row-media { display: none; }
}

/* --------------------------------------------------------------------------
   Why list — two-column register
   -------------------------------------------------------------------------- */
.register-list {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0 5rem;
  list-style: none; margin: 0; padding: 0;
}
@media (max-width: 800px) { .register-list { grid-template-columns: 1fr; } }
.register-list li {
  display: flex; gap: 1.5rem; align-items: baseline;
  padding: 1.6rem 0; border-bottom: 1px solid var(--hairline);
}
.register-list .reg-num {
  font-family: var(--serif); font-size: 0.95rem; font-weight: 600;
  color: var(--gold); flex-shrink: 0; width: 2rem;
}
.register-list .reg-body h3 {
  font-size: 1.2rem; margin: 0 0 0.35rem;
}
.register-list .reg-body p {
  margin: 0; font-size: 0.95rem; line-height: 1.6; color: var(--ink-soft);
}

/* --------------------------------------------------------------------------
   Campus mosaic — editorial with captions
   -------------------------------------------------------------------------- */
.mosaic {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr; grid-template-rows: 240px 240px;
  gap: 1px; background: var(--hairline);
  border: 1px solid var(--hairline);
}
.mosaic figure { margin: 0; overflow: hidden; position: relative; background: var(--oxford); }
.mosaic img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.7s var(--ease), opacity 0.4s;
}
.mosaic figure:hover img { transform: scale(1.05); }
.mosaic figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 2.25rem 1.25rem 1rem;
  background: linear-gradient(180deg, transparent, rgba(0,23,48,0.85));
  color: #fff; font-size: 0.68rem; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase;
}
.mosaic figure:first-child { grid-row: 1 / 3; }
@media (max-width: 768px) {
  .mosaic { grid-template-columns: 1fr 1fr; grid-template-rows: 200px 200px 200px; }
  .mosaic figure:first-child { grid-row: auto; grid-column: 1 / -1; }
}

/* --------------------------------------------------------------------------
   Quote band — rotating pull quotes on oxford
   -------------------------------------------------------------------------- */
.quote-band {
  background: var(--oxford); color: #fff;
  padding: 7rem 0; text-align: center; position: relative;
}
.quote-band .quote-mark {
  font-family: var(--serif); font-size: 5rem; line-height: 0.5;
  color: var(--gold); display: block; margin-bottom: 2rem;
}
.quote-slides { position: relative; min-height: 14rem; }
.quote-slide {
  position: absolute; inset: 0;
  opacity: 0; transition: opacity 0.8s var(--ease);
  pointer-events: none;
}
.quote-slide.is-active { opacity: 1; pointer-events: auto; }
.quote-slide blockquote {
  font-family: var(--serif); font-style: italic; font-weight: 400;
  font-size: clamp(1.35rem, 2.8vw, 1.9rem); line-height: 1.45;
  letter-spacing: -0.01em;
  max-width: 26em; margin: 0 auto 2rem; color: rgba(255,255,255,0.94);
}
.quote-slide cite {
  font-style: normal; font-size: 0.75rem; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold-bright);
}
.quote-dots { display: flex; justify-content: center; gap: 0.6rem; margin-top: 2.5rem; }
.quote-dots button {
  width: 8px; height: 8px; padding: 0; border: 0; cursor: pointer;
  background: rgba(255,255,255,0.3); transition: background 0.3s;
}
.quote-dots button.is-active { background: var(--gold); }
@media (max-width: 640px) { .quote-slides { min-height: 20rem; } }

/* --------------------------------------------------------------------------
   Editorial rows (blog / news)
   -------------------------------------------------------------------------- */
.editorial-row {
  display: grid; grid-template-columns: 380px 1fr; gap: 3.5rem; align-items: center;
  padding: 3rem 0; border-top: 1px solid var(--hairline);
  text-decoration: none;
}
.editorial-row:last-child { border-bottom: 1px solid var(--hairline); }
@media (max-width: 800px) { .editorial-row { grid-template-columns: 1fr; gap: 1.5rem; } }
.editorial-row figure { margin: 0; overflow: hidden; aspect-ratio: 16 / 10; }
.editorial-row img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.7s var(--ease);
}
.editorial-row:hover img { transform: scale(1.05); }
.editorial-row .kicker {
  font-size: 0.7rem; font-weight: 600; letter-spacing: var(--tracking-luxe); text-transform: uppercase;
  color: var(--gold); margin: 0 0 0.9rem;
}
.editorial-row h3 {
  font-size: clamp(1.5rem, 2.8vw, 2.1rem); font-weight: 400; line-height: 1.25;
  letter-spacing: normal; margin: 0 0 1rem; transition: color 0.3s var(--ease);
}
.editorial-row:hover h3 { color: var(--gold); }
.editorial-row p { margin: 0; color: var(--ink-soft); line-height: 1.7; max-width: 60ch; }
.editorial-row .read-more {
  display: inline-block; margin-top: 1.4rem;
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--oxford); border-bottom: 1px solid var(--gold); padding-bottom: 0.3rem;
}

/* --------------------------------------------------------------------------
   CTA band — flat oxford
   -------------------------------------------------------------------------- */
.cta-band {
  background: var(--oxford); color: #fff; padding: 6.5rem 0;
  border-top: 1px solid var(--gold);
}
.cta-band .cta-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 3rem; flex-wrap: wrap;
}
.cta-band h2 {
  font-size: clamp(2rem, 4vw, 3rem); font-weight: 600; line-height: 1.12;
  letter-spacing: -0.02em; color: #fff;
  margin: 0 0 1rem; max-width: 18ch;
}
.cta-band p { margin: 0; color: rgba(255,255,255,0.75); max-width: 44ch; }
.cta-band .hero-ctas { flex-shrink: 0; }

/* --------------------------------------------------------------------------
   Split panels (vision / mission)
   -------------------------------------------------------------------------- */
.split-panels { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--hairline); border: 1px solid var(--hairline); }
@media (max-width: 800px) { .split-panels { grid-template-columns: 1fr; } }
.split-panel { background: var(--white); padding: 3.5rem 3rem; }
.split-panel h3 {
  font-size: 1.75rem; margin: 0 0 1.25rem;
  padding-bottom: 1.25rem; border-bottom: 1px solid var(--gold);
}
.split-panel p, .split-panel li { color: var(--ink-soft); line-height: 1.75; }
.split-panel ul { margin: 0; padding-left: 1.15rem; }
.split-panel li { margin-bottom: 0.6rem; }
@media (max-width: 640px) { .split-panel { padding: 2.5rem 1.75rem; } }

/* --------------------------------------------------------------------------
   Values — numbered register
   -------------------------------------------------------------------------- */
.values-register {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0 5rem;
  counter-reset: value;
}
@media (max-width: 800px) { .values-register { grid-template-columns: 1fr; } }
.value-entry {
  counter-increment: value;
  padding: 2rem 0; border-bottom: 1px solid var(--hairline);
  display: grid; grid-template-columns: 3.5rem 1fr; gap: 1.25rem;
}
.value-entry::before {
  content: counter(value, decimal-leading-zero);
  font-family: var(--serif); font-size: 1.1rem; font-weight: 600; color: var(--gold);
  padding-top: 0.2rem;
}
.value-entry h3 { font-size: 1.35rem; margin: 0 0 0.5rem; }
.value-entry p { margin: 0; font-size: 0.95rem; line-height: 1.65; color: var(--ink-soft); }

/* --------------------------------------------------------------------------
   Program detail (programs page)
   -------------------------------------------------------------------------- */
.prog-split {
  display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 4rem; align-items: center;
  padding: 4.5rem 0; border-bottom: 1px solid var(--hairline);
}
.prog-split:nth-child(even) > figure { order: 2; }
@media (max-width: 850px) {
  .prog-split { grid-template-columns: 1fr; gap: 2rem; }
  .prog-split:nth-child(even) > figure { order: 0; }
}
.prog-split figure { margin: 0; border: 1px solid var(--hairline); padding: 0.75rem; background: var(--white); }
.prog-split figure img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.prog-split .stage {
  font-size: 0.7rem; font-weight: 600; letter-spacing: var(--tracking-luxe); text-transform: uppercase;
  color: var(--gold); margin: 0 0 1rem;
}
.prog-split h2 { font-size: clamp(1.85rem, 3.4vw, 2.6rem); margin: 0 0 1.25rem; }
.prog-split .prog-desc { color: var(--ink-soft); line-height: 1.75; margin: 0 0 1.75rem; }

.feature-list { list-style: none; margin: 0; padding: 0; }
.feature-list li {
  padding: 0.7rem 0 0.7rem 1.9rem; position: relative;
  color: var(--ink-soft); font-size: 0.98rem;
  border-bottom: 1px solid rgba(0,33,71,0.07);
}
.feature-list li::before {
  content: ''; position: absolute; left: 0; top: 1.35rem;
  width: 0.85rem; height: 1px; background: var(--gold);
}

/* --------------------------------------------------------------------------
   Gallery — editorial archive
   -------------------------------------------------------------------------- */
.gallery-feature {
  display: grid; grid-template-columns: 1.35fr 1fr; gap: 4rem; align-items: center;
}
.gallery-feature-media {
  display: block; position: relative; text-decoration: none;
  aspect-ratio: 4 / 3; overflow: hidden; background: var(--oxford);
}
.gallery-feature-media > img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.8s var(--ease);
}
.gallery-feature-media:hover > img { transform: scale(1.04); }
.gallery-feature-stack {
  position: absolute; right: 1.25rem; bottom: 1.25rem;
  display: flex; flex-direction: column; gap: 0.5rem; width: 28%;
}
.gallery-feature-stack img {
  width: 100%; aspect-ratio: 4 / 3; object-fit: cover;
  border: 1px solid rgba(255,255,255,0.35);
  box-shadow: 0 8px 24px rgba(0,0,0,0.25);
}
.gallery-feature-body h2 {
  font-size: clamp(2rem, 4vw, 3rem); font-weight: 600; margin: 0 0 1.25rem;
}
.gallery-feature-body > p {
  margin: 0 0 1.5rem; color: var(--ink-soft); font-size: 1.1rem; line-height: 1.65; max-width: 36ch;
}
.gallery-feature-count {
  font-size: 0.75rem; font-weight: 600; letter-spacing: var(--tracking-luxe);
  text-transform: uppercase; color: var(--gold); margin: 0 0 2rem !important;
}
@media (max-width: 900px) {
  .gallery-feature { grid-template-columns: 1fr; gap: 2.5rem; }
  .gallery-feature-stack { width: 34%; }
}

.gallery-index-head { margin-bottom: 1rem; }
.album-index { border-top: 1px solid var(--hairline); }
.album-row {
  display: grid; grid-template-columns: 4.5rem 1fr 7rem 180px 2.5rem;
  gap: 1.75rem; align-items: center;
  padding: 1.85rem 0; border-bottom: 1px solid var(--hairline);
  text-decoration: none; color: inherit;
}
.album-row .row-num {
  font-family: var(--serif); font-size: 1.25rem; font-weight: 600; color: var(--gold);
}
.album-row .row-body h3 {
  font-size: clamp(1.25rem, 2.2vw, 1.75rem); font-weight: 400; margin: 0 0 0.35rem;
  transition: color 0.3s var(--ease);
}
.album-row .row-body p {
  margin: 0; color: var(--ink-soft); font-size: 0.95rem; line-height: 1.5;
}
.album-row .row-count {
  font-size: 0.7rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--oxford); text-align: right;
}
.album-row .row-media {
  margin: 0; aspect-ratio: 16 / 10; overflow: hidden; background: var(--oxford);
  opacity: 0.88; transition: opacity 0.4s var(--ease);
}
.album-row .row-media img {
  width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.02); transition: transform 0.7s var(--ease);
}
.album-row .row-arrow {
  font-size: 1.35rem; color: var(--hairline);
  transition: color 0.3s var(--ease), transform 0.3s var(--ease); text-align: right;
}
.album-row:hover .row-body h3 { color: var(--gold); }
.album-row:hover .row-media { opacity: 1; }
.album-row:hover .row-media img { transform: scale(1.08); }
.album-row:hover .row-arrow { color: var(--gold); transform: translateX(5px); }
.album-row.is-featured .row-count { color: var(--gold); }
@media (max-width: 900px) {
  .album-row { grid-template-columns: 3rem 1fr 2rem; gap: 1rem; }
  .album-row .row-count,
  .album-row .row-media { display: none; }
}

/* Album toolbar */
.gallery-toolbar {
  background: var(--white); border-bottom: 1px solid var(--hairline);
  padding: 1.25rem 0;
}
.gallery-toolbar-inner {
  display: grid; grid-template-columns: 1fr auto 1fr; gap: 1.5rem; align-items: center;
}
.gallery-back {
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase;
  text-decoration: none; color: var(--oxford); display: inline-flex; align-items: center; gap: 0.6rem;
}
.gallery-back:hover { color: var(--gold); }
.gallery-meta {
  margin: 0; display: flex; align-items: center; gap: 0.9rem;
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink-soft); justify-content: center;
}
.gallery-meta-count { color: var(--gold); }
.gallery-meta-sep { width: 1px; height: 0.85rem; background: var(--hairline); }
.gallery-album-nav {
  display: flex; justify-content: flex-end; gap: 1.5rem; min-height: 2.5rem;
}
.gallery-album-nav-link {
  text-decoration: none; text-align: right; max-width: 14rem;
  display: flex; flex-direction: column; gap: 0.2rem;
}
.gallery-album-nav-link.is-disabled { visibility: hidden; }
.gallery-album-nav-link .label {
  font-size: 0.65rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold);
}
.gallery-album-nav-link .name {
  font-size: 0.9rem; color: var(--oxford); white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.gallery-album-nav-link:hover .name { color: var(--gold); }
.gallery-album-nav-link:not(.is-next) { text-align: left; margin-right: auto; }
@media (max-width: 800px) {
  .gallery-toolbar-inner { grid-template-columns: 1fr; gap: 1rem; }
  .gallery-meta, .gallery-album-nav { justify-content: flex-start; }
  .gallery-album-nav { flex-wrap: wrap; }
}

/* Photo mosaic */
.photo-mosaic {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 180px;
  gap: 0.65rem;
}
.photo-cell {
  position: relative; display: block; overflow: hidden; background: var(--oxford);
  text-decoration: none;
}
.photo-cell img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.7s var(--ease), opacity 0.35s; opacity: 0.96;
}
.photo-cell:hover img { transform: scale(1.05); opacity: 1; }
.photo-cell.is-wide { grid-column: span 2; grid-row: span 2; }
.photo-cell.is-tall { grid-row: span 2; }
.photo-index {
  position: absolute; left: 0.85rem; bottom: 0.75rem;
  font-size: 0.65rem; font-weight: 600; letter-spacing: 0.16em;
  color: rgba(255,255,255,0.85); opacity: 0;
  transition: opacity 0.3s var(--ease);
  text-shadow: 0 1px 8px rgba(0,0,0,0.45);
}
.photo-cell:hover .photo-index { opacity: 1; }
@media (max-width: 1000px) {
  .photo-mosaic { grid-template-columns: repeat(3, 1fr); grid-auto-rows: 160px; }
}
@media (max-width: 700px) {
  .photo-mosaic { grid-template-columns: 1fr 1fr; grid-auto-rows: 140px; gap: 0.5rem; }
  .photo-cell.is-wide { grid-column: span 2; grid-row: span 1; }
  .photo-cell.is-tall { grid-row: span 1; }
}

.gallery-more-head { margin-bottom: 2rem; }
.album-strip {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem 2rem;
}
.album-strip-card {
  display: grid; grid-template-columns: 110px 1fr; gap: 1.1rem; align-items: center;
  text-decoration: none; color: inherit; padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--hairline);
}
.album-strip-card figure {
  margin: 0; aspect-ratio: 4 / 3; overflow: hidden; background: var(--oxford);
}
.album-strip-card img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.album-strip-card:hover img { transform: scale(1.06); }
.album-strip-card h3 {
  font-size: 1.1rem; font-weight: 400; margin: 0 0 0.35rem;
  transition: color 0.3s var(--ease);
}
.album-strip-card span {
  font-size: 0.68rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold);
}
.album-strip-card:hover h3 { color: var(--gold); }
@media (max-width: 900px) { .album-strip { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .album-strip { grid-template-columns: 1fr; } }

.album-empty {
  border: 1px solid var(--hairline); padding: 4rem 3rem;
  color: var(--ink-soft); background: var(--paper); max-width: 40rem;
}
.album-empty h3 { margin: 0 0 0.75rem; }
.album-empty p { margin: 0; font-size: 1rem; line-height: 1.6; }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(0, 17, 36, 0.96);
  display: none; align-items: center; justify-content: center;
  padding: 4.5rem 5rem 3.5rem;
}
.lightbox[hidden] { display: none !important; }
.lightbox.is-open { display: flex; }
.lightbox-stage {
  margin: 0; display: flex; flex-direction: column; align-items: center; gap: 1rem;
  max-width: min(1100px, 100%);
}
.lightbox-stage img {
  max-height: min(78vh, 860px); max-width: 100%;
  border: 1px solid var(--hairline-light); object-fit: contain;
}
.lightbox-caption {
  display: flex; align-items: baseline; justify-content: space-between; gap: 2rem;
  width: 100%; max-width: 48rem;
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase;
  color: rgba(255,255,255,0.7);
}
.lightbox-title { color: var(--gold-bright); }
.lightbox-close,
.lightbox-nav {
  position: absolute; background: transparent; border: 1px solid rgba(255,255,255,0.35);
  color: #fff; cursor: pointer; transition: background 0.3s, color 0.3s, border-color 0.3s;
}
.lightbox-close {
  top: 1.25rem; right: 1.25rem;
  width: 48px; height: 48px; font-size: 1.4rem; line-height: 1;
}
.lightbox-nav {
  top: 50%; transform: translateY(-50%);
  width: 52px; height: 52px; font-size: 1.25rem;
}
.lightbox-prev { left: 1.25rem; }
.lightbox-next { right: 1.25rem; }
.lightbox-close:hover,
.lightbox-nav:hover { background: #fff; color: var(--oxford); border-color: #fff; }
.lightbox-nav:disabled {
  opacity: 0.25; cursor: default; pointer-events: none;
}
@media (max-width: 700px) {
  .lightbox { padding: 4rem 1rem 2rem; }
  .lightbox-nav { top: auto; bottom: 1.25rem; transform: none; }
  .lightbox-prev { left: calc(50% - 70px); }
  .lightbox-next { right: calc(50% - 70px); }
  .lightbox-caption { flex-direction: column; gap: 0.4rem; align-items: center; text-align: center; }
}

/* --------------------------------------------------------------------------
   FAQ — hairline accordion
   -------------------------------------------------------------------------- */
.faq-list { border-top: 1px solid var(--hairline); }
.faq-item { border-bottom: 1px solid var(--hairline); }
.faq-item summary {
  list-style: none; cursor: pointer;
  padding: 1.75rem 3rem 1.75rem 0; position: relative;
  font-family: var(--serif); font-size: 1.25rem; font-weight: 600; color: var(--oxford);
  transition: color 0.25s;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+'; position: absolute; right: 0.5rem; top: 50%;
  transform: translateY(-50%);
  font-family: var(--sans); font-size: 1.5rem; font-weight: 300; color: var(--gold);
}
.faq-item[open] summary::after { content: '\2212'; }
.faq-item summary:hover { color: var(--gold); }
.faq-item .faq-body {
  padding: 0 3rem 2rem 0; color: var(--ink-soft); line-height: 1.75; font-size: 1rem;
}
.faq-item .faq-body ul { margin: 0.75rem 0 0; padding-left: 1.25rem; }
.faq-item .faq-body li { margin-bottom: 0.35rem; }

/* --------------------------------------------------------------------------
   Testimonials — framed quotes
   -------------------------------------------------------------------------- */
.t-columns { columns: 3 320px; column-gap: 1.5rem; }
.t-quote {
  break-inside: avoid; margin: 0 0 1.5rem;
  background: var(--white); border: 1px solid var(--hairline);
  padding: 2.5rem 2.25rem;
  position: relative;
}
.t-quote::before {
  content: '\201C';
  font-family: var(--serif); font-size: 3.5rem; line-height: 0.4;
  color: var(--gold); display: block; margin-bottom: 1.4rem;
}
.t-quote blockquote {
  font-family: var(--serif); font-size: 1.05rem; line-height: 1.65;
  color: var(--ink); margin: 0 0 1.75rem;
}
.t-quote .t-meta {
  padding-top: 1.25rem; border-top: 1px solid var(--hairline);
  font-size: 0.82rem; color: var(--ink-soft);
}
.t-quote .t-meta strong {
  display: block; font-family: var(--sans); font-weight: 600;
  font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--oxford); margin-bottom: 0.25rem;
}

/* --------------------------------------------------------------------------
   Forms — underline style
   -------------------------------------------------------------------------- */
.form-grid { display: grid; gap: 1.9rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.9rem; }
@media (max-width: 640px) { .form-row { grid-template-columns: 1fr; } }
.form-field label {
  display: block;
  font-size: 0.7rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--oxford); margin-bottom: 0.6rem;
}
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%; padding: 0.75rem 0.1rem;
  border: 0; border-bottom: 1px solid var(--hairline);
  background: transparent; font-family: var(--sans); font-size: 1.05rem; color: var(--ink);
  border-radius: 0;
  transition: border-color 0.3s;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none; border-bottom-color: var(--gold);
}
.form-field textarea { min-height: 120px; resize: vertical; }
.form-alert { padding: 1.1rem 1.4rem; margin-bottom: 2rem; font-size: 0.95rem; border: 1px solid; }
.form-alert.success { border-color: #2e7d32; color: #1b5e20; background: rgba(46,125,50,0.06); }
.form-alert.error { border-color: var(--red); color: var(--red); background: rgba(200,16,46,0.05); }

/* --------------------------------------------------------------------------
   Contact
   -------------------------------------------------------------------------- */
.contact-layout { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 5rem; align-items: start; }
@media (max-width: 900px) { .contact-layout { grid-template-columns: 1fr; gap: 3rem; } }
.contact-info-list { list-style: none; margin: 0; padding: 0; }
.contact-info-list li { padding: 1.5rem 0; border-bottom: 1px solid var(--hairline); }
.contact-info-list li:first-child { padding-top: 0; }
.contact-info-list strong {
  display: block; font-size: 0.68rem; font-weight: 600;
  letter-spacing: var(--tracking-luxe); text-transform: uppercase; color: var(--gold);
  margin-bottom: 0.5rem;
}
.contact-info-list a { color: var(--ink); text-decoration: none; }
.contact-info-list a:hover { color: var(--gold); }
.map-embed { border: 1px solid var(--hairline); width: 100%; height: 300px; margin-top: 2.5rem; display: block; }

.contact-form-panel {
  background: var(--white); border: 1px solid var(--hairline);
  border-top: 2px solid var(--gold); padding: 3.5rem 3rem;
}
@media (max-width: 640px) { .contact-form-panel { padding: 2.5rem 1.5rem; } }

/* --------------------------------------------------------------------------
   Prose (blog article)
   -------------------------------------------------------------------------- */
/* --------------------------------------------------------------------------
   Blog layout — main column + sidebar
   -------------------------------------------------------------------------- */
.blog-layout {
  display: grid; grid-template-columns: minmax(0, 1fr) 330px;
  gap: 4.5rem; align-items: start;
}
@media (max-width: 1024px) {
  .blog-layout { grid-template-columns: 1fr; gap: 3.5rem; }
}

.blog-layout .prose { margin: 0; }
.blog-layout .editorial-row { grid-template-columns: 300px 1fr; gap: 2.5rem; }
@media (max-width: 800px) {
  .blog-layout .editorial-row { grid-template-columns: 1fr; gap: 1.5rem; }
}

.post-meta {
  display: flex; flex-wrap: wrap; gap: 0.6rem 1.5rem; margin: 1.25rem 0 0;
  font-size: 0.7rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase;
  color: rgba(255,255,255,0.65);
}
.post-meta .cat { color: var(--gold-bright); }

.blog-sidebar {
  position: sticky; top: calc(var(--header-h) + 2.5rem);
  display: flex; flex-direction: column; gap: 3rem;
}
@media (max-width: 1024px) {
  .blog-sidebar { position: static; }
}

.widget { border-top: 2px solid var(--oxford); padding-top: 1.4rem; }
.widget h3 {
  font-family: var(--serif); font-size: 1.2rem; font-weight: 600;
  margin: 0 0 1.1rem; color: var(--oxford);
}
.widget-text { margin: 0 0 1.1rem; font-size: 0.92rem; line-height: 1.75; color: var(--ink-soft); }
.widget-link {
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--oxford); text-decoration: none;
  border-bottom: 1px solid var(--gold); padding-bottom: 0.3rem;
}
.widget-link:hover { color: var(--gold); }

.widget-posts { list-style: none; margin: 0; padding: 0; }
.widget-posts li { border-bottom: 1px solid var(--hairline); }
.widget-posts li:last-child { border-bottom: 0; }
.widget-posts a {
  display: grid; grid-template-columns: 72px 1fr; gap: 1rem; align-items: center;
  padding: 0.9rem 0; text-decoration: none;
}
.widget-posts figure { margin: 0; width: 72px; height: 72px; overflow: hidden; }
.widget-posts img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.widget-posts a:hover img { transform: scale(1.08); }
.widget-posts strong {
  display: block; font-family: var(--serif); font-weight: 600;
  font-size: 0.95rem; line-height: 1.35; color: var(--ink);
  transition: color 0.3s var(--ease);
}
.widget-posts a:hover strong { color: var(--gold); }
.widget-posts em {
  display: block; margin-top: 0.35rem; font-style: normal;
  font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--ink-soft);
}

.widget-cats { list-style: none; margin: 0; padding: 0; }
.widget-cats li { border-bottom: 1px solid var(--hairline); }
.widget-cats li:last-child { border-bottom: 0; }
.widget-cats a {
  display: flex; justify-content: space-between; align-items: baseline;
  padding: 0.8rem 0.1rem; text-decoration: none;
  font-size: 0.95rem; color: var(--ink); transition: color 0.3s var(--ease);
}
.widget-cats a:hover { color: var(--gold); }
.widget-cats span { font-size: 0.75rem; color: var(--ink-soft); }

.widget-cta {
  background: var(--oxford); border-top: 2px solid var(--gold);
  padding: 1.75rem 1.6rem 1.9rem; color: #fff;
}
.widget-cta-eyebrow {
  margin: 0 0 0.8rem; font-size: 0.6875rem; font-weight: 600;
  letter-spacing: 0.26em; text-transform: uppercase; color: var(--gold-bright);
}
.widget-cta h3 { color: #fff; }
.widget-cta .widget-text { color: rgba(255,255,255,0.75); margin-bottom: 1.4rem; }

.prose { max-width: 720px; margin: 0 auto; }
.prose > p:first-of-type::first-letter {
  font-family: var(--serif); font-weight: 600; color: var(--oxford);
  font-size: 3.4em; line-height: 0.85; float: left; padding: 0.08em 0.1em 0 0;
}
.prose h2 {
  font-size: 1.75rem; font-weight: 600; letter-spacing: -0.02em;
  margin: 3rem 0 1.15rem;
  padding-top: 2.5rem; border-top: 1px solid var(--hairline);
}
.prose p { line-height: 1.75; color: var(--ink-soft); margin: 0 0 1.4rem; font-size: 1.0625rem; font-weight: 400; }
.prose ul { color: var(--ink-soft); line-height: 1.8; padding-left: 1.3rem; margin: 0 0 1.4rem; }
.prose li { margin-bottom: 0.3rem; }

/* --------------------------------------------------------------------------
   Footer — university register
   -------------------------------------------------------------------------- */
.site-footer { background: var(--oxford); color: rgba(255,255,255,0.75); }
.footer-top { border-bottom: 1px solid var(--hairline-light); }
.footer-top-inner {
  max-width: 1280px; margin: 0 auto; padding: 3.5rem 2rem;
  display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap; justify-content: space-between;
}
.footer-crest { display: flex; align-items: center; gap: 1.25rem; }
.footer-crest img { width: 56px; height: 56px; object-fit: contain; }
.footer-crest .fc-name {
  font-family: var(--serif); font-weight: 600; font-size: 1.2rem;
  letter-spacing: 0.04em; text-transform: uppercase; color: #fff;
}
.footer-crest .fc-sub {
  font-size: 0.625rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--gold-bright); font-weight: 600; margin-top: 0.2rem;
}
.footer-social { display: flex; gap: 1.75rem; }
.footer-social a {
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase;
  color: rgba(255,255,255,0.65); text-decoration: none;
  transition: color 0.25s;
}
.footer-social a:hover { color: var(--gold-bright); }

.footer-grid {
  max-width: 1280px; margin: 0 auto; padding: 4rem 2rem;
  display: grid; grid-template-columns: 1.3fr 1fr 1.2fr; gap: 4rem;
}
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr; gap: 2.5rem; } }
.site-footer h3 {
  font-family: var(--serif); color: #fff; font-size: 1.05rem; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
  margin: 0 0 1.5rem; padding-bottom: 1rem; border-bottom: 1px solid var(--hairline-light);
}
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 0.7rem; font-size: 0.95rem; line-height: 1.6; }
.site-footer a { color: rgba(255,255,255,0.75); text-decoration: none; transition: color 0.25s; }
.site-footer a:hover { color: var(--gold-bright); }
.footer-about p { margin: 0; font-size: 0.98rem; line-height: 1.75; }

.footer-bottom { border-top: 1px solid var(--hairline-light); }
.footer-bottom a.footer-credit { color: rgba(255,255,255,0.6); }
.footer-bottom a.footer-credit:hover { color: var(--gold-bright); }
/* keep the bottom bar clear of the fixed WhatsApp float on narrower screens */
@media (max-width: 1480px) {
  .footer-bottom-inner { padding-right: 7rem; }
}
.footer-bottom-inner {
  max-width: 1280px; margin: 0 auto; padding: 1.5rem 2rem;
  display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  font-size: 0.78rem; color: rgba(255,255,255,0.45);
}

/* --------------------------------------------------------------------------
   WhatsApp float
   -------------------------------------------------------------------------- */
.whatsapp-float {
  position: fixed; bottom: 1.75rem; right: 1.75rem; z-index: 80;
  width: 54px; height: 54px; background: var(--oxford); color: #fff;
  border: 1px solid var(--gold);
  display: flex; align-items: center; justify-content: center;
  transition: background 0.3s var(--ease);
}
.whatsapp-float:hover { background: var(--gold); color: #fff; }

/* --------------------------------------------------------------------------
   Photo treatment — consistent navy-leaning tone
   -------------------------------------------------------------------------- */
.tint img, img.tint { filter: saturate(0.82) contrast(1.03) brightness(0.98); }

.text-center { text-align: center; }
