:root {
  --bg: #0e0e0f;
  --paper: #f3f1ec;
  --paper-2: #ebe7df;
  --panel: #151516;
  --panel-2: #1d1d1e;
  --ink: #111111;
  --ink-soft: #4c4a47;
  --white: #f7f5f1;
  --line: rgba(17, 17, 17, 0.14);
  --line-strong: rgba(247, 245, 241, 0.16);
  --accent: #b9b2a6;
  --accent-dark: #6c665d;
  --success: #d4d0c7;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.18);
  --radius: 24px;
  --radius-sm: 16px;
  --maxw: 1320px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background:
    radial-gradient(circle at top, rgba(255,255,255,0.06), transparent 38%),
    linear-gradient(180deg, #1a1a1b 0%, #0f0f10 100%);
  color: var(--ink);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .18;
  background-image: radial-gradient(rgba(255,255,255,.15) 0.55px, transparent 0.55px);
  background-size: 9px 9px;
  mix-blend-mode: soft-light;
}
img { max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }

.site-shell {
  min-height: 100vh;
  width: min(calc(100% - 32px), var(--maxw));
  margin: 16px auto;
  background: var(--paper);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 28px;
  box-shadow: var(--shadow);
  overflow: hidden;
  position: relative;
}

.topbar {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  gap: 18px;
  align-items: center;
  padding: 18px 28px;
  background: linear-gradient(180deg, rgba(238,235,228,0.96), rgba(243,241,236,0.96));
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(12px);
}
.brand {
  display: flex;
  align-items: center;
  gap: 14px;
}
.brand-mark {
  width: 58px;
  height: 58px;
  border-radius: 999px;
  border: 1px solid rgba(17,17,17,.22);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  font-family: "Cormorant Garamond", serif;
  letter-spacing: 0.18em;
  font-size: 16px;
}
.brand-mark::before,
.brand-mark::after {
  content: "";
  position: absolute;
  inset: 8px;
  border: 1px solid rgba(17,17,17,.10);
  border-radius: 999px;
}
.brand strong {
  display: block;
  font-family: "Cormorant Garamond", serif;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-weight: 700;
  font-size: 1.15rem;
}
.brand small {
  display: block;
  color: var(--ink-soft);
  letter-spacing: .12em;
  text-transform: uppercase;
  font-size: .7rem;
}
.nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}
.nav a {
  position: relative;
  font-size: .76rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ink-soft);
  padding: 8px 0;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform .22s ease;
}
.nav a:hover::after,
.nav a.active::after { transform: scaleX(1); }
.nav a.active,
.nav a:hover { color: var(--ink); }
.header-actions { display: flex; gap: 10px; }
.menu {
  display: none;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  width: 44px;
  height: 44px;
  border-radius: 999px;
}

main#app { padding: 0 0 56px; }

button, .link-button {
  border: none;
  border-radius: 999px;
  padding: 14px 24px;
  transition: transform .18s ease, opacity .18s ease, background .18s ease, border-color .18s ease;
}
.link-button { display: inline-flex; align-items: center; justify-content: center; }
button:hover, .link-button:hover { transform: translateY(-1px); }
.primary {
  background: var(--ink);
  color: var(--white);
  box-shadow: 0 10px 24px rgba(17,17,17,.18);
}
.primary:hover { background: #000; }
.secondary {
  background: transparent;
  color: var(--ink);
  border: 1px solid rgba(17,17,17,.2);
}
.ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
}
.small { padding: 10px 18px; font-size: .85rem; }
.full { width: 100%; }

.eyebrow {
  margin: 0 0 10px;
  color: var(--accent-dark);
  text-transform: uppercase;
  letter-spacing: .22em;
  font-size: .72rem;
}
.muted { color: var(--ink-soft); }
.lead { font-size: 1.1rem; line-height: 1.75; color: rgba(247,245,241,.84); max-width: 760px; }

