@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,400;9..144,500;9..144,600;9..144,700&family=IBM+Plex+Sans:wght@400;500;600;700&display=swap');

/* ==========================================================================
   HOMEPAGE — TERMINAL RENAISSANCE
   CRT Hero + Service Modules + Dot-Matrix Effects
   ========================================================================== */

/* ==========================================================================
   HERO — CRT Boot Sequence Terminal
   ========================================================================== */

.hero-section {
    position: relative;
    padding: calc(var(--spacing-unit) * 8) 0 calc(var(--spacing-unit) * 6);
    text-align: center;
    overflow: hidden;
}

/* CRT scanline overlay */
.hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 2px,
            rgba(0, 255, 65, 0.018) 2px,
            rgba(0, 255, 65, 0.018) 4px
        );
    pointer-events: none;
    z-index: 3;
    animation: hero-scanline-drift 8s linear infinite;
}

@keyframes hero-scanline-drift {
    0% { background-position: 0 0; }
    100% { background-position: 0 400px; }
}

/* Phosphor bloom */
.hero-section::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    height: 120%;
    background: radial-gradient(ellipse, rgba(0, 255, 65, 0.05) 0%, transparent 60%);
    pointer-events: none;
    z-index: 0;
}

/* Content pages — compact hero */
.hero-section-content {
    padding: calc(var(--spacing-unit) * 5) 0 calc(var(--spacing-unit) * 3);
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

/* System prompt line above title */
.hero-system-line {
    font-family: var(--font-terminal);
    font-size: 0.95rem;
    color: var(--crt-green-dim);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: calc(var(--spacing-unit) * 2);
    opacity: 0;
    animation: hero-line-in 0.4s ease 0.1s forwards;
}

.hero-system-line::before {
    content: '> ';
    color: var(--crt-amber);
}

@keyframes hero-line-in {
    from { opacity: 0; transform: translateY(6px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* Location stamp */
.hero-label {
    font-family: var(--font-terminal);
    font-size: 18px;
    font-weight: 400;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--crt-amber);
    margin-bottom: calc(var(--spacing-unit) * 3);
    display: inline-block;
    padding: 8px 20px;
    border: 1px solid var(--crt-border-amber);
    background: rgba(255, 176, 0, 0.04);
    opacity: 0;
    animation: hero-line-in 0.4s ease 0.2s forwards;
    text-shadow: var(--crt-amber-glow);
}

.hero-label .bracket {
    color: var(--crt-green);
}

/* ---- Hero Title — Terminal Boot ---- */
.hero-title {
    font-family: var(--font-terminal);
    font-size: clamp(2.2rem, 5.5vw, 4rem);
    font-weight: 400;
    line-height: 1.2;
    margin-bottom: calc(var(--spacing-unit) * 2);
    position: relative;
    letter-spacing: 0.06em;
    display: inline-block;
    padding: calc(var(--spacing-unit) * 2) calc(var(--spacing-unit) * 4);
    color: var(--crt-green);
    text-shadow: var(--crt-green-glow);
    z-index: 1;
    text-transform: uppercase;
}

/* Glow frame behind title */
.hero-title::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 255, 65, 0.03);
    border: 1px solid var(--crt-border-bright);
    box-shadow:
        inset 0 0 60px rgba(0, 255, 65, 0.04),
        0 0 30px rgba(0, 255, 65, 0.06);
    z-index: -1;
}

.hero-title .bracket {
    color: var(--crt-green);
    opacity: 0.5;
    font-weight: 400;
    text-shadow: 0 0 12px rgba(0, 255, 65, 0.4);
}

.hero-title .accent {
    color: var(--crt-cyan);
    text-shadow: var(--crt-cyan-glow);
    display: inline;
}

.hero-title .accent::after {
    display: none;
}

/* Blinking cursor after title */
.hero-title .hero-cursor {
    display: inline-block;
    width: 0.55em;
    height: 1.05em;
    background: var(--crt-green);
    margin-left: 4px;
    vertical-align: text-bottom;
    animation: cursor-blink 1s step-end infinite;
    box-shadow: 0 0 8px rgba(0, 255, 65, 0.6);
}

@keyframes cursor-blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

/* Typing animation — hidden until JS triggers */
.hero-title[data-typewriter] .hero-title-text {
    display: inline;
}

.hero-title:hover::before {
    box-shadow:
        inset 0 0 60px rgba(0, 255, 65, 0.06),
        0 0 40px rgba(0, 255, 65, 0.1);
}

@keyframes fade-up {
    from { opacity: 0; transform: translateY(12px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ---- Description ---- */
.hero-description {
    font-family: var(--font-mono);
    font-size: clamp(13px, 1.6vw, 15px);
    line-height: 1.8;
    color: var(--crt-text-dim);
    margin-bottom: calc(var(--spacing-unit) * 4);
    max-width: 680px;
    margin-left: auto;
    margin-right: auto;
    padding: calc(var(--spacing-unit) * 2) calc(var(--spacing-unit) * 3);
    border-left: 2px solid var(--crt-green-muted);
    text-align: left;
    opacity: 0;
    animation: hero-line-in 0.5s ease 0.6s forwards;
}

.hero-description::before,
.hero-description::after {
    display: none;
}

/* ---- Hero metadata ---- */
.hero-meta {
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--crt-text-muted);
    margin-top: calc(var(--spacing-unit) * 3);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: calc(var(--spacing-unit) * 2);
    flex-wrap: wrap;
    opacity: 0;
    animation: hero-line-in 0.5s ease 0.8s forwards;
}

.hero-meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    border: 1px solid var(--crt-border);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--crt-text-dim);
    font-size: 10px;
}

.hero-meta-item::before {
    content: '>';
    color: var(--crt-green-muted);
    font-family: var(--font-terminal);
    font-size: 13px;
}

.hero-meta-icon {
    color: var(--crt-green-dim);
    font-size: 10px;
}

/* CTA Buttons */
.hero-cta {
    display: flex;
    gap: calc(var(--spacing-unit) * 3);
    justify-content: center;
    flex-wrap: wrap;
    margin-top: calc(var(--spacing-unit) * 5);
    animation: fade-up 0.7s ease 0.4s backwards;
}

.cta-button {
    font-family: var(--font-mono);
    font-size: 12px;
    font-weight: 600;
    padding: 14px 32px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all var(--transition-base);
    cursor: pointer;
    border: 1px solid transparent;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    position: relative;
    overflow: hidden;
}

/* Sweep effect */
.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 255, 65, 0.1), transparent);
    transition: left 0.5s ease;
}

.cta-button:hover::before {
    left: 100%;
}

.cta-primary {
    background: var(--crt-green);
    color: var(--crt-black);
    border-color: var(--crt-green);
    box-shadow: 0 0 20px rgba(0, 255, 65, 0.2);
}

.cta-primary:hover {
    background: var(--crt-green-bright);
    box-shadow: 0 0 30px rgba(0, 255, 65, 0.35);
    transform: translateY(-2px);
}

.cta-primary:active {
    transform: translateY(0);
    box-shadow: 0 0 10px rgba(0, 255, 65, 0.2);
}

.cta-secondary {
    background: transparent;
    color: var(--crt-green);
    border-color: var(--crt-border-bright);
}

.cta-secondary:hover {
    background: rgba(0, 255, 65, 0.06);
    border-color: var(--crt-green-dim);
    box-shadow: 0 0 15px rgba(0, 255, 65, 0.1);
    transform: translateY(-2px);
}

.cta-secondary:active {
    transform: translateY(0);
}

/* ==========================================================================
   SERVICES — Terminal Panels
   ========================================================================== */

.services-section {
    padding: calc(var(--spacing-unit) * 8) 0;
    position: relative;
}

/* Divider line */
.services-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 10%;
    right: 10%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--crt-border-bright), transparent);
}

.services-header {
    text-align: center;
    margin-bottom: calc(var(--spacing-unit) * 8);
}

/* Terminal prompt label */
.services-label {
    font-family: var(--font-terminal);
    font-size: 18px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--crt-green-dim);
    margin-bottom: calc(var(--spacing-unit) * 2);
    display: inline-block;
}

.services-label::before {
    content: '>';
    margin-right: 8px;
    color: var(--crt-amber);
}

