/*
 * Deckaugur — shared landing stylesheet
 * Imported by all static pages (landing/index.html, landing/about.html, etc.)
 * React app uses app/src/styles.css (Tailwind v4) — keep tokens in sync.
 */

/* ── Fonts ── */
@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;600&family=Cormorant+Garamond:ital,wght@0,400;0,500;1,400&display=swap');

/* ── Design tokens ── */
:root {
  --ink:          #1a1410;
  --ink-soft:     #251c16;
  --ink-deep:     #0e0a07;
  --parchment:    #f0e6d2;
  --parchment-dim:#c9bfaa;
  --parchment-fd: #8a8170;
  --gold:         #c9a96e;
  --gold-bright:  #e6c989;
  --gold-dim:     #8b7349;
  --ember:        #d4641c;
  --ember-bright: #f08542;
  --ember-dim:    #8a3f0e;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* ── Base ── */
html { scroll-behavior: smooth; }

body {
  background: var(--ink);
  color: var(--parchment);
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.0625rem;
  line-height: 1.65;
  min-height: 100vh;
}

a { color: inherit; text-decoration: none; }

/* ── Typography helpers ── */
.display { font-family: 'Cinzel', serif; }

/* Heading hierarchy — reuse across every page */
.h1 {
  font-family: 'Cinzel', serif;
  font-size: clamp(2rem, 5vw, 3.2rem);
  letter-spacing: 0.12em;
  color: var(--gold-bright);
  line-height: 1.2;
}
.h2 {
  font-family: 'Cinzel', serif;
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  letter-spacing: 0.1em;
  color: var(--gold-bright);
}
.h3 {
  font-family: 'Cinzel', serif;
  font-size: 0.75rem;
  letter-spacing: 0.22em;
  color: var(--gold-bright);
  text-transform: uppercase;
}
.eyebrow {
  font-family: 'Cinzel', serif;
  font-size: 0.65rem;
  letter-spacing: 0.35em;
  color: var(--gold-dim);
  text-transform: uppercase;
}
.section-label {
  font-family: 'Cinzel', serif;
  font-size: 0.65rem;
  letter-spacing: 0.3em;
  color: var(--gold-dim);
  text-align: center;
  text-transform: uppercase;
  margin-bottom: 2.2rem;
}

/* ── Layout ── */
/* Standard content width (960px) */
.wrap {
  max-width: 60rem;
  margin: 0 auto;
  padding: 0 1.5rem;
}
/* Narrow reading width (720px) — for prose pages */
.wrap-narrow {
  max-width: 45rem;
}

/* ── Header ── */
header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(26, 20, 16, 0.95);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(139, 115, 73, 0.25);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 3.5rem;
}
.brand {
  font-family: 'Cinzel', serif;
  font-size: 1.05rem;
  letter-spacing: 0.2em;
  color: var(--gold-bright);
}

/* ── Buttons ── */
.btn-primary {
  display: inline-block;
  font-family: 'Cinzel', serif;
  font-size: 0.8rem;
  letter-spacing: 0.22em;
  padding: 0.85rem 2.2rem;
  border-radius: 4px;
  border: 1px solid rgba(201, 169, 110, 0.55);
  background: rgba(139, 115, 73, 0.22);
  color: var(--gold-bright);
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, transform 0.1s;
}
.btn-primary:hover {
  background: rgba(139, 115, 73, 0.38);
  border-color: var(--gold);
  transform: translateY(-1px);
}
.btn-secondary {
  display: inline-block;
  font-family: 'Cinzel', serif;
  font-size: 0.75rem;
  letter-spacing: 0.22em;
  padding: 0.8rem 2rem;
  border-radius: 4px;
  border: 1px solid rgba(139, 115, 73, 0.25);
  color: var(--parchment-dim);
  cursor: pointer;
  transition: border-color 0.15s, color 0.15s;
}
.btn-secondary:hover {
  border-color: rgba(139, 115, 73, 0.5);
  color: var(--parchment);
}
.btn-enter {
  font-family: 'Cinzel', serif;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  padding: 0.45rem 1.1rem;
  border-radius: 4px;
  border: 1px solid rgba(201, 169, 110, 0.5);
  background: rgba(139, 115, 73, 0.18);
  color: var(--gold-bright);
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s;
}
.btn-enter:hover {
  background: rgba(139, 115, 73, 0.32);
  border-color: var(--gold);
}

/* ── Footer ── */
footer {
  border-top: 1px solid rgba(139, 115, 73, 0.12);
  padding: 1.5rem 0;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.72rem;
  color: rgba(201, 191, 170, 0.35);
  flex-wrap: wrap;
  gap: 0.5rem;
}
.footer-inner .display { letter-spacing: 0.15em; }
.footer-links {
  display: flex;
  gap: 1.4rem;
}
.footer-links a:hover { color: rgba(201, 191, 170, 0.7); }

/* ── Prose (used on reading pages like About) ── */
.prose { margin-bottom: 5rem; }
.prose p {
  color: var(--parchment-dim);
  margin-bottom: 1.6rem;
  font-size: 1.07rem;
}
.prose p:last-child { margin-bottom: 0; }
.prose .drop {
  font-size: 1.55rem;
  line-height: 1.35;
  color: var(--parchment);
  font-style: italic;
}

.pull {
  margin: 2.5rem 0;
  padding: 1.5rem 1.8rem;
  border-left: 3px solid var(--gold-dim);
  background: rgba(139, 115, 73, 0.07);
  border-radius: 0 4px 4px 0;
}
.pull p {
  font-style: italic;
  font-size: 1.15rem;
  color: var(--parchment);
  margin: 0;
}

.divider {
  text-align: center;
  font-family: 'Cinzel', serif;
  font-size: 0.6rem;
  letter-spacing: 0.4em;
  color: var(--gold-dim);
  margin: 3rem 0;
}

/* ── Responsive ── */
@media (max-width: 540px) {
  .footer-inner { justify-content: center; text-align: center; }
  .footer-links { justify-content: center; }
}
