/* Kelly Emrick Homepage Hub v1.0.1 - Direct Mode */
.kehh-root,
.kehh-root * {
  box-sizing: border-box;
}

.kehh-root {
  --kehh-navy: #0d2b4e;
  --kehh-navy-2: #123a63;
  --kehh-teal: #1d9e75;
  --kehh-gold: #ba7517;
  --kehh-paper: #f6efe3;
  --kehh-cream: #fffaf1;
  --kehh-border: #d9cfbd;
  --kehh-text: #1f2937;
  --kehh-muted: #64748b;
  --kehh-shadow: 0 16px 40px rgba(13, 43, 78, 0.12);
  --kehh-max-width: 1280px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--kehh-text);
  background: var(--kehh-paper);
  line-height: 1.5;
  width: 100%;
  overflow: hidden;
}

.kehh-root a {
  color: inherit;
  text-decoration: none;
}

.kehh-root button,
.kehh-root input {
  font-family: inherit;
}

.kehh-container {
  width: min(100% - 32px, var(--kehh-max-width));
  margin: 0 auto;
}

.kehh-error {
  display: none;
  margin: 12px auto;
  width: min(100% - 32px, var(--kehh-max-width));
  border: 1px solid #fecaca;
  background: #fff1f2;
  color: #991b1b;
  padding: 12px 14px;
  border-radius: 14px;
  font-weight: 700;
  font-size: 13px;
}

.kehh-error.is-visible {
  display: block;
}

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

.kehh-topbar {
  background: rgba(255, 250, 241, 0.96);
  border-bottom: 1px solid var(--kehh-border);
}

.kehh-topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 18px 0;
}

.kehh-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 220px;
}

.kehh-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 18px;
  background: var(--kehh-navy);
  color: #fff;
  font-size: 14px;
  font-weight: 900;
  box-shadow: 0 8px 20px rgba(13, 43, 78, 0.18);
}

.kehh-brand-title {
  display: block;
  font-size: 19px;
  line-height: 1.1;
  font-weight: 900;
  letter-spacing: -0.03em;
  color: var(--kehh-navy);
}

.kehh-brand-subtitle {
  display: block;
  margin-top: 4px;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: #7a4a10;
}

.kehh-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px;
}

.kehh-nav-link,
.kehh-footer-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 9px 14px;
  color: var(--kehh-navy);
  font-size: 14px;
  font-weight: 800;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.kehh-nav-link:hover,
.kehh-footer-link:hover {
  background: var(--kehh-navy);
  color: #fff;
  transform: translateY(-1px);
}

.kehh-hero {
  position: relative;
  overflow: hidden;
  background: radial-gradient(circle at 0 20%, rgba(29,158,117,.32), transparent 30%), radial-gradient(circle at 100% 0, rgba(186,117,23,.3), transparent 36%), linear-gradient(135deg, #0d2b4e 0%, #0a203b 100%);
  color: #fff;
}

.kehh-hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, .85fr);
  gap: 42px;
  align-items: center;
  padding: 70px 0;
}

.kehh-kicker {
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(255,255,255,.22);
  background: rgba(255,255,255,.11);
  color: rgba(240,253,250,.96);
  border-radius: 999px;
  padding: 10px 16px;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .2em;
  text-transform: uppercase;
}

.kehh-hero-title {
  margin: 24px 0 0;
  font-size: clamp(48px, 7vw, 82px);
  line-height: 0.98;
  letter-spacing: -0.06em;
  font-weight: 950;
}

.kehh-hero-copy {
  max-width: 780px;
  margin: 22px 0 0;
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.55;
  color: rgba(240,253,250,.9);
}

.kehh-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.kehh-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 999px;
  padding: 13px 22px;
  font-size: 14px;
  font-weight: 900;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.kehh-button:hover {
  transform: translateY(-1px);
}

.kehh-button-primary {
  background: var(--kehh-teal);
  color: #fff;
  box-shadow: 0 12px 28px rgba(0,0,0,.22);
}

.kehh-button-primary:hover {
  background: #23b789;
}

.kehh-button-secondary {
  border: 1px solid rgba(255,255,255,.22);
  background: rgba(255,255,255,.1);
  color: #fff;
}

