:root {
    --ink: #110e08;
    --ink2: #1e1a10;
    --parch: #f8f4ec;
    --aged: #f0e8d4;
    --border: #ddd0b4;
    --border2: #c8bb98;
    --sepia: #8b6e3a;
    --sepia2: #6b4e20;
    --gold: #c8920a;
    --gold2: #e0aa28;
    --gold-glow: rgba(200, 146, 10, 0.15);
    --red: #8b1a1a;
    --blue: #1a3060;
    --green: #1a5a30;
    --muted: #6a5c40;
    --soft: #9a8c72;
    --display: 'EB Garamond', Georgia, serif;
    --sans: 'IBM Plex Sans', system-ui, sans-serif;
    --mono: 'IBM Plex Mono', monospace;
    --r: 1.618;
    /* golden ratio */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background: var(--parch);
    font-family: var(--sans);
    color: var(--ink);
    overflow-x: hidden;
    line-height: 1.7;
}

/* CANVAS TEXTURE */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)' opacity='0.025'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 0;
}

/* TOP RULE — Da Vinci vitruvian proportions */
.top-rule {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    z-index: 200;
    background: linear-gradient(90deg, var(--sepia2), var(--gold), var(--sepia), var(--gold2), var(--sepia2));
}

/* ═══ NAV ═══ */
nav {
    position: sticky;
    top: 4px;
    z-index: 100;
    background: rgba(248, 244, 236, 0.95);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
    height: 60px;
    display: flex;
    align-items: center;
    padding: 0 3rem;
    gap: 2rem;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    text-decoration: none;
}

.logo-vinci {
    width: 36px;
    height: 36px;
    border: 1.5px solid var(--gold);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--mono);
    font-size: 0.7rem;
    color: var(--gold);
    letter-spacing: -0.03em;
}

.logo-mark {
    font-family: var(--display);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--ink);
}

.logo-mark span {
    color: var(--gold);
}

.logo-sub {
    font-family: var(--mono);
    font-size: 0.55rem;
    color: var(--muted);
    display: block;
    letter-spacing: 0.05em;
}

.nav-items {
    display: flex;
    gap: 0.15rem;
    list-style: none;
    flex: 1;
    flex-wrap: wrap;
}

.nav-items a {
    font-size: 0.72rem;
    font-weight: 500;
    color: var(--muted);
    text-decoration: none;
    padding: 0.35rem 0.7rem;
    border-radius: 100px;
    transition: all 0.18s;
    letter-spacing: 0.02em;
}

.nav-items a:hover {
    color: var(--ink);
    background: var(--aged);
}

.nav-cta {
    background: var(--ink);
    color: var(--gold);
    font-family: var(--sans);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.45rem 1.1rem;
    border-radius: 5px;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
    letter-spacing: 0.04em;
    white-space: nowrap;
    margin-left: auto;
}

.nav-cta:hover {
    background: var(--sepia2);
    color: var(--gold2);
}

/* ═══ HERO — Da Vinci Vitruvian layout ═══ */
.hero {
    position: relative;
    z-index: 1;
    max-width: 1280px;
    margin: 0 auto;
    padding: 5rem 3rem 3rem;
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 4rem;
    min-height: calc(100vh - 64px);
    align-items: center;
}

/* Background manuscript lines */
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: repeating-linear-gradient(transparent, transparent 39px, rgba(139, 110, 58, 0.06) 39px, rgba(139, 110, 58, 0.06) 40px);
    pointer-events: none;
    z-index: 0;
}

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

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    border: 1px solid var(--border);
    background: var(--aged);
    padding: 0.3rem 0.9rem;
    border-radius: 100px;
    margin-bottom: 1.4rem;
}

.eyebrow-badge {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--green);
    animation: pulse 2.2s infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.3;
    }
}

.eyebrow-txt {
    font-family: var(--mono);
    font-size: 0.62rem;
    color: var(--gold);
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

h1.vinci-title {
    font-family: var(--display);
    font-size: clamp(2.8rem, 4.8vw, 5rem);
    font-weight: 800;
    line-height: 1.0;
    letter-spacing: -0.025em;
    color: var(--ink);
    margin-bottom: 1.2rem;
}

h1.vinci-title .name {
    font-style: italic;
    font-weight: 400;
    color: var(--gold);
    font-size: 0.68em;
    display: block;
    margin-bottom: 0.12em;
}

h1.vinci-title .tagline {
    display: block;
}

h1.vinci-title em {
    font-style: italic;
    color: var(--sepia);
}

.hero-desc {
    font-size: 1.02rem;
    color: var(--muted);
    line-height: 1.8;
    max-width: 560px;
    margin-bottom: 1.8rem;
}

.hero-desc strong {
    color: var(--ink);
    font-weight: 500;
}

/* Discipline pills */
.discipline-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-bottom: 1.8rem;
}

.dp {
    font-family: var(--mono);
    font-size: 0.6rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 0.25rem 0.7rem;
    border-radius: 3px;
    font-weight: 400;
}

.dp-math {
    background: #eef4ff;
    color: var(--blue);
    border: 1px solid #b8ccee;
}

.dp-sci {
    background: #eef8f2;
    color: var(--green);
    border: 1px solid #b8d8c4;
}

.dp-py {
    background: #fff8e4;
    color: var(--sepia2);
    border: 1px solid #e0cca0;
}

.dp-des {
    background: #fef0f0;
    color: var(--red);
    border: 1px solid #e8c0c0;
}

.dp-ai {
    background: var(--aged);
    color: var(--gold);
    border: 1px solid var(--border);
}

.hero-btns {
    display: flex;
    gap: 0.8rem;
    flex-wrap: wrap;
}

