:root {
  --ink: #11120f;
  --paper: #f3ead6;
  --white: #fff9e9;
  --yellow: #f4df20;
  --red: #e42724;
  --red-dark: #a61920;
  --green: #173e31;
  --blue: #1b5eaa;
  --display: "Avenir Next Condensed", "Arial Narrow", sans-serif;
  --serif: "Iowan Old Style", "Bodoni 72", Georgia, serif;
  --mono: "Courier New", Courier, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; color: var(--ink); background: var(--paper); font-family: var(--display); }
a { color: inherit; }

.site-nav {
  position: fixed;
  z-index: 50;
  top: 14px;
  right: 14px;
  display: flex;
  border: 3px solid var(--ink);
  background: var(--white);
  box-shadow: 5px 5px 0 var(--red);
}
.site-nav a { padding: 10px 13px; color: var(--ink); font: 900 10px/1 var(--mono); letter-spacing: .08em; text-decoration: none; text-transform: uppercase; }
.site-nav a + a { border-left: 2px solid var(--ink); }
.site-nav a:hover, .site-nav a.active { background: var(--yellow); }
a:focus-visible { outline: 4px solid var(--blue); outline-offset: 4px; }

.rules-hero { min-height: 100svh; display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(340px, .7fr); overflow: hidden; background: var(--ink); color: var(--white); }
.hero-copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(110px, 10vw, 160px) clamp(28px, 7vw, 110px); }
.eyebrow, .chapter-heading > p, .specials-heading > p, .call-copy > p:first-child { margin: 0; color: var(--yellow); font: 700 10px/1.4 var(--mono); letter-spacing: .15em; text-transform: uppercase; }
.hero-copy h1 { margin: 25px 0 0; font: 900 clamp(86px, 13vw, 190px)/.67 var(--display); letter-spacing: -.07em; text-transform: uppercase; }
.hero-copy h1 span { color: var(--red); }
.hero-lede { max-width: 660px; margin: 45px 0 0; color: #d8d0bf; font: 500 clamp(19px, 2vw, 27px)/1.4 var(--serif); }
.jump-link { align-self: flex-start; margin-top: 36px; border-bottom: 2px solid var(--yellow); padding: 0 0 7px; color: var(--yellow); font: 900 11px/1 var(--mono); letter-spacing: .06em; text-decoration: none; text-transform: uppercase; }
.jump-link span { display: inline-block; margin-left: 10px; transition: transform 150ms ease; }
.jump-link:hover span { transform: translateY(4px); }

.hero-scorecard { position: relative; display: flex; flex-direction: column; justify-content: center; min-height: 680px; overflow: hidden; border-left: 1px solid #3b3c35; padding: clamp(95px, 7vw, 110px) clamp(28px, 5vw, 70px); background-color: var(--green); background-image: repeating-linear-gradient(89deg, transparent 0 30px, rgba(255,255,255,.07) 31px 32px), repeating-linear-gradient(1deg, transparent 0 33px, rgba(0,0,0,.16) 34px 35px); }
.hero-scorecard > p { margin: 0 0 22px; color: var(--yellow); font: 700 10px/1 var(--mono); letter-spacing: .15em; text-transform: uppercase; }
.hero-scorecard dl { position: relative; z-index: 1; margin: 0; border-top: 3px solid var(--white); }
.hero-scorecard dl div { display: flex; align-items: baseline; justify-content: space-between; gap: 18px; border-bottom: 1px solid rgba(255,255,255,.3); padding: 19px 0; }
.hero-scorecard dt { color: #c7c5b8; font: 700 10px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.hero-scorecard dd { margin: 0; font: 900 clamp(31px, 4vw, 52px)/1 var(--display); letter-spacing: -.03em; text-transform: uppercase; }
.loser-stamp { align-self: flex-end; margin-top: 38px; border: 6px double var(--red); padding: 13px 18px 8px; color: var(--red); font: 900 clamp(36px, 5vw, 64px)/.72 var(--display); letter-spacing: -.04em; text-align: center; text-transform: uppercase; transform: rotate(-8deg); }

.rule-chapter { position: relative; display: grid; grid-template-columns: 150px minmax(330px, .75fr) minmax(400px, 1.25fr); border-bottom: 3px solid var(--ink); }
.chapter-number { border-right: 3px solid var(--ink); padding: 55px 24px; color: var(--red); font: 900 44px/1 var(--display); writing-mode: vertical-rl; }
.chapter-heading { display: flex; flex-direction: column; justify-content: center; min-height: 720px; border-right: 3px solid var(--ink); padding: clamp(45px, 6vw, 90px); }
.chapter-heading > p { color: var(--red); }
.chapter-heading h2 { margin: 24px 0 0; font: 900 clamp(60px, 7vw, 110px)/.76 var(--display); letter-spacing: -.06em; text-transform: uppercase; }
.chapter-heading h2 span { color: var(--red); }
.chapter-copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(48px, 7vw, 110px); background: var(--white); }
.lead { margin: 0 0 40px; font: 500 clamp(23px, 2.3vw, 34px)/1.35 var(--serif); }
.plain-steps { margin: 0; padding: 0; list-style: none; }
.plain-steps li { display: grid; grid-template-columns: 48px 1fr; gap: 18px; align-items: start; border-top: 1px solid rgba(17,18,15,.28); padding: 20px 0; }
.plain-steps li > span { display: grid; width: 34px; height: 34px; place-items: center; border-radius: 50%; color: var(--white); background: var(--ink); font: 900 14px/1 var(--mono); }
.plain-steps p, .check-list li { margin: 0; font: 500 18px/1.5 var(--serif); }
.margin-note { align-self: flex-end; max-width: 390px; margin-top: 34px; border: 3px solid var(--ink); padding: 17px 20px; background: var(--yellow); font: 700 12px/1.5 var(--mono); transform: rotate(-1.4deg); box-shadow: 6px 6px 0 var(--red); }
.margin-note strong { display: block; margin-bottom: 7px; font-size: 14px; text-transform: uppercase; }

.turn-chapter { background-color: var(--paper); background-image: linear-gradient(rgba(17,18,15,.075) 1px, transparent 1px), linear-gradient(90deg, rgba(17,18,15,.075) 1px, transparent 1px); background-size: 28px 28px; }
.match-demo { display: flex; align-items: center; gap: clamp(10px, 2vw, 22px); margin-bottom: 36px; }
.demo-card { width: clamp(75px, 8vw, 106px); aspect-ratio: .7; display: flex; flex-direction: column; justify-content: space-between; border: 3px solid var(--ink); border-radius: 7px; padding: 9px; background: var(--white); box-shadow: 5px 6px 0 var(--ink); }
.demo-card b { font: 900 clamp(28px, 3vw, 42px)/1 var(--display); }
.demo-card i { align-self: center; font: normal clamp(33px, 4vw, 52px)/1 var(--serif); }
.red-card { color: var(--red-dark); }
.black-card { color: var(--ink); }
.demo-word { font: 900 10px/1 var(--mono); text-transform: uppercase; }
.check-list { margin: 0; padding: 0; list-style: none; }
.check-list li { position: relative; border-top: 1px solid rgba(17,18,15,.28); padding: 16px 0 16px 32px; }
.check-list li::before { content: "→"; position: absolute; left: 0; top: 19px; color: var(--red); font: 900 15px/1 var(--mono); }

.specials { padding: clamp(75px, 9vw, 145px) clamp(16px, 5vw, 75px); background: var(--ink); color: var(--white); }
.specials-heading { display: grid; grid-template-columns: .35fr 1fr; gap: 40px; align-items: end; margin-bottom: 70px; }
.specials-heading h2 { margin: 0; font: 900 clamp(70px, 10vw, 150px)/.72 var(--display); letter-spacing: -.065em; text-transform: uppercase; }
.specials-heading h2 span { color: var(--red); }
.special-grid { display: grid; grid-template-columns: repeat(2, 1fr); border: 3px solid var(--white); box-shadow: 12px 12px 0 var(--red); }
.special-card { min-height: 390px; display: grid; grid-template-columns: minmax(120px, .35fr) minmax(0, 1fr); gap: clamp(22px, 3vw, 45px); align-items: center; border-bottom: 1px solid #4a4b43; padding: clamp(27px, 4vw, 55px); }
.special-card:nth-child(odd) { border-right: 1px solid #4a4b43; }
.special-card:nth-last-child(-n+2) { border-bottom: 0; }
.card-face { width: 100%; max-width: 155px; aspect-ratio: .7; display: flex; flex-direction: column; justify-content: space-between; border: 6px solid var(--white); border-radius: 9px; padding: 13px; background: var(--white); box-shadow: 9px 10px 0 rgba(0,0,0,.45); transform: rotate(-5deg); }
.special-card:nth-child(even) .card-face { transform: rotate(5deg); }
.card-face b { font: 900 clamp(37px, 4vw, 58px)/1 var(--display); }
.card-face i { align-self: center; font: normal clamp(52px, 6vw, 84px)/1 var(--serif); }
.card-name { margin: 0 0 13px; color: var(--yellow); font: 700 9px/1 var(--mono); letter-spacing: .13em; text-transform: uppercase; }
.special-card h3 { margin: 0; font: 900 clamp(31px, 3.5vw, 52px)/.86 var(--display); letter-spacing: -.035em; text-transform: uppercase; }
.special-card div > p:last-child { max-width: 440px; margin: 22px 0 0; color: #b9b7aa; font: 500 17px/1.45 var(--serif); }
.special-four { background: var(--green); }
.special-eight { background: #191f43; }
.special-king { background: var(--red-dark); }
.special-king .card-name { color: var(--white); }
.special-king div > p:last-child { color: #efd9cf; }

.calls { display: grid; grid-template-columns: minmax(240px, .7fr) minmax(380px, 1.1fr) minmax(240px, .7fr); min-height: 670px; overflow: hidden; background-color: var(--yellow); background-image: radial-gradient(rgba(17,18,15,.16) 1px, transparent 1px); background-size: 8px 8px; }
.call-copy { display: flex; flex-direction: column; justify-content: center; border-inline: 3px solid var(--ink); padding: clamp(45px, 6vw, 90px); background: var(--paper); }
.call-copy > p:first-child { color: var(--red); }
.call-copy h2 { margin: 22px 0 36px; font: 900 clamp(60px, 7vw, 105px)/.75 var(--display); letter-spacing: -.06em; text-transform: uppercase; }
.call-copy > p:not(:first-child) { margin: 0 0 22px; font: 500 20px/1.45 var(--serif); }
.call-poster { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 24px; padding: 50px 20px; }
.call-poster span { font: 700 10px/1 var(--mono); letter-spacing: .15em; text-transform: uppercase; }
.call-poster strong { border: 7px double currentColor; padding: 22px 16px 14px; font: 900 clamp(50px, 7vw, 100px)/.74 var(--display); letter-spacing: -.05em; text-align: center; transform: rotate(-9deg); }
.call-piss { color: var(--white); background: var(--red); }
.call-piss strong { transform: rotate(8deg); }

.finish-chapter { background: var(--green); color: var(--white); }
.finish-chapter .chapter-number, .finish-chapter .chapter-heading { border-color: #526b61; }
.finish-chapter .chapter-copy { color: var(--white); background: var(--green); }
.finish-chapter .chapter-heading > p { color: var(--yellow); }
.mode-note { display: grid; grid-template-columns: repeat(2, 1fr); margin-top: 40px; border: 3px solid var(--white); }
.mode-note > div { padding: 24px; }
.mode-note > div + div { border-left: 3px solid var(--white); }
.mode-note strong { color: var(--yellow); font: 900 20px/1 var(--display); text-transform: uppercase; }
.mode-note p { margin: 12px 0 0; color: #d3d7cc; font: 500 16px/1.45 var(--serif); }
.finish-chapter .chapter-copy > p:not(.lead) { margin: 0; color: #d3d7cc; font: 500 18px/1.5 var(--serif); }

.final-call { min-height: 560px; display: grid; place-content: center; justify-items: center; padding: 80px 20px; text-align: center; background: var(--red); color: var(--white); }
.final-call > p { margin: 0; font: 700 10px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; }
.final-call h2 { margin: 18px 0 48px; font: 900 clamp(80px, 15vw, 205px)/.7 var(--display); letter-spacing: -.07em; text-transform: uppercase; }
.final-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 15px; }
.button { display: inline-flex; min-height: 54px; align-items: center; justify-content: center; border: 3px solid var(--ink); padding: 14px 20px; color: var(--ink); font: 900 12px/1 var(--mono); letter-spacing: .05em; text-decoration: none; text-transform: uppercase; box-shadow: 6px 6px 0 var(--ink); transition: transform 140ms ease, box-shadow 140ms ease; }
.button:hover { transform: translate(3px, 3px); box-shadow: 3px 3px 0 var(--ink); }
.button-yellow { background: var(--yellow); }
.button-paper { background: var(--white); }

footer { min-height: 90px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 25px; padding: 25px clamp(20px, 5vw, 70px); color: var(--white); background: var(--ink); }
footer strong { font: 900 18px/1 var(--display); text-transform: uppercase; }
footer span { color: #85867d; font: 700 9px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; }
footer a { justify-self: end; font: 700 10px/1 var(--mono); }

@media (max-width: 1080px) {
  .rules-hero { grid-template-columns: 1fr; }
  .hero-scorecard { min-height: auto; border-top: 1px solid #3b3c35; border-left: 0; }
  .hero-scorecard dl { display: grid; grid-template-columns: repeat(2, 1fr); }
  .hero-scorecard dl div:nth-child(odd) { border-right: 1px solid rgba(255,255,255,.3); padding-right: 24px; }
  .hero-scorecard dl div:nth-child(even) { padding-left: 24px; }
  .rule-chapter { grid-template-columns: 90px minmax(290px, .75fr) minmax(360px, 1.25fr); }
  .special-card { grid-template-columns: 105px 1fr; }
  .calls { grid-template-columns: .55fr 1.2fr .55fr; }
}

@media (max-width: 820px) {
  .rule-chapter { grid-template-columns: 70px 1fr; }
  .chapter-number { grid-row: span 2; padding: 40px 18px; }
  .chapter-heading { min-height: 470px; border-right: 0; border-bottom: 3px solid var(--ink); }
  .chapter-copy { grid-column: 2; }
  .finish-chapter .chapter-heading { border-color: #526b61; }
  .specials-heading { grid-template-columns: 1fr; }
  .special-grid { grid-template-columns: 1fr; }
  .special-card:nth-child(odd) { border-right: 0; }
  .special-card:nth-last-child(2) { border-bottom: 1px solid #4a4b43; }
  .calls { grid-template-columns: 1fr 1fr; }
  .call-copy { grid-column: 1 / -1; grid-row: 1; border-inline: 0; border-bottom: 3px solid var(--ink); }
}

@media (max-width: 560px) {
  .rules-hero { min-height: auto; }
  .hero-copy {
    min-height: min(720px, 100dvh);
    justify-content: end;
    padding: calc(48px + env(safe-area-inset-top, 0px)) 20px 44px;
  }
  .hero-copy h1 { font-size: clamp(72px, 25vw, 104px); }
  .hero-lede { font-size: 18px; }
  .jump-link { min-height: 48px; display: inline-flex; align-items: center; }
  .hero-scorecard { min-height: 340px; padding: 42px 22px; }
  .hero-scorecard dl { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-scorecard dl div { min-width: 0; padding-block: 14px; }
  .hero-scorecard dl div:nth-child(odd) { border-right: 1px solid rgba(255,255,255,.3); padding-right: 16px; }
  .hero-scorecard dl div:nth-child(even) { padding-left: 16px; }
  .hero-scorecard dd { font-size: 34px; }
  .loser-stamp { right: 22px; bottom: 24px; transform: rotate(-7deg) scale(.82); transform-origin: right bottom; }
  .rule-chapter { grid-template-columns: 1fr; }
  .chapter-number { display: none; }
  .chapter-heading { min-height: 290px; padding: 42px 22px; }
  .chapter-heading h2 { font-size: 56px; }
  .chapter-copy { grid-column: 1; padding: 42px 22px; }
  .chapter-copy .lead { font-size: 20px; }
  .plain-steps li { grid-template-columns: 40px 1fr; }
  .match-demo { justify-content: space-between; gap: 5px; margin-inline: -4px; }
  .demo-card { width: min(19vw, 70px); }
  .demo-word { font-size: 8px; }
  .specials { padding: 66px 10px; }
  .specials-heading { padding-inline: 12px; }
  .specials-heading h2 { font-size: 56px; }
  .special-grid { box-shadow: 7px 8px 0 var(--red); }
  .special-card { min-height: 0; grid-template-columns: 74px 1fr; gap: 17px; padding: 28px 17px; }
  .card-face { border-width: 4px; padding: 8px; }
  .special-card h3 { font-size: 29px; }
  .special-card div > p:last-child { margin-top: 16px; font-size: 15px; }
  .calls { grid-template-columns: 1fr; }
  .call-poster { min-height: 270px; }
  .call-poster strong { font-size: 62px; }
  .call-copy { padding: 48px 22px; }
  .call-copy h2 { margin-block: 18px 28px; font-size: 58px; }
  .mode-note { grid-template-columns: 1fr; }
  .mode-note > div + div { border-top: 3px solid var(--white); border-left: 0; }
  .final-actions { display: grid; width: min(100%, 330px); }
  .final-actions .button { min-height: 58px; }
  .final-call { min-height: 390px; padding: 64px 20px; }
  .final-call h2 { margin-bottom: 38px; font-size: clamp(76px, 25vw, 104px); }
  footer { grid-template-columns: 1fr; text-align: center; }
  footer a { justify-self: center; }
}

@media (max-width: 370px) {
  .hero-copy h1 { font-size: 70px; }
  .special-card { grid-template-columns: 66px 1fr; padding-inline: 14px; }
  .special-card h3 { font-size: 26px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .jump-link span, .button { transition: none; }
}
