/*
Theme Name: Umoja Bible College
Theme URI: https://umojabiblecollege.org
Author: Umoja Bible College
Author URI: https://umojabiblecollege.org
Description: A modern, editorial theme for Umoja International Bible College — built around the college crest, a maroon-and-brass palette drawn from its logo, and a course-catalog rhythm for programs. Includes a custom front page template.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: umoja
*/

/* =========================================================
   0. DESIGN TOKENS
   ========================================================= */
:root{
  /* Navy family */
  --navy-900: #192F59;   /* utility bar, dark headings (College Life, etc.) */
  --navy-700: #163269;   /* nav links, body copy, News heading */
  --navy-box: #1C2E51;   /* Vision/Mission center box */
  --navy-banner: #25254F;/* two-tone banner left half */

  /* Blue accent */
  --blue-500: #0066BF;   /* Apply for Admission heading, Vision/Mission body */

  /* Red family */
  --red-700: #9E1717;    /* buttons, active nav, sidebar links, banner right half */
  --red-500: #DD3333;    /* Our Vision / Our Mission headings, box heading text */
  --red-600: #DD0202;    /* bright red body copy (admissions CTA) */

  /* Green accent (used inconsistently on the real site — preserved as-is) */
  --green-500: #3DB166;  /* "Read All News" */
  --green-400: #00E50F;  /* motto text, brighter */

  /* Neutrals */
  --paper-100: #FFFFFF;
  --paper-200: #F5F5F5;
  --gray-bg: #EFEFEF;     /* tabs section background */
  --gray-700: #444444;    /* news headline text */
  --gray-500: #959595;    /* date text */
  --gray-400: #8D8D8D;    /* inactive tab text / tab paragraph */
  --black: #000000;       /* footer */

  /* Lines */
  --hairline-on-ink: rgba(255, 255, 255, 0.14);
  --hairline-on-paper: rgba(22, 50, 105, 0.12);

  /* Type — single family, multiple weights, matching the real site */
  --font-display: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-body: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Rhythm */
  --section-pad: clamp(3.5rem, 7vw, 6rem);
  --container: 1200px;
  --radius: 4px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  /* Elevation */
  --shadow-sm: 0 2px 8px -2px rgba(0, 0, 0, 0.12);
  --shadow-md: 0 14px 32px -12px rgba(0, 0, 0, 0.2);
  --shadow-lg: 0 28px 56px -20px rgba(0, 0, 0, 0.28);
  --shadow-gold: 0 8px 20px -8px rgba(158, 23, 23, 0.35);

  /* -- Aliases: map the old maroon/gold token names used throughout the
        rest of this file onto the new real-site palette, so every existing
        component rule below picks up the new look automatically -- */
  --ink-900: #000000;      /* was deepest maroon → footer black */
  --ink-800: #1C2E51;      /* was dark surface → Vision/Mission navy box */
  --ink-700: #163269;      /* was brand maroon → nav/body navy */
  --ink-600: #25254F;      /* was lighter maroon → banner navy */
  --paper-300: #F5F5F5;    /* was deepest parchment → light gray card bg */
  --gold-500: #9E1717;     /* was brass accent → deep red accent */
  --gold-400: #DD3333;     /* was lighter brass → bright red accent */
  --gold-300: #DD3333;     /* was lightest brass → bright red accent */
  --clay-500: #9E1717;     /* was rust accent → deep red accent */
  --clay-400: #DD3333;     /* was lighter rust → bright red accent */
  --text-on-paper: #163269;     /* was dark maroon-black text → navy body text */
  --text-on-paper-soft: #444444;/* was soft maroon-gray text → gray body text */
  --text-on-ink: #FFFFFF;       /* was ivory text on dark → white */
  --text-on-ink-soft: #C9CCD8;  /* was dusty rose on dark → soft light gray */
}

/* =========================================================
   1. RESET
   ========================================================= */
*, *::before, *::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior: auto; }
  *, *::before, *::after{ animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}
body{ margin:0; }
img{ max-width:100%; display:block; }
ul{ margin:0; padding:0; list-style:none; }
a{ color:inherit; text-decoration:none; }
button{ font:inherit; cursor:pointer; }
h1,h2,h3,h4,p{ margin:0; }

body.umoja{
  font-family: var(--font-body);
  color: var(--text-on-paper);
  background: var(--paper-100);
  -webkit-font-smoothing: antialiased;
  font-size: 16px;
  line-height: 1.6;
}

.u-container{
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4vw, 2.5rem);
}

:focus-visible{
  outline: 2px solid var(--gold-400);
  outline-offset: 3px;
}

/* =========================================================
   2. TYPE SCALE
   ========================================================= */
.eyebrow{
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
}
.eyebrow::before{
  content: "";
  width: 1.6em;
  height: 1px;
  background: currentColor;
  opacity: 0.55;
}

h1, .h1{ font-family: var(--font-display); font-weight: 600; line-height: 1.04; letter-spacing: -0.01em; font-size: clamp(2.6rem, 5.6vw, 4.6rem); }
h2, .h2{ font-family: var(--font-display); font-weight: 600; line-height: 1.08; letter-spacing: -0.005em; font-size: clamp(2rem, 3.6vw, 3rem); }
h3, .h3{ font-family: var(--font-display); font-weight: 600; line-height: 1.15; font-size: clamp(1.3rem, 2vw, 1.6rem); }

