/* Mulliganist - premium golf aesthetic */
:root {
  --green-900: #0e2a1f;
  --green-800: #14382a;
  --green-700: #1a4534;
  --green-600: #22573f;
  --cream: #faf7f0;
  --cream-dark: #f2ecdf;
  --gold: #c9a227;
  --gold-light: #e3c766;
  --ink: #1c2420;
  --ink-soft: #4a5450;
  --line: #e4ddcc;
  --card: #ffffff;
  --radius: 14px;
  --shadow: 0 8px 30px rgba(14,42,31,.10);
  --font-serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-sans: "Inter", -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  background: var(--cream);
  color: var(--ink);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--green-700); }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 22px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250,247,240,.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { height: 44px; width: auto; border-radius: 8px; }
.brand-name {
  font-family: var(--font-serif); font-size: 1.55rem; font-weight: 700;
  color: var(--green-900); letter-spacing: .01em;
}
.brand-name .ball-dot { color: var(--gold); }
.main-nav { display: flex; gap: 26px; }
.main-nav a {
  text-decoration: none; color: var(--ink-soft); font-weight: 600; font-size: .95rem;
}
.main-nav a:hover { color: var(--green-800); }
@media (max-width: 760px) {
  .main-nav { display: none; }
}

/* Hero */
.hero {
  background: linear-gradient(135deg, var(--green-900) 0%, var(--green-700) 60%, #2a6b4a 100%);
  color: #fff; padding: 84px 0 70px; position: relative; overflow: hidden;
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 80% 20%, rgba(201,162,39,.18), transparent 55%);
  pointer-events: none;
}
.hero { text-align: center; }
.hero h1 {
  font-family: var(--font-serif); font-size: clamp(2.4rem, 5vw, 3.8rem);
  line-height: 1.12; font-weight: 700; max-width: 760px; position: relative;
  margin-left: auto; margin-right: auto;
}
.hero h1 em { color: var(--gold-light); font-style: italic; }
.hero p.sub {
  margin-top: 16px; font-size: 1.12rem; color: #d9e6dc; max-width: 640px; position: relative;
  margin-left: auto; margin-right: auto;
}
.searchbar {
  margin-top: 28px; display: flex; max-width: 640px; position: relative;
  background: #fff; border-radius: 999px; padding: 6px; box-shadow: var(--shadow);
  margin-left: auto; margin-right: auto; text-align: left;
}
.searchbar input {
  flex: 1; border: 0; outline: 0; padding: 12px 20px; font-size: 1rem;
  background: transparent; color: var(--ink); border-radius: 999px;
}
.searchbar button {
  border: 0; cursor: pointer; background: var(--green-800); color: #fff;
  border-radius: 999px; padding: 12px 26px; font-weight: 700; font-size: .95rem;
}
.searchbar button:hover { background: var(--green-700); }
.hero-stats { display: flex; gap: 44px; margin-top: 38px; position: relative; flex-wrap: wrap; justify-content: center; }
.hero-stats .stat b { display: block; font-size: 1.7rem; font-family: var(--font-serif); color: var(--gold-light); }
.hero-stats .stat span { font-size: .85rem; color: #c6d6cb; }

/* Sections */
.section { padding: 64px 0; }
.section.alt { background: var(--cream-dark); }
.section-head { margin-bottom: 30px; }
.section-head .kicker {
  text-transform: uppercase; letter-spacing: .14em; font-size: .78rem;
  color: var(--gold); font-weight: 700;
}
.section-head h2 {
  font-family: var(--font-serif); font-size: clamp(1.7rem, 3vw, 2.4rem);
  color: var(--green-900); margin-top: 6px;
}
.section-head p { color: var(--ink-soft); max-width: 640px; margin-top: 8px; }

/* Course cards */
.course-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 22px;
}
.course-card {
  background: var(--card); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); border: 1px solid var(--line);
  transition: transform .18s ease, box-shadow .18s ease;
  display: flex; flex-direction: column;
}
.course-card:hover { transform: translateY(-4px); box-shadow: 0 14px 40px rgba(14,42,31,.16); }
.course-photo {
  height: 190px; display: flex; align-items: flex-end;
  background: linear-gradient(135deg, #1d4a33, #2f7a4e 55%, #9db89a);
  color: #fff; padding: 16px; position: relative;
}
.course-photo::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(10,25,18,.55), transparent 60%);
}
.course-photo .rank {
  position: absolute; top: 12px; left: 12px; z-index: 2;
  background: var(--gold); color: var(--green-900); font-weight: 800;
  font-size: .8rem; border-radius: 999px; padding: 4px 12px;
}
.course-photo h3 { position: relative; z-index: 2; font-family: var(--font-serif); font-size: 1.25rem; }
.course-body { padding: 18px 20px 20px; flex: 1; display: flex; flex-direction: column; }
.course-meta {
  display: flex; justify-content: space-between; align-items: center;
  font-size: .88rem; color: var(--ink-soft); margin-bottom: 10px;
}
.course-meta .fee { font-weight: 800; color: var(--green-800); font-size: 1.02rem; }
.stars { color: var(--gold); letter-spacing: 2px; }
.course-body p.blurb { font-size: .94rem; color: var(--ink-soft); flex: 1; }
.btn {
  display: inline-block; margin-top: 14px; text-decoration: none; text-align: center;
  background: var(--green-800); color: #fff; font-weight: 700;
  padding: 11px 20px; border-radius: 10px; font-size: .93rem;
}
.btn:hover { background: var(--green-700); }
.btn.gold { background: var(--gold); color: var(--green-900); }
.btn.gold:hover { background: var(--gold-light); }

