/*
Theme Name: Clark & Burke
Theme URI: https://www.cnb.llc
Author: Clark & Burke LLC
Author URI: https://www.cnb.llc
Description: Custom WordPress theme for Clark & Burke LLC — vCIO, Security & AI-Driven IT Consulting.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.0
License: Proprietary
License URI: https://www.cnb.llc
Text Domain: cnb-theme
*/

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

:root {
  --color-primary: #8e694c;
  --color-secondary: #000000;
  --color-background: #ffffff;
  --color-neutral-0: #ffffff;
  --color-neutral-50: #f8fafc;
  --color-neutral-100: #f1f5f9;
  --color-neutral-200: #e2e8f0;
  --color-text: #000000;
  --color-text-muted: #475569;
  --font-sans: "Marion", Georgia, "Times New Roman", Times, serif;
  --font-alt: "Marion", Georgia, "Times New Roman", Times, serif;
  --font-brand: "Marion", Georgia, "Times New Roman", Times, serif;
  --container-max: 1200px;
  --container-pad: 20px;
  --radius: 10px;
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.06), 0 1px 3px rgba(0,0,0,0.1);
  --header-notch-height: 64px;
  --header-line-thickness: 75px;
  --header-line-offset: 52%;
  --footer-notch-height: 96px;
  --edge-fade-inset: 48px;
}

[data-scheme="dark"], .site-header[data-scheme="dark"], .site-footer[data-scheme="dark"] {
  --color-background: #2a2929;
  --color-text: #ffffff;
  --color-secondary: #f7f7f7;
  --color-neutral-0: #1a1a1a;
  --color-neutral-50: #2a2a2a;
  --color-neutral-100: #3a3a3a;
  --color-neutral-200: #4a4a4a;
  --color-text-muted: #b0b0b0;
  --header-link-hover-bg: rgba(255,255,255,0.08);
  --header-control-border: rgba(255,255,255,0.25);
}

[data-scheme="lite"], .site-header[data-scheme="lite"], .site-footer[data-scheme="lite"] {
  --color-background: #ffffff;
  --color-text: #000000;
  --color-secondary: #000000;
  --color-neutral-0: #ffffff;
  --color-neutral-50: #f8fafc;
  --color-neutral-100: #f1f5f9;
  --color-neutral-200: #e2e8f0;
  --color-text-muted: #475569;
  --header-link-hover-bg: rgba(0,0,0,0.08);
  --header-control-border: rgba(0,0,0,0.25);
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--color-text);
  background: var(--color-neutral-0);
  line-height: 1.6;
}

.container {
  width: min(var(--container-max), 100% - (var(--container-pad) * 2));
  margin-inline: auto;
  padding-inline: var(--container-pad);
}

