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

:root {
  --black: #0a0a0a;
  --white: #ffffff;
  --gray: #888888;
  --light-gray: #cccccc;
  --accent: #1DB954;
}

body {
  background-color: var(--black);
  color: var(--white);
  font-family: 'Cormorant Garamond', 'Times New Roman', serif;
  font-size: 16px;
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ── Header ── */
header {
  display: none;
}

.site-title {
  display: none;
}

.handwriting-logo {
  display: none;
}

/* ── Nav ── */
nav {
  display: flex;
  gap: 36px;
  align-items: center;
}

nav a {
  color: var(--gray);
  text-decoration: none;
  font-size: 1.1rem;
  letter-spacing: 0.1em;
  transition: color 0.2s;
}

nav a:hover,
nav a.active {
  color: var(--white);
}

/* ── Social Bar ── */
.social-bar {
  display: flex;
  gap: 24px;
  align-items: center;
}

.social-bar a {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray);
  transition: color 0.2s, transform 0.2s;
  text-decoration: none;
}

.social-bar a:hover {
  color: var(--white);
  transform: translateY(-2px);
}

.social-bar svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

/* ── Main ── */
main {
  flex: 1;
  display: flex;
  flex-direction: column;
}

/* ── Page sections ── */
.page {
  display: none;
  flex: 1;
}

.page.active {
  display: flex;
  flex-direction: column;
}

/* ── ConvertKit Form ── */
.seva-form {
  margin-top: 0 !important;
}

.seva-form [data-style="clean"] {
  padding-top: 0 !important;
}

.hero-intro {
  max-width: 680px;
  text-align: center;
  color: #d4d4d4;
  line-height: 1.8;
  font-size: 1rem;
  padding: 0 12px;
}

.formkit-form[data-uid="70f485f42a"] .formkit-input {
  background-color: rgba(255, 255, 255, 0.95) !important;
  border-color: #e3e3e3 !important;
  color: #000 !important;
}

.formkit-form[data-uid="70f485f42a"] .formkit-input::placeholder {
  color: #999 !important;
}

.formkit-form[data-uid="70f485f42a"] .formkit-submit {
  background-color: #1677be !important;
  color: #fff !important;
}

.formkit-form[data-uid="70f485f42a"] .formkit-submit:hover {
  opacity: 0.9;
}

/* ── Music Page ── */
.music-container {
  padding: 80px 48px;
  max-width: 900px;
  margin: 0 auto;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.music-heading {
  height: 60px;
  width: auto;
  margin-bottom: 16px;
  object-fit: contain;
  align-self: center;
}

.music-item {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  min-height: 315px;
}

.music-item iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border-radius: 12px;
}

/* ── Home Page ── */
.hero-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 40px 48px;
  gap: 12px;
}

.hero-photo {
  width: 320px;
  max-width: 80%;
  height: auto;
  border-radius: 8px;
  object-fit: cover;
}

.hero-handwriting-logo {
  width: 200px;
  max-width: 70%;
  height: auto;
  object-fit: contain;
  margin-top: 8px;
}

.hero-image {
  max-width: 100%;
  height: auto;
  max-height: 60vh;
  object-fit: contain;
}

.social-bar {
  margin-bottom: -8px;
}

.social-bar svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

/* ── About Page ── */
.about-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  padding: 80px 48px;
  max-width: 700px;
  margin: 0 auto;
  width: 100%;
}

.about-photo {
  flex-shrink: 0;
  width: 100%;
  max-width: 360px;
  height: auto;
  max-height: 420px;
  object-fit: contain;
  object-position: center top;
  filter: grayscale(20%);
}

.about-text {
  padding-top: 8px;
  text-align: center;
}

.about-heading {
  height: 56px;
  width: auto;
  margin-bottom: 28px;
  object-fit: contain;
}

.about-text p {
  color: var(--light-gray);
  font-size: 1rem;
  line-height: 1.85;
  max-width: 520px;
}

/* ── Footer ── */
/* ── Footer ── */
footer {
  padding: 24px 48px;
  border-top: 1px solid #1a1a1a;
  display: flex;
  justify-content: center;
  align-items: center;
}

footer span {
  color: #444;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
}
.bottom-form {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  gap: 16px;
  padding: 48px 16px;
}

/* Center and constrain the convertkit form */
.bottom-form .formkit-form {
  max-width: 700px;
  width: 100%;
}

/* ── Responsive ── */
@media (max-width: 768px) {
  header {
    flex-direction: column;
    gap: 20px;
    padding: 24px;
    text-align: center;
  }

  .handwriting-logo {
    height: 40px;
  }

  .hero-container {
    padding: 48px 24px;
  }

  .hero-image {
    max-height: 50vh;
  }

  .about-container {
    flex-direction: column;
    align-items: center;
    padding: 48px 24px;
    gap: 40px;
  }

  .about-photo {
    width: 100%;
    max-width: 360px;
    height: auto;
    max-height: 420px;
  }

  .about-text h1 {
    text-align: center;
  }

  .about-text p {
    max-width: 100%;
  }
}
