/* ==========================================================================
   RICHELLE & ANDREAS — WEDDING MICROSITE
   Foundation stylesheet: reset, design tokens, hero section.
   Remaining sections build on the tokens defined here.
   ========================================================================== */

/* ---- Reset -------------------------------------------------------------- */

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

html,
body {
  margin: 0;
  padding: 0;
}

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

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

ul,
ol {
  list-style: none;
  margin: 0;
  padding: 0;
}

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

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

@font-face {
  font-family: 'Cormorant Garamond';
  src: url('assets/fonts/CormorantGaramond-Italic-VariableFont_wght.ttf') format('truetype');
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

/* ---- Design tokens -------------------------------------------------------
   Sampled directly from the source artwork (RA_Wedding-section_01) so that
   every future section is built from the same palette / type system.
   ---------------------------------------------------------------------- */

:root {
  /* Color — sampled from the hero artwork */
  --color-sky: #8c8d8d;          /* overcast grey-blue sky */
  --color-sky-deep: #6f7375;     /* darker sky, upper corners */
  --color-dust: #9c7f6c;         /* warm sepia haze / dust */
  --color-cream: #f4efe2;        /* lettering, ribbon, stars-glow */
  --color-gold: #cf9f44;         /* star + bird gold accent */
  --color-ink-blue: #3d5872;     /* ribbon banner script ink */
  --color-olive: #454b38;        /* painted foliage */
  --color-deep-brown: #2c241c;   /* birds, hair, shirt */
  --color-charcoal: #2a2a28;     /* body copy on light backgrounds */

  /* Type */
  --font-eyebrow: 'Cormorant Garamond', 'Times New Roman', serif;
  --font-body: 'Cormorant Garamond', 'Times New Roman', serif;
  --font-title: 'Aquifer', 'Times New Roman', serif;
  --font-script: 'Mrs Saint Delafield', cursive;

  /* Eyebrow ("THE WEDDING OF") treatment: small-caps, wide tracking, serif */
  --eyebrow-tracking: 0.28em;

  /* Layout */
  --max-content-width: 640px;
  --header-height: 64px;

  /* Motion */
  --ease-luxe: cubic-bezier(0.22, 1, 0.36, 1);
}

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

body {
  background-color: var(--color-cream);
  color: var(--color-charcoal);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ---- Accessibility utilities --------------------------------------------- */

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

.skip-link {
  position: absolute;
  top: -48px;
  left: 12px;
  z-index: 1000;
  background: var(--color-cream);
  color: var(--color-charcoal);
  padding: 10px 16px;
  font-family: var(--font-eyebrow);
  font-size: 14px;
  letter-spacing: 0.05em;
  transition: top 0.2s var(--ease-luxe);
}

.skip-link:focus {
  top: 12px;
}

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

/* ---- Shared typographic roles (seeded here, used across future sections) - */

.eyebrow {
  font-family: var(--font-eyebrow);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: var(--eyebrow-tracking);
  text-transform: uppercase;
  color: var(--color-charcoal);
}

.display-name {
  font-family: var(--font-script);
  font-weight: 400;
  font-size: clamp(48px, 15vw, 96px);
  line-height: 1;
  margin: 0;
}

.display-name .amp {
  display: block;
  font-size: 0.55em;
  margin: 0.1em 0;
}

.tagline {
  font-family: var(--font-body);
  font-style: italic;
  font-weight: 500;
  font-size: 18px;
  color: var(--color-ink-blue);
}

/* ---- Site header ----------------------------------------------------------
   Transparent/hidden over the hero (whose artwork already carries the R&A
   monogram). Revealed once the hero has been scrolled past — see script.js.
   ---------------------------------------------------------------------- */

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  height: var(--header-height);
  z-index: 100;
  display: flex;
  align-items: center;
  background: rgba(244, 239, 226, 0.86);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(44, 36, 28, 0.08);

  opacity: 0;
  transform: translateY(-8px);
  pointer-events: none;
  transition: opacity 0.5s var(--ease-luxe), transform 0.5s var(--ease-luxe);
}

.site-header.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.site-header__inner {
  width: 100%;
  max-width: var(--max-content-width);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  justify-content: center;
}

.site-header__mark {
  font-family: var(--font-eyebrow);
  font-weight: 500;
  font-size: 15px;
  letter-spacing: 0.32em;
  color: var(--color-charcoal);
}

/* ---- Hero ------------------------------------------------------------------
   The artwork is reproduced at its native aspect ratio (4500 × 10510) so
   proportions, spacing, and image positioning stay exactly as designed.
   width: 100%, height: auto lets it scale losslessly across breakpoints.
   ---------------------------------------------------------------------- */

.hero {
  position: relative;
  width: 100%;
  background-color: var(--color-sky); /* prevents flash while the image loads */
  overflow: visible;
}

/* ---- Layered composition container ----------------------------------------
   All layers are positioned absolutely within this container to stack them
   precisely. Native aspect ratio ensures proper scaling across viewports.
   ---------------------------------------------------------------------- */

.hero__layers {
  position: relative;
  width: 100%;
  aspect-ratio: 4500 / 10510;
  opacity: 0;
  transform: scale(1.02);
  transition: opacity 1.1s var(--ease-luxe), transform 1.4s var(--ease-luxe);
}

.hero__layers.is-loaded {
  opacity: 1;
  transform: scale(1);
}

/* ---- Individual layers ---------------------------------------------------- */

.hero__layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.hero__layer-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* Layer stacking order (z-index from back to front) */

.hero__layer--bg {
  z-index: 1;
}

.hero__layer--stars {
  z-index: 2;
}

.hero__layer--gold-star {
  z-index: 3;
}

.hero__layer--title {
  z-index: 4;
}

.hero__layer--ribbon {
  z-index: 5;
}

.hero__layer--birds {
  z-index: 6;
}

/* ---- Animated stars layer --------------------------------------------------
   Subtle twinkling and drifting effect for the star texture, creating a
   magical, ethereal quality to the night sky.
   ---------------------------------------------------------------------- */

.hero__layer--stars .hero__layer-image {
  animation: stars-drift 12s ease-in-out infinite;
}

@keyframes stars-drift {
  0%, 100% {
    opacity: 0.7;
    transform: translateY(0px) translateX(0px);
  }
  25% {
    opacity: 0.8;
    transform: translateY(-3px) translateX(2px);
  }
  50% {
    opacity: 0.85;
    transform: translateY(-5px) translateX(-2px);
  }
  75% {
    opacity: 0.8;
    transform: translateY(-2px) translateX(1px);
  }
}

/* ---- Animated birds layer --------------------------------------------------
   Birds layer animates with more noticeable floating motion, creating the
   illusion of slow, graceful flight while remaining elegant.
   ---------------------------------------------------------------------- */

.hero__birds-image {
  animation: birds-fly 6s ease-in-out infinite;
}

@keyframes birds-fly {
  0%, 100% {
    transform: translateY(0px) translateX(0px);
    opacity: 1;
  }
  15% {
    transform: translateY(-16px) translateX(8px);
    opacity: 0.98;
  }
  30% {
    transform: translateY(-24px) translateX(-6px);
    opacity: 0.96;
  }
  50% {
    transform: translateY(-20px) translateX(4px);
    opacity: 0.95;
  }
  70% {
    transform: translateY(-12px) translateX(-8px);
    opacity: 0.97;
  }
  85% {
    transform: translateY(-4px) translateX(6px);
    opacity: 0.99;
  }
}

/* Scroll cue: sticks to the bottom of the viewport while the (very tall)
   hero is being scrolled through, then scrolls away naturally as the
   hero ends — no JS required for the sticking behavior itself.

   `.hero__cue-layer` is absolutely positioned over the full hero so it
   never adds to the hero's document-flow height (which must stay
   exactly the image's height); the sticky child then has that full
   height to travel within. */

.hero__cue-layer {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  pointer-events: none;
}

.hero__scroll-cue {
  position: sticky;
  bottom: 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  width: fit-content;
  pointer-events: auto;
  opacity: 0.92;
  transition: opacity 0.4s var(--ease-luxe);
}

.hero__scroll-cue:hover,
.hero__scroll-cue:focus-visible {
  opacity: 1;
}

.hero__scroll-cue-label {
  font-family: var(--font-eyebrow);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--color-cream);
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.35);
}

