.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem var(--pad);
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: blur(8px);
}

body.nav-open .site-header {
  background: var(--paper);
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  font-family: Fraunces, Georgia, serif;
  font-weight: 600;
  letter-spacing: -0.02em;
  font-size: 1.05rem;
}

.logo img {
  width: 1.35rem;
  height: 1.35rem;
  object-fit: cover;
  mix-blend-mode: multiply;
  border-radius: 50%;
}

.menu-btn {
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  cursor: pointer;
  display: grid;
  gap: 6px;
  place-content: center;
}

.menu-btn:focus-visible,
.btn:focus-visible,
input:focus-visible,
.nav-overlay a:focus-visible,
.logo:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}

.menu-btn span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--ink);
  transform: rotate(-4deg);
  transition: transform 0.25s ease, width 0.25s ease;
}

.menu-btn span:nth-child(2) {
  width: 16px;
  transform: rotate(3deg);
}

.menu-btn[aria-expanded="true"] span:nth-child(1) {
  width: 22px;
  transform: translateY(3.75px) rotate(42deg);
}

.menu-btn[aria-expanded="true"] span:nth-child(2) {
  width: 22px;
  transform: translateY(-3.75px) rotate(-42deg);
}

.nav-overlay {
  position: fixed;
  inset: 0;
  background: var(--paper);
  z-index: 55;
  padding: 5rem var(--pad) 2rem;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-0.6rem);
  transition: opacity 0.28s ease, transform 0.28s ease, visibility 0.28s;
}

.nav-overlay.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: none;
}

.nav-overlay a {
  display: block;
  font-family: Fraunces, Georgia, serif;
  font-size: clamp(2.2rem, 10vw, 4rem);
  text-decoration: none;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 0.35rem;
}

.nav-overlay a:hover {
  font-style: italic;
}

.hero {
  position: relative;
  min-height: 100dvh;
  padding: 2.5rem var(--pad) 6rem;
  display: grid;
  align-content: end;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-color: var(--paper);
  background-image: image-set(url("../img/hero-ink.webp") type("image/webp"), url("../img/hero-ink.jpg") type("image/jpeg"));
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  mix-blend-mode: multiply;
  opacity: 0;
  transform: scale(1.06);
  animation: ink-bleed 0.7s ease-out 0.05s forwards;
}

.hero-fade {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    color-mix(in srgb, var(--paper) 88%, transparent) 0%,
    transparent 42%,
    color-mix(in srgb, var(--paper) 70%, transparent) 100%
  );
}

.hero-scribble {
  position: absolute;
  right: -8%;
  top: 18%;
  width: min(70vw, 28rem);
  color: var(--ink);
  opacity: 0.35;
  pointer-events: none;
  z-index: 1;
}

.hero-scribble path {
  stroke-dasharray: 280;
  stroke-dashoffset: 280;
  animation: draw-scribble 0.9s ease-out 0.35s forwards;
}

.hero-copy {
  position: relative;
  z-index: 1;
  max-width: 22rem;
}

.hero h1 {
  font-size: clamp(3.4rem, 18vw, 5.6rem);
  margin: 0.4rem 0 1rem;
}

.hero h1 em {
  font-style: italic;
  font-weight: 500;
}

.hero p {
  color: var(--ink);
  font-weight: 500;
  max-width: 16rem;
}

.scroll-cue {
  position: relative;
  z-index: 1;
  margin-top: 2.5rem;
  color: var(--dust);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.scroll-cue::before {
  content: "";
  display: block;
  width: 1px;
  height: 2.4rem;
  background: var(--ink);
  transform: rotate(4deg);
  margin-bottom: 0.5rem;
}

@keyframes ink-bleed {
  to {
    opacity: 0.92;
    transform: scale(1);
  }
}

@keyframes draw-scribble {
  to {
    stroke-dashoffset: 0;
  }
}

section {
  padding: 4.5rem var(--pad);
}

.manifesto h2 {
  font-size: clamp(2rem, 8vw, 3.2rem);
  max-width: 12ch;
  margin-bottom: 1rem;
}

.manifesto p {
  color: var(--charcoal);
  max-width: 36ch;
}

.manifesto-shot {
  display: block;
  margin-top: 2rem;
  mix-blend-mode: multiply;
}

.manifesto-shot img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.5rem;
}

.chips span {
  border: 1px solid var(--ink);
  padding: 0.35rem 0.7rem;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  font-weight: 500;
  transform: rotate(-1.5deg);
}

