:root {
  --ink: #19132a;
  --paper: #fbf8f3;
  --white: #fff;
  --purple-950: #251238;
  --purple-800: #43205f;
  --purple-700: #5b2a79;
  --purple-500: #8050a0;
  --lavender: #eee5f3;
  --orange: #d6b77c;
  --orange-dark: #876735;
  --line: #ded7e4;
  --muted: #6c6573;
  --shadow: 0 22px 60px rgba(37, 18, 56, .14);
  --radius: 24px;
}

/* Midnight plum and champagne */
.site-header { background: #1c1127; border-bottom-color: #b99b6240; }
.hero { background: radial-gradient(ellipse at 50% 35%, #4a2b57 0%, #291732 43%, #170e20 100%); text-align: center; min-height: calc(100svh - 86px); }
.hero::before { background: linear-gradient(120deg, transparent 25%, #d4b77a16 43%, transparent 59%), linear-gradient(65deg, transparent 36%, #ffffff09 49%, transparent 64%); opacity: 1; }
.hero-overlay { background: none; inset: 28px; border: 1px solid #c9ab7038; }
.hero-content { width: min(950px, 88vw); margin: auto; padding: 42px 0 50px; }
.hero-logo { width: clamp(130px, 16vw, 185px); height: auto; object-fit: contain; margin-bottom: 22px; }
.hero h1 { font-size: clamp(2.8rem, 6.4vw, 6rem); line-height: 1.1; font-weight: 400; letter-spacing: -.035em; margin: 0 auto 24px; color: #f8f0e3; }
.hero h1 small { display: block; font-size: .33em; text-transform: uppercase; letter-spacing: .25em; margin-bottom: 14px; color: #ddc698; }
.hero .eyebrow { color: #d6bb88; font-size: .75rem; letter-spacing: .3em; }
.hero .hero-copy { margin: 0 auto; font-size: clamp(1rem, 1.8vw, 1.3rem); color: #ded1de; }
.hero-actions { justify-content: center; margin: 30px 0 24px; }
.trust-note { justify-content: center; color: #baadbf; }
.button-orange { background: linear-gradient(110deg, #ba955b, #ead6a7, #c6a56a); color: #261731; box-shadow: 0 7px 24px #c3a56d18; }
.button-orange:hover { background: #e8d1a0; box-shadow: 0 0 24px #d6b77c44; }
.button-glass { border-color: #d6b77c80; background: #ffffff03; }
.button-glass:hover { box-shadow: 0 0 24px #d6b77c22; }
.hero .button { border-radius: 5px; padding: 0 28px; font-weight: 500; }
@media (max-width: 650px) {
  .hero .hero-content { padding: 42px 12px; }
  .hero-overlay { inset: 14px; }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: "DM Sans", sans-serif; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: 12px; left: 12px; transform: translateY(-150%); z-index: 100; background: white; padding: 10px 14px; border-radius: 8px; }
.skip-link:focus { transform: none; }

.site-header { height: 86px; padding: 0 clamp(22px, 5vw, 78px); display: flex; align-items: center; justify-content: space-between; gap: 30px; background: rgba(37,18,56,.97); color: white; position: sticky; top: 0; z-index: 20; border-bottom: 1px solid rgba(255,255,255,.14); }
.brand { display: flex; flex-direction: column; text-decoration: none; line-height: 1; }
.brand-kicker { text-transform: uppercase; letter-spacing: .27em; font-size: .64rem; font-weight: 700; margin-bottom: 8px; color: #d8c8e3; }
.brand-name { font-family: "Libre Baskerville", serif; font-size: clamp(.92rem, 1.6vw, 1.22rem); }
.brand-name em { font-family: "Yellowtail", cursive; font-size: 1.45em; font-weight: 400; margin-right: 2px; }
.brand-name strong { color: var(--orange); }
nav { display: flex; gap: 28px; align-items: center; }
nav a { text-decoration: none; font-size: .92rem; color: #eee8f2; }
nav a:hover, nav a:focus-visible { color: white; text-decoration: underline; text-underline-offset: 6px; }
.menu-button { display: none; color: white; background: transparent; border: 1px solid rgba(255,255,255,.3); border-radius: 99px; padding: 8px 14px; }

.button { display: inline-flex; justify-content: center; align-items: center; gap: 8px; min-height: 48px; border: 0; border-radius: 999px; padding: 0 23px; font-weight: 700; text-decoration: none; cursor: pointer; transition: transform .2s, box-shadow .2s, background .2s; }
.button:hover { transform: translateY(-2px); }
.button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, .chip:focus-visible { outline: 3px solid #f7b692; outline-offset: 3px; }
.button-small { min-height: 39px; padding: 0 18px; font-size: .88rem; }
.button-orange { color: white; background: var(--orange); box-shadow: 0 10px 28px rgba(237,112,45,.25); }
.button-orange:hover { background: var(--orange-dark); }
.button-glass { color: white; background: rgba(255,255,255,.10); border: 1px solid rgba(255,255,255,.3); backdrop-filter: blur(9px); }
.button-purple { color: white; background: var(--purple-800); }
.button-purple span { display: grid; place-items: center; min-width: 24px; height: 24px; background: var(--orange); border-radius: 50%; font-size: .78rem; }

.hero { min-height: calc(100svh - 86px); position: relative; isolation: isolate; color: white; display: grid; align-items: center; overflow: hidden; background: linear-gradient(135deg, #251238 0%, #4f2469 42%, #8d76ab 100%); }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -3; opacity: .32; background: radial-gradient(circle at 76% 28%, #f9d9a4 0 2%, transparent 18%), radial-gradient(circle at 14% 70%, #e37235 0 1%, transparent 18%), linear-gradient(120deg, transparent 15%, rgba(255,255,255,.16) 46%, transparent 70%); }
.hero-overlay { position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(22,9,37,.93) 0%, rgba(35,14,54,.75) 48%, rgba(45,21,64,.28) 100%); }
.skyline { position: absolute; z-index: -2; right: 0; bottom: 0; width: 70%; height: 70%; opacity: .25; background: linear-gradient(to top, rgba(255,255,255,.55), transparent 2%), repeating-linear-gradient(90deg, transparent 0 26px, rgba(255,255,255,.14) 27px 29px, transparent 30px 51px); clip-path: polygon(0 82%, 5% 82%, 5% 55%, 10% 55%, 10% 74%, 15% 74%, 15% 37%, 20% 37%, 20% 68%, 24% 68%, 24% 24%, 29% 24%, 29% 72%, 35% 72%, 35% 46%, 40% 46%, 40% 78%, 45% 78%, 45% 12%, 49% 12%, 49% 70%, 55% 70%, 55% 43%, 60% 43%, 60% 78%, 65% 78%, 65% 31%, 70% 31%, 70% 70%, 76% 70%, 76% 18%, 80% 18%, 80% 72%, 86% 72%, 86% 48%, 92% 48%, 92% 70%, 100% 70%, 100% 100%, 0 100%); }
.hero-content { width: min(780px, 88vw); margin-left: clamp(24px, 9vw, 140px); padding: 80px 0 90px; }
.eyebrow { text-transform: uppercase; letter-spacing: .22em; font-size: .73rem; font-weight: 700; color: #f6c2a3; margin: 0 0 18px; }
.eyebrow.purple { color: var(--purple-700); }
h1, h2, h3, p { margin-top: 0; }
h1, h2 { font-family: "Libre Baskerville", serif; letter-spacing: -.035em; }
h1 { font-size: clamp(3rem, 7vw, 6.8rem); line-height: .98; margin-bottom: 27px; max-width: 900px; }
h1 span { color: var(--orange); font-family: "Yellowtail", cursive; font-weight: 400; letter-spacing: 0; white-space: nowrap; }
.hero-copy { max-width: 680px; font-size: clamp(1rem, 1.6vw, 1.24rem); line-height: 1.75; color: #eee8f1; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 33px 0; }
.trust-note { display: flex; align-items: center; gap: 10px; color: #d8d0dd; font-size: .88rem; }
.trust-note span { color: var(--orange); }

.directory-section { padding: 100px clamp(22px, 6vw, 92px) 115px; max-width: 1500px; margin: auto; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 30px; margin-bottom: 38px; }
.section-heading h2, .about-section h2, .admin-section h2 { font-size: clamp(2.2rem, 4vw, 4.1rem); line-height: 1.07; margin-bottom: 0; }
.section-heading > p { color: var(--muted); }
.section-heading > p strong { color: var(--purple-700); }
.search-panel { display: grid; grid-template-columns: minmax(240px, 1fr) minmax(180px, 260px); gap: 12px; background: white; border: 1px solid var(--line); border-radius: 18px; padding: 10px; box-shadow: 0 8px 30px rgba(49,29,60,.05); }
.search-box { display: flex; align-items: center; gap: 12px; padding: 0 12px; }
.search-box svg { width: 22px; fill: none; stroke: var(--purple-700); stroke-width: 2; }
.search-box input, .select-wrap select { width: 100%; height: 52px; border: 0; background: transparent; color: var(--ink); }
.search-box input:focus, .select-wrap select:focus { outline: none; }
.select-wrap { border-left: 1px solid var(--line); padding-left: 12px; }
.category-chips { display: flex; flex-wrap: wrap; gap: 9px; margin: 22px 0 34px; }
.chip { border: 1px solid #d8cfdd; border-radius: 99px; background: transparent; color: var(--purple-800); padding: 9px 14px; font-size: .86rem; cursor: pointer; }
.chip:hover, .chip.active { background: var(--purple-800); border-color: var(--purple-800); color: white; }
.member-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.member-card { min-width: 0; background: white; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .25s, box-shadow .25s; }
.member-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.member-card-top { min-height: 148px; padding: 22px; position: relative; background: linear-gradient(135deg, var(--card-a), var(--card-b)); display: flex; align-items: end; }
.member-card-top::before { content: ""; position: absolute; inset: 0; opacity: .18; background: radial-gradient(circle at 85% 15%, white 0 7%, transparent 8%), repeating-linear-gradient(135deg, transparent 0 20px, rgba(255,255,255,.35) 21px 22px); }
.avatar { position: relative; display: grid; place-items: center; width: 76px; height: 76px; border-radius: 24px; background: rgba(255,255,255,.93); color: var(--purple-950); font: 700 1.35rem "Libre Baskerville", serif; box-shadow: 0 10px 24px rgba(20,8,30,.22); }
.member-card-body { padding: 24px; }
.category-label { color: var(--orange-dark); text-transform: uppercase; font-weight: 700; font-size: .68rem; letter-spacing: .13em; }
.member-card h3 { font: 700 1.35rem "Libre Baskerville", serif; margin: 9px 0 5px; }
.member-role { margin-bottom: 16px; color: var(--muted); min-height: 45px; }
.member-meta { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding-top: 17px; border-top: 1px solid #ece7ef; }
.member-meta span { color: var(--muted); font-size: .82rem; }
.text-button { border: 0; padding: 0; background: transparent; color: var(--purple-700); font-weight: 700; cursor: pointer; text-decoration: underline; text-underline-offset: 4px; }
.empty-state { text-align: center; padding: 70px 20px; background: white; border: 1px dashed #cfc3d5; border-radius: var(--radius); }
.empty-state span { color: var(--orange); font-size: 2rem; }
.empty-state h3 { font: 700 1.55rem "Libre Baskerville", serif; margin: 15px 0 6px; }

.about-section { display: grid; grid-template-columns: 1.05fr .95fr; max-width: 1500px; margin: auto; padding: 0 clamp(22px, 6vw, 92px) 115px; }
.about-card { padding: clamp(35px, 5vw, 70px); }
.about-story { background: var(--purple-950); color: white; border-radius: 32px 0 0 32px; }
.about-story > p:last-child { font-size: 1.08rem; line-height: 1.75; color: #dcd3e1; max-width: 640px; }
.values-card { background: var(--lavender); border-radius: 0 32px 32px 0; display: grid; gap: 24px; }
.values-card > div { display: grid; grid-template-columns: 45px 1fr; column-gap: 16px; border-bottom: 1px solid #d8cada; padding-bottom: 20px; }
.values-card > div:last-child { border-bottom: 0; padding-bottom: 0; }
.values-card span { color: var(--orange-dark); font-weight: 700; }
.values-card h3 { margin-bottom: 5px; }
.values-card p { grid-column: 2; margin-bottom: 0; color: var(--muted); }

.admin-section { max-width: calc(1500px - 12vw); margin: 0 auto 110px; border: 1px solid var(--line); background: white; border-radius: 28px; padding: clamp(28px, 4vw, 55px); display: grid; grid-template-columns: 1fr auto; gap: 25px; align-items: center; }
.admin-section h2 { font-size: clamp(1.8rem, 3vw, 3rem); margin-bottom: 10px; }
.admin-section p:last-child { color: var(--muted); margin-bottom: 0; }
.approval-list { grid-column: 1 / -1; border-top: 1px solid var(--line); padding-top: 22px; }
.approval-item { display: flex; justify-content: space-between; gap: 20px; align-items: center; padding: 17px 0; border-bottom: 1px solid #eee8f0; }
.approval-item:last-child { border-bottom: 0; }
.approval-actions { display: flex; gap: 8px; }
.approval-actions button { border: 1px solid var(--line); border-radius: 99px; padding: 8px 13px; background: white; cursor: pointer; }
.approval-actions .approve { background: var(--purple-800); color: white; border-color: var(--purple-800); }

footer { background: #180d21; color: #d8cfe0; text-align: center; padding: 62px 20px; }
.footer-brand { color: white; font: 400 1.45rem "Libre Baskerville", serif; margin-bottom: 10px; }
.footer-brand strong { color: var(--orange); }
.footer-note { font-size: .78rem; color: #a99fb0; margin-top: 28px; }

.dialog { width: min(820px, calc(100% - 28px)); max-height: calc(100dvh - 32px); border: 0; border-radius: 28px; padding: 0; background: white; color: var(--ink); box-shadow: 0 30px 90px rgba(20,8,30,.35); }
.dialog::backdrop { background: rgba(18,9,27,.78); backdrop-filter: blur(6px); }
.dialog-close { position: sticky; z-index: 2; float: right; top: 16px; margin: 16px 16px 0 0; border: 0; width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.9); color: var(--purple-950); font-size: 1.6rem; cursor: pointer; }
.profile-hero { min-height: 220px; background: linear-gradient(135deg, var(--card-a), var(--card-b)); color: white; padding: 60px 45px 38px; display: flex; align-items: end; gap: 24px; }
.profile-hero .avatar { width: 94px; height: 94px; flex: 0 0 auto; }
.profile-hero h2 { font-size: clamp(2rem, 5vw, 3.4rem); margin-bottom: 4px; }
.profile-details { padding: 35px 45px 45px; }
.profile-details .bio { font-size: 1.08rem; line-height: 1.75; }
.profile-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; margin: 28px 0; }
.fact { padding: 17px; border-radius: 14px; background: var(--paper); }
.fact span { display: block; color: var(--muted); font-size: .75rem; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 5px; }
.social-links { display: flex; flex-wrap: wrap; gap: 10px; }
.social-links a { border: 1px solid var(--line); border-radius: 99px; padding: 10px 15px; text-decoration: none; font-weight: 700; color: var(--purple-700); }
.form-dialog { padding: clamp(27px, 5vw, 55px); }
.form-heading h2 { font-size: clamp(2rem, 5vw, 3.6rem); margin-bottom: 10px; }
.form-heading > p:last-child { color: var(--muted); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 17px; }
form label { display: grid; gap: 7px; font-weight: 700; font-size: .86rem; margin-bottom: 17px; }
form input, form select, form textarea { width: 100%; border: 1px solid #d8cfdc; border-radius: 11px; padding: 13px; background: white; color: var(--ink); font-weight: 400; }
form textarea { resize: vertical; }
.consent { grid-template-columns: auto 1fr; align-items: start; font-weight: 400; color: var(--muted); }
.consent input { width: 18px; }
.submit-button { width: 100%; }
.form-status { color: var(--purple-700); font-weight: 700; margin: 14px 0 0; text-align: center; }
.other-platforms { border: 1px solid var(--line); border-radius: 14px; padding: 18px; margin-bottom: 24px; }
.other-platforms summary { cursor: pointer; color: var(--purple-700); font-weight: 700; }
.other-platforms p { margin-top: 14px; color: var(--muted); font-size: .9rem; }
.platform-row { border-bottom: 1px solid var(--line); padding-bottom: 16px; margin-bottom: 18px; }
.platform-row .form-grid { gap: 12px; }

@media (max-width: 940px) {
  .member-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .about-section { grid-template-columns: 1fr; }
  .about-story { border-radius: 28px 28px 0 0; }
  .values-card { border-radius: 0 0 28px 28px; }
  .menu-button { display: block; }
  nav { display: none; position: absolute; top: 76px; left: 16px; right: 16px; padding: 24px; flex-direction: column; align-items: stretch; background: var(--purple-950); border: 1px solid rgba(255,255,255,.15); border-radius: 18px; box-shadow: var(--shadow); }
  nav.open { display: flex; }
  nav .button { width: 100%; }
}
@media (max-width: 650px) {
  .site-header { height: 76px; }
  .hero { min-height: calc(100svh - 76px); }
  .hero-content { margin: 0 auto; }
  h1 { font-size: clamp(2.75rem, 14vw, 4.5rem); }
  h1 span { white-space: normal; }
  .hero-actions .button { width: 100%; }
  .section-heading { align-items: start; flex-direction: column; }
  .search-panel { grid-template-columns: 1fr; }
  .select-wrap { border-left: 0; border-top: 1px solid var(--line); padding: 5px 12px 0; }
  .member-grid { grid-template-columns: 1fr; }
  .admin-section { max-width: calc(100% - 36px); grid-template-columns: 1fr; }
  .admin-section .button { width: 100%; }
  .approval-item { align-items: start; flex-direction: column; }
  .form-grid, .profile-facts { grid-template-columns: 1fr; }
  .profile-hero { padding: 58px 25px 30px; flex-direction: column; align-items: start; }
  .profile-details { padding: 28px 25px 38px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
