@font-face {
  font-family: 'Cinzel Decorative';
  src: url('/fonts/cinzel-decorative.woff2') format('woff2');
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'EB Garamond';
  src: url('/fonts/eb-garamond-italic.woff2') format('woff2');
  font-style: italic;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'EB Garamond';
  src: url('/fonts/eb-garamond.woff2') format('woff2');
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'Pinyon Script';
  src: url('/fonts/pinyon-script.woff2') format('woff2');
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
:root {
  color-scheme: dark;
  --black-plum: #0D0910;
  --aubergine: #21111F;
  --dark-violet: #3A1D3B;
  --muted-plum: #592B59;
  --antique-gold: #B99A58;
  --warm-bone: #E7DED2;
  --champagne: color-mix(in srgb, var(--antique-gold) 65%, var(--warm-bone));
  --gold-line: color-mix(in srgb, var(--antique-gold) 35%, transparent);
  --display: 'Cinzel Decorative', Georgia, serif;
  --serif: 'EB Garamond', Georgia, serif;
  --script: 'Pinyon Script', 'EB Garamond', serif;
  --sans: 'Helvetica Neue', Arial, sans-serif;
  background: var(--black-plum);
  color: var(--warm-bone);
  font-family: var(--serif);
  font-synthesis: none;
}
* { box-sizing: border-box; }
body { margin: 0; }
[hidden] { display: none !important; }
.invitation {
  position: relative;
  isolation: isolate;
  min-height: max(50rem, 100svh);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 2.2rem 2rem 1.4rem;
  text-align: center;
  background: radial-gradient(ellipse at 50% 40%, var(--aubergine), var(--black-plum) 75%);
}
.scenery { container: scenery / inline-size; position: absolute; inset: 0; z-index: -1; overflow: clip; pointer-events: none; }
.artwork { position: absolute; inset: -1%; width: 102%; height: 102%; object-fit: cover; object-position: center; }
.scenery__shade { position: absolute; inset: 0; background: radial-gradient(ellipse at 50% 43%, color-mix(in srgb, var(--black-plum) 76%, transparent) 0, color-mix(in srgb, var(--black-plum) 40%, transparent) 28%, transparent 62%), linear-gradient(0deg, color-mix(in srgb, var(--black-plum) 70%, transparent), transparent 18%, transparent 85%, color-mix(in srgb, var(--black-plum) 35%, transparent)); }
.invitation__frame { position: absolute; inset: 1.1rem; border: 1px solid var(--gold-line); opacity: .6; }
.celestial-chart { position: absolute; width: 42rem; aspect-ratio: 1; border: 1px solid var(--gold-line); border-radius: 50%; left: 50%; top: 4rem; transform: translateX(-50%); opacity: .24; }
.celestial-chart::before, .celestial-chart::after { content: ''; position: absolute; border: 1px solid var(--gold-line); border-radius: 50%; inset: 1.6rem; }
.celestial-chart::after { inset: -1.6rem; border-style: dashed; }
.celestial-chart span { position: absolute; left: 50%; top: -1.6rem; bottom: -1.6rem; width: 1px; background: linear-gradient(var(--gold-line), transparent 24%, transparent 76%, var(--gold-line)); transform: rotate(35deg); }
.invitation__header { position: relative; width: min(100%, 17rem); container-type: inline-size; }
.vow-seal { display: block; width: 100%; fill: var(--antique-gold); }
.vow-seal text { font-family: var(--serif); font-size: 27px; letter-spacing: .8px; }
.vow-seal .seal-ending { font-size: 30.25px; font-style: italic; letter-spacing: .3px; }
.seal-moon, .seal-star { fill: none; stroke: var(--antique-gold); stroke-width: .8; }
.seal-moon { stroke: var(--champagne); stroke-width: .95; }
.vow-plain { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); margin: 0; }
/* When enlarged text no longer fits the seal, show scalable ordinary text. */
@container (max-width: 13rem) {
  .vow-seal { display: none; }
  .vow-plain { position: static; width: auto; height: auto; clip-path: none; overflow: visible; font-size: 1.875rem; line-height: 1.45; color: var(--antique-gold); margin-bottom: .8rem; }
}
.mobile-night { display: none; }
.announcement { position: relative; margin: auto 0; width: min(100%, 51rem); padding: .6rem 0 1.2rem; }
.couple { font-family: var(--script); color: var(--antique-gold); font-size: clamp(3.1rem, 4.65vw, 4.2rem); line-height: 1.2; margin: 0 0 1rem; }
h1 { margin: 0; font-family: var(--display); font-weight: 400; font-size: clamp(2.3rem, 4.4vw, 4rem); line-height: 1.1; letter-spacing: -.025em; overflow-wrap: anywhere; text-shadow: 0 3px 30px var(--black-plum); }
h1 > span { display: block; }
.title-ampersand { font-family: var(--serif); font-weight: 400; font-style: normal; color: var(--antique-gold); font-size: .6em; line-height: 1; margin-block: .08em; letter-spacing: 0; }
.divider { width: min(10rem, 70%); margin: 1.1rem auto .8rem; display: flex; align-items: center; gap: 1.1rem; color: var(--antique-gold); }
.divider::before, .divider::after { content: ''; flex: 1; height: 1px; background: var(--gold-line); }
.divider span { font-size: .75rem; }
.wedding-date { margin: 0; font-size: clamp(1.5rem, 2.4vw, 2rem); letter-spacing: .06em; line-height: 1.5; }
.wedding-location { margin: .4rem 0 0; font-size: 1.1875rem; line-height: 1.6; }
.wedding-location span { padding-inline: .2rem; color: var(--antique-gold); }
.tagline { margin: 1rem 0 0; font-size: 1.25rem; font-style: italic; line-height: 1.5; }
.home-link:focus-visible { outline: 2px solid var(--antique-gold); outline-offset: 4px; }
/* A small subset of fixed sky stars brightens independently of the meteors. */
.starlight { position: absolute; inset: 0; pointer-events: none; }
.starlight i { position: absolute; width: 6px; height: 6px; background: var(--champagne); opacity: .24; clip-path: polygon(50% 0, 60% 40%, 100% 50%, 60% 60%, 50% 100%, 40% 60%, 0 50%, 40% 40%); }
.starlight i:nth-child(1) { left: 18%; top: 17%; }
.starlight i:nth-child(2) { left: 77%; top: 24%; width: 5px; height: 5px; }
.starlight i:nth-child(3) { left: 30%; top: 34%; }
.starlight i:nth-child(4) { left: 69%; top: 44%; width: 4px; height: 4px; }
.starlight i:nth-child(5) { left: 13%; top: 55%; }
.starlight i:nth-child(6) { left: 82%; top: 61%; width: 5px; height: 5px; }
.starlight i:nth-child(7) { left: 33%; top: 72%; }
.starlight i:nth-child(8) { left: 57%; top: 84%; width: 4px; height: 4px; }
.starlight i:nth-child(9) { left: 47%; top: 9%; width: 5px; height: 5px; }
.starlight i.is-twinkling { animation: twinkle-rise var(--rise) ease-in forwards, twinkle-fall var(--fall) ease-out var(--rise) forwards; }
.invitation:not(.motion-ready) .starlight i { animation: none; }
@keyframes twinkle-rise { from { opacity: .24; } to { opacity: .9; } }
@keyframes twinkle-fall { from { opacity: .9; } to { opacity: .24; } }
/* Reuse the unchanged painting to occlude the sky behind foreground florals
   and the couple. The base painting stays intact beneath this entire stack. */
