/* ==========================================================================
   B4U.GOLF — Clean & Modern Stylesheet
   Palette: deep forest green, sage, fairway accent, cream, charcoal
   ========================================================================== */

:root {
  /* Course palette — illustrated aerial view */
  --green-900: #0a2f1d;     /* deep rough */
  --green-700: #1a4d2e;     /* trees / dark fairway shadow */
  --green-500: #3d8b50;     /* fairway */
  --green-300: #6cbb74;     /* fairway highlight */
  --green-200: #a8d99c;     /* tee box / light fairway */
  --green-50:  #eaf3ec;     /* surface */
  --rough:     #2d6b3a;     /* rough between fairway and trees */
  --sand:      #e6d4a3;     /* bunkers */
  --sand-edge: #c9b07c;
  --water:     #5fa8c9;
  --water-deep:#3a7e9a;
  --flag:      #d63d3d;     /* red flag — accent */
  --sun:       #f5b941;     /* warm hero accent */
  --sunset:    #ee7752;     /* sunrise/sunset gradient */

  --cream:     #f8f6f0;
  --white:     #ffffff;
  --charcoal:  #1a1a1a;
  --gray-700:  #374151;
  --gray-500:  #6b7280;
  --gray-300:  #d1d5db;
  --gray-100:  #f3f4f6;
  --sky:       #87ceeb;
  --warn:      #d97706;
  --danger:    #b91c1c;

  --radius:    14px;
  --radius-sm: 8px;
  --shadow:    0 6px 20px rgba(15, 53, 34, 0.08);
  --shadow-lg: 0 14px 40px rgba(15, 53, 34, 0.14);

  --font-sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter",
               "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-display: "SF Pro Display", "Inter", -apple-system, BlinkMacSystemFont,
                  "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  font-family: var(--font-sans);
  color: var(--charcoal);
  background: var(--cream);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--green-700); text-decoration: none; }
a:hover { color: var(--green-500); text-decoration: underline; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--green-900);
  letter-spacing: -0.01em;
  margin: 0 0 0.5em;
  line-height: 1.2;
}
h1 { font-size: clamp(2rem, 4.5vw, 3.25rem); font-weight: 800; }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 700; }
h3 { font-size: 1.25rem; font-weight: 700; }
p  { margin: 0 0 1em; }

/* ---------- Layout helpers ---------- */
.container { max-width: 1140px; margin: 0 auto; padding: 0 1.25rem; }
.section   { padding: 4rem 0; }
.section-tight { padding: 2.5rem 0; }
.grid { display: grid; gap: 1.25rem; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }

