/* ============================================================
   Nathan Laband — site styles
   Brand: Fraunces (display) + EB Garamond (body), warm Americana
   ============================================================ */

:root {
  --rust:        #A7451F;  /* primary accent */
  --gold:        #C2914A;  /* secondary accent */
  --gold-deep:   #9A6F2C;  /* gold on light bg */
  --ink:         #241B15;  /* body text */
  --muted:       #7C6E5C;  /* secondary text */
  --cream:       #F4EDE3;  /* text on dark */
  --bg-dark:     #1E1A14;  /* dark bands */
  --bg-card:     #2A2318;  /* dark cards */
  --bg-light:    #FDFAF5;  /* page bg */
  --border:      #D4C4A8;  /* rules */
  --maxw:        1080px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'EB Garamond', Georgia, serif;
  font-size: 1.18rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg-light);
}

h1, h2, h3, .display {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 600;
  line-height: 1.1;
  margin: 0 0 0.5em;
}

a { color: var(--rust); }

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

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

.section { padding: 84px 0; }
.section--tight { padding: 56px 0; }
.section h2 {
  font-size: 2.2rem;
  color: var(--rust);
  text-align: center;
  margin-bottom: 0.15em;
}
.section .kicker {
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.8rem;
  color: var(--gold-deep);
  font-family: 'EB Garamond', serif;
  margin-bottom: 2.2rem;
}

