/*
Theme Name: Songwriters Exposed Modern
Theme URI: https://songwritersexposed.com/
Author: Songwriters Exposed
Description: A fast, accessible theme for the Songwriters Exposed performance series.
Version: 1.0.1
Text Domain: songwritersexposed
*/

:root {
  --ink: #f7f3ed;
  --muted: #b8b2aa;
  --paper: #0d0e10;
  --panel: #17191d;
  --panel-2: #202329;
  --line: rgba(255,255,255,.13);
  --accent: #e5483f;
  --accent-2: #ff736a;
  --max: 1180px;
  --serif: Georgia, "Times New Roman", serif;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 17px/1.7 var(--sans); }
body.admin-bar .site-header { top: 32px; }
a { color: var(--accent-2); text-decoration-thickness: .08em; text-underline-offset: .16em; }
a:hover { color: #fff; }
img { display: block; max-width: 100%; height: auto; }
.wrap { width: min(calc(100% - 40px), var(--max)); margin-inline: auto; }
.skip-link { position: fixed; left: 16px; top: -100px; z-index: 9999; padding: 10px 14px; background: #fff; color: #000; }
.skip-link:focus { top: 16px; }
.site-header { position: sticky; top: 0; z-index: 50; border-bottom: 1px solid var(--line); background: rgba(13,14,16,.93); backdrop-filter: blur(14px); }
.header-inner { display: flex; min-height: 82px; align-items: center; justify-content: space-between; gap: 30px; }
.brand { display: inline-flex; align-items: center; width: min(300px, 55vw); }
.brand img { width: 100%; }
.nav-toggle { display: none; border: 1px solid var(--line); border-radius: 999px; background: transparent; color: #fff; padding: 9px 14px; font: 700 14px var(--sans); }
.site-nav ul { display: flex; align-items: center; gap: 26px; margin: 0; padding: 0; list-style: none; }
.site-nav a { color: var(--ink); text-decoration: none; font-size: 14px; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; }
.site-nav a:hover, .site-nav .current-menu-item > a { color: var(--accent-2); }
.hero { position: relative; overflow: hidden; padding: clamp(82px, 12vw, 160px) 0 90px; border-bottom: 1px solid var(--line); }
.hero::before { position: absolute; inset: 0; content: ""; background: radial-gradient(circle at 78% 30%, rgba(229,72,63,.24), transparent 33%), linear-gradient(120deg, #0d0e10 24%, #191b20 100%); }
.hero .wrap { position: relative; }
.eyebrow { margin: 0 0 18px; color: var(--accent-2); font-size: 13px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
h1, h2, h3 { line-height: 1.08; text-wrap: balance; }
h1 { max-width: 900px; margin: 0; font: 700 clamp(48px, 8.2vw, 104px)/.96 var(--serif); letter-spacing: -.045em; }
.hero-copy { max-width: 690px; margin: 28px 0 0; color: #d7d1c8; font-size: clamp(19px, 2.2vw, 25px); }
.button-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; border: 1px solid var(--accent); border-radius: 999px; padding: 10px 22px; background: var(--accent); color: #fff; text-decoration: none; font-weight: 800; }
.button:hover { background: var(--accent-2); color: #111; }
.button.ghost { border-color: var(--line); background: transparent; }
.button.ghost:hover { border-color: #fff; background: #fff; }
.section { padding: 88px 0; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 38px; }
.section-head h2 { margin: 0; font: 700 clamp(38px, 5vw, 64px)/1 var(--serif); }
.section-head p { max-width: 560px; margin: 0; color: var(--muted); }
.episode-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 28px; }
.episode-card { overflow: hidden; border: 1px solid var(--line); border-radius: 18px; background: var(--panel); }
.episode-card a { color: inherit; text-decoration: none; }
.episode-card .thumb { aspect-ratio: 16/9; overflow: hidden; background: #222; }
.episode-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.episode-card:hover .thumb img { transform: scale(1.025); }
.card-body { padding: 26px; }
.card-meta { color: var(--accent-2); font-size: 12px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.episode-card h3 { margin: 10px 0 12px; font: 700 30px/1.12 var(--serif); }
.episode-card p { margin: 0; color: var(--muted); }
.story-band { border-block: 1px solid var(--line); background: linear-gradient(135deg, var(--panel), #111); }
.story-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 8vw, 100px); align-items: center; }
.story-grid h2 { margin: 0 0 24px; font: 700 clamp(42px, 6vw, 76px)/1 var(--serif); }
.story-grid p { color: #d3cec6; }
.signal { padding: 35px; border: 1px solid var(--line); border-radius: 18px; background: var(--panel-2); }
.signal strong { display: block; font: 700 32px/1.1 var(--serif); }
.breadcrumb { padding: 28px 0 0; color: var(--muted); font-size: 14px; }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.breadcrumb li:not(:last-child)::after { content: "/"; margin-left: 8px; opacity: .55; }
.breadcrumb a { color: var(--muted); }
.article-shell { width: min(calc(100% - 40px), 900px); margin: 0 auto; padding: 48px 0 100px; }
.article-header h1 { margin: 0; font: 700 clamp(46px, 7vw, 82px)/.98 var(--serif); }
.article-deck { margin: 24px 0 0; color: #d7d1c8; font-size: 21px; }
.article-meta { margin-top: 18px; color: var(--muted); font-size: 14px; }
.video-frame { margin: 42px 0; overflow: hidden; border: 1px solid var(--line); border-radius: 18px; background: #000; box-shadow: 0 26px 80px rgba(0,0,0,.35); }
.video-frame iframe { display: block; width: 100%; aspect-ratio: 16/9; height: auto; border: 0; }
.article-content { font: 19px/1.8 var(--sans); }
.article-content > * { max-width: 760px; margin-inline: auto; }
.article-content h2 { margin-top: 54px; font: 700 38px/1.12 var(--serif); }
.article-content blockquote { border-left: 4px solid var(--accent); padding-left: 24px; color: #ddd6cd; font: italic 24px/1.55 var(--serif); }
.article-content pre { overflow: auto; border: 1px solid var(--line); border-radius: 12px; padding: 18px; background: var(--panel); color: var(--ink); white-space: pre-wrap; font: 15px/1.6 var(--sans); }
.article-content .wp-block-image, .article-content figure { max-width: 900px; }
.page-shell { width: min(calc(100% - 40px), 900px); margin: 0 auto; padding: 44px 0 100px; }
.page-shell h1 { margin: 0 0 36px; font: 700 clamp(50px, 7vw, 84px)/1 var(--serif); }
.contact-form { display: grid; gap: 18px; margin-top: 36px; }
.contact-form label { display: grid; gap: 8px; font-weight: 750; }
.contact-form input, .contact-form textarea { width: 100%; border: 1px solid var(--line); border-radius: 10px; padding: 13px 14px; background: var(--panel); color: #fff; font: inherit; }
.contact-form textarea { min-height: 180px; resize: vertical; }
.contact-form .hp { position: absolute; left: -10000px; }
.notice { border: 1px solid var(--line); border-radius: 10px; padding: 14px; background: var(--panel); }
.site-footer { border-top: 1px solid var(--line); padding: 52px 0; background: #090a0c; }
.footer-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 40px; align-items: end; }
.footer-grid p { max-width: 620px; color: var(--muted); }
.footer-links { display: flex; flex-wrap: wrap; justify-content: end; gap: 20px; }
.footer-links a { color: var(--ink); }
.copyright { margin-top: 30px; color: #777; font-size: 13px; }
@media (max-width: 800px) {
  body.admin-bar .site-header { top: 46px; }
  .nav-toggle { display: inline-flex; }
  .site-nav { display: none; position: absolute; inset: 82px 0 auto; padding: 20px; border-bottom: 1px solid var(--line); background: #101114; }
  .site-nav.open { display: block; }
  .site-nav ul { align-items: stretch; flex-direction: column; gap: 8px; }
  .site-nav a { display: block; padding: 10px 0; }
  .episode-grid, .story-grid, .footer-grid { grid-template-columns: 1fr; }
  .section-head { align-items: start; flex-direction: column; }
  .footer-links { justify-content: start; }
}
@media (max-width: 520px) {
  .wrap, .article-shell, .page-shell { width: min(calc(100% - 28px), var(--max)); }
  .header-inner { min-height: 70px; }
  .site-nav { top: 70px; }
  .brand { width: 215px; }
  .hero { padding-top: 68px; }
  .section { padding: 64px 0; }
}
