/* ============================================================
   Eric Litvin — Guitarist, Songwriter & Storyteller | Sebastopol, CA
   site.css — hand-crafted, no framework
   ============================================================ */

/* --- Variables ------------------------------------------- */
:root {
  --cream:   #f4efe4;
  --ink:     #1c1a17;
  --amber:   #b5512f;
  --amber-light: #d4733d;
  --muted:   #6b6560;
  --rule:    #d9d3c8;
  --white:   #fffdf9;

  --font-display: 'Fraunces', Georgia, serif;
  --font-body:    'Inter', system-ui, sans-serif;

  --max-w: 68rem;
  --gutter: 1.5rem;
}

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

html { font-size: 16px; scroll-behavior: smooth; }

body {
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
a { color: var(--amber); text-decoration: underline; text-underline-offset: 3px; }
a:hover { color: var(--amber-light); }
p + p { margin-top: 1em; }

/* --- Typography ------------------------------------------ */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--ink);
}

h1 { font-size: clamp(2.4rem, 6vw, 4rem); }
h2 { font-size: clamp(1.6rem, 4vw, 2.4rem); }
h3 { font-size: clamp(1.2rem, 3vw, 1.6rem); }
h4 { font-size: 1.1rem; }

.label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

/* --- Layout ---------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.section { padding: 5rem 0; }
.section--sm { padding: 3rem 0; }
.section--lg { padding: 7rem 0; }

hr.rule {
  border: none;
  border-top: 1px solid var(--rule);
  margin: 3rem 0;
}

/* --- Header / Nav ---------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--cream);
  border-bottom: 1px solid var(--rule);
  padding: 1rem 0;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.site-logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: -0.02em;
  white-space: nowrap;
}
.site-logo span { color: var(--amber); }

.site-nav { display: flex; align-items: center; gap: 2rem; list-style: none; }
.site-nav a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: 0.01em;
}
.site-nav a:hover,
.site-nav a[aria-current="page"] { color: var(--amber); }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.25rem;
  color: var(--ink);
}

.nav-toggle svg { display: block; }

/* --- Footer ---------------------------------------------- */
.site-footer {
  background: var(--ink);
  color: var(--cream);
  padding: 4rem 0 2rem;
}

.site-footer a { color: var(--cream); opacity: 0.75; }
.site-footer a:hover { opacity: 1; color: var(--amber-light); }

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand .site-logo { color: var(--cream); }
.footer-brand .site-logo span { color: var(--amber-light); }

.footer-tagline {
  font-size: 0.875rem;
  opacity: 0.6;
  margin-top: 0.5rem;
  line-height: 1.5;
}

.footer-col h4 {
  color: var(--cream);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.footer-col ul { list-style: none; }
.footer-col li + li { margin-top: 0.5rem; }
.footer-col a { font-size: 0.9rem; text-decoration: none; }

.footer-bottom {
  border-top: 1px solid rgba(244, 239, 228, 0.15);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.8rem;
  opacity: 0.5;
}

/* --- Hero ------------------------------------------------ */
.hero {
  padding: 6rem 0 5rem;
  border-bottom: 1px solid var(--rule);
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-eyebrow {
  display: inline-block;
  margin-bottom: 1.25rem;
}

.hero-headline { margin-bottom: 1.5rem; }

.hero-lead {
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--muted);
  max-width: 42ch;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}

.hero-image-wrap {
  position: relative;
}

.hero-image-placeholder {
  aspect-ratio: 3 / 4;
  background: #e4dece;
  border-radius: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
}

.hero-image-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 2px;
}

.placeholder-note {
  font-size: 0.8rem;
  color: var(--muted);
  font-style: italic;
}

/* --- Buttons --------------------------------------------- */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 0.75rem 1.75rem;
  border-radius: 2px;
  text-decoration: none;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
  cursor: pointer;
  border: 2px solid transparent;
  line-height: 1.2;
}

.btn-primary {
  background: var(--amber);
  color: var(--white);
  border-color: var(--amber);
}
.btn-primary:hover {
  background: var(--amber-light);
  border-color: var(--amber-light);
  color: var(--white);
}

.btn-outline {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
.btn-outline:hover {
  background: var(--ink);
  color: var(--white);
}

.btn-outline-amber {
  background: transparent;
  color: var(--amber);
  border-color: var(--amber);
}
.btn-outline-amber:hover {
  background: var(--amber);
  color: var(--white);
}

/* --- Intro / Craft strip --------------------------------- */
.craft-strip {
  padding: 5rem 0;
  border-bottom: 1px solid var(--rule);
}

.craft-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
  margin-top: 3rem;
}

