/* ═══════════════════════════════════════════════════════════════════
   OFFICE OF HON. KELVIN GBAFFAH BOAKYE YIADOM — DIGITAL OFFICE PORTAL
   assets/css/style.css — Shared Public Design System
   Method 1 · Phase 1 — Public Foundation & Core Engagement

   ARCHITECTURAL RULE
   This file is part of the Office of Hon. Kelvin Gbaffah Boakye Yiadom
   Digital Office & Engagement Portal. Do not redesign, rename, remove or
   contradict existing project architecture. Build only the requested
   file/functionality while keeping it compatible with the master database,
   configuration and future Office/Admin system.

   DESIGN DIRECTION
   Professional · institutional · modern · elegant · clean · mobile-first
   Blue dominant · subtle gold accents · serif headings · restrained motion
   ═══════════════════════════════════════════════════════════════════ */

/* ── Design tokens ────────────────────────────────────────────────── */
:root {
    --white: #FFFFFF;
    --off-white: #F5F7FA;

    --blue: #1E56A0;            /* primary institutional blue */
    --blue-hover: #164683;
    --blue-glow: rgba(30, 86, 160, 0.32);

    --navy: #0C2340;            /* dark sections */
    --navy-card: #132F52;
    --navy-deep: #081A31;

    --gold: #C9A227;            /* subtle accent — used sparingly */
    --gold-deep: #A8861B;       /* accent text on light backgrounds */
    --gold-soft: #E3C566;       /* accent text on dark backgrounds */
    --gold-glow: rgba(201, 162, 39, 0.32);

    --text: #14263C;
    --text-muted: #54657C;
    --text-light: #8794A6;
    --line: #E3E8EF;

    --radius-pill: 999px;
    --radius-xl: 40px;
    --radius-lg: 28px;
    --radius-md: 20px;
    --transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);

    --font-body: 'DM Sans', system-ui, sans-serif;
    --font-head: 'Source Serif 4', Georgia, serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: var(--font-body);
    background: var(--off-white);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-head); }
section[id], div[id] { scroll-margin-top: 120px; }

a:focus-visible, button:focus-visible {
    outline: 3px solid var(--gold);
    outline-offset: 3px;
    border-radius: 8px;
}

.skip-link {
    position: absolute;
    left: 16px;
    top: -64px;
    z-index: 2000;
    background: var(--navy);
    color: #fff;
    padding: 12px 20px;
    border-radius: 0 0 12px 12px;
    font-weight: 600;
    font-size: 0.85rem;
    transition: top 0.3s ease;
}
.skip-link:focus { top: 0; }

/* ── Floating nav ─────────────────────────────────────────────────── */
.nav-wrap {
    position: fixed;
    top: 24px;
    left: 0;
    right: 0;
    z-index: 1000;
    display: flex;
    justify-content: center;
    padding: 0 20px;
    pointer-events: none;
}
.navbar {
    pointer-events: all;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 8px;
    background: var(--navy);
    border-radius: var(--radius-pill);
    padding: 8px 12px;
    max-width: 880px;
    width: 100%;
    box-shadow: 0 16px 48px rgba(8, 26, 49, 0.30);
}
.nav-links {
    display: flex;
    align-items: center;
    gap: 2px;
    list-style: none;
}
.nav-links-left { justify-content: flex-end; }
.nav-links-right { justify-content: flex-start; }
.nav-links a {
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.8rem;
    font-weight: 500;
    padding: 10px 14px;
    border-radius: var(--radius-pill);
    transition: var(--transition);
    white-space: nowrap;
}
.nav-links a:hover { color: #fff; }
.nav-links a.active { color: var(--gold-soft); }
.nav-links a.nav-cta {
    background: var(--gold);
    color: var(--navy);
    font-weight: 700;
    margin-left: 6px;
}
.nav-links a.nav-cta:hover { background: var(--gold-soft); color: var(--navy); }

.nav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    padding: 4px 10px;
}
.nav-brand .logo-dot {
    width: 34px;
    height: 34px;
    background: var(--gold);
    color: var(--navy);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-head);
    font-size: 1.05rem;
    font-weight: 700;
    flex-shrink: 0;
}
.nav-brand .brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}
.nav-brand .brand-text strong {
    font-family: var(--font-head);
    font-size: 0.88rem;
    font-weight: 700;
    white-space: nowrap;
}
.nav-brand .brand-text small {
    font-size: 0.56rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--gold-soft);
    font-weight: 600;
}
.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    flex-direction: column;
    gap: 5px;
}
.nav-toggle span {
    width: 22px;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: var(--transition);
}
.nav-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

