:root {
  --navy: #0b1e33;
  --navy-light: #173553;
  --red: #b31f2b;
  --cream: #f3efe6;
  --paper: #fffdf8;
  --ink: #121820;
  --muted: #647080;
  --line: #cfd4d8;
  --content: 1200px;
  --reading: 760px;
  --gutter: clamp(1rem, 4vw, 3rem);
  --sans: Inter, "Segoe UI", Arial, sans-serif;
  --serif: Georgia, "Times New Roman", serif;
}

* {
  box-sizing: border-box;
}

html {
  color: var(--ink);
  background: var(--cream);
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  font-family: var(--sans);
  line-height: 1.55;
}

img {
  max-width: 100%;
}

a {
  color: inherit;
}

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 100;
  padding: 0.75rem 1rem;
  color: white;
  background: var(--red);
  transform: translateY(-180%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  color: white;
  background: var(--navy);
  border-bottom: 5px solid var(--red);
}

.original-mark {
  width: min(100%, 460px);
  margin: 0 auto;
  padding: 0.75rem var(--gutter) 0.5rem;
  display: block;
}

.original-mark img {
  width: 100%;
  height: auto;
  display: block;
}

.navigation-bar {
  width: min(100%, var(--content));
  margin: 0 auto;
  padding: 0.65rem var(--gutter);
  display: flex;
  align-items: center;
  gap: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.25);
}

.site-name {
  margin-right: auto;
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  font-weight: 900;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
}

.site-navigation {
  display: flex;
  align-items: center;
  gap: 1.8rem;
}

.site-navigation a,
.navigation-toggle {
  color: white;
  background: transparent;
  border: 0;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-decoration: none;
  text-transform: uppercase;
}

.site-navigation a {
  padding: 0.45rem 0;
  border-bottom: 3px solid transparent;
}

.site-navigation a:hover,
.site-navigation a[aria-current="page"] {
  border-color: var(--red);
}

.navigation-toggle {
  display: none;
  cursor: pointer;
}

.page-shell,
.article-shell {
  width: min(100%, var(--content));
  margin: 0 auto;
  padding: clamp(1.5rem, 4vw, 3.5rem) var(--gutter);
}

.featured-review {
  max-width: 1000px;
  margin: 0 auto;
  background: var(--paper);
  border: 1px solid var(--line);
  border-top: 8px solid var(--navy);
  box-shadow: 0 12px 32px rgba(11, 30, 51, 0.1);
}

.featured-image,
.review-image {
  display: block;
  background: var(--navy);
}

.featured-image {
  border-bottom: 1px solid var(--line);
}

.featured-image img,
.review-image img,
.article-artwork img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}

.featured-copy {
  max-width: 850px;
  padding: clamp(1.5rem, 4vw, 3rem);
}

.section-label,
time,
.back-link,
.copyright,
.result-count,
.search-field span {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.section-label {
  margin: 0 0 0.75rem;
  color: var(--red);
}

.featured-copy h1 {
  margin: 1.1rem 0 1.25rem;
  font-family: var(--serif);
  font-size: clamp(2.5rem, 6vw, 5.5rem);
  letter-spacing: -0.045em;
  line-height: 1;
  overflow-wrap: break-word;
}

.featured-copy h1 a,
.review-card h2 a {
  text-decoration: none;
}

.featured-copy h1 a:hover,
.review-card h2 a:hover {
  color: var(--red);
}

.featured-copy > p:not(.section-label) {
  font-family: var(--serif);
  font-size: 1.08rem;
  line-height: 1.65;
}

.read-review {
  margin-top: 0.7rem;
  padding-bottom: 0.2rem;
  display: inline-block;
  color: var(--navy);
  border-bottom: 3px solid var(--red);
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-decoration: none;
  text-transform: uppercase;
}

.review-section {
  margin-top: clamp(3rem, 6vw, 6rem);
}

.section-heading,
.archive-header {
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 4px solid var(--navy);
}

.section-heading h2,
.archive-header h1 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(3rem, 7vw, 6.5rem);
  letter-spacing: -0.05em;
  line-height: 0.95;
}

.review-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.5rem, 3vw, 2.5rem);
  align-items: start;
}

.review-card {
  overflow: hidden;
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: 0 8px 24px rgba(11, 30, 51, 0.07);
}

.review-image img {
  transition: opacity 180ms ease;
}

.review-image:hover img {
  opacity: 0.9;
}

.review-card-copy {
  padding: clamp(1.25rem, 3vw, 2rem);
}

.review-card h2 {
  margin: 0.65rem 0 0.9rem;
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  letter-spacing: -0.035em;
  line-height: 1.03;
}

.review-card-copy p {
  margin: 0 0 1rem;
  font-family: var(--serif);
  line-height: 1.62;
}

