/* ==========================================================================
   Event Center Miami — site styles
   Mobile-first. No framework, no build step.
   ========================================================================== */

@font-face {
  font-family: 'Playfair Display';
  src: url('/assets/fonts/playfair-display-var-latin.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

/* ------------------------------------------------------------- tokens */
:root {
  --ink: #0b0b0c;
  --ink-2: #17171b;
  --ink-3: #242429;
  --gold: #c9a227;
  --gold-soft: #e4c87f;
  --gold-dim: rgba(201, 162, 39, .28);
  --cream: #f7f4ee;
  --paper: #fff;
  --body: #3a3a3e;
  --muted: #6c6c74;
  --line: #e4e0d8;

  --serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;

  --wrap: 1180px;
  --pad: clamp(1.15rem, 5vw, 2rem);
  --section: clamp(3.5rem, 8vw, 6rem);
  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 18px 44px -22px rgba(11, 11, 12, .35);
  --shadow-lift: 0 26px 60px -26px rgba(11, 11, 12, .45);
}

/* -------------------------------------------------------------- reset */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--body);
  background: var(--paper);
  overflow-x: hidden;
}

img, svg, video, iframe { max-width: 100%; display: block; }
img { height: auto; }

/* icon sprite */
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.i { width: 18px; height: 18px; flex-shrink: 0; }
.stars .i, .nav-phone .i { width: 16px; height: 16px; }
.pkg li .i, .feature-list .i { margin-top: .3rem; }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.15;
  color: var(--ink);
  margin: 0 0 .6em;
  letter-spacing: -.01em;
}
h1 { font-size: clamp(2.1rem, 6.2vw, 3.5rem); }
h2 { font-size: clamp(1.7rem, 4.4vw, 2.6rem); }
h3 { font-size: clamp(1.2rem, 2.6vw, 1.45rem); }
h4 { font-size: 1.0625rem; font-family: var(--sans); font-weight: 700; }

p { margin: 0 0 1.1em; }
p:last-child, ul:last-child, ol:last-child { margin-bottom: 0; }

a { color: inherit; }
a:focus-visible, button:focus-visible, summary:focus-visible,
input:focus-visible, textarea:focus-visible, select:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
  border-radius: 3px;
}

hr { border: 0; border-top: 1px solid var(--line); margin: 2.5rem 0; }

/* --------------------------------------------------------- primitives */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--pad); }
.narrow { max-width: 760px; margin-inline: auto; }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--gold); color: var(--ink); padding: .75rem 1.25rem;
  font-weight: 700; text-decoration: none;
}
.skip-link:focus { left: .5rem; top: .5rem; }

