:root {
  --night: #120d1b;
  --night-soft: #21182a;
  --paper: #f3ebdb;
  --paper-dark: #dfd1b8;
  --gold: #d5b978;
  --ink: #eee5d6;
  --muted: #bdb2a5;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "DM Sans", sans-serif;
  --arabic: "Amiri", serif;
}

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

html {
  scroll-behavior: smooth;
}

html.intro-active,
html.intro-active body {
  overflow: hidden;
}

body {
  margin: 0;
  background: var(--night);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 300;
  line-height: 1.7;
}

button,
a {
  color: inherit;
  font: inherit;
}

button {
  cursor: pointer;
}

a {
  text-underline-offset: .25em;
}

.arabic {
  font-family: var(--arabic);
}

.eyebrow {
  margin: 0;
  color: var(--gold);
  font-size: .63rem;
  font-weight: 400;
  letter-spacing: .3em;
  line-height: 1.8;
  text-transform: uppercase;
}

/* ==========================================================================
   Opening film
   ========================================================================== */
.falling-flowers {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1200;
  pointer-events: none;
}

.opening {
  position: fixed;
  inset: 0;
  z-index: 1000;
  overflow: hidden;
  background: #050308;
  transition: opacity 1.1s cubic-bezier(0.4, 0, 0.2, 1), visibility 1.1s cubic-bezier(0.4, 0, 0.2, 1);
}

.opening.is-gone {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.opening.is-dismissing {
  opacity: 0;
}

.opening-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  background: #050308;
}

.opening-play {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  margin: 0;
  padding: 1.5rem;
  border: 0;
  background: linear-gradient(180deg, rgba(12, 8, 17, .95), rgba(15, 9, 20, .95) 35%, rgba(12, 8, 17, .90) 65%, #120d1b 100%);
  color: #f4ead8;
  text-align: center;
  cursor: pointer;
}

.opening-bismillah {
  margin: 0;
  color: #f3e6cf;
  font-size: clamp(1.55rem, 3.4vw, 2.15rem);
  line-height: 1.7;
}

.opening-names {
  margin: 0;
  color: #f7f1e6;
  font-family: var(--serif);
  font-size: clamp(1.15rem, 2.5vw, 1.55rem);
  font-weight: 500;
  letter-spacing: 0.38em;
  text-indent: 0.38em;
  text-transform: uppercase;
}

.opening-names i {
  font-style: italic;
  letter-spacing: 0;
  text-transform: none;
}

.opening-cta {
  margin-top: 0.35rem;
  padding: 0.55rem 1.25rem;
  border: 1px solid rgba(236, 220, 190, 0.55);
  border-radius: 999px;
  background: rgba(12, 8, 18, 0.55);
  color: #f6efe4;
  font-size: 0.58rem;
  letter-spacing: 0.28em;
  text-indent: 0.28em;
  text-transform: uppercase;
}

.opening-play[hidden] {
  display: none;
}

.skip-opening {
  position: absolute;
  top: clamp(1rem, 3vh, 2.2rem);
  right: clamp(1.2rem, 4vw, 3.2rem);
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.38rem 0.85rem;
  border-radius: 999px;
  border: 1px solid rgba(229, 198, 133, 0.45);
  background: rgba(18, 13, 27, 0.72);
  backdrop-filter: blur(10px);
  color: #eeddbf;
  font-size: 0.58rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
}

.skip-opening span {
  color: var(--gold);
}

.opening-cta:hover,
.opening-cta:focus-visible {
  border-color: rgba(243, 230, 207, 0.9);
  color: #fff;
}

.skip-opening:hover {
  border-color: rgba(229, 198, 133, 0.8);
  color: #fff;
}

/* Quiet navigation */
.site-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 5rem;
  padding: 0 clamp(1.25rem, 5vw, 5rem);
  border-bottom: 1px solid rgba(255, 245, 228, .12);
  background: linear-gradient(180deg, rgba(14, 9, 20, .66), transparent);
}

.wordmark {
  display: flex;
  align-items: center;
  gap: .11rem;
  color: #eee1c5;
  font-family: var(--serif);
  font-size: 1.18rem;
  letter-spacing: .08em;
  text-decoration: none;
}

