:root {
  color-scheme: dark;
  --paper: #f0eee7;
  --soft: #b8b5af;
  --line: rgba(225, 222, 214, .18);
  --red: #943c48;
  --blue: #3e6088;
  --bg: #070809;
  --rx: 0deg;
  --ry: 0deg;
  --mx: 50%;
  --my: 35%;
  --serif: "Iowan Old Style", "Baskerville", "Palatino Linotype", Georgia, serif;
}
* { box-sizing: border-box; }
html { scroll-padding-top: 28px; }
body { margin: 0; min-height: 100vh; overflow-x: hidden; background: var(--bg); color: var(--paper); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif; font-size: 1rem; line-height: 1.7; -webkit-font-smoothing: antialiased; }
body::before { content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none; background: radial-gradient(ellipse at 50% 0, #34363840 0, #07080900 68%); }
button, a, summary { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
button { font: inherit; color: inherit; cursor: pointer; }
a { color: inherit; text-underline-offset: 5px; text-decoration-thickness: 1px; }
button:focus-visible, a:focus-visible, summary:focus-visible { outline: 2px solid var(--paper); outline-offset: 6px; }
[hidden] { display: none !important; }
.ambient { position: fixed; top: 20vh; width: 42vw; height: 60vh; max-width: 600px; border-radius: 50%; filter: blur(100px); opacity: .045; pointer-events: none; z-index: -1; }
.ambient-red { left: -28vw; background: var(--red); }
.ambient-blue { right: -28vw; background: var(--blue); }
.invitation-page { width: min(100% - 64px, 950px); margin: auto; padding: 36px 0 32px; }
.page-masthead { display: flex; align-items: center; justify-content: center; gap: 24px; margin-bottom: 27px; }
.page-masthead::before, .page-masthead::after { content: ""; width: 42px; height: 1px; background: linear-gradient(90deg, transparent, #943c48b3); }
.page-masthead::after { background: linear-gradient(90deg, #3e6088c7, transparent); }
.masthead-note { color: #bdbab5; font-size: .8125rem; line-height: 1.5; text-transform: uppercase; letter-spacing: .19em; }
.perspective-wrap { perspective: 2200px; perspective-origin: 50% 320px; padding: 0 0 8px; }
.flip-card { position: relative; transform-style: preserve-3d; transform: rotateY(0deg); }
.flip-card:focus { outline: none; }
.flip-ready .card-face { position: absolute; top: 0; left: 0; width: 100%; backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.flip-card.is-back { transform: rotateY(180deg); }
.card-face[aria-hidden="true"] { visibility: hidden; pointer-events: none; }
.flip-card.is-rotating .card-face { visibility: visible; pointer-events: none; }
.invitation-cover { position: relative; isolation: isolate; display: flex; flex-direction: column; align-items: center; padding: 38px 64px 40px; overflow: hidden; background: radial-gradient(ellipse at 50% 0, #25272965, transparent 62%), linear-gradient(135deg, #141517, #0c0d0f 55%, #111316); border: 1px solid #d5d2ca54; border-radius: 2px; box-shadow: 0 32px 100px #0008, 0 1px 0 #f0eee710 inset, 0 -1px 0 #000 inset; transform: rotateY(0deg); touch-action: pan-y; }
.invitation-cover::before { content: ""; position: absolute; inset: 12px; border: 1px solid #e4e0d71a; pointer-events: none; z-index: 1; }
.invitation-cover::after {
  content: "";
  position: absolute;
  inset: 16px;
  background:
    linear-gradient(180deg, transparent, #71303a 35%, #71303a 65%, transparent) left / 1px 100% no-repeat,
    linear-gradient(180deg, transparent, #304969 35%, #304969 65%, transparent) right / 1px 100% no-repeat;
  pointer-events: none;
  z-index: 1;
}
.cover-sheen { position: absolute; inset: 0; z-index: 0; pointer-events: none; background: radial-gradient(ellipse at var(--mx) var(--my), #f6f3ed0b, transparent 60%); }
.cover-light { position: absolute; inset: 0; z-index: 3; pointer-events: none; mix-blend-mode: screen; }
.cover-reveal-line { position: absolute; left: 12px; right: 12px; bottom: 12px; height: 1px; background: linear-gradient(90deg, var(--red), #e8e2d880 30%, #e8e2d880 70%, var(--blue)); pointer-events: none; z-index: 4; }
.masthead-brand { width: 248px; aspect-ratio: 1979 / 794; overflow: hidden; flex: 0 0 auto; }
.masthead-brand img { display: block; width: 100%; height: 100%; object-fit: contain; object-position: center; }
.cover-brand { position: relative; z-index: 2; margin: 0 auto 25px; mix-blend-mode: screen; }
.cover-type { position: relative; z-index: 2; text-align: center; width: 100%; mix-blend-mode: screen; }
.artists-heading { margin: 0; color: #c8c5be; font-size: .8125rem; font-weight: 400; text-transform: uppercase; letter-spacing: .3em; line-height: 1.5; }
.artists-wordmark { display: block; width: min(100%, 264px); margin: 22px auto 0; font-size: 0; line-height: 0; }
.artists-wordmark img { display: block; width: 100%; height: auto; }
.stage { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: end; gap: 30px; width: 290px; margin: 24px auto 0; padding-bottom: 15px; transform-style: preserve-3d; }
.stage-aura { position: absolute; inset: 0 -10% 8%; border-radius: 50%; background: radial-gradient(ellipse at 22% 75%, #943c481c, transparent 52%), radial-gradient(ellipse at 78% 75%, #3e608823, transparent 52%); pointer-events: none; }
.artist { position: relative; width: 100%; height: auto; aspect-ratio: 1; border: 0; padding: 0; display: flex; align-items: flex-end; justify-content: center; background: none; transform: translateZ(14px); isolation: isolate; }
.artist img { display: block; width: 100%; height: 100%; object-fit: contain; object-position: center bottom; pointer-events: none; filter: drop-shadow(0 8px 8px #0007); }
.artist-berlex { grid-column: 1; }
.artist-ness { grid-column: 2; }
.artist-berlex[aria-pressed=true] img { filter: drop-shadow(-2px 0 5px #a6445277); }
.artist-ness[aria-pressed=true] img { filter: drop-shadow(2px 0 5px #456b9e88); }
.artist-name { position: absolute; bottom: -7px; padding: 1px 5px; border-bottom: 1px solid var(--line); background: #0d0e10f5; font-size: .75rem; line-height: 1.55; font-weight: 500; letter-spacing: .08em; opacity: 0; pointer-events: none; }
.artist[aria-pressed=true] .artist-name, .artist:focus-visible .artist-name { opacity: 1; }
.artist-berlex .artist-name { border-bottom-color: var(--red); }
.artist-ness .artist-name { border-bottom-color: var(--blue); }
.stage-line { position: absolute; bottom: 0; height: 1px; width: 36px; left: calc(50% - 18px); background: linear-gradient(90deg, #943c4888, #c7c1b844, #3e608899); pointer-events: none; }
.cover-topline { position: relative; z-index: 2; display: flex; align-items: center; justify-content: center; gap: 20px; margin-top: 18px; color: #c8c5be; font-size: 14px; line-height: 1.5; letter-spacing: .18em; }
.date-divider { width: 24px; height: 1px; background: #c6c0b94d; }
.cover-footer { position: relative; z-index: 2; padding-top: 25px; width: 100%; text-align: center; }
.open-button { position: relative; min-height: 54px; min-width: 268px; padding: 14px 28px; border: 1px solid #d9d3c9b3; border-radius: 1px; background: #eeebe2; color: #151618; font-size: .9375rem; font-weight: 500; line-height: 1.5; letter-spacing: .025em; box-shadow: 0 8px 20px #0003, 0 1px 0 #ffffffaa inset; }
.open-button:hover { background: #fffdf4; border-color: #fffdf4; }
.open-button:active { background: #d7d1c5; }
.invitation-message { position: relative; width: 100%; margin: 0; padding: 27px clamp(55px, 8vw, 105px) 26px; background: linear-gradient(135deg, #141517, #0e1012 70%); border: 1px solid #d5d2ca54; border-radius: 2px; box-shadow: 0 32px 100px #0008, 0 1px 0 #f0eee710 inset; transform: rotateY(180deg); }
.invitation-message::before { content: ""; position: absolute; top: -1px; height: 1px; left: 55px; right: 55px; background: linear-gradient(90deg, var(--red), #e8e4dc99 35%, #e8e4dc99 65%, var(--blue)); }
.invitation-message::after { content: ""; position: absolute; inset: 12px; border: 1px solid #e4e0d71a; pointer-events: none; }
.back-toolbar { display: flex; justify-content: flex-end; padding-bottom: 3px; }
.back-toolbar .close-button { color: #bdb7ae; }
.invitation-message:focus { outline: none; }
.invitation-message:focus-visible { outline: 1px solid #d7d2c480; outline-offset: 5px; }
.message-section { padding: 0; border-bottom: 1px solid var(--line); }
.message-section summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 76px; padding: 23px 0; font-family: var(--serif); font-size: 32px; font-weight: 400; line-height: 1.2; letter-spacing: -.025em; cursor: pointer; }
.message-section summary::-webkit-details-marker { display: none; }
.disclosure-mark { position: relative; width: 15px; height: 15px; flex: 0 0 15px; color: #c4beb4; }
.disclosure-mark::before, .disclosure-mark::after { content: ""; position: absolute; left: 0; top: 7px; width: 15px; height: 1px; background: currentColor; }
.disclosure-mark::after { transform: rotate(90deg); }
details[open] .disclosure-mark::after { transform: rotate(0deg); }
.section-body { padding: 0 0 32px; }
.section-body p, .closing-message p { margin: 0 0 22px; }
.section-body p:last-child, .closing-message p:last-child { margin-bottom: 0; }
.section-body p, .closing-message p, .confirmation-block p { color: #d2d0cb; line-height: 1.9; }
strong { color: #f1eee7; font-weight: 600; }
.confirmation-block { display: flex; gap: 18px; padding: 31px 0; border-bottom: 1px solid var(--line); }
.confirmation-icon { flex: 0 0 24px; font-size: 20px; padding-top: 3px; filter: grayscale(.65); }
.confirmation-block p { margin: 0; }
.summary-price { margin-left: .08em; font-size: .75em; font-weight: 400; font-style: italic; letter-spacing: -.02em; color: #c9c3b8; white-space: nowrap; }
.practical-details { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 23px 25px; }
.practical-details p { display: flex; align-items: flex-start; gap: 13px; margin: 0; }
.detail-icon { flex: 0 0 22px; font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif; font-variant-emoji: emoji; font-size: 1.0625rem; line-height: 1.8; text-align: center; filter: none; opacity: 1; }
.detail-icon--clock { filter: sepia(1) saturate(3) hue-rotate(165deg); }
.practical-details .dress-code { grid-column: 1 / -1; display: block; padding-top: 24px; border-top: 1px solid #e8e4dc12; }
.closing-message { padding: 34px 0; }
.closing-message .signature { margin-top: 31px; font-family: var(--serif); font-size: 24px; font-style: italic; letter-spacing: -.02em; line-height: 1.5; color: var(--paper); }
.reply-tools { padding: 26px 0 30px; border-top: 1px solid var(--line); }
.reply-instructions { margin: 0 0 14px; color: var(--soft); }
.reply-options { display: flex; flex-wrap: wrap; gap: 12px; }
.reply-button { min-height: 50px; padding: 11px 24px; background: transparent; border: 1px solid #d1cab987; border-radius: 1px; font-size: .9375rem; font-weight: 500; color: var(--paper); }
.reply-button:hover { border-color: #eee7d9; background: #eee7d909; }
.reply-status { margin: 13px 0 0; font-size: 14px; color: #b5afa8; line-height: 1.7; }
.reply-status:empty { margin: 0; }
.copy-fallback { margin-top: 20px; }
.copy-fallback label { display: block; margin-bottom: 7px; color: var(--soft); font-size: 14px; }
.copy-fallback textarea { width: 100%; padding: 13px; border: 1px solid #8b867e; border-radius: 1px; background: #090a0b; color: var(--paper); font: inherit; font-size: 16px; line-height: 1.65; resize: vertical; }
.message-footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 26px; padding-top: 12px; border-top: 1px solid #e8e4dc14; color: #bdb7ae; font-size: 14px; }
.message-footer a, .close-button { display: inline-flex; align-items: center; min-height: 44px; padding: 12px 0; }
.close-button { background: none; border: 0; font-size: 14px; color: inherit; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; }
.page-footer { display: flex; align-items: center; justify-content: center; gap: 18px; margin: 31px 0 0; color: #a29e98; font-size: .8125rem; letter-spacing: .075em; }
.footer-red, .footer-blue { width: 22px; height: 1px; background: var(--red); }
.footer-blue { background: var(--blue); }
.noscript-notice { padding: 24px 0; font-size: 16px; }
@media (max-width: 720px) {
  .invitation-page { width: min(100% - 40px, 600px); padding-top: 26px; }
  .page-masthead { gap: 18px; margin-bottom: 22px; }
  .page-masthead::before, .page-masthead::after { width: 26px; }
  .masthead-note { letter-spacing: .14em; }
  .invitation-cover { padding: 31px 32px 34px; }
  .cover-brand { width: 218px; margin-bottom: 22px; }
  .artists-heading { letter-spacing: .24em; }
  .stage { width: 268px; margin-top: 23px; gap: 28px; }
  .invitation-message { padding: 22px 34px 23px; }
  .invitation-message::before { left: 34px; right: 34px; }
  .practical-details { grid-template-columns: minmax(0, 1fr); gap: 22px; }
}
@media (max-width: 540px) {
  .invitation-page { width: calc(100% - 28px); padding-top: 23px; }
  .page-masthead { gap: 13px; margin-bottom: 19px; }
  .page-masthead::before, .page-masthead::after { width: 22px; }
  .masthead-note { font-size: .8125rem; letter-spacing: .09em; }
  .invitation-cover { padding: 29px 26px 31px; }
  .invitation-cover::before { inset: 9px; }
  .invitation-cover::after { inset: 13px; }
  .cover-reveal-line { bottom: 9px; left: 9px; right: 9px; }
  .cover-brand { width: 194px; margin-bottom: 22px; }
  .artists-heading { font-size: .8125rem; letter-spacing: .17em; }
  .artists-wordmark { width: min(100%, 194px); margin-top: 20px; }
  .stage { width: 236px; max-width: 100%; gap: 24px; margin-top: 24px; padding-bottom: 15px; }
  .cover-topline { margin-top: 18px; gap: 15px; letter-spacing: .13em; }
  .date-divider { width: 20px; }
  .cover-footer { padding-top: 24px; }
  .reply-options { display: grid; }
  .open-button { min-width: 0; width: 100%; padding: 13px 10px; }
  .invitation-message { padding: 20px 26px 18px; }
  .invitation-message::before { left: 26px; right: 26px; }
  .message-section summary { min-height: 68px; padding: 22px 0; font-size: 29px; }
  .section-body p, .closing-message p, .confirmation-block p { line-height: 1.85; }
  .confirmation-block { gap: 12px; padding: 28px 0; }
  .confirmation-icon { flex-basis: 20px; font-size: 18px; }
  .section-body { padding-bottom: 28px; }
  .closing-message .signature { font-size: 22px; }
  .page-footer { gap: 12px; margin-top: 26px; letter-spacing: .02em; }
  .footer-red, .footer-blue { width: 17px; }
}
@media (max-width: 370px) {
  .page-masthead { gap: 9px; }
  .page-masthead::before, .page-masthead::after { width: 16px; }
  .masthead-note { letter-spacing: .055em; }
  .invitation-cover { padding-inline: 22px; }
  .cover-brand { width: 181px; }
  .artists-heading { letter-spacing: .12em; }
  .stage { width: 215px; gap: 23px; }
  .cover-topline { gap: 12px; letter-spacing: .1em; }
  .invitation-message { padding-inline: 21px; }
  .invitation-message::before { left: 21px; right: 21px; }
  .confirmation-block { display: block; }
  .confirmation-icon { display: inline-block; margin-bottom: 8px; }
  .message-footer { display: block; }
  .message-footer .close-button { display: flex; }
  .page-footer { gap: 8px; letter-spacing: 0; }
  .footer-red, .footer-blue { width: 11px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .invitation-cover, .artist { transform: none; }
}

.invitation-copy .message-section summary {
  gap: 12px;
  min-height: 64px;
  font-size: clamp(1rem, 3.6vw, 1.3125rem);
  line-height: 1.35;
  letter-spacing: .025em;
}
.intro-heading { display: grid; gap: .45rem; }
.intro-artists { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif; font-size: .875rem; letter-spacing: .14em; }
.intro-title { font-size: clamp(1.75rem, 5.65vw, 2.5rem); line-height: 1.15; letter-spacing: .015em; }
.invitation-copy .section-body p { margin-bottom: .85rem; line-height: 1.68; }
.invitation-copy .section-body p:last-child, .invitation-copy .practical-details p { margin-bottom: 0; }
.lineup, .artist-signature { font-family: var(--serif); color: var(--paper); }
.invitation-copy .lineup { font-style: italic; font-size: 1.1875rem; }
.invitation-copy .offer-line, .invitation-copy .artist-signature { font-size: 1.1875rem; }
.invitation-copy .artist-signature { font-style: italic; }
.personal-invite { border-bottom: 0; }
