/* MCW Project Tracker – look based on TemplateMo 618 "The Catalyst" (silver & acid). */

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

:root {
    /* Silver & Acid Palette */
    --bg:           #FAFAFA;
    --surface:      #F0F0F0;
    --text:         #111111;
    --text-muted:   #666666;
    --text-dim:     #999999;
    --accent:       #D4FF00;
    --accent-hover: #c2eb00;
    --border:       #E5E5E5;
    --border-light: #EEEEEE;
    --white:        #FFFFFF;

    /* Spacing */
    --section-pad: clamp(80px, 10vw, 140px);
    --container:   1200px;
    --gap:         24px;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'SF Pro Text', sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    letter-spacing: -0.02em;
    overflow-x: hidden;
}

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

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

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

/* ===== Machined Silver Card System ===== */
.card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 16px;
    box-shadow: inset 0 1px 0 var(--white);
    transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1);
}

.card:hover {
    transform: translateY(-2px);
}

/* ===== Acid Button System ===== */
.btn-acid {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 32px;
    background: var(--accent);
    color: var(--text);
    font-family: inherit;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: -0.02em;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: transform 0.2s cubic-bezier(0.22, 1, 0.36, 1),
                box-shadow 0.2s cubic-bezier(0.22, 1, 0.36, 1);
    user-select: none;
}

.btn-acid:hover {
    transform: translateY(-2px);
    box-shadow: 4px 4px 0px var(--text);
}

.btn-acid:active {
    transform: translateY(0);
    box-shadow: 1px 1px 0px var(--text);
}

.btn-ghost {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 32px;
    background: transparent;
    color: var(--text);
    font-family: inherit;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: -0.02em;
    border: 1px solid var(--border);
    border-radius: 10px;
    cursor: pointer;
    transition: transform 0.2s cubic-bezier(0.22, 1, 0.36, 1),
                box-shadow 0.2s cubic-bezier(0.22, 1, 0.36, 1),
                border-color 0.2s ease;
}

.btn-ghost:hover {
    transform: translateY(-2px);
    box-shadow: 4px 4px 0px var(--text);
    border-color: var(--text);
}

/* ===== NAVIGATION ===== */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(250, 250, 250, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
}

.nav-inner {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 var(--gap);
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    font-size: 18px;
    font-weight: 800;
    letter-spacing: -0.04em;
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-logo-mark {
    width: 28px;
    height: 28px;
    background: var(--accent);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-logo-mark svg {
    width: 16px;
    height: 16px;
}

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

.nav-links a {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-muted);
    transition: color 0.2s ease;
}

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

.nav-cta {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-cta .btn-acid {
    padding: 10px 22px;
    font-size: 14px;
}

.nav-cta .btn-ghost {
    padding: 10px 22px;
    font-size: 14px;
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
}

.nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text);
    position: relative;
    transition: background 0.2s ease;
}

.nav-toggle span::before,
.nav-toggle span::after {
    content: '';
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--text);
    transition: transform 0.3s ease;
}

.nav-toggle span::before { top: -7px; }
.nav-toggle span::after  { top: 7px; }

.nav-toggle.active span { background: transparent; }
.nav-toggle.active span::before { transform: rotate(45deg); top: 0; }
.nav-toggle.active span::after  { transform: rotate(-45deg); top: 0; }

/* ===== SECTION 1: HERO ===== */
.hero {
    padding-top: 160px;
    padding-bottom: 0;
    text-align: center;
    position: relative;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px 6px 8px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 100px;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-muted);
    margin-bottom: 32px;
    box-shadow: inset 0 1px 0 var(--white);
}

.hero-badge-dot {
    width: 8px;
    height: 8px;
    background: #22C55E;
    border-radius: 50%;
    animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

.hero h1 {
    font-size: clamp(42px, 6vw, 76px);
    font-weight: 800;
    line-height: 1.02;
    letter-spacing: -0.045em;
    max-width: 820px;
    margin: 0 auto 24px;
}

.hero h1 .accent-word {
    color: var(--text);
    background: var(--accent);
    padding: 0 10px;
    border-radius: 8px;
    display: inline-block;
}

.hero-sub {
    font-size: clamp(16px, 1.8vw, 19px);
    color: var(--text-muted);
    max-width: 520px;
    margin: 0 auto 40px;
    line-height: 1.6;
    font-weight: 400;
}

.hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 72px;
}

/* Dashboard Mockup */
.hero-dashboard {
    position: relative;
    max-width: 1060px;
    margin: 0 auto;
}

.hero-dashboard::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 200px;
    background: linear-gradient(to top, var(--bg) 0%, transparent 100%);
    pointer-events: none;
    z-index: 2;
}

.dashboard-frame {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 16px 16px 0 0;
    box-shadow: inset 0 1px 0 var(--white),
                0 0 0 1px rgba(0,0,0,0.02),
                0 20px 60px -10px rgba(0,0,0,0.08);
    overflow: hidden;
}

.dashboard-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 20px;
    border-bottom: 1px solid var(--border);
}

.dashboard-dots {
    display: flex;
    gap: 7px;
}

.dashboard-dots span {
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background: var(--border);
}

.dashboard-toolbar-tabs {
    display: flex;
    gap: 2px;
}

.dashboard-toolbar-tabs span {
    padding: 5px 14px;
    font-size: 12px;
    font-weight: 500;
    color: var(--text-dim);
    border-radius: 6px;
    cursor: default;
}

.dashboard-toolbar-tabs span.active {
    background: var(--white);
    color: var(--text);
    border: 1px solid var(--border);
    box-shadow: 0 1px 2px rgba(0,0,0,0.04);
}

.dashboard-body {
    padding: 20px;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 16px;
}

.dash-stat-card {
    background: var(--white);
    border: 1px solid var(--border-light);
    border-radius: 12px;
    padding: 20px;
    box-shadow: inset 0 1px 0 var(--white);
}

.dash-stat-label {
    font-size: 12px;
    font-weight: 500;
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 8px;
}

.dash-stat-value {
    font-size: 28px;
    font-weight: 800;
    letter-spacing: -0.03em;
    font-variant-numeric: tabular-nums;
}

.dash-stat-change {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-top: 6px;
    font-size: 12px;
    font-weight: 600;
    color: #22C55E;
}

.dash-stat-change.down { color: #EF4444; }

/* Data Table inside dashboard */
.dashboard-table-area {
    grid-column: 1 / -1;
    background: var(--white);
    border: 1px solid var(--border-light);
    border-radius: 12px;
    overflow: hidden;
}

.dash-table-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid var(--border-light);
}

.dash-table-header span {
    font-size: 14px;
    font-weight: 600;
}

.dash-table-header .dash-filter {
    font-size: 12px;
    font-weight: 500;
    color: var(--text-dim);
    padding: 4px 12px;
    border: 1px solid var(--border);
    border-radius: 6px;
}

.dash-table {
    width: 100%;
}

.dash-table-row {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 100px;
    padding: 12px 20px;
    align-items: center;
    border-bottom: 1px solid var(--border-light);
    font-size: 13px;
}

.dash-table-row.head {
    font-size: 11px;
    font-weight: 600;
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    background: rgba(0,0,0,0.015);
}

.dash-table-row:last-child {
    border-bottom: none;
}

.dash-cell {
    font-variant-numeric: tabular-nums;
}

.dash-cell-name {
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}

.dash-cell-icon {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 700;
    flex-shrink: 0;
}

.dash-status {
    display: inline-flex;
    padding: 3px 10px;
    border-radius: 100px;
    font-size: 11px;
    font-weight: 600;
}

.dash-status.active {
    background: #DCFCE7;
    color: #166534;
}

.dash-status.pending {
    background: #FEF3C7;
    color: #92400E;
}

.dash-status.draft {
    background: var(--surface);
    color: var(--text-muted);
}

/* ===== SECTION 2: SPEED METRICS ===== */
.metrics {
    padding: var(--section-pad) 0;
}

.metrics-label {
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-dim);
    text-align: center;
    margin-bottom: 56px;
}

.metrics-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.metric-item {
    text-align: center;
    padding: 48px 24px;
}

.metric-number {
    font-size: clamp(56px, 8vw, 88px);
    font-weight: 900;
    letter-spacing: -0.05em;
    line-height: 1;
    font-variant-numeric: tabular-nums;
    margin-bottom: 12px;
}

