/* ═══════════════════════════════════════════════════
   EDITORIAL — magazine spread, paper-on-dark
   ═══════════════════════════════════════════════════ */

.variant-editorial {
  background: #0d0d0d;
  color: #efeae0;
}
.variant-editorial body { background: #0d0d0d; }

/* Hide global nav, use a custom editorial masthead */
.variant-editorial .nav { display: none; }

/* ─── Masthead ─── */
.ed-nav {
  position: relative;
  z-index: 20;
  padding: 28px 56px 0;
}
.ed-nav-row {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px 0 14px;
}
.ed-nav-logo img {
  height: 52px;
  width: auto;
  filter: brightness(1.1);
}
.ed-nav-rule {
  height: 1px;
  background: rgba(239,234,224,0.22);
  width: 100%;
}
.ed-nav-row--meta {
  justify-content: space-between;
  padding: 14px 0 16px;
  font-family: var(--font-sans);
}
.ed-nav-links {
  display: flex;
  gap: 28px;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(239,234,224,0.78);
}
.ed-nav-links a { transition: color 0.25s var(--ease); }
.ed-nav-links a:hover { color: var(--accent-light); }

.ed-nav-meta {
  display: flex;
  gap: 24px;
  align-items: center;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.ed-nav-issue { color: rgba(239,234,224,0.55); font-style: italic; letter-spacing: 0.1em; text-transform: none; font-family: var(--font-display); font-size: 14px; }
.ed-nav-phone { color: rgba(239,234,224,0.78); }
.ed-nav-quote {
  color: var(--accent-light);
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
}

/* ─── Hero ─── */
.ed-hero {
  position: relative;
  padding: 32px 56px 48px;
  min-height: calc(100vh - 140px);
  font-family: var(--font-sans);
}

.ed-grid {
  display: grid;
  grid-template-columns: 1.1fr 1.4fr;
  grid-template-rows: auto auto;
  gap: 48px 64px;
  position: relative;
}

/* Column 1: Headline */
.ed-headline { grid-column: 1; grid-row: 1 / 3; padding-top: 12px; }
.ed-issue {
  font-family: var(--font-sans);
  font-size: 11px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: rgba(239,234,224,0.55);
  margin-bottom: 36px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.ed-issue::before {
  content: "";
  width: 28px; height: 1px;
  background: rgba(239,234,224,0.5);
}

.ed-title {
  font-family: var(--font-display);
  font-weight: 300;
  color: #f6f1e6;
  line-height: 0.96;
  letter-spacing: -0.012em;
  font-size: clamp(2.6rem, 5.4vw, 5rem);
  margin-bottom: 56px;
}
.ed-title-pre {
  display: block;
  font-style: italic;
  font-size: 0.42em;
  letter-spacing: 0.06em;
  color: rgba(239,234,224,0.62);
  margin-bottom: 18px;
  font-weight: 300;
}
.ed-title-main em { font-style: italic; font-weight: 300; color: var(--accent-light); }

/* Toggle: text-link pair with sliding underline */
.ed-toggle {
  position: relative;
  display: inline-flex;
  align-items: flex-end;
  gap: 28px;
  padding-bottom: 8px;
  font-family: var(--font-sans);
}
.ed-toggle-rail {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px;
  background: rgba(239,234,224,0.22);
}
.ed-toggle-btn {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 0 0 14px;
  color: rgba(239,234,224,0.5);
  transition: color 0.35s var(--ease);
}
.ed-toggle-btn.is-active { color: #f6f1e6; }
.ed-toggle-num {
  font-size: 10px;
  letter-spacing: 0.3em;
  font-feature-settings: "tnum";
  color: inherit;
}
.ed-toggle-label {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 22px;
  font-weight: 300;
  letter-spacing: 0.01em;
}
.ed-toggle-ink {
  position: absolute;
  bottom: 0; left: 0;
  height: 1px;
  background: var(--accent-light);
  transition: transform 0.55s cubic-bezier(0.7, 0, 0.2, 1), width 0.55s cubic-bezier(0.7, 0, 0.2, 1);
}

/* Column 2: figure */
.ed-figure {
  grid-column: 2; grid-row: 1;
  margin: 0;
}
.ed-figure-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: #1a1a1a;
}
.ed-figure-img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.7s var(--ease), transform 0.9s var(--ease);
  transform: scale(1.02);
}
.ed-figure-img.is-active {
  opacity: 1;
  transform: scale(1);
}

/* Duotone wash that lifts off */
.ed-figure-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(13,103,150,0.35), rgba(0,0,0,0.05));
  mix-blend-mode: multiply;
  opacity: 0;
  transition: opacity 1s ease;
  z-index: 2;
  pointer-events: none;
}
.ed-hero.is-ready .ed-figure-frame::before { opacity: 0.0; }
.ed-hero:not(.is-ready) .ed-figure-frame::before { opacity: 1; }

