.theme-rimbun-editorial {
  --rimbun-forest: #173d32;
  --rimbun-leaf: #3f755f;
  --rimbun-mist: #edf3ef;
  --rimbun-paper: #fffdf8;
  --rimbun-ink: #1e2925;
  --rimbun-muted: #5f6f68;
  --rimbun-line: #d7e3dc;
  background: var(--rimbun-paper);
  color: var(--rimbun-ink);
  margin: 0 auto;
  max-width: 50rem;
  min-height: 100vh;
  overflow: hidden;
  width: 100%;
}

.theme-rimbun-editorial * { box-sizing: border-box; }
.theme-rimbun-editorial[data-event-type="wedding"] { max-width: 52rem; }
.rimbun-private-note { background: var(--rimbun-forest); color: #fff; display: flex; flex-wrap: wrap; gap: .4rem 1rem; justify-content: center; overflow-wrap: anywhere; padding: .75rem 1rem; text-align: center; }
.rimbun-private-note > * { min-width: 0; }
.rimbun-hero { min-height: min(92dvh, 48rem); position: relative; }
.rimbun-hero-media, .rimbun-hero-fallback { display: block; height: 100%; inset: 0; object-fit: cover; position: absolute; width: 100%; }
.rimbun-hero-media--landscape { object-position: center; }
.rimbun-hero-media--identity { object-position: center; }
.rimbun-hero-fallback { align-items: center; background: var(--rimbun-mist); color: var(--rimbun-forest); display: flex; font-family: Georgia, "Times New Roman", serif; font-size: clamp(2.2rem, 10vw, 5rem); justify-content: center; padding: 2rem; text-align: center; }
.rimbun-hero-scrim { background: linear-gradient(180deg, rgb(8 29 21 / 5%), rgb(8 29 21 / 82%)); inset: 0; position: absolute; }
.rimbun-hero-copy { bottom: 0; box-sizing: border-box; color: #fff; left: 0; padding: clamp(1.5rem, 8vw, 4.5rem); position: absolute; right: 0; width: auto; z-index: 1; }
.rimbun-kicker, .rimbun-section-label { color: var(--rimbun-leaf); font-size: .72rem; font-weight: 700; letter-spacing: .15em; margin: 0 0 .8rem; text-transform: uppercase; }
.rimbun-kicker { color: #dcefe5; }
.rimbun-hero h1 { font-family: Georgia, "Times New Roman", serif; font-size: clamp(2.25rem, 7vw, 5rem); line-height: .98; margin: 0; max-width: 100%; min-width: 0; overflow-wrap: anywhere; }
.rimbun-ampersand { display: block; font-size: .52em; font-style: italic; line-height: 1.1; padding-bottom: .15em; }
.rimbun-hero-date { display: flex; flex-wrap: wrap; gap: .25rem .8rem; margin: 1.2rem 0 0; }
.rimbun-hero-date span { opacity: .82; }
.rimbun-intro, .rimbun-event, .rimbun-gallery, .rimbun-music, .rimbun-gift { padding: clamp(2.5rem, 9vw, 5rem) clamp(1.25rem, 7vw, 4rem); }
.rimbun-intro { background: var(--rimbun-mist); }
.rimbun-identity-photos { background: #f7faf7; padding: clamp(2.5rem, 9vw, 5rem) clamp(1.25rem, 7vw, 4rem); }
.rimbun-identity-photos h2 { color: var(--rimbun-forest); font-family: Georgia, "Times New Roman", serif; font-size: clamp(2rem, 8vw, 3.8rem); line-height: 1.04; margin: 0 0 1.7rem; overflow-wrap: anywhere; }
.rimbun-identity-photos-grid { display: grid; gap: 1rem; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.rimbun-identity-photo-card { margin: 0; }
.rimbun-identity-photo-card img { aspect-ratio: 4 / 5; border-radius: 50% 50% .5rem .5rem; display: block; height: auto; object-fit: cover; width: 100%; }
.rimbun-identity-photo-card figcaption { color: var(--rimbun-forest); font-family: Georgia, "Times New Roman", serif; font-size: 1.15rem; padding: .85rem .5rem 0; text-align: center; }
.rimbun-intro h2, .rimbun-event h2, .rimbun-story h2, .rimbun-gallery h2, .rimbun-music h2, .rimbun-gift h2 { color: var(--rimbun-forest); font-family: Georgia, "Times New Roman", serif; font-size: clamp(2rem, 8vw, 3.8rem); line-height: 1.04; margin: 0 0 1rem; overflow-wrap: anywhere; }
.rimbun-intro > p:last-child, .rimbun-muted, .rimbun-prose { color: var(--rimbun-muted); }
.rimbun-section-heading { margin-bottom: 1.7rem; }
.rimbun-event { border-bottom: 1px solid var(--rimbun-line); }
.rimbun-event-details { border-top: 1px solid var(--rimbun-line); margin: 0 0 1.5rem; }
.rimbun-event-details > div { border-bottom: 1px solid var(--rimbun-line); display: grid; gap: .8rem; grid-template-columns: 5.5rem 1fr; padding: 1rem 0; }
.rimbun-event-details dt { color: var(--rimbun-muted); font-size: .82rem; font-weight: 700; }
.rimbun-event-details dd { margin: 0; overflow-wrap: anywhere; }
.rimbun-action { align-items: center; background: var(--rimbun-leaf); border: 2px solid var(--rimbun-leaf); border-radius: 999px; color: #fff; display: inline-flex; font: inherit; font-weight: 700; justify-content: center; min-height: 44px; padding: .7rem 1.2rem; text-decoration: none; transition: background-color .2s ease, transform .2s ease; }
.rimbun-action:hover { background: var(--rimbun-forest); border-color: var(--rimbun-forest); color: #fff; transform: translateY(-1px); }
.rimbun-action:focus-visible, .rimbun-music audio:focus-visible { outline: 3px solid #b45f2a; outline-offset: 4px; }
.rimbun-story { align-items: start; display: grid; gap: 1.5rem; grid-template-columns: 3.5rem 1fr; padding: clamp(2.5rem, 9vw, 5rem) clamp(1.25rem, 7vw, 4rem); }
.rimbun-story-mark { align-items: center; background: var(--rimbun-forest); border-radius: 50%; color: #fff; display: flex; font-family: Georgia, "Times New Roman", serif; font-size: 1.6rem; height: 3.5rem; justify-content: center; width: 3.5rem; }
.rimbun-prose { max-width: 38rem; }
.rimbun-prose p { margin: 0 0 1rem; }
.rimbun-gallery { background: var(--rimbun-mist); }
.rimbun-gallery-grid { display: grid; gap: .75rem; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.rimbun-gallery-grid img { aspect-ratio: 1; display: block; height: 100%; object-fit: cover; width: 100%; }
.rimbun-music { align-items: start; display: grid; gap: 1.5rem; grid-template-columns: 1fr 1fr; }
.rimbun-audio-consent { align-self: center; }
.rimbun-audio-status { color: var(--rimbun-muted); font-size: .9rem; margin: .75rem 0 0; }
.rimbun-music audio { margin-top: 1rem; max-width: 100%; width: 100%; }
.rimbun-gift { text-align: center; }
.rimbun-footer { background: var(--rimbun-forest); color: #fff; font-size: .82rem; padding: 1.5rem; text-align: center; }
.rimbun-footer p { margin: 0; }

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

@media (max-width: 47.99rem) {
  .rimbun-private-note { align-items: center; flex-direction: column; gap: .25rem; }
  .rimbun-private-note strong, .rimbun-private-note span { display: block; max-width: 100%; }
  .rimbun-private-note span { font-size: .9rem; max-width: calc(100vw - 1rem); overflow-wrap: anywhere; text-wrap: balance; width: 100%; word-break: break-word; }
  .rimbun-hero { overflow: hidden; }
  .rimbun-hero-copy { padding: 1.25rem 1rem 1.5rem; }
  .rimbun-hero h1 { font-size: clamp(1.8rem, 8vw, 3.25rem); letter-spacing: -.02em; max-width: calc(100vw - 2rem); overflow-wrap: anywhere; width: 100%; word-break: normal; }
  .rimbun-music { grid-template-columns: 1fr; }
  .rimbun-identity-photos-grid { grid-template-columns: 1fr; }
}

@media (max-width: 23.99rem) {
  .rimbun-private-note { padding-inline: .5rem; }
  .rimbun-private-note span { font-size: .78rem; letter-spacing: -.01em; }
  .rimbun-hero-copy { padding-inline: .75rem; }
  .rimbun-hero h1 { transform: scaleX(.9); transform-origin: left top; }
}

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