:root { --night: #14070F; --cream: #FBF1EA; --soft: #D9BFC4; --gold: #E8B7A3; --ease: cubic-bezier(.4, 0, .2, 1); color-scheme: dark; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: radial-gradient(120% 80% at 70% 15%, #331229 0%, #1C0A16 45%, var(--night) 100%) fixed var(--night); color: var(--cream); font: 300 18px/1.7 Montserrat, "Segoe UI", sans-serif; overflow-x: hidden; }
#scene { position: fixed; top: 0; left: 0; width: 100%; height: 100vh; height: 100lvh; pointer-events: none; }
main, .contact, header { position: relative; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }
a { color: inherit; text-decoration: none; }
[hidden] { display: none !important; }
.ends { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin: 14px 0 0; }
.ends a { display: inline-flex; align-items: center; min-height: 50px; padding: 0 24px; border: 1px solid rgba(232, 183, 163, .55); border-radius: 99px; font-size: 15px; color: var(--cream); }
.way-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 30px; }
.way-tabs button { min-height: 46px; padding: 0 18px; font-size: 14px; }
.way-tabs button[aria-pressed="true"] { background: var(--cream); border-color: var(--cream); color: #2A0F20; }
.way { min-height: 11rem; }
.root { margin: 4px 0 0; font-size: 14px; }
.js .finale .root, .js .finale .ends { opacity: 1; }
/* the photographs: tall cards that lean towards the visitor */
main .evenings { flex-direction: column; justify-content: center; gap: 36px; padding-left: max(20px, 5vw); padding-right: max(20px, 5vw); }
.evenings h2 { margin: 0; text-align: center; }
.shots { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(12px, 1.8vw, 26px); width: 100%; max-width: 1240px; perspective: 1200px; }
.shot { margin: 0; transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .5s var(--ease); }
.shot:nth-child(even) { margin-top: 40px; }
.shot div { overflow: hidden; border-radius: 200px 200px 22px 22px; border: 1px solid rgba(232, 183, 163, .45); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .8); }
.shot img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5.4; object-fit: cover; transform: scale(1.06); animation: drift 14s ease-in-out infinite alternate; }
.shot figcaption { padding-top: 14px; text-align: center; font: italic 400 19px "Playfair Display", Georgia, serif; color: var(--cream); }
@keyframes drift { to { transform: scale(1.14) translate3d(0, -2%, 0); } }
.js .evenings .shot { opacity: 0; translate: 0 50px; transition: opacity .9s var(--ease), translate .9s var(--ease), transform .5s var(--ease); }
.js .evenings.in .shot { opacity: 1; translate: 0 0; }
.js .evenings.in .shot:nth-child(2) { transition-delay: .1s; } .js .evenings.in .shot:nth-child(3) { transition-delay: .2s; } .js .evenings.in .shot:nth-child(4) { transition-delay: .3s; }
.js .evenings > h2 { opacity: 1; }
.paused .shot img { animation-play-state: paused; }
.paused .shot { transition: none !important; }
@media (prefers-reduced-motion: reduce) { .shot img { animation: none; } .js .evenings .shot { opacity: 1; translate: none; transition: none; } }
@media (max-width: 860px) {
  main section.evenings { align-items: stretch; justify-content: center; padding: 80px 20px 40px; min-height: 80svh; }
  .shots { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 14px; padding-bottom: 6px; }
  .shot { flex: 0 0 72%; scroll-snap-align: center; }
  .shot:nth-child(even) { margin-top: 0; }
}
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }

header { position: fixed; inset: 0 0 auto; z-index: 5; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 22px max(20px, 5vw); background: linear-gradient(rgba(20, 7, 15, .85), rgba(20, 7, 15, 0)); }
.brand { display: flex; align-items: center; gap: 12px; letter-spacing: .36em; font-size: 14px; font-weight: 300; min-height: 44px; }
.brand svg { width: 32px; height: 32px; }
.brand path { fill: none; stroke: var(--gold); stroke-width: 2.4; stroke-linecap: round; }
nav { display: flex; align-items: center; gap: 32px; font-size: 14px; }
nav a { display: inline-flex; align-items: center; min-height: 44px; }
.pill { padding: 0 22px; border-radius: 99px; background: var(--cream); color: #2A0F20; font-weight: 500; }

main section { min-height: 86vh; display: flex; align-items: center; padding: 80px max(24px, calc((100vw - 1100px) / 2)); }
main .hero { min-height: 100vh; min-height: 100svh; }
.copy { max-width: 31rem; }
.copy.right { margin-left: auto; }
h1, h2 { font-family: "Playfair Display", Georgia, serif; font-weight: 400; line-height: 1.08; margin: 0 0 24px; text-wrap: balance; letter-spacing: -.01em; }
.hero .copy { max-width: min(40rem, 46vw); }
h1 { font-size: clamp(40px, 5.1vw, 82px); }
h1 span, h1 em { display: block; }
.hero .copy > p { max-width: 26rem; }
h2 { font-size: clamp(34px, 4.2vw, 62px); }
em { color: var(--gold); }
p { margin: 0 0 18px; color: var(--soft); }
b { font-weight: 500; color: var(--cream); }
.kicker { color: var(--gold); font-size: 13px; letter-spacing: .26em; text-transform: uppercase; }
.soon { color: var(--cream); font-size: 13px; letter-spacing: .3em; text-transform: uppercase; margin-top: 34px; }

.sides { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
button { font: 400 15px Montserrat, "Segoe UI", sans-serif; color: var(--cream); background: transparent; border: 1px solid rgba(232, 183, 163, .45); border-radius: 99px; padding: 0 24px; min-height: 50px; cursor: pointer; transition: background .4s var(--ease), color .4s var(--ease), border-color .4s var(--ease); }
button:hover { border-color: var(--gold); }
.sides button[aria-pressed="true"], #contact-form button { background: linear-gradient(110deg, #F2CDBB, #D99C8C); border-color: transparent; color: #2A0F20; font-weight: 500; }

/* words arrive as their scene gathers */
.js main section .copy > *, .js .finale .line { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js main section.in .copy > *, .js .finale.in .line { opacity: 1; transform: none; }
.copy > *:nth-child(2) { transition-delay: .08s !important; }
.copy > *:nth-child(n+3) { transition-delay: .16s !important; }

main .finale { flex-direction: column; justify-content: flex-end; text-align: center; min-height: 100vh; padding-bottom: 18vh; }
.word { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.no-3d .word { position: static; width: auto; height: auto; clip-path: none; font-size: clamp(34px, 9vw, 130px); letter-spacing: .3em; color: var(--gold); margin: 0 0 30px; }
.line { font: italic 400 clamp(20px, 2.2vw, 30px)/1.4 "Playfair Display", Georgia, serif; color: var(--cream); }

.contact { display: grid; justify-content: center; padding: 80px 20px 120px; background: linear-gradient(rgba(20, 7, 15, 0), var(--night) 18%); }
form { display: grid; gap: 16px; width: min(520px, calc(100vw - 40px)); }
form h2 { margin: 0; text-align: center; }
form > p { text-align: center; margin: 0; font-size: 15px; }
label { display: grid; gap: 6px; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--soft); }
input, textarea { width: 100%; font: 300 16px Montserrat, "Segoe UI", sans-serif; color: var(--cream); background: rgba(255, 235, 228, .06); border: 1px solid rgba(232, 183, 163, .3); border-radius: 16px; padding: 14px 16px; }

.pause { position: fixed; z-index: 6; left: 16px; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); min-height: 44px; padding: 0 18px; font-size: 13px; background: rgba(20, 7, 15, .7); }

@media (max-width: 860px) {
  body { font-size: 16px; }
  nav a:not(.pill):not(.login) { display: none; }
  nav { gap: 14px; }
  header { padding: 14px 18px; }
  .brand { font-size: 12px; letter-spacing: .28em; }
  .pill { padding: 0 16px; }
  /* the scene sits above, the words below */
  main section, main .hero { align-items: flex-start; padding: 44svh 24px 56px; min-height: 90vh; min-height: 90svh; margin-bottom: 0; }
  .way-tabs { gap: 6px; margin-bottom: 18px; }
  .way-tabs button { padding: 0 12px; font-size: 13px; }
  .way { min-height: 9rem; }
  main .hero { min-height: 100svh; }
  .copy, .copy.right { max-width: 34rem; margin: 0; text-shadow: 0 1px 14px var(--night); }
  .hero .copy { max-width: 34rem; }
  h1 { font-size: clamp(36px, 10.6vw, 56px); margin-bottom: 14px; }
  h2 { font-size: clamp(31px, 8.6vw, 46px); margin-bottom: 14px; }
  .sides { margin-top: 18px; gap: 8px; }
  .sides button { padding: 0 16px; font-size: 14px; min-height: 46px; }
  main .finale { align-items: center; margin-bottom: 0; }
  .pause { min-height: 40px; padding: 0 14px; font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js main section .copy > *, .js .finale .line { opacity: 1; transform: none; transition: none; }
}
.paused .copy > *, .paused .line { transition: none !important; }

@media (max-width: 860px) { main section.finale { align-items: center; justify-content: flex-end; padding: 80px 24px 100px; min-height: 100svh; } }
