:root {
  --background-color: #F6F3EE;
  --hero-color: #23201C;
  --title-color: #23201C;
  --text-color: #5C564E;
  --contrast-color: #A8763E;
  --error-color: #F3DEDA;
  --intense-error-color: #A5382F;
  --hero-size: 108px;
  --title-size: 46px;
  --text-size: 17px;

  --v-surface: color-mix(in srgb, var(--background-color) 62%, #ffffff);
  --v-rail: color-mix(in srgb, var(--background-color) 93%, var(--title-color));
  --v-ink: color-mix(in srgb, var(--title-color) 94%, var(--contrast-color));
  --v-hairline: color-mix(in srgb, var(--background-color) 82%, var(--title-color));
  --v-hairline-soft: color-mix(in srgb, var(--background-color) 90%, var(--title-color));
  --v-muted: color-mix(in srgb, var(--text-color) 66%, var(--background-color));
  --v-onink: color-mix(in srgb, var(--background-color) 92%, #ffffff);

  --v-display: 'Cormorant Garamond', 'Times New Roman', serif;
  --v-sans: 'Jost', system-ui, sans-serif;

  --v-gutter: clamp(22px, 5.5vw, 96px);
  --v-rhythm: clamp(72px, 8vw, 160px);
  --v-ease: cubic-bezier(.22,.7,.2,1);
}

*, *::before, *::after { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--background-color);
  color: var(--text-color);
  font-family: var(--v-sans);
  font-size: var(--text-size);
  font-weight: 300;
  line-height: 1.8;
  letter-spacing: .01em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
::selection { background: color-mix(in srgb, var(--contrast-color) 22%, transparent); }

.t-shell { display: grid; grid-template-columns: 268px minmax(0, 1fr); align-items: start; }
.t-main { min-width: 0; border-left: 1px solid var(--v-hairline); }

.t-rail {
  position: sticky; top: 0; align-self: start;
  height: 100vh; overflow-y: auto; scrollbar-width: thin;
  background: var(--v-rail);
  padding: clamp(32px, 3.4vw, 52px) clamp(24px, 2.4vw, 36px);
  display: flex; flex-direction: column; gap: clamp(28px, 3.4vw, 48px);
}
.t-rail__mono {
  font-family: var(--v-display); font-weight: 300; font-size: 46px; line-height: .9;
  letter-spacing: .02em; color: var(--title-color);
}
.t-rail__mono em { font-style: italic; color: var(--contrast-color); }
.t-rail__date {
  margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--v-hairline);
  font-size: 10px; font-weight: 400; letter-spacing: .34em; text-transform: uppercase; color: var(--v-muted);
}
.t-rail__nav { display: flex; flex-direction: column; gap: 1px; }
.t-rail__nav a {
  display: grid; grid-template-columns: 26px 1fr; align-items: baseline; gap: 4px;
  padding: 7px 0; font-size: 13px; font-weight: 300; letter-spacing: .08em; color: var(--text-color);
  transition: color .25s var(--v-ease), padding-left .3s var(--v-ease);
}
.t-rail__nav a i {
  font-style: normal; font-size: 9px; font-weight: 400; letter-spacing: .16em;
  color: var(--v-muted); transition: color .25s var(--v-ease);
}
.t-rail__nav a:hover { color: var(--contrast-color); padding-left: 6px; }
.t-rail__nav a:hover i { color: var(--contrast-color); }
.t-rail__cta { margin-top: auto; padding-top: 24px; border-top: 1px solid var(--v-hairline); }

.t-over {
  font-family: var(--v-sans); font-weight: 400; font-size: 10px; line-height: 1;
  letter-spacing: .36em; text-transform: uppercase; color: var(--contrast-color);
}
.t-over--mute { color: var(--v-muted); }
.t-h2 {
  margin: 0; font-family: var(--v-display); font-weight: 300;
  font-size: clamp(32px, calc(var(--title-size) * .82), var(--title-size));
  line-height: 1.12; letter-spacing: -.005em; color: var(--title-color); text-wrap: balance;
}
.t-h2 em { font-style: italic; color: var(--contrast-color); }
.t-h3 {
  margin: 0; font-family: var(--v-display); font-weight: 400;
  font-size: clamp(22px, calc(var(--title-size) * .58), 30px);
  line-height: 1.2; color: var(--title-color);
}
.t-lead { margin: 0; font-size: var(--text-size); line-height: 1.85; color: var(--text-color); text-wrap: pretty; }
.t-note { font-size: 14px; line-height: 1.75; color: var(--v-muted); }
.t-quote {
  margin: 0; font-family: var(--v-display); font-weight: 300; font-style: italic;
  font-size: clamp(26px, 3.4vw, 44px); line-height: 1.34; letter-spacing: -.01em;
  color: var(--title-color); text-wrap: pretty;
}
.t-sig { font-family: var(--v-display); font-style: italic; font-size: clamp(22px, 2.2vw, 30px); color: var(--contrast-color); }

.lj-section { padding: var(--v-rhythm) var(--v-gutter); }
.lj-section--surface { background: var(--v-surface); }
.lj-section--ink { background: var(--v-ink); }
.lj-section--ink .t-h2, .lj-section--ink .t-h3 { color: var(--v-onink); }
.lj-section--ink .t-lead { color: color-mix(in srgb, var(--v-onink) 76%, var(--v-ink)); }
.lj-section--ink .t-note { color: color-mix(in srgb, var(--v-onink) 60%, var(--v-ink)); }
.lj-section--ink .t-over { color: color-mix(in srgb, var(--contrast-color) 72%, var(--v-onink)); }
.c-default__container { max-width: 1160px; margin: 0 auto; }

.t-head { display: flex; align-items: baseline; gap: 18px; margin-bottom: clamp(32px, 3.6vw, 56px); }
.t-head__rule { flex: 1; height: 1px; background: var(--v-hairline); }
.lj-section--ink .t-head__rule { background: color-mix(in srgb, var(--v-onink) 24%, transparent); }

.lj-section-element { display: flex; justify-content: center; align-items: center; gap: 14px; padding: clamp(24px, 3vw, 44px) var(--v-gutter) 0; }
.lj-section-element span { width: clamp(40px, 8vw, 110px); height: 1px; background: var(--v-hairline); }
.lj-section-element svg { width: 22px; height: auto; color: var(--contrast-color); opacity: .85; }

.t-duo { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: clamp(32px, 5vw, 80px); }
.t-trio { display: grid; grid-template-columns: repeat(auto-fit, minmax(258px, 1fr)); gap: clamp(24px, 3vw, 40px); }

.t-frame { position: relative; overflow: hidden; background: var(--v-hairline-soft); }
.t-frame img { width: 100%; height: 100%; object-fit: cover; }
.t-frame--arch { border-radius: 50vw 50vw 0 0 / 30% 30% 0 0; }
.t-frame--45 { aspect-ratio: 4 / 5; }
.t-frame--34 { aspect-ratio: 3 / 4; }
.t-frame--32 { aspect-ratio: 3 / 2; }
.t-frame--169 { aspect-ratio: 16 / 9; }
.t-ph {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  text-align: center; padding: 18px; border-radius: inherit;
  font-size: 9px; font-weight: 400; letter-spacing: .3em; text-transform: uppercase; color: var(--v-muted);
  background: var(--v-hairline-soft);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--title-color) 12%, transparent);
}

