/* ftlapps.com — global styles. Single source of truth for index + topic pages. */

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: 'Source Sans Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: #251017;
  line-height: 1.6;
  background: #fff;
}

/* ── Header (shared) ─────────────────────────────────────────── */
header { text-align: center; padding: 28px 16px 18px; }
/* Topic pages use an anchor inside the header; index page uses plain text. */
header a { color: #251017; text-decoration: none; font-weight: 700; font-size: 22px; letter-spacing: 0.5px; }
header.index-header { font-weight: 700; font-size: 28px; letter-spacing: 0.5px; border-bottom: none; }
header.topic-header { border-bottom: 1px solid #eee; }

/* ── Footer (shared) ─────────────────────────────────────────── */
footer { text-align: center; padding: 24px 16px 40px; font-size: 13px; color: #8b7a82; }
footer.topic-footer { border-top: 1px solid #eee; margin-top: 40px; }
footer .license { display: block; color: #000; text-decoration: none; margin-bottom: 6px; }
footer .license:hover { text-decoration: underline; }

/* ── Index page ──────────────────────────────────────────────── */
.hero {
  position: relative;
  width: 100%;
  min-height: 35vh;
  background-image: url('https://img1.wsimg.com/isteam/ip/ff3e7ece-5e09-4792-b7ed-cbf00371966b/Miracles%20-%20Lily.png/:/rs=w:1280');
  background-size: cover;
  background-position: center;
  background-color: #0a0c14;
  display: flex;
  align-items: center;
}
.hero-inner { max-width: 1200px; margin: 0 auto; padding: 64px 32px; width: 100%; }
.hero-tag { color: #fff; font-size: 18px; font-weight: 400; margin: 0 0 12px; text-shadow: 0 2px 8px rgba(0,0,0,0.45); }
.hero-headline { color: #fff; font-size: 52px; font-weight: 700; margin: 0 0 28px; letter-spacing: 0.5px; text-shadow: 0 2px 12px rgba(0,0,0,0.55); }
.cta {
  display: inline-block; padding: 14px 28px; background: #6b2a36; color: #fff;
  text-decoration: none; font-weight: 600; letter-spacing: 1px; font-size: 14px;
  text-transform: uppercase; border-radius: 2px; transition: background 0.2s;
}
.cta:hover { background: #8a3744; }

.main { max-width: 1100px; margin: 0 auto; padding: 88px 32px 40px; display: grid; grid-template-columns: 1.2fr 1fr; gap: 64px; align-items: start; }
.vision h2 { font-size: 36px; font-weight: 700; margin: 0 0 20px; }
.vision p { font-size: 18px; margin: 0 0 16px; color: #4a3540; }

.contents h3 {
  font-size: 14px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase;
  color: #6b2a36; margin: 0 0 16px; padding-bottom: 10px; border-bottom: 1px solid #e5d8dc;
}
.contents ul { list-style: none; padding: 0; margin: 0 0 28px; }
.contents li { margin: 0 0 10px; font-size: 17px; }
.contents li a { color: #251017; text-decoration: none; border-bottom: 1px solid transparent; transition: border-color 0.15s; }
.contents li a:hover { border-bottom-color: #6b2a36; }
.contents .section-label {
  font-size: 12px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase;
  color: #6b2a36; margin: 24px 0 10px;
}

/* ── Topic page ──────────────────────────────────────────────── */
.article { max-width: 720px; margin: 0 auto; padding: 72px 32px 48px; }
.chapter-label { font-size: 12px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: #6b2a36; margin: 0 0 14px; }
.article h1 { font-size: 40px; font-weight: 700; margin: 0 0 12px; line-height: 1.2; }
.article .date { font-size: 15px; color: #4a3540; margin: 0 0 18px; }
.article .song { font-size: 16px; font-style: italic; color: #4a3540; margin: 0 0 32px; line-height: 1.5; }
.article .song a { color: #6b2a36; text-decoration: none; border-bottom: 1px solid #d9c6cc; font-style: normal; }
.article .song a:hover { border-bottom-color: #6b2a36; }

.hero-figure { float: right; width: 50%; margin: 14px 0 32px 44px; outline: 1px solid #251017; outline-offset: 0; background: #fff; padding: 2px; }
.hero-figure img { display: block; width: 100%; height: auto; border-radius: 0; margin-bottom: 2px; }
.hero-figure figcaption { background: #F2F2F2; text-align: center; padding: 2px 0; font-size: 13px; }
.hero-figure figcaption .work { color: #251017; }
.hero-figure figcaption .dash { color: #8b7a82; margin: 0 4px; }
.hero-figure figcaption .credit { color: #5a4a52; }

.article p { font-size: 18px; line-height: 1.75; margin: 0 0 22px; color: #2b1a20; }
.article p a { color: #6b2a36; text-decoration: none; border-bottom: 1px solid #d9c6cc; }
.article p a:hover { border-bottom-color: #6b2a36; }
.article em { color: #4a3540; }
.article blockquote { margin: 0 0 22px; padding: 4px 0 4px 20px; border-left: 3px solid #6b2a36; color: #4a3540; font-size: 18px; line-height: 1.75; }
.article blockquote:has(+ blockquote) { margin-bottom: 0; }
.article blockquote a { color: #6b2a36; text-decoration: none; border-bottom: 1px solid #d9c6cc; }
.article blockquote a:hover { border-bottom-color: #6b2a36; }
.article blockquote strong { color: #251017; }

.want-more { clear: both; margin: 56px 0 0; padding: 32px 0 0; border-top: 1px solid #eee; font-size: 16px; color: #4a3540; }
.want-more .head { font-weight: 700; font-size: 16px; margin: 0 0 10px; }
.want-more .buy { display: block; font-weight: 700; font-size: 16px; color: #6b2a36; text-decoration: none; margin: 0 0 14px; }
.want-more .buy:hover { text-decoration: underline; }
.want-more .excerpt { margin: 0; font-size: 16px; color: #4a3540; }

.back { display: inline-block; margin-top: 32px; font-size: 14px; color: #6b2a36; text-decoration: none; letter-spacing: 0.5px; }
.back:hover { text-decoration: underline; }

/* ── Responsive ──────────────────────────────────────────────── */
@media (max-width: 800px) {
  .main { grid-template-columns: 1fr; gap: 48px; padding: 56px 24px 24px; }
  .hero-headline { font-size: 36px; }
  .hero-tag { font-size: 16px; }
  .vision h2 { font-size: 28px; }
}
@media (max-width: 640px) {
  .article { padding: 48px 22px 32px; }
  .article h1 { font-size: 30px; }
  .article p { font-size: 17px; }
  .hero-figure { float: none; width: 100%; margin: 0 0 40px; }
}
