:root {
  --white: #ffffff;
  --cream: #fffafb;
  --blush: #fcebef;
  --blush-deep: #f8d7e0;
  --pink: #f2a9bd;
  --rose: #c84f78;        /* buttons & accents (AA on white) */
  --rose-dark: #a63a60;
  --gold: #b8913f;
  --gold-soft: #e9d29a;
  --ink: #3a2930;
  --muted: #6e5860;
  --radius: 24px;
  --radius-sm: 16px;
  --shadow: 0 14px 40px rgba(166, 58, 96, 0.12);
  --shadow-lift: 0 22px 50px rgba(166, 58, 96, 0.2);
  --ease: cubic-bezier(.22, .8, .3, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

body {
  font-family: "Jost", system-ui, sans-serif;
  font-size: 1.075rem;
  line-height: 1.7;
  color: var(--ink);
  background: var(--cream);
}
/* stops anything decorative from widening the page on phones (set on html only so the window stays the scroller) */
html { overflow-x: hidden; overflow-x: clip; }
img { display: block; max-width: 100%; }
a { color: var(--rose-dark); }
button { font: inherit; }

h1, h2, h3 { font-family: "Playfair Display", Georgia, serif; font-weight: 500; line-height: 1.15; color: var(--ink); }
h1 { font-size: clamp(2.8rem, 6vw, 4.6rem); }
h2 { font-size: clamp(2rem, 4vw, 3.1rem); }
h3 { font-size: 1.45rem; }
h1 em, h2 em, .tagline em { font-style: italic; color: var(--rose); }

.skip-link { position: absolute; left: -999px; top: 0; background: var(--rose); color: #fff; padding: .6rem 1rem; z-index: 100; border-radius: 0 0 12px 0; }
.skip-link:focus { left: 0; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }

.container { max-width: 1180px; margin: 0 auto; padding: 0 1.5rem; }
.center { text-align: center; }
.small { font-size: .95rem; color: var(--muted); margin-top: 1.2rem; }

.script { font-family: "Great Vibes", cursive; font-size: 2rem; line-height: 1; color: var(--gold); margin-bottom: .4rem; }
.script.big { font-size: clamp(2.2rem, 5vw, 3.2rem); color: var(--rose-dark); margin-top: 1.4rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .55rem;
  padding: 1rem 2.1rem; border-radius: 999px;
  font-weight: 600; font-size: .9rem; letter-spacing: .14em; text-transform: uppercase;
  text-decoration: none; cursor: pointer; border: 2px solid transparent;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s, color .25s;
}
.btn:hover { transform: translateY(-3px); }
.btn-pink { background: var(--rose); color: #fff; box-shadow: 0 10px 26px rgba(200, 79, 120, .35); }
.btn-pink:hover { background: var(--rose-dark); box-shadow: 0 14px 32px rgba(200, 79, 120, .45); }
.btn-outline { border-color: var(--rose); color: var(--rose-dark); background: transparent; }
.btn-outline:hover { background: var(--rose); color: #fff; }
.btn-sm { padding: .65rem 1.4rem; font-size: .78rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 250, 251, .85); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  transition: box-shadow .3s;
}
.site-header.scrolled { box-shadow: 0 6px 24px rgba(166, 58, 96, .1); }
.nav { max-width: 1180px; margin: 0 auto; padding: .7rem 1.5rem; display: flex; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; color: var(--ink); font-family: "Great Vibes", cursive; font-size: 2.1rem; line-height: 1; }
.nav-links { list-style: none; display: flex; align-items: center; gap: 2rem; }
.nav-links a {
  position: relative; color: var(--ink); text-decoration: none;
  font-size: .85rem; font-weight: 500; letter-spacing: .12em; text-transform: uppercase;
}
.nav-links a:not(.nav-pill)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; border-radius: 2px;
  background: var(--gold); transform: scaleX(0); transition: transform .3s var(--ease);
}
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); }
.nav-pill { background: var(--blush); padding: .55rem 1.2rem; border-radius: 999px; border: 1px solid var(--blush-deep); transition: background .25s; }
.nav-pill:hover, .nav-pill.active { background: var(--rose); color: #fff !important; }
.nav-toggle { display: none; width: 44px; height: 44px; background: none; border: 0; cursor: pointer; position: relative; }
.nav-toggle span { position: absolute; left: 10px; right: 10px; height: 2px; background: var(--rose-dark); border-radius: 2px; transition: transform .3s, opacity .3s; }
.nav-toggle span:nth-child(1) { top: 15px; }
.nav-toggle span:nth-child(2) { top: 21px; }
.nav-toggle span:nth-child(3) { top: 27px; }
.nav-toggle.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  max-width: 1180px; margin: 0 auto; padding: 3rem 1.5rem 5rem;
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 3rem; align-items: center;
  min-height: calc(100vh - 70px); min-height: calc(100svh - 70px);
  position: relative;
}
.hero::before {
  content: ""; position: absolute; z-index: -1; inset: -10% -30% auto auto; width: 70%; aspect-ratio: 1;
  background: radial-gradient(circle, var(--blush-deep) 0%, rgba(252, 235, 239, 0) 65%);
}
.hero-logo { width: 110px; height: auto; margin-bottom: 1.2rem; animation: float 6s ease-in-out infinite; }
.kicker { font-size: .9rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); margin-bottom: 1rem; }
.hero h1 { margin-bottom: 1.4rem; }
.lead { font-size: 1.2rem; color: var(--muted); max-width: 32rem; margin-bottom: 2.2rem; }
.lead strong { color: var(--rose-dark); font-weight: 600; }
.hero-text > * { animation: rise .9s var(--ease) both; }
.hero-text > :nth-child(2) { animation-delay: .1s; }
.hero-text > :nth-child(3) { animation-delay: .2s; }
.hero-text > :nth-child(4) { animation-delay: .3s; }
.hero-text > :nth-child(5) { animation-delay: .4s; }

