@font-face {
  font-family:Wedding Serif;
  src:url('/assets/fonts/cormorant-garamond-regular.ttf') format('truetype');
  font-weight:400;
  font-style:normal;
  font-display:swap;
}

@font-face {
  font-family:Wedding Serif;
  src:url('/assets/fonts/cormorant-garamond-italic.ttf') format('truetype');
  font-weight:400;
  font-style:italic;
  font-display:swap;
}

@font-face {
  font-family:Wedding Script;
  src:url('/assets/fonts/great-vibes.ttf') format('truetype');
  font-weight:400;
  font-style:normal;
  font-display:swap;
}

:root {
  color-scheme:light;
  --paper:#faf7f0;
  --ink:#3e2929;
  --wine:#701e30;
  --gold:#9b7c42;
  --muted:#82756e;
  --line:#ddd3c1;
  --serif:'Wedding Serif',Georgia,serif;
  --script:'Wedding Script','Snell Roundhand',cursive;
  --sans:Inter,Arial,sans-serif;
}

* {
  box-sizing:border-box;
}

html {
  scroll-behavior:smooth;
  scroll-padding-top:30px;
}

body {
  margin:0;
  background:var(--paper);
  color:var(--ink);
  font-family:var(--sans);
  font-size:14px;
  -webkit-font-smoothing:antialiased;
}

body.dialog-open {
  overflow:hidden;
}

a {
  color:inherit;
  text-decoration:none;
}

button {
  font:inherit;
}

a,button {
  -webkit-tap-highlight-color:transparent;
}

a:focus-visible,button:focus-visible {
  outline:2px solid var(--gold);
  outline-offset:6px;
}

::selection {
  background:#e6ccd1;
  color:var(--wine);
}

img {
  max-width:100%;
  height:auto;
}

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

h1,h2,h3,h4 {
  font-weight:400;
}

em {
  font-weight:400;
}

.event-icon {
  width:20px;
  height:20px;
  flex-shrink:0;
}

.event-arrow {
  flex-shrink:0;
  font-size:14px;
  vertical-align:-.08em;
}

.event-button .event-arrow {
  font-size:16px;
}

.text-link .event-arrow {
  margin-left:10px;
  transition:transform .2s;
}

.text-link:hover .event-arrow {
  transform:translateX(4px);
}

.event-back .event-arrow {
  margin-left:13px;
  color:var(--gold);
}

.event-footer a .event-arrow {
  margin-left:6px;
  font-size:10px;
}

.eyebrow {
  font-size:10px;
  font-weight:500;
  letter-spacing:.22em;
  line-height:1.8;
}

.event-skip {
  position:fixed;
  top:8px;
  left:8px;
  z-index:100;
  padding:12px 20px;
  background:var(--wine);
  color:white;
  transform:translateY(-150%);
}

.event-skip:focus {
  transform:translateY(0);
}

.event-header {
  max-width:1280px;
  height:100px;
  margin:auto;
  padding:0 56px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  border-bottom:1px solid var(--line);
}

.couple-mark {
  font-family:var(--serif);
  font-size:31px;
  letter-spacing:-.07em;
  color:var(--wine);
}

.couple-mark span {
  display:inline-block;
  font-family:var(--script);
  font-size:32px;
  color:var(--gold);
  padding:0 5px;
}

.wedding-nav {
  display:flex;
  gap:36px;
  align-items:center;
  font-size:11px;
}

.wedding-nav>a:not(.nav-date) {
  padding:12px 0;
  position:relative;
}

.wedding-nav>a:not(.nav-date)::after {
  content:'';
  position:absolute;
  inset:auto 0 5px;
  height:1px;
  background:var(--wine);
  transform:scaleX(0);
  transform-origin:left;
  transition:transform .25s;
}

.wedding-nav>a:hover::after {
  transform:scaleX(1);
}

.nav-date {
  display:flex;
  align-items:center;
  gap:10px;
  border-left:1px solid var(--line);
  padding-left:30px;
  color:var(--wine);
}

.nav-date svg {
  width:17px;
  height:17px;
}

.wedding-hero {
  position:relative;
  max-width:1280px;
  margin:auto;
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:20px;
  padding:62px 74px 102px;
  align-items:center;
  overflow:hidden;
}

