/* ============================================================
   GOATEE — Mobile golf simulator, Phoenix AZ
   Palette:
     Fairway Black  #0B0B0C   base dark
     Coal           #171511   raised dark surface
     Range Ivory    #F5F2E9   light base
     Trophy Gold    #F2C24B   the tee — one disciplined accent
     Brass          #B9871E   deep gold / gradient low end
     Stone          #857D6C   muted text
   Type: Archivo (display, 900 expanded caps) + Newsreader (editorial)
   ============================================================ */

:root {
  --black: #0B0B0C;
  --coal: #171511;
  --ivory: #F5F2E9;
  --ivory-hi: #FAF8F1;
  --gold: #F2C24B;
  --brass: #B9871E;
  --brass-deep: #6E5312;
  --stone: #857D6C;
  --stone-dark: #A79F8F;
  --line-dark: rgba(11, 11, 12, 0.14);
  --line-light: rgba(245, 242, 233, 0.16);
  --display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --serif: "Newsreader", Georgia, serif;
  --pad: clamp(1.25rem, 4vw, 4rem);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  font-family: var(--display);
  font-weight: 400;
  color: var(--black);
  background: var(--ivory);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

[hidden] { display: none !important; }

/* brand marks are on white-background PNGs — multiply melts the white
   into any light surface they sit on */
.scorecard-goat, .footer-goat, .book-confirm img { mix-blend-mode: multiply; }

a { color: inherit; }

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

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--black);
  color: var(--gold);
  padding: 0.75rem 1.25rem;
  z-index: 100;
  font-weight: 700;
}
.skip-link:focus { left: 0; }

/* ---------- shared bits ---------- */

h1, h2, h3 {
  font-family: var(--display);
  font-weight: 800;
  font-stretch: 115%;
  line-height: 1.02;
  letter-spacing: -0.015em;
  text-transform: uppercase;
}

h2 { font-size: clamp(1.9rem, 4.5vw, 3.4rem); }

.eyebrow {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--brass);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.1rem;
}
.eyebrow-dark { color: var(--gold); }

/* the tee glyph — tiny gold golf tee, drawn in CSS */
.tee-bullet, .tee-sep {
  display: inline-block;
  width: 8px;
  height: 15px;
  flex: none;
  background: var(--gold);
  clip-path: polygon(0 0, 100% 0, 78% 18%, 60% 100%, 40% 100%, 22% 18%);
}
.tee-sep { margin: 0 1.6rem; height: 17px; align-self: center; }

/* ============ STICKY NAV ============ */

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.65rem var(--pad);
  background: color-mix(in srgb, var(--ivory) 92%, transparent);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line-dark);
}

.topbar-brand {
  font-weight: 900;
  font-stretch: 120%;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
  text-decoration: none;
  display: inline-flex;
  align-items: baseline;
}
.tee-i {
  display: inline-block;
  width: 9px;
  height: 17px;
  margin: 0 1px;
  transform: translateY(2px);
  background: var(--gold);
  clip-path: polygon(0 0, 100% 0, 76% 20%, 58% 100%, 42% 100%, 24% 20%);
}

.topbar-nav {
  display: flex;
  align-items: center;
  gap: clamp(0.9rem, 2.5vw, 2rem);
}
.topbar-nav a {
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.35rem 0;
}
.topbar-nav a:hover { color: var(--brass); }

.topbar-nav .nav-book {
  background: var(--black);
  color: var(--gold);
  padding: 0.55rem 1.1rem;
  border-radius: 2px;
}
.topbar-nav .nav-book:hover { color: var(--ivory); }

/* ============ HERO — the Arizona sunset ============ */

.hero {
  /* ivory sky burning into gold, grounding into black — the signature */
  background:
    linear-gradient(
      180deg,
      var(--ivory-hi) 0%,
      #F6EED8 30%,
      #EFD48C 52%,
      #D9A93C 66%,
      #8A6410 78%,
      #2A1F0C 88%,
      var(--black) 100%
    );
  padding-top: clamp(1.5rem, 4vh, 3.5rem);
}

