:root {
  --ink: #2a1a16;
  --wine: #6b1d2a;
  --wine-deep: #3f1018;
  --gold: #c4a35a;
  --gold-soft: #e8d7a8;
  --paper: #f6efe4;
  --paper-2: #efe4d4;
  --cream: #fffaf3;
  --muted: #6e5b52;
  --line: rgba(42, 26, 22, 0.12);
  --shadow: 0 18px 50px rgba(63, 16, 24, 0.12);
  --serif: "Fraunces", "Times New Roman", serif;
  --sans: "Source Sans 3", "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 18px;
  line-height: 1.65;
}
img { max-width: 100%; display: block; }
a { color: var(--wine); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--wine-deep); }

.wrap { width: min(1120px, calc(100% - 2.4rem)); margin-inline: auto; }

.site-header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(246, 239, 228, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 72px; gap: 1rem;
}
.logo {
  font-family: var(--serif);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.92rem;
  color: var(--wine-deep);
  text-decoration: none;
}
.nav { display: flex; gap: 1.25rem; align-items: center; }
.nav a {
  color: var(--ink);
  text-decoration: none;
  font-size: 0.95rem;
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--wine); }
.nav-toggle {
  display: none;
  background: none; border: 1px solid var(--line);
  padding: 0.4rem 0.7rem; font: inherit; cursor: pointer;
}

