/* ═══════════════════════════════════════════════════════════
   VENTURE SECTION STYLES — Te Kete Ako
   Startup-pitch aesthetic. Navy / Teal / Amber palette.
   Pairs with main.css — loads after it.
   ═══════════════════════════════════════════════════════════ */

/* ── Tokens ── */
:root {
    --v-navy:        #0f172a;
    --v-navy-mid:    #1e293b;
    --v-navy-light:  #334155;
    --v-teal:        #14b8a6;
    --v-teal-dark:   #0d9488;
    --v-teal-glow:   rgba(20, 184, 166, 0.15);
    --v-amber:       #f59e0b;
    --v-amber-light: #fef3c7;
    --v-amber-dark:  #d97706;
    --v-sky:         #38bdf8;
    --v-white:       #ffffff;
    --v-off-white:   #f8fafc;
    --v-muted:       #94a3b8;
    --v-body:        #475569;
    --v-border:      #e2e8f0;
    --v-radius:      0.75rem;
    --v-radius-lg:   1.25rem;
    --sidebar-w:     260px;
}

/* ── Page Layout ── */
.venture-page {
    margin-left: var(--sidebar-w);
    min-height: 100vh;
    background: var(--v-off-white);
}

@media (max-width: 768px) {
    .venture-page { margin-left: 0; }
}

/* ── HERO ── */
.venture-hero {
    background: var(--v-navy);
    background-image:
        radial-gradient(ellipse at 20% 50%, rgba(20, 184, 166, 0.12) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 20%, rgba(56, 189, 248, 0.08) 0%, transparent 50%);
    padding: 6rem 4rem 5rem;
    position: relative;
    overflow: hidden;
}

.venture-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 80px,
        rgba(255,255,255,0.015) 80px,
        rgba(255,255,255,0.015) 81px
    );
    pointer-events: none;
}

.venture-hero-inner {
    max-width: 900px;
    position: relative;
    z-index: 1;
}

.venture-hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--v-teal-glow);
    border: 1px solid rgba(20, 184, 166, 0.3);
    color: var(--v-teal);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0.35rem 0.85rem;
    border-radius: 100px;
    margin-bottom: 1.75rem;
}

.venture-hero-title {
    font-size: clamp(2.75rem, 6vw, 4.5rem);
    font-weight: 800;
    color: var(--v-white);
    line-height: 1.05;
    margin: 0 0 0.5rem;
    letter-spacing: -0.02em;
}

.venture-hero-title .teal { color: var(--v-teal); }
.venture-hero-title .amber { color: var(--v-amber); }

.venture-hero-subtitle {
    font-size: clamp(1.1rem, 2.5vw, 1.4rem);
    color: var(--v-muted);
    margin: 0 0 2.5rem;
    max-width: 620px;
    line-height: 1.55;
    font-weight: 400;
}

.venture-hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.venture-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.75rem;
    border-radius: var(--v-radius);
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.18s ease;
    border: none;
    cursor: pointer;
}

.venture-btn-primary {
    background: var(--v-teal);
    color: var(--v-navy);
}

.venture-btn-primary:hover {
    background: var(--v-teal-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 20px rgba(20, 184, 166, 0.35);
    color: var(--v-white);
    text-decoration: none;
}

.venture-btn-ghost {
    background: rgba(255,255,255,0.07);
    color: var(--v-white);
    border: 1px solid rgba(255,255,255,0.15);
}

.venture-btn-ghost:hover {
    background: rgba(255,255,255,0.12);
    transform: translateY(-1px);
    color: var(--v-white);
    text-decoration: none;
}

/* ── Traction Strip ── */
.venture-traction-strip {
    background: var(--v-amber);
    padding: 2rem 4rem;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

@media (max-width: 900px) {
    .venture-traction-strip { grid-template-columns: repeat(2, 1fr); padding: 1.5rem 2rem; }
}

.venture-traction-item {
    text-align: center;
}

.venture-traction-number {
    display: block;
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--v-navy);
    line-height: 1;
    letter-spacing: -0.02em;
}

.venture-traction-label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--v-navy);
    opacity: 0.65;
    margin-top: 0.3rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* ── Content Sections ── */
