/* ==========================================================================
   StenGrid — design system & site styles
   Mobile-first. Tokens on :root. Motion respects prefers-reduced-motion.
   ========================================================================== */

:root {
  /* Brand palette */
  --forest: #123b2a;
  --forest-700: #0d2c1f;
  --forest-500: #1d5a40;
  --navy: #101c2c;
  --navy-800: #0b1420;
  --paper: #f7f8f4;
  --white: #ffffff;
  --gold: #e8b94f;
  --gold-600: #c99a2e;
  --sage: #e4ebe2;
  --sage-200: #d3ddd0;
  --ink: #15211b;
  --ink-2: #44524b;
  --ink-3: #66746d; /* 4.6:1 on paper */
  --line: rgba(18, 59, 42, 0.14);
  --line-dark: rgba(255, 255, 255, 0.14);
  --on-dark: #ffffff;
  --on-dark-2: rgba(255, 255, 255, 0.78);

  /* Type */
  --font-head: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --fs-xs: 0.8125rem;
  --fs-sm: 0.9375rem;
  --fs-md: 1.0625rem;
  --fs-lg: clamp(1.125rem, 1rem + 0.4vw, 1.3125rem);
  --fs-h4: clamp(1.125rem, 1.05rem + 0.3vw, 1.3rem);
  --fs-h3: clamp(1.3rem, 1.1rem + 0.8vw, 1.75rem);
  --fs-h2: clamp(1.85rem, 1.3rem + 2.2vw, 3.1rem);
  --fs-h1: clamp(2.35rem, 1.4rem + 4.4vw, 5rem);

  /* Space & shape */
  --gutter: clamp(1rem, 0.6rem + 2vw, 2.5rem);
  --section: clamp(4rem, 2.8rem + 6vw, 8.5rem);
  --maxw: 1240px;
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(16, 28, 44, 0.06), 0 2px 8px rgba(16, 28, 44, 0.05);
  --shadow-md: 0 10px 30px -12px rgba(16, 28, 44, 0.22);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --dur: 0.6s;
  --header-h: 72px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--fs-md);
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
main { display: block; overflow-x: clip; }
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4, h5 { font-family: var(--font-head); line-height: 1.12; margin: 0 0 0.6em; letter-spacing: -0.02em; font-weight: 700; color: inherit; }
h1 { font-size: var(--fs-h1); font-weight: 800; letter-spacing: -0.035em; }
h2 { font-size: var(--fs-h2); letter-spacing: -0.03em; }
h3 { font-size: var(--fs-h3); }
h4 { font-size: var(--fs-h4); letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

.skip-link {
  position: absolute; left: 1rem; top: -100px; z-index: 1000;
  background: var(--gold); color: var(--navy); padding: 0.75rem 1rem; border-radius: var(--r-sm);
  font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 1rem; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); position: relative; }
.section--tight { padding-block: calc(var(--section) * 0.6); }
.section--sage { background: var(--sage); }
.section--white { background: var(--white); }
.section--dark { background: var(--navy); color: var(--on-dark); }
.section--forest { background: var(--forest); color: var(--on-dark); }
.section--dark p, .section--forest p { color: var(--on-dark-2); }

.grid { display: grid; gap: clamp(1rem, 0.6rem + 1.5vw, 2rem); }
@media (min-width: 640px) { .grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 640px) { .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 640px) { .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

.split { display: grid; gap: clamp(2rem, 1rem + 4vw, 5rem); align-items: center; }
@media (min-width: 960px) {
  .split { grid-template-columns: 1fr 1fr; }
  .split--wide-left { grid-template-columns: 1.15fr 0.85fr; }
  .split--wide-right { grid-template-columns: 0.85fr 1.15fr; }
}

/* ---------- Section heads ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-family: var(--font-head); font-size: var(--fs-xs); font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--forest-500);
  margin-bottom: 1rem;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--gold); border-radius: 2px; }
.section--dark .eyebrow, .section--forest .eyebrow, .hero .eyebrow, .page-hero .eyebrow { color: var(--gold); }
.section-head { max-width: 760px; margin-bottom: clamp(2rem, 1.4rem + 2vw, 3.5rem); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }
.section-head p { font-size: var(--fs-lg); color: var(--ink-2); }
.section--dark .section-head p, .section--forest .section-head p { color: var(--on-dark-2); }
.section-head--row { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 1.5rem; max-width: none; }
.section-head--row > div { max-width: 720px; }
.lead { font-size: var(--fs-lg); color: var(--ink-2); }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--gold); --btn-fg: var(--navy); --btn-bd: var(--gold);
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem;
  min-height: 48px; padding: 0.8rem 1.4rem;
  font-family: var(--font-head); font-weight: 700; font-size: var(--fs-sm); letter-spacing: 0.01em;
  background: var(--btn-bg); color: var(--btn-fg); border: 1.5px solid var(--btn-bd);
  border-radius: 999px; text-decoration: none; cursor: pointer;
  transition: transform 0.25s var(--ease), background-color 0.25s, color 0.25s, border-color 0.25s, box-shadow 0.25s;
  -webkit-tap-highlight-color: transparent;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 24px -10px rgba(232, 185, 79, 0.7); }
.btn:active { transform: translateY(0) scale(0.98); }
.btn .arrow { transition: transform 0.25s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }
.btn--ghost { --btn-bg: transparent; --btn-fg: var(--white); --btn-bd: rgba(255, 255, 255, 0.45); }
.btn--ghost:hover { --btn-bg: rgba(255, 255, 255, 0.1); --btn-bd: var(--white); box-shadow: none; }
.btn--dark { --btn-bg: var(--forest); --btn-fg: var(--white); --btn-bd: var(--forest); }
.btn--dark:hover { --btn-bg: var(--forest-700); box-shadow: 0 10px 24px -12px rgba(18, 59, 42, 0.6); }
.btn--outline { --btn-bg: transparent; --btn-fg: var(--forest); --btn-bd: var(--forest); }
.btn--outline:hover { --btn-bg: var(--forest); --btn-fg: var(--white); box-shadow: none; }
.btn--sm { min-height: 42px; padding: 0.55rem 1.1rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.75rem; }
@media (max-width: 479px) { .btn-row--stack .btn { width: 100%; } }

.link-arrow {
  display: inline-flex; align-items: center; gap: 0.5rem; font-family: var(--font-head); font-weight: 700;
  font-size: var(--fs-sm); color: var(--forest); text-decoration: none; min-height: 44px;
}
.link-arrow .arrow { transition: transform 0.25s var(--ease); }
.link-arrow:hover .arrow, .card:hover .link-arrow .arrow { transform: translateX(5px); }
.section--dark .link-arrow, .section--forest .link-arrow { color: var(--gold); }

/* ---------- Top bar & header ---------- */
.topbar { background: var(--navy-800); color: var(--on-dark-2); font-size: var(--fs-xs); }
.topbar .container { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 40px; }
.topbar ul { list-style: none; display: flex; flex-wrap: wrap; gap: 0.25rem 1.5rem; }
.topbar a { text-decoration: none; display: inline-flex; align-items: center; gap: 0.45rem; padding: 0.35rem 0; }
.topbar a:hover { color: var(--white); }
.topbar svg { width: 14px; height: 14px; color: var(--gold); flex: none; }
@media (max-width: 767px) { .topbar__address, .topbar .socials { display: none !important; } .topbar .container { justify-content: center; } }

.socials { display: flex; gap: 0.35rem; list-style: none; }
.socials a { width: 36px; height: 36px; display: inline-grid; place-items: center; border-radius: 50%; transition: background-color 0.2s, color 0.2s; }
.socials a:hover { background: rgba(255, 255, 255, 0.1); color: var(--white); }
.socials svg { width: 16px; height: 16px; }

.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(16, 28, 44, 0.72);
  -webkit-backdrop-filter: saturate(140%) blur(10px); backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line-dark);
  color: var(--white);
  transition: background-color 0.35s, box-shadow 0.35s;
}
.site-header.is-scrolled { background: rgba(16, 28, 44, 0.94); box-shadow: 0 8px 30px -14px rgba(0, 0, 0, 0.5); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; text-decoration: none; flex: none; }
.brand img { height: 42px; width: auto; }
.nav { display: none; }
.nav ul { list-style: none; display: flex; gap: 0.25rem; }
.nav a {
  position: relative; display: inline-flex; align-items: center; min-height: 44px; padding: 0 0.9rem;
  font-family: var(--font-head); font-weight: 600; font-size: var(--fs-sm); text-decoration: none; color: var(--on-dark-2);
  transition: color 0.2s;
}
.nav a::after {
  content: ""; position: absolute; left: 0.9rem; right: 0.9rem; bottom: 8px; height: 2px; background: var(--gold);
  transform: scaleX(0); transform-origin: left; transition: transform 0.35s var(--ease);
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--white); }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.header-actions { display: flex; align-items: center; gap: 0.5rem; }
.icon-btn {
  width: 44px; height: 44px; display: inline-grid; place-items: center; border-radius: 50%;
  background: transparent; border: 1px solid var(--line-dark); color: var(--white); cursor: pointer;
  transition: background-color 0.2s, border-color 0.2s;
}
.icon-btn:hover { background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.3); }
.icon-btn svg { width: 18px; height: 18px; }
.header-cta { display: none; }
@media (min-width: 1024px) {
  .nav { display: block; }
  .header-cta { display: inline-flex; }
  .menu-toggle { display: none; }
}

/* Mobile menu */
.menu-toggle .bars { position: relative; width: 18px; height: 12px; }
.menu-toggle .bars span { position: absolute; left: 0; right: 0; height: 2px; background: currentColor; border-radius: 2px; transition: transform 0.3s var(--ease), opacity 0.2s, top 0.3s var(--ease); }
.menu-toggle .bars span:nth-child(1) { top: 0; }
.menu-toggle .bars span:nth-child(2) { top: 5px; }
.menu-toggle .bars span:nth-child(3) { top: 10px; }
.menu-toggle[aria-expanded="true"] .bars span:nth-child(1) { top: 5px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] .bars span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] .bars span:nth-child(3) { top: 5px; transform: rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: var(--header-h) 0 0 0; z-index: 99;
  background: var(--navy); color: var(--white);
  padding: 1.5rem var(--gutter) calc(2rem + env(safe-area-inset-bottom));
  overflow-y: auto; overscroll-behavior: contain;
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0s linear 0.3s;
}
.mobile-menu.is-open { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.mobile-menu ul { list-style: none; border-top: 1px solid var(--line-dark); }
.mobile-menu li { border-bottom: 1px solid var(--line-dark); }
.mobile-menu a.mm-link {
  display: flex; justify-content: space-between; align-items: center; min-height: 60px;
  font-family: var(--font-head); font-size: 1.35rem; font-weight: 700; text-decoration: none;
}
.mobile-menu a.mm-link[aria-current="page"] { color: var(--gold); }
.mobile-menu .mm-contact { margin-top: 2rem; display: grid; gap: 0.75rem; color: var(--on-dark-2); font-size: var(--fs-sm); }
.mobile-menu .mm-contact a { text-decoration: none; display: inline-flex; gap: 0.6rem; align-items: center; min-height: 44px; }
.mobile-menu .mm-contact svg { width: 16px; height: 16px; color: var(--gold); }
.mobile-menu .btn { width: 100%; margin-top: 1.5rem; }
@media (min-width: 1024px) { .mobile-menu { display: none; } }
body.menu-open { overflow: hidden; }

/* Scroll progress */
.scroll-progress { position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 200; pointer-events: none; }
.scroll-progress span { display: block; height: 100%; background: linear-gradient(90deg, var(--gold), #f3d58b); transform-origin: 0 50%; transform: scaleX(0); }

/* ---------- Hero ---------- */
.hero {
  position: relative; isolation: isolate; color: var(--white); background: var(--navy);
  min-height: min(92vh, 900px); display: flex; align-items: center;
  margin-top: calc(var(--header-h) * -1); padding-top: calc(var(--header-h) + 3rem); padding-bottom: 5rem;
  overflow: hidden;
}
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: center 40%; transform: scale(1.06); animation: heroZoom 18s var(--ease) forwards; }
.hero__media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(11, 20, 32, 0.92) 0%, rgba(11, 20, 32, 0.72) 45%, rgba(11, 20, 32, 0.25) 100%),
    linear-gradient(0deg, rgba(11, 20, 32, 0.85) 0%, rgba(11, 20, 32, 0) 40%);
}
@media (max-width: 767px) {
  .hero__media::after { background: linear-gradient(180deg, rgba(11, 20, 32, 0.7) 0%, rgba(11, 20, 32, 0.82) 60%, rgba(11, 20, 32, 0.95) 100%); }
}
@keyframes heroZoom { to { transform: scale(1); } }
.hero .container { display: grid; gap: 3rem; align-items: center; }
@media (min-width: 1024px) { .hero .container { grid-template-columns: 1.2fr 0.8fr; } }
.hero h1 { margin-bottom: 1.25rem; max-width: 13ch; }
.hero h1 .accent { color: var(--gold); }
.hero__lead { font-size: var(--fs-lg); color: var(--on-dark-2); max-width: 56ch; margin-bottom: 2rem; }
.hero__trust {
  margin-top: 2.25rem; display: inline-flex; align-items: center; gap: 0.9rem; flex-wrap: wrap;
  padding: 0.7rem 1.1rem 0.7rem 0.8rem; border: 1px solid var(--line-dark); border-radius: 999px;
  background: rgba(255, 255, 255, 0.06); font-size: var(--fs-sm); color: var(--on-dark-2);
}
.hero__trust strong { color: var(--white); font-weight: 600; }
.hero__trust .dot { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--gold); color: var(--navy); flex: none; }
.hero__trust .dot svg { width: 18px; height: 18px; }
.scroll-cue {
  position: absolute; left: 50%; bottom: 1.5rem; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 0.5rem;
  font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--on-dark-2); text-decoration: none;
}
.scroll-cue .mouse { width: 22px; height: 34px; border: 1.5px solid rgba(255, 255, 255, 0.55); border-radius: 12px; position: relative; }
.scroll-cue .mouse::after { content: ""; position: absolute; left: 50%; top: 7px; width: 3px; height: 7px; margin-left: -1.5px; border-radius: 2px; background: var(--gold); animation: cue 1.8s var(--ease) infinite; }
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(10px); } }
@media (max-height: 640px), (max-width: 479px) { .scroll-cue { display: none; } }

/* Hero entrance (only when JS adds .js) */
.js .hero [data-hero] { opacity: 0; transform: translateY(22px); }
.js .hero.is-in [data-hero] { opacity: 1; transform: none; transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); transition-delay: calc(var(--i, 0) * 110ms + 100ms); }

/* Solar-cell energy graphic */
.solar-graphic { width: 100%; max-width: 440px; margin-inline: auto; display: none; }
@media (min-width: 1024px) { .solar-graphic { display: block; } }
.solar-graphic .cell { fill: #17324d; stroke: rgba(255, 255, 255, 0.16); stroke-width: 1; }
.solar-graphic .cell-lit { fill: var(--gold); opacity: 0; animation: cellLit 6s ease-in-out infinite; animation-delay: var(--d, 0s); }
@keyframes cellLit { 0%, 100% { opacity: 0; } 12% { opacity: 0.55; } 26% { opacity: 0; } }
.solar-graphic .busbar { stroke: rgba(255, 255, 255, 0.22); stroke-width: 1; }
.solar-graphic .flow { fill: none; stroke: var(--gold); stroke-width: 2; stroke-linecap: round; stroke-dasharray: 6 14; animation: flow 1.6s linear infinite; opacity: 0.9; }
.solar-graphic .flow-base { fill: none; stroke: rgba(232, 185, 79, 0.18); stroke-width: 2; }
@keyframes flow { to { stroke-dashoffset: -40; } }
.solar-graphic .sun { fill: var(--gold); }
.solar-graphic .sun-ring { fill: none; stroke: var(--gold); opacity: 0.4; transform-origin: center; transform-box: fill-box; animation: ring 4s var(--ease) infinite; }
@keyframes ring { 0% { transform: scale(0.7); opacity: 0.5; } 100% { transform: scale(1.6); opacity: 0; } }
.solar-graphic .label { font-family: var(--font-head); font-size: 11px; font-weight: 700; letter-spacing: 0.14em; fill: rgba(255, 255, 255, 0.7); }
.solar-graphic .node { fill: var(--navy); stroke: var(--gold); stroke-width: 1.5; }
.solar-graphic .node-icon { stroke: var(--gold); fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  position: relative; isolation: isolate; color: var(--white); background: var(--navy);
  margin-top: calc(var(--header-h) * -1); padding: calc(var(--header-h) + clamp(3.5rem, 2rem + 6vw, 7rem)) 0 clamp(3rem, 2rem + 4vw, 5.5rem);
  overflow: hidden;
}
.page-hero__media { position: absolute; inset: 0; z-index: -1; }
.page-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.page-hero__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(11, 20, 32, 0.94) 10%, rgba(11, 20, 32, 0.66) 60%, rgba(18, 59, 42, 0.55) 100%); }
.page-hero h1 { font-size: clamp(2.2rem, 1.4rem + 3.6vw, 4.2rem); max-width: 18ch; }
.page-hero p { color: var(--on-dark-2); font-size: var(--fs-lg); max-width: 60ch; margin-bottom: 0; }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 0.5rem; font-size: var(--fs-sm); color: var(--on-dark-2); margin-bottom: 1.25rem; }
.breadcrumb li + li::before { content: "/"; margin-right: 0.5rem; opacity: 0.6; }
.breadcrumb a { text-decoration: none; display: inline-flex; align-items: center; min-height: 32px; min-width: 32px; }
.breadcrumb a:hover { color: var(--white); text-decoration: underline; }
.breadcrumb [aria-current] { color: var(--gold); }

/* ---------- Trust strip ---------- */
.trust-strip { background: var(--white); border-bottom: 1px solid var(--line); }
.trust-strip .container { display: grid; gap: 1px; background: var(--line); padding: 0; }
@media (min-width: 640px) { .trust-strip .container { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .trust-strip .container { grid-template-columns: repeat(4, 1fr); } }
.trust-item { background: var(--white); display: flex; gap: 0.9rem; align-items: flex-start; padding: 1.5rem var(--gutter); }
.trust-item .ico { flex: none; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--sage); color: var(--forest); }
.trust-item .ico svg { width: 22px; height: 22px; }
.trust-item h2, .trust-item h3 { font-size: 1rem; margin: 0 0 0.2rem; letter-spacing: -0.01em; }
.trust-item p { margin: 0; font-size: var(--fs-sm); color: var(--ink-3); line-height: 1.5; }

/* ---------- Media frame ---------- */
.media-frame { position: relative; border-radius: var(--r-lg); overflow: hidden; background: var(--sage); }
.media-frame img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.media-frame:hover img { transform: scale(1.04); }
.ratio-4x5 { aspect-ratio: 4 / 5; }
.ratio-4x3 { aspect-ratio: 4 / 3; }
.ratio-16x10 { aspect-ratio: 16 / 10; }
.ratio-1x1 { aspect-ratio: 1; }
.media-stack { position: relative; padding-bottom: 3rem; }
.media-stack .media-frame--inset {
  position: absolute; right: -0.5rem; bottom: 0; width: 46%; border: 6px solid var(--paper); box-shadow: var(--shadow-md);
}
@media (min-width: 960px) { .media-stack .media-frame--inset { right: -2rem; } }
.media-badge {
  position: absolute; left: 1rem; bottom: 4rem; background: var(--forest); color: var(--white); border-radius: var(--r-md);
  padding: 1rem 1.2rem; max-width: 220px; box-shadow: var(--shadow-md); font-size: var(--fs-sm); line-height: 1.45;
}
.media-badge strong { display: block; font-family: var(--font-head); font-size: 1rem; color: var(--gold); margin-bottom: 0.2rem; }

/* ---------- Feature list ---------- */
.feature-list { list-style: none; display: grid; gap: 1.25rem; margin: 2rem 0; }
.feature { display: flex; gap: 1rem; align-items: flex-start; }
.feature .ico { flex: none; width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--forest); color: var(--gold); }
.feature .ico svg { width: 22px; height: 22px; }
.section--dark .feature .ico, .section--forest .feature .ico { background: rgba(255, 255, 255, 0.08); }
.feature h3, .feature h4 { font-size: 1.075rem; margin: 0.15rem 0 0.25rem; letter-spacing: -0.01em; }
.feature p { margin: 0; color: var(--ink-2); font-size: var(--fs-sm); }
.section--dark .feature p, .section--forest .feature p { color: var(--on-dark-2); }