.hero {
  position: relative;
  min-height: 72vh;
  display: grid;
  place-items: end start;
  color: var(--cream);
  background:
    linear-gradient(180deg, rgba(42,16,18,0.08) 20%, rgba(42,16,18,0.78) 78%),
    url("../img/banner-hero.png") center/cover no-repeat;
}
.hero-inner { padding: 4.5rem 0 3.2rem; max-width: 38rem; }
.kicker {
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-soft);
  margin: 0 0 0.8rem;
}
.hero h1 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2.4rem, 6vw, 4.4rem);
  line-height: 1.08;
  margin: 0 0 1rem;
}
.hero p { margin: 0 0 1.6rem; color: #f3e6d8; font-size: 1.15rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0.75rem 1.2rem;
  border-radius: 999px;
  border: 1px solid transparent;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
}
.btn-gold { background: var(--gold); color: var(--wine-deep); }
.btn-gold:hover { background: var(--gold-soft); color: var(--wine-deep); }
.btn-ghost { background: transparent; color: var(--cream); border-color: rgba(255,255,255,0.45); }
.btn-ghost:hover { background: rgba(255,255,255,0.08); color: #fff; }
.btn-wine { background: var(--wine); color: #fff; }
.btn-wine:hover { background: var(--wine-deep); color: #fff; }
.btn-line { background: transparent; border-color: var(--wine); color: var(--wine); }

.section { padding: 4.2rem 0; }
.section-head { max-width: 40rem; margin-bottom: 2.2rem; }
.section h2, .page-hero h1 {
  font-family: var(--serif);
  font-weight: 550;
  font-size: clamp(1.8rem, 4vw, 2.7rem);
  line-height: 1.15;
  margin: 0 0 0.7rem;
}
.lede { color: var(--muted); margin: 0; }

.page-hero { padding: 3.2rem 0 1rem; }
.page-hero .kicker { color: var(--wine); }

.story-grid, .card-grid, .channel-grid {
  display: grid;
  gap: 1.25rem;
}
.story-grid { grid-template-columns: repeat(3, 1fr); }
.card-grid { grid-template-columns: repeat(2, 1fr); }
.channel-grid { grid-template-columns: repeat(2, 1fr); }

.card, .story-card, .channel-card {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.story-card { display: flex; flex-direction: column; text-decoration: none; color: inherit; }
.story-card img { height: 200px; width: 100%; object-fit: cover; }
.story-card .body, .card .body, .channel-card { padding: 1.2rem 1.25rem 1.4rem; }
.story-card h3, .card h3, .channel-card h3 {
  font-family: var(--serif);
  margin: 0 0 0.4rem;
  font-size: 1.35rem;
}
.need {
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--wine);
  margin: 0 0 0.5rem;
}
.muted { color: var(--muted); }
.resource {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 0;
}
.resource img { height: 100%; min-height: 220px; object-fit: cover; }
.resource .body { padding: 1.4rem 1.5rem; }

.quote-band {
  background: var(--wine-deep);
  color: var(--gold-soft);
  padding: 3.5rem 0;
  text-align: center;
}
.quote-band blockquote {
  font-family: var(--serif);
  font-size: clamp(1.4rem, 3vw, 2.1rem);
  line-height: 1.35;
  margin: 0 auto 0.8rem;
  max-width: 38rem;
  font-weight: 500;
}
.cite { font-size: 0.9rem; letter-spacing: 0.08em; text-transform: uppercase; opacity: 0.8; }

.article { max-width: 42rem; margin: 0 auto; padding-bottom: 4rem; }
.article p { font-size: 1.08rem; }
.article h2 { font-family: var(--serif); margin-top: 2rem; }
.soft-cta {
  margin-top: 2.5rem;
  padding: 1.4rem 1.5rem;
  background: var(--paper-2);
  border-left: 4px solid var(--gold);
}

.site-footer {
  background: var(--wine-deep);
  color: #f0e2d4;
  padding: 2.5rem 0 1.5rem;
  font-size: 0.95rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}
.site-footer a { color: var(--gold-soft); }
.tiny { font-size: 0.8rem; color: #cbb8a8; }

@media (max-width: 860px) {
  .nav {
    display: none;
    position: absolute; right: 1.2rem; top: 72px;
    flex-direction: column; align-items: stretch;
    background: var(--cream);
    padding: 0.8rem 1rem;
    border: 1px solid var(--line);
    border-radius: 12px;
  }
  .nav.open { display: flex; }
  .nav-toggle { display: inline-block; }
  .story-grid, .card-grid, .channel-grid, .resource, .footer-grid {
    grid-template-columns: 1fr;
  }
}

.handle { color: var(--wine); font-weight: 600; margin: 0 0 0.4rem; }
.channel-card--logo {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 1rem;
  align-items: center;
  padding: 1rem;
}
.channel-logo {
  width: 140px; height: 140px;
  object-fit: contain;
  background: #fff;
  border-radius: 50%;
}
.yt-band {
  background: var(--paper-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 2.2rem 0;
  text-align: center;
}
.yt-band p { margin: 0 0 0.6rem; }
.yt-link { font-weight: 700; word-break: break-all; }
@media (max-width: 860px) {
  .channel-card--logo { grid-template-columns: 1fr; text-align: center; }
  .channel-logo { margin-inline: auto; }
}

/* v1.0 motion */
.story-card {
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.story-card img {
  transform: scale(1.04);
  transition: transform 1.2s ease;
}
.story-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 40px rgba(63,16,24,0.18);
}
.story-card:hover img { transform: scale(1.12); }
.story-grid .story-card:first-child { animation: aevRise 0.7s ease both; }
.story-grid .story-card:nth-child(2) { animation: aevRise 0.7s ease 0.12s both; }
.story-grid .story-card:nth-child(3) { animation: aevRise 0.7s ease 0.24s both; }
@keyframes aevRise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}
.hero h1 { animation: aevRise 0.8s ease both; }
.hero p { animation: aevRise 0.8s ease 0.1s both; }

#aev-player {
  position: fixed;
  z-index: 40;
  left: 1rem;
  bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  background: rgba(63,16,24,0.92);
  color: #f6efe4;
  padding: 0.45rem 0.7rem 0.45rem 0.45rem;
  border-radius: 999px;
  box-shadow: var(--shadow);
  font-size: 0.85rem;
}
#aev-toggle {
  border: 0;
  background: var(--gold);
  color: var(--wine-deep);
  font: inherit;
  font-weight: 700;
  border-radius: 999px;
  padding: 0.4rem 0.75rem;
  cursor: pointer;
}
#aev-player.is-on #aev-toggle { background: var(--gold-soft); }
.aev-player-hint { opacity: 0.85; padding-right: 0.35rem; }
@media (max-width: 600px) {
  .aev-player-hint { display: none; }
}

.hero-art { background: #c9a56a; }
.hero-art img { width: 100%; height: auto; max-height: 72vh; object-fit: cover; object-position: center; }
.hero-copy { padding: 2.2rem 0 1rem; }
.hero-copy h1 { margin-bottom: 0.5rem; }
.hero-copy .hero-actions { margin-top: 1.1rem; }

.hero {
  position: relative;
  min-height: 0;
  display: block;
  color: var(--cream);
  background: #c4a36a;
}
.hero-photo {
  width: 100%;
  height: auto;
  max-height: 78vh;
  object-fit: cover;
  display: block;
}
.hero-overlay {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 5.5rem 0 1.8rem;
  background: linear-gradient(180deg, rgba(42,16,18,0) 0%, rgba(42,16,18,0.72) 70%);
}
.hero .hero-inner { padding: 0 0 0.4rem; max-width: 40rem; }
.hero .kicker { color: var(--gold-soft); }
.hero h1 { font-size: clamp(1.8rem, 4.2vw, 3rem); }
@media (max-width: 700px) {
  .hero-overlay { padding-top: 3.5rem; }
  .hero h1 { font-size: 1.7rem; }
}