.lede{ font-size: clamp(1.05rem, 1.4vw, 1.25rem); line-height: 1.65; color: var(--text-on-paper-soft); }

/* =========================================================
   3. BUTTONS
   ========================================================= */
.btn{
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.95rem 1.7rem;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid transparent;
  border-radius: var(--radius);
  transition: transform 0.35s var(--ease), background 0.35s var(--ease), border-color 0.35s var(--ease), color 0.35s var(--ease);
  white-space: nowrap;
}
.btn:hover{ transform: translateY(-2px); }

.btn-gold{ background: var(--gold-500); color: var(--ink-900); }
.btn-gold:hover{ background: var(--gold-400); }

.btn-line-light{ border-color: rgba(237,234,224,0.4); color: var(--text-on-ink); }
.btn-line-light:hover{ border-color: var(--gold-400); color: var(--gold-300); }

.btn-line-dark{ border-color: var(--hairline-on-paper); color: var(--text-on-paper); }
.btn-line-dark:hover{ border-color: var(--clay-500); color: var(--clay-500); }

/* =========================================================
   4. HEADER
   ========================================================= */
.utility-bar{
  background: var(--navy-900);
}
.utility-bar .u-container{
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1.75rem;
  padding-block: 0.7rem;
}
.utility-bar a{
  font-size: 0.85rem;
  color: rgba(255,255,255,0.85);
  transition: color 0.2s;
}
.utility-bar a:hover{ color: #fff; }
.utility-bar .utility-btn{
  background: var(--red-700);
  color: #fff;
  font-weight: 600;
  padding: 0.55rem 1.4rem;
  border-radius: 2px;
}
.utility-bar .utility-btn:hover{ background: #870F0F; color: #fff; }
.utility-bar .utility-icon{
  width: 32px; height: 32px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.4);
  display: flex; align-items: center; justify-content: center;
}

.site-header{
  position: sticky;
  top: 0;
  inset-inline: 0;
  z-index: 100;
  background: #fff;
  box-shadow: 0 1px 0 rgba(0,0,0,0.08);
}
.nav-grid{
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1.5rem;
  padding-block: 0.9rem;
}

.brand{
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  color: var(--navy-900);
}
.brand-mark{ height: 66px; width: auto; flex: none; }
.brand-name{
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
}

.primary-nav{ display: flex; align-items: center; }
.primary-nav-left{ justify-content: flex-end; }
.primary-nav-right{ justify-content: flex-start; }
.primary-nav ul{ display: flex; align-items: center; gap: 1.9rem; }
.primary-nav > a.btn{ display: none; }
.primary-nav a{
  font-size: 0.96rem;
  font-weight: 500;
  color: var(--navy-700);
  position: relative;
  padding-block: 1.2rem;
  transition: color 0.2s;
}
.primary-nav a:hover,
.primary-nav a:focus-visible{ color: var(--red-700); }
.nav-item.is-active > a{ color: var(--red-700); }
.nav-item.is-active > a::after{
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0.6rem;
  height: 3px;
  background: var(--red-700);
}
.caret{ margin-left: 0.15em; }

.primary-nav-right{ gap: 1.9rem; }
.search-toggle{
  background: none; border: none;
  color: var(--navy-700);
  display: flex; align-items: center; justify-content: center;
  margin-left: 1.6rem;
  cursor: pointer;
}
.search-toggle:hover{ color: var(--red-700); }

.header-actions{ display: none; }

.nav-toggle{
  display: none;
  background: none;
  border: 1px solid var(--hairline-on-paper);
  width: 42px; height: 42px;
  border-radius: var(--radius);
  align-items: center;
  justify-content: center;
  color: var(--navy-900);
}
#mobile-nav{ display: none; }

/* =========================================================
   5. HERO
   ========================================================= */
.hero{
  position: relative;
  background: var(--navy-900);
  color: #fff;
  min-height: 640px;
  display: flex;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
}
.hero-tracery{ display: none; }
.hero-grid{ display: block; }
.hero-cap{ display: block; }
.dropcap{ display: none; }
.hero-heading{
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.4rem, 5.5vw, 4.6rem);
  line-height: 1.1;
  color: #fff;
  text-shadow: 0 2px 18px rgba(0,0,0,0.35);
  max-width: 16ch;
}
.hero-eyebrow{ display: none; }
.hero p.lede{ color: #fff; opacity: 0.92; margin-top: 1.4rem; max-width: 46ch; font-size: 1.05rem; }
.hero-actions{ display:flex; flex-wrap: wrap; gap: 1rem; margin-top: 2rem; }
.hero-aside{ display: none; }

.stat-strip{ display: none; }

/* =========================================================
   6. SECTION SHELL
   ========================================================= */
.section{ padding-block: var(--section-pad); }
.section-ink{ background: var(--ink-800); color: var(--text-on-ink); }
.section-paper{ background: var(--paper-100); }
.section-paper-alt{ background: var(--paper-200); }

.section-head{
  display: grid;
  grid-template-columns: minmax(0,0.9fr) minmax(0,1.1fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: end;
  margin-bottom: clamp(2.75rem, 5vw, 4rem);
}
.section-head .eyebrow{ margin-bottom: 1.1rem; }
.section-head-tight{ margin-bottom: 0; }
.section-ink .eyebrow{ color: var(--gold-400); }
.section-paper .eyebrow, .section-paper-alt .eyebrow{ color: var(--clay-500); }

/* =========================================================
   7. ABOUT
   ========================================================= */
.about-grid{
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
}
.about-figure{
  position: relative;
  aspect-ratio: 4/5;
  border-radius: var(--radius);
  background: linear-gradient(155deg, var(--ink-700), var(--ink-900));
  overflow: hidden;
  border: 1px solid var(--hairline-on-paper);
}
.about-figure svg{ position:absolute; inset:0; width:100%; height:100%; }
.about-figure-crest{ display: flex; align-items: center; justify-content: center; }
.about-figure-center{ display: flex; align-items: center; justify-content: center; }
.crest-rings{ position: absolute; inset: 0; width: 100%; height: 100%; }
.crest-logo{
  position: relative;
  width: 46%;
  filter: drop-shadow(0 18px 30px rgba(0,0,0,0.35));
}
.about-figure figcaption{
  position: absolute;
  left: 1.4rem; bottom: 1.3rem; right: 1.4rem;
  color: var(--text-on-ink-soft);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.about-copy p + p{ margin-top: 1.1rem; }
.pillars{
  margin-top: 2.4rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.4rem 2rem;
  border-top: 1px solid var(--hairline-on-paper);
  padding-top: 1.6rem;
}
.pillar .h3{ font-size: 1.05rem; }
.pillar p{ margin-top: 0.4rem; color: var(--text-on-paper-soft); font-size: 0.92rem; }

/* =========================================================
   8. PROGRAMS — course-catalog cards
   ========================================================= */
.program-list{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--hairline-on-ink);
  border: 1px solid var(--hairline-on-ink);
}
.program-card{
  background: var(--ink-800);
  padding: clamp(1.8rem, 3vw, 2.6rem);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: background 0.4s var(--ease);
}
.program-card:hover{ background: var(--ink-700); }
.program-code{
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  color: var(--gold-400);
  display: flex;
  justify-content: space-between;
}
.program-card h3{ color: var(--text-on-ink); }
.program-card p{ color: var(--text-on-ink-soft); font-size: 0.93rem; }
.program-meta{
  margin-top: auto;
  padding-top: 0.9rem;
  border-top: 1px solid var(--hairline-on-ink);
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-on-ink-soft);
}

.program-list-light{ background: var(--hairline-on-paper); border-color: var(--hairline-on-paper); }
.program-list-light .program-card{ background: var(--paper-100); color: var(--text-on-paper); }
.program-list-light .program-card:hover{ background: var(--paper-200); }
.program-list-light .program-code{ color: var(--clay-500); }
.program-list-light .program-card h3{ color: var(--text-on-paper); }
.program-list-light .program-card p{ color: var(--text-on-paper-soft); }
.program-list-light .program-meta{ border-top-color: var(--hairline-on-paper); color: var(--text-on-paper-soft); }
.program-list-light .program-meta a{ color: var(--clay-500); }

/* =========================================================
   9. STAT BAND
   ========================================================= */
.stat-band{
  background: linear-gradient(100deg, var(--gold-500), var(--gold-400));
  color: var(--ink-900);
}
.stat-band .u-container{
  padding-block: clamp(2.6rem, 5vw, 3.6rem);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.stat-band .stat-num{ font-family: var(--font-display); font-size: clamp(2rem, 3.2vw, 2.7rem); }
.stat-band .stat-label{ font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.06em; text-transform: uppercase; margin-top: 0.4rem; display:block; opacity: 0.75; }

/* =========================================================
   10. TESTIMONIALS
   ========================================================= */
.testimonial-grid{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(1.5rem, 3vw, 2.5rem);
}
.testimonial{
  background: var(--paper-100);
  border: 1px solid var(--hairline-on-paper);
  padding: clamp(1.8rem, 3vw, 2.4rem);
  border-radius: var(--radius);
  position: relative;
}
.testimonial .mark{
  font-family: var(--font-display);
  font-size: 3rem;
  color: var(--gold-500);
  line-height: 0.5;
  display: block;
  margin-bottom: 1rem;
}
.testimonial p.quote{ font-family: var(--font-display); font-size: 1.15rem; line-height: 1.5; }
.testimonial .who{ margin-top: 1.4rem; font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.05em; text-transform: uppercase; color: var(--text-on-paper-soft); }

/* =========================================================
   11. ADMISSIONS CTA
   ========================================================= */
.cta-band{
  position: relative;
  background: var(--ink-900);
  color: var(--text-on-ink);
  overflow: hidden;
  isolation: isolate;
}
.cta-band::before{
  content:"";
  position:absolute; inset:0;
  background: radial-gradient(ellipse 70% 100% at 85% 20%, rgba(163,131,67,0.28), transparent 60%);
  z-index:-1;
}
.cta-inner{
  padding-block: clamp(4.5rem, 8vw, 6.5rem);
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2.5rem;
  align-items: center;
  border-top: 1px solid var(--hairline-on-ink);
  border-bottom: 1px solid var(--hairline-on-ink);
}
.cta-inner .btn-row{ display:flex; gap:1rem; flex-wrap:wrap; justify-content:flex-end; }
.cta-inner p.lede{ color: var(--text-on-ink-soft); margin-top: 1rem; max-width: 52ch; }

/* =========================================================
   12. FOOTER
   ========================================================= */
.site-footer{ background: var(--black); color: #999; }
.footer-top{
  padding-block: clamp(3rem, 6vw, 4.5rem);
  display: grid;
  grid-template-columns: 1.3fr 0.8fr 0.8fr 1.1fr;
  gap: 2.5rem;
}
.footer-brand-logo{ display: inline-flex; margin-bottom: 1.1rem; }
.footer-brand-logo .brand-mark{ height: 70px; }
.footer-brand p{ font-size: 0.92rem; line-height: 1.8; margin: 0; }
.footer-brand p a{ color: #999; }
.footer-brand p a:hover{ color: #fff; }
.footer-col h4{
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  color: #fff;
  margin-bottom: 0.9rem;
  padding-bottom: 0.9rem;
  border-bottom: 2px solid var(--red-700);
}
.footer-col ul{ display: flex; flex-direction: column; gap: 0.7rem; }
.footer-col a{ font-size: 0.9rem; color: #999; transition: color 0.3s var(--ease); }
.footer-col a:hover{ color: #fff; }
.footer-newsletter form{ display: flex; margin-top: 1rem; border-bottom: 1px solid rgba(255,255,255,0.15); padding-bottom: 0.6rem; }
.footer-newsletter input{
  flex: 1;
  background: none;
  border: none;
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.9rem;
}
.footer-newsletter input::placeholder{ color: #777; }
.footer-newsletter button{ background:none; border:none; color: var(--red-500); font-size: 0.85rem; text-transform: uppercase; }
.social-row{ display: flex; gap: 0.9rem; margin-top: 1.4rem; }
.social-row a{
  width: 34px; height: 34px;
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #999;
}
.social-row a:hover{ border-color: var(--red-700); color: #fff; }

.footer-bottom{
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-block: 1.4rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.82rem;
  color: #777;
}
.footer-bottom a:hover{ color: var(--gold-400); }

/* =========================================================
   13. SCROLL REVEAL
   ========================================================= */
.reveal{ opacity: 0; transform: translateY(22px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.reveal.is-visible{ opacity: 1; transform: translateY(0); }

/* =========================================================
   15. UTILITY BAR + DROPDOWN NAV
   ========================================================= */

.nav-item{ position: relative; }
.nav-item > a{ display: inline-flex; align-items: center; gap: 0.35em; }
.nav-item > a .caret{ width: 8px; height: 8px; opacity: 0.65; }

.dropdown{
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(4px);
  min-width: 280px;
  background: #fff;
  border: 1px solid rgba(0,0,0,0.08);
  box-shadow: var(--shadow-md);
  padding: 0.5rem;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), visibility 0.25s;
  z-index: 50;
}
.nav-item:hover .dropdown,
.nav-item:focus-within .dropdown{
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.dropdown li + li{ border-top: 1px solid rgba(0,0,0,0.06); }
.dropdown a{
  display: block;
  padding: 0.65rem 0.85rem;
  font-size: 0.88rem;
  font-weight: 400;
  color: var(--navy-700);
  white-space: normal;
  line-height: 1.4;
}
.dropdown a:hover{ color: var(--red-700); background: #FAFAFA; }
.dropdown a::after{ display: none; }

/* =========================================================
   16. PAGE HERO (interior pages)
   ========================================================= */
.page-hero{
  background: linear-gradient(180deg, var(--ink-800), var(--ink-900));
  color: var(--text-on-ink);
  padding-block-start: clamp(8rem, 14vw, 10.5rem);
  padding-block-end: clamp(2.75rem, 5vw, 4rem);
  position: relative;
  isolation: isolate;
}
.page-hero .eyebrow{ color: var(--gold-400); margin-bottom: 1rem; }
.page-hero h1{ max-width: 20ch; }
.page-hero p.lede{ color: var(--text-on-ink-soft); margin-top: 1.1rem; max-width: 56ch; }
.page-hero-photo{
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
}
.page-hero-photo img{ width:100%; height:100%; object-fit: cover; object-position: center 20%; opacity: 0.4; }
.page-hero-photo::after{
  content:"";
  position:absolute; inset:0;
  background: linear-gradient(180deg, rgba(36,5,13,0.5), var(--ink-900) 92%);
}

/* =========================================================
   17. TEAM / PERSON CARDS
   ========================================================= */
.team-kicker{
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--clay-500);
  margin-bottom: 1.3rem;
  display: block;
}
.team-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--hairline-on-paper);
  border: 1px solid var(--hairline-on-paper);
  margin-bottom: clamp(2.5rem, 5vw, 3.5rem);
}
.person-card{
  background: var(--paper-100);
  padding: clamp(1.5rem, 2.5vw, 2rem);
}
.person-card .initial{
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--ink-800);
  color: var(--gold-300);
  font-family: var(--font-display);
  font-size: 1.3rem;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.1rem;
}
.person-card h3{ font-size: 1.05rem; }
.person-card .role{
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--clay-500);
  margin-top: 0.35rem;
  display: block;
}
.person-card p.bio{ margin-top: 0.8rem; font-size: 0.9rem; color: var(--text-on-paper-soft); }

/* =========================================================
   18. STATEMENT / NUMBERED LIST
   ========================================================= */
.statement-list{ counter-reset: statement; }
.statement-item{
  display: grid;
  grid-template-columns: 3.2rem 1fr;
  gap: 1.2rem;
  padding-block: 1.6rem;
  border-top: 1px solid var(--hairline-on-paper);
}
.statement-item:last-child{ border-bottom: 1px solid var(--hairline-on-paper); }
.statement-num{
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--clay-500);
}
.statement-item h3{ margin-bottom: 0.5rem; }
.statement-item p{ color: var(--text-on-paper-soft); }
.editor-note{
  margin-top: 2rem;
  border: 1px dashed var(--hairline-on-paper);
  padding: 1.1rem 1.4rem;
  font-size: 0.85rem;
  color: var(--text-on-paper-soft);
  background: var(--paper-200);
}
.editor-note strong{ color: var(--text-on-paper); }

/* =========================================================
   19. PROGRAM DETAIL PAGE
   ========================================================= */
.program-meta-row{
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 1.6rem;
}
.meta-chip{
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 1px solid var(--hairline-on-ink);
  padding: 0.5rem 0.9rem;
  color: var(--gold-300);
}
.detail-grid{
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: clamp(2.5rem, 5vw, 4.5rem);
  align-items: start;
}
.course-list{ display: flex; flex-direction: column; }
.course-list li{
  padding-block: 0.9rem;
  border-top: 1px solid var(--hairline-on-paper);
  font-size: 0.98rem;
  display: flex;
  gap: 0.8rem;
  align-items: baseline;
}
.course-list li:last-child{ border-bottom: 1px solid var(--hairline-on-paper); }
.course-list li::before{
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--clay-500);
  flex: none;
  margin-top: 0.5em;
}
.side-panel{
  background: var(--ink-800);
  color: var(--text-on-ink);
  padding: clamp(1.6rem, 3vw, 2.2rem);
  position: sticky;
  top: 7rem;
}
.side-panel h3{ color: var(--text-on-ink); font-size: 1rem; }
.side-panel .eyebrow{ color: var(--gold-400); }
.side-panel ul{ margin-top: 1rem; display:flex; flex-direction:column; gap: 0.7rem; }
.side-panel li{ font-size: 0.9rem; color: var(--text-on-ink-soft); padding-left: 1.1rem; position: relative; }
.side-panel li::before{ content:"—"; position:absolute; left:0; color: var(--gold-400); }
.side-panel .btn{ margin-top: 1.4rem; width: 100%; justify-content: center; }

/* =========================================================
   20. ADMISSIONS STEPS
   ========================================================= */
.steps-grid{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--hairline-on-paper);
  border: 1px solid var(--hairline-on-paper);
}
.step-card{ background: var(--paper-100); padding: clamp(1.5rem, 2.5vw, 2rem); }
.step-num{
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--clay-500);
  letter-spacing: 0.06em;
}
.step-card h3{ margin-top: 0.8rem; font-size: 1.05rem; }
.step-card p{ margin-top: 0.6rem; font-size: 0.9rem; color: var(--text-on-paper-soft); }

/* =========================================================
   21. TUITION TABLE
   ========================================================= */
.tuition-table{ width: 100%; border-collapse: collapse; margin-top: 1rem; }
.tuition-table th, .tuition-table td{
  text-align: left;
  padding: 1rem 1.2rem;
  border-bottom: 1px solid var(--hairline-on-paper);
  font-size: 0.95rem;
}
.tuition-table thead th{
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--clay-500);
  border-bottom: 1px solid var(--hairline-on-paper);
}
.tuition-table td strong{ color: var(--text-on-paper); }
.tuition-card{
  background: var(--paper-200);
  border: 1px solid var(--hairline-on-paper);
  padding: clamp(1.5rem, 3vw, 2.2rem);
  margin-top: 1.6rem;
}

/* =========================================================
   22. GALLERY
   ========================================================= */
.gallery-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.6rem;
}
.gallery-grid .g-large{ grid-column: span 2; grid-row: span 2; }
.gallery-item{
  position: relative;
  overflow: hidden;
  aspect-ratio: 1/1;
  background: var(--ink-800);
}
.gallery-item.g-large{ aspect-ratio: auto; }
.gallery-item img{
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.gallery-item:hover img{ transform: scale(1.04); }
.gallery-item .cap{
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 1rem 1.2rem;
  background: linear-gradient(0deg, rgba(11,7,4,0.75), transparent);
  color: var(--text-on-ink);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.gallery-note{
  margin-top: 1.8rem;
  color: var(--text-on-paper-soft);
  font-size: 0.92rem;
  border-top: 1px solid var(--hairline-on-paper);
  padding-top: 1.4rem;
}

/* =========================================================
   23. HOME HERO PHOTO VARIANT
   ========================================================= */
.hero-photo{
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
}
.hero-photo img{ width: 100%; height: 100%; object-fit: cover; object-position: center 25%; opacity: 1; }
.hero-photo::after{
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(0,0,0,0.35) 0%, rgba(0,0,0,0.12) 40%, transparent 70%);
}

/* =========================================================
   24. LEADERSHIP TEASER (home)
   ========================================================= */
.leader-teaser{
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.leader-photo{
  position: relative;
  aspect-ratio: 3/2;
  overflow: hidden;
  border: 1px solid var(--hairline-on-ink);
}
.leader-photo img{ width:100%; height:100%; object-fit: cover; }
.leader-copy p + p{ margin-top: 1rem; }

/* =========================================================
   25. ORG CHART — chain of command
   ========================================================= */
.org-chart{
  display: flex;
  flex-direction: column;
  align-items: center;
}
.org-tier{
  position: relative;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.75rem;
  margin-top: 2.75rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--hairline-on-paper);
  width: 100%;
}
.org-tier::after{
  content: "";
  position: absolute;
  top: -2.75rem;
  left: 50%;
  width: 1px;
  height: 2.75rem;
  background: var(--hairline-on-paper);
}
.org-tier-root{ margin-top: 0; padding-top: 0; border-top: none; }
.org-tier-root::after{ display: none; }

.org-card{
  position: relative;
  background: var(--paper-100);
  border: 1px solid var(--hairline-on-paper);
  padding: 1.5rem 1.75rem;
  min-width: 220px;
  text-align: center;
}
.org-card::before{
  content: "";
  position: absolute;
  top: -1.75rem;
  left: 50%;
  width: 1px;
  height: 1.75rem;
  background: var(--hairline-on-paper);
}
.org-tier-root .org-card::before{ display: none; }

.org-card-lead{
  background: var(--ink-800);
  border-color: var(--ink-700);
  min-width: 260px;
  padding: 2rem 2.25rem;
}
.org-card-lead h3, .org-card-lead .org-role{ color: var(--text-on-ink); }
.org-card-lead .org-role{ color: var(--gold-400); }
.org-card-lead .org-avatar{ background: var(--gold-500); color: var(--ink-900); }

.org-card-sm{ min-width: 180px; padding: 1.2rem 1.4rem; }

.org-avatar{
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--ink-800);
  color: var(--gold-300);
  font-family: var(--font-display);
  font-size: 1.05rem;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 0.9rem;
}
.org-card h3{ font-size: 1.02rem; }
.org-role{
  display: block;
  margin-top: 0.35rem;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--clay-500);
}

