html {
  scroll-behavior: smooth;
  scroll-padding-top: 76px; /* height of the sticky nav */
}

body.menu-open {
  overflow: hidden;
}

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding-inline: clamp(16px, 5vw, 80px);
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 12px;
  background: var(--red);
  color: var(--cream);
  text-decoration: none;
}

.skip-link:focus {
  top: 12px;
}

/* ---- type ---------------------------------------------------------------- */

.display {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(36px, 4.6vw, 52px);
  line-height: 1.05;
}

.section-title {
  color: var(--red);
  text-align: center;
}

.lead {
  margin: 0;
  color: var(--ink-soft);
  font-size: clamp(19px, 1.6vw, 22px);
}

/* ---- nav ----------------------------------------------------------------- */

.site-nav {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--cream);
  border-bottom: 1px solid rgb(61 43 34 / 0.08);
}

.site-nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
}

.site-nav .logo {
  font-size: 36px;
}

.nav-links {
  display: flex;
  gap: 36px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-links a,
.nav-login {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 20px;
  text-decoration: none;
}

.nav-links a:hover,
.nav-login:hover {
  color: var(--red);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 24px;
}

.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  place-items: center;
  padding: 0;
  border: 0;
  background: none;
  color: var(--red);
  cursor: pointer;
}

.menu-button .icon {
  width: 28px;
  height: 28px;
}

/* ---- mobile drawer ------------------------------------------------------- */

.drawer {
  position: fixed;
  inset: 0;
  z-index: 50;
}

.drawer-scrim {
  position: absolute;
  inset: 0;
  border: 0;
  padding: 0;
  background: rgb(42 30 24 / 0.45);
  cursor: pointer;
}

.drawer-panel {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: min(320px, 85vw);
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 16px 20px 28px;
  background: var(--paper);
  box-shadow: 6px 0 24px rgb(0 0 0 / 0.18);
  overflow-y: auto;
  animation: slide-in 0.2s ease-out;
}

@keyframes slide-in {
  from { transform: translateX(-100%); }
}

.drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 12px;
}

.drawer-head .logo {
  font-size: 30px;
}

.drawer-links {
  margin: 0;
  padding: 0;
  list-style: none;
}

.drawer-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 56px;
  padding: 0 8px 0 12px;
  border-radius: 12px;
  font-size: 22px;
  text-decoration: none;
}

.drawer-links a:hover {
  background: var(--cream);
}

.drawer-links .icon {
  width: 20px;
  height: 20px;
  color: var(--ink-soft);
}

.drawer-actions {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.drawer-note {
  margin: 4px 0 0;
  color: var(--ink-soft);
  font-size: 16px;
  text-align: center;
}

/* ---- stripes, cards, polaroids ------------------------------------------- */

.stripes {
  background-color: var(--cream);
  background-image: repeating-linear-gradient(90deg, var(--blue) 0 40px, transparent 40px 80px);
}

.polaroid {
  position: absolute;
  width: var(--w, 260px);
  padding: 12px 12px 48px;
  background: var(--white);
  box-shadow: var(--shadow-polaroid);
  transform: rotate(var(--r, 0deg));
}

.polaroid::before {
  content: "";
  position: absolute;
  top: -13px;
  left: 50%;
  width: 38%;
  height: 26px;
  background: rgb(185 211 214 / 0.85);
  transform: translateX(-50%) rotate(3deg);
}

.polaroid .photo {
  aspect-ratio: 3 / 4;
  background: var(--photo);
}

.sparkle {
  position: absolute;
  width: var(--s, 24px);
  height: var(--s, 24px);
  fill: var(--red);
}

/* ---- hero ---------------------------------------------------------------- */

.hero {
  overflow: hidden;
  padding-block: 72px 88px;
}

.hero .container {
  display: grid;
  grid-template-columns: minmax(0, 620px) minmax(0, 1fr);
  align-items: center;
  gap: 40px;
}

.hero-card {
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding: 48px 52px;
  border-radius: 28px;
}

.brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.brand .logo {
  font-size: 88px;
  line-height: 0.85;
  text-shadow: 3px 3px 0 var(--white);
  transform: rotate(-4deg);
  transform-origin: left bottom;
}

.tagline {
  margin: 14px 0 0 28px;
  padding: 2px 10px;
  border-radius: 6px;
  background: var(--cream);
  color: var(--red);
  font-size: 18px;
  line-height: 1.15;
  transform: rotate(-4deg);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  padding-top: 8px;
}

.cluster {
  position: relative;
  height: 600px;
}

.cluster .p1 { --w: 250px; --r: 8deg; left: 4%; top: 70px; }
.cluster .p2 { --w: 270px; --r: -6deg; left: 45%; top: 10px; }
.cluster .p3 { --w: 260px; --r: 4deg; left: 30%; top: 250px; }
.cluster .s1 { --s: 30px; left: 7%; top: 30px; }
.cluster .s2 { --s: 20px; right: 2%; top: 300px; }
.cluster .s3 { --s: 24px; left: 20%; bottom: 60px; }

/* ---- sections ------------------------------------------------------------ */

.section {
  padding-block: clamp(64px, 8vw, 104px);
}

.section .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(32px, 4vw, 56px);
}

