/* ==========================================================================
   HAMAC INVESTISSEMENTS & PATRIMOINE — main.css
   Compiled native stylesheet (Tailwind CDN eliminated).
   Palette: ink #1A1A2E · gold #C5A55A · sand #F8F6F0 · stone #E8E4DF · text #2D2D2D
   Breakpoints mirror Tailwind defaults: sm 640 · md 768 · lg 1024
   ========================================================================== */

/* --- FONTS --- */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,400;1,500&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;1,9..40,400&display=swap');

/* --- DESIGN TOKENS --- */
:root {
  --ink: #1A1A2E;
  --gold: #C5A55A;
  --sand: #F8F6F0;
  --stone: #E8E4DF;
  --text: #2D2D2D;
  --serif: 'Cormorant Garamond', serif;
  --sans: 'DM Sans', sans-serif;
  --maxw: 80rem;          /* max-w-7xl */
  --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* --- RESET --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
ul { list-style: none; }
iconify-icon { display: inline-block; line-height: 1; }

/* --- BASE BODY --- */
body {
  font-family: var(--sans);
  background: var(--sand);
  color: var(--text);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.5;
}
::selection { background: rgba(197, 165, 90, 0.3); color: var(--ink); }

.font-serif { font-family: var(--serif); }
.font-sans  { font-family: var(--sans); }

/* --- SHARED LAYOUT PRIMITIVES --- */
.container {
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: 1.5rem;
}
@media (min-width: 768px) { .container { padding-inline: 3rem; } }

.section { padding-block: 6rem; }            /* py-24 */
.relative { position: relative; }
.z-10 { z-index: 10; }

/* Reusable eyebrow + heading */
.eyebrow {
  display: block;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}
.eyebrow--gold  { color: var(--gold); }
.eyebrow--ink   { color: rgba(26, 26, 46, 0.6); font-weight: 600; }

.heading {
  font-family: var(--serif);
  color: var(--ink);
  letter-spacing: -0.02em;
  font-size: 1.875rem;
  line-height: 1.15;
}
@media (min-width: 768px) { .heading { font-size: 3rem; } }

.section-head { text-align: center; margin-bottom: 4rem; }

/* --- TEXTURE: woven rope --- */
.texture-woven {
  background-image:
    repeating-linear-gradient(45deg, transparent, transparent 3px, rgba(197,165,90,0.02) 3px, rgba(197,165,90,0.02) 6px),
    repeating-linear-gradient(-45deg, transparent, transparent 3px, rgba(197,165,90,0.02) 3px, rgba(197,165,90,0.02) 6px);
}

/* --- HIDE SCROLLBAR (functional horizontal scrollers) --- */
.hide-scrollbar::-webkit-scrollbar { display: none; }
.hide-scrollbar { -ms-overflow-style: none; scrollbar-width: none; }

/* --- REVEAL ANIMATION (IntersectionObserver) --- */
.reveal {
  opacity: 0;
  transform: translateY(2rem);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
  will-change: opacity, transform;
}
.reveal.active { opacity: 1; transform: translateY(0); }
.reveal.delay-100 { transition-delay: 0.1s; }
.reveal.delay-200 { transition-delay: 0.2s; }
.reveal.delay-300 { transition-delay: 0.3s; }
.reveal.delay-400 { transition-delay: 0.4s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { transition: none; opacity: 1; transform: none; }
}

/* --- NAVBAR --- */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 50;
  background: transparent;
  padding-block: 1rem;
  transition: background 0.3s ease, padding 0.3s ease, box-shadow 0.3s ease;
}
.navbar__inner {
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
@media (min-width: 768px) { .navbar__inner { padding-inline: 3rem; } }

/* scrolled state (toggled by app.js) */
.navbar.is-scrolled {
  background: rgba(26, 26, 46, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 2px rgba(0,0,0,0.05);
  padding-block: 0.75rem;
}

.navbar__logo { display: flex; flex-direction: column; align-items: flex-start; margin-left: 0; }
@media (min-width: 768px) { .navbar__logo { margin-left: calc(-5.5rem - 0.25in); } }
.navbar__logo-name {
  font-family: var(--serif);
  font-size: 1.05rem;
  color: var(--gold);
  letter-spacing: -0.03em;
  text-transform: uppercase;
  line-height: 1;
  white-space: nowrap;
}
@media (min-width: 1024px) { .navbar__logo-name { font-size: 1.35rem; } }
.navbar__logo-tag {
  font-size: 0.65rem;
  color: #fff;
  letter-spacing: 0.2em;
  margin-top: 0.25rem;
  opacity: 0.9;
  transition: opacity 0.3s ease;
}
.navbar__logo:hover .navbar__logo-tag { opacity: 1; }

.navbar__links { display: none; align-items: center; gap: 2rem; }
@media (min-width: 1024px) { .navbar__links { display: flex; } }
.navbar__link {
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255,255,255,0.8);
  transition: color 0.2s ease;
}
.navbar__link:hover { color: var(--gold); }

/* --- NAVBAR DROPDOWN (About Us submenu) --- */
.navbar__dropdown { position: relative; display: inline-flex; align-items: center; }
.navbar__link--has-menu { display: inline-flex; align-items: center; gap: 0.25rem; cursor: pointer; }
.navbar__caret { font-size: 1rem; transition: transform 0.25s var(--ease); }

/* Panel: hidden by default, revealed on hover / keyboard focus / .is-open */
.navbar__menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(0.5rem);
  min-width: 13rem;
  padding: 0.5rem;
  background: rgba(26, 26, 46, 0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(197, 165, 90, 0.25);
  border-radius: 0.75rem;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.35);
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), visibility 0.25s;
  z-index: 60;
}
/* small hover bridge so the menu doesn't close in the gap under the trigger */
.navbar__menu::before {
  content: "";
  position: absolute;
  top: -0.75rem; left: 0; right: 0;
  height: 0.75rem;
}
.navbar__dropdown:hover .navbar__menu,
.navbar__dropdown:focus-within .navbar__menu,
.navbar__dropdown.is-open .navbar__menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0.25rem);
}
.navbar__dropdown:hover .navbar__caret,
.navbar__dropdown:focus-within .navbar__caret,
.navbar__dropdown.is-open .navbar__caret { transform: rotate(180deg); }

.navbar__menu-link {
  display: block;
  padding: 0.6rem 0.85rem;
  border-radius: 0.5rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.82);
  white-space: nowrap;
  transition: background 0.2s ease, color 0.2s ease;
}
.navbar__menu-link:hover,
.navbar__menu-link:focus-visible {
  background: rgba(197, 165, 90, 0.15);
  color: var(--gold);
  outline: none;
}

.navbar__actions { display: flex; align-items: center; gap: 1rem; }
@media (min-width: 768px) { .navbar__actions { margin-right: -0.25in; } }
.navbar__cta {
  display: none;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 1.25rem;
  border: 1px solid var(--gold);
  color: var(--gold);
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: 9999px;
  transition: background 0.3s ease, color 0.3s ease;
}
@media (min-width: 768px) { .navbar__cta { display: inline-flex; } }
.navbar__cta:hover { background: var(--gold); color: var(--ink); }

.navbar__toggle { color: #fff; font-size: 1.875rem; transition: color 0.2s ease; display: inline-flex; }
.navbar__toggle:hover { color: var(--gold); }
@media (min-width: 1024px) { .navbar__toggle { display: none; } }

/* --- HERO SECTION --- */
.hero {
  position: relative;
  height: 100vh;
  width: 100%;
  overflow: hidden;
  background: var(--ink);
}
.hero__slides { position: absolute; inset: 0; }

.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
}
.slide.active { opacity: 1; z-index: 10; }

.hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.05);
  transform-origin: center;
}
.hero__overlay-mult {
  position: absolute; inset: 0;
  background: rgba(26,26,46,0.4);
  mix-blend-mode: multiply;
}
.hero__overlay-grad {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(26,26,46,0.6), transparent, rgba(26,26,46,0.4));
}
.hero__content {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  padding-inline: 1.5rem;
  text-align: center;
}
.hero__title {
  font-family: var(--serif);
  font-style: italic;
  color: #fff;
  font-size: 1.875rem;
  max-width: 56rem;
  letter-spacing: -0.02em;
  line-height: 1.2;
}
@media (min-width: 768px)  { .hero__title { font-size: 3rem; } }
@media (min-width: 1024px) { .hero__title { font-size: 3.75rem; } }

/* First slide load animation */
.hero__title--animate {
  opacity: 0;
  transform: translateY(1.5rem);
  transition: opacity 1s ease-out, transform 1s ease-out;
}
.hero__title--animate.is-loaded { opacity: 1; transform: translateY(0); }

/* Glass pill */
.hero__pill {
  position: absolute;
  bottom: 3rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 20;
  opacity: 0;
  transition: opacity 1s ease 0.3s;
}
.hero__pill.is-loaded { opacity: 1; }
.hero__pill-inner {
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 9999px;
  padding: 0.75rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1);
}
.hero__pill-icon { color: var(--gold); font-size: 1.125rem; }
.hero__pill-text { color: #fff; font-size: 0.75rem; font-weight: 500; letter-spacing: 0.025em; }
@media (min-width: 640px) { .hero__pill-text { font-size: 0.875rem; } }

/* --- BUYER JOURNEY --- */
.journey { background: var(--sand); }
.journey__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}
@media (min-width: 768px) { .journey__grid { grid-template-columns: repeat(3, 1fr); } }

.journey-card {
  display: block;
  border-radius: 1rem;
  padding: 2rem;
  transition: transform 0.5s ease, box-shadow 0.5s ease;
}
@media (min-width: 768px) { .journey-card { padding: 2.5rem; } }
.journey-card:hover { transform: translateY(-0.5rem); box-shadow: 0 20px 25px -5px rgba(26,26,46,0.05); }
.journey-card--green { background: #e8efe9; }
.journey-card--blue  { background: #e3ecf5; }
.journey-card--sand  { background: #f5f1e3; }

.journey-card__icon {
  width: 4rem; height: 4rem;
  border-radius: 9999px;
  background: rgba(255,255,255,0.6);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 2rem;
  color: var(--gold);
  font-size: 1.875rem;
  transition: transform 0.5s ease;
}
.journey-card:hover .journey-card__icon { transform: scale(1.1); }
.journey-card__title {
  font-family: var(--serif);
  font-size: 1.5rem;
  color: var(--ink);
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
  transition: color 0.2s ease;
}
.journey-card:hover .journey-card__title { color: var(--gold); }
.journey-card__text {
  font-size: 0.875rem;
  color: rgba(45,45,45,0.8);
  line-height: 1.65;
  font-weight: 500;
}

/* --- HAMMOCK DIVIDERS (SVG waves) --- */
.wave { width: 100%; height: 4rem; display: block; position: relative; }
@media (min-width: 768px) { .wave { height: 6rem; } }
.wave--stone { color: var(--stone); fill: currentColor; margin-top: -1px; z-index: 10; }
.wave--ink   { color: var(--ink);   fill: currentColor; margin-bottom: -1px; z-index: 10; }
.wave--sand  { color: var(--sand);  fill: currentColor; margin-top: -1px; z-index: 10; }

/* --- FEATURED PROPERTIES --- */
.featured {
  background: var(--stone);
  position: relative;
  margin-top: -4rem;
  padding-top: 8rem;
  padding-bottom: 6rem;
}
@media (min-width: 768px) { .featured { margin-top: -6rem; padding-top: 10rem; } }

.featured__head {
  display: flex;
  flex-direction: column;
  margin-bottom: 4rem;
}
@media (min-width: 768px) {
  .featured__head { flex-direction: row; align-items: flex-end; justify-content: space-between; }
}
.featured__link {
  display: none;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--ink);
  border-bottom: 1px solid var(--gold);
  padding-bottom: 0.25rem;
  transition: color 0.2s ease;
}
@media (min-width: 768px) { .featured__link { display: inline-flex; margin-top: 0; } }
.featured__link:hover { color: var(--gold); }

.featured__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}
@media (min-width: 640px)  { .featured__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .featured__grid { grid-template-columns: repeat(3, 1fr); } }

.property {
  display: block;
  background: #fff;
  border-radius: 0.75rem;
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(0,0,0,0.05);
  transition: transform 0.5s ease, box-shadow 0.5s ease;
}
.property:hover { transform: scale(1.02); box-shadow: 0 20px 25px -5px rgba(0,0,0,0.12); }
.property__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; }
.property__img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}
.property:hover .property__img { transform: scale(1.05); }
.property__badge {
  position: absolute;
  top: 1rem; right: 1rem;
  background: var(--gold);
  color: #fff;
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
}
.property__body { padding: 1.5rem; }
.property__price { color: var(--gold); font-weight: 600; font-size: 0.8rem; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 0.35rem; }
.property__title {
  font-family: var(--serif);
  font-size: 1.5rem;
  color: var(--ink);
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
}
.property__tagline {
  font-size: 0.875rem;
  line-height: 1.5;
  color: rgba(45,45,45,0.7);
  margin-bottom: 1rem;
}
.property__meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.75rem;
  font-weight: 500;
  color: rgba(45,45,45,0.6);
}
.property__meta span { display: flex; align-items: center; gap: 0.25rem; }

