/* Slowburn — myslowburn.app
   Styled after the App Store screenshot set (scripts/appstore/shots.py):
   black ground, Didot caps tracked wide, one line in ember, asterisk
   ornaments, art drowning into black, Georgia lowercase wordmark. */

:root {
  --bg: #0d0d0d;
  --surface: #17171a;
  --ink: #f5f5f7;
  --body-ink: #c9c5be;
  --muted: #8e8e93;
  --faint: #6b6b6e;
  --ember: #ff6b4a;
  --rose: #e8547c;
  --line: #26262a;
  --display: "Didot", "Bodoni 72", "Playfair Display", Georgia, "Times New Roman", serif;
  --serif: Georgia, "Times New Roman", serif;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--body-ink);
  font: 17px/1.75 var(--serif);
  -webkit-font-smoothing: antialiased;
}

.wrap { max-width: 1440px; margin: 0 auto; padding: 36px clamp(24px, 4vw, 64px) 88px; }

/* ── Header ─────────────────────────────────────────── */

header.site {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 24px;
  margin-bottom: 48px;
  border-bottom: 1px solid var(--line);
}
header.site a.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
}
header.site .word {
  font-family: var(--serif);
  font-size: 24px;
  letter-spacing: 0.01em;
}
header.site nav { margin-left: auto; display: flex; gap: 26px; }
header.site nav a {
  color: var(--ink);
  text-decoration: none;
  font-family: var(--display);
  font-size: 14px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}
header.site nav a:hover { color: var(--ember); }

/* ── Display type — the screenshot headline treatment ── */

h1 {
  font-family: var(--display);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink);
  font-size: clamp(30px, 4.5vw, 44px);
  line-height: 1.25;
  margin: 0 0 10px;
}
.updated {
  font-style: italic;
  color: var(--faint);
  font-size: 15px;
  margin: 0 0 48px;
}

h2 {
  font-family: var(--display);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--ember);
  font-size: 17px;
  margin: 52px 0 14px;
}

p, li { color: var(--body-ink); }
strong { color: var(--ink); font-weight: 600; }
a { color: var(--ember); text-decoration-color: rgba(255, 107, 74, 0.4); }
a:hover { text-decoration-color: var(--ember); }
ul, ol { padding-left: 22px; }
li { margin-bottom: 8px; }

.note {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 18px 22px;
  margin: 32px 0;
  font-size: 15.5px;
  font-style: italic;
  color: var(--muted);
}

/* ── Footer ─────────────────────────────────────────── */

footer.site {
  margin-top: 72px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
  color: var(--faint);
  font-size: 13px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 22px;
  align-items: center;
}
footer.site a {
  color: var(--ink);
  text-decoration: none;
  font-family: var(--display);
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
footer.site a:hover { color: var(--ember); }

/* ── Landing ────────────────────────────────────────── */

.hero { text-align: center; padding: 56px 0 0; }

.hero .eyebrow {
  font-family: var(--display);
  font-size: 15px;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 40px;
}

.hero h1.display {
  font-size: clamp(40px, 7vw, 76px);
  line-height: 1.3;
  letter-spacing: 0.05em;
  margin: 0 0 36px;
}
.hero h1.display .line { display: block; }
.hero h1.display .ember { color: var(--ember); }
.hero h1.display .ember::before,
.hero h1.display .ember::after {
  content: "*";
  font-size: 0.82em;
  line-height: 1;
  position: relative;
  top: 0.08em;
}
.hero h1.display .ember::before { margin-right: 0.35em; }
.hero h1.display .ember::after { margin-left: 0.35em; }

.hero .lede {
  font-style: italic;
  font-size: clamp(18px, 2.2vw, 22px);
  color: var(--body-ink);
  max-width: 40ch;
  margin: 0 auto;
}

/* The cover art drowns into the ground at both ends, as on the
   screenshot frames — mask carries the fade, no scrim edges. */
.hero-art { margin: 8px auto 0; }
.hero-art img {
  display: block;
  width: 100%;
  height: clamp(440px, 72vh, 640px);
  object-fit: cover;
  object-position: center 12%;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 12%, #000 80%, transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 0, #000 12%, #000 80%, transparent 100%);
}

.closing { text-align: center; padding: 0 0 24px; }
.closing .lockup {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 40px;
}
.closing .tagline {
  font-style: italic;
  color: var(--muted);
  font-size: 18px;
  margin: 14px 0 0;
}

@media (max-width: 600px) {
  .wrap { padding: 24px 22px 64px; }
  header.site { margin-bottom: 32px; }
  header.site nav { gap: 16px; }
  .hero { padding-top: 32px; }
  .hero .eyebrow { letter-spacing: 0.3em; margin-bottom: 28px; }
  .hero-art img { height: 60vh; }
  .closing .lockup { font-size: 32px; }
}