/* ── Header ── */
.site-header,
.site-header[data-scheme] {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--color-background);
  color: var(--color-text);
  border-bottom: none;
  box-shadow: 0 0 0 rgba(0,0,0,0);
}
.site-header::after,
.site-header[data-scheme]::after { content: none; display: none; }
.site-header .inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 104px;
  position: relative;
  z-index: 1;
}
.site-header::before { display: none; }
.brand {
  display: inline-flex;
  align-items: center;
  color: var(--color-text);
  text-decoration: none;
  transition: color 300ms ease, filter 300ms ease;
}
.brand .brand-table { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; align-items: center; column-gap: 12px; row-gap: 2px; }
.brand .brand-logo { grid-column: 1; grid-row: 1 / span 2; width: 60px; height: 60px; object-fit: contain; display: block; transition: opacity 300ms ease; }
.brand .name { grid-column: 2; grid-row: 1; font-family: var(--font-brand); font-weight: 400; font-size: 28px; letter-spacing: 0.2px; line-height: 1.1; }
.brand .tagline { grid-column: 2; grid-row: 2; margin-top: 0; font-family: var(--font-sans); font-weight: 400; font-size: 13px; color: var(--color-text-muted); letter-spacing: 0.4px; }
.brand:hover, .brand:focus-visible { color: var(--color-primary); }
.site-header[data-scheme="lite"] .brand:hover .tagline,
.site-header[data-scheme="dark"] .brand:hover .tagline { color: var(--color-primary); }
.site-header .tagline,
.site-header .headline {
  font-family: "Marcellus SC", Georgia, "Times New Roman", Times, serif;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.header-rail { display: flex; align-items: center; gap: 24px; }
.nav-links { display: flex; align-items: center; gap: 8px; }
.nav-links a {
  text-decoration: none;
  color: var(--color-text);
  padding: 10px 12px;
  border-radius: 8px;
}
.nav-links a:hover { background: var(--header-link-hover-bg, rgba(0,0,0,0.08)); }
.nav-links a.active { color: var(--color-text); font-weight: 700; }
.nav-links .nav-logo {
  height: 40px;
  width: auto;
  display: block;
  opacity: 0.9;
  margin-left: 10px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
  transition: background 120ms ease, color 120ms ease, box-shadow 120ms ease, transform 120ms ease;
}
.button.primary {
  background: var(--color-primary);
  color: #ffffff !important;
  box-shadow: var(--shadow-sm);
}
.button.primary:hover { filter: brightness(0.95); }
.button.primary:active { transform: translateY(1px); }

.call-tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 9999px;
  background: var(--color-primary);
  border: 1px solid transparent;
  color: #ffffff !important;
  text-decoration: none;
  font-weight: 700;
  line-height: 1;
}
.call-tab .emoji { font-size: 16px; filter: brightness(1.1); }
.call-tab .label { opacity: 0.95; color: inherit; }
.call-tab .number { font-variant-numeric: tabular-nums; color: inherit; }
.call-tab:hover { filter: brightness(0.95); }
.call-tab:active { transform: translateY(1px); }

.menu-toggle { display: none; }

@media (max-width: 900px) {
  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px; height: 40px;
    border: 1px solid var(--header-control-border, rgba(0,0,0,0.25));
    border-radius: 10px;
    background: transparent;
    color: var(--color-text);
  }
  .nav-links {
    position: fixed;
    top: 104px;
    right: 16px;
    left: 16px;
    display: none;
    flex-direction: column;
    background: var(--color-neutral-0);
    border: 1px solid var(--color-neutral-100);
    border-radius: 12px;
    padding: 8px;
    box-shadow: var(--shadow-sm);
  }
  .nav-links.open { display: flex; }
  .nav-links .button { width: 100%; text-align: center; }
}

.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;
}

/* ── Hero Banner ── */
.hero-banner {
  width: 100%;
  height: 1080px;
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  margin: 0;
  padding: 0;
  position: relative;
  overflow: hidden;
}
.hero-banner .hero-banner-image {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  transform: scale(1.2);
  transform-origin: top center;
  will-change: transform;
  transition: transform 80ms linear;
}
.hero-slideshow {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  transform: scale(1.2);
  transform-origin: top center;
  will-change: transform;
  transition: transform 80ms linear;
}
.hero-slideshow img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 600ms ease;
}
.hero-slideshow img.show { opacity: 1; }
.hero-banner .hero-banner-divider {
  position: absolute;
  left: 0; right: 0; bottom: 0;
}

main { margin-top: 0; padding-top: 0; }

/* ── Sections ── */
.section { padding: 28px 0; }
.section h2 { margin: 0 0 16px 0; font-family: var(--font-brand); font-size: 22px; color: var(--color-secondary); text-align: center; }

