/* The Fold / The Unfolding — Dark Velvet, shared with the iOS app. */

:root {
  --bg-top: #191019;
  --bg-mid: #150d15;
  --bg-bottom: #1c0f18;
  --title: #f4e9de;
  --list-title: #f0e3d8;
  --body: #ddcabf;
  --body-soft: #c8b4aa;
  --mauve: #a68ba0;
  --mauve-soft: #9c8496;
  --tagline: #c2a4b6;
  --faint: #6f5c6b;
  --faint-italic: #7d6879;
  --gold: #cf9f6a;
  --gold-cream: #ecd9b8;
  --cream: #f0dfc2;
  --rose: #b4708c;
  --hairline: #2e1d2b;
  --hairline-detail: #3c2434;
  --button-border: #3c2c3a;
  --button-text: #c9a9be;
  --card-edge: #52243c;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Jost", "Avenir Next", Avenir, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  font-weight: 300;
  color: var(--body);
  background: linear-gradient(175deg, var(--bg-top) 0%, var(--bg-mid) 45%, var(--bg-bottom) 100%) fixed;
  background-color: var(--bg-mid);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.wrap {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---- header ---- */

header {
  padding: 26px 0 0;
}

header .wrap {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
}

.wordmark {
  font-family: var(--serif);
  font-size: 22px;
  color: var(--list-title);
  text-decoration: none;
  letter-spacing: 0.02em;
}

nav {
  display: flex;
  gap: 22px;
}

nav a {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--mauve);
  text-decoration: none;
}

nav a:hover { color: var(--gold); }

/* ---- hero ---- */

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

.fan {
  position: relative;
  height: 200px;
  width: 240px;
  margin: 0 auto 44px;
}

.card-back {
  position: absolute;
  left: 50%;
  top: 10px;
  width: 106px;
  height: 168px;
  border-radius: 10px;
  border: 1px solid var(--card-edge);
  background: linear-gradient(112deg,
    #2c0f1f 0%, #55203a 11%, #331224 19%, #6b2a45 32%, #3c1529 41%,
    #7c3350 55%, #41172c 66%, #5e2440 78%, #2c0f1f 90%, #451a30 100%);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.6);
}

.card-back::after {
  content: "";
  position: absolute;
  inset: 6px;
  border: 1px solid rgba(233, 196, 160, 0.35);
  border-radius: 6px;
}

.fan .left  { transform: translateX(-50%) translateX(-34px) rotate(-13deg); }
.fan .right { transform: translateX(-50%) translateX(34px) rotate(12deg); }

.fan .center {
  top: 0;
  width: 112px;
  height: 178px;
  transform: translateX(-50%);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.7), 0 0 44px rgba(160, 60, 100, 0.22);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  font-style: italic;
  font-size: 34px;
  color: rgba(236, 217, 184, 0.85);
}

h1 {
  font-family: var(--serif);
  font-size: clamp(44px, 9vw, 64px);
  font-weight: 500;
  letter-spacing: 0.03em;
  color: var(--title);
  line-height: 1.05;
}

.hero .byline {
  font-family: var(--serif);
  font-style: italic;
  font-size: 21px;
  color: var(--tagline);
  margin-top: 10px;
}

.divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 220px;
  margin: 26px auto;
  color: var(--gold);
  font-size: 11px;
}

.divider::before,
.divider::after {
  content: "";
  flex: 1;
  height: 1px;
}

.divider::before { background: linear-gradient(90deg, rgba(207, 159, 106, 0), rgba(207, 159, 106, 0.6)); }
.divider::after  { background: linear-gradient(90deg, rgba(207, 159, 106, 0.6), rgba(207, 159, 106, 0)); }

.motto {
  font-family: var(--serif);
  font-style: italic;
  font-size: 22px;
  color: var(--tagline);
  margin-bottom: 18px;
}

.overline {
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--mauve);
}

.hero .coming {
  font-size: 11px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--faint);
  margin-top: 30px;
}

/* ---- sections ---- */

section {
  padding: 56px 0;
  border-top: 1px solid var(--hairline);
}

section .overline { color: var(--gold); }

h2 {
  font-family: var(--serif);
  font-size: 34px;
  font-weight: 500;
  color: var(--title);
  margin: 10px 0 4px;
}

.subtitle {
  font-family: var(--serif);
  font-style: italic;
  font-size: 19px;
  color: var(--mauve);
  margin-bottom: 22px;
}

section p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--body);
  margin-bottom: 16px;
}

blockquote {
  font-family: var(--serif);
  font-style: italic;
  font-size: 21px;
  line-height: 1.5;
  color: var(--tagline);
  border-left: 1px solid var(--hairline-detail);
  padding-left: 22px;
  margin: 28px 0;
}

.facts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  margin: 24px 0;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--faint);
}

.pill {
  display: inline-block;
  padding: 12px 26px;
  border-radius: 999px;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
}

.pill.quiet {
  border: 1px solid var(--button-border);
  color: var(--button-text);
}

.pill.solid {
  background: linear-gradient(120deg, #6b2a45, #a04466);
  color: #f6ebe0;
  box-shadow: 0 8px 24px rgba(160, 68, 102, 0.35);
}

.pill:hover { filter: brightness(1.15); }

/* ---- inner pages ---- */

.page {
  padding: 48px 0 72px;
}

.page h1 {
  font-size: clamp(34px, 7vw, 44px);
  margin-bottom: 4px;
}

.page .subtitle { margin-bottom: 34px; }

.page h2 {
  font-size: 24px;
  margin-top: 36px;
  padding-top: 20px;
  border-top: 1px solid var(--hairline-detail);
}

.page p, .page li {
  font-size: 15px;
  color: var(--body-soft);
}

.page ul { padding-left: 20px; margin-bottom: 16px; }

.page a { color: var(--gold); text-decoration: none; }
.page a:hover { text-decoration: underline; }

.page .updated {
  font-size: 12px;
  color: var(--faint-italic);
  margin-top: 40px;
  font-style: italic;
}

/* ---- footer ---- */

footer {
  border-top: 1px solid var(--hairline);
  padding: 34px 0 46px;
  text-align: center;
}

footer .links {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-bottom: 14px;
}

footer a {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--mauve);
  text-decoration: none;
}

footer a:hover { color: var(--gold); }

footer .copyright {
  font-size: 12px;
  color: var(--faint);
}

@media (max-width: 540px) {
  nav { gap: 14px; }
  .hero { padding-top: 52px; }
}