.wordmark i {
  color: var(--gold);
  font-size: .78rem;
}

.site-nav {
  width: 100%;
  display: flex;
  justify-content: center;
  gap: clamp(1rem, 3vw, 2.6rem);
}

.site-nav a,
.replay {
  color: rgba(245, 236, 222, .78);
  font-size: .59rem;
  letter-spacing: .13em;
  text-decoration: none;
  text-transform: uppercase;
  transition: color .2s ease;
}

.site-nav a:hover,
.replay:hover {
  color: var(--gold);
}

.replay {
  padding: .4rem 0;
  border: 0;
  background: none;
}

.replay span {
  color: var(--gold);
}

/* Cover */
.hero {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 100svh;
  overflow: hidden;
  text-align: center;
  background: #140f1d;
}

.hero-art,
.hero-shade,
.hero-edge {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-art {
  background: url("../images/moonlit-courtyard.png") center 54%/cover no-repeat;
  animation: slow-zoom 32s ease-in-out infinite alternate;
}

.hero-shade {
  background: linear-gradient(180deg, rgba(12, 8, 17, .55), rgba(15, 9, 20, .35) 35%, rgba(12, 8, 17, .28) 65%, #120d1b 100%);
}

.hero-edge {
  inset: 1.6rem;
  border: 1px solid rgba(231, 201, 143, .38);
}

.hero-edge::before,
.hero-edge::after {
  content: "";
  position: absolute;
  inset: .45rem;
  border: 1px solid rgba(231, 201, 143, .12);
}

.hero-copy {
  position: relative;
  z-index: 2;
  width: min(90%, 790px);
  padding: 7rem 1rem 6rem;
  text-shadow: 0 3px 32px rgba(0, 0, 0, .56);
}

.hero-bismillah {
  margin: 0;
  color: #f5e5bf;
  font-size: clamp(1.4rem, 4vw, 2rem);
  line-height: 1.55;
}

.hero-translation {
  margin: 1rem 0 1.25rem;
  color: rgba(249, 239, 221, .78);
  font-size: .52rem;
  letter-spacing: .19em;
  text-transform: uppercase;
}

.monogram {
  position: relative;
  display: grid;
  place-items: center;
  width: 5rem;
  height: 5rem;
  margin: 0 auto 1rem;
  color: #ecd49b;
}

.monogram svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1;
}

.monogram span {
  font-family: var(--serif);
  font-size: 1.16rem;
  letter-spacing: .08em;
}

.monogram i {
  color: var(--gold);
  font-size: .8em;
}

.hero-eyebrow {
  margin: .4rem 0 .6rem;
  color: #dfc891;
  font-size: .56rem;
  letter-spacing: .24em;
  text-transform: uppercase;
}

.hero h1 {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(3rem, 8.3vw, 6.5rem);
  font-weight: 400;
  letter-spacing: -.025em;
  line-height: .86;
}

.hero h1 i {
  margin: 1em 0 .27em;
  color: #e1c58d;
  font-size: .42em;
  font-weight: 400;
}

.hero-date {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .9rem;
  flex-wrap: wrap;
  margin: 1.6rem auto 0;
  color: #f2e7d5;
  font-size: .61rem;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.hero-date b {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--gold);
}

.continue {
  position: absolute;
  bottom: 2.6rem;
  left: 50%;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .1rem;
  transform: translateX(-50%);
  color: #e5d4af;
  font-size: .54rem;
  letter-spacing: .18em;
  text-decoration: none;
  text-transform: uppercase;
}

.continue i {
  font-size: 1.45rem;
  font-style: normal;
  animation: arrow-drift 2s ease-in-out infinite;
}

.hero-index {
  position: absolute;
  right: 2.8rem;
  bottom: 2.9rem;
  color: rgba(244, 232, 208, .65);
  font-size: .53rem;
  letter-spacing: .17em;
}

.hero-index i {
  padding: 0 .3rem;
  color: var(--gold);
  font-style: normal;
}

/* Welcome */
.section-wrap {
  padding: clamp(5rem, 11vw, 9rem) 1.5rem;
  text-align: center;
}

.welcome {
  background: radial-gradient(ellipse at 50% 50%, rgba(80, 52, 81, .23), transparent 62%), #17111f;
}

.section-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .8rem;
  margin-bottom: 2rem;
  color: #cbb47e;
  font-family: var(--arabic);
  font-size: .72rem;
}

