/* Life Before Ours — one-pager
   Ground: espresso #120F0C (the brand token). The page is a dark room
   lit by small warm points — cream text, brass-gold accents, spark ✦
   dividers echoing the mark's star. */

@font-face {
  font-family: "IM Fell English";
  src: url("/assets/fonts/IM_Fell_English.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --espresso: #120F0C;
  --espresso-lift: #1B1611;
  --cream: #F2EBDC;
  --cream-dim: rgba(242, 235, 220, 0.74);
  --cream-faint: rgba(242, 235, 220, 0.5);
  --gold: #C29A4B;
  --gold-bright: #D9B36A;
  --gold-dim: rgba(194, 154, 75, 0.45);
  --line: rgba(194, 154, 75, 0.22);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--espresso);
  color: var(--cream);
  font-family: "IM Fell English", Georgia, "Times New Roman", serif;
  font-size: 18px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--gold); color: var(--espresso); }

a { color: inherit; }

:focus-visible {
  outline: 2px solid var(--gold-bright);
  outline-offset: 3px;
}

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

section {
  max-width: 1060px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ---- Hero ---- */

.hero-banner {
  display: block;
  width: 100%;
  height: auto;
  border-bottom: 1px solid var(--line);
}

.hero-body {
  max-width: 700px;
  margin: 0 auto;
  padding: 3.5rem 1.5rem 4rem;
  text-align: center;
}

.tagline {
  margin: 0 0 1.4rem;
  color: var(--gold);
  font-size: 0.95rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.lede {
  margin: 0 auto 2.4rem;
  font-size: 1.32rem;
  line-height: 1.65;
  color: var(--cream-dim);
}

.lede em { color: var(--cream); }

.cta-row {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  padding: 0.75em 1.7em;
  font-size: 1.05rem;
  text-decoration: none;
  letter-spacing: 0.04em;
  transition: background-color 160ms ease, color 160ms ease,
              border-color 160ms ease, transform 160ms ease;
}

.btn-primary {
  background: var(--gold);
  color: var(--espresso);
  border: 1px solid var(--gold);
}

.btn-primary:hover {
  background: var(--gold-bright);
  border-color: var(--gold-bright);
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  color: var(--cream);
  border: 1px solid var(--gold-dim);
}

.btn-ghost:hover {
  border-color: var(--gold);
  color: var(--gold-bright);
}

/* ---- Shared section furniture ---- */

.kicker {
  margin: 0 0 0.9rem;
  color: var(--gold);
  font-size: 0.9rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  text-align: center;
}

section h2 {
  margin: 0 auto 2.6rem;
  max-width: 30ch;
  font-size: clamp(1.7rem, 4vw, 2.4rem);
  font-weight: 400;
  line-height: 1.25;
  text-align: center;
}

.divider {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  max-width: 620px;
  margin: 0 auto;
  padding: 0 1.5rem;
  color: var(--gold-dim);
  font-size: 0.8rem;
}

.divider::before,
.divider::after {
  content: "";
  flex: 1;
  border-top: 1px solid var(--line);
}

/* ---- Featured reconstruction ---- */

.featured { padding-top: 4.5rem; padding-bottom: 4.5rem; }

.featured-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.15fr);
  gap: 1.6rem;
  align-items: end;
}

.featured-grid figure { margin: 0; }

.featured-grid img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  border: 1px solid var(--line);
}

.featured-grid figcaption {
  margin-top: 0.6rem;
  color: var(--cream-faint);
  font-size: 0.85rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-align: center;
}

.featured-text {
  align-self: center;
  padding-bottom: 1.6rem;
}

.featured-text p {
  margin: 0 0 1.4rem;
  color: var(--cream-dim);
  font-size: 1.06rem;
}

.featured-cta a {
  color: var(--gold-bright);
  text-decoration: none;
  border-bottom: 1px solid var(--gold-dim);
  padding-bottom: 2px;
}

