@import url('https://fonts.googleapis.com/css2?family=Marcellus+SC&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-text: #000000;
  --color-text-muted: #475569;

  /* Typography */
  --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;

  /* Layout */
  --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;
}

* { 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);
}

.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; /* accommodate larger brand */
  position: relative; /* decorative line sits behind this */
  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: auto; height: auto; 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; }
.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); }

.nav-links .call-tab { 
  margin-right: 24px; 
  margin-left: 0; 
  color: #ffffff !important;
}
.nav-links .call-tab .label,
.nav-links .call-tab .number {
  color: #ffffff !important;
}
.nav-links .button.primary {
  color: #ffffff !important;
}
.nav-links .nav-item { position: relative; }
.nav-links .nav-item > a { display: inline-block; }
.submenu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 240px;
  background: var(--color-neutral-0);
  color: var(--color-text);
  border: 1px solid var(--color-neutral-100);
  border-radius: 10px;
  box-shadow: var(--shadow-sm);
  padding: 14px 8px 8px;
  display: none;
  z-index: 200;
}
.nav-links .submenu a {
  display: block;
  color: var(--color-text) !important;
  text-decoration: none;
  padding: 8px 10px;
  border-radius: 8px;
}
.nav-links .submenu a:hover { background: var(--color-neutral-50); }
.nav-item.has-submenu:hover > .submenu,
.nav-item.has-submenu:focus-within > .submenu,
.nav-item.has-submenu.open > .submenu { display: block; }
.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; }

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

.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; }
  .nav-links .nav-item { width: 100%; }
  .nav-links .nav-item > a { color: var(--color-text); }
  .nav-links .submenu { position: static; border: none; box-shadow: none; padding: 0; display: none; background: transparent; }
  .header-rail { flex-direction: column; align-items: stretch; gap: 8px; }
  .call-tab { width: 100%; justify-content: center; }
  .nav-links .nav-item.has-submenu:focus-within > .submenu,
  .nav-links .nav-item.has-submenu:hover > .submenu { display: block; }
}

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

.nav-links .nav-logo {
  height: 40px;
  width: auto;
  display: block;
  opacity: 0.9;
  margin-left: 10px;
}

.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-banner .hero-banner-divider {
  position: absolute;
  left: 0; right: 0; bottom: 0;
}

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

main { margin-top: 0; padding-top: 0; }
.hero {
  padding: 48px 0 24px;
}
.hero .layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 489px;
  align-items: start;
  gap: 28px;
}
.hero .left { min-width: 0; display: grid; grid-template-columns: 1fr auto; gap: 20px; align-items: center; }
.hero .left-main { min-width: 0; }
.hero .left-cta { display: flex; align-items: center; justify-content: center; }
.hero .quotes-inline { grid-column: 1 / -1; }
.hero .media { display: flex; justify-content: center; }
.slideshow {
  position: relative;
  width: 489px;
  max-width: 100%;
  height: 275px;
  border-radius: 12px;
  overflow: hidden;
  background: var(--color-neutral-100);
  box-shadow: var(--shadow-sm);
}
.slideshow img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 600ms ease;
}
.slideshow img.show { opacity: 1; }
.hero h1 {
  margin: 0 0 16px 0;
  font-family: var(--font-brand);
  font-weight: 800;
  font-size: clamp(34px, 5vw, 56px);
  letter-spacing: 0.2px;
  color: var(--color-secondary);
}
.hero p.lead {
  margin: 0 0 16px 0;
  font-size: 18px;
  color: var(--color-text);
}
.checklist { list-style: none; padding: 0; margin: 0 0 20px 0; }
.checklist li { display: flex; align-items: flex-start; gap: 10px; margin: 8px 0; }
.checklist li::before {
  content: "\2713"; /* checkmark */
  color: var(--color-primary);
  font-weight: 800;
}
.hero .actions { display: flex; gap: 12px; align-items: center; }