/* ---------- Top nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(248, 246, 240, 0.92);
  backdrop-filter: saturate(140%) blur(8px);
  -webkit-backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid rgba(15, 53, 34, 0.08);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.85rem 0;
}
.brand {
  display: inline-flex; align-items: baseline;
  font-family: var(--font-display);
  font-weight: 900; font-size: 1.5rem; letter-spacing: -0.04em;
  color: var(--green-900);
  text-decoration: none;
  line-height: 1;
}
.brand:hover { color: var(--green-700); text-decoration: none; }
.brand .four {
  display: inline-block;
  font-size: 1.15em;
  color: var(--sun);
  font-weight: 900;
  margin: 0 -0.02em;
}
.brand .dot {
  color: var(--green-300);
  font-weight: 900;
}
/* Footer brand reuses the same look on dark backgrounds */
.site-footer .brand { color: white; }
.site-footer .brand .dot { color: var(--green-300); }
/* Legacy class kept for backward compat — render nothing */
.brand-mark { display: none; }
.nav-links {
  display: flex; align-items: center; gap: 1.5rem;
  list-style: none; margin: 0; padding: 0;
}
.nav-links a {
  color: var(--gray-700); font-weight: 500; font-size: 0.95rem;
  text-decoration: none; padding: 0.4rem 0.1rem; position: relative;
}
.nav-links a:hover { color: var(--green-700); }
.nav-links a.active { color: var(--green-700); }
.nav-links a.active::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -4px;
  height: 2px; background: var(--green-300); border-radius: 2px;
}
.nav-toggle {
  display: none; border: 0; background: transparent; padding: 0.5rem;
  cursor: pointer; color: var(--green-900);
}
.nav-toggle svg { width: 26px; height: 26px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.85rem 1.4rem; border-radius: 999px;
  background: var(--green-700); color: white;
  font-weight: 600; font-size: 0.95rem;
  border: 0; cursor: pointer; text-decoration: none;
  transition: transform 0.1s ease, background 0.2s ease, box-shadow 0.2s ease;
  box-shadow: var(--shadow);
}
.btn:hover { background: var(--green-900); color: white; text-decoration: none; transform: translateY(-1px); }
.btn-secondary { background: white; color: var(--green-700); border: 1px solid var(--gray-300); box-shadow: none; }
.btn-secondary:hover { background: var(--green-50); color: var(--green-900); }
.btn-ghost { background: transparent; color: var(--green-700); box-shadow: none; padding: 0.6rem 0.8rem; }
.btn-ghost:hover { background: var(--green-50); color: var(--green-900); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background:
    radial-gradient(1200px 500px at 80% -10%, rgba(127, 176, 105, 0.35), transparent 60%),
    radial-gradient(900px 600px at 0% 110%, rgba(15, 53, 34, 0.18), transparent 60%),
    linear-gradient(180deg, #f3efe4 0%, var(--cream) 100%);
  overflow: hidden;
}
.hero-inner {
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 3rem;
  align-items: center; padding: 4.5rem 0 4rem;
}
.hero h1 .accent {
  background: linear-gradient(90deg, var(--green-700), var(--green-300));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero p.lead {
  font-size: 1.15rem; color: var(--gray-700); max-width: 32rem;
  margin-bottom: 1.5rem;
}
.hero-cta { display: flex; gap: 0.75rem; flex-wrap: wrap; }
.hero-art {
  background: white; border-radius: var(--radius);
  padding: 1.5rem; box-shadow: var(--shadow-lg);
  border: 1px solid rgba(15, 53, 34, 0.06);
}

/* ---------- Cards ---------- */
.card {
  background: white; border-radius: var(--radius);
  padding: 1.5rem; box-shadow: var(--shadow);
  border: 1px solid rgba(15, 53, 34, 0.05);
  transition: transform 0.15s ease, box-shadow 0.2s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.card .icon {
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--green-50); color: var(--green-700);
  display: grid; place-items: center; margin-bottom: 0.9rem;
  font-size: 1.4rem;
}
.card h3 { margin-bottom: 0.4rem; }
.card p { color: var(--gray-700); margin-bottom: 0.5rem; }
.card a.card-link {
  font-weight: 600; color: var(--green-700);
  display: inline-flex; align-items: center; gap: 0.3rem;
}

/* ---------- Page header (non-home) ---------- */
.page-header {
  background:
    radial-gradient(800px 300px at 90% 20%, rgba(127, 176, 105, 0.28), transparent 60%),
    linear-gradient(180deg, #f3efe4, var(--cream));
  padding: 3rem 0 2rem;
  border-bottom: 1px solid rgba(15, 53, 34, 0.06);
}
.page-header .eyebrow {
  display: inline-block; font-size: 0.8rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--green-500); background: var(--green-50);
  padding: 0.3rem 0.7rem; border-radius: 999px; margin-bottom: 0.75rem;
}
.page-header p.lead { color: var(--gray-700); font-size: 1.1rem; max-width: 48rem; }

/* ---------- Weather widget ---------- */
.wx-card { padding: 1.25rem; }
.wx-row {
  display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 0.75rem;
  margin-bottom: 0.75rem;
}
.wx-stat {
  background: var(--green-50); border-radius: var(--radius-sm);
  padding: 0.75rem; text-align: center;
}
.wx-stat .label { font-size: 0.75rem; color: var(--gray-500); text-transform: uppercase; letter-spacing: 0.05em; }
.wx-stat .value { font-size: 1.4rem; font-weight: 700; color: var(--green-900); }
.wx-stat .unit { font-size: 0.85rem; color: var(--gray-500); margin-left: 2px; }

.forecast-day {
  display: grid; grid-template-columns: 1fr auto 2fr auto; gap: 1rem;
  align-items: center; padding: 0.85rem 0;
  border-bottom: 1px solid var(--gray-100);
}
.forecast-day:last-child { border-bottom: 0; }
.forecast-day .day-name { font-weight: 600; color: var(--green-900); }
.forecast-day .day-icon { font-size: 1.5rem; }
.forecast-day .temps { font-weight: 600; }
.forecast-day .lo { color: var(--gray-500); }

/* ---------- Lists ---------- */
.checklist {
  list-style: none; padding: 0; margin: 0 0 1.25rem;
}
.checklist li {
  display: flex; align-items: flex-start; gap: 0.6rem;
  padding: 0.4rem 0;
}
.checklist li::before {
  content: ""; flex-shrink: 0; width: 20px; height: 20px;
  border-radius: 6px; border: 2px solid var(--green-300);
  background: white; margin-top: 3px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'><path d='M5 10.5l3 3 7-7' stroke='%231a4d2e' stroke-width='2.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  background-size: 70%; background-position: center; background-repeat: no-repeat;
}

.timeline {
  position: relative; padding-left: 2rem; margin: 0;
  list-style: none;
}
.timeline::before {
  content: ""; position: absolute; left: 0.55rem; top: 0.4rem; bottom: 0.4rem;
  width: 2px; background: linear-gradient(180deg, var(--green-300), var(--green-700));
}
.timeline > li {
  position: relative; padding: 0 0 1.5rem 0.5rem;
}
.timeline > li::before {
  content: ""; position: absolute; left: -1.5rem; top: 0.3rem;
  width: 14px; height: 14px; border-radius: 50%;
  background: white; border: 3px solid var(--green-700);
}
.timeline h3 { color: var(--green-900); margin-bottom: 0.3rem; }

/* ---------- Tables ---------- */
.table-wrap { overflow-x: auto; }
table.gtable {
  width: 100%; border-collapse: collapse;
  background: white; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow);
}
table.gtable th, table.gtable td {
  padding: 0.85rem 1rem; text-align: left;
  border-bottom: 1px solid var(--gray-100);
}
table.gtable th {
  background: var(--green-700); color: white;
  font-weight: 600; font-size: 0.9rem;
  text-transform: uppercase; letter-spacing: 0.05em;
}
table.gtable tr:last-child td { border-bottom: 0; }
table.gtable tr:hover td { background: var(--green-50); }

/* ---------- Callouts ---------- */
.callout {
  border-left: 4px solid var(--green-500);
  background: var(--green-50);
  padding: 1rem 1.2rem; border-radius: var(--radius-sm);
  margin: 1.25rem 0;
}
.callout.warn { border-color: var(--warn); background: #fff7ed; }
.callout.info { border-color: var(--sky); background: #eff8fd; }
.callout strong { color: var(--green-900); }

/* ---------- Course list ---------- */
.course-list { display: grid; gap: 1rem; }
.course-item {
  background: white; border-radius: var(--radius);
  padding: 1.1rem 1.25rem; box-shadow: var(--shadow);
  display: grid; grid-template-columns: 1fr auto; gap: 0.5rem 1rem;
  align-items: center;
}
.course-item h3 { margin: 0 0 0.2rem; }
.course-item .meta { color: var(--gray-500); font-size: 0.9rem; }
.course-actions { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.course-actions a {
  padding: 0.45rem 0.85rem; font-size: 0.85rem;
  border-radius: 999px; background: var(--green-50);
  color: var(--green-700); text-decoration: none; font-weight: 600;
}
.course-actions a:hover { background: var(--green-300); color: white; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--green-900); color: rgba(255,255,255,0.85);
  padding: 3rem 0 2rem; margin-top: 3rem;
}
.site-footer a { color: var(--green-300); }
.site-footer a:hover { color: white; }
.footer-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2rem;
  margin-bottom: 2rem;
}
.footer-grid h4 { color: white; font-size: 1rem; margin-bottom: 0.75rem; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin: 0.35rem 0; }
.footer-bottom {
  padding-top: 1.25rem; border-top: 1px solid rgba(255,255,255,0.12);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 0.5rem;
  font-size: 0.85rem; color: rgba(255,255,255,0.6);
}

/* ---------- Forms ---------- */
.field {
  display: flex; gap: 0.5rem; flex-wrap: wrap; margin: 1rem 0;
}
.field input, .field select {
  flex: 1 1 220px;
  padding: 0.85rem 1rem; border-radius: 999px;
  border: 1px solid var(--gray-300); font-size: 1rem;
  font-family: inherit; background: white;
}
.field input:focus, .field select:focus {
  outline: none; border-color: var(--green-500);
  box-shadow: 0 0 0 3px rgba(127, 176, 105, 0.25);
}

/* ---------- Utility ---------- */
.center { text-align: center; }
.muted  { color: var(--gray-500); }
.lead   { font-size: 1.1rem; color: var(--gray-700); }
.tag {
  display: inline-block; font-size: 0.78rem; font-weight: 700;
  padding: 0.25rem 0.6rem; border-radius: 999px;
  background: var(--green-50); color: var(--green-700);
  text-transform: uppercase; letter-spacing: 0.05em;
}
.tag.alt { background: #fff3d6; color: #92400e; }
.divider { height: 1px; background: var(--gray-100); margin: 2rem 0; }

/* ---------- Mobile ---------- */
@media (max-width: 820px) {
  .hero-inner { grid-template-columns: 1fr; padding: 3rem 0; }
  .hero-art { order: -1; }
  .nav-links {
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--cream); padding: 1rem 1.25rem;
    flex-direction: column; align-items: flex-start; gap: 0.75rem;
    border-bottom: 1px solid rgba(15, 53, 34, 0.08);
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-toggle { display: inline-flex; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .course-item { grid-template-columns: 1fr; }
  .forecast-day { grid-template-columns: 1fr 1fr; gap: 0.5rem; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .wx-row { grid-template-columns: 1fr 1fr; }
  .section { padding: 2.5rem 0; }
}

/* =========================================================================
   COURSE FLYOVER — index.html "play the hole" scroll experience
   The entire page sits over a stylized aerial-view golf hole SVG.
   Sections align with parts of the hole: tee → fairway → approach → green → pin.
   ========================================================================= */

.flyover {
  position: relative;
  background: linear-gradient(180deg, #d9e8d4 0%, #c5dcc0 8%, var(--green-200) 18%, var(--green-300) 30%, var(--green-500) 70%, var(--rough) 92%, var(--green-700) 100%);
  overflow: hidden;
  isolation: isolate;
}

/* Background SVG: fixed-position aerial view, vertical strip down the page */
.flyover-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}
.flyover-bg svg {
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: min(100%, 1280px);
  height: 100%;
  display: block;
}

/* Subtle grass texture using SVG noise */
.flyover-bg::after {
  content: "";
  position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(255,255,255,0.05), transparent 60%),
    radial-gradient(circle at 80% 70%, rgba(0,0,0,0.06), transparent 60%);
  pointer-events: none;
}

/* The animated ball that travels down the hole as you scroll */
.flyover-ball {
  position: absolute;
  left: 50%;
  top: 0;
  width: 18px; height: 18px;
  background: white;
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(0,0,0,0.35), inset -2px -2px 4px rgba(0,0,0,0.15);
  transform: translate(-50%, 0);
  z-index: 5;
  transition: transform 0.05s linear;
}
.flyover-ball::after {
  content: "";
  position: absolute;
  inset: -8px -8px auto -8px;
  height: 0;
  border-bottom: 60px solid rgba(255,255,255,0.5);
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  filter: blur(4px);
  z-index: -1;
  transform: translateY(-60px);
  opacity: 0.6;
}

/* Each "shot" of the hole is a section */
.shot {
  position: relative;
  z-index: 2;
  padding: 5rem 0;
}
.shot-inner {
  max-width: 980px;
  margin: 0 auto;
  padding: 0 1.5rem;
}
.shot-eyebrow {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: white;
  background: rgba(10, 47, 29, 0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  padding: 0.5rem 0.95rem;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.18);
}
.shot-eyebrow .pin {
  width: 22px; height: 22px;
  background: var(--cream);
  color: var(--green-900);
  border-radius: 50%;
  display: grid; place-items: center;
  font-weight: 800; font-size: 0.7rem;
}

.shot h2.display {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 6vw, 5rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 0.95;
  color: white;
  margin: 0.5rem 0 1.25rem;
  text-shadow: 0 2px 24px rgba(0,0,0,0.3);
}
.shot h2.display .accent {
  background: linear-gradient(90deg, var(--sun), var(--sunset));
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}
.shot p.deck {
  color: rgba(255,255,255,0.92);
  font-size: 1.2rem;
  max-width: 36rem;
  text-shadow: 0 1px 8px rgba(0,0,0,0.25);
}
.shot.dark { color: white; }
.shot.dark .btn-secondary { background: rgba(255,255,255,0.92); color: var(--green-900); border: 0; }
.shot.dark .btn-secondary:hover { background: white; }

/* TEE BOX — hero with Readiness Score */
.tee-box { padding-top: 6rem; padding-bottom: 8rem; }
.tee-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: center;
}
@media (max-width: 820px) {
  .tee-grid { grid-template-columns: 1fr; gap: 2rem; }
}

/* THE SCORE — circular progress ring */
.score-card {
  background: rgba(10, 47, 29, 0.6);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 28px;
  padding: 2rem;
  color: white;
  box-shadow: 0 24px 60px rgba(0,0,0,0.35);
  position: relative;
  overflow: hidden;
}
.score-card::before {
  content: "";
  position: absolute;
  top: -50%; left: -50%;
  width: 200%; height: 200%;
  background: radial-gradient(circle at 30% 30%, rgba(245, 185, 65, 0.18), transparent 50%);
  pointer-events: none;
}
.score-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1.25rem;
  position: relative;
}
.score-head .label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: rgba(255,255,255,0.7);
  font-weight: 700;
}
.score-head .h {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 800;
  margin-top: 0.2rem;
}
.score-head .live {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.8);
}
.score-head .live::before {
  content: "";
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--green-300);
  box-shadow: 0 0 10px var(--green-300);
  animation: pulse 1.6s infinite;
}
@keyframes pulse { 0%,100% { opacity:1 } 50% { opacity: 0.4 } }