.craft-card {}
.craft-card h3 { margin-bottom: 0.5rem; }
.craft-card p { font-size: 0.9375rem; color: var(--muted); }

.craft-card__num {
  font-family: var(--font-display);
  font-size: 2.5rem;
  color: var(--rule);
  line-height: 1;
  margin-bottom: 0.5rem;
}

/* --- Section headings ------------------------------------ */
.section-header {
  margin-bottom: 3rem;
}

.section-header .label {
  display: block;
  margin-bottom: 0.75rem;
}

.section-header h2 { max-width: 28ch; }

/* --- Pull quote ------------------------------------------ */
.pull-quote {
  border-left: 3px solid var(--amber);
  padding: 1.5rem 2rem;
  margin: 2.5rem 0;
  background: var(--white);
}

.pull-quote p {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 400;
  font-style: italic;
  line-height: 1.5;
  color: var(--ink);
  margin: 0;
}

/* --- Discography teaser ---------------------------------- */
.discography-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(14rem, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.album-card {
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: 2px;
  overflow: hidden;
}

.album-art {
  aspect-ratio: 1;
  background: #e0dace;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  text-align: center;
}

.album-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.album-art--1 { background: #cfc6ba; }
.album-art--2 { background: #d4c9b0; }
.album-art--3 { background: #c8c0b2; }

.album-info { padding: 1rem; }
.album-info h4 { font-size: 0.95rem; margin-bottom: 0.2rem; }
.album-info .year { font-size: 0.8rem; color: var(--muted); }

/* --- Timeline -------------------------------------------- */
.timeline { position: relative; padding-left: 2rem; }
.timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.5rem;
  bottom: 0;
  width: 1px;
  background: var(--rule);
}

.timeline-item {
  position: relative;
  padding: 0 0 2.5rem 1.75rem;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -2rem;
  top: 0.5rem;
  width: 0.6rem;
  height: 0.6rem;
  border-radius: 50%;
  background: var(--amber);
  border: 2px solid var(--cream);
  box-shadow: 0 0 0 1px var(--amber);
}

.timeline-year {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 0.25rem;
}

.timeline-item h3 { font-size: 1.1rem; margin-bottom: 0.4rem; }
.timeline-item p { font-size: 0.9375rem; color: var(--muted); }

/* --- Media / Gallery ------------------------------------- */
.media-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.media-figure {
  margin: 0;
}

.media-figure .img-placeholder {
  aspect-ratio: 4 / 3;
  background: #e0dace;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1rem;
  border-radius: 2px;
}

.media-figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 2px;
  display: block;
}

.media-figure figcaption {
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 0.5rem;
  line-height: 1.4;
}

/* --- Blog / Content clusters ----------------------------- */
.cluster-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem;
  margin-top: 2.5rem;
}

.cluster-card {
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: 2px;
  padding: 2rem;
}

.cluster-card h3 {
  font-size: 1.1rem;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--rule);
}

.cluster-card ul {
  list-style: none;
  padding: 0;
}

.cluster-card li {
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--rule);
  font-size: 0.9rem;
}
.cluster-card li:last-child { border-bottom: none; }

.cluster-card a {
  color: var(--ink);
  text-decoration: none;
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.cluster-card a:hover { color: var(--amber); }

.coming-soon {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--rule);
  color: var(--muted);
  padding: 0.1rem 0.4rem;
  border-radius: 2px;
  white-space: nowrap;
  margin-left: auto;
}

/* --- FAQ ------------------------------------------------- */
.faq-list { margin-top: 2rem; }

.faq-item {
  border-top: 1px solid var(--rule);
  padding: 1.75rem 0;
}
.faq-item:last-child { border-bottom: 1px solid var(--rule); }

.faq-item h3 {
  font-size: 1.05rem;
  margin-bottom: 0.75rem;
}

.faq-item p { color: var(--muted); font-size: 0.9375rem; }

/* --- Contact form ---------------------------------------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.contact-form .form-group { margin-bottom: 1.25rem; }

.contact-form label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.4rem;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: 2px;
  padding: 0.65rem 0.85rem;
  transition: border-color 0.15s;
  appearance: none;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--amber);
}

.contact-form textarea { min-height: 8rem; resize: vertical; }

.honeypot-field { display: none; }

.contact-info-block { padding-top: 0.5rem; }
.contact-info-block h3 { font-size: 1.1rem; margin-bottom: 0.5rem; }
.contact-info-block p { font-size: 0.9375rem; color: var(--muted); }

.contact-detail {
  margin-top: 2rem;
  padding: 1.5rem;
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: 2px;
}

.contact-detail h4 { margin-bottom: 0.5rem; }
.contact-detail p { font-size: 0.875rem; color: var(--muted); }
.contact-detail a { font-weight: 600; }

/* --- 404 page -------------------------------------------- */
.error-page {
  min-height: 60vh;
  display: flex;
  align-items: center;
  padding: 5rem 0;
  text-align: center;
}

