/* ─── Variables ─── */
:root {
    --navy:        #0d1b2a;
    --navy-light:  #152336;
    --gold:        #c49a3c;
    --gold-light:  #dbb864;
    --cream:       #f5f0e8;
    --white:       #ffffff;
    --text:        #1a1a1a;
    --text-mid:    #4a5568;
    --text-light:  #718096;
    --border:      #e2d9cc;
    --border-dark: #243447;

    --font-main:   'Inter', system-ui, sans-serif;
    --font-body:   'DM Sans', system-ui, sans-serif;

    --max-w:       1160px;
    --pad-x:       clamp(1.25rem, 5vw, 2.5rem);
    --section-pad: clamp(4rem, 8vw, 7rem);
}

/* ─── Reset ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
    font-family: var(--font-body);
    color: var(--text);
    background: var(--white);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ─── Utility ─── */
.container {
    max-width: var(--max-w);
    margin-inline: auto;
    padding-inline: var(--pad-x);
}

.label {
    font-family: var(--font-main);
    font-size: 0.6875rem;
    font-weight: 500;
    letter-spacing: 0.1rem;
    text-transform: uppercase;
    color: var(--gold);
}

.label--light {
    color: var(--gold-light);
}

/* ─── Skip link ─── */
.skip-link {
    position: absolute;
    top: -100%;
    left: 1rem;
    background: var(--gold);
    color: var(--navy);
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    font-weight: 600;
    z-index: 9999;
    transition: top 0.2s;
}
.skip-link:focus { top: 1rem; }

/* ─── Navigation ─── */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 900;
    background: var(--navy);
    border-bottom: 1px solid var(--border-dark);
    transition: background 0.3s;
}

.nav__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 68px;
    max-width: var(--max-w);
    margin-inline: auto;
    padding-inline: var(--pad-x);
}

.nav__logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.nav__logo-mark {
    width: 34px;
    height: 34px;
    border: 1.5px solid var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.nav__logo-mark span {
    font-family: var(--font-main);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--gold);
    letter-spacing: 0.05em;
}

.nav__brand {
    font-family: var(--font-main);
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--white);
    letter-spacing: 0.04em;
}

.nav__links {
    display: none;
    align-items: center;
    gap: 2.5rem;
}

.nav__links a {
    font-family: var(--font-main);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.1rem;
    text-transform: uppercase;
    color: rgba(255,255,255,0.65);
    transition: color 0.2s;
}

.nav__links a:hover { color: var(--gold); }

.nav__cta {
    display: none;
    font-family: var(--font-main);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.1rem;
    text-transform: uppercase;
    color: var(--gold);
    border: 1px solid var(--gold);
    padding: 0.5rem 1.25rem;
    transition: background 0.2s, color 0.2s;
}

.nav__cta:hover {
    background: var(--gold);
    color: var(--navy);
}

.nav__hamburger {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    align-items: center;
}

.nav__hamburger span {
    display: block;
    width: 22px;
    height: 1.5px;
    background: var(--white);
    transition: transform 0.3s, opacity 0.3s;
}

.nav__hamburger.is-open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav__hamburger.is-open span:nth-child(2) { opacity: 0; }
.nav__hamburger.is-open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Mobile menu */
.nav__mobile {
    display: none;
    flex-direction: column;
    background: var(--navy);
    border-top: 1px solid var(--border-dark);
    padding: 1.5rem var(--pad-x) 2rem;
    gap: 0;
}

.nav__mobile.is-open { display: flex; }

.nav__mobile a {
    font-family: var(--font-main);
    font-size: 0.8125rem;
    font-weight: 500;
    letter-spacing: 0.1rem;
    text-transform: uppercase;
    color: rgba(255,255,255,0.7);
    padding: 0.9rem 0;
    border-bottom: 1px solid var(--border-dark);
    transition: color 0.2s;
}

.nav__mobile a:hover { color: var(--gold); }

.nav__mobile-cta {
    margin-top: 1.25rem;
    display: block;
    text-align: center;
    padding: 0.875rem;
    border: 1px solid var(--gold);
    font-family: var(--font-main);
    font-size: 0.75rem;
    letter-spacing: 0.1rem;
    text-transform: uppercase;
    color: var(--gold) !important;
    border-bottom: 1px solid var(--gold) !important;
}

@media (min-width: 768px) {
    .nav__links { display: flex; }
    .nav__cta { display: block; }
    .nav__hamburger { display: none; }
}

/* ─── Hero ─── */
.hero {
    background: var(--navy);
    padding-top: calc(68px + clamp(4rem, 10vw, 7rem));
    padding-bottom: clamp(4rem, 10vw, 7rem);
    position: relative;
    overflow: hidden;
}

