:root {
  --navy: #1a3060;
  --navy-deep: #1a3060;
  --navy-mid: #1a3060;
  --navy-soft: #e8edf5;
  --navy-rgb: 26, 48, 96;
  --orange: #e37725;
  --orange-deep: #c45e14;
  --orange-soft: #fde8d4;
  --cream: #f6f3ec;
  --paper: #fffdf8;
  --ink: #1b2433;
  --muted: #5b6576;
  --line: #d8deea;
  --danger: #9b1c1c;
  --danger-soft: #fde8e8;
  --ok: #1f6b3a;
  --ok-soft: #e5f5ea;
  --shadow: 0 16px 40px rgba(26, 48, 96, 0.1);
  --radius: 18px;
  --max: 1120px;
  --header: 76px;
  --font: "Source Sans 3", "Segoe UI", sans-serif;
  --serif: "Source Serif 4", Georgia, serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 0.95rem;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  min-height: 100vh;
}

main {
  font-family: var(--serif);
  font-size: 0.95rem;
}

main .members-3d-nav,
main .nav-toggle,
main .header-search {
  font-family: var(--font);
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--navy);
}

a:hover {
  color: var(--orange);
}

h1,
h2,
h3,
.serif {
  font-family: var(--serif);
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.2;
}

h1 {
  font-size: clamp(1.7rem, 2.8vw, 2.35rem);
}

h2 {
  font-size: clamp(1.35rem, 2.2vw, 1.75rem);
}

h3 {
  font-size: clamp(1.1rem, 1.6vw, 1.3rem);
}

.skip {
  position: absolute;
  left: 12px;
  top: -40px;
  background: var(--orange);
  color: #fff;
  padding: 8px 12px;
  z-index: 100;
}

.skip:focus {
  top: 12px;
}

.container {
  width: min(calc(100% - 32px), var(--max));
  margin-inline: auto;
}

.site-header {
  --header-intensity: 0;
  --accent-boost: 0;
  position: sticky;
  top: 0;
  z-index: 40;
  isolation: isolate;
  background:
    linear-gradient(
      115deg,
      rgba(26, 48, 96, calc(0.94 * var(--header-intensity) + 0.08 * var(--accent-boost))) 0%,
      rgba(26, 48, 96, calc(0.88 * var(--header-intensity) + 0.1 * var(--accent-boost))) 42%,
      rgba(227, 119, 37, calc(0.92 * var(--header-intensity) + 0.12 * var(--accent-boost))) 100%
    ),
    rgba(255, 253, 248, 0.96);
  background-size: 180% 180%;
  backdrop-filter: blur(16px);
  border-bottom: 1px solid color-mix(in srgb, var(--line) 70%, transparent);
  border-top: 4px solid var(--orange);
  box-shadow:
    0 0 calc(28px * var(--accent-boost)) rgba(227, 119, 37, calc(0.35 * var(--accent-boost))),
    0 10px 30px rgba(26, 48, 96, calc(0.12 * var(--header-intensity)));
  transition:
    background 0.35s ease,
    box-shadow 0.35s ease,
    border-color 0.35s ease;
}

.site-header::before {
  content: "";
  position: absolute;
  inset: 4px 0 0;
  pointer-events: none;
  opacity: calc(0.35 * var(--header-intensity) + 0.25 * var(--accent-boost));
  background:
    radial-gradient(circle at 18% 40%, rgba(255, 255, 255, 0.28), transparent 28%),
    radial-gradient(circle at 82% 30%, rgba(227, 119, 37, 0.45), transparent 32%),
    linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.18), transparent);
  background-size: 100% 100%, 100% 100%, 220% 100%;
  mix-blend-mode: soft-light;
  transition: opacity 0.35s ease;
}

.site-header:hover,
.site-header:focus-within {
  --header-intensity: 1;
  border-bottom-color: rgba(255, 255, 255, 0.18);
  animation: header-sheen 4.5s ease-in-out infinite;
}

.site-header:hover:has(.header-search:hover),
.site-header:hover:has(.header-search:focus-within),
.site-header:focus-within:has(.header-search:focus-within),
.site-header:hover:has(.site-nav a:hover),
.site-header:hover:has(.nav-toggle:hover),
.site-header:hover:has(.nav-toggle:focus-visible) {
  --accent-boost: 1;
}

@keyframes header-sheen {
  0%,
  100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

.header-top,
.nav-bar {
  position: relative;
  z-index: 1;
  transition: background 0.35s ease, border-color 0.35s ease;
}

.header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 72px;
}

.brand {
  margin-right: auto;
  border-radius: 12px;
  padding: 4px 6px;
  background: rgba(255, 255, 255, calc(0.92 * var(--header-intensity)));
  box-shadow: 0 0 calc(18px * var(--header-intensity)) rgba(255, 255, 255, calc(0.25 * var(--header-intensity)));
  transition: background 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

.brand:hover {
  transform: translateY(-1px) scale(1.02);
}

.brand img {
  display: block;
  width: 156px;
  height: auto;
}

.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;
}

.header-search {
  position: relative;
  display: flex;
  align-items: center;
  flex: 0 1 320px;
  min-width: 180px;
  max-width: 320px;
  margin-left: auto;
  transition: transform 0.25s ease;
}

.header-search:hover,
.header-search:focus-within {
  transform: translateY(-1px);
}

.header-search input[type="search"] {
  width: 100%;
  min-height: 42px;
  padding-right: 42px;
  border-radius: 999px;
  border-color: color-mix(in srgb, var(--line) 80%, transparent);
  box-shadow: 0 0 0 rgba(227, 119, 37, 0);
  transition:
    border-color 0.25s ease,
    box-shadow 0.25s ease,
    background 0.25s ease,
    transform 0.25s ease;
}