.hero-copy {
  position:relative;
  z-index:2;
  padding-bottom:15px;
  animation:hero-enter .95s both;
}

.hero-intro {
  display:flex;
  align-items:center;
  gap:13px;
  color:var(--gold);
  font-size:9px;
  letter-spacing:.21em;
}

.short-line {
  width:28px;
  height:1px;
  background:var(--gold);
}

.hero-kicker {
  font-family:var(--serif);
  font-size:26px;
  margin-top:28px;
  margin-bottom:12px;
  font-style:italic;
}

#wedding-title {
  font-family:var(--script);
  font-size:103px;
  line-height:1.04;
  color:var(--wine);
  max-width:440px;
  margin-left:-6px;
}

#wedding-title>span {
  display:block;
}

#wedding-title .name-and {
  font-family:var(--serif);
  font-size:43px;
  line-height:.7;
  font-style:italic;
  color:var(--gold);
  margin-left:128px;
  margin-top:0;
  margin-bottom:4px;
}

#wedding-title>span:last-child {
  margin-left:94px;
}

.hero-message {
  font-size:12px;
  line-height:1.9;
  color:var(--muted);
  margin-top:27px;
}

.hero-date {
  display:flex;
  gap:20px;
  align-items:center;
  margin:29px 0;
  color:var(--wine);
}

.hero-date>span {
  writing-mode:vertical-rl;
  transform:rotate(180deg);
  font-size:8px;
  letter-spacing:.2em;
  color:var(--gold);
  padding:0 9px 0 0;
  border-left:1px solid var(--line);
}

.hero-date time {
  font-family:var(--serif);
  font-size:32px;
  display:flex;
  align-items:center;
  gap:14px;
}

.hero-date time span {
  font-family:var(--sans);
  font-size:9px;
  letter-spacing:.15em;
}

.event-button {
  display:inline-flex;
  align-items:center;
  justify-content:space-between;
  gap:45px;
  padding:17px 23px;
  background:var(--wine);
  color:#fff8ef;
  font-size:11px;
  letter-spacing:.035em;
  transition:background .25s,transform .25s;
}

.event-button:hover {
  background:#521322;
  transform:translateY(-3px);
}

.event-button svg {
  width:21px;
}

.hero-art {
  position:relative;
  min-height:570px;
  display:flex;
  align-items:center;
  justify-content:center;
  isolation:isolate;
  animation:hero-enter 1.2s .15s both;
}

.hero-art::before {
  content:'';
  position:absolute;
  inset:22px -90px 14px 70px;
  background:#eee7da;
  border-radius:240px 240px 0 0;
  transform:rotate(4deg);
  z-index:-2;
}

.hero-art::after {
  content:'';
  position:absolute;
  inset:0 22px 0 30px;
  border:1px solid #bda67a;
  border-radius:240px 240px 0 0;
  transform:rotate(4deg);
  z-index:-1;
}

.invitation-surround {
  position:relative;
  width:337px;
  max-width:85%;
  transform:rotate(-5deg);
  transition:transform .6s;
}

.invitation-surround:hover {
  transform:rotate(-1deg) translateY(-5px);
}

.invitation-link {
  display:block;
  padding:9px;
  background:#fffcf6;
  box-shadow:0 15px 40px #51332126;
  position:relative;
}

.invitation-image {
  display:block;
  width:100%;
  height:auto;
}

.invitation-hint {
  position:absolute;
  bottom:9px;
  left:9px;
  right:9px;
  background:#481823e8;
  color:#fff9ef;
  padding:13px 16px;
  display:flex;
  justify-content:space-between;
  font-size:10px;
  letter-spacing:.03em;
  opacity:0;
  transform:translateY(4px);
  transition:opacity .3s,transform .3s;
}

.invitation-link:hover .invitation-hint,.invitation-link:focus-visible .invitation-hint {
  opacity:1;
  transform:none;
}

.frame-corner {
  position:absolute;
  width:50px;
  height:50px;
  pointer-events:none;
  border-color:var(--gold);
  z-index:1;
}

.frame-corner-top {
  top:-13px;
  left:-13px;
  border-left:1px solid;
  border-top:1px solid;
}

