:root {
  color-scheme: dark;
  --background: #130d15;
  --surface: #201422;
  --line: #483049;
  --white: #fff7fc;
  --muted: #e7c7db;
  --hot-pink: #ff459f;
  --soft-pink: #ffaed5;
  background: var(--background);
  color: var(--white);
  font-family: system-ui, sans-serif;
}

* { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; }
a:focus-visible { outline: 2px solid var(--soft-pink); outline-offset: 5px; }
.wrap { width: min(100% - 2 * clamp(1rem, 5vw, 4rem), 68rem); margin-inline: auto; }

.site-header,
.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 4.5rem;
  border-bottom: 1px solid var(--line);
}

.wordmark,
.site-header nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  text-decoration: none;
}

.wordmark { font-weight: 800; letter-spacing: -0.035em; }
.wordmark span, .site-header nav a:hover { color: var(--soft-pink); }

.profile {
  display: grid;
  align-items: center;
  gap: clamp(1.75rem, 5vw, 5rem);
  padding-block: clamp(2rem, 7vw, 5rem);
}

.intro { min-width: 0; }
.eyebrow {
  color: var(--soft-pink);
  font-size: 0.875rem;
  font-weight: 750;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  font: 400 clamp(3.5rem, 13vw, 8.5rem)/0.92 Georgia, serif;
  letter-spacing: -0.07em;
}
h1 span { color: var(--hot-pink); }
.lead { max-width: 30ch; color: var(--muted); font-size: clamp(1.1rem, 2vw, 1.3rem); line-height: 1.55; }

.button {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  margin-top: 0.35rem;
  padding: 0.65rem 1.15rem;
  border-radius: 0.45rem;
  background: var(--hot-pink);
  color: #190916;
  font-weight: 750;
  text-decoration: none;
}
.button:hover { background: var(--soft-pink); }

.cover {
  display: grid;
  place-items: center;
  aspect-ratio: 5 / 4;
  overflow: hidden;
  border: 1px solid #a3477a;
  border-radius: 1.15rem 4rem 1.15rem 1.15rem;
  background:
    radial-gradient(ellipse at 85% 9%, #ffaed5 0%, transparent 46%),
    radial-gradient(ellipse at 8% 95%, #5b174d 0%, transparent 56%),
    repeating-linear-gradient(135deg, #ffffff12 0 1px, transparent 1px 12px),
    #c42c82;
}
.cover span {
  color: var(--white);
  font: italic 400 clamp(6rem, 29vw, 15rem)/0.9 Georgia, serif;
  text-shadow: 0 0.08em 0.2em #41133766;
}

.journal { padding-bottom: clamp(2.25rem, 6vw, 4.5rem); scroll-margin-top: 1rem; }
h2 { margin: 0 0 0.75rem; font-size: clamp(1.6rem, 4vw, 2.25rem); }
.entry {
  padding: clamp(1rem, 4vw, 2rem);
  border: 1px solid var(--line);
  border-inline-start: 4px solid var(--hot-pink);
  border-radius: 0.75rem;
  background: var(--surface);
}
.entry h3 { margin: 0; color: var(--soft-pink); }
.entry p { margin: 0.45rem 0 0; color: var(--muted); line-height: 1.6; }
.site-footer { border-top: 1px solid var(--line); border-bottom: 0; }

@media (min-width: 48rem) {
  .profile { grid-template-columns: minmax(0, 1fr) minmax(0, 0.85fr); }
  h1 { font-size: clamp(4.25rem, 9vw, 8.5rem); }
  h1 span { display: block; }
}
