/* =====================================================================
   NYES Protect — Homepage Styles
   ===================================================================== */

/* =====================================================================
   HERO
   ===================================================================== */
.hero {
  position: relative;
  min-height: 560px;
  background: var(--dark);
  overflow: hidden;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 18, 35, 0.62);
  z-index: 1;
}

.hero-content {
  position: relative;
  display: flex;
  align-items: center;
  padding: 5rem 2rem 5rem 0;
  padding-left: max(3rem, calc((100vw - 1400px) / 2 + 3rem));
  max-width: 55%;
  z-index: 2;
}

.hero-text[data-animate="hero-text"] {
  opacity: 0;
  transform: translateY(40px);
}

.hero-text[data-animate="hero-text"].is-visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity .8s ease, transform .8s ease;
}

.hero-eyebrow {
  font-family: var(--font-body);
  font-size: .8rem;
  letter-spacing: .18em;
  color: var(--blue-light);
  margin-bottom: 1.2rem;
}

.hero-heading {
  display: flex;
  flex-direction: column;
  line-height: .9;
  margin-bottom: .6rem;
}

.hero-title-nyes {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(72px, 9vw, 128px);
  color: var(--white);
  letter-spacing: 0;
  line-height: .88;
}

.hero-title-protect {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(72px, 9vw, 128px);
  color: var(--blue);
  letter-spacing: 0;
  line-height: .88;
}

.hero-sub {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 400;
  color: var(--white);
  margin-bottom: .9rem;
}

.hero-desc {
  font-size: .92rem;
  color: rgba(255, 255, 255, .7);
  max-width: 440px;
  line-height: 1.7;
  margin-bottom: 2rem;
}

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

.hero-image {
  position: relative;
  overflow: hidden;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-image-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #1a3560 0%, #0d1f40 40%, #162a50 70%, #0b1828 100%);
  position: relative;
  overflow: hidden;
}

.hero-image-placeholder::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(-45deg,
      transparent,
      transparent 40px,
      rgba(68, 114, 196, .06) 40px,
      rgba(68, 114, 196, .06) 42px);
}

/* =====================================================================
   STATS BAR
   ===================================================================== */
.stats-bar {
  background: var(--dark);
  border-top: 1px solid rgba(119, 152, 192, .25);
  /* subtle blue border separating from hero */
  border-bottom: 1px solid rgba(119, 152, 192, .25);
  padding: 2rem 0;
}

.stats-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .5rem;
  flex: 1;
  min-width: 120px;
  text-align: center;
}

.stat-icon {
  width: 56px;
  height: 56px;
  color: var(--blue-light);
}

.stat-icon svg {
  width: 100%;
  height: 100%;
}

.stat-icon--map {
  width: 72px;
  height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 5px;
}

.stat-icon--map img {
  width: 100%;
  height: auto;
  display: block;
  opacity: .85;
}

.stat-label {
  font-family: var(--font-body);
  font-size: .82rem;
  letter-spacing: .05em;
  color: var(--white);
  white-space: nowrap;
}

.stat-item--large .stat-number {
  font-family: var(--font-display);
  font-size: 2.8rem;
  color: var(--blue-light);
  line-height: 1;
  letter-spacing: .02em;
}

.stat-item--text .stat-badge {
  font-family: var(--font-display);
  font-size: 2.8rem;
  color: var(--blue-light);
  letter-spacing: .04em;
  line-height: 1;
}

/* =====================================================================
   TICKER
   ===================================================================== */
.ticker-wrap {
  background: var(--ticker-bg);
  overflow: hidden;
  padding: .65rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.ticker-track {
  display: flex;
  align-items: center;
  white-space: nowrap;
  animation: ticker-scroll 40s linear infinite;
  will-change: transform;
}

.ticker-track:hover {
  animation-play-state: paused;
}

.ticker-item {
  font-family: var(--font-body);
  font-size: .8rem;
  letter-spacing: .08em;
  color: #fff;
  font-weight: 600;
  padding: 0 .5rem;
}

.ticker-dot {
  color: var(--blue-light);
  padding: 0 .25rem;
  font-size: .7rem;
}

@keyframes ticker-scroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

/* =====================================================================
   PRODUCT CATEGORIES
   ===================================================================== */
.product-categories {
  background: var(--white);
  padding: 5rem 0 4rem;
}

.cats-heading {
  text-align: center;
  font-size: clamp(52px, 7vw, 96px);
  margin-bottom: 3rem;
  line-height: .9;
}

.cats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
}

