/* ============================================================
   Tom Collins | tomcollinsbanjo.com
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;0,700;1,300;1,400&family=DM+Sans:wght@300;400;500&display=swap');

/* --- Tokens --- */
:root {
  --bg:         #0e0f13;
  --surface:    #161820;
  --ink:        #e8e4dc;
  --ink-dim:    rgba(232, 228, 220, 0.55);
  --slate:      #4a6fa5;
  --slate-hover: #3a5a8a;
  --tan:        #9e845f;
  --border:     #252730;
  --white:      #ffffff;
  --nav-h:      64px;
}

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: 'DM Sans', sans-serif;
  font-weight: 300;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

/* --- Nav --- */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 48px;
  z-index: 100;
}

.nav-brand {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  font-size: 1.1rem;
  letter-spacing: 0.04em;
  color: var(--ink);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
}

.nav-links a {
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink);
  opacity: 0.5;
  transition: opacity 0.2s;
}

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

.nav-cta {
  display: inline-block;
  padding: 8px 20px;
  background: var(--slate);
  color: var(--white) !important;
  opacity: 1 !important;
  font-size: 0.78rem !important;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: background 0.2s !important;
}

.nav-cta:hover { background: var(--slate-hover) !important; }

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  flex-direction: column;
  gap: 5px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--ink);
  transition: transform 0.3s, opacity 0.3s;
}

/* --- Page offset for fixed nav --- */
.page-top { padding-top: var(--nav-h); }

/* ============================================================
   HOME PAGE - HERO (full bleed)
   ============================================================ */

.hero {
  position: relative;
  height: 85vh;
  min-height: 560px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 38% top;
  display: block;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  /* Bottom-up gradient -- photo stays clean on face, darkens into text area */
  background: linear-gradient(
    to top,
    rgba(14, 15, 19, 0.92) 0%,
    rgba(14, 15, 19, 0.65) 30%,
    rgba(14, 15, 19, 0.15) 55%,
    rgba(14, 15, 19, 0.0) 75%
  );
}

.hero-overlay::after {
  content: none;
}

.hero-text {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 50%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0 80px 72px 48px;
}

.hero-eyebrow {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--tan);
  margin-bottom: 20px;
}

.hero-name {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: clamp(4rem, 6vw, 7.5rem);
  line-height: 0.92;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin-bottom: 28px;
}

.hero-name em {
  font-style: italic;
  font-weight: 300;
}

.hero-tagline {
  font-size: 1.05rem;
  font-weight: 300;
  line-height: 1.7;
  color: var(--ink);
  opacity: 0.65;
  max-width: 360px;
  margin-bottom: 40px;
  border-left: 2px solid var(--tan);
  padding-left: 20px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-block;
  padding: 14px 32px;
  background: var(--slate);
  color: var(--white);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: background 0.2s;
}

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

.btn-secondary {
  display: inline-block;
  padding: 13px 32px;
  border: 1px solid var(--border);
  color: var(--ink);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: border-color 0.2s;
}

.btn-secondary:hover { border-color: rgba(232,228,220,0.4); }

/* --- About Section (Home) --- */
.section {
  padding: 96px 48px;
  max-width: 1200px;
  margin: 0 auto;
}

.section-divider {
  height: 1px;
  background: var(--border);
  max-width: calc(1200px - 96px);
  margin: 0 auto;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  align-items: start;
}

.about-label {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--tan);
  margin-bottom: 20px;
}

.about-headline {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  font-size: clamp(2rem, 3vw, 2.8rem);
  line-height: 1.15;
  color: var(--ink);
  margin-bottom: 28px;
}

.about-headline em {
  font-style: italic;
  font-weight: 300;
}

.about-body p {
  margin-bottom: 20px;
  color: var(--ink-dim);
}

.about-body p:last-child { margin-bottom: 0; }

.about-body strong {
  font-weight: 500;
  color: var(--ink);
}

/* --- Banjo Quest CTA Section --- */
.bq-section {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 96px 48px;
  text-align: center;
}

.bq-label {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--tan);
  margin-bottom: 20px;
}

.bq-headline {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: clamp(2.4rem, 4vw, 3.6rem);
  line-height: 1.1;
  color: var(--ink);
  margin-bottom: 24px;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

.bq-headline em { font-style: italic; }

.bq-body {
  font-size: 1rem;
  color: var(--ink-dim);
  max-width: 520px;
  margin: 0 auto 40px;
  line-height: 1.7;
}

.btn-gold {
  display: inline-block;
  padding: 14px 36px;
  background: transparent;
  border: 1px solid var(--tan);
  color: var(--tan);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: background 0.2s, color 0.2s;
}

.btn-gold:hover {
  background: var(--tan);
  color: var(--bg);
}

/* ============================================================
   VIDEO PAGES (Listen / Learn)
   ============================================================ */

.page-header {
  padding: 72px 48px 48px;
  max-width: 1200px;
  margin: 0 auto;
  border-bottom: 1px solid var(--border);
}

.page-header-label {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--tan);
  margin-bottom: 16px;
}

.page-header-title {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: clamp(2.4rem, 4vw, 3.6rem);
  line-height: 1.1;
  color: var(--ink);
}

