/* ==========================================================================
   Omid & Yalda — digital wedding invitation
   Minimal modern · RTL · mobile-first
   ========================================================================== */

@font-face {
  font-family: "Vazirmatn";
  src: url("../assets/fonts/Vazirmatn-FD-NL-Light.woff2") format("woff2");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Vazirmatn";
  src: url("../assets/fonts/Vazirmatn-FD-NL-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Vazirmatn";
  src: url("../assets/fonts/Vazirmatn-FD-NL-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Playball";
  src: url("../assets/fonts/Playball-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #faf7f2;
  --bg-deep: #f2ece3;
  --surface: #ffffff;
  --ink: #2a2521;
  --muted: #6b6159;
  --line: #e7dfd4;
  --accent: #8c6640;
  --accent-soft: #c9ae8d;
  --accent-wash: #f4ece2;
  --paper: #f6efe5;
  --paper-shade: #ece2d4;
  --radius: 18px;
  --ease: cubic-bezier(.22, .8, .24, 1);
  --ease-in-out: cubic-bezier(.65, 0, .35, 1);
  --page-w: 480px;
  --font: "Vazirmatn", Tahoma, "Segoe UI", system-ui, sans-serif;
  --font-script: "Playball", "Segoe Script", "Brush Script MT", cursive;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.9;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
}
body.is-locked { overflow: hidden; }

h1, h2, p { margin: 0; }
button { font: inherit; color: inherit; }
img, svg { display: block; }

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

.skip-link {
  position: absolute;
  inset-inline-start: 12px;
  top: -60px;
  z-index: 100;
  padding: 8px 14px;
  border-radius: 10px;
  background: var(--ink);
  color: #fff;
  text-decoration: none;
}
.skip-link:focus { top: 12px; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 6px;
}

/* ==========================================================================
   1. Intro / envelope
   ========================================================================== */

.intro {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(18px, 4.5vh, 40px);
  padding: 24px;
  overflow: hidden;
  background:
    radial-gradient(85% 55% at 50% 60%, #fffdf9 0%, rgba(255, 253, 249, 0) 72%),
    linear-gradient(to bottom, var(--bg) 0%, var(--bg-deep) 100%);
  transition: opacity .7s var(--ease), visibility 0s linear .7s;
}
.intro.is-done {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.intro__head {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  animation: soft-in 1s var(--ease) backwards;
  transition: opacity .45s ease, transform .7s var(--ease);
}
.intro__flower {
  width: min(60vw, 240px, 30vh);
  height: auto;
  margin-bottom: 12px;
}
.intro__eyebrow {
  font-size: 13px;
  color: var(--accent);
  letter-spacing: .04em;
}
.intro__names {
  font-size: clamp(36px, 11.5vw, 50px);
  line-height: 1.4;
  color: var(--ink);
}

.envelope {
  --w: min(84vw, 360px, 58vh);
  position: relative;
  flex: none;
  width: var(--w);
  height: calc(var(--w) * .68);
  perspective: 1200px;
  cursor: pointer;
  outline: none;
  border-radius: 10px;
  animation:
    env-in 1s var(--ease) .15s backwards,
    env-float 4.5s ease-in-out 1.15s infinite;
  transform-style: preserve-3d;
}
.envelope:focus-visible { box-shadow: 0 0 0 3px var(--bg), 0 0 0 5px var(--accent); }
.is-opening .envelope { animation: none; }

@keyframes env-in {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: none; }
}
@keyframes env-float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-6px); }
}

/* inside of the envelope (liner) */
.envelope__back {
  position: absolute;
  inset: 0;
  border-radius: 8px;
  background: linear-gradient(to bottom, #d3dccf, #e4e9de 70%);
  box-shadow:
    0 36px 50px -30px rgba(80, 55, 30, .5),
    0 12px 22px -14px rgba(80, 55, 30, .22);
}

.envelope__letter {
  position: absolute;
  inset-inline: 6%;
  top: 5%;
  height: 90%;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding-top: 4%;
  background: linear-gradient(to bottom, #fff, #fffcf8);
  border-radius: 6px;
  box-shadow: 0 0 0 1px rgba(140, 102, 64, .1), 0 8px 18px -10px rgba(60, 40, 20, .35);
  transition: transform 1s var(--ease) .7s;
}
.envelope__letter img { width: 34%; height: auto; }
.envelope__letter-small { font-size: 11px; line-height: 1.7; color: var(--accent); }
.envelope__letter-names { font-size: clamp(21px, 6.8vw, 28px); color: var(--ink); line-height: 1.3; }

/* pocket: two side flaps + the bottom flap folded over them */
.envelope__front {
  position: absolute;
  inset: 0;
  z-index: 3;
  border-radius: 8px;
  overflow: hidden;
}
.envelope__front svg { width: 100%; height: 100%; }
.env-side { fill: #f0e7da; }
.env-bottom { fill: var(--paper); }
.env-fold {
  fill: none;
  stroke: rgba(80, 55, 30, .1);
  stroke-width: 5;
  vector-effect: non-scaling-stroke;
}

.envelope__flap {
  position: absolute;
  inset: 0 0 auto;
  z-index: 4;
  height: 58%;
  transform-origin: 50% 0;
  transform: rotateX(0deg);
  backface-visibility: visible;
  filter: drop-shadow(0 3px 4px rgba(80, 55, 30, .2));
  transition:
    transform .7s var(--ease-in-out) .15s,
    z-index 0s linear .5s;
}
.envelope__flap::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 8px 8px 0 0;
  background: linear-gradient(to bottom, #f4ecdf, #e9decd);
  clip-path: polygon(0 0, 100% 0, 54% 95%, 52% 98.5%, 50% 100%, 48% 98.5%, 46% 95%);
}

.envelope__seal {
  position: absolute;
  z-index: 5;
  top: 56%;
  left: 50%;
  width: clamp(54px, calc(var(--w) * .19), 66px);
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  transition: transform .35s var(--ease), opacity .3s ease;
}
/* soft ring that invites a tap */
.envelope__seal::before {
  content: "";
  position: absolute;
  inset: -4px;
  border: 1px solid var(--accent);
  border-radius: 50%;
  opacity: 0;
  animation: seal-ring 2.6s ease-out 1.2s infinite;
}
@keyframes seal-ring {
  0%        { transform: scale(.85); opacity: .5; }
  70%, 100% { transform: scale(1.55); opacity: 0; }
}
.envelope__seal svg {
  position: relative;
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 4px 6px rgba(70, 40, 15, .32));
}
.seal-wax { fill: var(--accent); }
.seal-ring { fill: none; stroke: rgba(255, 255, 255, .35); stroke-width: 1.2; }
.seal-text {
  fill: #fbf3e8;
  font-family: var(--font-script);
  font-size: 15px;
}

.intro__hint {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  color: var(--muted);
  letter-spacing: .02em;
  animation: hint-pulse 2.4s ease-in-out infinite;
}
.intro__hint::before,
.intro__hint::after {
  content: "";
  width: 22px;
  height: 1px;
  background: var(--accent-soft);
}
@keyframes hint-pulse {
  0%, 100% { opacity: .55; }
  50%      { opacity: 1; }
}

/* opening sequence: seal → flap → letter rises as the envelope sinks */
.is-opening .intro__head { opacity: 0; transform: translateY(-16px); }
.is-opening .envelope__seal { transform: translate(-50%, -50%) scale(.6); opacity: 0; }
.is-opening .envelope__seal::before { animation: none; }
.is-opening .envelope__flap { transform: translateZ(-1px) rotateX(180deg); z-index: 1; }
.is-opening .envelope__letter { transform: translateY(-74%); }
.is-opening .intro__hint { animation: none; opacity: 0; transition: opacity .3s; }
.is-opening .envelope {
  transition: transform 1s var(--ease) 1.1s;
  transform: translateY(26%);
}

/* ==========================================================================
   Page layout
   ========================================================================== */

.page {
  max-width: var(--page-w);
  margin: 0 auto;
  padding: 0 24px calc(96px + env(safe-area-inset-bottom));
  overflow-x: clip;
}

@media (min-width: 720px) {
  body { background: var(--bg-deep); }
  .page {
    margin: 48px auto;
    padding: 0 48px 96px;
    background: var(--bg);
    border-radius: 28px;
    box-shadow: 0 1px 0 var(--line), 0 40px 80px -50px rgba(80, 55, 30, .35);
  }
}

.section {
  padding: 56px 0 8px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.section__title {
  font-size: 15px;
  font-weight: 400;
  color: var(--accent);
  letter-spacing: .02em;
  margin-bottom: 28px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.section__title::before,
.section__title::after {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--accent-soft);
}

/* watercolour flowers above a section heading */
.flower {
  width: min(86%, 340px);
  height: auto;
  margin-bottom: 18px;
  pointer-events: none;
  -webkit-user-select: none;
  user-select: none;
}
.flower--small { width: min(64%, 250px); }

/* reveal on scroll */
.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
  transition-delay: var(--d, 0ms);
}
.reveal.is-visible { opacity: 1; transform: none; }

/* ==========================================================================
   2. Invitation
   ========================================================================== */

.invite {
  min-height: 100vh;
  min-height: 100svh;
  padding: 72px 0 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.invite > p,
.invite > h1 { white-space: pre-line; }

.invite__opening {
  font-size: 15px;
  color: var(--accent);
  letter-spacing: .04em;
  margin-bottom: 28px;
}
.invite__lead {
  font-size: 17px;
  font-weight: 300;
  color: var(--muted);
  line-height: 2.1;
}
.invite__names {
  margin: 30px 0 18px;
  font-size: clamp(40px, 13.5vw, 62px);
  line-height: 1.25;
  color: var(--ink);
}
.divider {
  display: block;
  width: 56px;
  height: 1px;
  margin: 0 auto 26px;
  background: linear-gradient(to left, transparent, var(--accent), transparent);
}
.invite__date {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.9;
}
.invite__date::first-line { color: var(--ink); }
.invite__time {
  margin-top: 18px;
  font-size: 17px;
  color: var(--muted);
}
.invite__venue {
  margin-top: 22px;
  font-size: 22px;
  font-weight: 700;
  color: var(--accent);
}
.invite__note {
  margin-top: 30px;
  font-size: clamp(13px, 3.75vw, 15px);
  font-weight: 300;
  color: var(--muted);
  line-height: 2.1;
}

/* ==========================================================================
   3. Countdown (flip cards)
   ========================================================================== */

.countdown__timer {
  display: flex;
  justify-content: center;
  gap: 10px;
  direction: rtl;
}
.countdown__timer[hidden] { display: none; }

.unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.unit__label {
  font-size: 13px;
  color: var(--muted);
}

.flip {
  --fh: 76px;
  position: relative;
  width: 68px;
  height: var(--fh);
  perspective: 300px;
  font-size: 36px;
  font-weight: 700;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
@media (min-width: 400px) {
  .countdown__timer { gap: 14px; }
  .flip { --fh: 84px; width: 74px; font-size: 40px; }
}

.flip__half {
  position: absolute;
  left: 0;
  right: 0;
  height: 50%;
  overflow: hidden;
  background: var(--surface);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}
.flip__half > span {
  display: block;
  height: var(--fh);
  line-height: var(--fh);
  text-align: center;
}
.flip__half--top {
  top: 0;
  border-radius: 14px 14px 0 0;
  box-shadow: 0 0 0 1px var(--line) inset;
  transform-origin: 50% 100%;
}
.flip__half--bottom {
  bottom: 0;
  border-radius: 0 0 14px 14px;
  box-shadow: 0 0 0 1px var(--line) inset, 0 10px 18px -12px rgba(70, 45, 20, .25);
  transform-origin: 50% 0;
}
.flip__half--bottom > span { transform: translateY(-50%); }
/* hairline between halves */
.flip::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  top: 50%;
  height: 1px;
  background: rgba(60, 40, 20, .07);
  z-index: 5;
}

.flip__half--fold-top {
  z-index: 3;
  animation: fold-top .32s cubic-bezier(.55, 0, .9, .45) forwards;
}
.flip__half--fold-bottom {
  z-index: 3;
  transform: rotateX(90deg);
  animation: fold-bottom .32s cubic-bezier(.1, .55, .45, 1) .3s forwards;
}
@keyframes fold-top {
  to { transform: rotateX(-90deg); filter: brightness(.94); }
}
@keyframes fold-bottom {
  to { transform: rotateX(0); }
}

.countdown__tonight,
.countdown__thanks {
  font-size: 19px;
  font-weight: 700;
  color: var(--accent);
}
.countdown__tonight { margin-top: 24px; }
.countdown__tonight:not([hidden]),
.countdown__thanks:not([hidden]) { animation: soft-in .9s var(--ease) both; }
.countdown__thanks { padding: 12px 0 4px; font-size: 20px; }
@keyframes soft-in {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: none; }
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 15px;
  font-weight: 400;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .25s, color .25s, border-color .25s, transform .2s var(--ease);
  -webkit-user-select: none;
  user-select: none;
}
.btn:active { transform: scale(.97); }
.btn svg {
  width: 20px; height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.btn--primary {
  margin-top: 36px;
  background: var(--ink);
  color: #fff;
}
.btn--primary:hover { background: #45392f; }
.btn--outline {
  background: var(--surface);
  color: var(--ink);
  border-color: var(--line);
}
.btn--outline:hover { border-color: var(--accent-soft); color: var(--accent); }

/* ==========================================================================
   5. Venue
   ========================================================================== */

.venue__card {
  position: relative;
  width: 100%;
  aspect-ratio: 400 / 220;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 0 0 1px var(--line), 0 24px 40px -30px rgba(70, 45, 20, .35);
}
.venue__map { width: 100%; height: 100%; }
.m-bg { fill: #f4efe7; }
.m-park { fill: #e6eadb; }
.m-water { fill: #e2e9ec; }
.m-road { fill: none; stroke: #fff; stroke-width: 9; stroke-linecap: round; }
.m-road--main { stroke-width: 14; stroke: #fffaf2; }
.m-road--thin { stroke-width: 5; }
.m-pin__shadow { fill: rgba(60, 40, 20, .18); }
.m-pin__body { fill: var(--accent); }
.m-pin__dot { fill: #fff; }
.m-pin { animation: pin-drop 2.6s var(--ease) infinite; transform-box: fill-box; }
@keyframes pin-drop {
  0%, 70%, 100% { translate: 0 0; }
  80% { translate: 0 -6px; }
}

.venue__label {
  position: absolute;
  bottom: 14px;
  right: 14px;
  padding: 4px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .92);
  font-size: 14px;
  font-weight: 700;
  box-shadow: 0 4px 12px -6px rgba(60, 40, 20, .3);
}

.venue__links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  width: 100%;
  margin-top: 18px;
}
.venue__links .btn { padding: 0 12px; font-size: 14px; }
.venue__links .btn:first-child { grid-column: 1 / -1; }

/* ==========================================================================
   6. Gallery
   ========================================================================== */

.gallery__grid {
  list-style: none;
  margin: 0;
  padding: 0;
  width: 100%;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-auto-flow: dense;
  gap: 8px;
}
.gallery__item { margin: 0; }
.gallery__item--wide { grid-column: 1 / -1; }
.gallery__btn {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  border-radius: 12px;
  overflow: hidden;
  background: var(--bg-deep);
  cursor: zoom-in;
  aspect-ratio: 4 / 5;
}
.gallery__item--wide .gallery__btn { aspect-ratio: 3 / 2; }
.gallery__btn img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .8s var(--ease), opacity .6s ease;
  opacity: 0;
}
.gallery__btn img.is-loaded { opacity: 1; }
@media (hover: hover) {
  .gallery__btn:hover img { transform: scale(1.04); }
}

/* lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(24, 20, 17, .94);
  opacity: 0;
  transition: opacity .3s ease;
  touch-action: none;
}
.lightbox[hidden] { display: none; }
.lightbox.is-open { opacity: 1; }
.lightbox__stage {
  margin: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 64px 12px;
}
.lightbox__stage img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 6px;
  transition: transform .3s var(--ease), opacity .3s ease;
  -webkit-user-drag: none;
  user-select: none;
}
.lightbox.is-dragging .lightbox__stage img { transition: none; }
.lightbox__btn {
  position: absolute;
  z-index: 2;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, .12);
  color: #fff;
  cursor: pointer;
  transition: background-color .2s;
}
.lightbox__btn:hover { background: rgba(255, 255, 255, .22); }
.lightbox__btn svg {
  width: 22px; height: 22px;
  fill: none; stroke: currentColor; stroke-width: 1.8;
  stroke-linecap: round; stroke-linejoin: round;
}
.lightbox__close { top: calc(14px + env(safe-area-inset-top)); left: 14px; }
.lightbox__prev  { right: 14px; top: 50%; transform: translateY(-50%); }
.lightbox__next  { left: 14px; top: 50%; transform: translateY(-50%); }
.lightbox__count {
  position: absolute;
  bottom: calc(18px + env(safe-area-inset-bottom));
  left: 0; right: 0;
  text-align: center;
  color: rgba(255, 255, 255, .75);
  font-size: 14px;
}
@media (hover: none) {
  .lightbox__prev, .lightbox__next { display: none; }
}

/* ==========================================================================
   7. Closing
   ========================================================================== */

.closing { padding-top: 72px; }
.closing__text {
  font-size: 17px;
  font-weight: 300;
  color: var(--muted);
}
.closing__names {
  margin: 6px 0 26px;
  font-size: 36px;
  line-height: 1.5;
}

/* couple's names: Latin script face */
.intro__names,
.envelope__letter-names,
.invite__names,
.closing__names {
  font-family: var(--font-script);
  font-weight: 400;
  direction: ltr;
  unicode-bidi: isolate;
  letter-spacing: 0;
}

/* ==========================================================================
   Music button
   ========================================================================== */

.music {
  position: fixed;
  z-index: 40;
  bottom: calc(18px + env(safe-area-inset-bottom));
  left: 18px;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(255, 255, 255, .9);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  box-shadow: 0 8px 20px -12px rgba(60, 40, 20, .45);
  color: var(--accent);
  cursor: pointer;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .5s var(--ease), transform .5s var(--ease);
}
.music.is-shown { opacity: 1; transform: none; }
.music[hidden] { display: none; }
.music__icon {
  grid-area: 1 / 1;
  width: 20px; height: 20px;
  fill: currentColor;
}
.music__bars {
  grid-area: 1 / 1;
  display: none;
  align-items: flex-end;
  gap: 3px;
  height: 18px;
}
.music__bars i {
  display: block;
  width: 3px;
  height: 100%;
  border-radius: 2px;
  background: currentColor;
  transform-origin: bottom;
  animation: eq 1s ease-in-out infinite;
}
.music__bars i:nth-child(2) { animation-delay: -.3s; animation-duration: .9s; }
.music__bars i:nth-child(3) { animation-delay: -.6s; animation-duration: 1.15s; }
.music__bars i:nth-child(4) { animation-delay: -.15s; animation-duration: .8s; }
@keyframes eq {
  0%, 100% { transform: scaleY(.25); }
  50%      { transform: scaleY(1); }
}
.music.is-playing .music__bars { display: flex; }
.music.is-playing .music__icon { display: none; }

/* ==========================================================================
   Toast
   ========================================================================== */

.toast {
  position: fixed;
  z-index: 70;
  left: 50%;
  bottom: calc(84px + env(safe-area-inset-bottom));
  padding: 10px 20px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-size: 14px;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 10px);
  transition: opacity .3s ease, transform .3s var(--ease);
}
.toast.is-shown { opacity: 1; transform: translate(-50%, 0); }

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

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    transition-delay: 0s !important;
  }
  .reveal { opacity: 1; transform: none; }
  .intro { transition: opacity .3s ease, visibility 0s linear .3s !important; }
  .flip__half--fold-top,
  .flip__half--fold-bottom { display: none; }
}
