/* ============================================================
   GREENORB — Corporate Clean Sustainability
   ============================================================ */

:root {
  /* Colors */
  --bg: #ffffff;
  --surface: #f5f6f4;
  --surface-2: #ebede8;
  --ink: #0d1410;
  --ink-soft: #1c241d;
  --muted: #5b665e;
  --line: rgba(13, 20, 16, 0.1);
  --line-strong: rgba(13, 20, 16, 0.18);

  /* Brand green (Tweak-swappable) */
  --green: #1f7a3a;
  --green-dark: #155028;
  --green-light: #2ea14d;
  --green-fade: rgba(31, 122, 58, 0.08);

  /* Type */
  --sans: "Inter Tight", "Helvetica Neue", -apple-system, BlinkMacSystemFont, sans-serif;
  --display: "Archivo", "Inter Tight", -apple-system, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;

  /* Layout */
  --max: 1320px;
  --pad: clamp(20px, 4vw, 56px);
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 22px;
  --r-xl: 36px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  background: var(--bg);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
ul { list-style: none; padding: 0; margin: 0; }

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding-left: var(--pad);
  padding-right: var(--pad);
}

/* ============ Type ============ */
h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: -0.025em;
  margin: 0;
  color: var(--ink);
  line-height: 1;
}
h1 { font-size: clamp(48px, 7vw, 104px); line-height: 0.95; letter-spacing: -0.04em; font-weight: 900; }
h2 { font-size: clamp(36px, 4.5vw, 72px); line-height: 1; letter-spacing: -0.035em; }
h3 { font-size: clamp(22px, 2.2vw, 30px); line-height: 1.1; font-weight: 600; letter-spacing: -0.02em; }
h4 { font-size: 18px; line-height: 1.25; font-weight: 600; }

p { margin: 0; }

.eyebrow {
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--green);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 3px var(--green-fade);
}

.lead { font-size: clamp(16px, 1.3vw, 19px); line-height: 1.55; color: var(--muted); max-width: 62ch; }

.green { color: var(--green); }

/* ============ Buttons ============ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 26px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.005em;
  transition: transform 0.4s cubic-bezier(.2,.8,.2,1), background 0.3s, color 0.3s, box-shadow 0.3s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: var(--green);
  color: #fff;
  box-shadow: 0 10px 24px -10px rgba(31, 122, 58, 0.6);
}
.btn-primary:hover { background: var(--green-dark); box-shadow: 0 16px 32px -10px rgba(31, 122, 58, 0.7); }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line-strong);
}
.btn-ghost:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn-inv {
  background: #fff;
  color: var(--ink);
}
.btn-inv:hover { background: var(--surface-2); }
.btn-arrow {
  width: 16px; height: 16px;
  transition: transform 0.4s cubic-bezier(.2,.8,.2,1);
}
.btn:hover .btn-arrow { transform: translate(3px, -3px); }

/* ============ Nav ============ */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  padding: 16px 0;
  background: #f8fcfd;
  border-bottom: 1px solid var(--line);
}
.nav.scrolled {
  background: #f8fcfd;
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  padding: 12px 0;
  border-bottom-color: var(--line);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 32px;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--display);
  font-weight: 800;
  font-size: 20px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.logo-mark {
  width: 34px; height: 34px;
  display: grid; place-items: center;
}
.logo-img {
  height: 40px;
  width: auto;
  max-width: none;
  display: block;
  object-fit: contain;
}
.nav-links {
  display: flex;
  gap: 32px;
  align-items: center;
}
.nav-links a {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-soft);
  position: relative;
  padding: 6px 0;
}
.nav-links a::after {
  content: "";
  position: absolute; left: 0; bottom: 0;
  width: 0; height: 2px;
  background: var(--green);
  transition: width 0.3s cubic-bezier(.2,.8,.2,1);
}
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-cta { display: flex; gap: 10px; align-items: center; }
@media (max-width: 980px) { .nav-links { display: none; } }

/* ============ Mobile nav ============ */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  padding: 0;
  background: none;
  border: none;
  cursor: pointer;
}
.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
@media (max-width: 980px) { .nav-hamburger { display: flex; } }

