/* White Orchid wedding · Mobile-only editorial composition */
:root {
  --ivory: #f6f7ef;
  --paper: #fffef9;
  --ink: #233b31;
  --gold: #48664b;
  --line: #cbd3bf;
  --soft: #e9eddf;
  --serif: Georgia, 'Times New Roman', serif;
  --sans: 'Avenir Next', Avenir, 'Segoe UI', sans-serif;
  --radius: 18px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: #182e25;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}
body.sealed { overflow: hidden; background: #173c2e; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
button, a, input, textarea, select { -webkit-tap-highlight-color: transparent; }
button:focus-visible, a:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible, .gallery:focus-visible {
  outline: 3px solid #8a713e;
  outline-offset: 5px;
}
button { touch-action: manipulation; }
[hidden] { display: none !important; }
main, footer { width: 100%; }
main { max-width: 480px; margin: 0 auto; background: var(--ivory); overflow: clip; }
main[inert] { visibility: hidden; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; }
h2 { font-size: clamp(2.35rem, 9vw, 3.05rem); line-height: 1.18; letter-spacing: -.04em; }
h2 em { font-weight: 400; color: var(--gold); }
h3 { font-size: 1.5rem; line-height: 1.4; }
p + p { margin-top: 1.1rem; }
.full-screen { min-height: 100svh; height: 100svh; position: relative; isolation: isolate; }
.eyebrow, .small-label { font-size: .75rem; line-height: 1.8; letter-spacing: .2em; font-weight: 600; }
.eyebrow { color: var(--gold); margin-bottom: 1.5rem; }
.small-label { color: var(--gold); margin-bottom: .8rem; letter-spacing: .15em; }
.section { padding: 84px 30px; text-align: center; }
.section > h2 { margin-bottom: 28px; }
.section > p:not(.eyebrow):not(.signature) { max-width: 350px; margin-left: auto; margin-right: auto; }
.section-mark { display: block; color: var(--gold); font-family: var(--serif); font-size: 2rem; margin: 20px 0; }
.signature { font-family: var(--serif); color: var(--gold); font-style: italic; font-size: 1.9rem; margin-top: 32px; }
.muted { font-size: .875rem; color: #56614e; }
.fine-rule { display: block; width: 48px; height: 1px; background: currentColor; margin: 23px auto; opacity: .65; }
/* Opening stationery */
.envelope {
  position: fixed;
  inset: 0;
  width: min(100%, 480px);
  height: 100dvh;
  margin: auto;
  padding: 0;
  z-index: 100;
  border: 0;
  border-radius: 0;
  background: #173c2e;
  color: #f5edce;
  overflow: hidden;
  transition: opacity .9s ease, visibility .9s;
}
.envelope-art { position: absolute; inset: 0; width: 100%; height: 100%; background: #173c2e; }
.envelope-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; object-position: center; transition: opacity 1.1s ease; }
.envelope-open { opacity: 0; }
.envelope.opening .envelope-closed { opacity: 0; }
.envelope.opening .envelope-open { opacity: 1; }
.envelope.departing { opacity: 0; visibility: hidden; }
.envelope-heading { position: absolute; top: 13%; left: 10%; width: 80%; font-size: .75rem; letter-spacing: .23em; }
.envelope-monogram { position: absolute; left: 0; width: 100%; top: 27%; font-family: var(--serif); font-size: 2.4rem; letter-spacing: .12em; }
.envelope-monogram i { font-size: 1.7rem; }
.envelope-instruction { position: absolute; bottom: 12%; left: 10%; width: 80%; font-family: var(--serif); font-style: italic; font-size: 1.4rem; }
.envelope-instruction span { display: block; margin-top: 8px; font-family: var(--sans); font-style: normal; font-size: .75rem; letter-spacing: .04em; }
.envelope.opening .envelope-heading, .envelope.opening .envelope-monogram, .envelope.opening .envelope-instruction { opacity: 0; transition: opacity .5s; }
/* Portrait chapters */
.cover-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 35%; z-index: -2; border-radius: 18px; }
.hero::after, .photo-chapter::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 30%, rgba(12,20,12,.12) 43%, rgba(12,20,12,.82) 100%); z-index: -1; }
.hero-ornament {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: clamp(120px, 32vw, 150px);
  object-fit: contain;
  object-position: top;
  pointer-events: none;
}
.hero-copy { position: absolute; bottom: 30px; padding: 0 20px; width: 100%; color: #fffdf7; text-align: center; }
.hero-copy .eyebrow, .chapter-copy .eyebrow { color: #f7faff; margin-bottom: 14px; }
h1 { font-size: clamp(3.4rem, 14vw, 4.5rem); line-height: .98; letter-spacing: -.05em; }
#couple-names:focus { outline: none; }
h1 em { display: block; font-size: 2rem; font-weight: 400; line-height: 1.4; }
.hero-date { letter-spacing: .22em; font-size: .9rem; margin-top: 25px; }
.hero-copy > p:not(.eyebrow):not(.hero-date):not(.scroll-cue) { font-size: .875rem; }
.hero-copy .fine-rule { margin: 18px auto; }
.hero-copy .scroll-cue { font-size: .75rem; margin-top: 32px; }
.scroll-cue span { display: block; font-size: 1.5rem; margin-top: 7px; }
.chapter-copy { position: absolute; bottom: 65px; width: 100%; padding: 0 30px; color: white; text-align: center; }
.chapter-copy h2 { font-size: 4rem; }
.chapter-copy h2 em { color: white; }
/* Enchanted Garden: botanical stationery, deep green, and warm paper. */
.envelope { background: #173c2e; }
.card { border: 1px solid var(--line); box-shadow: 0 6px 28px #7583970a; }
.announcement, .thank-you { background-image: url("assets/ornament.webp"); background-repeat: no-repeat; background-size: 175px auto; background-position: center bottom; padding-bottom: 115px; }
.family-group h3 { color: #244b39; }
.story-item { padding-top: 12px; }
.year { border-bottom: 1px solid var(--line); padding: 0 20px 8px; display: inline-block; }
/* Story and family */
.announcement { background: var(--paper); }
.story { background: var(--soft); }
.story-item { margin-top: 36px; }
.story-item h3 { margin: 7px 0 12px; }
.year { font-family: var(--serif); color: var(--gold); font-size: 1.25rem; font-style: italic; }
.family-group { margin: 30px 0; }
.families > p:last-child { margin-top: 35px; }
/* Countdown and timeline */
.countdown-section { background: #244b39; color: #fffdf5; padding-left: 20px; padding-right: 20px; }
.countdown-section h2 em, .countdown-section .eyebrow { color: #e3eacb; }
.countdown { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin: 38px 0 25px; }
.countdown strong { font-family: var(--serif); display: block; font-weight: 400; font-size: clamp(2.15rem, 8vw, 3rem); line-height: 1.1; font-variant-numeric: tabular-nums; }
.countdown span { font-size: .75rem; display: block; margin-top: 10px; }
.countdown-section > p:last-child { font-size: .875rem; }
.timeline { list-style: none; margin: 40px 0 0; padding: 0; text-align: left; }
.timeline li { display: grid; grid-template-columns: 61px 1fr; gap: 20px; padding-bottom: 30px; position: relative; }
.timeline li::after { content: ''; position: absolute; left: 67px; top: 8px; bottom: -8px; border-left: 1px solid var(--line); }
.timeline li:last-child::after { bottom: 30px; }
.timeline time { color: var(--gold); font-size: .875rem; padding-top: 5px; }
.timeline h3 { font-size: 1.35rem; }
.timeline p { font-size: .875rem; line-height: 1.6; margin-top: 6px; }
/* Cards and event information */
.card { border: 1px solid var(--line); border-radius: var(--radius); padding: 32px 24px; margin-top: 24px; background: var(--paper); }
.card h3 { font-size: 2rem; margin-bottom: 18px; }
.card p { font-size: .95rem; }
.card .muted { font-size: .875rem; }
.button { display: flex; align-items: center; justify-content: center; gap: 14px; width: 100%; min-height: 52px; background: var(--gold); color: white; border: 1px solid var(--gold); border-radius: 10px; padding: 13px 17px; text-decoration: none; font-size: .875rem; font-weight: 500; line-height: 1.5; transition: background .2s; }
.button:hover { background: #284933; }
.card .button { margin-top: 24px; }
.button-outline { background: transparent; color: var(--gold); }
.button-outline:hover { background: var(--soft); }
.accommodation { background: var(--soft); }
dl { margin: 25px 0; text-align: left; font-size: .875rem; }
dl div { border-top: 1px solid var(--line); padding: 12px 0; }
dt { color: #56614e; }
dd { margin: 2px 0 0; font-weight: 600; overflow-wrap: anywhere; }
.hotel-card .muted { margin-top: 20px; font-size: .75rem; }
.detail-row { text-align: left; border-top: 1px solid var(--line); padding: 23px 0; }
.detail-row p { margin-top: 9px; }
.dress-code { background: var(--soft); }
.swatches { display: flex; justify-content: center; gap: 15px; margin: 32px 0; }
.swatches span { width: 33px; height: 33px; background: var(--swatch); border-radius: 50%; outline: 1px solid var(--line); outline-offset: 4px; }
.party-person { margin-top: 30px; }
.party-person .small-label { margin-bottom: 6px; }
/* Gallery */
.gallery-section { background: var(--paper); }
.gallery { position: relative; aspect-ratio: 3 / 4; border-radius: var(--radius); overflow: hidden; touch-action: pan-y; }
.gallery img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius); }
.gallery-arrow { position: absolute; top: calc(50% - 23px); width: 46px; height: 46px; border: 1px solid #fffef988; border-radius: 50%; background: #fffef9ed; color: var(--ink); font-size: 1.35rem; }
.previous { left: 12px; }
.next { right: 12px; }
.gallery-footer { display: flex; justify-content: space-between; align-items: center; padding-top: 15px; font-size: .875rem; color: var(--gold); }
.text-button { border: 0; background: transparent; color: var(--gold); min-height: 44px; padding: 5px; font-size: .875rem; text-decoration: underline; text-underline-offset: 4px; }
/* Forms: wrappers deliberately remain transparent */
.wishes, .playlist { background: var(--soft); }
.playlist { padding-top: 25px; }
.transparent-form { background: transparent; border: 0; box-shadow: none; padding: 0; margin-top: 32px; text-align: left; }
.transparent-form label { display: block; font-size: .875rem; margin: 18px 0 8px; }
input, select, textarea { width: 100%; min-width: 0; background: #fff; border: 1px solid #bac6b2; border-radius: 10px; color: var(--ink); padding: 13px 14px; font-size: 1rem; }
textarea { resize: vertical; min-height: 132px; }
.transparent-form .button { margin-top: 24px; }
.form-status { font-size: .875rem; color: #355542; }
.form-status:empty { display: none; }
.form-status:not(:empty) { margin-top: 16px; }
.demo-note { font-size: .75rem; color: #56614e; margin-top: 20px; line-height: 1.6; }
.gifts > .button { margin-top: 22px; }
.gift-note { margin-top: 32px; }
.gift-note p { margin-top: 12px; }
.rsvp { background: #e0e7d5; }
.rsvp > .muted { margin-top: 25px; }
.thank-you { padding-top: 100px; padding-bottom: 100px; background: var(--paper); }
footer { text-align: center; padding: 50px 25px 100px; background: var(--ivory); }
.footer-monogram { color: var(--gold); font-family: var(--serif); font-size: 2.4rem; letter-spacing: .12em; }
footer > p:nth-child(2) { letter-spacing: .18em; font-size: .75rem; }
.music-credit { font-size: .75rem; color: #56614e; }
/* Persistent controls and accessible feedback */
.music-toggle { position: fixed; z-index: 50; bottom: max(18px, env(safe-area-inset-bottom)); right: max(16px, calc((100vw - 480px) / 2 + 16px)); border: 1px solid var(--line); background: #fffef9f5; color: var(--gold); border-radius: 30px; min-height: 48px; padding: 9px 15px; box-shadow: 0 4px 20px #00000012; display: flex; gap: 9px; align-items: center; font-size: .875rem; }
#music-icon { font-size: 1.2rem; }
dialog { border: 1px solid var(--line); border-radius: 18px; padding: 30px; max-width: min(390px, calc(100% - 32px)); color: var(--ink); background: var(--ivory); }
dialog::backdrop { background: #17201699; }
dialog h2 { font-size: 2rem; margin-bottom: 18px; }
dialog .button { margin-top: 24px; }
.noscript-note { padding: 20px; background: white; }
@media (max-width: 360px) {
  .section { padding-left: 22px; padding-right: 22px; }
  .card { padding: 28px 18px; }
  .eyebrow { letter-spacing: .13em; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* Official Material SVG icons: fixed geometry, independent of device fonts. */
.material-icon {
  display: inline-block;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  vertical-align: middle;
  fill: currentColor;
}
.gallery-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
}
#music-icon {
  display: inline-flex;
  align-items: center;
}
.scroll-cue .material-icon {
  width: 24px;
  height: 24px;
}

/* Theme 05: a garden journal framed by leafy green chapters. */
.eyebrow, .small-label { font-size: .875rem; letter-spacing: .14em; }
.envelope-heading { top: 7%; color: #f5edce; font-size: .875rem; }
.envelope-monogram { top: 16%; color: #f5edce; }
.envelope-instruction { bottom: 6%; color: #f5edce; }
.envelope-instruction span { font-size: .875rem; }
.hero-ornament { height: clamp(110px, 30vw, 145px); }
.hero-copy { bottom: 38px; }
.hero-copy .eyebrow { letter-spacing: .18em; }
.announcement, .thank-you { background-color: var(--paper); background-image: url('assets/ornament.webp'); background-repeat: no-repeat; background-position: center bottom; background-size: 100% auto; padding-bottom: 150px; }
.story { text-align: left; }
.story > .eyebrow, .story > h2 { text-align: center; }
.story-item { border-left: 1px solid #9bab86; padding: 0 0 0 24px; margin: 36px 0 0 8px; }
.year { display: inline; border: 0; padding: 0; }
.families { background: #244b39; color: #fffef9; }
.families .eyebrow, .families .small-label, .families h2 em, .families .section-mark, .families h3 { color: #e3eacb; }
.countdown-section { background: #15382b; }
.card { box-shadow: none; border-color: #bac6b2; }
.venue-card > .small-label { line-height: 1.65; }
.wedding-party { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.demo-note { font-size: .8125rem; }
.timeline li { grid-template-columns: 75px 1fr; gap: 18px; }
.timeline li::after { left: 81px; }
.envelope-art { background: #173c2e; }
@media (max-height: 650px) {
  .hero-copy { bottom: 18px; }
  .hero-copy .scroll-cue { margin-top: 15px; }
  h1 { font-size: 3.3rem; }
  .hero-date { margin-top: 15px; }
}

.hero { background: #173c2e; }
.hero .cover-photo {
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  border-radius: 0;
}
.hero-ornament { width: 100%; height: 130px; z-index: 1; }

/* Full-screen portrait stationery. Both states share one edge-to-edge canvas. */
body.sealed, .envelope, .envelope-art { background: #123422; }
.envelope-art { background: #123422; }
.envelope-image {
  inset: 0;
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: cover;
  object-position: center;
  transform: none;
  mask-image: none;
}

/* Theme 06: Tuscan Romance — sunwashed paper, terracotta, olive and ochre. */
:root { --ivory: #f5efe4; --paper: #fffaf2; --ink: #40352b; --gold: #a55035; --line: #d6c3a7; --soft: #eee3d2; }
body { background: #514b35; }
body.sealed, .envelope, .envelope-art { background: #b87745; }
button:focus-visible, a:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible, .gallery:focus-visible { outline-color: #6e7046; }
.envelope-heading, .envelope-monogram, .envelope-instruction { color: #fff8e9; text-shadow: 0 2px 18px #5e2d1e66; }
.envelope-heading { top: 6.5%; }
.envelope-monogram { top: 16%; }
.envelope-instruction { bottom: 6%; }
.hero { background: #665d3e; }
.hero::after { background: linear-gradient(180deg, rgba(52,39,25,.04) 20%, rgba(52,39,25,.15) 48%, rgba(43,27,18,.84) 100%); }
.photo-chapter::after { background: linear-gradient(180deg, transparent 35%, rgba(43,27,18,.76) 100%); }
.hero-copy .eyebrow, .chapter-copy .eyebrow { color: #fff0d0; }
.hero-ornament { height: 132px; object-fit: contain; }
.announcement, .thank-you { background-color: var(--paper); background-image: url('assets/ornament.webp'); background-size: 100% auto; padding-bottom: 155px; }
.story { background: #efe2cf; }
.story-item { border-left-color: #c48b67; }
.families { background: #666841; color: #fffaf2; }
.families .eyebrow, .families .small-label, .families h2 em, .families .section-mark, .families h3 { color: #f2d8b4; }
.countdown-section { background: #a55035; }
.countdown-section h2 em, .countdown-section .eyebrow { color: #ffe1bb; }
.timeline li::after, .detail-row, dl div { border-color: #d6c3a7; }
.card { border-color: #d6c3a7; background: #fffaf2; }
.button { background: #a55035; border-color: #a55035; }
.button:hover { background: #81402d; }
.button-outline, .text-button, .gallery-footer { color: #a55035; }
.accommodation, .dress-code, .wishes, .playlist { background: #eee3d2; }
.wedding-party { border-color: #d6c3a7; }
input, select, textarea { border-color: #cdb694; }
.form-status { color: #6e7046; }
.demo-note, .muted, dt, .music-credit { color: #6d6255; }
.rsvp { background: #ead6c0; }
.music-toggle { border-color: #d6c3a7; color: #a55035; background: #fffaf2f5; }
dialog { border-color: #d6c3a7; background: #fffaf2; }
dialog::backdrop { background: #3f2d2399; }
footer { background: #f5efe4; }

/* Theme 07: Royal Burgundy — wine velvet, champagne gold and warm ivory. */
:root { --ivory: #f4ecdf; --paper: #fffaf1; --ink: #392c2e; --gold: #9b7335; --line: #d2b98e; --soft: #eee1d2; }
body { background: #270812; }
body.sealed, .envelope, .envelope-art { background: #4d0f20; }
button:focus-visible, a:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible, .gallery:focus-visible { outline-color: #d6b36a; }
.envelope-heading, .envelope-monogram, .envelope-instruction { color: #fff4da; text-shadow: 0 2px 18px #22040daa; }
.hero { background: #350b17; }
.hero::after { background: linear-gradient(180deg, rgba(34,6,14,.03) 15%, rgba(34,6,14,.16) 48%, rgba(31,4,12,.91) 100%); }
.photo-chapter::after { background: linear-gradient(180deg, transparent 28%, rgba(31,4,12,.84) 100%); }
.hero-copy .eyebrow, .chapter-copy .eyebrow { color: #f1d39b; }
.announcement, .thank-you { background-color: var(--paper); background-image: url('assets/ornament.webp'); }
.story { background: #eee1d2; }
.story-item { border-left-color: #9d6a72; }
.families { background: #501225; color: #fffaf1; }
.families .eyebrow, .families .small-label, .families h2 em, .families .section-mark, .families h3 { color: #e3c27f; }
.countdown-section { background: #741a34; }
.countdown-section h2 em, .countdown-section .eyebrow { color: #f4d69c; }
.timeline li::after, .detail-row, dl div { border-color: #d2b98e; }
.card { border-color: #d2b98e; background: #fffaf1; }
.button { background: #71172e; border-color: #71172e; }
.button:hover { background: #4d0f20; }
.button-outline, .text-button, .gallery-footer { color: #71172e; }
.accommodation, .dress-code, .wishes, .playlist { background: #eee1d2; }
.wedding-party { border-color: #d2b98e; }
input, select, textarea { border-color: #c9ad80; }
.form-status { color: #65152b; }
.demo-note, .muted, dt, .music-credit { color: #6a5a50; }
.rsvp { background: #e5d1c0; }
.music-toggle { border-color: #d2b98e; color: #71172e; background: #fffaf1f5; }
dialog { border-color: #d2b98e; background: #fffaf1; }
dialog::backdrop { background: #250710bb; }
footer { background: #f4ecdf; }
.footer-monogram { color: #71172e; }

/* Royal Burgundy refinements: broader stationery and edge-to-edge hero florals. */
.envelope-image {
  transform: scaleX(1.48);
}
.hero-ornament {
  width: 100%;
  height: 46%;
  max-height: none;
  object-fit: fill;
  object-position: center top;
}

/* Theme 08: Something Blue — powder blue, porcelain white and silver. */
:root { --ivory: #f4f7f8; --paper: #fffefe; --ink: #344653; --gold: #55748f; --line: #bfd0dc; --soft: #e6eff4; }
body { background: #36536a; }
body.sealed, .envelope, .envelope-art { background: #b9d1df; }
button:focus-visible, a:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible, .gallery:focus-visible { outline-color: #55748f; }
.envelope-image { transform: none; }
.envelope-heading, .envelope-monogram, .envelope-instruction { color: #f9fcff; text-shadow: 0 2px 18px #2d4c6388; }
.hero { background: #7192a7; }
.hero::after { background: linear-gradient(180deg, rgba(31,54,70,.02) 18%, rgba(31,54,70,.12) 48%, rgba(25,48,65,.82) 100%); }
.photo-chapter::after { background: linear-gradient(180deg, transparent 30%, rgba(25,48,65,.76) 100%); }
.hero-copy .eyebrow, .chapter-copy .eyebrow { color: #e5f3fb; }
.announcement, .thank-you { background-color: var(--paper); background-image: url('assets/ornament.webp'); }
.story { background: #e6eff4; }
.story-item { border-left-color: #9cb9ca; }
.families { background: #587a91; color: #f9fcff; }
.families .eyebrow, .families .small-label, .families h2 em, .families .section-mark, .families h3 { color: #e1eff7; }
.countdown-section { background: #6e91a8; }
.countdown-section h2 em, .countdown-section .eyebrow { color: #edf7fc; }
.timeline li::after, .detail-row, dl div { border-color: #bfd0dc; }
.card { border-color: #bfd0dc; background: #fffefe; }
.button { background: #55748f; border-color: #55748f; }
.button:hover { background: #3d5c74; }
.button-outline, .text-button, .gallery-footer { color: #55748f; }
.accommodation, .dress-code, .wishes, .playlist { background: #e6eff4; }
.wedding-party { border-color: #bfd0dc; }
input, select, textarea { border-color: #aec3d0; }
.form-status { color: #3d657e; }
.demo-note, .muted, dt, .music-credit { color: #5e6e79; }
.rsvp { background: #d9e7ee; }
.music-toggle { border-color: #bfd0dc; color: #55748f; background: #fffefef5; }
dialog { border-color: #bfd0dc; background: #fffefe; }
dialog::backdrop { background: #20374799; }
footer { background: #f4f7f8; }
.footer-monogram { color: #55748f; }

/* Theme 09: Modern Minimalist — warm white, charcoal and soft taupe. */
:root { --ivory: #f2efe9; --paper: #fffefa; --ink: #2a2927; --gold: #6a655d; --line: #d0cbc3; --soft: #e8e4dd; }
body { background: #34322f; }
body.sealed, .envelope, .envelope-art { background: #d4cfc6; }
button:focus-visible, a:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible, .gallery:focus-visible { outline-color: #242321; }
.envelope-image { transform: none; }
.envelope-heading, .envelope-monogram, .envelope-instruction { color: #242321; text-shadow: 0 1px 12px #fffefa99; }
.hero { background: #aaa49a; }
.hero::after { background: linear-gradient(180deg, rgba(24,23,21,.01) 18%, rgba(24,23,21,.08) 46%, rgba(24,23,21,.78) 100%); }
.photo-chapter::after { background: linear-gradient(180deg, transparent 32%, rgba(24,23,21,.70) 100%); }
.hero-copy .eyebrow, .chapter-copy .eyebrow { color: #f5f1e9; }
.announcement, .thank-you { background-color: var(--paper); background-image: url('assets/ornament.webp'); }
.story { background: #e8e4dd; }
.story-item { border-left-color: #aaa49a; }
.families { background: #2d2c29; color: #fffefa; }
.families .eyebrow, .families .small-label, .families h2 em, .families .section-mark, .families h3 { color: #d8d1c5; }
.countdown-section { background: #4a4843; }
.countdown-section h2 em, .countdown-section .eyebrow { color: #e8e1d5; }
.timeline li::after, .detail-row, dl div { border-color: #d0cbc3; }
.card { border-color: #d0cbc3; background: #fffefa; }
.button { background: #2d2c29; border-color: #2d2c29; }
.button:hover { background: #11110f; }
.button-outline, .text-button, .gallery-footer { color: #2d2c29; }
.accommodation, .dress-code, .wishes, .playlist { background: #e8e4dd; }
.wedding-party { border-color: #d0cbc3; }
input, select, textarea { border-color: #c5beb4; }
.form-status { color: #4a4843; }
.demo-note, .muted, dt, .music-credit { color: #66625b; }
.rsvp { background: #ddd8d0; }
.music-toggle { border-color: #d0cbc3; color: #2d2c29; background: #fffefaf5; }
dialog { border-color: #d0cbc3; background: #fffefa; }
dialog::backdrop { background: #17161499; }
footer { background: #f2efe9; }
.footer-monogram { color: #2d2c29; }
h2, h3 { font-family: var(--sans); font-weight: 300; letter-spacing: -.035em; }
h2 em { font-family: var(--serif); }
.eyebrow, .small-label { letter-spacing: .22em; }

/* Theme 10: White Orchid — white, deep green and champagne. */
:root { --ivory: #f3f4ed; --paper: #fffdf7; --ink: #20372d; --gold: #9a7c48; --line: #c9c8b9; --soft: #e5e9df; }
body { background: #183127; }
body.sealed, .envelope, .envelope-art { background: #d8d3c7; }
button:focus-visible, a:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible, .gallery:focus-visible { outline-color: #a9894f; }
.envelope-image { transform: none; }
.envelope-heading, .envelope-instruction { color: #173b2c; text-shadow: 0 1px 2px #fffdf7cc; font-weight: 600; }
.envelope-monogram { color: #fffdf7; text-shadow: 0 2px 14px #10251ccc; }
.hero { background: #315342; }
.hero::after { background: linear-gradient(180deg, rgba(12,32,23,.02) 20%, rgba(12,32,23,.08) 44%, rgba(12,32,23,.82) 100%); }
.photo-chapter::after { background: linear-gradient(180deg, transparent 30%, rgba(12,32,23,.76) 100%); }
.hero-ornament { width: 100%; height: 100%; max-height: none; object-fit: fill; object-position: center top; }
.hero-copy .eyebrow, .chapter-copy .eyebrow { color: #fff4d9; }
.announcement, .thank-you { background-color: var(--paper); background-image: url('assets/ornament.webp'); }
.story { background: #e5e9df; }
.story-item { border-left-color: #a7b5a7; }
.families { background: #254638; color: #fffdf7; }
.families .eyebrow, .families .small-label, .families h2 em, .families .section-mark, .families h3 { color: #e2c891; }
.countdown-section { background: #3e6954; }
.countdown-section h2 em, .countdown-section .eyebrow { color: #f4dfad; }
.timeline li::after, .detail-row, dl div { border-color: #c9c8b9; }
.card { border-color: #c9c8b9; background: #fffdf7; }
.button { background: #315342; border-color: #315342; }
.button:hover { background: #183127; }
.button-outline, .text-button, .gallery-footer { color: #315342; }
.accommodation, .dress-code, .wishes, .playlist { background: #e5e9df; }
.wedding-party { border-color: #c9c8b9; }
input, select, textarea { border-color: #b9bba9; }
.form-status { color: #315342; }
.demo-note, .muted, dt, .music-credit { color: #5f6d64; }
.rsvp { background: #dce4d8; }
.music-toggle { border-color: #d6c08e; color: #315342; background: #fffdf7f5; }
dialog { border-color: #d6c08e; background: #fffdf7; }
dialog::backdrop { background: #10251caa; }
footer { background: #f3f4ed; }
.footer-monogram { color: #315342; }
h2, h3 { font-family: var(--serif); font-weight: 400; letter-spacing: -.025em; }
h2 em { color: #9a7c48; }
.eyebrow, .small-label { letter-spacing: .2em; }