.chips span:nth-child(2) {
  transform: rotate(1.2deg);
}

.gallery {
  padding-right: 0;
}

.gallery h2 {
  font-size: clamp(2rem, 8vw, 3rem);
  padding-right: var(--pad-r);
  margin-bottom: 1.25rem;
}

.rail {
  display: flex;
  gap: 0.75rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 1rem;
  -webkit-overflow-scrolling: touch;
}

.rail figure {
  flex: 0 0 78%;
  margin: 0;
  scroll-snap-align: start;
  background: #e8e6de;
}

.rail img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  filter: grayscale(0.15) contrast(1.05);
  mix-blend-mode: multiply;
}

.rail figcaption {
  display: flex;
  justify-content: space-between;
  padding: 0.7rem 0.2rem 0;
  font-size: 0.78rem;
  color: var(--charcoal);
}

.steps ol {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
}

.steps li {
  display: grid;
  grid-template-columns: 3.2rem 1fr;
  gap: 0.75rem;
  padding: 1.1rem 0;
  border-top: 1px solid var(--mist);
}

.num {
  font-family: Fraunces, Georgia, serif;
  font-size: 2rem;
  line-height: 1;
  font-style: italic;
}

.steps h3 {
  font-size: 1.15rem;
  font-family: Fraunces, Georgia, serif;
  font-weight: 600;
}

.steps p {
  color: var(--charcoal);
  font-size: 0.95rem;
}

.quote {
  background: var(--ink);
  color: var(--paper);
  position: relative;
  overflow: hidden;
}

.quote-mark {
  font-family: Fraunces, Georgia, serif;
  font-size: clamp(6rem, 28vw, 12rem);
  line-height: 0.6;
  margin: 0 0 0.5rem;
  opacity: 0.28;
  letter-spacing: -0.08em;
}

.quote blockquote {
  margin: 0;
  font-family: Fraunces, Georgia, serif;
  font-size: clamp(1.6rem, 6vw, 2.8rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  font-weight: 500;
  max-width: 18ch;
}

.quote cite {
  display: block;
  margin-top: 1.25rem;
  font-style: normal;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mist);
}

.cta h2 {
  font-size: clamp(2.4rem, 10vw, 4rem);
  margin: 0.4rem 0 1.5rem;
}

form {
  display: grid;
  gap: 0.65rem;
}

input[type="email"] {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--ink);
  background: transparent;
  padding: 0.8rem 1rem;
  color: var(--ink);
}

.btn {
  min-height: 48px;
  border: 0;
  background: var(--ink);
  color: var(--paper);
  cursor: pointer;
  font-weight: 500;
  letter-spacing: 0.04em;
}

.btn.ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--ink);
  text-align: center;
  text-decoration: none;
  display: grid;
  place-items: center;
}

.form-note {
  font-size: 0.8rem;
  color: var(--dust);
}

.form-note.ok {
  color: var(--charcoal);
}

.site-footer {
  padding: 2rem var(--pad) calc(2rem + var(--pad-b));
  border-top: 1px solid var(--mist);
  color: var(--dust);
  font-size: 0.82rem;
}

.site-footer a {
  color: var(--charcoal);
}

@media (min-width: 768px) {
  .hero-copy {
    max-width: 44rem;
  }

  .hero h1 {
    font-size: clamp(5.5rem, 10vw, 8.5rem);
  }

  .hero p {
    max-width: 28rem;
    font-size: 1.15rem;
  }

  .hero-scribble {
    right: 6%;
    top: 12%;
    width: 36rem;
  }

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

  .manifesto-shot {
    margin-top: 0;
  }

  .gallery {
    padding-right: var(--pad-r);
  }

  .rail {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    overflow: visible;
    scroll-snap-type: none;
  }

  .rail figure {
    flex: none;
  }

  .quote blockquote {
    font-size: clamp(2.2rem, 4vw, 3.4rem);
  }

  .cta form {
    grid-template-columns: 1fr auto;
    max-width: 32rem;
  }

  .btn.ghost {
    grid-column: 1 / -1;
    max-width: 16rem;
  }

  section {
    padding-block: 6.5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-bg,
  .hero-scribble path,
  .nav-overlay,
  .menu-btn span {
    animation: none;
    transition: none;
  }

  .hero-bg {
    opacity: 0.92;
    transform: none;
  }

  .hero-scribble path {
    stroke-dashoffset: 0;
  }
}
