/* Wolfskycloud — landing page styles
   Palette: deep navy + cyan accent, matching the proposal deck.
*/

:root {
    --bg: #050B1F;
    --bg-alt: #0A1628;
    --surface: #0F1E36;
    --surface-2: #132845;
    --border: #1C3257;
    --border-strong: #2A4670;
    --text: #E8EEF7;
    --text-muted: #95A8C2;
    --accent: #5BC0EB;
    --accent-strong: #8DD4F2;
    --accent-dim: rgba(91, 192, 235, 0.15);
    --max-width: 1180px;
    --radius: 6px;
    --transition: 150ms ease;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

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

a {
    color: var(--accent);
    text-decoration: none;
    transition: color var(--transition);
}
a:hover, a:focus { color: var(--accent-strong); }

a:focus-visible, button:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
    border-radius: 2px;
}

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

.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    background: var(--accent);
    color: var(--bg);
    padding: 10px 14px;
    z-index: 1000;
    font-weight: 600;
}
.skip-link:focus { left: 12px; top: 12px; }

/* --- Header / nav --- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(5, 11, 31, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 18px;
    padding-bottom: 18px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text);
}
.brand:hover { color: var(--text); }

.brand-mark {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
}

.brand-text {
    font-weight: 700;
    letter-spacing: 0.18em;
    font-size: 14px;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 28px;
}
.site-nav a {
    color: var(--text-muted);
    font-size: 14px;
    font-weight: 500;
}
.site-nav a:hover { color: var(--text); }

.nav-cta {
    color: var(--accent) !important;
    border: 1px solid var(--accent);
    padding: 8px 16px;
    border-radius: var(--radius);
    transition: background var(--transition), color var(--transition), box-shadow var(--transition);
    box-shadow: 0 2px 8px rgba(91, 192, 235, 0.15);
}
.nav-cta:hover {
    background: var(--accent);
    color: var(--bg) !important;
    box-shadow: 0 4px 12px rgba(91, 192, 235, 0.35);
}

/* --- Hero --- */
.hero {
    padding: 96px 0 72px;
    background:
        radial-gradient(circle at 20% 20%, rgba(91, 192, 235, 0.08), transparent 50%),
        radial-gradient(circle at 80% 60%, rgba(30, 90, 138, 0.12), transparent 50%);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 48px;
    align-items: center;
    margin-bottom: 56px;
}

.hero-visual img {
    width: 100%;
    height: auto;
    border-radius: var(--radius);
    filter: drop-shadow(0 20px 40px rgba(91, 192, 235, 0.15));
}

.hero-404 {
    min-height: 80vh;
    display: flex;
    align-items: center;
}

.eyebrow {
    color: var(--accent);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.22em;
    margin: 0 0 16px;
}

h1 {
    font-size: clamp(2rem, 5vw, 3.4rem);
    line-height: 1.15;
    font-weight: 700;
    margin: 0 0 20px;
    max-width: 880px;
    letter-spacing: -0.01em;
}

.lede {
    font-size: 1.125rem;
    color: var(--text-muted);
    max-width: 720px;
    margin: 0 0 32px;
}

.hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 56px;
}

.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 15px;
    border: 1px solid transparent;
    cursor: pointer;
    transition: background var(--transition), color var(--transition), border-color var(--transition), transform var(--transition), box-shadow var(--transition);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-primary {
    background: var(--accent);
    color: var(--bg);
    box-shadow: 0 4px 12px rgba(91, 192, 235, 0.25);
}
.btn-primary:hover { 
    background: var(--accent-strong); 
    color: var(--bg);
    box-shadow: 0 8px 24px rgba(91, 192, 235, 0.4);
}

.btn-ghost {
    background: transparent;
    color: var(--text);
    border-color: var(--border-strong);
    box-shadow: none;
}
.btn-ghost:hover { 
    border-color: var(--accent);
    color: var(--accent);
    background: rgba(91, 192, 235, 0.05);
}