.score-ring-wrap {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.5rem;
  align-items: center;
  position: relative;
}
@media (max-width: 540px) {
  .score-ring-wrap { grid-template-columns: 1fr; justify-items: center; text-align: center; }
}

.score-ring {
  width: 180px;
  height: 180px;
  position: relative;
  flex-shrink: 0;
}
.score-ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.score-ring .track { fill: none; stroke: rgba(255,255,255,0.12); stroke-width: 14; }
.score-ring .fill {
  fill: none;
  stroke-width: 14;
  stroke-linecap: round;
  stroke-dasharray: 0 1000;
  transition: stroke-dasharray 1.4s cubic-bezier(.16,1,.3,1), stroke 0.4s;
  filter: drop-shadow(0 0 10px currentColor);
}
.score-ring .num {
  position: absolute;
  inset: 0;
  display: grid; place-items: center;
  font-family: var(--font-display);
  text-align: center;
  line-height: 1;
}
.score-ring .num strong {
  font-size: 4rem;
  font-weight: 900;
  letter-spacing: -0.04em;
  color: white;
}
.score-ring .num small {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  margin-top: 0.25rem;
}

.score-detail {
  display: grid;
  gap: 0.6rem;
}
.score-row {
  display: grid;
  grid-template-columns: 64px 1fr auto;
  gap: 0.75rem;
  align-items: center;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.85);
}
.score-row .row-label {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.7rem;
  color: rgba(255,255,255,0.65);
  font-weight: 700;
}
.score-row .bar {
  flex: 1;
  height: 6px;
  background: rgba(255,255,255,0.12);
  border-radius: 999px;
  overflow: hidden;
}
.score-row .bar > span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--sun), var(--green-300));
  border-radius: 999px;
  transform-origin: left;
  transform: scaleX(0);
  transition: transform 1s 0.3s cubic-bezier(.16,1,.3,1);
}
.score-row .pts { font-weight: 700; color: white; min-width: 36px; text-align: right; }