/* Catalogue buttons */
.featured__more { margin-top: 4rem; text-align: center; }
.featured__more--mobile  { display: block; }
.featured__more--desktop { display: none; }
@media (min-width: 768px) {
  .featured__more--mobile  { display: none; }
  .featured__more--desktop { display: block; }
}
.btn-pill-dark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 2rem;
  background: var(--ink);
  color: #fff;
  border: 1px solid var(--gold);
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: 9999px;
  transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}
.btn-pill-dark:hover { background: var(--gold); color: var(--ink); border-color: transparent; }
.btn-pill-dark--gold-text { color: var(--gold); font-weight: 600; box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1); }

/* --- WHY HAMAC (stats) --- */
.why {
  background: var(--ink);
  color: #fff;
  position: relative;
  z-index: 0;
  padding-block: 6rem;
}
.why__head { text-align: center; margin-bottom: 5rem; }
.why .heading { color: #fff; }
.why__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  text-align: center;
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 4rem;
}
@media (min-width: 640px)  { .why__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .why__grid { grid-template-columns: repeat(4, 1fr); } }

.stat { display: flex; flex-direction: column; align-items: center; }
.stat__icon { font-size: 2.25rem; color: var(--gold); margin-bottom: 1.5rem; }
.stat__num {
  font-family: var(--serif);
  font-size: 3rem;
  color: var(--gold);
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
  line-height: 1;
}
.stat__label { font-size: 1.125rem; font-weight: 500; margin-bottom: 0.75rem; }
.stat__text { font-size: 0.875rem; color: rgba(255,255,255,0.7); font-weight: 500; line-height: 1.65; }

/* --- NEIGHBORHOODS (MOSAIC) --- */
.hoods {
  background: var(--sand);
  position: relative;
  margin-top: -4rem;
  padding-top: 8rem;
  padding-bottom: 6rem;
}
@media (min-width: 768px) { .hoods { margin-top: -6rem; padding-top: 10rem; } }

