:root {
  --ink: #13140f;
  --muted: #676454;
  --paper: #fffdf5;
  --sand: #eee5cf;
  --orange: #ef5b2a;
  --orange-dark: #c63f17;
  --lime: #dff34e;
  --blue: #245f75;
  --line: rgba(19, 20, 15, 0.18);
  --radius: 24px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.5;
}
a { color: inherit; text-decoration: none; }
img { display: block; }
button, a, summary { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 4px; }

.site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 253, 245, 0.92);
  backdrop-filter: blur(14px);
}
.header-inner {
  width: min(1180px, calc(100% - 40px));
  min-height: 76px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
}
.brand, .footer-brand { display: flex; align-items: center; gap: 12px; }
.brand-mark {
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 48% 52% 50% 45%;
  background: var(--orange);
  color: var(--paper);
  font-family: "Arial Black", Arial, sans-serif;
  font-size: 22px;
  line-height: 1;
  transform: rotate(-9deg);
  box-shadow: inset -4px -3px 0 rgba(0, 0, 0, 0.12);
}
.brand strong {
  display: block;
  font-family: "Arial Black", Arial, sans-serif;
  font-size: 17px;
  letter-spacing: -0.04em;
  line-height: 1.05;
}
.brand small {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.main-nav { display: flex; align-items: center; gap: 30px; color: #33342e; font-size: 13px; font-weight: 700; }
.main-nav a, .text-link { position: relative; }
.main-nav a::after, .text-link::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -5px;
  left: 0;
  height: 2px;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}
.main-nav a:hover::after, .text-link:hover::after { transform: scaleX(1); transform-origin: left; }
.header-cta {
  padding: 11px 18px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  transition: background 160ms ease, color 160ms ease;
}
.header-cta:hover { background: var(--ink); color: var(--paper); }

.hero {
  overflow: hidden;
  padding: 64px 0 0;
  background:
    radial-gradient(circle at 12% 20%, rgba(223, 243, 78, 0.55) 0 7%, transparent 7.3%),
    linear-gradient(135deg, #fffdf5 0 65%, #f6c7ae 65% 100%);
}
.hero-grid, .section, footer { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(430px, 0.98fr);
  gap: clamp(45px, 7vw, 100px);
  align-items: center;
}
.kicker, .eyebrow {
  margin: 0 0 18px;
  color: var(--orange-dark);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.hero h1, .section h2, .contact-section h2 {
  margin: 0;
  font-family: "Arial Black", Arial, sans-serif;
  font-weight: 900;
  letter-spacing: -0.065em;
  line-height: 0.95;
}
.hero h1 { max-width: 700px; font-size: clamp(62px, 7.5vw, 116px); }
.hero h1 span { display: block; color: var(--orange); font-size: 0.64em; line-height: 1.04; }
.hero-intro {
  max-width: 580px;
  margin: 30px 0 0;
  color: #47483f;
  font-size: clamp(17px, 1.7vw, 21px);
  line-height: 1.65;
}
.hero-actions { margin-top: 34px; display: flex; align-items: center; flex-wrap: wrap; gap: 24px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  min-height: 52px;
  padding: 0 24px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.015em;
  transition: transform 160ms ease, box-shadow 160ms ease;
}
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--ink); color: var(--paper); box-shadow: 0 8px 0 rgba(19, 20, 15, 0.14); }
.text-link { font-size: 13px; font-weight: 800; }
.hero-visual { position: relative; margin: 0; }
.photo-frame {
  overflow: hidden;
  border: 9px solid var(--paper);
  border-radius: 52% 48% 43% 57% / 42% 45% 55% 58%;
  box-shadow: 0 24px 60px rgba(54, 35, 20, 0.2);
  transform: rotate(1.5deg);
}
.hero-photo { aspect-ratio: 1.18 / 1; background: #b9c0be; }
.photo-crop img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero-visual figcaption {
  margin-top: 16px;
  padding: 0 16px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: var(--muted);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}
.hero-visual figcaption strong { color: var(--ink); }
.hero-stamp {
  position: absolute;
  right: -20px;
  bottom: 42px;
  width: 104px;
  aspect-ratio: 1;
  display: grid;
  place-content: center;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: var(--lime);
  text-align: center;
  text-transform: uppercase;
  transform: rotate(-9deg);
  box-shadow: 6px 7px 0 var(--ink);
}
.hero-stamp span { font-size: 9px; font-weight: 900; letter-spacing: 0.12em; }
.hero-stamp strong { font-family: "Arial Black", Arial, sans-serif; font-size: 27px; line-height: 0.95; }
.stats {
  width: min(1180px, calc(100% - 40px));
  margin: 65px auto 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
}
.stat {
  min-height: 115px;
  padding: 24px clamp(14px, 2.5vw, 32px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-right: 1px solid var(--line);
}
.stat:first-child { border-left: 1px solid var(--line); }
.stat strong {
  font-family: "Arial Black", Arial, sans-serif;
  font-size: clamp(26px, 3vw, 42px);
  letter-spacing: -0.07em;
  line-height: 1;
}
.stat span { margin-top: 8px; color: var(--muted); font-size: 11px; font-weight: 700; text-transform: uppercase; }

.section { padding-top: 120px; padding-bottom: 120px; }
.intro { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(50px, 9vw, 130px); align-items: start; }
.section h2, .contact-section h2 { font-size: clamp(43px, 5.6vw, 78px); }
.intro-body { padding-top: 28px; font-size: 17px; color: var(--muted); }
.intro-body .lead {
  margin-top: 0;
  color: var(--ink);
  font-size: clamp(23px, 2.4vw, 32px);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.3;
}
.intro-body p:last-child { max-width: 650px; line-height: 1.75; }

.steps-section {
  width: 100%;
  max-width: none;
  padding-right: max(20px, calc((100% - 1180px) / 2));
  padding-left: max(20px, calc((100% - 1180px) / 2));
  background: var(--ink);
  color: var(--paper);
}
.section-heading.compact { max-width: 760px; }
.steps-section .eyebrow { color: var(--lime); }
.steps-grid {
  margin-top: 60px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.18);
}
.step-card { min-height: 290px; padding: 28px; background: var(--ink); display: flex; flex-direction: column; }
.step-number { color: var(--lime); font-size: 11px; font-weight: 900; letter-spacing: 0.15em; }
.step-card h3 {
  margin: auto 0 14px;
  font-family: "Arial Black", Arial, sans-serif;
  font-size: 25px;
  letter-spacing: -0.05em;
  line-height: 1.05;
}
.step-card p { min-height: 82px; margin: 0; color: #c9c8be; font-size: 14px; line-height: 1.6; }

.terrain-section {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: clamp(70px, 10vw, 140px);
  align-items: center;
}
.terrain-copy > p:not(.eyebrow) { max-width: 450px; margin-top: 28px; color: var(--muted); font-size: 17px; line-height: 1.7; }
.terrain-legend {
  margin: 36px 0 0;
  padding: 24px 0 0;
  border-top: 1px solid var(--line);
  list-style: none;
  display: grid;
  gap: 13px;
  color: #46473f;
  font-size: 12px;
  font-weight: 700;
}
.terrain-legend li { display: flex; align-items: center; gap: 12px; }
.legend-dot { width: 18px; height: 10px; border-radius: 50%; }
.legend-dot.orange { background: var(--orange); }
.legend-line { width: 22px; border-top: 2px solid var(--ink); }
.legend-line.dashed { border-top-style: dashed; }
.court-wrap { padding: 54px; background: var(--sand); border-radius: var(--radius); transform: rotate(1deg); }
.court {
  position: relative;
  aspect-ratio: 1;
  border: 3px solid var(--ink);
  background:
    linear-gradient(rgba(19, 20, 15, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(19, 20, 15, 0.025) 1px, transparent 1px),
    #f9f3e3;
  background-size: 8% 8%;
}
.court-size {
  position: absolute;
  color: var(--muted);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}
.court-size-top { top: -28px; left: 50%; transform: translateX(-50%); }
.court-size-side { top: 50%; right: -40px; transform: translateY(-50%) rotate(90deg); }
.midline { position: absolute; top: 0; bottom: 0; left: 50%; border-left: 2px dashed rgba(19, 20, 15, 0.5); }
.surface { position: absolute; top: 15%; width: 35%; height: 70%; border: 2px solid var(--blue); }
.surface-left { left: 0; border-left: 0; border-radius: 0 100% 100% 0; }
.surface-right { right: 0; border-right: 0; border-radius: 100% 0 0 100%; }
.surface span {
  position: absolute;
  top: 50%;
  color: var(--blue);
  font-size: 9px;
  font-weight: 900;
  transform: translateY(-50%);
}
.surface-left span { right: -29px; }
.surface-right span { left: -29px; }
.target {
  position: absolute;
  z-index: 2;
  top: 50%;
  width: 27px;
  height: 44px;
  border: 3px solid var(--ink);
  border-radius: 50%;
  background: var(--orange);
  transform: translateY(-50%);
  box-shadow: inset 0 0 0 5px rgba(255, 253, 245, 0.28);
}
.target-left { left: -14px; }
.target-right { right: -14px; }
.court-label, .center-label {
  position: absolute;
  z-index: 2;
  padding: 4px 7px;
  background: #f9f3e3;
  color: var(--muted);
  font-size: 8px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.court-label { top: 46%; }
.court-label-left { left: 8%; }
.court-label-right { right: 8%; }
.center-label { bottom: 8px; left: 50%; transform: translateX(-50%); }

.rules-section {
  width: 100%;
  max-width: none;
  padding-right: max(20px, calc((100% - 1180px) / 2));
  padding-left: max(20px, calc((100% - 1180px) / 2));
  background: var(--orange);
}
.rules-topline { display: flex; align-items: end; justify-content: space-between; gap: 40px; }
.rules-section .eyebrow { color: #5a1805; }
.edition { margin: 0 0 7px; font-size: 11px; font-weight: 900; letter-spacing: 0.13em; text-align: right; text-transform: uppercase; }
.rules-list { margin-top: 60px; border-top: 2px solid var(--ink); }
.rules-list details { border-bottom: 2px solid var(--ink); }
.rules-list summary {
  min-height: 82px;
  padding: 18px 0;
  display: grid;
  grid-template-columns: 55px 1fr 34px;
  align-items: center;
  cursor: pointer;
  list-style: none;
}
.rules-list summary::-webkit-details-marker { display: none; }
.rules-list summary span { font-size: 11px; font-weight: 900; }
.rules-list summary strong {
  font-family: "Arial Black", Arial, sans-serif;
  font-size: clamp(23px, 3vw, 36px);
  letter-spacing: -0.05em;
}
.rules-list summary i {
  font-family: Arial, sans-serif;
  font-size: 33px;
  font-style: normal;
  font-weight: 300;
  line-height: 1;
  transition: transform 180ms ease;
}
.rules-list details[open] summary i { transform: rotate(45deg); }
.rules-list ul { max-width: 850px; margin: 0 0 34px 55px; padding-left: 18px; font-size: 15px; line-height: 1.75; }
.rules-list li + li { margin-top: 7px; }
.rules-note {
  max-width: 700px;
  margin: 42px 0 0 auto;
  padding-left: 24px;
  border-left: 4px solid var(--ink);
  font-size: clamp(19px, 2vw, 25px);
  font-weight: 800;
  letter-spacing: -0.025em;
}

.history-section { padding-bottom: 150px; }
.history-heading { max-width: 820px; }
.history-heading > p:last-child { max-width: 590px; margin-top: 26px; color: var(--muted); font-size: 17px; line-height: 1.7; }
.gallery-grid { margin-top: 65px; display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; }
.gallery-card { margin: 0; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.gallery-photo { overflow: hidden; height: 360px; background: #ded9cd; }
.gallery-photo img { transition: transform 350ms ease; }
.gallery-card:hover .gallery-photo img { transform: scale(1.025); }
.gallery-card figcaption { padding: 24px 25px 28px; }
.gallery-card figcaption > span { color: var(--orange-dark); font-size: 9px; font-weight: 900; letter-spacing: 0.15em; text-transform: uppercase; }
.gallery-card h3 { margin: 7px 0 7px; font-family: "Arial Black", Arial, sans-serif; font-size: 25px; letter-spacing: -0.05em; }
.gallery-card p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.65; }
.gallery-origin { grid-column: span 7; }
.gallery-dummies { grid-column: span 5; }
.gallery-road, .gallery-grass, .gallery-logo { grid-column: span 4; }
.gallery-dummies .gallery-photo img, .gallery-logo .gallery-photo img { object-position: center 67%; }

.contact-section {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto 30px;
  padding: clamp(55px, 8vw, 95px);
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: end;
  gap: 70px;
  border-radius: 32px;
  background: var(--blue);
  color: var(--paper);
}
.contact-section .eyebrow { color: var(--lime); }
.contact-action { text-align: right; }
.button-light { background: var(--lime); color: var(--ink); box-shadow: 0 8px 0 rgba(0, 0, 0, 0.18); }
.contact-action p { margin: 18px 0 0; color: rgba(255, 253, 245, 0.72); font-size: 11px; }
footer {
  padding: 42px 0 48px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
  color: var(--muted);
  font-size: 11px;
}
.brand-mark.inverse { background: var(--ink); }
.footer-brand strong { color: var(--ink); font-family: "Arial Black", Arial, sans-serif; font-size: 15px; }
footer > p { text-align: right; line-height: 1.7; }

@media (max-width: 980px) {
  .main-nav { display: none; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { max-width: 740px; }
  .hero-visual { width: min(740px, 92%); margin-left: auto; }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .terrain-section { grid-template-columns: 1fr; }
  .terrain-copy { max-width: 720px; }
  .court-wrap { width: min(650px, 100%); margin: 0 auto; }
  .contact-section { grid-template-columns: 1fr; }
  .contact-action { text-align: left; }
}

@media (max-width: 720px) {
  html { scroll-padding-top: 75px; }
  .header-inner { width: min(100% - 28px, 1180px); min-height: 68px; }
  .brand small { display: none; }
  .header-cta { padding: 9px 14px; }
  .hero { padding-top: 46px; }
  .hero-grid, .section, footer { width: min(100% - 28px, 1180px); }
  .hero h1 { font-size: clamp(53px, 18vw, 78px); }
  .hero h1 span { margin-top: 5px; font-size: 0.56em; }
  .hero-visual { width: 94%; }
  .hero-stamp { right: -8px; bottom: 33px; width: 85px; }
  .stats { width: 100%; grid-template-columns: repeat(2, 1fr); }
  .stat { min-height: 98px; border-bottom: 1px solid var(--line); }
  .section { padding-top: 82px; padding-bottom: 82px; }
  .intro { grid-template-columns: 1fr; gap: 12px; }
  .section h2, .contact-section h2 { font-size: clamp(39px, 13vw, 58px); }
  .steps-section, .rules-section { width: 100%; padding-right: 14px; padding-left: 14px; }
  .steps-grid { grid-template-columns: 1fr; margin-top: 40px; }
  .step-card { min-height: 235px; }
  .step-card p { min-height: auto; }
  .court-wrap { padding: 40px; }
  .rules-topline { align-items: start; flex-direction: column; }
  .edition { text-align: left; }
  .rules-list { margin-top: 35px; }
  .rules-list summary { grid-template-columns: 38px 1fr 28px; }
  .rules-list ul { margin-left: 38px; padding-right: 8px; }
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-origin, .gallery-dummies, .gallery-road, .gallery-grass, .gallery-logo { grid-column: auto; }
  .gallery-photo { height: 300px; }
  .contact-section { width: calc(100% - 28px); padding: 42px 24px; gap: 42px; }
  .contact-action p { overflow-wrap: anywhere; }
  footer { align-items: start; flex-direction: column; }
  footer > p { text-align: left; }
}

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

@media print {
  .site-header, .hero, .intro, .steps-section, .terrain-section, .history-section, .contact-section, footer { display: none; }
  .rules-section { padding: 20px; background: #fff; }
  .rules-list details { display: block; }
}
