/* HVAC Hero marketing site — workwear aesthetic */

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font-sans);
  color: var(--fg-1);
  background: var(--bg-page);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }

/* Layout */
.container { max-width: 1240px; margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: 960px; margin: 0 auto; padding: 0 24px; }

/* ===== NAV ===== */
.nav {
  position: sticky; top: 0; z-index: 40;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-1);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 68px;
  max-width: 1240px; margin: 0 auto; padding: 0 24px;
}
.nav-logo {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none; color: var(--ink-900);
}
.nav-logo .mark {
  width: 34px; height: 34px; border-radius: 6px;
  background: var(--brand-blue-800);
  display: flex; align-items: center; justify-content: center;
}
.nav-logo .mark svg { width: 22px; height: 22px; }
.nav-logo .nav-mark {
  width: 42px; height: 42px; display: block;
}
.nav-logo .wordmark {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 22px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--ink-900);
  line-height: 1;
}
.nav-logo .wordmark .orange { color: var(--brand-orange); }
.nav-links { display: flex; gap: 4px; align-items: center; }
.nav-links a {
  font-size: 15px; font-weight: 500; text-decoration: none;
  color: var(--ink-700); padding: 10px 14px; border-radius: 6px;
  transition: background var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out);
}
.nav-links a:hover { background: var(--bg-subtle); color: var(--ink-900); }
.nav-cta { display: flex; gap: 10px; align-items: center; }
@media (max-width: 860px) { .nav-links { display: none; } }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-sans);
  font-weight: 600; font-size: 15px;
  padding: 12px 20px; min-height: 48px;
  border-radius: 6px; border: 1px solid transparent;
  text-decoration: none; cursor: pointer;
  transition: transform var(--dur-fast) var(--ease-out), background var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast) var(--ease-out);
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary {
  background: var(--brand-orange);
  color: var(--fg-on-brand);
  border-color: var(--brand-orange-600);
  box-shadow: var(--shadow-inset), var(--shadow-sm);
}
.btn-primary:hover { background: var(--brand-orange-400); }
.btn-primary:active { background: var(--brand-orange-600); }
.btn-secondary {
  background: transparent; color: var(--ink-900);
  border-color: var(--border-2);
}
.btn-secondary:hover { background: var(--bg-subtle); }
.btn-dark {
  background: var(--brand-blue-800); color: #fff;
  border-color: var(--brand-blue-800);
  box-shadow: var(--shadow-inset);
}
.btn-dark:hover { background: var(--brand-blue-700); }
.btn-ghost { background: transparent; color: var(--ink-700); font-weight: 600; padding: 8px 12px; min-height: 0; }
.btn-ghost:hover { color: var(--brand-orange); }
.btn-lg { min-height: 56px; padding: 14px 26px; font-size: 16px; }

/* ===== SHARED ===== */
.eyebrow {
  font-family: var(--font-sans);
  font-weight: 700; font-size: 12px;
  text-transform: uppercase; letter-spacing: 0.14em;
  color: var(--brand-orange);
  display: inline-flex; align-items: center; gap: 8px;
}
.eyebrow::before {
  content: ''; width: 20px; height: 2px; background: var(--brand-orange);
}
.section { padding: 96px 0; }
.section-tight { padding: 64px 0; }
@media (max-width: 720px) { .section { padding: 64px 0; } }

/* ===== HERO ===== */
.hero {
  background: var(--ink-50);
  position: relative;
  overflow: hidden;
  padding: 80px 0 120px;
  border-bottom: 1px solid var(--border-1);
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--ink-150) 1px, transparent 1px),
    linear-gradient(90deg, var(--ink-150) 1px, transparent 1px);
  background-size: 32px 32px;
  opacity: 0.5;
  mask-image: radial-gradient(ellipse 80% 70% at 30% 40%, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 30% 40%, #000 30%, transparent 80%);
  pointer-events: none;
}
.hero-inner {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.2fr 1fr;
  gap: 64px; align-items: center;
  max-width: 1240px; margin: 0 auto; padding: 0 24px;
}
@media (max-width: 960px) { .hero-inner { grid-template-columns: 1fr; gap: 48px; } }

