/* Gallantri Industries — design system. Brand colors live here. */
:root {
  --ink: #15191d;
  --charcoal: #2b3035;
  --forest: #123227;
  --forest-2: #1d4a39;
  --leaf: #3f7d5c;
  --sage: #e9f0ea;
  --cream: #f8f5ee;
  --gold: #c8932b;
  --gold-2: #e9b949;
  --gold-soft: #f6ead0;
  --text: #22272b;
  --muted: #5c656c;
  --line: #e2e5e1;
  --white: #ffffff;
  --radius: 14px;
  --max: 1240px;
  --shadow: 0 10px 30px rgba(18, 50, 39, .08);
  --display: "Montserrat", "Segoe UI", system-ui, sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--body); font-size: 17px; line-height: 1.65; color: var(--text); background: var(--white); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--forest-2); }
a:hover { color: var(--gold); }
h1, h2, h3, h4 { font-family: var(--display); color: var(--ink); line-height: 1.15; margin: 0 0 .6em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.3rem, 5.4vw, 4.4rem); font-weight: 800; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.75rem); font-weight: 800; }
h3 { font-size: 1.25rem; font-weight: 700; }
h4 { font-size: 1rem; font-weight: 700; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 820px; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 12px; top: 12px; z-index: 999; background: #fff; padding: 8px 12px; }
.eyebrow { font-family: var(--display); text-transform: uppercase; letter-spacing: .18em; font-size: .76rem; font-weight: 700; color: var(--gold); margin-bottom: 1rem; display: inline-block; }
.lead { font-size: 1.22rem; color: var(--muted); max-width: 760px; }
.muted { color: var(--muted); }
.small { font-size: .88rem; }

/* ---------- Header ---------- */
.topbar { background: var(--forest); color: #cfe0d5; font-size: .8rem; }
.topbar .wrap { display: flex; justify-content: space-between; gap: 16px; padding-top: 7px; padding-bottom: 7px; }
.topbar a { color: #fff; text-decoration: none; }
header.site { position: sticky; top: 0; z-index: 60; background: rgba(255,255,255,.97); border-bottom: 1px solid var(--line); backdrop-filter: saturate(1.4) blur(8px); }
header.site .wrap { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { width: 52px; height: auto; }
.brand .wm { display: flex; flex-direction: column; line-height: 1; }
.brand .wm b { font-family: var(--display); font-weight: 600; letter-spacing: .14em; color: var(--charcoal); font-size: 1.18rem; }
.brand .wm span { font-family: var(--display); letter-spacing: .38em; color: var(--muted); font-size: .58rem; margin-top: 5px; }
nav.main ul { list-style: none; display: flex; align-items: center; gap: 4px; margin: 0; padding: 0; }
nav.main a { display: block; padding: 10px 12px; text-decoration: none; color: var(--charcoal); font-family: var(--display); font-weight: 600; font-size: .86rem; border-radius: 8px; }
nav.main a:hover, nav.main a[aria-current="page"] { color: var(--forest-2); background: var(--sage); }
nav.main a.cta { background: var(--forest); color: #fff; margin-left: 8px; padding: 10px 18px; }
nav.main a.cta:hover { background: var(--forest-2); color: #fff; }
.menu-btn { display: none; background: none; border: 1px solid var(--line); border-radius: 10px; padding: 9px 14px; font: 600 .9rem var(--display); color: var(--charcoal); cursor: pointer; }
@media (max-width: 1080px) {
  .menu-btn { display: block; }
  nav.main { display: none; position: absolute; top: 76px; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); }
  nav.main.open { display: block; }
  nav.main ul { flex-direction: column; align-items: stretch; padding: 10px 18px 18px; gap: 0; }
  nav.main a.cta { margin: 8px 0 0; text-align: center; }
  .topbar .hide-sm { display: none; }
}

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 14px 24px; border-radius: 999px; font: 700 .92rem var(--display); text-decoration: none; border: 2px solid transparent; transition: transform .15s, background .15s, color .15s; }
.btn:hover { transform: translateY(-1px); }
.btn.gold { background: var(--gold); color: #fff; }
.btn.gold:hover { background: #b07f20; color: #fff; }
.btn.light { background: #fff; color: var(--forest); }
.btn.light:hover { color: var(--forest-2); }
.btn.outline { border-color: rgba(255,255,255,.7); color: #fff; }
.btn.outline:hover { border-color: var(--gold-2); color: var(--gold-2); }
.btn.dark { background: var(--forest); color: #fff; }
.btn.dark:hover { background: var(--forest-2); color: #fff; }
.btn.ghost { border-color: var(--forest); color: var(--forest); }
.btn.ghost:hover { background: var(--forest); color: #fff; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.8rem; }
.arrow { font-weight: 700; text-decoration: none; font-family: var(--display); font-size: .92rem; color: var(--forest-2); }
.arrow::after { content: " →"; transition: margin .15s; }
.arrow:hover::after { margin-left: 4px; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: min(88vh, 820px); display: flex; align-items: flex-end; color: #fff; background: var(--forest) center/cover no-repeat; }
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,25,19,.25) 0%, rgba(10,25,19,.55) 45%, rgba(10,25,19,.92) 100%); }
.hero .wrap { position: relative; padding-top: 140px; padding-bottom: 90px; width: 100%; }
.hero h1 { color: #fff; max-width: 900px; }
.hero h1 em { font-style: normal; color: var(--gold-2); }
.hero p.lead { color: #dbe7df; }
.hero .eyebrow { color: var(--gold-2); }
.badge-row { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 1.4rem; }
.badge { border: 1px solid rgba(255,255,255,.35); border-radius: 999px; padding: 6px 14px; font: 600 .78rem var(--display); letter-spacing: .04em; background: rgba(255,255,255,.08); }
.page-hero { position: relative; color: #fff; background: var(--forest) center/cover no-repeat; }
.page-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,25,19,.94) 0%, rgba(10,25,19,.75) 55%, rgba(10,25,19,.45) 100%); }
.page-hero .wrap { position: relative; padding-top: 110px; padding-bottom: 90px; }
.page-hero h1 { color: #fff; max-width: 860px; font-size: clamp(2.1rem, 4.6vw, 3.6rem); }
.page-hero p { color: #d7e4db; max-width: 720px; font-size: 1.18rem; }
.page-hero .eyebrow { color: var(--gold-2); }
.crumbs { font-size: .82rem; margin-bottom: 1rem; color: #b9cbbf; }
.crumbs a { color: #fff; }

/* ---------- Sections ---------- */
section { padding: 96px 0; }
section.tight { padding: 64px 0; }
.bg-cream { background: var(--cream); }
.bg-sage { background: var(--sage); }
.bg-forest { background: var(--forest); color: #d7e4db; }
.bg-forest h2, .bg-forest h3, .bg-forest h4 { color: #fff; }
.bg-forest .muted { color: #a9c0b2; }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; margin-bottom: 44px; flex-wrap: wrap; }
.section-head > div { max-width: 760px; }
.section-head p { color: var(--muted); font-size: 1.08rem; margin: 0; }
.bg-forest .section-head p { color: #b9cbbf; }

.statement { font-family: var(--display); font-weight: 700; font-size: clamp(1.6rem, 3.2vw, 2.6rem); line-height: 1.25; color: var(--ink); max-width: 1040px; }
.statement span { color: var(--leaf); }

.grid { display: grid; gap: 24px; }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1000px) { .g4 { grid-template-columns: repeat(2, 1fr); } .g3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 680px) { .g2, .g3, .g4 { grid-template-columns: 1fr; } section { padding: 70px 0; } }

.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: 64px; align-items: center; }
.split.rev > :first-child { order: 2; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 32px; } .split.rev > :first-child { order: 0; } }
.photo { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 4 / 3; background: var(--sage); }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo.tall { aspect-ratio: 4 / 5; }
figure { margin: 0; }
figcaption { font-size: .75rem; color: var(--muted); margin-top: 8px; }

/* Cards */
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; transition: box-shadow .2s, transform .2s, border-color .2s; }
.card p { color: var(--muted); }
.card:hover { box-shadow: var(--shadow); }
a.card { display: block; text-decoration: none; color: inherit; }
a.card:hover { transform: translateY(-3px); border-color: var(--gold); }
.card .num { font-family: var(--display); font-weight: 800; color: var(--gold); font-size: .9rem; letter-spacing: .1em; }
.icon { width: 54px; height: 54px; border-radius: 14px; background: var(--sage); display: grid; place-items: center; margin-bottom: 18px; }
.icon svg { width: 28px; height: 28px; stroke: var(--forest-2); fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.bg-forest .card { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.12); }
.bg-forest .card p { color: #b9cbbf; }

/* Brand tiles (Unilever-style brand wall) */
.brand-tile { position: relative; border-radius: var(--radius); overflow: hidden; min-height: 360px; display: flex; align-items: flex-end; color: #fff; text-decoration: none; background: var(--forest) center/cover no-repeat; isolation: isolate; }
.brand-tile::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,25,19,.12) 0%, rgba(10,25,19,.55) 40%, rgba(10,25,19,.95) 100%); z-index: -1; transition: background .25s; }
.brand-tile:hover::before { background: linear-gradient(180deg, rgba(10,25,19,.2) 0%, rgba(10,25,19,.95) 100%); }
.brand-tile .inner { padding: 28px; }
.brand-tile h3 { color: #fff; margin-bottom: .3em; font-size: 1.45rem; }
.brand-tile p { color: #d7e4db; margin: 0; font-size: .95rem; }
.brand-tile .tag { display: inline-block; font: 700 .7rem var(--display); letter-spacing: .14em; text-transform: uppercase; color: var(--gold-2); margin-bottom: 10px; }
.brand-tile.solid { background: linear-gradient(135deg, var(--forest) 0%, var(--forest-2) 100%); }
.brand-tile.gold { background: linear-gradient(135deg, #8a6418 0%, var(--gold) 100%); }
.brand-tile.charcoal { background: linear-gradient(135deg, #1b1f23 0%, #3a4047 100%); }
.brand-tile:hover { color: #fff; }
.span2 { grid-column: span 2; }
@media (max-width: 680px) { .span2 { grid-column: auto; } }

/* Value chain */
.chain { display: grid; grid-template-columns: repeat(6, 1fr); gap: 0; counter-reset: c; }
.chain li { list-style: none; position: relative; padding: 26px 18px 0 0; border-top: 3px solid var(--gold); counter-increment: c; }
.chain li::before { content: "0" counter(c); position: absolute; top: -15px; left: 0; background: var(--forest); color: var(--gold-2); font: 800 .78rem var(--display); padding: 5px 9px; border-radius: 999px; }
.bg-forest .chain li::before { background: var(--gold); color: var(--forest); }
.chain { padding: 0; margin: 20px 0 0; }
.chain h4 { margin-top: 8px; }
.chain p { font-size: .92rem; }
@media (max-width: 1000px) { .chain { grid-template-columns: repeat(3, 1fr); row-gap: 40px; } }
@media (max-width: 560px) { .chain { grid-template-columns: 1fr; } }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat { border-left: 3px solid var(--gold); padding-left: 18px; }
.stat b { display: block; font: 800 clamp(2rem, 3.6vw, 3rem) var(--display); color: var(--ink); line-height: 1.05; }
.bg-forest .stat b { color: #fff; }
.stat span { font-size: .95rem; color: var(--muted); display: block; margin-top: 6px; }
.bg-forest .stat span { color: #b9cbbf; }
.stat sup a { font-size: .7rem; text-decoration: none; color: var(--gold); }
@media (max-width: 900px) { .stats { grid-template-columns: repeat(2, 1fr); } }

/* SDG chips */
.sdgs { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 16px; }
.sdg { border-radius: 12px; padding: 20px; color: #fff; min-height: 150px; display: flex; flex-direction: column; justify-content: space-between; }
.sdg b { font: 800 2rem var(--display); line-height: 1; }
.sdg span { font: 700 .95rem var(--display); }
.sdg small { opacity: .9; font-size: .82rem; margin-top: 6px; }

/* Quote / feature band */
.band { border-radius: 22px; padding: 56px; background: linear-gradient(135deg, var(--forest) 0%, var(--forest-2) 100%); color: #d7e4db; position: relative; overflow: hidden; }
.band h2 { color: #fff; }
.band::after { content: ""; position: absolute; right: -60px; bottom: -60px; width: 280px; height: 280px; background: url(../img/gallantri-mark.png) center/contain no-repeat; opacity: .14; }
@media (max-width: 680px) { .band { padding: 32px; } }

/* Lists */
.checks { list-style: none; padding: 0; margin: 0; }
.checks li { padding-left: 30px; position: relative; margin-bottom: 10px; }
.checks li::before { content: ""; position: absolute; left: 0; top: 7px; width: 16px; height: 16px; border-radius: 50%; background: var(--sage) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='%231d4a39' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") center/12px no-repeat; }
.pill-list { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0; list-style: none; }
.pill-list li { background: var(--sage); color: var(--forest); border-radius: 999px; padding: 6px 14px; font-size: .88rem; font-weight: 600; }

/* Academy */
.track { display: flex; flex-direction: column; height: 100%; }
.track .level { font: 700 .72rem var(--display); letter-spacing: .14em; text-transform: uppercase; color: var(--leaf); }
.track .arrow { margin-top: auto; }
.lesson { max-width: 820px; }
.lesson h2 { font-size: 1.75rem; margin-top: 2.2em; }
.lesson h3 { margin-top: 1.6em; }
.lesson table { border-collapse: collapse; width: 100%; margin: 1em 0 1.6em; font-size: .95rem; }
.lesson th, .lesson td { border-bottom: 1px solid var(--line); padding: 10px 12px; text-align: left; vertical-align: top; }
.lesson th { background: var(--sage); font-family: var(--display); font-size: .82rem; text-transform: uppercase; letter-spacing: .06em; }
.callout { border-left: 4px solid var(--gold); background: var(--gold-soft); padding: 18px 22px; border-radius: 0 12px 12px 0; margin: 1.4em 0; }
.callout.green { border-color: var(--leaf); background: var(--sage); }
.toc { position: sticky; top: 100px; font-size: .92rem; }
.toc a { display: block; padding: 6px 0; text-decoration: none; color: var(--muted); border-left: 2px solid var(--line); padding-left: 14px; }
.toc a:hover { color: var(--forest-2); border-color: var(--gold); }
.with-toc { display: grid; grid-template-columns: 240px 1fr; gap: 56px; }
@media (max-width: 900px) { .with-toc { grid-template-columns: 1fr; } .toc { position: static; display: none; } }
.timeline { list-style: none; padding: 0; margin: 1.5em 0; border-left: 3px solid var(--sage); }
.timeline li { position: relative; padding: 0 0 26px 28px; }
.timeline li::before { content: ""; position: absolute; left: -9px; top: 6px; width: 15px; height: 15px; border-radius: 50%; background: var(--gold); border: 3px solid #fff; box-shadow: 0 0 0 2px var(--gold); }
.timeline b { font-family: var(--display); color: var(--forest); font-size: 1.1rem; display: block; }
.uses-cat { break-inside: avoid; margin-bottom: 28px; }
.uses-cols { columns: 3 260px; column-gap: 36px; }
.uses-cat ul { padding-left: 1.1rem; margin: .4em 0 0; color: var(--muted); }
.facts-filter { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.facts-filter button { border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 8px 16px; font: 600 .85rem var(--display); color: var(--charcoal); cursor: pointer; }
.facts-filter button[aria-pressed="true"] { background: var(--forest); border-color: var(--forest); color: #fff; }
.fact { display: flex; flex-direction: column; }
.fact .meta { display: flex; justify-content: space-between; gap: 10px; font: 700 .72rem var(--display); letter-spacing: .1em; text-transform: uppercase; color: var(--leaf); margin-bottom: 10px; }
.fact .src { margin-top: auto; font-size: .8rem; color: var(--muted); }
.fact .src a { color: var(--muted); }
.fact p { white-space: pre-line; }
.sources { font-size: .88rem; color: var(--muted); }
.sources li { margin-bottom: 6px; }

/* Forms-free contact */
.contact-card { display: flex; gap: 18px; align-items: flex-start; }

/* ---------- Footer ---------- */
footer.site { background: var(--ink); color: #9aa3a9; font-size: .92rem; }
footer.site .top { padding: 70px 0 40px; display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 36px; }
footer.site h4 { color: #fff; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 14px; }
footer.site ul { list-style: none; padding: 0; margin: 0; }
footer.site li { margin-bottom: 8px; }
footer.site a { color: #c9d1d6; text-decoration: none; }
footer.site a:hover { color: var(--gold-2); }
footer.site .legal { border-top: 1px solid #2a3036; padding: 24px 0 34px; font-size: .8rem; line-height: 1.6; }
footer.site .brand .wm b { color: #fff; }
footer.site .brand .wm span { color: #9aa3a9; }
@media (max-width: 900px) { footer.site .top { grid-template-columns: 1fr 1fr; } footer.site .top > :first-child { grid-column: 1 / -1; } }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }
.no-js .reveal { opacity: 1; transform: none; }
