/* healhou.com — healhou-home.css | Version: 2.0 | 2026-04-06 — small thumbs + wrap + eaet clear */

:root {
  --bg: #f4f8f6;
  --surface: #ffffff;
  --muted: #5c6f68;
  --text: #243330;
  --accent: #4f7a6c;
  --accent-soft: #c8ddd4;
  --edge: 1.25rem;
  --edge-lg: 1.75rem;
  --shadow: 0 8px 32px rgba(36, 51, 48, 0.08);
  /* Logo ~3.75rem tall + vertical breathing room (logo is 50% larger than 2.5rem) */
  --header-h: 5.25rem;
}

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

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

html {
  scroll-behavior: smooth;
}

#main {
  scroll-margin-top: var(--header-h);
}

.tile[id],
#mind-body-nav {
  scroll-margin-top: var(--header-h);
}

body {
  margin: 0;
  font-family: "DM Sans", system-ui, -apple-system, sans-serif;
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  padding-top: var(--header-h);
}

a {
  color: var(--accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

a:hover {
  color: #3d5f54;
}

.skip-link {
  position: absolute;
  left: -9999px;
  z-index: 1000;
  padding: 0.5rem 1rem;
  background: var(--accent);
  color: #fff;
  border-radius: 0.5rem;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
  z-index: 2101;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0 clamp(1rem, 4vw, 2rem);
  background: rgba(244, 248, 246, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(79, 122, 108, 0.12);
  box-shadow: 0 4px 24px rgba(36, 51, 48, 0.04);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: inherit;
}

.brand img {
  height: 3.75rem;
  width: auto;
  border-radius: 0.5rem;
  object-fit: contain;
}

.nav-toggle {
  display: none;
  border: none;
  background: var(--accent-soft);
  color: var(--text);
  padding: 0.6rem 0.9rem;
  border-radius: 999px;
  font: inherit;
  cursor: pointer;
}

.nav-toggle:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.site-nav ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.25rem;
  align-items: center;
}

.site-nav a {
  text-decoration: none;
  font-weight: 500;
  color: var(--muted);
  padding: 0.35rem 0;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--accent);
}

@media (max-width: 52rem) {
  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(79, 122, 108, 0.12);
    padding: 1rem clamp(1rem, 4vw, 2rem) 1.25rem;
    box-shadow: var(--shadow);
    display: none;
  }

  .site-nav.is-open {
    display: block;
  }

  .site-nav ul {
    flex-direction: column;
    align-items: flex-start;
  }
}

.hero {
  max-width: 58rem;
  margin: 0 auto;
  padding: clamp(2rem, 6vw, 4rem) clamp(1rem, 4vw, 2rem) clamp(2.5rem, 5vw, 3.5rem);
  text-align: center;
}

.hero-tagline {
  margin: 0 0 1rem;
  font-size: clamp(1.33rem, 3.08vw, 1.54rem);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: lowercase;
  color: var(--accent);
}

.hero-tagline .tagline-sep {
  margin: 0 0.35em;
  font-weight: 500;
  opacity: 0.65;
}

.hero-tagline sup.tm {
  font-size: 0.55em;
  font-weight: 700;
  margin-left: 0.12em;
  vertical-align: super;
  line-height: 0;
}

.hero-mind-intro {
  margin: 0 0 0.75rem;
  font-size: clamp(0.95rem, 2.4vw, 1.15rem);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: lowercase;
  color: var(--muted);
}

