/* ================================================================
   JOHN MCDAID — Clean Folk Modernist
   Appalachian meets Whole Earth Catalog
   ================================================================ */

@import url('https://fonts.googleapis.com/css2?family=Raleway:wght@400;600;700;800&family=Lora:ital,wght@0,400;0,600;1,400&display=swap');

:root {
  --cream:      #f5f0e8;
  --linen:      #faf8f4;
  --dark:       #2c2218;
  --body-text:  #4a4540;
  --terra:      #8b3a2a;
  --green:      #3d6b44;
  --border:     #d4c9b8;
  --mid-grey:   #9a9088;
  --light-bg:   #eee9df;
}

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

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

body {
  background: var(--cream);
  color: var(--body-text);
  font-family: 'Lora', Georgia, serif;
  line-height: 1.75;
}

/* === TYPOGRAPHY === */

h1, h2, h3, h4, h5 {
  font-family: 'Raleway', sans-serif;
  color: var(--dark);
  line-height: 1.25;
}

h1 { font-size: 2.2rem; font-weight: 800; margin-bottom: 0.6rem; }
h2 { font-size: 1.5rem; font-weight: 700; margin-bottom: 0.6rem; }
h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 0.4rem; }
h4 {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--terra);
  margin-bottom: 0.4rem;
}

p { margin-bottom: 1.1rem; }
p:last-child { margin-bottom: 0; }

a { color: var(--terra); text-decoration: none; }
a:hover { text-decoration: underline; }

em { font-style: italic; }
strong { font-weight: 700; }

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

hr.rule-accent {
  border: none;
  border-top: 2px solid var(--terra);
  width: 48px;
  margin: 0 0 1.8rem 0;
}

blockquote {
  border-left: 3px solid var(--terra);
  padding: 0.4rem 1.2rem;
  margin: 1.5rem 0;
  font-style: italic;
}

/* === LAYOUT === */

.container {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 1.8rem;
}

.container--wide {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.8rem;
}

.page-content {
  padding: 3rem 0 5rem;
}

/* === HEADER / NAV === */

.site-header {
  background: var(--dark);
  position: sticky;
  top: 0;
  z-index: 100;
}

.site-header .inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 1.8rem;
  max-width: 1100px;
  margin: 0 auto;
}

.site-title {
  font-family: 'Raleway', sans-serif;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #f0ebe0 !important;
  text-decoration: none !important;
  white-space: nowrap;
}

.site-title:hover { color: var(--terra) !important; }

.main-nav {
  display: flex;
  gap: 1.4rem;
  list-style: none;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.main-nav a {
  font-family: 'Raleway', sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #b8b0a0;
  text-decoration: none !important;
  transition: color 0.2s;
  white-space: nowrap;
}

.main-nav a:hover,
.main-nav a.active { color: #e8c89a; }

/* hamburger button */
.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
  margin-left: 1rem;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: #f0ebe0;
  transition: all 0.2s;
}

.sekrit {
display: none;
}

/* === MOBILE NAV === */
@media (max-width: 760px) {
  .hamburger { display: flex; }

  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--dark);
    flex-direction: column;
    padding: 1rem 1.8rem 1.5rem;
    gap: 0.9rem;
    border-top: 1px solid #3a3228;
  }

  .main-nav.open { display: flex; }
  .main-nav a { font-size: 0.85rem; }
}

/* === HERO / INTRO === */

.hero {
  background: var(--linen);
  border-bottom: 1px solid var(--border);
  padding: 3rem 0 3.5rem;
}

.hero-inner {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 3rem;
  align-items: start;
}

.hero-image img {
  width: 100%;
  display: block;
  border: 1px solid var(--border);
}

.hero-tagline {
  font-size: 1.4rem;
  font-style: italic;
  color: var(--dark);
  border-left: 3px solid var(--terra);
  padding-left: 1rem;
  margin-bottom: 1.4rem;
  line-height: 1.5;
}

.hero-tagline cite {
  display: block;
  font-size: 0.85rem;
  font-style: normal;
  color: var(--mid-grey);
  margin-top: 0.3rem;
}

.hero-bio { font-size: 0.97rem; }

