/* ─────────────────────────────────────────────
   FRANKLY JACK — franklyjack.com (rebuild, 2026-10-01)
   Preservation rebuild of the original site.
   Design tokens lifted from the original build:
   near-black grounds, cream type, gold accents,
   burgundy feature sections, Georgia serif headlines.
   ───────────────────────────────────────────── */

:root {
  --ink: #050505;
  --ink-2: #0b0a09;
  --ink-3: #15110f;
  --cream: #f2eadc;
  --cream-dim: #d8cbb8;
  --muted: #8f8171;
  --gold: #c5a35a;
  --wine: #6d263d;
  --serif: Georgia, "Times New Roman", serif;
  --sans: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--ink);
  color: var(--cream);
  font-family: var(--sans);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.08; }

/* ── Header ── */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.9rem 1.5rem;
  background: rgba(5, 5, 5, 0.88);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(197, 163, 90, 0.18);
}
.wordmark img { height: 44px; width: auto; }
.site-header nav { display: flex; align-items: center; gap: 1.4rem; }
.site-header nav a {
  text-decoration: none; font-size: 0.78rem; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--cream-dim);
}
.site-header nav a:hover { color: var(--gold); }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 0.5rem; }
.nav-toggle span { display: block; width: 26px; height: 2px; background: var(--gold); margin: 6px 0; }
.nav-cta {
  border: 1px solid var(--gold); color: var(--gold) !important;
  padding: 0.5rem 1rem; border-radius: 2px;
}
.nav-cta:hover { background: var(--gold); color: var(--ink) !important; }

/* ── Hero ── */
.hero {
  position: relative; min-height: 100svh;
  display: flex; align-items: flex-end;
  overflow: hidden;
}
.hero-photo {
  position: absolute; inset: 0;
  background: url("assets/jack-at-piano.jpg") center 30% / cover no-repeat;
}
.hero-shade {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(5,5,5,0.96) 8%, rgba(5,5,5,0.45) 45%, rgba(5,5,5,0.25) 100%);
}
.hero-copy { position: relative; padding: 7rem 1.5rem 3rem; max-width: 62rem; }
.eyebrow {
  color: var(--gold); font-size: 0.8rem; letter-spacing: 0.18em;
  text-transform: uppercase; margin-bottom: 1.2rem;
}
.hero-copy h1 { font-size: clamp(2.6rem, 7vw, 5rem); margin-bottom: 1.2rem; }
.hero-lede { font-size: 1.1rem; color: var(--cream-dim); max-width: 34rem; margin-bottom: 2rem; }
.hero-actions { display: flex; align-items: center; gap: 1.6rem; flex-wrap: wrap; }
.hero-note {
  position: relative; padding: 0 1.5rem 2rem;
  color: var(--muted); font-size: 0.85rem; letter-spacing: 0.08em;
}