.celestial-foreground { position: absolute; inset: 0; pointer-events: none; mask-image: linear-gradient(90deg, black, transparent 24%, transparent 78%, black), radial-gradient(ellipse 28% 42% at 88% 72%, black 55%, transparent 100%); }
.shooting-stars { position: absolute; inset: 0; overflow: clip; pointer-events: none; }
.shooting-star { position: absolute; left: var(--start-x, 0px); top: var(--start-y, 0px); width: var(--trail, 220px); height: var(--thickness, 2.5px); opacity: 0; transform-origin: right center; }
.shooting-star::before { content: ''; position: absolute; inset: -1px 0; border-radius: 50%; background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--antique-gold) 16%, transparent) 20%, var(--antique-gold) 74%, var(--champagne)); mask-image: linear-gradient(transparent, black 40%, black 60%, transparent); }
.shooting-star::after { content: ''; position: absolute; right: 0; top: 50%; width: var(--head, 4px); height: var(--head, 4px); transform: translate(50%, -50%); border-radius: 50%; background: var(--champagne); box-shadow: 0 0 5px 1px color-mix(in srgb, var(--champagne) 60%, transparent), 0 0 12px color-mix(in srgb, var(--antique-gold) 30%, transparent); }
.shooting-star.is-active { animation: shooting-star var(--duration, 1700ms) linear both; }
@keyframes shooting-star {
  0% { opacity: 0; transform: translate(0, 0) translateX(-100%) rotate(var(--angle)); }
  14% { opacity: var(--strength, .9); }
  68% { opacity: var(--strength, .9); }
  100% { opacity: 0; transform: translate(var(--travel-x), var(--travel-y)) translateX(-100%) rotate(var(--angle)); }
}
.invitation:not(.motion-ready) .shooting-stars { display: none; }
.is-paused *, .is-paused *::before, .is-paused *::after { animation-play-state: paused !important; }
.error-page { justify-content: center; }
.error-page .announcement { max-width: 36rem; }
.error-page h1 { font-size: clamp(3.5rem, 8vw, 6rem); }
.announcement__note { color: var(--antique-gold); font-size: 1.125rem; }
.announcement__message { font-size: 1.5rem; line-height: 1.5; }
.home-link { display: inline-block; padding: .75rem; color: var(--warm-bone); font-size: 1.25rem; text-underline-offset: .3em; }
.home-link:hover { color: var(--antique-gold); }
/* Keep desktop text aligned after removing the former footer UI and note. */
@media (min-width: 901px) { .invitation:not(.error-page) .announcement { top: -3.25rem; } }
@media (min-width: 1600px) { .invitation { padding-top: 4rem; padding-bottom: 3rem; } .announcement { padding-block: 2rem 3rem; } }
@media (min-width: 901px) and (max-width: 1150px) {
  .artwork { object-position: right center; }
  .scenery__shade { background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--black-plum) 85%, transparent) 30%, color-mix(in srgb, var(--black-plum) 85%, transparent) 60%, transparent); }
  .announcement { width: min(100%, 38rem); }
}
@media (max-width: 900px) {
  .invitation { --chapter-space: clamp(1.5rem, calc(10vw - .5rem), 2.5rem); min-height: min(100svh, 49rem); padding: 1.25rem 6vw 1rem; }
  .announcement { margin: 0 0 calc(min(19rem, 82vw) - clamp(.5rem, calc(15vw - 2.5rem), 1.125rem)); padding: calc(.25rem + var(--chapter-space)) 0 0; }
  .artwork { inset: auto 0 0; width: 100%; height: min(29rem, 135vw); object-position: right bottom; mask-image: linear-gradient(black 85%, transparent); }
  .scenery__shade { background: linear-gradient(var(--black-plum), transparent 55%), linear-gradient(0deg, transparent 0, transparent 13rem, var(--black-plum) 32rem); }
  .celestial-foreground .artwork { clip-path: inset(0 0 15%); }
  .celestial-foreground { mask-image: radial-gradient(ellipse 65% 21rem at 90% 100%, black 65%, transparent 100%), linear-gradient(90deg, black, transparent 35%, transparent); }
  .scenery::after { content: ''; position: absolute; top: 0; left: 0; width: 42%; height: 20rem; background: url('/artwork/romantic-morbidity.jpg') left top / auto 32rem no-repeat; opacity: .6; mask-image: linear-gradient(90deg, black, transparent), linear-gradient(black 35%, transparent); mask-composite: intersect;  }
  .celestial-chart { top: 6rem; width: 34rem; opacity: .3; mask-image: linear-gradient(90deg, black, transparent 40%, transparent 60%, black); }
  .announcement { isolation: isolate; }
  .mobile-night { display: block; position: absolute; inset: 0 -6vw; z-index: -1; pointer-events: none; overflow: clip; }
  .mobile-night__chart { width: 100%; height: 100%; color: var(--antique-gold); mask-image: linear-gradient(90deg, black 8%, transparent 21%, transparent 79%, black 92%); }
  .mobile-night__arcs, .mobile-night__constellations { fill: none; stroke: currentColor; stroke-width: .6; }
  .mobile-night__arcs { opacity: .18; }
  .mobile-night__constellations { opacity: .25; }
  .mobile-night__points { fill: currentColor; opacity: .5; }
  .mobile-night__sparks { fill: currentColor; opacity: .48; }
  .mobile-night__bloom { position: absolute; width: min(18vw, 5rem); height: 9rem; opacity: .44; background-image: url('/artwork/romantic-morbidity.jpg'); background-repeat: no-repeat; }
  .mobile-night__bloom--right { right: -1.5rem; top: 34%; background-position: right top; background-size: auto 26rem; mask-image: linear-gradient(90deg, transparent, black 75%), linear-gradient(transparent, black 35%, transparent); mask-composite: intersect; }
  .mobile-night__bloom--left { left: -1rem; top: 70%; background-position: left 58%; background-size: auto 28rem; mask-image: linear-gradient(90deg, black, transparent 90%), linear-gradient(transparent, black 45%, transparent); mask-composite: intersect; }
  .invitation__frame { inset: .7rem; }
  .vow-seal { margin-top: -.15rem; margin-bottom: -.5rem; }
  .vow-seal text:not(.seal-ending) { transform: translateY(3px); }
  .vow-seal .seal-ending { transform: translateY(-4px); }
  .couple { line-height: 1.05; margin-bottom: 1.4rem; font-size: min(clamp(2.65rem, 9.5vw, 4.2rem), 16.5vw); }
  h1 { font-size: clamp(1.65rem, 7.4vw, 3.55rem); }
  .divider { margin-block: .7rem .9rem; }
  .wedding-date { font-size: 1.6rem; line-height: 1.35; }
  .wedding-location { max-width: 18rem; margin: .3rem auto 0; font-size: 1.125rem; line-height: 1.4; }
  .tagline { margin-top: .4rem; font-size: 1.25rem; line-height: 1.4; }
  .error-page { padding-bottom: 4rem; }
}
/* Phone meteors bypass the opaque mobile scrim. Their own soft occlusion
   mask keeps the lower floral/couple crop in front without altering the art. */