.btn-vinci {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--ink);
    color: var(--gold);
    border: none;
    padding: 0.85rem 1.8rem;
    border-radius: 6px;
    font-family: var(--sans);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
    letter-spacing: 0.03em;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.18);
}

.btn-vinci:hover {
    background: var(--sepia2);
    transform: translateY(-2px);
}

.btn-gold {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--gold);
    color: #fff;
    border: none;
    padding: 0.85rem 1.8rem;
    border-radius: 6px;
    font-family: var(--sans);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
    box-shadow: 0 4px 18px rgba(200, 146, 10, 0.28);
}

.btn-gold:hover {
    background: var(--gold2);
    transform: translateY(-2px);
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: transparent;
    color: var(--muted);
    border: 1px solid var(--border2);
    padding: 0.85rem 1.8rem;
    border-radius: 6px;
    font-family: var(--sans);
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
}

.btn-outline:hover {
    border-color: var(--ink);
    color: var(--ink);
}

/* ═══ HERO RIGHT — Da Vinci Sketchbook Card ═══ */
.sketchbook {
    background: var(--aged);
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 4px 4px 0 var(--border), 8px 8px 0 var(--border2);
}

.sb-header {
    background: var(--ink2);
    padding: 0.9rem 1.3rem;
    display: flex;
    align-items: center;
    gap: 0.7rem;
}

.sb-dots {
    display: flex;
    gap: 5px;
}

.sb-dots span {
    width: 9px;
    height: 9px;
    border-radius: 50%;
}

.sb-dots span:nth-child(1) {
    background: #ff5f57;
}

.sb-dots span:nth-child(2) {
    background: #ffbd2e;
}

.sb-dots span:nth-child(3) {
    background: #28c840;
}

.sb-title {
    font-family: var(--mono);
    font-size: 0.6rem;
    color: rgba(255, 255, 255, 0.35);
    letter-spacing: 0.08em;
}

.sb-url {
    margin-left: auto;
    font-family: var(--mono);
    font-size: 0.55rem;
    color: var(--gold);
    background: rgba(200, 146, 10, 0.15);
    padding: 0.18rem 0.6rem;
    border-radius: 3px;
    letter-spacing: 0.04em;
}

.sb-body {
    padding: 1.3rem;
}

/* Live problem solver inside hero */
.sb-label {
    font-family: var(--mono);
    font-size: 0.58rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--soft);
    margin-bottom: 0.6rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.sb-label::before {
    content: '✦';
    color: var(--gold);
    font-size: 0.65rem;
}

.sb-select {
    width: 100%;
    background: var(--parch);
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 0.55rem 0.8rem;
    color: var(--ink);
    font-family: var(--sans);
    font-size: 0.8rem;
    outline: none;
    cursor: pointer;
    margin-bottom: 0.6rem;
    transition: border-color 0.18s;
}

.sb-select:focus {
    border-color: var(--gold);
}

.sb-select option {
    background: var(--parch);
}

.sb-solve-btn {
    width: 100%;
    background: var(--gold);
    border: none;
    border-radius: 6px;
    padding: 0.6rem;
    color: #fff;
    font-family: var(--sans);
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.18s;
    margin-bottom: 0.7rem;
    letter-spacing: 0.03em;
}

.sb-solve-btn:hover {
    background: var(--gold2);
}

.sb-solve-btn:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

.sb-output {
    background: var(--parch);
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 0.85rem;
    min-height: 90px;
    font-size: 0.78rem;
    line-height: 1.75;
    color: var(--ink2);
    font-family: var(--sans);
}

.thinking {
    display: none;
    align-items: center;
    gap: 5px;
    color: var(--soft);
    font-family: var(--mono);
    font-size: 0.62rem;
}

.thinking.on {
    display: flex;
}

.td {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--gold);
    animation: tdb 1.15s infinite;
}

.td:nth-child(2) {
    animation-delay: 0.2s;
}

.td:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes tdb {

    0%,
    100% {
        opacity: 0.2;
    }

    50% {
        opacity: 1;
    }
}

/* ═══ STATS ROW ═══ */
.stats-row {
    background: var(--ink2);
    padding: 1.3rem 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    position: relative;
    z-index: 1;
}

.stat-block {
    flex: 1;
    text-align: center;
    padding: 0.4rem 2rem;
    border-right: 1px solid rgba(255, 255, 255, 0.07);
}

.stat-block:last-child {
    border-right: none;
}

.sb-num {
    font-family: var(--display);
    font-size: 2rem;
    font-style: italic;
    font-weight: 800;
    color: var(--gold);
    line-height: 1;
    margin-bottom: 0.15rem;
}

.sb-lbl {
    font-family: var(--mono);
    font-size: 0.58rem;
    color: rgba(255, 255, 255, 0.3);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* ═══ SECTION COMMONS ═══ */
.section {
    max-width: 1280px;
    margin: 0 auto;
    padding: 5rem 3rem;
    position: relative;
    z-index: 1;
}

.full-section {
    padding: 5rem 3rem;
    position: relative;
    z-index: 1;
}

.stag {
    font-family: var(--mono);
    font-size: 0.6rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 0.65rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.stag::before {
    content: '✦ ';
    color: var(--border2);
}

h2.sh {
    font-family: var(--display);
    font-size: clamp(2rem, 3.8vw, 3.2rem);
    font-weight: 800;
    font-style: italic;
    line-height: 1.05;
    color: var(--ink);
    margin-bottom: 0.5rem;
}

h2.sh em {
    font-style: normal;
    color: var(--gold);
}

.sd {
    font-size: 0.95rem;
    color: var(--muted);
    line-height: 1.78;
    max-width: 600px;
    margin-bottom: 2.8rem;
}

/* Section divider */
.vinci-rule {
    border: none;
    border-top: 1px solid var(--border);
    max-width: 1280px;
    margin: 0 auto;
}

.vinci-divider {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 3rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--soft);
}

.vinci-divider::before,
.vinci-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border), transparent);
}

