html,body{scrollbar-width:none!important;-ms-overflow-style:none!important}html::-webkit-scrollbar,body::-webkit-scrollbar{display:none!important;width:0!important;height:0!important}
:root {
  --paper: #f3f8fc;
  --ink: #294d69;
  --night: #132b46;
  --ice: #acdce8;
  --silver: #b7c9d8;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--night);
  color: var(--ink);
  font: 19px/1.65 'Cormorant Garamond', Georgia, serif;
}

body.sealed {
  overflow: hidden;
}

button, input, textarea, select {
  font: inherit;
}

button, a {
  touch-action: manipulation;
}

button {
  cursor: pointer;
  border: 0;
  background: none;
  color: inherit;
}

a {
  color: inherit;
}

button:focus-visible, a:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
  outline: 3px solid #60aeca;
  outline-offset: 5px;
}

h1, h2, h3, p {
  margin: 0;
}

h2 {
  font-size: clamp(38px, 5vw, 68px);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.025em;
}

h3 {
  font-size: 28px;
  font-weight: 500;
  line-height: 1.25;
}

h2 em {
  font-weight: 400;
  font-style: italic;
}

img {
  max-width: 100%;
  display: block;
}

main {
  max-width: 1100px;
  margin: auto;
  background: var(--paper);
  position: relative;
}

[hidden] {
  display: none !important;
}

.eyebrow {
  font: 11px/1.8 'Jost', sans-serif;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.signature {
  font: 38px/1.3 'Italianno', cursive;
}

.prose {
  max-width: 510px;
  margin: 28px auto;
  font-size: 22px;
}

.paper {
  background: var(--paper);
  position: relative;
  padding: 100px 8%;
  text-align: center;
  overflow: hidden;
}

.midnight {
  background: var(--night);
  color: #e1f1f7;
  position: relative;
  text-align: center;
  padding: 100px 8%;
  overflow: hidden;
}

.skip {
  position: fixed;
  left: 15px;
  top: -100px;
  z-index: 100;
  background: white;
  padding: 12px;
}

.skip:focus {
  top: 15px;
}

/* Stage Intro Video Overlay */
.stage-intro {
  position: fixed;
  inset: 0;
  z-index: 60;
  background: var(--night);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1);
  opacity: 1;
}

.stage-intro.is-fading {
  opacity: 0;
  pointer-events: none;
}

.stage-intro video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Minimal Bottom Tap Button */
.winter-tap-bottom-wrap {
  position: absolute;
  bottom: clamp(24px, 5vh, 48px);
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10;
  pointer-events: none;
}

.winter-tap-btn {
  pointer-events: auto;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: transparent;
  border: none;
  padding: 8px 16px;
  color: rgba(255, 255, 255, 0.92);
  font-family: 'Jost', sans-serif;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.55);
  cursor: pointer;
  animation: pulse-soft 2.4s ease-in-out infinite;
}

.winter-tap-icon {
  width: 14px;
  height: 14px;
  opacity: 0.85;
}

@keyframes pulse-soft {
  0%, 100% {
    opacity: 0.85;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.03);
  }
}

.skip-film {
  position: absolute;
  bottom: 24px;
  right: 20px;
  z-index: 10;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(19, 43, 70, 0.5);
  backdrop-filter: blur(8px);
  border-radius: 24px;
  color: rgba(255, 255, 255, 0.9);
  padding: 7px 16px;
  font: 12px/1 'Jost', sans-serif;
  letter-spacing: 0.08em;
  transition: background 0.2s ease, transform 0.2s ease;
}

.skip-film:hover {
  background: rgba(19, 43, 70, 0.8);
  transform: translateY(-1px);
}

/* Snow Particles */
.snow {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 2;
}

/* Audio & Snow Controls */
.controls {
  position: fixed;
  right: 18px;
  bottom: 18px;
  display: flex;
  gap: 8px;
  z-index: 30;
}

.controls button {
  display: flex;
  gap: 6px;
  align-items: center;
  border: 1px solid #adc8da;
  background: #f3f8fce8;
  border-radius: 30px;
  padding: 8px 12px;
  backdrop-filter: blur(10px);
}

.controls span {
  font: 12px 'Jost', sans-serif;
}

/* Hero Section */
.hero {
  position: relative;
  width: 100%;
  max-width: 720px;
  height: 100svh;
  min-height: 100svh;
  margin: auto;
  isolation: isolate;
  background: #d8edf4;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-art {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: -1;
}

