:root {
  --bg: #f4f7fb;
  --bg-2: #eef3f8;
  --surface: #ffffff;
  --surface-2: #f7fafc;
  --line: rgba(20, 50, 80, 0.10);
  --line-strong: rgba(20, 50, 80, 0.20);
  --text: #074568;
  --muted: #4f5f74;   /* 6.07:1 on --bg */
  --dim: #59677a;     /* 5.36:1 on --bg (was #7a8899 = 3.36:1, below AA) */
  --cyan: #1C75BC;
  --cyan-dim: rgba(28, 117, 188, 0.12);
  --blue: #1C75BC;
  --navy: #074568;
  --ink: #ffffff;
  --danger: #c43c3c;
  --radius: 16px;
  --shadow: 0 18px 40px rgba(16, 32, 51, 0.08);
  --max: 1180px;
  --header: 80px;
  --gutter: 20px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: "Montserrat", system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
}
img, video, iframe { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }

.wrap { width: min(var(--max), calc(100% - (var(--gutter) * 2))); margin-inline: auto; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--cyan);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: var(--cyan);
}
h1, h2, h3, .display {
  font-family: "Montserrat", sans-serif;
  letter-spacing: -0.03em;
  line-height: 1.12;
}
h1 { font-size: clamp(32px, 9vw, 44px); font-weight: 500; }
h2 { font-size: clamp(26px, 7vw, 34px); font-weight: 500; }
h3 { font-size: 20px; font-weight: 560; }
.lede { font-size: 17px; color: var(--muted); max-width: 62ch; }
.muted { color: var(--muted); }
.dim { color: var(--dim); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  transition: 0.2s ease;
  white-space: nowrap;
}
.btn-primary { background: var(--cyan); color: var(--ink); }
.btn-primary:hover { filter: brightness(1.06); }
.btn-ghost {
  background: transparent;
  border-color: var(--line-strong);
  color: var(--text);
}
.btn-ghost:hover { border-color: var(--cyan); color: var(--cyan); }
.btn-dark { background: var(--surface-2); border-color: var(--line); }

header.site {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header);
  display: flex;
  align-items: center;
  backdrop-filter: blur(18px);
  background: rgba(244, 247, 251, 0.92);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  width: min(var(--max), calc(100% - (var(--gutter) * 2)));
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.brand {
  display: flex;
  align-items: center;
  flex: none;
}
.brand-logo {
  height: 60px;
  width: auto;
  display: block;
}
.brand-mark { display: none; }
.brand small { display: none; }
nav.desk { display: none; }
.header-cta { display: flex; align-items: center; gap: 8px; flex: none; }
.phone-link { display: none; }
.header-cta .btn { min-height: 42px; padding: 0 12px; font-size: 14px; }
.header-cta .btn-ghost { display: none; }
.menu-btn {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--surface);
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 32px 0 20px;
  display: flex;
  align-items: center;
}
.hero-grid { display: grid; grid-template-columns: 1fr; gap: 24px; }
.hero-visual {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  min-height: 260px;
  background: #e8eef5;
}
.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 260px;
}
.hero-chip {
  position: absolute;
  left: 12px;
  bottom: 12px;
  right: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--line);
  font-size: 13px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.hero-actions .btn { width: 100%; }
.hero h1 span { color: var(--cyan); }

.trust {
  display: grid;
  grid-template-columns: 1fr;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  margin: 8px auto 40px;
}
.trust div {
  padding: 18px 16px;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}
.trust div:last-child { border-bottom: 0; }
.trust strong { display: block; font-family: "Montserrat", sans-serif; font-size: 17px; }
.trust span { color: var(--muted); font-size: 13px; }

section { padding: 48px 0; }
.sec-head { display: block; margin-bottom: 24px; }
.sec-head p { max-width: 48ch; color: var(--muted); }

.path-grid, .card-grid, .loc-grid, .faq-grid,
.steps, .cond-list, .foot-grid, .creds, .stats, .split-2,
.feature, .doc, .contact-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: 1fr;
}