.venture-section {
    padding: 5rem 4rem;
    max-width: 1100px;
    margin: 0 auto;
}

.venture-section-full {
    padding: 5rem 4rem;
}

.venture-section-full.dark {
    background: var(--v-navy);
    max-width: none;
    margin: 0;
}

.venture-section-full.mid {
    background: var(--v-navy-mid);
    max-width: none;
    margin: 0;
}

.venture-section-full.tinted {
    background: #f1f5f9;
    max-width: none;
    margin: 0;
}

.venture-section-full .venture-section-inner {
    max-width: 1100px;
    margin: 0 auto;
}

@media (max-width: 900px) {
    .venture-section,
    .venture-section-full { padding: 3rem 1.5rem; }
}

.venture-section-label {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--v-teal);
    margin-bottom: 0.75rem;
}

.venture-section.dark .venture-section-label,
.venture-section-full.dark .venture-section-label,
.venture-section-full.mid .venture-section-label {
    color: var(--v-teal);
}

.venture-section-heading {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 800;
    color: var(--v-navy);
    margin: 0 0 1.25rem;
    line-height: 1.15;
    letter-spacing: -0.02em;
}

.venture-section-full.dark .venture-section-heading,
.venture-section-full.mid .venture-section-heading {
    color: var(--v-white);
}

.venture-section-body {
    font-size: 1.05rem;
    color: var(--v-body);
    line-height: 1.75;
    max-width: 680px;
}

.venture-section-full.dark .venture-section-body,
.venture-section-full.mid .venture-section-body {
    color: var(--v-muted);
}

/* ── 2-Column Grid ── */
.venture-2col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

@media (max-width: 768px) {
    .venture-2col { grid-template-columns: 1fr; gap: 2rem; }
}

.venture-3col {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

@media (max-width: 768px) {
    .venture-3col { grid-template-columns: 1fr; }
}

/* ── Cards ── */
.venture-card {
    background: var(--v-white);
    border: 1px solid var(--v-border);
    border-radius: var(--v-radius-lg);
    padding: 2rem;
    transition: all 0.18s ease;
}

.venture-card:hover {
    box-shadow: 0 8px 32px rgba(15, 23, 42, 0.1);
    transform: translateY(-2px);
}

.venture-card.dark-card {
    background: rgba(255,255,255,0.05);
    border-color: rgba(255,255,255,0.08);
}

.venture-card.dark-card:hover {
    background: rgba(255,255,255,0.08);
    box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}

.venture-card-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
    display: block;
}

.venture-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--v-navy);
    margin: 0 0 0.6rem;
}

.venture-card.dark-card h3 {
    color: var(--v-white);
}

.venture-card p {
    font-size: 0.92rem;
    color: var(--v-body);
    line-height: 1.65;
    margin: 0;
}

.venture-card.dark-card p {
    color: var(--v-muted);
}

.venture-card-link {
    text-decoration: none;
    display: block;
}

/* ── Nav Cards (sub-page links) ── */
.venture-nav-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
}

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

.venture-nav-card {
    background: var(--v-white);
    border: 2px solid var(--v-border);
    border-radius: var(--v-radius-lg);
    padding: 2rem 2rem 1.5rem;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    transition: all 0.18s ease;
    position: relative;
    overflow: hidden;
}

.venture-nav-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: var(--v-teal);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.2s ease;
}

.venture-nav-card:hover::before { transform: scaleX(1); }

.venture-nav-card:hover {
    border-color: var(--v-teal);
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(20, 184, 166, 0.12);
    text-decoration: none;
}

.venture-nav-card-eyebrow {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--v-teal);
}

.venture-nav-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--v-navy);
    margin: 0;
}

.venture-nav-card p {
    font-size: 0.88rem;
    color: var(--v-body);
    margin: 0.25rem 0 0;
    line-height: 1.55;
}

.venture-nav-card-arrow {
    margin-top: auto;
    padding-top: 1rem;
    color: var(--v-teal);
    font-size: 1.25rem;
    font-weight: 700;
    align-self: flex-end;
}

