@font-face {
  font-family: "Wedding Serif";
  src: url("/fonts/3d48eef43d4fcf6a5298f81145ea7a31.woff2") format("woff2");
  font-display: swap;
  font-style: normal;
  font-weight: 100 900;
}

@font-face {
  font-family: "Wedding Script";
  src: url("/fonts/304da6bb759f7c1e6948d63f119e0b82.woff2") format("woff2");
  font-display: swap;
  font-style: normal;
  font-weight: 100 900;
}

:root {
  color-scheme: light;
  --paper: #f8f6ef;
  --paper-deep: #efede4;
  --ink: #414733;
  --brown: #624c3d;
  --olive: #6d7b48;
  --olive-dark: #58643b;
  --olive-soft: #bdc187;
  --blush: #b75c63;
  --cream: #fffaf0;
  --line: rgba(109, 123, 72, 0.22);
  --shadow-soft: 0 22px 70px rgba(58, 62, 43, 0.13);
  --shadow-card: 0 22px 38px rgba(56, 58, 41, 0.22), 0 4px 10px rgba(56, 58, 41, 0.13);
  font-family: "Wedding Serif", Georgia, "Times New Roman", serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

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

html {
  min-width: 320px;
  scroll-behavior: smooth;
  background: var(--paper-deep);
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 15% 10%, rgba(255, 255, 255, 0.85), transparent 35rem),
    linear-gradient(135deg, #f3f1ea, #e9e6de);
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  font: inherit;
}

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

.skip-link {
  position: fixed;
  z-index: 100;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.7rem 1rem;
  border-radius: 999px;
  color: var(--paper);
  background: var(--olive-dark);
  transform: translateY(-160%);
  transition: transform 160ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.invitation {
  width: min(100%, 1120px);
  margin-inline: auto;
  overflow: clip;
  background: #fff;
  box-shadow: 0 0 58px rgba(63, 68, 48, 0.1);
}

.eyebrow {
  margin: 0 0 0.7rem;
  color: var(--olive);
  font-size: 0.77rem;
  font-weight: 700;
  letter-spacing: 0.23em;
  text-transform: uppercase;
}

/* Kuvert: ausschließlich der obere, unveränderte Teil der Canva-Grafik. */
.envelope-hero {
  position: relative;
  z-index: 1;
  background: #fff;
}

.envelope-hero__crop {
  position: relative;
  aspect-ratio: 1440 / 690;
  overflow: hidden;
}

.envelope-hero__crop::after {
  position: absolute;
  inset: auto 0 0;
  height: 32%;
  background: linear-gradient(to bottom, transparent, #fff 76%);
  content: "";
}

.envelope-hero__image {
  display: block;
  width: 100%;
  height: auto;
  transform: translateX(clamp(6px, 1.4vw, 20px));
}

/* Neu gesetzte Einladungskarten */
.cards {
  position: relative;
  z-index: 2;
  margin-top: clamp(-3.5rem, -4vw, -1.5rem);
  padding: 0 clamp(1.25rem, 7vw, 5.25rem) clamp(6rem, 11vw, 9rem);
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0), #fff 4rem);
}

.cards__intro {
  position: relative;
  z-index: 3;
  width: fit-content;
  margin: 0 auto clamp(1.5rem, 4vw, 3rem);
  padding: 0 1.5rem;
  text-align: center;
}

.cards__intro h1 {
  margin: 0;
  color: var(--brown);
  font-family: "Wedding Script", cursive;
  font-size: clamp(3.8rem, 9vw, 6.8rem);
  font-weight: 400;
  line-height: 0.78;
}

.card-stack {
  position: relative;
  width: min(760px, 100%);
  min-height: 600px;
  margin-inline: auto;
}

.venue-polaroids {
  position: relative;
  z-index: 4;
  display: flex;
  justify-content: center;
  width: min(590px, 100%);
  margin: -9rem auto 0;
  transform: translateX(12%);
}

.venue-polaroid {
  width: clamp(160px, 21vw, 215px);
  margin: 0;
  padding: clamp(0.45rem, 1vw, 0.7rem) clamp(0.45rem, 1vw, 0.7rem)
    clamp(0.8rem, 1.5vw, 1.15rem);
  border: 1px solid rgba(112, 94, 68, 0.11);
  background: #fff;
  box-shadow: 0 13px 27px rgba(56, 58, 41, 0.18), 0 2px 6px rgba(56, 58, 41, 0.1);
}

.venue-polaroid {
  transform: rotate(4deg);
}

.venue-polaroid__photo {
  display: block;
  width: 100%;
  height: clamp(172px, 23vw, 225px);
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.venue-polaroid figcaption {
  margin-top: 0.65rem;
}

.venue-polaroid__logo {
  display: block;
  width: 75%;
  height: auto;
  margin-inline: auto;
}

.couple-card,
.date-card {
  position: absolute;
  box-shadow: var(--shadow-card);
}

.couple-card {
  top: 2.75rem;
  left: 1.5%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 59%;
  aspect-ratio: 0.78;
  padding: 3rem 3rem 2.5rem;
  color: #fff;
  background:
    radial-gradient(circle at 17% 23%, rgba(255, 255, 255, 0.16) 0 1px, transparent 1.5px)
      0 0 / 24px 24px,
    var(--olive-soft);
  text-align: center;
  transform: rotate(-1.25deg);
}

.couple-card::after {
  position: absolute;
  inset: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  content: "";
  pointer-events: none;
}

.couple-card__names {
  margin: auto 0;
  font-family: "Wedding Script", cursive;
  font-size: clamp(4.2rem, 9vw, 6.4rem);
  font-style: normal;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 0.76;
}

.couple-card__names small {
  display: block;
  margin: 0.18em 0 0.24em;
  font-family: inherit;
  font-size: 0.42em;
  font-style: normal;
}

.couple-card__promise {
  margin: 0;
  font-size: clamp(0.85rem, 2vw, 1.15rem);
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.date-card {
  z-index: 2;
  top: 0;
  right: 0;
  display: grid;
  place-content: center;
  width: 47%;
  min-height: 92%;
  padding: clamp(4.7rem, 9vw, 6.2rem) clamp(1.2rem, 3vw, 2.25rem)
    clamp(4.8rem, 9vw, 6.5rem);
  border: 1px solid rgba(112, 94, 68, 0.13);
  color: var(--ink);
  background:
    radial-gradient(circle at 11px 13px, rgba(118, 96, 65, 0.12) 0 0.65px, transparent 1.15px)
      0 0 / 29px 31px,
    radial-gradient(circle at 31px 21px, rgba(255, 255, 255, 0.46) 0 0.8px, transparent 1.4px)
      0 0 / 43px 39px,
    linear-gradient(128deg, rgba(255, 255, 255, 0.22), transparent 48%, rgba(129, 103, 66, 0.045)),
    #ebe5d7;
  text-align: center;
  transform: rotate(1.35deg);
}

.date-card p {
  position: relative;
  z-index: 2;
  margin: 0;
}

.date-card__day,
.date-card__year {
  color: var(--olive);
  font-size: clamp(3rem, 7.4vw, 5.05rem);
  font-weight: 400;
  line-height: 0.94;
}

.date-card__month {
  margin: 0.05em 0 0.12em !important;
  color: var(--olive);
  font-family: "Wedding Script", cursive;
  font-size: clamp(3.3rem, 7.2vw, 5.1rem);
  font-style: normal;
  line-height: 0.76;
}

.date-card__details {
  margin-top: 2.2rem !important;
  color: var(--olive);
  font-size: clamp(0.88rem, 2vw, 1.08rem);
  line-height: 1.42;
}

.date-card__details strong {
  font-weight: 600;
}

.pearl {
  position: absolute;
  z-index: 2;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: radial-gradient(circle at 32% 28%, #fff, #e9ded7 42%, #9a8c80 88%);
  box-shadow: 0 1px 2px rgba(58, 49, 42, 0.4);
}

.pearl--one {
  top: 9%;
  left: 23%;
}

.pearl--two {
  right: 11%;
  bottom: 29%;
}

.pearl--three {
  bottom: 9%;
  left: 14%;
}

/* Anreise */
.travel {
  position: relative;
  padding: clamp(5rem, 10vw, 8rem) clamp(1.25rem, 7vw, 5.25rem);
  border-top: 1px solid rgba(109, 123, 72, 0.12);
  background: #fff;
}

.travel__inner {
  width: min(980px, 100%);
  margin-inline: auto;
}

.travel__header {
  width: min(46rem, 100%);
  margin: 0 auto clamp(3.5rem, 7vw, 5.5rem);
  text-align: center;
}

.travel__header h2 {
  margin: 0;
  color: var(--brown);
  font-size: clamp(3.3rem, 9vw, 5.8rem);
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 0.92;
}

.travel__intro {
  margin: 1.5rem 0 0;
  color: rgba(65, 71, 51, 0.76);
  font-size: clamp(1rem, 2vw, 1.16rem);
  line-height: 1.58;
}

.travel__intro span {
  display: block;
}

.travel__intro > * + * {
  margin-top: 0.4rem;
}

.travel__intro strong {
  color: var(--ink);
  font-weight: 700;
}

.travel__maps-link {
  display: block;
  width: fit-content;
  margin-inline: auto;
  color: #8d474e;
  font-weight: 700;
  text-underline-offset: 0.2em;
}

.travel__maps-link + span {
  margin-top: 1.15rem;
}

.travel__route {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 1.08fr);
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
}

.travel__steps > ol {
  display: grid;
  gap: 2rem;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: route-step;
}

.travel__steps > ol > li {
  display: grid;
  grid-template-columns: 2.65rem 1fr;
  gap: 1rem;
  align-items: start;
  counter-increment: route-step;
}

.travel__steps > ol > li::before {
  display: grid;
  place-items: center;
  width: 2.65rem;
  height: 2.65rem;
  border-radius: 50%;
  color: var(--cream);
  background: var(--olive);
  content: counter(route-step);
  font-size: 1.1rem;
}

.travel__steps strong {
  color: var(--brown);
  font-size: 1.12rem;
}

.travel__steps p {
  margin: 0.7rem 0 0;
  line-height: 1.52;
}

.travel__steps ul {
  display: grid;
  gap: 0.45rem;
  margin: 0.8rem 0 0;
  padding-left: 1.15rem;
  line-height: 1.42;
}

.travel__steps ul li::marker {
  color: var(--blush);
}

.travel__steps .route-note {
  display: block;
  margin-top: 0.25rem;
}

.travel__map {
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(109, 123, 72, 0.18);
  border-radius: 1.1rem;
  background: var(--paper);
  box-shadow: var(--shadow-soft);
}

.travel__map img {
  display: block;
  width: 100%;
  height: auto;
}

.travel__map figcaption {
  padding: 0.85rem 1rem 0.95rem;
  color: rgba(65, 71, 51, 0.72);
  font-size: 0.86rem;
  text-align: center;
}

.travel__contact {
  width: min(46rem, 100%);
  margin: clamp(3rem, 7vw, 5rem) auto 0;
  padding: clamp(1.5rem, 3vw, 2.15rem) clamp(1.5rem, 4vw, 2.5rem);
  border: 1px solid rgba(183, 92, 99, 0.28);
  border-radius: 1rem;
  background: rgba(183, 92, 99, 0.055);
  text-align: center;
}

.travel__contact h3 {
  margin: 0 0 0.65rem;
  color: var(--brown);
  font-size: clamp(1.25rem, 3vw, 1.55rem);
}

.travel__contact p {
  margin: 0;
  line-height: 1.55;
}

.travel__contact a {
  color: #8d474e;
  font-weight: 700;
  text-underline-offset: 0.18em;
}

.attire {
  display: grid;
  grid-template-columns: minmax(220px, 0.7fr) minmax(0, 1.3fr);
  gap: clamp(2rem, 6vw, 5rem);
  margin-top: clamp(4rem, 8vw, 6rem);
  padding-top: clamp(3rem, 6vw, 4.5rem);
  border-top: 1px solid var(--line);
}

.attire h3 {
  margin: 0;
  color: var(--brown);
  font-size: clamp(2.15rem, 5vw, 3.35rem);
  font-weight: 400;
  line-height: 1;
}

.attire__copy {
  display: grid;
  gap: 1rem;
}

.attire__copy p {
  margin: 0;
  line-height: 1.58;
}

/* Ablauf und Aktionen greifen die Papier-CI des Menüs auf. */
.day {
  position: relative;
  padding: clamp(5rem, 10vw, 8rem) clamp(1.25rem, 7vw, 5.25rem) clamp(5rem, 9vw, 7rem);
  border-top: 1px solid rgba(109, 123, 72, 0.12);
  background:
    radial-gradient(circle at 11px 13px, rgba(109, 123, 72, 0.07) 0 0.8px, transparent 1.3px)
      0 0 / 39px 39px,
    linear-gradient(rgba(248, 246, 239, 0.93), rgba(248, 246, 239, 0.93)),
    var(--paper);
}

.day__header {
  width: min(780px, 100%);
  margin: 0 auto clamp(3.5rem, 7vw, 5.5rem);
  text-align: center;
}

.day__header h2 {
  margin: 0;
  color: var(--brown);
  font-size: clamp(3.3rem, 9vw, 5.8rem);
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 0.92;
}

.timeline {
  width: min(780px, 100%);
  margin: 0 auto;
  padding: 0;
  list-style: none;
}

.timeline li {
  position: relative;
  display: grid;
  grid-template-columns: clamp(5.4rem, 12vw, 7rem) minmax(0, 1fr);
  gap: clamp(1.25rem, 3vw, 2.25rem);
  min-height: 7rem;
  padding: 0 0 clamp(2.25rem, 5vw, 3.35rem) clamp(2.2rem, 5vw, 3.15rem);
  border-left: 2px solid rgba(109, 123, 72, 0.2);
  text-align: left;
}

.timeline li:last-child {
  min-height: 0;
  padding-bottom: 0;
  border-left-color: transparent;
}

.timeline li::before {
  position: absolute;
  top: 0.3rem;
  left: -0.55rem;
  width: 1rem;
  height: 1rem;
  border: 3px solid var(--paper);
  border-radius: 50%;
  background: var(--olive);
  box-shadow: 0 0 0 1px rgba(109, 123, 72, 0.3);
  content: "";
}

.timeline time {
  display: block;
  margin: 0;
  color: var(--blush);
  font-size: clamp(1.25rem, 3vw, 1.55rem);
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.1;
}

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

.timeline strong {
  color: var(--ink);
  font-size: clamp(1.25rem, 3vw, 1.65rem);
  font-weight: 500;
  line-height: 1.12;
}

.timeline span {
  margin-top: 0.5rem;
  color: rgba(65, 71, 51, 0.66);
  font-size: clamp(0.95rem, 2vw, 1.05rem);
  font-style: italic;
  line-height: 1.35;
}

.actions {
  display: grid;
  gap: 1rem;
  width: min(680px, 100%);
  margin: clamp(3.5rem, 7vw, 5.5rem) auto 0;
}

.pill-button {
  display: grid;
  place-items: center;
  min-height: 5.4rem;
  padding: 1rem 2rem 1.1rem;
  border: 1px solid transparent;
  border-radius: 999px;
  color: var(--cream);
  background: var(--olive);
  box-shadow: 0 14px 30px rgba(74, 82, 51, 0.18);
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background-color 180ms ease;
}

.pill-button > span {
  font-size: clamp(1.3rem, 3vw, 1.72rem);
  line-height: 1.1;
}

.pill-button > small {
  margin-top: 0.3rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  opacity: 0.75;
  text-transform: uppercase;
}

.pill-button--photos {
  color: var(--cream);
  border-color: #a34d54;
  background: var(--blush);
  box-shadow: 0 14px 30px rgba(123, 61, 66, 0.24);
}

.pill-button:hover {
  background: var(--olive-dark);
  box-shadow: 0 18px 34px rgba(74, 82, 51, 0.25);
  transform: translateY(-2px);
}

.pill-button--photos:hover {
  color: var(--cream);
  background: var(--olive-dark);
  border-color: var(--olive-dark);
  box-shadow: 0 18px 34px rgba(74, 82, 51, 0.28);
}

.pill-button:active {
  transform: translateY(0);
}

.pill-button:focus-visible,
.menu-dialog__close:focus-visible {
  outline: 3px solid #e7c555;
  outline-offset: 4px;
}

/* Menü-Popup */
.menu-dialog {
  width: min(900px, calc(100vw - 2rem));
  max-width: none;
  max-height: min(900px, calc(100dvh - 2rem));
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(109, 123, 72, 0.24);
  border-radius: 1.4rem;
  color: var(--ink);
  background: var(--paper);
  box-shadow: var(--shadow-soft);
}

.menu-dialog::backdrop {
  background: rgba(45, 50, 36, 0.54);
  backdrop-filter: blur(8px);
}

.menu-dialog[open] {
  animation: dialog-in 220ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.menu-dialog__surface {
  position: relative;
  max-height: min(900px, calc(100dvh - 2rem));
  padding: clamp(2rem, 6vw, 4.6rem);
  overflow-y: auto;
  overscroll-behavior: contain;
  background:
    radial-gradient(circle at 11px 13px, rgba(109, 123, 72, 0.075) 0 0.8px, transparent 1.3px)
      0 0 / 39px 39px,
    linear-gradient(rgba(248, 246, 239, 0.94), rgba(248, 246, 239, 0.94)),
    var(--paper);
}

.menu-dialog__close {
  position: absolute;
  z-index: 2;
  top: 1rem;
  right: 1rem;
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0 0 0.25rem;
  border: 1px solid rgba(109, 123, 72, 0.24);
  border-radius: 50%;
  color: var(--olive);
  background: rgba(248, 246, 239, 0.9);
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  transition:
    color 150ms ease,
    background-color 150ms ease,
    transform 150ms ease;
}

.menu-dialog__close:hover {
  color: var(--paper);
  background: var(--olive);
  transform: rotate(4deg);
}

.menu-dialog__header {
  width: min(42rem, 100%);
  margin: 0 auto clamp(2.5rem, 6vw, 4rem);
  text-align: center;
}

.menu-dialog h2 {
  margin: 0;
  color: var(--brown);
  font-size: clamp(3.2rem, 9vw, 5.5rem);
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 0.94;
}

.menu-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
}

.menu-column {
  min-width: 0;
  text-align: center;
}

.menu-column + .menu-column {
  padding-left: clamp(2rem, 5vw, 4rem);
  border-left: 1px solid var(--line);
}

.menu-column h3 {
  margin: 0 0 1.6rem;
  color: var(--brown);
  font-size: clamp(1.55rem, 4vw, 2.15rem);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.menu-group + .menu-group {
  margin-top: 1.55rem;
}

.menu-group h4 {
  margin: 0 0 0.55rem;
  color: var(--blush);
  font-size: 1.03rem;
  letter-spacing: 0.05em;
}

.menu-group p {
  margin: 0.34rem 0;
  line-height: 1.3;
}

.menu-items {
  display: grid;
  gap: 0.38rem;
  margin: 0;
  padding: 0;
  line-height: 1.3;
  list-style: none;
  text-wrap: balance;
}

.menu-group small {
  display: block;
  color: rgba(65, 71, 51, 0.7);
  font-family: inherit;
  font-size: 0.88em;
  font-style: italic;
  line-height: 1.25;
}

body:has(.menu-dialog[open]) {
  overflow: hidden;
}

@keyframes dialog-in {
  from {
    opacity: 0;
    transform: translateY(0.75rem) scale(0.985);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (max-width: 780px) {
  .envelope-hero__crop {
    aspect-ratio: 1440 / 730;
  }

  .cards {
    margin-top: -1.75rem;
  }

  .card-stack {
    min-height: 560px;
  }

  .couple-card {
    top: 3.5rem;
    left: 0;
    width: 62%;
    padding-inline: 1.25rem;
  }

  .date-card {
    right: 0;
    width: 50%;
  }

  .travel__route,
  .attire {
    grid-template-columns: 1fr;
  }

  .travel__map {
    width: min(620px, 100%);
    margin-inline: auto;
  }

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

  .menu-grid {
    grid-template-columns: 1fr;
    gap: 2.75rem;
  }

  .menu-column + .menu-column {
    padding: 2.75rem 0 0;
    border-top: 1px solid var(--line);
    border-left: 0;
  }
}

@media (max-width: 520px) {
  .envelope-hero__crop {
    aspect-ratio: 1 / 0.58;
  }

  .envelope-hero__image {
    width: 124%;
    max-width: none;
    margin-left: -12%;
  }

  .cards {
    margin-top: -1rem;
    padding-bottom: 5rem;
  }

  .cards__intro {
    margin-bottom: 2.5rem;
  }

  .card-stack {
    display: flex;
    flex-direction: column;
    min-height: 0;
    padding: 0 0.35rem;
  }

  .couple-card,
  .date-card {
    position: relative;
    inset: auto;
    width: 88%;
  }

  .couple-card {
    min-height: 400px;
    padding: 2.25rem 1.4rem 2rem;
    transform: rotate(-1.2deg);
  }

  .date-card {
    min-height: 435px;
    margin: -4.5rem 0 0 auto;
    transform: rotate(1.2deg);
  }

  .venue-polaroids {
    margin-top: -6rem;
    transform: translateX(10%);
  }

  .venue-polaroid {
    width: min(43vw, 170px);
  }

  .date-card__details {
    margin-top: 1.35rem !important;
  }

  .travel {
    padding-inline: 1.35rem;
  }

  .travel__route {
    gap: 3rem;
  }

  .travel__steps > ol > li {
    grid-template-columns: 2.35rem 1fr;
    gap: 0.85rem;
  }

  .travel__steps > ol > li::before {
    width: 2.35rem;
    height: 2.35rem;
  }

  .attire {
    gap: 1.75rem;
  }

  .day {
    padding-inline: 1.35rem;
  }

  .timeline {
    width: 100%;
  }

  .timeline li {
    grid-template-columns: 4.25rem minmax(0, 1fr);
    gap: 1rem;
    min-height: 6.25rem;
    padding: 0 0 2rem 1.7rem;
  }

  .timeline li::before {
    top: 0.25rem;
    left: -0.5rem;
  }

  .timeline time {
    margin: 0;
  }

  .pill-button {
    min-height: 5rem;
    padding-inline: 1.2rem;
  }

  .menu-dialog {
    width: calc(100vw - 1rem);
    max-height: calc(100dvh - 1rem);
    border-radius: 1rem;
  }

  .menu-dialog__surface {
    max-height: calc(100dvh - 1rem);
    padding: 4.2rem 1.25rem 2rem;
  }

  .menu-dialog__close {
    top: 0.75rem;
    right: 0.75rem;
  }

}

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