.quotes-inline { margin-top: 16px; min-height: 52px; background: var(--color-neutral-50); border: 1px solid var(--color-neutral-100); border-radius: 12px; padding: 12px 14px; box-shadow: 8px 8px 0 rgba(0,0,0,0.06); }
.quotes-inline .quote-text { font-size: 16px; color: var(--color-text); }
.quotes-inline .quote-author { margin-top: 6px; color: var(--color-text-muted); font-size: 14px; }


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

.card { border: 1px solid var(--color-neutral-100); border-radius: 12px; padding: 16px; background: var(--color-neutral-50); box-shadow: 8px 8px 0 rgba(0,0,0,0.05); }
.card { cursor: pointer; transition: transform 140ms ease, box-shadow 140ms ease; outline: none; }
.card:hover { box-shadow: 10px 10px 0 rgba(0,0,0,0.06); }
.card:active { transform: translateY(2px); box-shadow: 6px 6px 0 rgba(0,0,0,0.05); }
.card:focus-visible { box-shadow: 0 0 0 3px rgba(37,99,235,0.35), 8px 8px 0 rgba(0,0,0,0.05); }
.card h3 { margin: 0 0 8px 0; font-size: 18px; color: var(--color-secondary); }
.card p { margin: 0; color: var(--color-text); }



.services-list { padding: 20px 0; }
.services-list .container { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.services-list .service-card {
  cursor: default;
  width: 100%;
  margin: 0;
}
.services-list .service-card h3,
.services-list .service-card p,
.services-list .service-card .checklist,
.services-list .service-card .actions { text-align: center; }
.services-list .service-card .checklist { display: inline-block; text-align: left; }
.services-list .service-card .actions { margin-top: 12px; }
.services-list .service-card .checklist { margin-top: 8px; }


.home-services-cards { padding: 28px 0 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(var(--home-card-hover-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%; } }

@media (max-width: 900px) {
  .services-list .container { grid-template-columns: 1fr; }
}


.service-detail { padding: 28px 0; }
.service-detail h1 { margin: 30px 0 30px 0; font-family: var(--font-brand); color: var(--color-secondary); font-size: clamp(26px, 4vw, 40px); text-align: center; }
.service-detail .lead { margin: 0 0 14px; font-size: 18px; color: var(--color-text); text-align: center; }
.service-detail .checklist { margin: 0 0 18px; }
.service-detail .service-img { display: block; width: min(720px, 100%); height: auto; border-radius: 12px; box-shadow: var(--shadow-sm); background: var(--color-neutral-100); margin: 0 auto; }
.service-detail .service-img + .service-img { margin-top: 14px; }
.service-detail .invis-table { width: min(720px, 100%); margin: 0 auto; }
.service-detail .invis-table.more-text { width: min(648px, 100%); } /* 10% less than 720px */
.service-detail .invis-table p { text-align: center; }
.service-detail .invis-table.more-text p { text-align: justify; text-justify: inter-word; }
.service-detail .invis-table p + p { margin-top: 14px; }
.service-detail .invis-table .checklist { margin: 40px auto 18px; padding-left: 128px; }


.about-hero { padding: 32px 0; }
.about-hero h1 { margin: 0 0 10px; font-family: var(--font-brand); color: var(--color-secondary); font-size: clamp(28px, 4.2vw, 44px); text-align: center; }
.about-hero .lead { text-align: center; }
.about-hero .fast-facts { margin: 14px auto 0; padding: 0; list-style: none; display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.about-hero .fast-facts li { background: var(--color-neutral-50); border: 1px solid var(--color-neutral-100); border-radius: 999px; padding: 6px 10px; font-size: 14px; }

.about-media { padding: 8px 0; }
.about-media .slideshow { 
  position: relative; 
  width: min(1280px, 100%); 
  margin: 0 auto; 
  min-height: 720px;
}
.about-media .about-img { 
  display: block; 
  width: 100%; 
  height: auto; 
  max-width: 1280px;
  border-radius: 12px; 
  box-shadow: var(--shadow-sm); 
  opacity: 0;
  transition: opacity 500ms ease;
}
.about-media .about-img:not(:first-child) { 
  position: absolute;
  top: 0;
  left: 0;
}
.about-media .about-img.show { opacity: 1; }

@media (max-width: 900px) {
  .about-media .slideshow { min-height: 0; }
}

.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-item.active:hover,
.origin-item[aria-selected="true"]:hover { background: var(--color-primary); filter: brightness(0.95); }
.origin-item.active:focus-visible,
.origin-item[aria-selected="true"]:focus-visible { outline: none; box-shadow: 0 0 0 3px rgba(0,0,0,0.08), 0 0 0 5px var(--color-primary); }
.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: "→";
  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;
}
.symbol-placeholder {
  color: var(--color-text-muted);
  font-size: 18px;
  font-weight: 500;
}
.symbol-placeholder small {
  font-size: 14px;
  opacity: 0.7;
}
.origin-symbol-image {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 8px;
}
.origin-card .placeholder { color: var(--color-text-muted); text-align: center; margin: 50px 0; }
@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;
  }
}

