/* Sterling investor landing — Halliday palette */
:root {
    --navy: #0F1F2E;
    --navy-2: #1a3348;
    --navy-3: #24405e;
    --gold: #F0D28C;
    --gold-2: #C99E52;
    --cream: #F7F3EC;
    --cream-2: #EDE6D6;
    --sage: #4A5A3E;
    --text: #0F1F2E;
    --text-dim: #55627a;
    --text-inv: #F7F3EC;
    --border: rgba(15,31,46,0.10);
    --border-strong: rgba(15,31,46,0.20);
    --border-inv: rgba(240,210,140,0.20);
    --shadow-sm: 0 1px 2px rgba(15,31,46,0.06);
    --shadow-md: 0 8px 24px rgba(15,31,46,0.08);
    --shadow-lg: 0 24px 60px rgba(15,31,46,0.14);
    --serif: 'Fraunces', Georgia, serif;
    --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--sans); color: var(--text); background: var(--cream); line-height: 1.6; font-size: 16px; -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, select, textarea { font: inherit; color: inherit; }

.container { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
@media (min-width: 768px) { .container { padding: 0 40px; } }

.skip { position: absolute; left: -9999px; top: 0; background: var(--gold); color: var(--navy); padding: 12px 20px; font-weight: 600; z-index: 100; }
.skip:focus { left: 20px; top: 20px; }

/* ============ HEADER ============ */
.site-header {
    position: fixed; top: 0; left: 0; right: 0;
    background: rgba(15,31,46,0.85);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    color: var(--text-inv);
    z-index: 50;
    border-bottom: 1px solid var(--border-inv);
    transition: background 0.3s ease;
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--gold); font-weight: 600; }
.brand-mark { color: var(--gold); flex-shrink: 0; }
.brand-name { font-family: var(--serif); font-size: 20px; font-weight: 700; letter-spacing: -0.2px; color: var(--text-inv); }
.brand-parent { font-size: 11px; color: var(--gold); letter-spacing: 2px; text-transform: uppercase; padding-left: 8px; border-left: 1px solid var(--border-inv); margin-left: 4px; opacity: 0.9; }
@media (max-width: 640px) { .brand-parent { display: none; } }

.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav a { color: var(--text-inv); font-size: 14px; font-weight: 500; opacity: 0.85; transition: opacity 0.15s; }
.site-nav a:hover { opacity: 1; color: var(--gold); }
.site-nav .nav-cta {
    background: var(--gold);
    color: var(--navy);
    padding: 8px 18px;
    border-radius: 4px;
    font-weight: 600;
    opacity: 1;
}
.site-nav .nav-cta:hover { background: #F5D89A; color: var(--navy); }
@media (max-width: 820px) {
    .site-nav { display: none; position: absolute; top: 72px; left: 0; right: 0; background: var(--navy); padding: 20px 24px; flex-direction: column; align-items: stretch; gap: 8px; border-bottom: 1px solid var(--border-inv); }
    .site-nav.open { display: flex; }
    .site-nav a { padding: 12px 0; border-bottom: 1px solid rgba(240,210,140,0.08); }
    .site-nav .nav-cta { text-align: center; margin-top: 8px; }
}
.menu-toggle { display: none; width: 40px; height: 40px; flex-direction: column; justify-content: center; align-items: center; gap: 5px; }
.menu-toggle span { display: block; width: 22px; height: 2px; background: var(--gold); transition: transform 0.2s ease, opacity 0.2s ease; }
.menu-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
@media (max-width: 820px) { .menu-toggle { display: flex; } }

/* ============ HERO ============ */
.hero {
    position: relative;
    padding: 160px 0 100px;
    background: linear-gradient(180deg, var(--navy) 0%, var(--navy-2) 100%);
    color: var(--text-inv);
    overflow: hidden;
}
.hero > .container { position: relative; z-index: 2; }
.hero-bg { position: absolute; inset: 0; z-index: 1; opacity: 0.8; }
.hero-bg svg { width: 100%; height: 100%; }
.hero-eyebrow {
    font-size: 12px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 24px;
    font-weight: 600;
    opacity: 0.9;
}
.hero-headline {
    font-family: var(--serif);
    font-size: clamp(36px, 6vw, 68px);
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: -1.5px;
    margin: 0 0 28px;
    max-width: 900px;
}
.hero-sub {
    font-size: clamp(16px, 1.6vw, 20px);
    line-height: 1.6;
    max-width: 720px;
    color: var(--cream);
    opacity: 0.88;
    margin: 0 0 40px;
}
.hero-sub strong { color: var(--gold); font-weight: 600; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 48px; }
.hero-hint {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: 13px; color: var(--cream); opacity: 0.7;
    padding: 6px 14px; border-radius: 100px;
    background: rgba(240,210,140,0.08);
    border: 1px solid rgba(240,210,140,0.15);
}
.hero-hint .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); animation: pulse 2s ease-in-out infinite; }
@keyframes pulse { 0%,100% { opacity: 1; transform: scale(1);} 50% { opacity: 0.5; transform: scale(1.4);} }