.hero-social {
  display: flex;
  gap: 0.6rem;
  margin-top: 1.2rem;
  flex-wrap: wrap;
}

.hero-social a {
  font-family: 'Raleway', sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--body-text);
  border: 1px solid var(--border);
  padding: 0.28rem 0.7rem;
  text-decoration: none !important;
  transition: all 0.2s;
}

.hero-social a:hover {
  background: var(--terra);
  border-color: var(--terra);
  color: white;
}

/* === SECTION STRUCTURE === */

.section {
  padding: 2.5rem 0;
}

.section + .section {
  border-top: 1px solid var(--border);
}

.section-header {
  margin-bottom: 2rem;
}

.page-title {
  font-size: 2rem;
  font-weight: 800;
}

.section-title {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
}

/* === TWO-COLUMN LAYOUTS === */

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

.two-col--60-40 { grid-template-columns: 3fr 2fr; }
.two-col--40-60 { grid-template-columns: 2fr 3fr; }
.two-col--33-66 { grid-template-columns: 1fr 2fr; }

/* === PULL QUOTES / REVIEWS === */

.pull-quote {
  font-size: 1.05rem;
  font-style: italic;
  border-left: 3px solid var(--border);
  padding: 0.5rem 1rem;
  margin: 1.4rem 0;
  color: var(--dark);
}

.pull-quote cite {
  display: block;
  font-size: 0.8rem;
  font-style: normal;
  color: var(--mid-grey);
  margin-top: 0.4rem;
  font-family: 'Raleway', sans-serif;
  font-weight: 600;
  letter-spacing: 0.05em;
}

/* === LISTEN LINKS === */

.listen-links {
  list-style: none;
  margin: 0.8rem 0;
}

.listen-links li { margin-bottom: 0.3rem; }

.listen-links a {
  color: var(--green);
  font-family: 'Raleway', sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.listen-links a:hover { color: var(--terra); text-decoration: none; }

/* === VIDEO EMBEDS === */

.video-wrap {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  margin: 1.2rem 0;
  background: #111;
}

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

/* === BANDCAMP EMBED === */

.bc-wrap {
  margin: 1rem 0;
  overflow: hidden;
}

.bc-wrap iframe {
  border: 0;
  width: 100%;
  max-width: 450px;
}

/* === LYRICS === */

.lyrics-song {
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border);
}

.lyrics-song:last-child { border-bottom: none; }

.song-title {
  font-size: 1.3rem;
  color: var(--terra);
  margin-bottom: 1.2rem;
  font-family: 'Raleway', sans-serif;
  font-weight: 700;
}

.lyrics-text {
  font-family: Georgia, serif;
  white-space: pre-line;
  line-height: 1.9;
  font-size: 0.93rem;
  color: var(--dark);
}

.lyrics-chorus {
  padding-left: 1.5rem;
  font-style: italic;
}

.lyrics-bridge {
  font-family: 'Raleway', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mid-grey);
  margin: 1rem 0 0.3rem;
}

/* === MANUSCRIPT / JOURNEY === */

.dated-entry {
  margin-bottom: 3rem;
}

.dated-entry .datestamp {
  font-family: 'Raleway', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--terra);
  margin-bottom: 1rem;
  padding-bottom: 0.4rem;
  border-bottom: 1px solid var(--border);
}

.manuscript-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin: 1.5rem 0;
}

.ms-draft {
  font-family: 'Courier New', 'Courier', monospace;
  font-size: 0.82rem;
  line-height: 1.85;
  color: #1e1e1e;
  background: var(--linen);
  border: 1px solid var(--border);
  padding: 1.2rem;
  white-space: pre-line;
}

.ms-notes {
  font-family: 'Lora', Georgia, serif;
  font-size: 0.9rem;
  line-height: 1.75;
}

.ms-notes strong {
  display: block;
  font-family: 'Raleway', sans-serif;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--terra);
  margin-top: 1rem;
  margin-bottom: 0.2rem;
}

/* === FICTION / ACADEMIC LISTS === */

.work-list { list-style: none; }

.work-item {
  padding: 1.4rem 0;
  border-bottom: 1px solid var(--border);
}

