/* BBG Golf TV site. Colours from Chameleon Digital Collective's BBG brand identity sheet. */
:root {
  --green: #0b3d2e;
  --green-2: #135240;
  --green-3: #1f6b53;
  --gold: #c9a44c;
  --gold-2: #dcbc6c;
  --cream: #f4e8c8;
  --paper: #fbf8f1;
  --white: #ffffff;
  --ink: #1c1b18;
  --muted: #5f5b51;
  --line: rgba(28, 27, 24, 0.10);
  --shadow: 0 1px 2px rgba(28, 27, 24, 0.04), 0 12px 32px rgba(28, 27, 24, 0.08);
  --radius: 20px;
  --head: "Inter Tight", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--head); font-weight: 800; line-height: 1.02; margin: 0; letter-spacing: -0.035em; }
p { margin: 0; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.kicker {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--green-3);
}
.kicker::before { content: ""; width: 18px; height: 2px; border-radius: 2px; background: var(--gold); }
.kicker.light { color: var(--gold-2); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--body); font-weight: 600; font-size: 15px; line-height: 1;
  text-decoration: none; white-space: nowrap;
  padding: 15px 22px; border-radius: 999px; border: 1px solid transparent;
  transition: transform .18s ease, background .18s ease, border-color .18s ease, color .18s ease;
  cursor: pointer;
}
.btn:hover { transform: translateY(-1px); }
.btn svg { width: 18px; height: 18px; flex: none; fill: currentColor; }
.btn-primary { background: var(--green); color: var(--white); }
.btn-primary:hover { background: var(--green-2); }
.btn-gold { background: var(--gold); color: var(--ink); }
.btn-gold:hover { background: var(--gold-2); }
.btn-white { background: var(--white); color: var(--ink); }
.btn-white:hover { background: var(--cream); }
.btn-glass { background: rgba(255, 255, 255, 0.14); color: var(--white); border-color: rgba(255, 255, 255, 0.28); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.btn-glass:hover { background: rgba(255, 255, 255, 0.24); }
.btn-line { border-color: var(--line); color: var(--ink); background: var(--white); }
.btn-line:hover { border-color: rgba(28, 27, 24, 0.3); }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 30;
  background: rgba(251, 248, 241, 0.82);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 20px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.brand img { width: auto; }
.brand .badge { height: 54px; }
.brand .word { height: 36px; }
.brand span {
  font-size: 12px; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; color: var(--green);
  padding-left: 14px; border-left: 1px solid rgba(201, 164, 76, 0.7); line-height: 1.2;
}
.nav { display: flex; align-items: center; gap: 28px; }
.nav a:not(.btn) { color: var(--ink); text-decoration: none; font-weight: 500; font-size: 15px; opacity: .72; transition: opacity .15s ease; }
.nav a:not(.btn):hover { opacity: 1; }
.nav .btn { padding: 11px 18px; font-size: 14px; }

/* Hero with footage */
.hero { padding: 16px 16px 0; }
.hero-media {
  position: relative; overflow: hidden; border-radius: 28px;
  min-height: min(84vh, 760px); display: flex; align-items: flex-end;
  background: var(--green) center / cover no-repeat;
  color: var(--white);
}
.hero-media video, .hero-media .poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(11, 61, 46, 0) 30%, rgba(8, 30, 23, 0.86) 100%),
    linear-gradient(90deg, rgba(8, 30, 23, 0.55) 0%, rgba(8, 30, 23, 0) 60%);
}
.hero-content {
  position: relative; z-index: 1; width: 100%;
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: end;
  padding: 56px;
}
.hero h1 { font-size: clamp(46px, 7.4vw, 104px); color: var(--white); margin: 18px 0 18px; }
.hero h1 em { font-style: normal; color: var(--gold-2); }
.hero .lede { font-size: 19px; max-width: 30em; color: rgba(255, 255, 255, 0.86); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600;
  padding: 7px 12px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.14); border: 1px solid rgba(255, 255, 255, 0.24);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.chip i { width: 7px; height: 7px; border-radius: 50%; background: var(--gold-2); display: block; }

.latest {
  display: grid; grid-template-columns: 132px 1fr; gap: 14px; align-items: center;
  padding: 12px; border-radius: 18px; text-decoration: none; color: var(--white);
  background: rgba(255, 255, 255, 0.12); border: 1px solid rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  transition: background .18s ease;
  justify-self: end; max-width: 400px;
}
.latest:hover { background: rgba(255, 255, 255, 0.2); }
.latest img { width: 132px; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 10px; }
.latest small { display: block; font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold-2); }
.latest strong { display: block; font-family: var(--head); font-size: 17px; line-height: 1.2; margin-top: 4px; letter-spacing: -0.01em; }

