/* ==========================================================================
   NCD Solutions — Stylesheet
   Design language: an official technical brief / policy dossier.
   Maroon = seal & signal. Indigo = institutional depth. Paper = the page.
   ========================================================================== */

:root {
    --maroon: #891c29;
    --maroon-dark: #6a151f;
    --maroon-tint: #f3e4e2;
    --indigo: #403e6d;
    --indigo-dark: #2c2a4d;
    --indigo-tint: #e9e8f1;
    --gold: #b6883f;
    --paper: #f7f4ee;
    --paper-alt: #efe8dc;
    --ink: #241f2b;
    --ink-soft: #5a5568;
    --ink-faint: #8a8496;
    --line: rgba(36, 31, 43, 0.14);
    --line-soft: rgba(36, 31, 43, 0.08);
    --white: #ffffff;
    --radius: 2px;
    --max: 1180px;
    --serif: "Source Serif 4", Georgia, "Times New Roman", serif;
    --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --mono: "IBM Plex Mono", "Courier New", monospace;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: var(--sans);
    color: var(--ink);
    background: var(--paper);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* Fade In Page */
body {
    opacity: 0;
    animation: pageFadeIn 0.5s ease-in-out forwards;
}

@keyframes pageFadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

.wrap {
    max-width: var(--max);
    margin: 0 auto;
    padding: 0 32px;
}

@media (max-width: 640px) {
    .wrap {
        padding: 0 20px;
    }
}

h1,
h2,
h3,
h4 {
    font-family: var(--serif);
    font-weight: 600;
    color: var(--indigo-dark);
    margin: 0;
    letter-spacing: -0.01em;
}

p {
    margin: 0 0 1em;
    color: var(--ink-soft);
}

p:last-child {
    margin-bottom: 0;
}

.eyebrow.light {
     color: #b8878d;
}

.eyebrow.light::before {
    background: #b8878d;
}
.eyebrow {
    font-family: var(--mono);
    font-size: 12px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--maroon);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
    font-weight: 500;
}

.eyebrow::before {
    content: "";
    width: 22px;
    height: 1px;
    background: var(--maroon);
}

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

/* ---------- buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--sans);
    font-weight: 600;
    font-size: 14.5px;
    padding: 13px 26px;
    border-radius: var(--radius);
    border: 1px solid transparent;
    cursor: pointer;
    transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease, transform 0.15s ease;
    white-space: nowrap;
}

.btn:hover {
    transform: translateY(-1px);
}

.btn-primary {
    background: var(--maroon);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--maroon-dark);
}

.btn-outline-light {
    border-color: rgba(255, 255, 255, 0.55);
    color: var(--white);
}

.btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: #fff;
}

.btn-outline {
    border-color: var(--indigo);
    color: var(--indigo);
}

.btn-outline:hover {
    background: var(--indigo);
    color: var(--white);
}

.btn-ghost {
    color: var(--maroon);
    font-weight: 600;
    padding: 13px 4px;
}

.btn-ghost::after {
    content: "→";
    margin-left: 6px;
    transition: margin-left 0.15s ease;
}

.btn-ghost:hover::after {
    margin-left: 10px;
}

.cta-row {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    align-items: center;
}

/* ---------- header ---------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgb(255, 255, 255);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--line-soft);
}

.site-header .wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100px;
    max-width: 90%;
    padding: 0;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.brand img {
    height: 80px;
    width: auto;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 34px;
}

.main-nav a {
    font-size: 14px;
    font-weight: 600;
    color: var(--ink);
    position: relative;
    padding: 6px 0;
}

.main-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 2px;
    background: var(--maroon);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.2s ease;
}

.main-nav a:hover::after {
    transform: scaleX(1);
}

.main-nav a.active {
    color: var(--maroon);
}

.main-nav a.active::after {
    transform: scaleX(1);
}

.main-nav a.active {
    color: var(--maroon);
}

.main-nav a.active::after {
    transform: scaleX(1);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 24px;
}

.nav-toggle {
    display: none;
    background: none;
    border:0;
    border-radius: var(--radius);
    padding: 8px 10px;
    cursor: pointer;
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
    content: "";
    display: block;
    width: 18px;
    height: 2px;
    background: var(--ink);
    position: relative;
}

.nav-toggle span::before {
    position: absolute;
    top: -6px;
}

.nav-toggle span::after {
    position: absolute;
    top: 6px;
}

/* ---------- hero ---------- */
.hero {
    position: relative;
    color: var(--white);
    overflow: hidden;
    min-height: 640px;
    display: flex;
    align-items: flex-end;
}

