:root {
  --sage: #a5b378;
  --olive: #56643f;
  --yellow: #e8d55b;
  --ink: #302c2a;
  --cream: #faf7f4;
  --white: #ffffff;
  --light-gray: #e9e8e9;
  --dark-gray: #454648;
  --script: "Great Vibes", cursive;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Quicksand", sans-serif;
  font-weight: 400;
  font-size: 1.1rem;
  line-height: 1.6;
  color: var(--dark-gray);
  background: var(--light-gray);
}

h1, h2, h3 { font-family: "Playfair Display", serif; font-weight: 400; margin: 0 0 1rem; }
a { color: inherit; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  padding: 0.75rem 2rem;
  background: var(--sage);
  border-bottom: 1px solid rgba(48, 44, 42, 0.15);
}
.brand {
  font-family: var(--script);
  font-size: 2rem;
  color: var(--ink);
  text-decoration: none;
  line-height: 1;
}
nav { display: flex; gap: 1.75rem; }
nav a {
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 0.85rem;
  font-weight: 600;
}
nav a:hover, nav a:focus-visible { color: var(--olive); }
.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--ink);
  color: var(--ink);
  padding: 0.4rem 0.9rem;
  font: inherit;
  cursor: pointer;
}

.hero {
  text-align: center;
  padding: clamp(4rem, 9vw, 7rem) 1.5rem;
}
.script {
  font-family: var(--script);
  font-size: clamp(3.5rem, 10vw, 6rem);
  color: var(--olive);
  margin: 0;
  line-height: 1;
}
.byline { font-size: 1.5rem; margin: 0.5rem 0 2.5rem; letter-spacing: 0.05em; }
.hero h1 {
  font-style: italic;
  font-size: clamp(2.2rem, 5.5vw, 3.8rem);
  line-height: 1.2;
  color: var(--ink);
}
.lead { max-width: 36rem; margin: 0 auto 2rem; font-weight: 400; font-size: 1.3rem; }

.btn {
  display: inline-block;
  padding: 0.9rem 2rem;
  background: var(--ink);
  color: var(--white);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.85rem;
  font-weight: 600;
  transition: background 0.2s;
}
.btn:hover, .btn:focus-visible { background: var(--olive); }

.section { padding: 4rem 1.5rem; }
.section.dark { background: var(--ink); color: var(--white); }
.section.dark .btn { background: var(--sage); color: var(--ink); }
.section.dark .btn:hover, .section.dark .btn:focus-visible { background: var(--olive); color: var(--white); }
.narrow { max-width: 42rem; margin: 0 auto; }
.center { text-align: center; }

.band {
  max-width: 70rem;
  margin: 0 auto 3rem;
  background: var(--sage);
  color: var(--ink);
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: clamp(1.6rem, 4vw, 2.6rem);
  padding: 1.25rem 1rem;
}
.script-heading {
  font-family: var(--script);
  color: var(--yellow);
  font-size: 3rem;
  line-height: 1;
}

.cards {
  max-width: 70rem;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr));
  gap: 2rem;
}
.card {
  padding: 1.5rem;
  background: var(--cream);
  border: 1px solid rgba(48, 44, 42, 0.12);
}
.card h3 {
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 1.4rem;
  color: var(--ink);
}
.card ul { margin: 0; padding-left: 1.2rem; font-weight: 300; }
.card li { margin-bottom: 0.35rem; }

.steps {
  max-width: 42rem;
  margin: 0 auto;
  padding: 0;
  list-style: none;
  counter-reset: step;
}
.steps li {
  counter-increment: step;
  position: relative;
  background: var(--white);
  color: var(--ink);
  padding: 1rem 1rem 1rem 4.25rem;
  margin-bottom: 1rem;
  border: 1px solid rgba(48, 44, 42, 0.12);
}
.steps a { color: var(--olive); font-weight: 600; }
.steps li::before {
  content: counter(step);
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 50%;
  border: 2px solid var(--olive);
  color: var(--olive);
  display: grid;
  place-items: center;
  font-family: "Playfair Display", serif;
  font-weight: 700;
}

.site-footer {
  background: var(--ink);
  color: var(--white);
  text-align: center;
  padding: 2rem 1rem;
  font-size: 0.9rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}
.site-footer p { margin: 0.25rem 0; }
.handle { letter-spacing: 0.3em; font-weight: 600; }

:focus-visible { outline: 3px solid var(--olive); outline-offset: 2px; }
.section.dark :focus-visible, .site-footer :focus-visible { outline-color: var(--yellow); }

@media (max-width: 700px) {
  .site-header { padding: 0.75rem 1rem; }
  .nav-toggle { display: block; }
  nav { display: none; flex-direction: column; width: 100%; gap: 0.75rem; padding: 1rem 0 0.25rem; }
  nav.open { display: flex; }
}
