/* Field Atlas: white paper, black type, vermilion for marks. Big Shoulders Display for the masthead and headlines, Schibsted Grotesk for reading. */
:root {
  color-scheme: light;
  --b-bg: #ffffff;
  --b-ink: #0f0f0e;
  --b-muted: #55524c;
  --b-line: rgb(15 15 14 / 0.9);
  --b-hair: rgb(15 15 14 / 0.16);
  --b-accent: #c53310;
  --b-accent-ink: #fff;
  --b-pad: clamp(14px, 3vw, 40px);
  --b-display: 'Big Shoulders Display', Impact, sans-serif;
  --b-text: 'Schibsted Grotesk', system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scrollbar-color: #8c8981 var(--b-bg); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--b-bg); color: var(--b-ink); font: 400 1rem/1.55 var(--b-text); -webkit-font-smoothing: antialiased; }
::selection { background: var(--b-accent); color: var(--b-accent-ink); }
a { color: inherit; text-underline-offset: 3px; }
:focus-visible { outline: 2px solid var(--b-accent); outline-offset: 3px; }
h1, h2, h3, p { margin: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: var(--b-pad); top: -60px; z-index: 20; background: var(--b-ink); color: #fff; padding: 10px 14px; }
.skip:focus { top: 8px; }

.masthead { margin: 0 var(--b-pad); display: grid; justify-items: center; text-align: center; border-bottom: 3px solid var(--b-ink); padding-bottom: 12px; }
.topline { width: 100%; display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--b-hair); font-size: 0.875rem; color: var(--b-muted); }
.topline a { color: var(--b-ink); font-weight: 600; text-decoration-thickness: 1px; }
.wordmark { font-family: var(--b-display); font-weight: 800; font-size: clamp(3.4rem, 13vw, 10.5rem); line-height: 0.86; letter-spacing: -0.005em; text-transform: uppercase; text-decoration: none; margin-top: 10px; }
.tagline { margin-top: 10px; color: var(--b-muted); }
.masthead nav { width: 100%; display: flex; justify-content: center; flex-wrap: wrap; gap: 4px 28px; margin-top: 12px; padding-top: 10px; border-top: 1px solid var(--b-hair); font-size: 0.9375rem; font-weight: 500; }
.masthead nav a { text-decoration: none; padding: 6px 0; border-bottom: 2px solid transparent; }
.masthead nav a:hover { border-color: var(--b-accent); }

.stories { padding: 20px var(--b-pad) 0; }
.grid-host { min-height: 1500px; }
.grid-host:has(media-boxes[data-ready]) { min-height: 0; }

media-boxes {
  --mb-font-size: 0.9375rem;
  --mb-title-size: 1.5rem;
  --mb-title-weight: 700;
  --mb-text: var(--b-ink);
  --mb-text-muted: var(--b-muted);
  --mb-surface: #fff;
  --mb-surface-2: #efede8;
  --mb-border: var(--b-hair);
  --mb-accent: var(--b-ink);
  --mb-accent-contrast: #fff;
  --mb-placeholder: #dedbd3;
  --mb-focus: var(--b-accent);
  --mb-radius: 0;
  --mb-radius-sm: 0;
  --mb-radius-pill: 0;
  --mb-control-h: 42px;
  /* Own scrim: the caption zone is always dark enough for white text, even on sand and snow. */
  --mb-overlay-gradient: linear-gradient(to top, rgb(8 8 8 / 0.92) 0%, rgb(8 8 8 / 0.78) 42%, rgb(8 8 8 / 0.32) 78%, rgb(8 8 8 / 0) 100%);
  --mb-overlay-text-muted: rgb(255 255 255 / 0.9);
}
media-boxes .mb-toolbar { margin-bottom: 14px; padding-bottom: 0; }
media-boxes .mb-filters[data-ui='tabs'] .mb-filter { font-weight: 600; }
media-boxes .mb-filters[data-ui='tabs'] .mb-filter[aria-pressed='true'] { color: var(--b-accent); }
media-boxes .mb-content { padding-top: 64px; gap: 4px; }
media-boxes .mb-title { font-family: var(--b-display); font-weight: 700; font-size: clamp(1.25rem, 1.7vw, 1.65rem); line-height: 1.02; letter-spacing: 0.005em; text-wrap: balance; text-shadow: 0 1px 6px rgb(0 0 0 / 0.5); }
media-boxes .mb-text { font-size: 0.875rem; text-shadow: 0 1px 4px rgb(0 0 0 / 0.5); }
media-boxes .mb-cats { order: -1; align-self: flex-start; padding: 2px 8px; background: var(--b-accent); color: var(--b-accent-ink); font-size: 0.75rem; font-weight: 600; line-height: 1.5; margin-bottom: 4px; }
media-boxes .mb-meta { font-size: 0.8125rem; text-shadow: 0 1px 4px rgb(0 0 0 / 0.5); }
media-boxes .mb-author { color: #fff; font-weight: 500; }
media-boxes .mb-item[data-cols='2'][data-rows='2'] .mb-title { font-size: clamp(2.1rem, 4.4vw, 4.4rem); line-height: 0.95; max-width: 14ch; }
media-boxes .mb-item[data-cols='2'][data-rows='2'] .mb-content { padding: 120px clamp(16px, 2.4vw, 32px) clamp(16px, 2.4vw, 32px); gap: 8px; }
media-boxes .mb-item[data-cols='2'][data-rows='2'] .mb-text { font-size: 1.0625rem; max-width: 44ch; display: -webkit-box; }
media-boxes .mb-item[data-cols='2'][data-rows='2'] .mb-cats { font-size: 0.875rem; padding: 3px 10px; }

.read { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(28px, 5vw, 80px); padding: clamp(40px, 6vw, 88px) var(--b-pad); }
.most h2, .issue h2, .about h2 { font-family: var(--b-display); font-weight: 800; text-transform: uppercase; font-size: clamp(1.8rem, 3vw, 2.8rem); line-height: 1; padding-bottom: 12px; border-bottom: 3px solid var(--b-ink); }
.most ol { list-style: none; margin: 0; padding: 0; }
.most li { display: grid; grid-template-columns: 3.2rem 1fr; gap: 14px; align-items: baseline; padding: 16px 0; border-bottom: 1px solid var(--b-hair); }
.most .n { font-family: var(--b-display); font-weight: 800; font-size: 3rem; line-height: 0.9; color: var(--b-accent); font-variant-numeric: tabular-nums; }
.most h3 { font-size: 1.25rem; font-weight: 600; line-height: 1.25; letter-spacing: -0.01em; text-wrap: balance; }
.most h3 a { text-decoration: none; }
.most h3 a:hover { text-decoration: underline; text-decoration-thickness: 1px; }
.most li p { margin-top: 4px; font-size: 0.875rem; color: var(--b-muted); }
.issue { display: grid; grid-template-columns: minmax(110px, 2fr) 3fr; gap: 20px; align-content: start; }
.issue h2 { grid-column: 1 / -1; }
.issue img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; display: block; }
.issue div { display: grid; gap: 14px; align-content: start; }
.issue h2 + img + div p { color: var(--b-muted); }
.btn { justify-self: start; display: inline-flex; align-items: center; min-height: 44px; padding: 0 20px; background: var(--b-ink); color: #fff; font-weight: 600; text-decoration: none; }
.btn:hover { background: var(--b-accent); }
.about { margin: 0 var(--b-pad); padding: 0 0 clamp(32px, 5vw, 64px); display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 16px clamp(24px, 5vw, 80px); align-items: start; }
.about p { font-size: 1.125rem; max-width: 56ch; color: var(--b-muted); }

.site-foot { margin: 0 var(--b-pad); padding: 28px 0 120px; border-top: 3px solid var(--b-ink); display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 12px 32px; }
.site-foot .wordmark { font-size: 2.4rem; margin: 0; }
.legal { font-size: 0.875rem; color: var(--b-muted); }

@media (max-width: 900px) {
  .read, .about { grid-template-columns: 1fr; }
  .issue { grid-template-columns: 1fr 2fr; }
}
@media (max-width: 560px) {
  .grid-host { min-height: 2600px; }
  .topline { flex-direction: column; gap: 2px; }
  .most .n { font-size: 2.4rem; }
  .most li { grid-template-columns: 2.4rem 1fr; }
}
@media (prefers-reduced-motion: reduce) { .btn { transition: none; } }