.services-label::after {
    content: '_';
    margin-left: 2px;
    animation: cursor-blink 1s steps(1) infinite;
}

@keyframes cursor-blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

.services-title {
    font-family: var(--font-display);
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 700;
    color: var(--crt-text-bright);
    margin-bottom: calc(var(--spacing-unit) * 2);
    letter-spacing: -0.5px;
}

.services-description {
    font-family: var(--font-mono);
    font-size: 14px;
    line-height: 1.8;
    color: var(--crt-text-dim);
    max-width: 560px;
    margin: 0 auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: calc(var(--spacing-unit) * 4);
    margin-bottom: calc(var(--spacing-unit) * 8);
}

/* Service Card — Terminal Panel */
.service-module {
    position: relative;
    background: var(--crt-surface);
    border: 1px solid var(--crt-border);
    padding: calc(var(--spacing-unit) * 4);
    transition: all var(--transition-base);
    box-shadow: var(--shadow-subtle);
    color: var(--crt-text);
}

.service-module * {
    color: inherit;
}

.service-module h1, .service-module h2, .service-module h3,
.service-module h4, .service-module h5, .service-module h6 {
    color: var(--crt-text-bright) !important;
}

.service-module p {
    color: var(--crt-text) !important;
}

.service-module strong {
    color: var(--crt-text-bright) !important;
}

/* Corner brackets */
.service-module::before,
.service-module::after {
    content: '';
    position: absolute;
    width: 12px;
    height: 12px;
    border-color: var(--crt-green-muted);
    border-style: solid;
    opacity: 0.4;
    transition: all var(--transition-base);
}

.service-module::before {
    top: -1px;
    left: -1px;
    border-width: 1px 0 0 1px;
}

.service-module::after {
    bottom: -1px;
    right: -1px;
    border-width: 0 1px 1px 0;
}

.service-module:hover {
    border-color: var(--crt-border-bright);
    box-shadow: var(--shadow-medium), 0 0 20px rgba(0, 255, 65, 0.04);
    transform: translateY(-4px);
}

.service-module:hover::before,
.service-module:hover::after {
    opacity: 1;
    width: 20px;
    height: 20px;
    border-color: var(--crt-green-dim);
}

/* Service card top glow line */
.service-module > *:first-child::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--crt-green-dim), var(--crt-amber-dim));
    opacity: 0;
    transition: opacity var(--transition-base);
}

.service-module:hover > *:first-child::before {
    opacity: 0.6;
}

.service-header {
    display: flex;
    align-items: flex-start;
    gap: calc(var(--spacing-unit) * 2);
    margin-bottom: calc(var(--spacing-unit) * 3);
    position: relative;
}

/* Service icon */
.service-icon {
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 255, 65, 0.04);
    border: 1px solid var(--crt-border);
    font-size: 22px;
    color: var(--crt-green);
    transition: all var(--transition-base);
}

.service-icon::before {
    display: none;
}

.service-module:hover .service-icon {
    background: var(--crt-green);
    color: var(--crt-black);
    border-color: var(--crt-green);
    box-shadow: 0 0 15px rgba(0, 255, 65, 0.3);
}

.service-header-text {
    flex: 1;
}

.service-number {
    font-family: var(--font-terminal);
    font-size: 16px;
    color: var(--crt-amber);
    margin-bottom: 4px;
    letter-spacing: 2px;
}

.service-title {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 700;
    color: var(--crt-text-bright);
    margin: 0;
    line-height: 1.3;
    transition: color var(--transition-base);
}

.service-module:hover .service-title {
    color: var(--crt-green) !important;
    text-shadow: 0 0 8px rgba(0, 255, 65, 0.2);
}

.service-description {
    font-family: var(--font-mono);
    font-size: 13px;
    line-height: 1.8;
    color: var(--crt-text);
    margin-bottom: calc(var(--spacing-unit) * 3);
    padding-left: 12px;
    border-left: 2px solid var(--crt-amber-dim);
}

.service-description strong {
    color: var(--crt-text-bright);
}

/* Feature list */
.service-features {
    list-style: none;
    padding: calc(var(--spacing-unit) * 2);
    margin: calc(var(--spacing-unit) * 3) 0;
    background: rgba(0, 255, 65, 0.02);
    border-left: 2px solid var(--crt-green-muted);
}

.service-features li {
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--crt-text);
    padding: 8px 0;
    padding-left: 20px;
    position: relative;
    border-bottom: 1px solid rgba(0, 255, 65, 0.06);
}

.service-features li:last-child {
    border-bottom: none;
}

.service-features li::before {
    content: '>';
    position: absolute;
    left: 0;
    color: var(--crt-green-dim);
    font-family: var(--font-terminal);
    font-size: 14px;
}

/* Service link */
.service-link {
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 600;
    color: var(--crt-green);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: calc(var(--spacing-unit) * 2);
    padding: 8px 18px;
    border: 1px solid var(--crt-border-bright);
    background: transparent;
    transition: all var(--transition-base);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.service-link:hover {
    background: var(--crt-green);
    color: var(--crt-black);
    border-color: var(--crt-green);
    box-shadow: 0 0 15px rgba(0, 255, 65, 0.2);
}

.service-link::after {
    content: '\2192';
    transition: transform var(--transition-base);
}

.service-link:hover::after {
    transform: translateX(4px);
}

/* ==========================================================================
   TECH STATS — LED Display Panel
   ========================================================================== */

.tech-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 0;
    margin-top: calc(var(--spacing-unit) * 8);
    background: var(--crt-surface);
    border: 1px solid var(--crt-border);
    position: relative;
    overflow: hidden;
}

/* Top scan bar */
.tech-stats::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg,
        transparent 0%,
        var(--crt-green) 20%,
        var(--crt-green) 80%,
        transparent 100%
    );
    opacity: 0.5;
    animation: scan-bar 3s ease-in-out infinite;
}

@keyframes scan-bar {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.7; }
}

.stat-item {
    text-align: center;
    padding: calc(var(--spacing-unit) * 4);
    border-right: 1px solid var(--crt-border);
}

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

.stat-value {
    font-family: var(--font-terminal);
    font-size: 48px;
    color: var(--crt-green);
    line-height: 1;
    margin-bottom: 8px;
    text-shadow: var(--crt-green-glow);
}

.stat-value::before {
    display: none;
}

.stat-label {
    font-family: var(--font-mono);
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--crt-text-muted);
    font-weight: 600;
}

/* ==========================================================================
   PAGE CONTENT — Clean readable dark theme
   ========================================================================== */

.page-content {
    color: var(--crt-text);
    line-height: 1.8;
    font-family: var(--font-mono);
    font-size: 14px;
}

.page-content h2,
.page-content h3,
.page-content h4 {
    color: var(--crt-text-bright);
    font-family: var(--font-display);
    margin-top: calc(var(--spacing-unit) * 5);
    margin-bottom: calc(var(--spacing-unit) * 2);
    font-weight: 700;
}

.page-content h2 {
    font-size: 26px;
    padding-bottom: calc(var(--spacing-unit) * 1);
    border-bottom: 1px solid var(--crt-border);
}

.page-content h3 {
    font-size: 20px;
    color: var(--crt-green);
}

.page-content h4 {
    font-size: 16px;
}

.page-content p {
    margin-bottom: calc(var(--spacing-unit) * 2);
    color: var(--crt-text);
}

.page-content a {
    color: var(--crt-cyan);
    text-decoration: none;
    transition: all var(--transition-base);
    border-bottom: 1px solid transparent;
}

.page-content a:hover {
    border-bottom-color: var(--crt-cyan);
    text-shadow: var(--crt-cyan-glow);
}

.page-content ul,
.page-content ol {
    margin: calc(var(--spacing-unit) * 2) 0;
    padding-left: calc(var(--spacing-unit) * 4);
    color: var(--crt-text);
}

.page-content li {
    margin-bottom: calc(var(--spacing-unit) * 1);
    line-height: 1.8;
}

.page-content ul li::marker {
    color: var(--crt-green-dim);
}

.page-content code {
    font-family: var(--font-mono);
    background: var(--crt-elevated);
    padding: 2px 6px;
    font-size: 0.9em;
    color: var(--crt-green);
    border: 1px solid var(--crt-border);
}

