:root {
  --bg: #f4f1ea;
  --paper: #fffdf9;
  --paper-soft: #f8f4ec;
  --text: #4d4b45;
  --green: #6a765f;
  --green-dark: #46513e;
  --gold: #b69b64;
  --line: rgba(105, 116, 93, .24);
  --shadow: 0 18px 50px rgba(51, 48, 42, .10);
  --font-body: "Segoe UI", Arial, Helvetica, sans-serif;
  --font-serif: Georgia, "Times New Roman", serif;
  --font-romantic: "Palatino Linotype", "Book Antiqua", Palatino, Georgia, serif;
  --font-names: "Alex Brush", "Segoe Script", "Brush Script MT", cursive;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  background: var(--bg);
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--text);
  background: var(--bg);
  font-family: var(--font-body);
  line-height: 1.6;
}

body.is-locked { overflow: hidden; }

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

.intro {
  position: fixed;
  inset: 0;
  z-index: 1000;
  overflow: hidden;
  display: grid;
  place-items: center;
  padding: 28px;
  background:
    radial-gradient(circle at 18% 20%, rgba(186, 201, 176, .20), transparent 34%),
    radial-gradient(circle at 84% 80%, rgba(182, 155, 100, .14), transparent 34%),
    #f7f4ed;
}

.intro__layout {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: minmax(340px, 520px) minmax(320px, 440px);
  align-items: center;
  gap: clamp(44px, 7vw, 100px);
  width: min(1180px, 100%);
}

.intro__copy {
  text-align: left;
}

.intro__eyebrow,
.intro__date,
.intro__guest-wrap p,
.eyebrow,
.section-kicker,
.small-note {
  margin: 0;
  color: var(--green);
  font-size: .72rem;
  letter-spacing: .22em;
  text-transform: uppercase;
}

.intro__monogram {
  display: flex;
  width: 72px;
  height: 72px;
  align-items: center;
  justify-content: center;
  margin: 24px 0 20px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  color: var(--gold);
  font-family: "Great Vibes", "Alex Brush", cursive;
  font-size: 2rem;
  font-weight: 400;
  line-height: 1;
}

.intro__monogram span {
  position: relative;
  display: block;
}

.intro__monogram-t {
  z-index: 2;
  transform: translateX(15%);
}

.intro__monogram-m {
  z-index: 1;
  margin-left: 0;
  transform: translate(-30%, 40%);
}

.intro__names {
  margin: 0;
  color: var(--green-dark);
  font-family: var(--font-names);
  font-size: clamp(3.4rem, 7vw, 6.6rem);
  font-weight: 400;
  font-style: normal;
  letter-spacing: 0;
  line-height: .98;
}

.intro__names span {
  display: block;
  margin: 12px 0;
  color: var(--gold);
  font-family: var(--font-serif);
  font-size: 1.5rem;
}

.intro__date { margin-top: 24px; }

.intro__guest-wrap {
  margin-top: 34px;
}

.intro__guest-wrap h2 {
  margin: 10px 0 0;
  color: var(--green-dark);
  font-family: var(--font-romantic);
  font-size: 1.5rem;
  font-weight: 500;
  font-style: italic;
}

.open-button {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 52px;
  margin-top: 28px;
  padding: 12px 22px;
  overflow: hidden;
  border: 0;
  border-radius: 999px;
  color: white;
  background: var(--green);
  cursor: pointer;
  box-shadow: 0 12px 28px rgba(70, 81, 62, .24);
  animation: buttonPulse 1.8s ease-in-out infinite;
}

.open-button::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: -120%;
  width: 48%;
  transform: skewX(-18deg);
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.45), transparent);
  animation: buttonShine 2.8s ease-in-out infinite;
}

.open-button span {
  position: relative;
  z-index: 2;
}

.open-button__icon { font-size: 1rem; }
.open-button__arrow { transition: transform .2s ease; }

.open-button:hover .open-button__arrow,
.open-button:focus-visible .open-button__arrow {
  transform: translateX(5px);
}