.site-header:hover .header-search input[type="search"],
.site-header:focus-within .header-search input[type="search"] {
  border-color: rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.96);
}

.header-search:hover input[type="search"],
.header-search:focus-within input[type="search"] {
  border-color: var(--orange);
  box-shadow:
    0 0 0 3px rgba(227, 119, 37, 0.22),
    0 0 22px rgba(26, 48, 96, 0.18);
}

.header-search button {
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.header-search button:hover,
.header-search:focus-within button {
  background: var(--orange);
  box-shadow: 0 0 16px rgba(227, 119, 37, 0.55);
  transform: translateY(-50%) scale(1.06);
}

.search-suggest {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  left: 0;
  min-width: 280px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow);
  padding: 8px;
  z-index: 50;
}

.search-hit {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 10px;
  text-decoration: none;
  color: inherit;
}

.search-hit:hover,
.search-hit.is-active {
  background: var(--navy-soft);
  color: inherit;
}

.search-hit strong {
  font-size: 0.92rem;
}

.search-empty {
  margin: 8px;
  color: var(--muted);
}

.search-group .search-hit {
  background: var(--paper);
  border: 1px solid var(--line);
  margin-bottom: 8px;
}

input[type="search"] {
  -webkit-appearance: none;
  appearance: none;
}

.nav-bar {
  border-top: 1px solid var(--line);
  transition: border-color 0.35s ease;
}

.site-header:hover .nav-bar,
.site-header:focus-within .nav-bar {
  border-top-color: rgba(255, 255, 255, 0.22);
}

.nav-bar-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  padding: 8px 0 12px;
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-inline: auto;
  border: 1px solid var(--navy);
  background: var(--navy);
  color: #fff;
  border-radius: 12px;
  min-height: 44px;
  min-width: 160px;
  padding: 0 18px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  transition:
    background 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.25s ease,
    transform 0.25s ease;
}

.nav-toggle-bars {
  position: relative;
  display: block;
  width: 18px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: background 0.2s ease;
}

.nav-toggle-bars::before,
.nav-toggle-bars::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.25s ease, top 0.25s ease;
}

.nav-toggle-bars::before {
  top: -6px;
}

.nav-toggle-bars::after {
  top: 6px;
}

.nav-toggle.is-open,
.nav-toggle[aria-expanded="true"] {
  background: var(--orange);
  border-color: var(--orange);
}

.nav-toggle.is-open .nav-toggle-bars,
.nav-toggle[aria-expanded="true"] .nav-toggle-bars {
  background: transparent;
}

.nav-toggle.is-open .nav-toggle-bars::before,
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before {
  top: 0;
  transform: rotate(45deg);
}

.nav-toggle.is-open .nav-toggle-bars::after,
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after {
  top: 0;
  transform: rotate(-45deg);
}

.site-header:hover .nav-toggle,
.site-header:focus-within .nav-toggle {
  border-color: rgba(255, 255, 255, 0.55);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.2);
}

.nav-toggle:hover,
.nav-toggle:focus-visible {
  background: var(--orange);
  border-color: var(--orange);
  box-shadow: 0 0 20px rgba(227, 119, 37, 0.45);
  transform: translateY(-1px) scale(1.03);
}

.site-nav {
  display: flex;
  flex-wrap: nowrap;
  gap: 4px;
  width: 100%;
  overflow: hidden;
}

.site-nav a {
  text-decoration: none;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 600;
  padding: 8px 10px;
  border-radius: 10px;
  white-space: nowrap;
  flex: 0 0 auto;
  transition:
    color 0.25s ease,
    background 0.25s ease,
    box-shadow 0.25s ease,
    transform 0.25s ease;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--navy);
  background: var(--navy-soft);
}

.site-header:hover .site-nav a,
.site-header:focus-within .site-nav a {
  color: rgba(255, 255, 255, 0.92);
}

.site-header:hover .site-nav a[aria-current="page"],
.site-header:focus-within .site-nav a[aria-current="page"] {
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
}

.site-header:hover .site-nav a:hover,
.site-header:hover .site-nav a:focus-visible,
.site-header:focus-within .site-nav a:hover,
.site-header:focus-within .site-nav a:focus-visible {
  color: #fff;
  background: rgba(255, 255, 255, 0.2);
  box-shadow: 0 0 18px rgba(227, 119, 37, 0.35);
  transform: translateY(-1px);
}

/* Keep dropdown readable on mobile even while header gradient is active */
@media (max-width: 1100px) {
  .site-header:hover .site-nav,
  .site-header:focus-within .site-nav {
    background: #fff;
  }

  .site-header:hover .site-nav a,
  .site-header:focus-within .site-nav a,
  .site-header:hover .site-nav a[aria-current="page"],
  .site-header:focus-within .site-nav a[aria-current="page"] {
    color: var(--navy);
  }

  .site-header:hover .site-nav a:hover,
  .site-header:hover .site-nav a:focus-visible,
  .site-header:focus-within .site-nav a:hover,
  .site-header:focus-within .site-nav a:focus-visible {
    color: var(--navy);
    background: var(--navy-soft);
    box-shadow: 0 0 14px rgba(227, 119, 37, 0.2);
  }
}

/* Compact: hamburger bar below logo/search */
@media (max-width: 1100px) {
  .nav-bar-inner {
    flex-direction: column;
    justify-content: center;
    padding: 10px 0 14px;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    display: none;
    flex-direction: column;
    align-items: stretch;
    width: min(100%, 420px);
    margin-inline: auto;
    margin-top: 10px;
    padding: 10px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 16px;
    box-shadow: var(--shadow);
    overflow: visible;
    text-align: center;
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    display: block;
    width: 100%;
    padding: 12px 14px;
    text-align: center;
  }
}

.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 85% 10%, rgba(227, 119, 37, 0.22), transparent 28%),
    linear-gradient(135deg, #142548, var(--navy) 50%, #1f3a6e);
  color: #fff;
  min-height: clamp(420px, 62vh, 620px);
}

