/* =========================================================
   Benilde Hall — brand design system
   Navy #204058 + Brick red #881818 (from logo)
   Bold sans-serif headings (Archivo) + Inter body
   ========================================================= */

:root {
    /* Brand palette (sampled from logo) */
    --navy:        #204058;
    --navy-dark:   #16303f;
    --navy-deep:   #10242f;
    --navy-soft:   #e7edf1;
    --red:         #881818;
    --red-dark:    #6f1313;
    --red-soft:    #f4e6e6;

    /* Neutrals */
    --cream:       #f7f5f1;   /* page background */
    --sand:        #efeae2;
    --ink:         #1e2a33;   /* text — navy-tinted charcoal */
    --ink-soft:    #58666f;
    --white:       #ffffff;
    --line:        #e3ddd4;

    --shadow-sm:   0 1px 3px rgba(16, 30, 40, .08);
    --shadow-md:   0 12px 34px rgba(16, 30, 40, .13);
    --shadow-lg:   0 24px 60px rgba(16, 30, 40, .18);
    --radius:      14px;
    --radius-lg:   22px;
    --wrap:        1180px;

    --font-head:   'Archivo', system-ui, -apple-system, sans-serif;
    --font-body:   'Inter', system-ui, -apple-system, sans-serif;
}

/* ---------- Reset-ish ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: var(--font-body);
    color: var(--ink);
    background: var(--cream);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}
img, picture { max-width: 100%; }
img { display: block; }
a { color: var(--navy); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4 {
    font-family: var(--font-head);
    font-weight: 800;
    line-height: 1.08;
    color: var(--ink);
    margin: 0 0 .5em;
    letter-spacing: -0.02em;
}
h1 { font-size: clamp(2.4rem, 4.5vw + 1rem, 4rem); font-weight: 900; }
h2 { font-size: clamp(1.9rem, 2.4vw + 1rem, 2.9rem); }
h3 { font-size: 1.3rem; font-weight: 700; letter-spacing: -0.01em; }
p  { margin: 0 0 1rem; }
.muted { color: var(--ink-soft); }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: 1.4rem; }

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

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex; align-items: center; gap: .5rem;
    font-family: var(--font-head); font-weight: 700; font-size: 1rem;
    padding: .8rem 1.6rem; border-radius: 10px; border: 2px solid transparent;
    cursor: pointer; transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
    text-decoration: none; letter-spacing: -0.01em;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn--primary { background: var(--red); color: #fff; box-shadow: var(--shadow-sm); }
.btn--primary:hover { background: var(--red-dark); box-shadow: var(--shadow-md); }
.btn--navy { background: var(--navy); color: #fff; box-shadow: var(--shadow-sm); }
.btn--navy:hover { background: var(--navy-dark); box-shadow: var(--shadow-md); }
.btn--ghost { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn--ghost:hover { background: var(--navy); color: #fff; }
.btn--white { background: #fff; color: var(--navy); }
.btn--white:hover { background: var(--navy-soft); }
.btn--outline-white { background: transparent; color: #fff; border-color: rgba(255,255,255,.6); }
.btn--outline-white:hover { background: #fff; color: var(--navy); border-color:#fff; }
.btn--lg { padding: 1rem 2.1rem; font-size: 1.08rem; }

/* Disabled links/buttons — full color, just non-clickable (unfinished pages) */
.is-disabled { pointer-events: none; cursor: default; }