.page-header-title em { font-style: italic; }

.page-header-body {
  margin-top: 20px;
  font-size: 1rem;
  color: var(--ink-dim);
  max-width: 560px;
  line-height: 1.7;
}

.video-grid {
  padding: 64px 48px;
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(480px, 1fr));
  gap: 48px;
}

.video-embed {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  background: var(--surface);
}

.video-embed iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.video-caption {
  margin-top: 14px;
}

.video-caption h3 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  font-size: 1.15rem;
  margin-bottom: 4px;
  color: var(--ink);
}

.video-caption p {
  font-size: 0.85rem;
  color: var(--ink-dim);
}

/* ============================================================
   ABOUT PAGE
   ============================================================ */

.about-page {
  max-width: 1200px;
  margin: 0 auto;
  padding: 72px 48px;
}

.about-page-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 96px;
  align-items: start;
}

.about-page-photo {
  position: sticky;
  top: calc(var(--nav-h) + 32px);
  align-self: center;
}

.about-page-photo img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  object-position: 40% top;
}

.about-page-content .about-label { margin-bottom: 24px; }

.about-page-content h1 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: clamp(2.4rem, 3.5vw, 3.2rem);
  line-height: 1.1;
  margin-bottom: 40px;
  color: var(--ink);
}

.about-page-content h1 em { font-style: italic; }

.about-page-content p {
  margin-bottom: 20px;
  color: var(--ink-dim);
  line-height: 1.75;
}

.about-page-content p strong {
  font-weight: 500;
  color: var(--ink);
}

.about-page-content p:last-child { margin-bottom: 0; }

.about-page-content a {
  color: var(--tan);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ============================================================
   CONTACT PAGE
   ============================================================ */

.contact-hero {
  width: 100%;
  height: 40vh;
  min-height: 260px;
  overflow: hidden;
}

.contact-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 60%;
  display: block;
}

.contact-page {
  max-width: 720px;
  margin: 0 auto;
  padding: 72px 48px;
}

.contact-page .about-label { margin-bottom: 24px; }

.contact-page h1 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: clamp(2.4rem, 3.5vw, 3.2rem);
  line-height: 1.1;
  margin-bottom: 40px;
  color: var(--ink);
}

.contact-page h1 em { font-style: italic; }

.contact-block {
  margin-bottom: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--border);
}

.contact-block:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.contact-block-label {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--tan);
  margin-bottom: 12px;
}

.contact-block a {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 4px;
  transition: color 0.2s;
}

.contact-block a:hover { color: var(--tan); }

.contact-block p {
  color: var(--ink-dim);
  margin-top: 8px;
  font-size: 0.95rem;
}

/* ============================================================
   FOOTER
   ============================================================ */

footer {
  border-top: 1px solid var(--border);
  padding: 40px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.footer-brand {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.04em;
  color: var(--ink);
}

.footer-links {
  display: flex;
  gap: 28px;
  list-style: none;
}

.footer-links a {
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-dim);
  transition: color 0.2s;
}

.footer-links a:hover { color: var(--ink); }

.footer-copy {
  font-size: 0.78rem;
  color: var(--ink-dim);
  opacity: 0.5;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 900px) {
  nav { padding: 0 24px; }

  .nav-links { display: none; flex-direction: column; gap: 0; }
  .nav-links.open {
    display: flex;
    position: fixed;
    top: var(--nav-h);
    left: 0; right: 0;
    background: var(--bg);
    padding: 24px;
    border-bottom: 1px solid var(--border);
    gap: 8px;
  }
  .nav-links.open li { width: 100%; }
  .nav-links.open a { display: block; padding: 10px 0; font-size: 0.9rem; }
  .nav-links.open .nav-cta { display: inline-block; margin-top: 12px; }

  .nav-toggle { display: flex; }

  .hero {
    height: 85vh;
    min-height: 560px;
  }

  .hero-bg {
    object-position: 38% 15%;
  }

  .hero-text {
    width: 60%;
    right: 0;
    left: auto;
    padding: 0 20px 56px 16px;
    justify-content: flex-end;
    align-items: flex-start;
  }

  .hero-eyebrow {
    display: none;
  }

  .hero-overlay {
    /* Mobile: gradient starts higher, covers face/text overlap zone */
    background: linear-gradient(
      to top,
      rgba(14, 15, 19, 0.97) 0%,
      rgba(14, 15, 19, 0.90) 30%,
      rgba(14, 15, 19, 0.55) 55%,
      rgba(14, 15, 19, 0.0) 75%
    );
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .section { padding: 64px 24px; }
  .section-divider { margin: 0 24px; max-width: none; }

  .bq-section { padding: 72px 24px; }

  .video-grid {
    grid-template-columns: 1fr;
    padding: 48px 24px;
    gap: 40px;
  }

  .page-header { padding: 48px 24px 40px; }

  .about-page { padding: 48px 24px; }
  .about-page-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .about-page-photo { position: static; }
  .about-page-photo img { aspect-ratio: 4/3; }

  .contact-page { padding: 48px 24px; }

  footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    padding: 32px 24px;
  }

  .footer-links { flex-wrap: wrap; gap: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; }
}