.page-content pre {
    background: var(--crt-dark);
    border: 1px solid var(--crt-border);
    padding: calc(var(--spacing-unit) * 3);
    overflow-x: auto;
    margin: calc(var(--spacing-unit) * 3) 0;
    font-family: var(--font-mono);
    font-size: 13px;
    line-height: 1.6;
}

.page-content pre code {
    background: transparent;
    padding: 0;
    border: none;
}

.page-content blockquote {
    border-left: 3px solid var(--crt-amber);
    padding: calc(var(--spacing-unit) * 2) calc(var(--spacing-unit) * 3);
    margin: calc(var(--spacing-unit) * 3) 0;
    font-style: italic;
    color: var(--crt-text-dim);
    background: rgba(255, 176, 0, 0.03);
}

.page-content img {
    max-width: 100%;
    height: auto;
    margin: calc(var(--spacing-unit) * 3) 0;
    border: 1px solid var(--crt-border);
    box-shadow: var(--shadow-subtle);
}

.page-content table {
    width: 100%;
    border-collapse: collapse;
    margin: calc(var(--spacing-unit) * 3) 0;
    border: 1px solid var(--crt-border);
}

.page-content table th,
.page-content table td {
    padding: calc(var(--spacing-unit) * 1.5);
    border: 1px solid var(--crt-border);
    text-align: left;
}

.page-content table th {
    background: var(--crt-elevated);
    color: var(--crt-green);
    font-weight: 600;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* CMS page content — service grids etc inside page content */
.page-content .hero-section,
.page-content .hero-title {
    font-size: 24px;
    padding: calc(var(--spacing-unit) * 2);
    text-align: left;
}

.page-content .hero-subtitle {
    font-size: 14px;
    color: var(--crt-text);
}

.page-content .services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: calc(var(--spacing-unit) * 2);
    margin: calc(var(--spacing-unit) * 3) 0;
}

.page-content .service-card {
    background: var(--crt-elevated);
    border: 1px solid var(--crt-border);
    padding: calc(var(--spacing-unit) * 3);
    transition: all var(--transition-base);
}

.page-content .service-card:hover {
    border-color: var(--crt-border-bright);
    box-shadow: 0 0 15px rgba(0, 255, 65, 0.04);
}

.page-content .service-card h3 {
    color: var(--crt-text-bright);
    font-size: 18px;
    margin-top: calc(var(--spacing-unit) * 1);
}

.page-content .service-card p {
    color: var(--crt-text);
    font-size: 13px;
}

.page-content .service-icon {
    font-size: 28px;
    margin-bottom: calc(var(--spacing-unit) * 1);
}

.page-content .feature-list {
    list-style: none;
    padding: 0;
}

.page-content .feature-list li {
    padding-left: 20px;
    position: relative;
}

.page-content .feature-list li::before {
    content: '>';
    position: absolute;
    left: 0;
    color: var(--crt-green-dim);
    font-family: var(--font-terminal);
}

.page-content .feature-list li::marker {
    content: '';
}

/* CTA sections in page content */
.page-content .cta-section {
    background: rgba(0, 255, 65, 0.03);
    border: 1px solid var(--crt-border);
    padding: calc(var(--spacing-unit) * 4);
    text-align: center;
    margin: calc(var(--spacing-unit) * 4) 0;
}

.page-content .btn {
    font-family: var(--font-mono);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 12px;
    padding: 12px 28px;
    text-decoration: none;
    display: inline-block;
    transition: all var(--transition-base);
}

.page-content .btn-primary {
    background: var(--crt-green);
    color: var(--crt-black);
    border: 1px solid var(--crt-green);
}

.page-content .btn-primary:hover {
    background: var(--crt-green-bright);
    box-shadow: 0 0 20px rgba(0, 255, 65, 0.3);
}

/* Tech stack sections */
.page-content .tech-stack-section {
    background: var(--crt-elevated);
    border: 1px solid var(--crt-border);
    padding: calc(var(--spacing-unit) * 3);
    margin: calc(var(--spacing-unit) * 3) 0;
}

/* Forge/audit detail sections */
.page-content .forge-details,
.page-content .audit-details,
.page-content .command-section,
.page-content .about-section {
    color: var(--crt-text);
}

.page-content .forge-output,
.page-content .audit-output {
    background: rgba(0, 255, 65, 0.03);
    border: 1px solid var(--crt-border);
    padding: calc(var(--spacing-unit) * 3);
    margin: calc(var(--spacing-unit) * 3) 0;
}

/* ==========================================================================
   FEATURED ARTICLE — Homepage spotlight
   ========================================================================== */

.featured-article-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    background: var(--crt-card);
    border: 1px solid var(--crt-border);
    overflow: hidden;
    text-decoration: none;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.featured-article-card:hover {
    border-color: rgba(0, 255, 65, 0.3);
    box-shadow: 0 0 20px rgba(0, 255, 65, 0.08);
}

.featured-article-card.no-image {
    grid-template-columns: 1fr;
}

.featured-article-img {
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: var(--crt-dark);
}

.featured-article-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.featured-article-card:hover .featured-article-img img {
    transform: scale(1.03);
}

.featured-article-body {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

@media (max-width: 768px) {
    .featured-article-card {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   FEATURED IMAGE
   ========================================================================== */

.featured-image-container {
    max-width: 600px;
}

.featured-image-link {
    display: block;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-medium);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border: 1px solid var(--crt-border);
}

.featured-image-link:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow-heavy), 0 0 20px rgba(0, 255, 65, 0.05);
}

.featured-thumbnail {
    width: 100%;
    height: auto;
    max-height: 400px;
    object-fit: cover;
    display: block;
}

.expand-icon {
    position: absolute;
    bottom: 0.5rem;
    right: 0.5rem;
    background: rgba(0, 255, 65, 0.85);
    color: var(--crt-black);
    padding: 0.4rem 0.6rem;
    font-size: 0.8rem;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.featured-image-link:hover .expand-icon {
    opacity: 1;
}

.image-caption {
    margin-top: calc(var(--spacing-unit) * 1);
    font-size: 11px;
    color: var(--crt-text-muted);
    font-style: italic;
    font-family: var(--font-mono);
    text-align: center;
}

/* ==========================================================================
   LIGHTBOX
   ========================================================================== */

.lightbox {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.92);
    cursor: pointer;
    animation: lightbox-in 0.2s ease;
}

@keyframes lightbox-in {
    from { opacity: 0; }
    to { opacity: 1; }
}

.lightbox-close {
    position: absolute;
    top: 1rem;
    right: 2rem;
    color: var(--crt-green);
    font-size: 2.5rem;
    font-weight: bold;
    cursor: pointer;
    z-index: 10000;
    transition: text-shadow 0.2s ease;
    text-shadow: 0 0 8px rgba(0, 255, 65, 0.3);
}

.lightbox-close:hover {
    text-shadow: var(--crt-green-glow-strong);
}

.lightbox-content {
    display: block;
    margin: auto;
    max-width: 90%;
    max-height: 85vh;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 40px rgba(0, 0, 0, 0.5);
    cursor: default;
    animation: lightbox-zoom 0.2s ease;
    border: 1px solid var(--crt-border);
}

@keyframes lightbox-zoom {
    from { transform: translate(-50%, -50%) scale(0.95); opacity: 0; }
    to { transform: translate(-50%, -50%) scale(1); opacity: 1; }
}

.lightbox-caption {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    color: var(--crt-text);
    text-align: center;
    padding: 0.5rem 1rem;
    background: rgba(0, 0, 0, 0.7);
    border: 1px solid var(--crt-border);
    max-width: 80%;
    font-family: var(--font-mono);
    font-size: 12px;
}

/* ==========================================================================
   HOMEPAGE CARD
   ========================================================================== */

.card {
    background: var(--crt-surface) !important;
    border: 1px solid var(--crt-border) !important;
    color: var(--crt-text) !important;
    border-radius: 0 !important;
    box-shadow: var(--shadow-subtle);
}

.card::before {
    display: none;
}

