/* =====================================================
   A6C.QUEST — Diagonal Editorial
   Palette: cool grays + electric indigo
   Implementation fidelity: IntersectionObserver with these specifications:** specifications: specifications* specifications:*
   IntersectionObserver` fires at threshold 0.15. Easing: `cubic-bezier(0.16
   underline-draw effect. Playfair Display Bold headline clamp(4rem, 10vw, 8rem).
   Section slides entire below. Source Serif 4 at 17px. (Google Fonts) (Google Fonts) (Google Fonts)
   Google Fonts are named
   in font stacks but not fetched, per self-contained asset requirements.
   ===================================================== */

:root {
    --bg-deep: #111318;
    --bg-mid: #1e212b;
    --bg-elev: #2a2d38;
    --border: #3f4354;
    --text-body: #d1d5db;
    --text-body-dark: #374151;
    --text-muted: #9ca3af;
    --text-muted-2: #6b7280;
    --surface-light: #f0f2f5;
    --accent: #6366f1;
    --accent-hover: #818cf8;
    --flash: #ffffff;

    --font-display: "Playfair Display", "Lora", Georgia, serif;
    --font-sans: "DM Sans", "Inter", system-ui, sans-serif;
    --font-body: "Source Serif 4", "Lora", Georgia, serif;
    --font-mono: "JetBrains Mono", "Space Mono", ui-monospace, monospace;

    --ease-snap: cubic-bezier(0.16, 1, 0.3, 1);

    --tilt: 6deg;
    --specifications-marker: "specifications:**";
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background: var(--bg-deep);
    color: var(--text-body);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    line-height: 1.7;
    cursor: none;
}

@media (max-width: 900px) {
    body { cursor: auto; }
    .cursor-trail { display: none; }
}

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

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

button {
    background: none;
    border: none;
    font: inherit;
    color: inherit;
    cursor: none;
}

/* ===========================
   Cursor Trail
   =========================== */
.cursor-trail {
    position: fixed;
    top: 0;
    left: 0;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(99, 102, 241, 0.4);
    pointer-events: none;
    transform: translate(-50%, -50%);
    transition: transform 0.18s var(--ease-snap), width 0.2s var(--ease-snap), height 0.2s var(--ease-snap), background 0.2s ease;
    z-index: 9999;
    mix-blend-mode: screen;
}

.cursor-trail.is-hot {
    width: 40px;
    height: 40px;
    background: rgba(99, 102, 241, 0.25);
    border: 1px solid rgba(129, 140, 248, 0.8);
}

/* ===========================
   Top Bar
   =========================== */
.top-bar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 56px;
    z-index: 100;
    background: transparent;
    transition: background 0.4s ease, backdrop-filter 0.4s ease, border-color 0.4s ease;
    border-bottom: 1px solid transparent;
}

.top-bar.is-scrolled {
    background: rgba(30, 33, 43, 0.85);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    border-bottom-color: rgba(63, 67, 84, 0.6);
}

.top-bar-inner {
    max-width: 1400px;
    height: 100%;
    margin: 0 auto;
    padding: 0 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.wordmark {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 22px;
    letter-spacing: -0.01em;
    color: var(--flash);
    position: relative;
}

.wordmark::after {
    content: "";
    position: absolute;
    left: -6px;
    right: -6px;
    bottom: -2px;
    height: 1px;
    background: var(--accent);
    transform: scaleX(0.2);
    transform-origin: left center;
    transition: transform 0.4s var(--ease-snap);
}

.wordmark:hover::after {
    transform: scaleX(1);
}

.hamburger {
    width: 38px;
    height: 24px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 4px 0;
}

.hamburger span {
    display: block;
    height: 1px;
    background: var(--surface-light);
    transition: transform 0.4s var(--ease-snap), width 0.4s var(--ease-snap);
}

.hamburger span:first-child { width: 100%; }
.hamburger span:last-child { width: 60%; margin-left: auto; }

.hamburger:hover span:last-child { width: 100%; }

/* ===========================
   Nav Overlay
   =========================== */
.nav-overlay {
    position: fixed;
    inset: 0;
    background: var(--bg-mid);
    z-index: 200;
    clip-path: polygon(100% 0, 100% 0, 100% 0, 100% 0);
    transition: clip-path 0.7s var(--ease-snap);
    pointer-events: none;
}

.nav-overlay.is-open {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    pointer-events: auto;
}

.nav-overlay-inner {
    height: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 120px 56px 56px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
}

.nav-close {
    position: absolute;
    top: 24px;
    right: 48px;
    font-family: var(--font-mono);
    font-size: 13px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--text-muted);
    transition: color 0.3s ease;
}

