/*
 * Amie & Trev — wedding invitation
 * Mobile first: base styles are for phones; min-width queries scale up.
 *
 * Palette: an evening on the Yulong River, and the paper it's printed on
 *   linen     #efe7da   the page behind the cards
 *   paper     #fbf7f0   cards
 *   envelope  #ebe8e2   soft grey linen (with assets/linen.webp)
 *   ink       #4a3f37   headings; #6b5f56 for body text
 *   muted     #9a8b79   small captions
 *   sage      #8a9b78   botanicals, icons, bullets
 *   bronze    #8b5e3c   buttons
 *   seal      dark bronze wax (assets/seal.webp, drawn by tools/seal.html)
 *
 * Type: Cormorant Garamond for everything, Pinyon Script for the flourishes,
 * and Italianno for the hero's "&".
 */

:root {
  --linen: #efe7da;
  --paper: #fbf7f0;
  --ink: #4a3f37;
  --ink-soft: #6b5f56;
  --muted: #9a8b79;
  --line: #e6dbc9;
  --sage: #8a9b78;
  --sage-deep: #61745a;
  --bronze: #8b5e3c;
  --bronze-deep: #6f4a2f;
  --tint: #f2e8d8; /* pills, tags, countdown */
  --field-border: #dacdb9;
  --error: #a8402f;

  --font-serif: "Cormorant Garamond", Garamond, "Times New Roman", serif;
  --font-script: "Pinyon Script", "Snell Roundhand", "Apple Chancery", cursive;

  --ease: cubic-bezier(.65, 0, .25, 1);
  --ease-out: cubic-bezier(.2, .7, .2, 1);
  --nav-h: 3.1rem;

  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .35 0 0 0 0 .27 0 0 0 0 .18 0 0 0 .07 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ------------------------------------------------------------------ Base */

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  background: var(--linen);
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--linen) var(--grain);
  color: var(--ink-soft);
  font-family: var(--font-serif);
  font-size: 1.1875rem; /* 19px: Cormorant is small on the body */
  font-weight: 500;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-tap-highlight-color: transparent;
}

.intro-active body { overflow: hidden; }

[hidden] { display: none !important; }

h1, h2, h3 { margin: 0; font-weight: 500; line-height: 1.15; color: var(--ink); }

p { margin: 0 0 1em; }

a { color: var(--bronze); text-underline-offset: .15em; }

b, strong { font-weight: 700; color: var(--ink); }

:focus-visible { outline: 2px solid var(--bronze); outline-offset: 3px; }

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 80;
  padding: .6rem 1rem;
  background: var(--paper);
  color: var(--ink);
}
.skip-link:focus { top: 1rem; }

/* A small heart between two hairlines */
.divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .7rem;
  color: var(--sage);
}
.divider::before, .divider::after {
  content: "";
  width: 3.2rem;
  height: 1px;
  background: currentColor;
  opacity: .55;
}
.divider svg { width: 1.05rem; height: 1.05rem; }
.divider--light { color: rgba(255, 246, 232, .9); }

/* --------------------------------------------------------------- Buttons */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  min-height: 3rem;
  padding: .7rem 1.5rem;
  border: 1px solid var(--bronze);
  border-radius: 3px;
  background: var(--bronze);
  color: #fff9f1;
  font: 600 1.0625rem/1 var(--font-serif);
  letter-spacing: .04em;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .2s, border-color .2s, color .2s;
}
.button:hover { background: var(--bronze-deep); border-color: var(--bronze-deep); }
.button:disabled { opacity: .7; cursor: progress; }

