@font-face {
  font-family: "Comic CAT";
  src: url("assets/fonts/Comic_CAT.woff2") format("woff2"),
    url("assets/fonts/Comic_CAT.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Airbnb-flat refs: cream + teal + mustard + soft panels */
  --paper: #faf7ef;
  --cream: #fffcf7;
  --ink: #005e66;
  --ink-soft: #3a7a80;
  --mustard: #ffb400;
  --apricot: #f0a56e;
  --lavender: #8899cc;
  --mint: #b7d8d3;
  --blush: #f5c4c0;
  --line: #005e66;

  /* keep old tokens mapped so HTML classes still work */
  --yellow: var(--mustard);
  --emerald: var(--mint);
  --purple: var(--lavender);
  --purple-deep: var(--apricot);
  --blue: var(--lavender);
  --riot-rose: var(--apricot);
  --voltage-blue: var(--lavender);
  --radioactive-lime: var(--mint);
  --eclipsed-violet: var(--lavender);
  --fever-glow: var(--mustard);

  --font-display: "Comic CAT", "Comic Sans MS", cursive;
  --font-hand: "Comic CAT", "Comic Sans MS", cursive;
  --font-body: "Comic CAT", "Comic Sans MS", cursive;

  --pad: clamp(1.25rem, 4vw, 3rem);
  --max: 72rem;
  --hair: 1.5px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  position: relative;
  color: var(--ink);
  font-family: var(--font-body);
  font-weight: 400;
  font-size: clamp(1.2rem, 0.55vw + 1.05rem, 1.45rem);
  line-height: 1.45;
  letter-spacing: 0.01em;
  background: var(--paper);
  overflow-x: hidden;
}

strong,
b,
.nav__logo,
.nav__links,
.hero__title,
.hero__name,
.band--purple h2,
.section__head h2,
.thanks__text,
.wish,
.finale h2,
.best h2,
.q h3,
.place figcaption {
  font-weight: 400;
}

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

a {
  color: inherit;
  text-decoration: none;
}

strong {
  color: var(--ink);
}

.noise {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 50;
  opacity: 0.07;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
}

/* Food doodles — only hero, best photo, wishes */
.hero,
#best,
#wishes {
  position: relative;
}

.food-doodles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.food-doodle {
  position: absolute;
  width: clamp(3.4rem, 7vw, 6rem);
  height: auto;
  opacity: 0.5;
  transform: rotate(var(--r, 0deg)) scale(var(--s, 1));
  mix-blend-mode: multiply;
  user-select: none;
}

.food-doodle--sm {
  width: clamp(3.15rem, 6vw, 4.85rem);
  opacity: 0.46;
}

.food-doodle--lg {
  width: clamp(4.2rem, 8.5vw, 7.2rem);
  opacity: 0.45;
}

/* Under wishes title — out of flow so it doesn't open a hole */
#wishes .section__head {
  position: relative;
  margin-bottom: 0.75rem;
}

.food-doodle--under-title {
  position: absolute;
  left: 0;
  top: calc(100% + 7mm);
  display: block;
  width: clamp(4.2rem, 8.5vw, 7.2rem);
  margin: 0;
  opacity: 0.5;
  z-index: 0;
  pointer-events: none;
}

#wishes .wishes {
  position: relative;
  z-index: 1;
}

.hero > .food-doodles ~ *,
#best > *:not(.food-doodles),
#wishes > *:not(.food-doodles) {
  position: relative;
  z-index: 1;
}

@media (max-width: 720px) {
  .food-doodle {
    width: clamp(2.8rem, 15vw, 3.8rem);
    opacity: 0.34;
  }

  .food-doodle--sm {
    width: clamp(2.55rem, 13.5vw, 3.45rem);
  }

  .food-doodle--lg {
    width: clamp(3.1rem, 17vw, 4.4rem);
  }
}

.shot,
.shot-stack,
.q,
.place,
.best__shot,
.hero__cats,
.finale__cats {
  position: relative;
  z-index: 2;
}

.hand {
  font-family: var(--font-hand);
  font-weight: 400;
  line-height: 1.15;
}

.hand--light {
  color: var(--mustard);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  margin: 0 0 0.5rem;
}

.kicker {
  margin: 0 0 0.4rem;
  font-size: clamp(1.45rem, 2.4vw, 1.9rem);
  color: var(--apricot);
}

.rot-l {
  transform: rotate(-1.4deg);
}