.mobile-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(8, 26, 49, 0.55);
    z-index: 998;
}
.mobile-overlay.show { display: block; }
.mobile-menu {
    display: none;
    position: fixed;
    top: 88px;
    left: 20px;
    right: 20px;
    background: var(--navy);
    border-radius: var(--radius-lg);
    padding: 12px;
    z-index: 999;
    flex-direction: column;
    box-shadow: 0 24px 60px rgba(8, 26, 49, 0.45);
}
.mobile-menu.show { display: flex; }
.mobile-menu a {
    color: rgba(255, 255, 255, 0.85);
    padding: 14px 18px;
    border-radius: 12px;
    font-weight: 500;
    font-size: 0.95rem;
}
.mobile-menu a:hover { background: rgba(30, 86, 160, 0.25); color: #fff; }
.mobile-menu a.menu-cta {
    background: var(--gold);
    color: var(--navy);
    font-weight: 700;
    text-align: center;
    margin-top: 6px;
}
.mobile-menu a.menu-cta:hover { background: var(--gold-soft); }

/* ── Page shell ───────────────────────────────────────────────────── */
.page {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px 80px;
}

/* ── Hero ─────────────────────────────────────────────────────────── */
.hero {
    position: relative;
    background: var(--white);
    border-radius: 0 0 var(--radius-xl) var(--radius-xl);
    padding: 110px 20px 0;
    text-align: center;
    overflow: hidden;
    isolation: isolate;
}
.hero-intro {
    position: relative;
    z-index: 10;
    padding: 0 8px 4px;
}
.hero-bubble {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    background: var(--white);
    border: 1px solid var(--line);
    padding: 8px 18px;
    border-radius: var(--radius-pill);
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: var(--text-muted);
    box-shadow: 0 4px 20px rgba(16, 35, 59, 0.05);
    margin-bottom: 20px;
}
.hero-bubble::before {
    content: '';
    width: 8px;
    height: 8px;
    background: var(--gold);
    border-radius: 50%;
    animation: pulse 2.8s ease-in-out infinite;
}
.hero-title {
    font-size: clamp(2rem, 5.5vw, 3.5rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.12;
    margin-bottom: 10px;
    color: var(--text);
}
.hero-title .accent { color: var(--blue); }
.hero-role {
    font-size: clamp(0.95rem, 2.5vw, 1.12rem);
    font-weight: 600;
    color: var(--gold-deep);
    margin-bottom: 10px;
    letter-spacing: 0.01em;
}
.hero-desc {
    font-size: 0.92rem;
    color: var(--text-muted);
    max-width: 520px;
    margin: 0 auto;
    line-height: 1.65;
}

.hero-stage {
    position: relative;
    z-index: 1;
    height: 400px;
    margin-top: 12px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    pointer-events: none;
}
.hero-stage > * { pointer-events: auto; }
.hero-circle {
    position: absolute;
    width: min(340px, 72vw);
    height: min(340px, 72vw);
    background: var(--blue);
    border-radius: 50%;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 0;
    box-shadow: 0 30px 70px var(--blue-glow);
    outline: 1px solid rgba(201, 162, 39, 0.40);
    outline-offset: 16px;
}
.hero-person {
    position: relative;
    z-index: 2;
    max-height: 420px;
    width: auto;
    object-fit: contain;
    margin-bottom: 0;
    filter: drop-shadow(0 20px 40px rgba(8, 26, 49, 0.16));
    animation: float 5s ease-in-out infinite 0.3s;
}

.hero-stat-left {
    position: absolute;
    left: 0;
    top: 28%;
    max-width: 210px;
    text-align: left;
    background: var(--white);
    border: 1px solid var(--line);
    padding: 18px 20px;
    border-radius: var(--radius-md);
    box-shadow: 0 8px 30px rgba(16, 35, 59, 0.07);
    z-index: 5;
    animation: float 4.5s ease-in-out infinite 0.8s;
}
.hero-stat-left .quote-icon {
    font-family: var(--font-head);
    font-size: 2.2rem;
    color: var(--gold);
    line-height: 0.6;
    margin-bottom: 10px;
}
.hero-stat-left p {
    font-size: 0.78rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin-bottom: 10px;
}
.hero-stat-left strong {
    font-size: 0.92rem;
    color: var(--text);
    display: block;
    line-height: 1.4;
}
.hero-stat-right {
    position: absolute;
    right: 0;
    top: 22%;
    background: var(--white);
    border: 1px solid var(--line);
    padding: 16px 22px;
    border-radius: var(--radius-md);
    box-shadow: 0 8px 30px rgba(16, 35, 59, 0.08);
    z-index: 5;
    text-align: center;
    animation: float 4s ease-in-out infinite 0.2s;
}
.hero-stat-right .stat-tag {
    display: block;
    font-size: 0.62rem;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: var(--gold-deep);
    font-weight: 700;
    margin-bottom: 6px;
}
.hero-stat-right strong {
    display: block;
    font-family: var(--font-head);
    font-size: 1rem;
    color: var(--text);
}
.hero-stat-right span:last-child {
    font-size: 0.72rem;
    color: var(--text-muted);
}

.hero-cta {
    position: relative;
    z-index: 30;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 16px;
    padding: 8px 20px 56px;
    background: var(--white);
}
.hero-cta-link {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
    transition: var(--transition);
}
.hero-cta-link:hover { color: var(--blue); }

/* ── Buttons ──────────────────────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px 32px;
    border-radius: var(--radius-pill);
    font-weight: 600;
    font-size: 0.92rem;
    font-family: var(--font-body);
    cursor: pointer;
    border: none;
    transition: var(--transition);
}
.btn svg { width: 16px; height: 16px; }
.btn-primary {
    background: var(--blue);
    color: #fff;
    box-shadow: 0 10px 28px var(--blue-glow);
}
.btn-primary:hover {
    background: var(--blue-hover);
    transform: translateY(-3px);
    box-shadow: 0 16px 40px var(--blue-glow);
}
.btn-outline {
    background: var(--white);
    color: var(--text);
    border: 2px solid var(--navy);
}
.btn-outline:hover {
    background: var(--navy);
    color: #fff;
    transform: translateY(-3px);
}
.btn-gold {
    background: var(--gold);
    color: var(--navy);
    box-shadow: 0 10px 28px var(--gold-glow);
}
.btn-gold:hover {
    background: var(--gold-deep);
    color: #fff;
    transform: translateY(-3px);
}
.btn-outline-light {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.65);
}
.btn-outline-light:hover {
    background: #fff;
    color: var(--blue);
    transform: translateY(-3px);
}

/* ── Section headers / tags ───────────────────────────────────────── */
.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--gold-deep);
    margin-bottom: 12px;
}
.section-tag::before,
.section-tag::after {
    content: '';
    width: 22px;
    height: 2px;
    background: var(--gold);
}
.section-head {
    text-align: center;
    max-width: 620px;
    margin: 0 auto 36px;
}
.section-head h2 {
    font-size: clamp(1.5rem, 4vw, 2rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 10px;
}
.section-head h2 em { font-style: normal; color: var(--blue); }
.section-head > p {
    color: var(--text-muted);
    font-size: 0.92rem;
    line-height: 1.65;
}

/* ── Seven areas of service (dark, overlaps hero) ─────────────────── */
.services-wrap {
    position: relative;
    z-index: 5;
    margin-top: -24px;
    padding-bottom: 20px;
}
.services-dark {
    background: var(--navy);
    border-radius: var(--radius-xl);
    padding: 44px 36px 48px;
    box-shadow: 0 24px 80px rgba(8, 26, 49, 0.38);
}
.services-header {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    gap: 24px;
    margin-bottom: 36px;
}
.services-header h2 {
    font-size: clamp(1.6rem, 4vw, 2rem);
    font-weight: 700;
    color: #fff;
    line-height: 1.2;
}
.services-header h2 em { font-style: normal; color: var(--gold-soft); }
.services-header p {
    max-width: 320px;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.48);
    line-height: 1.65;
}