.card:hover {
    transform: none;
    border-color: var(--crt-border-bright) !important;
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */

@media (max-width: 968px) {
    .hero-section {
        padding: calc(var(--spacing-unit) * 6) 0 calc(var(--spacing-unit) * 4);
    }

    .hero-section-content {
        padding: calc(var(--spacing-unit) * 3) 0 calc(var(--spacing-unit) * 2);
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: calc(var(--spacing-unit) * 3);
    }

    .hero-cta {
        flex-direction: column;
        align-items: stretch;
    }

    .cta-button {
        justify-content: center;
    }

    .tech-stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .stat-item {
        border-right: none;
        border-bottom: 1px solid var(--crt-border);
    }

    .stat-item:nth-child(odd) {
        border-right: 1px solid var(--crt-border);
    }

    .stat-item:nth-last-child(-n+2) {
        border-bottom: none;
    }
}

@media (max-width: 640px) {
    .hero-section {
        padding: calc(var(--spacing-unit) * 4) 0 calc(var(--spacing-unit) * 3);
    }

    .hero-section-content {
        padding: calc(var(--spacing-unit) * 2) 0 calc(var(--spacing-unit) * 1);
    }

    .hero-title {
        padding: calc(var(--spacing-unit) * 1.5) calc(var(--spacing-unit) * 2);
        font-size: clamp(1.6rem, 6vw, 2.5rem);
    }

    .hero-meta {
        flex-direction: column;
        gap: calc(var(--spacing-unit) * 1);
    }

    .hero-system-line {
        font-size: 0.8rem;
    }

    .tech-stats {
        grid-template-columns: 1fr;
    }

    .stat-item {
        border-right: none !important;
    }

    .featured-image-container {
        max-width: 100%;
    }

    .featured-thumbnail {
        max-height: 250px;
    }

    .lightbox-close {
        top: 0.5rem;
        right: 1rem;
        font-size: 2rem;
    }

    .hero-description {
        padding: calc(var(--spacing-unit) * 2);
    }
}

/* ========================================
   AI DISPATCH — Primary CTA Section
   ======================================== */

.dispatch-section {
    padding: 80px 0 64px;
}

.dispatch-card {
    background: var(--crt-surface);
    border: 1px solid var(--crt-border);
    border-left: 3px solid var(--crt-amber);
    padding: 40px;
    position: relative;
}

.dispatch-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.dispatch-label {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--crt-amber);
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.dispatch-badge {
    font-family: var(--font-terminal);
    font-size: 1.2rem;
    color: var(--crt-green);
    text-shadow: var(--crt-green-glow);
}

.dispatch-content {
    display: flex;
    gap: 48px;
    align-items: flex-start;
}

.dispatch-text {
    flex: 1;
}

.dispatch-title {
    font-family: var(--font-terminal);
    font-size: 2.2rem;
    color: var(--crt-green);
    text-shadow: var(--crt-green-glow);
    letter-spacing: 0.05em;
    margin: 0 0 8px;
}

.dispatch-title .bracket {
    color: var(--crt-text-dim);
}

.dispatch-subtitle {
    font-family: var(--font-mono);
    font-size: 0.9rem;
    color: var(--crt-amber);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin: 0 0 20px;
}

.dispatch-description {
    font-family: var(--font-mono);
    font-size: 0.9rem;
    color: var(--crt-text);
    line-height: 1.7;
    border-left: 2px solid var(--crt-border-bright);
    padding-left: 16px;
    margin: 0 0 24px;
}

.dispatch-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.dispatch-features li {
    font-family: var(--font-mono);
    font-size: 0.825rem;
    color: var(--crt-text-dim);
    padding: 6px 0;
}

.dispatch-features li::before {
    content: "> ";
    color: var(--crt-amber);
    font-weight: 700;
}

.dispatch-action {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding-top: 32px;
}

.dispatch-cta {
    padding: 18px 40px !important;
    font-size: 1rem !important;
    white-space: nowrap;
}

.dispatch-price {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--crt-text-muted);
    letter-spacing: 0.05em;
    margin: 0;
}

@media (max-width: 768px) {
    .dispatch-card {
        padding: 24px;
    }

    .dispatch-content {
        flex-direction: column;
        gap: 32px;
    }

    .dispatch-action {
        align-items: stretch;
        padding-top: 0;
    }

    .dispatch-title {
        font-size: 1.6rem;
    }
}

/* ========================================
   BLUE NOTE LOGIC / CAVEAUAI Section
   ======================================== */

.bnl-section {
    padding: 64px 0;
}

.bnl-card {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    background: var(--crt-surface);
    border: 1px solid rgba(0, 212, 255, 0.15);
    padding: 48px 40px;
    position: relative;
}

.bnl-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--crt-cyan), transparent);
}

.bnl-label {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--crt-cyan);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.bnl-title {
    font-family: var(--font-terminal);
    font-size: 2rem;
    color: var(--crt-cyan);
    text-shadow: 0 0 10px rgba(0, 212, 255, 0.4);
    letter-spacing: 0.05em;
    margin: 0 0 20px;
}

.bnl-description {
    font-family: var(--font-mono);
    font-size: 0.875rem;
    color: var(--crt-text);
    line-height: 1.7;
    margin: 0 0 32px;
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
}

.bnl-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 32px;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
}

.bnl-feature {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--crt-text-dim);
    text-align: left;
}

.bnl-feature i {
    color: var(--crt-cyan);
    font-size: 0.9rem;
    width: 20px;
    text-align: center;
    flex-shrink: 0;
}

.bnl-cta {
    border-color: var(--crt-cyan) !important;
    color: var(--crt-cyan) !important;
}

.bnl-cta:hover {
    background: rgba(0, 212, 255, 0.1) !important;
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.2) !important;
}

@media (max-width: 640px) {
    .bnl-card {
        padding: 32px 24px;
    }

    .bnl-features {
        grid-template-columns: 1fr;
    }

    .bnl-title {
        font-size: 1.5rem;
    }
}

/* ========================================
   ENGINE ROOM — Tool Grid
   ======================================== */

.engine-section {
    padding: 64px 0;
}

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

.engine-label {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--crt-amber);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.engine-title {
    font-family: var(--font-terminal);
    font-size: 2rem;
    color: var(--crt-green);
    text-shadow: var(--crt-green-glow);
    letter-spacing: 0.05em;
    margin: 0 0 12px;
}

.engine-description {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: var(--crt-text-dim);
    margin: 0;
}

.engine-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--crt-border);
    border: 1px solid var(--crt-border);
}

.engine-item {
    background: var(--crt-surface);
    padding: 24px;
}

.engine-icon {
    font-size: 1.2rem;
    color: var(--crt-green);
    margin-bottom: 12px;
}

.engine-item h3 {
    font-family: var(--font-terminal);
    font-size: 1.1rem;
    color: var(--crt-text-bright);
    letter-spacing: 0.05em;
    margin: 0 0 8px;
}

.engine-item p {
    font-family: var(--font-mono);
    font-size: 0.775rem;
    color: var(--crt-text-dim);
    line-height: 1.5;
    margin: 0;
}

@media (max-width: 968px) {
    .engine-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

/* ========================================
   STATS SECTION (standalone)
   ======================================== */

.stats-section {
    padding: 48px 0;
}

/* ========================================
   THE NETWORK — Entity Relationship
   ======================================== */

.network-section {
    padding: 64px 0;
}

.network-header {
    text-align: center;
    margin-bottom: 48px;
}

.network-label {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--crt-amber);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.network-title {
    font-family: var(--font-terminal);
    font-size: 2rem;
    color: var(--crt-green);
    text-shadow: var(--crt-green-glow);
    letter-spacing: 0.05em;
    margin: 0 0 16px;
}

.network-description {
    font-family: var(--font-mono);
    font-size: 0.875rem;
    color: var(--crt-text);
    line-height: 1.7;
    max-width: 700px;
    margin: 0 auto;
}

.network-grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 0;
    align-items: center;
    margin-bottom: 40px;
}

.network-entity {
    background: var(--crt-surface);
    border: 1px solid var(--crt-border);
    padding: 32px 28px;
    position: relative;
}

