/* Archive 199X - shared styles. Edit colors and fonts in :root below. */
:root {
  --bg-top: #2b3350;
  --bg-mid: #1f2536;
  --bg-low: #171b29;
  --glow: #d6958f;      /* dusty rose */
  --teal: #86aaa6;      /* faded teal */
  --text: #ebe6dc;
  --muted: #a9adbd;
  --line: #3a4360;
  --serif: "Instrument Serif", Georgia, "Times New Roman", serif;
  --sans: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  color: var(--text);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  background:
    radial-gradient(ellipse 90% 45% at 12% 105%, rgba(214, 149, 143, 0.35), transparent 70%),
    linear-gradient(180deg, var(--bg-top) 0%, var(--bg-mid) 45%, var(--bg-low) 100%);
  background-attachment: fixed;
}

a { color: inherit; }
a:focus-visible { outline: 2px solid var(--teal); outline-offset: 4px; border-radius: 2px; }

.wrap { width: min(100% - 3rem, 62rem); margin-inline: auto; }

/* Header */
.site-header { padding: 1.75rem 0; }
.site-header .wrap { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; flex-wrap: wrap; }
.brand { font-family: var(--serif); font-size: 1.5rem; text-decoration: none; }
.site-nav { display: flex; gap: 1.75rem; }
.site-nav a { text-decoration: none; color: var(--muted); padding-bottom: 2px; border-bottom: 1px solid transparent; }
.site-nav a:hover { color: var(--text); }
.site-nav a[aria-current="page"] { color: var(--text); border-bottom-color: var(--glow); }

main { flex: 1; }

/* Hero (home) */
.hero { padding: clamp(3rem, 12vh, 8rem) 0 clamp(3rem, 8vh, 5rem); }
.hero h1 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(3.75rem, 14vw, 10rem);
  line-height: 0.92;
  letter-spacing: -0.02em;
  animation: rise 1.4s ease-out both;  /* the one animated moment on the site */
}
.tagline { margin: 1.5rem 0 0; max-width: 30rem; font-size: 1.25rem; color: var(--muted); }
.actions { margin-top: 2.25rem; display: flex; gap: 1rem; flex-wrap: wrap; }

.button {
  display: inline-block;
  padding: 0.8rem 1.5rem;
  border: 1px solid var(--text);
  border-radius: 999px;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}
.button:hover { background: var(--text); color: var(--bg-mid); }
.button.quiet { border-color: var(--line); color: var(--muted); }
.button.quiet:hover { border-color: var(--text); background: transparent; color: var(--text); }

.welcome { padding-bottom: 5rem; }
.welcome p { max-width: 34rem; margin: 0; }

/* Inner pages */
.page-title { font-family: var(--serif); font-weight: 400; font-size: clamp(2.75rem, 8vw, 5rem); line-height: 1; margin: 2rem 0 2.5rem; }
h2 { font-family: var(--serif); font-weight: 400; font-size: 1.9rem; margin: 0 0 1rem; }

.two-col { display: grid; gap: 3.5rem; padding-bottom: 5rem; }
@media (min-width: 52rem) { .two-col { grid-template-columns: 1.15fr 1fr; gap: 5rem; } }
.bio p { max-width: 34rem; margin: 0 0 1.25rem; }

.link-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.link-list li { border-bottom: 1px solid var(--line); }
.link-list a { display: flex; justify-content: space-between; gap: 1rem; padding: 0.95rem 0; text-decoration: none; }
.link-list a:hover .name { color: var(--glow); }
.link-list .note { color: var(--muted); font-size: 0.95rem; }

.embed { margin-top: 2rem; }

/* Contact */
.contact { padding-bottom: 5rem; }
.email { display: inline-block; font-family: var(--serif); font-size: clamp(1.75rem, 6vw, 3rem); margin: 0 0 2.5rem; text-decoration-color: var(--glow); text-underline-offset: 0.2em; }
.contact .link-list { max-width: 28rem; }

/* Footer */
.site-footer { padding: 2rem 0 2.5rem; color: var(--muted); font-size: 0.9rem; border-top: 1px solid var(--line); }

@keyframes rise {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero h1 { animation: none; }
  .button { transition: none; }
}
