:root {
  --bg: #0b0d10;
  --bg-soft: #14181d;
  --surface: #1b2128;
  --primary: #7bd389;
  --primary-deep: #4f9d5f;
  --accent: #f5a6c6;
  --text: #f2f4f5;
  --text-dim: #a9b2bb;
  --text-faint: #6b747d;
  --line: rgba(255, 255, 255, 0.08);
  --radius: 16px;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", system-ui, sans-serif;
  color: var(--text);
  background-color: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

/* ---------- Nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
  background: rgba(11, 13, 16, 0.7);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.nav__brand {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--text);
  text-decoration: none;
}

.nav__brand span {
  color: var(--accent);
  margin: 0 0.15em;
}

.nav__links {
  display: flex;
  gap: 1.5rem;
}

.nav__links a {
  color: var(--text-dim);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  transition: color 0.2s ease;
}

.nav__links a:hover {
  color: var(--primary);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 6rem 1.5rem 5rem;
  overflow: hidden;
  background:
    radial-gradient(circle at 20% 20%, rgba(123, 211, 137, 0.18), transparent 45%),
    radial-gradient(circle at 80% 70%, rgba(245, 166, 198, 0.16), transparent 50%),
    linear-gradient(180deg, #0b0d10 0%, #14181d 100%);
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.025) 0px, rgba(255, 255, 255, 0.025) 1px, transparent 1px, transparent 4px);
  pointer-events: none;
  animation: drift 18s linear infinite;
}

@keyframes drift {
  from { transform: translateY(0); }
  to { transform: translateY(-40px); }
}

.hero__content {
  position: relative;
  max-width: 720px;
  animation: rise 0.9s ease-out both;
}

@keyframes rise {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero__eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.74rem;
  color: var(--primary);
  margin: 0 0 1.2rem;
}

.hero__title {
  font-family: "Cormorant Garamond", serif;
  font-weight: 700;
  font-size: clamp(2.8rem, 8vw, 5.4rem);
  line-height: 1.05;
  margin: 0 0 1.5rem;
  letter-spacing: -0.01em;
}

.hero__title em {
  font-style: italic;
  background: linear-gradient(120deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__sub {
  color: var(--text-dim);
  font-size: 1.1rem;
  max-width: 540px;
  margin: 0 auto 2.2rem;
}

.hero__cta {
  display: inline-block;
  padding: 0.85rem 2rem;
  border-radius: 999px;
  border: 1px solid var(--primary);
  color: var(--primary);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.hero__cta:hover {
  background: var(--primary);
  color: var(--bg);
  transform: translateY(-2px);
}

/* ---------- Sections ---------- */
.section {
  padding: 5rem 1.5rem;
}

.section--photo {
  background: var(--bg-soft);
}

.section--songs {
  background:
    radial-gradient(circle at 90% 10%, rgba(245, 166, 198, 0.08), transparent 40%),
    var(--bg);
}

.section--quote {
  background: var(--bg-soft);
}

.section__inner {
  max-width: 1000px;
  margin: 0 auto;
}

.section__inner--narrow {
  max-width: 720px;
  text-align: center;
}

.section__inner--photo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.kicker {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.72rem;
  color: var(--accent);
  margin-bottom: 0.8rem;
}

.section h2 {
  font-family: "Cormorant Garamond", serif;
  font-weight: 700;
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  margin: 0 0 1.2rem;
  line-height: 1.15;
}

.section p {
  color: var(--text-dim);
  font-size: 1.05rem;
  margin: 0 0 1rem;
}

/* ---------- Stats ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.stat {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.6rem 1rem;
  text-align: center;
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.stat:hover {
  transform: translateY(-4px);
  border-color: var(--primary);
}

.stat__num {
  display: block;
  font-family: "Cormorant Garamond", serif;
  font-size: 2.6rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1;
}

.stat__label {
  display: block;
  margin-top: 0.5rem;
  font-size: 0.85rem;
  color: var(--text-faint);
}

/* ---------- Photo ---------- */
.photo {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  position: relative;
}

.photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 3 / 4;
  filter: saturate(0.9) contrast(1.05);
  transition: transform 0.6s ease;
}

.photo:hover img {
  transform: scale(1.04);
}

.photo figcaption {
  padding: 0.9rem 1rem;
  font-size: 0.85rem;
  color: var(--text-faint);
  background: var(--surface);
  border-top: 1px solid var(--line);
}