.score-summary {
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255,255,255,0.12);
  display: flex;
  align-items: center;
  gap: 0.85rem;
  font-size: 0.95rem;
  color: rgba(255,255,255,0.85);
}
.score-summary .verdict-emoji { font-size: 1.6rem; }

/* FAIRWAY shot — weather */
.fairway { padding: 6rem 0 5rem; }
.fairway .shot-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
@media (max-width: 820px) { .fairway .shot-inner { grid-template-columns: 1fr; } }

.weather-tiles {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}
.weather-tile {
  background: rgba(255,255,255,0.92);
  border-radius: 16px;
  padding: 1rem;
  text-align: left;
  box-shadow: 0 8px 30px rgba(0,0,0,0.18);
}
.weather-tile .t-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gray-500);
  font-weight: 700;
}
.weather-tile .t-value {
  font-family: var(--font-display);
  font-size: 1.9rem;
  font-weight: 800;
  color: var(--green-900);
  line-height: 1;
  margin-top: 0.25rem;
}
.weather-tile .t-unit { font-size: 0.85rem; color: var(--gray-500); margin-left: 4px; font-weight: 600; }
.weather-tile .t-note { font-size: 0.78rem; color: var(--green-700); margin-top: 0.4rem; font-weight: 600; }

/* APPROACH shot — course finder */
.approach { padding: 5rem 0 6rem; }
.approach-card {
  background: rgba(10, 47, 29, 0.65);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 24px;
  padding: 2rem;
  color: white;
  box-shadow: 0 18px 50px rgba(0,0,0,0.3);
}