.hero-hover-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(26, 48, 96, 0.78) 0%, rgba(26, 48, 96, 0.58) 45%, rgba(26, 48, 96, 0.35) 100%),
    url("../assets/images/hero-hover.png") center / cover no-repeat;
  opacity: 0;
  clip-path: inset(0 100% 0 0);
  transition:
    opacity 0.45s ease,
    clip-path 0.75s cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
  z-index: 0;
}

.hero:hover .hero-hover-bg,
.hero:focus-within .hero-hover-bg {
  opacity: 0.55;
  clip-path: inset(0 0 0 0);
}

.hero-carousel {
  position: relative;
  z-index: 1;
  display: grid;
  align-content: center;
  min-height: inherit;
  padding: 64px 0 56px;
}

.hero-track {
  position: relative;
  min-height: 280px;
}

.hero-slide {
  position: absolute;
  inset: 0 auto auto 0;
  width: min(100%, 720px);
  opacity: 0;
  visibility: hidden;
  transform: translateX(28px);
  transition: opacity 0.45s ease, transform 0.45s ease, visibility 0.45s ease;
  pointer-events: none;
}

.hero-slide[data-slide="1"] {
  left: auto;
  right: 0;
  text-align: right;
  margin-left: auto;
  transform: translateX(-28px);
}

.hero-slide[data-slide="1"] .actions {
  justify-content: flex-end;
}

.hero-slide[data-slide="1"] h1,
.hero-slide[data-slide="1"] p {
  margin-left: auto;
}

.hero-slide.is-active {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
  pointer-events: auto;
  position: relative;
}

.hero-slide[data-slide="1"].is-active {
  position: relative;
  margin-left: auto;
}

.kicker {
  margin: 0 0 12px;
  color: var(--orange);
  font-family: var(--serif);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  font-size: clamp(1.85rem, 4vw, 2.75rem);
  font-weight: 600;
  max-width: 16ch;
}

.hero p,
.lede {
  max-width: 62ch;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.98rem;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 12px;
  border: 1px solid transparent;
  text-decoration: none;
  font-family: var(--serif);
  font-weight: 600;
  font-size: 0.875rem;
}

.btn-accent {
  background: var(--orange);
  color: #fff;
}

.btn-accent:hover {
  background: var(--orange-deep);
  color: #fff;
}

.btn-ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.28);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.btn-navy {
  background: var(--navy);
  color: #fff;
}

.btn-navy:hover {
  background: #142548;
  color: #fff;
}

.btn-outline {
  background: #fff;
  color: var(--navy);
  border-color: var(--line);
}

.hero-controls {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 36px;
}

.hero-arrow,
.hero-dot {
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  cursor: pointer;
}

.hero-arrow {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.hero-arrow:hover {
  background: var(--orange);
  border-color: var(--orange);
  transform: scale(1.05);
}

.hero-dots {
  display: flex;
  gap: 8px;
}

.hero-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  padding: 0;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.hero-dot.is-active,
.hero-dot:hover {
  background: var(--orange);
  border-color: var(--orange);
  transform: scale(1.15);
}

.stats-band {
  background: var(--cream);
  padding: 28px 0;
  margin-top: -28px;
  position: relative;
  z-index: 2;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.stat-tile {
  display: block;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 28px 24px;
  text-align: center;
  text-decoration: none;
  color: inherit;
  box-shadow: var(--shadow);
  cursor: pointer;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    background 0.3s ease,
    color 0.3s ease,
    border-color 0.3s ease;
}

.stat-icon {
  width: 54px;
  height: 54px;
  margin: 0 auto 14px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: var(--navy-soft);
  color: var(--navy);
  transition: background 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

.stat-tile strong {
  display: block;
  font-family: var(--serif);
  font-size: clamp(2.2rem, 4vw, 3rem);
  color: var(--orange);
  line-height: 1;
  margin-bottom: 8px;
  transition: color 0.3s ease;
}

.stat-tile > span {
  color: var(--muted);
  font-weight: 600;
  transition: color 0.3s ease;
}

.stat-tile:hover {
  transform: translateY(-8px) scale(1.02);
  border-color: var(--orange);
  box-shadow:
    0 20px 44px rgba(26, 48, 96, 0.18),
    0 0 0 1px rgba(227, 119, 37, 0.35);
}

.stat-tile:hover .stat-icon {
  background: rgba(227, 119, 37, 0.14);
  color: var(--orange);
  transform: scale(1.08) rotate(-6deg);
}

.stat-tile:hover strong {
  color: var(--navy);
}

.stat-tile:hover > span {
  color: var(--orange);
}

.page-hero {
  background: var(--navy);
  color: #fff;
  padding: 56px 0 48px;
}

.page-hero .kicker {
  color: var(--orange);
  font-size: 0.78rem;
  font-weight: 600;
}

.page-hero h1 {
  margin: 0 0 12px;
  font-family: var(--serif);
  font-size: clamp(1.75rem, 3vw, 2.45rem);
  font-weight: 600;
  max-width: 24ch;
  line-height: 1.2;
}

.page-hero p:not(.kicker) {
  color: rgba(255, 255, 255, 0.82);
  max-width: 68ch;
  font-size: 0.98rem;
  line-height: 1.55;
}

.section {
  padding: 72px 0;
}

.section-head {
  max-width: 680px;
  margin: 0 auto 40px;
  text-align: center;
}

.section-head h2 {
  margin: 0 0 10px;
  font-size: clamp(1.45rem, 2.4vw, 1.95rem);
  font-weight: 600;
}

.section-head p {
  font-size: 0.95rem;
}

.muted {
  color: var(--muted);
}

.alert {
  background: var(--danger-soft);
  border-bottom: 1px solid #f3c2c2;
}

.alert-inner {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: stretch;
  padding: 28px 0;
}

.alert-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  font-family: var(--serif);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #b91c1c;
}

.alert-kicker svg {
  flex: 0 0 auto;
  color: #b91c1c;
}

.alert-card {
  background: #fff;
  border: 1px solid #f0c8c8;
  border-radius: 16px;
  padding: 18px 20px;
  box-shadow: 0 8px 24px rgba(185, 28, 28, 0.06);
}

.alert h2 {
  margin: 0 0 8px;
  color: #b91c1c;
  font-size: 1.05rem;
  font-weight: 600;
}

.alert-card p {
  margin: 0;
  color: var(--ink);
  font-size: 0.95rem;
  line-height: 1.55;
}

.cards {
  display: grid;
  gap: 20px;
}

.cards-3 {
  grid-template-columns: repeat(3, 1fr);
}

.cards-2 {
  grid-template-columns: repeat(2, 1fr);
}

.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    border-color 0.3s ease;
}

.card h3 {
  margin: 14px 0 8px;
  transition: color 0.3s ease;
}

.card p {
  transition: color 0.3s ease;
}

.icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--navy-soft);
  color: var(--navy);
  transition: background 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

