/* ===========================================================
   Varun Marketing — Home page styles
   Palette: dark green / steel grey / yellow / red
   Fonts: Archivo (display), IBM Plex Mono (labels/data)
=========================================================== */

:root {
  --green-900: #0f2a1e;
  --green-800: #173a2a;
  --green-700: #1f4d36;
  --green-line: #2d5240;
  --ink: #1a2b22;
  --steel: #5d615e;
  --steel-light: #8fb09e;
  --cream: #f3efe6;
  --cream-alt: #fbf9f4;
  --paper: #ffffff;
  --border: #e6dfcf;
  --border-soft: #eee7d8;
  --yellow: #f2c14e;
  --yellow-deep: #b37d0a;
  --red: #d63a2f;
  --dusk-bg: #161b1e;

  --radius-lg: 22px;
  --radius-md: 16px;
  --radius-sm: 10px;
  --shadow-card: 0 16px 40px rgba(15, 42, 30, 0.10);

  --font-display: 'Archivo', Helvetica, Arial, sans-serif;
  --font-mono: 'IBM Plex Mono', ui-monospace, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-display);
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, dl, blockquote, figure { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font-family: inherit; cursor: pointer; }
.mono { font-family: var(--font-mono); }

.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 100;
  background: var(--yellow); color: var(--ink); padding: 12px 18px;
  border-radius: 0 0 8px 0; font-weight: 700;
}
.skip-link:focus { left: 0; }