/* Corner brackets — reuse service-module pattern */
.network-entity::before,
.network-entity::after {
    content: "";
    position: absolute;
    width: 16px;
    height: 16px;
    border-color: var(--crt-green);
    border-style: solid;
    transition: all 0.3s ease;
}

.network-entity::before {
    top: -1px;
    left: -1px;
    border-width: 2px 0 0 2px;
}

.network-entity::after {
    bottom: -1px;
    right: -1px;
    border-width: 0 2px 2px 0;
}

.network-entity:hover::before,
.network-entity:hover::after {
    width: 24px;
    height: 24px;
}

.network-entity--gt {
    border-top: 2px solid var(--crt-green);
}

.network-entity--gt::before,
.network-entity--gt::after {
    border-color: var(--crt-green);
}

.network-entity--bnl {
    border-top: 2px solid var(--crt-cyan);
}

.network-entity--bnl::before,
.network-entity--bnl::after {
    border-color: var(--crt-cyan);
}

.network-entity-icon {
    font-size: 1.5rem;
    margin-bottom: 16px;
}

.network-entity--gt .network-entity-icon {
    color: var(--crt-green);
}

.network-entity--bnl .network-entity-icon {
    color: var(--crt-cyan);
}

.network-entity-badge {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    padding: 3px 10px;
    margin-bottom: 12px;
}

.network-entity--gt .network-entity-badge {
    color: var(--crt-green);
    border: 1px solid rgba(0, 255, 65, 0.3);
    background: rgba(0, 255, 65, 0.05);
}

.network-entity--bnl .network-entity-badge {
    color: var(--crt-cyan);
    border: 1px solid rgba(0, 212, 255, 0.3);
    background: rgba(0, 212, 255, 0.05);
}

.network-entity-name {
    font-family: var(--font-terminal);
    font-size: 1.4rem;
    color: var(--crt-text-bright);
    letter-spacing: 0.05em;
    margin: 0 0 4px;
}

.network-entity-type {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--crt-text-muted);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin: 0 0 16px;
}

.network-entity-desc {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--crt-text-dim);
    line-height: 1.6;
    margin: 0 0 20px;
}

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

.network-entity-meta span {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--crt-text-muted);
    letter-spacing: 0.05em;
}

.network-entity-meta i {
    width: 16px;
    text-align: center;
    margin-right: 6px;
    font-size: 0.7rem;
}

.network-entity--gt .network-entity-meta i {
    color: var(--crt-green-dim);
}

.network-entity--bnl .network-entity-meta i {
    color: var(--crt-cyan-dim);
}

/* Connector between entities */
.network-connector {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 24px;
    min-height: 200px;
}

.network-connector-line {
    flex: 1;
    width: 2px;
    background: linear-gradient(180deg, var(--crt-green), var(--crt-cyan));
    opacity: 0.4;
}

.network-connector-node {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 16px 0;
}

.network-connector-node i {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 2px solid;
    border-image: linear-gradient(135deg, var(--crt-green), var(--crt-cyan)) 1;
    border-image-slice: 1;
    color: var(--crt-amber);
    font-size: 1.1rem;
    background: var(--crt-dark);
}

.network-connector-node span {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--crt-amber);
    letter-spacing: 0.05em;
    text-align: center;
    white-space: nowrap;
}

.network-tagline {
    text-align: center;
    margin-bottom: 24px;
}

.network-tagline p {
    font-family: var(--font-mono);
    font-size: 0.875rem;
    color: var(--crt-text-dim);
    font-style: italic;
    letter-spacing: 0.05em;
    margin: 0;
}

.network-cta {
    display: flex;
    margin: 0 auto;
    width: fit-content;
}

/* Network responsive */
@media (max-width: 968px) {
    .network-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .network-connector {
        flex-direction: row;
        min-height: auto;
        padding: 16px 0;
        width: 100%;
    }

    .network-connector-line {
        flex: 1;
        height: 2px;
        width: auto;
        background: linear-gradient(90deg, var(--crt-green), var(--crt-cyan));
    }

    .network-connector-node {
        flex-direction: row;
        padding: 0 16px;
    }

    .network-title {
        font-size: 1.5rem;
    }
}

@media (max-width: 640px) {
    .network-entity {
        padding: 24px 20px;
    }

    .network-connector-node span {
        font-size: 0.6rem;
    }
}

/* ========================================
   ABOUT PAGE — Entity Relationship Sections
   ======================================== */

.about-hero {
    padding: 64px 0 32px;
    text-align: center;
}

.about-hero-label {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--crt-green-dim);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.about-hero-title {
    font-family: var(--font-terminal);
    font-size: 2.5rem;
    color: var(--crt-green);
    text-shadow: var(--crt-green-glow);
    letter-spacing: 0.08em;
    margin: 0 0 16px;
}

.about-hero-desc {
    font-family: var(--font-mono);
    font-size: 0.95rem;
    color: var(--crt-text);
    line-height: 1.7;
    max-width: 640px;
    margin: 0 auto;
}

/* Founder section */
.about-founder-section {
    padding: 48px 0;
}

.about-founder-label {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--crt-amber);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.about-founder-card {
    background: var(--crt-surface);
    border: 1px solid var(--crt-border);
    border-left: 3px solid var(--crt-amber);
    padding: 36px 32px;
    display: flex;
    gap: 32px;
    align-items: flex-start;
    max-width: 800px;
}

.about-founder-avatar {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: var(--crt-dark);
    border: 2px solid var(--crt-amber);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--crt-amber);
    font-size: 1.5rem;
}

.about-founder-info h3 {
    font-family: var(--font-terminal);
    font-size: 1.4rem;
    color: var(--crt-text-bright);
    letter-spacing: 0.05em;
    margin: 0 0 4px;
}

.about-founder-info .about-founder-role {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--crt-amber);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin: 0 0 16px;
    display: block;
}

.about-founder-info .about-founder-bio {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: var(--crt-text-dim);
    line-height: 1.7;
    margin: 0 0 20px;
}

.about-founder-links {
    display: flex;
    gap: 16px;
}

.about-founder-links a {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--crt-amber);
    text-decoration: none;
    letter-spacing: 0.05em;
    transition: var(--transition-fast);
}

.about-founder-links a:hover {
    color: var(--crt-amber-bright);
    text-shadow: 0 0 8px rgba(255, 176, 0, 0.3);
}

/* Entity cards section */
.about-entities-section {
    padding: 48px 0;
}

.about-entities-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.about-entity-card {
    background: var(--crt-surface);
    border: 1px solid var(--crt-border);
    padding: 32px 28px;
    position: relative;
}

.about-entity-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
}

.about-entity-card--gt::before {
    background: linear-gradient(90deg, var(--crt-green), transparent);
}

.about-entity-card--bnl::before {
    background: linear-gradient(90deg, var(--crt-cyan), transparent);
}

.about-entity-card .entity-label {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.about-entity-card--gt .entity-label {
    color: var(--crt-green-dim);
}

.about-entity-card--bnl .entity-label {
    color: var(--crt-cyan-dim);
}

.about-entity-card h3 {
    font-family: var(--font-terminal);
    font-size: 1.5rem;
    color: var(--crt-text-bright);
    letter-spacing: 0.05em;
    margin: 0 0 4px;
}

.about-entity-card .entity-type {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--crt-text-muted);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin: 0 0 8px;
    display: block;
}

.about-entity-card .entity-meta {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--crt-text-muted);
    margin: 0 0 16px;
}

.about-entity-card .entity-desc {
    font-family: var(--font-mono);
    font-size: 0.825rem;
    color: var(--crt-text-dim);
    line-height: 1.6;
    margin: 0 0 20px;
}

.about-entity-card h4 {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--crt-text);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin: 0 0 12px;
}

.about-entity-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
    border-left: 2px solid var(--crt-border);
    padding-left: 16px;
}

.about-entity-card--gt ul {
    border-color: rgba(0, 255, 65, 0.2);
}

.about-entity-card--bnl ul {
    border-color: rgba(0, 212, 255, 0.2);
}

.about-entity-card li {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--crt-text-dim);
    padding: 4px 0;
}

.about-entity-card li::before {
    content: "> ";
    color: var(--crt-text-muted);
}

/* Why Two Companies section */
.about-why-section {
    padding: 48px 0;
}

