/* Site layout and components. Typography roles live in typography.css. */
:root {
  --navy: #071426;
  --header-gutter: 52px;
  --header-wordmark-inset: 92px;
  --header-mark-size: 32px;
  --header-brand-gap: 8px;
  --content-column-gap: 64px;
  --program-photo-height: 480px;
  --section-gutter: 76px;
  --gallery-card-width: 352px;
  --gallery-image-height: 332px;
  --venue-photo-height: 480px;
  --surface-texture: url('/assets/midnight-grain.svg');
  --deep: #050e1b;
  --blue: #102b4e;
  --gold: #d9bd7f;
  --gold-bright: #f1d99f;
  --text: #f1eee5;
  --muted: #aeb9c7;
  --line: rgba(215,188,129,.25);
  --serif: 'Cormorant Garamond','Frank Ruhl Libre',Georgia,serif;
  --sans: 'Manrope',Arial,sans-serif;
  color-scheme: dark;
  font-size: 16px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}

body {
  position: relative;
  margin: 0;
  background-color: var(--navy);
  background-image: var(--surface-texture);
  background-attachment: scroll;
  color: var(--text);
  font-family: var(--sans);
  font-weight: 400;
  font-size: 16px;
  line-height: 26px;
  -webkit-font-smoothing: antialiased;
}

body.intro-active {
  overflow: hidden;
}


h1,h2,h3,p,figure {
  margin: 0;
}

h1,h2,h3 {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 30px;
}

h2 {
  font-size: 60px;
  line-height: 64px;
  letter-spacing: normal;
}

h2 em {
  font-weight: 400;
  color: var(--gold);
}

h3 {
  font-size: 28px;
}

p {
  color: var(--muted);
}

p+p {
  margin-top: 20px;
}

a {
  color: inherit;
  text-decoration: none;
}

button,select {
  font: inherit;
}

button,a,summary {
  -webkit-tap-highlight-color: transparent;
}

button {
  cursor: pointer;
  color: inherit;
}

button {
  border: 0;
  background: none;
}

button:disabled {
  cursor: default;
}

button:focus-visible,a:focus-visible,summary:focus-visible {
  outline: 2px solid var(--gold-bright);
  outline-offset: 6px;
}

button:hover,a:hover {
  color: var(--gold-bright);
}

img {
  max-width: 100%;
  display: block;
}

svg {
  display: block;
}

::selection {
  background: var(--gold);
  color: var(--navy);
}

[hidden] {
  display: none!important;
}

.skip {
  position: fixed;
  left: 20px;
  top: -100px;
  background: var(--gold);
  padding: 12px;
  color: var(--navy);
  z-index: 200;
}

.skip:focus {
  top: 10px;
}

.eyebrow {
  color: var(--gold);
  font-size: 14px;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 500;
  line-height: 22px;
}

.eyebrow+h2 {
  margin-top: 22px;
}

.lead {
  font-size: 18px;
  line-height: 32px;
  color: #d5dbe1;
}

.section {
  padding: 114px var(--section-gutter);
  max-width: 1540px;
  margin: auto;
}

.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 56px;
  padding: 14px 26px;
  font-size: 14px;
  letter-spacing: 2px;
  transition: background .25s,transform .25s,color .25s;
  gap: 10px;
}

.button:hover {
  transform: translateY(-2px);
}

.gold-button {
  background: var(--gold);
  color: var(--deep);
}

.gold-button:hover {
  background: var(--gold-bright);
  color: var(--deep);
}

.ghost-button {
  border: 1px solid var(--line);
  background: #08162b45;
}

.ghost-button:hover {
  border-color: var(--gold);
}

.text-link,.text-button {
  padding: 4px 0;
  border-bottom: 1px solid var(--gold);
  font-size: 14px;
  background: none;
  color: var(--text);
  line-height: 26px;
}

.site-header {
  height: 94px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--header-gutter);
  gap: 34px;
  position: absolute;
  top: 0;
  width: 100%;
  z-index: 60;
  direction: ltr;
  border-bottom: 1px solid #f1d99f20;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--gold);
  flex-shrink: 0;
  line-height: 24px;
}

.brand>.brand-menorah {
  width: 40px;
  height: auto;
}

.brand>span {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 20px;
  line-height: 24px;
  letter-spacing: 2px;
}

.brand small {
  display: block;
  font-family: var(--sans);
  font-size: 14px;
  line-height: 24px;
  margin-top: 1px;
}

.desktop-nav {
  display: flex;
  gap: 30px;
  font-size: 14px;
}

.desktop-nav a {
  padding: 12px 0;
  position: relative;
}

.header-actions {
  display: flex;
  gap: 24px;
  align-items: center;
}

.language {
  position: relative;
  font-size: 14px;
  z-index: 65;
}

.language summary {
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 0;
  list-style: none;
}

.language summary::-webkit-details-marker {
  display: none;
}

.chevron {
  width: 6px;
  height: 6px;
  border-right: 1px solid;
  border-bottom: 1px solid;
  transform: rotate(45deg);
  margin: -4px 2px 0 2px;
}

.language-menu {
  position: absolute;
  top: 48px;
  right: -10px;
  min-width: 150px;
  border: 1px solid var(--line);
  padding: 10px;
  background: #0c1b30;
  box-shadow: 0 12px 34px #0004;
}

.language-menu a {
  display: block;
  padding: 10px 14px;
}

.language-menu a[aria-current] {
  color: var(--gold);
  background: #d9bd7f0b;
}

.menu-toggle {
  display: none;
}

#mobile-nav {
  position: absolute;
  top: 92px;
  left: 0;
  right: 0;
  background: #0b1c32;
  padding: 20px;
  border-bottom: 1px solid var(--line);
}

#mobile-nav a {
  display: block;
  padding: 12px;
}

.intro-active .site-header {
  position: fixed;
}

.silk {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  background: radial-gradient(ellipse at 78% 32%,#17407165,transparent 55%),radial-gradient(ellipse at 20% 64%,#18386266,transparent 55%),linear-gradient(125deg,#030b17,#0c203c 50%,#030b16);
}

.silk::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-conic-gradient(from 21deg at 50% 45%,#040d1b 0deg,#203c5e 9deg,#0b1b33 12deg,#081429 22deg,#173456 25deg,#061021 31deg);
  filter: blur(28px);
  opacity: .54;
}

.silk::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg,#071426 0%,transparent 40%,#030b161a),radial-gradient(ellipse at center,transparent,#02091766);
}

.invitation {
  position: fixed;
  z-index: 50;
  inset: 0;
  background: var(--navy);
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  padding: 110px 20px 48px;
  isolation: isolate;
  overflow: auto;
  transition: opacity .65s,visibility .65s;
}

.intro-heading {
  position: relative;
  text-align: center;
  z-index: 1;
  margin-bottom: 44px;
}

.intro-heading h2 {
  font-size: 50px;
  line-height: 54px;
  margin-top: 12px;
}

.intro-heading .eyebrow {
  font-size: 14px;
  letter-spacing: 2px;
}

.intro-corners {
  position: absolute;
  left: var(--header-wordmark-inset);
  right: var(--header-gutter);
  top: 118px;
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  color: var(--gold);
  direction: ltr;
}

.envelope-wrap {
  width: 72%;
  max-width: 560px;
  perspective: 1400px;
  position: relative;
  margin: 18px 0 26px;
}

