/* =====================================================================
   ECOSPHERE — immersive brand site (light theme)
   Brand: deep teal #004552 + leaf green #4BBB7C (from the logo)
   Accents: golden #F5A623, sunny yellow #FFC93C, sky blue #3AA8E8
   ===================================================================== */
:root {
  --bg: #f6fafc;
  --bg-2: #eef6f9;
  --bg-3: #e3f0f5;
  --white: #ffffff;
  --surface: rgba(255, 255, 255, 0.78);
  --line: rgba(0, 69, 82, 0.11);
  --line-2: rgba(0, 69, 82, 0.2);
  --text: #0b2b33;
  --muted: #546d76;
  --dim: #8aa0a8;

  --teal: #004552;
  --teal-2: #0b6b73;
  --leaf: #4bbb7c;
  --leaf-2: #52b238;
  --gold: #f5a623;
  --gold-2: #e8901a;
  --yellow: #ffc93c;
  --sky: #3aa8e8;
  --sky-2: #9bd6fb;

  --grad: linear-gradient(100deg, #0b6b73 0%, #1f9a7e 45%, #4bbb7c 100%);
  --grad-sun: linear-gradient(120deg, #ffd25a 0%, #f5a623 100%);
  --grad-sky: linear-gradient(120deg, #9bd6fb, #3aa8e8);
  --shadow-sm: 0 2px 10px rgba(0, 69, 82, 0.06);
  --shadow: 0 18px 50px -20px rgba(0, 69, 82, 0.28);
  --shadow-lg: 0 30px 80px -30px rgba(0, 69, 82, 0.4);
  --radius: 22px;
  --radius-sm: 14px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --container: 1320px;
  --gutter: clamp(16px, 4vw, 48px);
  --font-display: 'Sora', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --header-h: 84px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--font-body); font-size: 16px; line-height: 1.65;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; line-height: 1.08; margin: 0; letter-spacing: -0.02em; color: var(--teal); }
p { margin: 0 0 1em; }
::selection { background: var(--yellow); color: var(--teal); }
.ico { flex: none; }
:focus-visible { outline: 2px solid var(--sky); outline-offset: 3px; border-radius: 6px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.muted { color: var(--muted); }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.grad-sun { background: linear-gradient(100deg, #e8901a, #f5a623 50%, #ffc93c); -webkit-background-clip: text; background-clip: text; color: transparent; }
.h2 { font-size: clamp(2rem, 4.4vw, 3.6rem); font-weight: 600; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; margin: 0 0 18px;
  font: 600 12px/1 var(--font-display); letter-spacing: 0.22em; text-transform: uppercase; color: var(--teal-2);
}
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px rgba(245, 166, 35, 0.2), 0 0 14px rgba(245, 166, 35, 0.8); }
.glass {
  background: linear-gradient(135deg, rgba(255,255,255,0.88), rgba(255,255,255,0.62));
  border: 1px solid rgba(255, 255, 255, 0.9); box-shadow: var(--shadow);
  backdrop-filter: blur(16px) saturate(1.3); -webkit-backdrop-filter: blur(16px) saturate(1.3);
}

/* ---------- buttons ---------- */
.btn {
  --h: 50px; position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: var(--h); padding: 0 26px; border-radius: 999px; overflow: hidden; isolation: isolate;
  font: 600 14.5px/1 var(--font-display); letter-spacing: 0.01em; white-space: nowrap;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), background 0.3s, color 0.3s, border-color 0.3s;
}
.btn--sm { --h: 42px; padding: 0 20px; font-size: 13.5px; }
.btn--lg { --h: 58px; padding: 0 32px; font-size: 15.5px; }
.btn--sun { background: var(--grad-sun); color: #2b1c02; box-shadow: 0 12px 34px -12px rgba(245, 166, 35, 0.75); }
.btn--sun::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(120deg, #0b6b73, #004552); transform: translateY(101%); transition: transform 0.5s var(--ease); }
.btn--sun:hover::before { transform: translateY(0); }
.btn--sun:hover { color: #fff; box-shadow: 0 14px 40px -12px rgba(0, 69, 82, 0.55); }
.btn--teal { background: var(--teal); color: #fff; box-shadow: 0 12px 30px -12px rgba(0,69,82,0.6); }
.btn--teal:hover { background: var(--teal-2); }
.btn--ghost { border: 1px solid var(--line-2); background: rgba(255,255,255,0.7); color: var(--teal); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.btn--ghost:hover { border-color: var(--gold); background: #fff; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font: 600 13.5px var(--font-display); color: var(--teal-2); }
.link-arrow .ico { transition: transform 0.4s var(--ease); color: var(--gold-2); }
a:hover .link-arrow .ico, .link-arrow:hover .ico { transform: translate(3px, -3px); }
.tag { display: inline-flex; align-items: center; height: 26px; padding: 0 12px; border-radius: 999px; font: 600 11.5px var(--font-display); letter-spacing: 0.06em; text-transform: uppercase; background: rgba(255,255,255,0.9); color: var(--teal); border: 1px solid var(--line); }
.tag--sun { background: var(--yellow); border-color: var(--yellow); color: #3a2800; }
.pill { display: inline-flex; align-items: center; gap: 10px; padding: 12px 20px; border-radius: 999px; font: 500 15px var(--font-display); color: var(--teal); }
.pill em { font-style: normal; font-size: 11px; color: var(--gold-2); letter-spacing: 0.1em; font-weight: 700; }
.round-btn { width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--line-2); background: #fff; color: var(--teal); display: grid; place-items: center; font-size: 18px; transition: 0.3s; }
.round-btn:hover { background: var(--gold); color: #fff; border-color: var(--gold); }

/* ---------- custom cursor ---------- */
.cursor { position: fixed; inset: 0; pointer-events: none; z-index: 9999; display: none; }
.has-cursor .cursor { display: block; }
.cursor__dot, .cursor__ring { position: fixed; top: 0; left: 0; border-radius: 50%; will-change: transform; }
.cursor__dot { width: 6px; height: 6px; margin: -3px 0 0 -3px; background: var(--gold-2); }
.cursor__ring { width: 38px; height: 38px; margin: -19px 0 0 -19px; border: 1px solid rgba(0, 69, 82, 0.4); transition: width 0.35s var(--ease), height 0.35s var(--ease), margin 0.35s var(--ease), background 0.35s, border-color 0.35s; }
.cursor.is-hover .cursor__ring { width: 64px; height: 64px; margin: -32px 0 0 -32px; background: rgba(255, 201, 60, 0.18); border-color: var(--gold); }
.cursor.is-out { opacity: 0; }

/* ---------- preloader ---------- */
.preloader { position: fixed; inset: 0; z-index: 10000; background: radial-gradient(ellipse at 50% 30%, #ffffff 0%, #e9f6fd 55%, #d7eefb 100%); display: grid; place-items: center; transition: clip-path 1.1s var(--ease); clip-path: inset(0 0 0 0); }
.preloader.is-done { clip-path: inset(0 0 100% 0); }
.preloader__inner { text-align: center; width: min(320px, 80vw); }
.preloader__logo { width: 96px; height: 96px; margin: 0 auto 22px; border-radius: 50%; background: #fff; display: grid; place-items: center; box-shadow: 0 0 0 10px rgba(255, 201, 60, 0.25), 0 0 60px 10px rgba(245, 166, 35, 0.35); animation: pulse 2.2s ease-in-out infinite; }
.preloader__logo img { width: 70px; height: 70px; }
.preloader__brand { font: 700 14px var(--font-display); letter-spacing: 0.5em; margin-bottom: 8px; padding-left: 0.5em; color: var(--teal); }
.preloader__count { font: 300 46px var(--font-display); color: var(--gold-2); }
.preloader__bar { height: 3px; background: rgba(0,69,82,0.1); margin-top: 14px; overflow: hidden; border-radius: 3px; }
.preloader__bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--yellow), var(--gold), var(--leaf)); transform-origin: left; transform: scaleX(0); }
@keyframes pulse { 50% { transform: scale(1.06); box-shadow: 0 0 0 16px rgba(255, 201, 60, 0.15), 0 0 90px 20px rgba(245, 166, 35, 0.4); } }

/* ---------- header ---------- */
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 100; height: var(--header-h); transition: transform 0.6s var(--ease), background 0.4s, border-color 0.4s, height 0.4s, box-shadow 0.4s; border-bottom: 1px solid transparent; }
.site-header.is-solid { background: rgba(255, 255, 255, 0.86); backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4); border-color: var(--line); box-shadow: var(--shadow-sm); --header-h: 72px; }
.site-header.is-tucked { transform: translateY(-100%); }
.header__row { height: 100%; display: flex; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 12px; flex: none; }
.brand__img { height: 48px; width: auto; }
.site-header.is-solid .brand__img { height: 42px; }
.nav { display: flex; gap: 4px; margin: 0 auto; padding: 6px; border-radius: 999px; background: rgba(255,255,255,0.72); border: 1px solid rgba(255,255,255,0.9); box-shadow: var(--shadow-sm); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.nav__link { position: relative; padding: 9px 16px; border-radius: 999px; white-space: nowrap; font: 500 14px var(--font-display); color: var(--teal); transition: color 0.3s, background 0.3s; }
.nav__link:hover { background: rgba(0, 69, 82, 0.06); }
.nav__link.is-active { color: #fff; background: var(--teal); }
.header__cta { display: flex; align-items: center; gap: 18px; }
.header__phone { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 36px; min-width: 36px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(255,255,255,0.82); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: var(--shadow-sm); font: 600 14px var(--font-display); color: var(--teal); white-space: nowrap; transition: background 0.3s, border-color 0.3s; }   /* frosted pill: readable over any banner photo */
.header__phone .ico { color: var(--gold-2); }
.header__phone:hover { color: var(--teal-2); background: #fff; border-color: var(--teal-2); }
.burger { display: none; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line-2); background: rgba(255,255,255,0.8); position: relative; }
.burger span { position: absolute; left: 14px; right: 14px; height: 1.5px; background: var(--teal); transition: transform 0.4s var(--ease), top 0.4s var(--ease); }
.burger span:first-child { top: 18px; } .burger span:last-child { top: 26px; }
.menu-open .burger span:first-child { top: 22px; transform: rotate(45deg); }
.menu-open .burger span:last-child { top: 22px; transform: rotate(-45deg); }
.mobile-menu { position: fixed; inset: 0; z-index: 90; background: radial-gradient(circle at 85% 0%, #fff4d6, #ffffff 40%, #e8f6fd 100%); padding: 110px var(--gutter) 40px; display: flex; flex-direction: column; justify-content: space-between; clip-path: circle(0% at calc(100% - 40px) 40px); transition: clip-path 0.8s var(--ease); visibility: hidden; }
.menu-open .mobile-menu { clip-path: circle(150% at calc(100% - 40px) 40px); visibility: visible; }
.mobile-menu nav { display: flex; flex-direction: column; gap: 6px; }
.mobile-menu nav a { font: 600 clamp(32px, 9vw, 54px)/1.15 var(--font-display); color: var(--teal); display: flex; align-items: baseline; gap: 14px; opacity: 0; transform: translateY(30px); transition: 0.6s var(--ease); }
.mobile-menu nav a small { font-size: 12px; color: var(--gold-2); letter-spacing: 0.1em; }
.mobile-menu nav a.is-active { color: var(--leaf); }
.menu-open .mobile-menu nav a { opacity: 1; transform: none; }
.menu-open .mobile-menu nav a:nth-child(2) { transition-delay: 0.05s; } .menu-open .mobile-menu nav a:nth-child(3) { transition-delay: 0.1s; }
.menu-open .mobile-menu nav a:nth-child(4) { transition-delay: 0.15s; } .menu-open .mobile-menu nav a:nth-child(5) { transition-delay: 0.2s; }
.menu-open .mobile-menu nav a:nth-child(6) { transition-delay: 0.25s; }
.mobile-menu__foot { display: flex; flex-direction: column; gap: 6px; color: var(--muted); }

/* =====================================================================
   HOME — immersive world
   ===================================================================== */
.world { position: fixed; inset: 0; z-index: 0; pointer-events: none; background: linear-gradient(#bfe6fb, #fff3d6); }
.world canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.world__fallback { position: absolute; inset: 0; background-size: cover; background-position: center; transition: opacity 1s; }
.world.is-3d .world__fallback { opacity: 0; }
.world__vignette { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(246, 250, 252, 0.78) 0%, rgba(246, 250, 252, 0.35) 38%, transparent 62%), linear-gradient(to bottom, rgba(246,250,252,0.35), transparent 22%, transparent 78%, rgba(246,250,252,0.55)); }
.world__grain { position: absolute; inset: -50%; opacity: 0.035; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); animation: grain 1.2s steps(6) infinite; }
@keyframes grain { 0%,100% { transform: translate(0,0); } 20% { transform: translate(-5%,3%); } 40% { transform: translate(3%,-4%); } 60% { transform: translate(-2%,5%); } 80% { transform: translate(4%,1%); } }
.home main, .home .site-footer { position: relative; z-index: 1; }

.chapters { position: fixed; left: 18px; top: 50%; transform: translateY(-50%); z-index: 50; display: flex; align-items: flex-end; gap: 14px; pointer-events: none; }
.chapters__track { width: 2px; height: 90px; background: rgba(0,69,82,0.15); order: -1; overflow: hidden; border-radius: 2px; }
.chapters__track i { display: block; width: 100%; height: 100%; background: var(--gold); transform-origin: top; transform: scaleY(0); }
.chapters__label { font: 600 11px var(--font-display); letter-spacing: 0.2em; text-transform: uppercase; writing-mode: vertical-rl; transform: rotate(180deg); color: var(--teal); }

/* hero */
.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; padding: calc(var(--header-h) + 40px) 0 clamp(70px, 12vh, 130px); }
.hero__inner { position: relative; }
.hero__title { font-size: clamp(2.9rem, 8.4vw, 8.2rem); font-weight: 700; line-height: 0.98; letter-spacing: -0.045em; max-width: 13ch; margin-bottom: clamp(26px, 4vh, 44px); color: var(--teal); text-shadow: 0 2px 30px rgba(255, 255, 255, 0.6); }
.hero__title .word { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.08em; margin-right: 0.22em; }
.hero__title .word > span { display: inline-block; will-change: transform; }
.hero__title .word.grad { background: none; color: inherit; }
.hero__title .word.grad > span { background: linear-gradient(100deg, #e8901a, #f5a623 45%, #ffc93c); -webkit-background-clip: text; background-clip: text; color: transparent; text-shadow: none; filter: drop-shadow(0 4px 18px rgba(245,166,35,0.35)); }
.hero__bottom { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.hero__lead { max-width: 520px; font-size: clamp(1rem, 1.25vw, 1.15rem); color: #2b4a52; margin: 0; padding: 18px 22px; border-radius: 18px; background: rgba(255,255,255,0.62); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,0.8); }
.hero__lead strong { color: var(--teal); font-weight: 700; }
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.play-pill { display: inline-flex; align-items: center; gap: 14px; height: 58px; padding: 0 26px 0 8px; border-radius: 999px; border: 1px solid rgba(255,255,255,0.9); background: rgba(255,255,255,0.75); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); font: 600 14.5px var(--font-display); color: var(--teal); box-shadow: var(--shadow-sm); transition: border-color 0.3s; }
.play-pill:hover { border-color: var(--gold); }
.play-pill__icon { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--teal); color: #fff; position: relative; }
.play-pill__icon::after { content: ''; position: absolute; inset: -6px; border-radius: 50%; border: 1px solid rgba(0,69,82,0.4); animation: ring 2s var(--ease) infinite; }
@keyframes ring { from { transform: scale(0.8); opacity: 1; } to { transform: scale(1.5); opacity: 0; } }
.hero__chips { position: absolute; right: var(--gutter); top: 50%; transform: translateY(-50%); display: flex; flex-direction: column; gap: 14px; }
.chip { padding: 18px 22px; border-radius: 18px; min-width: 190px; }
.chip b { display: block; font: 700 34px/1 var(--font-display); color: var(--teal); }
.chip b em { font-style: normal; color: var(--gold); }
.chip span { font-size: 13px; color: var(--muted); }
.scroll-cue { position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 10px; font: 600 10.5px var(--font-display); letter-spacing: 0.25em; text-transform: uppercase; color: var(--teal); }
.scroll-cue span { padding: 9px 16px; border-radius: 999px; background: rgba(255,255,255,0.86); border: 1px solid rgba(255,255,255,0.95); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: 0 8px 24px -10px rgba(0,48,58,0.45); font-size: 11px; white-space: nowrap; }   /* frosted pill: readable over the hero photo */
.scroll-cue:hover span { background: #fff; }
.scroll-cue i { width: 2px; height: 46px; border-radius: 2px; background: linear-gradient(var(--gold), rgba(255,201,60,0)); box-shadow: 0 0 10px rgba(255,201,60,0.7); animation: cue 2s var(--ease) infinite; transform-origin: top; }
@keyframes cue { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* marquee */
.marquee { position: relative; overflow: hidden; padding: 22px 0; background: var(--teal); color: #fff; }
.marquee__track { display: flex; width: max-content; animation: marquee 40s linear infinite; }
.marquee__group { display: flex; align-items: center; gap: 34px; padding-right: 34px; }
.marquee span { font: 500 clamp(20px, 2.4vw, 32px) var(--font-display); white-space: nowrap; }
.marquee i { color: var(--yellow); font-style: normal; font-size: 18px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* statement */
.statement { padding: clamp(110px, 20vh, 220px) 0; }
.statement__text { font: 600 clamp(1.8rem, 4.2vw, 3.9rem)/1.18 var(--font-display); letter-spacing: -0.025em; max-width: 22ch; color: var(--teal); }
.statement__text .sw { opacity: 0.2; transition: color 0.2s; }
.statement__text .sw.is-lit { opacity: 1; }
.statement__values { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 46px; }

/* generic sections */
.section { position: relative; padding: clamp(90px, 13vh, 150px) 0; }
.home .section { background: linear-gradient(to bottom, rgba(246,250,252,0) 0%, rgba(246,250,252,0.94) 12%, rgba(246,250,252,0.94) 88%, rgba(246,250,252,0) 100%); }
.section--tint { background: var(--bg-2); }
.section__head { margin-bottom: clamp(40px, 6vh, 70px); max-width: 760px; }
.section__head--row { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.section__head--center { text-align: center; margin-inline: auto; }

/* service cards */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.svc-card { --mx: 50%; --my: 50%; position: relative; display: flex; flex-direction: column; border-radius: var(--radius); overflow: hidden; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); transition: transform 0.5s var(--ease), box-shadow 0.4s, border-color 0.4s; transform-style: preserve-3d; will-change: transform; }
.svc-card::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(400px circle at var(--mx) var(--my), rgba(255, 201, 60, 0.16), transparent 45%); opacity: 0; transition: opacity 0.4s; }
.svc-card:hover { border-color: rgba(245, 166, 35, 0.5); box-shadow: var(--shadow-lg); }
.svc-card:hover::after { opacity: 1; }
.svc-card__media { aspect-ratio: 16/10; overflow: hidden; }
.svc-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.svc-card:hover .svc-card__media img { transform: scale(1.08); }
.svc-card__body { position: relative; padding: 36px 28px 30px; display: flex; flex-direction: column; flex: 1; }
.svc-card__icon { position: absolute; top: -30px; left: 28px; width: 60px; height: 60px; border-radius: 18px; display: grid; place-items: center; background: var(--grad-sun); color: #3a2800; box-shadow: 0 12px 28px -8px rgba(245,166,35,0.7); }
.svc-card__num { position: absolute; top: 20px; right: 24px; font: 700 13px var(--font-display); color: var(--sky); }
.svc-card h3 { font-size: 1.45rem; margin: 16px 0 12px; }
.svc-card p { color: var(--muted); flex: 1; }

/* offer — horizontal */
.offer { position: relative; }
.home .offer { background: linear-gradient(180deg, #e9f6fd 0%, #f6fafc 100%); }
.offer__pin { display: flex; align-items: center; gap: 50px; min-height: 100vh; padding: calc(var(--header-h) + 20px) 0 60px var(--gutter); overflow: hidden; }
.offer__intro { flex: none; width: min(380px, 32vw); }
.offer__intro .h2 { font-size: clamp(2rem, 3.4vw, 3rem); margin-bottom: 18px; }
.offer__progress { height: 3px; background: var(--line); margin-top: 34px; border-radius: 3px; overflow: hidden; }
.offer__progress i { display: block; height: 100%; background: linear-gradient(90deg, var(--yellow), var(--gold), var(--leaf)); transform-origin: left; transform: scaleX(0); }
.offer__track { display: flex; gap: 24px; will-change: transform; padding-right: var(--gutter); }
.offer-card { position: relative; flex: none; width: clamp(300px, 30vw, 430px); aspect-ratio: 3/4; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.offer-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.offer-card:hover img { transform: scale(1.07); }
.offer-card__shade { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0, 48, 58, 0.92) 12%, rgba(0, 48, 58, 0.1) 60%, rgba(0, 48, 58, 0.15)); }
.offer-card__content { position: absolute; left: 0; right: 0; bottom: 0; height: min(360px, 84%); padding: 30px; color: #fff; display: flex; flex-direction: column; }   /* fixed height: the number stays in the same place on every card */
.offer-card__num { font: 300 56px/1 var(--font-display); color: transparent; -webkit-text-stroke: 1.2px var(--yellow); display: block; margin-bottom: 14px; }
.offer-card h3 { font-size: 1.55rem; line-height: 1.2; margin-bottom: 10px; color: #fff; }
.offer-card h3 .offer-card__title { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.offer-card h3 small { display: block; font: 600 12.5px var(--font-display); color: var(--yellow); letter-spacing: 0.18em; text-transform: uppercase; margin-top: 6px; }
.offer-card p { color: #e3f1f3; font-size: 0.98rem; line-height: 1.6; margin: 4px 0 16px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; flex-shrink: 0; }   /* longer text: 3 lines, then "Read more" opens the full page */
.offer-card .link-arrow { margin-top: auto; }
.offer-card .link-arrow { color: #fff; }
.offer.is-static .offer__pin { flex-direction: column; align-items: stretch; min-height: 0; padding: clamp(90px, 13vh, 150px) var(--gutter); }
.offer.is-static .offer__intro { width: auto; max-width: 640px; }
.offer.is-static .offer__progress { display: none; }
.offer.is-static .offer__track { display: grid; grid-template-columns: repeat(4, 1fr); padding-right: 0; }
.offer.is-static .offer-card { width: auto; }

/* stats */
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); border-radius: var(--radius); overflow: hidden; background: #fff; box-shadow: var(--shadow); border: 1px solid var(--line); }
.stats__grid--n1 { grid-template-columns: 1fr; } .stats__grid--n2 { grid-template-columns: repeat(2, 1fr); } .stats__grid--n3 { grid-template-columns: repeat(3, 1fr); }
.stat { padding: clamp(28px, 4vw, 50px) 30px; border-right: 1px solid var(--line); position: relative; }
.stat::before { content: ''; position: absolute; left: 30px; top: 0; width: 40px; height: 3px; border-radius: 0 0 3px 3px; }
.stat:nth-child(4n+1)::before { background: var(--gold); } .stat:nth-child(4n+2)::before { background: var(--sky); }
.stat:nth-child(4n+3)::before { background: var(--leaf); } .stat:nth-child(4n+4)::before { background: var(--yellow); }
.stat:last-child { border-right: 0; }
.stat__num { font: 700 clamp(2.8rem, 5vw, 4.6rem)/1 var(--font-display); letter-spacing: -0.04em; color: var(--teal); }
.stat__num em { font-style: normal; color: var(--gold); }
.stat__label { color: var(--muted); margin-top: 12px; font-size: 0.95rem; }

/* projects grid (home) */
.proj-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 290px; gap: 20px; }
.proj-card { position: relative; border-radius: var(--radius); overflow: hidden; isolation: isolate; box-shadow: var(--shadow); color: #fff; }
.proj-card--lg { grid-column: span 2; grid-row: span 2; }
.proj-card__media, .proj-card__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.proj-card__media img { transition: transform 1.4s var(--ease); }
.proj-card:hover .proj-card__media img { transform: scale(1.07); }
.proj-card::after { content: ''; position: absolute; inset: 0; z-index: 0; background: linear-gradient(to top, rgba(0, 48, 58, 0.9), rgba(0, 48, 58, 0) 58%); }
.proj-card__info { position: absolute; left: 0; right: 70px; bottom: 0; padding: 26px; z-index: 1; }
.proj-card__tags { display: flex; gap: 8px; margin-bottom: 12px; flex-wrap: wrap; }
.proj-card h3 { font-size: 1.25rem; margin-bottom: 6px; color: #fff; }
.proj-card--lg h3 { font-size: clamp(1.5rem, 2.4vw, 2.2rem); }
.proj-card p { display: flex; align-items: center; gap: 6px; color: #cfe6ea; margin: 0; font-size: 0.9rem; }
.proj-card__go { position: absolute; right: 22px; bottom: 22px; z-index: 1; width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,0.2); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,0.4); transition: 0.5s var(--ease); }
.proj-card:hover .proj-card__go { background: var(--yellow); color: var(--teal); border-color: var(--yellow); transform: rotate(45deg); }

/* clean energy */
.clean { padding: clamp(160px, 30vh, 300px) 0; text-align: center; }
.clean__inner { display: flex; flex-direction: column; align-items: center; }
.clean__title { font-size: clamp(2.6rem, 7vw, 6.4rem); font-weight: 700; letter-spacing: -0.04em; max-width: 14ch; margin-bottom: 26px; text-shadow: 0 2px 40px rgba(255,255,255,0.8); }
.clean__text { max-width: 560px; color: #2b4a52; font-size: 1.1rem; }
.clean__features { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; margin-top: 30px; }
.clean__feat { display: inline-flex; align-items: center; gap: 12px; padding: 14px 22px; border-radius: 999px; font: 600 15px var(--font-display); color: var(--leaf); }
.clean__feat span { color: var(--teal); }

/* videos */
.vid-layout { display: grid; grid-template-columns: 1.65fr 1fr; gap: 22px; }
.vid-main { position: relative; aspect-ratio: 16/9; border-radius: var(--radius); overflow: hidden; text-align: left; box-shadow: var(--shadow-lg); color: #fff; }
.vid-main img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.vid-main:hover img { transform: scale(1.05); }
.vid-main::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0, 48, 58, 0.88), transparent 55%); }
.vid-main__title { position: absolute; left: 28px; right: 28px; bottom: 24px; z-index: 1; font: 600 clamp(1.1rem, 1.8vw, 1.5rem)/1.3 var(--font-display); }
.vid-play { position: absolute; left: 50%; top: 50%; z-index: 2; width: 88px; height: 88px; margin: -44px 0 0 -44px; border-radius: 50%; display: grid; place-items: center; background: var(--yellow); color: var(--teal); box-shadow: 0 0 0 10px rgba(255, 201, 60, 0.3); transition: 0.5s var(--ease); }
.vid-play .ico { margin-left: 4px; }
.vid-main:hover .vid-play, .vid-item:hover .vid-play, .vid-card:hover .vid-play { background: #fff; transform: scale(1.08); box-shadow: 0 0 0 14px rgba(255, 255, 255, 0.3); }
.vid-play--sm { width: 38px; height: 38px; margin: -19px 0 0 -19px; box-shadow: 0 0 0 5px rgba(255, 201, 60, 0.3); }
.vid-list { display: flex; flex-direction: column; gap: 14px; }
.vid-item { display: grid; grid-template-columns: 150px 1fr; gap: 16px; align-items: center; padding: 10px; border-radius: var(--radius-sm); border: 1px solid var(--line); background: #fff; text-align: left; box-shadow: var(--shadow-sm); transition: 0.4s var(--ease); }
.vid-item:hover { border-color: rgba(245,166,35,0.5); transform: translateX(4px); box-shadow: var(--shadow); }
.vid-item__thumb { position: relative; aspect-ratio: 16/9; border-radius: 10px; overflow: hidden; }
.vid-item__thumb img { width: 100%; height: 100%; object-fit: cover; }
.vid-item__title { font: 500 14px/1.4 var(--font-display); color: var(--teal); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

/* testimonials */
.testi__stage { position: relative; max-width: 960px; margin: 0 auto; text-align: center; display: grid; padding: clamp(36px, 5vw, 64px); border-radius: 30px; background: #fff; box-shadow: var(--shadow); border: 1px solid var(--line); }
.testi__slide { grid-area: 1 / 1; margin: 0; opacity: 0; transform: translateY(20px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); pointer-events: none; }
.testi__slide.is-active { opacity: 1; transform: none; pointer-events: auto; }
.testi__quote { color: var(--gold); display: inline-block; margin-bottom: 18px; }
.testi__slide blockquote { margin: 0 0 30px; font: 400 clamp(1.2rem, 2.1vw, 1.7rem)/1.55 var(--font-display); letter-spacing: -0.01em; color: var(--teal); }
.testi__slide figcaption { display: inline-flex; align-items: center; gap: 14px; text-align: left; }
.testi__slide figcaption img, .avatar { width: 54px; height: 54px; border-radius: 50%; object-fit: cover; }
.avatar { display: grid; place-items: center; background: var(--grad-sky); color: #fff; font: 700 20px var(--font-display); }
.testi__slide figcaption b { display: block; font-family: var(--font-display); color: var(--teal); }
.testi__slide figcaption small { color: var(--muted); }
.testi__nav { grid-area: 2 / 1; display: flex; align-items: center; justify-content: center; gap: 20px; margin-top: 36px; }
.testi__dots { display: flex; gap: 8px; }
.testi__dots i { width: 8px; height: 8px; border-radius: 8px; background: var(--line-2); cursor: pointer; transition: 0.4s var(--ease); }
.testi__dots i.is-active { width: 30px; background: var(--gold); }

/* team */
.team__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.member { position: relative; border-radius: var(--radius); overflow: hidden; background: linear-gradient(180deg, #dff1fb, #fff); box-shadow: var(--shadow); }
.member__photo { aspect-ratio: 4/4.6; overflow: hidden; }
.member__photo img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform 1.2s var(--ease); }
.member:hover .member__photo img { transform: scale(1.05); }
.member__info { position: absolute; left: 16px; right: 16px; bottom: 16px; padding: 16px 20px; border-radius: 16px; background: rgba(255,255,255,0.9); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); box-shadow: var(--shadow-sm); }
.member__info h3 { font-size: 1.2rem; }
.member__info span { color: var(--gold-2); font-size: 0.88rem; font-weight: 600; }

/* cta band */
.cta-band__box { border-radius: 30px; padding: clamp(34px, 5vw, 64px); display: flex; align-items: center; justify-content: space-between; gap: 40px; flex-wrap: wrap; position: relative; overflow: hidden; background: linear-gradient(120deg, #004552 0%, #0b6b73 55%, #1f9a7e 100%); color: #fff; box-shadow: var(--shadow-lg); border: 0; }
.cta-band__box::before { content: ''; position: absolute; width: 520px; height: 520px; right: -140px; top: -240px; border-radius: 50%; background: radial-gradient(circle, rgba(255,201,60,0.55), transparent 65%); pointer-events: none; }
.cta-band__box .h2, .cta-band__box h3 { color: #fff; }
.cta-band__box .h2 { font-size: clamp(1.8rem, 3.2vw, 2.8rem); max-width: 18ch; margin-bottom: 12px; }
.cta-band__box .muted { max-width: 520px; margin: 0; color: #cfe6ea; }
.cta-band__box .btn--ghost { background: rgba(255,255,255,0.12); color: #fff; border-color: rgba(255,255,255,0.4); }
.cta-band__box .btn--ghost:hover { background: #fff; color: var(--teal); }
.cta-band__actions { display: flex; gap: 12px; flex-wrap: wrap; position: relative; }

/* =====================================================================
   FOOTER (deep brand teal anchors the light site)
   ===================================================================== */
.site-footer { position: relative; overflow: hidden; background: #00313b; color: #cfe2e6; padding-top: clamp(70px, 10vh, 120px); }
.site-footer h2, .site-footer h4 { color: #fff; }
.footer__glow { position: absolute; left: 50%; top: -320px; width: 1000px; height: 640px; transform: translateX(-50%); background: radial-gradient(ellipse, rgba(255, 201, 60, 0.22), transparent 65%); pointer-events: none; }
.footer__cta { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; flex-wrap: wrap; padding-bottom: clamp(50px, 8vh, 80px); border-bottom: 1px solid rgba(255,255,255,0.12); position: relative; }
.footer__big { font-size: clamp(2.2rem, 5.4vw, 4.8rem); letter-spacing: -0.035em; max-width: 13ch; }
.footer__big .grad { background: linear-gradient(100deg, #ffc93c, #f5a623 50%, #7ee0a8); -webkit-background-clip: text; background-clip: text; color: transparent; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 40px; padding: 60px 0 40px; position: relative; }
.footer__col { display: flex; flex-direction: column; gap: 10px; }
.footer__col h4, .footer__col h3 { font-size: 13px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--yellow); margin-bottom: 10px; }
.footer__col a { color: #a9c6cc; transition: color 0.3s, transform 0.3s; display: inline-flex; align-items: center; gap: 8px; width: fit-content; }
.footer__col a:hover { color: #fff; transform: translateX(3px); }
.footer__col p { color: #a9c6cc; }
.footer__about .brand__img { height: 52px; }
.footer__about p { margin: 18px 0; max-width: 340px; }
.footer__contact strong { color: #fff; font-weight: 600; }
.socials { display: flex; gap: 10px; }
.socials a { width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.2); display: grid; place-items: center; color: #fff; }
.socials a:hover { background: var(--yellow); color: var(--teal); border-color: var(--yellow); transform: translateY(-3px); }
.footer__bottom { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding: 26px 0 30px; border-top: 1px solid rgba(255,255,255,0.12); color: #7fa3ab; font-size: 0.88rem; position: relative; }
.to-top:hover { color: var(--yellow); }
.footer__word { font: 800 clamp(70px, 19vw, 300px)/0.8 var(--font-display); letter-spacing: -0.05em; text-align: center; color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,0.08); margin-bottom: -0.12em; -webkit-user-select: none; user-select: none; white-space: nowrap; }

.wa-float { position: fixed; right: 22px; bottom: 22px; z-index: 80; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; background: #25d366; color: #fff; box-shadow: 0 12px 30px -6px rgba(37,211,102,0.6); transition: transform 0.4s var(--ease); }
.wa-float:hover { transform: scale(1.1) rotate(-8deg); }

/* video modal */
.video-modal { position: fixed; inset: 0; z-index: 9000; display: grid; place-items: center; padding: 20px; visibility: hidden; opacity: 0; transition: opacity 0.4s, visibility 0.4s; }
.video-modal.is-open { visibility: visible; opacity: 1; }
.video-modal__backdrop { position: absolute; inset: 0; background: rgba(0, 35, 43, 0.85); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.video-modal__box { position: relative; width: min(1100px, 100%); transform: scale(0.94); transition: transform 0.6s var(--ease); }
.video-modal.is-open .video-modal__box { transform: none; }
.video-modal__frame { aspect-ratio: 16/9; border-radius: 18px; overflow: hidden; background: #000; box-shadow: 0 40px 120px rgba(0,0,0,0.5); }
.video-modal__frame iframe { width: 100%; height: 100%; border: 0; display: block; }
.video-modal__close { position: absolute; top: -56px; right: 0; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgba(255,255,255,0.4); background: rgba(255,255,255,0.1); color: #fff; }
.video-modal__close:hover { background: var(--yellow); color: var(--teal); }

/* reveal */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity 1.1s var(--ease) var(--d, 0s), transform 1.1s var(--ease) var(--d, 0s); }
.reveal.is-in { opacity: 1; transform: none; }
.svc-card.reveal.is-in:hover { transition: transform 0.5s var(--ease), box-shadow 0.4s, border-color 0.4s; }

/* =====================================================================
   INNER PAGES
   ===================================================================== */
.inner { background: radial-gradient(ellipse 80% 40% at 80% 0%, #fff4d6 0%, transparent 60%), radial-gradient(ellipse 70% 40% at 0% 10%, #dff1fb 0%, transparent 60%), var(--bg); }
.page-hero { position: relative; min-height: min(76vh, 700px); display: flex; align-items: flex-end; padding: calc(var(--header-h) + 60px) 0 clamp(50px, 8vh, 90px); overflow: hidden; isolation: isolate; }
.page-hero__bg { position: absolute; inset: 0; z-index: -1; }
.page-hero__bg img { width: 100%; height: 100%; object-fit: cover; transform-origin: center top; }
.page-hero__bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(246,250,252,0.96) 0%, rgba(246,250,252,0.82) 38%, rgba(246,250,252,0.15) 75%), linear-gradient(to top, var(--bg) 0%, rgba(246,250,252,0) 35%); }
.page-hero h1 { font-size: clamp(2.6rem, 7vw, 6rem); font-weight: 700; letter-spacing: -0.04em; max-width: 15ch; }
.page-hero p.lead { max-width: 620px; color: #2b4a52; font-size: 1.12rem; margin-top: 22px; }
.crumbs { display: flex; gap: 10px; align-items: center; font: 500 13px var(--font-display); color: var(--muted); margin-bottom: 24px; letter-spacing: 0.05em; }
.crumbs a:hover { color: var(--gold-2); }
.crumbs span { opacity: 0.5; }

.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.prose { color: #35525a; font-size: 1.06rem; }
.prose p { margin-bottom: 1.1em; }
.img-stack { position: relative; padding: 0 0 70px 60px; }
.img-stack .parallax-img { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); }
.img-stack .parallax-img img { width: 100%; height: 120%; object-fit: cover; }
.img-stack__main { aspect-ratio: 4/4.4; }
.img-stack__small { position: absolute; left: 0; bottom: 0; width: 46%; aspect-ratio: 1; border: 6px solid #fff; }
.img-stack__badge { position: absolute; right: -14px; top: 40px; padding: 20px 24px; border-radius: 18px; text-align: center; }
.img-stack__badge b { display: block; font: 700 42px/1 var(--font-display); color: var(--gold); }
.img-stack__badge span { font-size: 12.5px; color: var(--muted); }

.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.cards-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.card { padding: 34px 30px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: border-color 0.4s, transform 0.5s var(--ease), box-shadow 0.4s; }
.card:hover { border-color: rgba(245,166,35,0.45); transform: translateY(-4px); box-shadow: var(--shadow); }
.card__icon { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; background: #fff6df; color: var(--gold-2); margin-bottom: 22px; }
.cards-3 .card:nth-child(2) .card__icon, .cards-4 .card:nth-child(4n+2) .card__icon { background: #e3f3fd; color: var(--sky); }
.cards-3 .card:nth-child(3) .card__icon, .cards-4 .card:nth-child(4n+3) .card__icon { background: #e4f6ec; color: var(--leaf); }
.cards-4 .card:nth-child(4n+4) .card__icon { background: #e0eef0; color: var(--teal); }
.card h3 { font-size: 1.35rem; margin-bottom: 12px; }
.card p { color: var(--muted); margin: 0; }
.card--value { text-align: center; padding: 30px 20px; }
.card--value .card__icon { margin-inline: auto; }
.card--value h3 { font-size: 1.15rem; margin: 0; }

.why { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(40px, 6vw, 90px); }
.check-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.check-list li { display: flex; gap: 14px; padding: 18px 20px; border-radius: var(--radius-sm); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); color: #2b4a52; font-size: 0.97rem; }
.check-list li .ico { color: var(--leaf); margin-top: 2px; }

.feature-list { display: grid; gap: 14px; }
.feature { display: grid; grid-template-columns: 54px 1fr; gap: 18px; padding: 22px 24px; border-radius: var(--radius-sm); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: border-color 0.4s; }
.feature:hover { border-color: rgba(245,166,35,0.45); }
.feature__n { width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center; font: 700 15px var(--font-display); color: var(--gold-2); background: #fff6df; }
.feature h4 { font-size: 1.1rem; margin: 4px 0 6px; }
.feature p { margin: 0; color: var(--muted); }

.svc-row { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 70px); align-items: center; padding: clamp(40px, 7vh, 80px) 0; border-bottom: 1px solid var(--line); }
.svc-row:nth-child(even) .svc-row__media { order: 2; }
.svc-row__media { border-radius: var(--radius); overflow: hidden; aspect-ratio: 5/4; box-shadow: var(--shadow-lg); }
.svc-row__media img { width: 100%; height: 120%; object-fit: cover; }
.svc-row h2 { font-size: clamp(1.8rem, 3.4vw, 2.8rem); margin-bottom: 16px; }
.svc-row ul { list-style: none; padding: 0; margin: 20px 0 30px; display: grid; gap: 10px; }
.svc-row li { display: flex; gap: 12px; color: #35525a; }
.svc-row li strong { color: var(--teal); }
.svc-row li .ico { color: var(--leaf); margin-top: 3px; }

.offer-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.offer-grid .offer-card { width: auto; }

.filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 40px; }
.filters button { height: 42px; padding: 0 20px; border-radius: 999px; border: 1px solid var(--line-2); background: #fff; font: 500 14px var(--font-display); color: var(--teal); transition: 0.3s; }
.filters button:hover { border-color: var(--gold); }
.filters button.is-active { background: var(--teal); color: #fff; border-color: var(--teal); }
.is-hidden { display: none !important; }
.proj-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.proj-list .proj-card { aspect-ratio: 4/4.6; }

.vid-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.vid-card { text-align: left; border-radius: var(--radius); overflow: hidden; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: box-shadow 0.4s, transform 0.5s var(--ease), border-color 0.4s; display: flex; flex-direction: column; }
.vid-card:hover { border-color: rgba(245,166,35,0.45); transform: translateY(-4px); box-shadow: var(--shadow); }
.vid-card__thumb { position: relative; aspect-ratio: 16/9; overflow: hidden; }
.vid-card__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.vid-card:hover .vid-card__thumb img { transform: scale(1.06); }
.vid-card .vid-play { width: 62px; height: 62px; margin: -31px 0 0 -31px; }
.vid-card__body { padding: 20px 22px 24px; }
.vid-card__body .tag { margin-bottom: 12px; background: #e3f3fd; border-color: #e3f3fd; color: #1d6fa0; }
.vid-card__body h3 { font-size: 1.05rem; line-height: 1.4; font-weight: 600; }

.project-detail { display: grid; grid-template-columns: 1.5fr 1fr; gap: clamp(30px, 5vw, 70px); align-items: start; }
.project-detail__media { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.project-detail__media img { width: 100%; }
.project-detail__media + .project-detail__media { margin-top: 18px; }
.spec { border-radius: var(--radius); padding: 30px; position: sticky; top: 100px; }
.spec dl { margin: 0 0 26px; display: grid; gap: 0; }
.spec dl div { display: flex; justify-content: space-between; gap: 20px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.spec dt { color: var(--muted); }
.spec dd { margin: 0; font-weight: 600; font-family: var(--font-display); text-align: right; color: var(--teal); }
.embed { aspect-ratio: 16/9; border-radius: var(--radius); overflow: hidden; background: #000; box-shadow: var(--shadow); }
.embed iframe { width: 100%; height: 100%; border: 0; }

/* contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.35fr; gap: clamp(30px, 5vw, 60px); align-items: start; }
.info-cards { display: grid; gap: 14px; }
.info-card { display: grid; grid-template-columns: 54px 1fr; gap: 18px; padding: 24px; border-radius: var(--radius-sm); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.info-card .card__icon { width: 54px; height: 54px; margin: 0; }
.info-card:nth-child(2) .card__icon { background: #e3f3fd; color: var(--sky); }
.info-card:nth-child(3) .card__icon { background: #e4f6ec; color: var(--leaf); }
.info-card:nth-child(4) .card__icon { background: #e0eef0; color: var(--teal); }
.info-card h4 { font-size: 1rem; margin: 4px 0 8px; }
.info-card p, .info-card a { color: var(--muted); margin: 0; display: block; }
.info-card p strong { color: var(--teal); }
.info-card a:hover { color: var(--gold-2); }
.form { padding: clamp(26px, 4vw, 44px); border-radius: var(--radius); }
.form h2 { font-size: clamp(1.6rem, 2.8vw, 2.3rem); margin-bottom: 8px; }
.form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 28px; }
.form__full { grid-column: 1 / -1; }
.field label { display: block; font: 600 13px var(--font-display); color: var(--teal); margin-bottom: 8px; }
.field input, .field textarea, .field select { width: 100%; font: inherit; color: var(--text); background: #fff; border: 1px solid var(--line-2); border-radius: 12px; padding: 14px 16px; transition: border-color 0.3s, box-shadow 0.3s; }
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--sky); box-shadow: 0 0 0 4px rgba(58, 168, 232, 0.15); }
.hp { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; border: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; opacity: 0; pointer-events: none; }   /* anti-spam field: invisible, never pushes the page sideways */
.consent { display: flex; gap: 10px; align-items: flex-start; color: var(--muted); font-size: 0.9rem; }
.consent input { width: auto; margin-top: 4px; accent-color: var(--leaf); }
.alert { padding: 16px 20px; border-radius: 12px; margin-bottom: 20px; font-weight: 500; }
.alert--ok { background: #e7f7ee; border: 1px solid #b6e5c9; color: #1c7a47; }
.alert--err { background: #fdeeee; border: 1px solid #f3c3c3; color: #b23a3a; }
.map { margin-top: clamp(50px, 8vh, 80px); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); height: 440px; }
.map iframe { width: 100%; height: 100%; border: 0; }
.empty { padding: 60px; text-align: center; color: var(--muted); border: 1px dashed var(--line-2); border-radius: var(--radius); background: #fff; }

/* Text floating directly over the WebGL world gets its own compositing layer */
.hero__inner, .statement .container, .clean__inner { will-change: transform; transform: translateZ(0); }
.home .statement { background: radial-gradient(ellipse 80% 60% at 30% 50%, rgba(246, 250, 252, 0.82), rgba(246, 250, 252, 0.3) 70%, transparent 90%); }
.home .clean { background: radial-gradient(ellipse 65% 55% at 50% 50%, rgba(246, 250, 252, 0.78), transparent 75%); }

/* =====================================================================
   RESPONSIVE
   ===================================================================== */
@media (max-width: 1440px) {
  .chapters { display: none; }
}
@media (max-width: 1180px) {
  .scroll-cue { display: none; }
  .nav { display: none; }
  .burger { display: block; }
  .header__phone span { display: none; }
  .header__phone { width: 36px; padding: 0; }
  .header__cta { margin-left: auto; }
  .hero__chips { display: none; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .offer-grid, .cards-4, .offer.is-static .offer__track { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  :root { --header-h: 72px; }
  .svc-grid, .cards-3, .team__grid, .proj-list, .vid-grid { grid-template-columns: 1fr 1fr; }
  .proj-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 260px; }
  .proj-card--lg { grid-column: span 2; grid-row: span 1; }
  .stats__grid { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .stats__grid--n1 { grid-template-columns: 1fr; }
  .stats__grid .stat:last-child:nth-child(odd) { grid-column: 1 / -1; border-bottom: 0; }
  .vid-layout, .two-col, .why, .project-detail, .contact-grid, .svc-row { grid-template-columns: 1fr; }
  .svc-row:nth-child(even) .svc-row__media { order: 0; }
  .offer__pin { flex-direction: column; align-items: stretch; min-height: 0; padding: 90px var(--gutter); }
  .offer__intro { width: auto; }
  .offer__progress { display: none; }
  .offer__track { overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 10px; margin-right: calc(var(--gutter) * -1); }
  .offer-card { scroll-snap-align: start; width: 78vw; max-width: 360px; }
  .offer.is-static .offer__track { display: flex; }
  .offer.is-static .offer-card { width: 78vw; }
  .offer-card p { max-height: none; opacity: 1; margin: 6px 0 16px; }
  .spec { position: static; }
  .img-stack { padding: 0 0 50px 30px; }
  .page-hero__bg::after { background: linear-gradient(to top, rgba(246,250,252,1) 0%, rgba(246,250,252,0.86) 55%, rgba(246,250,252,0.55) 100%); }
  .world__vignette { background: linear-gradient(to bottom, rgba(246,250,252,0.2), rgba(246,250,252,0.55) 45%, rgba(246,250,252,0.85) 100%); }
}
@media (max-width: 640px) {
  .header__cta .btn { display: none; }
  .brand__img { height: 40px; }
  .svc-grid, .cards-3, .team__grid, .proj-list, .vid-grid, .offer-grid, .cards-4, .check-list, .form__grid { grid-template-columns: 1fr; }
  .proj-grid { grid-template-columns: 1fr; }
  .proj-card--lg { grid-column: auto; }
  .footer__grid { grid-template-columns: 1fr; gap: 30px; }
  .vid-item { grid-template-columns: 120px 1fr; }
  .hero__actions .btn, .hero__actions .play-pill { width: 100%; justify-content: center; }
  .cta-band__actions .btn { width: 100%; }
  .stat { padding: 24px 18px; }
  .wa-float { width: 52px; height: 52px; right: 16px; bottom: 16px; }
  .map { height: 320px; }
}
@media (prefers-reduced-motion: reduce) {
  /* full static mode only when HONOR_REDUCED_MOTION is on (includes/config.php) */
  html.honor-rm *, html.honor-rm *::before, html.honor-rm *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  html.honor-rm .reveal { opacity: 1; transform: none; }
  .world__grain { animation: none; }
}

/* =====================================================================
   HOW SOLAR POWERS YOUR LIFE — scroll story over the 3D solar home
   ===================================================================== */
.story-intro { padding: clamp(80px, 14vh, 140px) 0 20px; text-align: left; }
.story-intro .h2 { max-width: 16ch; text-shadow: 0 2px 30px rgba(255,255,255,0.7); }
.story-step { min-height: 100vh; display: flex; align-items: center; padding: 60px 0; pointer-events: none; }
.story-card { pointer-events: auto; max-width: 480px; padding: clamp(26px, 3vw, 38px); border-radius: 26px; }
.story-card__step { display: flex; align-items: center; gap: 12px; margin: 0 0 16px; font: 600 12px var(--font-display); letter-spacing: 0.18em; text-transform: uppercase; color: var(--teal-2); }
.story-card__step span { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--grad-sun); color: #3a2800; letter-spacing: 0; font-size: 13px; }
.story-card h2 { font-size: clamp(1.7rem, 2.8vw, 2.5rem); margin-bottom: 14px; }
.story-card__text { color: #35525a; font-size: 1.02rem; }
.story-card__points { list-style: none; padding: 0; margin: 6px 0 22px; display: grid; gap: 9px; }
.story-card__points li { display: flex; gap: 10px; font-size: 0.94rem; color: #2b4a52; line-height: 1.5; }
.story-card__points li .ico { color: var(--leaf); margin-top: 3px; }
.story-card__points b { color: var(--teal); }
.flowline { display: flex; flex-wrap: wrap; gap: 6px; padding-top: 18px; border-top: 1px solid var(--line); }
.flowline__node { display: inline-flex; align-items: center; gap: 6px; padding: 6px 11px; border-radius: 999px; font: 600 11.5px var(--font-display); color: var(--dim); background: rgba(0,69,82,0.05); transition: 0.4s; }
.flowline__node.is-on { color: var(--teal); background: rgba(255, 201, 60, 0.3); box-shadow: inset 0 0 0 1px rgba(245,166,35,0.5); }
.flowline__node.is-on .ico { color: var(--gold-2); }

/* labels anchored to 3D objects */
.labels3d { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.lbl { position: absolute; left: 0; top: 0; opacity: 0; will-change: transform, opacity; }
.lbl__dot { position: absolute; left: -7px; top: -7px; width: 14px; height: 14px; border-radius: 50%; background: var(--yellow); box-shadow: 0 0 0 5px rgba(255,201,60,0.35); animation: lblPulse 1.8s ease-in-out infinite; }
.lbl__card { position: absolute; left: 14px; bottom: 12px; display: grid; grid-template-columns: auto 1fr; column-gap: 9px; align-items: center; padding: 9px 14px 9px 10px; border-radius: 14px; white-space: nowrap; background: rgba(255,255,255,0.92); box-shadow: 0 10px 30px -10px rgba(0,69,82,0.45); border: 1px solid rgba(255,255,255,0.9); }
.lbl__card::before { content: ''; position: absolute; left: -9px; bottom: -8px; width: 12px; height: 1.5px; background: rgba(0,69,82,0.5); transform: rotate(-45deg); transform-origin: right; }
.lbl__card i { grid-row: span 2; font-style: normal; font-size: 18px; width: 32px; height: 32px; display: grid; place-items: center; border-radius: 10px; background: #fff6df; }
.lbl__card b { font: 700 13px var(--font-display); color: var(--teal); }
.lbl__card small { font-size: 11.5px; color: var(--muted); }
@keyframes lblPulse { 50% { box-shadow: 0 0 0 10px rgba(255,201,60,0.12); } }

@media (max-width: 900px) {
  .story-step { align-items: flex-end; padding-bottom: 40px; }
  .story-card { max-width: none; }
  .story-card__points { display: none; }
  .lbl__card { padding: 7px 10px 7px 8px; }
  .lbl__card small { display: none; }
}
.home .clean .clean__inner { max-width: 900px; margin: 0 auto; padding: clamp(32px, 5vw, 60px); border-radius: 32px; background: rgba(255, 255, 255, 0.74); backdrop-filter: blur(16px) saturate(1.3); -webkit-backdrop-filter: blur(16px) saturate(1.3); box-shadow: var(--shadow-lg); border: 1px solid rgba(255,255,255,0.9); }
.home .clean .clean__title { font-size: clamp(2.4rem, 5.6vw, 5rem); }

/* =====================================================================
   PHOTOGRAPHIC HERO — real photos (or video) with slow cinematic motion
   ===================================================================== */
.hero--photo { isolation: isolate; overflow: hidden; }
.hero__media { position: absolute; inset: 0; z-index: -1; background: #cfe6f5; will-change: transform; }
.hero__slide, .hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background-size: cover; background-position: 68% center; }
.hero__slide { opacity: 0; transform: scale(1.14); transition: opacity 1.6s ease, transform 9s cubic-bezier(0.25, 0.1, 0.25, 1); }
.hero__slide.is-active { opacity: 1; transform: scale(1.02); }
.hero__shade { position: absolute; inset: 0; background:
  linear-gradient(90deg, rgba(246,250,252,0.94) 0%, rgba(246,250,252,0.82) 30%, rgba(246,250,252,0.25) 58%, rgba(246,250,252,0) 75%),
  linear-gradient(to bottom, rgba(246,250,252,0.55) 0%, rgba(246,250,252,0) 22%, rgba(246,250,252,0) 78%, rgba(0,69,82,0.18) 100%); }
.hero__flare { position: absolute; right: 6%; top: -12%; width: 52vw; height: 52vw; max-width: 760px; max-height: 760px; border-radius: 50%; mix-blend-mode: screen; pointer-events: none;
  background: radial-gradient(circle, rgba(255,236,180,0.85) 0%, rgba(255,201,60,0.35) 22%, rgba(255,201,60,0.08) 45%, transparent 65%); animation: flare 7s ease-in-out infinite alternate; }
@keyframes flare { from { transform: translate(0, 0) scale(1); opacity: 0.85; } to { transform: translate(-3%, 4%) scale(1.08); opacity: 1; } }
.hero--photo .hero__title { text-shadow: 0 2px 24px rgba(255,255,255,0.75); }
.hero__dots { position: absolute; right: var(--gutter); bottom: 34px; display: flex; gap: 8px; z-index: 2; }
.hero__dots i { width: 46px; height: 3px; border-radius: 3px; background: rgba(255,255,255,0.55); overflow: hidden; box-shadow: 0 1px 4px rgba(0,0,0,0.15); }
.hero__dots i b { display: block; height: 100%; width: 100%; background: var(--yellow); transform: scaleX(0); transform-origin: left; }
.hero__dots i.is-active b { animation: dotfill 6.5s linear forwards; }
@keyframes dotfill { to { transform: scaleX(1); } }
@media (max-width: 900px) {
  .hero__slide, .hero__video { background-position: 60% center; }
  .hero__shade { background: linear-gradient(to bottom, rgba(246,250,252,0.35) 0%, rgba(246,250,252,0.55) 35%, rgba(246,250,252,0.9) 70%, rgba(246,250,252,0.96) 100%); }
  .hero__flare { width: 90vw; height: 90vw; right: -20%; top: -20%; }
  .hero__dots { bottom: 18px; }
}
@media (prefers-reduced-motion: reduce) { .hero__slide { transform: none; } }

/* =====================================================================
   FRAMED IMMERSIVE HOMEPAGE (rounded viewport + notched logo tab)
   ===================================================================== */
body.home { background: #fff; --frame: 12px; --frame-r: 28px; --tab-h: 78px; }
.frame-mask { position: fixed; inset: var(--frame); border-radius: var(--frame-r); box-shadow: 0 0 0 80px #fff; pointer-events: none; z-index: 70; }
.home .site-header { top: var(--frame); left: var(--frame); right: var(--frame); height: var(--tab-h); }
.home .site-header.is-solid { background: none; border-color: transparent; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; --header-h: var(--tab-h); }
.home .site-header.is-tucked { transform: none; }
.home .header__row { max-width: none; padding: 0 18px 0 0; }
.home .site-header .brand { position: relative; align-self: flex-start; height: var(--tab-h); padding: 0 30px 0 22px; background: #fff; border-bottom-right-radius: var(--frame-r); }
.home .site-header .brand::before, .home .site-header .brand::after { content: ''; position: absolute; width: var(--frame-r); height: var(--frame-r);
  background: radial-gradient(circle at 100% 100%, transparent calc(var(--frame-r) - 0.5px), #fff var(--frame-r)); }
.home .site-header .brand::before { top: 0; right: calc(var(--frame-r) * -1); }
.home .site-header .brand::after { left: 0; bottom: calc(var(--frame-r) * -1); }
.home .site-header.is-solid .brand__img { height: 48px; }
.home .world__vignette { background: linear-gradient(to bottom, rgba(246,250,252,0.7) 0%, rgba(246,250,252,0) 26%, rgba(246,250,252,0) 68%, rgba(246,250,252,0.55) 100%); }
.home .world .hero__media { z-index: 1; transform-origin: 60% 40%; }
.home .world__grain { z-index: 2; }

/* hero photos: smooth crossfade + one continuous slow zoom (no restarts) */
.hero__slide { transform: none; transition: opacity 2.4s cubic-bezier(0.4, 0, 0.2, 1); animation: kenburns 26s ease-in-out infinite alternate; }
.hero__slide.is-active { transform: none; }
@keyframes kenburns { from { transform: scale(1.02) translate3d(0, 0, 0); } to { transform: scale(1.12) translate3d(-1.5%, -1%, 0); } }

/* story = pinned scenes: title at the top, frosted caption at the bottom */
.story-step { display: block; height: 210vh; min-height: 0; padding: 0; pointer-events: none; }
.story-pin { position: sticky; top: 0; height: 100vh; height: 100svh; }
.story-pin__inner { height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: space-between; padding: calc(var(--tab-h) + 40px) var(--gutter) 46px; text-align: center; }
.story-head { max-width: 900px; }
.story-head__step { display: inline-flex; align-items: center; gap: 12px; margin: 0 0 16px; padding: 7px 16px 7px 7px; border-radius: 999px; background: rgba(255,255,255,0.78); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); font: 600 12px var(--font-display); letter-spacing: 0.18em; text-transform: uppercase; color: var(--teal-2); box-shadow: var(--shadow-sm); }
.story-head__step span { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--grad-sun); color: #3a2800; letter-spacing: 0; font-size: 12px; }
.story-head h2 { font-size: clamp(2.1rem, 4.6vw, 4rem); font-weight: 700; letter-spacing: -0.035em; line-height: 1.05; text-shadow: 0 2px 30px rgba(255,255,255,0.9), 0 0 2px rgba(255,255,255,0.6); }
.story-caption { pointer-events: auto; max-width: 780px; width: 100%; padding: 22px 28px 18px; border-radius: 24px; background: rgba(255,255,255,0.8); backdrop-filter: blur(16px) saturate(1.3); -webkit-backdrop-filter: blur(16px) saturate(1.3); border: 1px solid rgba(255,255,255,0.9); box-shadow: var(--shadow); }
.story-caption__text { margin: 0 0 12px; color: #2b4a52; font-size: 1rem; line-height: 1.6; }
.story-caption__points { list-style: none; margin: 0 0 14px; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 18px; }
.story-caption__points li { display: inline-flex; align-items: center; gap: 6px; font: 600 13px var(--font-display); color: var(--teal); }
.story-caption__points li .ico { color: var(--leaf); }
.story-caption .flowline { justify-content: center; padding-top: 12px; }

@media (max-width: 900px) {
  body.home { --frame: 8px; --frame-r: 20px; --tab-h: 64px; }
  .home .site-header .brand { padding: 0 18px 0 14px; }
  .home .brand__img, .home .site-header.is-solid .brand__img { height: 38px; }
  .story-pin__inner { padding: calc(var(--tab-h) + 26px) 16px 26px; }
  .story-caption { padding: 16px 18px 14px; }
  .story-caption__points, .story-caption .flowline { display: none; }
}

/* hero → 3D curtain lift (scroll-scrubbed via --wipe) */
.home .world .hero__media { --wipe: 115%; opacity: 1;
  -webkit-mask-image: linear-gradient(to bottom, #000 calc(var(--wipe) - 14%), transparent var(--wipe));
          mask-image: linear-gradient(to bottom, #000 calc(var(--wipe) - 14%), transparent var(--wipe)); }
.home .world { background: #b9dcf2; }

/* statement over the photo-real world: frosted panel for legibility */
.home .statement { background: none; }
.home .statement .container { max-width: 1100px; padding: clamp(28px, 4vw, 52px); border-radius: 30px; background: rgba(255,255,255,0.78); backdrop-filter: blur(16px) saturate(1.3); -webkit-backdrop-filter: blur(16px) saturate(1.3); box-shadow: var(--shadow); border: 1px solid rgba(255,255,255,0.9); }
.home .statement__text .sw { opacity: 0.25; }

/* =====================================================================
   HERO — Ecosphere introduction: title + description + about card
   ===================================================================== */
.hero--about { align-items: center; padding: calc(var(--tab-h, 84px) + 46px) 0 90px; }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: clamp(30px, 4vw, 70px); align-items: center; }
.hero--about .hero__title { font-size: clamp(2.6rem, 5.6vw, 5.6rem); max-width: 14ch; margin-bottom: 26px; }
.hero--about .hero__lead { max-width: 620px; margin-bottom: 30px; font-size: clamp(1rem, 1.15vw, 1.1rem); line-height: 1.7; }
.hero--about .hero__eyebrow { margin-bottom: 22px; }
.hero__about { padding: 26px 26px 22px; border-radius: 26px; display: grid; gap: 16px; background: rgba(255,255,255,0.84); }
.hero__stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.hero__stats b { display: block; font: 700 clamp(1.6rem, 2.4vw, 2.2rem)/1 var(--font-display); color: var(--teal); }
.hero__stats b em { font-style: normal; color: var(--gold); }
.hero__stats span { display: block; font-size: 12px; color: var(--muted); margin-top: 6px; line-height: 1.35; }
.hero__about-item { display: grid; grid-template-columns: 38px 1fr; gap: 12px; align-items: start; }
.hero__about-ico { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: #fff6df; color: var(--gold-2); }
.hero__about-item:nth-of-type(3) .hero__about-ico { background: #e3f3fd; color: var(--sky); }
.hero__about-item:nth-of-type(4) .hero__about-ico { background: #e4f6ec; color: var(--leaf); }
.hero__about-item h3 { font-size: 0.98rem; margin: 2px 0 4px; }
.hero__about-item p { margin: 0; font-size: 0.88rem; line-height: 1.55; color: #3c5a62; }
.hero__values { display: flex; flex-wrap: wrap; gap: 8px; padding-top: 14px; border-top: 1px solid var(--line); }
.hero__values span { display: inline-flex; align-items: center; gap: 7px; padding: 7px 13px; border-radius: 999px; background: rgba(0,69,82,0.06); font: 600 12.5px var(--font-display); color: var(--teal); }
.hero__values em { font-style: normal; font-size: 10.5px; color: var(--gold-2); }
.home .hero__media .hero__shade { background:
  linear-gradient(90deg, rgba(246,250,252,0.95) 0%, rgba(246,250,252,0.86) 34%, rgba(246,250,252,0.35) 62%, rgba(246,250,252,0.2) 100%),
  linear-gradient(to bottom, rgba(246,250,252,0.5) 0%, rgba(246,250,252,0) 24%); }
@media (max-width: 1100px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__about { max-width: 640px; }
}
@media (max-width: 640px) {
  .hero--about { padding-top: calc(var(--tab-h, 64px) + 30px); }
  .hero__about { padding: 20px 18px; }
  .hero__about-item p { font-size: 0.85rem; }
}
.hero--about .hero__title { font-size: clamp(2.3rem, 4.3vw, 4.6rem); max-width: none; line-height: 1.02; }
.hero--about .hero__title .word { white-space: nowrap; overflow-wrap: normal; word-break: keep-all; }

/* =====================================================================
   PHOTO STORY — 4 steps, real photos (crossfade + scroll zoom) + animated diagrams
   ===================================================================== */
.home .world { background: #dfeaf0; }
.backdrop { position: absolute; inset: 0; z-index: 2; background-size: cover; background-position: center; opacity: 0; transform: scale(1.06); transition: opacity 1.3s cubic-bezier(0.4, 0, 0.2, 1); will-change: opacity, transform; }
.backdrop.is-active { opacity: 1; }
.backdrop-shade { position: absolute; inset: 0; z-index: 3; pointer-events: none; opacity: 0; transition: opacity 1.3s; background: linear-gradient(90deg, rgba(246,250,252,0.55) 0%, rgba(246,250,252,0.1) 45%, rgba(0,40,50,0.05) 100%), linear-gradient(to bottom, rgba(0,30,40,0.0) 60%, rgba(0,30,40,0.25) 100%); }
.world.has-backdrop .backdrop-shade { opacity: 1; }
.home .world__grain { z-index: 4; }

.story-intro { padding: clamp(90px, 14vh, 140px) 0 10px; background: linear-gradient(to bottom, var(--bg), rgba(246,250,252,0.9) 70%, rgba(246,250,252,0)); }
.story-step { height: 150vh; height: 150svh; display: block; padding: 0; min-height: 0; pointer-events: none; }
.story-pin { position: sticky; top: 0; height: 100vh; height: 100svh; display: flex; align-items: center; }
.story-pin__grid { display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); gap: clamp(20px, 3vw, 44px); align-items: center; padding-top: calc(var(--tab-h, 78px) + 10px); }
.story-card { pointer-events: auto; padding: clamp(26px, 3vw, 40px); border-radius: 28px; background: rgba(255,255,255,0.86); max-width: 560px; }
.story-card__step { display: flex; align-items: center; gap: 12px; margin: 0 0 16px; font: 600 12px var(--font-display); letter-spacing: 0.18em; text-transform: uppercase; color: var(--teal-2); }
.story-card__step span { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--grad-sun); color: #3a2800; letter-spacing: 0; font-size: 13px; }
.story-card__step em { font-style: normal; color: var(--dim); letter-spacing: 0.1em; }
.story-card h2 { font-size: clamp(1.8rem, 3vw, 2.7rem); font-weight: 700; letter-spacing: -0.03em; margin-bottom: 14px; }
.story-card__text { color: #35525a; font-size: 1.02rem; line-height: 1.65; }
.story-card__points { list-style: none; padding: 0; margin: 8px 0 0; display: grid; gap: 10px; }
.story-card__points li { display: flex; gap: 10px; font-size: 0.94rem; color: #2b4a52; line-height: 1.5; }
.story-card__points li .ico { color: var(--leaf); margin-top: 3px; }
.story-card__points b { color: var(--teal); }

/* on-grid / off-grid / hybrid tabs */
.sys-tabs { display: inline-flex; gap: 4px; padding: 5px; border-radius: 999px; background: rgba(0,69,82,0.07); margin: 6px 0 14px; }
.sys-tab { padding: 9px 18px; border-radius: 999px; font: 600 13.5px var(--font-display); color: var(--teal); transition: background 0.35s, color 0.35s, box-shadow 0.35s; position: relative; overflow: hidden; }
.sys-tab.is-active { background: #fff; box-shadow: var(--shadow-sm); color: var(--teal); }
.sys-tab.is-active::after { content: ''; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px; border-radius: 2px; background: var(--gold); transform-origin: left; animation: tabfill 4s linear forwards; }
.sys-tabs.is-manual .sys-tab::after { animation: none; transform: scaleX(1); }
@keyframes tabfill { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.sys-panels { display: grid; }
.sys-panel { grid-area: 1 / 1; margin: 0; color: #2b4a52; font-size: 0.98rem; line-height: 1.6; opacity: 0; transform: translateY(8px); transition: opacity 0.5s, transform 0.5s var(--ease); }
.sys-panel.is-active { opacity: 1; transform: none; }

/* animated energy-flow diagram */
.flow-card { padding: clamp(18px, 2.4vw, 30px); border-radius: 28px; background: rgba(255,255,255,0.8); max-width: 600px; justify-self: end; width: 100%; }
.flow { width: 100%; height: auto; display: block; overflow: visible; }
.flow .e { fill: none; stroke: rgba(0,69,82,0.14); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 2 7; transition: stroke 0.5s, stroke-width 0.5s; }
.flow .dot { opacity: 0; transition: opacity 0.5s; }
.flow .n-ring { fill: none; stroke: rgba(0,69,82,0.12); stroke-width: 2; transition: stroke 0.5s; }
.flow .n-bg { fill: #f2f6f8; transition: fill 0.5s; }
.flow .n .ico { color: #93a6ad; transition: color 0.5s; }
.flow .n-lbl { font: 600 11.5px var(--font-display); fill: #6b8189; transition: fill 0.5s; }
.flow .n-x { stroke: #e04848; stroke-width: 3.2; stroke-linecap: round; opacity: 0; transition: opacity 0.4s; }
/* active edges: colour + flowing dash + moving dots */
.flow .e.on { stroke-width: 4; stroke-dasharray: 9 9; animation: flowdash 0.9s linear infinite; }
.flow .dot.on { opacity: 1; }
@keyframes flowdash { to { stroke-dashoffset: -18; } }
.flow .n.on .n-bg { fill: #fff; }
.flow .n.on .n-ring { stroke: var(--gold); }
.flow .n.on .ico { color: var(--teal); }
.flow .n.on .n-lbl { fill: var(--teal); }
.flow .e-sun.on, .flow .e-pv.on { stroke: #f5a623; } .flow .d-sun, .flow .d-pv { fill: #f5a623; }
.flow .e-home.on, .flow .e-bh.on { stroke: #e8a90c; } .flow .d-home, .flow .d-bh { fill: #ffb800; }
.flow .e-bat.on { stroke: #2fa86a; } .flow .d-bat { fill: #2fa86a; }
.flow .e-ev.on { stroke: #2fa86a; } .flow .d-ev { fill: #2fa86a; }
.flow .e-grid.on { stroke: #3aa8e8; } .flow .d-grid { fill: #3aa8e8; }
.flow .n-sun.on .ico { color: #f5a623; }
.flow[data-mode="offgrid"] .n-grid .n-x { opacity: 1; }
.flow[data-mode="offgrid"] .n-grid .n-ring { stroke: #e04848; }

@media (max-width: 900px) {
  .story-step { height: 170vh; }
  .story-pin__grid { grid-template-columns: 1fr; gap: 12px; padding-top: calc(var(--tab-h, 64px) + 6px); }
  .story-card { padding: 20px 18px; max-width: none; }
  .story-card h2 { font-size: 1.5rem; }
  .story-card__text { font-size: 0.92rem; margin-bottom: 8px; }
  .story-card__points { display: none; }
  .flow-card { padding: 12px; justify-self: stretch; max-width: none; }
}

/* hero: calm, still photos with a soft crossfade (no zoom / pan / drift) */
.hero__slide, .hero__slide.is-active { animation: none !important; transform: none !important; transition: opacity 2.2s ease-in-out; }
.hero__flare { animation: none; opacity: 0.85; }
.hero__dots i.is-active b { animation-duration: 7s; }

/* =====================================================================
   SOLAR STORY — day to night (merged from the "Ecosphere New site"), light theme
   ===================================================================== */
.solar-story { position: relative; z-index: 1; background: linear-gradient(180deg, #eef6f9 0%, #f6fafc 100%); padding: clamp(4rem, 8vw, 7rem) 0; overflow-x: clip; }
.solar-story__inner { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; }
.solar-story__title { font-size: clamp(2rem, 1rem + 2.8vw, 3.4rem); font-weight: 700; line-height: 1.04; letter-spacing: -.03em; color: var(--teal); margin-bottom: clamp(1.25rem, 3vh, 2rem); text-wrap: balance; }
.solar-story__steps { display: grid; gap: 1.1rem; list-style: none; margin: 0; padding: 0; }
.solar-story__step { display: grid; grid-template-columns: auto 1fr; column-gap: 1rem; align-items: start; }
.solar-story__step h3 { font-size: 1.2rem; font-weight: 700; color: var(--teal); line-height: 1.25; margin-top: .35rem; }
.solar-story__step p { grid-column: 2; color: var(--muted); max-width: 36ch; margin: .3rem 0 0; }
.solar-story__num { grid-row: span 2; display: inline-grid; place-items: center; width: 2.4rem; height: 2.4rem; border-radius: 50%; background: var(--grad-sun); color: #3a2800; font: 700 15px var(--font-display); box-shadow: 0 8px 18px -8px rgba(245,166,35,.8); }
.solar-story__dots { display: none; }
.solar-story__stage { position: relative; }
.eh-scene { display: block; width: 100%; height: auto; aspect-ratio: 1200 / 680; border-radius: 26px; box-shadow: var(--shadow-lg); background: #cfeaf6; }
.solar-story__bar { height: 3px; margin-top: .9rem; background: rgba(0,69,82,.1); border-radius: 2px; overflow: hidden; }
.solar-story__bar span { display: block; height: 100%; background: linear-gradient(90deg, var(--yellow), var(--gold), var(--leaf)); transform-origin: left; transform: scaleX(1); }

.eh-scene .st-hills-far { fill: #6aa65c; }
.eh-scene .st-hills { fill: #4f8f45; }
.eh-scene .st-ground { fill: #3f7d3a; }
.eh-scene .st-road { fill: #4a514d; }
.eh-scene .st-roadline { stroke: #e6e0c6; stroke-width: 3; stroke-dasharray: 28 22; opacity: .6; fill: none; }
.eh-scene .st-palm path { fill: #2d5e30; }
.eh-scene .st-palm .st-trunk { fill: none; stroke: #5a4632; stroke-width: 9; stroke-linecap: round; }
.eh-scene .st-wall { fill: #f6f2ea; }
.eh-scene .st-roof { fill: #b2512f; }
.eh-scene .st-fascia { stroke: #5a2a17; stroke-width: 6; }
.eh-scene .st-panel { fill: #1c3260; stroke: #c9d5e8; stroke-width: 1.2; }
.eh-scene .st-cell { stroke: rgba(170, 195, 235, .45); stroke-width: 1; fill: none; }
.eh-scene .st-glint { fill: url(#st-sunglow); opacity: 0; mix-blend-mode: screen; }
.eh-scene .st-win { fill: #2f3d45; }
.eh-scene .st-door { fill: #7a4b2c; }
.eh-scene .st-knob { fill: #e0b453; }
.eh-scene .st-step { fill: #c9c2b4; }
.eh-scene .st-inv { fill: #eef1f0; stroke: #9aa7a0; }
.eh-scene .st-led { fill: #49544f; transition: fill .4s; }
.eh-scene .st-led.is-on { fill: #4bbb7c; }
.eh-scene .st-bat { fill: #004552; stroke: #00313b; stroke-width: 2; }
.eh-scene .st-bat__cap { fill: #004552; }
.eh-scene .st-bat__fill { fill: #4bbb7c; transform-box: fill-box; transform-origin: 50% 100%; }
.eh-scene .st-post { fill: #eef1f0; stroke: #9aa7a0; }
.eh-scene .st-post__screen { fill: #2b3933; transition: fill .4s; }
.eh-scene .st-post__screen.is-on { fill: #4bbb7c; }
.eh-scene .st-car__body { fill: #f4f6f5; stroke: #9aa7a0; stroke-width: 1.5; }
.eh-scene .st-car__glass { fill: #2e4458; }
.eh-scene .st-car__wheel { fill: #1b2220; }
.eh-scene .st-car__hub { fill: #9aa7a0; }
.eh-scene .st-carbar { fill: rgba(0, 0, 0, .35); stroke: rgba(255, 255, 255, .7); stroke-width: 1.5; }
.eh-scene .st-carbar__fill { fill: #4bbb7c; transform-box: fill-box; transform-origin: 0 50%; }
.eh-scene .st-bolt { fill: #ffc93c; }
.eh-scene .st-shade { fill: #050c1c; }
.eh-scene .st-read { fill: #fff; font: 700 20px var(--font-display); paint-order: stroke; stroke: rgba(0, 0, 0, .35); stroke-width: 3px; }
.eh-scene .st-read--sm { font-size: 14px; font-weight: 600; }
.eh-scene .st-rays line { stroke: #ffe08a; stroke-width: 3; stroke-linecap: round; stroke-dasharray: 4 16; opacity: 0; animation: st-flowdash 1s linear infinite; }
.eh-scene .st-rays.is-on line { opacity: .9; }
.eh-scene .st-flow { fill: none; stroke: #ffd36b; stroke-width: 4; stroke-linecap: round; stroke-dasharray: 4 14; opacity: 0; transition: opacity .4s; filter: drop-shadow(0 0 4px rgba(255, 200, 90, .9)); }
.eh-scene .st-flow.is-on { opacity: 1; animation: st-flowdash 1s linear infinite; }
@keyframes st-flowdash { to { stroke-dashoffset: -18; } }
.eh-scene .st-light { opacity: 0; }
.eh-scene .st-cloud--a { transform: translate(380px, 120px); animation: st-cloud-a 60s linear infinite; }
.eh-scene .st-cloud--b { transform: translate(860px, 80px); animation: st-cloud-b 80s linear infinite; opacity: .85; }
@keyframes st-cloud-a { from { transform: translate(-120px, 120px); } to { transform: translate(1320px, 120px); } }
@keyframes st-cloud-b { from { transform: translate(-120px, 80px); } to { transform: translate(1320px, 80px); } }
.eh-scene .st-clouds { transition: opacity .6s; }

/* static fallback (no JS / reduced motion): the evening scene, fully powered */
.solar-story:not(.is-live) .st-night { opacity: .85; }
.solar-story:not(.is-live) .st-stars, .solar-story:not(.is-live) .st-moon { opacity: 1; }
.solar-story:not(.is-live) .st-shade { opacity: .45; }
.solar-story:not(.is-live) .st-light { opacity: 1; }
.solar-story:not(.is-live) .st-sun, .solar-story:not(.is-live) .st-clouds { opacity: 0; }
.solar-story:not(.is-live) .st-bat__fill { transform: scaleY(.7); }

/* live: pinned, one caption at a time */
.solar-story.is-live { min-height: 100vh; min-height: 100svh; display: flex; align-items: center; padding: calc(var(--tab-h, 78px) + 1.5rem) 0 2rem; }
.solar-story.is-live .solar-story__steps { position: relative; display: block; min-height: 9.5rem; }
.solar-story.is-live .solar-story__step { position: absolute; inset: 0 0 auto 0; opacity: 0; transform: translateY(14px); transition: opacity .45s, transform .45s var(--ease); }
.solar-story.is-live .solar-story__step.is-active { opacity: 1; transform: none; }
.solar-story.is-live .solar-story__dots { display: flex; gap: .45rem; margin-top: 1rem; }
.solar-story__dots span { width: 26px; height: 3px; border-radius: 2px; background: rgba(0,69,82,.15); transition: background-color .3s, width .3s; }
.solar-story__dots span.is-on { background: var(--gold); width: 44px; }
.solar-story.is-live .solar-story__bar span { transform: scaleX(0); }

@media (max-width: 900px) {
  .solar-story__inner { grid-template-columns: 1fr; }
  .solar-story__stage { order: -1; }
  .solar-story.is-live { padding-top: calc(var(--tab-h, 64px) + .75rem); }
  .solar-story.is-live .eh-scene { max-height: 46vh; aspect-ratio: auto; }
  .solar-story.is-live .solar-story__steps { min-height: 7.5rem; }
  .solar-story__title { margin-bottom: .8rem; }
}
@media (prefers-reduced-motion: reduce) { .eh-scene .st-cloud--a, .eh-scene .st-cloud--b { animation: none; } }

/* team: cards link to the director pages */
a.member { display: block; color: inherit; transition: transform .5s var(--ease), box-shadow .4s; }
a.member:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.member--lg .member__photo { aspect-ratio: 4/4.6; }
.member-detail { align-items: center; }

/* =====================================================================
   3D HERO (scene from the "Ecosphere New site"); the photo slides stay as the fallback
   ===================================================================== */
.hero__scene { position: absolute; inset: 0; z-index: 1; opacity: 0; transition: opacity 1.4s ease; pointer-events: none; }
.hero__scene canvas { display: block; width: 100%; height: 100%; }
.hero__scene.is-off { display: none; }
.hero__media.has-3d .hero__scene { opacity: 1; }
.hero__media.has-3d .hero__flare { display: none; }
.hero__media .hero__shade { z-index: 2; position: absolute; }
body.has-3d-hero .hero__dots { display: none; }
@media (max-width: 900px) {
  /* on phones the copy stacks over the scene; keep a stronger wash for legibility */
  .hero__media.has-3d .hero__shade { background: linear-gradient(to bottom, rgba(246,250,252,0.55) 0%, rgba(246,250,252,0.75) 45%, rgba(246,250,252,0.92) 100%); }
}
.hero__media.has-3d .hero__slide, .hero__media.has-3d .hero__video { opacity: 0 !important; }
/* with the 3D live, a lighter wash so the house reads through while the copy stays legible */
@media (min-width: 901px) {
  .hero__media.has-3d .hero__shade { background:
    linear-gradient(90deg, rgba(246,250,252,0.78) 0%, rgba(246,250,252,0.5) 30%, rgba(246,250,252,0.08) 55%, rgba(246,250,252,0) 70%),
    linear-gradient(to bottom, rgba(246,250,252,0.4) 0%, rgba(246,250,252,0) 20%); }
}
.has-3d-hero .hero--about .hero__title { text-shadow: 0 2px 18px rgba(255,255,255,0.95), 0 0 2px rgba(255,255,255,0.8); }
.has-3d-hero .hero--about .hero__lead { background: rgba(255,255,255,0.78); }
.has-3d-hero .hero--about .hero__eyebrow { text-shadow: 0 1px 10px rgba(255,255,255,1), 0 0 2px rgba(255,255,255,0.9); }

/* =====================================================================
   FOOTER WORDMARK — full word always visible, letters rise in, gold shimmer, hover lift
   ===================================================================== */
.footer__word {
  display: flex; justify-content: center; gap: 0; overflow: hidden;
  font: 800 clamp(54px, 13.2vw, 230px)/0.86 var(--font-display); letter-spacing: -0.035em;
  padding: 0.04em var(--gutter) 0.14em; margin: 0; white-space: nowrap; -webkit-user-select: none; user-select: none;
  color: transparent; -webkit-text-stroke: 0;
}
.footer__word span {
  display: inline-block; position: relative; cursor: default;
  background: linear-gradient(100deg, rgba(255,255,255,0.10) 0%, rgba(255,255,255,0.10) 40%, rgba(255,201,60,0.85) 50%, rgba(126,224,168,0.55) 56%, rgba(255,255,255,0.10) 66%, rgba(255,255,255,0.10) 100%);
  background-size: 300% 100%; background-position: calc(100% - var(--i) * 4%) 0;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  -webkit-text-stroke: 1.5px rgba(255,255,255,0.28);
  animation: wordShine 5s cubic-bezier(.45,0,.25,1) infinite; animation-delay: calc(var(--i) * 0.12s);
  transition: transform .5s var(--ease), -webkit-text-stroke-color .4s;
}
.footer__word span:hover { transform: translateY(-8%); -webkit-text-stroke-color: rgba(255,201,60,0.9); }
@keyframes wordShine { 0% { background-position: 100% 0; } 55%, 100% { background-position: 0% 0; } }
@media (max-width: 640px) { .footer__word { padding: 0 10px 0.06em; } .footer__word span { -webkit-text-stroke-width: 1px; } }

/* 3D photo hero: a lighter wash so the real photo stays vivid (the copy has its own white panels/glow) */
.hero__media.has-3d.is-photo3d .hero__shade { background:
  linear-gradient(90deg, rgba(246,250,252,0.62) 0%, rgba(246,250,252,0.3) 32%, rgba(246,250,252,0) 52%),
  linear-gradient(to bottom, rgba(246,250,252,0.35) 0%, rgba(246,250,252,0) 18%); }
@media (max-width: 900px) {
  .hero__media.has-3d.is-photo3d .hero__shade { background: linear-gradient(to bottom, rgba(246,250,252,0.4) 0%, rgba(246,250,252,0.5) 45%, rgba(246,250,252,0.75) 100%); }
}

/* =====================================================================
   HERO LAYOUT (wide screens): headline in a narrow left column, About as a slim strip
   along the bottom — so the solar roof in the photo stays visible in the open upper-right
   ===================================================================== */
@media (min-width: 1101px) {
  .hero--about { min-height: 100svh; align-items: stretch; padding: calc(var(--tab-h, 84px) + 34px) 0 26px; }
  .hero--about .hero__grid { width: 100%; grid-template-columns: minmax(0, 0.4fr) minmax(0, 0.6fr); grid-template-rows: 1fr auto; gap: 22px 0; align-items: start; }
  .hero--about .hero__inner { grid-column: 1; grid-row: 1; }
  .hero--about .hero__title { font-size: clamp(2.3rem, 3.7vw, 4.2rem); }
  .hero--about .hero__lead { font-size: 0.98rem; line-height: 1.65; padding: 14px 18px; margin-bottom: 22px; }
  .hero--about .hero__eyebrow { margin-bottom: 16px; }
  .hero--about .hero__title { margin-bottom: 20px; }
  .hero__about { grid-column: 1 / -1; grid-row: 2; align-self: end;
    grid-template-columns: minmax(250px, 0.9fr) repeat(3, minmax(0, 1fr)); grid-template-rows: auto auto;
    grid-template-areas: "stats who vision mission" "values who vision mission";
    gap: 10px 26px; padding: 18px 24px; border-radius: 22px; background: rgba(255,255,255,0.86); }
  .hero__about .hero__stats { grid-area: stats; padding: 0 0 10px; }
  .hero__about .hero__values { grid-area: values; padding-top: 10px; gap: 6px; }
  .hero__about .hero__values span { padding: 5px 10px; font-size: 11.5px; }
  .hero__about .hero__about-item { padding-left: 22px; border-left: 1px solid var(--line); grid-template-columns: 32px 1fr; gap: 10px; }
  .hero__about .hero__about-item:nth-of-type(2) { grid-area: who; }
  .hero__about .hero__about-item:nth-of-type(3) { grid-area: vision; }
  .hero__about .hero__about-item:nth-of-type(4) { grid-area: mission; }
  .hero__about .hero__about-ico { width: 32px; height: 32px; border-radius: 10px; }
  .hero__about .hero__about-item p { font-size: 0.84rem; line-height: 1.5; }
  .hero--about .scroll-cue { display: none; }
  /* the wash only needs to cover the narrow text column now */
  .hero__media.has-3d.is-photo3d .hero__shade { background:
    linear-gradient(90deg, rgba(246,250,252,0.6) 0%, rgba(246,250,252,0.3) 26%, rgba(246,250,252,0) 40%),
    linear-gradient(to bottom, rgba(246,250,252,0.3) 0%, rgba(246,250,252,0) 16%); }
}
@media (min-width: 1101px) {
  .hero--about .hero__grid { grid-template-columns: minmax(0, 0.45fr) minmax(0, 0.55fr); }
  .hero--about .hero__title { font-size: clamp(2.2rem, 3.25vw, 3.9rem); margin-bottom: 18px; }
  .hero--about .hero__actions { flex-wrap: nowrap; gap: 10px; }
  .hero--about .hero__actions .btn--lg { padding: 14px 22px; font-size: 0.95rem; }
  .hero--about .hero__actions .play-pill { flex: none; }
  .hero__about .hero__about-item p { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
}
/* shorter laptop screens: tighten further so the strip always fits on screen */
@media (min-width: 1101px) and (max-height: 820px) {
  .hero--about { padding-top: calc(var(--tab-h, 84px) + 20px); padding-bottom: 18px; }
  .hero--about .hero__title { font-size: clamp(2rem, 2.9vw, 3.4rem); margin-bottom: 14px; }
  .hero--about .hero__lead { font-size: 0.92rem; line-height: 1.55; padding: 11px 15px; margin-bottom: 16px; }
  .hero--about .hero__eyebrow { margin-bottom: 10px; }
  .hero__about { padding: 14px 20px; }
  .hero__about .hero__about-item p { -webkit-line-clamp: 2; }
}

/* where the 3D photo hero places the roof/panels on screen (read by assets/js/hero-photo3d.js) */
.hero__scene { --focus-x: 0.5; --focus-y: 0.23; }                 /* tablets & phones: roof in the open band at the top */
@media (min-width: 1101px) { .hero__scene { --focus-x: 0.72; --focus-y: 0.4; } }   /* wide: open upper-right */
/* tablets & phones: leave a band of photo above the headline so the solar roof is seen first */
@media (max-width: 1100px) {
  body.has-3d-hero .hero--about { padding-top: calc(var(--tab-h, 64px) + clamp(150px, 30vh, 300px)); }
}


/* ============ SUBSIDY ============ */
.subsidy { background: linear-gradient(180deg, var(--bg) 0%, #fff8e6 100%); }
.subsidy__grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(36px, 5vw, 80px); align-items: start; }
.subsidy__intro .muted { margin: 18px 0 28px; font-size: 17px; line-height: 1.7; }
.subsidy__intro { position: sticky; top: calc(var(--header-h) + 30px); }
.subsidy__cards { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.subsidy__card { position: relative; padding: 28px 26px 26px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.subsidy__card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.subsidy__no { display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: var(--grad-sun); color: #3a2800; font: 700 14px var(--font-display); margin-bottom: 16px; }
.subsidy__card h3 { font: 700 18px/1.3 var(--font-display); color: var(--teal); margin-bottom: 8px; }
.subsidy__card p { color: var(--muted); font-size: 15px; line-height: 1.65; }
.subsidy__note { grid-column: 1 / -1; display: flex; gap: 10px; align-items: flex-start; color: var(--muted); padding: 14px 18px; border-radius: var(--radius-sm); background: rgba(255,255,255,.7); border: 1px dashed var(--line-2); }
.subsidy__note svg { flex: none; margin-top: 2px; color: var(--gold-2); }
@media (max-width: 960px) { .subsidy__grid { grid-template-columns: 1fr; } .subsidy__intro { position: static; } }
@media (max-width: 560px) { .subsidy__cards { grid-template-columns: 1fr; } }

/* ============ BRANDS ============ */
.brands { background: #fff; }
.brands .section__head .muted { margin-top: 14px; }
.brands__group + .brands__group { margin-top: 34px; }
.brands__label { text-align: center; font: 600 12px var(--font-display); letter-spacing: .16em; text-transform: uppercase; color: var(--dim); margin-bottom: 16px; }
.brands__row { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.bcard { display: grid; place-items: center; min-width: 150px; height: 76px; padding: 0 26px; border-radius: 16px; background: var(--bg); border: 1px solid var(--line); transition: transform .4s var(--ease), box-shadow .4s var(--ease), background .4s; }
.bcard:hover { transform: translateY(-3px); background: #fff; box-shadow: var(--shadow); }
.bcard span { font: 800 19px var(--font-display); letter-spacing: .02em; color: var(--teal); white-space: nowrap; }
.bcard--logo { background: #fff; }
.bcard img { max-height: 46px; max-width: 150px; object-fit: contain; filter: grayscale(1) opacity(.6); transition: filter .4s var(--ease), transform .4s var(--ease); }
.bcard:hover img, .bcard:focus-within img { filter: none; transform: scale(1.06); }   /* logos turn to full colour on mouse over */
@media (hover: none) { .bcard img { filter: none; } }   /* phones have no mouse: always colour */
@media (max-width: 560px) { .bcard { min-width: calc(50% - 7px); height: 64px; padding: 0 14px; } .bcard span { font-size: 16px; } }

/* ============ GOOGLE REVIEWS ============ */
.stars { --r: 5; display: inline-block; font-size: 20px; line-height: 1; letter-spacing: 2px; background: linear-gradient(90deg, var(--gold) calc(var(--r) / 5 * 100%), #d8e2e6 0); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stars::before { content: '★★★★★'; }
.stars--sm { font-size: 16px; margin: -6px auto 14px; display: block; }
.greviews { display: inline-flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px 14px; margin-top: 22px; padding: 10px 12px 10px 10px; border-radius: 999px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.greviews__g, .gbadge i { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: conic-gradient(#ea4335 0 25%, #fbbc05 0 50%, #34a853 0 75%, #4285f4 0); color: #fff; font: 800 15px var(--font-display); font-style: normal; }
.greviews__score { font: 800 20px var(--font-display); color: var(--teal); }
.greviews__count { color: var(--muted); font-size: 14px; }
.greviews__link { padding: 7px 14px; border-radius: 999px; font: 600 13px var(--font-display); color: var(--teal); background: var(--bg-2); }
.greviews__link--sun { background: var(--yellow); color: #3a2800; }
.gbadge { display: inline-flex; align-items: center; gap: 7px; margin-left: 12px; padding: 5px 11px 5px 5px; border-radius: 999px; background: var(--bg-2); font: 600 12px var(--font-display); color: var(--teal); }
.gbadge i { width: 22px; height: 22px; font-size: 11px; }
.testi .section__head .muted { margin-top: 14px; }
/* review cards: 3 across (2 on tablets, 1 on phones); arrows, and one card moves every 5 seconds (assets/js/main.js) */
.trail { --gap: 22px; --per: 3; padding: 10px 0 0; }
.trail__view { container-type: inline-size; overflow: hidden; margin: 0 calc(-1 * var(--gap) / 2); padding: 6px 0 20px; }
.trail__track { display: flex; transition: transform 0.8s var(--ease); will-change: transform; }
.trail--static .trail__track { justify-content: center; }
.trail__nav { display: flex; justify-content: center; gap: 14px; margin-top: 8px; }
.trail__nav[hidden] { display: none; }
[dir="rtl"] .trail__nav .round-btn { transform: scaleX(-1); }
.tcard { --cw: calc(100cqw / var(--per) - var(--gap)); flex: 0 0 var(--cw); width: var(--cw); margin: 0 calc(var(--gap) / 2); display: flex; flex-direction: column; gap: 16px; padding: 26px 26px 22px; border-radius: 24px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease); }
.tcard:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.tcard[aria-hidden="true"] { opacity: 0; }
.tcard { transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), opacity 0.6s var(--ease); }
.tcard__top { display: flex; align-items: center; justify-content: space-between; }
.tcard__quote { color: var(--gold); opacity: 0.55; line-height: 0; }
.stars--card { font-size: 17px; }
.tcard blockquote { margin: 0; flex: 1; color: var(--teal); font-size: 1rem; line-height: 1.65; display: -webkit-box; -webkit-line-clamp: 6; -webkit-box-orient: vertical; overflow: hidden; }
.tcard figcaption { display: flex; align-items: center; gap: 12px; padding-top: 16px; border-top: 1px solid var(--line); }
.tcard figcaption img, .tcard .avatar { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; flex: none; }
.tcard .avatar { display: grid; place-items: center; background: var(--bg-2); color: var(--teal); font: 700 18px var(--font-display); }
.tcard__who { flex: 1; min-width: 0; }
.tcard__who b { display: block; font-family: var(--font-display); color: var(--teal); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-transform: capitalize; }
.tcard__who a { color: inherit; }
.tcard__who small { color: var(--muted); font-size: 13px; }
.tcard .gbadge { margin: 0; padding: 0; background: none; }
@media (max-width: 1100px) { .trail { --per: 2; } }
@media (max-width: 640px) { .trail { --per: 1; --gap: 14px; } }
@media (prefers-reduced-motion: reduce) { .trail__track { transition-duration: 0.25s; } }
.review-cta { max-width: 960px; margin: clamp(28px, 4vw, 44px) auto 0; display: grid; grid-template-columns: 1fr; gap: clamp(24px, 4vw, 48px); align-items: center; padding: clamp(28px, 4vw, 46px); border-radius: 30px; background: linear-gradient(135deg, #fff 0%, #fff8e8 100%); border: 1px solid var(--line); box-shadow: var(--shadow); }
.review-cta--qr { grid-template-columns: 1fr auto; }
.review-cta__score { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin-bottom: 16px; }
.review-cta h3 { font: 700 clamp(1.4rem, 2.4vw, 1.9rem)/1.2 var(--font-display); letter-spacing: -0.02em; color: var(--teal); margin: 0 0 10px; }
.review-cta__body > p { color: var(--muted); margin: 0; max-width: 520px; }
.review-cta__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.review-cta__qr { margin: 0; padding: 16px 16px 12px; border-radius: 22px; background: #fff; border: 1px solid var(--line); text-align: center; box-shadow: var(--shadow-sm); }
.review-cta__qr img { display: block; width: 180px; height: 180px; object-fit: contain; }
.review-cta__qr figcaption { margin-top: 10px; font: 600 13px var(--font-display); color: var(--teal); max-width: 180px; }
@media (max-width: 640px) {
  .review-cta--qr { grid-template-columns: 1fr; }
  .review-cta__qr { display: none; }
  .review-cta__actions .btn { width: 100%; justify-content: center; }
}

/* ============ FAQ ============ */
.faq { background: var(--bg); }
.faq__grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(36px, 5vw, 80px); align-items: start; }
.faq__head { position: sticky; top: calc(var(--header-h) + 30px); }
.faq__head .muted { margin-top: 16px; }
.faq__head a { color: var(--teal-2); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.faq__list { display: grid; gap: 12px; }
.faq__item { border-radius: var(--radius-sm); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); overflow: hidden; }
.faq__item summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 20px 22px; font: 600 16.5px/1.4 var(--font-display); color: var(--teal); }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary i { flex: none; position: relative; width: 28px; height: 28px; border-radius: 50%; background: var(--bg-2); transition: background .3s, transform .4s var(--ease); }
.faq__item summary i::before, .faq__item summary i::after { content: ''; position: absolute; left: 50%; top: 50%; width: 11px; height: 2px; margin: -1px 0 0 -5.5px; background: var(--teal); border-radius: 2px; }
.faq__item summary i::after { transform: rotate(90deg); transition: transform .4s var(--ease); }
.faq__item[open] summary i { background: var(--yellow); transform: rotate(180deg); }
.faq__item[open] summary i::after { transform: rotate(0deg); }
.faq__a { padding: 0 22px 22px; color: var(--muted); line-height: 1.7; font-size: 15.5px; }
@media (max-width: 960px) { .faq__grid { grid-template-columns: 1fr; } .faq__head { position: static; } }


/* ============ SOLAR STORY — photo mode ============ */
.story-photos { position: relative; aspect-ratio: 1200 / 680; border-radius: 26px; overflow: hidden; box-shadow: var(--shadow-lg); background: #cfeaf6; }
.story-photos__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.04); will-change: opacity, transform; }
.story-photos__img.is-on { opacity: 1; }
.solar-story.is-live .story-photos__img.is-on { opacity: 1; }
.story-photos__tag { position: absolute; left: 18px; bottom: 18px; padding: 8px 14px; border-radius: 999px; background: rgba(255,255,255,.88); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); font: 600 13px var(--font-display); color: var(--teal); box-shadow: var(--shadow-sm); }
@media (max-width: 960px) { .solar-story.is-live .story-photos { max-height: 46vh; aspect-ratio: auto; height: 46vh; } }

/* ============ HERO — stronger text readability over the photos ============ */
.has-3d-hero .hero--about .hero__eyebrow,
.hero--about .hero__eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px 7px 10px; border-radius: 999px;
  background: rgba(255,255,255,0.88); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); box-shadow: 0 4px 16px rgba(0,48,58,0.12); color: var(--teal); text-shadow: none; }
.has-3d-hero .hero--about .hero__title,
.hero--about .hero__title { text-shadow: 0 0 2px rgba(255,255,255,1), 0 2px 10px rgba(255,255,255,0.95), 0 4px 34px rgba(255,255,255,0.9); }
.hero--about .hero__title .word.grad > span { filter: drop-shadow(0 1px 1px rgba(0,48,58,0.35)) drop-shadow(0 4px 18px rgba(255,255,255,0.9)); }
.has-3d-hero .hero--about .hero__lead, .hero--about .hero__lead { background: rgba(255,255,255,0.86); color: #1f3d45; }
/* the photo wash: soft white behind the text column only, the rest of the photo stays vivid */
.hero__media.has-3d.is-photo3d .hero__shade,
.hero--about .hero__media .hero__shade { background:
  linear-gradient(90deg, rgba(246,250,252,0.82) 0%, rgba(246,250,252,0.6) 24%, rgba(246,250,252,0.18) 40%, rgba(246,250,252,0) 52%),
  linear-gradient(to bottom, rgba(246,250,252,0.4) 0%, rgba(246,250,252,0) 20%); }
@media (max-width: 900px) {
  .hero__media.has-3d.is-photo3d .hero__shade,
  .hero--about .hero__media .hero__shade { background: linear-gradient(to bottom, rgba(246,250,252,0.35) 0%, rgba(246,250,252,0.72) 30%, rgba(246,250,252,0.86) 60%, rgba(246,250,252,0.92) 100%); }
  .hero--about .hero__eyebrow { font-size: 10.5px; letter-spacing: 0.12em; }
}

/* ============ PHONE FIXES (mobile review) ============ */
@media (max-width: 640px) {
  /* footer wordmark: fit the whole word on narrow screens */
  .footer__word { font-size: 13.4vw; letter-spacing: -0.04em; }
  /* brands: a tidy 3-column logo grid instead of one long column */
  .brands__row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .bcard { min-width: 0; width: auto; height: 58px; padding: 0 8px; border-radius: 12px; }
  .bcard img { max-width: 100%; max-height: 30px; }
  .bcard span { font-size: 13px; white-space: normal; text-align: center; line-height: 1.15; }
  /* team: shorter cards so all directors fit in a couple of swipes */
  .team__grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .team__grid .member__photo { aspect-ratio: 4/4.4; }
  .team__grid .member__info { padding: 9px 11px; left: 8px; right: 8px; bottom: 8px; border-radius: 12px; }
  .team__grid .member__info h3 { font-size: 0.98rem; }
  .team__grid .member__info span { font-size: 0.78rem; }
}
@media (max-width: 640px) {
  /* About: core values two per row */
  .cards-4 { grid-template-columns: 1fr 1fr; gap: 12px; }
  .card--value { padding: 20px 14px; }
  .card--value h3 { font-size: 0.98rem; }
}


/* ============ HERO ABOUT STRIP — full text + link (no blank space under the columns) ============ */
.hero__about-item > div { display: flex; flex-direction: column; height: 100%; }
.hero__about-more { margin-top: 10px; display: inline-flex; align-items: center; gap: 6px; align-self: flex-start; font: 600 12.5px var(--font-display); color: var(--teal); text-decoration: none; padding: 6px 12px; border-radius: 999px; background: rgba(18,82,92,0.07); transition: background .2s, color .2s, gap .2s; }
.hero__about-more:hover { background: var(--teal); color: #fff; gap: 9px; }
.hero__about-more svg { flex: none; }
@media (min-width: 1101px) {
  .hero__about .hero__about-item p { display: block; -webkit-line-clamp: unset; overflow: visible; }
  .hero__about-more { margin-top: auto; }
  .hero__about .hero__about-item p { margin-bottom: 12px; }
}
@media (min-width: 1101px) and (max-height: 820px) {
  .hero__about .hero__about-item p { display: -webkit-box; -webkit-line-clamp: 4; overflow: hidden; margin-bottom: 8px; }
}

/* ============ SERVICE CARDS — 2 main services fill the row (no empty third slot) ============ */
@media (min-width: 901px) {
  .svc-grid:has(> :nth-child(2):last-child) { grid-template-columns: repeat(2, 1fr); }
  .svc-grid:has(> :nth-child(2):last-child) .svc-card__media { aspect-ratio: 16 / 8; }
}

/* ============ DESCRIPTION TEXT — justified on every page (centred headings and small labels keep their own alignment) ============ */
:where(main, .site-footer) p:not(.eyebrow, .hero__eyebrow, .brands__label, .clean__text, .story-photos__tag, .section__head--center p, .proj-card__info p, .cta-band__box p, .footer__contact p, .info-card p) { text-align: justify; text-justify: inter-word; hyphens: auto; -webkit-hyphens: auto; }


/* ============ HERO — text only, centred in the screen height; ABOUT US is now its own section ============ */
@media (min-width: 1101px) {
  .hero--about { align-items: center; padding-bottom: 60px; }
  .hero--about .hero__grid { grid-template-rows: auto; align-items: center; align-content: center; min-height: calc(100svh - var(--tab-h, 84px) - 94px); }
  .hero--about .hero__inner { align-self: center; }
  .hero--about .scroll-cue { display: flex; }
}
/* title, description and buttons share one left edge and one width */
.hero--about .hero__inner { display: flex; flex-direction: column; align-items: flex-start; }
.hero--about .hero__lead { width: 100%; box-sizing: border-box; }

.about-home { padding-top: clamp(56px, 7vw, 96px); padding-bottom: clamp(40px, 5vw, 72px); }
.about-home .section__head { margin-bottom: 28px; }
.about-home__panel { position: relative; max-width: none; }
@media (min-width: 1101px) {
  .about-home__panel.hero__about { grid-template-columns: minmax(300px, 1fr) repeat(3, minmax(0, 1fr)); padding: 26px 30px; gap: 14px 30px; box-shadow: var(--shadow); border: 1px solid var(--line); }
  .about-home__panel .hero__stats { gap: 18px; }
}
@media (max-width: 1100px) {
  .about-home__panel.hero__about { max-width: none; box-shadow: var(--shadow); border: 1px solid var(--line); }
}
/* About us section, wide screens: stats + core values on top, three roomy text columns below */
@media (min-width: 1101px) {
  .about-home__panel.hero__about { grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-areas: "stats stats values" "who vision mission"; gap: 0 34px; padding: 30px 34px 28px; }
  .about-home__panel .hero__stats { grid-template-columns: repeat(3, max-content); gap: 56px; padding: 0 0 22px; border-bottom: 1px solid var(--line); align-items: end; }
  .about-home__panel .hero__stats b { font-size: clamp(2.2rem, 3vw, 2.9rem); }
  .about-home__panel .hero__stats span { font-size: 13px; }
  .about-home__panel .hero__values { align-content: center; justify-content: flex-end; padding: 0 0 22px; border-top: 0; border-bottom: 1px solid var(--line); }
  .about-home__panel .hero__values span { padding: 7px 13px; font-size: 12.5px; }
  .about-home__panel .hero__about-item { padding: 24px 0 0 0; border-left: 0; grid-template-columns: 40px 1fr; gap: 14px; }
  .about-home__panel .hero__about-item + .hero__about-item { padding-left: 34px; border-left: 1px solid var(--line); }
  .about-home__panel .hero__about-ico { width: 40px; height: 40px; border-radius: 12px; }
  .about-home__panel .hero__about-item h3 { font-size: 1.12rem; }
  .about-home__panel.hero__about .hero__about-item p { font-size: 0.95rem; line-height: 1.65; display: block; -webkit-line-clamp: unset; overflow: visible; }
}


/* ============ CTA BAND — savings estimate fills the right side ============ */
.cta-band__box--calc { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, 420px); grid-template-areas: "text calc" "actions calc"; align-items: center; gap: 26px 48px; }
.cta-band__box--calc > div:first-child { grid-area: text; }
.cta-band__actions { grid-area: actions; align-self: start; }
.cta-calc { grid-area: calc; position: relative; padding: 24px 24px 20px; border-radius: 22px; background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.22); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.cta-calc__label { display: block; font: 600 13px var(--font-display); color: #e3f1f3; }
.cta-calc__label small { font-weight: 500; color: #a9cfd5; }
.cta-calc__val { margin: 8px 0 12px; font: 500 14px var(--font-display); color: #cfe6ea; }
.cta-calc__val b { font: 700 2.2rem/1 var(--font-display); color: #fff; margin-right: 4px; }
.cta-calc__range { --p: 14%; -webkit-appearance: none; appearance: none; width: 100%; height: 8px; border-radius: 99px; outline: none; cursor: pointer;
  background: linear-gradient(90deg, var(--gold) 0 var(--p), rgba(255,255,255,0.22) var(--p) 100%); }
.cta-calc__range::-webkit-slider-thumb { -webkit-appearance: none; width: 24px; height: 24px; border-radius: 50%; background: #fff; border: 4px solid var(--gold); box-shadow: 0 4px 14px rgba(0,0,0,0.25); }
.cta-calc__range::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: #fff; border: 4px solid var(--gold); }
.cta-calc__range:focus-visible::-webkit-slider-thumb { outline: 3px solid #fff; outline-offset: 2px; }
.cta-calc__out { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 18px 0 14px; }
.cta-calc__out div { padding: 12px 14px; border-radius: 14px; background: rgba(0,0,0,0.16); }
.cta-calc__out span { display: block; font-size: 12px; color: #a9cfd5; margin-bottom: 4px; }
.cta-calc__out b { font: 700 1.35rem var(--font-display); color: var(--gold); }
.cta-band__box p.cta-calc__note { margin: 0; font-size: 11.5px; line-height: 1.5; color: #a9cfd5; text-align: left; }
@media (max-width: 900px) {
  .cta-band__box--calc { grid-template-columns: 1fr; grid-template-areas: "text" "calc" "actions"; }
}
@media (max-width: 640px) {
  .cta-calc { padding: 18px 16px 16px; }
  .cta-calc__out { gap: 8px; }
  .cta-calc__out div { padding: 10px 12px; }
  .cta-calc__out b { font-size: 1.15rem; white-space: nowrap; }
}

/* ---------- language menu ---------- */
.lang-menu { position: relative; font: 600 13px/1 'Inter', system-ui, sans-serif; color: var(--teal); }
.lang-menu summary { display: inline-flex; align-items: center; gap: 7px; height: 36px; padding: 0 13px; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(255,255,255,0.82); list-style: none; cursor: pointer; white-space: nowrap; transition: border-color 0.3s, background 0.3s; }
.lang-menu summary::-webkit-details-marker { display: none; }
.lang-menu summary:hover, .lang-menu[open] summary { background: #fff; border-color: var(--teal-2); }
.lang-menu__short { display: none; }
.lang-menu ul { position: absolute; top: calc(100% + 8px); right: 0; min-width: 150px; margin: 0; padding: 6px; list-style: none; background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); z-index: 5; }
.lang-menu li a { display: block; padding: 11px 14px; border-radius: 10px; color: var(--teal); white-space: nowrap; }
.lang-menu li a:hover { background: var(--bg-2); }
.lang-menu li a[aria-current] { background: var(--teal); color: #fff; }
.mobile-menu__langs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.mobile-menu__langs a { padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line-2); background: #fff; color: var(--teal); font-size: 14px; }
.mobile-menu__langs a[aria-current] { background: var(--teal); border-color: var(--teal); color: #fff; }
@media (max-width: 640px) {
  .header__cta { gap: 12px; }
  .lang-menu summary { gap: 5px; padding: 0 10px; }
  .lang-menu__full { display: none; }
  .lang-menu__short { display: inline; }
}

/* ---------- Indian languages and Arabic ----------
   Their letters join and stack: no negative letter-spacing, taller lines, and smaller
   headings because the words are longer than English ones. */
html:lang(ml) { --font-display: 'Anek Malayalam', 'Sora', system-ui, sans-serif; --font-body: 'Noto Sans Malayalam', 'Inter', system-ui, sans-serif; }
html:lang(hi) { --font-display: 'Anek Devanagari', 'Sora', system-ui, sans-serif; --font-body: 'Noto Sans Devanagari', 'Inter', system-ui, sans-serif; }
html:lang(ta) { --font-display: 'Anek Tamil', 'Sora', system-ui, sans-serif; --font-body: 'Noto Sans Tamil', 'Inter', system-ui, sans-serif; }
html:lang(ar) { --font-display: 'Cairo', 'Sora', system-ui, sans-serif; --font-body: 'Noto Sans Arabic', 'Inter', system-ui, sans-serif; }
html:not(:lang(en)) body *:not(.footer__word):not(.footer__word span):not(.preloader__brand) { letter-spacing: 0 !important; }
html:not(:lang(en)) body { line-height: 1.75; }
html:not(:lang(en)) :is(h1, h2, h3, h4) { line-height: 1.32; }
html:not(:lang(en)) .hero--about .hero__title { font-size: clamp(2rem, 3.5vw, 3.7rem); line-height: 1.25; }
html:not(:lang(en)) .hero__title .word { padding-bottom: 0.14em; padding-top: 0.06em; }
html:not(:lang(en)) .h2 { font-size: clamp(1.7rem, 3.2vw, 2.9rem); }
html:not(:lang(en)) .clean__title { font-size: clamp(2rem, 5vw, 4.4rem); line-height: 1.28; max-width: 18ch; }
html:not(:lang(en)) .page-hero h1 { font-size: clamp(2rem, 5vw, 4.2rem); max-width: 18ch; }
html:not(:lang(en)) .footer__big { font-size: clamp(1.8rem, 4.2vw, 3.6rem); max-width: 16ch; }
html:not(:lang(en)) .solar-story__title { font-size: clamp(1.65rem, 1rem + 2vw, 2.6rem); line-height: 1.3; }
html:not(:lang(en)) .nav__link { font-size: 13.5px; padding: 9px 12px; white-space: nowrap; }
html:not(:lang(en)) .mobile-menu nav a { font-size: clamp(26px, 7vw, 42px); line-height: 1.4; }
/* justified lines leave wide gaps between long words */
html:not(:lang(en)) :where(main, .site-footer) p:not(.eyebrow, .hero__eyebrow, .brands__label, .clean__text, .story-photos__tag, .section__head--center p) { text-align: start; hyphens: manual; -webkit-hyphens: manual; }
@media (max-width: 1360px) {
  html:not(:lang(en)) .nav { display: none; }
  html:not(:lang(en)) .burger { display: block; }
  .header__phone span { display: none; }   /* below 1360px the phone shows as an icon in every language, so the menu always fits */
  .header__phone { width: 36px; padding: 0; }
  html:not(:lang(en)) .header__cta { margin-left: auto; }
}
@media (max-width: 640px) {
  html:not(:lang(en)) .btn { white-space: normal; text-align: center; }
  html:not(:lang(en)) .header__cta .btn { display: none; }
}

/* ---------- right to left (Arabic) ----------
   Text and layout mirror. The logo corner and the columns laid over photos stay where the
   photos leave room for them; only their text turns right to left. */
[dir="rtl"] :is(.header__row, .hero__grid, .page-hero > .container, .clean__inner, .marquee) { direction: ltr; }
[dir="rtl"] :is(.nav, .header__cta > *, .hero__inner, .page-hero > .container > *, .clean__inner > *, .marquee span) { direction: rtl; }
[dir="rtl"] .lang-menu ul { direction: rtl; }
[dir="rtl"] .hero__title .word { margin-right: 0; margin-left: 0.22em; }
[dir="rtl"] .ico:is([data-ico="arrow"], [data-ico="arrow-ur"]), [dir="rtl"] .testi__nav .round-btn { transform: scaleX(-1); }
[dir="rtl"] .svc-card__icon { left: auto; right: 28px; }
[dir="rtl"] .svc-card__num { right: auto; left: 24px; }
[dir="rtl"] .proj-card__info { right: 0; left: 70px; }
[dir="rtl"] .proj-card__go { right: auto; left: 22px; }
[dir="rtl"] :is(.vid-main, .vid-item, .vid-card, .testi__slide figcaption, .story-intro, .cta-band__box p.cta-calc__note) { text-align: right; }
[dir="rtl"] .vid-item:hover { transform: translateX(-4px); }
[dir="rtl"] .footer__col a:hover { transform: translateX(-3px); }
[dir="rtl"] .spec dd { text-align: left; }
[dir="rtl"] .stat { border-right: 0; border-left: 1px solid var(--line); }
[dir="rtl"] .stat:last-child { border-left: 0; }
[dir="rtl"] .stat::before { left: auto; right: 30px; }
[dir="rtl"] .gbadge { margin-left: 0; margin-right: 12px; }
[dir="rtl"] :is(.offer__progress i, .solar-story__bar span, .preloader__bar i, .hero__dots i b) { transform-origin: right; }
[dir="rtl"] .stars { background-image: linear-gradient(270deg, var(--gold) calc(var(--r) / 5 * 100%), #d8e2e6 0); }
[dir="rtl"] .cta-calc__range { background: linear-gradient(270deg, var(--gold) 0 var(--p), rgba(255,255,255,0.22) var(--p) 100%); }
[dir="rtl"] :is(.stat__num, .hero__stats b, .img-stack__badge b, .tag--sun, .cta-calc__out b, .greviews__score) { direction: ltr; unicode-bidi: isolate; }
[dir="rtl"] :is(.stat__num, .hero__stats b) { text-align: right; }
@media (min-width: 901px) {
  [dir="rtl"] .about-home__panel .hero__about-item { padding-left: 0; border-left: 0; }
  [dir="rtl"] .about-home__panel .hero__about-item + .hero__about-item { padding-right: 34px; border-right: 1px solid var(--line); }
}
@media (max-width: 900px) {
  [dir="rtl"] .offer__track { margin-right: 0; margin-left: calc(var(--gutter) * -1); }
}
[dir="rtl"] .offer-card__num { direction: ltr; text-align: right; }
@media (min-width: 901px) {
  [dir="rtl"] .offer:not(.is-static) .offer__pin { padding-left: 0; padding-right: var(--gutter); }
  [dir="rtl"] .offer:not(.is-static) .offer__track { padding-right: 0; padding-left: var(--gutter); }
}
/* the hidden spam-trap field must sit off the other edge, or the page scrolls sideways */

/* shown to a signed-in admin looking at a language that is switched off */
.lang-preview { position: fixed; left: 16px; bottom: 16px; z-index: 9500; margin: 0; padding: 10px 16px; border-radius: 999px; background: #8a5a00; color: #fff; font: 600 13px/1.3 'Inter', system-ui, sans-serif; box-shadow: 0 10px 24px -8px rgba(0,0,0,0.4); max-width: calc(100vw - 100px); }


/* small "Get in touch" box beside a service's feature list: text left and buttons right when there is room, stacked when narrow */
.feature-list:has(.cta-band__box--mini) { container-type: inline-size; }
.cta-band__box--mini { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; margin-top: 10px; padding: clamp(26px, 3vw, 34px); }
.cta-band__box--mini > * { position: relative; z-index: 1; }
.cta-mini__actions { display: flex; flex-direction: column; gap: 10px; }
.cta-mini__actions .btn { justify-content: center; }
@container (min-width: 500px) { .cta-band__box--mini { flex-direction: row; align-items: center; justify-content: space-between; } .cta-band__box--mini > div:first-child { flex: 1; } }
.cta-band__box--mini h3 { font-size: 1.4rem; margin: 0 0 6px; }
.cta-band__box--mini .muted { margin: 0; }

/* service page: short heading, then the intro as a description */
.svc-detail__title { font-size: clamp(1.9rem, 3.4vw, 2.9rem); }
.svc-detail__intro { margin-top: 16px; max-width: 560px; color: var(--muted); font-size: 1.08rem; line-height: 1.7; }

/* very small phones (under 380px, e.g. iPhone SE 1st gen): logo, language, phone and menu buttons all fit */
@media (max-width: 380px) {
  .header__row { gap: 10px; }
  .header__cta { gap: 6px; }
  .brand__img, .site-header.is-solid .brand__img, .home .brand__img, .home .site-header.is-solid .brand__img { height: 34px; }
  .home .site-header .brand { padding: 0 12px 0 10px; }
  .lang-menu summary { padding: 0 9px; gap: 4px; }
  .burger { width: 42px; height: 42px; }
  .burger span { left: 12px; right: 12px; }
  .burger span:first-child { top: 16px; } .burger span:last-child { top: 24px; }
  .menu-open .burger span:first-child, .menu-open .burger span:last-child { top: 20px; }
}
/* grid items may shrink below their longest word (e-mail address, phone) so cards never push the page sideways */
.contact-grid > *, .info-cards > *, .info-card > *, .member, .member > * { min-width: 0; }
.info-card a, .info-card p, .member a { overflow-wrap: anywhere; }
/* Malayalam, Hindi, Tamil and Arabic menu words are longer: the phone stays an icon up to 1600px so the menu fits */
@media (max-width: 1600px) {
  html:not(:lang(en)) .header__phone span { display: none; }
  html:not(:lang(en)) .header__phone { width: 36px; padding: 0; }
}
/* dropdowns look the same in Safari (Mac/iPhone) as in Chrome: no glossy system style, own arrow */
.field select { -webkit-appearance: none; -moz-appearance: none; appearance: none; padding-right: 44px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23004552' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center; background-size: 14px; }
[dir="rtl"] .field select { padding-right: 16px; padding-left: 44px; background-position: left 16px center; }


/* ============ VIDEO MODAL — Instagram reels play in a tall box ============ */
.video-modal.is-portrait .video-modal__box { width: min(420px, 100%); }
.video-modal.is-portrait .video-modal__frame { aspect-ratio: auto; height: min(82vh, 760px); background: #fff; }
