/* ============================================================
   matsurika.stream — Chrome Metallic / Inflated-3D Design
   ============================================================ */

/* ── Variables ─────────────────────────────────────────────── */
:root {
    --void-black:       #0d0d0f;
    --charcoal-housing: #1c1c22;
    --steel-shadow:     #3a3a44;
    --brushed-silver:   #7a7a86;
    --chrome-mid:       #b4b4c2;
    --polished-chrome:  #d8d8e4;
    --specular-white:   #f0f0f8;
    --signal-blue:      #4a7fa5;
    --sky-reflection:   #8ab4d4;

    --font-display:     'Playfair Display', Georgia, serif;
    --font-card:        'Libre Baskerville', Georgia, serif;
    --font-body:        'Source Sans 3', Arial, sans-serif;
    --font-mono:        'JetBrains Mono', 'Courier New', monospace;

    /* Extended palette */
    --muted-silver:     #8a8a8a;
    --light-gray:       #9a9a9a;
    --chrome-light:     #b0b0b0;
    --chrome-warm:      #b8b8c0;
    --cool-silver-blue: #c8d8e0;
    --brushed-chrome:   #d4d4d4;
}

/* ── Reset & Base ───────────────────────────────────────────── */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--void-black);
    color: var(--polished-chrome);
    font-family: var(--font-body);
    font-size: 15px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

a {
    color: var(--sky-reflection);
    text-decoration: none;
}

img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ── Signal Path Animation ──────────────────────────────────── */
@keyframes signal-sweep {
    from { width: 0; }
    to   { width: 100%; }
}

.signal-path {
    height: 1px;
    background: rgba(74, 127, 165, 0.6);
    width: 0;
    position: absolute;
    left: 0;
    top: 0;
    pointer-events: none;
    z-index: 2;
}

.signal-path.is-active {
    animation: signal-sweep 800ms linear forwards;
}

/* ── Slide Reveal ───────────────────────────────────────────── */
.reveal-item {
    transform: translateY(28px);
    opacity: 0;
    transition:
        transform 500ms cubic-bezier(0.25, 0.46, 0.45, 0.94),
        opacity 400ms ease;
}

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

/* ── Navigation ─────────────────────────────────────────────── */
.site-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    height: 56px;
    display: flex;
    align-items: center;
    padding: 0 32px;
    gap: 32px;
    background: linear-gradient(180deg,
        rgba(13,13,15,0.96) 0%,
        rgba(13,13,15,0.88) 100%);
    border-bottom: 1px solid rgba(58,58,68,0.5);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.nav-logo__mark {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 30%, #8ab4d4, #4a7fa5 60%, #2a5f80);
    box-shadow:
        inset 0 1px 1px rgba(255,255,255,0.4),
        0 0 6px rgba(74,127,165,0.5);
}

.nav-logo__text {
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 600;
    color: var(--polished-chrome);
    letter-spacing: 0.02em;
}

.nav-logo__dot {
    color: var(--signal-blue);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 24px;
    flex: 1;
}

.nav-link {
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--brushed-silver);
    transition: color 200ms ease;
}

.nav-link:hover {
    color: var(--polished-chrome);
}

.nav-status {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
}

.nav-status__dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--signal-blue);
    box-shadow: 0 0 8px rgba(74,127,165,0.8);
    animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; box-shadow: 0 0 8px rgba(74,127,165,0.8); }
    50%       { opacity: 0.6; box-shadow: 0 0 4px rgba(74,127,165,0.4); }
}

.nav-status__label {
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.12em;
    color: var(--signal-blue);
}

/* ── Hero Section ───────────────────────────────────────────── */
.hero {
    position: relative;
    height: 85vh;
    min-height: 600px;
    display: flex;
    align-items: flex-end;
    padding-bottom: 10vh;
    overflow: hidden;
}

.hero__signal {
    top: 0;
    z-index: 3;
}

.hero__image-wrap {
    position: absolute;
    inset: 0;
    z-index: 0;
}