.about-bullets { padding: 24px 0; }
.about-bullets h2 { margin: 0 0 12px; font-family: var(--font-brand); color: var(--color-secondary); text-align: center; }
.about-bullets .bullets { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: 1fr; gap: 12px; }
.about-bullets .bullets li { 
  background: var(--color-neutral-50); 
  border: 1px solid var(--color-neutral-100); 
  border-radius: 12px; 
  padding: 10px 12px; 
  transition: transform 200ms ease, box-shadow 200ms ease, background-color 200ms ease, font-weight 200ms ease !important;
  cursor: pointer;
  transform-origin: center;
  text-align: center;
  font-weight: normal;
}
.about-bullets .bullets li:hover { 
  transform: scale(1.1) !important; 
  background: var(--color-neutral-0) !important; 
  box-shadow: 0 4px 12px rgba(0,0,0,0.1) !important; 
  z-index: 10;
  font-weight: bold !important;
}
@media (max-width: 900px) { .about-bullets .bullets { grid-template-columns: 1fr; } }


.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);
  /* Flash to lite mode on hover */
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  border-color: var(--color-primary);
  color: #000000;
}
.mvv-card:hover .mvv-title {
  color: #ffffff !important;
}
.mvv-card:hover .mvv-text,
.mvv-card:hover .mvv-bullets li {
  color: #ffffff !important;
}
.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: "•";
  color: var(--color-primary);
  font-weight: bold;
  position: absolute;
  left: 0;
}
@media (max-width: 900px) {
  .mvv-grid { grid-template-columns: 1fr; }
}

.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 .placeholder { color: var(--color-text-muted); text-align: center; margin: 50px 0; }
.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: "▶";
  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;
}
.photo-modal img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  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-left-column h2 { text-align: center; } 
  .team-item { font-size: 16px; } 
  .photo-modal-close {
    top: 10px;
    right: 10px;
  }
}

.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 .placeholder { color: var(--color-text-muted); text-align: center; margin: 50px 0; }
.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: "▶";
  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; grid-template-rows: auto auto; } 
  .location-panel { order: 2; }
  .location-left-column { order: 1; }
  .location-left-column h2 { text-align: center; } 
  .location-item { font-size: 16px; } 
}


.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-hero .lead { 
  text-align: center; 
  font-size: 18px; 
  color: var(--color-text-muted); 
  max-width: 600px; 
  margin: 0 auto; 
}

.contact-content { padding: 16px 0 32px; }

.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 { 
  background: var(--color-primary-dark, #1d4ed8); 
  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);
  transform: translateY(-1px);
}
.contact-form .clear-button:active {
  transform: translateY(0);
}

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

@media (max-width: 900px) { 
  .contact-hero { padding: 16px 0 12px; }
  .contact-content { padding: 12px 0 24px; }
  .contact-form-section h2 { font-size: 28px; }
  .contact-form-section > p { font-size: 18px; }
}

