: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%;
  }
}
