/* ===== Reset & Base ===== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg: #E5DED6;
    --bg-dark: #2B2C1F;
    --text: #2B2C1F;
    --text-light: #E5DED6;
    --accent: #F15A16;
    --accent-gold: #F1CC4C;
    --muted: #CAC5BD;
    --white: #FFFFFF;

    --font-logo: 'Erode', Georgia, serif;
    --font-sans: 'Satoshi', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-serif: 'Sentient', Georgia, serif;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    font-weight: 400;
    color: var(--text);
    background: var(--bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ===== Navigation ===== */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    transition: all 0.3s ease;
}

.nav.scrolled {
    background: rgba(229, 222, 214, 0.95);
    backdrop-filter: blur(12px);
    padding: 12px 0;
    box-shadow: 0 1px 0 rgba(43, 44, 31, 0.08);
}

.nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    font-family: var(--font-logo);
    font-weight: 300;
    font-size: 1.5rem;
    letter-spacing: 0.2em;
    color: var(--white);
    transition: color 0.3s;
}

.nav.scrolled .nav-logo {
    color: var(--text);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 36px;
}

.nav-links a {
    font-family: var(--font-sans);
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    color: rgba(255, 255, 255, 0.85);
    transition: color 0.3s;
    position: relative;
}

.nav.scrolled .nav-links a {
    color: var(--text);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--accent);
    transition: width 0.3s ease;
}

.nav-links a:hover {
    color: var(--white);
}

.nav.scrolled .nav-links a:hover {
    color: var(--accent);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-links a::after {
    background: var(--white);
}

.nav.scrolled .nav-links a::after {
    background: var(--accent);
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    flex-direction: column;
    gap: 5px;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--white);
    transition: all 0.3s;
}

.nav.scrolled .nav-toggle span {
    background: var(--text);
}

.nav-toggle.open span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
.nav-toggle.open span:nth-child(2) {
    opacity: 0;
}
.nav-toggle.open span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ===== Hero ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 120px 24px 80px;
    position: relative;
    background: var(--accent);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: none;
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 0;
    pointer-events: none;
}

.hero .container {
    position: relative;
    z-index: 1;
}

.hero-label {
    font-family: var(--font-sans);
    font-size: 0.8125rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 24px;
}

.hero-title {
    font-family: var(--font-logo);
    font-weight: 300;
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    line-height: 1.1;
    letter-spacing: -0.01em;
    margin-bottom: 32px;
    color: var(--white);
}

.hero-divider {
    width: 60px;
    height: 2px;
    background: var(--accent-gold);
    margin: 0 auto 32px;
}

.hero-subtitle {
    font-family: var(--font-serif);
    font-weight: 300;
    font-size: clamp(1.1rem, 2vw, 1.35rem);
    line-height: 1.7;
    max-width: 600px;
    margin: 0 auto 40px;
    color: rgba(255, 255, 255, 0.8);
}

.hero-cta {
    display: inline-block;
    font-family: var(--font-sans);
    font-size: 0.8125rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 14px 36px;
    border: 1.5px solid var(--white);
    color: var(--white);
    transition: all 0.3s ease;
}

.hero-cta:hover {
    background: var(--white);
    color: var(--accent);
}

/* ===== Sections ===== */
.section {
    padding: 120px 0;
}

.section--dark {
    background: var(--bg-dark);
    color: var(--text-light);
}

.section--dark .section-subtitle {
    color: rgba(229, 222, 214, 0.65);
}

.section-header {
    text-align: center;
    margin-bottom: 72px;
}

.section-title {
    font-family: var(--font-logo);
    font-weight: 300;
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.15;
    margin-bottom: 20px;
}

.section-title::after {
    content: '';
    display: block;
    width: 40px;
    height: 2px;
    background: var(--accent);
    margin: 16px auto 0;
}

.section--dark .section-title::after {
    opacity: 0.7;
}

