:root {
  --navy: #0b1f3f;
  --navy-2: #142e5c;
  --red: #b8202f;
  --red-dark: #8f1622;
  --chi-blue: #b3ddf2;
  --cream: #faf6ee;
  --paper: #ffffff;
  --gold: #c9a44c;
  --ink: #14213d;
  --muted: #55607a;
  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --cond: "Oswald", "Arial Narrow", sans-serif;
  --sans: "Source Sans 3", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--cream); color: var(--ink); font: 400 18px/1.55 var(--sans); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }

/* ---------- ribbon ---------- */
.ribbon {
  display: flex; align-items: center; justify-content: center; gap: 14px;
  background: var(--red); color: #fff;
  font: 500 13px/1 var(--cond); letter-spacing: .22em; text-transform: uppercase;
  padding: 10px 16px; text-align: center;
}
.ribbon-stars { display: inline-flex; gap: 5px; }
.ribbon-stars svg { width: 12px; height: 12px; fill: #fff; }

/* ---------- hero ---------- */
.hero {
  position: relative; overflow: hidden; color: #fff;
  background:
    radial-gradient(ellipse at 75% 40%, rgba(179, 221, 242, .16), transparent 60%),
    linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 100%);
}
.hero::before { /* faint star field */
  content: ""; position: absolute; inset: 0; opacity: .09; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='64' height='64' viewBox='0 0 64 64'%3E%3Cpath fill='%23fff' d='M16 6l2.4 7.2h7.6l-6.1 4.5 2.3 7.3L16 20.5 9.8 25l2.3-7.3L6 13.2h7.6zM48 38l2.4 7.2h7.6l-6.1 4.5 2.3 7.3L48 52.5 41.8 57l2.3-7.3L38 45.2h7.6z'/%3E%3C/svg%3E");
}
/* Chicago montage: duotone photo tiles under a navy wash that is darkest behind the headline. */
.montage {
  position: absolute; inset: 0; z-index: 0; display: grid; gap: 5px; background: rgba(255, 255, 255, .35);
  grid-template-columns: 1.3fr 1fr 1.1fr; grid-template-rows: 1fr 1fr;
}
.montage span, .montage i { background-color: var(--navy); background-position: center; background-size: cover; background-repeat: no-repeat; }
.montage span { position: relative; overflow: hidden; }
/* Base photo zooms slowly; the second photo fades in and out over it, each tile on its own offset. */
.montage span::before { content: ""; position: absolute; inset: 0; background: inherit; animation: zoom 26s ease-in-out infinite alternate; }
.montage i { position: absolute; inset: 0; z-index: 1; opacity: 0; animation: swap 18s ease-in-out infinite, zoom 26s ease-in-out infinite alternate; }
.montage span:nth-child(2) i, .montage span:nth-child(2)::before { animation-delay: -6s; }
.montage span:nth-child(3) i, .montage span:nth-child(3)::before { animation-delay: -12s; }
.montage span:nth-child(4) i, .montage span:nth-child(4)::before { animation-delay: -9s; }
.montage span:nth-child(5) i, .montage span:nth-child(5)::before { animation-delay: -3s; }
.t-voters { background-image: url("/img/chi/juliana-voters.jpg"); background-position: 50% 25% !important; }
.t-watertower { background-image: url("/img/chi/water-tower.jpg"); }
.t-kitchen { background-image: url("/img/chi/juliana-kitchen.jpg"); }
.t-lincolnsq { background-image: url("/img/chi/lincoln-square.jpg"); }
.t-pritzker { background-image: url("/img/chi/juliana-pritzker.jpg"); background-position: 60% 30% !important; }
@keyframes swap { 0%, 38% { opacity: 0; } 50%, 88% { opacity: 1; } 100% { opacity: 0; } }
@keyframes zoom { from { transform: scale(1); } to { transform: scale(1.12); } }
@media (prefers-reduced-motion: reduce) {
  .montage span::before, .montage i { animation: none; }
}
.montage .t-skyline { background-image: url("/img/chi/skyline-night.jpg"); background-position: 60% 60%; }
.t-uptown { background-image: url("/img/chi/uptown.jpg"); }
.t-montrose { background-image: url("/img/chi/montrose.jpg"); }
.t-brown { background-image: url("/img/chi/brown-line.jpg"); }
.t-greenmill { background-image: url("/img/chi/green-mill.jpg"); }
.montage .t-flag { background-image: url("/img/chi/flag.jpg"); background-position: 30% 30%; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(11, 31, 63, .9) 0%, rgba(11, 31, 63, .88) calc(50% + 40px), rgba(11, 31, 63, .32) calc(50% + 240px), rgba(11, 31, 63, .3) 100%),
    linear-gradient(0deg, rgba(11, 31, 63, .5), transparent 25%);
}
.hero::before { z-index: 1; opacity: .06; }
.hero-inner {
  z-index: 2;
  position: relative; max-width: 1120px; margin: 0 auto; padding: 64px 20px 72px;
  display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center;
}
.eyebrow { margin: 0 0 14px; font: 500 14px/1 var(--cond); letter-spacing: .3em; text-transform: uppercase; color: var(--chi-blue); }
.eyebrow-red { color: var(--red); }
h1 { font-family: var(--serif); font-weight: 800; line-height: 1; }
.h1-pre { display: block; font: 500 clamp(18px, 2.4vw, 24px)/1.2 var(--cond); letter-spacing: .14em; text-transform: uppercase; color: #fff; margin-bottom: 12px; }
.h1-name { display: block; font-size: clamp(52px, 8.4vw, 104px); letter-spacing: -.01em; }
.hero-sub { margin: 20px 0 28px; max-width: 32em; font-size: 19px; color: #dbe6f5; }

.when-card {
  display: flex; align-items: stretch; gap: 0; max-width: 470px;
  background: var(--paper); color: var(--ink); border-radius: 6px; overflow: hidden;
  box-shadow: 0 18px 40px rgba(0, 0, 0, .35);
}
.date-block {
  flex: 0 0 112px; display: flex; flex-direction: column; align-items: center; justify-content: center;
  background: var(--red); color: #fff; padding: 16px 8px; text-transform: uppercase;
}
.dow { font: 500 13px/1 var(--cond); letter-spacing: .2em; }
.mon { font: 600 22px/1.1 var(--cond); letter-spacing: .12em; margin-top: 6px; }
.day { font: 800 56px/1 var(--serif); }
.when-detail { padding: 16px 22px; }
.when-detail p { margin: 0; }
.time { font: 600 30px/1.1 var(--cond); letter-spacing: .04em; color: var(--navy); }
.venue { font: 600 22px/1.3 var(--serif); margin-top: 4px !important; }
.venue a { text-decoration: none; border-bottom: 2px solid var(--chi-blue); }
.venue a:hover { border-color: var(--red); }
.addr { font-size: 15px; color: var(--muted); line-height: 1.4; margin-top: 2px !important; }

.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 14px 28px; border-radius: 4px; border: 2px solid transparent;
  font: 500 17px/1 var(--cond); letter-spacing: .14em; text-transform: uppercase; text-decoration: none; cursor: pointer;
  transition: background .15s, color .15s, border-color .15s, transform .15s;
}
.btn:hover { transform: translateY(-1px); }
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: var(--red-dark); }
.btn-ghost { border-color: rgba(255, 255, 255, .7); color: #fff; }
.btn-ghost:hover { background: #fff; color: var(--navy); }
.btn-ghost-dark { border-color: var(--navy); color: var(--navy); }
.btn-ghost-dark:hover { background: var(--navy); color: #fff; }
.btn-block { width: 100%; padding: 17px; font-size: 19px; }
.btn:disabled { opacity: .6; cursor: wait; transform: none; }

.hero-portrait { margin: 0; justify-self: center; width: 100%; max-width: 400px; }
.arch {
  position: relative; border-radius: 200px 200px 6px 6px; overflow: hidden; aspect-ratio: 3 / 4;
  border: 6px solid #fff; outline: 6px solid var(--red); outline-offset: 0;
  box-shadow: 0 0 0 12px var(--navy), 0 0 0 14px var(--gold), 0 30px 60px rgba(0, 0, 0, .45);
}
.arch img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; }
.hero-portrait figcaption {
  margin-top: 34px; text-align: center; font: 600 22px/1.2 var(--serif);
  text-shadow: 0 1px 3px rgba(0, 0, 0, .9), 0 0 18px rgba(11, 31, 63, .9);
}
.hero-portrait figcaption span { display: block; margin-top: 6px; font: 500 12px/1.3 var(--cond); letter-spacing: .22em; text-transform: uppercase; color: var(--chi-blue); }

/* ---------- stripes ---------- */
.stripes { height: 26px; background: repeating-linear-gradient(180deg, var(--red) 0 4px, #fff 4px 8px); border-top: 2px solid var(--red); }
.stripes-thin { height: 14px; }

/* ---------- section titles ---------- */
.section-title {
  display: flex; align-items: center; gap: 18px; justify-content: center;
  font: 500 15px/1 var(--cond); letter-spacing: .32em; text-transform: uppercase; color: var(--red);
}
.section-title::before, .section-title::after { content: ""; height: 2px; width: 64px; background: var(--navy); opacity: .25; }
.section-lede { text-align: center; font: 600 clamp(26px, 3.6vw, 38px)/1.2 var(--serif); margin: 14px 0 40px; color: var(--navy); }

/* ---------- details ---------- */
.details { padding: 72px 0 64px; }
.detail-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 40px; }
.detail {
  background: var(--paper); border-top: 5px solid var(--navy); border-radius: 0 0 6px 6px;
  padding: 30px 26px 28px; box-shadow: 0 2px 0 rgba(11, 31, 63, .06), 0 14px 30px rgba(11, 31, 63, .07);
}
.detail:nth-child(2) { border-top-color: var(--red); }
.detail-star { width: 30px; height: 30px; fill: var(--red); }
.detail:nth-child(2) .detail-star { fill: var(--navy); }
.detail h3 { font: 600 24px/1.2 var(--serif); color: var(--navy); margin: 14px 0 10px; }
.detail p { margin: 0; color: var(--muted); font-size: 17px; }
.info-bar {
  margin-top: 32px; padding: 20px 26px; border: 2px dashed rgba(11, 31, 63, .25); border-radius: 6px;
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; align-items: center;
}
.info-bar p { margin: 0; }
.info-bar strong { color: var(--red); }
.transit { color: var(--muted); font-size: 16px; }
.transit a { color: var(--navy); font-weight: 600; }

/* ---------- united band ---------- */
.united {
  color: #fff; padding: 64px 20px 60px; text-align: center; position: relative;
  background: linear-gradient(180deg, rgba(11, 31, 63, .9), rgba(11, 31, 63, .8) 55%, rgba(11, 31, 63, .95)), url("/img/chi/skyline-night.jpg") center 55% / cover no-repeat, var(--navy);
}
.united-inner { max-width: 980px; margin: 0 auto; }
.chi-flag { display: flex; flex-direction: column; align-items: center; gap: 10px; max-width: 360px; margin: 0 auto 28px; }
.chi-flag .bar { display: block; width: 100%; height: 6px; background: var(--chi-blue); border-radius: 3px; }
.chi-flag .stars { display: flex; gap: 14px; }
.chi-flag svg { width: 30px; height: 30px; fill: #e4262f; }
.united h2 { font: 800 clamp(30px, 5vw, 54px)/1.1 var(--serif); }
.united h2 em { display: block; font-style: italic; font-weight: 600; color: var(--chi-blue); }
.ward-row { list-style: none; padding: 0; margin: 34px 0 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.ward-row li {
  width: 76px; padding: 10px 0 8px; border: 2px solid rgba(179, 221, 242, .5); border-radius: 4px;
  font: 600 30px/1 var(--cond);
}
.ward-row li span { display: block; font: 500 10px/1 var(--cond); letter-spacing: .25em; text-transform: uppercase; color: var(--chi-blue); margin-bottom: 6px; }
.hoods { margin: 28px auto 0; max-width: 46em; font: 400 14px/1.8 var(--cond); letter-spacing: .16em; text-transform: uppercase; color: #9fb4d3; }

/* ---------- hosts ---------- */
.hosts { padding: 76px 0 70px; }
.host-grid { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 34px 22px; }
.host { text-align: center; flex: 0 0 190px; }
.host img {
  width: 168px; height: 168px; margin: 0 auto; border-radius: 50%; object-fit: cover;
  border: 4px solid #fff; box-shadow: 0 0 0 3px var(--navy), 0 0 0 6px var(--red), 0 12px 24px rgba(11, 31, 63, .18);
}
.ward-badge {
  display: inline-block; position: relative; margin-top: -16px; padding: 6px 12px 5px;
  background: var(--navy); color: #fff; border-radius: 3px;
  font: 500 12px/1 var(--cond); letter-spacing: .18em; text-transform: uppercase;
}
.host h3 { margin-top: 12px; font: 600 21px/1.2 var(--serif); color: var(--navy); }
.host p { margin: 4px 0 0; font: 400 13px/1 var(--cond); letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }

/* ---------- RSVP ---------- */
.rsvp { background: linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 100%); padding: 72px 20px; scroll-margin-top: 0; }
.rsvp-inner { max-width: 1040px; margin: 0 auto; display: grid; grid-template-columns: .8fr 1.2fr; gap: 0; border-radius: 8px; overflow: hidden; box-shadow: 0 30px 60px rgba(0, 0, 0, .4); }
.rsvp-side { background: var(--red); position: relative; }
.rsvp-side img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
.rsvp-side::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(11, 31, 63, .35), transparent 50%); }
.rsvp-card { background: var(--paper); padding: 44px 44px 40px; }
.rsvp-card h2 { font: 800 56px/1 var(--serif); color: var(--navy); }
.rsvp-when { margin: 10px 0 26px; color: var(--muted); font-size: 17px; }

form label { display: block; font: 600 14px/1.3 var(--sans); color: var(--navy); margin-bottom: 16px; }
form .opt { font-weight: 400; color: var(--muted); }
form input:not([type=checkbox]), form select {
  display: block; width: 100%; margin-top: 6px; padding: 12px 13px;
  font: 400 17px/1.3 var(--sans); color: var(--ink);
  background: #f7f8fb; border: 1.5px solid #c9d1e0; border-radius: 4px;
}
form input:focus, form select:focus { outline: none; border-color: var(--navy); background: #fff; box-shadow: 0 0 0 3px rgba(179, 221, 242, .8); }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.check { display: flex !important; gap: 10px; align-items: flex-start; font-weight: 400 !important; font-size: 16px !important; margin: 4px 0 22px !important; cursor: pointer; }
.check input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--red); flex: 0 0 auto; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-msg { margin: 14px 0 0; min-height: 1.4em; color: var(--red); font-weight: 600; }
.rsvp-done { text-align: center; padding: 30px 0 10px; }
.done-star { width: 54px; height: 54px; fill: var(--red); }
.rsvp-done h3 { font: 800 36px/1.1 var(--serif); color: var(--navy); margin: 14px 0 10px; }
.rsvp-done p { color: var(--muted); margin: 0 0 24px; }

/* ---------- footer ---------- */
.foot { background: var(--cream); }
.foot-inner { padding: 36px 20px 44px; text-align: center; }
.foot p { margin: 0 0 8px; }
.foot-title { font: 600 22px/1.3 var(--serif); color: var(--navy); margin-bottom: 12px !important; }
.foot a { color: var(--navy); font-weight: 600; }
.vote { font: 500 15px/1.4 var(--cond); letter-spacing: .16em; text-transform: uppercase; color: var(--red); margin-top: 14px !important; }
.paid-for { display: inline-block; margin-top: 18px !important; padding: 8px 16px; border: 1.5px solid var(--navy); font: 600 14px/1.3 var(--sans); color: var(--navy); }
.paid-for-card { display: table; margin: 26px auto 0 !important; }
.credits { margin-top: 22px !important; font-size: 12px; color: var(--muted); max-width: 60em; margin-left: auto !important; margin-right: auto !important; }
.credits a { font-weight: 400; }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .montage { grid-template-columns: 1fr 1fr; grid-template-rows: repeat(3, 1fr); }
  .hero::after { background: linear-gradient(180deg, rgba(11, 31, 63, .55) 0%, rgba(11, 31, 63, .7) 38%, rgba(11, 31, 63, .9) 60%, rgba(11, 31, 63, .94) 100%); }
  .hero-inner { grid-template-columns: 1fr; gap: 44px; padding: 44px 20px 56px; text-align: center; }
  .hero-portrait { order: -1; max-width: 300px; }
  .hero-sub { margin-left: auto; margin-right: auto; }
  .when-card { margin: 0 auto; text-align: left; }
  .cta-row { justify-content: center; }
  .detail-grid { grid-template-columns: 1fr; }
  .rsvp-inner { grid-template-columns: 1fr; }
  .rsvp-side { height: 280px; }
}
@media (max-width: 560px) {
  body { font-size: 17px; }
  .ribbon { font-size: 11px; letter-spacing: .16em; gap: 8px; }
  .ribbon-stars svg { width: 9px; height: 9px; }
  .hero-portrait { max-width: 240px; }
  .when-card { flex-direction: row; }
  .date-block { flex-basis: 92px; }
  .day { font-size: 46px; }
  .when-detail { padding: 14px 16px; }
  .time { font-size: 26px; }
  .venue { font-size: 20px; }
  .cta-row .btn { flex: 1 1 100%; }
  .section-title::before, .section-title::after { width: 32px; }
  .ward-row { gap: 8px; }
  .ward-row li { width: 58px; font-size: 24px; }
  .hero-portrait figcaption { display: none; }
  .host-grid { gap: 28px 12px; }
  .host { flex-basis: calc(50% - 6px); }
  .host img { width: 132px; height: 132px; }
  .host h3 { font-size: 18px; }
  .rsvp { padding: 48px 16px; }
  .rsvp-card { padding: 30px 22px 28px; }
  .rsvp-card h2 { font-size: 46px; }
  .row2 { grid-template-columns: 1fr; }
  .info-bar { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 360px) {
  .ward-row { gap: 6px; }
  .ward-row li { width: 50px; font-size: 22px; }
}

