/* Fraunces and Nunito are variable fonts under the SIL Open Font License.
   License texts: /fonts/Fraunces-OFL.txt and /fonts/Nunito-OFL.txt */

@font-face {
  font-family: "Fraunces";
  font-style: normal;
  font-weight: 600 700;
  font-display: swap;
  src: url("/fonts/fraunces-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Fraunces";
  font-style: normal;
  font-weight: 600 700;
  font-display: swap;
  src: url("/fonts/fraunces-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Nunito";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("/fonts/nunito-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Nunito";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("/fonts/nunito-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --ink: #2c1810;
  --ink-soft: #5c4336;
  --cream: #fff6ea;
  --paper: #fffdf8;
  --foam: #f6e7d4;
  --tomato: #c5341a;
  --tomato-deep: #8f2414;
  --link: #8e2212;
  --link-hover: #5e1208;
  --butter: #f0c14a;
  --butter-deep: #c99612;
  --basil: #1c6b43;
  --basil-soft: #e5f3e6;
  --copper: #b8612f;
  --cocoa: #3a241c;
  --line: #e6d3be;
  --focus: #0b5cab;
  --star: #d89a0b;
  --shadow: 4px 4px 0 #2c1810;
  --radius: 18px;
  --wrap: 1120px;
  font-family: Nunito, Inter, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--cream);
}

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

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background:
    radial-gradient(ellipse 80% 40% at 0% -10%, #ffe4c4 0%, transparent 55%),
    radial-gradient(ellipse 50% 30% at 100% 0%, #ffd5cc 0%, transparent 50%),
    var(--cream);
}

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

main {
  flex: 1;
}

.wrap {
  width: min(var(--wrap), calc(100% - 2rem));
  margin-inline: auto;
}

h1,
h2,
h3,
.brand-name,
.formula,
.score-plate,
.bonus-pct,
.menu-title,
caption {
  font-family: Fraunces, "Liberation Serif", Georgia, serif;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

h1 {
  margin: 0.2rem 0 0.8rem;
  font-size: clamp(2.3rem, 4.6vw, 3.7rem);
  text-wrap: balance;
}

h2 {
  margin: 0 0 0.6rem;
  font-size: clamp(1.6rem, 2.4vw, 2.1rem);
  text-wrap: balance;
}

h3 {
  margin: 0 0 0.35rem;
  font-size: 1.25rem;
}

p {
  margin: 0 0 0.9rem;
}

a {
  color: var(--link);
  text-underline-offset: 0.16em;
}

a:hover {
  color: var(--link-hover);
}

a:visited {
  color: var(--link);
}

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 20;
  background: var(--ink);
  color: var(--cream);
  padding: 0.6rem 0.9rem;
  border-radius: 8px;
  text-decoration: none;
}

.skip-link:focus {
  top: 0.75rem;
}

.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;
}

.awning {
  height: 12px;
  background: repeating-linear-gradient(
    90deg,
    var(--tomato) 0 18px,
    var(--cream) 18px 36px
  );
  border-bottom: 2px solid var(--ink);
}

.site-header {
  background: var(--paper);
  border-bottom: 2px solid var(--ink);
  position: sticky;
  top: 0;
  z-index: 10;
}

.header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: min(var(--wrap), calc(100% - 2rem));
  margin: 0 auto;
  padding: 0.75rem 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: inherit;
  text-decoration: none;
  min-width: 0;
}

.brand:visited {
  color: inherit;
}

.logo {
  width: 52px;
  height: 52px;
  flex: none;
}

.brand-name {
  display: block;
  font-size: 1.45rem;
}

.brand-tag {
  display: block;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.nav-toggle {
  display: none;
  align-items: center;
  gap: 0.45rem;
  min-height: 44px;
  padding: 0.35rem 0.8rem;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: var(--butter);
  color: var(--ink);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.nav-toggle-icon,
.nav-toggle-icon::before,
.nav-toggle-icon::after {
  display: block;
  width: 16px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  position: relative;
}

.nav-toggle-icon::before,
.nav-toggle-icon::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle-icon::before {
  top: -5px;
}

.nav-toggle-icon::after {
  top: 5px;
}

#site-nav {
  border-top: 1px solid var(--line);
  background: var(--foam);
}

#site-nav ul {
  width: min(var(--wrap), calc(100% - 2rem));
  margin: 0 auto;
  padding: 0.45rem 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 0.15rem;
  list-style: none;
}

#site-nav a {
  display: inline-block;
  padding: 0.4rem 0.7rem;
  border-radius: 999px;
  color: var(--ink);
  text-decoration: none;
  font-weight: 800;
  font-size: 0.95rem;
}

#site-nav a:visited {
  color: var(--ink);
}

