:root {
  --navy: #0e2242;
  --navy-2: #16345f;
  --teal: #16a39a;
  --teal-deep: #0e7d76;
  --gold: #e2b84a;
  --ink: #102033;
  --muted: #4d5b6b;
  --line: #d7e0ea;
  --paper: #ffffff;
  --wash: #eef4f8;
  --font: "Manrope", "Segoe UI", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--wash);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal-deep); }
a:hover { color: var(--navy); }

.skip {
  position: absolute;
  left: -999px;
  top: 8px;
  background: var(--navy);
  color: #fff;
  padding: 8px 12px;
  z-index: 20;
}
.skip:focus { left: 8px; }

.wrap {
  width: min(1100px, calc(100% - 40px));
  margin: 0 auto;
}

.gate {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 20px;
  background:
    radial-gradient(circle at 50% -10%, rgba(226, 184, 74, 0.28), transparent 34%),
    radial-gradient(circle at 80% 110%, rgba(22, 163, 154, 0.28), transparent 32%),
    linear-gradient(180deg, #08162c 0%, #12325a 55%, #0d4a4a 100%);
}
.gate-inner {
  width: min(680px, 100%);
  text-align: center;
  color: #f6f8fb;
}
.brand-mark {
  width: 120px;
  height: 120px;
  object-fit: contain;
  background: #fff;
  border-radius: 50%;
  padding: 10px;
  margin: 0 auto 22px;
  box-shadow: 0 0 0 8px rgba(226, 184, 74, 0.22), 0 18px 40px rgba(0, 0, 0, 0.28);
}
.eyebrow {
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 800;
  color: var(--gold);
  margin: 0 0 10px;
}
.gate h1 {
  font-size: clamp(38px, 6vw, 60px);
  line-height: 1.02;
  letter-spacing: -0.04em;
  margin: 0 0 16px;
  color: #fff;
}
.gate p.lead {
  font-size: 18px;
  max-width: 36rem;
  margin: 0 auto 22px;
  color: rgba(246, 248, 251, 0.82);
}
.pill-row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 28px;
}
.pill {
  border: 1px solid rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.08);
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 12px;
  font-weight: 700;
  color: #f3e7c0;
}