.nav-close:hover { color: var(--accent-hover); }

.nav-list {
    list-style: none;
    display: flex;
    flex-direction: column;
}

.nav-link {
    display: inline-block;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(2.4rem, 6vw, 4.8rem);
    line-height: 80px;
    letter-spacing: -0.02em;
    color: var(--surface-light);
    opacity: 0;
    transform: translateX(40px);
    transition: opacity 0.6s var(--ease-snap), transform 0.6s var(--ease-snap), color 0.3s ease;
    position: relative;
    padding-right: 40px;
}

.nav-overlay.is-open .nav-link {
    opacity: 1;
    transform: translateX(0);
}

.nav-overlay.is-open .nav-link[data-idx="0"] { transition-delay: 0.15s; }
.nav-overlay.is-open .nav-link[data-idx="1"] { transition-delay: 0.25s; }
.nav-overlay.is-open .nav-link[data-idx="2"] { transition-delay: 0.35s; }
.nav-overlay.is-open .nav-link[data-idx="3"] { transition-delay: 0.45s; }
.nav-overlay.is-open .nav-link[data-idx="4"] { transition-delay: 0.55s; }

.nav-link::before {
    content: "";
    position: absolute;
    left: -24px;
    top: 50%;
    width: 0;
    height: 1px;
    background: var(--accent);
    transition: width 0.4s var(--ease-snap);
}

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

.nav-link:hover::before {
    width: 16px;
}

.nav-foot {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    border-top: 1px solid var(--border);
    padding-top: 24px;
    margin-top: 40px;
}

.nav-foot-label {
    font-family: var(--font-mono);
    font-size: 12px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--text-muted-2);
}

.nav-foot-mail {
    font-family: var(--font-mono);
    font-size: 15px;
    color: var(--accent);
    border-bottom: 1px solid rgba(99, 102, 241, 0.4);
    padding-bottom: 2px;
    transition: color 0.3s ease, border-color 0.3s ease;
}

.nav-foot-mail:hover {
    color: var(--accent-hover);
    border-color: var(--accent-hover);
}

/* ===========================
   Hero
   =========================== */
.hero {
    position: relative;
    height: 100vh;
    min-height: 680px;
    overflow: hidden;
    background: var(--bg-deep);
    clip-path: polygon(0 0, 100% 0, 100% 88%, 0 100%);
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(ellipse at 20% 30%, rgba(99, 102, 241, 0.18), transparent 55%),
        radial-gradient(ellipse at 80% 70%, rgba(129, 140, 248, 0.12), transparent 60%),
        linear-gradient(140deg, #0c0d12 0%, #1a1d26 40%, #232634 100%);
    filter: saturate(0.85) contrast(1.05);
    animation: heroDrift 28s ease-in-out infinite alternate;
}

.hero-bg::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 1px 1px, rgba(63, 67, 84, 0.4) 1px, transparent 1px);
    background-size: 24px 24px;
    opacity: 0.5;
    mask-image: linear-gradient(180deg, transparent 0%, black 30%, black 70%, transparent 100%);
    -webkit-mask-image: linear-gradient(180deg, transparent 0%, black 30%, black 70%, transparent 100%);
}

@keyframes heroDrift {
    0% { transform: scale(1) translate(0, 0); }
    100% { transform: scale(1.06) translate(-1.5%, -1.5%); }
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(160deg, rgba(17, 19, 24, 0.72) 0%, rgba(30, 33, 43, 0.55) 60%, rgba(17, 19, 24, 0.9) 100%);
}

.hero-line {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 2;
}

.hero-line-draw {
    stroke-dasharray: 2400;
    stroke-dashoffset: 2400;
    animation: drawLine 2.2s cubic-bezier(0.7, 0, 0.3, 1) 0.4s forwards;
    opacity: 0.7;
}

@keyframes drawLine {
    to { stroke-dashoffset: 0; }
}

.hero-content {
    position: absolute;
    top: 50%;
    left: clamp(32px, 8vw, 120px);
    transform: translateY(-50%);
    z-index: 3;
    max-width: 620px;
    text-align: left;
}

.hero-eyebrow {
    font-family: var(--font-mono);
    font-size: 13px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 28px;
    display: inline-flex;
    align-items: center;
    opacity: 0;
    animation: fadeSlide 0.9s var(--ease-snap) 0.6s forwards;
}