#site-nav a:hover {
  background: var(--butter);
}

#site-nav a[aria-current="page"] {
  background: var(--ink);
  color: var(--cream);
}

#site-nav a[aria-current="page"]:visited {
  color: var(--cream);
}

.page {
  padding: 2rem 0 3.5rem;
}

:target,
.section,
#join {
  scroll-margin-top: 8rem;
}

.eyebrow {
  margin: 0;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--tomato-deep);
  text-wrap: balance;
}

.nowrap {
  white-space: nowrap;
}

.lede {
  font-size: 1.2rem;
  max-width: 42rem;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: 1.5rem 2rem;
  align-items: center;
  padding-bottom: 0.5rem;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin: 1.1rem 0 0.4rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 48px;
  padding: 0.65rem 1.15rem;
  border-radius: 999px;
  border: 2px solid var(--ink);
  background: var(--butter);
  color: var(--ink);
  font: inherit;
  font-weight: 800;
  text-decoration: none;
  box-shadow: var(--shadow);
}

.btn:visited {
  color: var(--ink);
}

.btn-tomato {
  background: var(--tomato-deep);
  color: #fffdf8;
}

.btn-tomato:visited,
.btn-tomato:hover {
  color: #fffdf8;
}

.btn-line {
  background: var(--paper);
}

.hero-art {
  display: block;
  width: 100%;
  height: auto;
}

.season-card,
.card,
.callout,
.team-card,
.choice,
.menu-grid a,
.board li,
.contact-card {
  background: var(--paper);
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.season-card {
  padding: 1.15rem 1.2rem 0.4rem;
  background:
    linear-gradient(var(--foam), var(--foam)) top / 100% 10px no-repeat,
    var(--paper);
}

.season-card h2 {
  margin-top: 0.2rem;
}

.season-card dt {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.season-card dd {
  margin: 0.1rem 0 0.85rem;
  font-weight: 800;
}

.section {
  margin-top: 2.75rem;
}

.steps,
.choice-grid,
.split,
.team-grid,
.menu-grid,
.fact-grid {
  display: grid;
  gap: 1rem;
}

.steps {
  grid-template-columns: repeat(3, 1fr);
}

.card,
.choice,
.team-card,
.contact-card {
  padding: 1.1rem 1.15rem 0.4rem;
}

.step-num,
.avatar {
  display: grid;
  place-items: center;
  width: 2.6rem;
  height: 2.6rem;
  margin-bottom: 0.7rem;
  border-radius: 50%;
  border: 2px solid var(--ink);
  background: var(--butter);
  font-family: Fraunces, Georgia, serif;
  font-weight: 700;
  font-size: 1.25rem;
}

.menu-grid {
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  list-style: none;
  padding: 0;
  margin: 0;
}

.menu-grid a {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  height: 100%;
  padding: 1rem 1.05rem;
  color: inherit;
  text-decoration: none;
}

.menu-grid a:visited {
  color: inherit;
}

.menu-kicker {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--tomato-deep);
}

.menu-title {
  font-size: 1.35rem;
}

.menu-desc {
  color: var(--ink-soft);
}

.callout {
  padding: 1rem 1.1rem 0.2rem;
  margin: 1rem 0;
}

.callout-warn {
  background: #fff1ea;
}

.callout-good {
  background: var(--basil-soft);
}

.callout-note {
  background: #fff8df;
}

.callout h2,
.callout h3 {
  margin-top: 0;
}

.split {
  grid-template-columns: 1fr 1fr;
  align-items: start;
}

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

.choice h3 {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.fact-grid {
  grid-template-columns: repeat(3, 1fr);
  margin: 1rem 0 1.4rem;
}

.fact {
  padding: 0.9rem 1rem;
  border-radius: 16px;
  border: 2px solid var(--ink);
  background: var(--paper);
}

.fact strong {
  display: block;
  font-family: Fraunces, Georgia, serif;
  font-size: 1.55rem;
  line-height: 1.1;
}

.fact span {
  display: block;
  color: var(--ink-soft);
  font-weight: 700;
}

.formula {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 0.8rem;
  align-items: baseline;
  margin: 0.4rem 0 1rem;
  padding: 0.9rem 1rem;
  border-radius: 16px;
  background: var(--ink);
  color: var(--cream);
  font-size: clamp(1.15rem, 2vw, 1.45rem);
}

.bonus-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.8rem;
  margin: 0.8rem 0 1rem;
}

.bonus-row div {
  text-align: center;
  padding: 0.9rem 0.6rem 0.3rem;
  border-radius: 16px;
  border: 2px solid var(--ink);
  background: var(--paper);
}

.star-row {
  color: var(--star);
  letter-spacing: 0.08em;
  font-size: 1.15rem;
}

.star-row .off {
  color: #eadccb;
}

.bonus-plus,
.bonus-pct {
  margin: 0;
  font-size: 2rem;
}

.toc {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 0.9rem;
  padding: 0;
  margin: 0 0 1.4rem;
  list-style: none;
}

.toc a {
  font-weight: 800;
}

.checklist,
.plain-list {
  padding: 0;
  margin: 0 0 1rem;
  list-style: none;
}

.checklist li,
.plain-list li {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  margin: 0.45rem 0;
}

.tick {
  flex: none;
  display: grid;
  place-items: center;
  width: 1.4rem;
  height: 1.4rem;
  margin-top: 0.15rem;
  border-radius: 6px;
  border: 2px solid var(--ink);
  background: var(--butter);
  font-size: 0.85rem;
  font-weight: 800;
}

.tick-rec {
  background: var(--paper);
  color: var(--star);
}

.board {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.8rem;
}

.board li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.9rem;
  align-items: start;
  padding: 0.9rem 1rem;
}