.frame-corner-bottom {
  bottom:-13px;
  right:-13px;
  border-right:1px solid;
  border-bottom:1px solid;
}

.art-caption {
  position:absolute;
  top:-6px;
  left:15px;
  font-size:8px;
  letter-spacing:.2em;
  color:var(--gold);
  transform:rotate(-90deg) translateX(-100%);
  transform-origin:left top;
}

.art-side-note {
  position:absolute;
  right:-11px;
  bottom:55px;
  writing-mode:vertical-rl;
  font-size:8px;
  letter-spacing:.23em;
  color:var(--gold);
}

.wax-seal {
  position:absolute;
  bottom:0;
  right:15px;
  width:100px;
  height:100px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:1px;
  border-radius:50%;
  background:radial-gradient(ellipse at 40% 25%,#a34250,#701e30 60%,#4e1723);
  border:4px double #a95764;
  box-shadow:0 8px 16px #53202c30,inset 0 0 0 6px #ffffff0c;
  color:#ebc9ae;
  font-family:var(--serif);
  font-size:29px;
  transform:rotate(13deg);
  text-shadow:0 1px 1px #4e1723;
}

.wax-seal span {
  font-family:var(--script);
  font-size:24px;
  margin-top:5px;
}

.scroll-cue {
  position:absolute;
  left:74px;
  bottom:31px;
  display:flex;
  align-items:center;
  gap:15px;
  font-size:8px;
  letter-spacing:.15em;
  color:var(--muted);
}

.scroll-line {
  display:block;
  width:1px;
  height:33px;
  background:var(--line);
  position:relative;
  overflow:hidden;
}

.scroll-line::after {
  content:'';
  position:absolute;
  top:-100%;
  height:100%;
  width:100%;
  background:var(--gold);
  animation:scroll-guide 1.6s 3;
}

.hero-folio {
  position:absolute;
  right:74px;
  bottom:39px;
  font-size:8px;
  color:var(--muted);
  letter-spacing:.15em;
}

.countdown-section {
  position:relative;
  text-align:center;
  background:var(--wine);
  color:#fbf4e8;
  padding:68px 24px 53px;
  overflow:hidden;
}

.countdown-section::before,.countdown-section::after {
  content:'';
  width:420px;
  height:420px;
  border:1px solid #c4a87422;
  border-radius:50%;
  position:absolute;
  top:-130px;
  left:-230px;
  pointer-events:none;
}

.countdown-section::after {
  left:auto;
  right:-230px;
  top:50px;
}

.countdown-heading .eyebrow {
  color:#d3b98a;
}

.countdown-heading h2 {
  font-family:var(--serif);
  font-size:48px;
  line-height:1.15;
  margin:14px 0 12px;
}

.countdown-heading h2 em {
  color:#dec7a0;
}

.countdown-heading>p:last-child {
  font-size:11px;
  color:#e3cdd0;
  line-height:1.8;
}

.countdown {
  display:flex;
  align-items:flex-start;
  justify-content:center;
  gap:23px;
  margin:29px auto 31px;
}

.countdown>div {
  width:92px;
  display:flex;
  flex-direction:column;
  gap:4px;
}

.countdown [data-count] {
  font-family:var(--serif);
  font-size:64px;
  line-height:1.15;
  font-variant-numeric:tabular-nums;
}

.count-label {
  font-size:8px;
  letter-spacing:.2em;
  color:#d8c4c6;
}

.count-divider {
  font-family:var(--serif);
  font-size:28px;
  color:#bb8c91;
  padding-top:12px;
}

.text-link {
  display:inline-flex;
  align-items:center;
  gap:11px;
  font-size:10px;
  padding:10px 0;
  border-bottom:1px solid #c5a57977;
}

.text-link svg {
  width:15px;
  height:15px;
}

.text-link svg:last-child {
  margin-left:10px;
  transition:transform .2s;
}

.text-link:hover svg:last-child {
  transform:translateX(4px);
}

.countdown-fallback {
  font-size:13px;
  margin-bottom:15px;
}

.celebration-section {
  max-width:1132px;
  margin:0 auto;
  padding:91px 0 88px;
}

.section-heading {
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  margin-bottom:37px;
}

.section-heading .eyebrow {
  color:var(--gold);
}

.section-heading h2 {
  font-family:var(--serif);
  font-size:49px;
  line-height:1.2;
  color:var(--wine);
  margin-top:13px;
}

.section-heading>p {
  font-size:11px;
  line-height:1.9;
  color:var(--muted);
  margin-bottom:6px;
}

.celebration-grid {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:28px;
}

.venue {
  border:1px solid var(--line);
  padding:32px 36px 27px;
  position:relative;
  transition:box-shadow .3s,border-color .3s;
}

.venue:hover {
  box-shadow:0 10px 26px #41252b08;
  border-color:#bdaa86;
}

.venue-top {
  display:flex;
  justify-content:space-between;
  align-items:center;
  margin-bottom:27px;
  color:var(--gold);
}

.venue-top svg {
  width:37px;
  height:37px;
}

.venue-top>span {
  font-family:var(--serif);
  font-size:22px;
  color:#b6a78b;
}

.venue>.eyebrow {
  font-size:9px;
  color:var(--gold);
}

.venue h3 {
  font-family:var(--serif);
  font-size:34px;
  color:var(--wine);
  margin:5px 0 18px;
}

.venue-time {
  display:flex;
  align-items:center;
  gap:15px;
  font-family:var(--serif);
  font-size:30px;
  padding-bottom:23px;
  border-bottom:1px solid var(--line);
}

.venue-time>span {
  font-family:var(--sans);
  font-size:9px;
  color:var(--muted);
}

.venue-location {
  min-height:117px;
  padding-top:23px;
}

.venue h4 {
  font-family:var(--serif);
  font-size:24px;
  line-height:1.15;
  max-width:350px;
}

.venue-location p {
  font-size:11px;
  color:var(--muted);
  line-height:1.9;
  margin-top:7px;
}

.venue-map {
  display:flex;
  align-items:center;
  gap:8px;
  border-top:1px solid var(--line);
  margin-top:22px;
  padding-top:20px;
  font-size:10px;
  color:var(--wine);
}

.venue-map svg {
  width:17px;
  height:17px;
}

.venue-map>span {
  margin-left:auto;
  font-size:20px;
  transition:transform .2s;
}

.venue-map:hover>span {
  transform:translate(2px,-2px);
}

.wedding-closing {
  position:relative;
  text-align:center;
  background:#f0eadd;
  padding:65px 24px 61px;
  overflow:hidden;
}

.closing-rings {
  display:flex;
  justify-content:center;
  gap:0;
  margin:0 auto 25px;
  width:90px;
  height:48px;
}

.closing-rings span {
  width:45px;
  height:45px;
  border:1px solid var(--gold);
  border-radius:50%;
  transform:rotate(-20deg);
  margin:0 -5px;
}

.closing-rings span:last-child {
  transform:translateY(5px);
}

.wedding-closing .eyebrow {
  font-size:9px;
  color:var(--gold);
}

.wedding-closing h2 {
  font-family:var(--serif);
  color:var(--wine);
  font-size:45px;
  line-height:1.18;
  margin:17px 0;
}

.wedding-closing>p:not(.eyebrow) {
  font-size:11px;
  line-height:1.8;
  color:var(--muted);
}

.closing-signature {
  display:block;
  font-family:var(--script);
  color:var(--wine);
  font-size:49px;
  margin:28px 0 17px;
}

.closing-download {
  font-size:10px;
  display:inline-flex;
  align-items:center;
  gap:18px;
  padding:9px 0;
  border-bottom:1px solid #beac8b;
}

.event-footer {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  max-width:1280px;
  padding:28px 56px;
  margin:auto;
  font-size:9px;
  letter-spacing:.035em;
  color:var(--muted);
}

.event-footer>span {
  font-size:8px;
  letter-spacing:.13em;
}

.footer-dot {
  padding:0 10px;
  color:var(--gold);
}

.event-footer a:hover {
  color:var(--wine);
}

.wedding-music {
  position:fixed;
  right:20px;
  bottom:max(18px, env(safe-area-inset-bottom));
  z-index:20;
  width:auto;
  max-width:calc(100vw - 32px);
  border:1px solid var(--line);
  background:var(--paper);
  box-shadow:0 8px 35px #3e182b30;
  border-radius:32px;
  padding:10px 18px;
}

.wedding-music[hidden],.wedding-audio[hidden] {
  display:none;
}

.music-toggle {
  display:flex;
  align-items:center;
  gap:10px;
  color:var(--wine);
  background:transparent;
  border:0;
  padding:0;
  cursor:pointer;
  font-size:11px;
}

.music-note {
  color:var(--gold);
  font-family:var(--serif);
  font-size:24px;
  line-height:1;
}

.music-status {
  display:block;
  padding-left:27px;
  font-size:8px;
  color:var(--muted);
  margin-top:3px;
}

.music-toggle:disabled {
  opacity:.6;
  cursor:default;
}

.wedding-audio {
  display:block;
  max-width:calc(100vw - 44px);
  margin:0 auto 22px;
}

/* Deja espacio para el pequeño control de música al final de la invitación. */
.has-wedding-music .event-footer {
  padding-bottom:105px;
}

.invitation-dialog {
  border:none;
  padding:0;
  max-width:min(570px,calc(100vw - 24px));
  width:570px;
  max-height:92dvh;
  overflow:auto;
  background:var(--paper);
  box-shadow:0 20px 80px #16040b55;
  color:var(--ink);
}

.invitation-dialog::backdrop {
  background:#27141ee6;
  backdrop-filter:blur(5px);
}

.invitation-dialog img {
  display:block;
  width:100%;
  height:auto;
}

.dialog-toolbar {
  position:sticky;
  top:0;
  z-index:1;
  background:var(--paper);
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:12px 17px;
  border-bottom:1px solid var(--line);
}

.dialog-toolbar h2 {
  font-family:var(--serif);
  font-size:23px;
}

.dialog-toolbar button {
  border:none;
  background:transparent;
  color:var(--wine);
  cursor:pointer;
  display:flex;
  align-items:center;
  gap:12px;
  padding:8px;
  font-size:11px;
}

.dialog-toolbar button span {
  font-size:24px;
  line-height:1;
}

.events-brand {
  font-family:var(--serif);
  font-size:27px;
  color:var(--wine);
}

.events-brand>span {
  display:block;
  font-family:var(--sans);
  font-size:8px;
  letter-spacing:.19em;
  text-transform:uppercase;
  margin-top:5px;
  color:var(--gold);
}

.event-back {
  font-size:11px;
}

.event-back span {
  padding-left:13px;
  color:var(--gold);
}

.events-index {
  max-width:920px;
  margin:auto;
  padding:73px 32px 90px;
  min-height:calc(100vh - 170px);
}

.events-index>.eyebrow {
  color:var(--gold);
}

.events-index>h1 {
  font-family:var(--serif);
  font-size:91px;
  color:var(--wine);
  line-height:1.1;
  margin:8px 0 16px;
}

.gold-dot {
  color:var(--gold);
}

.events-intro {
  font-size:12px;
  color:var(--muted);
  line-height:1.9;
}

.event-entry {
  display:grid;
  grid-template-columns:220px 1fr;
  background:#f0eadd;
  margin-top:44px;
  transition:transform .35s,box-shadow .35s;
}

.event-entry:hover {
  transform:translateY(-5px);
  box-shadow:0 15px 35px #4c30200f;
}

.event-entry-image {
  padding:20px 24px;
  background:#e9dfcd;
  overflow:hidden;
}

.event-entry-image img {
  display:block;
  width:100%;
  box-shadow:0 5px 15px #3b181c18;
  transform:rotate(-4deg);
  transition:transform .4s;
}

.event-entry:hover img {
  transform:rotate(0deg);
}

.event-entry-content {
  padding:42px 38px;
  align-self:center;
}

.event-entry-content .eyebrow {
  color:var(--gold);
  font-size:9px;
}

.event-entry h2 {
  font-family:var(--script);
  font-size:49px;
  color:var(--wine);
  margin:13px 0 6px;
}

.event-entry p {
  font-size:12px;
  color:var(--muted);
}

.entry-action {
  display:flex;
  align-items:center;
  justify-content:space-between;
  border-top:1px solid #d7c9b3;
  padding-top:18px;
  margin-top:28px;
  font-size:11px;
  color:var(--wine);
}

.entry-action span {
  font-size:21px;
}

.reveal-ready {
  opacity:0;
  transform:translateY(19px);
  transition:opacity .75s,transform .75s;
}

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

.venue.reveal-ready:nth-child(2) {
  transition-delay:.12s;
}

@keyframes hero-enter {
  from {
    opacity:0;
    transform:translateY(20px);
  }
  to {
    opacity:1;
    transform:translateY(0);
  }
}

@keyframes scroll-guide {
  to {
    transform:translateY(220%);
  }
}

@media(min-width:1450px) {
  .event-header {
    max-width:1380px;
  }
  .wedding-hero {
    max-width:1380px;
    padding-left:124px;
    padding-right:124px;
  }
}

@media(max-width:1190px) {
  .event-header {
    margin:0 30px;
    padding-left:12px;
    padding-right:12px;
  }
  .wedding-hero {
    padding:60px 52px 100px;
  }
  .hero-art {
    min-height:540px;
  }
  .invitation-surround {
    width:310px;
  }
  .hero-art::before {
    right:-40px;
    left:45px;
  }
  .hero-art::after {
    right:0;
    left:10px;
  }
  .art-side-note {
    right:-14px;
  }
  .wax-seal {
    width:88px;
    height:88px;
    right:-6px;
  }
  .celebration-section {
    padding:75px 42px;
  }
  .scroll-cue {
    left:52px;
  }
  .hero-folio {
    right:52px;
  }
  #wedding-title {
    font-size:93px;
  }
  .section-heading h2 {
    font-size:44px;
  }
  .venue {
    padding:29px;
  }
  .venue h3 {
    font-size:31px;
  }
  .venue h4 {
    font-size:22px;
  }
}

