/* basic-concepts — site styles */

:root {
  --bg: #f6f3ee;
  --fg: #161616;
  --muted: #6b6760;
  --line: #d9d4cb;
  --accent: #e8553d;
  --accent-2: #2f5bd3;
  --accent-3: #f2b632;
  --font: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #121212;
    --fg: #f2efe9;
    --muted: #9a958c;
    --line: #2c2a27;
    color-scheme: dark;
  }
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
}

a { color: inherit; text-decoration-color: var(--accent); text-underline-offset: 0.2em; }
a:hover { color: var(--accent); }
:focus-visible { outline: 2px solid var(--accent-2); outline-offset: 3px; }

/* Header */
.site-header {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 0.9rem 1.25rem;
  border-bottom: 1px solid var(--line);
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  text-decoration: none;
}

.logo {
  display: block;
  width: 36px;
  height: 36px;
  object-fit: contain;
}

.social { display: flex; align-items: center; gap: 0.25rem; }
.social a { display: grid; place-items: center; width: 2.5rem; height: 2.5rem; border-radius: 999px; color: var(--fg); }
.social a:hover { color: var(--accent); }
.social svg { width: 22px; height: 22px; }

/* Main */
main {
  flex: 1;
  width: 100%;
  padding-bottom: 2rem;
}

h1, h2, h3 { line-height: 1.1; letter-spacing: -0.02em; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}


/* Album cover */
/* Fills the first screen (minus the ~4.4rem header) so the bio starts below the fold */
.album {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - 4.4rem);
  min-height: calc(100svh - 4.4rem);
  padding: 2rem 1.25rem;
  border-bottom: 1px solid var(--line);
}
.album a {
  display: block;
  width: min(100%, 44rem, 100vh - 8.5rem);
  width: min(100%, 44rem, 100svh - 8.5rem);
}
.album img { display: block; width: 100%; height: auto; aspect-ratio: 1; border-radius: 12px; transition: opacity 0.15s; }
.album a:hover img { opacity: 0.85; }

/* Bio */
.bio {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr));
  gap: 2rem;
  align-items: center;
  max-width: 54.5rem;
  margin: 2.5rem auto 2rem;
  padding-inline: 1.25rem;
}
.bio img { display: block; width: 100%; height: auto; border-radius: 12px; }
.bio-text p { margin: 0 0 1rem; }
.bio-text p:last-child { margin-bottom: 0; }

/* Footer */
.site-footer {
  display: flex;
  justify-content: flex-start;
  width: 100%;
  padding: 2rem 1.25rem;
  border-top: 1px solid var(--line);
}
.button {
  display: inline-block;
  padding: 0.7rem 1.6rem;
  border: 2px solid var(--fg);
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
}
.button:hover { background: var(--fg); color: var(--bg); }
