:root {
  color-scheme: light;
  --ink: #0a0a09;
  --paper: #eeeae1;
  --paper-deep: #d5d0c6;
  --muted: #68635b;
  font-family: "NewsGoth BT", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  font-synthesis: none;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; overflow-x: hidden; background: var(--paper); color: var(--ink); }
a { color: inherit; text-decoration: none; }
::selection { background: var(--ink); color: var(--paper); }

.skip-link {
  position: fixed;
  z-index: 100;
  top: 8px;
  left: 8px;
  padding: 10px 14px;
  transform: translateY(-160%);
  background: white;
  color: black;
}
.skip-link:focus { transform: translateY(0); }

.editorial-header {
  position: sticky;
  z-index: 30;
  top: 0;
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 20px clamp(20px, 3vw, 48px);
  border-bottom: 1px solid rgba(10, 10, 9, .12);
  background: rgba(238, 234, 225, .9);
  backdrop-filter: blur(18px);
}

.wordmark {
  display: flex;
  gap: .28em;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -.025em;
  white-space: nowrap;
}

.editorial-header nav { display: flex; gap: clamp(20px, 3vw, 46px); }
.editorial-header nav a { position: relative; padding: 7px 0; font-size: 11px; letter-spacing: .18em; text-transform: uppercase; }
.editorial-header nav a::after { content: ""; position: absolute; inset: auto 0 0; height: 1px; transform: scaleX(0); transform-origin: right; background: currentColor; transition: transform .35s; }
.editorial-header nav a:hover::after, .editorial-header nav a:focus-visible::after { transform: scaleX(1); transform-origin: left; }

.editorial-page { padding: 0 clamp(22px, 4vw, 64px) clamp(40px, 6vw, 88px); }
.editorial-intro {
  min-height: clamp(245px, 33vh, 390px);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 42px;
  padding: clamp(68px, 9vw, 130px) 0 clamp(34px, 4vw, 58px);
}
.eyebrow { margin: 0 0 22px; color: var(--muted); font-size: 10px; letter-spacing: .2em; text-transform: uppercase; }
.editorial-intro h1 { max-width: 970px; margin: 0; font-size: clamp(4rem, 10vw, 10.5rem); font-weight: 400; line-height: .78; letter-spacing: -.075em; }

.external-link {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  min-width: min(100%, 290px);
  min-height: 54px;
  padding: 17px 18px;
  background: var(--ink);
  color: var(--paper);
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
  transition: background-color .3s ease;
}
.external-link[hidden] { display: none; }
.external-link:hover, .external-link:focus-visible { background: #2b2a27; }
.external-link svg { width: 15px; height: 15px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.25; stroke-linecap: round; stroke-linejoin: round; transition: transform .35s cubic-bezier(.16, 1, .3, 1); }
.external-link:hover svg, .external-link:focus-visible svg { transform: translate3d(2px, -2px, 0); }

.viewer-shell {
  position: relative;
  width: 100%;
  height: max(660px, calc(100dvh - 112px));
  overflow: hidden;
  background: var(--paper-deep);
}
.viewer-shell iframe { width: 100%; height: 100%; border: 0; background: white; }
.viewer-shell iframe[hidden] { display: none; }
.viewer-loading, .viewer-error { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 18px; padding: 30px; text-align: center; }
.viewer-loading[hidden], .viewer-error[hidden] { display: none; }
.viewer-loading span { width: 44px; height: 1px; overflow: hidden; background: rgba(10, 10, 9, .18); }
.viewer-loading span::after { content: ""; display: block; width: 50%; height: 100%; background: var(--ink); animation: loading 1.15s ease-in-out infinite alternate; }
.viewer-loading p, .viewer-error p { margin: 0; color: var(--muted); font-size: 10px; letter-spacing: .18em; text-transform: uppercase; }
.viewer-error a { border-bottom: 1px solid currentColor; padding: 8px 0; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; }
@keyframes loading { from { transform: translateX(-100%); } to { transform: translateX(200%); } }

.editorial-footer { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 28px clamp(22px, 4vw, 64px); background: var(--ink); color: var(--paper); font-size: 9px; letter-spacing: .17em; text-transform: uppercase; }

@media (max-width: 760px) {
  .editorial-header { min-height: 70px; padding: 16px 18px; }
  .wordmark { font-size: 13px; }
  .editorial-header nav a:last-child { display: none; }
  .editorial-page { padding-inline: 18px; padding-bottom: 34px; }
  .editorial-intro { min-height: 280px; align-items: stretch; flex-direction: column; justify-content: flex-end; gap: 28px; padding: 64px 0 24px; }
  .eyebrow { margin-bottom: 16px; }
  .editorial-intro h1 { max-width: 8ch; font-size: clamp(4.1rem, 20vw, 7.2rem); line-height: .8; }
  .external-link { width: 100%; min-width: 0; }
  .viewer-shell { height: calc(100svh - 92px); min-height: 520px; }
  .editorial-footer { padding: 24px 18px; }
}

@media (pointer: coarse) {
  .editorial-header a, .external-link, .viewer-error a { min-height: 44px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