.service-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    align-items: stretch;
}
.service-card {
    background: var(--navy-card);
    border-radius: var(--radius-lg);
    padding: 22px 20px 20px;
    position: relative;
    min-height: 360px;
    display: flex;
    flex-direction: column;
    transition: var(--transition);
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, 0.07);
    overflow: hidden;
}
.service-card:hover { transform: translateY(-6px); }
.service-card.featured {
    background: var(--blue);
    border-color: transparent;
    box-shadow: 0 20px 50px var(--blue-glow);
}
.service-num {
    display: block;
    font-family: var(--font-head);
    font-size: 0.78rem;
    letter-spacing: 0.2em;
    color: var(--gold-soft);
    font-weight: 700;
    margin-bottom: 10px;
}
.service-card h3 {
    font-size: 1.02rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 8px;
    position: relative;
    z-index: 2;
    line-height: 1.3;
}
.service-desc {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.55);
    line-height: 1.55;
    margin-bottom: 14px;
    position: relative;
    z-index: 2;
}
.service-card.featured .service-desc { color: rgba(255, 255, 255, 0.78); }
.service-card-visual {
    flex: 1;
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    margin-bottom: 12px;
    min-height: 170px;
}
.mock-stack {
    position: relative;
    width: 85%;
    max-width: 200px;
    height: 160px;
}
.mock-stack .layer {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 12px 32px rgba(8, 26, 49, 0.45);
    transition: var(--transition);
}
.mock-stack .layer img { width: 100%; height: 100%; object-fit: cover; }
.mock-stack .layer:nth-child(1) { width: 75%; height: 55%; bottom: 0; z-index: 1; opacity: 0.5; }
.mock-stack .layer:nth-child(2) { width: 88%; height: 68%; bottom: 12px; z-index: 2; opacity: 0.75; }
.mock-stack .layer:nth-child(3) { width: 100%; height: 82%; bottom: 28px; z-index: 3; }
.service-card:hover .mock-stack .layer:nth-child(3) { transform: translateX(-50%) translateY(-6px); }
.service-card-arrow {
    position: absolute;
    bottom: 20px;
    right: 20px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #1D3B63;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    z-index: 5;
}
.service-card.featured .service-card-arrow { background: #fff; color: var(--blue); }
.service-card:hover .service-card-arrow { transform: rotate(-45deg) scale(1.08); }

/* 07 — wide featured card (Pastor & Ministry) */
.service-card-wide {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 32px;
    align-items: center;
    min-height: 0;
    padding: 28px 32px;
}
.service-card-wide .service-card-visual { min-height: 200px; margin-bottom: 0; }
.service-card-wide .mock-stack { height: 190px; max-width: 230px; }
.service-card-wide .wide-body { padding-right: 56px; }
.service-card-wide h3 { font-size: 1.35rem; }
.service-card-wide .service-desc {
    font-size: 0.9rem;
    max-width: 560px;
    margin-bottom: 16px;
}
.wide-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--gold-soft);
    font-weight: 700;
    font-size: 0.88rem;
    transition: var(--transition);
}
.wide-link:hover { color: #fff; }
.wide-link svg { transition: transform var(--transition); }
.wide-link:hover svg { transform: translateX(3px); }

/* ── About / biography ────────────────────────────────────────────── */
.about {
    background: var(--white);
    border-radius: var(--radius-xl);
    margin-top: 32px;
    padding: 56px 44px;
    box-shadow: 0 4px 24px rgba(16, 35, 59, 0.05);
}
.about-grid {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 48px;
    align-items: start;
}
.portrait-frame { position: relative; }
.portrait-frame::before {
    content: '';
    position: absolute;
    inset: -14px;
    border: 2px solid var(--gold);
    border-radius: calc(var(--radius-lg) + 10px);
    opacity: 0.45;
    pointer-events: none;
}
.portrait-frame img {
    border-radius: var(--radius-lg);
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    position: relative;
}
.portrait-caption { margin-top: 20px; padding-left: 4px; }
.portrait-caption strong {
    display: block;
    font-family: var(--font-head);
    font-size: 1.05rem;
    color: var(--text);
    line-height: 1.35;
}
.portrait-caption span {
    font-size: 0.72rem;
    color: var(--gold-deep);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}
.about-body h2 {
    font-size: clamp(1.5rem, 3.5vw, 1.9rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.25;
    margin-bottom: 16px;
}
.about-bio {
    color: var(--text-muted);
    font-size: 0.92rem;
    line-height: 1.75;
    margin-bottom: 14px;
}
.service-statement {
    background: var(--navy);
    border-left: 4px solid var(--gold);
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    padding: 18px 22px;
    margin: 22px 0;
}
.service-statement span {
    display: block;
    font-size: 0.66rem;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: var(--gold-soft);
    font-weight: 700;
    margin-bottom: 6px;
}
.service-statement p {
    font-family: var(--font-head);
    font-size: 1rem;
    color: #fff;
    line-height: 1.55;
}
.about-facts {
    list-style: none;
    margin-top: 22px;
    display: grid;
    gap: 10px;
}
.about-facts li {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 16px;
    padding: 12px 16px;
    background: var(--off-white);
    border-radius: 12px;
    font-size: 0.85rem;
}
.about-facts li span { color: var(--text-muted); }
.about-facts li strong { color: var(--text); text-align: right; }

/* ── Stats ────────────────────────────────────────────────────────── */
.stats-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-top: 32px;
}
.stat-box {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 24px 16px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(16, 35, 59, 0.04);
    transition: var(--transition);
}
.stat-box:hover { transform: translateY(-4px); }
.stat-box strong {
    display: block;
    font-family: var(--font-head);
    font-size: 1.75rem;
    color: var(--blue);
    font-weight: 700;
}
.stat-box span {
    font-size: 0.76rem;
    color: var(--text-muted);
}

/* ── Announcements ────────────────────────────────────────────────── */
.announcements { margin-top: 48px; }
.announcements-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}
.announce-card {
    background: var(--navy);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-lg);
    padding: 26px 24px;
    color: #fff;
    display: flex;
    flex-direction: column;
    gap: 10px;
    transition: var(--transition);
}
.announce-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(12, 35, 64, 0.28);
}
.announce-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
}
.announce-tag {
    font-size: 0.66rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--navy);
    background: var(--gold-soft);
    padding: 4px 10px;
    border-radius: var(--radius-pill);
    white-space: nowrap;
}
.announce-card time {
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.45);
    white-space: nowrap;
}
.announce-card h3 {
    font-size: 1.02rem;
    line-height: 1.35;
}
.announce-card p {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.62);
    line-height: 1.6;
    flex: 1;
}

