/* ================================================
   ARCHONX.AI — HOMEPAGE: COMMAND LEDGER (Issue 01)
   Editorial broadsheet — monochrome, ruled, numbered.
   Loaded by index.html only (body.home-editorial).
   ================================================ */

body.home-editorial {
    /* poles */
    --ink: #0a0a0a;
    --paper: #ffffff;
    --ink-dim: #141414;
    --paper-dim: #f4f4f4;
    --grey-600: #4a4a4a;
    --grey-500: #6b6b6b;
    --grey-400: #9c9c9c;
    --grey-300: #c9c9c9;
    --rule-light: rgba(10, 10, 10, 0.15);
    --rule-dark: rgba(255, 255, 255, 0.18);
    /* type scale */
    --t-hero: clamp(36px, 8.2vw, 118px);
    --t-display: clamp(40px, 5.5vw, 76px);
    --t-quote: clamp(36px, 5vw, 72px);
    --t-stat: clamp(72px, 9vw, 150px);
    --t-statline: clamp(40px, 5vw, 72px);
    --t-index-title: clamp(24px, 3vw, 40px);
    --t-bignum: clamp(56px, 7vw, 96px);
    --ed-ease: cubic-bezier(0.16, 1, 0.3, 1);
    background: var(--paper);
    color: var(--ink);
}

.home-editorial .ed-container {
    max-width: 1320px;
    margin: 0 auto;
    padding-inline: clamp(20px, 4vw, 56px);
}

/* shared meta type */
.home-editorial .ed-kicker,
.home-editorial .ed-sechead-meta span,
.home-editorial .ed-masthead-cell,
.home-editorial .ed-stat-label,
.home-editorial .ed-entry-index,
.home-editorial .ed-clause-tag,
.home-editorial .ed-result-meta,
.home-editorial .ed-term-label,
.home-editorial .ed-quote-attr,
.home-editorial .ed-deficit-cap,
.home-editorial .ed-hero-scroll span:first-child {
    font-family: 'Space Grotesk', 'Inter', sans-serif;
    font-size: 11px;
    font-weight: 500;
    line-height: 1.4;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

/* tabular numerals everywhere numbers appear */
.home-editorial .counter,
.home-editorial .hero-stat-value,
.home-editorial .ed-stat-num,
.home-editorial .ed-deficit-num,
.home-editorial .ed-result-num,
.home-editorial .ed-index-num,
.home-editorial .ed-index-metrics,
.home-editorial .ed-bignum,
.home-editorial .ed-clause-num,
.home-editorial .ed-gauge-cap {
    font-variant-numeric: tabular-nums;
}

/* ghost / outline type */
.home-editorial .ed-ghost {
    color: transparent;
    -webkit-text-stroke: 1px #fff;
}
@supports not (-webkit-text-stroke: 1px #fff) {
    .home-editorial .ed-ghost { color: #fff; }
}

/* =================== NAVBAR THEMING =================== */
.home-editorial .navbar {
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-bottom: 1px solid transparent;
    transition: background 0.3s var(--ed-ease), border-color 0.3s var(--ed-ease);
}
.home-editorial .navbar .logo-text { color: #fff; transition: color 0.3s; }
.home-editorial .navbar .logo-mark { filter: invert(1) grayscale(1); transition: filter 0.3s; }
.home-editorial .nav-link { color: #fff; }
.home-editorial .nav-toggle span { background: #fff; }

.home-editorial .navbar.scrolled:not(.navbar--paper) {
    background: rgba(10, 10, 10, 0.85);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    border-bottom-color: var(--rule-dark);
}

.home-editorial .navbar.navbar--paper {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    border-bottom-color: var(--rule-light);
}
.home-editorial .navbar--paper .logo-text { color: var(--ink); }
.home-editorial .navbar--paper .logo-mark { filter: none; }
.home-editorial .navbar--paper .nav-link { color: var(--ink); }
.home-editorial .navbar--paper .nav-toggle span { background: var(--ink); }

/* =================== HERO — THE COVER =================== */
.home-editorial .ed-hero {
    position: relative;
    min-height: 100svh;
    display: flex;
    flex-direction: column;
    background: var(--ink);
    overflow: hidden;
}

.home-editorial .ed-hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}
.home-editorial .ed-hero-bg::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url('assets/hero-bg.png') center / cover no-repeat;
    filter: none;
    display: none;
}
.home-editorial .ed-hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 1;
    filter: none;
}
.home-editorial .ed-hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    pointer-events: none;
}

.home-editorial .ed-hero-inner {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    flex: 1;
    width: 100%;
}

/* masthead bar */
.home-editorial .ed-masthead {
    margin-top: calc(var(--nav-height) + 40px);
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 24px;
    padding: 14px 0;
    border-top: 1px solid var(--rule-dark);
    border-bottom: 1px solid var(--rule-dark);
}
.home-editorial .ed-masthead-cell { color: rgba(255, 255, 255, 0.7); }
.home-editorial .ed-masthead-vol { text-align: right; }
.home-editorial .ed-masthead-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: none;
    border: none;
    padding: 0;
    margin: 0;
    animation: none;
}
.home-editorial .ed-masthead-badge .badge-text {
    font: inherit;
    letter-spacing: inherit;
    text-transform: inherit;
    color: #fff;
}
.home-editorial .badge-pulse {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #fff;
    animation: edPulse 2.4s ease-out infinite;
    flex-shrink: 0;
}
@keyframes edPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.5); }
    60% { box-shadow: 0 0 0 6px rgba(255, 255, 255, 0); }
}