.t-cover { position: relative; min-height: 100vh; display: grid; }
.t-cover__media { position: absolute; inset: 0; overflow: hidden; }
.t-cover__media img { width: 100%; height: 100%; object-fit: cover; }
.t-cover__media::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg,
    color-mix(in srgb, var(--v-ink) 26%, transparent) 0%,
    color-mix(in srgb, var(--v-ink) 8%, transparent) 34%,
    color-mix(in srgb, var(--v-ink) 44%, transparent) 100%);
}
.t-cover__inner {
  position: relative; z-index: 1; align-self: end;
  padding: clamp(40px, 7vw, 96px) var(--v-gutter) clamp(32px, 4vw, 56px);
  width: 100%;
}
.t-cover__rule { width: 1px; height: clamp(48px, 8vw, 96px); background: color-mix(in srgb, var(--v-onink) 60%, transparent); margin-bottom: clamp(20px, 3vw, 36px); }
.t-cover__eyebrow { color: color-mix(in srgb, var(--v-onink) 84%, transparent); }
.t-cover__names {
  margin: clamp(14px, 2vw, 22px) 0 0;
  font-family: var(--v-display); font-weight: 300;
  font-size: clamp(52px, calc(var(--hero-size) * .82), var(--hero-size));
  line-height: .92; letter-spacing: -.015em; color: var(--v-onink);
}
.t-cover__names em { display: block; font-style: italic; font-size: .34em; letter-spacing: .04em; margin: .08em 0; opacity: .82; }
.t-cover__meta {
  display: flex; flex-wrap: wrap; align-items: center; gap: clamp(14px, 2vw, 26px);
  margin-top: clamp(22px, 3vw, 36px);
  font-size: 10px; font-weight: 400; letter-spacing: .32em; text-transform: uppercase;
  color: color-mix(in srgb, var(--v-onink) 88%, transparent);
}
.t-cover__dot { width: 4px; height: 4px; border-radius: 50%; background: var(--contrast-color); }
.t-count { display: flex; flex-wrap: wrap; gap: clamp(22px, 3.4vw, 48px); margin-top: clamp(28px, 3.6vw, 44px); padding-top: clamp(22px, 3vw, 32px); border-top: 1px solid color-mix(in srgb, var(--v-onink) 26%, transparent); }
.t-count__n { font-family: var(--v-display); font-weight: 300; font-size: clamp(30px, 3.4vw, 46px); line-height: 1; color: var(--v-onink); }
.t-count__u { margin-top: 8px; font-size: 9px; font-weight: 400; letter-spacing: .32em; text-transform: uppercase; color: color-mix(in srgb, var(--v-onink) 68%, transparent); }