.hero__inner {
    max-width: var(--max-w);
    margin-inline: auto;
    padding-inline: var(--pad-x);
    display: grid;
    gap: clamp(2.5rem, 5vw, 4rem);
}

.hero__content {
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
}

.hero__eyebrow {
    margin-bottom: -1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.hero__eyebrow::after {
    content: '';
    display: block;
    height: 1px;
    width: 48px;
    background: var(--gold);
    opacity: 0.5;
}

.hero__headline {
    font-family: var(--font-main);
    font-size: clamp(2rem, 4.5vw, 3.5rem);
    font-weight: 300;
    color: var(--white);
    line-height: 1.15;
    letter-spacing: -0.01em;
    max-width: 16ch;
}

.hero__headline strong {
    font-weight: 600;
    color: var(--gold);
}

.hero__sub {
    font-size: clamp(1rem, 1.5vw, 1.125rem);
    color: rgba(255,255,255,0.72);
    max-width: 52ch;
    line-height: 1.7;
}

.hero__credentials {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem 2rem;
}

.hero__cred-item {
    font-family: var(--font-main);
    font-size: 0.6875rem;
    font-weight: 500;
    letter-spacing: 0.1rem;
    text-transform: uppercase;
    color: rgba(255,255,255,0.58);
}

.hero__cta-group {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-main);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.1rem;
    text-transform: uppercase;
    background: var(--gold);
    color: var(--navy);
    padding: 0.875rem 2rem;
    min-height: 44px;
    transition: background 0.2s;
}

.btn-primary:hover { background: var(--gold-light); }

.btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-main);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.1rem;
    text-transform: uppercase;
    color: rgba(255,255,255,0.72);
    border-bottom: 1px solid rgba(255,255,255,0.25);
    padding-bottom: 2px;
    transition: color 0.2s, border-color 0.2s;
    min-height: 44px;
}

.btn-ghost:hover {
    color: var(--gold);
    border-color: var(--gold);
}

/* Right column — stat block */
.hero__stats {
    display: flex;
    flex-direction: column;
    gap: 0;
    border: 1px solid var(--border-dark);
    align-self: start;
}

.hero__stat {
    padding: 1.5rem 1.75rem;
    border-bottom: 1px solid var(--border-dark);
}

.hero__stat:last-child { border-bottom: none; }

.hero__stat-num {
    font-family: var(--font-main);
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    font-weight: 300;
    color: var(--gold);
    letter-spacing: -0.02em;
    line-height: 1;
    margin-bottom: 0.35rem;
}

.hero__stat-label {
    font-size: 0.8125rem;
    color: rgba(255,255,255,0.62);
    line-height: 1.4;
}

@media (min-width: 900px) {
    .hero__inner {
        grid-template-columns: 1fr 280px;
        grid-template-rows: auto;
        align-items: start;
    }

    .hero__content { grid-column: 1; grid-row: 1 / -1; }
    .hero__stats { grid-column: 2; grid-row: 1 / -1; }
}

/* ─── Section: About ─── */
.about {
    background: var(--white);
    padding-block: var(--section-pad);
    border-top: 1px solid var(--border);
}

.about__inner {
    display: grid;
    gap: clamp(2.5rem, 5vw, 5rem);
}

.about__identity {
    padding-bottom: clamp(2rem, 4vw, 3rem);
    margin-bottom: clamp(2rem, 4vw, 3rem);
    border-bottom: 1px solid rgba(196, 154, 60, 0.2);
}

.about__identity .section-header {
    margin-bottom: 1.25rem;
}

.about__bio {
    max-width: 820px;
    font-size: clamp(0.9375rem, 1.3vw, 1.0625rem);
    color: var(--text-mid);
    line-height: 1.75;
}

