/* ============================================================
   MONDOL GROUP OF INDUSTRIES — Design System
   Palette: Loomwork (industrial green / raw cotton / dye-thread red)
   Display: Oswald   Body: Source Sans 3   Data/Utility: IBM Plex Mono
   ============================================================ */

:root{
  --ink:        #16241C;   /* near-black, green-cast — primary text */
  --canvas:     #F1EDE4;   /* raw cotton — page background */
  --canvas-2:   #E8E1D2;   /* slightly deeper cotton, for panels */
  --forest:     #24503B;   /* brand green — primary */
  --forest-deep:#132A1E;   /* deep green — dark sections */
  --thread:     #B5432B;   /* dye/thread red — accent, sparing use */
  --brass:      #A9852F;   /* brass/bobbin gold — certifications, small highlights */
  --line:       rgba(22,36,28,0.16);
  --line-soft:  rgba(22,36,28,0.09);
  --paper:      #FBF9F4;
  --mycolor:    rgba(236, 217, 45, 0.9); /* yellow color for management names */

  --display: 'Oswald', 'Arial Narrow', sans-serif;
  --body: 'Source Sans 3', 'Segoe UI', sans-serif;
  --mono: 'IBM Plex Mono', 'Courier New', monospace;

  --container: 1180px;
  --radius: 2px;
}

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

body{
  margin:0;
  background:var(--canvas);
  color:var(--ink);
  font-family:var(--body);
  font-size:16px;
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}

img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
ul{ margin:0; padding:0; list-style:none; }
h1,h2,h3,h4{ font-family:var(--display); text-transform:uppercase; letter-spacing:0.01em; margin:0; font-weight:600; color:var(--forest-deep); }
p{ margin:0; }

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

.wrap{ max-width:var(--container); margin:0 auto; padding:0 24px; }
.wrap, .grid, .contact-grid, .footer-grid{ min-width:0; }

/* ---------- eyebrow / kicker ---------- */
.kicker{
  font-family:var(--mono);
  font-size:0.72rem;
  letter-spacing:0.18em;
  text-transform:uppercase;
  color:var(--thread);
  display:flex;
  align-items:center;
  gap:10px;
  margin-bottom:14px;
  
}
.kicker::before{
  content:"";
  width:22px; height:1px;
  background:var(--thread);
  display:inline-block;
}

.kicker_1{
  font-family:var(--mono);
  font-size:0.72rem;
  letter-spacing:0.18em;
  text-transform:uppercase;
  color:var(--canvas);
  display:flex;
  align-items:center;
  gap:10px;
  margin-bottom:14px;
  
}

/* ============================================================
   HEADER / NAV
   ============================================================ */
.site-header{
  position:sticky; top:0; z-index:200;
  background:rgba(241,237,228,0.94);
  backdrop-filter:blur(6px);
  border-bottom:1px solid var(--line);
}
.nav{
  display:flex; align-items:center; justify-content:space-between;
  padding:16px 24px;
  max-width:var(--container); margin:0 auto;
}
.brand{
  display:flex; align-items:center; gap:12px;
  font-family:var(--display);
  font-size:1.15rem;
  letter-spacing:0.02em;
  color:var(--forest-deep);
}
.brand-logo{
  width:180px; height:auto; display:block; flex-shrink:0;
  object-fit:contain;
}
.brand-text{
  display:flex; flex-direction:column;
  line-height:1.1;
}
.brand small{
  display:block;
  font-family:var(--mono);
  font-size:0.6rem;
  letter-spacing:0.14em;
  color:var(--thread);
  text-transform:uppercase;
  font-weight:400;
  margin-top:4px;
}
.nav-links{
  display:flex; align-items:center; gap:2px;
}
.nav-links a{
  font-family:var(--mono);
  font-size:0.78rem;
  letter-spacing:0.08em;
  text-transform:uppercase;
  padding:10px 16px;
  border-bottom:2px solid transparent;
  transition:color .2s, border-color .2s;
}
.nav-links a:hover{ color:var(--thread); }
.nav-links a.active{ color:var(--forest); border-bottom-color:var(--thread); }
.nav-toggle{
  display:none;
  background:none; border:1px solid var(--ink); border-radius:2px;
  width:42px; height:38px; cursor:pointer;
  flex-direction:column; align-items:center; justify-content:center; gap:5px;
}
.nav-toggle span{ width:20px; height:2px; background:var(--ink); display:block; }

