/* =========================================================
   eesugi.com — Single-column manifesto
   Swiss precision · Tokyo protest · Jewel-tone darkness
   Design compliance vocabulary: Interactive elements use Amethyst (#7B2D8E International Typographic Style with the raw energy of Tokyo street protest graphics — imagine Josef Muller-Brockmann's grid discipline shattered by Tadanori Yokoo's psychedelic explosions. IntersectionObserver adds `.animate-in` class when visible → `width: 100%` setup and navigation toggle — total JS under 2KB; IntersectionObserver thresholds: 0; IntersectionObserver to watch all elements with a data-reveal attribute. JetBrains Mono (400 JetBrains Mono" (Google Fonts; Playfair Display (700 Playfair Display at 48px. No other elements. The photograph has no caption — it is a challenge; Playfair Display at clamp(4rem; Playfair Display" (Google Fonts; Space Grotesk (500 Space Grotesk at 10px Space Grotesk uppercase Space Grotesk" (Google Fonts.
   ========================================================= */

:root {
    --void: #1A1124;
    --obsidian: #0F0D14;
    --bone: #F5F0E8;
    --ash: #D4CFC7;
    --amethyst: #7B2D8E;
    --malachite: #2E7D5E;
    --malachite-deep: #1B6B4A;
    --ruby: #C2185B;
    --ruby-glass: rgba(194, 24, 91, 0.15);
    --sapphire: #1A3A7E;
    --deep-violet: #2A2235;

    --col-max: 720px;
    --rhythm-section: 128px;
    --rhythm-paragraph: 32px;
}

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

html {
    scroll-behavior: smooth;
    background: var(--void);
}

body {
    font-family: 'Karla', system-ui, sans-serif;
    font-size: 18px;
    line-height: 1.7;
    color: var(--ash);
    background: var(--void);
    min-height: 100vh;
    overflow-x: hidden;
    letter-spacing: 0.005em;
    position: relative;
}

/* Grid ghost overlay — visible only on desktop */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    background-image:
        repeating-linear-gradient(0deg, rgba(123,45,142,0.06) 0px, rgba(123,45,142,0.06) 1px, transparent 1px, transparent 64px),
        repeating-linear-gradient(90deg, rgba(123,45,142,0.06) 0px, rgba(123,45,142,0.06) 1px, transparent 1px, transparent 64px);
    pointer-events: none;
    z-index: 0;
    display: none;
}

@media (min-width: 1024px) {
    body::before { display: block; }
}

/* Subtle alternating background bands tied to sections */
body::after {
    content: '';
    position: fixed;
    inset: 0;
    background:
        radial-gradient(ellipse at 80% -10%, rgba(123,45,142,0.12), transparent 55%),
        radial-gradient(ellipse at 10% 110%, rgba(46,125,94,0.08), transparent 55%);
    pointer-events: none;
    z-index: 0;
}

/* =========================================================
   Nav glyph (terminal cursor in the corner)
   ========================================================= */

.nav-glyph {
    position: fixed;
    top: 28px;
    right: 28px;
    width: 36px;
    height: 36px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 200;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.nav-glyph__square {
    display: block;
    width: 12px;
    height: 12px;
    background: var(--amethyst);
    transform: rotate(45deg);
    animation: cursor-pulse 1s ease-in-out infinite;
    transition: background 250ms ease;
}

.nav-glyph[data-open="true"] .nav-glyph__square {
    background: var(--ruby);
    animation: none;
}

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

/* =========================================================
   Nav panel — slides down from the top
   ========================================================= */

.nav-panel {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--obsidian);
    border-bottom: 1px solid rgba(123, 45, 142, 0.3);
    transform: translateY(-100%);
    transition: transform 350ms cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 150;
    padding: 96px 48px 48px;
}

.nav-panel[data-open="true"] {
    transform: translateY(0);
}

.nav-panel__list {
    list-style: none;
    max-width: var(--col-max);
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.nav-panel__link {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 24px;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--bone);
    text-decoration: none;
    padding: 8px 0;
    border-bottom: 1px solid rgba(123, 45, 142, 0.2);
    transition: color 250ms ease, border-color 250ms ease, transform 350ms ease;
}