/* ============ BUTTONS ============ */
.btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 14px 24px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 14.5px;
    letter-spacing: 0.2px;
    transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
    line-height: 1;
    cursor: pointer;
    white-space: nowrap;
}
.btn-primary { background: var(--gold); color: var(--navy); box-shadow: var(--shadow-md); }
.btn-primary:hover { background: #F5D89A; transform: translateY(-1px); box-shadow: var(--shadow-lg); }
.btn-secondary { background: transparent; color: var(--gold); border: 1px solid var(--gold); }
.btn-secondary:hover { background: var(--gold); color: var(--navy); }
.btn-block { display: flex; justify-content: center; width: 100%; padding: 16px 24px; }

/* ============ SECTIONS ============ */
.section { padding: 100px 0; }
@media (max-width: 768px) { .section { padding: 64px 0; } }
.section-eyebrow { font-size: 12px; letter-spacing: 3px; text-transform: uppercase; color: var(--sage); font-weight: 700; margin-bottom: 16px; }
.section-title {
    font-family: var(--serif);
    font-size: clamp(30px, 4.5vw, 48px);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -1px;
    margin: 0 0 24px;
    color: var(--navy);
}
.section-lead { font-size: 17px; line-height: 1.6; color: var(--text-dim); max-width: 680px; margin: 0 0 48px; }

/* ============ WHAT ============ */
.section-what { background: var(--cream); }
.what-grid { display: grid; gap: 48px; grid-template-columns: 1fr; align-items: start; }
@media (min-width: 900px) { .what-grid { grid-template-columns: 1.15fr 1fr; gap: 64px; } }
.what-copy .lead { font-family: var(--serif); font-size: 22px; line-height: 1.5; font-weight: 500; color: var(--navy); margin-bottom: 24px; letter-spacing: -0.3px; }
.what-copy p { margin: 0 0 20px; color: var(--text-dim); font-size: 16px; }
.feature-list { list-style: none; padding: 0; margin: 32px 0 0; display: flex; flex-direction: column; gap: 16px; }
.feature-list li { display: flex; gap: 14px; align-items: flex-start; }
.feature-list .feat-icon { color: var(--gold-2); font-size: 14px; line-height: 1.6; flex-shrink: 0; }
.feature-list li strong { color: var(--navy); font-weight: 600; }
.feature-list li div { flex: 1; color: var(--text-dim); font-size: 15px; }

.diagram-card {
    background: var(--navy);
    padding: 32px;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    position: sticky;
    top: 100px;
}
@media (max-width: 900px) { .diagram-card { position: static; padding: 24px; } }

/* ============ PORTFOLIO ============ */
.section-portfolio { background: var(--navy); color: var(--text-inv); }
.section-portfolio .section-eyebrow { color: var(--gold); }
.section-portfolio .section-title { color: var(--text-inv); }
.section-portfolio .section-lead { color: rgba(247,243,236,0.75); }
.portfolio-grid { display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 600px) { .portfolio-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .portfolio-grid { grid-template-columns: repeat(3, 1fr); } }
.portfolio-card {
    background: var(--navy-2);
    border: 1px solid var(--border-inv);
    padding: 28px;
    border-radius: 8px;
    transition: transform 0.2s ease, border-color 0.2s ease;
}
.portfolio-card:hover { transform: translateY(-2px); border-color: var(--gold); }
.card-head { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 16px; }
.card-mark { width: 48px; height: 48px; border-radius: 8px; display: flex; align-items: center; justify-content: center; font-family: var(--serif); font-size: 20px; font-weight: 700; flex-shrink: 0; }
.card-title-block { flex: 1; }
.card-title-block h3 { font-family: var(--serif); font-size: 22px; margin: 0 0 6px; letter-spacing: -0.3px; color: var(--text-inv); font-weight: 700; }
.badge { display: inline-block; font-size: 10px; letter-spacing: 1.5px; text-transform: uppercase; font-weight: 700; padding: 3px 10px; border-radius: 100px; }
.badge-live { background: rgba(122,138,94,0.25); color: #B8CC94; border: 1px solid rgba(184,204,148,0.3); }
.badge-launch { background: rgba(240,210,140,0.2); color: var(--gold); border: 1px solid rgba(240,210,140,0.3); }
.badge-build { background: rgba(201,158,82,0.2); color: #E8B96A; border: 1px solid rgba(232,185,106,0.3); }
.badge-roadmap { background: rgba(247,243,236,0.1); color: rgba(247,243,236,0.6); border: 1px solid rgba(247,243,236,0.15); }
.portfolio-card p { color: rgba(247,243,236,0.75); font-size: 14.5px; line-height: 1.55; margin: 0 0 16px; }
.card-meta { font-size: 12px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--gold); opacity: 0.7; font-weight: 600; }

/* ============ MILESTONES ============ */
.section-milestones { background: var(--cream); }
.timeline { position: relative; padding-left: 0; margin-top: 40px; }
.timeline::before {
    content: ''; position: absolute; left: 20px; top: 8px; bottom: 8px; width: 2px;
    background: linear-gradient(180deg, var(--gold) 0%, var(--gold) 30%, rgba(201,158,82,0.3) 100%);
}
.tl-item { display: flex; gap: 24px; padding-bottom: 40px; position: relative; }
.tl-item:last-child { padding-bottom: 0; }
.tl-marker {
    width: 42px; height: 42px; border-radius: 50%;
    background: var(--cream); border: 2px solid var(--gold-2);
    flex-shrink: 0; position: relative; z-index: 1;
    display: flex; align-items: center; justify-content: center;
}
.tl-marker::after { content: ''; width: 12px; height: 12px; border-radius: 50%; background: var(--gold-2); }
.tl-current .tl-marker { background: var(--gold); border-color: var(--gold-2); box-shadow: 0 0 0 6px rgba(240,210,140,0.25); }
.tl-current .tl-marker::after { background: var(--navy); }
.tl-future .tl-marker { border-color: rgba(201,158,82,0.4); }
.tl-future .tl-marker::after { background: rgba(201,158,82,0.4); }
.tl-body { flex: 1; padding-top: 4px; }
.tl-period { font-size: 12px; letter-spacing: 2px; text-transform: uppercase; color: var(--gold-2); font-weight: 700; margin-bottom: 6px; }
.tl-body h3 { font-family: var(--serif); font-size: 20px; margin: 0 0 8px; color: var(--navy); letter-spacing: -0.3px; font-weight: 700; }
.tl-body p { margin: 0; color: var(--text-dim); font-size: 15px; line-height: 1.6; }
.tl-future .tl-body h3, .tl-future .tl-period { opacity: 0.7; }

/* ============ TEAM ============ */
.section-team { background: var(--cream-2); }
.team-grid { display: grid; gap: 24px; }
.team-card { display: flex; gap: 28px; background: var(--cream); padding: 32px; border-radius: 12px; border: 1px solid var(--border); box-shadow: var(--shadow-sm); align-items: flex-start; }
@media (max-width: 640px) { .team-card { flex-direction: column; padding: 24px; gap: 20px; } }
.team-avatar {
    width: 88px; height: 88px; border-radius: 50%;
    background: linear-gradient(135deg, var(--gold), var(--gold-2));
    display: flex; align-items: center; justify-content: center;
    font-family: var(--serif); font-size: 32px; font-weight: 700;
    color: var(--navy); flex-shrink: 0;
    box-shadow: var(--shadow-md);
}
.team-info h3 { font-family: var(--serif); font-size: 24px; margin: 0 0 4px; color: var(--navy); letter-spacing: -0.3px; font-weight: 700; }
.team-role { font-size: 13px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--sage); font-weight: 600; margin-bottom: 12px; }
.team-info p { margin: 0; color: var(--text-dim); font-size: 15.5px; line-height: 1.6; }

/* ============ CONTACT ============ */
.section-contact { background: var(--navy); color: var(--text-inv); }
.section-contact .section-eyebrow { color: var(--gold); }
.section-contact .section-title { color: var(--text-inv); }
.section-contact .section-lead { color: rgba(247,243,236,0.8); }
.contact-form { max-width: 640px; margin-top: 32px; }
.field-grid { display: grid; gap: 20px; grid-template-columns: 1fr; margin-bottom: 20px; }
@media (min-width: 640px) { .field-grid { grid-template-columns: 1fr 1fr; } }
.field { display: block; margin-bottom: 20px; }
.field-label { display: block; font-size: 12px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--gold); font-weight: 600; margin-bottom: 8px; }
.field input, .field select, .field textarea {
    width: 100%;
    padding: 14px 16px;
    background: var(--navy-2);
    border: 1px solid var(--border-inv);
    border-radius: 4px;
    color: var(--text-inv);
    font-size: 15px;
    transition: border-color 0.15s ease;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); }
