/* Arial sized to Poppins' metrics: text wraps the same before and after the web font arrives (no layout shift) */
@font-face { font-family: "Poppins Fallback"; font-weight: 400 500; src: local("Arial"), local("ArialMT"); size-adjust: 112.1%; ascent-override: 93.6%; descent-override: 31.2%; line-gap-override: 8.9%; }
@font-face { font-family: "Poppins Fallback"; font-weight: 600 800; src: local("Arial Bold"), local("Arial-BoldMT"); size-adjust: 106.4%; ascent-override: 98.8%; descent-override: 32.9%; line-gap-override: 9.4%; }

:root {
  --green: #0a7a3d;
  --green-dark: #075a2d;
  --green-bg: #086a35;
  --green-tint: #eef6f0;
  --green-deep: #064d27;
  --photo-bg: #0c1d13;
  --yellow: #ffd60a;
  --yellow-dark: #e6bf00;
  --ink: #12261b;
  --ink-soft: #4a5c52;
  --line: #dfe9e2;
  --white: #fff;
  --radius: 12px;
  --radius-sm: 8px;
  --header-h: 104px;
  --gamosa-h: 0px;   /* the sticky strip is gone; bands are static (see .gamosa-band) */
  --band-h: 34px;
  --container: 1160px;
  --moon: #fff6c8;
  --font: "Poppins", "Poppins Fallback", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-as: "Noto Sans Bengali", "Poppins", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden]:not([hidden="until-found"]) { display: none !important; }

html { -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
}

img { max-width: 100%; display: block; }
h1, h2, h3 { line-height: 1.2; margin: 0 0 0.75rem; font-weight: 600; }
h1 { font-size: clamp(2rem, 4.8vw, 3.25rem); font-weight: 700; }
h2 { font-size: clamp(1.625rem, 3.4vw, 2.25rem); }
h3 { font-size: 1.125rem; }
p { margin: 0 0 1rem; text-wrap: pretty; }
a { color: inherit; }
[id] { scroll-margin-top: calc(var(--header-h) + var(--gamosa-h) + 16px); }
/* Menu jumps land each section's first line ~1.5rem below the header, whatever its top padding. */
section.section[id] { scroll-margin-top: calc(var(--header-h) + var(--gamosa-h) + 1.5rem - clamp(3.5rem, 8vw, 6rem)); }
section.section.curved[id] { scroll-margin-top: calc(var(--header-h) + var(--gamosa-h) + 1.5rem - clamp(6rem, 13vw, 10rem)); }
#about, #services, #work { scroll-margin-top: calc(var(--header-h) + var(--gamosa-h) - 0.5rem); }
#faq { scroll-margin-top: calc(var(--header-h) + var(--gamosa-h) + 1.5rem - clamp(2rem, 4vw, 3rem)); }

:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; border-radius: 4px; }
.white :focus-visible, .hero :focus-visible, .site-header :focus-visible, .site-footer :focus-visible { outline-color: var(--green); }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 1rem; top: -100px; z-index: 100;
  background: var(--yellow); color: var(--ink); padding: 0.5rem 1rem; border-radius: var(--radius-sm);
  font-weight: 600;
}
.skip-link:focus { top: 1rem; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 1.25rem; }

/* Buttons & links */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0.75rem 1.5rem;
  border: 0; border-radius: var(--radius-sm);
  font: 600 0.9375rem/1 var(--font); text-decoration: none; cursor: pointer;
  transition: background-color 0.2s, transform 0.2s;
}
.btn:hover { transform: translateY(-1px); }
.btn-green { background: var(--green); color: var(--white); }
.btn-green:hover { background: var(--green-dark); }
.btn-yellow { background: var(--yellow); color: var(--ink); }
.btn-yellow:hover { background: var(--yellow-dark); }
.btn-row { display: flex; flex-wrap: wrap; align-items: center; gap: 1.25rem; margin-top: 1.75rem; }

.more {
  font-weight: 600; font-size: 0.875rem; text-decoration: none;
  display: inline-flex; gap: 0.375rem; align-items: center; min-height: 44px;
}
.more:hover { text-decoration: underline; text-underline-offset: 4px; }

.play-link {
  display: inline-flex; align-items: center; gap: 0.75rem;
  font-weight: 600; font-size: 0.9375rem; text-decoration: none;
}
.play-icon {
  width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--green); box-shadow: 0 0 0 6px rgba(10, 122, 61, 0.15);
}
.play-icon svg { width: 18px; fill: var(--yellow); margin-left: 3px; }

.eyebrow { color: var(--yellow); font-weight: 600; font-size: 0.875rem; letter-spacing: 0.02em; margin-bottom: 0.5rem; }
.eyebrow-green { color: var(--green); }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--white);
  transition: box-shadow 0.2s;
}
.site-header.scrolled { box-shadow: 0 2px 12px rgba(18, 38, 27, 0.08); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 1rem; }

.logo { display: inline-flex; align-items: center; flex: none; }
.logo-img { height: 88px; width: auto; }

.site-nav { display: flex; align-items: center; gap: 2rem; }
.site-nav ul { display: flex; gap: 1.5rem; list-style: none; margin: 0; padding: 0; }
.site-nav ul a { white-space: nowrap; text-decoration: none; font-size: 0.9375rem; font-weight: 500; padding-block: 0.5rem; }
.site-nav ul a:hover { color: var(--green); }
.nav-cta { min-height: 44px; padding-inline: 1.25rem; }

.nav-toggle {
  display: none; width: 44px; height: 44px; padding: 10px;
  background: none; border: 0; cursor: pointer;
  flex-direction: column; justify-content: space-between;
}
.nav-toggle .bar { display: block; height: 3px; border-radius: 2px; background: var(--ink); transition: transform 0.2s, opacity 0.2s; }
.nav-toggle[aria-expanded="true"] .bar:nth-child(2) { transform: translateY(10.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .bar:nth-child(3) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .bar:nth-child(4) { transform: translateY(-10.5px) rotate(-45deg); }

@media (max-width: 68.6875em) {
  .nav-toggle { display: flex; }
  .site-nav {
    position: absolute; top: var(--header-h); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 1rem;
    padding: 1rem 1.25rem 1.5rem;
    background: var(--white); border-top: 1px solid var(--line);
    box-shadow: 0 12px 24px rgba(18, 38, 27, 0.1);
    display: none;
  }
  .site-nav.open { display: flex; }
  .site-nav ul { flex-direction: column; gap: 0; }
  .site-nav ul a { display: block; padding: 0.75rem 0; border-bottom: 1px solid var(--line); }
}

figure { margin: 0; }
.about-img { overflow: hidden; border-radius: var(--radius); }
.about-img img { width: 100%; height: 100%; object-fit: cover; }

/* Assamese lines */
[lang="as"] { font-family: var(--font-as); }
.as-tagline { font-size: clamp(1.25rem, 2.6vw, 1.625rem); font-weight: 700; color: var(--green); line-height: 1.5; margin-bottom: 0.25rem; }
.as-sub { font-size: 1.0625rem; font-weight: 600; color: var(--green); line-height: 1.6; }

.badge-chip {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.375rem 0.875rem 0.375rem 0.5rem; margin-bottom: 1.25rem;
  background: var(--green-tint); color: var(--green-dark); border: 1px solid #cfe4d6;
  border-radius: 999px; font-size: 0.8125rem; font-weight: 600;
}
.badge-chip svg { width: 20px; height: 20px; padding: 3px; border-radius: 50%; background: var(--green); color: var(--yellow); flex: none; }

/* Curves */
.curve { position: absolute; left: 0; width: 100%; height: clamp(40px, 7vw, 110px); fill: var(--green-bg); display: block; }
.curve-bottom { bottom: -1px; }
.curve-top { top: -1px; }

/* Hero */
.hero { position: relative; padding-block: clamp(2.5rem, 6vw, 4.5rem) clamp(5rem, 11vw, 9rem); }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 3rem; align-items: center; }
.hero .lead { color: var(--ink-soft); max-width: 36rem; }
.hero .lead strong { color: var(--ink); }
.hero-img { position: relative; }
.hero-img::before {
  content: ""; position: absolute; top: -12%; left: 12%; width: 40%; aspect-ratio: 1;
  background: url("../assets/images/japi.svg") center / contain no-repeat;
}
.hero-img img { position: relative; width: 100%; height: auto; }

/* Sections */
.section { position: relative; padding-block: clamp(3.5rem, 8vw, 6rem); }
.section.curved { padding-top: clamp(6rem, 13vw, 10rem); }
.green { background: var(--green-bg); color: var(--white); }
.white { background: var(--white); }
#services { padding-top: 2rem; padding-bottom: clamp(2rem, 4vw, 3rem); }
#scheme { padding-bottom: clamp(2rem, 4vw, 3rem); }
#process { padding-top: clamp(2rem, 4vw, 3rem); padding-bottom: clamp(4.5rem, 9vw, 7rem); }
#contact { padding-bottom: clamp(2.5rem, 5vw, 4rem); }

/* Services */
.services { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; text-align: center; }
.service { display: flex; flex-direction: column; align-items: center; }
.service .more { margin-top: auto; }
.service-icon { width: 64px; height: 64px; color: var(--white); margin: 0 auto 1rem; }
.service p { font-size: 0.875rem; color: rgba(255, 255, 255, 0.9); }

/* About */
#about, #work { padding-top: 2rem; }
.about-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 4rem; align-items: center; }
.about-grid p { color: rgba(255, 255, 255, 0.88); }
.more-light { color: var(--white); }
.about-media { position: relative; padding: 1.25rem 1.25rem 0 0; }
.about-media::before {
  content: ""; position: absolute; top: 0; right: 0; bottom: 2.5rem; left: 2.5rem;
  border: 2px solid rgba(255, 255, 255, 0.7); border-radius: var(--radius);
}
.about-img { position: relative; aspect-ratio: 4 / 3; }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); margin: 4rem 0 0; text-align: center; }
.stats > div { padding: 0.5rem 1rem; }
.stats > div + div { border-left: 1px solid rgba(255, 255, 255, 0.25); }
.stats dt { font-size: clamp(1.5rem, 3vw, 2.25rem); font-weight: 700; }
.stats dd { margin: 0; color: var(--yellow); font-size: 0.9375rem; }