@media(max-width:850px) {
  .wedding-hero {
    grid-template-columns:1fr 1fr;
    padding:50px 35px 90px;
    gap:0;
  }
  .hero-intro {
    font-size:8px;
    letter-spacing:.12em;
    gap:9px;
  }
  .short-line {
    width:16px;
  }
  #wedding-title {
    font-size:79px;
  }
  #wedding-title>span:last-child {
    margin-left:60px;
  }
  #wedding-title .name-and {
    margin-left:95px;
    font-size:36px;
  }
  .hero-kicker {
    font-size:24px;
  }
  .hero-message {
    font-size:11px;
  }
  .hero-date {
    gap:12px;
  }
  .hero-date time {
    font-size:28px;
    gap:9px;
  }
  .hero-date time span {
    font-size:8px;
  }
  .hero-art {
    min-height:480px;
  }
  .invitation-surround {
    width:260px;
    max-width:88%;
  }
  .hero-art::before {
    inset:25px -25px 22px 25px;
  }
  .hero-art::after {
    inset:5px -2px 15px 0;
  }
  .art-side-note {
    right:-8px;
    bottom:75px;
    font-size:7px;
  }
  .wax-seal {
    bottom:9px;
    width:73px;
    height:73px;
    font-size:24px;
  }
  .art-caption {
    left:5px;
    font-size:7px;
  }
  .wedding-nav {
    gap:22px;
    font-size:10px;
  }
  .nav-date {
    padding-left:20px;
  }
  .scroll-cue {
    left:35px;
    font-size:7px;
  }
  .hero-folio {
    right:35px;
    font-size:7px;
  }
  .celebration-section {
    padding:65px 30px;
  }
  .celebration-grid {
    gap:18px;
  }
  .venue {
    padding:25px;
  }
  .section-heading h2 {
    font-size:39px;
  }
  .section-heading>p {
    font-size:10px;
  }
  .venue h3 {
    font-size:29px;
  }
  .venue-time {
    font-size:28px;
    flex-wrap:wrap;
    gap:3px;
  }
  .venue-time>span {
    width:100%;
    min-height:14px;
  }
  .venue-ceremony .venue-time {
    padding-bottom:40px;
  }
  .venue-location {
    min-height:135px;
  }
  .venue h4 {
    font-size:22px;
  }
  .wedding-closing h2 {
    font-size:39px;
  }
  .event-footer {
    padding:26px 30px;
  }
}