.kehh-button-secondary:hover {
  background: rgba(255,255,255,.16);
}

.kehh-resource-panel {
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.11);
  border-radius: 30px;
  padding: 18px;
  box-shadow: 0 28px 70px rgba(0,0,0,.28);
  backdrop-filter: blur(10px);
}

.kehh-resource-panel-inner {
  background: var(--kehh-cream);
  color: var(--kehh-navy);
  border-radius: 22px;
  padding: 22px;
}

.kehh-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.kehh-eyebrow,
.kehh-section-label,
.kehh-property-label {
  color: var(--kehh-gold);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: .2em;
}

.kehh-panel-number {
  margin-top: 5px;
  font-size: 32px;
  line-height: 1.05;
  font-weight: 950;
  letter-spacing: -0.05em;
}

.kehh-badge {
  display: inline-flex;
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  font-size: 12px;
  font-weight: 950;
  letter-spacing: -0.02em;
  background: var(--kehh-navy);
  color: #fff;
  box-shadow: 0 8px 18px rgba(13,43,78,.14);
}

.kehh-badge-teal { background: var(--kehh-teal); }
.kehh-badge-gold { background: var(--kehh-gold); }
.kehh-badge-light { background: #eef7f4; color: var(--kehh-navy); box-shadow: inset 0 0 0 1px #c7ded6; }

.kehh-count-list {
  display: grid;
  gap: 9px;
  margin-top: 20px;
}

.kehh-count-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border: 1px solid #e4d5ba;
  background: #fff;
  border-radius: 16px;
  padding: 12px 14px;
}

.kehh-count-name {
  font-size: 14px;
  font-weight: 800;
  color: #465466;
}

.kehh-count-value {
  border-radius: 999px;
  background: var(--kehh-paper);
  color: #7a4a10;
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 950;
}

.kehh-library {
  padding: 58px 0;
}

.kehh-section-head {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: flex-end;
  margin-bottom: 26px;
}

.kehh-section-title {
  margin: 8px 0 0;
  color: var(--kehh-navy);
  font-size: clamp(32px, 4vw, 46px);
  line-height: 1.05;
  font-weight: 950;
  letter-spacing: -0.05em;
}

.kehh-section-copy {
  max-width: 820px;
  margin: 12px 0 0;
  color: #526173;
  font-size: 16px;
  line-height: 1.7;
}

.kehh-search-wrap {
  position: relative;
  display: block;
  width: 320px;
  max-width: 100%;
  flex: 0 0 auto;
}

.kehh-search-icon {
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: #94a3b8;
  font-weight: 900;
}

.kehh-search {
  width: 100%;
  border: 1px solid var(--kehh-border);
  background: #fff;
  border-radius: 999px;
  padding: 13px 15px 13px 42px;
  color: var(--kehh-text);
  font-size: 14px;
  outline: none;
}

.kehh-search:focus {
  border-color: rgba(29,158,117,.6);
  box-shadow: 0 0 0 4px rgba(29,158,117,.18);
}

.kehh-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-bottom: 26px;
}

.kehh-filter {
  appearance: none;
  border: 0;
  cursor: pointer;
  border-radius: 999px;
  background: #fff;
  color: var(--kehh-navy);
  box-shadow: inset 0 0 0 1px var(--kehh-border);
  padding: 10px 15px;
  font-size: 12px;
  font-weight: 950;
  letter-spacing: .14em;
  text-transform: uppercase;
  transition: transform .2s ease, background .2s ease, color .2s ease, box-shadow .2s ease;
}

.kehh-filter:hover {
  transform: translateY(-1px);
  background: var(--kehh-cream);
}

.kehh-filter.is-active {
  background: var(--kehh-navy);
  color: #fff;
  box-shadow: none;
}

.kehh-filter-count {
  opacity: .72;
}

.kehh-result-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border: 1px solid var(--kehh-border);
  background: var(--kehh-cream);
  border-radius: 18px;
  padding: 15px 18px;
  margin-bottom: 20px;
}

.kehh-result-count {
  color: #526173;
  font-size: 14px;
  font-weight: 800;
}

.kehh-result-count strong {
  color: var(--kehh-navy);
  font-weight: 950;
}

.kehh-contact-link {
  color: var(--kehh-navy);
  font-size: 14px;
  font-weight: 950;
}