.featured-cta a:hover {
  color: var(--cream);
  border-bottom-color: var(--gold);
}

/* ---- Question ledger ---- */

.ledger { padding-top: 4.5rem; padding-bottom: 4.5rem; }

.ledger ul {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  max-width: 820px;
  columns: 2;
  column-gap: 3.5rem;
}

.ledger li {
  break-inside: avoid;
  padding: 0.45em 0;
  border-bottom: 1px solid rgba(194, 154, 75, 0.12);
}

.ledger a {
  display: inline-block;
  text-decoration: none;
  color: var(--cream-dim);
  transition: color 140ms ease;
}

.ledger a::before {
  content: "✦ ";
  color: var(--gold-dim);
  font-size: 0.75em;
}

.ledger a:hover { color: var(--gold-bright); }

/* ---- Method ---- */

.method { padding-top: 4.5rem; padding-bottom: 4.5rem; }

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2.2rem;
  counter-reset: step;
}

.steps li { counter-increment: step; }

.steps h3 { margin: 0 0 0.5rem; font-size: 1.18rem; font-weight: 400; }

.steps h3::before {
  content: counter(step, lower-roman) ".";
  display: block;
  color: var(--gold);
  font-size: 1.5rem;
  margin-bottom: 0.2rem;
}

.steps p { margin: 0; color: var(--cream-dim); font-size: 0.98rem; }

/* ---- Follow ---- */

.follow { padding-top: 4.5rem; padding-bottom: 3rem; }

.platforms {
  display: flex;
  gap: 1.2rem;
  justify-content: center;
  flex-wrap: wrap;
}

.platforms a {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  min-width: 220px;
  padding: 1.2rem 1.6rem;
  border: 1px solid var(--line);
  text-decoration: none;
  text-align: center;
  transition: border-color 160ms ease, transform 160ms ease;
}

.platforms a:hover {
  border-color: var(--gold);
  transform: translateY(-2px);
}

.platform-name { font-size: 1.1rem; }

.platform-handle { color: var(--gold-bright); font-size: 0.98rem; }

/* ---- Contact + footer ---- */

.contact {
  text-align: center;
  padding-top: 1rem;
  padding-bottom: 4.5rem;
}

.contact p { margin: 0; color: var(--cream-dim); }

.contact a {
  color: var(--gold-bright);
  text-decoration: none;
  border-bottom: 1px solid var(--gold-dim);
}

.contact a:hover { color: var(--cream); border-bottom-color: var(--gold); }

footer {
  border-top: 1px solid var(--line);
  padding: 2.5rem 1.5rem 3rem;
  text-align: center;
}

.foot-mark {
  display: block;
  width: 56px;
  height: 56px;
  margin: 0 auto 1rem;
  opacity: 0.85;
}

footer p {
  margin: 0;
  color: var(--cream-faint);
  font-size: 0.92rem;
  letter-spacing: 0.04em;
}

/* ---- Motion, gently ---- */

@media (prefers-reduced-motion: no-preference) {
  .hero-body,
  .featured,
  .ledger,
  .method {
    animation: rise 700ms ease both;
  }
  .featured { animation-delay: 80ms; }
  .ledger   { animation-delay: 140ms; }
  .method   { animation-delay: 200ms; }
}

@keyframes rise {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: none; }
}

/* ---- Responsive ---- */

@media (max-width: 880px) {
  .featured-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
  .featured-text {
    grid-column: 1 / -1;
    padding-bottom: 0;
    text-align: center;
  }
  .steps { grid-template-columns: 1fr; gap: 1.8rem; }
}

@media (max-width: 720px) {
  .ledger ul { columns: 1; }
}

@media (max-width: 560px) {
  body { font-size: 17px; }
  .lede { font-size: 1.15rem; }
  .featured-grid { gap: 0.9rem; }
  .platforms a { min-width: 100%; }
}
