/* I-VOLT site. One stylesheet, no framework. Tokens first. */
@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo-var.woff2") format("woff2-variations"), url("../fonts/archivo-var.woff2") format("woff2");
  font-weight: 100 900; font-stretch: 62% 125%; font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-var.woff2") format("woff2-variations"), url("../fonts/inter-var.woff2") format("woff2");
  font-weight: 400 700; font-display: swap;
}

:root {
  --ink: #0f1113;
  --ink-2: #171a1d;
  --ink-3: #22262b;
  --paper: #f4f2ec;
  --sand: #ebe7dd;
  --card: #ffffff;
  --text: #14161a;
  --muted: #595e66;
  --line: rgba(15, 17, 19, 0.12);
  --on-dark: #f4f2ec;
  --on-dark-muted: #a2a7ae;
  --line-dark: rgba(255, 255, 255, 0.12);
  --orange: #f58321;
  --orange-ink: #b0510a;
  --glow: #ffb35c;
  --green: #0a6d1d;
  --green-lite: #2fb455;
  --radius: 20px;
  --radius-s: 12px;
  --wrap: 1440px;
  --gutter: clamp(16px, 4vw, 40px);
  --display: "Archivo", "Arial Narrow", system-ui, sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0; background: var(--paper); color: var(--text);
  font: 400 17px/1.6 var(--body); -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- type ---------- */
.eyebrow {
  font: 700 12.5px/1.2 var(--display); font-stretch: 112%; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--orange-ink); margin: 0 0 18px;
}
.dark .eyebrow { color: var(--orange); }
.eyebrow .i { display: inline-block; margin-right: 12px; padding-right: 12px; border-right: 1px solid currentColor; opacity: 0.6; }
h1, h2, h3 { font-family: var(--display); margin: 0; letter-spacing: -0.02em; }
h1 { font-weight: 800; font-stretch: 86%; font-size: clamp(46px, 7.4vw, 104px); line-height: 0.94; }
h2 { font-weight: 800; font-stretch: 84%; font-size: clamp(34px, 4.8vw, 64px); line-height: 0.98; letter-spacing: -0.025em; }
h3 { font-weight: 750; font-stretch: 96%; font-size: 23px; line-height: 1.15; letter-spacing: -0.01em; }
.lede { font-size: clamp(17px, 1.5vw, 20px); color: var(--muted); max-width: 620px; margin: 22px 0 0; }
.dark .lede { color: var(--on-dark-muted); }
.num { font-family: var(--display); font-weight: 900; font-stretch: 62%; letter-spacing: -0.01em; line-height: 0.86; }
.num small { font-size: 0.42em; font-weight: 800; font-stretch: 75%; margin-left: 0.06em; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px; padding: 15px 24px; border-radius: 999px;
  background: var(--orange); color: var(--ink); text-decoration: none; border: 0; cursor: pointer;
  font: 700 15.5px/1 var(--display); font-stretch: 105%; letter-spacing: 0.01em;
  transition: transform 0.25s var(--ease), background 0.2s;
}
.btn:hover { background: var(--glow); transform: translateY(-1px); }
.btn svg { width: 16px; height: 16px; }
.btn-ghost { background: transparent; color: inherit; box-shadow: inset 0 0 0 1.5px currentColor; }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.08); }
.paper .btn-ghost:hover, .sand .btn-ghost:hover { background: rgba(0, 0, 0, 0.05); }
.btn-dark { background: var(--ink); color: var(--on-dark); }
.btn-dark:hover { background: var(--ink-3); }
.link-arrow {
  display: inline-flex; align-items: center; gap: 8px; text-decoration: none;
  font: 700 15px/1.2 var(--display); font-stretch: 105%; color: var(--orange-ink);
}
.dark .link-arrow { color: var(--orange); }
.link-arrow svg { width: 15px; height: 15px; transition: transform 0.25s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50; background: rgba(15, 17, 19, 0.86);
  backdrop-filter: saturate(140%) blur(14px); -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--line-dark); color: var(--on-dark);
}
.site-header .wrap { display: flex; align-items: center; gap: 28px; height: 72px; }
.logo { display: block; flex: none; }
.logo img { height: 44px; width: auto; }
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a {
  padding: 9px 14px; border-radius: 999px; text-decoration: none; color: var(--on-dark-muted);
  font: 600 15px/1 var(--display); font-stretch: 104%; transition: color 0.2s, background 0.2s;
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--on-dark); background: rgba(255, 255, 255, 0.07); }
.header-cta { padding: 12px 18px; font-size: 14.5px; }
.menu-btn { display: none; margin-left: auto; background: none; border: 0; padding: 10px; cursor: pointer; }
.menu-btn span { display: block; width: 22px; height: 2px; background: var(--on-dark); margin: 5px 0; transition: transform 0.3s var(--ease), opacity 0.2s; }
@media (max-width: 960px) {
  .nav, .header-cta { display: none; }
  .menu-btn { display: block; }
  .site-header.open .nav {
    display: flex; flex-direction: column; position: absolute; left: 0; right: 0; top: 72px;
    background: var(--ink); padding: 12px var(--gutter) 22px; border-bottom: 1px solid var(--line-dark);
  }
  .site-header.open .nav a { padding: 15px 4px; font-size: 18px; border-radius: 0; border-bottom: 1px solid var(--line-dark); background: none; }
  .site-header.open .menu-btn span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .site-header.open .menu-btn span:nth-child(2) { opacity: 0; }
  .site-header.open .menu-btn span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

/* ---------- sections ---------- */
.section { padding: clamp(80px, 11vw, 150px) 0; position: relative; }
.dark { background: var(--ink); color: var(--on-dark); }
.paper { background: var(--paper); }
.sand { background: var(--sand); }
.section-head { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px; align-items: end; margin-bottom: clamp(44px, 6vw, 72px); }
.section-head .lede { margin: 0; }
@media (max-width: 860px) { .section-head { grid-template-columns: 1fr; gap: 18px; } }

/* ---------- hero ---------- */
/* a 16:9 frame on laptops and desktops, 9:16 on phones; the category strip sits on its bottom edge */
.hero {
  --cats-h: 96px;
  position: relative; overflow: hidden; margin-top: -73px;
  background:
    radial-gradient(60% 55% at 78% 92%, rgba(245, 131, 33, 0.0), transparent 70%),
    linear-gradient(180deg, #0b0d10 0%, #10151b 50%, #1c242e 100%);
  transition: background 1.2s;
}
.hero::after { /* the warm pool the backup home throws once the grid drops */
  content: ""; position: absolute; inset: auto -10% -20% 35%; height: 70%;
  background: radial-gradient(50% 50% at 62% 70%, rgba(245, 131, 33, 0.28), transparent 70%);
  opacity: 0; transition: opacity 1.6s var(--ease) 0.4s; pointer-events: none;
}
.hero.outage::after { opacity: 1; }
.hero.has-photo::after { display: none; }
.hero-frame { position: relative; display: flex; flex-direction: column; height: min(56.25vw, 100svh); min-height: 660px; max-height: 1080px; }
.hero-inner { position: relative; z-index: 3; width: 100%; padding-top: calc(73px + clamp(36px, 7vh, 96px)); padding-bottom: calc(var(--cats-h) + 24px); }
.hero h1 { max-width: 11.5ch; font-size: clamp(44px, 5.4vw, 80px); }
.hero-photo, .hero-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-photo { z-index: 0; }
.hero-photo.before { z-index: 1; transition: opacity 1.4s var(--ease) 0.2s; }
.hero.outage .hero-photo.before { opacity: 0; }
.hero-shade {
  position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: linear-gradient(90deg, rgba(8, 10, 12, 0.82) 0%, rgba(8, 10, 12, 0.5) 34%, rgba(8, 10, 12, 0) 58%),
    linear-gradient(0deg, rgba(8, 10, 12, 0.7) 0%, rgba(8, 10, 12, 0) 24%);
}
.hero h1 .accent { color: var(--orange); }
.hero .lede { max-width: 480px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.skyline { position: absolute; left: 0; right: 0; bottom: var(--cats-h); height: 44%; z-index: 1; }
.skyline svg { width: 100%; height: 100%; }
.skyline .bld { fill: #0c0f12; }
.skyline .bld.far { fill: #13181e; }
.skyline .win { fill: #ffcf8a; opacity: 0.8; transition: opacity 0.18s; transition-delay: var(--d, 0s); }
.skyline .win.dim { opacity: 0.32; }
.hero.outage .skyline .win { opacity: 0; }
.skyline .home { fill: #0c0f12; stroke: #2a3139; stroke-width: 1.5; }
.skyline .home-win { fill: #ffc274; opacity: 0.85; transition: opacity 0.6s, fill 0.6s; }
.hero.outage .skyline .home-win { opacity: 1; fill: #ffb14f; filter: drop-shadow(0 0 6px rgba(255, 170, 80, 0.9)); }
.skyline .wire { stroke: #2b3138; stroke-width: 2; fill: none; }
.skyline .pulse { stroke: var(--glow); stroke-width: 2.4; fill: none; stroke-dasharray: 40 1400; animation: pulse 3.2s linear infinite; opacity: 0.9; }
.hero.outage .skyline .pulse { animation: none; opacity: 0; transition: opacity 0.3s; }
@keyframes pulse { from { stroke-dashoffset: 1440; } to { stroke-dashoffset: 0; } }
/* the range: dim while the grid is on, lit once it drops */
.stage {
  position: absolute; z-index: 2; right: max(var(--gutter), calc((100vw - var(--wrap)) / 2 + var(--gutter)));
  bottom: calc(var(--cats-h) + 34px); width: min(45vw, 640px); aspect-ratio: 64 / 37;
}
.stage .p {
  position: absolute; height: auto; max-width: none;
  filter: brightness(0.42) saturate(0.6) drop-shadow(0 22px 20px rgba(0, 0, 0, 0.6));
  transition: filter 1.2s var(--ease), transform 1.2s var(--ease); transition-delay: var(--sd, 0s);
}
.hero.outage .stage .p { filter: brightness(1) saturate(1) drop-shadow(0 22px 20px rgba(0, 0, 0, 0.6)) drop-shadow(0 0 26px rgba(245, 131, 33, 0.2)); }
.p-auto { left: 5%; bottom: 21%; width: 41%; z-index: 1; --sd: 0.3s; }
.p-rick { right: 3%; bottom: 23%; width: 38%; z-index: 1; --sd: 0.4s; }
.p-solar { left: 29%; bottom: 0; width: 48%; z-index: 3; --sd: 0.1s; }
.p-bulb { left: -3%; bottom: 0; width: 13%; z-index: 4; --sd: 0.5s; }
.p-street { right: -2%; bottom: 0; width: 10.5%; z-index: 4; --sd: 0.6s; }
.hero.outage .p-bulb { filter: brightness(1.08) saturate(1) drop-shadow(0 22px 20px rgba(0, 0, 0, 0.6)) drop-shadow(0 0 34px rgba(255, 190, 110, 0.75)); }
.halo {
  position: absolute; left: -14%; bottom: 12%; width: 34%; aspect-ratio: 1; border-radius: 50%; z-index: 3; pointer-events: none;
  background: radial-gradient(closest-side, rgba(255, 196, 120, 0.5), rgba(245, 131, 33, 0.1) 62%, transparent);
  opacity: 0; transition: opacity 1.2s var(--ease) 0.6s;
}
.hero.outage .halo { opacity: 1; }
.floor { position: absolute; left: -14%; right: -14%; bottom: -12%; height: 30%; border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 255, 255, 0.07), transparent); }
.floor::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: radial-gradient(closest-side, rgba(245, 131, 33, 0.34), transparent); opacity: 0; transition: opacity 1.4s var(--ease) 0.2s; }
.hero.outage .floor::after { opacity: 1; }

/* category strip closing the hero */
.cats {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 4; border-top: 1px solid var(--line-dark);
  background: rgba(10, 12, 14, 0.62); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
}
.cats-inner { display: grid; grid-template-columns: repeat(4, 1fr); }
.cat {
  display: flex; align-items: center; gap: 14px; min-height: var(--cats-h); padding: 16px 22px; text-decoration: none;
  color: var(--on-dark); border-left: 1px solid var(--line-dark); transition: background 0.25s;
}
.cat:first-child { border-left: 0; padding-left: 0; }
.cat .ico { width: 30px; height: 30px; flex: none; color: var(--orange); }
.cat b { display: block; font: 700 16.5px/1.2 var(--display); font-stretch: 100%; }
.cat small { display: block; margin-top: 4px; font-size: 13px; line-height: 1.35; color: var(--on-dark-muted); }
.cat .nw { white-space: nowrap; }
.cat .arr { margin-left: auto; color: var(--on-dark-muted); transition: transform 0.25s var(--ease), color 0.25s; }
.cat .arr svg { width: 16px; height: 16px; }
.cat:hover { background: rgba(255, 255, 255, 0.045); }
.cat:hover .arr { transform: translateX(4px); color: var(--orange); }

.status { /* top right of the frame on desktop, above the eyebrow below 1100px */
  position: absolute; top: calc(73px + 28px); right: var(--gutter);
  display: flex; flex-wrap: wrap; gap: 8px;
  font: 700 11.5px/1 var(--display); font-stretch: 112%; letter-spacing: 0.14em; text-transform: uppercase;
}
.status span {
  display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.06); border: 1px solid var(--line-dark); color: var(--on-dark-muted);
}
.status i { width: 8px; height: 8px; border-radius: 50%; background: var(--green-lite); box-shadow: 0 0 10px var(--green-lite); transition: background 0.3s, box-shadow 0.3s; }
.status .s-backup i { background: #4b5158; box-shadow: none; }
.hero.outage .status .s-grid i { background: #e5484d; box-shadow: 0 0 10px #e5484d; }
.hero.outage .status .s-backup { color: var(--on-dark); border-color: rgba(245, 131, 33, 0.5); }
.hero.outage .status .s-backup i { background: var(--orange); box-shadow: 0 0 12px var(--orange); }
/* below 1100px the range sits under the copy instead of beside it */
@media (max-width: 1100px) {
  .hero-frame { height: auto; min-height: 0; max-height: none; padding-bottom: var(--cats-h); }
  .hero.has-photo .hero-frame { min-height: 760px; }
  .hero-inner { padding-bottom: 8px; }
  .status { position: static; margin-bottom: 22px; }
  .stage { position: relative; right: auto; bottom: auto; width: min(100% - 2 * var(--gutter), 620px); margin: 18px auto 40px; }
}
@media (max-width: 760px) {
  .hero { --cats-h: 152px; }
  .hero-frame { aspect-ratio: 9 / 16; min-height: auto; padding-bottom: 0; } /* grows only if the copy cannot fit */
  .hero.has-photo .hero-frame { min-height: 0; }
  .hero-inner { padding-top: calc(73px + 28px); }
  .hero h1 { font-size: clamp(38px, 10.5vw, 46px); }
  .hero .lede { display: none; } /* the category strip right below says the same on phones */
  .hero .eyebrow { font-size: 11px; letter-spacing: 0.12em; }
  .hero-ctas { margin-top: 24px; gap: 10px; }
  .hero-ctas .btn { padding: 13px 18px; font-size: 14.5px; }
  .status { margin-bottom: 18px; }
  .hero-shade { background: linear-gradient(180deg, rgba(8, 10, 12, 0.86) 0%, rgba(8, 10, 12, 0.55) 44%, rgba(8, 10, 12, 0) 64%); }
  .cats { position: relative; }
  .stage { width: calc(100% - 2 * var(--gutter) - 28px); margin: auto auto 24px; }
  .skyline { height: 260px; bottom: 0; }
  .cats-inner { grid-template-columns: 1fr 1fr; }
  .cat { min-height: 76px; padding: 14px 12px; gap: 10px; }
  .cat:nth-child(odd) { border-left: 0; padding-left: 0; }
  .cat:nth-child(n + 3) { border-top: 1px solid var(--line-dark); }
  .cat .ico { width: 26px; height: 26px; }
  .cat b { font-size: 15px; }
  .cat small { font-size: 12px; }
  .cat .arr { display: none; }
}

/* ---------- range: bento ---------- */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.tile {
  position: relative; overflow: hidden; display: flex; text-decoration: none; border-radius: var(--radius);
  background: var(--card); border: 1px solid var(--line); padding: clamp(24px, 2.6vw, 36px);
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease);
}
.tile:hover { transform: translateY(-4px); box-shadow: 0 26px 50px -26px rgba(15, 17, 19, 0.4); }
.tile .tag {
  align-self: flex-start; padding: 7px 11px; border-radius: 999px; background: var(--ink); color: var(--on-dark);
  font: 700 11px/1 var(--display); font-stretch: 112%; letter-spacing: 0.14em; text-transform: uppercase;
}
.t-text { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 10px; }
.tile .num { font-size: clamp(46px, 4.2vw, 60px); margin-top: 10px; white-space: nowrap; }
.tile h3 { font-size: 22px; }
.tile p { margin: 0; color: var(--muted); font-size: 15px; max-width: 34ch; }
.t-meta { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 13.5px; color: var(--muted); }
.t-meta b { color: var(--text); font-weight: 600; }
.t-visual { position: absolute; pointer-events: none; transition: transform 0.7s var(--ease); }
.t-visual img, .t-visual svg { display: block; width: 100%; height: auto; }
.tile:hover .t-visual { transform: translateY(-6px); }

.t-feature { grid-column: span 4; grid-row: span 2; min-height: 580px; background: var(--ink); color: var(--on-dark); border-color: transparent; }
.t-feature::before { content: ""; position: absolute; right: -15%; bottom: -25%; width: 85%; height: 85%; background: radial-gradient(closest-side, rgba(245, 131, 33, 0.26), transparent); }
.t-feature .t-text { max-width: 46%; }
.t-feature .tag { background: var(--orange); color: var(--ink); }
.t-feature .num { font-size: clamp(64px, 6.6vw, 104px); }
.t-feature h3 { font-size: 30px; }
.t-feature p, .t-feature .t-meta { color: var(--on-dark-muted); }
.t-feature .t-meta { flex-direction: column; gap: 8px; margin-top: 10px; padding-top: 16px; border-top: 1px solid var(--line-dark); }
.t-feature .t-meta b { color: var(--on-dark); }
.t-feature .link-arrow { margin-top: 14px; color: var(--orange); }
.t-feature .t-visual { right: -2%; bottom: 7%; width: 58%; filter: drop-shadow(0 40px 36px rgba(0, 0, 0, 0.55)); }

.t-side { grid-column: span 2; min-height: 282px; }
.t-side .t-text { max-width: 56%; }
.t-side .t-visual { right: -5%; bottom: 8%; width: 50%; filter: drop-shadow(0 18px 18px rgba(15, 17, 19, 0.22)); }

.t-light { grid-column: span 2; min-height: 420px; flex-direction: column; justify-content: flex-end; }
.t-light .t-visual { top: 26px; right: 30px; }
.t-light .t-visual img { width: auto; max-height: 190px; filter: drop-shadow(0 16px 16px rgba(15, 17, 19, 0.2)); }
.t-warm { background: #f7ece0; border-color: transparent; }
.t-warm .t-visual::before { content: ""; position: absolute; inset: -30% -60% 10%; background: radial-gradient(closest-side, rgba(255, 196, 120, 0.7), transparent); z-index: -1; }
.t-night { background: var(--ink-2); color: var(--on-dark); border-color: transparent; }
.t-night .tag { background: rgba(255, 255, 255, 0.1); }
.t-night p, .t-night .t-meta { color: var(--on-dark-muted); }
.t-night .t-meta b { color: var(--on-dark); }
.t-night .t-visual { left: 22px; right: 22px; top: 40px; }

/* a tile whose shoot photo has arrived: the photo fills it, text sits on a shade */
.tile.has-photo { background: var(--ink); color: var(--on-dark); border-color: transparent; }
.t-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease); }
.tile.has-photo:hover .t-photo { transform: scale(1.03); }
.tile.has-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10, 12, 14, 0.86) 0%, rgba(10, 12, 14, 0.4) 55%, rgba(10, 12, 14, 0) 80%); }
.t-light.has-photo::after { background: linear-gradient(0deg, rgba(10, 12, 14, 0.9) 0%, rgba(10, 12, 14, 0.45) 45%, rgba(10, 12, 14, 0) 70%); }
.tile.has-photo .t-text { z-index: 2; }
.tile.has-photo p, .tile.has-photo .t-meta { color: var(--on-dark-muted); }
.tile.has-photo .t-meta b { color: var(--on-dark); }
.tile.has-photo .tag { background: rgba(255, 255, 255, 0.14); }
.t-feature.has-photo .tag { background: var(--orange); }

/* ---------- I-VOLT at work ---------- */
.work-grid { display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: 250px; gap: 16px; }
.w-card { position: relative; margin: 0; overflow: hidden; border-radius: var(--radius); background: var(--ink-3); grid-row: span 2; }
.w-U1 { grid-column: span 8; } .w-U2 { grid-column: span 4; }
.w-U3, .w-U4 { grid-column: span 3; } .w-U5 { grid-column: span 6; }
.w-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.w-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(8, 10, 12, 0.85) 0%, rgba(8, 10, 12, 0) 45%); }
.w-card .cap { position: absolute; left: 22px; right: 22px; bottom: 20px; z-index: 1; }
.w-card .cap b { display: block; font: 700 12px/1.3 var(--display); font-stretch: 112%; letter-spacing: 0.14em; text-transform: uppercase; color: var(--orange); margin-bottom: 6px; }
.w-card .cap span { font: 700 19px/1.25 var(--display); font-stretch: 96%; }
.w-card.ph { background: repeating-linear-gradient(135deg, #1a1e23 0 14px, #1d2228 14px 28px); border: 1.5px dashed rgba(255, 255, 255, 0.16); }
.ph-tag { position: absolute; left: 22px; top: 20px; font: 600 12px/1.3 var(--body); color: var(--on-dark-muted); background: rgba(0, 0, 0, 0.4); padding: 6px 10px; border-radius: 999px; }
@media (max-width: 760px) {
  .work-grid { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; margin: 0 calc(-1 * var(--gutter)); padding: 0 var(--gutter) 6px; scrollbar-width: none; }
  .work-grid::-webkit-scrollbar { display: none; }
  .w-card { flex: 0 0 84%; aspect-ratio: 4 / 5; scroll-snap-align: start; }
}

@media (max-width: 1000px) {
  .t-feature { grid-column: span 6; min-height: 500px; }
  .t-side { grid-column: span 3; }
}
@media (max-width: 760px) {
  .bento > .tile { grid-column: span 6; }
  .t-feature { flex-direction: column; min-height: 0; }
  .t-feature .t-text { max-width: none; }
  .t-feature .t-visual { position: relative; right: auto; bottom: auto; width: 88%; margin: 26px auto -6px; }
  .t-side { min-height: 250px; }
  .t-light { min-height: 380px; }
}

/* ---------- calculator ---------- */
.calc { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 18px; align-items: stretch; }
.calc-panel { background: var(--card); border-radius: var(--radius); padding: clamp(22px, 3vw, 36px); border: 1px solid var(--line); }
.calc-result {
  background: var(--ink); color: var(--on-dark); border-radius: var(--radius); padding: clamp(24px, 3vw, 38px);
  display: flex; flex-direction: column; gap: 18px; position: relative; overflow: hidden;
}
.calc-result::before { content: ""; position: absolute; right: -30%; bottom: -40%; width: 90%; height: 90%; background: radial-gradient(closest-side, rgba(245, 131, 33, 0.22), transparent); pointer-events: none; }
.calc-label { font: 700 12px/1.2 var(--display); font-stretch: 112%; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin: 0 0 12px; }
.calc-result .calc-label { color: var(--on-dark-muted); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  border: 1.5px solid var(--line); background: transparent; border-radius: 999px; padding: 10px 15px; cursor: pointer;
  font: 600 14.5px/1.1 var(--display); font-stretch: 100%; transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.chip:hover { border-color: rgba(15, 17, 19, 0.4); }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--on-dark); }
.chip small { display: block; font: 500 12px/1.3 var(--body); color: var(--muted); margin-top: 3px; }
.chip[aria-pressed="true"] small { color: var(--on-dark-muted); }
.preset { text-align: left; border-radius: 14px; padding: 14px 16px; }
.chips:has(.preset) { display: grid; grid-template-columns: 1fr 1fr; }
@media (max-width: 420px) { .chips:has(.preset) { grid-template-columns: 1fr; } }
.calc-block + .calc-block { margin-top: 26px; }
.load-list { list-style: none; margin: 0; padding: 0; font-size: 14.5px; }
.load-list li { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px dashed var(--line); }
.load-list li span:last-child { font-variant-numeric: tabular-nums; color: var(--muted); }
.load-list .tot { border-bottom: 0; font-weight: 600; }
.load-list .tot span:last-child { color: var(--text); }
.result-main { display: flex; align-items: flex-end; gap: 14px; flex-wrap: wrap; }
.result-main .num { font-size: clamp(76px, 9vw, 124px); color: var(--on-dark); }
.result-main .count { font: 800 26px/1 var(--display); font-stretch: 80%; color: var(--orange); padding-bottom: 10px; }
.result-line { margin: 0; color: var(--on-dark); font-size: 16px; }
.result-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; border-top: 1px solid var(--line-dark); padding-top: 18px; gap: 12px; }
.result-grid div { font-size: 13px; color: var(--on-dark-muted); }
.result-grid b { display: block; font: 800 24px/1.1 var(--display); font-stretch: 80%; color: var(--on-dark); margin-bottom: 4px; }
.calc-note { font-size: 13px; color: var(--on-dark-muted); margin: 0; }
.result-product {
  position: relative; display: flex; align-items: center; gap: 14px; padding: 10px 14px 10px 10px; border-radius: 14px; text-decoration: none;
  background: rgba(255, 255, 255, 0.06); border: 1px solid var(--line-dark); transition: background 0.2s, border-color 0.2s;
}
.result-product[hidden] { display: none; }
.result-product:hover { background: rgba(255, 255, 255, 0.1); border-color: rgba(245, 131, 33, 0.55); }
.result-product img { width: 60px; height: 60px; object-fit: contain; background: #fff; border-radius: 10px; padding: 4px; flex: none; }
.result-product b { display: block; font: 700 15.5px/1.25 var(--display); color: var(--on-dark); }
.result-product small { display: inline-flex; align-items: center; gap: 6px; margin-top: 4px; font-size: 13px; color: var(--orange); }
.result-product small svg { width: 12px; height: 12px; }
.calc-result .btn { align-self: flex-start; position: relative; }
.appliances { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 18px; }
.app-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.app-row .name { font-weight: 500; font-size: 15px; line-height: 1.25; }
.app-row .name small { display: block; color: var(--muted); font-size: 12.5px; font-weight: 400; }
.stepper { display: inline-flex; align-items: center; border: 1.5px solid var(--line); border-radius: 999px; flex: none; }
.stepper button { width: 34px; height: 34px; border: 0; background: none; cursor: pointer; font-size: 18px; line-height: 1; border-radius: 50%; }
.stepper button:hover { background: rgba(0, 0, 0, 0.06); }
.stepper output { min-width: 22px; text-align: center; font: 700 15px/1 var(--display); }
.hours { display: flex; align-items: center; gap: 16px; }
.hours input[type="range"] { flex: 1; accent-color: var(--orange); height: 28px; }
.hours output { font: 800 30px/1 var(--display); font-stretch: 80%; min-width: 78px; text-align: right; }
details.how { font-size: 13.5px; color: var(--on-dark-muted); position: relative; }
details.how summary { cursor: pointer; color: var(--on-dark); font-weight: 600; }
details.how p { margin: 8px 0 0; }
@media (max-width: 900px) { .calc { grid-template-columns: 1fr; } .appliances { grid-template-columns: 1fr; } }

/* ---------- tubular explainer ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 90px); align-items: center; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }
.points { list-style: none; padding: 0; margin: 34px 0 0; display: grid; gap: 0; }
.points li { display: grid; grid-template-columns: 48px 1fr; gap: 14px; padding: 18px 0; border-top: 1px solid var(--line); }
.points .idx { font: 800 15px/1.5 var(--display); font-stretch: 90%; color: var(--orange-ink); }
.points b { display: block; font: 750 18px/1.3 var(--display); font-stretch: 96%; margin-bottom: 4px; }
.points span { color: var(--muted); font-size: 15.5px; }
.plates { background: var(--card); border-radius: var(--radius); padding: clamp(20px, 3vw, 34px); border: 1px solid var(--line); }
.plates svg { width: 100%; height: auto; }
.plates figcaption { font-size: 13px; color: var(--muted); margin-top: 14px; }
.plates .flake > g { animation: shed 3.4s cubic-bezier(0.45, 0, 0.6, 1) infinite; animation-delay: calc(var(--i) * -0.48s); }
@keyframes shed { 0% { transform: translateY(-26px); opacity: 0; } 25% { opacity: 0.9; } 100% { transform: translateY(24px); opacity: 0; } }

/* ---------- made in hetauda ---------- */
.map-wrap { position: relative; }
.nepal-map .dots circle { fill: #3a424b; }
.nepal-map .pin-dot { fill: var(--on-dark); }
.nepal-map .pin-hetauda .pin-dot { fill: var(--orange); }
.nepal-map .pin-pulse { fill: none; stroke: var(--orange); stroke-width: 2; opacity: 0; transform-box: fill-box; transform-origin: center; }
.nepal-map .pin-hetauda .pin-pulse { animation: ring 2.6s var(--ease) infinite; }
@keyframes ring { 0% { transform: scale(0.4); opacity: 0.9; } 100% { transform: scale(2.6); opacity: 0; } }
.map-label { text-shadow: 0 1px 8px #0f1113, 0 0 2px #0f1113;
  position: absolute; transform: translate(-100%, -50%); padding-right: 22px; white-space: nowrap;
  font: 700 12px/1.25 var(--display); font-stretch: 112%; letter-spacing: 0.12em; text-transform: uppercase; color: var(--on-dark);
}
.map-label small { display: block; font: 500 12.5px/1.3 var(--body); letter-spacing: 0; text-transform: none; color: var(--on-dark-muted); }
.map-label.right { transform: translate(0, -50%); padding: 0 0 0 22px; }
.map-label.hetauda { color: var(--orange); }
.facts-list { margin: 34px 0 0; display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line-dark); }
.facts-list div { padding: 18px 18px 18px 0; border-bottom: 1px solid var(--line-dark); }
.facts-list dt { font: 700 11.5px/1.3 var(--display); font-stretch: 112%; letter-spacing: 0.14em; text-transform: uppercase; color: var(--on-dark-muted); margin-bottom: 6px; }
.facts-list dd { margin: 0; font-size: 15.5px; }
@media (max-width: 560px) { .facts-list { grid-template-columns: 1fr; } .map-label small { display: none; } }

/* ---------- where to buy ---------- */
.buy-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.buy-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; display: flex; flex-direction: column; gap: 12px; }
.buy-card .icon { width: 46px; height: 46px; border-radius: 12px; background: var(--ink); color: var(--orange); display: grid; place-items: center; }
.buy-card .icon svg { width: 22px; height: 22px; }
.buy-card p { margin: 0; color: var(--muted); font-size: 15.5px; }
.buy-card ul { list-style: none; padding: 0; margin: 4px 0 0; font-size: 15px; }
.buy-card li { padding: 8px 0; border-top: 1px solid var(--line); }
.buy-card li a { text-decoration: none; font-weight: 600; }
.buy-card li a:hover { color: var(--orange-ink); }
.buy-card .link-arrow { margin-top: auto; padding-top: 10px; }
@media (max-width: 900px) { .buy-grid { grid-template-columns: 1fr; } }

/* ---------- export band ---------- */
.export { background: var(--orange); color: var(--ink); padding: clamp(64px, 9vw, 110px) 0; }
.export .wrap { display: grid; grid-template-columns: 1.3fr 0.7fr; gap: 40px; align-items: end; }
.export .eyebrow { color: var(--ink); opacity: 0.75; }
.export p { margin: 20px 0 0; font-size: 18px; max-width: 560px; }
.export .actions { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.export small { font-size: 13.5px; opacity: 0.8; }
@media (max-width: 860px) { .export .wrap { grid-template-columns: 1fr; } }

/* ---------- footer ---------- */
.site-footer { background: var(--ink); color: var(--on-dark-muted); padding: 72px 0 34px; font-size: 14.5px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.site-footer img { height: 46px; width: auto; margin-bottom: 18px; }
.site-footer h4 { font: 700 12px/1.3 var(--display); font-stretch: 112%; letter-spacing: 0.14em; text-transform: uppercase; color: var(--on-dark); margin: 6px 0 14px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--on-dark); }
.site-footer p { margin: 0 0 10px; max-width: 340px; }
.footer-base { margin-top: 56px; padding-top: 22px; border-top: 1px solid var(--line-dark); display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; font-size: 13px; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- page header (inner pages) ---------- */
.page-head { padding: clamp(60px, 9vw, 120px) 0 clamp(44px, 6vw, 70px); }
.page-head h1 { font-size: clamp(44px, 6.6vw, 90px); max-width: 14ch; }
.tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 38px; }
.tabs .chip { color: var(--on-dark); border-color: var(--line-dark); }
.tabs .chip:hover { border-color: rgba(255, 255, 255, 0.4); }
.tabs .chip[aria-pressed="true"] { background: var(--orange); border-color: var(--orange); color: var(--ink); }

/* ---------- product listing ---------- */
.group { padding: clamp(56px, 7vw, 90px) 0 0; }
.group:last-of-type { padding-bottom: clamp(70px, 9vw, 120px); }
.group[hidden] { display: none; }
.group-head { display: grid; grid-template-columns: 1fr auto; gap: 18px 40px; align-items: end; padding-bottom: 24px; margin-bottom: 26px; border-bottom: 1px solid var(--line); }
.group-head h2 { font-size: clamp(30px, 3.6vw, 46px); }
.group-head p { margin: 10px 0 0; color: var(--muted); max-width: 640px; }
.group-head .badges { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.badge {
  display: inline-flex; align-items: center; gap: 7px; padding: 8px 12px; border-radius: 999px; background: var(--card); border: 1px solid var(--line);
  font: 700 12px/1 var(--display); font-stretch: 108%; letter-spacing: 0.06em; text-transform: uppercase; white-space: nowrap;
}
.badge i { width: 7px; height: 7px; border-radius: 50%; background: var(--green); }
.badge.warn i { background: var(--orange); }
@media (max-width: 760px) { .group-head { grid-template-columns: 1fr; } .group-head .badges { justify-content: flex-start; } }
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
@media (max-width: 1100px) { .cards { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 760px) { .cards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 420px) { .cards { grid-template-columns: 1fr; } }
.p-card {
  background: var(--card); border-radius: 16px; border: 1px solid var(--line); overflow: hidden; display: flex; flex-direction: column;
  text-decoration: none; transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.p-card:hover { transform: translateY(-3px); box-shadow: 0 20px 40px -24px rgba(15, 17, 19, 0.35); }
.p-card .media { aspect-ratio: 1; background: #f3f1ec; display: grid; place-items: center; }
.p-card .media img { width: 82%; height: 82%; object-fit: contain; mix-blend-mode: multiply; }
.p-card .body { padding: 18px 18px 20px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.p-card .num { font-size: 50px; }
.p-card .name { font-weight: 600; font-size: 15px; line-height: 1.3; }
.p-card .spec { color: var(--muted); font-size: 13.5px; line-height: 1.45; }
.p-card .go { margin-top: auto; padding-top: 12px; font: 700 13.5px/1.2 var(--display); font-stretch: 104%; color: var(--orange-ink); display: inline-flex; gap: 6px; align-items: center; }
.p-card .go svg { width: 13px; height: 13px; }
.family { display: grid; grid-template-columns: 300px 1fr; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.family + .family { margin-top: 14px; }
.family .media { background: #f3f1ec; display: grid; place-items: center; min-height: 240px; }
.family .media img { width: 70%; max-height: 220px; object-fit: contain; mix-blend-mode: multiply; }
.family .body { padding: clamp(22px, 3vw, 34px); display: flex; flex-direction: column; gap: 10px; }
.family .body > p { margin: 0; color: var(--muted); font-size: 15.5px; max-width: 640px; }
.family .specs { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 13.5px; color: var(--muted); }
.family .specs b { color: var(--text); font-weight: 600; }
.sizes { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.size {
  display: inline-flex; flex-direction: column; align-items: flex-start; min-width: 74px; padding: 10px 14px 9px; border-radius: 12px;
  border: 1.5px solid var(--line); text-decoration: none; transition: border-color 0.2s, background 0.2s;
}
.size:hover { border-color: var(--orange); background: #fff7ef; }
.size b { font: 800 22px/1 var(--display); font-stretch: 78%; }
.size span { font-size: 11.5px; color: var(--muted); margin-top: 3px; }
@media (max-width: 760px) { .family { grid-template-columns: 1fr; } .family .media { min-height: 200px; } }
.note { font-size: 13.5px; color: var(--muted); margin: 20px 0 0; }

/* ---------- guide ---------- */
.guide { display: grid; grid-template-columns: 240px 1fr; gap: clamp(32px, 6vw, 90px); padding-top: clamp(64px, 8vw, 110px); padding-bottom: clamp(70px, 9vw, 130px); }
.toc { position: sticky; top: 100px; align-self: start; display: grid; gap: 2px; font-size: 14.5px; }
.toc h4 { font: 700 12px/1.3 var(--display); font-stretch: 112%; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin: 18px 0 8px; }
.toc h4:first-child { margin-top: 0; }
.toc a { text-decoration: none; color: var(--muted); padding: 5px 0 5px 14px; border-left: 2px solid var(--line); }
.toc a:hover, .toc a.on { color: var(--text); border-left-color: var(--orange); }
@media (max-width: 900px) { .guide { grid-template-columns: 1fr; } .toc { display: none; } }
.article { max-width: 760px; }
.article section { padding-bottom: 54px; margin-bottom: 54px; border-bottom: 1px solid var(--line); }
.article section:last-child { border-bottom: 0; margin-bottom: 0; }
.article h2 { font-size: clamp(32px, 4vw, 52px); margin-bottom: 22px; }
.article h3 { margin: 34px 0 10px; }
.article p, .article li { color: #33373d; }
.article p { margin: 0 0 14px; }
.article ul { padding-left: 20px; margin: 0 0 14px; }
.article li { margin-bottom: 8px; }
.article strong { color: var(--text); }
.table-wrap { overflow-x: auto; margin: 20px 0; border: 1px solid var(--line); border-radius: 14px; background: var(--card); }
table { width: 100%; border-collapse: collapse; font-size: 14.5px; min-width: 520px; }
th, td { text-align: left; padding: 13px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font: 700 11.5px/1.3 var(--display); font-stretch: 112%; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); background: #faf9f6; }
tr:last-child td { border-bottom: 0; }
td b { font-weight: 600; }
.callout { background: var(--ink); color: var(--on-dark); border-radius: 16px; padding: 22px 24px; margin: 22px 0; font-size: 15.5px; }
.callout p { color: var(--on-dark-muted); margin: 0; }
.callout b { color: var(--on-dark); }
.faq details { border-top: 1px solid var(--line); padding: 18px 0; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; font: 700 18px/1.35 var(--display); font-stretch: 96%; list-style: none; display: flex; justify-content: space-between; gap: 20px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--orange-ink); font-size: 24px; line-height: 1; transition: transform 0.3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 12px 0 0; }

/* ---------- reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); transition-delay: var(--rd, 0s); }
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- preview banner (removed before launch) ---------- */
.preview-flag {
  position: fixed; left: 50%; top: 84px; transform: translateX(-50%); z-index: 80; white-space: nowrap; padding: 8px 14px; border-radius: 999px;
  background: #2a1a0a; color: var(--glow); border: 1px solid rgba(245, 131, 33, 0.4); font: 600 12px/1.3 var(--body);
}
@media (max-width: 760px) { .preview-flag { top: auto; bottom: 12px; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}