.section-mark span:first-child,
.section-mark span:last-child {
  font-size: .9rem;
}

.section-mark i {
  width: 2.2rem;
  height: 1px;
  background: linear-gradient(90deg, transparent, #9e8050);
}

.section-mark i:nth-of-type(2) {
  transform: scaleX(-1);
}

.welcome h2,
.celebration h2,
.programme h2 {
  margin: .4rem 0 1rem;
  color: #f0e6d5;
  font-family: var(--serif);
  font-size: clamp(2.8rem, 6.2vw, 5rem);
  font-weight: 400;
  line-height: .95;
}

.welcome h2 em,
.celebration h2 em,
.programme h2 em,
.message-card h2 em {
  color: #d8bd83;
  font-weight: 400;
}

.welcome-copy {
  width: min(100%, 37rem);
  margin: 1.2rem auto;
  color: #bdb1a5;
  font-family: var(--serif);
  font-size: 1.31rem;
  line-height: 1.5;
}

.name-pair {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(1rem, 6vw, 4rem);
  margin: 2.2rem auto 1.35rem;
}

.name-pair p {
  margin: 0;
  color: #e9dfd0;
  font-family: var(--serif);
  font-size: clamp(1.7rem, 4vw, 2.45rem);
  line-height: 1.1;
}

.name-pair small {
  display: block;
  margin-bottom: .55rem;
  color: #c6a869;
  font-family: var(--sans);
  font-size: .54rem;
  letter-spacing: .24em;
  text-transform: uppercase;
}

.name-pair>span {
  color: #d2b977;
  font-size: .9rem;
}

.welcome-signoff {
  margin: 1.4rem 0 0;
  color: #9f9287;
  font-family: var(--serif);
  font-size: 1.12rem;
  font-style: italic;
}

/* Verse inset into the garden painting */
.verse-section {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 760px;
  padding: 5rem 1.5rem;
  overflow: hidden;
  background: #1b1422;
}

.verse-image {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(15, 10, 18, .52), rgba(15, 10, 18, .28), rgba(15, 10, 18, .52)), url("../images/moonlit-courtyard.png") center 67%/cover no-repeat;
  filter: saturate(.72);
}

.verse-panel {
  position: relative;
  width: min(100%, 690px);
  padding: clamp(2rem, 6vw, 4.2rem);
  border: 1px solid rgba(222, 195, 137, .57);
  outline: 1px solid rgba(222, 195, 137, .19);
  outline-offset: 8px;
  background: rgba(18, 13, 25, .88);
  text-align: center;
  box-shadow: 0 24px 80px rgba(0, 0, 0, .25);
}

.verse-panel::before,
.verse-panel::after {
  content: "";
  position: absolute;
  left: 50%;
  width: 11rem;
  height: 5.5rem;
  transform: translateX(-50%);
  border: 1px solid rgba(222, 195, 137, .55);
  border-bottom: 0;
  border-radius: 7rem 7rem 0 0;
}

.verse-panel::before {
  top: -1px;
}

.verse-panel::after {
  top: 8px;
  width: 9.8rem;
  height: 4.8rem;
  border-color: rgba(222, 195, 137, .2);
}

.verse-panel .eyebrow,
.verse-rosette,
.verse-panel blockquote {
  position: relative;
  z-index: 1;
}

.verse-panel .eyebrow {
  padding-top: .7rem;
}

.verse-rosette {
  display: block;
  margin: 1rem auto;
  color: #d8be84;
  font-size: 1.55rem;
}

.verse-panel blockquote {
  margin: 0;
}

.verse-ar {
  margin: 0;
  color: #efdbab;
  font-size: clamp(1.35rem, 3.2vw, 2rem);
  line-height: 2.5;
}

.verse-en {
  margin: 1.1rem auto 0;
  color: #d2c7b9;
  font-family: var(--serif);
  font-size: clamp(1.15rem, 2.4vw, 1.4rem);
  font-style: italic;
  line-height: 1.5;
}