.card {
  background: linear-gradient(180deg, var(--surface) 0%, #f3f7fb 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
}
.card .num {
  font-family: "Montserrat", sans-serif;
  font-size: 12px;
  color: var(--cyan);
  letter-spacing: 0.08em;
}
.card h3 { margin: 10px 0 8px; }
.card p { color: var(--muted); font-size: 15px; }
.card .go { margin-top: 16px; color: var(--cyan); font-weight: 600; font-size: 14px; }

.feature-copy, .feature-media {
  border-radius: 20px;
  border: 1px solid var(--line);
  overflow: hidden;
}
.feature-copy { background: var(--surface); padding: 22px; }
.feature-media { min-height: 240px; position: relative; }
.feature-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
}
.pills { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 22px; }
.pill {
  border: 1px solid var(--line);
  background: var(--cyan-dim);
  color: var(--cyan);
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 13px;
}
.stat {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px;
}
.stat b { display: block; font-family: "Montserrat", sans-serif; font-size: 20px; }

.step {
  padding: 20px;
  border-top: 2px solid var(--cyan);
  background: var(--surface);
  border-radius: 0 0 16px 16px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.step span {
  font-family: "Montserrat", sans-serif;
  color: var(--cyan);
  font-size: 12px;
}

.doc {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
}
.doc-photo {
  min-height: 280px;
  position: relative;
  overflow: hidden;
  background: #e8eef5;
}
.doc-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 12%;
}
.feature-media.portrait img { object-position: center 12%; }
.doc-copy { padding: 22px; }
.cred {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px 14px;
  font-size: 14px;
  color: var(--muted);
}
.cred b { display: block; color: var(--text); font-weight: 600; }

.loc-card img {
  height: 160px;
  width: 100%;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 16px;
}
.loc-card address { font-style: normal; color: var(--muted); margin: 8px 0 16px; }

.cta-band {
  background:
    linear-gradient(180deg, rgba(244,247,251,0.55), rgba(244,247,251,0.9)),
    url("assets/houston.jpg") center/cover;
  border-radius: 20px;
  border: 1px solid var(--line);
  padding: 28px 20px;
}
.cta-band .actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 20px; }
.cta-band .actions .btn { width: 100%; }