/* ── Publications ─────────────────────────────────────────────────── */
.publications { margin-top: 48px; }
.pub-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}
.pub-card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 26px 24px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    transition: var(--transition);
}
.pub-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 36px rgba(16, 35, 59, 0.09);
    border-color: transparent;
}
.pub-type {
    align-self: flex-start;
    font-size: 0.66rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--blue);
    background: rgba(30, 86, 160, 0.08);
    padding: 4px 10px;
    border-radius: var(--radius-pill);
}
.pub-card h3 {
    font-size: 1.02rem;
    line-height: 1.35;
    color: var(--text);
}
.pub-card p {
    font-size: 0.82rem;
    color: var(--text-muted);
    line-height: 1.6;
    flex: 1;
}
.pub-foot {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 6px;
    padding-top: 14px;
    border-top: 1px solid var(--line);
    font-size: 0.75rem;
    color: var(--text-light);
}
.pub-link {
    color: var(--blue);
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.pub-link:hover { color: var(--blue-hover); }
.pub-link svg { width: 14px; height: 14px; transition: transform var(--transition); }
.pub-link:hover svg { transform: translateX(3px); }

/* ── Engage banner — all five brief CTAs ──────────────────────────── */
.engage-banner {
    margin-top: 48px;
    background: linear-gradient(135deg, var(--navy) 0%, var(--blue) 100%);
    border-radius: var(--radius-xl);
    padding: 56px 40px;
    color: #fff;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.engage-banner::before,
.engage-banner::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    background: rgba(201, 162, 39, 0.14);
}
.engage-banner::before {
    width: 300px;
    height: 300px;
    top: -110px;
    right: -80px;
}
.engage-banner::after {
    width: 220px;
    height: 220px;
    bottom: -90px;
    left: -60px;
}
.engage-tag {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--gold-soft);
    margin-bottom: 12px;
    position: relative;
}
.engage-tag::before,
.engage-tag::after {
    content: '';
    width: 22px;
    height: 2px;
    background: var(--gold);
}
.engage-banner h2 {
    font-size: clamp(1.4rem, 3.5vw, 1.9rem);
    margin-bottom: 12px;
    position: relative;
}
.engage-banner > p:not(.engage-tag):not(.engage-note) {
    max-width: 560px;
    margin: 0 auto;
    font-size: 0.92rem;
    opacity: 0.9;
    line-height: 1.65;
    position: relative;
}
.cta-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin: 28px auto 0;
    max-width: 840px;
    position: relative;
}
.engage-note {
    margin-top: 22px;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.65);
    position: relative;
}