/* Live solar across India */
/* a deeper band, so it doesn't run into About's stats; the next section's top curve matches it */
#live-solar { background: var(--green-deep); color: var(--white); }
#live-solar + #scheme .curve-top { fill: var(--green-deep); }
#live-solar.curved { padding-top: clamp(4.5rem, 9vw, 7rem); padding-bottom: clamp(2rem, 4vw, 3rem); }
#about { padding-bottom: clamp(2.5rem, 5vw, 4rem); }
.sl-lead { max-width: 60ch; color: rgba(255, 255, 255, 0.88); }
.sl-totals { display: grid; grid-template-columns: repeat(3, 1fr); margin: 2rem 0 1.5rem; text-align: center; }
.sl-totals > div { padding: 0.5rem 1rem; }
.sl-totals > div + div { border-left: 1px solid rgba(255, 255, 255, 0.25); }
.sl-totals dt { font-size: clamp(1.375rem, 3vw, 2.25rem); font-weight: 700; font-variant-numeric: tabular-nums; }
.sl-totals dd { margin: 0; color: var(--yellow); font-size: 0.9375rem; }
.sl-statusrow { display: flex; align-items: center; gap: 1rem; margin-bottom: 1rem; }
.sl-status { font-size: 0.9375rem; color: rgba(255, 255, 255, 0.88); margin: 0; }
.is-night .sl-status { font-size: 1.0625rem; font-weight: 600; color: var(--white); }
/* night: a crescent moon that floats and glows, with twinkling stars */
.sl-moon { flex: none; width: 72px; height: 72px; overflow: visible; }
.sl-moon-body { fill: var(--moon); filter: drop-shadow(0 0 10px rgba(255, 246, 200, 0.55)); transform-origin: 46px 50px; }
.sl-star { fill: var(--moon); }
@media (prefers-reduced-motion: no-preference) {
  .sl-moon-body { animation: moon-float 5s ease-in-out infinite alternate, moon-glow 3.5s ease-in-out infinite alternate; }
  .sl-star { animation: star-twinkle 2.4s ease-in-out infinite alternate; }
  .sl-star.s2 { animation-delay: 0.8s; }
  .sl-star.s3 { animation-delay: 1.6s; }
  @keyframes moon-float { from { transform: translateY(2px) rotate(-4deg); } to { transform: translateY(-4px) rotate(3deg); } }
  @keyframes moon-glow { from { filter: drop-shadow(0 0 6px rgba(255, 246, 200, 0.35)); } to { filter: drop-shadow(0 0 16px rgba(255, 246, 200, 0.75)); } }
  @keyframes star-twinkle { from { opacity: 0.25; } to { opacity: 1; } }
}
@media (max-width: 599px) {
  .sl-moon { width: 56px; height: 56px; }
  .sl-statusrow { flex-direction: column; align-items: flex-start; gap: 0.5rem; }
}
.is-night .sl-fill { background: var(--moon); }
.sl-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.25rem 2.5rem; }
.sl-row {
  display: grid; grid-template-columns: 2rem minmax(0, 1fr) auto; align-items: baseline; column-gap: 0.5rem;
  padding: 0.625rem 0.75rem; border-radius: var(--radius-sm);
}
.sl-row.is-home { background: rgba(255, 214, 10, 0.1); border: 1px solid rgba(255, 214, 10, 0.55); }
.sl-rank { color: rgba(255, 255, 255, 0.8); font-size: 0.875rem; font-variant-numeric: tabular-nums; }
.sl-name { font-weight: 600; }
.sl-chip {
  display: inline-block; margin-left: 0.5rem; padding: 0 0.5rem; border-radius: 999px;
  background: var(--yellow); color: var(--ink); font-size: 0.75rem; font-weight: 600; vertical-align: 0.1em;
}
.sl-fig { font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.sl-bar { grid-column: 2 / -1; height: 8px; margin: 0.375rem 0 0.25rem; border-radius: 4px; background: rgba(255, 255, 255, 0.15); overflow: hidden; }
.sl-fill { display: block; height: 100%; border-radius: 4px; background: var(--yellow); transform-origin: left center; transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1); }
.sl-sub { grid-column: 2 / -1; font-size: 0.8125rem; color: rgba(255, 255, 255, 0.75); }
.sl-more {
  margin-top: 1rem; padding: 0.625rem 1.25rem; border: 1px solid rgba(255, 255, 255, 0.6); border-radius: 999px;
  background: none; color: var(--white); font: inherit; font-weight: 600; cursor: pointer;
}
.sl-more:hover { background: rgba(255, 255, 255, 0.1); }
.sl-roof {
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 1rem 1.25rem;
  margin-top: 2rem; padding: 1.25rem 1.5rem; border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 214, 10, 0.5);
}
.sl-roof-icon { width: 40px; height: 40px; fill: var(--yellow); }
@media (max-width: 699px) {
  .sl-roof { grid-template-columns: auto 1fr; }
  .sl-roof .btn { grid-column: 1 / -1; justify-self: start; }
}
@media (max-width: 599px) {
  .sl-roof { grid-template-columns: 1fr; padding: 1.25rem; }
  .sl-roof .btn { justify-self: stretch; }
}

/* hero line: Assam's solar today */
.hero-live { display: flex; align-items: flex-start; gap: 0.5rem; min-height: 1.6em; margin: 1.25rem 0 0; font-size: 0.9375rem; font-weight: 600; color: var(--green-dark); }
.hero-live.is-pending { visibility: hidden; }
.hero-live svg { flex: none; width: 22px; height: 22px; margin-top: 0.15em; fill: var(--yellow-dark); color: var(--yellow-dark); }
.hero-live p { margin: 0; }
.hero-live-as { display: block; font-family: var(--font-as); font-weight: 600; color: var(--green); line-height: 1.6; text-decoration: underline; text-decoration-color: rgba(10, 122, 61, 0.35); text-underline-offset: 0.3em; }
.hero-live-as:hover { color: var(--green-dark); text-decoration-color: currentColor; }

/* live badge on the hero image */
.live-pill {
  position: absolute; left: 1rem; bottom: 1rem; display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.5rem 0.875rem; border-radius: 999px; background: rgba(6, 77, 39, 0.92); color: var(--white);
  font-size: 0.875rem; font-weight: 600; text-decoration: none; box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
}
.live-pill:hover { background: var(--green-deep); }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--yellow); }

.sl-note { margin-top: 1.5rem; font-size: 0.8125rem; color: rgba(255, 255, 255, 0.75); max-width: 80ch; }
.sl-note a { color: var(--white); }
@media (min-width: 900px) { .sl-list { grid-template-columns: 1fr 1fr; } }
@media (max-width: 599px) {
  .sl-totals { grid-template-columns: 1fr; gap: 0.5rem; }
  .sl-totals > div + div { border-left: 0; border-top: 1px solid rgba(255, 255, 255, 0.25); }
}
@media (prefers-reduced-motion: reduce) { .sl-fill { transition: none; } }