footer.site {
  border-top: 1px solid var(--line);
  padding: 36px 0 24px;
  color: var(--muted);
  font-size: 14px;
}
footer a:hover { color: var(--cyan); }
.legal {
  border-top: 1px solid var(--line);
  padding-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  color: var(--dim);
  font-size: 12px;
}
.emerg { color: #9b2c2c; }

.page-hero { padding: 32px 0 12px; }
.page-hero h1 { max-width: 22ch; }

.cond {
  padding: 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
}
.cond h3 { margin-bottom: 8px; }

.paubox-embed {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 20px;
  min-width: 0;
}
.paubox-embed iframe {
  width: 100%;
  height: 800px;
  border: 0;
  margin-top: 12px;
  border-radius: 12px;
  background: #fff;
}
.form {
  display: grid;
  gap: 12px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 20px;
}
.form label { font-size: 13px; color: var(--muted); display: grid; gap: 6px; }
.form input, .form select, .form textarea {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 14px;
  min-height: 48px;
  outline: none;
}
.form textarea { min-height: 120px; }
.form input:focus, .form select:focus, .form textarea:focus { border-color: var(--cyan); }
.contact-side { display: grid; gap: 12px; }
.info-card { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 18px; }
.info-card h3 { margin-bottom: 8px; }

.faq details {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px 18px;
}
.faq summary { cursor: pointer; font-weight: 600; min-height: 44px; }
.faq p { margin-top: 8px; color: var(--muted); }

.mobile-nav {
  display: none;
  position: fixed;
  inset: var(--header) 0 0 0;
  background: rgba(244, 247, 251, 0.97);
  padding: 24px;
  z-index: 40;
  overflow: auto;
}
.mobile-nav.open { display: grid; gap: 8px; align-content: start; }
.mobile-nav a {
  font-size: 22px;
  font-family: "Montserrat", sans-serif;
  min-height: 48px;
  display: flex;
  align-items: center;
}

/* Large phone */
@media (min-width: 640px) {
  :root { --gutter: 24px; }
  .path-grid, .card-grid, .steps, .loc-grid, .cond-list, .foot-grid, .creds, .stats {
    grid-template-columns: 1fr 1fr;
  }
  .trust { grid-template-columns: 1fr 1fr; }
  .trust div:nth-child(odd) { border-right: 1px solid var(--line); }
  .trust div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .hero-visual, .hero-visual img { min-height: 320px; }
  .doc-photo { min-height: 340px; }
}

/* Tablet */
@media (min-width: 768px) {
  :root { --header: 80px; --gutter: 28px; }
  .brand-logo { height: 64px; }
  .brand small {
    display: block;
    font-family: "Montserrat", sans-serif;
    font-weight: 500;
    letter-spacing: 0.14em;
    font-size: 11px;
    color: var(--muted);
    text-transform: uppercase;
  }
  .header-cta .btn-ghost { display: inline-flex; }
  .header-cta .btn { min-height: 44px; padding: 0 14px; font-size: 15px; }
  h1 { font-size: clamp(36px, 6vw, 56px); }
  h2 { font-size: clamp(28px, 4vw, 40px); }
  h3 { font-size: 22px; }
  .lede { font-size: 18px; }
  .hero { padding: 40px 0 24px; }
  .hero-chip { flex-direction: row; justify-content: space-between; }
  .hero-actions .btn, .cta-band .actions .btn { width: auto; }
  .cta-band { padding: 40px 32px; }
  .split-2 { grid-template-columns: 1fr 1fr; }
  .legal { flex-direction: row; justify-content: space-between; }
  .paubox-embed {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 20px;
  min-width: 0;
}
.paubox-embed iframe {
  width: 100%;
  height: 800px;
  border: 0;
  margin-top: 12px;
  border-radius: 12px;
  background: #fff;
}
.form { padding: 28px; }
  .doc-copy, .feature-copy { padding: 28px; }
  section { padding: 56px 0; }
  .page-hero { padding: 40px 0 16px; }
}

/* Laptop — desktop nav + two-column features */
@media (min-width: 1080px) {
  :root { --header: 88px; --radius: 18px; }
  nav.desk {
    display: flex;
    align-items: center;
    gap: 22px;
    flex-wrap: nowrap;
    white-space: nowrap;
  }
  nav.desk a { color: var(--muted); font-size: 16px; font-weight: 600; }
  nav.desk a:hover, nav.desk a.active { color: var(--text); }
  .menu-btn { display: none; }
  .header-cta .btn { min-height: 46px; padding: 0 16px; }
  .hero {
    min-height: calc(100svh - var(--header));
    padding: 72px 0 36px;
  }
  .hero-grid { grid-template-columns: 1.05fr 0.95fr; gap: 48px; align-items: center; }
  .hero-visual, .hero-visual img { min-height: 520px; border-radius: 28px; }
  .feature { grid-template-columns: 1.05fr 0.95fr; gap: 28px; }
  .doc { grid-template-columns: 0.9fr 1.1fr; gap: 0; border-radius: 28px; }
  .doc-photo { min-height: 520px; }
  .contact-grid { grid-template-columns: 0.9fr 1.1fr; gap: 24px; }
  .trust { grid-template-columns: repeat(4, 1fr); margin-bottom: 72px; }
  .trust div { border-right: 1px solid var(--line); border-bottom: 0; }
  .trust div:last-child { border-right: 0; }
  .path-grid, .card-grid, .steps { grid-template-columns: repeat(4, 1fr); }
  .loc-grid { grid-template-columns: repeat(3, 1fr); }
  .foot-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 28px; }
  .stats { grid-template-columns: repeat(3, 1fr); }
  .feature-media { min-height: 420px; }
  .doc-copy, .feature-copy { padding: 40px; }
  .cta-band { padding: 64px 48px; border-radius: 28px; }
  section { padding: 84px 0; }
  .sec-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 36px; }
  .page-hero { padding: 64px 0 28px; }
}