.vd-glyph {
    font-family: var(--mono);
    font-size: 0.58rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    white-space: nowrap;
    color: var(--soft);
}

/* ═══ SERVICES — 2-col real world ═══ */
.services-2col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1px;
    background: var(--border);
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
}

.service-panel {
    background: var(--parch);
    padding: 2rem 2.2rem;
    transition: background 0.2s;
}

.service-panel:hover {
    background: var(--aged);
}

.sp-icon {
    font-size: 2.2rem;
    margin-bottom: 0.8rem;
    display: block;
    line-height: 1;
}

.sp-tag {
    font-family: var(--mono);
    font-size: 0.58rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.sp-tag.math {
    color: var(--blue);
}

.sp-tag.py {
    color: var(--sepia2);
}

.sp-tag.des {
    color: var(--red);
}

.sp-tag.ai {
    color: var(--gold);
}

.sp-tag.web {
    color: var(--green);
}

.sp-name {
    font-family: var(--display);
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 0.45rem;
    letter-spacing: -0.01em;
}

.sp-desc {
    font-size: 0.83rem;
    color: var(--muted);
    line-height: 1.7;
    margin-bottom: 1.1rem;
}

/* Skills inside service panel */
.sp-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    margin-bottom: 1.1rem;
}

.skill-tag {
    font-family: var(--mono);
    font-size: 0.58rem;
    color: var(--muted);
    background: var(--aged);
    border: 1px solid var(--border);
    padding: 0.18rem 0.55rem;
    border-radius: 3px;
    letter-spacing: 0.04em;
}

.sp-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid var(--border);
    padding-top: 0.9rem;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.sp-rate {
    font-family: var(--mono);
    font-size: 0.75rem;
    color: var(--gold);
    font-weight: 400;
}

.sp-btn {
    background: var(--ink);
    color: var(--gold);
    font-family: var(--sans);
    font-size: 0.72rem;
    font-weight: 600;
    padding: 0.42rem 0.95rem;
    border-radius: 5px;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.18s;
    letter-spacing: 0.04em;
}

.sp-btn:hover {
    background: var(--gold);
    color: #fff;
}

/* ═══ LIVE SOLVER — The Da Vinci engine ═══ */
.solver-container {
    background: var(--ink);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
}

.solver-topbar {
    background: var(--ink2);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    padding: 0.9rem 1.6rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.solver-icon {
    width: 38px;
    height: 38px;
    border-radius: 7px;
    background: linear-gradient(135deg, var(--sepia2), var(--gold));
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--display);
    font-size: 1rem;
    font-style: italic;
    color: #fff;
}

.solver-name {
    font-weight: 600;
    color: #fff;
    font-size: 0.9rem;
}

.solver-sub {
    font-family: var(--mono);
    font-size: 0.58rem;
    color: rgba(255, 255, 255, 0.3);
    margin-top: 1px;
}

.solver-live {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-family: var(--mono);
    font-size: 0.6rem;
    color: rgba(255, 255, 255, 0.3);
}

.solver-live::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--green);
    animation: pulse 2s infinite;
}

.solver-body {
    padding: 1.6rem;
}

/* Tab system */
.solver-tabs {
    display: flex;
    gap: 0.3rem;
    flex-wrap: wrap;
    margin-bottom: 1.4rem;
}

.stab {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 100px;
    padding: 0.42rem 0.9rem;
    font-family: var(--sans);
    font-size: 0.72rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.18s;
    letter-spacing: 0.03em;
}

.stab.active,
.stab:hover {
    background: var(--gold);
    border-color: var(--gold);
    color: #fff;
}

.stab.active {
    color: var(--ink);
}

/* Problem presets */
.preset-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-bottom: 1rem;
}

.preset {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 100px;
    padding: 0.35rem 0.8rem;
    font-family: var(--sans);
    font-size: 0.7rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.18s;
    letter-spacing: 0.02em;
}

.preset:hover {
    border-color: var(--gold);
    color: var(--gold);
    background: rgba(200, 146, 10, 0.08);
}

/* Level selector */
.level-row {
    display: flex;
    gap: 0.4rem;
    margin-bottom: 1rem;
}

.lbtn {
    flex: 1;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 5px;
    padding: 0.4rem;
    font-family: var(--sans);
    font-size: 0.7rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.35);
    cursor: pointer;
    transition: all 0.18s;
    text-align: center;
}

.lbtn.on,
.lbtn:hover {
    background: rgba(200, 146, 10, 0.15);
    border-color: rgba(200, 146, 10, 0.4);
    color: var(--gold2);
}

.solver-input-row {
    display: flex;
    gap: 0.7rem;
    margin-bottom: 1rem;
}

.solver-input {
    flex: 1;
    background: rgba(255, 255, 255, 0.06);
    border: 1.5px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 0.8rem 1rem;
    color: #fff;
    font-family: var(--sans);
    font-size: 0.9rem;
    outline: none;
    transition: border-color 0.2s;
}

.solver-input:focus {
    border-color: var(--gold);
}

.solver-input::placeholder {
    color: rgba(255, 255, 255, 0.22);
}

.solver-send {
    background: var(--gold);
    border: none;
    border-radius: 8px;
    padding: 0.8rem 1.5rem;
    color: var(--ink);
    font-family: var(--sans);
    font-size: 0.88rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.18s;
    white-space: nowrap;
    letter-spacing: 0.03em;
}

.solver-send:hover {
    background: var(--gold2);
}

