/* ============================================================
   SN Eng Services — main.css
   Design tokens per DESIGN.md (sampled from the company profile PDF).
   ============================================================ */

:root {
    --navy:        #0F2A52;
    --navy-dark:   #0A1F3D;
    --gold:        #E5A929;
    --gold-dark:   #C78F1A;
    --powder:      #DCE9F5;
    --white:       #FFFFFF;
    --ink:         #1F2A37;
    --slate:       #6B7280;
    --line:        #D8DEE6;

    --font-head: 'Montserrat', 'Helvetica Neue', Arial, sans-serif;
    --font-body: 'Inter', 'Helvetica Neue', Arial, sans-serif;

    --max: 1120px;
    --radius: 12px;
    --shadow: 0 2px 12px rgba(15, 42, 82, .08);
}

/* ---------- Reset / base ---------- */

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.65;
    color: var(--ink);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; }

h1, h2, h3, h4 {
    font-family: var(--font-head);
    color: var(--navy);
    line-height: 1.2;
    margin: 0 0 .6em;
}

h1 { font-size: clamp(2rem, 4.5vw, 2.9rem); font-weight: 800; letter-spacing: -.01em; }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 700; }
h3 { font-size: 1.2rem; font-weight: 700; }

p { margin: 0 0 1em; }

a { color: var(--navy); text-underline-offset: 3px; }
a:hover { color: var(--gold-dark); }

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
    outline: 3px solid var(--gold);
    outline-offset: 2px;
    border-radius: 2px;
}

.container {
    max-width: var(--max);
    margin-inline: auto;
    padding-inline: 24px;
}

.section { padding: 72px 0; }
.section--tint { background: var(--powder); }
.section--navy { background: var(--navy); }

/* ---------- Buttons & links ---------- */

.btn {
    display: inline-block;
    font-family: var(--font-head);
    font-weight: 700;
    font-size: .95rem;
    letter-spacing: .02em;
    padding: 13px 28px;
    border-radius: 8px;
    border: 2px solid transparent;
    text-decoration: none;
    cursor: pointer;
    transition: background-color .18s ease, color .18s ease, border-color .18s ease;
}
.btn--gold { background: var(--gold); color: var(--navy-dark); }
.btn--gold:hover { background: var(--gold-dark); color: var(--navy-dark); }
.btn--navy { background: var(--navy); color: var(--white); }
.btn--navy:hover { background: var(--navy-dark); color: var(--white); }
.btn--outline { border-color: rgba(255, 255, 255, .7); color: var(--white); }
.btn--outline:hover { border-color: var(--gold); color: var(--gold); }

.text-link {
    font-family: var(--font-head);
    font-weight: 600;
    font-size: .95rem;
    text-decoration: none;
    border-bottom: 2px solid var(--gold);
    padding-bottom: 2px;
}
.text-link:hover { color: var(--gold-dark); }
.text-link--gold { color: var(--gold); }
.text-link--gold:hover { color: var(--white); }

.eyebrow {
    font-family: var(--font-head);
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: var(--slate);
    margin-bottom: 10px;
}
.eyebrow--gold { color: var(--gold); }

/* ---------- Header (navy bar + gold underline — the signature motif) ---------- */

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--navy);
    border-bottom: 4px solid var(--gold);
}

.site-header-inner {
    max-width: var(--max);
    margin-inline: auto;
    padding: 10px 24px;
    display: flex;
    align-items: center;
    gap: 24px;
}

.site-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    margin-right: auto;
}
.site-brand-emblem {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--white);
    padding: 2px;
}
.site-brand-text { display: flex; flex-direction: column; }
.site-brand-name {
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--white);
    line-height: 1.15;
}
.site-brand-tag {
    font-size: .68rem;
    color: rgba(255, 255, 255, .65);
    letter-spacing: .04em;
}

