/* ==========================================================================
   Green Flames — Biomass Briquettes
   Plain CSS, no build step. Colours are tokens below: change them in one place.
   ========================================================================== */

/* ---------- Fonts (self-hosted, SIL Open Font License) ---------- */
@font-face { font-family: "Barlow Condensed"; font-weight: 600; font-style: normal; font-display: swap; src: url("../fonts/barlow-condensed-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-weight: 700; font-style: normal; font-display: swap; src: url("../fonts/barlow-condensed-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-weight: 800; font-style: normal; font-display: swap; src: url("../fonts/barlow-condensed-latin-800-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-weight: 400; font-style: normal; font-display: swap; src: url("../fonts/barlow-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-weight: 500; font-style: normal; font-display: swap; src: url("../fonts/barlow-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-weight: 600; font-style: normal; font-display: swap; src: url("../fonts/barlow-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-weight: 700; font-style: normal; font-display: swap; src: url("../fonts/barlow-latin-700-normal.woff2") format("woff2"); }

/* ---------- Tokens (match the logo) ---------- */
:root {
  --ink: #0D1410;          /* page ground — logo's forest ink */
  --ink-2: #131C17;        /* raised surface */
  --ink-3: #1A251F;        /* cards on surface */
  --line: #24312A;         /* hairlines on dark */
  --line-2: #33443A;
  --text: #EEF2EC;         /* primary text on dark */
  --muted: #A5B2A9;        /* secondary text on dark (AA on --ink) */
  --leaf: #8CC63F;         /* brand green — logo flame */
  --leaf-hover: #A3D65E;
  --deep: #2F6B1E;         /* deep green — logo on light */
  --ember: #F2A33A;        /* ember accent — logo spark, used sparingly */
  --paper: #EEF2EC;        /* light sections */
  --paper-2: #FFFFFF;
  --paper-line: #D2DBD4;
  --paper-text: #1D2A22;
  --paper-muted: #45554A;

  --display: "Barlow Condensed", "Arial Narrow", Impact, sans-serif;
  --body: "Barlow", system-ui, -apple-system, "Segoe UI", sans-serif;

  --wrap: 1280px;
  --gutter: 40px;
  --header-h: 84px;
  --radius: 2px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--ink); color: var(--text);
  font-family: var(--body); font-size: 17px; line-height: 1.65;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { color: #fff; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
h1, h2, h3, h4 { margin: 0; font-family: var(--display); font-weight: 800; text-transform: uppercase; line-height: .95; letter-spacing: .005em; }
ul { margin: 0; padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--leaf); outline-offset: 3px; }
::selection { background: var(--leaf); color: var(--ink); }
.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 { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--leaf); color: var(--ink); padding: 10px 16px; font-weight: 700; }
.skip:focus { top: 12px; color: var(--ink); }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: 120px 0; }
.section--tight { padding: 88px 0; }
.section--paper { background: var(--paper); color: var(--paper-text); }
.section--paper a:hover { color: var(--deep); }
.section--raised { background: var(--ink-2); }
.bt { border-top: 1px solid var(--line); }
.bb { border-bottom: 1px solid var(--line); }

/* ---------- Type helpers ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 13px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--leaf);
}
.eyebrow::before { content: ""; width: 32px; height: 2px; background: currentColor; }
.section--paper .eyebrow { color: var(--deep); }
.eyebrow--plain::before { display: none; }
.h-xl { font-size: clamp(56px, 9vw, 128px); }
.h-lg { font-size: clamp(44px, 6.4vw, 88px); }
.h-md { font-size: clamp(34px, 4vw, 56px); }
.h-sm { font-size: clamp(26px, 2.6vw, 36px); }
.accent { color: var(--leaf); }
.section--paper .accent { color: var(--deep); }
.lead { font-size: clamp(18px, 1.6vw, 20px); color: #C5CFC8; }
.section--paper .lead { color: var(--paper-muted); }
.muted { color: var(--muted); }
.section--paper .muted { color: var(--paper-muted); }

.sec-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; margin-bottom: 56px; }
.sec-head h2 { margin-top: 18px; }
.sec-head > p { max-width: 460px; margin: 0; }
.sec-head--center { flex-direction: column; align-items: center; text-align: center; }
.sec-head--center > p { max-width: 640px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px; border: 1.5px solid transparent; border-radius: var(--radius);
  font-family: var(--body); font-weight: 700; font-size: 15px; letter-spacing: .06em; text-transform: uppercase;
  cursor: pointer; transition: background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease);
  white-space: nowrap; background: transparent;
}
.btn svg { width: 18px; height: 18px; flex: none; transition: transform .2s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn--leaf { background: var(--leaf); color: var(--ink); }
.btn--leaf:hover { background: var(--leaf-hover); color: var(--ink); }
.btn--ghost { border-color: var(--line-2); color: var(--text); }
.btn--ghost:hover { border-color: var(--leaf); color: var(--text); }
.btn--ink { background: var(--ink); color: var(--text); }
.btn--ink:hover { background: #1F2B24; color: #fff; }
.btn--sm { min-height: 46px; padding: 0 20px; font-size: 14px; }
.btn--block { width: 100%; }
.link-arrow svg { width: 18px; height: 18px; flex: none; transition: transform .2s var(--ease); }
.link-arrow:hover svg { transform: translateX(3px); }
.link-arrow { white-space: nowrap; display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; padding-bottom: 6px; border-bottom: 2px solid var(--leaf); }
.section--paper .link-arrow { border-color: var(--deep); }

/* ---------- Top bar ---------- */
.topbar { border-bottom: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 42px; }
.topbar__left, .topbar__right { display: flex; gap: 24px; align-items: center; }
.topbar a { display: inline-flex; align-items: center; gap: 8px; }
.topbar a:hover { color: var(--text); }
.topbar strong { color: var(--text); font-weight: 600; }
.topbar svg { width: 15px; height: 15px; color: var(--leaf); flex: none; }

/* ---------- Header / nav ---------- */
.header { position: sticky; top: 0; z-index: 50; background: rgba(13, 20, 16, .97); border-bottom: 1px solid var(--line); }
.header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: var(--header-h); }
.brand { display: flex; align-items: center; flex: none; }
.brand img { height: 46px; width: auto; }
.nav { display: flex; align-items: center; gap: 34px; }
.nav__link { position: relative; font-size: 15px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 8px 0; color: #D6DDD8; }
.nav__link::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--leaf); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease); }
.nav__link:hover, .nav__link[aria-current="page"] { color: var(--text); }
.nav__link:hover::after, .nav__link[aria-current="page"]::after { transform: scaleX(1); }
.nav__cta { display: none; }
.header__actions { display: flex; align-items: center; gap: 12px; }
.nav-toggle {
  display: none; width: 48px; height: 48px; border: 1px solid var(--line-2); background: transparent; border-radius: var(--radius);
  align-items: center; justify-content: center; cursor: pointer;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after { display: block; width: 20px; height: 2px; background: var(--text); position: relative; transition: transform .25s var(--ease), background .25s; }
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; }
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Hero (home) ---------- */
.hero { padding: 80px 0 0; position: relative; }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.hero h1 { margin-top: 28px; font-size: clamp(56px, 7.4vw, 108px); }
.hero h1 .strike { position: relative; color: var(--muted); }
.hero h1 .strike::after { content: ""; position: absolute; left: -2%; right: -2%; top: 52%; height: .09em; background: var(--ember); transform: rotate(-4deg); }
.hero .lead { max-width: 560px; margin-top: 30px; }
.hero__ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 36px; }
.hero__trust { display: flex; gap: 28px; flex-wrap: wrap; margin-top: 40px; font-size: 15px; color: var(--muted); }
.hero__trust span { display: inline-flex; align-items: center; gap: 8px; }
.hero__trust svg { width: 18px; height: 18px; color: var(--leaf); }
.hero__media { position: relative; }
.hero__media .frame { position: relative; overflow: hidden; aspect-ratio: 4 / 4.6; background: var(--ink-2); }
.hero__media .frame img { width: 100%; height: 100%; object-fit: cover; }
.hero__badge { position: absolute; right: -1px; bottom: -1px; background: var(--leaf); color: var(--ink); padding: 22px 28px; }
.hero__badge b { display: block; font-family: var(--display); font-weight: 800; font-size: 60px; line-height: .9; }
.hero__badge > span { font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.hero__tag { position: absolute; left: 20px; top: 20px; display: inline-flex; align-items: center; gap: 8px; background: rgba(13,20,16,.86); padding: 8px 14px; font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.hero__tag i { width: 8px; height: 8px; border-radius: 50%; background: var(--leaf); box-shadow: 0 0 0 4px rgba(140,198,63,.25); }

/* ---------- Fact strip ---------- */
.facts { margin-top: 80px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.facts__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.fact { padding: 32px 24px; border-left: 1px solid var(--line); }
.fact:first-child { border-left: 0; padding-left: 0; }
.fact b { display: block; font-family: var(--display); font-weight: 800; font-size: clamp(40px, 4.4vw, 58px); line-height: 1; color: var(--leaf); }
.fact > span { color: var(--muted); font-size: 15px; }

/* ---------- Split / media ---------- */
.split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 72px; align-items: center; }
.split--top { align-items: start; }
.media { position: relative; overflow: hidden; background: var(--ink-2); }
.media img { width: 100%; height: 100%; object-fit: cover; }
.media--tall { aspect-ratio: 4 / 4.8; }
.media--wide { aspect-ratio: 16 / 10; }
.media-stack { position: relative; padding: 0 0 64px 64px; }
.media-stack .media--small { position: absolute; left: 0; bottom: 0; width: 46%; aspect-ratio: 1; border: 8px solid var(--ink); }
.media-caption { position: absolute; left: 16px; bottom: 16px; background: rgba(13,20,16,.88); padding: 8px 12px; font-size: 13px; font-weight: 600; letter-spacing: .04em; }

/* numbered list */
.numlist { border-top: 1px solid var(--line); margin-top: 36px; }
.numlist li { display: flex; gap: 20px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.numlist .n { font-family: var(--display); font-weight: 800; font-size: 32px; line-height: 1; color: var(--leaf); min-width: 48px; }
.numlist h3 { font-family: var(--body); text-transform: none; font-weight: 700; font-size: 19px; line-height: 1.3; letter-spacing: 0; }
.numlist p { color: var(--muted); font-size: 16px; margin-top: 4px; }

/* ---------- Product cards (on paper) ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.pcard { background: var(--paper-2); border: 1px solid var(--paper-line); display: flex; flex-direction: column; }
.pcard__img { aspect-ratio: 4 / 3; overflow: hidden; }
.pcard__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.pcard:hover .pcard__img img { transform: scale(1.04); }
.pcard__body { padding: 28px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.pcard__body h3 { font-size: 44px; }
.pcard__body h3 small { font-size: 22px; color: var(--paper-muted); margin-left: 6px; }
.pcard__body p { color: var(--paper-muted); font-size: 16px; }
.pcard__meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 8px; }
.chip { display: inline-flex; align-items: center; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 6px 10px; background: #E3EAE4; color: var(--paper-text); }
.panel-dark { background: var(--ink); color: var(--text); padding: 34px; display: flex; flex-direction: column; gap: 20px; }
.panel-dark .eyebrow { color: var(--leaf); }
.ticks { display: flex; flex-direction: column; gap: 14px; font-size: 16px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; }
.ticks svg { width: 20px; height: 20px; color: var(--leaf); flex: none; margin-top: 3px; }
.section--paper .ticks svg { color: var(--deep); }

/* ---------- Process ---------- */
.process { counter-reset: step; }
.step { position: relative; background: var(--ink-2); display: flex; flex-direction: column; }
.step__img { aspect-ratio: 4 / 3; overflow: hidden; position: relative; }
.step__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.step:hover .step__img img { transform: scale(1.05); }
.step__num { position: absolute; left: 0; top: 0; background: var(--leaf); color: var(--ink); font-family: var(--display); font-weight: 800; font-size: 22px; padding: 8px 14px; }
.step__body { padding: 24px 24px 28px; }
.step__body h3 { font-size: 30px; }
.step__body p { color: var(--muted); font-size: 15.5px; margin-top: 10px; }

/* ---------- Band (marquee) ---------- */
.band { background: var(--leaf); color: var(--ink); overflow: hidden; }
.band__track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.band__track span { font-family: var(--display); font-weight: 800; font-size: clamp(36px, 4.4vw, 56px); text-transform: uppercase; padding: 20px 22px; white-space: nowrap; line-height: 1; }
.band__track span.dot { color: var(--deep); padding: 20px 6px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Monsoon / image band ---------- */
.imgband { position: relative; padding: 140px 0; overflow: hidden; isolation: isolate; }
.imgband > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.imgband::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(13,20,16,.94) 0%, rgba(13,20,16,.82) 45%, rgba(13,20,16,.35) 100%); }
.imgband__inner { max-width: 640px; }
.imgband h2 { margin-top: 18px; }
.imgband p { color: #D2DAD4; margin-top: 24px; font-size: 18px; }
.rain { display: inline-flex; align-items: center; gap: 10px; color: var(--ember); }

/* ---------- Industries ---------- */
.ind { background: var(--ink-2); border: 1px solid var(--line); padding: 30px; display: flex; flex-direction: column; gap: 14px; transition: border-color .25s var(--ease), transform .25s var(--ease); }
.ind:hover { border-color: var(--leaf); transform: translateY(-3px); }
.ind svg { width: 40px; height: 40px; color: var(--leaf); }
.ind h3 { font-size: 26px; }
.ind p { color: var(--muted); font-size: 15.5px; }

/* ---------- Clients ---------- */
.clients { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 1px; background: var(--paper-line); border: 1px solid var(--paper-line); }
.client { background: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; padding: 30px 18px 22px; min-height: 180px; }
.client img { max-height: 76px; max-width: 150px; width: auto; object-fit: contain; filter: grayscale(1); opacity: .78; transition: filter .3s var(--ease), opacity .3s var(--ease); }
.client:hover img { filter: none; opacity: 1; }
.client span { font-size: 12.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--paper-muted); text-align: center; }

/* ---------- Reach ---------- */
.reach { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 72px; align-items: center; }
.reach__list li { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 22px 0; border-top: 1px solid var(--line); }
.reach__list li:last-child { border-bottom: 1px solid var(--line); }
.reach__list b { font-family: var(--display); font-weight: 800; font-size: clamp(28px, 3vw, 40px); text-transform: uppercase; line-height: 1; }
.reach__list span { font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); text-align: right; }
.map-art { background: var(--ink-2); border: 1px solid var(--line); padding: 28px; }
.map-art svg { width: 100%; height: auto; }

/* ---------- Gallery ---------- */
.gal { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 220px; gap: 12px; }
.gal__item { position: relative; overflow: hidden; background: var(--ink-2); border: 0; padding: 0; cursor: zoom-in; display: block; width: 100%; height: 100%; }
.gal__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease), opacity .3s; }
.gal__item:hover img { transform: scale(1.05); }
.gal__item figcaption, .gal__item .cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 14px 12px; background: linear-gradient(transparent, rgba(13,20,16,.88)); font-size: 14px; font-weight: 600; text-align: left; color: var(--text); opacity: 0; transform: translateY(8px); transition: opacity .3s var(--ease), transform .3s var(--ease); }
.gal__item:hover .cap, .gal__item:focus-visible .cap { opacity: 1; transform: none; }
.gal__item.w2 { grid-column: span 2; }
.gal__item.h2 { grid-row: span 2; }
.gal--full { grid-auto-rows: 240px; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.filter { min-height: 44px; padding: 0 18px; border: 1px solid var(--line-2); background: transparent; color: var(--muted); font-size: 14px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; cursor: pointer; border-radius: var(--radius); }
.filter:hover { color: var(--text); border-color: var(--leaf); }
.filter[aria-pressed="true"] { background: var(--leaf); color: var(--ink); border-color: var(--leaf); }
.gal__item[hidden] { display: none; }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(6,10,8,.96); display: none; align-items: center; justify-content: center; padding: 64px 72px; }
.lightbox.is-open { display: flex; }
.lightbox figure { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 14px; max-width: 100%; max-height: 100%; }
.lightbox img { max-width: 100%; max-height: calc(100vh - 160px); object-fit: contain; }
.lightbox figcaption { color: var(--muted); font-size: 15px; text-align: center; }
.lb-btn { position: absolute; width: 52px; height: 52px; display: flex; align-items: center; justify-content: center; background: rgba(255,255,255,.06); border: 1px solid var(--line-2); color: var(--text); cursor: pointer; border-radius: var(--radius); }
.lb-btn:hover { background: var(--leaf); color: var(--ink); border-color: var(--leaf); }
.lb-btn svg { width: 22px; height: 22px; }
.lb-close { top: 16px; right: 16px; }
.lb-prev { left: 12px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 12px; top: 50%; transform: translateY(-50%); }
.lb-count { position: absolute; top: 28px; left: 24px; font-size: 13px; font-weight: 700; letter-spacing: .12em; color: var(--muted); }

