/* Bright, festive, photo-forward draft palette — not a confirmed brand.
   Warm cream, poinsettia red, gold, and a hint of Gerry's periwinkle. */

:root {
  --bg: #fffaf4;
  --bg-card: #ffffff;
  --bg-warm: #fff1e4;
  --ink: #3b241c;
  --ink-soft: #6a4a3c;
  --ink-faint: #9a7466;
  --berry: #c12e28;
  --berry-dark: #9a221d;
  --gold: #d4a03a;
  --gold-soft: #f7e4b0;
  --peri: #4f73b0;
  --line: rgba(59, 36, 28, 0.12);
  --shadow: 0 18px 40px rgba(59, 36, 28, 0.08);
  --font-serif: "Fraunces", "Iowan Old Style", Palatino, Georgia, serif;
  --font-sans: "Source Sans 3", "Segoe UI", system-ui, sans-serif;
  --radius: 20px;
  --max: 1180px;
  --header-h: 6.25rem;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  min-height: 100vh;
}
img { max-width: 100%; height: auto; display: block; }
img[hidden], [hidden] { display: none !important; }
a { color: var(--peri); text-underline-offset: 0.15em; }
a:hover { color: var(--berry-dark); }
:focus-visible { outline: 3px solid var(--berry); outline-offset: 3px; }

.skip-link {
  position: absolute; left: 1rem; top: -4rem;
  background: var(--berry); color: #fff;
  padding: 0.6rem 1rem; z-index: 200; border-radius: 8px;
}
.skip-link:focus { top: 1rem; }
.wrap { width: min(100% - 2rem, var(--max)); margin-inline: auto; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 90%, white);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  padding-top: max(1.25rem, env(safe-area-inset-top, 0px));
  padding-bottom: 1.2rem;
  overflow: visible;
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 3.75rem; gap: 1rem;
  overflow: visible;
}
.brand {
  display: flex; align-items: center; gap: 0.85rem;
  text-decoration: none; color: inherit;
  overflow: visible;
  padding-top: 0.1rem;
}
.pie-mark {
  width: 3.5rem; height: 3.5rem; flex-shrink: 0;
  display: block;
}
.wordmark { display: grid; gap: 0.2rem; line-height: 1.3; overflow: visible; }
.wordmark-kicker {
  font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--ink-faint); font-weight: 700;
  line-height: 1.4;
  padding-block: 0.15em 0.05em;
  overflow: visible;
}
.wordmark-name { font-family: var(--font-serif); font-weight: 600; font-size: 0.95rem; max-width: 16rem; line-height: 1.25; }
@media (min-width: 960px) {
  .site-header {
    padding-top: max(1.4rem, env(safe-area-inset-top, 0px));
    padding-bottom: 1.35rem;
  }
  .wordmark-name { font-size: 1.05rem; max-width: 18rem; }
}

.nav-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 2.75rem; height: 2.75rem;
  border: 1px solid var(--line); border-radius: 10px;
  background: var(--bg-card); color: var(--ink); cursor: pointer;
}
.nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after {
  display: block; width: 1.1rem; height: 2px; background: currentColor; position: relative;
}
.nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle-bars::before { top: -6px; }
.nav-toggle-bars::after { top: 6px; }

.site-nav {
  position: absolute; left: 0; right: 0; top: 100%;
  background: var(--bg-card); border-bottom: 1px solid var(--line);
  display: none; padding: 0.5rem 1rem 1rem;
}
.site-nav.is-open { display: block; }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.15rem; }
.site-nav a {
  display: block; text-decoration: none; color: var(--ink);
  padding: 0.7rem 0.85rem; border-radius: 10px; font-weight: 600;
}
.site-nav a:hover, .site-nav a[aria-current="page"] {
  background: var(--bg-warm); color: var(--berry-dark);
}

@media (min-width: 960px) {
  .nav-toggle { display: none; }
  .header-inner { display: grid; grid-template-columns: auto 1fr; align-items: center; }
  .site-nav { position: static; display: block; background: transparent; border: 0; padding: 0; justify-self: end; }
  .site-nav ul { display: flex; gap: 0.1rem; flex-wrap: wrap; justify-content: flex-end; }
  .site-nav a { padding: 0.4rem 0.7rem; font-size: 0.95rem; }
}