/* ---------- Song list ---------- */
.songlist {
  list-style: none;
  padding: 0;
  margin: 2rem 0 0;
  display: grid;
  gap: 0.8rem;
}

.songlist li {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  padding: 1rem 1.4rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.songlist li:hover {
  transform: translateX(6px);
  border-color: var(--primary);
  background: #20262e;
}

.songlist__num {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.5rem;
  color: var(--accent);
  font-weight: 700;
  min-width: 2.2rem;
}

.songlist strong {
  display: block;
  color: var(--text);
  font-size: 1.05rem;
}

.songlist span {
  display: block;
  font-size: 0.88rem;
  color: var(--text-faint);
}

/* ---------- Quote ---------- */
blockquote {
  margin: 1.5rem 0 0.5rem;
  font-family: "Cormorant Garamond", serif;
  font-style: italic;
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  line-height: 1.3;
  color: var(--text);
  quotes: "“" "”";
}

blockquote::before {
  content: open-quote;
  color: var(--primary);
}

blockquote::after {
  content: close-quote;
  color: var(--primary);
}

.quote__attr {
  color: var(--text-faint);
  font-size: 0.95rem;
}

/* ---------- Footer ---------- */
.footer {
  padding: 2.5rem 1.5rem;
  text-align: center;
  border-top: 1px solid var(--line);
  color: var(--text-faint);
  font-size: 0.9rem;
}

/* ---------- Message page ---------- */
.msg-hero {
  padding: 5rem 1.5rem 2rem;
  text-align: center;
  background:
    radial-gradient(circle at 50% 0%, rgba(245, 166, 198, 0.12), transparent 50%),
    var(--bg);
}

.msg-hero__inner {
  max-width: 640px;
  margin: 0 auto;
}

.msg-hero h1 {
  font-family: "Cormorant Garamond", serif;
  font-weight: 700;
  font-size: clamp(2rem, 5vw, 3rem);
  margin: 0.4rem 0 1rem;
  line-height: 1.1;
}

.msg-hero p {
  color: var(--text-dim);
  font-size: 1.05rem;
  margin: 0;
}

.msg-main {
  max-width: 560px;
  margin: 0 auto;
  padding: 2rem 1.5rem 5rem;
}

.msg-form {
  display: grid;
  gap: 1.4rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
}

.field {
  display: grid;
  gap: 0.5rem;
}

.field__label {
  font-size: 0.85rem;
  color: var(--text-dim);
  font-weight: 500;
}

.field__label em {
  color: var(--text-faint);
  font-style: normal;
}

.field input,
.field textarea {
  width: 100%;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.8rem 1rem;
  color: var(--text);
  font-family: inherit;
  font-size: 1rem;
  line-height: 1.5;
  resize: vertical;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.field input::placeholder,
.field textarea::placeholder {
  color: var(--text-faint);
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(123, 211, 137, 0.15);
}

.msg-form__submit {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.9rem 1.6rem;
  border-radius: 999px;
  border: none;
  background: linear-gradient(120deg, var(--primary), var(--primary-deep));
  color: var(--bg);
  font-family: inherit;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.msg-form__submit:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(123, 211, 137, 0.25);
}

.msg-form__submit:disabled {
  opacity: 0.7;
  cursor: progress;
}

.msg-form__spinner {
  width: 16px;
  height: 16px;
  border: 2px solid rgba(11, 13, 16, 0.3);
  border-top-color: var(--bg);
  border-radius: 50%;
  display: none;
  animation: spin 0.7s linear infinite;
}

.msg-form__submit.is-loading .msg-form__spinner {
  display: inline-block;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.msg-status {
  margin: 0;
  text-align: center;
  font-size: 0.95rem;
  min-height: 1.2em;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.msg-status:not(:empty) {
  opacity: 1;
}

.msg-status--success {
  color: var(--primary);
}

.msg-status--error {
  color: #ff8b8b;
}

/* ---------- Responsive ---------- */
@media (max-width: 760px) {
  .section__inner--photo {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .stats {
    grid-template-columns: 1fr;
  }

  .nav__links {
    gap: 1rem;
  }

  .nav__links a {
    font-size: 0.85rem;
  }
}

@media (max-width: 480px) {
  .nav__links a:nth-child(4) {
    display: none;
  }
}
