/* ============================================
   GARY PLAYER — BLACK KNIGHT
   Online golf equipment & apparel
   ============================================ */

:root {
  --black: #0a0a0c;
  --black-2: #101014;
  --black-3: #16161c;
  --black-4: #1e1e26;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.16);
  --white: #f5f3ee;
  --grey: #a8a6a0;
  --grey-dim: #6e6c66;
  --gold: #cbb26a;
  --gold-bright: #e3cd8c;
  --gold-dim: rgba(203, 178, 106, 0.14);
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Jost", "Helvetica Neue", Arial, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--black);
  color: var(--white);
  font-family: var(--sans);
  font-weight: 300;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.wrap { max-width: 1180px; margin: 0 auto; padding: 0 28px; }

/* ---------- Typography ---------- */
h1, h2, h3, .serif {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: 0.01em;
}

.eyebrow {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
}

.section-title { font-size: clamp(2rem, 4.2vw, 3.1rem); margin-bottom: 20px; }
.section-lead { color: var(--grey); max-width: 620px; font-size: 1.05rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 16px 36px;
  border: 1px solid var(--gold);
  color: var(--gold-bright);
  background: transparent;
  cursor: pointer;
  transition: background 0.3s, color 0.3s;
}
.btn:hover { background: var(--gold); color: var(--black); }

.btn-solid { background: var(--gold); color: var(--black); }
.btn-solid:hover { background: var(--gold-bright); }

.btn-ghost { border-color: var(--line-strong); color: var(--white); }
.btn-ghost:hover { border-color: var(--gold); background: transparent; color: var(--gold-bright); }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(10, 10, 12, 0.88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}
.brand { display: flex; align-items: center; gap: 14px; }
.brand-mark { width: 38px; height: 38px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name {
  font-family: var(--serif);
  font-size: 1.28rem;
  letter-spacing: 0.06em;
}
.brand-sub {
  font-size: 0.58rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--gold);
}

.nav { display: flex; align-items: center; gap: 36px; }
.nav a {
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--grey);
  transition: color 0.25s;
  padding: 6px 0;
}
.nav a:hover, .nav a.active { color: var(--gold-bright); }
.nav .nav-cta {
  border: 1px solid var(--gold);
  color: var(--gold-bright);
  padding: 10px 22px;
  transition: background 0.3s, color 0.3s;
}
.nav .nav-cta:hover { background: var(--gold); color: var(--black); }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  width: 24px; height: 1.5px;
  background: var(--white);
  margin: 6px 0;
  transition: 0.3s;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  padding: 150px 0 90px;
  overflow: hidden;
  background:
    radial-gradient(ellipse 60% 50% at 78% 38%, rgba(203, 178, 106, 0.10), transparent 65%),
    radial-gradient(ellipse 50% 60% at 15% 80%, rgba(203, 178, 106, 0.05), transparent 60%),
    var(--black);
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 90px 90px;
  opacity: 0.25;
  mask-image: radial-gradient(ellipse 70% 70% at 50% 40%, black, transparent);
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 50% 40%, black, transparent);
  pointer-events: none;
}
.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 60px;
  align-items: center;
}
.hero h1 {
  font-size: clamp(2.8rem, 6vw, 4.8rem);
  margin-bottom: 26px;
}
.hero h1 em { font-style: italic; color: var(--gold-bright); }
.hero-lead {
  color: var(--grey);
  font-size: 1.12rem;
  max-width: 540px;
  margin-bottom: 40px;
}
.hero-ctas { display: flex; gap: 18px; flex-wrap: wrap; }

.hero-knight {
  display: flex;
  justify-content: center;
  align-items: center;
}
.hero-knight svg { width: min(320px, 70vw); height: auto; opacity: 0.92; }

/* ---------- Stats bar ---------- */
.stats-bar {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--black-2);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.stat {
  padding: 38px 20px;
  text-align: center;
  border-right: 1px solid var(--line);
}
.stat:last-child { border-right: none; }
.stat-num {
  font-family: var(--serif);
  font-size: 2.6rem;
  color: var(--gold-bright);
  line-height: 1;
}
.stat-label {
  font-size: 0.7rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--grey-dim);
  margin-top: 10px;
}