.t-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 30px; border: 1px solid var(--contrast-color); background: transparent;
  font-family: var(--v-sans); font-weight: 400; font-size: 11px; letter-spacing: .28em; text-transform: uppercase;
  color: var(--contrast-color); cursor: pointer; transition: background .3s var(--v-ease), color .3s var(--v-ease), border-color .3s var(--v-ease);
}
.t-btn--solid { background: var(--contrast-color); color: var(--v-onink); }
.t-btn--solid:hover { background: color-mix(in srgb, var(--contrast-color) 78%, var(--title-color)); border-color: color-mix(in srgb, var(--contrast-color) 78%, var(--title-color)); }
.t-btn--outline:hover { background: var(--contrast-color); color: var(--v-onink); }
.t-btn--light { border-color: color-mix(in srgb, var(--v-onink) 66%, transparent); color: var(--v-onink); }
.t-btn--light:hover { background: var(--v-onink); color: var(--v-ink); border-color: var(--v-onink); }
.t-link {
  display: inline-flex; align-items: center; gap: 10px; padding-bottom: 6px;
  font-size: 10px; font-weight: 400; letter-spacing: .28em; text-transform: uppercase;
  color: var(--contrast-color); border-bottom: 1px solid color-mix(in srgb, var(--contrast-color) 45%, transparent);
  transition: border-color .3s var(--v-ease);
}
.t-link:hover { border-color: var(--contrast-color); }

.t-card { background: var(--v-surface); padding: clamp(26px, 3vw, 44px); }
.lj-section--surface .t-card { background: var(--background-color); }
.t-datebox { text-align: center; padding: clamp(32px, 4vw, 56px) clamp(24px, 3vw, 40px); border: 1px solid var(--v-hairline); }
.t-datebox__n { font-family: var(--v-display); font-weight: 300; font-size: clamp(72px, 10vw, 140px); line-height: .84; letter-spacing: -.03em; color: var(--hero-color); margin: 16px 0 10px; }
.t-row { display: grid; grid-template-columns: 24px 1fr auto; align-items: center; gap: 16px; padding: 15px 0; border-bottom: 1px solid var(--v-hairline-soft); }
.t-row:last-child { border-bottom: 0; }
.t-row__i { font-size: 10px; letter-spacing: .18em; color: var(--v-muted); }
.t-row__t { min-width: 0; font-size: 15px; line-height: 1.45; color: var(--title-color); }
.t-tag {
  display: inline-flex; align-items: center; min-height: 30px; padding: 0 15px;
  border: 1px solid var(--v-hairline); font-size: 9px; font-weight: 400; letter-spacing: .26em;
  text-transform: uppercase; color: var(--v-muted);
}
.t-swatches { display: flex; flex-wrap: wrap; gap: 14px; }
.t-swatches span { width: 46px; height: 46px; border-radius: 50%; box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--title-color) 14%, transparent); }
.t-def { display: grid; gap: 6px; }
.t-def dt { font-size: 9px; font-weight: 400; letter-spacing: .3em; text-transform: uppercase; color: var(--v-muted); }
.t-def dd { margin: 0; font-family: var(--v-display); font-size: 20px; color: var(--title-color); }

.c-gift-list__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 28px; }
.c-gift-list__items { display: flex; flex-wrap: wrap; gap: clamp(20px, 2.4vw, 34px); }
.c-gift-list__card { width: 272px; background: var(--background-color); display: flex; flex-direction: column; }
.lj-section--surface .c-gift-list__card { background: var(--v-surface); box-shadow: inset 0 0 0 1px var(--v-hairline-soft); }
.c-gift-list__card-media { position: relative; width: 100%; aspect-ratio: 1 / 1; background: var(--v-hairline-soft); }
.c-gift-list__card-body { padding: 22px 22px 26px; display: flex; flex-direction: column; gap: 12px; }
.c-gift-list__card-title { font-family: var(--v-display); font-size: 21px; line-height: 1.25; color: var(--title-color); }
.c-gift-list__card-price { font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: var(--contrast-color); }

.c-rsvp { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: clamp(32px, 5vw, 80px); align-items: start; }
.c-rsvp__form { background: var(--background-color); padding: clamp(26px, 3.4vw, 44px); display: flex; flex-direction: column; gap: 26px; box-shadow: inset 0 0 0 1px var(--v-hairline); }
.c-rsvp__field { display: flex; flex-direction: column; gap: 9px; }
.c-rsvp__label { font-size: 9px; font-weight: 400; letter-spacing: .3em; text-transform: uppercase; color: var(--v-muted); }
.c-rsvp__label em { font-style: normal; color: var(--contrast-color); }
.c-rsvp__hint { font-size: 12px; letter-spacing: .02em; color: var(--v-muted); }

.c-rsvp__input, .c-rsvp__area {
  width: 100%; border: 0; border-bottom: 1px solid var(--v-hairline); background: transparent;
  font-family: var(--v-sans); font-weight: 300; font-size: 16px; color: var(--title-color);
  padding: 0 0 10px; transition: border-color .3s var(--v-ease);
}
.c-rsvp__input { height: 40px; }
.c-rsvp__area { min-height: 108px; padding-top: 8px; resize: vertical; line-height: 1.7; }
.c-rsvp__input::placeholder, .c-rsvp__area::placeholder { color: color-mix(in srgb, var(--v-muted) 70%, var(--background-color)); }
.c-rsvp__input:focus, .c-rsvp__area:focus { outline: none; border-color: var(--contrast-color); }