/* GREEN shot — checklist */
.green-shot { padding: 5rem 0 5rem; }
.green-shot .shot-inner { background: rgba(255, 255, 255, 0.95); border-radius: 30px; padding: 3rem 2.5rem; box-shadow: 0 28px 70px rgba(0,0,0,0.25); }
.green-shot h2.display { color: var(--green-900); text-shadow: none; }
.green-shot p.deck { color: var(--gray-700); text-shadow: none; }
.green-shot .shot-eyebrow { background: var(--green-700); color: white; }

/* PIN — final/CTA */
.pin-shot { padding: 6rem 0 5rem; }
.pin-card {
  background: linear-gradient(135deg, var(--green-900), var(--green-700));
  border-radius: 30px;
  padding: 3.5rem 2.5rem;
  color: white;
  text-align: center;
  box-shadow: 0 30px 80px rgba(0,0,0,0.4);
  position: relative;
  overflow: hidden;
}
.pin-card::before {
  content: "";
  position: absolute;
  top: -50%; right: -30%;
  width: 80%; height: 200%;
  background: radial-gradient(circle, rgba(245, 185, 65, 0.22), transparent 60%);
  pointer-events: none;
}
.pin-card .price-big {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 9vw, 6.5rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1;
  background: linear-gradient(90deg, var(--sun), var(--sunset));
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}
.pin-card .price-sub {
  font-size: 1rem;
  color: rgba(255,255,255,0.75);
  margin-top: 0.4rem;
}
.pin-card .features-row {
  display: flex; flex-wrap: wrap; gap: 0.75rem; justify-content: center;
  margin: 2rem 0;
}
.pin-card .features-row span {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 999px;
  padding: 0.5rem 1rem;
  font-size: 0.85rem;
  font-weight: 600;
}