/* ---------- Sections ---------- */
.section { padding: 110px 0; }
.section-dark { background: var(--black-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { margin-bottom: 60px; }
.section-head.center { text-align: center; }
.section-head.center .section-lead { margin: 0 auto; }

/* ---------- Category cards ---------- */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.cat-card {
  position: relative;
  background: var(--black-3);
  border: 1px solid var(--line);
  padding: 44px 30px 38px;
  transition: border-color 0.3s, transform 0.3s;
  display: flex;
  flex-direction: column;
}
.cat-card:hover { border-color: var(--gold); transform: translateY(-4px); }
.cat-icon { width: 44px; height: 44px; margin-bottom: 26px; color: var(--gold); }
.cat-icon svg { width: 100%; height: 100%; }
.cat-card h3 { font-size: 1.45rem; margin-bottom: 12px; }
.cat-card p { color: var(--grey); font-size: 0.92rem; flex: 1; }
.cat-link {
  margin-top: 26px;
  font-size: 0.72rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold);
}
.cat-link::after { content: " →"; }

/* ---------- Product cards ---------- */
.shop-subnav {
  position: sticky;
  top: 76px;
  z-index: 50;
  background: rgba(10, 10, 12, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.shop-subnav-inner {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 0 28px;
}
.shop-subnav a {
  white-space: nowrap;
  font-size: 0.74rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--grey);
  padding: 18px 18px;
  border-bottom: 2px solid transparent;
  transition: color 0.25s, border-color 0.25s;
}
.shop-subnav a:hover, .shop-subnav a.active { color: var(--gold-bright); border-bottom-color: var(--gold); }

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.product-card {
  background: var(--black-3);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  transition: border-color 0.3s, transform 0.3s;
}
.product-card:hover { border-color: var(--gold); transform: translateY(-3px); }
.product-visual {
  height: 230px;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(ellipse 70% 60% at 50% 45%, rgba(203, 178, 106, 0.10), transparent 70%),
    var(--black-4);
  border-bottom: 1px solid var(--line);
  position: relative;
}
.product-visual svg { width: 96px; height: 96px; color: var(--gold); opacity: 0.85; }
.product-tag {
  position: absolute;
  top: 14px; left: 14px;
  font-size: 0.62rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold-bright);
  background: var(--gold-dim);
  border: 1px solid rgba(203, 178, 106, 0.35);
  padding: 5px 10px;
}
.product-body { padding: 26px 26px 28px; display: flex; flex-direction: column; flex: 1; }
.product-body h3 { font-size: 1.3rem; margin-bottom: 8px; }
.product-body p { color: var(--grey); font-size: 0.88rem; flex: 1; }
.product-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.product-price { font-family: var(--serif); font-size: 1.3rem; color: var(--gold-bright); }
.product-inquire {
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--white);
  border: 1px solid var(--line-strong);
  padding: 9px 18px;
  transition: border-color 0.3s, color 0.3s;
}
.product-inquire:hover { border-color: var(--gold); color: var(--gold-bright); }

.shop-section { padding: 90px 0 30px; scroll-margin-top: 130px; }
.shop-section:last-of-type { padding-bottom: 110px; }
.shop-section .section-head { margin-bottom: 44px; }
.shop-section .section-title { font-size: clamp(1.7rem, 3.2vw, 2.4rem); }

/* ---------- Legacy / story ---------- */
.story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}
.story-grid p { color: var(--grey); margin-bottom: 18px; }
.story-grid p strong { color: var(--white); font-weight: 400; }

.quote-block {
  border-left: 2px solid var(--gold);
  padding: 10px 0 10px 34px;
}
.quote-block blockquote {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 2.6vw, 2.1rem);
  font-style: italic;
  line-height: 1.35;
  color: var(--white);
}
.quote-block cite {
  display: block;
  margin-top: 18px;
  font-family: var(--sans);
  font-style: normal;
  font-size: 0.74rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--gold);
}

/* Timeline */
.timeline { position: relative; max-width: 760px; margin: 0 auto; }
.timeline::before {
  content: "";
  position: absolute;
  left: 130px;
  top: 0; bottom: 0;
  width: 1px;
  background: var(--line-strong);
}
.tl-item {
  position: relative;
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 62px;
  padding: 26px 0;
}
.tl-item::before {
  content: "";
  position: absolute;
  left: 126px;
  top: 40px;
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 5px var(--black);
}
.tl-year {
  font-family: var(--serif);
  font-size: 1.6rem;
  color: var(--gold-bright);
  text-align: right;
}
.tl-item h3 { font-size: 1.25rem; margin-bottom: 6px; }
.tl-item p { color: var(--grey); font-size: 0.92rem; }

