/* Every Putt Counts — site styles
   Palette pulled from the app's own mark: deep navy, warm cream, muted
   fairway sage. Oswald for display type, Barlow for text — no Inter,
   no Roboto, no soft rounded SaaS-card look. Real course photography
   carries the weight instead of gradients and floating pill badges. */

@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@500;600;700&family=Barlow:ital,wght@0,400;0,500;0,600;1,400&display=swap');

:root {
  --navy: #1E2531;
  --navy-2: #262F3F;
  --cream: #F4EFE3;
  --paper: #FAF7F0;
  --ink: #23282F;
  --ink-soft: #52585F;
  --muted: #7A7267;
  --line: #DCD4C2;
  --sage: #7C9473;
  --sage-dark: #5C7454;
  --rule: 1px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Barlow', -apple-system, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, .display {
  font-family: 'Oswald', 'Barlow', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  font-weight: 600;
  color: var(--navy);
  margin: 0;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--sage-dark); }

.wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
.site-header {
  background: var(--navy);
  border-bottom: var(--rule) solid rgba(244,239,227,0.12);
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 50;
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 66px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.brand img { height: 30px; width: auto; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  color: var(--cream);
  text-decoration: none;
  font-family: 'Oswald', sans-serif;
  text-transform: uppercase;
  font-size: 13px;
  letter-spacing: 0.06em;
  font-weight: 500;
  opacity: 0.85;
}

.nav-links a:hover { opacity: 1; }

.nav-cta {
  border: var(--rule) solid var(--sage);
  color: var(--sage) !important;
  padding: 8px 16px;
  opacity: 1 !important;
}

.nav-cta:hover { background: var(--sage); color: var(--navy) !important; }

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  color: var(--cream);
  font-size: 24px;
  cursor: pointer;
}

@media (max-width: 760px) {
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: absolute;
    top: 66px;
    left: 0;
    right: 0;
    background: var(--navy);
    padding: 18px 24px 24px;
    gap: 18px;
    border-top: var(--rule) solid rgba(244,239,227,0.12);
  }
}

/* Hero — full-bleed photo */
.hero {
  position: relative;
  color: var(--cream);
  min-height: 84vh;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(20,25,35,0.92) 0%, rgba(20,25,35,0.72) 42%, rgba(20,25,35,0.35) 68%, rgba(20,25,35,0.15) 100%);
}

.hero .wrap {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
  align-items: center;
  padding-top: 48px;
  padding-bottom: 48px;
}

@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero { min-height: auto; padding: 56px 0; }
}

.eyebrow {
  display: inline-block;
  font-family: 'Oswald', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sage);
  border-bottom: 2px solid var(--sage);
  padding-bottom: 4px;
  margin-bottom: 22px;
}

.hero h1 {
  color: #fff;
  font-size: 52px;
  line-height: 1.04;
  margin: 0 0 20px;
}

.hero p.lede {
  font-size: 18px;
  color: rgba(244,239,227,0.88);
  margin: 0 0 30px;
  max-width: 44ch;
  font-style: italic;
}

@media (max-width: 640px) {
  .hero h1 { font-size: 36px; }
}

.store-badges {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.store-btn {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  height: 50px;
  padding: 0 20px;
  background: transparent;
  color: var(--cream) !important;
  font-family: 'Oswald', sans-serif;
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  text-decoration: none;
  border: var(--rule) solid rgba(244,239,227,0.5);
}

.store-btn:hover { border-color: var(--cream); background: rgba(244,239,227,0.08); }

.hero-shot {
  position: relative;
  justify-self: center;
}

.hero-shot img {
  width: 250px;
  border: 6px solid var(--navy-2);
  box-shadow: 0 30px 70px rgba(0,0,0,0.5);
}

/* Stats strip */
.stats-strip {
  background: var(--navy-2);
  border-top: 3px solid var(--sage);
  padding: 30px 0;
}

.stats-strip .wrap {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  text-align: center;
}

@media (max-width: 640px) {
  .stats-strip .wrap { grid-template-columns: 1fr; gap: 22px; }
}

.stat-num {
  font-family: 'Oswald', sans-serif;
  font-size: 34px;
  font-weight: 600;
  color: #fff;
  line-height: 1;
}

.stat-label {
  font-family: 'Barlow', sans-serif;
  font-size: 13px;
  color: rgba(244,239,227,0.7);
  margin-top: 8px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* Sections */
.section { padding: 84px 0; }
.section.alt { background: var(--cream); }

.section-head {
  max-width: 640px;
  margin: 0 auto 48px;
}

.section-head .eyebrow { color: var(--sage-dark); border-color: var(--sage-dark); }

.section-head h2 {
  font-size: 32px;
  margin: 0 0 14px;
}

.section-head p {
  color: var(--ink-soft);
  font-size: 17px;
  margin: 0;
  max-width: 56ch;
}

/* Photo divider band */
.photo-band {
  position: relative;
  height: 340px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: flex-end;
}

.photo-band::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(20,25,35,0.75) 0%, rgba(20,25,35,0.05) 55%);
}