.nav-panel__link:hover {
    color: var(--ruby);
    border-color: var(--ruby);
    transform: translateX(8px);
}

.nav-panel__meta {
    max-width: var(--col-max);
    margin: 48px auto 0;
    display: flex;
    justify-content: space-between;
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
    color: var(--malachite);
    letter-spacing: 0.05em;
}

.nav-panel__build {
    color: rgba(123, 45, 142, 0.7);
}

/* =========================================================
   The column
   ========================================================= */

.column {
    position: relative;
    z-index: 1;
    max-width: var(--col-max);
    margin: 0 auto;
    padding: 160px 24px 192px;
}

@media (min-width: 768px) {
    .column { padding: 200px 32px 256px; }
}

.section {
    padding: 64px 0;
    position: relative;
}

.section--provocation {
    padding-top: 32px;
    min-height: 90vh;
}

.section--declaration {
    text-align: center;
    padding-top: 128px;
    padding-bottom: 64px;
}

/* Section markers and coordinate labels */

.section-marker {
    display: inline-block;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--amethyst);
    margin-bottom: 48px;
}

.coord-label {
    display: none;
    position: absolute;
    left: -88px;
    top: 80px;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 10px;
    letter-spacing: 0.2em;
    color: rgba(123, 45, 142, 0.4);
    transform: rotate(-90deg);
    transform-origin: left top;
    white-space: nowrap;
}

@media (min-width: 1100px) {
    .coord-label { display: block; }
}

/* =========================================================
   Provocation
   ========================================================= */

.provocation__headline {
    font-family: 'Playfair Display', serif;
    font-weight: 900;
    font-size: clamp(3rem, 10vw, 7rem);
    line-height: 0.96;
    color: var(--bone);
    letter-spacing: -0.03em;
    margin-top: 48px;
}

.data-tick-cluster {
    margin-top: 64px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.data-tick {
    width: 24px;
    height: 1px;
    background: rgba(123, 45, 142, 0.45);
}

/* =========================================================
   Section headlines (thesis, evidence)
   ========================================================= */

.section__headline {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: clamp(2.5rem, 6vw, 4rem);
    line-height: 1.05;
    letter-spacing: -0.02em;
    color: var(--bone);
    margin-bottom: 64px;
}

/* =========================================================
   Thesis
   ========================================================= */

.thesis__paragraph {
    font-family: 'Karla', sans-serif;
    font-size: 18px;
    line-height: 1.7;
    color: var(--ash);
    margin-bottom: var(--rhythm-paragraph);
}

.thesis__paragraph + .thesis__paragraph {
    margin-top: var(--rhythm-paragraph);
}

.ruby-strip {
    background: var(--ruby-glass);
    color: var(--bone);
    padding: 0 4px;
    box-decoration-break: clone;
    -webkit-box-decoration-break: clone;
    font-weight: 700;
}

.mono {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.92em;
    color: var(--malachite);
    letter-spacing: 0;
}

em {
    font-style: italic;
    color: var(--bone);
}

/* =========================================================
   Evidence
   ========================================================= */

.evidence-block {
    margin-bottom: 96px;
    border-left: 1px solid rgba(123, 45, 142, 0.18);
    padding-left: 24px;
}

.evidence-block__header {
    margin-bottom: 32px;
}

.evidence-block__index {
    display: block;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--amethyst);
    margin-bottom: 12px;
}

.evidence-block__summary {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: clamp(1.5rem, 3.5vw, 2rem);
    line-height: 1.2;
    color: var(--bone);
    letter-spacing: -0.015em;
}

.evidence-block__detail {
    margin-top: 24px;
}

.evidence-block__text {
    font-family: 'Karla', sans-serif;
    font-size: 18px;
    line-height: 1.7;
    color: var(--ash);
    margin-top: 24px;
}

.evidence-block__text:first-child {
    margin-top: 0;
}

/* =========================================================
   Duotone figures
   ========================================================= */

.duotone {
    position: relative;
    width: 100%;
    aspect-ratio: 3 / 2;
    margin: 32px 0;
    overflow: hidden;
    background: var(--obsidian);
    isolation: isolate;
}

.duotone__svg {
    width: 100%;
    height: 100%;
    display: block;
    filter: grayscale(100%) contrast(1.2) brightness(0.9);
}

