/* Treasure This Valley — static site styles
   Modern Boise agency: navy header, purple accents, blue→purple CTAs */

:root {
  --navy: #121a21;
  --navy-deep: #0c1218;
  --charcoal: #1a2430;
  --surface: #ffffff;
  --surface-alt: #f5f6f8;
  --surface-card: #eef0f4;
  --text: #1a1f2a;
  --text-muted: #5a6472;
  --text-on-dark: #ffffff;
  --text-on-dark-muted: #c5cdd8;
  --purple: #7b2cff;
  --purple-dark: #5e1fd4;
  --purple-soft: rgba(123, 44, 255, 0.12);
  --blue: #3b82f6;
  --gradient: linear-gradient(135deg, #3b82f6 0%, #7b2cff 100%);
  --border: #e2e6ed;
  --radius: 12px;
  --radius-pill: 999px;
  --radius-sm: 8px;
  --shadow: 0 8px 28px rgba(18, 26, 33, 0.12);
  --shadow-lg: 0 20px 50px rgba(18, 26, 33, 0.18);
  --font: system-ui, -apple-system, "Segoe UI", Roboto, Ubuntu, Cantarell, "Noto Sans", sans-serif;
  --max: 1120px;
  --header-h: 68px;
  --focus: 0 0 0 3px rgba(123, 44, 255, 0.4);
}

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

html {
  scroll-behavior: smooth;
}

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

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--purple);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover { color: var(--purple-dark); }

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: none;
  box-shadow: var(--focus);
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--purple);
  color: #fff;
  padding: 0.75rem 1rem;
  z-index: 1000;
  font-weight: 600;
  border-radius: var(--radius-sm);
}

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

.container {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

/* ——— Header ——— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--navy);
  height: var(--header-h);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: 1rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--text-on-dark);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
  flex-shrink: 0;
}

.logo:hover { color: #fff; }

.logo img {
  height: auto;
  width: auto;
  max-width: 100%;
}

/* Ridgeline wordmark: shorter than the old illustrated mark so the
   wide lockup still fits the 68px bar, including next to the hamburger. */
.site-header .logo img {
  height: auto;
  width: auto;
  max-height: 38px;
  max-width: min(220px, 100%);
  object-fit: contain;
  object-position: left center;
}

.footer-brand .logo img {
  height: auto;
  width: auto;
  max-height: 40px;
  max-width: min(240px, 100%);
  object-fit: contain;
  object-position: left center;
}

.logo-text { white-space: nowrap; }

@media (max-width: 860px) {
  .site-header .logo {
    min-width: 0;
    max-width: calc(100% - 6.5rem); /* leave room for the menu button */
  }
  .site-header .logo img {
    max-height: 30px;
    max-width: 100%;
  }
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  border-radius: var(--radius-sm);
  padding: 0.45rem 0.65rem;
  cursor: pointer;
  font-size: 0.85rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.site-nav a {
  color: var(--text-on-dark-muted);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius-sm);
  position: relative;
}

.site-nav a:hover {
  color: #fff;
}

.site-nav a[aria-current="page"] {
  color: #a56bff; /* 5.14:1 on #121a21, WCAG AA for normal text */
}

.site-nav a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 0.75rem;
  right: 0.75rem;
  bottom: 0.15rem;
  height: 2px;
  background: var(--purple);
  border-radius: 1px;
}

.header-cta {
  display: inline-flex;
  align-items: center;
  margin-left: 0.5rem;
}

/* Mobile-only CTA inside the nav: hidden on desktop. Same selector as the
   media-query override below so the cascade order (not .btn) decides. */
.site-nav .header-cta-mobile { display: none; }

@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; align-items: center; }
  .site-nav {
    display: none;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    background: var(--navy-deep);
    padding: 0.75rem 1rem 1.25rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    gap: 0.15rem;
  }
  .site-nav.is-open { display: flex; }
  .site-nav a {
    padding: 0.75rem 1rem;
    text-transform: none;
    letter-spacing: 0;
    font-size: 1rem;
  }
  .site-nav a[aria-current="page"]::after { display: none; }
  .header-inner .header-cta { display: none; }
  .site-nav .header-cta-mobile {
    display: inline-flex;
    margin: 0.5rem 1rem 0;
    justify-content: center;
  }
}