.field textarea { resize: vertical; min-height: 120px; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1L6 6L11 1' stroke='%23F0D28C' stroke-width='2'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 40px; }
.form-note { text-align: center; font-size: 13px; color: rgba(247,243,236,0.6); margin-top: 20px; }
.form-note a { color: var(--gold); text-decoration: underline; text-decoration-color: rgba(240,210,140,0.3); text-underline-offset: 3px; }
.form-status { margin-top: 16px; font-size: 14px; text-align: center; min-height: 1.5em; }
.form-status.success { color: #9DD186; }
.form-status.error { color: #E8A78C; }

/* ============ FOOTER ============ */
.site-footer { background: var(--navy); color: var(--cream); padding: 48px 0 32px; border-top: 1px solid var(--border-inv); }
.footer-inner { display: grid; gap: 24px; grid-template-columns: 1fr; align-items: start; }
@media (min-width: 768px) { .footer-inner { grid-template-columns: 1fr 1fr 1fr; } }
.footer-brand { display: flex; align-items: center; gap: 12px; color: var(--gold); }
.footer-brand .brand-mark { color: var(--gold); }
.footer-name { font-family: var(--serif); font-size: 18px; font-weight: 700; color: var(--text-inv); letter-spacing: -0.3px; }
.footer-parent { font-size: 12px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--gold); opacity: 0.75; }
.footer-meta { font-size: 13px; color: rgba(247,243,236,0.7); line-height: 1.8; }
.footer-links { margin-top: 8px; display: flex; gap: 8px; flex-wrap: wrap; }
.footer-links a { color: var(--gold); text-decoration: underline; text-decoration-color: rgba(240,210,140,0.3); text-underline-offset: 3px; }
.footer-links a:hover { text-decoration-color: var(--gold); }
.footer-copy { font-size: 12px; color: rgba(247,243,236,0.5); text-align: left; letter-spacing: 0.5px; }
@media (min-width: 768px) { .footer-copy { text-align: right; } }

/* ============ MOTION ============ */
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }
