:root {
  --paper: #d4d0c7;
  --paper-light: #eeeae2;
  --veil: rgba(238, 235, 226, 0.76);
  --mist: #9c988f;
  --stone: #79776f;
  --charcoal: #191715;
  --muted: rgba(25, 23, 21, 0.62);
  --line: rgba(21, 19, 17, 0.38);
  --white-soft: rgba(255, 255, 255, 0.72);
  --shadow: rgba(20, 18, 16, 0.2);
  --display: "Cormorant Garamond", Georgia, serif;
  --serif: "Forum", "Cormorant Garamond", Georgia, serif;
  --script: "Great Vibes", "Segoe Script", cursive;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* {
  box-sizing: border-box;
}

html {
  background: #e8e5de;
  scroll-behavior: auto;
}

body {
  min-width: 320px;
  margin: 0;
  color: var(--charcoal);
  background:
    linear-gradient(180deg, rgba(235, 232, 225, 0.92), rgba(202, 198, 188, 0.78)),
    #e5e1d8;
  font-family: var(--serif);
  overflow-x: hidden;
}

button,
input {
  font: inherit;
}

button:disabled {
  cursor: wait;
  opacity: 0.62;
}

a {
  color: inherit;
}

.site-texture {
  position: fixed;
  inset: 0;
  z-index: -3;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px),
    repeating-linear-gradient(103deg, rgba(255, 255, 255, 0.035) 0 2px, transparent 2px 9px);
  background-size: 56px 56px, 56px 56px, 100% 100%;
  opacity: 0.42;
}

.float-layer {
  position: fixed;
  inset: 0;
  z-index: 20;
  pointer-events: none;
}

.invitation {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.section-panel {
  position: relative;
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: clamp(5rem, 9vw, 8rem) clamp(1.25rem, 6vw, 6rem);
  isolation: isolate;
}

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

.hero {
  min-height: 100svh;
  place-items: center;
  background:
    linear-gradient(180deg, rgba(255, 254, 250, 0.9), rgba(229, 225, 216, 0.72)),
    radial-gradient(ellipse at 42% 48%, rgba(255, 255, 255, 0.32), transparent 28rem),
    #e9e5dd;
  color: #080706;
}

.hero-shade {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 55% 52%, rgba(255, 255, 255, 0.34), transparent 15rem),
    linear-gradient(90deg, rgba(229, 226, 217, 0.14), transparent 26%, transparent 72%, rgba(246, 244, 238, 0.24));
  mix-blend-mode: soft-light;
}

.hero-copy {
  width: min(46rem, 88vw);
  margin-top: clamp(1rem, 8svh, 4rem);
  margin-left: clamp(0rem, 4vw, 5rem);
  justify-self: center;
  transform: translateX(-5vw);
  text-align: left;
}

.hero-kicker {
  margin: 0 0 1rem;
  font-family: var(--serif);
  font-size: clamp(1.35rem, 2.5vw, 2.05rem);
  line-height: 1.05;
}

.names {
  display: grid;
  grid-template-columns: minmax(0, max-content) minmax(5.6rem, 0.38fr) minmax(0, max-content);
  align-items: baseline;
  column-gap: clamp(0.9rem, 2vw, 1.6rem);
  margin: 0;
  font-family: var(--display);
  font-size: clamp(4rem, 7.5vw, 7.25rem);
  font-weight: 400;
  line-height: 0.82;
  letter-spacing: 0;
  text-transform: uppercase;
}

.names span:first-child {
  grid-column: 1 / -1;
}

.name-and {
  justify-self: end;
  font-family: var(--script);
  font-size: 0.9em;
  line-height: 0.6;
  text-transform: none;
  transform: translateY(0.1em) rotate(-3deg);
}

.sound-toggle {
  position: fixed;
  top: clamp(1.2rem, 2.5vw, 2rem);
  right: clamp(1rem, 2.5vw, 2rem);
  z-index: 30;
  display: inline-flex;
  align-items: center;
  gap: 0.62rem;
  border: 1px solid rgba(17, 15, 13, 0.34);
  border-radius: 999px;
  background: rgba(246, 243, 236, 0.72);
  color: rgba(14, 12, 10, 0.84);
  padding: 0.58rem 0.9rem;
  cursor: pointer;
  backdrop-filter: blur(10px);
  transition: transform 220ms var(--ease), background 220ms var(--ease), border-color 220ms var(--ease);
}

.sound-toggle:hover {
  transform: translateY(-2px);
  border-color: rgba(17, 15, 13, 0.48);
  background: rgba(246, 243, 236, 0.72);
}

body.music-on .sound-toggle {
  border-color: rgba(17, 15, 13, 0.5);
  background: rgba(246, 243, 236, 0.82);
  color: rgba(14, 12, 10, 0.88);
}

.sound-icon {
  width: 2rem;
  height: 2rem;
  display: grid;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 999px;
  font-family: var(--display);
  font-size: 1.05rem;
}

.sound-label {
  font-family: var(--display);
  font-size: 0.78rem;
  letter-spacing: 0.09em;
  line-height: 1;
  text-transform: uppercase;
}

.hero-feather,
.section-feather {
  position: absolute;
  z-index: -1;
  pointer-events: none;
  opacity: var(--fo, 0.82);
  filter: drop-shadow(0 30px 50px rgba(35, 33, 30, 0.18));
  transform: translate3d(0, 0, 0) rotate(var(--fr, 0deg));
  transform-origin: center;
}

.hero-feather::before,
.hero-feather::after,
.section-feather::before,
.section-feather::after {
  content: "";
  position: absolute;
  inset: 0;
}

.hero-feather::before,
.section-feather::before {
  border-radius: 79% 21% 70% 30% / 49% 18% 82% 51%;
  background:
    repeating-linear-gradient(104deg, transparent 0 8px, rgba(92, 89, 82, 0.07) 9px 10px, transparent 11px 15px),
    linear-gradient(91deg, transparent 47%, rgba(74, 72, 66, 0.25) 49%, rgba(255, 255, 255, 0.12) 50%, transparent 52%),
    radial-gradient(ellipse at 44% 42%, rgba(255, 255, 255, 0.94) 0 28%, rgba(246, 244, 239, 0.86) 45%, rgba(221, 217, 207, 0.58) 63%, rgba(255, 255, 255, 0) 76%);
  mask-image: radial-gradient(ellipse at 50% 50%, #000 0 63%, transparent 76%);
}

.hero-feather::after,
.section-feather::after {
  left: 49%;
  top: 15%;
  width: 1px;
  height: 74%;
  background: linear-gradient(rgba(70, 68, 62, 0.08), rgba(39, 36, 32, 0.45), rgba(255, 255, 255, 0));
  transform: rotate(-5deg);
}

.hero-feather-main {
  --fr: 20deg;
  --fo: 0.76;
  width: clamp(36rem, 73vw, 64rem);
  height: clamp(22rem, 43vw, 38rem);
  right: -12vw;
  top: clamp(0.5rem, 6vh, 4rem);
}

.hero-feather-left {
  --fr: -14deg;
  --fo: 0.28;
  width: clamp(19rem, 28vw, 28rem);
  height: clamp(36rem, 53vw, 50rem);
  left: -13rem;
  bottom: -2rem;
}

.section-feather {
  width: clamp(16rem, 30vw, 30rem);
  height: clamp(30rem, 52vw, 50rem);
}

.welcome-feather {
  --fr: -39deg;
  --fo: 0.38;
  left: -8rem;
  top: 9rem;
}

.timeline-feather {
  --fr: -23deg;
  --fo: 0.48;
  right: -4rem;
  top: 5rem;
}

.pearl {
  position: absolute;
  width: var(--ps, 3.2rem);
  height: var(--ps, 3.2rem);
  border-radius: 999px;
  background:
    radial-gradient(circle at 32% 28%, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.35) 35%, rgba(92, 88, 81, 0.24) 72%, transparent 76%);
  box-shadow: inset -10px -12px 22px rgba(88, 83, 76, 0.18);
  opacity: var(--po, 0.34);
}

.pearl-a {
  --ps: 4.4rem;
  left: 10vw;
  top: 3.7vh;
}

.pearl-b {
  --ps: 3.4rem;
  left: 31vw;
  top: 24vh;
}

.pearl-c {
  --ps: 2.3rem;
  right: 24vw;
  top: 83vh;
}

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: clamp(1.3rem, 3vw, 2.4rem);
  width: 4.2rem;
  height: 4.2rem;
  display: grid;
  place-items: center;
  transform: translateX(-50%);
  text-decoration: none;
}

.scroll-cue svg {
  width: 3.4rem;
  height: 3.4rem;
  fill: none;
  stroke: #070605;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 5;
  animation: cue 2.4s ease-in-out infinite;
}