.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px 6px 8px;
  background: var(--bg-surface);
  border: 1px solid var(--border-1);
  border-radius: 999px;
  font-size: 12px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--ink-700);
  margin-bottom: 28px;
}
.hero-eyebrow .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--brand-orange);
  box-shadow: 0 0 0 3px rgba(219,111,34,0.25);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(219,111,34,0.25); }
  50% { box-shadow: 0 0 0 6px rgba(219,111,34,0.1); }
}
.hero h1 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(48px, 7vw, 88px);
  line-height: 0.94;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  color: var(--ink-900);
  margin: 0 0 24px;
}
.hero h1 .accent { color: var(--brand-orange); }
.hero h1 .underline {
  position: relative; white-space: nowrap;
}
.hero h1 .underline::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0.06em;
  height: 0.12em;
  background: var(--brand-orange);
  z-index: -1;
  opacity: 0.25;
}
.hero-sub {
  font-size: 20px; line-height: 1.5; color: var(--ink-700);
  margin: 0 0 36px; max-width: 560px;
}
.hero-sub strong { color: var(--ink-900); font-weight: 700; }
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 40px; }

.hero-stats {
  display: flex; gap: 32px;
  padding-top: 28px;
  border-top: 1px solid var(--border-1);
  flex-wrap: wrap;
}
.hero-stat-num {
  font-family: var(--font-display);
  font-weight: 800; font-size: 42px; line-height: 1;
  color: var(--ink-900);
  letter-spacing: -0.01em;
  font-feature-settings: 'tnum' 1;
}
.hero-stat-num .unit { color: var(--brand-orange); }
.hero-stat-label {
  font-size: 12px; text-transform: uppercase;
  letter-spacing: 0.12em; color: var(--ink-600);
  font-weight: 600; margin-top: 6px;
}

/* Hero phone demo */
.hero-demo {
  position: relative;
  display: flex; justify-content: center;
  perspective: 1200px;
}
.hero-demo .phone-wrap {
  transform: rotate(3deg);
  filter: drop-shadow(0 30px 50px rgba(18,32,47,0.22));
}
.hero-demo .accent-card {
  position: absolute;
  background: var(--bg-surface);
  border: 1px solid var(--border-1);
  border-radius: 10px;
  padding: 12px 14px;
  box-shadow: var(--shadow-md);
  font-size: 13px; font-weight: 600;
  color: var(--ink-800);
  display: flex; align-items: center; gap: 8px;
}
.hero-demo .accent-card .ok {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--status-ok);
}
.hero-demo .accent-card.tl { top: 40px; left: -20px; transform: rotate(-4deg); }
.hero-demo .accent-card.br { bottom: 80px; right: -16px; transform: rotate(3deg); }
.hero-demo .accent-card .mono { font-family: var(--font-mono); font-size: 12px; color: var(--ink-600); font-weight: 500; }
@media (max-width: 960px) { .hero-demo .accent-card { display: none; } }

/* ===== TRUST STRIP ===== */
.trust {
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border-1);
  padding: 40px 0;
}
.trust-label {
  text-align: center;
  font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.18em;
  color: var(--ink-500);
  margin-bottom: 24px;
}
.trust-logos {
  display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px;
  align-items: center;
}
@media (max-width: 860px) { .trust-logos { grid-template-columns: repeat(3, 1fr); } }
.trust-logo {
  height: 44px;
  border: 1px dashed var(--border-2);
  border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  background: var(--ink-50);
  color: var(--ink-500);
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-family: var(--font-display);
}

/* ===== METRIC BAND ===== */
.metrics {
  background: var(--brand-blue-800);
  color: #fff;
  padding: 72px 0;
  position: relative;
}
.metrics::before {
  content: ''; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}
