/* Curtiex Ventures — corporate site styles */

@font-face {
    font-family: 'Inter'; font-style: normal; font-weight: 400 600; font-display: swap;
    src: url('/assets/fonts/inter-latin.woff2') format('woff2');
}
@font-face {
    font-family: 'Sora'; font-style: normal; font-weight: 500 700; font-display: swap;
    src: url('/assets/fonts/sora-latin.woff2') format('woff2');
}

:root {
    --navy-900: #130A2C;
    --navy-800: #1D1142;
    --navy-700: #2E1C63;
    --ink: #170E30;
    --text: #3A4358;
    --muted: #626B80;
    --line: #E1E3EA;
    --paper: #F5F3F8;
    --white: #FFFFFF;
    --accent: #1DBF55;
    --accent-dark: #0A7F35;
    --v: var(--accent);

    --font-display: 'Sora', 'Segoe UI', system-ui, -apple-system, sans-serif;
    --font-body: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;

    --radius: 14px;
    --radius-sm: 8px;
    --shadow: 0 1px 2px rgba(10, 21, 48, .05), 0 12px 32px -12px rgba(10, 21, 48, .18);
    --container: 1180px;
    --gutter: clamp(20px, 4vw, 40px);
    --header-h: 72px;

    /* Theme tokens: light values here, dark values below */
    color-scheme: light;
    --bg: #FFFFFF; --surface: #FFFFFF;
    --tint: 0%; /* how far venture colours are lightened when used as text */
    --btn-bg: var(--navy-900); --btn-bg-hover: var(--navy-700); --btn-fg: #FFFFFF;
    --notice-bg: #FFF8E8; --field-border: #B9BFCC;
    --ok-bg: #E9F6EF; --ok-line: #9CD3B5; --err: #B3261E; --err-bg: #FCECEA; --err-line: #E8A9A4; --err-text: #7A1A14;
}

/* Dark theme: follows the device unless the visitor picked one with the toggle */
@media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) {
        color-scheme: dark;
        --ink: #F4F1FB; --text: #C8C1DB; --muted: #9C94B6; --line: #2C2150;
        --paper: #140B2B; --bg: #0D071D; --surface: #1A1035;
        --accent-dark: #3DD675; --tint: 45%;
        --btn-bg: #1DBF55; --btn-bg-hover: #45D878; --btn-fg: #130A2C;
        --notice-bg: #2A2110; --field-border: #4A3F6E;
        --ok-bg: #0F2A1C; --ok-line: #1E6B40; --err: #FF8A80; --err-bg: #3A1414; --err-line: #7A2A26; --err-text: #FFB4AE;
        --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 14px 34px -12px rgba(0, 0, 0, .7);
    }
}
:root[data-theme="dark"] {
    color-scheme: dark;
    --ink: #F4F1FB; --text: #C8C1DB; --muted: #9C94B6; --line: #2C2150;
    --paper: #140B2B; --bg: #0D071D; --surface: #1A1035;
    --accent-dark: #3DD675; --tint: 45%;
    --btn-bg: #1DBF55; --btn-bg-hover: #45D878; --btn-fg: #130A2C;
    --notice-bg: #2A2110; --field-border: #4A3F6E;
    --ok-bg: #0F2A1C; --ok-line: #1E6B40; --err: #FF8A80; --err-bg: #3A1414; --err-line: #7A2A26; --err-text: #FFB4AE;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 14px 34px -12px rgba(0, 0, 0, .7);
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
    margin: 0;
    font-family: var(--font-body);
    font-size: 1.0625rem;
    line-height: 1.65;
    color: var(--text);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
    font-family: var(--font-display);
    color: var(--ink);
    line-height: 1.12;
    letter-spacing: -.02em;
    margin: 0 0 .5em;
    text-wrap: balance;
}
h1 { font-size: clamp(2.4rem, 6vw, 4.4rem); font-weight: 700; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.6rem); font-weight: 600; }
h3 { font-size: 1.2rem; font-weight: 600; letter-spacing: -.01em; }

p { margin: 0 0 1em; }
a { color: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
img, svg { max-width: 100%; }

:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }

.visually-hidden {
    position: absolute; width: 1px; height: 1px; overflow: hidden;
    clip: rect(0 0 0 0); white-space: nowrap;
}

.skip-link {
    position: absolute; left: 12px; top: -60px; z-index: 100;
    background: var(--accent); color: var(--navy-900); font-weight: 600;
    padding: 10px 16px; border-radius: var(--radius-sm); text-decoration: none;
}
.skip-link:focus { top: 12px; }

.icon { width: 1.25em; height: 1.25em; flex: none; }
.muted { color: var(--muted); }

.eyebrow {
    font-family: var(--font-display);
    font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
    color: var(--muted); margin: 0 0 1rem;
}
.eyebrow--light { color: var(--accent); }

.lead { font-size: 1.2rem; line-height: 1.55; color: var(--ink); }
.fineprint { font-size: .9rem; color: var(--muted); margin-top: 1.75rem; max-width: 60ch; }

/* Buttons and links */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .5em;
    font-family: var(--font-display); font-weight: 600; font-size: 1rem; line-height: 1.2;
    padding: .95em 1.5em; border-radius: 999px; border: 2px solid transparent;
    text-decoration: none; cursor: pointer;
    transition: background-color .2s, color .2s, border-color .2s, transform .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn--sm { padding: .65em 1.15em; font-size: .92rem; }
.btn--accent { background: var(--accent); color: var(--navy-900); }
.btn--accent:hover { background: #45D878; }
.btn--dark { background: var(--btn-bg); color: var(--btn-fg); }
.btn--dark:hover { background: var(--btn-bg-hover); }
.btn--ghost { border-color: rgba(255, 255, 255, .35); color: var(--white); }
.btn--ghost:hover { border-color: var(--white); background: rgba(255, 255, 255, .08); }

.btn-row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: 2rem; }

.link-arrow {
    display: inline-flex; align-items: center; gap: .4em;
    font-family: var(--font-display); font-weight: 600; font-size: .98rem;
    color: var(--ink); text-decoration: none;
}
.link-arrow .icon { transition: transform .2s; }
.link-arrow:hover { text-decoration: underline; text-underline-offset: 4px; }
.link-arrow:hover .icon { transform: translateX(3px); }

/* Header */
.site-header {
    position: sticky; top: 0; z-index: 50;
    margin-bottom: calc(-1 * var(--header-h)); /* sits over the dark page hero */
    background: rgba(19, 10, 44, .78); color: var(--white);
    -webkit-backdrop-filter: blur(14px) saturate(150%); backdrop-filter: blur(14px) saturate(150%);
    border-bottom: 1px solid rgba(255, 255, 255, .1);
    transition: background-color .3s, border-color .3s, box-shadow .3s;
}
.js .site-header:not(.is-scrolled) { background: transparent; border-color: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; }
.site-header.is-scrolled { box-shadow: 0 6px 24px rgba(8, 3, 24, .35); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; min-height: var(--header-h); gap: 20px; }

.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--white); }
.brand__mark { display: grid; place-items: center; width: 44px; height: 44px; flex: none; background: var(--white); border-radius: 11px; overflow: hidden; }
.brand__mark img { display: block; width: 38px; height: 38px; }
.brand__name { font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; letter-spacing: -.01em; }
.brand__name span { font-weight: 500; opacity: .75; }

.site-nav ul { display: flex; align-items: center; gap: 6px; }
.site-nav a:not(.btn) {
    display: block; padding: 10px 14px; border-radius: var(--radius-sm);
    font-weight: 500; font-size: .98rem; text-decoration: none; color: rgba(255, 255, 255, .82);
}
.site-nav a:not(.btn):hover, .site-nav a[aria-current="page"] { color: var(--white); background: rgba(255, 255, 255, .08); }
.site-nav .btn { margin-left: 10px; }