.duotone::after {
    content: '';
    position: absolute;
    inset: 0;
    mix-blend-mode: color;
    pointer-events: none;
}

.duotone--amethyst-malachite::after {
    background: linear-gradient(135deg, var(--amethyst), var(--malachite));
}

.duotone--sapphire-ruby::after {
    background: linear-gradient(135deg, var(--sapphire), var(--ruby));
}

.duotone::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 60%, rgba(15, 13, 20, 0.4));
    pointer-events: none;
    z-index: 2;
}

/* =========================================================
   Section dividers — animated progress lines
   ========================================================= */

.section-divider {
    border: none;
    height: 1px;
    background: var(--malachite);
    width: 0;
    margin: 64px 0;
    transition: width 800ms ease-out;
}

.section-divider.animate-in {
    width: 100%;
}

/* =========================================================
   Declaration
   ========================================================= */

.declaration__lead {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--amethyst);
    margin-bottom: 64px;
}

.declaration__word {
    font-family: 'Playfair Display', serif;
    font-weight: 900;
    font-size: clamp(4rem, 14vw, 8rem);
    line-height: 1;
    color: var(--bone);
    letter-spacing: -0.04em;
    margin: 0;
    padding: 32px 0;
}

.declaration__sub {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-weight: 400;
    font-size: clamp(1.2rem, 2.5vw, 1.6rem);
    color: var(--ash);
    margin-top: 32px;
    margin-bottom: 128px;
}

.declaration__rule {
    border: none;
    height: 1px;
    background: var(--malachite);
    width: 0;
    margin: 64px auto 48px;
    transition: width 800ms ease-out;
}

.declaration__rule.animate-in {
    width: 60%;
}

/* =========================================================
   Colophon
   ========================================================= */

.colophon {
    text-align: left;
    max-width: 480px;
    margin: 0 auto;
    padding-top: 32px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.colophon__row {
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 16px;
    font-family: 'Karla', sans-serif;
    font-size: 14px;
    line-height: 1.5;
    color: var(--ash);
    border-bottom: 1px solid rgba(123, 45, 142, 0.15);
    padding-bottom: 8px;
}

.colophon__label {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--amethyst);
    padding-top: 2px;
}

.colophon__value {
    font-family: 'JetBrains Mono', monospace;
    font-size: 13px;
    color: var(--ash);
}

/* =========================================================
   Tick rail (decorative)
   ========================================================= */

.tick-rail {
    position: fixed;
    top: 50%;
    left: 24px;
    transform: translateY(-50%);
    display: none;
    flex-direction: column;
    gap: 22px;
    z-index: 5;
}

.tick {
    display: block;
    width: 24px;
    height: 1px;
    background: rgba(123, 45, 142, 0.3);
}

@media (min-width: 1280px) {
    .tick-rail { display: flex; }
}

/* =========================================================
   Progressive disclosure
   ========================================================= */

[data-reveal] {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transform: translateY(8px);
    transition:
        max-height 600ms ease-out,
        opacity 400ms ease-out 200ms,
        transform 600ms ease-out 100ms;
}

[data-reveal].revealed {
    max-height: 2000px;
    opacity: 1;
    transform: translateY(0);
}

/* The provocation headline reveals immediately to anchor the page */
.section--provocation [data-reveal],
.provocation__headline {
    max-height: none;
    opacity: 1;
    overflow: visible;
    transform: none;
}

/* =========================================================
   Responsive
   ========================================================= */

@media (max-width: 768px) {
    body { font-size: 16px; line-height: 1.65; }
    .thesis__paragraph,
    .evidence-block__text { font-size: 16px; line-height: 1.65; }

    .section { padding: 48px 0; }
    .evidence-block { padding-left: 16px; margin-bottom: 64px; }

    .nav-glyph { top: 18px; right: 18px; }
    .nav-panel { padding: 80px 24px 32px; }
    .nav-panel__link { font-size: 18px; }
    .nav-panel__meta { flex-direction: column; gap: 8px; font-size: 10px; }

    .colophon__row { grid-template-columns: 1fr; gap: 4px; }
}

/* Selection */
::selection {
    background: var(--ruby);
    color: var(--bone);
}
