:root {
  --paper: #f3f0ea;
  --paper-deep: #e7e1d6;
  --card: #fbf9f5;
  --ink: #1c1916;
  --ink-soft: #4a453e;
  --brick: #8d2e24;
  --brick-deep: #6d2119;
  --rule: #c9c0b2;
  --night: #171513;
  --night-ink: #f4efe6;
  --measure: 1120px;
  --ease: 180ms ease;
}

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

html {
  scroll-behavior: smooth;
  background: var(--paper);
  color: var(--ink);
  font-size: 19px;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background:
    radial-gradient(circle at 12% -10%, rgba(141, 46, 36, 0.06), transparent 32%),
    var(--paper);
  color: var(--ink);
  font-family: "Newsreader", "Iowan Old Style", Palatino, "Palatino Linotype", serif;
  font-weight: 400;
  line-height: 1.72;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  border: 0;
}

button,
input {
  font: inherit;
}

a {
  color: inherit;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -40px;
  background: var(--ink);
  color: var(--paper);
  padding: 8px 12px;
  z-index: 2000;
}

.skip-link:focus {
  top: 12px;
}

.wrap {
  width: min(var(--measure), calc(100% - 40px));
  margin: 0 auto;
}

.masthead {
  background: transparent;
}

.edition-bar {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0 10px;
  border-bottom: 1px solid var(--rule);
  font-family: "Schibsted Grotesk", "Avenir Next", sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--ink-soft);
}

.brand-block {
  padding: 28px 0 8px;
  text-align: center;
}

.brand {
  display: inline-block;
  text-decoration: none;
  font-family: "Fraunces", "Iowan Old Style", serif;
  font-weight: 700;
  font-size: clamp(3.1rem, 7vw, 5.4rem);
  line-height: 0.86;
  letter-spacing: -0.045em;
  font-variation-settings: "SOFT" 40, "opsz" 144, "WONK" 1;
  color: var(--ink);
}

.brand-tag {
  margin: 14px auto 0;
  max-width: 38rem;
  font-family: "Newsreader", serif;
  font-style: italic;
  font-weight: 430;
  font-size: 1.22rem;
  line-height: 1.45;
  color: var(--ink-soft);
}

.rules {
  margin: 18px auto 0;
  width: min(100%, 720px);
  border: 0;
  border-top: 1px solid var(--ink);
  border-bottom: 3px solid var(--ink);
  height: 7px;
}

.site-nav {
  margin-top: 14px;
  border-bottom: 1px solid var(--rule);
}

.site-nav .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.nav-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 22px;
  list-style: none;
  margin: 0;
  padding: 12px 0;
}

.nav-list a {
  font-family: "Schibsted Grotesk", sans-serif;
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  text-decoration: none;
  color: var(--ink-soft);
  padding-bottom: 2px;
  border-bottom: 2px solid transparent;
}

.nav-list a[aria-current="page"],
.nav-list a:hover {
  color: var(--ink);
  border-bottom-color: var(--brick);
}

.burger {
  display: none;
  border: 1px solid var(--ink);
  background: transparent;
  color: var(--ink);
  font-family: "Schibsted Grotesk", sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 8px 12px;
  cursor: pointer;
}

.compact-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 40;
  background: rgba(243, 240, 234, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--rule);
  transform: translateY(-110%);
  transition: transform var(--ease);
}

.compact-bar.is-on {
  transform: translateY(0);
}

.compact-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 58px;
}

.compact-brand {
  font-family: "Fraunces", serif;
  font-weight: 700;
  font-size: 1.35rem;
  letter-spacing: -0.03em;
  text-decoration: none;
}

.compact-nav {
  display: flex;
  gap: 16px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.compact-nav a {
  font-family: "Schibsted Grotesk", sans-serif;
  font-size: 0.84rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--ink-soft);
}

.compact-nav a[aria-current="page"] {
  color: var(--brick);
}

main {
  flex: 1;
  padding: 28px 0 64px;
}

.warning {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  align-items: start;
  padding: 18px 18px 16px;
  background: var(--night);
  color: var(--night-ink);
  margin-bottom: 34px;
}

.age-mark {
  font-family: "Fraunces", serif;
  font-weight: 700;
  font-size: 2.1rem;
  line-height: 1;
  letter-spacing: -0.04em;
  color: #f2d2b6;
}

.warning p {
  color: var(--night-ink);
  margin: 0 0 10px;
  font-size: 1.02rem;
}

.warning-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
}

.page-kicker {
  font-family: "Schibsted Grotesk", sans-serif;
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brick);
  margin: 0 0 8px;
}

h1,
h2,
.operator-name {
  font-family: "Fraunces", serif;
  font-weight: 620;
  letter-spacing: -0.03em;
  line-height: 1.12;
  color: var(--ink);
  font-variation-settings: "opsz" 72, "SOFT" 30;
}

h1 {
  margin: 0 0 12px;
  font-size: clamp(2.35rem, 4.6vw, 3.85rem);
  font-weight: 560;
  font-style: italic;
  line-height: 1.02;
  letter-spacing: -0.035em;
  max-width: 18ch;
}

h2 {
  margin: 0 0 12px;
  font-size: clamp(1.7rem, 2.5vw, 2.25rem);
  font-style: normal;
}

h3 {
  margin: 0 0 8px;
  font-family: "Newsreader", serif;
  font-weight: 560;
  font-size: 1.38rem;
  line-height: 1.25;
  letter-spacing: -0.015em;
}

p {
  margin: 0 0 1rem;
  font-size: 1.12rem;
}