.welcome {
  background:
    linear-gradient(180deg, rgba(214, 210, 201, 0.65), rgba(170, 166, 157, 0.55)),
    #c7c2b8;
}

.content-block {
  width: min(62rem, 100%);
  text-align: center;
}

.intro-copy h2,
.dress-intro h2,
.form-shell h2 {
  margin: 0 auto clamp(1.6rem, 3vw, 2.2rem);
  font-family: var(--display);
  font-size: clamp(2.4rem, 5.5vw, 5.1rem);
  font-weight: 400;
  line-height: 0.95;
}

.intro-copy p,
.dress-intro p,
.note-stack p {
  width: min(58rem, 100%);
  margin: 0 auto 1.1rem;
  font-family: var(--display);
  font-size: clamp(1.55rem, 3.1vw, 2.65rem);
  font-weight: 400;
  line-height: 1.08;
}

.place {
  min-height: 54svh;
  background: rgba(206, 201, 191, 0.58);
}

.place-inner {
  width: min(66rem, 100%);
  text-align: center;
}

.script-word {
  margin: 0 0 -0.3rem;
  color: rgba(24, 22, 20, 0.18);
  font-family: var(--script);
  font-size: clamp(5rem, 13vw, 11rem);
  line-height: 0.8;
}

.place h2 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(2rem, 4.8vw, 4.4rem);
  font-weight: 400;
  line-height: 1;
}

.address {
  margin: 1rem 0 0;
  color: rgba(20, 18, 16, 0.66);
  font-size: clamp(1.25rem, 2.5vw, 1.9rem);
  line-height: 1.1;
}

.line-button {
  width: fit-content;
  min-width: 14rem;
  min-height: 3.3rem;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
  margin: 2rem auto 0;
  padding: 0.88rem 1.05rem;
  border: 1px solid rgba(14, 12, 10, 0.72);
  border-radius: 0;
  background: rgba(245, 242, 235, 0.55);
  color: var(--charcoal);
  font-family: var(--display);
  font-size: 1rem;
  letter-spacing: 0.08em;
  line-height: 1;
  text-decoration: none;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 220ms var(--ease), background 220ms var(--ease), border-color 220ms var(--ease);
}

.line-button:hover {
  transform: translateY(-2px);
  border-color: rgba(14, 12, 10, 0.98);
  background: rgba(255, 255, 255, 0.72);
}

.line-button svg {
  width: 3.4rem;
  height: 1rem;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.35;
}

.timeline {
  background:
    linear-gradient(180deg, rgba(157, 153, 145, 0.68), rgba(214, 209, 198, 0.56)),
    #aaa69d;
}

.timeline-layout {
  width: min(62rem, 100%);
}

.events {
  position: relative;
  display: grid;
  gap: clamp(2.3rem, 4vw, 4.6rem);
  margin: 0;
  padding: 0;
  list-style: none;
}

.events::before {
  content: "";
  position: absolute;
  top: 2rem;
  bottom: 2rem;
  left: 50%;
  width: 1px;
  background: linear-gradient(transparent, rgba(23, 20, 18, 0.62) 12%, rgba(23, 20, 18, 0.62) 88%, transparent);
  transform: translateX(-50%);
}

.events li {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 9rem minmax(0, 1fr);
  align-items: center;
  min-height: 8rem;
}

.events li::before {
  content: "";
  grid-column: 2;
  justify-self: center;
  width: 1.05rem;
  height: 1.05rem;
  border: 1px solid rgba(22, 20, 18, 0.62);
  border-radius: 999px;
  background: rgba(226, 222, 212, 0.72);
  box-shadow: 0 0 0 0.72rem rgba(222, 218, 208, 0.28);
}

.events li:nth-child(even) .event-copy {
  grid-column: 3;
  text-align: left;
}

.events li:nth-child(even) time {
  grid-column: 1;
  grid-row: 1;
  justify-self: end;
}

.event-copy {
  grid-column: 1;
  grid-row: 1;
  text-align: right;
}

.event-copy p {
  margin: 0 0 0.4rem;
  color: rgba(25, 23, 21, 0.68);
  font-family: var(--display);
  font-size: clamp(1.3rem, 2.5vw, 2.1rem);
  line-height: 1.05;
}

.event-copy h3 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(1.95rem, 4vw, 4.3rem);
  font-weight: 400;
  line-height: 0.95;
}