.mosaic {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
@media (min-width: 768px) {
  .mosaic {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    height: 800px;
  }
}

.hood {
  position: relative;
  border-radius: 1rem;
  overflow: hidden;
  display: block;
  height: 250px;
}
.hood__img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s ease; }
.hood:hover .hood__img { transform: scale(1.05); }
.hood__scrim {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(26,26,46,0.9), transparent 70%);
}
.hood__scrim--deep {
  background: linear-gradient(to top, rgba(26,26,46,0.9), rgba(26,26,46,0.3) 50%, transparent);
}
.hood__body { position: absolute; bottom: 0; left: 0; width: 100%; padding: 1.25rem; }
.hood__name { font-family: var(--serif); color: #fff; letter-spacing: -0.02em; margin-bottom: 0.25rem; font-size: 1.25rem; }
.hood__desc { font-size: 0.75rem; color: rgba(255,255,255,0.9); font-weight: 500; margin-bottom: 0.5rem; }
.hood__row { display: flex; align-items: center; justify-content: space-between; }
.hood__price { font-size: 0.65rem; color: var(--gold); text-transform: uppercase; letter-spacing: 0.05em; font-weight: 600; }
.hood__more {
  color: #fff; font-size: 0.75rem; font-weight: 500;
  opacity: 0; transform: translateY(0.5rem);
  transition: opacity 0.3s ease, transform 0.3s ease;
  display: flex; align-items: center; gap: 0.25rem;
}
.hood:hover .hood__more { opacity: 1; transform: translateY(0); }

/* Featured large tile + medium tiles on desktop */
.hood--lg {
  height: 400px;
  grid-column: span 1;
}
@media (min-width: 768px) {
  .hood, .hood--lg, .hood--md { height: auto; }
  .hood--lg { grid-column: span 2; grid-row: span 2; }
}
.hood--lg .hood__body { padding: 2rem; }
.hood--lg .hood__name { font-size: 1.875rem; margin-bottom: 0.5rem; }
.hood--lg .hood__desc { font-size: 0.875rem; margin-bottom: 1rem; }
.hood--lg .hood__price { font-size: 0.75rem; letter-spacing: 0.05em; }
.hood--lg .hood__more { font-size: 0.875rem; }
.hood--md { height: 300px; }
.hood--md .hood__body { padding: 1.5rem; }
.hood--md .hood__name { font-size: 1.5rem; }
.hood__desc--clamp { overflow: hidden; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; }

/* --- TESTIMONIALS --- */
.testimonials { background: var(--stone); position: relative; padding-block: 6rem; }
.testimonials__curve {
  position: absolute; top: 0; left: 0;
  width: 100%; height: 3rem;
  color: var(--sand); fill: currentColor;
  margin-top: -1px; z-index: 10;
}
@media (min-width: 768px) { .testimonials__curve { height: 4rem; } }
.testimonials__inner { padding-top: 3rem; }

.testi-track {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  gap: 1.5rem;
  padding-bottom: 3rem;
}
.testi-card {
  min-width: 85vw;
  flex-shrink: 0;
  scroll-snap-align: center;
  background: #fff;
  padding: 2.5rem;
  border-radius: 1rem;
  box-shadow: 0 1px 2px rgba(0,0,0,0.05);
  border: 1px solid rgba(26,26,46,0.05);
}
@media (min-width: 768px)  { .testi-card { min-width: 50vw; } }
@media (min-width: 1024px) { .testi-card { min-width: 30vw; } }
.testi-card__quote { color: var(--gold); font-family: var(--serif); font-size: 3rem; line-height: 1; margin-bottom: 1rem; }
.testi-card__text {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.125rem;
  color: var(--text);
  line-height: 1.65;
  margin-bottom: 2rem;
}
@media (min-width: 768px) { .testi-card__text { font-size: 1.25rem; } }
.testi-card__foot {
  display: flex; align-items: center; justify-content: space-between;
  border-top: 1px solid var(--stone);
  padding-top: 1.5rem;
}
.testi-card__name { font-weight: 500; color: var(--ink); }
.testi-card__role { font-size: 0.75rem; color: rgba(45,45,45,0.6); margin-top: 0.25rem; }
.testi-card__stars { display: flex; color: var(--gold); }

.swipe-dots { display: flex; justify-content: center; gap: 0.25rem; margin-top: 1rem; }
@media (min-width: 768px) { .swipe-dots { display: none; } }
.swipe-dots span { width: 0.5rem; height: 0.5rem; border-radius: 9999px; background: rgba(26,26,46,0.3); }
.swipe-dots span.is-active { background: var(--ink); }

/* --- TEAM --- */
.team { background: var(--sand); overflow: hidden; padding-block: 6rem; }
.team__head { margin-bottom: 4rem; }
.team__intro {
  font-size: 0.875rem;
  color: rgba(45,45,45,0.7);
  font-weight: 500;
  margin-top: 1rem;
  max-width: 36rem;
}
.team-track {
  display: flex;
  overflow-x: auto;
  gap: 2rem;
  scroll-snap-type: x mandatory;
  padding-bottom: 3rem;
  cursor: grab;
}
.team-track:active { cursor: grabbing; }
.agent { min-width: 65vw; scroll-snap-align: center; }
@media (min-width: 640px) { .agent { min-width: 40vw; } }
/* md: 3 per view; lg: exactly 4 fit within the track (3 gaps of 2rem).
   Use flex-basis with no grow/shrink so the calc resolves precisely and the
   4th card can't be squeezed or overflow. */
@media (min-width: 768px) {
  .agent { min-width: 0; flex: 0 0 calc((100% - 2 * 2rem) / 3); }
}
@media (min-width: 1024px) {
  .agent { min-width: 0; flex: 0 0 calc((100% - 3 * 2rem) / 4); }
}
.agent__media {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 9999px;
  overflow: hidden;
  margin-bottom: 1.5rem;
  box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}
.agent__img { width: 100%; height: 100%; object-fit: cover; }
.agent__overlay {
  position: absolute; inset: 0;
  background: rgba(26,26,46,0.95);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.agent:hover .agent__overlay { opacity: 1; }
.agent__social {
  width: 2.5rem; height: 2.5rem;
  border-radius: 9999px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.125rem;
  transition: background 0.2s ease, color 0.2s ease;
}
.agent__social--gold { background: var(--gold); color: #fff; margin-bottom: 0.75rem; }
.agent__social--gold:hover { background: #fff; color: var(--gold); }
.agent__social--ghost { background: rgba(255,255,255,0.1); color: #fff; }
.agent__social--ghost:hover { background: #fff; color: var(--ink); }
.agent__body { text-align: center; padding-inline: 1rem; }
.agent__name { font-family: var(--serif); font-size: 1.5rem; color: var(--ink); margin-bottom: 0.25rem; }
.agent__role { font-size: 0.75rem; color: rgba(45,45,45,0.8); font-weight: 500; line-height: 1.65; }

/* --- EXECUTIVE BOARD: PRESIDENT'S WELCOME --- */
.prez { background: var(--sand); }
.prez__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}
@media (min-width: 768px) {
  .prez__grid { grid-template-columns: 5fr 7fr; gap: 4rem; }
}
.prez__media {
  position: relative;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 20px 25px -5px rgba(0,0,0,0.15);
  max-width: 26rem;
  margin-inline: auto;
}
@media (min-width: 768px) { .prez__media { margin-inline: 0; } }
.prez__media .prez__img,
.prez__img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center top;
  display: block;
}
.prez__badge {
  position: absolute;
  left: 1rem; bottom: 1rem; right: 1rem;
  background: rgba(26,26,46,0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 0.75rem;
  padding: 0.85rem 1.1rem;
  display: flex;
  flex-direction: column;
}
.prez__badge-title {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
}
.prez__badge-name {
  font-family: var(--serif);
  font-size: 1.5rem;
  color: #fff;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-top: 0.1rem;
}
.prez__heading { margin-top: 0.5rem; margin-bottom: 1.5rem; }
.prez__text {
  font-size: 1rem;
  color: rgba(45,45,45,0.85);
  font-weight: 500;
  line-height: 1.8;
  margin-bottom: 1.25rem;
}
.prez__text strong { color: var(--ink); font-weight: 600; }
.prez__sign {
  display: flex;
  flex-direction: column;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(26,26,46,0.12);
}
.prez__sign-name {
  font-family: var(--serif);
  font-size: 1.5rem;
  color: var(--ink);
  letter-spacing: -0.02em;
}
.prez__sign-role {
  font-size: 0.8rem;
  font-weight: 500;
  color: rgba(45,45,45,0.6);
  margin-top: 0.15rem;
}

/* --- EXECUTIVE BOARD (standalone page card grid) --- */
.exec {
  background: var(--stone);
  margin-top: -4rem;
  padding-top: 8rem;
  padding-bottom: 6rem;
}
@media (min-width: 768px) { .exec { margin-top: -6rem; padding-top: 10rem; } }
.exec__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}
@media (min-width: 640px)  { .exec__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .exec__grid { grid-template-columns: repeat(3, 1fr); } }

.exec-card {
  background: #fff;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(0,0,0,0.05);
  transition: transform 0.5s ease, box-shadow 0.5s ease;
  display: flex;
  flex-direction: column;
}
.exec-card:hover {
  transform: translateY(-0.5rem);
  box-shadow: 0 20px 25px -5px rgba(0,0,0,0.12);
}
.exec-card__media {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
}
.exec-card__img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.7s ease;
}
.exec-card:hover .exec-card__img { transform: scale(1.05); }
.exec-card__body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.exec-card__title {
  color: var(--gold);
  font-weight: 600;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.4rem;
}
.exec-card__name {
  font-family: var(--serif);
  font-size: 1.65rem;
  color: var(--ink);
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 0.2rem;
}
.exec-card__biz {
  font-size: 0.85rem;
  font-weight: 500;
  color: rgba(45,45,45,0.65);
  margin-bottom: 1rem;
}
.exec-card__bio {
  font-size: 0.9rem;
  color: rgba(45,45,45,0.85);
  line-height: 1.7;
  font-weight: 500;
  margin-bottom: 1.5rem;
}
.exec-card__contact {
  display: flex;
  gap: 0.75rem;
  margin-top: auto;
}
.exec-card__social {
  width: 2.5rem; height: 2.5rem;
  border-radius: 9999px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid rgba(26,26,46,0.12);
  color: var(--ink);
  font-size: 1.05rem;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.exec-card__social:hover {
  background: var(--gold);
  color: #fff;
  border-color: transparent;
}

/* --- FINAL CTA --- */
.final-cta {
  position: relative;
  padding-block: 8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
@media (min-width: 768px) { .final-cta { padding-block: 12rem; } }
.final-cta__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.final-cta__scrim { position: absolute; inset: 0; background: rgba(26,26,46,0.85); }
.final-cta__inner {
  position: relative;
  z-index: 10;
  text-align: center;
  padding-inline: 1.5rem;
  max-width: 48rem;
  margin-inline: auto;
}
.final-cta__title {
  font-family: var(--serif);
  font-size: 2.25rem;
  color: #fff;
  letter-spacing: -0.02em;
  margin-bottom: 2rem;
}
@media (min-width: 768px) { .final-cta__title { font-size: 3.75rem; } }
.btn-pill-gold {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2rem;
  background: var(--gold);
  color: var(--ink);
  font-weight: 600;
  font-size: 0.875rem;
  border-radius: 9999px;
  box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1);
  transition: background 0.3s ease, box-shadow 0.3s ease;
  margin-bottom: 1.5rem;
}
.btn-pill-gold:hover { background: #fff; box-shadow: 0 20px 25px -5px rgba(0,0,0,0.2); }
.btn-pill-gold iconify-icon { margin-left: 0.5rem; font-size: 1.125rem; }
.final-cta__note {
  color: rgba(255,255,255,0.6);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.025em;
  text-transform: uppercase;
}

/* --- BOARD MEETING CALENDAR --- */
.bmeet { background: var(--sand); }
.bmeet__intro {
  font-size: 0.95rem;
  color: rgba(45,45,45,0.7);
  font-weight: 500;
  margin-top: 1rem;
  max-width: 34rem;
  margin-inline: auto;
}

/* stage: calendar centered; agenda panel hidden behind it until a date is
   clicked, then the calendar slides left and the panel slides out to the right */
.bmeet__stage {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: stretch;
  min-height: 26rem;
}

/* calendar card — centered by default, slides left when a date is picked */
.bcal {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 34rem;
  background: #fff;
  border-radius: 1rem;
  padding: 1.5rem;
  box-shadow: 0 10px 15px -3px rgba(0,0,0,0.08);
  transition: transform 0.5s var(--ease);
}

/* agenda panel — sits behind the calendar, revealed on open */
.bpanel {
  position: absolute;
  z-index: 1;
  top: 0;
  left: 50%;
  width: 100%;
  max-width: 30rem;
  height: 100%;
  overflow-y: auto;
  background: var(--ink);
  color: #fff;
  border-radius: 1rem;
  padding: 2rem;
  box-shadow: 0 10px 15px -3px rgba(0,0,0,0.12);
  opacity: 0;
  pointer-events: none;
  transform: translateX(-30%);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}

/* OPEN STATE (desktop): calendar shifts left, panel emerges to its right */
@media (min-width: 900px) {
  .bmeet__stage.is-open .bcal { transform: translateX(-50%); }
  .bmeet__stage.is-open .bpanel {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(8%);
  }
}

/* OPEN STATE (mobile): panel stacks over, calendar dims back */
@media (max-width: 899px) {
  .bmeet__stage { flex-direction: column; }
  .bpanel {
    position: relative;
    left: 0;
    max-width: 34rem;
    width: 100%;
    height: auto;
    margin-top: 1.5rem;
    transform: translateY(-1rem);
    display: none;
  }
  .bmeet__stage.is-open .bpanel {
    display: block;
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }
}

.bpanel__close {
  position: absolute;
  top: 1rem; right: 1rem;
  font-size: 1.6rem;
  color: rgba(255,255,255,0.6);
  transition: color 0.2s ease;
  z-index: 3;
}
.bpanel__close:hover { color: var(--gold); }

.bcal__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
}
.bcal__title {
  font-family: var(--serif);
  font-size: 1.5rem;
  color: var(--ink);
  letter-spacing: -0.02em;
}
.bcal__nav {
  width: 2.25rem; height: 2.25rem;
  border-radius: 9999px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid rgba(26,26,46,0.12);
  color: var(--ink);
  font-size: 1.1rem;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.bcal__nav:hover { background: var(--gold); color: #fff; border-color: transparent; }
.bcal__grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0.35rem;
}
.bcal__dow {
  text-align: center;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: rgba(45,45,45,0.45);
  padding-bottom: 0.5rem;
}
.bcal__day {
  position: relative;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text);
  border-radius: 0.6rem;
}
.bcal__day.is-empty { background: none; }
.bcal__day.is-meeting {
  cursor: pointer;
  background: rgba(197,165,90,0.12);
  color: var(--ink);
  font-weight: 700;
  border: 1px solid rgba(197,165,90,0.4);
  transition: background 0.2s ease, transform 0.2s ease;
}
.bcal__day.is-meeting:hover { background: rgba(197,165,90,0.28); transform: translateY(-2px); }
.bcal__day.is-selected { background: var(--gold); color: #fff; border-color: var(--gold); }
.bcal__dot {
  position: absolute;
  bottom: 0.35rem; left: 50%;
  transform: translateX(-50%);
  width: 0.3rem; height: 0.3rem;
  border-radius: 9999px;
  background: var(--gold);
}
.bcal__day.is-selected .bcal__dot { background: #fff; }

/* shared agenda panel content */
.bpanel__empty {
  color: rgba(45,45,45,0.5);
  font-size: 0.9rem;
  font-weight: 500;
  text-align: center;
  padding: 2rem 1rem;
}
.bpanel__type {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.5rem;
}
.bpanel__date {
  font-family: var(--serif);
  font-size: 1.6rem;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 1rem;
}
.bpanel__meta {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
}
.bpanel__meta iconify-icon { color: var(--gold); margin-right: 0.35rem; }
.bpanel__agenda-label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}
.bpanel__agenda { display: flex; flex-direction: column; gap: 0.6rem; }
.bpanel__agenda li {
  position: relative;
  padding-left: 1.5rem;
  font-size: 0.9rem;
  font-weight: 500;
  line-height: 1.5;
}
.bpanel__agenda li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.45rem;
  width: 0.5rem; height: 0.5rem;
  border-radius: 9999px;
  background: var(--gold);
}

/* dark-panel text color overrides */
.bpanel .bpanel__date { color: #fff; }
.bpanel .bpanel__agenda-label { color: rgba(255,255,255,0.6); }
.bpanel .bpanel__meta {
  color: rgba(255,255,255,0.85);
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.bpanel .bpanel__empty { color: rgba(255,255,255,0.5); }

/* --- FOOTER --- */
.footer {
  background: var(--ink);
  color: #fff;
  position: relative;
  padding-top: 5rem;
  padding-bottom: 2.5rem;
}
.footer__curve {
  position: absolute; top: 0; left: 0;
  width: 100%; height: 3rem;
  color: var(--ink); fill: currentColor;
  transform: translateY(-100%);
  z-index: 10;
}
@media (min-width: 768px) { .footer__curve { height: 4rem; } }
.footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  margin-bottom: 4rem;
}
@media (min-width: 768px)  { .footer__grid { grid-template-columns: repeat(12, 1fr); } }
.footer__brand { }
@media (min-width: 768px)  { .footer__brand { grid-column: span 5; } }
@media (min-width: 1024px) { .footer__brand { grid-column: span 4; } }
.footer__logo { display: flex; flex-direction: column; align-items: flex-start; margin-bottom: 1.5rem; }
.footer__logo-name { font-family: var(--serif); font-size: 1.875rem; color: var(--gold); letter-spacing: -0.05em; text-transform: uppercase; line-height: 1; }
.footer__logo-tag { font-size: 0.65rem; color: rgba(255,255,255,0.6); letter-spacing: 0.2em; margin-top: 0.25rem; }
.footer__tagline { font-size: 0.875rem; color: rgba(255,255,255,0.7); font-weight: 500; margin-bottom: 2rem; line-height: 1.65; }
.footer__contact { display: flex; flex-direction: column; gap: 1rem; font-size: 0.875rem; color: rgba(255,255,255,0.8); font-weight: 500; }
.footer__contact li { display: flex; gap: 0.75rem; }
.footer__contact li.is-top { align-items: flex-start; }
.footer__contact li.is-center { align-items: center; }
.footer__contact iconify-icon { color: var(--gold); font-size: 1.125rem; flex-shrink: 0; }
.footer__contact li.is-top iconify-icon { margin-top: 0.125rem; }

.footer__nav { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; }
@media (min-width: 768px)  { .footer__nav { grid-column: span 7; padding-left: 3rem; } }
@media (min-width: 1024px) { .footer__nav { grid-column: span 6; } }
.footer__col-title { font-family: var(--serif); font-size: 1.25rem; color: #fff; margin-bottom: 1.5rem; letter-spacing: -0.02em; }
.footer__links { display: flex; flex-direction: column; gap: 0.75rem; font-size: 0.875rem; color: rgba(255,255,255,0.6); font-weight: 500; }
.footer__links a { transition: color 0.2s ease; }
.footer__links a:hover { color: var(--gold); }

.footer__social { display: flex; }
@media (min-width: 768px)  { .footer__social { grid-column: span 12; } }
@media (min-width: 1024px) { .footer__social { grid-column: span 2; justify-content: flex-end; } }
.footer__social-row { display: flex; gap: 1rem; }
.footer__social-link {
  width: 2.5rem; height: 2.5rem;
  border-radius: 9999px;
  border: 1px solid rgba(255,255,255,0.2);
  display: flex; align-items: center; justify-content: center;
  color: var(--gold);
  font-size: 1.125rem;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.footer__social-link:hover { background: var(--gold); color: var(--ink); border-color: transparent; }

.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.4);
  font-weight: 500;
}
@media (min-width: 768px) { .footer__bottom { flex-direction: row; } }
.footer__legal { display: flex; gap: 1.5rem; margin-top: 1rem; }
@media (min-width: 768px) { .footer__legal { margin-top: 0; } }
.footer__legal a { transition: color 0.2s ease; }
.footer__legal a:hover { color: #fff; }


/* ==========================================================================
   ABOUT PAGE — custom sections (page-hero banner, mission split, timeline)
   Reuses existing tokens, eyebrow/heading, .reveal, waves, .why/.journey/
   .team/.final-cta. Only the genuinely-new pieces live here.
   ========================================================================== */

/* --- ABOUT: PAGE HERO (short banner, not full-screen carousel) --- */
.page-hero {
  position: relative;
  min-height: 60vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--ink);
}
.page-hero__img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.page-hero__scrim {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(26,26,46,0.92), rgba(26,26,46,0.45) 55%, rgba(26,26,46,0.55));
}
.page-hero__inner {
  position: relative;
  z-index: 2;
  padding-block: 5rem 4rem;
}
@media (min-width: 768px) { .page-hero__inner { padding-block: 8rem 5rem; } }
.page-hero__eyebrow { margin-bottom: 1rem; }
.page-hero__title {
  font-family: var(--serif);
  font-style: italic;
  color: #fff;
  font-size: 2.25rem;
  line-height: 1.15;
  letter-spacing: -0.02em;
  max-width: 48rem;
}
@media (min-width: 768px)  { .page-hero__title { font-size: 3.25rem; } }
@media (min-width: 1024px) { .page-hero__title { font-size: 4rem; } }
.page-hero__lead {
  color: rgba(255,255,255,0.85);
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.65;
  max-width: 38rem;
  margin-top: 1.5rem;
}
@media (min-width: 768px) { .page-hero__lead { font-size: 1.125rem; } }

/* --- ABOUT: MISSION (2-col split) --- */
.mission { background: var(--sand); }
.mission__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}
@media (min-width: 768px) {
  .mission__grid { grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; }
}
.mission__heading { margin-top: 0.5rem; }
.mission__text {
  font-size: 1rem;
  color: rgba(45,45,45,0.85);
  font-weight: 500;
  line-height: 1.75;
  margin-bottom: 1.25rem;
}
.mission__text strong { color: var(--ink); font-weight: 600; }
.mission__pillars {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}
.mission__pillar {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1.1rem;
  border: 1px solid rgba(26,26,46,0.12);
  border-radius: 9999px;
  background: #fff;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink);
}
.mission__pillar iconify-icon { color: var(--gold); font-size: 1.05rem; }

/* --- ABOUT: OUR STORY (timeline) --- */
.story {
  background: var(--stone);
  margin-top: -4rem;
  padding-top: 8rem;
  padding-bottom: 6rem;
}
@media (min-width: 768px) { .story { margin-top: -6rem; padding-top: 10rem; } }

.timeline {
  max-width: 44rem;
  margin-inline: auto;
  position: relative;
  padding-left: 2rem;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 0.4rem;
  top: 0.4rem;
  bottom: 0.4rem;
  width: 2px;
  background: rgba(197,165,90,0.4);
}
.timeline__item {
  position: relative;
  padding-bottom: 2.5rem;
}
.timeline__item:last-child { padding-bottom: 0; }
.timeline__item::before {
  content: "";
  position: absolute;
  left: calc(-2rem + 0.4rem - 0.4rem);
  top: 0.35rem;
  width: 0.85rem;
  height: 0.85rem;
  border-radius: 9999px;
  background: var(--gold);
  box-shadow: 0 0 0 4px var(--stone);
}
.timeline__year {
  display: inline-block;
  font-family: var(--serif);
  font-size: 1.5rem;
  color: var(--gold);
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 0.5rem;
}
.timeline__title {
  font-family: var(--serif);
  font-size: 1.35rem;
  color: var(--ink);
  letter-spacing: -0.02em;
  margin-bottom: 0.35rem;
}
.timeline__text {
  font-size: 0.9rem;
  color: rgba(45,45,45,0.8);
  font-weight: 500;
  line-height: 1.65;
}


/* ============================================================ */
/* JOIN PAGE — custom sections (tiers, application form, FAQ)   */
/* ============================================================ */

/* --- MEMBERSHIP TIERS --- */
.tiers {
  background: var(--sand);
  padding-block: 6rem;
}
.tiers__intro {
  max-width: 42rem;
  margin: 1rem auto 0;
  text-align: center;
  font-size: 0.95rem;
  color: rgba(45,45,45,0.8);
  font-weight: 500;
  line-height: 1.7;
}
.tiers__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-top: 3.5rem;
  align-items: stretch;
}
@media (min-width: 768px)  { .tiers__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .tiers__grid { grid-template-columns: repeat(3, 1fr); } }

.tier {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--stone);
  border-radius: 1rem;
  padding: 2.25rem 1.75rem;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.tier:hover {
  transform: translateY(-0.5rem);
  box-shadow: 0 20px 25px -5px rgba(0,0,0,0.12);
}
.tier--featured {
  border-color: var(--gold);
  box-shadow: 0 20px 35px -10px rgba(197,165,90,0.35);
}
@media (min-width: 1024px) {
  .tier--featured { margin-block: -1.5rem; }
  .tier--featured:hover { transform: translateY(-0.5rem); }
}
.tier__badge {
  position: absolute;
  top: -0.85rem;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gold);
  color: #fff;
  font-family: var(--sans);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.35rem 0.9rem;
  border-radius: 9999px;
  white-space: nowrap;
}
.tier__name {
  font-family: var(--serif);
  font-size: 1.65rem;
  color: var(--ink);
  letter-spacing: -0.02em;
  margin-bottom: 0.4rem;
}
.tier__desc {
  font-size: 0.88rem;
  color: rgba(45,45,45,0.75);
  font-weight: 500;
  line-height: 1.6;
  min-height: 2.8rem;
}

.tier__price {
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
  margin: 1.5rem 0;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--stone);
}
.tier__amount {
  font-family: var(--serif);
  font-size: 2.75rem;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.02em;
  line-height: 1;
}
.tier__per {
  font-size: 0.9rem;
  color: rgba(45,45,45,0.6);
  font-weight: 500;
}
.tier__features {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  flex: 1 1 auto;
}
.tier__features li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.9rem;
  color: var(--text);
  font-weight: 500;
  line-height: 1.45;
}
.tier__features iconify-icon {
  color: var(--gold);
  font-size: 1.15rem;
  flex-shrink: 0;
  margin-top: 0.05rem;
}
.tier__cta {
  width: 100%;
  justify-content: center;
  margin-top: auto;
}