.metrics-inner { position: relative; z-index: 1; }
.metrics-head {
  display: flex; justify-content: space-between; align-items: end;
  gap: 24px; margin-bottom: 40px; flex-wrap: wrap;
}
.metrics h2 {
  font-family: var(--font-display);
  font-weight: 800; font-size: clamp(32px, 4vw, 48px);
  letter-spacing: -0.01em; text-transform: uppercase;
  line-height: 1; color: #fff; margin: 0;
  max-width: 700px;
}
.metrics-source {
  font-size: 12px; text-transform: uppercase;
  letter-spacing: 0.14em; color: rgba(255,255,255,0.6);
  font-weight: 600;
}
.metrics-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
  border-top: 1px solid rgba(255,255,255,0.15);
  border-left: 1px solid rgba(255,255,255,0.15);
}
@media (max-width: 860px) { .metrics-grid { grid-template-columns: repeat(2, 1fr); } }
.metric-cell {
  padding: 32px 28px;
  border-right: 1px solid rgba(255,255,255,0.15);
  border-bottom: 1px solid rgba(255,255,255,0.15);
}
.metric-cell .num {
  font-family: var(--font-display);
  font-weight: 800; font-size: 64px;
  line-height: 1; letter-spacing: -0.01em;
  color: var(--brand-orange);
  font-feature-settings: 'tnum' 1;
  margin-bottom: 10px;
}
.metric-cell .num .suffix {
  font-size: 28px; color: #fff; margin-left: 4px;
}
.metric-cell .label {
  font-size: 14px; color: rgba(255,255,255,0.78);
  line-height: 1.45;
}
.metric-cell .label strong { color: #fff; }

/* ===== SECTION HEADERS ===== */
.section-head { max-width: 720px; margin-bottom: 56px; }
.section-head h2 {
  font-family: var(--font-display);
  font-weight: 800; font-size: clamp(36px, 5vw, 60px);
  letter-spacing: -0.01em;
  line-height: 1;
  text-transform: uppercase;
  color: var(--ink-900);
  margin: 16px 0 16px;
}
.section-head p {
  font-size: 18px; line-height: 1.55;
  color: var(--ink-600);
  margin: 0; max-width: 620px;
}

/* ===== EXAMPLE PANEL (product demo) ===== */
.demo-panel { background: var(--bg-surface); }
.demo-grid {
  display: grid; grid-template-columns: 420px 1fr; gap: 48px;
  align-items: start;
}
@media (max-width: 960px) { .demo-grid { grid-template-columns: 1fr; } }

.demo-phone-stage {
  position: sticky; top: 100px;
  display: flex; justify-content: center;
}
.demo-phone-stage .phone-wrap { filter: drop-shadow(0 20px 40px rgba(18,32,47,0.18)); }

.demo-transcript {
  background: var(--ink-50);
  border: 1px solid var(--border-1);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.demo-transcript-head {
  background: var(--brand-blue-800); color: #fff;
  padding: 16px 20px;
  display: flex; align-items: center; gap: 12px;
  font-size: 13px;
}
.demo-transcript-head .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--brand-orange);
}
.demo-transcript-head .title {
  font-family: var(--font-display);
  font-size: 18px; font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.demo-transcript-head .meta {
  font-family: var(--font-mono); font-size: 12px;
  color: rgba(255,255,255,0.6); margin-left: auto;
}
.demo-transcript-body { padding: 24px; display: flex; flex-direction: column; gap: 16px; }

.bubble-user {
  align-self: flex-end;
  max-width: 85%;
  background: var(--brand-orange);
  color: #fff;
  padding: 14px 18px;
  border-radius: 14px 14px 4px 14px;
  font-size: 15px; line-height: 1.5;
  font-weight: 500;
  box-shadow: var(--shadow-sm);
}
.bubble-bot {
  align-self: flex-start;
  max-width: 92%;
  background: #fff;
  border: 1px solid var(--border-1);
  padding: 18px 22px;
  border-radius: 14px 14px 14px 4px;
  box-shadow: var(--shadow-sm);
}
.bubble-bot .bot-label {
  font-size: 10px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.14em;
  color: var(--brand-orange);
  display: inline-flex; align-items: center; gap: 6px;
  margin-bottom: 10px;
}
.bubble-bot p { margin: 0 0 12px; font-size: 15px; line-height: 1.55; color: var(--ink-800); }
.bubble-bot p:last-child { margin-bottom: 0; }
.bubble-bot .param {
  font-family: var(--font-mono); font-size: 13px;
  background: var(--ink-100); padding: 2px 6px;
  border-radius: 3px; color: var(--ink-900);
}
.bubble-bot .cite {
  font-size: 12px; color: var(--brand-blue);
  text-decoration: underline;
}

/* ===== HOW IT WORKS ===== */
.how-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}
@media (max-width: 960px) { .how-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .how-grid { grid-template-columns: 1fr; } }

.how-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-1);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  position: relative;
  transition: transform var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out);
}
.how-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.how-card .num {
  font-family: var(--font-display);
  font-weight: 800; font-size: 48px;
  line-height: 1;
  color: var(--brand-orange);
  letter-spacing: -0.01em;
  margin-bottom: 16px;
}
.how-card .icon-box {
  position: absolute; top: 24px; right: 24px;
  width: 40px; height: 40px;
  border: 1px solid var(--border-1);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: var(--brand-blue);
}
.how-card h3 {
  font-family: var(--font-display);
  font-weight: 700; font-size: 22px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--ink-900);
  margin: 0 0 10px;
}
.how-card p {
  font-size: 14px; line-height: 1.5;
  color: var(--ink-600);
  margin: 0;
}

