:root {
    --charcoal: #18212f;
    --charcoal-light: #263446;
    --slate: #475569;
    --muted: #64748b;
    --teal: #0f766e;
    --teal-dark: #0b5f59;
    --teal-light: #dff4f1;
    --blue: #2563eb;
    --background: #f5f7fa;
    --surface: #ffffff;
    --surface-alt: #eef2f6;
    --border: #dce3ea;
    --text: #1f2937;
    --white: #ffffff;
    --shadow-small: 0 5px 18px rgba(15, 23, 42, 0.06);
    --shadow-large: 0 18px 45px rgba(15, 23, 42, 0.12);
    --radius: 12px;
    --max-width: 1220px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--text);
    background: var(--surface);
    font-family: Inter, "Segoe UI", Arial, Helvetica, sans-serif;
    line-height: 1.65;
}

a {
    color: inherit;
}

img {
    max-width: 100%;
}

.container {
    width: min(92%, var(--max-width));
    margin: 0 auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(12px);
}

.header-inner {
    min-height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 13px;
    text-decoration: none;
}

.brand-mark {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    color: var(--white);
    background: linear-gradient(135deg, var(--charcoal), var(--teal));
    font-size: 0.88rem;
    font-weight: 900;
    letter-spacing: 0.08em;
}

.brand-text strong {
    display: block;
    color: var(--charcoal);
    font-size: 1.26rem;
    line-height: 1.05;
    letter-spacing: -0.02em;
}

.brand-text span {
    display: block;
    margin-top: 5px;
    color: var(--muted);
    font-size: 0.7rem;
    letter-spacing: 0.055em;
    text-transform: uppercase;
}

.site-nav {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 25px;
}

.site-nav a {
    position: relative;
    color: var(--charcoal-light);
    text-decoration: none;
    font-size: 0.92rem;
    font-weight: 700;
}

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

.site-nav a:hover,
.site-nav a:focus {
    color: var(--teal);
}

.site-nav a:hover::after,
.site-nav a:focus::after {
    transform: scaleX(1);
}

.hero {
    position: relative;
    overflow: hidden;
    padding: 100px 0 94px;
    color: var(--white);
    background:
        linear-gradient(115deg, rgba(24, 33, 47, 0.98), rgba(38, 52, 70, 0.96)),
        var(--charcoal);
}

.hero::before {
    position: absolute;
    top: -160px;
    right: -100px;
    width: 520px;
    height: 520px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    content: "";
}

.hero::after {
    position: absolute;
    right: 80px;
    bottom: -240px;
    width: 620px;
    height: 620px;
    border: 80px solid rgba(15, 118, 110, 0.12);
    border-radius: 50%;
    content: "";
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 850px;
}

.eyebrow {
    margin: 0 0 16px;
    color: var(--teal);
    font-size: 0.76rem;
    font-weight: 900;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.hero .eyebrow {
    color: #7dd3ca;
}

.hero h1 {
    max-width: 800px;
    margin: 0;
    font-size: clamp(2.7rem, 6vw, 5rem);
    line-height: 1.03;
    letter-spacing: -0.05em;
}

.hero-lead {
    max-width: 760px;
    margin: 27px 0 0;
    color: #dbe4ec;
    font-size: clamp(1.08rem, 2vw, 1.27rem);
}

.button-row {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 36px;
}

.button {
    min-height: 49px;
    padding: 12px 22px;
    border: 2px solid transparent;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 0.94rem;
    font-weight: 800;
    transition:
        transform 0.2s ease,
        background 0.2s ease,
        border-color 0.2s ease;
}

.button:hover,
.button:focus {
    transform: translateY(-2px);
}

.button-primary {
    color: var(--white);
    background: var(--teal);
}

.button-primary:hover,
.button-primary:focus {
    background: var(--teal-dark);
}

.button-secondary {
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.48);
    background: transparent;
}