.section-header {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.section-title {
    font-family: var(--font-main);
    font-size: clamp(1.5rem, 3vw, 2.125rem);
    font-weight: 300;
    color: var(--navy);
    line-height: 1.25;
    letter-spacing: -0.01em;
}

.section-title strong {
    font-weight: 600;
}

.about__body {
    display: grid;
    gap: clamp(2rem, 4vw, 4rem);
}

.about__lead {
    font-size: clamp(1.0625rem, 1.5vw, 1.1875rem);
    color: var(--text);
    line-height: 1.75;
    max-width: 64ch;
}

.about__columns {
    display: grid;
    gap: 2rem;
}

.about__col p {
    font-size: 0.9375rem;
    color: var(--text-mid);
    line-height: 1.7;
}

@media (min-width: 768px) {
    .about__columns {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }
}

@media (min-width: 1024px) {
    .about__body {
        padding-top: 0;
    }
}

/* ─── Thin separator ─── */
.sep {
    border: none;
    border-top: 1px solid var(--border);
    margin: 0;
}

/* ─── Section: Services ─── */
.services {
    background: var(--cream);
    padding-block: var(--section-pad);
}

.services__grid {
    display: grid;
    gap: 1px;
    background: var(--border);
    margin-top: clamp(2.5rem, 4vw, 3.5rem);
}

.service-card {
    background: var(--cream);
    padding: clamp(1.75rem, 3vw, 2.5rem);
    display: grid;
    grid-template-rows: subgrid;
    grid-row: span 4;
    gap: 1rem;
}

.service-card__number {
    font-family: var(--font-main);
    font-size: 0.6875rem;
    font-weight: 500;
    letter-spacing: 0.1rem;
    color: var(--gold);
    opacity: 0.7;
}

.service-card__title {
    font-family: var(--font-main);
    font-size: 1.0625rem;
    font-weight: 600;
    color: var(--navy);
    line-height: 1.3;
}

.service-card__body {
    font-size: 0.9375rem;
    color: var(--text-mid);
    line-height: 1.7;
}

.service-card__rule {
    display: none;
}

@media (min-width: 768px) {
    .services__grid {
        grid-template-columns: repeat(3, 1fr);
        grid-template-rows: auto;
    }
}

.services__sectors {
    margin-top: clamp(2.5rem, 4vw, 3.5rem);
    padding-top: clamp(2rem, 3vw, 2.5rem);
    border-top: 1px solid var(--border);
}

.services__sectors-title {
    font-family: var(--font-main);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.1rem;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 1.25rem;
    text-align: center;
}

.services__sectors-list {
    display: grid;
    gap: 0.75rem;
}

@media (min-width: 640px) {
    .services__sectors-list {
        grid-template-columns: 1fr 1fr;
    }
}

.services__sector-tag {
    font-family: var(--font-main);
    font-size: 0.8125rem;
    color: var(--navy);
    padding: 1rem 1.5rem;
    border: 1px solid #c5b89a;
    background: var(--white);
    letter-spacing: 0.01em;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.services__sector-tag strong {
    font-weight: 600;
    font-size: 0.875rem;
}

.services__sector-tag span {
    font-size: 0.75rem;
    color: var(--text-mid);
    font-weight: 400;
}

/* ─── Section: Experience ─── */
.experience {
    background: var(--navy);
    padding-block: var(--section-pad);
    position: relative;
}

.experience__inner {
    display: grid;
    gap: clamp(2.5rem, 4vw, 3.5rem);
}

.experience .section-title { color: var(--white); font-weight: 400; }
.experience .section-title strong { color: var(--gold); font-weight: 600; }

.timeline {
    display: flex;
    flex-direction: column;
    gap: 0;
    border-left: 1px solid var(--border-dark);
    padding-left: 0;
    margin-left: 0;
}

.timeline-item {
    display: grid;
    gap: 0.25rem;
    padding: 1.5rem 1.5rem 1.5rem 1.75rem;
    border-bottom: 1px solid var(--border-dark);
    position: relative;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -4px;
    top: 1.85rem;
    width: 7px;
    height: 7px;
    background: var(--gold);
}

.timeline-item:last-child { border-bottom: none; }

.timeline-item__role {
    font-family: var(--font-main);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--white);
    line-height: 1.35;
}

.timeline-item__org {
    font-family: var(--font-main);
    font-size: 0.8125rem;
    font-weight: 400;
    color: var(--gold);
    letter-spacing: 0.02em;
}

.timeline-item__date {
    font-family: var(--font-main);
    font-size: 0.75rem;
    font-weight: 400;
    color: rgba(255,255,255,0.52);
}

.timeline-item__note {
    font-size: 0.8125rem;
    color: rgba(255,255,255,0.52);
    margin-top: 0.1rem;
}

.timeline-item__details {
    margin-top: 0.5rem;
}

.timeline-item__details summary {
    font-family: var(--font-main);
    font-size: 0.6875rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--gold);
    opacity: 0.6;
    cursor: pointer;
    list-style: none;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.25rem 0;
    transition: opacity 0.2s;
}

.timeline-item__details summary::-webkit-details-marker { display: none; }

.timeline-item__details summary::after {
    content: '+';
    font-size: 0.8rem;
    font-weight: 400;
    line-height: 1;
}

.timeline-item__details[open] summary::after {
    content: '−';
}

.timeline-item__details summary:hover {
    opacity: 1;
}

