@import url(https://fonts.googleapis.com/css?family=Cormorant+Garamond:700|Nunito+Sans:200,400);

:root {
  --paper: #f5f1e9;
  --ink: #283d36;
  --muted: #5c685d;
  --accent: #a25737;
  --rule: #283d362b;
  --timeline-ink: var(--ink);
  --timeline-paper: var(--paper);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  padding: 48px 12vw 48px 7vw;
  background: var(--paper);
  color: var(--ink);
  font: 400 16px/1.6 'Nunito Sans', sans-serif;
  -webkit-font-smoothing: antialiased;
}
h1, h2, p, ul { margin: 0; padding: 0; }
a { color: inherit; text-decoration: none; text-underline-offset: 5px; }
a:hover { text-decoration: underline; }
a:focus-visible { outline: 1px solid currentColor; outline-offset: 6px; }
::selection { background: var(--ink); color: var(--paper); }

body .content.first-light {
  max-width: 1440px;
  margin-inline: auto;
  min-height: calc(100svh - 96px);
}
.page-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--rule);
}
.title { font: 700 28px/1.1 'Cormorant Garamond', serif; letter-spacing: -.025em; }
.intro-place { font-size: 11px; color: var(--muted); }

.introduction { display: grid; align-items: center; gap: 0; }
.intro-copy { position: relative; z-index: 1; }
.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 28px;
  color: var(--muted);
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.eyebrow span { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.bio {
  font: 700 clamp(58px, 6.4vw, 104px)/1.02 'Cormorant Garamond', serif;
  letter-spacing: -.045em;
}
.bio em { color: var(--accent); font-weight: inherit; }
.intro-note {
  max-width: 36ch;
  margin-top: 28px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.8;
}
.ambient-art { pointer-events: none; }
.ambient-art svg { display: block; width: 100%; height: 100%; overflow: visible; }
.horizon { fill: none; stroke: var(--ink); stroke-width: 1.3; }
.horizon-echo { opacity: .25; stroke-width: .8; }
.sun-rise { transform-origin: 280px 248px; }

.content .site-footer { padding-top: 22px; border-top: 1px solid var(--rule); }
.links {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 14px 28px;
  list-style: none;
  font-size: 11px;
}
.links__item:first-child { margin-right: auto; }
.contact-prompt { margin-right: 16px; font: 700 25px/1.2 'Cormorant Garamond', serif; }

@media (prefers-reduced-motion: no-preference) {
  .sun-rise { animation: first-light 10s ease-in-out infinite alternate; }
}
@keyframes first-light { to { transform: translateY(-12px); } }

@media (max-width: 899px) {
  body { padding-inline: 7vw 18vw; }
  .bio { font-size: clamp(50px, 8.2vw, 76px); }
  body .first-light .ambient-art {
    right: -18vw;
    width: min(85vw, 640px);
    height: min(85vw, 640px);
    opacity: .32;
    transform: translateY(-24%);
  }
  .intro-copy { max-width: 540px; }
}
@media (max-width: 599px) {
  .page-header { flex-direction: column; align-items: flex-start; gap: 8px; }
  .title { font-size: 25px; }
  .intro-place { font-size: 10px; }
  .eyebrow { margin-bottom: 22px; }
  .bio { font-size: clamp(38px, 9.5vw, 58px); }
  .intro-note { max-width: 29ch; font-size: 14px; margin-top: 24px; }
  .links { gap: 12px 22px; }
  .links__item:first-child { flex-basis: 100%; }
  .contact-prompt { display: block; margin-bottom: 6px; }
}
@media (max-height: 700px) {
  body .content.first-light { min-height: 0; }
}
@media (max-height: 500px) and (min-aspect-ratio: 4/3) {
  body .first-light .ambient-art { position: relative; right: auto; width: 100%; height: 100%; transform: none; opacity: 1; }
  .intro-note { max-width: 45ch; }
}
