/* ==========================================================================
   newlife — Ghost 6 theme modeled on the Princeton Day School look.
   Deep navy + teal, Fraunces (serif display) over Plus Jakarta Sans (body).
   Prefix: .nl-  ·  no dependencies, no build step.
   ========================================================================== */

/* ----------------------------- Self-hosted fonts ------------------------ */
/* Variable woff2, latin + latin-ext (covers Spanish/Haitian Creole accents).
   Files live in assets/fonts/; no third-party font requests. */
@font-face {
    font-family: 'Fraunces';
    font-style: normal;
    font-weight: 400 700;
    font-display: swap;
    src: url("../fonts/fraunces.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: 'Fraunces';
    font-style: normal;
    font-weight: 400 700;
    font-display: swap;
    src: url("../fonts/fraunces-ext.woff2") format("woff2");
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
    font-family: 'Fraunces';
    font-style: italic;
    font-weight: 400 500;
    font-display: swap;
    src: url("../fonts/fraunces-italic.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: 'Fraunces';
    font-style: italic;
    font-weight: 400 500;
    font-display: swap;
    src: url("../fonts/fraunces-italic-ext.woff2") format("woff2");
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
    font-family: 'Plus Jakarta Sans';
    font-style: normal;
    font-weight: 400 800;
    font-display: swap;
    src: url("../fonts/jakarta.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: 'Plus Jakarta Sans';
    font-style: normal;
    font-weight: 400 800;
    font-display: swap;
    src: url("../fonts/jakarta-ext.woff2") format("woff2");
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ------------------------------- Tokens --------------------------------- */
:root {
    --navy:        #0C2340;   /* primary — nav, headlines, footer            */
    --navy-deep:   #071A30;   /* darkest — hero scrim, legal bar             */
    --navy-700:    #163A5F;   /* hover / borders on navy                     */
    --teal:        #00A5B5;   /* accent — decoration, button fills           */
    --teal-bright: #16C2C9;   /* hover accent                               */
    --teal-ink:    #0A6E77;   /* AA text/link teal on white (~4.6:1)         */
    --royal:       #34588A;   /* page-title / heading blue (interior pages)  */
    --gold:        #E8B53C;   /* active-pillar highlight (How We Shine)       */

    /* Hero campaign-headline gradient (lime -> teal -> sky) */
    --grad-1:      #A6D46A;
    --grad-2:      #3FB7C4;
    --grad-3:      #6EA8DE;
    --cream:       #F5F3EE;   /* interior section-subnav background          */

    --ink:         #16202E;   /* body text                                   */
    --ink-soft:    #43536A;   /* secondary text (7:1 on white)               */
    --muted:       #556579;   /* meta text (AA ≥4.5:1 on white, mist & cream) */

    --paper:       #FFFFFF;
    --mist:        #F1F5F8;   /* light section background                    */
    --mist-2:      #E8EEF3;
    --line:        #DCE4EC;
    --card:        #FFFFFF;

    --shadow-sm: 0 2px 8px rgba(12, 35, 64, .05);
    --shadow-md: 0 10px 30px rgba(12, 35, 64, .10);
    --shadow-lg: 0 26px 60px rgba(12, 35, 64, .16);

    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 22px;
    --pill: 999px;

    /* Honour Ghost Branding's font pickers, else theme fonts. */
    --font-head: var(--gh-font-heading, "Fraunces", Georgia, "Times New Roman", serif);
    --font-body: var(--gh-font-body, "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif);
    --font-display: "Plus Jakarta Sans", system-ui, sans-serif; /* heavy campaign headline */

    --util-h: 40px;
    --bar-h: 78px;
    --wrap: 1240px;
    --wrap-wide: 1640px;
    --wrap-narrow: 760px;
}

/* -------------------------------- Reset --------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: var(--font-body);
    font-size: 17px;
    line-height: 1.65;
    color: var(--ink);
    background: var(--paper);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    /* Sticky footer: page always fills the viewport, so no white gap shows
       below the navy footer on short pages. */
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}
.nl-main { flex: 1 0 auto; }
.nl-footer { flex-shrink: 0; }
/* Any area beyond the document (overscroll) matches the footer, not white. */
html { background: var(--navy-deep); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal-ink); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 600; line-height: 1.1; color: var(--navy); margin: 0 0 .5em; letter-spacing: -.015em; }
h1 em, h2 em, h3 em { font-style: italic; color: var(--teal-ink); font-weight: 500; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 2px; border-radius: 4px; }

.nl-skip {
    position: absolute; left: 12px; top: -60px; z-index: 200;
    background: var(--navy); color: #fff; padding: 10px 16px; border-radius: var(--pill); transition: top .2s;
}
.nl-skip:focus { top: 12px; text-decoration: none; }

/* --------------------------- Layout helpers ----------------------------- */
.nl-wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 32px; }
.nl-wrap--narrow { max-width: var(--wrap-narrow); }
.nl-main { display: block; }

.nl-band { padding: clamp(56px, 8vw, 104px) 0; background: #fff; }
.nl-band--mist { background: var(--mist); }
.nl-band--navy { background: var(--navy); color: #fff; }
.nl-band--navy .nl-section-title { color: #fff; }

.nl-eyebrow {
    display: inline-flex; align-items: center; gap: 10px;
    font-family: var(--font-body); font-weight: 700; font-size: 12.5px;
    text-transform: uppercase; letter-spacing: .16em; color: var(--teal-ink);
    margin: 0 0 1.1em;
}
.nl-eyebrow::before { content: ""; width: 24px; height: 2px; background: var(--teal); border-radius: 2px; }
.nl-eyebrow--center { justify-content: center; }
.nl-eyebrow--center::after { content: ""; width: 24px; height: 2px; background: var(--teal); border-radius: 2px; }
.nl-eyebrow--onnavy { color: var(--teal-bright); }

.nl-section-head { max-width: 640px; margin: 0 0 clamp(32px, 5vw, 56px); }
.nl-section-head--center { max-width: 720px; margin-left: auto; margin-right: auto; text-align: center; }
.nl-section-head--row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; max-width: none; }
.nl-section-title { font-size: clamp(1.9rem, 4.4vw, 3.1rem); font-weight: 600; letter-spacing: -.025em; }
.nl-seeall { font-family: var(--font-head); font-weight: 600; white-space: nowrap; color: var(--teal-ink); }
.nl-seeall em { font-style: normal; transition: transform .2s; display: inline-block; }
.nl-seeall:hover em { transform: translateX(4px); }

.nl-grid { display: grid; gap: 28px; }
.nl-grid--3 { grid-template-columns: repeat(3, 1fr); }
.nl-grid--4 { grid-template-columns: repeat(4, 1fr); gap: 24px; }

/* -------------------------------- Buttons ------------------------------- */
.nl-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    font-family: var(--font-body); font-weight: 700; font-size: .82rem;
    text-transform: uppercase; letter-spacing: .09em;
    padding: 14px 28px; border-radius: var(--pill); border: 2px solid transparent;
    line-height: 1; white-space: nowrap;
    transition: transform .18s ease, background .18s ease, color .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.nl-btn:hover { text-decoration: none; transform: translateY(-2px); }
.nl-btn--lg { padding: 17px 36px; font-size: .88rem; }
.nl-btn--navy { background: var(--navy); color: #fff; }
.nl-btn--navy:hover { background: var(--navy-700); }
.nl-btn--teal { background: var(--teal); color: var(--navy); }
.nl-btn--teal:hover { background: var(--teal-bright); box-shadow: var(--shadow-md); }
.nl-btn--ghost { background: transparent; color: var(--navy); border-color: var(--line); }
.nl-btn--ghost:hover { border-color: var(--navy); }
.nl-btn--ghostlight { background: transparent; color: #fff; border-color: rgba(255,255,255,.5); }
.nl-btn--ghostlight:hover { border-color: #fff; background: rgba(255,255,255,.08); }
.nl-btn--light { background: #fff; color: var(--navy); }
.nl-btn--light:hover { background: var(--teal-bright); color: var(--navy); box-shadow: var(--shadow-md); }

/* ================================ HEADER ================================ */
.nl-header { position: sticky; top: 0; z-index: 100; background: var(--navy); }
.nl-header.is-stuck { box-shadow: 0 2px 22px rgba(7,26,48,.35); }
.nl-bar__inner {
    max-width: var(--wrap-wide); margin: 0 auto; padding: 0 clamp(20px, 4vw, 48px); min-height: var(--bar-h);
    display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.nl-brand { display: inline-flex; align-items: center; gap: 14px; min-width: 0; }
.nl-brand:hover { text-decoration: none; }
.nl-brand__logo { max-height: 64px; width: auto; }
.nl-menu__bar .nl-brand__logo { max-height: 52px; }
.nl-crest { display: block; width: 40px; height: auto; color: #fff; flex: none; }
.nl-brand__name { font-family: var(--font-head); font-weight: 500; font-size: clamp(1.05rem, 1.9vw, 1.55rem); color: #fff; letter-spacing: .06em; text-transform: uppercase; line-height: 1.05; }

.nl-actions { display: flex; align-items: center; gap: clamp(8px, 1.4vw, 20px); }
.nl-topcta {
    font-family: var(--font-body); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .12em;
    color: #fff; border: 1.5px solid rgba(255,255,255,.5); padding: 11px 22px; border-radius: 2px; transition: background .2s, color .2s, border-color .2s;
}
.nl-topcta:hover { text-decoration: none; background: #fff; color: var(--navy); border-color: #fff; }
.nl-iconbtn { display: inline-grid; place-items: center; width: 42px; height: 42px; background: transparent; border: 0; color: #fff; border-radius: 50%; }
.nl-iconbtn:hover { background: rgba(255,255,255,.12); }

/* -------- Utility strip (secondary nav; scrolls away, not sticky) -------- */
.nl-util { background: var(--navy-deep); border-bottom: 1px solid rgba(255,255,255,.08); }
.nl-util__inner { max-width: var(--wrap-wide); margin: 0 auto; padding: 0 clamp(20px, 4vw, 48px); min-height: var(--util-h); display: flex; align-items: center; justify-content: flex-end; }
.nl-util ul { display: flex; flex-wrap: wrap; gap: 4px 26px; }
.nl-util a { font-size: 11.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .09em; color: rgba(255,255,255,.72); padding: 6px 0; }
.nl-util a:hover { color: #fff; text-decoration: none; }
@media (max-width: 900px) { .nl-util { display: none; } }

/* ------------- Visible desktop nav (dropdowns built by main.js) ---------- */
.nl-nav { display: none; }
@media (min-width: 1200px) {
    .nl-nav { display: block; flex: 1 1 auto; min-width: 0; align-self: stretch; }
    .nl-nav > ul { display: flex; justify-content: center; align-items: stretch; height: 100%; gap: clamp(0px, .5vw, 8px); }
    .nl-nav__item { position: relative; display: flex; align-items: center; }
    .nl-nav > ul > li > a,
    .nl-nav__parent {
        display: inline-flex; align-items: center; gap: 6px;
        font-size: 13.5px; font-weight: 600; color: rgba(255,255,255,.92);
        padding: 9px 12px; border-radius: var(--pill); white-space: nowrap;
    }
    .nl-nav > ul > li > a:hover,
    .nl-nav__parent:hover { background: rgba(255,255,255,.1); color: #fff; text-decoration: none; }
    .nl-nav > ul > li > a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--teal-bright); border-radius: 0; }
    .nl-nav__parent::after { content: ""; width: 7px; height: 7px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg) translateY(-2px); opacity: .7; }
    .nl-nav__drop {
        position: absolute; top: 100%; left: 50%; transform: translateX(-50%);
        min-width: 236px; padding: 10px; background: var(--paper);
        border: 1px solid var(--line); border-radius: var(--radius-sm);
        box-shadow: var(--shadow-lg); display: none; z-index: 110;
    }
    .nl-nav__item:hover .nl-nav__drop,
    .nl-nav__item:focus-within .nl-nav__drop { display: block; }
    .nl-nav__drop a { display: block; padding: 9px 12px; border-radius: 7px; font-size: .92rem; font-weight: 500; color: var(--ink); }
    .nl-nav__drop a:hover { background: var(--mist); color: var(--navy); text-decoration: none; }
    .nl-nav__drop a[aria-current="page"] { color: var(--teal-ink); font-weight: 700; }
    /* With the inline nav visible, the secondary CTA yields until ultra-wide. */
    .nl-topcta--secondary { display: none; }
}
@media (min-width: 1560px) { .nl-topcta--secondary { display: inline-flex; } }

/* Hamburger in a dashed circle */
.nl-menu-toggle {
    display: inline-grid; place-items: center; width: 56px; height: 56px; border-radius: 50%;
    background: transparent; border: 1px dashed rgba(255,255,255,.5); color: #fff; transition: border-color .2s, background .2s;
}
.nl-menu-toggle:hover { border-color: #fff; background: rgba(255,255,255,.08); }
.nl-menu-toggle__lines { display: flex; flex-direction: column; gap: 5px; width: 22px; }
.nl-menu-toggle__lines span { display: block; height: 2px; background: currentColor; border-radius: 2px; }

/* ---------------------- Full-screen menu overlay ----------------------- */
.nl-menu {
    position: fixed; inset: 0; z-index: 200; background: var(--navy-deep); color: #fff;
    display: flex; flex-direction: column; padding: clamp(18px, 2.5vw, 30px) clamp(20px, 5vw, 72px) clamp(24px, 3vw, 44px);
    opacity: 0; visibility: hidden; transform: translateY(-14px);
    transition: opacity .35s ease, transform .35s ease, visibility .35s; overflow-y: auto;
}
.nl-menu[hidden] { display: flex; }
.nl-menu-open { overflow: hidden; }
.nl-menu-open .nl-menu { opacity: 1; visibility: visible; transform: none; }

.nl-menu__bar { display: flex; align-items: center; justify-content: space-between; }
.nl-menu__bar .nl-brand__name { color: rgba(255,255,255,.55); }
.nl-menu__bar .nl-crest { color: rgba(255,255,255,.55); width: 32px; }
.nl-menu-close {
    display: inline-flex; align-items: center; justify-content: center;
    width: 82px; height: 82px; border-radius: 50%; border: 1px dashed rgba(255,255,255,.45);
    background: transparent; color: #fff; font-family: var(--font-body); font-size: 11px; font-weight: 700;
    text-transform: uppercase; letter-spacing: .16em; transition: border-color .2s, background .2s;
}
.nl-menu-close:hover { border-color: #fff; background: rgba(255,255,255,.06); }

.nl-menu__inner { flex: 1; display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 40px; padding: clamp(16px, 3vh, 48px) 0; }
.nl-menu__brandmark { display: flex; flex-direction: column; align-items: center; gap: 22px; }
.nl-menu__brandmark-logo { width: clamp(160px, 24vw, 320px); height: auto; opacity: .18; filter: grayscale(1) brightness(2.2); }
.nl-menu__nav ul { display: flex; flex-direction: column; gap: clamp(4px, 1.2vh, 14px); }
.nl-menu__nav a {
    display: inline-flex; align-items: baseline; gap: 16px;
    font-family: var(--font-head); font-weight: 400; font-size: clamp(1.7rem, 3.1vw, 2.7rem);
    color: rgba(255,255,255,.9); line-height: 1.14; transition: color .2s;
}
.nl-menu__nav a::after { content: "→"; font-size: .62em; color: var(--teal-bright); transition: transform .2s; }
.nl-menu__nav a:hover { text-decoration: none; color: #fff; }
.nl-menu__nav a:hover::after { transform: translateX(7px); }
/* Accordion children inside the overlay (built by main.js from "Parent | Child") */
.nl-menu__row { display: flex; align-items: center; gap: 10px; }
.nl-menu__caret {
    flex: none; display: inline-grid; place-items: center; width: 40px; height: 40px;
    background: transparent; border: 1px dashed rgba(255,255,255,.35); border-radius: 50%; color: rgba(255,255,255,.8);
    transition: border-color .2s, background .2s;
}
.nl-menu__caret:hover { border-color: #fff; background: rgba(255,255,255,.06); }
.nl-menu__caret svg { transition: transform .25s ease; }
.nl-menu__caret[aria-expanded="true"] svg { transform: rotate(180deg); }
.nl-menu__sub { display: none; padding: 4px 0 10px 18px; border-left: 1px solid rgba(255,255,255,.16); margin: 2px 0 6px 8px; }
.nl-menu__sub.is-open { display: flex; flex-direction: column; gap: 2px; }
.nl-menu__sub a { display: block; font-family: var(--font-body); font-size: 1rem; font-weight: 500; color: rgba(255,255,255,.78); padding: 7px 0; }
.nl-menu__sub a::after { content: none; }
.nl-menu__sub a:hover { color: #fff; text-decoration: none; }

.nl-menu__secondary { border-top: 1px solid rgba(255,255,255,.14); padding-top: 22px; }
.nl-menu__secondary ul { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px 40px; max-width: 920px; }
.nl-menu__secondary a { color: rgba(255,255,255,.72); font-size: .92rem; font-weight: 600; }
.nl-menu__secondary a:hover { color: #fff; }

/* ================================= HERO ================================= */
.nl-hero { position: relative; display: grid; grid-template-columns: 48% 52%; min-height: min(92vh, 900px); background: var(--navy); color: #fff; overflow: hidden; }
.nl-hero__media { position: relative; overflow: hidden; background: var(--navy-deep); }
.nl-hero__video, .nl-hero__still { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.nl-hero__still { background-size: cover; background-position: center; }
/* Rotating slides: crossfade driven by main.js; no-JS shows the first slide. */
.nl-hero__slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.1s ease; }
.nl-hero__slide.is-active { opacity: 1; }
[data-hero-rotator]:not(.is-ready) .nl-hero__slide:first-child { opacity: 1; }
.nl-hero__slide video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.nl-hero__pause {
    position: absolute; right: 18px; bottom: 18px; z-index: 2; width: 44px; height: 44px; border-radius: 50%;
    background: rgba(7,26,48,.5); border: 1px solid rgba(255,255,255,.4); color: #fff; display: grid; place-items: center; font-size: 13px;
}
.nl-hero__pause:hover { background: rgba(7,26,48,.78); }
.nl-hero__panel { position: relative; display: flex; flex-direction: column; justify-content: center; padding: clamp(44px, 6.5vw, 108px); }
.nl-hero__botanical { position: absolute; inset: 0; overflow: hidden; pointer-events: none; color: var(--teal); opacity: .13; }
.nl-hero__botanical svg { position: absolute; right: -6%; top: 50%; transform: translateY(-50%); width: 90%; height: auto; }
.nl-hero__content { position: relative; z-index: 1; max-width: 580px; }
.nl-hero__title {
    font-family: var(--font-display); font-weight: 800; text-transform: uppercase;
    font-size: clamp(2.8rem, 6.4vw, 5.4rem); line-height: .95; letter-spacing: -.01em; margin: 0 0 .6em;
    background: linear-gradient(102deg, var(--grad-1) 0%, var(--grad-2) 52%, var(--grad-3) 100%);
    -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent;
}
.nl-hero__sub { font-size: clamp(1rem, 1.35vw, 1.16rem); line-height: 1.6; color: rgba(255,255,255,.9); }
.nl-hero__sub p { margin: 0 0 1em; }
.nl-hero__sub p:last-child { margin-bottom: 0; }
.nl-hero__badge {
    display: inline-flex; align-items: center; gap: 9px; margin: 0 0 22px;
    font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .11em;
    color: rgba(255,255,255,.92); background: rgba(255,255,255,.09);
    border: 1px solid rgba(255,255,255,.25); border-radius: var(--pill); padding: 9px 18px;
}
.nl-hero__badge-dot { width: 8px; height: 8px; border-radius: 50%; background: #7ED957; box-shadow: 0 0 0 0 rgba(126,217,87,.5); animation: nl-pulse 2.2s ease-out infinite; }
@keyframes nl-pulse { 0% { box-shadow: 0 0 0 0 rgba(126,217,87,.5); } 70% { box-shadow: 0 0 0 8px rgba(126,217,87,0); } 100% { box-shadow: 0 0 0 0 rgba(126,217,87,0); } }
.nl-hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: clamp(38px, 4.5vw, 56px); }
.nl-hero__scroll { position: absolute; right: clamp(22px, 4vw, 52px); bottom: 26px; z-index: 1; display: inline-flex; color: rgba(255,255,255,.85); }
.nl-hero__scroll:hover { color: var(--teal-bright); text-decoration: none; }
.nl-hero__scroll svg { animation: nl-bob 1.8s ease-in-out infinite; }
@keyframes nl-bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(6px); } }

/* ========================== A-RATED TRUST BAND ========================== */
/* Cream band directly under the navy hero — the scroll cue lands here. */
.nl-trust { background: var(--cream); }
.nl-trust__grid { display: grid; grid-template-columns: auto 1.45fr 1fr; gap: clamp(32px, 5vw, 76px); align-items: center; }
.nl-trust__seal { width: clamp(122px, 13vw, 168px); flex: none; filter: drop-shadow(0 10px 24px rgba(12, 35, 64, .18)); }
.nl-trust__seal svg { display: block; width: 100%; height: auto; }
.nl-trust__copy .nl-section-title { margin-bottom: .35em; }
.nl-trust__text { color: var(--ink-soft); font-size: clamp(1rem, 1.3vw, 1.14rem); max-width: 46ch; margin: 0; }
.nl-trust__text strong { color: var(--navy); }
.nl-trust__stats { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 30px; }
.nl-trust__stats li { border-left: 2px solid var(--gold); padding-left: 16px; }
.nl-trust__stats strong { display: block; font-family: var(--font-head); font-weight: 600; font-size: clamp(1.7rem, 2.6vw, 2.3rem); line-height: 1.05; color: var(--navy); letter-spacing: -.02em; }
.nl-trust__stats span { display: block; margin-top: 4px; font-size: 12.5px; font-weight: 600; text-transform: uppercase; letter-spacing: .07em; color: var(--muted); line-height: 1.4; }
@media (max-width: 1080px) {
    .nl-trust__grid { grid-template-columns: auto 1fr; }
    .nl-trust__stats { grid-column: 1 / -1; grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 700px) {
    .nl-trust__grid { grid-template-columns: 1fr; text-align: left; }
    .nl-trust__seal { width: 116px; }
    .nl-trust__stats { grid-template-columns: 1fr 1fr; }
}

/* ============================ VALUE STATEMENTS ========================== */
/* Alternating text/image rows on navy (mirrors pds.org's intro flow). */
.nl-statements { position: relative; background: var(--navy); color: #fff; padding: clamp(64px, 10vw, 132px) 0; overflow: hidden; }
.nl-statements__botanical { position: absolute; right: -4%; bottom: -8%; width: min(46%, 620px); color: var(--teal); opacity: .1; pointer-events: none; }
.nl-statements__botanical svg { width: 100%; height: auto; }
.nl-statement { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: center; margin-bottom: clamp(56px, 9vw, 118px); }
.nl-statement:last-child { margin-bottom: 0; }
.nl-statement:nth-child(even) .nl-statement__col { order: 2; }
.nl-statement__title {
    font-family: var(--font-display); font-weight: 800; font-size: clamp(2.2rem, 5vw, 4rem);
    line-height: 1.02; letter-spacing: -.01em; margin: 0 0 .55em;
    background: linear-gradient(102deg, var(--grad-1) 0%, var(--grad-2) 52%, var(--grad-3) 100%);
    -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent;
}
.nl-statement__body { color: rgba(255,255,255,.85); font-size: clamp(1rem, 1.3vw, 1.16rem); line-height: 1.62; margin: 0 0 1.5em; max-width: 46ch; }
.nl-statement__callout { font-weight: 700; color: #fff; font-size: clamp(1.05rem, 1.7vw, 1.35rem); margin: 0; }
.nl-statement__link { color: #fff; border-bottom: 2px solid var(--teal-bright); padding-bottom: 3px; }
.nl-statement__link em { font-style: normal; display: inline-block; transition: transform .2s; color: var(--teal-bright); }
.nl-statement__link:hover { text-decoration: none; color: var(--teal-bright); }
.nl-statement__link:hover em { transform: translateX(5px); }
.nl-statement__media img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: var(--radius-md); box-shadow: var(--shadow-lg); }

/* ================================ PILLARS ============================== */
/* Photo cards on the navy band (PDS-style panels). */
/* ============================== HOW WE SHINE ========================== */
/* Navy section; pillar list on the left, image (swapped on hover) on the right. */
.nl-shine { background: var(--navy); color: #fff; padding: clamp(40px, 6vw, 90px) 0 clamp(64px, 9vw, 120px); }
.nl-shine__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 90px); align-items: center; }
.nl-shine__title {
    font-family: var(--font-display); font-weight: 800; text-transform: uppercase;
    font-size: clamp(2.2rem, 5vw, 4rem); line-height: 1; letter-spacing: -.01em; margin: 0 0 clamp(20px, 3vw, 40px);
    background: linear-gradient(102deg, var(--grad-1) 0%, var(--grad-2) 52%, var(--grad-3) 100%);
    -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent;
}
.nl-shine__item {
    position: relative; display: block; padding: clamp(11px, 1.4vh, 16px) 0 clamp(11px, 1.4vh, 16px) 58px;
    font-family: var(--font-head); font-weight: 600; font-size: clamp(1.15rem, 1.8vw, 1.55rem);
    color: rgba(255,255,255,.6); line-height: 1.2; transition: color .2s ease;
}
.nl-shine__item::before { content: ""; position: absolute; left: 0; top: 50%; width: 42px; height: 2px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .28s ease; }
.nl-shine__item:hover, .nl-shine__item.is-active { color: var(--gold); text-decoration: none; }
.nl-shine__item:hover::before, .nl-shine__item.is-active::before { transform: scaleX(1); }
.nl-shine__media { position: relative; }
.nl-shine__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-md); box-shadow: var(--shadow-lg); transition: opacity .3s ease; }

/* =============================== DIVISIONS ============================= */
/* Navy section; cards are a lighter navy panel with an image header. */
.nl-divisions__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.nl-divisions__grid--2 { grid-template-columns: repeat(2, 1fr); max-width: 940px; margin-inline: auto; }
.nl-division {
    display: flex; flex-direction: column; border-radius: var(--radius-lg); overflow: hidden;
    background: var(--navy-700); border: 1px solid rgba(255,255,255,.08); color: #fff;
    transition: transform .25s ease, box-shadow .25s ease;
}
.nl-division:hover { text-decoration: none; transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.nl-division__media { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--navy-deep); }
.nl-division__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.nl-division:hover .nl-division__media img { transform: scale(1.05); }
.nl-division__body { display: flex; flex-direction: column; flex: 1; padding: 32px 32px 34px; }
.nl-division__grades { font-size: 12.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: var(--teal-bright); margin-bottom: 12px; }
.nl-division__title { color: #fff; font-size: 1.7rem; margin: 0 0 .5em; }
.nl-division__text { color: rgba(255,255,255,.78); margin: 0 0 1.4em; }
.nl-division__more { margin-top: auto; font-family: var(--font-head); font-weight: 600; color: #fff; display: inline-flex; align-items: center; gap: 8px; }
.nl-division__more em { font-style: normal; transition: transform .2s; }
.nl-division:hover .nl-division__more { color: var(--teal-bright); }
.nl-division:hover .nl-division__more em { transform: translateX(4px); }

/* ================================= NEWS =============================== */
.nl-news__heading {
    font-family: var(--font-display); font-weight: 800; text-transform: uppercase;
    font-size: clamp(2.2rem, 5.4vw, 4.2rem); line-height: 1; letter-spacing: -.01em; margin: 0 0 clamp(28px, 4vw, 52px);
    background: linear-gradient(102deg, var(--grad-1) 0%, var(--grad-2) 52%, var(--grad-3) 100%);
    -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent;
}
.nl-news__more { display: flex; justify-content: center; margin-top: clamp(36px, 5vw, 56px); }
.nl-card { display: flex; flex-direction: column; background: var(--navy-700); border: 1px solid rgba(255,255,255,.08); border-radius: var(--radius-md); overflow: hidden; transition: transform .22s ease, box-shadow .22s ease; }
.nl-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.nl-card__media { display: block; aspect-ratio: 4 / 3; background: var(--navy-deep); overflow: hidden; }
.nl-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.nl-card:hover .nl-card__media img { transform: scale(1.05); }
.nl-card__placeholder { display: block; width: 100%; height: 100%; background: linear-gradient(135deg, var(--navy) 0%, var(--teal-ink) 100%); }
.nl-card__body { padding: 22px 22px 26px; display: flex; flex-direction: column; gap: 10px; }
.nl-card__meta { display: none; }
.nl-card__title { font-size: 1.12rem; line-height: 1.28; margin: 0; }
.nl-card__title a { color: #fff; }
.nl-card__title a:hover { color: var(--teal-bright); text-decoration: none; }
.nl-card__excerpt { display: none; }
/* Light card variant for archive/tag/author/post pages (white background). */
.nl-band:not(.nl-band--navy) .nl-card { background: var(--card); border-color: var(--line); }
.nl-band:not(.nl-band--navy) .nl-card__title a { color: var(--navy); }
.nl-band:not(.nl-band--navy) .nl-card__meta { display: flex; align-items: center; gap: 12px; font-size: 13px; color: var(--muted); }
.nl-band:not(.nl-band--navy) .nl-card__excerpt { display: block; color: var(--ink-soft); font-size: .96rem; margin: 0; }
.nl-pill { display: inline-block; font-size: 11.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; color: var(--teal-ink); background: rgba(0,165,181,.1); padding: 4px 11px; border-radius: var(--pill); }
a.nl-pill:hover { text-decoration: none; background: rgba(0,165,181,.18); }

/* ============================ FAMILY STORIES ========================== */
.nl-stories__sub { color: var(--ink-soft); max-width: 52ch; margin: 0; }
.nl-story {
    display: flex; flex-direction: column; margin: 0; padding: 30px 30px 26px;
    background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}
.nl-story__stars { color: var(--gold); font-size: 1rem; letter-spacing: 4px; margin-bottom: 16px; }
.nl-story__quote { flex: 1; margin: 0 0 22px; font-family: var(--font-head); font-size: 1.15rem; line-height: 1.5; color: var(--navy); border: 0; padding: 0; }
.nl-story__who { display: flex; align-items: center; gap: 12px; border-top: 1px solid var(--line); padding-top: 18px; }
.nl-story__avatar { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--gold); color: var(--navy); font-weight: 800; font-size: .85rem; letter-spacing: .02em; }
.nl-story__name strong { display: block; color: var(--navy); font-size: .98rem; }
.nl-story__name em { font-style: normal; color: var(--muted); font-size: .85rem; }
.nl-story--featured { background: linear-gradient(150deg, var(--navy) 0%, var(--navy-700) 100%); border-color: var(--navy-700); box-shadow: var(--shadow-md); }
.nl-story--featured .nl-story__quote { color: #fff; }
.nl-story--featured .nl-story__who { border-top-color: rgba(255,255,255,.18); }
.nl-story--featured .nl-story__name strong { color: #fff; }
.nl-story--featured .nl-story__name em { color: rgba(255,255,255,.66); }

/* =========================== COMMON QUESTIONS ========================= */
.nl-faq__grid { display: grid; grid-template-columns: 1fr 1.35fr; gap: clamp(36px, 6vw, 88px); align-items: start; }
.nl-faq__sub { color: var(--ink-soft); max-width: 40ch; }
.nl-faq__actions { display: flex; align-items: center; flex-wrap: wrap; gap: 18px; margin-top: 26px; }
.nl-faq__item { border-bottom: 1px solid var(--line); }
.nl-faq__item summary {
    display: flex; align-items: baseline; justify-content: space-between; gap: 18px;
    list-style: none; cursor: pointer; padding: 20px 0;
    font-family: var(--font-head); font-weight: 600; font-size: clamp(1.08rem, 1.6vw, 1.3rem); color: var(--navy);
}
.nl-faq__item summary::-webkit-details-marker { display: none; }
.nl-faq__item summary::after { content: "+"; flex: none; font-family: var(--font-body); font-weight: 600; font-size: 1.3rem; line-height: 1; color: var(--teal-ink); transition: transform .2s ease; }
.nl-faq__item[open] summary::after { content: "–"; }
.nl-faq__item summary:hover { color: var(--royal); }
.nl-faq__item > p { margin: 0; padding: 0 34px 22px 0; color: var(--ink-soft); }
@media (max-width: 900px) {
    .nl-faq__grid { grid-template-columns: 1fr; }
}

/* =========================== UPCOMING EVENTS ========================= */
.nl-events__list { display: flex; flex-direction: column; gap: 16px; }
.nl-event {
    display: flex; align-items: center; gap: clamp(16px, 2.5vw, 28px);
    background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-md);
    padding: clamp(16px, 2vw, 22px) clamp(18px, 2.4vw, 28px);
    box-shadow: var(--shadow-sm);
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.nl-event:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--mist-2); text-decoration: none; }
.nl-event__date {
    flex: 0 0 auto; display: flex; flex-direction: column; align-items: center; justify-content: center;
    width: clamp(64px, 8vw, 76px); aspect-ratio: 1; border-radius: var(--radius-sm);
    background: rgba(52, 88, 138, .10); color: var(--royal); line-height: 1;
}
.nl-event__month { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 6px; }
.nl-event__day { font-family: var(--font-head); font-size: 1.9rem; font-weight: 600; }
.nl-event__body { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 5px; }
.nl-event__title { font-family: var(--font-head); font-weight: 600; font-size: clamp(1.15rem, 2vw, 1.45rem); line-height: 1.2; letter-spacing: -.01em; color: var(--navy); }
.nl-event:hover .nl-event__title { color: var(--royal); }
.nl-event__when { color: var(--muted); font-size: .98rem; }
.nl-event__arrow { flex: 0 0 auto; display: inline-flex; color: var(--muted); transition: transform .2s ease, color .2s ease; }
.nl-event:hover .nl-event__arrow { color: var(--teal-ink); transform: translateX(4px); }

/* ====================== BOARD DOCUMENTS (board-docs.hbs) ============= */
.nl-docs { display: flex; flex-direction: column; gap: 14px; padding: clamp(8px, 2vw, 16px) 0; }
.nl-doc {
    display: flex; align-items: center; gap: 18px;
    background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-md);
    padding: 18px 22px; box-shadow: var(--shadow-sm);
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.nl-doc:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); text-decoration: none; }
.nl-doc__icon { flex: none; display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: var(--radius-sm); background: rgba(52, 88, 138, .10); color: var(--royal); }
.nl-doc__body { flex: 1 1 auto; min-width: 0; }
.nl-doc__title { display: block; font-family: var(--font-head); font-weight: 600; font-size: 1.12rem; line-height: 1.25; color: var(--navy); }
.nl-doc:hover .nl-doc__title { color: var(--royal); }
.nl-doc__date { display: block; margin-top: 3px; color: var(--muted); font-size: .92rem; }
.nl-doc__arrow { flex: none; display: inline-flex; color: var(--muted); transition: transform .2s ease, color .2s ease; }
.nl-doc:hover .nl-doc__arrow { color: var(--teal-ink); transform: translateX(4px); }

.nl-events__empty { text-align: left; padding: 8px 0; font-size: 1.05rem; }
.nl-events__empty a { font-weight: 600; }

/* ============================ EVENTS CALENDAR ======================== */
.nl-cal { margin: clamp(40px, 6vw, 76px) 0; }
.nl-empty { color: var(--muted); font-size: 1rem; }
.nl-empty code { background: var(--mist); padding: 2px 7px; border-radius: 6px; font-size: .9em; }

.nl-cal__bar { display: flex; align-items: center; gap: 14px; margin-bottom: clamp(18px, 3vw, 28px); }
.nl-cal__label { font-family: var(--font-head); font-weight: 600; letter-spacing: -.02em; font-size: clamp(1.4rem, 3vw, 2rem); color: var(--navy); margin: 0; min-width: 8.5em; }
.nl-cal__nav {
    flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center;
    width: 42px; height: 42px; border-radius: var(--pill); cursor: pointer;
    background: var(--paper); color: var(--navy); border: 1px solid var(--line); transition: border-color .2s, color .2s, background .2s;
}
.nl-cal__nav:hover { border-color: var(--navy); color: var(--teal-ink); }
.nl-cal__today {
    margin-left: auto; cursor: pointer; font-family: var(--font-body); font-weight: 700;
    font-size: 13px; text-transform: uppercase; letter-spacing: .06em;
    color: var(--navy); background: transparent; border: 1px solid var(--line); border-radius: var(--pill); padding: 10px 20px; transition: border-color .2s, color .2s;
}
.nl-cal__today:hover { border-color: var(--navy); color: var(--teal-ink); }

.nl-cal__viewport { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.nl-cal__frame { min-width: 680px; border: 1px solid var(--line); border-radius: var(--radius-md); overflow: hidden; background: var(--line); box-shadow: var(--shadow-sm); }
.nl-cal__weekdays { display: grid; grid-template-columns: repeat(7, 1fr); background: var(--navy); }
.nl-cal__weekdays span { padding: 12px 10px; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: rgba(255,255,255,.85); text-align: left; }
.nl-cal__grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 1px; }
.nl-cal__cell { background: var(--paper); min-height: clamp(84px, 12vw, 128px); padding: 8px 8px 10px; display: flex; flex-direction: column; gap: 6px; }
.nl-cal__cell.is-out { background: var(--mist); }
.nl-cal__cell.is-out .nl-cal__daynum { color: var(--muted); opacity: .6; }
.nl-cal__daynum { font-family: var(--font-head); font-weight: 600; font-size: 1rem; color: var(--navy); width: 1.9em; height: 1.9em; display: inline-flex; align-items: center; justify-content: center; border-radius: var(--pill); }
.nl-cal__cell.is-today .nl-cal__daynum { background: var(--navy); color: #fff; }
.nl-cal__daylist { display: flex; flex-direction: column; gap: 4px; }
.nl-cal__chip {
    display: block; font-size: 12px; font-weight: 600; line-height: 1.25;
    color: var(--navy); background: rgba(0, 165, 181, .12); border-left: 3px solid var(--teal);
    padding: 4px 8px; border-radius: 5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.nl-cal__chip:hover { text-decoration: none; background: rgba(0, 165, 181, .22); color: var(--teal-ink); }

/* Fallback list: the data source for the grid, hidden once JS enhances it. */
.nl-cal__fallback { margin-top: clamp(28px, 4vw, 44px); }
.nl-cal.is-ready .nl-cal__fallback { display: none; }
.nl-cal__fallback-title { font-family: var(--font-head); font-weight: 600; font-size: 1.3rem; color: var(--navy); margin: 0 0 14px; }
.nl-cal__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.nl-cal__list li { display: flex; flex-wrap: wrap; gap: 4px 14px; align-items: baseline; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.nl-cal__list-link { font-family: var(--font-head); font-weight: 600; font-size: 1.05rem; color: var(--navy); }
.nl-cal__list-link:hover { color: var(--teal-ink); text-decoration: none; }
.nl-cal__list-when { color: var(--muted); font-size: .95rem; }

/* ============================== CLOSING CTA =========================== */
.nl-cta { position: relative; background: var(--navy); color: #fff; padding: clamp(64px, 10vw, 130px) 0; overflow: hidden; }
.nl-cta__botanical { position: absolute; right: -3%; top: -10%; width: min(40%, 520px); color: var(--teal); opacity: .1; pointer-events: none; }
.nl-cta__botanical svg { width: 100%; height: auto; }
.nl-cta__grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.nl-cta__title {
    font-family: var(--font-display); font-weight: 800; text-transform: uppercase;
    font-size: clamp(2.6rem, 6vw, 5rem); line-height: .98; letter-spacing: -.01em; margin: 0;
    background: linear-gradient(102deg, var(--grad-1) 0%, var(--grad-2) 52%, var(--grad-3) 100%);
    -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent;
}
.nl-cta__actions { display: flex; flex-direction: column; gap: 16px; }
.nl-cta__btn {
    display: flex; align-items: center; justify-content: center; padding: 20px 28px;
    border: 1.5px solid rgba(255,255,255,.5); color: #fff; font-family: var(--font-body);
    font-weight: 700; font-size: .82rem; text-transform: uppercase; letter-spacing: .12em;
    border-radius: 2px; transition: background .2s, color .2s, border-color .2s;
}
.nl-cta__btn:hover { text-decoration: none; background: #fff; color: var(--navy); border-color: #fff; }

/* ================================ FOOTER ============================== */
.nl-footer { background: var(--navy); color: rgba(255,255,255,.8); }
.nl-footer__top { padding: clamp(48px, 6vw, 80px) 0; }
.nl-footer__inner { max-width: var(--wrap); margin: 0 auto; padding: 0 32px; display: grid; grid-template-columns: 1.3fr 1fr 1.4fr; gap: 48px; }
.nl-footer__logo { max-height: 74px; width: auto; margin-bottom: 18px; }
.nl-brand--footer .nl-brand__name { color: #fff; }
.nl-footer__address { font-style: normal; display: flex; flex-direction: column; gap: 6px; margin: 16px 0 20px; font-size: .95rem; }
.nl-footer__address a { color: rgba(255,255,255,.88); }
.nl-footer__address a:hover { color: #fff; }
.nl-footer__social { display: flex; gap: 10px; }
.nl-footer__social a { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.08); color: #fff; }
.nl-footer__social a:hover { background: var(--teal); color: var(--navy); }
.nl-footer__fortify { display: inline-block; margin-top: 18px; }
.nl-footer__fortify img { display: block; height: 32px; width: auto; border-radius: 6px; opacity: .9; transition: opacity .15s ease; }
.nl-footer__fortify:hover img { opacity: 1; }
.nl-footer__heading { font-family: var(--font-body); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .14em; color: var(--teal-bright); margin: 0 0 18px; }
.nl-footer__nav ul { display: flex; flex-direction: column; gap: 11px; }
.nl-footer__nav a { color: rgba(255,255,255,.88); font-size: .95rem; }
.nl-footer__nav a:hover { color: #fff; }
.nl-footer__missiontext { font-family: var(--font-head); font-size: 1.08rem; line-height: 1.5; color: rgba(255,255,255,.9); font-style: italic; }
.nl-footer__badge { margin-top: 20px; }
.nl-footer__badge img { max-height: 90px; width: auto; background: #fff; padding: 8px; border-radius: var(--radius-sm); }
.nl-footer__legal { border-top: 1px solid rgba(255,255,255,.14); background: var(--navy-deep); }
.nl-footer__legal-inner { max-width: var(--wrap); margin: 0 auto; padding: 24px 32px; display: flex; flex-direction: column; gap: 8px; font-size: 13px; color: rgba(255,255,255,.78); }
.nl-footer__copy { margin: 0; color: rgba(255,255,255,.92); }
.nl-footer__nondiscrim { margin: 0; line-height: 1.55; }
.nl-footer__policy { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.nl-footer__policy a { color: rgba(255,255,255,.85); }
.nl-footer__policy a:hover { color: #fff; }
.nl-footer__credits { margin: 4px 0 0; }

/* ============================ ARTICLE / POST ========================== */
.nl-article { padding-top: clamp(40px, 6vw, 72px); }
.nl-article__head { text-align: center; }
.nl-article__meta { display: inline-flex; align-items: center; gap: 12px; font-size: 14px; color: var(--muted); margin-bottom: 18px; flex-wrap: wrap; justify-content: center; }
.nl-article__title { font-size: clamp(2rem, 5vw, 3.4rem); font-weight: 600; margin: 0 0 .4em; }
.nl-article__lede { font-size: 1.25rem; color: var(--ink-soft); line-height: 1.5; max-width: 60ch; margin: 0 auto 1em; }
.nl-article__hero { margin: clamp(32px, 5vw, 56px) auto; max-width: 1100px; padding: 0 32px; }
.nl-article__hero img { width: 100%; border-radius: var(--radius-lg); }
.nl-article__hero figcaption { text-align: center; font-size: 14px; color: var(--muted); margin-top: 12px; }
.nl-article__back { margin: 40px 0 64px; }

/* -------- Interior page hero (image + gradient title on navy) -------- */
/* Internal page hero — a centered band. Default = cream with navy serif title;
   the --photo variant lays the feature image full-bleed under a navy scrim and
   the --gallery variant uses a navy→royal gradient. Both keep white AA text. */
.nl-pagehero { text-align: center; background: var(--cream); color: var(--ink); overflow: hidden; }
.nl-pagehero__inner { padding: clamp(56px, 8vw, 112px) 32px; }
.nl-pagehero__title {
    font-family: var(--font-head); font-weight: 600; letter-spacing: -.025em; line-height: 1.05;
    font-size: clamp(2.1rem, 5vw, 3.4rem); margin: 0; color: var(--navy);
}
.nl-pagehero__sub { font-size: clamp(1.05rem, 1.6vw, 1.25rem); line-height: 1.5; color: var(--ink-soft); max-width: 620px; margin: .7em auto 0; }
.nl-pagehero--photo { background-size: cover; background-position: center; color: #fff; }
.nl-pagehero--photo .nl-pagehero__title,
.nl-pagehero--gallery .nl-pagehero__title { color: #fff; }
.nl-pagehero--photo .nl-pagehero__sub,
.nl-pagehero--gallery .nl-pagehero__sub { color: rgba(255,255,255,.92); }
.nl-pagehero--gallery { background: linear-gradient(160deg, var(--navy), var(--royal)); color: #fff; }

/* -------- Section subnav (siblings within a nav group) -------- */
.nl-subnav { background: var(--cream); border-bottom: 1px solid var(--line); position: sticky; top: var(--bar-h); z-index: 40; }
.nl-subnav__inner { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 28px; padding-top: 18px; padding-bottom: 18px; }
.nl-subnav__title { font-family: var(--font-body); font-weight: 800; font-size: 13px; text-transform: uppercase; letter-spacing: .12em; color: var(--navy); margin-right: 8px; }
.nl-subnav__title:hover { text-decoration: none; color: var(--teal-ink); }
.nl-subnav__list { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.nl-subnav__list a { font-family: var(--font-body); font-weight: 600; font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-soft); padding: 4px 0; border-bottom: 2px solid transparent; }
.nl-subnav__list a:hover { text-decoration: none; color: var(--navy); }
.nl-subnav__list a.is-active { color: var(--navy); border-bottom-color: var(--teal); }

.nl-page__lede { font-size: clamp(1.15rem, 2vw, 1.4rem); line-height: 1.5; color: var(--ink-soft); padding-top: clamp(36px, 5vw, 60px); }
.nl-page__lede--center { text-align: center; max-width: 60ch; margin: 0 auto; }

/* -------- Site map -------- */
.nl-page--sitemap { padding-bottom: clamp(48px, 7vw, 90px); }
.nl-sitemap { padding: clamp(24px, 4vw, 48px) 0; }
.nl-sitemap__list { columns: 2; column-gap: 64px; }
.nl-sitemap__group { break-inside: avoid; margin-bottom: 26px; }
.nl-sitemap__parent { display: inline-block; font-family: var(--font-head); font-weight: 600; font-size: 1.25rem; color: var(--navy); margin-bottom: 8px; }
.nl-sitemap__parent:hover { color: var(--teal-ink); text-decoration: none; }
.nl-sitemap__children { padding-left: 18px; border-left: 2px solid var(--line); }
.nl-sitemap__children li { margin: 6px 0; }
.nl-sitemap__children a { color: var(--ink-soft); font-weight: 500; }
.nl-sitemap__children a:hover { color: var(--teal-ink); }

/* -------- Gallery (masonry photo wall) -------- */
.nl-gallery { padding: clamp(36px, 5vw, 64px) 0; }
.nl-gallery-grid { columns: 3; column-gap: 18px; }
.nl-gallery-grid img { width: 100%; margin: 0 0 18px; border-radius: var(--radius-md); break-inside: avoid; cursor: zoom-in; transition: transform .3s ease, box-shadow .3s ease; display: block; }
.nl-gallery-grid img:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.nl-gallery .kg-gallery-image img { border-radius: var(--radius-md); }

/* -------- Gallery hub (album covers) -------- */
.nl-albums { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; padding: clamp(24px, 4vw, 48px) 0 clamp(48px, 7vw, 90px); }
.nl-album { position: relative; display: block; aspect-ratio: 4 / 3; border-radius: var(--radius-lg); overflow: hidden; color: #fff; box-shadow: var(--shadow-md); transition: transform .25s ease, box-shadow .25s ease; }
.nl-album:hover { text-decoration: none; transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.nl-album__media { position: absolute; inset: 0; background: var(--navy-deep); }
.nl-album__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.nl-album:hover .nl-album__media img { transform: scale(1.08); }
.nl-album__overlay { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; gap: 4px; padding: 24px; background: linear-gradient(180deg, rgba(7,26,48,0) 28%, rgba(7,26,48,.86) 100%); }
.nl-album__title { font-family: var(--font-head); font-weight: 600; font-size: 1.45rem; color: #fff; line-height: 1.15; }
.nl-album__meta { font-size: .9rem; color: rgba(255,255,255,.82); }
.nl-album__cta { margin-top: 8px; font-family: var(--font-body); font-weight: 700; font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; color: var(--teal-bright); display: inline-flex; align-items: center; gap: 7px; opacity: 0; transform: translateY(6px); transition: opacity .25s ease, transform .25s ease; }
.nl-album:hover .nl-album__cta { opacity: 1; transform: none; }
.nl-empty { text-align: center; color: var(--muted); padding: 48px 0; }

/* -------- Video gallery (hub cards + modal player) -------- */
.nl-videocard__play {
    position: absolute; top: 50%; left: 50%; transform: translate(-50%, -60%);
    display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%;
    background: rgba(7, 26, 48, .62); border: 1.5px solid rgba(255,255,255,.75); color: #fff;
    transition: background .2s ease, transform .2s ease; z-index: 1; pointer-events: none;
}
.nl-videocard__play svg { margin-left: 4px; }
.nl-videocard:hover .nl-videocard__play { background: var(--teal); transform: translate(-50%, -60%) scale(1.08); }

.nl-vmodal {
    position: fixed; inset: 0; z-index: 300; display: none; align-items: center; justify-content: center;
    flex-direction: column; gap: 14px; background: rgba(7, 26, 48, .94); padding: clamp(16px, 4vw, 48px);
}
.nl-vmodal.is-open { display: flex; }
.nl-vmodal__frame { position: relative; width: min(1100px, 100%); aspect-ratio: 16 / 9; background: #000; border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-lg); }
.nl-vmodal__frame iframe, .nl-vmodal__frame video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.nl-vmodal__title { margin: 0; color: rgba(255,255,255,.9); font-family: var(--font-head); font-weight: 600; font-size: 1.05rem; text-align: center; }
.nl-vmodal__close {
    position: absolute; top: 22px; right: 22px; width: 52px; height: 52px; border-radius: 50%;
    background: rgba(255,255,255,.12); color: #fff; border: 0; font-size: 26px; line-height: 1; display: grid; place-items: center;
}
.nl-vmodal__close:hover { background: rgba(255,255,255,.24); }

/* -------- Homepage album carousel -------- */
.nl-albumscar__viewport { position: relative; }
.nl-albumscar__track {
    display: flex; gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory;
    padding: 6px 2px 22px; scrollbar-width: none; -ms-overflow-style: none;
}
.nl-albumscar__track::-webkit-scrollbar { display: none; }
.nl-albumscar__item { flex: 0 0 calc((100% - 44px) / 3); scroll-snap-align: start; }
.nl-albumscar__arrow {
    position: absolute; top: 50%; transform: translateY(-50%); z-index: 3;
    width: 52px; height: 52px; border-radius: 50%; background: rgba(255,255,255,.14);
    border: 1px solid rgba(255,255,255,.4); color: #fff; display: grid; place-items: center; font-size: 24px; line-height: 1;
}
.nl-albumscar__arrow:hover { background: rgba(255,255,255,.28); }
.nl-albumscar__arrow--prev { left: 10px; }
.nl-albumscar__arrow--next { right: 10px; }
.nl-albumscar__arrow[hidden] { display: none; }
.nl-albumscar__more { display: flex; justify-content: center; margin-top: clamp(28px, 4vw, 44px); }

.nl-article--page .nl-content { padding-top: clamp(40px, 6vw, 64px); padding-bottom: clamp(40px, 6vw, 64px); }

/* ---------- gh-content (Koenig) ---------- */
.nl-content { padding: clamp(32px, 5vw, 56px) 0 clamp(48px, 7vw, 80px); font-size: 1.12rem; line-height: 1.75; color: var(--ink); }
.nl-content > * { margin-bottom: 1.4em; }
.nl-content h2 { font-size: clamp(1.6rem, 3.2vw, 2.2rem); margin: 1.6em 0 .5em; }
.nl-content h3 { font-size: clamp(1.3rem, 2.4vw, 1.6rem); margin: 1.4em 0 .5em; }
.nl-content a { color: var(--teal-ink); text-decoration: underline; text-underline-offset: 2px; }
.nl-content img { border-radius: var(--radius-md); }
.nl-content figure { margin: 2em 0; }
.nl-content figcaption { text-align: center; font-size: 14px; color: var(--muted); margin-top: 10px; }
.nl-content blockquote { margin: 1.6em 0; padding: 6px 0 6px 26px; border-left: 3px solid var(--teal); font-family: var(--font-head); font-size: 1.3rem; font-style: italic; color: var(--navy); }
.nl-content hr { border: 0; border-top: 1px solid var(--line); margin: 2.4em 0; }
.nl-content pre { background: var(--navy-deep); color: #e6edf3; padding: 20px; border-radius: var(--radius-md); overflow-x: auto; font-size: .92rem; }
/* Embedded Google Map (contact page) — styled by src so it survives
   the editor stripping wrapper divs. */
.nl-content iframe[src*="google.com/maps"] { display: block; width: 100%; height: clamp(300px, 45vw, 440px); border: 0; border-radius: var(--radius-md); box-shadow: var(--shadow-md); }
/* Tables (from HTML cards — e.g. office hours, supply lists) */
.nl-content .nl-tablewrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.nl-content table { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 1rem; line-height: 1.5; border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; }
.nl-content th { background: var(--navy); color: #fff; font-family: var(--font-body); font-weight: 700; font-size: 12.5px; text-transform: uppercase; letter-spacing: .08em; text-align: left; padding: 12px 16px; }
.nl-content td { padding: 13px 16px; border-top: 1px solid var(--line); vertical-align: top; }
.nl-content tbody tr:nth-child(even) td { background: var(--mist); }
.nl-content td:first-child { font-weight: 600; color: var(--navy); white-space: nowrap; }
.nl-content ul, .nl-content ol { padding-left: 1.3em; margin-bottom: 1.4em; }
.nl-content ul { list-style: disc; }
.nl-content ol { list-style: decimal; }
.nl-content li { margin-bottom: .5em; }
.kg-width-wide { max-width: 1080px; margin-left: 50%; transform: translateX(-50%); }
.kg-width-full { max-width: 100vw; margin-left: 50%; transform: translateX(-50%); border-radius: 0; }
.kg-width-full img { border-radius: 0; }

/* --------- List / archive heads --------- */
/* Cream, matching the interior pagehero band, so archives feel like pages. */
.nl-listhead { padding: clamp(48px, 7vw, 88px) 0 clamp(24px, 4vw, 40px); background: var(--cream); text-align: center; }
.nl-listhead .nl-eyebrow { justify-content: center; }
.nl-listhead__title { font-size: clamp(2rem, 5vw, 3.2rem); margin: 0 0 .3em; }
.nl-listhead__desc { font-size: 1.15rem; color: var(--ink-soft); max-width: 56ch; margin: 0 auto .6em; }
.nl-listhead__count { font-size: 13px; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.nl-author__img { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; margin: 0 auto 20px; }

/* --------- Pagination --------- */
.pagination { display: flex; align-items: center; justify-content: center; gap: 24px; margin-top: 56px; font-weight: 600; }
.pagination a { color: var(--navy); }
.pagination .page-number { color: var(--muted); font-weight: 500; }

/* --------------------------------- Error -------------------------------- */
.nl-error { padding: clamp(80px, 14vw, 160px) 0; text-align: center; }
.nl-error__code { font-family: var(--font-head); font-size: clamp(4rem, 14vw, 9rem); font-weight: 600; color: var(--teal); line-height: 1; margin: 0; }
.nl-error__title { font-size: clamp(1.6rem, 4vw, 2.4rem); margin: .2em 0 .4em; }
.nl-error__text { color: var(--ink-soft); max-width: 44ch; margin: 0 auto 32px; }
.nl-error__actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ----------------------------- Scroll reveal ---------------------------- */
[data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1); }
[data-reveal].is-in { opacity: 1; transform: none; }

/* Staggered grids: children rise in sequence when the grid enters view. */
[data-reveal-stagger] > * { opacity: 0; transform: translateY(34px); transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1); }
[data-reveal-stagger].is-in > * { opacity: 1; transform: none; }
[data-reveal-stagger].is-in > *:nth-child(1) { transition-delay: .00s; }
[data-reveal-stagger].is-in > *:nth-child(2) { transition-delay: .09s; }
[data-reveal-stagger].is-in > *:nth-child(3) { transition-delay: .18s; }
[data-reveal-stagger].is-in > *:nth-child(4) { transition-delay: .27s; }
[data-reveal-stagger].is-in > *:nth-child(5) { transition-delay: .36s; }
[data-reveal-stagger].is-in > *:nth-child(6) { transition-delay: .45s; }

/* --------------------------- Photo lightbox ----------------------------- */
.nl-lightbox { position: fixed; inset: 0; z-index: 300; display: none; align-items: center; justify-content: center; background: rgba(7,26,48,.92); padding: 40px; }
.nl-lightbox.is-open { display: flex; }
.nl-lightbox__img { max-width: 92vw; max-height: 82vh; border-radius: var(--radius-md); object-fit: contain; }
.nl-lightbox__btn { position: absolute; background: rgba(255,255,255,.12); color: #fff; border: 0; width: 52px; height: 52px; border-radius: 50%; font-size: 26px; line-height: 1; display: grid; place-items: center; }
.nl-lightbox__btn:hover { background: rgba(255,255,255,.24); }
.nl-lightbox__close { top: 24px; right: 24px; }
.nl-lightbox__prev { left: 24px; top: 50%; transform: translateY(-50%); }
.nl-lightbox__next { right: 24px; top: 50%; transform: translateY(-50%); }
.nl-lightbox__cap { position: absolute; bottom: 20px; left: 0; right: 0; text-align: center; color: rgba(255,255,255,.85); font-size: 14px; margin: 0; padding: 0 40px; }
.nl-lightbox__bar { position: absolute; top: 30px; left: 40px; right: 90px; color: rgba(255,255,255,.85); font-size: 13px; display: flex; gap: 14px; align-items: baseline; }
.nl-lightbox__title { font-family: var(--font-head); font-weight: 600; font-size: 1rem; color: #fff; }
.sc-zoomable, .nl-content [data-lightbox] img, .nl-content a[href$=".jpg"] { cursor: zoom-in; }

/* ------------------------------ Responsive ------------------------------ */
@media (max-width: 1080px) {
    .nl-pillars__grid { grid-template-columns: repeat(3, 1fr); }
    .nl-grid--4 { grid-template-columns: repeat(2, 1fr); }
    .nl-footer__inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
    .nl-hero { grid-template-columns: 1fr; min-height: auto; }
    .nl-hero__media { min-height: 46vh; }
    .nl-hero__panel { padding-top: clamp(48px, 9vw, 80px); padding-bottom: clamp(64px, 12vw, 96px); }
    .nl-menu__inner { grid-template-columns: 1fr; align-items: start; }
    .nl-menu__brandmark { display: none; }
    .nl-menu__secondary ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .nl-statement { grid-template-columns: 1fr; gap: 24px; }
    .nl-statement:nth-child(even) .nl-statement__col { order: 0; }
    .nl-shine__grid { grid-template-columns: 1fr; gap: 28px; }
    .nl-shine__media { order: -1; }
    .nl-cta__grid { grid-template-columns: 1fr; gap: 28px; }
    .nl-subnav { position: static; }
    .nl-sitemap__list { columns: 1; }
    .nl-gallery-grid { columns: 2; }
    .nl-albums { grid-template-columns: repeat(2, 1fr); }
    .nl-albumscar__item { flex: 0 0 calc((100% - 22px) / 2); }
    .nl-divisions__grid,
    .nl-grid--3 { grid-template-columns: 1fr; }
    .nl-section-head--row { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 620px) {
    .nl-wrap { padding: 0 20px; }
    .nl-topcta { display: none; }
    .nl-grid--4 { grid-template-columns: 1fr; }
    .nl-gallery-grid { columns: 1; }
    .nl-albums { grid-template-columns: 1fr; }
    .nl-albumscar__item { flex: 0 0 84%; }
    .nl-menu__secondary ul { grid-template-columns: 1fr; }
    .nl-footer__inner { grid-template-columns: 1fr; gap: 36px; }
}

/* Windows High-Contrast / forced-colors: gradient (clipped-text) headings
   would render transparent, so fall back to a solid system text colour. */
@media (forced-colors: active) {
    .nl-hero__title, .nl-statement__title, .nl-shine__title,
    .nl-news__heading, .nl-cta__title, .nl-pagehero__title {
        background: none;
        -webkit-text-fill-color: CanvasText;
        color: CanvasText;
    }
}

@media (prefers-reduced-motion: reduce) {
    * { scroll-behavior: auto !important; }
    .nl-hero__scroll svg { animation: none; }
    .nl-hero__badge-dot { animation: none; }
    .nl-hero__slide { transition: none; }
    [data-reveal],
    [data-reveal-stagger] > * { opacity: 1; transform: none; transition: none; }
}