.intro__hint {
  margin: 14px 0 0;
  color: #77736c;
  font-size: .78rem;
}

.intro__visual {
  display: flex;
  justify-content: center;
}

.visual-card {
  width: min(100%, 400px);
  padding: 18px;
  border-radius: 220px 220px 26px 26px;
  background: rgba(255,255,255,.62);
  box-shadow: var(--shadow);
}

.visual-card__arch {
  position: relative;
  min-height: 560px;
  padding: 90px 30px 80px;
  border: 2px solid var(--green);
  border-radius: 200px 200px 18px 18px;
  text-align: center;
  background: var(--paper);
}

.visual-card__arch::after {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(182,155,100,.34);
  border-radius: 190px 190px 12px 12px;
}

.visual-card__tiny {
  position: relative;
  z-index: 2;
  color: var(--green);
  font-size: .68rem;
  letter-spacing: .22em;
}

.visual-card strong {
  position: relative;
  z-index: 2;
  display: block;
  margin: 18px 0;
  color: var(--green-dark);
  font-family: var(--font-names);
  font-size: 4.4rem;
  font-weight: 400;
  font-style: normal;
  letter-spacing: 0;
  line-height: 1;
}

.visual-card em {
  position: relative;
  z-index: 2;
  color: var(--gold);
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-style: normal;
}

.visual-card__floral,
.hero-card__flower {
  position: absolute;
  left: 50%;
  bottom: -48px;
  z-index: 4;
  width: 160px;
  height: 100px;
  transform: translateX(-50%);
}

