/* Referrals in Paradise — chapter site
   Warm, high-end, BNI-adjacent. No framework. */

:root {
  --red: #B91C1C;
  --red-deep: #8F1515;
  --red-ink: #5C0F0F;
  --ink: #12100E;
  --ink-2: #1C1916;
  --ink-3: #2A2520;
  --cream: #F4EDE1;
  --cream-2: #EBE2D2;
  --paper: #FBF7F0;
  --white: #FFFCF7;
  --gold: #C4A574;
  --gold-dim: #9A7D52;
  --muted: #6F675C;
  --muted-2: #8A8174;
  --line: rgba(18, 16, 14, 0.1);
  --line-strong: rgba(18, 16, 14, 0.18);
  --shadow: 0 18px 40px rgba(18, 16, 14, 0.08);
  --serif: "Cormorant Garamond", "Iowan Old Style", Georgia, serif;
  --sans: "Outfit", "Avenir Next", "Segoe UI", sans-serif;
  --header-h: 72px;
  --radius: 14px;
  --max: 1180px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 140px;
}

body {
  margin: 0;
  font-family: var(--sans);
  font-weight: 400;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; }
a { color: inherit; }

.skip {
  position: absolute;
  left: 12px;
  top: -48px;
  z-index: 80;
  background: var(--red);
  color: #fff;
  padding: 8px 14px;
  border-radius: 8px;
  text-decoration: none;
}
.skip:focus { top: 12px; }

/* ——— Header ——— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(18, 16, 14, 0.94);
  color: var(--cream);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(196, 165, 116, 0.18);
}

.header-inner {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 28px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--cream);
  flex-shrink: 0;
  min-width: 0;
}

.brand-logo {
  height: 46px;
  width: auto;
  max-width: 170px;
  object-fit: contain;
  object-position: left center;
  display: block;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  min-width: 0;
}
.brand-kicker {
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
  white-space: nowrap;
}

.nav {
  display: flex;
  gap: 22px;
  margin-left: auto;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 500;
}
.nav a {
  text-decoration: none;
  color: rgba(244, 237, 225, 0.78);
}
.nav a:hover { color: #fff; }

.header-cta {
  display: inline-flex;
  align-items: center;
  height: 38px;
  padding: 0 16px;
  border-radius: 999px;
  background: var(--red);
  color: #fff;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.header-cta:hover { background: var(--red-deep); }

/* ——— Hero ——— */
.hero {
  position: relative;
  background:
    radial-gradient(900px 480px at 12% 0%, rgba(185, 28, 28, 0.28), transparent 55%),
    radial-gradient(700px 400px at 90% 20%, rgba(196, 165, 116, 0.12), transparent 50%),
    linear-gradient(180deg, #0E0C0A 0%, #171411 70%, #1A1612 100%);
  color: var(--cream);
  overflow: hidden;
  padding: 72px 20px 88px;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(244, 237, 225, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(244, 237, 225, 0.035) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at 50% 30%, #000 20%, transparent 75%);
  pointer-events: none;
}

.hero-ornament {
  position: absolute;
  right: -40px;
  top: 40px;
  width: min(420px, 48vw);
  opacity: 0.18;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  width: min(var(--max), 100%);
  margin: 0 auto;
}

.hero-title {
  margin: 0 0 22px;
  font-size: 0;
  line-height: 0;
}

.hero-title {
  margin: 0 0 18px;
  line-height: 0;
}

.hero-logo {
  width: min(100%, 520px);
  height: auto;
  display: block;
  filter: drop-shadow(0 18px 40px rgba(0,0,0,0.35));
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
  margin: 0 0 14px;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--gold);
}

.givers {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(20px, 2.4vw, 26px);
  color: rgba(244, 237, 225, 0.88);
  margin: 0 0 28px;
  max-width: 34ch;
}

.meeting-line {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  color: rgba(244, 237, 225, 0.72);
  font-size: 15px;
  margin-bottom: 36px;
  max-width: 52ch;
}
.meeting-line strong {
  color: #fff;
  font-weight: 600;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  border: 1px solid transparent;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--red); color: #fff; }
.btn-primary:hover { background: #c51f1f; }
.btn-ghost {
  background: transparent;
  color: var(--cream);
  border-color: rgba(244, 237, 225, 0.28);
}
.btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,0.04); }