.hero-stats {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 24px;
    border-top: 1px solid var(--border);
    padding-top: 32px;
    margin-top: 32px;
}
.hero-stats li { 
    display: flex; 
    flex-direction: column; 
    gap: 4px;
    padding: 16px;
    background: rgba(91, 192, 235, 0.04);
    border-radius: var(--radius);
    border: 1px solid rgba(91, 192, 235, 0.1);
    transition: background var(--transition), border-color var(--transition);
}
.hero-stats li:hover {
    background: rgba(91, 192, 235, 0.08);
    border-color: rgba(91, 192, 235, 0.2);
}
.hero-stats strong {
    font-size: 2.4rem;
    font-weight: 700;
    color: var(--text);
    line-height: 1;
}
.hero-stats strong::after {
    content: "+";
    color: var(--accent);
    margin-left: 2px;
}
.hero-stats li:last-child strong::after { content: ""; }
.hero-stats span { color: var(--text-muted); font-size: 14px; }

/* --- Sections --- */
.section {
    padding: 88px 0;
}
.section-alt {
    background: var(--bg-alt);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

h2 {
    font-size: clamp(1.6rem, 3.5vw, 2.4rem);
    margin: 0 0 48px;
    font-weight: 700;
    letter-spacing: -0.005em;
    max-width: 800px;
}

h3 {
    font-size: 1.2rem;
    margin: 0 0 12px;
    font-weight: 600;
    color: var(--text);
}

.eyebrow {
    color: var(--accent);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.22em;
    margin: 0 0 16px;
    text-transform: uppercase;
}

/* --- Capability cards --- */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-top: 2px solid var(--accent);
    border-radius: var(--radius);
    padding: 28px 24px;
    transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
    box-shadow: 0 4px 12px rgba(91, 192, 235, 0.08);
}
.card:hover {
    border-color: var(--border-strong);
    border-top-color: var(--accent-strong);
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(91, 192, 235, 0.15);
}

.card-num {
    color: var(--accent);
    font-size: 12px;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    letter-spacing: 0.1em;
    margin: 0 0 12px;
}

.card p {
    color: var(--text-muted);
    margin: 0;
    font-size: 14px;
    line-height: 1.6;
}

/* --- POC Cards --- */
.poc-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 32px;
}

.poc-card {
    background: linear-gradient(135deg, var(--surface) 0%, rgba(15, 30, 54, 0.8) 100%);
    border: 1px solid var(--border);
    border-top: 2px solid var(--accent);
    border-radius: var(--radius);
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
    box-shadow: 0 4px 16px rgba(91, 192, 235, 0.08);
}
.poc-card:hover {
    border-color: var(--border-strong);
    border-top-color: var(--accent-strong);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(91, 192, 235, 0.18);
}

.poc-header {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.poc-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.poc-header h3 {
    color: var(--text);
    font-size: 1.1rem;
    margin: 0;
    line-height: 1.3;
}

.poc-header h3 a {
    color: var(--text);
    transition: color var(--transition);
}

.poc-header h3 a:hover {
    color: var(--accent);
}

.poc-card p {
    color: var(--text-muted);
    margin: 0;
    font-size: 14px;
    line-height: 1.6;
    flex-grow: 1;
}

.poc-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding-top: 8px;
    border-top: 1px solid var(--border);
}

.poc-tag {
    display: inline-block;
    background: var(--surface-2);
    color: var(--accent);
    padding: 4px 10px;
    border-radius: 3px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

/* --- Engagements --- */
.engagement-list {
    border-top: 1px solid var(--border);
}

.engagement {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 32px;
    padding: 32px;
    margin: 16px 0;
    border-bottom: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--surface);
    transition: background var(--transition), box-shadow var(--transition);
}
.engagement:hover { 
    background: rgba(91, 192, 235, 0.08);
    box-shadow: 0 8px 24px rgba(91, 192, 235, 0.1);
}

.engagement-meta {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.engagement-num {
    color: var(--accent);
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    font-size: 14px;
}

.engagement-tags {
    color: var(--text-muted);
    font-size: 13px;
}

.engagement-body p {
    margin: 8px 0 0;
    color: var(--text-muted);
    font-size: 15px;
}

.engagement-body h3 {
    margin: 0 0 8px;
}

.engagement-body h3 a {
    color: var(--text);
    transition: color var(--transition);
}

.engagement-body h3 a:hover {
    color: var(--accent);
}

/* --- AI + Automation --- */
.ai-automation-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 28px;
}

.ai-automation-card {
    background: linear-gradient(155deg, var(--surface) 0%, rgba(19, 40, 69, 0.9) 100%);
    border: 1px solid var(--border);
    border-top: 2px solid var(--accent);
    border-radius: var(--radius);
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
    box-shadow: 0 4px 12px rgba(91, 192, 235, 0.08);
}