.hero-copy {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 20px;
  margin: auto;
  max-width: 90%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.hero-eyebrow {
  font-family: 'Jost', sans-serif;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: #204566;
  margin: 0 0 10px;
  text-shadow: 0 0 16px rgba(255, 255, 255, 0.95), 0 1px 4px rgba(255, 255, 255, 0.9);
}

.monogram {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 22px;
  font-weight: 500;
  letter-spacing: 0.22em;
  color: #163854;
  margin: 0 0 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-shadow: 0 0 14px rgba(255, 255, 255, 0.95);
}

.monogram span {
  font-size: 14px;
  color: #3a6888;
}

.hero-names {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(34px, 7vw, 48px);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: 0.04em;
  color: #0c2136;
  margin: 0 0 14px;
  text-shadow: 0 0 20px rgba(255, 255, 255, 0.95), 0 2px 8px rgba(255, 255, 255, 0.85);
  opacity: 0;
  transform: translateY(14px) scale(0.98);
  filter: blur(4px);
  transition: opacity 1.3s cubic-bezier(0.16, 1, 0.3, 1),
              transform 1.3s cubic-bezier(0.16, 1, 0.3, 1),
              filter 1.1s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: 0.2s;
  will-change: opacity, transform, filter;
}

body.is-unveiled .hero-names,
body:not(.sealed) .hero-names {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
}

.hero-names em {
  font-family: 'Italianno', cursive;
  font-size: 1.25em;
  font-weight: 400;
  font-style: normal;
  margin: 0 6px;
  color: #28547a;
  vertical-align: -2px;
}

.hero-date {
  font-family: 'Jost', sans-serif;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #1e4263;
  margin: 0 0 6px;
  text-shadow: 0 0 14px rgba(255, 255, 255, 0.95);
}

.hero-venue {
  font-family: 'Jost', sans-serif;
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: #284e70;
  margin: 0;
  text-shadow: 0 0 14px rgba(255, 255, 255, 0.95);
}

.scroll-note {
  position: absolute;
  bottom: clamp(16px, 3vh, 26px);
  left: 50%;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 5px 14px;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(173, 200, 218, 0.45);
  border-radius: 30px;
  font-family: 'Jost', sans-serif;
  font-size: 8.5px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #163752;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(19, 43, 70, 0.08);
  z-index: 2;
  white-space: nowrap;
  max-width: 90vw;
  box-sizing: border-box;
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.scroll-note span {
  display: inline;
  white-space: nowrap;
  line-height: 1;
}

.scroll-note:hover {
  background: rgba(255, 255, 255, 0.92);
  transform: translateX(-50%) translateY(-2px);
  box-shadow: 0 6px 18px rgba(19, 43, 70, 0.12);
}

.scroll-arrow {
  width: 12px;
  height: 12px;
  flex-shrink: 0;
  opacity: 0.85;
  animation: bounce-down 2s ease-in-out infinite;
}

@keyframes bounce-down {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(3px); }
}

/* Inner Sections */
.letter {
  padding-top: 80px;
  padding-bottom: 120px;
}

.letter h2 {
  margin: 22px 0;
}

.ornament {
  width: 80px;
  margin: 0 auto 30px;
}

.flower-corner {
  position: absolute;
  bottom: -10px;
  right: -20px;
  width: 180px;
  opacity: 0.6;
}

.letter .signature {
  position: relative;
  z-index: 1;
}

.countdown h2 {
  margin: 20px 0 35px;
}

.count-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  max-width: 480px;
  margin: auto;
  position: relative;
  z-index: 3;
}

.count-grid strong {
  font-weight: 400;
  font-size: 54px;
  display: block;
  line-height: 1.2;
}

.count-grid span {
  font: 10px 'Jost', sans-serif;
  letter-spacing: 0.15em;
}

.count-horse {
  position: absolute;
  width: 290px;
  opacity: 0.12;
  left: -30px;
  bottom: 0;
}

.section-heading h2 {
  margin: 20px 0 30px;
}

.painting {
  margin: 0 -5%;
}

.painting img {
  width: 100%;
}

.venue-details {
  margin: 30px auto 0;
}

.venue-details h3 {
  margin: 12px 0;
  font-size: 38px;
}

.venue-details p {
  margin: 8px 0;
}

.actions {
  display: flex;
  gap: 20px;
  align-items: center;
  justify-content: center;
  margin-top: 28px;
}

.button {
  display: inline-block;
  border: 1px solid #668ca6;
  padding: 12px 26px;
  font: 13px/1.5 'Jost', sans-serif;
  letter-spacing: 0.04em;
  background: #dcecf3;
  color: var(--ink);
  cursor: pointer;
}

