/* ==========================================================================
   Briggs Benson — Design System
   "Glassy" system adapted from the F23 Torque brand: charcoal base,
   translucent navy glass panels over a fixed multi-blob backdrop, gold
   accents. Fonts kept as Montserrat/Inter (site's existing brand pairing)
   rather than Torque's own system-font stack.
   ========================================================================== */

:root {
  --charcoal: #17181c;
  --navy: #01022f;
  --navy-light: #0c0e46;
  --panel-solid: #0c0f2e;      /* solid navy — dropdown option lists, footer */
  --gold: #d8be44;
  --gold-light: #e9d787;
  --gold-dark: #b89b2e;
  --white: #f2f3f7;
  --gray-600: #a2a8b8;         /* muted grey body text (readable on dark) */
  --gray-400: #7b8194;         /* dimmer muted — de-emphasized text */

  --glass-panel: rgba(18, 24, 66, 0.42);
  --glass-border: rgba(216, 190, 68, 0.20);
  --glass-border-white: rgba(255, 255, 255, 0.09);
  --gold-soft: rgba(216, 190, 68, 0.12);
  --field-bg: rgba(0, 0, 0, 0.25);
  --field-border: rgba(255, 255, 255, 0.08);

  --font-head: "Montserrat", sans-serif;
  --font-body: "Inter", sans-serif;

  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 28px;
  --radius-pill: 999px;

  --shadow-sm: 0 8px 24px rgba(0, 0, 0, 0.28);
  --shadow-md: 0 18px 50px rgba(0, 0, 0, 0.42);
  --shadow-lg: 0 24px 60px rgba(0, 0, 0, 0.5);

  --container: 1180px;
}

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

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  background:
    radial-gradient(760px 480px at 12% -4%,  rgba(52, 70, 168, 0.55), transparent 56%),
    radial-gradient(700px 460px at 88% 6%,   rgba(216, 190, 68, 0.16), transparent 55%),
    radial-gradient(820px 620px at 70% 108%, rgba(40, 54, 140, 0.42), transparent 55%),
    radial-gradient(600px 500px at 0% 60%,   rgba(30, 42, 120, 0.30), transparent 55%),
    var(--charcoal);
  background-attachment: fixed;
}

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--white);
  line-height: 1.15;
  margin: 0 0 0.5em;
  font-weight: 700;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.4rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.6rem); }
h3 { font-size: 1.25rem; }

p { margin: 0 0 1em; color: var(--gray-600); }

a { color: inherit; text-decoration: none; }

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

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}

.section {
  padding: 96px 0;
}

.section--tight { padding: 64px 0; }

/* Kept as class names for zero HTML churn, but under the glass system
   every section sits on the same fixed body backdrop — rhythm now comes
   from the glass cards themselves, not full-bleed section color blocks. */
.section--navy,
.section--paper {
  background: transparent;
}

.section-head {
  max-width: 640px;
  margin: 0 0 56px;
}
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 30px;
  border-radius: var(--radius-pill);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease, filter 0.2s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }

.btn--gold {
  background: var(--gold);
  color: #161206;
  font-weight: 700;
  box-shadow: 0 8px 24px rgba(216, 190, 68, 0.22);
}
.btn--gold:hover { filter: brightness(1.07); }

.btn--outline {
  background: rgba(255, 255, 255, 0.03);
  border-color: rgba(255, 255, 255, 0.08);
  color: var(--white);
}
.btn--outline:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: var(--glass-border);
}

.btn--navy {
  background: var(--panel-solid);
  color: var(--white);
  border-color: var(--glass-border);
}
.btn--navy:hover { background: var(--navy-light); box-shadow: var(--shadow-sm); }

.btn--ghost {
  background: rgba(255, 255, 255, 0.03);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.08);
}
.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: var(--glass-border);
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