.about-why-header {
    margin-bottom: 32px;
}

.about-why-header .about-why-label {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--crt-amber);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.about-why-header h2 {
    font-family: var(--font-terminal);
    font-size: 1.8rem;
    color: var(--crt-green);
    text-shadow: var(--crt-green-glow);
    letter-spacing: 0.05em;
    margin: 0 0 12px;
}

.about-why-header p {
    font-family: var(--font-mono);
    font-size: 0.875rem;
    color: var(--crt-text-dim);
    margin: 0;
}

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

.about-why-card {
    background: var(--crt-surface);
    border: 1px solid var(--crt-border);
    border-left: 3px solid var(--crt-amber);
    padding: 28px 24px;
}

.about-why-card h3 {
    font-family: var(--font-terminal);
    font-size: 1.1rem;
    color: var(--crt-text-bright);
    letter-spacing: 0.05em;
    margin: 0 0 12px;
}

.about-why-card p {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--crt-text-dim);
    line-height: 1.6;
    margin: 0;
}

/* How It Works flow */
.about-flow-section {
    padding: 48px 0;
}

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

.about-flow-header .about-flow-label {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--crt-green-dim);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.about-flow-header h2 {
    font-family: var(--font-terminal);
    font-size: 1.8rem;
    color: var(--crt-green);
    text-shadow: var(--crt-green-glow);
    letter-spacing: 0.05em;
    margin: 0;
}

.about-flow-grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr;
    gap: 0;
    align-items: center;
}

.about-flow-step {
    background: var(--crt-surface);
    border: 1px solid var(--crt-border);
    padding: 28px 24px;
    text-align: center;
}

.about-flow-step .step-number {
    font-family: var(--font-terminal);
    font-size: 1.5rem;
    color: var(--crt-green);
    text-shadow: var(--crt-green-glow);
    margin-bottom: 12px;
}

.about-flow-step h3 {
    font-family: var(--font-terminal);
    font-size: 1.05rem;
    color: var(--crt-text-bright);
    letter-spacing: 0.05em;
    margin: 0 0 10px;
}

.about-flow-step p {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--crt-text-dim);
    line-height: 1.6;
    margin: 0;
}

.about-flow-arrow {
    font-family: var(--font-terminal);
    font-size: 1.5rem;
    color: var(--crt-green-dim);
    padding: 0 12px;
    opacity: 0.5;
}

/* About CTA section */
.about-cta-section {
    padding: 48px 0 64px;
    text-align: center;
}

.about-cta-section h2 {
    font-family: var(--font-terminal);
    font-size: 1.8rem;
    color: var(--crt-green);
    text-shadow: var(--crt-green-glow);
    letter-spacing: 0.05em;
    margin: 0 0 12px;
}

.about-cta-section p {
    font-family: var(--font-mono);
    font-size: 0.875rem;
    color: var(--crt-text-dim);
    margin: 0 0 32px;
}

.about-cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
}

/* About page responsive */
@media (max-width: 968px) {
    .about-entities-grid {
        grid-template-columns: 1fr;
    }

    .about-why-grid {
        grid-template-columns: 1fr;
    }

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

    .about-flow-arrow {
        transform: rotate(90deg);
        padding: 8px 0;
        text-align: center;
    }

    .about-founder-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .about-founder-links {
        justify-content: center;
    }
}

@media (max-width: 640px) {
    .about-hero-title {
        font-size: 1.8rem;
    }

    .about-founder-card {
        padding: 28px 20px;
    }

    .about-entity-card {
        padding: 24px 20px;
    }

    .about-why-card {
        padding: 20px 16px;
    }

.about-cta-buttons {
        flex-direction: column;
        align-items: center;
    }
}

/* ==========================================================================
   PAGE HOME - EDITORIAL CONSULTING REFRAME
   ========================================================================== */

body.page-home {
    --crt-black: #0a1220;
    --crt-dark: #0f1728;
    --crt-surface: rgba(15, 23, 40, 0.82);
    --crt-elevated: rgba(20, 31, 54, 0.94);
    --crt-card: rgba(17, 26, 44, 0.9);
    --crt-green: #d8e6ff;
    --crt-green-bright: #f4f7ff;
    --crt-green-dim: #8ca8cf;
    --crt-green-muted: #60779d;
    --crt-green-subtle: rgba(216, 230, 255, 0.08);
    --crt-green-glow: none;
    --crt-green-glow-strong: none;
    --crt-amber: #d8a46e;
    --crt-amber-bright: #ebc090;
    --crt-amber-dim: #b37d4b;
    --crt-amber-glow: none;
    --crt-cyan: #89c3c8;
    --crt-cyan-dim: #5e9ea4;
    --crt-cyan-glow: none;
    --crt-text: #d7deea;
    --crt-text-bright: #f4f7fb;
    --crt-text-dim: #9eabc1;
    --crt-text-muted: #78849b;
    --crt-border: rgba(177, 193, 222, 0.14);
    --crt-border-bright: rgba(214, 227, 251, 0.26);
    --crt-border-amber: rgba(216, 164, 110, 0.26);
    --shadow-subtle: 0 14px 40px rgba(4, 10, 21, 0.24);
    --shadow-medium: 0 24px 60px rgba(4, 10, 21, 0.34);
    --font-display: 'Fraunces', Georgia, serif;
    --font-body-home: 'IBM Plex Sans', 'Segoe UI', sans-serif;
    font-family: var(--font-body-home);
    background:
        radial-gradient(circle at top left, rgba(137, 195, 200, 0.1), transparent 30%),
        radial-gradient(circle at top right, rgba(216, 164, 110, 0.12), transparent 35%),
        linear-gradient(180deg, #0a1220 0%, #0d1626 48%, #0b111d 100%);
}

.page-home .bg-grid {
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 48px 48px;
    opacity: 0.25;
}

.page-home .bg-gradient {
    background:
        radial-gradient(circle at 20% 20%, rgba(216, 164, 110, 0.1), transparent 28%),
        radial-gradient(circle at 80% 0%, rgba(137, 195, 200, 0.12), transparent 30%),
        linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.38));
}

.page-home .nordic-header {
    background: rgba(10, 18, 32, 0.78);
    border-bottom-color: rgba(216, 226, 245, 0.08);
    box-shadow: 0 12px 32px rgba(4, 10, 21, 0.18);
}

.page-home .logo-link {
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 600;
    color: var(--crt-text-bright);
    text-shadow: none;
    letter-spacing: 0.01em;
}

.page-home .logo-bracket,
.page-home .logo-accent {
    color: var(--crt-amber);
    text-shadow: none;
}

.page-home .logo-link:hover,
.page-home .logo-link:hover .logo-bracket {
    color: var(--crt-text-bright);
}

.page-home .nordic-nav .nav-link,
.page-home .lang-active-btn,
.page-home .lang-link,
.page-home .footer-link,
.page-home .footer-link-small,
.page-home .copyright,
.page-home .footer-tagline,
.page-home .footer-meta,
.page-home .footer-link-primary {
    font-family: var(--font-body-home);
}

.page-home .nordic-nav .nav-link {
    font-size: 0.66rem;
    letter-spacing: 0.12em;
    color: var(--crt-text-dim);
}

.page-home .nav-link:hover,
.page-home .nav-link.active {
    color: var(--crt-text-bright);
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.08);
    text-shadow: none;
}

.page-home .nav-indicator {
    color: var(--crt-amber);
}

.page-home .lang-active-btn,
.page-home .lang-link {
    color: var(--crt-text-bright);
    border-color: rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.02);
}

.page-home .lang-active-btn:hover,
.page-home .lang-link:hover,
.page-home .language-selector.open .lang-active-btn,
.page-home .lang-link.active {
    background: rgba(216, 164, 110, 0.12);
    border-color: rgba(216, 164, 110, 0.24);
    color: var(--crt-text-bright);
    text-shadow: none;
}

.page-home .lang-dropdown {
    background: rgba(10, 18, 32, 0.96);
    border-color: rgba(216, 226, 245, 0.1);
    box-shadow: 0 18px 40px rgba(4, 10, 21, 0.3);
}

.page-home .mobile-menu-toggle {
    border-color: rgba(216, 226, 245, 0.1);
}