.visual-card__floral i,
.hero-card__flower i {
  position: absolute;
  width: 28px;
  height: 58px;
  border-radius: 100% 0 100% 0;
  background: linear-gradient(145deg, #8fa083, #d8e0d1);
}

.visual-card__floral i:nth-child(1),
.hero-card__flower i:nth-child(1) { left: 30px; top: 28px; transform: rotate(-65deg); }
.visual-card__floral i:nth-child(2),
.hero-card__flower i:nth-child(2) { left: 68px; top: 8px; transform: rotate(-8deg); }
.visual-card__floral i:nth-child(3),
.hero-card__flower i:nth-child(3) { right: 28px; top: 28px; transform: rotate(55deg); }

.visual-card__floral b,
.hero-card__flower b {
  position: absolute;
  left: 50%;
  top: 44px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  transform: translateX(-50%);
  background:
    radial-gradient(circle at center, #d2a650 0 12%, transparent 13%),
    radial-gradient(ellipse at 50% 0%, #fff 0 26%, transparent 27%),
    radial-gradient(ellipse at 100% 50%, #fff 0 26%, transparent 27%),
    radial-gradient(ellipse at 50% 100%, #fff 0 26%, transparent 27%),
    radial-gradient(ellipse at 0% 50%, #fff 0 26%, transparent 27%);
}

.intro__petals {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.petal {
  position: absolute;
  top: -10%;
  width: 16px;
  height: 24px;
  border-radius: 75% 25% 70% 30%;
  background: linear-gradient(145deg, #fff, #e8ede3);
  box-shadow: 0 2px 6px rgba(70,81,62,.08);
  opacity: 0;
  animation: fall linear infinite;
}

.petal.leaf {
  width: 14px;
  height: 28px;
  background: linear-gradient(145deg, #91a187, #dce5d6);
}

.p1{left:5%;animation-duration:7.1s;animation-delay:-1.3s}
.p2{left:14%;animation-duration:8.6s;animation-delay:-6.1s}
.p3{left:24%;animation-duration:7.5s;animation-delay:-3.2s}
.p4{left:33%;animation-duration:9.2s;animation-delay:-8s}
.p5{left:43%;animation-duration:7.8s;animation-delay:-5.4s}
.p6{left:52%;animation-duration:8.8s;animation-delay:-2.7s}
.p7{left:62%;animation-duration:7.2s;animation-delay:-6.6s}
.p8{left:71%;animation-duration:9.1s;animation-delay:-4.5s}
.p9{left:80%;animation-duration:7.7s;animation-delay:-1.9s}
.p10{left:89%;animation-duration:8.9s;animation-delay:-7.3s}
.p11{left:96%;animation-duration:7.4s;animation-delay:-5.8s}
.p12{left:2%;animation-duration:9.4s;animation-delay:-8.4s}

@keyframes fall {
  0% { opacity: 0; transform: translate3d(0,-12vh,0) rotate(0deg); }
  12% { opacity: .85; }
  52% { transform: translate3d(32px,50vh,0) rotate(170deg); }
  100% { opacity: 0; transform: translate3d(-22px,112vh,0) rotate(350deg); }
}

@keyframes buttonPulse {
  0%,100% { transform: translateY(0); box-shadow: 0 12px 28px rgba(70,81,62,.24); }
  50% { transform: translateY(-3px); box-shadow: 0 18px 34px rgba(70,81,62,.34); }
}

@keyframes buttonShine {
  0%,58% { left: -120%; }
  82%,100% { left: 145%; }
}

.intro.is-leaving {
  animation: introLeave .72s cubic-bezier(.22,.72,.26,1) forwards;
}

.intro.is-leaving .intro__copy {
  animation: introCopyLeave .72s cubic-bezier(.22,.72,.26,1) forwards;
}

.intro.is-leaving .intro__visual {
  animation: introVisualLeave .72s cubic-bezier(.22,.72,.26,1) forwards;
}

@keyframes introLeave { to { opacity: 0; visibility: hidden; } }
@keyframes introCopyLeave { to { transform: translateX(-26px); opacity: 0; } }
@keyframes introVisualLeave { to { transform: translateX(26px); opacity: 0; } }

.transition-veil {
  position: fixed;
  inset: 0;
  z-index: 950;
  pointer-events: none;
  opacity: 0;
  background: #f7f4ed;
  transition: opacity .2s ease;
}

.transition-veil.is-active { opacity: 1; }

.site {
  width: min(100%, 1180px);
  margin: 0 auto;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.section {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 76vh;
  padding: 76px 28px;
  text-align: center;
}

.section--compact { min-height: auto; }

.section__content {
  width: min(100%, 760px);
}

.section--hero {
  min-height: 62vh;
  overflow: hidden;
}

.hero__inner {
  width: min(100%, 540px);
}

.hero-card {
  position: relative;
  margin: 26px auto 0;
  padding: 56px 24px 68px;
  border: 2px solid var(--green);
  border-radius: 180px 180px 18px 18px;
}

.hero-card::after {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(182,155,100,.34);
  border-radius: 170px 170px 12px 12px;
}

.hero-card h1,
.guest-name,
.closing h2 {
  position: relative;
  z-index: 2;
  margin: 10px 0;
  color: var(--green-dark);
  font-family: var(--font-romantic);
  font-size: clamp(3rem, 7vw, 5.6rem);
  font-weight: 400;
  font-style: italic;
  letter-spacing: -.045em;
  line-height: 1;
}

.hero-card h1 {
  margin: 20px 0 16px;
  font-family: var(--font-names);
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 400;
  font-style: normal;
  letter-spacing: 0;
  line-height: 1.12;
}

.hero-card h1 > span {
  display: block;
}

.hero-card h1 .hero-card__ampersand {
  position: relative;
  z-index: 2;
  margin: .16em 0;
  color: var(--gold);
  font-family: var(--font-serif);
  font-size: .55em;
  font-style: normal;
  letter-spacing: 0;
}

.hero-card__date {
  position: relative;
  z-index: 2;
  margin: 0;
  color: var(--green);
  font-family: var(--font-serif);
  font-size: .9rem;
  letter-spacing: .22em;
}

.scroll-cue {
  display: inline-flex;
  flex-direction: column;
  margin-top: 38px;
  color: var(--green);
  font-size: .68rem;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.scroll-cue__arrow {
  display: inline-block;
  font-size: 1.3rem;
  animation: scrollNudge 1.65s ease-in-out infinite;
}

@keyframes scrollNudge {
  0%,100% { transform: translateY(0); opacity: .65; }
  50% { transform: translateY(7px); opacity: 1; }
}

.hero__decor {
  position: absolute;
  width: 260px;
  height: 260px;
  border-radius: 100% 0 100% 0;
  background: linear-gradient(145deg, rgba(167,182,156,.24), rgba(240,244,236,.08));
}

.hero__decor--left { top: -90px; left: -90px; transform: rotate(-35deg); }
.hero__decor--right { right: -110px; bottom: -110px; transform: rotate(145deg); }

.family-section { background: var(--paper-soft); }

.section-divider {
  margin: 18px 0 26px;
  color: var(--gold);
}

.family-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 18px;
}

.family-card {
  padding: 28px 20px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255,255,255,.72);
}

.family-card__label,
.location-card__small {
  margin: 0 0 14px;
  color: var(--green);
  font-size: .72rem;
  letter-spacing: .2em;
}

.family-card h3 {
  margin: 8px 0;
  color: var(--green-dark);
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 500;
}

.family-card p:last-child {
  margin: 14px 0 0;
  font-size: .82rem;
}

.invitation-copy { background: linear-gradient(180deg, var(--paper), #f7f2e9); }

.invitation-copy__intro {
  color: var(--green-dark);
  font-family: var(--font-serif);
  line-height: 1.8;
}

.ornament {
  margin: 18px 0;
  color: var(--gold);
  font-size: 1.25rem;
}

.guest-name { font-size: clamp(2.8rem, 6vw, 4.8rem); }

.formal-name {
  margin: 24px 0;
  color: var(--green-dark);
  font-family: var(--font-serif);
  font-size: 1.55rem;
  font-weight: 500;
  line-height: 1.55;
}

.formal-name span {
  display: block;
  color: var(--gold);
  font-size: 1rem;
}

.event-section { background: #f4f0e8; }

.section-title {
  margin: 12px 0 0;
  color: var(--green-dark);
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 500;
}

.event-time {
  margin: 20px 0 6px;
  color: var(--green-dark);
  font-family: var(--font-serif);
  font-size: 1.3rem;
}

.event-date {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin: 18px 0;
}

.event-date__day {
  color: var(--green-dark);
  font-family: var(--font-serif);
  font-size: 4rem;
  line-height: 1;
}

.event-date__month,
.event-date__year { display: block; text-align: left; }

.event-date__month {
  color: var(--green);
  font-size: .72rem;
  letter-spacing: .18em;
}

.event-date__year {
  margin-top: 5px;
  color: var(--gold);
  font-family: var(--font-serif);
  font-size: 1.3rem;
}

.lunar-note { font-size: .78rem; font-style: italic; }

.countdown {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 10px;
  margin-top: 26px;
}

.countdown div {
  padding: 14px 6px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255,255,255,.58);
}

.countdown strong,
.countdown span { display: block; }

.countdown strong {
  color: var(--green-dark);
  font-family: var(--font-serif);
  font-size: 1.5rem;
}

.countdown span {
  margin-top: 4px;
  color: var(--green);
  font-size: .62rem;
  text-transform: uppercase;
}

.location-card {
  margin-top: 24px;
  padding: 30px 24px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255,255,255,.68);
}

.location-card h3 {
  margin: 10px 0;
  color: var(--green-dark);
  font-family: var(--font-serif);
  font-size: 1.55rem;
  font-weight: 500;
}

.location-card p { font-size: .84rem; }

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  margin-top: 20px;
  padding: 11px 22px;
  border-radius: 999px;
  color: white;
  background: var(--green);
}

.closing { min-height: 62vh; }

.closing h2 { font-size: clamp(3rem, 7vw, 5rem); }

.closing__names {
  color: var(--green-dark);
  font-family: var(--font-serif);
}

.music-toggle {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 120;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 6px 12px 6px 6px;
  border: 0;
  border-radius: 999px;
  color: white;
  background: rgba(70,81,62,.92);
  box-shadow: 0 8px 22px rgba(51,48,42,.18);
  cursor: pointer;
}

.music-toggle[hidden] { display: none; }

.music-toggle__disc {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border-radius: 50%;
  background: rgba(255,255,255,.14);
}

.music-toggle.is-playing .music-toggle__disc {
  animation: spin 5s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .55s ease, transform .55s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.site.is-entering {
  opacity: 0;
  transform: translateY(18px);
}

.site.is-entered {
  animation: siteEnter .72s cubic-bezier(.22,.72,.26,1) both;
}

@keyframes siteEnter {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 860px) {
  .intro {
    padding: 18px;
    overflow-y: auto;
  }

  .intro__layout {
    grid-template-columns: 1fr;
    gap: 24px;
    width: min(100%, 520px);
  }

  .intro__copy {
    padding-top: 12px;
    text-align: center;
  }

  .intro__monogram {
    margin-left: auto;
    margin-right: auto;
  }

  .intro__visual {
    display: none;
  }

  .intro__names {
    font-size: clamp(3rem, 14vw, 5.2rem);
  }

  .intro__guest-wrap {
    margin-top: 26px;
  }

  .site {
    width: min(100%, 520px);
  }

  .section {
    min-height: auto;
    padding: 56px 22px;
  }

  .section--hero {
    min-height: 58svh;
  }

  .hero-card {
    padding: 50px 20px 64px;
  }

  .family-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
}

@media (max-width: 430px) {
  .intro {
    padding: 18px 16px;
  }

  .intro__monogram {
    width: 62px;
    height: 62px;
    margin-top: 18px;
    margin-bottom: 16px;
  }

  .intro__names {
    font-size: clamp(2.65rem, 14vw, 3.8rem);
  }

  .intro__date { margin-top: 18px; }

  .intro__guest-wrap { margin-top: 22px; }

  .open-button {
    width: 100%;
    justify-content: center;
  }

  .family-card {
    padding: 22px 10px;
  }

  .family-card h3 {
    font-size: .9rem;
  }

  .hero-card h1 {
    font-size: clamp(2.15rem, 10.5vw, 3rem);
  }

  .countdown {
    gap: 7px;
  }

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

  .music-toggle span:last-child {
    display: none;
  }

  .music-toggle {
    width: 46px;
    height: 46px;
    justify-content: center;
    padding: 6px;
  }
}

@media (max-width: 380px) {
  .section {
    padding-right: 18px;
    padding-left: 18px;
  }

  .family-grid {
    grid-template-columns: 1fr;
  }

  .family-card {
    padding: 24px 18px;
  }

  .family-card h3 {
    font-size: 1rem;
  }

  .hero-card h1 .hero-card__ampersand {
    margin: .2em 0;
  }
}

@media (max-width: 430px) and (max-height: 700px) {
  .intro__copy {
    padding-top: 4px;
  }

  .intro__monogram {
    width: 54px;
    height: 54px;
    margin-top: 12px;
    margin-bottom: 12px;
  }

  .intro__date,
  .intro__guest-wrap {
    margin-top: 14px;
  }

  .open-button {
    margin-top: 18px;
  }

  .intro__hint {
    margin-top: 9px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }

}


/* V9 - visible motion refinements */
.intro__petals {
  z-index: 2;
}

.intro__layout {
  z-index: 4;
}

.petal {
  width: 19px;
  height: 28px;
  opacity: 0;
  background: linear-gradient(145deg, #fffef9, #dce5d6);
  border: 1px solid rgba(105,116,93,.14);
  box-shadow: 0 5px 12px rgba(70,81,62,.12);
  animation-name: visibleFall;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
}

.petal.leaf {
  width: 17px;
  height: 32px;
  background: linear-gradient(145deg, #809375, #cbd8c2);
  border-color: rgba(70,81,62,.18);
}

.petal.flower {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  color: #c59f5c;
  background: rgba(255,253,249,.92);
  font-size: 1.25rem;
  box-shadow: 0 5px 14px rgba(103,74,30,.12);
}

.p13{left:10%;animation-duration:8.2s;animation-delay:-4.2s}
.p14{left:20%;animation-duration:9.6s;animation-delay:-7.4s}
.p15{left:39%;animation-duration:7.8s;animation-delay:-2.8s}
.p16{left:58%;animation-duration:9.1s;animation-delay:-6.1s}
.p17{left:76%;animation-duration:8.5s;animation-delay:-5.0s}
.p18{left:92%;animation-duration:9.8s;animation-delay:-8.2s}

@keyframes visibleFall {
  0% {
    opacity: 0;
    transform: translate3d(0,-14vh,0) rotate(0deg) scale(.88);
  }
  8% {
    opacity: .92;
  }
  42% {
    transform: translate3d(42px,42vh,0) rotate(145deg) scale(1);
  }
  72% {
    opacity: .82;
  }
  100% {
    opacity: 0;
    transform: translate3d(-30px,114vh,0) rotate(370deg) scale(.92);
  }
}

/* Explicit scroll control */
.scroll-cue {
  gap: 9px;
  align-items: center;
  margin-top: 38px;
}

.scroll-cue__label {
  font-size: .68rem;
  letter-spacing: .18em;
}

.scroll-cue__mouse {
  position: relative;
  display: block;
  width: 26px;
  height: 42px;
  border: 1.5px solid var(--green);
  border-radius: 16px;
  background: rgba(255,255,255,.34);
  box-shadow: 0 5px 12px rgba(70,81,62,.07);
}

.scroll-cue__mouse i {
  position: absolute;
  left: 50%;
  top: 8px;
  width: 4px;
  height: 8px;
  border-radius: 999px;
  background: var(--gold);
  transform: translateX(-50%);
  animation: mouseWheel 1.55s ease-in-out infinite;
}

@keyframes mouseWheel {
  0% {
    opacity: 0;
    transform: translate(-50%, 0);
  }
  20% {
    opacity: 1;
  }
  70% {
    opacity: 1;
    transform: translate(-50%, 15px);
  }
  100% {
    opacity: 0;
    transform: translate(-50%, 19px);
  }
}

/* More legible music control */
.music-toggle {
  min-width: 118px;
  padding: 7px 13px 7px 7px;
  gap: 10px;
  border: 1px solid rgba(255,255,255,.42);
  background: rgba(70,81,62,.94);
  box-shadow: 0 10px 26px rgba(51,48,42,.22);
}

.music-toggle__icon {
  display: flex;
  width: 34px;
  height: 34px;
  align-items: center;
  justify-content: center;
  gap: 3px;
  border-radius: 50%;
  background: rgba(255,255,255,.13);
}

.music-toggle__icon i {
  display: block;
  width: 3px;
  height: 10px;
  border-radius: 999px;
  background: #fff;
  transform-origin: bottom;
}

.music-toggle.is-playing .music-toggle__icon i:nth-child(1) {
  animation: equalizer 1.05s ease-in-out infinite;
}
.music-toggle.is-playing .music-toggle__icon i:nth-child(2) {
  animation: equalizer .82s ease-in-out .12s infinite;
}
.music-toggle.is-playing .music-toggle__icon i:nth-child(3) {
  animation: equalizer 1.18s ease-in-out .22s infinite;
}

.music-toggle__text {
  font-size: .72rem;
  white-space: nowrap;
}

@keyframes equalizer {
  0%,100% { transform: scaleY(.55); opacity: .72; }
  50% { transform: scaleY(1.55); opacity: 1; }
}

@media (max-width: 430px) {
  .music-toggle {
    min-width: 48px;
    width: 48px;
    height: 48px;
    padding: 7px;
    justify-content: center;
  }

  .music-toggle__text {
    display: none !important;
  }
}

/* Do not remove all motion when OS prefers reduced motion.
   Keep clear, slower indicators instead. */
@media (prefers-reduced-motion: reduce) {
  .petal {
    display: block !important;
    animation-duration: 16s !important;
  }

  .open-button,
  .open-button::after,
  .scroll-cue__mouse i,
  .music-toggle.is-playing .music-toggle__icon i {
    animation-duration: 2.8s !important;
  }
}