/* Stats */
.stats .wrap { display: grid; grid-template-columns: repeat(4, 1fr); padding-top: 40px; padding-bottom: 40px; }
.stat { padding: 6px 24px; border-left: 1px solid var(--line); }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat strong { display: block; font-family: var(--head); font-weight: 800; font-size: clamp(32px, 3.6vw, 46px); letter-spacing: -0.04em; color: var(--green); line-height: 1; }
.stat span { display: block; margin-top: 10px; font-size: 15px; color: var(--muted); }

/* Sections */
.section { padding: 96px 0; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 28px; margin-bottom: 40px; }
.section-head h2 { font-size: clamp(34px, 4.6vw, 58px); margin-top: 14px; color: var(--ink); }
.section-head p { max-width: 32em; color: var(--muted); }
.link { color: var(--green); font-weight: 600; text-decoration: none; white-space: nowrap; border-bottom: 1px solid rgba(11, 61, 46, 0.3); padding-bottom: 2px; }
.link:hover { border-color: var(--green); }

/* Video cards (lite YouTube) */
.video {
  position: relative; display: block; width: 100%; aspect-ratio: 16 / 9;
  border-radius: 16px; overflow: hidden; background: #000; border: 0; padding: 0; cursor: pointer;
}
.video img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.video:hover img { transform: scale(1.035); }
.video .play {
  position: absolute; left: 50%; top: 50%; width: 64px; height: 64px; margin: -32px 0 0 -32px;
  border-radius: 50%; display: grid; place-items: center;
  background: rgba(255, 255, 255, 0.92); box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  transition: transform .18s ease;
}
.video:hover .play { transform: scale(1.08); }
.video .play svg { width: 24px; height: 24px; margin-left: 4px; fill: var(--green); }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.episodes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.episode { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 12px 22px; box-shadow: var(--shadow); }
.episode .meta { padding: 16px 8px 0; }
.episode small { font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--green-3); }
.episode h3 { font-size: 22px; margin-top: 6px; letter-spacing: -0.02em; }
.episode p { margin-top: 8px; color: var(--muted); font-size: 15px; }
.episode.soon { display: flex; flex-direction: column; justify-content: space-between; background: var(--cream); border-color: transparent; box-shadow: none; padding: 28px; }
.episode.soon img { width: 92px; }
.episode.soon h3 { margin-top: 18px; }

/* Shorts */
.dark { background: var(--green); color: var(--white); }
.dark .section-head h2 { color: var(--white); }
.dark .section-head p { color: rgba(255, 255, 255, 0.72); }
.dark .link { color: var(--gold-2); border-color: rgba(220, 188, 108, 0.4); }
.rail {
  display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 5 * 16px) / 5.5);
  gap: 16px; overflow-x: auto; padding-bottom: 14px; scroll-snap-type: x mandatory;
  scrollbar-width: thin; scrollbar-color: var(--green-3) transparent;
}
.short { scroll-snap-align: start; display: block; border-radius: 16px; overflow: hidden; aspect-ratio: 9 / 16; background: #082a20; position: relative; }
.short img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.short:hover img { transform: scale(1.04); }

/* Follow */
.follow { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.platform-link {
  display: flex; flex-direction: column; gap: 18px; text-decoration: none; color: var(--ink);
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px;
  box-shadow: var(--shadow); transition: transform .18s ease, border-color .18s ease;
}
.platform-link:hover { transform: translateY(-3px); border-color: rgba(11, 61, 46, 0.35); }
.platform-link .icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--green); color: var(--white); }
.platform-link .icon svg { width: 22px; height: 22px; fill: currentColor; }
.platform-link strong { display: block; font-family: var(--head); font-size: 19px; letter-spacing: -0.01em; }
.platform-link span { display: block; font-size: 14px; color: var(--muted); }
.platform-link em {
  font-style: normal; font-size: 14px; font-weight: 600; color: var(--green);
  margin-top: auto; display: inline-flex; align-items: center; gap: 6px;
}
.platform-link em::after { content: "\2192"; transition: transform .18s ease; }
.platform-link:hover em::after { transform: translateX(3px); }