.section-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  max-width: 720px;
  text-align: center;
}

.section-paper {
  background: var(--paper);
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
  width: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
}

.step,
.feature {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 30px 28px;
  background: var(--paper);
}

.feature {
  background: var(--cream);
  box-shadow: 0 3px 0 rgb(61 43 34 / 0.06), 0 0 0 1.5px rgb(61 43 34 / 0.06);
}

.step h3,
.feature h3 {
  margin: 0;
  color: var(--red);
  font-size: 24px;
  font-weight: 400;
}

.step p,
.feature p {
  margin: 0;
}

.step-number {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--red);
  color: var(--cream);
  font-family: var(--font-display);
  font-size: 30px;
}

.feature-icon {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: var(--paper);
  color: var(--red);
}

.feature-icon .icon {
  width: 28px;
  height: 28px;
  stroke-width: 1.75;
}

/* ---- pricing ------------------------------------------------------------- */

.section-blue {
  background: var(--blue);
}

.price-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  width: 100%;
  max-width: 560px;
  padding: 44px clamp(24px, 4vw, 48px);
  border-radius: 28px;
}

.price-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 21px;
}

.price-table th {
  padding: 0 4px 10px;
  color: var(--ink-soft);
  font-size: 17px;
  font-weight: 400;
  text-align: left;
}

.price-table th + th,
.price-table td + td {
  text-align: right;
}

.price-table td {
  padding: 10px 4px;
  border-top: 1px solid rgb(61 43 34 / 0.12);
}

.price-table td + td {
  color: var(--red);
  white-space: nowrap;
  vertical-align: top;
}

/* each package's benefits sit under its capacity */
.price-guests,
.price-perk {
  display: block;
}

.price-guests {
  margin-bottom: 2px;
}

.price-perk {
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.3;
}

.price-table .price-top .price-guests,
.price-table .price-top td + td {
  font-size: 23px;
}

.price-table .price-top td + td {
  font-family: var(--font-display);
}

.checklist {
  align-self: stretch;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 21px;
}

.checklist li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.checklist .icon {
  flex: none;
  margin-top: 3px;
  color: var(--red);
}

.price-card .btn {
  align-self: stretch;
}

.fine-print {
  margin: 0;
  color: var(--ink-soft);
  font-size: 16px;
  text-align: center;
}

/* ---- about --------------------------------------------------------------- */

.about .container {
  display: grid;
  grid-template-columns: 440px minmax(0, 1fr);
  align-items: center;
  gap: clamp(40px, 7vw, 96px);
}

.about-art {
  position: relative;
  height: 500px;
}

.about-art .p1 { --w: 330px; --r: -4deg; left: 40px; top: 40px; }
.about-art .s1 { --s: 28px; right: 10px; top: 20px; }
.about-art .s2 { --s: 18px; left: 6px; bottom: 60px; }