/* ── Timeline ── */
.venture-timeline {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-top: 2.5rem;
}

.venture-timeline::before {
    content: '';
    position: absolute;
    left: 1.1rem;
    top: 0.5rem;
    bottom: 0.5rem;
    width: 2px;
    background: linear-gradient(to bottom, var(--v-teal), var(--v-amber));
}

.timeline-item {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
    padding-bottom: 2rem;
    position: relative;
}

.timeline-dot {
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 50%;
    background: var(--v-navy);
    border: 2px solid var(--v-teal);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}

.timeline-dot.done { background: var(--v-teal); border-color: var(--v-teal); }
.timeline-dot.amber { border-color: var(--v-amber); }
.timeline-dot.active { background: var(--v-teal-glow); border-color: var(--v-teal); box-shadow: 0 0 12px rgba(20,184,166,0.4); }

.timeline-content { flex: 1; padding-top: 0.25rem; }

.timeline-date {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--v-teal);
    margin-bottom: 0.2rem;
}

.timeline-dot.amber + .timeline-content .timeline-date { color: var(--v-amber-dark); }

.timeline-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--v-white);
    margin-bottom: 0.25rem;
}

.timeline-desc {
    font-size: 0.875rem;
    color: var(--v-muted);
    line-height: 1.55;
}

/* ── Lean Canvas ── */
.lean-canvas {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    grid-template-rows: 1fr auto auto;
    border: 1px solid var(--v-border);
    border-radius: var(--v-radius);
    overflow: hidden;
    margin-top: 2rem;
    font-size: 0.875rem;
}

.lc-cell {
    border: 1px solid var(--v-border);
    padding: 1.25rem 1rem;
    min-height: 160px;
}

.lc-cell h4 {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--v-teal);
    margin: 0 0 0.6rem;
}

.lc-cell p, .lc-cell ul {
    font-size: 0.83rem;
    color: var(--v-body);
    margin: 0;
    line-height: 1.55;
}

.lc-cell ul { padding-left: 1.1rem; }
.lc-cell ul li { margin-bottom: 0.25rem; }

.lc-problem  { grid-column: 1; grid-row: 1; }
.lc-solution { grid-column: 2; grid-row: 1; }
.lc-uvp      { grid-column: 3; grid-row: 1; background: #f0fdf4; }
.lc-advantage{ grid-column: 4; grid-row: 1; }
.lc-segments { grid-column: 5; grid-row: 1; }
.lc-metrics  { grid-column: 1; grid-row: 2; }
.lc-channels { grid-column: 2 / 5; grid-row: 2; }
.lc-early    { grid-column: 5; grid-row: 2; }
.lc-costs    { grid-column: 1 / 4; grid-row: 3; background: #fff7ed; }
.lc-revenue  { grid-column: 4 / 6; grid-row: 3; background: #f0fdf4; }

@media (max-width: 900px) {
    .lean-canvas {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: none;
    }
    .lc-problem, .lc-solution, .lc-uvp, .lc-advantage,
    .lc-segments, .lc-metrics, .lc-channels, .lc-early,
    .lc-costs, .lc-revenue {
        grid-column: auto;
        grid-row: auto;
    }
}

/* ── Projections Table ── */
.projection-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1.5rem;
    font-size: 0.9rem;
}

.projection-table th {
    background: var(--v-navy);
    color: var(--v-white);
    padding: 0.85rem 1rem;
    text-align: left;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.projection-table td {
    padding: 0.85rem 1rem;
    border-bottom: 1px solid var(--v-border);
    color: var(--v-body);
}

.projection-table tr:last-child td { border-bottom: none; }

.projection-table tr:nth-child(even) td { background: var(--v-off-white); }

.projection-table td:first-child { font-weight: 700; color: var(--v-navy); }
.projection-table td.highlight { color: var(--v-teal-dark); font-weight: 700; }

/* ── Submission Page ── */
.submission-header {
    background: var(--v-navy);
    padding: 4rem 4rem 3rem;
}

.submission-header-inner { max-width: 800px; }

.submission-context {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

.submission-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    background: var(--v-teal-glow);
    border: 1px solid rgba(20,184,166,0.3);
    color: var(--v-teal);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 0.3rem 0.75rem;
    border-radius: 100px;
}

.submission-badge.amber {
    background: rgba(245,158,11,0.12);
    border-color: rgba(245,158,11,0.3);
    color: var(--v-amber);
}

.submission-title {
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    font-weight: 800;
    color: var(--v-white);
    margin: 0 0 0.75rem;
    letter-spacing: -0.02em;
}

.submission-meta {
    font-size: 0.9rem;
    color: var(--v-muted);
}

.submission-pitch {
    background: var(--v-teal);
    padding: 3rem 4rem;
    position: relative;
}

.submission-pitch::before {
    content: '"';
    position: absolute;
    top: 0.5rem; left: 3rem;
    font-size: 8rem;
    color: rgba(255,255,255,0.15);
    font-family: Georgia, serif;
    line-height: 1;
}

.submission-pitch-inner {
    max-width: 800px;
    position: relative;
    z-index: 1;
}

.submission-pitch-label {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(15,23,42,0.6);
    margin-bottom: 0.75rem;
}

.submission-pitch-text {
    font-size: clamp(1.15rem, 2vw, 1.35rem);
    font-weight: 600;
    color: var(--v-navy);
    line-height: 1.65;
    margin: 0;
}

/* ── Essay Body ── */
.submission-body {
    max-width: 800px;
    margin: 0 auto;
    padding: 4rem 4rem;
}

.submission-body h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--v-navy);
    margin: 2.5rem 0 0.75rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--v-teal);
    display: inline-block;
}