.hero-meta {
  margin-top: 48px;
  display: flex;
  flex-wrap: wrap;
  gap: 28px 40px;
  padding-top: 28px;
  border-top: 1px solid rgba(244, 237, 225, 0.1);
  font-size: 13px;
  letter-spacing: 0.04em;
  color: rgba(244, 237, 225, 0.58);
}
.hero-meta b {
  display: block;
  color: #fff;
  font-size: 16px;
  letter-spacing: 0;
  font-weight: 600;
  margin-top: 4px;
}

/* ——— Leadership ——— */
.leadership {
  background: var(--paper);
  padding: 64px 20px 56px;
  border-bottom: 1px solid var(--line);
}

.section-head {
  width: min(var(--max), 100%);
  margin: 0 auto 28px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
}

.kicker {
  font-size: 11px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--red);
  font-weight: 600;
  margin: 0 0 8px;
}

.section-head h2,
.members-intro h2,
.events .section-head h2 {
  font-family: var(--serif);
  font-size: clamp(32px, 4vw, 44px);
  font-weight: 600;
  margin: 0;
  letter-spacing: -0.02em;
  line-height: 1;
}

.lead-note {
  font-size: 13px;
  color: var(--muted);
  max-width: 36ch;
  text-align: right;
}

.lead-grid {
  width: min(var(--max), 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.15fr 1fr 1fr;
  gap: 14px;
}

.lead-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 20px 18px;
  box-shadow: var(--shadow);
}

.lead-card.wide { grid-column: 1 / -1; }

.lead-role {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--red);
  font-weight: 600;
  margin-bottom: 10px;
}

.officer {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.officer .nm {
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 600;
  line-height: 1.1;
}
.officer .co {
  font-size: 13px;
  color: var(--muted);
}

.people {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 16px;
}
.person { min-width: 0; }
.person .nm {
  font-weight: 600;
  font-size: 15px;
}
.person .co {
  display: block;
  font-size: 12px;
  color: var(--muted);
}

.lead-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  width: min(var(--max), 100%);
  margin: 14px auto 0;
}


/* ——— Events ——— */
.events {
  background: var(--cream-2);
  padding: 64px 20px 56px;
  border-bottom: 1px solid var(--line);
}

.event-list {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  width: min(var(--max), 100%);
  display: grid;
  gap: 12px;
}

.event-card {
  display: grid;
  grid-template-columns: 108px 1fr;
  gap: 18px;
  align-items: center;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 20px;
  box-shadow: var(--shadow);
}

.event-card--tentative {
  border-color: rgba(185, 28, 28, 0.28);
  background:
    linear-gradient(90deg, rgba(185, 28, 28, 0.05), transparent 40%),
    var(--white);
}

.event-date {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 78px;
  padding: 10px 8px;
  border-radius: 12px;
  background: var(--ink);
  color: var(--cream);
  border: 1px solid rgba(196, 165, 116, 0.35);
}

.event-dow {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
}

.event-md {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 600;
  line-height: 1.1;
  margin-top: 4px;
  color: #fff;
}

.event-year {
  font-size: 11px;
  letter-spacing: 0.12em;
  color: rgba(244, 237, 225, 0.62);
  margin-top: 2px;
}

.event-body h3 {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 600;
  margin: 0;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

.event-title-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 12px;
}

.event-flag {
  display: inline-flex;
  align-items: center;
  height: 24px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(185, 28, 28, 0.12);
  color: var(--red-deep);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}

.event-host {
  margin: 6px 0 0;
  font-size: 14px;
  color: var(--muted);
}

/* ——— Members ——— */
.members {
  padding: 56px 0 80px;
  background:
    linear-gradient(180deg, #EFE6D6 0%, var(--cream) 120px);
}

.members-intro {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto 22px;
}

.members-intro p {
  color: var(--muted);
  max-width: 58ch;
  margin: 12px 0 0;
}

.toolbar {
  position: sticky;
  top: var(--header-h);
  z-index: 30;
  background: rgba(244, 237, 225, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  padding: 12px 0 14px;
  margin-bottom: 28px;
}

.toolbar-inner {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  display: grid;
  gap: 12px;
}

.search-wrap {
  position: relative;
}
.search-wrap input {
  width: 100%;
  height: 46px;
  border: 1px solid var(--line-strong);
  background: var(--white);
  border-radius: 999px;
  padding: 0 18px 0 44px;
  font: inherit;
  font-size: 15px;
  color: var(--ink);
  outline: none;
}
.search-wrap input:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(185, 28, 28, 0.12);
}
.search-wrap svg {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--muted);
}