.hero-media { position: relative; justify-self: center; width: min(100%, 440px); animation: rise 1.1s .2s var(--ease) both; }
.hero-arch {
  border-radius: 999px 999px var(--radius) var(--radius); overflow: hidden;
  aspect-ratio: 4 / 5.4; box-shadow: var(--shadow-lift);
  outline: 1px solid var(--gold-soft); outline-offset: 12px;
}
.hero-arch img { width: 100%; height: 100%; object-fit: cover; object-position: center 60%; }
.hero-badge {
  position: absolute; left: -2rem; bottom: 2.5rem;
  background: #fff; border-radius: var(--radius-sm); padding: 1rem 1.3rem; box-shadow: var(--shadow);
  display: flex; align-items: center; gap: .8rem; font-size: .9rem; line-height: 1.3; color: var(--muted);
  animation: float 5s 1s ease-in-out infinite;
}
.badge-num { font-family: "Playfair Display", serif; font-size: 2rem; color: var(--rose); }

/* sparkles */
.sparkle { position: absolute; width: 22px; height: 22px; background: var(--gold); clip-path: polygon(50% 0, 61% 39%, 100% 50%, 61% 61%, 50% 100%, 39% 61%, 0 50%, 39% 39%); animation: twinkle 3s ease-in-out infinite; }
.s1 { top: 6%; left: -8%; }
.s2 { top: 30%; right: -9%; width: 14px; height: 14px; background: var(--pink); animation-delay: 1s; }
.s3 { bottom: -4%; right: 18%; width: 16px; height: 16px; animation-delay: 2s; }

@keyframes rise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes twinkle { 0%, 100% { opacity: .35; transform: scale(.7) rotate(0); } 50% { opacity: 1; transform: scale(1) rotate(20deg); } }

/* ---------- Sections ---------- */
.section { padding: 6.5rem 0; }
.section-blush { background: var(--blush); position: relative; }
.section-blush::before, .section-blush::after {
  content: ""; position: absolute; left: 0; right: 0; height: 28px;
  background: radial-gradient(circle at 14px 0, var(--cream) 13px, transparent 14px) repeat-x;
  background-size: 28px 28px;
}
.section-blush::before { top: 0; }
.section-blush::after { bottom: 0; transform: rotate(180deg); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 3.5rem; }
.section-head h2 { margin-bottom: 1rem; }
.section-head p:not(.script) { color: var(--muted); font-size: 1.12rem; }
.section-head .btn { margin-top: 1.8rem; }
h2.left { margin-bottom: 1.4rem; }
.note { text-align: center; color: var(--muted); font-size: .98rem; margin-top: 3rem; font-style: italic; }