.org-board{
  margin-top: 3.5rem;
  padding-top: 2.25rem;
  border-top: 1px dashed var(--hairline-on-paper);
  text-align: center;
}
.org-board .eyebrow{ justify-content: center; color: var(--clay-500); }
.org-board-note{ margin-top: 0.6rem; font-size: 0.85rem; color: var(--text-on-paper-soft); max-width: 46ch; margin-inline: auto; }
.org-board-grid{
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-top: 1.5rem;
}
.org-board-member{
  border: 1px solid var(--hairline-on-paper);
  padding: 1rem 1.6rem;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}
.org-board-member strong{ font-family: var(--font-display); font-size: 1rem; }
.org-board-member span{ font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.05em; text-transform: uppercase; color: var(--clay-500); }

@media (max-width: 640px){
  .org-tier{ flex-direction: column; align-items: center; }
  .org-card{ width: 100%; max-width: 320px; }
}

/* =========================================================
   26. CAMPUS & COMMUNITY LIFE
   ========================================================= */
.life-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.75rem, 4vw, 2.75rem);
}
.life-media{
  aspect-ratio: 4/3;
  overflow: hidden;
  margin-bottom: 1.5rem;
  border: 1px solid var(--hairline-on-paper);
}
.life-media img{ width: 100%; height: 100%; object-fit: cover; }
.life-media-pattern{
  background: linear-gradient(155deg, var(--ink-700), var(--ink-900));
  display: flex;
  align-items: center;
  justify-content: center;
}
.life-card h3{ font-size: 1.15rem; }
.life-card p{ margin-top: 0.8rem; color: var(--text-on-paper-soft); font-size: 0.96rem; line-height: 1.65; }

