/* Action Stand Network theme */

:root {
  --navy: #0a2a43;
  --navy-deep: #061b2c;
  --cyan: #1fb8ff;
  --cyan-dark: #0a8fc9;
  --white: #ffffff;
  --charcoal: #1c1c1c;
  --paper: #f4f8fb;
  --mist: #e4eef5;
  --muted: #4b5d6b;
  --radius: 12px;
  --shadow: 0 12px 40px rgba(10, 42, 67, 0.12);
  --header-h: 96px;
  --font-head: "Montserrat", system-ui, sans-serif;
  --font-body: "Inter", "Open Sans", system-ui, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--charcoal);
  background: var(--white);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
}

img,
svg {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--navy);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--cyan-dark);
}

:focus-visible {
  outline: 3px solid var(--cyan);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -40px;
  z-index: 1000;
  background: var(--navy);
  color: var(--white);
  padding: 0.5rem 0.85rem;
  border-radius: 8px;
}

.skip-link:focus {
  top: 1rem;
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.container {
  width: min(1120px, calc(100% - 2rem));
  margin-inline: auto;
}

.narrow {
  width: min(720px, 100%);
}

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--navy);
  line-height: 1.15;
  margin: 0 0 0.75rem;
}

h1 { font-size: clamp(2.1rem, 5vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 700; }
h3 { font-size: 1.15rem; font-weight: 700; }

p { margin: 0 0 1rem; }

.lede {
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  color: var(--muted);
  max-width: 40rem;
}

.eyebrow {
  display: inline-block;
  margin: 0 0 0.75rem;
  color: var(--cyan-dark);
  font-family: var(--font-head);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.prose-lg {
  font-size: 1.2rem;
  color: var(--muted);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.7rem 1.35rem;
  border: 2px solid transparent;
  border-radius: 10px;
  font-family: var(--font-head);
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover { transform: translateY(-1px); }

.btn-primary {
  background: var(--navy);
  color: var(--white);
}

.btn-primary:hover { background: var(--navy-deep); color: var(--white); }

.btn-cyan {
  background: var(--cyan);
  color: var(--navy);
}

.btn-cyan:hover { background: #4cc7ff; color: var(--navy); }

.btn-ghost,
.btn-ghost-light {
  background: transparent;
  border-color: var(--navy);
  color: var(--navy);
}

.btn-ghost-light {
  border-color: var(--white);
  color: var(--white);
}

.btn-ghost-light:hover { background: rgba(255,255,255,0.12); color: var(--white); }

.hero-actions,
.section-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,0.96);
  border-bottom: 1px solid var(--mist);
  backdrop-filter: blur(10px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  min-width: 0;
}

.brand-logo {
  height: 68px;
  width: auto;
  display: block;
}

.site-footer .brand-logo {
  height: 44px;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.nav-toggle-bars,
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--navy);
  position: relative;
}

.nav-toggle-bars::before,
.nav-toggle-bars::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle-bars::before { top: -7px; }
.nav-toggle-bars::after { top: 7px; }

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.nav-list {
  display: flex;
  gap: 1.1rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-list a {
  font-family: var(--font-head);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--navy);
  text-decoration: none;
}

.nav-list a[aria-current="page"],
.nav-list a:hover {
  color: var(--cyan-dark);
}

.nav-item-has-children {
  position: relative;
}

.nav-sub {
  display: none;
  position: absolute;
  top: calc(100% + 0.4rem);
  left: 0;
  z-index: 20;
  min-width: 15.5rem;
  margin: 0;
  padding: 0.45rem 0;
  list-style: none;
  background: var(--white);
  border: 1px solid var(--mist);
  border-radius: 10px;
  box-shadow: var(--shadow);
}

.nav-item-has-children:hover .nav-sub,
.nav-item-has-children:focus-within .nav-sub {
  display: block;
}

.nav-sub a {
  display: block;
  padding: 0.55rem 1rem;
  font-size: 0.82rem;
}

.header-cta { min-height: 42px; padding: 0.45rem 1rem; font-size: 0.82rem; }

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  color: var(--navy);
  background: linear-gradient(160deg, #e7f3fa 0%, #d4f0fc 42%, #1fb8ff 100%);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 80% 20%, rgba(31,184,255,0.35), transparent 40%),
    linear-gradient(180deg, transparent, rgba(6,27,44,0.18));
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  align-items: center;
  padding: 4.5rem 0 4rem;
}

.hero h1,
.hero .eyebrow { color: var(--navy); }

.hero .lede { color: var(--charcoal); }

.hero-visual svg { width: min(100%, 460px); }

.page-hero {
  background: linear-gradient(120deg, #0a2a43, #14608c 70%, #1fb8ff);
  color: var(--white);
  padding: 3.5rem 0 3rem;
}

.page-hero h1,
.page-hero .lede,
.page-hero .eyebrow { color: var(--white); }

.page-hero .lede { color: rgba(255,255,255,0.9); }

.section { padding: 4.25rem 0; }
.section-alt { background: var(--paper); }

.section-intro { margin-bottom: 2rem; max-width: 40rem; }

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.card-grid-4 { grid-template-columns: repeat(4, 1fr); }

.feature-card {
  background: var(--white);
  border: 1px solid var(--mist);
  border-top: 4px solid var(--cyan);
  border-radius: var(--radius);
  padding: 1.4rem 1.3rem 1.5rem;
  box-shadow: var(--shadow);
}

.feature-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 0.85rem;
  color: var(--navy);
}

.feature-icon svg { width: 48px; height: 48px; }

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.step {
  background: var(--white);
  border: 1px solid var(--mist);
  border-radius: var(--radius);
  padding: 1.5rem;
}

.step-num,
.process-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.4rem;
  height: 2.4rem;
  margin-bottom: 0.8rem;
  border-radius: 999px;
  background: var(--navy);
  color: var(--white);
  font-family: var(--font-head);
  font-weight: 800;
}

.callout {
  background: var(--navy);
  color: var(--white);
  padding: 4rem 0;
}

.callout-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
}