.envelope {
  position: relative;
  width: 100%;
  aspect-ratio: 1.73;
  display: block;
  transform: rotate(0);
  transition: transform .65s;
  isolation: isolate;
  filter: drop-shadow(0 30px 34px #0008);
  padding: 0;
}

.envelope-back {
  position: absolute;
  inset: 0;
  background: linear-gradient(145deg,#163251,#061020);
  border: 1px solid #b49a5c66;
  border-radius: 2px;
}

.envelope-front {
  position: absolute;
  inset: 0;
  z-index: 3;
  background: linear-gradient(30deg,#0a1b32,#1e3958);
  clip-path: polygon(0 0,50% 55%,100% 0,100% 100%,0 100%);
  border: 1px solid #ad945c50;
}

.envelope-front::after {
  position: absolute;
  inset: 0;
  content: '';
  background: linear-gradient(175deg,#29445e,#0b1c32 75%);
  clip-path: polygon(0 100%,50% 48%,100% 100%);
}

.envelope-flap {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 57%;
  background: linear-gradient(155deg,#27496e,#142d4c 50%,#617181);
  z-index: 4;
  clip-path: polygon(0 0,100% 0,50% 100%);
  transform-origin: top;
  transition: transform .9s ease,z-index 0s .4s;
  backface-visibility: visible;
}

.wax-seal {
  position: absolute;
  z-index: 5;
  left: 50%;
  top: 53%;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  transform: translate(-50%,-50%);
  color: #6d4d20;
  transition: opacity .3s,transform .45s;
}

.envelope-address {
  position: absolute;
  z-index: 4;
  bottom: 11%;
  left: 0;
  right: 0;
  text-align: center;
  color: #c3b18e;
  font-family: var(--serif);
  font-style: italic;
  font-size: 18px;
  line-height: 24px;
}

.letter {
  position: absolute;
  inset: 6% 5%;
  z-index: 2;
  background: #f2e7d0;
  color: #26364b;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
  border: 6px double #b39454;
  transform: translateY(0);
  transition: transform 1s .6s;
  box-shadow: 0 0 14px #0006;
  font-size: 14px;
  letter-spacing: 2px;
}

.letter-mark .congress-mark {
  width: 40px;
  height: auto;
  color: #9a7a3a;
}

.letter-title {
  font-family: var(--serif);
  font-size: 34px;
  line-height: 36px;
  letter-spacing: 2px;
}

.letter-year {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 20px;
  letter-spacing: normal;
  margin-bottom: 10px;
}

.intro-bottom {
  position: relative;
  text-align: center;
  margin-top: 24px;
}

.intro-bottom p {
  font-size: 14px;
  margin-top: 14px;
}

.intro-skip {
  letter-spacing: normal;
  font-size: 14px;
  margin-top: 16px;
  color: #93a1b5;
  text-decoration: underline;
  text-underline-offset: var(--link-underline-offset);
}

.intro-edition {
  position: absolute;
  left: var(--header-gutter);
  bottom: 24px;
  right: var(--header-gutter);
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  letter-spacing: 2px;
  color: #98a7b9;
  direction: ltr;
}

.opening .wax-seal {
  opacity: 0;
  transform: translate(-50%,-50%) scale(1.2);
}

.opening .envelope-flap {
  transform: rotateX(180deg);
  z-index: 1;
}

.opening .letter {
  transform: translateY(-57%);
}

.opening .envelope {
  transform: rotate(0);
}

.opening .intro-heading,.opening .intro-bottom {
  opacity: 0;
  transition: opacity .4s;
}

.invitation.leaving {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.hero {
  position: relative;
  isolation: isolate;
  align-content: center;
  grid-template-columns: 1.15fr 1fr;
  padding: 154px var(--section-gutter) 180px;
  overflow: hidden;
}

.hero-topline {
  position: absolute;
  left: var(--header-wordmark-inset);
  right: var(--header-gutter);
  top: 120px;
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  color: var(--gold);
  direction: ltr;
}

.hero-content {
  z-index: 2;
  position: relative;
}

.host {
  max-width: 440px;
  font-size: 14px;
  letter-spacing: 2px;
  margin-bottom: 24px;
}

.host span {
  display: block;
  letter-spacing: 2px;
  color: #9dabc0;
  font-size: 14px;
  margin-top: 4px;
}

.hero h1 {
  font-weight: 400;
  line-height: 102px;
  direction: ltr;
}

.hero h1>.hero-year {
  display: block;
  color: inherit;
  font-family: var(--display-font);
  font-weight: 400;
  font-size: 80px;
  line-height: 88px;
  letter-spacing: normal;
  font-variant-numeric: lining-nums;
  margin-top: 24px;
}

.hero h2 {
  font-size: 34px;
  margin-top: 34px;
  line-height: 40px;
  letter-spacing: 0;
}

.hero-description {
  margin-top: 22px;
  line-height: 28px;
  font-size: 16px;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.hero-meta {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(0,1fr);
  gap: var(--content-column-gap);
  align-items: start;
  border-top: 1px solid var(--line);
  padding: 32px var(--section-gutter);
  z-index: 2;
}

.hero-schedule {
  display: flex;
  flex-wrap: wrap;
  align-items: start;
  gap: 16px 48px;
  min-width: 0;
}
.hero-meta > .scroll-cue {
  min-width: 0;
  align-self: center;
  justify-self: end;
}
@media (min-width:1201px) {
  .hero-meta { grid-template-columns: auto minmax(0,640px) minmax(0,1fr); }
}
@media (min-width:1101px) {
  .hero-schedule { flex-wrap: nowrap; column-gap: 16px; }
  .hero-schedule > div { flex: none; }
}

.hero-schedule > div {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.hero-meta strong {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 24px;
  color: var(--gold-bright);
}

.hero-schedule > div > span {
  color: #94a3b8;
  font-size: 18px;
}

/* Secondary date labels fade together once the invitation hands off. */
.hero-meta-label {
  opacity: 1;
  transition: opacity 700ms ease;
}
.intro-active .hero-meta-label { opacity: 0; }
@media (prefers-reduced-motion:reduce) {
  .hero-meta-label { transition: none; }
}

.scroll-cue {
  font-size: 14px;
  margin: 0;
  display: inline-flex;
  gap: 8px;
  align-items: center;
  color: #aab6c6;
  direction: ltr;
}

/* Hide the optional hint before it crowds the event details. */
@media (max-width:1200px) {
  .scroll-cue { display: none; }
}

.scroll-cue .scroll-cue-mouse {
  flex: none;
  width: 16px;
  height: 28px;
  border: 1px solid currentColor;
  border-radius: 14px;
  position: relative;
}

.scroll-cue .scroll-cue-mouse::before {
  content: '';
  position: absolute;
  top: 6px;
  left: 6px;
  width: 1px;
  height: 6px;
  background: currentColor;
  animation: scroll-cue 2s ease infinite;
}

@keyframes scroll-cue {
  to {
    transform: translateY(8px);
    opacity: 0;
  }
}

.about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--content-column-gap);
  padding-top: 130px;
  padding-bottom: 130px;
}

.about-copy {
  padding-top: 4px;
  text-align: start;
}

.hero-location {
  display: grid;
  gap: 8px;
  margin: 0;
  min-width: 0;
  font-style: normal;
}
.hero-location p { margin: 0; }
.hero-location .place-type, footer .hotel-mention { color: var(--text); }
.hero-location .address-type { width: 640px; max-width: 100%; color: var(--gold); }

.signature {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 34px;
  color: var(--gold);
  font-family: var(--sans);
  font-size: 14px;
  line-height: 20px;
  max-width: 340px;
}

.signature .congress-mark {
  width: 64px;
  height: auto;
  flex-shrink: 0;
}

.quote-band {
  padding: 74px 24px;
  position: relative;
  text-align: center;
  background: #0c2039;
  overflow: hidden;
  border-block: 1px solid var(--line);
}

.quote-band p {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: 56px;
  line-height: 62px;
  color: var(--gold-bright);
  position: relative;
}

.about .section-heading h2 { margin-top: 0; }
.programme.section { display: block; padding-top: 0; }
.program-intro > p:not(.eyebrow) { margin-top: 24px; max-width: 640px; }
.program-date { color: var(--gold); margin-top: 24px; }
.program-order-note { color: var(--muted); font-size: 14px; margin-top: 12px; }
.program-list { display: grid; grid-template-columns: minmax(0,1fr); gap: 40px; list-style: none; padding: 0; margin: 40px 0 0; }
.program-list > .program-chapter { position: relative; min-width: 0; padding: 0 0 32px; border-bottom: 1px solid var(--line); scroll-margin-top: 32px; }
.program-marker { position: absolute; inset-inline-start: 0; top: 2px; width: 32px; height: 32px; color: var(--gold); }
.program-icon { display: block; width: 32px; height: 32px; }
.program-chapter-heading { min-width: 0; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: var(--content-column-gap); align-items: start; }
.program-chapter-heading h3 { padding-inline-start: 48px; }
.program-list h3 { font-size: 32px; line-height: 36px; text-wrap: balance; color: var(--gold); }
.program-list p { font-size: 18px; line-height: 30px; margin-top: 16px; }
.program-chapter-heading > p { margin-top: 0; }
.program-single-photo { margin: 32px 0 0; }
.program-chapter-visual { min-width: 0; }
.program-chapter-visual .program-single-photo { margin-top: 24px; }
.program-single-photo img { display: block; width: auto; max-width: 100%; height: var(--program-photo-height); margin-left: 0; margin-right: auto; object-fit: contain; user-select: none; }
.program-ceremony-photo, .program-auction-photo { width: 638px; max-width: 100%; height: 320px; overflow: hidden; }
.program-ceremony-photo img, .program-auction-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center; transform: none; transition: none; }
.program-auction-photo img { object-position: center top; }
.program-time { display: inline; white-space: nowrap; font-size: 32px; line-height: 36px; }
.program-timing-note { color: var(--muted); font-size: 16px; line-height: 24px; margin-bottom: 24px; }
.program-giving-copy { min-width: 0; }
.program-giving-copy > p:first-child { margin-top: 0; }
.program-rebbe-photo { width: 638px; max-width: 100%; }
.program-rebbe-photo img { width: 100%; height: 320px; object-fit: contain; object-position: left top; }
[dir="rtl"] .program-rebbe-photo img { object-position: right top; }
.program-rebbe-photo figcaption { display: block; margin-top: 12px; font-size: 14px; line-height: 22px; color: var(--muted); }
.program-rebbe-photo figcaption a { font-size: inherit; }
@media (max-width: 800px) { .program-giving-copy { margin-top: 16px; } }

@media (max-width:800px) { :root { --program-photo-height: 320px; } }
@media (max-width:800px) {
  .program-welcome-photo img { width: 100%; height: 320px; object-fit: cover; }
}
.program-guests { margin-top: 32px; }
.program-guests > h4 { font-size: 28px; line-height: 32px; margin-top: 8px; }
.program-guests > .eyebrow { font-size: 14px; line-height: 22px; color: var(--muted); margin: 0; }
.program-guests > p:not(.eyebrow) { color: var(--muted); margin-top: 8px; }
.program-guests .gallery { margin-top: 24px; }

.dress-section {
  background: #e9e5db;
  color: #10233a;
  position: relative;
  overflow: hidden;
}

.dress-section p {
  color: #586475;
}

.dress-section .eyebrow,.dress-section h2 em {
  color: #796339;
}

.dress-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 76px;
  padding-top: 74px;
  padding-bottom: 84px;
  align-items: center;
}

.dress-visual {
  position: relative;
}

.dress-copy h2 {
  font-size: 76px;
  line-height: 80px;
  margin-top: 16px;
  direction: ltr;
}

.dress-copy .lead {
  margin-top: 24px;
  font-size: 16px;
}

.dress-details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-top: 32px;
}

.dress-details h3 {
  font-size: 26px;
  line-height: 28px;
}

.dress-details p {
  font-size: 14px;
  margin-top: 12px;
  line-height: 24px;
}

.dress-copy .note {
  font-size: 14px;
  padding-top: 22px;
  border-top: 1px solid #11284030;
  margin-top: 24px;
}

.story .section-heading {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.story .section-heading>p:last-child {
  max-width: 610px;
  margin-top: 26px;
}

.gallery {
  margin-top: 60px;
}

.photo-frame {
  display: block;
  position: relative;
  overflow: hidden;
  background: #102a49;
}

.photo-frame img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: filter .8s;
  filter: saturate(.75);
}

.photo-frame:hover img {
  transform: none;
  filter: saturate(1);
}

figcaption {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 14px;
  margin-top: 18px;
}

figcaption h3 {
  font-size: 34px;
  line-height: 36px;
  color: var(--gold);
}

figcaption>span {
  font-size: 14px;
  color: var(--muted);
  text-align: end;
  max-width: 60%;
}

.venue-photo {
  position: relative;
  overflow: hidden;
}

.venue-photo::after {
  content: '';
  position: absolute;
  inset: 0;
}

.venue-photo>span {
  position: absolute;
  color: #d9dfe7;
  z-index: 1;
}

.venue-photo-title {
  position: absolute;
  z-index: 1;
  color: #ece9e1;
}

.venue-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--content-column-gap);
  padding-top: 74px;
  padding-bottom: 84px;
}

.venue-address {
  color: var(--gold);
  margin-top: 24px;
  font-size: 14px;
}

.arrival {
  border-top: 1px solid var(--line);
  padding-top: 70px;
}

.arrival h2 {
  font-size: 50px;
  line-height: 54px;
  margin-top: 18px;
  max-width: 900px;
}

.arrival-grid {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 34px;
  margin-top: 50px;
}

.arrival-item {
  border-top: 1px solid var(--line);
  padding-top: 24px;
}

.arrival-item h3 {
  font-size: 26px;
  line-height: 28px;
  color: var(--gold);
}

.arrival-item p {
  font-size: 14px;
  margin-top: 16px;
}

.nearby {
  margin-top: 74px;
  border-top: 1px solid var(--line);
  padding-top: 50px;
}

.nearby h3 {
  margin-top: 14px;
  font-size: 44px;
  line-height: 48px;
}

.near-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 44px;
  margin-top: 34px;
}

