.starter-theme {
  --starter-ink: #18352c;
  --starter-muted: #5f716a;
  --starter-accent: #237a63;
  --starter-ivory: #fffcf7;
  background: var(--starter-ivory);
  color: var(--starter-ink);
  margin: 0 auto;
  min-height: 100vh;
  max-width: 50rem;
  overflow: hidden;
}

.starter-private-note {
  align-items: center;
  background: #18352c;
  color: #fff;
  display: flex;
  flex-wrap: wrap;
  font-size: .78rem;
  gap: .25rem 1rem;
  justify-content: center;
  padding: .75rem 1rem;
  text-align: center;
}

.starter-theme[data-event-type="wedding"] { max-width: 52rem; }

.starter-hero { position: relative; }

.starter-hero-fallback {
  align-items: end;
  aspect-ratio: 4 / 3;
  background:
    radial-gradient(circle at 20% 18%, rgb(255 255 255 / 70%), transparent 28%),
    linear-gradient(145deg, #dce9df, #9fc8b8);
  display: flex;
  justify-content: end;
  min-height: 24rem;
  overflow: hidden;
  padding: 2rem;
  position: relative;
}

.starter-hero-fallback::before,
.starter-hero-fallback::after {
  border: 1px solid rgb(24 53 44 / 24%);
  border-radius: 70% 0 70% 0;
  content: "";
  height: 14rem;
  position: absolute;
  width: 8rem;
}

.starter-hero-fallback::before { left: -2rem; top: -2rem; transform: rotate(18deg); }
.starter-hero-fallback::after { bottom: -3rem; right: -1rem; transform: rotate(192deg); }
.starter-hero-fallback span { color: rgb(24 53 44 / 54%); font-size: .75rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }

.starter-hero-image {
  aspect-ratio: 2 / 3;
  display: block;
  height: auto;
  object-fit: cover;
  width: 100%;
}

.starter-hero-image--landscape { aspect-ratio: 4 / 3; }
.starter-hero-image--identity { object-position: center; }

.starter-hero::after {
  background: linear-gradient(180deg, transparent 25%, rgb(9 28 22 / 78%));
  bottom: 0;
  content: "";
  left: 0;
  position: absolute;
  right: 0;
  top: 0;
}

.starter-hero-copy {
  bottom: 0;
  color: #fff;
  left: 0;
  padding: clamp(1.5rem, 7vw, 4rem);
  position: absolute;
  right: 0;
  text-align: center;
  z-index: 1;
}

.starter-eyebrow,
.starter-section-label {
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .16em;
  margin: 0 0 .75rem;
  text-transform: uppercase;
}

.starter-hero h1 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.35rem, 11vw, 5.4rem);
  line-height: .95;
  margin: 0;
  overflow-wrap: anywhere;
}

.starter-hero h1 span { display: block; font-size: .65em; font-style: italic; }
.starter-date { margin: 1.25rem 0 0; }

.starter-content,
.starter-gallery,
.starter-music {
  padding: clamp(2rem, 8vw, 4.5rem) clamp(1.25rem, 7vw, 4rem);
  text-align: center;
}

.starter-content--tint,
.starter-music { background: #eef4ef; }

.starter-identity-photos {
  background: #f5f8f3;
  padding: clamp(2rem, 8vw, 4.5rem) clamp(1.25rem, 7vw, 4rem);
  text-align: center;
}

.starter-identity-photos h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 8vw, 3.75rem);
  margin: 0 0 1.5rem;
  overflow-wrap: anywhere;
}

.starter-identity-photos-grid { display: grid; gap: 1rem; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.starter-identity-photo-card { margin: 0; }
.starter-identity-photo-card img { aspect-ratio: 4 / 5; border-radius: 1.25rem 1.25rem .25rem .25rem; display: block; height: auto; object-fit: cover; width: 100%; }
.starter-identity-photo-card figcaption { color: var(--starter-ink); font-family: Georgia, "Times New Roman", serif; font-size: 1.15rem; padding: .85rem .5rem 0; }

.starter-content h2,
.starter-gallery h2,
.starter-music h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 8vw, 3.75rem);
  margin: 0 0 1rem;
  overflow-wrap: anywhere;
}

.starter-section-label { color: var(--starter-accent); }
.starter-emphasis { font-weight: 700; }
.starter-muted { color: var(--starter-muted); }
.starter-prose { margin: 0 auto; max-width: 38rem; }

.starter-link {
  border-bottom: 2px solid currentColor;
  color: var(--starter-accent);
  display: inline-block;
  font-weight: 700;
  padding: .4rem 0;
  text-decoration: none;
}

.starter-link:focus-visible,
.starter-music audio:focus-visible { outline: 3px solid #b45f2a; outline-offset: 4px; }

.starter-music audio { margin-top: 1rem; max-width: 100%; width: 30rem; }

.starter-audio-consent-button {
  align-items: center;
  background: #234f43;
  border: 2px solid #234f43;
  border-radius: 999px;
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  font: inherit;
  font-weight: 700;
  justify-content: center;
  min-height: 44px;
  padding: .7rem 1.2rem;
}

.starter-audio-consent-button:hover { background: #183b32; border-color: #183b32; }
.starter-audio-consent-button:focus-visible { outline: 3px solid #b45f2a; outline-offset: 4px; }
.starter-audio-status { color: #4e5e58; font-size: .9rem; margin: .75rem 0 0; }

.starter-detail-image { margin: 0; }
.starter-detail-image img { display: block; height: auto; max-height: 42rem; object-fit: cover; width: 100%; }

.starter-gallery-grid { display: grid; gap: .75rem; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.starter-gallery-grid img { aspect-ratio: 1; height: 100%; object-fit: cover; width: 100%; }

.starter-footer {
  background: var(--starter-ink);
  color: #fff;
  font-size: .82rem;
  padding: 1.5rem;
  text-align: center;
}

.starter-footer p { margin: 0; }

@media (min-width: 48rem) {
  .starter-gallery-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 47.99rem) {
  .starter-identity-photos-grid { grid-template-columns: 1fr; }
}

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