/* Golfzone — site styles
   Palette from the logo: Golfzone green #039833, orange #FF6600, black.
   Contrast notes (WCAG AA):
   - Brand green on white is 3.8:1, so text and white-on-green buttons use --green-deep (5.5:1).
   - White on orange fails (2.9:1), so orange buttons carry black text (7.1:1).
   - Brand green and orange both pass as text on the black hero/footer (5.2:1 and 6.7:1). */
:root {
  --night: #0b0b0b;
  --black: #000000;
  --green: #039833;
  --green-deep: #027a29;
  --green-dark: #01601f;
  --orange: #ff6600;
  --orange-hover: #ff8533;
  --sand: #d9c9a3;
  --chalk: #f5f5f2;
  --paper: #ffffff;
  --ink: #141414;
  --ink-soft: #4d4d4d;
  --line: rgba(0, 0, 0, 0.12);
  --on-dark: #f5f5f2;
  --on-dark-soft: #cfcfcf;
  --on-dark-muted: #a6a6a6;
  --focus: var(--green-deep);

  --wide: 125%;
  --semi: 112%;
  --measure: 38rem;
  --gutter: clamp(1rem, 4vw, 3rem);
  --max: 72rem;
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--chalk);
  color: var(--ink);
  font-family: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 1.0625rem;
  line-height: 1.55;
  font-stretch: 100%;
}

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

a { color: inherit; text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }

:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 2px; }
/* On the black hero and footer, orange is the visible focus ring. */
.hero, .site-footer { --focus: var(--orange); }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

.skip {
  position: absolute; left: -999px; top: 0.5rem; z-index: 10;
  background: var(--orange); color: var(--black); padding: 0.5rem 0.9rem; font-weight: 700;
}
.skip:focus { left: 0.5rem; }

/* ---------- Header ---------- */
/* White, because the logo's "ZONE" is black. The orange rule ties it to the hero. */
.site-header { background: var(--paper); color: var(--ink); border-bottom: 4px solid var(--orange); }
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding-top: 0.75rem; padding-bottom: 0.75rem;
}
.brand { display: inline-flex; align-items: center; flex: none; }
.brand img { height: 56px; width: auto; }
@media (max-width: 520px) { .brand img { height: 46px; } }
.site-nav { display: flex; align-items: center; gap: 1.5rem; font-size: 0.95rem; }
.site-nav a { text-decoration: none; }
.site-nav a:hover { text-decoration: underline; }
.site-nav .nav-link { color: var(--ink); font-weight: 600; }
@media (max-width: 760px) { .site-nav .nav-link { display: none; } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  min-height: 2.9rem; padding: 0.7rem 1.25rem;
  font: inherit; font-weight: 700; font-stretch: var(--semi); font-size: 1rem; line-height: 1.1;
  border-radius: 999px; border: 2px solid transparent; cursor: pointer; text-decoration: none;
}
.btn:hover { text-decoration: none; }
.site-nav .btn:hover { text-decoration: none; }
.btn-primary { background: var(--orange); color: var(--black); }
.btn-primary:hover { background: var(--orange-hover); }
.btn-ghost { border-color: rgba(245, 245, 242, 0.55); color: var(--on-dark); background: transparent; }
.btn-ghost:hover { border-color: var(--on-dark); }
.btn-dark { background: var(--black); color: var(--paper); }
.btn-dark:hover { background: var(--green-deep); }
.btn-outline { border-color: var(--green-deep); color: var(--green-deep); background: transparent; }
.btn-outline:hover { background: var(--green-deep); color: var(--paper); }
.btn-sm { min-height: 2.4rem; padding: 0.45rem 1rem; font-size: 0.95rem; }

/* ---------- Hero ---------- */
.hero { background: var(--night); color: var(--on-dark); overflow: hidden; }
.hero .wrap {
  display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.9fr);
  align-items: center; gap: clamp(1.5rem, 4vw, 4rem);
  padding-top: clamp(2.5rem, 6vw, 5rem); padding-bottom: clamp(2.5rem, 6vw, 5rem);
}
.eyebrow {
  margin: 0 0 0.9rem;
  color: var(--orange);
  font-weight: 800; font-stretch: var(--wide);
  font-size: 0.95rem; letter-spacing: 0.12em; text-transform: uppercase;
}
.hero h1 {
  margin: 0 0 1.25rem;
  font-weight: 800; font-stretch: var(--wide);
  font-size: clamp(2.1rem, 4.4vw, 3.7rem); line-height: 1.02; letter-spacing: -0.02em;
  text-wrap: balance;
}
.hero .lede { margin: 0 0 2rem; max-width: 34rem; font-size: 1.15rem; color: var(--on-dark-soft); }
.hero .actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }

.facts {
  display: grid; grid-template-columns: repeat(3, auto); justify-content: start;
  gap: 1rem clamp(1.5rem, 4vw, 3rem);
  margin: 2.75rem 0 0; padding: 1.25rem 0 0; border-top: 1px solid rgba(245, 245, 242, 0.2);
}
.facts div { min-width: 0; }
.facts dt { font-size: 0.85rem; color: var(--green); font-weight: 600; margin-bottom: 0.2rem; }
.facts dd { margin: 0; font-weight: 700; font-stretch: var(--semi); }

