/*
Theme Name: Coach Brendan Chess
Theme URI: https://coachbrendanchess.com
Author: Max
Description: Premium, minimal landing theme for Coach Brendan Chess — Apple-style typography and whitespace.
Version: 2.0
License: GNU General Public License v2 or later
Text Domain: coachbrendan
*/

/* ── Base ─────────────────────────────────────────────── */
:root {
  --ink: #14213d;
  --ink-deep: color-mix(in srgb, var(--ink) 86%, black);
  --text: #3d4756;
  --muted: #6e7480;
  --gold: #fca311;
  --gold-dark: color-mix(in srgb, var(--gold) 82%, black);
  --bg: #ffffff;
  --bg-soft: #f5f5f7;
  --line: #e8e8ed;
  --radius: 22px;
  --radius-sm: 13px;
  --shadow: 0 24px 70px rgba(20, 33, 61, 0.12);
  --font-head: 'Newsreader', Georgia, 'Times New Roman', serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 {
  font-family: var(--font-head);
  color: var(--ink);
  line-height: 1.08;
  font-weight: 500;
  letter-spacing: -0.02em;
}
.container { max-width: 1120px; margin: 0 auto; padding: 0 28px; }
.section { padding: 140px 0; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 22px;
}

/* ── Header ───────────────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; gap: 28px; height: 144px; }
.nav__brand { display: flex; align-items: center; gap: 16px; font-weight: 700; font-size: 20px; color: var(--ink); letter-spacing: -0.01em; }
.nav__logo { height: 120px; width: auto; border-radius: 14px; object-fit: contain; flex-shrink: 0; }
.nav__links { display: flex; gap: 30px; margin-left: auto; align-items: center; }
.nav__links a { color: var(--muted); font-weight: 500; font-size: 15px; transition: color .15s ease; }
.nav__links a:hover { color: var(--ink); }

.btn {
  display: inline-block;
  font-family: var(--font-body);
  background: var(--gold); color: var(--ink);
  font-weight: 600; padding: 14px 32px; border-radius: 999px; font-size: 16px;
  border: none; cursor: pointer;
  transition: transform .18s ease, background .18s ease, box-shadow .18s ease;
  box-shadow: 0 6px 18px rgba(252, 163, 17, 0.32);
}
.btn:hover { transform: translateY(-2px); background: var(--gold-dark); color: #fff; }
.btn--ink { background: var(--ink); color: #fff; box-shadow: 0 6px 18px rgba(20, 33, 61, 0.28); }
.btn--ink:hover { background: var(--ink-deep); color: #fff; }

/* ── Hero ─────────────────────────────────────────────── */
.hero {
  position: relative;
  text-align: center;
  padding: 150px 0 140px;
  overflow: hidden;
}
.hero__inner { max-width: 840px; margin: 0 auto; }
.hero h1 {
  font-size: clamp(48px, 8vw, 92px);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.04;
  margin: 0 auto 30px;
  max-width: 840px;
}
.hero__sub {
  font-size: 21px;
  color: var(--muted);
  max-width: 560px;
  margin: 0 auto 42px;
}

/* Split — text left + rectangle photo right */
.hero--split { text-align: left; }
.hero--split .hero__inner {
  max-width: 1120px;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 72px;
  align-items: center;
}
.hero--split h1 { margin: 0 0 30px; }
.hero--split .hero__sub { margin: 0 0 42px; }
.hero__img {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

/* ── Gallery ───────────────────────────────────────────── */
.gallery__head { text-align: center; max-width: 640px; margin: 0 auto 56px; }
.gallery__head h2 { font-size: clamp(32px, 4vw, 48px); margin: 0; }
.gallery__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.gallery__img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
}
.gallery__img--empty {
  display: flex; align-items: center; justify-content: center;
  background: var(--bg-soft);
  border: 1px dashed var(--line);
  color: var(--muted);
  font-size: 13px;
}

/* ── About ────────────────────────────────────────────── */
.about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 88px;
  align-items: center;
}
.about__media { display: flex; justify-content: center; }
.about__img {
  width: 100%; max-width: 480px;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.about__img--empty {
  display: flex; align-items: center; justify-content: center;
  background: var(--ink); color: var(--gold);
  font-family: var(--font-head); font-size: 72px;
}
.about h2 { font-size: clamp(34px, 4.5vw, 56px); margin: 0 0 24px; }
.about p { font-size: 18px; color: var(--text); margin-bottom: 20px; }
.about p:last-child { margin-bottom: 0; }

/* ── Get Started ──────────────────────────────────────── */
.gs {
  background: var(--ink);
  color: #fff;
  text-align: center;
  padding: 140px 0;
}
.gs .eyebrow { color: var(--gold); }
.gs h2 {
  color: #fff;
  font-size: clamp(34px, 4.5vw, 56px);
  margin: 0 auto 22px;
  max-width: 720px;
}
.gs__sub { color: rgba(255, 255, 255, 0.72); font-size: 19px; max-width: 520px; margin: 0 auto 52px; }
.gs__qr {
  width: 224px; height: 224px; flex-shrink: 0;
  background: #fff; border-radius: 18px; padding: 12px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  margin: 0 auto;
}
.gs__qr img { width: 100%; height: 100%; object-fit: contain; }
.gs__qr--empty {
  color: var(--ink); font-weight: 700; font-size: 15px;
  display: flex; align-items: center; justify-content: center; height: 100%;
}
.gs__note { color: rgba(255, 255, 255, 0.65); font-size: 15px; margin-top: 28px; }

/* ── Footer ───────────────────────────────────────────── */
.site-footer {
  background: var(--bg-soft);
  border-top: 1px solid var(--line);
  padding: 56px 0;
  text-align: center;
}
.site-footer .brand { font-family: var(--font-head); font-size: 22px; color: var(--ink); }
.site-footer .tagline { color: var(--muted); font-size: 15px; margin-top: 8px; }
.site-footer .copy { color: var(--muted); font-size: 13px; margin-top: 22px; }

/* ── Responsive ───────────────────────────────────────── */
@media (max-width: 800px) {
  .section { padding: 84px 0; }
  .hero { padding: 110px 0 96px; }
  .gs { padding: 84px 0; }
  .about { grid-template-columns: 1fr; gap: 48px; }
  .hero--split .hero__inner { grid-template-columns: 1fr; gap: 40px; }
  .gallery__grid { grid-template-columns: repeat(2, 1fr); }
  .nav__links a:not(.btn) { display: none; }
  .hero h1 { font-size: 42px; }
  .about h2, .gs h2 { font-size: 34px; }
}