.ai-automation-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(91, 192, 235, 0.18);
    border-color: var(--border-strong);
}

.ai-card-num {
    color: var(--accent);
    font-size: 12px;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    letter-spacing: 0.1em;
    margin: 0;
}

.ai-automation-card h3 {
    margin: 0;
    font-size: 1.08rem;
    line-height: 1.35;
}

.ai-automation-card p {
    margin: 0;
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.6;
    flex-grow: 1;
}

.ai-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding-top: 8px;
    border-top: 1px solid var(--border);
}

.ai-card-tag {
    display: inline-block;
    background: rgba(91, 192, 235, 0.1);
    color: var(--accent);
    padding: 4px 10px;
    border-radius: 3px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.ai-impact-metrics {
    list-style: none;
    margin: 28px 0 0;
    padding: 24px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: rgba(91, 192, 235, 0.05);
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 16px;
}

.ai-impact-metrics li {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.ai-impact-metrics strong {
    color: var(--text);
    font-size: 1.25rem;
    letter-spacing: 0.01em;
}

.ai-impact-metrics span {
    color: var(--text-muted);
    font-size: 13px;
    line-height: 1.5;
}

/* --- About --- */
.about-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 48px;
    align-items: start;
}

.role {
    color: var(--accent);
    font-size: 14px;
    margin: -36px 0 24px;
    letter-spacing: 0.02em;
}

.about-grid p {
    color: var(--text-muted);
    margin: 0 0 16px;
}

.about-side {
    background: var(--surface);
    border: 1px solid var(--border);
    border-left: 2px solid var(--accent);
    padding: 24px;
    border-radius: var(--radius);
    box-shadow: 0 4px 12px rgba(91, 192, 235, 0.08);
    transition: box-shadow var(--transition), border-left-color var(--transition);
}
.about-side:hover {
    box-shadow: 0 8px 20px rgba(91, 192, 235, 0.15);
    border-left-color: var(--accent-strong);
}
.about-side h3 { color: var(--accent); font-size: 13px; letter-spacing: 0.15em; text-transform: uppercase; }
.about-side ul {
    padding-left: 18px;
    margin: 12px 0;
    color: var(--text);
}
.about-side ul li { margin: 6px 0; font-size: 14px; }

.muted { color: var(--text-muted); }
.small { font-size: 13px; }

/* --- Contact CTA --- */
.section-cta {
    background:
        linear-gradient(180deg, var(--bg) 0%, var(--bg-alt) 100%);
    text-align: center;
}

.contact-inner {
    max-width: 720px;
}

.contact-inner h2 { margin-left: auto; margin-right: auto; }
.contact-inner .lede { margin-left: auto; margin-right: auto; margin-bottom: 32px; }

.contact-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 24px;
}

/* --- M365 Project Page --- */

/* Breadcrumb */
.breadcrumb-bar {
    background: var(--bg-alt);
    border-bottom: 1px solid var(--border);
    padding: 12px 0;
}
.breadcrumb-bar a {
    color: var(--text-muted);
    font-size: 14px;
}
.breadcrumb-bar a:hover { color: var(--accent); }

/* Project Hero */
.project-hero {
    padding: 64px 0 48px;
    background: var(--bg);
}
.project-hero h1 {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    margin-bottom: 20px;
}

/* Project metadata */
.project-meta {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 24px;
    margin-top: 32px;
    padding-top: 32px;
    border-top: 1px solid var(--border);
}
.meta-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.meta-label {
    color: var(--accent);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}
.meta-value {
    color: var(--text);
    font-size: 15px;
}

/* Timeline */
.timeline {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 48px;
}
.timeline-item {
    background: var(--surface);
    border: 1px solid var(--border);
    border-left: 3px solid var(--accent-dim);
    border-radius: var(--radius);
    padding: 24px;
    position: relative;
    transition: border-left-color var(--transition), box-shadow var(--transition), transform var(--transition);
    box-shadow: 0 4px 12px rgba(91, 192, 235, 0.08);
}
.timeline-item:hover {
    border-left-color: var(--accent);
    box-shadow: 0 8px 20px rgba(91, 192, 235, 0.15);
    transform: translateX(4px);
}
.timeline-item h3 {
    margin: 12px 0 8px;
    font-size: 1.1rem;
}
.timeline-item p {
    color: var(--text-muted);
    font-size: 14px;
    margin: 0;
}