.why { padding: 28px 0; }
.why .container > h2 { margin-bottom: 12px; font-family: var(--font-brand); color: var(--color-secondary); text-align: center; }
.why-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.why-item { display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: center; border: 1px solid var(--color-neutral-100); border-radius: 12px; background: var(--color-neutral-0); padding: 12px; box-shadow: var(--shadow-sm); }
.icon-square {
  width: 100px; height: 100px; border-radius: 12px; background: var(--color-primary); display: flex; align-items: center; justify-content: center;
}
.icon-square img { width: 64px; height: 64px; object-fit: contain; filter: brightness(2) contrast(1.1); }
.why-text h3 { margin: 0 0 6px 0; font-size: 18px; color: var(--color-secondary); }
.why-text p { margin: 0; color: var(--color-text); }
@media (max-width: 900px) {
  .why-grid { grid-template-columns: 1fr; }
}


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




.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: calc(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; }
}


@media (max-width: 1000px) {
  .hero .layout { grid-template-columns: 1fr; }
  .slideshow { width: 100%; height: 240px; }
}


.hww { padding: 40px 0; }
.hww h2 { margin: 0 0 20px; font-family: var(--font-brand); color: var(--color-secondary); font-size: clamp(26px, 4vw, 40px); text-align: center; }
.hww-steps { display: grid; row-gap: 8px; column-gap: 32px; justify-content: center; align-items: start; }

.hww-steps { grid-auto-rows: min-content; }
.hww-icon { width: 160px; height: 160px; border-radius: 50%; background: var(--color-primary); display: flex; align-items: center; justify-content: center; box-shadow: 0 6px 20px rgba(37,99,235,0.25); margin: 0 auto; }
.hww-icon .img-wrap { width: 100px; height: 100px; border-radius: 50%; border: 4px solid #ffffff; display: flex; align-items: center; justify-content: center; }
.hww-icon .img-wrap img { width: 100px; height: 100px; object-fit: contain; display: block; }
.hww-title { margin: 8px 0 0; font-weight: 800; font-size: clamp(18px, 2.3vw, 28px); color: var(--color-secondary); text-align: center; }
.hww-sub { margin: 0; font-size: clamp(14px, 1.7vw, 16px); color: var(--color-text); line-height: 1.5; text-align: center; }
.hww-arrow { color: var(--color-text-muted); font-weight: 800; font-size: clamp(20px, 4vw, 40px); display: flex; align-items: center; justify-content: center; align-self: center; }

@media (max-width: 900px) {
  .hww-steps { gap: 18px; }
  .hww-icon { width: 120px; height: 120px; }
  .hww-icon .img-wrap { width: 88px; height: 88px; border-width: 3px; }
  .hww-icon .img-wrap img { width: 80px; height: 80px; }
}


.cta {
  padding: 36px 0 48px;
  text-align: center;
}
.cta h2 { margin: 0 0 8px; font-family: var(--font-brand); color: var(--color-secondary); font-size: clamp(22px, 3.5vw, 32px); }
.cta p { margin: 0 0 16px; color: var(--color-text); }


.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; /* brand | tagline | contact */
  gap: 24px;
  padding: 40px 0; /* normal padding; space is provided by footer margin */
  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; }


.footer-contact { 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; }


.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; }
@media (max-width: 900px) {
  .footer-bottom .row { grid-template-columns: 1fr; gap: 8px; }
  .footer-bottom .copy, .footer-bottom .policy, .footer-bottom .terms { text-align: center; }
}

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


.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.portrait {
  width: min(420px, calc(100% - 40px));
  background: var(--color-neutral-50);
  border: 1px solid var(--color-neutral-100);
  box-shadow: 8px 8px 0 rgba(0,0,0,0.06);
}
.modal.portrait .modal-header { display: block; font-family: var(--font-brand); color: var(--color-secondary); }
.modal.portrait .modal-actions { display: none; }
.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; }
}