.site-nav-list {
    display: flex;
    gap: 4px;
    list-style: none;
    margin: 0;
    padding: 0;
}
.site-nav-list a {
    display: block;
    font-family: var(--font-head);
    font-weight: 600;
    font-size: .88rem;
    color: rgba(255, 255, 255, .85);
    text-decoration: none;
    padding: 10px 14px;
    border-radius: 6px;
    transition: color .15s ease, background-color .15s ease;
}
.site-nav-list a:hover { color: var(--white); background: rgba(255, 255, 255, .08); }
.site-nav-list .current-menu-item a,
.site-nav-list .current_page_item a {
    color: var(--gold);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: 0;
    padding: 10px 6px;
    cursor: pointer;
}
.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--white);
    transition: transform .2s ease, opacity .2s ease;
}

/* ---------- Hero ---------- */

.hero {
    position: relative;
    background: var(--navy-dark);
    overflow: hidden;
    text-align: center;
}

.hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(160deg, rgba(15, 42, 82, .88) 0%, rgba(10, 31, 61, .82) 100%);
}

.hero-body {
    position: relative;
    z-index: 1;
    padding: 88px 24px 96px;
    max-width: 860px;
}

.hero-emblem {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: var(--white);
    padding: 6px;
    box-shadow: 0 8px 40px rgba(0, 0, 0, .35);
    margin-bottom: 28px;
}

.hero-eyebrow {
    font-family: var(--font-head);
    font-size: .78rem;
    font-weight: 600;
    letter-spacing: .28em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .7);
    margin-bottom: 14px;
}

.hero-tagline {
    font-style: italic;
    font-weight: 600;
    color: var(--gold);
    font-size: clamp(2.4rem, 6vw, 4rem);
    letter-spacing: 0;
    margin-bottom: 20px;
}

.hero-lede {
    color: rgba(255, 255, 255, .85);
    font-size: 1.12rem;
    max-width: 640px;
    margin: 0 auto 32px;
}

.hero-ctas {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ---------- Page header (interior pages) ---------- */

.page-header {
    background: var(--navy);
    border-bottom: 4px solid var(--gold);
    padding: 64px 0 52px;
}
.page-header h1 { color: var(--white); margin-bottom: 8px; }
.page-header-sub {
    color: rgba(255, 255, 255, .78);
    font-size: 1.08rem;
    max-width: 640px;
    margin: 0;
}

/* ---------- Section heads / intro ---------- */

.section-head {
    max-width: 640px;
    margin-bottom: 40px;
}
.section-head p { color: var(--slate); font-size: 1.05rem; margin: 0; }

.intro {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 56px;
    align-items: start;
}
.intro-text p { color: var(--ink); }

.intro-facts {
    margin: 0;
    background: var(--white);
    border: 1px solid var(--line);
    border-bottom: 4px solid var(--gold);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 28px;
}
.intro-fact { padding: 12px 0; }
.intro-fact + .intro-fact { border-top: 1px solid var(--line); }
.intro-fact dt {
    font-family: var(--font-head);
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--slate);
    margin-bottom: 4px;
}
.intro-fact dd { margin: 0; font-weight: 500; color: var(--navy); }

/* ---------- Cards ---------- */

.card-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.card-grid--three { grid-template-columns: repeat(3, 1fr); }

.card {
    position: relative;
    display: block;
    background: var(--white);
    border: 1px solid var(--line);
    border-bottom: 4px solid var(--gold);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 28px 24px 24px;
    text-decoration: none;
    color: var(--ink);
    transition: transform .18s ease, box-shadow .18s ease;
}
a.card:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(15, 42, 82, .14); color: var(--ink); }
.card p { color: var(--slate); font-size: .95rem; margin: 0; }

.card-index {
    display: block;
    font-family: var(--font-head);
    font-weight: 800;
    font-size: .8rem;
    letter-spacing: .18em;
    color: var(--gold);
    margin-bottom: 12px;
}

.card-more {
    display: inline-block;
    margin-top: 16px;
    font-family: var(--font-head);
    font-weight: 600;
    font-size: .85rem;
    color: var(--navy);
    border-bottom: 2px solid var(--gold);
    padding-bottom: 2px;
}

.card-list {
    margin: 0;
    padding: 0;
    list-style: none;
    color: var(--slate);
    font-size: .95rem;
}
.card-list li { padding: 5px 0 5px 18px; position: relative; }
.card-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 13px;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--gold);
}