/* About */
.about { display: grid; grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: center; }
.about .mark { border-radius: 28px; overflow: hidden; background: #efe3c3; }
.about .mark img { width: 100%; }
.about h2 { font-size: clamp(34px, 4.6vw, 58px); margin: 14px 0 22px; }
.about p { color: var(--muted); font-size: 18px; }
.about p + p { margin-top: 14px; }

/* Partner panel */
.panel {
  position: relative; overflow: hidden; border-radius: 28px; background: var(--green); color: var(--white);
  padding: 56px; display: flex; justify-content: space-between; align-items: center; gap: 32px;
}
.panel::before {
  content: ""; position: absolute; right: -120px; top: -120px; width: 420px; height: 420px; border-radius: 50%;
  background: radial-gradient(circle, rgba(201, 164, 76, 0.35) 0%, rgba(201, 164, 76, 0) 70%);
}
.panel h2 { font-size: clamp(30px, 3.8vw, 46px); max-width: 15em; position: relative; }
.panel p { margin-top: 12px; font-size: 18px; color: rgba(255, 255, 255, 0.8); max-width: 34em; position: relative; }
.panel .btn { position: relative; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 48px 0 40px; font-size: 14px; color: var(--muted); margin-top: 96px; }
.site-footer .top { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.socials { display: flex; gap: 8px; flex-wrap: wrap; }
.socials a {
  width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid var(--line); color: var(--green); background: var(--white); transition: background .15s ease, color .15s ease;
}
.socials a:hover { background: var(--green); color: var(--white); }
.socials svg { width: 18px; height: 18px; fill: currentColor; }
.site-footer .bottom { margin-top: 28px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.site-footer a { color: var(--ink); }

/* Partners page */
.page-hero { padding: 16px 16px 0; }
.page-hero .inner {
  position: relative; overflow: hidden; border-radius: 28px; background: var(--green); color: var(--white);
  display: grid; grid-template-columns: 1.2fr .9fr; gap: 48px; align-items: center; padding: 64px 56px;
}
.page-hero .inner::before {
  content: ""; position: absolute; left: -160px; bottom: -200px; width: 520px; height: 520px; border-radius: 50%;
  background: radial-gradient(circle, rgba(201, 164, 76, 0.28) 0%, rgba(201, 164, 76, 0) 70%);
}
.page-hero h1 { font-size: clamp(44px, 6.4vw, 88px); margin: 18px 0; position: relative; }
.page-hero h1 em { font-style: normal; color: var(--gold-2); }
.page-hero .lede { font-size: 19px; color: rgba(255, 255, 255, 0.84); max-width: 30em; position: relative; }
.page-hero .actions { position: relative; }
.price-card { position: relative; background: var(--white); color: var(--ink); border-radius: 22px; padding: 30px; box-shadow: 0 30px 70px rgba(0, 0, 0, 0.3); }
.price-card .amount { font-family: var(--head); font-weight: 800; letter-spacing: -0.04em; font-size: 64px; color: var(--green); line-height: 1; margin-top: 10px; }
.price-card .amount small { font-family: var(--body); letter-spacing: 0; font-size: 16px; color: var(--muted); font-weight: 500; }
.price-card ul { list-style: none; padding: 0; margin: 22px 0 24px; display: grid; gap: 12px; }
.price-card li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; font-size: 15px; }
.price-card li svg { width: 20px; height: 20px; margin-top: 2px; fill: var(--green-3); }
.price-card .btn { width: 100%; }
.price-card .fine { margin-top: 12px; font-size: 13px; color: var(--muted); text-align: center; }

.platforms { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.platform { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.platform .name { display: flex; align-items: center; gap: 10px; font-weight: 600; color: var(--muted); font-size: 15px; }
.platform .name svg { width: 20px; height: 20px; fill: var(--green); }
.platform strong { display: block; margin-top: 18px; font-family: var(--head); font-weight: 800; letter-spacing: -0.04em; font-size: 44px; color: var(--ink); line-height: 1; }
.platform span { display: block; margin-top: 6px; font-size: 14px; color: var(--muted); }

.audience { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; margin-top: 24px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 36px; box-shadow: var(--shadow); }
.audience h3 { font-size: 30px; margin: 12px 0 10px; }
.audience p { color: var(--muted); }
.bars { display: grid; gap: 12px; }
.bars-title { font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--green-3); margin-top: 6px; }
.bars-title:first-child { margin-top: 0; }
.bar .label { display: flex; justify-content: space-between; font-weight: 600; font-size: 15px; margin-bottom: 8px; }
.bar .track { height: 10px; border-radius: 999px; background: rgba(11, 61, 46, 0.1); overflow: hidden; }
.bar .fill { height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--green), var(--green-3)); }

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; counter-reset: step; }
.step { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); }
.step::before {
  counter-increment: step; content: "0" counter(step);
  display: block; font-family: var(--head); font-weight: 800; font-size: 15px; color: var(--gold); letter-spacing: 0.04em; margin-bottom: 26px;
}
.step h3 { font-size: 21px; margin-bottom: 8px; letter-spacing: -0.02em; }
.step p { color: var(--muted); font-size: 15px; }