.section-subtitle {
    font-family: var(--font-serif);
    font-weight: 300;
    font-size: 1.125rem;
    color: rgba(43, 44, 31, 0.65);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ===== Focus Callout & MVP Tags ===== */
.focus-callout {
    max-width: 700px;
    margin: -24px auto 40px;
    text-align: center;
}

.focus-callout p {
    font-family: var(--font-serif);
    font-weight: 300;
    font-size: 1.125rem;
    line-height: 1.7;
    color: rgba(43, 44, 31, 0.7);
}

.mvp-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-bottom: 0;
}

.mvp-tag {
    font-family: var(--font-sans);
    font-size: 0.8125rem;
    font-weight: 500;
    padding: 10px 20px;
    border: 1.5px solid var(--accent);
    color: var(--accent);
    border-radius: 4px;
    letter-spacing: 0.02em;
}

/* ===== Pillars (Edge) ===== */
.pillars {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 48px;
}

.pillar {
    padding: 40px 32px;
    border-top: 2px solid var(--accent);
}

.pillar-number {
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    color: var(--accent);
    margin-bottom: 16px;
}

.pillar h3 {
    font-family: var(--font-sans);
    font-weight: 600;
    font-size: 1.125rem;
    margin-bottom: 12px;
}

.pillar p {
    font-family: var(--font-serif);
    font-weight: 300;
    font-size: 1rem;
    line-height: 1.7;
    color: rgba(43, 44, 31, 0.7);
}

/* ===== Stats Table ===== */
.stats-table {
    max-width: 800px;
    margin: 0 auto 48px;
}

.stats-row {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    border-bottom: 1px solid rgba(229, 222, 214, 0.12);
    padding: 14px 0;
}

.stats-row.stats-header {
    border-bottom: 2px solid rgba(229, 222, 214, 0.2);
    padding-bottom: 12px;
    margin-bottom: 4px;
}

.stats-cell {
    font-family: var(--font-sans);
    font-size: 0.9375rem;
    text-align: center;
}

.stats-cell.stats-label {
    text-align: left;
    font-weight: 400;
    color: rgba(229, 222, 214, 0.6);
}

.stats-cell.stats-highlight {
    color: var(--accent);
    font-weight: 700;
    font-size: 1.0625rem;
}

.stats-header .stats-highlight {
    font-size: 0.9375rem;
    font-weight: 600;
}

.stats-note {
    text-align: center;
    font-family: var(--font-serif);
    font-size: 0.875rem;
    color: rgba(229, 222, 214, 0.45);
    margin-bottom: 64px;
}

/* ===== Charts ===== */
.charts {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
    max-width: 900px;
    margin: 0 auto;
}

.chart-card {
    background: rgba(229, 222, 214, 0.06);
    border: 1px solid rgba(229, 222, 214, 0.1);
    border-radius: 8px;
    padding: 40px;
}

.chart-card h3 {
    font-family: var(--font-sans);
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 8px;
}

.chart-card .chart-desc {
    font-family: var(--font-serif);
    font-size: 0.875rem;
    color: rgba(229, 222, 214, 0.5);
    margin-bottom: 24px;
    line-height: 1.6;
}

.chart-img-wrapper {
    position: relative;
}

.chart-img-wrapper--has-callouts {
    padding-top: 40px;
}

.chart-card img {
    border-radius: 4px;
    width: 100%;
    object-fit: contain;
}