.hero-media {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%;
    filter: grayscale(15%);
}

/*
.hero-media::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(44, 42, 77, 0.55) 0%, rgba(36, 31, 43, 0.55) 45%, rgba(20, 17, 26, 0.92) 100%);
}
*/

.hero-content {
    position: relative;
    z-index: 1;
    padding: 40px 0 64px;
    max-width: 80%;
    width: 90%;
}

.hero-tag {
    font-family: var(--mono);
    font-size: 12px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #e7c98a;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 22px;
}

.hero-tag::before {
    content: "";
    width: 28px;
    height: 1px;
    background: #e7c98a;
}

.hero h1 {
    font-size: clamp(34px, 5.4vw, 60px);
    color: var(--white);
    line-height: 1.08;
    max-width: 14ch;
    margin-bottom: 22px;
}

.hero-sub {
    font-size: 17px;
    color: rgba(255, 255, 255, 0.82);
    max-width: 56ch;
    margin-bottom: 34px;
}

.hero-caption {
    margin-top: 46px;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.22);
    font-family: var(--mono);
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
    max-width: 60ch;
}

/* ---------- interior page banner ---------- */
.page-banner {
    background: var(--indigo-dark);
    color: var(--white);
    padding: 64px 0 44px;
    border-bottom: 4px solid var(--maroon);
}


.page-banner .eyebrow {
    color: #e7c98a;
}

.banner {
    background: var(--indigo-dark);
    color: var(--white);
    padding: 64px 0 44px;
    border-bottom: 4px solid var(--maroon);
}


.banner .section-head h2 {
    color: var(--white);
}

.banner .section-head p {
    color: rgba(255, 255, 255, 0.72);
}

.page-banner .eyebrow::before {
    background: #e7c98a;
}

.page-banner h1 {
    color: var(--white);
    font-size: clamp(30px, 4.4vw, 46px);
    margin-bottom: 14px;
}

.page-banner p {
    color: rgba(255, 255, 255, 0.75);
    font-size: 16px;
    max-width: 62ch;
    margin: 0;
}

.breadcrumb {
    font-family: var(--mono);
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 18px;
    letter-spacing: 0.04em;
}

.breadcrumb a {
    color: rgba(255, 255, 255, 0.75);
}

.breadcrumb a:hover {
    color: #fff;
}

/* ---------- sections ---------- */
section {
    padding: 96px 0;
}

@media (max-width: 780px) {
    section {
        padding: 64px 0;
    }
}

.section-alt {
    background: var(--paper-alt);
}

.section-indigo {
    background: var(--indigo-dark);
    color: var(--white);
}

.section-indigo p {
    color: rgba(255, 255, 255, 0.72);
}

.section-indigo h2,
.section-indigo h3 {
    color: var(--white);
}

.section-head {
    max-width: 680px;
    margin-bottom: 52px;
}

