/* Mitch & Alexa — guest site */
:root {
  --ivory: #f8f4ed;
  --paper: #fbf9f4;
  --sand: #efe6d8;
  --stone: #d8c9b1;
  --ink: #1f1d1a;
  --muted: #6b6358;
  --gold: #a8864f;
  --gold-soft: #c9ae7c;
  --jade: #1f2b27;
  --jade-2: #2c3d37;
  --line: rgba(31, 29, 26, .12);
  --shadow: 0 1px 2px rgba(31, 29, 26, .05), 0 12px 32px -12px rgba(31, 29, 26, .18);
  --serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --sans: 'Jost', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --nav-h: 64px;
  --wrap: 1120px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 8px); -webkit-text-size-adjust: 100%; }
/* Role (flower girl / bridesmaid / best man) */
section.role-block { background: linear-gradient(180deg, var(--paper), #eef3ec); }
.role { display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: clamp(20px, 5vw, 56px); align-items: center; max-width: 820px; margin: 0 auto 56px; }
.role:last-child { margin-bottom: 0; }
.role-stage { position: relative; aspect-ratio: 220 / 300; }
.role-art { position: relative; z-index: 1; height: 100%; }
.role-art svg { display: block; width: 100%; height: 100%; transform-origin: 50% 96%; animation: role-sway 4.5s ease-in-out infinite; }
.role-skirt { transform-origin: 110px 126px; animation: role-twirl 3s ease-in-out infinite; }
.role-bow { transform-origin: 110px 124px; animation: role-bow 2.2s ease-in-out infinite; }
.role-wave { transform-origin: 136px 98px; animation: role-wave 2.6s ease-in-out infinite; }
.role-tie { transform-origin: 110px 99px; animation: role-bow 2.2s ease-in-out infinite; }
.role-sprigs circle { animation: role-twinkle 2.4s ease-in-out infinite; }
.role-sprigs circle:nth-child(2n) { animation-delay: 1.2s; }
.role-petals { position: absolute; inset: -6% -10% 0; overflow: hidden; pointer-events: none; }
.role-petals i { position: absolute; top: -12px; left: var(--x); width: 9px; height: 12px; border-radius: 60% 0 60% 0; background: var(--c); box-shadow: 0 0 0 1px rgba(168, 134, 79, .15); opacity: 0; animation: role-fall var(--t) linear var(--d) infinite; }
.role.yay .role-art svg { animation: role-jump .7s ease 2, role-sway 4.5s ease-in-out 1.4s infinite; }
.role.yay .role-petals i { animation-duration: 3s; }
.role-talk { text-align: left; }
.role-title { margin: 0 0 12px; }
.role-speech { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 22px 26px; box-shadow: var(--shadow); animation: role-pop .7s cubic-bezier(.2, 1.4, .4, 1) both; animation-play-state: paused; }
.role.in .role-speech { animation-play-state: running; animation-delay: .4s; }
.role-speech::before { content: ''; position: absolute; left: -11px; top: 38px; width: 20px; height: 20px; background: #fff; border-left: 1px solid var(--line); border-bottom: 1px solid var(--line); transform: rotate(45deg); }
.role-speech p { margin: 0; font: italic 400 clamp(24px, 3.4vw, 32px)/1.25 var(--serif); color: var(--ink); }
.role-buttons { display: flex; gap: 12px; margin-top: 22px; }
.role-buttons .btn { min-width: 110px; }
.role-buttons .btn[aria-pressed="true"] { box-shadow: 0 0 0 3px rgba(168, 134, 79, .35); }
.role-sizes { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 20px; padding: 20px 22px; background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); transform-origin: 30px 0; animation: role-pop .55s cubic-bezier(.2, 1.4, .4, 1) both; }
.role-sizes[hidden] { display: none; }
.role-sizes .role-yay { grid-column: 1 / -1; margin: 0; font: 400 20px/1.3 var(--serif); }
.role-sizes .btn { grid-column: 1 / -1; justify-self: start; }
.role-msg { min-height: 1.4em; margin: 14px 0 0; color: var(--muted); }
@keyframes role-sway { 0%, 100% { transform: rotate(-2deg); } 50% { transform: rotate(2deg); } }
@keyframes role-twirl { 0%, 100% { transform: scaleX(1); } 50% { transform: scaleX(1.05); } }
@keyframes role-bow { 0%, 100% { transform: rotate(0); } 50% { transform: rotate(5deg) scale(1.04); } }
@keyframes role-wave { 0%, 100% { transform: rotate(0); } 50% { transform: rotate(-8deg); } }
@keyframes role-twinkle { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }
@keyframes role-fall { 0% { transform: translate(0, 0) rotate(0); opacity: 0; } 10% { opacity: 1; } 100% { transform: translate(30px, 360px) rotate(320deg); opacity: 0; } }
@keyframes role-jump { 0%, 100% { transform: translateY(0); } 40% { transform: translateY(-18px) rotate(-3deg); } }
@keyframes role-pop { 0% { opacity: 0; transform: scale(.6); } 100% { opacity: 1; transform: none; } }
@media (max-width: 640px) {
  .role { grid-template-columns: 1fr; justify-items: center; }
  .role-stage { width: min(220px, 70vw); }
  .role-talk { width: 100%; }
  .role-speech::before { left: 50%; top: -11px; margin-left: -10px; border: 0; border-left: 1px solid var(--line); border-top: 1px solid var(--line); }
  .role-buttons .btn { flex: 1; }
  .role-sizes { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body { margin: 0; background: var(--ivory); color: var(--ink); font: 300 17px/1.65 var(--sans); }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration-color: var(--gold-soft); text-underline-offset: 3px; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 500; line-height: 1.15; margin: 0 0 .5em; letter-spacing: .005em; }
p { margin: 0 0 1em; }
[hidden] { display: none !important; }
.wrap { width: min(var(--wrap), 100% - 32px); margin-inline: auto; }
.eyebrow { font: 400 12px/1.4 var(--sans); letter-spacing: .28em; text-transform: uppercase; color: var(--gold); margin: 0 0 14px; }
.amp { font-style: italic; color: var(--gold-soft); font-weight: 400; }
.muted { color: var(--muted); }
.linkish { background: none; border: 0; padding: 0; font: inherit; color: var(--gold); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }

/* buttons & fields */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 26px; border-radius: 999px; border: 1px solid var(--ink); background: transparent; color: var(--ink); font: 400 13px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; text-decoration: none; cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.btn:hover { background: var(--ink); color: var(--ivory); }
.btn-solid { background: var(--jade); border-color: var(--jade); color: var(--ivory); }
.btn-solid:hover { background: var(--ink); border-color: var(--ink); }
.btn-light { border-color: rgba(255,255,255,.7); color: #fff; }
.btn-light:hover { background: #fff; color: var(--ink); }
.btn[disabled] { opacity: .5; cursor: default; }
.field { display: grid; gap: 6px; text-align: left; font: 400 12px/1.3 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.field input, .field textarea, .field select { width: 100%; font: 300 16px/1.4 var(--sans); letter-spacing: 0; text-transform: none; color: var(--ink); padding: 12px 14px; border: 1px solid var(--stone); border-radius: 10px; background: var(--paper); transition: border-color .2s, box-shadow .2s; }
.field textarea { min-height: 96px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(168, 134, 79, .18); }
.form-error { color: #9b3b2e; font-size: 14px; min-height: 1.3em; margin: 0; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

/* loading */
.loading { position: fixed; inset: 0; display: grid; place-items: center; background: var(--jade); z-index: 50; transition: opacity .4s; }
.loading.done { opacity: 0; pointer-events: none; }
.loading-mark { width: 64px; height: 48px; background: url(/img/lotus.svg) center/contain no-repeat; filter: brightness(1.6); animation: breathe 1.8s ease-in-out infinite; }
@keyframes breathe { 50% { opacity: .35; transform: scale(.94); } }

/* gate */
.gate { min-height: 100vh; min-height: 100svh; display: grid; place-items: center; padding: 32px 16px; position: relative; isolation: isolate; background: var(--jade); }
.gate-photo { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(20,26,24,.55), rgba(20,26,24,.75)), url(/img/hero-tree2.jpg) center 75%/cover; }
.gate-card { width: min(420px, 100%); background: rgba(251, 249, 244, .96); border-radius: 18px; padding: 40px 32px 28px; text-align: center; display: grid; gap: 16px; box-shadow: 0 30px 80px -30px rgba(0,0,0,.6); }
.gate-card .eyebrow { margin: 0; }
.lotus-mark { width: 56px; height: 42px; margin: 0 auto; background: url(/img/lotus.svg) center/contain no-repeat; }
.gate-title { font-size: clamp(40px, 9vw, 52px); margin: 0; font-weight: 400; }
.gate-lede { color: var(--muted); font-size: 15px; margin: 0 0 4px; }
.code-known { font-size: 14px; color: var(--muted); margin: 0; }

/* nav */
.nav { position: fixed; inset: 0 0 auto; height: var(--nav-h); z-index: 20; display: flex; align-items: center; transition: background .3s, box-shadow .3s, color .3s; color: #fff; }
.nav.solid { background: rgba(248, 244, 237, .94); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); color: var(--ink); box-shadow: 0 1px 0 var(--line); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { font: 500 22px/1 var(--serif); letter-spacing: .04em; text-decoration: none; white-space: nowrap; }
.brand .amp { color: inherit; opacity: .7; }
.nav-links { display: flex; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav-links a { display: block; padding: 8px 10px; font: 400 12px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; text-decoration: none; border-radius: 6px; opacity: .85; }
.nav-links a:hover, .nav-links a.active { opacity: 1; color: var(--gold); }
.nav:not(.solid) .nav-links a:hover, .nav:not(.solid) .nav-links a.active { color: var(--gold-soft); }
.nav-toggle { display: none; background: none; border: 0; color: inherit; width: 44px; height: 44px; margin-right: -10px; cursor: pointer; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after { display: block; width: 22px; height: 1.5px; background: currentColor; margin: auto; position: relative; transition: transform .25s, background .25s; }
.nav-toggle span::before, .nav-toggle span::after { content: ''; position: absolute; left: 0; }
.nav-toggle span::before { top: -7px; } .nav-toggle span::after { top: 7px; }
.nav.open .nav-toggle span { background: transparent; }
.nav.open .nav-toggle span::before { transform: translateY(7px) rotate(45deg); }
.nav.open .nav-toggle span::after { transform: translateY(-7px) rotate(-45deg); }
@media (max-width: 1020px) {
  .nav-toggle { display: block; }
  .nav-links { position: absolute; top: var(--nav-h); left: 0; right: 0; flex-direction: column; padding: 8px 16px 20px; background: var(--ivory); color: var(--ink); box-shadow: 0 12px 24px -12px rgba(0,0,0,.2); display: none; }
  .nav.open { background: var(--ivory); color: var(--ink); }
  .nav.open .nav-links { display: flex; }
  .nav-links a { padding: 14px 4px; font-size: 13px; border-bottom: 1px solid var(--line); border-radius: 0; }
}

/* hero */
.hero { min-height: 100vh; min-height: 100svh; position: relative; display: grid; align-items: start; color: #fff; isolation: isolate; }
/* Names sit over the dark trees at the top; the couple stays clear at the bottom of the photo. */
.hero-photo { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(10,14,12,.72) 0%, rgba(10,14,12,.45) 38%, rgba(10,14,12,.05) 62%, rgba(10,14,12,.25) 100%), url(/img/hero-tree2.jpg) center 75%/cover; }
.hero-inner { padding: calc(var(--nav-h) + clamp(40px, 10vh, 110px)) 0 0; text-align: center; text-shadow: 0 2px 18px rgba(0,0,0,.55), 0 1px 3px rgba(0,0,0,.6); }
.hero .eyebrow { color: #fff; font-size: clamp(14px, 1.6vw, 17px); font-weight: 500; letter-spacing: .22em; margin-bottom: 18px; }
.hero .hero-meta { justify-content: center; align-items: center; font-weight: 500; }
.hero h1 { font-size: clamp(56px, 12vw, 128px); font-weight: 400; margin: 0 0 8px; line-height: .95; }
.hero-tag { font: italic 400 clamp(20px, 3vw, 28px)/1.3 var(--serif); margin: 0 0 28px; opacity: .92; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 10px 28px; font-size: 13px; letter-spacing: .2em; text-transform: uppercase; }
.hero-meta span + span::before { content: '·'; margin-right: 28px; opacity: .6; }
@media (max-width: 560px) { .hero-meta { flex-direction: column; } .hero-meta span + span::before { display: none; } }

/* sections */
section.block { padding: clamp(72px, 11vw, 128px) 0; }
section.alt { background: var(--sand); }
section.dark { background: var(--jade); color: #ece6db; }
section.dark .eyebrow { color: var(--gold-soft); }
.section-head { text-align: center; max-width: 640px; margin: 0 auto clamp(40px, 6vw, 64px); }
.section-head h2 { font-size: clamp(36px, 6vw, 56px); font-weight: 400; }
.section-head p { color: var(--muted); }
section.dark .section-head p { color: #b9b2a5; }
.divider { width: 120px; height: 36px; margin: 0 auto 18px; background: url(/img/lotus.svg) center/contain no-repeat; position: relative; }
.divider::before, .divider::after { content: ''; position: absolute; top: 50%; width: 80px; height: 1px; background: linear-gradient(90deg, transparent, var(--gold-soft)); }
.divider::before { right: 100%; } .divider::after { left: 100%; transform: scaleX(-1); }
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .9s ease, transform .9s ease; }
.reveal.in { opacity: 1; transform: none; }

/* invitation */
/* Invitation: a printed card on a dark, candle-lit backdrop of the venue. */
#invitation { position: relative; isolation: isolate; background: var(--jade); padding-top: clamp(64px, 10vw, 120px); padding-bottom: clamp(64px, 10vw, 120px); }
#invitation::before { content: ''; position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse at 50% 35%, rgba(201,174,124,.22), transparent 60%), linear-gradient(180deg, rgba(14,20,18,.82), rgba(14,20,18,.9)), url(/img/hero.jpg) center/cover; }
.invite { position: relative; max-width: 760px; margin: 0 auto; padding: clamp(36px, 7vw, 72px) clamp(26px, 8vw, 84px) clamp(44px, 8vw, 80px); text-align: center;
  background: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' fill='none' stroke='%23a8864f' stroke-width='1.3' stroke-linecap='round'%3E%3Cg %3E%3Cpath d='M6 94V30Q6 6 30 6h64'/%3E%3Cpath d='M14 94V36q0-22 22-22h58' opacity='.45'/%3E%3Cpath d='M6 52c18 0 30-10 33-28M52 6c0 18-10 30-28 33'/%3E%3Cpath d='M26 26c6-9 16-12 26-9M26 26c-9 6-12 16-9 26' opacity='.7'/%3E%3Ccircle cx='26' cy='26' r='3.2' fill='%23a8864f' stroke='none'/%3E%3Ccircle cx='60' cy='10' r='1.6' fill='%23a8864f' stroke='none'/%3E%3Ccircle cx='10' cy='60' r='1.6' fill='%23a8864f' stroke='none'/%3E%3C/g%3E%3C/svg%3E") 22px 22px / clamp(64px, 11vw, 96px) no-repeat, url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' fill='none' stroke='%23a8864f' stroke-width='1.3' stroke-linecap='round'%3E%3Cg transform='translate(100 0) scale(-1 1)'%3E%3Cpath d='M6 94V30Q6 6 30 6h64'/%3E%3Cpath d='M14 94V36q0-22 22-22h58' opacity='.45'/%3E%3Cpath d='M6 52c18 0 30-10 33-28M52 6c0 18-10 30-28 33'/%3E%3Cpath d='M26 26c6-9 16-12 26-9M26 26c-9 6-12 16-9 26' opacity='.7'/%3E%3Ccircle cx='26' cy='26' r='3.2' fill='%23a8864f' stroke='none'/%3E%3Ccircle cx='60' cy='10' r='1.6' fill='%23a8864f' stroke='none'/%3E%3Ccircle cx='10' cy='60' r='1.6' fill='%23a8864f' stroke='none'/%3E%3C/g%3E%3C/svg%3E") calc(100% - 22px) 22px / clamp(64px, 11vw, 96px) no-repeat,
    url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' fill='none' stroke='%23a8864f' stroke-width='1.3' stroke-linecap='round'%3E%3Cg transform='translate(0 100) scale(1 -1)'%3E%3Cpath d='M6 94V30Q6 6 30 6h64'/%3E%3Cpath d='M14 94V36q0-22 22-22h58' opacity='.45'/%3E%3Cpath d='M6 52c18 0 30-10 33-28M52 6c0 18-10 30-28 33'/%3E%3Cpath d='M26 26c6-9 16-12 26-9M26 26c-9 6-12 16-9 26' opacity='.7'/%3E%3Ccircle cx='26' cy='26' r='3.2' fill='%23a8864f' stroke='none'/%3E%3Ccircle cx='60' cy='10' r='1.6' fill='%23a8864f' stroke='none'/%3E%3Ccircle cx='10' cy='60' r='1.6' fill='%23a8864f' stroke='none'/%3E%3C/g%3E%3C/svg%3E") 22px calc(100% - 22px) / clamp(64px, 11vw, 96px) no-repeat, url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' fill='none' stroke='%23a8864f' stroke-width='1.3' stroke-linecap='round'%3E%3Cg transform='translate(100 100) scale(-1 -1)'%3E%3Cpath d='M6 94V30Q6 6 30 6h64'/%3E%3Cpath d='M14 94V36q0-22 22-22h58' opacity='.45'/%3E%3Cpath d='M6 52c18 0 30-10 33-28M52 6c0 18-10 30-28 33'/%3E%3Cpath d='M26 26c6-9 16-12 26-9M26 26c-9 6-12 16-9 26' opacity='.7'/%3E%3Ccircle cx='26' cy='26' r='3.2' fill='%23a8864f' stroke='none'/%3E%3Ccircle cx='60' cy='10' r='1.6' fill='%23a8864f' stroke='none'/%3E%3Ccircle cx='10' cy='60' r='1.6' fill='%23a8864f' stroke='none'/%3E%3C/g%3E%3C/svg%3E") calc(100% - 22px) calc(100% - 22px) / clamp(64px, 11vw, 96px) no-repeat,
    radial-gradient(ellipse at 50% 0%, #fffdf8 0%, #f7f0e3 70%, #f1e7d4 100%);
  box-shadow: 0 30px 80px -20px rgba(0,0,0,.6), 0 0 0 1px rgba(201,174,124,.35); border-radius: 4px; }
.invite::before { content: ''; position: absolute; inset: 14px; border: 1px solid var(--gold-soft); pointer-events: none; }
.invite::after { content: ''; position: absolute; inset: 19px; border: 1px solid rgba(168, 134, 79, .35); pointer-events: none; }
.invite-arch { width: min(260px, 62%); aspect-ratio: 4 / 5; margin: 0 auto 26px; border-radius: 999px 999px 6px 6px; background: var(--sand) 49% 78% / cover no-repeat; box-shadow: 0 0 0 6px #fbf6ec, 0 0 0 7px var(--gold-soft), 0 18px 40px -18px rgba(31,29,26,.55); }
.khmer { font: 400 clamp(17px, 2.4vw, 22px)/1.9 'Moul', var(--serif); color: var(--gold); margin: 0 0 18px; letter-spacing: .02em; }
.see-you { display: flex; justify-content: center; }
.see-you img { display: block; width: min(420px, 100%); height: auto; border-radius: 8px; box-shadow: var(--shadow); }
.venue-gift { font: italic 400 clamp(21px, 2.4vw, 25px)/1.45 var(--serif); color: var(--jade); padding: 4px 0 4px 20px; border-left: 2px solid var(--gold); margin-bottom: 22px; }
.invite .lotus-mark { margin-bottom: 14px; }
.invite .eyebrow { color: var(--gold); }
.invite-dear { font: italic 400 clamp(28px, 4.4vw, 38px)/1.3 var(--serif); margin-bottom: 26px; color: var(--jade); }
.invite-body { font: 400 clamp(19px, 2.6vw, 23px)/1.6 var(--serif); white-space: pre-line; margin-bottom: 26px; color: #3a352e; }
.invite-names { display: block; font-size: clamp(40px, 7vw, 64px); line-height: 1.08; margin: 10px 0 -6px; font-weight: 500;
  background: linear-gradient(180deg, #c9a45e 0%, #a8864f 55%, #8a6a37 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.invite-amp { display: block; font-size: .62em; line-height: 1.25; font-style: italic; }
.invite-when { font: 400 13px/1.9 var(--sans); letter-spacing: .22em; text-transform: uppercase; margin: 6px auto 24px; padding: 18px 0; max-width: 460px; color: var(--jade);
  border-top: 1px solid var(--gold-soft); border-bottom: 1px solid var(--gold-soft); position: relative; }
.invite-when::before, .invite-when::after { content: ''; position: absolute; left: 50%; width: 8px; height: 8px; background: var(--gold); transform: translate(-50%, -50%) rotate(45deg); }
.invite-when::before { top: 0; } .invite-when::after { top: 100%; }
.invite-when strong { font-weight: 500; display: block; font-size: clamp(16px, 2vw, 19px); letter-spacing: .2em; margin-bottom: 4px; }
.invite-close { font: italic 400 clamp(20px, 2.4vw, 23px)/1.5 var(--serif); color: #5c5246; }
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 12px 0 0; padding: 0; list-style: none; }
.chips li { font-size: 13px; letter-spacing: .04em; padding: 8px 16px 8px 30px; border: 1px solid var(--gold-soft); border-radius: 999px; color: var(--jade);
  background: #fffaf0 url(/img/lotus.svg) 10px 50% / 14px no-repeat; }
.includes { margin-top: 30px; padding: 24px 18px 26px; background: rgba(201,174,124,.12); border-radius: 6px; }
.includes .eyebrow { margin-bottom: 8px; }
.invite .btn-solid { background: linear-gradient(180deg, #b8955a, #94743f); border-color: #94743f; color: #fff; min-width: 180px; box-shadow: 0 10px 24px -12px rgba(148,116,63,.9); }
.invite .btn-solid:hover { background: var(--jade); border-color: var(--jade); }
.invite .countdown b { color: var(--gold); }
.invite-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 34px; }
.countdown { display: flex; justify-content: center; gap: clamp(18px, 5vw, 48px); margin-top: 40px; }
.countdown div { text-align: center; }
.countdown b { display: block; font: 400 clamp(36px, 6vw, 52px)/1 var(--serif); }
.countdown span { font-size: 11px; letter-spacing: .24em; text-transform: uppercase; color: var(--muted); }

/* itinerary */
.days { display: grid; gap: clamp(36px, 5vw, 56px); max-width: 860px; margin: 0 auto; }
.day-head { display: flex; align-items: baseline; gap: 16px; flex-wrap: wrap; border-bottom: 1px solid var(--line); padding-bottom: 12px; margin-bottom: 8px; }
.day-head h3 { font-size: clamp(28px, 4vw, 36px); margin: 0; }
.day-head .eyebrow { margin: 0; }
.event { display: grid; grid-template-columns: 120px 1fr; gap: 20px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.event:last-child { border-bottom: 0; }
.event-time { font: 500 15px/1.4 var(--sans); letter-spacing: .06em; color: var(--gold); padding-top: 4px; }
.event h4 { font-size: 26px; margin: 0 0 2px; }
.event-loc { font-size: 14px; color: var(--muted); margin: 0 0 8px; }
.event p:last-child { margin-bottom: 0; }
.event-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.tag { font-size: 12px; letter-spacing: .08em; padding: 3px 10px; border-radius: 999px; background: var(--sand); color: var(--muted); }
.tag.gold { background: rgba(168, 134, 79, .14); color: #7c6136; }
@media (max-width: 600px) { .event { grid-template-columns: 1fr; gap: 6px; } }

/* venue */
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }
.split-photo { aspect-ratio: 4/5; background: center/cover; border-radius: 4px; box-shadow: var(--shadow); }
.facts { list-style: none; padding: 0; margin: 24px 0; display: grid; gap: 14px; }
.facts li { display: grid; grid-template-columns: 110px 1fr; gap: 12px; font-size: 15px; border-top: 1px solid var(--line); padding-top: 14px; }
.facts b { font-weight: 400; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); padding-top: 3px; }
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 200px; gap: 10px; margin-top: clamp(48px, 7vw, 80px); }
.gallery button { border: 0; padding: 0; background: var(--stone) center/cover; cursor: zoom-in; border-radius: 3px; transition: filter .3s; }
.gallery button:hover { filter: brightness(1.06); }
.gallery .tall { grid-row: span 2; } .gallery .wide { grid-column: span 2; }
@media (max-width: 720px) { .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 150px; } }
.lightbox { padding: 0; border: 0; background: transparent; max-width: 94vw; max-height: 92vh; }
.lightbox::backdrop { background: rgba(10, 12, 11, .88); }
.lightbox img { max-width: 94vw; max-height: 88vh; object-fit: contain; }
.lightbox-close { position: fixed; top: 14px; right: 18px; font-size: 36px; background: none; border: 0; color: #fff; cursor: pointer; }

/* cards */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: 6px; overflow: hidden; display: flex; flex-direction: column; }
section.alt .card { background: var(--ivory); }
section.dark .card { background: var(--jade-2); border-color: rgba(255,255,255,.08); }
.card-img { aspect-ratio: 3/2; background: var(--stone) center/cover; }
.card-body { padding: 22px 22px 24px; flex: 1; }
.card h3 { font-size: 26px; margin-bottom: 6px; }
.card .meta { font-size: 13px; letter-spacing: .06em; color: var(--gold); margin-bottom: 10px; }
section.dark .card .meta { color: var(--gold-soft); }
.card p { font-size: 15px; margin-bottom: 0; }
section.dark .card p { color: #c9c2b6; }
.note { max-width: 760px; margin: 40px auto 0; padding: 22px 26px; border-left: 2px solid var(--gold); background: rgba(255,255,255,.04); }
section:not(.dark) .note { background: var(--paper); }
.note h4 { font-size: 22px; margin-bottom: 6px; }
.note p:last-child { margin: 0; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; max-width: 980px; margin: 40px auto 0; }
.two-col .note { margin: 0; max-width: none; }
@media (max-width: 760px) { .two-col { grid-template-columns: 1fr; } }

/* stay */
.your-stay { display: grid; grid-template-columns: 1.2fr 1fr; background: var(--paper); box-shadow: var(--shadow); border-radius: 6px; overflow: hidden; margin-bottom: 56px; }
.your-stay .card-img { aspect-ratio: auto; min-height: 320px; }
.your-stay .card-body { padding: clamp(28px, 4vw, 48px); align-self: center; }
.your-stay h3 { font-size: clamp(30px, 4vw, 40px); }
.upgrade { background: var(--paper); box-shadow: var(--shadow); border-radius: 6px; border-top: 2px solid var(--gold); padding: clamp(28px, 4vw, 48px); margin-bottom: 56px; }
.upgrade h3 { font-size: clamp(30px, 4vw, 40px); }
.upgrade-note { font-family: var(--serif); font-style: italic; font-size: clamp(20px, 2.4vw, 24px); line-height: 1.4; color: var(--ink); max-width: 46em; }
.upgrade-pics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 24px 0; }
.upgrade-pics button { aspect-ratio: 4 / 3; border: 0; padding: 0; border-radius: 4px; background: var(--sand) center / cover no-repeat; cursor: zoom-in; }
.upgrade-price { font-weight: 400; color: var(--jade); }
.upgrade-incl { margin: 0 0 24px; padding-left: 1.1em; columns: 2; column-gap: 32px; }
.upgrade-incl li { margin-bottom: 4px; break-inside: avoid; }
@media (max-width: 760px) { .upgrade-pics { grid-template-columns: repeat(2, 1fr); } .upgrade-incl { columns: 1; } }
@media (max-width: 760px) { .your-stay { grid-template-columns: 1fr; } .your-stay .card-img { min-height: 220px; } }
.subhead { font: 400 12px/1.4 var(--sans); letter-spacing: .24em; text-transform: uppercase; color: var(--muted); text-align: center; margin: 0 0 24px; }

/* seating */
.plan { position: relative; aspect-ratio: 16/10; max-width: 900px; margin: 0 auto; background: var(--paper); border: 1px solid var(--line); border-radius: 8px; box-shadow: var(--shadow); }
.plan-table { position: absolute; transform: translate(-50%, -50%); display: grid; place-items: center; text-align: center; font: 400 12px/1.2 var(--sans); letter-spacing: .06em; color: var(--muted); background: var(--ivory); border: 1px solid var(--stone); }
.plan-table.round { width: 13%; aspect-ratio: 1; border-radius: 50%; }
.plan-table.rect { width: 30%; height: 11%; border-radius: 6px; }
.plan-table.mine { background: var(--jade); color: #fff; border-color: var(--jade); box-shadow: 0 0 0 6px rgba(168, 134, 79, .35); }
.plan-table span { padding: 4px; }
.plan-label { position: absolute; left: 50%; bottom: 10px; transform: translateX(-50%); font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--stone); }
.seat-info { text-align: center; max-width: 640px; margin: 32px auto 0; }
.seat-info h3 { font-size: 30px; }
@media (max-width: 560px) { .plan-table { font-size: 9px; } }

/* rsvp */
.rsvp { max-width: 760px; margin: 0 auto; background: var(--paper); padding: clamp(28px, 5vw, 52px); box-shadow: var(--shadow); border-radius: 6px; }
.rsvp fieldset { border: 0; padding: 0; margin: 0 0 32px; }
.rsvp legend { font: 500 26px/1.2 var(--serif); padding: 0; margin-bottom: 14px; }
.guest-row { display: grid; grid-template-columns: 1fr auto; gap: 12px 20px; align-items: center; padding: 18px 0; border-top: 1px solid var(--line); }
.guest-row:last-of-type { border-bottom: 1px solid var(--line); }
.guest-name { font: 500 22px/1.2 var(--serif); }
.toggle { display: inline-flex; border: 1px solid var(--stone); border-radius: 999px; padding: 3px; gap: 3px; }
.toggle input { position: absolute; opacity: 0; pointer-events: none; }
.toggle label { padding: 8px 16px; border-radius: 999px; font-size: 13px; cursor: pointer; white-space: nowrap; transition: background .2s, color .2s; }
.toggle input:checked + label { background: var(--jade); color: #fff; }
.toggle input:focus-visible + label { outline: 2px solid var(--gold); outline-offset: 2px; }
.guest-row .field { grid-column: 1 / -1; }
@media (max-width: 560px) { .guest-row { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .toggle { display: flex; flex-wrap: wrap; border-radius: 18px; } .toggle label { flex: 1 1 auto; text-align: center; padding: 8px 10px; } }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 14px; }
@media (max-width: 640px) { .grid-3 { grid-template-columns: 1fr; } }
.rsvp-status { text-align: center; padding: 14px; border-radius: 8px; background: rgba(31, 43, 39, .07); margin-bottom: 26px; font-size: 15px; }
.rsvp-actions { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.form-ok { color: #2d5b45; margin: 0; }

/* faq */
.faq { max-width: 760px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 36px 22px 0; font: 500 23px/1.3 var(--serif); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font: 300 26px/1 var(--sans); color: var(--gold); transition: transform .25s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { padding: 0 0 22px; color: var(--muted); white-space: pre-line; margin: 0; }

/* itinerary links to the venue section */
.comm-link { color: inherit; text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 3px; }
.comm-link:hover { color: var(--gold); }
/* question form under the FAQ */
.ask { max-width: 760px; margin: 48px auto 0; padding: clamp(24px, 4vw, 40px); background: var(--paper); border: 1px solid var(--line); border-radius: 6px; scroll-margin-top: 90px; }
.ask h3 { font: 500 26px/1.2 var(--serif); margin: 0 0 6px; }
.ask .muted { margin: 0 0 16px; }
.ask .field { margin-bottom: 16px; }
/* footer */
footer { background: var(--jade); color: #c9c2b6; padding: 72px 0 40px; text-align: center; }
footer .wrap { display: flex; flex-direction: column; align-items: center; }
footer p { margin: 4px 0; }
footer .brand { display: block; font-size: 40px; color: #fff; margin-bottom: 10px; font-weight: 400; }
footer a { color: var(--gold-soft); }
.foot-small { margin-top: 40px; font-size: 13px; color: #8e877b; }
footer .linkish { color: #8e877b; }

/* ---------- opening intro: the couple walk into the light, then the guest's names ---------- */
.intro { position: fixed; inset: 0; z-index: 100; background: #000; overflow: hidden; }
.intro video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 55%; transform-origin: 50% 58%; opacity: 0; transition: opacity 1.2s ease; }
.intro.playing video { opacity: 1; animation: intro-walk 3.4s cubic-bezier(.5, 0, .9, .6) forwards; }
@keyframes intro-walk { from { transform: scale(1); } to { transform: scale(1.9); } }
.intro-glow { position: absolute; left: 50%; top: 58%; width: 40vmax; height: 40vmax; border-radius: 50%; pointer-events: none; transform: translate(-50%, -50%) scale(0); opacity: 0; filter: blur(8px);
  background: radial-gradient(circle, #fffdf7 0%, rgba(255,252,244,.96) 22%, rgba(255,249,238,.75) 38%, rgba(255,247,234,.45) 52%, rgba(255,246,230,.18) 64%, rgba(255,246,230,0) 74%); }
.intro.playing .intro-glow { animation: intro-glow 3.6s ease-in 1.1s forwards; }
@keyframes intro-glow { 0% { transform: translate(-50%, -50%) scale(0); opacity: 0; } 25% { opacity: .9; } 100% { transform: translate(-50%, -50%) scale(7); opacity: 1; } }
.intro-white { position: absolute; inset: 0; background: radial-gradient(ellipse at 50% 45%, #fffdf8 0%, #f8f1e4 75%, #f1e6d1 100%); opacity: 0; transition: opacity 1s ease; }
.intro.white-on .intro-white { opacity: 1; }
.intro-words { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; padding: 24px; color: var(--jade); }
.intro-words > * { opacity: 0; transform: translateY(14px); transition: opacity 1.4s ease, transform 1.4s ease; }
.intro.words-on .intro-words > * { opacity: 1; transform: none; }
.intro.words-on .intro-words > :nth-child(2) { transition-delay: .5s; }
.intro.words-on .intro-words > :nth-child(3) { transition-delay: 1.1s; }
.intro.words-on .intro-words > :nth-child(4) { transition-delay: 1.6s; }
.intro.words-on .intro-words > :nth-child(5) { transition-delay: 2.2s; }
.intro.words-on .intro-words > :nth-child(6) { transition-delay: 2.8s; }
.intro.words-on .intro-words > :nth-child(7) { transition-delay: 3.5s; }
.intro-names { font: italic 400 clamp(30px, 5.4vw, 54px)/1.2 var(--serif); margin: 0; }
.intro-inv { font: 400 clamp(13px, 1.6vw, 16px)/1.4 var(--sans); letter-spacing: .34em; text-transform: uppercase; color: var(--gold); margin: 14px 0 28px; }
.intro-lotus { width: 64px; height: 44px; margin: 0 auto 10px; background: url(/img/lotus.svg) center/contain no-repeat; }
.intro-couple { font: 500 clamp(56px, 11vw, 120px)/1 var(--serif); margin: 0; background: linear-gradient(180deg, #caa55f, #a8864f 55%, #86662f); -webkit-background-clip: text; background-clip: text; color: transparent; }
.intro-couple i { font-style: italic; font-weight: 400; }
.intro-married { font: italic 400 clamp(24px, 3.4vw, 34px)/1.3 var(--serif); margin: 14px 0 0; color: var(--jade); }
.intro-adventure { font: 300 clamp(16px, 1.9vw, 20px)/1.6 var(--sans); color: #5c5246; margin: 12px auto 0; max-width: 30em; }
.intro-btn { justify-self: center; margin-top: 34px; min-height: 48px; padding: 0 30px; border-radius: 999px; border: 0; cursor: pointer; background: linear-gradient(180deg, #b8955a, #94743f); color: #fff;
  font: 400 13px/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; box-shadow: 0 10px 24px -12px rgba(148,116,63,.9); }
.intro-btn:hover { background: var(--jade); }
.intro-skip { position: absolute; right: 18px; bottom: 18px; background: rgba(0,0,0,.35); color: #fff; border: 1px solid rgba(255,255,255,.4); border-radius: 999px; padding: 9px 16px;
  font: 400 12px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; cursor: pointer; transition: opacity .6s; }
.intro.white-on .intro-skip { opacity: 0; pointer-events: none; }
.intro.done { opacity: 0; transition: opacity 1.2s ease; pointer-events: none; }
@media (prefers-reduced-motion: reduce) { .intro video, .intro-glow { display: none; } }
.flights-from { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin: 0 0 22px; font-family: var(--serif, inherit); font-size: 20px; }
.flights-from select { font: inherit; font-size: 18px; color: inherit; background: rgba(255,255,255,.08); border: 1px solid var(--gold); border-radius: 999px; padding: 6px 34px 6px 16px; }
.flights-from select option { color: #1d2622; }
.flights-from .muted { flex-basis: 100%; font-family: var(--sans); font-size: 14px; }
.legs { list-style: none; margin: 10px 0 0; padding: 0; }
.legs li { padding: 4px 0; border-top: 1px solid rgba(201,174,124,.25); }
.legs li:first-child { border-top: 0; }
#flightsFrom .btn-solid { background: linear-gradient(180deg, #b8955a, #94743f); border-color: #94743f; color: #fff; }
#flightsFrom .btn-solid:hover { background: var(--ivory); border-color: var(--ivory); color: var(--ink); }
.flights-from .muted { opacity: .85; color: inherit; }