.hero-eyebrow::before {
    content: "";
    display: inline-block;
    width: 28px;
    height: 1px;
    background: var(--accent);
    margin-right: 14px;
}

.hero-title {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(4rem, 10vw, 8rem);
    line-height: 0.92;
    letter-spacing: -0.03em;
    color: var(--flash);
    margin-bottom: 28px;
    opacity: 0;
    animation: fadeSlide 1s var(--ease-snap) 0.8s forwards;
}

.hero-sub-letter {
    font-style: italic;
    color: var(--accent);
    display: inline-block;
    transform: translateY(-0.04em);
}

.hero-sub {
    font-family: var(--font-sans);
    font-size: clamp(16px, 1.6vw, 20px);
    font-weight: 500;
    line-height: 1.5;
    color: var(--text-muted);
    max-width: 460px;
    margin-bottom: 56px;
    opacity: 0;
    animation: fadeSlide 1s var(--ease-snap) 1s forwards;
}

.hero-meta {
    display: flex;
    align-items: center;
    gap: 14px;
    font-family: var(--font-mono);
    font-size: 12px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--text-muted-2);
    opacity: 0;
    animation: fadeSlide 1s var(--ease-snap) 1.2s forwards;
}

.hero-meta-dot {
    width: 3px;
    height: 3px;
    background: var(--border);
    border-radius: 50%;
    display: inline-block;
}

@keyframes fadeSlide {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.hero-scroll-cue {
    position: absolute;
    bottom: 14%;
    right: clamp(32px, 6vw, 80px);
    z-index: 3;
    font-family: var(--font-mono);
    font-size: 12px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--text-muted);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    opacity: 0;
    animation: fadeSlide 1s var(--ease-snap) 1.4s forwards;
}

.hero-scroll-arrow {
    width: 1px;
    height: 70px;
    background: linear-gradient(180deg, var(--accent), transparent);
    position: relative;
    animation: scrollCue 2.2s ease-in-out infinite;
}

@keyframes scrollCue {
    0%, 100% { transform: scaleY(1); opacity: 1; }
    50% { transform: scaleY(0.5) translateY(8px); opacity: 0.4; }
}

/* ===========================
   Diagonal Bands
   =========================== */
.band {
    position: relative;
    padding: 160px 0;
    background: var(--bg-mid);
    margin-top: -60px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
    overflow: hidden;
}

.band--right {
    transform: skewY(-6deg);
}

.band--left {
    transform: skewY(6deg);
    background: var(--bg-deep);
}

.band--light {
    background: var(--surface-light);
    color: var(--text-body-dark);
}

.band-inner {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 56px;
    z-index: 2;
}

.band--right .band-inner { transform: skewY(6deg); }
.band--left .band-inner { transform: skewY(-6deg); }

.band-inner--dots::before {
    content: "";
    position: absolute;
    inset: -80px 0;
    background-image: radial-gradient(circle, rgba(63, 67, 84, 0.35) 1px, transparent 1px);
    background-size: 24px 24px;
    opacity: 0.6;
    pointer-events: none;
    mask-image: radial-gradient(ellipse at center, black 40%, transparent 75%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 40%, transparent 75%);
    z-index: -1;
}

.ghost-number {
    position: absolute;
    top: -40px;
    left: -20px;
    font-family: var(--font-mono);
    font-weight: 500;
    font-size: clamp(120px, 18vw, 220px);
    line-height: 1;
    color: rgba(99, 102, 241, 0.08);
    pointer-events: none;
    user-select: none;
    letter-spacing: -0.04em;
    z-index: 0;
}

.ghost-number--dark {
    color: rgba(55, 65, 81, 0.08);
}

.band-grid {
    display: grid;
    gap: 64px;
    align-items: center;
}

.band-grid--photo-left {
    grid-template-columns: 55fr 45fr;
}

.band-grid--photo-right {
    grid-template-columns: 45fr 55fr;
}

@media (max-width: 900px) {
    .band-grid--photo-left,
    .band-grid--photo-right {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

/* ---- Photo blocks ---- */
.band-photo {
    position: relative;
    min-height: 440px;
    border-radius: 2px;
    overflow: hidden;
    box-shadow:
        0 1px 2px rgba(0, 0, 0, 0.06),
        0 4px 8px rgba(0, 0, 0, 0.08),
        0 16px 32px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border);
}

.band-photo-inner {
    position: absolute;
    inset: 0;
    filter: saturate(0.7) contrast(1.05);
    background-size: cover;
    background-position: center;
}

.band-photo-inner::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(99, 102, 241, 0.08);
    mix-blend-mode: overlay;
    pointer-events: none;
}