.solver-send:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.solver-output {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 10px;
    padding: 1.3rem;
    min-height: 160px;
    font-size: 0.88rem;
    line-height: 1.82;
    color: rgba(255, 255, 255, 0.75);
    white-space: pre-wrap;
    font-family: var(--sans);
}

/* Code output styling */
.code-block {
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 6px;
    padding: 1rem;
    margin-top: 0.8rem;
    font-family: var(--mono);
    font-size: 0.78rem;
    color: #a8d8a0;
    line-height: 1.7;
    white-space: pre-wrap;
    overflow-x: auto;
}

/* ═══ TUITION PLATFORMS ═══ */
.tuition-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: var(--border);
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
}

.tuition-card {
    background: var(--parch);
    padding: 1.5rem 1.3rem;
    transition: background 0.2s;
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}

.tuition-card:hover {
    background: var(--aged);
}

.tuition-card.featured {
    background: #fff8e8;
}

.tc-logo {
    font-size: 1.8rem;
    line-height: 1;
}

.tc-name {
    font-family: var(--display);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--ink);
    letter-spacing: -0.01em;
}

.tc-desc {
    font-size: 0.78rem;
    color: var(--muted);
    line-height: 1.65;
    flex: 1;
}

.tc-earn {
    font-family: var(--mono);
    font-size: 0.68rem;
    color: var(--green);
    font-weight: 400;
}

.tc-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    background: var(--ink);
    color: var(--gold);
    font-family: var(--sans);
    font-size: 0.7rem;
    font-weight: 600;
    padding: 0.42rem 0.9rem;
    border-radius: 5px;
    text-decoration: none;
    transition: all 0.18s;
    align-self: flex-start;
    letter-spacing: 0.04em;
}

.tc-btn:hover {
    background: var(--gold);
    color: #fff;
}

.featured-chip {
    background: var(--gold);
    color: #fff;
    font-family: var(--mono);
    font-size: 0.52rem;
    font-weight: 400;
    padding: 0.12rem 0.5rem;
    border-radius: 3px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    align-self: flex-start;
}

/* ═══ PORTFOLIO SHOWCASE ═══ */
.portfolio-masonry {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.port-card {
    background: var(--parch);
    border: 1px solid var(--border);
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.22s;
    cursor: pointer;
}

.port-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.1);
    border-color: var(--border2);
}

.port-thumb {
    height: 110px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    position: relative;
    overflow: hidden;
}

.port-thumb::after {
    content: attr(data-lang);
    position: absolute;
    bottom: 0.5rem;
    right: 0.5rem;
    font-family: var(--mono);
    font-size: 0.55rem;
    color: rgba(255, 255, 255, 0.7);
    background: rgba(0, 0, 0, 0.45);
    padding: 0.15rem 0.5rem;
    border-radius: 3px;
    letter-spacing: 0.06em;
}

.port-info {
    padding: 1.1rem;
}

.port-cat {
    font-family: var(--mono);
    font-size: 0.56rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 0.3rem;
}

.port-title {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: 0.25rem;
}

.port-desc {
    font-size: 0.73rem;
    color: var(--muted);
    line-height: 1.6;
    margin-bottom: 0.7rem;
}

.port-result {
    display: inline-block;
    background: #eef8f2;
    border: 1px solid #b8d8c4;
    color: var(--green);
    font-size: 0.62rem;
    font-weight: 600;
    padding: 0.18rem 0.6rem;
    border-radius: 100px;
    letter-spacing: 0.04em;
}

/* ═══ INCOME ROADMAP ═══ */
.roadmap-section {
    background: var(--ink2);
    padding: 5rem 3rem;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.roadmap-section::before {
    content: 'Da Vinci';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-15deg);
    font-family: var(--display);
    font-size: 22rem;
    font-weight: 800;
    font-style: italic;
    color: rgba(255, 255, 255, 0.018);
    pointer-events: none;
    white-space: nowrap;
}

.rm-inner {
    max-width: 1280px;
    margin: 0 auto;
}

.rm-title {
    font-family: var(--display);
    font-style: italic;
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 800;
    color: #fff;
    margin-bottom: 0.4rem;
    line-height: 1.05;
}

.rm-title span {
    color: var(--gold2);
}

.rm-sub {
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.35);
    line-height: 1.7;
    max-width: 540px;
    margin-bottom: 2.8rem;
}

.phases {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 2.5rem;
}

.phase {
    background: rgba(255, 255, 255, 0.03);
    padding: 1.4rem 1.2rem;
}

.ph-n {
    font-family: var(--mono);
    font-size: 0.56rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 0.35rem;
}

.ph-p {
    font-size: 0.62rem;
    color: rgba(255, 255, 255, 0.28);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.5rem;
}

.ph-t {
    font-size: 0.9rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 0.35rem;
}

.ph-i {
    font-family: var(--display);
    font-size: 1.5rem;
    font-style: italic;
    color: var(--gold2);
    margin-bottom: 0.5rem;
    line-height: 1;
}

.ph-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.28rem;
}

.ph-list li {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.38);
    display: flex;
    gap: 0.4rem;
}

.ph-list li::before {
    content: '→';
    color: var(--gold);
    flex-shrink: 0;
}

/* Income multiplier */
.income-input-box {
    background: rgba(200, 146, 10, 0.08);
    border: 1px solid rgba(200, 146, 10, 0.22);
    border-radius: 10px;
    padding: 1.5rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    align-items: start;
}

.iib-label {
    font-family: var(--mono);
    font-size: 0.58rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.3);
    margin-bottom: 0.6rem;
}

.iib-row {
    display: flex;
    gap: 0.6rem;
}