@media(max-width:640px) {
  .wedding-music {
    right:16px;
    bottom:max(12px, env(safe-area-inset-bottom));
    max-width:calc(100vw - 32px);
  }
  html {
    scroll-padding-top:16px;
  }
  .event-header {
    height:79px;
    margin:0 22px;
    padding:0;
  }
  .couple-mark {
    font-size:28px;
  }
  .wedding-nav {
    gap:18px;
  }
  .wedding-nav>a:not(.nav-date) {
    font-size:9px;
  }
  .wedding-nav>a:first-child {
    display:none;
  }
  .nav-date {
    gap:7px;
    padding-left:16px;
    font-size:9px;
  }
  .nav-date svg {
    width:16px;
  }
  .wedding-hero {
    grid-template-columns:1fr;
    padding:36px 25px 69px;
    text-align:center;
    gap:37px;
  }
  .hero-copy {
    padding:0;
  }
  .hero-intro {
    justify-content:center;
    font-size:8px;
    letter-spacing:.17em;
  }
  .short-line {
    width:20px;
  }
  .hero-kicker {
    margin-top:21px;
    margin-bottom:9px;
    font-size:23px;
  }
  #wedding-title {
    font-size:88px;
    max-width:330px;
    margin:auto;
    text-align:left;
    width:292px;
  }
  #wedding-title .name-and {
    font-size:36px;
    line-height:.6;
    margin-left:129px;
    margin-bottom:3px;
  }
  #wedding-title>span:last-child {
    margin-left:100px;
  }
  .hero-message {
    margin-top:23px;
    font-size:11px;
  }
  .hero-date {
    justify-content:center;
    margin:22px 0;
    gap:15px;
  }
  .hero-date time {
    font-size:31px;
    gap:13px;
  }
  .hero-date time span {
    font-size:9px;
  }
  .hero-date>span {
    font-size:7px;
  }
  .event-button {
    font-size:11px;
    padding:15px 24px;
    gap:51px;
  }
  .hero-art {
    max-width:360px;
    width:100%;
    min-height:492px;
    margin:8px auto 0;
  }
  .invitation-surround {
    width:288px;
    max-width:83%;
  }
  .hero-art::before {
    inset:15px -24px 4px 32px;
  }
  .hero-art::after {
    inset:0 5px 0 2px;
  }
  .art-caption {
    left:4px;
    top:0;
  }
  .art-side-note {
    right:-6px;
    bottom:62px;
  }
  .wax-seal {
    bottom:-8px;
    right:0;
    width:78px;
    height:78px;
  }
  .invitation-hint {
    opacity:1;
    transform:none;
    padding:9px 13px;
    font-size:9px;
  }
  .scroll-cue {
    position:static;
    justify-content:center;
    font-size:6.5px;
    letter-spacing:.12em;
    margin-top:3px;
    gap:11px;
  }
  .scroll-line {
    height:25px;
  }
  .hero-folio {
    display:none;
  }
  .countdown-section {
    padding:49px 17px 37px;
  }
  .countdown-heading .eyebrow {
    font-size:8px;
  }
  .countdown-heading h2 {
    font-size:37px;
    margin-top:12px;
  }
  .countdown-heading>p:last-child {
    font-size:10px;
  }
  .countdown {
    gap:8px;
    margin:24px 0;
  }
  .countdown>div {
    width:62px;
    gap:5px;
  }
  .countdown [data-count] {
    font-size:48px;
  }
  .count-label {
    font-size:6px;
    letter-spacing:.14em;
  }
  .count-divider {
    font-size:22px;
    padding-top:8px;
  }
  .text-link {
    font-size:9px;
    gap:9px;
  }
  .text-link svg {
    width:14px;
    height:14px;
  }
  .text-link svg:last-child {
    margin-left:0;
  }
  .celebration-section {
    padding:55px 22px;
  }
  .section-heading {
    display:block;
    margin-bottom:27px;
  }
  .section-heading .eyebrow {
    font-size:8px;
  }
  .section-heading h2 {
    font-size:38px;
    margin-top:10px;
  }
  .section-heading>p {
    margin-top:14px;
    font-size:11px;
  }
  .section-heading>p br {
    display:none;
  }
  .celebration-grid {
    grid-template-columns:1fr;
    gap:19px;
  }
  .venue {
    padding:27px 28px;
  }
  .venue-top {
    margin-bottom:21px;
  }
  .venue h3 {
    font-size:34px;
  }
  .venue-time {
    font-size:31px;
    flex-wrap:nowrap;
    gap:15px;
    padding-bottom:22px;
  }
  .venue-time>span {
    width:auto;
    min-height:0;
    font-size:8px;
  }
  .venue-ceremony .venue-time {
    padding-bottom:22px;
  }
  .venue-location {
    min-height:0;
    padding-top:22px;
  }
  .venue h4 {
    font-size:25px;
  }
  .venue-location p {
    font-size:11px;
  }
  .venue-map {
    font-size:10px;
  }
  .wedding-closing {
    padding:46px 19px 43px;
  }
  .wedding-closing h2 {
    font-size:32px;
    line-height:1.25;
  }
  .wedding-closing>p:not(.eyebrow) {
    font-size:10px;
  }
  .closing-rings {
    transform:scale(.85);
    margin-bottom:16px;
  }
  .closing-signature {
    font-size:45px;
    margin:23px 0 15px;
  }
  .closing-download {
    font-size:9px;
  }
  .event-footer {
    padding:23px 22px;
    flex-wrap:wrap;
    gap:22px;
    font-size:9px;
  }
  .event-footer>span {
    order:3;
    width:100%;
    text-align:center;
    font-size:7px;
  }
  .event-footer>a:last-child {
    margin-left:auto;
  }
  .events-header .event-back {
    font-size:9px;
  }
  .events-brand {
    font-size:25px;
  }
  .events-brand>span {
    font-size:6px;
  }
  .events-index {
    padding:48px 22px 65px;
  }
  .events-index>h1 {
    font-size:73px;
  }
  .events-index>.eyebrow {
    font-size:8px;
  }
  .events-intro {
    font-size:11px;
  }
  .events-intro br {
    display:none;
  }
  .event-entry {
    grid-template-columns:1fr;
    margin-top:30px;
  }
  .event-entry-image {
    padding:23px 30px;
    max-height:285px;
    text-align:center;
  }
  .event-entry-image img {
    width:163px;
    margin:auto;
  }
  .event-entry-content {
    padding:28px;
  }
  .event-entry h2 {
    font-size:46px;
  }
  .entry-action {
    margin-top:22px;
  }
  .events-index+.event-footer>span {
    width:auto;
    order:0;
  }
  .invitation-dialog {
    max-height:90dvh;
  }
  .dialog-toolbar h2 {
    font-size:21px;
  }
}