.c-rsvp__phone { display: grid; grid-template-columns: auto auto 1fr; align-items: center; gap: 10px; border-bottom: 1px solid var(--v-hairline); padding-bottom: 10px; }
.c-rsvp__phone:focus-within { border-color: var(--contrast-color); }
.c-rsvp__flag { display: flex; align-items: center; gap: 6px; }
.c-rsvp__flag svg { width: 22px; height: 15px; display: block; }
.c-rsvp__flag::after { content: ''; width: 0; height: 0; border-left: 4px solid transparent; border-right: 4px solid transparent; border-top: 5px solid var(--v-muted); }
.c-rsvp__ddi { font-size: 16px; color: var(--title-color); }
.c-rsvp__phone input { border: 0; background: transparent; font-family: var(--v-sans); font-weight: 300; font-size: 16px; color: var(--title-color); }
.c-rsvp__phone input:focus { outline: none; }

.c-rsvp__radios { display: flex; flex-wrap: wrap; gap: 26px; margin-top: 4px; }
.c-rsvp__radio { display: inline-flex; align-items: center; gap: 10px; cursor: pointer; font-size: 15px; color: var(--title-color); }
.c-rsvp__radio input { position: absolute; opacity: 0; pointer-events: none; }
.c-rsvp__radio span::before {
  content: ''; display: block; width: 17px; height: 17px; border-radius: 50%;
  box-shadow: inset 0 0 0 1px var(--v-hairline); transition: box-shadow .25s var(--v-ease), background .25s var(--v-ease);
}
.c-rsvp__radio input:checked + span::before { box-shadow: inset 0 0 0 1px var(--contrast-color), inset 0 0 0 4px var(--background-color); background: var(--contrast-color); }
.c-rsvp__radio input:focus-visible + span::before { box-shadow: inset 0 0 0 1px var(--contrast-color), 0 0 0 3px color-mix(in srgb, var(--contrast-color) 26%, transparent); }

.c-rsvp__counter-row { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 20px; padding: 16px 0; border-bottom: 1px solid var(--v-hairline-soft); }
.c-rsvp__counter-row:last-of-type { border-bottom: 0; }
.c-rsvp__counter-label { font-size: 15px; line-height: 1.45; color: var(--title-color); }
.c-rsvp__select {
  appearance: none; -webkit-appearance: none;
  min-width: 74px; height: 46px; padding: 0 32px 0 16px;
  border: 1px solid var(--contrast-color); background: transparent;
  font-family: var(--v-sans); font-weight: 300; font-size: 16px; color: var(--title-color); cursor: pointer;
  background-image: linear-gradient(45deg, transparent 50%, var(--contrast-color) 50%), linear-gradient(135deg, var(--contrast-color) 50%, transparent 50%);
  background-position: calc(100% - 18px) 21px, calc(100% - 13px) 21px;
  background-size: 5px 5px, 5px 5px; background-repeat: no-repeat;
}
.c-rsvp__select:focus { outline: none; box-shadow: 0 0 0 3px color-mix(in srgb, var(--contrast-color) 22%, transparent); }

.c-rsvp__chars { align-self: flex-end; font-size: 11px; letter-spacing: .14em; color: var(--v-muted); }

.c-rsvp__checks { display: grid; gap: 14px; }
.c-rsvp__check { display: grid; grid-template-columns: 18px 1fr; gap: 12px; align-items: start; cursor: pointer; font-size: 13px; line-height: 1.6; color: var(--text-color); }
.c-rsvp__check input { position: absolute; opacity: 0; pointer-events: none; }
.c-rsvp__check span:first-of-type {
  width: 18px; height: 18px; margin-top: 2px; position: relative;
  box-shadow: inset 0 0 0 1px var(--v-hairline); transition: box-shadow .25s var(--v-ease), background .25s var(--v-ease);
}
.c-rsvp__check input:checked + span::after {
  content: ''; position: absolute; left: 5px; top: 3px; width: 6px; height: 10px;
  border-right: 1.5px solid var(--background-color); border-bottom: 1.5px solid var(--background-color); transform: rotate(42deg);
}
.c-rsvp__check input:checked + span { background: var(--contrast-color); box-shadow: inset 0 0 0 1px var(--contrast-color); }
.c-rsvp__check a { color: var(--contrast-color); border-bottom: 1px solid color-mix(in srgb, var(--contrast-color) 40%, transparent); }

.c-rsvp__error { padding: 12px 16px; background: var(--error-color); color: var(--intense-error-color); font-size: 13px; }