.verse-panel footer {
  margin-top: 1.45rem;
  color: #d2b977;
  font-size: .57rem;
  letter-spacing: .22em;
  text-transform: uppercase;
}

.verse-panel footer span {
  padding: 0 .3rem;
}

/* Save the date */
.celebration {
  position: relative;
  overflow: hidden;
  background: #f0e6d5;
  color: #342a31;
}

.celebration::before,
.celebration::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 25rem;
  height: 25rem;
  border: 1px solid rgba(143, 111, 62, .12);
  transform: translateY(-50%) rotate(45deg);
  pointer-events: none;
}

.celebration::before {
  left: -19rem;
}

.celebration::after {
  right: -19rem;
}

.celebration .section-mark {
  color: #937548;
}

.celebration .section-mark i {
  background: linear-gradient(90deg, transparent, #aa8a53);
}

.celebration .eyebrow {
  color: #907347;
}

.celebration h2 {
  color: #342a31;
}

.celebration h2 em {
  color: #927047;
}

.section-intro {
  margin: 0 auto;
  color: #72675f;
  font-family: var(--serif);
  font-size: 1.25rem;
}

.date-plate {
  position: relative;
  width: min(100%, 430px);
  margin: 2.4rem auto 3rem;
  padding: 1.45rem 1rem 1.3rem;
  border: 1px solid rgba(135, 101, 54, .55);
  outline: 1px solid rgba(135, 101, 54, .15);
  outline-offset: 6px;
}

.date-plate::before,
.date-plate::after {
  content: "✦";
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: #a68a59;
  font-size: .7rem;
}

.date-plate::before {
  left: .85rem;
}

.date-plate::after {
  right: .85rem;
}

.plate-month {
  color: #786342;
  font-size: .62rem;
  letter-spacing: .25em;
  text-transform: uppercase;
}

.plate-month span {
  padding-left: .5rem;
  color: #a28450;
}

.plate-day {
  color: #382a32;
  font-size: 6rem;
  line-height: .98;
}

.plate-bottom {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .8rem;
  color: #745f48;
  font-size: .57rem;
  letter-spacing: .17em;
  text-transform: uppercase;
}

.plate-bottom i {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #a28450;
}

.countdown-wrap {
  position: relative;
  z-index: 1;
}

.countdown-wrap .eyebrow {
  color: #8e7142;
}

.countdown {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(.45rem, 2.3vw, 1.5rem);
  margin-top: .8rem;
}

.countdown div {
  display: flex;
  min-width: 3.5rem;
  flex-direction: column;
  align-items: center;
}

.countdown strong {
  color: #342a31;
  font-family: var(--serif);
  font-size: 3.65rem;
  font-weight: 400;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}

.countdown div span {
  color: #8c7758;
  font-size: .52rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  margin-top: .2rem;
}

.countdown>i {
  color: #b79a61;
  font-family: var(--serif);
  font-size: 1.5rem;
  font-style: normal;
  transform: translateY(-.3rem);
}

.arrived {
  color: #574538;
  font-family: var(--serif);
  font-size: 1.6rem;
  font-style: italic;
}

/* A letter from the couple */
.message-section {
  position: relative;
  display: grid;
  min-height: 680px;
  place-items: center;
  padding: 6rem 1.5rem;
  overflow: hidden;
  background: #100b17;
}

.message-art {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(13, 9, 18, .6), rgba(13, 9, 18, .22), rgba(13, 9, 18, .6)), url("../images/moonlit-courtyard.png") center 81%/cover no-repeat;
  opacity: .64;
}

.message-card {
  position: relative;
  width: min(100%, 510px);
  padding: 3rem clamp(1.5rem, 6vw, 3.4rem);
  border: 1px solid rgba(223, 197, 141, .5);
  background: rgba(19, 13, 24, .92);
  text-align: center;
}

.message-card::before {
  content: "";
  position: absolute;
  inset: 9px;
  border: 1px solid rgba(223, 197, 141, .15);
  pointer-events: none;
}

.message-star {
  display: block;
  margin-bottom: .8rem;
  color: #d8bd83;
  font-size: 1.4rem;
}

