:root {
  --bg: #faf7f2;
  --bg-alt: #f0ebe0;
  --surface: #fbfbfb;
  --surface-alt: #f5f0e6;
  --border: #e5ddcf;
  --border-soft: #efeadf;
  --text: #1c1b17;
  --text-muted: #9c9887;
  --accent: #156616;
  --accent-bright: #1d811e;
  --secondary: #b43409;
  --on-accent: #ffffff;
  --danger: #b91c1c;
  --radius: 6px;
  --container: 1240px;
  --font-display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-body: "Jost", system-ui, -apple-system, Arial, sans-serif;
}
@font-face {
  font-family: "Cormorant Garamond";
  src: url("/fonts/cormorant-garamond-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Cormorant Garamond";
  src: url("/fonts/cormorant-garamond-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Cormorant Garamond";
  src: url("/fonts/cormorant-garamond-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Jost";
  src: url("/fonts/jost-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Jost";
  src: url("/fonts/jost-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Jost";
  src: url("/fonts/jost-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.75;
  overflow-wrap: anywhere;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  line-height: 1.2;
  margin: 0 0 0.5em;
  font-weight: 600;
}

p {
  margin: 0 0 1em;
}

a {
  color: var(--accent);
}

a:hover {
  color: var(--accent-bright);
}

img,
svg {
  max-width: 100%;
  height: auto;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

[hidden] {
  display: none !important;
}

.wrap {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4vw, 2.5rem);
}

time {
  color: var(--text-muted);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  padding-block: 1.5rem 0.75rem;
}

.site-header__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 2rem;
  min-width: 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--text);
  min-width: 0;
}

.brand__mark {
  flex-shrink: 0;
  width: 2.5rem;
  height: 2.5rem;
}

.brand__name {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.35rem);
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1;
}

.nav-toggle {
  display: none;
  background: var(--surface-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.55rem 0.9rem;
  cursor: pointer;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.35rem;
  min-width: 0;
}

.site-nav a {
  text-decoration: none;
  color: var(--text);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.01em;
}

.site-nav a:hover {
  color: var(--accent);
}

.issue-date {
  display: block;
  margin-top: 0.85rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border-soft);
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.section {
  padding-block: clamp(5.5rem, 10vw, 7rem);
  min-width: 0;
}

.section--alt {
  background: var(--bg-alt);
}

.section__title {
  font-size: clamp(1.85rem, 3.2vw, 2.6rem);
  margin-bottom: 0.4em;
}

.section__lead {
  max-width: 42rem;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
}

.rule-svg {
  display: block;
  width: 100%;
  max-width: 12rem;
  height: auto;
  margin: 0 0 2rem;
  color: var(--accent);
}

.digest {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 2.15fr);
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: start;
  min-width: 0;
}

.headline-rail {
  min-width: 0;
  border-right: 1px solid var(--border);
  padding-right: clamp(1rem, 2vw, 1.75rem);
}

.headline-rail__title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}

.headline-rail__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.headline-rail__item {
  border-bottom: 1px solid var(--border-soft);
}

.headline-rail__link {
  display: grid;
  grid-template-columns: 3.5rem minmax(0, 1fr);
  gap: 0.75rem;
  padding: 0.95rem 0.4rem 0.95rem 0;
  text-decoration: none;
  color: var(--text);
  min-width: 0;
}

.headline-rail__link[data-active] {
  background: var(--surface-alt);
  padding-inline: 0.5rem 0.4rem;
  border-radius: var(--radius);
}

.headline-rail__time {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-variant-numeric: tabular-nums;
  padding-top: 0.15rem;
}

.headline-rail__text {
  font-family: var(--font-display);
  font-size: 1.05rem;
  line-height: 1.35;
  font-weight: 600;
  min-width: 0;
}

.summary-pane {
  display: flex;
  flex-direction: column;
  gap: 0;
  min-width: 0;
}

.summary-card {
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--border);
  min-width: 0;
  opacity: 0.72;
  transition: opacity 0.25s ease;
}

.summary-card[data-active] {
  opacity: 1;
}

.summary-card:first-child {
  padding-top: 0;
}

.summary-card__rubric {
  display: inline-block;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--secondary);
  margin-bottom: 0.45rem;
  text-decoration: none;
}