/* =========================================================
   27. VISION & MISSION
   ========================================================= */
.mission-grid{
  display: grid;
  grid-template-columns: 1fr 1.1fr 1fr;
  gap: clamp(1.5rem, 3vw, 2rem);
  align-items: stretch;
}
.mission-card{
  text-align: center;
  padding: clamp(1.75rem, 3vw, 2.25rem) 1.75rem;
}
.mission-card h3{
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--red-500);
  margin-bottom: 1rem;
}
.mission-card p{ color: var(--blue-500); line-height: 1.7; }
.mission-center{
  background: var(--ink-800);
  border: none;
  color: var(--text-on-ink);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: clamp(2.25rem, 4vw, 3rem) 2rem;
}
.mission-center .crest-mini{ display: none; }
.mission-center h3{ font-family: var(--font-display); font-weight: 700; font-size: 1.35rem; line-height: 1.3; color: var(--red-500); }
.mission-center .motto{
  margin-top: 1.1rem;
  font-style: italic;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--green-400);
  font-size: 1rem;
}

/* =========================================================
   28. REAL-SITE MATCH — buttons, cards, photos
   ========================================================= */

/* -- Buttons: solid red, no gradient/shine (matches the plain
      flat buttons used across the real site) -- */
.btn{ position: relative; border-radius: var(--radius); }
.btn-gold{
  background: var(--red-700, #9E1717);
  box-shadow: none;
  border-color: var(--red-700, #9E1717);
}
.btn-gold:hover{
  background: #870F0F;
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}
.btn-line-dark:hover, .btn-line-light:hover{ box-shadow: var(--shadow-sm); }

/* -- Card elevation: simple, neutral shadow, no gold edge -- */
.program-card, .person-card, .testimonial, .step-card, .org-card,
.tuition-card, .about-figure, .life-media, .gallery-item{
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.3s var(--ease), transform 0.3s var(--ease);
}
.program-card:hover{ box-shadow: var(--shadow-md); }
.person-card:hover, .step-card:hover, .org-card:hover, .tuition-card:hover{
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}
.testimonial:hover{
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}
.life-card:hover .life-media{ box-shadow: var(--shadow-md); }

/* -- Crest presentation: plain, no glow -- */
.brand-mark, .crest-logo, .crest-mini{ filter: none; }

/* =========================================================
   29. ADMISSIONS SPLIT CTA
   ========================================================= */
.admissions-split{ background: #fff; padding-block: var(--section-pad); }
.admissions-split-grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.admissions-photo{ aspect-ratio: 4/5; overflow: hidden; }
.admissions-photo img{ width: 100%; height: 100%; object-fit: cover; }
.admissions-copy h2{ color: var(--blue-500); font-size: clamp(1.9rem, 3.2vw, 2.5rem); font-weight: 700; }
.admissions-subhead{ color: var(--red-700); font-weight: 700; text-transform: uppercase; font-size: 1.15rem; margin-top: 0.6rem; }
.admissions-body{ color: var(--red-600); margin-top: 1.3rem; line-height: 1.75; font-size: 1.02rem; }
.admissions-copy .btn{ margin-top: 1.6rem; }

/* =========================================================
   30. NEWS & UPDATES
   ========================================================= */
.news-section{ background: #fff; padding-block: var(--section-pad); }
.news-grid{ display: grid; grid-template-columns: 2.3fr 1fr; gap: clamp(2rem, 4vw, 4rem); }
.news-heading-row{ display: flex; align-items: center; gap: 1.5rem; }
.news-heading-row h2{ color: var(--navy-700); font-size: 1.7rem; font-weight: 700; white-space: nowrap; }
.news-rule{ flex: 1; height: 1px; background: #ddd; }
.read-all-news{ display: inline-block; margin-top: 0.5rem; color: var(--green-500); font-weight: 600; font-size: 0.95rem; }
.news-list{ column-count: 2; column-gap: 2.5rem; margin-top: 2rem; }
.news-item{ break-inside: avoid; margin-bottom: 1.8rem; }
.news-date{ display: block; font-size: 0.78rem; letter-spacing: 0.04em; color: var(--gray-500); text-transform: uppercase; margin-bottom: 0.4rem; }
.news-item h3{ font-size: 1.05rem; line-height: 1.4; }
.news-item h3 a{ color: var(--gray-700); font-weight: 700; }
.news-item h3 a:hover{ color: var(--red-700); }
.news-sidebar{ display: flex; flex-direction: column; gap: 1.2rem; margin-top: 3.2rem; }
.news-sidebar a{
  color: var(--red-700);
  font-weight: 700;
  padding-bottom: 1rem;
  border-bottom: 1px solid #ddd;
}
.news-sidebar a:hover{ color: #870F0F; }

/* =========================================================
   31. TWO-TONE BANNER
   ========================================================= */
.two-tone-banner{ display: flex; min-height: 140px; }
.two-tone-half{ flex: 1; display: flex; align-items: center; justify-content: center; }
.two-tone-navy{ background: var(--navy-banner); }
.two-tone-red{ background: var(--red-700); gap: 1rem; }
.two-tone-red a{ display: flex; align-items: center; gap: 1rem; color: #fff; font-size: 1.3rem; font-weight: 700; }
.two-tone-red img{ height: 44px; width: auto; }

/* =========================================================
   32. WHY STUDY TABS
   ========================================================= */
.tabs-section{ background: var(--gray-bg); padding-block: var(--section-pad); }
.tabs-shell{ display: grid; grid-template-columns: 1fr 1.3fr; box-shadow: var(--shadow-sm); }
.tabs-video{ position: relative; aspect-ratio: 4/3.4; overflow: hidden; }
.tabs-video img{ width: 100%; height: 100%; object-fit: cover; }
.tabs-play{
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 64px; height: 64px;
  border-radius: 50%;
  background: rgba(255,255,255,0.92);
  display: flex; align-items: center; justify-content: center;
  border: none;
  cursor: pointer;
  color: var(--red-700);
}
.tabs-panel{ background: #fff; display: flex; flex-direction: column; }
.tabs-nav{ display: flex; }
.tab-btn{
  flex: 1;
  background: #E4E4E4;
  border: none;
  padding: 1.5rem 1rem;
  font-size: 1rem;
  font-weight: 700;
  color: var(--gray-400);
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.tab-btn.is-active{ background: #fff; color: #464646; box-shadow: 0 -2px 8px rgba(0,0,0,0.06); }
.tabs-content{ padding: clamp(1.75rem, 3vw, 2.75rem); flex: 1; }
.tab-pane{ display: none; color: var(--gray-400); font-weight: 600; line-height: 1.75; }
.tab-pane.is-active{ display: block; }

@media (max-width: 960px){
  .utility-bar .u-container{ justify-content: center; gap: 1.1rem; flex-wrap: wrap; padding-block: 0.5rem; }
  .utility-bar a{ font-size: 0.78rem; }

  .nav-grid{ grid-template-columns: auto 1fr auto; padding-block: 0.7rem; }
  .brand{ grid-column: 1; }
  .nav-toggle{ grid-column: 3; }
  .primary-nav-left, .primary-nav-right{ display: none; }
  .brand{ justify-content: flex-start; }
  .brand-mark{ height: 46px; }
  .nav-toggle{ display: inline-flex; position: relative; z-index: 210; }

  #mobile-nav{
    display: none;
    position: fixed;
    inset: 0;
    z-index: 200;
    background: var(--navy-900);
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    overflow-y: auto;
    padding: 6.5rem 1.75rem 2.5rem;
  }
  #mobile-nav.is-open{ display: flex; }
  #mobile-nav ul{ display: flex; flex-direction: column; align-items: stretch; gap: 0; width: 100%; }
  #mobile-nav .nav-item{ width: 100%; border-bottom: 1px solid rgba(255,255,255,0.15); }
  #mobile-nav .nav-item > a{
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-block: 1.1rem;
    font-size: 1.15rem;
    font-weight: 600;
    color: #fff;
    border-bottom: none;
  }
  #mobile-nav .nav-item.is-active > a{ color: var(--red-500); }
  #mobile-nav .nav-item.is-active > a::after{ display: none; }
  #mobile-nav .nav-item > a .caret{ width: 11px; height: 11px; transition: transform 0.3s var(--ease); }
  #mobile-nav .nav-item.is-expanded > a .caret{ transform: rotate(180deg); }

  #mobile-nav .dropdown{
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    background: none;
    border: none;
    border-left: 2px solid rgba(255,255,255,0.2);
    box-shadow: none;
    min-width: 0;
    width: 100%;
    margin-left: 0.15rem;
    padding: 0.3rem 0 0.7rem 1.1rem;
    display: none;
  }
  #mobile-nav .nav-item.is-expanded > .dropdown{ display: block; }
  #mobile-nav .dropdown li + li{ border-top: none; }
  #mobile-nav .dropdown a{
    display: block;
    font-size: 0.98rem;
    font-weight: 400;
    padding: 0.55rem 0;
    color: rgba(255,255,255,0.72);
  }

  .hero-grid{ grid-template-columns: 1fr; }
  .hero-aside{ border-left: none; border-top: 1px solid var(--hairline-on-ink); padding-left: 0; padding-top: 1.6rem; }
  .stat-strip{ grid-template-columns: repeat(2, 1fr); }

  .section-head{ grid-template-columns: 1fr; }
  .about-grid{ grid-template-columns: 1fr; }
  .pillars{ grid-template-columns: 1fr; }
  .program-list{ grid-template-columns: 1fr; }
  .stat-band .u-container{ grid-template-columns: repeat(2, 1fr); }
  .testimonial-grid{ grid-template-columns: 1fr; }
  .cta-inner{ grid-template-columns: 1fr; }
  .cta-inner .btn-row{ justify-content: flex-start; }
  .footer-top{ grid-template-columns: repeat(2, 1fr); }

  .team-grid{ grid-template-columns: 1fr; }
  .detail-grid{ grid-template-columns: 1fr; }
  .side-panel{ position: static; }
  .steps-grid{ grid-template-columns: 1fr 1fr; }
  .gallery-grid{ grid-template-columns: 1fr 1fr; }
  .gallery-grid .g-large{ grid-column: span 2; }
  .leader-teaser{ grid-template-columns: 1fr; }
  .statement-item{ grid-template-columns: 2.4rem 1fr; }
  .life-grid{ grid-template-columns: 1fr; }
  .mission-grid{ grid-template-columns: 1fr; }
  .admissions-split-grid{ grid-template-columns: 1fr; }
  .news-grid{ grid-template-columns: 1fr; }
  .news-list{ column-count: 1; }
  .news-sidebar{ margin-top: 0; flex-direction: row; flex-wrap: wrap; gap: 1rem 1.5rem; }
  .news-sidebar a{ border-bottom: none; padding-bottom: 0; }
  .two-tone-banner{ flex-direction: column; }
  .tabs-shell{ grid-template-columns: 1fr; }
  .tabs-nav{ flex-wrap: wrap; }
  .tab-btn{ flex: 1 1 50%; }
  .mission-center{ order: -1; }
}

@media (max-width: 560px){
  .footer-top{ grid-template-columns: 1fr; }
  .steps-grid{ grid-template-columns: 1fr; }
  .gallery-grid{ grid-template-columns: 1fr; }
  .gallery-grid .g-large{ grid-column: span 1; }
}