/* Hero */
.full-hero {
  position: relative;
  min-height: min(86vh, 820px);
  display: grid;
  align-items: end;
  color: #fff;
  overflow: hidden;
  background: #3b241c;
}
.full-hero img.hero-photo {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center 45%;
}
.full-hero::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(30, 14, 10, 0.78) 0%, rgba(30, 14, 10, 0.25) 48%, rgba(30, 14, 10, 0.12) 100%);
}
.full-hero .wrap { position: relative; z-index: 1; padding: 5.5rem 0 3rem; }
.eyebrow {
  font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase;
  font-weight: 700; color: var(--gold-soft); margin: 0 0 0.7rem;
}
.full-hero .eyebrow { color: var(--gold-soft); }
h1, h2, h3 { font-family: var(--font-serif); font-weight: 600; letter-spacing: -0.02em; line-height: 1.15; margin: 0; }
.full-hero h1 { font-size: clamp(2.4rem, 7.5vw, 5.2rem); max-width: 18ch; }
.lede { font-size: clamp(1.1rem, 2.2vw, 1.3rem); color: var(--ink-soft); max-width: 38rem; margin: 1.1rem 0 0; }
.full-hero .lede { color: rgba(255,250,244,0.92); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.6rem; }

.btn {
  display: inline-flex; align-items: start; justify-content: center; gap: 0.4rem;
  padding: 0.8rem 1.25rem; border-radius: 999px; text-decoration: none;
  font-weight: 600; border: 1px solid transparent; cursor: pointer;
  font-family: inherit; font-size: 1rem; line-height: 1.2;
}
.btn-primary { background: var(--berry); color: #fff; }
.btn-primary:hover { background: var(--berry-dark); color: #fff; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { background: var(--bg-card); color: var(--ink); }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--gold-soft); color: var(--ink); }
.btn-on-dark { background: transparent; color: #fff; border-color: rgba(255,255,255,0.4); }
.btn-on-dark:hover { background: rgba(255,255,255,0.12); color: #fff; }
.btn-gold { background: var(--gold); color: var(--ink); }
.btn-gold:hover { filter: brightness(0.95); color: var(--ink); }

.placeholder-flag, .partial-flag {
  display: inline-block; font-family: var(--font-sans);
  font-size: 0.68rem; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; background: var(--gold-soft); color: var(--ink);
  padding: 0.2rem 0.5rem; border-radius: 999px; vertical-align: middle;
}
.partial-flag { background: #fde8c4; }

/* Sections */
.section { padding: clamp(2.5rem, 6vw, 4.5rem) 0; }
.section-header { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; align-items: end; margin-bottom: 1.5rem; }
.section-header h2, .page-hero h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
.page-hero { padding: clamp(2rem, 5vw, 3.2rem) 0 1.25rem; }
.intro, .section-header p { color: var(--ink-soft); max-width: 40rem; margin: 0.5rem 0 0; }

/* Photo mosaic */
.mosaic {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.55rem;
}
.mosaic a, .mosaic figure { margin: 0; border-radius: 14px; overflow: hidden; background: var(--bg-warm); }
.mosaic img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 1; }
.mosaic .wide { grid-column: 1 / -1; }
.mosaic .wide img { aspect-ratio: 16 / 9; }
@media (min-width: 760px) {
  .mosaic { grid-template-columns: 1.3fr 1fr 1fr; grid-template-rows: 220px 220px; gap: 0.7rem; }
  .mosaic .feature { grid-row: 1 / 3; }
  .mosaic .feature img, .mosaic img { aspect-ratio: auto; height: 100%; }
  .mosaic .wide { grid-column: auto; }
}

/* Year cards */
.year-grid, .card-grid { display: grid; gap: 1.15rem; align-items: start; }
@media (min-width: 700px) {
  .year-grid, .card-grid.cols-2, .card-grid.cols-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 980px) {
  .year-grid, .card-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
  .card-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
}
.card {
  background: var(--bg-card); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
  display: flex; flex-direction: column; text-decoration: none; color: inherit;
}
a.card:hover { transform: translateY(-2px); box-shadow: 0 22px 44px rgba(59,36,28,0.12); }
.card-media { aspect-ratio: 4/3; background: var(--bg-warm); overflow: hidden; position: relative; }
.card-media img { width: 100%; height: 100%; object-fit: cover; }
.card-body { padding: 1.1rem 1.15rem 1.3rem; display: flex; flex-direction: column; gap: 0.35rem; flex: 1; }
.card-body h2, .card-body h3 { font-size: 1.5rem; }
.meta { color: var(--ink-soft); font-size: 0.95rem; margin: 0; }

.split { display: grid; gap: 1.75rem; align-items: start; }
@media (min-width: 820px) {
  .split { grid-template-columns: 1.05fr 0.95fr; gap: 3rem; }
  .split.reverse { grid-template-columns: 0.95fr 1.05fr; }
  .split.reverse .split-copy { order: 2; }
}
.split-copy h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); margin-bottom: 0.8rem; }
.portrait { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line); background: var(--bg-card); }
.portrait img { width: 100%; object-fit: cover; }
.portrait.square img { aspect-ratio: 1; object-position: center 15%; }
.portrait.wide img { aspect-ratio: 4/3; object-position: center 30%; }
.portrait figcaption { font-size: 0.85rem; color: var(--ink-faint); padding: 0.7rem 1rem 1rem; }

/* Year page */
.year-hero { position: relative; min-height: min(62vh, 620px); display: grid; align-items: end; color: #fff; overflow: hidden; background: #3b241c; }
.year-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.year-hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(30,14,10,0.78), rgba(30,14,10,0.15));
}
.year-hero .wrap { position: relative; z-index: 1; padding: 5rem 0 2.4rem; }
.year-hero h1 { font-size: clamp(2.4rem, 7vw, 4.4rem); }
.year-hero .meta, .year-hero p { color: rgba(255,250,244,0.9); }