.cat-card {
  background: var(--card-blue);
  border-radius: var(--radius);
  border: 1px solid var(--blue);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
}

.cat-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, .12);
}

.cat-card-link {
  display: block;
}

.cat-card-image {
  height: 180px;
  background: #ffffff;
  overflow: hidden;
  position: relative;
}

.cat-card-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 8px;
  transition: transform .5s ease;
}

.cat-card:hover .cat-card-image img {
  transform: scale(1.05);
}

.cat-card-image-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #b8d0ea 0%, #8fb5d8 50%, #6699c4 100%);
  position: relative;
  overflow: hidden;
}

.cat-card-image-placeholder::after {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(-30deg, transparent, transparent 20px,
      rgba(255, 255, 255, .08) 20px, rgba(255, 255, 255, .08) 22px);
}

.cat-card-image-placeholder--icon {
  display: flex;
  align-items: center;
  justify-content: center;
}

.cat-card-image-placeholder--icon::after {
  display: none;
}

.cat-card-image-placeholder--icon svg {
  width: 72%;
  height: auto;
  color: rgba(255, 255, 255, .85);
  position: relative;
  z-index: 1;
}

.cat-card-body {
  padding: 0.75rem 1rem 1rem;
}

.cat-card-title {
  font-family: var(--font-serif);
  font-size: 1.45rem;
  font-weight: 400;
  margin-bottom: .5rem;
}

.cat-card-title a {
  color: var(--white);
  transition: color var(--transition);
}

.cat-card-title a:hover {
  color: rgba(255, 255, 255, .8);
}

.cat-card-desc {
  font-size: .82rem;
  color: rgba(255, 255, 255, .85);
  line-height: 1.55;
  margin-bottom: .85rem;
}

.cat-card-count {
  font-family: var(--font-display);
  font-size: 1.1rem;
  letter-spacing: .06em;
  color: var(--white);
  transition: color var(--transition);
}

.cat-card-count:hover {
  color: rgba(255, 255, 255, .8);
}

/* =====================================================================
   GOV TRUST
   ===================================================================== */
.gov-trust {
  background: #0A0A0A;
  padding: 5rem 0;
}

.gov-trust-bg {
  width: 100%;
}

.gov-heading {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(52px, 7vw, 96px);
  color: var(--white);
  text-align: center;
  line-height: .9;
  letter-spacing: .01em;
  margin-bottom: .8rem;
}

.gov-heading span {
  display: block;
  color: var(--blue);
}

.gov-subtitle {
  text-align: center;
  font-family: var(--font-body);
  font-size: 1rem;
  letter-spacing: .05em;
  color: var(--white);
  margin-bottom: 2.5rem;
}

.agency-logos-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  width: 100%;
}

.agency-logo-item {
  display: block;
  background: transparent;
}

.agency-logo-item img {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 0;
  display: block;
  transition: opacity var(--transition);
}

.agency-logo-item img:hover {
  opacity: .85;
}

/* =====================================================================
   FEATURED PRODUCTS
   ===================================================================== */
.featured-products {
  background: var(--dark);
  padding: 5rem 0;
}

.section-header-block {
  text-align: center;
  margin-bottom: 2.5rem;
}

.section-header-block .section-heading {
  font-size: clamp(52px, 7vw, 96px);
  line-height: .88;
  margin-bottom: .6rem;
}

.section-sub {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  letter-spacing: .04em;
  color: var(--white);
  margin-bottom: 2rem;
}

/* Product filter tabs */
.product-tabs {
  display: flex;
  align-items: center;
  gap: .5rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
  justify-content: center;
}

.product-tab {
  padding: 10px 20px;
  font-family: var(--font-body);
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .03em;
  color: rgba(255, 255, 255, .6);
  border: 1.5px solid rgba(255, 255, 255, .2);
  border-radius: 2px;
  transition: all var(--transition);
  background: transparent;
}