.summary-card__title {
  font-size: clamp(1.35rem, 2.2vw, 1.75rem);
  margin-bottom: 0.45rem;
}

.summary-card__title a {
  color: var(--text);
  text-decoration: none;
}

.summary-card__title a:hover {
  color: var(--accent);
}

.summary-card__excerpt {
  color: var(--text);
  margin-bottom: 0.65rem;
}

.summary-card__meta {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.rubric-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
  gap: clamp(1.5rem, 3vw, 2.5rem);
  min-width: 0;
}

.rubric-card {
  min-width: 0;
  padding: 1.5rem 0 0;
  border-top: 2px solid var(--accent);
}

.rubric-card__icon {
  width: 2rem;
  height: 2rem;
  margin-bottom: 0.85rem;
  color: var(--accent);
}

.rubric-card__name {
  font-size: 1.55rem;
  margin-bottom: 0.35rem;
}

.rubric-card__name a {
  color: var(--text);
  text-decoration: none;
}

.rubric-card__desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 1.1rem;
}

.rubric-card__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.rubric-card__list a {
  text-decoration: none;
  color: var(--text);
  font-family: var(--font-display);
  font-size: 1.05rem;
  line-height: 1.35;
  font-weight: 600;
}

.rubric-card__list a:hover {
  color: var(--accent);
}

.rubric-card__empty {
  color: var(--text-muted);
  font-size: 0.92rem;
}

.scoreboard {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: clamp(1.25rem, 3vw, 2rem);
  display: grid;
  grid-template-columns: minmax(0, 11rem) minmax(0, 1fr);
  gap: clamp(1rem, 3vw, 2.5rem);
  align-items: center;
  min-width: 0;
}

.scoreboard__meta {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  padding-right: 1rem;
  border-right: 1px solid var(--border-soft);
}

.scoreboard__comp {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--accent);
}

.scoreboard__detail {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.45;
}

.scoreboard__main {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: clamp(0.75rem, 2vw, 1.5rem);
  align-items: center;
  min-width: 0;
}

.side {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.55rem;
  text-align: center;
  min-width: 0;
}

.monogram {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: var(--radius);
  background: var(--bg-alt);
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-variant: small-caps;
  flex-shrink: 0;
}

.monogram--lg {
  width: 4.25rem;
  height: 4.25rem;
  font-size: 1.05rem;
}

.monogram--inline {
  width: 1.35em;
  height: 1.35em;
  font-size: 0.65em;
  letter-spacing: 0.08em;
  vertical-align: middle;
  margin-right: 0.35em;
  display: inline-flex;
}

.side__name {
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.3;
}

.scoreboard__score {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 6vw, 4.25rem);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.04em;
  line-height: 1;
  color: var(--text);
  white-space: nowrap;
}

.scoreboard__status {
  display: block;
  margin-top: 0.45rem;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  text-align: center;
}

.scoreboard__foot {
  grid-column: 1 / -1;
  margin-top: 0.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-soft);
  font-size: 0.9rem;
  color: var(--text-muted);
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
}