.rot-r {
  transform: rotate(1.2deg);
}

/* NAV — light, airy */
.nav {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem var(--pad);
  background: rgba(250, 247, 239, 0.92);
  backdrop-filter: blur(10px);
  color: var(--ink);
  border-bottom: var(--hair) solid color-mix(in srgb, var(--ink) 22%, transparent);
}

.nav__logo {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.45rem;
  letter-spacing: 0.06em;
  color: var(--ink);
}

.nav__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1.15rem;
  justify-content: flex-end;
  font-size: 1rem;
  font-weight: 400;
  color: var(--ink-soft);
}

.nav__links a:hover {
  color: var(--apricot);
}

@media (max-width: 720px) {
  .nav__links {
    display: none;
  }
}

/* HERO */
.hero {
  min-height: min(100svh, 920px);
  display: grid;
  place-content: center;
  justify-items: center;
  text-align: center;
  padding: clamp(2rem, 5vw, 3.5rem) var(--pad) 3.5rem;
  position: relative;
}

.hero::before {
  content: "";
  position: absolute;
  width: min(480px, 78vw);
  height: min(480px, 78vw);
  border-radius: 50%;
  background: var(--mustard);
  opacity: 0.35;
  z-index: 0;
}

.hero > * {
  position: relative;
  z-index: 1;
}

.hero > .food-doodles {
  position: absolute;
  z-index: 0;
}

.hero__tag {
  margin: 0 0 0.85rem;
  font-size: clamp(1.55rem, 3.2vw, 2.2rem);
  color: var(--ink);
  background: var(--cream);
  border: var(--hair) solid var(--ink);
  padding: 0.3rem 0.9rem;
  border-radius: 999px;
}

.hero__cats {
  margin: 0.15rem 0 0.5rem;
  width: min(62vw, 300px);
  position: relative;
  background: none;
  border: none;
  box-shadow: none;
  z-index: 2;
}

.hero__cats img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  animation: bob 5.5s ease-in-out infinite;
  /* tint doodle toward teal ink vibe */
  filter: brightness(0) saturate(100%) invert(24%) sepia(42%) saturate(1200%) hue-rotate(146deg) brightness(0.95);
}

.hero__title {
  margin: 0 0 1.25rem;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.5rem, 7vw, 4.8rem);
  line-height: 1.05;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: var(--ink);
}

.hero__name {
  color: var(--apricot);
  font-size: 1.12em;
}

.hero__go {
  font-family: var(--font-hand);
  font-size: 1.65rem;
  font-weight: 400;
  background: var(--mustard);
  color: var(--ink);
  border: var(--hair) solid var(--ink);
  padding: 0.35rem 1.15rem;
  border-radius: 999px;
  transition: transform 0.2s ease, background 0.2s ease;
}

.hero__go:hover {
  transform: translateY(2px);
  background: var(--apricot);
}

@keyframes bob {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

/* Stickers — softer pills */
.sticker {
  position: absolute;
  font-family: var(--font-hand);
  font-weight: 400;
  font-size: 1.35rem;
  padding: 0.2rem 0.7rem;
  border: var(--hair) solid var(--ink);
  border-radius: 999px;
  background: var(--cream);
  color: var(--ink);
}

.sticker--purple {
  background: var(--lavender);
  color: var(--cream);
  top: 8%;
  right: -4%;
}

.sticker--emerald {
  background: var(--mustard);
  color: var(--ink);
  bottom: 8%;
  right: -2%;
}

/* Sections & color bands */
.section {
  padding: clamp(3.5rem, 8vw, 6rem) var(--pad);
}

.band {
  padding: clamp(3.5rem, 8vw, 6rem) var(--pad);
  border-top: none;
  border-bottom: none;
}

.band--purple {
  background: var(--lavender);
  color: var(--cream);
}

.band--emerald {
  background: var(--mint);
  color: var(--ink);
}

.band--yellow {
  background: var(--mustard);
  color: var(--ink);
}

.band--rose {
  background: var(--blush);
  color: var(--ink);
}

.band--blue {
  background: var(--lavender);
  color: var(--cream);
}

.band__inner.narrow,
.narrow {
  max-width: 40rem;
  margin: 0 auto;
}

.band--purple h2 {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3.5vw, 2.6rem);
  font-weight: 400;
  line-height: 1.2;
  margin: 0 0 1rem;
  text-transform: uppercase;
}

.band--purple .lede {
  color: color-mix(in srgb, var(--cream) 88%, white);
}