/* headline */
.home-editorial .ed-hero-title {
    margin-top: 8vh;
    color: #fff;
    font-family: 'Inter', sans-serif;
    font-size: var(--t-hero);
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 0.95;
    text-transform: uppercase;
}
.home-editorial .ed-line {
    display: block;
    overflow: hidden;
    padding-bottom: 0.06em;
}
.home-editorial .ed-line-inner {
    display: inline-block;
    transform: translateY(110%);
    animation: edLineUp 0.7s var(--ed-ease) forwards;
}
.home-editorial .ed-line:nth-child(1) .ed-line-inner { animation-delay: 0.1s; }
.home-editorial .ed-line:nth-child(2) .ed-line-inner { animation-delay: 0.19s; }
.home-editorial .ed-line:nth-child(3) .ed-line-inner { animation-delay: 0.28s; }
@keyframes edLineUp {
    to { transform: translateY(0); }
}

/* sub row */
.home-editorial .ed-hero-sub {
    margin-top: 48px;
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    align-items: end;
    gap: 40px;
}
.home-editorial .ed-hero-dek {
    max-width: 46ch;
    color: var(--grey-300);
    font-size: 17px;
    line-height: 1.65;
}
.home-editorial .ed-hero-ctas {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 32px;
}

/* buttons */
.home-editorial .ed-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    font-family: 'Space Grotesk', 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    border-radius: 0;
    cursor: pointer;
    transition: outline-color 0.2s, border-color 0.2s, background 0.2s;
    white-space: nowrap;
}
.home-editorial .ed-btn .ed-arrow {
    display: inline-block;
    transition: transform 0.2s var(--ed-ease);
}
.home-editorial .ed-btn:hover .ed-arrow { transform: translateX(4px); }
.home-editorial .ed-btn--solid {
    background: #fff;
    color: var(--ink);
    outline: 1px solid transparent;
    outline-offset: 4px;
}
.home-editorial .ed-btn--solid:hover { outline-color: rgba(255, 255, 255, 0.5); }
.home-editorial .ed-btn--bare {
    padding: 0;
    color: #fff;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 6px;
    transition: text-underline-offset 0.2s var(--ed-ease);
}
.home-editorial .ed-btn--bare:hover { text-underline-offset: 10px; }
.home-editorial .ed-btn--outline {
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.4);
}
.home-editorial .ed-btn--outline:hover { border-color: #fff; }

/* stat strip */
.home-editorial .ed-hero-strip {
    margin-top: auto;
    padding-top: clamp(48px, 7vh, 96px);
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-top: 1px solid var(--rule-dark);
}
.home-editorial .ed-hero-stat {
    padding: 28px 32px;
    text-align: left;
}
.home-editorial .ed-hero-stat:first-child { padding-left: 0; }
.home-editorial .ed-hero-stat + .ed-hero-stat { border-left: 1px solid var(--rule-dark); }
.home-editorial .ed-stat-num {
    display: block;
    font-family: 'Space Grotesk', 'Inter', sans-serif;
    font-size: var(--t-statline);
    font-weight: 300;
    line-height: 1;
    color: #fff;
    letter-spacing: -0.02em;
}
.home-editorial .ed-stat-num sup {
    font-size: 0.45em;
    vertical-align: 0.85em;
}
.home-editorial .ed-stat-label {
    display: block;
    margin-top: 10px;
    color: var(--grey-400);
}

/* scroll indicator */
.home-editorial .ed-hero-scroll {
    position: absolute;
    right: clamp(20px, 4vw, 56px);
    bottom: 132px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 12px;
    color: rgba(255, 255, 255, 0.6);
}
.home-editorial .ed-scroll-line {
    width: 1px;
    height: 40px;
    background: #fff;
    transform-origin: top;
    animation: edScrollPulse 2s var(--ed-ease) infinite;
}
@keyframes edScrollPulse {
    0% { transform: scaleY(0); opacity: 0.9; }
    60% { transform: scaleY(1); opacity: 0.9; }
    100% { transform: scaleY(1); opacity: 0; }
}

/* =================== SECTIONS — SHARED RITUAL =================== */
.home-editorial .ed-section {
    padding: clamp(96px, 10vw, 140px) 0;
    position: relative;
}
.home-editorial .ed-section--paper {
    background: var(--paper);
    color: var(--ink);
}
.home-editorial .ed-section--ink {
    background: var(--ink);
    color: #fff;
}

.home-editorial .ed-rule {
    display: block;
    width: 100%;
    height: 1px;
    background: var(--rule-light);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.8s var(--ed-ease);
}
.home-editorial .ed-rule.revealed { transform: scaleX(1); }
.home-editorial .ed-section--ink .ed-rule { background: var(--rule-dark); }
.home-editorial .ed-rule--fat {
    height: 4px;
    background: var(--ink);
}

.home-editorial .ed-sechead { margin-bottom: clamp(48px, 6vw, 80px); }
.home-editorial .ed-sechead-meta {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    padding: 12px 0;
}
.home-editorial .ed-sechead-meta span { color: var(--grey-500); }
.home-editorial .ed-section--ink .ed-sechead-meta span { color: rgba(255, 255, 255, 0.6); }
.home-editorial .ed-running { color: var(--grey-400) !important; }

.home-editorial .ed-sechead-title {
    display: flex;
    align-items: baseline;
    gap: clamp(20px, 3vw, 48px);
    margin-top: clamp(24px, 3vw, 48px);
}
.home-editorial .ed-bignum {
    font-family: 'Space Grotesk', 'Inter', sans-serif;
    font-size: var(--t-bignum);
    font-weight: 300;
    line-height: 0.9;
    color: var(--ink);
    flex-shrink: 0;
}
.home-editorial .ed-section--ink .ed-bignum { color: #fff; }
.home-editorial .ed-title {
    font-family: 'Inter', sans-serif;
    font-size: var(--t-display);
    font-weight: 700;
    letter-spacing: -0.035em;
    line-height: 1.0;
}
.home-editorial .ed-dek {
    margin-left: auto;
    align-self: flex-end;
    max-width: 24ch;
    color: var(--grey-500);
    font-size: 15px;
    line-height: 1.6;
    text-align: right;
}

.home-editorial .ed-underline {
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 6px;
}
.home-editorial .ed-underline--heavy {
    text-decoration-thickness: 2px;
    text-underline-offset: 10px;
}

/* =================== No 01 — LEXICON =================== */
.home-editorial .ed-lexicon {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
}
.home-editorial .ed-entry {
    padding: 32px 36px 0 0;
    border-top: 1px solid var(--rule-light);
}
.home-editorial .ed-entry:nth-child(2) {
    margin-top: 48px;
    border-left: 1px solid var(--rule-light);
    padding-left: 36px;
}
.home-editorial .ed-entry:nth-child(3) {
    margin-top: 96px;
    border-left: 1px solid var(--rule-light);
    padding-left: 36px;
    padding-right: 0;
}
.home-editorial .ed-entry-index {
    display: block;
    color: var(--grey-500);
    margin-bottom: 20px;
}
.home-editorial .ed-entry h3 {
    font-size: clamp(24px, 2.5vw, 34px);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.15;
    margin-bottom: 12px;
}
.home-editorial .ed-entry-dict {
    font-family: 'Space Grotesk', 'Inter', sans-serif;
    font-size: 12px;
    color: var(--grey-500);
    margin-bottom: 16px;
}
.home-editorial .ed-entry p {
    color: var(--grey-600);
    font-size: 15px;
    line-height: 1.7;
}
.home-editorial .ed-entry p strong { color: var(--ink); font-weight: 600; }

/* =================== No 02 — DEFICIT =================== */
.home-editorial .ed-deficit {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    gap: clamp(40px, 6vw, 96px);
    margin-bottom: clamp(56px, 7vw, 96px);
}
.home-editorial .ed-deficit-num {
    font-family: 'Space Grotesk', 'Inter', sans-serif;
    font-size: clamp(96px, 15vw, 210px);
    font-weight: 300;
    line-height: 0.9;
    color: #fff;
    letter-spacing: -0.03em;
}
.home-editorial .ed-deficit-sym {
    font-size: 0.4em;
    vertical-align: 1.05em;
}
.home-editorial .ed-deficit-cap {
    margin-top: 20px;
    color: var(--grey-400);
}
.home-editorial .ed-deficit-copy {
    margin-top: 20px;
    max-width: 44ch;
    color: var(--grey-300);
    font-size: 16px;
    line-height: 1.7;
}
.home-editorial .ed-deficit-copy strong { color: #fff; font-weight: 600; }
.home-editorial .ed-kicker { color: var(--grey-400); display: block; }

/* ledger table */
.home-editorial .ed-ledger-row {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr) 48px minmax(0, 1fr);
    align-items: center;
    gap: 16px;
    padding: 24px 0;
    border-top: 1px solid var(--rule-dark);
    transition: background-color 0.12s linear;
}
.home-editorial .ed-ledger-row:last-child { border-bottom: 1px solid var(--rule-dark); }
.home-editorial .ed-ledger-row:hover { background: var(--ink-dim); }
.home-editorial .ed-ledger-letter {
    font-family: 'Space Grotesk', 'Inter', sans-serif;
    font-size: 20px;
    font-weight: 300;
    color: var(--grey-500);
}
.home-editorial .ed-ledger-crisis {
    color: #8a8a8a;
    font-size: 16px;
    text-decoration: line-through;
    text-decoration-thickness: 1px;
    text-decoration-color: rgba(255, 255, 255, 0.4);
}
.home-editorial .ed-ledger-crisis::before { content: "\2212\00a0"; }
.home-editorial .ed-ledger-arrow {
    color: #fff;
    text-align: center;
    font-size: 18px;
}
.home-editorial .ed-ledger-solution {
    color: #fff;
    font-size: 16px;
    font-weight: 500;
}
.home-editorial .ed-ledger-solution::before { content: "+\00a0"; }

/* =================== No 03 — PROTOCOL =================== */
.home-editorial .ed-section--protocol { overflow: hidden; }
.home-editorial .ed-ghostnum {
    position: absolute;
    top: 40px;
    right: -2vw;
    font-family: 'Space Grotesk', 'Inter', sans-serif;
    font-size: clamp(180px, 24vw, 320px);
    font-weight: 300;
    line-height: 1;
    color: transparent;
    -webkit-text-stroke: 1px rgba(10, 10, 10, 0.07);
    pointer-events: none;
    user-select: none;
    z-index: 0;
}
@supports not (-webkit-text-stroke: 1px #000) {
    .home-editorial .ed-ghostnum { color: rgba(10, 10, 10, 0.05); }
}
.home-editorial .ed-section--protocol .ed-container { position: relative; z-index: 1; }

.home-editorial .ed-clause {
    display: grid;
    grid-template-columns: 120px minmax(0, 1.1fr) minmax(0, 1fr);
    gap: clamp(24px, 3vw, 48px);
    padding: 48px 0;
    border-top: 1px solid var(--rule-light);
}
.home-editorial .ed-clause-num {
    font-family: 'Space Grotesk', 'Inter', sans-serif;
    font-size: clamp(32px, 3.5vw, 48px);
    font-weight: 300;
    line-height: 1;
    color: var(--ink);
}
.home-editorial .ed-clause-title {
    font-size: clamp(28px, 3vw, 40px);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.1;
    transition: transform 0.2s var(--ed-ease);
}
.home-editorial .ed-clause:hover .ed-clause-title { transform: translateX(8px); }
.home-editorial .ed-clause-body p {
    color: var(--grey-600);
    font-size: 15px;
    line-height: 1.7;
}
.home-editorial .ed-clause-tag {
    display: block;
    margin-top: 20px;
    color: var(--grey-500);
}
.home-editorial .ed-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 16px;
    font-size: 13px;
    font-weight: 500;
    color: var(--ink);
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 4px;
}
.home-editorial .ed-link .ed-arrow { transition: transform 0.2s var(--ed-ease); }
.home-editorial .ed-link:hover .ed-arrow { transform: translateX(4px); }

.home-editorial .ed-subclause {
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid var(--rule-light);
}
.home-editorial .ed-subclause-num {
    display: block;
    font-family: 'Space Grotesk', 'Inter', sans-serif;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--ink);
    margin-bottom: 6px;
}
.home-editorial .ed-subclause p {
    font-size: 14px;
    color: var(--grey-500);
}