/* ---------- Portal teaser ---------- */

.portal-teaser {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    background: var(--white);
    border: 1px solid var(--line);
    border-left: 6px solid var(--gold);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 36px 40px;
}
.portal-teaser-text { max-width: 640px; }
.portal-teaser-text p:last-child { margin: 0; color: var(--slate); }
.portal-teaser .btn { flex-shrink: 0; }
.portal-teaser--inline { margin-top: 32px; padding: 24px 32px; }
.portal-teaser--inline p { margin: 0; }

/* ---------- Partners strip / CTA band ---------- */

.partners-strip { text-align: center; max-width: 760px; }
.partners-strip h2 { color: var(--white); }
.partners-strip p { color: rgba(255, 255, 255, .8); font-size: 1.05rem; margin-bottom: 20px; }

.cta-band { text-align: center; max-width: 680px; }
.cta-band p { color: var(--slate); font-size: 1.05rem; margin-bottom: 24px; }

/* ---------- Pull quote ---------- */

.pull-quote {
    font-family: var(--font-head);
    font-style: italic;
    font-weight: 600;
    font-size: 1.6rem;
    color: var(--gold-dark);
    border-left: 4px solid var(--gold);
    margin: 32px 0;
    padding: 8px 0 8px 24px;
}

/* ---------- Prose ---------- */

.prose-narrow { max-width: 720px; }
.prose-narrow h2 { margin-top: 40px; }
.prose-narrow h2:first-child { margin-top: 0; }
.prose { max-width: 720px; }

/* ---------- Anchor nav (services) ---------- */

.anchor-nav {
    background: var(--white);
    border-bottom: 1px solid var(--line);
    position: sticky;
    top: 68px;
    z-index: 50;
}
.anchor-nav-list {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-top: 12px;
    padding-bottom: 12px;
    scrollbar-width: none;
}
.anchor-nav-list::-webkit-scrollbar { display: none; }
.anchor-nav-list a {
    flex-shrink: 0;
    font-family: var(--font-head);
    font-weight: 600;
    font-size: .82rem;
    color: var(--navy);
    text-decoration: none;
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 7px 16px;
    transition: border-color .15s ease, background-color .15s ease;
}
.anchor-nav-list a:hover { border-color: var(--gold); background: var(--powder); }

/* ---------- Service sections ---------- */

.service { scroll-margin-top: 130px; }
.service-head { max-width: 760px; margin-bottom: 36px; }
.service-head p { color: var(--ink); }
.service-index {
    display: block;
    font-family: var(--font-head);
    font-weight: 800;
    font-size: .85rem;
    letter-spacing: .22em;
    color: var(--gold);
    margin-bottom: 10px;
}

/* ---------- Tables (navy header, zebra rows — from the PDF) ---------- */

.table-wrap {
    overflow-x: auto;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}
.sneng-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--white);
    font-size: .95rem;
}
.sneng-table thead th {
    background: var(--navy);
    color: var(--white);
    font-family: var(--font-head);
    font-weight: 700;
    font-size: .82rem;
    letter-spacing: .08em;
    text-transform: uppercase;
    text-align: left;
    padding: 14px 20px;
}
.sneng-table td,
.sneng-table tbody th {
    padding: 14px 20px;
    border-bottom: 1px solid var(--line);
    vertical-align: top;
    text-align: left;
}
.sneng-table tbody th {
    font-family: var(--font-head);
    font-weight: 600;
    color: var(--navy);
    white-space: nowrap;
}
.sneng-table tbody tr:nth-child(even) { background: #F4F8FC; }
.sneng-table tbody tr:last-child td,
.sneng-table tbody tr:last-child th { border-bottom: 0; }
.sneng-table td:first-child { font-weight: 600; color: var(--navy); }
.sneng-table thead + tbody td:first-child { font-weight: 600; }

/* ---------- Partner grid ---------- */

.partner-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    list-style: none;
    margin: 0;
    padding: 0;
}
.partner-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    height: 100%;
    background: var(--white);
    border: 1px solid var(--line);
    border-top: 3px solid var(--navy);
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    text-decoration: none;
    box-shadow: var(--shadow);
    transition: transform .18s ease, box-shadow .18s ease, border-top-color .18s ease;
}
a.partner-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(15, 42, 82, .14);
    border-top-color: var(--gold);
}
.partner-card-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 64px;
    width: 100%;
}
.partner-card-logo img {
    max-height: 64px;
    max-width: 160px;
    width: auto;
    height: auto;
    object-fit: contain;
}
.partner-card-name {
    font-weight: 500;
    font-size: .92rem;
    color: var(--navy);
    line-height: 1.35;
}
.partner-card--plain { color: var(--slate); }
.partner-card--plain .partner-card-name { color: var(--slate); }