/* ── Footer ───────────────────────────────────────────────────────── */
.page-footer {
    margin-top: 48px;
    background: var(--navy-deep);
    border-radius: var(--radius-xl);
    padding: 44px 40px 30px;
    color: rgba(255, 255, 255, 0.72);
}
.footer-top {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr;
    gap: 36px;
    padding-bottom: 28px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.footer-brand { display: flex; gap: 14px; align-items: flex-start; }
.footer-brand .logo-dot {
    width: 40px;
    height: 40px;
    background: var(--gold);
    color: var(--navy);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-head);
    font-size: 1.2rem;
    font-weight: 700;
    flex-shrink: 0;
}
.footer-brand strong {
    display: block;
    font-family: var(--font-head);
    color: #fff;
    font-size: 0.98rem;
    line-height: 1.35;
    margin-bottom: 4px;
}
.footer-sub {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--gold-soft);
    font-weight: 600;
}
.footer-col h4 {
    font-family: var(--font-body);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--gold-soft);
    margin-bottom: 14px;
    font-weight: 700;
}
.footer-links { display: flex; flex-direction: column; gap: 8px; }
.footer-links a {
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.88rem;
    transition: var(--transition);
}
.footer-links a:hover { color: var(--gold-soft); }
.footer-contact { display: flex; flex-direction: column; gap: 8px; font-size: 0.85rem; }
.footer-bottom {
    padding-top: 22px;
    display: flex;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.42);
}

