:root {
  --cream: #fff5dc;
  --paper: #fffaf0;
  --coral: #f77d63;
  --coral-dark: #b83b32;
  --pink: #f3bfd0;
  --mint: #cfe4c7;
  --mint-light: #e9f2dc;
  --yellow: #f1d768;
  --teal: #006b72;
  --teal-dark: #004a50;
  --ink: #123b3e;
  --white: #ffffff;
  --border: 2px solid var(--ink);
  --shadow: 8px 8px 0 var(--ink);
  --display: "Shrikhand", Georgia, serif;
  --body: "DM Sans", Arial, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--cream);
  font-family: var(--body);
  font-size: 1rem;
  line-height: 1.65;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

h1,
h2,
h3,
h4,
p,
figure {
  margin-top: 0;
}

h1,
h2,
h3,
h4 {
  line-height: 1.02;
}

h1,
h2,
.signature,
.footer__name {
  font-family: var(--display);
  font-weight: 400;
}

:focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 1rem;
  left: 1rem;
  transform: translateY(-180%);
  padding: 0.75rem 1rem;
  border: var(--border);
  background: var(--white);
  font-weight: 700;
  text-decoration: none;
}

.skip-link:focus {
  transform: translateY(0);
}

.page-shell {
  width: min(100% - 2rem, 75rem);
  margin-inline: auto;
}

.section {
  padding-block: clamp(5rem, 10vw, 9rem);
}

.eyebrow {
  margin-bottom: 1rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  line-height: 1.3;
  text-transform: uppercase;
}

.hero {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  min-height: 100svh;
  padding: 1rem 0 0;
  overflow: hidden;
  background: var(--cream);
}

.hero__wave {
  position: absolute;
  z-index: -1;
  border-radius: 45% 55% 62% 38% / 42% 38% 62% 58%;
  filter: none;
}

.hero__wave--one {
  width: 50rem;
  height: 24rem;
  top: -13rem;
  right: -12rem;
  background: var(--pink);
  border: 4rem solid var(--coral);
  transform: rotate(-12deg);
}

.hero__wave--two {
  width: 28rem;
  height: 38rem;
  bottom: 2rem;
  left: -20rem;
  background: var(--mint);
  border: 3.5rem solid var(--pink);
  transform: rotate(24deg);
}

.topbar {
  position: relative;
  z-index: 20;
  display: flex;
  width: min(calc(100% - 2rem), 75rem);
  min-height: 4.75rem;
  margin-inline: auto;
  padding: 0.55rem 0.75rem;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border: var(--border);
  border-radius: 1.25rem;
  background: rgba(255, 250, 240, 0.94);
  box-shadow: 4px 4px 0 var(--ink);
}

.brand-link {
  display: grid;
  width: 3.65rem;
  height: 3.65rem;
  flex: 0 0 auto;
  overflow: hidden;
  place-items: center;
  border-radius: 50%;
  cursor: pointer;
}

.brand-link img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.topbar__links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.topbar__links a {
  display: inline-flex;
  min-height: 2.75rem;
  padding: 0.55rem 0.7rem;
  align-items: center;
  border-radius: 999px;
  font-size: 0.86rem;
  font-weight: 700;
  text-decoration: none;
  transition: color 180ms ease, background-color 180ms ease;
}

.topbar__links a:hover {
  color: var(--cream);
  background: var(--teal);
}

.hero__content {
  display: flex;
  min-height: 34rem;
  flex: 1;
  padding-block: 4.5rem 5rem;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3rem;
}

.hero__copy {
  position: relative;
  z-index: 2;
  width: 100%;
}

.hero h1 {
  max-width: 9ch;
  margin: 0 auto;
  font-size: clamp(3.5rem, 14vw, 8.5rem);
  letter-spacing: -0.04em;
  text-align: center;
}

.hero h1 span {
  display: block;
  color: var(--coral-dark);
  font-size: 0.55em;
}

.hero__poster {
  width: fit-content;
  max-width: 100%;
  margin: 0;
}