.section-head.center {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.section-head h2 {
    font-size: clamp(26px, 3.4vw, 38px);
    margin-bottom: 16px;
}

.section-head p {
    font-size: 16.5px;
}

/* ---------- intro / statement ---------- */
.statement {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: start;
}

@media (max-width: 860px) {
    .statement {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

.statement-lead {
    font-family: var(--serif);
    font-size: clamp(22px, 2.6vw, 28px);
    color: var(--indigo-dark);
    line-height: 1.35;
}

/* ---------- stat strip ---------- */
.stat-strip {
    background: var(--indigo-dark);
    color: var(--white);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 4px solid var(--maroon);
}

.stat-strip .wrap {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 780px) {
    .stat-strip .wrap {
        grid-template-columns: repeat(2, 1fr);
    }
}

.stat {
    padding: 44px 26px;
    border-left: 1px solid rgba(255, 255, 255, 0.14);
    text-align: left;
}

.stat:first-child {
    border-left: none;
}

@media (max-width: 780px) {
    .stat:nth-child(2n+1) {
        border-left: none;
    }

    .stat:nth-child(n+3) {
        border-top: 1px solid rgba(255, 255, 255, 0.14);
    }
}

.stat-num {
    font-family: var(--mono);
    font-size: clamp(28px, 3vw, 38px);
    color: #e7c98a;
    font-weight: 500;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.4;
}

/* ---------- founder / about preview ---------- */
.split {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 64px;
    align-items: center;
}

@media (max-width: 860px) {
    .split {
        grid-template-columns: 1fr;
        gap: 36px;
    }
}

.split.reverse {
    grid-template-columns: 1.1fr 0.9fr;
}

@media (max-width: 860px) {
    .split.reverse {
        grid-template-columns: 1fr;
    }
}

.split.reverse .split-media {
    order: 2;
}

@media (max-width: 860px) {
    .split.reverse .split-media {
        order: 0;
    }
}

.split-media {
    position: relative;
}

.split-media img {
    width: 100%;
    border: 1px solid var(--line);
}

.split-media .tag-mark {
    position: absolute;
    bottom: -18px;
    right: -18px;
    background: var(--maroon);
    color: var(--white);
    font-family: var(--mono);
    font-size: 12px;
    letter-spacing: 0.06em;
    padding: 10px 16px;
    max-width: 220px;
    line-height: 1.4;
}

@media (max-width: 640px) {
    .split-media .tag-mark {
        position: static;
        margin-top: 12px;
    }
    
 .hero-content {
    position: relative;
    z-index: 1;
    padding:50px 0 0 0;
    max-width: 100%;
    width: 90%;
}
.hero-media::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(44, 42, 77, 0.55) 0%, rgba(36, 31, 43, 0.55) 45%, rgba(20, 17, 26, 0.95) 100%);
}
 

.hero-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 70% 0;
    filter: grayscale(15%);
}
}

.credentials-list {
    list-style: none;
    padding: 0;
    margin: 22px 0 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px 24px;
}

.credentials-list li {
    font-size: 14.5px;
    color: var(--ink-soft);
    padding-left: 18px;
    position: relative;
}

.credentials-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 9px;
    width: 6px;
    height: 6px;
    background: var(--maroon);
}

/* ---------- pull quote ---------- */
.pull-quote {
    border-left: 3px solid var(--maroon);
    padding: 4px 0 4px 28px;
    margin: 30px 0;
}

.pull-quote p {
    font-family: var(--serif);
    font-style: italic;
    font-size: 20px;
    color: var(--indigo-dark);
    line-height: 1.5;
}

.pull-quote cite {
    display: block;
    margin-top: 10px;
    font-style: normal;
    font-family: var(--mono);
    font-size: 12.5px;
    color: var(--maroon);
    letter-spacing: 0.04em;
}

/* ---------- service dossier cards ---------- */
.service-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    border: 1px solid var(--line);
}

@media (max-width: 940px) {
    .service-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

.service-card {
    background: var(--white);
    padding: 34px 28px;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    position: relative;
    transition: background 0.2s ease;
}

.service-grid .service-card:nth-child(4n) {
    border-right: none;
}

@media (max-width: 940px) {
    .service-grid .service-card:nth-child(2n) {
        border-right: none;
    }

    .service-grid .service-card:nth-child(4n) {
        border-right: 1px solid var(--line);
    }
}

@media (max-width: 560px) {
    .service-grid .service-card {
        border-right: none !important;
    }
}

.service-card:hover {
    background: var(--maroon-tint);
}

.service-mark {
    font-family: var(--mono);
    font-size: 12px;
    color: var(--maroon);
    letter-spacing: 0.1em;
    margin-bottom: 22px;
    display: block;
}

.service-card h3 {
    font-size: 19px;
    margin-bottom: 12px;
    line-height: 1.3;
}

.service-card p {
    font-size: 14.5px;
    margin-bottom: 16px;
}

.service-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 13.5px;
    color: var(--ink-faint);
}

.service-card ul li {
    padding: 5px 0;
    border-top: 1px solid var(--line-soft);
}

.service-card ul li:first-child {
    border-top: none;
}

/* ---------- approach cards ---------- */
.approach-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
}

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

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

.approach-card {
    padding: 28px 0 0;
    border-top: 2px solid var(--maroon);
}

.approach-card h3 {
    font-size: 17px;
    margin-bottom: 10px;
}

.approach-card p {
    font-size: 14.5px;
}

/* ---------- why list ---------- */
.why-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px 40px;
    margin-top: 30px;
}

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

