:root {
    --navy: #0d2a4c;
    --blue: #4c83bd;
    --pale-blue: #e9f2fb;
    --ink: #142a43;
    --muted: #4d6278;
    --line: #5f91c5;
    --white: #ffffff;
    --max-width: 980px;
    --brand-width: 275px;
    --header-gap: 28px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    color: var(--ink);
    background: var(--white);
    font-family: "Inter", Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
}
a { color: inherit; }

.site-header {
    position: relative;
    z-index: 20;
    width: min(var(--max-width), calc(100% - 36px));
    margin: 0 auto;
    background: transparent;
}
.header-inner {
    position: relative;
    min-height: 62px;
    display: grid;
    grid-template-columns: minmax(250px, 1fr) auto;
    align-items: center;
    gap: 38px;
}
.header-rule {
    position: absolute;
    z-index: 0;
    left: calc(var(--brand-width) + var(--header-gap));
    right: 0;
    bottom: 0;
    height: 2px;
    background: var(--line);
}
.brand,
.header-contact { position: relative; z-index: 1; }
.brand { display: inline-flex; width: fit-content; }
.brand img { display: block; width: var(--brand-width); height: auto; }
.header-contact { display: flex; gap: 36px; align-items: flex-start; }
.header-contact a { text-decoration: none; display: grid; gap: 3px; white-space: nowrap; }
.header-contact span { color: var(--blue); font-size: 11px; font-weight: 600; }
.header-contact strong { color: var(--navy); font-size: 12px; font-weight: 500; }

.nav-row {
    position: relative;
    z-index: 22;
    min-height: 62px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}
.primary-nav { display: flex; gap: 38px; align-items: center; }
.primary-nav a,
.linkedin-link {
    position: relative;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    color: var(--navy);
}
.primary-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 100%;
    bottom: -8px;
    height: 2px;
    background: var(--blue);
    transition: right .22s ease;
}
.primary-nav a:hover::after,
.primary-nav a:focus-visible::after { right: 0; }
.linkedin-link span,
.text-cta span { color: var(--blue); transition: transform .2s ease; display: inline-block; }
.linkedin-link:hover span,
.text-cta:hover span { transform: translateX(4px); }

.menu-toggle { display: none; }

.hero {
    position: relative;
    z-index: 1;
    min-height: 610px;
    width: calc(100% - 36px);
    margin: 0 auto;
    overflow: visible;
    isolation: isolate;
    background:
        linear-gradient(90deg, rgba(233,242,251,.90) 0%, rgba(233,242,251,.82) 48%, rgba(233,242,251,.25) 100%),
        url("hero-texture.jpg") center / cover no-repeat;
}
.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    overflow: hidden;
    background: linear-gradient(180deg, rgba(255,255,255,.08), rgba(220,235,248,.12));
}
.hero-content {
    position: relative;
    z-index: 3;
    width: min(var(--max-width), calc(100% - 36px));
    margin: 0 auto;
    padding: 135px 460px 90px 0;
}
.hero h1 {
    margin: 0 0 14px;
    color: var(--navy);
    font-size: clamp(3.2rem, 5.6vw, 5.15rem);
    line-height: .98;
    letter-spacing: -.045em;
    font-weight: 500;
}
.hero h2 {
    margin: 0 0 22px;
    max-width: 610px;
    color: var(--blue);
    font-size: clamp(2rem, 3vw, 3rem);
    line-height: 1.12;
    letter-spacing: -.025em;
    font-weight: 600;
}
.hero p {
    max-width: 610px;
    margin: 0 0 11px;
    color: #344d65;
    font-size: 15px;
    line-height: 1.35;
}
.hero .credibility {
    color: var(--navy);
    font-size: 16px;
    line-height: 1.35;
    font-weight: 700;
}
.text-cta {
    display: inline-flex;
    gap: 8px;
    align-items: center;
    margin-top: 6px;
    color: var(--navy);
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
}
.portrait-wrap {
    position: absolute;
    z-index: 30;
    right: calc((100vw - 100%) / -2);
    top: -62px;
    bottom: 0;
    width: clamp(520px, 47vw, 880px);
    pointer-events: none;
}
.portrait-wrap picture {
    position: absolute;
    inset: 0;
    display: block;
}
.portrait {
    position: absolute;
    right: 0;
    bottom: 0;
    display: block;
    width: clamp(520px, 47vw, 880px);
    height: auto;
    max-width: none;
    max-height: calc(100% + 62px);
    object-fit: contain;
    object-position: right bottom;
}