.product-tab:hover {
  color: var(--white);
  border-color: rgba(255, 255, 255, .5);
}

.product-tab.is-active {
  background: #7798c0;
  color: var(--white);
  border-color: #7798c0;
}

/* Products grid */
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
}

.product-card {
  background: #ffffff;
  display: flex;
  flex-direction: column;
  transition: opacity .35s ease, transform .35s ease;
}

.product-card.is-hiding {
  opacity: 0;
  transform: scale(.96);
  pointer-events: none;
}

.product-card.is-hidden {
  display: none;
}

.product-card-image-link {
  display: block;
}

.product-card-image {
  height: 260px;
  background: #ffffff;
  overflow: hidden;
  position: relative;
}

.product-card-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 8px;
  transition: transform .5s ease;
}

.product-card:hover .product-card-image img {
  transform: scale(1.04);
}

.product-card-image-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(160deg, #b8d0ea 0%, #d8eaf8 50%, #e8f4fb 100%);
  position: relative;
  overflow: hidden;
}

.product-card-image-placeholder::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 60%, rgba(255, 255, 255, .4) 0%, transparent 70%);
}

.product-card-body {
  padding: 0.75rem 1rem;
  display: flex;
  flex-direction: column;
  flex: 1;
  border-top: 1px solid var(--gray-light);
}

.product-card-meta {
  margin-bottom: .6rem;
}

.product-card-title {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 400;
  letter-spacing: 0;
  color: var(--dark);
  margin-bottom: .15rem;
}

.product-card-title a {
  color: inherit;
  transition: color var(--transition);
}

.product-card-title a:hover {
  color: var(--blue);
}

.product-card-variant {
  font-size: .72rem;
  letter-spacing: .1em;
  color: var(--blue);
  text-transform: uppercase;
}

.product-card-features {
  list-style: none;
  margin-bottom: 1rem;
  flex: 1;
}

.product-card-features li {
  position: relative;
  padding-left: 1.1rem;
  font-size: .83rem;
  font-weight: 500;
  color: #111;
  line-height: 1.6;
}

.product-card-features li::before {
  content: '–';
  position: absolute;
  left: 0;
  color: var(--blue);
}

.product-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .75rem 1.3rem;
  margin-top: auto;
  margin-left: -1rem;
  margin-right: -1rem;
  margin-bottom: -0.75rem;
  background: #f1f4f8;
  border-top: 1px solid var(--gray-light);
}

.product-card-qty {
  font-family: var(--font-body);
  font-size: .78rem;
  letter-spacing: .02em;
  color: #666;
}

.product-card-inquire {
  font-family: var(--font-body);
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .03em;
  color: var(--blue);
  transition: color var(--transition), letter-spacing var(--transition);
}

.product-card-inquire:hover {
  color: var(--blue-hover);
  letter-spacing: .18em;
}

/* =====================================================================
   SUPPLY CHAIN MAP
   ===================================================================== */
.supply-chain {
  background: #171c1d;
  padding: 5rem 0 4rem;
  overflow: hidden;
}

.supply-chain-inner {
  width: 100%;
}

.supply-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.supply-eyebrow {
  font-family: var(--font-body);
  font-size: .85rem;
  letter-spacing: .08em;
  color: #7798c0;
  margin-bottom: 1rem;
}

.supply-heading {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(52px, 7vw, 96px);
  color: #7798c0;
  line-height: .9;
  letter-spacing: .01em;
  margin-bottom: 1rem;
}

.supply-heading span {
  display: block;
  color: var(--white);
}

.supply-desc {
  font-size: .9rem;
  color: var(--white);
  max-width: 560px;
  margin: 0 auto 2rem;
  line-height: 1.7;
}

/* Supply chain filter tabs */
.supply-tabs {
  display: flex;
  align-items: center;
  gap: .4rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 3rem;
}