/* State cards */
.state-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 18px;
}
.state-card {
  background: var(--green-900); color: #fff; border-radius: var(--radius);
  padding: 24px; text-decoration: none; transition: transform .18s ease;
  border: 1px solid rgba(201,162,39,.25);
}
.state-card:hover { transform: translateY(-3px); }
.state-card .abbr {
  font-family: var(--font-serif); font-size: 2rem; color: var(--gold-light); font-weight: 700;
}
.state-card h3 { font-size: 1.1rem; margin: 4px 0 8px; }
.state-card p { font-size: .88rem; color: #c6d6cb; }
.state-card .count { font-size: .78rem; color: var(--gold); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }

/* Course detail */
.course-hero {
  background: linear-gradient(135deg, var(--green-900), var(--green-600));
  color: #fff; padding: 60px 0 44px;
}
.course-hero h1 { font-family: var(--font-serif); font-size: clamp(2rem, 4.5vw, 3.2rem); }
.course-hero .tagline { color: var(--gold-light); font-style: italic; font-size: 1.15rem; margin-top: 8px; }
.stat-row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 22px; }
.stat-chip {
  background: rgba(255,255,255,.10); border: 1px solid rgba(255,255,255,.18);
  border-radius: 10px; padding: 10px 16px; font-size: .88rem;
}
.stat-chip b { display: block; font-size: 1.15rem; color: var(--gold-light); }
.article { max-width: 780px; }
.article h2 {
  font-family: var(--font-serif); color: var(--green-900);
  font-size: 1.6rem; margin: 34px 0 12px;
}
.article p { margin-bottom: 16px; color: #2c3631; }
.article ul { margin: 0 0 18px 20px; }
.article li { margin-bottom: 10px; }
.hole-card {
  background: var(--card); border: 1px solid var(--line); border-radius: 12px;
  padding: 18px 20px; margin-bottom: 14px; box-shadow: var(--shadow);
}
.hole-card h4 { color: var(--green-800); font-size: 1.05rem; }
.hole-card h4 span { color: var(--ink-soft); font-weight: 400; font-size: .9rem; }
.verdict {
  background: var(--green-900); color: #fff; border-radius: var(--radius);
  padding: 28px; margin-top: 30px; border-left: 6px solid var(--gold);
}
.verdict h3 { font-family: var(--font-serif); color: var(--gold-light); margin-bottom: 8px; }
.fee-table { width: 100%; border-collapse: collapse; margin: 16px 0; font-size: .94rem; }
.fee-table th, .fee-table td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.fee-table th { color: var(--green-900); }

/* Tools */
.tool-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px; box-shadow: var(--shadow); max-width: 640px;
}
.tool-card label { display: block; font-weight: 600; margin: 14px 0 6px; font-size: .92rem; }
.tool-card input, .tool-card select {
  width: 100%; padding: 11px 14px; border: 1px solid var(--line); border-radius: 8px;
  font-size: 1rem; font-family: inherit;
}
.tool-card button {
  margin-top: 18px; background: var(--green-800); color: #fff; border: 0;
  padding: 13px 28px; border-radius: 10px; font-weight: 700; cursor: pointer; font-size: 1rem;
}
.tool-card button:hover { background: var(--green-700); }
.tool-result {
  margin-top: 20px; background: var(--green-900); color: #fff;
  border-radius: 10px; padding: 20px; display: none;
}
.tool-result.show { display: block; }
.tool-result b { color: var(--gold-light); font-size: 1.4rem; }
.score-row { display: flex; gap: 10px; margin-bottom: 8px; }
.score-row input { flex: 1; }

/* Footer */
.site-footer { background: var(--green-900); color: #c6d6cb; padding: 56px 0 30px; margin-top: 40px; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 30px; }
.site-footer h4 { color: #fff; font-size: 1rem; margin-bottom: 12px; }
.site-footer a { color: #c6d6cb; text-decoration: none; font-size: .9rem; display: block; margin-bottom: 8px; }
.site-footer a:hover { color: var(--gold-light); }
.footer-bottom {
  margin-top: 36px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.12);
  font-size: .82rem; color: #93a89a;
}
.disclosure {
  background: rgba(201,162,39,.10); border: 1px solid rgba(201,162,39,.35);
  border-radius: 10px; padding: 16px 18px; font-size: .85rem; margin-top: 18px;
}

/* Breadcrumb */
.crumb { font-size: .85rem; color: var(--ink-soft); margin-bottom: 14px; }
.crumb a { color: var(--green-700); text-decoration: none; }

/* Newsletter */
.newsletter {
  background: linear-gradient(135deg, var(--green-800), var(--green-600));
  border-radius: var(--radius); padding: 40px; color: #fff; text-align: center;
}
.newsletter h3 { font-family: var(--font-serif); font-size: 1.6rem; margin-bottom: 8px; }
.newsletter p { color: #d9e6dc; margin-bottom: 18px; }
.newsletter form { display: flex; gap: 10px; max-width: 480px; margin: 0 auto; }
.newsletter input {
  flex: 1; padding: 12px 18px; border-radius: 999px; border: 0; font-size: 1rem;
}
.newsletter button {
  background: var(--gold); color: var(--green-900); border: 0; font-weight: 800;
  padding: 12px 26px; border-radius: 999px; cursor: pointer;
}
@media (max-width: 560px) {
  .newsletter form { flex-direction: column; }
}