/* =================== No 04 — DOCTRINE =================== */
.home-editorial .ed-doctrine {
    padding: 140px 0;
    overflow: hidden;
}
.home-editorial .ed-doctrine-plate {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(1) contrast(1.2);
    opacity: 0.18;
}
.home-editorial .ed-doctrine .ed-container { position: relative; z-index: 1; }
.home-editorial .ed-quote-block {
    margin-top: clamp(40px, 5vw, 64px);
    max-width: 1080px;
}
.home-editorial .ed-quote-dash {
    display: block;
    width: 64px;
    height: 1px;
    background: #fff;
    margin-bottom: 32px;
}
.home-editorial .ed-quote {
    font-family: 'Inter', sans-serif;
    font-size: var(--t-quote);
    font-weight: 300;
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: #fff;
    margin: 0;
}
.home-editorial .ed-quote-attr {
    margin-top: 24px;
    color: var(--grey-400);
}
.home-editorial .ed-quote-sub {
    margin-top: 12px;
    max-width: 52ch;
    color: var(--grey-300);
    font-size: 15px;
    line-height: 1.7;
}

/* =================== No 05 — INDEX OF OPERATIONS =================== */
.home-editorial .ed-index { display: block; }
.home-editorial .ed-index-row {
    display: grid;
    grid-template-columns: 56px minmax(0, 1.3fr) minmax(0, 1.2fr) minmax(0, 0.8fr) 28px;
    align-items: center;
    gap: clamp(16px, 2vw, 32px);
    padding: 28px 0;
    border-top: 1px solid var(--rule-light);
    transition: background-color 0.12s linear, color 0.12s linear;
}
.home-editorial .ed-index-row:last-child { border-bottom: 1px solid var(--rule-light); }
.home-editorial .ed-index-num {
    font-family: 'Space Grotesk', 'Inter', sans-serif;
    font-size: 20px;
    font-weight: 300;
    color: var(--grey-500);
    transition: color 0.12s linear;
}
.home-editorial .ed-index-name {
    font-size: var(--t-index-title);
    font-weight: 700;
    letter-spacing: -0.025em;
    line-height: 1.1;
    color: var(--ink);
    transition: color 0.12s linear;
}
.home-editorial .ed-index-desc {
    font-size: 14px;
    line-height: 1.6;
    color: var(--grey-500);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.12s linear;
}
.home-editorial .ed-index-metrics {
    display: flex;
    flex-direction: column;
    gap: 6px;
    align-items: flex-end;
    text-align: right;
    font-family: 'Space Grotesk', 'Inter', sans-serif;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--grey-500);
    transition: color 0.12s linear;
}
.home-editorial .ed-index-metrics strong {
    color: var(--ink);
    font-weight: 600;
    transition: color 0.12s linear;
}
.home-editorial .ed-index-go {
    color: #fff;
    font-size: 20px;
    opacity: 0;
    transform: translateX(-6px);
    transition: opacity 0.12s linear, transform 0.12s linear;
}
.home-editorial .ed-index-row:hover,
.home-editorial .ed-index-row:focus-visible {
    background: var(--ink);
}
.home-editorial .ed-index-row:hover .ed-index-name,
.home-editorial .ed-index-row:focus-visible .ed-index-name,
.home-editorial .ed-index-row:hover .ed-index-num,
.home-editorial .ed-index-row:focus-visible .ed-index-num,
.home-editorial .ed-index-row:hover .ed-index-metrics strong,
.home-editorial .ed-index-row:focus-visible .ed-index-metrics strong { color: #fff; }
.home-editorial .ed-index-row:hover .ed-index-desc,
.home-editorial .ed-index-row:focus-visible .ed-index-desc,
.home-editorial .ed-index-row:hover .ed-index-metrics,
.home-editorial .ed-index-row:focus-visible .ed-index-metrics { color: var(--grey-400); }
.home-editorial .ed-index-row:hover .ed-index-go,
.home-editorial .ed-index-row:focus-visible .ed-index-go { opacity: 1; transform: translateX(0); }

/* =================== No 06 — LEDGER OF RESULTS =================== */
.home-editorial .ed-results-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
}
.home-editorial .ed-result { padding: 48px 32px 0 0; }
.home-editorial .ed-result + .ed-result {
    border-left: 1px solid var(--rule-light);
    padding-left: 32px;
}
.home-editorial .ed-result:last-child { padding-right: 0; }
.home-editorial .ed-result-meta {
    display: block;
    color: var(--grey-400);
    margin-bottom: 24px;
}
.home-editorial .ed-result-num {
    font-family: 'Space Grotesk', 'Inter', sans-serif;
    font-size: var(--t-stat);
    font-weight: 300;
    line-height: 0.9;
    color: var(--ink);
    letter-spacing: -0.03em;
}
.home-editorial .ed-result-num sup {
    font-size: 0.4em;
    vertical-align: 1em;
}
.home-editorial .ed-gauge { margin-top: 28px; }
.home-editorial .ed-gauge-cap {
    display: block;
    text-align: right;
    font-family: 'Space Grotesk', 'Inter', sans-serif;
    font-size: 12px;
    color: var(--grey-400);
    margin-bottom: 8px;
}
.home-editorial .ed-gauge-track {
    position: relative;
    width: 100%;
    height: 1px;
    background: var(--rule-light);
}
.home-editorial .ed-gauge-fill {
    position: absolute;
    left: 0;
    top: -1px;
    height: 3px;
    width: 0;
    background: var(--ink);
    transition: width 1.2s var(--ed-ease);
}
.home-editorial .ed-result h3 {
    margin-top: 28px;
    font-size: 17px;
    font-weight: 600;
}
.home-editorial .ed-result p {
    margin-top: 8px;
    max-width: 36ch;
    font-size: 14px;
    line-height: 1.6;
    color: var(--grey-500);
}

