/* WhatRoleplay (WRP) — coming soon
   Single stylesheet, no build step, no external assets. */

:root {
  /* Ink + surface */
  --bg:            #0b0d10;
  --bg-elev:       #12151a;
  --line:          #1e242c;
  --line-soft:     #171c23;

  /* Type */
  --text:          #e6e9ee;
  --text-muted:    #98a2b0;
  --text-faint:    #6c7684;

  /* Accent — muted amber, reads as lamplight rather than neon */
  --accent:        #c8a45c;
  --accent-dim:    #8d7239;
  --accent-ink:    #11131a;

  --radius:        10px;
  --maxw:          62rem;

  --font-sans: "Inter", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --font-mono: ui-monospace, "SFMono-Regular", "Cascadia Mono", "Consolas", "Liberation Mono", monospace;
  /* The voice of the page. A serif masthead reads authored rather than shipped,
     which is most of the personality here. All system faces — nothing to load. */
  --font-serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background-color: var(--bg);
  /* Two very soft pools of light; degrades to flat --bg if gradients are unsupported. */
  background-image:
    radial-gradient(60rem 40rem at 50% -10%, rgba(200, 164, 92, 0.07), transparent 70%),
    radial-gradient(50rem 40rem at 100% 100%, rgba(90, 120, 160, 0.06), transparent 70%);
  background-repeat: no-repeat;
  background-attachment: fixed;
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  padding: 0.6rem 1rem;
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 600;
  z-index: 10;
}
.skip-link:focus { left: 0; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

.page {
  display: flex;
  flex-direction: column;
  /* svh keeps the hero centred under mobile browser chrome; vh is the fallback. */
  min-height: 100vh;
  min-height: 100svh;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ---------- Header ---------- */

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 1.75rem 0;
  border-bottom: 1px solid var(--line-soft);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--text);
  text-decoration: none;
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  border: 1px solid var(--accent-dim);
  border-radius: var(--radius);
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.brand-name {
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-link {
  font-size: 0.9rem;
  color: var(--text-muted);
  text-decoration: none;
}
.nav-link:hover { color: var(--text); }

.nav-link.is-disabled {
  color: var(--text-faint);
  cursor: default;
}

.nav-tag {
  display: inline-block;
  margin-left: 0.35rem;
  padding: 0.1rem 0.4rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-faint);
  vertical-align: 0.08em;
}

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

.hero {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 4.5rem 0 3.5rem;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  align-self: flex-start;
  margin: 0 0 1.5rem;
  padding: 0.35rem 0.75rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--bg-elev);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 3px rgba(200, 164, 92, 0.14);
}

.headline {
  margin: 0 0 1.5rem;
  font-family: var(--font-serif);
  /* Serifs carry more weight at size than the sans did, so this runs a little
     smaller and with far less negative tracking than a geometric face wants. */
  font-size: clamp(2.7rem, 8.5vw, 5rem);
  line-height: 1.04;
  letter-spacing: -0.012em;
  font-weight: 600;
  text-wrap: balance;
}

.headline-line { display: block; }

/* "What" holds the accent; "Roleplay" recedes. The name is a question, and the
   question is the half worth emphasising. */
.headline-soft { color: var(--text-muted); }

.lede {
  margin: 0 0 1.35rem;
  max-width: 31ch;
  font-family: var(--font-serif);
  font-size: clamp(1.35rem, 3.4vw, 1.95rem);
  line-height: 1.3;
  letter-spacing: -0.005em;
  color: var(--text);
  text-wrap: pretty;
}

/* Break after the opening sentence rather than wherever the measure runs out —
   otherwise "Twenty" gets stranded away from "minutes". */
.lede-open { display: block; }

.body-copy {
  margin: 0 0 2.25rem;
  max-width: 54ch;
  font-size: 1.0125rem;
  color: var(--text-muted);
  text-wrap: pretty;
}

/* ---------- Call to action ---------- */

.cta {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 4rem;
}

.btn {
  display: inline-block;
  padding: 0.8rem 1.5rem;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 120ms ease, border-color 120ms ease, transform 120ms ease;
}

.btn-primary {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--accent-ink);
}
.btn-primary:hover {
  background: #d6b46e;
  border-color: #d6b46e;
}
.btn-primary:active { transform: translateY(1px); }

.cta-note {
  font-size: 0.875rem;
  color: var(--text-faint);
}

/* ---------- Pillars ---------- */

.pillars {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.75rem;
  padding-top: 2.25rem;
  border-top: 1px solid var(--line-soft);
}

.pillar h2 {
  margin: 0 0 0.45rem;
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0;
  color: var(--accent);
  text-wrap: balance;
}

.pillar p {
  margin: 0;
  font-size: 0.925rem;
  color: var(--text-muted);
}

/* ---------- Footer ---------- */

.site-footer {
  padding: 1.75rem 0 2.25rem;
  border-top: 1px solid var(--line-soft);
  font-size: 0.825rem;
  color: var(--text-faint);
}

.footer-brand {
  margin: 0 0 0.3rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.01em;
}

.footer-brand abbr { text-decoration: none; }

.footer-meta { margin: 0; }
.footer-meta strong { color: var(--text-muted); font-weight: 600; }

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

@media (max-width: 46rem) {
  .pillars {
    grid-template-columns: 1fr;
    gap: 1.4rem;
  }
  .hero { padding: 3rem 0 2.5rem; }
  .cta { margin-bottom: 3rem; }
}

@media (max-width: 30rem) {
  .page { padding: 0 1.15rem; }
  .site-header { padding: 1.25rem 0; }
  .site-nav { gap: 1rem; }
  .btn { width: 100%; text-align: center; }
  .cta-note { font-size: 0.825rem; }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }
}

/* Light-mode users still get the dark treatment — this is a deliberate single-look
   design; the tokens above are the only place to change that. */