@media (max-width: 880px){
  .nav-toggle{ display:flex; }
  .nav-links{
    position:absolute; top:100%; left:0; right:0;
    background:var(--paper);
    flex-direction:column; align-items:stretch;
    border-bottom:1px solid var(--line);
    max-height:0; overflow:hidden;
    transition:max-height .3s ease;
  }
  .nav-links.open{ max-height:400px; }
  .nav-links a{ padding:16px 24px; border-bottom:1px solid var(--line-soft); }
}

/* ============================================================
   SPEC TAG — signature component (hang-tag styled data chip)
   ============================================================ */
.spec-tag{
  display:inline-flex;
  align-items:center;
  gap:10px;
  background:var(--paper);
  border:1px dashed var(--line);
  padding:10px 16px 10px 12px;
  position:relative;
}
.spec-tag::before{
  content:"";
  width:8px; height:8px;
  border-radius:50%;
  border:1px solid var(--ink);
  background:var(--canvas);
  flex-shrink:0;
}
.spec-tag .num{
  font-family:var(--mono);
  font-size:1.05rem;
  font-weight:700;
  color:var(--forest-deep);
  white-space:nowrap;
}
.spec-tag .lbl{
  font-family:var(--mono);
  font-size:0.66rem;
  letter-spacing:0.06em;
  text-transform:uppercase;
  color:var(--ink);
  opacity:0.72;
}