/* Scheme */
.scheme-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
@media (min-width: 1024px) {
  .scheme-grid { grid-template-columns: 1fr 1fr; }
  .scheme-grid > .card.card-calc { order: -1; grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.55fr);
    grid-template-areas: "head res" "calc res" "note send"; column-gap: 2.5rem; row-gap: 0.75rem; align-items: start; padding: 1.75rem 2rem; }
  .card-calc > h3 { grid-area: head; margin: 0; }
  .card-calc > .calc { grid-area: calc; }
  .card-calc > .calc-results { grid-area: res; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0; align-self: center; }
  .card-calc > .note { grid-area: note; margin: 0; align-self: center; }
  .card-calc > .calc-send { grid-area: send; margin: 0; }
}
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; }
.scheme-grid > .card { display: flex; flex-direction: column; }
.scheme-grid > .card > .note { margin-top: auto; padding-top: 1rem; }
.card h3 { font-size: 1.125rem; }
.card-calc { background: var(--green-tint); border-color: #cfe4d6; }
.note { font-size: 0.8125rem; color: var(--ink-soft); margin: 1rem 0 0; }

.table { width: 100%; border-collapse: collapse; font-size: 0.9375rem; }
.table th { text-align: left; font-weight: 600; font-size: 0.8125rem; color: var(--ink-soft); padding: 0.5rem 0; border-bottom: 2px solid var(--line); }
.table td { padding: 0.625rem 0; border-bottom: 1px solid var(--line); }
.table td:last-child, .table th:last-child { text-align: right; }
.table td:last-child { font-weight: 600; color: var(--green); }

.calc label { font-weight: 500; font-size: 0.875rem; display: block; margin-bottom: 0.5rem; }
.range-row { display: flex; align-items: center; gap: 1rem; }
.range-row input { flex: 1; min-width: 0; accent-color: var(--green); min-height: 44px; }
.units-box { display: inline-flex; align-items: center; gap: 0.4rem; font-weight: 600; }
.units-box input { width: 5.5rem; min-height: 44px; padding: 0.4rem 0.6rem; font: inherit; font-weight: 600; text-align: right;
  border: 1px solid #6f8378; border-radius: var(--radius-sm); background: var(--white); color: var(--ink); }   /* 3.7:1 on the card tint (WCAG 1.4.11) */
.units-box input:focus-visible { outline: 3px solid var(--green); outline-offset: 1px; }
.calc-results { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; margin: 1rem 0 0; }
.calc-results > div { background: var(--white); border-radius: var(--radius-sm); padding: 0.75rem; }
.calc-results dt { font-size: 0.75rem; color: var(--ink-soft); }
.calc-results dd { margin: 0; font-weight: 700; color: var(--green); font-size: 1.0625rem; }

.checklists { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem 4rem; margin-top: 3.5rem; }
.ticks { list-style: none; margin: 0; padding: 0; }
.ticks li { position: relative; padding: 0.375rem 0 0.375rem 2rem; color: var(--ink-soft); }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: 0.625rem;
  width: 1.25rem; height: 1.25rem; border-radius: 50%;
  background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='%23ffd60a' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100% no-repeat;
}

.scheme-banner {
  display: grid; grid-template-columns: auto 1fr; gap: 2rem; align-items: center;
  padding: 2rem; margin-bottom: 1.5rem;
  background: linear-gradient(135deg, #fff8e6, var(--green-tint));
  border: 1px solid #f3dfa8; border-radius: var(--radius);
}
.scheme-logo { width: 140px; height: 140px; }
.pm-quote { margin: 1rem 0 0; padding-left: 1rem; border-left: 4px solid #ef5024; }
.pm-quote p { font-style: italic; color: var(--ink); margin-bottom: 0.5rem; max-width: 60ch; }
.pm-quote footer { font-size: 0.875rem; color: var(--ink-soft); }
.pm-quote footer strong { color: var(--green-dark); }
.scheme-intro { color: var(--ink-soft); max-width: 48rem; margin-bottom: 2.5rem; }

/* Process */
.process-banner { display: grid; grid-template-columns: 1fr 1.15fr; gap: 3rem; align-items: center; margin-bottom: 3.5rem; }
.process-banner p { color: var(--ink-soft); }
.process-media { position: relative; margin: 0; overflow: hidden; aspect-ratio: 16 / 9; border-radius: var(--radius); background: var(--green-tint); }
.process-media video { display: block; width: 100%; height: 100%; object-fit: cover; }
.video-controls { position: absolute; right: 0.75rem; bottom: 0.75rem; display: flex; gap: 0.5rem; }
.vc-btn { width: 2.75rem; height: 2.75rem; display: grid; place-items: center; cursor: pointer; border: 0; border-radius: 50%; background: rgba(18, 38, 27, 0.75); color: var(--white); }
.vc-btn:hover { background: var(--green-dark); }
.vc-btn svg { width: 1.25rem; height: 1.25rem; fill: currentColor; }
.vc-btn .i-play, .vc-btn .i-off, .vc-btn.is-paused .i-pause, .vc-btn.is-muted .i-on { display: none; }
.vc-btn.is-paused .i-play, .vc-btn.is-muted .i-off { display: inline; }
.vc-btn .i-exit, .vc-btn.is-full .i-enter { display: none; }
.vc-btn.is-full .i-exit { display: inline; }
/* full screen: the whole figure goes full screen so the custom controls stay on top */
.process-media:fullscreen { display: grid; place-items: center; background: #000; border-radius: 0; clip-path: none !important; transform: none !important; }
.process-media:fullscreen video { width: 100%; height: 100%; max-height: 100vh; object-fit: contain; border-radius: 0; }
.process-media:fullscreen .video-controls { right: 1.5rem; bottom: 1.5rem; }

.brands { margin-top: 4rem; text-align: center; }
.brands-title { font-size: 1rem; font-weight: 600; color: var(--ink-soft); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 1.5rem; }
.brands ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 1.5rem 3.5rem; }
.brands li { display: flex; align-items: center; min-height: 56px; }
.brands img { height: 34px; width: auto; }
.brands li:first-child img { height: 52px; }

/* How it works: a horizontal timeline. Desktop: one spine across the section, odd steps above and even
   steps below, zig-zagging so all seven sit in one band. Below 1024 px: a swipeable row of cards on a line. */
.steps { list-style: none; margin: 0; padding: 0; counter-reset: step; }
.steps > li { counter-increment: step; position: relative; }
.steps > li::before {
  content: counter(step); position: absolute; z-index: 1;
  display: grid; place-items: center; width: 2.25rem; height: 2.25rem; border-radius: 50%;
  background: var(--green); color: var(--yellow); font-weight: 700; box-shadow: 0 0 0 4px var(--white);
}
.tl-card { position: relative; min-height: 8.25rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.25s ease, box-shadow 0.3s ease; }
.tl-card h3 { font-size: 1rem; margin: 0; }
.tl-card h3 .as-inline { display: block; margin: 0.1rem 0 0; }
.tl-card p { font-size: 0.875rem; color: var(--ink-soft); margin: 0; line-height: 1.55; }
.tl-card .as-step { font-size: 0.875rem; margin-top: 0.2rem; }
.step-time {
  display: inline-block; margin-bottom: 0.4rem;
  font-size: 0.6875rem; font-weight: 600; color: var(--green);
  background: var(--green-tint); padding: 0.2rem 0.5rem; border-radius: 999px; white-space: nowrap;
}
.tl-hint { margin: 0.5rem 0 0; font-size: 0.8125rem; color: var(--ink-soft); }
.tl-end { margin-top: 1.5rem; display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1.25rem; }
.tl-end-note { margin: 0; font-size: 0.9375rem; color: var(--ink-soft); max-width: 34rem; }

@media (max-width: 1023px) {
  .steps { display: flex; gap: 1rem; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
    padding: 0.25rem 0.25rem 0.75rem; margin: 0 -0.25rem; scrollbar-width: thin; scrollbar-color: var(--green) var(--green-tint); }
  .steps:focus-visible { outline: 3px solid var(--green); outline-offset: 2px; border-radius: var(--radius); }
  .steps > li { flex: 0 0 min(80%, 20rem); scroll-snap-align: start; padding-top: 3.25rem; }
  .steps > li::before { top: 0; left: 0; }
  /* the line: each card draws its stretch from its node to the next card's */
  .steps > li::after { content: ""; position: absolute; top: 1.125rem; left: 2.25rem; right: -1rem; height: 2px; background: var(--green); opacity: 0.35; }
  .steps > li:last-child::after { right: 0; }
}
@media (min-width: 1024px) {
  .steps { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); grid-template-rows: auto 3.25rem auto; column-gap: 1rem; }
  /* the spine is the list's own ::before, placed as a grid item along the middle row */
  .steps::before { content: ""; grid-row: 2; grid-column: 1 / -1; align-self: center; height: 2px; background: var(--green); opacity: 0.35; }
  .steps > li:nth-child(odd) { grid-row: 1; align-self: end; }
  .steps > li:nth-child(even) { grid-row: 3; align-self: start; }
  .steps > li:nth-child(1) { grid-column: 1 / span 2; } .steps > li:nth-child(2) { grid-column: 2 / span 2; }
  .steps > li:nth-child(3) { grid-column: 3 / span 2; } .steps > li:nth-child(4) { grid-column: 4 / span 2; }
  .steps > li:nth-child(5) { grid-column: 5 / span 2; } .steps > li:nth-child(6) { grid-column: 6 / span 2; }
  .steps > li:nth-child(7) { grid-column: 7 / span 2; }
  .steps > li::before { left: 50%; translate: -50% 0; }
  .steps > li:nth-child(odd)::before { bottom: calc(-1.625rem - 1.125rem); }
  .steps > li:nth-child(even)::before { top: calc(-1.625rem - 1.125rem); }
  .tl-hint { display: none; }
  .tl-end { justify-content: center; text-align: center; flex-direction: column; }
}
.section-lead { color: rgba(255, 255, 255, 0.88); max-width: 40rem; }

/* Portfolio: installations map + list */

.work-head .section-lead { margin-bottom: 0; }
.pf-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.5rem; margin-top: 2rem; }

.pf-map { position: relative; overflow: hidden; background: var(--green-deep); border: 1px solid rgba(255, 255, 255, 0.14); border-radius: var(--radius); }
.pf-stage { position: relative; aspect-ratio: 1; overflow: hidden; cursor: grab; user-select: none; }
.pf-stage.is-dragging { cursor: grabbing; }
.pf-stage[aria-busy="true"], .pf-d-photo.is-loading {
  background: linear-gradient(100deg, rgba(255, 255, 255, 0.03) 30%, rgba(255, 255, 255, 0.1) 50%, rgba(255, 255, 255, 0.03) 70%) 0 0 / 200% 100%;
  animation: pf-shimmer 1.4s linear infinite;
}
@keyframes pf-shimmer { to { background-position: -200% 0; } }
.pf-map-msg { position: absolute; inset: 0; display: grid; place-items: center; margin: 0; padding: 1.5rem; text-align: center; font-size: 0.875rem; color: rgba(255, 255, 255, 0.82); }
.pf-svg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.m-land { fill: rgba(255, 255, 255, 0.03); stroke: rgba(255, 255, 255, 0.6); stroke-width: 1.5; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.m-district { fill: rgba(255, 255, 255, 0.07); stroke: rgba(255, 255, 255, 0.22); stroke-width: 0.75; stroke-linejoin: round; vector-effect: non-scaling-stroke; transition: fill 0.2s; }
.m-district:hover { fill: rgba(255, 255, 255, 0.13); }
.m-district.has { fill: rgba(255, 255, 255, 0.17); stroke: var(--yellow); stroke-width: 1.5; }
.m-district.has:hover { fill: rgba(255, 255, 255, 0.22); }
.m-river { fill: none; stroke: #86cdeb; stroke-opacity: 0.8; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; pointer-events: none; }

.pf-overlay, .pf-places, .pf-markers { position: absolute; inset: 0; pointer-events: none; }
.pf-pin, .pf-cluster, .pf-town, .pf-office, .pf-dlabel { position: absolute; left: 0; top: 0; }
.pf-pin, .pf-cluster { pointer-events: auto; cursor: pointer; font-family: var(--font); }
.pf-pin {
  width: 1.75rem; height: 2.25rem; padding: 0; border: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 28 36'%3E%3Cpath d='M14 1.5C7.1 1.5 1.5 6.9 1.5 13.6 1.5 22.4 14 34.5 14 34.5S26.5 22.4 26.5 13.6C26.5 6.9 20.9 1.5 14 1.5z' fill='%23ffd60a' stroke='%2312261b' stroke-width='2'/%3E%3Ccircle cx='14' cy='13.5' r='4.5' fill='%23075a2d'/%3E%3C/svg%3E") center / contain no-repeat;
  transform: translate(var(--x), var(--y)) translate(-50%, -100%); transform-origin: 50% 100%;
  filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.4));
  transition: scale 0.2s;
}
.pf-pin:hover, .pf-pin:focus-visible, .pf-pin.is-hot { scale: 1.25; }
.pf-pin.is-active { scale: 1.4; }
.pf-pin:focus-visible { outline-offset: 2px; }
.pf-tip {
  position: absolute; left: 50%; bottom: calc(100% + 0.25rem); translate: -50% 0;
  padding: 0.25rem 0.5rem; border-radius: var(--radius-sm);
  background: var(--white); color: var(--ink); font-size: 0.75rem; font-weight: 600; white-space: nowrap;
  opacity: 0; transition: opacity 0.2s; pointer-events: none;
}
.pf-pin:hover .pf-tip, .pf-pin:focus-visible .pf-tip, .pf-pin.is-hot .pf-tip, .pf-pin.is-active .pf-tip { opacity: 1; }
.pf-cluster {
  width: 2.75rem; height: 2.75rem; border-radius: 50%;
  border: 2px solid var(--ink); background: var(--yellow); color: var(--ink);
  font-size: 1rem; font-weight: 700; line-height: 1;
  transform: translate(var(--x), var(--y)) translate(-50%, -50%);
  transition: scale 0.2s;
}
.pf-cluster::after { content: ""; position: absolute; inset: -0.5rem; border-radius: 50%; border: 2px solid var(--yellow); opacity: 0; animation: pf-ping 2.2s ease-out infinite; }
@keyframes pf-ping { 0% { opacity: 0.7; scale: 0.7; } 100% { opacity: 0; scale: 1.35; } }
.pf-cluster:hover, .pf-cluster:focus-visible, .pf-cluster.is-hot, .pf-cluster.is-active { scale: 1.15; }
.pf-town {
  transform: translate(var(--x), var(--y)) translate(-0.1875rem, -50%);
  padding-left: 0.625rem; font-size: 0.75rem; color: rgba(255, 255, 255, 0.72); white-space: nowrap;
}
.pf-town::before { content: ""; position: absolute; left: 0; top: 50%; width: 0.375rem; height: 0.375rem; margin-top: -0.1875rem; border-radius: 50%; background: rgba(255, 255, 255, 0.72); }
.pf-dlabel {
  transform: translate(var(--x), var(--y)) translate(-50%, -50%);
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  color: rgba(255, 255, 255, 0.62); white-space: nowrap;
}
.pf-office { display: flex; align-items: center; gap: 0.375rem; transform: translate(var(--x), var(--y)) translate(-0.875rem, -50%); }
.pf-office svg { width: 1.75rem; height: 1.75rem; padding: 0.25rem; fill: var(--green-dark); background: var(--white); border-radius: var(--radius-sm); }
.pf-office-label { font-size: 0.75rem; font-weight: 600; color: var(--white); white-space: nowrap; }

.pf-zoom { position: absolute; top: 0.75rem; right: 0.75rem; display: flex; flex-direction: column; gap: 0.25rem; }
.pf-zoom button {
  width: 2.75rem; height: 2.75rem; display: grid; place-items: center; cursor: pointer;
  border: 0; border-radius: var(--radius-sm); background: var(--white); color: var(--ink);
  font: 600 1.25rem/1 var(--font);
}
.pf-zoom button:hover { background: var(--green-tint); }
.pf-zoom button:disabled { opacity: 0.5; cursor: not-allowed; }
.pf-zoom svg { width: 1.25rem; height: 1.25rem; }
.pf-inset {
  position: absolute; top: 0.75rem; left: 0.75rem; width: 7.5rem; aspect-ratio: 1000 / 684; padding: 0.25rem;
  background: rgba(5, 63, 32, 0.9); border: 1px solid rgba(255, 255, 255, 0.25); border-radius: var(--radius-sm);
  opacity: 0; transition: opacity 0.3s; pointer-events: none;
}
.pf-inset.is-visible { opacity: 1; }
.i-land { fill: rgba(255, 255, 255, 0.18); stroke: rgba(255, 255, 255, 0.5); stroke-width: 1; vector-effect: non-scaling-stroke; }
.i-view { fill: rgba(255, 214, 10, 0.3); stroke: var(--yellow); stroke-width: 1.5; vector-effect: non-scaling-stroke; }
.pf-legend {
  list-style: none; margin: 0; padding: 0.75rem 1rem;
  display: flex; flex-wrap: wrap; gap: 0.5rem 1.25rem;
  font-size: 0.75rem; color: rgba(255, 255, 255, 0.85); border-top: 1px solid rgba(255, 255, 255, 0.12);
}
.pf-legend li { display: flex; align-items: center; gap: 0.5rem; }
.lg-pin { width: 0.875rem; height: 1.125rem; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 28 36'%3E%3Cpath d='M14 1.5C7.1 1.5 1.5 6.9 1.5 13.6 1.5 22.4 14 34.5 14 34.5S26.5 22.4 26.5 13.6C26.5 6.9 20.9 1.5 14 1.5z' fill='%23ffd60a' stroke='%2312261b' stroke-width='2'/%3E%3Ccircle cx='14' cy='13.5' r='4.5' fill='%23075a2d'/%3E%3C/svg%3E") center / contain no-repeat; }
.lg-cluster { width: 1.25rem; height: 1.25rem; display: grid; place-items: center; border-radius: 50%; background: var(--yellow); color: var(--ink); font-size: 0.75rem; font-weight: 700; }
.lg-office { width: 1rem; height: 1rem; border-radius: 0.25rem; background: var(--white); }

.pf-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.5rem; }
.inst {
  position: relative; display: flex; flex-direction: column; overflow: hidden;
  background: var(--white); color: var(--ink); border-radius: var(--radius);
  outline: 3px solid transparent; outline-offset: 2px; transition: outline-color 0.2s;
}
.inst.is-hot, .inst:has(.inst-thumb:focus-visible) { outline-color: var(--yellow); }
.inst-thumb { display: block; overflow: hidden; }
.inst-thumb:focus-visible { outline: none; }
.inst-thumb::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.inst-thumb img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; transition: scale 0.4s; }
.inst:hover .inst-thumb img { scale: 1.04; }
.inst-body { padding: 0.75rem 1rem 1rem; }
.inst-title { font-size: 1.0625rem; margin-bottom: 0.25rem; }
.inst-meta { font-size: 0.8125rem; color: var(--ink-soft); margin: 0; }