.nav-toggle {
    display: none; width: 44px; height: 44px; padding: 0;
    background: transparent; border: 1px solid rgba(255, 255, 255, .25); border-radius: var(--radius-sm); cursor: pointer;
}
.nav-toggle__bars, .nav-toggle__bars::before, .nav-toggle__bars::after {
    display: block; width: 20px; height: 2px; background: var(--white); margin: 0 auto; position: relative;
    transition: transform .2s, background-color .2s;
}
.nav-toggle__bars::before, .nav-toggle__bars::after { content: ''; position: absolute; left: 0; }
.nav-toggle__bars::before { top: -6px; }
.nav-toggle__bars::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 760px) {
    .js .nav-toggle { display: block; }
    /* Full-screen menu */
    .js .site-nav {
        display: none; position: absolute; left: 0; right: 0; top: 100%;
        height: calc(100vh - var(--header-h)); height: calc(100dvh - var(--header-h)); overflow-y: auto;
        background: var(--navy-900); border-top: 1px solid rgba(255, 255, 255, .1);
        padding: 20px var(--gutter) 32px;
    }
    .js .site-nav.is-open { display: block; animation: rise .35s cubic-bezier(.2, .7, .2, 1) backwards; }
    .nav-open, .nav-open body { overflow: hidden; }
    .js.nav-open .site-header { background: var(--navy-900); -webkit-backdrop-filter: none; backdrop-filter: none; }
    .site-nav ul { flex-direction: column; align-items: stretch; gap: 0; }
    .site-nav a:not(.btn) {
        padding: 18px 4px; border-radius: 0; border-bottom: 1px solid rgba(255, 255, 255, .1);
        font-family: var(--font-display); font-size: 1.6rem; font-weight: 600; letter-spacing: -.02em; color: var(--white);
    }
    .site-nav .btn { margin: 24px 0 0; width: 100%; padding: 1em; font-size: 1.05rem; }
    .site-nav .theme-toggle { width: auto; margin-top: 18px; padding: 10px 16px; gap: 10px; }
    .site-nav .theme-toggle span { display: inline; }
    html:not(.js) .site-header__inner { flex-wrap: wrap; padding-top: 10px; padding-bottom: 10px; }
}

/* Theme toggle: shows the icon for the theme you would switch to */
.theme-toggle {
    display: none; align-items: center; justify-content: center; width: 42px; height: 42px; padding: 0;
    background: transparent; color: rgba(255, 255, 255, .85); cursor: pointer;
    border: 1px solid rgba(255, 255, 255, .2); border-radius: 999px; font: inherit; font-size: .95rem;
    transition: background-color .2s, color .2s;
}
.js .theme-toggle { display: inline-flex; }
.theme-toggle:hover { background: rgba(255, 255, 255, .1); color: var(--white); }
.theme-toggle span { display: none; }
.theme-toggle .icon:nth-child(2) { display: none; }
:root[data-theme="dark"] .theme-toggle .icon:nth-child(1) { display: none; }
:root[data-theme="dark"] .theme-toggle .icon:nth-child(2) { display: block; }
@media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) .theme-toggle .icon:nth-child(1) { display: none; }
    :root:not([data-theme="light"]) .theme-toggle .icon:nth-child(2) { display: block; }
}

/* Dark backdrop shared by hero, page hero and CTA: navy with a woven diamond motif */
.hero, .page-hero, .cta, .section--dark {
    background-color: var(--navy-900);
    background-image:
        radial-gradient(60% 80% at 85% 0%, rgba(29, 191, 85, .12), transparent 70%),
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='56' viewBox='0 0 56 56'%3E%3Cpath d='M28 4 52 28 28 52 4 28Z M28 18 38 28 28 38 18 28Z' fill='none' stroke='%23ffffff' stroke-opacity='.045' stroke-width='1'/%3E%3C/svg%3E");
    color: rgba(255, 255, 255, .8);
}
.hero h1, .hero h2, .page-hero h1, .cta h2, .section--dark h2, .section--dark h3 { color: var(--white); }

/* Hero */
.hero { position: relative; overflow: hidden; padding: calc(var(--header-h) + clamp(48px, 8vw, 104px)) 0 0; }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.hero h1 span { color: var(--accent); display: block; }
.hero__lead { font-size: clamp(1.08rem, 1.6vw, 1.25rem); max-width: 56ch; margin-top: 1.5rem; }