.near-symbol {
  color: var(--gold);
  font-size: 34px;
}

.near-grid h3 {
  font-size: 28px;
  line-height: 30px;
  margin-top: 10px;
}

.near-grid p {
  font-size: 14px;
  margin-top: 14px;
  max-width: 360px;
}

.faq {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 88px;
  border-top: 1px solid var(--line);
  padding-top: 70px;
  padding-bottom: 80px;
}

.faq h2 {
  font-size: 50px;
  line-height: 54px;
}

.faq details {
  border-bottom: 1px solid var(--line);
  padding: 22px 0;
}

.faq details:first-child {
  padding-top: 0;
}

.faq details:last-of-type {
  border-bottom: none;
}

.faq summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  cursor: pointer;
  font-size: 16px;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary span:not(.cursor-ink) {
  color: var(--gold);
}

.faq details[open] summary span:not(.cursor-ink) {
  transform: rotate(45deg);
}

.faq details p {
  margin-top: 18px;
  font-size: 14px;
  max-width: none;
  padding-inline-end: 44px;
}

.contact {
  position: relative;
  text-align: center;
  padding: 100px 24px 70px;
  border-top: 1px solid var(--line);
  isolation: isolate;
  overflow: hidden;
}

.contact-content {
  position: relative;
  z-index: 1;
}

.contact h2 {
  font-size: 88px;
  line-height: 94px;
}

.contact-content>p:not(.eyebrow) {
  margin: 24px auto 0;
  max-width: 480px;
}

.contact-phones {
  display: flex;
  justify-content: center;
  gap: 70px;
  margin-top: 40px;
}

.contact-phones a {
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-align: left;
}

.contact-phones span {
  font-size: 14px;
  color: var(--muted);
}

.contact-phones strong {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 26px;
  line-height: 32px;
  color: var(--gold);
}

.eyebrow.partner-label { color: var(--muted); }

.partner-label {
  margin-top: 64px;
  font-size: 14px;
}

.partners {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 60px;
  max-width: 720px;
  margin: 10px auto 0;
  direction: ltr;
}