.lede {
  font-size: 1.2rem;
  margin: 0 0 0.85rem;
  max-width: 36rem;
  color: inherit;
}

.section__head {
  max-width: var(--max);
  margin: 0 auto 2.5rem;
}

.section__head h2 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.1rem, 5vw, 3.5rem);
  line-height: 1.1;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  color: var(--ink);
}

.section__head--light .kicker {
  color: var(--ink);
}

.section__head--light h2 {
  color: var(--ink);
}

.strike {
  text-decoration: line-through;
  text-decoration-thickness: 0.14em;
  text-decoration-color: var(--apricot);
  opacity: 0.5;
}

/* Thanks */
.thanks {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  gap: clamp(2.5rem, 6vw, 4rem);
}

.thanks__item {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(1rem, 3vw, 2rem);
  align-items: center;
}

.thanks__item--flip {
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
}

.thanks__item--flip .shot,
.thanks__item--flip .shot-stack {
  order: 2;
}

.thanks__item--flip .thanks__text {
  order: 1;
}

@media (max-width: 800px) {
  .thanks__item,
  .thanks__item--flip {
    grid-template-columns: 1fr;
  }

  .thanks__item--flip .shot,
  .thanks__item--flip .shot-stack,
  .thanks__item--flip .thanks__text {
    order: initial;
  }
}

.shot {
  border: var(--hair) solid var(--ink);
  border-radius: 4px;
  background: var(--cream);
  overflow: hidden;
  box-shadow: none;
}

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

.shot--screen {
  background: #12363a;
}

.shot--screen img {
  object-fit: contain;
  background: #12363a;
  aspect-ratio: 4 / 3;
}