/* ——— Buttons ——— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: var(--radius-pill);
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  line-height: 1.2;
}

.btn:hover { text-decoration: none; }

.btn-gradient {
  background: var(--gradient);
  color: #fff;
  box-shadow: 0 4px 16px rgba(123, 44, 255, 0.35);
}

.btn-gradient:hover {
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 6px 22px rgba(123, 44, 255, 0.45);
}

.btn-purple {
  background: var(--purple);
  color: #fff;
}

.btn-purple:hover {
  background: var(--purple-dark);
  color: #fff;
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.55);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border-color: #fff;
}

.btn-outline-dark {
  background: transparent;
  color: var(--text);
  border: 2px solid var(--border);
}

.btn-outline-dark:hover {
  border-color: var(--purple);
  color: var(--purple);
}

.btn-sm {
  padding: 0.5rem 1.1rem;
  font-size: 0.85rem;
}

.btn-block { width: 100%; }

/* ——— Hero ——— */
.hero {
  position: relative;
  background: var(--navy-deep);
  color: var(--text-on-dark);
  overflow: hidden;
  padding: 3.5rem 0 4rem;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(12, 18, 24, 0.88) 0%, rgba(18, 26, 33, 0.72) 45%, rgba(94, 31, 212, 0.35) 100%),
    radial-gradient(ellipse 80% 60% at 70% 40%, rgba(59, 130, 246, 0.25), transparent),
    linear-gradient(180deg, #1a3a4a 0%, #2d4a3e 40%, #3d5a4a 70%, #1a2430 100%);
  z-index: 0;
}

.hero::after {
  /* abstract mountain silhouettes */
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 38%;
  background:
    linear-gradient(to top right, transparent 48%, rgba(10, 14, 20, 0.55) 48.5%, rgba(10, 14, 20, 0.55) 100%),
    linear-gradient(to top left, transparent 42%, rgba(15, 22, 30, 0.45) 42.5%, rgba(15, 22, 30, 0.45) 100%);
  background-size: 55% 100%, 70% 100%;
  background-position: left bottom, right bottom;
  background-repeat: no-repeat;
  opacity: 0.7;
  z-index: 0;
  pointer-events: none;
}

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

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 900px) {
  .hero-grid {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 3rem;
  }
  .hero { padding: 4.5rem 0 5rem; }
}

.hero h1 {
  margin: 0 0 1rem;
  font-size: clamp(1.85rem, 4vw, 2.75rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  font-weight: 800;
}

.hero .lede {
  margin: 0 0 1.75rem;
  font-size: 1.1rem;
  color: var(--text-on-dark-muted);
  max-width: 36ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero-form {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  padding: 1.5rem;
}

.hero-form h2 {
  margin: 0 0 1.25rem;
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.4;
}

.form-group {
  margin-bottom: 0.9rem;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  margin-bottom: 0.35rem;
  color: var(--text-on-dark-muted);
}

.form-group label .req { color: #ff6b6b; }

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.7rem 1rem;
  border: none;
  border-radius: var(--radius-pill);
  font: inherit;
  background: #fff;
  color: var(--text);
}

.form-group textarea {
  border-radius: var(--radius);
  min-height: 110px;
  resize: vertical;
}

.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath fill='%235a6472' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

.form-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 0.5rem;
}

.form-note {
  margin: 0.75rem 0 0;
  font-size: 0.8rem;
  color: var(--text-on-dark-muted);
}

/* Light form variant (contact page) */
.form-light .form-group label { color: var(--text-muted); }
.form-light .form-group input,
.form-light .form-group select,
.form-light .form-group textarea {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}
.form-light .form-note { color: var(--text-muted); }

/* ——— Sections ——— */
.section {
  padding: 4rem 0;
}

.section-alt {
  background: var(--surface-alt);
}

.section-dark {
  background: var(--navy);
  color: var(--text-on-dark);
}

.section-dark .text-muted,
.section-dark .lede {
  color: var(--text-on-dark-muted);
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 2.5rem;
}

.section-header h2 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.5rem, 3vw, 2rem);
  letter-spacing: -0.02em;
}