@media(prefers-reduced-motion:reduce) {
  html {
    scroll-behavior:auto;
  }
  *,*::before,*::after {
    animation:none!important;
    transition:none!important;
  }
  .reveal-ready {
    opacity:1;
    transform:none;
  }
  .invitation-surround:hover,.event-entry:hover,.event-button:hover {
    transform:none;
  }
}

@media print {
  .event-header,.scroll-cue,.hero-folio,.hero-art,.countdown-section,.event-button,.venue-map,.closing-download,.event-footer,.invitation-dialog,.wedding-music,.wedding-audio {
    display:none;
  }
  .wedding-hero {
    display:block;
    padding:20px;
    text-align:center;
  }
  .hero-copy {
    animation:none;
  }
  .hero-intro,.hero-date {
    justify-content:center;
  }
  #wedding-title {
    margin:auto;
    font-size:70px;
    text-align:center;
  }
  #wedding-title>span:last-child,#wedding-title .name-and {
    margin-left:0;
  }
  .hero-kicker {
    margin-top:12px;
  }
  .celebration-section {
    padding:20px;
  }
  .celebration-grid {
    grid-template-columns:1fr 1fr;
  }
  .venue {
    break-inside:avoid;
  }
  .wedding-closing {
    padding:20px;
  }
  .wedding-closing h2 {
    font-size:28px;
  }
  .reveal-ready {
    opacity:1;
    transform:none;
  }
}
