/* =====================================================================
   The Order of the Lamp, Inc. — Site Styles
   Palette: Baby Blue #89CFF0 · Navy #0A1958 · Gold #D4C17F
            Black #111111 · White #FFFFFF
   ===================================================================== */

:root {
    --baby-blue: #89CFF0;
    --navy: #0A1958;
    --navy-deep: #060f3a;
    --gold: #D4C17F;
    --gold-soft: #e7dcb5;
    --black: #111111;
    --white: #FFFFFF;
    --ink: #1d2330;
    --muted: #5b6275;
    --cloud: #f6f8fc;
    --cloud-2: #eef2fa;
    --line: #e4e8f2;

    --font-head: 'Playfair Display', Georgia, 'Times New Roman', serif;
    --font-display: 'Cormorant Garamond', 'Playfair Display', Georgia, serif;
    --font-script: 'Pinyon Script', 'Playfair Display', cursive;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

    --maxw: 1180px;
    --radius: 16px;
    --radius-sm: 10px;
    --shadow-sm: 0 2px 10px rgba(10, 25, 88, 0.06);
    --shadow: 0 14px 40px rgba(10, 25, 88, 0.12);
    --shadow-lg: 0 26px 70px rgba(10, 25, 88, 0.20);
    --nav-h: 76px;
}

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    font-family: var(--font-body);
    color: var(--black);
    background: var(--white);
    line-height: 1.65;
    font-size: 17px;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; }
a { color: var(--navy); text-decoration: none; transition: color .2s ease; }
a:hover { color: #16307f; }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--navy); line-height: 1.15; font-weight: 700; }
ul { padding-left: 1.1rem; }

.skip-link {
    position: absolute; left: -999px; top: 0; z-index: 1000;
    background: var(--navy); color: #fff; padding: .7rem 1.2rem; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; color: #fff; }

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

/* ---------- Custom scrollbar ---------- */
::-webkit-scrollbar { width: 11px; }
::-webkit-scrollbar-track { background: var(--cloud-2); }
::-webkit-scrollbar-thumb { background: linear-gradient(to bottom, var(--navy), var(--baby-blue)); border-radius: 6px; border: 2px solid var(--cloud-2); }
::-webkit-scrollbar-thumb:hover { background: linear-gradient(to bottom, var(--navy), var(--gold)); }
html { scrollbar-color: var(--navy) var(--cloud-2); }
::selection { background: var(--gold); color: var(--navy); }

/* ---------- Animation engine ---------- */
@keyframes fadeInUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: none; } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes floatY { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-22px); } }
@keyframes floatY2 { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(26px); } }
@keyframes drift { 0%,100% { transform: translate(0,0) scale(1);} 33% { transform: translate(18px,-16px) scale(1.05);} 66% { transform: translate(-14px,12px) scale(.97);} }
@keyframes glowPulse { 0%,100% { box-shadow: 0 0 0 0 rgba(212,193,127,.0); } 50% { box-shadow: 0 0 28px 4px rgba(212,193,127,.45); } }
@keyframes shimmerSlide { 0% { background-position: -180% 0; } 100% { background-position: 180% 0; } }
@keyframes flicker { 0%,100% { opacity: .85; transform: scaleY(1); } 45% { opacity: 1; transform: scaleY(1.08); } 70% { opacity: .78; transform: scaleY(.96); } }
@keyframes spinSlow { to { transform: rotate(360deg); } }
@keyframes bob { 0%,100% { transform: translateY(0);} 50% { transform: translateY(8px);} }

/* Hero entrance, staggered */
.js .anim-up { opacity: 0; }
.js .hero .anim-up { animation: fadeInUp .9s cubic-bezier(.22,.61,.36,1) forwards; }
.js .hero .d1 { animation-delay: .05s; }
.js .hero .d2 { animation-delay: .22s; }
.js .hero .d3 { animation-delay: .4s; }
.js .hero .d4 { animation-delay: .58s; }
.js .hero .d5 { animation-delay: .76s; }