.hero__poster img {
  width: auto;
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

.hero__lead {
  max-width: 37rem;
  margin-bottom: 2rem;
  font-size: clamp(1.08rem, 2vw, 1.3rem);
  font-weight: 500;
}

.button {
  display: inline-flex;
  min-height: 3.25rem;
  padding: 0.7rem 1.3rem;
  align-items: center;
  justify-content: center;
  border: var(--border);
  border-radius: 999px;
  background: var(--teal);
  box-shadow: 4px 4px 0 var(--ink);
  color: var(--white);
  cursor: pointer;
  font-weight: 700;
  text-decoration: none;
  transition: color 180ms ease, background-color 180ms ease, box-shadow 180ms ease;
}

.button:hover {
  background: var(--yellow);
  color: var(--ink);
  box-shadow: 2px 2px 0 var(--ink);
}

.hero__gallery {
  position: relative;
  min-height: 31rem;
}

.photo-card {
  position: absolute;
  margin: 0;
  overflow: hidden;
  border: var(--border);
  background: var(--white);
  box-shadow: var(--shadow);
}

.photo-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.photo-card--garden {
  width: 68%;
  height: 25rem;
  top: 0;
  right: 0;
  transform: rotate(3deg);
}

.photo-card--breakfast {
  width: 53%;
  height: 21rem;
  bottom: 0;
  left: 0;
  transform: rotate(-5deg);
}

.hero__sticker {
  position: absolute;
  z-index: 3;
  top: 47%;
  left: 50%;
  display: grid;
  width: 7.4rem;
  height: 7.4rem;
  place-items: center;
  border: var(--border);
  border-radius: 45% 55% 48% 52% / 56% 44% 56% 44%;
  background: var(--yellow);
  box-shadow: 4px 4px 0 var(--ink);
  font-family: var(--display);
  font-size: 1.15rem;
  line-height: 1.15;
  text-align: center;
  transform: translate(-50%, -50%) rotate(8deg);
}

.marquee {
  overflow: hidden;
  border-block: var(--border);
  background: var(--teal);
  color: var(--white);
}

.marquee div {
  display: flex;
  width: max-content;
  padding: 0.8rem 0;
  align-items: center;
  animation: ticker 28s linear infinite;
}

.marquee span {
  padding-inline: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.09em;
}

.marquee i {
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 50%;
  background: var(--yellow);
}

.calendar-image-section {
  padding-block: clamp(4.5rem, 9vw, 8rem);
  border-bottom: var(--border);
  background: var(--cream);
}

.calendar-image-section img {
  display: block;
  width: 100%;
  height: auto;
}

@keyframes ticker {
  to { transform: translateX(-50%); }
}

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

.intro__grid {
  display: grid;
  gap: 2rem;
}

.section-heading h2,
.closing h2 {
  max-width: 11ch;
  margin-bottom: 0;
  color: var(--teal);
  font-size: clamp(2.7rem, 8vw, 5.6rem);
  letter-spacing: -0.03em;
}

.intro__copy {
  max-width: 39rem;
  font-size: clamp(1.08rem, 2vw, 1.25rem);
}

.intro__copy p:not(.signature) {
  margin-bottom: 1.2rem;
}

.signature {
  margin: 2rem 0 0;
  color: var(--coral-dark);
  font-size: 1.9rem;
}

.day-nav {
  position: sticky;
  z-index: 10;
  top: 0;
  border-block: var(--border);
  background: rgba(255, 245, 220, 0.96);
  backdrop-filter: blur(10px);
}

.day-nav__inner {
  display: flex;
  overflow-x: auto;
  scrollbar-width: none;
}

.day-nav__inner::-webkit-scrollbar { display: none; }

.day-nav a {
  display: inline-flex;
  min-width: max-content;
  min-height: 3.75rem;
  padding: 0.75rem 1rem;
  flex: 1;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  border-right: 1px solid rgba(19, 63, 66, 0.28);
  cursor: pointer;
  font-size: 0.85rem;
  font-weight: 700;
  text-decoration: none;
  transition: color 180ms ease, background-color 180ms ease;
}

.day-nav a:last-child { border-right: 0; }
.day-nav a:hover,
.day-nav a[aria-current="true"] {
  color: var(--white);
  background: var(--teal);
}

.day-nav span {
  color: var(--coral-dark);
}

.day-nav a:hover span,
.day-nav a[aria-current="true"] span { color: var(--yellow); }

.day {
  scroll-margin-top: 3.8rem;
  padding-block: clamp(5rem, 10vw, 9rem);
  border-bottom: var(--border);
}

.day--coral { background: var(--coral); }
.day--cream { background: var(--cream); }
.day--mint { background: var(--mint); }

.day__header {
  display: grid;
  margin-bottom: clamp(3.5rem, 8vw, 6rem);
  gap: 2rem;
  align-items: end;
}

.day__header h2 {
  margin-bottom: 0;
  color: var(--teal);
  font-family: var(--display);
  font-size: clamp(3rem, 9vw, 6.5rem);
  font-weight: 400;
  letter-spacing: -0.04em;
}

.day__intro {
  max-width: 34rem;
  margin-bottom: 0;
  font-size: clamp(1.08rem, 2vw, 1.25rem);
  font-weight: 600;
}

.welcome-grid,
.day-one-grid,
.beach-grid {
  display: grid;
  gap: 1.5rem;
}

.menu-card,
.sandwich-card,
.bbq-menu {
  padding: clamp(1.5rem, 4vw, 2.5rem);
  border: var(--border);
  border-radius: 1.5rem;
  box-shadow: var(--shadow);
}

.menu-card--cream { background: var(--cream); }
.menu-card--pink { background: var(--pink); }
.menu-card--teal { background: var(--teal); color: var(--white); }

.meal-number {
  margin-bottom: 1.6rem;
  font-family: var(--display);
  font-size: 2rem;
  line-height: 1;
}

.meal-kicker {
  margin-bottom: 0.5rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.menu-card h3,
.sandwich-card h3,
.bbq-menu h3,
.cooking-class__heading h3 {
  margin-bottom: 1.5rem;
  font-family: var(--display);
  font-size: clamp(2rem, 6vw, 3.8rem);
  font-weight: 400;
}

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

.menu-list li {
  position: relative;
  padding: 0.55rem 0 0.55rem 1.35rem;
  border-bottom: 1px solid currentColor;
}

.menu-list li::before {
  position: absolute;
  top: 1.18rem;
  left: 0;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--coral-dark);
  content: "";
}

.menu-card--teal .menu-list li::before { background: var(--yellow); }

.feature-photo,
.wide-photo,
.beach-photo {
  margin: 0;
}

.feature-photo img,
.wide-photo img,
.beach-photo img {
  width: 100%;
  height: 100%;
  min-height: 28rem;
  border: var(--border);
  border-radius: 1.5rem;
  box-shadow: var(--shadow);
  object-fit: cover;
}

.feature-photo figcaption,
.wide-photo figcaption {
  max-width: 24rem;
  margin: 1.2rem 0 0 auto;
  padding-left: 1rem;
  border-left: 3px solid var(--ink);
  font-weight: 600;
}

.cooking-class {
  padding-top: clamp(5rem, 10vw, 9rem);
}

.cooking-class__heading {
  display: grid;
  margin-bottom: 2rem;
  gap: 1.5rem;
  align-items: end;
}

.cooking-class__heading h3 {
  margin-bottom: 0;
  color: var(--teal);
  font-size: clamp(3rem, 9vw, 6rem);
}

.cooking-class__heading > p {
  max-width: 34rem;
  margin-bottom: 0;
  font-weight: 600;
}

.pending-note,
.card-note {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  align-items: flex-start;
}

.pending-note {
  margin-bottom: 2rem;
  padding: 1.2rem;
  border: var(--border);
  border-radius: 1rem;
  background: var(--cream);
}

.pending-note p,
.card-note p { margin: 0; flex: 1 1 15rem; }

.status {
  display: inline-flex;
  min-height: 1.8rem;
  padding: 0.2rem 0.65rem;
  align-items: center;
  border: 1.5px solid currentColor;
  border-radius: 999px;
  color: var(--coral-dark);
  background: var(--white);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.2;
  text-transform: uppercase;
}

.team-grid {
  display: grid;
  gap: 1.25rem;
}

.team-card {
  padding: 1.5rem;
  border: var(--border);
  border-radius: 1.4rem;
  box-shadow: 5px 5px 0 var(--ink);
}

.team-card--pink { background: var(--pink); }
.team-card--mint { background: var(--mint-light); }
.team-card--yellow { background: var(--yellow); }

.team-card__number {
  margin-bottom: 1.5rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.team-card h4 {
  margin-bottom: 1.5rem;
  font-family: var(--display);
  font-size: 1.8rem;
  font-weight: 400;
}

.team-card dl,
.team-card dd { margin: 0; }

.team-card dl div {
  padding-block: 0.8rem;
  border-top: 1px solid var(--ink);
}

.team-card dt {
  margin-bottom: 0.2rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.voting {
  margin-top: 2rem;
  padding: 1.5rem;
  border: var(--border);
  border-radius: 1.5rem;
  background: var(--teal);
  color: var(--white);
}

.voting > p {
  margin-bottom: 1rem;
  font-family: var(--display);
  font-size: 1.8rem;
}

.voting ul {
  display: flex;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
  gap: 0.7rem;
  list-style: none;
}

.voting li {
  padding: 0.5rem 0.85rem;
  border: 1px solid var(--white);
  border-radius: 999px;
}

.day-one-grid { align-items: stretch; }

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

.dish-list li {
  display: grid;
  padding-block: 0.75rem;
  border-bottom: 1px solid var(--ink);
}

.dish-list span { font-size: 0.9rem; }

.card-note {
  margin-top: 1.4rem;
  padding-top: 1.2rem;
  border-top: 2px dashed var(--ink);
}

.wide-photo img {
  max-height: 37rem;
  object-position: center 44%;
}

.bbq-block {
  display: grid;
  margin-top: clamp(5rem, 10vw, 8rem);
  gap: 0;
}

.bbq-block__photo {
  position: relative;
  min-height: 29rem;
}

.bbq-block__photo img {
  width: 100%;
  height: 100%;
  min-height: 29rem;
  border: var(--border);
  border-radius: 1.5rem 1.5rem 0 0;
  object-fit: cover;
}

.bbq-block__photo span {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  padding: 0.55rem 0.85rem;
  border: var(--border);
  border-radius: 999px;
  background: var(--yellow);
  font-family: var(--display);
  transform: rotate(-4deg);
}

.bbq-menu {
  border-radius: 0 0 1.5rem 1.5rem;
  background: var(--teal);
  box-shadow: none;
  color: var(--white);
}

.bbq-menu__grid {
  display: grid;
  gap: 1.3rem;
}

.bbq-menu__grid div {
  padding-top: 1rem;
  border-top: 1px solid var(--white);
}

.bbq-menu__grid h4 {
  margin-bottom: 0.35rem;
  color: var(--yellow);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.bbq-menu__grid p { margin-bottom: 0; }

.smores-banner {
  position: relative;
  display: grid;
  margin: clamp(4rem, 8vw, 7rem) 0 0;
  overflow: hidden;
  border: var(--border);
  border-radius: 1.5rem;
  background: var(--pink);
  box-shadow: var(--shadow);
}

.smores-banner img {
  width: 100%;
  height: 26rem;
  object-fit: cover;
}

.smores-banner figcaption {
  padding: clamp(1.5rem, 4vw, 2.5rem);
  font-size: 1.1rem;
  font-weight: 600;
}

.smores-banner figcaption span {
  display: block;
  margin-bottom: 0.5rem;
  font-family: var(--display);
  font-size: 2.4rem;
  font-weight: 400;
}

.beach-grid { align-items: stretch; }

.compact-copy { margin-bottom: 0; font-size: 1.05rem; }

.beach-photo img {
  min-height: 20rem;
}

.sandwich-card {
  background: var(--coral);
}

.sandwich-card > p:not(.meal-number, .meal-kicker) {
  font-size: 1.05rem;
}

.closing {
  position: relative;
  isolation: isolate;
  padding-block: clamp(7rem, 14vw, 12rem);
  overflow: hidden;
  background: var(--pink);
  text-align: center;
}

.closing__wave {
  position: absolute;
  z-index: -1;
  width: 130%;
  height: 70%;
  top: 20%;
  left: -15%;
  border: 4rem solid var(--coral);
  border-radius: 50%;
  background: var(--mint);
  transform: rotate(-4deg);
}

.closing__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.closing h2 {
  max-width: 13ch;
  margin-bottom: 1.5rem;
}

.closing__inner > p:last-child {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 600;
}

.footer {
  padding: 4rem 0 1.5rem;
  background: var(--teal-dark);
  color: var(--white);
}

.footer__inner {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.footer__name {
  margin-bottom: 0.3rem;
  color: var(--yellow);
  font-size: 2rem;
}

.footer__inner p { margin-bottom: 0; }

.footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.footer__links a {
  display: inline-flex;
  min-height: 2.8rem;
  padding: 0.55rem 0.9rem;
  align-items: center;
  border: 1px solid var(--white);
  border-radius: 999px;
  cursor: pointer;
  font-weight: 700;
  text-decoration: none;
  transition: color 180ms ease, background-color 180ms ease;
}

.footer__links a:hover {
  color: var(--teal-dark);
  background: var(--yellow);
}

.footer__email {
  width: min(100% - 2rem, 75rem);
  margin: 4rem auto 0;
  padding-top: 1.5rem;
  overflow-wrap: anywhere;
  border-top: 1px solid rgba(255,255,255,0.4);
  font-size: clamp(1rem, 4vw, 2.2rem);
  font-weight: 600;
}

.js .reveal {
  opacity: 0;
  transform: translateY(1.5rem);
  transition: opacity 600ms ease, transform 600ms ease;
}

.js .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (min-width: 44rem) {
  .page-shell { width: min(100% - 4rem, 75rem); }
  .topbar { width: min(calc(100% - 4rem), 75rem); }
  .topbar__links { gap: 0.5rem; }
  .topbar__links a { padding-inline: 1rem; font-size: 0.95rem; }
  .intro__grid,
  .day__header,
  .cooking-class__heading { grid-template-columns: 1fr 1fr; }
  .welcome-grid { grid-template-columns: 1.05fr 0.95fr; }
  .team-grid { grid-template-columns: repeat(3, 1fr); }
  .team-card:nth-child(2) { transform: translateY(2rem); }
  .team-card:nth-child(3) { transform: translateY(0.7rem); }
  .day-one-grid { grid-template-columns: repeat(2, 1fr); }
  .wide-photo { grid-column: 1 / -1; }
  .bbq-block { grid-template-columns: 0.85fr 1.15fr; }
  .bbq-block__photo img { border-radius: 1.5rem 0 0 1.5rem; }
  .bbq-menu { border-radius: 0 1.5rem 1.5rem 0; }
  .bbq-menu__grid { grid-template-columns: 1fr 1fr; }
  .smores-banner { grid-template-columns: 1.1fr 0.9fr; align-items: center; }
  .smores-banner img { height: 34rem; }
  .menu-list--columns { columns: 2; column-gap: 2rem; }
  .menu-list--columns li { break-inside: avoid; }
  .beach-grid { grid-template-columns: 0.75fr 1.25fr; }
  .beach-photo { grid-column: 2; grid-row: 1 / span 2; }
  .sandwich-card { grid-column: 1; }
  .footer__inner { flex-direction: row; align-items: flex-end; justify-content: space-between; }
}

@media (min-width: 65rem) {
  .hero__content {
    display: grid;
    min-height: calc(100svh - 11rem);
    padding-block: 4rem 5rem;
    grid-template-columns: minmax(0, 0.85fr) minmax(25rem, 1.15fr);
    gap: 5rem;
  }
  .hero h1 { margin: 0; text-align: left; }
  .hero__poster { justify-self: end; }
  .hero__gallery { min-height: 38rem; }
  .photo-card--garden { height: 31rem; }
  .photo-card--breakfast { height: 25rem; }
  .day-one-grid { grid-template-columns: 0.85fr 1.05fr 0.85fr; }
  .wide-photo { grid-column: auto; }
  .wide-photo img { min-height: 100%; max-height: none; }
  .beach-grid { grid-template-columns: 0.7fr 1.2fr 0.9fr; }
  .beach-photo { grid-column: 2; grid-row: auto; }
  .sandwich-card { grid-column: auto; }
}

@media (max-width: 24rem) {
  .topbar__links a { padding-inline: 0.5rem; font-size: 0.78rem; }
  .hero__gallery { min-height: 27rem; }
  .hero__sticker { width: 6.2rem; height: 6.2rem; font-size: 1rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
  .js .reveal { opacity: 1; transform: none; }
}