.error-page .container {
  max-width: 36rem;
}

.error-num {
  font-family: var(--font-display);
  font-size: 8rem;
  font-weight: 700;
  color: var(--rule);
  line-height: 1;
  margin-bottom: 1rem;
}

.error-page h1 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.error-page p { color: var(--muted); margin-bottom: 2rem; }

/* --- Breadcrumb ------------------------------------------ */
.breadcrumb {
  font-size: 0.8rem;
  color: var(--muted);
  margin-bottom: 2rem;
  display: flex;
  gap: 0.5rem;
  align-items: center;
  flex-wrap: wrap;
}
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--amber); }
.breadcrumb-sep { opacity: 0.4; }

/* --- Page hero (inner pages) ----------------------------- */
.page-hero {
  padding: 4rem 0 3rem;
  border-bottom: 1px solid var(--rule);
}

.page-hero .label { display: block; margin-bottom: 0.75rem; }
.page-hero h1 { margin-bottom: 1rem; }
.page-hero .lead {
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 52ch;
  line-height: 1.7;
}

/* --- Bio prose ------------------------------------------- */
.bio-prose { max-width: 66ch; }
.bio-prose p { margin-bottom: 1.25rem; color: var(--muted); }
.bio-prose h3 { margin: 2.5rem 0 0.75rem; }

/* --- Artist statement ------------------------------------- */
.artist-statement {
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: 2px;
  padding: 3rem;
  margin: 3rem 0;
}

.artist-statement .label { display: block; margin-bottom: 1rem; }

.artist-statement p {
  font-family: var(--font-display);
  font-size: 1.15rem;
  line-height: 1.75;
  font-weight: 400;
}

/* --- Utility --------------------------------------------- */
.text-amber { color: var(--amber); }
.text-muted { color: var(--muted); }
.text-center { text-align: center; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }

.two-col-prose {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.two-col-prose p { color: var(--muted); font-size: 0.9375rem; }

/* --- EPK banner ------------------------------------------ */
.epk-banner {
  background: var(--ink);
  color: var(--cream);
  border-radius: 2px;
  padding: 2rem 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  margin-top: 3rem;
  flex-wrap: wrap;
}

.epk-banner h3 { color: var(--cream); font-size: 1.1rem; margin-bottom: 0.3rem; }
.epk-banner p { font-size: 0.875rem; opacity: 0.7; }

/* --- Responsive ------------------------------------------ */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-image-wrap { order: -1; }
  .hero-image-placeholder { aspect-ratio: 16 / 9; max-height: 22rem; }
  .craft-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .media-grid { grid-template-columns: 1fr 1fr; }
  .cluster-grid { grid-template-columns: 1fr; }
  .two-col-prose { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  :root { --gutter: 1rem; }
  .craft-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .media-grid { grid-template-columns: 1fr; }
  .discography-grid { grid-template-columns: 1fr 1fr; }
  .section { padding: 3.5rem 0; }
  .section--lg { padding: 4.5rem 0; }
  .hero { padding: 3rem 0; }

  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--cream);
    border-bottom: 1px solid var(--rule);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 0.5rem 0;
  }

  .site-nav.open { display: flex; }
  .site-nav li { width: 100%; }
  .site-nav a {
    display: block;
    padding: 0.75rem var(--gutter);
    font-size: 1rem;
  }

  .nav-toggle { display: block; }

  .site-header { position: relative; }
  .site-header .container { position: relative; }

  .artist-statement { padding: 2rem 1.5rem; }
  .epk-banner { padding: 1.5rem; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

/* ---- Watch / performance video section ---- */
.watch-grid{display:grid;grid-template-columns:1fr 1fr;gap:1.75rem;align-items:start;}
.watch-grid .video-frame{margin:0;}
.watch-grid video{width:100%;height:auto;display:block;background:#000;border:1px solid rgba(255,255,255,0.14);}
.video-embed{position:relative;padding-top:56.25%;background:#000;border:1px solid rgba(255,255,255,0.14);}
.video-embed iframe{position:absolute;inset:0;width:100%;height:100%;border:0;}
.watch-grid figcaption{margin-top:0.6rem;font-size:0.85rem;color:rgba(255,255,255,0.6);}
.watch-grid figcaption a{color:var(--amber);}
@media (max-width:760px){.watch-grid{grid-template-columns:1fr;gap:2rem;}}