.c-rsvp__search { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 14px; align-items: stretch; width: 100%; }
.c-rsvp__search input {
  width: 100%; height: 66px; padding: 0 24px; border: 1px solid var(--v-hairline);
  background: color-mix(in srgb, var(--background-color) 40%, #ffffff);
  font-family: var(--v-sans); font-weight: 300; font-size: 16px; color: var(--title-color);
}
.c-rsvp__search input:focus { outline: none; border-color: var(--contrast-color); }
.c-rsvp__search .t-btn { min-height: 66px; padding: 0 40px; }
.c-rsvp__full { display: flex; flex-direction: column; gap: 26px; }
.c-rsvp__restricted { display: flex; flex-direction: column; gap: 18px; margin-top: clamp(30px, 3.6vw, 48px); }
[data-rsvp-mode="guest-list"] .c-rsvp { grid-template-columns: minmax(0, 1fr); }
[data-rsvp-mode="guest-list"] .c-rsvp__intro { max-width: 720px; }
[data-rsvp-mode="guest-list"] .c-rsvp__form,
[data-rsvp-mode="guest-list"] .c-rsvp__full,
[data-rsvp-mode="guest-list"] .c-rsvp__only-open { display: none; }
[data-rsvp-mode="open"] .c-rsvp__restricted { display: none; }

@media (max-width: 520px) {
  .c-rsvp__search { grid-template-columns: 1fr; }
  .c-rsvp__counter-row { grid-template-columns: 1fr; gap: 12px; }
}

.t-mosaic { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); grid-auto-rows: clamp(160px, 18vw, 250px); gap: clamp(12px, 1.4vw, 22px); }
.t-mosaic > * { position: relative; overflow: hidden; background: var(--v-hairline-soft); }
.t-mosaic__tall { grid-row: span 2; }
.t-mosaic__wide { grid-column: span 2; }
.t-embed { position: relative; width: 100%; aspect-ratio: 16 / 9; overflow: hidden; background: var(--v-hairline-soft); }
.t-embed--audio { aspect-ratio: auto; min-height: 152px; display: flex; align-items: center; justify-content: center; }
.t-play {
  position: absolute; right: clamp(16px, 2vw, 34px); bottom: clamp(16px, 2vw, 34px);
  width: clamp(76px, 8vw, 104px); height: clamp(76px, 8vw, 104px); border-radius: 50%;
  border: 1px solid color-mix(in srgb, var(--title-color) 30%, transparent);
  background: color-mix(in srgb, var(--background-color) 70%, transparent);
  backdrop-filter: blur(4px);
  display: flex; align-items: center; justify-content: center;
}
.t-play::after { content: ''; width: 0; height: 0; margin-left: 5px; border-left: 15px solid var(--contrast-color); border-top: 10px solid transparent; border-bottom: 10px solid transparent; }
.t-qr { width: clamp(150px, 16vw, 200px); aspect-ratio: 1; display: flex; align-items: center; justify-content: center; text-align: center; padding: 18px; box-shadow: inset 0 0 0 1px var(--v-hairline); font-size: 9px; letter-spacing: .3em; text-transform: uppercase; color: var(--v-muted); }

.t-people { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: clamp(20px, 2.6vw, 36px); }
.t-people figure { margin: 0; }
.t-people figcaption { margin-top: 16px; }
.t-people__name { font-family: var(--v-display); font-weight: 400; font-size: 19px; line-height: 1.3; color: var(--title-color); }
.t-people__role { margin-top: 4px; font-size: 9px; letter-spacing: .26em; text-transform: uppercase; color: var(--v-muted); }

.t-reveal { opacity: 0; transform: translateY(22px); transition: opacity .9s var(--v-ease), transform .9s var(--v-ease); }
.t-reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .t-reveal { opacity: 1; transform: none; transition: none; } }

@media (max-width: 1000px) {
  .t-shell { grid-template-columns: minmax(0, 1fr); }
  .t-main { border-left: 0; }
  .t-rail {
    position: sticky; top: 0; z-index: 20; height: auto; overflow: visible;
    padding: 18px var(--v-gutter); flex-direction: row; align-items: center; justify-content: space-between;
    gap: 20px; border-bottom: 1px solid var(--v-hairline);
    background: color-mix(in srgb, var(--v-rail) 88%, transparent); backdrop-filter: blur(10px);
  }
  .t-rail > div:first-child { flex: 0 0 auto; }
  .t-rail__mono { font-size: 28px; white-space: nowrap; }
  .t-rail__date { margin: 0; padding: 0; border: 0; white-space: nowrap; }
  .t-cover { min-height: calc(100svh - 132px); }
  :root { --hero-size: 78px; }
}
@media (max-width: 640px) {
  :root { --hero-size: 58px; --title-size: 32px; --text-size: 16px; }
  .t-mosaic { grid-auto-rows: 150px; }
  .t-cover { min-height: calc(100svh - 148px); }
}