.shot-stack {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.shot-stack .shot {
  box-shadow: none;
}

.thanks__item--hobbies {
  grid-template-columns: 1fr;
  gap: 1.35rem;
  justify-items: stretch;
}

.thanks__item--hobbies .thanks__text {
  max-width: 40rem;
  font-size: clamp(1.45rem, 3vw, 2rem);
}

.shot-stack--big {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(0.85rem, 2vw, 1.35rem);
  width: min(100%, 72%);
  margin-inline: auto;
}

.shot-stack--big .shot {
  box-shadow: none;
}

.shot-stack--big .shot img {
  aspect-ratio: 3 / 4;
  width: 100%;
  min-height: clamp(240px, 42vw, 460px);
  object-fit: cover;
  object-position: center;
}

.shot-stack--big .shot--focus-right img,
.shot--focus-right img {
  object-position: right center;
}

@media (max-width: 800px) {
  .thanks__item--hobbies {
    grid-template-columns: 1fr;
  }

  .shot-stack--big {
    grid-template-columns: 1fr 1fr;
  }

  .shot-stack--big .shot img {
    min-height: 230px;
    aspect-ratio: 3 / 4;
  }
}

.thanks__text {
  margin: 0;
  font-size: clamp(1.25rem, 2.4vw, 1.7rem);
  font-weight: 400;
  line-height: 1.3;
  color: var(--ink);
}

.thanks__text::before {
  content: "→ ";
  color: var(--apricot);
  font-family: var(--font-display);
}

.thanks__text--big {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  color: var(--apricot);
}

.thanks__text--big::before {
  content: "";
}

/* Places */
.places {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

@media (max-width: 980px) {
  .places {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 640px) {
  .places {
    grid-template-columns: repeat(2, 1fr);
  }
}

.place {
  margin: 0;
  position: relative;
  border: var(--hair) solid var(--ink);
  border-radius: 4px;
  background: var(--cream);
  overflow: hidden;
  transition: transform 0.2s ease;
}

.place:nth-child(3n) {
  transform: rotate(1deg);
}

.place:nth-child(3n + 1) {
  transform: rotate(-1deg);
}

.place:hover {
  transform: rotate(0deg) scale(1.02);
  z-index: 2;
}

.place img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.place figcaption {
  position: absolute;
  left: 0.45rem;
  bottom: 0.45rem;
  font-family: var(--font-hand);
  font-size: clamp(1.25rem, 2vw, 1.55rem);
  font-weight: 400;
  background: var(--mustard);
  color: var(--ink);
  border: var(--hair) solid var(--ink);
  border-radius: 999px;
  padding: 0.05rem 0.55rem;
  line-height: 1.25;
}

.places__more {
  text-align: center;
  margin: 2rem 0 0;
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  color: var(--ink);
}

/* Qualities */
.qualities {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.1rem;
}

@media (max-width: 860px) {
  .qualities {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 520px) {
  .qualities {
    grid-template-columns: 1fr;
  }
}

.q {
  margin: 0;
  background: var(--cream);
  border: var(--hair) solid var(--ink);
  border-radius: 4px;
  overflow: hidden;
  box-shadow: none;
}

.q:nth-child(even),
.q:nth-child(3n),
.q:nth-child(4n),
.q:nth-child(5n) {
  box-shadow: none;
}

.q img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-bottom: var(--hair) solid var(--ink);
}

.q h3 {
  margin: 0;
  padding: 0.85rem 0.9rem 1rem;
  font-family: var(--font-hand);
  font-size: clamp(1.3rem, 2vw, 1.65rem);
  font-weight: 400;
  line-height: 1.2;
  color: var(--ink);
}

.q--wide {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: stretch;
  background: var(--apricot);
  box-shadow: none !important;
}

.q--wide img {
  aspect-ratio: auto;
  height: 100%;
  min-height: 220px;
  border-bottom: none;
  border-right: var(--hair) solid var(--ink);
}

.q--wide h3 {
  display: grid;
  place-items: center;
  font-size: clamp(2rem, 4vw, 3.2rem);
  text-align: center;
  padding: 1.5rem;
}

@media (max-width: 640px) {
  .q--wide {
    grid-template-columns: 1fr;
  }

  .q--wide img {
    border-right: none;
    border-bottom: var(--hair) solid var(--ink);
    min-height: 0;
    aspect-ratio: 4 / 3;
  }
}

/* Best */
.best {
  max-width: min(41.5rem, 94vw);
  margin: 0 auto;
  text-align: center;
}

.best .kicker {
  color: var(--ink);
}

.best h2 {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.5rem, 3.5vw, 2.4rem);
  text-transform: uppercase;
  line-height: 1.1;
}

.best__shot {
  margin: 0 auto;
  position: relative;
  width: fit-content;
  max-width: 100%;
  border: var(--hair) solid var(--ink);
  border-radius: 4px;
  background: var(--cream);
  box-shadow: none;
}

.best__shot img {
  width: auto;
  max-width: min(100%, 483px);
  max-height: min(67vh, 600px);
  height: auto;
  object-fit: contain;
  display: block;
  margin: 0 auto;
}

/* Wishes */
.wishes {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  max-width: 46rem;
  display: grid;
  gap: 0.7rem;
}

.wish {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.95rem 1.15rem;
  border: var(--hair) solid var(--ink);
  border-radius: 999px;
  font-weight: 400;
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  background: var(--cream);
  box-shadow: none;
}

.wish span {
  font-size: 1.45rem;
  line-height: 1;
}

.wish--purple {
  background: color-mix(in srgb, var(--lavender) 22%, white);
}

.wish--emerald {
  background: color-mix(in srgb, var(--mint) 55%, white);
}

.wish--yellow {
  background: color-mix(in srgb, var(--mustard) 35%, white);
}

.wish--love {
  background: var(--ink);
  color: var(--mustard);
  font-size: clamp(1.2rem, 2.4vw, 1.55rem);
}

/* Finale */
.finale {
  padding: clamp(4rem, 10vw, 7rem) var(--pad);
  background: var(--ink);
  color: var(--cream);
  text-align: center;
  border-top: none;
}

.finale__inner {
  max-width: 40rem;
  margin: 0 auto;
}

.finale .hand {
  color: var(--mustard);
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  margin: 0 0 0.5rem;
}

.finale h2 {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.4rem, 8vw, 5rem);
  line-height: 1;
  color: var(--mustard);
  text-transform: uppercase;
}

.finale blockquote {
  margin: 0 auto 1.5rem;
  font-family: var(--font-hand);
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 400;
  color: var(--cream);
  line-height: 1.25;
}

.finale__cats {
  margin: 0 auto 1rem;
  width: min(200px, 48vw);
}

.finale__cats img {
  width: 100%;
  height: auto;
  object-fit: contain;
  /* white-ish lines on teal */
  filter: brightness(0) invert(1) opacity(0.92);
}

.finale__sign {
  margin: 0;
  color: var(--apricot) !important;
}

/* Reveal */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 0.75s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.is-in {
  opacity: 1;
  transform: none;
}

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

  .hero__cats img {
    animation: none;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
