:root {
  --cream: #f8f1e8;
  --ivory: #fffaf3;
  --taupe: #a88468;
  --brown: #76523d;
  --dark: #4a3023;
  --pink: #f24663;
  --blue: #0db1ff;
}

* { box-sizing: border-box; }

html {
  width: 100%;
  min-width: 0;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  margin: 0;
  overflow-x: hidden;
  color: var(--dark);
  font-family: Georgia, "Times New Roman", serif;
  background:
    radial-gradient(circle at 20% 10%, rgba(255,255,255,.7), transparent 24rem),
    linear-gradient(135deg, var(--cream), #ead9c6 48%, #f9f2e9);
}

.page {
  position: relative;
  width: 100%;
  max-width: 100%;
  min-height: 100svh;
  overflow-x: clip;
}

.page::before,
.page::after {
  content: "❧";
  position: absolute;
  z-index: 0;
  color: rgba(118,82,61,.23);
  font-size: clamp(4rem, 12vw, 8rem);
  line-height: 1;
  pointer-events: none;
}

.page::before { top: 1rem; left: -1.5rem; transform: rotate(-35deg); }
.page::after { right: -1.5rem; bottom: 1rem; transform: rotate(145deg); }

.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 3.75rem;
  padding: max(.75rem, env(safe-area-inset-top)) 1rem .75rem;
  overflow: hidden;
  background: rgba(255,250,243,.9);
  border-bottom: 1px solid rgba(118,82,61,.12);
  backdrop-filter: blur(10px);
}

.brand {
  width: 100%;
  max-width: 100%;
  color: var(--dark);
  letter-spacing: clamp(.08em, 1.8vw, .22em);
  text-align: center;
  text-transform: uppercase;
  font-size: clamp(.55rem, 2.2vw, .78rem);
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.hero,
.details,
.palette,
footer {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
}

.hero {
  min-height: 100svh;
  padding: clamp(6rem, 12vw, 8rem) clamp(1rem, 7vw, 7rem) clamp(3rem, 7vw, 4rem);
  display: grid;
  place-items: center;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  align-items: center;
  width: min(1120px, 100%);
  max-width: 100%;
  min-width: 0;
  gap: clamp(2rem, 6vw, 4rem);
}

.hero-grid > * { min-width: 0; max-width: 100%; }

.eyebrow {
  max-width: 100%;
  letter-spacing: clamp(.1em, 1.5vw, .28em);
  text-align: center;
  text-transform: uppercase;
  font-size: clamp(.62rem, 2vw, .8rem);
  line-height: 1.5;
  overflow-wrap: anywhere;
}

h1,
h2,
.names,
.intro,
.honoring { max-width: 100%; overflow-wrap: anywhere; }

h1 {
  margin: .8rem 0 0;
  color: var(--brown);
  font-family: "Brush Script MT", "Segoe Script", cursive;
  font-size: clamp(3.8rem, 13vw, 10rem);
  font-weight: 400;
  line-height: .86;
  text-align: center;
}

h2 {
  margin: .3rem 0 1.4rem;
  font-size: clamp(2.35rem, 7vw, 6.4rem);
  letter-spacing: 0;
  line-height: .95;
  font-weight: 500;
  text-align: center;
}

.honoring {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(.35rem, 2vw, .8rem);
  letter-spacing: clamp(.08em, 1vw, .22em);
  text-align: center;
  text-transform: uppercase;
  font-size: clamp(.58rem, 1.7vw, .75rem);
  line-height: 1.35;
}

.honoring::before,
.honoring::after {
  content: "";
  flex: 1 1 auto;
  width: auto;
  min-width: 1.25rem;
  max-width: 10rem;
  height: 1px;
  background: var(--taupe);
}

.names {
  margin: 1.1rem 0 1.4rem;
  color: var(--brown);
  font-family: "Brush Script MT", cursive;
  font-size: clamp(2rem, 5vw, 4.3rem);
  line-height: 1.05;
  text-align: center;
}

.intro {
  width: 100%;
  max-width: 34rem;
  margin: 3rem auto;
  font-size: clamp(.96rem, 2.2vw, 1.08rem);
  line-height: 1.6;
  text-align: center;
}

.photo-frame {
  position: relative;
  width: min(100%, 34rem);
  max-width: 100%;
  margin: 0 auto;
  padding: clamp(.4rem, 2vw, .65rem);
  background: rgba(255,250,243,.72);
  border: 1px solid rgba(118,82,61,.25);
  box-shadow: 0 1.5rem 3rem rgba(74,48,35,.18);
  transform: rotate(2deg);
}

.photo-frame img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: center top;
}