.button--ghost { background: transparent; color: var(--bronze); }
.button--ghost:hover { background: var(--bronze); color: #fff9f1; }

.button--block { width: 100%; }

.link-button {
  padding: .4rem 0;
  border: 0;
  background: none;
  color: var(--bronze);
  font: inherit;
  font-size: 1.0625rem;
  text-decoration: underline;
  text-underline-offset: .2em;
  cursor: pointer;
}

.actions { display: flex; flex-wrap: wrap; gap: .7rem; }
.actions--center { justify-content: center; }

.menu { position: relative; }
.menu > summary { list-style: none; }
.menu > summary::-webkit-details-marker { display: none; }
.menu > summary::after {
  content: "";
  width: .42em;
  height: .42em;
  margin: -.25em 0 0 .1em;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
  transition: transform .2s;
}
.menu[open] > summary::after { transform: translateY(.2em) rotate(-135deg); }

.menu__list {
  position: absolute;
  z-index: 5;
  left: 50%;
  top: calc(100% + .45rem);
  min-width: 15rem;
  display: grid;
  padding: .35rem;
  background: #fffdf9;
  border: 1px solid var(--line);
  border-radius: 6px;
  box-shadow: 0 12px 30px -12px rgba(74, 63, 55, .35);
  transform: translateX(-50%);
  text-align: left;
}
.menu__list a {
  padding: .75rem .9rem;
  border-radius: 4px;
  color: var(--ink);
  text-decoration: none;
}
.menu__list a:hover { background: var(--tint); }

/* ===================================================== The sealed envelope */

/* A soft grey linen envelope, like a real one from a stationer's: a woven
   paper texture (assets/linen.webp, multiplied over each surface), a flap that
   casts a crisp shadow, and a bronze wax seal stuck over its tip. */

.intro {
  --env-w: min(92vw, 34rem);
  --env-h: calc(var(--env-w) * .7);
  --flap-h: calc(var(--env-h) * .56);
  --linen: url("../assets/linen.webp") 0 0 / 256px 256px;
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: radial-gradient(120% 85% at 50% 40%, #faf9f7 0%, #efedea 60%, #e2dfda 100%);
}
.no-js .intro { display: none; }

.intro__stage {
  perspective: 1500px;
  /* leave room above the envelope for the flap to open into */
  padding-top: calc(var(--flap-h) * .55);
}

.envelope {
  --seal: calc(var(--env-w) * .18);
  position: relative;
  width: var(--env-w);
  height: var(--env-h);
  transform-style: preserve-3d;
  animation: envelope-in 1s var(--ease-out) both;
}

@keyframes envelope-in {
  from { opacity: 0; transform: translateY(14px) rotate(-1.5deg); }
  to { opacity: 1; transform: none; }
}

.envelope__body {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: 2px;
  background: var(--linen), linear-gradient(165deg, #f4f2ee, #ebe8e2);
  background-blend-mode: multiply, normal;
  box-shadow:
    0 1px 1px rgba(50, 44, 38, .12),
    0 12px 24px -12px rgba(50, 44, 38, .35),
    0 30px 56px -24px rgba(50, 44, 38, .28);
}

/* The painted liner: one scene running from the tip of the open flap down
   into the pocket, inset from the edges by a margin of paper. It's the same
   painting as the hero, so the zoom flows straight into it. */
.envelope__liner {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(-1 * var(--flap-h));
  height: calc(var(--env-h) + var(--flap-h));
  clip-path: inset(0 4.5% 0 4.5%);
  background: #6f6475 url("../assets/hero-painting.webp") 50% 40% / cover no-repeat;
}

.envelope__pocket {
  position: absolute;
  inset: 0;
  clip-path: polygon(0 0, 50% 44%, 100% 0, 100% 100%, 0 100%);
  background: var(--linen), linear-gradient(170deg, #f5f3ef 0%, #eeebe6 60%, #e8e5df 100%);
  background-blend-mode: multiply, normal;
}

.envelope__folds { position: absolute; inset: 0; width: 100%; height: 100%; }

/* (printed on the paper, so the weave shows through) */
.envelope__sprig {
  position: absolute;
  bottom: 3%;
  width: 24%;
  height: 42%;
  opacity: .8;
  mix-blend-mode: multiply;
}
.envelope__sprig--left { left: 1%; }
.envelope__sprig--right { right: 1%; transform: scaleX(-1); }
.envelope__sprig svg { width: 100%; height: 100%; display: block; }

.envelope__invited {
  position: absolute;
  left: 0;
  right: 0;
  top: 71%;
  margin: 0;
  color: #4f4842;
  font: 400 calc(var(--env-w) * .064)/1 var(--font-script);
  text-align: center;
  mix-blend-mode: multiply;
}

.envelope__hint {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 7%;
  margin: 0;
  color: #7c756d;
  font: 600 calc(var(--env-w) * .026)/1 var(--font-serif);
  letter-spacing: .28em;
  text-align: center;
  text-transform: uppercase;
  animation: hint 2.8s ease-in-out 1.2s infinite;
}

/* It pulses (and fades when tapped, in main.js) by its colour, not its
   opacity: animating opacity gives it a layer of its own, which makes iPhones
   juggle the pocket's clipped shape, and the pocket blinked out while the flap
   turned over. */
@keyframes hint {
  0%, 100% { color: rgba(124, 117, 109, .55); }
  50% { color: rgb(124, 117, 109); }
}

/* The flap folds up and over from the top edge */
.envelope__flap {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: var(--flap-h);
  transform-origin: 50% 0;
  transform-style: preserve-3d;
  transform: translateZ(1px);
}

.envelope__flap-front,
.envelope__flap-back {
  position: absolute;
  inset: 0;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

/* The flap's shadow: a fine dark line right along its edge, as in a photo of
   a real envelope, and a soft one beneath. (It's on a wrapper so the
   triangle's clip doesn't cut it off, and the wrapper holds only the paper:
   on iPhones a filter makes everything inside it redraw whenever any of it
   moves, so the seal stays outside.) */
.envelope__flap-shadow {
  position: absolute;
  inset: 0;
  filter:
    drop-shadow(0 .8px .3px rgba(40, 34, 28, .7))
    drop-shadow(0 2.5px 3px rgba(40, 34, 28, .18));
}

.envelope__flap-paper {
  position: absolute;
  inset: 0;
  /* (a gently rounded point, like a real flap) */
  clip-path: polygon(0 0, 100% 0, 52% 97.5%, 51% 99.2%, 50% 100%, 49% 99.2%, 48% 97.5%);
  background: var(--linen), linear-gradient(to bottom, #f7f5f2 0%, #f1eee9 65%, #ece9e3 100%);
  background-blend-mode: multiply, normal;
}

.envelope__flap-back {
  transform: rotateX(180deg);
  clip-path: polygon(50% 0, 100% 100%, 100% calc(100% + 3px), 0 calc(100% + 3px), 0 100%); /* overlaps the fold a touch, so no seam shows */
  background: var(--linen), #eeebe6;
  background-blend-mode: multiply, normal;
}
/* The flap's share of the liner: the top of the scene, inside a paper margin.
   (35.9% is where the flap meets the envelope: .56 / 1.56 of the liner's height.) */
.envelope__liner--flap {
  top: 0;
  clip-path: polygon(50% 3%, 98% 37.7%, 2% 37.7%); /* runs just past the fold, so no seam */
}

/* The wax seal, stuck over the tip of the flap (mostly below it, on the pocket) */
.seal {
  position: absolute;
  left: 50%;
  top: 100%;
  width: var(--seal);
  height: var(--seal);
  margin: calc(var(--seal) * -.38) 0 0 calc(var(--seal) / -2);
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: none;
  cursor: pointer;
  transform-origin: 50% 30%; /* where it gives under your thumb */
}
.seal:focus-visible { outline: 2px solid var(--bronze); outline-offset: 4px; }

.seal__wax,
.seal__shadow {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
}
/* Each shadow is a copy of the wax with a drop shadow, under the clean wax, so
   only its shadow shows. Pressed into the paper at rest; lifting, then high,
   as the seal peels away (main.js fades from one to the next). */
.seal__shadow--rest { filter: drop-shadow(0 1px .6px rgba(36, 22, 8, .55)) drop-shadow(0 3px 4px rgba(36, 22, 8, .25)); }
.seal__shadow--lift { filter: drop-shadow(0 5px 2.5px rgba(36, 22, 8, .42)) drop-shadow(0 11px 10px rgba(36, 22, 8, .22)); opacity: 0; }
.seal__shadow--high { filter: drop-shadow(0 7px 4px rgba(36, 22, 8, .28)) drop-shadow(0 16px 14px rgba(36, 22, 8, .12)); opacity: 0; }

/* The underside of the seal: faces away until the flap has opened */
.seal-back {
  position: absolute;
  left: 50%;
  top: 100%;
  width: var(--seal);
  height: var(--seal);
  margin: calc(var(--seal) * -.38) 0 0 calc(var(--seal) / -2);
  transform: translateZ(.5px) rotateX(180deg);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  pointer-events: none;
}

/* ================================================================== Nav */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  display: flex;
  justify-content: center;
  gap: clamp(.85rem, 4vw, 2.75rem);
  padding: max(.55rem, env(safe-area-inset-top)) .75rem .55rem;
  color: #fff;
  font: 600 .6875rem/1 var(--font-serif);
  letter-spacing: .16em;
  text-transform: uppercase;
  transition: background-color .35s, color .35s, box-shadow .35s;
}

.nav a {
  position: relative;
  padding: .75rem .1rem;
  color: inherit;
  text-decoration: none;
  white-space: nowrap;
  text-shadow: 0 1px 8px rgba(20, 24, 44, .35);
}
.nav a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: .35rem;
  width: 1.1rem;
  height: 1px;
  background: currentColor;
  transform: translateX(-50%) scaleX(0);
  transition: transform .3s var(--ease-out);
}
.nav a[aria-current]::after { transform: translateX(-50%) scaleX(1); }

.nav.is-solid {
  background: rgba(251, 247, 240, .94);
  color: var(--ink);
  box-shadow: 0 1px 0 var(--line), 0 8px 20px -16px rgba(74, 63, 55, .5);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.nav.is-solid a { text-shadow: none; }

/* ================================================================== Hero */

/* The painting of sunset on the river (its words were painted out so the
   real text can sit over it). */
.hero {
  --scene-h: max(100svh, 34rem);
  position: relative;
  height: var(--scene-h);
  overflow: hidden;
  background: #6f6475 url("../assets/hero-painting.webp") 50% 50% / cover no-repeat;
  color: #fff8ee;
  text-align: center;
}

/* A little shade at the top so the menu reads over the sky, and a soft
   darkening behind the words */
.hero::before,
.hero::after {
  content: "";
  position: absolute;
  pointer-events: none;
}
.hero::before {
  inset: 0;
  background: radial-gradient(ellipse 70% 38% at 50% 38%, rgba(48, 36, 52, .28), rgba(48, 36, 52, 0) 70%);
}
.hero::after {
  inset: 0 0 auto;
  height: 7rem;
  background: linear-gradient(rgba(30, 28, 44, .4), rgba(30, 28, 44, 0));
}

/* The fireworks only show in the sky, so they rise from behind the peaks */
.hero__fireworks {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  -webkit-mask: url("../assets/hero-sky-mask.svg") 50% 50% / cover no-repeat;
  mask: url("../assets/hero-sky-mask.svg") 50% 50% / cover no-repeat;
}

.twinkle { animation: twinkle 4s ease-in-out infinite; }
@keyframes twinkle { 0%, 100% { opacity: .2; } 50% { opacity: .8; } }

.hero__content {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: calc(var(--scene-h) * .15) 1.25rem 0;
  text-shadow: 0 2px 18px rgba(40, 28, 44, .5), 0 1px 3px rgba(40, 28, 44, .25);
  pointer-events: none;
}

.hero__heading { display: flex; flex-direction: column; align-items: center; color: inherit; font-weight: 500; }

.hero__pre,
.closing__pre {
  margin-bottom: .2em;
  font: 500 clamp(1rem, 4.3vw, 1.75rem)/1.2 var(--font-serif);
  letter-spacing: .3em;
  text-transform: uppercase;
  margin-right: -.3em; /* balance the tracking */
}

.hero__title {
  font: 400 clamp(3.7rem, 17.5vw, 7.6rem)/1.2 var(--font-script);
}

/* A line, a small diamond, a line */
.divider--diamond { gap: .55rem; }
.divider--diamond::before,
.divider--diamond::after { width: clamp(3.5rem, 19vw, 7.5rem); opacity: .8; }
.divider--diamond i {
  width: .5rem;
  height: .5rem;
  border: 1.3px solid currentColor;
  transform: rotate(45deg);
}
.hero .divider,
.closing .divider { filter: drop-shadow(0 1px 4px rgba(40, 28, 44, .45)); }

.hero__names {
  margin: .05em 0 0;
  font: 400 clamp(3.4rem, 16vw, 7rem)/1.25 var(--font-script);
}
/* (Pinyon's ampersand is very ornate; Italianno, already loaded for the seal, has a classic one) */
.hero__amp { font-family: "Italianno", var(--font-script); font-size: .78em; }

.hero__meta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .1rem;
  margin: 0 0 .85rem;
  text-transform: uppercase;
}
.hero__place {
  font: 600 clamp(.95rem, 4.3vw, 1.9rem)/1.4 var(--font-serif);
  letter-spacing: .16em;
  margin-right: -.16em;
}
.hero__date {
  font: 500 clamp(1.15rem, 5.4vw, 2.3rem)/1.3 var(--font-serif);
  letter-spacing: .1em;
  margin-right: -.1em;
  font-variant-numeric: lining-nums;
}

/* "Scroll to explore", with a chevron nudging downwards */
.hero__cue {
  position: absolute;
  z-index: 2;
  left: 50%;
  bottom: calc(env(safe-area-inset-bottom) + .9rem);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .15rem;
  padding: .5rem 1rem;
  transform: translateX(-50%);
  /* White, with a soft dark halo: it sits over the sunlit river, the
     brightest part of the painting */
  color: #fff;
  font: 600 .75rem/1.2 var(--font-serif);
  letter-spacing: .3em;
  text-decoration: none;
  text-transform: uppercase;
  text-shadow: 0 1px 2px rgba(30, 20, 30, .55), 0 0 12px rgba(30, 20, 30, .65);
  white-space: nowrap;
}
.hero__cue span { margin-right: -.3em; }
.hero__cue svg {
  width: 1.5rem;
  height: 1.5rem;
  filter: drop-shadow(0 1px 2px rgba(30, 20, 30, .55)) drop-shadow(0 0 6px rgba(30, 20, 30, .5));
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  animation: cue 2.2s ease-in-out infinite;
}
@keyframes cue {
  0%, 100% { transform: translateY(-3px); opacity: .6; }
  50% { transform: translateY(4px); opacity: 1; }
}

/* Entrance, once the envelope has opened. (Fading and moving only: an animated
   blur here made iPhones redraw the words on every frame, and the opening
   stuttered.) */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(12px);
}
.js .hero__cue[data-reveal] { transform: translate(-50%, 12px); }
.js.hero-ready .hero__cue[data-reveal] { transform: translateX(-50%); }
.js.hero-ready [data-reveal] {
  opacity: 1;
  transform: none;
  transition: opacity 1.1s ease var(--d, 0s), transform 1.3s var(--ease-out) var(--d, 0s);
}

/* ============================================================= Sections */

/* One continuous scroll of cards; the menu links jump to each section. */
main {
  display: grid;
  gap: .85rem;
  padding: 1rem .65rem 1.75rem;
}
main:focus { outline: none; }

.section {
  display: grid;
  gap: .85rem;
  width: 100%;
  max-width: 42rem;
  margin: 0 auto;
  scroll-margin-top: calc(var(--nav-h) + .75rem);
}

.card {
  position: relative;
  overflow: hidden;
  padding: 2.3rem 1.35rem 2.4rem;
  background: var(--paper) var(--grain);
  border: 1px solid var(--line);
  border-radius: 4px;
  box-shadow: 0 1px 2px rgba(90, 70, 40, .05);
  scroll-margin-top: calc(var(--nav-h) + .75rem);
}
.card > * { position: relative; z-index: 1; }
.card--centered { text-align: center; }

.card__head { margin-bottom: 1.5rem; text-align: center; }
.card__title {
  font: 400 2.1rem/1.12 var(--font-serif);
  letter-spacing: .01em;
}
.card__title--script {
  margin-bottom: 1.1rem;
  font: 400 3.3rem/1.3 var(--font-script);
}
.card__sub {
  margin: .6rem 0 0;
  color: var(--muted);
  font: 600 .6875rem/1.6 var(--font-serif);
  letter-spacing: .22em;
  text-transform: uppercase;
}
.card__lead {
  margin: 0 0 .5rem;
  font: 600 1.25rem/1.3 var(--font-serif);
}
.card__note {
  margin: 1.25rem 0 0;
  color: var(--muted);
  font-size: 1.0625rem;
  font-style: italic;
}

/* Painted sprigs tucked into a corner */
.card .card__deco {
  position: absolute;
  z-index: 0;
  width: 7.5rem;
  height: 8rem;
  pointer-events: none;
}
.card__deco svg { width: 100%; height: 100%; display: block; }
.card__deco--right { right: -.6rem; bottom: -.4rem; transform: scaleX(-1); }
.card .card__deco--small { width: 5.5rem; height: 6rem; opacity: .85; }
.card .card__deco--left-top { left: -.8rem; top: -.6rem; width: 7rem; transform: rotate(180deg) scaleX(-1); }

/* A faint watercolour range along the foot of a card */
.card--hills { padding-bottom: 6rem; }
.card .card__hills {
  position: absolute;
  z-index: 0;
  left: 0;
  right: 0;
  bottom: 0;
  height: 5.5rem;
  pointer-events: none;
}
.card__hills svg { width: 100%; height: 100%; display: block; }

.card .divider { margin-top: 1.5rem; }

.photo { margin: 0 0 1.4rem; }
.photo img,
.explore img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 2px;
  background: linear-gradient(160deg, #e8dfcf, #d9cdb9);
  filter: saturate(.92) sepia(.06);
}
/* Section photos keep their own shape; the Exploring pictures are cropped to
   a common shape, each around its own focal point (--focus, set in the HTML). */
.explore img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: var(--focus, 50% 50%);
}

/* -------------------------------------------------------------- Home */

.card--letter p { max-width: 30rem; margin-left: auto; margin-right: auto; }

.signoff { margin: 1.6rem 0 0; color: var(--ink); font: 400 2rem/1.25 var(--font-script); }
.signoff span { display: block; }

.big-date {
  margin: 0 0 1.4rem;
  color: var(--ink);
  font: 400 1.85rem/1.2 var(--font-serif);
}

.countdown {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: .45rem;
  margin: 0 auto 1.6rem;
  max-width: 24rem;
}
.countdown__unit {
  margin: 0;
  padding: .6rem 0 .5rem;
  background: var(--tint);
  border-radius: 4px;
  line-height: 1.1;
}
.countdown__num {
  display: block;
  color: var(--ink);
  font: 500 1.75rem/1.1 var(--font-serif);
  font-variant-numeric: lining-nums tabular-nums;
}
.countdown__label { color: var(--muted); font-size: .875rem; font-style: italic; }
.countdown__done { margin: 0; color: var(--ink); font: 400 2.2rem/1.2 var(--font-script); }

/* ------------------------------------------------------- Our wedding */

.address { font-size: 1.0625rem; }

/* ------------------------------------------------------- Travel guide */

.ways { margin: 0; padding: 0; list-style: none; }
.ways li {
  display: grid;
  grid-template-columns: 2.2rem 1fr;
  gap: .9rem;
  padding: 1.15rem 0;
  border-top: 1px solid var(--line);
}
.ways li:first-child { border-top: 0; padding-top: 0; }
.ways__icon { width: 2.1rem; height: 2.1rem; margin-top: .1rem; color: var(--sage-deep); }
.ways h3 { margin-bottom: .3rem; font: 600 1.2rem/1.3 var(--font-serif); }
.ways p { margin: 0 0 .5rem; }

.tags { display: flex; flex-wrap: wrap; gap: .4rem; }
.tag {
  padding: .2rem .7rem;
  background: var(--tint);
  border-radius: 999px;
  font-size: .9375rem;
  line-height: 1.6;
}
.tag b { margin-left: .15rem; }

.stay__cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .6rem 1rem;
  margin: 1.4rem 0 0;
}

/* A grid of pictures; tapping one reveals its blurb in a panel beneath that
   row. (The panel follows its picture in the HTML and spans the full width;
   dense packing lets the rest of the row fill in around it.) */
.explore {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-auto-flow: row dense;
  gap: 1rem .6rem;
  margin-top: 1.2rem;
}

.explore__hint {
  margin: -.4rem 0 0;
  color: var(--muted);
  font-size: 1rem;
  font-style: italic;
  text-align: center;
}
.no-js .explore__hint { display: none; }

.explore__tile {
  position: relative;
  display: block;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  color: var(--ink-soft);
  font: inherit;
  text-align: center;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.no-js .explore__tile { cursor: default; }
.explore__tile img { transition: transform .5s var(--ease-out), box-shadow .3s; }
.explore__tile:hover img { transform: translateY(-2px); box-shadow: 0 10px 20px -14px rgba(74, 63, 55, .6); }

/* a small + on each picture, turning to × while its blurb is open */
.js .explore__tile::after {
  content: "";
  position: absolute;
  top: .4rem;
  right: .4rem;
  width: 1.7rem;
  height: 1.7rem;
  border-radius: 50%;
  background:
    linear-gradient(var(--ink), var(--ink)) center / .7rem 1.5px no-repeat,
    linear-gradient(var(--ink), var(--ink)) center / 1.5px .7rem no-repeat,
    rgba(251, 247, 240, .88);
  box-shadow: 0 2px 6px -2px rgba(40, 30, 20, .4);
  transition: transform .3s var(--ease-out);
}
.explore__tile[aria-expanded="true"]::after { transform: rotate(45deg); }
.explore__tile[aria-expanded="true"] img { outline: 2px solid var(--bronze); outline-offset: 2px; }
.explore__tile[aria-expanded="true"] .explore__name { color: var(--ink); font-weight: 700; }

.explore__name {
  display: block;
  margin-top: .4rem;
  font: italic 500 1rem/1.25 var(--font-serif);
}

.explore__tile--wide { grid-column: 1 / -1; }
.explore .explore__tile--wide img { aspect-ratio: 2 / 1; }

.explore__detail {
  position: relative;
  grid-column: 1 / -1;
  margin-top: -.2rem;
  padding: 1rem 1rem 1.15rem;
  background: var(--tint);
  border: 1px solid #e3d5bf;
  border-radius: 4px;
}
.js .explore__detail:not(.is-open) { display: none; }
.explore__detail.is-open { animation: reveal .45s var(--ease-out) both; }
@keyframes reveal {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: none; }
}

/* the little notch pointing up at the picture that was tapped */
.js .explore__detail::before {
  content: "";
  position: absolute;
  top: -7px;
  left: var(--notch, 50%);
  width: 12px;
  height: 12px;
  margin-left: -6px;
  background: var(--tint);
  border-top: 1px solid #e3d5bf;
  border-left: 1px solid #e3d5bf;
  transform: rotate(45deg);
}

.explore__gallery { margin-bottom: .9rem; }
.explore .explore__photo { transition: opacity .2s ease; }
.explore .explore__photo.is-swapping { opacity: 0; }

/* More photos: tap one to see it above */
.explore__thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: .4rem;
  margin-top: .45rem;
}
.explore__thumb {
  position: relative;
  padding: 0;
  border: 0;
  border-radius: 3px;
  background: none;
  cursor: pointer;
  opacity: .62;
  transition: opacity .2s;
}
.explore__thumb:hover { opacity: .9; }
.explore__thumb[aria-pressed="true"] { opacity: 1; }
.explore__thumb[aria-pressed="true"]::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 2px solid var(--bronze);
  border-radius: 3px;
}
.no-js .explore__thumb { cursor: default; opacity: 1; }
.explore__text h3 { margin: 0 2rem .4rem 0; font: 600 1.3rem/1.25 var(--font-serif); }
.explore__text p { margin: 0; font-size: 1.0625rem; line-height: 1.55; }
.explore__text .explore__credit { margin-top: .6rem; color: var(--muted); font-size: .8125rem; line-height: 1.45; }
.explore__credit a { color: inherit; }