/* --- APPLICATION FORM --- */
.joinform { background: var(--sand); }
.joinform__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: start;
}
@media (min-width: 1024px) {
  .joinform__grid { grid-template-columns: 0.85fr 1.15fr; gap: 4rem; }
}
.joinform__heading { margin: 0.75rem 0 1rem; }
.joinform__text {
  font-size: 0.95rem;
  color: rgba(45,45,45,0.8);
  font-weight: 500;
  line-height: 1.7;
  margin-bottom: 1.75rem;
}
.joinform__points {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}
.joinform__points li {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.9rem;
  color: var(--text);
  font-weight: 500;
}
.joinform__points iconify-icon {
  color: var(--gold);
  font-size: 1.25rem;
  flex-shrink: 0;
}

.joinform__form {
  background: #fff;
  border: 1px solid var(--stone);
  border-radius: 1rem;
  padding: 2rem 1.75rem;
  box-shadow: 0 10px 30px -12px rgba(0,0,0,0.12);
}
@media (min-width: 768px) { .joinform__form { padding: 2.5rem; } }
.joinform__row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
@media (min-width: 640px) { .joinform__row { grid-template-columns: 1fr 1fr; } }
.field {
  display: flex;
  flex-direction: column;
  margin-bottom: 1.25rem;
}
.field label {
  font-family: var(--sans);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--ink);
  margin-bottom: 0.4rem;
}
.field__req { color: var(--gold); }
.field input,
.field select,
.field textarea {
  font-family: var(--sans);
  font-size: 0.95rem;
  color: var(--text);
  background: var(--sand);
  border: 1px solid var(--stone);
  border-radius: 0.6rem;
  padding: 0.7rem 0.9rem;
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.field textarea { resize: vertical; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(197,165,90,0.18);
}
.field input:user-invalid,
.field select:user-invalid {
  border-color: #c0563f;
}

.joinform__submit {
  width: 100%;
  justify-content: center;
  margin-top: 0.5rem;
}
.joinform__status {
  margin: 1.25rem 0 0;
  padding: 0.9rem 1rem;
  border-radius: 0.6rem;
  font-size: 0.9rem;
  font-weight: 500;
  line-height: 1.5;
}
.joinform__status--ok {
  background: #e8efe9;
  color: #2f5d3a;
  border: 1px solid #bcd6c2;
}
.joinform__status--err {
  background: #f7e9e5;
  color: #8a3a26;
  border: 1px solid #e3c3b8;
}

/* --- FAQ ACCORDION --- */
.faq {
  background: var(--sand);
  padding-block: 6rem;
}
.faq__list {
  max-width: 46rem;
  margin: 3rem auto 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.faq__item {
  background: #fff;
  border: 1px solid var(--stone);
  border-radius: 0.75rem;
  padding: 0 1.5rem;
  transition: box-shadow 0.3s var(--ease);
}
.faq__item[open] {
  box-shadow: 0 10px 25px -12px rgba(0,0,0,0.12);
}
.faq__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  cursor: pointer;
  list-style: none;
  padding: 1.25rem 0;
  font-family: var(--serif);
  font-size: 1.15rem;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.faq__q::-webkit-details-marker { display: none; }
.faq__chev {
  color: var(--gold);
  font-size: 1.35rem;
  flex-shrink: 0;
  transition: transform 0.3s var(--ease);
}
.faq__item[open] .faq__chev { transform: rotate(180deg); }
.faq__a {
  margin: 0;
  padding: 0 0 1.4rem;
  font-size: 0.92rem;
  color: rgba(45,45,45,0.82);
  font-weight: 500;
  line-height: 1.7;
}
@media (prefers-reduced-motion: reduce) {
  .faq__chev, .tier, .joinform__form { transition: none; }
}


/* ============================================================ */
/* LOGIN PAGE — split-screen members login                      */
/* ============================================================ */

.login {
  display: grid;
  grid-template-columns: 1fr;
  min-height: 100vh;
}
@media (min-width: 1024px) {
  .login { grid-template-columns: 1fr 1fr; }
}

/* --- LEFT: branded image panel --- */
.login__aside {
  position: relative;
  display: none;
  overflow: hidden;
  min-height: 16rem;
}
@media (min-width: 1024px) { .login__aside { display: block; } }
.login__aside-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.login__aside-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg,
    rgba(26,26,46,0.78) 0%,
    rgba(26,26,46,0.55) 60%,
    rgba(26,26,46,0.7) 100%);
}
.login__aside-inner {
  position: relative;
  z-index: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 3.5rem 3rem 3.5rem 8rem;
}
.login__aside-title {
  font-family: var(--serif);
  font-size: 3rem;
  font-weight: 500;
  font-style: italic;
  color: #fff;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin: 0.75rem 0 1rem;
}
.login__aside-text {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.85);
  font-weight: 500;
  line-height: 1.7;
}

/* --- RIGHT: form panel --- */
.login__panel {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--sand);
  padding: 5rem 1.5rem;
}
@media (min-width: 768px) { .login__panel { padding: 6rem 3rem; } }
.login__box {
  width: 100%;
  max-width: 25rem;
}
.login__head { margin-bottom: 2rem; }
.login__title {
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.02em;
  margin: 0.6rem 0 0.5rem;
}
.login__sub {
  font-size: 0.92rem;
  color: rgba(45,45,45,0.7);
  font-weight: 500;
  line-height: 1.6;
}
.login__row {
  display: flex;
  justify-content: flex-end;
  margin: -0.5rem 0 1.5rem;
}
.login__forgot {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--gold);
  text-decoration: none;
  transition: color 0.25s var(--ease);
}
.login__forgot:hover { color: var(--ink); }
.login__submit {
  width: 100%;
  justify-content: center;
}

.login__status {
  margin: 1.25rem 0 0;
  padding: 0.9rem 1rem;
  border-radius: 0.6rem;
  font-size: 0.9rem;
  font-weight: 500;
  line-height: 1.5;
}
.login__status--ok {
  background: #e8efe9;
  color: #2f5d3a;
  border: 1px solid #bcd6c2;
}
.login__status--err {
  background: #f7e9e5;
  color: #8a3a26;
  border: 1px solid #e3c3b8;
}
.login__alt {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--stone);
  font-size: 0.9rem;
  color: rgba(45,45,45,0.75);
  font-weight: 500;
  text-align: center;
}
.login__alt-link {
  color: var(--gold);
  font-weight: 500;
  text-decoration: none;
  transition: color 0.25s var(--ease);
}
.login__alt-link:hover { color: var(--ink); }


/* ============================================================ */
/* TEAM MEMBERS PAGE — staff photo grid                         */
/* ============================================================ */

.staff { background: var(--sand); }
.staff__intro {
  max-width: 42rem;
  margin: 1rem auto 0;
  text-align: center;
  font-size: 0.95rem;
  color: rgba(45,45,45,0.8);
  font-weight: 500;
  line-height: 1.7;
}
.staff__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-top: 3.5rem;
}
@media (min-width: 640px)  { .staff__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .staff__grid { grid-template-columns: repeat(3, 1fr); } }

.staff-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--stone);
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.staff-card:hover {
  transform: translateY(-0.5rem);
  box-shadow: 0 20px 25px -5px rgba(0,0,0,0.12);
}

.staff-card__media {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--stone);
}
.staff-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.7s var(--ease);
}
.staff-card:hover .staff-card__img { transform: scale(1.05); }
.staff-card__body {
  padding: 1.5rem 1.5rem 1.75rem;
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
}
.staff-card__name {
  font-family: var(--serif);
  font-size: 1.5rem;
  color: var(--ink);
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.staff-card__title {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0.5rem 0 0.9rem;
}
.staff-card__bio {
  font-size: 0.9rem;
  color: rgba(45,45,45,0.8);
  font-weight: 500;
  line-height: 1.65;
}
@media (prefers-reduced-motion: reduce) {
  .staff-card, .staff-card__img { transition: none; }
}

/* --- staff card: business line + email link (added) --- */
.staff-card__biz {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.82rem;
  font-weight: 500;
  color: rgba(45,45,45,0.65);
  margin-bottom: 0.9rem;
}
.staff-card__biz iconify-icon { color: var(--gold); font-size: 1rem; flex-shrink: 0; }
.staff-card__email {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 1rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--gold);
  text-decoration: none;
  transition: color 0.25s var(--ease);
}
.staff-card__email:hover { color: var(--ink); }
.staff-card__email iconify-icon { font-size: 1.05rem; flex-shrink: 0; }

/* --- CONTACT THE OFFICE --- */
.office { background: var(--sand); }
.office__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}
@media (min-width: 1024px) {
  .office__grid { grid-template-columns: 0.9fr 1.1fr; gap: 4rem; }
}
.office__heading { margin: 0.75rem 0 1rem; }
.office__text {
  font-size: 0.98rem;
  color: rgba(45,45,45,0.8);
  font-weight: 500;
  line-height: 1.7;
}
.office__cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
@media (min-width: 540px) { .office__cards { grid-template-columns: 1fr 1fr; } }

.office__card {
  background: #fff;
  border: 1px solid var(--stone);
  border-radius: 0.85rem;
  padding: 1.5rem;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.office__card:hover {
  transform: translateY(-0.35rem);
  box-shadow: 0 16px 22px -8px rgba(0,0,0,0.12);
}
.office__card iconify-icon {
  color: var(--gold);
  font-size: 1.6rem;
}
.office__card h3 {
  font-family: var(--serif);
  font-size: 1.2rem;
  color: var(--ink);
  letter-spacing: -0.01em;
  margin: 0.6rem 0 0.4rem;
}
.office__card p {
  font-size: 0.9rem;
  color: rgba(45,45,45,0.78);
  font-weight: 500;
  line-height: 1.6;
}
.office__card a {
  color: var(--gold);
  text-decoration: none;
  transition: color 0.25s var(--ease);
}
.office__card a:hover { color: var(--ink); }
@media (prefers-reduced-motion: reduce) { .office__card { transition: none; } }


/* ============================================================ */
/* FAQ PAGE — search + grouped cards + help sections            */
/* ============================================================ */

.faqp { background: var(--sand); }

/* --- search bar --- */
.faqp__search {
  position: relative;
  max-width: 38rem;
  margin: 0 auto 2rem;
}
.faqp__search-icon {
  position: absolute;
  left: 1.25rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--gold);
  font-size: 1.35rem;
  pointer-events: none;
}
.faqp__search-input {
  width: 100%;
  font-family: var(--sans);
  font-size: 1rem;
  color: var(--text);
  background: #fff;
  border: 1px solid var(--stone);
  border-radius: 9999px;
  padding: 1rem 3.25rem 1rem 3.25rem;
  box-shadow: 0 4px 16px -8px rgba(0,0,0,0.15);
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.faqp__search-input:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(197,165,90,0.18);
}
.faqp__search-input::-webkit-search-cancel-button { -webkit-appearance: none; }
.faqp__search-clear {
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  color: rgba(45,45,45,0.5);
  font-size: 1.35rem;
  display: flex;
  transition: color 0.2s var(--ease);
}
.faqp__search-clear:hover { color: var(--ink); }

