/* Build your own. A page composed from the host's choices: sections in their order, a style for each, a type pair and colours.
   Built on InviteKit (kit.css loads first). Every private colour below is worked out from the --k-* values, so the six
   colourways and the host's own colours need nothing more than those. */
@font-face { font-family: "Studio Yoruba"; font-style: normal; font-weight: 300 900; font-display: swap; src: url("/fonts/archivo-normal-vietnamese.woff2") format("woff2"); unicode-range: U+1EB8-1EB9, U+1ECC-1ECD, U+0300-0301; }
.st {
  --k-paper: #f8f1ec; --k-card: #fffdfb; --k-ink: #33121f; --k-ink-2: #7a5a63; --k-accent: #8e1f49;
  --k-deep: #4a0f27; --k-on-deep: #f6e7c8; --k-gold: #c39a55; --k-gold-hi: #f0dcab; --k-gold-lo: #8f6c34;
  --k-fx-1: #f3b3c4; --k-fx-2: #e9c98d; --k-fx-3: #fbe3e8; --k-seal: #7d1d3f; --k-env: #f6ebe4; --k-env-2: #ead8cf; --k-liner: #4a0f27;
  --k-door: #7d1d3f; --k-drape: #5a0f2a; --k-shutter: #7d1d3f; --k-radius: 20px;
  --k-display: "Noto Serif Display", Georgia, serif; --k-label: "Studio Yoruba", "Josefin Sans", system-ui, sans-serif; --k-body: "Studio Yoruba", "Josefin Sans", system-ui, sans-serif; --k-script: "Pinyon Script", "Snell Roundhand", cursive;
  /* lettering: each type pair sets these */
  --st-names: var(--k-display); --st-names-w: 400; --st-names-style: normal; --st-names-case: none; --st-names-ls: -.012em; --st-names-size: 1;
  --st-h2-w: 400; --st-h2-style: normal; --st-h2-case: none; --st-h2-ls: -.01em; --st-h2-size: 1; --st-amp: var(--k-script);
  /* the true colours, kept so a surface can put them back inside a section that sits on a photograph */
  --st-ink: var(--k-ink); --st-ink-2: var(--k-ink-2); --st-accent: var(--k-accent);
  --st-tint: color-mix(in srgb, var(--k-paper) 91%, var(--k-accent));
  --st-line: color-mix(in srgb, var(--k-gold) 55%, transparent);
  --st-hi: color-mix(in srgb, var(--k-gold-hi) 78%, #fff);
  --st-shadow: 0 28px 54px -34px color-mix(in srgb, var(--k-deep) 72%, transparent);
  --st-glass: color-mix(in srgb, var(--k-card) 60%, transparent); --st-glass-edge: rgba(255, 255, 255, .55); --st-glass-top: rgba(255, 255, 255, .9);
  font-size: 16px; background: var(--k-paper);
}
.st[data-theme="sage"] { --k-paper: #f3f1e6; --k-card: #fcfbf5; --k-ink: #26331f; --k-ink-2: #66735c; --k-accent: #4f6a45; --k-deep: #2c3d26; --k-on-deep: #f1ecd6; --k-gold: #c2a25a; --k-gold-hi: #ecdcae; --k-gold-lo: #8a7236; --k-fx-1: #c5d6b0; --k-fx-2: #ead9a3; --k-fx-3: #f3efd9; --k-seal: #3f5637; --k-env: #f1efe2; --k-env-2: #dfe0cb; --k-liner: #2c3d26; --k-door: #5d7850; --k-drape: #33492c; --k-shutter: #4f6a45; }
.st[data-theme="noir"] { --k-paper: #14161c; --k-card: #1e2129; --k-ink: #f1ece0; --k-ink-2: #b5ad9c; --k-accent: #d9b35f; --k-deep: #0b0c10; --k-on-deep: #f1ece0; --k-gold: #d9b35f; --k-gold-hi: #f3deaa; --k-gold-lo: #9b7c38; --k-fx-1: #d9b35f; --k-fx-2: #f3deaa; --k-fx-3: #8b7a52; --k-seal: #9b7c38; --k-env: #23262f; --k-env-2: #2e323d; --k-liner: #0b0c10; --k-door: #262a34; --k-drape: #1a1c24; --k-shutter: #2a2e38; }
.st[data-theme="blush"] { --k-paper: #fbf0ee; --k-card: #fffaf9; --k-ink: #3d1f26; --k-ink-2: #84606a; --k-accent: #a84860; --k-deep: #6e2c3c; --k-on-deep: #fbe9dc; --k-gold: #a9805a; --k-gold-hi: #e3c7a6; --k-gold-lo: #7a5a3c; --k-fx-1: #f4c7cf; --k-fx-2: #e7b99a; --k-fx-3: #fde6e8; --k-seal: #9c4459; --k-env: #f9ebe8; --k-env-2: #efd6d2; --k-liner: #6e2c3c; --k-door: #c98a97; --k-drape: #7d3346; --k-shutter: #b5566b; }
.st[data-theme="indigo"] { --k-paper: #eef0f7; --k-card: #fbfbfe; --k-ink: #1a2050; --k-ink-2: #5a6088; --k-accent: #26337f; --k-deep: #141a47; --k-on-deep: #e8eaf4; --k-gold: #a9adbd; --k-gold-hi: #eef0f6; --k-gold-lo: #777c92; --k-fx-1: #c9cfee; --k-fx-2: #e3d5a8; --k-fx-3: #f1f2f9; --k-seal: #212c72; --k-env: #eef0f7; --k-env-2: #dde1ee; --k-liner: #141a47; --k-door: #212c72; --k-drape: #1a2260; --k-shutter: #26337f; }
.st[data-theme="terracotta"] { --k-paper: #f7efe3; --k-card: #fffaf2; --k-ink: #3a2416; --k-ink-2: #7d6453; --k-accent: #a94a22; --k-deep: #5e2a14; --k-on-deep: #f8e9cf; --k-gold: #c99a3a; --k-gold-hi: #f0d79c; --k-gold-lo: #8f6a1f; --k-fx-1: #e9a47f; --k-fx-2: #e8c66f; --k-fx-3: #f6e3c8; --k-seal: #96421f; --k-env: #f5ebdb; --k-env-2: #e8d7bd; --k-liner: #5e2a14; --k-door: #b4532a; --k-drape: #6b3018; --k-shutter: #b4532a; }
/* the host's own colours: the kit writes every --k-* inline, and all the shades above follow them. Dark paper needs quieter glass. */
.st[data-theme="custom"] { --st-tint: color-mix(in srgb, var(--k-paper) 90%, var(--k-accent)); }
.st[data-theme="noir"], .st[data-tone="dark"] { --st-tint: color-mix(in srgb, var(--k-paper) 86%, var(--k-accent)); --st-glass: color-mix(in srgb, var(--k-card) 62%, transparent); --st-glass-edge: rgba(255, 255, 255, .13); --st-glass-top: rgba(255, 255, 255, .2); --st-shadow: 0 30px 60px -34px #000; }

/* ---------- type pairs ---------- */
.st[data-type="romance"] { --k-display: "Cormorant Garamond", Georgia, serif; --k-script: "Great Vibes", "Snell Roundhand", cursive; --k-body: "Studio Yoruba", "Manrope", system-ui, sans-serif; --k-label: "Studio Yoruba", "Manrope", system-ui, sans-serif; --st-names: var(--k-script); --st-names-size: 1.16; --st-names-ls: 0; --st-h2-style: italic; --st-h2-size: 1.08; }
.st[data-type="editorial"] { --k-display: "Bodoni Moda", Didot, Georgia, serif; --k-script: "Bodoni Moda", Didot, serif; --k-body: "Studio Yoruba", "Archivo", system-ui, sans-serif; --k-label: "Studio Yoruba", "Archivo", system-ui, sans-serif; --st-names-case: uppercase; --st-names-ls: .03em; --st-names-size: .74; --st-names-w: 500; --st-h2-case: uppercase; --st-h2-ls: .05em; --st-h2-size: .78; }
.st[data-type="modern"] { --k-display: "Bricolage Grotesque", system-ui, sans-serif; --k-script: "Bricolage Grotesque", system-ui, sans-serif; --k-body: "Studio Yoruba", "Manrope", system-ui, sans-serif; --k-label: "Studio Yoruba", "Manrope", system-ui, sans-serif; --st-names-w: 700; --st-names-ls: -.035em; --st-names-size: .92; --st-h2-w: 600; --st-h2-ls: -.03em; --st-h2-size: .92; }
.st[data-type="garden"] { --k-display: "Fraunces", Georgia, serif; --k-script: "Fraunces", Georgia, serif; --k-body: "Studio Yoruba", "Manrope", system-ui, sans-serif; --k-label: "Studio Yoruba", "Manrope", system-ui, sans-serif; --st-names-style: italic; --st-names-w: 300; --st-names-size: .96; --st-h2-w: 300; }
.st[data-type="regal"] { --k-display: "Cinzel", "Trajan Pro", Georgia, serif; --k-script: "Cormorant Garamond", Georgia, serif; --k-body: "Cormorant Garamond", Georgia, serif; --k-label: "Cinzel", Georgia, serif; --st-names-case: uppercase; --st-names-ls: .06em; --st-names-size: .68; --st-h2-case: uppercase; --st-h2-ls: .08em; --st-h2-size: .72; font-size: 18px; }
.st[data-type="deco"] { --k-display: "Poiret One", "Josefin Sans", system-ui, sans-serif; --k-script: "Limelight", "Poiret One", serif; --k-body: "Studio Yoruba", "Josefin Sans", system-ui, sans-serif; --k-label: "Studio Yoruba", "Josefin Sans", system-ui, sans-serif; --st-names: "Limelight", "Poiret One", serif; --st-names-size: .8; --st-names-ls: .01em; --st-h2-case: uppercase; --st-h2-ls: .12em; --st-h2-size: .8; }
.st[data-type="hand"] { --k-display: "Caveat", "Bradley Hand", cursive; --k-script: "Caveat", cursive; --k-body: "Studio Yoruba", "Manrope", system-ui, sans-serif; --k-label: "Studio Yoruba", "Manrope", system-ui, sans-serif; --st-names-w: 700; --st-names-size: 1.14; --st-names-ls: 0; --st-h2-w: 600; --st-h2-size: 1.16; --st-h2-ls: 0; }

/* ---------- a section and its frame ---------- */
.st-main { display: block; }
.st-sec { position: relative; isolation: isolate; display: grid; justify-items: center; align-content: center; padding: clamp(3.4rem, 9svh, 6rem) 1.25rem; overflow: clip; text-align: center; color: var(--k-ink); }
.st-in { position: relative; z-index: 1; display: grid; justify-items: center; gap: 1.7rem; width: min(100%, 640px); min-width: 0; }
.st-sec--events > .st-in, .st-sec--story > .st-in, .st-sec--info > .st-in { width: min(100%, 980px); }
.st-head { display: grid; justify-items: center; gap: .55rem; min-width: 0; max-width: 100%; }
.st-body { display: grid; justify-items: center; gap: 1.4rem; width: 100%; min-width: 0; }
.st-eyebrow { margin: 0; font: 500 .72rem/1.4 var(--k-label); letter-spacing: .3em; text-transform: uppercase; color: var(--k-ink-2); }
.st-h2 { margin: 0; max-width: 100%; font: var(--st-h2-style) var(--st-h2-w) calc(clamp(2rem, 8.6vw, 3.2rem) * var(--st-h2-size)) / 1.08 var(--k-display); letter-spacing: var(--st-h2-ls); text-transform: var(--st-h2-case); text-wrap: balance; overflow-wrap: anywhere; }
.st-lede, .st-prose { margin: 0; max-width: 38ch; color: var(--k-ink-2); text-wrap: pretty; }
.st-prose { max-width: 46ch; font-size: 1.04rem; color: var(--k-ink); }
.st-line { margin: 0; font: italic 400 1.24rem/1.3 var(--k-display); text-wrap: balance; }
.st-empty { margin: 0; padding: 1.6rem 1.2rem; border: 1.5px dashed var(--st-line); border-radius: var(--k-radius); color: var(--k-ink-2); }
.st-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.st-w { display: inline-block; white-space: nowrap; }
.st-l { display: inline-block; }
.is-typed .st-l:not(.is-on) { opacity: 0; }
.st-caret { position: relative; display: inline-block; width: 0; height: .82em; }
.st-caret::after { content: ""; position: absolute; left: 2px; bottom: -.04em; width: 2px; height: 100%; background: currentColor; animation: st-blink .8s steps(1) infinite; }
.st-seal { display: inline-grid; place-items: center; min-width: 3.5rem; height: 3.5rem; padding: 0 .7rem; border: 1px solid var(--k-gold); border-radius: 999px; background: var(--k-card); color: var(--st-accent); font: italic 400 1.2rem/1 var(--k-display); letter-spacing: .04em; box-shadow: 0 0 0 3px var(--k-card), 0 0 0 4px color-mix(in srgb, var(--k-gold) 45%, transparent); }

/* buttons take their paint from two variables, so a section on a photograph can turn them white */
.st .k-btn { border-color: var(--st-btn, var(--k-accent)); color: var(--st-btn, var(--k-accent)); }
.st .k-btn--solid { background: var(--st-btn, var(--k-accent)); color: var(--st-btn-on, var(--k-card)); }
@media (hover: hover) and (pointer: fine) { .st .k-btn:hover { background: var(--st-btn, var(--k-accent)); color: var(--st-btn-on, var(--k-card)); } .st .k-btn--solid:hover { background: var(--st-btn, var(--k-deep)); } }
.st-surface, .st .k-form, .st .k-thanks, .st .k-flipcard__back, .st .k-scratch__under, .st .k-scroll__inner { --k-ink: var(--st-ink); --k-ink-2: var(--st-ink-2); --k-accent: var(--st-accent); --st-btn: initial; --st-btn-on: initial; color: var(--st-ink); }

/* what sits behind a section */
.st-bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.st-bg__pan, .st-bg__blur { position: absolute; inset: 0; }
.st-bg__pan img, .st-bg__blur img { width: 100%; height: 100%; max-width: none; object-fit: cover; }
.st-bg__blur img { filter: blur(34px) saturate(1.2); transform: scale(1.25); }
.st-bg--whole .st-bg__pan img { object-fit: contain; }
.st-bg__scrim { position: absolute; inset: 0; }
.st-bg--wash { background: linear-gradient(170deg, var(--st-tint), var(--k-paper)); }
.st-bg--wash i { position: absolute; width: 62vmin; aspect-ratio: 1; border-radius: 50%; filter: blur(58px); opacity: .5; }
.st-bg--wash i:nth-child(1) { left: -14%; top: -8%; background: var(--k-fx-1); }
.st-bg--wash i:nth-child(2) { right: -16%; top: 30%; background: var(--k-gold-hi); }
.st-bg--wash i:nth-child(3) { left: 22%; bottom: -22%; background: color-mix(in srgb, var(--k-accent) 60%, var(--k-paper)); opacity: .34; }
.st[data-theme="noir"] .st-bg--wash i, .st[data-tone="dark"] .st-bg--wash i { opacity: .26; }

/* ---------- style: classic card ---------- */
.st-sec[data-style="card"], .st-sec[data-style="ornate"] { background: var(--st-tint); }
.st-sec[data-style="card"] > .st-in { padding: clamp(1.9rem, 7vw, 2.9rem) clamp(1.1rem, 5vw, 2.4rem); border-radius: calc(var(--k-radius) + 8px); background: var(--k-card); box-shadow: var(--st-shadow), 0 0 0 1px color-mix(in srgb, var(--k-gold) 30%, transparent); }
.st-sec[data-style="card"] .k-form, .st-sec[data-style="ornate"] .k-form, .st-sec[data-style="glass"] .k-form { padding: 0; background: none; box-shadow: none; }
.st-sec:is([data-style="card"], [data-style="ornate"]) .st-surface:not(.st-date) { background: var(--k-paper); }
/* ---------- style: glass ---------- */
.st-sec[data-style="glass"] > .st-in { padding: clamp(1.9rem, 7vw, 2.9rem) clamp(1.1rem, 5vw, 2.4rem); border-radius: 30px; background: var(--st-glass); -webkit-backdrop-filter: blur(18px) saturate(1.5); backdrop-filter: blur(18px) saturate(1.5); box-shadow: inset 0 0 0 1px var(--st-glass-edge), inset 0 1px 0 var(--st-glass-top), 0 26px 54px -30px color-mix(in srgb, var(--k-deep) 75%, transparent); }
/* ---------- style: full-bleed photo ---------- */
.st-sec[data-style="photo"] { min-height: min(88svh, 860px); --k-ink: #fff; --k-ink-2: rgba(255, 255, 255, .87); --k-accent: var(--st-hi); --st-btn: #fff; --st-btn-on: #1c1614; --st-line: rgba(255, 255, 255, .5); color: #fff; }
.st-sec[data-style="photo"] .st-bg__scrim { background: linear-gradient(180deg, rgba(14, 9, 9, .5), rgba(14, 9, 9, .72)); }
.st-sec[data-style="photo"] .st-bg--wash { background: linear-gradient(160deg, color-mix(in srgb, var(--k-deep) 80%, #fff), var(--k-deep) 65%, color-mix(in srgb, var(--k-deep) 80%, #000)); }
.st-sec[data-style="photo"] .st-bg--wash i { opacity: .3; }
.st-sec[data-style="photo"] .st-head, .st-sec[data-style="photo"] .st-line, .st-sec[data-style="photo"] .st-lede, .st-sec[data-style="photo"] .st-prose { text-shadow: 0 1px 14px rgba(0, 0, 0, .45); }
/* ---------- style: split ---------- */
.st-sec[data-style="split"] > .st-in { width: min(100%, 1040px); }
.st-sec[data-style="split"] .st-head { justify-items: start; justify-self: start; padding-left: 1rem; border-left: 2px solid var(--k-gold); text-align: left; }
.st-sec.has-art:is([data-style="split"], [data-style="minimal"]) .st-bg__scrim { background: color-mix(in srgb, var(--k-paper) 74%, transparent); }
@media (min-width: 760px) {
  .st-sec[data-style="split"] > .st-in:has(> .st-head) { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2rem, 5vw, 4rem); align-items: start; }
  .st-sec[data-style="split"] .st-head { position: sticky; top: 16svh; padding: .4rem 0 .4rem 1.4rem; }
}
/* ---------- style: minimal ---------- */
.st-sec[data-style="minimal"] .st-head::after { content: ""; width: 46px; height: 1px; margin-top: .7rem; background: var(--k-gold); }
.st-sec[data-style="minimal"] .st-surface:not(.st-date) { border-radius: 0; background: none; box-shadow: none; border-top: 1px solid var(--st-line); }
.st-sec[data-style="minimal"] .k-form { box-shadow: 0 0 0 1px var(--st-line); }
/* ---------- style: ornate frame ---------- */
.st-sec[data-style="ornate"] > .st-in, .st-hero[data-style="ornate"] .st-hero__text { padding: clamp(2.6rem, 9vw, 3.6rem) clamp(1.3rem, 5vw, 2.6rem); border: 1px solid var(--k-gold); border-radius: 6px; outline: 1px solid color-mix(in srgb, var(--k-gold) 50%, transparent); outline-offset: -8px; background: var(--k-card); box-shadow: var(--st-shadow); }
.st-corner { position: absolute; width: 40px; height: 40px; fill: none; stroke: var(--k-gold); stroke-width: 1.2; stroke-linecap: round; color: var(--k-gold); pointer-events: none; }
.st-corner--tl { left: 13px; top: 13px; }
.st-corner--tr { right: 13px; top: 13px; transform: scaleX(-1); }
.st-corner--bl { left: 13px; bottom: 13px; transform: scaleY(-1); }
.st-corner--br { right: 13px; bottom: 13px; transform: scale(-1); }

/* ---------- the cover ---------- */
.st-hero { min-height: 100svh; padding: clamp(1.6rem, 5svh, 3rem) 1.25rem 4rem; }
.st-hero__in { position: relative; z-index: 1; display: grid; justify-items: center; gap: 1.5rem; width: min(100%, 560px); min-width: 0; }
.st-hero__text { position: relative; display: grid; justify-items: center; gap: .55rem; min-width: 0; max-width: 100%; }
.st-hero__pic { position: relative; overflow: hidden; margin: 0; background: var(--st-tint); }
.st-pan { position: absolute; inset: -6% 0; }
.st-hero__img, .st-hero__sun { width: 100%; height: 100%; max-width: none; }
.st-hero__sheen { position: absolute; inset: -10% 0; background: linear-gradient(90deg, transparent 30%, rgba(255, 255, 255, .5) 50%, transparent 70%); transform: translateX(-130%) skewX(-18deg); pointer-events: none; }
.st-names { display: grid; justify-items: center; margin: .5rem 0 .2rem; max-width: 100%; font-weight: 400; }
.st-name { display: block; max-width: 100%; font: var(--st-names-style) var(--st-names-w) calc(clamp(2.9rem, 14.5vw, 5.2rem) * var(--st-names-size)) / 1.08 var(--st-names); letter-spacing: var(--st-names-ls); text-transform: var(--st-names-case); color: var(--k-accent); overflow-wrap: anywhere; }
.st-names--long .st-name { font-size: calc(clamp(2.1rem, 10.4vw, 4rem) * var(--st-names-size)); }
.st-amp { display: block; margin: .15rem 0; font: 400 2.1rem/1 var(--st-amp); color: var(--k-gold-lo); }
.st-blessing { margin: 0 0 .4rem; font: italic 400 .98rem/1.3 var(--k-display); color: var(--k-gold-lo); }
.st-notes { display: grid; gap: .15rem; margin: 0; font-size: .86rem; letter-spacing: .04em; color: var(--k-ink-2); }
.st-invite { margin: .7rem 0 0; max-width: 24ch; font: italic 400 1.22rem/1.36 var(--k-display); text-wrap: balance; }
.st-when { margin: .9rem 0 0; font: 500 .74rem/1.4 var(--k-label); letter-spacing: .26em; text-transform: uppercase; }
.st-where { margin: 0; font-size: .9rem; color: var(--k-ink-2); }
.st-cue { position: absolute; z-index: 1; left: 50%; bottom: 1.1rem; display: grid; justify-items: center; gap: .3rem; translate: -50% 0; font: 400 .64rem/1 var(--k-label); letter-spacing: .32em; text-transform: uppercase; color: var(--k-ink-2); }
.st-cue svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.4; animation: st-nudge 1.8s ease-in-out infinite; }
/* the cover waits (hidden) only between the page being drawn and the opening finishing; playHero takes over from there */
.st-hero.is-wait .st-seq, .st-hero.is-wait .st-names, .st-hero.is-wait .st-hero__pic, .st-hero.is-wait .st-bg__pan { opacity: 0; }
/* arch: the classic cover */
.st-hero[data-style="card"] .st-hero__pic { width: min(70vw, 320px); aspect-ratio: 3 / 3.85; border-radius: 999px 999px 18px 18px; box-shadow: 0 0 0 6px var(--k-card), 0 0 0 7px var(--k-gold), var(--st-shadow); }
/* split */
.st-hero[data-style="split"] { align-content: start; padding: 0 0 4rem; }
.st-hero[data-style="split"] .st-hero__in { width: 100%; }
.st-hero[data-style="split"] .st-hero__pic { width: 100%; height: 50svh; border-radius: 0 0 30px 30px; }
.st-hero[data-style="split"] .st-hero__text { padding: 0 1.25rem; }
@media (min-width: 760px) {
  .st-hero[data-style="split"] { padding: 0; }
  .st-hero[data-style="split"] .st-hero__in { grid-template-columns: 1fr 1fr; gap: 0; align-items: stretch; min-height: 100svh; }
  .st-hero[data-style="split"] .st-hero__pic { height: auto; min-height: 100svh; border-radius: 0; }
  .st-hero[data-style="split"] .st-hero__text { align-content: center; padding: 3rem clamp(1.5rem, 5vw, 4rem); }
}
/* ornate: a medallion over a framed plate */
.st-hero[data-style="ornate"] { background: var(--st-tint); }
.st-hero[data-style="ornate"] .st-hero__in { gap: 0; }
.st-hero[data-style="ornate"] .st-hero__pic { z-index: 2; width: clamp(132px, 38vw, 184px); aspect-ratio: 1; margin-bottom: -66px; border-radius: 50%; box-shadow: 0 0 0 5px var(--k-card), 0 0 0 6px var(--k-gold), var(--st-shadow); }
.st-hero[data-style="ornate"] .st-hero__text { width: 100%; padding-top: 5.4rem; }
/* seal: lettering only */
.st-hero[data-style="minimal"] .st-seal { min-width: 5.4rem; height: 5.4rem; font-size: 1.9rem; margin-bottom: .8rem; }
.st-hero[data-style="minimal"] .st-names { padding-block: 1.1rem; border-block: 1px solid var(--st-line); }
/* glass: the photograph behind a frosted plate */
.st-hero[data-style="glass"] { align-content: end; padding-bottom: 5rem; }
.st-hero[data-style="glass"] .st-hero__text { width: 100%; padding: 1.8rem 1.2rem 2rem; border-radius: 30px; background: var(--st-glass); -webkit-backdrop-filter: blur(18px) saturate(1.5); backdrop-filter: blur(18px) saturate(1.5); box-shadow: inset 0 0 0 1px var(--st-glass-edge), inset 0 1px 0 var(--st-glass-top), 0 26px 54px -30px rgba(0, 0, 0, .6); }
.st-hero[data-style="glass"] .st-seal { display: none; }
/* full photo: lettering on the picture */
.st-hero[data-style="photo"] { align-content: end; padding-bottom: 5.4rem; --k-ink: #fff; --k-ink-2: rgba(255, 255, 255, .88); --k-accent: #fff; --k-gold-lo: var(--st-hi); color: #fff; text-shadow: 0 1px 18px rgba(0, 0, 0, .5); }
.st-hero[data-style="photo"] .st-bg__scrim { background: linear-gradient(180deg, rgba(14, 9, 9, .08) 30%, rgba(14, 9, 9, .82)); }
.st-hero[data-style="photo"].has-wash .st-bg--wash { background: linear-gradient(160deg, color-mix(in srgb, var(--k-deep) 80%, #fff), var(--k-deep) 65%); }
/* the host's artwork behind the cover: the lettering sits on a plate, or is left to the artwork */
.st-hero.has-art:is([data-style="card"], [data-style="minimal"]) .st-hero__in { padding: 1.8rem 1.2rem 2rem; border-radius: 28px; background: color-mix(in srgb, var(--k-paper) 86%, transparent); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); box-shadow: var(--st-shadow); }
.st-hero.has-art[data-style="split"] .st-hero__text { background: color-mix(in srgb, var(--k-paper) 88%, transparent); }
.st-hero.has-art[data-style="split"] .st-hero__text { padding-block: 1.6rem; }
.st-hero.is-art-only .st-hero__in { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.st-hero.is-art-only .st-bg__scrim { display: none; }
.st-hero.is-art-only .st-cue { padding: .6rem .9rem .5rem; border-radius: 999px; background: color-mix(in srgb, var(--k-deep) 55%, transparent); color: #fff; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }

/* ---------- the date ---------- */
.st-date { display: grid; justify-items: center; gap: .1rem; min-width: min(78vw, 300px); padding: 2rem 1.3rem 1.8rem; border-radius: var(--k-radius); background: repeating-linear-gradient(90deg, transparent 0 7px, color-mix(in srgb, var(--k-gold) 9%, transparent) 7px 8px), var(--k-card); box-shadow: 0 0 0 1px color-mix(in srgb, var(--k-gold) 30%, transparent); }
.k-scratch .st-date, .k-scroll .st-date { min-width: 0; width: 100%; box-shadow: none; }
.k-scratch .st-date { padding: 0; background: none; }
.k-scratch .st-date__note { display: none; }
.st-date__dow { margin: 0; font: 500 .74rem/1 var(--k-label); letter-spacing: .34em; text-transform: uppercase; color: var(--k-ink-2); }
.st-date__day { margin: .1rem 0 0; font: 300 clamp(4.6rem, 22vw, 6.2rem)/.98 var(--k-display); color: var(--k-accent); }
.st-date__month { margin: 0; font: italic 400 1.8rem/1.1 var(--k-display); }
.st-date__year { margin: .35rem 0 0; font: 500 .8rem/1 var(--k-label); letter-spacing: .5em; text-indent: .5em; color: var(--k-ink-2); }
.st-date__note { margin: .9rem 0 0; max-width: 26ch; font-size: .86rem; color: var(--k-ink-2); text-wrap: balance; }
.st-after { display: grid; justify-items: center; gap: 1.2rem; }

/* ---------- events ---------- */
.st-rail { width: 100%; }
.st-card { overflow: hidden; border-radius: 22px; background: var(--k-card); text-align: center; box-shadow: 0 24px 46px -30px color-mix(in srgb, var(--k-deep) 75%, transparent), 0 0 0 1px color-mix(in srgb, var(--k-gold) 28%, transparent); }
.st-card.is-feature { box-shadow: 0 24px 46px -30px color-mix(in srgb, var(--k-deep) 75%, transparent), 0 0 0 2px var(--k-gold); }
.st-card__top { position: relative; display: grid; place-items: center; height: 124px; color: var(--on); background: linear-gradient(160deg, color-mix(in srgb, var(--c) 82%, #fff), var(--c) 54%, color-mix(in srgb, var(--c) 74%, #000)); }
.st-card__icon { width: 60px; height: 60px; filter: drop-shadow(0 2px 3px rgba(0, 0, 0, .2)); }
.st-card__star { position: absolute; left: 10px; top: 10px; padding: .34rem .6rem .22rem; border-radius: 999px; background: var(--k-gold-hi); color: #2a1c08; font: 600 .56rem/1 var(--k-label); letter-spacing: .16em; text-transform: uppercase; }
.st-card__body { display: grid; justify-items: center; gap: .3rem; padding: 1.2rem 1.1rem 1.4rem; }
.st-card__when { margin: 0; font: 500 .68rem/1.3 var(--k-label); letter-spacing: .2em; text-transform: uppercase; color: var(--k-ink-2); }
.st-card h3 { margin: .1rem 0 0; font: var(--st-h2-style) var(--st-h2-w) calc(1.75rem * var(--st-h2-size)) / 1.12 var(--k-display); color: var(--k-accent); text-wrap: balance; }
.st-card__place { margin: 0; font-size: .9rem; color: var(--k-ink-2); text-wrap: balance; }
.st-chip { display: flex; align-items: center; gap: .65rem; margin: .7rem 0 0; padding: .5rem .85rem .45rem .55rem; border-radius: 14px; background: color-mix(in srgb, var(--k-ink) 6%, transparent); text-align: left; font-size: .86rem; line-height: 1.25; }
.st-chip i { flex: none; width: 26px; height: 26px; border-radius: 9px; background: var(--c); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .14); }
.st-chip small { display: block; font-size: .58rem; letter-spacing: .22em; text-transform: uppercase; color: var(--k-ink-2); }
.st-stack { display: grid; gap: 1rem; width: 100%; }
.st-stack .st-card { display: grid; grid-template-columns: 84px minmax(0, 1fr); text-align: left; }
.st-stack .st-card__top { height: auto; min-height: 100%; }
.st-stack .st-card__icon { width: 40px; height: 40px; }
.st-stack .st-card__star { left: 6px; top: 6px; font-size: .46rem; }
.st-stack .st-card__body { justify-items: start; }
.st-sec[data-style="minimal"] .st-stack .st-card { border-top: 0; }
.st-sec[data-style="minimal"] .st-stack .st-card__top { border-radius: 16px; min-height: 84px; }

/* ---------- programme ---------- */
.st-timewrap { position: relative; width: min(100%, 440px); }
.st-time { position: relative; display: grid; gap: 1.1rem; margin: 0; padding: 0; list-style: none; text-align: left; }
.st-time__line { position: absolute; left: 21px; top: 10px; bottom: 10px; width: 1px; background: linear-gradient(var(--k-gold), color-mix(in srgb, var(--k-gold) 20%, transparent)); transform-origin: 50% 0; }
.st-time li { display: grid; grid-template-columns: 44px 5rem minmax(0, 1fr); align-items: center; gap: .8rem; }
.st-time__dot { position: relative; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--k-card); box-shadow: 0 0 0 1px var(--k-gold); color: var(--st-accent); font-size: 24px; }
.st-time__when { font: var(--st-h2-w) 1.16rem/1.1 var(--k-display); color: var(--k-accent); }
.st-time__what b { display: block; font-weight: 600; }
.st-time__what small { color: var(--k-ink-2); }

/* ---------- photographs ---------- */
.st-rail--photos { --card-w: min(66vw, 290px); }
.st-photo { position: relative; overflow: hidden; margin: 0; aspect-ratio: 3 / 4; border-radius: 20px; background: var(--st-tint); box-shadow: 0 24px 46px -30px color-mix(in srgb, var(--k-deep) 75%, transparent); }
.st-photo img { position: absolute; inset: 0 -8%; width: 116%; height: 100%; max-width: none; transform: translateX(calc(var(--d, 0) * -18px)); }
.st-photo figcaption { position: absolute; left: 50%; bottom: 14px; max-width: 86%; padding: .46rem .9rem .36rem; overflow: hidden; border-radius: 999px; background: color-mix(in srgb, var(--k-card) 84%, transparent); color: var(--st-ink); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); font: italic 400 .96rem/1.2 var(--k-display); white-space: nowrap; text-overflow: ellipsis; text-shadow: none; transform: translateX(-50%); }
.st-sec[data-style="ornate"] .st-photo { border-radius: 4px; border: 6px solid var(--k-card); outline: 1px solid var(--k-gold); }
.st-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .8rem; width: 100%; }
.st-grid .st-photo:nth-child(3n + 1) { grid-column: span 2; aspect-ratio: 16 / 11; }
.st-grid .st-photo:only-child { grid-column: span 2; aspect-ratio: 4 / 5; }
.st-grid .st-photo img { inset: 0; width: 100%; transform: none; }
@media (min-width: 760px) { .st-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } .st-grid .st-photo:nth-child(3n + 1) { grid-column: span 1; aspect-ratio: 3 / 4; } .st-grid .st-photo:nth-child(4n + 1) { grid-column: span 2; aspect-ratio: 16 / 10.4; } }

/* ---------- verse ---------- */
.st-quote { display: grid; justify-items: center; gap: 1rem; margin: 0; max-width: 32ch; }
.st-quote__mark { width: 34px; height: 26px; fill: none; stroke: var(--k-gold); stroke-width: 2; stroke-linecap: round; }
.st-quote p { margin: 0; font: italic 300 calc(clamp(1.45rem, 6vw, 2.05rem) * var(--st-h2-size)) / 1.38 var(--k-display); color: var(--k-accent); text-wrap: balance; }
.st-quote cite { font: normal 500 .7rem/1.3 var(--k-label); letter-spacing: .3em; text-transform: uppercase; color: var(--k-ink-2); }

/* ---------- dress code, things to know, venue, replies ---------- */
.st-swatches { display: flex; flex-wrap: wrap; justify-content: center; gap: .7rem; }
.st-swatches i { width: 46px; height: 46px; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .14), 0 0 0 3px var(--k-card), 0 0 0 4px color-mix(in srgb, var(--k-gold) 45%, transparent); }
.st-wear { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 1rem; width: min(100%, 520px); }
.st-wear > div { padding: 1.1rem; border-radius: 18px; background: var(--k-card); box-shadow: 0 0 0 1px color-mix(in srgb, var(--k-gold) 30%, transparent); }
.st-wear b { font: var(--st-h2-w) 1.24rem/1.1 var(--k-display); color: var(--k-accent); }
.st-wear p { margin: .3rem 0 0; font-size: .92rem; color: var(--k-ink-2); }
ul.st-info { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 1rem; width: 100%; margin: 0; padding: 0; list-style: none; }
.st-info li { display: grid; justify-items: center; align-content: start; gap: .4rem; padding: 1.5rem 1.2rem; border-radius: 22px; background: var(--k-card); box-shadow: 0 0 0 1px color-mix(in srgb, var(--k-gold) 28%, transparent); }
.st-info__icon { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; background: color-mix(in srgb, var(--k-accent) 9%, transparent); color: var(--k-accent); font-size: 28px; }
.st-info b { font: var(--st-h2-w) 1.28rem/1.15 var(--k-display); color: var(--k-accent); }
.st-info p { margin: 0; font-size: .93rem; color: var(--k-ink-2); }
.st-sec--map .k-map { width: min(100%, 560px); }
.st-sec[data-style="photo"] .k-map__name { color: #fff; }
.st-sec--closing { padding-bottom: 5rem; }
.st-closing { margin: 0; max-width: 24ch; font: italic 400 1.5rem/1.3 var(--k-display); text-wrap: balance; }
.st-hashtag { margin: 0; font: 500 .8rem/1 var(--k-label); letter-spacing: .2em; color: var(--k-accent); }
.st-made { margin: 0; padding: 1.2rem 1rem 5.4rem; text-align: center; }
.st-made a { font: 500 .62rem/1 var(--k-label); letter-spacing: .26em; text-transform: uppercase; color: var(--k-ink-2); text-decoration: none; opacity: .8; }

/* ---------- the host's own artwork as a section ---------- */
.st-art { position: relative; overflow: hidden; width: 100%; margin: 0; border-radius: var(--k-radius); background: var(--st-tint); box-shadow: var(--st-shadow); }
.st-art img { width: 100%; height: auto; max-height: 88svh; object-fit: cover; }
.st-art--whole img { object-fit: contain; }
.st-art figcaption { padding: .8rem 1rem .7rem; background: var(--k-card); color: var(--st-ink); font: italic 400 1rem/1.3 var(--k-display); text-shadow: none; }
.st-sec--art[data-style="photo"] { min-height: 0; padding: 0; }
.st-sec--art[data-style="photo"] > .st-in { width: 100%; }
.st-sec--art[data-style="photo"] .st-art { border-radius: 0; box-shadow: none; }
.st-sec--art[data-style="photo"] .st-art img { max-height: none; }
.st-sec--art[data-style="minimal"] .st-art { border-radius: 0; box-shadow: none; background: none; }

/* ---------- the design's own opening: a cover that lifts away ---------- */
.st .k-open--own { display: block; perspective: 1500px; }
.st-cover { position: absolute; inset: 0; display: grid; place-items: center; width: 100%; height: 100%; padding: 0; overflow: hidden; border: 0; cursor: pointer; color: var(--k-on-deep); transform-origin: 50% 0; transition: transform .24s var(--k-ease);
  background: repeating-linear-gradient(45deg, rgba(255, 255, 255, .04) 0 2px, transparent 2px 9px), linear-gradient(160deg, color-mix(in srgb, var(--k-deep) 80%, #fff), var(--k-deep) 62%, color-mix(in srgb, var(--k-deep) 86%, #000)); box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .55); }
.st-cover::after { content: ""; position: absolute; inset: 14px; border: 1px solid color-mix(in srgb, var(--k-gold) 75%, transparent); border-radius: 10px; pointer-events: none; }
.st-cover--art::after { display: none; }
.st-cover__art { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; }
.st-cover__face { display: grid; justify-items: center; gap: .75rem; padding: 2.4rem 2rem; text-align: center; }
.st-cover__ring { display: grid; place-items: center; min-width: 6rem; height: 6rem; padding: 0 1rem; margin-bottom: .8rem; border: 1px solid var(--k-gold); border-radius: 999px; font: italic 400 2rem/1 var(--k-display); color: var(--k-gold-hi); box-shadow: 0 0 0 5px color-mix(in srgb, var(--k-gold) 18%, transparent); animation: k-breathe 3s ease-in-out infinite; }
.st-cover__eyebrow { font: 500 .68rem/1.4 var(--k-label); letter-spacing: .3em; text-transform: uppercase; opacity: .85; }
.st-cover__title { font: italic 400 1.2rem/1.3 var(--k-display); opacity: .9; }
.st-cover__names { max-width: 12ch; font: var(--st-names-style) var(--st-names-w) calc(clamp(2.3rem, 11vw, 3.8rem) * var(--st-names-size)) / 1.1 var(--st-names); letter-spacing: var(--st-names-ls); text-transform: var(--st-names-case); color: var(--k-gold-hi); text-wrap: balance; }
.st-cover__date { margin-top: .5rem; font: 500 .74rem/1 var(--k-label); letter-spacing: .34em; }
.st-cover__sheen { position: absolute; inset: 0; background: linear-gradient(105deg, transparent 38%, rgba(255, 255, 255, .16) 50%, transparent 62%); transform: translateX(-100%); animation: st-sheen 4.6s ease-in-out 1.2s infinite; pointer-events: none; }
.st-cover__hint { position: absolute; z-index: 2; left: 50%; bottom: max(7svh, 40px); translate: -50% 0; padding: .75rem 1.3rem .6rem; border-radius: 999px; --k-accent: var(--k-gold-hi); color: var(--k-on-deep); background: color-mix(in srgb, var(--k-deep) 64%, transparent); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); white-space: nowrap; pointer-events: none; }
.st .k-open--own .k-open__dear { pointer-events: none; }
.k-open--own.is-press .st-cover { transform: scale(.985); }
.k-open--own.is-lift .st-cover { transform: translateY(-108%) rotateX(22deg); transition: transform 1.05s cubic-bezier(.77, 0, .175, 1); }

@media (min-width: 760px) {
  .st { font-size: 17px; }
  .st[data-type="regal"] { font-size: 19px; }
  .st-rail { --card-w: 300px; gap: 1.4rem; }
  .st-rail--photos { --card-w: 300px; }
  .st-sec[data-style="photo"] { min-height: min(84svh, 820px); }
  .st-hero:is([data-style="glass"], [data-style="photo"]) .st-hero__in { width: min(100%, 620px); }
}
@keyframes st-blink { 50% { opacity: 0; } }
@keyframes st-nudge { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(5px); } }
@keyframes st-sheen { 0%, 60% { transform: translateX(-100%); } 100% { transform: translateX(100%); } }
@media (prefers-reduced-motion: reduce) { .st-photo img { transform: none; } .st-hero__sheen, .st-cover__sheen { display: none; } }