.timeline-phase {
    display: inline-block;
    background: var(--surface-2);
    color: var(--accent);
    font-size: 12px;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: 3px;
    margin-bottom: 8px;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

.timeline-status {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 3px;
    margin-left: 8px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.timeline-status.completed {
    background: rgba(91, 192, 235, 0.2);
    color: #5BC0EB;
}
.timeline-status.ready {
    background: rgba(76, 175, 80, 0.2);
    color: #4CAF50;
}
.timeline-status.queued {
    background: rgba(255, 152, 0, 0.2);
    color: #FFB74D;
}

/* Phase Grid */
.phase-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 28px;
    margin-top: 32px;
}

/* Component Map */
.component-map-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    margin-top: 32px;
}

.component-layer {
    background: var(--surface);
    border: 1px solid var(--border);
    border-left: 4px solid var(--accent);
    border-radius: var(--radius);
    padding: 24px;
    box-shadow: 0 4px 12px rgba(91, 192, 235, 0.08);
    transition: box-shadow var(--transition), border-left-color var(--transition);
}
.component-layer:hover {
    box-shadow: 0 8px 20px rgba(91, 192, 235, 0.15);
    border-left-color: var(--accent-strong);
}
.component-layer h3 {
    color: var(--accent);
    font-size: 1.05rem;
    margin: 0 0 16px;
    font-weight: 600;
}

.component-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 12px;
}
.component-list li {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 12px;
    color: var(--text-muted);
    font-size: 13px;
    line-height: 1.5;
    transition: background var(--transition), border-color var(--transition), transform var(--transition);
}
.component-list li:hover {
    background: rgba(91, 192, 235, 0.06);
    border-color: var(--accent-dim);
    transform: translateY(-1px);
}
.component-list strong {
    color: var(--text);
    display: block;
    margin-bottom: 4px;
    font-weight: 600;
}

/* Capabilities Grid */
.capabilities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 32px;
}

.capability-block {
    background: var(--surface);
    border: 1px solid var(--border);
    border-top: 2px solid var(--accent);
    border-radius: var(--radius);
    padding: 24px;
    transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
    box-shadow: 0 4px 12px rgba(91, 192, 235, 0.08);
}
.capability-block:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(91, 192, 235, 0.18);
    border-top-color: var(--accent-strong);
}

.capability-block h3 {
    color: var(--text);
    font-size: 1.05rem;
    margin: 0 0 12px;
    font-weight: 600;
    line-height: 1.3;
}

.capability-block p {
    color: var(--text-muted);
    font-size: 14px;
    margin: 0;
    line-height: 1.6;
}

/* Phase Grid */

.phase-component {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    transition: box-shadow var(--transition), border-color var(--transition), transform var(--transition);
    box-shadow: 0 4px 12px rgba(91, 192, 235, 0.08);
}
.phase-component:hover {
    box-shadow: 0 8px 20px rgba(91, 192, 235, 0.15);
    border-color: var(--border-strong);
    transform: translateY(-2px);
}
.phase-component h3 {
    color: var(--accent);
    font-size: 1rem;
    margin: 0 0 16px;
    font-weight: 600;
}
.phase-component ul {
    padding-left: 20px;
    margin: 0;
    list-style-type: disc;
}
.phase-component ul li {
    color: var(--text-muted);
    margin: 8px 0;
    font-size: 14px;
}
.phase-component ol {
    padding-left: 20px;
    margin: 0;
    list-style-type: decimal;
}
.phase-component ol li {
    color: var(--text-muted);
    margin: 8px 0;
    font-size: 14px;
}
.phase-component code {
    background: var(--bg);
    color: var(--accent);
    padding: 2px 6px;
    border-radius: 3px;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    font-size: 13px;
}

/* Score Table */
.score-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 12px;
    color: var(--text-muted);
    font-size: 14px;
}
.score-table tr {
    border-bottom: 1px solid var(--border);
}
.score-table td {
    padding: 12px 16px;
    text-align: left;
}
.score-table tr:last-child td {
    border-bottom: none;
}
.score-total {
    background: rgba(91, 192, 235, 0.08);
    font-weight: 600;
}
.score-total td {
    color: var(--text);
}