/* ── Service Cards ── */
.home-services-cards { padding: 28px 0; }
.home-services-cards .container { max-width: var(--container-max); margin: 0 auto; }
.home-cards-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  justify-items: center;
  margin: 0 auto 16px;
}
.home-cards-row:last-child { margin-bottom: 0; }
.home-card {
  width: 100%;
  max-width: 400px;
  background: var(--color-neutral-0);
  border: 2px solid var(--color-primary);
  border-radius: 12px;
  padding: 16px;
  box-shadow: 0 10px 24px rgba(0,0,0,0.18), 0 2px 6px rgba(0,0,0,0.08);
  text-align: center;
  transition: box-shadow 160ms ease, transform 160ms ease;
}
.home-card:hover {
  box-shadow: 0 14px 32px rgba(0,0,0,0.22), 0 4px 10px rgba(0,0,0,0.1);
  transform: translateY(-2px) scale(1.03);
}
.home-card-icon { width: 40px; height: 40px; object-fit: contain; display: block; margin: 0 auto 10px; }
.home-card h3 { margin: 0 0 8px; font-weight: 800; color: var(--color-secondary); font-size: 22px; }
.home-card p { margin: 0 0 10px; color: var(--color-text); }
.home-card-highlights { margin: 0; padding-left: 20px; text-align: left; color: var(--color-text-muted); font-weight: 400; font-size: 14px; }
.home-card-highlights li { margin: 6px 0; }
@media (max-width: 900px) { .home-cards-row { grid-template-columns: 1fr; } .home-card { max-width: 100%; } }