.iib-input {
    flex: 1;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 7px;
    padding: 0.65rem 0.9rem;
    color: #fff;
    font-family: var(--sans);
    font-size: 0.85rem;
    outline: none;
    transition: border-color 0.2s;
}

.iib-input:focus {
    border-color: var(--gold2);
}

.iib-input::placeholder {
    color: rgba(255, 255, 255, 0.22);
}

.iib-btn {
    background: var(--gold2);
    border: none;
    border-radius: 7px;
    padding: 0.65rem 1.1rem;
    color: var(--ink);
    font-family: var(--sans);
    font-size: 0.8rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.18s;
    white-space: nowrap;
    letter-spacing: 0.03em;
}

.iib-btn:hover {
    background: #e8c040;
}

.iib-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.iib-output {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 7px;
    padding: 1rem;
    font-size: 0.8rem;
    line-height: 1.78;
    color: rgba(255, 255, 255, 0.6);
    min-height: 90px;
    white-space: pre-wrap;
}

.rm-thinking {
    display: none;
    align-items: center;
    gap: 5px;
    color: rgba(255, 255, 255, 0.28);
    font-family: var(--mono);
    font-size: 0.62rem;
}

.rm-thinking.on {
    display: flex;
}

/* ═══ HIRE SECTION ═══ */
.hire-section {
    background: var(--aged);
    border-top: 1px solid var(--border);
    padding: 5rem 3rem;
    position: relative;
    z-index: 1;
}

.hire-inner {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 460px;
    gap: 4rem;
    align-items: start;
}

.pricing-cards {
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
}

.price-row {
    background: var(--parch);
    border: 1px solid var(--border);
    border-radius: 9px;
    padding: 1.1rem 1.4rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    transition: all 0.2s;
}

.price-row:hover {
    border-color: var(--gold);
    transform: translateX(5px);
}

.price-row.hot {
    border-color: rgba(200, 146, 10, 0.4);
    background: var(--gold-glow);
}

.pr-left .pr-name {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: 0.15rem;
}

.pr-left .pr-desc {
    font-size: 0.73rem;
    color: var(--muted);
    line-height: 1.5;
}

.pr-right {
    flex-shrink: 0;
    text-align: right;
}

.pr-price {
    font-family: var(--mono);
    font-size: 1.05rem;
    color: var(--gold);
    margin-bottom: 0.15rem;
}

.pr-unit {
    font-size: 0.6rem;
    color: var(--soft);
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hot-chip {
    background: var(--gold);
    color: #fff;
    font-family: var(--mono);
    font-size: 0.5rem;
    padding: 0.1rem 0.45rem;
    border-radius: 3px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    display: block;
    margin-bottom: 0.2rem;
    text-align: right;
}

/* Hire form */
.hire-form-box {
    background: var(--parch);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1.7rem;
}

.hfb-title {
    font-family: var(--display);
    font-style: italic;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 0.25rem;
}

.hfb-sub {
    font-size: 0.75rem;
    color: var(--muted);
    margin-bottom: 1.3rem;
    line-height: 1.65;
}

.fg {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.7rem;
}

.fg-full {
    grid-column: 1/-1;
}

.fg label {
    font-family: var(--mono);
    font-size: 0.56rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--soft);
    margin-bottom: 0.3rem;
    display: block;
}

.fg input,
.fg select,
.fg textarea {
    width: 100%;
    background: var(--aged);
    border: 1px solid var(--border);
    border-radius: 7px;
    padding: 0.65rem 0.9rem;
    color: var(--ink);
    font-family: var(--sans);
    font-size: 0.85rem;
    outline: none;
    transition: border-color 0.2s;
    margin-top: 0.3rem;
}

.fg input:focus,
.fg select:focus,
.fg textarea:focus {
    border-color: var(--gold);
}

.fg input::placeholder,
.fg textarea::placeholder {
    color: var(--soft);
}

.fg select option {
    background: var(--parch);
}

.fg textarea {
    resize: vertical;
    min-height: 80px;
}

.fg-submit {
    grid-column: 1/-1;
    background: var(--ink);
    border: none;
    border-radius: 7px;
    padding: 0.88rem;
    color: var(--gold);
    font-family: var(--sans);
    font-size: 0.92rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
    letter-spacing: 0.03em;
    margin-top: 0.3rem;
}

.fg-submit:hover {
    background: var(--sepia2);
    transform: translateY(-2px);
}

.fg-note {
    grid-column: 1/-1;
    font-family: var(--mono);
    font-size: 0.58rem;
    color: var(--soft);
    text-align: center;
    line-height: 1.6;
}

.hire-success {
    display: none;
    text-align: center;
    padding: 3rem 1rem;
}

.hs-icon {
    font-size: 3rem;
    margin-bottom: 0.8rem;
}

.hs-title {
    font-family: var(--display);
    font-style: italic;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 0.4rem;
}

.hs-msg {
    font-size: 0.82rem;
    color: var(--muted);
    line-height: 1.7;
}

/* ═══ FOOTER ═══ */
footer {
    background: var(--ink);
    padding: 3rem;
    position: relative;
    z-index: 1;
}

.footer-inner {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.8fr 1fr 1fr 1fr;
    gap: 3rem;
}

.footer-brand {
    font-family: var(--display);
    font-style: italic;
    font-size: 1.5rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 0.3rem;
}

.footer-brand span {
    color: var(--gold2);
}

.footer-domain {
    font-family: var(--mono);
    font-size: 0.58rem;
    color: rgba(255, 255, 255, 0.25);
    margin-bottom: 0.8rem;
    letter-spacing: 0.05em;
}

.footer-desc {
    font-size: 0.76rem;
    color: rgba(255, 255, 255, 0.28);
    line-height: 1.75;
}