/* Chart legend pills */
.chart-legend-inline {
    position: absolute;
    bottom: 10%;
    left: 2%;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

/* First chart (equity curve) — legend top-left, fully inside image */
.chart-legend-inline--top {
    top: 4%;
    left: 4%;
    bottom: auto;
}

.chart-legend-pill {
    display: inline-block;
    font-family: var(--font-sans);
    font-size: 0.6875rem;
    font-weight: 600;
    padding: 5px 16px;
    border-radius: 4px;
    text-align: center;
    width: fit-content;
}

.chart-legend-pill--g3 {
    background: var(--accent);
    color: var(--white);
}

.chart-legend-pill--btc {
    background: var(--accent-gold);
    color: var(--text);
}

/* Chart callout annotations */
.chart-callout {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    font-family: var(--font-sans);
    font-size: 0.625rem;
    font-weight: 500;
    line-height: 1.35;
    padding: 5px 12px;
    border-radius: 4px;
    text-align: center;
    pointer-events: none;
    color: var(--text);
    background: rgba(229, 222, 214, 0.88);
}

/* Bottom-right corner of label near top of Oct 10th G3 spike */
.chart-callout--stress {
    top: 15%;
    left: 16%;
    border: 1.5px solid var(--accent);
}

/* Top-right corner of label near bottom of Oct 10th BTC drop */
.chart-callout--ftx {
    top: 46%;
    left: 16%;
    border: 1.5px solid var(--accent-gold);
}

/* ===== System Diagram ===== */
.sys-diagram {
    max-width: 1000px;
    margin: 0 auto 48px;
}

.sys-output {
    display: flex;
    justify-content: center;
    margin-bottom: 4px;
}

.sys-connector {
    text-align: center;
    font-size: 1.5rem;
    color: rgba(43, 44, 31, 0.3);
    padding: 8px 0;
}

.sys-connector-line {
    width: 2px;
    height: 32px;
    background: rgba(43, 44, 31, 0.2);
    margin: 0 auto;
}

.sys-connector-branch {
    position: relative;
    height: 40px;
}

.sys-connector-branch::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 70%;
    max-width: 700px;
    height: 2px;
    background: rgba(43, 44, 31, 0.15);
}

.sys-layer {
    border: 1.5px solid rgba(43, 44, 31, 0.15);
    border-radius: 10px;
    padding: 24px;
    padding-top: 32px;
    position: relative;
}

.sys-layer-label {
    position: absolute;
    top: -10px;
    left: 24px;
    background: var(--bg);
    padding: 0 8px;
    font-family: var(--font-serif);
    font-size: 0.9375rem;
    font-weight: 300;
    color: rgba(43, 44, 31, 0.5);
}

.sys-layer-boxes {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.sys-box {
    padding: 12px 20px;
    border-radius: 6px;
    font-family: var(--font-sans);
    font-size: 0.8125rem;
    font-weight: 500;
    text-align: center;
    border: 1.5px solid rgba(43, 44, 31, 0.12);
    background: rgba(43, 44, 31, 0.03);
    color: rgba(43, 44, 31, 0.55);
}

.sys-box--live {
    background: var(--accent);
    color: var(--white);
    border-color: var(--accent);
}

.sys-box--building {
    background: var(--accent-gold);
    color: var(--text);
    border-color: var(--accent-gold);
}

.sys-box--designed {
    background: var(--muted);
    color: var(--text);
    border-color: var(--muted);
}

.sys-trading {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    border: 1.5px solid rgba(43, 44, 31, 0.15);
    border-radius: 10px;
    padding: 24px;
    position: relative;
}

.sys-trading::before {
    content: 'Trading Systems';
    position: absolute;
    top: -10px;
    left: 24px;
    background: var(--bg);
    padding: 0 8px;
    font-family: var(--font-serif);
    font-size: 0.9375rem;
    font-weight: 300;
    color: rgba(43, 44, 31, 0.5);
}

.sys-trading-system {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.sys-trading-system .sys-box {
    min-width: 160px;
}

.sys-sub-boxes {
    display: flex;
    gap: 6px;
}

.sys-sub {
    font-family: var(--font-sans);
    font-size: 0.6875rem;
    font-weight: 500;
    padding: 4px 10px;
    border-radius: 4px;
    background: var(--muted);
    color: var(--text);
}

.sys-sub--live {
    background: var(--accent);
    color: var(--white);
}

.sys-sub--building {
    background: var(--accent-gold);
    color: var(--text);
}

.legend {
    display: flex;
    justify-content: center;
    gap: 28px;
    margin-bottom: 72px;
}

/* Move legend left on desktop to match deck layout */
@media (min-width: 901px) {
    .sys-diagram-wrapper {
        display: flex;
        gap: 48px;
        align-items: flex-start;
    }

    .sys-diagram-wrapper .legend {
        flex-direction: column;
        gap: 12px;
        margin-bottom: 0;
        padding-top: 24px;
        min-width: 120px;
    }
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-sans);
    font-size: 0.8125rem;
    color: rgba(43, 44, 31, 0.55);
}

.legend-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.legend-dot--live { background: var(--accent); }
.legend-dot--building { background: var(--accent-gold); }
.legend-dot--designed { background: var(--muted); }

/* ===== Risk Features ===== */
.risk-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 48px;
}