.notice {
  background: var(--bg-warm); border: 1px solid color-mix(in srgb, var(--gold) 50%, var(--line));
  border-radius: 14px; padding: 0.95rem 1.1rem; color: var(--ink-soft); margin: 0 0 1.4rem;
}

.slideshow-slot {
  margin: 0 0 2rem; border-radius: var(--radius); overflow: hidden;
  background: #2a1a16; color: #f7efe4;
  text-align: center; padding: 1.75rem 1.5rem;
  display: grid; place-items: center;
}
.slideshow-slot.has-video { aspect-ratio: 16/9; padding: 0; background: #1c1210; }
.slideshow-slot p { margin: 0; max-width: 36rem; }
.slideshow-slot iframe, .slideshow-slot video { width: 100%; height: 100%; border: 0; }

.gallery-grid, .thumb-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.5rem;
}
@media (min-width: 560px) { .gallery-grid, .thumb-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 880px) {
  .gallery-grid, .thumb-grid { grid-template-columns: repeat(4, 1fr); gap: 0.65rem; }
}
.gallery-grid a, .thumb-grid a {
  display: block; border-radius: 12px; overflow: hidden; background: var(--bg-warm);
}
.gallery-grid img, .thumb-grid img {
  width: 100%; aspect-ratio: 1; object-fit: cover; object-position: center 50%;
  transition: transform 0.35s ease;
}
.gallery-grid a:hover img, .thumb-grid a:hover img { transform: scale(1.04); }