.footer-heading {
    font-family: var(--mono);
    font-size: 0.56rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.22);
    margin-bottom: 0.8rem;
    font-weight: 400;
}

.footer-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.footer-list a {
    font-size: 0.77rem;
    color: rgba(255, 255, 255, 0.32);
    text-decoration: none;
    transition: color 0.18s;
}

.footer-list a:hover {
    color: var(--gold2);
}

.footer-bottom {
    max-width: 1280px;
    margin: 2rem auto 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 1.3rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.footer-bottom p {
    font-family: var(--mono);
    font-size: 0.58rem;
    color: rgba(255, 255, 255, 0.2);
}

.footer-bottom span {
    color: var(--gold2);
}

/* ═══ FLOAT CTA ═══ */
.float-hire {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    z-index: 80;
    background: var(--gold);
    color: #fff;
    border: none;
    border-radius: 50px;
    padding: 0.72rem 1.3rem;
    font-family: var(--sans);
    font-size: 0.8rem;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 6px 24px rgba(200, 146, 10, 0.4);
    transition: all 0.35s ease;
    opacity: 0;
    transform: translateY(20px);
    pointer-events: none;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.float-hire.show {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.float-hire:hover {
    background: var(--gold2);
    transform: translateY(-3px);
}

/* ═══ FADE ═══ */
.fade {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 0.65s ease, transform 0.65s ease;
}

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

.fade[data-d="1"] {
    transition-delay: 0.1s;
}

.fade[data-d="2"] {
    transition-delay: 0.2s;
}

/* ═══ RESPONSIVE ═══ */
/* ═══════════════════════════════════════════
   DATA SCIENCE MASTERY API SECTION
   Digital Assets → Money Making Machine
═══════════════════════════════════════════ */

/* Hero banner for DS section */
.ds-hero-banner {
    background: var(--ink);
    padding: 5rem 3rem 3rem;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.ds-hero-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(200, 146, 10, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(200, 146, 10, 0.04) 1px, transparent 1px);
    background-size: 44px 44px;
    pointer-events: none;
}

.ds-hero-banner::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(200, 146, 10, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.ds-hero-inner {
    max-width: 1280px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

/* Marquee ticker */
.ds-ticker {
    overflow: hidden;
    border-top: 1px solid rgba(200, 146, 10, 0.2);
    border-bottom: 1px solid rgba(200, 146, 10, 0.2);
    padding: 0.6rem 0;
    margin-bottom: 3rem;
    background: rgba(200, 146, 10, 0.04);
}

.ds-ticker-inner {
    display: flex;
    gap: 3rem;
    animation: ticker-scroll 30s linear infinite;
    white-space: nowrap;
}

@keyframes ticker-scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.ds-ticker-item {
    font-family: var(--mono);
    font-size: 0.62rem;
    font-weight: 400;
    color: rgba(200, 146, 10, 0.7);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-shrink: 0;
}

.ds-ticker-item::before {
    content: '✦';
    color: var(--gold);
}

/* DS section header grid */
.ds-header-grid {
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 4rem;
    align-items: start;
    margin-bottom: 3.5rem;
}

.ds-section-tag {
    font-family: var(--mono);
    font-size: 0.62rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 0.7rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.ds-section-tag::before {
    content: '✦';
    color: rgba(200, 146, 10, 0.4);
}

h2.ds-sh {
    font-family: var(--display);
    font-size: clamp(2.2rem, 4vw, 3.8rem);
    font-weight: 800;
    font-style: italic;
    line-height: 1.02;
    color: #fff;
    margin-bottom: 0.6rem;
}

h2.ds-sh em {
    font-style: normal;
    color: var(--gold2);
}

.ds-sd {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.4);
    line-height: 1.78;
    margin-bottom: 1.5rem;
}

/* Status pills */
.ds-status-row {
    display: flex;
    gap: 0.6rem;
    flex-wrap: wrap;
}

.ds-status-pill {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0.32rem 0.85rem;
    border-radius: 100px;
    font-family: var(--mono);
    font-size: 0.6rem;
    color: rgba(255, 255, 255, 0.4);
}

.ds-status-pill .ds-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--green);
    animation: pulse 2s infinite;
}

/* Right side: Money Making metrics */
.ds-money-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(200, 146, 10, 0.25);
    border-radius: 12px;
    padding: 1.6rem;
}

.dmc-title {
    font-family: var(--mono);
    font-size: 0.6rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(200, 146, 10, 0.6);
    margin-bottom: 1.2rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.dmc-title::before {
    content: '$';
    font-size: 0.9rem;
    color: var(--gold);
}

.dmc-streams {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    margin-bottom: 1.2rem;
}

.dmc-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 7px;
    padding: 0.65rem 1rem;
}

.dmc-label {
    font-size: 0.78rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.7);
}

.dmc-label small {
    display: block;
    font-size: 0.62rem;
    color: rgba(255, 255, 255, 0.28);
    font-weight: 400;
    margin-top: 1px;
}

.dmc-earn {
    font-family: var(--mono);
    font-size: 0.82rem;
    color: var(--gold2);
}

.dmc-total {
    background: rgba(200, 146, 10, 0.1);
    border: 1px solid rgba(200, 146, 10, 0.3);
    border-radius: 7px;
    padding: 0.9rem 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.dmc-total-label {
    font-family: var(--mono);
    font-size: 0.58rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.35);
}

.dmc-total-val {
    font-family: var(--display);
    font-size: 1.8rem;
    font-style: italic;
    font-weight: 800;
    color: var(--gold2);
    line-height: 1;
}

/* AI roadmap section inside DS */
.ds-ai-section {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 10px;
    padding: 1.3rem;
    margin-bottom: 3.5rem;
}

.ds-ai-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.ds-ai-icon {
    width: 36px;
    height: 36px;
    border-radius: 7px;
    background: linear-gradient(135deg, var(--sepia2), var(--gold));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
}

.ds-ai-name {
    font-weight: 600;
    color: #fff;
    font-size: 0.88rem;
}

.ds-ai-sub {
    font-family: var(--mono);
    font-size: 0.58rem;
    color: rgba(255, 255, 255, 0.3);
    margin-top: 1px;
}

.ds-ai-live {
    margin-left: auto;
    font-family: var(--mono);
    font-size: 0.6rem;
    color: rgba(255, 255, 255, 0.3);
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.ds-ai-live::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--green);
    animation: pulse 2s infinite;
}

