:root {
  color-scheme: light;
  --bg: #ffffff;
  --text: #24170d;
  --muted: #6b5e4b;
  --line: #eadcc5;
  --soft: #fff8ec;
  --soft-strong: #f5e6c8;
  --sun: #c77718;
  --sun-dark: #8f4e15;
  --sun-soft: #f6d487;
  --clay: #9d4f1f;
  --shadow: 0 18px 50px rgba(75, 45, 17, 0.13);
  --max: 1120px;
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  line-height: 1.5;
  overflow-x: hidden;
}

a {
  color: inherit;
}

.site-header {
  align-items: center;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 18px;
  grid-template-columns: auto 1fr auto;
  left: 0;
  margin: 0 auto;
  padding: 18px clamp(20px, 4vw, 48px);
  position: sticky;
  right: 0;
  top: 0;
  z-index: 10;
}

.brand {
  align-items: center;
  display: inline-flex;
  font-size: 1rem;
  font-weight: 760;
  gap: 10px;
  text-decoration: none;
}

.brand-mark {
  align-items: center;
  background: linear-gradient(135deg, var(--sun), var(--clay));
  border-radius: 8px;
  color: #fff;
  display: inline-flex;
  font-size: 0.95rem;
  height: 34px;
  justify-content: center;
  width: 34px;
}

.site-nav {
  align-items: center;
  display: flex;
  gap: 24px;
  justify-content: center;
}

.site-nav a,
.text-link {
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 650;
  text-decoration: none;
}

.site-nav a:hover,
.text-link:hover {
  color: var(--sun-dark);
}

.header-action,
.button {
  align-items: center;
  border-radius: 8px;
  display: inline-flex;
  font-size: 0.94rem;
  font-weight: 760;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  text-decoration: none;
  transition:
    background-color 160ms ease,
    border-color 160ms ease,
    color 160ms ease,
    transform 160ms ease;
}

.header-action,
.button-primary {
  background: var(--sun);
  color: #fff;
}

.header-action:hover,
.button-primary:hover {
  background: var(--sun-dark);
  transform: translateY(-1px);
}

.button-secondary {
  background: #fff;
  border: 1px solid var(--line);
  color: var(--text);
}

.button-secondary:hover {
  border-color: var(--sun);
  color: var(--sun-dark);
  transform: translateY(-1px);
}

main {
  overflow: hidden;
  scroll-margin-top: 96px;
}

.hero {
  align-items: center;
  display: grid;
  gap: clamp(36px, 6vw, 88px);
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.86fr);
  margin: 0 auto;
  max-width: var(--max);
  min-height: min(760px, calc(100vh - 78px));
  padding: clamp(54px, 8vw, 92px) clamp(20px, 4vw, 48px);
}

.hero-copy {
  max-width: 660px;
  min-width: 0;
}

.hero h1 {
  font-size: clamp(3.6rem, 8vw, 7.4rem);
  letter-spacing: 0;
  line-height: 0.92;
  margin: 0;
}