.photo-band .band-caption {
  position: relative;
  z-index: 2;
  padding: 28px 24px;
  color: var(--cream);
  font-family: 'Oswald', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 14px;
  font-weight: 500;
}

/* Feature / drill list — flat bordered rows, not floating cards */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: var(--rule) solid var(--line);
}

@media (max-width: 900px) {
  .card-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
  .card-grid { grid-template-columns: 1fr; }
}

.card {
  background: var(--paper);
  padding: 26px 24px;
}

.card .tag {
  display: block;
  font-family: 'Oswald', sans-serif;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--sage-dark);
  margin-bottom: 10px;
}

.card h3 {
  font-size: 18px;
  margin: 0 0 10px;
}

.card p {
  font-family: 'Barlow', sans-serif;
  font-size: 15px;
  color: var(--ink-soft);
  margin: 0;
  text-transform: none;
  letter-spacing: normal;
}

/* Philosophy band — photo backed */
.philosophy {
  position: relative;
  color: var(--cream);
  padding: 96px 0;
  background-size: cover;
  background-position: center;
}

.philosophy::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(20,25,35,0.82);
}

.philosophy .wrap {
  position: relative;
  z-index: 2;
  max-width: 700px;
}

.philosophy h2 {
  color: #fff;
  font-size: 30px;
  margin: 0 0 18px;
}

.philosophy p {
  color: rgba(244,239,227,0.85);
  font-size: 17px;
  margin: 0 0 10px;
  font-style: italic;
}

/* CTA band */
.cta-band {
  text-align: left;
  padding: 80px 0;
  border-top: var(--rule) solid var(--line);
}

.cta-band .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  background: var(--navy);
  color: var(--cream) !important;
  text-decoration: none;
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 16px 32px;
}

.btn-primary:hover { background: var(--sage-dark); }

/* Blog */
.post-list {
  display: grid;
  gap: 1px;
  max-width: 760px;
  margin: 0 auto;
  background: var(--line);
  border: var(--rule) solid var(--line);
}

.post-card {
  background: var(--paper);
  padding: 28px;
  display: block;
  text-decoration: none;
  color: inherit;
}

.post-card .post-date {
  font-family: 'Oswald', sans-serif;
  font-size: 12px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 500;
}

.post-card h3 {
  font-size: 21px;
  margin: 10px 0 10px;
  text-transform: none;
}

.post-card p {
  font-family: 'Barlow', sans-serif;
  color: var(--ink-soft);
  font-size: 15px;
  margin: 0;
}

article.post {
  max-width: 700px;
  margin: 0 auto;
  padding: 60px 24px 88px;
}

article.post .post-date {
  font-family: 'Oswald', sans-serif;
  font-size: 12px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 500;
}

article.post h1 {
  font-size: 36px;
  margin: 12px 0 26px;
  text-transform: none;
}

article.post h2 {
  font-size: 22px;
  margin: 36px 0 14px;
  text-transform: none;
}

article.post p {
  font-family: 'Barlow', sans-serif;
  font-size: 17px;
  color: var(--ink);
  margin: 0 0 18px;
}

article.post .callout {
  background: var(--cream);
  border-left: 4px solid var(--sage);
  padding: 20px 22px;
  margin: 26px 0;
  font-size: 16px;
}

/* Footer */
.site-footer {
  background: var(--navy);
  color: rgba(244,239,227,0.6);
  padding: 44px 0;
  font-size: 13px;
}

.site-footer .wrap {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
}

.site-footer a { color: var(--cream); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }

.footer-links {
  display: flex;
  gap: 22px;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
  font-family: 'Oswald', sans-serif;
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 0.05em;
}