.page-home .mobile-menu-icon span {
    background: var(--crt-text-bright);
    box-shadow: none;
}

.page-home .home-hero,
.page-home .home-offers,
.page-home .home-dispatch,
.page-home .home-network,
.page-home .home-platform,
.page-home .home-engine,
.page-home .home-journal {
    position: relative;
    z-index: 1;
}

.page-home .home-hero {
    padding: 4rem 0 2.5rem;
}

.page-home .home-hero__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(320px, 0.9fr);
    gap: 2rem;
    align-items: stretch;
}

.page-home .home-hero__content,
.page-home .home-panel,
.page-home .home-offer-card,
.page-home .home-dispatch__shell,
.page-home .home-network-card,
.page-home .home-network__bridge,
.page-home .home-platform__grid,
.page-home .home-engine__frame,
.page-home .home-featured-story,
.page-home .home-news-card {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01)),
        rgba(10, 18, 32, 0.6);
    border: 1px solid rgba(216, 226, 245, 0.1);
    box-shadow: var(--shadow-subtle);
    backdrop-filter: blur(12px);
}

.page-home .home-hero__content {
    padding: clamp(2rem, 4vw, 3.5rem);
    min-height: 100%;
}

.page-home .home-hero__eyebrow-row,
.page-home .home-section-heading span,
.page-home .home-dispatch__label,
.page-home .home-platform__content > span,
.page-home .home-engine__intro span {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.page-home .home-hero__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.55rem 0.85rem;
    border: 1px solid rgba(216, 164, 110, 0.22);
    background: rgba(216, 164, 110, 0.08);
    color: var(--crt-amber-bright);
    font-family: var(--font-mono);
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.page-home .home-hero__eyebrow--soft {
    border-color: rgba(137, 195, 200, 0.2);
    background: rgba(137, 195, 200, 0.08);
    color: #b9e3e6;
}

.page-home .home-hero__title {
    font-family: var(--font-display);
    font-size: clamp(3rem, 6vw, 5.5rem);
    line-height: 0.95;
    color: var(--crt-text-bright);
    letter-spacing: -0.03em;
    margin: 1.5rem 0 1rem;
    max-width: 11ch;
}

.page-home .home-hero__title span {
    display: block;
    color: #b9e3e6;
    font-size: 0.8em;
    font-weight: 500;
}

.page-home .home-hero__deck,
.page-home .home-section-heading p,
.page-home .home-panel__header p,
.page-home .home-offer-card__description,
.page-home .home-dispatch__description,
.page-home .home-network-card__description,
.page-home .home-network__bridge p,
.page-home .home-platform__content p,
.page-home .home-engine__intro p,
.page-home .home-engine-card p,
.page-home .home-featured-story__body p,
.page-home .home-news-card p {
    font-family: var(--font-body-home);
    font-size: 1rem;
    line-height: 1.75;
    color: var(--crt-text-dim);
}

.page-home .home-hero__actions,
.page-home .home-platform__actions,
.page-home .home-journal__footer {
    display: flex;
    gap: 0.9rem;
    flex-wrap: wrap;
    margin-top: 1.8rem;
}

.page-home .home-button,
.page-home .home-text-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    padding: 0.95rem 1.4rem;
    text-decoration: none;
    transition: transform var(--transition-base), background var(--transition-base), border-color var(--transition-base), color var(--transition-base), box-shadow var(--transition-base);
}

.page-home .home-button {
    border: 1px solid transparent;
    font-family: var(--font-body-home);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.page-home .home-button:hover,
.page-home .home-text-link:hover {
    transform: translateY(-2px);
}

.page-home .home-button--primary {
    background: linear-gradient(135deg, #f1d5b7, #d8a46e);
    color: #291e14;
    box-shadow: 0 18px 28px rgba(216, 164, 110, 0.16);
}

.page-home .home-button--secondary,
.page-home .home-button--ghost {
    background: rgba(255, 255, 255, 0.02);
    border-color: rgba(216, 226, 245, 0.12);
    color: var(--crt-text-bright);
}

.page-home .home-button--secondary:hover,
.page-home .home-button--ghost:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(216, 226, 245, 0.2);
}

.page-home .home-text-link {
    width: fit-content;
    padding: 0;
    color: #b9e3e6;
    font-family: var(--font-mono);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    border-bottom: 1px solid rgba(185, 227, 230, 0.5);
}

.page-home .home-hero__summary {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 2rem;
}

.page-home .home-summary-card {
    padding: 1rem;
    border-top: 1px solid rgba(216, 226, 245, 0.12);
    background: rgba(255, 255, 255, 0.02);
}

.page-home .home-summary-card__label,
.page-home .home-panel__kicker,
.page-home .home-offer-card__number,
.page-home .home-network-card__badge,
.page-home .home-featured-story__badge,
.page-home .home-news-card__meta,
.page-home .home-panel-offer__number {
    font-family: var(--font-mono);
    font-size: 0.66rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.page-home .home-summary-card__label {
    display: block;
    color: var(--crt-amber-bright);
    margin-bottom: 0.55rem;
}

.page-home .home-summary-card p {
    margin: 0;
    color: var(--crt-text);
    font-size: 0.9rem;
    line-height: 1.65;
}

.page-home .home-panel {
    display: flex;
    flex-direction: column;
    padding: 1.5rem;
    min-height: 100%;
}

.page-home .home-panel__header h2,
.page-home .home-section-heading h2,
.page-home .home-dispatch__content h2,
.page-home .home-platform__content h2,
.page-home .home-engine__intro h2 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.05;
    color: var(--crt-text-bright);
    margin: 0.55rem 0 0.85rem;
    letter-spacing: -0.02em;
}

.page-home .home-panel__kicker,
.page-home .home-section-heading span,
.page-home .home-dispatch__label,
.page-home .home-platform__content > span,
.page-home .home-engine__intro span {
    color: #b9e3e6;
}

.page-home .home-panel__offers {
    display: grid;
    gap: 0.8rem;
    margin-top: 1.4rem;
}

.page-home .home-panel__art {
    margin: 1.2rem 0 0;
    overflow: hidden;
    border: 1px solid rgba(216, 226, 245, 0.08);
    background: rgba(255, 255, 255, 0.02);
    border-radius: 1.05rem;
}

.page-home .home-panel__art img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 16 / 10;
    max-height: 14.5rem;
}

.page-home .home-panel-offer {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.95rem;
    align-items: start;
    padding: 1rem;
    text-decoration: none;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(216, 226, 245, 0.08);
    transition: transform var(--transition-base), border-color var(--transition-base), background var(--transition-base);
}

.page-home .home-panel-offer:hover {
    transform: translateY(-2px);
    border-color: rgba(216, 164, 110, 0.2);
    background: rgba(216, 164, 110, 0.06);
}

.page-home .home-panel-offer__number {
    color: var(--crt-amber-bright);
    min-width: 2rem;
}

.page-home .home-panel-offer__body strong,
.page-home .home-offer-card h3,
.page-home .home-network-card h3,
.page-home .home-featured-story__body h3,
.page-home .home-news-card h3,
.page-home .home-engine-card h3 {
    display: block;
    font-family: var(--font-display);
    font-size: 1.35rem;
    line-height: 1.15;
    color: var(--crt-text-bright);
    margin-bottom: 0.45rem;
}

.page-home .home-panel-offer__body p {
    margin: 0;
    color: var(--crt-text-dim);
    font-size: 0.88rem;
    line-height: 1.65;
}

.page-home .home-panel__footer {
    display: grid;
    gap: 0.75rem;
    margin-top: auto;
    padding-top: 1.3rem;
}

.page-home .home-panel__meta {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding-top: 0.9rem;
    border-top: 1px solid rgba(216, 226, 245, 0.08);
    color: var(--crt-text-dim);
    font-size: 0.82rem;
}

.page-home .home-panel__meta a,
.page-home .home-network__links a {
    color: #f1d5b7;
    text-decoration: none;
}

.page-home .home-offers,
.page-home .home-dispatch,
.page-home .home-network,
.page-home .home-platform,
.page-home .home-engine,
.page-home .home-journal {
    padding: 1.25rem 0 2rem;
}