.hero::before, .hero::after {
    content: ''; position: absolute; border-radius: 50%; filter: blur(90px); pointer-events: none;
    animation: drift 18s ease-in-out infinite alternate;
}
.hero::before { width: 520px; height: 520px; right: -120px; top: -160px; background: rgba(29, 191, 85, .22); }
.hero::after { width: 460px; height: 460px; left: -160px; bottom: -120px; background: rgba(120, 70, 230, .3); animation-delay: -9s; }
@keyframes drift { to { transform: translate(60px, 40px) scale(1.15); } }
.hero > * { position: relative; z-index: 1; }
.hero h1 { font-size: clamp(2.5rem, 4.3vw, 3.9rem); line-height: 1.04; letter-spacing: -.035em; }

.hero-tiles {
    background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 24px; padding: 18px;
    -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.hero-tiles__parent {
    display: flex; justify-content: space-between; align-items: baseline; gap: 12px;
    font-family: var(--font-display); font-weight: 600; color: var(--white);
    padding: 2px 6px 14px; margin: 0;
}
.hero-tiles__parent span { font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.hero-tiles ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.hero-tiles a {
    display: block; height: 100%; border-radius: 16px; overflow: hidden; text-decoration: none;
    background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1);
    transition: transform .25s, border-color .25s, box-shadow .25s;
}
.hero-tiles a:hover { transform: translateY(-4px); border-color: var(--v); box-shadow: 0 18px 36px -18px var(--v); }
.hero-tiles .media { aspect-ratio: 4 / 3; }
.hero-tiles .mock { width: 58%; }
.hero-tiles .mock__body { gap: 5px; padding: 9px 9px 10px; }
.hero-tiles .mock__body em { height: 18px; }
.hero-tiles__label { display: block; padding: 11px 13px 13px; border-top: 3px solid var(--v); }
.hero-tiles strong { display: block; overflow-wrap: anywhere; font-family: var(--font-display); font-weight: 600; font-size: .92rem; color: var(--white); line-height: 1.25; }
.hero-tiles small { font-size: .76rem; color: rgba(255, 255, 255, .62); }

.marquee {
    margin-top: clamp(48px, 8vw, 96px); overflow: hidden;
    border-top: 1px solid rgba(255, 255, 255, .1); background: rgba(255, 255, 255, .03);
}
.marquee__track { display: flex; width: max-content; animation: marquee 48s linear infinite; }
.marquee span {
    display: inline-flex; align-items: center; padding: 18px 0; white-space: nowrap;
    font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; color: var(--white);
}
.marquee span::after { content: ''; width: 8px; height: 8px; margin: 0 26px; background: var(--accent); transform: rotate(45deg); }
.marquee .marquee__cat { font-weight: 500; color: rgba(255, 255, 255, .5); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Venture media: logo, picture, or drawn browser window */
.media { display: block; aspect-ratio: 16 / 10; overflow: hidden; }
.media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.media--contain img { object-fit: contain; padding: 9% 11%; }
.media--mock { display: grid; place-items: center; background: linear-gradient(140deg, var(--v), var(--navy-700)); }
.mock { width: 72%; border-radius: 10px; overflow: hidden; background: rgba(255, 255, 255, .95); box-shadow: 0 18px 40px -14px rgba(0, 0, 0, .5); }
.mock__bar { display: flex; gap: 5px; padding: 8px 10px; background: #E7E5EE; }
.mock__bar i { width: 7px; height: 7px; border-radius: 50%; background: #B9B4C8; }
.mock__body { display: grid; gap: 7px; padding: 14px 14px 16px; }
.mock__body b { height: 12px; width: 62%; border-radius: 4px; background: var(--ink); }
.mock__body span { height: 6px; border-radius: 3px; background: #D5D1E0; }
.mock__body span + span { width: 80%; }
.mock__body div { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; margin-top: 5px; }
.mock__body em { height: 30px; border-radius: 5px; background: color-mix(in srgb, var(--v) 22%, white); }
.mock__body em:first-child { background: var(--v); }

/* Inner page hero */
.page-hero { padding: calc(var(--header-h) + clamp(44px, 6vw, 88px)) 0 clamp(52px, 8vw, 104px); }
.page-hero h1 { font-size: clamp(2rem, 4.6vw, 3.4rem); max-width: 22ch; }
.page-hero__lead { font-size: clamp(1.05rem, 1.5vw, 1.2rem); max-width: 62ch; margin-top: 1.25rem; }
.page-hero__name { font-family: var(--font-display); font-weight: 600; color: var(--white); margin: 0 0 .6rem; font-size: 1.1rem; }
.page-hero--venture { border-bottom: 5px solid var(--v); }
.page-hero__phone { margin: 1.5rem 0 0; color: rgba(255, 255, 255, .7); }
.page-hero__phone a { font-family: var(--font-display); font-weight: 600; font-size: 1.15rem; color: var(--white); text-underline-offset: 4px; }
.page-hero__grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.page-hero__grid .media { border-radius: 22px; border: 1px solid rgba(255, 255, 255, .14); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .7); }

.crumbs { font-size: .9rem; margin-bottom: 1.75rem; display: flex; gap: 8px; color: rgba(255, 255, 255, .6); }
.crumbs a { color: rgba(255, 255, 255, .85); }

.venture-badge {
    display: inline-flex; align-items: center; gap: 8px; margin: 0 0 1.25rem;
    padding: 6px 14px 6px 10px; border-radius: 999px;
    background: var(--v); color: var(--white);
    font-family: var(--font-display); font-size: .82rem; font-weight: 600;
}

/* Sections */
.section { padding: clamp(60px, 9vw, 112px) 0; }
.section--compact { padding: clamp(44px, 6vw, 76px) 0; }
.section--tint { background: var(--paper); }
.section--dark p { color: rgba(255, 255, 255, .78); }

.section-head { max-width: 760px; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head p:last-child { font-size: 1.12rem; margin-bottom: 0; }

.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(20px, 5vw, 72px); align-items: start; }
.split--center { align-items: center; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.split h2 { margin-bottom: 0; }
.split--center h2, .split--preview h2 { margin-bottom: .5em; }
.split--preview { align-items: center; }
.prose > :last-child { margin-bottom: 0; }
.prose p { max-width: 64ch; }

.two-col { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }

.pullquote {
    font-family: var(--font-display); font-size: clamp(1.3rem, 2.4vw, 1.75rem); font-weight: 600;
    color: var(--ink); line-height: 1.25; border-left: 4px solid var(--accent);
    padding-left: 20px; margin-top: 1.75rem;
}

/* Venture cards */
.venture-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.venture-grid--two { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }

.venture-card {
    position: relative; display: flex; flex-direction: column;
    background: var(--surface); border: 1px solid var(--line); border-top: 4px solid var(--v);
    border-radius: var(--radius); padding: 26px 24px 24px;
    transition: transform .25s, box-shadow .25s;
}
.venture-card:hover { transform: translateY(-5px); box-shadow: 0 1px 2px rgba(19, 10, 44, .05), 0 22px 44px -18px color-mix(in srgb, var(--v) 55%, transparent); }
.venture-card__top { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.venture-card__top .eyebrow { margin: 0; font-size: .7rem; letter-spacing: .1em; }
.venture-card__icon {
    display: grid; place-items: center; width: 46px; height: 46px; flex: none;
    border-radius: 12px; color: color-mix(in srgb, var(--v), white var(--tint));
    background: color-mix(in srgb, var(--v) 13%, var(--surface));
}
.venture-card h3 { font-size: 1.3rem; }
.venture-card h3 a { text-decoration: none; }
.venture-card h3 a:hover { text-decoration: underline; text-underline-offset: 4px; }
.venture-card > p { font-size: .98rem; }
.venture-card__facts { margin: 4px 0 20px; display: grid; gap: 14px; border-top: 1px solid var(--line); padding-top: 18px; }
.venture-card__facts dt { font-family: var(--font-display); font-size: .74rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.venture-card__facts dd { margin: 2px 0 0; font-size: .96rem; }
.venture-card__links { margin-top: auto; padding-top: 8px; display: flex; flex-wrap: wrap; gap: 10px 22px; }
.venture-card--media { padding-top: 0; overflow: hidden; }
.venture-card--media .media { margin: 0 -24px 24px; border-bottom: 1px solid var(--line); }
.venture-card--future { border-style: dashed; border-top-style: dashed; background: transparent; --v: var(--muted); }
.venture-card--future:hover { transform: none; box-shadow: none; }

/* Featured venture */
.feature__photos { position: relative; aspect-ratio: 5 / 4; }
.feature__photos img { position: absolute; display: block; height: auto; border-radius: 22px; box-shadow: var(--shadow); }
.feature__photos img:first-child { width: 76%; left: 0; top: 0; }
.feature__photos img:last-child { width: 56%; right: 0; bottom: 0; border: 6px solid var(--bg); }

.product-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.product { margin: 0; border-radius: 20px; overflow: hidden; background: var(--surface); border: 1px solid var(--line); }
.product img { display: block; width: 100%; height: auto; }
.product figcaption { padding: 22px 24px 24px; }
.product p { margin: 0; font-size: .98rem; }

/* Chips */
.chip-list { display: flex; flex-wrap: wrap; gap: 10px; margin-top: .5rem; }
.chip-list li {
    padding: 8px 15px; border-radius: 999px; font-size: .94rem; font-weight: 500; color: var(--ink);
    background: var(--surface); border: 1px solid var(--line);
}
.chip-list--dark li { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .16); color: var(--white); }
.venture-body .chip-list li { border-color: color-mix(in srgb, var(--v) 35%, var(--line)); }

/* Process steps */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; }
.steps li {
    counter-increment: step; position: relative;
    background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 18px;
}
.steps li::before {
    content: counter(step, decimal-leading-zero);
    display: block; font-family: var(--font-display); font-weight: 700; font-size: .85rem;
    color: var(--accent-dark); margin-bottom: 14px;
}
.steps h3 { font-size: 1.1rem; margin-bottom: .4em; }
.steps p { font-size: .92rem; margin: 0; }
.steps--plain { grid-template-columns: repeat(7, minmax(0, 1fr)); }
@media (min-width: 1081px) {
    .steps li:not(:last-child)::after {
        content: ''; position: absolute; right: -12px; top: 50%; width: 8px; height: 8px; z-index: 1;
        border-top: 2px solid var(--accent-dark); border-right: 2px solid var(--accent-dark); transform: translateY(-50%) rotate(45deg);
    }
}
.steps--plain h3 { margin: 0; }
.venture-body .steps li::before { color: color-mix(in srgb, var(--v), white var(--tint)); }

/* Values */
.value-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.value-grid--four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.value { padding: 28px 26px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--surface); }
.value h3 { display: flex; align-items: center; gap: 10px; }
.value h3::before { content: ''; width: 10px; height: 10px; flex: none; background: var(--v); transform: rotate(45deg); }
.value p { font-size: .97rem; margin: 0; }
.value-grid--dark, .value-grid--dark .value { border-color: rgba(255, 255, 255, .14); }
.value-grid--dark .value { background: transparent; }

/* Panels (mission / vision) */
.panel { border: 1px solid var(--line); border-radius: 20px; padding: clamp(26px, 4vw, 44px); background: var(--surface); }
.panel h2 { font-size: clamp(1.3rem, 2.2vw, 1.7rem); line-height: 1.25; }
.panel--dark { background: var(--navy-900); border-color: color-mix(in srgb, var(--navy-900), white 12%); color: rgba(255, 255, 255, .8); }
.panel--dark h2 { color: var(--white); }

.check-list { margin-top: 1.5rem; display: grid; gap: 10px; }
.check-list li { position: relative; padding-left: 26px; font-size: .98rem; }
.check-list li::before { content: ''; position: absolute; left: 2px; top: .55em; width: 9px; height: 9px; background: var(--accent); transform: rotate(45deg); }

/* Notice (risk disclaimer) and coming-soon block */
.notice {
    border: 2px solid var(--ink); border-left-width: 10px; border-radius: var(--radius);
    padding: clamp(22px, 3vw, 34px); background: var(--notice-bg); max-width: 900px;
}
.notice h2 { font-size: 1.15rem; letter-spacing: .08em; text-transform: uppercase; }
.notice p { margin: 0; color: var(--ink); font-size: 1.1rem; font-weight: 500; }

.soon { border: 2px dashed color-mix(in srgb, var(--v) 45%, var(--line)); border-radius: 20px; padding: clamp(36px, 6vw, 72px) 24px; text-align: center; }
.soon h2 { margin: 0; color: var(--muted); font-weight: 500; }

/* CTA band */
.cta { padding: clamp(56px, 8vw, 96px) 0; }
.cta__inner {
    display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px;
    padding: clamp(28px, 5vw, 64px); border-radius: 28px;
    background: linear-gradient(130deg, rgba(29, 191, 85, .2), rgba(120, 70, 230, .28));
    border: 1px solid rgba(255, 255, 255, .16);
}
.cta p { margin: 0 0 .6rem; font-size: 1.1rem; max-width: 46ch; }
.cta h2 { font-size: clamp(2.2rem, 5.6vw, 4rem); letter-spacing: -.03em; margin: 0; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(32px, 6vw, 80px); align-items: start; }
.form { display: grid; gap: 20px; }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.field label { display: block; font-weight: 600; font-size: .95rem; color: var(--ink); margin-bottom: 6px; }
.field input, .field select, .field textarea {
    width: 100%; font: inherit; color: var(--ink); background: var(--surface);
    border: 1.5px solid var(--field-border); border-radius: var(--radius-sm); padding: 13px 14px;
}
.field textarea { resize: vertical; min-height: 150px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid var(--accent); outline-offset: 1px; border-color: var(--ink); }
.field [aria-invalid="true"] { border-color: var(--err); }
.field__error { color: var(--err); font-size: .9rem; margin: 6px 0 0; font-weight: 500; }
.field--trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form .btn { justify-self: start; }

.alert { border-radius: var(--radius); padding: 22px 24px; margin-bottom: 24px; }
.alert p:last-child { margin-bottom: 0; }
.alert--ok { background: var(--ok-bg); border: 1px solid var(--ok-line); }
.alert--ok h2 { font-size: 1.5rem; }
.alert--error { background: var(--err-bg); border: 1px solid var(--err-line); color: var(--err-text); font-weight: 500; }

.contact-aside { background: var(--paper); border-radius: 20px; padding: 28px; }
.contact-aside h2 { font-size: 1.15rem; }
.contact-aside dl { margin: 0 0 1.5rem; display: grid; gap: 16px; }
.contact-aside dt { font-family: var(--font-display); font-size: .74rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.contact-aside dd { margin: 2px 0 0; color: var(--ink); font-weight: 500; }
.contact-aside .muted { font-size: .92rem; margin: 0; }

/* Screenshot of a venture's own website in a browser frame */
.browser {
    display: block; border-radius: 14px; overflow: hidden; text-decoration: none;
    border: 1px solid var(--line); background: var(--surface); box-shadow: var(--shadow);
    transition: transform .25s, box-shadow .25s;
}
.browser:hover { transform: translateY(-5px); box-shadow: 0 26px 50px -20px color-mix(in srgb, var(--v) 60%, transparent); }
.browser__bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: var(--paper); border-bottom: 1px solid var(--line); }
.browser__bar i { width: 9px; height: 9px; border-radius: 50%; background: var(--field-border); }
.browser__bar b { margin-left: 10px; padding: 3px 14px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-size: .78rem; font-weight: 500; color: var(--muted); }
.browser img { display: block; width: 100%; height: auto; }

/* News */
.post-list { display: grid; gap: 20px; max-width: 820px; }
.post-card { padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.post-card h2 { font-size: clamp(1.3rem, 2.4vw, 1.7rem); }
.post-card h2 a { text-decoration: none; }
.post-card h2 a:hover { text-decoration: underline; text-underline-offset: 4px; }
.post-body { max-width: 720px; font-size: 1.1rem; }
.post-body h2 { font-size: 1.5rem; margin-top: 1.8em; }
.post-body ul, .post-body ol { list-style: revert; padding-left: 1.3em; margin: 0 0 1em; }
.post-body a { color: var(--accent-dark); }
.post-back { margin: 3rem 0 0; }

/* Numbered section labels on the home page */
.home { counter-reset: sec; }
.home > .section { counter-increment: sec; }
.home > .section :is(.section-head, .split > div) > .eyebrow:first-child::before {
    content: counter(sec, decimal-leading-zero); margin-right: 12px; padding-right: 12px;
    border-right: 1px solid currentColor; color: var(--accent-dark); font-size: .95rem;
}
.home > .section--dark .eyebrow:first-child::before { color: var(--accent); }

/* Floating WhatsApp button */
.whatsapp {
    position: fixed; right: 18px; bottom: 18px; z-index: 40;
    display: inline-flex; align-items: center; gap: 8px; padding: 13px 18px 13px 14px;
    background: #25D366; color: #06240F; border-radius: 999px; text-decoration: none;
    font-family: var(--font-display); font-weight: 600; font-size: .95rem;
    box-shadow: 0 10px 28px -8px rgba(0, 0, 0, .45);
    transition: transform .2s, box-shadow .2s;
}
.whatsapp:hover { transform: translateY(-3px); box-shadow: 0 16px 34px -8px rgba(0, 0, 0, .5); }
.whatsapp .icon { width: 24px; height: 24px; }
.nav-open .whatsapp { display: none; }
@media (max-width: 600px) {
    .whatsapp { padding: 14px; }
    .whatsapp span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
}

/* Footer */
.site-footer { background: #0B0620; color: rgba(255, 255, 255, .7); padding: 64px 0 88px; font-size: .96rem; }
.site-footer__grid { display: grid; grid-template-columns: 2fr 1.4fr 1fr 1.3fr; gap: 40px; }
.site-footer__brand { display: flex; align-items: center; gap: 12px; font-family: var(--font-display); font-weight: 700; font-size: 1.3rem; color: var(--white); margin: 0; }
.site-footer__tag { color: var(--accent); font-family: var(--font-display); font-weight: 500; }
.site-footer .muted { color: rgba(255, 255, 255, .6); max-width: 36ch; }
.site-footer h2 { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .55); margin-bottom: 16px; }
.site-footer li { margin-bottom: 10px; }
.site-footer a { color: rgba(255, 255, 255, .85); text-decoration: none; }
.site-footer a:hover { color: var(--white); text-decoration: underline; text-underline-offset: 4px; }
.site-footer__base {
    display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 32px;
    margin-top: 48px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .12);
    font-size: .85rem; color: rgba(255, 255, 255, .55);
}
.site-footer__base p { margin: 0; }

/* Reveal on scroll — only hidden when JavaScript is running */
.js .reveal { opacity: 0; }
.js .reveal.is-visible { opacity: 1; animation: rise .7s cubic-bezier(.2, .7, .2, 1) backwards; animation-delay: var(--d, 0s); }
@keyframes rise { from { opacity: 0; translate: 0 22px; } }
:is(.venture-grid, .value-grid, .product-grid) > :nth-child(2) { --d: .08s; }
:is(.venture-grid, .value-grid, .product-grid) > :nth-child(3) { --d: .16s; }
:is(.venture-grid, .value-grid, .product-grid) > :nth-child(4) { --d: .24s; }
:is(.venture-grid, .value-grid) > :nth-child(n+5) { --d: .3s; }

/* Responsive */
@media (max-width: 1080px) {
    .venture-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .steps--plain { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .value-grid--four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .site-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 860px) {
    .hero__grid, .page-hero__grid, .split, .split--center, .two-col, .contact-grid { grid-template-columns: minmax(0, 1fr); }
    .page-hero__grid .media { max-width: 460px; }
    .split h2 { margin-bottom: .3em; }
    .value-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 600px) {
    body { font-size: 1rem; }
    .venture-grid, .venture-grid--two, .value-grid, .value-grid--four, .product-grid, .field-row, .site-footer__grid { grid-template-columns: minmax(0, 1fr); }
    .steps, .steps--plain { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .btn-row .btn { width: 100%; }
    .cta__inner .btn { width: 100%; }
}

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

@media print {
    .site-header, .site-footer, .cta, .nav-toggle, .whatsapp { display: none; }
    .js .reveal { opacity: 1; animation: none; }
}
