/* =========================================================
   Galaxy Dream Builders — site styles
   Palette: royal purple, deep burgundy, metallic gold, white
   ========================================================= */

:root {
  --purple-950: #1c0d31;
  --purple-900: #2a1446;
  --purple-800: #3a1c63;
  --purple-700: #4a2380;
  --purple-600: #5b2c93;
  --purple-100: #efe9f6;
  --purple-50: #f8f5fb;
  --burgundy-800: #4e1124;
  --burgundy-700: #6e1b34;
  --burgundy-600: #852443;
  --gold-600: #a8863a;
  --gold-500: #c5a253;
  --gold-300: #e3cc8a;
  --gold-100: #f6eed8;
  --ink: #221b2e;
  --muted: #5a5268;
  --line: #e4dded;
  --white: #ffffff;

  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Source Sans 3", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;

  --radius: 10px;
  --radius-lg: 16px;
  --shadow: 0 1px 2px rgba(42, 20, 70, .06), 0 8px 24px rgba(42, 20, 70, .08);
  --container: 1160px;
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--purple-700); text-underline-offset: 3px; }
a:hover { color: var(--burgundy-700); }
:focus-visible { outline: 3px solid var(--gold-500); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3, h4 { font-family: var(--serif); color: var(--purple-900); line-height: 1.15; margin: 0 0 .5em; font-weight: 600; }
h1 { font-size: clamp(2.3rem, 5vw, 3.6rem); letter-spacing: -.01em; }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.25em; }
li { margin-bottom: .35em; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 780px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -60px; background: var(--purple-900); color: #fff; padding: 10px 16px; z-index: 1000; border-radius: 6px; }
.skip-link:focus { top: 12px; color: #fff; }

/* ---------- Eyebrow / labels ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--sans); font-size: .8rem; font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase; color: var(--burgundy-700);
  margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--gold-500); }
.on-dark .eyebrow, .eyebrow.light { color: var(--gold-300); }
.lead { font-size: 1.2rem; color: var(--muted); max-width: 46em; }
.on-dark .lead { color: #ddd3ea; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 12px 22px;
  font-family: var(--sans); font-size: 1rem; font-weight: 600; line-height: 1.2;
  border-radius: 8px; border: 2px solid transparent; text-decoration: none; cursor: pointer;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.btn-primary { background: var(--purple-700); color: #fff; }
.btn-primary:hover { background: var(--purple-900); color: #fff; }
.btn-gold { background: var(--gold-500); color: var(--purple-950); }
.btn-gold:hover { background: var(--gold-300); color: var(--purple-950); }
.btn-burgundy { background: var(--burgundy-700); color: #fff; }
.btn-burgundy:hover { background: var(--burgundy-800); color: #fff; }
.btn-outline { background: transparent; color: var(--purple-700); border-color: var(--purple-700); }
.btn-outline:hover { background: var(--purple-700); color: #fff; }
.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.55); }
.btn-outline-light:hover { background: #fff; color: var(--purple-900); border-color: #fff; }
.btn[aria-disabled="true"], .btn:disabled { opacity: .6; cursor: not-allowed; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.btn-sm { min-height: 40px; padding: 8px 16px; font-size: .95rem; }

/* ---------- Top notice bar ---------- */
.topbar { background: var(--purple-950); color: #d9cfe8; font-size: .875rem; }
.topbar .container { display: flex; flex-wrap: wrap; gap: 6px 24px; justify-content: space-between; align-items: center; padding-top: 8px; padding-bottom: 8px; }
.topbar a { color: var(--gold-300); text-decoration: none; }
.topbar a:hover { color: #fff; text-decoration: underline; }
.topbar .tb-links { display: flex; gap: 18px; flex-wrap: wrap; }

/* ---------- Header / nav ---------- */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.97); border-bottom: 1px solid var(--line); backdrop-filter: saturate(1.2) blur(6px); }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: var(--header-h); gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--purple-900); }
.brand img { width: 52px; height: 52px; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-family: var(--serif); font-size: 1.45rem; font-weight: 700; color: var(--purple-800); }
.brand-sub { font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--burgundy-700); margin-top: 4px; font-weight: 600; }