.form-card {
  width: 100%;
  max-width: 520px;
  margin: 0 auto;
  background: #fff;
  text-align: left;
  border-radius: 28px;
  padding: 28px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
}
.form-card h2 {
  margin: 0 0 6px;
  font-size: 26px;
  text-align: center;
  color: var(--navy);
}
.form-card .hint {
  color: var(--muted);
  margin: 0 0 20px;
  text-align: center;
}
label {
  display: block;
  font-size: 13px;
  font-weight: 800;
  margin: 0 0 6px;
  color: var(--navy);
}
input[type="text"],
input[type="email"],
input[type="tel"] {
  width: 100%;
  border: 2px solid #dbe4ee;
  border-radius: 14px;
  padding: 13px 14px;
  font: inherit;
  font-size: 16px;
  margin-bottom: 14px;
  background: #f7fbff;
}
input:focus {
  outline: none;
  border-color: var(--teal);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(22, 163, 154, 0.18);
}
.check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 14px;
  color: var(--muted);
  margin: 4px 0 16px;
}
.check input { margin-top: 4px; accent-color: var(--teal); }
.btn {
  appearance: none;
  border: 0;
  border-radius: 14px;
  padding: 15px 18px;
  font: inherit;
  font-size: 16px;
  font-weight: 800;
  cursor: pointer;
  background: linear-gradient(90deg, #0e7d76, #16a39a);
  color: #fff;
  width: 100%;
  box-shadow: 0 10px 22px rgba(14, 125, 118, 0.28);
}
.btn:hover { filter: brightness(1.05); }
.error {
  display: none;
  background: #fff1f1;
  color: #7a1d1d;
  border-radius: 12px;
  padding: 10px 12px;
  font-size: 14px;
  margin-bottom: 12px;
}
.fine {
  font-size: 13px;
  color: var(--muted);
  margin: 16px 0 0;
  text-align: center;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(14, 34, 66, 0.94);
  border-bottom: 3px solid var(--gold);
}
.topbar-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
  padding: 12px 0;
}
.brand-lockup {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: #fff;
  justify-self: start;
}
.brand-lockup img {
  width: 46px;
  height: 46px;
  background: #fff;
  border-radius: 50%;
  padding: 3px;
}
.brand-lockup strong { display: block; font-size: 14px; line-height: 1.25; }
.brand-lockup span { font-size: 12px; color: #e2b84a; }
.who {
  justify-self: end;
  font-size: 13px;
  color: #d7e6f5;
  text-align: right;
}

.hero-slim {
  padding: 40px 0 18px;
  text-align: center;
  background:
    radial-gradient(circle at 50% 0, rgba(22, 163, 154, 0.18), transparent 46%),
    #0e2242;
  color: #fff;
}
.hero-slim h1 {
  margin: 0 0 10px;
  font-size: clamp(30px, 4.4vw, 46px);
  letter-spacing: -0.04em;
}
.hero-slim p {
  margin: 0 auto;
  color: #d5e2ef;
  max-width: 42rem;
  font-size: 16px;
}

.directory-main { padding: 8px 0 56px; }
.notice {
  background: #fff8e6;
  border: 1px solid #efd48a;
  color: #5b470f;
  border-radius: 16px;
  padding: 16px 20px;
  margin: 24px auto 20px;
  font-size: 15px;
  max-width: 860px;
  text-align: center;
}
.callout {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 0 0 28px;
}
.call {
  background: #fff;
  border: 1px solid var(--line);
  border-top: 5px solid var(--teal);
  border-radius: 18px;
  padding: 18px;
  text-align: center;
  box-shadow: 0 10px 24px rgba(14, 34, 66, 0.06);
}
.call:nth-child(2) { border-top-color: var(--gold); }
.call:nth-child(3) { border-top-color: var(--navy); }
.call b { display: block; color: var(--navy); font-size: 14px; }
.call a {
  font-weight: 800;
  font-size: 24px;
  letter-spacing: -0.03em;
  text-decoration: none;
  color: var(--teal-deep);
  display: inline-block;
  margin: 4px 0;
}
.call span { display: block; font-size: 13px; color: var(--muted); }

.toolbar {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: center;
  margin: 0 0 14px;
}
.search {
  width: 100%;
  border: 2px solid #dbe4ee;
  border-radius: 14px;
  padding: 13px 16px;
  font: inherit;
  font-size: 16px;
  background: #fff;
}
.search:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 4px rgba(22, 163, 154, 0.16);
}
.cats {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 18px;
}
.cat {
  border: 0;
  background: #fff;
  color: var(--navy);
  border-radius: 999px;
  padding: 9px 13px;
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(14, 34, 66, 0.06);
}
.cat.active,
.cat:hover {
  background: var(--teal);
  color: #fff;
}

.section-title {
  grid-column: 1 / -1;
  margin: 22px 0 0;
  color: var(--navy);
  font-size: 22px;
}
.cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.card {
  background: var(--paper);
  border: 1px solid #e4edf4;
  border-radius: 20px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 100%;
  box-shadow: 0 8px 22px rgba(14, 34, 66, 0.05);
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 30px rgba(14, 34, 66, 0.1);
}
.card h3 {
  margin: 0;
  font-size: 18px;
  line-height: 1.3;
  color: var(--navy);
}
.card p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}
.meta { display: flex; flex-wrap: wrap; gap: 6px; }
.tag {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  border-radius: 999px;
  padding: 4px 8px;
  background: #d8f4f1;
  color: #0e7d76;
}
.tag.paid { background: #f8e7b8; color: #7a5a12; }
.tag.fl { background: #dce7fb; color: #1a3b74; }
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
  padding-top: 12px;
}
.actions a {
  text-decoration: none;
  font-weight: 800;
  font-size: 14px;
  background: #eef4f8;
  color: var(--navy);
  padding: 8px 12px;
  border-radius: 999px;
}
.actions a.web {
  background: var(--navy);
  color: #fff;
}
.actions a.retainer {
  background: var(--gold);
  color: #1a2b12;
}
.empty {
  display: none;
  text-align: center;
  color: var(--muted);
  padding: 48px 0;
}

footer {
  padding: 28px 0 48px;
  background: #0e2242;
  color: #c9d7e6;
  font-size: 14px;
  text-align: center;
}
footer .wrap { max-width: 760px; }
footer a { color: var(--gold); }

@media (max-width: 800px) {
  .topbar-inner {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }
  .brand-lockup { justify-content: center; }
  .who { justify-self: center; text-align: center; }
  .callout,
  .cards,
  .toolbar { grid-template-columns: 1fr; }
}