.hero-sky { padding: 0 var(--pad); }

.hero-kicker {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--brass-deep);
  margin-bottom: clamp(1rem, 3vh, 2rem);
}

/* the Chisel move: wordmark spans the full measure */
.hero-wordmark {
  width: 100%;
  height: auto;
  mix-blend-mode: multiply; /* white png background disappears into the sky */
}

.hero-underline {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem 3rem;
  padding: clamp(1.5rem, 4vh, 3rem) 0 clamp(2rem, 5vh, 3.5rem);
}

.hero-line {
  font-size: clamp(1.7rem, 3.6vw, 2.9rem);
  max-width: 14em;
}
.hero-line em {
  font-family: var(--serif);
  font-weight: 500;
  font-style: italic;
  text-transform: none;
  letter-spacing: 0;
}

.hero-sub {
  max-width: 34ch;
  font-size: 1.02rem;
  line-height: 1.55;
  color: #3D3117;
  font-weight: 500;
}

.hero-ground {
  padding: 0 var(--pad) clamp(2.5rem, 6vh, 4.5rem);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.75rem;
}

.hero-photo {
  width: min(100%, 640px);
  border: 1px solid rgba(242, 194, 75, 0.45);
  padding: clamp(0.5rem, 1.5vw, 0.9rem);
  background: rgba(11, 11, 12, 0.5);
}
.hero-photo img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}
.hero-photo figcaption {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding-top: 0.7rem;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--stone-dark);
}

.hero-cta {
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--black);
  background: var(--gold);
  padding: 1rem 2.2rem;
  border-radius: 2px;
  transition: background 0.2s ease, transform 0.2s ease;
}
.hero-cta:hover { background: var(--ivory); transform: translateY(-2px); }

/* ============ TICKER ============ */

.ticker {
  background: var(--black);
  color: var(--ivory);
  border-top: 1px solid var(--line-light);
  border-bottom: 1px solid var(--line-light);
  overflow: hidden;
  padding: 0.9rem 0;
}
.ticker-track {
  display: flex;
  align-items: center;
  width: max-content;
  white-space: nowrap;
  font-weight: 800;
  font-stretch: 115%;
  font-size: 0.95rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  animation: tick 36s linear infinite;
}
@keyframes tick {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .ticker-track { animation: none; }
}

/* ============ THE SETUP ============ */

.setup {
  background: var(--ivory);
  padding: clamp(3.5rem, 9vh, 7rem) var(--pad);
}

.setup-grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(2rem, 5vw, 5rem);
  max-width: 1200px;
  margin: 0 auto;
  align-items: start;
}

.setup-copy .lede {
  font-family: var(--serif);
  font-size: clamp(1.1rem, 1.8vw, 1.3rem);
  line-height: 1.55;
  color: #453F33;
  margin: 1.25rem 0 2rem;
  max-width: 46ch;
}

.spec-card {
  border-top: 2px solid var(--black);
  margin-bottom: 2.25rem;
}
.spec-row {
  display: grid;
  grid-template-columns: minmax(110px, 160px) 1fr;
  gap: 1rem;
  padding: 0.8rem 0;
  border-bottom: 1px solid var(--line-dark);
}
.spec-row dt {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brass);
  padding-top: 0.2rem;
}
.spec-row dd { font-size: 0.98rem; font-weight: 500; }

.steps {
  list-style: none;
  display: grid;
  gap: 1rem;
}
.steps li {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  font-size: 0.95rem;
  max-width: 52ch;
}
.steps strong { font-weight: 700; }
.step-num {
  flex: none;
  width: 2rem;
  height: 2rem;
  display: grid;
  place-items: center;
  border: 1.5px solid var(--black);
  border-radius: 50%;
  font-weight: 800;
  font-size: 0.85rem;
}