.c-contribution__card { padding: clamp(28px, 3.4vw, 44px); box-shadow: inset 0 0 0 1px var(--v-hairline); }
.c-contribution__preview { display: grid; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); gap: 12px; margin-top: 20px; }
.c-contribution__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(104px, 1fr)); gap: 12px; margin-top: 22px; }
.c-contribution__amount {
  min-height: 58px; padding: 0 14px; border: 1px solid var(--v-hairline); background: transparent; cursor: pointer;
  font-family: var(--v-display); font-weight: 400; font-size: 20px; color: var(--title-color);
  transition: border-color .3s var(--v-ease), color .3s var(--v-ease), background .3s var(--v-ease);
}
.c-contribution__amount:hover { border-color: var(--contrast-color); color: var(--contrast-color); }
.c-contribution__amount.is-selected { border-color: var(--contrast-color); background: var(--contrast-color); color: var(--v-onink); }
.c-contribution__amount--free { font-family: var(--v-sans); font-size: 10px; letter-spacing: .26em; text-transform: uppercase; color: var(--v-muted); }
.c-contribution__free { display: grid; grid-template-columns: auto 1fr; align-items: baseline; gap: 10px; }
.c-contribution__free span { font-family: var(--v-display); font-size: 20px; color: var(--v-muted); }

.c-contribution__overlay { position: fixed; inset: 0; z-index: 80; display: flex; align-items: center; justify-content: center; padding: 20px; }
.c-contribution__overlay[hidden] { display: none; }
.c-contribution__scrim { position: absolute; inset: 0; background: color-mix(in srgb, var(--v-ink) 62%, transparent); backdrop-filter: blur(3px); }
.c-contribution__modal {
  position: relative; width: min(520px, 100%); max-height: 92vh; overflow-y: auto;
  background: var(--background-color); box-shadow: 0 30px 90px color-mix(in srgb, var(--v-ink) 40%, transparent);
  animation: contribIn .38s var(--v-ease);
}
@keyframes contribIn { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.c-contribution__modal-head {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px;
  padding: 18px clamp(22px, 3vw, 34px); border-bottom: 1px solid var(--v-hairline);
}
.c-contribution__modal-head .t-over { text-align: center; }
.c-contribution__back, .c-contribution__close {
  border: 0; background: transparent; cursor: pointer; padding: 4px 0;
  font-family: var(--v-sans); font-weight: 400; color: var(--v-muted);
}
.c-contribution__back { font-size: 10px; letter-spacing: .26em; text-transform: uppercase; justify-self: start; }
.c-contribution__back:hover, .c-contribution__close:hover { color: var(--contrast-color); }
.c-contribution__back[hidden] { visibility: hidden; display: block; }
.c-contribution__close { font-size: 24px; line-height: 1; justify-self: end; }
.c-contribution__steps { padding: clamp(26px, 3.4vw, 40px); }
.c-contribution__step { display: none; }
.c-contribution__step.is-active { display: block; }
.c-contribution__step--done { text-align: center; }
.c-contribution__seal { display: inline-flex; color: var(--contrast-color); }
.c-contribution__seal svg { width: 56px; height: 56px; }

.c-contribution__pay { display: grid; gap: 12px; }
.c-contribution__method {
  display: grid; grid-template-columns: 18px 1fr; gap: 14px; align-items: start; cursor: pointer;
  padding: 18px 20px; box-shadow: inset 0 0 0 1px var(--v-hairline);
  transition: box-shadow .25s var(--v-ease);
}
.c-contribution__method input { position: absolute; opacity: 0; pointer-events: none; }
.c-contribution__method span:first-of-type::before {
  content: ''; display: block; width: 17px; height: 17px; margin-top: 3px; border-radius: 50%;
  box-shadow: inset 0 0 0 1px var(--v-hairline);
}
.c-contribution__method input:checked + span::before { box-shadow: inset 0 0 0 1px var(--contrast-color), inset 0 0 0 4px var(--background-color); background: var(--contrast-color); }
.c-contribution__method:has(input:checked) { box-shadow: inset 0 0 0 1px var(--contrast-color); }
.c-contribution__method strong { display: block; font-weight: 400; font-family: var(--v-display); font-size: 19px; color: var(--title-color); }
.c-contribution__method em { display: block; margin-top: 3px; font-style: normal; font-size: 12px; color: var(--v-muted); }

.c-contribution__summary { margin-top: 26px; padding-top: 20px; border-top: 1px solid var(--v-hairline); display: grid; gap: 12px; }
.c-contribution__summary > div { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; font-size: 14px; color: var(--v-muted); }
.c-contribution__summary strong { font-weight: 400; font-family: var(--v-display); font-size: 17px; color: var(--title-color); }
.c-contribution__summary .is-total { padding-top: 12px; border-top: 1px solid var(--v-hairline-soft); }
.c-contribution__summary .is-total strong { font-size: 24px; color: var(--contrast-color); }

.c-gift-list__external { margin-top: clamp(40px, 5vw, 72px); padding-top: clamp(30px, 3.4vw, 44px); border-top: 1px solid var(--v-hairline); }
.c-gift-list__external-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: clamp(16px, 2vw, 26px); margin-top: clamp(22px, 2.6vw, 32px); }
.c-gift-list__store {
  display: grid; grid-template-columns: 84px 1px 1fr; align-items: center; gap: 20px;
  padding: 22px 24px; box-shadow: inset 0 0 0 1px var(--v-hairline);
  transition: box-shadow .3s var(--v-ease);
}
.c-gift-list__store:hover { box-shadow: inset 0 0 0 1px var(--contrast-color); }
.c-gift-list__store-mark {
  height: 46px; display: flex; align-items: center; justify-content: center;
  font-family: var(--v-display); font-size: 26px; line-height: 1; color: var(--title-color);
}
.c-gift-list__store-mark img { max-height: 46px; width: auto; object-fit: contain; }
.c-gift-list__store-rule { align-self: stretch; background: var(--v-hairline); }
.c-gift-list__store-name { display: block; font-family: var(--v-display); font-size: 20px; line-height: 1.25; color: var(--title-color); }
.c-gift-list__store-link {
  display: flex; width: fit-content; align-items: center; gap: 8px; margin-top: 10px;
  font-size: 9px; font-weight: 400; letter-spacing: .26em; text-transform: uppercase; color: var(--contrast-color);
}
.c-gift-list__store-link svg { width: 11px; height: 11px; }
@media (max-width: 420px) {
  .c-gift-list__store { grid-template-columns: 1fr; gap: 14px; }
  .c-gift-list__store-rule { display: none; }
  .c-gift-list__store-mark { justify-content: flex-start; }
}