.hero {
  position: relative;
  min-height: 590px;
  padding: 64px 54px 56px;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, .85fr);
  gap: 34px;
  align-items: end;
  background:
    linear-gradient(0deg, rgba(0,0,0,.64), rgba(0,0,0,.46)),
    radial-gradient(circle at 25% 20%, rgba(255,255,255,.08), transparent 24%),
    linear-gradient(135deg, #252525 0%, #171717 33%, #2d2d2e 100%);
  color: var(--white);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 18% 100%;
  opacity: .15;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(0,0,0,.25) 100%);
}
.film-grain {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .14;
  background-image: radial-gradient(rgba(255,255,255,.9) .7px, transparent .7px);
  background-size: 7px 7px;
  mix-blend-mode: soft-light;
}
.hero-copy, .hero-panels { position: relative; z-index: 1; }
.hero-copy h1 {
  font-family: "Cormorant Garamond", serif;
  text-transform: uppercase;
  letter-spacing: .05em;
  font-weight: 600;
  font-size: clamp(3rem, 7vw, 6rem);
  line-height: .92;
  margin: 0 0 20px;
}
.hero-actions {
  margin-top: 30px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.hero-panels {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  min-height: 360px;
}
.panel {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.12);
  background:
    linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.02)),
    linear-gradient(135deg, #454545, #1a1a1a);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.05);
}
.panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 18%, rgba(255,255,255,.28), transparent 18%),
    linear-gradient(180deg, rgba(0,0,0,.08), rgba(0,0,0,.5));
  mix-blend-mode: screen;
  opacity: .55;
}
.panel::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(180deg, rgba(255,255,255,.05) 0%, transparent 45%, rgba(0,0,0,.4) 100%);
}
.panel-one { background: linear-gradient(180deg, #666 0%, #1f1f1f 100%); }
.panel-two { background: linear-gradient(180deg, #414141 0%, #0f0f0f 100%); }
.panel-three { background: linear-gradient(180deg, #777 0%, #202020 100%); }
.panel span {
  position: absolute;
  left: 18px;
  bottom: 18px;
  z-index: 1;
  font-size: .72rem;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: rgba(247,245,241,.86);
}
.statement-strip {
  padding: 18px 54px 24px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255,255,255,.45), rgba(255,255,255,0));
}
.statement-strip p {
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  font-size: 1.42rem;
  color: var(--ink-soft);
}

.quick-grid,
.split-section,
.page-head,
.form-card,
.archive-wall,
.map-layout,
.dashboard-shell,
.directory-tools,
.directory-grid,
.agenda,
.hotel-layout {
  width: min(1180px, calc(100% - 56px));
  margin-left: auto;
  margin-right: auto;
}
.quick-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  padding-top: 42px;
}
.quick-grid article {
  padding: 26px;
  border-radius: 24px;
  background: linear-gradient(180deg, #f8f7f3, #efebe4);
  border: 1px solid rgba(17,17,17,.08);
}
.quick-grid span {
  display: inline-block;
  margin-bottom: 24px;
  font-size: .78rem;
  letter-spacing: .25em;
  color: var(--accent-dark);
}
.quick-grid h3,
.page-head h1,
.split-section h2,
.card h2,
.dashboard-shell h2,
.agenda-day h2,
.location-card h3,
.directory-card h3 {
  font-family: "Cormorant Garamond", serif;
  font-weight: 600;
  letter-spacing: .02em;
}
.quick-grid h3 { margin: 0 0 10px; font-size: 1.5rem; }
.quick-grid p { margin: 0; line-height: 1.7; color: var(--ink-soft); }

.split-section {
  padding-top: 44px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 400px;
  gap: 32px;
  align-items: start;
}
.split-section h2 { margin: 0 0 12px; font-size: clamp(2rem, 3vw, 3rem); }
.split-section p { color: var(--ink-soft); line-height: 1.8; }
.timeline-card {
  padding: 26px;
  border-radius: 24px;
  background: linear-gradient(180deg, #171717, #0f0f0f);
  color: var(--white);
  box-shadow: 0 14px 34px rgba(0,0,0,.14);
}
.timeline-card > div {
  padding: 18px 0;
  border-bottom: 1px solid rgba(255,255,255,.1);
  display: grid;
  gap: 8px;
}
.timeline-card > div:last-child { border-bottom: none; }
.timeline-card b {
  font-size: .78rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: rgba(247,245,241,.72);
}
.heritage-card { position: relative; overflow: hidden; }
.heritage-card::before {
  content: "";
  position: absolute;
  right: -36px;
  top: -48px;
  width: 160px;
  height: 160px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.08);
}

.page-head {
  padding-top: 52px;
  padding-bottom: 26px;
}
.page-head h1 {
  margin: 0 0 10px;
  font-size: clamp(2.2rem, 4vw, 4rem);
  line-height: 1;
}
.page-head p { max-width: 780px; line-height: 1.7; }

.card, .form-card, .agenda-day, .directory-card, .archive-card, .location-card, .dash-panel, .dash-nav, .stat {
  border-radius: 24px;
  background: linear-gradient(180deg, #fbfaf6, #efebe4);
  border: 1px solid rgba(17,17,17,.08);
  box-shadow: 0 12px 30px rgba(0,0,0,.06);
}
.form-card { padding: 28px; }
.registration-form { display: grid; gap: 24px; }
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 18px;
}
.form-grid label, .stacked-form label {
  display: grid;
  gap: 8px;
  color: var(--ink-soft);
  font-size: .92rem;
}
input, select, textarea {
  width: 100%;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid rgba(17,17,17,.12);
  background: rgba(255,255,255,.84);
  color: var(--ink);
}
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: rgba(17,17,17,.4);
  box-shadow: 0 0 0 4px rgba(17,17,17,.06);
}
.section-divider { border-top: 1px solid var(--line); }
.form-row-title, .toolbar, .directory-tools {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}
.form-row-title h3 { margin: 0; font-family: "Cormorant Garamond", serif; font-size: 1.5rem; }
.form-row-title p { margin: 6px 0 0; color: var(--ink-soft); }
.guest-rows { display: grid; gap: 12px; }
.guest-row {
  display: grid;
  grid-template-columns: 1.3fr .75fr 1fr auto;
  gap: 12px;
  align-items: center;
}
.guest-row .ghost { padding: 13px 16px; }

.hotel-layout, .map-layout { display: grid; gap: 22px; }
.hotel-layout { grid-template-columns: minmax(0,1fr) 320px; }
.card.large { padding: 32px; }
.alert-card { padding: 28px; background: linear-gradient(180deg, #181818, #101010); color: var(--white); }
.rate-grid {
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.rate-grid > div {
  padding: 18px;
  border-radius: 18px;
  background: rgba(17,17,17,.04);
  border: 1px solid rgba(17,17,17,.08);
}
.rate-grid b { display: block; margin-bottom: 6px; }

.agenda { display: grid; gap: 18px; }
.agenda-day { padding: 26px; }
.agenda-day h2 { margin: 0 0 16px; font-size: 1.8rem; }
.agenda-item {
  display: grid;
  grid-template-columns: 180px minmax(0,1fr);
  gap: 20px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
}
.agenda-item:first-of-type { border-top: 0; }
.agenda-item time {
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .18em;
  color: var(--accent-dark);
  padding-top: 4px;
}
.agenda-item h3 { margin: 0 0 8px; font-size: 1.2rem; }
.agenda-item p { margin: 0 0 6px; line-height: 1.7; color: var(--ink-soft); }

.directory-tools { margin-bottom: 18px; }
.directory-tools input { max-width: 420px; }
.directory-grid, .archive-wall {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.directory-card, .archive-card, .location-card { padding: 24px; }
.directory-card h3, .archive-card h3, .location-card h3 { margin: 0 0 8px; font-size: 1.55rem; }
.directory-card p, .archive-card p, .location-card p { color: var(--ink-soft); line-height: 1.7; }

.map-layout { grid-template-columns: minmax(0,1.15fr) .95fr; align-items: start; }
.map-visual {
  position: relative;
  min-height: 480px;
  border-radius: 26px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.8), rgba(255,255,255,.45)),
    repeating-linear-gradient(90deg, rgba(17,17,17,.06), rgba(17,17,17,.06) 1px, transparent 1px, transparent 92px),
    repeating-linear-gradient(180deg, rgba(17,17,17,.06), rgba(17,17,17,.06) 1px, transparent 1px, transparent 92px);
  border: 1px solid rgba(17,17,17,.08);
  overflow: hidden;
}
.map-visual::before {
  content: "Center City Philadelphia";
  position: absolute;
  left: 24px;
  top: 24px;
  font-size: .75rem;
  text-transform: uppercase;
  letter-spacing: .24em;
  color: var(--ink-soft);
}
.map-line {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 0 45%, rgba(17,17,17,.16) 45% 45.7%, transparent 45.7% 100%);
  opacity: .6;
}
.map-pin {
  position: absolute;
  padding: 12px 16px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--white);
  font-size: .75rem;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.map-pin.hotel { top: 110px; left: 110px; }
.map-pin.reception { top: 220px; left: 330px; }
.map-pin.picnic { bottom: 86px; right: 70px; }
.location-list { display: grid; gap: 14px; }

.dashboard-shell {
  padding-top: 36px;
  display: grid;
  grid-template-columns: 280px minmax(0,1fr);
  gap: 24px;
}
.dash-nav {
  padding: 24px;
  position: sticky;
  top: 98px;
  height: fit-content;
  background: linear-gradient(180deg, #171717, #0f0f10);
  color: var(--white);
  border-color: rgba(255,255,255,.08);
}
.dash-nav h2 { margin: 0 0 20px; font-size: 2rem; }
.dash-nav button {
  width: 100%;
  text-align: left;
  margin-bottom: 10px;
  border-radius: 16px;
  background: transparent;
  color: rgba(247,245,241,.76);
  border: 1px solid rgba(255,255,255,.08);
}
.dash-nav button.active, .dash-nav button:hover { color: var(--white); border-color: rgba(255,255,255,.18); background: rgba(255,255,255,.05); }
.dash-content { display: grid; gap: 18px; }
.dash-card-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.stat {
  padding: 24px;
  display: grid;
  gap: 10px;
}
.stat b {
  font-family: "Cormorant Garamond", serif;
  font-size: 2.6rem;
  line-height: .9;
}
.stat span { color: var(--ink-soft); }
.dash-panel { padding: 28px; }
.dash-panel h2 { margin: 0 0 12px; font-size: 2rem; }
.dash-panel p { color: var(--ink-soft); line-height: 1.8; }

.table-wrap { overflow-x: auto; }
.data-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 10px;
}
.data-table th,
.data-table td {
  text-align: left;
  padding: 14px 14px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.data-table th {
  font-size: .74rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--accent-dark);
}
.success-toast {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 50;
  background: #111;
  color: #fff;
  padding: 14px 18px;
  border-radius: 999px;
  box-shadow: 0 10px 24px rgba(0,0,0,.2);
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.48);
  z-index: 40;
  backdrop-filter: blur(8px);
}
.login-panel {
  position: fixed;
  right: 24px;
  top: 24px;
  width: min(470px, calc(100% - 24px));
  background: linear-gradient(180deg, #fbfaf6, #efebe4);
  border: 1px solid rgba(17,17,17,.08);
  border-radius: 28px;
  padding: 28px;
  z-index: 41;
  box-shadow: var(--shadow);
}
.login-panel h2 { font-family: "Cormorant Garamond", serif; font-size: 2rem; margin: 0 0 10px; }
.close {
  position: absolute;
  right: 18px;
  top: 18px;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: transparent;
}
.stacked-form { display: grid; gap: 14px; margin-top: 20px; }
.demo-box {
  margin-top: 24px;
  padding: 18px;
  border-radius: 20px;
  background: rgba(17,17,17,.04);
  border: 1px solid rgba(17,17,17,.08);
}
.demo-box p { margin: 6px 0 0; color: var(--ink-soft); }

@media (max-width: 1100px) {
  .hero { grid-template-columns: 1fr; }
  .hero-panels { min-height: 240px; }
  .quick-grid { grid-template-columns: repeat(2, 1fr); }
  .split-section, .hotel-layout, .map-layout, .dashboard-shell { grid-template-columns: 1fr; }
  .dash-nav { position: static; }
  .dash-card-grid, .directory-grid, .archive-wall { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
  .topbar { grid-template-columns: 1fr auto auto; }
  .nav {
    display: none;
    justify-content: flex-start;
  }
  .header-actions { display: none; }
  .menu { display: inline-flex; align-items: center; justify-content: center; }
  .quick-grid, .dash-card-grid, .directory-grid, .archive-wall, .form-grid, .rate-grid { grid-template-columns: 1fr; }
  .guest-row, .agenda-item { grid-template-columns: 1fr; }
  .statement-strip, .hero { padding-left: 26px; padding-right: 26px; }
  .quick-grid, .split-section, .page-head, .form-card, .archive-wall, .map-layout, .dashboard-shell, .directory-tools, .directory-grid, .agenda, .hotel-layout { width: min(calc(100% - 26px), 1180px); }
}

@media (max-width: 540px) {
  .site-shell { width: calc(100% - 12px); margin: 6px auto; border-radius: 18px; }
  .topbar { padding: 16px 18px; }
  .brand small { display: none; }
  .hero { min-height: auto; padding-top: 40px; }
  .hero-copy h1 { font-size: 2.5rem; }
  .panel { min-height: 180px; }
}

/* V4: simplified header + family gallery rotation */
.topbar { grid-template-columns: auto minmax(0, 1fr) auto auto; gap: 14px; }
.nav { gap: 18px; }
.nav a { font-size: .7rem; letter-spacing: .16em; }
.header-actions .primary { display: none; }
.home-gallery, .gallery-feature { width: min(1180px, calc(100% - 56px)); margin: 38px auto 0; }
.home-gallery { display: grid; grid-template-columns: 360px minmax(0, 1fr); gap: 26px; align-items: stretch; }
.home-gallery-copy { padding: 30px; border-radius: 24px; background: linear-gradient(180deg, #171717, #0f0f10); color: var(--white); min-height: 280px; }
.home-gallery-copy h2, .gallery-feature h2 { font-family: "Cormorant Garamond", Georgia, serif; font-size: clamp(2rem, 3vw, 3.2rem); line-height: 1; margin: 0 0 14px; }
.home-gallery-copy p { color: rgba(247,245,241,.74); line-height: 1.75; }
.photo-strip { display: grid; grid-template-columns: 1.2fr .8fr .9fr; gap: 14px; min-height: 340px; }
.photo-tile { position: relative; overflow: hidden; border-radius: 24px; min-height: 220px; border: 1px solid rgba(17,17,17,.08); background: linear-gradient(135deg, #777, #1d1d1d); filter: grayscale(1); }
.photo-tile:nth-child(2) { transform: translateY(34px); }
.photo-tile:nth-child(3) { transform: translateY(12px); }
.photo-tile img { width: 100%; height: 100%; min-height: 340px; object-fit: cover; display: block; filter: grayscale(1) contrast(1.08); }
.photo-tile span, .photo-caption { position: absolute; left: 18px; right: 18px; bottom: 18px; z-index: 1; color: var(--white); font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; }
.photo-tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 48%, rgba(0,0,0,.62)); pointer-events: none; }
.gallery-feature { display: grid; grid-template-columns: 360px minmax(0, 1fr); gap: 22px; align-items: stretch; padding: 28px; border-radius: 28px; background: linear-gradient(180deg, #171717, #0f0f10); color: var(--white); }
.gallery-feature p { color: rgba(247,245,241,.72); line-height: 1.75; }
.mini-slider { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.mini-slider .photo-tile { min-height: 220px; }
.mini-slider .photo-tile img { min-height: 220px; }
.archive-card.has-photo { overflow: hidden; padding: 0; }
.archive-card.has-photo img { width: 100%; height: 220px; object-fit: cover; filter: grayscale(1) contrast(1.08); display: block; }
.archive-card.has-photo .archive-card-body { padding: 22px; }
.attendee-avatar { width: 64px; height: 64px; border-radius: 999px; display: grid; place-items: center; margin-bottom: 14px; color: var(--white); background: linear-gradient(135deg, #555, #111); font-family: "Cormorant Garamond", Georgia, serif; font-size: 1.35rem; letter-spacing: .08em; filter: grayscale(1); }
.directory-card { min-height: 245px; }
@media (max-width: 1120px) { .brand small { display: none; } .nav { gap: 13px; } }
@media (max-width: 860px) {
  .home-gallery, .gallery-feature { width: min(calc(100% - 26px), 1180px); grid-template-columns: 1fr; }
  .photo-strip, .mini-slider { grid-template-columns: 1fr; }
  .photo-tile:nth-child(2), .photo-tile:nth-child(3) { transform: none; }
}

/* V5 backend testing + event space imagery */
.venue-photo-grid {
  width: min(1180px, calc(100% - 56px));
  margin: 0 auto 24px;
  display: grid;
  grid-template-columns: 1.1fr .9fr .9fr 1fr;
  gap: 14px;
}
.venue-photo {
  position: relative;
  min-height: 245px;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(17,17,17,.08);
  background: linear-gradient(135deg, #777, #1d1d1d);
  filter: grayscale(1);
}
.venue-photo::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 30%, rgba(255,255,255,.28), transparent 20%),
    linear-gradient(180deg, rgba(255,255,255,.08), rgba(0,0,0,.58));
}
.venue-photo::after {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 18px;
}
.venue-photo span {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 20px;
  z-index: 1;
  color: #fff;
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .2em;
  line-height: 1.45;
}
.venue-hotel { background: linear-gradient(135deg, #a8a8a8, #222); }
.venue-room { background: linear-gradient(135deg, #777, #171717); }
.venue-ballroom { background: linear-gradient(135deg, #888, #121212); }
.venue-lanes { background: linear-gradient(135deg, #5e5e5e, #0d0d0d); }
.guest-row.enhanced {
  grid-template-columns: 1.15fr .62fr .88fr .95fr .86fr .7fr auto;
}
.guest-row .account-check {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: .78rem;
  color: var(--ink-soft);
}
.guest-row .account-check input { width: auto; }
.portal-guide-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 18px;
}
.guide-card {
  padding: 22px;
  border-radius: 20px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.55);
}
.guide-card h3 {
  margin: 0 0 8px;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.45rem;
}
.guide-card p, .guide-card li {
  color: var(--ink-soft);
  line-height: 1.65;
}
.award-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 18px;
}
.help-note {
  padding: 16px 18px;
  border-radius: 18px;
  background: rgba(17,17,17,.04);
  border: 1px solid var(--line);
  color: var(--ink-soft);
  line-height: 1.7;
}
@media (max-width: 1120px) {
  .venue-photo-grid { grid-template-columns: repeat(2, 1fr); }
  .guest-row.enhanced { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .venue-photo-grid, .portal-guide-grid { grid-template-columns: 1fr; width: min(calc(100% - 26px), 1180px); }
}

/* V6 actual family photos added throughout */
.venue-photo img {
  width: 100%;
  height: 100%;
  min-height: 245px;
  object-fit: cover;
  display: block;
  filter: grayscale(1) contrast(1.05);
}
.venue-photo::before {
  z-index: 1;
}
.venue-photo::after {
  z-index: 2;
}
.venue-photo span {
  z-index: 3;
}
.legacy-mosaic,
.full-gallery-section {
  width: min(1180px, calc(100% - 56px));
  margin: 44px auto 0;
}
.legacy-mosaic-head {
  max-width: 760px;
  margin-bottom: 22px;
}
.legacy-mosaic-head h2 {
  margin: 0 0 10px;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(2rem, 3.6vw, 3.5rem);
  line-height: 1;
}
.legacy-mosaic-head p {
  color: var(--ink-soft);
  line-height: 1.75;
}
.mosaic-grid {
  display: grid;
  grid-template-columns: 1.2fr .8fr 1fr 1fr;
  grid-auto-rows: 170px;
  gap: 14px;
}
.mosaic-item,
.full-photo-item {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  background: #1a1a1a;
  border: 1px solid rgba(17,17,17,.08);
}
.mosaic-item:nth-child(1) { grid-row: span 2; }
.mosaic-item:nth-child(4) { grid-row: span 2; }
.mosaic-item:nth-child(6) { grid-column: span 2; }
.mosaic-item img,
.full-photo-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: grayscale(1) contrast(1.08);
  transition: transform .4s ease, filter .4s ease;
}
.mosaic-item:hover img,
.full-photo-item:hover img {
  transform: scale(1.035);
  filter: contrast(1.08) saturate(1.05);
}
.mosaic-item span,
.full-photo-item span {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 2;
  color: white;
  font-size: .68rem;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.mosaic-item::after,
.full-photo-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,.64));
  pointer-events: none;
}
.full-photo-wall {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}
.full-photo-item {
  min-height: 190px;
  border-radius: 18px;
}
.full-photo-item:nth-child(7n+1) { grid-row: span 2; min-height: 392px; }
.full-photo-item:nth-child(9n+4) { grid-column: span 2; }
@media (max-width: 1000px) {
  .mosaic-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 190px; }
  .full-photo-wall { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 720px) {
  .legacy-mosaic, .full-gallery-section { width: min(calc(100% - 26px), 1180px); }
  .mosaic-grid, .full-photo-wall { grid-template-columns: 1fr; grid-auto-rows: auto; }
  .mosaic-item, .full-photo-item, .full-photo-item:nth-child(7n+1) { min-height: 260px; grid-row: auto; grid-column: auto; }
}

/* V7: color photos, real family photos across homepage, cleaner gallery layout */
.hero {
  background:
    linear-gradient(0deg, rgba(0,0,0,.62), rgba(0,0,0,.32)),
    url("images/reunion-04.jpg") center 35% / cover no-repeat,
    linear-gradient(135deg, #252525 0%, #171717 33%, #2d2d2e 100%);
}
.panel {
  background: #111;
}
.panel img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
  display: block;
  filter: none !important;
}
.panel::before { opacity: .15; }
.panel::after {
  background: linear-gradient(180deg, transparent 42%, rgba(0,0,0,.68) 100%);
}
.photo-tile,
.mosaic-item,
.full-photo-item,
.archive-card.has-photo img,
.venue-photo,
.venue-photo img,
.mosaic-item img,
.full-photo-item img,
.photo-tile img,
.mini-slider .photo-tile img {
  filter: none !important;
}
.photo-tile img,
.mosaic-item img,
.full-photo-item img,
.archive-card.has-photo img {
  filter: contrast(1.02) saturate(1.02) !important;
}
.venue-source-note {
  width: min(1180px, calc(100% - 56px));
  margin: 0 auto 16px;
  padding: 18px 22px;
  border-radius: 20px;
  background: rgba(17,17,17,.04);
  border: 1px solid var(--line);
}
.venue-source-note p {
  margin: 0;
  color: var(--ink-soft);
  line-height: 1.65;
}
.venue-source-note .eyebrow {
  margin-bottom: 6px;
  color: var(--accent-dark);
}
.venue-photo {
  filter: none !important;
  background: #111;
}
.venue-photo img {
  min-height: 245px;
  filter: none !important;
}
.home-gallery-copy {
  background:
    linear-gradient(180deg, rgba(0,0,0,.72), rgba(0,0,0,.78)),
    url("images/reunion-12.jpg") center / cover no-repeat;
}
.statement-strip {
  background:
    linear-gradient(90deg, rgba(243,241,236,.94), rgba(243,241,236,.82)),
    url("images/reunion-14.jpg") center / cover no-repeat;
}
.clean-gallery .legacy-mosaic-head {
  margin-bottom: 18px;
}
.full-photo-wall {
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 18px !important;
  align-items: start;
}
.full-photo-item,
.full-photo-item:nth-child(7n+1),
.full-photo-item:nth-child(9n+4) {
  min-height: auto !important;
  grid-row: auto !important;
  grid-column: auto !important;
  aspect-ratio: 4 / 3;
  border-radius: 22px;
}
.full-photo-item img {
  height: 100%;
  min-height: unset;
}
.full-photo-item span {
  background: rgba(0,0,0,.55);
  backdrop-filter: blur(8px);
  border-radius: 999px;
  padding: 8px 10px;
  width: fit-content;
  right: auto;
}
.archive-wall {
  grid-template-columns: repeat(3, 1fr);
  margin-top: 22px;
}
.archive-card.has-photo img {
  height: 260px;
}
.archive-card h3 {
  font-size: 1.28rem;
}
.gallery-feature {
  background:
    linear-gradient(180deg, rgba(0,0,0,.76), rgba(0,0,0,.78)),
    url("images/reunion-18.jpg") center / cover no-repeat;
}
.quick-grid article:nth-child(1) {
  background:
    linear-gradient(180deg, rgba(248,247,243,.92), rgba(239,235,228,.92)),
    url("images/reunion-20.jpg") center / cover no-repeat;
}
.quick-grid article:nth-child(2) {
  background:
    linear-gradient(180deg, rgba(248,247,243,.92), rgba(239,235,228,.92)),
    url("images/reunion-21.jpg") center / cover no-repeat;
}
.quick-grid article:nth-child(3) {
  background:
    linear-gradient(180deg, rgba(248,247,243,.92), rgba(239,235,228,.92)),
    url("images/reunion-22.jpg") center / cover no-repeat;
}
.quick-grid article:nth-child(4) {
  background:
    linear-gradient(180deg, rgba(248,247,243,.92), rgba(239,235,228,.92)),
    url("images/reunion-23.jpg") center / cover no-repeat;
}
@media (max-width: 1000px) {
  .full-photo-wall { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
  .archive-wall { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .venue-source-note { width: min(calc(100% - 26px), 1180px); }
  .full-photo-wall, .archive-wall { grid-template-columns: 1fr !important; }
  .full-photo-item { aspect-ratio: 1 / .82; }
}

/* V8: My Account, bigger header, easier registration/email flow */
.brand strong {
  font-size: 1.28rem !important;
}
.brand small {
  font-size: .78rem !important;
}
.nav a {
  font-size: .82rem !important;
  letter-spacing: .14em !important;
}
.header-actions .ghost {
  font-size: .92rem;
  font-weight: 700;
}
.topbar {
  padding-top: 22px !important;
  padding-bottom: 22px !important;
}
.register-help {
  margin-bottom: 4px;
}
.guest-row.enhanced {
  grid-template-columns: 1.1fr .62fr .84fr .98fr .86fr .82fr auto;
}
.account-check {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 10px 12px;
  background: rgba(255,255,255,.5);
  line-height: 1.2;
}
.account-check small {
  display: block;
  margin-top: 3px;
  font-size: .68rem;
  color: var(--ink-soft);
}
.email-preview-shell {
  width: min(860px, calc(100% - 56px));
  margin: 0 auto;
}
.email-card {
  border-radius: 28px;
  background: #fff;
  border: 1px solid rgba(17,17,17,.1);
  overflow: hidden;
  box-shadow: 0 18px 44px rgba(0,0,0,.08);
}
.email-head {
  padding: 26px 30px;
  background: linear-gradient(180deg, #161616, #090909);
  color: #fff;
}
.email-head p {
  margin: 4px 0 0;
  color: rgba(255,255,255,.7);
}
.email-body {
  padding: 30px;
  color: var(--ink);
  line-height: 1.75;
}
.email-body h2 {
  margin: 0 0 12px;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 2rem;
}
.email-steps {
  display: grid;
  gap: 12px;
  margin: 20px 0;
}
.email-step {
  padding: 16px;
  border-radius: 16px;
  background: rgba(17,17,17,.04);
  border: 1px solid rgba(17,17,17,.08);
}
.email-step b {
  display: block;
  margin-bottom: 4px;
}
.account-setup-card {
  max-width: 860px;
}
.simple-action-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 18px;
}
.simple-action-card {
  display: block;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255,255,255,.58);
}
.simple-action-card b {
  display: block;
  margin-bottom: 7px;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.25rem;
}
.simple-action-card span {
  color: var(--ink-soft);
  line-height: 1.5;
  font-size: .92rem;
}
.communication-table td {
  line-height: 1.55;
}
@media (max-width: 1120px) {
  .nav a { font-size: .74rem !important; }
}
@media (max-width: 860px) {
  .brand strong { font-size: 1.1rem !important; }
  .nav a { font-size: .78rem !important; }
  .guest-row.enhanced { grid-template-columns: 1fr; }
  .simple-action-grid { grid-template-columns: 1fr; }
  .email-preview-shell { width: min(calc(100% - 26px), 860px); }
}

/* V9: Attendees, family feed, clearer guest registration, footer, rotating homepage */
.header-actions { display: none !important; }
.nav { gap: 15px; }
.nav a { font-size: .76rem !important; }

.guest-rows {
  display: grid;
  gap: 18px !important;
}
.guest-row.enhanced {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 14px !important;
  padding: 18px;
  border-radius: 20px;
  background: rgba(255,255,255,.62);
  border: 1px solid var(--line);
}
.guest-field {
  display: grid;
  gap: 7px;
}
.guest-field span {
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .16em;
  color: var(--accent-dark);
  font-weight: 700;
}
.guest-field.full {
  grid-column: 1 / -1;
}
.guest-row .ghost {
  width: fit-content;
}
.guest-row .account-check {
  min-height: 52px;
}

.gallery-head {
  padding-bottom: 8px;
}
.gallery-first {
  margin-top: 18px !important;
}
.photo-submit-card {
  margin-top: 36px;
}
.feed-layout {
  width: min(1180px, calc(100% - 56px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 430px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}
.wide-label {
  grid-column: 1 / -1;
}
.feed-list {
  display: grid;
  gap: 16px;
}
.feed-post {
  padding: 24px;
  border-radius: 24px;
  background: linear-gradient(180deg, #fbfaf6, #efebe4);
  border: 1px solid rgba(17,17,17,.08);
  box-shadow: 0 12px 30px rgba(0,0,0,.06);
}
.feed-post h3 {
  margin: 0 0 8px;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.55rem;
}
.feed-post p {
  color: var(--ink-soft);
  line-height: 1.7;
}
.feed-meta {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 10px;
  color: var(--accent-dark);
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: .72rem;
}
.feed-comment {
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(17,17,17,.04);
  color: var(--ink-soft);
}
.site-footer {
  width: min(1180px, calc(100% - 56px));
  margin: 40px auto 26px;
  display: flex;
  justify-content: center;
}
.powered-by {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 20px;
  border-radius: 999px;
  background: #111;
  color: #fff;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-size: .75rem;
}
.account-landing {
  width: min(960px, calc(100% - 56px));
  margin: 52px auto 0;
  display: grid;
  gap: 18px;
}
.account-landing .dash-panel {
  text-align: center;
}
.account-landing-actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 20px;
}
.directory-social-intro {
  width: min(1180px, calc(100% - 56px));
  margin: 0 auto 22px;
  padding: 22px;
  border-radius: 22px;
  background: rgba(17,17,17,.04);
  border: 1px solid var(--line);
}
.directory-social-intro p {
  margin: 0;
  color: var(--ink-soft);
  line-height: 1.7;
}
.photo-tile.is-changing img,
.mosaic-item.is-changing img {
  animation: softFade .65s ease;
}
@keyframes softFade {
  from { opacity: .35; transform: scale(1.02); }
  to { opacity: 1; transform: scale(1); }
}
@media (max-width: 1000px) {
  .feed-layout { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .feed-layout, .site-footer, .account-landing, .directory-social-intro { width: min(calc(100% - 26px), 1180px); }
  .guest-row.enhanced { grid-template-columns: 1fr !important; }
  .guest-field.full { grid-column: auto; }
}

main#app:focus { outline: none; }

/* V10: clean gallery + popup uploader + restored site spacing */
.site-shell {
  margin: 16px auto !important;
  width: min(calc(100% - 32px), var(--maxw)) !important;
}
.gallery-head {
  padding-bottom: 18px;
}
.upload-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.56);
  z-index: 60;
  backdrop-filter: blur(8px);
}
.upload-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(760px, calc(100% - 28px));
  max-height: min(86vh, 820px);
  overflow: auto;
  background: linear-gradient(180deg, #fbfaf6, #efebe4);
  border: 1px solid rgba(17,17,17,.12);
  border-radius: 28px;
  padding: 30px;
  z-index: 61;
  box-shadow: var(--shadow);
}
.upload-modal h2 {
  margin: 0 0 8px;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1;
}
.upload-modal .close {
  position: absolute;
  top: 18px;
  right: 18px;
}
.clean-gallery .legacy-mosaic-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}
@media (max-width: 540px) {
  .site-shell {
    width: calc(100% - 12px) !important;
    margin: 6px auto !important;
  }
  .upload-modal {
    padding: 24px 18px;
  }
}

.video-placeholder {
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #333, #111);
  color: #fff;
}
.video-icon {
  width: 74px;
  height: 74px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.34);
  display: grid;
  place-items: center;
  font-size: 1.6rem;
  padding-left: 4px;
  background: rgba(255,255,255,.08);
}
.video-item::before {
  content: "▶";
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 3;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: rgba(0,0,0,.62);
  color: #fff;
  font-size: .9rem;
}

/* V11: simplified header, original luxury spacing, no Family Feed, gallery mosaic restored */
.site-shell {
  width: min(calc(100% - 40px), var(--maxw)) !important;
  margin: 20px auto !important;
  border-radius: 28px !important;
}
.topbar {
  padding: 20px 24px !important;
  grid-template-columns: auto minmax(0, 1fr) auto !important;
}
.nav {
  justify-content: flex-end !important;
  gap: 22px !important;
}
.nav a {
  font-size: .78rem !important;
  letter-spacing: .15em !important;
}
.header-actions, .feed-layout, .feed-list, .feed-post, .directory-social-intro {
  display: none !important;
}
.hero {
  min-height: 680px !important;
}
.page-head {
  padding-top: 76px !important;
}
.gallery-feature-mosaic {
  margin-top: 10px !important;
}
.gallery-feature-mosaic .mosaic-grid {
  margin-top: 22px;
}
.clean-gallery {
  margin-top: 52px !important;
}
.clean-gallery .legacy-mosaic-head {
  display: block !important;
}
.full-photo-wall {
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 18px !important;
}
.full-photo-item,
.full-photo-item:nth-child(7n+1),
.full-photo-item:nth-child(9n+4) {
  aspect-ratio: 4 / 3 !important;
  min-height: auto !important;
  grid-row: auto !important;
  grid-column: auto !important;
}
.mosaic-grid {
  display: grid !important;
  grid-template-columns: 1.2fr .8fr 1fr 1fr !important;
  grid-auto-rows: 170px !important;
  gap: 14px !important;
}
.mosaic-item:nth-child(1) { grid-row: span 2 !important; }
.mosaic-item:nth-child(4) { grid-row: span 2 !important; }
.mosaic-item:nth-child(6) { grid-column: span 2 !important; }
.upload-modal {
  width: min(760px, calc(100% - 28px)) !important;
}
@media (max-width: 1050px) {
  .topbar {
    grid-template-columns: 1fr auto !important;
  }
  .nav {
    display: none;
  }
}
@media (max-width: 1000px) {
  .mosaic-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    grid-auto-rows: 190px !important;
  }
  .full-photo-wall {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}
@media (max-width: 720px) {
  .site-shell {
    width: calc(100% - 16px) !important;
    margin: 8px auto !important;
  }
  .mosaic-grid, .full-photo-wall {
    grid-template-columns: 1fr !important;
    grid-auto-rows: auto !important;
  }
  .mosaic-item, .full-photo-item {
    min-height: 260px !important;
    grid-row: auto !important;
    grid-column: auto !important;
  }
}

/* V12: smoother photo rotation + readable hero copy + attendee group details */
.hero-copy {
  background: rgba(12,12,12,.86) !important;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 28px;
  padding: 30px 34px;
  box-shadow: 0 20px 60px rgba(0,0,0,.24);
  backdrop-filter: blur(4px);
}
.hero-copy .eyebrow,
.hero-copy .lead {
  color: rgba(255,255,255,.82) !important;
}
.hero-copy h1 {
  color: #fff !important;
  text-shadow: none !important;
}
.photo-tile img,
.mosaic-item img {
  transition: opacity 1.4s ease, transform 1.4s ease !important;
}
.photo-tile.is-fading img,
.mosaic-item.is-fading img {
  opacity: .08;
  transform: scale(1.015);
}
.photo-tile.is-changing img,
.mosaic-item.is-changing img {
  animation: none !important;
}
.directory-card .guest-list {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(17,17,17,.1);
}
.directory-card .guest-list b {
  display: block;
  margin-bottom: 8px;
  font-size: .78rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent-dark);
}
.directory-card .guest-pill {
  display: inline-flex;
  margin: 3px 5px 3px 0;
  padding: 7px 9px;
  border-radius: 999px;
  background: rgba(17,17,17,.05);
  color: var(--ink-soft);
  font-size: .84rem;
}
@media (max-width: 720px) {
  .hero-copy {
    padding: 24px 20px;
  }
}

/* V13: Premium homepage hero redesign - less boxy, more elegant */
.hero-v13 {
  min-height: 720px !important;
  background:
    radial-gradient(circle at 18% 20%, rgba(186,159,91,.20), transparent 26%),
    linear-gradient(135deg, #0d0d0e 0%, #1b1b1c 45%, #f3f0e8 45%, #eee8dd 100%) !important;
  position: relative;
  overflow: hidden;
}
.hero-v13::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0,0,0,.72) 0%, rgba(0,0,0,.50) 42%, rgba(0,0,0,0) 72%),
    url("images/reunion-18.jpg") left center / cover no-repeat;
  opacity: .30;
}
.hero-v13::after {
  content: "50";
  position: absolute;
  right: -18px;
  top: 20px;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(10rem, 22vw, 24rem);
  line-height: .75;
  color: rgba(17,17,17,.045);
  pointer-events: none;
}
.hero-v13-layout {
  position: relative;
  z-index: 2;
  width: min(1180px, calc(100% - 72px));
  margin: 0 auto;
  min-height: 720px;
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(420px, .72fr);
  align-items: center;
  gap: 48px;
}
.hero-v13 .hero-copy {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  padding: 0 !important;
  max-width: 720px !important;
}
.hero-v13 .hero-copy .eyebrow {
  color: rgba(255,255,255,.72) !important;
  letter-spacing: .22em;
}
.hero-v13 .hero-copy h1 {
  color: #fff !important;
  font-size: clamp(4.2rem, 8vw, 8.4rem) !important;
  line-height: .86 !important;
  letter-spacing: -.05em !important;
  max-width: 820px;
  margin: 22px 0 24px !important;
}
.hero-v13 .hero-copy .lead {
  color: rgba(255,255,255,.78) !important;
  max-width: 650px;
  font-size: 1.12rem !important;
  line-height: 1.85 !important;
}
.hero-v13 .hero-actions {
  margin-top: 32px;
}
.hero-v13 .secondary {
  background: rgba(255,255,255,.08);
  color: #fff;
  border-color: rgba(255,255,255,.24);
}
.hero-portrait-stack {
  position: relative;
  display: grid;
  gap: 18px;
  align-self: center;
}
.portrait-card {
  position: relative;
  overflow: hidden;
  border-radius: 34px;
  border: 1px solid rgba(255,255,255,.35);
  box-shadow: 0 28px 70px rgba(0,0,0,.22);
  background: #111;
}
.portrait-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.portrait-large {
  height: 480px;
}
.portrait-large::after,
.portrait-row .photo-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 54%, rgba(0,0,0,.62));
}
.portrait-card span {
  position: absolute;
  left: 22px;
  bottom: 20px;
  z-index: 2;
  color: #fff;
  font-size: .72rem;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.portrait-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  min-height: 150px !important;
}
.portrait-row .photo-tile {
  min-height: 150px !important;
  border-radius: 22px !important;
  transform: none !important;
  box-shadow: 0 18px 40px rgba(0,0,0,.12);
}
.portrait-row .photo-tile img {
  min-height: 150px !important;
}
.portrait-row .photo-tile span {
  font-size: .58rem;
  letter-spacing: .14em;
  left: 12px;
  bottom: 12px;
}
.anniversary-bar {
  width: min(1180px, calc(100% - 72px));
  margin: -48px auto 38px;
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid rgba(17,17,17,.08);
  box-shadow: 0 20px 50px rgba(0,0,0,.10);
  background: #f8f6f0;
}
.anniversary-bar div {
  padding: 24px 28px;
  border-right: 1px solid rgba(17,17,17,.08);
}
.anniversary-bar div:last-child {
  border-right: 0;
}
.anniversary-bar span {
  display: block;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 2.55rem;
  line-height: .9;
  color: #111;
}
.anniversary-bar small {
  display: block;
  margin-top: 8px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(17,17,17,.54);
  font-size: .68rem;
}
.hero-v13 + .anniversary-bar + .statement-strip {
  margin-top: 0 !important;
}
@media (max-width: 1100px) {
  .hero-v13-layout {
    grid-template-columns: 1fr;
    padding: 78px 0 92px;
  }
  .hero-portrait-stack {
    max-width: 680px;
  }
  .portrait-large {
    height: 380px;
  }
}
@media (max-width: 720px) {
  .hero-v13-layout,
  .anniversary-bar {
    width: min(calc(100% - 28px), 1180px);
  }
  .hero-v13 .hero-copy h1 {
    font-size: clamp(3.3rem, 17vw, 5.4rem) !important;
  }
  .portrait-row {
    grid-template-columns: 1fr;
  }
  .anniversary-bar {
    margin-top: -28px;
    grid-template-columns: 1fr;
  }
  .anniversary-bar div {
    border-right: 0;
    border-bottom: 1px solid rgba(17,17,17,.08);
  }
}

.portrait-card.is-fading img {
  opacity: .12;
  transform: scale(1.015);
  transition: opacity 1.4s ease, transform 1.4s ease;
}
.portrait-card img {
  transition: opacity 1.4s ease, transform 1.4s ease;
}

/* V13: modern Black excellence / anniversary hero */
.modern-legacy-hero {
  min-height: 690px !important;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 82% 20%, rgba(189,155,93,.16), transparent 28%),
    linear-gradient(135deg, #f5f1e9 0%, #eee8dd 46%, #171717 46%, #0a0a0a 100%) !important;
  display: grid;
  align-items: center;
  padding: clamp(34px, 6vw, 78px) clamp(28px, 6vw, 86px);
}
.modern-legacy-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255,255,255,.65), rgba(255,255,255,0) 45%),
    radial-gradient(circle at 48% 18%, rgba(189,155,93,.08), transparent 24%);
  pointer-events: none;
}
.modern-legacy-hero .film-grain,
.modern-legacy-hero .hero-portrait-bg {
  display: none !important;
}
.hero-content-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(420px, .92fr) minmax(460px, 1.08fr);
  gap: clamp(32px, 5vw, 78px);
  align-items: center;
  width: 100%;
}
.modern-legacy-hero .hero-copy {
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  padding: 0 !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  max-width: 680px;
}
.modern-legacy-hero .hero-copy .eyebrow {
  color: #6f5f45 !important;
  letter-spacing: .22em;
  margin-bottom: 20px;
}
.modern-legacy-hero .hero-copy h1 {
  color: #111 !important;
  font-size: clamp(4.2rem, 8vw, 9.6rem) !important;
  letter-spacing: -.065em;
  line-height: .82 !important;
  margin: 18px 0 24px;
  text-shadow: none !important;
}
.modern-legacy-hero .hero-copy .lead {
  color: #2d2a25 !important;
  font-size: clamp(1.12rem, 1.45vw, 1.45rem);
  line-height: 1.65;
  max-width: 610px;
}
.anniversary-mark {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  padding: 10px 18px 10px 12px;
  border: 1px solid rgba(111,95,69,.28);
  border-radius: 999px;
  background: rgba(255,255,255,.44);
}
.anniversary-mark span {
  width: 68px;
  height: 68px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: #111;
  color: #f5f1e9;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 2.55rem;
  line-height: 1;
}
.anniversary-mark strong {
  display: block;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.5rem;
  line-height: 1;
  color: #111;
}
.anniversary-mark small {
  display: block;
  margin-top: 4px;
  color: #6f5f45;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-size: .68rem;
}
.modern-legacy-hero .hero-actions {
  margin-top: 34px;
}
.modern-legacy-hero .secondary {
  background: transparent;
  color: #111;
  border-color: rgba(17,17,17,.22);
}
.hero-image-suite {
  position: relative;
  min-height: 520px;
}
.legacy-card {
  position: absolute;
  overflow: hidden;
  border-radius: 30px;
  background: #161616;
  box-shadow: 0 28px 70px rgba(0,0,0,.28);
  border: 1px solid rgba(255,255,255,.16);
}
.legacy-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.legacy-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 48%, rgba(0,0,0,.68));
}
.legacy-card span {
  position: absolute;
  left: 22px;
  bottom: 20px;
  z-index: 2;
  color: #fff;
  letter-spacing: .18em;
  text-transform: uppercase;
  font-size: .74rem;
}
.card-tall {
  width: 48%;
  height: 88%;
  left: 0;
  top: 6%;
}
.card-wide {
  width: 62%;
  height: 48%;
  right: 0;
  top: 0;
}
.card-small {
  width: 42%;
  height: 42%;
  right: 8%;
  bottom: 0;
}
.elevated-statement {
  background: #111 !important;
  color: #f7f5f1;
}
.elevated-statement p {
  color: #f7f5f1 !important;
}
.hero-panels {
  display: none !important;
}
@media (max-width: 1050px) {
  .modern-legacy-hero {
    background: linear-gradient(180deg, #f5f1e9 0%, #eee8dd 58%, #111 58%, #0a0a0a 100%) !important;
  }
  .hero-content-grid {
    grid-template-columns: 1fr;
  }
  .hero-image-suite {
    min-height: 430px;
  }
  .modern-legacy-hero .hero-copy h1 {
    font-size: clamp(3.8rem, 13vw, 7rem) !important;
  }
}
@media (max-width: 720px) {
  .modern-legacy-hero {
    padding: 30px 20px 42px;
    min-height: auto !important;
  }
  .anniversary-mark {
    border-radius: 24px;
    align-items: flex-start;
  }
  .anniversary-mark span {
    width: 56px;
    height: 56px;
    font-size: 2rem;
  }
  .hero-image-suite {
    min-height: 360px;
  }
  .card-tall { width: 58%; height: 88%; }
  .card-wide { width: 58%; height: 42%; }
  .card-small { width: 48%; height: 38%; right: 0; }
}

/* V14: tighter, better balanced modern hero */
.modern-legacy-hero {
  min-height: 575px !important;
  padding: clamp(28px, 4.5vw, 54px) clamp(28px, 5vw, 64px) !important;
  align-items: center !important;
}
.hero-content-grid {
  grid-template-columns: minmax(390px, .96fr) minmax(420px, 1.04fr) !important;
  gap: clamp(28px, 4vw, 54px) !important;
}
.modern-legacy-hero .hero-copy {
  max-width: 620px !important;
}
.modern-legacy-hero .hero-copy .eyebrow {
  margin-bottom: 14px !important;
}
.modern-legacy-hero .hero-copy h1 {
  font-size: clamp(3.7rem, 6.8vw, 7.4rem) !important;
  line-height: .88 !important;
  margin: 16px 0 18px !important;
  max-width: 760px;
}
.modern-legacy-hero .hero-copy .lead {
  font-size: clamp(1.02rem, 1.24vw, 1.24rem) !important;
  line-height: 1.55 !important;
  max-width: 560px !important;
}
.anniversary-mark {
  padding: 8px 16px 8px 10px !important;
  gap: 14px !important;
}
.anniversary-mark span {
  width: 56px !important;
  height: 56px !important;
  font-size: 2.1rem !important;
}
.anniversary-mark strong {
  font-size: 1.32rem !important;
}
.anniversary-mark small {
  font-size: .64rem !important;
}
.modern-legacy-hero .hero-actions {
  margin-top: 24px !important;
}
.hero-image-suite {
  min-height: 430px !important;
  max-width: 650px;
  justify-self: end;
  width: 100%;
}
.legacy-card {
  border-radius: 24px !important;
}
.card-tall {
  width: 44% !important;
  height: 86% !important;
  left: 3% !important;
  top: 7% !important;
}
.card-wide {
  width: 60% !important;
  height: 44% !important;
  right: 0 !important;
  top: 2% !important;
}
.card-small {
  width: 38% !important;
  height: 38% !important;
  right: 10% !important;
  bottom: 4% !important;
}
.statement-strip {
  margin-top: 0 !important;
}
@media (max-width: 1050px) {
  .modern-legacy-hero {
    min-height: auto !important;
    padding: 34px 28px 46px !important;
  }
  .hero-content-grid {
    grid-template-columns: 1fr !important;
    gap: 30px !important;
  }
  .hero-image-suite {
    min-height: 360px !important;
    justify-self: stretch;
    max-width: none;
  }
  .modern-legacy-hero .hero-copy h1 {
    font-size: clamp(3.4rem, 11vw, 6rem) !important;
  }
}
@media (max-width: 720px) {
  .modern-legacy-hero {
    padding: 26px 18px 34px !important;
  }
  .hero-image-suite {
    min-height: 310px !important;
  }
  .modern-legacy-hero .hero-copy h1 {
    font-size: clamp(3rem, 15vw, 4.8rem) !important;
  }
  .modern-legacy-hero .hero-actions {
    gap: 10px;
  }
}

/* V15 FINAL HERO FIX: compact, readable, no diagonal text cut-off */
.modern-legacy-hero {
  min-height: 520px !important;
  height: auto !important;
  padding: 46px 54px 48px !important;
  background:
    linear-gradient(90deg, #f4f0e8 0%, #f4f0e8 56%, #111 56%, #0b0b0b 100%) !important;
  overflow: hidden !important;
}
.modern-legacy-hero::before {
  display: none !important;
}
.hero-content-grid {
  grid-template-columns: minmax(0, 52%) minmax(0, 48%) !important;
  gap: 34px !important;
  align-items: center !important;
}
.modern-legacy-hero .hero-copy {
  max-width: 560px !important;
  position: relative;
  z-index: 5 !important;
}
.modern-legacy-hero .hero-copy .eyebrow {
  font-size: .66rem !important;
  letter-spacing: .22em !important;
  line-height: 1.45 !important;
  max-width: 420px !important;
  margin-bottom: 12px !important;
}
.anniversary-mark {
  margin-bottom: 10px !important;
  transform: scale(.92);
  transform-origin: left center;
}
.modern-legacy-hero .hero-copy h1 {
  font-size: clamp(3.2rem, 5.6vw, 5.95rem) !important;
  line-height: .88 !important;
  letter-spacing: -.055em !important;
  margin: 8px 0 14px !important;
  max-width: 535px !important;
  color: #111 !important;
  overflow: visible !important;
}
.modern-legacy-hero .hero-copy .lead {
  font-size: 1rem !important;
  line-height: 1.52 !important;
  max-width: 485px !important;
  color: #38332a !important;
  margin-bottom: 0 !important;
}
.modern-legacy-hero .hero-actions {
  margin-top: 22px !important;
  display: flex !important;
  gap: 12px !important;
  flex-wrap: wrap !important;
  position: relative;
  z-index: 8 !important;
}
.modern-legacy-hero .hero-actions .primary,
.modern-legacy-hero .hero-actions .secondary {
  padding: 12px 18px !important;
  font-size: .78rem !important;
  min-height: auto !important;
}
.hero-image-suite {
  min-height: 390px !important;
  max-width: 560px !important;
  justify-self: end !important;
  position: relative !important;
  z-index: 3 !important;
}
.card-tall {
  width: 38% !important;
  height: 76% !important;
  left: 2% !important;
  top: 13% !important;
}
.card-wide {
  width: 58% !important;
  height: 38% !important;
  right: 2% !important;
  top: 12% !important;
}
.card-small {
  width: 34% !important;
  height: 32% !important;
  right: 16% !important;
  bottom: 13% !important;
}
.legacy-card {
  border-radius: 18px !important;
  box-shadow: 0 20px 48px rgba(0,0,0,.26) !important;
}
.elevated-statement {
  margin-top: 0 !important;
  padding: 16px 38px !important;
}
.elevated-statement p {
  font-size: .95rem !important;
  line-height: 1.45 !important;
}
/* prevent prior hero styles from creating overlap */
.hero-copy {
  overflow: visible !important;
}
@media (max-width: 1050px) {
  .modern-legacy-hero {
    background: linear-gradient(180deg, #f4f0e8 0%, #f4f0e8 58%, #111 58%, #0b0b0b 100%) !important;
    padding: 38px 30px 42px !important;
    min-height: auto !important;
  }
  .hero-content-grid {
    grid-template-columns: 1fr !important;
    gap: 28px !important;
  }
  .modern-legacy-hero .hero-copy {
    max-width: 680px !important;
  }
  .modern-legacy-hero .hero-copy h1 {
    max-width: 660px !important;
    font-size: clamp(3.4rem, 10vw, 5.8rem) !important;
  }
  .modern-legacy-hero .hero-copy .lead {
    max-width: 600px !important;
  }
  .hero-image-suite {
    justify-self: stretch !important;
    max-width: none !important;
    min-height: 330px !important;
  }
}
@media (max-width: 720px) {
  .modern-legacy-hero {
    padding: 28px 18px 34px !important;
  }
  .modern-legacy-hero .hero-copy h1 {
    font-size: clamp(2.9rem, 14vw, 4.45rem) !important;
  }
  .modern-legacy-hero .hero-copy .lead {
    font-size: .96rem !important;
  }
  .anniversary-mark {
    transform: scale(.86);
  }
  .hero-actions .primary,
  .hero-actions .secondary {
    width: 100%;
    justify-content: center;
  }
  .hero-image-suite {
    min-height: 285px !important;
  }
}

/* V16: FINAL two-side hero layout — text left, photos/buttons right */
.modern-legacy-hero {
  min-height: 545px !important;
  padding: 52px 64px !important;
  background: linear-gradient(90deg, #f3eee5 0%, #f3eee5 50%, #0d0d0d 50%, #050505 100%) !important;
  overflow: hidden !important;
}
.modern-legacy-hero::before,
.modern-legacy-hero::after {
  display: none !important;
}
.hero-content-grid {
  grid-template-columns: 46% 54% !important;
  gap: 0 !important;
  align-items: center !important;
  min-height: 440px;
}
.modern-legacy-hero .hero-copy {
  max-width: 470px !important;
  padding-right: 34px !important;
  z-index: 5 !important;
}
.modern-legacy-hero .hero-copy .eyebrow {
  max-width: 360px !important;
  font-size: .62rem !important;
  letter-spacing: .24em !important;
  color: #806f50 !important;
  margin-bottom: 18px !important;
}
.anniversary-mark {
  transform: none !important;
  margin-bottom: 18px !important;
  width: fit-content;
}
.anniversary-mark span {
  width: 58px !important;
  height: 58px !important;
  font-size: 2.1rem !important;
}
.modern-legacy-hero .hero-copy h1 {
  font-size: clamp(3.25rem, 4.75vw, 5.7rem) !important;
  line-height: .91 !important;
  letter-spacing: -.052em !important;
  max-width: 460px !important;
  margin: 0 0 18px !important;
  color: #111 !important;
}
.modern-legacy-hero .hero-copy .lead {
  max-width: 410px !important;
  font-size: 1rem !important;
  line-height: 1.58 !important;
  color: #3c362d !important;
}
.hero-visual-side {
  min-height: 440px;
  display: grid;
  grid-template-columns: minmax(340px, 1fr) 250px;
  gap: 28px;
  align-items: center;
  padding-left: 56px;
  position: relative;
}
.hero-visual-side::before {
  content: "";
  position: absolute;
  left: 28px;
  top: 6%;
  bottom: 6%;
  width: 1px;
  background: rgba(255,255,255,.12);
}
.hero-image-suite {
  min-height: 390px !important;
  max-width: 430px !important;
  justify-self: center !important;
  width: 100%;
}
.legacy-card {
  border-radius: 24px !important;
  box-shadow: 0 24px 58px rgba(0,0,0,.34) !important;
  border: 1px solid rgba(255,255,255,.18) !important;
}
.card-tall {
  width: 46% !important;
  height: 86% !important;
  left: 0 !important;
  top: 6% !important;
}
.card-wide {
  width: 58% !important;
  height: 39% !important;
  right: 0 !important;
  top: 8% !important;
}
.card-small {
  width: 38% !important;
  height: 34% !important;
  right: 10% !important;
  bottom: 8% !important;
}
.side-cta-card {
  color: #f7f2e8;
  padding: 24px;
  border-radius: 24px;
  border: 1px solid rgba(255,255,255,.16);
  background: rgba(255,255,255,.055);
  box-shadow: 0 24px 58px rgba(0,0,0,.24);
}
.side-cta-card .eyebrow {
  color: #c9a65c !important;
  margin-bottom: 10px;
}
.side-cta-card h3 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 2rem;
  line-height: 1.02;
  margin: 0 0 20px;
  color: #fff;
}
.side-cta-card .hero-actions {
  display: grid !important;
  gap: 12px !important;
  margin: 0 !important;
}
.side-cta-card .hero-actions button {
  width: 100%;
  justify-content: center;
  padding: 13px 17px !important;
}
.side-cta-card .secondary {
  color: #fff !important;
  border-color: rgba(255,255,255,.24) !important;
  background: transparent !important;
}
.elevated-statement {
  padding: 15px 40px !important;
}
@media (max-width: 1180px) {
  .modern-legacy-hero {
    padding: 44px 42px !important;
  }
  .hero-visual-side {
    grid-template-columns: 1fr;
    gap: 22px;
    padding-left: 42px;
  }
  .side-cta-card {
    max-width: 430px;
    justify-self: center;
  }
}
@media (max-width: 950px) {
  .modern-legacy-hero {
    background: linear-gradient(180deg, #f3eee5 0%, #f3eee5 54%, #0d0d0d 54%, #050505 100%) !important;
    padding: 36px 26px 44px !important;
  }
  .hero-content-grid {
    grid-template-columns: 1fr !important;
    min-height: auto;
    gap: 34px !important;
  }
  .modern-legacy-hero .hero-copy {
    max-width: 690px !important;
    padding-right: 0 !important;
  }
  .modern-legacy-hero .hero-copy h1 {
    max-width: 650px !important;
    font-size: clamp(3.2rem, 11vw, 5.7rem) !important;
  }
  .modern-legacy-hero .hero-copy .lead {
    max-width: 620px !important;
  }
  .hero-visual-side {
    padding-left: 0;
    grid-template-columns: 1fr;
  }
  .hero-visual-side::before {
    display: none;
  }
  .hero-image-suite {
    min-height: 320px !important;
    max-width: 560px !important;
  }
}
@media (max-width: 620px) {
  .modern-legacy-hero {
    padding: 28px 18px 34px !important;
  }
  .modern-legacy-hero .hero-copy h1 {
    font-size: clamp(2.85rem, 15vw, 4.4rem) !important;
  }
  .hero-image-suite {
    min-height: 280px !important;
  }
  .side-cta-card {
    padding: 20px;
  }
}

/* V17 FINAL FIX: simple clean hero, no black half, no overlapping, no cut-off */
.final-clean-hero {
  min-height: auto !important;
  height: auto !important;
  padding: 54px 70px 58px !important;
  background: linear-gradient(135deg, #f5f1e9 0%, #eee7da 100%) !important;
  overflow: visible !important;
  display: block !important;
}
.final-clean-hero::before,
.final-clean-hero::after,
.final-clean-hero .film-grain,
.final-clean-hero .hero-portrait-bg {
  display: none !important;
}
.final-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(420px, .98fr);
  gap: clamp(34px, 5vw, 72px);
  align-items: center;
  width: 100%;
}
.final-hero-copy {
  max-width: 600px;
  position: relative;
  z-index: 3;
}
.final-hero-copy .eyebrow {
  color: #806f50 !important;
  letter-spacing: .22em;
  font-size: .68rem;
  line-height: 1.5;
  margin: 0 0 18px;
}
.final-mark {
  margin: 0 0 22px !important;
  transform: none !important;
  background: rgba(255,255,255,.5) !important;
}
.final-mark span {
  width: 58px !important;
  height: 58px !important;
  font-size: 2.1rem !important;
}
.final-hero-copy h1 {
  font-family: "Cormorant Garamond", Georgia, serif;
  color: #111 !important;
  font-size: clamp(4rem, 7vw, 7.35rem) !important;
  line-height: .86 !important;
  letter-spacing: -.06em;
  margin: 0 0 22px;
  max-width: 590px;
}
.final-hero-copy .lead {
  color: #3a3329 !important;
  font-size: clamp(1.08rem, 1.35vw, 1.28rem);
  line-height: 1.62;
  max-width: 520px;
}
.final-hero-side {
  display: grid;
  gap: 24px;
  align-items: center;
  justify-items: center;
}
.final-photo-grid {
  width: min(100%, 640px);
  height: 430px;
  display: grid;
  grid-template-columns: 1.04fr .96fr;
  grid-template-rows: 1fr 1fr;
  gap: 18px;
}
.final-photo {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  background: #111;
  box-shadow: 0 26px 60px rgba(62,47,28,.18);
  border: 1px solid rgba(17,17,17,.08);
}
.final-photo.large {
  grid-row: 1 / span 2;
}
.final-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.final-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,.58));
}
.final-photo span {
  position: absolute;
  left: 18px;
  bottom: 16px;
  z-index: 2;
  color: #fff;
  letter-spacing: .18em;
  text-transform: uppercase;
  font-size: .72rem;
  font-weight: 700;
}
.final-hero-actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}
.final-hero-actions button {
  min-width: 210px;
  justify-content: center;
  padding: 14px 22px !important;
}
.final-hero-actions .secondary {
  background: transparent !important;
  color: #111 !important;
  border-color: rgba(17,17,17,.25) !important;
}
.elevated-statement,
.statement-strip {
  margin-top: 0 !important;
}
@media (max-width: 1020px) {
  .final-clean-hero {
    padding: 44px 34px 48px !important;
  }
  .final-hero-grid {
    grid-template-columns: 1fr;
  }
  .final-hero-copy {
    max-width: 760px;
  }
  .final-hero-copy h1 {
    max-width: 720px;
    font-size: clamp(3.8rem, 12vw, 6.8rem) !important;
  }
  .final-photo-grid {
    height: 390px;
  }
}
@media (max-width: 640px) {
  .final-clean-hero {
    padding: 30px 18px 36px !important;
  }
  .final-hero-copy h1 {
    font-size: clamp(3rem, 15vw, 4.6rem) !important;
  }
  .final-photo-grid {
    height: auto;
    grid-template-columns: 1fr;
    grid-template-rows: none;
  }
  .final-photo,
  .final-photo.large {
    grid-row: auto;
    min-height: 230px;
  }
  .final-hero-actions {
    display: grid;
    width: 100%;
  }
  .final-hero-actions button {
    width: 100%;
  }
}

/* V18 presentation/testing pass */
:root {
  --maxw: 100% !important;
}
html {
  scroll-behavior: smooth;
}
body {
  background: #f5f1e9 !important;
  overflow-x: hidden;
}
.site-shell {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  border: 0 !important;
}
.topbar {
  border-radius: 0 !important;
  padding-left: clamp(22px, 5vw, 76px) !important;
  padding-right: clamp(22px, 5vw, 76px) !important;
}
.final-presentation-hero {
  min-height: auto !important;
  padding: clamp(54px, 7vw, 92px) clamp(24px, 7vw, 92px) !important;
  background: linear-gradient(135deg, #f6f1e8 0%, #eee4d5 100%) !important;
}
.final-presentation-hero::before,
.final-presentation-hero::after,
.final-presentation-hero .anniversary-mark {
  display: none !important;
}
.final-presentation-hero {
  display: grid !important;
  grid-template-columns: minmax(0, .98fr) minmax(420px, 1.02fr);
  gap: clamp(36px, 7vw, 92px);
  align-items: center;
}
.presentation-copy {
  max-width: 680px;
}
.presentation-copy h1 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(4.8rem, 8vw, 9.2rem);
  line-height: .83;
  letter-spacing: -.065em;
  margin: 0 0 24px;
  color: #111;
}
.presentation-copy .lead {
  max-width: 600px;
  font-size: clamp(1.12rem, 1.35vw, 1.35rem);
  line-height: 1.65;
  color: #2f2a22;
}
.hero-notice {
  margin-top: 26px;
  padding: 18px 20px;
  border-radius: 20px;
  background: rgba(255,255,255,.58);
  border: 1px solid rgba(17,17,17,.1);
  color: #2f2a22;
  display: grid;
  gap: 4px;
}
.hero-notice b {
  color: #111;
}
.presentation-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 24px;
}
.presentation-actions .link-button,
.presentation-actions button {
  min-width: 210px;
  justify-content: center;
}
.presentation-photos {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  grid-template-rows: 1fr 1fr;
  gap: 18px;
  min-height: 470px;
}
.presentation-photo {
  position: relative;
  overflow: hidden;
  border-radius: 30px;
  background: #111;
  box-shadow: 0 28px 70px rgba(88,65,28,.18);
}
.presentation-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.presentation-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(0,0,0,.58));
}
.presentation-photo span {
  position: absolute;
  left: 20px;
  bottom: 18px;
  z-index: 2;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: .72rem;
  font-weight: 700;
}
.photo-main {
  grid-row: 1 / span 2;
}
.statement-strip,
.elevated-statement {
  display: none !important;
}
.home-gallery,
.legacy-mosaic,
.quick-grid,
.split-section,
.page-head,
.form-card,
.hotel-layout,
.venue-photo-grid,
.venue-source-note,
.hotel-embed,
.explore-layout,
.explore-section,
.dashboard-shell,
.directory-tools,
.directory-grid,
.full-gallery-section,
.gallery-feature-mosaic,
.site-footer {
  width: min(1180px, calc(100% - 56px)) !important;
}
.callout-card button[data-route="dashboard"]::after {
  content: "";
}
.uniform-form label,
.event-details-grid label {
  min-height: 112px;
}
.uniform-form input,
.uniform-form select,
.uniform-form textarea {
  min-height: 52px;
}
.event-details-grid select[multiple] {
  min-height: 140px;
}
.event-details-grid textarea {
  min-height: 140px;
  resize: vertical;
}
.hotel-embed {
  margin: 36px auto 0;
  padding: 28px;
  border-radius: 28px;
  background: linear-gradient(180deg, #fbfaf6, #efebe4);
  border: 1px solid rgba(17,17,17,.08);
}
.hotel-embed h2 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(2rem, 3vw, 3.2rem);
  margin: 0 0 12px;
}
.hotel-embed iframe {
  width: 100%;
  min-height: 520px;
  border: 1px solid rgba(17,17,17,.12);
  border-radius: 20px;
  background: #fff;
  margin: 18px 0;
}
.explore-layout {
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 24px;
}
.explore-map {
  min-height: 520px;
  border-radius: 28px;
  background:
    linear-gradient(135deg, rgba(0,0,0,.42), rgba(0,0,0,.12)),
    radial-gradient(circle at 30% 28%, #d9c8a8, transparent 20%),
    radial-gradient(circle at 70% 64%, #a77f47, transparent 18%),
    linear-gradient(135deg, #252525, #090909);
  position: relative;
  overflow: hidden;
}
.explore-map::before {
  content: "";
  position: absolute;
  inset: 40px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 22px;
}
.map-marker {
  position: absolute;
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(255,255,255,.92);
  color: #111;
  font-weight: 700;
  box-shadow: 0 18px 42px rgba(0,0,0,.18);
}
.map-marker small {
  display: block;
  font-weight: 400;
  color: #665;
}
.hotel-marker { left: 12%; top: 18%; }
.reception-marker { right: 12%; top: 42%; }
.picnic-marker { left: 28%; bottom: 16%; }
.explore-cards {
  display: grid;
  gap: 14px;
}
.explore-card {
  padding: 20px;
  border-radius: 22px;
  background: linear-gradient(180deg, #fbfaf6, #efebe4);
  border: 1px solid rgba(17,17,17,.08);
}
.explore-card h3 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.65rem;
  margin: 0 0 8px;
}
.explore-card p {
  color: var(--ink-soft);
}
.explore-card .toolbar {
  margin-top: 12px;
}
.explore-section {
  margin: 42px auto 0;
}
.explore-section h2 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(2.3rem, 4vw, 4rem);
  margin: 0 0 22px;
}
.explore-grid a {
  display: inline-flex;
  margin-top: 12px;
  color: #111;
  font-weight: 700;
  text-decoration: underline;
}
.back-to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 90;
  width: 48px;
  height: 48px;
  border-radius: 999px;
  border: 0;
  background: #111;
  color: #fff;
  box-shadow: 0 12px 30px rgba(0,0,0,.22);
  cursor: pointer;
  display: none;
}
.back-to-top.visible {
  display: grid;
  place-items: center;
}
.admin-only {
  display: none !important;
}
body.is-admin .admin-only {
  display: block !important;
}
body.is-admin .member-only {
  display: none !important;
}
.login-panel {
  left: 50% !important;
  right: auto !important;
  transform: translateX(-50%) !important;
  width: min(440px, calc(100vw - 32px)) !important;
}
.close {
  display: grid !important;
  place-items: center !important;
  line-height: 1 !important;
  padding: 0 !important;
  text-align: center !important;
}
input, select, textarea, button {
  font-size: 16px !important;
}
@media (max-width: 1100px) {
  .final-presentation-hero {
    grid-template-columns: 1fr;
  }
  .presentation-photos {
    min-height: 390px;
  }
  .explore-layout {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 720px) {
  .topbar {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }
  .final-presentation-hero {
    padding: 38px 18px !important;
  }
  .presentation-copy h1 {
    font-size: clamp(3.4rem, 15vw, 5.1rem);
  }
  .presentation-photos {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    min-height: auto;
  }
  .presentation-photo {
    min-height: 240px;
  }
  .photo-main {
    grid-row: auto;
  }
  .home-gallery,
  .legacy-mosaic,
  .quick-grid,
  .split-section,
  .page-head,
  .form-card,
  .hotel-layout,
  .venue-photo-grid,
  .venue-source-note,
  .hotel-embed,
  .explore-layout,
  .explore-section,
  .dashboard-shell,
  .directory-tools,
  .directory-grid,
  .full-gallery-section,
  .gallery-feature-mosaic,
  .site-footer {
    width: min(calc(100% - 24px), 1180px) !important;
  }
  .hotel-embed iframe {
    min-height: 420px;
  }
}

/* V19: Black + white heritage luxury direction */
:root {
  --paper: #f4f2ee !important;
  --cream: #f4f2ee !important;
  --ink: #0a0a0a !important;
  --ink-soft: #565656 !important;
  --line: rgba(255,255,255,.16) !important;
  --accent: #d9d6cd !important;
  --accent-dark: #b9b4a8 !important;
}
body { background: #070707 !important; color: #f4f2ee !important; }
.site-shell { background: #070707 !important; width:100% !important; max-width:none !important; margin:0 !important; border-radius:0 !important; box-shadow:none !important; border:0 !important; }
.topbar { background: #f4f2ee !important; border-bottom: 1px solid rgba(0,0,0,.16) !important; border-radius:0 !important; }
.brand strong, .nav a { color: #0a0a0a !important; }
.brand small { color: #555 !important; }
.brand-mark { border-color: rgba(0,0,0,.16) !important; }
.brand-mark span { border-color: rgba(0,0,0,.16) !important; color: #0a0a0a !important; }
.bw-heritage-hero {
  position: relative;
  min-height: calc(100vh - 95px) !important;
  padding: clamp(56px, 7vw, 104px) clamp(28px, 7vw, 104px) !important;
  background:
    linear-gradient(90deg, rgba(7,7,7,.98) 0%, rgba(7,7,7,.95) 42%, rgba(7,7,7,.74) 68%, rgba(7,7,7,.98) 100%),
    url("images/reunion-04.jpg") center / cover no-repeat !important;
  display: grid !important;
  grid-template-columns: minmax(0, .95fr) minmax(430px, 1.05fr);
  gap: clamp(42px, 7vw, 104px);
  align-items: center;
  overflow: hidden;
}
.bw-heritage-hero::before {
  content: "";
  position: absolute;
  inset: 28px;
  border: 1px solid rgba(255,255,255,.12);
  pointer-events: none;
}
.bw-heritage-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 72% 50%, rgba(255,255,255,.08), transparent 28%);
  pointer-events: none;
}
.bw-hero-copy { position: relative; z-index: 2; max-width: 720px; }
.bw-hero-copy .eyebrow { color: rgba(244,242,238,.72) !important; letter-spacing: .28em; margin-bottom: 24px; }
.bw-hero-copy h1 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(5rem, 9vw, 11.2rem);
  line-height: .8;
  letter-spacing: -.07em;
  color: #fff;
  margin: 0 0 28px;
}
.bw-hero-copy .lead { color: rgba(244,242,238,.84); font-size: clamp(1.15rem, 1.5vw, 1.45rem); line-height: 1.65; max-width: 620px; }
.bw-hero-rule { width: 110px; height: 1px; background: rgba(244,242,238,.55); margin: 30px 0; }
.bw-note { color: rgba(244,242,238,.76); max-width: 610px; line-height: 1.65; border-left: 1px solid rgba(244,242,238,.35); padding-left: 18px; }
.bw-note b { color: #fff; }
.bw-hero-gallery {
  position: relative;
  z-index: 2;
  min-height: 560px;
  display: grid;
  grid-template-columns: 1.12fr .88fr;
  grid-template-rows: 1fr 1fr;
  gap: 18px;
}
.bw-photo {
  position: relative;
  overflow: hidden;
  background: #111;
  border: 1px solid rgba(255,255,255,.18);
  box-shadow: 0 28px 70px rgba(0,0,0,.5);
}
.bw-photo img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.12); display: block; }
.bw-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(0,0,0,.72)); }
.bw-photo span { position: absolute; left: 22px; bottom: 20px; z-index: 2; color: #fff; letter-spacing: .22em; text-transform: uppercase; font-size: .72rem; font-weight: 700; }
.bw-main { grid-row: 1 / span 2; border-radius: 0 44px 0 44px; }
.bw-top { border-radius: 44px 0 44px 0; }
.bw-bottom { border-radius: 0 44px 0 44px; }
.bw-statement { background: #0b0b0b; color: #f4f2ee; padding: 22px clamp(28px, 7vw, 104px); border-top: 1px solid rgba(255,255,255,.12); border-bottom: 1px solid rgba(255,255,255,.12); }
.bw-statement p { margin: 0; font-family: "Cormorant Garamond", Georgia, serif; font-size: clamp(1.25rem, 2vw, 2rem); letter-spacing: .06em; }
.presentation-actions, .hero-actions { margin-top: 30px; }
.primary, button.primary, .link-button.primary { background: #f4f2ee !important; color: #070707 !important; border: 1px solid #f4f2ee !important; }
.secondary, button.secondary, .link-button.secondary { background: transparent !important; color: #f4f2ee !important; border: 1px solid rgba(244,242,238,.42) !important; }
.page-head { color: #f4f2ee !important; }
.page-head h1, .page-head .eyebrow { color: #fff !important; }
.page-head .muted { color: rgba(244,242,238,.7) !important; }
.form-card,.card,.dash-nav,.stat,.dash-panel,.directory-card,.archive-card,.location-card,.explore-card,.callout-card,.home-gallery-copy,.quick-grid article,.hotel-embed,.upload-modal {
  background: linear-gradient(180deg, #181818, #0f0f0f) !important;
  border: 1px solid rgba(255,255,255,.12) !important;
  color: #f4f2ee !important;
  box-shadow: 0 18px 48px rgba(0,0,0,.28) !important;
}
.home-gallery-copy {
  background:
    linear-gradient(180deg, rgba(0,0,0,.82), rgba(0,0,0,.88)),
    url("images/reunion-12.jpg") center / cover no-repeat !important;
}
.home-gallery-copy p,.quick-grid article p,.card p,.dash-panel p,.directory-card p,.explore-card p,.callout-card p,.form-grid label,.stacked-form label,.help-note,.muted { color: rgba(244,242,238,.72) !important; }
.home-gallery-copy h2,.legacy-mosaic-head h2,.quick-grid h3,.split-section h2,.callout-card h3,.card h2,.card h3,.dash-panel h2,.explore-card h3 { color: #fff !important; }
.legacy-mosaic-head p,.legacy-mosaic-head .eyebrow,.split-section .eyebrow,.quick-grid span,.eyebrow { color: rgba(244,242,238,.62) !important; }
input, select, textarea { background: #f4f2ee !important; color: #090909 !important; border: 1px solid rgba(255,255,255,.18) !important; }
.data-table th { background: rgba(255,255,255,.08) !important; color: #fff !important; }
.data-table td { color: rgba(244,242,238,.78) !important; border-color: rgba(255,255,255,.1) !important; }
.venue-source-note,.hotel-embed,.explore-section { color: #f4f2ee !important; }
.venue-photo img, .photo-tile img, .mosaic-item img, .full-photo-item img { filter: grayscale(1) contrast(1.08) !important; }
.powered-by { background: #f4f2ee !important; color: #070707 !important; }
.login-panel { background: linear-gradient(180deg, #181818, #0f0f0f) !important; color: #f4f2ee !important; border: 1px solid rgba(255,255,255,.15) !important; }
.demo-box { background: rgba(255,255,255,.06) !important; border-color: rgba(255,255,255,.14) !important; }
.email-card { background: #111 !important; color: #f4f2ee !important; }
.email-body { color: #f4f2ee !important; }
.email-step { background: rgba(255,255,255,.06) !important; border-color: rgba(255,255,255,.12) !important; }
.optional-steps { border-top: 1px solid rgba(255,255,255,.16); padding-top: 18px; }
@media (max-width: 1100px) {
  .bw-heritage-hero { grid-template-columns: 1fr; min-height: auto !important; }
  .bw-hero-gallery { min-height: 430px; }
}
@media (max-width: 720px) {
  .bw-heritage-hero { padding: 42px 22px !important; }
  .bw-heritage-hero::before { inset: 14px; }
  .bw-hero-copy h1 { font-size: clamp(3.6rem, 16vw, 5.3rem); }
  .bw-hero-gallery { grid-template-columns: 1fr; grid-template-rows: auto; min-height: auto; }
  .bw-photo { min-height: 240px; border-radius: 28px !important; }
}

/* V20 launch-ready polish */
.bw-statement.centered-statement p { text-align: center !important; }
.bw-photo span,
.photo-tile span,
.mosaic-item span,
.full-photo-item span { display: none !important; }

.bw-photo img,
.photo-tile img,
.mosaic-item img,
.full-photo-item img,
.venue-photo img {
  filter: none !important;
}

.home-priority-grid {
  margin-top: 46px !important;
}

.guest-ready-section {
  align-items: stretch;
}
.portal-card-clean {
  padding: 32px !important;
  display: grid;
  align-content: center;
}
.portal-card-clean h3 {
  font-size: 2.1rem !important;
}
.portal-card-clean p {
  line-height: 1.75;
}

.registration-readable-card,
.registration-readable-card .guest-row.enhanced {
  background: #f4f2ee !important;
  color: #111 !important;
  border-color: rgba(255,255,255,.18) !important;
}
.registration-readable-card h3,
.registration-readable-card label,
.registration-readable-card p,
.registration-readable-card .help-note,
.registration-readable-card .guest-field span {
  color: #111 !important;
}
.registration-readable-card .help-note {
  background: rgba(0,0,0,.06) !important;
  border: 1px solid rgba(0,0,0,.12) !important;
}
.registration-readable-card input,
.registration-readable-card select,
.registration-readable-card textarea {
  background: #fff !important;
  color: #111 !important;
  border-color: rgba(0,0,0,.16) !important;
}
.registration-readable-card .account-check {
  background: #fff !important;
  border-color: rgba(0,0,0,.16) !important;
  color: #111 !important;
}
.registration-readable-card .ghost,
.registration-readable-card .secondary {
  color: #111 !important;
  border-color: rgba(0,0,0,.26) !important;
}

.event-checkbox-section {
  display: grid;
  gap: 12px;
  padding: 20px;
  border-radius: 20px;
  background: rgba(0,0,0,.05);
  border: 1px solid rgba(0,0,0,.12);
}
.event-checkbox-section h3 {
  margin: 0;
}
.event-checkbox-section p {
  margin: 0 0 4px;
}
.event-checkbox-section label {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 14px 16px;
  border-radius: 16px;
  background: #fff;
  color: #111 !important;
  min-height: 52px;
}
.event-checkbox-section input[type="checkbox"] {
  width: 20px !important;
  height: 20px;
  min-height: auto;
  padding: 0;
  accent-color: #111;
}
.deadline-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 20px 0 0;
}
.deadline-row span {
  display: inline-flex;
  flex-direction: column;
  gap: 2px;
  padding: 12px 14px;
  border-radius: 16px;
  border: 1px solid rgba(244,242,238,.22);
  color: rgba(244,242,238,.78);
}
.page-deadlines span {
  border-color: rgba(255,255,255,.18);
  background: rgba(255,255,255,.06);
}
.deadline-row b {
  color: #fff;
}

.hotel-actions-section iframe { display: none !important; }
.hotel-actions-section {
  display: grid;
  gap: 18px;
}
.hotel-actions-section .link-button {
  width: fit-content;
}

.explore-map {
  min-height: 560px !important;
}
.explore-section .quick-grid article {
  min-height: 270px;
}
.explore-section .quick-grid a {
  color: #f4f2ee !important;
}

.optional-steps .eyebrow { display: block; margin-bottom: 12px; }

@media (max-width: 720px) {
  .deadline-row { display: grid; }
  .event-checkbox-section label { align-items: flex-start; }
}

/* V21 final launch fixes */
.launch-hero-v21 {
  min-height: 760px !important;
  grid-template-columns: minmax(0, .9fr) minmax(480px, 1.1fr) !important;
  gap: clamp(34px, 5vw, 72px) !important;
  padding-top: clamp(48px, 6vw, 78px) !important;
  padding-bottom: clamp(48px, 6vw, 78px) !important;
}
.launch-hero-v21 .launch-hero-copy h1 {
  font-size: clamp(4.6rem, 7vw, 8.9rem) !important;
  line-height: .82 !important;
  letter-spacing: -.065em;
  margin-bottom: 22px !important;
}
.launch-hero-v21 .launch-hero-copy h1 span {
  display: block;
  font-size: .42em;
  letter-spacing: .08em;
  text-transform: uppercase;
  line-height: 1.1;
  margin-bottom: 14px;
}
.launch-hero-v21 .lead {
  max-width: 610px;
}
.launch-hero-photos {
  display: grid !important;
  grid-template-columns: 1.15fr .85fr;
  grid-template-rows: 1fr 1fr;
  gap: 18px;
  min-height: 520px;
}
.launch-hero-photos article {
  position: relative;
  overflow: hidden;
  background: #222;
  border: 1px solid rgba(255,255,255,.18);
  box-shadow: 0 28px 70px rgba(0,0,0,.5);
  border-radius: 28px;
}
.launch-hero-photos article img {
  width: 100%;
  height: 100%;
  min-height: 100%;
  display: block;
  object-fit: cover;
  filter: none !important;
}
.launch-hero-photos .hero-photo-main {
  grid-row: 1 / span 2;
}
.launch-hero-photos article::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(0,0,0,.35));
}
.bw-hero-gallery { display: none !important; }
.bw-statement.centered-statement p {
  text-align: center !important;
  width: 100%;
}
.home-priority-grid {
  margin-top: 44px !important;
}
.venue-home-section {
  width: min(1180px, calc(100% - 56px));
  margin: 56px auto 0;
}
.venue-home-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.venue-home-grid a {
  position: relative;
  min-height: 260px;
  overflow: hidden;
  border-radius: 24px;
  background: #111;
  border: 1px solid rgba(255,255,255,.14);
  display: grid;
  align-content: end;
  padding: 20px;
  text-decoration: none;
  color: #fff;
}
.venue-home-grid img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: none !important;
}
.venue-home-grid a::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 42%, rgba(0,0,0,.76));
}
.venue-home-grid span,
.venue-home-grid b {
  position: relative;
  z-index: 2;
}
.venue-home-grid span {
  color: rgba(255,255,255,.72);
  letter-spacing: .18em;
  text-transform: uppercase;
  font-size: .7rem;
}
.venue-home-grid b {
  margin-top: 8px;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.55rem;
  line-height: 1.05;
}
.mosaic-item,
.photo-tile,
.full-photo-item {
  background: #181818 !important;
}
.mosaic-item img,
.photo-tile img,
.full-photo-item img,
.venue-photo img {
  filter: none !important;
  background: #181818;
}
.mosaic-item span,
.photo-tile span,
.full-photo-item span,
.bw-photo span {
  display: none !important;
}
.portal-card-clean {
  min-height: 270px;
}
.portal-card-clean h3 {
  margin-top: 0;
}
.registration-readable-card {
  background: #f4f2ee !important;
  color: #111 !important;
}
.registration-readable-card *:not(button):not(.primary):not(.secondary) {
  color: #111 !important;
}
.registration-readable-card input,
.registration-readable-card select,
.registration-readable-card textarea {
  background: #fff !important;
  color: #111 !important;
}
.registration-readable-card .guest-row.enhanced {
  background: #e9e7e1 !important;
}
.event-checkbox-section {
  background: #e9e7e1 !important;
}
.event-checkbox-section label {
  background: #fff !important;
  color: #111 !important;
}
.event-checkbox-section input[type="checkbox"] {
  width: 20px !important;
  height: 20px;
  min-height: auto;
  padding: 0;
}
.hotel-layout .card,
.hotel-actions-section,
.venue-photo-grid .venue-photo {
  background: #161616 !important;
}
.venue-photo-grid {
  align-items: stretch;
}
.venue-photo {
  min-height: 260px !important;
}
.venue-photo img {
  width: 100%;
  height: 100%;
  min-height: 260px;
  object-fit: cover;
}
.hotel-actions-section {
  display: none !important;
}
.explore-layout.polished-explore {
  align-items: stretch;
}
.explore-map {
  min-height: 560px !important;
  background:
    linear-gradient(135deg, rgba(0,0,0,.26), rgba(0,0,0,.55)),
    url("images/venue-picnic.jpg") center / cover no-repeat !important;
}
.explore-card,
.explore-section article {
  background: linear-gradient(180deg, #181818, #0f0f0f) !important;
  border: 1px solid rgba(255,255,255,.12) !important;
}
.explore-card .link-button,
.explore-section a {
  color: #f4f2ee !important;
}
@media (max-width: 1100px) {
  .launch-hero-v21 {
    grid-template-columns: 1fr !important;
    min-height: auto !important;
  }
  .launch-hero-photos {
    min-height: 420px;
  }
  .venue-home-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 720px) {
  .launch-hero-v21 .launch-hero-copy h1 {
    font-size: clamp(3.5rem, 15vw, 5.4rem) !important;
  }
  .launch-hero-photos {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    min-height: auto;
  }
  .launch-hero-photos article {
    min-height: 260px;
  }
  .launch-hero-photos .hero-photo-main {
    grid-row: auto;
  }
  .venue-home-grid {
    grid-template-columns: 1fr;
  }
  .venue-home-section {
    width: min(calc(100% - 24px), 1180px);
  }
}

/* V22 urgent launch fixes */
.launch-hero-v21,
.bw-heritage-hero {
  background: #070707 !important;
}
.launch-hero-v21::before,
.launch-hero-v21::after,
.bw-heritage-hero::before,
.bw-heritage-hero::after {
  display: none !important;
}
.launch-hero-photos {
  height: 500px !important;
  min-height: 500px !important;
  max-height: 500px !important;
  overflow: hidden !important;
  align-self: center !important;
}
.launch-hero-photos article {
  height: 100% !important;
  min-height: 0 !important;
  max-height: none !important;
}
.launch-hero-photos .hero-photo-main {
  height: 500px !important;
  min-height: 500px !important;
  max-height: 500px !important;
}
.launch-hero-photos article:not(.hero-photo-main) {
  height: 241px !important;
  min-height: 241px !important;
  max-height: 241px !important;
}
.launch-hero-photos img,
.bw-photo img,
.photo-tile img,
.mosaic-item img,
.full-photo-item img {
  width: 100% !important;
  height: 100% !important;
  min-height: 100% !important;
  object-fit: cover !important;
  display: block !important;
  opacity: 1 !important;
  visibility: visible !important;
}
.mosaic-grid {
  grid-auto-flow: dense !important;
}
.mosaic-item {
  min-height: 170px !important;
  display: block !important;
}
.mosaic-item:empty,
.photo-tile:empty,
.full-photo-item:empty {
  display: none !important;
}
.mosaic-item::before,
.photo-tile::before,
.full-photo-item::before {
  display: none !important;
}
.nav a,
button,
[data-route],
.link-button {
  pointer-events: auto !important;
  position: relative;
  z-index: 20;
}
.topbar {
  z-index: 100 !important;
}
@media (max-width: 1100px) {
  .launch-hero-photos {
    height: auto !important;
    max-height: none !important;
    min-height: 0 !important;
  }
  .launch-hero-photos .hero-photo-main,
  .launch-hero-photos article:not(.hero-photo-main) {
    height: 280px !important;
    min-height: 280px !important;
    max-height: 280px !important;
  }
}

/* V23 venue and formatting fixes */
.hotel-overview-grid { display:grid; grid-template-columns: minmax(0,1.2fr) minmax(300px,.8fr); gap:22px; width:min(1180px, calc(100% - 56px)); margin:0 auto 28px; }
.hotel-notes-card { display:flex; flex-direction:column; justify-content:center; }
.hotel-notes-card h3 { margin-top:0; margin-bottom:18px; text-align:left; }
.check-list { margin:0 0 20px; padding-left:1.2rem; }
.check-list li { margin:0 0 12px; line-height:1.55; color:#f4f2ee; text-align:left; }
.fullwidth-btn { width:100%; text-align:center; justify-content:center; }
.venue-gallery-section { width:min(1180px, calc(100% - 56px)); margin:46px auto 0; }
.photo-rail.venue-rail { display:grid; grid-auto-flow:column; grid-auto-columns:minmax(280px, 1fr); gap:18px; overflow-x:auto; padding-bottom:8px; }
.venue-slide { min-height:280px; border-radius:24px; overflow:hidden; border:1px solid rgba(255,255,255,.12); background:#151515; }
.venue-slide.wide { grid-auto-columns:minmax(420px, 1.35fr); }
.venue-slide img { width:100%; height:100%; min-height:280px; object-fit:cover; display:block; }
.explore-map-shell { width:min(1180px, calc(100% - 56px)); margin:0 auto; display:grid; gap:22px; }
.explore-map-head { display:flex; justify-content:space-between; gap:20px; align-items:end; flex-wrap:wrap; }
.map-switchers { display:flex; gap:10px; flex-wrap:wrap; }
.map-switch.active { background:#f4f2ee !important; color:#111 !important; }
.explore-map-frame-wrap { border-radius:26px; overflow:hidden; border:1px solid rgba(255,255,255,.12); background:#111; box-shadow:0 20px 45px rgba(0,0,0,.3); }
.google-map-frame { width:100%; height:520px; border:0; display:block; }
.explore-venue-cards { display:grid; grid-template-columns:repeat(3, minmax(0,1fr)); gap:18px; }
.philly-picks-grid { display:grid; grid-template-columns:repeat(4, minmax(0,1fr)); gap:18px; }
.philly-pick { padding:24px; border-radius:22px; border:1px solid rgba(255,255,255,.12); background:linear-gradient(180deg,#181818,#0e0e0e); display:grid; gap:12px; }
.philly-pick span { text-transform:uppercase; letter-spacing:.16em; font-size:.72rem; color:rgba(244,242,238,.65); }
.philly-pick h3 { margin:0; font-size:1.55rem; }
.philly-pick p { margin:0; color:rgba(244,242,238,.82); line-height:1.55; }
.philly-pick a { color:#f4f2ee; font-weight:600; text-decoration:none; }
.login-panel { top:96px !important; left:50% !important; transform:translateX(-50%) !important; max-height:calc(100vh - 128px); overflow:auto; padding-top:34px !important; }
.login-panel h2 { margin-top:8px; }
.login-panel .muted { margin-bottom:20px !important; }
.modal-backdrop { z-index:120 !important; }
.login-panel { z-index:130 !important; }
.close { top:16px !important; right:16px !important; }
.create-password-card .help-note, .form-card .help-note:first-child { margin-bottom:20px !important; }
.create-password-card .stacked-form { gap:18px; }
.hero-actions .link-button, .toolbar .link-button { display:inline-flex; align-items:center; justify-content:center; }
@media (max-width: 1100px) {
  .hotel-overview-grid, .explore-venue-cards { grid-template-columns:1fr; }
  .philly-picks-grid { grid-template-columns:repeat(2, minmax(0,1fr)); }
}
@media (max-width: 720px) {
  .hotel-overview-grid, .venue-gallery-section, .explore-map-shell { width:min(calc(100% - 24px), 1180px); }
  .philly-picks-grid, .explore-venue-cards { grid-template-columns:1fr; }
  .google-map-frame { height:420px; }
  .login-panel { top:76px !important; width:min(92vw, 540px) !important; max-height:calc(100vh - 92px); }
}

/* V24 admin-only portal fixes */
body.is-admin .dash-nav [data-tab],
body.is-admin .dash-nav .admin-only {
  display: none !important;
}
body.is-admin .dash-nav [data-admin-tab] {
  display: block !important;
}
.dash-nav [data-admin-tab] {
  display: none;
}
body.is-admin .dash-nav [data-admin-tab] {
  display: block;
}
.dash-nav button.active,
.dash-nav [data-admin-tab].active {
  background: #f4f2ee !important;
  color: #111 !important;
}
.simple-action-card {
  text-align: left;
  cursor: pointer;
}
.dash-panel select[data-admin-status] {
  min-width: 160px;
}

/* V25 final backend and visual polish */
body, p, li, td, th, label, .muted, .help-note, .dash-panel p, .card p, .callout-card p,
.split-section p, .legacy-mosaic-head p, .home-gallery-copy p {
  color: rgba(244,242,238,.84) !important;
}
button, .link-button, a.link-button, .primary, .secondary, .ghost {
  background: #f4f2ee !important;
  color: #111 !important;
  border: 1px solid rgba(244,242,238,.72) !important;
  text-decoration: none !important;
}
button:hover, .link-button:hover, .primary:hover, .secondary:hover, .ghost:hover {
  background: #ffffff !important;
  color: #000 !important;
}
.danger, button.danger {
  background: #9b1c1c !important;
  border-color: #9b1c1c !important;
  color: #fff !important;
}
.danger:hover, button.danger:hover {
  background: #c62828 !important;
  color: #fff !important;
}
.dash-nav button.active,
.dash-nav [data-admin-tab].active,
.map-switch.active {
  background: #fff !important;
  color: #111 !important;
}
.hotel-notes-card,
.card.hotel-notes-card {
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  align-items: stretch !important;
  text-align: left !important;
  padding: 32px !important;
}
.hotel-notes-card h3 {
  width: 100%;
  margin: 0 0 18px !important;
  color: #fff !important;
}
.hotel-notes-card .check-list {
  margin: 0 0 22px !important;
  padding-left: 1.2rem !important;
  width: 100%;
}
.hotel-notes-card .check-list li {
  color: rgba(244,242,238,.88) !important;
  line-height: 1.55 !important;
  margin-bottom: 11px !important;
}
.hotel-notes-card .fullwidth-btn {
  width: 100% !important;
  justify-content: center !important;
  text-align: center !important;
}
.venue-home-grid a img,
.venue-slide img,
.venue-photo img {
  filter: none !important;
  transform: none !important;
}
.visual-explore-section {
  margin-top: 56px !important;
}
.visual-picks-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 24px;
}
.visual-pick {
  min-height: 360px;
  border-radius: 26px;
  overflow: hidden;
  position: relative;
  background: #111;
  border: 1px solid rgba(255,255,255,.14);
  padding: 22px;
  display: grid;
  align-content: end;
  text-decoration: none;
  box-shadow: 0 18px 45px rgba(0,0,0,.25);
}
.visual-pick.big {
  grid-column: span 2;
}
.visual-pick img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: none !important;
  opacity: .72;
}
.visual-pick::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.08) 15%, rgba(0,0,0,.86) 100%);
}
.visual-pick span,
.visual-pick h3,
.visual-pick p,
.visual-pick a {
  position: relative;
  z-index: 2;
}
.visual-pick span {
  color: rgba(255,255,255,.75);
  letter-spacing: .18em;
  text-transform: uppercase;
  font-size: .72rem;
}
.visual-pick h3 {
  color: #fff !important;
  font-size: 1.75rem;
  margin: 8px 0;
}
.visual-pick p {
  color: rgba(255,255,255,.84) !important;
  line-height: 1.55;
  margin: 0 0 12px;
}
.visual-pick a {
  color: #fff !important;
  font-weight: 700;
}
.admin-edit-panel .form-row-title {
  align-items: center;
}
.admin-guest-edit {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr)) auto;
  gap: 12px;
  align-items: end;
  padding: 16px;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.04);
  margin-bottom: 12px;
}
.admin-status-select {
  min-width: 150px;
}
.attendee-email-results {
  display: grid;
  gap: 8px;
  max-height: 280px;
  overflow: auto;
  padding: 12px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 18px;
  background: rgba(255,255,255,.04);
  margin: 12px 0 18px;
}
.attendee-email-row {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(255,255,255,.05);
  color: #fff !important;
}
.attendee-email-row input {
  width: 18px !important;
  height: 18px;
  min-height: 18px;
}
.attendee-email-row small {
  display: block;
  color: rgba(244,242,238,.62);
}
.guest-ready-section p,
.guest-ready-section .callout-card p {
  color: rgba(244,242,238,.84) !important;
}
@media (max-width: 1100px) {
  .visual-picks-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .admin-guest-edit { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 720px) {
  .visual-picks-grid { grid-template-columns: 1fr; }
  .visual-pick.big { grid-column: auto; }
  .admin-guest-edit { grid-template-columns: 1fr; }
}

/* V26 launch final visual fixes */
:root {
  --btn-light-bg: #f4f2ee;
  --btn-light-text: #111;
  --btn-dark-bg: #0b0b0b;
  --btn-dark-text: #fff;
}
button, .link-button, a.link-button {
  color: var(--btn-light-text) !important;
  background: var(--btn-light-bg) !important;
  border: 1px solid rgba(244,242,238,.76) !important;
}
button.primary, .primary, a.primary, .link-button.primary {
  color: var(--btn-dark-text) !important;
  background: var(--btn-dark-bg) !important;
  border-color: rgba(255,255,255,.28) !important;
}
button.secondary, .secondary, a.secondary, .link-button.secondary,
button.ghost, .ghost, a.ghost {
  color: var(--btn-light-text) !important;
  background: var(--btn-light-bg) !important;
  border-color: rgba(244,242,238,.72) !important;
}
.dash-nav button,
.dash-nav [data-admin-tab] {
  background: #0b0b0b !important;
  color: #fff !important;
  border-color: rgba(255,255,255,.16) !important;
}
.dash-nav button.active,
.dash-nav [data-admin-tab].active {
  background: #f4f2ee !important;
  color: #111 !important;
  border-color: #f4f2ee !important;
}
.danger, button.danger {
  background: #9b1c1c !important;
  color: #fff !important;
  border-color: #9b1c1c !important;
}
.toolbar .ghost.link-button,
.explore-card .ghost.link-button,
.explore-venue-cards .link-button {
  background: #f4f2ee !important;
  color: #111 !important;
  border-color: rgba(244,242,238,.8) !important;
}
.v26-venue-grid a,
.venue-home-grid a {
  min-height: 310px !important;
  display: grid !important;
  align-content: end !important;
}
.v26-venue-grid img,
.venue-home-grid img {
  display: block !important;
  opacity: 1 !important;
  visibility: visible !important;
  filter: none !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  z-index: 0 !important;
}
.v26-venue-grid a::after,
.venue-home-grid a::after {
  z-index: 1 !important;
}
.v26-venue-grid span,
.v26-venue-grid b,
.venue-home-grid span,
.venue-home-grid b {
  z-index: 2 !important;
}
.venue-slide {
  min-height: 360px !important;
}
.venue-slide img {
  min-height: 360px !important;
  height: 360px !important;
  object-fit: cover !important;
  filter: none !important;
  image-rendering: auto;
}
.photo-rail.venue-rail {
  grid-auto-columns: minmax(360px, 1fr) !important;
}
.hotel-notes-card {
  min-height: 100% !important;
  justify-content: center !important;
}
.hotel-notes-card .fullwidth-btn {
  margin-top: 8px !important;
  align-self: stretch !important;
}
.explore-catalog-tools {
  display: grid;
  gap: 16px;
  margin: 24px 0;
  padding: 18px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 22px;
  background: rgba(255,255,255,.04);
}
.explore-catalog-tools input {
  width: 100%;
}
.thing-filters {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.thing-filters button.active {
  background: #fff !important;
  color: #111 !important;
}
.visual-pick {
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.visual-pick:hover {
  transform: translateY(-4px);
  border-color: rgba(255,255,255,.32);
  box-shadow: 0 26px 62px rgba(0,0,0,.42);
}
.visual-pick img {
  filter: none !important;
  opacity: .78 !important;
}
.visual-pick a {
  display: inline-flex;
  width: fit-content;
  padding: 10px 14px;
  border: 1px solid rgba(255,255,255,.34);
  border-radius: 999px;
  color: #fff !important;
  text-decoration: none !important;
}
.admin-edit-panel input,
.admin-edit-panel select,
.admin-edit-panel textarea,
.attendee-email-results input,
.dash-panel input,
.dash-panel select,
.dash-panel textarea {
  background: #f4f2ee !important;
  color: #111 !important;
}
.simple-action-card {
  background: #0b0b0b !important;
  color: #fff !important;
  border-color: rgba(255,255,255,.16) !important;
}
.simple-action-card b,
.simple-action-card span {
  color: inherit !important;
}
.guest-ready-section p,
.guest-ready-section .callout-card p,
.split-section p,
.callout-card p {
  color: rgba(244,242,238,.84) !important;
}
@media (max-width: 720px) {
  .venue-slide img,
  .venue-slide {
    height: 280px !important;
    min-height: 280px !important;
  }
  .photo-rail.venue-rail {
    grid-auto-columns: minmax(280px, 1fr) !important;
  }
}

/* V29 final image pack and back-to-top alignment */
.back-to-top,
#backToTop {
  display: none;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  line-height: 1 !important;
  padding: 0 !important;
  font-size: 24px !important;
  font-family: Arial, sans-serif !important;
}
.back-to-top.visible,
#backToTop.visible {
  display: flex !important;
}
.back-to-top::before,
#backToTop::before {
  content: none !important;
}
.venue-home-grid img,
.venue-slide img,
.visual-pick img,
.photo-rail img {
  image-rendering: auto !important;
  filter: none !important;
  transform: none !important;
}
.visual-pick img {
  opacity: .82 !important;
}

/* V30 account/invite/admin controls */
.guest-admin-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: end;
}
.guest-admin-actions button {
  white-space: nowrap;
}
.admin-guest-edit {
  grid-template-columns: repeat(5, minmax(0, 1fr)) minmax(220px, auto) !important;
}
[data-tab-jump], [data-admin-jump] {
  cursor: pointer;
}
@media (max-width: 1100px) {
  .admin-guest-edit {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
  .guest-admin-actions {
    grid-column: 1 / -1;
  }
}