.setup-photo {
  position: sticky;
  top: 5rem;
}
.setup-photo img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border: 1px solid var(--black);
}
.setup-photo figcaption {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding-top: 0.7rem;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--stone);
}

/* ============ EVENTS ============ */

.events {
  background: var(--black);
  color: var(--ivory);
  padding: clamp(3.5rem, 9vh, 7rem) var(--pad);
}

.events-inner { max-width: 1200px; margin: 0 auto; }

.events-title { margin-bottom: clamp(2rem, 5vh, 3.5rem); }

.event-row {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 1rem 3rem;
  padding: 1.6rem 0;
  border-top: 1px solid var(--line-light);
}
.event-row:last-of-type { border-bottom: 1px solid var(--line-light); }

.event-head h3 { font-size: clamp(1.3rem, 2.6vw, 2rem); }
.event-tag {
  display: block;
  margin-top: 0.4rem;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1rem;
  color: var(--gold);
  text-transform: none;
  letter-spacing: 0;
}
.event-row p {
  color: var(--stone-dark);
  font-size: 1rem;
  max-width: 56ch;
  align-self: center;
}

.events-photo {
  margin-top: clamp(2.5rem, 6vh, 4rem);
}
.events-photo img {
  width: 100%;
  max-height: 70vh;
  object-fit: cover;
  object-position: center 40%;
  border: 1px solid rgba(242, 194, 75, 0.35);
}
.events-photo figcaption {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding-top: 0.7rem;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--stone-dark);
}

/* ============ THE REEL ============ */

.reel {
  background: var(--coal);
  color: var(--ivory);
  padding: clamp(3.5rem, 9vh, 6rem) 0;
  border-top: 1px solid var(--line-light);
}

.reel-head {
  padding: 0 var(--pad);
  max-width: 1200px;
  margin: 0 auto clamp(1.75rem, 4vh, 2.75rem);
}
.reel-note {
  margin-top: 0.9rem;
  color: var(--stone-dark);
  font-size: 0.95rem;
}
.reel-note a { color: var(--gold); }

.reel-strip {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  padding: 0 var(--pad) 1rem;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}
.reel-item {
  flex: none;
  width: min(72vw, 340px);
  scroll-snap-align: start;
}
.reel-item video,
.reel-item img {
  width: 100%;
  aspect-ratio: 9 / 14;
  object-fit: cover;
  border: 1px solid var(--line-light);
  background: var(--black);
}
.reel-item figcaption {
  padding-top: 0.6rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
}

/* ============ BOOKING ============ */

.book {
  /* dusk version of the hero gradient — gold horizon rising from black */
  background:
    linear-gradient(
      0deg,
      var(--black) 0%,
      #1D1608 55%,
      #4A370E 82%,
      #8A6410 96%,
      #B9871E 100%
    );
  color: var(--ivory);
  padding: clamp(3.5rem, 9vh, 7rem) var(--pad);
}

.book-inner { max-width: 1200px; margin: 0 auto; }

.book-head { max-width: 62ch; margin-bottom: clamp(2rem, 5vh, 3.5rem); }
.book-lede {
  margin-top: 1.1rem;
  font-family: var(--serif);
  font-size: clamp(1.05rem, 1.7vw, 1.25rem);
  line-height: 1.55;
  color: #E9E2CF;
}

.book-grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: start;
}

/* --- calendar --- */

.cal {
  background: var(--coal);
  border: 1px solid var(--line-light);
  padding: clamp(1rem, 2.5vw, 1.5rem);
  margin-bottom: 1.5rem;
}