.eyebrow {
  display: inline-block;
  color: var(--purple);
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
  letter-spacing: 0.02em;
}

.lede {
  color: var(--text-muted);
  margin: 0;
}

h1, h2, h3, h4 {
  line-height: 1.25;
  letter-spacing: -0.015em;
}

/* ——— Feature / service cards ——— */
.card-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

@media (min-width: 640px) {
  .card-grid-2 { grid-template-columns: repeat(2, 1fr); }
  .card-grid-3 { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 900px) {
  .card-grid-3 { grid-template-columns: repeat(3, 1fr); }
  .card-grid-4 { grid-template-columns: repeat(4, 1fr); }
}

.card {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.15rem;
}

.card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.card,
.price-card,
.addon-card,
.value-card,
.quote-card {
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.card:hover,
.price-card:hover,
.addon-card:hover,
.quote-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(123, 44, 255, 0.28);
}

.card-soft {
  background: var(--surface-card);
  border: none;
  box-shadow: none;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.card-soft .icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--purple-soft);
  color: var(--purple);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.service-panel {
  position: relative;
  min-height: 260px;
  border-radius: 0;
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: #fff;
  overflow: hidden;
  background: var(--charcoal);
}

.service-panel h3 {
  margin: 0 0 0.75rem;
  font-size: 1.35rem;
  position: relative;
  z-index: 1;
}

.service-panel p {
  margin: 0;
  max-width: 28ch;
  color: rgba(255, 255, 255, 0.9);
  position: relative;
  z-index: 1;
}

.service-panel--purple {
  background: linear-gradient(160deg, #6b21ff 0%, #7b2cff 50%, #4c1d95 100%);
}

.service-panel--teal {
  background: linear-gradient(160deg, #0f766e 0%, #134e4a 100%);
}

.service-panel--navy {
  background:
    linear-gradient(160deg, rgba(15, 23, 42, 0.72) 0%, rgba(15, 23, 42, 0.82) 100%),
    url("../images/tvroom.webp") center / cover no-repeat;
}

/* ——— Split layout ——— */
.split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 800px) {
  .split {
    grid-template-columns: 1fr 1.1fr;
    gap: 3.5rem;
  }
  .split-reverse { direction: rtl; }
  .split-reverse > * { direction: ltr; }
}

.split-visual {
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 280px;
  background:
    linear-gradient(145deg, rgba(123, 44, 255, 0.25), rgba(59, 130, 246, 0.15)),
    var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.split-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 280px;
}

.split-visual .visual-placeholder {
  padding: 2rem;
  text-align: center;
  color: var(--text-on-dark-muted);
}

.feature-stack {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-top: 1.5rem;
}

/* ——— Pricing ——— */
.pricing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  align-items: stretch;
}

@media (min-width: 800px) {
  .pricing-grid { grid-template-columns: repeat(3, 1fr); }
}

.price-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow);
  position: relative;
}

.price-card.featured {
  border-color: var(--purple);
  box-shadow: 0 12px 40px rgba(123, 44, 255, 0.2);
}

.price-card.featured::before {
  content: "Popular";
  position: absolute;
  top: -0.65rem;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gradient);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.85rem;
  border-radius: var(--radius-pill);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.price-card .plan-img {
  width: 100%;
  border-radius: var(--radius-sm);
  margin-bottom: 1rem;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background: var(--surface-alt);
}

.price-card h3 {
  margin: 0 0 0.25rem;
  font-size: 1.25rem;
}

.price-card .price {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0.5rem 0;
  color: var(--text);
}

.price-card .price span {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-muted);
}

.price-card .plan-tagline {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin: 0 0 1rem;
}

.price-card ul {
  list-style: none;
  padding: 0;
  margin: 0 0 1.25rem;
  flex: 1;
}

.price-card li {
  padding: 0.4rem 0 0.4rem 1.5rem;
  position: relative;
  font-size: 0.95rem;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
}

.price-card li:last-child { border-bottom: none; }

.price-card li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--purple);
  font-weight: 700;
}

.price-card .best-for {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin: 0 0 1.25rem;
  padding-top: 0.5rem;
}