.risk-feature {
    padding-top: 24px;
    border-top: 1px solid rgba(43, 44, 31, 0.12);
}

.risk-feature h3 {
    font-family: var(--font-sans);
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 12px;
}

.risk-feature p {
    font-family: var(--font-serif);
    font-weight: 300;
    font-size: 0.9375rem;
    line-height: 1.7;
    color: rgba(43, 44, 31, 0.65);
}

/* ===== Timeline ===== */
.timeline {
    max-width: 700px;
    margin: 0 auto;
    position: relative;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 140px;
    top: 0;
    bottom: 0;
    width: 1px;
    background: rgba(229, 222, 214, 0.15);
}

.timeline-item {
    display: flex;
    gap: 40px;
    padding-bottom: 48px;
    position: relative;
}

.timeline-item:last-child {
    padding-bottom: 0;
}

.timeline-date {
    font-family: var(--font-sans);
    font-size: 0.8125rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    color: var(--accent);
    min-width: 120px;
    text-align: right;
    padding-top: 2px;
}

.timeline-item::after {
    content: '';
    position: absolute;
    left: 136px;
    top: 6px;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--accent);
    border: 2px solid var(--bg-dark);
}

.timeline-content {
    padding-left: 20px;
}

.timeline-content h3 {
    font-family: var(--font-sans);
    font-weight: 600;
    font-size: 1.0625rem;
    margin-bottom: 6px;
}

.timeline-content p {
    font-family: var(--font-serif);
    font-weight: 300;
    font-size: 0.9375rem;
    line-height: 1.7;
    color: rgba(229, 222, 214, 0.6);
}

/* ===== Team ===== */
.team-grid {
    display: flex;
    flex-direction: column;
    gap: 64px;
}

.team-card {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 48px;
    align-items: start;
}

.team-card:nth-child(even) {
    direction: rtl;
}

.team-card:nth-child(even) > * {
    direction: ltr;
}

.team-photo img {
    width: 240px;
    height: 280px;
    object-fit: cover;
    border-radius: 4px;
    filter: grayscale(15%);
}

.team-role {
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 8px;
}

.team-info h3 {
    font-family: var(--font-logo);
    font-weight: 400;
    font-size: 1.5rem;
    margin-bottom: 16px;
    border-bottom: 1.5px solid var(--accent);
    display: inline-block;
    padding-bottom: 4px;
}

.team-info p {
    font-family: var(--font-serif);
    font-weight: 300;
    font-size: 0.9375rem;
    line-height: 1.8;
    color: rgba(43, 44, 31, 0.7);
}

/* ===== Contact ===== */
.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    max-width: 900px;
    margin: 0 auto;
    align-items: start;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group label {
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(229, 222, 214, 0.45);
}

.form-group input,
.form-group textarea {
    font-family: var(--font-serif);
    font-size: 1rem;
    font-weight: 300;
    color: var(--text-light);
    background: rgba(229, 222, 214, 0.06);
    border: 1px solid rgba(229, 222, 214, 0.15);
    border-radius: 4px;
    padding: 12px 16px;
    outline: none;
    transition: border-color 0.2s;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--accent);
}

.form-group textarea {
    resize: vertical;
}

.form-submit {
    font-family: var(--font-sans);
    font-size: 0.8125rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 14px 36px;
    border: 1.5px solid var(--accent);
    background: transparent;
    color: var(--accent);
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    align-self: flex-start;
}

.form-submit:hover {
    background: var(--accent);
    color: var(--white);
}

.contact-info {
    padding-top: 8px;
}

.contact-item {
    margin-bottom: 36px;
}