.cal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.9rem;
}
.cal-title { font-size: 1.05rem; letter-spacing: 0.06em; }
.cal-nav {
  width: 2.5rem;
  height: 2.5rem;
  background: none;
  border: 1px solid var(--line-light);
  color: var(--ivory);
  font-size: 1rem;
  cursor: pointer;
  border-radius: 2px;
}
.cal-nav:hover:not(:disabled) { border-color: var(--gold); color: var(--gold); }
.cal-nav:disabled { opacity: 0.3; cursor: default; }

.cal-dow, .cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
}
.cal-dow span {
  text-align: center;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--stone-dark);
  padding-bottom: 0.4rem;
}

.cal-day {
  aspect-ratio: 1;
  min-height: 44px;
  display: grid;
  place-items: center;
  background: none;
  border: 1px solid transparent;
  color: var(--ivory);
  font-family: var(--display);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  border-radius: 2px;
}
.cal-day:hover:not(:disabled):not(.is-selected) { border-color: var(--gold); }
.cal-day:disabled {
  color: rgba(245, 242, 233, 0.22);
  cursor: default;
}
.cal-day.is-booked { text-decoration: line-through; }
.cal-day.is-selected {
  background: var(--gold);
  color: var(--black);
  font-weight: 800;
}
.cal-day.is-empty { visibility: hidden; }

.cal-hint {
  margin-top: 0.8rem;
  font-size: 0.8rem;
  color: var(--stone-dark);
}
.cal-hint.is-error { color: var(--gold); font-weight: 600; }

/* --- fields --- */

.fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.1rem 1.25rem;
}
.field { display: flex; flex-direction: column; gap: 0.4rem; }
.field-wide { grid-column: 1 / -1; }

.field label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--stone-dark);
}

.field input[type="text"],
.field input[type="email"],
.field input[type="number"],
.field select,
.field textarea {
  font-family: var(--display);
  font-size: 1rem;
  color: var(--ivory);
  background: var(--coal);
  border: 1px solid var(--line-light);
  border-radius: 2px;
  padding: 0.8rem 0.9rem;
  width: 100%;
}
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--gold) 50%), linear-gradient(135deg, var(--gold) 50%, transparent 50%); background-position: calc(100% - 18px) 55%, calc(100% - 13px) 55%; background-size: 5px 5px; background-repeat: no-repeat; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--gold);
}
.field textarea { resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: rgba(245,242,233,0.35); }

.field-note { font-size: 0.8rem; color: var(--stone-dark); line-height: 1.45; }

.field-check {
  flex-direction: row;
  align-items: center;
  gap: 0.7rem;
  background: var(--coal);
  border: 1px solid var(--line-light);
  border-radius: 2px;
  padding: 0.85rem 0.9rem;
}
.field-check input {
  width: 1.2rem;
  height: 1.2rem;
  accent-color: var(--gold);
  flex: none;
}
.field-check label {
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  color: var(--ivory);
  cursor: pointer;
}
.check-price { color: var(--gold); font-weight: 700; margin-left: 0.35rem; }

/* --- scorecard --- */

.scorecard {
  position: sticky;
  top: 4.5rem;
  background: var(--ivory);
  color: var(--black);
  padding: clamp(1.25rem, 3vw, 1.9rem);
  border: 1px solid var(--black);
  box-shadow: 6px 6px 0 rgba(242, 194, 75, 0.9);
}

.scorecard-top {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.25rem 0.9rem;
  align-items: center;
  border-bottom: 2px solid var(--black);
  padding-bottom: 1rem;
  margin-bottom: 0.4rem;
}
.scorecard-goat { grid-row: 1 / 3; width: 34px; }
.scorecard-top h3 { font-size: 1.2rem; }
.scorecard-date {
  font-family: var(--serif);
  font-style: italic;
  font-size: 0.95rem;
  color: var(--stone);
}