.callout h2 { color: var(--white); max-width: 18ch; margin: 0; }

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
}

.panel {
  background: var(--paper);
  border-radius: 20px;
  padding: 1.5rem;
}

.check-list {
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding: 0.45rem 0 0.45rem 1.8rem;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7rem;
  width: 0.85rem;
  height: 0.85rem;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: inset 0 0 0 3px var(--navy);
}

.process {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}

.process-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.25rem;
  align-items: start;
  background: var(--white);
  border: 1px solid var(--mist);
  border-radius: var(--radius);
  padding: 1.4rem 1.5rem;
}

.process-num {
  width: 3rem;
  height: 3rem;
  margin: 0;
}

.map-placeholder {
  text-align: center;
  background: var(--paper);
  border: 1px dashed #b7c9d6;
  border-radius: 20px;
  padding: 2.5rem 1.5rem;
}

.map-art { max-width: 520px; margin: 0 auto 1.25rem; }

.contact-form,
.contact-aside {
  background: var(--white);
  border: 1px solid var(--mist);
  border-radius: var(--radius);
  padding: 1.5rem;
}

.contact-form label {
  display: block;
  margin-bottom: 0.35rem;
  font-family: var(--font-head);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--navy);
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  margin-bottom: 1rem;
  padding: 0.75rem 0.85rem;
  border: 1px solid #c5d4de;
  border-radius: 10px;
  font: inherit;
  color: var(--charcoal);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--cyan);
}

.hp {
  position: absolute;
  left: -9999px;
  height: 0;
  overflow: hidden;
}

.form-alert {
  padding: 0.9rem 1rem;
  border-radius: 10px;
  margin-bottom: 1rem;
}