.why-item {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    padding: 16px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.why-item .mark {
    font-family: var(--mono);
    color: #e7c98a;
    font-size: 13px;
    margin-top: 2px;
}

.why-item p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 15px;
    margin: 0;
}

/* ---------- philosophy ---------- */
.phil-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

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

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

.phil-card h3 {
    font-size: 17px;
    margin-bottom: 10px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--line);
}

.phil-card p {
    font-size: 14.5px;
}

/* ---------- timeline (real sequence) ---------- */
.timeline {
    position: relative;
    margin-top: 20px;
    padding-left: 34px;
    border-left: 1px solid var(--line);
}

.timeline-item {
    position: relative;
    padding-bottom: 38px;
}

.timeline-item:last-child {
    padding-bottom: 0;
}

.timeline-item::before {
    content: "";
    position: absolute;
    left: -39px;
    top: 4px;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--paper);
    border: 2px solid var(--maroon);
}

.timeline-item .t-year {
    font-family: var(--mono);
    font-size: 12px;
    color: var(--maroon);
    letter-spacing: 0.06em;
    margin-bottom: 6px;
    display: block;
}

.timeline-item h4 {
    font-size: 16.5px;
    color: var(--indigo-dark);
    margin-bottom: 6px;
}

.timeline-item p {
    font-size: 14.5px;
    margin: 0;
}

/* ---------- gallery ---------- */
.gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 4px;
    margin-top: 52px;
}

.gallery.twofr {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 4px;
    margin-top: 52px;
}
.gallery.twofr figure { 
    aspect-ratio: auto; 
}
@media (max-width: 780px) {
    .gallery {
        grid-template-columns: repeat(2, 1fr);
    }
    
    
}

.gallery figure {
    margin: 0;
    overflow: hidden;
    aspect-ratio: 4/5;
    background: var(--paper-alt);
}

.gallery img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease, filter 0.5s ease;
    filter: grayscale(45%);
}

.gallery figure:hover img {
    transform: scale(1.05);
    filter: grayscale(0%);
}

/* ---------- process (real sequence) ---------- */
.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    counter-reset: step;
    margin-top: 10px;
}

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

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

.process-step {
    padding: 0 28px 0 0;
    border-right: 1px dashed var(--line);
}

.process-grid .process-step:last-child {
    border-right: none;
}

@media (max-width: 860px) {
    .process-step:nth-child(2n) {
        border-right: none;
    }
}

@media (max-width: 560px) {
    .process-step {
        border-right: none;
        padding-bottom: 26px;
        border-bottom: 1px dashed var(--line);
        margin-bottom: 26px;
    }

    .process-step:last-child {
        border-bottom: none;
        margin-bottom: 0;
        padding-bottom: 0;
    }
}

.process-step .step-num {
    counter-increment: step;
    font-family: var(--serif);
    font-size: 34px;
    color: var(--maroon-tint);
    -webkit-text-stroke: 1.4px var(--maroon);
    margin-bottom: 16px;
}

.process-step .step-num::before {
    content: counter(step, decimal-leading-zero);
    color: var(--maroon);
    -webkit-text-fill-color: var(--maroon);
}

.process-step h4 {
    font-size: 16px;
    margin-bottom: 8px;
    color: var(--indigo-dark);
}

.process-step p {
    font-size: 14px;
}

/* ---------- FAQ ---------- */
.faq {
    max-width: 780px;
}

.faq-item {
    border-bottom: 1px solid var(--line);
}

.faq-item summary {
    cursor: pointer;
    list-style: none;
    padding: 22px 0;
    font-family: var(--serif);
    font-weight: 600;
    font-size: 17px;
    color: var(--indigo-dark);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: "+";
    font-family: var(--sans);
    font-size: 22px;
    color: var(--maroon);
    flex-shrink: 0;
    transition: transform 0.2s ease;
}

.faq-item[open] summary::after {
    transform: rotate(45deg);
}

.faq-item .faq-a {
    padding: 0 0 24px;
    max-width: 62ch;
}

.faq-item .faq-a p {
    font-size: 15px;
}

/* ---------- contact ---------- */
.contact-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 64px;
}

@media (max-width: 900px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 44px;
    }
}

.contact-info dl {
    margin: 28px 0;
}