.card:hover {
  transform: translateY(-8px) scale(1.02);
  border-color: var(--orange);
  box-shadow:
    0 20px 44px rgba(26, 48, 96, 0.18),
    0 0 0 1px rgba(227, 119, 37, 0.35);
}

.card:hover .icon {
  background: rgba(227, 119, 37, 0.14);
  color: var(--orange);
  transform: scale(1.08) rotate(-6deg);
}

.card:hover h3 {
  color: var(--navy);
}

.card:hover p,
.card:hover .muted {
  color: var(--orange);
}

.members-showcase {
  overflow: visible;
}

.members-3d {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
}

.members-3d-stage {
  position: relative;
  height: 420px;
  perspective: 1600px;
  perspective-origin: 50% 45%;
  overflow: visible;
}

.members-3d-track {
  position: absolute;
  inset: 0;
  transform-style: preserve-3d;
  transform: translateY(45px) rotateX(var(--members-tilt, 16deg));
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.members-3d-sun {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(150px, 34vw);
  height: min(150px, 34vw);
  margin: 0;
  transform: translate(-50%, -50%) translateZ(0);
  transform-style: preserve-3d;
  z-index: 120;
  display: grid;
  place-items: center;
  pointer-events: none;
}

.members-3d-sun-glow {
  position: absolute;
  inset: -28%;
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(227, 119, 37, 0.55) 0%, rgba(227, 119, 37, 0.22) 32%, rgba(26, 48, 96, 0.18) 58%, transparent 72%);
  filter: blur(8px);
  animation: members-sun-pulse 2.8s ease-in-out infinite;
  z-index: 0;
}

.members-3d-sun img {
  position: relative;
  z-index: 1;
  width: 86%;
  height: 86%;
  object-fit: contain;
  border-radius: 50%;
  background: rgba(255, 253, 248, 0.96);
  padding: 10px;
  box-shadow:
    0 0 18px rgba(227, 119, 37, 0.85),
    0 0 42px rgba(227, 119, 37, 0.55),
    0 0 78px rgba(255, 196, 110, 0.45),
    0 0 110px rgba(26, 48, 96, 0.35),
    0 10px 28px rgba(26, 48, 96, 0.22);
  animation: members-sun-glow 2.8s ease-in-out infinite;
}

@keyframes members-sun-pulse {
  0%, 100% {
    transform: scale(1);
    opacity: 0.85;
  }
  50% {
    transform: scale(1.12);
    opacity: 1;
  }
}

@keyframes members-sun-glow {
  0%, 100% {
    box-shadow:
      0 0 16px rgba(227, 119, 37, 0.75),
      0 0 36px rgba(227, 119, 37, 0.45),
      0 0 70px rgba(255, 196, 110, 0.35),
      0 0 100px rgba(26, 48, 96, 0.28),
      0 10px 28px rgba(26, 48, 96, 0.2);
    filter: brightness(1.05);
  }
  50% {
    box-shadow:
      0 0 24px rgba(227, 119, 37, 1),
      0 0 52px rgba(227, 119, 37, 0.7),
      0 0 96px rgba(255, 210, 140, 0.55),
      0 0 130px rgba(26, 48, 96, 0.4),
      0 12px 32px rgba(26, 48, 96, 0.24);
    filter: brightness(1.18);
  }
}

.members-3d-card {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(168px, 42vw);
  height: 128px;
  border: 1px solid rgba(216, 222, 234, 0.95);
  border-radius: 18px;
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 255, 0.94));
  box-shadow:
    0 14px 30px rgba(26, 48, 96, 0.14),
    0 0 0 1px rgba(255, 255, 255, 0.6) inset;
  display: grid;
  place-items: center;
  padding: 16px 14px 20px;
  transform-style: preserve-3d;
  backface-visibility: visible;
  transition:
    transform 0.7s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.7s ease,
    box-shadow 0.7s ease,
    border-color 0.7s ease,
    filter 0.7s ease;
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
}

.members-3d-card.is-active {
  border-color: rgba(227, 119, 37, 0.55);
  box-shadow:
    0 22px 48px rgba(26, 48, 96, 0.26),
    0 0 0 1px rgba(227, 119, 37, 0.28),
    0 0 34px rgba(227, 119, 37, 0.16);
}

.members-3d-card img {
  max-width: 100%;
  max-height: 84px;
  width: auto;
  height: auto;
  object-fit: contain;
  pointer-events: none;
  filter: drop-shadow(0 6px 12px rgba(26, 48, 96, 0.12));
}

.members-3d-fallback {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  gap: 6px;
  text-align: center;
}