/* ---------- Forms ---------- */

.contact-layout,
.portal-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
}

/* Grid children must be allowed to shrink below content width, otherwise
   long unbroken strings (emails) force page-level horizontal scroll. */
.contact-layout > *,
.portal-layout > *,
.about-split > *,
.intro > * { min-width: 0; }

.sneng-table a { overflow-wrap: anywhere; }

.form-card {
    background: var(--white);
    border: 1px solid var(--line);
    border-bottom: 4px solid var(--gold);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 36px;
}

.sneng-form label {
    display: block;
    font-family: var(--font-head);
    font-weight: 600;
    font-size: .85rem;
    color: var(--navy);
    margin: 18px 0 6px;
}
.sneng-form label:first-of-type { margin-top: 0; }
.sneng-form input,
.sneng-form textarea {
    width: 100%;
    font: inherit;
    color: var(--ink);
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 11px 14px;
    background: var(--white);
    transition: border-color .15s ease;
}
.sneng-form input:focus,
.sneng-form textarea:focus { border-color: var(--navy); outline-color: var(--gold); }
.sneng-form .btn { margin-top: 24px; width: 100%; }

.hp-field {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.sneng-notice {
    border-radius: 8px;
    padding: 12px 16px;
    font-size: .92rem;
    margin-bottom: 18px;
}
.sneng-notice--ok { background: #E7F4EA; color: #1D6B35; border: 1px solid #BFE3C9; }
.sneng-notice--error { background: #FDECEC; color: #9B1C1C; border: 1px solid #F5C6C6; }

.contact-details h2 { margin-bottom: 20px; }
.contact-note { color: var(--slate); margin-top: 20px; }

/* ---------- Candidate portal page ---------- */

.feature-list {
    list-style: none;
    margin: 28px 0;
    padding: 0;
    display: grid;
    gap: 20px;
}
.feature-list li {
    border-left: 3px solid var(--gold);
    padding-left: 18px;
}
.feature-list h3 { font-size: 1.02rem; margin-bottom: 4px; }
.feature-list p { color: var(--slate); font-size: .95rem; margin: 0; }
.portal-note {
    background: var(--powder);
    border-radius: 8px;
    padding: 16px 20px;
    font-size: .95rem;
}

/* ---------- Footer ---------- */

.site-footer {
    background: var(--navy-dark);
    border-top: 4px solid var(--gold);
    color: rgba(255, 255, 255, .75);
    padding: 56px 0 0;
}

.site-footer-grid {
    max-width: var(--max);
    margin-inline: auto;
    padding: 0 24px 40px;
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
    gap: 36px;
}

.site-footer h4 {
    color: var(--white);
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
    margin-bottom: 14px;
}

.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 8px; }
.site-footer a { color: rgba(255, 255, 255, .75); text-decoration: none; font-size: .92rem; }
.site-footer a:hover { color: var(--gold); }
.site-footer p { font-size: .92rem; margin-bottom: 10px; }

.site-footer-brand img {
    border-radius: 50%;
    background: var(--white);
    padding: 3px;
    margin-bottom: 14px;
}
.site-footer-name { font-weight: 600; color: var(--white); }
.site-footer-tagline {
    font-family: var(--font-head);
    font-style: italic;
    color: var(--gold);
}

.site-footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, .12);
    padding: 20px 24px;
    text-align: center;
    font-size: .82rem;
    color: rgba(255, 255, 255, .5);
}