.events time {
  grid-column: 3;
  grid-row: 1;
  justify-self: start;
  color: rgba(20, 18, 16, 0.5);
  font-family: var(--script);
  font-size: clamp(3.1rem, 6.8vw, 6.4rem);
  line-height: 0.8;
}

.dress-code {
  min-height: 62svh;
  background:
    linear-gradient(180deg, rgba(222, 217, 207, 0.64), rgba(181, 176, 166, 0.52)),
    #d7d2c8;
  text-align: center;
}

.dress-intro {
  width: min(72rem, 100%);
}

.dress-intro h2 {
  width: min(67rem, 100%);
}

.palette {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(0.7rem, 2vw, 1.2rem);
  margin-top: clamp(2rem, 4vw, 3.4rem);
}

.palette span {
  width: clamp(3.4rem, 7vw, 5.7rem);
  aspect-ratio: 1;
  border: 1px solid rgba(20, 18, 16, 0.22);
  border-radius: 999px;
  background: var(--tone);
  box-shadow: inset -12px -14px 20px rgba(31, 28, 25, 0.13), 0 18px 26px rgba(23, 20, 18, 0.08);
}

.gallery {
  min-height: auto;
  padding-top: 5.4rem;
  padding-bottom: 5.8rem;
  background:
    radial-gradient(ellipse at 68% 26%, rgba(255, 255, 255, 0.28), transparent 24rem),
    linear-gradient(180deg, rgba(205, 200, 190, 0.82), rgba(176, 171, 162, 0.62)),
    #c9c3b8;
}

.photo-story {
  width: min(42rem, 100%);
}

.photo-story-copy {
  width: min(52rem, 100%);
  margin: 0 auto 2.3rem;
  text-align: center;
}

.photo-story-copy h2 {
  margin: 0;
  font-family: var(--display);
  font-size: 3.8rem;
  font-weight: 400;
  line-height: 0.96;
}

.story-photo {
  margin: 0;
}

.photo-frame {
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.24);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(20, 18, 16, 0.12)),
    linear-gradient(145deg, rgba(240, 236, 226, 0.38), rgba(108, 104, 96, 0.3)),
    var(--photo, linear-gradient(transparent, transparent)),
    repeating-linear-gradient(98deg, rgba(255, 255, 255, 0.08) 0 1px, transparent 1px 8px),
    #9f998f;
  background-position: center;
  background-size: cover;
  background-blend-mode: soft-light, color, normal, normal, normal;
  box-shadow: 0 2.1rem 4.8rem rgba(23, 20, 18, 0.24);
}

.photo-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.16), transparent 36%),
    radial-gradient(ellipse at 50% 40%, transparent 42%, rgba(20, 18, 16, 0.18) 100%);
  mix-blend-mode: soft-light;
}

.photo-frame::after {
  content: attr(data-fallback);
  position: absolute;
  inset: 1.2rem;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: rgba(247, 244, 237, 0.76);
  font-family: var(--display);
  font-size: 1.45rem;
  line-height: 1;
  text-align: center;
  text-transform: uppercase;
}

.story-photo.has-photo .photo-frame::after {
  opacity: 0;
}

.story-photo-main .photo-frame {
  aspect-ratio: 4 / 5;
}

.story-photo-main .photo-frame {
  background-position: 50% 52%;
}

.story-photo-accent {
  position: relative;
  z-index: 2;
  width: min(15.5rem, 42%);
  margin: -4.6rem 2.2rem 0 auto;
}

.story-photo-accent .photo-frame {
  aspect-ratio: 3 / 4;
  box-shadow: 0 1.7rem 3.8rem rgba(23, 20, 18, 0.25);
}

.story-photo-accent .photo-frame {
  background-position: 50% 42%;
}

.story-photo-accent figcaption {
  width: min(18rem, 100%);
  margin: 0.86rem 0 0 auto;
  color: rgba(20, 18, 16, 0.62);
  font-family: var(--display);
  font-size: 1.25rem;
  line-height: 1.08;
  text-align: right;
}

.details {
  min-height: 62svh;
  background:
    radial-gradient(ellipse at 82% 18%, rgba(255, 255, 255, 0.26), transparent 18rem),
    rgba(186, 181, 171, 0.68);
}

.note-stack {
  width: min(61rem, 100%);
  display: grid;
  gap: clamp(2rem, 4vw, 4rem);
  text-align: center;
}