.form-alert-success { background: #e8f8ef; color: #0b5c32; }
.form-alert-error { background: #fdecea; color: #8a1f11; }

.footer-cta {
  background: linear-gradient(90deg, var(--navy), #12557a);
  color: var(--white);
  padding: 2.5rem 0;
}

.footer-cta-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.footer-cta h2 { color: var(--white); margin: 0 0 0.3rem; max-width: 18ch; }
.footer-cta p { margin: 0; color: rgba(255,255,255,0.88); }
.footer-cta-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }

.site-footer {
  background: var(--charcoal);
  color: #d7d7d7;
  padding: 3rem 0 1.25rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.9fr;
  gap: 2rem;
}

.footer-heading {
  color: var(--white);
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-mission { color: #cfcfcf; max-width: 36ch; }

.footer-links,
.social-links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-links a,
.site-footer a {
  color: #e8e8e8;
  text-decoration: none;
}

.footer-links a:hover,
.site-footer a:hover { color: var(--cyan); }

.social-links {
  display: flex;
  gap: 0.6rem;
  margin-top: 0.5rem;
}

.social-links a {
  display: inline-flex;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border: 1px solid #444;
  border-radius: 999px;
}

.social-links svg { width: 18px; height: 18px; fill: currentColor; }

.footer-bottom {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid #333;
  font-size: 0.9rem;
}

.reveal {
  animation: fade-up 0.7s ease both;
}

@keyframes fade-up {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: none; }
}

@media (max-width: 900px) {
  .hero-grid,
  .split,
  .card-grid,
  .card-grid-4,
  .steps,
  .footer-grid,
  .callout-inner,
  .footer-cta-inner {
    grid-template-columns: 1fr;
    display: grid;
  }

  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }

  .site-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: var(--header-h);
    background: var(--white);
    border-bottom: 1px solid var(--mist);
    padding: 1rem 1.25rem 1.25rem;
    flex-direction: column;
    align-items: stretch;
  }

  .site-nav.is-open { display: flex; }

  .nav-list { flex-direction: column; gap: 0.75rem; }

  .nav-sub {
    display: block;
    position: static;
    min-width: 0;
    margin-top: 0.35rem;
    padding: 0 0 0 0.75rem;
    border: 0;
    box-shadow: none;
  }

  .header-inner { position: relative; }

  .hero-visual { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { animation: none; }
  .btn:hover { transform: none; }
}


.is-contact .footer-cta { display: none; }

.contact-form { position: relative; }

.page-hero .btn-primary {
  background: var(--white);
  color: var(--navy);
}

@media (min-width: 901px) {
  .site-header { position: sticky; }
}

.text-link {
  display: inline-block;
  margin-top: 0.6rem;
  font-family: var(--font-head);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--navy);
  text-decoration: none;
}

.text-link:hover { color: var(--cyan-dark); }

.audience-card .btn { margin-top: 0.75rem; }

.map-shell {
  background: var(--paper);
  border: 1px solid var(--mist);
  border-radius: 20px;
  overflow: hidden;
}

.map-toolbar {
  padding: 1rem 1rem 0;
}

.map-search input {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1px solid #c5d4de;
  border-radius: 10px;
  font: inherit;
  background: var(--white);
  color: var(--muted);
}

.map-stage {
  position: relative;
  min-height: 320px;
  padding: 1.5rem;
}

.map-stage .map-art {
  position: relative;
  max-width: 560px;
  margin: 0 auto;
  opacity: 0.55;
}

.map-pin {
  position: absolute;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 6px rgba(31, 184, 255, 0.25);
}

.map-pin-1 { top: 28%; left: 32%; }
.map-pin-2 { top: 46%; left: 58%; }
.map-pin-3 { top: 38%; left: 72%; }

.map-overlay {
  position: relative;
  max-width: 36rem;
  margin: 1rem auto 0;
  text-align: center;
}

.entry-content {
  min-width: 0;
}

.entry-content > * {
  max-width: none;
  margin-left: 0;
  margin-right: 0;
}

.entry-content .wp-block-html,
.entry-content .wp-block-shortcode {
  margin: 0;
}

.entry-content .wp-block-group {
  margin-top: 0;
  margin-bottom: 0;
}

.wp-block-group.hero-bg {
  min-height: 0;
}

.wp-block-group.process {
  display: grid;
  gap: 1.25rem;
}

.wp-block-group.feature-card .wp-block-heading {
  margin-top: 0;
}

.wp-block-group.hero-actions,
.entry-content .hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}