.metric-number .metric-unit {
    font-size: 0.45em;
    font-weight: 600;
    color: var(--text-muted);
    letter-spacing: -0.02em;
}

.metric-number .metric-highlight {
    color: var(--text);
    background: var(--accent);
    padding: 0 6px;
    border-radius: 6px;
}

.metric-desc {
    font-size: 15px;
    color: var(--text-muted);
    font-weight: 500;
    max-width: 240px;
    margin: 0 auto;
}

.metric-divider {
    width: 1px;
    background: var(--border);
    margin: 24px 0;
    justify-self: center;
}

/* ===== SECTION 3: THE ENGINE — BENTO GRID ===== */
.engine {
    padding: 0 0 clamp(48px, 6vw, 80px);
}

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

.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-dim);
    margin-bottom: 16px;
}

.section-tag::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--accent);
    border-radius: 2px;
}

.section-title {
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1.1;
    max-width: 600px;
    margin: 0 auto;
}

.bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.bento-card {
    padding: 32px 28px;
    display: flex;
    flex-direction: column;
}

.bento-card-icon {
    width: 48px;
    height: 48px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    box-shadow: inset 0 1px 0 var(--white);
}

.bento-card-icon svg {
    width: 22px;
    height: 22px;
    stroke: var(--text);
}

.bento-card h3 {
    font-size: 20px;
    font-weight: 700;
    letter-spacing: -0.03em;
    margin-bottom: 10px;
}

.bento-card p {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.6;
    flex: 1;
}

.bento-card-visual {
    margin-top: 28px;
    background: var(--white);
    border: 1px solid var(--border-light);
    border-radius: 12px;
    padding: 16px;
    min-height: 120px;
}

/* Mini chart bars in bento card */
.mini-bars {
    display: flex;
    align-items: flex-end;
    gap: 6px;
    height: 80px;
}

.mini-bar {
    flex: 1;
    background: var(--border);
    border-radius: 4px 4px 0 0;
    transition: height 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.mini-bar.highlight { background: var(--accent); }

/* Mini pipeline in bento card */
.mini-pipeline {
    display: flex;
    align-items: center;
    gap: 12px;
}

.mini-pipeline-node {
    flex: 1;
    height: 40px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 600;
    color: var(--text-muted);
}

.mini-pipeline-node:nth-child(1) { background: var(--accent); color: var(--text); }
.mini-pipeline-node:nth-child(2) { background: #e8e8e8; }
.mini-pipeline-node:nth-child(3) { background: #e0e0e0; }

.mini-pipeline-arrow {
    font-size: 12px;
    color: var(--text-dim);
    flex-shrink: 0;
}

/* Mini code block in bento card */
.mini-code {
    font-family: 'SF Mono', 'Fira Code', monospace;
    font-size: 12px;
    line-height: 1.7;
    color: var(--text-muted);
}

.mini-code .keyword { color: var(--text); font-weight: 600; }
.mini-code .string { color: #16A34A; }
.mini-code .comment { color: var(--text-dim); }

/* ===== SECTION 4: PRICING ===== */
.pricing {
    padding: clamp(48px, 6vw, 80px) 0;
}

.toggle-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    margin-bottom: 40px;
}

.toggle-container {
    display: flex;
    align-items: center;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 4px;
    box-shadow: inset 0 1px 0 var(--white);
}

.toggle-btn {
    padding: 10px 28px;
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: -0.02em;
    border: none;
    border-radius: 9px;
    cursor: pointer;
    background: transparent;
    color: var(--text-muted);
    transition: all 0.25s cubic-bezier(0.22, 1, 0.36, 1);
    position: relative;
}

.toggle-btn.active {
    background: var(--accent);
    color: var(--text);
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}

.toggle-save {
    font-size: 12px;
    font-weight: 600;
    color: #16A34A;
    margin-left: 12px;
    opacity: 0;
    transform: translateX(-8px);
    transition: all 0.3s ease;
}

.toggle-save.visible {
    opacity: 1;
    transform: translateX(0);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    align-items: start;
}

.pricing-card {
    padding: 32px 28px;
    position: relative;
}

.pricing-card.featured {
    border-color: var(--accent);
    border-width: 2px;
}

.pricing-card.featured::before {
    content: 'Most Popular';
    position: absolute;
    top: -13px;
    left: 50%;
    transform: translateX(-50%);
    padding: 4px 16px;
    background: var(--accent);
    color: var(--text);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: -0.01em;
    border-radius: 100px;
    white-space: nowrap;
}

.pricing-plan-name {
    font-size: 16px;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 4px;
}

.pricing-plan-desc {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 24px;
}

.pricing-amount {
    display: flex;
    align-items: baseline;
    gap: 4px;
    margin-bottom: 6px;
}

.pricing-currency {
    font-size: 24px;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.pricing-value {
    font-size: 56px;
    font-weight: 900;
    letter-spacing: -0.05em;
    line-height: 1;
    font-variant-numeric: tabular-nums;
    transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.pricing-period {
    font-size: 14px;
    color: var(--text-dim);
    font-weight: 500;
}

.pricing-billed {
    font-size: 13px;
    color: var(--text-dim);
    margin-bottom: 28px;
    transition: all 0.25s ease;
}

.pricing-billed.yearly-active {
    color: var(--text);
    font-weight: 600;
    background: var(--accent);
    display: inline-block;
    padding: 4px 12px;
    border-radius: 6px;
}

.pricing-card .btn-acid,
.pricing-card .btn-ghost {
    width: 100%;
    margin-bottom: 28px;
}

.pricing-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: var(--text-muted);
    font-weight: 500;
}

.pricing-features li svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    stroke: #22C55E;
}

/* ===== SECTION 7: FOOTER ===== */
.footer {
    padding: 80px 0 40px;
    border-top: 1px solid var(--border);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 64px;
}

.footer-brand-desc {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.7;
    max-width: 280px;
    margin-top: 16px;
}

.footer-col-title {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text);
    margin-bottom: 20px;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    font-size: 14px;
    color: var(--text-dim);
    font-weight: 500;
    transition: color 0.2s ease;
}

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

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 32px;
    border-top: 1px solid var(--border);
}

.footer-copy {
    font-size: 13px;
    color: var(--text-dim);
}

.footer-copy a {
    color: var(--text-muted);
}

.footer-copy a:hover {
    color: var(--text);
}

.footer-bottom-links {
    display: flex;
    gap: 24px;
    list-style: none;
}

.footer-bottom-links a {
    font-size: 13px;
    color: var(--text-dim);
    font-weight: 500;
    transition: color 0.2s ease;
}

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

/* ===== SECTION 5: FAQ ===== */
.faq {
    padding: var(--section-pad) 0;
}

.faq-list {
    max-width: 720px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-controls {
    max-width: 720px;
    margin: 0 auto 20px;
    display: flex;
    justify-content: flex-end;
    gap: 8px;
}

.faq-ctrl-btn {
    padding: 7px 16px;
    font-family: inherit;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: -0.01em;
    color: var(--text-muted);
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 8px;
    cursor: pointer;
    box-shadow: inset 0 1px 0 var(--white);
    transition: color 0.2s ease, border-color 0.2s ease;
}

.faq-ctrl-btn:hover {
    color: var(--text);
    border-color: #CCC;
}

.faq-item {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 14px;
    box-shadow: inset 0 1px 0 var(--white);
    overflow: hidden;
    transition: border-color 0.25s ease;
}

.faq-item.open {
    border-color: #CCCCCC;
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    width: 100%;
    padding: 22px 24px;
    background: none;
    border: none;
    font-family: inherit;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: -0.02em;
    color: var(--text);
    cursor: pointer;
    text-align: left;
    line-height: 1.4;
}

.faq-question:hover {
    color: var(--text);
}

.faq-icon {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1),
                background 0.2s ease;
}

.faq-item.open .faq-icon {
    transform: rotate(45deg);
    background: var(--accent);
    border-color: var(--accent);
}

.faq-icon svg {
    width: 14px;
    height: 14px;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.faq-answer-inner {
    padding: 0 24px 22px;
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.7;
}

/* ===== SECTION 6: CTA BANNER ===== */
.cta-banner {
    padding: var(--section-pad) 0;
}

.cta-banner-inner {
    background: #2A2A2A;
    border-radius: 24px;
    padding: clamp(56px, 8vw, 96px) clamp(32px, 5vw, 72px);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-banner-inner::before {
    content: '';
    position: absolute;
    top: -120px;
    right: -120px;
    width: 360px;
    height: 360px;
    background: var(--accent);
    border-radius: 50%;
    opacity: 0.08;
    filter: blur(80px);
    pointer-events: none;
}

.cta-banner-inner::after {
    content: '';
    position: absolute;
    bottom: -80px;
    left: -80px;
    width: 260px;
    height: 260px;
    background: var(--accent);
    border-radius: 50%;
    opacity: 0.06;
    filter: blur(60px);
    pointer-events: none;
}

.cta-banner-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(255,255,255,0.4);
    margin-bottom: 24px;
    position: relative;
    z-index: 1;
}

.cta-banner-tag::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--accent);
    border-radius: 2px;
}