.button-secondary:hover,
.button-secondary:focus {
    border-color: var(--white);
    background: rgba(255, 255, 255, 0.08);
}

.button-dark {
    color: var(--white);
    background: var(--charcoal);
}

.button-dark:hover,
.button-dark:focus {
    background: var(--charcoal-light);
}

.section {
    padding: 84px 0;
}

.section-soft {
    background: var(--background);
}

.section-heading {
    max-width: 800px;
    margin-bottom: 40px;
}

.section-heading h2 {
    margin: 0;
    color: var(--charcoal);
    font-size: clamp(2rem, 4vw, 3.1rem);
    line-height: 1.12;
    letter-spacing: -0.035em;
}

.section-heading p {
    margin: 17px 0 0;
    color: var(--muted);
    font-size: 1.06rem;
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.venture-card {
    position: relative;
    min-height: 100%;
    padding: 26px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    display: flex;
    flex-direction: column;
    background: var(--surface);
    box-shadow: var(--shadow-small);
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        border-color 0.2s ease;
}

.venture-card::before {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 4px;
    border-radius: var(--radius) var(--radius) 0 0;
    content: "";
    background: linear-gradient(90deg, var(--teal), #38a89d);
    opacity: 0;
    transition: opacity 0.2s ease;
}

.venture-card:hover {
    border-color: #bfcbd6;
    transform: translateY(-4px);
    box-shadow: var(--shadow-large);
}

.venture-card:hover::before {
    opacity: 1;
}

.card-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 21px;
    border: 1px solid #cfd8e2;
    border-radius: 10px;
    display: grid;
    place-items: center;
    color: var(--charcoal);
    background: var(--surface-alt);
    font-size: 0.84rem;
    font-weight: 900;
    letter-spacing: 0.04em;
}

.status {
    align-self: flex-start;
    margin-bottom: 13px;
    padding: 5px 9px;
    border-radius: 5px;
    color: #365264;
    background: #e8eef3;
    font-size: 0.68rem;
    font-weight: 900;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.status-free {
    color: #0b5f59;
    background: var(--teal-light);
}

.status-development {
    color: #5f4a13;
    background: #f4ecd5;
}

.venture-card h3 {
    margin: 0;
    color: var(--charcoal);
    font-size: 1.28rem;
    line-height: 1.25;
    letter-spacing: -0.015em;
}

.card-tagline {
    margin: 12px 0 0;
    color: var(--slate);
    font-weight: 750;
    line-height: 1.46;
}

.card-description {
    margin: 13px 0 24px;
    color: var(--muted);
}

.card-link {
    margin-top: auto;
    color: var(--teal);
    text-decoration: none;
    font-size: 0.93rem;
    font-weight: 900;
}

.card-link:hover,
.card-link:focus {
    color: var(--teal-dark);
}

.two-column {
    display: grid;
    grid-template-columns: 1.12fr 0.88fr;
    gap: 58px;
    align-items: center;
}

.content-panel h2 {
    margin: 0;
    color: var(--charcoal);
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.13;
    letter-spacing: -0.035em;
}

.content-panel p {
    color: var(--muted);
    font-size: 1.06rem;
}

.founder-panel {
    position: relative;
    overflow: hidden;
    padding: 39px;
    border: 1px solid #334155;
    border-radius: var(--radius);
    color: var(--white);
    background:
        linear-gradient(145deg, var(--charcoal), var(--charcoal-light));
    box-shadow: var(--shadow-large);
}

.founder-panel::after {
    position: absolute;
    right: -80px;
    bottom: -110px;
    width: 240px;
    height: 240px;
    border: 42px solid rgba(15, 118, 110, 0.18);
    border-radius: 50%;
    content: "";
}

.founder-panel > * {
    position: relative;
    z-index: 2;
}

.founder-panel h3 {
    margin: 0;
    font-size: 1.66rem;
    letter-spacing: -0.025em;
}

.founder-panel p {
    color: #d7e0e8;
}

.contact-band {
    padding: 67px 0;
    color: var(--white);
    background: linear-gradient(110deg, var(--teal-dark), var(--teal));
}

.contact-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 36px;
}

.contact-inner h2 {
    margin: 0;
    font-size: clamp(1.9rem, 4vw, 2.8rem);
    letter-spacing: -0.035em;
}

.contact-inner p {
    max-width: 730px;
    margin: 12px 0 0;
    color: #def3f0;
}

.contact-band .button-primary {
    color: var(--charcoal);
    background: var(--white);
}

.contact-band .button-primary:hover,
.contact-band .button-primary:focus {
    background: #eaf4f2;
}

.site-footer {
    padding: 44px 0;
    color: #cbd5df;
    background: #111827;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    flex-wrap: wrap;
}

.footer-title {
    color: var(--white);
    font-weight: 900;
    letter-spacing: -0.015em;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 19px;
}

.footer-links a {
    color: #cbd5df;
    text-decoration: none;
}

.footer-links a:hover,
.footer-links a:focus {
    color: #7dd3ca;
}

.small {
    margin-top: 14px;
    color: #94a3b8;
    font-size: 0.87rem;
}

@media (max-width: 920px) {
    .header-inner {
        padding: 15px 0;
        align-items: flex-start;
        flex-direction: column;
    }

    .site-nav {
        gap: 14px 19px;
    }

    .card-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .two-column {
        grid-template-columns: 1fr;
    }

    .contact-inner {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 640px) {
    .hero {
        padding: 72px 0 68px;
    }

    .section {
        padding: 64px 0;
    }

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

    .venture-card {
        padding: 23px;
    }

    .button-row,
    .button {
        width: 100%;
    }

    .brand-text span {
        display: none;
    }
}

/* Unified CVF Group venture-card treatment */
.venture-card {
    position: relative;
    overflow: hidden;
    border: 2px solid var(--charcoal);
    border-radius: 14px;
    box-shadow:
        inset 0 5px 0 var(--teal),
        0 8px 24px rgba(15, 23, 42, 0.08);
}

.venture-card::before {
    display: none;
}

.venture-card:hover {
    border-color: var(--charcoal);
    box-shadow:
        inset 0 5px 0 var(--teal),
        0 16px 38px rgba(15, 23, 42, 0.15);
}

.card-icon {
    width: 58px;
    height: 58px;
    margin-bottom: 22px;
    border: 1px solid rgba(15, 118, 110, 0.32);
    border-radius: 15px;
    display: grid;
    place-items: center;
    color: var(--teal);
    background: linear-gradient(145deg, #ffffff 0%, #e8f5f3 100%);
    box-shadow:
        inset 0 0 0 3px rgba(15, 118, 110, 0.06),
        0 5px 12px rgba(15, 23, 42, 0.08);
}

.card-icon svg {
    width: 31px;
    height: 31px;
    display: block;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
    fill: none;
}

/* CVF Group logo treatment */
.brand-mark {
    width: 54px;
    height: 54px;
    overflow: hidden;
    border-radius: 50%;
    background: #071b33;
    box-shadow: 0 3px 10px rgba(15, 23, 42, 0.18);
}

.brand-mark img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

/* James Stewart profile photo */
.profile-layout {
    display: grid;
    grid-template-columns: minmax(280px, 0.78fr) minmax(0, 1.22fr);
    gap: 54px;
    align-items: start;
}

.profile-photo-panel {
    position: sticky;
    top: 110px;
}

.profile-photo {
    width: 100%;
    display: block;
    aspect-ratio: 9 / 11;
    object-fit: cover;
    object-position: center top;
    border: 3px solid var(--charcoal);
    border-radius: 18px;
    box-shadow:
        inset 0 5px 0 var(--teal),
        0 18px 42px rgba(15, 23, 42, 0.16);
}

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

    .profile-photo-panel {
        position: static;
        max-width: 520px;
        margin: 0 auto;
    }
}