.ed-figure-frame:hover .ed-figure-img.is-active {
  transform: scale(1.03) translate(-4px, -4px);
}

.ed-figure-cta {
  position: absolute;
  bottom: 24px;
  right: 24px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  background: rgba(15,15,15,0.78);
  border: 1px solid rgba(255,255,255,0.18);
  color: #fff;
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  -webkit-backdrop-filter: blur(12px);
          backdrop-filter: blur(12px);
  transition: all 0.3s var(--ease);
  opacity: 0;
  transform: translateY(8px);
}
.ed-figure-frame:hover .ed-figure-cta {
  opacity: 1;
  transform: translateY(0);
}
.ed-figure-cta:hover {
  background: var(--accent-light);
  color: #0b0b0b;
  border-color: var(--accent-light);
}

.ed-figure-cap {
  margin-top: 14px;
  display: flex;
  gap: 14px;
  align-items: baseline;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(239,234,224,0.6);
}
.ed-figure-fig { color: var(--accent-light); font-feature-settings: "tnum"; }
.ed-figure-meta { margin-left: auto; color: rgba(239,234,224,0.45); }

/* Column 3: aside */
.ed-aside {
  grid-column: 2;
  grid-row: 2;
  max-width: 480px;
  margin-left: auto;
  padding-top: 8px;
}
.ed-rule {
  width: 56px; height: 1px;
  background: var(--accent-light);
  margin-bottom: 22px;
  transform-origin: left;
  animation: ruleDraw 1.1s 0.2s cubic-bezier(0.7, 0, 0.2, 1) both;
}
@keyframes ruleDraw {
  0%   { transform: scaleX(0); }
  100% { transform: scaleX(1); }
}
.ed-aside-label {
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(239,234,224,0.5);
  margin-bottom: 18px;
}
.ed-aside-copy {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 300;
  line-height: 1.4;
  color: #efeae0;
  margin-bottom: 28px;
}
.ed-list {
  list-style: none;
  margin: 0 0 32px;
  padding: 0;
  border-top: 1px solid rgba(239,234,224,0.16);
}
.ed-list li {
  display: flex;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid rgba(239,234,224,0.16);
  font-size: 13px;
  letter-spacing: 0.06em;
  color: rgba(239,234,224,0.78);
}
.ed-list li::before {
  content: "—";
  color: var(--accent-light);
  margin-right: 14px;
}

.ed-cta {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: #f6f1e6;
  position: relative;
  padding: 6px 0;
}
.ed-cta-rule {
  width: 56px; height: 1px;
  background: var(--accent-light);
  transition: width 0.4s var(--ease);
}
.ed-cta:hover .ed-cta-rule { width: 92px; }

/* Footer running text */
.ed-foot {
  grid-column: 1 / -1;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  border-top: 1px solid rgba(239,234,224,0.16);
  padding-top: 18px;
  margin-top: 16px;
  font-size: 10px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: rgba(239,234,224,0.45);
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .ed-rule { animation: none; transform: none; }
  .ed-figure-img { transition: opacity 0s; transform: none; }
  .ed-toggle-ink { transition: none; }
}

/* Responsive */
@media (max-width: 960px) {
  .ed-nav { padding: 20px 24px 0; }
  .ed-nav-links { gap: 18px; font-size: 10px; }
  .ed-nav-meta { gap: 14px; }
  .ed-nav-issue { display: none; }

  .ed-hero { padding: 24px 24px 40px; }
  .ed-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto auto;
    gap: 40px;
  }
  .ed-headline { grid-row: 1; }
  .ed-figure { grid-column: 1; grid-row: 2; }
  .ed-figure-frame { aspect-ratio: 4/3; }
  .ed-aside { grid-column: 1; grid-row: 3; max-width: 100%; margin-left: 0; }
  .ed-foot { grid-row: 4; }
}
@media (max-width: 480px) {
  .ed-toggle-label { font-size: 18px; }
  .ed-aside-copy { font-size: 1.25rem; }
}