.hero__scroll-cue-line {
  width: 1px;
  height: 34px;
  background: linear-gradient(
    to bottom,
    var(--color-cream) 0%,
    rgba(244, 239, 226, 0) 100%
  );
  animation: scroll-cue-pulse 2.2s ease-in-out infinite;
}

@keyframes scroll-cue-pulse {
  0%, 100% { transform: scaleY(1); opacity: 0.9; }
  50% { transform: scaleY(0.55); opacity: 0.5; }
}

.hero.is-past .hero__scroll-cue {
  opacity: 0;
}

/* ---- Section bridge (wax seal transition) --------------------------------
   Visual connector positioned below the scroll cue text, bridging hero and
   announcement sections. Positioned absolutely within hero to overlay
   seamlessly over the bottom of the hero image.
   ---------------------------------------------------------------------- */

.hero__seal-bridge {
  position: absolute;
  bottom: -80px;
  left: 0;
  right: 0;
  width: 100%;
  height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px 0;
  pointer-events: none;
  z-index: 20;
}

.hero__seal-bridge-image {
  width: 50%;
  height: auto;
  max-width: 500px;
  display: block;
  opacity: 0;
  animation: seal-fade-in 1s var(--ease-luxe) 0.8s forwards;
}

@keyframes seal-fade-in {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* ---- Announcement section (section 02) --------------------------------
   Positioned to flow seamlessly from the hero.
   Maintains same native aspect ratio as hero for visual consistency.
   Negative margin-top closes any visual gap between sections.
   ---------------------------------------------------------------------- */

.announcement {
  position: relative;
  width: 100%;
  background-color: var(--color-cream);
  overflow: hidden;
  margin-top: -1px;
}

.announcement__media {
  width: 100%;
  opacity: 0;
  transform: scale(1.02);
  transition: opacity 1.1s var(--ease-luxe), transform 1.4s var(--ease-luxe);
}

.announcement__media.is-loaded {
  opacity: 1;
  transform: scale(1);
}

.announcement__image {
  width: 100%;
  height: auto;
  aspect-ratio: 4500 / 11168;
  display: block;
}

/* ---- Details section (section 03) --------------------------------
   Event details section with elegant layout and decorative elements.
   Constrained to 1080px width to maintain design scale without stretching.
   Layers are separated for independent animation and styling.
   ---------------------------------------------------------------------- */

.details {
  position: relative;
  width: 100%;
  max-width: 1080px;
  margin: -1px auto 0;
  background-color: var(--color-cream);
  overflow: hidden;
}

.details__layers {
  position: relative;
  width: 100%;
  aspect-ratio: 4500 / 11168;
  opacity: 0;
  transform: scale(1.02);
  transition: opacity 1.1s var(--ease-luxe), transform 1.4s var(--ease-luxe);
}

.details__layers.is-loaded {
  opacity: 1;
  transform: scale(1);
}

/* ---- Individual layers ---------------------------------------------------- */

.details__layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.details__layer-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* Layer stacking order (z-index from back to front) */

.details__layer--bg {
  z-index: 1;
}

.details__layer--sketch {
  z-index: 2;
}

.details__layer--birds {
  z-index: 3;
}

.details__layer--text {
  z-index: 4;
}

/* ---- Animated birds layer --------------------------------------------------
   Gentle floating motion for birds, creating soft movement within the scene.
   More subtle than section 1 birds to maintain elegant atmosphere.
   ---------------------------------------------------------------------- */

.details__birds-image {
  animation: details-birds-fly 7s ease-in-out infinite;
}

@keyframes details-birds-fly {
  0%, 100% {
    transform: translateY(0px) translateX(0px);
    opacity: 1;
  }
  20% {
    transform: translateY(-6px) translateX(4px);
    opacity: 0.98;
  }
  40% {
    transform: translateY(-10px) translateX(-3px);
    opacity: 0.96;
  }
  60% {
    transform: translateY(-8px) translateX(3px);
    opacity: 0.97;
  }
  80% {
    transform: translateY(-3px) translateX(-4px);
    opacity: 0.99;
  }
}

/* ---- Section 4 / celebration panel -------------------------------------- */

.section-four {
  position: relative;
  width: 100%;
  max-width: 1080px;
  margin: -1px auto 0;
  background-color: var(--color-cream);
  overflow: hidden;
}

.section-four__layers {
  position: relative;
  width: 100%;
  aspect-ratio: 4500 / 14342;
  opacity: 0;
  transform: scale(1.02);
  transition: opacity 1.1s var(--ease-luxe), transform 1.4s var(--ease-luxe);
}

.section-four__layers.is-loaded {
  opacity: 1;
  transform: scale(1);
}

.section-four__layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.section-four__layer-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.section-four__layer--bg { z-index: 1; }
.section-four__layer--palette { z-index: 2; }
.section-four__layer--flowers { z-index: 3; }
.section-four__layer--lace { z-index: 4; }
.section-four__layer--text { z-index: 5; }

.section-four__flowers-image {
  animation: section-four-flowers-float 9s ease-in-out infinite;
}

.section-four__lace-image {
  animation: section-four-lace-drift 12s ease-in-out infinite;
}

@keyframes section-four-flowers-float {
  0%, 100% {
    transform: translateY(0px) translateX(0px);
    opacity: 1;
  }
  25% {
    transform: translateY(-8px) translateX(3px);
    opacity: 0.98;
  }
  50% {
    transform: translateY(-14px) translateX(-2px);
    opacity: 0.96;
  }
  75% {
    transform: translateY(-6px) translateX(2px);
    opacity: 0.99;
  }
}

@keyframes section-four-lace-drift {
  0%, 100% {
    opacity: 0.9;
    transform: translateY(0px) translateX(0px);
  }
  25% {
    opacity: 0.94;
    transform: translateY(-4px) translateX(2px);
  }
  50% {
    opacity: 1;
    transform: translateY(-7px) translateX(-2px);
  }
  75% {
    opacity: 0.95;
    transform: translateY(-3px) translateX(1px);
  }
}

/* ---- Section 5 / keepsake panel ---------------------------------------- */

.section-five {
  position: relative;
  width: 100%;
  max-width: 1080px;
  margin: -1px auto 0;
  background-color: var(--color-cream);
  overflow: hidden;
}

.section-five__layers {
  position: relative;
  width: 100%;
  aspect-ratio: 4500 / 5377;
  opacity: 0;
  transform: scale(1.02);
  transition: opacity 1.1s var(--ease-luxe), transform 1.4s var(--ease-luxe);
}

.section-five__layers.is-loaded {
  opacity: 1;
  transform: scale(1);
}

.section-five__layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.section-five__layer-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.section-five__layer--bg { z-index: 1; }
.section-five__layer--book { z-index: 2; }
.section-five__layer--photos { z-index: 3; }
.section-five__layer--corners { z-index: 4; }
.section-five__layer--text { z-index: 5; }

.section-five__photos-image {
  /* animations removed for cleaner load */
}

.section-five__book-image {
  /* animations removed for cleaner load */
}

.section-five__corners-image {
  /* animations removed for cleaner load */
}

/* section 5 animations removed */

/* ---- Next section placeholder ---------------------------------------- */

.rsvp {
  position: relative;
  width: 100%;
  padding: 104px 20px 120px;
  background: #410016;
  color: var(--color-cream);
}

.rsvp__inner {
  width: min(100%, 720px);
  margin: 0 auto;
}

.rsvp__intro {
  margin-bottom: 42px;
  text-align: center;
}

.rsvp__eyebrow {
  margin-bottom: 12px;
}

.rsvp__title {
  margin: 0 auto 12px;
  max-width: 14ch;
  font-family: var(--font-title);
  font-weight: 400;
  font-size: clamp(2.5rem, 4vw, 4.1rem);
  line-height: 0.95;
  letter-spacing: 0.02em;
  color: var(--color-cream);
}

.rsvp__subtitle {
  margin: 0 auto;
  max-width: 34rem;
  font-family: var(--font-body);
  font-size: clamp(1.08rem, 2vw, 1.35rem);
  color: rgba(244, 239, 226, 0.78);
  font-style: italic;
}

.rsvp__embed-wrap {
  width: min(100%, 720px);
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.04);
  border-top: 1px solid rgba(244, 239, 226, 0.14);
  border-bottom: 1px solid rgba(244, 239, 226, 0.14);
  padding: 28px 0 16px;
  opacity: 0.98;
  transition: opacity 0.3s var(--ease-luxe);
}