/* ---------- Header / Nav ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(12, 15, 46, 0.75);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--glass-border);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.nav-logo {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--white);
  letter-spacing: 0.02em;
}
.nav-logo span { color: var(--gold); }

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

.nav-links > li { position: relative; }

.nav-links a.nav-link {
  display: block;
  padding: 10px 16px;
  border-radius: var(--radius-pill);
  color: rgba(255, 255, 255, 0.82);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.88rem;
  transition: background 0.2s ease, color 0.2s ease;
}
.nav-links a.nav-link:hover,
.nav-links a.nav-link.is-active {
  background: var(--gold-soft);
  color: var(--gold);
}

.has-dropdown > .nav-link::after {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  margin-left: 8px;
  translate: 0 -2px;
}

.dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 230px;
  background: var(--panel-solid);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  padding: 8px;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: all 0.18s ease;
}
.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.dropdown a {
  display: block;
  padding: 10px 14px;
  border-radius: 6px;
  font-size: 0.86rem;
  color: rgba(255, 255, 255, 0.78);
}
.dropdown a:hover { background: var(--gold-soft); color: var(--gold); }

.nav-cta { margin-left: 8px; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 40px;
  height: 40px;
  position: relative;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 8px;
  right: 8px;
  height: 2px;
  background: var(--white);
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle span { top: 19px; }
.nav-toggle span::before { top: -7px; }
.nav-toggle span::after { top: 7px; }

@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: fixed;
    inset: 76px 0 0 0;
    background: var(--panel-solid);
    flex-direction: column;
    align-items: stretch;
    padding: 20px;
    gap: 4px;
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform 0.25s ease;
  }
  .nav-links.is-open { transform: translateX(0); }
  .nav-links a.nav-link { font-size: 1rem; padding: 14px 16px; }
  .dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    display: none;
    box-shadow: none;
    background: rgba(255, 255, 255, 0.04);
  }
  .has-dropdown.is-open .dropdown { display: block; }
  .nav-cta { margin: 10px 0 0; }
  .nav-cta .btn { width: 100%; }
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  min-height: 58vh;
  display: flex;
  align-items: center;
  color: var(--white);
  background: linear-gradient(rgba(1, 2, 47, 0.55), rgba(1, 2, 47, 0.82)),
    var(--navy) url("../images/hero-golf.jpg") center/cover no-repeat;
  text-align: center;
  overflow: hidden;
}

.hero--compact { min-height: 52vh; padding: 60px 0; }

.hero-inner {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
}

.hero-avatar {
  width: 190px;
  height: 190px;
  border-radius: 50%;
  border: 2px solid var(--gold);
  object-fit: cover;
  box-shadow: var(--shadow-lg);
}

.hero-kicker {
  font-family: var(--font-head);
  color: var(--gold-light);
  font-weight: 600;
  letter-spacing: 0.04em;
  font-size: 1.05rem;
}

.hero h1 { color: var(--white); margin-bottom: 4px; }

.hero-lockup {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  flex-wrap: wrap;
}
.hero-lockup img { height: 92px; width: auto; }
.hero-lockup .x {
  font-family: var(--font-head);
  font-size: 1.6rem;
  color: var(--gold);
  font-weight: 800;
}

/* ---------- Cards (glass panels) ---------- */

.grid {
  display: grid;
  gap: 28px;
}
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

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

.card {
  position: relative;
  overflow: hidden;
  background: var(--glass-panel);
  backdrop-filter: blur(40px);
  -webkit-backdrop-filter: blur(40px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  padding: 34px 28px;
  box-shadow: var(--shadow-md);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(216, 190, 68, 0.3), transparent);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.card h3 { color: var(--gold); }
.card p { color: var(--gray-600); }

/* .card--dark kept as a harmless alias — every .card is glass by default now. */

.card-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--gold-soft);
  border: 1px solid rgba(216, 190, 68, 0.28);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  color: var(--gold);
}
.card-icon svg { width: 26px; height: 26px; }

/* ---------- Video cards ---------- */

.video-card { padding: 0; overflow: hidden; }
.video-card__media {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  display: block;
  border-radius: var(--radius-md) var(--radius-md) 0 0;
}
.video-card__body { padding: 20px 22px; }

/* ---------- Star rating input ---------- */

.star-input {
  display: flex;
  flex-direction: row-reverse;
  justify-content: flex-end;
  gap: 4px;
}
.star-input input { position: absolute; opacity: 0; width: 0; height: 0; }
/* .field label (elsewhere) ties on specificity with .star-input label —
   the .field prefix here breaks that tie so unselected stars stay dim. */
.field .star-input label {
  font-size: 1.8rem;
  line-height: 1;
  color: rgba(255, 255, 255, 0.18);
  cursor: pointer;
  transition: color 0.15s ease;
}
.star-input input:checked ~ label,
.star-input label:hover,
.star-input label:hover ~ label {
  color: var(--gold);
}

/* ---------- Review banner ---------- */

.review-banner {
  max-width: 720px;
  margin: 0 auto;
  min-height: 160px;
}
.review-track { position: relative; text-align: center; }
.review-slide { display: none; animation: review-fade-in 0.4s ease; }
.review-slide.is-active { display: block; }
@keyframes review-fade-in {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}
.review-stars {
  color: var(--gold);
  font-size: 1.1rem;
  letter-spacing: 3px;
  margin-bottom: 14px;
}
.review-quote {
  font-size: 1.2rem;
  font-style: italic;
  color: var(--white);
  max-width: 600px;
  margin: 0 auto 16px;
}
.review-author {
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--gold-light);
  margin: 0;
}
.review-author span {
  display: block;
  font-family: var(--font-body);
  font-weight: 500;
  color: var(--gray-600);
  font-size: 0.85rem;
  margin-top: 2px;
}
.review-empty { color: var(--gray-400); font-style: italic; }
.review-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 24px;
}
.review-dots button {
  width: 8px;
  height: 8px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  cursor: pointer;
}
.review-dots:empty { display: none; }
.review-dots button.is-active { background: var(--gold); }