/* ── Reveal animation ─────────────────────────────────────────────── */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}
@keyframes pulse {
    0%, 100% { box-shadow: 0 0 0 3px rgba(201, 162, 39, 0.18); }
    50% { box-shadow: 0 0 0 8px rgba(201, 162, 39, 0.04); }
}

/* ── Responsive ───────────────────────────────────────────────────── */
@media (min-width: 901px) {
    .hero { min-height: 680px; }
    .hero-stage { height: 420px; }
    .hero-circle {
        width: min(380px, 42vw);
        height: min(380px, 42vw);
        bottom: 50px;
    }
    .hero-cta { margin-top: 12px; padding-bottom: 72px; }
    .services-wrap { margin-top: -16px; }
    .service-card:hover { z-index: 3; }
}

/* Nav collapses earlier than the template because this navbar carries more links */
@media (max-width: 1020px) {
    .nav-links-left, .nav-links-right { display: none; }
    .nav-toggle {
        display: flex;
        justify-self: end;
        grid-column: 3;
    }
    .navbar { grid-template-columns: 1fr auto auto; }
    .nav-brand { grid-column: 1; justify-self: start; }
}

@media (max-width: 900px) {
    .service-cards { grid-template-columns: 1fr; gap: 20px; }
    .service-card { min-height: 320px; }
    .service-card-wide {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 24px 20px;
    }
    .service-card-wide .wide-body { padding-right: 0; }
    .service-card-wide .mock-stack { height: 160px; }
    .announcements-grid, .pub-grid { grid-template-columns: 1fr; }
    .stats-row { grid-template-columns: repeat(2, 1fr); }
    .hero-stat-left, .hero-stat-right { display: none; }
    .hero { padding-top: 96px; }
    .hero-stage { height: 300px; }
    .hero-circle {
        width: min(260px, 65vw);
        height: min(260px, 65vw);
        bottom: 16px;
    }
    .hero-person { max-height: 300px; }
    .services-wrap { margin-top: 20px; }
    .hero-cta { padding-bottom: 44px; }
    .about { padding: 44px 28px; margin-top: 24px; }
    .about-grid { grid-template-columns: 1fr; gap: 36px; }
    .about-portrait { max-width: 420px; margin: 0 auto; }
}