/* Workstation Grid */
.workstation-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
    margin: 32px 0;
}

.workstation-category {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px;
    transition: box-shadow var(--transition), border-color var(--transition), transform var(--transition);
    box-shadow: 0 4px 12px rgba(91, 192, 235, 0.08);
}
.workstation-category:hover {
    box-shadow: 0 8px 20px rgba(91, 192, 235, 0.15);
    border-color: var(--border-strong);
    transform: translateY(-2px);
}
.workstation-category h3 {
    color: var(--accent);
    font-size: 0.95rem;
    margin: 0 0 12px;
    font-weight: 600;
}
.workstation-category ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.workstation-category ul li {
    color: var(--text-muted);
    font-size: 13px;
    margin: 6px 0;
}

/* Code Block */
.code-block {
    background: var(--bg-alt);
    border: 1px solid var(--border);
    border-left: 3px solid var(--accent);
    border-radius: var(--radius);
    padding: 20px;
    margin: 24px 0;
}
.code-label {
    color: var(--accent);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin: 0 0 12px;
}
.code-block pre {
    margin: 0;
    overflow-x: auto;
}
.code-block code {
    background: none;
    color: var(--text);
    padding: 0;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    font-size: 13px;
    line-height: 1.5;
}

/* Documents List */
.documents-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 32px;
}

.document {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    position: relative;
    transition: box-shadow var(--transition), border-color var(--transition), transform var(--transition);
}
.document:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(91, 192, 235, 0.12);
    border-color: var(--border-strong);
}
.document h3 {
    color: var(--text);
    font-size: 1.1rem;
    margin: 0 0 8px;
}
.document p {
    color: var(--text-muted);
    font-size: 14px;
    margin: 0;
}

.document-status {
    display: inline-block;
    position: absolute;
    top: 16px;
    right: 16px;
    font-size: 11px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 3px;
    background: var(--surface-2);
}
.document-status.completed {
    color: #5BC0EB;
}
.document-status.pending {
    color: #FFB74D;
}

/* Scope Grid */
.scope-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.scope-column h2 {
    font-size: 1.4rem;
    margin-bottom: 20px;
}
.scope-column ul {
    padding-left: 20px;
    margin: 12px 0;
}
.scope-column ul li {
    color: var(--text-muted);
    font-size: 14px;
    margin: 8px 0;
}

/* Engagement Info Grid */
.engagement-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
    margin: 32px 0 48px;
}

.engagement-info-block h3 {
    color: var(--accent);
    font-size: 0.95rem;
    margin: 0 0 16px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}
.engagement-info-block ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.engagement-info-block ul li {
    color: var(--text-muted);
    font-size: 14px;
    margin: 8px 0;
}
.engagement-info-block p {
    color: var(--text-muted);
    font-size: 14px;
    margin: 8px 0;
}

.engagement-footer {
    color: var(--text-muted);
    font-size: 12px;
    text-align: center;
}

/* --- Footer --- */
.site-footer {
    border-top: 1px solid var(--border);
    padding: 32px 0;
    background: var(--bg);
}
.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
}
.site-footer p {
    color: var(--text-muted);
    margin: 0;
    font-size: 13px;
}
.footer-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 20px;
}
.footer-links a {
    color: var(--text-muted);
    font-size: 13px;
    transition: color var(--transition);
}
.footer-links a:hover { color: var(--accent); }

/* --- Documentation Section --- */
.docs-tabs {
    margin-top: 40px;
}

.docs-tab-nav {
    display: flex;
    gap: 12px;
    border-bottom: 2px solid var(--border);
    margin-bottom: 32px;
    overflow-x: auto;
    padding-bottom: 0;
}

