/* Alyssa — collected writing.
   Light, high-contrast, cutesy. Standalone: no external assets, no JS.
   Light-only by intent (a dark variant read as "mud"); every text/bg pair is >=4.5:1. */
:root {
  --bg:        #fff5f8;   /* soft blush cream */
  --panel:     #ffffff;
  --fg:        #241f2b;   /* warm near-black ink */
  --muted:     #7a6b7d;
  --rule:      #ffd6e6;   /* soft pink */
  --link:      #d6206e;   /* punchy rose */
  --link-hover:#a4004e;
  --accent:    #ff7aa8;   /* bubblegum */
  --mint:      #0b7d70;   /* deep mint (contrast-safe for white text) */
  --shadow:    0 2px 0 #ffd6e6, 0 10px 26px rgba(214, 32, 110, 0.10);
  --display: ui-rounded, "SF Pro Rounded", "Hiragino Maru Gothic ProN",
             Quicksand, "Segoe UI", system-ui, sans-serif;
  --serif: Georgia, "Iowan Old Style", "Palatino Linotype", Palatino, "Times New Roman", serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  color: var(--fg);
  background:
    radial-gradient(circle at 10% -8%, #ffe0ee 0, transparent 42%),
    radial-gradient(circle at 90% -10%, #dbfbf4 0, transparent 44%),
    var(--bg);
  background-attachment: fixed;
  font-family: var(--serif);
  font-size: 1.08rem;
  line-height: 1.7;
  padding: 2.2rem 1.4rem 5rem;
}

article, header, section, nav, footer { max-width: 42rem; margin-inline: auto; }

a { color: var(--link); text-decoration-thickness: 1.5px; text-underline-offset: 2px; }
a:hover { color: var(--link-hover); }

/* pill nav */
.topnav { margin-bottom: 1.4rem; }
.topnav a {
  display: inline-block;
  font-family: var(--display);
  font-size: 0.8rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--link);
  background: #fff;
  border: 2px solid var(--rule);
  border-radius: 999px;
  padding: 0.3rem 0.85rem;
}
.topnav a:hover { background: var(--link); color: #fff; border-color: var(--link); }

/* article card */
article {
  background: var(--panel);
  border: 2px solid var(--rule);
  border-radius: 18px;
  padding: 2rem 2.1rem 1.5rem;
  box-shadow: var(--shadow);
}

h1 {
  font-family: var(--display);
  font-size: 2rem;
  line-height: 1.18;
  letter-spacing: -0.01em;
  margin: 0 0 0.5rem;
  color: var(--fg);
}

.meta {
  font-family: var(--display);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--mint);
  margin: 0 0 1.4rem;
}

/* editorial framing paragraph */
.dek {
  background: #fff0f6;
  border: 1.5px dashed var(--accent);
  border-radius: 14px;
  padding: 0.9rem 1.15rem;
  margin: 0 0 1.5rem;
  color: #6a5566;
  font-style: italic;
}

hr { border: none; text-align: center; margin: 1.9rem 0; }
hr::before {
  content: "\2740 \2740 \2740";  /* ❀ ❀ ❀ */
  color: var(--accent);
  letter-spacing: 0.6em;
  font-size: 0.8rem;
}

article p { margin: 0 0 1.15rem; hyphens: auto; }

footer {
  margin-top: 1.5rem;
  padding: 0 0.4rem;
  font-family: var(--display);
  font-size: 0.8rem;
}
footer a { color: var(--muted); text-decoration: none; }
footer a::before { content: "\2740  "; color: var(--accent); }  /* ❀ */
footer a:hover { color: var(--link); }

/* ---- index ---- */
.index-header { margin-bottom: 1.5rem; }
.index-header h1 { font-size: 2.5rem; }
.index-header h1::after { content: " \2661"; color: var(--accent); }  /* ♡ */
.lede { color: var(--muted); font-size: 1.02rem; margin: 0.3rem 0 0; }

section h2 {
  display: inline-block;
  font-family: var(--display);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #fff;
  background: var(--mint);
  padding: 0.22rem 0.85rem;
  border-radius: 999px;
  margin: 2.3rem 0 0.9rem;
}

ul.index { list-style: none; margin: 0; padding: 0; }
ul.index li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  padding: 0.45rem 0.6rem;
  border-radius: 10px;
}
ul.index li:hover { background: #fff0f6; }
ul.index a { text-decoration: none; color: var(--fg); font-weight: 500; }
ul.index a::before { content: "\2726  "; color: var(--accent); }  /* ✦ */
ul.index li:hover a { color: var(--link); }
.row-meta {
  font-family: var(--display);
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--mint);
  white-space: nowrap;
  flex-shrink: 0;
}

@media (max-width: 34rem) {
  body { font-size: 1.02rem; padding-top: 1.6rem; }
  article { padding: 1.4rem 1.3rem 1rem; border-radius: 14px; }
  .index-header h1 { font-size: 2.1rem; }
  ul.index li { flex-direction: column; gap: 0.1rem; }
}