.tag-row{
  display:flex; flex-wrap:wrap; gap:14px;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn{
  display:inline-flex; align-items:center; gap:10px;
  font-family:var(--mono);
  font-size:0.78rem;
  letter-spacing:0.08em;
  text-transform:uppercase;
  padding:14px 26px;
  border:1px solid var(--forest-deep);
  border-radius:1px;
  background:transparent;
  cursor:pointer;
  transition:background .2s, color .2s;
}
.btn-solid{ background:var(--forest-deep); color:var(--canvas); }
.btn-solid:hover{ background:var(--thread); border-color:var(--thread); }
.btn-outline{ color:var(--forest-deep); }
.btn-outline:hover{ background:var(--forest-deep); color:var(--canvas); }
.btn-light{ border-color:rgba(241,237,228,0.5); color:var(--canvas); }
.btn-light:hover{ background:var(--canvas); color:var(--forest-deep); }

/* ============================================================
   HERO (process-cycle animated signature)
   ============================================================ */
.hero{
  position:relative;
  background:var(--forest-deep);
  color:var(--canvas);
  overflow:hidden;
  min-height:92vh;
  display:flex; align-items:center;
}
.hero-video{
  position:absolute; inset:0;
  width:100%; height:100%;
  object-fit:cover;
  filter:saturate(0.92) brightness(0.85);
}
.hero-cycle{
  position:absolute; inset:0;
  opacity:0.9;
}
.hero-cycle svg{ width:100%; height:100%; }
.hero::after{
  content:"";
  position:absolute; inset:0;
  background:linear-gradient(180deg, rgba(19,42,30,0.42) 0%, rgba(19,42,30,0.72) 55%, rgba(19,42,30,0.94) 100%);
  pointer-events:none;
}
.hero-flow{ margin-top:44px; opacity:0.9; }
.hero-flow svg{ width:100%; height:auto; max-width:640px; }

/* photography utilities */
.photo-frame{ position:relative; overflow:hidden; border:1px solid var(--line); background:var(--canvas-2); }
.photo-frame img{ width:100%; height:100%; object-fit:cover; display:block; }
.ar-4-3{ aspect-ratio:4/3; }
.ar-5-4{ aspect-ratio:5/4; }
.ar-16-9{ aspect-ratio:16/9; }
.ar-3-4{ aspect-ratio:3/4; }
.ar-1-1{ aspect-ratio:1/1; }
.photo-tag{
  position:absolute; left:0; bottom:0;
  background:rgba(19,42,30,0.86);
  color:var(--canvas);
  font-family:var(--mono); font-size:0.68rem; letter-spacing:0.06em; text-transform:uppercase;
  padding:8px 14px;
}
.photo-credit{
  font-family:var(--mono); font-size:0.62rem; color:rgba(22,36,28,0.45);
  margin-top:8px; letter-spacing:0.02em;
}
.page-hero-bg{
  position:absolute; inset:0; width:100%; height:100%; object-fit:cover;
  opacity:0.34; filter:saturate(0.85);
}
.page-hero{ position:relative; }
.page-hero-overlay{
  position:absolute; inset:0;
  background:linear-gradient(180deg, rgba(19,42,30,0.55) 0%, rgba(19,42,30,0.92) 100%);
}
.hero-inner{
  position:relative; z-index:2;
  max-width:var(--container); margin:0 auto;
  padding:120px 24px 70px;
  width:100%;
}
.hero h1{
  color:var(--canvas);
  font-size:clamp(2.4rem, 6vw, 4.4rem);
  line-height:1.02;
  max-width:820px;
  margin-bottom:22px;
}
.hero h1 em{ font-style:normal; color:var(--thread); }
.hero-sub{
  max-width:560px;
  font-size:1.08rem;
  color:rgba(241,237,228,0.86);
  margin-bottom:36px;
}
.hero-ctas{ display:flex; gap:14px; flex-wrap:wrap; margin-bottom:56px; }
.hero-tags{ display:flex; flex-wrap:wrap; gap:12px; }
.hero-tags .spec-tag{ background:rgba(251,249,244,0.06); border-color:rgba(241,237,228,0.35); }
.hero-tags .spec-tag .num,
.hero-tags .spec-tag .lbl{ color:var(--canvas); }
.hero-tags .spec-tag::before{ border-color:var(--canvas); background:transparent; }

.page-hero{
  background:var(--forest-deep);
  color:var(--canvas);
  padding:150px 0 60px;
  position:relative;
  overflow:hidden;
}
.page-hero .wrap{ position:relative; z-index:2; }
.page-hero h1{ color:var(--canvas); font-size:clamp(2.1rem,5vw,3.2rem); max-width:760px; }
.page-hero .hero-sub{ color:rgba(241,237,228,0.8); }
.page-hero .stitch-line{ position:absolute; bottom:0; left:0; right:0; height:60px; opacity:0.5; }

/* ============================================================
   SECTIONS
   ============================================================ */
section{ padding:88px 0; }
.section-tight{ padding:56px 0; }
.section-alt{ background:var(--canvas-2); }
.section-dark{ background:var(--forest-deep); color:var(--canvas); }
.section-dark h2, .section-dark h3{ color:var(--canvas); }
.section-head{ max-width:640px; margin-bottom:48px; }
.section-head h2{ font-size:clamp(1.7rem,3.4vw,2.5rem); }

.divider{
  height:1px;
  background:repeating-linear-gradient(90deg, var(--ink) 0 6px, transparent 6px 12px);
  opacity:0.25;
  margin:60px 0;
}

/* ============================================================
   GRIDS / CARDS
   ============================================================ */
.grid{ display:grid; gap:28px; }
.grid-2{ grid-template-columns:repeat(2,1fr); }
.grid-3{ grid-template-columns:repeat(3,1fr); }
.grid-4{ grid-template-columns:repeat(4,1fr); }
.about-grid{ grid-template-columns:minmax(0, 4fr) minmax(0, 8fr); }
@media (max-width:920px){ .grid-3,.grid-4{ grid-template-columns:repeat(2,1fr); } }
@media (max-width:620px){ .grid-2,.grid-3,.grid-4,.about-grid{ grid-template-columns:1fr; } }

.card{
  background:var(--paper);
  border:1px solid var(--line);
  padding:30px;
  position:relative;
}
.card .card-index{
  font-family:var(--mono);
  font-size:0.72rem;
  color:var(--thread);
  letter-spacing:0.1em;
  margin-bottom:14px;
  display:block;
}
.card h3{ font-size:1.15rem; margin-bottom:12px; }
.card p{ color:rgba(22,36,28,0.78); font-size:0.95rem; }
.card .spec-tag{ margin-top:18px; }

.icon-box{
  width:52px; height:52px;
  border:1px solid var(--forest);
  border-radius:50%;
  display:flex; align-items:center; justify-content:center;
  margin-bottom:18px;
  color:var(--forest);
  flex-shrink:0;
}
.icon-box svg{ width:26px; height:26px; }

/* process rail (used on home + services) */
.process-rail{
  display:flex; overflow-x:auto; gap:0;
  padding-bottom:12px;
  scrollbar-width:thin;
}
.process-step{
  flex:0 0 200px;
  padding:22px 20px;
  border-right:1px dashed var(--line);
  position:relative;
}
.process-step:first-child{ padding-left:0; }
.process-step .step-no{
  font-family:var(--mono);
  font-size:0.7rem;
  color:var(--thread);
  display:block;
  margin-bottom:10px;
}
.process-step h4{ font-size:0.98rem; margin-bottom:8px; }
.process-step p{ font-size:0.84rem; color:rgba(22,36,28,0.7); }

/* stat strip */
.stat-strip{
  display:grid; grid-template-columns:repeat(4,1fr);
  border-top:1px solid var(--line-soft);
  border-bottom:1px solid var(--line-soft);
}
.stat-strip-centered{
  max-width:calc(var(--container) - 48px);
  margin:-36px auto 0;
  position:relative;
  z-index:3;
  background:var(--paper);
  border:1px solid var(--line-soft);
  box-shadow:0 18px 40px rgba(19,42,30,0.08);
}
.stat{
  padding:34px 24px;
  border-right:1px solid var(--line-soft);
  text-align:center;
}
.stat:last-child{ border-right:none; }
.stat .num{
  font-family:var(--mono); font-weight:700;
  font-size:clamp(1.6rem,3vw,2.4rem);
  color:var(--forest-deep);
  display:block;
}
.stat .lbl{
  font-family:var(--mono); font-size:0.68rem;
  letter-spacing:0.06em; text-transform:uppercase;
  color:rgba(22,36,28,0.62);
}
@media (max-width:760px){
  .stat-strip{ grid-template-columns:repeat(2,1fr); }
  .stat{ border-bottom:1px solid var(--line-soft); }
}

/* timeline (about) */
.timeline{ position:relative; padding-left:28px; border-left:1px dashed var(--line); }
.tl-item{ position:relative; padding-bottom:38px; }
.tl-item:last-child{ padding-bottom:0; }
.tl-item::before{
  content:""; position:absolute; left:-33px; top:4px;
  width:9px; height:9px; border-radius:50%;
  background:var(--thread);
}
.tl-item .yr{ font-family:var(--mono); color:var(--thread); font-size:0.85rem; display:block; margin-bottom:6px;}
.tl-item h4{ font-size:1.05rem; margin-bottom:6px; }
.tl-item p{ font-size:0.92rem; color:rgba(22,36,28,0.75); max-width:520px; }

/* people cards */
.person{ text-align:left; }
.person .portrait{
  width:100%; aspect-ratio:4/5;
  background:linear-gradient(160deg,var(--forest) 0%,var(--forest-deep) 100%);
  border:1px solid var(--line);
  margin-bottom:16px;
  position:relative; overflow:hidden;
}
.person .portrait img{
  width:100%; height:100%; object-fit:cover; display:block;
}
.person .portrait svg{ position:absolute; inset:0; width:100%; height:100%; }
.person h4{ font-size:1.05rem; margin-bottom:4px; }
.person span{ font-family:var(--mono); font-size:0.72rem; letter-spacing:0.08em; text-transform:uppercase; color:var(--canvas); }

/* table */
.spec-table{ width:100%; border-collapse:collapse; font-size:0.92rem; }
.spec-table th,.spec-table td{ text-align:left; padding:13px 16px; border-bottom:1px solid var(--line-soft); }
.spec-table th{
  font-family:var(--mono); font-size:0.68rem; letter-spacing:0.08em; text-transform:uppercase;
  color:var(--ink); opacity:0.65; font-weight:600;
  border-bottom:1px solid var(--ink);
}
.spec-table tr:hover td{ background:rgba(36,80,59,0.05); }
.table-wrap{ overflow-x:auto; }

/* badge / cert grid */
.cert-badge{
  border:1px solid var(--line);
  background:var(--paper);
  padding:22px 16px;
  text-align:center;
}
.cert-badge .icon-box{ margin:0 auto 14px; }
.cert-badge span{ font-family:var(--mono); font-size:0.78rem; letter-spacing:0.05em; }

/* buyer marquee */
.marquee{
  overflow:hidden; border-top:1px solid var(--line-soft); border-bottom:1px solid var(--line-soft);
  padding:26px 0;
}
.marquee-track{
  display:flex; gap:56px; width:max-content;
  animation:scroll-left 34s linear infinite;
  font-family:var(--display); font-size:1.3rem; letter-spacing:0.03em;
  color:rgba(22,36,28,0.55); text-transform:uppercase;
}
@keyframes scroll-left{ from{ transform:translateX(0);} to{ transform:translateX(-50%);} }

/* product category card */
.product-card{ border:1px solid var(--line); background:var(--paper); overflow:hidden; }
.product-card .swatch{
  aspect-ratio:5/4; position:relative; overflow:hidden;
  background:var(--forest);
}
.product-card .swatch svg{ width:100%; height:100%; }
.product-card .card-img{ width:100%; height:100%; object-fit:cover; display:block; }
.product-card .pc-body{ padding:20px 22px 24px; }
.product-card h3{ font-size:1.02rem; margin-bottom:8px; }
.product-card p{ font-size:0.86rem; color:rgba(22,36,28,0.7); margin-bottom:14px; }
.chip-list{ display:flex; flex-wrap:wrap; gap:8px; }
.chip{
  font-family:var(--mono); font-size:0.68rem; letter-spacing:0.03em;
  border:1px solid var(--line); padding:5px 10px; text-transform:uppercase;
}

/* CSR icon list */
.pillar{ display:flex; gap:20px; align-items:flex-start; padding:26px 0; border-bottom:1px solid var(--line-soft); }
.pillar:last-child{ border-bottom:none; }
.pillar .icon-box{ margin-bottom:0; }
.pillar h3{ font-size:1.1rem; margin-bottom:8px; }
.pillar p{ color:rgba(22,36,28,0.75); font-size:0.94rem; max-width:640px; }

/* CSR feature sections */
.csr-feature-grid{ gap:56px; align-items:center; }
.solar-feature-image{ align-self:stretch; }
.solar-feature-image .photo-frame{ height:100%; min-height:560px; }
.solar-feature-image .photo-frame img{ object-fit:cover; }
.csr-feature-content h2{ font-size:clamp(1.6rem,3vw,2.3rem); margin-bottom:18px; }
.csr-feature-content p{ color:rgba(22,36,28,0.78); margin-bottom:16px; }
.csr-feature-content h3{ font-size:1.1rem; margin:24px 0 12px; }
.csr-benefit-list{ margin:0; padding:0; list-style:none; }
.csr-benefit-list li{ color:rgba(22,36,28,0.78); padding:9px 0 9px 18px; border-bottom:1px solid var(--line-soft); position:relative; }
.csr-benefit-list li::before{ content:""; width:6px; height:6px; background:var(--thread); position:absolute; left:0; top:18px; border-radius:50%; }
.csr-benefit-list strong{ color:var(--forest-deep); }

/* Hope Restored gallery */
.hope-restored .section-head{ max-width:920px; }
.hope-restored .section-head h2{ max-width:850px; }
.csr-gallery{
  display:grid;
  grid-template-columns:repeat(4, minmax(0, 1fr));
  gap:16px;
}
.csr-gallery .photo-frame{
  aspect-ratio:4/3;
}
.csr-gallery .csr-gallery-feature{
  grid-column:auto;
  grid-row:auto;
  aspect-ratio:4/3;
}

/* contact */
.contact-grid{ display:grid; grid-template-columns:1.1fr 1fr; gap:52px; }
@media (max-width:880px){ .contact-grid{ grid-template-columns:1fr; } }
.field{ margin-bottom:20px; }
.field label{
  display:block; font-family:var(--mono); font-size:0.7rem; letter-spacing:0.08em;
  text-transform:uppercase; margin-bottom:8px; color:rgba(22,36,28,0.7);
}
.field input, .field textarea{
  width:100%; padding:13px 14px;
  border:1px solid var(--line); background:var(--paper);
  font-family:var(--body); font-size:0.95rem; color:var(--ink);
  border-radius:1px;
}
.field textarea{ resize:vertical; }
.field input:focus, .field textarea:focus{ outline:2px solid var(--forest); border-color:var(--forest); }
.contact-line{ display:flex; gap:16px; padding:16px 0; border-bottom:1px solid var(--line-soft); }
.contact-line:first-child{ padding-top:0; }
.contact-line .icon-box{ margin-bottom:0; }
.map-frame{ border:1px solid var(--line); aspect-ratio:16/10; overflow:hidden; margin-top:28px; }
.map-frame iframe{ width:100%; height:100%; border:0; display:block; }

/* ============================================================
   FOOTER
   ============================================================ */
footer{ background:var(--forest-deep); color:var(--canvas); padding:64px 0 28px; }
.footer-grid{ display:grid; grid-template-columns:1.4fr 1fr 1fr 1fr; gap:40px; margin-bottom:48px; }
@media (max-width:760px){ .footer-grid{ grid-template-columns:1fr 1fr; } }
.footer-grid h4{
  font-family:var(--mono); font-size:0.72rem; letter-spacing:0.1em;
  color:var(--brass); margin-bottom:18px; text-transform:uppercase;
}
.footer-grid ul li{ margin-bottom:10px; font-size:0.9rem; color:rgba(241,237,228,0.78); }
.footer-grid ul li a:hover{ color:var(--thread); }
.footer-bottom{
  display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:12px;
  border-top:1px solid rgba(241,237,228,0.15); padding-top:24px;
  font-family:var(--mono); font-size:0.72rem; letter-spacing:0.04em; color:rgba(241,237,228,0.55);
}
.online-indicator{
  display:inline-flex; align-items:center; gap:10px; padding:8px 12px;
  border:1px solid rgba(241,237,228,0.18); background:rgba(241,237,228,0.04);
  color:var(--canvas); border-radius:999px; white-space:nowrap;
}
.online-indicator .status-dot{
  width:8px; height:8px; display:inline-block; border-radius:50%;
  background:#57d98a; box-shadow:0 0 0 6px rgba(87,217,138,0.15);
  animation:pulse-online 2s ease-in-out infinite;
}
.online-indicator strong{ color:var(--canvas); font-weight:700; }
@keyframes pulse-online{ 0%,100%{ transform:scale(1); opacity:1; } 50%{ transform:scale(1.25); opacity:0.75; } }

/* reveal-on-scroll — SAFE BY DEFAULT.
   Content is fully visible unless the `js-ready` class (set synchronously
   in <head>) is present AND JavaScript successfully wires up the animation.
   This means a JS error, a slow script, or a browser quirk can never leave
   the page blank. */
.reveal{ opacity:1; transform:none; }
.js-ready .reveal{
  opacity:0;
  transform:translateY(20px);
  transition:opacity .65s cubic-bezier(.22,.61,.36,1), transform .65s cubic-bezier(.22,.61,.36,1);
  transition-delay:var(--reveal-delay, 0s);
}
.js-ready .reveal.in{ opacity:1; transform:translateY(0); }

/* whole-page fade-in — pure CSS, no JS dependency, always runs */
body{ animation:pageFade .5s ease both; }
@keyframes pageFade{ from{ opacity:0; } to{ opacity:1; } }

/* smooth hover lift on interactive surfaces */
.card, .product-card, .cert-badge, .pillar, .spec-tag, .process-step, .stat, .contact-line{
  transition:transform .28s ease, box-shadow .28s ease, background-color .28s ease, border-color .28s ease;
}
.card:hover, .product-card:hover, .cert-badge:hover{
  transform:translateY(-4px);
  box-shadow:0 14px 28px rgba(22,36,28,0.1);
  border-color:rgba(181,67,43,0.4);
}
.spec-tag{ transition:transform .2s ease, border-color .2s ease; }
.spec-tag:hover{ transform:translateY(-2px); border-color:var(--thread); }
.photo-frame img{ transition:transform .6s ease; }
.photo-frame:hover img{ transform:scale(1.04); }
.nav-links a{ transition:color .2s ease, border-color .2s ease; }
.chip{ transition:background-color .2s ease, color .2s ease; }
.chip:hover{ background:var(--forest-deep); color:var(--canvas); border-color:var(--forest-deep); }

/* ============================================================
   RESPONSIVE LAYOUT SAFETY
   Keep long content inside the viewport on phones and turn the
   home-page process rail into a readable card grid at small sizes.
   ============================================================ */
@media (max-width: 920px){
  .nav{ padding-left:20px; padding-right:20px; }
  .brand-logo{ width:155px; }
  .hero-inner{ padding-top:96px; padding-bottom:56px; }
  .hero{ min-height:clamp(640px, 92vh, 820px); }
  .page-hero{ padding-top:110px; padding-bottom:52px; }
  section{ padding:68px 0; }
  .contact-grid{ gap:40px; }
  .card{ padding:24px; }
  .about-grid{ gap:40px !important; }
}

@media (max-width: 700px){
  .wrap{ padding-left:18px; padding-right:18px; }
  .nav{ padding:12px 18px; }
  .brand-logo{ width:140px; }
  .hero-inner{ padding:82px 18px 46px; }
  .hero h1{ font-size:clamp(2rem, 10vw, 3.2rem); }
  .hero-sub{ font-size:1rem; }
  .hero-ctas{ margin-bottom:38px; }
  .hero-ctas .btn{ flex:1 1 100%; justify-content:center; }
  .hero-flow{ margin-top:30px; overflow:hidden; }
  .hero-flow svg{ min-width:560px; transform:translateX(-8%); }
  .page-hero{ padding:92px 0 44px; }
  .page-hero h1{ font-size:clamp(2rem, 9vw, 2.8rem); }
  section{ padding:56px 0; }
  .section-head{ margin-bottom:32px; }
  .stat-strip-centered{ width:calc(100% - 36px); margin-top:-24px; }
  .stat{ padding:24px 12px; }
  .stat .lbl{ font-size:.62rem; }
  .process-rail{ gap:0; }

  /* The home-page rail no longer requires sideways scrolling on phones. */
  .about-grid .process-rail{
    display:grid;
    grid-template-columns:repeat(2, minmax(0, 1fr));
    gap:0;
    overflow:visible;
    padding:14px !important;
  }
  .about-grid .process-step,
  .about-grid .process-step:first-child{
    min-width:0;
    padding:16px 12px;
    border-right:1px dashed var(--line);
    border-bottom:1px dashed var(--line);
  }
  .about-grid .process-step:nth-child(2n){ border-right:none; }
  .about-grid .process-step:nth-last-child(-n+2){ border-bottom:none; }
  .about-grid .process-step h4{ font-size:.9rem; }
  .about-grid .process-step p{ font-size:.78rem; line-height:1.45; }

  .pillar{ gap:14px; }
  .pillar > div:last-child{ min-width:0; }
  .solar-feature-image{ align-self:auto; }
  .solar-feature-image .photo-frame{ height:auto; min-height:0; aspect-ratio:4/3; }
  .csr-gallery{ grid-template-columns:repeat(2, minmax(0, 1fr)); gap:10px; }
  .csr-gallery .csr-gallery-feature{ grid-column:auto; grid-row:auto; aspect-ratio:4/3; }
  .map-frame{ aspect-ratio:4/3; }
  .footer-grid{ gap:26px 18px; }
  .footer-bottom{ align-items:flex-start; flex-direction:column; }
}

@media (max-width: 480px){
  .wrap{ padding-left:16px; padding-right:16px; }
  .brand-logo{ width:125px; }
  .nav-toggle{ width:38px; height:36px; }
  .nav-links a{ padding:14px 18px; }
  .hero{ min-height:640px; }
  .hero-tags{ display:grid; grid-template-columns:repeat(2, minmax(0,1fr)); gap:8px; }
  .hero-tags .spec-tag{ padding:9px 8px; gap:6px; }
  .hero-tags .spec-tag .num{ font-size:.9rem; }
  .hero-tags .spec-tag .lbl{ font-size:.58rem; }
  .tag-row{ gap:8px; }
  .spec-tag{ max-width:100%; padding:9px 11px 9px 9px; }
  .spec-tag .lbl{ overflow-wrap:anywhere; }
  .about-grid .process-rail{ grid-template-columns:1fr; }
  .csr-gallery{ grid-template-columns:1fr; }
  .csr-gallery .csr-gallery-feature{ grid-column:auto; aspect-ratio:4/3; }
  .about-grid .process-step,
  .about-grid .process-step:first-child,
  .about-grid .process-step:nth-child(2n){ border-right:none; border-bottom:1px dashed var(--line); }
  .about-grid .process-step:last-child{ border-bottom:none; }
  .footer-grid{ grid-template-columns:1fr; }
  .card{ padding:20px; }
  .btn{ width:100%; justify-content:center; text-align:center; }
}

/* misc */
.mt-0{margin-top:0;}
.center{ text-align:center; margin-left:auto; margin-right:auto; }
.eco-note{
  font-family:var(--mono); font-size:0.78rem; color:rgba(22,36,28,0.6);
  border-left:2px solid var(--brass); padding-left:14px; margin-top:20px;
}