/* ---------- Reveal motion (one quiet effect, guarded) ---------- */

/* Only hidden when JS is available to reveal them — no-JS users see content. */
.js .reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity .6s ease, transform .6s ease;
}
.js .reveal.is-visible {
    opacity: 1;
    transform: none;
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .js .reveal, .reveal { opacity: 1; transform: none; transition: none; }
    .card, .btn, .site-nav-list a { transition: none; }
}

/* ---------- Team ---------- */

.team-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    max-width: 860px;
}
.team-card {
    background: var(--white);
    border: 1px solid var(--line);
    border-bottom: 4px solid var(--gold);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 32px;
    text-align: center;
}
.team-photo {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    object-fit: cover;
    object-position: top;
    border: 3px solid var(--powder);
    margin-bottom: 18px;
}
.team-photo--initials {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--navy);
    color: var(--gold);
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 2rem;
}
.team-role {
    font-family: var(--font-head);
    font-weight: 600;
    font-size: .82rem;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--gold-dark);
    margin-bottom: 12px;
}
.team-card > p:last-of-type { color: var(--slate); font-size: .95rem; }
.team-linkedin {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-top: 8px;
    font-family: var(--font-head);
    font-weight: 600;
    font-size: .88rem;
    color: #0A66C2;
    text-decoration: none;
}
.team-linkedin:hover { color: var(--navy); }

/* ---------- Insights (blog) ---------- */

.insights-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.insight-card {
    display: block;
    background: var(--white);
    border: 1px solid var(--line);
    border-bottom: 4px solid var(--gold);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 28px 24px 24px;
    text-decoration: none;
    color: var(--ink);
    transition: transform .18s ease, box-shadow .18s ease;
}
.insight-card:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(15, 42, 82, .14); color: var(--ink); }
.insight-card h2 { font-size: 1.15rem; }
.insight-card p { color: var(--slate); font-size: .93rem; margin: 0; }
.insight-date {
    display: block;
    font-family: var(--font-head);
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--slate);
    margin-bottom: 10px;
}

.insights-empty {
    max-width: 620px;
    margin-inline: auto;
    text-align: center;
}
.insights-empty p { color: var(--slate); margin-bottom: 20px; }

.insights-pagination { margin-top: 40px; text-align: center; }
.insights-pagination .page-numbers {
    display: inline-block;
    padding: 8px 14px;
    border-radius: 6px;
    text-decoration: none;
    font-family: var(--font-head);
    font-weight: 600;
    font-size: .9rem;
}
.insights-pagination .page-numbers.current { background: var(--navy); color: var(--white); }

.post-meta {
    display: flex;
    gap: 18px;
    align-items: center;
    margin-bottom: 14px;
}
.post-meta-back {
    font-family: var(--font-head);
    font-weight: 600;
    font-size: .85rem;
    color: var(--gold);
    text-decoration: none;
}
.post-meta-back:hover { color: var(--white); }
.post-meta-date { font-size: .85rem; color: rgba(255, 255, 255, .6); }

.post-body { font-size: 1.05rem; }
.post-body h2 { margin-top: 40px; }
.post-body img { border-radius: var(--radius); }
.post-footer {
    margin-top: 48px;
    padding-top: 28px;
    border-top: 1px solid var(--line);
}

/* ---------- Testimonials ---------- */

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.testimonial-card {
    margin: 0;
    background: var(--white);
    border: 1px solid var(--line);
    border-top: 3px solid var(--gold);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 28px 26px 24px;
    display: flex;
    flex-direction: column;
}
.testimonial-card blockquote {
    margin: 0 0 20px;
    padding: 0;
    font-size: .97rem;
    line-height: 1.65;
    color: var(--ink);
    flex: 1;
}
.testimonial-card blockquote::before {
    content: '\201C';
    display: block;
    font-family: var(--font-head);
    font-size: 3rem;
    font-weight: 800;
    line-height: .8;
    color: var(--gold);
    margin-bottom: 10px;
}
.testimonial-card figcaption strong {
    display: block;
    font-family: var(--font-head);
    font-size: .95rem;
    color: var(--navy);
}
.testimonial-card figcaption span {
    font-size: .82rem;
    color: var(--slate);
}