.message-card h2 {
  margin: .5rem 0 1rem;
  color: #f1e6d7;
  font-family: var(--serif);
  font-size: clamp(2.8rem, 6vw, 4.2rem);
  font-weight: 400;
  line-height: .95;
}

.message-card>p:not(.eyebrow) {
  color: #c2b5a6;
  font-family: var(--serif);
  font-size: 1.23rem;
  line-height: 1.55;
}

.message-sign {
  display: block;
  margin-top: 1.3rem;
  color: #deca9e;
  font-family: var(--serif);
  font-size: 1.6rem;
  font-style: italic;
}

.message-sign i {
  color: #bd995a;
  font-size: 1.1rem;
}

/* Programme and directions */
.programme {
  background: radial-gradient(ellipse at 50% 80%, rgba(62, 43, 66, .3), transparent 70%), #17111e;
}

.programme h2 {
  margin-bottom: 2.4rem;
}

.programme-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  width: min(100%, 710px);
  margin: auto;
  padding: 1.65rem 2rem;
  border-block: 1px solid rgba(215, 188, 130, .4);
  text-align: left;
}

.programme-number {
  color: #d7bd85;
  font-family: var(--serif);
  font-size: 3rem;
}

.programme-details {
  position: relative;
  z-index: 1;
}

.programme-details .eyebrow {
  font-size: .56rem;
}

.programme-details h3 {
  margin: .15rem 0;
  color: #f2e8d8;
  font-family: var(--serif);
  font-size: 2.25rem;
  font-weight: 400;
  line-height: 1.1;
}

.programme-details>p:last-child {
  margin: .35rem 0 0;
  color: #b8ac9f;
  font-size: .85rem;
  line-height: 1.7;
}

.programme-flower {
  margin-left: auto;
  color: rgba(215, 188, 130, .24);
  font-size: 5.6rem;
}

.venue {
  position: relative;
  display: grid;
  min-height: 650px;
  place-items: center;
  padding: 6rem 1.5rem;
  overflow: hidden;
  text-align: center;
  background: #09070d;
}

.venue-art {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(12, 8, 17, .2), rgba(12, 8, 17, .88)), url("../images/moonlit-courtyard.png") center 52%/cover no-repeat;
  opacity: .77;
}

.venue-content {
  position: relative;
  width: min(100%, 640px);
  padding: 3rem 1.5rem;
}

.venue-content h2 {
  margin: .3rem 0;
  color: #f2e7d7;
  font-family: var(--serif);
  font-size: clamp(3.4rem, 8vw, 5.8rem);
  font-weight: 400;
  line-height: 1;
}

.venue-address {
  margin: 1rem 0;
  color: #e2d5c4;
  font-family: var(--serif);
  font-size: 1.38rem;
  line-height: 1.45;
}

.venue-rule {
  display: flex;
  align-items: center;
  gap: .8rem;
  width: min(100%, 210px);
  margin: 1.3rem auto;
  color: #d1b572;
}

.venue-rule::before,
.venue-rule::after {
  content: "";
  height: 1px;
  flex: 1;
  background: rgba(209, 181, 114, .5);
}

.venue-rule span {
  font-size: .7rem;
}

.venue-note {
  width: min(100%, 410px);
  margin: 0 auto;
  color: #c7bbab;
  font-family: var(--serif);
  font-size: 1.1rem;
  font-style: italic;
}

.venue-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: .6rem 1.3rem;
  margin-top: 1.7rem;
}

.button {
  text-decoration: none;
}

.button--gold {
  padding: .7rem 1.1rem;
  border: 1px solid rgba(223, 197, 141, .74);
  background: rgba(25, 17, 29, .58);
  color: #f0e4cc;
  font-size: .57rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  transition: background .2s ease;
}

.button--gold:hover {
  background: rgba(178, 140, 75, .25);
}

.button--gold span,
.button--text span {
  color: #d9bd7d;
}