.partners img {
  width: 130px;
  height: 100px;
  object-fit: contain;
}

.partners img.stmegi {
  width: 70px;
  height: 90px;
}

footer {
  padding: 34px var(--section-gutter);
  display: flex;
  align-items: center;
  gap: 30px;
  justify-content: space-between;
  background: var(--deep);
  border-top: 1px solid var(--line);
}

footer strong {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 20px;
  line-height: 24px;
  color: var(--gold);
}

footer p {
  font-size: 14px;
  margin-top: 6px;
}

footer>span {
  font-size: 18px;
  color: var(--gold);
}

/* Readable HTML is the baseline. Animation never controls content visibility. */
.reveal,.text-reveal { opacity: 1; transform: none; }

html[dir=rtl] {
  --serif: 'Frank Ruhl Libre','Cormorant Garamond',serif;
}

html[dir=rtl] .eyebrow {
  letter-spacing: 2px;
}

html[dir=rtl] .hero h1,html[dir=rtl] .brand,html[dir=rtl] .venue-photo-title {
  font-family: var(--display-font);
}

html[dir=rtl] .desktop-nav,html[dir=rtl] #mobile-nav {
  direction: rtl;
}

html[dir=rtl] .hero {
  grid-template-columns: 1.15fr 1fr;
}

html[dir=rtl] .hero h2 {
  font-size: 48px;
  line-height: 56px;
}

@media(min-width:1700px) {
  .hero {
    padding-inline: var(--section-gutter);
    grid-template-columns: 1fr 1fr;
  }

}