.contact-info dt {
    font-family: var(--mono);
    font-size: 12px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--maroon);
    margin-top: 22px;
}

.contact-info dt:first-child {
    margin-top: 0;
}

.contact-info dd {
    margin: 6px 0 0;
    font-size: 15.5px;
    color: #4d4a53;
    line-height: 1.5;
}

.notice-box {
    border: 1px solid var(--line);
    border-left: 3px solid var(--indigo);
    padding: 22px 24px;
    margin-top: 30px;
    background: var(--white);
}

.notice-box p {
    font-size: 14px;
}

.form-panel {
    background: var(--white);
    border: 1px solid var(--line);
    padding: 40px;
}

@media (max-width: 500px) {
    .form-panel {
        padding: 26px;
    }
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

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

.field {
    margin-bottom: 20px;
}

.field label {
    display: block;
    font-size: 12.5px;
    font-weight: 600;
    letter-spacing: 0.03em;
    color: var(--indigo-dark);
    margin-bottom: 7px;
}

.field input,
.field select,
.field textarea {
    width: 100%;
    border: 1px solid var(--line);
    background: var(--paper);
    padding: 11px 13px;
    font-family: var(--sans);
    font-size: 14.5px;
    color: var(--ink);
    border-radius: var(--radius);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
    outline: none;
    border-color: var(--maroon);
    background: var(--white);
}

.field textarea {
    resize: vertical;
    min-height: 110px;
}

.checkbox-row {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    margin: 22px 0 26px;
}

.checkbox-row input {
    margin-top: 3px;
}

.checkbox-row label {
    font-size: 13px;
    color: var(--ink-soft);
    font-weight: 400;
}

/* ---------- final cta ---------- */
.final-cta {
    background: linear-gradient(135deg, var(--maroon) 0%, var(--maroon-dark) 100%);
    color: var(--white);
    text-align: center;
    padding: 90px 0;
}

.final-cta h2 {
    color: var(--white);
    font-size: clamp(26px, 3.6vw, 40px);
    max-width: 20ch;
    margin: 0 auto 18px;
}

.final-cta p {
    color: rgba(255, 255, 255, 0.85);
    max-width: 56ch;
    margin: 0 auto 34px;
    font-size: 16px;
}

.final-cta .cta-row {
    justify-content: center;
}

.final-cta .btn-primary {
    background: var(--white);
    color: var(--maroon);
}

.final-cta .btn-primary:hover {
    background: var(--paper-alt);
}

/* ---------- footer ---------- */
.site-footer {
    background: var(--indigo-dark);
    color: rgba(255, 255, 255, 0.7);
    padding: 64px 0 28px;
}

.footer-top {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

@media (max-width: 760px) {
    .footer-top {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

.footer-brand img {
    height: 70px;
    margin-bottom: 16px;
}

.footer-brand p {
    font-size: 13.5px;
    max-width: 34ch;
    color: rgba(255, 255, 255, 0.6);
}

.footer-col h5 {
    font-family: var(--mono);
    font-size: 12px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #e7c98a;
    margin-bottom: 16px;
}

.footer-col ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-col li {
    margin-bottom: 10px;
    font-size: 14px;
}

.footer-col a:hover {
    color: #fff;
}

.footer-bottom {
    padding-top: 26px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 12.5px;
    color: rgba(255, 255, 255, 0.45);
}

/* ---------- mobile nav ---------- */
@media (max-width: 900px) {
    .nav-toggle {
        display: inline-flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .main-nav {
        position: fixed;
        inset: 84px 0 0 0;
        background: var(--paper);
        flex-direction: column;
        padding: 30px 32px;
        gap: 6px;
        transform: translateX(100%);
        transition: transform 0.25s ease;
        align-items: flex-start;
    }

    .main-nav.open {
        transform: translateX(0);
        background: #fff;
        height: 360px;
        z-index: 9999;
        inset: 94px 0 0 0;
    }

    .main-nav a {
        width: 100%;
        padding: 14px 0;
        font-size: 17px;
        border-bottom: 1px solid var(--line-soft);
    }

    .header-actions .btn-primary {
        display: none;
    }

    .main-nav .btn-primary {
        display: inline-flex;
        margin-top: 18px;
    }
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    * {
        transition: none !important;
        animation: none !important;
    }
}

.split.itemstop {
    align-items: flex-start;
}