/* ==========================================================================
   feature-editorial — standalone block
   --------------------------------------------------------------------------
   Swiss editorial section that speaks the About-hero language: a mono section
   topbar, two alternating rows of a SHARP media plate (corner brackets + a
   coordinate figure-caption) and a heading + paragraph, locked to shared top
   and bottom edges. Light theme by default; CMS dark mode via
   .fe[data-theme="dark"].
   SELF-CONTAINED — owns its colours/typography, needs no parent wrapper.
   ========================================================================== */
.fe {
  --fe-bg:     #F4F2EC;
  --fe-ink:    #1C1A17;
  --fe-dim:    rgba(28, 26, 23, 0.62);
  --fe-faint:  rgba(28, 26, 23, 0.42);
  --fe-rule:   rgba(28, 26, 23, 0.16);
  --fe-accent: #C42800;
  --fe-bracket: rgba(255, 255, 255, 0.55);
  --fe-sans: 'IBM Plex Sans', system-ui, sans-serif;
  --fe-disp: 'Geologica', 'IBM Plex Sans', system-ui, sans-serif;
  --fe-mono: 'Space Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  position: relative;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  background: var(--fe-bg);
  color: var(--fe-ink);
  font-family: var(--fe-sans);
  -webkit-font-smoothing: antialiased;
  padding: 128px 0;
}
.fe[data-theme="dark"] {
  --fe-bg: #0E0F12; --fe-ink: #ECEAE3; --fe-dim: rgba(236,234,227,0.64);
  --fe-faint: rgba(236,234,227,0.42); --fe-rule: rgba(236,234,227,0.18);
  --fe-accent: #E5481F; --fe-bracket: rgba(255,255,255,0.5);
}
.fe__inner { max-width: var(--teako-page-max); margin: 0 auto; padding: 0 var(--teako-page-gutter); }

/* Section topbar — mirrors the hero's hairline bar for continuity. */
.fe__topbar {
  display: flex; align-items: baseline; justify-content: space-between; gap: 24px;
  font-family: var(--fe-mono); font-size: 11px; font-weight: 500;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--fe-dim);
  padding-bottom: 22px; border-bottom: 1px solid var(--fe-rule); margin-bottom: 104px;
}
.fe__topbar span:last-child { color: var(--fe-faint); }

.fe__rows { display: flex; flex-direction: column; gap: 120px; }
.fe__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

/* Media — sharp rectangle + a quiet editorial corner frame. */
.fe__media-wrap { margin: 0; display: flex; flex-direction: column; }
.fe__media {
  position: relative; overflow: hidden; background: #15140F; aspect-ratio: 4 / 5;
}
.fe__media video, .fe__media img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block;
}
.fe__bracket {
  position: absolute; width: 24px; height: 24px; z-index: 2;
  border: 1px solid var(--fe-bracket); pointer-events: none;
}
.fe__bracket--tl { top: 16px; left: 16px; border-right: 0; border-bottom: 0; }
.fe__bracket--br { bottom: 16px; right: 16px; border-left: 0; border-top: 0; }

/* Figure caption — one left-aligned label line glued to its plate; a hairline
   above ties it to the media edge. No floated items. */
.fe__cap {
  display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap;
  margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--fe-rule);
  font-family: var(--fe-mono); font-size: 11px; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--fe-dim);
}
.fe__cap-idx { color: var(--fe-faint); }
.fe__cap-coord { color: var(--fe-faint); font-variant-numeric: tabular-nums; }
.fe__sep { color: var(--fe-faint); }

/* Text — one centred cluster, balanced against the media (matches the hero).
   Eyebrow → heading → paragraph → data line read as a single intentional
   block; nothing is pinned to a far edge. */
.fe__text { max-width: 34rem; }
.fe__row--rev .fe__text { justify-self: end; }
.fe__eyebrow {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 26px;
  font-family: var(--fe-mono); font-size: 11px; font-weight: 500; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--fe-dim);
}
.fe__eyebrow::before { content: ''; width: 7px; height: 7px; background: var(--fe-accent); }
.fe__h {
  margin: 0 0 26px; font-family: var(--fe-disp); font-weight: 300; /* D1 */
  font-size: clamp(28px, 3vw, 46px); line-height: 1.05; letter-spacing: -0.022em; color: var(--fe-ink);
}
.fe__p {
  margin: 0; max-width: 44ch; font-family: var(--fe-sans);
  font-size: clamp(15px, 1.1vw, 16.5px); line-height: 1.62; color: var(--fe-dim);
}
.fe__foot {
  margin-top: 40px; padding-top: 16px; border-top: 1px solid var(--fe-rule);
  display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap;
  font-family: var(--fe-mono); font-size: 11px; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--fe-dim);
}
.fe__foot b { font-family: var(--fe-sans); font-weight: 600; color: var(--fe-ink); text-transform: none; }

@media (max-width: 900px) {
  .fe { padding: 80px 0; }
  .fe__inner { padding: 0 24px; }
  .fe__topbar { margin-bottom: 64px; }
  .fe__rows { gap: 72px; }
  .fe__row { grid-template-columns: 1fr; gap: 28px; align-items: start; }
  .fe__row--rev .fe__media-wrap { order: -1; }
  .fe__media { aspect-ratio: 4 / 5; max-height: 72vh; }
  .fe__text { max-width: none; }
  /* One-column rows: the 44ch measure left ~45% of the column empty at tablet. */
  .fe__p { max-width: 62ch; }
  .fe__row--rev .fe__text { justify-self: stretch; }
  .fe__foot { margin-top: 32px; }
}