.note-stack p {
  margin-bottom: 0;
}

.rsvp {
  background:
    linear-gradient(180deg, rgba(216, 211, 201, 0.72), rgba(151, 147, 139, 0.45)),
    #d2cdc2;
}

.form-shell {
  width: min(56rem, 100%);
}

.form-shell h2 {
  width: min(48rem, 100%);
  text-align: center;
}

.rsvp-form {
  display: grid;
  gap: clamp(1.4rem, 3vw, 2rem);
}

.bot-field {
  position: absolute;
  left: -100vw;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.field {
  display: grid;
  gap: 0.65rem;
}

.field span,
legend {
  color: rgba(19, 17, 15, 0.86);
  font-family: var(--display);
  font-size: clamp(1.25rem, 2.4vw, 1.65rem);
  line-height: 1.1;
}

input[type="text"] {
  width: 100%;
  min-height: 3.6rem;
  border: 0;
  border-bottom: 1px solid rgba(17, 15, 13, 0.66);
  border-radius: 0;
  background: transparent;
  color: var(--charcoal);
  padding: 0.35rem 0 0.55rem;
  font-family: var(--display);
  font-size: clamp(1.25rem, 2.5vw, 1.65rem);
  outline: none;
}

input[type="text"]::placeholder {
  color: rgba(20, 18, 16, 0.43);
}

input[type="text"]:focus {
  border-color: rgba(10, 9, 8, 0.95);
}

fieldset {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem 1.5rem;
  margin: 0;
  padding: 0;
  border: 0;
}

legend {
  grid-column: 1 / -1;
  margin-bottom: 0.45rem;
}

fieldset label {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  min-width: 0;
  color: rgba(20, 18, 16, 0.7);
  font-size: clamp(1.05rem, 2vw, 1.24rem);
  line-height: 1.1;
  cursor: pointer;
}

input[type="radio"],
input[type="checkbox"] {
  width: 1.05rem;
  height: 1.05rem;
  flex: 0 0 auto;
  margin: 0;
  accent-color: #171513;
}

.submit-button {
  justify-self: center;
}

.form-status {
  min-height: 1.35rem;
  margin: -0.3rem 0 0;
  color: rgba(20, 18, 16, 0.68);
  font-size: 1.12rem;
  text-align: center;
}

.countdown {
  min-height: 52svh;
  background:
    linear-gradient(rgba(63, 61, 57, 0.5), rgba(106, 102, 94, 0.55)),
    radial-gradient(ellipse at 50% 50%, rgba(255, 255, 255, 0.28), transparent 22rem),
    #77736b;
  color: #f7f3ea;
}

.countdown-card {
  width: min(76rem, 100%);
  text-align: center;
}

.date-line {
  margin: 0 0 1rem;
  font-family: var(--display);
  font-size: clamp(2.2rem, 5vw, 4.8rem);
  line-height: 0.95;
  text-transform: uppercase;
}

.countdown h2 {
  margin: 0 0 clamp(2rem, 5vw, 3.4rem);
  font-family: var(--display);
  font-size: clamp(1.2rem, 2.4vw, 1.8rem);
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.timer {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(0.65rem, 2vw, 2.5rem);
}

.timer div {
  display: grid;
  justify-items: center;
  gap: 0.42rem;
}

.timer strong {
  font-family: var(--display);
  font-size: clamp(3.8rem, 8vw, 8.4rem);
  font-weight: 400;
  line-height: 0.82;
}

.timer span {
  font-size: clamp(1rem, 2vw, 1.4rem);
}

.contact {
  min-height: 66svh;
  align-content: center;
  gap: 1rem;
  background:
    linear-gradient(180deg, rgba(212, 207, 197, 0.68), rgba(123, 120, 112, 0.65)),
    #b8b2a7;
  text-align: center;
}

.whatsapp-button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-width: 18rem;
  min-height: 3.6rem;
  border: 1px solid rgba(16, 14, 12, 0.75);
  background: rgba(246, 243, 235, 0.52);
  color: var(--charcoal);
  font-family: var(--display);
  font-size: 1rem;
  letter-spacing: 0.1em;
  text-decoration: none;
  text-transform: uppercase;
  transition: transform 220ms var(--ease), background 220ms var(--ease);
}

.whatsapp-button:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.72);
}