/* --- popular topics quick-jump --- */
.faqp__topics {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  max-width: 42rem;
  margin: 0 auto 3.5rem;
}
.faqp__topics-label {
  font-size: 0.85rem;
  font-weight: 500;
  color: rgba(45,45,45,0.6);
  margin-right: 0.25rem;
}
.faqp__topic {
  font-family: var(--sans);
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--stone);
  border-radius: 9999px;
  padding: 0.45rem 1rem;
  cursor: pointer;
  transition: all 0.25s var(--ease);
}
.faqp__topic:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: #fff;
}

/* --- groups --- */
.faqp__group { margin-bottom: 3rem; }
.faqp__group:last-child { margin-bottom: 0; }
.faqp__group-title {
  font-family: var(--serif);
  font-size: 1.6rem;
  color: var(--ink);
  letter-spacing: -0.02em;
  margin-bottom: 1.25rem;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid var(--stone);
}
.faqp__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
@media (min-width: 768px) { .faqp__grid { grid-template-columns: 1fr 1fr; } }

/* --- FAQ card (accordion, search-filtered) --- */
.faq-card {
  background: #fff;
  border: 1px solid var(--stone);
  border-radius: 0.75rem;
  padding: 0 1.35rem;
  transition: box-shadow 0.3s var(--ease);
  align-self: start;
}
.faq-card[open] { box-shadow: 0 10px 25px -12px rgba(0,0,0,0.14); }
.faq-card__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  cursor: pointer;
  list-style: none;
  padding: 1.1rem 0;
  font-family: var(--serif);
  font-size: 1.1rem;
  line-height: 1.3;
  color: var(--ink);
}
.faq-card__q::-webkit-details-marker { display: none; }
.faq-card__chev {
  color: var(--gold);
  font-size: 1.3rem;
  flex-shrink: 0;
  transition: transform 0.3s var(--ease);
}
.faq-card[open] .faq-card__chev { transform: rotate(180deg); }
.faq-card__a {
  margin: 0;
  padding: 0 0 1.2rem;
  font-size: 0.9rem;
  color: rgba(45,45,45,0.82);
  font-weight: 500;
  line-height: 1.7;
}

/* --- no-results message --- */
.faqp__empty {
  text-align: center;
  max-width: 30rem;
  margin: 1rem auto 0;
  padding: 2.5rem 1.5rem;
}
.faqp__empty iconify-icon { color: var(--gold); font-size: 2.5rem; }
.faqp__empty h3 {
  font-family: var(--serif);
  font-size: 1.5rem;
  color: var(--ink);
  margin: 0.75rem 0 0.5rem;
}
.faqp__empty p {
  font-size: 0.92rem;
  color: rgba(45,45,45,0.75);
  font-weight: 500;
  line-height: 1.65;
  margin-bottom: 1.5rem;
}
@media (prefers-reduced-motion: reduce) {
  .faq-card, .faq-card__chev, .faqp__topic { transition: none; }
}

/* --- membership callout (-> Join) --- */
.faqp-join__inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.5rem;
}
@media (min-width: 768px) {
  .faqp-join__inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 2.5rem;
  }
}
.faqp-join__heading { margin: 0.6rem 0 0.6rem; }
.faqp-join__p {
  font-size: 0.95rem;
  color: rgba(45,45,45,0.8);
  font-weight: 500;
  line-height: 1.65;
  max-width: 38rem;
}
.faqp-join__cta { flex-shrink: 0; }

/* --- still have questions (contact cards) --- */
.faqp-help { background: var(--sand); }
.faqp-help__intro {
  max-width: 38rem;
  margin: 1rem auto 0;
  text-align: center;
  font-size: 0.95rem;
  color: rgba(45,45,45,0.8);
  font-weight: 500;
  line-height: 1.7;
}
.faqp-help__cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin-top: 3rem;
}
@media (min-width: 768px) { .faqp-help__cards { grid-template-columns: repeat(3, 1fr); } }
.faqp-help__card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: #fff;
  border: 1px solid var(--stone);
  border-radius: 1rem;
  padding: 2rem 1.5rem;
  text-decoration: none;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.faqp-help__card:hover {
  transform: translateY(-0.4rem);
  box-shadow: 0 18px 24px -10px rgba(0,0,0,0.13);
}
.faqp-help__card iconify-icon { color: var(--gold); font-size: 2rem; }
.faqp-help__card h3 {
  font-family: var(--serif);
  font-size: 1.3rem;
  color: var(--ink);
  margin: 0.75rem 0 0.35rem;
}
.faqp-help__card p {
  font-size: 0.9rem;
  color: rgba(45,45,45,0.75);
  font-weight: 500;
}
@media (prefers-reduced-motion: reduce) { .faqp-help__card { transition: none; } }


/* ============================================================ */
/* PHOTO GALLERY PAGE — per-event grids + lightbox              */
/* ============================================================ */

html { scroll-behavior: smooth; }

.gallerie__head {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2.5rem;
}
@media (min-width: 768px) {
  .gallerie__head {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
  }
}
.gallerie__title { margin: 0.5rem 0 0.5rem; }
.gallerie__desc {
  font-size: 0.95rem;
  color: rgba(45,45,45,0.78);
  font-weight: 500;
  line-height: 1.6;
}
.gallerie__back {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--gold);
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.25s var(--ease);
}
.gallerie__back:hover { color: var(--ink); }

.gallerie__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.85rem;
}
@media (min-width: 640px)  { .gallerie__grid { grid-template-columns: repeat(3, 1fr); gap: 1rem; } }
@media (min-width: 1024px) { .gallerie__grid { grid-template-columns: repeat(3, 1fr); gap: 1.25rem; } }

/* photo thumbnail (button) */
.gphoto {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  padding: 0;
  border: none;
  border-radius: 0.75rem;
  overflow: hidden;
  cursor: pointer;
  background: var(--stone);
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}
.gphoto__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.gphoto:hover .gphoto__img { transform: scale(1.06); }
.gphoto__zoom {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(26,26,46,0.35);
  color: #fff;
  font-size: 2rem;
  opacity: 0;
  transition: opacity 0.3s var(--ease);
}
.gphoto:hover .gphoto__zoom,
.gphoto:focus-visible .gphoto__zoom { opacity: 1; }

/* lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 1.5rem;
  background: rgba(16,16,28,0.92);
  backdrop-filter: blur(4px);
}
.lightbox.is-open { display: flex; }

.lightbox__stage {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: min(92vw, 70rem);
  max-height: 86vh;
}
.lightbox__img {
  max-width: 100%;
  max-height: 78vh;
  object-fit: contain;
  border-radius: 0.5rem;
  box-shadow: 0 20px 50px -10px rgba(0,0,0,0.6);
}
.lightbox__caption {
  margin-top: 1rem;
  font-family: var(--sans);
  font-size: 0.85rem;
  font-weight: 500;
  color: rgba(255,255,255,0.85);
  text-align: center;
}
.lightbox__caption #lbCount { color: var(--gold); margin-right: 0.5rem; }
.lightbox__close {
  position: absolute;
  top: 1.25rem;
  right: 1.5rem;
  background: none;
  border: none;
  color: #fff;
  font-size: 2.25rem;
  cursor: pointer;
  display: flex;
  opacity: 0.85;
  transition: opacity 0.2s var(--ease), transform 0.2s var(--ease);
}
.lightbox__close:hover { opacity: 1; transform: scale(1.08); }
.lightbox__nav {
  flex-shrink: 0;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.25);
  color: #fff;
  width: 3rem;
  height: 3rem;
  border-radius: 9999px;
  font-size: 1.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s var(--ease);
}
.lightbox__nav:hover { background: var(--gold); border-color: var(--gold); }
@media (max-width: 640px) {
  .lightbox__nav { position: absolute; bottom: 1.25rem; }
  .lightbox__nav--prev { left: 25%; }
  .lightbox__nav--next { right: 25%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .gphoto__img, .gphoto__zoom, .lightbox__close, .lightbox__nav { transition: none; }
}


/* ============================================================ */
/* EVENTS PAGE — featured, list, host, newsletter, toast        */
/* ============================================================ */

/* --- featured event --- */
.featured-event { background: var(--sand); }
.fevent {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  background: #fff;
  border: 1px solid var(--stone);
  border-radius: 1.25rem;
  overflow: hidden;
  box-shadow: 0 20px 40px -18px rgba(0,0,0,0.18);
}
@media (min-width: 900px) { .fevent { grid-template-columns: 1.1fr 1fr; } }
.fevent__media {
  position: relative;
  min-height: 16rem;
  overflow: hidden;
}
.fevent__img { width: 100%; height: 100%; object-fit: cover; }
.fevent__badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: var(--gold);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.4rem 0.9rem;
  border-radius: 9999px;
}
.fevent__body { padding: 2.25rem; }
@media (min-width: 768px) { .fevent__body { padding: 3rem; } }
.fevent__name {
  font-family: var(--serif);
  font-size: 2rem;
  color: var(--ink);
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 1rem;
}
.fevent__meta {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-bottom: 1.25rem;
}
.fevent__meta span {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(45,45,45,0.78);
}
.fevent__meta iconify-icon { color: var(--gold); font-size: 1.15rem; flex-shrink: 0; }
.fevent__desc {
  font-size: 0.95rem;
  color: rgba(45,45,45,0.82);
  font-weight: 500;
  line-height: 1.7;
  margin-bottom: 1.75rem;
}
.fevent__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
}
/* normalize the two pill buttons to identical size in this row */
.fevent__actions .btn-pill-gold,
.fevent__actions .btn-pill-dark {
  padding: 0.9rem 2rem;
  margin: 0;
  font-size: 0.875rem;
}

/* --- event list cards --- */
.evlist { background: var(--sand); }
.evlist__rechead { margin-top: 4.5rem; }
.evlist__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-top: 3rem;
}
@media (min-width: 640px)  { .evlist__grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .evlist__grid { grid-template-columns: repeat(3, 1fr); } }

.evcard {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--stone);
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.evcard:hover {
  transform: translateY(-0.5rem);
  box-shadow: 0 20px 25px -5px rgba(0,0,0,0.12);
}
.evcard__media {
  position: relative;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: var(--stone);
}
.evcard__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.evcard:hover .evcard__img { transform: scale(1.05); }
.evcard__date {
  position: absolute;
  top: 0.85rem;
  left: 0.85rem;
  background: var(--ink);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  padding: 0.35rem 0.8rem;
  border-radius: 9999px;
}
.evcard__date--ongoing { background: var(--gold); }

.evcard__body {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  padding: 1.5rem;
}
.evcard__name {
  font-family: var(--serif);
  font-size: 1.4rem;
  color: var(--ink);
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 0.85rem;
}
.evcard__meta {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 1rem;
}
.evcard__meta span {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.82rem;
  font-weight: 500;
  color: rgba(45,45,45,0.7);
}
.evcard__meta iconify-icon { color: var(--gold); font-size: 1rem; flex-shrink: 0; }
.evcard__details { margin-bottom: 1.25rem; }
.evcard__details summary {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  cursor: pointer;
  list-style: none;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--gold);
}
.evcard__details summary::-webkit-details-marker { display: none; }
.evcard__chev { transition: transform 0.3s var(--ease); }
.evcard__details[open] .evcard__chev { transform: rotate(180deg); }
.evcard__desc {
  margin: 0.75rem 0 0;
  font-size: 0.88rem;
  color: rgba(45,45,45,0.8);
  font-weight: 500;
  line-height: 1.65;
}
.evcard__cta {
  margin-top: auto;
  justify-content: center;
}
@media (prefers-reduced-motion: reduce) {
  .evcard, .evcard__img, .evcard__chev { transition: none; }
}

/* --- host / sponsor callout --- */
.host__grid {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}
@media (min-width: 768px) {
  .host__grid {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
  }
}
.host__heading { margin: 0.6rem 0 0.75rem; }
.host__p {
  font-size: 0.95rem;
  color: rgba(45,45,45,0.82);
  font-weight: 500;
  line-height: 1.7;
  max-width: 40rem;
}
.host__actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.85rem;
  flex-shrink: 0;
}
.host__call {
  font-size: 0.85rem;
  font-weight: 500;
  color: rgba(45,45,45,0.7);
  text-decoration: none;
}
.host__call:hover { color: var(--gold); }

/* --- newsletter signup --- */
.evnews { background: var(--sand); }
.evnews__inner {
  max-width: 36rem;
  margin: 0 auto;
  text-align: center;
}
.evnews__icon iconify-icon { color: var(--gold); font-size: 2.75rem; }
.evnews__heading { margin: 0.5rem 0 0.75rem; }
.evnews__p {
  font-size: 0.95rem;
  color: rgba(45,45,45,0.8);
  font-weight: 500;
  line-height: 1.65;
  margin-bottom: 1.75rem;
}

