:root {
  --cream: #f7f3e9;
  --ink: #2d2c2c;
  --gallery-line: rgba(45, 44, 44, 0.32);
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: var(--cream);
  color: var(--ink);
}

body {
  min-height: 100svh;
  margin: 0;
  background: var(--cream);
  font-family: Avenir, "Avenir Next", "Helvetica Neue", Arial, sans-serif;
  font-size: 20px;
  font-weight: 400;
}

a {
  color: inherit;
}

.mobile-composition {
  position: relative;
  width: min(100%, 393px);
  min-height: 852px;
  margin-inline: auto;
  overflow: hidden;
  background: var(--cream);
}

.home-composition {
  height: max(852px, 100svh);
}

.brand-home-link {
  position: absolute;
  top: 91px;
  left: 50%;
  display: block;
  width: min(350px, calc(100% - 42px));
  transform: translateX(-50%);
}

.brand-logo {
  display: block;
  width: 100%;
  height: auto;
}

.brand-home-link:focus-visible {
  outline: 1px solid var(--ink);
  outline-offset: 4px;
}

.floral-crop {
  position: absolute;
  top: 199px;
  left: 50%;
  width: 192px;
  height: 263px;
  overflow: hidden;
  transform: translateX(-50%);
  pointer-events: none;
}

.floral-crop img {
  position: absolute;
  top: -61.01%;
  left: -165.63%;
  width: 419.79%;
  height: 544.82%;
  max-width: none;
}

.home-navigation {
  position: absolute;
  top: 493px;
  left: 50%;
  display: flex;
  width: 100%;
  flex-direction: column;
  align-items: center;
  transform: translateX(-50%);
  line-height: 50px;
  text-align: center;
  white-space: nowrap;
}

.home-navigation a {
  text-decoration: none;
}

.home-navigation a:hover,
.home-navigation a:focus-visible,
.gallery-link:hover,
.gallery-link:focus-visible {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
}

.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;
}

.invites-page {
  min-height: 100svh;
  background: var(--cream);
}

.invites-frame {
  height: 852px;
  min-height: 852px;
}

.invites-logo {
  top: 40px;
  width: 195px;
}

.invites-floral-crop {
  position: absolute;
  z-index: 4;
  top: 103px;
  left: 50%;
  width: 39px;
  height: 53px;
  overflow: hidden;
  transform: translateX(-50%);
  pointer-events: none;
}

.invites-floral-crop img {
  position: absolute;
  top: -61.01%;
  left: -165.63%;
  width: 419.79%;
  height: 544.82%;
  max-width: none;
}

.figma-carousel-viewport {
  position: absolute;
  top: 153px;
  left: 0;
  width: 100%;
  height: 543px;
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-inline: contain;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  cursor: grab;
  touch-action: pan-x;
  -webkit-overflow-scrolling: touch;
}

.figma-carousel-viewport:active {
  cursor: grabbing;
}

.figma-carousel-viewport::-webkit-scrollbar {
  display: none;
}

.figma-carousel-viewport:focus-visible {
  outline: 1px solid rgba(45, 44, 44, 0.42);
  outline-offset: -1px;
}

.figma-carousel-track {
  display: flex;
  width: max-content;
  height: 543px;
  padding-inline: calc((100% - 162.5px) / 2);
}

.figma-carousel-slot {
  position: relative;
  flex: 0 0 162.5px;
  height: 543px;
  scroll-snap-align: center;
  scroll-snap-stop: always;
}

.figma-carousel-card {
  position: absolute;
  top: 0;
  left: 50%;
  display: block;
  width: 302px;
  height: 525px;
  overflow: hidden;
  border-radius: 20px;
  background: #e5e2da;
  transform: translateX(-50%);
  transition: top 260ms ease, height 260ms ease, box-shadow 260ms ease;
}

.figma-carousel-slot:first-child .figma-carousel-card {
  transform: translateX(calc(-50% - 17px));
}

.figma-carousel-slot.is-active {
  z-index: 3;
}

.figma-carousel-slot.is-active .figma-carousel-card {
  top: 21px;
  height: 522px;
  box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
}

.design-card img {
  position: absolute;
  top: 0;
  left: -0.03%;
  display: block;
  width: 100.07%;
  height: 125.29%;
  max-width: none;
  pointer-events: none;
}

.figma-carousel-dots {
  position: absolute;
  top: 718px;
  left: 50%;
  display: flex;
  width: 72px;
  height: 20px;
  align-items: center;
  justify-content: space-between;
  transform: translateX(-50%);
}

.figma-carousel-dot {
  position: relative;
  width: 20px;
  height: 20px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #dedbd4;
  cursor: pointer;
}

.figma-carousel-dot::after {
  position: absolute;
  inset: -7px;
  content: "";
}

.figma-carousel-dot.is-active {
  background: #c6c3bb;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
  }
}
