:root {
  --brand-primary: #670679;
  --brand-secondary: #E2C007;

  --bg: var(--brand-primary);
  --text: #ffffff;
  --muted: rgba(255, 255, 255, 0.85);

  --card: #460452;

  --radius: 12px;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.25);

  --space-1: 8px;
  --space-2: 12px;
  --space-3: 16px;
  --space-4: 24px;
  --space-5: 32px;
  --space-6: 48px;
  --space-7: 72px;

  --measure: 72ch;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg);
  color: var(--text);
}

/* --- Typography --- */
h1, h2 {
  letter-spacing: 0.2px;
}

h1 {
  color: var(--brand-secondary);
  margin: 0;
}

h2 {
  font-weight: 300;
  font-size: 1.5em;
  margin: 0 0 var(--space-3);
}

p {
  font-weight: 200;
  color: var(--muted);
  line-height: 1.65;
  margin: 0 0 var(--space-4);
}

/* Keep Bootstrap container but improve side padding */
.container {
  padding-left: 18px;
  padding-right: 18px;
}

/* --- Links + Accessibility --- */
a {
  color: var(--text);
}

a:hover {
  color: var(--text);
  text-decoration: none;
}

a:focus-visible {
  outline: 3px solid var(--brand-secondary);
  outline-offset: 3px;
  border-radius: 6px;
}

/* Skip link (keyboard users) */
.skip-link {
  position: absolute;
  left: -999px;
  top: var(--space-3);
  background: var(--brand-secondary);
  color: #000;
  padding: 10px 12px;
  border-radius: 8px;
  z-index: 1000;
}

.skip-link:focus {
  left: var(--space-3);
}

/* --- Nav (no Bootstrap collisions) --- */
.site-nav {
  padding: var(--space-4) 0;
  text-align: center;
}

.site-nav__list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.site-nav__item {
  display: inline-block;
  position: relative;
  margin: 0 var(--space-2);
}

.site-nav__link {
  font-weight: 200;
  font-size: 1.2rem;
  padding: var(--space-2) var(--space-3);
  display: inline-block;
}

.site-nav__link[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: -6px;
  width: 6px;
  height: 6px;
  background: var(--brand-secondary);
  border-radius: 999px;
}

/* --- Hero --- */
.hero {
  padding-top: var(--space-7);
  padding-bottom: var(--space-5);
  text-align: center;
}

.hero__title {
  font-size: clamp(3rem, 7vw, 7rem);
  line-height: 0.95;
}

.hero__title-accent {
  color: var(--text);
  font-weight: 200;
}

.hero__down {
  margin-top: var(--space-5);
  margin-bottom: 0;
}

.hero__down a:hover {
  color: var(--brand-secondary);
}

/* --- Sections --- */
.section {
  padding-top: var(--space-5);
}

/* This is the key: a centered column wrapper used in your HTML */
.measure {
  max-width: var(--measure);
  margin-left: auto;
  margin-right: auto;
}

/* Titles should align with the left edge of the column */
.section__title {
  text-align: left;
}

/* Paragraphs no longer need their own max-width (wrapper handles it) */
.content p {
  max-width: none;
  margin-left: 0;
  margin-right: 0;
  text-align: left;
}

/* --- Interests --- */
.interests {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: left; /* aligned with the same column */
}

.interests li {
  display: inline-block;
  margin: var(--space-2);
}

.interest {
  height: 60px;
  width: 60px;
  object-fit: contain;
  filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.25));
  transition: transform 120ms ease;
}

.interests a:hover .interest {
  transform: translateY(-2px);
}

/* --- Spotify embeds --- */
.embed {
  width: 100%;
  margin: var(--space-3) 0; /* align to column; no auto-centering needed */
}

.embed iframe {
  width: 100%;
  height: 80px;
  border: 0;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

/* --- Cards --- */
.card {
  background-color: var(--card) !important;
  border-radius: var(--radius);
}

/* --- Footer --- */
.footer {
  padding: var(--space-7) 0 var(--space-5);
  text-align: center;
  color: var(--muted);
}

/* --- Responsive tweaks --- */
@media (max-width: 600px) {
  .site-nav__link {
    font-size: 1.05rem;
    padding: 10px 12px;
  }

  /* On small screens, let the column be full width */
  .measure {
    max-width: 100%;
  }
}

.interests { text-align: center; }