.band-photo--story .band-photo-inner {
    background:
        linear-gradient(135deg, rgba(99, 102, 241, 0.08), transparent 60%),
        radial-gradient(ellipse at 30% 40%, #3f4354 0%, #1e212b 55%, #111318 100%);
}

.band-photo--story .band-photo-inner::before {
    content: "";
    position: absolute;
    left: 8%; right: 12%; top: 18%; bottom: 22%;
    background:
        linear-gradient(180deg, transparent 0, rgba(208, 213, 219, 0.05) 100%),
        radial-gradient(ellipse at 40% 30%, rgba(209, 213, 219, 0.3), transparent 50%);
    border-left: 1px solid rgba(99, 102, 241, 0.3);
}

.band-photo--method .band-photo-inner {
    background:
        linear-gradient(210deg, rgba(129, 140, 248, 0.1), transparent 50%),
        radial-gradient(ellipse at 70% 60%, #2a2d38 0%, #16181f 70%, #0c0d12 100%);
}

.band-photo--method .band-photo-inner::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        repeating-linear-gradient(
            -6deg,
            transparent 0,
            transparent 38px,
            rgba(63, 67, 84, 0.35) 38px,
            rgba(63, 67, 84, 0.35) 39px
        );
    opacity: 0.7;
}

.photo-tag {
    position: absolute;
    top: 20px;
    left: 20px;
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--text-muted);
    background: rgba(17, 19, 24, 0.7);
    padding: 6px 12px;
    border: 1px solid rgba(99, 102, 241, 0.3);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    z-index: 2;
}

/* ---- Text blocks ---- */
.band-text {
    position: relative;
}

.kicker {
    font-family: var(--font-mono);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 24px;
    display: inline-flex;
    align-items: center;
}

.kicker::before {
    content: "";
    display: inline-block;
    width: 20px;
    height: 1px;
    background: var(--accent);
    margin-right: 12px;
}

.kicker--dark { color: var(--accent); }

.band-title {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(2rem, 4vw, 2.75rem);
    line-height: 1.08;
    letter-spacing: -0.02em;
    color: var(--surface-light);
    margin-bottom: 28px;
    max-width: 22ch;
}

.band-title--dark { color: var(--text-body-dark); }

.band-body {
    font-family: var(--font-body);
    font-size: clamp(17px, 1.1vw, 19px);
    line-height: 1.7;
    color: var(--text-body);
    margin-bottom: 20px;
    max-width: 48ch;
}

.band-body--dark { color: var(--text-body-dark); }

.band-list {
    list-style: none;
    margin-top: 32px;
    border-top: 1px solid var(--border);
}

.band-list li {
    font-family: var(--font-sans);
    font-weight: 500;
    font-size: 16px;
    color: var(--text-body);
    padding: 16px 0;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: baseline;
    gap: 18px;
    transition: color 0.3s ease, padding-left 0.3s var(--ease-snap);
}

.band-list li:hover {
    color: var(--accent-hover);
    padding-left: 8px;
}

.band-list-num {
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--text-muted-2);
    letter-spacing: 0.12em;
    min-width: 28px;
}

/* ---- Pullquote ---- */
.pullquote {
    font-family: var(--font-display);
    font-style: italic;
    font-weight: 400;
    font-size: clamp(22px, 2.4vw, 32px);
    line-height: 1.35;
    color: var(--surface-light);
    border-left: 3px solid var(--accent);
    padding: 8px 0 8px 28px;
    margin: 36px 0 40px;
}

.method-steps {
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin-top: 32px;
    padding: 24px 28px;
    background: rgba(42, 45, 56, 0.5);
    border: 1px solid var(--border);
    border-left: 2px solid var(--accent);
}

.method-step {
    display: flex;
    align-items: baseline;
    gap: 20px;
}

.method-step-num {
    font-family: var(--font-display);
    font-weight: 700;
    font-style: italic;
    font-size: 28px;
    color: var(--accent);
    min-width: 32px;
}

.method-step-label {
    font-family: var(--font-body);
    font-size: 16px;
    color: var(--text-body);
    line-height: 1.5;
}

