/* Jingle and Co — single-page site */
:root {
  --ink: #1c1712;
  --ink-soft: #4a4036;
  --cream: #f6f0e6;
  --cream-deep: #efe6d8;
  --paper: #fffaf2;
  --gold: #7a5c26;
  --gold-bright: #c4a05a;
  --line: #e2d6c3;
  --sample: #241e19;
  --sample-text: #f3eadc;
  --focus: #8a6a2f;
  --max: 68rem;
  --text: 38rem;
  --serif: "Fraunces", "Iowan Old Style", "Palatino Linotype", Palatino, serif;
  --sans: "Source Sans 3", "Source Sans Pro", "Segoe UI", Helvetica, Arial, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: var(--sans);
  font-size: 1.125rem;
  line-height: 1.65;
  font-weight: 400;
}

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

a {
  color: var(--gold);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--ink);
}

:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: 1rem;
  top: -3rem;
  background: var(--ink);
  color: var(--cream);
  padding: 0.5rem 0.85rem;
  z-index: 20;
}

.skip:focus {
  top: 1rem;
}

.wrap {
  width: min(var(--max), calc(100% - 2.5rem));
  margin-inline: auto;
}

.narrow {
  width: min(var(--text), 100%);
}

/* Header */
.site-header {
  padding: 1.15rem 0;
  border-bottom: 1px solid var(--line);
  background: rgba(246, 240, 230, 0.92);
  backdrop-filter: blur(8px);
  position: sticky;
  top: 0;
  z-index: 10;
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: inherit;
  text-decoration: none;
}

.brand svg {
  width: 2.15rem;
  height: 2.15rem;
  color: var(--gold);
  flex-shrink: 0;
}

.brand-name {
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1.15rem 1.4rem;
  font-size: 0.98rem;
}

.nav a {
  color: var(--ink-soft);
  text-decoration: none;
}

.nav a:hover,
.nav a:focus-visible {
  color: var(--ink);
  text-decoration: underline;
}

/* Hero */
.hero {
  padding: 4.75rem 0 4.25rem;
}

.eyebrow {
  margin: 0 0 1rem;
  font-size: 0.82rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
}

.hero h1 {
  margin: 0 0 1.1rem;
  font-family: var(--serif);
  font-weight: 560;
  font-size: clamp(2.35rem, 5.4vw, 4.05rem);
  letter-spacing: -0.035em;
  line-height: 1.08;
  max-width: 14ch;
}

.lede {
  margin: 0 0 2rem;
  max-width: 34rem;
  font-size: 1.28rem;
  color: var(--ink-soft);
}

.btn {
  display: inline-block;
  background: var(--ink);
  color: var(--cream);
  text-decoration: none;
  padding: 0.8rem 1.25rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: 0.01em;
}

.btn:hover {
  background: #2d261f;
  color: var(--cream);
}

/* Sections */
.section {
  padding: 3.75rem 0;
  border-top: 1px solid var(--line);
}

.section h2 {
  margin: 0 0 1rem;
  font-family: var(--serif);
  font-weight: 560;
  font-size: clamp(1.8rem, 3vw, 2.35rem);
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.section p {
  margin: 0 0 1rem;
  color: var(--ink-soft);
}

.section p:last-child {
  margin-bottom: 0;
}

/* How it works */
.steps {
  list-style: none;
  margin: 2rem 0 0;
  padding: 0;
  display: grid;
  gap: 1.15rem;
  grid-template-columns: repeat(3, 1fr);
}

.step {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 1rem;
  padding: 1.35rem 1.3rem 1.45rem;
  height: 100%;
}

.step-num {
  display: block;
  font-family: var(--serif);
  font-size: 1.35rem;
  color: var(--gold);
  margin-bottom: 0.55rem;
  font-weight: 600;
}

.step h3 {
  margin: 0 0 0.5rem;
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 560;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.step p {
  margin: 0;
  font-size: 1.02rem;
}

/* Sample */
.sample-card {
  margin-top: 1.75rem;
  background: var(--sample);
  color: var(--sample-text);
  border-radius: 1.15rem;
  padding: 1.75rem 1.7rem 1.85rem;
}

.sample-label {
  margin: 0 0 0.35rem;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-bright);
  font-weight: 600;
}

.sample-title {
  margin: 0 0 1.15rem;
  font-family: var(--serif);
  font-size: 1.55rem;
  font-weight: 560;
  letter-spacing: -0.02em;
}

.lyrics {
  margin: 0;
  font-family: var(--serif);
  font-size: 1.22rem;
  line-height: 1.7;
  font-weight: 400;
  font-style: italic;
}

.lyrics p {
  margin: 0 0 0.85rem;
  color: var(--sample-text);
}

.lyrics p:last-child {
  margin-bottom: 0;
}

.sample-note {
  margin: 1.35rem 0 0;
  font-family: var(--sans);
  font-style: normal;
  font-size: 0.98rem;
  color: #e8dcc8;
  line-height: 1.45;
}

/* Contact */
.contact-block p {
  max-width: 36rem;
}

.contact-email {
  display: inline-block;
  margin-top: 0.85rem;
  font-family: var(--serif);
  font-size: clamp(1.45rem, 3vw, 2rem);
  color: var(--ink);
  text-decoration: none;
  letter-spacing: -0.02em;
  border-bottom: 1px solid var(--gold-bright);
}

.contact-email:hover {
  color: var(--gold);
}

/* Footer */
.site-footer {
  padding: 2rem 0 2.4rem;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 0.98rem;
}

.site-footer .wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.6rem 1.5rem;
}

.site-footer a {
  color: var(--ink-soft);
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--ink);
  text-decoration: underline;
}

@media (max-width: 800px) {
  .steps {
    grid-template-columns: 1fr;
  }

  .hero {
    padding: 3.25rem 0 3rem;
  }

  .nav {
    gap: 0.85rem 1.1rem;
  }
}

@media (max-width: 560px) {
  body {
    font-size: 1.06rem;
  }

  .wrap {
    width: min(var(--max), calc(100% - 1.75rem));
  }

  .site-header .wrap {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero h1 {
    max-width: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