.section { padding-block: var(--section); }
.section-dark { background: var(--ink); color: #d9d9de; }
.section-dark h1, .section-dark h2, .section-dark h3 { color: #fff; }
.section-cream { background: var(--cream); }

.eyebrow {
  display: block;
  font-family: var(--sans);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #7d6415;
  margin-bottom: .85rem;
}
.section-dark .eyebrow { color: var(--gold-soft); }

.section-head { max-width: 720px; margin-bottom: clamp(2rem, 4vw, 3rem); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head p { color: var(--muted); font-size: 1.075rem; }
.section-dark .section-head p { color: #b6b6bd; }

.lede { font-size: clamp(1.075rem, 2.2vw, 1.2rem); color: var(--muted); }
.section-dark .lede { color: #c4c4cb; }

/* ------------------------------------------------------------ buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 50px;
  padding: .8rem 1.6rem;
  border: 2px solid transparent;
  border-radius: 999px;
  font: inherit; font-weight: 700; font-size: .975rem;
  letter-spacing: .02em;
  text-decoration: none;
  cursor: pointer;
  transition: transform .18s ease, background-color .18s ease, color .18s ease, border-color .18s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-sm { min-height: 44px; padding: .6rem 1.2rem; font-size: .9rem; }

.btn-gold { background: var(--gold); color: var(--ink); }
.btn-gold:hover { background: var(--gold-soft); }

.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--ink-3); }

.btn-outline { border-color: var(--gold); color: var(--gold-soft); background: transparent; }
.btn-outline:hover { background: var(--gold); color: var(--ink); }

.btn-ghost { border-color: rgba(255, 255, 255, .38); color: #fff; background: transparent; }
.btn-ghost:hover { border-color: #fff; }

.section-cream .btn-ghost, .section-light .btn-ghost { border-color: var(--ink); color: var(--ink); }

.btn-row { display: flex; flex-wrap: wrap; gap: .8rem; }
.btn-row.center { justify-content: center; }

.textlink {
  display: inline-flex; align-items: center; gap: .4rem;
  font-weight: 700; font-size: .95rem; color: #7d6415;
  text-decoration: none; border-bottom: 2px solid var(--gold-dim); padding-bottom: 2px;
}
.textlink:hover { border-color: var(--gold); }
.section-dark .textlink { color: var(--gold-soft); }

/* ------------------------------------------------------------- header */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--ink);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; min-height: 74px;
}
.brand { display: flex; align-items: center; flex-shrink: 0; }
.brand img { width: 108px; height: auto; }

.nav-toggle {
  display: inline-flex; flex-direction: column; justify-content: center; gap: 5px;
  width: 48px; height: 48px; padding: 0 12px;
  background: transparent; border: 0; cursor: pointer;
}
.nav-toggle-bar {
  display: block; height: 2px; width: 100%; background: #fff; border-radius: 2px;
  transition: transform .25s ease, opacity .2s ease;
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.site-nav {
  position: fixed; inset: 74px 0 0; z-index: 90;
  background: var(--ink);
  padding: 1.5rem var(--pad) 3rem;
  overflow-y: auto;
  display: none;
}
.site-nav.is-open { display: block; }

.nav-list { list-style: none; margin: 0 0 1.75rem; padding: 0; }
.nav-list a {
  display: block;
  padding: .95rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
  color: #fff; text-decoration: none;
  font-size: 1.15rem; font-weight: 600;
}
.nav-list a:hover, .nav-list a[aria-current="page"] { color: var(--gold-soft); }

.nav-actions { display: flex; flex-direction: column; gap: .9rem; }
.nav-phone {
  display: inline-flex; align-items: center; gap: .5rem;
  color: var(--gold-soft); text-decoration: none; font-weight: 700; font-size: 1.05rem;
  min-height: 44px;
}
.nav-phone:hover { color: #fff; }

body.nav-open { overflow: hidden; }

@media (min-width: 960px) {
  .nav-toggle { display: none; }
  .site-nav {
    position: static; display: flex; align-items: center; gap: 1.75rem;
    padding: 0; background: none; overflow: visible;
  }
  .nav-list { display: flex; gap: 1.5rem; margin: 0; }
  .nav-list a {
    padding: .35rem 0; border: 0; font-size: .95rem; font-weight: 600;
    border-bottom: 2px solid transparent;
  }
  .nav-list a[aria-current="page"] { border-color: var(--gold); }
  .nav-actions { flex-direction: row; align-items: center; gap: 1rem; }
  .nav-phone { font-size: .95rem; }
}
@media (min-width: 1080px) { .brand img { width: 124px; } }

/* --------------------------------------------------------------- hero */
.hero { background: var(--ink); color: #cfcfd6; overflow: hidden; }
.hero-grid { display: grid; gap: clamp(2rem, 5vw, 3.5rem); padding-block: clamp(2.75rem, 7vw, 5rem); align-items: center; }

.hero h1 { color: #fff; margin-bottom: .5em; }
.hero h1 .gold { color: var(--gold-soft); }
.hero-sub { font-size: clamp(1.05rem, 2.4vw, 1.2rem); color: #b9b9c1; max-width: 34em; }

.hero-media { position: relative; }
.hero-media img {
  width: 100%; border-radius: var(--radius); box-shadow: var(--shadow-lift);
  aspect-ratio: 4 / 5; object-fit: cover;
}
.hero-badge {
  position: absolute; left: -.35rem; bottom: -1rem;
  background: var(--gold); color: var(--ink);
  border-radius: var(--radius-sm);
  padding: .8rem 1.1rem;
  box-shadow: var(--shadow);
  max-width: 15rem;
}
.hero-badge strong { display: block; font-family: var(--serif); font-size: 1.5rem; line-height: 1; }
.hero-badge span { font-size: .8rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }

.hero-trust {
  display: flex; flex-wrap: wrap; gap: .5rem 1.4rem;
  margin-top: 1.9rem; padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, .12);
  list-style: none; padding-left: 0;
}
.hero-trust li {
  display: flex; align-items: center; gap: .45rem;
  font-size: .9rem; color: #c9c9d1; font-weight: 600;
}
.hero-trust svg { color: var(--gold); flex-shrink: 0; }

@media (min-width: 900px) {
  .hero-grid { grid-template-columns: 1.05fr .95fr; }
  .hero-media img { aspect-ratio: 3 / 4; }
}

/* --------------------------------------------------------- page header */
.page-hero { background: var(--ink); color: #c9c9d1; padding-block: clamp(2.5rem, 6vw, 4rem); }
.page-hero h1 { color: #fff; margin-bottom: .35em; }
.page-hero p { max-width: 46em; color: #b9b9c1; margin-bottom: 0; }

.crumbs { list-style: none; display: flex; flex-wrap: wrap; gap: .45rem; margin: 0 0 1rem; padding: 0; font-size: .85rem; color: #8f8f99; }
.crumbs a { color: #b9b9c1; text-decoration: none; }
.crumbs a:hover { color: var(--gold-soft); }
.crumbs li + li::before { content: '/'; margin-right: .45rem; color: #5a5a63; }

/* -------------------------------------------------------------- cards */
.grid { display: grid; gap: clamp(1rem, 2.4vw, 1.6rem); }
.grid-2 { grid-template-columns: 1fr; }
.grid-3 { grid-template-columns: 1fr; }
.grid-4 { grid-template-columns: repeat(2, 1fr); }
@media (min-width: 640px) { .grid-2 { grid-template-columns: repeat(2, 1fr); } .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } .grid-4 { grid-template-columns: repeat(4, 1fr); } }

.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform .2s ease, box-shadow .2s ease;
}
.card-link:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.card-body { padding: 1.35rem 1.35rem 1.5rem; flex: 1; display: flex; flex-direction: column; }
.card-body h3 { margin-bottom: .4rem; }
.card-body p { font-size: .975rem; color: var(--muted); }
.card-body .textlink { margin-top: auto; padding-top: .9rem; align-self: flex-start; }
.card-kicker {
  font-size: .74rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: #7d6415; margin-bottom: .5rem;
}

/* event-type mini cards */
.tile {
  display: block; position: relative; border-radius: var(--radius); overflow: hidden;
  text-decoration: none; color: #fff; background: var(--ink-2);
  transition: transform .2s ease, box-shadow .2s ease;
}
.tile:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }
.tile img { aspect-ratio: 1 / 1; object-fit: cover; width: 100%; }
.tile-label {
  position: absolute; inset: auto 0 0 0;
  padding: 2.6rem .95rem .95rem;
  background: linear-gradient(to top, rgba(6, 6, 8, .92), rgba(6, 6, 8, 0));
  font-family: var(--serif); font-size: 1.1rem; font-weight: 600;
}
@media (min-width: 640px) { .tile-label { font-size: 1.2rem; } }

/* ------------------------------------------------------------ features */
.feature-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .85rem; }
.feature-list li { display: flex; gap: .7rem; align-items: flex-start; font-size: 1rem; }
.feature-list svg { flex-shrink: 0; margin-top: .3rem; color: var(--gold); }
.section-dark .feature-list li { color: #cbcbd3; }

.split { display: grid; gap: clamp(1.75rem, 5vw, 3.5rem); align-items: center; }
@media (min-width: 900px) {
  .split { grid-template-columns: 1fr 1fr; }
  .split.split-wide-left { grid-template-columns: 1.15fr .85fr; }
}
.split img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; object-fit: cover; }

/* ---------------------------------------------------------- stats bar */
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: rgba(255, 255, 255, .12); border-radius: var(--radius); overflow: hidden; }
.stats > div { background: var(--ink-2); padding: 1.4rem 1.1rem; text-align: center; }
.stats strong { display: block; font-family: var(--serif); font-size: clamp(1.55rem, 4vw, 2.1rem); color: var(--gold-soft); line-height: 1.1; }
.stats span { font-size: .82rem; letter-spacing: .06em; text-transform: uppercase; color: #a5a5ae; font-weight: 600; }
@media (min-width: 760px) { .stats { grid-template-columns: repeat(4, 1fr); } }

/* --------------------------------------------------------- amenities */
.amenity-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: .75rem; }
@media (min-width: 700px) { .amenity-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1000px) { .amenity-grid { grid-template-columns: repeat(4, 1fr); } }
.amenity-grid li {
  display: flex; align-items: center; gap: .6rem;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: .85rem .95rem; font-size: .94rem; font-weight: 600; color: var(--ink);
}
.amenity-grid svg { color: var(--gold); flex-shrink: 0; }

/* ---------------------------------------------------------- packages */
.pkg {
  display: flex; flex-direction: column;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.75rem 1.5rem 1.85rem;
}
.pkg.featured { border-color: var(--gold); box-shadow: var(--shadow); position: relative; }
.pkg.featured::before {
  content: 'Most popular';
  position: absolute; top: -.75rem; left: 1.5rem;
  background: var(--gold); color: var(--ink);
  font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  padding: .3rem .75rem; border-radius: 999px;
}
.pkg h3 { margin-bottom: .2rem; }
.pkg .pkg-type { font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #7d6415; margin-bottom: 1.15rem; }
.pkg ul { list-style: none; margin: 0 0 1.5rem; padding: 0; display: grid; gap: .55rem; }
.pkg li { display: flex; gap: .6rem; font-size: .95rem; align-items: flex-start; }
.pkg li svg { color: var(--gold); flex-shrink: 0; margin-top: .32rem; }
.pkg .btn { margin-top: auto; width: 100%; }

/* ------------------------------------------------------- testimonials */
.quote {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.6rem 1.5rem; display: flex; flex-direction: column; gap: .9rem;
  break-inside: avoid;
}
.quote blockquote { margin: 0; font-size: 1rem; color: var(--body); }
.quote figcaption { font-weight: 700; color: var(--ink); font-size: .93rem; }
.stars { display: flex; gap: 2px; color: var(--gold); }
.quote-masonry { columns: 1; column-gap: clamp(1rem, 2.4vw, 1.6rem); }
.quote-masonry .quote { margin-bottom: clamp(1rem, 2.4vw, 1.6rem); }
@media (min-width: 700px) { .quote-masonry { columns: 2; } }
@media (min-width: 1000px) { .quote-masonry { columns: 3; } }

/* video cards */
.video-card { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--ink); }
.video-card .lite-yt { position: relative; aspect-ratio: 9 / 16; }
.video-card h3 { color: #fff; font-size: 1rem; margin: 0; padding: .9rem 1rem 1.05rem; font-family: var(--sans); font-weight: 700; }

.lite-yt { position: relative; width: 100%; background: #000; cursor: pointer; border: 0; padding: 0; display: block; }
.lite-yt img { width: 100%; height: 100%; object-fit: cover; opacity: .82; }
.lite-yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.lite-yt .play {
  position: absolute; inset: 0; margin: auto;
  width: 62px; height: 62px; border-radius: 50%;
  background: rgba(201, 162, 39, .95); color: #0b0b0c;
  display: grid; place-items: center;
  transition: transform .2s ease;
}
.lite-yt:hover .play { transform: scale(1.08); }

/* ---------------------------------------------------------------- FAQ */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem;
  padding: 1.15rem 0; cursor: pointer; list-style: none;
  font-family: var(--serif); font-size: clamp(1.05rem, 2.4vw, 1.25rem); font-weight: 600; color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ''; flex-shrink: 0; width: 13px; height: 13px; margin-top: .45rem;
  border-right: 2px solid var(--gold); border-bottom: 2px solid var(--gold);
  transform: rotate(45deg); transition: transform .2s ease;
}
.faq details[open] summary::after { transform: rotate(-135deg); }
.faq .faq-body { padding: 0 0 1.35rem; color: var(--body); font-size: 1rem; max-width: 62em; }
.faq .faq-body > *:first-child { margin-top: 0; }

/* ------------------------------------------------------------ CTA band */
.cta-band { background: var(--ink); color: #c9c9d1; }
.cta-band .wrap { padding-block: clamp(3rem, 7vw, 4.5rem); }
.cta-inner { display: grid; gap: 1.75rem; align-items: center; }
.cta-inner h2 { color: #fff; margin-bottom: .35em; }
.cta-inner p { color: #b9b9c1; margin-bottom: 0; }
@media (min-width: 900px) { .cta-inner { grid-template-columns: 1.4fr auto; } }

/* ------------------------------------------------------------ embeds */
.embed-card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(.75rem, 2vw, 1.25rem); box-shadow: var(--shadow);
}
.embed-card iframe { width: 100%; border: 0; border-radius: var(--radius-sm); display: block; }

.map-consent {
  position: relative; border-radius: var(--radius); overflow: hidden;
  background: var(--ink-2); color: #d3d3da;
  min-height: 300px; display: grid; place-items: center; text-align: center; padding: 2rem 1.5rem;
  border: 1px solid var(--line);
}
.map-consent p { max-width: 34em; color: #b9b9c1; }
.map-consent iframe { position: absolute; inset: 0; width: 100%; height: 100%; }

/* --------------------------------------------------------- contact bar */
.contact-cards { display: grid; gap: 1rem; }
@media (min-width: 760px) { .contact-cards { grid-template-columns: repeat(3, 1fr); } }
.contact-card {
  border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem;
  background: var(--paper); text-decoration: none; color: inherit; display: block;
  transition: transform .2s ease, box-shadow .2s ease;
}
.contact-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.contact-card .icon { color: var(--gold); margin-bottom: .75rem; }
.contact-card h3 { font-size: 1.05rem; font-family: var(--sans); font-weight: 700; margin-bottom: .25rem; }
.contact-card p { font-size: .95rem; color: var(--muted); margin: 0; }
.contact-card strong { color: var(--ink); font-size: 1.05rem; display: block; }

/* --------------------------------------------------------------- prose */
.prose { max-width: 46em; }
.prose h2 { margin-top: 2.25rem; font-size: clamp(1.35rem, 3vw, 1.7rem); }
.prose h3 { margin-top: 1.75rem; }
.prose ul, .prose ol { padding-left: 1.25rem; margin-bottom: 1.1em; }
.prose li { margin-bottom: .45em; }
.prose a { color: #7d6415; text-decoration: underline; text-underline-offset: 3px; }
.prose .updated { font-size: .9rem; color: var(--muted); border-left: 3px solid var(--gold); padding-left: .9rem; }

.notice {
  background: var(--cream); border: 1px solid var(--line); border-left: 4px solid var(--gold);
  border-radius: var(--radius-sm); padding: 1.1rem 1.25rem; font-size: .97rem;
}

/* -------------------------------------------------------------- footer */
.site-footer { background: var(--ink); color: #a9a9b3; padding-block: clamp(3rem, 6vw, 4.25rem) 1.5rem; font-size: .95rem; }
.footer-grid { display: grid; gap: 2.25rem; }
@media (min-width: 700px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 2.5rem; } }

.site-footer h2 { color: #fff; font-family: var(--sans); font-size: .82rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 1rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.site-footer a { color: #a9a9b3; text-decoration: none; }
.site-footer a:hover { color: var(--gold-soft); }
.site-footer address { font-style: normal; margin-bottom: .8rem; }
.footer-brand img { width: 132px; margin-bottom: 1rem; }
.footer-tag { max-width: 30em; color: #96969f; }
.footer-strong { color: #fff !important; font-weight: 700; font-size: 1.1rem; }
.footer-hours { font-size: .88rem; color: #8b8b95; }
.footer-cta { margin-top: 1.1rem; }

/* buttons keep their own colours inside the dark footer */
.site-footer a.btn-gold { color: var(--ink); }
.site-footer a.btn-gold:hover { color: var(--ink); }
.site-footer a.btn-outline { color: var(--gold-soft); }

.social { display: flex !important; grid-auto-flow: column; justify-content: flex-start; gap: .65rem !important; }
.social a {
  width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .2);
  display: grid; place-items: center; color: #cfcfd6;
}
.social a:hover { border-color: var(--gold); color: var(--gold); }

.footer-bottom {
  margin-top: 2.5rem; padding-top: 1.35rem;
  border-top: 1px solid rgba(255, 255, 255, .1);
  display: flex; flex-wrap: wrap; gap: .75rem 1.5rem; align-items: center; justify-content: space-between;
  font-size: .85rem;
}
.legal-name { margin: 0; color: #7f7f89; }
.legal-links { display: flex !important; flex-wrap: wrap; gap: .4rem 1.15rem !important; }

/* ------------------------------------------------------ cookie banner */
.cookie-banner {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 150;
  background: var(--ink-2); color: #d3d3da;
  border-top: 2px solid var(--gold);
  box-shadow: 0 -12px 40px -18px rgba(0, 0, 0, .8);
}
.cookie-banner[hidden] { display: none; }
.cookie-inner {
  max-width: var(--wrap); margin-inline: auto; padding: 1.15rem var(--pad) 1.35rem;
  display: grid; gap: 1rem; align-items: center;
}
.cookie-banner h2 { color: #fff; font-family: var(--sans); font-size: 1rem; font-weight: 700; margin-bottom: .3rem; }
.cookie-banner p { font-size: .9rem; margin: 0; color: #b0b0ba; }
.cookie-banner a { color: var(--gold-soft); }
.cookie-actions { display: flex; flex-wrap: wrap; gap: .6rem; }
@media (min-width: 860px) { .cookie-inner { grid-template-columns: 1fr auto; } }

/* ---------------------------------------------------------------- misc */
.center { text-align: center; }
.mt-2 { margin-top: 1.5rem; }
.mt-3 { margin-top: 2.25rem; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* -------------------------------------------------------- gallery page */
.gallery-filters {
  display: flex; flex-wrap: wrap; gap: .6rem;
  margin-bottom: clamp(1.5rem, 3vw, 2.25rem);
}
.filter-btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 44px; padding: .55rem 1.2rem;
  border: 2px solid var(--line); border-radius: 999px;
  background: var(--paper); color: var(--ink);
  font: inherit; font-weight: 700; font-size: .9rem;
  cursor: pointer;
  transition: background-color .18s ease, border-color .18s ease, color .18s ease;
}
.filter-btn:hover { border-color: var(--gold); }
.filter-btn.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }

.gallery-grid {
  column-count: 1;
  column-gap: clamp(1rem, 2.4vw, 1.6rem);
}
@media (min-width: 600px) { .gallery-grid { column-count: 2; } }
@media (min-width: 900px) { .gallery-grid { column-count: 3; } }
@media (min-width: 1200px) { .gallery-grid { column-count: 4; } }

.gallery-item { margin: 0 0 clamp(1rem, 2.4vw, 1.6rem); break-inside: avoid; }
.gallery-item-link {
  display: block; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); position: relative;
  transition: transform .2s ease, box-shadow .2s ease;
}
.gallery-item-link:hover, .gallery-item-link:focus-visible { transform: translateY(-4px); box-shadow: var(--shadow-lift); }
.gallery-item-link img { width: 100%; display: block; }

/* class-driven filtering: JS toggles is-filtered + filter-<cat> on #gallery-grid */
.gallery-grid.is-filtered .gallery-item { display: none; }
.gallery-grid.is-filtered.filter-baby-shower .gallery-cat-baby-shower,
.gallery-grid.is-filtered.filter-birthday .gallery-cat-birthday,
.gallery-grid.is-filtered.filter-milestone .gallery-cat-milestone,
.gallery-grid.is-filtered.filter-details .gallery-cat-details,
.gallery-grid.is-filtered.filter-venue .gallery-cat-venue {
  display: block;
}

/* ---------------------------------------------------------- gallery band (home) */
.gallery-band {
  display: flex; gap: clamp(.75rem, 2vw, 1.1rem);
  overflow-x: auto; padding-bottom: .5rem;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
}
.gallery-band-item {
  flex: 0 0 auto; width: clamp(150px, 26vw, 240px);
  aspect-ratio: 3 / 4; border-radius: var(--radius); overflow: hidden;
  scroll-snap-align: start; box-shadow: var(--shadow);
  transition: transform .2s ease, box-shadow .2s ease;
}
.gallery-band-item:hover, .gallery-band-item:focus-visible { transform: translateY(-4px); box-shadow: var(--shadow-lift); }
.gallery-band-item img { width: 100%; height: 100%; object-fit: cover; }

/* ------------------------------------------------------------ lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 300;
  background: rgba(6, 6, 8, .94);
  display: flex; align-items: center; justify-content: center;
  padding: clamp(1rem, 4vw, 2.5rem);
}
.lightbox[hidden] { display: none; }
body.lightbox-open { overflow: hidden; }

.lightbox-figure {
  margin: 0; max-width: min(92vw, 1100px); max-height: 88vh;
  display: flex; flex-direction: column; align-items: center; gap: .85rem;
}
.lightbox-img { max-width: 100%; max-height: 78vh; width: auto; height: auto; border-radius: var(--radius-sm); box-shadow: var(--shadow-lift); }
.lightbox-caption { color: #d9d9de; font-size: .92rem; text-align: center; max-width: 46em; margin: 0; }

.lightbox-close, .lightbox-prev, .lightbox-next {
  position: fixed; display: grid; place-items: center;
  min-width: 44px; min-height: 44px;
  border-radius: 50%; border: 2px solid rgba(255, 255, 255, .35);
  background: rgba(11, 11, 12, .6); color: #fff;
  font-size: 1.5rem; line-height: 1; cursor: pointer;
  transition: background-color .18s ease, border-color .18s ease;
}
.lightbox-close:hover, .lightbox-prev:hover, .lightbox-next:hover { border-color: var(--gold); background: rgba(11, 11, 12, .85); }
.lightbox-close { top: 1rem; right: 1rem; }
.lightbox-prev { left: 1rem; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 1rem; top: 50%; transform: translateY(-50%); }