.chips {
  display: flex;
  flex-wrap: nowrap;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 2px;
  scrollbar-width: thin;
}
.chip {
  flex: 0 0 auto;
  height: 34px;
  padding: 0 13px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: var(--white);
  color: var(--ink-3);
  font: inherit;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  white-space: nowrap;
}
.chip:hover { border-color: var(--ink); }
.chip.is-on {
  background: var(--ink);
  color: var(--cream);
  border-color: var(--ink);
}
.chip .n {
  display: inline-block;
  margin-left: 6px;
  font-size: 11px;
  opacity: 0.62;
  font-weight: 600;
}

.directory {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

.group {
  margin-bottom: 42px;
  scroll-margin-top: 168px;
}
.group[hidden],
.card[hidden] { display: none; }

.group-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line-strong);
}
.group-head h3 {
  font-family: var(--serif);
  font-size: 28px;
  margin: 0;
  font-weight: 600;
}
.group-head span {
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 18px 16px;
  display: flex;
  flex-direction: column;
  min-height: 168px;
  box-shadow: 0 1px 0 rgba(255,255,255,0.7) inset;
  transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease;
}
.card:hover {
  transform: translateY(-2px);
  border-color: rgba(185, 28, 28, 0.28);
  box-shadow: var(--shadow);
}

.card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 8px;
}

.specialty {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red);
  font-weight: 600;
  line-height: 1.35;
}

.card h4 {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 600;
  margin: 0 0 4px;
  line-height: 1.1;
  letter-spacing: -0.01em;
}

.card .company {
  color: var(--muted);
  font-size: 14px;
  margin: 0 0 12px;
}

.card-foot {
  margin-top: auto;
  padding-top: 10px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}
.badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.badge {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(185, 28, 28, 0.09);
  color: var(--red-deep);
}

.web {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-bottom: 1px solid rgba(18,16,14,0.2);
  width: fit-content;
}
.web:hover { color: var(--red); border-color: var(--red); }

.empty {
  text-align: center;
  padding: 48px 16px;
  color: var(--muted);
  font-family: var(--serif);
  font-size: 28px;
}

/* ——— Footer ——— */
.site-footer {
  background: var(--ink);
  color: rgba(244, 237, 225, 0.72);
  padding: 48px 20px 28px;
}
.footer-inner {
  width: min(var(--max), 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 32px;
}
.footer-brand {
  font-family: var(--serif);
  font-size: 28px;
  color: #fff;
  margin: 0 0 8px;
}
.site-footer h3 {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 10px;
}
.site-footer a { color: #fff; }
.site-footer p { margin: 0 0 8px; font-size: 14px; }
.source {
  grid-column: 1 / -1;
  border-top: 1px solid rgba(244, 237, 225, 0.1);
  padding-top: 16px;
  font-size: 12px;
  color: rgba(244, 237, 225, 0.45);
}

/* ——— Responsive ——— */
@media (max-width: 980px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .lead-grid { grid-template-columns: 1fr 1fr; }
  .lead-row { grid-template-columns: 1fr 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .event-card { grid-template-columns: 96px 1fr; }
}

@media (max-width: 720px) {
  :root { --header-h: 72px; }
  .nav { display: none; }
  .brand-logo { height: 38px; max-width: 130px; }
  .brand-kicker { font-size: 9px; letter-spacing: 0.14em; }
  .hero { padding: 40px 18px 56px; }
  .hero-title { margin-bottom: 18px; }
  .hero-logo { width: min(100%, 320px); }
  .cards,
  .lead-grid,
  .lead-row,
  .footer-inner,
  .people { grid-template-columns: 1fr; }
  .lead-note { display: none; }
  .header-inner { width: min(var(--max), calc(100% - 28px)); }
  .members-intro,
  .toolbar-inner,
  .directory { width: min(var(--max), calc(100% - 28px)); }
  .card { min-height: 0; }
  .event-card {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 14px 16px;
  }
  .event-date {
    flex-direction: row;
    justify-content: flex-start;
    gap: 10px;
    min-height: 0;
    padding: 10px 14px;
    width: fit-content;
  }
  .event-md { margin-top: 0; font-size: 18px; }
  .event-body h3 { font-size: 22px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .card { transition: none; }
}