/* ---------- Top bar ---------- */
.topbar { background: var(--navy-dark); color: #dbe4ea; font-size: .85rem; }
.topbar__inner { display: flex; justify-content: space-between; align-items: center; padding-block: .55rem; gap: 1rem; }
.topbar a { color: #fff; font-weight: 600; }
.topbar__hours { opacity: .8; }

/* ---------- Header / nav ---------- */
.site-header {
    position: sticky; top: 0; z-index: 50;
    background: rgba(247, 245, 241, .94);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--line);
}
.site-header__inner { display: flex; align-items: center; justify-content: space-between; padding-block: .9rem; gap: 1rem; }

.brand { display: inline-flex; align-items: center; }
.brand:hover { text-decoration: none; }
.brand__logo { height: 66px; width: auto; display: block; }

.nav { display: flex; align-items: center; gap: .25rem; }
.nav__link {
    padding: .5rem .85rem; border-radius: 8px; color: var(--ink); font-weight: 600; font-size: .96rem;
    font-family: var(--font-head); letter-spacing: -0.01em;
    transition: background .15s ease, color .15s ease;
}
.nav__link:hover { background: var(--navy-soft); text-decoration: none; }
.nav__link[aria-current="page"] { color: var(--navy); background: var(--navy-soft); }
.nav__link--cta { background: var(--red); color: #fff; }
.nav__link--cta:hover { background: var(--red-dark); color: #fff; }

/* Mobile nav toggle */
.nav-toggle__btn { display: none; }
.nav-toggle__btn span { display: block; width: 24px; height: 2px; background: var(--ink); border-radius: 2px; transition: .2s; }
.nav-toggle__btn span + span { margin-top: 5px; }

/* ---------- Sections ---------- */
.section { padding-block: clamp(3rem, 6vw, 5.5rem); }
.section--tint { background: var(--sand); }
.section--navy { background: var(--navy); color: #dfe7ec; }
.section--navy h2, .section--navy h3, .section--navy h4 { color: #fff; }
.section__head { max-width: 680px; margin-bottom: 2.5rem; }
.section__head--center { margin-inline: auto; text-align: center; }
.eyebrow {
    display: inline-block; font-family: var(--font-head); font-weight: 700;
    font-size: .8rem; letter-spacing: .14em; text-transform: uppercase;
    color: var(--red); margin-bottom: .7rem;
}
.section--navy .eyebrow { color: #e58a8a; }

/* ---------- Hero (photo) ---------- */
.hero {
    position: relative; color: #fff; overflow: hidden;
    background: var(--navy-deep);
}
.hero__bg { position: absolute; inset: 0; z-index: 0; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.hero__bg::after {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(105deg, rgba(16,36,47,.94) 0%, rgba(16,36,47,.82) 42%, rgba(16,36,47,.45) 100%);
}
.hero__inner { position: relative; z-index: 1; padding-block: clamp(3.5rem, 8vw, 7rem); }
.hero__content { max-width: 660px; text-align: left; }
.hero h1 { color: #fff; margin-bottom: 1rem; }
.hero h1 .accent { color: #f0b8b8; }
.hero__lead { font-size: 1.25rem; color: rgba(255,255,255,.88); max-width: 46ch; margin-bottom: 2rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .9rem; }
.hero__note { margin-top: 1.6rem; font-size: .92rem; color: rgba(255,255,255,.7); }
.hero__note a { color: #fff; font-weight: 600; }

/* ---------- Hero variant switcher (comp only) ---------- */
.hero-wrap { position: relative; }
.hero-switch {
    position: absolute; z-index: 20; bottom: 1rem; left: 50%; transform: translateX(-50%);
    display: inline-flex; align-items: center; gap: .5rem;
}
.hero-switch__link {
    border: 0; background: none; cursor: pointer; padding: 0;
    font-family: var(--font-body); font-size: .75rem; font-weight: 500; letter-spacing: .02em;
    color: #98938c; transition: color .15s ease;
}
.hero-switch__link:hover { color: var(--ink-soft); text-decoration: underline; }
.hero-switch__link.is-active { color: var(--ink-soft); text-decoration: underline; }
.hero-switch__sep { color: #b7b1a8; font-size: .75rem; }

/* ---------- Hero Alt2 (lighter, brighter) ---------- */
.hero2 {
    background:
        radial-gradient(120% 90% at 90% 10%, var(--navy-soft) 0%, transparent 55%),
        radial-gradient(90% 80% at 0% 100%, var(--red-soft) 0%, transparent 50%),
        var(--cream);
}
.hero2__inner {
    display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 5vw, 4rem); align-items: center;
    padding-block: clamp(3rem, 6vw, 5.5rem);
}
.hero2 h1 { color: var(--ink); margin-bottom: 1rem; }
.hero2 h1 .accent-red  { color: var(--red); }
.hero2 h1 .accent-blue { color: var(--navy); }
.hero2__lead { font-size: 1.25rem; color: var(--ink-soft); max-width: 48ch; margin-bottom: 2rem; }
.hero2__actions { display: flex; flex-wrap: wrap; gap: .9rem; }
.hero2__media {
    position: relative; border-radius: var(--radius-lg); overflow: hidden;
    box-shadow: var(--shadow-lg); aspect-ratio: 4 / 3;
}
.hero2__media img { width: 100%; height: 100%; object-fit: cover; }

@media (max-width: 820px) {
    .hero2__inner { grid-template-columns: 1fr; }
    .hero2__media { order: -1; aspect-ratio: 16 / 9; }
}

/* ---------- Hero Alt3 (diagonal split — photo panel on the right) ---------- */
.hero3 {
    position: relative; overflow: hidden; color: #fff;
    background: linear-gradient(120deg, var(--navy-deep) 0%, var(--navy) 62%);
}
/* photo panel occupies the right side, diagonal left edge */
.hero3__photo {
    position: absolute; top: 0; right: 0; bottom: 0; width: 54%; z-index: 1;
    clip-path: polygon(120px 0, 100% 0, 100% 100%, 0 100%);
}
.hero3__photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 35%; }
/* red accent stripe: same photo shape, nudged left so a sliver shows along the diagonal */
.hero3::before {
    content: ""; position: absolute; top: 0; right: 0; bottom: 0; width: 54%; z-index: 0;
    background: var(--red); transform: translateX(-16px);
    clip-path: polygon(120px 0, 100% 0, 100% 100%, 0 100%);
}
.hero3__inner { position: relative; z-index: 2; padding-block: clamp(3.5rem, 8vw, 7rem); }
.hero3__content { max-width: 29rem; }
.hero3 h1 { color: #fff; margin-bottom: 1rem; }
.hero3 h1 .accent-red { color: #f0b8b8; }
.hero3__lead { font-size: 1.2rem; color: rgba(255,255,255,.88); margin-bottom: 2rem; }
.hero3__actions { display: flex; flex-wrap: wrap; gap: .9rem; }

@media (max-width: 820px) {
    .hero3__photo {
        position: relative; width: 100%; height: 240px; clip-path: none;
    }
    .hero3__photo img { object-position: center 30%; }
    .hero3::before { display: none; }
    .hero3__content { max-width: none; }
}

/* ---------- About hero (text left 2/3, photo right 1/3) ---------- */
.pagehead { background: linear-gradient(180deg, var(--cream) 0%, #fff 100%); border-bottom: 1px solid var(--line); }
.pagehead__inner {
    display: grid; grid-template-columns: 2fr 1fr; gap: clamp(2rem, 5vw, 4rem);
    align-items: center; padding-block: clamp(2.5rem, 5vw, 4.5rem);
}
.pagehead__text h1 { margin-bottom: 1rem; }
.pagehead__lead { font-size: 1.25rem; color: var(--ink-soft); max-width: 54ch; margin: 0; }
.pagehead__media {
    border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); aspect-ratio: 3 / 4;
}
.pagehead__media img { width: 100%; height: 100%; object-fit: cover; }

/* About hero Alt2 — compact traditional header (~half the height, no breadcrumb) */
.hero-compact { background: var(--navy-soft); padding: clamp(1.4rem, 3vw, 2.2rem) 0 2.8rem; }
.hero-compact h1 { margin-bottom: .5rem; }
.hero-compact .lead { color: var(--ink-soft); max-width: 62ch; margin: 0; }

/* Compact hero with a photo on the right (~1/3 width) */
.hero-compact--media { padding-block: clamp(1.6rem, 3vw, 2.4rem); }
.hero-compact__inner { display: grid; grid-template-columns: 2fr 1fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: center; }
.hero-compact__media { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); aspect-ratio: 4 / 3; }
.hero-compact__media img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 760px) {
    .hero-compact__inner { grid-template-columns: 1fr; }
    .hero-compact__media { order: -1; aspect-ratio: 16 / 9; }
}

/* Breadcrumb — medium cream pill */
.breadcrumb {
    display: inline-block; margin-bottom: 1.1rem;
    background: #ece1cd; color: var(--ink-soft);
    font-size: .8rem; font-weight: 600; letter-spacing: .01em;
    padding: .35rem .9rem; border-radius: 999px;
}
.breadcrumb a { color: var(--navy); }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb span { margin: 0 .25rem; color: #b7a98d; }

@media (max-width: 760px) {
    .pagehead__inner { grid-template-columns: 1fr; }
    .pagehead__media { order: -1; aspect-ratio: 16 / 9; }
}

/* ---------- Contact: info list + form ---------- */
.info-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 1.5rem; }
.info-list__item { display: flex; gap: 1rem; align-items: flex-start; }
.info-list__icon {
    flex: none; width: 46px; height: 46px; border-radius: 12px;
    background: var(--navy-soft); color: var(--navy); display: grid; place-items: center;
}
.info-list__icon svg { width: 23px; height: 23px; fill: currentColor; display: block; }
.info-list__label { font-family: var(--font-head); font-weight: 700; font-size: .95rem; color: var(--ink); margin-bottom: .1rem; }
.info-list__item a { color: var(--navy); font-weight: 600; }

.form { display: grid; gap: 1.15rem; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.15rem; }
.field { display: grid; gap: .4rem; }
.field label { font-family: var(--font-head); font-weight: 700; font-size: .85rem; color: var(--ink); }
.field input, .field select, .field textarea {
    width: 100%; font-family: var(--font-body); font-size: 1rem; color: var(--ink); background: #fff;
    border: 1.5px solid var(--line); border-radius: 10px; padding: .7rem .85rem;
    transition: border-color .15s ease, box-shadow .15s ease;
}
.field input:focus, .field select:focus, .field textarea:focus {
    outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(32,64,88,.13);
}
.field textarea { resize: vertical; min-height: 120px; }

@media (max-width: 560px) { .form__row { grid-template-columns: 1fr; } }

/* ---------- Photo gallery (decorative, style only) ---------- */
.gallery { display: grid; grid-template-columns: repeat(5, 1fr); gap: .8rem; }
.gallery__item { aspect-ratio: 1; border-radius: 12px; overflow: hidden; background: var(--navy-soft); }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.gallery__item:hover img { transform: scale(1.06); }
@media (max-width: 900px) { .gallery { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 620px) { .gallery { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 400px) { .gallery { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Partner logo marquee ---------- */
.partners .marquee { margin-top: 2.5rem; }
.marquee {
    position: relative; overflow: hidden;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
            mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee__track {
    display: flex; align-items: center;
    width: max-content; animation: marquee-scroll 45s linear infinite;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__item {
    flex: none; display: inline-flex; align-items: center;
    padding-inline: clamp(1.25rem, 2.5vw, 2.25rem);
}
.marquee__item img {
    height: 52px; width: auto; max-width: 160px; object-fit: contain;
    filter: grayscale(1); opacity: .62; transition: filter .2s ease, opacity .2s ease;
}
.marquee__item:hover img { filter: none; opacity: 1; }
@keyframes marquee-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
    .marquee__track { animation: none; flex-wrap: wrap; justify-content: center; width: auto; row-gap: 2rem; }
}

/* ---------- History (expandable timeline) ---------- */
.history { background: var(--navy-soft); }
.history__intro {
    display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(2rem, 5vw, 3.5rem); align-items: center;
}
.history__media {
    border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); aspect-ratio: 4 / 5;
}
.history__media img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.history__text h2 { margin-bottom: 1rem; }
.history__more { animation: history-in .3s ease; }
@keyframes history-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.history__toggle { margin-top: 1.8rem; }

@media (max-width: 760px) {
    .history__intro { grid-template-columns: 1fr; }
    .history__media { aspect-ratio: 4 / 3; max-width: 360px; }
}

.timeline { list-style: none; margin: 2.2rem 0 0; padding: 0; max-width: 760px; }
.timeline__item {
    position: relative; display: grid; grid-template-columns: 5.5rem 1fr; gap: 1.4rem;
    padding: 0 0 1.6rem 0;
}
.timeline__item::before { /* connector line */
    content: ""; position: absolute; left: calc(5.5rem + .55rem); top: .5rem; bottom: -.4rem; width: 2px;
    background: rgba(32,64,88,.2);
}
.timeline__item:last-child { padding-bottom: 0; }
.timeline__item:last-child::before { display: none; }
.timeline__year {
    position: relative; z-index: 1; align-self: start; justify-self: end;
    font-family: var(--font-head); font-weight: 800; font-size: 1.05rem; color: var(--red);
    background: var(--navy-soft); padding-right: .3rem;
}
.timeline__item p { margin: 0; padding-top: .1rem; }

.history__quote {
    margin: 2.4rem 0 0; max-width: 760px;
    padding: 1.4rem 0 1.4rem 1.6rem; border-left: 4px solid var(--navy);
    font-family: var(--font-head); font-weight: 500; font-size: 1.15rem; line-height: 1.5; color: var(--ink);
}
.history__quote cite {
    display: block; margin-top: .8rem; font-style: normal;
    font-family: var(--font-body); font-size: .95rem; font-weight: 700; color: var(--navy);
}
.history__quote cite span { font-weight: 500; color: var(--ink-soft); }

/* ---------- Big stats band ---------- */
.stats-wrap { position: relative; }
.stats {
    background: var(--red);
    color: #fff;
    position: relative;
}
.stats__inner { padding-block: clamp(3rem, 5vw, 4.5rem); padding-bottom: clamp(3.5rem, 6vw, 5.5rem); }
.stats__head { text-align: center; max-width: 640px; margin: 0 auto 2.8rem; }
.stats__head .eyebrow { color: #f3c9c9; }
.stats__head h2 { color: #fff; }
.stats__grid {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
    background: rgba(255,255,255,.18);
    border: 1px solid rgba(255,255,255,.18); border-radius: var(--radius-lg); overflow: hidden;
}
.stat {
    background: var(--red);
    padding: 2.2rem 1.4rem; text-align: center;
}
.stat__num {
    font-family: var(--font-head); font-weight: 900; line-height: 1;
    font-size: clamp(2.6rem, 4vw, 3.8rem); letter-spacing: -0.03em; color: #fff;
}
.stat__num .unit { font-size: .5em; vertical-align: super; margin-left: .05em; }
.stat__label { margin-top: .6rem; font-size: .98rem; color: rgba(255,255,255,.86); font-weight: 500; }

/* Compact stat row used inside other sections */
.stat-row { display: flex; gap: 2.5rem; flex-wrap: wrap; }
.stat-row .stat { background: none; padding: 0; text-align: left; }
.stat-row .stat__num { color: var(--red); font-size: 2.4rem; }
.stat-row .stat__label { color: var(--ink-soft); }

/* Stats Alt2 — medium cream with fresh accent colors */
.stats--alt2 { background: #ece1cd; color: var(--ink); }
.stats--alt2 .stats__head .eyebrow { color: var(--red); }
.stats--alt2 .stats__head h2 { color: var(--ink); }
.stats--alt2 .stats__grid {
    background: transparent; border: 0; border-radius: 0; overflow: visible; gap: 1.2rem;
}
.stats--alt2 .stat {
    background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-sm);
    border-top: 4px solid var(--navy);
}
.stats--alt2 .stat:nth-child(1) { border-top-color: var(--navy);  }
.stats--alt2 .stat:nth-child(2) { border-top-color: var(--red);   }
.stats--alt2 .stat:nth-child(3) { border-top-color: #c58a1f;      } /* gold */
.stats--alt2 .stat:nth-child(4) { border-top-color: #2c7a75;      } /* teal */
.stats--alt2 .stat:nth-child(1) .stat__num { color: var(--navy); }
.stats--alt2 .stat:nth-child(2) .stat__num { color: var(--red);  }
.stats--alt2 .stat:nth-child(3) .stat__num { color: #b07d18;     }
.stats--alt2 .stat:nth-child(4) .stat__num { color: #256b66;     }
.stats--alt2 .stat__label { color: var(--ink-soft); }

/* Impact variant switch (adapts to the active panel's background) */
.stats-switch {
    position: absolute; z-index: 5; bottom: 1.1rem; left: 50%; transform: translateX(-50%);
    display: inline-flex; align-items: center; gap: .5rem;
}
.stats-switch__link {
    border: 0; background: none; cursor: pointer; padding: 0;
    font-family: var(--font-body); font-size: .75rem; font-weight: 500; letter-spacing: .02em;
    color: rgba(255,255,255,.72); transition: color .15s ease;
}
.stats-switch__link:hover,
.stats-switch__link.is-active { color: #fff; text-decoration: underline; }
.stats-switch__sep { color: rgba(255,255,255,.5); font-size: .75rem; }
/* over the cream Alt2 panel, use grey ink */
.stats-wrap.is-alt2 .stats-switch__link { color: #98938c; }
.stats-wrap.is-alt2 .stats-switch__link:hover,
.stats-wrap.is-alt2 .stats-switch__link.is-active { color: var(--ink-soft); }
.stats-wrap.is-alt2 .stats-switch__sep { color: #b7a98d; }

@media (max-width: 620px) {
    .stats__grid { grid-template-columns: 1fr 1fr; }
}

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

.card {
    background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
    padding: 1.8rem; box-shadow: var(--shadow-sm); transition: transform .18s ease, box-shadow .18s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.card__icon {
    width: 50px; height: 50px; border-radius: 12px; background: var(--navy-soft); color: var(--navy);
    display: grid; place-items: center; font-size: 1.5rem; margin-bottom: 1rem;
}
.card--accent .card__icon { background: var(--red-soft); color: var(--red); }
.card h3 { margin-bottom: .4rem; }
.card p:last-child { margin-bottom: 0; }

/* Media card with photo */
.mcard {
    background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
    overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .18s ease, box-shadow .18s ease;
    display: flex; flex-direction: column;
}
.mcard:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.mcard__media { aspect-ratio: 3 / 2; overflow: hidden; }
.mcard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.mcard:hover .mcard__media img { transform: scale(1.05); }
.mcard__body { padding: 1.4rem 1.5rem 1.6rem; }
.mcard__body h3 { margin-bottom: .35rem; }
.mcard__body p { margin-bottom: 0; color: var(--ink-soft); }
.mcard__tag {
    display: inline-block; font-family: var(--font-head); font-weight: 700; font-size: .72rem;
    letter-spacing: .08em; text-transform: uppercase; color: var(--red); margin-bottom: .5rem;
}

/* Feature list */
.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: .8rem; }
.checklist li { position: relative; padding-left: 2rem; }
.checklist li::before {
    content: "✓"; position: absolute; left: 0; top: .05rem;
    width: 1.4rem; height: 1.4rem; border-radius: 50%; background: var(--navy-soft); color: var(--navy);
    display: grid; place-items: center; font-size: .8rem; font-weight: 700;
}
.section--navy .checklist li::before { background: rgba(255,255,255,.16); color: #fff; }

/* Split content block */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 3.5rem; align-items: center; }
.split__media {
    border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md);
    aspect-ratio: 4 / 3;
}
.split__media img { width: 100%; height: 100%; object-fit: cover; }
.split__media--tall { aspect-ratio: 3 / 4; }

/* Framed image w/ accent */
.framed { position: relative; }
.framed::before {
    content: ""; position: absolute; inset: -14px -14px auto auto; width: 55%; height: 55%;
    border: 3px solid var(--red); border-radius: var(--radius-lg); z-index: -1;
}

/* ---------- Steps ---------- */
.steps { counter-reset: step; display: grid; gap: 1.6rem; }
.step { display: flex; gap: 1.2rem; align-items: flex-start; }
.step__num {
    counter-increment: step; flex: none;
    width: 46px; height: 46px; border-radius: 12px; background: var(--navy); color: #fff;
    display: grid; place-items: center; font-family: var(--font-head); font-weight: 800; font-size: 1.1rem;
}
.step__num::before { content: counter(step); }

/* ---------- Quote / testimonial ---------- */
.testimonial { display: grid; grid-template-columns: .8fr 1.2fr; gap: 3rem; align-items: center; }
.testimonial__media { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); aspect-ratio: 1/1; }
.testimonial__media img { width: 100%; height: 100%; object-fit: cover; }
.testimonial blockquote {
    font-family: var(--font-head); font-size: clamp(1.4rem, 2.4vw, 2.05rem); font-weight: 700;
    line-height: 1.28; letter-spacing: -0.01em; margin: 0 0 1.2rem; color: #fff;
}
.testimonial cite { font-style: normal; color: rgba(255,255,255,.82); font-weight: 600; font-family: var(--font-head); }
.testimonial cite span { display: block; font-family: var(--font-body); font-weight: 400; font-size: .9rem; opacity: .8; }
.quote-mark { font-family: var(--font-head); font-size: 4rem; line-height: .5; color: #e58a8a; }

/* ---------- Partner logo strip ---------- */
.logos {
    list-style: none; margin: 0; padding: 0;
    display: grid; grid-template-columns: repeat(5, 1fr); gap: 1px;
    background: var(--line); border: 1px solid var(--line);
    border-radius: var(--radius-lg); overflow: hidden;
}
.logos__item { background: var(--white); }
.logos__link {
    display: grid; place-items: center; height: 118px; padding: 1.4rem 1.6rem;
    transition: background .15s ease;
}
.logos__link:hover { background: #fff; text-decoration: none; }
.logos__link img {
    max-height: 56px; max-width: 100%; width: auto; object-fit: contain;
    filter: grayscale(1); opacity: .62;
    transition: filter .2s ease, opacity .2s ease, transform .2s ease;
}
.logos__link:hover img { filter: grayscale(0); opacity: 1; transform: scale(1.04); }

.logos__item--cta { background: var(--navy); }
.logos__cta {
    display: grid; place-items: center; height: 100%; padding: 1rem; text-align: center;
    font-family: var(--font-head); font-weight: 700; font-size: 1rem; line-height: 1.15;
    color: #fff; transition: background .15s ease;
}
.logos__cta:hover { background: var(--navy-dark); text-decoration: none; color: #fff; }

@media (max-width: 940px) { .logos { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .logos { grid-template-columns: repeat(2, 1fr); } .logos__link { height: 96px; padding: 1rem; } }

/* ---------- CTA band ---------- */
.cta-band { text-align: center; }
.cta-band .btn { margin: .4rem; }

/* ---------- Utilities ---------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }
.lead { font-size: 1.18rem; color: var(--ink-soft); }
.section--navy .lead { color: rgba(255,255,255,.85); }
.pill { display: inline-block; background: var(--red-soft); color: var(--red); padding: .3rem .85rem; border-radius: 999px; font-family: var(--font-head); font-weight: 700; font-size: .78rem; letter-spacing: .04em; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-deep); color: #b9c6ce; padding-block: 3rem 1.5rem; }
.site-footer a { color: #e5edf1; }
.site-footer h4 { color: #fff; font-size: 1rem; margin-bottom: .8rem; font-family: var(--font-head); }
.site-footer .muted { color: #8aa0ab; }
.site-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 2rem; padding-bottom: 2rem; border-bottom: 1px solid rgba(255,255,255,.12); }
.brand__name--footer { color: #fff; font-family: var(--font-head); font-weight: 800; font-size: 1.5rem; display: block; margin-bottom: .5rem; }
.site-footer__nav { list-style: none; padding: 0; margin: 0; display: grid; gap: .4rem; }
.site-footer__base { display: flex; justify-content: space-between; padding-top: 1.4rem; flex-wrap: wrap; gap: .5rem; }
.site-footer__base .muted { font-size: .85rem; }

/* ---------- Responsive ---------- */
@media (max-width: 940px) {
    .split, .testimonial { grid-template-columns: 1fr; }
    .split__media, .split__media--tall { aspect-ratio: 16/9; }
    .testimonial__media { aspect-ratio: 16/9; }
    .stats__grid { grid-template-columns: repeat(2, 1fr); }
    .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); }
    .site-footer__grid { grid-template-columns: 1fr 1fr; }

    .nav-toggle__btn { display: block; cursor: pointer; }
    .nav {
        position: absolute; top: 100%; left: 0; right: 0;
        flex-direction: column; align-items: stretch; gap: .2rem;
        background: var(--cream); border-bottom: 1px solid var(--line);
        padding: 1rem 1.4rem; box-shadow: var(--shadow-md);
        max-height: 0; overflow: hidden; visibility: hidden; transition: max-height .25s ease;
    }
    .nav-toggle:checked ~ .nav { max-height: 520px; visibility: visible; }
    .nav__link { padding: .8rem 1rem; }
}
@media (max-width: 560px) {
    .grid--3, .grid--4, .grid--2 { grid-template-columns: 1fr; }
    .stats__grid { grid-template-columns: 1fr 1fr; }
    .topbar__hours { display: none; }
    .site-footer__grid { grid-template-columns: 1fr; }
    .brand__logo { height: 52px; }
    .hero__actions .btn { width: 100%; justify-content: center; }
}

/* ---------- Brand / style-guide page ---------- */
.brand-block { padding-block: clamp(2.5rem, 5vw, 4rem); border-bottom: 1px solid var(--line); }
.brand-block:last-of-type { border-bottom: 0; }
.brand-block__head { max-width: 640px; margin-bottom: 2rem; }
.brand-block__head h2 { margin-bottom: .3rem; }
.brand-block__head p { color: var(--ink-soft); margin: 0; }

/* Logo showcase */
.logo-showcase { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.logo-plate { border-radius: var(--radius); border: 1px solid var(--line); display: grid; place-items: center; padding: 2.5rem; min-height: 180px; }
.logo-plate img { max-height: 90px; width: auto; }
.logo-plate--light { background: var(--white); }
.logo-plate--cream { background: var(--cream); }
.logo-plate--navy { background: var(--navy); border-color: var(--navy); }
.logo-plate--red  { background: var(--red);  border-color: var(--red);  }
.logo-plate__label { display:block; font-family:var(--font-head); font-size:.72rem; font-weight:700; letter-spacing:.08em; text-transform:uppercase; color:var(--ink-soft); margin-top:.8rem; text-align:center; }

/* Swatches */
.swatch-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin-bottom: 1.5rem; }
.swatch { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; }
.swatch__chip { height: 96px; display: flex; align-items: flex-end; padding: .6rem .8rem; font-family: var(--font-head); font-weight: 700; font-size: .8rem; }
.swatch__meta { padding: .7rem .8rem 1rem; }
.swatch__name { display: block; font-family: var(--font-head); font-weight: 700; font-size: .95rem; }
.swatch__hex { display: block; font-size: .82rem; color: var(--ink-soft); text-transform: uppercase; letter-spacing: .03em; }
.swatch__use { font-size: .78rem; color: var(--ink-soft); margin-top: .3rem; }
.brand-subhead { font-family: var(--font-head); font-weight: 700; font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; color: var(--red); margin: 0 0 .9rem; }

/* Type specimens */
.specimen { border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; margin-bottom: 1rem; background: #fff; }
.specimen__meta { font-size: .8rem; color: var(--ink-soft); margin-bottom: .6rem; font-family: var(--font-body); }
.specimen__demo :is(h1,h2,h3,p) { margin: 0; }
.font-card { display:flex; gap:1.5rem; flex-wrap:wrap; }
.font-card__block { flex:1 1 260px; border:1px solid var(--line); border-radius:var(--radius); padding:1.4rem; background:#fff; }
.font-card__name { font-family:var(--font-head); font-weight:800; font-size:1.4rem; margin-bottom:.2rem; }
.font-card__glyphs { font-size:1.6rem; letter-spacing:.02em; margin:.6rem 0; }

/* Component demos */
.demo-row { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; }

/* ---------- Comp navigation drawer (design-comp only) ---------- */
.comp-tab {
    position: fixed; left: 0; top: 96px; z-index: 195;
    display: inline-flex; align-items: center; justify-content: center;
    background: var(--navy); color: #fff; border: 0; cursor: pointer;
    padding: 7px 7px; border-radius: 0 8px 8px 0;
    box-shadow: 0 4px 12px -5px rgba(16,30,40,.5);
    transition: background .2s ease;
}
.comp-tab:hover { background: var(--red); }
.comp-tab__chev { width: 14px; height: 14px; fill: currentColor; display: block; transition: transform .25s ease; }
body.comp-nav-open .comp-tab__chev { transform: rotate(180deg); }

.comp-nav {
    position: fixed; top: 0; left: 0; bottom: 0; width: min(320px, 86vw);
    background: var(--white); box-shadow: var(--shadow-lg); z-index: 200;
    transform: translateX(-100%); transition: transform .28s ease;
    display: flex; flex-direction: column; padding: 1.25rem 1.25rem 2rem; overflow-y: auto;
}
body.comp-nav-open .comp-nav { transform: translateX(0); }
.comp-nav__head {
    display: flex; align-items: center; justify-content: space-between;
    margin-bottom: 1rem; padding-bottom: .8rem; border-bottom: 1px solid var(--line);
}
.comp-nav__title { font-family: var(--font-head); font-weight: 800; font-size: .78rem;
    text-transform: uppercase; letter-spacing: .1em; color: var(--ink-soft); }
.comp-nav__close { background: none; border: 0; font-size: 1.7rem; line-height: 1; cursor: pointer;
    color: var(--ink); padding: 0 .15rem; }
.comp-nav__close:hover { color: var(--red); }
.comp-nav__links { display: flex; flex-direction: column; }
.comp-nav__links a {
    display: flex; align-items: center; justify-content: space-between; gap: .5rem;
    padding: .65rem .5rem; border-radius: 8px; text-decoration: none;
    font-family: var(--font-head); font-weight: 600; font-size: .98rem; color: var(--ink);
}
.comp-nav__links a:hover { background: var(--navy-soft); color: var(--navy); }
.comp-nav__links a[aria-current="page"] { background: var(--navy-soft); color: var(--navy); }
.comp-nav__links a.is-disabled { color: var(--ink-soft); opacity: .65; pointer-events: none; }
.comp-nav__wip, .comp-nav__soon {
    font-size: .6rem; font-weight: 800; text-transform: uppercase; letter-spacing: .05em;
    color: var(--ink-soft); background: var(--sand); border: 1px solid var(--line);
    border-radius: 999px; padding: 1px 7px;
}
.comp-nav__soon { color: #8a6d1a; background: #f7efd9; border-color: #ecdfbb; }
.comp-nav__section { margin-top: 1.4rem; padding-top: 1.1rem; border-top: 1px solid var(--line); }
.comp-nav__section:first-of-type { margin-top: 0; padding-top: 0; border-top: 0; }
.comp-nav__section .comp-nav__title { display: block; margin-bottom: .6rem; }
.comp-nav__select {
    width: 100%; padding: .55rem 2rem .55rem .7rem; cursor: pointer;
    border: 1px solid var(--line); border-radius: 10px; background-color: var(--white);
    color: var(--navy); font-family: var(--font-head); font-weight: 700; font-size: .9rem;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%2358666f'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right .45rem center; background-size: 18px;
}
.comp-nav__select:focus { outline: 2px solid var(--navy); outline-offset: 1px; }

.comp-nav__util { margin-top: auto; padding-top: 1rem; border-top: 1px solid var(--line); }
.comp-nav__note { font-size: .8rem; color: var(--ink-soft); margin: .8rem 0 0; }
.comp-nav-backdrop {
    position: fixed; inset: 0; background: rgba(16,30,40,.5);
    opacity: 0; visibility: hidden; transition: .28s; z-index: 190;
}
body.comp-nav-open .comp-nav-backdrop { opacity: 1; visibility: visible; }

@media (prefers-reduced-motion: reduce) {
    * { scroll-behavior: auto !important; transition: none !important; }
}