.deck {
  font-family: "Newsreader", serif;
  font-style: italic;
  font-weight: 430;
  font-size: 1.32rem;
  line-height: 1.45;
  color: var(--ink-soft);
  max-width: 42rem;
}

.byline {
  font-family: "Schibsted Grotesk", sans-serif;
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--ink-soft);
  margin-bottom: 16px;
}

.lead-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(260px, 0.85fr);
  gap: 36px;
  align-items: start;
}

.drop > p:first-of-type::first-letter {
  font-family: "Fraunces", serif;
  font-weight: 700;
  font-style: normal;
  float: left;
  font-size: 4.3rem;
  line-height: 0.78;
  padding: 8px 10px 0 0;
  color: var(--brick);
}

.figure {
  margin: 8px 0 18px;
}

.figure img {
  display: block;
  width: 100%;
  height: auto;
  background: #221f1c;
}

.figure figcaption {
  margin-top: 8px;
  font-family: "Schibsted Grotesk", sans-serif;
  font-size: 0.84rem;
  line-height: 1.45;
  color: var(--ink-soft);
}

.side-note {
  background: var(--card);
  border-top: 4px solid var(--brick);
  padding: 18px 18px 8px;
}

.side-note h2 {
  font-size: 1.7rem;
  font-style: italic;
}

.side-note ol,
.plain-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.side-note li,
.plain-list li {
  padding: 12px 0;
  border-top: 1px solid var(--rule);
}

.side-note li:first-child,
.plain-list li:first-child {
  border-top: 0;
}

.mini-label {
  display: block;
  font-family: "Schibsted Grotesk", sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brick);
  margin-bottom: 4px;
}

.section {
  margin-top: 52px;
}

.section-head {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: end;
  margin-bottom: 18px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--ink);
}

.section-head p {
  margin: 0;
  max-width: 28rem;
  font-size: 1rem;
  color: var(--ink-soft);
}

.operators {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.operator {
  background: var(--card);
  padding: 20px 20px 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid transparent;
  box-shadow: inset 0 -1px 0 var(--rule);
}

.operator-top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: start;
}

.operator-name {
  font-size: 1.85rem;
  margin: 8px 0 6px;
  font-style: normal;
}

.score {
  text-align: right;
}

.score b {
  display: block;
  font-family: "Fraunces", serif;
  font-weight: 700;
  font-size: 2.15rem;
  letter-spacing: -0.04em;
  line-height: 1;
  font-variant-numeric: oldstyle-nums;
}

.license {
  display: inline-block;
  margin-bottom: 8px;
  font-family: "Schibsted Grotesk", sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--ink-soft);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 18px;
  align-items: center;
  margin-top: 8px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 16px;
  background: var(--brick);
  color: #fffaf6;
  text-decoration: none;
  font-family: "Schibsted Grotesk", sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: -0.01em;
}

.btn:hover {
  background: var(--brick-deep);
}

.text-link {
  font-family: "Newsreader", serif;
  font-style: italic;
  font-size: 1.08rem;
  color: var(--brick-deep);
  text-underline-offset: 3px;
}

.reputation {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 28px;
  background: var(--paper-deep);
  padding: 26px 24px;
}

.big-score {
  font-family: "Fraunces", serif;
  font-weight: 700;
  font-size: clamp(3.4rem, 6vw, 4.8rem);
  line-height: 0.9;
  letter-spacing: -0.05em;
  font-variant-numeric: oldstyle-nums;
  margin: 8px 0 10px;
}

.columns-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.columns-3 article {
  padding-top: 4px;
}

.columns-2 {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr;
  gap: 32px;
}

.criteria {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 28px;
  padding-top: 8px;
}

.meter {
  height: 7px;
  background: var(--paper-deep);
  margin: 8px 0 12px;
}

.meter span {
  display: block;
  height: 100%;
  background: var(--brick);
}

.contact-card {
  background: var(--card);
  padding: 16px;
  border-left: 4px solid var(--brick);
}

.colophon {
  background: var(--night);
  color: var(--night-ink);
  padding: 42px 0 32px;
  margin-top: auto;
}

.colophon-brand {
  font-family: "Fraunces", serif;
  font-weight: 700;
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  letter-spacing: -0.04em;
  line-height: 0.9;
}

.colophon-note {
  font-family: "Newsreader", serif;
  font-style: italic;
  font-size: 1.15rem;
  color: #d9d0c4;
  margin: 8px 0 18px;
}

.colophon-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  list-style: none;
  margin: 0 0 22px;
  padding: 0 0 16px;
  border-bottom: 1px solid #3a342e;
}

.colophon-links a {
  font-family: "Schibsted Grotesk", sans-serif;
  font-weight: 600;
  font-size: 0.92rem;
  color: #f4efe6;
  text-decoration: none;
}

.colophon p {
  color: #d7cec3;
  font-size: 1rem;
  max-width: 62rem;
}

.colophon a {
  color: #f2d2b6;
}

@media (max-width: 900px) {
  html {
    font-size: 18px;
  }

  .lead-grid,
  .operators,
  .reputation,
  .columns-3,
  .columns-2,
  .criteria {
    grid-template-columns: 1fr;
  }

  h1 {
    max-width: none;
  }

  .nav-list,
  .compact-nav {
    display: none;
  }

  .nav-list.is-open {
    display: flex;
    flex-direction: column;
    width: 100%;
    padding-bottom: 14px;
  }

  .site-nav .wrap {
    flex-wrap: wrap;
  }

  .burger {
    display: inline-flex;
    margin: 10px 0;
  }

  .edition-bar {
    flex-direction: column;
    gap: 4px;
  }

  .warning {
    grid-template-columns: 1fr;
  }
}