/* ---------- Cards ---------- */
.card {
  position: relative; display: flex; flex-direction: column; background: var(--white);
  border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden;
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease), border-color 0.3s;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: rgba(18, 59, 42, 0.28); }
.card__media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--sage); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease); }
.card:hover .card__media img { transform: scale(1.06); }
.card__body { padding: 1.5rem; display: flex; flex-direction: column; gap: 0.5rem; flex: 1; }
.card__body h3 { font-size: 1.25rem; margin: 0; }
.card__body p { color: var(--ink-2); font-size: var(--fs-sm); margin: 0; }
.card__body .link-arrow { margin-top: auto; padding-top: 0.5rem; }
.card__tag { font-family: var(--font-head); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--forest-500); }
.card__icon { width: 52px; height: 52px; border-radius: 14px; background: var(--sage); color: var(--forest); display: grid; place-items: center; margin-bottom: 0.5rem; transition: background-color 0.3s, color 0.3s; }
.card__icon svg { width: 26px; height: 26px; }
.card:hover .card__icon { background: var(--forest); color: var(--gold); }
.card .stretched::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.benefits { list-style: none; display: grid; gap: 0.4rem; margin: 0.5rem 0 0.25rem; font-size: var(--fs-sm); color: var(--ink-2); }
.benefits li { display: flex; gap: 0.55rem; align-items: flex-start; }
.benefits li::before { content: ""; flex: none; width: 16px; height: 16px; margin-top: 0.25em; border-radius: 50%; background: var(--sage) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.2 2.2 4.8-4.8' fill='none' stroke='%23123b2a' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat; }

/* Service detail rows */
.service-detail { display: grid; gap: clamp(1.5rem, 1rem + 2vw, 3.5rem); align-items: center; padding-block: clamp(2rem, 1.5rem + 2vw, 3.5rem); border-top: 1px solid var(--line); }
.service-detail:first-of-type { border-top: 0; }
@media (min-width: 900px) {
  .service-detail { grid-template-columns: 1fr 1fr; }
  .service-detail:nth-of-type(even) .service-detail__media { order: 2; }
}
.service-detail h3 { font-size: var(--fs-h3); }
.service-detail .num { font-family: var(--font-head); font-weight: 800; color: var(--gold-600); font-size: var(--fs-sm); letter-spacing: 0.1em; display: block; margin-bottom: 0.6rem; }

/* ---------- JA Solar ---------- */
.ja { position: relative; overflow: hidden; }
.ja::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0.5;
  background-image: linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 56px 56px; mask-image: radial-gradient(ellipse at 80% 20%, #000 0%, transparent 70%);
}
.ja .container { position: relative; }
.ja__badge {
  display: inline-flex; align-items: center; gap: 0.75rem; padding: 0.55rem 1rem 0.55rem 0.55rem; border-radius: 999px;
  border: 1px solid rgba(232, 185, 79, 0.45); background: rgba(232, 185, 79, 0.08); margin-bottom: 1.5rem;
  font-family: var(--font-head); font-weight: 700; font-size: var(--fs-sm); color: var(--white);
}
.ja__badge .dot { width: 30px; height: 30px; border-radius: 50%; background: var(--gold); color: var(--navy); display: grid; place-items: center; }
.ja__badge svg { width: 16px; height: 16px; }
.ja h2 .accent { color: var(--gold); }
.ja-points { display: grid; gap: 1px; background: var(--line-dark); border: 1px solid var(--line-dark); border-radius: var(--r-lg); overflow: hidden; margin: 2rem 0; }
@media (min-width: 640px) { .ja-points { grid-template-columns: 1fr 1fr; } }
.ja-point { background: var(--navy); padding: 1.4rem; }
.ja-point h3 { font-size: 1.05rem; margin: 0 0 0.35rem; color: var(--white); }
.ja-point p { margin: 0; font-size: var(--fs-sm); }
.ja-panel { position: relative; }
.ja-panel .media-frame { border: 1px solid var(--line-dark); }
.ja-panel figcaption { margin-top: 0.8rem; font-size: var(--fs-xs); color: var(--on-dark-2); }

/* ---------- Process timeline ---------- */
.timeline { list-style: none; position: relative; display: grid; gap: 0; counter-reset: step; }
.timeline::before { content: ""; position: absolute; left: 23px; top: 8px; bottom: 8px; width: 2px; background: var(--line); }
.timeline .progress-line { position: absolute; left: 23px; top: 8px; width: 2px; height: calc(100% - 16px); background: linear-gradient(var(--gold), var(--gold-600)); transform-origin: top; transform: scaleY(var(--p, 0)); }
.step { position: relative; display: grid; grid-template-columns: 48px 1fr; gap: 1.25rem; padding-bottom: 2rem; }
.step:last-child { padding-bottom: 0; }
.step__dot {
  position: relative; z-index: 1; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center;
  background: var(--white); border: 2px solid var(--line); color: var(--forest); font-family: var(--font-head); font-weight: 800; font-size: 0.9rem;
  transition: background-color 0.5s var(--ease), border-color 0.5s, color 0.5s, box-shadow 0.5s;
}
.step.is-active .step__dot { background: var(--forest); border-color: var(--gold); color: var(--gold); box-shadow: 0 0 0 6px rgba(232, 185, 79, 0.18); }
.step__body h3 { font-size: 1.15rem; margin: 0.65rem 0 0.35rem; }
.step__body p { margin: 0; color: var(--ink-2); font-size: var(--fs-sm); }
.step__body .note { display: block; margin-top: 0.4rem; font-size: var(--fs-xs); color: var(--ink-3); }
@media (min-width: 1100px) {
  .timeline { grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 1rem; }
  .timeline::before { left: 24px; right: 24px; top: 23px; bottom: auto; width: auto; height: 2px; }
  .timeline .progress-line { left: 24px; top: 23px; width: calc(100% - 48px); height: 2px; transform-origin: left; transform: scaleX(var(--p, 0)); }
  .step { grid-template-columns: 1fr; gap: 0.5rem; padding-bottom: 0; }
  .step__body h3 { margin-top: 0.75rem; }
}

/* Numbered "how it works" cards */
.how-card { position: relative; padding: 1.75rem; border-radius: var(--r-lg); background: var(--white); border: 1px solid var(--line); height: 100%; }
.how-card .n { font-family: var(--font-head); font-size: 2.6rem; font-weight: 800; letter-spacing: -0.04em; line-height: 1; color: transparent; -webkit-text-stroke: 1.5px var(--gold-600); display: block; margin-bottom: 1rem; }
.how-card h3 { font-size: 1.15rem; }
.how-card p { margin: 0; color: var(--ink-2); font-size: var(--fs-sm); }

/* ---------- Brand logos ---------- */
.logos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; }
@media (min-width: 768px) { .logos { grid-template-columns: repeat(6, 1fr); } }
.logos li { list-style: none; background: var(--white); display: grid; place-items: center; padding: 1.25rem; min-height: 96px; }
.logos img { max-height: 46px; width: auto; filter: grayscale(1); opacity: 0.72; transition: filter 0.3s, opacity 0.3s; }
.logos li:hover img { filter: none; opacity: 1; }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line-dark); border-radius: var(--r-lg); overflow: hidden; }
@media (min-width: 900px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stat { background: var(--forest); padding: 1.75rem 1.25rem; }
.stat .value { font-family: var(--font-head); font-size: clamp(2rem, 1.5rem + 2vw, 3rem); font-weight: 800; color: var(--gold); letter-spacing: -0.03em; line-height: 1; }
.stat .label { margin-top: 0.5rem; font-size: var(--fs-sm); color: var(--on-dark-2); }

/* ---------- Testimonials ---------- */
.quote-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 1.75rem; display: flex; flex-direction: column; gap: 1.25rem; height: 100%; margin: 0; }
.quote-card blockquote { margin: 0; font-size: 1.05rem; line-height: 1.6; color: var(--ink); }
.quote-card .qmark { width: 36px; height: 36px; color: var(--gold); }
.quote-card figcaption { margin-top: auto; display: flex; align-items: center; gap: 0.85rem; padding-top: 1rem; border-top: 1px solid var(--line); }
.avatar { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--forest); color: var(--gold); font-family: var(--font-head); font-weight: 800; font-size: 0.9rem; flex: none; }
.quote-card .who strong { display: block; font-family: var(--font-head); font-size: 1rem; }
.quote-card .who span { font-size: var(--fs-xs); color: var(--ink-3); }
.testimonial-track { display: grid; gap: 1.25rem; }
@media (min-width: 768px) { .testimonial-track { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1200px) { .testimonial-track { grid-template-columns: repeat(4, 1fr); } }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 0.75rem; }
.faq details { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md); transition: border-color 0.3s, box-shadow 0.3s; }
.faq details[open] { border-color: rgba(18, 59, 42, 0.3); box-shadow: var(--shadow-sm); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.15rem 1.25rem; min-height: 56px; font-family: var(--font-head); font-weight: 700; font-size: 1.05rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq .plus { flex: none; width: 32px; height: 32px; border-radius: 50%; background: var(--sage); position: relative; transition: background-color 0.3s, transform 0.4s var(--ease); }
.faq .plus::before, .faq .plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px; background: var(--forest); border-radius: 2px; transition: transform 0.4s var(--ease); }
.faq .plus::after { transform: rotate(90deg); }
.faq details[open] .plus { background: var(--forest); transform: rotate(180deg); }
.faq details[open] .plus::before, .faq details[open] .plus::after { background: var(--gold); }
.faq details[open] .plus::after { transform: rotate(0deg); }
.faq .answer { padding: 0 1.25rem 1.25rem; color: var(--ink-2); }
.faq .answer p:last-child { margin: 0; }
.faq .answer-inner { overflow: hidden; }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; border-radius: var(--r-lg); background: var(--forest); color: var(--white); padding: clamp(2rem, 1.2rem + 4vw, 4.5rem); display: grid; gap: 2rem; align-items: center; isolation: isolate; }
.cta-band::before { content: ""; position: absolute; right: -120px; top: -120px; width: 380px; height: 380px; border-radius: 50%; background: radial-gradient(circle, rgba(232, 185, 79, 0.35), transparent 65%); z-index: -1; }
@media (min-width: 900px) { .cta-band { grid-template-columns: 1.4fr auto; } }
.cta-band h2 { font-size: clamp(1.7rem, 1.2rem + 2vw, 2.7rem); margin-bottom: 0.5rem; }
.cta-band p { color: var(--on-dark-2); margin: 0; font-size: var(--fs-lg); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; gap: clamp(1.5rem, 1rem + 2vw, 3rem); }
@media (min-width: 1024px) { .contact-grid { grid-template-columns: 0.9fr 1.1fr; align-items: start; } }
.contact-cards { display: grid; gap: 1rem; margin-top: 2rem; }
.contact-card { display: flex; gap: 1rem; align-items: flex-start; padding: 1.25rem; border-radius: var(--r-md); background: rgba(255, 255, 255, 0.05); border: 1px solid var(--line-dark); }
.contact-card .ico { flex: none; width: 46px; height: 46px; border-radius: 12px; background: var(--gold); color: var(--navy); display: grid; place-items: center; }
.contact-card .ico svg { width: 20px; height: 20px; }
.contact-card h3 { font-size: 1rem; margin: 0 0 0.2rem; color: var(--white); }
.contact-card p { margin: 0 0 0.35rem; font-size: var(--fs-sm); }
.contact-card a.big { font-family: var(--font-head); font-weight: 700; font-size: 1.1rem; color: var(--white); text-decoration: none; display: inline-flex; min-height: 44px; align-items: center; }
.contact-card a.big:hover { color: var(--gold); text-decoration: underline; }
.map-embed { border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); background: var(--sage); aspect-ratio: 16 / 10; position: relative; }
.map-embed iframe { width: 100%; height: 100%; border: 0; display: block; }
.map-embed .map-placeholder { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; padding: 1.5rem; gap: 0.75rem; align-content: center; }

/* ---------- Forms ---------- */
.form-card { background: var(--white); color: var(--ink); border-radius: var(--r-lg); padding: clamp(1.25rem, 1rem + 2vw, 2.5rem); box-shadow: var(--shadow-md); border: 1px solid var(--line); }
.form-card h3 { font-size: var(--fs-h3); margin-bottom: 0.35rem; }
.form-card > p { color: var(--ink-2); }
.form-grid { display: grid; gap: 1rem 1.1rem; margin-top: 1.5rem; }
@media (min-width: 640px) { .form-grid { grid-template-columns: 1fr 1fr; } .form-grid .full { grid-column: 1 / -1; } }
.field { display: grid; gap: 0.4rem; }
.field label, .field legend { font-family: var(--font-head); font-weight: 700; font-size: var(--fs-sm); color: var(--ink); }
.field .opt { font-weight: 500; color: var(--ink-3); font-size: var(--fs-xs); margin-left: 0.25rem; }
.field .req { color: #9b2c1f; margin-left: 0.15rem; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 0.75rem 0.95rem; background: var(--paper); border: 1.5px solid rgba(18, 59, 42, 0.2);
  border-radius: var(--r-sm); font-size: 1rem; transition: border-color 0.2s, box-shadow 0.2s, background-color 0.2s; appearance: none;
}
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 7.5l5 5 5-5' fill='none' stroke='%23123b2a' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 0.85rem center; background-size: 18px; padding-right: 2.5rem; }
.field textarea { min-height: 130px; resize: vertical; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: rgba(18, 59, 42, 0.4); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--forest); background: var(--white); box-shadow: 0 0 0 4px rgba(232, 185, 79, 0.35); }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: #b3261e; background: #fff7f6; }
.field .error { display: none; align-items: center; gap: 0.35rem; color: #9b2c1f; font-size: var(--fs-xs); font-weight: 600; }
.field .error::before { content: "!"; display: inline-grid; place-items: center; width: 16px; height: 16px; border-radius: 50%; background: #b3261e; color: #fff; font-size: 11px; font-weight: 800; }
.field.has-error .error { display: inline-flex; }
.form-extra { border: 1px dashed rgba(18, 59, 42, 0.25); border-radius: var(--r-md); padding: 1rem 1rem 1.1rem; margin: 0; }
.form-extra legend { padding: 0 0.4rem; font-family: var(--font-head); font-weight: 700; font-size: var(--fs-sm); }
.form-extra .form-grid { margin-top: 0.5rem; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 1.5rem; }
.form-foot .privacy { font-size: var(--fs-xs); color: var(--ink-3); max-width: 42ch; margin: 0; }
.form-status { margin-top: 1rem; padding: 0.9rem 1rem; border-radius: var(--r-sm); font-size: var(--fs-sm); font-weight: 600; display: none; }
.form-status.is-success { display: block; background: #e7f4ec; color: #0f5132; border: 1px solid #a8d5b9; }
.form-status.is-error { display: block; background: #fdecea; color: #8a1c13; border: 1px solid #f1b3ad; }
.btn[aria-busy="true"] { pointer-events: none; opacity: 0.8; }
.btn .spinner { width: 16px; height: 16px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; display: none; animation: spin 0.7s linear infinite; }
.btn[aria-busy="true"] .spinner { display: inline-block; }
.btn[aria-busy="true"] .arrow { display: none; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-800); color: var(--on-dark-2); padding-top: clamp(3.5rem, 2.5rem + 4vw, 6rem); font-size: var(--fs-sm); }
.footer-grid { display: grid; gap: 2.5rem; padding-bottom: 3rem; border-bottom: 1px solid var(--line-dark); }
@media (min-width: 700px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .footer-grid { grid-template-columns: 1.3fr 0.8fr 0.9fr 1.3fr; } }
.site-footer h2 { font-size: 1rem; color: var(--white); letter-spacing: 0; margin-bottom: 1.1rem; }
.site-footer ul { list-style: none; display: grid; gap: 0.15rem; }
.site-footer a { text-decoration: none; }
.site-footer ul a { display: inline-flex; min-height: 36px; align-items: center; transition: color 0.2s, transform 0.25s var(--ease); }
.site-footer ul a:hover { color: var(--white); transform: translateX(3px); }
.footer-brand img { height: 46px; width: auto; margin-bottom: 1.25rem; }
.footer-brand p { max-width: 38ch; }
.footer-contact { display: grid; gap: 0.6rem; margin: 1.25rem 0; }
.footer-contact a { display: inline-flex; align-items: center; gap: 0.6rem; min-height: 40px; color: var(--white); }
.footer-contact svg { width: 16px; height: 16px; color: var(--gold); flex: none; }
.newsletter { display: flex; flex-direction: column; gap: 0.6rem; margin-top: 1rem; }
.newsletter .row { display: flex; gap: 0.5rem; }
.newsletter input { flex: 1; min-width: 0; min-height: 48px; padding: 0.7rem 1rem; border-radius: 999px; background: rgba(255, 255, 255, 0.07); border: 1.5px solid var(--line-dark); color: var(--white); }
.newsletter input::placeholder { color: rgba(255, 255, 255, 0.5); }
.newsletter input:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 4px rgba(232, 185, 79, 0.25); }
.newsletter .form-status { margin-top: 0.25rem; }
.newsletter .field-error { color: #ffb4a9; font-size: var(--fs-xs); font-weight: 600; min-height: 1em; }
.footer-bottom { display: flex; flex-wrap: wrap; gap: 0.75rem 2rem; justify-content: space-between; align-items: center; padding-block: 1.5rem calc(1.5rem + env(safe-area-inset-bottom)); font-size: var(--fs-xs); }
.footer-bottom a:hover { color: var(--white); text-decoration: underline; }

/* ---------- Floating call button (mobile) ---------- */
.float-actions { position: fixed; right: 1rem; bottom: calc(1rem + env(safe-area-inset-bottom)); z-index: 90; display: flex; flex-direction: column; gap: 0.6rem; transition: opacity 0.3s, transform 0.3s var(--ease); }
.float-actions.is-hidden { opacity: 0; transform: translateY(20px); pointer-events: none; }
.float-actions a { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; box-shadow: 0 10px 26px -8px rgba(0, 0, 0, 0.45); text-decoration: none; }
.float-actions .call { background: var(--gold); color: var(--navy); }
.float-actions .quote { background: var(--forest); color: var(--white); }
.float-actions svg { width: 22px; height: 22px; }
@media (min-width: 1024px) { .float-actions { display: none; } }

/* ---------- Search dialog ---------- */
.search-dialog { width: min(640px, calc(100vw - 2rem)); max-height: min(80vh, 640px); padding: 0; border: 0; border-radius: var(--r-lg); background: var(--white); color: var(--ink); box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.5); margin: 10vh auto auto; }
.search-dialog::backdrop { background: rgba(11, 20, 32, 0.6); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.search-dialog form { display: flex; align-items: center; gap: 0.5rem; padding: 0.75rem; border-bottom: 1px solid var(--line); }
.search-dialog input { flex: 1; min-width: 0; min-height: 48px; padding: 0 0.75rem; border: 0; font-size: 1.1rem; background: transparent; }
.search-dialog input:focus { outline: none; }
.search-dialog .icon-btn { color: var(--ink); border-color: var(--line); }
.search-results { list-style: none; overflow-y: auto; max-height: calc(min(80vh, 640px) - 80px); padding: 0.5rem; }
.search-results a { display: block; padding: 0.85rem 1rem; border-radius: var(--r-sm); text-decoration: none; }
.search-results a:hover, .search-results a:focus { background: var(--sage); outline: none; }
.search-results strong { display: block; font-family: var(--font-head); }
.search-results span { font-size: var(--fs-sm); color: var(--ink-3); }
.search-results .empty { padding: 1rem; color: var(--ink-3); }

/* ---------- Article (legacy post) ---------- */
.prose { max-width: 720px; }
.prose p { font-size: var(--fs-lg); color: var(--ink-2); }

/* ---------- Reveal motion ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease); transition-delay: calc(var(--i, 0) * 90ms); }
.js [data-reveal="fade"] { transform: none; }
@media (min-width: 960px) {
  .js [data-reveal="left"] { transform: translateX(-26px); }
  .js [data-reveal="right"] { transform: translateX(26px); }
}
.js [data-reveal].is-visible { opacity: 1; transform: none; }

/* ---------- Utilities ---------- */
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; } .mt-2 { margin-top: 2rem; } .mt-3 { margin-top: 3rem; }
.text-center { text-align: center; }
.muted { color: var(--ink-3); }
.center-row { display: flex; justify-content: center; }
.divider { height: 1px; background: var(--line); border: 0; margin: 0; }

/* ---------- Reduced motion ---------- */
@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; transition-delay: 0s !important; }
  .js [data-reveal], .js .hero [data-hero] { opacity: 1 !important; transform: none !important; }
  .hero__media img { transform: none; }
  .solar-graphic .flow { stroke-dasharray: none; }
  .solar-graphic .cell-lit { opacity: 0.15; }
}