.place {
  display: grid;
  place-items: center;
  min-width: 4.5rem;
  min-height: 4.5rem;
  padding: 0.3rem;
  border-radius: 50%;
  border: 2px solid var(--ink);
  background: var(--foam);
  font-family: Fraunces, Georgia, serif;
  font-weight: 700;
  text-align: center;
  line-height: 1.1;
}

.board-top .place {
  background: var(--butter);
}

.board-bottom .place {
  background: #f8cfc4;
}

.table-wrap {
  overflow-x: auto;
  margin: 0.5rem 0 1rem;
}

table {
  width: 100%;
  border-collapse: collapse;
}

.data th,
.data td {
  text-align: left;
  vertical-align: top;
  padding: 0.7rem 0.75rem;
  border-bottom: 1px solid var(--line);
}

.data th {
  background: var(--foam);
  font-size: 0.92rem;
}

.data tr:last-child td,
.data tr:last-child th {
  border-bottom: 0;
}

.data {
  border: 2px solid var(--ink);
  border-radius: 14px;
  overflow: hidden;
  background: var(--paper);
  border-collapse: separate;
  border-spacing: 0;
}

.rubric {
  border-collapse: separate;
  border-spacing: 0 0.7rem;
  min-width: 860px;
}

.rubric caption {
  caption-side: top;
  text-align: left;
  font-size: clamp(1.5rem, 2vw, 1.9rem);
  margin: 0 0 0.35rem;
}

.rubric thead th {
  text-align: left;
  font-family: Nunito, Inter, sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--ink-soft);
  font-weight: 800;
  padding: 0 0.7rem 0.15rem;
  vertical-align: bottom;
}

.rubric tbody th,
.rubric tbody td {
  background: var(--paper);
  border-top: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
  padding: 0.8rem 0.7rem;
  text-align: left;
  vertical-align: top;
}

.rubric tbody th {
  border-left: 2px solid var(--ink);
  border-radius: 16px 0 0 16px;
  width: 6.5rem;
}

.rubric tbody td:last-child {
  border-right: 2px solid var(--ink);
  border-radius: 0 16px 16px 0;
}

.score-plate {
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  border: 2px solid var(--ink);
  background: var(--butter);
  font-size: 1.45rem;
}

.score-4 .score-plate {
  background: #d7efd4;
}

.score-3 .score-plate {
  background: #f6d7b8;
}

.score-2 .score-plate {
  background: #f8c9bc;
}

.score-1 .score-plate {
  background: var(--cocoa);
  color: var(--cream);
}

.cell-label {
  display: none;
}