.supply-tab {
  padding: 10px 20px;
  font-family: var(--font-body);
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .03em;
  color: rgba(255, 255, 255, .6);
  border: 1.5px solid rgba(255, 255, 255, .2);
  border-radius: 2px;
  transition: all var(--transition);
  background: transparent;
}

.supply-tab:hover {
  color: var(--white);
  border-color: rgba(255, 255, 255, .5);
}

.supply-tab.is-active {
  background: #7798c0;
  color: var(--white);
  border-color: #7798c0;
}

/* Map layout */
.supply-body {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 2.5rem;
  align-items: start;
}

/* SVG Map */
.map-wrap {
  width: 100%;
  position: relative;
}

.us-map {
  width: 100%;
  height: auto;
  display: block;
}

.us-outline {
  fill: none;
  stroke: #7798c0;
  stroke-width: 1.2;
  stroke-linejoin: round;
}

.map-loading {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, .3);
  font-family: var(--font-body);
  font-size: .8rem;
  letter-spacing: .04em;
  pointer-events: none;
}

.map-dot {
  transition: opacity .4s ease, r .4s ease;
}

.map-dot.is-dimmed {
  opacity: .15;
}

/* Hub pulse ring animation */
.hub-pulse-ring {
  fill: rgba(255, 68, 68, .2);
  animation: hub-pulse 2s ease-out infinite;
}

@keyframes hub-pulse {
  0% {
    r: 10;
    opacity: .6;
  }

  70% {
    r: 22;
    opacity: 0;
  }

  100% {
    r: 10;
    opacity: 0;
  }
}

/* Supply dots pulse */
.supply-dot {
  animation: dot-pulse 3s ease-in-out infinite;
}

.dist-dot {
  animation: dot-pulse 3s ease-in-out infinite .5s;
}

.dual-dot {
  animation: dot-pulse 3s ease-in-out infinite 1s;
}

@keyframes dot-pulse {

  0%,
  100% {
    opacity: .8;
  }

  50% {
    opacity: 1;
  }
}

/* Stats panel */
.supply-stats {
  background: transparent;
  border: none;
  padding: 1.8rem 0;
}

.supply-stats-title {
  font-family: var(--font-body);
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0;
  color: var(--white);
  margin-bottom: .4rem;
}

.supply-stats-sub {
  font-size: .78rem;
  color: rgba(255, 255, 255, .4);
  line-height: 1.55;
  margin-bottom: 1.5rem;
}

.supply-stat-rows {
  display: flex;
  flex-direction: column;
  gap: .75rem;
  margin-bottom: 1.5rem;
}