/* ---------- Parallax band ---------- */

.parallax-band {
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}
.parallax-band-overlay {
    background: linear-gradient(160deg, rgba(15, 42, 82, .82) 0%, rgba(10, 31, 61, .78) 100%);
}
.parallax-band-body {
    padding: 110px 24px;
    text-align: center;
}
.parallax-band-text {
    font-family: var(--font-head);
    font-style: italic;
    font-weight: 600;
    font-size: clamp(1.4rem, 3vw, 2rem);
    color: var(--white);
    margin: 0;
    text-shadow: 0 2px 20px rgba(0, 0, 0, .4);
}

@media (max-width: 768px) {
    .parallax-band { background-attachment: scroll; }
    .parallax-band-body { padding: 72px 24px; }
}

/* ---------- About split / photos ---------- */

.about-split {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 48px;
    align-items: start;
}
.about-split-text h2 { margin-top: 40px; }
.about-split-text h2:first-child { margin-top: 0; }
.about-split-media {
    margin: 0;
    position: sticky;
    top: 120px;
}
.about-split-media img {
    border-radius: var(--radius);
    border-bottom: 4px solid var(--gold);
    box-shadow: var(--shadow);
}
.about-split-media figcaption,
.portal-photo figcaption {
    font-size: .82rem;
    color: var(--slate);
    margin-top: 10px;
}

.photo-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-top: 36px;
}
.photo-gallery figure { margin: 0; }
.photo-gallery img {
    border-radius: var(--radius);
    border-bottom: 4px solid var(--gold);
    box-shadow: var(--shadow);
    aspect-ratio: 3 / 2;
    object-fit: cover;
    width: 100%;
}
.photo-gallery-caption {
    font-size: .85rem;
    color: var(--slate);
    margin-top: 12px;
}

.portal-photo { margin: 28px 0 0; }
.portal-photo img {
    border-radius: var(--radius);
    border-bottom: 4px solid var(--gold);
    box-shadow: var(--shadow);
}

/* ---------- Responsive ---------- */

@media (max-width: 1024px) {
    .card-grid { grid-template-columns: repeat(2, 1fr); }
    .site-footer-grid { grid-template-columns: 1fr 1fr; }
    .partner-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .section { padding: 52px 0; }

    .nav-toggle { display: flex; }
    .site-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--navy);
        border-bottom: 4px solid var(--gold);
        padding: 8px 16px 16px;
    }
    .site-nav.is-open { display: block; }
    .site-nav-list { flex-direction: column; gap: 0; }
    .site-nav-list a { padding: 13px 10px; font-size: 1rem; }
    .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
    .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

    .anchor-nav { position: static; }

    .intro,
    .contact-layout,
    .portal-layout { grid-template-columns: 1fr; gap: 36px; }

    .card-grid,
    .card-grid--three { grid-template-columns: 1fr; }

    .team-grid,
    .insights-grid,
    .testimonial-grid { grid-template-columns: 1fr; }

    .about-split { grid-template-columns: 1fr; }
    .about-split-media { position: static; }
    .photo-gallery { grid-template-columns: 1fr; }

    /* Label/value tables (contact details) stack vertically on narrow screens */
    .contact-details .sneng-table tbody th {
        display: block;
        white-space: normal;
        padding: 14px 20px 0;
        border-bottom: 0;
    }
    .contact-details .sneng-table tbody td {
        display: block;
        padding: 4px 20px 14px;
    }
    .contact-details .sneng-table tbody tr:nth-child(even) { background: #F4F8FC; }

    .portal-teaser { flex-direction: column; align-items: flex-start; padding: 28px; }

    .hero-body { padding: 64px 24px 72px; }
    .hero-emblem { width: 140px; height: 140px; }

    .partner-grid { grid-template-columns: 1fr; }
    .site-footer-grid { grid-template-columns: 1fr; gap: 28px; }

    .form-card { padding: 28px 22px; }
}
