/* ===== Nomadica V5 — "Synthesis" — Best-of mashup ===== */
/* v2/v4 palette · v4 horizon dividers · v1/v4 typography · v2 metallic cards */

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;500;600&family=Cinzel+Decorative:wght@400;600;700;900&family=Inter:wght@400;500;600;700&family=Marcellus+SC&display=swap');

:root {
  --black: #000000;
  --near-black: #050505;
  --dark: #0A0A0A;
  --panel: #0F0F0F;
  --raised: #151515;
  --elevated: #1A1A1A;

  --gold: #A89840;
  --gold-bright: #D4B840;
  --gold-pale: #F0E8C0;
  --gold-dim: rgba(168,152,64,0.12);
  --gold-glow: rgba(168,152,64,0.06);
  --gold-neon: 0 0 20px rgba(168,152,64,0.25), 0 0 60px rgba(168,152,64,0.08);
  --gold-neon-subtle: 0 0 10px rgba(168,152,64,0.12);

  --rule: rgba(168,152,64,0.06);
  --rule-mid: rgba(168,152,64,0.12);
  --rule-bright: rgba(168,152,64,0.25);

  --white: #F0E8C0;
  --cream: #B0A878;
  --text: #8B7A30;
  --text-muted: #6B5A10;
  --text-dim: #484038;

  --grad-card: linear-gradient(145deg, #1A1A1A 0%, #0F0F0F 60%, #0C0C0C 100%);
  --grad-sheen: linear-gradient(135deg, rgba(255,255,255,0.025) 0%, transparent 50%, rgba(255,255,255,0.01) 100%);

  --max-width: 1200px;
  --radius: 8px;
  --radius-lg: 12px;
  --nav-height: 68px;

  /* Typography tokens — categorical roles. Defaults reflect launch
     state. The font customizer (DEV-only, see end of file) writes to
     these vars at runtime via inline style on :root. */
  --font-wordmark: 'Cinzel Decorative', serif;
  --font-heading: 'Cinzel Decorative', serif;
  --font-eyebrow: 'Cinzel Decorative', serif;
  --font-nav: 'Cinzel Decorative', serif;
  --font-button: 'Cinzel Decorative', serif;
  --font-tagline: 'Cinzel', serif;
  --font-decorative: 'Cinzel', serif;
  --font-body: 'Marcellus SC', serif;
  --font-ui: 'Marcellus SC', serif;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-height) + 16px); font-size: 18px; }
body { font-family: var(--font-body); background: var(--black); color: var(--text); line-height: 1.7; -webkit-font-smoothing: antialiased; overflow-x: hidden; font-size: 1rem; }

/* Scrollbars — themed via standard `scrollbar-width` / `scrollbar-color`.
   These are supported in all modern browsers (Firefox 64+, Chrome 121+,
   Safari 18+) and avoid the legacy WebKit pseudo-elements that Firefox
   would warn about during parsing. */
* { scrollbar-width: thin; scrollbar-color: rgba(168,152,64,0.2) var(--dark); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--gold-bright); }

h1, h2, h3 { font-family: var(--font-heading); color: var(--white); line-height: 1.15; }
h1 { font-size: clamp(2.4rem, 6vw, 3.6rem); font-weight: 900; }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.2rem); font-weight: 700; }
h3 { font-size: clamp(1rem, 2vw, 1.25rem); font-weight: 700; }
.glow-text { color: var(--gold); text-shadow: 0 0 20px rgba(232,184,32,0.35); }

.container { max-width: var(--max-width); margin: 0 auto; padding: 0 2rem; }
.section { padding: 5.5rem 0; }

/* Eyebrow */
.eyebrow { font-family: var(--font-eyebrow); font-size: 1rem; font-weight: 700; letter-spacing: 0.3em; color: var(--gold); display: inline-block; margin-bottom: 0.75rem; text-shadow: 0 0 10px rgba(232,184,32,0.25); }

/* Horizon dividers */
.horizon { display: flex; flex-direction: column; gap: 4px; align-items: center; padding: 0.75rem 0; }
.horizon-line { height: 1px; background: var(--gold); }
.horizon-line:nth-child(1) { width: 80%; opacity: 0.05; }
.horizon-line:nth-child(2) { width: 70%; opacity: 0.08; }
.horizon-line:nth-child(3) { width: 60%; opacity: 0.12; }
.horizon-line:nth-child(4) { width: 50%; opacity: 0.18; }
.horizon-line:nth-child(5) { width: 40%; opacity: 0.25; }

/* Nav */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--nav-height);
  overflow: hidden;
  transition: height 0.4s ease;
}
/* Background layer with mask — only the bg fill + blur fade out, the
   nav content (logo, links, CTA) stays at full opacity. */
.nav::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: rgba(0,0,0,1);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  -webkit-mask-image: linear-gradient(to bottom, black 0%, black 75%, transparent 95%);
  mask-image: linear-gradient(to bottom, black 0%, black 75%, transparent 95%);
}
/* When the mobile menu is open, the nav itself expands to contain it
   so the entire nav (with its gradient) appears to stretch downward as
   one unit. */