.supply-stat-row {
  display: flex;
  align-items: center;
  gap: .75rem;
  background: #0e0e14;
  border-top: 1px solid color-mix(in srgb, var(--bar-color, #7798c0) 22%, transparent);
  border-right: 1px solid color-mix(in srgb, var(--bar-color, #7798c0) 22%, transparent);
  border-bottom: 1px solid color-mix(in srgb, var(--bar-color, #7798c0) 22%, transparent);
  border-left: 3px solid var(--bar-color, #7798c0);
  border-radius: 10px;
  padding: .65rem .9rem;
  box-shadow: inset 0 0 18px var(--bar-glow, transparent), 0 0 10px var(--bar-glow, transparent);
  transition: box-shadow var(--transition);
}

.supply-stat-row:hover {
  box-shadow: inset 0 0 22px var(--bar-glow, transparent), 0 0 14px var(--bar-glow, transparent);
}

.supply-stat-row.is-dimmed {
  opacity: .3;
}

.supply-stat-bar {
  display: none;
}

.supply-stat-content {
  flex: 1;
  min-width: 0;
}

.sstat-label {
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--bar-color, var(--white));
  margin-bottom: .2rem;
}

.sstat-title {
  font-size: .82rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: .15rem;
}

.sstat-sub {
  font-size: .72rem;
  color: rgba(255, 255, 255, .5);
}

.sstat-num {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--bar-color, var(--white));
  min-width: 28px;
  text-align: right;
}

/* Map Legend */
.map-legend {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .4rem .5rem;
  background: rgba(255, 255, 255, .04);
  border-radius: 8px;
  padding: .8rem 1rem;
  margin-top: .25rem;
}

.map-legend-title {
  grid-column: 1 / -1;
  font-family: var(--font-body);
  font-size: .65rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .35);
  margin-bottom: .25rem;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: .4rem;
  font-size: .72rem;
  color: rgba(255, 255, 255, .5);
}

.legend-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

/* =====================================================================
   SUPPLY CHAIN MAP — new SVG map elements
   ===================================================================== */

/* Stat-row color classes (replaces old inline --bar-color vars) */
.stat-manufacturing { --bar-color: #ef4444; --bar-bg: rgba(239,68,68,.07); --bar-glow: rgba(239,68,68,.22); }
.stat-supply        { --bar-color: #3b82f6; --bar-bg: rgba(59,130,246,.07); --bar-glow: rgba(59,130,246,.22); }
.stat-distribution  { --bar-color: #22c55e; --bar-bg: rgba(34,197,94,.07);  --bar-glow: rgba(34,197,94,.22);  }
.stat-dual          { --bar-color: #8b5cf6; --bar-bg: rgba(139,92,246,.07); --bar-glow: rgba(139,92,246,.22); }

/* Map container */
.us-map-container {
  position: relative;
}

#map-container {
  position: relative;
  overflow: visible;
}

#map-container svg {
  width: 100%;
  height: auto;
  display: block;
  overflow: visible;
}

/* Hover info card */
.map-info-card {
  position: absolute;
  top: 1rem;
  left: 1rem;
  min-width: 180px;
  padding: .75rem 1rem;
  background: rgba(14, 25, 40, .92);
  border: 1px solid rgba(119, 152, 192, .18);
  border-radius: 8px;
  color: #fff;
  backdrop-filter: blur(12px);
  box-shadow: 0 6px 24px rgba(0, 0, 0, .35);
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity .15s ease, transform .15s ease;
  pointer-events: none;
  z-index: 20;
}

.map-info-card.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.map-info-card .info-title {
  font-size: .95rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: .4rem;
}

.map-info-card .info-category {
  display: flex;
  align-items: center;
  gap: .4rem;
  font-size: .8rem;
  font-weight: 500;
}

.map-info-card .info-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  flex-shrink: 0;
  box-shadow: 0 0 5px currentColor;
}

.map-info-card .info-subtitle {
  margin-top: .5rem;
  font-size: .75rem;
  color: #aec6e8;
}

.map-info-card .info-subtitle:empty {
  display: none;
}

/* Map element spotlight filtering */
.map-element {
  transition: opacity var(--transition);
}

.map-element.is-active  { opacity: 1 !important; }
.map-element.is-dimmed  { opacity: .25 !important; }
.map-element.is-hidden  { opacity: 0 !important; pointer-events: none; }

/* Marker hover styles */
.marker-group {
  cursor: pointer;
}

.marker-hitbox {
  pointer-events: all;
}

.state-pill {
  opacity: 0;
  pointer-events: none;
  transition: opacity .15s ease;
}

.marker-group:hover .state-pill {
  opacity: 1;
}

/* =====================================================================
   LATEST INSIGHTS
   ===================================================================== */
.latest-insights {
  background: var(--insights-bg);
  padding: 5rem 0;
}

.insights-heading {
  font-size: clamp(52px, 7vw, 96px);
  font-weight: 400;
  color: var(--white);
  text-align: center;
  margin-bottom: 2.5rem;
  line-height: .9;
}

.insights-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.insight-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  transition: transform var(--transition), box-shadow var(--transition);
}

.insight-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 35px rgba(0, 0, 0, .18);
}

.insight-card-meta {
  font-size: .72rem;
  color: var(--gray);
  margin-bottom: .65rem;
  letter-spacing: .04em;
}

.insight-card-meta time {
  color: #7798c0;
}

.insight-card-cat {
  font-family: var(--font-body);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .04em;
  color: var(--blue);
  text-transform: uppercase;
}

.insight-card-title {
  font-family: var(--font-body);
  font-size: .92rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
  color: var(--dark);
  line-height: 1.15;
  margin-bottom: .65rem;
  flex: 1;
}

.insight-card-title a {
  color: inherit;
  transition: color var(--transition);
}

.insight-card-title a:hover {
  color: var(--blue);
}

.insight-card-excerpt {
  font-size: .8rem;
  color: #555;
  line-height: 1.6;
  margin-bottom: 1.2rem;
  flex: 1;
}

.insight-card-link {
  font-family: var(--font-body);
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .03em;
  color: var(--blue);
  margin-top: auto;
  transition: color var(--transition);
}

.insight-card-link:hover {
  color: var(--blue-hover);
}

/* =====================================================================
   HOW IT WORKS
   ===================================================================== */
.how-it-works {
  background: var(--white);
  padding: 5rem 0 6rem;
}

.hiw-heading {
  font-size: clamp(52px, 7vw, 96px);
  font-weight: 400;
  color: var(--blue);
  text-align: center;
  margin-bottom: 3rem;
  line-height: .9;
}

.hiw-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: .75rem;
  max-width: 1400px;
  margin: 0 auto;
}

.hiw-card {
  position: relative;
  display: flex;
  flex-direction: column;
}

.hiw-card-image {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
}

.hiw-card-image img {
  width: 100%;
  height: auto;
  display: block;
}

.hiw-card-image-placeholder {
  aspect-ratio: 4 / 3;
  background: rgba(119, 152, 192, 0.12);
  border-radius: var(--radius);
}


/* =====================================================================
   CTA SECTION
   ===================================================================== */
.cta-section {
  background: var(--white);
  padding: 6rem 0 5rem;
  text-align: center;
}

.cta-heading {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(52px, 7vw, 96px);
  line-height: .9;
  letter-spacing: .01em;
  margin-bottom: 1rem;
}

.cta-heading-dark {
  color: var(--dark);
  display: block;
}

.cta-heading-blue {
  color: var(--blue);
  display: block;
}

.cta-sub {
  font-size: .95rem;
  color: var(--gray);
  margin-bottom: 2.5rem;
}

/* =====================================================================
   INSTAGRAM FEED SECTION
   ===================================================================== */
.instagram-feed-section {
  background: var(--off-white);
  padding: 5rem 0;
}

.instagram-feed-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.instagram-feed-header .section-heading {
  margin-bottom: 0;
}

.instagram-handle {
  font-family: var(--font-display);
  font-size: 1.1rem;
  letter-spacing: .08em;
  color: var(--blue);
  text-decoration: none;
  transition: color .2s;
}

.instagram-handle:hover {
  color: var(--blue-hover);
}

.instagram-feed-wrap {
  width: 100%;
}

/* =====================================================================
   RESPONSIVE — Homepage
   ===================================================================== */
@media (max-width: 1024px) {
  .cats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .supply-body {
    grid-template-columns: 1fr;
  }

  .supply-stats {
    max-width: 600px;
    margin: 0 auto;
  }

  .map-legend {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 900px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .agency-logos-grid {
    grid-template-columns: repeat(3, 1fr);
  }

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

@media (max-width: 768px) {
  .hero {
    min-height: 480px;
  }

  .hero-content {
    padding: 3.5rem 1.5rem 3rem;
    max-width: 100%;
  }

  .cats-grid {
    grid-template-columns: 1fr;
    max-width: 420px;
    margin: 0 auto;
  }

  .products-grid {
    grid-template-columns: 1fr;
  }

  .insights-grid {
    grid-template-columns: 1fr;
  }

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

  .map-legend {
    grid-template-columns: 1fr 1fr;
  }

  .supply-tabs {
    gap: .3rem;
  }

  .supply-tab {
    padding: 7px 12px;
    font-size: .72rem;
  }
}

@media (max-width: 480px) {
  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn-primary,
  .hero-actions .btn-outline {
    width: 100%;
    text-align: center;
  }

  .stats-inner {
    grid-template-columns: 1fr 1fr;
    display: grid;
    gap: 1.5rem;
  }

  .cta-heading {
    font-size: clamp(48px, 12vw, 80px);
  }

  .product-tabs {
    gap: .3rem;
  }

  .product-tab {
    padding: 8px 12px;
    font-size: .76rem;
  }

  .agency-logos-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}