.archive-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(15rem, 22rem) auto;
  gap: 1.5rem;
  align-items: end;
}

.archive-header .section-label {
  grid-column: 1 / -1;
  margin-bottom: -0.5rem;
}

.search-field {
  display: grid;
  gap: 0.4rem;
}

.search-field input {
  width: 100%;
  padding: 0.75rem 0.85rem;
  color: var(--ink);
  background: white;
  border: 1px solid var(--muted);
  border-radius: 0;
  font: inherit;
}

.result-count {
  padding-bottom: 0.75rem;
  white-space: nowrap;
}

[hidden] {
  display: none !important;
}

.review-article {
  overflow: hidden;
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: 0 12px 34px rgba(11, 30, 51, 0.1);
}

.article-header {
  max-width: calc(var(--reading) + 2 * var(--gutter));
  margin: 0 auto;
  padding: clamp(2rem, 6vw, 5rem) var(--gutter) clamp(1.75rem, 4vw, 3rem);
}

.back-link {
  color: var(--red);
  text-decoration: none;
}

.article-header h1 {
  margin: 1rem 0 1.25rem;
  font-family: var(--serif);
  font-size: clamp(3rem, 7.5vw, 7rem);
  letter-spacing: -0.055em;
  line-height: 0.96;
}

.article-artwork {
  margin: 0;
  padding: clamp(0.75rem, 2vw, 1.5rem);
  display: grid;
  place-items: center;
  background: var(--navy);
}

.article-artwork img {
  width: auto;
  max-width: 100%;
  max-height: none;
}

.article-copy {
  max-width: calc(var(--reading) + 2 * var(--gutter));
  margin: 0 auto;
  padding: clamp(2.5rem, 7vw, 6rem) var(--gutter);
  font-family: var(--serif);
  font-size: clamp(1.08rem, 1.7vw, 1.28rem);
  line-height: 1.75;
}

.article-copy > :first-child {
  margin-top: 0;
}

.article-copy > :last-child {
  margin-bottom: 0;
}

.article-copy li + li {
  margin-top: 0.7rem;
}

.article-copy a {
  text-decoration-color: var(--red);
  text-decoration-thickness: 0.12em;
  text-underline-offset: 0.15em;
}

.site-footer {
  margin-top: clamp(3rem, 6vw, 5rem);
  padding: 2rem var(--gutter) 1.5rem;
  text-align: center;
  background: #fff;
  border-top: 5px solid var(--red);
}

.footer-links {
  margin-bottom: 1.5rem;
  display: flex;
  justify-content: center;
  gap: 2rem;
}

.footer-links a {
  color: var(--navy);
  font-size: 0.73rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-decoration: none;
  text-transform: uppercase;
}

.league-logo {
  width: min(100%, 650px);
  height: auto;
  display: block;
  margin: 0 auto;
}

.copyright {
  margin: 1.5rem 0 0;
}

.not-found {
  min-height: 45vh;
  padding: 6rem var(--gutter);
  text-align: center;
}

.not-found h1 {
  margin: 0;
  color: var(--navy);
  font-family: var(--serif);
  font-size: clamp(7rem, 24vw, 18rem);
  line-height: 0.8;
}

.not-found p {
  font-family: var(--serif);
  font-size: 1.25rem;
}

@media (max-width: 1000px) {
  .review-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .archive-header {
    grid-template-columns: 1fr;
  }

  .archive-header .section-label {
    grid-column: auto;
  }

  .result-count {
    padding-bottom: 0;
  }
}

@media (max-width: 600px) {
  .original-mark {
    padding: 0.75rem;
  }

  .navigation-bar {
    position: relative;
  }

  .navigation-toggle {
    display: block;
  }

  .site-navigation {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    z-index: 20;
    padding: 1rem var(--gutter);
    display: none;
    align-items: stretch;
    flex-direction: column;
    gap: 0;
    background: var(--navy);
    border-top: 1px solid rgba(255, 255, 255, 0.2);
  }

  .site-navigation[data-open="true"] {
    display: flex;
  }

  .site-navigation a {
    padding: 0.9rem 0;
  }

  .page-shell,
  .article-shell {
    padding-right: 0.75rem;
    padding-left: 0.75rem;
  }

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

  .featured-copy h1,
  .article-header h1 {
    overflow-wrap: anywhere;
  }

  .article-artwork {
    padding: 0.4rem;
  }

  .footer-links {
    gap: 1.2rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}

@media print {
  .site-header,
  .site-footer {
    display: none;
  }

  body,
  .review-article {
    background: white;
    box-shadow: none;
  }

  .article-shell,
  .article-copy {
    width: 100%;
    max-width: none;
    padding: 0;
  }
}
