/* family.css: shared GoCheckMy chrome + primitives, matched to the live family
   design system (gocheckmypet.com / gocheckmystorm.com are the specification).
   Themed to THIS site's identity accent (emerald) and per-site mark (the house).
   Loaded after tokens.css, before per-page CSS. Nothing here overrides the
   completed 508 floor (skip link, :focus-visible, ink tokens all defined in
   tokens.css and survive untouched). */

/* Disclosure strip (family pattern: thin dark bar above the nav). Emerald-deep
   ground carries Home's identity; text is a light emerald that clears AA on it. */
.gc-disclosure {
  background: var(--emerald-deep); color: var(--emerald-sub);
  font-family: 'IBM Plex Mono', ui-monospace, monospace; font-size: 10.5px;
  letter-spacing: .02em; padding: 6px 12px; text-align: center;
}
.gc-disclosure a { color: #fff; text-decoration: underline; }

/* Sticky top nav bar (family .gc-nav). Warm near-white glass, hairline underline. */
.gc-nav {
  background: rgba(247,245,240,.92); backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px); border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 60;
}
.gc-bar {
  max-width: 1180px; margin: 0 auto; padding: 12px 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.gc-brand {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-head); font-weight: 600; font-size: 17px;
  color: var(--ink); text-decoration: none;
}
/* "Home" is its own flex item, so cancel the .gc-brand 9px flex gap in front of
   it — the wordmark must still read as one word, GoCheckMyHome, no space. */
.gc-brand .gc-brand-home { color: var(--emerald-deep); font-style: italic; margin-left: -9px; }
.gc-mark { width: 22px; height: 22px; display: inline-flex; align-items: center; justify-content: center; flex: none; }
.gc-mark svg { width: 22px; height: 22px; fill: var(--emerald-deep); }
.gc-links { display: flex; align-items: center; gap: 22px; }
.gc-links a {
  font-family: var(--font); font-size: 13.5px; font-weight: 500;
  color: var(--ink-soft); text-decoration: none;
}
.gc-links a:hover, .gc-links a.active { color: var(--ink); }
.gc-links a.active { font-weight: 600; }

/* Family footer (.gc-foot): light, border-top, backlink pattern. */
.gc-foot { border-top: 1px solid var(--line); background: var(--surface); padding: 26px 22px 34px; }
.gc-foot .fin {
  max-width: 1040px; margin: 0 auto; display: flex; flex-wrap: wrap;
  gap: 14px 34px; justify-content: space-between; align-items: baseline;
}
.gc-foot .fbrand { font-family: var(--font-head); font-weight: 600; font-size: 15px; color: var(--ink); }
.gc-foot .fbrand a { color: var(--emerald); text-decoration: none; }
.gc-foot .flinks { display: flex; flex-wrap: wrap; gap: 8px 16px; font-size: 13px; }
.gc-foot .flinks a { color: var(--ink-soft); text-decoration: none; }
.gc-foot .flinks a:hover { color: var(--ink); }
.gc-foot .fnote { flex-basis: 100%; font-size: 12px; line-height: 1.55; color: var(--ink-faint); max-width: 720px; }
.gc-foot .fnote a { color: var(--ink-soft); }

/* Shared card + button primitives (family .card / .btn). */
.card { background: var(--surface); border: 1.5px solid var(--line); border-radius: 16px; padding: 20px; margin-top: 20px; }
.btn {
  cursor: pointer; border: none; border-radius: 14px; padding: 16px 24px;
  font-family: var(--font-head); font-weight: 600; font-size: 16px;
  display: inline-flex; align-items: center; gap: 10px; text-decoration: none;
}
.btn-primary {
  background: linear-gradient(135deg, var(--emerald-deep), var(--emerald)); color: #fff;
  box-shadow: 0 12px 28px -10px rgba(11,92,68,.5);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 20px 40px -16px rgba(11,92,68,.6); }
.btn-ghost { background: var(--surface); color: var(--ink); border: 1.5px solid var(--line); }

/* Hero video system (family standard). Base layer styles; the homepage supplies
   the poster <picture> + <video> + scrim + #heroPause markup and a MEASURED scrim
   override in landing.css. Assets live in public/assets/hero/ (final, do not re-encode). */
.lp-hero-banner { position: relative; overflow: hidden; }
.lp-hero-poster { position: absolute; inset: 0; }
.lp-hero-poster img, .lp-hero-vid { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.lp-hero-scrim { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,78,58,.86) 0%, rgba(10,78,58,.5) 55%, rgba(10,78,58,.2) 100%); }
.lp-hero-copy { position: relative; z-index: 2; }
.lp-hero-pause {
  position: absolute; bottom: 14px; right: 14px; z-index: 4;
  width: 44px; height: 44px; border-radius: 50%; border: 2px solid #fff;
  background: rgba(11,60,44,.82); color: #fff; cursor: pointer;
  display: flex; align-items: center; justify-content: center; padding: 0;
}
.lp-hero-pause:hover { background: rgba(11,60,44,.96); }
.lp-hero-pause svg { width: 18px; height: 18px; }
@media (prefers-reduced-motion: reduce) { .lp-hero-vid { display: none; } .lp-hero-pause { display: none; } }

@media (max-width: 720px) {
  .gc-bar { padding: 11px 18px; }
  .gc-links { gap: 16px; }
  .gc-links a { font-size: 13px; }
}
@media (max-width: 520px) {
  .gc-links { display: none; }
}