.scorecard-lines { list-style: none; }
.scorecard-lines li {
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--line-dark);
}
.line-label { font-weight: 600; font-size: 0.95rem; }
.line-label small {
  display: block;
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--stone);
  letter-spacing: 0.02em;
}
.line-dots {
  flex: 1;
  border-bottom: 2px dotted rgba(11, 11, 12, 0.3);
  transform: translateY(-4px);
}
.line-amt { font-weight: 800; font-size: 1rem; white-space: nowrap; }
.line-incl, .line-quoted {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brass);
}

.scorecard-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 0 0.4rem;
}
.scorecard-total span {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.scorecard-total strong {
  font-size: clamp(2rem, 4vw, 2.6rem);
  font-weight: 900;
  font-stretch: 115%;
  line-height: 1;
}

.scorecard-fine {
  font-size: 0.8rem;
  color: var(--stone);
  line-height: 1.5;
  margin-bottom: 1.1rem;
}

.scorecard-send {
  width: 100%;
  font-family: var(--display);
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  background: var(--black);
  border: none;
  border-radius: 2px;
  padding: 1.1rem;
  cursor: pointer;
  transition: background 0.2s ease;
}
.scorecard-send:hover { background: #26221A; }

.scorecard-alt {
  text-align: center;
  font-size: 0.82rem;
  color: var(--stone);
  margin-top: 0.8rem;
}
.scorecard-alt a { color: var(--black); font-weight: 600; }

/* --- confirmation --- */

.book-confirm {
  max-width: 480px;
  margin: 2rem auto 0;
  text-align: center;
  background: var(--ivory);
  color: var(--black);
  border: 1px solid var(--black);
  box-shadow: 6px 6px 0 rgba(242, 194, 75, 0.9);
  padding: 2.5rem 2rem;
}
.book-confirm img { margin: 0 auto 1rem; }
.book-confirm h3 { margin-bottom: 0.75rem; }
.book-confirm p { font-size: 0.95rem; color: #453F33; }
.confirm-back {
  margin-top: 1.5rem;
  font-family: var(--display);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: none;
  border: 1.5px solid var(--black);
  border-radius: 2px;
  padding: 0.75rem 1.5rem;
  cursor: pointer;
}
.confirm-back:hover { background: var(--gold); }

/* ============ FOOTER ============ */

.footer {
  background: var(--ivory);
  padding: clamp(3rem, 7vh, 5rem) var(--pad) 1.5rem;
  border-top: 1px solid var(--line-dark);
}

.footer-grid {
  max-width: 1200px;
  margin: 0 auto clamp(2.5rem, 6vh, 4rem);
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2rem;
}
.footer-col { display: flex; flex-direction: column; gap: 0.5rem; align-items: flex-start; }
.footer-col p { font-size: 0.95rem; color: #453F33; }
.footer-goat { margin-bottom: 0.75rem; }
.footer-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--brass) !important;
}
.footer-col a {
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.15rem 0;
}
.footer-col a:hover { color: var(--brass); }

.footer-wordmark {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  mix-blend-mode: multiply;
  opacity: 0.94;
}

.footer-fine {
  max-width: 1200px;
  margin: 1.25rem auto 0;
  font-size: 0.78rem;
  color: var(--stone);
}

/* ============ RESPONSIVE ============ */

@media (max-width: 900px) {
  .setup-grid { grid-template-columns: 1fr; }
  .setup-photo { position: static; max-width: 480px; }
  .event-row { grid-template-columns: 1fr; gap: 0.6rem; }
  .book-grid { grid-template-columns: 1fr; }
  .scorecard { position: static; }
}

@media (max-width: 620px) {
  .topbar { flex-direction: column; gap: 0.5rem; padding-bottom: 0.6rem; }
  .topbar-nav { width: 100%; justify-content: space-between; gap: 0.5rem; }
  .topbar-nav a { font-size: 0.74rem; }
  .topbar-nav .nav-book { padding: 0.45rem 0.8rem; }
  .hero-underline { flex-direction: column; align-items: flex-start; }
  .fields { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .spec-row { grid-template-columns: 1fr; gap: 0.15rem; }
}