.cta-banner h2 {
    font-size: clamp(32px, 4.5vw, 52px);
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1.1;
    color: var(--white);
    max-width: 580px;
    margin: 0 auto 16px;
    position: relative;
    z-index: 1;
}

.cta-banner p {
    font-size: 16px;
    color: rgba(255,255,255,0.5);
    max-width: 420px;
    margin: 0 auto 40px;
    line-height: 1.6;
    position: relative;
    z-index: 1;
}

.cta-banner-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    position: relative;
    z-index: 1;
}

.cta-banner .btn-acid {
    padding: 16px 40px;
    font-size: 16px;
}

.btn-dark-ghost {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 16px 40px;
    background: transparent;
    color: rgba(255,255,255,0.7);
    font-family: inherit;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: -0.02em;
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 10px;
    cursor: pointer;
    transition: transform 0.2s cubic-bezier(0.22, 1, 0.36, 1),
                color 0.2s ease,
                border-color 0.2s ease;
}

.btn-dark-ghost:hover {
    transform: translateY(-2px);
    color: var(--white);
    border-color: rgba(255,255,255,0.3);
}

/* ===== SCROLL REVEAL ===== */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
                transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .bento-grid {
        grid-template-columns: 1fr;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 440px;
        margin: 0 auto;
    }

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

@media (max-width: 768px) {
    .nav-links { display: none; }
    .nav-cta   { display: none; }
    .nav-toggle { display: flex; }

    .nav-links.open {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 64px;
        left: 0;
        right: 0;
        bottom: 0;
        height: calc(100dvh - 64px);
        background: var(--bg);
        padding: 80px 24px;
        gap: 24px;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        z-index: 999;
        border-top: 1px solid var(--border);
    }

    .nav-links.open a {
        font-size: 20px;
        font-weight: 600;
        color: var(--text);
    }

    .hero {
        padding-top: 120px;
    }

    .hero-actions {
        flex-direction: column;
    }

    .metrics-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .metric-divider {
        width: 60px;
        height: 1px;
        margin: 0 auto;
    }

    .metric-item {
        padding: 32px 24px;
    }

    .dashboard-body {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .dash-table-row {
        grid-template-columns: 2fr 1fr 1fr;
    }

    .dash-table-row .dash-cell:nth-child(4),
    .dash-table-row .dash-cell:nth-child(5) {
        display: none;
    }

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

    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }

    .cta-banner-actions {
        flex-direction: column;
    }

    .cta-banner .btn-acid,
    .btn-dark-ghost {
        width: 100%;
        max-width: 300px;
    }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }
}

/* =====================================================================
   MCW Project Tracker additions (same silver & acid system)
   ===================================================================== */
button { font-family: inherit; }
svg { flex-shrink: 0; }
main { min-height: 70vh; }

