/* Goderus brand: Brand Guidelines palette (lime + slate), Alice display, Inter body (as on goderus.com). */
:root {
  --bg: #ebeef2;         /* site ground, from live goderus.com body */
  --surface: #ffffff;
  --slate: #2c323c;      /* brand dark */
  --slate-2: #424a59;
  --slate-3: #586276;
  --grey: #acb3bd;
  --lime: #bbed50;       /* brand accent */
  --lime-2: #cdf27e;
  --lime-3: #dff7ac;
  --fg: #2c323c;
  --fg-2: #586276;
  --line: #d3d8df;
  --display: "Inter", "Segoe UI", Roboto, system-ui, sans-serif;
  --body: "Inter", "Segoe UI", Roboto, system-ui, sans-serif;
  --max: 1200px;
  --gutter: clamp(16px, 4vw, 48px);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) { --bg: #1b1f26; --surface: #242a33; --fg: #ecebe4; --fg-2: #acb3bd; --line: #343b47; color-scheme: dark; }
}
:root[data-theme="dark"] { --bg: #1b1f26; --surface: #242a33; --fg: #ecebe4; --fg-2: #acb3bd; --line: #343b47; color-scheme: dark; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { animation: none !important; transition: none !important; } }
body { margin: 0; background: var(--bg); color: var(--fg); font-family: var(--body); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--lime); outline-offset: 3px; }
h1, h2, h3 { font-family: var(--display); font-weight: 600; line-height: 1.12; letter-spacing: -0.015em; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
h3 { font-size: 1.25rem; }
h4 { font-family: var(--body); font-weight: 600; font-size: 1.05rem; margin: 0; }
p { margin: 0; max-width: 64ch; }
.wrap { max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.eyebrow { font-family: var(--body); font-weight: 600; font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--slate-3); display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.eyebrow::before { content: ""; width: 28px; height: 3px; background: var(--lime); border-radius: 2px; }
.lede { font-size: clamp(1.1rem, 1.5vw, 1.25rem); color: var(--fg-2); max-width: 58ch; }

/* header (white, colour logo — brand guide: full-colour logo on white only) */
.site-head { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; background: #fff; border-bottom: 1px solid #e2e6eb; }
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 76px; }
.logo img { height: 40px; width: auto; }
.nav { display: flex; gap: 2px; align-items: center; }
.nav a { text-decoration: none; font-size: 0.95rem; font-weight: 500; padding: 9px 12px; border-radius: 6px; color: #2c323c; }
.nav a:hover, .nav a[aria-current="page"] { background: #eef1f4; }
.nav a.cta { background: var(--slate); color: #fff; margin-left: 8px; }
.nav a.cta:hover { background: var(--lime); color: var(--slate); }
.menu-btn { display: none; }
@media (max-width: 820px) {
  .menu-btn { display: inline-flex; align-items: center; background: none; border: 1px solid #d3d8df; border-radius: 6px; padding: 8px 12px; font: inherit; color: #2c323c; cursor: pointer; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid #e2e6eb; flex-direction: column; align-items: stretch; padding: 8px var(--gutter) 16px; }
  .nav.open { display: flex; }
  .nav a.cta { margin-left: 0; margin-top: 6px; text-align: center; }
}

/* hero: photo with slate overlay, white text (as on the live site) */
.hero { position: relative; color: #fff; background: var(--slate); isolation: isolate; }
.hero .bg { position: absolute; inset: 0; z-index: -1; background-size: cover; background-position: center; }
.hero .bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(44,50,60,.86) 0%, rgba(44,50,60,.62) 55%, rgba(44,50,60,.35) 100%); }
.hero .wrap { padding-block: clamp(64px, 10vw, 140px) clamp(56px, 8vw, 110px); display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: end; }
@media (max-width: 860px) { .hero .wrap { grid-template-columns: 1fr; } }
.hero .eyebrow { color: var(--lime-3); }
.hero h1 { color: #fff; }
.hero h1 em { font-style: normal; color: var(--lime); }
.hero .lede { color: #e4e8ee; margin-top: 22px; }
.hero.compact .wrap { padding-block: clamp(48px, 7vw, 96px); }
.btns { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 30px; }
.btn { display: inline-block; text-decoration: none; font-weight: 600; font-size: 0.95rem; padding: 13px 22px; border-radius: 6px; border: 1px solid var(--slate); color: var(--slate); background: transparent; }
.btn.primary { background: var(--lime); border-color: var(--lime); color: var(--slate); }
.btn.primary:hover { background: var(--lime-2); border-color: var(--lime-2); }
.btn.ghost:hover { background: rgba(44,50,60,.06); }
.hero .btn { border-color: #fff; color: #fff; }
.hero .btn.primary { background: var(--lime); border-color: var(--lime); color: var(--slate); }
.hero .btn.ghost:hover { background: rgba(255,255,255,.12); }

/* facts panel */
.facts { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.22); border-radius: 10px; padding: 8px 20px; backdrop-filter: blur(6px); margin: 0; }
.facts div { display: grid; grid-template-columns: 1fr auto; gap: 16px; padding: 11px 0; border-bottom: 1px solid rgba(255,255,255,.16); font-size: 0.92rem; }
.facts div:last-child { border-bottom: 0; }
.facts dt { color: #cfd5de; }
.facts dd { margin: 0; text-align: right; font-weight: 600; font-variant-numeric: tabular-nums; color: #fff; }

/* sections */
.section { padding-block: clamp(56px, 8vw, 104px); }
.section.white { background: var(--surface); }
.section.slate { background: var(--slate); color: #fff; }
.section.slate .eyebrow { color: var(--lime-3); }
.section.slate .lede, .section.slate p { color: #d7dce3; }
.section.slate h2, .section.slate h3 { color: #fff; }
.section.lime { background: var(--lime-3); color: var(--slate); }
.section.lime .eyebrow { color: var(--slate-2); }
.section.lime p { color: var(--slate-2); }
.section.lime h2, .section.lime h3 { color: var(--slate); }

/* cols */
.cols { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
@media (max-width: 860px) { .cols { grid-template-columns: 1fr; } }
.prose { display: flex; flex-direction: column; gap: 18px; }
.prose ul { margin: 0; padding-left: 1.2em; max-width: 64ch; }
.prose li { margin-bottom: 6px; }

/* pillars (4 lines of business) */
.pillars { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin-top: 40px; }
@media (max-width: 1000px) { .pillars { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 540px) { .pillars { grid-template-columns: 1fr; } }
.pillar { background: var(--surface); border-radius: 12px; overflow: hidden; text-decoration: none; display: flex; flex-direction: column; min-width: 0; box-shadow: 0 1px 0 rgba(44,50,60,.06); transition: transform .15s, box-shadow .15s; }
.pillar:hover { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(44,50,60,.14); }
.pillar img { aspect-ratio: 4/3; object-fit: cover; width: 100%; }
.pillar .body { padding: 22px 22px 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.pillar .k { font-size: 0.74rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--slate-3); }
.pillar p { color: var(--fg-2); font-size: 0.95rem; flex: 1; }
.pillar .more { font-weight: 600; font-size: 0.92rem; color: var(--slate); }
.pillar .more::after { content: " →"; color: #8fbf2a; }

/* stats (counters on the live site) */
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 36px; }
@media (max-width: 700px) { .stats { grid-template-columns: 1fr; } }
.stat { border-left: 4px solid var(--lime); padding: 6px 0 6px 20px; }
.stat b { display: block; font-family: var(--display); font-size: clamp(2rem, 4vw, 3rem); line-height: 1; color: var(--slate); }
.section.slate .stat b { color: var(--lime); }
.stat span { display: block; margin-top: 8px; color: var(--fg-2); font-size: 0.95rem; }
.section.slate .stat span { color: #cfd5de; }

/* services list (two columns like the live site) */
.lists { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; margin-top: 32px; }
@media (max-width: 700px) { .lists { grid-template-columns: 1fr; } }
.lists ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.lists li { padding-left: 28px; position: relative; }
.lists li::before { content: ""; position: absolute; left: 0; top: 9px; width: 14px; height: 8px; border-left: 3px solid var(--lime); border-bottom: 3px solid var(--lime); transform: rotate(-45deg); }
.section.slate .lists li::before { border-color: var(--lime); }

/* tiles (projects grid like live site) */
.tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 36px; }
@media (max-width: 1000px) { .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .tiles { grid-template-columns: 1fr; } }
.tile { position: relative; border-radius: 12px; overflow: hidden; aspect-ratio: 1; text-decoration: none; color: #fff; background: var(--slate); display: block; min-width: 0; }
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .3s; }
.tile:hover img { transform: scale(1.04); }
.tile .cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 48px 18px 18px; background: linear-gradient(180deg, transparent, rgba(44,50,60,.9)); }
.tile .cap b { display: block; font-size: 1.2rem; font-weight: 600; }
.tile .cap span { font-size: 0.85rem; color: #d7dce3; }

/* product gallery (hlibo / roma) */
.products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 36px; }
@media (max-width: 900px) { .products { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 540px) { .products { grid-template-columns: 1fr; } }
.product { background: var(--surface); border-radius: 12px; overflow: hidden; min-width: 0; }
.product img { aspect-ratio: 4/3; object-fit: cover; width: 100%; background: #fbe8d3; }
.product .body { padding: 18px 20px 22px; }
.product .body h4 { margin-bottom: 6px; }
.product .body p { color: var(--fg-2); font-size: 0.93rem; }
.product .tag { display: inline-block; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; background: var(--lime-3); color: var(--slate); padding: 3px 8px; border-radius: 4px; margin-bottom: 10px; }

/* spec table */
.spec { width: 100%; min-width: 640px; border-collapse: collapse; font-size: 0.95rem; margin-top: 8px; background: var(--surface); border-radius: 10px; overflow: hidden; }
.spec th, .spec td { text-align: left; padding: 13px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
.spec th { font-size: 0.74rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--fg-2); background: var(--lime-3); color: var(--slate); }
.spec td.num { font-variant-numeric: tabular-nums; white-space: nowrap; }
.table-x { overflow-x: auto; border-radius: 10px; }
.spec.narrow { min-width: 0; }

/* steps */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px 32px; margin-top: 36px; counter-reset: s; }
.steps > div { counter-increment: s; display: grid; grid-template-columns: 40px 1fr; gap: 14px; align-items: start; }
.steps > div > div { min-width: 0; }
.steps > div::before { content: counter(s); width: 40px; height: 40px; border-radius: 50%; background: var(--slate); color: var(--lime); display: grid; place-items: center; font-weight: 600; font-size: 0.95rem; }
.section.slate .steps > div::before { background: var(--lime); color: var(--slate); }
.steps h4 { margin-bottom: 4px; }
.steps p { font-size: 0.93rem; color: var(--fg-2); }
.section.slate .steps p { color: #cfd5de; }

/* feature cards (why us) */
.features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 36px; }
@media (max-width: 900px) { .features { grid-template-columns: 1fr; } }
.feature { background: var(--surface); border-radius: 12px; padding: 24px; border-left: 4px solid var(--lime); min-width: 0; }
.feature h4 { margin-bottom: 8px; }
.feature p { font-size: 0.95rem; color: var(--fg-2); }
.section.slate .feature { background: var(--slate-2); }
.section.slate .feature h4 { color: #fff; }
.section.slate .feature p { color: #d7dce3; }

/* photo + text split */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }
.split img, .split video { border-radius: 12px; width: 100%; }

/* callout */
.callout { background: var(--lime); color: var(--slate); }
.callout .wrap { padding-block: clamp(44px, 6vw, 72px); display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 32px; align-items: center; }
@media (max-width: 860px) { .callout .wrap { grid-template-columns: 1fr; } }
.callout p { color: var(--slate-2); margin-top: 12px; }
.callout .btn { border-color: var(--slate); color: var(--slate); }
.callout .btn.primary { background: var(--slate); color: #fff; }
.callout .btn.primary:hover { background: var(--slate-2); border-color: var(--slate-2); }

/* contact */
.contact-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 36px; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
.card { background: var(--surface); border-radius: 12px; padding: 24px; min-width: 0; border-top: 4px solid var(--lime); }
.card h3 { margin-bottom: 10px; font-size: 1.15rem; }
.card address { font-style: normal; color: var(--fg-2); line-height: 1.6; }
.card .big { font-size: 1.1rem; font-weight: 600; color: var(--fg); word-break: break-word; }
.form { display: grid; gap: 14px; margin-top: 8px; max-width: 640px; }
.form label { display: grid; gap: 6px; font-size: 0.86rem; color: var(--fg-2); }
.form input, .form textarea, .form select { font: inherit; padding: 11px 12px; border: 1px solid var(--line); border-radius: 6px; background: var(--surface); color: var(--fg); width: 100%; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 560px) { .form .row { grid-template-columns: 1fr; } }
.form button { font: inherit; font-weight: 600; padding: 13px 22px; background: var(--slate); color: #fff; border: 0; border-radius: 6px; cursor: pointer; justify-self: start; }
.form button:hover { background: var(--lime); color: var(--slate); }
.form .note { font-size: 0.82rem; color: var(--fg-2); }

/* footer (slate, white logo — brand guide dark colourway) */
.site-foot { background: var(--slate); color: #cfd5de; padding-block: 48px 36px; font-size: 0.9rem; }
.site-foot .wrap { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 32px; }
@media (max-width: 860px) { .site-foot .wrap { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .site-foot .wrap { grid-template-columns: 1fr; } }
.site-foot .logo img { height: 36px; }
.site-foot ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-foot a { text-decoration: none; color: #e4e8ee; }
.site-foot a:hover { color: var(--lime); }
.site-foot .legal { margin-top: 16px; font-size: 0.82rem; line-height: 1.7; color: #acb3bd; }
.site-foot h4 { font-size: 0.74rem; letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 14px; color: var(--lime); }
.site-foot .copy { grid-column: 1 / -1; border-top: 1px solid rgba(255,255,255,.14); padding-top: 18px; margin-top: 12px; font-size: 0.8rem; color: #acb3bd; }

/* v3 home: segmented B2B hero (slate), numbers band (lime), audience tiles */
.hero2 { background: var(--slate); color: #fff; overflow: hidden; }
.hero2 .wrap { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center; padding-block: clamp(48px, 7vw, 96px); }
@media (max-width: 900px) { .hero2 .wrap { grid-template-columns: 1fr; } }
.hero2 .eyebrow { color: var(--lime-3); }
.hero2 h1 { color: #fff; font-size: clamp(2.4rem, 5.4vw, 4rem); }
.hero2 h1 em { font-style: normal; color: var(--lime); }
.hero2 .lede { color: #d7dce3; margin-top: 20px; }
.hero2 .btn { border-color: #fff; color: #fff; }
.hero2 .btn.primary { background: var(--lime); border-color: var(--lime); color: var(--slate); }
.hero2 .btn.ghost:hover { background: rgba(255,255,255,.12); }
.hero2-media { display: grid; grid-template-columns: 1.3fr 1fr; grid-template-rows: 1fr 1fr; gap: 12px; aspect-ratio: 5/4; }
.hero2-media img { width: 100%; height: 100%; object-fit: cover; border-radius: 12px; }
.hero2-media .m1 { grid-row: 1 / 3; }
.numbers { background: var(--lime); color: var(--slate); }
.numbers .wrap { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; padding-block: 28px; }
@media (max-width: 760px) { .numbers .wrap { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.numbers b { display: block; font-size: clamp(1.8rem, 3.4vw, 2.6rem); font-weight: 700; line-height: 1; letter-spacing: -0.02em; }
.numbers span { display: block; margin-top: 6px; font-size: 0.9rem; color: var(--slate-2); }
.audiences { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 18px; margin-top: 36px; }
@media (max-width: 1100px) { .audiences { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 700px) { .audiences { grid-template-columns: 1fr 1fr; } }
@media (max-width: 460px) { .audiences { grid-template-columns: 1fr; } }
.aud { text-decoration: none; min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.aud img { aspect-ratio: 1; object-fit: cover; object-position: top; width: 100%; border-radius: 12px; transition: transform .2s; }
.aud:hover img { transform: translateY(-4px); }
.aud h3 { font-size: 1.05rem; font-weight: 600; margin-top: 6px; }
.aud h3::after { content: " →"; color: #8fbf2a; }
.aud p { font-size: 0.9rem; color: var(--fg-2); }
.section.white h2 { max-width: 22ch; }

/* v4: tabbed full-screen hero per business (Adani/Tata pattern) */
.hero-tabs { position: relative; background: var(--slate); color: #fff; min-height: min(86vh, 900px); display: flex; flex-direction: column; justify-content: flex-end; isolation: isolate; overflow: hidden; }
.hero-tabs .slides { position: absolute; inset: 0; z-index: -1; }
.slide { position: absolute; inset: 0; opacity: 0; transition: opacity .7s ease; }
.slide[data-active] { opacity: 1; }
.slide img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 35%; transform: scale(1.06); transition: transform 8s linear; }
.slide[data-active] img { transform: scale(1); }
.slide::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(44,50,60,.25) 0%, rgba(44,50,60,.15) 40%, rgba(44,50,60,.88) 100%); }
.slide.bakery::after { background: linear-gradient(180deg, rgba(60,40,20,.2), rgba(44,50,60,.9)); }
.slide.pellets::after { background: linear-gradient(180deg, rgba(50,60,25,.25), rgba(44,50,60,.9)); }
.slide.energy::after { background: linear-gradient(180deg, rgba(20,40,60,.2), rgba(44,50,60,.9)); }
.slide.trading::after { background: linear-gradient(180deg, rgba(44,50,60,.2), rgba(44,50,60,.9)); }
.slide-text { position: absolute; left: 0; right: 0; bottom: 150px; z-index: 1; }
.slide-text .eyebrow { color: var(--lime-3); }
.slide-text h1 { color: #fff; font-size: clamp(2.2rem, 5vw, 4rem); max-width: 16ch; }
.slide-text .lede { color: #e4e8ee; margin-top: 16px; max-width: 52ch; }
.slide-text .btn.primary { background: var(--lime); border-color: var(--lime); color: var(--slate); }
.slide-text .btns { margin-top: 24px; }
.hero-tabs > .wrap { width: 100%; }
.htabs { position: relative; z-index: 2; display: flex; gap: 0; border-top: 1px solid rgba(255,255,255,.25); margin-top: 0; }
.htab { flex: 1 1 0; position: relative; display: flex; align-items: center; gap: 12px; padding: 18px 16px 22px; background: none; border: 0; border-right: 1px solid rgba(255,255,255,.15); color: #cfd5de; font: inherit; text-align: left; cursor: pointer; min-width: 0; }
.htab:last-child { border-right: 0; }
.htab img { width: 48px; height: 48px; object-fit: cover; object-position: top; border-radius: 6px; flex: none; opacity: .7; }
.htab span { display: flex; flex-direction: column; font-weight: 600; font-size: 0.95rem; line-height: 1.2; min-width: 0; }
.htab small { font-weight: 500; font-size: 0.7rem; letter-spacing: .12em; color: #acb3bd; margin-bottom: 4px; }
.htab.on, .htab[aria-selected="true"] { color: #fff; }
.htab.on img { opacity: 1; }
.htab .bar { position: absolute; left: 0; bottom: 0; height: 3px; width: 0; background: var(--lime); }
.htab.on .bar { width: 100%; }
.run .htab.on .bar { animation: fill 7s linear forwards; }
@keyframes fill { from { width: 0 } to { width: 100% } }
@media (max-width: 860px) {
  .hero-tabs { min-height: 0; }
  .hero-tabs .slides { position: relative; inset: auto; z-index: 0; }
  .slide { position: relative; display: none; }
  .slide[data-active] { display: block; }
  .slide img { position: relative; height: 52vw; min-height: 260px; transform: none; }
  .slide-text { position: relative; bottom: auto; padding-block: 22px 28px; }
  .slide-text h1 { font-size: clamp(1.8rem, 7vw, 2.4rem); }
  .htabs { flex-wrap: wrap; } .htab { flex-basis: 50%; }
  .htab { padding: 12px 10px 16px; }
  .htab img { width: 36px; height: 36px; }
  .htab span { font-size: 0.82rem; }
}

/* v4: full-width vector bands, alternating, each with its own mood */
.vectors { display: grid; }
.vector { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: stretch; text-decoration: none; color: var(--fg); background: var(--surface); border-bottom: 1px solid var(--line); min-height: 440px; }
.vector:nth-child(even) { direction: rtl; }
.vector:nth-child(even) > * { direction: ltr; }
.vector > img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.vector img.alt { display: none; }
.vector .vtext { display: flex; flex-direction: column; justify-content: center; gap: 14px; padding-block: clamp(40px, 6vw, 80px); }
.vector .k { font-size: 0.74rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; }
.vector h2 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); }
.vector p { color: var(--fg-2); max-width: 50ch; }
.vector .more { font-weight: 600; margin-top: 8px; }
.vector .more::after { content: " →"; }
.vector.bakery { background: #fbf4ea; } .vector.bakery .k, .vector.bakery .more { color: #9a5a1e; }
.vector.pellets { background: #f1f4e6; } .vector.pellets .k, .vector.pellets .more { color: #5f6b2e; }
.vector.energy { background: var(--slate); color: #fff; } .vector.energy h2 { color: #fff; } .vector.energy p { color: #d7dce3; } .vector.energy .k, .vector.energy .more { color: var(--lime); }
.vector.trading { background: #eef2f6; } .vector.trading .k, .vector.trading .more { color: #2f4a6b; }
.vector:hover h2 { text-decoration: underline; text-decoration-color: var(--lime); text-decoration-thickness: 3px; text-underline-offset: 6px; }
@media (max-width: 860px) { .vector { grid-template-columns: 1fr; min-height: 0; } .vector > img { height: 56vw; } .vector:nth-child(even) { direction: ltr; } }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .vector.bakery, :root:not([data-theme="light"]) .vector.pellets, :root:not([data-theme="light"]) .vector.trading { background: var(--surface); } }
:root[data-theme="dark"] .vector.bakery, :root[data-theme="dark"] .vector.pellets, :root[data-theme="dark"] .vector.trading { background: var(--surface); }

/* v4: bigger sub-page heroes */
.hero.big { min-height: min(68vh, 720px); display: flex; align-items: flex-end; }
.hero.big .bg { background-position: center 40%; }
.hero.big .bg::after { background: linear-gradient(180deg, rgba(44,50,60,.35) 0%, rgba(44,50,60,.55) 50%, rgba(44,50,60,.92) 100%); }
.hero.big .wrap { width: 100%; padding-block: clamp(80px, 12vw, 160px) clamp(40px, 6vw, 72px); }
.hero.big.compact { min-height: 0; }
.hero.big.compact .wrap { padding-block: clamp(56px, 8vw, 100px) clamp(36px, 5vw, 60px); }

/* video backgrounds */
.slide video, .hero .bg video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.slide video { transform: none; }
@media (max-width: 860px) { .slide video { position: relative; height: 52vw; min-height: 260px; } }