.photo-caption {
  position: absolute;
  right: clamp(.55rem, 4vw, 1rem);
  bottom: clamp(.55rem, 4vw, 1rem);
  left: clamp(.55rem, 4vw, 1rem);
  max-width: calc(100% - 2 * clamp(.55rem, 4vw, 1rem));
  padding: clamp(.4rem, 2vw, .65rem);
  background: rgba(255,250,243,.92);
  font-family: "Brush Script MT", cursive;
  font-size: clamp(1.05rem, 4vw, 1.7rem);
  line-height: 1.15;
  text-align: center;
  overflow-wrap: anywhere;
}

.details {
  padding: clamp(3rem, 8vw, 5rem) clamp(1rem, 7vw, 7rem);
  background: rgba(255,250,243,.5);
}

.details-inner {
  width: min(1000px, 100%);
  max-width: 100%;
  margin: auto;
  text-align: center;
}

.section-title {
  margin: 0 0 2rem;
  color: var(--brown);
  font-family: "Brush Script MT", cursive;
  font-size: clamp(2.6rem, 8vw, 3.3rem);
  font-weight: 400;
  line-height: 1.1;
  text-align: center;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: 100%;
  max-width: 100%;
  gap: 1rem;
}

.card {
  min-width: 0;
  max-width: 100%;
  padding: clamp(1.2rem, 3vw, 1.6rem) 1rem;
  background: rgba(255,250,243,.78);
  border: 1px solid rgba(118,82,61,.24);
  overflow-wrap: anywhere;
}

.icon { display: block; margin-bottom: .7rem; font-size: 1.8rem; }
.card small { letter-spacing: .14em; text-transform: uppercase; font-size: .64rem; }
.card p { margin: .7rem 0 0; font-size: clamp(.95rem, 2vw, 1.15rem); line-height: 1.4; }
.venue-card { cursor: pointer; }
.venue-link { display: block; max-width: 100%; margin-top: .7rem; color: var(--dark); font-size: clamp(.9rem, 2vw, 1.05rem); line-height: 1.45; text-decoration: none; overflow-wrap: anywhere; }
.venue-link:hover, .venue-link:focus-visible { color: var(--brown); text-decoration: underline; }

