/* ============================================================
   EDITORIAL — alternating black/cream blocks with rich
   typographic emphasis vocabulary.
   ============================================================ */

.editorial {
    position: relative;
}

/* Each .ed-block is a self-contained "page" with its own palette. */
.ed-block {
    position: relative;
    padding: 140px 48px;
    overflow: hidden;
}

.ed-block__inner {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.ed-block--cream {
    background: var(--cream);
    color: var(--ink);
}

.ed-block--black {
    background: var(--black);
    color: var(--soft-sand);
}

/* Seam line between adjacent blocks of same palette */
.ed-block + .ed-block { border-top: 1px solid currentColor; border-color: rgba(0, 0, 0, 0); }
.ed-block--cream + .ed-block--cream { border-top-color: var(--ink-faint); }
.ed-block--black + .ed-block--black { border-top-color: var(--soft-sand-faint); }

/* The final cream block flows directly into the cases section
   (also cream). Tighten its bottom so the section break doesn't
   feel like a void. */
.editorial > .ed-block--cream:last-child {
    padding-bottom: 60px;
}


/* === Typography inside a block ============================= */

.ed-statement {
    font-family: var(--font-display);
    font-weight: 400;
    font-style: italic;
    font-size: clamp(2rem, 4vw, 3.2rem);
    line-height: 1.18;
    letter-spacing: -0.015em;
    margin-bottom: 40px;
    color: inherit;
}

.ed-statement--shout {
    font-family: var(--font-body);
    font-weight: 800;
    font-style: normal;
    font-size: clamp(2.4rem, 5vw, 4rem);
    line-height: 1.05;
    letter-spacing: -0.02em;
    text-transform: none;
}

.ed-body {
    font-family: var(--font-body);
    font-size: clamp(0.95rem, 1.15vw, 1.0625rem);
    font-weight: 400;
    line-height: 1.85;
    margin-bottom: 28px;
}

.ed-body--lg {
    font-size: clamp(1.1rem, 1.4vw, 1.35rem);
    font-weight: 400;
    line-height: 1.6;
}

.ed-body strong { font-weight: 600; }

.ed-block--black .ed-body { color: var(--soft-sand-dim); }
.ed-block--black .ed-body strong { color: var(--soft-sand); }
.ed-block--cream .ed-body { color: var(--ink-dim); }
.ed-block--cream .ed-body strong { color: var(--ink); }

.ed-divider {
    width: 48px;
    height: 2px;
    background: currentColor;
    opacity: 0.4;
    margin: 0 0 40px;
}

.ed-spacer { height: 56px; }
.ed-spacer--lg { height: 96px; }


/* === Bombardment block — kept stagger animation ============ */
.ed-bombardment {
    font-family: var(--font-body);
    font-size: clamp(1.05rem, 1.4vw, 1.25rem);
    font-weight: 500;
    line-height: 2.2;
    margin: 24px 0 32px;
}

.ed-bombardment .stagger-line { display: block; cursor: default; transition: color 0.3s ease; }
.ed-block--black .ed-bombardment { color: var(--soft-sand-dim); }
.ed-block--black .ed-bombardment .stagger-line:hover { color: var(--soft-sand); }
.ed-block--cream .ed-bombardment { color: var(--ink-dim); }
.ed-block--cream .ed-bombardment .stagger-line:hover { color: var(--ink); }


/* === Inline figure (an image dropped mid-copy) ============= */
.ed-figure {
    margin: 56px auto;
    position: relative;
    max-width: 620px;
    width: 100%;
}

.ed-figure img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 6px;
    box-shadow: 0 30px 60px -20px rgba(0,0,0,0.55);
}

.ed-figure--small { max-width: 380px; }
.ed-figure--right { margin-left: auto; margin-right: 0; }
.ed-figure--left { margin-left: 0; margin-right: auto; }
.ed-figure--tilt-l { transform: rotate(-1.5deg); }
.ed-figure--tilt-r { transform: rotate(1.5deg); }

.ed-figure__caption {
    font-family: var(--font-hand);
    font-weight: 500;
    font-size: 1.4rem;
    color: var(--fire-red);
    margin-top: 14px;
    text-align: center;
    transform: rotate(-1deg);
    display: block;
}


/* === Pull-quote box (yellow tape, handwritten) ============= */
.ed-pullquote {
    position: relative;
    margin: 64px auto;
    padding: 36px 32px 32px;
    max-width: 620px;
    background: rgba(244, 220, 138, 0.08);
    border: 1px solid currentColor;
    border-color: rgba(239, 40, 40, 0.35);
}

.ed-pullquote::before {
    /* Tape */
    content: '';
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%) rotate(-2deg);
    width: 120px;
    height: 22px;
    background: var(--tape);
    box-shadow: 0 1px 3px rgba(0,0,0,0.18);
}

.ed-pullquote__text {
    font-family: var(--font-display);
    font-style: italic;
    font-weight: 400;
    font-size: clamp(1.4rem, 2.3vw, 1.9rem);
    line-height: 1.3;
    text-align: center;
    color: inherit;
}


/* === Numbered list with handscript numbers ================= */
.ed-list {
    list-style: none;
    margin: 32px 0;
    padding: 0;
    display: grid;
    gap: 28px;
}

.ed-list__item {
    display: grid;
    grid-template-columns: 72px 1fr;
    gap: 20px;
    align-items: start;
}

.ed-list__num {
    font-family: var(--font-hand);
    font-weight: 700;
    font-size: 3.4rem;
    line-height: 0.9;
    color: var(--fire-red);
    text-align: center;
    transform: rotate(-4deg);
}

.ed-list__body {
    font-family: var(--font-body);
    font-size: clamp(0.95rem, 1.15vw, 1.0625rem);
    font-weight: 400;
    line-height: 1.7;
}


/* === Reveal vocabulary still applies inside .ed-* ========== */
/* (already provided by animations.css — reveal-clip, reveal-blur, reveal-stagger, reveal-fade) */


/* === Responsive tweaks ===================================== */
@media (max-width: 1024px) {
    .ed-block { padding: 110px 36px; }
}

@media (max-width: 768px) {
    .ed-block { padding: 80px 24px; }
    .ed-statement { font-size: clamp(1.6rem, 6.5vw, 2.2rem); margin-bottom: 28px; }
    .ed-statement--shout { font-size: clamp(2rem, 8vw, 2.6rem); }
    .ed-spacer { height: 40px; }
    .ed-spacer--lg { height: 64px; }
    .ed-figure { margin: 36px auto; }
    .ed-pullquote { padding: 28px 22px; margin: 44px auto; }
    .ed-list__item { grid-template-columns: 56px 1fr; gap: 14px; }
    .ed-list__num { font-size: 2.6rem; }
}

@media (min-width: 1400px) {
    .ed-block { padding: 180px 48px; }
}