@media (min-width: 1280px) {
  :root { --gutter: 24px; }
  h1 { font-size: clamp(40px, 6vw, 76px); }
  h2 { font-size: clamp(30px, 4vw, 48px); }
}

@media (min-width: 1440px) {
  :root { --max: 1240px; }
}

@media (hover: hover) {
  .card:hover { border-color: var(--line-strong); transform: translateY(-2px); }
  .btn-primary:hover { transform: translateY(-1px); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

/* Keyboard focus. The custom button and link styles were suppressing the
   browser default, leaving keyboard users with no visible indicator. */
a:focus-visible,
button:focus-visible,
summary:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--navy);
  outline-offset: 2px;
  border-radius: 4px;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Facebook posts shown on /updates/, inside the existing .card.
   The global reset zeroes margins, so paragraphs and lists need spacing here. */
.post-body { margin-top: 8px; color: var(--muted); }
.post-body p + p, .post-body p + ul, .post-body p + ol,
.post-body ul + p, .post-body ol + p { margin-top: 10px; }
.post-body ul, .post-body ol { margin-top: 8px; padding-left: 22px; }
.post-body li + li { margin-top: 4px; }
.post-body a { color: var(--cyan); }
/* The closing disclaimer should read as a footnote, not a paragraph: body
   text and --dim are too close in tone, so it also gets a rule and italics. */
.post-note {
  margin-top: 14px; padding-top: 10px; border-top: 1px solid var(--line);
  font-size: 12.5px; font-style: italic; color: var(--dim);
}
/* .go is a link on /updates/; links are inline and ignore margin-top, which
   left "View on Facebook" / "Read note" pressed against the text above.
   Home-page cards use a div.go and are unaffected. */
.card a.go { display: inline-block; margin-top: 14px; }

/* Follow row on /updates/: each network's own logo. 44px targets for touch;
   the logos keep their official colors, only the hover wash is ours. */
.social-icons { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; margin: 18px 0 22px -8px; }
.social-icon {
  display: inline-grid; place-items: center; width: 44px; height: 44px;
  border-radius: 12px; transition: background 0.15s ease;
}
.social-icon:hover, .social-icon:focus-visible { background: var(--cyan-dim); }
.social-icon svg { width: 28px; height: 28px; display: block; }

/* ---- Home: latest updates, directly under the intro ----------------------
   Uses the home page's existing clickable .card; this only lays them out. */
.update-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
.update-grid .card { display: flex; flex-direction: column; }
.update-grid .card .go { margin-top: auto; padding-top: 14px; }
.see-all { color: var(--cyan); font-weight: 600; }
/* /updates/ cards are link targets from the home page; clear the sticky header */
.card[id] { scroll-margin-top: calc(var(--header) + 16px); }

/* Below the desktop breakpoint the intro stacks, which put the heart image
   between the headline and the updates. The intro keeps its headline, text
   and buttons; the image is left to the side-by-side desktop layout. */
@media (max-width: 1079px) {
  .hero .hero-visual { display: none; }
}

@media (min-width: 1080px) {
  .update-grid { grid-template-columns: repeat(3, 1fr); }
  /* A compact intro, so the latest updates are on the first screen rather
     than below a full-height splash. */
  .hero { min-height: 0; padding: 40px 0 24px; }
  .hero-visual, .hero-visual img { min-height: 340px; }
  /* At 1280px+ the global h1 grows to 76px, which wrapped the headline onto
     five lines in a half-width column and pushed the updates off the first
     screen. The home intro gets a wider text column and a steadier size. */
  .hero .hero-grid { grid-template-columns: 1.35fr 0.65fr; }
  .hero h1 { font-size: clamp(40px, 3.8vw, 54px); }
  .home-updates { padding-top: 40px; }
}