.palette { padding: clamp(3rem, 8vw, 5rem) clamp(1rem, 7vw, 7rem); text-align: center; }
.swatches { display: flex; justify-content: center; width: 100%; max-width: 100%; gap: .75rem; flex-wrap: wrap; margin: 1.5rem auto; }
.swatch-item { position: relative; display: inline-flex; align-items: center; justify-content: center; }
.swatch { width: clamp(3.4rem, 12vw, 4.2rem); height: clamp(3.4rem, 12vw, 4.2rem); border: 2px solid rgba(255,255,255,.8); border-radius: 50%; box-shadow: 0 3px 10px rgba(74,48,35,.12); transition: transform .25s ease, box-shadow .25s ease; }
.swatch-name { position: absolute; left: 50%; bottom: calc(100% + .65rem); z-index: 5; width: max-content; max-width: 9rem; padding: .45rem .65rem; border-radius: .35rem; background: rgba(74,48,35,.95); color: var(--ivory); font-size: .72rem; line-height: 1.2; text-align: center; white-space: nowrap; opacity: 0; visibility: hidden; pointer-events: none; transform: translateX(-50%) translateY(6px); transition: opacity .2s ease, transform .2s ease, visibility .2s ease; }
.swatch-name::after { content: ""; position: absolute; top: 100%; left: 50%; border: .35rem solid transparent; border-top-color: rgba(74,48,35,.95); transform: translateX(-50%); }
.swatch-item:hover .swatch-name, .swatch-item:focus-within .swatch-name { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.swatch-item:hover .swatch, .swatch-item:focus-within .swatch { transform: scale(1.12); box-shadow: 0 5px 16px rgba(74,48,35,.28); }
.palette p { max-width: 100%; font-size: .95rem; line-height: 1.5; }

footer { padding: 2.5rem 1rem max(2.5rem, env(safe-area-inset-bottom)); background: var(--brown); color: var(--ivory); text-align: center; }
footer .script { font-family: "Brush Script MT", cursive; font-size: clamp(1.8rem, 7vw, 2.5rem); line-height: 1.2; }
.footer-names { margin: 1rem 0; font-family: "Brush Script MT", "Segoe Script", cursive; font-size: clamp(1.8rem, 6vw, 2.8rem); font-weight: 400; letter-spacing: .04em; line-height: 1.1; }
.footer-names b { font-weight: 400; }

.footprint { position: fixed; z-index: 9999; width: clamp(34px, 10vw, 48px); height: clamp(34px, 10vw, 48px); pointer-events: none; opacity: 0; animation: floatFoot 11s linear infinite; }
.footprint.pink { color: var(--pink); }
.footprint.blue { color: var(--blue); }
.footprint svg { display: block; width: 100%; height: 100%; fill: currentColor; }
.f1 { left: 8%; bottom: -2rem; animation-delay: 0s; }
.f2 { left: 18%; bottom: -4rem; animation-delay: 1.4s; }
.f3 { left: 79%; bottom: -3rem; animation-delay: 3s; }
.f4 { left: 88%; bottom: -5rem; animation-delay: 4.4s; }
.f5 { left: 48%; bottom: -3rem; animation-delay: 6s; }
.f6 { left: 58%; bottom: -5rem; animation-delay: 7.2s; }

@keyframes floatFoot {
  0% { transform: translateY(0) rotate(-18deg) scale(.7); opacity: 0; }
  15% { opacity: .85; }
  70% { opacity: .55; }
  100% { transform: translateY(-105vh) rotate(22deg) scale(1.15); opacity: 0; }
}

@media (max-width: 760px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 2.5rem; }
  .hero { padding-top: 6.5rem; }
  .photo-frame { width: min(92vw, 28rem); transform: rotate(1deg); }
  .photo-frame img { aspect-ratio: 4 / 5; max-height: 72svh; }
  .cards { grid-template-columns: minmax(0, 1fr); width: min(100%, 28rem); margin-inline: auto; }
  .swatches { width: min(100%, 22rem); margin-inline: auto; }
  .swatch-name { top: calc(100% + .65rem); bottom: auto; }
  .swatch-name::after { top: auto; bottom: 100%; border-top-color: transparent; border-bottom-color: rgba(74,48,35,.95); }
  .page::before, .page::after { font-size: 5rem; }
}

@media (max-width: 380px) {
  .brand { letter-spacing: .09em; }
  .hero, .details, .palette { padding-right: .85rem; padding-left: .85rem; }
  h1 { font-size: 3.7rem; }
  h2 { font-size: 2.3rem; }
  .names { font-size: 1.95rem; }
  .honoring { letter-spacing: .08em; font-size: .58rem; }
  .honoring::before, .honoring::after { min-width: 1rem; }
  .photo-frame { width: min(94vw, 21rem); padding: .4rem; }
  .photo-frame img { max-height: 66svh; }
}

@media (min-width: 761px) {
  .hero-grid > div:first-child .eyebrow,
  .hero-grid > div:first-child h1,
  .hero-grid > div:first-child h2,
  .hero-grid > div:first-child .names,
  .hero-grid > div:first-child .intro { text-align: left; }
  .hero-grid > div:first-child .honoring { justify-content: flex-start; }
}