/* Duotone background — synthetic gradient that evokes a streamer at a workstation */
.hero__image {
    width: 100%;
    height: 100%;
    background:
        radial-gradient(ellipse at 30% 60%, rgba(74,127,165,0.15) 0%, transparent 60%),
        radial-gradient(ellipse at 75% 30%, rgba(138,180,212,0.08) 0%, transparent 50%),
        linear-gradient(160deg,
            #06060a 0%,
            #0d101a 25%,
            #0a0e18 50%,
            #080a12 75%,
            #0d0d0f 100%);
    filter: grayscale(1) contrast(1.1);
}

/* Duotone overlay — sky-reflection blue at screen blend */
.hero__image-overlay {
    position: absolute;
    inset: 0;
    background: rgba(74, 127, 165, 0.35);
    mix-blend-mode: screen;
}

/* Additional dark vignette to make text legible */
.hero__image-wrap::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(13,13,15,0.2) 0%,
        rgba(13,13,15,0.3) 40%,
        rgba(13,13,15,0.75) 100%
    );
    z-index: 1;
}

.hero__content {
    position: relative;
    z-index: 4;
    width: 100%;
    display: flex;
    justify-content: center;
}

.hero__chrome-frame {
    text-align: center;
    padding: 36px 48px 40px;
    background: linear-gradient(160deg, rgba(36,36,48,0.6) 0%, rgba(28,28,34,0.5) 100%);
    border: 1px solid rgba(58,58,68,0.7);
    border-radius: 4px;
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.08),
        0 16px 64px rgba(0,0,0,0.7),
        0 2px 12px rgba(0,0,0,0.5);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    max-width: 760px;
    width: 90%;

    /* Slide up on load via JS class */
    transform: translateY(40px);
    opacity: 0;
    transition:
        transform 600ms ease-out,
        opacity 500ms ease;
}

.hero__chrome-frame.is-loaded {
    transform: translateY(0);
    opacity: 1;
}

.hero__eyebrow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 20px;
}

.hero__eyebrow-line {
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(74,127,165,0.5), transparent);
    max-width: 80px;
}

.hero__eyebrow-text {
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--signal-blue);
    white-space: nowrap;
}

.hero__title {
    font-family: var(--font-display);
    font-size: clamp(48px, 7vw, 88px);
    font-weight: 700;
    color: var(--specular-white);
    line-height: 1.08;
    margin-bottom: 16px;
    /* Extruded letterpress text-shadow — 8 layers */
    text-shadow:
        1px 1px 0 #888,
        2px 2px 0 #777,
        3px 3px 0 #666,
        4px 4px 0 #555,
        5px 5px 0 #444,
        6px 6px 0 #333,
        7px 7px 0 #222,
        8px 8px 0 #111;
}

.hero__subtitle {
    font-family: var(--font-body);
    font-size: 16px;
    color: var(--chrome-mid);
    line-height: 1.6;
    max-width: 520px;
    margin: 0 auto 24px;
}

.hero__meta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--brushed-silver);
}

.hero__meta-item {
    display: flex;
    align-items: center;
    gap: 5px;
}

.hero__meta-icon {
    display: flex;
    color: var(--signal-blue);
}

.hero__meta-sep {
    color: var(--steel-shadow);
}

.hero__scroll-indicator {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 4;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.hero__scroll-line {
    width: 1px;
    height: 32px;
    background: linear-gradient(180deg, transparent, rgba(74,127,165,0.6));
    animation: scroll-line 2s ease-in-out infinite;
}

@keyframes scroll-line {
    0%, 100% { opacity: 0.4; transform: scaleY(0.6); }
    50%       { opacity: 1; transform: scaleY(1); }
}

.hero__scroll-label {
    font-family: var(--font-mono);
    font-size: 9px;
    letter-spacing: 0.2em;
    color: var(--brushed-silver);
}

/* ── Chapter Dividers ───────────────────────────────────────── */
.chapter-divider {
    position: relative;
    height: 64px;
    background: linear-gradient(135deg,
        #6a6a72 0%,
        #c0c0cc 15%,
        #8a8a8a 28%,
        #9a9a9a 38%,
        #d4d4d4 50%,
        #b0b0b0 62%,
        #b8b8c0 72%,
        #c8d8e0 82%,
        #8a8a94 92%,
        #6a6a72 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin: 48px 0 0;
}

.chapter__signal {
    top: 0;
}

.chapter-divider__inner {
    display: flex;
    align-items: center;
    gap: 12px;
    position: relative;
    z-index: 2;
}

.chapter-icon {
    flex-shrink: 0;
    filter: drop-shadow(0 1px 2px rgba(0,0,0,0.3));
}

.chapter-divider__label {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 700;
    color: #1a1a1a;
    font-variant: small-caps;
    letter-spacing: 0.04em;
    text-shadow:
        0 1px 0 rgba(255,255,255,0.6),
        0 -1px 0 rgba(0,0,0,0.15);
}

/* ── Tutorial Grid ──────────────────────────────────────────── */
.tutorial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
    padding: 32px 32px 48px;
    max-width: 1200px;
    margin: 0 auto;
}

/* ── Tutorial Card ──────────────────────────────────────────── */
.tutorial-card {
    background: linear-gradient(160deg, #242430 0%, #1c1c22 50%, #18181e 100%);
    border: 1px solid var(--steel-shadow);
    border-radius: 16px;
    overflow: hidden;
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.12),
        0 4px 16px rgba(0,0,0,0.6),
        0 1px 4px rgba(0,0,0,0.4);
    transition:
        transform 250ms ease,
        box-shadow 250ms ease;
    cursor: pointer;
    position: relative;
}

/* Top-edge specular highlight */
.tutorial-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 30%;
    background: linear-gradient(180deg, rgba(255,255,255,0.06) 0%, transparent 100%);
    border-radius: 16px 16px 0 0;
    pointer-events: none;
    z-index: 1;
}