.rsvp__embed {
  display: block;
  width: 100%;
  height: auto;
  min-height: 720px;
  border: 0;
  background: transparent;
  overflow: hidden;
}

.field {
  margin-bottom: 22px;
}

.field label,
.field legend {
  display: block;
  margin-bottom: 10px;
  font-family: var(--font-eyebrow);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(42, 42, 40, 0.9);
}

.rsvp input,
.rsvp select,
.rsvp textarea {
  width: 100%;
  border: 1px solid rgba(44, 36, 28, 0.16);
  border-radius: 0;
  background: rgba(255, 255, 255, 0.12);
  color: var(--color-charcoal);
  padding: 14px 16px 13px;
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.5;
  transition: border-color 0.22s var(--ease-luxe), background 0.22s var(--ease-luxe), box-shadow 0.22s var(--ease-luxe);
}

.rsvp,
.rsvp input,
.rsvp select,
.rsvp textarea,
.rsvp label,
.rsvp legend,
.rsvp button,
.rsvp p,
.rsvp span {
  font-family: var(--font-body);
}

.rsvp input:focus,
.rsvp select:focus,
.rsvp textarea:focus {
  outline: none;
  border-color: rgba(207, 159, 68, 0.9);
  background: rgba(255, 255, 255, 0.38);
  box-shadow: 0 0 0 4px rgba(207, 159, 68, 0.08);
}