.members-3d-initials {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(145deg, var(--navy), #243a6b);
  box-shadow: 0 10px 18px rgba(26, 48, 96, 0.28);
}

.members-3d-fallback span {
  font-weight: 700;
  color: var(--navy);
  font-size: 0.78rem;
  line-height: 1.2;
}

.members-3d-floor {
  position: absolute;
  left: 8%;
  right: 8%;
  bottom: 18px;
  height: 70px;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(26, 48, 96, 0.18), transparent 70%);
  filter: blur(6px);
  pointer-events: none;
}

.members-3d-nav {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--navy);
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  z-index: 6;
}

.members-3d-nav:hover {
  background: var(--orange);
  border-color: var(--orange);
  color: #fff;
  transform: scale(1.06);
}

.members-3d-meta {
  text-align: center;
  margin-top: 4px;
}

.members-3d-caption {
  min-height: 1.5em;
  margin: 0 0 14px;
  font-weight: 600;
  color: var(--navy);
  font-size: 0.98rem;
  transition: opacity 0.25s ease;
}

.members-3d-dots {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
}

.members-3d-dots button {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  border: 0;
  padding: 0;
  background: color-mix(in srgb, var(--navy) 35%, #d5dbe8);
  cursor: pointer;
  transition: width 0.25s ease, background 0.25s ease;
}

.members-3d-dots button.is-active {
  width: 24px;
  background: var(--orange);
}

.members-panel {
  background: #fff;
  border-radius: 28px;
  padding: 28px;
  border: 1px solid var(--line);
}

.members-panel img {
  width: 100%;
  border-radius: 16px;
  background: var(--navy-soft);
}

@media (max-width: 720px) {
  .members-3d {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .members-3d-nav {
    position: absolute;
    top: 44%;
    z-index: 8;
  }

  .members-3d-prev {
    left: 0;
  }

  .members-3d-next {
    right: 0;
  }

  .members-3d-stage {
    height: 340px;
  }

  .members-3d-sun {
    width: min(112px, 30vw);
    height: min(112px, 30vw);
  }

  .members-3d-card {
    width: min(132px, 38vw);
    height: 108px;
    padding: 12px 10px 16px;
  }

  .members-3d-card img {
    max-height: 64px;
  }

  .members-3d-initials {
    width: 42px;
    height: 42px;
    font-size: 0.95rem;
    border-radius: 12px;
  }

  .members-3d-fallback span {
    font-size: 0.68rem;
  }
}

.cta-card {
  position: relative;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 220px;
  padding-right: 64px;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.cta-card-icon {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  color: var(--orange);
  transition: color 0.25s ease, transform 0.25s ease;
}

.cta-card-icon svg {
  width: 28px;
  height: 28px;
}

.cta-card:hover {
  transform: translateY(-3px);
  border-color: var(--orange);
  color: inherit;
}

.cta-card:hover .cta-card-icon {
  color: var(--navy);
  transform: scale(1.08);
}

.more {
  font-weight: 700;
  color: var(--navy);
}

.site-footer {
  position: relative;
  overflow: hidden;
  background-color: var(--navy);
  color: rgba(255, 255, 255, 0.78);
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image: url("../assets/images/footer-zimbabwe-dots.png");
  background-repeat: no-repeat;
  background-position: right center;
  background-size: min(336px, 37vw) auto;
  opacity: 0.45;
}

.site-footer > .container {
  position: relative;
  z-index: 1;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr 1.15fr 0.95fr;
  gap: 32px;
  padding: 52px 0;
}

.footer-brand {
  display: inline-block;
  background: #fff;
  border-radius: 12px;
  padding: 8px 10px;
  margin-bottom: 14px;
}

.footer-brand img {
  width: 150px;
}

.site-footer h2 {
  margin: 0 0 12px;
  font-family: Inter, "Segoe UI", sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--orange);
}

.footer-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 16px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.footer-contact {
  display: grid;
  gap: 10px;
}

.footer-contact-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: inherit;
  text-decoration: none;
}

.footer-contact-icon {
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
  color: var(--orange);
}

.footer-authorities {
  display: grid;
  gap: 12px;
}

.footer-authority {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
  font-size: 0.88rem;
  line-height: 1.3;
}

.footer-authority-logo {
  flex: 0 0 auto;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
}

.footer-authority-logo.is-wide {
  width: 58px;
  height: 24px;
}

.footer-authority-logo img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}

.footer-authority span {
  min-width: 0;
}

.footer-authority:hover {
  color: var(--orange);
}

.ext-link {
  color: inherit;
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: rgba(227, 119, 37, 0.55);
  text-underline-offset: 0.18em;
}

.ext-link:hover {
  color: var(--orange);
}

.authority-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.authority-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 20px 20px 18px;
  box-shadow: var(--shadow);
  text-decoration: none;
  color: inherit;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    border-color 0.3s ease;
}

.authority-card:hover {
  transform: translateY(-6px);
  border-color: var(--orange);
  box-shadow:
    0 20px 44px rgba(26, 48, 96, 0.18),
    0 0 0 1px rgba(227, 119, 37, 0.35);
}

.authority-card-kicker {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--orange);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.authority-card h3 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--navy);
}

.authority-card p {
  margin: 0;
  color: #4b5563;
  font-size: 0.9rem;
  line-height: 1.5;
  font-weight: 400;
}

.authority-card-go {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--navy);
  font-size: 0.88rem;
  font-weight: 600;
}

.authority-card:hover .authority-card-go {
  color: var(--orange);
}

.directory-note {
  margin: 0 0 18px;
  color: #4b5563;
  font-size: 0.92rem;
  line-height: 1.55;
}

.footer-bar {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 16px 0 22px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.55);
}

.prose {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 32px;
}

.content-with-aside {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(260px, 0.85fr);
  gap: 36px;
  align-items: start;
}

