:root {
  color-scheme: light;
  --paper: #f8f6f3;
  --card: #ffffff;
  --ink: #292826;
  --muted: #706b67;
  --accent: #85535e;
  --accent-dark: #68404a;
  --line: #e6e0da;
  --blush: #f4eaec;
  --heart: #c42136;
  font-family: "Segoe UI", -apple-system, BlinkMacSystemFont, Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body { margin: 0; min-width: 280px; -webkit-font-smoothing: antialiased; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
button, a { touch-action: manipulation; }
button:focus-visible, a:focus-visible { outline: 3px solid var(--accent); outline-offset: 5px; }
img, svg { display: block; max-width: 100%; }
button:disabled { opacity: .55; cursor: default; }
.page-shell { width: min(1160px, calc(100% - 80px)); margin-inline: auto; }
.skip-link { position: fixed; top: -80px; left: 20px; z-index: 5; background: white; padding: 14px; }
.skip-link:focus { top: 10px; }
.hero { display: grid; grid-template-columns: minmax(0, 1fr) 420px; align-items: center; gap: 65px; padding: 52px 40px 28px; }
.hero-photo { width: 100%; height: 212px; object-fit: cover; object-position: center 57%; background: #2b2724; filter: grayscale(1); }
.portrait-alexey { object-position: center 30%; }
.portrait-veronika { object-position: center 45%; }
.hero-intro { padding: 0; text-align: center; }
.hero-invitation { font-size: 10px; letter-spacing: 2px; }
.hero-rule { display: block; width: 48px; height: 1px; background: #c9a6af; margin: 26px auto; }
.polaroid-gallery { position: relative; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 17px; padding: 6px; }
.polaroid-gallery::before, .polaroid-gallery::after { content: ""; position: absolute; width: 30px; height: 105px; background: url("assets/polaroid-sprig.svg?v=b46fffe1137c") center / contain no-repeat; pointer-events: none; }
.polaroid-gallery::before { left: -43px; top: 18%; transform: rotate(-12deg); }
.polaroid-gallery::after { right: -41px; bottom: 15%; transform: scaleX(-1) rotate(-10deg); }
.polaroid { position: relative; width: 100%; min-width: 0; margin: 0; padding: 9px 9px 29px; background: #fffefb; border: 1px solid #e5ddd4; box-shadow: 3px 7px 20px #39252410, 0 2px 4px #39252408; transform: rotate(-3deg); }
.polaroid:nth-child(2) { transform: rotate(3deg); }
.polaroid:nth-child(3) { transform: rotate(2deg); }
.polaroid:nth-child(4) { transform: rotate(-2.5deg); }
.hero-date { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 13px; margin: 0; font-size: 11px; line-height: 1.6; letter-spacing: 1.5px; text-transform: uppercase; color: var(--muted); }
.hero-date span { color: var(--accent); }
.eyebrow { margin: 0; color: var(--muted); font-size: 10px; letter-spacing: 1.8px; line-height: 1.6; text-transform: uppercase; font-weight: 500; }
h1, h2, .place-body h3, .footer-names { font-family: Georgia, "Times New Roman", serif; font-weight: 400; }
h1 { font-size: clamp(48px, 4.8vw, 66px); letter-spacing: -2px; line-height: 1.08; margin: 22px 0 0; }
h1 span { display: block; color: var(--accent); font-style: italic; font-size: .63em; line-height: 1.25; padding-inline: 3px; }
.intro-note { color: var(--muted); font-size: 13px; line-height: 1.8; margin: 13px 0 0; }
.section-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; padding-block: 18px 44px; }
.section-nav a { display: inline-flex; align-items: center; justify-content: space-between; gap: 34px; min-height: 52px; min-width: 215px; border: 1px solid #d8c7cc; border-radius: 8px; background: var(--card); padding: 13px 23px; font-size: 14px; font-weight: 500; color: var(--accent-dark); transition: background .18s, border-color .18s; }
.section-nav a span { font-size: 19px; line-height: 1; }
.section-nav a:hover { background: var(--blush); border-color: var(--accent); }
.section-nav .nav-wishes { background: var(--accent); border-color: var(--accent); color: #fff; }
.section-nav .nav-wishes:hover { background: var(--accent-dark); border-color: var(--accent-dark); }
.section-heading { border-top: 1px solid var(--line); padding-top: 28px; display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 25px; }
h2 { font-size: 33px; line-height: 1.2; letter-spacing: -.8px; margin: 8px 0 0; }
.section-aside { color: var(--muted); font-size: 12px; margin: 0 0 4px; }
.gift-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 20px; }
.gift-card { position: relative; grid-column: span 2; min-width: 0; padding: 15px; border: 1px solid #d7bdc4; border-radius: 7px; background: #fffdfa; display: flex; flex-direction: column; box-shadow: 0 3px 12px #593b3b06; transition: border-color .2s; }
.gift-card::before { content: ""; position: absolute; inset: 6px; border: 1px solid #ecdee1; border-radius: 3px; pointer-events: none; }
.gift-card-wide { grid-column: span 3; }
.gift-image { width: 100%; height: auto; aspect-ratio: 2 / 1; object-fit: cover; background: #252423; border: 4px solid #fff; border-radius: 3px; box-shadow: 0 1px 4px #39252416; }
.gift-card-wide .gift-image { aspect-ratio: 2.65 / 1; }
.family-image { object-position: center 20%; }
.gift-body { display: flex; flex-direction: column; flex: 1; padding: 19px 13px 5px; text-align: center; }
.gift-wish { margin: 0 0 11px; font-size: 11px; line-height: 1.5; color: var(--accent); display: flex; justify-content: center; align-items: baseline; flex-wrap: wrap; gap: 6px; }
.gift-wish span { letter-spacing: 1px; font-size: 13px; color: var(--heart); }
.gift-heart { color: var(--heart); font-family: "Segoe UI", Arial, sans-serif; font-size: .85em; }
.gift-body h3 { font-family: Georgia, "Times New Roman", serif; font-size: 20px; line-height: 1.4; font-weight: 400; letter-spacing: -.3px; margin: 0 0 22px; overflow-wrap: anywhere; }
.gift-price { font-family: Georgia, "Times New Roman", serif; font-size: 28px; line-height: 1.1; margin: auto 0 19px; letter-spacing: -.4px; white-space: nowrap; }
.gift-price span { font-family: "Segoe UI", Arial, sans-serif; font-size: 20px; font-weight: 300; color: var(--muted); }
.reserve-button { width: 100%; max-width: 245px; margin-inline: auto; border: 1px solid #d8b7c0; border-radius: 24px; min-height: 46px; padding: 12px 18px; background: transparent; color: var(--accent-dark); display: flex; justify-content: space-between; align-items: center; gap: 12px; cursor: pointer; font-size: 12px; font-weight: 500; transition: background .18s, color .18s, border-color .18s; }
.button-icon { font-size: 19px; font-weight: 400; line-height: 1; }
.reserve-button:hover { background: var(--blush); border-color: #bb8b99; }
.reserve-button[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: white; }
.gift-card.is-selected { border-color: var(--accent); }
.gift-card.is-selected::before { border-color: #c9a6af; }
.selection-note { visibility: hidden; margin: 8px 0 0; font-size: 10px; line-height: 1.45; color: var(--muted); text-align: center; }
.is-selected .selection-note { visibility: visible; }
.gifts-footnote { text-align: center; color: var(--muted); font-size: 12px; line-height: 1.7; margin: 25px 0 58px; }
.no-script-note { color: var(--accent-dark); }
.places-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.place-card { min-width: 0; display: grid; grid-template-columns: minmax(105px, 34%) minmax(0, 1fr); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: #fff; }
.place-photo { width: 100%; height: 100%; min-height: 255px; object-fit: cover; }
.place-body { padding: 27px 24px 25px; }
.place-body .eyebrow { font-size: 9px; letter-spacing: 1.3px; }
.place-body h3 { font-size: 27px; letter-spacing: -.6px; margin: 10px 0 15px; }
.place-address { font-size: 12px; line-height: 1.75; margin: 0 0 10px; }
.place-time { font-size: 11px; line-height: 1.5; color: var(--muted); margin: 0 0 15px; }
.map-links { display: flex; flex-wrap: wrap; align-items: center; gap: 3px 18px; }
.map-link { color: var(--accent-dark); font-size: 12px; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; border-bottom: 1px solid #d7bfc6; white-space: nowrap; }
@media (hover: hover) and (pointer: fine) {
  .map-link:hover { color: var(--ink); border-color: var(--ink); }
}
.map-link span { font-size: 17px; }
.celebration-section { margin-top: 56px; }
.halloween-card { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 24px; align-items: center; position: relative; isolation: isolate; background: #30272d; border: 1px solid #4e3d46; border-radius: 14px; color: #fff7eb; padding: 39px 39px 39px 42px; }
.halloween-card::before { content: ""; position: absolute; inset: 8px; border: 1px solid #6b4c4c; border-radius: 8px; pointer-events: none; }
.party-date { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; color: #edba94; font-size: 11px; letter-spacing: 1.2px; text-transform: uppercase; line-height: 1.6; margin: 0 0 15px; }
.halloween-copy h3 { font-family: Georgia, "Times New Roman", serif; font-size: clamp(28px, 3vw, 39px); line-height: 1.15; font-weight: 400; letter-spacing: -.7px; margin: 0 0 18px; }
.party-description { max-width: 530px; font-size: 14px; line-height: 1.85; color: #e8d9dc; margin: 0; }
.party-prize { display: flex; gap: 11px; align-items: center; border-top: 1px solid #6b4c4c; padding-top: 20px; margin: 22px 0 0; color: #f4cea2; font-size: 14px; line-height: 1.55; }
.party-prize svg { width: 23px; height: 23px; flex: 0 0 auto; }
.halloween-art { width: 280px; height: auto; }
.second-day-card { display: grid; grid-template-columns: 145px minmax(0, 1fr) 70px; align-items: center; gap: 32px; margin-top: 18px; padding: 30px 36px; border: 1px solid var(--line); border-radius: 12px; background: #fffcf8; }
.second-day-date { align-self: stretch; display: flex; flex-direction: column; justify-content: center; gap: 10px; border-right: 1px solid var(--line); padding-right: 22px; }
.second-day-date time { font-family: Georgia, "Times New Roman", serif; font-size: 25px; line-height: 1.2; white-space: nowrap; }
.second-day-date time span { display: block; font-family: "Segoe UI", Arial, sans-serif; font-size: 10px; letter-spacing: 1.5px; color: var(--muted); margin-top: 7px; }
.second-day-copy h3 { font-family: Georgia, "Times New Roman", serif; font-weight: 400; font-size: 27px; letter-spacing: -.5px; line-height: 1.3; margin: 0 0 9px; }
.second-day-copy p { font-size: 13px; line-height: 1.7; margin: 0; }
.second-day-art { width: 70px; height: 70px; color: #a67d83; }
.site-footer { border-top: 1px solid var(--line); margin-top: 60px; padding: 33px 0 35px; text-align: center; }
.site-footer > p:first-child { font-size: 11px; color: var(--muted); margin: 0 0 8px; }
.site-footer > p:first-child span { color: var(--accent); margin-left: 4px; }
.footer-names { font-size: 23px; margin: 0 0 12px; letter-spacing: -.3px; }
.site-footer time { font-size: 10px; letter-spacing: 1.8px; color: var(--muted); }
.toast { position: fixed; bottom: max(20px, env(safe-area-inset-bottom)); left: 50%; transform: translate(-50%, 12px); max-width: calc(100% - 32px); width: max-content; border-radius: 10px; background: #292826; color: #fff; padding: 14px 22px; box-shadow: 0 6px 30px #2928261a; font-size: 13px; line-height: 1.5; text-align: center; opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; z-index: 10; }
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }
@media (max-width: 1000px) {
  .page-shell { width: calc(100% - 48px); }
  .hero { grid-template-columns: minmax(0, 1fr) 350px; gap: 32px; padding: 38px 10px 25px; }
  .hero-photo { height: 174px; }
  .polaroid-gallery::before, .polaroid-gallery::after { width: 22px; height: 80px; }
  .polaroid-gallery::before { left: -27px; transform: rotate(-5deg); }
  .polaroid-gallery::after { right: -27px; transform: scaleX(-1) rotate(-5deg); }
  h1 { font-size: 52px; }
  .hero-date { font-size: 10px; letter-spacing: 1px; gap: 8px; }
  .gift-body { padding-inline: 9px; }
  .places-grid { grid-template-columns: 1fr; }
  .place-card { grid-template-columns: 190px 1fr; }
  .place-photo { max-height: 270px; }
  .halloween-card { grid-template-columns: minmax(0, 1fr) 200px; padding: 30px; gap: 12px; }
  .halloween-art { width: 200px; }
}
@media (max-width: 760px) {
  .hero { grid-template-columns: minmax(0, 1fr) 280px; gap: 20px; padding: 32px 0 24px; }
  .hero-photo { height: 140px; }
  .hero-intro { padding: 0; }
  .hero-invitation { font-size: 9px; letter-spacing: 1.1px; }
  .hero-date { gap: 5px 8px; }
  h1 { font-size: clamp(32px, 5.8vw, 44px); letter-spacing: -1.8px; }
  .polaroid { padding: 7px 7px 23px; }
  .polaroid-gallery { gap: 12px; }
  .polaroid-gallery::before, .polaroid-gallery::after { width: 17px; height: 72px; }
  .polaroid-gallery::before { left: -23px; transform: rotate(-4deg); }
  .polaroid-gallery::after { right: -23px; transform: scaleX(-1) rotate(-4deg); }
  .gift-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  .gift-card, .gift-card-wide { grid-column: span 1; }
  .gift-card:last-child { grid-column: span 2; }
  .gift-card-wide .gift-image { aspect-ratio: 2 / 1; }
  .gift-card:last-child .gift-image { aspect-ratio: 2.7 / 1; }
  .section-aside { display: none; }
  .selection-note { min-height: 29px; }
  .halloween-card { grid-template-columns: minmax(0, 1fr) 145px; padding: 28px; }
  .halloween-art { width: 145px; }
  .party-description { font-size: 13px; }
  .party-prize { font-size: 12px; }
  .second-day-card { grid-template-columns: 115px minmax(0, 1fr); gap: 22px; padding: 27px; }
  .second-day-art { display: none; }
  .second-day-date time { font-size: 23px; }
  .second-day-copy h3 { font-size: 24px; }
}
@media (max-width: 520px) {
  .page-shell { width: calc(100% - 36px); }
  .hero { grid-template-columns: minmax(0, 1fr); justify-items: center; gap: 25px; padding: 33px 0 18px; }
  .hero-photo { height: 161px; }
  .hero-intro { width: 100%; padding: 0; }
  .hero-invitation { font-size: 8px; letter-spacing: 1.5px; }
  .hero-date { font-size: 9px; letter-spacing: 1px; gap: 9px; }
  h1 { max-width: 340px; font-size: 42px; line-height: 1.08; margin: 14px auto 0; }
  h1 span { display: inline; font-size: .85em; padding-inline: 0; }
  .hero-rule { margin-block: 17px; width: 35px; }
  .intro-note { font-size: 11px; margin-top: 9px; }
  .polaroid-gallery { width: min(320px, calc(100% - 28px)); padding: 7px; gap: 14px; }
  .polaroid { width: 100%; }
  .section-nav { gap: 10px; padding-block: 16px 32px; }
  .section-nav a { flex: 1; min-width: 0; min-height: 50px; gap: 8px; padding: 13px 14px; font-size: 12px; }
  .section-nav a span { font-size: 17px; }
  .section-nav a:last-child { flex-basis: 100%; }
  .section-heading { padding-top: 24px; margin-bottom: 21px; }
  h2 { font-size: 29px; }
  .gift-grid { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .gift-card, .gift-card-wide, .gift-card:last-child { grid-column: auto; }
  .gift-image, .gift-card-wide .gift-image, .gift-card:last-child .gift-image { aspect-ratio: 2 / 1; }
  .gift-body { padding: 20px 12px 5px; }
  .gift-wish { font-size: 11px; }
  .gift-body h3 { font-size: 21px; margin-bottom: 22px; }
  .gift-price { font-size: 28px; margin-bottom: 19px; }
  .reserve-button { min-height: 48px; font-size: 13px; }
  .selection-note { min-height: 0; }
  .gifts-footnote { margin-bottom: 40px; padding-inline: 18px; }
  .place-card { grid-template-columns: 30% minmax(0, 1fr); }
  .place-photo { min-height: 258px; max-height: none; }
  .place-body { padding: 22px 16px 19px; }
  .place-body h3 { font-size: 25px; }
  .place-body .eyebrow { font-size: 8px; letter-spacing: 1px; }
  .place-address { font-size: 12px; }
  .place-time { font-size: 10px; }
  .site-footer { margin-top: 40px; }
  .celebration-section { margin-top: 40px; }
  .halloween-card { grid-template-columns: minmax(0, 1fr); padding: 28px 24px 20px; gap: 10px; }
  .party-date { font-size: 10px; letter-spacing: .8px; gap: 8px; }
  .halloween-copy h3 { font-size: 29px; overflow-wrap: anywhere; }
  .party-prize { font-size: 13px; }
  .halloween-art { justify-self: center; width: 170px; }
  .second-day-card { grid-template-columns: minmax(0, 1fr); gap: 18px; padding: 26px 24px; }
  .second-day-date { border-right: 0; border-bottom: 1px solid var(--line); padding: 0 0 17px; gap: 7px; }
  .second-day-date time span { display: inline; margin: 0 0 0 8px; }
}
@media (max-width: 350px) {
  .page-shell { width: calc(100% - 28px); }
  h1 { font-size: 39px; }
  .section-nav a { font-size: 11px; padding-inline: 11px; }
  h2 { font-size: 26px; }
  .place-body { padding-inline: 12px; }
  .place-body h3 { font-size: 22px; }
  .hero-photo { height: 141px; }
  .polaroid-gallery { gap: 12px; padding: 6px; }
  .halloween-copy h3 { font-size: 26px; }
  .halloween-card { padding-inline: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