.team-grid {
  grid-template-columns: repeat(4, 1fr);
}

.avatar {
  background: var(--paper);
  font-size: 1.15rem;
}

.team-card:nth-child(2) .avatar {
  background: #f8c9bc;
}

.team-card:nth-child(3) .avatar {
  background: #d7efd4;
}

.team-card:nth-child(4) .avatar {
  background: #d5e6f6;
}

.contact-card a {
  font-weight: 800;
  overflow-wrap: anywhere;
}

.site-footer {
  margin-top: auto;
  background: var(--cocoa);
  color: #fff4e8;
}

.site-footer .awning {
  border-bottom-color: var(--cocoa);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 1.5rem;
  padding: 1.6rem 0 0.4rem;
}

.footer-name {
  font-family: Fraunces, Georgia, serif;
  font-size: 1.6rem;
  font-weight: 700;
  margin: 0 0 0.4rem;
}

.site-footer a {
  color: #ffe08a;
}

.site-footer a:visited {
  color: #ffe08a;
}

.footer-label {
  margin: 0 0 0.35rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.78rem;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin: 0.2rem 0;
}

.disclaimer {
  margin-top: 0.8rem;
  padding-top: 0.8rem;
  border-top: 1px solid rgba(255, 244, 232, 0.25);
  font-weight: 800;
}

.footer-meta {
  color: #f0d7c4;
  font-size: 0.92rem;
  padding-bottom: 1.4rem;
}

.status {
  display: inline-block;
  margin: 0.55rem 0 0.2rem;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--ink-soft);
  font-weight: 800;
}

.page-404 {
  text-align: center;
  padding: 3rem 0 4rem;
}

.page-404 h1 {
  font-size: clamp(2.4rem, 6vw, 4rem);
}

.page-404 .btn-row {
  justify-content: center;
}

@media (max-width: 980px) {
  .hero,
  .steps,
  .split,
  .choice-grid,
  .fact-grid,
  .bonus-row,
  .footer-grid,
  .team-grid {
    grid-template-columns: 1fr;
  }

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

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

  .js #site-nav {
    display: none;
  }

  .js #site-nav.is-open {
    display: block;
  }

  .js #site-nav ul {
    flex-direction: column;
    padding: 0.4rem 0 0.7rem;
  }

  .js #site-nav a {
    display: block;
    padding: 0.7rem 0.2rem;
    border-radius: 10px;
  }
}

@media (max-width: 780px) {
  .rubric {
    min-width: 0;
    border-spacing: 0;
  }

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

  .rubric,
  .rubric tbody,
  .rubric tr,
  .rubric th,
  .rubric td {
    display: block;
    width: auto;
  }

  .rubric tr {
    margin: 0 0 1rem;
    border: 2px solid var(--ink);
    border-radius: 16px;
    box-shadow: var(--shadow);
    overflow: hidden;
    background: var(--paper);
  }

  .rubric tbody th,
  .rubric tbody td {
    border: 0;
    border-radius: 0;
    border-bottom: 1px solid var(--line);
    background: transparent;
  }

  .rubric tbody td:last-child {
    border-bottom: 0;
    border-radius: 0;
  }

  .cell-label {
    display: block;
    margin-bottom: 0.15rem;
    font-family: Nunito, Inter, sans-serif;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--ink-soft);
  }

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

@media (max-width: 420px) {
  .btn {
    width: 100%;
  }
}

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

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .btn:hover,
  .menu-grid a:hover,
  .team-card:hover {
    transform: translate(-1px, -1px);
    box-shadow: 5px 5px 0 var(--ink);
  }

  .btn,
  .menu-grid a,
  .team-card {
    transition: transform 0.15s ease, box-shadow 0.15s ease;
  }

  .steam {
    transform-origin: center;
    animation: steam 3.2s ease-in-out infinite;
  }
}

@keyframes steam {
  0%,
  100% {
    opacity: 0.35;
    transform: translateY(0);
  }
  50% {
    opacity: 0.9;
    transform: translateY(-6px);
  }
}

@media (forced-colors: active) {
  .card,
  .btn,
  .season-card,
  .team-card,
  .callout,
  .menu-grid a,
  .board li,
  .fact,
  .rubric tbody th,
  .rubric tbody td {
    border: 1px solid CanvasText;
    box-shadow: none;
  }
}