/* The big section dividers between shots — tee marker / sand / etc. */
.divider-tee, .divider-bunker, .divider-water { height: 60px; position: relative; }

/* ============================================================
   "BEST TIME TO PLAY TODAY" — compact, sits next to courses
   ============================================================ */
.best-time-section { padding: 4rem 0 2.5rem; }
.bt-courses-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}
@media (max-width: 880px) {
  .bt-courses-grid { grid-template-columns: 1fr; }
}
.best-time-card {
  background: rgba(255, 255, 255, 0.96);
  border-radius: 18px;
  padding: 1.25rem 1.4rem;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.14);
  border: 1px solid rgba(15, 53, 34, 0.08);
}
.bt-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.85rem;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid var(--gray-100);
}
.bt-eyebrow {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green-500);
}
.bt-place {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--green-900);
  margin-top: 0.1rem;
  line-height: 1.1;
}
.bt-sunset {
  font-size: 0.75rem;
  color: var(--gray-500);
  font-weight: 600;
}
.bt-headline {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--green-900);
  margin-bottom: 0.3rem;
}
.bt-sub {
  font-size: 0.85rem;
  color: var(--gray-700);
  line-height: 1.45;
}
.bt-cards {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}
.bt-card {
  background: var(--cream);
  border-radius: 12px;
  padding: 0.7rem 0.9rem;
  border-left: 4px solid var(--green-300);
}
.bt-card-top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.5rem;
  margin-bottom: 0.15rem;
}
.bt-window {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--green-700);
}
.bt-time {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--green-900);
  letter-spacing: -0.01em;
  line-height: 1.1;
  margin-top: 0;
}
.bt-score {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 900;
  line-height: 1;
}
.bt-meta {
  font-size: 0.75rem;
  color: var(--gray-700);
  margin-top: 0;
  line-height: 1.4;
}
.bt-issues { color: var(--warn); font-weight: 600; }
.bt-clean { color: var(--green-700); font-weight: 600; }