.docs-tab-btn {
    background: transparent;
    border: none;
    color: var(--text-muted);
    padding: 12px 16px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: color var(--transition), border-color var(--transition);
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.docs-tab-btn:hover {
    color: var(--accent);
}

.docs-tab-btn.active {
    color: var(--accent);
    border-bottom-color: var(--accent);
}

.docs-tab-content {
    display: none;
    animation: fadeIn 0.3s ease;
}

.docs-tab-content.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.docs-section {
    color: var(--text);
}

.docs-section h3 {
    font-size: 1.6rem;
    margin: 0 0 20px;
    color: var(--text);
}

.docs-section h4 {
    font-size: 1.1rem;
    margin: 28px 0 16px;
    color: var(--accent);
    font-weight: 600;
}

.docs-section p {
    color: var(--text);
    margin-bottom: 16px;
    line-height: 1.6;
}

.docs-section ul {
    margin-left: 20px;
    margin-bottom: 20px;
    line-height: 1.8;
}

.docs-section ul li {
    color: var(--text);
    margin-bottom: 8px;
}

.docs-highlight {
    background: rgba(91, 192, 235, 0.08);
    border: 1px solid var(--border);
    border-left: 3px solid var(--accent);
    border-radius: var(--radius);
    padding: 20px;
    margin: 24px 0;
}

.docs-highlight strong {
    color: var(--accent);
}

.docs-table {
    display: grid;
    gap: 12px;
    margin: 20px 0;
}

.docs-row {
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    gap: 16px;
    padding: 16px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    align-items: center;
    transition: background var(--transition), box-shadow var(--transition);
}

.docs-row:hover {
    background: rgba(91, 192, 235, 0.06);
    box-shadow: 0 4px 12px rgba(91, 192, 235, 0.08);
}

.docs-cell {
    color: var(--text);
    font-size: 14px;
}

.docs-cell:last-child {
    text-align: right;
    color: var(--accent);
    font-weight: 600;
}

.phase-flow {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 28px 0;
    flex-wrap: wrap;
}

.phase-badge {
    padding: 12px 16px;
    border-radius: var(--radius);
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    border: 1px solid var(--border);
    min-width: 140px;
}

.phase-badge.completed {
    background: rgba(91, 192, 235, 0.15);
    border-color: var(--accent);
    color: var(--accent);
}

.phase-badge.ready {
    background: rgba(255, 193, 7, 0.15);
    border-color: #ffc107;
    color: #ffc107;
}

.phase-badge.queued {
    background: rgba(255, 152, 0, 0.15);
    border-color: #ff9800;
    color: #ff9800;
}

.phase-flow-arrow {
    color: var(--text-muted);
    font-size: 20px;
    flex-shrink: 0;
}

.phase-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin: 28px 0;
}

.phase-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-top: 3px solid var(--accent);
    border-radius: var(--radius);
    padding: 24px;
    transition: transform var(--transition), box-shadow var(--transition), border-top-color var(--transition);
    box-shadow: 0 4px 12px rgba(91, 192, 235, 0.08);
}

.phase-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(91, 192, 235, 0.18);
    border-top-color: var(--accent-strong);
}

.phase-number {
    font-size: 0.85rem;
    color: var(--accent);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 8px;
}

.phase-card h4 {
    font-size: 1.15rem;
    margin: 8px 0 12px;
    color: var(--text);
}

.phase-card p {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.phase-card ul {
    margin-left: 16px;
    margin-bottom: 16px;
    list-style-type: disc;
}

.phase-card ul li {
    font-size: 13px;
    color: var(--text);
    margin-bottom: 6px;
}

.phase-impact {
    background: rgba(91, 192, 235, 0.06);
    padding: 12px;
    border-radius: 4px;
    border-left: 2px solid var(--accent);
    font-size: 12px;
    margin-top: 16px !important;
    margin-bottom: 0 !important;
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    margin: 20px 0;
}

.tool-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px;
    transition: box-shadow var(--transition), border-color var(--transition);;
}

.tool-card:hover {
    border-color: var(--border-strong);
    box-shadow: 0 4px 12px rgba(91, 192, 235, 0.08);
}

.tool-card strong {
    display: block;
    color: var(--accent);
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 12px;
}

.tool-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.tool-card ul li {
    color: var(--text);
    font-size: 13px;
    padding: 4px 0;
}

.modules-section {
    display: grid;
    gap: 16px;
    margin: 20px 0;
}

.module-group {
    background: var(--surface);
    border: 1px solid var(--border);
    border-left: 3px solid var(--accent);
    border-radius: var(--radius);
    padding: 16px;
    transition: box-shadow var(--transition);
}

.module-group:hover {
    box-shadow: 0 4px 12px rgba(91, 192, 235, 0.08);
}

.module-group strong {
    display: block;
    color: var(--accent);
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 8px;
}