.content-section {
    width: min(900px, calc(100% - 36px));
    margin: 0 auto;
    padding: 92px 0;
    border-bottom: 1px solid #dbe5ef;
}
.content-section h2 {
    margin: 0 0 18px;
    max-width: 760px;
    color: var(--navy);
    font-size: clamp(2rem, 4vw, 3.6rem);
    line-height: 1.08;
    letter-spacing: -.035em;
    font-weight: 500;
}
.content-section p { max-width: 720px; color: var(--muted); font-size: 18px; line-height: 1.7; }
.eyebrow { margin: 0 0 14px !important; color: var(--blue) !important; font-size: 12px !important; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.split { display: grid; grid-template-columns: 1.15fr .85fr; gap: 72px; align-items: end; }
.contact-links { display: flex; flex-wrap: wrap; gap: 24px; }
.contact-links a { color: var(--blue); font-weight: 600; text-decoration: none; }

@media (max-width: 1180px) {
    .portrait-wrap {
        right: calc((100vw - 100%) / -2);
        width: clamp(500px, 50vw, 730px);
    }
    .portrait { width: clamp(500px, 50vw, 730px); }
}

@media (max-width: 1024px) {
    :root {
        --max-width: 900px;
        --brand-width: 240px;
        --header-gap: 22px;
    }
    .site-header, .hero { width: calc(100% - 28px); }
    .header-contact { gap: 22px; }
    .primary-nav { gap: 25px; }
    .hero { min-height: 680px; }
    .hero-content { padding: 95px 42% 80px 20px; }
    .portrait-wrap {
        top: -56px;
        width: clamp(430px, 52vw, 620px);
        right: calc((100vw - 100%) / -2);
    }
    .portrait {
        width: clamp(430px, 52vw, 620px);
        max-height: calc(100% + 56px);
    }
}

@media (max-width: 760px) {
    .site-header { width: 100%; padding: 0 18px; background: var(--white); }
    .header-inner { min-height: 72px; grid-template-columns: 1fr auto; gap: 15px; }
    .header-rule { left: calc(min(235px, 68vw) + 14px); }
    .brand img { width: min(235px, 68vw); }
    .header-contact { display: none; }
    .menu-toggle {
        position: relative;
        z-index: 2;
        width: 44px;
        height: 44px;
        display: grid;
        place-content: center;
        gap: 5px;
        border: 0;
        background: transparent;
        cursor: pointer;
    }
    .menu-toggle span { display: block; width: 24px; height: 2px; background: var(--navy); transition: .2s ease; }
    .menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    .menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
    .menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
    .nav-row {
        min-height: auto;
        display: block;
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        transition: max-height .28s ease, opacity .2s ease, padding .2s ease;
    }
    .nav-row.open { max-height: 420px; opacity: 1; padding: 12px 0 22px; }
    .primary-nav { display: grid; gap: 0; }
    .primary-nav a { padding: 12px 0; border-bottom: 1px solid #e2eaf2; }
    .primary-nav a::after { display: none; }
    .linkedin-link { display: inline-flex; padding-top: 16px; }

    .hero {
        width: 100%;
        min-height: 0;
        display: flex;
        flex-direction: column;
        overflow: hidden;
        background-position: 35% center;
    }
    .hero-content {
        order: 1;
        width: 100%;
        padding: 64px 24px 32px;
    }
    .hero h1 { font-size: clamp(3.1rem, 13vw, 4.7rem); }
    .hero h2 { font-size: clamp(2rem, 8.3vw, 3rem); max-width: 650px; }
    .hero p { font-size: 16px; line-height: 1.55; max-width: 650px; }
    .hero .credibility { font-size: 16px; }
    .portrait-wrap {
        order: 2;
        position: relative;
        z-index: 2;
        right: auto;
        top: auto;
        bottom: auto;
        width: 100%;
        height: auto;
        padding: 0 20px 24px;
        pointer-events: auto;
    }
    .portrait-wrap picture {
        position: relative;
        inset: auto;
        width: min(100%, 620px);
        margin: 0 auto;
    }
    .portrait {
        position: relative;
        right: auto;
        bottom: auto;
        width: 100%;
        height: auto;
        max-width: 100%;
        max-height: none;
        transform: none;
        object-fit: cover;
        object-position: center 30%;
        aspect-ratio: 4 / 3;
    }
    .content-section { padding: 68px 0; }
    .split { grid-template-columns: 1fr; gap: 22px; }
}

@media (max-width: 420px) {
    .hero-content { padding: 50px 20px 28px; }
    .hero h1 { font-size: 3.05rem; }
    .hero h2 { font-size: 2.12rem; }
    .hero .credibility { margin-top: 17px; }
    .portrait-wrap { padding-inline: 14px; }
    .portrait { aspect-ratio: 1 / 1; object-position: center 24%; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* My Story */
.story-section {
    background: var(--white);
    padding: 108px 0 116px;
}
.story-shell {
    width: min(980px, calc(100% - 36px));
    margin: 0 auto;
}
.story-intro {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(280px, .95fr);
    gap: 72px;
    align-items: start;
}
.story-intro .eyebrow {
    grid-column: 1 / -1;
    margin-bottom: -42px !important;
}
.story-intro h2 {
    margin: 0;
    color: var(--navy);
    font-size: clamp(2.35rem, 4.3vw, 4.15rem);
    line-height: 1.04;
    letter-spacing: -.045em;
    font-weight: 500;
}
.story-intro-copy {
    padding-top: 6px;
}
.story-intro-copy p,
.story-narrative p {
    margin: 0 0 20px;
    color: var(--muted);
    font-size: 17px;
    line-height: 1.72;
}
.story-feature {
    position: relative;
    margin: 62px 0 58px;
    overflow: hidden;
    min-height: 315px;
    background: var(--pale-blue);
}
.story-feature::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(13,42,76,.36), rgba(76,131,189,.10) 55%, rgba(255,255,255,.06));
    pointer-events: none;
}
.story-feature img {
    display: block;
    width: 100%;
    height: 315px;
    object-fit: cover;
    object-position: center 47%;
    filter: saturate(.78) contrast(.94);
    transform: scale(1.035);
    transition: transform 1.2s cubic-bezier(.2,.7,.2,1);
}
.story-feature.is-visible img { transform: scale(1); }
.story-feature figcaption {
    position: absolute;
    z-index: 2;
    left: 34px;
    right: 34px;
    bottom: 28px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px 28px;
    color: var(--white);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .15em;
    text-transform: uppercase;
}
.story-feature figcaption span:not(:last-child)::after {
    content: "•";
    margin-left: 28px;
    color: rgba(255,255,255,.72);
}
.story-lower {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(360px, .92fr);
    gap: 76px;
    align-items: start;
}
.story-narrative h3 {
    margin: 0 0 22px;
    color: var(--navy);
    font-size: clamp(1.65rem, 2.7vw, 2.45rem);
    line-height: 1.18;
    letter-spacing: -.025em;
    font-weight: 600;
}
.story-list {
    margin: 26px 0 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 12px;
}
.story-list li {
    position: relative;
    padding-left: 23px;
    color: var(--ink);
    font-size: 15px;
    line-height: 1.55;
}
.story-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: .72em;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--blue);
}
.story-metrics {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px 26px;
}
.metric-card {
    min-height: 190px;
    padding: 25px 22px 22px;
    border-top: 3px solid var(--blue);
    background: #f6f9fc;
}
.metric-icon {
    width: 45px;
    height: 45px;
    display: grid;
    place-items: center;
    margin-bottom: 18px;
    color: var(--blue);
}
.metric-icon svg {
    width: 42px;
    height: 42px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.metric-card strong {
    display: block;
    margin-bottom: 6px;
    color: var(--navy);
    font-size: clamp(1.8rem, 3vw, 2.35rem);
    line-height: 1;
    letter-spacing: -.035em;
}
.metric-card:last-child strong {
    font-size: clamp(1.25rem, 2vw, 1.65rem);
    line-height: 1.08;
}
.metric-card span {
    display: block;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.45;
}

/* Scroll reveal / lazy visual loading */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity .75s ease, transform .75s cubic-bezier(.2,.7,.2,1);
}
.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}
.story-metrics .metric-card:nth-child(2) { transition-delay: .08s; }
.story-metrics .metric-card:nth-child(3) { transition-delay: .16s; }
.story-metrics .metric-card:nth-child(4) { transition-delay: .24s; }