.contact p {
  width: min(34rem, 100%);
  margin: 0;
  color: rgba(20, 18, 16, 0.72);
  font-size: clamp(1.25rem, 2.6vw, 1.8rem);
  line-height: 1.1;
}

.contact .organizer {
  color: var(--charcoal);
}

.footer-names {
  margin-top: 2rem !important;
  font-family: var(--script);
  font-size: clamp(4rem, 11vw, 8rem) !important;
  line-height: 0.9 !important;
}

.reveal {
  opacity: 0;
  transform: translateY(2.4rem);
  transition: opacity 820ms var(--ease), transform 820ms var(--ease);
}

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

@keyframes cue {
  0%,
  100% {
    opacity: 0.28;
    transform: translateY(-0.45rem);
  }
  50% {
    opacity: 0.95;
    transform: translateY(0.45rem);
  }
}

@media (max-width: 900px) {
  .hero-copy {
    width: min(35rem, 88vw);
    transform: translateX(-2vw);
  }

  .names {
    grid-template-columns: minmax(0, max-content) minmax(3.4rem, 0.25fr) minmax(0, max-content);
  }

  .hero-feather-main {
    right: -23rem;
    top: 4rem;
  }

  .hero-feather-left {
    left: -16rem;
  }

  .events li {
    grid-template-columns: minmax(0, 1fr) 5rem minmax(0, 1fr);
  }
}

@media (max-width: 680px) {
  .section-panel {
    min-height: 100svh;
    padding: 4.4rem 1.15rem;
  }

  .hero-copy {
    width: min(25rem, 90vw);
    margin-top: 1rem;
    transform: none;
  }

  .hero-kicker {
    font-size: clamp(1.2rem, 5.2vw, 1.55rem);
  }

  .names {
    grid-template-columns: minmax(0, max-content) 2.8rem minmax(0, max-content);
    font-size: clamp(3.35rem, 17vw, 5.9rem);
  }

  .name-and {
    font-size: 0.82em;
  }

  .sound-toggle {
    top: 0.9rem;
    right: 0.8rem;
    padding: 0.45rem;
  }

  .sound-label {
    display: none;
  }

  .hero-feather-main {
    width: 42rem;
    height: 27rem;
    right: -25rem;
    top: 4.5rem;
  }

  .hero-feather-left {
    width: 18rem;
    height: 34rem;
    left: -13rem;
    bottom: 2rem;
  }

  .pearl-a {
    left: 8vw;
  }

  .pearl-b {
    left: 70vw;
    top: 20vh;
  }

  .pearl-c {
    right: 15vw;
  }

  .place {
    min-height: 70svh;
  }

  .events {
    gap: 2.4rem;
  }

  .events::before {
    left: 1rem;
  }

  .events li,
  .events li:nth-child(even) {
    grid-template-columns: 2rem minmax(0, 1fr);
    column-gap: 1rem;
    min-height: auto;
  }

  .events li::before {
    grid-column: 1;
    grid-row: 1 / 3;
    align-self: start;
    margin-top: 0.45rem;
  }

  .event-copy,
  .events li:nth-child(even) .event-copy {
    grid-column: 2;
    grid-row: 2;
    text-align: left;
  }

  .events time,
  .events li:nth-child(even) time {
    grid-column: 2;
    grid-row: 1;
    justify-self: start;
    margin-bottom: 0.4rem;
  }

  .gallery {
    padding-top: 4.3rem;
    padding-bottom: 4.8rem;
  }

  .photo-story-copy {
    margin-bottom: 1.7rem;
  }

  .photo-story-copy h2 {
    font-size: 2.45rem;
  }

  .story-photo-accent {
    width: min(13.8rem, 58vw);
    margin: -3.2rem 1rem 0 auto;
  }

  .story-photo-accent figcaption {
    font-size: 1.08rem;
  }

  fieldset {
    grid-template-columns: 1fr;
  }

  .line-button,
  .whatsapp-button {
    width: 100%;
    min-width: 0;
  }

  .timer {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 2rem;
  }
}

@media (max-width: 390px) {
  .names {
    font-size: clamp(3.05rem, 16vw, 4.3rem);
  }

  .intro-copy h2,
  .dress-intro h2,
  .form-shell h2,
  .photo-story-copy h2 {
    font-size: 2.2rem;
  }

  .intro-copy p,
  .dress-intro p,
  .note-stack p {
    font-size: 1.42rem;
  }

  .timer strong {
    font-size: 3.3rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }
}