.explore__close {
  position: absolute;
  z-index: 1;
  top: 1.45rem;
  right: 1.45rem;
  width: 2.2rem;
  height: 2.2rem;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(251, 247, 240, .9);
  color: var(--ink);
  cursor: pointer;
  box-shadow: 0 2px 6px -2px rgba(40, 30, 20, .4);
}
.explore__close svg { width: 1.1rem; height: 1.1rem; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; }
.no-js .explore__close { display: none; }

.apps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.1rem .35rem;
  margin: 0 0 1.75rem;
  padding: 0;
  list-style: none;
  text-align: center;
}
.apps li { display: flex; flex-direction: column; align-items: center; }
.app__icon {
  width: 2.7rem;
  height: 2.7rem;
  margin-bottom: .45rem;
  display: grid;
  place-items: center;
  border-radius: .7rem;
  color: #fff;
  font: 600 1.25rem/1 system-ui, -apple-system, "PingFang SC", sans-serif;
  box-shadow: 0 2px 6px -2px rgba(60, 50, 40, .35);
}
.app__icon svg { width: 1.6rem; height: 1.6rem; }
.app__icon--alipay { background: #1677ff; }
.app__icon--didi { background: #ff7a1f; }
.app__icon--wechat { background: #07c160; }
.app__icon--trip { background: #287dfa; font-style: italic; }
.app__icon--translate { background: #4285f4; }
.app__icon--amap { background: linear-gradient(160deg, #3d8bff, #1a5fe0); }
.app__icon--amap svg { width: 1.35rem; height: 1.35rem; transform: rotate(12deg); }
.app__name { color: var(--ink); font: 700 .8125rem/1.2 var(--font-serif); }
.app__use {
  margin-top: .2rem;
  color: var(--muted);
  font: 600 .5625rem/1.3 var(--font-serif);
  letter-spacing: .12em;
  text-transform: uppercase;
}

.tips { margin: 0; }
.tips div { padding: .55rem 0; border-top: 1px solid var(--line); line-height: 1.5; }
.tips div:first-child { border-top: 0; }
.tips dt { display: inline; color: var(--ink); font-weight: 700; }
.tips dd { display: inline; margin: 0; }

/* ---------------------------------------------------------------- FAQ */

.faq__item { border-top: 1px solid var(--line); scroll-margin-top: calc(var(--nav-h) + .75rem); }
.faq__item:last-child { border-bottom: 1px solid var(--line); }
.faq__item summary {
  display: grid;
  grid-template-columns: .9rem 1fr 1rem;
  align-items: center;
  gap: .6rem;
  padding: .95rem 0;
  color: var(--ink);
  font: 600 1.125rem/1.35 var(--font-serif);
  list-style: none;
  cursor: pointer;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::before {
  content: "";
  justify-self: center;
  width: .4rem;
  height: .4rem;
  background: var(--sage);
  transform: rotate(45deg);
}
.faq__item summary::after {
  content: "+";
  justify-self: end;
  color: var(--muted);
  font: 400 1.5rem/1 var(--font-serif);
  transition: transform .25s var(--ease-out);
}
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__a { padding: 0 1.6rem .6rem 1.5rem; }

/* Bank details, in the gifts answer */
.bank {
  display: grid;
  gap: .75rem;
  margin: 0 0 .9rem;
  padding: .9rem 1.1rem 1rem;
  border: 1px solid var(--line);
  border-radius: 3px;
  background: rgba(255, 255, 255, .5);
}
.bank__row { display: grid; gap: .05rem; }
.bank dt { color: var(--muted); font-size: .95rem; }
.bank dd {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: .1rem 1rem;
  margin: 0;
  color: var(--ink);
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: .03em;
  font-variant-numeric: lining-nums tabular-nums;
}
.bank__copy {
  min-width: 3.3em; /* room for "Copied", so it doesn't jump lines when tapped */
  padding: .35rem 0;
  text-align: left;
  border: 0;
  background: none;
  color: var(--bronze);
  font: 600 1rem/1 var(--font-serif);
  letter-spacing: .02em;
  text-decoration: underline;
  text-underline-offset: .2em;
  cursor: pointer;
}
.bank__copy:hover { color: var(--bronze-deep); }

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* --------------------------------------------------------------- RSVP */

.field { margin: 0 0 1.4rem; padding: 0; border: 0; min-width: 0; }

.field__label {
  display: block;
  margin-bottom: .4rem;
  padding: 0;
  color: var(--ink);
  font-size: 1.1875rem;
  font-weight: 600;
}
.field__optional { color: var(--muted); font-weight: 500; }
.field__hint { margin: -.25rem 0 .5rem; color: var(--muted); font-size: 1rem; line-height: 1.45; }
.field__error { margin: .4rem 0 0; color: var(--error); font-size: 1rem; }
.field__error:empty { display: none; }

.input {
  display: block;
  width: 100%;
  min-height: 3.1rem;
  padding: .7rem .9rem;
  border: 1px solid var(--field-border);
  border-radius: 4px;
  background: #fffdf9;
  color: var(--ink);
  font: 500 1.1875rem/1.4 var(--font-serif); /* 19px: big enough that iOS doesn't zoom on focus */
  transition: border-color .15s, box-shadow .15s;
  -webkit-appearance: none;
  appearance: none;
}
textarea.input { min-height: 7.5rem; resize: vertical; line-height: 1.5; }
.input::placeholder { color: #a99b8b; font-style: italic; }
.input:focus { outline: none; border-color: var(--bronze); box-shadow: 0 0 0 3px rgba(139, 94, 60, .16); }
.has-error .input { border-color: var(--error); }
.has-error .input:focus { box-shadow: 0 0 0 3px rgba(168, 64, 47, .16); }

/* A dropdown (setupDropdown in main.js): a button styled like the inputs, and
   its list, which always opens just below it */
.dropdown { position: relative; }
.dropdown__button {
  position: relative;
  padding-right: 2.75rem;
  text-align: left;
  cursor: pointer;
}
/* its arrow, which turns over while the list is open */
.dropdown__button::after {
  content: "";
  position: absolute;
  top: 50%;
  right: .85rem;
  width: 1.15rem;
  height: 1.15rem;
  margin-top: -.575rem;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 9.5l6 6 6-6' fill='none' stroke='%238b5e3c' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
  transition: transform .2s var(--ease-out);
}
.dropdown.is-open .dropdown__button { border-color: var(--bronze); box-shadow: 0 0 0 3px rgba(139, 94, 60, .16); }
.dropdown.is-open .dropdown__button::after { transform: rotate(180deg); }
/* "Choose your nights" reads like a placeholder until something's picked */
.dropdown.is-empty .dropdown__value { color: #a99b8b; font-style: italic; }

.dropdown__list {
  position: absolute;
  z-index: 20;
  top: calc(100% + .35rem);
  left: 0;
  right: 0;
  margin: 0;
  padding: .3rem 0;
  list-style: none;
  border: 1px solid var(--field-border);
  border-radius: 4px;
  background: #fffdf9;
  box-shadow: 0 14px 28px -14px rgba(74, 63, 55, .45), 0 2px 6px -2px rgba(74, 63, 55, .12);
  /* (room below it when it's scrolled into view, clear of the music button) */
  scroll-margin-bottom: 1.5rem;
}
.dropdown__list:focus { outline: none; }
.dropdown__list:not([hidden]) { animation: reveal .18s var(--ease-out) both; }
/* the open list sits over the questions below it */
.field:has(.dropdown.is-open) { position: relative; z-index: 10; }

.dropdown__option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  min-height: 3rem;
  padding: .55rem .9rem;
  color: var(--ink);
  font: 500 1.1875rem/1.35 var(--font-serif);
  cursor: pointer;
}
.dropdown__option.is-active { background: #f8efe3; }
/* (a bronze bar marks the highlighted option when using the keyboard) */
.dropdown__list:focus-visible .dropdown__option.is-active { box-shadow: inset 3px 0 0 var(--bronze); }
/* the chosen one is ticked, like the checkboxes */
.dropdown__option[aria-selected="true"]::after {
  content: "";
  flex: none;
  width: .7rem;
  height: .38rem;
  margin: -.2rem .15rem 0 0;
  border-left: 2px solid var(--bronze);
  border-bottom: 2px solid var(--bronze);
  transform: rotate(-45deg);
}

/* The questions for people who are coming appear once they say yes */
.rsvp__extras:not([hidden]),
.field__more:not([hidden]) { animation: reveal .4s var(--ease-out) both; }

/* The choice of nights hangs off the accommodation box it belongs to */
.field__more {
  margin: .9rem 0 0 .6rem;
  padding: .1rem 0 .1rem 1rem;
  border-left: 2px solid var(--line);
}

.choices { display: grid; gap: .55rem; }

.choice {
  position: relative;
  display: flex;
  align-items: center;
  gap: .8rem;
  min-height: 3.2rem;
  padding: .7rem 1rem;
  border: 1px solid var(--field-border);
  border-radius: 4px;
  background: #fffdf9;
  color: var(--ink);
  line-height: 1.35;
  cursor: pointer;
  transition: border-color .15s, background-color .15s;
}
.choice input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; }

.choice__mark {
  flex: none;
  width: 1.25rem;
  height: 1.25rem;
  display: grid;
  place-items: center;
  border: 1.5px solid #ab9c8a;
  border-radius: 50%;
  background: #fff;
  transition: border-color .15s, background-color .15s;
}
.choice__mark::after {
  content: "";
  width: .6rem;
  height: .6rem;
  border-radius: 50%;
  background: var(--bronze);
  transform: scale(0);
  transition: transform .18s var(--ease-out);
}
.choice input:checked + .choice__mark { border-color: var(--bronze); }
.choice input:checked + .choice__mark::after { transform: scale(1); }
.choice input:focus-visible + .choice__mark { outline: 2px solid var(--bronze); outline-offset: 3px; }
.choice:has(input:checked) { border-color: var(--bronze); background: #f8efe3; }
.has-error .choice { border-color: var(--error); }

.choice--check { align-items: flex-start; }
.choice--check .choice__mark { border-radius: 3px; margin-top: .1rem; }
.choice--check .choice__mark::after {
  width: .65rem;
  height: .35rem;
  margin-top: -.15rem;
  border-radius: 0;
  background: none;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(-45deg) scale(0);
}
.choice--check input:checked + .choice__mark { background: var(--bronze); }
.choice--check input:checked + .choice__mark::after { transform: rotate(-45deg) scale(1); }

/* The reply-by date, under the heading */
.rsvp__by { margin: -.4rem 0 1.9rem; text-align: center; }
.rsvp__deadline {
  margin: 0;
  color: var(--ink);
  font-size: 1.3125rem;
  font-weight: 700;
  font-variant-numeric: lining-nums;
}
.rsvp__dibs { margin: .3rem 0 0; color: var(--muted); font-size: 1rem; line-height: 1.45; }

.rsvp__status { margin: 1rem 0 0; font-size: 1rem; }
.rsvp__status:empty { display: none; }
.rsvp__status.is-error { color: var(--error); }

.rsvp__done { padding: .5rem 0; text-align: center; }
.rsvp__done:focus { outline: none; }
.rsvp__seal {
  width: 5rem;
  height: 5rem;
  margin-bottom: .75rem;
  overflow: visible;
  filter: drop-shadow(0 2px 2px rgba(70, 46, 14, .35));
  animation: seal-press .6s cubic-bezier(.3, 1.4, .5, 1) both;
}
.rsvp__done-title { margin-bottom: .6rem; font: 400 2.6rem/1.3 var(--font-script); }
.rsvp__done p { max-width: 30rem; margin: 0 auto 1.1rem; }

@keyframes seal-press {
  from { opacity: 0; transform: scale(1.6) rotate(-10deg); }
  to { opacity: 1; transform: none; }
}

/* ======================================================= Closing scene */

/* The hero's painting again, with the words set the same way, so the page
   ends where it began */
.closing {
  position: relative;
  height: clamp(26rem, 112vw, 40rem);
  overflow: hidden;
  background: #6f6475 url("../assets/hero-painting.webp") 50% 40% / cover no-repeat;
  color: #fff8ee;
  text-align: center;
}
.closing::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 75% 34% at 50% 24%, rgba(48, 36, 52, .3), rgba(48, 36, 52, 0) 70%);
  pointer-events: none;
}
.closing__content {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: clamp(3rem, 14vw, 5.5rem) 1.25rem 0;
  text-shadow: 0 2px 18px rgba(40, 28, 44, .5), 0 1px 3px rgba(40, 28, 44, .25);
}
.closing__text { display: flex; flex-direction: column; align-items: center; margin: 0 0 .6rem; }
.closing__title { font: 400 clamp(3rem, 13.5vw, 6rem)/1.15 var(--font-script); }

.colophon {
  padding: 1.4rem 1rem calc(env(safe-area-inset-bottom) + 5rem);
  color: var(--muted);
  font-size: .9375rem;
  text-align: center;
}
.colophon p { margin: 0 0 .5rem; }

/* ========================================================== Music toggle */

.music-toggle {
  position: fixed;
  right: max(1rem, env(safe-area-inset-right));
  bottom: max(1rem, env(safe-area-inset-bottom));
  z-index: 60;
  width: 2.9rem;
  height: 2.9rem;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, .45);
  border-radius: 50%;
  background: rgba(31, 40, 70, .55);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  color: #fff;
  cursor: pointer;
  box-shadow: 0 6px 18px -8px rgba(18, 22, 42, .6);
  animation: music-in .6s ease both;
}
@keyframes music-in { from { opacity: 0; } to { opacity: 1; } }

/* A note when paused (tap to play); moving bars while playing. */
.music-toggle__note { width: 1.15rem; height: 1.15rem; }
.music-toggle.is-playing .music-toggle__note { display: none; }
.music-toggle:not(.is-playing) .music-toggle__bars { display: none; }
.music-toggle__bars { display: flex; align-items: flex-end; gap: 2.5px; height: 14px; }
.music-toggle__bars i { width: 2px; height: 3px; border-radius: 1px; background: currentColor; }
.music-toggle.is-playing .music-toggle__bars i { animation: bars 1.1s ease-in-out infinite; }
.music-toggle.is-playing .music-toggle__bars i:nth-child(2) { animation-delay: -.45s; }
.music-toggle.is-playing .music-toggle__bars i:nth-child(3) { animation-delay: -.8s; }
.music-toggle.is-playing .music-toggle__bars i:nth-child(4) { animation-delay: -.25s; }
@keyframes bars { 0%, 100% { height: 4px; } 50% { height: 14px; } }

/* ======================================================== Larger screens */

@media (min-width: 30rem) {
  .choices { grid-template-columns: 1fr 1fr; }
  .nav { font-size: .75rem; letter-spacing: .2em; }
}

@media (min-width: 40rem) {
  main { gap: 1.25rem; padding: 1.75rem 1rem 2.5rem; }
  .section { gap: 1.25rem; }
  .card { padding: 3rem 3rem 3.2rem; }
  .card--hills { padding-bottom: 7.5rem; }
  .card .card__hills { height: 7rem; }
  .card__title { font-size: 2.5rem; }
  .card__title--script { font-size: 3.9rem; }
  .card .card__deco { width: 9.5rem; height: 10rem; }
  .card .card__deco--small { width: 7rem; height: 7.5rem; }
  .big-date { font-size: 2.3rem; }
  .countdown__num { font-size: 2.2rem; }
  .explore { gap: 1.3rem 1rem; }
  /* the picture sits beside the blurb */
  .explore__detail { display: grid; grid-template-columns: 46% 1fr; gap: 1.3rem; align-items: start; padding: 1.1rem; }
  .explore__gallery { margin: 0; }
  .explore__text { padding-top: .2rem; }
  .explore__close { top: .7rem; right: .7rem; }
  .apps { grid-template-columns: repeat(6, 1fr); }
  .app__icon { width: 3.3rem; height: 3.3rem; font-size: 1.5rem; }
  .app__name { font-size: .9375rem; }
  .app__use { font-size: .625rem; }
  .nav { padding-top: max(.9rem, env(safe-area-inset-top)); }
}

@media (min-width: 64rem) {
  .hero__content { padding-top: calc(var(--scene-h) * .12); }
  /* on a wide screen the painting is cropped top and bottom: keep more of the river */
  .hero { background-position: 50% 62%; }
  .hero__fireworks { -webkit-mask-position: 50% 62%; mask-position: 50% 62%; }
  /* on a wide screen, show from the sky down to the river (the painting is cropped to fit) */
  .closing { height: max(30rem, min(50vw, 100svh)); background-position: 50% 78%; }
}

/* ======================================================== Reduced motion */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .envelope, .envelope__hint, .twinkle, .hero__cue svg, .rsvp__seal, .explore__detail.is-open, .rsvp__extras, .field__more, .dropdown__list { animation: none !important; }
  .dropdown__button::after { transition: none; }
  .explore__tile img, .explore .explore__photo { transition: none; }
  .js [data-reveal] { transform: none; }
  .js.hero-ready [data-reveal] { transition: opacity .6s ease; }
}