.content-main {
  min-width: 0;
}

.constitution-block {
  margin-bottom: 34px;
}

.constitution-block:last-child {
  margin-bottom: 0;
}

.constitution-block h2 {
  margin: 0 0 10px;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--navy);
}

.constitution-block p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.65;
  max-width: 68ch;
}

.constitution-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

.constitution-list li {
  position: relative;
  padding-left: 1.15rem;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.55;
}

.constitution-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--orange);
}

.content-aside {
  position: sticky;
  top: 158px;
}

.download-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 24px;
  box-shadow: var(--shadow);
}

.download-card-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--navy-soft);
  color: var(--navy);
  margin-bottom: 14px;
}

.download-card h2 {
  margin: 0 0 8px;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--navy);
}

.download-card p {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

.download-card .btn {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.prose h2 {
  margin-top: 0;
}

.prose ol,
.prose ul {
  padding-left: 1.2rem;
}

.article {
  padding: 22px 0;
  border-top: 1px solid var(--line);
}

.article:first-of-type {
  border-top: 0;
  padding-top: 0;
}

.steps {
  counter-reset: step;
  display: grid;
  gap: 16px;
}

.steps li {
  list-style: none;
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 14px;
  align-items: start;
}

.steps li::before {
  counter-increment: step;
  content: counter(step);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 600;
}

.check-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}

.check-list li {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 10px;
  align-items: start;
}

.check-list-icon {
  margin-top: 2px;
  color: var(--orange);
  flex: 0 0 auto;
}

.applicant-types {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.applicant-type {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
  padding: 14px 10px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
}

.applicant-type-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(227, 119, 37, 0.12);
  color: var(--orange);
}

.applicant-type span {
  font-size: 0.88rem;
  font-weight: 400;
  color: #4b5563;
}

.membership-page .card h2,
.membership-page .prose h2 {
  font-weight: 600;
  color: var(--navy);
}

.membership-page .card p,
.membership-page .card li,
.membership-page .prose p,
.membership-page .check-list span,
.membership-page .membership-step-title {
  color: #4b5563;
  font-weight: 400;
}

.membership-page .membership-step-title {
  display: block;
  margin-bottom: 4px;
  font-size: 0.98rem;
}

.membership-page .card:hover p,
.membership-page .card:hover li,
.membership-page .card:hover .check-list span,
.membership-page .card:hover .applicant-type span {
  color: #4b5563;
}

.membership-page .card:hover .applicant-type-icon {
  background: rgba(227, 119, 37, 0.16);
  color: var(--orange);
}

.membership-cta-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 28px;
}

.membership-cta-card {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 22px 22px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.membership-cta-download {
  background: var(--navy-soft);
}

.membership-cta-enquire {
  background: #fff;
}

.membership-cta-card h3 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--navy);
}

.membership-cta-card p {
  margin: 0;
  color: #4b5563;
  font-weight: 400;
  font-size: 0.95rem;
  line-height: 1.5;
}

.membership-cta-card .btn {
  margin-top: 8px;
  align-self: flex-start;
}

.membership-cta-contacts {
  display: grid;
  gap: 10px;
  margin-top: 8px;
}

.membership-cta-contacts a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--navy);
  text-decoration: none;
  font-weight: 400;
  font-size: 0.95rem;
}

.membership-cta-contacts a:hover {
  color: var(--orange);
}

.membership-cta-contacts svg {
  flex: 0 0 auto;
  color: var(--navy);
}

@media (max-width: 900px) {
  .membership-cta-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .applicant-types {
    grid-template-columns: 1fr 1fr;
  }
}

.flow {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.flow-item {
  background: #fff;
  color: #4b5563;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px 14px;
  text-align: center;
  box-shadow: var(--shadow);
  font-weight: 400;
  font-size: 0.92rem;
}

.flow-item strong {
  display: block;
  margin-bottom: 6px;
  color: var(--orange);
  font-size: 1.15rem;
  font-weight: 600;
}

.ethics-page .section-head p,
.ethics-page .card p,
.ethics-page .flow-item {
  color: #4b5563;
  font-weight: 400;
}

.ethics-page .card h3 {
  font-weight: 600;
  color: var(--navy);
}

.ethics-page .card:hover p,
.ethics-page .card:hover .muted {
  color: #4b5563;
}

.ethics-main {
  display: grid;
  gap: 28px;
}

.ethics-intro h2 {
  margin: 0 0 12px;
  font-size: clamp(1.45rem, 2.4vw, 1.85rem);
  font-weight: 600;
  color: var(--navy);
  line-height: 1.25;
}

.ethics-intro p {
  margin: 0;
  max-width: 52rem;
  color: #4b5563;
  font-size: 0.98rem;
  line-height: 1.65;
  font-weight: 400;
}

.ethics-pillars {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.ethics-pillar {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 22px 22px 20px;
  box-shadow: var(--shadow);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    border-color 0.3s ease;
}

.ethics-pillar:hover {
  transform: translateY(-8px) scale(1.02);
  border-color: var(--orange);
  box-shadow:
    0 20px 44px rgba(26, 48, 96, 0.18),
    0 0 0 1px rgba(227, 119, 37, 0.35);
}

.ethics-pillar-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  margin-bottom: 14px;
  background: rgba(26, 48, 96, 0.08);
  color: var(--navy);
  transition: background 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

.ethics-pillar:hover .ethics-pillar-icon {
  background: rgba(227, 119, 37, 0.14);
  color: var(--orange);
  transform: scale(1.08) rotate(-6deg);
}

.ethics-pillar h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--navy);
}

.ethics-pillar p {
  margin: 0;
  color: #4b5563;
  font-size: 0.92rem;
  line-height: 1.55;
  font-weight: 400;
}

.ethics-download {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 24px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(26, 48, 96, 0.04);
}