.price-card .best-for strong {
  color: var(--text);
  display: block;
  margin-bottom: 0.25rem;
}

.addons-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 600px) {
  .addons-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 900px) {
  .addons-grid { grid-template-columns: repeat(3, 1fr); }
}

.addon-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
}

.addon-card h3 {
  margin: 0 0 0.35rem;
  font-size: 1.05rem;
}

.addon-card .addon-price {
  color: var(--purple);
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.addon-card p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* ——— FAQ ——— */
.faq-list {
  max-width: 720px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 1.15rem 0;
}

.faq-item summary {
  font-weight: 650;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 0.15rem 0;
  border-radius: var(--radius-sm);
}
.faq-item summary:hover { color: var(--purple-dark); }
.faq-item[open] summary { color: var(--purple-dark); }

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: "+";
  font-size: 1.25rem;
  color: var(--purple);
  font-weight: 400;
}

.faq-item[open] summary::after { content: "−"; }

.faq-item p {
  margin: 0.75rem 0 0;
  color: var(--text-muted);
}

.section-dark .faq-item { border-color: rgba(255, 255, 255, 0.12); }
.section-dark .faq-item p { color: var(--text-on-dark-muted); }

/* ——— Testimonials ——— */
.quote-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

@media (min-width: 700px) {
  .quote-grid { grid-template-columns: repeat(3, 1fr); }
}

.quote-card {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 1.5rem;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.quote-card blockquote {
  margin: 0 0 1rem;
  font-size: 0.95rem;
  color: var(--text-muted);
  quotes: "“" "”";
}

.quote-card blockquote::before { content: open-quote; }
.quote-card blockquote::after { content: close-quote; }

.quote-card cite {
  font-style: normal;
  font-weight: 700;
  font-size: 0.9rem;
  display: block;
}

.quote-card .role {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ——— CTA banner ——— */
.cta-banner {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  padding: 3rem 1.75rem;
  text-align: center;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(12, 18, 24, 0.82), rgba(18, 26, 33, 0.7) 50%, rgba(94, 31, 212, 0.5)),
    url("../images/webmeeting.webp") center / cover no-repeat;
  box-shadow: var(--shadow-lg);
}

.cta-banner h2 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.4rem, 3vw, 1.85rem);
}

.cta-banner p {
  margin: 0 auto 1.5rem;
  max-width: 48ch;
  color: rgba(255, 255, 255, 0.9);
}

.cta-overlap {
  margin-top: -2.5rem;
  margin-bottom: -2.5rem;
  position: relative;
  z-index: 2;
}

/* ——— Values / about ——— */
.values-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 600px) {
  .values-grid { grid-template-columns: repeat(2, 1fr); }
}

.value-card {
  padding: 1.35rem;
  background: var(--surface);
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.value-card h3 {
  margin: 0 0 0.4rem;
  color: var(--purple);
  font-size: 1.05rem;
}

.value-card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* ——— Contact ——— */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 800px) {
  .contact-grid { grid-template-columns: 1fr 1.2fr; }
}

.contact-info dl {
  margin: 0;
}

.contact-info dt {
  font-weight: 700;
  margin-top: 1.25rem;
  margin-bottom: 0.25rem;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--purple);
}

.contact-info dt:first-child { margin-top: 0; }

.contact-info dd {
  margin: 0;
  color: var(--text-muted);
}

.contact-info a {
  color: var(--text);
  text-decoration: none;
}

.contact-info a:hover { color: var(--purple); }

.contact-form-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow);
}

/* ——— Blog ——— */
.blog-list {
  display: grid;
  gap: 1.5rem;
}

.blog-card {
  display: grid;
  gap: 1rem;
  padding: 1.5rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.blog-card:hover {
  border-color: var(--purple);
  box-shadow: 0 12px 32px rgba(123, 44, 255, 0.12);
  color: inherit;
  text-decoration: none;
}

.blog-card h2,
.blog-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.25rem;
  color: var(--text);
}

.blog-card p {
  margin: 0;
  color: var(--text-muted);
}