@media (min-width: 600px) {
  .pf-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pf-stage { aspect-ratio: 16 / 11; }
}
@media (min-width: 1024px) {
  .pf-layout { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); }
  .pf-map { display: flex; flex-direction: column; }
  .pf-stage { flex: 1 1 auto; aspect-ratio: auto; min-height: 26rem; }
  .pf-list { grid-template-columns: minmax(0, 1fr); grid-auto-rows: 1fr; gap: 1rem; }
  .inst { flex-direction: row; }
  .inst-thumb { flex: none; width: 44%; }
  .inst-thumb img { height: 100%; min-height: 8.5rem; aspect-ratio: auto; }
  .inst-body { align-self: center; padding: 1rem 1.25rem; }
}

/* Installation detail dialog */
html:has(.pf-dialog[open]) { overflow: hidden; }
.pf-dialog {
  width: min(68rem, calc(100vw - 2rem)); max-width: none; max-height: calc(100dvh - 2rem);
  padding: 0; border: 0; border-radius: var(--radius); overflow: hidden;
  background: var(--white); color: var(--ink);
}
.pf-dialog[open] { animation: pf-in 0.4s cubic-bezier(0.2, 0.8, 0.2, 1); }
.pf-dialog[open]::backdrop { animation: pf-fade 0.3s ease; }
.pf-dialog::backdrop { background: rgba(6, 20, 12, 0.8); }
.pf-dialog :focus-visible { outline-color: var(--green); }
@keyframes pf-in { from { opacity: 0; transform: translateY(1.5rem) scale(0.97); } }
@keyframes pf-fade { from { opacity: 0; } }
@keyframes pf-switch { from { opacity: 0; transform: translateX(1rem); } }
.pf-d-inner { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); max-height: calc(100dvh - 2rem); overflow: auto; }
.pf-d-inner.is-switching .pf-d-media, .pf-d-inner.is-switching .pf-d-info { animation: pf-switch 0.35s ease; }
.pf-d-close {
  position: absolute; top: 0.75rem; right: 0.75rem; z-index: 3;
  width: 2.75rem; height: 2.75rem; border: 0; border-radius: 50%; cursor: pointer;
  background: var(--white); color: var(--ink); font-size: 1.75rem; line-height: 1;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}
.pf-d-media { background: var(--photo-bg); padding-bottom: 1rem; }
.pf-d-photo { position: relative; aspect-ratio: 16 / 9; background: var(--photo-bg); }
.pf-d-photo img { width: 100%; height: 100%; object-fit: contain; }
.pf-d-photo img.is-in { animation: pf-fade 0.35s ease; }
.pf-d-arrow {
  position: absolute; top: 50%; translate: 0 -50%;
  width: 2.75rem; height: 2.75rem; border: 0; border-radius: 50%; cursor: pointer;
  background: rgba(255, 255, 255, 0.92); color: var(--ink); font-size: 1.75rem; line-height: 1;
}
.pf-d-arrow.prev { left: 0.75rem; }
.pf-d-arrow.next { right: 0.75rem; }
.pf-d-counter { position: absolute; left: 0.75rem; bottom: 0.75rem; margin: 0; padding: 0.25rem 0.625rem; border-radius: 999px; background: rgba(0, 0, 0, 0.6); color: var(--white); font-size: 0.75rem; }
.pf-d-counter:empty { display: none; }
.pf-d-caption { margin: 0.75rem 1rem 0; font-size: 0.875rem; color: rgba(255, 255, 255, 0.85); }
.pf-d-thumbs { list-style: none; margin: 0.75rem 1rem 0; padding: 0; display: flex; gap: 0.5rem; overflow-x: auto; }
.pf-d-thumbs button { display: block; padding: 0; cursor: pointer; background: none; border: 2px solid transparent; border-radius: var(--radius-sm); overflow: hidden; opacity: 0.65; transition: opacity 0.2s; }
.pf-d-thumbs button:hover, .pf-d-thumbs button[aria-current="true"] { opacity: 1; }
.pf-d-thumbs button[aria-current="true"] { border-color: var(--yellow); }
.pf-d-thumbs img { width: 5rem; aspect-ratio: 16 / 9; object-fit: cover; }
.pf-d-info { display: flex; flex-direction: column; gap: 1rem; padding: 1.5rem; }
.pf-d-info .eyebrow { margin: 0; }
.pf-d-info h2 { margin: 0; font-size: clamp(1.5rem, 3vw, 2rem); }
.pf-d-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem 1rem; margin: 0; }
.pf-d-facts > div { padding-top: 0.5rem; border-top: 1px solid var(--line); }
.pf-d-facts dt { font-size: 0.75rem; color: var(--ink-soft); }
.pf-d-facts dd { margin: 0; font-size: 0.9375rem; font-weight: 600; }
.pf-d-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1.25rem; }
.pf-d-onmap { min-height: 44px; padding: 0.5rem 0; cursor: pointer; background: none; border: 0; font: 600 0.9375rem var(--font); color: var(--green); text-decoration: underline; text-underline-offset: 4px; }
.pf-d-nav { display: flex; justify-content: space-between; gap: 0.75rem; margin-top: auto; padding-top: 1rem; border-top: 1px solid var(--line); }
.pf-d-nav button {
  max-width: 48%; min-height: 44px; padding: 0.5rem 0.75rem; cursor: pointer;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  background: none; border: 1px solid var(--line); border-radius: var(--radius-sm);
  font: 500 0.875rem var(--font); color: var(--ink);
}
.pf-d-nav button:hover { border-color: var(--green); color: var(--green); }
#pf-d-nextproj { margin-left: auto; }
@media (min-width: 900px) {
  .pf-d-inner { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); }
  .pf-d-media { display: flex; flex-direction: column; justify-content: center; }
}
@media (max-width: 767px) {
  .pf-dialog { width: 100%; max-height: 92dvh; margin: auto 0 0; border-radius: var(--radius) var(--radius) 0 0; }
  .pf-dialog[open] { animation-name: pf-up; }
  .pf-d-inner { max-height: 92dvh; }
  @keyframes pf-up { from { transform: translateY(100%); } }
}

/* Areas served (footer) */
.areas-box { margin-top: 2.5rem; padding: 1.25rem 1.5rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.areas-box .footer-title { margin-bottom: 0.25rem; }
.areas-box [lang="as"] { font-weight: 600; color: var(--green); }
.areas-box p { font-size: 0.8125rem; color: var(--ink-soft); margin-bottom: 0.75rem; }
.areas-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.25rem 0; font-size: 0.8125rem; color: var(--ink); }
.areas-list li:not(:last-child)::after { content: "·"; margin: 0 0.5rem; color: var(--ink-soft); }

/* FAQ */
#faq { padding-top: clamp(2rem, 4vw, 3rem); padding-bottom: clamp(1.5rem, 3vw, 2.5rem); }
.faq { max-width: 860px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.5rem; margin-top: 2rem; }
.faq-panel { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0.75rem; }
.faq-tabs { max-width: 860px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.5rem; margin-top: 2rem; }
.faq-tabs + .faq { margin-top: 1.25rem; gap: 0; }
.faq-tabs button {
  min-height: 44px; padding: 0.5rem 1rem; cursor: pointer;
  font: 600 0.875rem/1.3 var(--font); color: var(--white);
  background: transparent; border: 1px solid rgba(255, 255, 255, 0.45); border-radius: 999px;
  transition: background-color 0.2s, color 0.2s;
}
.faq-tabs button:hover { background: rgba(255, 255, 255, 0.1); }
.faq-tabs button[aria-selected="true"] { background: var(--yellow); border-color: var(--yellow); color: var(--ink); }
@media (min-width: 768px) { .faq-tabs { display: flex; flex-wrap: wrap; } }
.faq details { border: 1px solid rgba(255, 255, 255, 0.4); border-radius: var(--radius); }
.faq details[open] { background: rgba(255, 255, 255, 0.06); }
.faq summary {
  list-style: none; cursor: pointer; position: relative;
  padding: 1rem 3.5rem 1rem 1.25rem; font-weight: 500; min-height: 44px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 1.25rem; top: 50%; transform: translateY(-50%);
  width: 1.75rem; height: 1.75rem; border-radius: 50%;
  display: grid; place-items: center; line-height: 1;
  background: var(--yellow); color: var(--ink); font-weight: 700; font-size: 1.125rem;
}
.faq details[open] summary::after { content: "−"; }
.faq details > :not(summary) { margin: 0 1.25rem 0.75rem; color: rgba(255, 255, 255, 0.88); }
.faq details > :last-child { margin-bottom: 1.25rem; }
.faq details ul { padding-left: 1.25rem; }
.faq details li + li { margin-top: 0.25rem; }
.faq-aside { margin-top: 2rem; padding: 1.75rem; border-radius: var(--radius); background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 214, 10, 0.45); }
.faq-aside h3 { margin: 0.25rem 0 0.5rem; font-size: 1.375rem; }
.faq-aside p:not(.as-sub) { color: rgba(255, 255, 255, 0.88); margin: 0 0 1.25rem; }
.faq-aside .as-sub { color: #fff1a0; margin: 0; font-size: 1rem; }   /* pale yellow: full yellow on the card tint is only 4.0:1 */
.faq-aside-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; }
@media (min-width: 1024px) {
  .faq-wrap { display: grid; grid-template-columns: minmax(0, 1.75fr) minmax(300px, 1fr); column-gap: clamp(2rem, 4vw, 3rem); align-items: start; }
  .faq-wrap .faq, .faq-wrap .faq-tabs { max-width: none; }
  .faq-wrap > :not(.faq-aside) { grid-column: 1; }
  .faq-wrap > .faq-aside { grid-column: 2; grid-row: 2 / span 4; position: sticky; top: calc(var(--header-h) + var(--gamosa-h) + 1.5rem); margin-top: 2rem; }
}
.faq-group { font-size: 1rem; color: var(--yellow); margin: 1.5rem 0 0; }
.faq-group:first-child { margin-top: 0; }
.table-scroll { overflow-x: auto; }
.faq .table { color: var(--white); }
.faq .table th { color: rgba(255, 255, 255, 0.75); border-color: rgba(255, 255, 255, 0.35); }
.faq .table td { border-color: rgba(255, 255, 255, 0.2); }
.faq .table td:last-child { color: var(--yellow); }
.table-loans { min-width: 32rem; }
.table-loans th, .table-loans td { padding-right: 1rem; }
.table-loans td:last-child, .table-loans th:last-child { padding-right: 0; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 3rem; align-items: start; }
.contact-grid > div > p:not([class]) { color: var(--ink-soft); }
.contact-list { list-style: none; margin: 1.5rem 0 0; padding: 0; display: grid; gap: 0.75rem; }
.contact-list li { display: flex; align-items: flex-start; gap: 0.75rem; }
.contact-list svg { width: 20px; height: 20px; margin-top: 0.25rem; fill: var(--green); flex: none; }
.contact-list a { text-decoration: none; font-weight: 500; }
.contact-list a:hover { color: var(--green); text-decoration: underline; }