/* ===== FEATURES ===== */
.features-section { background: var(--ink-50); }
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border-1);
  border: 1px solid var(--border-1);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
@media (max-width: 860px) { .features-grid { grid-template-columns: 1fr; } }
.feature {
  background: var(--bg-surface);
  padding: 36px 32px;
}
.feature .icon-box {
  width: 48px; height: 48px;
  background: var(--brand-blue-800);
  color: #fff;
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.feature h3 {
  font-size: 20px; font-weight: 700;
  color: var(--ink-900);
  margin: 0 0 10px;
  letter-spacing: -0.01em;
}
.feature p {
  font-size: 15px; line-height: 1.55;
  color: var(--ink-600);
  margin: 0;
}

/* ===== TESTIMONIAL FEATURE ===== */
.tm-feature {
  background: var(--bg-surface);
  padding: 96px 0;
  border-top: 1px solid var(--border-1);
  border-bottom: 1px solid var(--border-1);
}
.tm-grid {
  display: grid; grid-template-columns: 1.2fr 1fr;
  gap: 80px; align-items: center;
}
@media (max-width: 960px) { .tm-grid { grid-template-columns: 1fr; gap: 48px; } }
.tm-quote {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(28px, 3.5vw, 40px);
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--ink-900);
  margin: 24px 0 32px;
}
.tm-quote .hi { color: var(--brand-orange); }
.tm-attr {
  display: flex; align-items: center; gap: 14px;
  padding-top: 24px;
  border-top: 1px solid var(--border-1);
}
.tm-avatar {
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--brand-blue-800);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 800;
  font-size: 18px; letter-spacing: 0.04em;
}
.tm-attr .name { font-weight: 700; color: var(--ink-900); }
.tm-attr .role { font-size: 13px; color: var(--ink-600); }
.tm-visual {
  background: var(--ink-50);
  border: 1px solid var(--border-1);
  border-radius: var(--radius-lg);
  padding: 28px;
}
.tm-visual .stat {
  display: flex; justify-content: space-between; align-items: baseline;
  padding: 18px 0;
  border-bottom: 1px solid var(--border-1);
}
.tm-visual .stat:last-child { border-bottom: none; }
.tm-visual .stat-label {
  font-size: 13px; font-weight: 600;
  color: var(--ink-700);
  text-transform: uppercase; letter-spacing: 0.08em;
}
.tm-visual .stat-val {
  font-family: var(--font-display);
  font-weight: 800; font-size: 36px;
  color: var(--brand-orange);
  letter-spacing: -0.01em;
  font-feature-settings: 'tnum' 1;
}

/* ===== TESTIMONIAL GRID ===== */
.tm-small-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px;
}
@media (max-width: 720px) { .tm-small-grid { grid-template-columns: 1fr; } }
.tm-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-1);
  border-radius: var(--radius-lg);
  padding: 28px;
}
.tm-card .q {
  font-size: 17px; line-height: 1.55;
  color: var(--ink-800);
  margin: 0 0 20px;
}
.tm-card-attr {
  display: flex; align-items: center; gap: 12px;
  padding-top: 18px; border-top: 1px solid var(--border-1);
}