.button--text {
  padding: .6rem 0;
  border: 0;
  background: none;
  color: #d8cbb9;
  font-size: .56rem;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.footer {
  padding: 4rem 1.5rem 2rem;
  background: #0c0911;
  text-align: center;
}

.footer-ar {
  margin: 0 0 1.6rem;
  color: #d6bf8b;
  font-size: 1.65rem;
}

.footer .eyebrow {
  color: #9c8354;
}

.footer-host {
  margin: .2rem 0;
  color: #eee3d3;
  font-family: var(--serif);
  font-size: 1.8rem;
}

.footer-address {
  margin: 0;
  color: #aaa092;
  font-size: .72rem;
}

.footer-phone {
  display: inline-block;
  margin-top: .2rem;
  color: #d7c18d;
  font-size: .75rem;
  text-decoration: none;
  letter-spacing: .08em;
}

.footer-divider {
  display: flex;
  align-items: center;
  gap: 1rem;
  width: 120px;
  margin: 1.5rem auto;
  color: #b69a62;
}

.footer-divider::before,
.footer-divider::after {
  content: "";
  height: 1px;
  flex: 1;
  background: rgba(182, 154, 98, .42);
}

.footer-divider span {
  font-size: .7rem;
}

.rsvp {
  margin: 0;
  color: #d5bd88;
  font-size: .56rem;
  letter-spacing: .23em;
  text-transform: uppercase;
}

.rsvp span {
  display: block;
  margin-top: .35rem;
  color: #e8ded0;
  font-family: var(--serif);
  font-size: 1.25rem;
  letter-spacing: 0;
  text-transform: none;
}

.hashtag {
  margin: 1rem 0;
  color: #9b8060;
  font-size: .59rem;
  letter-spacing: .18em;
}

.back-top {
  display: inline-block;
  margin-top: .8rem;
  color: #8f8376;
  font-size: .53rem;
  letter-spacing: .16em;
  text-decoration: none;
  text-transform: uppercase;
}

/* Motion is restrained and pauses for reduced-motion preferences. */
.js .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .9s ease, transform .9s cubic-bezier(.2, .7, .2, 1);
}

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

@keyframes slow-zoom {
  to {
    transform: scale(1.07);
  }
}

@keyframes arrow-drift {
  50% {
    transform: translateY(5px);
  }
}

@media(max-width:700px) {
  .site-header {
    height: 4.2rem;
    padding-inline: 1rem;
  }

  .site-nav {
    gap: .8rem;
  }

  .site-nav a {
    font-size: .49rem;
    letter-spacing: .08em;
  }

  .replay {
    font-size: .49rem;
  }

  .hero-edge {
    inset: .8rem;
  }

  .hero-copy {
    padding: 6rem 1rem 5rem;
  }

  .hero h1 {
    font-size: clamp(2.7rem, 9vw, 4.3rem);
  }

  .hero-index {
    display: none;
  }

  .verse-section {
    min-height: 690px;
  }

  .verse-panel {
    padding: 2.9rem 1.4rem 2.2rem;
  }

  .programme-card {
    gap: .8rem;
    padding: 1.4rem .6rem;
  }

  .programme-number {
    font-size: 2.1rem;
  }

  .programme-details h3 {
    font-size: 1.85rem;
  }

  .programme-flower {
    font-size: 3.8rem;
  }
}

@media(max-width:430px) {
  .site-header {
    padding-inline: .8rem;
  }

  .wordmark {
    font-size: .95rem;
  }

  .site-nav {
    gap: .55rem;
  }

  .site-nav a {
    font-size: .43rem;
    letter-spacing: .045em;
  }

  .replay {
    font-size: .43rem;
  }

  .name-pair {
    gap: .85rem;
  }

  .name-pair p {
    font-size: 1.55rem;
  }

  .name-pair small {
    font-size: .48rem;
  }

  .hero-date {
    gap: .5rem;
    font-size: .5rem;
    letter-spacing: .08em;
  }

  .countdown {
    gap: .3rem;
  }

  .countdown div {
    min-width: 2.9rem;
  }

  .countdown strong {
    font-size: 2rem;
  }

  .countdown div span {
    font-size: .44rem;
    letter-spacing: .12em;
  }

  .countdown>i {
    font-size: 1rem;
  }
}

@media(prefers-reduced-motion:reduce) {

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
  }

}

:focus-visible {
  outline: 2px solid #ecd49b;
  outline-offset: 4px;
}