@font-face {
  font-family: 'TT Turns';
  src: url('/assets/fonts/tt-turns-regular.woff2') format('woff2');
  font-display: swap;
}

@font-face {
  font-family: 'TT Glips';
  src: url('/assets/fonts/tt-glips-regular.woff2') format('woff2');
  font-display: swap;
}

:root {
  color-scheme: dark;
  --article-muted: #a7b7c9;
  --article-accent: #00b3ff;
  --article-rule: #263242;
  font: 16px/1.55 'TT Turns', Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

a { color: var(--article-accent); text-decoration: none; }
a:hover { color: #edfaff; }
:focus-visible { outline: 2px solid #b4e7ff; outline-offset: 4px; }

.story-content {
  padding-block: clamp(20px, 3vw, 36px) 0;
}

.embedded .internal-header {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.embedded .internal-close { display: none; }

.story-hero {
  width: min(100%, 1040px);
  margin: 0 0 28px;
}

.story-hero :is(img, video) {
  display: block;
  max-width: 100%;
  max-height: min(68svh, 760px);
  height: auto;
  object-fit: contain;
}

.story-hero video {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
}

.story-hero figcaption {
  display: grid;
  justify-items: start;
  gap: 5px;
  padding-block-start: 10px;
}

.story-credit,
.story-date {
  margin: 0;
  color: var(--article-muted);
  font-size: .875rem;
}

.story-date { font-family: 'TT Glips', 'TT Turns', Arial, sans-serif; }

.story-read {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding-inline: 10px;
}

.story {
  width: min(100%, 760px);
  padding-block: 0 clamp(32px, 8vw, 90px);
  scroll-margin-top: 90px;
}

.embedded .story { scroll-margin-top: 16px; }

.story-meta {
  margin: 0 0 20px;
  color: var(--article-muted);
}

.story-intro {
  margin: 0 0 2rem;
  font-size: clamp(1.22rem, 3vw, 1.6rem);
  line-height: 1.45;
}

.story-section,
.story-more,
.story-nav {
  padding-block: 1.15rem;
  border-top: 1px solid var(--article-rule);
}

.story h2 {
  margin: 0 0 .5rem;
  font-size: clamp(1.15rem, 3vw, 1.42rem);
  font-weight: 400;
  line-height: 1.3;
}

.story-section p { margin: 0 0 .45rem; color: #c8d5e4; }
.story-section a,
.story-more a { font-size: .91rem; }

.story-more ul { display: grid; gap: 4px; padding: 0; margin: 0; list-style: none; }

.story-figure { margin: 1.1rem 0 .25rem; }
.story-figure img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 56svh;
  object-fit: contain;
  background: #000;
}
.story-figure figcaption { margin-block-start: 6px; color: var(--article-muted); font-size: .9rem; }

.story-nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.story-nav a { display: grid; gap: 5px; align-content: start; }
.story-nav span { color: var(--article-muted); font-size: .88rem; }
.story-nav .next { grid-column: 2; text-align: end; }