.rsvp textarea {
  min-height: 148px;
  resize: vertical;
}

.rsvp textarea::placeholder {
  color: rgba(42, 42, 40, 0.42);
  font-style: italic;
}

.field--group {
  border: 0;
  padding: 0;
  margin: 0 0 26px;
}

.radio-group {
  display: grid;
  gap: 12px;
}

.choice {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border: 1px solid rgba(44, 36, 28, 0.16);
  background: rgba(255, 255, 255, 0.06);
  cursor: pointer;
  transition: border-color 0.2s var(--ease-luxe), background 0.2s var(--ease-luxe), transform 0.2s var(--ease-luxe);
}

.choice:hover {
  border-color: rgba(44, 36, 28, 0.3);
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-1px);
}

.choice input {
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: var(--color-gold);
}

.choice span {
  font-family: var(--font-body);
  font-size: 1.08rem;
  color: var(--color-charcoal);
}

.field--conditional[hidden] {
  display: none;
}

.field__error {
  min-height: 1.3em;
  margin: 8px 0 0;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-style: italic;
  color: #7b2d2d;
}

.rsvp__actions {
  display: flex;
  justify-content: center;
  padding: 14px 0 6px;
}

.rsvp__submit {
  appearance: none;
  border: 1px solid rgba(44, 36, 28, 0.24);
  background: rgba(42, 42, 40, 0.96);
  color: var(--color-cream);
  padding: 16px 28px;
  min-width: 220px;
  font-family: var(--font-eyebrow);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 0.2s var(--ease-luxe), opacity 0.2s var(--ease-luxe), border-color 0.2s var(--ease-luxe), background 0.2s var(--ease-luxe);
}