/* ---------- Print ---------- */
@media print {
  .topbar, .site-header, .float-actions, .scroll-progress, .mobile-menu, form, .scroll-cue { display: none !important; }
  body { background: #fff; color: #000; }
  .hero, .page-hero, .section--dark, .section--forest { background: #fff !important; color: #000 !important; }
}

/* Icon sizing inside buttons/links (fix: unsized inline SVGs collapsed) */
.arrow { display: inline-flex; }
.btn svg, .link-arrow svg, .mm-link svg { width: 18px; height: 18px; flex: none; }
.btn .arrow svg { width: 16px; height: 16px; }
.step { align-content: start; }
.step__body h3 { min-height: 0; }
@media (min-width: 1100px) { .step__body h3 { min-height: 2.6em; display: flex; align-items: flex-end; } }
@media (max-width: 599px) {
  .hero__trust { border-radius: var(--r-md); flex-wrap: nowrap; align-items: flex-start; padding: 0.85rem 1rem; }
}

/* ---------- Video ---------- */
.video-frame { margin: 0; }
.video-frame video { width: 100%; height: auto; aspect-ratio: 16 / 9; border-radius: var(--r-lg); border: 1px solid var(--line-dark); background: var(--navy-800); box-shadow: 0 30px 60px -30px rgba(0,0,0,.7); display: block; }
.video-frame figcaption { margin-top: 0.8rem; font-size: var(--fs-xs); color: var(--on-dark-2); }
.benefits--dark { color: var(--on-dark-2); }
.benefits--dark li::before { background-color: rgba(232,185,79,.18); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.2 2.2 4.8-4.8' fill='none' stroke='%23e8b94f' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.avatar--photo { padding: 0; overflow: hidden; background: var(--sage); }
.avatar--photo img { width: 100%; height: 100%; object-fit: cover; }

/* Logo legibility: original logo has dark-blue text, so it sits on a white badge on dark backgrounds */
.brand, .footer-brand .logo-badge { background: #fff; border-radius: 12px; padding: 6px 12px; box-shadow: 0 2px 10px -4px rgba(0,0,0,.35); }
.brand img { height: 38px; }
.footer-brand .logo-badge { display: inline-block; margin-bottom: 1.25rem; }
.footer-brand .logo-badge img { margin: 0; height: 40px; }

/* ---------- Animations (GIF-style loops) ---------- */
.anim-frame { margin: 0; position: relative; border-radius: var(--r-lg); overflow: hidden; background: var(--navy); border: 1px solid var(--line); box-shadow: var(--shadow-md); }
.anim-frame video { width: 100%; height: 100%; object-fit: cover; display: block; }
.ratio-brands { aspect-ratio: 1600 / 640; }
.process-anim { max-width: 760px; margin: 0 auto clamp(2rem, 1.5rem + 2vw, 3.5rem); }

/* ---------- Solar brands ---------- */
.brands { background: linear-gradient(180deg, var(--paper) 0%, var(--sage) 100%); }
.brands-banner { border: 0; }
.brands-cards { margin-top: clamp(1.5rem, 1rem + 2vw, 2.5rem); }
.brand-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(1.25rem, 1rem + 1.5vw, 2rem); display: flex; flex-direction: column; gap: 0.6rem; border-top: 4px solid var(--navy); transition: transform .45s var(--ease), box-shadow .45s var(--ease); }
.brand-card--aiko { border-top-color: var(--gold); }
.brand-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.brand-card h3 { font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.2rem); margin: 0; letter-spacing: -0.03em; }
.brand-card p { margin: 0; color: var(--ink-2); }
.brand-card .btn-row { margin-top: auto; padding-top: 0.75rem; align-items: center; }
.brand-role { display: inline-flex; align-items: center; gap: 0.5rem; align-self: flex-start; padding: 0.35rem 0.8rem; border-radius: 999px; background: var(--sage); color: var(--forest) !important; font-family: var(--font-head); font-weight: 800; font-size: var(--fs-xs); letter-spacing: 0.06em; text-transform: uppercase; }
.brand-role svg { width: 16px; height: 16px; }

/* Solar-cell shimmer: stronger sweep. Opacity-only (no movement), so it is kept — slower and
   softer — even when the visitor's system asks for reduced motion. */
.solar-graphic .cell-lit { animation: cellLit 4.8s ease-in-out infinite; animation-delay: var(--d, 0s); }
@keyframes cellLit { 0%, 100% { opacity: 0; } 10% { opacity: 0.85; } 28% { opacity: 0; } }
@keyframes cellLitSoft { 0%, 100% { opacity: 0; } 15% { opacity: 0.6; } 40% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
  .solar-graphic .cell-lit { opacity: 0; animation: cellLitSoft 7s ease-in-out infinite !important; animation-delay: var(--d, 0s) !important; }
}

/* ---------- Footprint ---------- */
.footprint { background: radial-gradient(ellipse at 50% 0%, #fff 0%, var(--paper) 55%, var(--sage) 100%); }
.fp-stats { display: grid; gap: 1rem; max-width: 900px; margin: 0 auto 2rem; }
@media (min-width: 720px) { .fp-stats { grid-template-columns: repeat(3, 1fr); } }
.fp-stat { display: flex; gap: .9rem; align-items: center; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md); padding: 1rem 1.2rem; }
.fp-stat .ico { width: 46px; height: 46px; flex: none; border-radius: 12px; display: grid; place-items: center; background: var(--forest); color: var(--gold); }
.fp-stat .ico svg { width: 22px; height: 22px; }
.fp-stat strong { display: block; font-family: var(--font-head); font-size: 1.9rem; font-weight: 800; letter-spacing: -.03em; line-height: 1; color: var(--forest); }
.fp-stat span { font-size: var(--fs-sm); color: var(--ink-3); }
.fp-map { margin: 0 auto; max-width: 1100px; color: var(--forest); }
.pk-map { width: 100%; height: auto; display: block; overflow: visible; }
.pk-sea { font: italic 600 22px var(--font-body); fill: #6c8aa0; letter-spacing: .08em; }
.pk-note { font: italic 500 15px var(--font-body); fill: var(--ink-3); }
.pk-label { font: 700 22px var(--font-head); fill: var(--navy); paint-order: stroke; stroke: var(--paper); stroke-width: 6px; stroke-linejoin: round; }
.pk-lead { fill: none; stroke: var(--gold-600); stroke-width: 1.5; stroke-dasharray: 3 4; opacity: .9; }
.pk-pulse { fill: var(--gold); opacity: 0; transform-box: fill-box; transform-origin: center; }
.pk-marker { filter: drop-shadow(0 4px 6px rgba(16,28,44,.35)); }
.fp-map figcaption { text-align: center; font-size: var(--fs-xs); color: var(--ink-3); margin-top: .5rem; }
/* drop-in + pulse once the map is revealed */
.js .fp-map .pk-pin { opacity: 0; transform: translateY(-24px); transition: opacity .5s var(--ease), transform .6s var(--ease); transition-delay: calc(var(--i) * 120ms + 200ms); }
.js .fp-map.is-visible .pk-pin { opacity: 1; transform: none; }
.fp-map.is-visible .pk-pulse { animation: pkPulse 2.6s ease-out infinite; animation-delay: calc(var(--i) * 120ms + 900ms); }
@keyframes pkPulse { 0% { opacity: .55; transform: scale(.4); } 100% { opacity: 0; transform: scale(2.6); } }
.fp-cities { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; margin-top: 1.5rem; }
.fp-cities li { display: inline-flex; align-items: center; gap: .35rem; padding: .4rem .85rem; border-radius: 999px; background: var(--white); border: 1px solid var(--line); font-family: var(--font-head); font-weight: 700; font-size: var(--fs-sm); color: var(--forest); }
.fp-cities svg { width: 14px; height: 14px; color: var(--gold-600); }
@media (max-width: 640px) { .pk-label { font-size: 30px; } .pk-note { font-size: 20px; } }

/* ---------- Customers ---------- */
.cust-grid { list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; max-width: 1100px; margin: 0 auto; }
@media (min-width: 720px) { .cust-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .cust-grid { grid-template-columns: repeat(5, 1fr); } }
.cust { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .4rem; min-height: 132px; padding: 1.25rem 1rem; text-align: center; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--paper); transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .3s; }
.cust:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: rgba(18,59,42,.3); }
.cust img { max-height: 56px; width: auto; filter: grayscale(1); opacity: .8; transition: filter .3s, opacity .3s; }
.cust:hover img { filter: none; opacity: 1; }
.cust-name { font-family: var(--font-head); font-weight: 800; font-size: clamp(1.1rem, 1rem + .5vw, 1.35rem); letter-spacing: -.02em; color: var(--navy); line-height: 1.2; }
.cust-sector { font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: .12em; color: var(--ink-3); font-weight: 600; }
@media (max-width: 719px) { .cust:last-child:nth-child(odd) { grid-column: 1 / -1; } }

/* ---------- Home footprint teaser ---------- */
.fpt { display: grid; gap: 1.5rem; align-items: center; padding: clamp(1.5rem, 1rem + 2vw, 2.5rem); border-radius: var(--r-lg); background: var(--navy); color: var(--white); position: relative; overflow: hidden; }
.fpt::after { content: ""; position: absolute; right: -80px; bottom: -120px; width: 320px; height: 320px; border-radius: 50%; background: radial-gradient(circle, rgba(232,185,79,.25), transparent 65%); }
@media (min-width: 960px) { .fpt { grid-template-columns: auto 1fr auto; gap: 2.5rem; } }
.fpt-num strong { display: block; font-family: var(--font-head); font-size: clamp(2.6rem, 2rem + 2.5vw, 4rem); font-weight: 800; color: var(--gold); letter-spacing: -.04em; line-height: 1; }
.fpt-num span { color: var(--on-dark-2); font-size: var(--fs-sm); }
.fpt h2 { font-size: clamp(1.4rem, 1.1rem + 1.2vw, 2rem); margin-bottom: .4rem; }
.fpt p { color: var(--on-dark-2); margin: 0 0 .3rem; font-size: var(--fs-sm); }
.fpt-cust strong { color: var(--white); font-weight: 600; }

/* stats grid adapts to the number of verified stats */
.stats:has(> .stat:nth-child(2):last-child) { grid-template-columns: repeat(2, 1fr); }
.pk-label--in { fill: #fff; stroke: #123b2a; }
.pk-lead--note { stroke: var(--ink-3); }
@media (min-width: 720px) { .fp-stats { grid-template-columns: repeat(2, 1fr); max-width: 620px; } }

/* fix: decorative glow must never block the "See our footprint" button */
.fpt::after { pointer-events: none; z-index: 0; }
.fpt > * { position: relative; z-index: 1; }
.cta-band::before { pointer-events: none; }

/* ---------- Impact numbers band ---------- */
.impact { background: var(--forest); color: var(--white); padding-block: clamp(2rem, 1.5rem + 2.5vw, 3.5rem); position: relative; overflow: hidden; }
.impact::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(ellipse at 15% 50%, rgba(232,185,79,.18), transparent 55%); }
.impact .container { position: relative; }
.impact-grid { list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: rgba(255,255,255,.12); border-radius: var(--r-lg); overflow: hidden; }
@media (min-width: 960px) { .impact-grid { grid-template-columns: 1.25fr 1fr 1fr 1fr; } }
.impact-item { background: var(--forest); padding: clamp(1.1rem, .9rem + 1vw, 1.75rem); display: flex; flex-direction: column; gap: .35rem; }
.impact-item .ico { width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; background: rgba(232,185,79,.15); color: var(--gold); margin-bottom: .35rem; }
.impact-item .ico svg { width: 20px; height: 20px; }
.impact-num { margin: 0; line-height: 1; font-family: var(--font-head); }
.impact-num strong { font-size: clamp(2.2rem, 1.6rem + 2.4vw, 3.4rem); font-weight: 800; letter-spacing: -.04em; color: var(--gold); font-variant-numeric: tabular-nums; }
.impact-num .unit { font-size: clamp(1.1rem, .9rem + .8vw, 1.5rem); font-weight: 800; color: var(--white); }
.impact-label { margin: 0; color: var(--on-dark-2); font-size: var(--fs-sm); line-height: 1.4; }
.impact-item--lead { background: linear-gradient(135deg, #17482f, var(--forest)); }
.impact-item--lead .impact-num strong { font-size: clamp(2.8rem, 2rem + 3.2vw, 4.4rem); }
.stat .value small { font-size: .5em; color: var(--white); font-weight: 800; }
.fpt-num strong, .fp-stat strong, .stat .value span { font-variant-numeric: tabular-nums; }
.btn svg { width: 18px; height: 18px; }
.btn--consult { border-color: rgba(232,185,79,.75); }
.btn--consult:hover { border-color: var(--gold); }
.consult-fields { border-color: rgba(232,185,79,.7); background: #fffbf0; }

/* ---------- About mega menu ---------- */
.nav li.has-mega { position: static; display: flex; align-items: center; }
.mega-toggle { width: 28px; height: 28px; margin-left: -.55rem; margin-right: .2rem; display: inline-grid; place-items: center; background: none; border: 0; color: var(--on-dark-2); cursor: pointer; border-radius: 6px; }
.mega-toggle svg { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.has-mega:hover .mega-toggle svg, .mega-toggle[aria-expanded="true"] svg { transform: rotate(180deg); color: var(--gold); }
.mega { position: absolute; left: 0; right: 0; top: 100%; background: var(--white); color: var(--ink); border-top: 3px solid var(--gold); box-shadow: 0 30px 60px -30px rgba(11,20,32,.45);
  opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .25s var(--ease), transform .3s var(--ease), visibility 0s linear .3s; }
.mega::before { content: ""; position: absolute; left: 0; right: 0; top: -22px; height: 22px; }   /* hover bridge */
.has-mega:hover > .mega, .has-mega:focus-within > .mega, .has-mega.is-open > .mega { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.has-mega.is-closed > .mega { opacity: 0 !important; visibility: hidden !important; }
.mega__inner { display: grid; grid-template-columns: repeat(3, 1fr) 1.15fr; gap: 2.5rem; padding-block: 2rem 2.25rem; }
.mega__title { font-family: var(--font-head); font-weight: 800; font-size: 1.15rem; color: var(--navy); margin: 0 0 .85rem; letter-spacing: -.01em; }
.mega__col ul { list-style: none; display: grid; gap: .1rem; }
.nav .mega__col a { display: flex; align-items: center; gap: .5rem; min-height: 40px; padding: 0; color: var(--ink-2); font-family: var(--font-body); font-weight: 500; font-size: 1rem; }
.nav .mega__col a::after { display: none; }
.nav .mega__col a .arrow { opacity: 0; transform: translateX(-6px); transition: opacity .2s, transform .25s var(--ease); color: var(--gold-600); }
.nav .mega__col a .arrow svg { width: 16px; height: 16px; }
.nav .mega__col a:hover, .nav .mega__col a:focus-visible { color: var(--forest); }
.nav .mega__col a:hover .arrow, .nav .mega__col a:focus-visible .arrow { opacity: 1; transform: none; }
.nav a.mega__feature { display: block; padding: 0; min-height: 0; border-radius: var(--r-md); overflow: hidden; background: var(--navy); color: var(--white); text-decoration: none; position: relative; }
.nav a.mega__feature::after { display: none; }
.mega__feature img { width: 100%; height: 130px; object-fit: cover; display: block; transition: transform .8s var(--ease); }
.mega__feature:hover img { transform: scale(1.05); }
.mega__feature-body { display: grid; gap: .2rem; padding: .9rem 1.1rem 1rem; }
.mega__feature-body strong { font-family: var(--font-head); font-size: 1.2rem; color: var(--gold); }
.mega__feature-body > span { font-size: var(--fs-sm); color: var(--on-dark-2); }
.mega__feature .link-arrow { color: var(--white); min-height: 0; margin-top: .3rem; }
@media (max-width: 1180px) { .mega__inner { grid-template-columns: repeat(3, 1fr); } .mega__feature { display: none !important; } }
/* mobile submenu */
.mm-sub summary { list-style: none; cursor: pointer; }
.mm-sub summary::-webkit-details-marker { display: none; }
.mm-sub summary svg { transition: transform .3s var(--ease); }
.mm-sub[open] summary svg { transform: rotate(180deg); color: var(--gold); }
.mm-sub ul { border: 0 !important; padding: 0 0 1rem .25rem; }
.mm-sub li { border: 0 !important; }
.mm-sub ul a { display: flex; align-items: center; min-height: 44px; color: var(--on-dark-2); text-decoration: none; font-size: 1.05rem; padding-left: .75rem; border-left: 2px solid var(--line-dark); }
.mm-sub ul a:hover { color: var(--gold); border-left-color: var(--gold); }
.media-frame--illus img { object-position: 100% 62%; }
.site-header .mega__inner { display: grid; align-items: start; justify-content: stretch; min-height: 0; grid-template-columns: repeat(3, 1fr) 1.15fr; }
@media (max-width: 1180px) { .site-header .mega__inner { grid-template-columns: repeat(3, 1fr); } }

/* ---------- Careers ---------- */
.career-facts { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; margin-top: 1.5rem; }
.career-facts li { background: var(--white); padding: 1rem; text-align: center; }
.career-facts strong { display: block; font-family: var(--font-head); font-size: clamp(1.6rem, 1.3rem + 1vw, 2.2rem); font-weight: 800; color: var(--forest); letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.career-facts span { font-size: var(--fs-sm); color: var(--ink-3); }
.benefit-grid { list-style: none; display: grid; gap: 1rem; }
@media (min-width: 640px) { .benefit-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .benefit-grid { grid-template-columns: repeat(3, 1fr); } }
.benefit { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 1.5rem; transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.benefit:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.benefit__icon { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: var(--forest); color: var(--gold); margin-bottom: 1rem; }
.benefit__icon svg { width: 26px; height: 26px; }
.benefit h3 { font-size: 1.15rem; margin: 0 0 .3rem; }
.benefit p { margin: 0; color: var(--ink-2); font-size: var(--fs-sm); }
.job-filters { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip { min-height: 42px; padding: 0 1.1rem; border-radius: 999px; border: 1.5px solid var(--line); background: var(--white); font-family: var(--font-head); font-weight: 700; font-size: var(--fs-sm); color: var(--forest); cursor: pointer; transition: background-color .2s, color .2s, border-color .2s; }
.chip:hover { border-color: var(--forest); }
.chip.is-active { background: var(--forest); border-color: var(--forest); color: var(--white); }
.job-list { display: grid; gap: 1rem; }
.job { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); transition: border-color .3s, box-shadow .3s; }
.job:hover, .job:has(details[open]) { border-color: rgba(18,59,42,.3); box-shadow: var(--shadow-sm); }
.job[hidden] { display: none; }
.job summary { list-style: none; cursor: pointer; display: grid; gap: 1rem; padding: clamp(1.1rem, 1rem + 1vw, 1.75rem); align-items: center; }
@media (min-width: 800px) { .job summary { grid-template-columns: 1fr auto; } }
.job summary::-webkit-details-marker { display: none; }
.job h3 { font-size: clamp(1.25rem, 1.1rem + .6vw, 1.5rem); margin: 0 0 .5rem; }
.job__meta { list-style: none; display: flex; flex-wrap: wrap; gap: .4rem 1rem; margin-bottom: .6rem; }
.job__meta li { display: inline-flex; align-items: center; gap: .35rem; font-size: var(--fs-sm); color: var(--ink-3); font-weight: 500; }
.job__meta svg { width: 16px; height: 16px; color: var(--gold-600); }
.job__summary { margin: 0; color: var(--ink-2); }
.job__toggle { display: inline-flex; align-items: center; gap: .4rem; font-family: var(--font-head); font-weight: 700; font-size: var(--fs-sm); color: var(--forest); white-space: nowrap; padding: .6rem 1rem; border-radius: 999px; background: var(--sage); justify-self: start; }
.job__toggle svg { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.job details[open] .job__toggle svg { transform: rotate(180deg); }
.job .when-open, .job details[open] .when-closed { display: none; }
.job details[open] .when-open { display: inline; }
.job__body { padding: 0 clamp(1.1rem, 1rem + 1vw, 1.75rem) clamp(1.1rem, 1rem + 1vw, 1.75rem); border-top: 1px solid var(--line); }
.job__cols { display: grid; gap: 1.5rem; padding: 1.5rem 0; }
@media (min-width: 800px) { .job__cols { grid-template-columns: 1fr 1fr; } }
.job__cols h4 { font-size: 1rem; margin-bottom: .6rem; }
.job-empty { padding: 1.5rem; border: 1px dashed var(--line); border-radius: var(--r-md); color: var(--ink-2); }
.hire-steps { list-style: none; display: grid; gap: 1rem; }
@media (min-width: 640px) { .hire-steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .hire-steps { grid-template-columns: repeat(4, 1fr); } }
.file-drop { position: relative; display: flex; align-items: center; gap: .9rem; padding: 1rem 1.1rem; border: 1.5px dashed rgba(18,59,42,.35); border-radius: var(--r-sm); background: var(--paper); transition: border-color .2s, background-color .2s; }
.file-drop:hover, .file-drop.is-drag { border-color: var(--forest); background: #fff; }
.file-drop svg { width: 28px; height: 28px; color: var(--forest); flex: none; }
.file-drop__text { font-size: var(--fs-sm); color: var(--ink-2); line-height: 1.4; }
.file-drop__text strong { color: var(--forest); }
.file-drop input[type=file] { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; min-height: 0; }
.file-drop:focus-within { border-color: var(--forest); box-shadow: 0 0 0 4px rgba(232,185,79,.35); }
.file-drop.has-file { border-style: solid; border-color: var(--forest); background: #eef6f0; }
.field.has-error .file-drop { border-color: #b3261e; background: #fff7f6; }
.check { display: flex !important; gap: .6rem; align-items: flex-start; font-family: var(--font-body) !important; font-weight: 400 !important; font-size: var(--fs-sm) !important; color: var(--ink-2) !important; cursor: pointer; }
.check input { width: 20px !important; height: 20px; min-height: 0 !important; margin-top: .15rem; flex: none; accent-color: var(--forest); appearance: auto !important; padding: 0 !important; }
.site-footer .socials { display: flex; gap: .35rem; margin-top: .5rem; }
.site-footer .socials a { min-height: 0; }

/* ---------- After-sales support ---------- */
.trust-item h2 a { text-decoration: none; }
.trust-item h2 a:hover { text-decoration: underline; color: var(--forest); }
.support-home__card { display: grid; gap: clamp(1.5rem, 1rem + 3vw, 3.5rem); padding: clamp(1.5rem, 1rem + 3vw, 3.5rem); border-radius: var(--r-lg); background: linear-gradient(135deg, var(--forest) 0%, #0f3324 60%, var(--navy) 100%); color: var(--white); position: relative; overflow: hidden; }
.support-home__card::before { content: ""; position: absolute; right: -140px; top: -140px; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(circle, rgba(232,185,79,.22), transparent 65%); pointer-events: none; }
@media (min-width: 1024px) { .support-home__card { grid-template-columns: .95fr 1.05fr; align-items: center; } }
.support-home__intro p { color: var(--on-dark-2); font-size: var(--fs-lg); }
.support-home__intro .eyebrow { color: var(--gold); }
.support-home__list { list-style: none; display: grid; gap: 1px; background: rgba(255,255,255,.12); border-radius: var(--r-md); overflow: hidden; position: relative; }
@media (min-width: 640px) { .support-home__list { grid-template-columns: 1fr 1fr; } }
.support-home__list li { display: flex; gap: .85rem; padding: 1.25rem; background: rgba(11,20,32,.55); }
.support-home__list .ico { flex: none; width: 42px; height: 42px; border-radius: 11px; display: grid; place-items: center; background: rgba(232,185,79,.16); color: var(--gold); }
.support-home__list .ico svg { width: 20px; height: 20px; }
.support-home__list h3 { font-size: 1.02rem; margin: .1rem 0 .25rem; color: var(--white); }
.support-home__list p { margin: 0; font-size: var(--fs-sm); color: var(--on-dark-2); }
.support-bar { background: var(--white); border-bottom: 1px solid var(--line); }
.support-bar__inner { display: grid; gap: 1px; background: var(--line); padding: 0; }
@media (min-width: 768px) { .support-bar__inner { grid-template-columns: repeat(3, 1fr); } }
.support-bar__item { display: flex; align-items: center; gap: .85rem; padding: 1.2rem var(--gutter); background: var(--white); text-decoration: none; transition: background-color .2s; }
.support-bar__item:hover { background: var(--paper); }
.support-bar__item svg { width: 26px; height: 26px; color: var(--forest); flex: none; }
.support-bar__item strong { display: block; font-family: var(--font-head); color: var(--navy); }
.support-bar__item small { color: var(--ink-3); font-size: var(--fs-sm); }
.support-grid { list-style: none; display: grid; gap: 1rem; }
@media (min-width: 640px) { .support-grid { grid-template-columns: 1fr 1fr; } }
.support-item { display: flex; gap: .9rem; padding: 1.25rem; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md); transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.support-item:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.support-item__icon { flex: none; width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: var(--forest); color: var(--gold); }
.support-item__icon svg { width: 22px; height: 22px; }
.support-item h3 { font-size: 1.05rem; margin: .1rem 0 .3rem; }
.support-item p { margin: 0; font-size: var(--fs-sm); color: var(--ink-2); }
.plan-grid { display: grid; gap: 1.25rem; }
@media (min-width: 960px) { .plan-grid { grid-template-columns: repeat(3, 1fr); align-items: stretch; } }
.plan { display: flex; flex-direction: column; gap: .6rem; padding: clamp(1.5rem, 1.2rem + 1vw, 2rem); background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.plan:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.plan--featured { background: var(--navy); color: var(--white); border-color: var(--navy); }
.plan--featured .plan__text, .plan--featured .benefits { color: var(--on-dark-2); }
.plan--featured .benefits li::before { background-color: rgba(232,185,79,.18); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.2 2.2 4.8-4.8' fill='none' stroke='%23e8b94f' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.plan__tag { margin: 0; align-self: flex-start; padding: .3rem .75rem; border-radius: 999px; background: var(--sage); color: var(--forest); font-family: var(--font-head); font-weight: 800; font-size: var(--fs-xs); letter-spacing: .06em; text-transform: uppercase; }
.plan--featured .plan__tag { background: var(--gold); color: var(--navy); }
.plan h3 { font-size: 1.45rem; margin: .2rem 0 0; }
.plan__text { margin: 0; color: var(--ink-2); }
.plan .benefits { margin: .4rem 0 0; }
.plan__price { margin: auto 0 .5rem; padding-top: 1rem; border-top: 1px solid var(--line); font-family: var(--font-head); font-weight: 800; color: var(--forest); }
.plan--featured .plan__price { color: var(--gold); border-color: var(--line-dark); }
.plan .btn { align-self: flex-start; }
.trust-item { position: relative; }
.trust-item h2 a::after { content: ""; position: absolute; inset: 0; }
.trust-item:has(a):hover { background: var(--paper); }

/* ---------- Hero drone video ---------- */
.hero__video { width: 100%; height: 100%; object-fit: cover; object-position: center 40%; display: block; }
.hero__videobar { position: absolute; right: var(--gutter); bottom: 1.25rem; z-index: 2; display: flex; align-items: center; gap: .6rem; }
.hero__videonote { font-size: .72rem; letter-spacing: .06em; color: rgba(255,255,255,.62); }
.hero__pause { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; cursor: pointer; color: #fff; background: rgba(11,20,32,.45); border: 1px solid rgba(255,255,255,.3); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); transition: background-color .2s, border-color .2s; }
.hero__pause:hover { background: rgba(11,20,32,.7); border-color: rgba(255,255,255,.6); }
.hero__pause svg { width: 16px; height: 16px; }
.hero__pause .i-play, .hero__pause[aria-pressed="true"] .i-pause { display: none; }
.hero__pause[aria-pressed="true"] .i-play { display: block; }
@media (max-width: 767px) { .hero__videonote { display: none; } .hero__videobar { bottom: .9rem; } }

/* ---------- Hero ribbons ---------- */
.hero__ribbons { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.25rem; }
.ribbon { display: inline-flex; align-items: center; gap: .5rem; min-height: 36px; padding: .4rem .9rem; border-radius: 999px; font-family: var(--font-head); font-weight: 700; font-size: var(--fs-sm); text-decoration: none; transition: transform .25s var(--ease), background-color .2s; }
.ribbon svg { width: 16px; height: 16px; }
.ribbon--gold { background: var(--gold); color: var(--navy); }
.ribbon--new { background: rgba(255,255,255,.12); color: #fff; border: 1px solid rgba(255,255,255,.35); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.ribbon:hover { transform: translateY(-2px); }
.pulse { width: 9px; height: 9px; border-radius: 50%; background: #4fd17f; box-shadow: 0 0 0 0 rgba(79,209,127,.7); animation: pulse 1.8s infinite; flex: none; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(79,209,127,.7); } 70% { box-shadow: 0 0 0 10px rgba(79,209,127,0); } 100% { box-shadow: 0 0 0 0 rgba(79,209,127,0); } }

/* ---------- Importer ---------- */
.importer { background: radial-gradient(ellipse at 85% 0%, rgba(232,185,79,.16), transparent 50%), var(--navy); }
.importer__head { display: grid; gap: 2rem; align-items: end; margin-bottom: 2rem; }
@media (min-width: 1024px) { .importer__head { grid-template-columns: 1.4fr 1fr; } }
.importer__badge { display: inline-flex; align-items: center; gap: .5rem; padding: .45rem 1rem; border-radius: 999px; background: var(--gold); color: var(--navy) !important; font-family: var(--font-head); font-weight: 800; font-size: var(--fs-sm); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 1.1rem; }
.importer__badge svg { width: 18px; height: 18px; }
.importer h2 { font-size: clamp(1.9rem, 1.3rem + 2.4vw, 3.2rem); }
.importer__facts { list-style: none; display: grid; gap: .6rem; }
.importer__facts li { display: flex; align-items: center; gap: .75rem; padding: .9rem 1.1rem; border: 1px solid var(--line-dark); border-radius: var(--r-md); background: rgba(255,255,255,.04); color: var(--on-dark-2); }
.importer__facts strong { color: #fff; }
.importer__facts svg { width: 22px; height: 22px; color: var(--gold); flex: none; }
.journey { margin: 0; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line-dark); box-shadow: 0 40px 80px -40px rgba(0,0,0,.8); aspect-ratio: 2 / 1; background: var(--navy-800); }
.journey video { width: 100%; height: 100%; object-fit: cover; display: block; }
.importer__cards { margin-top: 1.5rem; }
.imp-card { background: rgba(255,255,255,.04); border: 1px solid var(--line-dark); border-radius: var(--r-lg); overflow: hidden; transition: transform .4s var(--ease), border-color .3s; }
.imp-card:hover { transform: translateY(-4px); border-color: rgba(232,185,79,.5); }
.imp-card__media { position: relative; aspect-ratio: 2 / 1; overflow: hidden; }
.imp-card__media video { width: 100%; height: 100%; object-fit: cover; display: block; }
.imp-card__step { position: absolute; left: .75rem; top: .75rem; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--gold); color: var(--navy); font-family: var(--font-head); font-weight: 800; font-size: .85rem; }
.imp-card h3 { font-size: 1.1rem; margin: 1rem 1.2rem .3rem; color: #fff; }
.imp-card p { margin: 0 1.2rem 1.2rem; font-size: var(--fs-sm); color: var(--on-dark-2); }
.importer__cta { margin-top: 2rem; justify-content: center; }
.importer__note { text-align: center; font-size: var(--fs-xs); color: rgba(255,255,255,.5); margin: 1rem 0 0; }

/* ---------- Batteries coming soon ---------- */
.battery { background: linear-gradient(180deg, #fff8e6 0%, var(--paper) 100%); }
.battery__card { display: grid; gap: clamp(1.5rem, 1rem + 3vw, 3.5rem); align-items: center; padding: clamp(1.5rem, 1rem + 3vw, 3rem); background: var(--white); border: 1px solid rgba(232,185,79,.55); border-radius: var(--r-lg); box-shadow: var(--shadow-md); }
@media (min-width: 900px) { .battery__card { grid-template-columns: .7fr 1.3fr; } }
.battery__visual { position: relative; display: grid; place-items: center; padding: 1.5rem; border-radius: var(--r-md); background: radial-gradient(circle at 50% 40%, #fff3d0, #f3ead6 70%); }
.battery__soon { position: absolute; top: 1rem; left: 1rem; display: inline-flex; align-items: center; gap: .5rem; padding: .35rem .8rem; border-radius: 999px; background: var(--navy); color: #fff; font-family: var(--font-head); font-weight: 800; font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: .08em; }
.bat-svg { width: min(220px, 70%); height: auto; filter: drop-shadow(0 20px 30px rgba(16,28,44,.2)); }
.bat-cells rect { fill: #e2e6e2; }
.bat-cells rect:nth-child(1) { animation: cellfill 3.6s infinite 0s; } .bat-cells rect:nth-child(2) { animation: cellfill 3.6s infinite .35s; }
.bat-cells rect:nth-child(3) { animation: cellfill 3.6s infinite .7s; } .bat-cells rect:nth-child(4) { animation: cellfill 3.6s infinite 1.05s; }
.bat-cells rect:nth-child(5) { animation: cellfill 3.6s infinite 1.4s; }
@keyframes cellfill { 0%, 8% { fill: #e2e6e2; } 18%, 85% { fill: #4fd17f; } 100% { fill: #e2e6e2; } }
.battery__illus { position: absolute; bottom: .6rem; right: .9rem; margin: 0; font-size: .7rem; color: var(--ink-3); }
.battery .eyebrow { color: #9a6b00; }
.battery h2 { font-size: clamp(1.8rem, 1.3rem + 2vw, 2.8rem); }
.tracker { list-style: none; display: grid; gap: 0; margin: 1.5rem 0; position: relative; }
.tracker li { display: flex; align-items: center; gap: .8rem; padding: .45rem 0; position: relative; color: var(--ink-3); }
.tracker li:not(:last-child)::after { content: ""; position: absolute; left: 13px; top: calc(50% + 14px); height: calc(100% - 20px); width: 2px; background: var(--line); }
.tracker .dot { width: 28px; height: 28px; border-radius: 50%; border: 2px solid var(--line); background: #fff; display: grid; place-items: center; flex: none; position: relative; z-index: 1; }
.tracker .dot svg { width: 15px; height: 15px; }
.tracker li.done { color: var(--forest); font-weight: 600; }
.tracker li.done .dot { background: var(--forest); border-color: var(--forest); color: #fff; }
.tracker li.done:not(:last-child)::after { background: var(--forest); }
.tracker li.now { color: var(--navy); font-weight: 700; }
.tracker li.now .dot { border-color: var(--gold); background: var(--gold); box-shadow: 0 0 0 0 rgba(232,185,79,.7); animation: pulseGold 1.8s infinite; }
.tracker em { font-style: normal; font-size: var(--fs-xs); color: #9a6b00; font-weight: 700; }
@keyframes pulseGold { 0% { box-shadow: 0 0 0 0 rgba(232,185,79,.7); } 70% { box-shadow: 0 0 0 10px rgba(232,185,79,0); } 100% { box-shadow: 0 0 0 0 rgba(232,185,79,0); } }
.lead-card { margin-top: 1.5rem; max-width: 900px; margin-inline: auto; scroll-margin-top: calc(var(--header-h) + 20px); }
.seg { display: inline-flex; gap: 0; padding: 4px; border-radius: 999px; background: var(--sage); border: 0; margin: 1rem 0 0; }
.seg label { cursor: pointer; }
.seg input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.seg span { display: inline-flex; align-items: center; min-height: 40px; padding: 0 1.1rem; border-radius: 999px; font-family: var(--font-head); font-weight: 700; font-size: var(--fs-sm); color: var(--forest); transition: background-color .2s, color .2s; }
.seg input:checked + span { background: var(--forest); color: #fff; }
.seg input:focus-visible + span { outline: 3px solid var(--gold); outline-offset: 2px; }
[data-lead-form]:not(.is-dealer) .dealer-only { display: none; }
.brand-stock { display: flex; align-items: center; gap: .4rem; font-size: var(--fs-sm); font-weight: 600; color: var(--forest) !important; }
.brand-stock svg { width: 16px; height: 16px; color: var(--gold-600); }
@media (max-width: 599px) { .ribbon { font-size: .8rem; } .hero__ribbons { margin-bottom: 1rem; } }
.media-frame--product { background: linear-gradient(180deg, #c4def2, #e9f1f7); }

/* ---------- JA Solar enquiry page ---------- */
.enquiry-grid { display: grid; gap: clamp(28px, 4vw, 56px); align-items: start; }
@media (min-width: 960px) { .enquiry-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); } .enquiry-side { position: sticky; top: 110px; } }
.enquiry-side h2 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); }
.enquiry-side .tracker { margin: 24px 0 28px; }
.enquiry-side__h { font-size: 1.1rem; margin: 0 0 10px; }
.enquiry-side__call { margin-top: 20px; font-weight: 600; }
.enquiry-side__call a { color: var(--forest); text-decoration: underline; text-underline-offset: 3px; }
.enquiry-grid .lead-card { margin-top: 0; max-width: none; }
@media (max-width: 959px) { .enquiry-grid > :last-child { order: -1; } .enquiry-grid > .enquiry-side { border-top: 1px solid var(--line); padding-top: 28px; } }

/* ---------- Solar Calculator: header tab under "Get a Quote" ---------- */
.header-actions { position: relative; }
.calc-tab { display: none; }
@media (min-width: 1024px) {
  .calc-tab {
    position: absolute; right: 0; top: calc(50% + var(--header-h) / 2 + 1px);
    display: inline-flex; align-items: center; gap: .45rem; white-space: nowrap;
    padding: .45rem .95rem .5rem; font: 700 var(--fs-xs)/1 var(--font-head); letter-spacing: .01em;
    color: var(--gold); background: var(--navy); border: 1px solid rgba(232,185,79,.45); border-top: 0;
    border-radius: 0 0 12px 12px; box-shadow: 0 10px 22px -10px rgba(0,0,0,.55);
    transition: background-color .2s, color .2s, padding .2s var(--ease);
  }
  .calc-tab svg { width: 15px; height: 15px; }
  .calc-tab:hover, .calc-tab[aria-current="page"] { background: var(--gold); color: var(--navy); padding-bottom: .65rem; }
  .calc-tab:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
}
.mobile-menu .mm-calc { margin-top: .75rem; color: var(--gold); border-color: rgba(232,185,79,.55); }
.mobile-menu .mm-calc svg { width: 18px; height: 18px; }

/* ---------- Solar Calculator page ---------- */
.calc-section { padding-top: clamp(2.5rem, 2rem + 3vw, 4.5rem); }
.calc-noscript { background: #fff8e6; border-radius: var(--r-md); padding: 1rem 1.25rem; margin-bottom: 1.5rem; }
.calc { display: grid; gap: clamp(1.5rem, 3vw, 2.5rem); align-items: start; }
@media (min-width: 1024px) { .calc { grid-template-columns: minmax(0, 1fr) 400px; } .calc__result { position: sticky; top: calc(var(--header-h) + 24px); } }
.calc__main { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(1rem, .6rem + 2vw, 2rem); box-shadow: var(--shadow-sm); min-width: 0; }
.calc-tabs { display: inline-flex; background: var(--sage); border-radius: 999px; padding: 5px; gap: 4px; margin-bottom: 1.25rem; max-width: 100%; }
.calc-tabs button { display: inline-flex; align-items: center; gap: .5rem; border: 0; background: transparent; color: var(--forest); font: 700 var(--fs-sm)/1 var(--font-head); padding: .8rem 1.1rem; border-radius: 999px; cursor: pointer; min-height: 44px; transition: background-color .2s, color .2s; }
.calc-tabs button svg { width: 18px; height: 18px; flex: none; }
.calc-tabs button[aria-selected="true"] { background: var(--forest); color: var(--white); }
.calc-tabs button:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.calc-hint { color: var(--ink-2); margin-bottom: 1.25rem; }
.calc-hint--sm { font-size: var(--fs-xs); margin: .5rem 0 0; }
.calc-group { border: 0; padding: 0; margin: 0 0 1.5rem; min-width: 0; }
.calc-group legend { display: flex; align-items: center; gap: .6rem; font: 800 var(--fs-md)/1.2 var(--font-head); color: var(--ink); margin-bottom: .75rem; padding: 0; }
.calc-group__ico { width: 34px; height: 34px; border-radius: 10px; background: var(--forest); color: var(--gold); display: grid; place-items: center; }
.calc-group__ico svg { width: 18px; height: 18px; }
.calc-items { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
.calc-item { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "name step" "var var"; gap: .55rem .75rem; align-items: center; padding: .75rem .85rem; border: 1.5px solid var(--line); border-radius: var(--r-md); background: var(--paper); transition: border-color .2s, background-color .2s; }
.calc-item.is-on { border-color: rgba(18,59,42,.45); background: #fff; box-shadow: inset 4px 0 0 var(--gold); }
@media (min-width: 640px) { .calc-item { grid-template-columns: minmax(0, 1fr) 200px auto; grid-template-areas: "name var step"; } }
.calc-item__name { grid-area: name; font-weight: 600; color: var(--ink); }
.calc-item__var { grid-area: var; width: 100%; min-height: 44px; padding: .55rem 2.2rem .55rem .8rem; border: 1.5px solid rgba(18,59,42,.2); border-radius: var(--r-sm); background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 7.5l5 5 5-5' fill='none' stroke='%23123b2a' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right .7rem center / 16px; font-size: var(--fs-sm); appearance: none; color: var(--ink); }
.calc-item__var:focus { outline: none; border-color: var(--forest); box-shadow: 0 0 0 4px rgba(232,185,79,.35); }
.calc-item__var--fixed { display: flex; align-items: center; background: transparent; border-style: dashed; color: var(--ink-3); }
.stepper { grid-area: step; display: inline-flex; align-items: center; border: 1.5px solid rgba(18,59,42,.2); border-radius: 999px; background: #fff; overflow: hidden; }
.stepper button { width: 44px; height: 44px; border: 0; background: transparent; color: var(--forest); display: grid; place-items: center; cursor: pointer; transition: background-color .15s; }
.stepper button:hover { background: var(--sage); }
.stepper button:focus-visible { outline: 3px solid var(--gold); outline-offset: -3px; }
.stepper button svg { width: 18px; height: 18px; }
.stepper input { width: 42px; height: 44px; border: 0; text-align: center; font: 800 1.05rem var(--font-head); color: var(--ink); background: transparent; -moz-appearance: textfield; }
.stepper input::-webkit-outer-spin-button, .stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.stepper input:focus { outline: none; background: #fff8e6; }
.calc-reset { display: inline-flex; align-items: center; gap: .5rem; background: none; border: 0; color: var(--ink-3); font-weight: 600; cursor: pointer; padding: .6rem 0; min-height: 44px; }
.calc-reset svg { width: 16px; height: 16px; }
.calc-reset:hover { color: var(--forest); }
.calc-units { margin-bottom: 1.5rem; }
.calc-units label { display: block; font-weight: 700; margin-bottom: .5rem; }
.calc-units label .opt { font-weight: 400; color: var(--ink-3); font-size: var(--fs-xs); }
.calc-units__row { display: flex; gap: 1rem; align-items: center; }
.calc-units input[type="number"] { width: 140px; min-height: 50px; padding: .7rem .9rem; border: 1.5px solid rgba(18,59,42,.2); border-radius: var(--r-sm); background: var(--paper); font: 700 1.1rem var(--font-head); color: var(--ink); }
.calc-units input[type="number"]:focus { outline: none; border-color: var(--forest); box-shadow: 0 0 0 4px rgba(232,185,79,.35); }
.calc-units input[type="range"] { flex: 1; min-width: 0; accent-color: var(--forest); height: 44px; }
/* Result card */
.calc__result { background: radial-gradient(120% 80% at 100% 0%, rgba(232,185,79,.18), transparent 55%), linear-gradient(160deg, var(--forest) 0%, var(--navy) 100%); color: var(--white); border-radius: var(--r-lg); padding: clamp(1.4rem, 1rem + 2vw, 2.2rem); box-shadow: 0 30px 60px -30px rgba(16,28,44,.6); scroll-margin-top: calc(var(--header-h) + 16px); }
.calc__result .eyebrow { color: var(--gold); }
.calc-big { font: 800 clamp(3.2rem, 2.4rem + 3vw, 4.4rem)/1 var(--font-head); letter-spacing: -.03em; margin: .4rem 0 .2rem; display: flex; align-items: baseline; gap: .4rem; color: var(--white); }
.calc-big small { font-size: 1.3rem; color: var(--gold); letter-spacing: 0; }
.calc-big.bump span { animation: calcBump .35s var(--ease); display: inline-block; }
@keyframes calcBump { 0% { transform: translateY(6px); opacity: .4; } 100% { transform: none; opacity: 1; } }
.calc-big__label { color: var(--on-dark-2); margin-bottom: 1.25rem; }
.calc-stats { margin: 0 0 1.25rem; display: grid; border-top: 1px solid var(--line-dark); }
.calc-stats > div { display: flex; justify-content: space-between; gap: 1rem; padding: .7rem 0; border-bottom: 1px solid var(--line-dark); }
.calc-stats > div[hidden] { display: none; }
.calc-stats dt { color: var(--on-dark-2); }
.calc-stats dd { margin: 0; font: 700 1rem var(--font-head); text-align: right; }
.calc-stats dd small { color: var(--on-dark-2); font-weight: 500; }
.calc-batt { display: flex; gap: .8rem; align-items: flex-start; background: rgba(255,255,255,.07); border: 1px solid var(--line-dark); border-radius: var(--r-md); padding: .9rem 1rem; margin-bottom: 1.25rem; font-size: var(--fs-sm); color: var(--on-dark-2); }
.calc-batt[hidden] { display: none; }
.calc-batt strong { color: var(--white); }
.calc-batt a { color: var(--gold); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; display: inline-block; padding: .2rem 0; }
.calc-batt__ico { flex: none; width: 34px; height: 34px; border-radius: 10px; background: var(--gold); color: var(--navy); display: grid; place-items: center; }
.calc-batt__ico svg { width: 18px; height: 18px; }
.calc-cta .btn { width: 100%; justify-content: center; }
.calc-note { font-size: var(--fs-xs); color: var(--on-dark-2); margin: 1rem 0 0; line-height: 1.55; }
/* Mobile summary bar */
.calc-bar { position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 90; display: flex; align-items: center; gap: 1rem; padding: .7rem .8rem .7rem 1.1rem; background: var(--navy); color: var(--white); border-radius: 18px; border: 1px solid rgba(232,185,79,.4); box-shadow: 0 18px 40px -12px rgba(0,0,0,.55); transform: translateY(140%); transition: transform .35s var(--ease); }
.calc-bar.is-shown { transform: none; }
.calc-bar > span { display: grid; line-height: 1.15; }
.calc-bar small { font-size: .7rem; color: var(--on-dark-2); text-transform: uppercase; letter-spacing: .06em; }
.calc-bar strong { font: 800 1.05rem var(--font-head); }
.calc-bar .calc-bar__go { margin-left: auto; display: inline-flex; align-items: center; gap: .4rem; background: var(--gold); color: var(--navy); font: 700 var(--fs-xs) var(--font-head); padding: .7rem .9rem; border-radius: 12px; }
.calc-bar__go svg { width: 14px; height: 14px; }
@media (min-width: 1024px) { .calc-bar { display: none; } }
.calc-tab, .calc-bar { text-decoration: none; }
.header-actions .calc-tab svg { width: 16px; height: 16px; flex: none; }
@media (max-width: 520px) {
  .calc-tabs { display: grid; grid-template-columns: 1fr 1fr; width: 100%; }
  .calc-tabs button { justify-content: center; padding: .75rem .5rem; font-size: var(--fs-xs); }
  .calc-tabs button svg { display: none; }
}
/* lift the floating call buttons above the calculator summary bar */
body.calc-shown .float-actions { transform: translateY(-84px); }
.float-actions { transition: transform .35s var(--ease), opacity .3s; }

/* ---------- Home hero: port / JA import visual ---------- */
.hero--port { min-height: min(100vh, 980px); padding-bottom: 6rem; }
.hero--port .hero__video { object-position: 62% 50%; }
.hero--port .hero__media::after {
  background:
    linear-gradient(90deg, rgba(11,20,32,.94) 0%, rgba(11,20,32,.86) 30%, rgba(11,20,32,.45) 52%, rgba(11,20,32,0) 70%),
    linear-gradient(0deg, rgba(11,20,32,.75) 0%, rgba(11,20,32,0) 30%),
    linear-gradient(180deg, rgba(11,20,32,.55) 0%, rgba(11,20,32,0) 22%);
}
@media (min-width: 1024px) { .hero--port .container { grid-template-columns: minmax(0, 660px); } }
.hero--port h1 { max-width: 15ch; font-size: clamp(2.2rem, 1.3rem + 3.4vw, 4rem); line-height: 1.06; }
.hero__ribbon { margin-bottom: 1.25rem; }
.hero__kicker { display: flex; flex-wrap: wrap; gap: .35rem .75rem; margin: 0 0 1rem; font: 700 .78rem/1.2 var(--font-head); letter-spacing: .16em; text-transform: uppercase; color: rgba(255,255,255,.82); }
.hero__kicker span + span::before { content: "|"; margin-right: .75rem; color: var(--gold); font-weight: 400; }
.hero--port .hero__lead { max-width: 50ch; }
.hero__brands { list-style: none; display: flex; flex-wrap: wrap; gap: 1rem 0; margin: 2rem 0 0; padding: 1.5rem 0 0; border-top: 1px solid rgba(255,255,255,.18); }
.hero__brands li { display: grid; gap: .35rem; padding-right: 2rem; }
.hero__brands li + li { padding-left: 2rem; border-left: 1px solid rgba(255,255,255,.22); }
.hb-name { font: 800 1.9rem/1 var(--font-head); letter-spacing: .02em; color: #fff; }
.hb-name--ja b { font-weight: 900; letter-spacing: -.02em; }
.hb-name--ja { font-weight: 500; }
.hb-name--aiko { letter-spacing: .14em; }
.hb-role { font-size: var(--fs-sm); line-height: 1.35; color: var(--on-dark-2); }
.hero__features { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.1rem .75rem; margin: 1.75rem 0 0; padding: 1.5rem 0 0; border-top: 1px solid rgba(255,255,255,.18); }
.hero__features li { display: grid; justify-items: start; gap: .2rem; font-size: var(--fs-xs); color: var(--on-dark-2); }
.hero__features svg { width: 30px; height: 30px; color: var(--gold); margin-bottom: .35rem; stroke-width: 1.5; }
.hero__features strong { font: 700 var(--fs-sm)/1.25 var(--font-head); color: #fff; }
@media (min-width: 640px) {
  .hero__features { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; }
  .hero__features li { justify-items: center; text-align: center; padding: 0 .6rem; }
  .hero__features li + li { border-left: 1px solid rgba(255,255,255,.2); }
}
@media (max-width: 767px) {
  .hero--port .hero__video { object-position: 64% 50%; }
  .hero--port .hero__media::after { background: linear-gradient(180deg, rgba(11,20,32,.55) 0%, rgba(11,20,32,.8) 45%, rgba(11,20,32,.94) 100%); }
  .hb-name { font-size: 1.5rem; }
  .hero__brands li { padding-right: 1.25rem; } .hero__brands li + li { padding-left: 1.25rem; }
}
.hero--port h1 { font-size: clamp(2.1rem, 1.4rem + 2.6vw, 3.4rem); max-width: 18ch; margin-bottom: 1rem; }
.hero--port .hero__lead { margin-bottom: 1.6rem; }
.hero--port .hero__brands { margin-top: 1.6rem; padding-top: 1.25rem; }
.hero--port .hero__features { margin-top: 1.25rem; padding-top: 1.25rem; }
@media (min-width: 1024px) { .hero--port { padding-top: calc(var(--header-h) + 2.25rem); } }
@media (max-width: 479px) { .hero__kicker { font-size: .66rem; letter-spacing: .1em; gap: .3rem .5rem; } .hero__kicker span + span::before { margin-right: .5rem; } }
.hero__features li { align-content: start; }
.hero--port .scroll-cue { display: none; }

/* ---------- About: CEO profile ---------- */
.ceo { position: relative; overflow: hidden; overflow: clip; background: var(--white); }
.ceo__glow { position: absolute; width: 720px; height: 720px; left: -260px; top: -200px; border-radius: 50%; background: radial-gradient(circle, rgba(232,185,79,.22), rgba(232,185,79,0) 65%); animation: ceoGlow 12s ease-in-out infinite alternate; pointer-events: none; }
@keyframes ceoGlow { to { transform: translate(120px, 80px) scale(1.15); } }
.ceo__grid { position: relative; display: grid; gap: clamp(2.5rem, 5vw, 4.5rem); align-items: center; }
@media (min-width: 960px) { .ceo__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); } }
.ceo__media { position: relative; max-width: 460px; width: 100%; margin: 0 auto; padding: 18px; }
.ceo__ring { position: absolute; inset: 0; border-radius: calc(var(--r-lg) + 14px); background: conic-gradient(from var(--ang, 0deg), var(--gold), rgba(232,185,79,0) 30%, var(--forest-500) 55%, rgba(18,59,42,0) 80%, var(--gold)); animation: ceoSpin 9s linear infinite; opacity: .9; }
.ceo__ring::after { content: ""; position: absolute; inset: 4px; border-radius: calc(var(--r-lg) + 10px); background: var(--white); }
@property --ang { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
@keyframes ceoSpin { to { --ang: 360deg; } }
.ceo__photo { position: relative; z-index: 1; margin: 0; box-shadow: 0 30px 60px -28px rgba(16,28,44,.45); }
.ceo__photo img { transition: transform 1.2s var(--ease); }
.ceo__media:hover .ceo__photo img { transform: scale(1.04); }
.ceo__floats { list-style: none; margin: 0; padding: 0; }
.ceo-float { position: absolute; z-index: 2; display: flex; align-items: center; gap: .6rem; padding: .6rem .85rem .6rem .6rem; background: rgba(255,255,255,.92); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 16px 34px -16px rgba(16,28,44,.45); animation: ceoBob 6s ease-in-out infinite; max-width: 240px; }
.ceo-float svg { flex: none; width: 34px; height: 34px; padding: 7px; border-radius: 10px; background: var(--forest); color: var(--gold); }
.ceo-float strong { display: block; font: 700 var(--fs-xs)/1.2 var(--font-head); color: var(--ink); }
.ceo-float small { display: block; font-size: .72rem; color: var(--ink-3); line-height: 1.25; }
.ceo-float--a { left: -14px; top: 12%; }
.ceo-float--b { right: -18px; top: 46%; animation-delay: -2s; }
.ceo-float--c { left: 4%; bottom: -6px; animation-delay: -4s; }
@keyframes ceoBob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@media (max-width: 520px) { .ceo-float { max-width: 200px; padding: .45rem .6rem .45rem .45rem; } .ceo-float svg { width: 28px; height: 28px; padding: 5px; } .ceo-float--a { left: -6px; } .ceo-float--b { right: -6px; } }
.ceo__body h2 { margin-bottom: .4rem; }
.ceo__members { list-style: none; display: flex; flex-wrap: wrap; gap: .6rem; margin: 1.25rem 0 1.5rem; padding: 0; }
.ceo__members li { display: inline-flex; align-items: center; gap: .55rem; padding: .55rem .9rem .55rem .6rem; border-radius: 999px; background: var(--sage); color: var(--ink-2); font-size: var(--fs-sm); }
.ceo__members li strong { color: var(--forest); }
.ceo__members svg { width: 26px; height: 26px; padding: 5px; border-radius: 50%; background: var(--forest); color: var(--gold); flex: none; }
.ceo__bio p { color: var(--ink-2); max-width: 62ch; }
.ceo__chips { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem; margin: 1.5rem 0 1.75rem; padding: 0; }
.ceo__chips li { padding: .45rem .85rem; border-radius: 999px; border: 1.5px solid rgba(18,59,42,.22); font: 600 var(--fs-xs) var(--font-head); color: var(--forest); background: #fff; transition: background-color .25s, color .25s, transform .25s var(--ease); }
.ceo__chips li:hover { background: var(--forest); color: #fff; transform: translateY(-2px); }

/* ---------- About: journey timeline ---------- */
.journey-sec { overflow: hidden; }
.jtl { list-style: none; position: relative; margin: 3rem auto 0; padding: 0; max-width: 1000px; display: grid; gap: 1.5rem; }
.jtl__line { position: absolute; left: 23px; top: 10px; bottom: 10px; width: 2px; background: rgba(255,255,255,.14); }
.jtl__fill { position: absolute; inset: 0; background: linear-gradient(var(--gold), #f5d78a); transform-origin: top; transform: scaleY(var(--p, 0)); box-shadow: 0 0 14px rgba(232,185,79,.6); }
.jtl__item { position: relative; display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 1.1rem; align-items: start; }
.jtl__dot { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--navy-800); border: 2px solid rgba(255,255,255,.2); color: rgba(255,255,255,.55); position: relative; z-index: 1; transition: background-color .5s, border-color .5s, color .5s, box-shadow .5s; }
.jtl__dot svg { width: 22px; height: 22px; }
.jtl__item.is-lit .jtl__dot { background: var(--gold); border-color: var(--gold); color: var(--navy); box-shadow: 0 0 0 6px rgba(232,185,79,.18); }
.jtl__card { background: rgba(255,255,255,.05); border: 1px solid var(--line-dark); border-radius: var(--r-md); padding: 1.1rem 1.25rem; transition: border-color .5s, background-color .5s, transform .5s var(--ease); }
.jtl__item.is-lit .jtl__card { border-color: rgba(232,185,79,.45); background: rgba(255,255,255,.08); }
.jtl__when { margin: 0 0 .25rem; font: 800 var(--fs-xs)/1 var(--font-head); letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.jtl__card h3 { font-size: var(--fs-h4); margin: 0 0 .35rem; color: #fff; }
.jtl__card p:last-child { margin: 0; color: var(--on-dark-2); font-size: var(--fs-sm); }
@media (min-width: 900px) {
  .jtl__line { left: 50%; margin-left: -1px; }
  .jtl__item { grid-template-columns: minmax(0, 1fr) 48px minmax(0, 1fr); gap: 1.5rem; }
  .jtl__item .jtl__dot { grid-column: 2; grid-row: 1; }
  .jtl__item .jtl__card { grid-column: 1; grid-row: 1; text-align: right; }
  .jtl__item--r .jtl__card { grid-column: 3; text-align: left; }
  .jtl__item:hover .jtl__card { transform: translateY(-3px); }
}

@media (min-width: 960px) { .ceo__grid { align-items: start; } .ceo__media { position: sticky; top: calc(var(--header-h) + 40px); } }

/* ---------- About: CEO roles, facts, capabilities, tools ---------- */
.ceo__role { margin: 0 0 1rem; font: 700 clamp(1.05rem, .95rem + .5vw, 1.3rem)/1.3 var(--font-head); color: var(--forest-500); min-height: 1.6em; }
.ceo__role-box { display: inline-flex; align-items: center; gap: .55rem; }
.ceo__role-box::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 0 rgba(232,185,79,.6); animation: pulseGold 1.8s infinite; flex: none; }
.ceo__role-txt { display: inline-block; transition: opacity .35s var(--ease), transform .35s var(--ease); }
.ceo__role-txt.is-out { opacity: 0; transform: translateY(8px); }
.ceo__facts { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .6rem; margin: 0 0 1.5rem; padding: 0; }
.ceo__facts li { padding: .85rem .9rem; border-radius: var(--r-md); background: linear-gradient(150deg, var(--forest), var(--navy)); color: #fff; display: grid; gap: .15rem; position: relative; overflow: hidden; }
.ceo__facts li::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.14) 50%, transparent 70%); transform: translateX(-100%); animation: ceoShine 6s ease-in-out infinite; }
.ceo__facts li:nth-child(2)::after { animation-delay: 1.2s; } .ceo__facts li:nth-child(3)::after { animation-delay: 2.4s; }
@keyframes ceoShine { 0%, 60% { transform: translateX(-100%); } 100% { transform: translateX(100%); } }
.ceo__facts strong { font: 800 var(--fs-md)/1.2 var(--font-head); color: var(--gold); }
.ceo__facts span { font-size: var(--fs-xs); color: var(--on-dark-2); }
@media (max-width: 520px) { .ceo__facts { grid-template-columns: 1fr; } }
.ceo__sub { font-size: var(--fs-h4); margin: 2rem 0 1rem; }
.ceo__caps { list-style: none; display: grid; gap: .65rem; margin: 0 0 1.75rem; padding: 0; }
@media (min-width: 640px) { .ceo__caps { grid-template-columns: 1fr 1fr; } }
.ceo-cap { display: flex; gap: .8rem; align-items: flex-start; padding: .9rem 1rem; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--paper); transition: transform .3s var(--ease), box-shadow .3s, border-color .3s; }
.ceo-cap:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: rgba(232,185,79,.6); }
.ceo-cap__ico { flex: none; width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; background: var(--forest); color: var(--gold); transition: transform .4s var(--ease); }
.ceo-cap:hover .ceo-cap__ico { transform: rotate(-8deg) scale(1.08); }
.ceo-cap__ico svg { width: 20px; height: 20px; }
.ceo-cap strong { display: block; font: 700 var(--fs-sm)/1.3 var(--font-head); color: var(--ink); }
.ceo-cap div span { display: block; font-size: var(--fs-xs); color: var(--ink-3); line-height: 1.45; margin-top: .15rem; }
.ceo__tools { margin: 0 0 1.75rem; }
.ceo__tools-label { font: 700 .72rem/1 var(--font-head); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); margin: 0 0 .6rem; }
.ceo__tools ul { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem; margin: 0; padding: 0; }
.ceo__tools li { padding: .5rem .9rem; border-radius: 10px; background: var(--navy); color: #fff; font: 700 var(--fs-xs) var(--font-head); letter-spacing: .02em; animation: toolFloat 5s ease-in-out infinite; animation-delay: calc(var(--i) * -0.8s); }
@keyframes toolFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-3px); } }
.btn--li svg { width: 18px; height: 18px; }
.ceo .btn-row { align-items: center; }

/* ---------- Chat assistant ---------- */
.float-actions { bottom: calc(1rem + 70px + env(safe-area-inset-bottom)); }
.sgc { position: fixed; right: 1rem; bottom: calc(1rem + env(safe-area-inset-bottom)); z-index: 120; font-family: var(--font-body); transition: transform .35s var(--ease); }
body.calc-shown .sgc { transform: translateY(-84px); }
.sgc__launch { position: relative; width: 60px; height: 60px; border-radius: 50%; border: 0; cursor: pointer; display: grid; place-items: center; color: var(--navy); background: var(--gold); box-shadow: 0 14px 30px -10px rgba(0,0,0,.5), 0 0 0 0 rgba(232,185,79,.55); animation: sgcPulse 2.8s ease-out infinite; transition: transform .25s var(--ease), background-color .2s; }
.sgc__launch:hover { transform: scale(1.06); }
.sgc__launch:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
@keyframes sgcPulse { 0% { box-shadow: 0 14px 30px -10px rgba(0,0,0,.5), 0 0 0 0 rgba(232,185,79,.55); } 70%, 100% { box-shadow: 0 14px 30px -10px rgba(0,0,0,.5), 0 0 0 16px rgba(232,185,79,0); } }
.sgc.is-open .sgc__launch { animation: none; background: var(--navy); color: #fff; }
.sgc__launch-i { position: absolute; display: grid; transition: transform .3s var(--ease), opacity .2s; }
.sgc__launch-i svg { width: 28px; height: 28px; }
.sgc__launch-i--x { opacity: 0; transform: rotate(-90deg); }
.sgc.is-open .sgc__launch-i--chat { opacity: 0; transform: rotate(90deg); }
.sgc.is-open .sgc__launch-i--x { opacity: 1; transform: none; }
.sgc__badge { position: absolute; top: -2px; right: -2px; min-width: 22px; height: 22px; border-radius: 11px; background: #e5484d; color: #fff; font: 700 12px/22px var(--font-head); text-align: center; border: 2px solid #fff; }
/* teaser bubble (phones, after 1 minute) */
.sgc__teaser { position: absolute; right: 0; bottom: 74px; width: min(290px, calc(100vw - 2rem)); animation: sgcIn .45s var(--ease); }
.sgc__teaser-body { display: flex; gap: .65rem; align-items: center; width: 100%; text-align: left; padding: .85rem 1rem; border: 0; border-radius: 18px 18px 4px 18px; background: #fff; color: var(--ink); font: 600 var(--fs-sm)/1.4 var(--font-body); box-shadow: 0 20px 40px -14px rgba(16,28,44,.45); cursor: pointer; }
.sgc__teaser-x { position: absolute; top: -10px; left: -10px; width: 28px; height: 28px; border-radius: 50%; border: 0; background: var(--navy); color: #fff; display: grid; place-items: center; cursor: pointer; z-index: 1; }
.sgc__teaser-x svg { width: 14px; height: 14px; }
/* panel */
.sgc__panel { position: absolute; right: 0; bottom: 74px; width: 380px; height: min(600px, calc(100vh - 120px)); display: flex; flex-direction: column; background: #f4f6f2; border-radius: 22px; overflow: hidden; box-shadow: 0 30px 70px -20px rgba(16,28,44,.55), 0 0 0 1px rgba(16,28,44,.06); opacity: 0; transform: translateY(14px) scale(.98); transform-origin: bottom right; transition: opacity .25s var(--ease), transform .3s var(--ease); }
.sgc__panel.is-in { opacity: 1; transform: none; }
@keyframes sgcIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.sgc__head { display: flex; align-items: center; gap: .75rem; padding: 1rem 1rem 1rem 1.1rem; background: linear-gradient(135deg, var(--forest), var(--navy)); color: #fff; }
.sgc__ava { position: relative; flex: none; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--gold); color: var(--navy); }
.sgc__ava svg { width: 24px; height: 24px; animation: sgcSpin 14s linear infinite; }
@keyframes sgcSpin { to { transform: rotate(360deg); } }
.sgc__ava--sm { width: 34px; height: 34px; } .sgc__ava--sm svg { width: 19px; height: 19px; }
.sgc__online { position: absolute; right: 0; bottom: 1px; width: 11px; height: 11px; border-radius: 50%; background: #3ddc84; border: 2px solid var(--forest); }
.sgc__who { flex: 1; min-width: 0; }
.sgc__who h2 { font: 800 1rem/1.2 var(--font-head); color: #fff; margin: 0; }
.sgc__who p { margin: .1rem 0 0; font-size: .75rem; color: rgba(255,255,255,.75); }
.sgc__x { width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(255,255,255,.1); color: #fff; display: grid; place-items: center; cursor: pointer; }
.sgc__x svg { width: 18px; height: 18px; }
.sgc__x:hover { background: rgba(255,255,255,.2); }
.sgc__log { flex: 1; overflow-y: auto; padding: 1rem .9rem .5rem; display: flex; flex-direction: column; gap: .6rem; overscroll-behavior: contain; scroll-behavior: smooth; }
.sgc-msg { display: flex; flex-direction: column; align-items: flex-start; gap: .4rem; animation: sgcIn .3s var(--ease); max-width: 100%; }
.sgc-msg--user { align-items: flex-end; }
.sgc-bub { max-width: 86%; padding: .65rem .85rem; border-radius: 16px 16px 16px 4px; background: #fff; color: var(--ink); font-size: .9rem; line-height: 1.5; box-shadow: 0 2px 6px rgba(16,28,44,.06); overflow-wrap: anywhere; }
.sgc-bub a { color: var(--forest); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.sgc-msg--user .sgc-bub { background: var(--forest); color: #fff; border-radius: 16px 16px 4px 16px; }
.sgc-typing .sgc-bub { display: inline-flex; gap: 4px; padding: .8rem .9rem; }
.sgc-typing i { width: 7px; height: 7px; border-radius: 50%; background: #9aa69f; animation: sgcDot 1s infinite; }
.sgc-typing i:nth-child(2) { animation-delay: .15s; } .sgc-typing i:nth-child(3) { animation-delay: .3s; }
@keyframes sgcDot { 0%, 60%, 100% { transform: translateY(0); opacity: .5; } 30% { transform: translateY(-4px); opacity: 1; } }
.sgc-acts { display: flex; flex-wrap: wrap; gap: .4rem; max-width: 92%; }
.sgc-act { display: inline-flex; align-items: center; gap: .35rem; min-height: 36px; padding: .4rem .8rem; border-radius: 999px; background: #fff; border: 1.5px solid var(--forest); color: var(--forest); font: 700 .78rem var(--font-head); text-decoration: none; transition: background-color .2s, color .2s; }
.sgc-act svg { width: 14px; height: 14px; }
.sgc-act:hover { background: var(--forest); color: #fff; }
.sgc-ceo { width: 86%; padding: .8rem; border-radius: 14px; background: linear-gradient(150deg, var(--forest), var(--navy)); color: #fff; }
.sgc-ceo__n { margin: 0 0 .6rem; display: grid; }
.sgc-ceo__n strong { font: 800 .95rem var(--font-head); color: var(--gold); }
.sgc-ceo__n span { font-size: .75rem; color: rgba(255,255,255,.75); }
.sgc-ceo__b { display: grid; gap: .4rem; }
.sgc-ceo__btn { display: flex; align-items: center; gap: .55rem; min-height: 40px; padding: .45rem .7rem; border-radius: 10px; background: rgba(255,255,255,.1); color: #fff; text-decoration: none; font: 600 .82rem var(--font-body); transition: background-color .2s; overflow-wrap: anywhere; }
.sgc-ceo__btn:hover { background: rgba(255,255,255,.2); }
.sgc-ceo__btn svg { width: 18px; height: 18px; flex: none; color: var(--gold); }
.sgc-ceo__btn--wa svg { color: #3ddc84; }
.sgc__chips { display: flex; gap: .4rem; padding: .5rem .9rem; overflow-x: auto; scrollbar-width: none; flex: none; }
.sgc__chips::-webkit-scrollbar { display: none; }
.sgc-chip { flex: none; min-height: 36px; padding: .4rem .8rem; border-radius: 999px; border: 1px solid rgba(18,59,42,.2); background: #fff; color: var(--forest); font: 600 .78rem var(--font-head); cursor: pointer; white-space: nowrap; transition: background-color .2s, border-color .2s; }
.sgc-chip:hover { background: var(--sage); border-color: var(--forest); }
.sgc__form { display: flex; gap: .5rem; padding: .6rem .75rem; background: #fff; border-top: 1px solid var(--line); flex: none; }
.sgc__form input { flex: 1; min-width: 0; height: 46px; padding: 0 .9rem; border: 1.5px solid rgba(18,59,42,.18); border-radius: 23px; background: var(--paper); font-size: 16px; color: var(--ink); }
.sgc__form input:focus { outline: none; border-color: var(--forest); box-shadow: 0 0 0 3px rgba(232,185,79,.35); }
.sgc__send { width: 46px; height: 46px; flex: none; border-radius: 50%; border: 0; background: var(--forest); color: var(--gold); display: grid; place-items: center; cursor: pointer; transition: transform .2s var(--ease); }
.sgc__send:hover { transform: scale(1.06); }
.sgc__send svg { width: 20px; height: 20px; }
.sgc__foot { margin: 0; padding: 0 .75rem .55rem; background: #fff; text-align: center; font-size: .68rem; color: var(--ink-3); flex: none; }
@media (max-width: 520px) {
  .sgc__panel { position: fixed; left: 0; right: 0; bottom: 0; width: auto; height: min(88vh, calc(100vh - 40px)); border-radius: 22px 22px 0 0; }
  .sgc.is-open .sgc__launch { display: none; }
  .sgc.is-open ~ .float-actions, body.sgc-open .float-actions { opacity: 0; pointer-events: none; }
}
@media print { .sgc { display: none; } }
.sgc__panel[hidden], .sgc__teaser[hidden], .sgc__badge[hidden] { display: none !important; }

/* =====================================================================
   Glass & motion layer (13 Oct 2026)
   Performance rules: only transform/opacity animate; backdrop blur is used on a handful of
   elements; html.lite (low-power phones, data saver) switches the heavier effects off.
   ===================================================================== */
:root {
  --glass-dark: linear-gradient(145deg, rgba(255,255,255,.11), rgba(255,255,255,.03));
  --glass-dark-bd: rgba(255,255,255,.15);
  --glass-light: linear-gradient(160deg, rgba(255,255,255,.96), rgba(255,255,255,.74));
  --glass-hi: inset 0 1px 0 rgba(255,255,255,.22);
}

/* --- Header: glossier frosted glass with a fine gold glint line --- */
.site-header { background: linear-gradient(180deg, rgba(16,28,44,.8), rgba(16,28,44,.68)); }
.site-header::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; pointer-events: none; background: linear-gradient(90deg, transparent, rgba(232,185,79,.55) 30%, rgba(255,255,255,.5) 50%, rgba(232,185,79,.55) 70%, transparent); opacity: .7; }
.site-header.is-scrolled { background: linear-gradient(180deg, rgba(16,28,44,.92), rgba(16,28,44,.85)); }

/* --- Glossy buttons: top highlight, light sweep on hover, soft press --- */
.btn { position: relative; overflow: hidden; isolation: isolate; transition: transform .25s var(--ease), box-shadow .3s, background-color .2s, color .2s, border-color .2s; }
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.55) 48%, rgba(255,255,255,.15) 54%, transparent 66%); transform: translateX(-130%); transition: transform .9s var(--ease); }
.btn:hover::before { transform: translateX(130%); }
.btn:not(.btn--ghost):not(.btn--outline):not(.btn--dark) { background-image: linear-gradient(180deg, rgba(255,255,255,.32), rgba(255,255,255,0) 55%); box-shadow: 0 10px 24px -12px rgba(201,154,46,.85), var(--glass-hi); }
.btn--dark { background-image: linear-gradient(180deg, rgba(255,255,255,.14), rgba(255,255,255,0) 55%); box-shadow: 0 10px 24px -14px rgba(18,59,42,.9), inset 0 1px 0 rgba(255,255,255,.12); }
.btn--ghost { background-color: rgba(255,255,255,.08); }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.97); transition-duration: .08s; }

/* --- Cards: frosted glass on light sections --- */
:is(.how-card, .plan, .support-item, .ceo-cap, .card, .trust-item, .stat-card, .feature-card) { position: relative; }
:is(.how-card, .plan, .support-item, .ceo-cap, .card) {
  background: var(--glass-light); border-color: rgba(255,255,255,.9);
  box-shadow: 0 1px 0 rgba(255,255,255,.9) inset, 0 0 0 1px var(--line), 0 18px 40px -28px rgba(16,28,44,.35);
  transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .3s;
}
@media (hover: hover) {
  :is(.how-card, .plan, .support-item, .card):hover { transform: translateY(-5px); box-shadow: 0 1px 0 rgba(255,255,255,.9) inset, 0 0 0 1px rgba(232,185,79,.45), 0 28px 50px -26px rgba(16,28,44,.45); }
}

/* --- Cards: glass on dark sections --- */
:is(.section--dark, .section--forest, .impact, .ja, .importer, .cta-band) :is(.how-card, .plan, .contact-card, .imp-card, .brand-card, .card, .jtl__card, .impact-item, .feature, .form-card--glass) {
  background: var(--glass-dark); border: 1px solid var(--glass-dark-bd);
  box-shadow: var(--glass-hi), 0 24px 48px -28px rgba(0,0,0,.65);
}
:is(.section--dark, .section--forest) :is(.how-card, .plan, .card) h3 { color: #fff; }
:is(.section--dark, .section--forest) :is(.how-card, .plan, .card) p { color: var(--on-dark-2); }

/* --- Spotlight: a soft glow follows the pointer across cards (desktop only, set by JS) --- */
.glow-on :is(.how-card, .plan, .support-item, .ceo-cap, .card, .contact-card, .imp-card, .brand-card, .jtl__card, .impact-item, .trust-item)::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .35s;
  background: radial-gradient(360px circle at var(--mx, 50%) var(--my, 50%), rgba(232,185,79,.16), transparent 45%);
}
.glow-on :is(.how-card, .plan, .support-item, .ceo-cap, .card, .contact-card, .imp-card, .brand-card, .jtl__card, .impact-item, .trust-item):hover::after { opacity: 1; }

/* --- Aurora: slow drifting light in dark sections (GPU transform only) --- */
.section--dark, .section--forest { position: relative; isolation: isolate; overflow: hidden; overflow: clip; }
.section--dark::after, .section--forest::after {
  content: ""; position: absolute; inset: -12%; z-index: -1; pointer-events: none;
  background: radial-gradient(32% 30% at 22% 28%, rgba(232,185,79,.13), transparent 70%), radial-gradient(30% 34% at 78% 72%, rgba(61,170,120,.16), transparent 70%), radial-gradient(26% 26% at 62% 18%, rgba(110,150,255,.08), transparent 70%);
  animation: aurora 26s ease-in-out infinite alternate; will-change: transform;
}
.section--forest::after { background: radial-gradient(32% 30% at 20% 30%, rgba(232,185,79,.16), transparent 70%), radial-gradient(30% 34% at 80% 70%, rgba(16,28,44,.45), transparent 70%); }
@keyframes aurora { 0% { transform: translate3d(-4%, -3%, 0) rotate(0deg); } 50% { transform: translate3d(4%, 2%, 0) rotate(8deg); } 100% { transform: translate3d(-2%, 4%, 0) rotate(-6deg); } }

/* --- Hero: gold shimmer on the headline accent + frosted strip behind the four points --- */
.hero .accent { background: linear-gradient(100deg, var(--gold) 0%, var(--gold) 38%, #fff4cf 50%, var(--gold) 62%, var(--gold) 100%); background-size: 260% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: goldShimmer 7s ease-in-out infinite; }
@keyframes goldShimmer { 0%, 30% { background-position: 100% 0; } 70%, 100% { background-position: 0 0; } }
.hero__features { border-radius: 18px; padding: 1.1rem .75rem !important; margin-top: 1.4rem !important; border: 1px solid rgba(255,255,255,.14) !important; background: rgba(11,20,32,.5); box-shadow: var(--glass-hi); }
@media (min-width: 1024px) { .hero__features { background: linear-gradient(145deg, rgba(11,20,32,.62), rgba(11,20,32,.38)); } }
.hero__features li svg { transition: transform .4s var(--ease); }
.hero__features li:hover svg { transform: translateY(-3px) scale(1.08); }

/* --- Images: gentle zoom on hover --- */
@media (hover: hover) { .media-frame img, .card__media img { transition: transform 1.1s var(--ease); } .media-frame:hover img, .card:hover .card__media img { transform: scale(1.045); } }

/* --- Reveal: cards rise with a slight scale --- */
.js [data-reveal]:is(.how-card, .plan, .support-item, .ceo-cap, .card, .imp-card) { transform: translateY(26px) scale(.975); }
.js [data-reveal]:is(.how-card, .plan, .support-item, .ceo-cap, .card, .imp-card).is-visible { transform: none; }

/* --- Lite mode: low-power phones & data saver --- */
html.lite .section--dark::after, html.lite .section--forest::after, html.lite .hero .accent, html.lite .ceo__ring, html.lite .ceo__glow, html.lite .ceo__tools li, html.lite .ceo__facts li::after { animation: none !important; }
html.lite .site-header { -webkit-backdrop-filter: none; backdrop-filter: none; background: rgba(16,28,44,.96); }
html.lite .btn--ghost, html.lite .ceo-float { -webkit-backdrop-filter: none; backdrop-filter: none; }
html.lite .btn::before { display: none; }
@media print { .section--dark::after, .section--forest::after, .site-header::after { display: none; } }

/* ---------- Services: data table (EV charging) ---------- */
.svc-table { margin: 1.25rem 0 0; border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; background: var(--glass-light, #fff); box-shadow: 0 18px 40px -30px rgba(16,28,44,.35); }
.svc-table table { width: 100%; border-collapse: collapse; font-size: var(--fs-sm); }
.svc-table caption { text-align: left; padding: .8rem 1rem; font: 800 var(--fs-sm) var(--font-head); color: #fff; background: linear-gradient(135deg, var(--forest), var(--navy)); }
.svc-table th, .svc-table td { padding: .6rem 1rem; text-align: left; border-top: 1px solid var(--line); vertical-align: top; }
.svc-table thead th { font: 700 .72rem/1.3 var(--font-head); letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); background: var(--paper); border-top: 0; }
.svc-table tbody th { font-weight: 700; color: var(--ink); }
.svc-table tbody tr { transition: background-color .2s; }
.svc-table tbody tr:hover { background: rgba(232,185,79,.08); }
.svc-table td:nth-child(2) { font-weight: 700; color: var(--forest); white-space: nowrap; }
.svc-table__note { margin: 0; padding: .7rem 1rem .85rem; font-size: var(--fs-xs); color: var(--ink-3); border-top: 1px solid var(--line); }
@media (max-width: 600px) {
  .svc-table thead { display: none; }
  .svc-table tbody tr { display: grid; grid-template-columns: 1fr 1fr; gap: .15rem .75rem; padding: .7rem 1rem; border-top: 1px solid var(--line); }
  .svc-table tbody th, .svc-table td { padding: 0; border: 0; }
  .svc-table tbody th { grid-column: 1 / -1; }
  .svc-table td:nth-child(3)::before { content: "Best for: "; color: var(--ink-3); font-weight: 400; }
  .svc-table td:nth-child(4) { grid-column: 1 / -1; color: var(--ink-2); }
  .svc-table td:nth-child(4)::before { content: "20→80%: "; color: var(--ink-3); }
}

/* =====================================================================
   Interactive 3D JA Solar module (JA section). Pure CSS 3D, driven by
   CSS variables that /assets/js/motion-fx.js animates with Motion springs.
   --rx/--rz: rig rotation · --e: 0 assembled → 1 exploded · --shine: glare position
   ===================================================================== */
@property --lift { syntax: "<length>"; inherits: false; initial-value: 0px; }
.p3d { --rx: 56deg; --rz: -32deg; --e: 0; --shine: 50%; --pw: 210px; --ph: 404px; margin: 0; display: grid; gap: .9rem; justify-items: center; }
.p3d__stage { -webkit-user-select: none; user-select: none; position: relative; width: 100%; height: clamp(420px, 46vw, 560px); perspective: 1500px; perspective-origin: 50% 38%; cursor: grab; touch-action: pan-y; outline: none; border-radius: var(--r-lg); background: radial-gradient(60% 55% at 50% 45%, rgba(232,185,79,.10), transparent 70%); }
.p3d__stage:active { cursor: grabbing; }
.p3d__stage:focus-visible { box-shadow: 0 0 0 3px var(--gold); }
.p3d__rig { position: absolute; left: 50%; top: 47%; width: var(--pw); height: var(--ph); margin: calc(var(--ph) / -2) 0 0 calc(var(--pw) / -2); transform-style: preserve-3d; transform: rotateX(var(--rx)) rotateZ(var(--rz)); }
.p3d__layer { position: absolute; inset: 0; transform-style: preserve-3d; transform: translateZ(calc(var(--z) * (6px + var(--e) * 96px))); border-radius: 4px; }
/* backsheet */
.p3d__back { background: linear-gradient(160deg, #f2f4f6, #d9dee4); box-shadow: 0 0 0 1px rgba(16,28,44,.25); }
.p3d__jbox { position: absolute; left: 50%; top: 10%; width: 44px; height: 30px; margin-left: -22px; border-radius: 4px; background: linear-gradient(180deg, #2a2f36, #15181c); box-shadow: inset 0 1px 0 rgba(255,255,255,.15); }
.p3d__cable { position: absolute; top: calc(10% + 30px); width: 4px; height: 70px; border-radius: 2px; background: #1b1e22; }
.p3d__cable--a { left: calc(50% - 14px); transform: rotate(8deg); transform-origin: top; } .p3d__cable--b { left: calc(50% + 10px); transform: rotate(-8deg); transform-origin: top; }
.p3d__plate { position: absolute; left: 50%; bottom: 14%; width: 96px; margin-left: -48px; padding: 7px 8px; border-radius: 3px; background: #fff; box-shadow: 0 0 0 1px rgba(16,28,44,.15); display: grid; gap: 4px; }
.p3d__plate b { font: 800 9px/1 var(--font-head); color: #1f3a8a; letter-spacing: .06em; }
.p3d__plate i { display: block; height: 3px; border-radius: 2px; background: #c8cfd8; } .p3d__plate i:nth-child(3) { width: 70%; } .p3d__plate i:nth-child(4) { width: 85%; }
/* cells: 6 × 24 half-cut cells in two halves */
.p3d__cells { padding: 9px; display: grid; grid-template-rows: 1fr 1fr; gap: 5px; background: #e6ebf0; }
.p3d__half { border-radius: 1px; background:
  linear-gradient(90deg, transparent 0 calc(100% - 2px), #e6ebf0 calc(100% - 2px)),
  linear-gradient(0deg, #e6ebf0 0 2px, transparent 2px),
  linear-gradient(90deg, transparent 23.5%, rgba(214,222,232,.8) 23.5% 25%, transparent 25% 48.5%, rgba(214,222,232,.8) 48.5% 50%, transparent 50% 73.5%, rgba(214,222,232,.8) 73.5% 75%, transparent 75%),
  linear-gradient(160deg, #23376a, #111b36);
  background-size: calc(100% / 6) calc(100% / 12); position: relative; overflow: hidden; }
.p3d__half::after { content: ""; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(120,160,255,.18), transparent 45%, rgba(0,0,0,.18)); }
/* frame with real thickness */
.p3d__frame { border: 8px solid; border-color: #e3e6ea #a9b0b9 #9198a2 #cdd2d8; border-radius: 4px; box-shadow: inset 0 0 0 1px rgba(0,0,0,.25), 0 0 0 1px rgba(255,255,255,.35); }
.p3d__edge { position: absolute; background: linear-gradient(90deg, #8f969f, #d4d8dd 40%, #a7aeb7); }
.p3d__edge--t, .p3d__edge--b { left: -8px; right: -8px; height: 18px; }
.p3d__edge--t { top: -8px; transform-origin: top; transform: rotateX(90deg); }
.p3d__edge--b { bottom: -8px; transform-origin: bottom; transform: rotateX(-90deg); }
.p3d__edge--l, .p3d__edge--r { top: -8px; bottom: -8px; width: 18px; background: linear-gradient(180deg, #8f969f, #c9ced4 50%, #8f969f); }
.p3d__edge--l { left: -8px; transform-origin: left; transform: rotateY(-90deg); }
.p3d__edge--r { right: -8px; transform-origin: right; transform: rotateY(90deg); }
/* glass with moving glare */
.p3d__glass { background: linear-gradient(160deg, rgba(255,255,255,.10), rgba(255,255,255,.02)); box-shadow: inset 0 0 0 1px rgba(255,255,255,.35); }
.p3d__shine { position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(115deg, transparent 32%, rgba(255,255,255,.42) 46%, rgba(255,255,255,.10) 53%, transparent 62%); background-size: 320% 100%; background-position: var(--shine) 0; }
/* labels face the viewer (counter-rotated) and fade in as the panel separates */
.p3d__tag { position: absolute; left: 100%; white-space: nowrap; transform-origin: left center; transform: translateX(34px) rotateZ(calc(-1 * var(--rz))) rotateX(calc(-1 * var(--rx))) translateZ(70px); opacity: calc((var(--e) - .45) * 3); display: inline-flex; align-items: center; gap: .5rem; font: 700 .8rem/1 var(--font-head); color: #fff; padding: .45rem .7rem; border-radius: 999px; background: rgba(11,20,32,.78); border: 1px solid rgba(232,185,79,.55); pointer-events: none; }
.p3d__tag::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); flex: none; }
.p3d__tag--glass { top: 8%; } .p3d__tag--frame { top: 30%; } .p3d__tag--cells { top: 52%; } .p3d__tag--back { top: 74%; }
.p3d__shadow { position: absolute; left: 50%; top: 66%; width: 320px; height: 120px; margin-left: -160px; border-radius: 50%; background: radial-gradient(closest-side, rgba(0,0,0,.55), transparent); transform: scale(calc(1 + var(--e) * .25)); opacity: calc(.8 - var(--e) * .3); filter: blur(4px); }
.p3d__controls { display: flex; align-items: center; gap: 1rem; }
.p3d__btn { min-height: 44px; padding: .55rem 1.1rem; border-radius: 999px; border: 1px solid rgba(232,185,79,.6); background: rgba(255,255,255,.06); color: #fff; font: 700 var(--fs-sm) var(--font-head); cursor: pointer; transition: background-color .2s, transform .2s var(--ease); }
.p3d__btn:hover { background: rgba(232,185,79,.18); }
.p3d__btn:active { transform: scale(.97); }
.p3d__hint { font-size: var(--fs-xs); color: var(--on-dark-2); }
.p3d figcaption { font-size: var(--fs-xs); color: var(--on-dark-2); text-align: center; max-width: 42ch; }
@media (max-width: 720px) { .p3d { --pw: 150px; --ph: 290px; } .p3d__stage { height: 400px; } .p3d__tag { font-size: .7rem; padding: .35rem .55rem; } .p3d__shadow { width: 230px; margin-left: -115px; } }
@media (max-width: 480px) { .p3d { --pw: 128px; --ph: 248px; } .p3d__rig { left: 38%; } .p3d__shadow { left: 38%; } .p3d__stage { height: 360px; } .p3d__tag { font-size: .64rem; transform: translateX(18px) rotateZ(calc(-1 * var(--rz))) rotateX(calc(-1 * var(--rx))) translateZ(70px); } .p3d__x { display: none; } }

/* 3D tilt on cards (desktop pointer; JS adds .is-tilting while the pointer is over a card) */
html.tilt-on .is-tilting { transform: perspective(900px) rotateX(var(--tx, 0deg)) rotateY(var(--ty, 0deg)) translateY(-5px) !important; transition: box-shadow .45s var(--ease) !important; }

/* Clean-up: browser surfaces in brand colours */
::selection { background: rgba(232,185,79,.85); color: var(--navy); }
html { caret-color: var(--forest); scrollbar-color: var(--forest) var(--paper); }
@media (hover: hover) { ::-webkit-scrollbar { width: 12px; } ::-webkit-scrollbar-track { background: var(--paper); } ::-webkit-scrollbar-thumb { background: var(--forest); border-radius: 8px; border: 3px solid var(--paper); } ::-webkit-scrollbar-thumb:hover { background: var(--forest-500); } }

/* ==========================================================================
   Home: premium layer (taste skill pass, 13 Oct 2026). Scoped to .page-home.
   Fewer, calmer moves: lighter display type, more air, tinted shadows
   instead of glows, a bento for services and image tiles for projects.
   ========================================================================== */
.page-home { --section: clamp(4.5rem, 3rem + 7vw, 10rem); }
.page-home h2 { font-weight: 700; letter-spacing: -0.04em; line-height: 1.04; }
.page-home .section-head p, .page-home .lead { max-width: 56ch; }

/* Hero: one moment, four elements */
.page-home .hero--port h1 { font-size: clamp(2.3rem, 1.3rem + 3.2vw, 4.15rem); font-weight: 700; letter-spacing: -0.045em; line-height: 1.02; max-width: 16ch; margin-bottom: 1.25rem; }
.page-home .hero--port .hero__lead { max-width: 44ch; color: rgba(255,255,255,.8); margin-bottom: 2rem; }
.page-home .hero--port { min-height: min(92vh, 900px); padding-bottom: 4rem; display: flex; align-items: center; }
.page-home .hero--port > .container { width: 100%; }

/* Buttons: no gold glow, a tinted shadow and a fine edge */
.page-home .btn:not(.btn--ghost):not(.btn--outline):not(.btn--dark) { box-shadow: var(--glass-hi), 0 8px 18px -12px rgba(16,28,44,.55); }
.page-home .btn:hover { box-shadow: var(--glass-hi), 0 14px 26px -14px rgba(16,28,44,.6); }
.page-home .btn--dark:hover { box-shadow: 0 14px 26px -14px rgba(16,28,44,.6); }

/* Credentials band: continuation of the hero */
.creds { background: var(--navy-800); color: #fff; border-top: 1px solid rgba(255,255,255,.08); }
.creds__list { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.creds__item, .creds__item > a { display: flex; align-items: center; gap: .9rem; text-decoration: none; color: inherit; }
.creds__item { padding: 1.35rem .9rem; border-top: 1px solid rgba(255,255,255,.08); min-width: 0; }
.creds__item:nth-child(-n+2) { border-top: 0; }
.creds__item:nth-child(even) { border-left: 1px solid rgba(255,255,255,.08); }
.creds__item > a { width: 100%; }
.creds__item svg { width: 26px; height: 26px; color: var(--gold); flex: none; stroke-width: 1.5; }
.creds__mark { font: 800 1.35rem/1 var(--font-head); color: #fff; flex: none; }
.creds__mark.hb-name--ja { font-weight: 500; } .creds__mark.hb-name--ja b { font-weight: 900; letter-spacing: -.02em; }
.creds__mark.hb-name--aiko { letter-spacing: .14em; }
.creds__txt { font-size: var(--fs-xs); line-height: 1.35; color: var(--on-dark-2); min-width: 0; }
.creds__txt strong { display: block; font: 700 var(--fs-sm)/1.3 var(--font-head); color: #fff; }
.creds__item > a:hover .creds__txt { color: #fff; }
@media (min-width: 1024px) {
  .creds__list { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .creds__item { border-top: 0; padding: 1.6rem 1.5rem; }
  .creds__item:first-child { padding-left: 0; }
  .creds__item + .creds__item { border-left: 1px solid rgba(255,255,255,.08); }
}
@media (max-width: 479px) { .creds__item { flex-direction: column; align-items: flex-start; gap: .5rem; } .creds__item > a { flex-direction: column; align-items: flex-start; gap: .5rem; } }

/* Services bento */
.svc-bento { display: grid; gap: 1rem; grid-template-columns: 1fr; }
.sb { position: relative; display: flex; flex-direction: column; border-radius: var(--r-lg); overflow: hidden; background: var(--glass-light); box-shadow: 0 1px 0 rgba(255,255,255,.9) inset, 0 0 0 1px var(--line), 0 18px 40px -30px rgba(16,28,44,.4); transition: transform .45s var(--ease), box-shadow .45s var(--ease); }
.sb__media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--sage-200); }
.sb__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.sb__body { padding: 1.5rem; display: flex; flex-direction: column; gap: .45rem; flex: 1; }
.sb__body h3 { font-size: 1.2rem; margin: 0; letter-spacing: -.02em; }
.sb__body p { margin: 0; font-size: var(--fs-sm); color: var(--ink-2); }
.sb__body .link-arrow { margin-top: auto; padding-top: .6rem; }
.sb__tag { font: 700 .7rem/1 var(--font-head); letter-spacing: .14em; text-transform: uppercase; color: var(--forest-500); }
.sb__icon { margin: 1.5rem 1.5rem 0; width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--forest); color: var(--gold); }
.sb__icon svg { width: 24px; height: 24px; }
@media (hover: hover) {
  .sb:hover { transform: translateY(-4px); box-shadow: 0 1px 0 rgba(255,255,255,.9) inset, 0 0 0 1px rgba(18,59,42,.22), 0 28px 50px -30px rgba(16,28,44,.5); }
  .sb:hover .sb__media img { transform: scale(1.05); }
  .sb:hover .link-arrow .arrow { transform: translateX(5px); }
}
/* The lead tile: full-bleed photo, copy on a scrim */
.sb--1 { color: #fff; min-height: 420px; background: var(--navy); }
.sb--1 .sb__media { position: absolute; inset: 0; aspect-ratio: auto; }
.sb--1 .sb__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11,20,32,0) 30%, rgba(11,20,32,.55) 58%, rgba(11,20,32,.92) 100%); }
.sb--1 .sb__body { position: relative; justify-content: flex-end; padding: clamp(1.5rem, 1rem + 1.6vw, 2.4rem); }
.sb--1 .sb__body h3 { font-size: clamp(1.5rem, 1.1rem + 1.2vw, 2.2rem); color: #fff; }
.sb--1 .sb__body p { color: rgba(255,255,255,.82); font-size: var(--fs-md); max-width: 42ch; }
.sb--1 .sb__tag { color: var(--gold); }
.sb--1 .sb__body .link-arrow { margin-top: .6rem; color: #fff; }
@media (min-width: 640px) {
  .svc-bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sb--1 { grid-column: 1 / -1; min-height: 460px; }
}
@media (min-width: 1024px) {
  .svc-bento { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.25rem; }
  .sb--1 { grid-column: 1 / 3; grid-row: 1 / 3; min-height: 0; }
  .sb--2, .sb--3 { grid-column: 3 / 5; flex-direction: row; }
  .sb--2 .sb__media, .sb--3 .sb__media { aspect-ratio: auto; flex: 0 0 44%; }
  .sb--2 .sb__body, .sb--3 .sb__body { padding: 1.6rem; }
}

/* Project tiles */
.proj-tiles { display: grid; gap: 1rem; }
.pt { position: relative; isolation: isolate; overflow: hidden; border-radius: var(--r-lg); min-height: 380px; display: flex; align-items: flex-end; background: linear-gradient(150deg, var(--forest-500), var(--navy)); color: #fff; }
.pt > picture, .pt > img { position: absolute; inset: 0; z-index: -2; }
.pt > picture img, .pt > img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.pt::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(11,20,32,0) 25%, rgba(11,20,32,.6) 60%, rgba(11,20,32,.93) 100%); }
.pt__body { padding: clamp(1.4rem, 1rem + 1.2vw, 2rem); display: grid; gap: .45rem; }
.pt__body h3 { margin: 0; color: #fff; font-size: clamp(1.25rem, 1.05rem + .7vw, 1.65rem); letter-spacing: -.025em; }
.pt__body p { margin: 0; color: rgba(255,255,255,.8); font-size: var(--fs-sm); max-width: 40ch; }
.pt__body .link-arrow { color: #fff; margin-top: .35rem; }
.pt__tag { font: 700 .7rem/1 var(--font-head); letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.pt__icon { position: absolute; top: 1.5rem; left: 1.5rem; width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: rgba(255,255,255,.1); color: var(--gold); }
.pt__icon svg { width: 24px; height: 24px; }
@media (hover: hover) { .pt:hover > picture img, .pt:hover > img { transform: scale(1.05); } .pt:hover .link-arrow .arrow { transform: translateX(5px); } }
@media (min-width: 768px) { .proj-tiles { grid-template-columns: 1.6fr 1fr 1fr; } .pt { min-height: 480px; } }

/* Testimonials: one featured quote, the rest compact */
.t-title { margin-bottom: clamp(2rem, 1.4rem + 2vw, 3.5rem); max-width: 18ch; }
.t-layout { display: grid; gap: 1rem; }
.tq { margin: 0; display: flex; flex-direction: column; gap: 1rem; padding: 1.5rem; border-radius: var(--r-lg); background: var(--glass-light); box-shadow: 0 1px 0 rgba(255,255,255,.9) inset, 0 0 0 1px var(--line), 0 18px 40px -30px rgba(16,28,44,.35); }
.tq blockquote { margin: 0; } .tq blockquote p { margin: 0; color: var(--ink); line-height: 1.6; }
.tq figcaption { display: flex; align-items: center; gap: .8rem; margin-top: auto; }
.tq .who strong { display: block; font: 700 1rem/1.3 var(--font-head); }
.tq .who span { font-size: var(--fs-xs); color: var(--ink-3); }
.tq--lead { background: var(--forest); color: #fff; box-shadow: 0 30px 60px -36px rgba(13,44,31,.7); padding: clamp(1.75rem, 1rem + 2.5vw, 3rem); }
.tq--lead blockquote p { color: #fff; font: 600 clamp(1.3rem, 1rem + 1.2vw, 1.9rem)/1.35 var(--font-head); letter-spacing: -.02em; }
.tq__mark { width: 40px; height: 40px; color: var(--gold); }
.tq--lead .who span { color: var(--on-dark-2); }
.tq--lead .avatar { background: rgba(255,255,255,.12); }
@media (min-width: 900px) {
  .t-layout { grid-template-columns: 1.35fr 1fr; grid-template-rows: repeat(3, auto); }
  .tq--lead { grid-row: 1 / 4; justify-content: space-between; }
  .tq:not(.tq--lead) { padding: 1.25rem 1.5rem; }
  .tq:not(.tq--lead) blockquote p { font-size: var(--fs-sm); }
}
.page-home .hero--port h1 { font-size: clamp(2.2rem, 1.2rem + 2.7vw, 3.75rem); max-width: none; text-wrap: balance; }
@media (min-width: 1024px) { .page-home .hero--port .container { grid-template-columns: minmax(0, 780px); } }
/* keep the video pause control clear of the floating chat button */
.page-home .hero__videobar { right: auto; left: max(var(--gutter), calc((100% - var(--maxw)) / 2 + var(--gutter))); flex-direction: row-reverse; }
@media (max-width: 639px) {
  .sb--1 .sb__media::after { background: linear-gradient(180deg, rgba(11,20,32,.1) 0%, rgba(11,20,32,.6) 40%, rgba(11,20,32,.94) 100%); }
  .pt { min-height: 320px; }
}
/* Fix: the pointer glow (::after, position:absolute) needs each card to be its own positioning box.
   Without this it anchored to the section container, spilling outside the rounded panel and jumping on hover. */
:is(.impact-item, .brand-card, .contact-card, .jtl__card, .imp-card) { position: relative; }

/* Real photos (13 Oct 2026) */
.brand-card__photo { margin: calc(-1 * clamp(1.25rem, 1rem + 1.5vw, 2rem)); margin-bottom: .6rem; aspect-ratio: 16 / 9; overflow: hidden; border-radius: calc(var(--r-lg) - 4px) calc(var(--r-lg) - 4px) 0 0; background: var(--navy); }
.brand-card__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 12%; transition: transform 1.1s var(--ease); }
@media (hover: hover) { .brand-card:hover .brand-card__photo img { transform: scale(1.04); } }
.visit-title { margin-bottom: clamp(1.5rem, 1rem + 1.5vw, 2.5rem); }
.visit-grid { display: grid; gap: 1rem; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.visit { position: relative; margin: 0; border-radius: var(--r-lg); overflow: hidden; background: var(--sage); aspect-ratio: 4 / 5; }
.visit--wide, .visit:nth-child(2) { grid-column: 1 / -1; aspect-ratio: 16 / 10; }
.visit img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.visit figcaption { position: absolute; left: .75rem; bottom: .75rem; padding: .35rem .7rem; border-radius: 999px; background: rgba(11,20,32,.72); color: #fff; font: 600 var(--fs-xs)/1.2 var(--font-head); }
@media (hover: hover) { .visit:hover img { transform: scale(1.04); } }
@media (min-width: 900px) {
  .visit-grid { grid-template-columns: 1.45fr 1fr 1fr; grid-template-rows: auto auto; }
  .visit--wide { grid-column: 1; grid-row: 1 / 3; aspect-ratio: auto; min-height: 560px; }
  .visit:nth-child(2) { grid-column: 2 / 4; aspect-ratio: 16 / 9; }
  .visit:nth-child(3), .visit:nth-child(4) { aspect-ratio: 4 / 5; }
}
.page-contact .page-hero__media img { object-position: 60% 40%; }
.page-support .page-hero__media img { object-position: 50% 22%; }
.visit::after { content: ""; position: absolute; inset: 55% 0 0; background: linear-gradient(180deg, rgba(11,20,32,0), rgba(11,20,32,.7)); pointer-events: none; }
.visit figcaption { z-index: 1; left: 1rem; bottom: .9rem; padding: 0; background: none; font-size: var(--fs-sm); }
/* visit gallery v2: storefront wide, reception tall, showroom + office below */
.visit-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.visit, .visit:nth-child(2), .visit:nth-child(3), .visit:nth-child(4) { grid-column: auto; grid-row: auto; aspect-ratio: 4 / 3; min-height: 0; }
.visit--wide { grid-column: 1 / -1 !important; aspect-ratio: 4 / 3 !important; }
.visit--wide img { object-position: 40% 30%; }
.visit--tall { aspect-ratio: 3 / 4 !important; }
@media (min-width: 900px) {
  .visit-grid { grid-template-columns: 1fr 1fr 1fr; grid-template-rows: auto auto; }
  .visit--wide { grid-column: 1 / 3 !important; grid-row: 1; aspect-ratio: 16 / 10 !important; }
  .visit--tall { grid-column: 3; grid-row: 1 / 3; aspect-ratio: auto !important; }
  .visit:nth-child(3) { grid-column: 1; grid-row: 2; }
  .visit:nth-child(4) { grid-column: 2; grid-row: 2; }
}
.brand-card__photo { aspect-ratio: 16 / 11; }
.brand-card__photo img { object-position: 50% 0%; }
.visit-grid > .visit--tall { aspect-ratio: 4 / 3 !important; }
.visit-grid > .visit:last-child:nth-child(4) { grid-column: 1 / -1; aspect-ratio: 16 / 10; }
@media (min-width: 900px) {
  .visit-grid > .visit--tall { grid-column: 3; grid-row: 1 / 3; aspect-ratio: auto !important; }
  .visit-grid > .visit:last-child:nth-child(4) { grid-column: 2; grid-row: 2; aspect-ratio: 4 / 3; }
}

/* Brand cards: full-panel product shot beside the copy (13 Oct 2026 v2) */
.brand-card__photo { margin: calc(-1 * clamp(1.25rem, 1rem + 1.5vw, 2rem)); margin-bottom: .75rem; aspect-ratio: auto; height: 380px; border-radius: calc(var(--r-lg) - 4px) calc(var(--r-lg) - 4px) 0 0; background: linear-gradient(180deg, #eceef3, #d6dbe2); }
.brand-card__photo img { object-fit: contain; object-position: 50% 50%; padding: .75rem 0 0; }
@media (hover: hover) { .brand-card:hover .brand-card__photo img { transform: scale(1.025); } }
@media (min-width: 640px) {
  .brand-card:has(.brand-card__photo) { display: grid; grid-template-columns: minmax(150px, 38%) 1fr; column-gap: clamp(1.25rem, 1rem + 1.5vw, 2rem); align-content: start; }
  .brand-card:has(.brand-card__photo) > :not(.brand-card__photo) { grid-column: 2; }
  .brand-card__photo { grid-column: 1; grid-row: 1 / span 6; height: auto; min-height: 100%; margin: calc(-1 * clamp(1.25rem, 1rem + 1.5vw, 2rem)) 0 calc(-1 * clamp(1.25rem, 1rem + 1.5vw, 2rem)) calc(-1 * clamp(1.25rem, 1rem + 1.5vw, 2rem)); border-radius: calc(var(--r-lg) - 4px) 0 0 calc(var(--r-lg) - 1px); }
  .brand-card__photo img { padding: .6rem 0; }
  .brand-card:has(.brand-card__photo) .btn-row { align-self: end; }
}

/* Home: tighter rhythm after the 13 MW+ footprint band */
.page-home .fp-teaser { padding-bottom: 0; }
.page-home .fp-teaser + .section { padding-top: clamp(3rem, 2rem + 3vw, 5rem); }

/* Testimonials: minimal (no cards, no avatars, no titles) */
.t-min__title { margin-bottom: clamp(2rem, 1.4rem + 2vw, 3.25rem); }
.t-min__grid { display: grid; gap: 2rem 3rem; }
.t-min__item { margin: 0; padding-top: 1.25rem; border-top: 1px solid var(--line); display: grid; gap: .9rem; align-content: start; }
.t-min__item blockquote { margin: 0; }
.t-min__item blockquote p { margin: 0; font: 500 clamp(1.05rem, .95rem + .4vw, 1.25rem)/1.5 var(--font-head); letter-spacing: -.01em; color: var(--ink); }
.t-min__item figcaption { font-size: var(--fs-sm); font-weight: 600; color: var(--forest-500); }
@media (min-width: 768px) { .t-min__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 640px) {
  .brand-card:has(.brand-card__photo) { display: flex; padding-left: calc(38% + clamp(1.25rem, 1rem + 1.5vw, 2rem)); min-height: 440px; overflow: hidden; }
  .brand-card:has(.brand-card__photo) > .brand-card__photo { position: absolute; top: 0; bottom: 0; left: 0; width: 38%; height: auto; min-height: 0; margin: 0; border-radius: 0; }
}
.brand-card__photo { background: linear-gradient(180deg, rgb(236,239,243), rgb(214,219,226)); }
.brand-card__photo img { padding: 0 !important; object-fit: contain; }
@media (min-width: 640px) { .brand-card:has(.brand-card__photo) > .brand-card__photo img { object-fit: cover; object-position: 50% 50%; } }
@media (max-width: 639px) { .brand-card__photo { height: 440px; } }
@media (min-width: 640px) { .brand-card:has(.brand-card__photo) > .brand-card__photo img { object-fit: contain; padding: 0 .4rem !important; } }

/* Google reviews (home) */
.greviews { background: var(--sage); }
.greviews__layout { display: grid; gap: 2.5rem; align-items: start; }
.gr-summary h2 { margin-bottom: 1.5rem; max-width: 14ch; }
.gr-score { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.75rem; }
.gr-score > strong { font: 800 clamp(3.4rem, 2.6rem + 2.6vw, 4.8rem)/1 var(--font-head); letter-spacing: -.05em; color: var(--forest); }
.gr-score > div { display: grid; gap: .35rem; }
.gr-count { font-size: var(--fs-sm); color: var(--ink-2); }
.gr-stars { display: inline-flex; gap: 2px; color: #f4b400; }
.gr-stars svg { width: 16px; height: 16px; }
.gr-stars--lg svg { width: 22px; height: 22px; }
.gr-note { margin: 1rem 0 0; font-size: var(--fs-xs); color: var(--ink-3); max-width: 34ch; }
.gr-list { columns: 1; column-gap: 1rem; }
.gr-card { break-inside: avoid; margin: 0 0 1rem; padding: 1.5rem; border-radius: var(--r-lg); background: var(--white); box-shadow: 0 0 0 1px var(--line), 0 18px 40px -30px rgba(16,28,44,.35); display: grid; gap: .9rem; transition: transform .45s var(--ease), box-shadow .45s var(--ease); }
.gr-card blockquote { margin: 0; }
.gr-card blockquote p { margin: 0; color: var(--ink); line-height: 1.6; }
.gr-card--lead { background: var(--forest); box-shadow: 0 30px 60px -36px rgba(13,44,31,.7); }
.gr-card--lead blockquote p { color: #fff; font: 500 clamp(1.05rem, .95rem + .4vw, 1.2rem)/1.55 var(--font-head); }
.gr-card--lead .gr-who strong { color: #fff; } .gr-card--lead .gr-who span { color: var(--on-dark-2); }
.gr-card--lead .gr-avatar { background: rgba(255,255,255,.14); color: var(--gold); }
.gr-card figcaption { display: flex; align-items: center; gap: .7rem; }
.gr-avatar { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--sage); color: var(--forest); font: 800 .95rem/1 var(--font-head); flex: none; }
.gr-who strong { display: block; font: 700 .95rem/1.3 var(--font-head); color: var(--ink); }
.gr-who span { font-size: var(--fs-xs); color: var(--ink-3); }
@media (hover: hover) { .gr-card:hover { transform: translateY(-4px); box-shadow: 0 0 0 1px rgba(18,59,42,.2), 0 28px 50px -30px rgba(16,28,44,.45); } }
@media (min-width: 700px) { .gr-list { columns: 2; } }
@media (min-width: 1024px) {
  .greviews__layout { grid-template-columns: minmax(260px, 1fr) 2fr; gap: 4rem; }
  .gr-summary { position: sticky; top: calc(var(--header-h) + 2rem); }
}

/* ==========================================================================
   Shop (15 Oct 2026): header button, catalogue, product detail, inquiry
   ========================================================================== */
.hq-wrap { position: relative; display: inline-flex; }
.header-shop { display: none; --btn-bg: transparent; --btn-fg: var(--gold); --btn-bd: rgba(232,185,79,.7); gap: .45rem; box-shadow: none !important; background-image: none !important; }
.header-shop svg { width: 17px; height: 17px; }
.header-shop:hover, .header-shop[aria-current="page"] { --btn-bg: var(--gold); --btn-fg: var(--navy); --btn-bd: var(--gold); }
@media (min-width: 1024px) { .header-shop { display: inline-flex; } .header-actions { display: flex; align-items: center; gap: .6rem; } }
.shop-count { display: none; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; background: var(--gold); color: var(--navy); font: 800 .72rem/20px var(--font-head); text-align: center; }
.shop-count.is-on { display: inline-block; }
.header-shop:hover .shop-count, .header-shop[aria-current="page"] .shop-count { background: var(--navy); color: var(--gold); }

.shop-hero { background: var(--navy); color: #fff; padding: calc(var(--header-h) + clamp(2rem, 1.5rem + 2vw, 3.5rem)) 0 clamp(2rem, 1.5rem + 2vw, 3rem); }
.shop-hero .breadcrumb { margin-bottom: 1rem; }
.shop-hero h1 { font-size: clamp(2.2rem, 1.5rem + 2.6vw, 3.6rem); margin-bottom: .6rem; }
.shop-hero .lead { color: var(--on-dark-2); max-width: 58ch; margin: 0; }
.shop-hero__row { display: flex; flex-wrap: wrap; gap: 1.5rem; align-items: flex-end; justify-content: space-between; }
.shop-cart-btn { --btn-bg: var(--gold); --btn-fg: var(--navy); --btn-bd: var(--gold); }
.shop-cart-btn .shop-count { background: var(--navy); color: var(--gold); }

.shop-tools { display: grid; gap: 1rem; padding: 1rem; border-radius: var(--r-lg); background: var(--white); box-shadow: 0 0 0 1px var(--line), 0 18px 40px -32px rgba(16,28,44,.4); }
.shop-search { position: relative; }
.shop-search svg { position: absolute; left: 1rem; top: 50%; translate: 0 -50%; width: 18px; height: 18px; color: var(--ink-3); }
.shop-search input { width: 100%; min-height: 48px; padding: .7rem 1rem .7rem 2.75rem; border: 1px solid var(--line); border-radius: 999px; background: var(--paper); }
.shop-search input:focus { outline: 3px solid var(--gold); outline-offset: 1px; }
.shop-chips { border: 0; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .4rem; align-items: center; }
.shop-chips legend { float: left; margin-right: .5rem; font: 700 var(--fs-xs)/2.6 var(--font-head); color: var(--ink-2); }
.shop-chips label { position: relative; }
.shop-chips input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.shop-chips span { display: inline-flex; align-items: center; min-height: 40px; padding: 0 .95rem; border-radius: 999px; border: 1px solid var(--line); font: 600 var(--fs-sm)/1 var(--font-head); color: var(--ink); background: var(--white); transition: background-color .2s, color .2s, border-color .2s; }
.shop-chips input:checked + span { background: var(--forest); border-color: var(--forest); color: #fff; }
.shop-chips input:focus-visible + span { outline: 3px solid var(--gold); outline-offset: 2px; }
@media (min-width: 1024px) { .shop-tools { grid-template-columns: minmax(260px, 1fr) auto auto; align-items: center; } }
.shop-result { margin: 1.25rem 0 1rem; font-size: var(--fs-sm); color: var(--ink-2); }

.shop-grid { list-style: none; display: grid; gap: 1.25rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .shop-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .shop-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.pc { display: flex; flex-direction: column; border-radius: var(--r-lg); overflow: hidden; background: var(--white); box-shadow: 0 0 0 1px var(--line), 0 18px 40px -32px rgba(16,28,44,.4); transition: box-shadow .4s var(--ease), transform .4s var(--ease); }
.pc[hidden] { display: none; }
@media (hover: hover) { .pc:hover { transform: translateY(-3px); box-shadow: 0 0 0 1px rgba(18,59,42,.22), 0 26px 50px -30px rgba(16,28,44,.45); } }
.pc__media { display: block; width: 100%; padding: 0; border: 0; cursor: zoom-in; aspect-ratio: 4 / 5; background: linear-gradient(180deg, rgb(236,239,243), rgb(214,219,226)); overflow: hidden; }
.pc__media img { width: 100%; height: 100%; object-fit: contain; transition: transform .8s var(--ease); }
@media (hover: hover) { .pc:hover .pc__media img { transform: scale(1.03); } }
.pc__imgnote { margin: 0; padding: .45rem 1.25rem; font-size: .75rem; color: var(--ink-3); border-bottom: 1px solid var(--line); display: flex; align-items: center; gap: .35rem; }
.pc__imgnote svg { width: 14px; height: 14px; color: var(--forest-500); }
.pc__body { padding: 1.25rem; display: flex; flex-direction: column; gap: .55rem; flex: 1; }
.pc__brand { margin: 0; font: 700 .72rem/1 var(--font-head); letter-spacing: .12em; text-transform: uppercase; color: var(--forest-500); }
.pc__title { margin: 0; font-size: 1.15rem; line-height: 1.25; letter-spacing: -.015em; }
.pc__title button { all: unset; cursor: pointer; }
.pc__title button:hover { text-decoration: underline; text-underline-offset: 3px; }
.pc__title button:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 4px; }
.pc__desc { margin: 0; font-size: var(--fs-sm); color: var(--ink-2); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.pc__meta { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; margin-top: auto; padding-top: .5rem; }
.pc__watt { margin: 0; display: flex; align-items: baseline; gap: .35rem; }
.pc__watt strong { font: 800 1.9rem/1 var(--font-head); letter-spacing: -.03em; color: var(--forest); }
.pc__watt span { font-size: var(--fs-xs); color: var(--ink-3); }
.pc__price { margin: 0; font: 700 var(--fs-xs)/1.3 var(--font-head); color: var(--gold-600); }
.pc__actions { display: flex; gap: .5rem; align-items: center; flex-wrap: wrap; }
.pc__actions .btn { flex: 1; white-space: nowrap; }
.pc__actions .btn svg { width: 16px; height: 16px; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; height: 42px; background: var(--paper); }
.qty button { width: 38px; height: 40px; border: 0; background: none; cursor: pointer; display: grid; place-items: center; color: var(--forest); font: 700 1.1rem/1 var(--font-head); border-radius: 999px; }
.qty button svg { width: 16px; height: 16px; }
.qty button:hover { background: var(--sage); }
.qty input { width: 3.6rem; border: 0; background: none; text-align: center; font: 700 var(--fs-sm)/1 var(--font-head); -moz-appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.pc__wa { display: inline-flex; align-items: center; justify-content: center; gap: .45rem; min-height: 44px; border-radius: 999px; border: 1px solid rgba(37,211,102,.55); color: #128c4a; font: 700 var(--fs-sm)/1 var(--font-head); text-decoration: none; transition: background-color .2s; }
.pc__wa svg { width: 18px; height: 18px; }
.pc__wa:hover { background: rgba(37,211,102,.1); }
.shop-empty { padding: 2rem; text-align: center; color: var(--ink-2); }
.shop-empty .link-arrow { background: none; border: 0; cursor: pointer; font: inherit; color: var(--forest); font-weight: 700; }
.shop-fineprint { margin: 2rem 0 0; font-size: var(--fs-sm); color: var(--ink-3); max-width: 75ch; }

/* dialogs */
.shop-dialog { border: 0; padding: 0; border-radius: var(--r-lg); width: min(960px, calc(100% - 2rem)); max-height: calc(100dvh - 2rem); background: var(--white); color: var(--ink); box-shadow: 0 40px 80px -30px rgba(11,20,32,.55); }
.shop-dialog::backdrop { background: rgba(11,20,32,.55); backdrop-filter: blur(3px); }
.shop-dialog[open] { animation: dlg-in .35s var(--ease); }
@keyframes dlg-in { from { opacity: 0; transform: translateY(14px) scale(.985); } }
html.dlg-open { overflow: hidden; }
.shop-dialog__close { position: absolute; top: .75rem; right: .75rem; z-index: 2; width: 42px; height: 42px; border-radius: 50%; border: 0; background: rgba(255,255,255,.9); box-shadow: 0 0 0 1px var(--line); cursor: pointer; display: grid; place-items: center; }
.shop-dialog__close svg { width: 18px; height: 18px; }
.pd__grid { display: grid; }
.pd__media { margin: 0; background: linear-gradient(180deg, rgb(236,239,243), rgb(214,219,226)); display: grid; grid-template-rows: 1fr auto; }
.pd__media img { width: 100%; max-height: 62vh; object-fit: contain; }
.pd__media figcaption { padding: .6rem 1rem; font-size: .78rem; color: var(--ink-2); background: rgba(255,255,255,.6); }
.pd__body { padding: clamp(1.25rem, 1rem + 1.5vw, 2rem); display: flex; flex-direction: column; gap: .7rem; }
.pd__body h2 { margin: 0; font-size: clamp(1.4rem, 1.1rem + 1vw, 1.9rem); }
.pd__body > p { margin: 0; color: var(--ink-2); }
.pd__h { margin: .5rem 0 0; font-size: 1rem; }
.pd__specs { margin: 0; border-top: 1px solid var(--line); }
.pd__specs div { display: flex; justify-content: space-between; gap: 1rem; padding: .55rem 0; border-bottom: 1px solid var(--line); font-size: var(--fs-sm); }
.pd__specs dt { color: var(--ink-2); } .pd__specs dd { margin: 0; font-weight: 600; text-align: right; }
.pd__src { font-size: .78rem !important; color: var(--ink-3) !important; }
@media (min-width: 800px) { .pd__grid { grid-template-columns: 42% 1fr; } .pd__media img { max-height: none; height: 100%; } }

.cart { width: min(640px, calc(100% - 2rem)); padding: clamp(1.25rem, 1rem + 1.5vw, 2rem); }
.cart h2 { margin: 0 0 1rem; font-size: 1.6rem; }
.cart__empty { color: var(--ink-2); }
.cart__list { list-style: none; display: grid; gap: .75rem; margin-bottom: 1.25rem; }
.ci { display: grid; grid-template-columns: 56px 1fr; gap: .4rem .9rem; align-items: center; padding: .75rem; border-radius: var(--r-md); box-shadow: 0 0 0 1px var(--line); }
.ci img { width: 56px; height: 70px; object-fit: contain; border-radius: 8px; background: linear-gradient(180deg, rgb(236,239,243), rgb(214,219,226)); grid-row: span 2; }
.ci__t { display: grid; gap: .15rem; font-size: var(--fs-sm); } .ci__t strong { font-family: var(--font-head); line-height: 1.25; } .ci__t > span:last-child { color: var(--ink-3); font-size: var(--fs-xs); }
.ci .qty { justify-self: start; }
.ci__rm { justify-self: end; grid-column: 2; margin-top: -2.6rem; background: none; border: 0; color: #b42318; font: 600 var(--fs-xs)/1 var(--font-head); cursor: pointer; padding: .5rem; }
.cart__wa { width: 100%; --btn-bg: #25d366; --btn-bd: #25d366; --btn-fg: #08331a; gap: .5rem; }
.cart__wa svg { width: 20px; height: 20px; }
.cart__or { display: flex; align-items: center; gap: .75rem; margin: 1.25rem 0; color: var(--ink-3); font-size: var(--fs-xs); }
.cart__or::before, .cart__or::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.cart .form-grid { margin-bottom: 1rem; }
.field--full { grid-column: 1 / -1; }

.shop-toast { position: fixed; left: 50%; bottom: 1.25rem; translate: -50% 140%; z-index: 80; display: flex; align-items: center; gap: .9rem; max-width: calc(100% - 2rem); padding: .75rem .75rem .75rem 1.1rem; border-radius: 999px; background: var(--navy); color: #fff; font-size: var(--fs-sm); box-shadow: 0 18px 40px -16px rgba(0,0,0,.5); transition: translate .45s var(--ease); }
.shop-toast.is-on { translate: -50% 0; }
.shop-toast button { border: 0; border-radius: 999px; padding: .5rem .9rem; background: var(--gold); color: var(--navy); font: 700 var(--fs-xs)/1 var(--font-head); cursor: pointer; white-space: nowrap; }
@media (min-width: 1024px) {
  .shop-tools { grid-template-columns: minmax(260px, 1fr) auto; }
  .shop-tools .shop-chips:last-child { grid-column: 1 / -1; padding-top: .9rem; border-top: 1px solid var(--line); }
}
.cart__wa { box-shadow: 0 10px 24px -14px rgba(18,140,74,.55) !important; background-image: none !important; }
@media (max-width: 639px) { .pc__media { aspect-ratio: 1 / 1; } }
.pc__title button { display: block; min-height: 28px; width: 100%; }

/* Shop categories (inverters & batteries, 15 Oct 2026) */
.shop-tabs { display: flex; gap: .4rem; margin-top: 2rem; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.shop-tabs::-webkit-scrollbar { display: none; }
.shop-tabs a { flex: none; display: inline-flex; align-items: center; gap: .55rem; min-height: 46px; padding: 0 1.15rem; border-radius: 999px; border: 1px solid rgba(255,255,255,.22); color: #fff; text-decoration: none; font: 700 var(--fs-sm)/1 var(--font-head); transition: background-color .2s, border-color .2s, color .2s; }
.shop-tabs a span { min-width: 24px; height: 22px; padding: 0 7px; border-radius: 999px; background: rgba(255,255,255,.14); font-size: .72rem; line-height: 22px; text-align: center; }
.shop-tabs a:hover { border-color: rgba(255,255,255,.5); }
.shop-tabs a[aria-current="page"] { background: #fff; border-color: #fff; color: var(--navy); }
.shop-tabs a[aria-current="page"] span { background: var(--navy); color: var(--gold); }
.pc__tags { margin: 0; display: flex; flex-wrap: wrap; gap: .35rem; }
.pc__tags span { padding: .25rem .55rem; border-radius: 6px; background: var(--sage); color: var(--forest); font: 600 .72rem/1.2 var(--font-head); }
.pc__watt--sm { font-size: 1.25rem !important; }
.pd__src a { color: var(--forest); }
@media (min-width: 1024px) {
  .shop-tools { grid-template-columns: minmax(260px, 1fr) auto; }
  .shop-tools .shop-chips:last-child { grid-column: 1 / -1; }
  .shop-tools .shop-chips:nth-of-type(2):not(:last-child) { grid-column: 1 / -1; padding-top: .9rem; border-top: 1px solid var(--line); }
}

/* Manufacturer photos in the shop (hotlinked from official sites, with local fallback) */
.pc__media .pc__photo { width: 100%; height: 100%; display: block; }
.pc__photo--contain { object-fit: contain; padding: 9%; mix-blend-mode: multiply; }
.pc__photo--cover { object-fit: cover; }
.pc__photo.is-fb { padding: 0; mix-blend-mode: normal; object-fit: contain; }
.pd__media img.is-cover { object-fit: cover; }
.ci img { mix-blend-mode: multiply; }
.pc__photo--wide { object-fit: contain; padding: 0 2%; mix-blend-mode: multiply; }

/* (33) Customers who trust us: logo tiles + titles, centred last row */
.cust-grid { display: flex; flex-wrap: wrap; justify-content: center; }
.cust-grid > .cust { flex: 0 0 calc((100% - 1rem) / 2); min-width: 0; }
@media (min-width: 720px) { .cust-grid > .cust { flex-basis: calc((100% - 2rem) / 3); } }
@media (min-width: 1024px) { .cust-grid > .cust { flex-basis: calc((100% - 4rem) / 5); } }
@media (max-width: 719px) { .cust:last-child:nth-child(odd) { grid-column: auto; } }
.cust { justify-content: flex-start; min-height: 196px; }
.cust__logo { display: grid; place-items: center; width: 100%; height: 92px; margin-bottom: .35rem; }
.cust .cust__logo img { max-width: 100%; max-height: 84px; width: auto; height: auto; object-fit: contain; filter: saturate(.85); opacity: 1; }
.cust:hover .cust__logo img { filter: none; }
.cust-title { font-family: var(--font-head); font-weight: 700; font-size: .98rem; letter-spacing: -.01em; color: var(--navy); line-height: 1.25; }
.cust--photo { position: relative; overflow: hidden; justify-content: flex-end; color: #fff; border-color: transparent; isolation: isolate; }
.cust--photo .cust__photo { position: absolute; inset: 0; width: 100%; height: 100%; max-height: none; object-fit: cover; filter: none; opacity: 1; z-index: -2; transition: transform .6s var(--ease); }
.cust--photo::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(10,28,22,.86), rgba(10,28,22,.15) 70%); }
.cust--photo:hover .cust__photo { transform: scale(1.05); }
.cust--photo .cust-name { color: #fff; font-size: 1.05rem; }
.cust--photo .cust-sector { color: rgba(255,255,255,.8); }
.cust--text { justify-content: center; }
.cust .cust__logo img { mix-blend-mode: multiply; max-height: 76px; }
.cust .cust__logo img[src$="naveena.webp"] { border-radius: 10px; }
.cust .cust__logo img[src$="mughals.webp"] { border-radius: 10px; }

/* (35) 19 Oct 2026: spacing, home/services cleanup, new photos, teaser, mobile motion */
/* Tighter rhythm: less space above every section, sitewide and on Home */
:root { --section: clamp(3rem, 2.2rem + 3.6vw, 6rem); }
.page-home { --section: clamp(3rem, 2.2rem + 3.6vw, 6rem); }
.section { padding-top: calc(var(--section) * .72); }
.section-head { margin-bottom: clamp(1.5rem, 1.1rem + 1.4vw, 2.5rem); }
.page-home .fp-teaser + .section { padding-top: clamp(2.5rem, 1.8rem + 2.4vw, 4rem); }
@media (max-width: 767px) { .section { padding-top: calc(var(--section) * .62); padding-bottom: calc(var(--section) * .85); } }

/* JA ESS battery photo */
.battery__visual--photo { padding: 0; overflow: hidden; aspect-ratio: 4 / 5; background: #e9e6df; }
.battery__visual--photo picture, .battery__visual--photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; display: block; }
.battery__visual--photo .battery__soon { z-index: 1; }
@media (max-width: 899px) { .battery__visual--photo { aspect-ratio: 1 / 1; max-height: 460px; } }

/* New service photos: keep the subject in frame when cropped */
.sb__media img[src*="ci-rooftop"], .sb__media img[srcset*="ci-rooftop"] { object-position: 30% 40%; }
.sb__media img[src*="res-install"], .sb__media img[srcset*="res-install"] { object-position: 50% 28%; }
.service-detail .ratio-4x5 { max-height: 640px; width: 100%; }

/* Services: compact jump navigation (replaces the overview cards that repeated Home) */
.svc-jump { position: relative; z-index: 2; margin-top: -1.75rem; }
.svc-jump__list { list-style: none; margin: 0; padding: .6rem; display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-md); }
.svc-jump__list a { display: inline-flex; align-items: center; gap: .45rem; min-height: 40px; padding: .45rem .9rem; border-radius: 999px; font-size: var(--fs-sm); font-weight: 600; color: var(--navy); text-decoration: none; transition: background .25s, color .25s; }
.svc-jump__list a:hover, .svc-jump__list a:focus-visible { background: var(--sage-200); color: var(--forest); }
.svc-jump__list svg { width: 18px; height: 18px; color: var(--forest); flex: none; }
.svc-jump__ext { font-size: .68rem; text-transform: uppercase; letter-spacing: .08em; padding: .1rem .45rem; border-radius: 999px; background: var(--gold); color: var(--navy); }
@media (max-width: 719px) { .svc-jump__list { flex-wrap: nowrap; overflow-x: auto; justify-content: flex-start; scrollbar-width: none; -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent); mask-image: linear-gradient(90deg, #000 85%, transparent); } .svc-jump__list::-webkit-scrollbar { display: none; } .svc-jump__list a { white-space: nowrap; } }
.svc-jump + .section { padding-top: clamp(2.5rem, 2rem + 2vw, 4rem); }

/* 13 MW+ teaser: city chips + customer logos */
.fpt-cities { list-style: none; margin: .5rem 0 1rem; padding: 0; display: flex; flex-wrap: wrap; gap: .35rem; }
.fpt-cities li { font-size: .78rem; font-weight: 600; padding: .22rem .6rem; border-radius: 999px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); color: rgba(255,255,255,.88); }
.fpt-trust { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem .9rem; }
.fpt-trust__label { font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: .12em; color: var(--on-dark-2); font-weight: 600; }
.fpt-logos { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: .45rem; }
.fpt-logos li { display: grid; place-items: center; height: 40px; padding: 0 .55rem; border-radius: 10px; background: #fff; }
.fpt-logos img { max-height: 28px; max-width: 84px; width: auto; height: auto; object-fit: contain; }
.fpt-logos__more { background: transparent !important; padding: 0 !important; }
.fpt-logos__more a { color: var(--gold); font-weight: 700; font-size: var(--fs-sm); text-decoration: none; }
.fpt-logos__more a:hover { text-decoration: underline; }

/* Mobile motion: tap feedback on cards and buttons (touch screens have no hover) */
@media (hover: none) and (prefers-reduced-motion: no-preference) {
  .sb, .pc, .cust, .brand-card, .gr-card, .impact-item, .service-detail__media { transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
  .sb:active, .pc:active, .cust:active, .brand-card:active, .gr-card:active, .impact-item:active { transform: scale(.98); }
  .btn:active { transform: scale(.96); }
  .js [data-reveal="left"] { transform: translateX(-22px); }
  .js [data-reveal="right"] { transform: translateX(22px); }
  .js [data-reveal="left"].is-visible, .js [data-reveal="right"].is-visible { transform: none; }
}

/* (36) Projects: real installation gallery (bento) */
.field-grid { display: grid; gap: .9rem; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: clamp(150px, 38vw, 230px); }
.field-tile { position: relative; margin: 0; overflow: hidden; border-radius: var(--r-lg); background: var(--sage-200); isolation: isolate; }
.field-tile picture, .field-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.field-tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(11,20,32,.78)); pointer-events: none; }
.field-tile figcaption { position: absolute; left: 1rem; right: 1rem; bottom: .85rem; z-index: 1; color: #fff; font-family: var(--font-head); font-weight: 700; font-size: .92rem; line-height: 1.25; }
.field-tile--1 { grid-column: 1 / -1; grid-row: span 2; }
.field-tile--2 { grid-row: span 2; }
.field-tile--1 img { object-position: 50% 45%; }
.field-tile--2 img { object-position: 50% 30%; }
.field-tile--3 img { object-position: 45% 40%; }
.field-tile--4 img { object-position: 55% 40%; }
@media (min-width: 900px) {
  .field-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 230px; gap: 1rem; }
  .field-tile--1 { grid-column: 1 / 3; grid-row: 1 / 3; }
  .field-tile--2 { grid-column: 3; grid-row: 1 / 3; }
  .field-tile--3 { grid-column: 4; grid-row: 1; }
  .field-tile--4 { grid-column: 4; grid-row: 2; }
  .field-tile figcaption { font-size: 1rem; }
}
@media (hover: hover) { .field-tile:hover img { transform: scale(1.04); } }
.card__media img[src*="ci-rooftop"], .card__media img[srcset*="ci-rooftop"] { object-position: 30% 40%; }
.card__media img[src*="res-install"], .card__media img[srcset*="res-install"] { object-position: 50% 25%; }
.page-hero__media img[src*="install-solis-commercial"], .page-hero__media img[srcset*="install-solis-commercial"] { object-position: 60% 45%; }
/* (37) BESS photo framing, intro block on Services, Home gap after removing the intro */
.service-detail img[src*="bess-ci"], .service-detail img[srcset*="bess-ci"] { object-position: 28% 55%; }
.service-detail--intro .feature h3 { font-size: 1.05rem; margin: 0 0 .15rem; }
.service-detail--intro .feature-list { margin-block: 1.25rem; }
.page-home .fp-teaser { padding-bottom: clamp(2.5rem, 1.8rem + 2.4vw, 4rem); }
/* (38) Thal Rice photo: keep the location label (top-left) in frame */
.sb__media img[src*="thal-rice-solar"], .sb__media img[srcset*="thal-rice-solar"], .service-detail img[src*="thal-rice-solar"] { object-position: 0% 35%; }
/* (39) Stats beside text: 2x2 so large numbers never spill out; EV photo framing */
.split .stats, .split .stats:has(> .stat:nth-child(2):last-child) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.stat { min-width: 0; }
.stat .value { overflow-wrap: anywhere; }
.card__media img[src*="ev-home-charger"], .card__media img[srcset*="ev-home-charger"] { object-position: 50% 0%; }
.page-hero__media img[src*="thal-rice-hero"], .page-hero__media img[srcset*="thal-rice-hero"] { object-position: 50% 45%; }
/* (40) Support: two service options, centred */
@media (min-width: 960px) { .plan-grid:has(> .plan:nth-child(2):last-child) { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 860px; margin-inline: auto; } }
.form-extra .form-grid { align-items: end; }
.card__media img[src*="agri-tracker"], .card__media img[srcset*="agri-tracker"] { object-position: 50% 40%; }
.card__media img[src*="thal-rice-solar"], .card__media img[srcset*="thal-rice-solar"] { object-position: 0% 0%; }
/* (42) Email in top bar: hidden on small screens where the bar is tight */
@media (max-width: 1099px) { .topbar__email { display: none !important; } }
.footer-contact a[href^="mailto:"], .mm-contact a[href^="mailto:"] { word-break: break-all; }

/* (44) Scroll performance: the 3D panel's layout is isolated from the page; numbers keep a fixed width while counting. */
.p3d__stage { contain: layout size; }
[data-count] { font-variant-numeric: tabular-nums; }

/* (45) Google reviews: max 5 lines with a Read more toggle */
.gr-text { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 5; line-clamp: 5; overflow: hidden; }
.gr-card.is-open .gr-text { display: block; -webkit-line-clamp: unset; line-clamp: none; overflow: visible; }
.gr-more { justify-self: start; margin-top: -.35rem; padding: .35rem 0; min-height: 32px; border: 0; background: none; font: 700 var(--fs-sm)/1.2 var(--font-head); color: var(--forest); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.gr-more:hover { color: var(--gold-600); }
.gr-more:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
.gr-card--lead .gr-more { color: var(--gold); }
.gr-card--lead .gr-more:hover { color: #fff; }
/* (46) Reveals happen before content scrolls in: shorter fade and stagger, so nothing looks like it is "loading" */
.js [data-reveal] { transition-duration: .42s; transition-delay: calc(min(var(--i, 0), 3) * 45ms); }