.about-text {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.about-text .display {
  color: var(--red);
}

.about-text p {
  margin: 0;
  font-size: clamp(19px, 1.6vw, 22px);
}

.eyebrow {
  color: var(--ink-soft);
}

.highlights {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 0;
  padding: 8px 0 0;
  list-style: none;
}

.highlights li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: clamp(19px, 1.6vw, 22px);
}

.highlights svg {
  width: 18px;
  height: 18px;
  flex: none;
  fill: var(--red);
}

/* ---- faq ----------------------------------------------------------------- */

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: 100%;
  max-width: 760px;
}

.faq-item {
  border: 1.5px solid var(--line);
  border-radius: 16px;
  background: var(--paper);
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 64px;
  padding: 12px 24px;
  font-size: 22px;
  cursor: pointer;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary .icon {
  color: var(--red);
  transition: transform 0.2s ease;
}

.faq-item[open] summary .icon {
  transform: rotate(45deg);
}

.faq-item p {
  margin: 0;
  padding: 0 24px 20px;
  color: var(--ink-soft);
}

/* ---- final cta ----------------------------------------------------------- */

.cta {
  padding-block: clamp(56px, 7vw, 96px);
}

.cta-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  max-width: 720px;
  margin: 0 auto;
  padding: 48px clamp(24px, 5vw, 64px);
  border-radius: 28px;
  text-align: center;
}

.cta-card .display {
  color: var(--red);
}

.cta-card .hero-actions {
  justify-content: center;
}

/* ---- footer -------------------------------------------------------------- */

.site-footer {
  padding-block: 48px 40px;
  background: var(--night);
  color: var(--cream);
}

.footer-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 28px;
  border-bottom: 1px solid rgb(246 233 203 / 0.2);
}

.site-footer .logo {
  font-size: 34px;
}

.footer-tagline {
  margin: 4px 0 0;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 28px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  text-decoration: none;
}

.footer-links a:hover {
  text-decoration: underline;
}

.copyright {
  margin: 24px 0 0;
  font-size: 15px;
  opacity: 0.85;
}

/* ---- responsive ---------------------------------------------------------- */

@media (max-width: 1080px) {
  .nav-links,
  .nav-actions {
    display: none;
  }

  .menu-button {
    display: grid;
  }

  .hero .container,
  .about .container {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-card {
    max-width: 620px;
  }

  .cluster {
    height: 440px;
    max-width: 560px;
  }

  .grid-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .about-art {
    justify-self: center;
    width: 100%;
    max-width: 440px;
  }
}

@media (max-width: 640px) {
  html {
    scroll-padding-top: 64px;
  }

  body {
    font-size: 18px;
  }

  .site-nav .container {
    min-height: 64px;
  }

  .site-nav .logo {
    font-size: 30px;
  }

  .stripes {
    background-image: repeating-linear-gradient(90deg, var(--blue) 0 30px, transparent 30px 60px);
  }

  .hero {
    padding-block: 28px 36px;
  }

  .hero .container {
    gap: 8px;
  }

  .hero-card {
    gap: 16px;
    padding: 32px 24px 28px;
    border-radius: 24px;
  }

  .brand .logo {
    font-size: 70px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .cluster {
    height: 270px;
  }

  .cluster .p1 { --w: 150px; left: 2%; top: 50px; }
  .cluster .p2 { --w: 160px; left: 50%; top: 20px; }
  .cluster .p3 { --w: 150px; left: 28%; top: 70px; }
  .cluster .s3 { display: none; }

  .grid-3 {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }

  .step,
  .feature {
    padding: 24px 22px;
  }

  .about-art {
    height: 330px;
    max-width: 300px;
  }

  .about-art .p1 { --w: 230px; left: 30px; top: 30px; }

  .faq-item summary {
    padding: 12px 18px;
    font-size: 20px;
  }

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

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

  .drawer-panel {
    animation: none;
  }
}