.rsvp__submit:hover,
.rsvp__submit:focus-visible {
  background: rgba(29, 29, 27, 1);
}

.rsvp__submit:hover,
.rsvp__submit:focus-visible {
  transform: translateY(-1px);
}

.rsvp__submit:disabled {
  opacity: 0.7;
  cursor: wait;
}

.rsvp__success {
  margin-top: 30px;
  padding: 28px 20px;
  border-top: 1px solid rgba(44, 36, 28, 0.18);
  text-align: center;
  background: rgba(255, 255, 255, 0.14);
}

.rsvp__success-name {
  margin: 0 0 10px;
  font-family: var(--font-script);
  font-size: clamp(2.2rem, 6vw, 4rem);
  line-height: 0.95;
  color: var(--color-charcoal);
}

.rsvp__success-message,
.rsvp__success-note {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.16rem;
  line-height: 1.5;
  color: rgba(42, 42, 40, 0.8);
}

.rsvp__success-note {
  margin-top: 8px;
  font-style: italic;
}

/* ---- Footer (structural placeholder) ---------------------------------- */

.site-footer {
  background-color: var(--color-cream);
}

/* ---- Reduced motion ---------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  .hero__layers,
  .details__layers,
  .section-four__layers,
  .section-five__layers,
  .site-header,
  .skip-link {
    transition: none !important;
  }

  .hero__scroll-cue-line,
  .hero__birds-image,
  .hero__layer--stars .hero__layer-image,
  .details__birds-image,
  .section-four__flowers-image,
  .section-four__lace-image,
  .section-five__photos-image,
  .section-five__book-image,
  .section-five__corners-image {
    animation: none !important;
  }

  .hero__layers,
  .details__layers,
  .section-four__layers,
  .section-five__layers {
    opacity: 1;
    transform: none;
  }

  .hero__birds-image,
  .hero__layer--stars .hero__layer-image,
  .details__birds-image,
  .section-four__flowers-image,
  .section-four__lace-image,
  .section-five__photos-image,
  .section-five__book-image,
  .section-five__corners-image {
    transform: none;
  }
}

/* ---- Small-height phones: tighten the scroll-cue offset ---------------- */

@media (max-height: 700px) {
  .hero__scroll-cue {
    bottom: 18px;
  }
}