/* reveal animation */
.js-reveal .reveal { opacity: 0; transform: translateY(30px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js-reveal .reveal.visible { opacity: 1; transform: none; }
.steps .reveal:nth-child(2), .categories .reveal:nth-child(3n+2) { transition-delay: .12s; }
.steps .reveal:nth-child(3), .categories .reveal:nth-child(3n) { transition-delay: .24s; }

/* placeholders */
.placeholder {
  display: grid; place-items: center; text-align: center; width: 100%; height: 100%;
  background: repeating-linear-gradient(135deg, #fff 0 14px, var(--blush) 14px 28px);
  border: 2px dashed var(--pink); border-radius: inherit;
  color: var(--rose-dark); font-weight: 600; font-size: .95rem; letter-spacing: .04em; line-height: 1.4;
}
.step-photo.placeholder, .cat-photo.placeholder, .cat-photo.zoom { height: auto; }
.placeholder span { background: rgba(255, 255, 255, .9); padding: .7rem 1.1rem; border-radius: 12px; }
.placeholder small { font-weight: 400; color: var(--muted); }

/* zoomable images */
.zoom { display: block; width: 100%; height: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; overflow: hidden; border-radius: inherit; }
.zoom img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.zoom:hover img { transform: scale(1.06); }

/* ---------- How it works ---------- */
.steps { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.2rem; counter-reset: step; }
.step { text-align: center; }
.step-photo {
  aspect-ratio: 1; border-radius: 999px 999px var(--radius) var(--radius); overflow: hidden;
  margin-bottom: 1.6rem; box-shadow: var(--shadow); background: var(--blush);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.step:hover .step-photo { transform: translateY(-6px); box-shadow: var(--shadow-lift); }
.step-photo img { width: 100%; height: 100%; object-fit: cover; }
.step-num { display: inline-block; font-size: .78rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); border: 1px solid var(--gold-soft); border-radius: 999px; padding: .25rem .9rem; margin-bottom: .8rem; }
.step h3 { margin-bottom: .6rem; }
.step p { color: var(--muted); max-width: 22rem; margin: 0 auto; }
.tagline { text-align: center; font-family: "Playfair Display", serif; font-size: clamp(1.5rem, 3vw, 2.1rem); margin-top: 4rem; }
.tagline::before, .tagline::after { content: "\2726"; color: var(--gold); font-size: .7em; margin: 0 .8rem; vertical-align: middle; }

/* ---------- Categories ---------- */
.categories { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-flow: dense; align-items: start; gap: 2rem; }
.category { background: #fff; border-radius: var(--radius); padding: .8rem .8rem 1.6rem; box-shadow: var(--shadow); transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.category:hover { transform: translateY(-6px); box-shadow: var(--shadow-lift); }
.cat-photo { aspect-ratio: 4 / 5; border-radius: calc(var(--radius) - 8px); overflow: hidden; margin-bottom: 1.2rem; }
.category h3 { padding: 0 .8rem; margin-bottom: .35rem; }
.category p { padding: 0 .8rem; color: var(--muted); }
.category-wide { grid-column: 1 / -1; }
.category-wide .cat-photo { aspect-ratio: auto; height: clamp(320px, 38vw, 480px); }
.cat-trio { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: .6rem; border-radius: 0; }
.cat-trio .zoom { border-radius: calc(var(--radius) - 8px); }

/* ---------- Experience ---------- */
.experience { display: grid; grid-template-columns: .9fr 1.1fr; gap: 4rem; align-items: center; }
.experience-text p:not(.script) { color: var(--muted); margin-bottom: 1.1rem; }
.experience-text .btn { margin-top: 1rem; }
.collage { display: grid; grid-template-columns: repeat(3, 1fr); grid-template-rows: 200px 200px 200px; gap: .9rem; }
.collage-item { border-radius: var(--radius-sm); overflow: hidden; box-shadow: var(--shadow); }
.collage-item:nth-child(1) { grid-column: 1 / 3; grid-row: 1 / 3; border-radius: 999px 999px var(--radius-sm) var(--radius-sm); }
.collage-item:nth-child(2) { grid-column: 3; grid-row: 1; }
.collage-item:nth-child(3) { grid-column: 3; grid-row: 2 / 4; }
.collage-item:nth-child(4) { grid-column: 1; grid-row: 3; }
.collage-item:nth-child(5) { grid-column: 2; grid-row: 3; }

/* ---------- Creations board ---------- */
.board { columns: 3 260px; column-gap: 1.8rem; }
.pin {
  break-inside: avoid; margin-bottom: 1.8rem; background: #fff; padding: .7rem .7rem 0; border-radius: 6px;
  box-shadow: 0 10px 28px rgba(58, 41, 48, .12); transform: rotate(var(--tilt)); position: relative;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.js-reveal .pin.reveal { transform: translateY(30px) rotate(var(--tilt)); }
.js-reveal .pin.reveal.visible, .pin { transform: rotate(var(--tilt)); }
.pin:hover, .js-reveal .pin.reveal.visible:hover { transform: rotate(0) scale(1.03); box-shadow: var(--shadow-lift); z-index: 2; }
.pin::before { /* washi tape */
  content: ""; position: absolute; top: -12px; left: 50%; width: 84px; height: 24px; transform: translateX(-50%) rotate(-3deg);
  background: rgba(242, 169, 189, .65); border-radius: 3px; z-index: 1;
}
.pin .zoom, .pin .placeholder { border-radius: 3px; }
.pin .placeholder { aspect-ratio: 4 / 5; }
.pin img { height: auto; }
.pin figcaption { font-family: "Great Vibes", cursive; font-size: 1.7rem; text-align: center; padding: .4rem 0 .6rem; color: var(--rose-dark); }

/* ---------- Events ---------- */
.event-list { display: grid; gap: 1.8rem; max-width: 900px; margin: 0 auto; scroll-margin-top: 110px; }
.event { display: grid; grid-template-columns: 220px 1fr; gap: 2rem; background: #fff; border-radius: var(--radius); padding: 1rem; box-shadow: var(--shadow); border: 1px solid var(--blush-deep); }
.event-flyer { aspect-ratio: 4 / 5; border-radius: var(--radius-sm); overflow: hidden; }
.event-flyer-blank { width: 100%; height: 100%; display: grid; place-items: center; background: var(--blush); }
.event-flyer-blank img { width: 60%; opacity: .85; }
.event-body { padding: 1rem 1rem 1rem 0; align-self: center; }
.event-body h3 { font-size: 1.7rem; margin-bottom: 1.1rem; }
.event-body dl { display: grid; gap: .7rem; margin-bottom: 1.3rem; }
.event-body dl div { display: grid; grid-template-columns: 80px 1fr; align-items: baseline; border-bottom: 1px dashed var(--blush-deep); padding-bottom: .6rem; }
.event-body dt { font-size: .76rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); }
.event-body dd { color: var(--ink); }
.event-empty { text-align: center; background: #fff; border: 2px dashed var(--pink); border-radius: var(--radius); padding: 3rem 1.5rem; }

/* ---------- Instagram grid ---------- */
.ig-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: .8rem; margin-bottom: 2.8rem; }
.ig-tile { position: relative; aspect-ratio: 1; border-radius: var(--radius-sm); overflow: hidden; display: block; }
.ig-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.ig-tile::after {
  content: ""; position: absolute; inset: 0; background: rgba(200, 79, 120, .45) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Crect x='3' y='3' width='18' height='18' rx='5' fill='none' stroke='white' stroke-width='2'/%3E%3Ccircle cx='12' cy='12' r='4' fill='none' stroke='white' stroke-width='2'/%3E%3Ccircle cx='17.3' cy='6.7' r='1.2' fill='white'/%3E%3C/svg%3E") center / 34px no-repeat;
  opacity: 0; transition: opacity .3s;
}
.ig-tile:hover::after, .ig-tile:focus-visible::after { opacity: 1; }
.ig-tile:hover img { transform: scale(1.08); }

/* ---------- Closing ---------- */
.closing { background: linear-gradient(180deg, var(--cream), var(--blush-deep)); text-align: center; padding: 7rem 0; }
.closing h2 { max-width: 820px; margin: 0 auto; }
.closing h2 em { display: block; }
.sparkle-row { display: block; color: var(--gold); letter-spacing: .6em; margin-bottom: 1.4rem; }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: #f6e3e9; text-align: center; padding: 3.5rem 1.5rem 2.5rem; }
.footer img { margin: 0 auto 1rem; }
.footer p { margin-bottom: .6rem; }
.footer nav { display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem 1.8rem; margin: 1.2rem 0 1.5rem; }
.footer a { color: #fff; text-decoration: none; font-size: .9rem; letter-spacing: .1em; text-transform: uppercase; }
.footer a:hover { color: var(--pink); }
.footer .small { color: #cdb5bd; }

/* ---------- Lightbox ---------- */
.lightbox { border: 0; padding: 0; background: transparent; max-width: min(92vw, 900px); max-height: 92vh; margin: auto; overflow: visible; }
.lightbox::backdrop { background: rgba(58, 41, 48, .82); backdrop-filter: blur(4px); }
.lightbox[open] { animation: rise .35s var(--ease); }
.lightbox img { max-width: 100%; max-height: 84vh; border-radius: var(--radius-sm); margin: 0 auto; box-shadow: 0 30px 70px rgba(0, 0, 0, .4); }
.lightbox-caption { text-align: center; color: #fff; font-family: "Great Vibes", cursive; font-size: 1.9rem; margin-top: .4rem; }
.lightbox-close { position: absolute; top: -18px; right: -18px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: #fff; color: var(--rose-dark); font-size: 1.8rem; line-height: 1; cursor: pointer; box-shadow: var(--shadow); }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero { grid-template-columns: 1fr; text-align: center; min-height: auto; padding-top: 2rem; gap: 3.5rem; }
  .hero::before { inset: auto 0 0 0; width: 100%; }
  .hero-logo, .lead { margin-left: auto; margin-right: auto; }
  .hero-media { width: min(80%, 380px); }
  .hero-badge { left: -1.2rem; }
  .categories { grid-template-columns: 1fr 1fr; }
  .experience { grid-template-columns: 1fr; gap: 3rem; }
  .experience-text { text-align: center; }
  .ig-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 760px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; gap: 0;
    background: var(--cream); box-shadow: 0 16px 30px rgba(166, 58, 96, .12);
    max-height: 0; overflow: hidden; transition: max-height .4s var(--ease);
  }
  .nav-links.open { max-height: 420px; }
  .nav-links li { width: 100%; text-align: center; }
  .nav-links a { display: block; padding: 1rem; }
  .nav-links a::after { display: none; }
  .nav-pill { margin: .5rem auto 1.2rem; display: inline-block !important; padding: .7rem 2rem !important; }

  .section { padding: 4.5rem 0; }
  .section-head { margin-bottom: 2.5rem; }

  /* horizontal swipe rows on mobile */
  .steps { grid-template-columns: 1fr; gap: 3rem; }
  .step-photo { max-width: 300px; margin-left: auto; margin-right: auto; }
  .categories {
    display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 1rem;
    margin: 0 -1.5rem; padding: 0 1.5rem 1.5rem; scrollbar-width: none;
  }
  .categories::-webkit-scrollbar { display: none; }
  .category { flex: 0 0 78%; scroll-snap-align: center; }
  .category-wide { flex-basis: 88%; }
  .category-wide .cat-photo { height: auto; aspect-ratio: 4 / 3.4; }
  .js-reveal .categories .reveal { opacity: 1; transform: none; }

  .collage { grid-template-rows: 150px 150px 150px; gap: .6rem; }
  .board { columns: 2; column-gap: 1rem; }
  .pin { margin-bottom: 1.4rem; }
  .pin figcaption { font-size: 1.35rem; }
  .event { grid-template-columns: 1fr; gap: 1rem; }
  .event-flyer { aspect-ratio: 16 / 10; }
  .event-body { padding: .5rem .6rem 1rem; }
  .btn { padding: .95rem 1.6rem; font-size: .82rem; }
  .tagline::before, .tagline::after { margin: 0 .4rem; }
  .closing { padding: 4rem 0; }
  .footer { padding: 2.2rem 1.5rem 1.6rem; }
  .footer img { width: 60px; height: 60px; margin-bottom: .6rem; }
  .footer nav { margin: .8rem 0 1rem; gap: .4rem 1.4rem; }
}