.submission-body h3:first-child { margin-top: 0; }

.submission-body p {
    font-size: 1rem;
    color: #374151;
    line-height: 1.8;
    margin: 0 0 1.25rem;
}

@media (max-width: 768px) {
    .submission-body { padding: 2.5rem 1.5rem; }
    .submission-header { padding: 3rem 1.5rem 2rem; }
    .submission-pitch { padding: 2.5rem 1.5rem; }
}

/* ── Pullquote ── */
.venture-pullquote {
    border-left: 4px solid var(--v-teal);
    padding: 1rem 1.5rem;
    margin: 2rem 0;
    background: var(--v-off-white);
    border-radius: 0 var(--v-radius) var(--v-radius) 0;
}

.venture-pullquote p {
    font-size: 1.05rem;
    font-style: italic;
    color: var(--v-navy);
    margin: 0;
    line-height: 1.65;
}

/* ── Grant Pipeline Table ── */
.grant-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1.5rem;
    font-size: 0.88rem;
}

.grant-table th {
    background: var(--v-navy);
    color: var(--v-white);
    padding: 0.75rem 1rem;
    text-align: left;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.grant-table td {
    padding: 0.85rem 1rem;
    border-bottom: 1px solid var(--v-border);
    color: var(--v-body);
    vertical-align: top;
}

.grant-table tr:last-child td { border-bottom: none; }

.grant-status {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.2rem 0.6rem;
    border-radius: 100px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.grant-status.active { background: rgba(20,184,166,0.1); color: var(--v-teal-dark); }
.grant-status.ready  { background: rgba(245,158,11,0.1); color: var(--v-amber-dark); }
.grant-status.future { background: #f1f5f9; color: #64748b; }

/* ── Back Nav ── */
.venture-back-nav {
    padding: 1.25rem 4rem;
    background: var(--v-off-white);
    border-bottom: 1px solid var(--v-border);
}

.venture-back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--v-teal-dark);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 600;
    transition: gap 0.15s ease;
}

.venture-back-link:hover { gap: 0.6rem; text-decoration: none; color: var(--v-teal); }

@media (max-width: 768px) {
    .venture-back-nav { padding: 1rem 1.5rem; }
    .venture-traction-strip { padding: 1.5rem 1.5rem; }
    .venture-hero { padding: 4rem 1.5rem 3rem; }
}
