*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg:  #080808;
  --fg:  #eeebe4;
  --mid: rgba(238, 235, 228, 0.45);
  --dim: rgba(238, 235, 228, 0.22);
  --border: rgba(238, 235, 228, 0.08);

  --serif: Georgia, 'Times New Roman', Times, serif;
  --sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
}

html { font-size: 16px; }

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--sans);
  font-weight: 300;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
}

/* ── Reveal ── */
.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .85s cubic-bezier(.16,1,.3,1), transform .85s cubic-bezier(.16,1,.3,1);
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

/* ── Hero ── */
main.hero {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 4rem 2rem;
  gap: 2rem;
}

h1.greeting {
  font-family: var(--serif);
  font-weight: normal;
  font-style: italic;
  font-size: clamp(1rem, 2.5vw, 1.5rem);
  letter-spacing: -0.01em;
  line-height: 1;
  color: var(--fg);
}

.spotify-wrap {
  width: 100%;
  max-width: 320px;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.spotify-label {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(0.75rem, 1.5vw, 0.875rem);
  color: var(--fg);
  line-height: 1.6;
}

/* ── Footer ── */
footer {
  padding: 1.75rem clamp(2rem, 5vw, 4rem);
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer__copy {
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--dim);
}

.footer__nav {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.footer__nav a {
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--dim);
  text-decoration: none;
  transition: color .25s;
}
.footer__nav a:hover { color: var(--fg); }

/* ── Subpages ── */
.subpage-wrap {
  flex: 1;
  padding: clamp(3rem, 8vw, 5.5rem) clamp(2rem, 7vw, 5rem);
  max-width: 740px;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--dim);
  text-decoration: none;
  margin-bottom: 3.5rem;
  transition: color .25s;
}
.back-link:hover { color: var(--fg); }

.back-arrow {
  display: block;
  width: 22px;
  height: 1px;
  background: currentColor;
  position: relative;
}
.back-arrow::before {
  content: '';
  position: absolute;
  left: 0; top: -3px;
  width: 6px; height: 6px;
  border-left: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transform: rotate(45deg);
}

.subpage-wrap h1 {
  font-family: var(--serif);
  font-weight: normal;
  font-style: italic;
  font-size: clamp(2.2rem, 6vw, 4rem);
  letter-spacing: -0.01em;
  line-height: 1.05;
  margin-bottom: 3rem;
  color: var(--fg);
}

.subpage-wrap h2 {
  font-family: var(--sans);
  font-size: 0.6rem;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--dim);
  margin-top: 2.5rem;
  margin-bottom: 0.85rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--border);
}

.subpage-wrap h2:first-of-type {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}

.subpage-wrap p,
.subpage-wrap address,
.subpage-wrap li {
  font-size: 0.875rem;
  line-height: 1.85;
  color: var(--mid);
  font-style: normal;
  max-width: 600px;
}

.subpage-wrap p + p { margin-top: 0.65rem; }

.subpage-wrap ul {
  padding-left: 1.25rem;
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
}
.subpage-wrap li { margin-bottom: 0.3rem; }

.subpage-wrap a {
  color: rgba(238,235,228,0.55);
  text-decoration: none;
  border-bottom: 1px solid rgba(238,235,228,0.15);
  transition: color .25s, border-color .25s;
}
.subpage-wrap a:hover {
  color: var(--fg);
  border-color: rgba(238,235,228,0.45);
}

.subpage-wrap .label {
  font-size: 0.8rem;
  font-weight: 400;
  color: rgba(238,235,228,0.6);
  display: block;
  margin-top: 1.2rem;
  margin-bottom: 0.3rem;
}

.note {
  margin-top: 2.5rem;
  font-size: 0.7rem !important;
  color: rgba(238,235,228,0.18) !important;
}

@media (max-width: 600px) {
  footer { flex-direction: column; align-items: flex-start; }
}