.wish-section[hidden] { display: none; }
.wish-section { width: 100%; max-width: 1160px; margin: var(--page-gap) auto 0; position: relative; overflow: hidden; padding: 0; border-radius: var(--radius-card); background: var(--color-mist); scroll-margin-top: 16px; }
.wish-section.is-empty { margin-top: 0; }
.wish-section.is-after-reviews { width: calc(100% - 2 * var(--page-gap)); margin: var(--page-gap) auto; }
.wish-inline-form { position: relative; isolation: isolate; padding: clamp(28px, 4vw, 56px); }
.wish-inline-form::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(90deg, var(--color-mist) 0%, var(--color-mist) min(28%, 350px), color-mix(in srgb, var(--color-mist) 96%, transparent) min(36%, 450px), color-mix(in srgb, var(--color-mist) 65%, transparent) min(48%, 600px), transparent min(72%, 900px)); }
.wish-form-copy { position: relative; z-index: 2; width: 310px; max-width: 100%; min-width: 0; }
.wish-form-copy .section-kicker { color: var(--color-blue); margin: 0 0 12px; font-family: var(--font-script); font-size: 28px; font-weight: 400; text-transform: none; letter-spacing: 0; transform: rotate(-3deg); }
.wish-form-copy h2 { margin: 0; max-width: 520px; font-family: var(--font-display); font-style: italic; font-weight: 900; font-size: clamp(42px, 4vw, 54px); line-height: .96; text-transform: uppercase; }
.wish-intro { margin: 16px 0 20px; color: var(--color-ink-soft); font-size: 14px; line-height: 1.5; max-width: 300px; }
.wish-field { display: grid; gap: 8px; min-width: 0; font-size: 14px; }
.wish-field > span { font-weight: 700; }
.wish-field input, .wish-field select { width: 100%; height: 48px; padding: 11px 13px; border: 1px solid var(--color-line); border-radius: 12px; background: var(--color-paper); color: var(--color-ink); font: inherit; }
.wish-field:has(select) { position: relative; }
.wish-field select { appearance: none; -webkit-appearance: none; padding-right: 30px; cursor: pointer; }
.wish-field:has(select)::after { content: ""; position: absolute; right: 14px; bottom: 21px; width: 7px; height: 7px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg); pointer-events: none; }
.wish-field input::placeholder { color: var(--color-muted); }
.wish-field input:focus-visible, .wish-field select:focus-visible, .wish-section button:focus-visible { outline: 3px solid var(--color-blue); outline-offset: 3px; }
.wish-hint { margin: 10px 0 0; color: var(--color-muted); font-size: 12px; line-height: 1.5; }
.wish-purpose { margin: 20px 0 0; padding: 0; border: 0; min-width: 0; }
.wish-purpose legend { margin-bottom: 10px; padding: 0; font-weight: 700; font-size: 14px; }
.wish-choices { display: flex; flex-wrap: wrap; gap: 8px; }
.wish-choices label { position: relative; cursor: pointer; }
.wish-choices input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.wish-choices span { display: block; padding: 8px 11px; border: 1px solid var(--color-line); border-radius: 24px; font-size: 13px; background: color-mix(in srgb, var(--color-mist) 80%, transparent); }
.wish-choices input:checked + span { background: var(--color-button-bg); border-color: var(--color-button-bg); color: var(--color-button-text); }
.wish-choices input:focus-visible + span { outline: 3px solid var(--color-blue); outline-offset: 3px; }
.wish-contact-row { display: grid; grid-template-columns: 132px minmax(0, 1fr); gap: 12px; margin-top: 20px; }
.wish-submit { margin-top: 24px; }
.wish-submit .button { width: 100%; border: 0; cursor: pointer; }
.wish-submit .button:disabled { cursor: wait; opacity: .6; }
.wish-error { color: #c23530; font-size: 14px; }
:root[data-theme="dark"] .wish-error { color: #ffaaa6; }
.wish-map-panel { position: absolute; inset: 0; z-index: 0; }
.wish-map { width: 100%; height: 100%; min-height: 0; background: #dfe9ee; color: #07182d; isolation: isolate; }
.wish-map .leaflet-tile-pane { opacity: .88; }
.wish-map .leaflet-control-attribution { font-size: 10px; }
.wish-map .leaflet-control-attribution a { color: #075586; }
.wish-map-caption { position: absolute; z-index: 500; right: 24px; bottom: 32px; max-width: calc(100% - 48px); padding: 10px 14px; border-radius: 12px; background: var(--color-mist); display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: baseline; justify-content: space-between; min-height: 28px; }
.wish-map-caption .wish-hint { margin: 0; }
.wish-text-button { border: 0; padding: 0; background: transparent; color: var(--color-ink); cursor: pointer; font: inherit; font-size: 12px; text-decoration: underline; }
.wish-text-button:hover { color: var(--color-blue); }
.wish-success { padding: 64px 24px; text-align: center; }
.wish-success h2 { margin: 0 0 16px; font-family: var(--font-display); font-style: italic; font-weight: 900; text-transform: uppercase; font-size: clamp(32px, 4vw, 56px); line-height: 1.1; }
.wish-success p { color: var(--color-ink-soft); }
.wish-inline-form[hidden], .wish-success[hidden], .wish-text-button[hidden] { display: none; }
.upcoming-section [data-upcoming-grid][hidden] { display: none; }
.wish-invitation { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; padding: 24px; margin-top: 32px; background: var(--color-mist); border-radius: var(--radius-card); }
.wish-invitation[hidden] { display: none; }
.wish-invitation h2 { margin: 0 0 8px; font-family: var(--font-display); font-style: italic; font-weight: 900; font-size: clamp(26px, 3vw, 32px); line-height: 1.1; }
.wish-invitation p { margin: 0; color: var(--color-muted); }
.wish-invitation .button { flex-shrink: 0; }
@media (max-width: 820px) {
  .wish-inline-form { padding: 360px 24px 28px; }
  .wish-inline-form::before { background: linear-gradient(180deg, transparent 220px, var(--color-mist) 360px); }
  .wish-form-copy { width: 100%; max-width: 410px; }
  .wish-map-panel { height: 360px; }
  .wish-map-caption { top: 225px; bottom: auto; right: 16px; max-width: calc(100% - 32px); }
  .wish-map .leaflet-bottom { top: 10px; bottom: auto; left: 10px; right: auto; }
  .wish-form-copy h2 { max-width: 410px; font-size: 44px; }
  .wish-contact-row { grid-template-columns: 118px minmax(0, 1fr); gap: 10px; }
  .wish-invitation { align-items: flex-start; flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) { .wish-section { scroll-behavior: auto; } }

.wish-visited-popup { font-family: var(--font-body); font-size: 12px; line-height: 1.5; }
.wish-visited-popup p { margin: 6px 0; color: #596979; }
.wish-visited-popup ul { margin: 8px 0; padding-left: 16px; max-height: 160px; overflow-y: auto; }


:root[data-theme="dark"] .wish-map { background: #101a28; }
:root[data-theme="dark"] .wish-map .leaflet-tile-pane { opacity: .6; }
