/* ===========================================================
   mayahawke.org — unofficial fan page
   Editorial, text-first layout. Vanilla CSS, no framework.
   =========================================================== */

:root {
  --ink:      #2A2422;
  --ink-soft: #453D38;
  --muted:    #736A62;
  --paper:    #FBF8F4;
  --paper-2:  #F1EAE1;
  --line:     #E3D9CB;
  --rose:     #B4636E;
  --rose-deep:#8E4750;
  --white:    #FFFFFF;

  --display: "Newsreader", "Georgia", serif;
  --body:    "Inter", system-ui, -apple-system, sans-serif;

  --step-0: clamp(1rem, 0.97rem + 0.15vw, 1.08rem);
  --step-1: clamp(1.2rem, 1.1rem + 0.5vw, 1.45rem);
  --step-2: clamp(1.6rem, 1.4rem + 1vw, 2.2rem);
  --step-3: clamp(2.1rem, 1.7rem + 2vw, 3.1rem);

  --maxw: 860px;
  --radius: 12px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.001ms !important; animation-duration: 0.001ms !important; }
}

body {
  font-family: var(--body);
  font-size: var(--step-0);
  line-height: 1.7;
  color: var(--ink-soft);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

h1, h2 { font-family: var(--display); color: var(--ink); line-height: 1.2; font-weight: 600; letter-spacing: -0.01em; }
em { font-style: italic; color: var(--ink); }
a { color: var(--rose-deep); text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
a:hover { color: var(--rose); }
::selection { background: var(--rose); color: var(--white); }

.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: clamp(1.1rem, 4vw, 2rem); }
.eyebrow {
  font-family: var(--body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--rose-deep);
}

/* ---------- Header ---------- */
.site-header { border-bottom: 1px solid var(--line); background: var(--paper); }
.nav { display: flex; align-items: center; gap: 1rem; height: 78px; }
.brand { display: inline-flex; align-items: center; gap: 0.65rem; font-family: var(--display); font-weight: 600; font-size: 1.2rem; color: var(--ink); }
.brand__mark { width: 36px; height: 36px; flex: none; }
.badge {
  margin-left: auto;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  border: 1px solid var(--line);
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  white-space: nowrap;
}

/* ---------- Notice ---------- */
.notice {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1rem 1.2rem;
  margin-top: 1.6rem;
  font-size: 0.92rem;
  color: var(--ink-soft);
}
.notice svg { width: 20px; height: 20px; flex: none; margin-top: 2px; color: var(--rose-deep); }
.notice strong { color: var(--ink); }

/* ---------- Hero ---------- */
.hero { padding-block: clamp(2.5rem, 6vw, 4rem) clamp(2rem, 5vw, 3rem); max-width: calc(var(--maxw) + 0px); }
.hero h1 { font-size: var(--step-3); margin: 0.9rem 0 1.1rem; max-width: 22ch; }
.hero__sub { font-size: var(--step-1); color: var(--muted); max-width: 46ch; line-height: 1.6; }

/* ---------- Content rows ---------- */
.row {
  display: grid;
  grid-template-columns: 9rem minmax(0, 1fr);
  gap: 1.5rem 3rem;
  padding-block: clamp(2rem, 5vw, 3rem);
  border-top: 1px solid var(--line);
}
.row--alt {
  background: var(--paper-2);
  border-radius: var(--radius);
  border-top: 1px solid var(--line);
}
.row__body h2 { font-size: var(--step-2); margin-bottom: 0.9rem; }
.row__body p { max-width: 58ch; margin-bottom: 1rem; }
.row__body p:last-child { margin-bottom: 0; }
.fineprint { font-size: 0.88rem; color: var(--muted); }

@media (max-width: 700px) {
  .row { grid-template-columns: 1fr; gap: 0.7rem; }
}

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--ink); background: var(--ink); color: #C9BFB4; padding-block: 2.2rem; margin-top: 1rem; }
.footer__inner { display: flex; flex-direction: column; gap: 0.8rem; }
.footer__disclaimer { font-size: 0.82rem; line-height: 1.6; max-width: 70ch; color: #B7ACA0; }
.footer__meta { font-size: 0.82rem; color: #8C8177; }

/* ---------- Scroll reveal ---------- */
[data-reveal] { opacity: 0; transform: translateY(16px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
[data-reveal].is-in { opacity: 1; transform: none; }
[data-reveal][data-delay="1"] { transition-delay: 0.08s; }
[data-reveal][data-delay="2"] { transition-delay: 0.16s; }
@media (prefers-reduced-motion: reduce) { [data-reveal] { opacity: 1; transform: none; } }

.skip-link {
  position: absolute; left: 1rem; top: -3rem;
  background: var(--ink); color: var(--paper);
  padding: 0.6rem 1rem; border-radius: 8px; z-index: 200;
  transition: top 0.2s var(--ease);
}
.skip-link:focus { top: 1rem; }

:focus-visible { outline: 2.5px solid var(--rose-deep); outline-offset: 3px; border-radius: 4px; }