.ds-quick-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-bottom: 0.9rem;
}

.ds-chip {
    font-family: var(--sans);
    font-size: 0.7rem;
    font-weight: 500;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 100px;
    padding: 0.35rem 0.8rem;
    color: rgba(255, 255, 255, 0.45);
    cursor: pointer;
    transition: all 0.18s;
    letter-spacing: 0.02em;
}

.ds-chip:hover {
    border-color: var(--gold);
    color: var(--gold);
    background: rgba(200, 146, 10, 0.08);
}

.ds-ai-input-row {
    display: flex;
    gap: 0.7rem;
    margin-bottom: 0.9rem;
}

.ds-ai-input {
    flex: 1;
    background: rgba(255, 255, 255, 0.06);
    border: 1.5px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 0.75rem 1rem;
    color: #fff;
    font-family: var(--sans);
    font-size: 0.88rem;
    outline: none;
    transition: border-color 0.2s;
}

.ds-ai-input:focus {
    border-color: var(--gold);
}

.ds-ai-input::placeholder {
    color: rgba(255, 255, 255, 0.22);
}

.ds-ai-send {
    background: var(--gold);
    border: none;
    border-radius: 8px;
    padding: 0.75rem 1.4rem;
    color: var(--ink);
    font-family: var(--sans);
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.18s;
    white-space: nowrap;
}

.ds-ai-send:hover {
    background: var(--gold2);
}

.ds-ai-send:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.ds-ai-output {
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 9px;
    padding: 1.2rem;
    min-height: 120px;
    font-size: 0.87rem;
    line-height: 1.82;
    color: rgba(255, 255, 255, 0.75);
    white-space: pre-wrap;
}

/* ═══ 10 MODULES GRID ═══ */
.ds-modules-section {
    background: var(--aged);
    padding: 5rem 3rem;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    position: relative;
    z-index: 1;
}

.ds-modules-inner {
    max-width: 1280px;
    margin: 0 auto;
}

/* Module accordion */
.ds-modules-list {
    display: flex;
    flex-direction: column;
    gap: 0;
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
}

details.ds-module {
    border-bottom: 1px solid var(--border);
    overflow: hidden;
}

details.ds-module:last-child {
    border-bottom: none;
}

details.ds-module[open] {
    border-bottom: 2px solid var(--gold);
}

details.ds-module summary {
    list-style: none;
    display: grid;
    grid-template-columns: 3.2rem 1fr auto 6rem 1.2rem;
    align-items: center;
    gap: 1rem;
    padding: 1.1rem 1.5rem;
    cursor: pointer;
    background: var(--parch);
    transition: background 0.18s;
    user-select: none;
}

details.ds-module summary::-webkit-details-marker {
    display: none;
}

details.ds-module summary:hover {
    background: var(--aged);
}

details.ds-module[open] summary {
    background: var(--aged);
}

.dm-num {
    font-family: var(--mono);
    font-size: 0.62rem;
    color: var(--soft);
    letter-spacing: 0.08em;
}

.dm-title {
    font-family: var(--display);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--ink);
    letter-spacing: -0.01em;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.dm-title .dm-emoji {
    font-style: normal;
    font-size: 1.1rem;
}

.dm-badge-row {
    display: flex;
    gap: 0.4rem;
    justify-content: flex-end;
    flex-wrap: wrap;
}

.dm-count {
    font-family: var(--mono);
    font-size: 0.62rem;
    color: var(--muted);
}

.dm-chevron {
    color: var(--muted);
    font-size: 0.65rem;
    transition: transform 0.3s ease, color 0.2s;
}

details.ds-module[open] .dm-chevron {
    transform: rotate(90deg);
    color: var(--gold);
}

/* Module body */
.dm-body {
    padding: 1.4rem 1.5rem 1.8rem;
    border-top: 1px solid var(--border);
    background: var(--parch);
    animation: dm-open 0.28s ease;
}