/* ===== CTA ===== */
.cta {
  padding: 96px 0;
  background: var(--ink-900);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.cta::before {
  content: ''; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 48px 48px;
}
.cta-inner {
  position: relative; z-index: 1;
  text-align: left;
  max-width: 900px;
}
.cta h2 {
  font-family: var(--font-display);
  font-weight: 800; font-size: clamp(40px, 6vw, 76px);
  line-height: 0.96; letter-spacing: -0.01em;
  text-transform: uppercase;
  margin: 16px 0 24px;
}
.cta h2 .accent { color: var(--brand-orange); }
.cta p {
  font-size: 19px; line-height: 1.5;
  color: rgba(255,255,255,0.75);
  max-width: 600px;
  margin: 0 0 36px;
}
.cta-ctas { display: flex; gap: 12px; flex-wrap: wrap; }

/* ===== FOOTER ===== */
.footer {
  background: var(--brand-blue-900); color: rgba(255,255,255,0.7);
  padding: 64px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
.footer h5 {
  font-family: var(--font-display); font-size: 14px;
  text-transform: uppercase; letter-spacing: 0.12em;
  color: #fff; margin: 0 0 16px; font-weight: 700;
}
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer ul li { margin-bottom: 10px; }
.footer ul a {
  color: rgba(255,255,255,0.7); text-decoration: none;
  font-size: 14px;
}
.footer ul a:hover { color: #fff; }
.footer-brand-text { font-size: 14px; line-height: 1.55; max-width: 340px; margin: 16px 0 0; }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 28px; font-size: 12px;
  color: rgba(255,255,255,0.5);
  flex-wrap: wrap; gap: 12px;
}

/* ===== BLOG STYLES ===== */
.blog-hero {
  background: var(--brand-blue-800);
  color: #fff;
  padding: 80px 0 60px;
  position: relative; overflow: hidden;
}
.blog-hero::before {
  content: ''; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: linear-gradient(to bottom, transparent, #000 30%, #000 70%, transparent);
}
.blog-hero-inner { position: relative; z-index: 1; }
.blog-hero h1 {
  font-family: var(--font-display);
  font-weight: 800; font-size: clamp(44px, 7vw, 96px);
  line-height: 0.94; letter-spacing: -0.01em;
  text-transform: uppercase;
  margin: 16px 0 20px;
}
.blog-hero h1 .accent { color: var(--brand-orange); }
.blog-hero p {
  font-size: 19px; line-height: 1.5;
  color: rgba(255,255,255,0.78);
  max-width: 680px; margin: 0;
}
.blog-hero .eyebrow { color: var(--brand-orange); }

/* Featured win */
.featured-win { padding: 80px 0; background: var(--ink-50); }
.featured-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-1);
  border-radius: var(--radius-xl);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  box-shadow: var(--shadow-md);
}
@media (max-width: 960px) { .featured-card { grid-template-columns: 1fr; } }
.featured-media {
  background: var(--brand-blue-800);
  color: #fff;
  padding: 48px;
  position: relative;
  overflow: hidden;
  display: flex; flex-direction: column; justify-content: space-between;
  min-height: 520px;
}
.featured-media::before {
  content: ''; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 32px 32px;
}
.featured-media > * { position: relative; z-index: 1; }
.featured-media .alarm-stack {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 10px;
  padding: 20px;
  margin-top: 20px;
}
.featured-media .alarm {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  font-family: var(--font-mono); font-size: 13px;
}
.featured-media .alarm:last-child { border-bottom: none; }
.featured-media .alarm .tag-err {
  background: var(--status-danger);
  color: #fff;
  font-family: var(--font-sans);
  font-size: 10px; font-weight: 700;
  padding: 3px 8px; border-radius: 3px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.featured-media .alarm .desc { color: rgba(255,255,255,0.85); flex: 1; }
.featured-content { padding: 48px; }
.featured-content .tag-live {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.14em;
  color: var(--brand-orange);
  margin-bottom: 20px;
}
.featured-content .tag-live .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--brand-orange);
  box-shadow: 0 0 0 3px rgba(219,111,34,0.2);
}
.featured-content h2 {
  font-family: var(--font-display);
  font-weight: 800; font-size: clamp(32px, 4vw, 48px);
  line-height: 1; letter-spacing: -0.01em;
  text-transform: uppercase;
  color: var(--ink-900);
  margin: 0 0 20px;
}
.featured-content .dek {
  font-size: 17px; line-height: 1.55;
  color: var(--ink-700);
  margin: 0 0 28px;
}
.featured-byline {
  display: flex; gap: 24px; flex-wrap: wrap;
  padding: 20px 0; margin-bottom: 24px;
  border-top: 1px solid var(--border-1);
  border-bottom: 1px solid var(--border-1);
}
.featured-byline div .label {
  font-size: 10px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.14em;
  color: var(--ink-500); margin-bottom: 4px;
}
.featured-byline div .val {
  font-size: 14px; font-weight: 600; color: var(--ink-900);
}
.featured-byline div .val.mono { font-family: var(--font-mono); font-size: 13px; }
.featured-outcome {
  display: flex; gap: 16px; flex-wrap: wrap;
  margin-bottom: 28px;
}
.outcome-stat {
  flex: 1; min-width: 120px;
  background: var(--ink-50);
  border: 1px solid var(--border-1);
  border-radius: 8px;
  padding: 16px;
}
.outcome-stat .n {
  font-family: var(--font-display);
  font-weight: 800; font-size: 32px;
  color: var(--brand-orange);
  line-height: 1;
  margin-bottom: 4px;
}
.outcome-stat .l {
  font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--ink-600);
}