.module-group p {
    color: var(--text-muted);
    font-size: 13px;
    margin: 0;
}

.code-block {
    background: var(--bg);
    border: 1px solid var(--border);
    border-left: 3px solid var(--accent-dim);
    border-radius: var(--radius);
    padding: 20px;
    margin: 20px 0;
    overflow-x: auto;
}

.code-block pre {
    margin: 0;
    font-family: 'Courier New', monospace;
    color: var(--accent);
    font-size: 13px;
    line-height: 1.6;
}

.code-block code {
    color: var(--accent);
}

.timeline-box {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    margin: 20px 0;
}

.timeline-item-box {
    background: var(--surface);
    border: 1px solid var(--border);
    border-left: 3px solid var(--accent);
    border-radius: var(--radius);
    padding: 16px;
    transition: box-shadow var(--transition), border-left-color var(--transition);
}

.timeline-item-box:hover {
    box-shadow: 0 4px 12px rgba(91, 192, 235, 0.08);
    border-left-color: var(--accent-strong);
}

.timeline-item-box strong {
    display: block;
    color: var(--accent);
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 8px;
}

.timeline-item-box p {
    color: var(--text);
    font-size: 13px;
    margin: 0;
    line-height: 1.5;
}

.docs-note {
    background: rgba(91, 192, 235, 0.08);
    border: 1px solid var(--border);
    border-left: 3px solid var(--accent);
    padding: 12px 16px;
    border-radius: 4px;
    color: var(--accent);
    font-size: 13px;
    font-weight: 600;
    margin: 16px 0 12px;
    display: inline-block;
}

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

.docs-footer p {
    margin: 0;
    color: var(--text-muted);
    font-size: 13px;
}

.docs-footer a {
    margin-left: auto;
}

/* --- Documentation Links Section (Homepage) --- */
.docs-link-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 24px;
    margin-top: 32px;
}

.docs-link-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px;
    transition: all var(--transition);
    box-shadow: 0 4px 12px rgba(91, 192, 235, 0.08);
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.docs-link-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(91, 192, 235, 0.18);
    border-color: var(--border-strong);
}

.docs-link-icon {
    font-size: 2.4rem;
    line-height: 1;
}

.docs-link-card h3 {
    margin: 0;
    font-size: 1.3rem;
}

.docs-link-card h3 a {
    color: var(--text);
    text-decoration: none;
    transition: color var(--transition);
}

.docs-link-card h3 a:hover {
    color: var(--accent);
}

.docs-link-card p {
    color: var(--text);
    margin: 0;
    line-height: 1.6;
    flex-grow: 1;
    font-size: 14px;
}

.docs-link-meta {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: auto;
}

.docs-link-tag {
    display: inline-block;
    background: rgba(91, 192, 235, 0.1);
    color: var(--accent);
    padding: 4px 10px;
    border-radius: 3px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* --- Responsive --- */
@media (max-width: 880px) {
    .hero-grid { grid-template-columns: 1fr; gap: 32px; }
    .hero-visual { max-width: 360px; margin: 0 auto; }
    .timeline { grid-template-columns: 1fr; }
    .phase-grid { grid-template-columns: 1fr; }
    .ai-automation-grid { grid-template-columns: 1fr; }
    .scope-grid { grid-template-columns: 1fr; }
    .engagement-info-grid { grid-template-columns: 1fr; }
    .poc-grid { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
    .component-list { grid-template-columns: 1fr; }
    .capabilities-grid { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
}

@media (max-width: 760px) {
    .header-inner { flex-direction: column; gap: 14px; align-items: flex-start; }
    .site-nav { gap: 18px; flex-wrap: wrap; }
    .hero { padding: 64px 0 48px; }
    .project-hero { padding: 48px 0 32px; }
    .section { padding: 64px 0; }
    h2 { margin-bottom: 32px; }
    .engagement { grid-template-columns: 1fr; gap: 8px; }
    .about-grid { grid-template-columns: 1fr; gap: 32px; }
    .role { margin-top: -24px; }
    .project-meta { grid-template-columns: 1fr; }
    .documents-list { grid-template-columns: 1fr; }
    .workstation-grid { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
    .contact-actions { flex-direction: column; }
    .contact-actions a { width: 100%; text-align: center; }
    .component-list { grid-template-columns: 1fr; }
}

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