.results-strip-wrap {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.results-strip {
  display: flex;
  flex-wrap: nowrap;
  gap: 1rem;
  min-width: 0;
  padding-bottom: 0.35rem;
}

.result-pill {
  flex: 0 0 auto;
  display: grid;
  grid-template-columns: auto auto auto;
  grid-template-rows: auto auto;
  gap: 0.55rem 1rem;
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  min-width: 0;
}

.result-pill__side {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  text-align: center;
  min-width: 0;
}

.result-pill__name {
  font-size: 0.85rem;
  font-weight: 500;
  line-height: 1.25;
}

.result-pill__score {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.04em;
  white-space: nowrap;
  line-height: 1;
}

.result-pill__status {
  grid-column: 1 / -1;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  text-align: center;
}

.standings {
  width: 100%;
  border-collapse: collapse;
  font-variant-numeric: tabular-nums;
  font-size: 0.95rem;
}

.standings th,
.standings td {
  border: 1px solid var(--border);
  padding: 0.65rem 0.75rem;
  text-align: left;
}

.standings th:not(:nth-child(2)),
.standings td:not(:nth-child(2)) {
  text-align: right;
}

.standings th {
  background: var(--surface-alt);
  font-weight: 600;
}

.fixtures-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.fixture-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto;
  gap: 0.75rem 1rem;
  align-items: center;
  padding: 1rem 0;
  border-bottom: 1px solid var(--border-soft);
  min-width: 0;
}

.fixture-row__time {
  font-variant-numeric: tabular-nums;
  color: var(--text-muted);
  font-size: 0.9rem;
  white-space: nowrap;
}

.site-footer {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  padding-block: 3.5rem 2.5rem;
  margin-top: 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 160px), 1fr));
  gap: 2rem 1.5rem;
  min-width: 0;
  margin-bottom: 2.5rem;
}

.footer-col__title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  margin-bottom: 0.85rem;
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.footer-col a {
  text-decoration: none;
  color: var(--text);
  font-size: 0.92rem;
}

.footer-col a:hover {
  color: var(--accent);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  align-items: center;
  justify-content: space-between;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  font-size: 0.88rem;
  color: var(--text-muted);
  min-width: 0;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1.15rem;
}

.footer-legal a,
.footer-legal button {
  background: none;
  border: none;
  padding: 0;
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
  font-size: 0.88rem;
}

#cookie-notice {
  position: fixed;
  inset-inline: 0;
  bottom: 0;
  z-index: 900;
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 1.15rem clamp(1.25rem, 4vw, 2.5rem);
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  align-items: center;
  justify-content: space-between;
}

#cookie-notice[hidden] {
  display: none !important;
}

#cookie-notice p {
  margin: 0;
  flex: 1 1 16rem;
  min-width: 0;
  font-size: 0.92rem;
  line-height: 1.55;
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  flex-shrink: 0;
}

.cookie-actions button {
  border-radius: var(--radius);
  padding: 0.65rem 1.15rem;
  cursor: pointer;
  border: 1px solid var(--accent);
  background: var(--accent);
  color: var(--on-accent);
  font-weight: 600;
  min-width: 7.5rem;
}

.cookie-actions button[data-cookie="refuse"] {
  background: var(--accent);
  color: var(--on-accent);
  border-color: var(--accent);
}

.page-hero {
  padding-block: clamp(3rem, 6vw, 4.5rem) 2rem;
  border-bottom: 1px solid var(--border-soft);
}

.page-hero h1 {
  font-size: clamp(2rem, 4vw, 3rem);
}

.page-hero__lead {
  max-width: 40rem;
  font-size: 1.1rem;
  color: var(--text-muted);
}

.prose {
  max-width: 42rem;
  padding-block: 2.5rem 4rem;
  min-width: 0;
}

.prose h2 {
  font-size: 1.65rem;
  margin-top: 2rem;
}

.prose h3 {
  font-size: 1.3rem;
  margin-top: 1.5rem;
}

.prose ul,
.prose ol {
  margin: 0 0 1.25rem;
  padding-left: 1.25rem;
}

.prose li {
  margin-bottom: 0.4rem;
}

.prose table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
  margin: 1.25rem 0 1.75rem;
}

.table-wrap {
  width: 100%;
  overflow-x: auto;
  margin: 1.25rem 0 1.75rem;
}