.nav-toggle { display: none; background: none; border: 2px solid var(--line); border-radius: 8px; width: 48px; height: 48px; cursor: pointer; color: var(--purple-900); }
.nav-toggle svg { width: 24px; height: 24px; }
.primary-nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 2px; }
.primary-nav li { margin: 0; }
.primary-nav a {
  display: block; padding: 10px 11px; font-size: .95rem; font-weight: 600;
  color: var(--ink); text-decoration: none; border-radius: 6px; white-space: nowrap;
}
.primary-nav a:hover { color: var(--purple-700); background: var(--purple-50); }
.primary-nav a[aria-current="page"] { color: var(--purple-700); box-shadow: inset 0 -2px 0 var(--gold-500); border-radius: 0; }
.primary-nav a.nav-portal { border: 1.5px solid var(--purple-700); color: var(--purple-700); margin-left: 6px; border-radius: 8px; display: inline-flex; gap: 6px; align-items: center; }
.primary-nav a.nav-portal:hover { background: var(--purple-700); color: #fff; }
.primary-nav a.nav-portal svg { width: 14px; height: 14px; }

@media (max-width: 1120px) {
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .primary-nav { position: fixed; inset: var(--header-h) 0 auto 0; background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); display: none; max-height: calc(100vh - var(--header-h)); overflow-y: auto; }
  .primary-nav.open { display: block; }
  .primary-nav ul { flex-direction: column; align-items: stretch; padding: 12px 20px 20px; }
  .primary-nav a { padding: 14px 8px; font-size: 1.05rem; border-bottom: 1px solid var(--line); border-radius: 0; }
  .primary-nav a[aria-current="page"] { box-shadow: inset 3px 0 0 var(--gold-500); padding-left: 14px; }
  .primary-nav a.nav-portal { margin: 14px 0 0; justify-content: center; border-radius: 8px; }
}