.blog-meta {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.prose {
  max-width: 720px;
  margin: 0 auto;
}

.prose h1 {
  margin: 0 0 1rem;
  font-size: clamp(1.6rem, 3.5vw, 2.25rem);
}

.prose h2 {
  margin: 2rem 0 0.75rem;
  font-size: 1.35rem;
}

.prose p { margin: 0 0 1rem; color: var(--text); }

.prose ul, .prose ol {
  margin: 0 0 1rem;
  padding-left: 1.25rem;
  color: var(--text-muted);
}

.prose li { margin-bottom: 0.35rem; }

.prose table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  margin: 1.5rem 0;
  overflow-x: auto;
  display: block;
}

.prose th, .prose td {
  border: 1px solid var(--border);
  padding: 0.65rem 0.75rem;
  text-align: left;
  vertical-align: top;
  min-width: 140px;
}

.prose th {
  background: var(--surface-alt);
  font-weight: 650;
}

.prose .compare-scroll {
  overflow-x: auto;
  margin: 1.5rem 0;
}

.prose .compare-scroll table {
  display: table;
  min-width: 640px;
}

/* ——— Privacy ——— */
.legal h2 {
  margin: 2rem 0 0.75rem;
  font-size: 1.2rem;
}

.legal p, .legal li {
  color: var(--text-muted);
}

.legal ul {
  padding-left: 1.25rem;
}

/* ——— Page hero (inner) ——— */
.page-hero {
  position: relative;
  background:
    linear-gradient(180deg, rgba(12, 18, 24, 0.82) 0%, rgba(18, 26, 33, 0.88) 100%),
    url("../images/tvpark.webp") center 40% / cover no-repeat;
  color: #fff;
  padding: 3.25rem 0 3rem;
}

.page-hero h1 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.75rem, 3.5vw, 2.4rem);
}

.page-hero p {
  margin: 0;
  color: var(--text-on-dark-muted);
  max-width: 54ch;
  font-size: 1.05rem;
}

/* ——— Services catalog ——— */
.service-cat {
  margin-bottom: 2.5rem;
}

.service-cat h2 {
  margin: 0 0 1rem;
  font-size: 1.35rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--purple);
  display: inline-block;
}

