*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --navy: #1e3a5f;
  --navy-dark: #152b47;
  --navy-mid: #2a4d7a;
  --teal: #0d7c59;
  --teal-light: #15a078;
  --teal-pale: #e8f5f0;
  --off-white: #f4f9f7;
  --text: #1a1a2e;
  --muted: #4a5568;
  --border: #d4e8df;
  --white: #ffffff;

  --font-display: "Barlow Condensed", system-ui, sans-serif;
  --font-body: "Barlow", system-ui, sans-serif;
  --max-w: 1100px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.75rem;
}

/* ── NAV ─────────────────────────────────────────────────── */

header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(21, 43, 71, 0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

nav {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.75rem;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  line-height: 1.2;
  gap: 0.1rem;
}

.logo-main {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.logo-sub {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--teal-light);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.25rem;
}

.nav-links a {
  text-decoration: none;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.875rem;
  font-weight: 500;
  transition: color 0.18s;
}

.nav-links a:hover {
  color: var(--white);
}

.btn-nav {
  background: var(--teal) !important;
  color: var(--white) !important;
  padding: 0.5rem 1.3rem !important;
  border-radius: 4px;
  letter-spacing: 0.02em;
  font-weight: 600 !important;
  transition: background 0.18s !important;
}

.btn-nav:hover {
  background: var(--teal-light) !important;
  color: var(--white) !important;
}

/* ── HERO ────────────────────────────────────────────────── */

.hero {
  position: relative;
  background: var(--navy);
  padding: 7.5rem 1.75rem 7rem;
  overflow: hidden;
}

/* Subtle grid lines overlay */
.hero-grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 60px 60px;
}

/* Teal accent shape — bottom-right corner */
.hero::after {
  content: "";
  position: absolute;
  bottom: -60px;
  right: -60px;
  width: 360px;
  height: 360px;
  background: var(--teal);
  opacity: 0.12;
  border-radius: 50%;
  filter: blur(80px);
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  background: rgba(13, 124, 89, 0.2);
  color: var(--teal-light);
  border: 1px solid rgba(13, 124, 89, 0.4);
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.35rem 0.9rem;
  border-radius: 100px;
  margin-bottom: 2rem;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 5.75rem);
  font-weight: 800;
  line-height: 1;
  color: var(--white);
  max-width: 780px;
  margin-bottom: 1.75rem;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

.hero h1 em {
  font-style: normal;
  color: var(--teal-light);
}

.hero-lead {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.65);
  max-width: 540px;
  margin-bottom: 2.75rem;
  line-height: 1.8;
  font-weight: 400;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  align-items: center;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-block;
  background: var(--teal);
  color: var(--white);
  padding: 0.875rem 2.25rem;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.03em;
  border: 2px solid var(--teal);
  transition:
    background 0.18s,
    transform 0.15s;
}

.btn-primary:hover {
  background: var(--teal-light);
  border-color: var(--teal-light);
  transform: translateY(-1px);
}

.btn-ghost {
  display: inline-block;
  color: rgba(255, 255, 255, 0.8);
  padding: 0.875rem 2.25rem;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  border: 2px solid rgba(255, 255, 255, 0.25);
  transition: all 0.18s;
}

.btn-ghost:hover {
  border-color: rgba(255, 255, 255, 0.6);
  color: var(--white);
}

/* ── MISSION ─────────────────────────────────────────────── */

.mission {
  padding: 6.5rem 1.75rem;
  background: var(--off-white);
}

.section-label-group {
  margin-bottom: 3.25rem;
}

.section-label {
  display: block;
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 0.6rem;
}

.section-label-group h2,
.about-text h2,
.contact-intro h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--navy);
  line-height: 1.1;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.card {
  padding: 2rem 1.75rem;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--white);
  position: relative;
  overflow: hidden;
  transition:
    box-shadow 0.2s,
    transform 0.2s;
}

.card::after {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: var(--teal);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.card:hover {
  box-shadow: 0 10px 40px rgba(13, 124, 89, 0.1);
  transform: translateY(-3px);
}

.card:hover::after {
  transform: scaleX(1);
}

.card-num {
  font-family: var(--font-display);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--teal);
  opacity: 0.6;
  margin-bottom: 1rem;
}

.card-icon {
  width: 36px;
  height: 36px;
  color: var(--teal);
  margin-bottom: 1.1rem;
}

.card-icon svg {
  width: 100%;
  height: 100%;
}

.card h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.75rem;
  line-height: 1.25;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.card p {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.75;
}