/* ── Divider ── */
.divider-wrap { padding: 0; width: 100%; }
.divider-container { width: 100%; }
.divider { height: 2px; background: var(--color-neutral-100); border-radius: 0; margin: 0; width: 100%; }
.divider-wrap[data-scheme="dark"] .divider-text { color: #ffffff; }
.divider-wrap[data-scheme="lite"] .divider-text { color: #000000; }
.divider-text { text-align: center; font-weight: 700; margin-bottom: 6px; }
.divider-primary .divider { height: 50px; background: var(--color-primary); }

/* ── Why CNB ── */
.why-cnb { width: 100%; background: var(--color-background); color: var(--color-text); padding: 0; }
.why-cnb[data-scheme="dark"] { background: #2a2929; color: #ffffff; }
.why-cnb[data-scheme="dark"] .why-cnb-title { color: #f7f7f7; }
.why-cnb-grid { display: grid; grid-template-columns: 58% 42%; align-items: stretch; }
.why-cnb-media { position: relative; overflow: hidden; }
.why-cnb-media img { width: 100%; height: 100%; object-fit: cover; object-position: center top; display: block; }
.why-cnb-text { padding: 36px; display: flex; flex-direction: column; justify-content: center; }
.why-cnb-header { font-family: "Marcellus SC", Georgia, "Times New Roman", Times, serif; letter-spacing: 0.08em; text-transform: uppercase; font-size: 20px; opacity: 0.9; margin-top: 30px; margin-bottom: 10px; }
.why-cnb-sub { font-family: var(--font-brand); font-weight: 400; margin-bottom: 18px; }
.why-cnb-title { font-family: var(--font-brand); font-weight: 400; font-size: clamp(26px, 3.8vw, 40px); margin: 0 0 12px; color: var(--color-secondary); }
.why-cnb-title.gradient-run {
  background-image: linear-gradient(90deg, currentColor 0%, currentColor 42%, var(--color-primary) 50%, currentColor 58%, currentColor 100%);
  background-size: 200% 100%;
  background-position: var(--sweep-pos, 0%) 50%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}
.why-cnb-bullets { margin: 0; padding-left: 0; font-size: 16px; line-height: 1.6; }
.why-cnb-bullets li { margin: 8px 0; list-style: none; position: relative; padding-left: 24px; }
.why-cnb-bullets li::before { content: "\2713"; position: absolute; left: 0; top: 0.2em; color: var(--color-primary); font-weight: 800; }
.why-cnb-bullets strong { font-weight: 800; font-size: 18px; }
.why-cnb-bullets span { font-weight: 400; }
@media (max-width: 900px) {
  .why-cnb-grid { grid-template-columns: 1fr; }
  .why-cnb-text { padding: 18px; }
}

/* ── Origin Story ── */
.about-origin { padding: 28px 0; }
.origin-layout { display: grid; grid-template-columns: 340px 1fr 200px; gap: 24px; align-items: start; }
.origin-list { display: flex; flex-direction: column; gap: 14px; height: 240px; justify-content: center; }
.origin-item {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
  text-align: left;
  border: 1px solid var(--color-neutral-100);
  background: var(--color-neutral-50);
  color: var(--color-text);
  padding: 20px 18px;
  border-radius: 9999px;
  cursor: pointer;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.2px;
  box-shadow: var(--shadow-sm);
  transition: background 150ms ease, box-shadow 150ms ease, transform 120ms ease, color 120ms ease, border-color 120ms ease;
  -webkit-appearance: none;
  appearance: none;
  min-height: 60px;
}
.origin-item:hover { background: #eef2f7; box-shadow: 0 2px 8px rgba(0,0,0,0.06); }
.origin-item:active { transform: translateY(1px); }
.origin-list .origin-item.active,
.origin-list .origin-item[aria-selected="true"],
.origin-item[data-active="true"] {
  background: var(--color-primary) !important;
  color: var(--color-neutral-0) !important;
  border-color: var(--color-primary) !important;
  box-shadow: 0 0 0 3px rgba(37,99,235,0.35), 0 4px 10px rgba(0,0,0,0.1) !important;
}
.origin-card {
  border: 1px solid var(--color-neutral-100);
  border-radius: 16px;
  background: var(--color-neutral-0);
  padding: 22px;
  box-shadow: 8px 8px 0 rgba(0,0,0,0.05);
  height: 240px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.origin-card h3 { margin: 0; font-size: 18px; color: var(--color-secondary); }
.origin-card p {
  margin: 0;
  position: relative;
  padding-left: 20px;
}
.origin-card p::before {
  content: "\2192";
  position: absolute;
  left: 0;
  color: var(--color-primary);
  font-weight: bold;
  font-size: 16px;
}
.origin-symbol-card {
  border: 1px solid var(--color-neutral-100);
  border-radius: 16px;
  background: var(--color-neutral-0);
  padding: 22px;
  box-shadow: 8px 8px 0 rgba(0,0,0,0.05);
  width: 200px;
  height: 240px;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.origin-symbol-image {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 8px;
}
@media (max-width: 900px) {
  .origin-layout { grid-template-columns: 1fr; gap: 16px; }
  .origin-item { font-size: 16px; }
  .origin-symbol-card { width: 150px; height: 150px; margin: 0 auto; }
}

/* ── Mission / Values / Vision ── */
.mission-values-vision {
  padding: 40px 0;
  background: var(--color-background);
}
.mission-values-vision[data-scheme="dark"] {
  background: #111111;
  color: #ffffff;
}
.mission-values-vision[data-scheme="dark"] .mvv-card {
  background: #1a1a1a;
  border-color: #4a4a4a;
  color: #ffffff;
}
.mission-values-vision[data-scheme="dark"] .mvv-title { color: #f7f7f7; }
.mission-values-vision[data-scheme="dark"] .mvv-text,
.mission-values-vision[data-scheme="dark"] .mvv-bullets li { color: #ffffff; }
.mvv-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
}
.mvv-card {
  background: var(--color-neutral-0);
  border: 2px solid var(--color-primary);
  border-radius: 16px;
  padding: 32px 24px;
  text-align: center;
  box-shadow: 0 8px 24px rgba(0,0,0,0.08), 0 0 20px rgba(255,255,255,0.3);
  transition: all 300ms ease;
}
.mvv-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.12), 0 0 30px rgba(255,255,255,0.6);
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  border-color: var(--color-primary);
  color: #000000;
}
.mvv-icon { margin: 0 auto 16px; width: 64px; height: 64px; display: flex; align-items: center; justify-content: center; }
.mvv-icon img { width: 48px; height: 48px; object-fit: contain; }
.mvv-title { margin: 0 0 16px; font-size: 24px; font-weight: 700; color: var(--color-secondary); transition: color 300ms ease; }
.mvv-text { margin: 0; color: var(--color-text); line-height: 1.6; transition: color 300ms ease; }
.mvv-bullets { margin: 0; padding: 0; list-style: none; text-align: left; }
.mvv-bullets li {
  margin: 8px 0;
  color: var(--color-text);
  line-height: 1.5;
  position: relative;
  padding-left: 20px;
  margin-left: 25%;
  transition: color 300ms ease;
}
.mvv-bullets li::before {
  content: "\2022";
  color: var(--color-primary);
  font-weight: bold;
  position: absolute;
  left: 0;
}
@media (max-width: 900px) { .mvv-grid { grid-template-columns: 1fr; } }

/* ── Team ── */
.about-team { padding: 28px 0; }
.team-layout { display: grid; grid-template-columns: 340px 1fr; gap: 24px; align-items: center; }
.team-left-column { display: flex; flex-direction: column; justify-content: center; }
.team-left-column h2 { margin: 0 0 16px; font-family: var(--font-brand); color: var(--color-secondary); text-align: center; }
.team-list { display: flex; flex-direction: column; gap: 14px; }
.team-item {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  text-align: center;
  border: 1px solid var(--color-neutral-100);
  background: var(--color-neutral-50);
  color: var(--color-text);
  padding: 14px 18px;
  border-radius: 9999px;
  cursor: pointer;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.2px;
  box-shadow: var(--shadow-sm);
  transition: background 150ms ease, box-shadow 150ms ease, transform 120ms ease, color 120ms ease, border-color 120ms ease;
  -webkit-appearance: none;
  appearance: none;
  min-height: 60px;
}
.team-item:hover { background: #eef2f7; box-shadow: 0 2px 8px rgba(0,0,0,0.06); }
.team-item:active { transform: translateY(1px); }
.team-list .team-item.active,
.team-list .team-item[aria-selected="true"],
.team-item[data-active="true"] {
  background: var(--color-primary) !important;
  color: var(--color-neutral-0) !important;
  border-color: var(--color-primary) !important;
  box-shadow: 0 0 0 3px rgba(37,99,235,0.35), 0 4px 10px rgba(0,0,0,0.1) !important;
}
.team-card {
  border: 1px solid var(--color-neutral-100);
  border-radius: 16px;
  background: var(--color-neutral-0);
  padding: 22px;
  box-shadow: 8px 8px 0 rgba(0,0,0,0.05);
  min-height: 300px;
}
.team-card .team-img {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
  margin: 0 auto 16px;
  display: block;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition: transform 200ms ease, box-shadow 200ms ease;
}
.team-card .team-img:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}
.team-card h3 { margin: 0 0 8px; font-family: var(--font-brand); color: var(--color-secondary); text-align: center; font-size: 24px; }
.team-card .team-title { margin: 0 0 16px; font-weight: 600; color: var(--color-text-muted); text-align: center; font-size: 16px; }
.team-card p {
  margin: 0 0 12px;
  line-height: 1.6;
  text-align: left;
  position: relative;
  padding-left: 20px;
}
.team-card p::before {
  content: "\25B6";
  position: absolute;
  left: 0;
  top: 0.1em;
  color: var(--color-primary);
  font-weight: bold;
  font-size: 14px;
}

.photo-modal {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 300ms ease, visibility 300ms ease;
}
.photo-modal.active { opacity: 1; visibility: visible; }
.photo-modal-content { max-width: 90vw; max-height: 90vh; position: relative; display: flex; align-items: center; justify-content: center; }
.photo-modal img {
  width: auto; height: auto;
  max-width: min(500px, 90vw); max-height: 90vh;
  object-fit: contain;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
  transform: scale(0.8);
  transition: transform 300ms ease;
}
.photo-modal.active img { transform: scale(1); }
.photo-modal-close {
  position: absolute;
  top: -40px; right: -40px;
  width: 32px; height: 32px;
  background: rgba(255,255,255,0.9);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: bold;
  color: #333;
  transition: background 200ms ease;
}
.photo-modal-close:hover { background: white; }
@media (max-width: 900px) {
  .team-layout { grid-template-columns: 1fr; }
  .team-item { font-size: 16px; }
  .photo-modal-close { top: 10px; right: 10px; }
}

/* ── Locations ── */
.about-locations { padding: 24px 0; }
.about-locations[data-scheme="dark"] {
  background: var(--color-background);
  color: var(--color-text);
}
.location-layout { display: grid; grid-template-columns: 1fr 340px; gap: 24px; align-items: center; }
.location-left-column { display: flex; flex-direction: column; justify-content: center; }
.location-left-column h2 { margin: 0 0 16px; font-family: var(--font-brand); color: var(--color-secondary); text-align: center; }
.about-locations[data-scheme="dark"] .location-left-column h2 { color: var(--color-text); }
.location-list { display: flex; flex-direction: column; gap: 14px; }
.location-item {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  text-align: center;
  border: 1px solid var(--color-neutral-100);
  background: var(--color-neutral-50);
  color: var(--color-text);
  padding: 14px 18px;
  border-radius: 9999px;
  cursor: pointer;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.2px;
  box-shadow: var(--shadow-sm);
  transition: background 150ms ease, box-shadow 150ms ease, transform 120ms ease, color 120ms ease, border-color 120ms ease;
  -webkit-appearance: none;
  appearance: none;
  min-height: 60px;
}
.location-item:hover { background: #eef2f7; box-shadow: 0 2px 8px rgba(0,0,0,0.06); }
.location-item:active { transform: translateY(1px); }
.about-locations[data-scheme="dark"] .location-item {
  border: 1px solid var(--color-neutral-200);
  background: var(--color-neutral-100);
  color: var(--color-text);
}
.about-locations[data-scheme="dark"] .location-item:hover { background: var(--color-neutral-200); }
.location-list .location-item.active,
.location-list .location-item[aria-selected="true"],
.location-item[data-active="true"] {
  background: var(--color-primary) !important;
  color: var(--color-neutral-0) !important;
  border-color: var(--color-primary) !important;
  box-shadow: 0 0 0 3px rgba(37,99,235,0.35), 0 4px 10px rgba(0,0,0,0.1) !important;
}
.location-card {
  border: 1px solid var(--color-neutral-100);
  border-radius: 16px;
  background: var(--color-neutral-0);
  padding: 22px;
  box-shadow: 8px 8px 0 rgba(0,0,0,0.05);
  min-height: 250px;
}
.about-locations[data-scheme="dark"] .location-card {
  border: 1px solid var(--color-neutral-200);
  background: var(--color-neutral-100);
  color: var(--color-text);
}
.location-card .location-img {
  width: 100%;
  max-width: 400px;
  height: auto;
  border-radius: 12px;
  margin: 0 auto 16px;
  display: block;
  box-shadow: var(--shadow-sm);
}
.location-card h3 { margin: 0 0 16px; font-family: var(--font-brand); color: var(--color-secondary); text-align: center; font-size: 24px; }
.about-locations[data-scheme="dark"] .location-card h3 { color: var(--color-text); }
.location-card p {
  margin: 0 0 12px;
  line-height: 1.6;
  text-align: left;
  color: var(--color-text);
  position: relative;
  padding-left: 20px;
}
.location-card p::before {
  content: "\25B6";
  position: absolute;
  left: 0;
  top: 0.1em;
  color: var(--color-primary);
  font-weight: bold;
  font-size: 14px;
}
.about-locations[data-scheme="dark"] .location-card p { color: #ffffff; }
@media (max-width: 900px) {
  .location-layout { grid-template-columns: 1fr; }
}

/* ── Contact ── */
.contact-hero { padding: 24px 0 16px; }
.contact-hero h1 {
  margin: 0 0 16px;
  font-family: var(--font-brand);
  color: var(--color-secondary);
  font-size: clamp(32px, 4.5vw, 48px);
  text-align: center;
}
.contact-form-section { max-width: var(--container-max); margin: 0 auto; }
.contact-form-section h2 {
  margin: 0 0 8px;
  font-family: var(--font-brand);
  color: var(--color-secondary);
  font-size: 32px;
  text-align: center;
}
.contact-form-section > p {
  margin: 0 0 24px;
  color: var(--color-text-muted);
  text-align: center;
  font-size: 20px;
}
.contact-form {
  display: grid;
  gap: 20px;
  background: var(--color-neutral-0);
  border: 1px solid var(--color-neutral-100);
  border-radius: 16px;
  padding: 24px;
  box-shadow: 8px 8px 0 rgba(0,0,0,0.05);
  max-width: 800px;
  margin: 0 auto;
}
.form-field { display: grid; gap: 8px; }
.form-field label { font-weight: 600; color: var(--color-text); font-size: 14px; }
.field-error { color: #dc2626; font-weight: 500; font-size: 13px; }
.form-field input,
.form-field textarea,
.form-field select {
  padding: 12px 16px;
  border: 1px solid var(--color-neutral-200);
  border-radius: 8px;
  background: var(--color-neutral-0);
  color: var(--color-text);
  font-family: inherit;
  font-size: 16px;
  transition: border-color 200ms ease, box-shadow 200ms ease;
}
.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(37,99,235,0.1);
}
.form-field textarea { min-height: 120px; resize: vertical; }
.form-button-row { display: flex; gap: 12px; justify-content: flex-start; }
.contact-form .submit-button {
  background: var(--color-primary);
  color: white;
  border: none;
  padding: 14px 24px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  transition: background 200ms ease, transform 120ms ease;
  flex: 1;
}
.contact-form .submit-button:hover { filter: brightness(0.9); transform: translateY(-1px); }
.contact-form .submit-button:active { transform: translateY(0); }
.contact-form .clear-button {
  background: transparent;
  color: var(--color-text);
  border: 2px solid var(--color-neutral-200);
  padding: 14px 24px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  transition: all 200ms ease;
  flex: 1;
}
.contact-form .clear-button:hover { background: var(--color-neutral-100); border-color: var(--color-neutral-300); }
.form-notice { margin-top: 16px; padding: 12px; border-radius: 8px; font-size: 14px; display: none; }
.form-notice.success { background: rgba(34,197,94,0.1); border: 1px solid rgba(34,197,94,0.2); color: #16a34a; display: block; }
.form-notice.error { background: rgba(239,68,68,0.1); border: 1px solid rgba(239,68,68,0.2); color: #dc2626; display: block; }

/* ── Footer ── */
.site-footer {
  position: relative;
  background: var(--color-background);
  color: var(--color-text);
  margin-top: 0;
}
.site-footer::before { content: none; display: none; }
.site-footer .inner {
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  gap: 24px;
  padding: 40px 0;
  align-items: center;
}
.footer-col h4 { margin: 0 0 10px 0; font-size: 16px; font-weight: 700; }
.footer-list { list-style: none; margin: 0; padding: 0; }
.footer-list li { margin: 6px 0; }
.footer-list a { color: var(--color-text); text-decoration: none; }
.footer-list a:hover { text-decoration: underline; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.12); padding: 16px 0; font-size: 14px; color: var(--color-text-muted); }
.footer-tagline { display: flex; align-items: center; justify-content: center; text-align: center; }
.footer-tagline-text {
  font-family: 'Marcellus SC', serif;
  font-size: 28px;
  color: var(--color-text);
  opacity: 0.7;
  transition: all 0.8s ease;
  text-shadow: 0 0 0 transparent;
}
.footer-tagline-text.light-up {
  opacity: 1;
  color: #ffffff;
  text-shadow: 0 0 5px rgba(255,255,255,0.8), 0 0 10px rgba(255,255,255,0.6), 0 0 15px rgba(255,255,255,0.4), 0 0 20px rgba(255,255,255,0.2);
  animation: flash-light 1.2s ease-out;
}
@keyframes flash-light {
  0% { text-shadow: 0 0 0 transparent; opacity: 0.7; }
  30% { text-shadow: 0 0 10px rgba(255,255,255,1), 0 0 20px rgba(255,255,255,0.8), 0 0 30px rgba(255,255,255,0.6); opacity: 1; }
  100% { text-shadow: 0 0 5px rgba(255,255,255,0.8), 0 0 10px rgba(255,255,255,0.6), 0 0 15px rgba(255,255,255,0.4), 0 0 20px rgba(255,255,255,0.2); opacity: 1; }
}
.footer-contact { justify-self: end; text-align: right; }
.footer-contact .footer-socials { justify-content: flex-end; }
.footer-bottom .row { display: grid; grid-template-columns: 1fr 1fr 1fr; align-items: center; }
.footer-bottom .copy { text-align: left; }
.footer-bottom .policy { text-align: center; }
.footer-bottom .terms { text-align: right; }
.footer-bottom a { color: var(--color-text); text-decoration: none; }
.footer-bottom a:hover { text-decoration: underline; }
.footer-brand { display: flex; align-items: flex-start; }
.footer-brand .footer-logo { width: 200px; max-width: 100%; height: auto; display: block; opacity: 0.95; }
.footer-socials { margin-top: 12px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.footer-socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 50%;
  transition: all 300ms ease;
}
.footer-socials a:hover {
  border-color: rgba(255,255,255,0.4);
  box-shadow: 0 0 10px rgba(255,255,255,0.3), 0 0 20px rgba(255,255,255,0.2), 0 0 30px rgba(255,255,255,0.1);
  transform: translateY(-2px);
}
.footer-socials img { width: 18px; height: 18px; display: block; filter: brightness(1.1) contrast(1.05); }

.site-footer .to-top {
  position: absolute;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  width: 48px; height: 48px;
  border-radius: 50%;
  border: none;
  background: var(--color-primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
}
.site-footer .to-top svg { width: 22px; height: 22px; }

/* ── Modals ── */
.modal-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.6); display: flex; align-items: center; justify-content: center; z-index: 1000; opacity: 0; pointer-events: none; transition: opacity 200ms ease; }
.modal-overlay.open { opacity: 1; pointer-events: auto; }
.modal { background: var(--color-neutral-0); color: var(--color-text); width: min(720px, calc(100% - 40px)); max-height: calc(100% - 80px); border-radius: 12px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; }
.modal-header { padding: 16px 20px; border-bottom: 1px solid var(--color-neutral-100); font-weight: 700; }
.modal-content { padding: 16px 20px; overflow: auto; line-height: 1.6; }
.modal-actions { padding: 16px 20px; border-top: 1px solid var(--color-neutral-100); display: flex; justify-content: flex-end; gap: 8px; }
.button.ghost { background: transparent; color: var(--color-text); border: 1px solid var(--color-neutral-100); }

@media (max-width: 900px) {
  .site-footer .inner { grid-template-columns: 1fr; text-align: center; gap: 32px; }
  .footer-brand .footer-logo { width: 160px; }
  .footer-brand { justify-content: center; }
  .footer-contact { justify-self: center; text-align: center; }
  .footer-contact .footer-socials { justify-content: center; }
  .footer-tagline-text { font-size: 16px; }
  .footer-bottom .row { grid-template-columns: 1fr; gap: 8px; }
  .footer-bottom .copy, .footer-bottom .policy, .footer-bottom .terms { text-align: center; }
}

/* ── Encrypted contact placeholders ── */
.cnb-encrypted { cursor: pointer; }
.cnb-encrypted[data-decoded="false"] { opacity: 0.6; }

/* ── Team Profile Edit (frontend) ── */
.cnb-profile-form { max-width: 800px; margin: 40px auto; }
.cnb-profile-form .form-field { margin-bottom: 16px; }
.cnb-profile-form .form-field label { display: block; margin-bottom: 4px; font-weight: 600; }
.cnb-profile-form .form-field input,
.cnb-profile-form .form-field textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--color-neutral-200);
  border-radius: 8px;
  font-family: inherit;
  font-size: 15px;
}
.cnb-profile-notice { padding: 12px; border-radius: 8px; margin-bottom: 16px; }
.cnb-profile-notice.success { background: rgba(34,197,94,0.1); color: #16a34a; }
.cnb-profile-notice.error { background: rgba(239,68,68,0.1); color: #dc2626; }