.timeline-item__bullets {
    margin-top: 0.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.timeline-item__bullets li {
    font-size: 0.8125rem;
    color: rgba(255,255,255,0.65);
    line-height: 1.6;
    padding-left: 1rem;
    position: relative;
}

.timeline-item__bullets li::before {
    content: '–';
    position: absolute;
    left: 0;
    color: var(--gold);
    opacity: 0.5;
}

.credentials-block {
    display: grid;
    gap: 2.5rem;
}

.credentials-block__title {
    font-family: var(--font-main);
    font-size: 0.6875rem;
    font-weight: 500;
    letter-spacing: 0.1rem;
    text-transform: uppercase;
    color: var(--gold);
    opacity: 0.7;
    margin-bottom: 0.25rem;
}

.cred-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.cred-list li {
    font-family: var(--font-main);
    font-size: 0.8125rem;
    font-weight: 400;
    color: rgba(255,255,255,0.65);
    padding: 0.65rem 0;
    border-bottom: 1px solid var(--border-dark);
    display: flex;
    gap: 0.75rem;
    align-items: baseline;
}

.cred-list li::before {
    content: '—';
    color: var(--gold);
    opacity: 0.5;
    flex-shrink: 0;
    font-size: 0.7rem;
}

.cred-list li:last-child { border-bottom: none; }

@media (min-width: 900px) {
    .experience__inner {
        grid-template-columns: 1fr 320px;
        align-items: start;
        gap: 4rem;
    }

    .credentials-block {
        position: sticky;
        top: calc(68px + 2rem);
    }
}

/* ─── Section: Contact ─── */
.contact {
    background: var(--white);
    padding-block: clamp(3rem, 6vw, 4rem);
    border-top: 1px solid var(--border);
}

.contact__intro {
    font-size: 0.9375rem;
    color: var(--text-mid);
    max-width: 52ch;
    margin-bottom: 2rem;
}

.contact__inner {
    display: grid;
    gap: clamp(3rem, 6vw, 5rem);
}

.contact__body {
    display: grid;
    gap: 2.5rem;
}

.contact__detail {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.contact__detail-label {
    font-family: var(--font-main);
    font-size: 0.6875rem;
    font-weight: 500;
    letter-spacing: 0.1rem;
    text-transform: uppercase;
    color: var(--text-light);
}

.contact__detail-value {
    font-family: var(--font-main);
    font-size: 1rem;
    font-weight: 500;
    color: var(--navy);
}

.contact__detail-value a {
    color: var(--navy);
    transition: color 0.2s;
    text-decoration-color: var(--border);
    text-decoration-line: underline;
    text-underline-offset: 3px;
}

.contact__detail-value a:hover { color: var(--gold); }

.contact__details-grid {
    display: grid;
    gap: 1.75rem;
}

.contact__company-note {
    font-size: 0.8125rem;
    color: var(--text-light);
    line-height: 1.5;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border);
}

@media (min-width: 768px) {
    .contact__details-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* ─── Footer ─── */
.footer {
    background: var(--navy);
    border-top: 1px solid var(--border-dark);
    padding-block: clamp(2.5rem, 5vw, 4rem);
}

.footer__inner {
    display: grid;
    gap: 2.5rem;
}

.footer__top {
    display: grid;
    gap: 2rem;
}

.footer__brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.footer__logo-mark {
    width: 30px;
    height: 30px;
    border: 1px solid rgba(196,154,60,0.4);
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer__logo-mark span {
    font-family: var(--font-main);
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--gold);
}

.footer__brand-name {
    font-family: var(--font-main);
    font-size: 0.875rem;
    font-weight: 500;
    color: rgba(255,255,255,0.7);
    letter-spacing: 0.04em;
}

.footer__col-title {
    font-family: var(--font-main);
    font-size: 0.625rem;
    font-weight: 500;
    letter-spacing: 0.1rem;
    text-transform: uppercase;
    color: rgba(255,255,255,0.25);
    margin-bottom: 1rem;
}

.footer__nav-list {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.footer__nav-list a {
    font-size: 0.8125rem;
    color: rgba(255,255,255,0.5);
    transition: color 0.2s;
}

.footer__nav-list a:hover { color: var(--gold); }

.footer__address {
    font-size: 0.8125rem;
    color: rgba(255,255,255,0.4);
    line-height: 1.6;
}

.footer__address a {
    transition: color 0.2s;
}

.footer__address a:hover {
    color: var(--gold);
}

.footer__bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 0.75rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-dark);
}

.footer__copy {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.25);
}

.footer__legal {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.2);
}

@media (min-width: 768px) {
    .footer__top {
        grid-template-columns: 1fr 160px 220px;
        gap: 3rem;
    }
}

/* ─── Scroll animations ─── */
.fade-up {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.55s ease, transform 0.55s ease;
}

.fade-up.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    .fade-up { opacity: 1; transform: none; transition: none; }
}

/* ─── Focus styles ─── */
:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 3px;
}