:root {
  --green-950: #01100c;
  --green-900: #02140f;
  --green-800: #042f23;
  --green-700: #063927;
  --ivory: #f5e8c6;
  --ivory-bright: #fff4d6;
  --gold: #d0a948;
  --gold-dark: #826421;
  --red: #be1412;
  --red-deep: #780c0b;
  --line: rgba(208, 169, 72, 0.38);
  --max: 1180px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  color: var(--ivory);
  background:
    radial-gradient(circle at 78% 12%, rgba(6, 57, 39, 0.86), transparent 33rem),
    linear-gradient(180deg, var(--green-900), var(--green-950));
  font-family: "Trebuchet MS", Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a { color: inherit; }

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 100;
  transform: translateY(-160%);
  background: var(--ivory-bright);
  color: var(--green-950);
  padding: 0.65rem 1rem;
  border-radius: 0.25rem;
  font-weight: 800;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 0.7rem max(1.25rem, calc((100vw - var(--max)) / 2));
  background: rgba(1, 16, 12, 0.9);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.brand {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.brand img { width: 112px; height: 54px; object-fit: contain; }

nav { display: flex; gap: clamp(1.2rem, 3vw, 2.4rem); }
nav a {
  color: rgba(245, 232, 198, 0.8);
  text-decoration: none;
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
nav a:hover, nav a:focus-visible { color: var(--ivory-bright); }

.header-play {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  margin-left: clamp(0rem, 1vw, 0.6rem);
  padding: 0.55rem 1rem;
  border: 1px solid #e12a28;
  border-radius: 0.3rem;
  color: var(--ivory-bright);
  background: var(--red);
  box-shadow: 0 8px 22px rgba(190, 20, 18, 0.2);
  text-decoration: none;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.header-play:hover, .header-play:focus-visible { background: #d31b18; }

.hero {
  min-height: calc(100svh - 74px);
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(3rem, 7vw, 6.5rem) 1.25rem clamp(4rem, 9vw, 7.5rem);
  display: grid;
  grid-template-columns: 1.04fr 0.96fr;
  align-items: center;
  gap: clamp(2rem, 7vw, 6rem);
}

.eyebrow {
  margin: 0 0 1rem;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  line-height: 1.4;
  text-transform: uppercase;
}

.hero .eyebrow { display: flex; align-items: center; gap: 0.7rem; }
.hero .eyebrow span { width: 2.25rem; height: 2px; background: var(--red); }

h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 {
  font-family: Impact, "Arial Narrow", "Franklin Gothic Heavy", sans-serif;
  font-weight: 500;
  text-transform: uppercase;
}

h1 {
  max-width: 760px;
  margin-bottom: 1.55rem;
  color: var(--ivory-bright);
  font-size: clamp(3.75rem, 7.4vw, 7rem);
  line-height: 0.91;
  letter-spacing: 0.012em;
}

h1 em { color: var(--red); font-style: normal; }

.hero-lede {
  max-width: 610px;
  margin-bottom: 1.75rem;
  color: rgba(245, 232, 198, 0.84);
  font-size: clamp(1.05rem, 1.7vw, 1.28rem);
  line-height: 1.55;
}

.hero-actions { display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0.8rem 1.45rem;
  border: 2px solid transparent;
  border-radius: 0.35rem;
  text-decoration: none;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: transform 160ms ease, background 160ms ease;
}

.button-primary {
  color: var(--ivory-bright);
  background: var(--red);
  border-color: #e12a28;
  box-shadow: 0 12px 30px rgba(190, 20, 18, 0.24);
}

.button:hover, .button:focus-visible { transform: translateY(-2px); background: #d31b18; }

.text-link {
  color: var(--ivory);
  text-decoration-color: var(--gold);
  text-underline-offset: 0.4rem;
  font-weight: 800;
}
.text-link span { color: var(--gold); margin-left: 0.25rem; }

.brand-line {
  margin: 2.5rem 0 0;
  color: var(--gold);
  font-family: Georgia, serif;
  font-size: 1.04rem;
  font-style: italic;
}

.hero-mark { position: relative; }

.hero-logo-wrap {
  position: relative;
  z-index: 2;
  max-width: 530px;
  margin: 0 auto;
  filter: drop-shadow(0 30px 45px rgba(0, 0, 0, 0.55));
}

.hero-logo-wrap::before {
  content: "";
  position: absolute;
  inset: 16% 8% 5%;
  z-index: -1;
  border-radius: 50%;
  background: rgba(208, 169, 72, 0.08);
  box-shadow: 0 0 0 1px var(--line), 0 0 0 20px rgba(208, 169, 72, 0.025);
}

.hero-logo-wrap img { width: 100%; }

.round-specs {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  max-width: 470px;
  margin: -1rem auto 0;
  background: rgba(2, 20, 15, 0.92);
  border: 1px solid var(--line);
  border-radius: 0.45rem;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.32);
}

.round-specs div {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.85rem 0.5rem;
  border-right: 1px solid var(--line);
}
.round-specs div:last-child { border-right: 0; }
.round-specs strong { color: var(--gold); font-size: 1.45rem; line-height: 1; }
.round-specs span { font-size: 0.75rem; font-weight: 900; letter-spacing: 0.1em; text-transform: uppercase; }

.intro-band {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(1rem, 4vw, 3rem);
  min-height: 118px;
  padding: 1.5rem 1.25rem;
  color: var(--green-950);
  background: var(--gold);
  border-block: 2px solid #f2ce6b;
  text-align: center;
}
.intro-band p { margin: 0; font-family: Impact, "Arial Narrow", sans-serif; font-size: clamp(1.55rem, 3vw, 2.6rem); line-height: 1; text-transform: uppercase; }
.intro-band span { color: var(--red-deep); font-size: 2rem; font-weight: 900; }

.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(5rem, 10vw, 9rem) 1.25rem;
}

h2 {
  margin-bottom: 1.5rem;
  color: var(--ivory-bright);
  font-size: clamp(2.8rem, 6vw, 5.4rem);
  line-height: 0.96;
  letter-spacing: 0.015em;
}

.how { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(3rem, 8vw, 7rem); }
.section-heading { position: sticky; top: 115px; align-self: start; }

.steps { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.steps li {
  display: grid;
  grid-template-columns: 4.5rem 1fr;
  gap: 1.25rem;
  padding: 2rem 0;
  border-bottom: 1px solid var(--line);
}
.step-number { color: var(--red); font-family: Impact, "Arial Narrow", sans-serif; font-size: 2.1rem; line-height: 1; }
.steps h3 { margin-bottom: 0.4rem; color: var(--ivory-bright); font-size: 1.65rem; letter-spacing: 0.04em; }
.steps p { max-width: 36rem; margin: 0; color: rgba(245, 232, 198, 0.72); }

.scoring { max-width: none; background: var(--ivory); color: var(--green-950); }
.scoring > * { max-width: var(--max); margin-inline: auto; }
.scorecard-heading { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 3rem; align-items: end; margin-bottom: 3.5rem; }
.scoring h2 { color: var(--green-950); margin-bottom: 0; }
.scorecard-heading > p { max-width: 31rem; margin: 0 0 0.6rem auto; font-size: 1.08rem; }

.score-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.score-card {
  min-height: 240px;
  display: flex;
  flex-direction: column;
  padding: 1.5rem;
  border: 2px solid var(--green-950);
  border-radius: 0.45rem;
  background: rgba(255,255,255,0.14);
  box-shadow: 6px 6px 0 rgba(2,20,15,0.11);
}
.score-card > div { display: flex; align-items: start; justify-content: space-between; gap: 1rem; padding-bottom: 1rem; border-bottom: 1px solid rgba(2,20,15,0.25); }
.score-name { font-family: Impact, "Arial Narrow", sans-serif; font-size: 1.55rem; line-height: 1; letter-spacing: 0.035em; text-transform: uppercase; }
.score-card strong { color: var(--green-700); font-size: 1.8rem; line-height: 1; }
.score-card p { margin: 1.15rem 0 1rem; line-height: 1.45; }
.strokes { margin-top: auto; font-size: 0.75rem; font-weight: 900; letter-spacing: 0.12em; text-transform: uppercase; }
.over-par { border-color: var(--red-deep); }
.over-par strong { color: var(--red); }
.even-par { background: var(--gold); }

.rules { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(3rem, 8vw, 7rem); }
.rules-title { align-self: start; }
.rules-lede { max-width: 29rem; color: rgba(245, 232, 198, 0.68); font-size: 1.08rem; }
.rules-board { max-width: 430px; margin: 2.2rem 0 0; }
.rules-board img {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 50%;
  filter: drop-shadow(0 22px 32px rgba(0, 0, 0, 0.42));
}
.rules-board figcaption {
  margin-top: 1rem;
  color: rgba(245, 232, 198, 0.7);
  font-size: 0.92rem;
  line-height: 1.5;
}
.rules-board figcaption strong { color: var(--gold); }
.rules-list { border-top: 1px solid var(--line); }
.rules-list article { display: grid; grid-template-columns: 3rem 1fr; gap: 1rem; padding: 1.35rem 0; border-bottom: 1px solid var(--line); }
.rules-list span { color: var(--gold); font-weight: 900; }
.rules-list p { margin: 0; color: rgba(245, 232, 198, 0.78); }
.rules-list strong { color: var(--ivory-bright); }

.closing {
  position: relative;
  padding: clamp(5rem, 11vw, 9rem) 1.25rem;
  overflow: hidden;
  color: var(--ivory-bright);
  background:
    linear-gradient(rgba(120, 12, 11, 0.88), rgba(120, 12, 11, 0.95)),
    repeating-linear-gradient(45deg, transparent 0 14px, rgba(255,255,255,0.07) 14px 15px);
  text-align: center;
}
.closing::before {
  content: "18";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -51%);
  color: rgba(255, 244, 214, 0.055);
  font-family: Impact, "Arial Narrow", sans-serif;
  font-size: min(38rem, 72vw);
  line-height: 0.7;
}
.closing > * { position: relative; }
.closing-flag { margin-bottom: 1.2rem; color: var(--gold); font-size: 0.78rem; font-weight: 900; letter-spacing: 0.17em; }
.closing h2 { max-width: 900px; margin: 0 auto 1.2rem; }
.closing p { margin-bottom: 2rem; font-size: 1.16rem; }

footer {
  max-width: var(--max);
  margin: 0 auto;
  padding: 3.5rem 1.25rem 2rem;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem 4rem;
  align-items: center;
}
.footer-primary { display: flex; align-items: center; gap: 1rem; }
.footer-primary img { width: 180px; height: auto; }
.footer-primary p { margin: 0.1rem 0 0; color: var(--gold); font-family: Georgia, serif; font-size: 0.9rem; font-style: italic; }
.footer-producer { display: grid; grid-template-columns: 150px; justify-items: end; gap: 0.2rem; color: rgba(245,232,198,0.65); font-size: 0.66rem; font-weight: 900; letter-spacing: 0.15em; }
.footer-producer img { width: 150px; height: 66px; object-fit: contain; }
.footer-producer strong { grid-column: 1 / -1; text-align: right; color: var(--gold); font-size: 0.68rem; }
.copyright { grid-column: 1 / -1; margin: 0; padding-top: 1.25rem; border-top: 1px solid var(--line); color: rgba(245,232,198,0.45); font-size: 0.76rem; }

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

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; min-height: 0; text-align: center; }
  .hero .eyebrow, .hero-actions { justify-content: center; }
  .hero-lede { margin-inline: auto; }
  .hero-logo-wrap { max-width: 410px; }
  .how, .rules { grid-template-columns: 1fr; }
  .section-heading { position: static; }
  .score-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 680px) {
  html { scroll-padding-top: 70px; }
  .site-header { min-height: 66px; padding-block: 0.55rem; }
  .brand img { width: 92px; height: 46px; }
  nav { display: none; }
  .header-play { margin-left: auto; }
  .hero { padding-top: 3rem; }
  h1 { font-size: clamp(3.35rem, 17vw, 5rem); }
  .hero-mark { margin-top: 0.5rem; }
  .hero-logo-wrap { max-width: 340px; }
  .round-specs { margin-top: 0; }
  .intro-band { flex-direction: column; gap: 0.65rem; }
  .intro-band span { line-height: 1; }
  h2 { font-size: clamp(2.7rem, 13vw, 4.3rem); }
  .scorecard-heading { grid-template-columns: 1fr; gap: 0.5rem; }
  .scorecard-heading > p { margin-left: 0; }
  .score-grid { grid-template-columns: 1fr; }
  .score-card { min-height: 210px; }
  .rules-board { margin-inline: auto; }
  footer { grid-template-columns: 1fr; }
  .footer-producer { justify-self: start; }
  .footer-producer { justify-items: start; }
  .footer-producer strong { text-align: left; }
}

@media (max-width: 390px) {
  .hero-actions { align-items: stretch; flex-direction: column; }
  .text-link { padding: 0.55rem; }
  .round-specs span { display: block; }
  .round-specs div { display: block; text-align: center; }
  .steps li { grid-template-columns: 3.25rem 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; }
}