.kehh-contact-link:hover {
  color: var(--kehh-teal);
}

.kehh-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.kehh-card,
.kehh-property-card {
  display: block;
  min-height: 100%;
  border: 1px solid var(--kehh-border);
  background: #fff;
  border-radius: 22px;
  padding: 20px;
  box-shadow: 0 4px 14px rgba(13,43,78,.04);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.kehh-card:hover,
.kehh-property-card:hover {
  transform: translateY(-3px);
  border-color: rgba(29,158,117,.55);
  box-shadow: var(--kehh-shadow);
}

.kehh-card-head,
.kehh-property-head {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.kehh-card-body {
  min-width: 0;
  flex: 1;
}

.kehh-chip {
  display: inline-flex;
  border-radius: 999px;
  background: var(--kehh-paper);
  color: #7a4a10;
  box-shadow: inset 0 0 0 1px #e4d5ba;
  padding: 4px 10px;
  margin-bottom: 9px;
  font-size: 11px;
  font-weight: 950;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.kehh-card-title,
.kehh-property-title {
  margin: 0;
  color: var(--kehh-navy);
  font-size: 19px;
  line-height: 1.15;
  font-weight: 950;
  letter-spacing: -0.035em;
}

.kehh-card:hover .kehh-card-title,
.kehh-property-card:hover .kehh-property-title {
  color: var(--kehh-teal);
}

.kehh-card-copy,
.kehh-property-copy {
  margin: 15px 0 0;
  color: #526173;
  font-size: 14px;
  line-height: 1.7;
}

.kehh-card-cta,
.kehh-property-cta {
  margin-top: 18px;
  color: var(--kehh-navy);
  font-size: 14px;
  font-weight: 950;
}

.kehh-card:hover .kehh-card-cta,
.kehh-property-card:hover .kehh-property-cta {
  color: var(--kehh-teal);
}

.kehh-empty {
  display: none;
  border: 1px dashed var(--kehh-border);
  background: #fff;
  border-radius: 22px;
  padding: 42px;
  text-align: center;
  margin-top: 20px;
}

.kehh-empty h3 {
  margin: 0;
  color: var(--kehh-navy);
  font-size: 22px;
  font-weight: 950;
}

.kehh-empty p {
  margin: 8px 0 0;
  color: #64748b;
  font-size: 14px;
}

.kehh-connected {
  border-top: 1px solid var(--kehh-border);
  border-bottom: 1px solid var(--kehh-border);
  background: #fff;
  padding: 58px 0;
}

.kehh-property-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.kehh-footer {
  background: var(--kehh-cream);
}

.kehh-footer-inner {
  padding: 38px 0 24px;
}

.kehh-footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.kehh-footer-name {
  color: var(--kehh-navy);
  font-size: 20px;
  font-weight: 950;
  letter-spacing: -0.03em;
}

.kehh-footer-subtitle {
  margin-top: 4px;
  color: #526173;
  font-size: 14px;
  font-weight: 800;
}

.kehh-footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 4px;
}

.kehh-copyright {
  margin-top: 30px;
  padding-top: 18px;
  border-top: 1px solid var(--kehh-border);
  color: #64748b;
  font-size: 13px;
  font-weight: 700;
}

.kehh-card[hidden] {
  display: none !important;
}

.kehh-root.kehh-no-header .kehh-topbar,
.kehh-root.kehh-no-footer .kehh-footer {
  display: none !important;
}

@media (max-width: 1100px) {
  .kehh-hero-inner {
    grid-template-columns: 1fr;
  }

  .kehh-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .kehh-property-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .kehh-container {
    width: min(100% - 24px, var(--kehh-max-width));
  }

  .kehh-topbar-inner,
  .kehh-section-head,
  .kehh-footer-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .kehh-nav,
  .kehh-footer-nav {
    justify-content: flex-start;
  }

  .kehh-hero-inner {
    padding: 48px 0;
  }

  .kehh-resource-panel {
    padding: 12px;
    border-radius: 24px;
  }

  .kehh-grid,
  .kehh-property-grid {
    grid-template-columns: 1fr;
  }

  .kehh-result-strip {
    align-items: flex-start;
    flex-direction: column;
  }
}