.tutorial-card:hover {
    transform: translateY(-4px);
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.18),
        0 12px 36px rgba(0,0,0,0.7),
        0 4px 12px rgba(0,0,0,0.5),
        0 0 0 1px rgba(74,127,165,0.15);
}

/* ── Card Image with Duotone ────────────────────────────────── */
.tutorial-card__image-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
}

.tutorial-card__image-wrap img,
.tutorial-card__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: grayscale(1) contrast(1.1);
}

/* Duotone overlay via ::after */
.tutorial-card__image-wrap::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(74, 127, 165, 0.35);
    mix-blend-mode: screen;
    pointer-events: none;
}

/* Synthetic duotone backgrounds for cards (no external images) */
.tutorial-card__image--audio1 {
    background: linear-gradient(135deg, #0a1020 0%, #101828 40%, #0e1a28 70%, #080c14 100%);
}
.tutorial-card__image--audio2 {
    background: linear-gradient(160deg, #0c1418 0%, #0e1c24 45%, #0a1418 80%, #080c10 100%);
}
.tutorial-card__image--audio3 {
    background: linear-gradient(120deg, #0a0e18 0%, #0c1620 50%, #0e1824 80%, #06080e 100%);
}
.tutorial-card__image--video1 {
    background: linear-gradient(150deg, #080a14 0%, #0c1220 40%, #0a1018 70%, #06080c 100%);
}
.tutorial-card__image--video2 {
    background: linear-gradient(140deg, #0c1020 0%, #101828 45%, #0c1218 75%, #080a10 100%);
}
.tutorial-card__image--video3 {
    background: linear-gradient(155deg, #080c18 0%, #0e1828 50%, #0c1620 80%, #060810 100%);
}
.tutorial-card__image--video4 {
    background: linear-gradient(130deg, #0a0e1c 0%, #0c1224 40%, #0a101c 70%, #080a10 100%);
}
.tutorial-card__image--video5 {
    background: linear-gradient(145deg, #080c14 0%, #0c1420 45%, #0a1018 75%, #060808 100%);
}
.tutorial-card__image--video6 {
    background: linear-gradient(160deg, #0c1018 0%, #101420 40%, #0c1018 70%, #080a12 100%);
}
.tutorial-card__image--infra1 {
    background: linear-gradient(135deg, #0a1020 0%, #10182c 45%, #0c1424 75%, #08080c 100%);
}
.tutorial-card__image--infra2 {
    background: linear-gradient(150deg, #08101c 0%, #0e1828 45%, #0a1420 75%, #060810 100%);
}
.tutorial-card__image--infra3 {
    background: linear-gradient(140deg, #0a0c18 0%, #0c1220 45%, #0a1018 75%, #060810 100%);
}

/* Abstract grid/waveform overlays on synthetic images */
.tutorial-card__image::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(74,127,165,0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(74,127,165,0.06) 1px, transparent 1px);
    background-size: 32px 32px;
}

/* ── Card Body ──────────────────────────────────────────────── */
.tutorial-card__body {
    padding: 16px 20px 20px;
}

.tutorial-card__title-bar {
    padding: 0 0 12px;
    border-bottom: 1px solid rgba(58,58,68,0.6);
    margin-bottom: 12px;
    /* Chrome-edge title bar via bottom border */
    position: relative;
}

.tutorial-card__title-bar::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 40%;
    height: 1px;
    background: linear-gradient(90deg, rgba(74,127,165,0.4), transparent);
}

.tutorial-card__title {
    font-family: var(--font-card);
    font-size: 18px;
    font-weight: 700;
    color: var(--specular-white);
    line-height: 1.3;
}

.tutorial-card__desc {
    font-family: var(--font-body);
    font-size: 13px;
    color: var(--chrome-mid);
    line-height: 1.65;
    margin-bottom: 16px;
}

.tutorial-card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.tutorial-card__duration {
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--brushed-silver);
    display: flex;
    align-items: center;
    gap: 5px;
}

/* ── Difficulty Dots ────────────────────────────────────────── */
.tutorial-card__dots,
.featured-tutorial__dots {
    display: flex;
    align-items: center;
    gap: 6px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    flex-shrink: 0;
}

.dot--active {
    background: radial-gradient(circle at 35% 30%, #f0f0f0, #7a7a86 55%, #4a4a54);
    box-shadow:
        inset 0 1px 1px rgba(255,255,255,0.5),
        inset 0 -1px 1px rgba(0,0,0,0.4),
        0 1px 3px rgba(0,0,0,0.5);
}

.dot:not(.dot--active) {
    background: #2a2a30;
    box-shadow: inset 0 1px 2px rgba(0,0,0,0.5);
}

/* ── Chrome Button ──────────────────────────────────────────── */
.chrome-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 24px;
    background: radial-gradient(ellipse at 30% 25%, #e8e8e8 0%, #a0a0a8 40%, #6a6a72 80%, #3a3a44 100%);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 6px;
    box-shadow:
        inset 0 2px 4px rgba(255,255,255,0.5),
        inset 0 -2px 4px rgba(0,0,0,0.4),
        0 4px 12px rgba(0,0,0,0.5);
    font-family: var(--font-mono);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #1a1a1a;
    cursor: pointer;
    transition:
        transform 150ms ease,
        box-shadow 150ms ease;
    text-decoration: none;
}

.chrome-btn:hover {
    transform: translateY(-1px);
    box-shadow:
        inset 0 2px 4px rgba(255,255,255,0.6),
        inset 0 -2px 4px rgba(0,0,0,0.35),
        0 6px 16px rgba(0,0,0,0.6);
    color: #1a1a1a;
}

.chrome-btn:active {
    transform: translateY(1px);
    box-shadow:
        inset 0 1px 2px rgba(255,255,255,0.3),
        inset 0 2px 6px rgba(0,0,0,0.5),
        0 2px 6px rgba(0,0,0,0.4);
}

/* ── Featured Tutorial ──────────────────────────────────────── */
.featured-tutorial {
    display: grid;
    grid-template-columns: 1fr 2px 1fr;
    max-width: 1200px;
    margin: 32px auto 48px;
    padding: 0 32px;
    gap: 0;
    min-height: 360px;
    align-items: stretch;
}

.featured-tutorial__image-wrap {
    position: relative;
    border-radius: 16px 0 0 16px;
    overflow: hidden;
    background: var(--charcoal-housing);
    border: 1px solid var(--steel-shadow);
    border-right: none;
}

.featured-tutorial__image {
    width: 100%;
    height: 100%;
    min-height: 320px;
    filter: grayscale(1) contrast(1.1);
    position: relative;
}

.featured-tutorial__image-wrap::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(74, 127, 165, 0.35);
    mix-blend-mode: screen;
    pointer-events: none;
}

.featured-tutorial__image--mixer {
    background: linear-gradient(135deg,
        #06080e 0%,
        #0c1420 30%,
        #0e1828 60%,
        #081018 100%);
}

.featured-tutorial__image--mixer::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        repeating-linear-gradient(
            90deg,
            rgba(74,127,165,0.04) 0px,
            rgba(74,127,165,0.04) 1px,
            transparent 1px,
            transparent 24px
        ),
        repeating-linear-gradient(
            0deg,
            rgba(74,127,165,0.04) 0px,
            rgba(74,127,165,0.04) 1px,
            transparent 1px,
            transparent 24px
        );
}

.featured-tutorial__image--infra-featured {
    background: linear-gradient(150deg,
        #080c1a 0%,
        #0c1428 30%,
        #0e1c34 60%,
        #0a0e1c 100%);
}

.featured-tutorial__image--infra-featured::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 20% 30%, rgba(74,127,165,0.08) 0%, transparent 50%),
        radial-gradient(circle at 70% 70%, rgba(74,127,165,0.05) 0%, transparent 40%),
        repeating-linear-gradient(
            45deg,
            transparent,
            transparent 20px,
            rgba(74,127,165,0.025) 20px,
            rgba(74,127,165,0.025) 21px
        );
}

/* Chrome vertical divider */
.featured-tutorial__divider {
    width: 2px;
    background: linear-gradient(180deg,
        transparent 0%,
        #9a9aa8 15%,
        #f0f0f8 50%,
        #9a9aa8 85%,
        transparent 100%);
    flex-shrink: 0;
}

.featured-tutorial__content {
    background: linear-gradient(160deg, #242430 0%, #1c1c22 50%, #18181e 100%);
    border: 1px solid var(--steel-shadow);
    border-left: none;
    border-radius: 0 16px 16px 0;
    padding: 40px 40px 36px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 16px;
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.08),
        0 4px 24px rgba(0,0,0,0.5);
}

.featured-tutorial__eyebrow {
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--signal-blue);
}

.featured-tutorial__title {
    font-family: var(--font-display);
    font-size: clamp(22px, 2.5vw, 32px);
    font-weight: 700;
    color: var(--specular-white);
    line-height: 1.2;
    text-shadow:
        1px 1px 0 #555,
        2px 2px 0 #444,
        3px 3px 0 #333,
        4px 4px 0 #222;
}

.featured-tutorial__desc {
    font-family: var(--font-body);
    font-size: 14px;
    color: var(--chrome-mid);
    line-height: 1.7;
}

.featured-tutorial__meta {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.featured-tutorial__duration {
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--brushed-silver);
    display: flex;
    align-items: center;
    gap: 5px;
}

.featured-tutorial__level {
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.12em;
    color: var(--sky-reflection);
    background: rgba(74,127,165,0.1);
    border: 1px solid rgba(74,127,165,0.25);
    padding: 2px 8px;
    border-radius: 2px;
}

/* ── Footer ─────────────────────────────────────────────────── */
.site-footer {
    margin-top: 64px;
    border-top: 1px solid var(--steel-shadow);
    background: var(--charcoal-housing);
    position: relative;
    overflow: hidden;
}

.footer__signal-container {
    position: relative;
    height: 1px;
}

.footer__signal {
    position: relative;
}

.footer__inner {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 48px;
    padding: 48px 32px 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.footer__brand {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer__logo {
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 700;
    color: var(--polished-chrome);
}

.footer__logo-dot {
    color: var(--signal-blue);
}

.footer__tagline {
    font-family: var(--font-body);
    font-size: 13px;
    color: var(--brushed-silver);
    line-height: 1.6;
    max-width: 240px;
}

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

.footer__col-title {
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--polished-chrome);
    margin-bottom: 12px;
}

.footer__links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer__link {
    font-family: var(--font-body);
    font-size: 13px;
    color: var(--brushed-silver);
    transition: color 200ms ease;
}

.footer__link:hover {
    color: var(--polished-chrome);
}

.footer__base {
    border-top: 1px solid rgba(58,58,68,0.5);
    padding: 16px 32px;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer__copy {
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--steel-shadow);
}

.footer__build {
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--steel-shadow);
    display: flex;
    align-items: center;
    gap: 6px;
}

.footer__build-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--signal-blue);
    opacity: 0.6;
}

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 900px) {
    .tutorial-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        padding: 24px 20px 36px;
        gap: 20px;
    }

    .featured-tutorial {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto auto;
        padding: 0 20px;
    }

    .featured-tutorial__image-wrap {
        border-radius: 16px 16px 0 0;
        min-height: 220px;
        border-right: 1px solid var(--steel-shadow);
        border-bottom: none;
    }

    .featured-tutorial__divider {
        width: 100%;
        height: 2px;
        background: linear-gradient(90deg,
            transparent 0%,
            #9a9aa8 15%,
            #f0f0f8 50%,
            #9a9aa8 85%,
            transparent 100%);
    }

    .featured-tutorial__content {
        border-radius: 0 0 16px 16px;
        border-top: none;
        border-left: 1px solid var(--steel-shadow);
        padding: 28px 24px 24px;
    }

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

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

    .nav-links {
        display: none;
    }
}

@media (max-width: 600px) {
    .hero__chrome-frame {
        padding: 24px 20px 28px;
    }

    .footer__columns {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .chapter-divider {
        margin: 32px 0 0;
    }
}