@media (max-width: 600px) {
  .starlight { z-index: 1; }
  .shooting-stars { z-index: 1; mask-image: linear-gradient(to top, transparent 0, transparent 17rem, black 29rem); }
  .scenery::after { z-index: 2; }
}
@media (max-width: 480px) { .couple > span { display: block; }  .couple-ampersand { font-size: .65em; line-height: 1; margin-block: .02em; color: var(--antique-gold); } }
@media (max-width: 360px) { .invitation { padding-inline: 5vw; } .mobile-night { inset-inline: -5vw; } .mobile-night__bloom { opacity: .32; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .artwork { transform: none !important; }
  .shooting-stars { display: none !important; }
}

/* Secondary pages share the invitation's tokens without changing its hero. */
.site-nav { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .4rem 1.8rem; padding: 1.5rem 1.25rem 2.5rem; color: var(--antique-gold); font-family: var(--serif); }
.site-nav__link { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: .6rem .25rem; color: var(--antique-gold); font-size: 1.25rem; text-decoration: none; text-underline-offset: .3em; }
.site-nav__link:hover, a.giving-link:hover { color: var(--warm-bone); text-shadow: 0 0 12px var(--gold-line); }
.site-nav__link[aria-current="page"] { text-decoration: underline; }
.site-nav__link:focus-visible, .giving-link:focus-visible { outline: 2px solid var(--antique-gold); outline-offset: 5px; }
.site-nav__separator { font-size: .65rem; opacity: .7; }
/* This class is on body: clipping its overflow disables viewport scrolling. */
.content-page { position: relative; isolation: isolate; min-height: 100svh; padding: 3.5rem clamp(1.25rem, 5vw, 5rem) 1.5rem; background: radial-gradient(ellipse at 50% 20%, var(--aubergine), var(--black-plum) 70%); }
.content-page::before, .content-page::after { content: ''; position: absolute; z-index: -1; pointer-events: none; width: min(32vw, 24rem); height: 34rem; background: url('/artwork/romantic-morbidity.jpg') no-repeat; background-size: auto 48rem; opacity: .45; mask-image: linear-gradient(black, transparent 95%), linear-gradient(90deg, black, transparent); mask-composite: intersect; }
.content-page::before { top: 0; left: 0; background-position: left top; }
.content-page::after { top: 0; right: 0; background-position: right top; mask-image: linear-gradient(black, transparent 90%), linear-gradient(270deg, black, transparent); }
.page-frame { width: min(100%, 70rem); margin-inline: auto; padding: 1rem clamp(0rem, 2vw, 2rem); border-top: 1px solid var(--gold-line); container-type: inline-size; }
.page-header { text-align: center; max-width: 46rem; margin: 0 auto 3rem; padding-top: 1.5rem; }
.page-eyebrow { color: var(--antique-gold); font-family: var(--serif); font-size: 1.125rem; margin: 0 0 1rem; letter-spacing: .05em; }
.page-celestial { display: block; width: 11.25rem; max-width: 70%; height: auto; margin: 0 auto 1rem; color: var(--antique-gold); }
.page-title { font-family: var(--display); color: var(--warm-bone); font-weight: 400; font-size: clamp(2.3rem, 5vw, 4rem); line-height: 1.15; letter-spacing: -.02em; margin: 0; overflow-wrap: normal; text-wrap: balance; }
.page-intro { font-size: 1.375rem; line-height: 1.55; max-width: 39rem; margin: 1.5rem auto 0; text-wrap: pretty; }
.details-faq { max-width: 46rem; margin: 0 auto 2rem; }
.details-question { padding-block: 1.5rem; }
.details-question + .details-question { border-top: 1px solid var(--gold-line); }
.details-question h2 { font-family: var(--serif); color: var(--antique-gold); font-size: clamp(1.5rem, 3vw, 2rem); line-height: 1.3; font-weight: 400; margin: 0 0 1rem; text-wrap: pretty; }
.details-question p { font-size: 1.25rem; line-height: 1.6; margin: 0 0 1rem; }
.details-question p:last-child { margin-bottom: 0; }
.details-question a { color: var(--antique-gold); text-underline-offset: .2em; }
.details-question a:hover { color: var(--warm-bone); }
.details-question a:focus-visible { outline: 2px solid var(--antique-gold); outline-offset: 4px; }
.details-group { position: relative; isolation: isolate; }
.details-edge { position: absolute; z-index: -1; pointer-events: none; background-image: url('/artwork/romantic-morbidity.jpg'); background-repeat: no-repeat; }
.details-edge--floral, .details-edge--echo { left: calc(50% - 50vw); width: min(32vw, 32rem); height: 30rem; background-size: auto 40rem; background-position: -9rem bottom; mask-image: linear-gradient(90deg, black, transparent 85%), linear-gradient(transparent, black 25%, black 65%, transparent); mask-composite: intersect; }
.details-edge--floral { top: -10rem; opacity: .42; }
.details-edge--couple { right: calc(50% - 50vw + 1rem); top: -12rem; width: min(34vw, 36rem); height: min(42vw, 42rem); background-size: auto 140%; background-position: right center; opacity: .8; mask-image: linear-gradient(90deg, transparent 35%, black 72%, black 94%, transparent), linear-gradient(transparent 12%, black 35%, black 70%, transparent 95%); mask-composite: intersect; }
.details-edge--echo { bottom: -2rem; height: 26rem; opacity: .18; }
.details-transition { pointer-events: none; }
.details-transition--celestial { width: min(100%, 13rem); margin: 1.5rem auto 1rem; color: var(--antique-gold); opacity: .6; }
.details-transition--celestial svg { display: block; width: 100%; height: auto; }
@media (max-width: 1100px) {
  .details-edge { display: none; }
}
.giving-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 3rem; margin: 0 auto 2rem; }
.giving-section { position: relative; text-align: center; padding: 0 1rem 2rem; }
.giving-section + .giving-section { border-left: 1px solid var(--gold-line); padding-left: 3rem; }
.giving-ornament { display: block; height: 1.5rem; line-height: 1; color: var(--antique-gold); font-size: 1.5rem; margin-bottom: .7rem; }
.giving-title { font-family: var(--serif); color: var(--antique-gold); font-size: clamp(1.8rem, 3vw, 2.3rem); line-height: 1.2; font-weight: 400; margin: 0; overflow-wrap: normal; text-wrap: balance; }
.giving-copy { font-size: 1.25rem; line-height: 1.5; max-width: 26rem; margin: 1rem auto 1.5rem; min-height: 5.6rem; }
.giving-link { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; margin-top: .5rem; padding: .7rem .3rem; color: var(--antique-gold); font-size: 1.2rem; text-underline-offset: .3em; }
@media (max-width: 900px) {
  .content-page { padding-top: 2rem; }
  .page-header { margin-bottom: 2rem; }
  .page-title { font-size: clamp(2rem, 8vw, 3rem); }
  .giving-grid { grid-template-columns: minmax(0, 1fr); gap: 1.8rem; }
  .giving-section { padding: 0 0 1.5rem; }
  .giving-section + .giving-section { border-left: 0; border-top: 1px solid var(--gold-line); padding: 2rem 0 1rem; }
  .giving-copy { min-height: 0; }
  .content-page::before, .content-page::after { width: 35%; opacity: .3; }
}
@media (max-width: 480px) {
  .site-nav { flex-direction: column; gap: .2rem; padding-block: 1.5rem 2rem; }
  .site-nav__separator { font-size: .5rem; }
}

.giving-photo__link { display: block; width: min(100%, 18rem); margin: 0 auto; border: 1px solid var(--gold-line); }
.giving-photo__link img { display: block; width: 100%; height: auto; }
.giving-photo__link:focus-visible { outline: 2px solid var(--antique-gold); outline-offset: 5px; }
.giving-photo .giving-link { display: inline-block; }

.giving-title a { color: inherit; text-decoration: none; text-underline-offset: .2em; }
.giving-title a:hover { text-decoration: underline; }
.giving-title a:focus-visible { outline: 2px solid var(--antique-gold); outline-offset: 5px; }

.giving-ornament svg { display: block; width: 3rem; height: 1.5rem; margin: 0 auto; }
.giving-section[aria-labelledby="animal-humane-title"] .giving-photo__link { border-color: color-mix(in srgb, var(--warm-bone) 40%, var(--antique-gold)); }
/* Enlarged text gets whole-word headings without changing the invitation. */
@container (max-width: 10rem) {
  .page-title { font-size: 1.7rem; }
  .giving-title { font-size: 1.4rem; }
}