.t-lang { position: relative; }
.t-lang__trigger {
  display: inline-flex; align-items: center; gap: 10px; padding: 9px 0;
  border: 0; background: transparent; cursor: pointer;
  font-family: var(--v-sans); font-weight: 400; color: var(--text-color);
  transition: color .25s var(--v-ease);
}
.t-lang__trigger::after {
  content: ''; width: 0; height: 0; margin-left: 2px;
  border-left: 4px solid transparent; border-right: 4px solid transparent; border-top: 5px solid currentColor;
  transition: transform .25s var(--v-ease);
}
.t-lang__trigger[aria-expanded="true"]::after { transform: rotate(180deg); }
.t-lang__trigger:hover { color: var(--contrast-color); }
.t-lang__abbr {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 30px; height: 22px; padding: 0 6px;
  box-shadow: inset 0 0 0 1px currentColor; opacity: .85;
  font-size: 9px; letter-spacing: .16em;
}
.t-lang__name { font-size: 12px; letter-spacing: .12em; }

.t-lang__menu {
  position: absolute; z-index: 40; top: calc(100% + 8px); left: 0; min-width: 190px;
  margin: 0; padding: 6px 0; list-style: none;
  background: var(--v-ink); box-shadow: 0 18px 44px color-mix(in srgb, var(--v-ink) 38%, transparent);
}
.t-lang__menu[hidden] { display: none; }
.t-lang__menu button {
  display: grid; grid-template-columns: 30px 1fr auto; align-items: center; gap: 12px;
  width: 100%; padding: 11px 16px; border: 0; background: transparent; cursor: pointer; text-align: left;
  font-family: var(--v-sans); font-weight: 300; font-size: 14px;
  color: color-mix(in srgb, var(--v-onink) 78%, var(--v-ink));
  transition: background .22s var(--v-ease), color .22s var(--v-ease);
}
.t-lang__menu button span { font-size: 9px; letter-spacing: .16em; opacity: .7; }
.t-lang__menu button:hover { background: color-mix(in srgb, var(--v-onink) 8%, transparent); color: var(--v-onink); }
.t-lang__menu button[aria-selected="true"] { color: var(--v-onink); }
.t-lang__menu button[aria-selected="true"]::after {
  content: ''; width: 12px; height: 7px; border-left: 1px solid var(--contrast-color);
  border-bottom: 1px solid var(--contrast-color); transform: rotate(-45deg) translateY(-2px);
}

@media (max-width: 1000px) {
  .t-lang__menu { left: auto; right: 0; }
  .t-lang__name { display: none; }
}

.c-music { position: fixed; z-index: 70; right: clamp(16px, 2vw, 28px); bottom: clamp(16px, 2vw, 28px); }
.c-music__bubble {
  width: 60px; height: 60px; border-radius: 50%; border: 0; cursor: pointer;
  background: color-mix(in srgb, var(--v-ink) 82%, transparent);
  backdrop-filter: blur(6px);
  box-shadow: 0 10px 30px color-mix(in srgb, var(--v-ink) 34%, transparent);
  display: flex; align-items: center; justify-content: center;
  transition: transform .3s var(--v-ease), background .3s var(--v-ease);
}
.c-music__bubble:hover { transform: scale(1.05); background: var(--contrast-color); }
.c-music__icon { width: 0; height: 0; margin-left: 4px; border-left: 14px solid var(--v-onink); border-top: 9px solid transparent; border-bottom: 9px solid transparent; }
.c-music__bubble[aria-expanded="true"] .c-music__icon {
  width: 12px; height: 14px; margin: 0; border: 0;
  border-left: 3.5px solid var(--v-onink); border-right: 3.5px solid var(--v-onink);
}