/* Courses card styled to match Best Time card */
.home-courses-inline {
  background: rgba(255, 255, 255, 0.96);
  border-radius: 18px;
  padding: 1.25rem 1.4rem;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.14);
  border: 1px solid rgba(15, 53, 34, 0.08);
}
.home-courses-inline .ci-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 0.5rem;
  margin-bottom: 0.85rem;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid var(--gray-100);
}
.home-courses-inline .ci-eyebrow {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green-500);
}
.home-courses-inline .ci-place {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--green-900);
  margin-top: 0.1rem;
  line-height: 1.1;
}
.home-courses-inline .ci-link {
  font-size: 0.8rem;
  color: var(--green-700);
  font-weight: 700;
  text-decoration: none;
}
.home-courses-inline .ci-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--gray-100);
  gap: 0.5rem;
}
.home-courses-inline .ci-row:last-child { border-bottom: 0; }
.home-courses-inline .ci-row .ci-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--green-900);
  line-height: 1.2;
}
.home-courses-inline .ci-row .ci-dist {
  font-size: 0.72rem;
  color: var(--gray-500);
  margin-top: 1px;
}
.home-courses-inline .ci-row .ci-actions {
  display: flex;
  gap: 0.3rem;
  flex-shrink: 0;
}
.home-courses-inline .ci-row .ci-actions a {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.3rem 0.6rem;
  border-radius: 999px;
  text-decoration: none;
  white-space: nowrap;
}
.home-courses-inline .ci-row .ci-tee {
  background: var(--green-700);
  color: white;
}
.home-courses-inline .ci-row .ci-map {
  background: var(--green-50);
  color: var(--green-700);
}

/* Vertical hole-yardage tick marks running down the right side */
.yardage-track {
  position: fixed;
  right: 1.5rem; top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  pointer-events: none;
}
@media (max-width: 1100px) { .yardage-track { display: none; } }
.yardage-tick {
  width: 24px; height: 24px;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.5);
  pointer-events: auto;
  cursor: pointer;
  position: relative;
  transition: all 0.2s;
}
.yardage-tick:hover { transform: scale(1.3); background: var(--sun); }
.yardage-tick.active { background: var(--flag); border-color: white; box-shadow: 0 0 0 4px rgba(214, 61, 61, 0.25); }
.yardage-tick .tick-label {
  position: absolute;
  right: 36px; top: 50%;
  transform: translateY(-50%);
  background: rgba(10, 47, 29, 0.92);
  color: white;
  padding: 0.3rem 0.75rem;
  border-radius: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.15s;
}
.yardage-tick:hover .tick-label, .yardage-tick.active .tick-label { opacity: 1; }