@keyframes dm-open {
    from {
        opacity: 0;
        transform: translateY(-6px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.dm-section-label {
    font-family: var(--mono);
    font-size: 0.58rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--soft);
    margin-bottom: 0.7rem;
    margin-top: 0.2rem;
}

/* Resource buttons */
.dm-resources {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin-bottom: 0.8rem;
}

.dm-res {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.42rem 0.9rem;
    border: 1px solid var(--border);
    border-radius: 4px;
    font-family: var(--sans);
    font-size: 0.78rem;
    color: var(--ink2);
    text-decoration: none;
    transition: all 0.18s;
    background: rgba(232, 220, 200, 0.3);
}

.dm-res:hover {
    border-color: var(--gold);
    background: rgba(200, 146, 10, 0.07);
    color: var(--sepia2);
}

/* Resource type badges */
.dm-tag {
    font-family: var(--mono);
    font-size: 0.5rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0.1rem 0.38rem;
    border-radius: 2px;
    font-weight: 500;
}

.dm-tag-free {
    background: rgba(26, 90, 48, 0.12);
    color: var(--green);
    border: 1px solid rgba(26, 90, 48, 0.2);
}

.dm-tag-course {
    background: rgba(139, 58, 26, 0.1);
    color: var(--red);
    border: 1px solid rgba(139, 58, 26, 0.18);
}

.dm-tag-ref {
    background: rgba(200, 146, 10, 0.12);
    color: var(--gold);
    border: 1px solid rgba(200, 146, 10, 0.2);
}

.dm-tag-book {
    background: rgba(26, 21, 16, 0.08);
    color: var(--muted);
    border: 1px solid var(--border);
}

/* Micro links */
.dm-micro-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-top: 0.4rem;
}

.dm-micro {
    font-family: var(--sans);
    font-size: 0.74rem;
    font-style: italic;
    color: var(--muted);
    text-decoration: none;
    border-bottom: 1px dotted var(--border2);
    padding-bottom: 1px;
    transition: color 0.15s, border-color 0.15s;
}

.dm-micro:hover {
    color: var(--sepia2);
    border-color: var(--gold);
}

/* AI Ask per module */
.dm-ask-row {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px dashed var(--border);
}

.dm-ask-btn {
    background: rgba(200, 146, 10, 0.08);
    border: 1px solid rgba(200, 146, 10, 0.25);
    border-radius: 6px;
    padding: 0.52rem 1rem;
    font-family: var(--sans);
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--gold);
    cursor: pointer;
    transition: all 0.18s;
    letter-spacing: 0.04em;
}

.dm-ask-btn:hover {
    background: rgba(200, 146, 10, 0.16);
    border-color: rgba(200, 146, 10, 0.5);
}

.dm-ask-output {
    margin-top: 0.8rem;
    background: var(--aged);
    border: 1px solid var(--border);
    border-radius: 7px;
    padding: 1rem;
    font-size: 0.83rem;
    line-height: 1.78;
    color: var(--ink2);
    display: none;
    white-space: pre-wrap;
}

.dm-ask-output.visible {
    display: block;
}

.dm-thinking-row {
    display: none;
    align-items: center;
    gap: 5px;
    margin-top: 0.6rem;
    color: var(--soft);
    font-family: var(--mono);
    font-size: 0.62rem;
}

.dm-thinking-row.on {
    display: flex;
}

/* ═══ ROADMAP STRIP ═══ */
.ds-roadmap-strip {
    background: var(--ink2);
    padding: 3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    z-index: 1;
}

.ds-roadmap-inner {
    max-width: 1280px;
    margin: 0 auto;
}

.ds-road-label {
    font-family: var(--mono);
    font-size: 0.6rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(200, 146, 10, 0.5);
    margin-bottom: 1rem;
}

.ds-road-path {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0;
    margin-bottom: 1.8rem;
}

.ds-road-node {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
    font-style: italic;
}

.ds-road-node.highlight {
    color: var(--gold2);
    font-weight: 600;
    font-style: normal;
}

.ds-road-arrow {
    color: rgba(255, 255, 255, 0.18);
    font-size: 0.75rem;
    padding: 0 0.5rem;
}

/* Money potential grid */
.ds-money-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    overflow: hidden;
}

.ds-money-cell {
    background: rgba(255, 255, 255, 0.03);
    padding: 1.2rem;
}

.dmc-skill {
    font-family: var(--mono);
    font-size: 0.6rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 0.3rem;
}

.dmc-how {
    font-size: 0.82rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 0.25rem;
}

.dmc-rate {
    font-family: var(--display);
    font-size: 1.3rem;
    font-style: italic;
    color: var(--gold2);
    line-height: 1;
    margin-bottom: 0.3rem;
}

.dmc-platform {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.3);
    line-height: 1.5;
}

@media(max-width:1024px) {
    .ds-header-grid {
        grid-template-columns: 1fr;
    }

    .ds-modules-section {
        padding: 3.5rem 1.5rem;
    }

    .ds-hero-banner {
        padding: 3.5rem 1.5rem;
    }

    .ds-roadmap-strip {
        padding: 2.5rem 1.5rem;
    }

    .ds-money-grid {
        grid-template-columns: 1fr 1fr;
    }

    details.ds-module summary {
        grid-template-columns: 2.5rem 1fr 1rem;
    }

    .dm-count,
    .dm-badge-row {
        display: none;
    }
}

@media(max-width:640px) {
    .ds-money-grid {
        grid-template-columns: 1fr;
    }
}

@media(max-width:1024px) {
    .hero {
        grid-template-columns: 1fr;
        min-height: auto;
        padding: 3.5rem 1.5rem;
    }

    .services-2col {
        grid-template-columns: 1fr;
    }

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

    .portfolio-masonry {
        grid-template-columns: 1fr 1fr;
    }

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

    .hire-inner {
        grid-template-columns: 1fr;
    }

    .footer-inner {
        grid-template-columns: 1fr 1fr;
    }

    nav {
        padding: 0 1.5rem;
    }

    .nav-items {
        display: none;
    }

    .section {
        padding: 3.5rem 1.5rem;
    }

    .full-section,
    .roadmap-section,
    .hire-section {
        padding: 3.5rem 1.5rem;
    }

    .stats-row {
        flex-wrap: wrap;
        padding: 1.2rem;
    }

    .stat-block {
        flex: 0 0 40%;
        border-right: none;
    }

    .income-input-box {
        grid-template-columns: 1fr;
    }

    footer {
        padding: 2.5rem 1.5rem;
    }
}

@media(max-width:640px) {
    .tuition-grid {
        grid-template-columns: 1fr;
    }

    .portfolio-masonry {
        grid-template-columns: 1fr;
    }

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

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

    .footer-inner {
        grid-template-columns: 1fr;
    }

    .vinci-divider,
    .vinci-rule {
        padding: 0 1.5rem;
    }
}