.evnews__form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-width: 28rem;
  margin: 0 auto;
}
@media (min-width: 520px) { .evnews__form { flex-direction: row; } }
.evnews__input {
  flex: 1 1 auto;
  font-family: var(--sans);
  font-size: 0.95rem;
  color: var(--text);
  background: #fff;
  border: 1px solid var(--stone);
  border-radius: 9999px;
  padding: 0.85rem 1.25rem;
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.evnews__input:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(197,165,90,0.18);
}
.evnews__submit { flex-shrink: 0; justify-content: center; }
.evnews__status {
  margin: 1.25rem auto 0;
  max-width: 28rem;
  padding: 0.8rem 1rem;
  border-radius: 0.6rem;
  font-size: 0.88rem;
  font-weight: 500;
}
.evnews__status--ok { background: #e8efe9; color: #2f5d3a; border: 1px solid #bcd6c2; }
.evnews__status--err { background: #f7e9e5; color: #8a3a26; border: 1px solid #e3c3b8; }
.evnews__fine {
  margin-top: 1rem;
  font-size: 0.78rem;
  color: rgba(45,45,45,0.55);
  font-weight: 500;
}

/* --- register confirmation toast --- */
.reg-toast {
  position: fixed;
  left: 50%;
  bottom: 1.5rem;
  transform: translateX(-50%) translateY(150%);
  z-index: 250;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  max-width: calc(100vw - 2rem);
  background: var(--ink);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 500;
  padding: 0.9rem 1.4rem;
  border-radius: 9999px;
  box-shadow: 0 16px 40px -10px rgba(0,0,0,0.45);
  opacity: 0;
  transition: transform 0.4s var(--ease), opacity 0.4s var(--ease);
}
.reg-toast.is-show { transform: translateX(-50%) translateY(0); opacity: 1; }
.reg-toast iconify-icon { color: var(--gold); font-size: 1.4rem; flex-shrink: 0; }
@media (prefers-reduced-motion: reduce) {
  .evnews__input, .reg-toast { transition: opacity 0.2s linear; }
}


/* ============================================================ */
/* RESOURCES PAGE — directory search, tiles, join callout       */
/* ============================================================ */

.directory { background: var(--sand); }

/* search (mirrors .faqp__search) */
.directory__search {
  position: relative;
  max-width: 40rem;
  margin: 0 auto 1.5rem;
}
.directory__search-icon {
  position: absolute;
  left: 1.25rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--gold);
  font-size: 1.35rem;
  pointer-events: none;
}
.directory__search-input {
  width: 100%;
  font-family: var(--sans);
  font-size: 1rem;
  color: var(--text);
  background: #fff;
  border: 1px solid var(--stone);
  border-radius: 9999px;
  padding: 1rem 3.25rem;
  box-shadow: 0 4px 16px -8px rgba(0,0,0,0.15);
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.directory__search-input:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(197,165,90,0.18);
}
.directory__search-input::-webkit-search-cancel-button { -webkit-appearance: none; }
.directory__search-clear {
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  color: rgba(45,45,45,0.5);
  font-size: 1.35rem;
  display: flex;
  transition: color 0.2s var(--ease);
}
.directory__search-clear:hover { color: var(--ink); }

/* category quick-filters */
.directory__cats {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  max-width: 48rem;
  margin: 0 auto 3.5rem;
}
.directory__cats-label {
  font-size: 0.85rem;
  font-weight: 500;
  color: rgba(45,45,45,0.6);
}
.directory__cat {
  font-family: var(--sans);
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--stone);
  border-radius: 9999px;
  padding: 0.45rem 1rem;
  cursor: pointer;
  transition: all 0.25s var(--ease);
}
.directory__cat:hover { background: var(--gold); border-color: var(--gold); color: #fff; }

/* groups + tiles */
.directory__group { margin-bottom: 3rem; }
.directory__group:last-child { margin-bottom: 0; }
.directory__group-title {
  font-family: var(--serif);
  font-size: 1.6rem;
  color: var(--ink);
  letter-spacing: -0.02em;
  margin-bottom: 1.25rem;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid var(--stone);
}
.directory__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
@media (min-width: 640px)  { .directory__grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .directory__grid { grid-template-columns: repeat(3, 1fr); } }

.biz-tile {
  position: relative;
  display: flex;
  gap: 1rem;
  background: #fff;
  border: 1px solid var(--stone);
  border-radius: 1rem;
  padding: 1.5rem;
  text-decoration: none;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.3s var(--ease);
}
.biz-tile:hover {
  transform: translateY(-0.4rem);
  box-shadow: 0 18px 24px -10px rgba(0,0,0,0.13);
  border-color: rgba(197,165,90,0.5);
}
.biz-tile__logo {
  flex-shrink: 0;
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--gold);
  background: rgba(197,165,90,0.12);
  border: 1px solid rgba(197,165,90,0.35);
}
.biz-tile__body { flex: 1 1 auto; min-width: 0; }
.biz-tile__cat {
  font-family: var(--sans);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
}
.biz-tile__name {
  font-family: var(--serif);
  font-size: 1.25rem;
  color: var(--ink);
  letter-spacing: -0.01em;
  line-height: 1.15;
  margin: 0.2rem 0 0.5rem;
}
.biz-tile__bio {
  font-size: 0.85rem;
  color: rgba(45,45,45,0.78);
  font-weight: 500;
  line-height: 1.5;
  margin-bottom: 0.9rem;
}
.biz-tile__contact {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}
.biz-tile__contact span {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.78rem;
  font-weight: 500;
  color: rgba(45,45,45,0.65);
}
.biz-tile__contact iconify-icon { color: var(--gold); font-size: 0.95rem; flex-shrink: 0; }
.biz-tile__arrow {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  color: var(--gold);
  font-size: 1.2rem;
  opacity: 0;
  transform: translateX(-0.3rem);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
}
.biz-tile:hover .biz-tile__arrow { opacity: 1; transform: translateX(0); }

/* no-results */
.directory__empty {
  text-align: center;
  max-width: 30rem;
  margin: 0 auto;
  padding: 2.5rem 1.5rem;
}
.directory__empty iconify-icon { color: var(--gold); font-size: 2.5rem; }
.directory__empty h3 { font-family: var(--serif); font-size: 1.5rem; color: var(--ink); margin: 0.75rem 0 0.5rem; }
.directory__empty p { font-size: 0.92rem; color: rgba(45,45,45,0.75); font-weight: 500; line-height: 1.6; }
@media (prefers-reduced-motion: reduce) {
  .biz-tile, .biz-tile__arrow, .directory__cat { transition: none; }
}

/* become-a-member callout (on --ink) */
.join-cta {
  background: var(--ink);
  padding-block: 5rem;
  text-align: center;
}
.join-cta__inner { max-width: 40rem; margin: 0 auto; }
.join-cta__title {
  font-family: var(--serif);
  font-size: 2.25rem;
  font-weight: 500;
  color: #fff;
  letter-spacing: -0.02em;
  margin: 0.6rem 0 1rem;
}
.join-cta__text {
  font-size: 0.98rem;
  color: rgba(255,255,255,0.8);
  font-weight: 500;
  line-height: 1.7;
  margin-bottom: 2rem;
}
.join-cta__actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}
.join-cta__link {
  font-size: 0.88rem;
  font-weight: 500;
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  transition: color 0.25s var(--ease);
}
.join-cta__link:hover { color: var(--gold); }

/* ============================================================ */
/* BUSINESS DETAIL PAGE                                          */
/* ============================================================ */

.biz-hero {
  position: relative;
  min-height: 22rem;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--ink);
}
.biz-hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.biz-hero__scrim {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(26,26,46,0.92) 10%, rgba(26,26,46,0.55) 60%, rgba(26,26,46,0.4) 100%);
}
.biz-hero__plain {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, var(--ink) 0%, #2a2a48 100%);
}
.biz-hero__inner {
  position: relative;
  z-index: 1;
  padding-block: 2.5rem 3rem;
}
.biz-hero__back {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  margin-bottom: 1.25rem;
  transition: color 0.25s var(--ease);
}
.biz-hero__back:hover { color: var(--gold); }
.biz-hero__logo {
  width: 4.5rem;
  height: 4.5rem;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--ink);
  background: var(--gold);
  margin-bottom: 1.25rem;
}
.biz-hero__name {
  font-family: var(--serif);
  font-size: 2.75rem;
  font-weight: 500;
  color: #fff;
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin: 0.5rem 0 0.5rem;
}
.biz-hero__tagline {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.85);
  font-weight: 500;
  max-width: 38rem;
}

/* business profile body */
.biz-profile { background: var(--sand); }
.biz-profile__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: start;
}
@media (min-width: 900px) {
  .biz-profile__grid { grid-template-columns: 1.5fr 1fr; gap: 3.5rem; }
}
.biz-profile__heading { margin: 0.6rem 0 1rem; }
.biz-profile__about {
  font-size: 1rem;
  color: rgba(45,45,45,0.85);
  font-weight: 500;
  line-height: 1.8;
  margin-bottom: 1.75rem;
}
.biz-profile__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}
.biz-profile__tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--ink);
  background: var(--stone);
  border-radius: 9999px;
  padding: 0.4rem 0.9rem;
}
.biz-profile__tag iconify-icon { color: var(--gold); font-size: 1rem; }

/* contact card */
.biz-profile__card {
  background: #fff;
  border: 1px solid var(--stone);
  border-radius: 1rem;
  padding: 2rem;
  box-shadow: 0 10px 30px -14px rgba(0,0,0,0.15);
  position: sticky;
  top: 6rem;
}
.biz-card__title {
  font-family: var(--serif);
  font-size: 1.4rem;
  color: var(--ink);
  letter-spacing: -0.01em;
  margin-bottom: 1.25rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--stone);
}
.biz-card__list { list-style: none; padding: 0; margin: 0 0 1.5rem; }
.biz-card__list li {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  padding: 0.65rem 0;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text);
  line-height: 1.5;
}
.biz-card__list iconify-icon { color: var(--gold); font-size: 1.2rem; flex-shrink: 0; margin-top: 0.05rem; }
.biz-card__list a {
  color: var(--text);
  text-decoration: none;
  transition: color 0.2s var(--ease);
  word-break: break-word;
}
.biz-card__list a:hover { color: var(--gold); }
.biz-card__cta { width: 100%; justify-content: center; }
@media (max-width: 899px) {
  .biz-profile__card { position: static; }
}
@media (prefers-reduced-motion: reduce) {
  .join-cta__link, .biz-hero__back, .biz-card__list a { transition: none; }
}


/* ============================================================ */
/* CONTACT PAGE — form + info, map                              */
/* ============================================================ */

