/* Showpiece layer: sticky header, hero opening sequence, the scroll story, file fan, marquee, package polish.
   Everything animated is gated behind .js, and prefers-reduced-motion turns it all off (end of file). */

/* ---------- Header ---------- */
.top { position: sticky; top: 0; z-index: 60; transition: box-shadow .3s ease; }
.top.is-scrolled { box-shadow: 0 12px 30px -20px rgba(0, 0, 0, .7); }
.top__nav { display: none; }
.top__nav a { color: var(--on-green); text-decoration: none; font-size: .9375rem; letter-spacing: .02em; }
.top__nav a:hover { color: var(--champagne); }
.top__progress {
  position: absolute; left: 0; bottom: -1px; width: 100%; height: 1.5px; background: var(--champagne);
  transform-origin: 0 50%; transform: scaleX(var(--p, 0));
}
@media (min-width: 900px) {
  .top { display: grid; grid-template-columns: 1fr auto 1fr; }
  .top .btn { justify-self: end; }
  .top__nav { display: flex; gap: 32px; }
}

/* ---------- Hero opening sequence ---------- */
.hero__kicker {
  display: inline-flex; align-items: center; gap: 10px; margin: 0 0 18px;
  font: italic 300 1.15rem/1 var(--display); color: var(--champagne);
}
.kicker-mark { width: 18px; height: 18px; color: var(--champagne); }
.hero__title .ln { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
.hero__title .ln > span { display: inline-block; }

.phone-wrap { position: relative; display: grid; justify-items: center; padding-top: 44px; }
.hero__arch {
  position: absolute; left: 50%; top: 0; translate: -50% 0; z-index: 0;
  width: calc(var(--w, 270px) + 120px); height: auto; overflow: visible; pointer-events: none;
}
.phone { --w: 270px; z-index: 1; }
.hero__arch path { fill: none; stroke: var(--champagne); stroke-width: 1.2; vector-effect: non-scaling-stroke; }
.hero__arch path + path { opacity: .45; }
.spark { position: absolute; z-index: 2; fill: var(--champagne); pointer-events: none; }
.spark.s1 { width: 26px; top: 6%; left: calc(50% - var(--w, 270px) / 2 - 64px); }
.spark.s2 { width: 15px; top: 24%; right: calc(50% - var(--w, 270px) / 2 - 50px); }
.spark.s3 { width: 19px; bottom: 16%; left: calc(50% - var(--w, 270px) / 2 - 46px); }
@media (min-width: 900px) { .phone-wrap { --w: 300px; } .phone { --w: 300px; } }

/* initial state (only with JS) */
.js .hero__title .ln > span { transform: translateY(108%); }
.js .hero [data-in] { opacity: 0; transform: translateY(16px); }
.js .hero__arch path { stroke-dasharray: 1; stroke-dashoffset: 1; }
.js .phone { opacity: 0; transform: translateY(40px); }
.js .spark { opacity: 0; transform: scale(0); }

.is-loaded .hero__title .ln > span { transform: none; transition: transform 1.15s cubic-bezier(.2, .75, .1, 1); }
.is-loaded .hero__title .ln:nth-child(1) > span { transition-delay: .15s; }
.is-loaded .hero__title .ln:nth-child(2) > span { transition-delay: .27s; }
.is-loaded .hero__title .ln:nth-child(3) > span { transition-delay: .39s; }
.is-loaded .hero [data-in] { opacity: 1; transform: none; transition: opacity .9s ease, transform 1s cubic-bezier(.2, .75, .1, 1); }
.is-loaded .hero__kicker { transition-delay: 0s; }
.is-loaded .hero__lede { transition-delay: .6s !important; }
.is-loaded .hero__cta { transition-delay: .75s !important; }
.is-loaded .demo__ask, .is-loaded .demo__tabs, .is-loaded .demo__caption { animation: fadeIn 1s .9s both; }
.is-loaded .hero__arch path { stroke-dashoffset: 0; transition: stroke-dashoffset 2.4s cubic-bezier(.6, .05, .25, 1) .2s; }
.is-loaded .hero__arch path + path { transition-delay: .55s; }
.is-loaded .phone { opacity: 1; transform: none; transition: opacity 1.2s ease .55s, transform 1.4s cubic-bezier(.2, .75, .1, 1) .55s; }
.is-loaded .spark { opacity: 1; transform: none; animation: twinkle 3.6s ease-in-out infinite; }
.is-loaded .spark.s1 { animation-delay: 2s; }
.is-loaded .spark.s2 { animation-delay: 2.6s; }
.is-loaded .spark.s3 { animation-delay: 3.3s; }
@keyframes twinkle {
  0% { transform: scale(0) rotate(0); opacity: 0; }
  18% { transform: scale(1) rotate(45deg); opacity: 1; }
  45% { transform: scale(.55) rotate(90deg); opacity: .7; }
  70%, 100% { transform: scale(0) rotate(135deg); opacity: 0; }
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

/* ---------- Marquee of event types ---------- */
.marquee { overflow: hidden; border-bottom: 1px solid var(--line); padding: 30px 0 26px; margin-top: 18px; }
.marquee__track { display: flex; align-items: center; gap: 30px; width: max-content; animation: marquee 46s linear infinite; }
.marquee__track span { font: italic 300 clamp(1.7rem, 5vw, 2.6rem)/1 var(--display); color: var(--green); white-space: nowrap; }
.marquee__mark { width: 16px; height: 16px; color: var(--champagne-deep); flex: none; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Scroll story ---------- */
.story { max-width: var(--max); margin: 0 auto; padding: 72px var(--gutter) 0; }
.story__head { margin-bottom: 28px; }
.story__stage {
  position: sticky; top: 84px; z-index: 2; background: var(--pearl);
  display: grid; justify-items: center; padding: 6px 0 14px;
}
.mock {
  --h: min(540px, 50vh);
  height: var(--h); width: calc(var(--h) / 2 + 16px); padding: 8px; border-radius: calc(var(--h) * .075);
  background: #0A1E19; box-shadow: 0 34px 60px -30px rgba(15, 42, 35, .55), inset 0 0 0 1px color-mix(in srgb, var(--champagne) 50%, transparent);
  container-type: size;
}
.mock__screen {
  width: 100%; height: 100%; border-radius: calc(var(--h) * .06); overflow: hidden; position: relative;
  font-size: 2.7cqh; background: #FBF8F2; color: #1F2A44; font-family: var(--body);
}
.story__dots { display: flex; gap: 7px; margin-top: 14px; }
.story__dots span { width: 6px; height: 6px; border-radius: 3px; background: var(--line); transition: width .4s ease, background-color .4s ease; }
.story__dots span.on { width: 22px; background: var(--champagne-deep); }

.story__steps { list-style: none; margin: 0; padding: 0 0 18vh; position: relative; z-index: 1; }
.story__steps li { min-height: 56vh; padding: 22px 0; opacity: .28; transition: opacity .5s ease; }
.story__steps li.on { opacity: 1; }
.story__steps h3 { font: 300 clamp(1.8rem, 6vw, 2.5rem)/1.08 var(--display); color: var(--ink); margin-bottom: 10px; }
.story__steps p { margin: 0; color: var(--muted); max-width: 30rem; }

@media (min-width: 900px) {
  .story { padding-top: 110px; }
  .story__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
  .story__stage { order: 2; top: 13vh; align-self: start; background: none; }
  .mock { --h: min(620px, 74vh); }
  .story__steps li { min-height: 78vh; display: flex; flex-direction: column; justify-content: center; }
}

/* scenes */
.scene {
  position: absolute; inset: 0; display: flex; flex-direction: column; padding: 2.4em 1.4em 1.4em;
  opacity: 0; visibility: hidden; transition: opacity .5s ease, visibility .5s;
}
.scene.is-on { opacity: 1; visibility: visible; }
.sc-kicker { font: 500 .6em/1 var(--body); letter-spacing: .2em; text-transform: uppercase; color: #C6A66B; }
.sc-title { font: italic 300 1.7em/1.1 var(--display); margin: .4em 0 0; }
.sc-date { font: 400 .7em/1.3 var(--body); color: #C9CEDB; margin: .7em 0 1.6em; }

/* 1. envelope */
.scene--env { background: #E9E1D3; align-items: center; justify-content: center; }
.env { position: relative; font-size: 1.2em; width: 14.5em; height: 9.6em; margin-top: 3.4em; perspective: 60em; }
.env__back { position: absolute; inset: 0; background: #EFE6D6; border-radius: .25em; box-shadow: 0 1.4em 2.2em -1.2em rgba(31, 42, 68, .45); }
.env__card {
  position: absolute; left: .7em; right: .7em; top: .5em; height: 8.4em; z-index: 1;
  background: #FBF8F2; border: 1px solid #DDD3C3; text-align: center;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .45em;
}
.env__card small { font: 500 .5em/1.2 var(--body); letter-spacing: .18em; text-transform: uppercase; color: #9C7F4A; }
.env__card b { font: italic 300 1.55em/1 var(--display); color: #1F2A44; }
.env__front { position: absolute; inset: 0; z-index: 2; background: #F6F0E4; border-radius: .25em; clip-path: polygon(0 0, 50% 56%, 100% 0, 100% 100%, 0 100%); }
.env__flap { position: absolute; left: 0; right: 0; top: 0; height: 58%; z-index: 3; background: #F1E8D9; clip-path: polygon(0 0, 100% 0, 50% 100%); transform-origin: 50% 0; }
.env__seal {
  position: absolute; left: 50%; top: 58%; z-index: 4; width: 3.4em; height: 3.4em; margin: -1.7em 0 0 -1.7em;
  border-radius: 50%; display: grid; place-items: center; font: 500 .82em/1 var(--display); color: #3D2F17;
  background: radial-gradient(circle at 35% 30%, #F4E4B6, #C6A66B 55%, #8E6F3E); box-shadow: 0 .3em .6em rgba(61, 47, 23, .35), inset 0 0 0 .18em rgba(255, 255, 255, .25);
}
.env__hint { margin: 2.2em 0 0; font: 400 .62em/1 var(--body); letter-spacing: .08em; color: #6B6252; }
.scene--env.is-play .env__seal { animation: sealOut .5s .6s forwards; }
.scene--env.is-play .env__hint { animation: fadeOut .4s .5s forwards; }
.scene--env.is-play .env__flap { animation: flapOpen .9s .9s cubic-bezier(.5, 0, .3, 1) forwards; }
.scene--env.is-play .env__card { animation: cardUp 1.1s 1.6s cubic-bezier(.2, .75, .1, 1) forwards; }
@keyframes sealOut { to { transform: scale(.4); opacity: 0; } }
@keyframes fadeOut { to { opacity: 0; } }
@keyframes flapOpen { 0% { transform: rotateX(0); z-index: 3; } 49% { z-index: 3; } 50% { z-index: 0; } 100% { transform: rotateX(180deg); z-index: 0; } }
@keyframes cardUp { to { transform: translateY(-64%); } }

/* 2. countdown */
.scene--count { background: #1F2A44; color: #FBF8F2; text-align: center; justify-content: center; }
.count { display: grid; grid-template-columns: 1fr 1fr; gap: .6em; }
.count div { border: 1px solid rgba(198, 166, 107, .4); padding: .95em 0 .75em; }
.count b { display: block; font: 300 2.4em/1 var(--display); color: #E6CF9B; font-variant-numeric: tabular-nums; }
.count small { font: 500 .52em/1 var(--body); letter-spacing: .18em; text-transform: uppercase; color: #9AA3B8; }
.scene--count.is-play .count div { animation: rise .8s cubic-bezier(.2, .75, .1, 1) both; }
.scene--count.is-play .count div:nth-child(2) { animation-delay: .1s; }
.scene--count.is-play .count div:nth-child(3) { animation-delay: .2s; }
.scene--count.is-play .count div:nth-child(4) { animation-delay: .3s; }
@keyframes rise { from { opacity: 0; transform: translateY(1.2em); } }

/* 3. map */
.scene--map { padding: 0; background: #ECE7DC; }
.map {
  position: relative; flex: 1; overflow: hidden; background-color: #ECE7DC;
  background-image:
    linear-gradient(28deg, transparent 47%, #fff 47%, #fff 50.5%, transparent 50.5%),
    linear-gradient(-62deg, transparent 61%, #fff 61%, #fff 63%, transparent 63%),
    linear-gradient(90deg, transparent 28%, #F8F4EC 28%, #F8F4EC 30%, transparent 30%),
    repeating-linear-gradient(0deg, transparent 0 2.4em, rgba(255, 255, 255, .5) 2.4em 2.55em),
    radial-gradient(circle at 78% 72%, #DCE5D2 0 3.5em, transparent 3.6em);
}
.map__river { position: absolute; left: -15%; right: -15%; top: 8%; height: 5em; border-radius: 50%; border-bottom: .9em solid #C3D5D8; transform: rotate(-8deg); }
.map__pin { position: absolute; left: 50%; top: 50%; width: 2.4em; margin: -3.1em 0 0 -1.2em; fill: #1F2A44; filter: drop-shadow(0 .3em .3em rgba(31, 42, 68, .3)); }
.map__pin circle { fill: #C6A66B; }
.map__ring { position: absolute; left: 50%; top: 50%; width: 1.2em; height: .5em; margin: -.25em 0 0 -.6em; border-radius: 50%; border: 2px solid #1F2A44; opacity: 0; }
.map__card { position: relative; z-index: 1; margin: -1.2em .8em .8em; padding: 1em; background: #FBF8F2; border-radius: .5em; box-shadow: 0 .8em 1.6em -1em rgba(31, 42, 68, .4); }
.map__card b { font: 400 1.05em/1.1 var(--display); }
.map__card small { display: block; font: 400 .62em/1.3 var(--body); color: #5E6475; margin: .35em 0 .9em; }
.map__btns { display: grid; grid-template-columns: 1fr 1fr; gap: .45em; }
.map__btns span { font: 500 .56em/1 var(--body); text-align: center; padding: 1em .2em; border: 1px solid #1F2A44; border-radius: .35em; }
.map__btns span:first-child { background: #1F2A44; color: #fff; }
.scene--map.is-play .map__pin { animation: pinDrop .8s .3s cubic-bezier(.3, 1.5, .5, 1) both; }
.scene--map.is-play .map__ring { animation: ring 1.8s 1.1s ease-out infinite; }
.scene--map.is-play .map__btns span:last-child { animation: press .45s 1.4s; }
.scene--map.is-play .toast { animation: toastIn .5s 1.75s cubic-bezier(.2, .75, .1, 1) forwards; }
@keyframes pinDrop { from { transform: translateY(-7em); opacity: 0; } 60% { opacity: 1; } }
@keyframes ring { from { opacity: .7; transform: scale(1); } to { opacity: 0; transform: scale(3.4); } }
@keyframes press { 40% { transform: scale(.92); background: #C6A66B; border-color: #C6A66B; } }

/* toasts */
.toast {
  position: absolute; left: .8em; right: .8em; bottom: 1em; z-index: 5; padding: 1em 1.2em; border-radius: .6em;
  background: #1F2A44; color: #fff; font: 500 .6em/1.35 var(--body); text-align: center;
  opacity: 0; transform: translateY(1em); box-shadow: 0 1em 2em -1em rgba(0, 0, 0, .5);
}
.toast--top { top: 1.4em; bottom: auto; transform: translateY(-1em); }
@keyframes toastIn { to { opacity: 1; transform: none; } }

/* 4. RSVP */
.scene--rsvp { background: #FBF8F2; gap: 1em; padding-top: 2.8em; }
.scene--rsvp .sc-title { text-align: center; margin: 0 0 .3em; }
.f { display: grid; gap: .5em; font: 500 .56em/1 var(--body); letter-spacing: .16em; text-transform: uppercase; color: #9C7F4A; }
.f__in {
  display: flex; align-items: center; min-height: 2.3em; padding: .5em 0; border-bottom: 1px solid #CFC5B3;
  font: 400 1.75em/1 var(--body); letter-spacing: 0; text-transform: none; color: #1F2A44;
}
.caret { width: 1px; height: 1.1em; background: #1F2A44; margin-left: 2px; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.f__step { justify-content: space-between; }
.f__step em { font-style: normal; width: 1.5em; height: 1.5em; display: grid; place-items: center; border: 1px solid #CFC5B3; border-radius: 50%; }
.chips { display: flex; gap: .5em; margin-top: .2em; }
.chip { flex: 1; text-align: center; font: 500 .56em/1.2 var(--body); padding: 1em .4em; border: 1px solid #CFC5B3; border-radius: 2em; }
.send { margin-top: auto; text-align: center; background: #C6A66B; color: #1F2A44; font: 600 .64em/1 var(--body); padding: 1.3em; border-radius: .35em; }
.scene--rsvp.is-play .chip--yes { animation: chipOn .35s 2.2s forwards; }
.scene--rsvp.is-play .send { animation: press .45s 2.9s; }
.scene--rsvp.is-play .toast { animation: toastIn .5s 3.25s cubic-bezier(.2, .75, .1, 1) forwards; }
@keyframes chipOn { to { background: #1F2A44; border-color: #1F2A44; color: #fff; } }

/* 5. guest list */
.scene--sheet { background: #fff; padding: 0; color: #18241F; }
.sheet__bar { display: flex; justify-content: space-between; align-items: flex-end; padding: 2.6em 1.2em 1em; background: #173A31; color: #fff; }
.sheet__bar b { font: 400 1.15em/1 var(--display); }
.live { display: inline-flex; align-items: center; gap: .5em; font: 500 .55em/1 var(--body); letter-spacing: .16em; text-transform: uppercase; color: #CDB384; }
.live::before { content: ""; width: .7em; height: .7em; border-radius: 50%; background: #6BD49A; animation: livePulse 1.6s ease-in-out infinite; }
@keyframes livePulse { 50% { box-shadow: 0 0 0 .4em rgba(107, 212, 154, .2); } }
.sheet { padding: .3em .6em; }
.row { display: grid; grid-template-columns: 1fr 4.4em 3.6em; padding: .95em .5em; border-bottom: 1px solid #ECE8DE; font: 400 .66em/1.2 var(--body); }
.row--head { font-weight: 600; color: #5A6560; }
.row--head span { font-size: .78em; letter-spacing: .1em; text-transform: uppercase; }
.row .yes { color: #1E7A4F; font-weight: 600; }
.row .no { color: #A33A2E; font-weight: 600; }
.scene--sheet.is-play .row:not(.row--head) { animation: rowIn .55s calc(.35s + var(--i) * .42s) cubic-bezier(.2, .75, .1, 1) both; }
@keyframes rowIn { from { opacity: 0; transform: translateX(1.6em); background: #F4EEDC; } }
.sheet__total { display: flex; justify-content: space-between; align-items: baseline; margin: auto 1.2em 1.5em; padding-top: .9em; border-top: 2px solid #173A31; font: 500 .7em/1 var(--body); }
.sheet__total b { font: 300 1.9em/1 var(--display); color: #173A31; font-variant-numeric: tabular-nums; }

/* ---------- Files fan ---------- */
.fan { position: relative; height: clamp(300px, 72vw, 540px); margin-top: 36px; }
.fan__card { position: absolute; left: 50%; top: 50%; margin: 0; transition: transform 1.3s cubic-bezier(.2, .75, .1, 1); }
.fan__card img { border-radius: 3px; box-shadow: 0 0 0 1px rgba(0, 0, 0, .04), 0 26px 44px -26px rgba(15, 42, 35, .6); background: #fff; }
.fan__card--c { z-index: 3; width: clamp(150px, 30vw, 300px); transform: translate(-50%, -50%); }
.fan__card--l { z-index: 1; width: clamp(200px, 46vw, 470px); transform: translate(-50%, -50%) rotate(-2deg); }
.fan__card--r { z-index: 2; width: clamp(190px, 44vw, 440px); transform: translate(-50%, -50%) rotate(2deg); }
.fan.is-in .fan__card--l { transform: translate(-90%, -66%) rotate(-9deg); }
.fan.is-in .fan__card--r { transform: translate(-10%, -26%) rotate(8deg); transition-delay: .08s; }
.fan.is-in .fan__card--c { transform: translate(-50%, -50%) rotate(-1.5deg); }
.fan__legend { display: grid; gap: 20px; margin: 40px 0 0; }
.fan__legend dt { font: 400 1.35rem/1.2 var(--display); }
.fan__legend dd { margin: 4px 0 0; color: var(--muted); }
@media (min-width: 900px) { .fan__legend { grid-template-columns: repeat(3, 1fr); gap: 36px; } }

/* ---------- Packages ---------- */
.pkg { transition: opacity .9s ease, transform .5s cubic-bezier(.2, .75, .1, 1), box-shadow .5s ease; }
.pkg:hover { transform: translateY(-6px); box-shadow: 0 30px 50px -34px rgba(15, 42, 35, .55); }
.pkg--couture .pkg__price { background-size: 260% 100%; animation: foil 7s linear infinite; }
@keyframes foil { from { background-position: 0% 0; } to { background-position: 260% 0; } }

/* ---------- Scroll reveal (outside the hero) ---------- */
.js main [data-in] { opacity: 0; transform: translateY(24px); transition: opacity .9s ease, transform 1s cubic-bezier(.2, .75, .1, 1); }
.js main [data-in].is-in { opacity: 1; transform: none; }
.js .pkgs .pkg:nth-child(2) { transition-delay: .1s; }
.js .pkgs .pkg:nth-child(3) { transition-delay: .2s; }
.js .pkg.is-in:hover { transform: translateY(-6px); transition-delay: 0s; }

/* ---------- Reduced motion: everything in its final state, nothing moving ---------- */
@media (prefers-reduced-motion: reduce) {
  .js .hero__title .ln > span, .js .hero [data-in], .js .phone, .js main [data-in] { transform: none !important; opacity: 1 !important; transition: none !important; }
  .js .hero__arch path { stroke-dashoffset: 0; transition: none !important; }
  .spark, .marquee__track, .pkg--couture .pkg__price, .caret, .live::before, .map__ring { animation: none !important; }
  .js .spark { opacity: .8; transform: none; }
  .scene, .fan__card, .story__steps li, .story__dots span { transition: none !important; }
  .scene.is-play *, .scene.is-play { animation-duration: 1ms !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; }
  .scene--sheet .row { animation: none !important; opacity: 1 !important; transform: none !important; }
  .scene--map .toast, .scene--rsvp .toast { animation: none !important; opacity: 1; transform: none; }
}

/* the fan spreads past the edges on phones: clip sideways overflow without breaking the sticky story */
main, .masthead { overflow-x: clip; }

/* ---------- Form details ---------- */
.form select {
  appearance: none; -webkit-appearance: none; cursor: pointer;
  padding-right: 44px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23173A31' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center; background-size: 12px 8px;
}
.form select:invalid, .form select option[value=""] { color: var(--muted); }
.form input[type="date"] { -webkit-appearance: none; appearance: none; display: flex; align-items: center; }
.form input[type="date"]::-webkit-calendar-picker-indicator { opacity: .55; cursor: pointer; margin-left: auto; }
.form input[type="date"]::-webkit-date-and-time-value { text-align: left; }
.btn--line-dark { border-color: color-mix(in srgb, var(--ink) 30%, transparent); color: var(--ink); }
.btn--line-dark:hover { border-color: var(--ink); }

/* ---------- Order: steps beside the form ---------- */
.order__how { font: italic 400 1.6rem/1.1 var(--display); color: var(--green); margin: 40px 0 0; }
.order__intro .steps__list { margin-top: 22px; }
.order__main .form { margin-top: 30px; }

/* ---------- FAQ ---------- */
.faq__intro .btn { margin-top: 22px; }
.faq__list { margin-top: 18px; }
.faq__list details:first-of-type { margin-top: 0; border-top: 1px solid var(--line); }

@media (min-width: 900px) {
  .order, .faq { display: grid; grid-template-columns: 5fr 6fr; gap: 80px; align-items: start; }
  .order__main .form, .order__main .sent { margin-top: 6px; max-width: none; }
  .faq__list { margin-top: 0; }
  .faq__list details { max-width: none; }
  .faq__intro { position: sticky; top: 120px; }

  /* section heads: title left, lede right */
  .sec__head { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: end; }
  .sec__head .sec__lede { margin: 0 0 6px; }

  /* add-ons span the width under the cards */
  .addons { max-width: none; margin-top: 44px; }
  .addons dl { display: grid; grid-template-columns: 1fr 1fr; column-gap: 80px; }
}

/* ---------- Fan: balanced spread ---------- */
.fan.is-in .fan__card--l { transform: translate(-96%, -60%) rotate(-8deg); }
.fan.is-in .fan__card--r { transform: translate(-2%, -38%) rotate(7deg); }
.form input[type="date"] { position: relative; }
.form input[type="date"]::-webkit-calendar-picker-indicator { position: absolute; right: 16px; top: 50%; transform: translateY(-50%); margin: 0; }

/* ---------- Any style: three ways to start ---------- */
.ways { display: grid; gap: 22px; margin-top: 34px; }
.way { background: var(--card); border: 1px solid var(--line); border-radius: 2px; padding: 22px 22px 26px; }
.way h3 { font: 400 1.5rem/1.15 var(--display); margin: 20px 0 8px; }
.way p { margin: 0; color: var(--muted); }
.way__art { height: 170px; border-radius: 2px; background: var(--stock); position: relative; overflow: hidden; }
/* three mini invitations fanned */
.way__art--designs span { position: absolute; top: 26px; width: 74px; height: 118px; left: 50%; border-radius: 37px 37px 3px 3px; box-shadow: 0 10px 20px -12px rgba(15, 42, 35, .5); }
.way__art--designs span:nth-child(1) { background: #1F2A44; transform: translateX(-120%) rotate(-8deg); }
.way__art--designs span:nth-child(2) { background: #4E6B52; transform: translateX(-50%); z-index: 1; }
.way__art--designs span:nth-child(3) { background: #4A0E16; transform: translateX(20%) rotate(8deg); }
.way__art--designs span::after { content: ""; position: absolute; inset: 10px 10px 40px; border-radius: 28px 28px 2px 2px; border: 1px solid rgba(255, 255, 255, .45); }
/* a moodboard of pinned swatches */
.way__art--inspo { display: grid; grid-template-columns: 1.2fr 1fr; grid-template-rows: 1fr 1fr; gap: 8px; padding: 14px; }
.way__art--inspo i { border-radius: 2px; }
.way__art--inspo i:nth-child(1) { grid-row: span 2; background: linear-gradient(160deg, #F3D6CB, #D9B3A5); }
.way__art--inspo i:nth-child(2) { background: radial-gradient(circle at 30% 35%, #FBF8F2 0 18%, transparent 19%), #9DB49C; }
.way__art--inspo i:nth-child(3) { background: repeating-linear-gradient(45deg, #E9DCC9 0 6px, #F7F1E6 6px 12px); }
/* match: photo with its palette */
.way__art--match img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; display: block; }
.swatches { position: absolute; left: 12px; bottom: 12px; display: flex; gap: 6px; padding: 6px; background: rgba(255, 255, 255, .9); border-radius: 20px; }
.swatches b { width: 22px; height: 22px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .08); }
@media (min-width: 900px) { .ways { grid-template-columns: repeat(3, 1fr); } }
.js .ways .way:nth-child(2) { transition-delay: .1s; }
.js .ways .way:nth-child(3) { transition-delay: .2s; }
