:root {
  --night: #0E2A30;
  --palm: #1F7A45;
  --palm-deep: #176338;
  --foam: #E7F1EC;
  --paper: #F7FBFA;
  --ink: #143038;
  --muted: #4E6560;
  --line: #C9DDD4;
  --white: #FFFFFF;
  --script: #B7E7C8;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--foam);
  color: var(--ink);
  font-family: Figtree, "Segoe UI", sans-serif;
  font-size: 1.0625rem;
  line-height: 1.65;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--palm-deep);
}

a:hover {
  text-decoration-thickness: 2px;
}

h1,
h2,
h3 {
  font-family: Fraunces, Georgia, serif;
  font-weight: 560;
  line-height: 1.08;
  letter-spacing: -0.02em;
}

.skip {
  position: absolute;
  left: 1rem;
  top: 0;
  transform: translateY(-140%);
  background: var(--palm);
  color: var(--white);
  padding: 0.45rem 0.75rem;
  z-index: 20;
  text-decoration: none;
  border-radius: 52px;
}

.skip:focus {
  transform: none;
}

.wrap {
  width: min(1120px, calc(100% - 2.4rem));
  margin: 0 auto;
}

.site-header {
  position: relative;
  background: var(--night);
  color: var(--white);
  z-index: 5;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 78px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--white);
  text-decoration: none;
  font-family: Fraunces, Georgia, serif;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.brand img {
  width: 36px;
  height: 36px;
}

.site-nav {
  display: flex;
  align-items: center;
}

.nav-toggle {
  display: none;
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 52px;
  padding: 0.4rem 0.9rem;
  font: inherit;
  cursor: pointer;
}

.nav-links {
  display: flex;
  gap: 1.15rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  color: var(--white);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.98rem;
}

.nav-links a[aria-current="page"] {
  text-decoration: underline;
  text-underline-offset: 0.28rem;
}

.hero {
  display: grid;
  grid-template-columns: minmax(280px, 42%) 1fr;
  min-height: calc(100vh - 78px);
  background: var(--night);
  color: var(--white);
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 3.2rem 2.4rem 3.4rem;
}

.kicker {
  margin: 0 0 0.7rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--script);
}

.hero h1 {
  margin: 0;
  font-size: clamp(2.6rem, 5vw, 4.4rem);
  color: var(--white);
}

.script {
  margin: 0.85rem 0 0;
  font-family: Fraunces, Georgia, serif;
  font-style: italic;
  font-size: clamp(1.45rem, 2.4vw, 2rem);
  color: var(--script);
}

.lede,
.page-intro {
  margin: 1rem 0 0;
  max-width: 38rem;
}

.hero-actions {
  margin: 1.4rem 0 0;
}

.btn {
  display: inline-block;
  background: var(--palm);
  color: var(--white);
  text-decoration: none;
  border: 0;
  border-radius: 52px;
  padding: 0.78rem 1.25rem;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.btn:hover {
  background: var(--palm-deep);
  color: var(--white);
}

.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 520px;
}

.band {
  padding: 4rem 0;
}

.band h2 {
  margin: 0 0 0.6rem;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
}

.notes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 1.4rem;
}

.note,
.card,
.step,
.sheet {
  background: var(--paper);
  border: 1px solid var(--line);
}

.note,
.step {
  padding: 1.1rem 1.15rem 1.2rem;
}

.note-no,
.step-no {
  margin: 0;
  color: var(--palm);
  font-weight: 700;
  letter-spacing: 0.08em;
}

.note h3,
.card h2,
.card h3,
.step h3 {
  margin: 0.3rem 0 0.35rem;
  font-size: 1.35rem;
}

.note p,
.card p,
.step p {
  margin: 0;
  color: var(--muted);
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 1.4rem;
}

.card {
  color: inherit;
  text-decoration: none;
}

.card img {
  width: 100%;
  height: 210px;
  object-fit: cover;
}

.card div {
  padding: 1rem 1.05rem 1.15rem;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.8rem;
  margin-top: 1.4rem;
}

.sheet {
  padding: 1.4rem 1.3rem 1.5rem;
}

.glance {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.8rem 1.4rem;
  margin: 1rem 0 0;
}

.glance div {
  margin: 0;
}

.glance dt {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.glance dd {
  margin: 0.15rem 0 0;
}

.page-hero {
  background: var(--paper);
  border-top: 6px solid var(--palm);
  padding: 2.4rem 0 2rem;
}

.page-hero h1 {
  margin: 0;
  font-size: clamp(2.2rem, 4vw, 3.4rem);
}

.reading {
  padding: 1.6rem 0 3.4rem;
}

.reading h2 {
  margin: 1.6rem 0 0.4rem;
  font-size: 1.7rem;
}

.reading ul,
.reading ol {
  padding-left: 1.2rem;
}

.prose-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1.2rem;
  align-items: start;
}

.prose-grid img {
  width: 100%;
  height: 100%;
  max-height: 420px;
  object-fit: cover;
  border: 1px solid var(--line);
}

.contact-form {
  display: grid;
  gap: 0.8rem;
  max-width: 36rem;
  margin-top: 1rem;
}

.contact-form label {
  display: grid;
  gap: 0.3rem;
  font-weight: 600;
}

.contact-form input,
.contact-form textarea {
  font: inherit;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 0;
  padding: 0.65rem 0.7rem;
  width: 100%;
}

.site-footer {
  background: var(--night);
  color: #D7EFE3;
  padding: 2.4rem 0 2rem;
}

.site-footer a {
  color: var(--white);
}

.footer-facts p,
.footer-copy {
  margin: 0.2rem 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
  margin-top: 1.4rem;
}

.footer-grid h2 {
  margin: 0 0 0.4rem;
  color: var(--white);
  font-size: 1.2rem;
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-links li {
  margin: 0.2rem 0;
}

.footer-copy {
  margin-top: 1.4rem;
}

.reveal {
  opacity: 0;
  transform: translateY(12px);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
  transition: opacity 0.45s ease, transform 0.45s ease;
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 900px) {
  .notes,
  .cards,
  .steps,
  .glance,
  .prose-grid,
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .steps {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 760px) {
  .nav-toggle {
    display: inline-block;
  }

  .site-nav {
    position: relative;
  }

  .nav-links {
    display: none;
    position: absolute;
    right: 0;
    top: calc(100% + 0.6rem);
    background: var(--night);
    border: 1px solid rgba(255, 255, 255, 0.2);
    min-width: 12rem;
    padding: 0.7rem 0.9rem;
    flex-direction: column;
    gap: 0.55rem;
  }

  .nav-links.is-open {
    display: flex;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .hero-photo {
    order: -1;
  }

  .hero-photo img {
    min-height: 0;
    height: 46vh;
  }

  .hero-copy {
    padding: 1.8rem 1.2rem 2rem;
  }

  .notes,
  .cards,
  .steps,
  .glance,
  .prose-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .header-inner {
    min-height: 68px;
  }
}