:focus-visible { outline: 2px solid var(--yellow); outline-offset: 2px; }

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

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 14px 26px; border-radius: 999px; font-size: 15px; font-weight: 700;
  border: none; line-height: 1; white-space: nowrap;
  transition: transform .12s ease, filter .12s ease;
}
.btn:hover { transform: translateY(-1px); filter: brightness(1.03); }
.btn-block { width: 100%; }
.btn-yellow { background: var(--yellow); color: var(--ink); }
.btn-red { background: var(--red); color: #ffffff; }
.btn-ghost { background: rgba(255,255,255,.14); color: #ffffff; }
.btn-ghost-dark { background: rgba(255,255,255,.14); color: #ffffff; }
.btn-outline-dark { background: transparent; border: 1.5px solid var(--ink); color: var(--ink); }
.btn-icon svg { flex-shrink: 0; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: var(--dusk-bg);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.nav-wrap {
  max-width: 1280px; margin: 0 auto; height: 64px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 0 24px;
}
.brand { display: flex; align-items: center; gap: 10px; font-size: 17px; font-weight: 700; color: #ffffff; flex-shrink: 0; }
.brand-mark {
  width: 28px; height: 28px; border-radius: 8px; background: var(--yellow);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.main-nav { display: none; gap: 4px; background: rgba(255,255,255,.08); padding: 4px; border-radius: 999px; }
.main-nav a { padding: 8px 16px; border-radius: 999px; font-size: 14px; font-weight: 500; color: rgba(255,255,255,.82); }
.main-nav a[aria-current="page"] { background: #ffffff; color: var(--ink); }
.nav-phone { display: none; color: #ffffff; font-size: 13px; }
.menu-btn {
  width: 42px; height: 42px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.25);
  background: transparent; color: #ffffff; display: flex; align-items: center; justify-content: center;
}
.mobile-nav {
  display: flex; flex-direction: column; padding: 8px 24px 20px; background: var(--dusk-bg);
}
.mobile-nav a {
  padding: 15px 0; border-bottom: 1px solid rgba(255,255,255,.1); color: #ffffff;
  font-size: 18px; font-weight: 700;
}
.mobile-nav a[aria-current="page"] { color: var(--yellow); }
.mobile-nav[hidden] { display: none; }

@media (min-width: 900px) {
  .main-nav { display: flex; }
  .nav-phone { display: block; }
  .menu-btn { display: none; }
}

/* ---------- hero ---------- */
.dusk {
  background-color: var(--dusk-bg);
  background-image:
    radial-gradient(ellipse 55% 40% at 50% 72%, rgba(242,193,78,.22), rgba(242,193,78,0) 70%),
    radial-gradient(ellipse 90% 50% at 50% 0%, #33424e, rgba(22,27,30,0) 70%);
}
.hero { color: #ffffff; padding: 48px 24px 0; }
.hero-inner {
  max-width: 1160px; margin: 0 auto;
  display: flex; flex-direction: column; gap: 28px; align-items: center; text-align: center;
}
.eyebrow { font-size: 12px; letter-spacing: 1.5px; color: rgba(255,255,255,.6); text-transform: uppercase; margin: 0 0 14px; }
.hero-copy h1 { font-size: clamp(2.4rem, 6vw, 4.4rem); line-height: 1.03; font-weight: 700; letter-spacing: -0.03em; }
.hero-sub { margin-top: 16px; font-size: 17px; line-height: 1.55; color: rgba(255,255,255,.8); max-width: 640px; margin-inline: auto; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 24px; }

.hero-scene-wrap { width: 100%; max-width: 900px; display: flex; flex-direction: column; gap: 16px; }
.hero-scene { position: relative; width: 100%; aspect-ratio: 1152 / 560; border-radius: 20px; overflow: hidden; background: rgba(0,0,0,.15); }
.hero-scene svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-hotspots { position: absolute; inset: 0; }
.hs {
  position: absolute; width: 30px; height: 30px; margin: -15px 0 0 -15px; border-radius: 50%;
  border: none; background: var(--yellow); color: var(--ink); font-family: var(--font-mono);
  font-size: 12px; font-weight: 600; box-shadow: 0 0 0 7px rgba(242,193,78,.25);
  cursor: pointer; transition: transform .15s ease; z-index: 2;
}
.hs:hover, .hs:focus-visible { transform: scale(1.14); }
.hs-on { background: #ffffff; color: var(--ink); box-shadow: 0 0 0 7px rgba(255,255,255,.22), 0 0 0 16px rgba(255,255,255,.08); }

.hero-card {
  text-align: left; background: #ffffff; color: var(--ink); border-radius: 16px;
  padding: 18px 20px; box-shadow: 0 20px 44px rgba(0,0,0,.28);
  display: flex; flex-direction: column; gap: 8px;
}
.hero-card .hc-kicker { font-size: 11px; letter-spacing: 1.3px; color: var(--yellow-deep); font-family: var(--font-mono); }
.hero-card p { font-size: 15px; line-height: 1.45; color: #3d4a42; }
.hero-card a { font-size: 15px; font-weight: 700; color: var(--green-700); }

.hero-stats {
  max-width: 1160px; margin: 36px auto 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px;
  padding: 28px 24px; border-top: 1px solid rgba(255,255,255,.14);
}
.hero-stats > div { display: flex; flex-direction: column; gap: 3px; }
.hero-stats .num { font-size: 26px; font-weight: 600; color: #ffffff; }
.hero-stats .lbl { font-size: 11px; color: rgba(255,255,255,.62); }

@media (min-width: 900px) {
  .hero-inner { flex-direction: row; align-items: center; text-align: left; gap: 40px; }
  .hero-copy { flex: 1 1 44%; }
  .hero-scene-wrap { flex: 1 1 56%; }
  .hero-sub { margin-inline: 0; }
  .hero-ctas { justify-content: flex-start; }
  .hero-stats { grid-template-columns: repeat(4, 1fr); }
}

/* ---------- generic section chrome ---------- */
.section { padding: 64px 24px; max-width: 1280px; margin: 0 auto; }
.section-light { background: var(--cream-alt); max-width: none; }
.section-light > * { max-width: 1280px; margin-inline: auto; }
.section-dark { background: var(--green-900); color: #ffffff; max-width: none; }
.section-dark > * { max-width: 1280px; margin-inline: auto; }

.section-head { display: flex; flex-direction: column; gap: 16px; margin-bottom: 28px; }
.kicker { font-size: 12px; color: var(--yellow-deep); margin: 0 0 10px; }
.kicker.light { color: var(--yellow); }
h2 { font-size: clamp(1.9rem, 4vw, 2.6rem); line-height: 1.06; font-weight: 800; letter-spacing: -0.02em; }
.section-lede { font-size: 15.5px; line-height: 1.5; color: var(--steel); max-width: 440px; }
.section-lede.light { color: #a9bfb2; }

@media (min-width: 900px) {
  .section-head { flex-direction: row; justify-content: space-between; align-items: flex-end; }
  .section-lede { text-align: right; }
}

/* ---------- 01 supply ---------- */
.filter-row { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; -ms-overflow-style: none; scrollbar-width: none; }
.filter-row::-webkit-scrollbar { display: none; }
.chip {
  flex-shrink: 0; padding: 9px 16px; border: 1.5px solid var(--border); border-radius: 999px;
  font-size: 14px; font-weight: 600; background: #ffffff; color: var(--ink);
}
.chip[aria-selected="true"] { background: var(--ink); color: #ffffff; border-color: var(--ink); }
.chip .count { opacity: .6; font-size: 11px; margin-left: 4px; }
.shown-count { font-size: 12px; color: var(--steel); margin: 10px 0 18px; }

.product-grid { display: grid; grid-template-columns: 1fr; gap: 10px; }
.product-card {
  display: flex; align-items: center; gap: 14px; background: #ffffff; border: 1px solid var(--border);
  border-radius: 16px; padding: 14px; transition: transform .15s ease, box-shadow .15s ease;
}
.product-card.is-link:hover { transform: translateY(-2px); box-shadow: var(--shadow-card); }
.product-icon { width: 42px; height: 42px; border-radius: 12px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.product-body { flex-grow: 1; min-width: 0; }
.product-body .name { font-size: 16px; font-weight: 700; }
.product-body .range { display: block; font-size: 11.5px; color: var(--green-700); margin-top: 2px; }
.product-body .desc { display: none; font-size: 13.5px; color: var(--steel); margin-top: 4px; line-height: 1.4; }
.product-arrow { color: var(--yellow-deep); font-size: 18px; flex-shrink: 0; }

@media (min-width: 700px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .product-card { align-items: flex-start; flex-direction: column; gap: 10px; padding: 20px; }
  .product-body .desc { display: block; }
  .product-arrow { display: none; }
}
@media (min-width: 1024px) {
  .product-grid { grid-template-columns: repeat(4, 1fr); }
}

/* ---------- 02 services ---------- */
.emergency-banner {
  display: flex; align-items: center; gap: 16px; background: var(--red); color: #ffffff;
  border-radius: 18px; padding: 18px 20px; margin-bottom: 22px;
}
.emergency-icon { width: 44px; height: 44px; border-radius: 50%; background: rgba(255,255,255,.18); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.emergency-text { display: flex; flex-direction: column; gap: 3px; flex-grow: 1; font-size: 13.5px; }
.emergency-text strong { font-size: 17px; }
.emergency-cta { display: none; flex-shrink: 0; padding: 11px 18px; border-radius: 999px; background: #ffffff; color: var(--red); font-size: 14px; font-weight: 800; }
@media (min-width: 640px) { .emergency-cta { display: inline-block; } }

.service-grid { display: grid; grid-template-columns: 1fr; gap: 10px; }
.service-card { background: #ffffff; border: 1px solid var(--border-soft); border-radius: 16px; padding: 18px; display: flex; gap: 14px; align-items: flex-start; }
.service-card .s-icon { width: 36px; height: 36px; border-radius: 10px; background: var(--cream); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.service-card .s-body strong { display: block; font-size: 15px; font-weight: 700; }
.service-card .s-body span { display: block; font-size: 13px; color: var(--steel); margin-top: 3px; line-height: 1.4; }
@media (min-width: 700px) { .service-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .service-grid { grid-template-columns: repeat(4, 1fr); } }

/* ---------- 03 sectors ---------- */
.sector-layout { display: flex; flex-direction: column; gap: 18px; }
.sector-tabs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.sect-tab {
  display: flex; flex-direction: column; align-items: flex-start; gap: 10px; height: 92px; box-sizing: border-box;
  padding: 14px; border-radius: 14px; border: 1px solid var(--green-line); background: var(--green-800); color: #ffffff;
  text-align: left; font-family: inherit; font-size: 13px; font-weight: 600;
}
.sect-tab[aria-selected="true"] { background: var(--yellow); color: var(--ink); border-color: var(--yellow); }
.sector-detail { background: var(--green-800); border: 1px solid var(--green-line); border-radius: 22px; padding: 30px; display: flex; flex-direction: column; gap: 14px; }
.sector-detail .sd-kicker { font-size: 11px; letter-spacing: 1.4px; color: var(--yellow); }
.sector-detail h3 { font-size: 30px; font-weight: 800; letter-spacing: -0.02em; }
.sector-detail .sd-sub { font-size: 15px; color: #a9bfb2; }
.sector-detail .sd-points { display: flex; flex-direction: column; gap: 12px; margin-top: 6px; }
.sector-detail .sd-points li { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; line-height: 1.4; }
.sector-detail .sd-points svg { flex-shrink: 0; margin-top: 2px; }
.sector-detail .btn { align-self: flex-start; margin-top: 8px; }
@media (min-width: 700px) { .sector-tabs { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .sector-layout { flex-direction: row; } .sector-tabs { flex: 0 0 380px; grid-template-columns: repeat(3, 1fr); align-content: start; } .sector-detail { flex: 1; } }

/* ---------- 04 brands ---------- */
.brand-grid { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 6px; scroll-snap-type: x mandatory; -ms-overflow-style: none; scrollbar-width: none; }
.brand-grid::-webkit-scrollbar { display: none; }
.brand-card { flex: 0 0 240px; scroll-snap-align: start; background: #ffffff; border: 1px solid var(--border); border-radius: 16px; padding: 20px; display: flex; flex-direction: column; gap: 10px; }
.brand-card .b-name { font-size: 25px; font-weight: 800; letter-spacing: -0.02em; }
.brand-card .b-tags { display: flex; gap: 6px; flex-wrap: wrap; }
.brand-card .b-tags span { font-size: 10px; letter-spacing: .7px; text-transform: uppercase; padding: 4px 8px; border-radius: 999px; background: var(--cream); color: var(--green-700); }
.brand-card .b-note { font-size: 13px; line-height: 1.45; color: var(--steel); }
.brand-card.brand-alt { background: var(--green-700); color: #ffffff; justify-content: space-between; }
.brand-card.brand-alt .b-kicker { font-size: 11px; letter-spacing: 1.4px; color: #a8d5b8; }
.brand-card.brand-alt .b-note-alt { font-size: 20px; font-weight: 800; line-height: 1.15; }
@media (min-width: 1024px) {
  .brand-grid { display: grid; grid-template-columns: repeat(4, 1fr); overflow: visible; }
  .brand-card { flex: none; }
}

/* ---------- 05 wiring ---------- */
.wiring-layout { display: flex; flex-direction: column; gap: 32px; }
.wiring-modes { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-bottom: 22px; }
.w-mode { display: flex; flex-direction: column; gap: 4px; padding: 14px 16px; border-radius: 14px; text-align: left; font-family: inherit; background: var(--green-800); border: 1.5px solid var(--green-line); color: #cfe0d6; }
.w-mode strong { font-size: 14px; font-weight: 700; color: #ffffff; }
.w-mode span { font-size: 11px; }
.w-mode[aria-selected="true"] { background: var(--green-900); border-color: var(--yellow); }
.w-mode[aria-selected="true"] strong { color: #ffffff; }
.wiring-includes { display: flex; flex-direction: column; }
.wiring-includes li { padding: 14px 0; border-bottom: 1px solid var(--green-line); font-size: 14px; }
.wiring-includes li strong { display: block; font-weight: 700; }
.wiring-includes li span { display: block; font-size: 12.5px; color: #a9bfb2; margin-top: 3px; }

.wiring-diagram { display: none; }
.wiring-diagram svg { width: 100%; height: auto; }
.wiring-circuits { display: flex; flex-direction: column; gap: 8px; position: relative; padding-left: 22px; }
.wiring-circuits::before { content: ''; position: absolute; left: 6px; top: 6px; bottom: 30px; width: 2px; background: repeating-linear-gradient(var(--green-line) 0 6px, transparent 6px 12px); }
.wc-item { display: flex; align-items: center; gap: 12px; min-height: 58px; border-radius: 14px; border: 1.5px solid var(--yellow); background: #0b2118; padding: 10px 14px; }
.wc-item.is-backup { border-style: dashed; }
.wc-body { flex-grow: 1; }
.wc-body strong { display: block; font-size: 14px; font-weight: 700; }
.wc-body span { display: block; font-size: 11px; color: #a9bfb2; }
.wc-num { width: 22px; height: 22px; border-radius: 50%; border: 1px solid var(--yellow); color: var(--yellow); font-size: 11px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }

.wiring-steps { display: flex; gap: 6px; overflow-x: auto; margin: 18px 0 12px; -ms-overflow-style: none; scrollbar-width: none; }
.wiring-steps::-webkit-scrollbar { display: none; }
.w-step { flex-shrink: 0; padding: 9px 14px; border-radius: 999px; font-size: 13px; font-weight: 600; background: transparent; color: #cfe0d6; border: 1.5px solid var(--green-line); }
.w-step[aria-selected="true"] { background: var(--yellow); color: var(--green-900); border-color: var(--yellow); }
.wiring-step-text { font-size: 14.5px; line-height: 1.5; color: #cfe0d6; min-height: 44px; }

@media (min-width: 1024px) {
  .wiring-layout { flex-direction: row; gap: 40px; }
  .wiring-left { flex: 0 0 320px; }
  .wiring-right { flex: 1; }
  .wiring-diagram { display: block; position: relative; border-radius: 18px; overflow: hidden; margin-bottom: 16px; background: #0b2118; border: 1px solid var(--green-line); }
  .wiring-circuits { display: none; }
}

/* ---------- 06 why / process ---------- */
.why-grid-outer { display: flex; flex-direction: column; gap: 32px; margin-bottom: 40px; }
.why-intro h2 { margin: 10px 0 14px; }
.founder-quote { display: flex; gap: 14px; margin-top: 18px; border-left: 3px solid var(--yellow); padding-left: 14px; }
.founder-quote p { font-size: 17px; line-height: 1.5; font-weight: 500; font-style: italic; }
.founder-quote cite { display: block; font-style: normal; font-size: 12.5px; color: var(--steel); margin-top: 8px; }
.why-cards { display: grid; grid-template-columns: 1fr; gap: 10px; }
.why-card { background: #ffffff; border: 1px solid var(--border); border-radius: 16px; padding: 18px; display: flex; flex-direction: column; gap: 8px; }
.why-card strong { font-size: 15px; font-weight: 700; }
.why-card span { font-size: 12.5px; color: var(--steel); line-height: 1.45; }
@media (min-width: 640px) { .why-cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .why-grid-outer { flex-direction: row; } .why-intro { flex: 0 0 380px; } .why-cards { flex: 1; grid-template-columns: repeat(3, 1fr); } }

.process-card { background: #ffffff; border: 1px solid var(--border); border-radius: 22px; padding: 26px 22px; }
.process-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 22px; flex-wrap: wrap; gap: 6px; }
.process-head h3 { font-size: 19px; font-weight: 800; }
.process-head p { font-size: 11.5px; color: var(--steel); }
.process-steps { display: flex; flex-direction: column; gap: 0; }
.process-steps li { display: flex; gap: 14px; }
.ps-track { display: flex; flex-direction: column; align-items: center; }
.ps-num { width: 30px; height: 30px; border-radius: 50%; border: 1.5px solid var(--green-900); display: flex; align-items: center; justify-content: center; font-size: 12px; font-family: var(--font-mono); flex-shrink: 0; }
.ps-line { flex-grow: 1; width: 2px; background: var(--border); min-height: 20px; }
.process-steps li:last-child .ps-line { display: none; }
.ps-body { padding-bottom: 18px; }
.ps-body strong { display: block; font-size: 15px; font-weight: 700; }
.ps-body .ps-sub { display: block; font-size: 13px; font-weight: 600; color: var(--green-700); margin-top: 2px; }
.ps-body .ps-desc { display: block; font-size: 12.5px; color: var(--steel); margin-top: 2px; }
@media (min-width: 900px) {
  .process-steps { flex-direction: row; gap: 14px; }
  .process-steps li { flex-direction: column; flex: 1; }
  .ps-track { flex-direction: row; width: 100%; }
  .ps-line { height: 2px; width: auto; min-height: 0; margin-top: 15px; }
}

/* ---------- 07 faq ---------- */
.faq-layout { display: flex; flex-direction: column; gap: 32px; }
.faq-ctas { display: flex; gap: 10px; margin-top: 18px; flex-wrap: wrap; }
.faq-group-label { font-size: 11px; letter-spacing: 1.4px; color: var(--yellow-deep); text-transform: uppercase; padding-bottom: 8px; }
.faq-groups > * + * { margin-top: 22px; }
.faq-item { border-top: 1px solid #e0dacb; }
.faq-q {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 14px 0; background: none; border: none; font-family: inherit; font-size: 15.5px;
  font-weight: 600; color: var(--ink); text-align: left;
}
.faq-sign { color: var(--yellow-deep); font-size: 19px; width: 18px; text-align: center; flex-shrink: 0; }
.faq-a { display: none; font-size: 14.5px; line-height: 1.55; color: var(--steel); padding: 0 30px 16px 0; }
.faq-item.is-open .faq-a { display: block; }
@media (min-width: 1024px) { .faq-layout { flex-direction: row; gap: 56px; } .faq-intro { flex: 0 0 340px; } .faq-groups { flex: 1; } }

/* ---------- 08 contact ---------- */
.contact-layout { display: flex; flex-direction: column; gap: 36px; }
.store-photo { position: relative; border-radius: 18px; overflow: hidden; margin: 22px 0; }
.store-photo img { width: 100%; height: 220px; object-fit: cover; object-position: 65% 45%; }
.store-badge { position: absolute; left: 12px; bottom: 12px; display: flex; align-items: center; gap: 8px; padding: 7px 11px; border-radius: 999px; background: rgba(15,42,30,.88); font-size: 12px; }
.badge-tag { padding: 3px 6px; border-radius: 5px; background: var(--red); font-weight: 800; font-size: 9.5px; letter-spacing: .8px; }
.contact-details { display: flex; flex-direction: column; gap: 0; }
.contact-details > div { display: grid; grid-template-columns: 92px 1fr; padding: 11px 0; border-bottom: 1px solid var(--green-line); font-size: 14.5px; }
.contact-details dt { font-size: 11px; color: var(--steel-light); align-self: flex-start; }
.contact-details a { text-decoration: underline; text-decoration-color: var(--yellow); text-underline-offset: 3px; }

.contact-form { background: var(--cream-alt); color: var(--ink); border-radius: 22px; padding: 26px; display: flex; flex-direction: column; gap: 14px; }
.contact-form h3 { font-size: 21px; font-weight: 800; }
.contact-form label { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 600; }
.contact-form input, .contact-form select, .contact-form textarea {
  height: 48px; box-sizing: border-box; border: 1px solid #d7cfbd; border-radius: 12px;
  background: #ffffff; padding: 0 12px; font-family: inherit; font-size: 16px; color: var(--ink);
}
.contact-form textarea { height: 96px; padding: 10px 12px; resize: vertical; }
.contact-form select { appearance: auto; }
.form-row { display: grid; grid-template-columns: 1fr; gap: 12px; }
.form-note { font-size: 13px; color: var(--steel); }
.form-status { font-size: 13px; font-weight: 600; min-height: 18px; }
.form-status.ok { color: var(--green-700); }
.form-status.err { color: var(--red); }
.hp-field { position: absolute; left: -9999px; }
@media (min-width: 560px) { .form-row { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .contact-layout { flex-direction: row; gap: 48px; } .contact-info { flex: 1; } .contact-form { flex: 1; align-self: flex-start; } }

/* ---------- footer ---------- */
.site-footer { background: #0a1f16; color: var(--steel-light); padding: 32px 24px; }
.footer-inner { max-width: 1280px; margin: 0 auto; display: flex; flex-direction: column; gap: 18px; }
.footer-brand strong { color: #ffffff; font-size: 16px; }
.footer-brand p { font-size: 13px; line-height: 1.5; margin-top: 6px; max-width: 460px; }
.footer-links { display: flex; gap: 18px; flex-wrap: wrap; font-size: 13px; }
.footer-meta { display: flex; gap: 18px; flex-wrap: wrap; font-size: 12px; }
@media (min-width: 900px) { .footer-inner { flex-direction: row; align-items: center; justify-content: space-between; } }

/* ---------- sticky mobile CTA ---------- */
.sticky-cta {
  position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 50;
  display: grid; grid-template-columns: 1.3fr 1fr; gap: 8px; padding: 8px;
  border-radius: 999px; background: rgba(22,27,30,.96); box-shadow: 0 12px 30px rgba(0,0,0,.35);
}
.sticky-cta .btn { padding: 12px 10px; font-size: 14px; }
.sticky-cta[hidden] { display: none; }
@media (min-width: 900px) { .sticky-cta { display: none !important; } }


.brand-mark { width:auto !important; height:auto !important; background:none !important; display:flex; align-items:center; flex-shrink:0; }
.brand-wordmark { display:flex; flex-direction:column; line-height:1.1; }
.wm-varun { font-size:15px; font-weight:900; color:#CC1F2D; letter-spacing:.04em; }
.wm-mkt { font-size:11px; font-weight:600; color:rgba(255,255,255,.7); letter-spacing:.05em; }
.footer-logo-img { height:40px; width:auto; border-radius:5px; }
.sector-detail { scroll-margin-top: 80px; }

/* ---------- logo in nav (real image on light pill) ---------- */
.brand {
  background: #ffffff;
  border-radius: 10px;
  padding: 6px 14px 6px 10px;
  gap: 0;
}
.brand-img {
  display: block;
  height: 38px;
  width: auto;
  object-fit: contain;
  object-position: center;
}
.brand-mark, .brand-wordmark { display: none; }

/* ===== interactive / animation additions ===== */

/* hero hotspot pulse to draw attention on load */
@keyframes hs-pulse { 0%,100%{box-shadow:0 0 0 4px rgba(242,193,78,.6)} 50%{box-shadow:0 0 0 12px rgba(242,193,78,0)} }
.hs { animation: hs-pulse 2s ease-in-out infinite; }
.hs-on { animation: none; box-shadow:0 0 0 7px rgba(255,255,255,.22),0 0 0 16px rgba(255,255,255,.08); }
@media (prefers-reduced-motion:reduce){ .hs,.hs-on{animation:none;} }

/* hero card fade transition */
.hero-card { transition: opacity .14s ease; }
.hero-card.fading { opacity: 0; }

/* scroll reveal — cards/items only (sections always visible) */
.card-reveal { opacity:0; transform:translateY(18px); transition:opacity .5s ease,transform .5s ease; }
.card-reveal.revealed { opacity:1; transform:none; }
@media (prefers-reduced-motion:reduce){ .card-reveal{ opacity:1; transform:none; transition:none; } }

/* wiring – active circuit item (mobile) */
.wc-item { cursor:pointer; transition:background .15s,border-color .15s; }
.wc-item.wc-active { border-color:var(--yellow); background:rgba(242,193,78,.1); }
.wc-item.wc-active strong { color:#f2c14e; }
.wc-item:hover:not(.wc-active) { border-color:#4d6b5b; background:rgba(255,255,255,.04); }

/* wiring: diagram on desktop, tappable circuit list on mobile (never both) */
.wiring-diagram { border-radius:14px; background:#0b2118; border:1px solid var(--green-line); margin-bottom:14px; }
@media (min-width:1024px) { .wiring-diagram { display:block; } .wiring-circuits { display:none; } }
@media (max-width:1023px)  { .wiring-diagram { display:none; } .wiring-circuits { display:flex; } }

/* founder quote: cite sits under the quote */
.founder-quote { flex-direction: column; gap: 0; }

/* brand carousel controls: arrows + dots (mobile/tablet only; desktop shows a full grid) */
.brand-nav-row { display:flex; align-items:center; justify-content:center; gap:14px; margin-top:14px; }
.brand-nav-btn { width:36px; height:36px; border-radius:50%; border:1.5px solid var(--border); background:#fff; color:var(--ink); display:flex; align-items:center; justify-content:center; padding:0; }
.brand-nav-btn:hover { background:var(--ink); color:#fff; border-color:var(--ink); }
.brand-dots-wrap { display:flex; gap:6px; }
.brand-dot { width:7px; height:7px; border-radius:50%; background:var(--border); transition:background .15s, transform .15s; }
.brand-dot.active-dot { background:var(--yellow-deep); transform:scale(1.25); }
@media (min-width:1024px) { .brand-nav-row { display:none; } }

/* store photo: keep a coloured block if the image is slow to load */
.store-photo { background:#173a2a; }

/* sector detail slide-in */
@keyframes slid-in { from{opacity:0;transform:translateX(10px)} to{opacity:1;transform:none} }
.sector-detail { animation: slid-in .25s ease; }
@media (prefers-reduced-motion:reduce){ .sector-detail{animation:none;} }

/* brand pill in nav */
.brand { background:#fff; border-radius:10px; padding:5px 12px 5px 8px; gap:0; }
.brand-img { display:block; height:36px; width:auto; object-fit:contain; }
.brand-mark,.brand-wordmark { display:none; }

/* footer logo */
.footer-logo-img { height:40px; width:auto; border-radius:5px; }

/* ===== 02 finder ("What do I need?") ===== */
.finder-layout { display:flex; flex-direction:column; gap:28px; }
.finder-note { font-size:11px; color:var(--steel); margin-top:14px; letter-spacing:.4px; }
.finder-panel { background:#fff; border:1px solid var(--border); border-radius:var(--radius-lg); padding:24px 22px; display:flex; flex-direction:column; gap:12px; }
.finder-q { font-size:11px; letter-spacing:1.3px; text-transform:uppercase; color:var(--yellow-deep); margin:6px 0 0; }
.finder-chips { display:flex; flex-wrap:wrap; gap:8px; }
.finder-chips .chip { display:inline-flex; align-items:center; gap:7px; padding:9px 14px; }
.finder-chips .chip svg { width:16px; height:16px; }
.finder-result { margin-top:10px; border-radius:var(--radius-md); background:var(--green-900); color:#fff; padding:22px; display:flex; flex-direction:column; gap:10px; transition:opacity .16s ease; }
.finder-result.fading { opacity:0; }
.fr-kicker { font-size:11px; letter-spacing:1.3px; color:var(--yellow); }
.fr-name { font-size:24px; font-weight:800; letter-spacing:-0.02em; line-height:1.1; }
.fr-range { font-size:12px; color:#a9bfb2; }
.fr-why { font-size:14.5px; line-height:1.5; color:#cfe0d6; }
.fr-also { display:flex; flex-wrap:wrap; gap:6px; align-items:center; font-size:11px; color:#8fb09e; }
.fr-also span { padding:4px 9px; border-radius:999px; border:1px solid var(--green-line); color:#cfe0d6; }
.fr-ctas { display:flex; flex-wrap:wrap; gap:10px; margin-top:6px; }
@media (min-width:1024px) { .finder-layout { flex-direction:row; gap:48px; align-items:flex-start; } .finder-intro { flex:0 0 360px; } .finder-panel { flex:1; padding:28px; } }
.finder-intro .section-lede { text-align:left; }

/* ===== hero: with / without backup switch ===== */
.scene-toggle { position:absolute; left:12px; top:12px; z-index:3; display:flex; gap:2px; padding:3px; border-radius:999px; background:rgba(14,17,18,.85); border:1px solid rgba(255,255,255,.14); backdrop-filter:blur(4px); }
.scene-toggle button { border:none; background:transparent; color:rgba(255,255,255,.7); font-family:var(--font-mono); font-size:10.5px; letter-spacing:.4px; padding:6px 10px; border-radius:999px; }
.scene-toggle button[aria-pressed="true"] { background:var(--yellow); color:var(--ink); font-weight:600; }
.scene-toggle button[data-mode="without"][aria-pressed="true"] { background:#e5605a; color:#fff; }
.hero-scene .lit-room, .hero-scene .lit-glow, .hero-scene .lit-screen, .hero-scene .lit-led, .hero-scene .lit-dial, .hero-scene .lit-label, .hero-scene .hs { transition:fill .5s ease, opacity .5s ease; }
.hero-scene.no-backup .lit-room { fill:#20262a; }
.hero-scene.no-backup .lit-glow, .hero-scene.no-backup .lit-screen, .hero-scene.no-backup .lit-led, .hero-scene.no-backup .lit-dial { opacity:0; }
.hero-scene.no-backup .lit-label { fill:#4a5358; }
.hero-scene.no-backup .hs { opacity:0; pointer-events:none; }
/* caption swaps in for the info card while "without backup" is shown */
.scene-caption { display:none; text-align:left; background:#2a1d1c; color:#fff; border:1px solid rgba(229,96,90,.5); border-radius:16px; padding:18px 20px; box-shadow:0 20px 44px rgba(0,0,0,.28); flex-direction:column; gap:8px; }
.scene-caption .hc-kicker { color:#e5605a; font-size:11px; letter-spacing:1.3px; }
.scene-caption p { font-size:15px; line-height:1.45; color:rgba(255,255,255,.85); }
.scene-caption strong { color:var(--yellow); }
.hero-scene-wrap.no-backup .scene-caption { display:flex; }
.hero-scene-wrap.no-backup .hero-card { display:none; }
@media (max-width:520px) { .scene-toggle button { font-size:9.5px; padding:5px 8px; } }

/* ===== open-now badge ===== */
.open-badge { display:inline-flex; align-items:center; gap:7px; font-size:11.5px; letter-spacing:.3px; color:rgba(255,255,255,.75); margin-top:14px; }
.open-badge:empty { display:none; }
.open-badge::before { content:''; width:8px; height:8px; border-radius:50%; background:#8fb09e; box-shadow:0 0 0 3px rgba(143,176,158,.18); }
.open-badge.is-open::before { background:#4fd18b; box-shadow:0 0 0 3px rgba(79,209,139,.22); animation:open-pulse 2s ease-in-out infinite; }
.open-badge.is-closed::before { background:#e5605a; box-shadow:0 0 0 3px rgba(229,96,90,.2); }
@keyframes open-pulse { 0%,100%{box-shadow:0 0 0 3px rgba(79,209,139,.22)} 50%{box-shadow:0 0 0 7px rgba(79,209,139,0)} }
@media (prefers-reduced-motion:reduce){ .open-badge.is-open::before{animation:none;} }
.nav-phone-wrap { display:none; flex-direction:column; align-items:flex-end; gap:2px; }
.open-badge-nav { margin-top:0; font-size:10.5px; }
.open-badge-inline { margin-top:0; margin-left:10px; color:#cfe0d6; }
@media (min-width:900px) { .nav-phone-wrap { display:flex; } }

/* ===== brand cards filter the product grid ===== */
.brand-card.is-filter { cursor:pointer; transition:transform .15s ease, box-shadow .15s ease, border-color .15s ease; }
.brand-card.is-filter:hover { transform:translateY(-2px); box-shadow:var(--shadow-card); border-color:var(--yellow); }
.brand-card .b-link { margin-top:auto; font-size:12.5px; font-weight:700; color:var(--green-700); }
.chip.chip-brand { background:var(--yellow); border-color:var(--yellow); color:var(--ink); }
.chip.chip-brand .x { margin-left:6px; opacity:.7; }
.supply-flash { animation:supply-flash .9s ease; }
@keyframes supply-flash { 0%{box-shadow:0 0 0 0 rgba(242,193,78,.0)} 30%{box-shadow:0 0 0 6px rgba(242,193,78,.45)} 100%{box-shadow:0 0 0 0 rgba(242,193,78,0)} }

/* ---- brand logo tiles (shared look on every page) ---- */
.logo-tile{display:inline-flex;align-items:center;justify-content:center;background:#fff;border:1px solid #e6dfcf;border-radius:10px;padding:6px 12px;height:46px;box-sizing:border-box}
.logo-tile img{height:100%;width:auto;max-width:150px;object-fit:contain;display:block}
.logo-row{display:flex;flex-wrap:wrap;gap:8px}

.brand-card .b-logo{height:52px;display:flex;align-items:center;margin-bottom:2px}
.brand-card .b-logo img{max-height:52px;max-width:100%;width:auto;height:auto;object-fit:contain}

/* wiring: circuit explanation + steps strip */
.wiring-circuit-text{display:flex;flex-direction:column;gap:6px;background:rgba(242,193,78,.08);border:1px solid rgba(242,193,78,.35);border-radius:14px;padding:14px 16px;margin:12px 0 18px;font-size:14.5px;line-height:1.5;color:#e8efe9;min-height:64px}
.wiring-circuit-text .wct-k{font-size:11px;letter-spacing:1.3px;color:var(--yellow)}
.wiring-steps-label{font-size:11px;letter-spacing:1.4px;color:#8fb09e;margin:4px 0 0}
.wiring-steps{margin-top:10px}
.wsvg-circuit:hover rect{filter:brightness(1.15)}
.wsvg-circuit:focus{outline:none}
.wsvg-circuit:focus-visible rect{stroke:#fff;stroke-width:2.5}

/* wiring steps: step card */
.wiring-step-text{display:flex;flex-direction:column;gap:8px;min-height:64px;background:rgba(255,255,255,.04);border:1px solid var(--green-line);border-radius:14px;padding:14px 16px}
.wiring-step-text .wst-hint{color:#a9bfb2;font-size:14px}
.wiring-step-text .wst-k{font-size:11px;letter-spacing:1.3px;color:var(--yellow)}
.wiring-step-text .wst-d{font-size:14.5px;line-height:1.5;color:#e8efe9}
.wiring-step-text .wst-get{font-size:13.5px;line-height:1.5;color:#cfe0d6}
.wiring-step-text .wst-get b{color:#fff}
.wst-nav{display:flex;gap:8px;flex-wrap:wrap;margin-top:4px}
.wst-btn{border:1.5px solid var(--green-line);background:transparent;color:#cfe0d6;border-radius:999px;padding:8px 14px;font-size:13px;font-weight:600;font-family:inherit;text-decoration:none}
.wst-btn.wst-next{background:var(--yellow);border-color:var(--yellow);color:var(--green-900)}
.w-step.w-step-done{border-color:#4fd18b;color:#4fd18b}

/* wiring on phones: steps show the diagram (scrollable), circuits show the list */
@media (max-width:1023px){
  .wiring-right.step-mode .wiring-diagram{display:block;overflow-x:auto;-webkit-overflow-scrolling:touch}
  .wiring-right.step-mode .wiring-diagram svg{min-width:520px}
  .wiring-right.step-mode .wiring-circuits,.wiring-right.step-mode .wiring-circuit-text{display:none}
  .wiring-right.step-mode .wiring-steps-label{margin-top:12px}
}

/* very small phones (320px) */
.contact-details dd{min-width:0;overflow-wrap:anywhere}
@media (max-width:360px){.contact-details > div{grid-template-columns:76px 1fr}.hero-copy h1{font-size:2.1rem}}