.contact-form { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; padding: 1.75rem; box-shadow: 0 8px 24px rgba(18, 38, 27, 0.06); }
.field { display: flex; flex-direction: column; gap: 0.375rem; min-width: 0; }
.field-full { grid-column: 1 / -1; }
.field label { font-size: 0.875rem; font-weight: 500; }
.optional { color: var(--ink-soft); font-weight: 400; }
.field input, .field select, .field textarea {
  font: inherit; font-size: 1rem; color: var(--ink);
  width: 100%; padding: 0.625rem 0.75rem; min-height: 46px;
  border: 1px solid #c4d3c9; border-radius: var(--radius-sm); background: var(--white);
}
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--green); outline-offset: 1px; border-color: var(--green); }
.field input[aria-invalid="true"] { border-color: #b3261e; }
.form-error { color: #b3261e; font-size: 0.875rem; margin: 0; }

/* Footer */
.site-footer { padding-block: 3.5rem 1.5rem; font-size: 0.9375rem; background: var(--green-tint); border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 2rem; }
.footer-logos { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.25rem; }
.footer-logo img { width: 15rem; height: auto; }
.footer-scheme-logo { width: 3.5rem; height: 3.5rem; padding-left: 1rem; border-left: 1px solid var(--line); box-sizing: content-box; }
.footer-tag { max-width: 24rem; margin: 0 0 0.75rem; font-size: 0.875rem; color: var(--ink-soft); }
.footer-title { font-size: 1rem; margin-bottom: 1rem; }
.footer-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.5rem; color: var(--ink-soft); }
.footer-list a { display: inline-block; padding-block: 0.25rem; text-decoration: none; }
.footer-list a:hover { color: var(--green); text-decoration: underline; }
.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1rem;
  margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--line);
  font-size: 0.8125rem; color: var(--ink-soft);
}
.footer-bottom nav { display: flex; flex-wrap: wrap; gap: 1.25rem; }
.footer-bottom a { display: inline-block; padding-block: 0.5rem; text-decoration: none; color: var(--ink); }
.footer-bottom a:hover { color: var(--green); }
.footer-bottom p { margin: 0; }

/* Assamese watermarks: pepa garlands in the page margins, a faint rhino at the foot of the screen. */
.wm { position: fixed; z-index: 2; pointer-events: none; background: center / contain no-repeat; }
.wm-rail { display: none; top: calc(var(--header-h) + 1.5rem); bottom: 1.5rem; width: min(9.5rem, calc((100vw - var(--container)) / 2 - 1.5rem)); opacity: 0.22; }
.wm-left { left: 0.75rem; background-image: url("../assets/images/wm-pepa-left.webp"); }
.wm-right { right: 0.75rem; background-image: url("../assets/images/wm-pepa-right.webp"); }
.wm-rhino { left: 50%; bottom: 0; width: min(38rem, 92vw); aspect-ratio: 766 / 632; translate: -50% 0; opacity: 0.07; background-position: bottom center; }
/* drawn as a mask over the drawing's own grey-green (darker strokes = more opaque): browsers don't count masks as the
   page's largest paint, which this big decoration otherwise was. wm-rhino-mask.webp is wm-rhino.webp's darkness as alpha. */