/* ---------- Top navigation ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(30,26,20,0.96);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(212,196,168,0.25);
}
.nav .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
}
.nav__brand {
  font-family: 'Fraunces', serif;
  font-size: 1.35rem;
  color: var(--cream);
  text-decoration: none;
  letter-spacing: 0.02em;
}
.nav__links { display: flex; gap: 26px; flex-wrap: wrap; }
.nav__links a {
  color: var(--cream);
  text-decoration: none;
  font-size: 1.02rem;
  letter-spacing: 0.02em;
  opacity: 0.85;
  transition: opacity 0.2s, color 0.2s;
}
.nav__links a:hover { opacity: 1; color: var(--gold); }
.nav__links a.is-active { color: var(--gold); opacity: 1; }

/* ---------- Hero ---------- */
.hero {
  background: var(--bg-dark);
  color: var(--cream);
  position: relative;
}
.hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  padding: 90px 0;
}
.hero__text h1 { font-size: 4rem; color: var(--cream); }
.hero__text .accent { color: var(--gold); }
.hero__text .tagline {
  font-size: 1.5rem;
  color: var(--cream);
  font-style: italic;
  opacity: 0.92;
  margin-top: 0.2em;
}
.hero__text .sub { color: #c9bda9; margin-top: 1.2rem; max-width: 32ch; }

/* photo frame (placeholder until a real photo is dropped in) */
.photo {
  border: 1px solid var(--border);
  background:
    repeating-linear-gradient(45deg, #2a2318, #2a2318 14px, #322a1d 14px, #322a1d 28px);
  border-radius: 4px;
  aspect-ratio: 4 / 5;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #b8a98f;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  overflow: hidden;
}
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo--wide { aspect-ratio: 16 / 10; }

/* ---------- Buttons ---------- */
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 1.6rem; }
.btn {
  display: inline-block;
  padding: 12px 22px;
  border-radius: 999px;
  text-decoration: none;
  font-family: 'EB Garamond', serif;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
  border: 1.5px solid var(--gold);
  color: var(--gold);
  background: transparent;
  transition: all 0.2s;
}
.btn:hover { background: var(--gold); color: var(--bg-dark); }
.btn--solid { background: var(--rust); border-color: var(--rust); color: var(--cream); }
.btn--solid:hover { background: #8d3917; border-color: #8d3917; color: var(--cream); }

/* ---------- Music ---------- */
.embeds { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.embed-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 20px;
}
.embed-card h3 {
  font-size: 1.2rem;
  color: var(--gold-deep);
  text-align: center;
  margin-bottom: 0.8rem;
}
.embed-card iframe { border-radius: 8px; width: 100%; border: 0; }
.placeholder-note {
  background: #fff7ec;
  border: 1px dashed var(--gold);
  border-radius: 8px;
  padding: 14px 16px;
  color: var(--muted);
  font-size: 0.98rem;
  text-align: center;
}

/* ---------- About ---------- */
.about { display: grid; grid-template-columns: 5fr 6fr; gap: 48px; align-items: center; }
.about p { margin-top: 0; }

/* ---------- Social ---------- */
.social-row { display: flex; justify-content: center; gap: 18px; flex-wrap: wrap; }
.social-row a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border: 1px solid var(--border);
  border-radius: 999px;
  text-decoration: none;
  color: var(--ink);
  background: #fff;
  transition: all 0.2s;
}
.social-row a:hover { border-color: var(--rust); color: var(--rust); }

/* ---------- Contact ---------- */
.contact { text-align: center; }
.contact .big-link {
  font-family: 'Fraunces', serif;
  font-size: 1.8rem;
  color: var(--rust);
  text-decoration: none;
  display: inline-block;
  margin: 0.2em 0;
}
.contact .big-link:hover { color: var(--gold-deep); }

/* ---------- Living Song specifics ---------- */
.band-dark { background: var(--bg-dark); color: var(--cream); }
.band-dark h2 { color: var(--gold); }
.band-dark .kicker { color: var(--gold); }

.ls-hero { text-align: center; padding: 78px 0 92px; }
.ls-title {
  font-family: 'Fraunces', serif;
  font-weight: 600;
  font-size: clamp(3rem, 11vw, 6.5rem);
  line-height: 0.95;
  letter-spacing: -0.015em;
  margin: 0;
}
.ls-title .t-gold { color: var(--gold); }
.ls-title .t-rust { color: var(--rust); }
.ls-subtitle {
  font-family: 'EB Garamond', serif;
  text-transform: uppercase;
  letter-spacing: 0.17em;
  font-weight: 500;
  font-size: 1.15rem;
  color: var(--gold);
  margin-top: 18px;
}
.ls-hero .tagline { font-style: italic; font-size: 1.6rem; color: var(--cream); margin-top: 12px; }
.ls-hero .premise {
  max-width: 60ch; margin: 1.6rem auto 0; font-size: 1.2rem; color: #d8ccb8;
}

/* About Nathan (Living Song page) */
.ls-about { display: grid; grid-template-columns: 4fr 7fr; gap: 40px; align-items: center; max-width: 920px; margin: 0 auto; }
.ls-about .photo { aspect-ratio: 4 / 5; }
.ls-about p { margin-top: 0; }
.ls-about p + p { margin-top: 1rem; }

/* "Watch" note (no content yet) */
.watch-note {
  max-width: 620px; margin: 0 auto; text-align: center;
  background: #fff; border: 1px dashed var(--gold); border-radius: 8px;
  padding: 26px 28px; color: var(--muted); font-size: 1.08rem;
}

/* TikTok feed */
.tiktok-wrap { display: flex; justify-content: center; margin-top: 28px; }

.arc { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.arc-card {
  background: #fff;
  border: 1px solid var(--border);
  border-top: 4px solid var(--rust);
  border-radius: 8px;
  padding: 22px 24px;
}
.arc-card .num {
  font-family: 'Fraunces', serif;
  color: var(--gold-deep);
  font-size: 0.95rem;
  letter-spacing: 0.1em;
}
.arc-card h3 { font-size: 1.3rem; color: var(--rust); margin: 0.2em 0 0.4em; }
.arc-card p { margin: 0; color: var(--muted); font-size: 1.02rem; }

.videos { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.video-card {
  background: #fff; border: 1px solid var(--border); border-radius: 8px; padding: 16px;
}
.video-frame {
  position: relative; padding-bottom: 56.25%; height: 0; border-radius: 6px; overflow: hidden;
  background: var(--bg-card);
}
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-frame .ph {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  color: #b8a98f; text-align: center; font-size: 0.95rem; padding: 20px;
}
.video-card .caption { margin: 0.7rem 0 0; text-align: center; color: var(--muted); }

.facts {
  max-width: 620px; margin: 0 auto; background: #fff; border: 1px solid var(--border);
  border-radius: 8px; padding: 28px 32px;
}
.facts dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 10px 22px; }
.facts dt { font-family: 'Fraunces', serif; color: var(--gold-deep); }
.facts dd { margin: 0; }

/* ---------- Footer ---------- */
.footer {
  background: var(--bg-dark);
  color: #cbbfa9;
  text-align: center;
  padding: 40px 0;
  font-size: 1rem;
}
.footer a { color: var(--gold); text-decoration: none; }
.footer .brand { font-family: 'Fraunces', serif; color: var(--cream); font-size: 1.2rem; }

/* ---------- Editor hint (only visible in this draft) ---------- */
.edit-hint {
  background: #fff7ec; border: 1px dashed var(--gold); color: #8a6a2e;
  border-radius: 8px; padding: 12px 16px; font-size: 0.95rem; margin: 0 auto 0;
  max-width: var(--maxw);
}

/* ---------- Responsive ---------- */
@media (max-width: 820px) {
  body { font-size: 1.1rem; }
  .hero__inner { grid-template-columns: 1fr; gap: 30px; padding: 60px 0; }
  .hero__text h1 { font-size: 2.9rem; }
  .about { grid-template-columns: 1fr; gap: 28px; }
  .embeds, .videos { grid-template-columns: 1fr; }
  .arc { grid-template-columns: 1fr; }
  .nav .wrap { flex-direction: column; align-items: flex-start; gap: 8px; padding-top: 10px; padding-bottom: 10px; }
  .nav__links { gap: 16px; }
  .section { padding: 60px 0; }
}

/* ---------- Mobile hardening ---------- */
html, body { overflow-x: hidden; max-width: 100%; }
iframe { max-width: 100%; }
.tiktok-wrap { width: 100%; overflow-x: auto; }
.tiktok-embed { max-width: 100% !important; min-width: 0 !important; }
.embed-card, .video-card { overflow: hidden; }

@media (max-width: 820px) {
  .ls-about { grid-template-columns: 1fr; gap: 24px; max-width: 460px; }
  .ls-about .photo { max-width: 320px; margin: 0 auto; }
  .hero .photo { max-width: 360px; margin: 0 auto; }
  .hero__text { text-align: center; }
  .hero__text .sub { margin-left: auto; margin-right: auto; }
  .hero .btn-row { justify-content: center; }
  .nav .wrap { flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px 18px; }
  .nav__brand { width: 100%; text-align: center; }
}

@media (max-width: 480px) {
  body { font-size: 1.05rem; }
  .wrap { padding: 0 18px; }
  .section { padding: 46px 0; }
  .section h2 { font-size: 1.85rem; }
  .hero__inner { padding: 44px 0; }
  .hero__text h1 { font-size: 2.2rem; }
  .hero__text .tagline { font-size: 1.2rem; }
  .ls-subtitle { letter-spacing: 0.12em; font-size: 1rem; }
  .btn { padding: 10px 18px; font-size: 1rem; }
  .contact .big-link { font-size: 1.35rem; word-break: break-word; }
}