.contact { background: var(--sand); }
.contact__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: start;
}
@media (min-width: 900px) {
  .contact__grid { grid-template-columns: 0.85fr 1.15fr; gap: 4rem; }
}
.contact__heading { margin: 0.6rem 0 0.75rem; }
.contact__lead {
  font-size: 0.95rem;
  color: rgba(45,45,45,0.78);
  font-weight: 500;
  line-height: 1.6;
  margin-bottom: 2rem;
}
.contact__list { list-style: none; padding: 0; margin: 0 0 2rem; }
.contact__list li {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--stone);
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text);
  line-height: 1.55;
}
.contact__list li:last-child { border-bottom: none; }
.contact__list iconify-icon { color: var(--gold); font-size: 1.3rem; flex-shrink: 0; margin-top: 0.1rem; }
.contact__label {
  display: block;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.15rem;
}
.contact__list a { color: var(--text); text-decoration: none; transition: color 0.2s var(--ease); }
.contact__list a:hover { color: var(--gold); }
.contact__social { display: flex; gap: 0.75rem; }
.contact__social-link {
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--stone);
  font-size: 1.2rem;
  transition: all 0.25s var(--ease);
}
.contact__social-link:hover { background: var(--gold); border-color: var(--gold); color: #fff; }

.contact__form {
  background: #fff;
  border: 1px solid var(--stone);
  border-radius: 1rem;
  padding: 2rem 1.75rem;
  box-shadow: 0 10px 30px -12px rgba(0,0,0,0.12);
}
@media (min-width: 768px) { .contact__form { padding: 2.5rem; } }
.contact__row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
@media (min-width: 540px) { .contact__row { grid-template-columns: 1fr 1fr; } }
.contact__submit { width: 100%; justify-content: center; margin-top: 0.5rem; }
.contact__status {
  margin: 1.25rem 0 0;
  padding: 0.9rem 1rem;
  border-radius: 0.6rem;
  font-size: 0.9rem;
  font-weight: 500;
  line-height: 1.5;
}
.contact__status--ok { background: #e8efe9; color: #2f5d3a; border: 1px solid #bcd6c2; }
.contact__status--err { background: #f7e9e5; color: #8a3a26; border: 1px solid #e3c3b8; }

/* --- map --- */
.map-section { background: var(--sand); padding-bottom: 0; }
.map-frame {
  position: relative;
  max-width: var(--maxw);
  margin: 0 auto;
  padding-inline: 1.5rem;
}
@media (min-width: 768px) { .map-frame { padding-inline: 3rem; } }
.map-frame iframe {
  display: block;
  width: 100%;
  border-radius: 1rem;
  box-shadow: 0 14px 30px -14px rgba(0,0,0,0.25);
  filter: grayscale(0.15);
}
.map-directions {
  position: absolute;
  right: 2.5rem;
  bottom: 1.25rem;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: var(--ink);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 500;
  padding: 0.65rem 1.1rem;
  border-radius: 9999px;
  text-decoration: none;
  box-shadow: 0 8px 18px -6px rgba(0,0,0,0.4);
  transition: background 0.25s var(--ease);
}
.map-directions:hover { background: var(--gold); color: var(--ink); }
.map-directions iconify-icon { font-size: 1.05rem; }
@media (max-width: 540px) { .map-directions { right: 2rem; bottom: 1rem; } }
@media (prefers-reduced-motion: reduce) {
  .contact__social-link, .map-directions { transition: none; }
}



/* ============================================================ */
/* ADMIN BACKEND — sidebar shell, tables, modals, calendar      */
/* Loaded on /admin/* only (via includes/admin-header.php).     */
/* ============================================================ */

.adm-body { background: var(--stone); }
.adm-noscroll { overflow: hidden; }

.adm { display: flex; min-height: 100vh; }

/* --- LEFT SIDEBAR --- */
.adm__side {
  position: fixed;
  top: 0; left: 0; bottom: 0;
  width: 15.5rem;
  z-index: 60;
  display: flex;
  flex-direction: column;
  background: var(--ink);
  padding: 1.75rem 1rem;
  transform: translateX(-100%);
  transition: transform 0.3s var(--ease);
}
.adm__side.is-open { transform: translateX(0); }
@media (min-width: 1024px) { .adm__side { transform: translateX(0); } }

.adm__brand { display: block; padding: 0 0.75rem; margin-bottom: 2.25rem; }
.adm__brand-name {
  display: block;
  font-family: var(--serif);
  font-size: 1.2rem;
  color: var(--gold);
  letter-spacing: -0.02em;
  text-transform: uppercase;
  line-height: 1;
}
.adm__brand-tag {
  display: block;
  font-size: 0.62rem;
  color: rgba(255,255,255,0.55);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-top: 0.35rem;
}

/* sidebar nav */
.adm__nav { display: flex; flex-direction: column; gap: 0.2rem; }
.adm__nav-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.7rem 0.75rem;
  border-radius: 0.6rem;
  font-size: 0.88rem;
  font-weight: 500;
  color: rgba(255,255,255,0.72);
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
}
.adm__nav-link iconify-icon { font-size: 1.25rem; flex-shrink: 0; }
.adm__nav-link:hover { background: rgba(255,255,255,0.06); color: #fff; }
.adm__nav-link.is-active { background: rgba(197,165,90,0.15); color: var(--gold); }

.adm__side-foot {
  margin-top: auto;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}
.adm__side-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.6rem 0.75rem;
  border-radius: 0.6rem;
  font-size: 0.82rem;
  font-weight: 500;
  color: rgba(255,255,255,0.6);
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
}
.adm__side-link iconify-icon { font-size: 1.15rem; flex-shrink: 0; }
.adm__side-link:hover { background: rgba(255,255,255,0.06); color: #fff; }
.adm__side-link--out:hover { color: #e79a86; }

/* scrim behind the open mobile sidebar */
.adm__scrim {
  position: fixed;
  inset: 0;
  z-index: 55;
  background: rgba(26,26,46,0.5);
}
@media (min-width: 1024px) { .adm__scrim { display: none; } }

/* --- MAIN COLUMN --- */
.adm__main {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
}
@media (min-width: 1024px) { .adm__main { margin-left: 15.5rem; } }

.adm__topbar {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: #fff;
  border-bottom: 1px solid var(--stone);
  padding: 1rem 1.5rem;
  position: sticky;
  top: 0;
  z-index: 40;
}
.adm__burger { font-size: 1.6rem; color: var(--ink); display: flex; }
@media (min-width: 1024px) { .adm__burger { display: none; } }
.adm__title {
  font-family: var(--serif);
  font-size: 1.6rem;
  color: var(--ink);
  letter-spacing: -0.02em;
  margin: 0;
}
.adm__user {
  margin-left: auto;
  font-size: 0.8rem;
  font-weight: 500;
  color: rgba(45,45,45,0.55);
  display: none;
}
@media (min-width: 640px) { .adm__user { display: block; } }

.adm__content { padding: 2rem 1.5rem 4rem; }
@media (min-width: 768px) { .adm__content { padding: 2.5rem 2.5rem 5rem; } }

.adm__lede {
  font-size: 0.95rem;
  color: rgba(45,45,45,0.75);
  font-weight: 500;
  margin: 0;
}
.adm__bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.adm__new { margin-bottom: 0; padding: 0.7rem 1.4rem; }

/* --- dashboard tiles --- */
.adm-tiles {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin-top: 1.75rem;
}
@media (min-width: 640px)  { .adm-tiles { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1280px) { .adm-tiles { grid-template-columns: repeat(4, 1fr); } }

.adm-tile {
  display: block;
  background: #fff;
  border: 1px solid var(--stone);
  border-radius: 1rem;
  padding: 1.75rem 1.5rem;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.adm-tile:hover {
  transform: translateY(-0.4rem);
  box-shadow: 0 18px 24px -10px rgba(0,0,0,0.13);
}
.adm-tile__icon { font-size: 1.9rem; color: var(--gold); display: block; margin-bottom: 0.9rem; }
.adm-tile__title {
  font-family: var(--serif);
  font-size: 1.35rem;
  color: var(--ink);
  letter-spacing: -0.01em;
  margin: 0 0 0.4rem;
}
.adm-tile__text {
  font-size: 0.86rem;
  color: rgba(45,45,45,0.75);
  font-weight: 500;
  line-height: 1.6;
  margin: 0;
}

/* --- info note --- */
.adm-note {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  background: rgba(197,165,90,0.1);
  border: 1px solid rgba(197,165,90,0.35);
  border-radius: 0.75rem;
  padding: 1rem 1.25rem;
  margin-bottom: 1.75rem;
}
.adm-note iconify-icon { color: var(--gold); font-size: 1.3rem; flex-shrink: 0; margin-top: 0.05rem; }
.adm-note p { margin: 0; font-size: 0.87rem; color: rgba(45,45,45,0.85); font-weight: 500; line-height: 1.6; }

/* --- data table --- */
.adm-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border: 1px solid var(--stone);
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}
.adm-table thead th {
  text-align: left;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: rgba(45,45,45,0.5);
  background: var(--sand);
  padding: 0.9rem 1.1rem;
  border-bottom: 1px solid var(--stone);
  white-space: nowrap;
}
.adm-table tbody td {
  padding: 0.95rem 1.1rem;
  border-bottom: 1px solid var(--stone);
  font-size: 0.88rem;
  font-weight: 500;
  color: rgba(45,45,45,0.8);
  vertical-align: middle;
}
.adm-table tbody tr:last-child td { border-bottom: none; }
.adm-table tbody tr:hover { background: rgba(197,165,90,0.04); }
.adm-table__name { font-family: var(--serif); font-size: 1.05rem; color: var(--ink); }
.adm-table__url { color: var(--gold); }
.adm-table__url:hover { color: var(--ink); }
.adm-table__fields { font-size: 0.8rem; color: rgba(45,45,45,0.55); }
.adm-table__act { text-align: right; white-space: nowrap; }
.adm-table__act .adm-btn + .adm-btn { margin-left: 0.4rem; }

/* small secondary button */
.adm-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-family: var(--sans);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--stone);
  border-radius: 9999px;
  padding: 0.45rem 1rem;
  cursor: pointer;
  transition: all 0.2s var(--ease);
}
.adm-btn:hover:not(:disabled) { background: var(--gold); border-color: var(--gold); color: #fff; }
.adm-btn:disabled { opacity: 0.45; cursor: not-allowed; }

.adm-chip {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--gold);
  background: rgba(197,165,90,0.12);
  border: 1px solid rgba(197,165,90,0.3);
  border-radius: 9999px;
  padding: 0.25rem 0.7rem;
  white-space: nowrap;
}

/* --- empty state --- */
.adm-empty {
  text-align: center;
  background: #fff;
  border: 1px solid var(--stone);
  border-radius: 1rem;
  padding: 4rem 2rem;
  max-width: 34rem;
  margin: 1rem auto 0;
}
.adm-empty__icon { font-size: 3rem; color: var(--gold); }
.adm-empty__title { font-family: var(--serif); font-size: 1.6rem; color: var(--ink); margin: 1rem 0 0.6rem; }
.adm-empty__text { font-size: 0.9rem; color: rgba(45,45,45,0.75); font-weight: 500; line-height: 1.7; margin: 0; }
.adm-empty__text a { color: var(--gold); }
.adm-empty__text a:hover { color: var(--ink); }

/* --- MODAL --- */
.adm-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}
.adm-modal[hidden] { display: none; }
.adm-modal__scrim {
  position: absolute;
  inset: 0;
  background: rgba(16,16,28,0.6);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
}
.adm-modal__box {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 32rem;
  max-height: 88vh;
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 1rem;
  box-shadow: 0 30px 60px -15px rgba(0,0,0,0.4);
  overflow: hidden;
}
.adm-modal__box--wide { max-width: 44rem; }

.adm-modal__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.35rem 1.5rem;
  border-bottom: 1px solid var(--stone);
}
.adm-modal__title { font-family: var(--serif); font-size: 1.45rem; color: var(--ink); letter-spacing: -0.01em; margin: 0; }
.adm-modal__close { font-size: 1.75rem; color: rgba(45,45,45,0.45); display: flex; transition: color 0.2s var(--ease); }
.adm-modal__close:hover { color: var(--ink); }

.adm-modal__body { padding: 1.5rem; overflow-y: auto; flex: 1 1 auto; }
.adm-modal__meta { font-size: 0.85rem; color: rgba(45,45,45,0.6); font-weight: 500; margin: 0 0 1.25rem; }
.adm-modal__meta a { color: var(--gold); }
.adm-modal__date {
  font-family: var(--serif);
  font-size: 1.2rem;
  color: var(--gold);
  margin: 0 0 1.25rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--stone);
}

.adm-modal__foot {
  display: flex;
  justify-content: flex-end;
  gap: 0.75rem;
  padding: 1.15rem 1.5rem;
  border-top: 1px solid var(--stone);
  background: var(--sand);
}
.adm-modal__foot .btn-pill-gold { margin-bottom: 0; padding: 0.6rem 1.5rem; }
.adm-modal__foot .btn-pill-gold:disabled { opacity: 0.5; cursor: not-allowed; }
.adm-modal__foot .btn-pill-gold:disabled:hover { background: var(--gold); box-shadow: none; }

/* --- two-column form grid inside modals --- */
.adm-form {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0 1.25rem;
}
@media (min-width: 640px) { .adm-form { grid-template-columns: 1fr 1fr; } }
.adm-form .field--full { grid-column: 1 / -1; }
.adm-form .field { margin-bottom: 1.15rem; }
.adm-form .field input:disabled,
.adm-form .field textarea:disabled { opacity: 0.6; cursor: not-allowed; }
.field__hint { font-size: 0.75rem; color: rgba(45,45,45,0.55); font-weight: 500; margin: 0.4rem 0 0; }

/* --- ADMIN CALENDAR --- */
.adm-cal {
  background: #fff;
  border: 1px solid var(--stone);
  border-radius: 1rem;
  padding: 1.5rem;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
  max-width: 52rem;
}
.adm-cal__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
}
.adm-cal__month {
  font-family: var(--serif);
  font-size: 1.75rem;
  color: var(--ink);
  letter-spacing: -0.02em;
  margin: 0;
}
.adm-cal__nav {
  width: 2.4rem; height: 2.4rem;
  border-radius: 9999px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--stone);
  color: var(--ink);
  font-size: 1.15rem;
  transition: all 0.2s var(--ease);
}
.adm-cal__nav:hover { background: var(--gold); color: #fff; border-color: transparent; }

.adm-cal__grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0.4rem;
}
.adm-cal__dow {
  text-align: center;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(45,45,45,0.45);
  padding-bottom: 0.6rem;
}
.adm-cal__cell {
  position: relative;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 0.5rem;
  border: 1px solid var(--stone);
  border-radius: 0.6rem;
  background: var(--sand);
  cursor: pointer;
  transition: all 0.2s var(--ease);
}
.adm-cal__cell:hover:not(.adm-cal__cell--empty) {
  background: rgba(197,165,90,0.15);
  border-color: var(--gold);
  transform: translateY(-2px);
}
.adm-cal__cell--empty { background: none; border-color: transparent; cursor: default; }
.adm-cal__cell.is-today { border-color: var(--gold); border-width: 2px; }
.adm-cal__cell.is-today .adm-cal__num { color: var(--gold); font-weight: 700; }
.adm-cal__num { font-size: 0.85rem; font-weight: 500; color: var(--text); }

@media (prefers-reduced-motion: reduce) {
  .adm__side, .adm-tile, .adm-btn, .adm-cal__cell, .adm-cal__nav, .adm-modal__close { transition: none; }
}