.ethics-download-copy {
  min-width: 0;
  flex: 1;
}

.ethics-download h3 {
  margin: 0 0 6px;
  font-size: 1.08rem;
  font-weight: 600;
  color: var(--navy);
}

.ethics-download p {
  margin: 0;
  color: #4b5563;
  font-size: 0.92rem;
  line-height: 1.55;
  font-weight: 400;
}

.ethics-download .btn {
  flex: 0 0 auto;
  white-space: nowrap;
}

@media (max-width: 900px) {
  .ethics-pillars {
    grid-template-columns: 1fr;
  }

  .ethics-download {
    flex-direction: column;
    align-items: stretch;
  }

  .ethics-download .btn {
    width: 100%;
    justify-content: center;
  }
}

.directory-toolbar {
  background: var(--navy-soft);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 16px 16px 12px;
  margin: 8px 0 20px;
}

.directory-toolbar .filters {
  margin: 0 0 10px;
}

.directory-toolbar .directory-meta {
  margin: 0;
}

.filters {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 12px;
  margin: 24px 0 12px;
  align-items: center;
  transition: grid-template-columns 0.2s ease;
}

.filters.has-clear {
  grid-template-columns: minmax(0, 1.55fr) minmax(0, 0.85fr) minmax(0, 0.85fr) auto;
  gap: 10px;
}

.filters.has-clear input[type="search"],
.filters.has-clear select {
  min-height: 42px;
  padding: 8px 10px;
  font-size: 0.92rem;
}

.filters.has-clear .filter-search input[type="search"] {
  padding-left: 40px;
}

.filters-clear {
  white-space: nowrap;
  min-height: 42px;
  padding: 0 14px;
}

.filters-clear[hidden] {
  display: none !important;
}

.filter-search {
  position: relative;
  display: block;
  min-width: 0;
  margin: 0;
}

.filter-search-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  color: var(--muted);
  pointer-events: none;
  z-index: 1;
}

.filter-search input[type="search"] {
  padding-left: 42px;
}

.filter-search:focus-within .filter-search-icon {
  color: var(--navy);
}

.members-filters {
  grid-template-columns: 1fr auto;
  align-items: center;
  margin-top: 0;
}

.members-filters .btn {
  white-space: nowrap;
  min-height: 42px;
}

.field,
select,
textarea,
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="search"] {
  width: 100%;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 12px;
  min-height: 42px;
  padding: 9px 12px;
  font-family: var(--serif);
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--ink);
}

textarea {
  min-height: 140px;
  resize: vertical;
}

label {
  display: block;
  font-family: var(--serif);
  font-weight: 600;
  font-size: 0.875rem;
  margin-bottom: 6px;
}

.table-wrap {
  overflow: auto;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 760px;
}

th,
td {
  text-align: left;
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

th {
  background: var(--navy-soft);
  color: var(--navy);
  font-family: var(--serif);
  font-size: 0.78rem;
  font-weight: 600;
}

tr:hover td {
  background: #fbf8f1;
}

.badge {
  display: inline-flex;
  border-radius: 999px;
  padding: 2px 8px;
  font-family: var(--serif);
  font-size: 0.68rem;
  font-weight: 600;
  background: var(--navy-soft);
  color: var(--navy);
}

.badge-orange {
  background: var(--orange-soft);
  color: var(--orange-deep);
}

.badge-ok {
  background: var(--ok-soft);
  color: var(--ok);
}

.directory-meta,
.pager {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin: 16px 0;
}

.directory-count-num {
  color: #000;
  font-weight: 700;
}

.outlet-city {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.outlet-city-icon {
  flex: 0 0 auto;
  color: var(--orange);
}

.pager button {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 10px;
  min-height: 38px;
  padding: 0 14px;
  font-family: var(--serif);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--navy);
}

.pager button:disabled {
  opacity: 0.4;
}

.form-grid {
  display: grid;
  gap: 16px;
}

.form-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.contact-page .card h2 {
  margin: 0 0 10px;
  font-weight: 600;
  color: var(--navy);
}

.contact-page .card > p {
  margin: 0 0 20px;
  color: #4b5563;
  font-weight: 400;
  font-size: 0.95rem;
  line-height: 1.55;
}

.contact-page .card:hover > p,
.contact-page .card:hover .contact-detail,
.contact-page .card:hover .contact-detail-label,
.contact-page .card:hover label {
  color: #4b5563;
}

.contact-page .card:hover .contact-detail-icon {
  background: rgba(227, 119, 37, 0.14);
  color: var(--orange);
}

.contact-details {
  display: grid;
  gap: 12px;
}

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  color: #4b5563;
  text-decoration: none;
  font-weight: 400;
  font-size: 0.92rem;
  line-height: 1.45;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

a.contact-detail:hover {
  border-color: rgba(227, 119, 37, 0.45);
  box-shadow: 0 8px 20px rgba(26, 48, 96, 0.08);
}

.contact-detail-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  background: rgba(26, 48, 96, 0.08);
  color: var(--navy);
  transition: background 0.25s ease, color 0.25s ease;
}