/* Wins grid */
.wins { padding: 80px 0; }
.wins-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 40px; flex-wrap: wrap; }
.wins-head h2 {
  font-family: var(--font-display);
  font-weight: 800; font-size: clamp(32px, 4vw, 48px);
  letter-spacing: -0.01em; line-height: 1;
  text-transform: uppercase;
  color: var(--ink-900);
  margin: 8px 0 0;
}
.wins-filter {
  display: flex; gap: 4px; flex-wrap: wrap;
  padding: 4px;
  background: var(--ink-100);
  border-radius: 8px;
}
.wins-filter button {
  padding: 8px 14px;
  border: none;
  background: transparent;
  font-family: var(--font-sans);
  font-size: 13px; font-weight: 600;
  color: var(--ink-600);
  border-radius: 6px;
  cursor: pointer;
  white-space: nowrap;
}
.wins-filter button.active {
  background: var(--bg-surface);
  color: var(--ink-900);
  box-shadow: var(--shadow-xs);
}
.wins-filter button:hover:not(.active) { color: var(--ink-900); }

.wins-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
@media (max-width: 960px) { .wins-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .wins-grid { grid-template-columns: 1fr; } }

.win-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-1);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out);
  cursor: pointer;
  text-decoration: none;
  color: inherit;
}
.win-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--ink-300);
}
.win-card-head {
  padding: 20px 24px;
  border-bottom: 1px solid var(--border-1);
  display: flex; align-items: center; justify-content: space-between;
  background: var(--ink-50);
}
.win-tag {
  font-size: 10px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.14em;
}
.win-tag.t-rooftop { color: var(--brand-orange); }
.win-tag.t-boiler { color: var(--status-danger); }
.win-tag.t-drive { color: var(--brand-blue); }
.win-tag.t-refrig { color: var(--equip-cool); }
.win-tag.t-heat { color: var(--equip-heat); }
.win-tag.t-mini { color: var(--status-ok); }
.win-card-head .week {
  font-family: var(--font-mono);
  font-size: 11px; color: var(--ink-500);
  font-weight: 500;
}
.win-card-body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.win-card-body .equip {
  font-family: var(--font-mono);
  font-size: 12px; color: var(--ink-600);
  margin-bottom: 10px;
  padding: 4px 8px;
  background: var(--ink-100);
  border-radius: 4px;
  align-self: flex-start;
}
.win-card-body h3 {
  font-family: var(--font-display);
  font-weight: 800; font-size: 24px;
  text-transform: uppercase; letter-spacing: -0.01em;
  line-height: 1.05;
  color: var(--ink-900);
  margin: 0 0 12px;
}
.win-card-body p {
  font-size: 14px; line-height: 1.5;
  color: var(--ink-600);
  margin: 0 0 20px;
  flex: 1;
}
.win-card-foot {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 16px;
  border-top: 1px dashed var(--border-1);
}
.win-card-foot .saved {
  font-family: var(--font-display);
  font-weight: 700; font-size: 16px;
  color: var(--brand-orange);
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.win-card-foot .tech {
  font-size: 12px; color: var(--ink-500);
  font-weight: 500;
}

/* Newsletter */
.newsletter {
  padding: 80px 0;
  background: var(--brand-blue-800);
  color: #fff;
}
.newsletter-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px; align-items: center;
}
@media (max-width: 860px) { .newsletter-inner { grid-template-columns: 1fr; gap: 32px; } }
.newsletter h2 {
  font-family: var(--font-display);
  font-weight: 800; font-size: clamp(32px, 4vw, 52px);
  line-height: 0.96; letter-spacing: -0.01em;
  text-transform: uppercase;
  margin: 16px 0 16px;
}
.newsletter h2 .accent { color: var(--brand-orange); }
.newsletter p {
  font-size: 17px; line-height: 1.5;
  color: rgba(255,255,255,0.75);
  margin: 0;
}
.newsletter-form {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-lg);
  padding: 28px;
}
.newsletter-form label {
  font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.14em;
  color: rgba(255,255,255,0.7);
  display: block; margin-bottom: 10px;
}
.newsletter-form .row { display: flex; gap: 10px; }
.newsletter-form input {
  flex: 1;
  background: var(--ink-900);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 6px;
  padding: 14px 16px;
  font-family: var(--font-sans);
  font-size: 15px;
  color: #fff;
  outline: none;
}
.newsletter-form input::placeholder { color: rgba(255,255,255,0.4); }
.newsletter-form input:focus { border-color: var(--brand-orange); box-shadow: 0 0 0 3px rgba(219,111,34,0.25); }
.newsletter-form .help {
  font-size: 12px; color: rgba(255,255,255,0.5);
  margin-top: 12px;
}