.c-music__panel {
  position: absolute; right: 0; bottom: 74px; width: min(300px, calc(100vw - 32px));
  padding: 20px; background: var(--background-color);
  box-shadow: 0 22px 60px color-mix(in srgb, var(--v-ink) 30%, transparent), inset 0 0 0 1px var(--v-hairline);
  animation: contribIn .3s var(--v-ease);
}
.c-music__panel[hidden] { display: none; }
.c-music__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.c-music__close { border: 0; background: transparent; cursor: pointer; font-size: 22px; line-height: 1; color: var(--v-muted); }
.c-music__close:hover { color: var(--contrast-color); }
.c-music__now { margin-top: 16px; }
.c-music__track { display: block; font-family: var(--v-display); font-size: 21px; line-height: 1.25; color: var(--title-color); }
.c-music__artist { display: block; margin-top: 4px; font-size: 13px; color: var(--v-muted); }
.c-music__embed {
  margin-top: 16px; min-height: 96px; display: flex; align-items: center; justify-content: center;
  box-shadow: inset 0 0 0 1px var(--v-hairline);
}
.c-music__link {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 16px;
  font-size: 9px; letter-spacing: .26em; text-transform: uppercase; color: var(--contrast-color);
}
.c-music__link svg { width: 11px; height: 11px; }

.c-dress__carousel { position: relative; }
.c-dress__viewport {
  display: flex; gap: 0; overflow-x: auto; scroll-snap-type: x mandatory;
  scrollbar-width: none; -ms-overflow-style: none;
}
.c-dress__viewport::-webkit-scrollbar { display: none; }
.c-dress__slide { flex: 0 0 100%; scroll-snap-align: center; }
.c-dress__nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 44px; height: 44px; border-radius: 50%; border: 0; cursor: pointer;
  background: color-mix(in srgb, var(--background-color) 88%, transparent);
  backdrop-filter: blur(4px);
  box-shadow: 0 6px 20px color-mix(in srgb, var(--v-ink) 20%, transparent);
  display: flex; align-items: center; justify-content: center;
  transition: background .25s var(--v-ease);
}
.c-dress__nav:hover { background: var(--background-color); }
.c-dress__nav::before {
  content: ''; width: 9px; height: 9px;
  border-top: 1px solid var(--title-color); border-right: 1px solid var(--title-color);
}
.c-dress__nav--prev { left: 14px; }
.c-dress__nav--prev::before { transform: rotate(-135deg); margin-left: -2px; }
.c-dress__nav--next { right: 14px; }
.c-dress__nav--next::before { transform: rotate(45deg); margin-right: -2px; }
.c-dress__dots { display: flex; justify-content: center; gap: 8px; margin-top: 18px; }
.c-dress__dots button {
  width: 22px; height: 1px; padding: 0; border: 0; cursor: pointer;
  background: var(--v-hairline); transition: background .3s var(--v-ease), height .3s var(--v-ease);
}
.c-dress__dots button[aria-current="true"] { background: var(--contrast-color); height: 2px; }
@media (max-width: 560px) {
  .c-dress__nav { width: 38px; height: 38px; }
}

.t-burger { display: none; }
.t-mobilenav { display: none; }

@media (max-width: 1000px) {
  .t-rail__nav { display: none; }
  .t-rail__cta { display: none; }
  .t-rail { justify-content: space-between; }
  .t-lang { order: 0; margin-left: auto; }

  .t-burger {
    display: flex; flex-direction: column; justify-content: center; gap: 6px;
    width: 44px; height: 44px; padding: 0 8px; border: 0; background: transparent; cursor: pointer;
  }
  .t-burger span { display: block; height: 1px; background: var(--title-color); transition: transform .3s var(--v-ease); }
  .t-burger span:last-child { width: 66%; align-self: flex-end; }

  .t-mobilenav {
    position: fixed; inset: 0; z-index: 90; display: flex; flex-direction: column;
    background: var(--background-color);
    padding: 20px var(--v-gutter) calc(20px + env(safe-area-inset-bottom));
    overflow-y: auto; animation: navIn .34s var(--v-ease);
  }
  .t-mobilenav[hidden] { display: none; }
  @keyframes navIn { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: none; } }
  .t-mobilenav__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
  .t-mobilenav__head .t-rail__mono { font-size: 28px; white-space: nowrap; }
  .t-mobilenav__close { border: 0; background: transparent; cursor: pointer; font-size: 30px; line-height: 1; color: var(--v-muted); padding: 4px 8px; }
  .t-mobilenav__list {
    flex: 1; display: flex; flex-direction: column; justify-content: center;
    gap: 2px; padding: clamp(24px, 6vw, 48px) 0;
  }
  .t-mobilenav__list a {
    display: grid; grid-template-columns: 34px 1fr; align-items: baseline; gap: 10px;
    padding: 11px 0; border-bottom: 1px solid var(--v-hairline-soft);
    font-family: var(--v-display); font-weight: 400; font-size: clamp(21px, 5.6vw, 28px); line-height: 1.2;
    letter-spacing: 0; color: var(--title-color);
  }
  .t-mobilenav__list a i {
    font-style: normal; font-family: var(--v-sans); font-weight: 400; font-size: 10px;
    letter-spacing: .2em; color: var(--v-muted);
  }
  .t-mobilenav__list a:hover, .t-mobilenav__list a:active { color: var(--contrast-color); }
  .t-mobilenav__foot { padding-top: 20px; border-top: 1px solid var(--v-hairline); }
}