/* ---------- Sections ---------- */
section { padding: 88px 0; }
.section-tight { padding: 56px 0; }
.bg-soft { background: var(--purple-50); }
.bg-cream { background: #fbf9f4; }
.on-dark { background: var(--purple-900); color: #ece6f4; }
.on-dark h1, .on-dark h2, .on-dark h3, .on-dark h4 { color: #fff; }
.on-dark a:not(.btn) { color: var(--gold-300); }
.section-head { max-width: 760px; margin-bottom: 44px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .eyebrow::after { content: ""; width: 28px; height: 2px; background: var(--gold-500); }
.gold-rule { width: 64px; height: 3px; background: linear-gradient(90deg, var(--gold-600), var(--gold-300)); border: 0; margin: 0 0 24px; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; color: #fff;
  background:
    radial-gradient(1000px 500px at 85% -10%, rgba(197,162,83,.18), transparent 60%),
    radial-gradient(900px 600px at -10% 110%, rgba(110,27,52,.55), transparent 60%),
    linear-gradient(135deg, var(--purple-950) 0%, var(--purple-800) 55%, var(--purple-700) 100%);
  padding: 96px 0 104px;
}
.hero::after { /* subtle static star field */
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image:
    radial-gradient(1.2px 1.2px at 12% 22%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 28% 68%, #fff 50%, transparent 51%),
    radial-gradient(1.4px 1.4px at 46% 14%, var(--gold-300) 50%, transparent 51%),
    radial-gradient(1px 1px at 63% 82%, #fff 50%, transparent 51%),
    radial-gradient(1.2px 1.2px at 78% 38%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 91% 64%, var(--gold-300) 50%, transparent 51%),
    radial-gradient(1px 1px at 36% 40%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 86% 12%, #fff 50%, transparent 51%);
}
.hero .container { position: relative; z-index: 1; }
.hero-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: 56px; align-items: center; }
.hero h1 { color: #fff; margin-bottom: 18px; }
.hero h1 .gold { color: var(--gold-300); }
.hero .lead { color: #ddd3ea; margin-bottom: 30px; }
.hero .slogan { font-family: var(--serif); font-style: italic; font-size: 1.35rem; color: var(--gold-300); margin-bottom: 8px; }
.hero-logo { background: #fff; border-radius: 50%; aspect-ratio: 1; display: grid; place-items: center; padding: 11%; box-shadow: 0 0 0 6px rgba(197,162,83,.35), 0 30px 60px rgba(0,0,0,.35); max-width: 380px; margin-left: auto; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-secondary { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 6px 22px; }
.hero-secondary a { color: #fff; font-weight: 600; text-decoration: none; border-bottom: 1px solid rgba(227,204,138,.6); padding-bottom: 2px; }
.hero-secondary a:hover { color: var(--gold-300); }

.page-hero { background: linear-gradient(135deg, var(--purple-950), var(--purple-800) 60%, var(--burgundy-800)); color: #fff; padding: 72px 0 64px; position: relative; overflow: hidden; }
.page-hero::after { content: ""; position: absolute; right: -60px; top: -60px; width: 320px; height: 320px; border-radius: 50%; border: 1px solid rgba(227,204,138,.25); box-shadow: 0 0 0 40px rgba(227,204,138,.04); }
.page-hero h1 { color: #fff; }
.page-hero .lead { color: #ddd3ea; }
.breadcrumb { font-size: .875rem; margin-bottom: 18px; color: #cbbfe0; }
.breadcrumb a { color: var(--gold-300); text-decoration: none; }

@media (max-width: 900px) {
  .hero { padding: 64px 0 72px; }
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero-logo { margin: 0 auto; max-width: 240px; order: -1; }
}

/* ---------- Grids & cards ---------- */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 980px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } section { padding: 64px 0; } }

.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px; box-shadow: var(--shadow); }
.card h3 { margin-bottom: .4em; }
.card p:last-child, .card ul:last-child { margin-bottom: 0; }
.card-accent { border-top: 4px solid var(--gold-500); }
.card-burgundy { border-top: 4px solid var(--burgundy-700); }
.card .icon { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; background: var(--purple-100); color: var(--purple-700); margin-bottom: 18px; }
.card .icon svg { width: 24px; height: 24px; }
.card-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; text-decoration: none; margin-top: 8px; }
.card-link::after { content: "→"; transition: transform .15s; }
.card-link:hover::after { transform: translateX(3px); }

.feature { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
@media (max-width: 900px) { .feature { grid-template-columns: 1fr; gap: 32px; } }

.featured-panel {
  border-radius: 20px; padding: 40px; color: #fff; position: relative; overflow: hidden;
  background: linear-gradient(150deg, var(--purple-900), var(--purple-700));
}
.featured-panel::before { content: ""; position: absolute; inset: 12px; border: 1px solid rgba(227,204,138,.35); border-radius: 14px; pointer-events: none; }
.featured-panel h3 { color: #fff; }
.featured-panel .tag { display: inline-block; background: var(--gold-500); color: var(--purple-950); font-weight: 700; font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; padding: 5px 10px; border-radius: 4px; margin-bottom: 16px; }

.check-list { list-style: none; padding: 0; margin: 0 0 1em; }
.check-list li { position: relative; padding-left: 30px; margin-bottom: .6em; }
.check-list li::before { content: ""; position: absolute; left: 0; top: .42em; width: 18px; height: 18px; border-radius: 50%; background: var(--gold-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236e1b34' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center/12px no-repeat; }
.on-dark .check-list li::before, .featured-panel .check-list li::before { background-color: rgba(227,204,138,.18); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e3cc8a' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E"); }
.two-col-list { columns: 2; column-gap: 32px; }
@media (max-width: 640px) { .two-col-list { columns: 1; } }

/* ---------- Notices ---------- */
.notice { border-radius: var(--radius); padding: 20px 22px; border: 1px solid; display: flex; gap: 14px; align-items: flex-start; }
.notice svg { flex: 0 0 24px; width: 24px; height: 24px; margin-top: 2px; }
.notice p:last-child { margin-bottom: 0; }
.notice > div > strong:first-child { display: block; margin-bottom: 4px; }
.notice-referral { background: var(--gold-100); border-color: var(--gold-500); color: #3d2e0b; }
.notice-referral svg { color: var(--burgundy-700); }
.notice-info { background: var(--purple-50); border-color: #d6c8ea; color: var(--ink); }
.notice-info svg { color: var(--purple-700); }
.notice-warn { background: #fbf0f3; border-color: #e2b6c3; color: #4a1222; }
.notice-warn svg { color: var(--burgundy-700); }
.notice-lg { padding: 28px; }
.notice-lg > div > strong:first-child { font-family: var(--serif); font-size: 1.5rem; color: var(--burgundy-800); }

/* ---------- Workflow ---------- */
.workflow { list-style: none; padding: 0; margin: 0; counter-reset: step; display: grid; gap: 0; }
.workflow li { counter-increment: step; position: relative; padding: 0 0 28px 76px; margin: 0; min-height: 56px; }
.workflow li::before {
  content: counter(step); position: absolute; left: 0; top: 0; width: 52px; height: 52px; border-radius: 50%;
  display: grid; place-items: center; font-family: var(--serif); font-size: 1.5rem; font-weight: 700;
  background: var(--purple-700); color: #fff; box-shadow: 0 0 0 4px var(--gold-100), 0 0 0 5px var(--gold-500);
}
.workflow li::after { content: ""; position: absolute; left: 25px; top: 58px; bottom: 4px; width: 2px; background: linear-gradient(var(--gold-500), var(--line)); }
.workflow li:last-child { padding-bottom: 0; }
.workflow li:last-child::after { display: none; }
.workflow h4 { font-family: var(--sans); font-size: 1.1rem; font-weight: 700; margin: 12px 0 4px; color: var(--purple-900); }
.workflow p { color: var(--muted); margin: 0; }

.workflow-h { display: grid; grid-template-columns: repeat(7, 1fr); gap: 14px; list-style: none; padding: 0; margin: 0; counter-reset: s; }
.workflow-h li { counter-increment: s; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 18px 14px; text-align: center; font-size: .95rem; position: relative; margin: 0; }
.workflow-h li::before { content: counter(s); display: grid; place-items: center; width: 36px; height: 36px; margin: 0 auto 10px; border-radius: 50%; background: var(--purple-700); color: #fff; font-weight: 700; }
@media (max-width: 1000px) { .workflow-h { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Founder ---------- */
.founder { display: grid; grid-template-columns: 320px 1fr; gap: 48px; align-items: start; }
.founder-photo { border-radius: 18px; overflow: hidden; aspect-ratio: 4/5; background: linear-gradient(160deg, var(--purple-800), var(--burgundy-700)); display: grid; place-items: center; position: relative; box-shadow: var(--shadow); }
.founder-photo img { width: 100%; height: 100%; object-fit: cover; }
.founder-photo .monogram { font-family: var(--serif); font-size: 5.5rem; color: var(--gold-300); letter-spacing: .04em; }
.founder-photo::after { content: ""; position: absolute; inset: 10px; border: 1px solid rgba(227,204,138,.4); border-radius: 12px; pointer-events: none; }
.founder-meta { font-weight: 600; color: var(--burgundy-700); letter-spacing: .06em; text-transform: uppercase; font-size: .85rem; margin-bottom: 18px; }
@media (max-width: 820px) { .founder { grid-template-columns: 1fr; } .founder-photo { max-width: 300px; } }

/* ---------- Values strip ---------- */
.values { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; background: #fff; }
.values div { padding: 26px; border-right: 1px solid var(--line); }
.values div:last-child { border-right: 0; }
.values h4 { font-family: var(--sans); font-size: 1rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--burgundy-700); margin-bottom: 6px; }
.values p { margin: 0; color: var(--muted); font-size: .98rem; }
@media (max-width: 900px) { .values { grid-template-columns: 1fr 1fr; } .values div:nth-child(2) { border-right: 0; } .values div:nth-child(-n+2) { border-bottom: 1px solid var(--line); } }
@media (max-width: 520px) { .values { grid-template-columns: 1fr; } .values div { border-right: 0; border-bottom: 1px solid var(--line); } .values div:last-child { border-bottom: 0; } }

/* ---------- CTA band ---------- */
.cta-band { background: linear-gradient(120deg, var(--burgundy-800), var(--burgundy-700) 45%, var(--purple-800)); color: #fff; padding: 64px 0; }
.cta-band .container { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.cta-band h2 { color: #fff; margin: 0 0 6px; }
.cta-band p { margin: 0; color: #f0dfe5; }

/* ---------- Gallery & events ---------- */
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
.gallery figure { margin: 0; border-radius: 12px; overflow: hidden; background: var(--purple-50); border: 1px solid var(--line); }
.gallery button { all: unset; cursor: zoom-in; display: block; width: 100%; }
.gallery button:focus-visible { outline: 3px solid var(--gold-500); outline-offset: -3px; }
.gallery img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.gallery figcaption { padding: 10px 14px; font-size: .9rem; color: var(--muted); }
.empty-state { border: 1.5px dashed #cdbfe0; border-radius: var(--radius-lg); padding: 36px; text-align: center; color: var(--muted); background: #fff; }
.empty-state h3 { font-size: 1.35rem; }

.event-list { display: grid; gap: 16px; }
.event { display: grid; grid-template-columns: 92px 1fr; gap: 20px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 20px; }
.event-date { background: var(--purple-700); color: #fff; border-radius: 12px; text-align: center; padding: 10px 6px; align-self: start; }
.event-date .m { display: block; font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-300); font-weight: 700; }
.event-date .d { display: block; font-family: var(--serif); font-size: 2rem; font-weight: 700; line-height: 1.1; }
.event-date .y { display: block; font-size: .75rem; opacity: .8; }
.event h3 { font-size: 1.3rem; margin-bottom: 4px; }
.event .meta { font-size: .92rem; color: var(--burgundy-700); font-weight: 600; margin-bottom: 8px; }
.event p { margin-bottom: 8px; color: var(--muted); }
.event.past .event-date { background: #7a7088; }
@media (max-width: 520px) { .event { grid-template-columns: 1fr; } .event-date { display: flex; gap: 8px; justify-content: center; align-items: baseline; } }

.lightbox { position: fixed; inset: 0; background: rgba(20,10,35,.92); display: none; align-items: center; justify-content: center; z-index: 500; padding: 24px; }
.lightbox.open { display: flex; }
.lightbox figure { margin: 0; max-width: 1000px; width: 100%; }
.lightbox img { max-height: 80vh; width: auto; margin: 0 auto; border-radius: 8px; }
.lightbox figcaption { color: #eee; text-align: center; margin-top: 12px; }
.lightbox-close { position: absolute; top: 16px; right: 16px; width: 48px; height: 48px; border-radius: 50%; border: 0; background: #fff; color: var(--purple-900); font-size: 1.6rem; cursor: pointer; }

/* ---------- Forms ---------- */
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 36px; box-shadow: var(--shadow); }
@media (max-width: 640px) { .form-card { padding: 22px; } }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }
.field label, .field legend { display: block; font-weight: 700; font-size: .95rem; margin-bottom: 6px; color: var(--ink); }
.field .hint { display: block; font-size: .875rem; color: var(--muted); font-weight: 400; margin-top: -2px; margin-bottom: 6px; }
.req { color: var(--burgundy-700); }
.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 11px 14px; font: inherit; font-size: 1rem; color: var(--ink);
  background: #fff; border: 1.5px solid #cfc5dc; border-radius: 8px;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--purple-700); outline: 3px solid rgba(91,44,147,.18); outline-offset: 0; }
.field [aria-invalid="true"] { border-color: var(--burgundy-600); background: #fff8fa; }
.field-error { color: var(--burgundy-700); font-size: .875rem; margin-top: 4px; font-weight: 600; }
fieldset.field { border: 0; padding: 0; margin: 0; min-width: 0; }
.choice-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 8px 16px; }
.choice { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; font-size: 1rem; cursor: pointer; padding: 6px 0; }
.choice input { width: 20px; height: 20px; margin-top: 3px; accent-color: var(--purple-700); flex: 0 0 auto; }
.honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin-top: 18px; }
.form-success { background: #eef7f0; border: 1px solid #9ccaa6; color: #163d20; border-radius: var(--radius); padding: 24px; }
.form-success h3 { color: #163d20; font-size: 1.45rem; }
.form-fail { background: #fbf0f3; border: 1px solid #e2b6c3; color: #4a1222; border-radius: var(--radius); padding: 16px 18px; }
.form-footnote { font-size: .875rem; color: var(--muted); margin-top: 16px; }

/* ---------- Contact ---------- */
.contact-methods { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.contact-card { display: flex; flex-direction: column; gap: 6px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 24px; text-decoration: none; color: var(--ink); box-shadow: var(--shadow); }
.contact-card:hover { border-color: var(--purple-600); color: var(--ink); }
.contact-card .label { font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--burgundy-700); }
.contact-card .value { font-family: var(--serif); font-size: 1.4rem; font-weight: 600; color: var(--purple-900); word-break: break-word; }
.contact-card .sub { font-size: .9rem; color: var(--muted); }
.badge-text-only { display: inline-block; align-self: flex-start; background: var(--burgundy-700); color: #fff; font-size: .75rem; font-weight: 700; letter-spacing: .06em; padding: 4px 10px; border-radius: 99px; }
.contact-strip { display: flex; flex-wrap: wrap; gap: 10px; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 12px; }
.faq details[open] { border-color: #cdbfe0; box-shadow: var(--shadow); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 56px 20px 22px; font-weight: 700; font-size: 1.08rem; color: var(--purple-900); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%); font-size: 1.6rem; font-weight: 400; color: var(--gold-600); }
.faq details[open] summary::after { content: "–"; }
.faq .answer { padding: 0 22px 20px; color: var(--muted); }
.faq .answer p:last-child { margin-bottom: 0; }

/* ---------- Status pill / portal ---------- */
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 99px; font-size: .85rem; font-weight: 700; }
.pill-dev { background: var(--gold-100); color: #5b4513; border: 1px solid var(--gold-500); }
.pill-dev::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--gold-600); }

/* ---------- Prose (legal pages) ---------- */
.prose h2 { font-size: 1.7rem; margin-top: 1.6em; }
.prose h3 { font-size: 1.3rem; margin-top: 1.3em; }
.prose p, .prose li { color: #3a3346; }

/* ---------- Footer ---------- */
.site-footer { background: var(--purple-950); color: #cfc4df; padding: 64px 0 28px; font-size: .97rem; }
.site-footer a { color: #e9e1f4; text-decoration: none; }
.site-footer a:hover { color: var(--gold-300); text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-logo { background: #fff; border-radius: 14px; padding: 14px; width: 190px; margin-bottom: 16px; }
.footer-slogan { font-family: var(--serif); font-style: italic; font-size: 1.25rem; color: var(--gold-300); margin-bottom: 10px; }
.site-footer h4 { font-family: var(--sans); color: #fff; font-size: .85rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 8px; }
.social { display: flex; gap: 10px; margin-top: 14px; flex-wrap: wrap; }
.social a { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgba(227,204,138,.5); color: var(--gold-300); }
.social a:hover { background: var(--gold-500); color: var(--purple-950); text-decoration: none; }
.social svg { width: 20px; height: 20px; }
.social a[hidden] { display: none; }
.footer-notice { margin-top: 40px; padding: 18px 20px; border: 1px solid rgba(227,204,138,.3); border-radius: 10px; font-size: .9rem; color: #d9cfe8; }
.footer-bottom { margin-top: 28px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.12); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: .875rem; color: #a99dbd; }
.footer-bottom a { color: #cfc4df; }

/* ---------- Utilities ---------- */
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; } .mt-2 { margin-top: 16px; } .mt-3 { margin-top: 24px; } .mt-4 { margin-top: 40px; } .mb-3 { margin-bottom: 24px; }
.text-center { text-align: center; }
.muted { color: var(--muted); }
.small { font-size: .9rem; }
.stack > * + * { margin-top: 16px; }

@media print {
  .site-header, .topbar, .site-footer, .cta-band, .nav-toggle { display: none !important; }
  .hero, .page-hero, .on-dark { background: #fff !important; color: #000 !important; }
  .hero h1, .page-hero h1 { color: #000 !important; }
}
.opp-when { color: var(--burgundy-700); font-weight: 700; }
.cta-band a.on-band { color: #fff; }
.center-block { margin-left: auto; margin-right: auto; }
.btn-center { justify-content: center; }
.btn svg { flex: 0 0 auto; }
/* header refinements */
.brand-name, .brand-sub { white-space: nowrap; }
.brand-name { font-size: 1.35rem; }
@media (max-width: 1400px) { .brand-sub { display: none; } .primary-nav a { padding: 10px 9px; font-size: .93rem; } }
@media (max-width: 400px) { .brand-name { font-size: 1.15rem; } .brand img { width: 44px; height: 44px; } }
@media (max-width: 640px) { .topbar .tb-links { display: none; } .topbar { font-size: .82rem; } }
.hero-logo { padding: 17%; }
.brand picture { flex: 0 0 auto; }