/* ---------- CTA ---------- */
.cta { background: var(--leaf); color: var(--ink); padding: 80px 0; position: relative; overflow: hidden; }
.cta .wrap { display: flex; justify-content: space-between; align-items: center; gap: 40px; flex-wrap: wrap; }
.cta h2 { font-size: clamp(40px, 5.4vw, 72px); max-width: 760px; }
.cta p { margin-top: 14px; font-size: 18px; font-weight: 500; color: #213117; }
.cta__actions { display: flex; gap: 12px; flex-wrap: wrap; }
.cta .btn--ghost { border-color: var(--ink); color: var(--ink); }
.cta .btn--ghost:hover { background: var(--ink); color: var(--text); }
.cta__mark { position: absolute; right: -40px; top: 50%; transform: translateY(-50%); width: 340px; opacity: .12; pointer-events: none; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 72px; align-items: start; }
.cinfo { display: flex; flex-direction: column; gap: 26px; margin-top: 40px; }
.cinfo__row { display: flex; gap: 18px; }
.cinfo__ico { width: 48px; height: 48px; flex: none; display: flex; align-items: center; justify-content: center; border: 1px solid var(--line-2); color: var(--leaf); }
.cinfo__ico svg { width: 22px; height: 22px; }
.cinfo .lbl { font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.cinfo .val { font-size: 18px; font-weight: 600; line-height: 1.5; }
.cinfo .val a:hover { color: var(--leaf); }
.cinfo .val small { display: block; font-size: 16px; font-weight: 400; color: #C5CFC8; }
.form { background: var(--ink); border: 1px solid var(--line); padding: 40px; display: flex; flex-direction: column; gap: 18px; }
.section--raised .form { background: var(--ink); }
.form h3 { font-size: 44px; }
.form .muted { margin-top: -6px; font-size: 16px; }
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label, .field legend { font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 52px; background: var(--ink-2); border: 1px solid var(--line-2); border-radius: var(--radius);
  color: var(--text); padding: 12px 16px; font-size: 16px; transition: border-color .2s;
}
.field textarea { min-height: 120px; resize: vertical; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%238CC63F' stroke-width='2.5'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 44px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--leaf); }
.field input::placeholder, .field textarea::placeholder { color: #75837A; }
.field .err { display: none; font-size: 14px; color: #FFB4A3; }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: #E2735C; }
.field.invalid .err { display: block; }
.form__note { font-size: 14px; color: var(--muted); }
.form__alt { display: flex; gap: 12px; flex-wrap: wrap; }
.map { border: 1px solid var(--line); background: var(--ink-2); aspect-ratio: 16 / 9; }
.map iframe { width: 100%; height: 100%; border: 0; display: block; filter: grayscale(.35) contrast(1.05); }

/* ---------- Page hero (inner pages) ---------- */
.phero { position: relative; padding: 120px 0 96px; overflow: hidden; isolation: isolate; border-bottom: 1px solid var(--line); }
.phero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.phero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(13,20,16,.95) 0%, rgba(13,20,16,.78) 55%, rgba(13,20,16,.5) 100%); }
.crumbs { display: flex; gap: 10px; font-size: 14px; color: var(--muted); margin-bottom: 26px; }
.crumbs a:hover { color: var(--leaf); }
.crumbs li + li::before { content: "/"; margin-right: 10px; color: var(--line-2); }
.phero h1 { font-size: clamp(56px, 8vw, 112px); }
.phero p { max-width: 620px; margin-top: 24px; }

/* ---------- Letter (about) ---------- */
.letter { font-size: clamp(19px, 1.7vw, 22px); line-height: 1.6; color: #DCE3DE; }
.letter p { margin-bottom: 1.1em; }
.letter strong { color: var(--text); }
.letter .sign { margin-top: 32px; display: flex; align-items: center; gap: 16px; font-size: 16px; color: var(--muted); }
.letter .sign img { width: 44px; height: auto; }

/* value cards */
.vcard { padding: 32px; background: var(--ink-2); border: 1px solid var(--line); }
.vcard svg { width: 36px; height: 36px; color: var(--leaf); }
.vcard h3 { font-size: 28px; margin-top: 18px; }
.vcard p { color: var(--muted); font-size: 16px; margin-top: 10px; }

/* ---------- Spec table / compare ---------- */
.spec { width: 100%; border-collapse: collapse; background: var(--paper-2); border: 1px solid var(--paper-line); font-size: 16px; }
.spec th, .spec td { text-align: left; padding: 18px 22px; border-bottom: 1px solid var(--paper-line); vertical-align: top; }
.spec thead th { background: var(--ink); color: var(--text); font-family: var(--display); font-weight: 700; font-size: 20px; letter-spacing: .04em; text-transform: uppercase; }
.spec tbody th { font-weight: 600; color: var(--paper-muted); width: 34%; }
.spec td { font-weight: 600; color: var(--paper-text); }
.spec .yes { color: var(--deep); font-weight: 700; }
.spec .no { color: #8A4A2E; font-weight: 600; }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }

/* FAQ */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 24px 0; font-size: 19px; font-weight: 700; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; width: 14px; height: 14px; flex: none; border-right: 2.5px solid var(--leaf); border-bottom: 2.5px solid var(--leaf); transform: rotate(45deg) translate(-3px, -3px); transition: transform .25s var(--ease); }
.faq details[open] summary::after { transform: rotate(-135deg) translate(-3px, -3px); }
.faq details p { color: var(--muted); padding: 0 48px 26px 0; margin: 0; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); padding: 88px 0 32px; background: var(--ink); }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 48px; }
.footer__brand img { height: 52px; width: auto; }
.footer__brand p { color: var(--muted); font-size: 15.5px; margin-top: 22px; max-width: 340px; }
.footer__tag { margin-top: 18px; font-family: var(--display); font-weight: 800; font-size: 26px; text-transform: uppercase; color: var(--leaf); line-height: 1; }
.footer h4 { font-family: var(--body); font-size: 13px; font-weight: 700; letter-spacing: .16em; color: var(--muted); margin-bottom: 20px; }
.footer__links { display: flex; flex-direction: column; gap: 12px; font-size: 16px; }
.footer__links a { color: #D6DDD8; }
.footer__links a:hover { color: var(--leaf); }
.footer address { font-style: normal; color: #C5CFC8; font-size: 15.5px; line-height: 1.6; }
.footer address + address { margin-top: 16px; }
.footer address b { display: block; color: var(--text); font-weight: 600; }
.footer__big { font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: clamp(64px, 14vw, 200px); line-height: .8; color: #18221C; margin-top: 72px; white-space: nowrap; overflow: hidden; letter-spacing: -.01em; user-select: none; }
.footer__bottom { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }

/* ---------- Floating actions (mobile) ---------- */
.fab { position: fixed; right: 16px; bottom: 16px; z-index: 60; display: none; flex-direction: column; gap: 10px; }
.fab a { width: 56px; height: 56px; border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: 0 8px 24px rgba(0,0,0,.4); }
.fab svg { width: 24px; height: 24px; }
.fab .call { background: var(--leaf); color: var(--ink); }
.fab .wa { background: #25D366; color: #08240F; }
.to-top { position: fixed; right: 24px; bottom: 24px; z-index: 59; width: 48px; height: 48px; display: flex; align-items: center; justify-content: center; background: var(--ink-3); border: 1px solid var(--line-2); color: var(--text); opacity: 0; pointer-events: none; transition: opacity .3s; cursor: pointer; border-radius: var(--radius); }
.to-top.show { opacity: 1; pointer-events: auto; }
.to-top:hover { background: var(--leaf); color: var(--ink); }
.to-top svg { width: 20px; height: 20px; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .band__track { animation: none; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1180px) {
  .nav { gap: 24px; }
  .clients { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 1024px) {
  :root { --header-h: 72px; }
  .brand img { height: 40px; }
  .nav-toggle { display: inline-flex; }
  .header__actions .btn { display: none; }
  /* Menu lives inside the header's flow (no fixed/backdrop trap) and pushes content down */
  .header .wrap { flex-wrap: wrap; }
  .nav {
    order: 3; flex-basis: 100%; flex-direction: column; align-items: stretch; gap: 0;
    max-height: 0; overflow: hidden; visibility: hidden;
    transition: max-height .35s var(--ease), visibility .35s, padding .35s;
  }
  .nav.is-open { max-height: 640px; visibility: visible; padding: 8px 0 24px; }
  .nav__link { font-family: var(--display); font-size: 30px; font-weight: 800; padding: 14px 0; border-bottom: 1px solid var(--line); color: var(--text); }
  .nav__link::after { display: none; }
  .nav__link[aria-current="page"] { color: var(--leaf); }
  .nav__cta { display: flex; margin-top: 20px; }
  .hero__grid, .split, .contact-grid, .reach { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .hero__media .frame { aspect-ratio: 16 / 12; }
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .facts__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fact:nth-child(3) { border-left: 0; padding-left: 0; }
  .fact:nth-child(n+3) { border-top: 1px solid var(--line); }
  .section { padding: 96px 0; }
  .topbar__left .hide-md { display: none; }
  .fab { display: flex; }
  .to-top { display: none; }
}

@media (max-width: 720px) {
  :root { --gutter: 16px; }
  body { font-size: 16px; }
  .section { padding: 72px 0; }
  .section--tight { padding: 64px 0; }
  .topbar { display: none; }
  .hero { padding-top: 48px; }
  .hero__badge { padding: 16px 20px; }
  .hero__badge b { font-size: 44px; }
  .hero__ctas .btn { flex: 1 1 100%; }
  .facts { margin-top: 56px; }
  .fact { padding: 24px 12px 24px 0; }
  .fact:nth-child(even) { padding-left: 16px; }
  .grid-3, .grid-4, .grid-2, .form-row { grid-template-columns: minmax(0, 1fr); }
  .clients { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .client { min-height: 140px; padding: 22px 12px 16px; }
  .client img { max-height: 56px; max-width: 120px; }
  .gal, .gal--full { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 150px; gap: 8px; }
  .gal__item.w2 { grid-column: span 2; }
  .gal__item.h2 { grid-row: span 2; }
  .gal__item .cap { display: none; }
  .media-stack { padding: 0 0 40px 32px; }
  .imgband { padding: 88px 0; }
  .imgband::before { background: rgba(13,20,16,.86); }
  .form { padding: 24px; }
  .form h3 { font-size: 36px; }
  .cta { padding: 64px 0; }
  .cta__actions .btn { flex: 1 1 100%; }
  .phero { padding: 72px 0 56px; }
  .footer { padding-top: 64px; }
  .footer__grid { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .lightbox { padding: 64px 8px; }
  .lb-prev, .lb-next { top: auto; bottom: 12px; transform: none; }
  .lb-prev { left: calc(50% - 60px); }
  .lb-next { right: calc(50% - 60px); }
  .spec { font-size: 14.5px; }
  .spec th, .spec td { padding: 12px 10px; }
  .spec thead th { font-size: 16px; }
  .spec tbody th { width: auto; }
  .faq details p { padding-right: 0; }
  .reach__list span { font-size: 11px; }
}

@media (max-width: 380px) {
  .hero h1 { font-size: 50px; }
  .brand img { height: 36px; }
}