.work-item:first-child { padding-top: 0; }
.work-item:last-child { border-bottom: none; }

.work-title {
  font-family: 'Raleway', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.15rem;
}

.work-pub {
  font-size: 0.85rem;
  color: var(--mid-grey);
  margin-bottom: 0.5rem;
}

.work-pub em { font-style: italic; }

.work-desc { font-size: 0.92rem; margin-bottom: 0; }

.badge {
  display: inline-block;
  background: var(--terra);
  color: white;
  font-family: 'Raleway', sans-serif;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.18rem 0.5rem;
  margin-left: 0.5rem;
  vertical-align: middle;
  position: relative;
  top: -1px;
}

.badge--green { background: var(--green); }
.badge--grey  { background: var(--mid-grey); }

.placeholder-notice {
  background: #fffae8;
  border: 1px dashed #c8a030;
  padding: 0.9rem 1.2rem;
  font-family: 'Raleway', sans-serif;
  font-size: 0.82rem;
  color: #7a5c10;
  margin-bottom: 2rem;
}

/* === EPK === */

.epk-grid {
  display: grid;
  grid-template-columns: 220px 1fr 200px;
  gap: 2.5rem;
  align-items: start;
}

.tracklist {
  list-style: none;
  counter-reset: track;
}

.tracklist li {
  counter-increment: track;
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  padding: 0.35rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
}

.tracklist li:last-child { border-bottom: none; }

.tracklist li::before {
  content: counter(track);
  font-family: 'Raleway', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--mid-grey);
  min-width: 1.2rem;
  text-align: right;
}

.tracklist .track-time {
  margin-left: auto;
  font-family: 'Raleway', sans-serif;
  font-size: 0.75rem;
  color: var(--mid-grey);
  white-space: nowrap;
}

.download-list { list-style: none; }

.download-item {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  padding: 0.8rem 0;
  border-bottom: 1px solid var(--border);
}

.download-item:last-child { border-bottom: none; }

.download-icon {
  color: var(--terra);
  font-family: 'Raleway', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  background: var(--light-bg);
  padding: 0.2rem 0.4rem;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.download-name {
  font-family: 'Raleway', sans-serif;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--dark);
}

.download-meta {
  font-size: 0.8rem;
  color: var(--mid-grey);
}

/* === CONTACT === */

.contact-wrap {
  max-width: 540px;
}

.form-field { margin-bottom: 1.2rem; }

.form-field label {
  display: block;
  font-family: 'Raleway', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mid-grey);
  margin-bottom: 0.35rem;
}

.form-field input,
.form-field textarea {
  width: 100%;
  padding: 0.6rem 0.8rem;
  border: 1px solid var(--border);
  background: var(--linen);
  color: var(--dark);
  font-family: 'Lora', Georgia, serif;
  font-size: 0.95rem;
  transition: border-color 0.2s;
}

.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--terra);
}

.form-field textarea { height: 180px; resize: vertical; }

.btn {
  display: inline-block;
  background: var(--terra);
  color: white !important;
  font-family: 'Raleway', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.65rem 1.6rem;
  border: none;
  cursor: pointer;
  text-decoration: none !important;
  transition: background 0.2s;
}

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

/* === FOOTER === */

.site-footer {
  background: var(--dark);
  color: #7a7060;
  text-align: center;
  padding: 1.6rem 1.8rem;
  font-family: 'Raleway', sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
}

.site-footer a { color: #7a7060; }
.site-footer a:hover { color: var(--terra); text-decoration: none; }

/* === RESPONSIVE === */

@media (max-width: 760px) {
  html { font-size: 16px; }
  h1 { font-size: 1.8rem; }

  .hero-inner    { grid-template-columns: 1fr; }
  .hero-image    { max-width: 220px; }

  .two-col,
  .two-col--60-40,
  .two-col--40-60,
  .two-col--33-66,
  .manuscript-grid,
  .epk-grid      { grid-template-columns: 1fr; }

  .epk-grid > *:nth-child(3) { order: -1; }

  .bc-wrap iframe { max-width: 100%; height: 420px; }
}