/* --- flash messages (after save/redirect) --- */
.adm-flash {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  border-radius: 0.75rem;
  padding: 1rem 1.25rem;
  margin-bottom: 1.5rem;
}
.adm-flash iconify-icon { font-size: 1.3rem; flex-shrink: 0; margin-top: 0.05rem; }
.adm-flash p { margin: 0; font-size: 0.9rem; font-weight: 500; line-height: 1.55; }
.adm-flash--ok  { background: #e8efe9; border: 1px solid #bcd6c2; color: #2f5d3a; }
.adm-flash--ok iconify-icon  { color: #2f5d3a; }
.adm-flash--err { background: #f7e9e5; border: 1px solid #e3c3b8; color: #8a3a26; }
.adm-flash--err iconify-icon { color: #8a3a26; }

/* --- status badge --- */
.adm-status {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-radius: 9999px;
  padding: 0.28rem 0.7rem;
}
.adm-status--live   { background: #e8efe9; color: #2f5d3a; }
.adm-status--hidden { background: var(--stone); color: rgba(45,45,45,0.6); }
.adm-table tbody tr.is-hidden-row { opacity: 0.6; }

/* inline form so Hide/Show sits beside the other buttons */
.adm-inline-form { display: inline; }
.adm-table__act .adm-inline-form { margin-left: 0.4rem; }

/* per-field validation error */
.field__err {
  margin: 0.4rem 0 0;
  font-size: 0.78rem;
  font-weight: 500;
  color: #8a3a26;
}
.field__err + .field__hint { display: none; }


/* ============================================================ */
/* ADMIN: PAGES — card grid + visual page editor                */
/* ============================================================ */

.pg-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 640px)  { .pg-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .pg-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1500px) { .pg-grid { grid-template-columns: repeat(4, 1fr); } }

.pg-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--stone);
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.pg-card:hover {
  transform: translateY(-0.4rem);
  box-shadow: 0 18px 26px -10px rgba(0,0,0,0.16);
}
.pg-card--locked { opacity: 0.72; }
.pg-card--locked:hover { transform: none; box-shadow: 0 1px 3px rgba(0,0,0,0.05); }

.pg-card__thumb {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--stone);
}
.pg-card__thumb img { width: 100%; height: 100%; object-fit: cover; }
.pg-card__badge {
  position: absolute;
  top: 0.75rem; left: 0.75rem;
  background: var(--gold);
  color: #fff;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  padding: 0.3rem 0.7rem;
  border-radius: 9999px;
}

.pg-card__body { padding: 1.25rem 1.25rem 0.75rem; flex: 1 1 auto; }
.pg-card__title {
  font-family: var(--serif);
  font-size: 1.35rem;
  color: var(--ink);
  letter-spacing: -0.01em;
  margin: 0 0 0.25rem;
}
.pg-card__url { font-size: 0.8rem; color: var(--gold); font-weight: 500; margin: 0; }
.pg-card__note { font-size: 0.78rem; color: rgba(45,45,45,0.55); font-weight: 500; margin: 0.6rem 0 0; }
.pg-card__edits {
  display: inline-block;
  font-size: 0.7rem; font-weight: 600;
  color: #2f5d3a; background: #e8efe9;
  border-radius: 9999px; padding: 0.2rem 0.6rem;
  margin: 0.6rem 0 0;
}
.pg-card__foot {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.25rem 1.25rem;
}
.pg-card__edit { margin-bottom: 0; padding: 0.55rem 1.1rem; font-size: 0.82rem; }
.pg-card__edit iconify-icon { margin-left: 0; margin-right: 0.35rem; font-size: 1rem; }

/* --- VISUAL PAGE EDITOR (full-screen overlay) --- */
.pe {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: flex;
  background: var(--stone);
}
.pe[hidden] { display: none; }

/* LEFT: edit panel */
.pe__panel {
  width: 24rem;
  max-width: 90vw;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  background: #fff;
  border-right: 1px solid var(--stone);
  box-shadow: 4px 0 20px -8px rgba(0,0,0,0.15);
}
.pe__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 1.35rem 1rem;
  border-bottom: 1px solid var(--stone);
}
.pe__eyebrow {
  display: block;
  font-size: 0.62rem; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--gold);
}
.pe__title {
  font-family: var(--serif);
  font-size: 1.5rem; color: var(--ink);
  letter-spacing: -0.02em; margin: 0.2rem 0 0;
}
.pe__close { font-size: 1.7rem; color: rgba(45,45,45,0.45); display: flex; transition: color 0.2s var(--ease); }
.pe__close:hover { color: var(--ink); }

.pe__hint {
  display: flex; align-items: center; gap: 0.5rem;
  margin: 0; padding: 0.85rem 1.35rem;
  background: rgba(197,165,90,0.1);
  border-bottom: 1px solid var(--stone);
  font-size: 0.8rem; font-weight: 500; color: rgba(45,45,45,0.8);
}
.pe__hint iconify-icon { color: var(--gold); font-size: 1.1rem; flex-shrink: 0; }

.pe__fields { flex: 1 1 auto; overflow-y: auto; padding: 1.25rem 1.35rem; }
.pe__loading { font-size: 0.88rem; color: rgba(45,45,45,0.55); font-weight: 500; text-align: center; padding: 3rem 1rem; }

.pe-group { margin-bottom: 1.75rem; }
.pe-group__title {
  font-family: var(--serif);
  font-size: 1.1rem; color: var(--ink);
  margin: 0 0 0.85rem; padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--stone);
}

.pe-field {
  margin-bottom: 1.1rem;
  padding: 0.6rem;
  margin-inline: -0.6rem;
  border-radius: 0.6rem;
  transition: background 0.25s var(--ease);
}
.pe-field.is-active { background: rgba(197,165,90,0.14); }
.pe-field__label {
  display: block;
  font-size: 0.74rem; font-weight: 600;
  letter-spacing: 0.03em; color: var(--ink);
  margin-bottom: 0.35rem;
}
.pe-field input[type=text], .pe-field textarea {
  width: 100%;
  font-family: var(--sans); font-size: 0.88rem; color: var(--text);
  background: var(--sand);
  border: 1px solid var(--stone);
  border-radius: 0.5rem;
  padding: 0.55rem 0.7rem;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.pe-field textarea { resize: vertical; }
.pe-field input[type=text]:focus, .pe-field textarea:focus {
  outline: none; border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(197,165,90,0.18);
}
.pe-field__hint { font-size: 0.72rem; color: rgba(45,45,45,0.5); font-weight: 500; margin: 0.3rem 0 0; }

/* image field: thumbnail + replace button */
.pe-field__img {
  display: flex; align-items: center; gap: 0.75rem;
}
.pe-field__img img {
  width: 5rem; height: 3.4rem;
  object-fit: cover;
  border-radius: 0.45rem;
  border: 1px solid var(--stone);
  flex-shrink: 0;
  background: var(--stone);
}
.pe-field__upload {
  position: relative; overflow: hidden;
  display: inline-flex; align-items: center;
  font-size: 0.78rem; font-weight: 500;
  color: var(--ink); background: #fff;
  border: 1px solid var(--stone);
  border-radius: 9999px;
  padding: 0.4rem 0.9rem;
  cursor: pointer;
  transition: all 0.2s var(--ease);
}
.pe-field__upload:hover { background: var(--gold); border-color: var(--gold); color: #fff; }
.pe-field__upload input[type=file] {
  position: absolute; inset: 0;
  opacity: 0; cursor: pointer; width: 100%; height: 100%;
}

/* panel footer */
.pe__foot {
  display: flex; align-items: center; gap: 0.6rem;
  padding: 1rem 1.35rem;
  border-top: 1px solid var(--stone);
  background: var(--sand);
}
.pe__status { flex: 1 1 auto; font-size: 0.78rem; font-weight: 500; color: rgba(45,45,45,0.6); }
.pe__status--ok  { color: #2f5d3a; }
.pe__status--err { color: #8a3a26; }
.pe__foot .btn-pill-gold { margin-bottom: 0; padding: 0.55rem 1.3rem; font-size: 0.82rem; }
.pe__foot .btn-pill-gold:disabled { opacity: 0.45; cursor: not-allowed; }
.pe__foot .btn-pill-gold:disabled:hover { background: var(--gold); box-shadow: none; }

/* RIGHT: preview stage */
.pe__stage {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  background: var(--stone);
}
.pe__bar {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem;
  padding: 0.7rem 1.25rem;
  background: #fff;
  border-bottom: 1px solid var(--stone);
}
.pe__url { font-size: 0.8rem; font-weight: 500; color: rgba(45,45,45,0.55); }
.pe__sizes { display: flex; gap: 0.3rem; }
.pe__size {
  width: 2.1rem; height: 2.1rem;
  display: flex; align-items: center; justify-content: center;
  border-radius: 0.45rem;
  color: rgba(45,45,45,0.5);
  font-size: 1.15rem;
  transition: all 0.2s var(--ease);
}
.pe__size:hover { background: var(--sand); color: var(--ink); }
.pe__size.is-active { background: rgba(197,165,90,0.16); color: var(--gold); }

.pe__frame-wrap {
  flex: 1 1 auto;
  overflow: auto;
  display: flex;
  justify-content: center;
  padding: 1.25rem;
}
.pe__frame {
  width: 100%;
  height: 100%;
  min-height: 100%;
  border: none;
  border-radius: 0.5rem;
  background: #fff;
  box-shadow: 0 10px 30px -12px rgba(0,0,0,0.25);
  transition: width 0.3s var(--ease);
}

/* the editor is desktop-only; too cramped below this */
@media (max-width: 900px) {
  .pe__panel { width: 100%; }
  .pe__stage { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .pg-card, .pe-field, .pe__frame, .pe__size, .pe-field__upload { transition: none; }
}

/* --- page editor: single-card panel --- */
.pe__empty {
  text-align: center;
  padding: 3.5rem 1.5rem;
  color: rgba(45,45,45,0.5);
}
.pe__empty iconify-icon { font-size: 2.6rem; color: var(--gold); opacity: 0.65; }
.pe__empty p { font-size: 0.88rem; font-weight: 500; margin: 0.9rem 0 0; line-height: 1.5; }

.pe-card__head {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; margin-bottom: 1.25rem;
  padding-bottom: 0.75rem; border-bottom: 1px solid var(--stone);
}
.pe-card__title {
  font-family: var(--serif); font-size: 1.25rem;
  color: var(--ink); margin: 0;
}
.pe-card__back {
  font-size: 0.75rem; font-weight: 500; color: var(--gold);
  display: inline-flex; align-items: center; gap: 0.25rem;
  transition: color 0.2s var(--ease);
}
.pe-card__back:hover { color: var(--ink); }

/* type-to-search picker */
.pe-picker { position: relative; }
.pe-picker__input {
  width: 100%;
  font-family: var(--sans); font-size: 0.88rem; color: var(--text);
  background: var(--sand);
  border: 1px solid var(--stone);
  border-radius: 0.5rem;
  padding: 0.55rem 2.2rem 0.55rem 0.7rem;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.pe-picker__input:focus {
  outline: none; border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(197,165,90,0.18);
}
.pe-picker__icon {
  position: absolute; right: 0.65rem; top: 50%;
  transform: translateY(-50%);
  color: rgba(45,45,45,0.35); font-size: 1.05rem;
  pointer-events: none;
}
.pe-picker__list {
  position: absolute; z-index: 5;
  top: calc(100% + 0.3rem); left: 0; right: 0;
  max-height: 15rem; overflow-y: auto;
  margin: 0; padding: 0.3rem; list-style: none;
  background: #fff;
  border: 1px solid var(--stone);
  border-radius: 0.6rem;
  box-shadow: 0 12px 24px -10px rgba(0,0,0,0.22);
}
.pe-picker__list[hidden] { display: none; }
.pe-picker__opt {
  display: flex; flex-direction: column; align-items: flex-start;
  width: 100%; text-align: left;
  padding: 0.5rem 0.6rem;
  border-radius: 0.4rem;
  transition: background 0.15s var(--ease);
}
.pe-picker__opt:hover { background: rgba(197,165,90,0.13); }
.pe-picker__name { font-size: 0.85rem; font-weight: 500; color: var(--ink); }
.pe-picker__cat  { font-size: 0.72rem; color: var(--gold); margin-top: 0.1rem; }

/* read-only info pulled from the business record */
.pe-ro {
  background: var(--sand);
  border: 1px solid var(--stone);
  border-radius: 0.6rem;
  padding: 0.85rem 0.95rem;
  margin-bottom: 1.35rem;
}
.pe-ro__row {
  display: flex; justify-content: space-between; gap: 1rem;
  font-size: 0.8rem; padding: 0.28rem 0;
}
.pe-ro__row span   { color: rgba(45,45,45,0.5); font-weight: 500; flex-shrink: 0; }
.pe-ro__row strong { color: var(--ink); font-weight: 500; text-align: right; }
.pe-ro__note {
  font-size: 0.7rem; color: rgba(45,45,45,0.45); font-weight: 500;
  margin: 0.6rem 0 0; padding-top: 0.55rem;
  border-top: 1px solid var(--stone);
}
.pe-ro__note a { color: var(--gold); }
.pe-ro__note a:hover { color: var(--ink); }

/* --- page editor: single-card panel wrapper --- */
.pe-card { display: block; }
.pe-field--picker { position: relative; z-index: 2; }