/* ── Buttons / links ── */
.button {
  display: inline-block; text-decoration: none; cursor: pointer;
  font-family: var(--sans); font-size: 0.95rem;
  padding: 0.85rem 1.6rem; border-radius: 2px;
  border: 1px solid var(--gold);
}
.button-primary { background: var(--gold); color: var(--ink); font-weight: 600; }
.button-primary:hover { background: #d8b76e; }
.text-link { color: var(--cream-dim); text-decoration: none; font-size: 0.95rem; }
.text-link:hover { color: var(--gold); }

/* ── Sections ── */
.section { padding: 5.5rem 1.5rem; max-width: 62rem; margin: 0 auto; }
.section-number {
  color: var(--gold); font-size: 0.8rem; letter-spacing: 0.2em;
  text-transform: uppercase; margin-bottom: 1.4rem;
}
.section h2 { font-size: clamp(2rem, 5vw, 3.4rem); margin-bottom: 1.4rem; }
.section-body { color: var(--cream-dim); font-size: 1.05rem; max-width: 40rem; margin-bottom: 1rem; }

/* ── Record shelf ── */
.section-record { background: var(--ink-2); max-width: none; }
.section-record > * { max-width: 62rem; margin-left: auto; margin-right: auto; }
.record-kicker { color: var(--gold); font-family: var(--serif); font-style: italic; font-size: 1.15rem; margin-bottom: 2rem; }
.record-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 2.5rem; align-items: start; }
.record-cover { border: 1px solid rgba(197,163,90,0.25); }
.record-title { font-size: clamp(2.4rem, 5vw, 3.6rem); margin-bottom: 1.2rem; }
.record-cta { color: var(--gold); font-family: var(--serif); font-style: italic; font-size: 1.1rem; margin: 1.4rem 0; }
.section-record video { width: 100%; border: 1px solid rgba(197,163,90,0.25); background: #000; }
.record-track { margin-top: 3.5rem; padding-top: 3rem; border-top: 1px solid rgba(197,163,90,0.25); }

/* ── This Prison custom player ── */
.tp-player { border: 1px solid rgba(197,163,90,0.25); background: #000; margin-top: 1.5rem; }
.tp-player audio { display: none; }
.tp-stage { position: relative; }
.tp-stage img { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; }
.tp-play {
  position: absolute; inset: 0; margin: auto;
  width: 84px; height: 84px; border-radius: 50%;
  border: 2px solid var(--gold); background: rgba(0,0,0,0.55); cursor: pointer;
  display: flex; align-items: center; justify-content: center; padding: 0;
}
.tp-play svg { width: 34px; height: 34px; fill: var(--gold); }
.tp-play .tp-icon-pause { display: none; }
.tp-player.is-playing .tp-icon-play { display: none; }
.tp-player.is-playing .tp-icon-pause { display: block; }
.tp-play:hover { background: rgba(197,163,90,0.25); }
.tp-bar { padding: 1rem 1.25rem 1.25rem; display: flex; flex-direction: column; gap: 0.75rem; }
.tp-track { height: 8px; background: rgba(245,238,224,0.15); border-radius: 4px; cursor: pointer; }
.tp-fill { height: 100%; width: 0%; background: var(--gold); border-radius: 4px; }
.tp-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.tp-time { color: var(--cream-dim); font-size: 0.9rem; font-variant-numeric: tabular-nums; letter-spacing: 0.05em; }
.tp-vol { display: flex; align-items: center; gap: 0.5rem; }
.tp-mute { background: none; border: 0; cursor: pointer; padding: 0.25rem; display: flex; }
.tp-mute svg { width: 20px; height: 20px; fill: var(--cream-dim); }
.tp-mute:hover svg { fill: var(--gold); }
.tp-vol-slider { width: 90px; accent-color: var(--gold); cursor: pointer; }

/* ── Bio ── */
.bio-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 2.5rem; align-items: center; }
.bio-photo { border: 1px solid rgba(197,163,90,0.25); }

/* ── Interstitials (burgundy) ── */
.interstitial {
  background: var(--wine); text-align: center;
  padding: 4.5rem 1.5rem; color: var(--cream);
}
.interstitial-kicker {
  font-size: 0.8rem; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 1rem;
}
.interstitial h2 { font-size: clamp(1.8rem, 4.5vw, 3rem); margin-bottom: 1rem; }
.interstitial p { color: var(--cream-dim); max-width: 34rem; margin: 0 auto; }
.interstitial-quote blockquote {
  font-family: var(--serif); font-style: italic;
  font-size: clamp(1.5rem, 4vw, 2.4rem); line-height: 1.35;
  max-width: 44rem; margin: 0 auto;
}

/* ── Offerings ── */
.offerings { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; margin-top: 2.5rem; }
.offering-num { color: var(--gold); font-family: var(--serif); font-size: 1rem; letter-spacing: 0.15em; margin-bottom: 0.6rem; }
.offering h3 { font-size: 1.5rem; margin-bottom: 0.7rem; }
.offering p { color: var(--cream-dim); }

/* ── Shows ── */
.show-list { display: grid; gap: 0.9rem; margin: 2.2rem 0; }
.show-card {
  display: grid; grid-template-columns: 4.2rem 1fr auto; gap: 0.4rem 1.2rem;
  align-items: center; text-decoration: none;
  background: var(--ink-3); border: 1px solid rgba(197,163,90,0.16);
  padding: 1rem 1.2rem; border-radius: 3px;
  transition: border-color 0.2s, transform 0.2s;
}
.show-card:hover { border-color: var(--gold); transform: translateY(-2px); }
.show-date { display: flex; flex-direction: column; align-items: center; grid-row: span 2; }
.show-month { color: var(--gold); font-size: 0.75rem; letter-spacing: 0.2em; }
.show-day { font-family: var(--serif); font-size: 1.9rem; line-height: 1.1; }
.show-venue { font-family: var(--serif); font-size: 1.25rem; }
.show-city { color: var(--muted); font-size: 0.9rem; grid-column: 2; }
.show-time { color: var(--cream-dim); font-size: 0.95rem; grid-column: 2; }
.show-arrow { grid-row: span 2; grid-column: 3; color: var(--gold); font-size: 1.3rem; }
.shows-note { color: var(--muted); font-size: 0.9rem; }

/* ── Stay awhile (wine-tinted) ── */
.section-wine { background: linear-gradient(to bottom, var(--ink-2), #171014); max-width: none; }
.section-wine > * { max-width: 62rem; margin-left: auto; margin-right: auto; }
.social-links { display: flex; gap: 1.8rem; flex-wrap: wrap; margin: 1.8rem 0 2.5rem; }
.social-links a {
  color: var(--gold); text-decoration: none; font-size: 1.05rem;
  border-bottom: 1px solid rgba(197,163,90,0.4); padding-bottom: 0.15rem;
}
.social-links a:hover { border-color: var(--gold); }
.signup-form { max-width: 30rem; display: grid; gap: 1rem; }
.signup-kicker { font-family: var(--serif); font-size: 1.3rem; }
.signup-form label { display: grid; gap: 0.35rem; }
.signup-form label span { font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.signup-form input {
  background: rgba(255,255,255,0.05); border: 1px solid rgba(197,163,90,0.3);
  color: var(--cream); padding: 0.75rem 1rem; border-radius: 2px; font-size: 1rem;
  font-family: var(--sans); width: 100%;
}
.signup-form input:focus { outline: none; border-color: var(--gold); }
.signup-form small { color: var(--muted); font-size: 0.85rem; }

/* ── Booking ── */
.booking-contact { display: grid; gap: 0.6rem; margin: 1.6rem 0 2rem; }
.booking-contact a {
  color: var(--gold); text-decoration: none;
  font-family: var(--serif); font-size: 1.4rem;
}
.booking-contact a:hover { text-decoration: underline; }

/* ── Footer ── */
.site-footer {
  border-top: 1px solid rgba(197,163,90,0.18);
  padding: 3rem 1.5rem; text-align: center;
}
.footer-line { font-family: var(--serif); font-style: italic; font-size: 1.25rem; margin-bottom: 0.5rem; }
.footer-sub { color: var(--muted); font-size: 0.85rem; letter-spacing: 0.06em; margin-bottom: 1.5rem; }
.footer-links { display: flex; gap: 1.5rem; justify-content: center; flex-wrap: wrap; }
.footer-links a { color: var(--cream-dim); text-decoration: none; font-size: 0.9rem; }
.footer-links a:hover { color: var(--gold); }

/* ── Mobile ── */
@media (max-width: 720px) {
  .nav-toggle { display: block; }
  .site-header nav {
    display: none;
    position: fixed; top: 64px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: rgba(5, 5, 5, 0.97);
    border-bottom: 1px solid rgba(197, 163, 90, 0.25);
    padding: 0.5rem 0;
  }
  body.nav-open .site-header nav { display: flex; }
  .site-header nav a { display: block; padding: 0.9rem 1.5rem; font-size: 0.85rem; }
  .site-header nav a.nav-cta { margin: 0.5rem 1.5rem 1rem; text-align: center; }
  .record-grid, .bio-grid, .offerings { grid-template-columns: 1fr; }
  .section { padding: 4rem 1.25rem; }
  .show-card { grid-template-columns: 3.4rem 1fr auto; }
}