/* =================== No 07 — THE OFFERING =================== */
.home-editorial .ed-offering-head { margin-top: clamp(32px, 4vw, 56px); }
.home-editorial .ed-offering-title {
    font-family: 'Inter', sans-serif;
    font-size: clamp(48px, 8vw, 112px);
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 0.95;
    text-transform: uppercase;
    color: #fff;
}
.home-editorial .ed-ghost--ink {
    -webkit-text-stroke: 1px #fff;
}
.home-editorial .ed-offering-underscore {
    display: block;
    width: 25%;
    height: 3px;
    background: #fff;
    margin-top: 24px;
}
.home-editorial .ed-offering-spread {
    margin-top: clamp(48px, 6vw, 72px);
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: clamp(40px, 6vw, 96px);
    align-items: start;
}
.home-editorial .ed-offering-pitch p {
    max-width: 52ch;
    font-size: 18px;
    line-height: 1.7;
    color: var(--grey-300);
}
.home-editorial .ed-offering-pitch strong { color: #fff; font-weight: 600; }
.home-editorial .ed-offering-ctas {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: clamp(40px, 5vw, 64px);
}
.home-editorial .ed-term-row {
    display: grid;
    grid-template-columns: 35% 65%;
    gap: 16px;
    padding: 20px 0;
    border-top: 1px solid var(--rule-dark);
}
.home-editorial .ed-term-row:last-child { border-bottom: 1px solid var(--rule-dark); }
.home-editorial .ed-term-label { color: var(--grey-400); padding-top: 3px; }
.home-editorial .ed-term-value {
    font-size: 15px;
    line-height: 1.6;
    color: #fff;
}
.home-editorial .ed-term-value a {
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 4px;
}

/* =================== No 08 — COLOPHON =================== */
.home-editorial .ed-footer {
    background: var(--ink);
    color: #fff;
    border-top: 1px solid var(--rule-dark);
    padding: clamp(48px, 6vw, 80px) 0 32px;
    overflow: hidden;
}
.home-editorial .ed-ghost-wordmark {
    font-family: 'Conthrax', 'Inter', sans-serif;
    font-size: clamp(72px, 13vw, 200px);
    font-weight: 800;
    line-height: 0.9;
    letter-spacing: -0.02em;
    white-space: nowrap;
    color: transparent;
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.1);
    user-select: none;
    margin-bottom: clamp(32px, 4vw, 56px);
}
@supports not (-webkit-text-stroke: 1px #fff) {
    .home-editorial .ed-ghost-wordmark { color: #141414; }
}
.home-editorial .ed-footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 32px;
    padding-bottom: clamp(40px, 5vw, 64px);
}
.home-editorial .ed-footer .nav-logo .logo-mark { filter: invert(1) grayscale(1); }
.home-editorial .ed-footer .nav-logo .logo-text { color: #fff; }
.home-editorial .ed-footer-tagline {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.home-editorial .ed-footer-tagline span {
    font-family: 'Space Grotesk', 'Inter', sans-serif;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--grey-500);
}
.home-editorial .ed-footer-tagline span::before {
    content: "";
    display: inline-block;
    width: 16px;
    height: 1px;
    background: var(--grey-500);
    margin-right: 10px;
    vertical-align: middle;
}
.home-editorial .ed-footer-col {
    border-left: 1px solid var(--rule-dark);
    padding-left: 24px;
}
.home-editorial .ed-footer-col h4 {
    font-family: 'Space Grotesk', 'Inter', sans-serif;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--grey-500);
    margin-bottom: 16px;
}
.home-editorial .ed-footer-col ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
.home-editorial .ed-footer-col a {
    font-size: 14px;
    line-height: 2.2;
    color: var(--grey-400);
    transition: color 0.2s;
}
.home-editorial .ed-footer-col a:hover {
    color: #fff;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 4px;
}
.home-editorial .ed-footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    padding-top: 20px;
    border-top: 1px solid var(--rule-dark);
}
.home-editorial .ed-footer-bottom p {
    font-family: 'Space Grotesk', 'Inter', sans-serif;
    font-size: 12px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--grey-500);
}
.home-editorial .ed-footer-legal a { color: var(--grey-500); transition: color 0.2s; }
.home-editorial .ed-footer-legal a:hover { color: #fff; }

/* =================== RESPONSIVE =================== */
@media (max-width: 1024px) {
    .home-editorial .ed-lexicon { grid-template-columns: 1fr; }
    .home-editorial .ed-entry,
    .home-editorial .ed-entry:nth-child(2),
    .home-editorial .ed-entry:nth-child(3) {
        margin-top: 0;
        border-left: none;
        padding: 28px 0;
    }
    .home-editorial .ed-clause { grid-template-columns: 72px minmax(0, 1fr); }
    .home-editorial .ed-clause-body { grid-column: 2; }
    .home-editorial .ed-index-row { grid-template-columns: 48px minmax(0, 1.4fr) minmax(0, 1fr) 24px; }
    .home-editorial .ed-index-desc { display: none; }
    .home-editorial .ed-results-grid { grid-template-columns: 1fr; }
    .home-editorial .ed-result,
    .home-editorial .ed-result + .ed-result {
        border-left: none;
        border-top: 1px solid var(--rule-light);
        padding: 36px 0;
    }
    .home-editorial .ed-result:first-child { border-top: none; padding-top: 24px; }
    .home-editorial .ed-offering-spread { grid-template-columns: 1fr; }
    .home-editorial .ed-footer-grid { grid-template-columns: 1fr 1fr; row-gap: 48px; }
    .home-editorial .ed-footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 768px) {
    /* mobile menu is a white overlay — links must be ink */
    .home-editorial .nav-links .nav-link { color: var(--ink); }
    .home-editorial .nav-toggle.open span { background: var(--ink); }

    .home-editorial .ed-masthead { grid-template-columns: 1fr; gap: 10px; }
    .home-editorial .ed-masthead-cell:first-child,
    .home-editorial .ed-masthead-vol { display: none; }
    .home-editorial .ed-hero-title { margin-top: 6vh; }
    .home-editorial .ed-hero-sub { grid-template-columns: 1fr; gap: 32px; }
    .home-editorial .ed-hero-ctas {
        justify-content: flex-start;
        flex-direction: column;
        align-items: stretch;
        gap: 20px;
    }
    .home-editorial .ed-btn { justify-content: center; }
    .home-editorial .ed-btn--bare { align-self: center; }
    .home-editorial .ed-hero-strip { grid-template-columns: 1fr; }
    .home-editorial .ed-hero-stat {
        display: flex;
        justify-content: space-between;
        align-items: baseline;
        padding: 18px 0;
        border-left: none !important;
    }
    .home-editorial .ed-hero-stat + .ed-hero-stat { border-top: 1px solid var(--rule-dark); }
    .home-editorial .ed-stat-label { margin-top: 0; }
    .home-editorial .ed-hero-scroll { display: none; }
    .home-editorial .ed-running { display: none; }
    .home-editorial .ed-sechead-title { flex-direction: column; align-items: flex-start; gap: 12px; }
    .home-editorial .ed-dek { margin-left: 0; text-align: left; max-width: none; }
    .home-editorial .ed-deficit { grid-template-columns: 1fr; }
    .home-editorial .ed-ledger-row {
        grid-template-columns: 32px minmax(0, 1fr);
        row-gap: 10px;
    }
    .home-editorial .ed-ledger-arrow {
        grid-column: 1;
        text-align: left;
        transform: rotate(90deg);
        transform-origin: center;
        width: fit-content;
    }
    .home-editorial .ed-ledger-solution { grid-column: 2; }
    .home-editorial .ed-clause { grid-template-columns: 1fr; gap: 16px; padding: 36px 0; }
    .home-editorial .ed-clause-body { grid-column: 1; }
    .home-editorial .ed-ghostnum { display: none; }
    .home-editorial .ed-doctrine { padding: 96px 0; }
    .home-editorial .ed-ghost-wordmark { font-size: clamp(48px, 16vw, 96px); }
    .home-editorial .ed-footer-grid { grid-template-columns: 1fr; }
    .home-editorial .ed-footer-col {
        border-left: none;
        border-top: 1px solid var(--rule-dark);
        padding: 24px 0 0;
    }
    .home-editorial .ed-footer-bottom { flex-direction: column; align-items: flex-start; gap: 8px; }
    .home-editorial .ed-colophon { display: none; }
}

@media (max-width: 640px) {
    .home-editorial .ed-hero-title {
        font-size: clamp(28px, 8.8vw, 40px);
    }

    .home-editorial .ed-hero-video {
        display: block;
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        opacity: 1;
    }

    .home-editorial .ed-hero-bg::before {
        display: none;
    }

    .home-editorial .ed-index-row {
        grid-template-columns: 40px minmax(0, 1fr) 20px;
        row-gap: 12px;
    }

    .home-editorial .ed-index-metrics {
        grid-column: 2;
        flex-direction: row;
        flex-wrap: wrap;
        gap: 16px;
        align-items: flex-start;
        text-align: left;
    }

    .home-editorial .ed-index-go {
        grid-row: 1;
        grid-column: 3;
    }
}

/* =================== REDUCED MOTION =================== */
@media (prefers-reduced-motion: reduce) {
    .home-editorial .ed-line-inner {
        animation: none;
        transform: none;
    }
    .home-editorial .ed-rule {
        transition: none;
        transform: scaleX(1);
    }
    .home-editorial .ed-scroll-line,
    .home-editorial .badge-pulse { animation: none; }
    .home-editorial .ed-gauge-fill { transition: none; }
    .home-editorial .ed-btn .ed-arrow,
    .home-editorial .ed-clause-title { transition: none; }
}