.service-items {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 640px) {
  .service-items { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 900px) {
  .service-items { grid-template-columns: repeat(3, 1fr); }
}

/* ——— Footer ——— */
.site-footer {
  background: var(--navy-deep);
  color: var(--text-on-dark-muted);
  padding: 3rem 0 1.5rem;
  margin-top: 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

@media (min-width: 700px) {
  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr;
  }
}

.footer-brand .logo {
  margin-bottom: 0.75rem;
}

.footer-brand p {
  margin: 0;
  font-size: 0.9rem;
  max-width: 32ch;
}

.footer-col h3 {
  margin: 0 0 0.75rem;
  color: #fff;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col li { margin-bottom: 0.4rem; }

.footer-col a {
  color: var(--text-on-dark-muted);
  text-decoration: none;
  font-size: 0.95rem;
}

.footer-col a:hover { color: #fff; }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 1.25rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  justify-content: space-between;
  font-size: 0.85rem;
}

.social-links {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ——— Utilities ——— */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.area-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
}

.area-list li {
  background: var(--purple-soft);
  color: var(--purple-dark);
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  font-weight: 600;
}


/* ——— Photo hero (real Boise valley banner) ——— */
.hero--photo {
  background: var(--navy-deep) url("../images/hero-valley.webp") center 35% / cover no-repeat;
}
.hero--photo::before {
  background:
    linear-gradient(100deg, rgba(10, 14, 22, 0.9) 0%, rgba(14, 20, 36, 0.72) 42%, rgba(46, 22, 104, 0.5) 75%, rgba(94, 31, 212, 0.42) 100%),
    linear-gradient(180deg, rgba(10, 14, 22, 0.1) 0%, rgba(10, 14, 22, 0.55) 100%);
}
.hero--photo::after { display: none; }
.hero--photo h1 { text-shadow: 0 2px 18px rgba(0, 0, 0, 0.45); }
.hero--photo .lede { color: #e3e8f0; }
.hero--photo .hero-form {
  background: rgba(10, 14, 22, 0.78);
  border-color: rgba(255, 255, 255, 0.16);
  box-shadow: var(--shadow-lg);
}
.hero-form .form-note a { color: #fff; }

/* ——— Client logo strip ——— */
.trust-strip {
  background: var(--surface-alt);
  padding: 2.5rem 0;
  border-bottom: 1px solid var(--border);
}
.trust-strip .eyebrow { margin: 0 0 1.25rem; text-align: center; }
.logo-strip {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.85rem;
}
@media (min-width: 640px) { .logo-strip { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 960px) { .logo-strip { grid-template-columns: repeat(5, 1fr); } }
.logo-tile {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  height: 96px;
  padding: 0.9rem 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 10px rgba(18, 26, 33, 0.05);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.logo-tile:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.logo-tile--dark { background: var(--navy); border-color: var(--navy); }
.logo-tile img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}
.trust-link { margin: 1.25rem 0 0; font-size: 0.9rem; }

/* ——— Recent project cards ——— */
.project-card { display: flex; flex-direction: column; }
.project-logo {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  height: 120px;
  padding: 1rem 1.25rem;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.project-logo img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}

/* ——— Real photo frames ——— */
.photo-frame {
  position: relative;
  margin: 0;
  box-shadow: var(--shadow-lg);
}
.photo-frame img { display: block; min-height: 300px; }
.photo-frame figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 1.25rem 1.5rem;
  color: #fff;
  background: linear-gradient(0deg, rgba(10, 14, 22, 0.88) 0%, rgba(10, 14, 22, 0) 100%);
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}
.photo-frame figcaption strong { font-size: 1.2rem; }
.photo-frame figcaption span { color: var(--text-on-dark-muted); font-size: 0.95rem; }

/* ——— Form status ——— */
.form-status {
  margin-top: 0.85rem;
  font-size: 0.92rem;
  line-height: 1.45;
  border-radius: var(--radius-sm);
}
.form-status:empty { display: none; }
.form-status.is-success,
.form-status.is-error { padding: 0.7rem 0.9rem; }
.form-status.is-success { background: rgba(16, 185, 129, 0.14); border: 1px solid rgba(16, 185, 129, 0.5); color: #0b7a55; }
.form-status.is-error { background: rgba(239, 68, 68, 0.12); border: 1px solid rgba(239, 68, 68, 0.5); color: #b42318; }
.hero-form .form-status.is-success { color: #a7f3d0; }
.hero-form .form-status.is-error { color: #fecaca; }
.lead-form button[disabled] { opacity: 0.7; cursor: progress; transform: none; }


/* ——— Honeypot (visually hidden, not display:none so bots still fill it) ——— */
.hp {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* Quote card polish */
.quote-card cite { margin-top: 0.15rem; }

/* ——— v5 (2026-11-29): 8-logo strip + 8 project cards, two even rows of 4 ——— */
.logo-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  --cols: 2;
  --gap: 0.85rem;
  gap: var(--gap);
}
.logo-strip > .logo-tile { flex: 0 0 calc((100% - (var(--cols) - 1) * var(--gap)) / var(--cols)); min-width: 0; }
@media (min-width: 640px) { .logo-strip { --cols: 4; } .logo-tile { height: 88px; padding: 0.8rem 0.9rem; } }

.project-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  --cols: 1;
  --gap: 1.25rem;
  gap: var(--gap);
}
.project-grid > .project-card { flex: 0 0 calc((100% - (var(--cols) - 1) * var(--gap)) / var(--cols)); min-width: 0; }
@media (min-width: 640px) { .project-grid { --cols: 2; } }
@media (min-width: 1100px) { .project-grid { --cols: 4; } }
.project-card h3 a { color: inherit; text-decoration: none; }
.project-card h3 a:hover { text-decoration: underline; }
.project-logo a { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; }
.logo-tile a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  text-decoration: none;
}
.logo-tile a:focus-visible {
  outline: none;
  box-shadow: var(--focus);
}

.project-card-link {
  display: flex;
  flex-direction: column;
  flex: 1;
  color: inherit;
  text-decoration: none;
  border-radius: inherit;
}
.project-card-link:hover h3,
.project-card-link:focus-visible h3 {
  text-decoration: underline;
}
.project-card-link:focus-visible {
  outline: none;
  box-shadow: var(--focus);
}