/* nav */
.nav { transition: box-shadow .25s ease; }
.nav.scrolled { box-shadow: 0 6px 24px -12px rgba(0,0,0,.12); }
.nav-inner { position: relative; height: 72px; }
.nav-logo { gap: 14px; }
.nav-logo-img img { height: 44px; width: auto; display: block; }
.nav-logo-txt { font-size: 16px; font-weight: 800; letter-spacing: -0.03em; padding-left: 14px; border-left: 1px solid var(--border); line-height: 1.15; }
.nav-links a { position: relative; padding: 6px 0; }
.nav-links a.active { color: var(--text); }
.nav-links a.active::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 3px; border-radius: 2px; background: var(--accent); }
.nav-menu-cta { display: none; }
.nav-icon { position: relative; width: 42px; height: 42px; border-radius: 10px; border: 1px solid var(--border); background: var(--white); display: grid; place-items: center; cursor: pointer; color: var(--text); transition: transform .2s cubic-bezier(.22,1,.36,1), box-shadow .2s cubic-bezier(.22,1,.36,1), border-color .2s; }
.nav-icon:hover { transform: translateY(-2px); box-shadow: 3px 3px 0 var(--text); border-color: var(--text); }
.nav-icon svg { width: 20px; height: 20px; }
.nav-icon .dot { position: absolute; top: 9px; right: 10px; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 2px #fff, 0 0 0 3px #111; display: none; }
.nav-icon .dot.on { display: block; }
.pop { position: absolute; top: calc(100% + 8px); right: var(--gap); width: 340px; max-width: calc(100vw - 32px); background: var(--white); border: 1px solid var(--border); border-radius: 16px; box-shadow: 0 24px 60px -16px rgba(0,0,0,.18); opacity: 0; transform: translateY(-6px); pointer-events: none; transition: opacity .2s, transform .2s; overflow: hidden; }
.pop.open { opacity: 1; transform: none; pointer-events: auto; }
.pop-h { padding: 16px 18px; font-weight: 700; border-bottom: 1px solid var(--border-light); display: flex; justify-content: space-between; align-items: baseline; }
.pop-h small { color: var(--text-dim); font-weight: 500; font-size: 12px; }
.pop-list { max-height: 360px; overflow: auto; }
.pop-item { display: flex; gap: 12px; padding: 12px 18px; cursor: pointer; border-bottom: 1px solid var(--border-light); }
.pop-item:hover { background: var(--bg); }
.pop-item i { width: 8px; height: 8px; border-radius: 50%; margin-top: 7px; flex: none; }
.pop-item b { display: block; font-size: 14px; font-weight: 600; line-height: 1.35; }
.pop-item span { font-size: 12.5px; color: var(--text-muted); }
.pop-body { padding: 18px; color: var(--text-muted); font-size: 14px; }

/* hero */
.hero { padding-top: 150px; }
.hero h1 { max-width: 920px; }
.hero-sub { max-width: 600px; }
.hero-dashboard::after { height: 70px; }
.dashboard-toolbar-tabs button { padding: 5px 14px; font-size: 12px; font-weight: 500; color: var(--text-dim); border-radius: 6px; border: 1px solid transparent; background: none; cursor: pointer; transition: color .2s, background .2s; }
.dashboard-toolbar-tabs button:hover { color: var(--text); }
.dashboard-toolbar-tabs button.active { background: var(--white); color: var(--text); border-color: var(--border); box-shadow: 0 1px 2px rgba(0,0,0,.04); }
.dash-live { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; color: #166534; }
.dash-live i { width: 8px; height: 8px; border-radius: 50%; background: #22C55E; animation: pulse-dot 2s ease-in-out infinite; }
.dash-stat-card, .dashboard-table-area { text-align: left; }
.dash-stat-sub { font-size: 13px; color: var(--text-muted); margin-top: 6px; }
.dash-stat-value.sm { font-size: 18px; line-height: 1.3; letter-spacing: -0.02em; }
.dash-filter { transition: border-color .2s, color .2s; }
.dash-filter:hover { color: var(--text); border-color: var(--text); }
.dash-table-row { grid-template-columns: 2.4fr 1.3fr 1fr 110px 130px; gap: 12px; }
.dash-table-row.link { cursor: pointer; transition: background .15s; }
.dash-table-row.link:hover { background: var(--bg); }
.dash-cell-name span:last-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dash-cell { min-width: 0; }
.dash-cell.num { font-weight: 600; }

/* status pills & tags */
.pill, .pf-tag { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 100px; font-size: 11.5px; font-weight: 600; white-space: nowrap; letter-spacing: -0.01em; }
.pill::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; opacity: .8; }
.st-ongoing { background: #DCFCE7; color: #166534; }
.st-scheduled { background: #E0E7FF; color: #3730A3; }
.st-awaiting { background: #FEF3C7; color: #92400E; }
.st-noactivity { background: #FEE2E2; color: #991B1B; }
.st-completed { background: var(--accent); color: var(--text); }
.st-notstated { background: var(--surface); color: var(--text-muted); box-shadow: inset 0 0 0 1px var(--border); }

/* stage bar */
.segbar { display: flex; gap: 3px; }
.segbar i { flex: 1; min-width: 10px; max-width: 22px; height: 6px; border-radius: 3px; background: #E2E2E2; }
.segbar i.on { background: var(--text); }
.segbar i.now { background: var(--accent); box-shadow: inset 0 0 0 1px #a9cc00; }

/* metrics */
.metric-number .metric-unit { font-size: .32em; margin-left: 6px; }

/* bento */
a.bento-card { color: inherit; }
.bento-card { cursor: pointer; }
.bento-card:hover { border-color: #CCC; }
.mini-bars { height: 86px; }
.mini-bar { position: relative; }
.mini-bar span { position: absolute; top: -17px; left: 0; right: 0; text-align: center; font-size: 10.5px; font-weight: 700; color: var(--text-muted); }
.bento-card-visual { padding-top: 26px; }
.mini-bar-labels { display: flex; justify-content: space-between; margin-top: 8px; font-size: 10.5px; color: var(--text-dim); font-weight: 600; text-transform: uppercase; letter-spacing: .04em; }
.bento-foot { display: flex; justify-content: space-between; align-items: center; margin-top: 20px; font-size: 14px; }
.bento-foot span { display: inline-flex; align-items: center; gap: 6px; color: var(--text-muted); font-weight: 600; transition: gap .2s, color .2s; }
.bento-card:hover .bento-foot span { gap: 10px; color: var(--text); }

/* "where every project stands" (pricing cards) */
.toggle-wrap { flex-wrap: wrap; }
.pricing-card.featured::before { content: "Most active"; }
.pricing-features li a { display: flex; align-items: center; gap: 10px; color: var(--text-muted); transition: color .2s; min-width: 0; }
.pricing-features li a:hover { color: var(--text); }
.pricing-features li a span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pricing-features li.more { color: var(--text-dim); padding-left: 28px; font-size: 13px; }
.pricing-billed.yearly-active { margin-bottom: 28px; }

/* inner pages */
.page { padding: 128px 0 clamp(64px, 8vw, 110px); }
.page-head { margin-bottom: 28px; }
.page-head .section-tag { margin-bottom: 12px; }
.page-title { font-size: clamp(34px, 4.6vw, 56px); font-weight: 800; letter-spacing: -0.045em; line-height: 1.04; max-width: 900px; }
.page-sub { color: var(--text-muted); font-size: 16px; margin-top: 12px; }
.toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 16px; }
.search-field { display: flex; align-items: center; gap: 10px; height: 48px; width: 380px; max-width: 100%; padding: 0 16px; background: var(--white); border: 1px solid var(--border); border-radius: 12px; transition: border-color .2s, box-shadow .2s; }
.search-field:focus-within { border-color: var(--text); box-shadow: 3px 3px 0 var(--text); }
.search-field svg { width: 18px; height: 18px; fill: var(--text-dim); }
.search-field input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; font: inherit; font-size: 15px; color: var(--text); letter-spacing: -0.01em; }
.sub-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.sub-chip { padding: 8px 14px; border-radius: 100px; border: 1px solid var(--border); background: var(--surface); box-shadow: inset 0 1px 0 var(--white); font-size: 13px; font-weight: 600; color: var(--text-muted); cursor: pointer; transition: all .2s cubic-bezier(.22,1,.36,1); }
.sub-chip b { color: var(--text-dim); margin-left: 4px; }
.sub-chip:hover { color: var(--text); border-color: #ccc; }
.sub-chip.active { background: var(--text); border-color: var(--text); color: var(--white); }
.sub-chip.active b { color: var(--accent); }
.pgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; }
.pcard { padding: 24px; display: flex; flex-direction: column; gap: 10px; cursor: pointer; outline: none; }
.pcard:hover, .pcard:focus-visible { border-color: #C8C8C8; box-shadow: inset 0 1px 0 var(--white), 0 16px 36px -18px rgba(0,0,0,.22); }
.pc-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-bottom: 4px; }
.pcard h3 { font-size: 18px; font-weight: 700; letter-spacing: -0.03em; line-height: 1.28; }
.loc { display: flex; align-items: center; gap: 6px; color: var(--text-muted); font-size: 14px; }
.loc svg { width: 15px; height: 15px; fill: var(--text-dim); }
.pc-amt { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; background: var(--white); border: 1px solid var(--border-light); border-radius: 10px; padding: 10px 14px; }
.pc-amt span { font-size: 11px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--text-dim); }
.pc-amt b { font-size: 16px; font-weight: 800; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.pc-stage { margin-top: auto; padding-top: 8px; display: flex; flex-direction: column; gap: 8px; }
.pc-stage span { font-size: 12.5px; font-weight: 600; color: var(--text-muted); }
.empty { padding: 48px 24px; text-align: center; color: var(--text-muted); }

/* map */
.map-card { padding: 0; overflow: hidden; }
.map-card:hover { transform: none; }
#bigmap { height: min(640px, 70vh); }
.leaflet-container { background: #d5e1ea; font-family: inherit; }
.map-legend { display: flex; flex-wrap: wrap; gap: 8px 20px; padding: 14px 20px; border-top: 1px solid var(--border); font-size: 13px; color: var(--text-muted); font-weight: 500; }
.map-legend span { display: inline-flex; align-items: center; gap: 8px; }
.map-legend i { width: 10px; height: 10px; border-radius: 50%; }
.map-legend i.lg-pin { width: 16px; height: 16px; background: var(--text); box-shadow: inset 0 0 0 4px var(--text), inset 0 0 0 8px var(--accent); }
.isl-wrap { display: flex; flex-direction: column; align-items: center; }
.isl-pin { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--text); color: var(--accent); font-weight: 800; font-size: 16px; border: 3px solid #fff; box-shadow: 0 6px 16px rgba(0,0,0,.28); cursor: pointer; transition: transform .2s cubic-bezier(.3,1.5,.5,1); }
.isl-pin svg { fill: var(--accent); }
.isl-pin:hover { transform: scale(1.1); }
.isl-pin.lg { width: 56px; height: 56px; font-size: 20px; }
.isl-pin.sm { width: 18px; height: 18px; border-width: 2px; }
.isl-lab { margin-top: 6px; padding: 3px 9px; border-radius: 100px; background: rgba(17,17,17,.86); color: #fff; font-size: 12px; font-weight: 700; white-space: nowrap; }
.leaflet-popup-content-wrapper { border-radius: 14px; box-shadow: 0 20px 50px -12px rgba(0,0,0,.3); }
.leaflet-popup-content { margin: 0; width: auto !important; }
.mpop-head { padding: 14px 16px; font-weight: 700; font-size: 14px; border-bottom: 1px solid var(--border-light); }
.mpop-list { max-height: 300px; overflow: auto; }
.mpop-item { display: flex; align-items: center; gap: 10px; padding: 10px 16px; cursor: pointer; border-bottom: 1px solid var(--border-light); }
.mpop-item:hover { background: var(--bg); }
.mpop-item > div { flex: 1; min-width: 0; }
.mpop-item b { display: block; font-size: 13.5px; font-weight: 600; line-height: 1.3; }
.mpop-item span { font-size: 12px; color: var(--text-muted); }
.mpop-item > svg { width: 16px; height: 16px; fill: var(--text-dim); }

/* project page */
.crumbs { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--text-dim); margin-bottom: 24px; }
.crumbs a { display: inline-flex; align-items: center; gap: 4px; font-weight: 600; color: var(--text-muted); }
.crumbs a:hover { color: var(--text); }
.crumbs svg { width: 18px; height: 18px; fill: currentColor; }
.ph { display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: end; margin-bottom: 32px; }
.ph .section-tag { margin-bottom: 12px; }
.ph .loc { margin-top: 14px; font-size: 15px; }
.ph-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.ph-photo { width: 360px; border-radius: 16px; overflow: hidden; border: 1px solid var(--border); margin: 0; background: var(--surface); }
.ph-photo img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.ph-photo figcaption { font-size: 12px; color: var(--text-dim); padding: 8px 12px; }
.kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 16px; margin-bottom: 20px; }
.tabs-wrap { margin: 28px 0 16px; overflow-x: auto; }
.tabs { display: inline-flex; background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 4px; box-shadow: inset 0 1px 0 var(--white); }
.tabs button { padding: 9px 20px; font-size: 14px; font-weight: 600; }
.tab-body { animation: fadeUp .35s cubic-bezier(.22,1,.36,1); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.two { display: grid; grid-template-columns: 1.4fr 1fr; gap: 20px; align-items: start; }
.panel { padding: 28px; }
.panel:hover, .journey:hover, .kpis .dash-stat-card:hover { transform: none; }
.panel h3 { font-size: 18px; font-weight: 700; letter-spacing: -0.03em; margin-bottom: 14px; }
.ptext { font-size: 15.5px; color: var(--text-muted); line-height: 1.7; }
.ptext + .ptext { margin-top: 12px; }
.note { font-size: 13px; color: var(--text-dim); margin-top: 12px; }
.kinfo > div { display: grid; grid-template-columns: 150px 1fr; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--border); }
.kinfo > div:last-child { border-bottom: 0; }
.kinfo dt { font-size: 12px; font-weight: 600; color: var(--text-dim); text-transform: uppercase; letter-spacing: .05em; padding-top: 2px; }
.kinfo dd { font-size: 15px; font-weight: 600; margin: 0; }
.kinfo dd.big { font-size: 26px; font-weight: 800; letter-spacing: -0.03em; }
.share-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.btn-ghost.sm, .btn-acid.sm { padding: 10px 18px; font-size: 14px; }
.btn-ghost { background: var(--white); }
.minimap { height: 380px; border-radius: 12px; overflow: hidden; border: 1px solid var(--border); }
.doc-list { display: flex; flex-direction: column; gap: 8px; }
.doc { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid var(--border); border-radius: 12px; background: var(--white); }
.doc div { flex: 1; min-width: 0; } .doc b { display: block; font-size: 14px; } .doc span { font-size: 12.5px; color: var(--text-muted); }
.doc svg { width: 20px; height: 20px; fill: var(--text-muted); }
.legend-list > div { display: flex; align-items: center; gap: 12px; padding: 9px 0; font-size: 14px; color: var(--text-muted); border-bottom: 1px solid var(--border); }
.legend-list > div:last-child { border-bottom: 0; }
.legend-list .pill { min-width: 132px; justify-content: center; }
.update { margin-top: 22px; padding: 14px 18px; border-left: 3px solid var(--text); background: var(--white); border-radius: 0 12px 12px 0; font-size: 15px; line-height: 1.6; }
.update small { display: block; font-size: 11.5px; font-weight: 600; color: var(--text-dim); text-transform: uppercase; letter-spacing: .05em; margin-bottom: 4px; }
.faq-answer-inner b { color: var(--text); font-weight: 600; }

/* footer */
.footer-logo img { height: 54px; width: auto; }
.footer-text li { font-size: 14px; color: var(--text-dim); font-weight: 500; }

/* misc */
.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 20px); background: var(--text); color: #fff; padding: 12px 18px; border-radius: 10px; font-size: 14px; font-weight: 600; opacity: 0; pointer-events: none; transition: all .25s; z-index: 2000; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.loading { padding: 200px 24px; text-align: center; color: var(--text-muted); }
.spinner { width: 32px; height: 32px; margin: 0 auto 14px; border-radius: 50%; border: 3px solid var(--border); border-top-color: var(--text); animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.error-box { padding: 28px; color: #991B1B; }

/* ---------- project journey ---------- */
.journey { --jr-done: var(--text); --jr-fill: var(--accent); --jr-band: #E9E9E9; --jr-next: #DEDEDE; --jr-flag: #22C55E; padding: 28px; margin-bottom: 8px; }
.jr-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.jr-head h3 { font-size: 18px; font-weight: 700; letter-spacing: -0.03em; }
.jr-now { font-size: 12.5px; font-weight: 700; background: var(--accent); color: var(--text); padding: 5px 12px; border-radius: 100px; }
.jr { position: relative; display: grid; grid-template-columns: repeat(6, 1fr); padding-top: 92px; margin-top: 4px; }
.jr-band, .jr-fill { position: absolute; border-radius: 999px; }
.jr-band { top: 132px; height: 52px; left: calc(100% / 12 - 30px); right: calc(100% / 12 - 30px); background: var(--jr-band); box-shadow: inset 0 1px 2px rgba(0,0,0,.05); }
.jr-fill { top: 146px; height: 24px; left: calc(100% / 12 - 30px); width: 0; background: var(--jr-fill); box-shadow: inset 0 0 0 1px rgba(0,0,0,.06); z-index: 1; transition: width 1.1s cubic-bezier(.2,.7,.2,1) .2s; }
.journey.in .jr-fill { width: calc(var(--F) * (100% * 5 / 6) + 30px); }
.jr-flag { position: absolute; top: 0; height: 158px; border-left: 1.5px solid var(--jr-flag); padding-left: 10px; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; z-index: 1; opacity: 0; transition: opacity .4s 1.1s; }
.journey.in .jr-flag { opacity: 1; }
.jr-flag::after { content: ""; position: absolute; left: -7px; bottom: -6px; width: 12px; height: 12px; border-radius: 50%; background: var(--jr-flag); box-shadow: 0 0 0 3px #fff; }
.jr-flag.rt { border-left: 0; border-right: 1.5px solid var(--jr-flag); padding: 0 10px 0 0; align-items: flex-end; transform: translateX(-100%); }
.jr-flag.rt::after { left: auto; right: -7px; }
.jr-fdate { font-weight: 800; font-size: 14px; color: var(--text); text-transform: uppercase; white-space: nowrap; letter-spacing: -0.01em; }
.jr-ftag { width: 38px; height: 18px; background: var(--jr-flag); clip-path: polygon(0 0, 100% 0, 72% 50%, 100% 100%, 0 100%); }
.jr-flag.rt .jr-ftag { transform: scaleX(-1); }
.jr-flab { font-size: 13px; font-weight: 600; color: var(--text-muted); white-space: nowrap; }
.jr-node { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; text-align: center; padding: 0 6px; }
.jr-date { height: 30px; margin-bottom: 10px; display: flex; align-items: flex-end; font-weight: 800; font-size: 14px; color: var(--text); text-transform: uppercase; letter-spacing: -0.01em; white-space: nowrap; }
.jr-node.next .jr-date { color: var(--text-dim); font-weight: 700; }
.jr-node.now .jr-date span, .jr-node.now .jr-date { color: var(--text); }
.jr-dot { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--jr-done); transform: scale(.6); opacity: 0; transition: transform .45s cubic-bezier(.3,1.5,.5,1), opacity .3s; }
.journey.in .jr-dot { transform: none; opacity: 1; }
.jr-node:nth-child(4) .jr-dot { transition-delay: .05s; } .jr-node:nth-child(5) .jr-dot { transition-delay: .15s; } .jr-node:nth-child(6) .jr-dot { transition-delay: .25s; }
.jr-node:nth-child(7) .jr-dot { transition-delay: .35s; } .jr-node:nth-child(8) .jr-dot { transition-delay: .45s; } .jr-node:nth-child(9) .jr-dot { transition-delay: .55s; }
.jr-dot svg { width: 26px; height: 26px; fill: var(--accent); }
.jr-node.now .jr-dot { background: var(--accent); box-shadow: 0 0 0 3px var(--text); }
.jr-node.next .jr-dot { background: var(--jr-next); }
.jr-node.next .jr-dot svg { fill: #A8A8A8; }
.jr-dot i { width: 16px; height: 16px; border-radius: 50%; background: var(--text); animation: jrPulse 1.8s ease-out infinite; }
@keyframes jrPulse { 0% { box-shadow: 0 0 0 0 rgba(17,17,17,.55); } 100% { box-shadow: 0 0 0 14px rgba(17,17,17,0); } }
.jr-stem { width: 1.5px; height: 34px; background: var(--text); opacity: .7; }
.jr-node.next .jr-stem { background: #CFCFCF; opacity: 1; }
.jr-txt b { display: block; font-size: 15.5px; font-weight: 700; letter-spacing: -0.02em; margin: 8px 0 6px; line-height: 1.25; }
.jr-txt span { display: block; font-size: 12.5px; color: var(--text-muted); line-height: 1.5; }
.jr-node.next .jr-txt b { color: var(--text-dim); }
.jr-node.next .jr-txt span { color: #B0B0B0; }
.jr-flag-m { display: none; }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .nav-links { gap: 26px; }
  .nav-logo-txt { display: none; }
}
@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-explore { display: none; }
  .nav-toggle { display: flex; }
  .nav-cta { display: flex; }
  .nav-links.open { display: flex; flex-direction: column; align-items: flex-start; position: fixed; top: 72px; left: 0; right: 0; height: calc(100dvh - 72px); background: var(--bg); padding: 48px 24px; gap: 26px; overflow-y: auto; z-index: 999; border-top: 1px solid var(--border); animation: fadeUp .3s cubic-bezier(.22,1,.36,1); }
  .nav-links.open a { font-size: 26px; font-weight: 700; color: var(--text); letter-spacing: -0.03em; }
  .nav-links.open .nav-menu-cta { display: block; margin-top: 12px; width: 100%; }
  .nav-links.open .nav-menu-cta a { width: 100%; font-size: 16px; padding: 16px; }
  .nav-links.open .nav-menu-cta a::after { display: none; }
  .two { grid-template-columns: 1fr; }
  .ph { grid-template-columns: 1fr; }
  .ph-photo { width: 100%; }
}
@media (max-width: 768px) {
  .nav-cta { display: flex; }
  .nav-logo-txt { display: inline; font-size: 14px; padding-left: 12px; }
  .nav-logo-img img { height: 38px; }
  .hero { padding-top: 116px; }
  .hero-actions { flex-direction: column; align-items: stretch; max-width: 320px; margin-left: auto; margin-right: auto; }
  .dashboard-toolbar { gap: 8px; padding: 12px 14px; }
  .dashboard-dots { display: none; }
  .dashboard-toolbar-tabs { overflow-x: auto; }
  .dash-table-row { grid-template-columns: 1fr auto; padding: 12px 14px; }
  .dash-table-row .dash-cell:nth-child(2), .dash-table-row .dash-cell:nth-child(3), .dash-table-row .dash-cell:nth-child(4) { display: none; }
  .dash-table-row .dash-cell:nth-child(5) { display: block; }
  .dash-cell-name span:last-child { white-space: normal; }
  .page { padding-top: 104px; }
  .toolbar { flex-direction: column; align-items: stretch; }
  .toggle-container { overflow-x: auto; }
  .toggle-btn { padding: 10px 18px; flex: 1; white-space: nowrap; }
  .search-field { width: 100%; }
  .pgrid { grid-template-columns: 1fr; gap: 14px; }
  .pcard { padding: 20px; }
  #bigmap { height: 460px; }
  .kpis { grid-template-columns: 1fr 1fr; gap: 12px; }
  .kpis .dash-stat-card { padding: 16px; }
  .kpis .dash-stat-value { font-size: 20px; }
  .kpis .dash-stat-value.sm { font-size: 15px; }
  .kinfo > div { grid-template-columns: 1fr; gap: 4px; }
  .panel, .journey { padding: 20px; }
  .tabs { display: flex; width: max-content; }
  .pricing-grid { max-width: none; }
  .mini-bar-labels span:nth-child(2) { display: none; }
}
@media (max-width: 760px) {
  .jr { display: block; padding-top: 0; margin-top: 20px; }
  .jr-band, .jr-fill, .jr-flag { display: none; }
  .jr-node { display: grid; grid-template-columns: 44px 1fr; column-gap: 14px; align-items: start; text-align: left; padding: 0 0 18px; }
  .jr-node::before { content: ""; position: absolute; left: 20px; top: 44px; bottom: 0; width: 5px; border-radius: 3px; background: var(--jr-band); }
  .jr-node.done::before { background: var(--text); }
  .jr-node.now::before { background: linear-gradient(var(--accent) 45%, var(--jr-band) 45%); }
  .jr-node:last-of-type::before { display: none; }
  .jr-dot { grid-column: 1; grid-row: 1 / span 3; width: 44px; height: 44px; }
  .jr-dot svg { width: 22px; height: 22px; }
  .jr-dot i { width: 13px; height: 13px; }
  .jr-date { grid-column: 2; height: auto; margin: 2px 0 0; font-size: 12px; }
  .jr-stem { display: none; }
  .jr-txt { grid-column: 2; }
  .jr-txt b { margin: 2px 0 3px; font-size: 15px; }
  .jr-flag-m { grid-column: 2; display: flex; align-items: center; gap: 8px; margin-top: 8px; padding: 6px 10px; border-left: 2px solid var(--jr-flag); background: #F0FDF4; border-radius: 0 8px 8px 0; width: fit-content; }
  .jr-flag-m .jr-fdate { font-size: 12px; }
  .jr-flag-m .jr-ftag { width: 22px; height: 12px; }
  .jr-flag-m .jr-flab { font-size: 12px; }
}
@media (max-width: 380px) {
  .nav-logo-txt { display: none; }
}
@media (prefers-reduced-motion: reduce) { .jr-dot i, .dash-live i { animation: none; } }
.nav-icon .dot { background: #22C55E; box-shadow: 0 0 0 2px #fff; }
@media (max-width: 768px) {
  .dash-live { display: none; }
  .dashboard-body { grid-template-columns: repeat(3, 1fr); gap: 8px; padding: 12px; }
  .dash-stat-card { padding: 12px; }
  .dash-stat-label { font-size: 10px; letter-spacing: .03em; margin-bottom: 4px; }
  .dash-stat-value { font-size: 22px; }
  .dashboard-body > .dash-stat-card .dash-stat-change { display: none; }
  .kpis .dash-stat-label { font-size: 11px; }
}

/* =====================================================================
   Entrance carousel
   ===================================================================== */
.car-wrap { padding-top: 96px; }
.carousel { position: relative; height: clamp(540px, 74vh, 640px); border-radius: 24px; overflow: hidden; background: #2A2A2A; box-shadow: 0 30px 70px -30px rgba(0,0,0,.35); isolation: isolate; }
.car-slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .9s cubic-bezier(.22,1,.36,1), visibility .9s; }
.car-slide.on { opacity: 1; visibility: visible; z-index: 1; }
.car-bg { position: absolute; inset: 0; background-size: cover; background-position: center; transform: scale(1.08); transition: transform 7.5s linear; }
.car-slide.on .car-bg { transform: scale(1); }
.car-slide::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(17,17,17,.9) 0%, rgba(17,17,17,.62) 46%, rgba(17,17,17,.12) 100%), linear-gradient(0deg, rgba(17,17,17,.55), transparent 40%); z-index: 0; }
.car-slide.plain::after { background: radial-gradient(circle at 85% 15%, rgba(212,255,0,.14), transparent 40%), radial-gradient(circle at 10% 100%, rgba(212,255,0,.08), transparent 45%), linear-gradient(90deg, rgba(42,42,42,.96) 30%, rgba(42,42,42,.35)); }
.car-geo { position: absolute; top: 0; bottom: 0; right: -4%; width: 72%; }
.car-geo .geo { width: 100%; height: 100%; }
.car-inner { position: relative; z-index: 2; height: 100%; display: flex; flex-direction: column; justify-content: center; padding: clamp(28px, 5vw, 72px); max-width: 780px; color: #fff; }
.car-inner > * { opacity: 0; transform: translateY(16px); transition: opacity .7s cubic-bezier(.22,1,.36,1), transform .7s cubic-bezier(.22,1,.36,1); }
.car-slide.on .car-inner > * { opacity: 1; transform: none; }
.car-slide.on .car-inner > :nth-child(2) { transition-delay: .08s; } .car-slide.on .car-inner > :nth-child(3) { transition-delay: .16s; }
.car-slide.on .car-inner > :nth-child(4) { transition-delay: .24s; } .car-slide.on .car-inner > :nth-child(5) { transition-delay: .32s; }
.car-badge { display: inline-flex; align-items: center; gap: 8px; width: fit-content; padding: 6px 16px 6px 10px; border-radius: 100px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); color: rgba(255,255,255,.82); font-size: 13px; font-weight: 500; margin-bottom: 24px; backdrop-filter: blur(8px); }
.car-inner h1 { font-size: clamp(36px, 5.4vw, 68px); font-weight: 800; letter-spacing: -0.045em; line-height: 1.03; margin-bottom: 20px; }
.car-inner h1 .accent-word { background: var(--accent); color: var(--text); padding: 0 10px; border-radius: 8px; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.car-inner p { font-size: clamp(15px, 1.6vw, 18px); color: rgba(255,255,255,.74); max-width: 560px; line-height: 1.6; }
.car-stats { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.car-stats span { padding: 6px 14px; border-radius: 100px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12); font-size: 13px; color: rgba(255,255,255,.75); }
.car-stats b { color: #fff; font-weight: 800; }
.car-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.car-actions .btn-dark-ghost { padding: 14px 28px; font-size: 15px; }
.car-credit { position: absolute; left: clamp(28px, 5vw, 72px); bottom: 24px; z-index: 2; font-size: 12px; color: rgba(255,255,255,.55); }
.car-ctrl { position: absolute; right: 24px; bottom: 20px; z-index: 3; display: flex; align-items: center; gap: 12px; }
.car-arrow { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18); color: #fff; cursor: pointer; backdrop-filter: blur(8px); transition: background .2s, color .2s, transform .2s; }
.car-arrow svg { width: 20px; height: 20px; fill: currentColor; }
.car-arrow:hover { background: var(--accent); color: var(--text); transform: translateY(-2px); }
.car-dots { display: flex; gap: 6px; }
.car-dots button { width: 30px; height: 4px; border-radius: 2px; border: 0; padding: 0; background: rgba(255,255,255,.25); cursor: pointer; overflow: hidden; }
.car-dots button i { display: block; height: 100%; width: 0; background: var(--accent); }
.car-dots button.on i { animation: dotFill 6.5s linear forwards; }
.carousel.paused .car-dots button.on i { animation-play-state: paused; }
@keyframes dotFill { to { width: 100%; } }

/* =====================================================================
   Place pictures / location maps
   ===================================================================== */
.media { position: relative; overflow: hidden; background: #1F1F1F; aspect-ratio: 16 / 9; }
.media .geo { position: absolute; inset: 0; width: 100%; height: 100%; }
.geo path.vi { fill: #3A3A3A; stroke: #4B4B4B; stroke-width: 1.4; }
.geo path.us { fill: #2B2B2B; stroke: #333; stroke-width: 1; }
.geo path.on { fill: var(--accent); stroke: #A9CC00; stroke-width: 1.6; }
.geo .pin { fill: #111; stroke: var(--accent); stroke-width: 4; }
.media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.22,1,.36,1); }
.pcard:hover .media img, .bento-card:hover .media img { transform: scale(1.04); }
.media-cap { position: absolute; left: 12px; bottom: 12px; z-index: 1; display: inline-flex; align-items: center; gap: 6px; max-width: calc(100% - 24px); padding: 5px 11px 5px 9px; border-radius: 100px; background: rgba(17,17,17,.8); color: #fff; font-size: 12px; font-weight: 600; letter-spacing: -0.01em; backdrop-filter: blur(6px); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.media-cap svg { width: 13px; height: 13px; fill: var(--accent); }
.media-kind { position: absolute; top: 12px; right: 12px; z-index: 1; font-size: 10.5px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: rgba(255,255,255,.75); background: rgba(17,17,17,.55); padding: 3px 8px; border-radius: 100px; }
.pcard { overflow: hidden; }
.pc-media { margin: -24px -24px 8px; }
.bento-card { overflow: hidden; }
.bento-media { margin: -32px -28px 24px; aspect-ratio: 16 / 8; }
.ph-photo { width: 440px; border-radius: 16px; border: 1px solid var(--border); aspect-ratio: 16 / 10; }

/* =====================================================================
   Overall progress tracker (Gantt-style)
   ===================================================================== */
.tracker-sec { padding: var(--section-pad) 0 0; }
.section-sub { color: var(--text-muted); max-width: 640px; margin: 16px auto 0; font-size: 16px; }
.more-row { text-align: center; margin-top: 24px; }
.tool-group { display: flex; flex-wrap: wrap; gap: 12px; }
.tracker { padding: 0; overflow: hidden; }
.tracker:hover { transform: none; }
.tk-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px; padding: 20px 24px; border-bottom: 1px solid var(--border); }
.tk-kpis { display: flex; flex-wrap: wrap; gap: 14px 36px; }
.tk-kpis span { display: block; font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; color: var(--text-dim); }
.tk-kpis b { display: block; font-size: 26px; font-weight: 800; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; line-height: 1.2; }
.tk-kpis small { display: block; font-size: 12px; color: var(--text-muted); }
.tk-prog { width: 150px; height: 6px; border-radius: 3px; background: #E2E2E2; margin-top: 6px; overflow: hidden; }
.tk-prog i { display: block; height: 100%; background: var(--text); border-radius: 3px; }
.tk-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.tk-tools .toggle-btn { padding: 8px 16px; font-size: 13px; }
.tk-scroll { overflow-x: auto; background: var(--white); -webkit-overflow-scrolling: touch; }
.tk { --tkL: 360px; --tkA: 150px; position: relative; min-width: 1000px; }
.tk-row { position: relative; z-index: 1; display: grid; grid-template-columns: var(--tkL) var(--tkA) 1fr; align-items: stretch; min-height: 46px; border-bottom: 1px solid var(--border-light); }
.tk-row > div { display: flex; align-items: center; min-width: 0; }
.tk-head { min-height: 60px; border-bottom: 1px solid var(--border); }
.tk-head > .tk-name, .tk-head > .tk-amt { font-size: 11px; font-weight: 600; color: var(--text-dim); text-transform: uppercase; letter-spacing: .05em; }
.tk-stages { display: grid !important; grid-template-columns: repeat(6, 1fr); }
.tk-stages div { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 0 4px; }
.tk-stages small { font-size: 10.5px; font-weight: 600; color: var(--text-dim); text-transform: uppercase; letter-spacing: .05em; }
.tk-stages b { font-size: 13px; font-weight: 700; letter-spacing: -0.02em; }
.tk-cols { position: absolute; top: 0; bottom: 0; left: calc(var(--tkL) + var(--tkA)); right: 0; display: grid; grid-template-columns: repeat(6, 1fr); pointer-events: none; z-index: 0; }
.tk-cols i { border-left: 1px solid var(--border-light); }
.tk-cols i:nth-child(even) { background: repeating-linear-gradient(135deg, rgba(0,0,0,.022) 0 6px, transparent 6px 12px); }
.tk-name { gap: 8px; padding: 0 16px; position: sticky; left: 0; z-index: 3; background: var(--white); border-right: 1px solid var(--border-light); }
.tk-t { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tk-pc { font-size: 12.5px; font-weight: 600; color: var(--text-muted); font-variant-numeric: tabular-nums; min-width: 38px; text-align: right; }
.tk-n { font-size: 11px; font-weight: 700; color: var(--text-muted); background: var(--surface); border: 1px solid var(--border); padding: 1px 8px; border-radius: 100px; }
.tk-chev { width: 24px; height: 24px; display: grid; place-items: center; border: 0; background: none; padding: 0; cursor: pointer; transition: transform .25s cubic-bezier(.22,1,.36,1); }
.tk-chev svg { width: 18px; height: 18px; fill: var(--text); }
.tk-chev.open { transform: rotate(90deg); }
.tk-dot { width: 10px; height: 10px; border-radius: 3px; }
.tk-g0, .tk-g1 { cursor: pointer; }
.tk-g0 { min-height: 54px; }
.tk-g0 .tk-t { font-size: 15px; font-weight: 700; letter-spacing: -0.02em; }
.tk-g1 .tk-name { padding-left: 34px; }
.tk-g1 .tk-t { font-size: 14.5px; font-weight: 700; }
.tk-g2 { cursor: pointer; }
.tk-g2 .tk-name { padding-left: 56px; }
.tk-g2 .tk-t { font-size: 13.5px; font-weight: 600; }
.tk-g2:hover .tk-name { background: var(--bg); }
.tk-p { cursor: pointer; outline: none; animation: fadeUp .3s cubic-bezier(.22,1,.36,1) both; }
.tk-p .tk-name { padding-left: 90px; }
.tk-p .tk-t { font-size: 13.5px; color: var(--text-muted); font-weight: 500; }
.tk-p:hover .tk-name, .tk-p:focus-visible .tk-name { background: var(--bg); }
.tk-p:hover .tk-t { color: var(--text); }
.tk-g0:hover .tk-name, .tk-g1:hover .tk-name { background: var(--bg); }
.tk-amt { flex-direction: column; align-items: flex-start !important; justify-content: center; padding: 0 14px; font-size: 13px; background: rgba(255,255,255,.7); }
.tk-amt b { font-size: 14px; font-weight: 700; font-variant-numeric: tabular-nums; letter-spacing: -0.02em; }
.tk-amt small { font-size: 11px; color: var(--text-dim); }
.tk-amt small.dim { font-style: italic; }
.tk-track { position: relative; }
.tk-sum { position: absolute; top: 50%; transform: translateY(-50%); height: 30px; border: 1px solid #D6D6D6; background: var(--white); border-radius: 10px; overflow: hidden; display: flex; align-items: center; justify-content: center; box-shadow: 0 1px 2px rgba(0,0,0,.05); margin: 0 4px; }
.tk-sum { left: 0; justify-content: space-between; }
.tk-sum.lvl0 { height: 34px; border-color: #BDBDBD; }
.tk-sum.lvl0 .tk-sum-fill { background: var(--accent); }
.tk-sum.lvl2 { height: 22px; border-radius: 7px; }
.tk-sum-pc { position: relative; font-size: 11.5px; font-weight: 700; padding: 0 10px; color: var(--text-muted); }
.tk-sum-fill { position: absolute; left: 0; top: 0; bottom: 0; background: rgba(212,255,0,.6); transition: width .8s cubic-bezier(.22,1,.36,1); }
.tk-sum-lab { position: relative; font-size: 12.5px; font-weight: 600; white-space: nowrap; padding: 0 10px; overflow: hidden; text-overflow: ellipsis; }
.tk-sum.lvl2 .tk-sum-lab, .tk-sum.lvl2 .tk-sum-pc { font-size: 11.5px; }
.tk-bar { position: absolute; left: 4px; top: 50%; transform: translateY(-50%); height: 30px; max-width: calc(100% - 8px); border-radius: 10px; display: flex; align-items: center; gap: 8px; padding: 0 10px 0 4px; font-size: 12.5px; font-weight: 600; white-space: nowrap; overflow: hidden; box-shadow: 0 1px 2px rgba(0,0,0,.08); transform-origin: left center; animation: barIn .6s cubic-bezier(.22,1,.36,1) both; }
@keyframes barIn { from { clip-path: inset(0 100% 0 0 round 10px); } to { clip-path: inset(0 0 0 0 round 10px); } }
.tk-bar::after { content: ""; position: absolute; right: 0; top: 0; bottom: 0; width: var(--cur); background: repeating-linear-gradient(135deg, rgba(255,255,255,.42) 0 6px, transparent 6px 12px); pointer-events: none; }
.tk-bar.st-ongoing { background: #4ADE80; color: #052E16; }
.tk-bar.st-scheduled { background: #818CF8; color: #fff; }
.tk-bar.st-awaiting { background: #FBBF24; color: #3B2400; }
.tk-bar.st-noactivity { background: #F87171; color: #fff; }
.tk-bar.st-completed { background: var(--accent); color: var(--text); }
.tk-bar.st-notstated { background: #D4D4D4; color: #333; }
.tk-bar.st-completed::before, .tk-bar.st-notstated::before { display: none; }
.tk-av { width: 22px; height: 22px; border-radius: 50%; flex: none; display: grid; place-items: center; font-size: 10.5px; font-weight: 800; background: #fff !important; border: 1.5px solid rgba(255,255,255,.9); }
.tk-bl { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; position: relative; z-index: 1; }
.tk-st { font-size: 11px; font-weight: 800; opacity: .75; position: relative; z-index: 1; }
.tk-ms { position: absolute; top: 50%; width: 16px; height: 16px; margin-top: -8px; transform: rotate(45deg); border: 2px solid #A5A5A5; background: var(--white); border-radius: 3px; z-index: 2; }
.tk-ms.hit { background: var(--text); border-color: var(--text); box-shadow: inset 0 0 0 3px var(--accent); }
.tk-legend { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; padding: 14px 24px; border-top: 1px solid var(--border); font-size: 12.5px; color: var(--text-muted); font-weight: 500; }
.tk-legend span { display: inline-flex; align-items: center; gap: 7px; }
.tk-legend i { width: 12px; height: 12px; border-radius: 3px; }
.tk-legend i.st-ongoing { background: #4ADE80; } .tk-legend i.st-scheduled { background: #818CF8; } .tk-legend i.st-awaiting { background: #FBBF24; }
.tk-legend i.st-noactivity { background: #F87171; } .tk-legend i.st-completed { background: var(--accent); box-shadow: inset 0 0 0 1px #A9CC00; } .tk-legend i.st-notstated { background: #D4D4D4; }
.tk-legend i.ms { width: 10px; height: 10px; transform: rotate(45deg); border: 2px solid #A5A5A5; border-radius: 2px; background: #fff; }
.tk-note { margin-left: auto; color: var(--text-dim); }

@media (max-width: 768px) {
  .car-wrap { padding-top: 84px; }
  .car-wrap .container { padding: 0 12px; }
  .carousel { height: 640px; border-radius: 20px; }
  .car-inner { justify-content: flex-end; padding: 28px 22px 84px; }
  .car-slide::after { background: linear-gradient(0deg, rgba(17,17,17,.94) 0%, rgba(17,17,17,.7) 50%, rgba(17,17,17,.25) 100%); }
  .car-geo { width: 140%; right: -20%; top: -10%; bottom: 40%; }
  .car-badge { font-size: 12px; margin-bottom: 16px; }
  .car-actions { flex-direction: column; align-items: stretch; }
  .car-actions a { justify-content: center; }
  .car-credit { left: auto; right: 18px; top: 16px; bottom: auto; font-size: 11px; max-width: 60%; text-align: right; }
  .car-ctrl { left: 22px; right: 22px; bottom: 22px; justify-content: space-between; }
  .pc-media { margin: -20px -20px 6px; }
  .ph-photo { width: 100%; }
  .tk { --tkL: 210px; --tkA: 112px; min-width: 780px; }
  .tk-name { padding: 0 10px; }
  .tk-g1 .tk-name { padding-left: 20px; }
  .tk-g2 .tk-name { padding-left: 32px; }
  .tk-p .tk-name { padding-left: 46px; }
  .tk-pc { min-width: 32px; font-size: 11.5px; }
  .tk-n { display: none; }
  .tk-bl { display: none; }
  .tk-kpis b { font-size: 21px; }
  .tk-top { padding: 16px; }
  .tk-tools { width: 100%; }
  .tk-tools .toggle-container { flex: 1 1 100%; }
  .tk-note { margin-left: 0; }
}
@media (max-width: 768px) {
  .tk { min-width: 0; --tkL: 1fr; }
  .tk-row { grid-template-columns: 1fr 40%; grid-template-areas: "n t" "a t"; min-height: 0; }
  .tk-row > .tk-name { grid-area: n; position: static; border-right: 0; padding-top: 10px; background: transparent; }
  .tk-row > .tk-amt { grid-area: a; padding: 0 10px 10px 42px; background: transparent; flex-direction: row; align-items: baseline !important; gap: 6px; justify-content: flex-start; }
  .tk-g1 > .tk-amt { padding-left: 52px; } .tk-g2 > .tk-amt { padding-left: 64px; } .tk-p > .tk-amt { padding-left: 46px; }
  .tk-p > .tk-amt:empty { display: none; }
  .tk-row > .tk-track { grid-area: t; }
  .tk-amt b { font-size: 12.5px; } .tk-amt small { font-size: 10.5px; }
  .tk-head { grid-template-areas: "n t"; }
  .tk-head > .tk-amt { display: none !important; }
  .tk-stages b { display: none; }
  .tk-stages small { font-size: 10px; }
  .tk-cols { left: 60%; }
  .tk-sum-lab { display: none; }
  .tk-sum { justify-content: flex-end; }
  .tk-sum.lvl0 { height: 26px; } .tk-sum { height: 22px; } .tk-sum.lvl2 { height: 18px; }
  .tk-sum-pc { font-size: 10.5px; padding: 0 6px; }
  .tk-bar { height: 22px; padding: 0 4px 0 2px; }
  .tk-av { width: 16px; height: 16px; font-size: 8.5px; }
  .tk-st { display: none; }
  .tk-ms { width: 12px; height: 12px; margin-top: -6px; }
  .tk-p .tk-t { white-space: normal; line-height: 1.3; font-size: 13px; }
}
@media (max-width: 768px) {
  .tk-stages .hm { display: none; }
  .tk-stages small { font-size: 11px; color: var(--text-muted); }
  .tk-amt b + small { display: none; }
}