@media (max-width: 900px) {
    .story-section { padding: 84px 0 92px; }
    .story-intro { grid-template-columns: 1fr; gap: 24px; }
    .story-intro .eyebrow { margin-bottom: 0 !important; }
    .story-intro-copy { max-width: 740px; padding-top: 0; }
    .story-feature { margin: 48px 0; }
    .story-lower { grid-template-columns: 1fr; gap: 50px; }
    .story-metrics { max-width: 720px; }
}

@media (max-width: 600px) {
    .story-section { padding: 68px 0 76px; }
    .story-shell { width: min(100% - 40px, 980px); }
    .story-intro h2 { font-size: clamp(2.05rem, 10.5vw, 3rem); }
    .story-intro-copy p,
    .story-narrative p { font-size: 16px; line-height: 1.65; }
    .story-feature { min-height: 225px; margin: 38px 0 42px; }
    .story-feature img { height: 225px; }
    .story-feature figcaption { left: 20px; right: 20px; bottom: 18px; gap: 8px 14px; font-size: 10px; }
    .story-feature figcaption span:not(:last-child)::after { margin-left: 14px; }
    .story-narrative h3 { font-size: 1.75rem; }
    .story-metrics { grid-template-columns: 1fr; gap: 14px; }
    .metric-card { min-height: 0; display: grid; grid-template-columns: 52px 1fr; grid-template-rows: auto auto; column-gap: 14px; align-items: center; padding: 20px; }
    .metric-icon { grid-row: 1 / 3; margin: 0; }
    .metric-card strong { margin: 0 0 4px; font-size: 1.9rem; }
    .metric-card:last-child strong { font-size: 1.35rem; }
}

@media (prefers-reduced-motion: reduce) {
    .reveal { opacity: 1; transform: none; }
    .story-feature img { transform: none; }
}