/* ── ABOUT ───────────────────────────────────────────────── */

.about {
  padding: 6.5rem 1.75rem;
  background: var(--white);
}

.about-grid {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 5rem;
  align-items: start;
}

.sidebar-card {
  background: var(--teal-pale);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 2rem 1.75rem;
}

dl {
  display: flex;
  flex-direction: column;
}

.dl-row {
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--border);
}

.dl-row:first-child {
  padding-top: 0;
}
.dl-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

dt {
  font-family: var(--font-display);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 0.3rem;
}

dd {
  font-size: 0.9rem;
  color: var(--navy);
  font-weight: 600;
}

dd a {
  color: var(--teal);
  text-decoration: none;
}

dd a:hover {
  text-decoration: underline;
}

.about-text .section-label {
  color: var(--teal);
}
.about-text h2 {
  color: var(--navy);
  margin-bottom: 0;
}

.about-text p {
  color: var(--muted);
  margin-top: 1.3rem;
  font-size: 0.975rem;
  line-height: 1.82;
}

/* ── CONTACT ─────────────────────────────────────────────── */

.contact {
  padding: 6.5rem 1.75rem;
  background: var(--navy);
}

.contact-grid {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 5rem;
  align-items: start;
}

.contact-intro .section-label {
  color: var(--teal-light);
}

.contact-intro h2 {
  color: var(--white);
  margin-bottom: 1.1rem;
}

.contact-intro p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.95rem;
  line-height: 1.78;
}

.form-row-two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  margin-bottom: 1.25rem;
}

.form-group--zip {
  max-width: 160px;
}

label {
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
}

input,
textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1.5px solid rgba(255, 255, 255, 0.15);
  border-radius: 4px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--white);
  background: rgba(255, 255, 255, 0.07);
  transition:
    border-color 0.18s,
    background 0.18s;
  outline: none;
  resize: vertical;
}

input::placeholder,
textarea::placeholder {
  color: rgba(255, 255, 255, 0.3);
}

input:focus,
textarea:focus {
  border-color: var(--teal-light);
  background: rgba(255, 255, 255, 0.1);
}

.form-footer {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-top: 0.25rem;
}

#contact-form button[type="submit"] {
  background: var(--teal);
  color: var(--white);
  border: 2px solid var(--teal);
  padding: 0.875rem 2.5rem;
  border-radius: 4px;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  transition:
    background 0.18s,
    transform 0.15s;
}

#contact-form button[type="submit"]:hover:not(:disabled) {
  background: var(--teal-light);
  border-color: var(--teal-light);
  transform: translateY(-1px);
}

#contact-form button[type="submit"]:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.form-status {
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.5;
}

.form-status.success {
  color: var(--teal-light);
}
.form-status.error {
  color: #f87171;
}

/* ── FOOTER ──────────────────────────────────────────────── */

footer {
  background: var(--navy-dark);
  padding: 4rem 1.75rem 2.25rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 3rem;
  align-items: start;
  padding-bottom: 2.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  margin-bottom: 1.75rem;
}

.footer-brand .logo-main {
  display: block;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.2rem;
}

.footer-brand .logo-sub {
  display: block;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--teal-light);
  margin-bottom: 1rem;
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.85rem;
  max-width: 340px;
  line-height: 1.65;
}

.footer-info {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  text-align: right;
  gap: 0.5rem;
}

.footer-info address {
  font-style: normal;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.875rem;
  line-height: 1.65;
}

.footer-info a {
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  font-size: 0.875rem;
  transition: color 0.18s;
}

.footer-info a:hover {
  color: var(--white);
}

.sister-link {
  margin-top: 0.5rem;
  color: var(--teal-light) !important;
  font-weight: 600;
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.28);
  font-size: 0.8rem;
}

/* ── RESPONSIVE ──────────────────────────────────────────── */

@media (max-width: 1000px) {
  .cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 900px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-info {
    align-items: flex-start;
    text-align: left;
  }
}

@media (max-width: 640px) {
  .nav-links a:not(.btn-nav) {
    display: none;
  }
  .hero {
    padding: 5.5rem 1.25rem 5rem;
  }
  .cards {
    grid-template-columns: 1fr;
  }
  .form-row-two {
    grid-template-columns: 1fr;
  }
  .form-group--zip {
    max-width: 100%;
  }
  .form-footer {
    flex-direction: column;
    align-items: flex-start;
  }
  .mission,
  .about,
  .contact {
    padding: 4.5rem 1.25rem;
  }
}