@media(max-width:1100px) {
  .desktop-nav {
    gap: 20px;
    font-size: 14px;
  }

  .site-header {
    gap: 20px;
  }

  .hero {
    grid-template-columns: 1.2fr 1fr;
    padding-inline: var(--section-gutter);
  }

  .hero h2 {
    font-size: 40px;
    line-height: 46px;
  }

  .hero-buttons {
    gap: 10px;
  }

  .button {
    padding: 14px 20px;
  }

  :root {
    --header-gutter: 40px;
    --header-wordmark-inset: 80px;
    --section-gutter: 48px;
    --gallery-card-width: 280px;
    --gallery-image-height: 260px;
  }

  .about,.venue-content { gap: var(--content-column-gap); }

  .arrival-grid {
    grid-template-columns: 1fr 1fr;
  }

  .dress-inner {
    gap: 32px;
  }

  .dress-details {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .contact-phones {
    gap: 44px;
  }
}

@media(max-width:800px) {
  :root {
    --header-gutter: 24px;
    --header-wordmark-inset: 64px;
    --gallery-card-width: 85%;
  }
  .site-header {
    height: 82px;
  }

  .desktop-nav {
    display: none;
  }

  .menu-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    padding: 10px 0;
  }

  .header-actions {
    gap: 18px;
  }

  .brand>.brand-menorah {
    width: 28px;
  }

  .brand>span {
    font-size: 18px;
  }

  .brand small {
    font-size: 14px;
  }

  #mobile-nav {
    top: 80px;
  }

  .intro-corners { top: 100px; }

  .intro-heading {
    margin-bottom: 32px;
  }

  .intro-heading h2 {
    font-size: 44px;
    line-height: 48px;
  }

  .invitation {
    padding-top: 120px;
  }

  .envelope-wrap {
    width: 80%;
    max-width: 500px;
  }

  .hero-topline { top: 102px; }

  .hero-content {
    text-align: center;
  }

  .host {
    margin: 0 auto 24px;
    font-size: 14px;
  }

  .hero h1>.hero-year {
    margin-top: 18px;
  }

  .hero h2 {
    font-size: 40px;
    line-height: 46px;
    margin: 24px auto 0;
  }

  .hero-description {
    margin: 18px auto 0;
    font-size: 14px;
  }

  .hero-buttons {
    margin-top: 24px;
  }

  .hero-meta {
    grid-template-columns: minmax(0,1fr);
    padding-block: 26px;
    gap: 24px;
  }
  .hero-schedule { gap: 16px 24px; }

  .hero-meta strong {
    font-size: 22px;
  }

  .hero-schedule > div > span {
    font-size: 14px;
  }

  :root {
    --section-gutter: 16px;
  }
  .section { padding-block: 74px; }
  .hero-meta.section { padding-block: 26px; }

  .about,.venue-content {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .about-copy {
    max-width: 640px;
  }

  .about h2 br {
    display: none;
  }

  .quote-band {
    padding: 54px 20px;
  }

  .program-intro>p:not(.eyebrow) {
    max-width: 600px;
  }

  .program-date {
    margin-top: 30px;
  }

  .dress-inner {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .dress-visual {
    max-width: 470px;
    order: 2;
  }

  .dress-copy {
    order: 1;
  }

  .dress-details {
    grid-template-columns: 1fr 1fr;
  }

  .dress-copy h2 {
    font-size: 80px;
    line-height: 84px;
  }

  .gallery {
    margin-top: 40px;
  }

  .photo-frame img {
    height: 240px;
  }

  figcaption {
    display: block;
  }

  figcaption>span {
    display: block;
    max-width: none;
    text-align: start;
    font-size: 14px;
    margin-top: 6px;
  }

  .venue-photo-title {
    font-size: 80px;
  }

  .venue-content {
    padding-top: 54px;
  }

  .near-grid {
    gap: 24px;
  }

  .near-grid h3 {
    font-size: 24px;
  line-height: 26px;
  }

  .faq {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .contact {
    padding-top: 74px;
  }

  .contact h2 {
    font-size: 80px;
    line-height: 84px;
  }

  .partners {
    gap: 30px;
  }

  .partners img {
    width: 100px;
  }

  footer {
    padding: 30px 24px;
    flex-wrap: wrap;
  }

  footer>span {
    margin-inline-start: auto;
  }
}

@media(max-width:480px) {
  :root {
    --header-gutter: 18px;
    --header-wordmark-inset: 58px;
  }

  .header-actions {
    gap: 14px;
  }

  .menu-toggle {
    font-size: 14px;
    gap: 0;
  }

  .menu-toggle span {
    font-size: 16px;
  }

  .brand>span {
    font-size: 16px;
  }

  .brand {
    gap: 8px;
  }

  .language {
    font-size: 14px;
  }

  .intro-heading h2 {
    font-size: 36px;
    line-height: 40px;
  }

  .intro-heading .eyebrow {
    font-size: 14px;
  }

  .intro-corners {
    font-size: 14px;
  }

  .intro-heading {
    margin-top: 0;
    margin-bottom: 36px;
  }

  .envelope-wrap {
    width: 85%;
    margin-block: 20px;
  }

  .envelope-address {
    font-size: 16px;
  }

  .letter-title {
    font-size: 26px;
    line-height: 28px;
  }

  .letter-mark .congress-mark {
    width: 28px;
    height: auto;
  }

  .letter-year {
    font-size: 16px;
    margin-bottom: 0;
  }

  .letter {
    gap: 2px;
    font-size: 14px;
  }

  .intro-bottom {
    margin-top: 30px;
  }

  .intro-bottom p {
    font-size: 14px;
    max-width: 250px;
  }

  .intro-edition {
    font-size: 14px;
    bottom: 18px;
  }

  .hero {
    padding-inline: 20px;
  }

  .hero h2 {
    font-size: 36px;
    line-height: 42px;
  }

  .hero-description {
    font-size: 14px;
  }

  .hero-buttons {
    flex-direction: column;
    max-width: 280px;
    margin-inline: auto;
    gap: 12px;
  }

  .button {
    font-size: 14px;
    min-height: 52px;
  }

  .hero-meta { gap: 14px 24px; }

  .hero-meta strong {
    font-size: 20px;
  }

  :root {
    --section-gutter: 16px;
  }
  .section { padding-block: 64px; }
  .hero-meta.section { padding-block: 26px; }

  h2 {
    font-size: 46px;
    line-height: 48px;
  }

  .eyebrow {
    font-size: 14px;
  }

  .lead {
    font-size: 16px;
    line-height: 28px;
  }

  .about h2 br {
    display: block;
  }

  .program-intro h2 {
    font-size: 44px;
    line-height: 46px;
  }

  .dress-copy h2 {
    font-size: 72px;
    line-height: 76px;
  }

  .dress-details {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .dress-details p {
    margin-top: 8px;
  }

  .dress-copy .lead {
    font-size: 16px;
  }

  .memory {
    margin-bottom: 34px;
  }

  .photo-frame img {
    height: 280px;
  }

  .gallery figcaption {
    align-items: baseline;
  }

  .gallery figcaption h3 {
    font-size: 32px;
  line-height: 34px;
  }

  .arrival h2 {
    font-size: 42px;
    line-height: 44px;
  }

  .arrival-grid {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-top: 34px;
  }

  .arrival-item p {
    margin-top: 10px;
  }

  .nearby {
    margin-top: 44px;
    padding-top: 40px;
  }

  .nearby h3 {
    font-size: 36px;
  line-height: 38px;
  }

  .near-grid {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-top: 24px;
  }

  .near-grid h3 {
    font-size: 28px;
  line-height: 30px;
  }

  .near-symbol {
    float: inline-start;
    margin-inline-end: 18px;
    line-height: 34px;
  }

  .near-grid p {
    margin-top: 12px;
  }

  .faq {
    gap: 30px;
  }

  .faq summary {
    font-size: 14px;
  }

  .contact {
    padding-inline: 22px;
  }

  .contact h2 {
    font-size: 64px;
    line-height: 68px;
  }

  .contact-phones {
    flex-direction: column;
    gap: 24px;
    margin-top: 30px;
  }

  .contact-phones strong {
    font-size: 28px;
  }

  .partners {
    gap: 20px;
    flex-wrap: wrap;
  }

  .partners img {
    width: 104px;
    height: 80px;
  }

  .partners img.stmegi {
    width: 60px;
    height: 80px;
  }

  .partner-label {
    margin-top: 44px;
  }

  html[dir=rtl] .hero h2 {
    font-size: 40px;
    line-height: 46px;
  }
}

@media(max-height:760px) and (min-width:800px) {
  .intro-heading h2 {
    font-size: 42px;
    line-height: 46px;
  }

  .intro-heading {
    margin-bottom: 20px;
  }

  .envelope-wrap {
    width: 440px;
    margin-block: 12px;
  }

  .intro-bottom {
    margin-top: 20px;
  }

  .intro-bottom p {
    display: none;
  }

  .intro-heading .eyebrow {
    font-size: 14px;
  }

  .invitation {
    padding-top: 104px;
    padding-bottom: 34px;
  }

  .intro-corners {
    top: 112px;
  }
}

@media(prefers-reduced-motion:reduce) {
  html {
    scroll-behavior: auto;
  }

  *,*::before,*::after {
    animation: none!important;
    transition-duration: .01ms!important;
  }

  .js-reveal .reveal:not(.visible) {
    opacity: 1;
    transform: none;
  }
}

.wax-seal {
  width: 104px;
  background: none;
  border: 0;
  box-shadow: none;
  border-radius: 50%;
  filter: drop-shadow(0 4px 6px #0007);
}

.wax-seal img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  clip-path: ellipse(46.9% 45.7% at 49.8% 48.4%);
}

.hero {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 860px;
  padding-top: 174px;
  padding-bottom: 190px;
  text-align: center;
}

.hero-content {
  max-width: 980px;
  width: 100%;
  margin: auto;
}

.hero .host {
  margin-inline: auto;
  max-width: 600px;
}

.hero h1 {
  font-size: 114px;
  letter-spacing: normal;
}

.hero h2 {
  max-width: 800px;
  margin-inline: auto;
}

.hero-description {
  max-width: 610px;
  margin-inline: auto;
}

.hero-buttons {
  justify-content: center;
}

.hero-meta { text-align: start; }

html[dir=rtl] .hero h1 {
  text-align: center;
}

.brand small {
  letter-spacing: normal;
}

.hotel-mention {
  font-size: inherit;
  line-height: inherit;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: var(--link-underline-offset);
  text-decoration-color: currentColor;
  transition: text-decoration-color .2s;
}

.hotel-mention:hover {
  text-decoration-color: currentColor;
}

.intro-edition .hotel-mention {
  position: relative;
  z-index: 2;
}

@media (min-width:801px) and (min-height:860px) {
  .hero { min-height: 100svh; }
}

@media(max-width:800px) {
  .hero {
    min-height: 830px;
    padding: 144px 24px 214px;
  }

  .hero-content {
    margin: 0;
  }

  .hero h1 {
    font-size: 84px;
    line-height: 76px;
  }

}

@media(max-width:480px) {
  .hero {
    min-height: 860px;
    padding: 144px 20px 224px;
  }

  .hero h1 {
    font-size: 60px;
    line-height: 54px;
  }

  .wax-seal {
    width: 82px;
  }

  .hero-description {
    max-width: 340px;
  }
}

.intro-edition,.letter {
  letter-spacing: normal;
  font-variant-numeric: lining-nums;
}

.hero-meta {
  font-variant-numeric: lining-nums;
}

.gallery {
  grid-template-columns: repeat(3,minmax(0,1fr));
}

.gallery .memory {
  grid-column: auto;
  grid-row: auto;
  margin: 0;
  scroll-snap-align: start;
}

.gallery .photo-frame img {
  width: 100%;
  object-fit: cover;
  object-position: center;
}

.gallery figcaption {
  display: block;
  margin-top: 18px;
}

.gallery figcaption>span {
  display: block;
  max-width: none;
  text-align: start;
  margin-top: 8px;
  font-size: 16px;
}

.gallery:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 6px;
}

@media(max-width:800px) {
  .gallery {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: 85%;
  }
}

.program-date time { display: block; }
.program-date .program-day,.program-date .program-details { display: inline; }


.gallery {
  display: flex;
  gap: 28px;
  align-items: flex-start;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x proximity;
  padding-bottom: 20px;
  scrollbar-color: var(--gold) #152940;
  scrollbar-width: thin;
}

.gallery .memory {
  flex: 0 0 var(--gallery-card-width);
  min-width: 0;

}


.gallery .photo-frame {
  width: 100%;
  padding: 0;
  border: 0;
  text-align: inherit;
  cursor: default;
  background: #0a192c;
}

.gallery .photo-frame img {
  height: var(--gallery-image-height);
  transition: filter .4s;
  transform: none;
}

.gallery .photo-frame:hover img {
  transform: none;
}




@media(max-width:800px) {
  .gallery {
    gap: 20px;
  }


  .gallery .photo-frame img {
    height: 210px;
  }

}

.venue-photo {
  background: #0b203b;
}

.venue-photo::after {
  background: linear-gradient(to top,#071426 0%,#071426f5 18%,#071426c7 40%,#07142640 68%,#07142600 100%);
  pointer-events: none;
}

.venue-photo>span {
  bottom: 24px;
  right: 30px;
  font-size: 14px;
}

p,figcaption,summary {
  text-wrap: pretty;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}

h1,h2,h3,h4 {
  text-wrap: balance;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}


@media(max-width:480px) {
  .venue-photo-title {
    font-size: 40px;
    line-height: 44px;
  }

  .venue-photo>span {
    right: 20px;
    bottom: 16px;
    left: 20px;
    max-width: none;
  }
}

/* Only animate after entry is observed. Missing callbacks leave text visible.
   Touch screens use the static presentation to avoid Safari repaint failures. */
@media (hover:hover) and (pointer:fine) and (prefers-reduced-motion:no-preference) {
  .js-reveal :is(.text-reveal,.reveal).visible {
    animation: content-arrival 700ms cubic-bezier(.22,.61,.36,1);
  }
}
@keyframes content-arrival {
  from { opacity: .35; transform: translateY(16px); }
  to { opacity: 1; transform: none; }
}
.basic-site :is(.text-reveal,.reveal),
.hero h1,
.hero-content > h2 { animation: none !important; }
html:not(.js) .audio-control { display: none; }
.basic-site .cursor-ink { -webkit-text-fill-color: currentColor; background: none; }

@media print {
  .js-reveal .text-reveal,.js-reveal .reveal {
    opacity: 1!important;
    transform: none!important;
    clip-path: none!important;
  }
}

.hero h1,.hero h2,.section h2,.contact h2 {
  max-width: 100%;
}

.program-list>li>div,.venue-content>div {
  min-width: 0;
}

.section>*,.dress-inner>*,.arrival-grid>*,.near-grid>* {
  min-width: 0;
}

.dress-visual {
  width: 100%;
  margin: 0;
}

.dress-photo {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.dress-visual figcaption {
  display: block;
  font-family: var(--sans);
  font-weight: 400;
  font-size: 14px;
  line-height: 22px;
  margin-top: 14px;
  color: #586475;
  text-align: start;
}

@media(max-width:800px) {
  .dress-visual {
    margin-inline: auto;
  }
}

html {
  scrollbar-gutter: stable;
}

.hero-word {
  display: inline-block;
  font: inherit;
  letter-spacing: inherit;
  color: inherit;
}

.title-flight-active :is(.letter-title,.letter-year,.letter-date,.letter-time,.letter .place-type,.hero-word,.hero-year,.hero-date > .date-type,.hero-time,.hero-location .hotel-mention) {
  visibility: hidden;
}

.title-flight-active .hero h1,
.hero h1.invitation-landed {
  transition: none!important;
  transform: none!important;
  opacity: 1!important;
}

.invitation-title-flight {
  position: fixed;
  z-index: 80;
  pointer-events: none;
  white-space: nowrap;
  direction: ltr;
  transform: translate(-50%,-50%);
  margin: 0;
  padding: 0;
  transition: left 1.6s cubic-bezier(.25,.35,.55,1),top 1.6s cubic-bezier(.25,.35,.55,1),font-size 1.6s cubic-bezier(.25,.35,.55,1),line-height 1.6s cubic-bezier(.25,.35,.55,1),letter-spacing 1.6s cubic-bezier(.25,.35,.55,1),color .7s ease .7s;
}

@media(prefers-reduced-motion:reduce) {
  .invitation-title-flight {
    display: none;
    transition: none;
  }
}

@media(max-width:480px) {
  .eyebrow {
    letter-spacing: normal;
  }
}

.partners img.vera-group,.partners img.stmegi {
  filter: brightness(0) invert(1);
}

.faq summary span:not(.cursor-ink) {
  transition: transform .3s,color .3s;
}

.faq details[open] summary span:not(.cursor-ink) {
  color: var(--text);
}

.partners img.congress-original {
  width: 64px;
  height: auto;
  filter: brightness(0) invert(1);
}

.venue-photo {
  --venue-offset: 0px;
}

.venue-photo>img {
  position: absolute;
  left: 0;
  width: 100%;
  max-width: none;
  object-fit: cover;
  transform: translate3d(0,var(--venue-offset),0);
}

.venue-photo.parallax-active>img {
  will-change: transform;
}

.venue-photo-title {
  left: auto;
  right: auto;
  inset-inline-start: var(--section-gutter);
  inset-inline-end: var(--section-gutter);
  bottom: 28px;
  max-width: none;
  font-family: var(--place-font);
  font-weight: 500;
  font-size: 36px;
  line-height: 40px;
  letter-spacing: normal;
  text-transform: none;
}

.dress-details ul {
  padding-inline-start: 20px;
  margin: 16px 0 0;
  display: grid;
  gap: 12px;
  color: #586475;
  font-size: 16px;
  line-height: 26px;
}

.dress-details li::marker {
  color: #796339;
}

@media(max-width:600px) {
  .venue-photo-title {
    bottom: 52px;
    font-size: 28px;
    line-height: 34px;
  }

  .venue-photo>span {
    bottom: 18px;
    right: 22px;
    max-width: none;
  }

  .hero-meta strong {
    font-size: 20px;
  }

  .dress-details ul {
    font-size: 14px;
    line-height: 24px;
  }
}

@media(prefers-reduced-motion:reduce) {
  .venue-photo>img {
    transform: none;
    will-change: auto;
  }
}

.dress-details {
  direction: ltr;
}

html[dir=rtl] .dress-details>div {
  direction: rtl;
  text-align: right;
}

.venue-photo {
  height: var(--venue-photo-height);
}

.venue-photo>img {
  top: 0;
  height: 100%; /* JavaScript adds measured overscan for parallax. */
  object-position: center top;
}

@media(max-width:600px) {
  .venue-photo {
    height: 360px;
  }
}

img,svg,.brand,.partners,.signature,button,.button,.text-button,.text-link,summary {
  -webkit-user-select: none;
  user-select: none;
}

img,svg {
  -webkit-user-drag: none;
}

.partner-link {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border-radius: 4px;
}

.partner-link img {
  display: block;
  transition: filter 240ms ease;
}

.partners .partner-link:hover img,.partners .partner-link:focus img {
  filter: none;
}

.partner-link:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 8px;
}

.host a:focus-visible,.signature:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 6px;
}

@media(prefers-reduced-motion:reduce) {
  .partner-link img {
    transition: none;
  }
}

/* Accessible layout and motion defaults. */
blockquote { margin: 0; }
.arrival-item p,
.near-grid p,
.faq details p,
.hero-description,
.dress-details ul { font-size: 16px; }
html[dir="rtl"] .eyebrow { letter-spacing: normal; }
.language summary, .menu-toggle { min-width: 44px; min-height: 44px; justify-content: center; }
.program-list > li { break-inside: avoid; }
@media (max-width: 800px) {
  html:not(.js) .menu-toggle { display: none; }
  html:not(.js) #mobile-nav[hidden] { display: flex !important; flex-wrap: wrap; }
  html:not(.js) .hero { padding-top: 240px; }
}
@media (max-height: 640px) {
  .invitation { justify-content: flex-start; }
  .intro-edition { position: relative; left: auto; right: auto; bottom: auto; width: 100%; gap: 20px; margin-top: 24px; }
}

/* Compact archive captions with a shared action baseline across each row. */
.story .gallery { align-items: stretch; }
.story .memory { display: flex; flex-direction: column; }
.story .memory figcaption {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  flex: 1;
  gap: 0;
  margin-top: 16px;
}
.story .memory figcaption > span { margin-top: 6px; line-height: 22px; }
@media (max-width:800px) {
  .story .gallery {
    flex-direction: column;
    gap: 32px;
    overflow: visible;
    overscroll-behavior-x: auto;
    scroll-snap-type: none;
    padding-bottom: 0;
  }
  .story .gallery .memory { flex: none; width: 100%; scroll-snap-align: none; }
}

.memory-details { margin-top: 12px; }
.memory-details:empty { margin-top: 0; }
.memory figcaption .memory-venue {
  margin: 0;
  font-size: 22px;
  line-height: 28px;
  color: var(--ivory);
}
.memory figcaption .memory-address {
  margin: 6px 0 0;
  font-size: 18px;
  line-height: 26px;
}
.memory-actions {
  display: grid;
  grid-template-rows: repeat(2, minmax(36px, auto));
  justify-items: start;
  margin-top: auto;
  padding-top: 12px;
}
.memory-report {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  padding-block: 6px;
  font-size: 14px;
  line-height: 24px;
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: var(--link-underline-offset);
}
.memory-report-link { grid-row: 1; }
.memory-video-link { grid-row: 2; }
.memory-video-link .line-icon { flex: none; }
.memory-venue a:hover,.memory-venue a:focus-visible,.memory-report:hover,.memory-report:focus-visible {
  color: var(--gold-bright);
}

/* Guest portraits use the supplied originals, without colour filters. */
.guests,.atmosphere {
  border-top: 1px solid #d9bd7f30;
}
.guests-gallery .photo-frame img,.guests-gallery .photo-frame:hover img,
.atmosphere-gallery .photo-frame img {
  filter: none;
}
.guests-gallery .photo-frame img {
  object-position: center 30%;
}
.atmosphere-gallery .photo-frame img {
  object-position: center 54%;
}

/* Inherit the same max-width and responsive gutters as every .section. */
.section.venue-photo-caption {
  position: absolute;
  inset-inline: 0;
  bottom: 28px;
  z-index: 1;
  width: 100%;
  padding-block: 0;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
}
.venue-photo-name {
  margin: 0;
  color: var(--ivory);
  font-size: 36px;
  line-height: 40px;
}
.venue-photo-address {
  flex: none;
  color: #d9dfe7;
  font-size: 14px;
  /* The address link owns the underline, not this containing address. */
}
@media (max-width:600px) {
  .section.venue-photo-caption {
    flex-direction: column;
    gap: 8px;
    bottom: 24px;
  }
  .venue-photo-name { font-size: 28px; line-height: 34px; }
}

/* Decorative icons are SVG, never emoji or fallback glyphs. */
/* Explicit SVG dimensions match each viewBox, so strokes render at native size. */
.line-icon { display: inline-block; flex-shrink: 0; vertical-align: middle; }
.faq summary>span:not(.cursor-ink) { display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; flex: none; }

.scroll-cue {
  transition: opacity .2s ease, visibility .2s ease;
}
.scroll-cue.is-dismissed {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.scroll-cue.is-dismissed .scroll-cue-mouse::before { animation: none; }
@media (prefers-reduced-motion:reduce) {
  .scroll-cue { transition: none; }
}


/* One static CSS layer: no ray animation, scripting or per-frame repaint. */
.hero .silk,.contact .silk {
  --ray-blur: 28px;
  --ray-bright: #203c5e;
  --ray-secondary: #173456;
}
.hero .silk::before,.contact .silk::before {
  background: repeating-conic-gradient(from 21deg at 50% 45%,#040d1b 0deg,var(--ray-bright) 9deg,#0b1b33 12deg,#081429 22deg,var(--ray-secondary) 25deg,#061021 31deg);
  filter: blur(var(--ray-blur));
  mask-image: radial-gradient(ellipse at 50% 45%,#000 28%,transparent 76%);
  opacity: .72;
}
@media (max-width:600px) {
  .hero .silk,.contact .silk {
    --ray-blur: 16px;
    --ray-bright: #355c84;
    --ray-secondary: #284b70;
  }
  /* Crop a wide light field instead of fitting it to the phone screen. */
  .hero .silk::before,.contact .silk::before {
    width: 1000px;
    top: -120px;
    bottom: -120px;
    left: 50%;
    right: auto;
    margin-left: -500px;
  }
}

/* Official Congress artwork, intact in every branding position. */
.congress-mark { display: block; flex-shrink: 0; object-fit: contain; }
.brand > .brand-menorah { display: block; flex-shrink: 0; }
.signature .congress-mark { filter: brightness(0) invert(1); transition: filter 240ms ease; }
.signature:is(:hover,:focus,:focus-visible) .congress-mark { filter: none; }
@media(prefers-reduced-motion:reduce) {
  .congress-mark { transition: none !important; }
}

/* Irregular subpixel grain sits behind content and scrolls with each surface. */
.quote-band { background-image: var(--surface-texture); }
.hero .silk::after,.contact .silk::after {
  background-image: var(--surface-texture),linear-gradient(0deg,#071426 0%,transparent 40%,#030b161a),radial-gradient(ellipse at center,transparent,#02091766);
}

/* Venue logistics and nearby plans share the hotel section and its one address. */
.venue-details {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 64px;
}
.venue-details > div { min-width: 0; }
.venue-details .arrival-item { border: 0; padding: 0; }
.venue-details h3 { margin: 0; font-size: 28px; line-height: 32px; color: var(--gold); }
.venue-details p { margin-top: 20px; font-size: 16px; line-height: 28px; }
@media(max-width:800px) {
  .venue-details { grid-template-columns: 1fr; gap: 40px; }
}

/* Optional sound stays silent until the visitor explicitly enables it. */
.audio-control { position: relative; flex: none; }
.audio-toggle {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  padding: 8px;
  color: var(--muted);
  border: 0;
  background: transparent;
  cursor: pointer;
}
.audio-toggle .line-icon { display: block; }
.audio-toggle[aria-pressed="true"],.audio-toggle:is(:hover,:focus-visible) { color: var(--gold); }
.audio-toggle:focus-visible { outline: 1px solid currentColor; outline-offset: 2px; }
.audio-toggle [hidden] { display: none; }
.audio-status { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
@media(max-width:600px) { .header-actions { gap: 6px; } }

/* Congress branding replaces the duplicate hero mark and custom header icon. */
.site-header .congress-brand { gap: var(--header-brand-gap); padding: 0; }
.site-header .congress-brand > .congress-mark { width: var(--header-mark-size); height: var(--header-mark-size); }
.site-header .congress-brand > .congress-wordmark { width: 128px; height: 32px; }
.site-header .congress-brand img { filter: brightness(0) saturate(100%) invert(80%) sepia(25%) saturate(533%) hue-rotate(2deg) brightness(94%) contrast(88%); transition: filter 333ms ease-in-out; }
.site-header .congress-brand:is(:hover,:focus-visible) img { filter: none; }
@media(prefers-reduced-motion:reduce) {
  .site-header .congress-brand img { transition: none; }
}
@media(max-width:800px) {
  .program-list { grid-template-columns: 1fr; gap: 32px; }
  .program-chapter-heading { display: block; }
  .program-chapter-heading h3 { padding-inline-start: 48px; }
  .program-marker { top: 0; }
  .program-chapter-heading > p { margin-top: 16px; }
  .program-list h3 { font-size: 28px; line-height: 32px; }
  .program-list p { font-size: 16px; line-height: 28px; }
  .program-guests > .eyebrow { font-size: 14px; line-height: 22px; }
}
@media(max-width:600px) { .site-header { gap: 12px; } }
@media(max-width:360px) {
  :root {
    --header-gutter: 12px;
    --header-mark-size: 24px;
    --header-brand-gap: 6px;
    --header-wordmark-inset: 42px;
  }
  .site-header { gap: 6px; }
  .site-header .congress-brand > .congress-wordmark { width: 96px; height: 24px; }
}

/* Responsive type uses literal pixels so sizes are directly inspectable. */
@media (min-width: 1440px) {
  :root {
    --header-gutter: 60px;
    --header-wordmark-inset: 100px;
    --section-gutter: 86px;
    --gallery-card-width: 400px;
    --gallery-image-height: 360px;
  }
  h2 { font-size: 68px; line-height: 72px; }
  .hero h1 { font-size: 128px; line-height: 116px; }
  .hero h2 { font-size: 40px; line-height: 46px; }
  .intro-heading h2 { font-size: 56px; line-height: 62px; }
  .quote-band p { font-size: 64px; line-height: 72px; }
  .dress-copy h2 { font-size: 86px; line-height: 92px; }
  .arrival h2,.faq h2 { font-size: 56px; line-height: 60px; }
  .contact h2 { font-size: 100px; line-height: 106px; }
}
@media (min-width: 1700px) {
  :root {
    --header-gutter: 72px;
    --header-wordmark-inset: 112px;
    --section-gutter: 100px;
    --gallery-card-width: 428px;
  }
  h2 { font-size: 80px; line-height: 84px; }
  .hero h1 { font-size: 144px; line-height: 130px; }
  .hero h2 { font-size: 48px; line-height: 56px; }
  .intro-heading h2 { font-size: 64px; line-height: 70px; }
  .quote-band p { font-size: 72px; line-height: 80px; }
  .dress-copy h2 { font-size: 108px; line-height: 114px; }
  .arrival h2,.faq h2 { font-size: 68px; line-height: 72px; }
  .contact h2 { font-size: 120px; line-height: 128px; }
}
@media (min-width: 801px) and (max-width: 1100px) {
  h2 { font-size: 48px; line-height: 52px; }
  .hero h1 { font-size: 90px; line-height: 82px; }
  .intro-heading h2 { font-size: 40px; line-height: 44px; }
  .quote-band p { font-size: 44px; line-height: 50px; }
  .dress-copy h2 { font-size: 64px; line-height: 68px; }
  .contact h2 { font-size: 72px; line-height: 76px; }
}
@media (min-width: 481px) and (max-width: 800px) {
  h2 { font-size: 44px; line-height: 48px; }
}
@media (max-width: 800px) {
  .quote-band p { font-size: 36px; line-height: 40px; }
  .faq h2 { font-size: 44px; line-height: 48px; }
}
@media (min-width: 481px) and (max-width: 600px) {
  .hero h1 { font-size: 72px; line-height: 64px; }
}
@media (max-width: 400px) {
  .hero h1 { font-size: 50px; line-height: 46px; }
}
@media (max-width: 360px) {
  .hero h1 { font-size: 46px; line-height: 42px; }
}
@media (max-width: 320px) {
  .hero h1 { font-size: 40px; line-height: 36px; }
}

/* Taller screens show a larger photo window; parallax keeps its own overscan. */
@media (min-width:601px) and (min-height:1000px) {
  :root {
    --venue-photo-height: 580px;
  }
}

/* Existing atmosphere photos now accompany relevant programme chapters. */
.program-media { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: var(--content-column-gap); margin-top: 32px; }
.program-media .memory { margin: 0; min-width: 0; }
.program-media .photo-frame { overflow: hidden; }
.program-media img { display: block; width: 100%; height: 320px; object-fit: cover; }
@media (max-width:800px) {
  .program-media { gap: 16px; }
  .program-media img { height: 240px; }
}
@media (max-width:480px) {
  .program-media { grid-template-columns: minmax(0,1fr); }
}

@media (max-width:400px) {
  .program-list h3 { font-size: 26px; line-height: 32px; }
}
.program-media img[src*="7357"] { object-position: center 80%; }
.faq .hotel-mention { font-size: 20px; }

/* Personal message remains complete without a portrait. Add the official asset when supplied. */
.president-message { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--content-column-gap); row-gap: 32px; padding-top: 0; }
.president-letter { margin: 0; min-width: 0; }
.president-letter blockquote { margin: 0; }
.president-letter .lead { margin: 0 0 24px; }
.president-signature { margin-top: 32px; margin-right: 40px; text-align: start; }
.president-name { font-family: var(--serif); font-size: 28px; line-height: 32px; color: var(--gold); white-space: nowrap; }
.president-role { font-family: var(--sans); font-size: 16px; line-height: 24px; color: var(--muted); }
@media (max-width: 800px) { .president-message { grid-template-columns: minmax(0, 1fr); } }

/* Figures supplied by the organisers. Native text remains readable without JavaScript. */
.impact-section { padding-top: 0; }
.impact-metrics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 64px; row-gap: 40px; margin: 40px 0 0; }
.impact-metric { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; min-width: 0; padding-top: 24px; border-top: 1px solid var(--line); }
.impact-metric dt { font-family: var(--sans); font-size: 18px; line-height: 28px; color: var(--muted); }
.impact-metric dd { order: -1; margin: 0; font-family: var(--serif); font-size: 64px; line-height: 68px; color: var(--gold); white-space: nowrap; }
@media (max-width: 800px) {
  .impact-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 24px; margin-top: 32px; }
  .impact-metric dd { font-size: 48px; line-height: 52px; }
  .impact-metric dt { font-size: 16px; line-height: 26px; }
}
@media (max-width: 600px) { .impact-metrics { grid-template-columns: minmax(0, 1fr); } }

.participation { padding-top: 0; }
.participation-inspiration { font-family: var(--serif); font-size: 32px; line-height: 40px; color: var(--gold); margin-top: 24px; }
.participation .lead { margin-top: 16px; max-width: 720px; }
.participation-options { list-style: none; padding: 0; margin: 40px 0 0; }
.participation-options li { display: flex; justify-content: space-between; align-items: center; gap: 32px; padding: 28px 0; border-top: 1px solid var(--line); }
.participation-options h3 { font-size: 28px; line-height: 36px; }
.participation-options p { margin-top: 8px; font-size: 18px; line-height: 28px; color: var(--muted); }
.participation-link { flex-shrink: 0; font-size: 16px; line-height: 24px; color: var(--gold); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: var(--link-underline-offset); }
@media (max-width: 800px) {
  .participation-options li { flex-direction: column; align-items: flex-start; gap: 20px; }
  .participation-options p { font-size: 16px; line-height: 28px; }
}

/* Page narrative: mission, school, president, programme, legacy, impact, history, partners, practical information. */
.school-section { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--content-column-gap); padding-top: 0; }
.school-copy { min-width: 0; }
.school-copy .lead { margin-top: 24px; }
.school-actions { display: flex; flex-wrap: wrap; gap: 16px 32px; margin-top: 24px; }
.school-actions a,.patrons-section > p a,.program-auction-summary a { color: var(--gold); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: var(--link-underline-offset); }
.programme .program-timing-note { margin-top: 24px; }
.program-auction-summary > p:first-child { margin-top: 0; }
.auction-section { padding-top: 0; }
.auction-content { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--content-column-gap); margin-top: 40px; }
.auction-content .program-single-photo { margin: 0; }
.auction-content p { font-size: 18px; line-height: 30px; margin-top: 24px; }
.patrons-section { padding-top: 0; }
.patrons-section .partners { justify-content: center; margin-top: 40px; }
#patrons-title { text-align: center; }
@media (max-width: 800px) {
  .school-section,.auction-content { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .auction-content p { font-size: 16px; line-height: 28px; }
}

/* Alternative driving directions beside the existing address link. */
.navigation-option { margin-inline-start: 8px; white-space: nowrap; font: 400 16px/24px var(--sans); color: var(--gold); }
.waze-link { color: inherit; }

/* Congress mission follows the introduction without adding another headline. */
.congress-about { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); column-gap: var(--content-column-gap); row-gap: 24px; align-items: start; padding-top: 0; }
.congress-copy { min-width: 0; }
.congress-copy > p { margin: 0; }
.congress-copy > p + p { margin-top: 24px; }
.congress-support {
  position: relative;
  min-width: 0;
  margin: 0;
  padding: 32px;
  border: 1px solid #c2a064;
  background: #fbfaf7;
  color: #10233b;
  text-align: center;
  box-shadow: 0 12px 32px rgb(0 0 0 / 12%);
}
.congress-support::before {
  content: "";
  position: absolute;
  inset: 8px;
  border: 1px solid rgb(194 160 100 / 45%);
  pointer-events: none;
}
.congress-support-name {
  color: #10233b;
  margin: 0;
  font-family: var(--display-font);
  font-size: 36px;
  line-height: 44px;
  font-weight: 500;
  text-wrap: balance;
}
.congress-support-anniversary {
  margin: 20px 0 0;
  color: #756f64;
}
/* Preserve dark, readable lettering on the light sponsor panel. */
.congress-support .cursor-ink.cursor-glow-active {
  background: none;
  -webkit-text-fill-color: currentColor;
}
@media (max-width:800px) {
  .congress-support { padding: 28px 24px; }
  .congress-support-name { font-size: 28px; line-height: 34px; }
  .congress-support-anniversary { margin-top: 16px; }
}
@media (max-width:800px) {
  .congress-about { grid-template-columns: minmax(0,1fr); row-gap: 24px; }
}