.page-home .home-section-heading {
    max-width: 700px;
    margin-bottom: 1.8rem;
}

.page-home .home-offers__grid,
.page-home .home-engine__grid,
.page-home .home-news-grid {
    display: grid;
    gap: 1.25rem;
}

.page-home .home-offers__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.page-home .home-offer-card {
    display: flex;
    flex-direction: column;
    padding: 1.5rem;
}

.page-home .home-offer-card--featured {
    border-color: rgba(216, 164, 110, 0.22);
    background:
        linear-gradient(180deg, rgba(216, 164, 110, 0.12), rgba(255, 255, 255, 0.02)),
        rgba(10, 18, 32, 0.68);
}

.page-home .home-offer-card__top {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.page-home .home-offer-card__number,
.page-home .home-network-card__badge,
.page-home .home-featured-story__badge {
    color: var(--crt-amber-bright);
}

.page-home .home-offer-card__list,
.page-home .home-dispatch__list {
    list-style: none;
    padding: 0;
    margin: 1.1rem 0 1.4rem;
    display: grid;
    gap: 0.75rem;
}

.page-home .home-offer-card__list li,
.page-home .home-dispatch__list li {
    position: relative;
    padding-left: 1.25rem;
    color: var(--crt-text);
    line-height: 1.6;
}

.page-home .home-offer-card__list li::before,
.page-home .home-dispatch__list li::before {
    content: '';
    position: absolute;
    top: 0.55rem;
    left: 0;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--crt-amber), #f1d5b7);
}

.page-home .home-dispatch__shell {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(260px, 0.7fr);
    gap: 1.5rem;
    padding: 1.8rem;
}

.page-home .home-dispatch__subtitle,
.page-home .home-network-card__type {
    color: #b9e3e6;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.page-home .home-dispatch__subtitle {
    margin: 0 0 1rem;
}

.page-home .home-dispatch__cta {
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
    justify-content: center;
    padding: 1.5rem;
    border: 1px solid rgba(216, 226, 245, 0.08);
    background: rgba(255, 255, 255, 0.03);
}

.page-home .home-dispatch__art {
    max-width: 280px;
    margin-top: 0.5rem;
    border-radius: 1rem;
    overflow: hidden;
}

.page-home .home-dispatch__art img {
    aspect-ratio: 5 / 4;
    object-fit: cover;
    max-height: 15.5rem;
}

.page-home .home-dispatch__art .marketing-photo__credit {
    margin-top: 0.75rem;
}

.page-home .home-dispatch__price {
    font-family: var(--font-display);
    font-size: 1.55rem;
    line-height: 1.2;
    color: var(--crt-text-bright);
}

.page-home .home-network__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(240px, 0.6fr) minmax(0, 1fr);
    gap: 1.2rem;
}

.page-home .home-network-card,
.page-home .home-network__bridge {
    padding: 1.6rem;
}

.page-home .home-network-card__type {
    margin: 0 0 0.85rem;
}

.page-home .home-network-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.2rem;
    color: var(--crt-text-muted);
    font-size: 0.82rem;
}

.page-home .home-network-card--accent {
    border-color: rgba(137, 195, 200, 0.18);
}

.page-home .home-network__bridge {
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
}

.page-home .home-network__bridge > span {
    color: var(--crt-amber-bright);
    font-family: var(--font-mono);
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.page-home .home-network__links {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.page-home .home-platform__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto;
    gap: 1.2rem;
    align-items: start;
    padding: 1.7rem;
}

.page-home .home-platform__features {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.8rem;
}

.page-home .home-platform__feature {
    padding: 1rem;
    border: 1px solid rgba(216, 226, 245, 0.08);
    background: rgba(255, 255, 255, 0.03);
    color: var(--crt-text);
    line-height: 1.65;
}

.page-home .home-engine__frame {
    padding: 1.7rem;
}

.page-home .home-engine__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 1.4rem;
}

.page-home .home-engine-card {
    padding: 1.2rem;
    border: 1px solid rgba(216, 226, 245, 0.08);
    background: rgba(255, 255, 255, 0.02);
}

.page-home .home-engine-card h3 {
    font-size: 1.15rem;
}

.page-home .home-stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 1.5rem;
}

.page-home .home-stat {
    padding: 1.15rem;
    background: rgba(255, 255, 255, 0.03);
    border-top: 1px solid rgba(216, 164, 110, 0.22);
}

.page-home .home-stat strong {
    display: block;
    font-family: var(--font-display);
    font-size: 2.1rem;
    line-height: 1;
    color: var(--crt-text-bright);
    margin-bottom: 0.45rem;
}

.page-home .home-stat span {
    color: var(--crt-text-dim);
    font-size: 0.86rem;
    line-height: 1.5;
}

.page-home .home-featured-story {
    display: grid;
    grid-template-columns: minmax(240px, 0.9fr) minmax(0, 1.1fr);
    gap: 0;
    text-decoration: none;
    overflow: hidden;
}

.page-home .home-featured-story--no-image {
    grid-template-columns: 1fr;
}

.page-home .home-featured-story__image {
    min-height: 100%;
}

.page-home .home-featured-story__image img {
    width: 100%;
    height: 100%;
    min-height: 100%;
    object-fit: cover;
    display: block;
}

.page-home .home-featured-story__body {
    padding: 1.7rem;
}

.page-home .home-featured-story__body h3 {
    font-size: clamp(1.7rem, 3vw, 2.4rem);
    margin-top: 0.8rem;
}

.page-home .home-featured-story__meta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 1rem;
    color: var(--crt-text-muted);
    font-size: 0.82rem;
}

.page-home .home-news-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 1.25rem;
}

.page-home .home-news-card {
    display: block;
    padding: 1.3rem;
    text-decoration: none;
}

.page-home .home-news-card__meta {
    display: inline-block;
    margin-top: 1rem;
    color: #b9e3e6;
}

.page-home .nordic-footer {
    background: rgba(10, 18, 32, 0.82);
    border-top-color: rgba(216, 226, 245, 0.1);
}

.page-home .nordic-footer::before {
    display: none;
}

.page-home .footer-terminal-bar {
    background: rgba(255, 255, 255, 0.03);
    border-bottom-color: rgba(216, 226, 245, 0.08);
    color: var(--crt-text-dim);
    font-family: var(--font-mono);
}

.page-home .footer-terminal-bar::before {
    color: var(--crt-amber);
    text-shadow: none;
}

.page-home .footer-heading,
.page-home .footer-subheading {
    font-family: var(--font-display);
    text-shadow: none;
}

.page-home .footer-heading {
    color: var(--crt-text-bright);
}

.page-home .footer-subheading {
    color: var(--crt-amber);
}

.page-home .footer-link:hover,
.page-home .footer-link-small:hover {
    color: var(--crt-text-bright);
    text-shadow: none;
}

.page-home .footer-link::before {
    color: var(--crt-amber);
}

@media (max-width: 1080px) {
    .page-home .home-hero__grid,
    .page-home .home-dispatch__shell,
    .page-home .home-network__grid,
    .page-home .home-platform__grid {
        grid-template-columns: 1fr;
    }

    .page-home .home-offers__grid,
    .page-home .home-news-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .page-home .home-engine__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .page-home .home-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 720px) {
    .page-home .home-hero {
        padding-top: 2rem;
    }

    .page-home .home-hero__content,
    .page-home .home-panel,
    .page-home .home-offer-card,
    .page-home .home-dispatch__shell,
    .page-home .home-network-card,
    .page-home .home-network__bridge,
    .page-home .home-platform__grid,
    .page-home .home-engine__frame,
    .page-home .home-featured-story__body,
    .page-home .home-news-card {
        padding: 1.25rem;
    }

    .page-home .home-hero__summary,
    .page-home .home-offers__grid,
    .page-home .home-engine__grid,
    .page-home .home-news-grid,
    .page-home .home-platform__features,
    .page-home .home-stats {
        grid-template-columns: 1fr;
    }

    .page-home .home-featured-story {
        grid-template-columns: 1fr;
    }

    .page-home .home-panel__meta {
        flex-direction: column;
    }

    .page-home .home-network__links {
        flex-direction: column;
        gap: 0.5rem;
    }
}