.fits { display: flex; flex-wrap: wrap; gap: 10px; }
.fits span { background: var(--white); border: 1px solid var(--line); color: var(--ink); font-weight: 500; padding: 10px 16px; border-radius: 999px; font-size: 15px; }
.trade {
  margin-top: 28px; display: grid; grid-template-columns: auto 1fr; gap: 24px; align-items: center;
  background: var(--cream); border-radius: var(--radius); padding: 26px 30px;
}
.trade img { width: 76px; }
.trade h3 { font-size: 24px; margin-bottom: 6px; letter-spacing: -0.02em; }
.trade p { color: var(--muted); }

.faq { display: grid; gap: 10px; max-width: 860px; }
.faq details { background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 18px 22px; }
.faq summary { cursor: pointer; font-weight: 600; font-size: 17px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::after { content: "+"; color: var(--green-3); font-size: 22px; line-height: 1; display: inline-block; transition: transform .18s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary::-webkit-details-marker { display: none; }
.faq p { margin-top: 10px; color: var(--muted); }

/* Live counters */
.live-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #2fbf71; margin-right: 7px; vertical-align: 1px; box-shadow: 0 0 0 0 rgba(47, 191, 113, 0.6); animation: live-pulse 2s infinite; }
@keyframes live-pulse { 0% { box-shadow: 0 0 0 0 rgba(47, 191, 113, 0.55); } 70% { box-shadow: 0 0 0 7px rgba(47, 191, 113, 0); } 100% { box-shadow: 0 0 0 0 rgba(47, 191, 113, 0); } }
[data-stat] { font-variant-numeric: tabular-nums; }

/* Motion */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .live-dot { animation: none; }
}

/* Responsive */
@media (max-width: 1020px) {
  .hero-content { grid-template-columns: 1fr; padding: 40px; }
  .latest { justify-self: start; }
  .episodes { grid-template-columns: 1fr 1fr; }
  .follow { grid-template-columns: repeat(2, 1fr); }
  .platforms, .steps { grid-template-columns: 1fr 1fr; }
  .about, .audience { grid-template-columns: 1fr; gap: 36px; }
  .page-hero .inner { grid-template-columns: 1fr; padding: 48px 40px; }
  .stats .wrap { grid-template-columns: 1fr 1fr; row-gap: 28px; }
  .stat:nth-child(3) { border-left: 0; padding-left: 0; }
  .rail { grid-auto-columns: calc((100% - 3 * 16px) / 3.4); }
}
@media (max-width: 680px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .site-header .wrap { height: 64px; }
  .brand .badge { height: 46px; }
  .brand .word { height: 30px; }
  .brand span { display: none; }
  .nav { gap: 0; }
  .nav a:not(.btn) { display: none; }
  .hero, .page-hero { padding: 8px 8px 0; }
  .hero-media { min-height: 86vh; border-radius: 22px; }
  .hero-media::after { background: linear-gradient(180deg, rgba(8, 30, 23, 0.45) 0%, rgba(8, 30, 23, 0.55) 35%, rgba(8, 30, 23, 0.9) 100%); }
  .hero-content { padding: 26px 20px; gap: 24px; }
  .hero .lede, .page-hero .lede { font-size: 17px; }
  .hero .actions .btn { flex: 1 1 100%; }
  .latest { grid-template-columns: 104px 1fr; max-width: none; justify-self: stretch; }
  .latest img { width: 104px; }
  .section { padding: 68px 0; }
  .section-head { flex-direction: column; align-items: start; gap: 12px; margin-bottom: 28px; }
  .episodes, .steps { grid-template-columns: 1fr; }
  .follow { grid-template-columns: 1fr 1fr; }
  .rail { grid-auto-columns: 44%; gap: 12px; }
  .stat { padding: 0 0 0 16px; }
  .stat:nth-child(odd) { border-left: 0; padding-left: 0; }
  .panel { flex-direction: column; align-items: start; padding: 36px 24px; border-radius: 22px; }
  .page-hero .inner { padding: 36px 22px; border-radius: 22px; }
  .page-hero .actions .btn { flex: 1 1 100%; }
  .price-card { padding: 24px; }
  .platform strong { font-size: 34px; }
  .audience { padding: 24px; }
  .trade { grid-template-columns: 1fr; }
  .site-footer { margin-top: 68px; }
}