.wm-rhino { background: #33463c; -webkit-mask: url("../assets/images/wm-rhino-mask.webp") bottom center / contain no-repeat; mask: url("../assets/images/wm-rhino-mask.webp") bottom center / contain no-repeat; }
@media (min-width: 1360px) { .wm-rail { display: block; } }
@media print { .wm { display: none; } }

.wa-float {
  position: fixed; right: 1.25rem; bottom: 1.25rem; z-index: 40;
  width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center;
  background: none;
}
/* the floating chat button is a friendly sun, with a small WhatsApp badge so it still reads as chat */
.wa-float { width: 68px; height: 68px; text-decoration: none; filter: drop-shadow(0 6px 12px rgba(120, 80, 0, 0.28)); }
.wa-float .sun { width: 68px; height: 68px; overflow: visible; }
.sun-rays { fill: #ffb300; transform-origin: 32px 32px; }
.sun-face { fill: #ffd60a; stroke: #f5a300; stroke-width: 1.5; }
.sun-eyes { fill: #3a2a12; transform-origin: 32px 29px; }
.sun-cheek { fill: #ff8a65; opacity: 0.55; }
.sun-smile { fill: none; stroke: #3a2a12; stroke-width: 2.2; stroke-linecap: round; }
.wa-badge { position: absolute; right: -2px; bottom: -2px; width: 26px; height: 26px; border-radius: 50%; background: #25d366;
  display: grid; place-items: center; box-shadow: 0 0 0 2px var(--white); }
.wa-badge svg { width: 15px; height: 15px; fill: var(--white); }
.wa-label { position: absolute; right: calc(100% + 0.6rem); top: 50%; translate: 0 -50%; white-space: nowrap;
  padding: 0.4rem 0.8rem; border-radius: 999px; background: var(--green-deep); color: var(--white); font-size: 0.8125rem; font-weight: 600;
  opacity: 0; pointer-events: none; transition: opacity 0.2s ease, translate 0.25s cubic-bezier(0.16, 1, 0.3, 1); }
.wa-float:hover .wa-label, .wa-float:focus-visible .wa-label { opacity: 1; translate: -4px -50%; }
.wa-float:focus-visible { outline: 3px solid var(--green); outline-offset: 4px; border-radius: 50%; }
@media (prefers-reduced-motion: no-preference) {
  .wa-float { animation: sun-float 4.5s ease-in-out infinite; }
  .sun-rays { animation: sun-spin 28s linear infinite; }
  .sun-eyes { animation: sun-blink 5.5s ease-in-out infinite; }
  .wa-float:hover .sun { scale: 1.06; transition: scale 0.25s cubic-bezier(0.16, 1, 0.3, 1); }
  @keyframes sun-float { 50% { translate: 0 -5px; } }
  @keyframes sun-spin { to { rotate: 360deg; } }
  @keyframes sun-blink { 0%, 92%, 100% { scale: 1 1; } 95% { scale: 1 0.12; } }
}

/* Responsive */
@media (max-width: 1023px) {
  .services { grid-template-columns: repeat(2, 1fr); gap: 2.5rem 2rem; }
  .scheme-grid { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 767px) {
  :root { --header-h: 80px; }
  .site-footer { padding-bottom: 6rem; }
  .hero-grid, .about-grid, .process-banner, .contact-grid, .checklists { grid-template-columns: 1fr; }
  .hero-grid { gap: 2rem; }
  .scheme-banner { grid-template-columns: 1fr; padding: 1.5rem; gap: 1rem; }
  .scheme-logo { width: 96px; height: 96px; }
  .about-grid { gap: 3rem; }
  .stats { grid-template-columns: 1fr 1fr; row-gap: 1.5rem; }
  .stats > div:nth-child(3) { border-left: 0; }
  .footer-grid { grid-template-columns: 1fr; }
}

@media (max-width: 479px) {
  .services { grid-template-columns: 1fr; }
  .contact-form { grid-template-columns: 1fr; padding: 1.25rem; }
  .card { padding: 1.25rem; }
  .logo-img { height: 60px; }
  .calc-results { grid-template-columns: 1fr 1fr; }
  .btn-row .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
  .btn:hover { transform: none; }
  .pf-cluster::after, .pf-dialog[open], .pf-dialog[open]::backdrop, .pf-d-inner.is-switching .pf-d-media, .pf-d-inner.is-switching .pf-d-info, .pf-d-photo img.is-in { animation: none; }
  .inst:hover .inst-thumb img { scale: none; }
  .pf-stage[aria-busy="true"], .pf-d-photo.is-loading { animation: none; }
}

.not-found { min-height: 100vh; display: grid; place-content: center; justify-items: center; gap: 1rem; padding: 2rem 1.25rem; text-align: center; max-width: 36rem; margin-inline: auto; }
.not-found p { color: var(--ink-soft); }

/* Glass
   Blur only where content moves underneath (sticky header, map controls, video
   buttons, the photo dialog's backdrop). On the flat green sections a blur has
   nothing to blur, so they get soft sunlight and translucent panels instead. */
:root {
  --glass-blur: blur(14px) saturate(160%);
  --glass-edge: inset 0 1px 0 rgba(255, 255, 255, 0.22);
  --sun: rgba(255, 214, 10, 0.13);
  --leaf: rgba(120, 220, 150, 0.1);
}

#services { background-image: radial-gradient(38% 46% at 84% 50%, var(--sun), transparent); }
#about, #faq { background-image: radial-gradient(36% 44% at 10% 50%, var(--leaf), transparent), radial-gradient(34% 44% at 90% 50%, var(--sun), transparent); }

.stats {
  padding-block: 1.5rem; border-radius: var(--radius);
  background: rgba(3, 38, 19, 0.24); border: 1px solid rgba(255, 255, 255, 0.16); box-shadow: var(--glass-edge);
}
.stats > div + div { border-left-color: rgba(255, 255, 255, 0.16); }

.faq details { background: rgba(255, 255, 255, 0.05); border-color: rgba(255, 255, 255, 0.26); box-shadow: var(--glass-edge); transition: background-color 0.25s, border-color 0.25s; }
.faq details:hover { border-color: rgba(255, 255, 255, 0.42); }
.faq details[open] { background: rgba(255, 255, 255, 0.1); border-color: rgba(255, 214, 10, 0.55); }
.faq-tabs button:not([aria-selected="true"]) { background: rgba(255, 255, 255, 0.06); box-shadow: var(--glass-edge); }

@supports ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .site-header { background: rgba(255, 255, 255, 0.74); -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur); }
  .site-header.scrolled { box-shadow: 0 1px 0 rgba(255, 255, 255, 0.7) inset, 0 6px 20px rgba(18, 38, 27, 0.1); }
  /* the dropdown sits inside the header's backdrop root, so it stays near-opaque */
  @media (max-width: 1099px) { .site-nav { background: rgba(255, 255, 255, 0.97); } }

  .pf-zoom button { background: rgba(255, 255, 255, 0.78); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: 0 1px 0 rgba(255, 255, 255, 0.8) inset, 0 4px 12px rgba(6, 40, 22, 0.25); }
  .pf-zoom button:hover { background: rgba(238, 246, 240, 0.92); }
  .pf-inset { background: rgba(5, 63, 32, 0.55); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }

  .vc-btn { background: rgba(18, 38, 27, 0.42); -webkit-backdrop-filter: blur(10px) saturate(150%); backdrop-filter: blur(10px) saturate(150%); box-shadow: var(--glass-edge), 0 4px 12px rgba(6, 20, 12, 0.25); }
  .vc-btn:hover { background: rgba(7, 90, 45, 0.7); }

  .pf-dialog::backdrop { background: rgba(6, 20, 12, 0.6); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
}

@media (prefers-reduced-transparency: reduce) {
  .site-header { background: var(--white); backdrop-filter: none; -webkit-backdrop-filter: none; }
  .pf-zoom button { background: var(--white); backdrop-filter: none; -webkit-backdrop-filter: none; }
  .pf-inset { background: rgba(5, 63, 32, 0.9); backdrop-filter: none; -webkit-backdrop-filter: none; }
  .vc-btn { background: rgba(18, 38, 27, 0.75); backdrop-filter: none; -webkit-backdrop-filter: none; }
  .pf-dialog::backdrop { background: rgba(6, 20, 12, 0.8); backdrop-filter: none; -webkit-backdrop-filter: none; }
}

/* Scroll motion
   Three reveals, set by js/main.js only for content below the fold:
   rise (headings and copy), stagger (lists and cards, one after another),
   unveil (photos, video and the map open from a soft inset). Plus one
   scroll-linked moment: the hero art drifts up and away as the page leaves it. */
:root { --ease-out: cubic-bezier(0.16, 1, 0.3, 1); }
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transition: opacity 0.8s var(--ease-out), transform 1.1s var(--ease-out), filter 0.8s var(--ease-out), clip-path 1.2s var(--ease-out);
    transition-delay: calc(var(--i, 0) * 90ms);
  }
  .reveal[data-reveal="rise"] { transform: translateY(0.75rem); }
  .reveal[data-reveal="stagger"] { transform: translateY(1rem); }
  .reveal[data-reveal="unveil"] { opacity: 1; clip-path: inset(10% 5% 10% 5% round var(--radius)); transform: scale(1.03); }
  .reveal.is-in { opacity: 1; transform: none; filter: none; clip-path: inset(0 0 0 0 round var(--radius)); }
  .reveal.is-in[data-reveal="rise"], .reveal.is-in[data-reveal="stagger"] { clip-path: none; }

  @supports (animation-timeline: view()) {
    .hero-img img { animation: hero-drift linear both; animation-timeline: view(); animation-range: exit 0% exit 100%; }
    .hero-copy { animation: hero-recede linear both; animation-timeline: view(); animation-range: exit 10% exit 100%; }
    @keyframes hero-drift { to { transform: translateY(-14%) scale(1.06); opacity: 0.35; } }
    @keyframes hero-recede { to { transform: translateY(-6%); opacity: 0.2; } }
  }
}

/* Enhancement pass (Step A) */
.pf-count {
  display: inline-flex; align-items: center; gap: 0.5rem; margin: 0.25rem 0 0;
  padding: 0.375rem 0.875rem; border-radius: 999px;
  background: rgba(3, 38, 19, 0.28); border: 1px solid rgba(255, 214, 10, 0.45); box-shadow: var(--glass-edge);
  color: var(--white); font-size: 0.875rem; font-weight: 600;
}
.pf-count::before { content: ""; width: 0.5rem; height: 0.5rem; border-radius: 50%; background: var(--yellow); flex: none; }

.calc-send { width: 100%; margin-top: 1rem; }

.faq-more { max-width: 860px; margin: 1.75rem 0 0; color: rgba(255, 255, 255, 0.9); }
.faq-more a { color: var(--yellow); font-weight: 600; text-underline-offset: 4px; }

/* Browser surfaces in the brand colours */
::selection { background: var(--yellow); color: var(--ink); }
html { scrollbar-color: var(--green) var(--green-tint); accent-color: var(--green); }
input, textarea { caret-color: var(--green); }

/* Phones: the sun chat bubble sits clear of the gesture bar */
@media (max-width: 767px) {
  .wa-float { right: 1rem; bottom: calc(1rem + env(safe-area-inset-bottom)); }
}

/* Installation cards show the whole photo (no cropping), on the photo backdrop */
.inst-thumb { background: var(--photo-bg); }
.inst-thumb img { aspect-ratio: 4 / 3; object-fit: contain; }
.pf-more {
  width: 100%; margin-top: 1rem; color: var(--white);
  background: rgba(3, 38, 19, 0.28); border: 1px solid rgba(255, 255, 255, 0.35); box-shadow: var(--glass-edge);
}
.pf-more:hover { background: rgba(3, 38, 19, 0.45); border-color: var(--yellow); }
@media (min-width: 1024px) { .pf-layout > .pf-more { grid-column: 2; margin-top: 0; } }

/* All installations popup */
html:has(.pf-all[open]) { overflow: hidden; }
.pf-all {
  width: min(72rem, calc(100vw - 2rem)); max-width: none; max-height: calc(100dvh - 2rem);
  padding: 0; border: 0; border-radius: var(--radius); overflow: hidden;
  background: var(--white); color: var(--ink);
  display: none; flex-direction: column;
}
.pf-all[open] { display: flex; animation: pf-in 0.4s cubic-bezier(0.2, 0.8, 0.2, 1); }
.pf-all::backdrop { background: rgba(6, 20, 12, 0.8); }
.pf-all[open]::backdrop { animation: pf-fade 0.3s ease; }
.pf-all :focus-visible { outline-color: var(--green); }
.pf-all-head {
  position: relative; display: grid; gap: 0.25rem;
  padding: 1.25rem 4rem 1rem 1.5rem; border-bottom: 1px solid var(--line);
}
.pf-all-title { font-size: 1.375rem; margin: 0; }
.pf-all-sub { margin: 0; font-size: 0.875rem; color: var(--ink-soft); }
.pf-all-close {
  position: absolute; top: 0.75rem; right: 0.75rem; width: 2.75rem; height: 2.75rem;
  display: grid; place-items: center; border: 0; border-radius: 50%; cursor: pointer;
  background: var(--green-tint); color: var(--ink); font: 400 1.75rem/1 var(--font);
}
.pf-all-close:hover { background: #dcebe1; }
.pf-all-filters { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.75rem; }
.pf-all-chip {
  min-height: 40px; padding: 0.375rem 0.875rem; cursor: pointer;
  border: 1px solid var(--line); border-radius: 999px; background: var(--white); color: var(--ink);
  font: 600 0.8125rem/1 var(--font);
}
.pf-all-chip:hover { border-color: var(--green); }
.pf-all-chip[aria-pressed="true"] { background: var(--green); border-color: var(--green); color: var(--white); }
.pf-all-grid {
  list-style: none; margin: 0; padding: 1.25rem 1.5rem 1.5rem; overflow: auto; overscroll-behavior: contain;
  display: grid; grid-template-columns: repeat(auto-fill, minmax(13.5rem, 1fr)); gap: 1rem;
}
.pf-all-card {
  width: 100%; height: 100%; padding: 0; cursor: pointer; text-align: left;
  display: flex; flex-direction: column; overflow: hidden;
  border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); color: inherit; font: inherit;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}
.pf-all-card:hover { border-color: var(--green); box-shadow: 0 8px 20px rgba(18, 38, 27, 0.12); transform: translateY(-2px); }
.pf-all-card img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: contain; background: var(--photo-bg); }
.pf-all-body { display: grid; gap: 0.125rem; padding: 0.625rem 0.75rem 0.75rem; }
.pf-all-name { font-weight: 600; font-size: 0.9375rem; }
.pf-all-meta { font-size: 0.8125rem; color: var(--ink-soft); }
@media (max-width: 599px) {
  .pf-all { width: 100vw; max-height: 100dvh; height: 100dvh; border-radius: 0; }
  .pf-all-grid { grid-template-columns: 1fr 1fr; gap: 0.75rem; padding: 1rem; }
  .pf-all-body { padding: 0.5rem 0.625rem 0.625rem; }
}
@supports ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .pf-all::backdrop { background: rgba(6, 20, 12, 0.6); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
}
@media (prefers-reduced-motion: reduce) { .pf-all[open], .pf-all[open]::backdrop { animation: none; } .pf-all-card { transition: none; } .pf-all-card:hover { transform: none; } }
@media (max-width: 599px) {
  .pf-all-filters { flex-wrap: nowrap; overflow-x: auto; margin-inline: -1.5rem; padding: 0 1.5rem 0.25rem; scrollbar-width: none; }
  .pf-all-chip { flex: none; }
}
/* the help card carries the same WhatsApp link, so the one-line prompt above it would repeat it */
.faq-wrap .faq-more { display: none; }

/* joins: the section after Live Solar needs only room for its curve */
#live-solar + #scheme.curved { padding-top: clamp(4.5rem, 9vw, 7rem); }
/* Our Work: "Get a Similar System" shares the row with "See all" under the map, not a row of its own */
.pf-cta { margin-top: 0; }
@media (min-width: 1024px) {
  .pf-layout > .pf-cta { grid-column: 1; grid-row: 2; align-self: center; }
  .pf-layout > .pf-more { grid-row: 2; }
  .faq-wrap .faq-tabs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
/* the hero paragraph sits on a 4/5-line break between the fallback and Poppins: hold 5 lines so nothing moves when the font arrives */
@media (min-width: 1100px) { .hero .lead { min-height: calc(1.65em * 5); } }

/* Above the subsidy calculator: proof anyone can check on the national portal (white section) */
.verify { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 2rem; margin: 0 0 1.5rem; padding: 1rem 1.5rem; border-radius: var(--radius); background: #fff8e1; border: 1px solid #f3dfa8; }
.verify-rating { margin: 0; color: var(--ink); }
.verify-stars { display: inline-flex; gap: 2px; vertical-align: -0.15em; }
.verify-stars svg { width: 1.05em; height: 1.05em; fill: #e0a800; }
.verify-date { color: var(--ink-soft); font-size: 0.875rem; }
.verify-steps { margin: 0; padding-left: 1.25rem; display: flex; flex-wrap: wrap; gap: 0.25rem 1.75rem; color: var(--ink-soft); font-size: 0.9375rem; }
.verify-steps a { color: var(--green-dark); text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
.verify-steps strong { color: var(--ink); }
/* the calculator leads its section at every size, right under the portal rating */
.scheme-grid > .card-calc { order: -1; }
/* contact: the Assamese version of the intro, under the English */
.as-lead { font-family: var(--font-as); color: var(--green-dark); line-height: 1.75; }
/* hero chip: the portal rating, linking to the check-it-yourself panel */
.chip-rating { color: inherit; text-decoration: none; white-space: nowrap; }
.chip-rating:hover strong, .chip-rating:focus-visible strong { text-decoration: underline; text-underline-offset: 0.2em; }
.badge-chip .chip-star { width: 1em; height: 1em; padding: 0; margin-right: 0.25em; border-radius: 0; background: none; fill: #e0a800; vertical-align: -0.12em; display: inline-block; }
#verify { scroll-margin-top: calc(var(--header-h) + var(--gamosa-h) + 1rem); }
@media (max-width: 520px) {
  .badge-chip { border-radius: 18px; }
  .badge-chip .chip-sep { display: none; }
  .badge-chip .chip-rating { display: block; }
}
/* What happens next: Assamese under each English step */
.as-step { display: block; margin-top: 0.2rem; font-family: var(--font-as); color: var(--green-dark); font-size: 0.9375rem; line-height: 1.65; }
.as-inline { font-family: var(--font-as); color: var(--green); font-size: 0.9375rem; margin-left: 0.5rem; }
/* portal steps: three columns on desktop, each English step with its Assamese line */
@media (min-width: 900px) { .verify-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.5rem 2rem; flex: 1 1 100%; } }
.verify .as-step { font-size: 0.875rem; }
.tl-card p a { color: var(--green-dark); text-underline-offset: 0.2em; }

/* timeline: show which step you are on. Mouse: hover. Phones: the card in view in the swipe row (js/main.js
   marks it .is-current), and the tapped card. Keyboard: focus. */
.steps > li::before { transition: background-color 0.25s ease, color 0.25s ease, scale 0.3s cubic-bezier(0.16, 1, 0.3, 1); }
.steps > li.is-current .tl-card, .steps > li:focus-within .tl-card, .steps > li:active .tl-card {
  transform: translateY(-4px); border-color: var(--green); box-shadow: 0 14px 30px -16px rgba(7, 90, 45, 0.4);
}
.steps > li.is-current::before, .steps > li:focus-within::before, .steps > li:active::before { background: var(--yellow); color: var(--green-dark); scale: 1.12; }
@media (hover: hover) {
  .steps > li:hover .tl-card { transform: translateY(-4px); border-color: var(--green); box-shadow: 0 14px 30px -16px rgba(7, 90, 45, 0.4); }
  .steps > li:hover::before { background: var(--yellow); color: var(--green-dark); scale: 1.12; }
}
@media (prefers-reduced-motion: reduce) {
  .tl-card, .steps > li::before { transition: none; }
  .steps > li.is-current .tl-card, .steps > li:focus-within .tl-card, .steps > li:active .tl-card, .steps > li:hover .tl-card { transform: none; }
  .steps > li.is-current::before, .steps > li:hover::before { scale: 1; }
}

/* timeline cards: one size closed (time, English and Assamese title); a tap opens the details.
   <details name="tl"> keeps one open at a time and works with touch, mouse, keyboard and screen readers. */
.tl-card summary { display: block; list-style: none; cursor: pointer; padding: 1rem 3rem 1rem 1.125rem; border-radius: var(--radius); }
.tl-card summary::-webkit-details-marker { display: none; }
.tl-card summary::after {
  content: "+"; position: absolute; top: 0.875rem; right: 0.875rem; width: 1.5rem; height: 1.5rem; border-radius: 50%;
  display: grid; place-items: center; background: var(--green-tint); color: var(--green-dark); font-weight: 700; line-height: 1;
}
.tl-card[open] summary::after { content: "\2212"; background: var(--green); color: var(--yellow); }
.tl-card summary:focus-visible { outline: 3px solid var(--green); outline-offset: 2px; }
.tl-more { padding: 0 1.125rem 1rem; }
.tl-card[open] .tl-more { animation: tl-open 0.3s cubic-bezier(0.16, 1, 0.3, 1); }
@keyframes tl-open { from { opacity: 0; translate: 0 -4px; } }
@media (prefers-reduced-motion: reduce) { .tl-card[open] .tl-more { animation: none; } }
.tl-card .tl-before { margin-top: 0.6rem; padding-top: 0.6rem; border-top: 1px dashed var(--line); }
.steps > li::before { cursor: pointer; }
.sl-roof-as { margin: 0; font-family: var(--font-as); font-size: 1.0625rem; line-height: 1.6; color: var(--white); }

/* Our Work + About are one section: About continues under the installations, no second section break */
.about-block { padding-top: clamp(3rem, 6vw, 4.5rem); }
#work { padding-bottom: clamp(2.5rem, 5vw, 4rem); }
div#about { padding-bottom: 0; background-image: none; }

/* --- visual pass --- */
/* Services: light tint band (breaks the run of green), dark text, green icons, a fact per tile */
.tint { background: var(--green-tint); color: var(--ink); }
#services.tint { background-image: none; padding-top: clamp(2.5rem, 5vw, 3.5rem); padding-bottom: clamp(2.5rem, 5vw, 3.5rem); border-bottom: 1px solid #d6e8dc; }
.tint .service-icon { color: var(--green); }
.tint .service p:not(.service-stat) { color: var(--ink-soft); }
.tint .service .more { color: var(--green-dark); }
.service .service-stat { order: -1; margin: 0 0 0.75rem; padding: 0.2rem 0.75rem; border-radius: 999px; background: var(--white); border: 1px solid #cfe4d6;
  color: var(--green-dark); font-size: 0.8125rem !important; font-weight: 700; }
.service .service-icon { order: -2; }
/* straight edges where the waves were removed */
.hero { padding-bottom: clamp(3rem, 6vw, 4.5rem); }
#live-solar { padding-top: clamp(3.5rem, 7vw, 5rem); }
/* headings stand on their own now that the labels above them are gone */
#work-title, #live-solar-title, #process-title, #faq-title, #contact-title { margin-top: 0; }

/* the page's one authored moment: the timeline draws itself and its steps light up in order
   (js/main.js adds .is-drawn when it scrolls into view; every other section keeps a quiet fade) */
@media (prefers-reduced-motion: no-preference) {
  .timeline::before { transform-origin: left center; transition: transform 1.6s cubic-bezier(0.65, 0, 0.35, 1); }
  .timeline:not(.is-drawn)::before { transform: scaleX(0); }
  .timeline > li::after { transform-origin: left center; transition: transform 0.6s cubic-bezier(0.65, 0, 0.35, 1) calc(var(--n, 0) * 0.18s + 0.1s); }
  .timeline:not(.is-drawn) > li::after { transform: scaleX(0); }
  .timeline > li::before { transition: background-color 0.35s ease calc(var(--n, 0) * 0.2s + 0.2s), color 0.35s ease calc(var(--n, 0) * 0.2s + 0.2s), scale 0.3s cubic-bezier(0.16, 1, 0.3, 1); }
  .timeline:not(.is-drawn) > li::before { background: var(--white); color: var(--green); box-shadow: 0 0 0 2px var(--green) inset, 0 0 0 4px var(--white); }
}

/* gamosa: bookends (top of the page, top of the footer), one divider (hero → Services), and the thank-you frame */
.gamosa-band { height: var(--band-h); background: url("../assets/images/gamosa-border.svg") repeat-x left center / auto var(--band-h); }
.site-footer > .gamosa-band { margin: -3.5rem 0 clamp(2rem, 4vw, 3rem); }   /* flush with the footer's top edge, like the cloth's end */
.site-footer:has(> .gamosa-band) { border-top: 0; }
.form-thanks { grid-column: 1 / -1; position: relative; margin: 0 0 0.25rem; padding: calc(var(--band-h) * 0.6 + 0.9rem) 1.25rem calc(var(--band-h) * 0.6 + 0.9rem);
  border-radius: var(--radius); background: #fffdf8; text-align: center; overflow: hidden; border: 1px solid #f0d9d9; }
.form-thanks::before, .form-thanks::after { content: ""; position: absolute; left: 0; right: 0; height: calc(var(--band-h) * 0.6);
  background: url("../assets/images/gamosa-border.svg") repeat-x left center / auto 100%; }
.form-thanks::before { top: 0; } .form-thanks::after { bottom: 0; }
.form-thanks:focus { outline: none; }
.thanks-as { margin: 0; font-family: var(--font-as); font-size: 1.375rem; font-weight: 700; color: #b3261e; }
.thanks-en { margin: 0.35rem 0 0; color: var(--ink); }
.thanks-alt { margin: 0.5rem 0 0; font-size: 0.875rem; color: var(--ink-soft); }
.thanks-alt a { color: var(--green-dark); }
@media (prefers-reduced-motion: no-preference) { .form-thanks:not([hidden]) { animation: thanks-in 0.45s cubic-bezier(0.16, 1, 0.3, 1); } @keyframes thanks-in { from { opacity: 0; translate: 0 8px; } } }

/* green sections that follow a light one start as grass: crisp blades in the section's own green, rising into the section above */
.grass-top { position: relative; }
.grass-top::before {
  content: ""; position: absolute; left: 0; right: 0; bottom: calc(100% - 1px); height: clamp(36px, 4vw, 56px); pointer-events: none;
  background: var(--grass, var(--green-bg));
  -webkit-mask: url("../assets/images/grass-edge.svg") repeat-x left bottom / auto 100%; mask: url("../assets/images/grass-edge.svg") repeat-x left bottom / auto 100%;
}
#services.grass-top { --grass: var(--green-tint); }
#process { padding-bottom: clamp(4rem, 8vw, 6rem); }

/* green sections above a light one end in grass too, the blades hanging into the section below (the waves are gone) */
.grass-bottom { position: relative; z-index: 1; --edge: var(--green-bg); }
#live-solar.grass-bottom { --edge: var(--green-deep); }
.grass-bottom::after {
  content: ""; position: absolute; left: 0; right: 0; top: calc(100% - 1px); height: clamp(36px, 4vw, 56px); pointer-events: none;
  background: var(--edge); transform: scaleY(-1);
  -webkit-mask: url("../assets/images/grass-edge.svg") repeat-x left bottom / auto 100%; mask: url("../assets/images/grass-edge.svg") repeat-x left bottom / auto 100%;
}
#scheme, #contact { padding-top: clamp(4.5rem, 9vw, 6.5rem); }

/* the page ends on a strip of lawn: green blades rising from a solid green base at the foot of the footer */
.site-footer { padding-bottom: 0; }
.footer-grass { margin-top: 1.5rem; height: calc(clamp(36px, 4vw, 56px) + 14px); background:
  linear-gradient(var(--green-bg), var(--green-bg)) left bottom / 100% 14px no-repeat; position: relative; }
.footer-grass::before { content: ""; position: absolute; left: 0; right: 0; bottom: 13px; height: clamp(36px, 4vw, 56px); background: var(--green-bg);
  -webkit-mask: url("../assets/images/grass-edge.svg") repeat-x left bottom / auto 100%; mask: url("../assets/images/grass-edge.svg") repeat-x left bottom / auto 100%; }
@media (max-width: 767px) { .footer-grass { margin-bottom: 0; } }

/* Care videos: a card in the "Looking after your system" FAQ group, and its popup (care-videos.js, reuses .pf-all) */
.care-videos { margin-top: 1.5rem; padding-top: 1.5rem; border-top: 1px solid rgba(255, 255, 255, 0.2); display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr); gap: 1rem; align-items: center; }
.care-body { display: grid; gap: 0.375rem; justify-items: start; }
.care-videos h4 { margin: 0; font-size: 1.0625rem; color: #fff1a0; }   /* same pale yellow as .as-sub, for contrast on the tint */
.faq-aside .care-videos p { margin: 0 0 0.375rem; font-size: 0.9375rem; }
.care-thumb { position: relative; display: block; padding: 0; border: 0; border-radius: var(--radius-sm); overflow: hidden; cursor: pointer; background: none; }
.care-thumb img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; transition: transform 0.3s; }
.care-thumb:hover img { transform: scale(1.03); }
.care-play { position: absolute; left: 50%; top: 50%; width: 56px; height: 56px; margin: -28px 0 0 -28px; border-radius: 50%; background: rgba(6, 20, 12, 0.72); }
.care-play::after { content: ""; position: absolute; left: 22px; top: 17px; border-left: 18px solid #fff; border-top: 11px solid transparent; border-bottom: 11px solid transparent; }

@media (prefers-reduced-motion: reduce) { .care-thumb img { transition: none; } .care-thumb:hover img { transform: none; } }

.vid-scroll { overflow: auto; overscroll-behavior: contain; }
.vid-all .pf-all-grid { overflow: visible; grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr)); }
.vid-player { padding: 1.25rem 1.5rem 0; display: grid; gap: 0.75rem; }
.vid-frame { width: 100%; max-width: calc(58dvh * 16 / 9); margin-inline: auto; aspect-ratio: 16 / 9; border-radius: var(--radius-sm); overflow: hidden; background: var(--photo-bg); }
.vid-frame video { width: 100%; height: 100%; display: block; background: var(--photo-bg); }
.vid-now { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.25rem 1rem; }
.vid-now-title { margin: 0; font-size: 1.0625rem; flex-basis: 100%; }
.vid-now-title:focus { outline: none; }
.vid-now-by { margin: 0; font-size: 0.875rem; color: var(--ink-soft); }
.vid-now-yt { font-size: 0.875rem; font-weight: 600; color: var(--green); }
.vid-thumb { position: relative; display: block; }
.vid-card .vid-thumb img { aspect-ratio: 16 / 9; object-fit: cover; }
.vid-len {
  position: absolute; right: 0.5rem; bottom: 0.5rem; padding: 0.125rem 0.375rem; border-radius: 4px;
  background: rgba(6, 20, 12, 0.85); color: var(--white); font: 600 0.75rem/1.4 var(--font); font-variant-numeric: tabular-nums;
}
.vid-card[aria-current] { border-color: var(--green); box-shadow: 0 0 0 2px var(--green); }
.vid-card[aria-current] .pf-all-name::before { content: "Now playing · "; color: var(--green); }
.vid-note { margin: 0; padding: 0 1.5rem 1.5rem; font-size: 0.8125rem; color: var(--ink-soft); max-width: 60rem; }
.vid-note a { color: var(--green); font-weight: 600; }
@media (max-width: 599px) {
  .vid-all .pf-all-grid { grid-template-columns: 1fr; }
  .vid-player { padding: 1rem 1rem 0; } .vid-note { padding: 0 1rem 1rem; }
}
/* secondary action on the green: WhatsApp above stays the one yellow button in the card */
.btn-ghost-light { background: transparent; color: var(--white); box-shadow: inset 0 0 0 2px rgba(255, 214, 10, 0.85); }
.btn-ghost-light:hover { background: rgba(255, 214, 10, 0.14); }

/* four FAQ topics: one row of tabs on wide screens, and a tighter side card so both columns end together */
@media (min-width: 1024px) {
  .faq-wrap .faq-tabs { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .faq-aside { padding: 1.5rem 1.25rem; }
  .faq-aside p:not(.as-sub) { margin-bottom: 1rem; }
  .faq-aside-actions { flex-wrap: nowrap; gap: 0.5rem 0.75rem; }
  .faq-aside-actions .more { font-size: 0.8125rem; white-space: nowrap; }
  .faq-aside .care-videos { margin-top: 1.125rem; padding-top: 1.125rem; }
}
.care-videos { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr); }
.care-videos .btn { grid-column: auto; padding: 0.625rem 1rem; font-size: 0.875rem; }
/* audit 2026-12-01: the card's tint sits on the lightest part of the FAQ gradient, so its text goes to full strength (>= 4.5:1) */
.faq-aside p:not(.as-sub), .faq-aside .care-videos p { color: #ffffff; }
.care-videos h4 { color: #fff8cc; }
.sl-note { max-width: 70ch; }
/* audit 2026-12-01 (desktop): menu links reach the 44px touch height, the step chips stop being 11px, the areas intro keeps a reading measure */
@media (min-width: 1024px) { .site-nav ul a { display: inline-flex; align-items: center; min-height: 44px; padding-block: 0; } }
.step-time { font-size: 0.75rem; }
.areas-box > p { max-width: 70ch; }
.footer-bottom nav a { display: inline-flex; align-items: center; min-height: 44px; }   /* audit 2026-12-01: footer links at touch height */
/* the office label sat on top of the KAMRUP METROPOLITAN district name: a dark pill keeps it readable over it */
.pf-office { z-index: 3; }
.pf-office-label { background: rgba(6, 40, 22, 0.88); padding: 0.125rem 0.5rem; border-radius: 999px; }
/* audit 2026-12-01 (phone): even heading lines, no one-word last lines in tick lists, the card's Assamese line at full contrast */
#live-solar-title { text-wrap: balance; }
.ticks li { text-wrap: pretty; }
.faq-aside .as-sub { color: #fff8cc; }

/* ---- phone audit fixes, 2026-12-01 ---- */
/* 320px: the hero column could not shrink below the rating badge, so the page scrolled sideways */
@media (max-width: 767px) { .hero-grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 520px) { .chip-rating { white-space: normal; } }   /* own line on phones: wrap rather than widen the page at large text */
/* the open menu never runs off a short (landscape) screen */
@media (max-width: 1023px) { .site-nav { max-height: calc(100dvh - var(--header-h)); overflow-y: auto; overscroll-behavior: contain; } }
/* landscape phones: a slimmer header */
@media (max-height: 500px) and (orientation: landscape) { :root { --header-h: 64px; } .logo-img { height: 52px; } }
/* photo popup on phones (and short landscape screens): one column, the close button stays at the top while the photos and details scroll */
@media (max-width: 767px), (max-height: 500px) {
  .pf-d-inner { grid-template-columns: minmax(0, 1fr); }
  .pf-d-media { grid-area: 1 / 1; } .pf-d-info { grid-area: 2 / 1; }
  .pf-d-close { position: sticky; grid-area: 1 / 1 / 3 / 2; justify-self: end; align-self: start; top: 0.75rem; margin: 0.75rem 0.75rem 0 0; }
}
/* 44px tap heights for the contact, footer and rating links */
.contact-list a, .footer-list a { display: inline-flex; align-items: center; min-height: 44px; padding-block: 0; }
/* the tap area grows with an invisible layer, not min-height + negative margins: those pulled the phone two-line chip into itself */
.chip-rating { position: relative; }
.chip-rating::after { content: ""; position: absolute; inset: -0.75rem -0.5rem; }
@media (max-width: 520px) { .chip-rating::after { top: -0.125rem; } }
/* the hero's live line wraps to two lines on phones: reserve them so the headline doesn't jump */
@media (max-width: 767px) { .hero-live { min-height: 3.2em; } }
/* opening one timeline card no longer stretches all seven */
.steps { align-items: flex-start; }
/* care block on phones: thumbnail above, text and button below */
@media (max-width: 599px) { .care-videos { grid-template-columns: 1fr; } .care-videos .btn { width: 100%; justify-content: center; } }
/* a smaller sun bubble on phones covers less of the page */
@media (max-width: 767px) { .wa-float, .wa-float .sun { width: 56px; height: 56px; } }

/* small phones: the buttons follow the headline so they're on the first screen (the lead and live line come after) */
@media (max-width: 767px) {
  .hero-copy { display: flex; flex-direction: column; }
  .hero-copy > * { order: 2; }
  .hero .badge-chip, .hero .as-tagline, .hero h1 { order: 0; }
  .hero .btn-row { order: 1; margin: 0.5rem 0 1.5rem; }
  .hero .hero-live { margin-top: 0.25rem; }
}
/* em media queries follow the browser's text size: at about 2x text the FAQ card's call link would run off the page, so let it wrap */
@media (min-width: 1024px) and (max-width: 50em) { .faq-aside-actions { flex-wrap: wrap; } }
/* map pins: the drawn pin stays 28x36, the tap area reaches 44x44 */
.pf-pin::before { content: ""; position: absolute; inset: -4px -8px; }
/* sun bubble steps aside while a control passes under it (js/main.js) */
.wa-float { transition: opacity 0.2s ease, scale 0.2s ease; }
.wa-float.is-tucked { opacity: 0; scale: 0.6; pointer-events: none; }
.wa-float.is-tucked:focus-visible { opacity: 1; scale: 1; pointer-events: auto; }

/* phone care-video player: its own dark full-screen layer over the list (js/care-videos.js) */
.vid-sheet { width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0 0 env(safe-area-inset-bottom); border: 0;
  background: var(--photo-bg); color: var(--white); display: none; flex-direction: column; }
.vid-sheet[open] { display: flex; animation: pf-in 0.3s cubic-bezier(0.2, 0.8, 0.2, 1); }
.vid-sheet::backdrop { background: var(--photo-bg); }
.vid-sheet :focus-visible { outline-color: var(--yellow); }
.vid-sheet-back { align-self: flex-start; display: inline-flex; align-items: center; gap: 0.5rem; min-height: 44px; margin: 0.75rem 0.75rem 0; padding: 0.5rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.3); border-radius: 999px; background: rgba(255, 255, 255, 0.08); color: var(--white); font: 600 0.9375rem var(--font); cursor: pointer; }
.vid-sheet-back svg { width: 1.125rem; height: 1.125rem; flex: none; }
.vid-sheet-frame { flex: 1; display: grid; place-items: center; min-height: 0; container-type: size; }
/* as big as fits the space, never taller than it (container units), so the controls sit on the picture */
.vid-sheet-frame video { width: min(100cqw, 100cqh * 16 / 9); aspect-ratio: 16 / 9; background: #000; display: block; }
.vid-sheet-info { display: grid; gap: 0.25rem; padding: 1rem 1rem 1.25rem; }
.vid-sheet-title { margin: 0; font-size: 1.125rem; }
.vid-sheet-title:focus { outline: none; }
.vid-sheet-by { margin: 0 0 0.75rem; font-size: 0.875rem; color: rgba(255, 255, 255, 0.75); }
.vid-sheet-next { width: 100%; }
/* sideways phones: video on the left at full height, title and Next on the right */
@media (max-height: 500px) {
  .vid-sheet[open] { display: grid; grid-template-columns: minmax(0, 1fr) 15rem; grid-template-rows: auto minmax(0, 1fr);
    padding: 0 env(safe-area-inset-right) 0 env(safe-area-inset-left); }
  .vid-sheet-back { grid-column: 2; grid-row: 1; }
  .vid-sheet-frame { grid-column: 1; grid-row: 1 / 3; }
  .vid-sheet-info { grid-column: 2; grid-row: 2; align-content: end; }
}
@media (prefers-reduced-motion: reduce) { .vid-sheet[open] { animation: none; } }
/* stats in one column when large text no longer fits two figures side by side (19.9em = 318px at normal text, so
   only enlarged text reaches it on real phones) */
@media (max-width: 19.9em) {
  .stats { grid-template-columns: minmax(0, 1fr); }
  .stats > div + div { border-left: 0; border-top: 1px solid rgba(255, 255, 255, 0.16); padding-top: 1rem; }
}