/* Majors table */
.majors-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
  max-width: 880px;
  margin: 0 auto;
}
.major-card {
  background: var(--black-3);
  border: 1px solid var(--line);
  padding: 32px 34px;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 20px;
}
.major-card h3 { font-size: 1.3rem; }
.major-years { font-family: var(--serif); color: var(--gold-bright); font-size: 1.05rem; white-space: nowrap; }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative;
  padding: 110px 0;
  text-align: center;
  background:
    radial-gradient(ellipse 55% 80% at 50% 100%, rgba(203, 178, 106, 0.12), transparent 70%),
    var(--black-2);
  border-top: 1px solid var(--line);
}
.cta-band h2 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 18px; }
.cta-band p { color: var(--grey); max-width: 540px; margin: 0 auto 38px; }

/* ---------- Forms ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 70px;
  align-items: start;
}
.contact-info h2 { font-size: clamp(1.9rem, 3.4vw, 2.7rem); margin-bottom: 20px; }
.contact-info p { color: var(--grey); margin-bottom: 30px; }
.contact-meta { border-top: 1px solid var(--line); padding-top: 26px; }
.contact-meta li { display: flex; gap: 14px; margin-bottom: 16px; color: var(--grey); font-size: 0.92rem; }
.contact-meta li span:first-child { color: var(--gold); min-width: 90px; font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase; padding-top: 3px; }

.form-tabs { display: flex; gap: 8px; margin-bottom: 34px; flex-wrap: wrap; }
.form-tab {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--grey);
  background: transparent;
  border: 1px solid var(--line-strong);
  padding: 12px 20px;
  cursor: pointer;
  transition: all 0.25s;
}
.form-tab.active { border-color: var(--gold); color: var(--gold-bright); background: var(--gold-dim); }

.form-panel { display: none; }
.form-panel.active { display: block; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { margin-bottom: 18px; }
.field label {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--grey-dim);
  margin-bottom: 8px;
}
.field input, .field select, .field textarea {
  width: 100%;
  background: var(--black-3);
  border: 1px solid var(--line-strong);
  color: var(--white);
  font-family: var(--sans);
  font-size: 0.95rem;
  font-weight: 300;
  padding: 14px 16px;
  transition: border-color 0.25s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--gold);
}
.field textarea { min-height: 130px; resize: vertical; }
.field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%23cbb26a'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
}
.form-note { font-size: 0.8rem; color: var(--grey-dim); margin-top: 16px; }

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--line);
  background: var(--black-2);
  padding: 70px 0 36px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 50px;
}
.footer-brand p { color: var(--grey-dim); font-size: 0.88rem; max-width: 300px; margin-top: 16px; }
.footer-col h4 {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
}
.footer-col li { margin-bottom: 10px; }
.footer-col a { color: var(--grey); font-size: 0.9rem; transition: color 0.25s; }
.footer-col a:hover { color: var(--gold-bright); }
.footer-bottom {
  border-top: 1px solid var(--line);
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 0.78rem;
  color: var(--grey-dim);
}

/* ---------- Page hero (interior pages) ---------- */
.page-hero {
  padding: 170px 0 80px;
  background:
    radial-gradient(ellipse 55% 65% at 75% 20%, rgba(203, 178, 106, 0.09), transparent 65%),
    var(--black);
  border-bottom: 1px solid var(--line);
}
.page-hero h1 { font-size: clamp(2.4rem, 5vw, 3.8rem); margin-bottom: 18px; }
.page-hero p { color: var(--grey); max-width: 600px; font-size: 1.08rem; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: none; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-knight { display: none; }
  .story-grid, .contact-grid { grid-template-columns: 1fr; gap: 50px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .nav {
    position: fixed;
    top: 76px; left: 0; right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background: var(--black-2);
    border-bottom: 1px solid var(--line);
    padding: 12px 28px 24px;
    display: none;
  }
  .nav.open { display: flex; }
  .nav a { padding: 14px 0; width: 100%; }
  .nav .nav-cta { margin-top: 10px; text-align: center; }
  .nav-toggle { display: block; }
  .product-grid { grid-template-columns: 1fr; }
  .cat-grid { grid-template-columns: 1fr; }
  .majors-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .timeline::before { left: 8px; }
  .tl-item { grid-template-columns: 1fr; gap: 8px; padding-left: 36px; }
  .tl-item::before { left: 4px; }
  .tl-year { text-align: left; }
  .section { padding: 80px 0; }
}