@media (max-width: 768px) {
    .navbar { max-width: calc(100% - 32px); padding: 10px 14px; }
    .nav-brand .brand-text strong { font-size: 0.82rem; }
    .hero { padding-top: 88px; padding-left: 16px; padding-right: 16px; }
    .hero-title { font-size: clamp(1.75rem, 7.5vw, 2.3rem); }
    .hero-stage { height: 280px; margin-top: 8px; }
    .hero-circle {
        width: min(240px, 62vw);
        height: min(240px, 62vw);
        bottom: 8px;
    }
    .hero-person { max-height: 270px; }
    .hero-cta {
        margin-top: 20px;
        padding: 12px 16px 40px;
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }
    .hero-cta .btn { width: 100%; }
    .services-wrap { margin-top: 24px; }
    .services-dark {
        padding: 32px 20px 36px;
        border-radius: 28px 28px var(--radius-xl) var(--radius-xl);
    }
    .engage-banner { padding: 40px 20px; }
    .cta-grid { flex-direction: column; }
    .cta-grid .btn { width: 100%; }
    .page-footer { padding: 36px 24px 26px; }
    .footer-top { grid-template-columns: 1fr; gap: 28px; }
    .footer-bottom { flex-direction: column; }
    .page { padding-left: 16px; padding-right: 16px; }
}

/* ── Reduced motion (restrained animations, respected) ────────────── */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    html { scroll-behavior: auto; }
    .reveal { opacity: 1; transform: none; }
}