.text-button {
  font: 13px/1.5 'Jost', sans-serif;
  text-decoration: underline;
  text-underline-offset: 5px;
  padding: 12px 0;
  cursor: pointer;
}

.programme {
  padding-top: 20px;
}

.programme h2 {
  margin: 20px 0 45px;
}

.timeline {
  max-width: 680px;
  margin: auto;
}

.timeline article {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 30px;
  text-align: left;
  align-items: center;
  padding: 24px 0;
  border-bottom: 1px solid #aac6d644;
}

.timeline article img {
  height: 120px;
  width: 120px;
  object-fit: contain;
}

.timeline time {
  font: 12px 'Jost', sans-serif;
  letter-spacing: 0.1em;
}

.timeline h3 {
  margin: 8px 0;
}

.timeline p {
  font-size: 19px;
}

.banquet {
  position: relative;
  background: #1c435e;
}

.banquet > img {
  width: 100%;
}

.banquet-caption {
  text-align: center;
  padding: 40px 7% 55px;
  color: #eaf6fa;
}

.banquet-caption h2 {
  margin-top: 15px;
}

.dress h2 {
  margin: 20px 0;
}

.attire {
  max-width: 360px;
  width: 90%;
  margin: 25px auto;
}

.swatches {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin: 30px 0;
  font: 12px 'Jost', sans-serif;
}

.swatches span:before {
  content: '';
  display: block;
  background: var(--swatch);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid #819cad33;
  margin: 0 auto 10px;
}

.journey {
  padding-top: 0;
  padding-bottom: 130px;
}

.sleigh {
  max-width: 320px;
  margin: 0 auto 30px;
}

.journey h2 {
  margin: 20px 0 40px;
}

.notes {
  max-width: 620px;
  text-align: left;
  margin: auto;
}

.notes details {
  border-bottom: 1px solid #afc7d5;
  padding: 18px 0;
}

.notes summary {
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 22px;
  list-style: none;
  gap: 20px;
}

.notes details p {
  padding-top: 16px;
  font-size: 19px;
}

.snowman {
  width: 110px;
  margin: 45px auto -80px;
}

.reply-envelope {
  width: 160px;
  margin: 0 auto 28px;
}

.rsvp h2 {
  margin: 18px 0;
}

.rsvp > p {
  margin-bottom: 25px;
}

form, .confirmation {
  max-width: 490px;
  margin: 35px auto 0;
  text-align: left;
}

form > label {
  display: block;
  margin-bottom: 20px;
  font: 14px 'Jost', sans-serif;
}

input:not([type=radio]), select, textarea {
  display: block;
  width: 100%;
  padding: 12px 0;
  border: 0;
  border-bottom: 1px solid #c1dce46b;
  color: #e5f2f7;
  background: transparent;
  outline-offset: 4px;
  border-radius: 0;
  font: 17px 'Jost', sans-serif;
  margin-top: 6px;
}

input::placeholder, textarea::placeholder {
  color: #91aeba;
}

select option {
  color: var(--ink);
}

fieldset {
  border: 0;
  margin: 25px 0;
  padding: 0;
  font: 14px 'Jost', sans-serif;
}

legend {
  margin-bottom: 15px;
}

.radio {
  display: flex;
  gap: 12px;
  align-items: center;
  margin: 12px 0;
}

.radio input {
  accent-color: #aad9e5;
}

.light {
  background: #dceef5;
  color: var(--night);
  border-color: #dceef5;
}

.rsvp .button {
  width: 100%;
  margin-top: 15px;
}

.demo-note {
  display: block;
  font: 12px 'Jost', sans-serif;
  color: #a4bece;
  margin: 18px 0;
}

.confirmation {
  text-align: center;
}

.confirmation > span {
  font-size: 45px;
}

.confirmation h3 {
  margin: 15px 0;
}

.confirmation .text-button {
  display: block;
  margin: 15px auto;
}

.farewell {
  position: relative;
  aspect-ratio: 9/16;
  max-width: 720px;
  margin: auto;
  background: #e5f1f7;
}