/* ===========================
   Showcase (light band)
   =========================== */
.showcase-head {
    margin-bottom: 64px;
    max-width: 620px;
}

.showcase-grid {
    position: relative;
    min-height: 620px;
    margin-top: 60px;
}

.showcase-item {
    position: absolute;
    background: #fff;
    padding: 12px 12px 20px;
    box-shadow:
        0 1px 2px rgba(0, 0, 0, 0.06),
        0 4px 8px rgba(0, 0, 0, 0.08),
        0 16px 32px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(63, 67, 84, 0.25);
    transition: transform 0.6s var(--ease-snap), box-shadow 0.5s ease;
}

.showcase-item:hover {
    transform: translateY(-10px) rotate(0deg) !important;
    box-shadow:
        0 2px 4px rgba(0, 0, 0, 0.08),
        0 8px 16px rgba(0, 0, 0, 0.1),
        0 24px 48px rgba(0, 0, 0, 0.2);
    z-index: 10;
}

.showcase-item--a {
    top: 0;
    left: 2%;
    width: 40vw;
    max-width: 480px;
    transform: rotate(-3deg);
    z-index: 3;
}

.showcase-item--b {
    top: 80px;
    left: 34%;
    width: 35vw;
    max-width: 420px;
    transform: rotate(2.5deg);
    z-index: 2;
}

.showcase-item--c {
    top: 200px;
    right: 4%;
    width: 30vw;
    max-width: 380px;
    transform: rotate(-1.8deg);
    z-index: 1;
}

@media (max-width: 900px) {
    .showcase-grid { min-height: auto; display: flex; flex-direction: column; gap: 32px; }
    .showcase-item { position: relative; width: 100%; max-width: none; top: 0; left: 0; right: 0; transform: none !important; }
}

.showcase-photo {
    width: 100%;
    padding-bottom: 72%;
    position: relative;
    overflow: hidden;
    filter: saturate(0.7) contrast(1.05);
    margin-bottom: 14px;
}

.showcase-photo::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(99, 102, 241, 0.06);
    pointer-events: none;
}

.showcase-photo--a {
    background:
        linear-gradient(135deg, rgba(99, 102, 241, 0.15), transparent 60%),
        radial-gradient(ellipse at 30% 40%, #5a6270 0%, #2a2d38 70%);
}

.showcase-photo--a::before {
    content: "";
    position: absolute;
    left: 20%; right: 20%; top: 25%; bottom: 15%;
    background: linear-gradient(180deg, rgba(208, 213, 219, 0.15), rgba(99, 102, 241, 0.1));
    border: 1px solid rgba(208, 213, 219, 0.2);
}

.showcase-photo--b {
    background:
        repeating-linear-gradient(-6deg, transparent 0, transparent 20px, rgba(208, 213, 219, 0.08) 20px, rgba(208, 213, 219, 0.08) 21px),
        radial-gradient(ellipse at 60% 50%, #3f4354 0%, #1e212b 80%);
}

.showcase-photo--c {
    background:
        radial-gradient(ellipse at 40% 30%, rgba(129, 140, 248, 0.18), transparent 60%),
        linear-gradient(210deg, #4a4f60 0%, #23252e 100%);
}

.showcase-photo--c::before {
    content: "";
    position: absolute;
    left: 30%; top: 30%;
    width: 35%; height: 40%;
    background: linear-gradient(135deg, rgba(240, 242, 245, 0.9), rgba(208, 213, 219, 0.4));
    transform: rotate(6deg);
}

.showcase-item figcaption {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 8px 4px 0;
}

.showcase-num {
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.18em;
    color: var(--accent);
    text-transform: uppercase;
}

.showcase-title {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 20px;
    color: var(--text-body-dark);
    letter-spacing: -0.01em;
}

.showcase-meta {
    font-family: var(--font-sans);
    font-size: 13px;
    color: var(--text-muted-2);
    letter-spacing: 0.05em;
}

/* ===========================
   Notes band
   =========================== */
.notes-grid {
    display: grid;
    grid-template-columns: 40fr 60fr;
    gap: 64px;
    align-items: start;
}

@media (max-width: 900px) {
    .notes-grid { grid-template-columns: 1fr; gap: 32px; }
}

.notes-list {
    display: flex;
    flex-direction: column;
    gap: 4px;
    border-top: 1px solid var(--border);
}

.note {
    padding: 28px 0 28px 24px;
    border-bottom: 1px solid var(--border);
    position: relative;
    transition: padding-left 0.4s var(--ease-snap), background 0.4s ease;
}

.note::before {
    content: "";
    position: absolute;
    left: 0;
    top: 34px;
    width: 12px;
    height: 1px;
    background: var(--accent);
    transition: width 0.4s var(--ease-snap);
}

.note:hover {
    padding-left: 44px;
}

.note:hover::before {
    width: 32px;
}

.note-date {
    font-family: var(--font-mono);
    font-size: 12px;
    letter-spacing: 0.16em;
    color: var(--text-muted-2);
    margin-bottom: 8px;
}

.note-body {
    font-family: var(--font-display);
    font-size: 22px;
    line-height: 1.3;
    color: var(--surface-light);
    letter-spacing: -0.01em;
    margin-bottom: 12px;
    max-width: 48ch;
}

.note-link {
    font-family: var(--font-mono);
    font-size: 12px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--accent);
    display: inline-block;
    transition: transform 0.3s var(--ease-snap);
}

.note:hover .note-link {
    transform: translateX(6px);
    color: var(--accent-hover);
}

/* ===========================
   Closing section
   =========================== */
.closing {
    position: relative;
    background: var(--bg-deep);
    padding: 200px 32px;
    min-height: 88vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    margin-top: -60px;
    box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.3);
}

.closing::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 1px 1px, rgba(63, 67, 84, 0.25) 1px, transparent 1px);
    background-size: 32px 32px;
    opacity: 0.5;
    mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
}