.nav.menu-open { height: 380px; }
.nav.scrolled { box-shadow: 0 1px 30px rgba(232,184,32,0.04); }
.nav-inner { max-width: var(--max-width); margin: 0 auto; padding: 0 1.5rem; height: var(--nav-height); display: flex; align-items: center; justify-content: space-between; flex-shrink: 0; }
.nav-logo { display: flex; align-items: center; gap: 0.5rem; text-decoration: none; }
.nav-logo img { height: 30px; width: 30px; border-radius: 50%; filter: drop-shadow(0 0 4px rgba(232,184,32,0.25)); }
.nav-wordmark { font-family: var(--font-wordmark); font-weight: 900; font-size: 0.78rem; letter-spacing: 0.18em; color: var(--gold); text-shadow: 0 0 8px rgba(232,184,32,0.2); }
.nav-links { display: flex; align-items: center; gap: 1.75rem; }
.nav-links a { font-size: 0.78rem; font-weight: 600; color: var(--gold); letter-spacing: 0.08em; text-decoration: none; font-family: var(--font-nav); }
.nav-links a:hover { color: var(--gold-bright); }
.nav-links a.active { color: var(--gold-bright); text-shadow: 0 0 8px rgba(232,184,32,0.2); }
@keyframes cta-glow-pulse {
  0%, 100% { box-shadow: 0 0 8px rgba(168,152,64,0.15); }
  50% { box-shadow: 0 0 16px rgba(168,152,64,0.35), 0 0 32px rgba(168,152,64,0.1); }
}
@keyframes cta-sheen-sweep {
  /* Start and end fully off-screen (gradient is 200% wide with the
     bright band centered at 50%, so the band is fully clear of the
     button when position is < -200% or > 100%). The 60%→100% hold
     creates the rest period between sweeps. */
  0% { background-position: -250% 0; }
  60% { background-position: 150% 0; }
  100% { background-position: 150% 0; }
}
.nav-cta-book {
  position: relative;
  background:
    linear-gradient(180deg, rgba(240,232,192,0.22) 0%, rgba(176,168,120,0.08) 35%, transparent 50%, rgba(0,0,0,0.12) 100%),
    linear-gradient(180deg, #BFAB48 0%, #A89840 50%, #6B5A10 100%);
  color: var(--black);
  padding: 0.55rem 1.4rem;
  border-radius: 6px;
  font-family: var(--font-button);
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  border: 1px solid rgba(176,160,80,0.85);
  box-shadow:
    inset 0 1px 0 rgba(240,232,192,0.35),
    inset 0 -1px 0 rgba(0,0,0,0.2),
    0 2px 6px rgba(0,0,0,0.5),
    0 0 18px rgba(168,152,64,0.18);
  display: inline-flex; align-items: center; gap: 0.5rem;
  cursor: pointer; line-height: 1;
  overflow: hidden;
  text-shadow: 0 1px 0 rgba(240,232,192,0.25);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
/* Sheen sweep — diagonal light pass every ~5s. More refined than a
   pulsing glow; matches the brand's "masculine glitter" direction. */
.nav-cta-book::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(110deg,
    transparent 0%, transparent 35%,
    rgba(255,250,220,0.0) 40%,
    rgba(255,250,220,0.55) 50%,
    rgba(255,250,220,0.0) 60%,
    transparent 65%, transparent 100%);
  background-size: 200% 100%;
  background-position: -250% 0;
  animation: cta-sheen-sweep 5s ease-in-out infinite;
  pointer-events: none;
  border-radius: inherit;
  mix-blend-mode: screen;
}
.nav-cta-book:hover {
  color: var(--black);
  transform: translateY(-1px);
  background:
    linear-gradient(180deg, rgba(240,232,192,0.28) 0%, rgba(176,168,120,0.12) 35%, transparent 50%, rgba(0,0,0,0.1) 100%),
    linear-gradient(180deg, #D4BB48 0%, #B8A040 50%, #8B7A30 100%);
  box-shadow:
    inset 0 1px 0 rgba(240,232,192,0.45),
    inset 0 -1px 0 rgba(0,0,0,0.2),
    0 4px 14px rgba(0,0,0,0.5),
    0 0 28px rgba(168,152,64,0.35);
}
.nav-cta-book:focus-visible {
  outline: 2px solid var(--gold-bright, #D4B840);
  outline-offset: 3px;
}
.nav-cta-book:active { transform: translateY(0); }
.nav-cta-icon { width: 13px; height: 13px; filter: brightness(0); flex-shrink: 0; }

/* Mobile sticky CTA — under logo area. Mirrors the desktop nav-cta-book
   styling (sheen sweep, metallic gradient, weighty padding) but at a
   compact scale so it shares space with the logo + hamburger toggle. */
.mobile-book-cta {
  display: none; position: fixed; top: calc(var(--nav-height) + 0.5rem); left: 1rem; z-index: 99;
  position: fixed;
  background:
    linear-gradient(180deg, rgba(240,232,192,0.22) 0%, rgba(176,168,120,0.08) 35%, transparent 50%, rgba(0,0,0,0.12) 100%),
    linear-gradient(180deg, #BFAB48 0%, #A89840 50%, #6B5A10 100%);
  color: var(--black);
  padding: 0.45rem 1rem;
  border-radius: 6px;
  font-family: var(--font-button);
  font-weight: 700;
  font-size: 0.62rem;
  letter-spacing: 0.07em;
  border: 1px solid rgba(176,160,80,0.85);
  text-decoration: none; text-transform: none; cursor: pointer;
  box-shadow:
    inset 0 1px 0 rgba(240,232,192,0.35),
    inset 0 -1px 0 rgba(0,0,0,0.2),
    0 2px 6px rgba(0,0,0,0.5),
    0 0 14px rgba(168,152,64,0.18);
  text-shadow: 0 1px 0 rgba(240,232,192,0.25);
  align-items: center; gap: 0.4rem; line-height: 1;
  overflow: hidden;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.mobile-book-cta::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(110deg,
    transparent 0%, transparent 35%,
    rgba(255,250,220,0.0) 40%,
    rgba(255,250,220,0.55) 50%,
    rgba(255,250,220,0.0) 60%,
    transparent 65%, transparent 100%);
  background-size: 200% 100%;
  background-position: -250% 0;
  animation: cta-sheen-sweep 5s ease-in-out infinite;
  pointer-events: none;
  border-radius: inherit;
  mix-blend-mode: screen;
}
.mobile-book-cta:active { transform: translateY(0); box-shadow:
  inset 0 1px 2px rgba(0,0,0,0.3),
  0 1px 3px rgba(0,0,0,0.4),
  0 0 8px rgba(168,152,64,0.15); }
.mobile-book-cta img { width: 13px; height: 13px; filter: brightness(0); flex-shrink: 0; position: relative; }
.nav-toggle { display: none; background: none; border: none; color: var(--gold); font-size: 1.1rem; cursor: pointer; }
/* Contact bubble — fixed bottom-left */
.nav-contact-btn {
  position: fixed;
  /* Use the larger of: 1.25rem visual padding, or the device safe-area
     inset (handles iOS home indicator + Android gesture bar). The +0.5rem
     adds breathing room on top of whatever the device demands. */
  bottom: max(1.25rem, calc(env(safe-area-inset-bottom, 0px) + 0.5rem));
  left: 1.25rem; z-index: 99;
  background: transparent; border: 1px solid var(--gold);
  cursor: pointer; width: 44px; height: 44px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 0 12px rgba(168,152,64,0.15), 0 0 4px rgba(168,152,64,0.1);
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s, opacity 1s ease;
  font-size: 1.2rem; line-height: 1; opacity: 1;
}
.nav-contact-btn.scrolling { opacity: 0; pointer-events: none; }
.nav-contact-btn:hover { transform: scale(1.1); border-color: var(--gold-bright); box-shadow: 0 0 20px rgba(168,152,64,0.3), 0 0 6px rgba(168,152,64,0.2); }
.nav-contact-btn img { width: 20px; height: 20px; }
.nav-contact-mobile { display: none; font-size: 0.65rem; color: var(--text-dim); text-align: center; padding: 0.6rem 0; border-top: 1px solid var(--rule); }
.nav-contact-mobile a { color: var(--gold); }

/* ======================================================================
 * Buttons — two canonical styles site-wide.
 *
 * .btn-gold: primary CTA. Same metallic gradient, depth, and weight
 *   as the nav-cta-book ("Free Consultation") button, minus the sheen
 *   sweep animation. Sheen is reserved for the nav book CTA so it
 *   stays the visually loudest action on the page.
 *
 * .btn-black: secondary. Same silhouette and font as .btn-gold, but
 *   black fill with a gold border. Equivalent depth shading (subtle
 *   top highlight, bottom shadow) tuned for the dark surface so the
 *   button still reads as a tactile object, not a flat outline.
 *
 * Both buttons share the same .btn base for sizing, font, and
 * letter-spacing — the only delta is fill color, border, and shadow
 * tint. .btn-sm is a size modifier that works on either.
 *
 * Legacy aliases (.btn-outline, .btn-invite) are mapped to .btn-black
 * so existing markup keeps working without churn.
 * ====================================================================== */
.btn {
  display: inline-block;
  padding: 0.7rem 1.75rem;
  border-radius: 6px;                   /* matches nav-cta-book */
  font-family: var(--font-button);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  text-decoration: none;
  line-height: 1;
  border: 1px solid transparent;
  transition: transform 0.18s ease, box-shadow 0.18s ease, color 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}
.btn:active { transform: translateY(0); }
.btn:focus-visible {
  outline: 2px solid var(--gold-bright);
  outline-offset: 3px;
}

/* === Primary: gold === */
.btn-gold {
  background:
    linear-gradient(180deg, rgba(240,232,192,0.22) 0%, rgba(176,168,120,0.08) 35%, transparent 50%, rgba(0,0,0,0.12) 100%),
    linear-gradient(180deg, #BFAB48 0%, #A89840 50%, #6B5A10 100%);
  color: var(--black);
  border-color: rgba(176,160,80,0.85);
  text-shadow: 0 1px 0 rgba(240,232,192,0.25);
  box-shadow:
    inset 0 1px 0 rgba(240,232,192,0.35),
    inset 0 -1px 0 rgba(0,0,0,0.2),
    0 2px 6px rgba(0,0,0,0.5),
    0 0 18px rgba(168,152,64,0.18);
}
.btn-gold:hover {
  color: var(--black);
  transform: translateY(-1px);
  background:
    linear-gradient(180deg, rgba(240,232,192,0.28) 0%, rgba(176,168,120,0.12) 35%, transparent 50%, rgba(0,0,0,0.1) 100%),
    linear-gradient(180deg, #D4BB48 0%, #B8A040 50%, #8B7A30 100%);
  box-shadow:
    inset 0 1px 0 rgba(240,232,192,0.45),
    inset 0 -1px 0 rgba(0,0,0,0.2),
    0 4px 14px rgba(0,0,0,0.5),
    0 0 28px rgba(168,152,64,0.35);
}

/* === Secondary: black with gold border === */
/* The same silhouette as .btn-gold so a visitor reads them as a
 * primary/secondary pair. Background uses a subtle dark gradient
 * (lit from above) with a gold-tinted top highlight; the lower edge
 * fades darker to give the same "tactile object" shape that the
 * gold button has. Border + text are gold so the button still draws
 * the eye against a black section background. */
.btn-black {
  background:
    linear-gradient(180deg, rgba(232,184,32,0.08) 0%, transparent 35%, transparent 65%, rgba(0,0,0,0.4) 100%),
    linear-gradient(180deg, #1F1F1F 0%, #0F0F0F 60%, #050505 100%);
  color: var(--gold-bright);
  border-color: var(--gold);
  text-shadow: 0 1px 0 rgba(0,0,0,0.6);
  box-shadow:
    inset 0 1px 0 rgba(232,184,32,0.15),
    inset 0 -1px 0 rgba(0,0,0,0.5),
    0 2px 6px rgba(0,0,0,0.5),
    0 0 14px rgba(168,152,64,0.12);
}
.btn-black:hover {
  color: var(--gold-pale);
  border-color: var(--gold-bright);
  transform: translateY(-1px);
  background:
    linear-gradient(180deg, rgba(232,184,32,0.14) 0%, transparent 35%, transparent 65%, rgba(0,0,0,0.35) 100%),
    linear-gradient(180deg, #2A2A2A 0%, #161616 60%, #0A0A0A 100%);
  box-shadow:
    inset 0 1px 0 rgba(232,184,32,0.25),
    inset 0 -1px 0 rgba(0,0,0,0.5),
    0 4px 14px rgba(0,0,0,0.5),
    0 0 22px rgba(168,152,64,0.28);
}

/* Size modifier — works on either color variant. */
.btn-sm { padding: 0.45rem 1.1rem; font-size: 0.68rem; border-radius: 4px; }

/* Legacy aliases — existing markup uses .btn-outline and .btn-invite
 * in several places. Map both to the new .btn-black look so visual
 * changes propagate without per-page churn. New code should use
 * .btn-black directly. */
.btn-outline,
.btn-invite {
  background:
    linear-gradient(180deg, rgba(232,184,32,0.08) 0%, transparent 35%, transparent 65%, rgba(0,0,0,0.4) 100%),
    linear-gradient(180deg, #1F1F1F 0%, #0F0F0F 60%, #050505 100%);
  color: var(--gold-bright);
  border-color: var(--gold);
  text-shadow: 0 1px 0 rgba(0,0,0,0.6);
  box-shadow:
    inset 0 1px 0 rgba(232,184,32,0.15),
    inset 0 -1px 0 rgba(0,0,0,0.5),
    0 2px 6px rgba(0,0,0,0.5),
    0 0 14px rgba(168,152,64,0.12);
}
.btn-outline:hover,
.btn-invite:hover {
  color: var(--gold-pale);
  border-color: var(--gold-bright);
  transform: translateY(-1px);
  background:
    linear-gradient(180deg, rgba(232,184,32,0.14) 0%, transparent 35%, transparent 65%, rgba(0,0,0,0.35) 100%),
    linear-gradient(180deg, #2A2A2A 0%, #161616 60%, #0A0A0A 100%);
  box-shadow:
    inset 0 1px 0 rgba(232,184,32,0.25),
    inset 0 -1px 0 rgba(0,0,0,0.5),
    0 4px 14px rgba(0,0,0,0.5),
    0 0 22px rgba(168,152,64,0.28);
}

/* Cards — metallic sheen */
.card { background: var(--grad-card); border: 1px solid var(--rule); border-radius: var(--radius); padding: 1.75rem; position: relative; overflow: hidden; transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s; }
.card::after { content: ''; position: absolute; inset: 0; background: var(--grad-sheen); pointer-events: none; border-radius: inherit; }
.card:hover { border-color: var(--rule-bright); box-shadow: 0 0 24px rgba(232,184,32,0.06), 0 8px 32px rgba(0,0,0,0.4); transform: translateY(-2px); }

/* Forms */
.form-group { display: flex; flex-direction: column; margin-bottom: 0.85rem; }
.form-group label { font-family: var(--font-ui); font-size: 0.6rem; font-weight: 700; color: var(--gold); margin-bottom: 0.25rem; text-transform: uppercase; letter-spacing: 0.1em; }
.form-group input, .form-group textarea, .form-group select { padding: 0.6rem 0.85rem; background: var(--dark); border: 1px solid var(--rule); border-radius: 4px; color: var(--cream); font-family: inherit; font-size: 0.84rem; transition: border-color 0.2s; appearance: none; }
/* :focus-visible draws outline only for keyboard nav (not mouse clicks),
   so the gold border + box-shadow is enhanced for visibility there.
   Mouse-click :focus still gets the subtle border tint via the rule above. */
.form-group input:focus-visible, .form-group textarea:focus-visible, .form-group select:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; border-color: var(--gold); }
.form-group input:focus, .form-group textarea:focus, .form-group select:focus { border-color: var(--gold); box-shadow: 0 0 0 2px var(--gold-dim); }
/* Placeholder text describes what each field expects, so it has to
 * be readable on dim/mobile screens. --text-muted reads clearly while
 * still being distinguishable from --cream (the typed-input color)
 * so empty vs filled states stay visually distinct. */
.form-group input::placeholder, .form-group textarea::placeholder { color: var(--text-muted); }
.form-group textarea { resize: vertical; min-height: 80px; }
.form-group select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23706858' d='M6 8L1 3h10z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 0.75rem center; padding-right: 2rem; }
.form-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0.75rem; }
.form-row > .form-group { min-width: 0; }
.form-group input, .form-group textarea, .form-group select { width: 100%; }

/* ======================================================================
 * Custom checkbox styling — shared across every checkbox in our forms.
 *
 * Native checkboxes on a dark background with --gold accent-color
 * render too dim to read as "checked", so we draw our own. The base
 * selector covers .form-group.form-checkbox (newsletter), the
 * .csuite-options fieldset (CFO / Controller / Custom interest
 * picks), .prosperity-fields (city / event / url section), and the
 * .newsletter-check label (connect page).
 *
 * Keep box geometry, both states, and the centered checkmark in
 * one place so any future checkbox automatically inherits the look.
 * ====================================================================== */
.form-group.form-checkbox input[type="checkbox"],
.csuite-options input[type="checkbox"],
.newsletter-check input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 1rem; height: 1rem; margin: 0; padding: 0;
  flex-shrink: 0; cursor: pointer;
  background: var(--dark);
  border: 1px solid var(--rule-bright);
  border-radius: 3px;
  transition: background 0.15s, border-color 0.15s, box-shadow 0.15s;
  /* relative so the ::after checkmark anchors to the box; the
     checkmark uses absolute positioning + transform for centering. */
  position: relative;
  display: inline-block;
  vertical-align: middle;
}
.form-group.form-checkbox input[type="checkbox"]:hover,
.csuite-options input[type="checkbox"]:hover,
.newsletter-check input[type="checkbox"]:hover {
  border-color: var(--gold-bright);
  box-shadow: 0 0 6px rgba(168,152,64,0.18);
}
.form-group.form-checkbox input[type="checkbox"]:focus-visible,
.csuite-options input[type="checkbox"]:focus-visible,
.newsletter-check input[type="checkbox"]:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
  border-color: var(--gold);
}
/* Checked state: keep the dark field so the box still reads as a
   form field, but tint it with a subtle gold gradient and brighten
   the border. The visual confirmation lives in the gold-bright
   checkmark drawn on top — that's the eye-catcher, not a flooded
   amber fill. */
.form-group.form-checkbox input[type="checkbox"]:checked,
.csuite-options input[type="checkbox"]:checked,
.newsletter-check input[type="checkbox"]:checked {
  background:
    linear-gradient(180deg, rgba(232,184,32,0.18) 0%, rgba(232,184,32,0.06) 100%),
    var(--dark);
  border-color: var(--gold-bright);
  box-shadow:
    inset 0 1px 0 rgba(232,184,32,0.18),
    0 0 8px rgba(232,184,32,0.25);
}
/* Checkmark — drawn as a rotated rectangle border (only the bottom
   and right edges are visible after rotation, which forms the V).
   Centered with absolute + transform so the visible glyph sits in
   the optical middle of the box regardless of box size. */
.form-group.form-checkbox input[type="checkbox"]:checked::after,
.csuite-options input[type="checkbox"]:checked::after,
.newsletter-check input[type="checkbox"]:checked::after {
  content: '';
  position: absolute;
  /* Anchor at geometric center, then nudge up by 1px to compensate
     for the rotated glyph's heavier bottom-right corner. */
  left: 50%; top: 50%;
  width: 5px; height: 10px;
  border: solid var(--gold-bright);
  border-width: 0 2px 2px 0;
  transform: translate(-50%, calc(-50% - 1px)) rotate(45deg);
  filter: drop-shadow(0 0 2px rgba(232,184,32,0.5));
}

/* Per-context layout tweaks — only the bits that differ between
   the .form-group flex layout and the inline .csuite-options /
   .newsletter-check spots. */
.form-group.form-checkbox { flex-direction: row; align-items: flex-start; gap: 0.5rem; }
.form-group.form-checkbox label {
  display: flex; align-items: flex-start; gap: 0.55rem;
  font-size: 0.78rem; font-weight: 400; text-transform: none;
  letter-spacing: 0; color: var(--cream); cursor: pointer;
}
.form-group.form-checkbox input[type="checkbox"] { margin-top: 0.18rem; }

/* Form feedback — inline error and success states for lead-capture
   forms (contact modal, booking modal, newsletter forms). */
.form-error {
  font-size: 0.78rem; color: #e8a040;
  background: rgba(232, 160, 64, 0.08);
  border: 1px solid rgba(232, 160, 64, 0.3);
  border-radius: 4px; padding: 0.55rem 0.75rem;
  margin: 0.5rem 0;
}
.form-thanks {
  font-size: 0.92rem; color: var(--cream); line-height: 1.6;
  background: rgba(232, 184, 32, 0.04);
  border: 1px solid var(--rule-mid);
  border-radius: var(--radius); padding: 1.5rem 1.25rem;
  text-align: center;
}

/* Cloudflare Turnstile widget — invisible mode (set via data-size).
   The widget runs entirely in the background and never renders a
   visible challenge unless Cloudflare's heuristics trip. We collapse
   the placeholder element so it doesn't reserve vertical space in
   the form layout. If the widget needs to surface a fallback
   challenge, Cloudflare's script restores its own dimensions. */
.cf-turnstile { margin: 0; min-height: 0; }
.cf-turnstile:empty { display: none; }

/* Small "protected by" footer line under forms. Subtle —
   communicates spam protection without dominating the form. */
.form-protected-note {
  font-size: 0.65rem;
  color: var(--text-dim);
  text-align: center;
  margin-top: 0.5rem;
  line-height: 1.5;
}
.form-protected-note a { color: var(--text-muted); text-decoration: underline; }
.form-protected-note a:hover { color: var(--gold); }

/* Contact modal */
.modal-overlay { display: none; position: fixed; inset: 0; z-index: 200; background: rgba(0,0,0,0.7); backdrop-filter: blur(6px); align-items: center; justify-content: center; }
.modal-overlay.open { display: flex; }
.modal { background: var(--panel); border: 1px solid var(--rule-mid); border-radius: var(--radius-lg); padding: 1.5rem; width: 520px; max-width: 94vw; max-height: 90vh; overflow-y: auto; position: relative; box-shadow: 0 0 60px rgba(232,184,32,0.06); }
.modal .form-row { gap: 0.6rem; }
.modal .form-group { margin-bottom: 0.65rem; }
.modal .form-group label { font-size: 0.55rem; margin-bottom: 0.2rem; }
.modal .form-group input, .modal .form-group textarea, .modal .form-group select { padding: 0.5rem 0.75rem; font-size: 0.8rem; }
.modal .form-group textarea { min-height: 60px; }
.modal h2 { font-size: 1.1rem; }
.modal .modal-sub { font-size: 0.78rem; margin-bottom: 1rem; }
.modal-close { position: sticky; top: 0; float: right; background: var(--panel); border: none; color: var(--text-muted); font-size: 1.2rem; cursor: pointer; z-index: 1; width: 2rem; height: 2rem; display: flex; align-items: center; justify-content: center; border-radius: 50%; margin-bottom: -2rem; }
.modal-close:hover { color: var(--white); }
.modal h2 { font-size: 1.2rem; margin-bottom: 0.3rem; }
.modal .modal-sub { font-size: 0.82rem; color: var(--text); margin-bottom: 1.25rem; }

/* C-Suite sub-modal */
/* Visually hidden — content available to assistive tech, hidden from view.
   Standard a11y utility; used for things like form fieldset legends where
   the visible design has a separate label structure. */
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}

/* SEO-only static content — Sanity-fed FAQs, blog posts, and events
   are baked into the static HTML at build time so first-pass crawlers
   (AI search bots, social unfurlers, Bing/DuckDuckGo) can index the
   actual question/answer/event prose without executing JS. The live
   site shows the same content interactively via the JS modal/search;
   we display:none these duplicates so the visible UI doesn't render
   them twice. The hidden attribute alone enforces this; the explicit
   rule below makes the intent unambiguous and resists override. */
.seo-faq-static,
.seo-blog-static,
.seo-events-static {
  display: none !important;
}

.csuite-options { display: none; margin-bottom: 0.85rem; padding: 0.75rem; background: var(--dark); border: 1px solid var(--rule); border-radius: 4px; min-width: 0; }
.csuite-options.active { display: block; }
.csuite-options label { display: flex; align-items: center; gap: 0.5rem; font-size: 0.78rem; color: var(--cream); cursor: pointer; padding: 0.35rem 0; }
/* accent-color was used here before we drew our own checkboxes; the
   shared custom-checkbox rule handles all visual styling now. */
/* Reset fieldset defaults — we keep the .csuite-options border/bg above. */
fieldset.csuite-options { margin: 0 0 0.85rem; }

/* Referral fields */
.referral-fields { display: none; padding-top: 0.6rem; border-top: 1px solid var(--rule); margin-top: 0.4rem; }
.referral-fields.active { display: block; }
.referral-fields h4 { font-family: var(--font-eyebrow); font-size: 0.6rem; color: var(--gold); letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 0.5rem; }

/* Prosperity Project conditional fields — mirrors referral-fields. */
.prosperity-fields { display: none; padding-top: 0.6rem; border-top: 1px solid var(--rule); margin-top: 0.4rem; }
.prosperity-fields.active { display: block; }
.prosperity-fields h4 { font-family: var(--font-eyebrow); font-size: 0.6rem; color: var(--gold); letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 0.5rem; }
.muted-label { color: var(--text-dim); font-weight: 400; font-style: italic; font-size: 0.68rem; }

/* Footer */
.footer { background: var(--near-black); border-top: 1px solid var(--rule-mid); padding: 3.5rem 0 1.5rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 2.5rem; margin-bottom: 2rem; }
.footer-brand p { font-size: 0.8rem; color: var(--text-muted); line-height: 1.65; margin-top: 0.75rem; max-width: 300px; }
.footer-brand .footer-contact { margin-top: 0.75rem; font-size: 0.72rem; }
.footer-brand .footer-contact a { color: var(--gold); display: block; margin-bottom: 0.2rem; }
.footer-col h4 { font-family: var(--font-eyebrow); font-size: 0.62rem; font-weight: 700; color: var(--gold); text-transform: uppercase; letter-spacing: 0.2em; margin-bottom: 0.75rem; text-shadow: 0 0 6px rgba(232,184,32,0.15); }
.footer-col a { display: block; font-size: 0.78rem; color: var(--text-muted); margin-bottom: 0.45rem; }
.footer-col a:hover { color: var(--gold); }
.footer-bottom { border-top: 1px solid var(--rule); padding-top: 1.25rem; display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; font-size: 0.62rem; color: var(--text-dim); }
.footer-legal { display: flex; gap: 1rem; flex-wrap: wrap; }
.footer-legal a { color: var(--text-dim); text-decoration: none; }
.footer-legal a:hover { color: var(--gold); }

/* Photographer credit — sits as a thin row between the main footer
 * grid and the copyright/legal row. Low-emphasis, but the photographer's
 * Instagram link gets the gold hover treatment so it's clearly clickable. */
.footer-credit {
  font-size: 0.66rem;
  color: var(--text-dim);
  text-align: center;
  padding: 0.85rem 0;
  margin-top: 0.5rem;
  border-top: 1px solid var(--rule);
  letter-spacing: 0.04em;
}
.footer-credit a {
  color: var(--text-muted);
  text-decoration: none;
  font-style: italic;
  transition: color 0.2s;
}
.footer-credit a:hover { color: var(--gold); }
/* When the credit is present, the bottom row's own border-top is
 * redundant — the credit row already provides the separator. */
.footer-credit + .footer-bottom { border-top: none; padding-top: 0.5rem; }

/* "Built by Vahndre Ventures" credit — sits at the very bottom of
 * the footer, below the copyright/legal/socials row, so it reads
 * as the final attribution after everything else. Logo + company
 * name on a single line, clickable name opens a mailto: so
 * visitors who want similar work can reach out. Same low-emphasis
 * tone as the other footer credits; the company name lifts to gold
 * on hover so the affordance is clear.
 *
 * Logo image is 128px source rendered at 64px so high-DPI displays
 * still get crisp edges. object-fit: contain keeps the box
 * dimensions predictable even if the source aspect drifts. */
.footer-builtby {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  font-size: 0.72rem;
  color: var(--text-dim);
  text-align: center;
  /* Generous top padding because we sit below the copyright row's
   * border; gives the section visual separation without needing
   * another rule above us. */
  padding: 1.25rem 0 0.5rem;
  letter-spacing: 0.04em;
}
.footer-builtby img {
  width: 64px; height: 64px;
  object-fit: contain;
  flex-shrink: 0;
  opacity: 0.85;
  transition: opacity 0.2s;
}
.footer-builtby:hover img { opacity: 1; }
.footer-builtby a {
  color: var(--gold);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s;
}
.footer-builtby a:hover { color: var(--gold-bright); }
/* Keep "Built by Vahndre Ventures, LLC" together as one phrase so
 * it never wraps mid-sentence. Without this the bare "Built by " text
 * node and the anchor are independent flex children that can break
 * apart on narrow viewports. */
.footer-builtby-text {
  white-space: nowrap;
}
.footer-socials { display: flex; gap: 0.5rem; }
.footer-socials a { display: flex; align-items: center; justify-content: center; }
.footer-socials a img { width: 18px; height: 18px; }

/* Legal pages — shared layout for privacy, terms, disclaimer.
   Narrow column, comfortable reading length, gold rules. */
.legal-hero {
  padding: calc(var(--nav-height) + 2.5rem) 1.5rem 1.5rem;
  text-align: center;
  background: var(--near-black);
  border-bottom: 1px solid var(--rule);
}
.legal-hero h1 { font-size: clamp(1.6rem, 4vw, 2.4rem); margin-bottom: 0.5rem; }
.legal-hero .updated { font-size: 0.7rem; color: var(--text-dim); letter-spacing: 0.1em; text-transform: uppercase; }
.legal-body {
  max-width: 720px; margin: 0 auto; padding: 2.5rem 1.5rem 4rem;
  font-size: 0.92rem; line-height: 1.75; color: var(--cream);
}
.legal-body h2 {
  font-size: 1.25rem; margin: 2.25rem 0 0.75rem;
  color: var(--white); border-bottom: 1px solid var(--rule); padding-bottom: 0.4rem;
}
.legal-body h3 {
  font-size: 1rem; margin: 1.5rem 0 0.5rem; color: var(--gold-bright);
  font-family: var(--font-heading); letter-spacing: 0.04em;
}
.legal-body p { margin-bottom: 1rem; }
.legal-body ul, .legal-body ol { margin: 0 0 1.25rem 1.5rem; }
.legal-body li { margin-bottom: 0.4rem; }
.legal-body a { color: var(--gold); }
.legal-body strong { color: var(--white); }
.legal-body .toc {
  background: var(--panel); border: 1px solid var(--rule);
  border-radius: var(--radius); padding: 1rem 1.25rem 0.75rem;
  margin-bottom: 2rem;
}
.legal-body .toc h3 { margin: 0 0 0.5rem; color: var(--white); }
.legal-body .toc ul { margin: 0 0 0 1.25rem; font-size: 0.82rem; }
.legal-body .toc li { margin-bottom: 0.2rem; }
.legal-body .callout {
  background: rgba(232,184,32,0.04);
  border-left: 3px solid var(--gold);
  padding: 1rem 1.25rem;
  margin: 1.5rem 0;
  border-radius: 0 var(--radius) var(--radius) 0;
}

/* Mobile */
@media (max-width: 959px) {
  .nav-links {
    display: flex; flex-direction: column;
    /* Absolute below the nav-inner row so the row stays clean. The
       nav itself grows to encompass us via the :has(.open) rule, so
       the gradient bg covers this area as one continuous element. */
    position: absolute; top: var(--nav-height); left: 0; right: 0;
    padding: 0 1.5rem; gap: 0.6rem;
    /* Closed state: zero height, faded out. */
    max-height: 0; opacity: 0;
    overflow: hidden;
    visibility: hidden;
    transition: max-height 0.35s ease, opacity 0.25s ease, padding 0.3s ease, visibility 0s linear 0.35s;
  }
  .nav-links.open {
    max-height: 500px; opacity: 1;
    padding: 1rem 1.5rem;
    visibility: visible;
    transition: max-height 0.4s ease, opacity 0.3s ease 0.05s, padding 0.3s ease, visibility 0s linear 0s;
  }
  .nav-toggle { display: block; }
  .nav-contact-mobile { display: block; }
  .mobile-book-cta { display: inline-flex; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 1.5rem; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; gap: 0.75rem; text-align: center; }
  /* Mobile: stack the build credit vertically so the logo sits on
   * its own line above and "Built by Vahndre Ventures, LLC" stays
   * together on a single line below. The .footer-builtby-text span
   * already has white-space: nowrap, so the text never breaks. */
  .footer-builtby {
    flex-direction: column;
    gap: 0.5rem;
  }
  .form-row { grid-template-columns: 1fr; }
  .modal { padding: 1.5rem; }
}
@media (min-width: 960px) { .container { padding: 0 3rem; } .section { padding: 6.5rem 0; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; } }