.hole { width: 100%; height: auto; max-height: 34rem; }
.hole .tracer {
  stroke-dasharray: 1000; stroke-dashoffset: 1000;
  animation: fly 2.2s cubic-bezier(0.3, 0.1, 0.25, 1) 0.4s forwards;
}
.hole .ball { opacity: 0; animation: land 0.35s ease-out 2.5s forwards; }
@keyframes fly { to { stroke-dashoffset: 0; } }
@keyframes land { to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
  .hole .tracer { animation: none; stroke-dashoffset: 0; }
  .hole .ball { animation: none; opacity: 1; }
}

@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero .art { order: -1; max-width: 26rem; margin: 0 auto -0.5rem; width: 100%; }
  .hole { max-height: 16rem; }
}
@media (max-width: 520px) {
  .facts { grid-template-columns: 1fr; gap: 0.75rem; }
  .hero .actions .btn { flex: 1 1 100%; }
}

/* ---------- Sections ---------- */
.section { padding: clamp(3rem, 7vw, 5.5rem) 0; }
.section h2 {
  margin: 0 0 1rem;
  font-weight: 800; font-stretch: var(--semi);
  font-size: clamp(1.75rem, 3.4vw, 2.5rem); line-height: 1.1; letter-spacing: -0.015em;
  text-wrap: balance;
}
.section .intro { margin: 0; max-width: var(--measure); color: var(--ink-soft); font-size: 1.1rem; }

/* What's here */
.offer { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.6fr); gap: clamp(2rem, 5vw, 4rem); }
.offer-list {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2.25rem 2.5rem; margin: 0; padding: 0; list-style: none;
}
.offer-list li { padding-top: 0.9rem; border-top: 3px solid var(--green); }
.offer-list h3 {
  margin: 0 0 0.35rem; font-size: 1.15rem; font-weight: 750; font-stretch: var(--semi); line-height: 1.25;
}
.offer-list p { margin: 0; color: var(--ink-soft); }
@media (max-width: 860px) { .offer { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .offer-list { grid-template-columns: 1fr; gap: 1.75rem; } }

/* Visit */
.visit { background: var(--paper); }
.visit .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.visit dl { margin: 1.75rem 0 2rem; display: grid; gap: 1.1rem; }
.visit dt { font-size: 0.9rem; color: var(--ink-soft); }
.visit dd { margin: 0.1rem 0 0; font-size: 1.15rem; font-weight: 650; }
.hours-title { margin: 0 0 0.5rem; font-size: 0.9rem; font-weight: 400; color: var(--ink-soft); }
.hours { border-collapse: collapse; width: 100%; max-width: 24rem; font-size: 1.05rem; }
.hours th, .hours td { padding: 0.55rem 0; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.hours tr:first-child th, .hours tr:first-child td { border-top: 1px solid var(--line); }
.hours th { font-weight: 500; padding-right: 1.5rem; }
.hours td { font-weight: 700; font-stretch: var(--semi); text-align: right; white-space: nowrap; }
.hours-note { margin: 0.75rem 0 2rem; max-width: 24rem; font-size: 0.95rem; color: var(--ink-soft); }
.visit .actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.map {
  width: 100%; aspect-ratio: 4 / 3; border: 0; border-radius: 14px;
  background: var(--chalk);
}
@media (max-width: 860px) { .visit .wrap { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--black); color: var(--on-dark-soft); font-size: 0.95rem; border-top: 4px solid var(--green); }
.site-footer .wrap {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1.5rem 3rem;
  padding-top: 2.5rem; padding-bottom: 2.5rem;
}
.site-footer address { font-style: normal; line-height: 1.6; }
.site-footer strong { color: var(--on-dark); font-stretch: var(--semi); }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; align-content: flex-start; }
.site-footer .contact-line { flex-basis: 100%; margin: 0; color: var(--on-dark); }
.site-footer .legal { flex-basis: 100%; margin: 0; font-size: 0.85rem; color: var(--on-dark-muted); }

/* ---------- Legal pages ---------- */
.doc { padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(3rem, 7vw, 5rem); }
.doc .wrap { max-width: 46rem; }
.doc h1 {
  margin: 0 0 0.5rem; font-weight: 800; font-stretch: var(--wide);
  font-size: clamp(2rem, 4.5vw, 3rem); line-height: 1.05; letter-spacing: -0.02em;
}
.doc .updated { margin: 0 0 2.5rem; color: var(--ink-soft); }
.doc h2 { margin: 2.5rem 0 0.6rem; font-size: 1.3rem; font-weight: 750; font-stretch: var(--semi); line-height: 1.25; }
.doc p, .doc li { max-width: var(--measure); }
.doc ul { padding-left: 1.25rem; }
.doc li + li { margin-top: 0.4rem; }
.doc a { color: var(--green-deep); }
.doc .callout {
  margin: 1.25rem 0; padding: 1rem 1.25rem; background: var(--paper);
  border-left: 4px solid var(--green); border-radius: 0 10px 10px 0;
}
.doc .callout p { margin: 0; }