.contact-item h3 {
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(229, 222, 214, 0.45);
    margin-bottom: 8px;
}

.contact-item a,
.contact-item p {
    font-family: var(--font-serif);
    font-size: 1.125rem;
    font-weight: 300;
    color: var(--text-light);
}

.contact-item a {
    border-bottom: 1px solid var(--accent);
    color: var(--accent);
    transition: opacity 0.2s;
}

.contact-item a:hover {
    opacity: 0.75;
}

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

/* ===== Footer ===== */
.footer {
    background: var(--bg-dark);
    border-top: 1px solid rgba(229, 222, 214, 0.08);
    padding: 48px 0;
}

.footer-inner {
    text-align: center;
}

.footer-logo {
    font-family: var(--font-logo);
    font-weight: 300;
    font-size: 1.25rem;
    letter-spacing: 0.2em;
    color: var(--text-light);
    margin-bottom: 20px;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 28px;
    margin-bottom: 32px;
}

.footer-links a {
    font-family: var(--font-sans);
    font-size: 0.8125rem;
    color: rgba(229, 222, 214, 0.5);
    transition: color 0.2s;
}

.footer-links a:hover {
    color: var(--accent);
}

.footer-disclaimer {
    max-width: 600px;
    margin: 0 auto;
}

.footer-disclaimer p {
    font-family: var(--font-serif);
    font-size: 0.75rem;
    color: rgba(229, 222, 214, 0.3);
    line-height: 1.7;
    margin-bottom: 8px;
}

/* ===== Animations ===== */
.fade-in {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

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

/* ===== Responsive ===== */
@media (max-width: 900px) {
    .pillars {
        grid-template-columns: 1fr;
        gap: 32px;
    }

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

    .risk-features {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .team-card {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .team-card:nth-child(even) {
        direction: ltr;
    }

    .team-photo img {
        width: 180px;
        height: 210px;
    }

    .system-row {
        flex-direction: column;
        gap: 8px;
    }

    .system-label {
        min-width: auto;
        padding-top: 0;
    }

    .system-arrow {
        padding-left: 0;
    }

    .timeline::before {
        left: 16px;
    }

    .timeline-item {
        flex-direction: column;
        gap: 8px;
        padding-left: 36px;
    }

    .timeline-date {
        text-align: left;
    }

    .timeline-item::after {
        left: 12px;
    }

    .timeline-content {
        padding-left: 0;
    }

    .stats-row {
        grid-template-columns: 1.2fr 0.8fr 0.8fr 0.8fr;
    }

    .stats-cell {
        font-size: 0.8125rem;
    }

    /* Scale down chart legends and callouts for mobile — mirror desktop layout exactly */
    .chart-legend-pill {
        font-size: 0.3125rem;
        padding: 1px 4px;
    }

    .chart-callout {
        font-size: 0.3125rem;
        padding: 2px 4px;
        line-height: 1.2;
    }

    /* Stress: inside chart, left of the equity line */
    .chart-callout--stress {
        top: 22%;
        left: 9%;
    }

    /* FTX: nudge down below the line */
    .chart-callout--ftx {
        top: 52%;
        left: 16%;
    }

    /* Second chart legend: same as desktop — bottom-left, column */
    .chart-legend-inline {
        bottom: 10%;
        left: 2%;
    }

    /* First chart legend: same as desktop — top-left */
    .chart-legend-inline--top {
        top: 4%;
        left: 4%;
        right: auto;
        bottom: auto;
        flex-direction: column;
    }

    .chart-img-wrapper--has-callouts {
        padding-top: 24px;
    }
}

@media (max-width: 640px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(229, 222, 214, 0.98);
        backdrop-filter: blur(12px);
        flex-direction: column;
        padding: 24px;
        gap: 20px;
    }

    .nav-links.open {
        display: flex;
    }

    .nav-toggle {
        display: flex;
    }

    .section {
        padding: 80px 0;
    }

    .section-header {
        margin-bottom: 48px;
    }

    .hero {
        padding: 100px 24px 60px;
    }
}