.nav-mobile {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 12px 0 20px;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid var(--line);
}
.nav-mobile a {
  padding: 14px var(--pad);
  font-size: 15px;
  font-weight: 600;
  color: var(--ink-soft);
  border-bottom: 1px solid var(--line);
  transition: color 0.2s, background 0.2s;
}
.nav-mobile a:hover { color: var(--green); background: var(--surface); }
.nav-mobile .btn {
  margin: 16px var(--pad) 0;
  text-align: center;
  justify-content: center;
  border-bottom: none;
}

/* ============ Hero ============ */
.hero {
  position: relative;
  background: url('hero-bg.png') center 150px / 100% auto no-repeat;
  background-color: #f8fcfd;
}

.hero-inner {
  position: relative;
  z-index: 2;
  height: calc(35vw + 150px);
  display: flex;
  align-items: flex-start;
  padding-top: 5%;
}

.hero-copy {
  width: 38%;
  max-width: 480px;
}

.hero h1 {
  line-height: 1.05;
  margin-bottom: 0;
  color: var(--ink);
  font-size: clamp(40px, 4.5vw, 80px);
  font-weight: 900;
  letter-spacing: -0.03em;
}

.hero-italic-green {
  font-style: italic;
  color: var(--green);
  font-weight: 900;
}

.hero-sub {
  margin-top: 20px;
  font-size: clamp(14px, 1.4vw, 17px);
  color: var(--muted);
  line-height: 1.6;
  max-width: 38ch;
}

.hero-actions {
  margin-top: 28px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* Stats — bottom right frosted glass */
.hero-stats {
  position: absolute;
  bottom: 5%;
  right: var(--pad);
  z-index: 3;
  display: flex;
  align-items: center;
  background: rgba(255,255,255,0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.9);
  border-radius: 999px;
  padding: 16px 32px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.08);
}

.hero-stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 0 28px;
  text-align: center;
}

.hero-stat:first-child { padding-left: 0; }
.hero-stat:last-child  { padding-right: 0; }

.hero-stat-divider {
  width: 1px;
  height: 32px;
  background: var(--line-strong);
  flex-shrink: 0;
}

.hero-stat-num {
  font-family: var(--display);
  font-size: clamp(20px, 2vw, 26px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.hero-stat-pct { color: var(--green); }

.hero-stat-lbl {
  font-size: 10px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.09em;
  font-weight: 600;
  white-space: nowrap;
}

@media (max-width: 768px) {
  .hero {
    background-position: center top;
    background-size: 100% auto;
    min-height: 140vw;
  }
  .hero-copy { width: 100%; margin-left: 0; }
  .hero-inner {
    height: auto;
    min-height: 0;
    padding-top: 0;
    padding-bottom: 55vw;
    align-items: flex-start;
  }
  .hero h1 { font-size: clamp(36px, 10vw, 56px); }
  .hero-sub { max-width: 100%; font-size: 14px; }
  .hero-stats {
    position: static;
    border-radius: 0;
    background: #fff;
    backdrop-filter: none;
    border: none;
    border-top: 1px solid var(--line);
    box-shadow: none;
    padding: 20px var(--pad);
    justify-content: space-around;
  }
  .hero-stat { padding: 0; text-align: center; }
  .hero-stat-divider { width: 1px; height: 28px; background: var(--line); display: block; }
  .hero-stat-num { font-size: clamp(24px, 7vw, 36px); }
  .hero-stat-lbl { white-space: normal; font-size: 9px; }
}

/* ============ Section base ============ */
section { position: relative; }
.section-pad {
  padding-top: clamp(36px, 4vw, 65px);
  padding-bottom: clamp(36px, 4vw, 65px);
}
.section-head {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 60px;
  align-items: end;
  margin-bottom: 60px;
}
@media (max-width: 860px) {
  .section-head { grid-template-columns: 1fr; gap: 24px; }
}

/* ============ Impact strip (logos / focus areas) ============ */
.impact {
  background: #000000;
  color: #fff;
  padding: clamp(36px, 4vw, 65px) 0;
}
.impact h2 { color: #fff; }
.impact-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 60px;
  align-items: end;
  margin-bottom: 56px;
}
.impact .eyebrow { color: var(--green-light); }
.impact .eyebrow::before { background: var(--green-light); box-shadow: 0 0 0 3px rgba(46, 161, 77, 0.2); }
.impact-desc { color: rgba(255,255,255,0.7); font-size: 16px; line-height: 1.6; }
.impact-focus {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.1);
}
.impact-focus-item {
  background: #000000;
  padding: 32px 28px;
  display: flex; flex-direction: column; gap: 14px;
  transition: background 0.3s;
}
.impact-focus-item:hover { background: rgba(255,255,255,0.06); }
.impact-focus-item .n {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--green-light);
  letter-spacing: 0.1em;
}
.impact-focus-item h4 { color: #fff; font-size: 19px; font-weight: 600; }
.impact-focus-item .ico {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: rgba(46, 161, 77, 0.15);
  color: var(--green-light);
  display: grid; place-items: center;
  margin-bottom: auto;
}
@media (max-width: 860px) { .impact-focus, .impact-grid { grid-template-columns: 1fr; } }
@media (min-width: 861px) and (max-width: 1100px) { .impact-focus { grid-template-columns: repeat(2, 1fr); } }

/* ============ About preview ============ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.about-visual {
  position: relative;
  aspect-ratio: 1;
  border-radius: var(--r-xl);
  overflow: hidden;
  background: linear-gradient(135deg, #1c241d, #0d1410);
  isolation: isolate;
}
.about-visual canvas { position: absolute; inset: 0; }
.about-visual-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 30% 70%, rgba(46, 161, 77, 0.25), transparent 50%);
}
.about-visual-card {
  position: absolute;
  background: #fff;
  padding: 16px 18px;
  border-radius: var(--r-md);
  font-size: 13px;
  box-shadow: 0 16px 36px -16px rgba(0,0,0,0.3);
  z-index: 2;
}
.about-visual-card .num {
  font-family: var(--display);
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--green);
}
.about-visual-card .lbl {
  font-size: 11px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted);
}
.av-c1 { top: 24px; left: 24px; }
.av-c2 { bottom: 24px; right: 24px; }
@media (max-width: 860px) { .about-grid { grid-template-columns: 1fr; gap: 40px; } }

/* ============ Services grid ============ */
.svcs-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.svc {
  background: #fff;
  padding: 36px 32px;
  min-height: 280px;
  display: flex; flex-direction: column; gap: 18px;
  transition: background 0.4s, transform 0.4s;
  position: relative;
  cursor: pointer;
}
.svc:hover { background: var(--surface); }
.svc-ico {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: var(--green-fade);
  color: var(--green);
  display: grid; place-items: center;
  transition: background 0.3s, color 0.3s;
}
.svc:hover .svc-ico { background: var(--green); color: #fff; }
.svc h4 { font-size: 19px; font-weight: 600; }
.svc p { font-size: 13.5px; color: var(--muted); line-height: 1.55; }
.svc-arrow {
  margin-top: auto;
  width: 32px; height: 32px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  display: grid; place-items: center;
  transition: transform 0.3s, background 0.3s, color 0.3s, border-color 0.3s;
}
.svc:hover .svc-arrow {
  background: var(--ink); border-color: var(--ink); color: #fff;
  transform: rotate(-45deg);
}
@media (max-width: 1100px) { .svcs-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .svcs-grid { grid-template-columns: 1fr; } }

/* ============ Why Greenorb ============ */
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 60px;
}
.why-sticky { position: sticky; top: 100px; align-self: start; }
.why-list { display: flex; flex-direction: column; gap: 1px; background: var(--line); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.why-item {
  background: var(--bg);
  padding: 36px 0;
  display: grid;
  grid-template-columns: 1fr 40px;
  gap: 32px;
  align-items: center;
  transition: background 0.3s;
  cursor: pointer;
}
.why-item:hover { background: var(--surface); padding-left: 16px; padding-right: 16px; }
.why-item .n {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--muted);
  letter-spacing: 0.08em;
}
.why-item .body h3 { margin-bottom: 8px; }
.why-item .body p { font-size: 14px; color: var(--muted); line-height: 1.55; max-width: 56ch; }
.why-item .plus {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  display: grid; place-items: center;
  color: var(--muted);
  transition: background 0.3s, color 0.3s, transform 0.3s;
}
.why-item:hover .plus { background: var(--green); color: #fff; border-color: var(--green); transform: rotate(90deg); }
@media (max-width: 860px) {
  .why-grid { grid-template-columns: 1fr; }
  .why-sticky { position: static; }
  .why-item { grid-template-columns: 1fr 40px; gap: 16px; }
}

/* ============ ESG ============ */
.esg {
  background: var(--ink);
  color: #fff;
  padding: clamp(36px, 4vw, 65px) 0;
  position: relative;
  overflow: hidden;
}
.esg h2 { color: #fff; }
.esg .eyebrow { color: var(--green-light); }
.esg .eyebrow::before { background: var(--green-light); box-shadow: 0 0 0 3px rgba(46, 161, 77, 0.2); }
.esg-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 80px;
  align-items: center;
}
.esg-orb {
  position: relative;
  aspect-ratio: 1;
  max-width: 460px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}
.esg-orb-css {
  position: relative;
  width: 340px;
  height: 340px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.esg-orb-glow {
  position: absolute;
  width: 200px; height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(74,222,128,0.18) 0%, transparent 70%);
}
.esg-orb-core {
  position: absolute;
  width: 90px; height: 90px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, rgba(74,222,128,0.5), rgba(31,122,58,0.3));
  border: 1px solid rgba(74,222,128,0.4);
  box-shadow: 0 0 32px rgba(74,222,128,0.2);
}
.esg-orb-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(74,222,128,0.35);
  animation: orbSpin linear infinite;
}
.esg-orb-ring.r1 { width: 160px; height: 160px; animation-duration: 8s; border-color: rgba(74,222,128,0.45); }
.esg-orb-ring.r2 { width: 230px; height: 230px; animation-duration: 14s; animation-direction: reverse; border-style: dashed; }
.esg-orb-ring.r3 { width: 310px; height: 310px; animation-duration: 20s; border-color: rgba(74,222,128,0.18); }
@keyframes orbSpin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
.esg-priorities {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 40px;
}
.esg-prio {
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 999px;
  padding: 14px 22px;
  font-size: 14px;
  display: flex; align-items: center; gap: 12px;
  transition: background 0.3s, border-color 0.3s;
}
.esg-prio:hover { background: rgba(46, 161, 77, 0.1); border-color: var(--green-light); }
.esg-prio .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--green-light); }
.esg p.lead { color: rgba(255,255,255,0.72); }
@media (max-width: 860px) {
  .esg-grid { grid-template-columns: 1fr; gap: 50px; }
  .esg-priorities { grid-template-columns: 1fr; }
}

/* ============ Industries ============ */
.ind-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.ind-card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 32px;
  display: flex; flex-direction: column; gap: 14px;
  transition: transform 0.4s cubic-bezier(.2,.8,.2,1), box-shadow 0.4s, border-color 0.4s;
  position: relative;
  overflow: hidden;
}
.ind-card::after {
  content: "";
  position: absolute;
  inset: auto -40px -40px auto;
  width: 160px; height: 160px;
  border-radius: 50%;
  background: var(--green);
  transform: scale(0);
  transition: transform 0.5s cubic-bezier(.2,.8,.2,1);
  z-index: 0;
}
.ind-card:hover { transform: translateY(-6px); box-shadow: 0 24px 50px -24px rgba(0,0,0,0.18); border-color: transparent; }
.ind-card:hover::after { transform: scale(8); }
.ind-card > * { position: relative; z-index: 1; transition: color 0.4s; }
.ind-card:hover, .ind-card:hover h4, .ind-card:hover p { color: #fff; }
.ind-card:hover .ind-num { color: rgba(255,255,255,0.6); }
.ind-card.dark-on-hover::after { background: var(--green); }

.ind-num { font-family: var(--mono); font-size: 12px; color: var(--muted); letter-spacing: 0.08em; }
.ind-card h4 { font-size: 22px; font-weight: 600; letter-spacing: -0.01em; }
.ind-card p { font-size: 13.5px; color: var(--muted); line-height: 1.55; }
.ind-card .ind-ico {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--green-fade);
  color: var(--green);
  display: grid; place-items: center;
  margin-bottom: 12px;
  transition: background 0.3s, color 0.3s;
}
.ind-card:hover .ind-ico { background: rgba(255,255,255,0.18); color: #fff; }

@media (max-width: 1000px) { .ind-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .ind-grid { grid-template-columns: 1fr; } }

/* ============ Process ============ */
.proc {
  background: var(--surface);
  border-radius: var(--r-xl);
  margin: 0 var(--pad);
  padding: clamp(36px, 5vw, 64px);
}
.proc-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  background: var(--line);
  margin-top: 56px;
  border: 1px solid var(--line);
}
.proc-step {
  background: var(--surface);
  padding: 32px 22px;
  display: flex; flex-direction: column; gap: 18px;
  position: relative;
  transition: background 0.3s;
}
.proc-step:hover { background: #fff; }
.proc-step .n {
  font-family: var(--display);
  font-size: 56px;
  font-weight: 700;
  color: var(--line-strong);
  line-height: 1;
  letter-spacing: -0.04em;
  transition: color 0.3s;
}
.proc-step:hover .n { color: var(--green); }
.proc-step h4 { font-size: 18px; font-weight: 600; }
.proc-step p { font-size: 13px; color: var(--muted); line-height: 1.5; }
@media (max-width: 1000px) {
  .proc { margin: 0 12px; }
  .proc-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 540px) { .proc-grid { grid-template-columns: 1fr; } }

/* ============ Case study ============ */
.case-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: stretch;
}
.case-left {
  padding: 60px;
  background: var(--ink);
  color: #fff;
  border-radius: var(--r-lg);
  display: flex; flex-direction: column; justify-content: space-between;
  gap: 40px;
  min-height: 460px;
  position: relative;
  overflow: hidden;
}
.case-left h2 { color: #fff; }
.case-left .eyebrow { color: var(--green-light); }
.case-left .eyebrow::before { background: var(--green-light); box-shadow: 0 0 0 3px rgba(46,161,77,0.2); }
.case-left p { color: rgba(255,255,255,0.72); max-width: 40ch; }
.case-left::after {
  content: "";
  position: absolute;
  bottom: -200px; right: -200px;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(46,161,77,0.2), transparent 60%);
}
.case-right {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.case-pill {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 28px;
  display: flex; flex-direction: column; gap: 14px;
  transition: transform 0.4s cubic-bezier(.2,.8,.2,1);
}
.case-pill:hover { transform: translateY(-4px); }
.case-pill .ico {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: var(--green-fade);
  color: var(--green);
  display: grid; place-items: center;
}
.case-pill h4 { font-size: 16px; font-weight: 600; letter-spacing: -0.01em; }
.case-pill p { font-size: 13px; color: var(--muted); line-height: 1.5; }
@media (max-width: 980px) {
  .case-grid { grid-template-columns: 1fr; }
  .case-left { padding: 40px; min-height: auto; }
}
@media (max-width: 540px) { .case-right { grid-template-columns: 1fr; } }

/* ============ Big CTA ============ */
.bigcta {
  background: var(--green);
  color: #fff;
  border-radius: var(--r-xl);
  margin: 0 var(--pad);
  padding: clamp(36px, 5vw, 72px);
  position: relative;
  overflow: hidden;
}
.bigcta::before {
  content: "";
  position: absolute;
  width: 700px; height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.18), transparent 60%);
  top: -200px; right: -200px;
}
.bigcta-inner {
  position: relative; z-index: 2;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 60px;
  align-items: end;
}
.bigcta h2 { color: #fff; font-size: clamp(40px, 5.5vw, 80px); }
.bigcta-side p {
  color: rgba(255,255,255,0.85);
  font-size: 16px; line-height: 1.6;
  max-width: 40ch;
}
.bigcta-actions { margin-top: 24px; display: flex; gap: 12px; flex-wrap: wrap; }
.bigcta .btn-inv:hover { background: var(--ink); color: #fff; }
.bigcta .btn-ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.4);
}
.bigcta .btn-ghost:hover { background: #fff; color: var(--green); }
@media (max-width: 980px) {
  .bigcta { margin: 0 12px; }
  .bigcta-inner { grid-template-columns: 1fr; gap: 40px; }
}

/* ============ Footer ============ */
.foot { padding: 48px 0 24px; background: #000; color: #fff; }
.foot .logo-img { height: 72px; }
.foot-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr 1.2fr;
  gap: 40px;
  margin-bottom: 60px;
}
.foot-brand p { font-size: 14px; line-height: 1.55; color: rgba(255,255,255,0.75); max-width: 36ch; margin-top: 16px; }
.foot-col h5 {
  font-size: 11px; text-transform: uppercase; letter-spacing: 0.1em;
  color: rgba(255,255,255,0.6); font-weight: 600; margin: 0 0 18px;
}
.foot-col ul { display: flex; flex-direction: column; gap: 10px; }
.foot-col a { font-size: 14px; color: rgba(255,255,255,0.85); transition: color 0.2s; }
.foot-col a:hover { color: #fff; }
.foot-news {
  display: flex; flex-direction: column; gap: 14px;
}
.foot-news input {
  border: 1px solid rgba(255,255,255,0.3);
  background: rgba(255,255,255,0.1);
  color: #fff;
  padding: 14px 16px;
  border-radius: 999px;
  font-family: inherit;
  font-size: 14px;
  width: 100%;
}
.foot-news input::placeholder { color: rgba(255,255,255,0.5); }
.foot-news input:focus { outline: none; border-color: rgba(255,255,255,0.7); }
.foot-news .btn { padding: 12px 22px; }
.foot-bottom {
  display: flex; justify-content: space-between; align-items: center;
  color: rgba(255,255,255,0.6);
  border-top: 1px solid rgba(255,255,255,0.2);
  padding-top: 24px;
  font-size: 12px;
  flex-wrap: wrap; gap: 16px;
}
.foot-bottom a { color: rgba(255,255,255,0.6); }
.foot-bottom a:hover { color: #fff; }
@media (max-width: 980px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .foot-grid { grid-template-columns: 1fr; } }

/* ============================================================
   MOBILE — comprehensive overrides (≤ 768px)
   ============================================================ */
@media (max-width: 768px) {

  /* Nav */
  .nav-cta .btn-primary { display: none; }
  .logo-img { height: 32px; max-width: none; }

  /* Hero — mobile background */
  .hero {
    min-height: auto;
    height: auto;
    background: #f8fcfd;
  }
  .hero-inner {
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    height: auto;
    min-height: auto;
    padding-top: 0;
    padding-bottom: 80vw;
    position: relative;
    z-index: 1;
    background: url('nature-bg.jpg') center bottom / cover no-repeat;
  }
  .hero-copy {
    width: 100%;
    padding-top: 20px;
    padding-bottom: 60px;
    text-align: left;
    background: transparent;
  }
  .hero-meta {
    position: static;
    margin-top: 28px;
    left: auto;
    bottom: auto;
  }
  .hero-copy h1 { color: var(--ink); }
  .hero-copy .green { color: var(--green); }
  .hero-sub { color: var(--muted); }
  .hero-meta { border-top-color: var(--line); }
  .hero-meta-stat .num { color: var(--ink); }
  .hero-meta-stat .lbl { color: var(--muted); }
  .hero-meta-stat + .hero-meta-stat { border-left-color: var(--line); }
  .hero-stage-img { display: none; }
  .hero-mobile-bg { display: none; }
  .hero-meta-desktop { display: none !important; }
  .hero-meta-mobile {
    display: flex;
    width: 100%;
    margin-top: 0;
    padding: 20px var(--pad);
    border-top: 1px solid var(--line);
    background: #fff;
    position: relative;
    z-index: 10;
  }
  .hero-mobile-bg-inline {
    display: none;
    width: calc(100% + var(--pad) * 2);
    margin-left: calc(-1 * var(--pad));
    height: 56vw;
    min-height: 220px;
    max-height: 340px;
    background-image: url('nature-bg.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    margin-top: 28px;
    margin-bottom: 0;
  }

  .hero-actions .btn {
    padding: 12px 20px;
    font-size: 13px;
  }

  /* Typography */
  h1 { font-size: clamp(40px, 11vw, 64px); }
  h2 { font-size: clamp(30px, 8vw, 48px); }

  /* Impact */
  .impact-grid { grid-template-columns: 1fr; gap: 32px; }
  .impact-focus { grid-template-columns: 1fr; }

  /* About */
  .about-grid { grid-template-columns: 1fr; gap: 32px; }
  .about-visual { aspect-ratio: 4/3; }

  /* Services */
  .svcs-grid { grid-template-columns: 1fr; }

  /* Why */
  .why-grid { grid-template-columns: 1fr; }
  .why-sticky { position: static; }
  .why-item { grid-template-columns: 1fr 36px; gap: 16px; }

  /* ESG */
  .esg-grid { grid-template-columns: 1fr; gap: 40px; }
  .esg-priorities { grid-template-columns: 1fr; }
  .esg-orb { max-width: 280px; margin: 0 auto; }

  /* Industries */
  .ind-grid { grid-template-columns: 1fr; }

  /* Process */
  .proc { margin: 0 12px; padding: 40px 20px; }
  .proc-grid { grid-template-columns: 1fr; }

  /* Case */
  .case-grid { grid-template-columns: 1fr; }
  .case-left { padding: 32px; min-height: auto; }
  .case-right { grid-template-columns: 1fr; }

  /* CTA */
  .bigcta { margin: 0 12px; padding: 48px 24px; }
  .bigcta-inner { grid-template-columns: 1fr; gap: 24px; }
  .bigcta-actions { flex-direction: column; }
  .bigcta-actions .btn { text-align: center; justify-content: center; }

  /* Footer */
  .foot-grid { grid-template-columns: 1fr; }
  .foot-bottom { flex-direction: column; text-align: center; }

  /* Section head */
  .section-head { grid-template-columns: 1fr; gap: 16px; }

  /* Hero meta stats */
  .hero-meta {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0;
    background: var(--surface);
    position: relative;
    z-index: 2;
    margin-top: 0;
    padding-top: 24px;
    border-top: none;
  }
  .hero-meta-stat {
    flex: 1;
    min-width: 0;
  }
}

/* ============ Reveal ============ */
/* Default: visible. JS observer adds .reveal-init class on mount to enable hidden state. */
.reveal-init [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity 0.9s cubic-bezier(.2,.8,.2,1), transform 0.9s cubic-bezier(.2,.8,.2,1); }
.reveal-init [data-reveal].in { opacity: 1; transform: none; }
.reveal-init [data-reveal-stagger] > * { opacity: 0; transform: translateY(28px); transition: opacity 0.8s cubic-bezier(.2,.8,.2,1), transform 0.8s cubic-bezier(.2,.8,.2,1); }
.reveal-init [data-reveal-stagger].in > * { opacity: 1; transform: none; }
.reveal-init [data-reveal-stagger].in > *:nth-child(2) { transition-delay: 70ms; }
.reveal-init [data-reveal-stagger].in > *:nth-child(3) { transition-delay: 140ms; }
.reveal-init [data-reveal-stagger].in > *:nth-child(4) { transition-delay: 210ms; }
.reveal-init [data-reveal-stagger].in > *:nth-child(5) { transition-delay: 280ms; }
.reveal-init [data-reveal-stagger].in > *:nth-child(6) { transition-delay: 350ms; }
.reveal-init [data-reveal-stagger].in > *:nth-child(7) { transition-delay: 420ms; }
.reveal-init [data-reveal-stagger].in > *:nth-child(8) { transition-delay: 490ms; }

.nav-links a { white-space: nowrap; }

/* ============ Footer social ============ */
.foot-social { display: flex; gap: 10px; margin-top: 20px; }
.foot-social a {
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.3);
  display: grid; place-items: center;
  color: #fff;
  transition: background 0.25s, border-color 0.25s, transform 0.25s;
}
.foot-social a:hover { background: #fff; color: var(--green); border-color: #fff; transform: translateY(-2px); }

/* ============ Projects / Case studies ============ */
.proj-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.proj-card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 32px;
  display: flex; flex-direction: column; gap: 14px;
  transition: transform 0.4s cubic-bezier(.2,.8,.2,1), box-shadow 0.4s, border-color 0.4s;
}
.proj-card:hover { transform: translateY(-6px); box-shadow: 0 24px 50px -24px rgba(0,0,0,0.18); border-color: var(--line-strong); }
.proj-tag {
  align-self: flex-start;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green);
  background: var(--green-fade);
  padding: 5px 12px;
  border-radius: 999px;
}
.proj-title { font-size: 22px; font-weight: 600; }
.proj-client { font-size: 13px; color: var(--muted); margin-top: -6px; }
.proj-block { margin-top: 4px; }
.proj-block h5 {
  font-size: 11px; text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--green); font-weight: 600; margin: 0 0 6px;
}
.proj-block p { font-size: 13.5px; color: var(--muted); line-height: 1.55; }
.proj-metric {
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.proj-metric-num {
  display: block;
  font-family: var(--display);
  font-size: 34px;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--green);
  line-height: 1;
}
.proj-metric-lbl {
  display: block;
  margin-top: 6px;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.4;
}
.placeholder-note {
  margin-top: 24px;
  font-size: 12.5px;
  color: var(--muted);
  font-style: italic;
}
@media (max-width: 1000px) { .proj-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .proj-grid { grid-template-columns: 1fr; } }

/* ============ Contact ============ */
.contact-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 40px;
  align-items: start;
}
.contact-form {
  display: flex; flex-direction: column; gap: 18px;
}
.cf-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.cf-field { display: flex; flex-direction: column; gap: 7px; }
.cf-field label {
  font-size: 12px; font-weight: 600;
  letter-spacing: 0.04em; text-transform: uppercase;
  color: var(--ink-soft);
}
.cf-field input,
.cf-field select,
.cf-field textarea {
  font-family: inherit;
  font-size: 15px;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  padding: 13px 15px;
  width: 100%;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.cf-field textarea { resize: vertical; }
.cf-field input:focus,
.cf-field select:focus,
.cf-field textarea:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 3px var(--green-fade);
}
.cf-field input.cf-err,
.cf-field textarea.cf-err { border-color: #c0392b; }
.cf-msg { font-size: 12.5px; color: #c0392b; }
.contact-form .btn { align-self: flex-start; }
.cf-success {
  font-size: 14px;
  color: var(--green-dark);
  background: var(--green-fade);
  border: 1px solid var(--green-light);
  border-radius: var(--r-sm);
  padding: 14px 16px;
  line-height: 1.5;
}
.contact-info { display: flex; flex-direction: column; gap: 22px; }
.contact-info-block h5 {
  font-size: 11px; text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--green); font-weight: 600; margin: 0 0 6px;
}
.contact-info-block p { font-size: 14px; color: var(--muted); line-height: 1.6; }
.contact-info-block a:hover { color: var(--green); }
.contact-map {
  margin-top: 4px;
  border-radius: var(--r-md);
  overflow: hidden;
  border: 1px solid var(--line);
}
.contact-map iframe { width: 100%; height: 220px; border: 0; display: block; }
@media (max-width: 860px) {
  .contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .cf-row { grid-template-columns: 1fr; }
}

/* ============ Legal pages ============ */
.legal-head {
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
  background: #f8fcfd;
}
.legal-body {
  max-width: 760px;
  margin: 0 auto;
  padding: clamp(40px, 6vw, 80px) var(--pad);
}
.legal-body h1 { font-size: clamp(36px, 5vw, 56px); margin-bottom: 12px; }
.legal-body .legal-updated {
  font-size: 13px; color: var(--muted);
  margin-bottom: 36px;
}
.legal-body h2 {
  font-size: clamp(20px, 2.4vw, 26px);
  margin: 36px 0 12px;
  letter-spacing: -0.02em;
}
.legal-body p,
.legal-body li { font-size: 15px; color: var(--ink-soft); line-height: 1.7; }
.legal-body ul { list-style: disc; padding-left: 22px; margin: 10px 0; display: flex; flex-direction: column; gap: 6px; }
.legal-body a { color: var(--green); }
.legal-body a:hover { text-decoration: underline; }
.legal-placeholder {
  background: var(--green-fade);
  border: 1px solid var(--green-light);
  border-radius: var(--r-sm);
  padding: 14px 16px;
  font-size: 13.5px;
  color: var(--green-dark);
  margin-bottom: 32px;
}
.legal-back { display: inline-block; margin-top: 40px; font-weight: 600; color: var(--green); }