.hero p {
  color: var(--muted);
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  margin: 26px 0 0;
  max-width: 560px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.court-visual {
  background:
    radial-gradient(circle at 20% 16%, rgba(246, 195, 82, 0.32), transparent 32%),
    linear-gradient(145deg, var(--soft), var(--soft-strong));
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  min-height: 520px;
  min-width: 0;
  overflow: hidden;
  padding: clamp(18px, 3vw, 28px);
  position: relative;
}

.court-surface {
  background:
    radial-gradient(circle at 18% 22%, rgba(255, 255, 255, 0.24) 0 1px, transparent 2px),
    radial-gradient(circle at 68% 68%, rgba(117, 82, 35, 0.15) 0 1px, transparent 2px),
    linear-gradient(135deg, #f5dc9f 0%, #e8bd70 52%, #d99f4a 100%);
  background-size: 26px 26px, 34px 34px, auto;
  border: 2px solid rgba(255, 255, 255, 0.92);
  border-radius: 8px;
  bottom: 110px;
  box-shadow: inset 0 0 0 1px rgba(117, 82, 35, 0.18);
  left: 28px;
  position: absolute;
  right: 28px;
  top: 28px;
}

.court-line {
  border-color: rgba(255, 255, 255, 0.82);
  position: absolute;
}

.court-border {
  border: 2px solid rgba(255, 255, 255, 0.84);
  inset: 12%;
}

.net-line {
  background:
    repeating-linear-gradient(
      90deg,
      rgba(75, 45, 17, 0.46) 0 2px,
      rgba(255, 255, 255, 0.65) 2px 6px
    );
  height: 5px;
  left: 12%;
  right: 12%;
  top: 50%;
  transform: translateY(-50%);
}

.service-line {
  border-top: 2px solid rgba(255, 255, 255, 0.78);
  left: 12%;
  right: 12%;
}

.top-service {
  top: 33%;
}

.bottom-service {
  bottom: 33%;
}

.sand-mark {
  border: 0;
  border-radius: 50%;
  height: 44%;
  opacity: 0.24;
  width: 44%;
}

.sand-mark-one {
  background: radial-gradient(circle, rgba(255, 255, 255, 0.34), transparent 64%);
  left: 4%;
  top: 6%;
}

.sand-mark-two {
  background: radial-gradient(circle, rgba(117, 82, 35, 0.2), transparent 68%);
  bottom: 4%;
  right: 0;
}

.visual-note {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  bottom: 24px;
  box-shadow: 0 12px 28px rgba(75, 45, 17, 0.1);
  display: grid;
  gap: 4px;
  left: 24px;
  padding: 16px;
  position: absolute;
  right: 24px;
}

.visual-note strong {
  font-size: 1rem;
}

.visual-note span {
  color: var(--muted);
  font-size: 0.92rem;
}

.sports-section,
.legal-section,
.contact-section {
  margin: 0 auto;
  max-width: var(--max);
  padding: clamp(64px, 8vw, 96px) clamp(20px, 4vw, 48px);
  scroll-margin-top: 96px;
}

.sports-section,
.legal-section {
  border-top: 1px solid var(--line);
}

.section-heading {
  display: grid;
  gap: 12px;
  grid-template-columns: minmax(0, 0.72fr) minmax(280px, 0.68fr);
  margin-bottom: 34px;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  letter-spacing: 0;
  line-height: 1.02;
  margin: 0;
}

.section-heading p,
.contact-section p {
  color: var(--muted);
  font-size: 1.04rem;
  margin: 0;
}

.sports-grid {
  display: grid;
  gap: 0;
  grid-template-columns: minmax(0, 0.82fr) minmax(280px, 0.68fr);
}

.sports-grid section {
  border-top: 1px solid var(--line);
  padding: 28px 0;
}

.sports-grid section + section {
  border-left: 1px solid var(--line);
  padding-left: clamp(28px, 5vw, 64px);
}

.sports-grid h3 {
  font-size: 1.18rem;
  margin: 0 0 18px;
}

.sports-grid ul {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.sports-grid li {
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 0.96rem;
  font-weight: 760;
  padding: 10px 12px;
}

.sports-grid p {
  color: var(--muted);
  font-size: 1.05rem;
  margin: 0;
}

.legal-grid {
  border-top: 1px solid var(--line);
  display: grid;
  margin: 0;
}

.legal-grid div {
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 22px;
  grid-template-columns: minmax(160px, 0.35fr) minmax(0, 1fr);
  padding: 22px 0;
}

.legal-grid dt {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 760;
}

.legal-grid dd {
  font-size: clamp(1rem, 2vw, 1.2rem);
  font-weight: 700;
  margin: 0;
  overflow-wrap: anywhere;
}

.legal-grid a {
  text-decoration-color: rgba(199, 119, 24, 0.4);
  text-underline-offset: 4px;
}

.contact-section {
  align-items: center;
  background: #2a190d;
  color: #fff;
  display: grid;
  gap: 28px;
  grid-template-columns: minmax(0, 1fr) auto;
  max-width: none;
  padding-left: max(clamp(20px, 4vw, 48px), calc((100vw - var(--max)) / 2 + 48px));
  padding-right: max(clamp(20px, 4vw, 48px), calc((100vw - var(--max)) / 2 + 48px));
}

.contact-section p {
  color: rgba(255, 255, 255, 0.72);
  margin-top: 12px;
  max-width: 620px;
}

.contact-actions {
  align-items: flex-end;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.contact-actions .button-primary {
  background: var(--sun-soft);
  color: #211709;
}

.contact-actions .button-primary:hover {
  background: #ffe2a1;
}

.contact-actions .text-link {
  color: rgba(255, 255, 255, 0.76);
}

.site-footer {
  align-items: center;
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  font-size: 0.9rem;
  gap: 10px 24px;
  justify-content: space-between;
  margin: 0 auto;
  max-width: var(--max);
  padding: 24px clamp(20px, 4vw, 48px);
}

@media (max-width: 820px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .site-nav {
    display: none;
  }

  .hero,
  .section-heading,
  .sports-grid,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 46px;
  }

  .court-visual {
    min-height: 420px;
  }

  .contact-actions {
    align-items: stretch;
  }

  .sports-grid section + section {
    border-left: 0;
    padding-left: 0;
  }
}

@media (max-width: 560px) {
  .site-header {
    gap: 12px;
    grid-template-columns: 1fr;
    padding: 14px 16px;
  }

  .brand {
    font-size: 0.95rem;
  }

  .header-action {
    display: none;
  }

  .hero-copy,
  .court-visual {
    margin-left: 0;
    margin-right: auto;
    max-width: 350px;
    width: 100%;
  }

  .hero h1 {
    font-size: clamp(3rem, 14vw, 3.35rem);
    max-width: 330px;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .court-visual {
    min-height: 360px;
    padding: 16px;
  }

  .sports-section,
  .legal-section {
    max-width: 390px;
  }

  .court-surface {
    bottom: 100px;
    left: 16px;
    right: 16px;
    top: 16px;
  }

  .visual-note {
    bottom: 16px;
    left: 16px;
    right: 16px;
  }

  .legal-grid div {
    gap: 8px;
    grid-template-columns: 1fr;
  }

  .site-footer {
    display: grid;
  }
}