.contact-detail > div {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.contact-detail-label {
  font-size: 0.78rem;
  font-weight: 400;
  color: #6b7280;
  letter-spacing: 0.02em;
}

.contact-page label {
  font-weight: 400;
  color: #4b5563;
  font-size: 0.84rem;
}

.contact-page .form-grid {
  margin-top: 4px;
}

.contact-page .btn {
  justify-self: start;
}

.hp-field {
  position: absolute !important;
  left: -10000px !important;
  top: auto !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.input-icon {
  position: relative;
  display: block;
  min-width: 0;
}

.input-icon-mark {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  color: var(--muted);
  pointer-events: none;
  z-index: 1;
}

.input-icon input {
  padding-left: 42px;
}

.input-icon-textarea .input-icon-mark {
  top: 14px;
  transform: none;
}

.input-icon-textarea textarea {
  padding-left: 42px;
  padding-top: 12px;
}

.input-icon:focus-within .input-icon-mark {
  color: var(--navy);
}

.notice {
  padding: 14px 16px;
  border-radius: 12px;
  margin-bottom: 16px;
}

.notice-ok {
  background: var(--ok-soft);
  color: var(--ok);
}

.notice-err {
  background: var(--danger-soft);
  color: var(--danger);
}

.member-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.member-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 22px 20px;
}

.member-card-body {
  min-width: 0;
  flex: 1 1 auto;
}

.member-card-body h3 {
  margin: 0 0 6px;
}

.member-card-body .muted {
  margin: 0;
}

.member-card-logo {
  flex: 0 0 auto;
  width: 88px;
  height: 64px;
  display: grid;
  place-items: center;
}

.member-card-logo img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}

.empty {
  padding: 40px 16px;
  text-align: center;
  color: var(--muted);
}

@media (min-width: 860px) {
  .hero-slide h1 {
    max-width: 16ch;
  }
}

@media (max-width: 1140px) and (min-width: 1101px) {
  .site-nav a {
    padding: 8px 7px;
    font-size: 0.84rem;
  }

  .header-search {
    flex-basis: 240px;
    max-width: 240px;
  }

  .filters {
    grid-template-columns: 1fr 1fr;
  }

  .filters.has-clear {
    grid-template-columns: 1fr 1fr auto;
  }

  .filters input[type="search"] {
    grid-column: 1 / -1;
  }

  .filters .filter-search {
    grid-column: 1 / -1;
  }

  .filters-clear {
    grid-column: auto;
  }
}

@media (max-width: 1100px) {
  .footer-grid,
  .authority-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 900px) {
  .container {
    width: min(calc(100% - 24px), var(--max));
  }

  .cards-3,
  .cards-2,
  .footer-grid,
  .authority-grid,
  .flow,
  .filters,
  .form-2,
  .member-grid,
  .stats-grid,
  .content-with-aside {
    grid-template-columns: 1fr;
  }

  .filters.has-clear {
    grid-template-columns: 1fr auto;
  }

  .filters.has-clear input[type="search"],
  .filters.has-clear select {
    grid-column: 1 / -1;
  }

  .filters.has-clear .filter-search {
    grid-column: 1 / -1;
  }

  .filters.has-clear .filters-clear {
    grid-column: 1 / -1;
    width: 100%;
  }

  .content-aside {
    position: static;
  }

  .members-filters {
    grid-template-columns: 1fr auto;
  }

  .header-top {
    gap: 10px;
    min-height: 64px;
  }

  .brand img {
    width: 132px;
  }

  .header-search {
    flex: 1 1 auto;
    min-width: 0;
    max-width: 220px;
  }

  .header-search input[type="search"] {
    min-height: 40px;
    font-size: 0.9rem;
    padding-left: 12px;
  }

  .header-search button {
    width: 30px;
    height: 30px;
  }

  .search-suggest {
    left: auto;
    right: 0;
    width: min(300px, calc(100vw - 24px));
  }

  .hero {
    min-height: auto;
  }

  .hero-carousel {
    padding: 48px 0 40px;
  }

  .hero-track {
    min-height: 320px;
  }

  .stats-band {
    margin-top: 0;
    padding: 20px 0 8px;
  }

  .page-hero,
  .section {
    padding-top: 40px;
    padding-bottom: 40px;
  }

  .actions .btn {
    width: 100%;
  }

  .members-panel,
  .prose {
    padding: 18px;
  }

  .table-wrap table {
    min-width: 0;
  }

  .table-wrap thead {
    display: none;
  }

  .table-wrap tr {
    display: block;
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
  }

  .table-wrap td {
    display: grid;
    grid-template-columns: minmax(7rem, 38%) 1fr;
    gap: 10px;
    padding: 6px 14px;
    border: 0;
  }

  .table-wrap td::before {
    content: attr(data-label);
    font-weight: 700;
    color: var(--navy);
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 36px 0 28px;
    text-align: left;
    justify-items: stretch;
  }

  .footer-links {
    grid-template-columns: 1fr 1fr;
    justify-items: start;
    gap: 10px 20px;
  }

  .footer-contact,
  .footer-authorities {
    justify-items: start;
    width: 100%;
  }

  .footer-authority,
  .footer-contact-item {
    justify-content: flex-start;
  }

  .footer-bar,
  .directory-meta,
  .pager,
  .alert-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-bar {
    align-items: center;
    text-align: center;
    padding: 16px 0 22px;
    gap: 4px;
  }

  .pager {
    width: 100%;
  }

  .pager button {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .brand img {
    width: 112px;
  }

  .header-search {
    max-width: 150px;
    min-width: 0;
  }

  .header-search input[type="search"] {
    padding-right: 36px;
    font-size: 0.84rem;
  }

  .nav-toggle {
    width: 100%;
    max-width: 280px;
  }

  .hero h1,
  .section-head h2 {
    font-size: clamp(1.45rem, 6.5vw, 1.9rem);
  }

  .page-hero h1 {
    font-size: clamp(1.55rem, 7vw, 2.1rem);
  }

  .card,
  .cta-card {
    padding: 18px;
  }

  .table-wrap td {
    grid-template-columns: 1fr;
    gap: 2px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .site-header,
  .site-header:hover,
  .site-header:focus-within {
    animation: none;
  }

  .hero-hover-bg,
  .hero-slide,
  .stat-tile,
  .stat-icon {
    transition: none;
  }

  .members-3d-sun-glow,
  .members-3d-sun img {
    animation: none;
  }

  .cta-card,
  .nav-toggle,
  .brand,
  .header-search,
  .header-search button,
  .site-nav a {
    transition: none;
  }
}
