html {
  scroll-padding-top: 100px;
}

.header.wrap {
  position: fixed;
  z-index: 10;
  inset: max(12px, env(safe-area-inset-top)) 0 auto;
  width: min(1280px, calc(100% - 32px));
  height: 68px;
  padding: 0 clamp(14px, 2vw, 28px);
  border-radius: 100px;
  background: transparent;
  transition: background-color .18s, color .18s, box-shadow .18s;
}

.header.is-scrolled {
  background: #fffaf5;
  color: #24211e;
  box-shadow: 0 4px 24px #39281e21;
}

.header nav {
  font-size: 16px;
}

.header.is-scrolled nav > a:hover {
  color: #a23c28;
}

.hero {
  min-height: 100svh;
  height: auto;
  max-height: none;
}

.hero-photo {
  top: 0;
  height: 100%;
}

.hero-shade {
  background: linear-gradient(to bottom, #201914a3, transparent 22%),
              linear-gradient(to top, #17130fe6, #17130f96 25%, transparent 66%);
}

.hero-content {
  padding-block: 112px clamp(36px, 6vh, 76px);
}

.faq-list {
  display: grid;
  gap: 10px;
}

.faq-list details {
  background: #fffdfa;
  border: 1px solid #e7dfd5;
  border-radius: 22px;
}

.faq-list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 20px 24px;
  border-radius: inherit;
}

.faq-list summary::after,
.faq-list details[open] summary::after {
  content: "";
  position: static;
  flex: 0 0 auto;
  width: 9px;
  height: 9px;
  border: solid #664d42;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
  transition: transform .18s;
}

.faq-list details[open] summary {
  font-weight: 650;
}

.faq-list details[open] summary::after {
  transform: rotate(225deg);
}

.faq-list details p {
  margin: 0;
  padding: 0 24px 22px;
}

@media (max-width: 640px) {
  .header.wrap {
    width: calc(100% - 24px);
    height: 58px;
    padding-inline: 12px;
  }

  .hero-photo {
    object-position: 34% 40%;
  }

  .hero-content {
    padding-block: 92px max(28px, env(safe-area-inset-bottom));
  }

  .faq-list summary {
    padding: 17px 18px;
  }

  .faq-list details p {
    padding: 0 18px 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .header.wrap, .faq-list summary::after { transition: none; }
}

.landing-footer {
  padding-top: clamp(40px, 6vw, 80px);
}

.footer-main {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 32px;
  padding-bottom: clamp(32px, 5vw, 64px);
}

.footer-intro p {
  margin: 12px 0 24px;
  font-size: 18px;
}

.footer-intro .footer-open {
  width: fit-content;
  color: white;
  font-size: 16px;
}

.footer-main nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.footer-main nav h3 {
  margin: 0 0 4px;
  color: #faf8f2;
  font-size: 18px;
}

.footer-main nav a {
  margin: 0;
}

@media (max-width: 700px) {
  .footer-main { grid-template-columns: 1fr 1fr; gap: 28px 16px; }
  .footer-intro { grid-column: 1 / -1; }
}


.how .section-heading h2 {
  grid-column: 1 / -1;
}

@media (max-width: 640px) {
  .how .section-heading h2 .gradient-text { display: block; }
}

@media (max-width: 640px) {
  .header .brand {
    min-height: 44px;
  }

  .header .brand img {
    width: 30px;
    height: 30px;
  }

  .header .brand .wordmark {
    font-size: 28px;
    letter-spacing: -1.2px;
  }
}