/* Gradient text */
.grad-text {
    background: linear-gradient(100deg, var(--navy) 0%, #2f54bf 45%, var(--baby-blue) 100%);
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent; color: transparent;
}
.grad-gold {
    background: linear-gradient(100deg, #b8993f, var(--gold) 50%, #f1e3b4);
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent; color: transparent;
}
.section--navy .grad-text {
    background: linear-gradient(100deg, var(--baby-blue), #cfeafb);
    -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent;
}

/* Script flourish */
.script {
    font-family: var(--font-script); font-weight: 400;
    font-size: 1.7em; line-height: 1; color: var(--gold);
    -webkit-text-fill-color: var(--gold);
}

/* ---------- Layout helpers ---------- */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 22px; }
.section { padding: 84px 0; }
.section--tight { padding: 56px 0; }
.section--cloud { background: var(--cloud); }
.section--cloud2 { background: var(--cloud-2); }
.section--navy { background: var(--navy); color: var(--white); }
.section--navy h1, .section--navy h2, .section--navy h3 { color: var(--white); }

.eyebrow {
    display: inline-block;
    font-family: var(--font-body);
    font-weight: 700;
    letter-spacing: .18em;
    text-transform: uppercase;
    font-size: .76rem;
    color: #9a8338;
    margin-bottom: .9rem;
}
.section--navy .eyebrow { color: var(--gold); }

.section-head { max-width: 720px; margin: 0 auto 52px; text-align: center; }
.section-head h2 { font-size: clamp(1.9rem, 4vw, 2.85rem); margin-bottom: .65rem; }
.section-head p { color: var(--muted); font-size: 1.08rem; }
.section--navy .section-head p { color: rgba(255,255,255,.82); }

.lead { font-size: 1.18rem; color: var(--muted); }
.text-block p { margin-bottom: 1.05rem; color: #333a48; }
.text-block p:last-child { margin-bottom: 0; }

.gold-rule { width: 64px; height: 3px; background: var(--gold); border: 0; border-radius: 3px; margin: 1.1rem auto; }
.gold-rule--left { margin-left: 0; }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex; align-items: center; gap: .55rem;
    font-family: var(--font-body); font-weight: 600; font-size: 1rem;
    padding: .85rem 1.7rem; border-radius: 999px; border: 2px solid transparent;
    cursor: pointer; transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
    line-height: 1;
}
.btn svg { width: 1.05em; height: 1.05em; }
.btn-gold { background: var(--gold); color: var(--navy); }
.btn-gold:hover { background: #c9b46c; color: var(--navy); transform: translateY(-2px); box-shadow: 0 12px 28px rgba(212,193,127,.4); }
.btn-blue { background: var(--baby-blue); color: var(--navy); }
.btn-blue:hover { background: #6fc1ec; color: var(--navy); transform: translateY(-2px); box-shadow: 0 12px 28px rgba(137,207,240,.4); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: #16307f; color: #fff; transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-outline { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: #fff; transform: translateY(-2px); }
.btn-ghost-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.5); }
.btn-ghost-light:hover { background: rgba(255,255,255,.12); color:#fff; border-color: #fff; }

.text-link { font-weight: 600; color: var(--navy); display: inline-flex; align-items: center; gap: .35rem; }
.text-link::after { content: "\2192"; transition: transform .2s ease; }
.text-link:hover::after { transform: translateX(4px); }
.section--navy .text-link { color: var(--gold); }

/* ---------- Navbar ---------- */
.nav {
    position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--nav-h);
    display: flex; align-items: center;
    transition: background .3s ease, box-shadow .3s ease, height .3s ease;
}
.nav__inner { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 22px;
    display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.nav.is-transparent { background: transparent; }
.nav.is-solid { background: rgba(255,255,255,.97); box-shadow: 0 6px 22px rgba(10,25,88,.08); height: 66px; backdrop-filter: blur(8px); }

.brand { display: flex; align-items: center; gap: .7rem; }
.brand__mark { width: 44px; height: 44px; flex: none; }
.brand__text { display: flex; flex-direction: column; line-height: 1.05; }
.brand__name { font-family: var(--font-head); font-weight: 700; font-size: 1.02rem; color: var(--navy); }
.brand__sub { font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: #9a8338; font-weight: 600; }
.nav.is-transparent .brand__name { color: #fff; }
.nav.is-transparent .brand__sub { color: var(--gold); }

.nav__links { display: flex; align-items: center; gap: .35rem; list-style: none; padding: 0; margin: 0; }
.nav__links a {
    font-weight: 600; font-size: .96rem; padding: .55rem .85rem; border-radius: 999px; color: var(--ink);
    transition: background .2s ease, color .2s ease;
}
.nav__links a:hover, .nav__links a.is-active { color: var(--navy); background: var(--cloud-2); }
.nav.is-transparent .nav__links a { color: rgba(255,255,255,.92); }
.nav.is-transparent .nav__links a:hover, .nav.is-transparent .nav__links a.is-active { color:#fff; background: rgba(255,255,255,.16); }
.nav__cta { margin-left: .5rem; }

.nav__toggle {
    display: none; background: transparent; border: 0; cursor: pointer; padding: .4rem;
    width: 44px; height: 44px; color: var(--navy);
}
.nav.is-transparent .nav__toggle { color: #fff; }
.nav__toggle svg { width: 28px; height: 28px; }

/* ---------- Hero ---------- */
.hero {
    position: relative; min-height: 88vh; display: flex; align-items: center;
    color: #fff; overflow: hidden;
    background:
        radial-gradient(1100px 540px at 78% -8%, rgba(137,207,240,.22), transparent 60%),
        radial-gradient(900px 520px at 8% 108%, rgba(212,193,127,.18), transparent 60%),
        linear-gradient(155deg, var(--navy) 0%, var(--navy-deep) 100%);
    padding: calc(var(--nav-h) + 40px) 0 70px;
}
.hero__lamp {
    position: absolute; right: -60px; top: 50%; transform: translateY(-50%);
    width: min(46vw, 540px); opacity: .16; color: var(--gold); pointer-events: none;
    filter: drop-shadow(0 0 40px rgba(212,193,127,.25));
    animation: floatY 7s ease-in-out infinite;
}
.hero__orbs { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 1; }
.hero__orbs i { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .5; }
.hero__orbs i:nth-child(1) { width: 360px; height: 360px; background: rgba(137,207,240,.45); top: -80px; left: -60px; animation: drift 16s ease-in-out infinite; }
.hero__orbs i:nth-child(2) { width: 420px; height: 420px; background: rgba(212,193,127,.30); bottom: -120px; right: 10%; animation: drift 20s ease-in-out infinite reverse; }
.hero__orbs i:nth-child(3) { width: 280px; height: 280px; background: rgba(47,84,191,.45); top: 30%; right: -60px; animation: floatY2 12s ease-in-out infinite; }
.hero__inner { position: relative; z-index: 2; max-width: 820px; }
.hero h1 { color: #fff; font-size: clamp(2.4rem, 6vw, 4.3rem); letter-spacing: -.01em; overflow-wrap: anywhere; }
.hero h1 .accent { color: var(--gold); }
.hero__tag { font-family: var(--font-head); font-style: italic; color: var(--baby-blue); font-size: clamp(1.2rem, 2.6vw, 1.7rem); margin-top: .6rem; }
.hero__intro { margin: 1.4rem 0 2rem; color: rgba(255,255,255,.85); font-size: 1.12rem; max-width: 620px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: .9rem; }
.hero__badges { display: flex; flex-wrap: wrap; gap: 1.4rem; margin-top: 2.6rem; color: rgba(255,255,255,.7); font-size: .9rem; }
.hero__badges span { display: inline-flex; align-items: center; gap: .45rem; }
.hero__badges svg { width: 1.1em; height: 1.1em; color: var(--gold); }
.hero__eyebrow { margin-bottom: .2rem; }
.hero__eyebrow .script { font-size: 2.4rem; }
.hero__scroll { position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%); z-index: 2;
    width: 26px; height: 42px; border: 2px solid rgba(255,255,255,.45); border-radius: 14px; display: grid; justify-items: center; padding-top: 7px; }
.hero__scroll span { width: 4px; height: 9px; border-radius: 3px; background: var(--gold); animation: bob 1.6s ease-in-out infinite; }
@media (prefers-reduced-motion: reduce) { .hero__scroll span { animation: none; } }
@media (max-width: 560px) { .hero__scroll { display: none; } .hero__eyebrow .script { font-size: 2rem; } }

/* ---------- Page banner (interior pages) ---------- */
.banner {
    position: relative; color: #fff; text-align: center;
    padding: calc(var(--nav-h) + 56px) 0 56px;
    background:
        radial-gradient(800px 360px at 80% -20%, rgba(137,207,240,.22), transparent 60%),
        linear-gradient(150deg, var(--navy) 0%, var(--navy-deep) 100%);
}
.banner h1 { color: #fff; font-size: clamp(2.1rem, 5vw, 3.4rem); }
.banner p { color: rgba(255,255,255,.82); max-width: 640px; margin: .8rem auto 0; }
.banner .gold-rule { margin-top: 1.2rem; }

/* Banner with photographic background */
.banner--photo {
    background:
        linear-gradient(180deg, rgba(6,15,58,.78) 0%, rgba(6,15,58,.55) 45%, rgba(6,15,58,.82) 100%),
        var(--banner-img) center 35% / cover no-repeat;
    padding: calc(var(--nav-h) + 92px) 0 92px;
}
.banner--photo p { color: rgba(255,255,255,.92); }

/* ---------- "Get in Touch" CTA band ---------- */
.cta-band {
    position: relative; text-align: center; color: #fff; overflow: hidden;
    padding: 92px 0;
    background:
        linear-gradient(180deg, rgba(6,15,58,.82) 0%, rgba(10,25,88,.62) 50%, rgba(6,15,58,.88) 100%),
        var(--cta-img) center 40% / cover no-repeat;
}
.cta-band__inner { position: relative; z-index: 2; max-width: 720px; margin: 0 auto; padding: 0 24px; }
.cta-band .eyebrow { color: var(--gold); }
.cta-band h2 { color: #fff; font-size: clamp(1.9rem, 4vw, 3rem); margin-bottom: .4rem; }
.cta-band p { color: rgba(255,255,255,.9); max-width: 560px; margin: 0 auto 1.8rem; }
.cta-band .gold-rule { margin: 1rem auto 1.6rem; }

/* ---------- Cards & grids ---------- */
.grid { display: grid; gap: 26px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

.card {
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
    padding: 32px; box-shadow: var(--shadow-sm); transition: transform .3s ease, box-shadow .3s ease;
    height: 100%;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.card__icon {
    width: 56px; height: 56px; border-radius: 14px; display: grid; place-items: center;
    background: linear-gradient(150deg, var(--navy), #1c357f); color: var(--gold); margin-bottom: 18px;
}
.card__icon svg { width: 28px; height: 28px; }
.card h3 { font-size: 1.3rem; margin-bottom: .5rem; }
.card p { color: var(--muted); }

.feature-split { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.feature-split h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); margin-bottom: 1rem; }
.feature-media {
    border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
    background: linear-gradient(150deg, var(--navy), var(--navy-deep)); aspect-ratio: 4/3;
    position: relative;
}
.feature-media img { width: 100%; height: 100%; object-fit: cover; }
.feature-media__placeholder { position: absolute; inset: 0; display: grid; place-items: center; color: var(--gold); }
.feature-media__placeholder svg { width: 96px; height: 96px; opacity: .85; }

/* ---------- Pull quote ---------- */
.pullquote {
    position: relative; background: var(--cloud); border-left: 5px solid var(--gold);
    border-radius: var(--radius); padding: 38px 40px 34px; box-shadow: var(--shadow-sm);
}
.pullquote::before {
    content: "\201C"; font-family: var(--font-head); color: var(--gold);
    font-size: 5rem; line-height: 1; position: absolute; top: 6px; left: 18px; opacity: .35;
}
.pullquote p { font-family: var(--font-head); font-style: italic; font-size: 1.25rem; color: var(--navy); position: relative; }
.pullquote cite { display: block; margin-top: 1.1rem; font-style: normal; font-weight: 700; color: #9a8338; letter-spacing: .04em; }
.section--navy .pullquote { background: rgba(255,255,255,.06); border-left-color: var(--gold); }
.section--navy .pullquote p { color: #fff; }

/* ---------- Officers ---------- */
.officer-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.officer {
    text-align: center; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
    padding: 34px 22px; box-shadow: var(--shadow-sm); transition: transform .3s ease, box-shadow .3s ease;
}
.officer:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.officer__avatar {
    width: 118px; height: 118px; margin: 0 auto 18px; border-radius: 50%;
    display: grid; place-items: center; position: relative;
    background: radial-gradient(circle at 50% 35%, #1c357f, var(--navy));
    border: 3px solid var(--gold); overflow: hidden;
    box-shadow: 0 10px 24px rgba(10,25,88,.2);
}
.officer__avatar img { width: 100%; height: 100%; object-fit: cover; }
.officer__initials { font-family: var(--font-head); font-size: 2.2rem; color: var(--gold); font-weight: 700; }
.officer__avatar .lamp-badge { position: absolute; bottom: -2px; right: 6px; width: 26px; height: 26px; color: var(--baby-blue); opacity: .8; }
.officer__name { font-family: var(--font-head); font-size: 1.22rem; color: var(--gold); margin-top: .1rem; }
.officer:hover .officer__name,
.officer .officer__name { color: #9a8338; }
.officer__title { color: var(--baby-blue); font-weight: 600; font-size: .95rem; }
.officer__title { color: #2a4aa0; }

/* compact teaser variant on home */
.officer--teaser { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.14); }
.section--navy .officer--teaser .officer__title { color: var(--baby-blue); }

/* ---------- Steps ---------- */
.steps { counter-reset: step; display: grid; gap: 20px; }
.step { display: flex; gap: 20px; align-items: flex-start; background: #fff; border: 1px solid var(--line);
    border-radius: var(--radius-sm); padding: 22px 24px; box-shadow: var(--shadow-sm); }
.step__num { counter-increment: step; flex: none; width: 46px; height: 46px; border-radius: 50%;
    background: linear-gradient(150deg, var(--navy), #1c357f); color: var(--gold); font-family: var(--font-head);
    font-weight: 700; font-size: 1.25rem; display: grid; place-items: center; }
.step__num::before { content: counter(step); }
.step h3 { font-size: 1.12rem; margin-bottom: .25rem; }
.step p { color: var(--muted); margin: 0; }

/* ---------- Video ---------- */
.video-frame {
    position: relative; width: 100%; aspect-ratio: 16/9; border-radius: var(--radius);
    overflow: hidden; box-shadow: var(--shadow); background: #000;
    border: 3px solid rgba(212,193,127,.35);
}
.video-frame iframe, .video-frame video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-frame video { object-fit: contain; background: #000; }
.video-wrap { max-width: 880px; margin-inline: auto; }

/* ---------- Photo / gallery grid ---------- */
.photo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.photo-grid figure { position: relative; margin: 0; border-radius: var(--radius-sm); overflow: hidden;
    aspect-ratio: 1/1; box-shadow: var(--shadow-sm); background: var(--cloud-2); }
.photo-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.photo-grid figure:hover img { transform: scale(1.06); }
.photo-grid figcaption {
    position: absolute; inset: auto 0 0 0; padding: 14px; color: #fff; font-size: .9rem; font-weight: 500;
    background: linear-gradient(to top, rgba(10,25,88,.82), transparent); opacity: 0; transition: opacity .3s ease;
}
.photo-grid figure:hover figcaption { opacity: 1; }

.placeholder-tile {
    width: 100%; height: 100%; display: grid; place-items: center; color: var(--navy);
    background: repeating-linear-gradient(45deg, #eef2fa, #eef2fa 12px, #e6ecf8 12px, #e6ecf8 24px);
}
.placeholder-tile svg { width: 40%; max-width: 70px; opacity: .5; }

/* B&W collage aesthetic */
.collage { display: grid; gap: 14px; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 150px; }
.collage figure { margin: 0; border-radius: 8px; overflow: hidden; background: #ddd; position: relative; }
.collage img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(100%) contrast(1.05); transition: filter .4s ease, transform .4s ease; }
.collage figure:hover img { filter: grayscale(0); transform: scale(1.04); }
.collage .tall { grid-row: span 2; }
.collage .wide { grid-column: span 2; }

/* ---------- Announcements ---------- */
.ann-list { display: grid; gap: 18px; }
.ann {
    display: flex; gap: 22px; background: #fff; border: 1px solid var(--line); border-left: 5px solid var(--gold);
    border-radius: var(--radius-sm); padding: 24px 26px; box-shadow: var(--shadow-sm); align-items: flex-start;
}
.ann__date { flex: none; text-align: center; min-width: 64px; }
.ann__date .d { font-family: var(--font-head); font-size: 1.7rem; font-weight: 700; color: var(--navy); line-height: 1; }
.ann__date .m { text-transform: uppercase; letter-spacing: .1em; font-size: .72rem; color: #9a8338; font-weight: 700; }
.ann__body h3 { font-size: 1.2rem; margin-bottom: .3rem; }
.ann__body p { color: var(--muted); margin-bottom: .6rem; }
.ann__flyer { display: inline-flex; align-items: center; gap: .4rem; font-weight: 600; color: var(--navy); font-size: .92rem; }
.ann__flyer svg { width: 1.05em; height: 1.05em; }

/* ---------- CTA strip ---------- */
.cta-strip { background: linear-gradient(150deg, var(--navy), var(--navy-deep)); color: #fff; text-align: center; }
.cta-strip h2 { color: var(--gold); font-size: clamp(1.7rem, 4vw, 2.6rem); }
.cta-strip p { color: rgba(255,255,255,.82); max-width: 560px; margin: .7rem auto 1.6rem; }

/* ---------- Forms ---------- */
.form-grid { display: grid; gap: 18px; }
.field label { display: block; font-weight: 600; margin-bottom: .4rem; color: var(--navy); font-size: .95rem; }
.field input, .field select, .field textarea {
    width: 100%; font-family: var(--font-body); font-size: 1rem; color: var(--ink);
    padding: .8rem 1rem; border: 1.5px solid var(--line); border-radius: var(--radius-sm); background: #fff;
    transition: border-color .2s ease, box-shadow .2s ease;
}
.field input:focus, .field select:focus, .field textarea:focus {
    outline: none; border-color: var(--baby-blue); box-shadow: 0 0 0 4px rgba(137,207,240,.25);
}
.field textarea { min-height: 150px; resize: vertical; }
.field .err { color: #b3261e; font-size: .86rem; margin-top: .3rem; }
.field input.has-error, .field textarea.has-error, .field select.has-error { border-color: #b3261e; }
.hp { position: absolute; left: -9999px; }

.alert { border-radius: var(--radius-sm); padding: 14px 18px; margin-bottom: 18px; font-weight: 500; }
.alert-success { background: #e7f6ec; border: 1px solid #b6e0c4; color: #14532d; }
.alert-error { background: #fdeceb; border: 1px solid #f3c2bd; color: #7f1d1d; }
.alert-info { background: #eef5fd; border: 1px solid #c7defa; color: #14306e; }

.info-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; }
.info-list li { display: flex; gap: 14px; align-items: flex-start; }
.info-list .ic { flex: none; width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center;
    background: var(--cloud-2); color: var(--navy); }
.info-list .ic svg { width: 20px; height: 20px; }
.info-list .lbl { font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; color: #9a8338; font-weight: 700; }
.info-list .val { color: var(--ink); font-weight: 500; }

.social-row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 6px; }
.social-row a {
    width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
    background: var(--navy); color: var(--gold); transition: transform .2s ease, background .2s ease;
}
.social-row a:hover { transform: translateY(-3px); background: #16307f; color: #fff; }
.social-row svg { width: 20px; height: 20px; }

/* ---------- Footer ---------- */
.footer { background: var(--navy-deep); color: rgba(255,255,255,.75); }
.footer__top { padding: 64px 0 40px; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; }
.footer h4 { color: #fff; font-size: 1.05rem; margin-bottom: 1rem; }
.footer__brand { display: flex; gap: .7rem; align-items: center; margin-bottom: 1rem; }
.footer__brand .brand__name { color: #fff; }
.footer p { font-size: .95rem; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .6rem; }
.footer a { color: rgba(255,255,255,.75); font-size: .95rem; }
.footer a:hover { color: var(--gold); }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.12); padding: 22px 0; text-align: center; font-size: .86rem; color: rgba(255,255,255,.55); }
.footer__bottom a { color: rgba(255,255,255,.7); }

/* ---------- Reveal animation (only hidden when JS is active) ---------- */
.js .reveal { opacity: 0; transform: translateY(34px); transition: opacity .8s cubic-bezier(.22,.61,.36,1), transform .8s cubic-bezier(.22,.61,.36,1); }
.js .reveal.from-left { transform: translateX(-42px); }
.js .reveal.from-right { transform: translateX(42px); }
.js .reveal.zoom { transform: scale(.92); }
.js .reveal.is-visible { opacity: 1; transform: none; }
/* Stagger children of a .stagger container */
.js .stagger > * { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.js .stagger.is-visible > * { opacity: 1; transform: none; }
.js .stagger.is-visible > *:nth-child(1) { transition-delay: .05s; }
.js .stagger.is-visible > *:nth-child(2) { transition-delay: .14s; }
.js .stagger.is-visible > *:nth-child(3) { transition-delay: .23s; }
.js .stagger.is-visible > *:nth-child(4) { transition-delay: .32s; }
.js .stagger.is-visible > *:nth-child(5) { transition-delay: .41s; }
.js .stagger.is-visible > *:nth-child(6) { transition-delay: .50s; }
.js .stagger.is-visible > *:nth-child(7) { transition-delay: .59s; }
.js .stagger.is-visible > *:nth-child(8) { transition-delay: .68s; }
@media (prefers-reduced-motion: reduce) {
    .js .reveal, .js .stagger > * { opacity: 1 !important; transform: none !important; transition: none; }
    .js .anim-up { opacity: 1 !important; animation: none !important; }
    .hero__lamp, .hero__orbs i { animation: none !important; }
    html { scroll-behavior: auto; }
}

/* ---------- Button shine ---------- */
.btn { position: relative; overflow: hidden; }
.btn-gold::after, .btn-blue::after, .btn-navy::after {
    content: ""; position: absolute; top: 0; left: -120%; width: 60%; height: 100%;
    background: linear-gradient(100deg, transparent, rgba(255,255,255,.55), transparent);
    transform: skewX(-18deg); transition: left .6s ease;
}
.btn-gold:hover::after, .btn-blue:hover::after, .btn-navy:hover::after { left: 130%; }

/* ---------- Animated nav underline ---------- */
.nav__links a:not(.btn) { position: relative; }
.nav__links a:not(.btn)::after {
    content: ""; position: absolute; left: 14px; right: 14px; bottom: 6px; height: 2px;
    background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .28s ease; border-radius: 2px;
}
.nav__links a:not(.btn):hover::after, .nav__links a.is-active:not(.btn)::after { transform: scaleX(1); }
@media (max-width: 860px) { .nav__links a:not(.btn)::after { display: none; } }

/* ---------- Card gold accent on hover ---------- */
.card { position: relative; overflow: hidden; }
.card::before {
    content: ""; position: absolute; inset: 0 0 auto 0; height: 3px;
    background: linear-gradient(90deg, var(--gold), var(--baby-blue)); transform: scaleX(0); transform-origin: left; transition: transform .4s ease;
}
.card:hover::before { transform: scaleX(1); }
.card__icon { transition: transform .4s ease; }
.card:hover .card__icon { transform: translateY(-3px) rotate(-4deg); }

/* ---------- Impact / count-up stats ---------- */
/* Stats sit on the light backdrop as one elevated navy card — no seam
   against the navy hero, reads as a deliberate "impact" panel. */
.stats { background: var(--cloud); }
.stats__grid {
    position: relative; z-index: 1; overflow: hidden;
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; text-align: center;
    background: linear-gradient(150deg, var(--navy) 0%, var(--navy-deep) 100%);
    border: 1px solid rgba(212,193,127,.28);
    border-radius: 22px;
    padding: 42px 24px;
    box-shadow: 0 28px 64px rgba(10,25,88,.26);
    /* lift it gently into the hero so it bridges the two sections */
    margin-top: -52px;
}
.stats__grid::before { content:""; position:absolute; width:320px; height:320px; border-radius:50%; background:rgba(137,207,240,.16); filter:blur(70px); top:-150px; left:-40px; }
.stats__grid::after { content:""; position:absolute; width:300px; height:300px; border-radius:50%; background:rgba(212,193,127,.14); filter:blur(70px); bottom:-160px; right:-30px; }
.stat-item { position: relative; z-index: 1; padding: 8px 16px; }
.stat-item:not(:last-child) { border-right: 1px solid rgba(255,255,255,.1); }
.stat-item .num { font-family: var(--font-head); font-weight: 700; font-size: clamp(2.4rem, 5vw, 3.6rem); color: var(--gold); line-height: 1; display: flex; justify-content: center; align-items: baseline; gap: 2px; }
.stat-item .num-plus { color: var(--gold); }
.stat-item .label { color: rgba(255,255,255,.82); font-size: .9rem; letter-spacing: .06em; text-transform: uppercase; margin-top: .6rem; font-weight: 500; }
.stat-item .ic { width: 30px; height: 30px; color: var(--baby-blue); margin: 0 auto 12px; }

/* ---------- Real-photo graduate collage (uniform tiles) ---------- */
/* Organic masonry: uniform source photos, mixed tile heights for a dynamic B&W collage */
.grad-grid { columns: 5; column-gap: 14px; }
.grad-grid figure {
    margin: 0 0 14px; break-inside: avoid; border-radius: 12px; overflow: hidden;
    position: relative; box-shadow: var(--shadow-sm); background:#1a1f2e; aspect-ratio: 4 / 5;
}
.grad-grid img {
    width: 100%; height: 100%; object-fit: cover; object-position: center 26%; display: block;
    filter: grayscale(100%) contrast(1.04); transition: filter .5s ease, transform .6s ease;
}
.grad-grid figure::after { content:""; position:absolute; inset:0; background:linear-gradient(to top, rgba(10,25,88,.5), transparent 55%); opacity:0; transition:opacity .4s ease; }
.grad-grid figure:hover img { filter: grayscale(0); transform: scale(1.06); }
.grad-grid figure:hover::after { opacity: 1; }
/* varied heights -> mixed rows & columns rhythm */
.grad-grid figure:nth-child(7n+1) { aspect-ratio: 3 / 4; }
.grad-grid figure:nth-child(7n+3) { aspect-ratio: 1 / 1; }
.grad-grid figure:nth-child(7n+4) { aspect-ratio: 5 / 6; }
.grad-grid figure:nth-child(7n+6) { aspect-ratio: 7 / 8; }
.grad-grid figure:nth-child(11n+9) { aspect-ratio: 9 / 10; }
@media (max-width: 1024px) { .grad-grid { columns: 4; } }
@media (max-width: 768px) { .grad-grid { columns: 3; column-gap: 10px; } .grad-grid figure { margin-bottom: 10px; } }
@media (max-width: 480px) { .grad-grid { columns: 2; column-gap: 8px; } .grad-grid figure { margin-bottom: 8px; } }

/* ---------- Custom video player ---------- */
.player { position: relative; width: 100%; aspect-ratio: 16/9; background:#000; border-radius: var(--radius); overflow: hidden;
    box-shadow: var(--shadow-lg); border: 3px solid rgba(212,193,127,.4); }
.player video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background:#000; }
.player__big {
    position: absolute; inset: 0; margin: auto; width: 86px; height: 86px; border-radius: 50%; cursor: pointer;
    display: grid; place-items: center; border: 0;
    background: rgba(10,25,88,.55); color: var(--gold); backdrop-filter: blur(4px);
    transition: transform .25s ease, background .25s ease, opacity .3s ease;
    box-shadow: 0 0 0 0 rgba(212,193,127,.5);
}
.player__big svg { width: 38px; height: 38px; margin-left: 4px; }
.player__big:hover { transform: scale(1.08); background: rgba(10,25,88,.78); animation: glowPulse 1.8s ease-in-out infinite; }
.player.is-playing .player__big { opacity: 0; pointer-events: none; }
.player__bar {
    position: absolute; left: 0; right: 0; bottom: 0; z-index: 3;
    display: flex; align-items: center; gap: 12px; padding: 12px 14px;
    background: linear-gradient(to top, rgba(6,15,58,.92), rgba(6,15,58,0));
    opacity: 0; transform: translateY(8px); transition: opacity .3s ease, transform .3s ease;
}
.player:hover .player__bar, .player.is-paused .player__bar, .player:focus-within .player__bar { opacity: 1; transform: none; }
.player__btn { background: transparent; border: 0; color: #fff; cursor: pointer; padding: 4px; display: grid; place-items: center; border-radius: 6px; }
.player__btn:hover { color: var(--gold); }
.player__btn svg { width: 22px; height: 22px; }
.player__time { color: #fff; font-size: .8rem; font-variant-numeric: tabular-nums; min-width: 86px; text-align: center; }
.player__track { flex: 1; height: 6px; background: rgba(255,255,255,.28); border-radius: 6px; cursor: pointer; position: relative; }
.player__fill { position: absolute; inset: 0 auto 0 0; width: 0; background: linear-gradient(90deg, var(--gold), var(--baby-blue)); border-radius: 6px; }
.player__fill::after { content:""; position:absolute; right:-6px; top:50%; transform:translateY(-50%); width:13px; height:13px; border-radius:50%; background:#fff; box-shadow:0 0 6px rgba(0,0,0,.4); opacity:0; transition:opacity .2s; }
.player__track:hover .player__fill::after, .player.is-playing .player__fill::after { opacity: 1; }
.player__caption { text-align: center; color: var(--muted); margin-top: .8rem; }
.section--navy .player__caption { color: rgba(255,255,255,.78); }

/* ---------- 404 ---------- */
.notfound { text-align: center; padding: calc(var(--nav-h) + 80px) 0 90px; }
.notfound h1 { font-size: clamp(4rem, 14vw, 8rem); color: var(--gold); }

/* ---------- Utilities ---------- */
.text-center { text-align: center; }
.mt-2 { margin-top: 2rem; }
.mb-0 { margin-bottom: 0; }
.cta-center { text-align: center; margin-top: 42px; }

/* =====================================================================
   Responsive
   ===================================================================== */
@media (max-width: 980px) {
    .feature-split { grid-template-columns: 1fr; gap: 34px; }
    .footer__grid { grid-template-columns: 1fr 1fr; gap: 32px; }
    .collage { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
    .nav__links {
        position: fixed; inset: 0 0 auto 0; top: 0; flex-direction: column; align-items: stretch;
        background: #fff; padding: calc(var(--nav-h) + 12px) 22px 26px; gap: .25rem;
        box-shadow: var(--shadow); transform: translateY(-120%); transition: transform .32s ease;
        height: auto; max-height: 100vh; overflow-y: auto;
    }
    .nav__links.is-open { transform: translateY(0); }
    .nav__links a { color: var(--ink); padding: .85rem 1rem; border-radius: var(--radius-sm); font-size: 1.05rem; }
    .nav.is-transparent .nav__links a { color: var(--ink); }
    .nav__cta { margin: .5rem 0 0; justify-content: center; }
    .nav__toggle { display: grid; place-items: center; z-index: 110; }
    .grid--3, .grid--4, .officer-grid { grid-template-columns: repeat(2, 1fr); }
    .photo-grid { grid-template-columns: repeat(2, 1fr); }
    .section { padding: 64px 0; }
    .stats__grid { grid-template-columns: repeat(2, 1fr); gap: 34px 0; padding: 34px 18px; margin-top: -52px; }
    .stat-item:nth-child(2) { border-right: none; }
    .masonry { columns: 3; }
}
@media (max-width: 560px) {
    body { font-size: 16px; }
    .grid--2, .grid--3, .grid--4, .officer-grid { grid-template-columns: 1fr; }
    .photo-grid { grid-template-columns: 1fr 1fr; }
    .collage { grid-template-columns: 1fr 1fr; grid-auto-rows: 120px; }
    .masonry { columns: 2; }
    .stat-item .num { font-size: 2.5rem; }
    .ann { flex-direction: column; gap: 12px; }
    .ann__date { display: flex; gap: .4rem; align-items: baseline; text-align: left; }
    .hero { min-height: 78vh; }
    .hero h1 { font-size: clamp(1.7rem, 7.4vw, 2.1rem); word-break: normal; overflow-wrap: anywhere; }
    .hero__eyebrow .script { font-size: 1.8rem; }
    .hero__tag { font-size: 1.1rem; }
    .hero__intro { font-size: 1rem; }
    .hero__cta .btn { flex: 1 1 auto; justify-content: center; }
    .hero__badges { gap: .8rem 1.2rem; }
    .banner h1 { font-size: 1.9rem; }
    .section-head h2, .feature-split h2 { font-size: 1.7rem; }
    .card, .officer { padding: 26px 20px; }
    .pullquote { padding: 30px 24px 26px; }
}

/* ============================================================
   Interactive Virtual Journal (StPageFlip)
   ============================================================ */
.section--booth {
    background:
        radial-gradient(1200px 600px at 50% -10%, rgba(137,207,240,.16), transparent 60%),
        radial-gradient(900px 500px at 50% 120%, rgba(212,193,127,.14), transparent 60%),
        linear-gradient(180deg, #0b1c63 0%, var(--navy-deep) 100%);
    color: #fff;
    overflow: hidden;
}
.section--booth .book-hint { color: rgba(255,255,255,.7); }

.bookstage {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(10px, 3vw, 26px);
}
/* The shell width is set by JS (single, centred page that fits the viewport).
   The book "feel" comes from a stack of pages behind the live page + a spine. */
.book-shell {
    position: relative;
    width: 460px;
    max-width: 92vw;
    margin: 0 auto;
    border-radius: 2px 6px 6px 2px;
    transition: width .25s ease, opacity .4s ease;
    /* stacked-paper edges (right = pages still to read) */
    box-shadow:
        0 18px 40px rgba(0,0,0,.5),
        3px 3px 0 -1px #efe9da, 4px 4px 1px -1px rgba(0,0,0,.28),
        6px 6px 0 -2px #e9e2d0, 7px 7px 1px -2px rgba(0,0,0,.22),
        9px 9px 0 -3px #e3dbc6, 10px 10px 1px -3px rgba(0,0,0,.16);
}
/* spine / binding shadow down the left edge */
.book-shell::before {
    content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 16px;
    background: linear-gradient(90deg, rgba(0,0,0,.28), rgba(0,0,0,.04) 60%, transparent);
    z-index: 3; pointer-events: none; border-radius: 2px 0 0 2px;
}
.flipbook { margin: 0 auto; }
.flipbook .stf__parent { margin: 0 auto; }
/* StPageFlip canvas should never grab page scroll on touch */
.flipbook canvas { touch-action: pan-y; display: block; cursor: grab; }
.flipbook canvas:active { cursor: grabbing; }

/* Loader overlay */
.book-loader {
    position: absolute; inset: 0;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    gap: 14px; color: rgba(255,255,255,.85); font-size: .95rem;
    transition: opacity .4s ease;
}
.book-loader.is-hidden { opacity: 0; pointer-events: none; }
.bookstage:not(.is-ready) .book-shell { min-height: 60vh; }
.book-loader__spin {
    width: 40px; height: 40px; border-radius: 50%;
    border: 3px solid rgba(255,255,255,.2); border-top-color: var(--gold);
    animation: spinSlow 1s linear infinite;
}

/* Side navigation arrows */
.book-nav {
    flex: none;
    width: 52px; height: 52px; border-radius: 50%;
    display: grid; place-items: center;
    background: rgba(255,255,255,.1); color: #fff;
    border: 1.5px solid rgba(255,255,255,.28);
    cursor: pointer; transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
    backdrop-filter: blur(4px);
}
.book-nav:hover { background: var(--gold); color: var(--navy); border-color: var(--gold); transform: scale(1.08); box-shadow: 0 10px 24px rgba(212,193,127,.4); }
.book-nav svg { width: 24px; height: 24px; }
.book-nav--prev svg { transform: rotate(180deg); }

/* Toolbar under the book */
.book-toolbar {
    display: flex; align-items: center; justify-content: center; gap: 12px;
    margin-top: 30px; flex-wrap: wrap;
}
.book-btn {
    display: inline-flex; align-items: center; gap: .4rem;
    background: rgba(255,255,255,.1); color: #fff;
    border: 1.5px solid rgba(255,255,255,.26); border-radius: 999px;
    padding: .55rem 1.1rem; font: inherit; font-weight: 600; font-size: .9rem; cursor: pointer;
    transition: background .2s ease, color .2s ease, transform .2s ease;
}
.book-btn:hover { background: var(--gold); color: var(--navy); border-color: var(--gold); transform: translateY(-2px); }
.book-btn svg { width: 18px; height: 18px; }
.book-btn--icon { padding: .55rem .7rem; }
.book-btn--icon svg { width: 20px; height: 20px; }
.book-toolbar [data-book-prev] svg { transform: rotate(180deg); }
.book-counter {
    min-width: 150px; text-align: center; font-weight: 600; font-size: .92rem;
    letter-spacing: .02em; color: var(--gold);
}
.book-hint { text-align: center; margin-top: 14px; font-size: .85rem; }
.book-hint kbd {
    background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.25);
    border-radius: 5px; padding: 1px 7px; font-family: inherit; font-size: .8rem;
}

/* Fullscreen mode */
.bookstage.is-fullscreen {
    background:
        radial-gradient(1000px 600px at 50% 0%, rgba(137,207,240,.14), transparent 60%),
        linear-gradient(180deg, #0b1c63, var(--navy-deep));
    padding: 24px; gap: 24px;
}
.bookstage.is-fullscreen .book-shell { max-width: 92vw; }

@media (max-width: 600px) {
    .book-nav { display: none; }
    .bookstage { gap: 0; }
}

/* Home: Virtual Journal teaser fan */
.feature-split--journal { align-items: center; }
.journal-fan { position: relative; height: 360px; display: flex; align-items: center; justify-content: center; perspective: 1200px; }
.journal-fan__pg {
    position: absolute; width: 210px; aspect-ratio: 800/1240; object-fit: cover;
    border-radius: 8px; box-shadow: 0 24px 50px rgba(0,0,0,.5);
    border: 1px solid rgba(255,255,255,.14); transition: transform .5s cubic-bezier(.2,.8,.3,1);
}
.journal-fan__pg--0 { transform: rotate(-9deg) translateX(-66px) translateY(8px); z-index: 1; filter: brightness(.86); }
.journal-fan__pg--1 { transform: rotate(0deg) translateY(-6px); z-index: 3; }
.journal-fan__pg--2 { transform: rotate(9deg) translateX(66px) translateY(8px); z-index: 2; filter: brightness(.86); }
.journal-fan:hover .journal-fan__pg--0 { transform: rotate(-13deg) translateX(-92px) translateY(4px); }
.journal-fan:hover .journal-fan__pg--2 { transform: rotate(13deg) translateX(92px) translateY(4px); }
.journal-fan:hover .journal-fan__pg--1 { transform: translateY(-12px) scale(1.03); }
@media (max-width: 700px) {
    .journal-fan { height: 300px; margin-bottom: 10px; }
    .journal-fan__pg { width: 168px; }
}