.booth-toolbar, .year-toolbar {
  display: flex; flex-wrap: wrap; justify-content: space-between;
  gap: 0.75rem; align-items: start; margin: 0 0 1rem;
}
.party-picker { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 1rem 0 1.25rem; }
.chip {
  appearance: none; border: 1px solid var(--line); background: var(--bg-card);
  color: var(--ink); border-radius: 999px; padding: 0.55rem 0.95rem;
  font: inherit; font-weight: 600; cursor: pointer;
}
.chip[aria-pressed="true"], .chip.is-active { background: var(--berry); color: #fff; border-color: var(--berry); }

/* Lightbox */
body.lightbox-open { overflow: hidden; }
body.lightbox-open .site-header { visibility: hidden; }
.lightbox {
  position: fixed; inset: 0; background: #140806; display: none; z-index: 200; padding: 1rem;
}
.lightbox.is-open { display: grid; place-items: center; align-content: center; }
.lightbox-inner { width: min(100%, 900px); max-height: 100%; display: grid; gap: 0.85rem; }
.lightbox-stage { display: grid; place-items: center; }
.lightbox-stage img { max-height: min(70vh, 820px); width: auto; max-width: 100%; margin: 0 auto; border-radius: 8px; }
.lightbox-bar { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.75rem; align-items: start; color: #f7efe4; }
.lightbox-caption { margin: 0; font-size: 0.95rem; }
.lightbox-nav { display: flex; gap: 0.4rem; flex-wrap: wrap; align-items: start; }
.icon-btn {
  width: 2.75rem; height: 2.75rem; border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.25); background: rgba(255,255,255,0.08);
  color: #fff; cursor: pointer; font-size: 1.2rem;
}
.icon-btn:hover { background: rgba(255,255,255,0.18); }
.lightbox-close { position: absolute; top: 0.75rem; right: 0.75rem; }
@media (max-width: 700px) {
  .lightbox { padding: 3.25rem 0.85rem 1.25rem; }
  .lightbox-stage img { max-height: min(54vh, 820px); }
  .lightbox-bar { flex-direction: column; align-items: start; text-align: center; }
}

/* Contact */
.contact-grid { display: grid; gap: 1.5rem; }
@media (min-width: 800px) { .contact-grid { grid-template-columns: 0.9fr 1.1fr; gap: 3rem; align-items: start; } }
.contact-list { list-style: none; margin: 1.25rem 0 0; padding: 0; display: grid; gap: 0.85rem; }
.contact-list a { color: var(--ink); text-decoration: none; font-weight: 600; }
.contact-list a:hover { color: var(--berry); }
.contact-list span { display: block; font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-faint); font-weight: 700; }
.form { display: grid; gap: 0.85rem; background: var(--bg-card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.25rem; box-shadow: var(--shadow); }
.form label { display: grid; gap: 0.35rem; font-weight: 600; font-size: 0.95rem; }
.form input, .form textarea { font: inherit; padding: 0.7rem 0.8rem; border-radius: 10px; border: 1px solid var(--line); background: #fff; color: var(--ink); width: 100%; }
.form-note { margin: 0; font-size: 0.85rem; color: var(--ink-faint); }
.designations { display: flex; flex-wrap: wrap; gap: 0.4rem; margin: 0.8rem 0 0; padding: 0; }
.designations li { list-style: none; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.04em; border: 1px solid var(--line); border-radius: 999px; padding: 0.25rem 0.6rem; color: var(--ink-soft); }

.site-footer { background: #3b241c; color: #fff6ec; padding: 2.5rem 0 2rem; margin-top: 2.5rem; }
.footer-grid { display: grid; gap: 1.5rem; }
@media (min-width: 720px) { .footer-grid { grid-template-columns: 1.3fr 1fr 1fr; } }
@media (min-width: 980px) { .footer-grid { grid-template-columns: 1.3fr 0.9fr 1fr auto; align-items: start; } }
.site-footer a { color: var(--gold-soft); }
.site-footer h2 { font-size: 1.15rem; margin-bottom: 0.5rem; }
.fineprint { margin-top: 2rem; padding-top: 1.25rem; border-top: 1px solid rgba(255,246,236,0.15); color: rgba(255,246,236,0.65); font-size: 0.85rem; }
.empty-state, .error-state { background: var(--bg-card); border: 1px dashed color-mix(in srgb, var(--gold) 60%, var(--line)); border-radius: var(--radius); padding: 1.5rem; color: var(--ink-soft); }

.visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0;}

/* West USA Realty logo */
.broker-logo-link { display: inline-block; line-height: 0; }
.broker-logo { width: min(220px, 70vw); height: auto; }
.footer-broker { display: flex; align-items: flex-start; }
.broker-logo-on-dark,
.footer-broker .broker-logo-link {
  background: #fffaf4;
  border-radius: 12px;
  padding: 0.7rem 0.85rem;
  box-shadow: 0 0 0 1px rgba(255,246,236,0.15);
}
.broker-logo-on-light { margin-top: 1.1rem; }

/* Giving Thanks accents */
.motto {
  margin: 0;
  padding: 0 0 0 1.1rem;
  border-left: 3px solid var(--gold);
  color: var(--ink);
}
.motto p { margin: 0; font-size: 1.02rem; line-height: 1.65; }
.event-facts {
  list-style: none; margin: 0 0 2rem; padding: 1.15rem 1.25rem;
  background: var(--bg-warm); border: 1px solid var(--line);
  border-radius: var(--radius); display: grid; gap: 0.85rem;
}
.event-facts li { margin: 0; }
.event-facts span {
  display: block; font-size: 0.75rem; letter-spacing: 0.1em;
  text-transform: uppercase; font-weight: 700; color: var(--berry-dark);
  margin-bottom: 0.15rem;
}
.footer-social { margin-top: 0.6rem; }
.tradition { position: relative; }

.no-break{white-space:nowrap;}