.closing::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, var(--accent) 50%, transparent 100%);
    opacity: 0.6;
    transform: skewY(-2deg);
    transform-origin: left;
}

.closing-inner {
    max-width: 760px;
    position: relative;
    z-index: 2;
}

.ghost-number--closing {
    top: -90px;
    left: 50%;
    transform: translateX(-50%);
}

.closing .kicker {
    justify-content: center;
    display: inline-flex;
    margin-bottom: 40px;
}

.closing-title {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(2.5rem, 5.2vw, 4rem);
    line-height: 1.05;
    letter-spacing: -0.025em;
    color: var(--flash);
    margin-bottom: 32px;
}

.closing-body {
    font-family: var(--font-body);
    font-size: clamp(16px, 1.2vw, 19px);
    line-height: 1.65;
    color: var(--text-body);
    margin: 0 auto 56px;
    max-width: 54ch;
}

.closing-link {
    font-family: var(--font-mono);
    font-size: 18px;
    color: var(--accent);
    position: relative;
    display: inline-block;
    padding-bottom: 4px;
    background-image: linear-gradient(var(--accent), var(--accent));
    background-repeat: no-repeat;
    background-size: 0% 2px;
    background-position: left 100%;
    transition: background-size 0.55s var(--ease-snap), color 0.3s ease;
    letter-spacing: 0.04em;
}

.closing-link:hover {
    background-size: 100% 2px;
    color: var(--accent-hover);
}

.closing-foot {
    margin-top: 72px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: var(--text-muted-2);
    flex-wrap: wrap;
}

.closing-foot-dot {
    width: 3px;
    height: 3px;
    background: var(--border);
    border-radius: 50%;
}

/* ===========================
   Reveal animations
   =========================== */
.reveal {
    opacity: 0;
    transform: translateY(60px);
    transition: opacity 0.85s var(--ease-snap), transform 0.85s var(--ease-snap);
    will-change: transform, opacity;
}

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

.reveal[data-stagger="0"] { transition-delay: 0ms; }
.reveal[data-stagger="1"] { transition-delay: 100ms; }
.reveal[data-stagger="2"] { transition-delay: 200ms; }
.reveal[data-stagger="3"] { transition-delay: 300ms; }
.reveal[data-stagger="4"] { transition-delay: 400ms; }
.reveal[data-stagger="5"] { transition-delay: 500ms; }

/* ===========================
   Responsive
   =========================== */
@media (max-width: 900px) {
    .band { padding: 110px 0; }
    .band-inner { padding: 0 28px; }
    .ghost-number { font-size: 100px; top: -20px; }
    .top-bar-inner { padding: 0 20px; }
    .nav-overlay-inner { padding: 100px 28px 40px; }
    .hero-content { left: 28px; right: 28px; max-width: none; }
    .hero-scroll-cue { display: none; }
    .method-steps { padding: 20px; }
    .showcase-grid { margin-top: 32px; }
    .closing { padding: 120px 28px; }
}