.prose th,
.prose td {
  border: 1px solid var(--border);
  padding: 0.65rem 0.75rem;
  text-align: left;
  vertical-align: top;
  min-width: 0;
}

.prose th {
  background: var(--surface-alt);
  font-weight: 600;
}

.article-header {
  padding-block: clamp(2.5rem, 5vw, 3.5rem) 1.5rem;
  border-bottom: 1px solid var(--border);
  max-width: 42rem;
}

.article-header__rubric {
  display: inline-block;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--secondary);
  text-decoration: none;
  margin-bottom: 0.75rem;
}

.article-header h1 {
  font-size: clamp(1.85rem, 3.5vw, 2.75rem);
}

.standfirst {
  font-size: 1.15rem;
  line-height: 1.65;
  color: var(--text);
  margin: 1rem 0 1.25rem;
}

.byline {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.article-body {
  max-width: 42rem;
  padding-block: 2rem 1rem;
}

.article-body h2 {
  font-size: 1.55rem;
  margin-top: 1.75rem;
}

.related {
  max-width: 42rem;
  padding-block: 1.5rem 4rem;
  border-top: 1px solid var(--border);
}

.related h2 {
  font-size: 1.35rem;
}

.related ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.related a {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--text);
}

.related a:hover {
  color: var(--accent);
}

.rubric-list {
  list-style: none;
  margin: 0;
  padding: 0 0 4rem;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.rubric-list__item {
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--border);
  min-width: 0;
}

.rubric-list__item h2 {
  font-size: 1.45rem;
  margin-bottom: 0.35rem;
}

.rubric-list__item h2 a {
  color: var(--text);
  text-decoration: none;
}

.rubric-list__item h2 a:hover {
  color: var(--accent);
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 2.5rem;
  padding-bottom: 4rem;
  min-width: 0;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  min-width: 0;
}

.contact-form label {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: 0.92rem;
  font-weight: 500;
}

.contact-form input,
.contact-form textarea {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 0.7rem 0.85rem;
  width: 100%;
  min-width: 0;
}

.contact-form button {
  align-self: flex-start;
  border: 1px solid var(--accent);
  background: var(--accent);
  color: var(--on-accent);
  border-radius: var(--radius);
  padding: 0.7rem 1.25rem;
  cursor: pointer;
  font-weight: 600;
}

.form-note {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.form-done {
  padding: 1.25rem;
  background: var(--surface-alt);
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.home-intro {
  max-width: 40rem;
  margin-bottom: 2rem;
}

.home-intro p {
  font-size: 1.08rem;
}

@media (max-width: 1024px) {
  .digest {
    grid-template-columns: minmax(0, 1fr);
  }

  .headline-rail {
    border-right: none;
    border-bottom: 1px solid var(--border);
    padding-right: 0;
    padding-bottom: 1.5rem;
  }

  .headline-rail__list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
    gap: 0 1rem;
  }

  .scoreboard {
    grid-template-columns: minmax(0, 1fr);
  }

  .scoreboard__meta {
    border-right: none;
    border-bottom: 1px solid var(--border-soft);
    padding-right: 0;
    padding-bottom: 1rem;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0.5rem 1.25rem;
  }
}

@media (max-width: 640px) {
  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    display: none;
    width: 100%;
    flex-direction: column;
    gap: 0.75rem;
    padding-top: 0.75rem;
  }

  .site-nav[data-open] {
    display: flex;
  }

  .scoreboard__main {
    grid-template-columns: minmax(0, 1fr);
    justify-items: center;
    text-align: center;
  }

  .scoreboard__score {
    order: -1;
  }

  .result-pill {
    grid-template-columns: minmax(0, 1fr);
    justify-items: center;
    text-align: center;
    min-width: min(100%, 16rem);
  }

  #cookie-notice {
    flex-direction: column;
    align-items: stretch;
  }

  .cookie-actions {
    width: 100%;
  }

  .cookie-actions button {
    flex: 1 1 auto;
  }
}