.review-form-wrap { max-width: 600px; margin: 32px auto 0; }
.review-form-wrap[hidden] { display: none; }

/* ---------- Steps ---------- */

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  counter-reset: step;
}
.step {
  position: relative;
  padding: 28px 24px 24px;
  border-radius: var(--radius-md);
  background: var(--glass-panel);
  backdrop-filter: blur(40px);
  -webkit-backdrop-filter: blur(40px);
  border: 1px solid var(--glass-border);
}
.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--gold-soft);
  border: 1px solid rgba(216, 190, 68, 0.28);
  color: var(--gold);
  font-family: var(--font-head);
  font-weight: 700;
  margin-bottom: 16px;
}

/* ---------- About / split layout ---------- */

.split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 64px;
  align-items: center;
}
@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; }
}

.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.gallery img {
  border-radius: var(--radius-sm);
  aspect-ratio: 1;
  object-fit: cover;
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-sm);
}

/* ---------- Credentials ---------- */

.pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.pill-list li {
  background: var(--gold-soft);
  border: 1px solid rgba(216, 190, 68, 0.28);
  color: var(--gold-light);
  font-family: var(--font-head);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
}

/* ---------- Blog cards ---------- */

.post-card {
  background: var(--glass-panel);
  backdrop-filter: blur(40px);
  -webkit-backdrop-filter: blur(40px);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.post-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.post-card img { width: 100%; height: 170px; object-fit: cover; }
.post-card-body { padding: 22px 22px 26px; }
.post-cat {
  font-family: var(--font-head);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--gold);
  text-transform: uppercase;
}
.post-date { font-size: 0.8rem; color: var(--gray-400); margin-top: 10px; }

/* ---------- Contact ---------- */

.contact-wrap {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 56px;
  align-items: flex-start;
}
@media (max-width: 900px) {
  .contact-wrap { grid-template-columns: 1fr; }
}

.contact-info-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 26px;
}
.contact-info-item .card-icon { flex-shrink: 0; margin-bottom: 0; }
.contact-info-item h4 { color: var(--white); margin-bottom: 4px; font-size: 0.95rem; }
.contact-info-item p { margin: 0; color: var(--gray-600); font-size: 0.92rem; }

.social-row {
  display: flex;
  gap: 12px;
  margin-top: 8px;
}
.social-row a {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--gold-soft);
  border: 1px solid rgba(216, 190, 68, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  transition: background 0.2s ease, transform 0.2s ease;
}
.social-row a:hover { background: var(--gold); color: var(--navy); transform: translateY(-3px); }
.social-row svg { width: 18px; height: 18px; }

.form-card {
  background: var(--glass-panel);
  backdrop-filter: blur(40px);
  -webkit-backdrop-filter: blur(40px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-lg);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }

.field { margin-bottom: 18px; }
.field label {
  display: block;
  font-family: var(--font-head);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 6px;
}
.field input,
.field textarea {
  width: 100%;
  padding: 13px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--field-border);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--white);
  background: var(--field-bg);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
/* Native <select> option lists render muddy over a translucent bg —
   keep the select itself on a solid panel color. */
.field select {
  width: 100%;
  padding: 13px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--field-border);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--white);
  background: var(--panel-solid);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.field input::placeholder,
.field textarea::placeholder { color: var(--gray-400); }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: rgba(216, 190, 68, 0.3);
  box-shadow: 0 0 0 3px rgba(216, 190, 68, 0.1);
}
.field textarea { min-height: 130px; resize: vertical; }
.form-note { font-size: 0.8rem; color: var(--gray-400); margin-top: 12px; }
.form-status { font-size: 0.9rem; margin-top: 14px; font-weight: 600; display: none; }
.form-status.is-visible { display: block; }
.form-status.ok { color: #4ade80; }
.form-status.err { color: #f87171; }

/* ---------- Footer ---------- */

.site-footer {
  background: var(--panel-solid);
  color: var(--gray-600);
  padding: 64px 0 28px;
  border-top: 1px solid var(--glass-border);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 40px;
}
@media (max-width: 760px) {
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
}
.footer-grid h4 {
  color: var(--gold);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid li { margin-bottom: 10px; }
.footer-grid a:hover { color: var(--gold); }
.footer-logo {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--white);
  margin-bottom: 12px;
  display: inline-block;
}
.footer-logo span { color: var(--gold); }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.82rem;
}

/* ---------- Utility ---------- */

.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.stack-lg > * + * { margin-top: 28px; }

[data-include] { min-height: 1px; }