.hero-mind-intro .mind-body-open {
  margin: 0;
  padding: 0;
  border: none;
  background: none;
  font: inherit;
  font-weight: 600;
  color: var(--accent);
  cursor: pointer;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

.hero-mind-intro .mind-body-open:hover,
.hero-mind-intro .mind-body-open:focus-visible {
  color: #3d5f54;
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.hero-mind-sep {
  margin: 0 0.35em;
  font-weight: 500;
  opacity: 0.65;
}

.hero h1 {
  font-size: clamp(1.25rem, 3.2vw, 1.65rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.3;
  margin: 0 0 1rem;
  color: var(--text);
}

.hero p.lead {
  font-size: clamp(1.05rem, 2.2vw, 1.2rem);
  color: var(--muted);
  max-width: 42rem;
  margin: 0 auto 1.5rem;
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
}

.pill {
  display: inline-block;
  padding: 0.4rem 0.9rem;
  background: var(--accent-soft);
  color: var(--text);
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 500;
}

.tiles {
  position: relative;
  max-width: 72rem;
  margin: 0 auto;
  padding: 0 clamp(1rem, 4vw, 2rem) clamp(3rem, 6vw, 4rem);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr));
  gap: clamp(1rem, 3vw, 1.5rem);
  isolation: isolate;
}

/* Full official logo as one watermark behind the tile grid */
.tiles::before {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  max-width: min(42rem, 92%);
  max-height: min(28rem, 85%);
  background: url("../images/heal_Houston_Official_Logo.JPG") center / contain no-repeat;
  opacity: 0.09;
  pointer-events: none;
  z-index: 0;
  filter: saturate(1.1);
}

.tile {
  position: relative;
  z-index: 1;
  overflow: hidden;
  background: var(--surface);
  border-radius: var(--edge-lg);
  padding: clamp(1.25rem, 3vw, 1.75rem);
  box-shadow: var(--shadow);
  border: 1px solid rgba(79, 122, 108, 0.1);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.tile-thumb-wrap {
  margin: 0 0 0.85rem;
  border-radius: var(--edge);
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: rgba(200, 221, 212, 0.3);
}

.tile-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.tile:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(36, 51, 48, 0.1);
}

.tile h2 {
  font-size: 1.15rem;
  margin: 0 0 0.5rem;
  color: var(--accent);
  letter-spacing: -0.02em;
}

.tile p {
  margin: 0;
  font-size: 0.98rem;
  color: var(--muted);
}

.tile-address {
  line-height: 1.55;
}

.tile-address a {
  text-decoration: none;
  font-weight: 500;
}

.tile-address a:hover {
  text-decoration: underline;
}

.tile p + p.eaet-credit {
  clear: both;
  margin-top: 0.85rem;
  padding-top: 0.85rem;
  border-top: 1px solid rgba(79, 122, 108, 0.12);
  font-size: 0.88rem;
  line-height: 1.55;
}

.section {
  max-width: 48rem;
  margin: 0 auto;
  padding: 0 clamp(1rem, 4vw, 2rem) clamp(2.5rem, 5vw, 3.5rem);
  scroll-margin-top: var(--header-h);
}

.section h2 {
  font-size: clamp(1.35rem, 3vw, 1.65rem);
  margin: 0 0 1rem;
  color: var(--text);
}

.section p {
  color: var(--muted);
  margin: 0 0 1rem;
}

.section-mind-bridge {
  padding-top: 0;
}

.mind-body-bridge {
  margin: 0;
  padding: clamp(0.9rem, 2vw, 1.1rem);
  background: rgba(200, 221, 212, 0.35);
  border-radius: var(--edge);
  border-left: 3px solid var(--accent);
  font-size: 0.98rem;
}

.callout {
  background: linear-gradient(135deg, #e8f2ed 0%, #dceae3 100%);
  border-radius: var(--edge-lg);
  padding: clamp(1.25rem, 3vw, 1.75rem);
  border: 1px solid rgba(79, 122, 108, 0.15);
  margin-top: 1rem;
}

.callout p:last-child {
  margin-bottom: 0;
}

.footnote {
  font-size: 0.88rem;
  color: var(--muted);
}

.site-footer {
  background: #e4ede8;
  padding: clamp(2rem, 5vw, 3rem) clamp(1rem, 4vw, 2rem);
  border-top: 1px solid rgba(79, 122, 108, 0.12);
  border-radius: var(--edge-lg) var(--edge-lg) 0 0;
  margin-top: 2rem;
}

.site-footer-inner {
  max-width: 58rem;
  margin: 0 auto;
}

.site-footer p {
  margin: 0 0 0.75rem;
  font-size: 0.9rem;
  color: var(--muted);
}

.site-footer strong {
  color: var(--text);
}

.footer-credit {
  margin: 0.75rem 0 0;
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.5;
}

.footer-credit strong {
  color: var(--muted);
  font-weight: 600;
}

.footer-credit a {
  font-weight: 500;
}

.mind-body-dialog {
  position: relative;
  max-width: min(28rem, calc(100vw - 2rem));
  margin: auto;
  padding: clamp(1.25rem, 4vw, 1.75rem);
  border: 1px solid rgba(79, 122, 108, 0.15);
  border-radius: var(--edge-lg);
  box-shadow: var(--shadow);
  background: var(--surface);
  color: var(--text);
}

.mind-body-dialog::backdrop {
  background: rgba(36, 51, 48, 0.35);
  backdrop-filter: blur(4px);
}

.mind-body-dialog h2 {
  margin: 0 0 0.75rem;
  padding-right: 2.5rem;
  font-size: 1.2rem;
  color: var(--accent);
  letter-spacing: -0.02em;
}

.mind-body-dialog p {
  margin: 0;
  font-size: 0.98rem;
  color: var(--muted);
  line-height: 1.6;
}

.dialog-close {
  position: absolute;
  top: 0.65rem;
  right: 0.65rem;
  width: 2.25rem;
  height: 2.25rem;
  border: none;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--text);
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
}

.dialog-close:hover,
.dialog-close:focus-visible {
  background: #b8d4c8;
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