.footer-art {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.footer-copy {
  position: absolute;
  top: 25%;
  left: 6%;
  right: 6%;
  text-align: center;
}

.footer-flake {
  width: 70px;
  margin: auto auto 20px;
}

.footer-copy h2 {
  font-size: 62px;
  margin: 20px 0;
}

.footer-copy .signature {
  margin-top: 25px;
}

.footer-copy .text-button {
  display: block;
  margin: 20px auto;
}

.brand {
  display: block;
  text-decoration: none;
  font: 11px 'Jost', sans-serif;
  letter-spacing: 0.2em;
  margin-top: 25px;
}

dialog {
  border: 1px solid #a2c9d8;
  max-width: 480px;
  width: 90%;
  padding: 40px;
  background: var(--paper);
  color: var(--ink);
}

dialog::backdrop {
  background: #132b46aa;
}

dialog h2 {
  font-size: 40px;
  margin: 18px 0;
}

dialog p {
  font-size: 19px;
}

dialog .button {
  margin-top: 22px;
}

dialog > .dialog-close:first-child {
  position: absolute;
  right: 12px;
  top: 5px;
  font-size: 28px;
}

.reveal-ready {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.9s ease, transform 1s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.reveal-ready.visible {
  opacity: 1;
  transform: none;
}

@media (min-width: 900px) {
  .hero, .farewell {
    box-shadow: 0 0 100px #8ac0dc22;
  }
  .paper {
    padding-left: 13%;
    padding-right: 13%;
  }
  .venue .painting {
    margin: 0 -10%;
  }
  .banquet-caption h2 {
    font-size: 57px;
  }
}

@media (max-width: 600px) {
  body {
    font-size: 18px;
  }
  .hero {
    height: 100svh;
    min-height: 100svh;
    width: 100%;
    max-width: 100%;
  }
  .hero-copy {
    padding: 0 16px;
  }
  .hero-eyebrow {
    font-size: 9px;
    letter-spacing: 0.28em;
    margin-bottom: 7px;
  }
  .monogram {
    font-size: 19px;
    letter-spacing: 0.18em;
    margin-bottom: 9px;
    gap: 6px;
  }
  .hero-names {
    font-size: clamp(28px, 7.8vw, 38px);
    letter-spacing: 0.03em;
    margin-bottom: 10px;
  }
  .hero-names em {
    font-size: 1.25em;
    margin: 0 4px;
  }
  .hero-date {
    font-size: 11px;
    letter-spacing: 0.18em;
    margin-bottom: 4px;
  }
  .hero-venue {
    font-size: 9px;
    letter-spacing: 0.22em;
  }
  .scroll-note {
    font-size: 8px;
    letter-spacing: 0.2em;
    padding: 5px 12px;
    bottom: clamp(14px, 2.5vh, 22px);
    white-space: nowrap;
  }
  .scroll-arrow {
    width: 11px;
    height: 11px;
  }
  .paper, .midnight {
    padding: 70px 6%;
  }
  .prose {
    font-size: 20px;
  }
  .signature {
    font-size: 32px;
  }
  .flower-corner {
    width: 130px;
    opacity: 0.35;
  }
  .count-grid strong {
    font-size: 42px;
  }
  .count-grid span {
    font-size: 9px;
  }
  .timeline article {
    grid-template-columns: 80px 1fr;
    gap: 16px;
  }
  .timeline article img {
    width: 80px;
    height: 95px;
  }
  .timeline h3 {
    font-size: 25px;
  }
  .timeline p {
    font-size: 17px;
  }
  .programme {
    padding-top: 0;
  }
  .notes summary {
    font-size: 20px;
  }
  .journey {
    padding-top: 0;
    padding-bottom: 100px;
  }
  .footer-copy {
    top: 18%;
  }
  .footer-copy h2 {
    font-size: 46px;
  }
  .footer-copy .signature {
    margin-top: 18px;
  }
  .footer-flake {
    width: 50px;
    margin-bottom: 12px;
  }
  .controls span {
    display: none;
  }
  .controls button {
    width: 38px;
    height: 38px;
    justify-content: center;
    padding: 0;
  }
  .actions {
    gap: 16px;
  }
  .button {
    padding: 11px 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .snow {
    display: none;
  }
  .reveal-ready {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .stage-intro {
    transition: none;
  }
}

@media print {
  .stage-intro, .snow, .controls, .scroll-note, form, .actions {
    display: none !important;
  }
  body {
    overflow: visible !important;
  }
  main {
    display: block;
  }
  .reveal-ready {
    opacity: 1;
    transform: none;
  }
}

.canva-stage-wrapper{position:relative;width:100%;max-width:780px;margin:0 auto;aspect-ratio:1080/1920;overflow:hidden;padding:0!important;background:none}
.canva-stage{position:absolute;top:0;left:0;width:1080px;height:1920px;transform-origin:top left}
.canva-bg{position:absolute;top:0;left:0;width:1080px;height:1920px;object-fit:cover;display:block}
.canva-box{position:absolute;box-sizing:border-box;margin:0;padding:0;letter-spacing:0;line-height:1.15;text-align:center}
@media(max-width:780px){.canva-stage-wrapper{width:100%!important;max-width:100%!important;margin:0!important;padding:0!important}}
