/* ==========================================================================
   Igiye Agro Industry Advisers Limited
   Main stylesheet. No build step, no external dependencies.
   Brand colours are sampled from the official Igiye logo (2026).
   ========================================================================== */

/* ---------- Fonts (self-hosted, SIL Open Font Licence) ---------- */
@font-face {
  font-family: "Montserrat";
  src: url("../fonts/montserrat.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Source Serif 4";
  src: url("../fonts/source-serif-4.woff2") format("woff2");
  font-weight: 200 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Source Serif 4";
  src: url("../fonts/source-serif-4-italic.woff2") format("woff2");
  font-weight: 200 900;
  font-style: italic;
  font-display: swap;
}

/* ---------- Design tokens ---------- */
:root {
  /* Logo colours */
  --navy: #022b57;          /* official logo navy: knowledge, trust */
  --green: #02682e;         /* official logo green: agriculture, growth */

  /* Supporting tones derived from the logo colours */
  --navy-900: #011a36;
  --navy-700: #0b3a6e;
  --navy-100: #e6ecf4;
  --green-700: #015323;
  --green-500: #0d7d3d;
  --leaf: #5fbf7f;          /* green for use on navy backgrounds */
  --green-100: #e5f1e8;

  --paper: #f7f6f1;         /* warm page background */
  --white: #ffffff;
  --ink: #0f1c2b;           /* body text */
  --muted: #4b5867;
  --line: #d9ddd6;
  --line-dark: rgba(255, 255, 255, 0.16);

  --font-display: "Montserrat", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-body: "Source Serif 4", Georgia, "Times New Roman", serif;

  --container: 1200px;
  --gutter: clamp(1rem, 4vw, 2rem);
  --radius: 6px;
  --radius-lg: 14px;
  --shadow: 0 1px 2px rgba(2, 43, 87, 0.06), 0 8px 24px rgba(2, 43, 87, 0.08);
  --shadow-lg: 0 2px 4px rgba(2, 43, 87, 0.06), 0 22px 48px rgba(2, 43, 87, 0.14);

  /* Hexagon shape taken from the logo's protective enclosure */
  --hex: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);

  --header-h: 76px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.125rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; height: auto; }
a { color: var(--green); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { color: var(--green-700); }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.2em; }
strong { font-weight: 650; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--navy);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0 0 0.5em;
  font-weight: 800;
}
h1 { font-size: clamp(2.5rem, 4.2vw + 1rem, 4.4rem); }
h2 { font-size: clamp(1.9rem, 2.4vw + 1rem, 3rem); }
h3 { font-size: clamp(1.2rem, 0.6vw + 1rem, 1.4rem); letter-spacing: -0.01em; font-weight: 700; line-height: 1.25; }
h4 { font-size: 1rem; letter-spacing: 0; font-weight: 700; }
h1 em, h2 em {
  font-family: var(--font-body);
  font-style: italic;
  font-weight: 500;
  color: var(--green);
  letter-spacing: -0.01em;
}

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

.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 1rem; top: -100px; z-index: 100;
  background: var(--navy); color: var(--white); padding: 0.7rem 1rem;
  font-family: var(--font-display); font-weight: 700; font-size: 0.9rem; border-radius: var(--radius);
}
.skip-link:focus { top: 1rem; color: var(--white); }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(4rem, 8vw, 7.5rem) 0; position: relative; }
.section-tight { padding: clamp(3rem, 5vw, 4.5rem) 0; }
.section-white { background: var(--white); }
.section-mist { background: var(--green-100); }
.section-navy { background: var(--navy); color: rgba(255, 255, 255, 0.84); }
.section-navy h1, .section-navy h2, .section-navy h3 { color: var(--white); }
.section-navy h2 em, .section-navy h1 em { color: var(--leaf); }
.section-navy a:not(.button) { color: var(--leaf); }

/* ---------- Eyebrow / labels ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-family: var(--font-display); font-weight: 700; font-size: 0.75rem;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--green);
  margin: 0 0 1.1rem;
}
.eyebrow::before {
  content: ""; width: 10px; height: 11px; background: currentColor; clip-path: var(--hex); flex: none;
}
.section-navy .eyebrow, .eyebrow-light { color: var(--leaf); }
.lead { font-size: clamp(1.2rem, 0.5vw + 1.05rem, 1.38rem); line-height: 1.6; color: var(--ink); }
.section-navy .lead { color: rgba(255, 255, 255, 0.9); }
.muted { color: var(--muted); }

/* ---------- Buttons & links ---------- */
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem;
  min-height: 50px; padding: 0.8rem 1.4rem;
  font-family: var(--font-display); font-weight: 700; font-size: 0.92rem; letter-spacing: 0.01em;
  border-radius: var(--radius); border: 2px solid transparent; text-decoration: none;
  cursor: pointer; transition: background-color .2s, color .2s, border-color .2s, transform .2s;
}
.button .arrow { transition: transform .2s; }
.button:hover .arrow { transform: translate(2px, -2px); }
.button-primary { background: var(--green); color: var(--white); }
.button-primary:hover { background: var(--green-700); color: var(--white); }
.button-navy { background: var(--navy); color: var(--white); }
.button-navy:hover { background: var(--navy-900); color: var(--white); }
.button-outline { border-color: var(--navy); color: var(--navy); background: transparent; }
.button-outline:hover { background: var(--navy); color: var(--white); }
.button-light { background: var(--white); color: var(--navy); }
.button-light:hover { background: var(--green-100); color: var(--navy); }
.button-ghost { border-color: rgba(255, 255, 255, 0.45); color: var(--white); }
.button-ghost:hover { border-color: var(--white); background: rgba(255, 255, 255, 0.08); color: var(--white); }

.text-link {
  display: inline-flex; align-items: center; gap: 0.45rem;
  font-family: var(--font-display); font-weight: 700; font-size: 0.92rem;
  color: var(--navy); text-decoration: none; border-bottom: 2px solid var(--green); padding-bottom: 2px;
}
.text-link:hover { color: var(--green); }
.section-navy .text-link { color: var(--white); border-color: var(--leaf); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  -webkit-backdrop-filter: saturate(160%) blur(10px); backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s;
}
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 6px 20px rgba(2, 43, 87, 0.06); }
.nav-shell { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; height: var(--header-h); }
.brand { display: inline-flex; align-items: center; flex: none; }
.brand img { height: 50px; width: auto; }
.primary-nav { display: flex; align-items: center; gap: clamp(0.9rem, 2vw, 2rem); }
.primary-nav a {
  font-family: var(--font-display); font-weight: 600; font-size: 0.9rem; color: var(--navy);
  text-decoration: none; padding: 0.4rem 0; position: relative;
}
.primary-nav a:not(.button)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px;
  background: var(--green); transform: scaleX(0); transform-origin: left; transition: transform .25s;
}
.primary-nav a:not(.button):hover::after, .primary-nav a[aria-current="page"]::after { transform: scaleX(1); }
.primary-nav .button { min-height: 44px; padding: 0.6rem 1.1rem; color: var(--white); }
.menu-toggle {
  display: none; width: 46px; height: 46px; border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--white); cursor: pointer; padding: 0; position: relative;
}
.menu-toggle span:not(.sr-only) {
  position: absolute; left: 12px; right: 12px; height: 2px; background: var(--navy); transition: transform .25s, opacity .2s;
}
.menu-toggle span:nth-child(1) { top: 15px; }
.menu-toggle span:nth-child(2) { top: 22px; }
.menu-toggle span:nth-child(3) { top: 29px; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 920px) {
  :root { --header-h: 68px; }
  .brand img { height: 42px; }
  .menu-toggle { display: block; }
  .primary-nav {
    position: fixed; inset: var(--header-h) 0 auto 0; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--white); border-top: 1px solid var(--line); box-shadow: 0 20px 40px rgba(2, 43, 87, 0.15);
    padding: 0.5rem var(--gutter) 1.5rem; max-height: calc(100vh - var(--header-h)); overflow-y: auto;
    transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .2s, transform .2s, visibility .2s;
  }
  .primary-nav.is-open { transform: none; opacity: 1; visibility: visible; }
  .primary-nav a { padding: 0.95rem 0; border-bottom: 1px solid var(--line); font-size: 1rem; }
  .primary-nav a:not(.button)::after { display: none; }
  .primary-nav a[aria-current="page"] { color: var(--green); }
  .primary-nav .button { margin-top: 1rem; border-bottom: 0; }
}

/* ---------- Hero (home) ---------- */
.hero {
  position: relative; background: var(--navy); color: rgba(255, 255, 255, 0.86); overflow: hidden;
  padding: clamp(3.5rem, 7vw, 6.5rem) 0 clamp(4rem, 8vw, 7rem);
}
.hero::before { /* plantation bands motif from the logo */
  content: ""; position: absolute; right: -10%; bottom: -30%; width: 60%; height: 120%;
  background: repeating-linear-gradient(-30deg, transparent 0 46px, rgba(95, 191, 127, 0.07) 46px 60px);
  pointer-events: none;
}
.hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; position: relative; }
.hero h1 { color: var(--white); margin-bottom: 1.4rem; }
.hero h1 em { color: var(--leaf); }
.hero .lead { color: rgba(255, 255, 255, 0.88); max-width: 36rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.85rem; margin-top: 2rem; }
.hero-meta {
  display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; margin-top: 2.6rem; padding-top: 1.4rem;
  border-top: 1px solid var(--line-dark); font-family: var(--font-display); font-size: 0.8rem;
  font-weight: 600; letter-spacing: 0.04em; color: rgba(255, 255, 255, 0.7);
}
.hero-meta span { display: inline-flex; align-items: center; gap: 0.5rem; }
.hero-meta span::before { content: ""; width: 7px; height: 8px; background: var(--leaf); clip-path: var(--hex); }

.hero-visual { position: relative; justify-self: center; width: min(100%, 480px); aspect-ratio: 0.866; }
.hex-photo { position: absolute; inset: 0; clip-path: var(--hex); background: var(--navy-700); }
.hex-photo img { width: 100%; height: 100%; object-fit: cover; }
.hex-ring { position: absolute; inset: -5.5%; }
.hex-ring svg { width: 100%; height: 100%; }
.hero-badge {
  position: absolute; left: -8%; bottom: 8%; display: flex; align-items: center; gap: 0.8rem;
  background: var(--white); color: var(--navy); border-radius: var(--radius-lg); padding: 0.85rem 1.1rem 0.85rem 0.85rem;
  box-shadow: var(--shadow-lg); font-family: var(--font-display); font-size: 0.82rem; font-weight: 700; line-height: 1.3; max-width: 260px;
}
.hero-badge img { width: 44px; height: auto; flex: none; }
.hero-badge small { display: block; font-weight: 500; color: var(--muted); font-size: 0.76rem; }

@media (max-width: 920px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { width: min(78%, 380px); margin-top: 1rem; }
  .hero-badge { left: -14%; }
}
@media (max-width: 520px) {
  .hero-visual { width: 74%; }
  .hero-badge { display: none; }
  .hero-actions .button { flex: 1 1 100%; }
}

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  background: var(--navy); color: rgba(255, 255, 255, 0.86); position: relative; overflow: hidden;
  padding: clamp(3.5rem, 6vw, 5.5rem) 0 clamp(3rem, 5vw, 4.5rem);
}
.page-hero::before {
  content: ""; position: absolute; right: -6%; top: -40%; width: 46%; height: 180%;
  background: repeating-linear-gradient(-30deg, transparent 0 46px, rgba(95, 191, 127, 0.07) 46px 60px);
}
.page-hero::after {
  content: ""; position: absolute; right: clamp(-120px, -6vw, -40px); bottom: -90px; width: 300px; height: 346px;
  background: url("../brand/igiye-mark-white.svg") center / contain no-repeat; opacity: 0.06;
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { color: var(--white); max-width: 18ch; font-size: clamp(2.3rem, 3.6vw + 1rem, 3.9rem); }
.page-hero h1 em { color: var(--leaf); }
.page-hero .lead { color: rgba(255, 255, 255, 0.86); max-width: 44rem; margin-bottom: 0; }
.breadcrumb { font-family: var(--font-display); font-size: 0.78rem; font-weight: 600; margin-bottom: 1.6rem; color: rgba(255, 255, 255, 0.6); }
.breadcrumb a { color: rgba(255, 255, 255, 0.8); text-decoration: none; }
.breadcrumb a:hover { color: var(--white); text-decoration: underline; }
.breadcrumb span[aria-hidden] { margin: 0 0.5rem; }

/* ---------- Focus strip ---------- */
.focus-strip { background: var(--green); color: var(--white); }
.focus-strip ul {
  list-style: none; margin: 0; padding: 1.1rem 0; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.6rem 1.6rem;
  font-family: var(--font-display); font-weight: 600; font-size: 0.86rem;
}
.focus-strip li { display: inline-flex; align-items: center; gap: 0.55rem; }
.focus-strip li::before { content: ""; width: 7px; height: 8px; background: rgba(255, 255, 255, 0.75); clip-path: var(--hex); }

/* ---------- Layout helpers ---------- */
.split { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.split-even { grid-template-columns: 1fr 1fr; align-items: center; }
.section-head { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 2rem 4rem; align-items: end; margin-bottom: clamp(2.5rem, 4vw, 3.5rem); }
.section-head p:last-child { margin-bottom: 0; }
.section-head h2 { margin-bottom: 0; }
.stack > * + * { margin-top: 1rem; }
@media (max-width: 860px) {
  .split, .split-even, .section-head { grid-template-columns: 1fr; }
}

/* ---------- Goal statement ---------- */
.statement {
  font-family: var(--font-body); font-weight: 400; font-size: clamp(1.6rem, 2.2vw + 1rem, 2.6rem);
  line-height: 1.3; color: var(--navy); letter-spacing: -0.01em; margin: 0; max-width: 32ch;
}
.statement em { color: var(--green); }
.statement-wrap { display: grid; grid-template-columns: auto 1fr; gap: clamp(1.5rem, 4vw, 4rem); align-items: start; }
.statement-wrap .eyebrow { margin-top: 0.8rem; }
@media (max-width: 700px) { .statement-wrap { grid-template-columns: 1fr; gap: 0.5rem; } }

/* ---------- Service cards ---------- */
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.service-card {
  position: relative; display: flex; flex-direction: column; background: var(--white);
  border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.8rem 1.6rem 1.6rem;
  text-decoration: none; color: var(--ink); transition: transform .25s, box-shadow .25s, border-color .25s;
  overflow: hidden;
}
.service-card::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: var(--green);
  transform: scaleX(0); transform-origin: left; transition: transform .3s;
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: transparent; color: var(--ink); }
.service-card:hover::after { transform: scaleX(1); }
.service-card .num {
  position: absolute; top: 1.5rem; right: 1.6rem; font-family: var(--font-display); font-weight: 700;
  font-size: 0.8rem; color: var(--muted); letter-spacing: 0.06em;
}
.icon-hex {
  width: 54px; height: 62px; display: grid; place-items: center; clip-path: var(--hex);
  background: var(--green-100); color: var(--green); margin-bottom: 1.4rem; flex: none;
}
.icon-hex svg { width: 26px; height: 26px; }
.service-card:hover .icon-hex { background: var(--green); color: var(--white); }
.service-card h3 { margin-bottom: 0.6rem; }
.service-card p { font-size: 1rem; color: var(--muted); margin-bottom: 1.2rem; }
.service-card .more {
  margin-top: auto; font-family: var(--font-display); font-size: 0.82rem; font-weight: 700; color: var(--navy);
  display: inline-flex; gap: 0.4rem; align-items: center;
}
@media (max-width: 980px) { .service-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .service-grid { grid-template-columns: 1fr; } }

/* ---------- Approach steps ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; counter-reset: step; }
.steps li { position: relative; padding: 2.2rem 1.4rem 0 0; border-top: 2px solid var(--line-dark); }
.steps li::before {
  counter-increment: step; content: "0" counter(step);
  position: absolute; top: -15px; left: 0; width: 28px; height: 30px; display: grid; place-items: center;
  clip-path: var(--hex); background: var(--leaf); color: var(--navy);
  font-family: var(--font-display); font-size: 0.68rem; font-weight: 800;
}
.steps h3 { font-size: 1.05rem; margin-bottom: 0.5rem; }
.steps p { font-size: 0.98rem; color: rgba(255, 255, 255, 0.74); margin: 0; }
.section-white .steps li, .section-mist .steps li { border-color: var(--line); }
.section-white .steps p { color: var(--muted); }
@media (max-width: 980px) {
  .steps { grid-template-columns: 1fr; gap: 0; }
  .steps li { border-top: 0; border-left: 2px solid var(--line-dark); padding: 0 0 2rem 2.2rem; }
  .steps li::before { top: 0; left: -15px; }
  .steps li:last-child { padding-bottom: 0; }
}

/* ---------- Image + text ---------- */
.photo-frame { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.photo-frame img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; }
.photo-frame figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 2.5rem 1.2rem 1rem;
  background: linear-gradient(transparent, rgba(1, 26, 54, 0.85)); color: var(--white);
  font-family: var(--font-display); font-size: 0.78rem; font-weight: 600; letter-spacing: 0.04em;
}
.photo-offset { position: relative; }
.photo-offset::before {
  content: ""; position: absolute; inset: 1.5rem -1.5rem -1.5rem 1.5rem; border-radius: var(--radius-lg);
  background: repeating-linear-gradient(-30deg, var(--green) 0 10px, transparent 10px 22px); opacity: 0.18; z-index: -1;
}
@media (max-width: 620px) { .photo-offset::before { inset: 1rem -0.6rem -1rem 1rem; } }

/* ---------- Check list ---------- */
.check-list { list-style: none; padding: 0; margin: 0 0 1.5rem; }
.check-list li { position: relative; padding: 0.7rem 0 0.7rem 2rem; border-bottom: 1px solid var(--line); }
.check-list li:last-child { border-bottom: 0; }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: 1.05rem; width: 14px; height: 16px; clip-path: var(--hex); background: var(--green);
}
.section-navy .check-list li { border-color: var(--line-dark); }
.section-navy .check-list li::before { background: var(--leaf); }

/* ---------- Audience grid ---------- */
.audience { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line-dark); border: 1px solid var(--line-dark); border-radius: var(--radius-lg); overflow: hidden; }
.audience div { background: var(--navy); padding: 1.6rem 1.5rem; }
.audience h3 { font-size: 1.02rem; margin: 0 0 0.35rem; }
.audience p { font-size: 0.96rem; margin: 0; color: rgba(255, 255, 255, 0.7); }
@media (max-width: 860px) { .audience { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .audience { grid-template-columns: 1fr; } }

/* ---------- Logo story ---------- */
.mark-story { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.mark-figure { position: relative; background: var(--white); border-radius: var(--radius-lg); padding: clamp(2rem, 5vw, 3.5rem); box-shadow: var(--shadow); }
.mark-figure img { width: 100%; max-width: 340px; margin: 0 auto; }
.meaning { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem 2rem; margin: 2rem 0; }
.meaning div { padding-top: 1rem; border-top: 2px solid var(--green); }
.meaning div:nth-child(even) { border-color: var(--navy); }
.meaning h3 { font-size: 1rem; margin-bottom: 0.35rem; }
.meaning p { font-size: 0.98rem; color: var(--muted); margin: 0; }
.swatches { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 1.5rem; }
.swatch { display: flex; align-items: center; gap: 0.75rem; font-family: var(--font-display); font-size: 0.8rem; font-weight: 600; color: var(--navy); }
.swatch i { width: 40px; height: 46px; clip-path: var(--hex); display: block; }
.swatch small { display: block; font-weight: 500; color: var(--muted); }
@media (max-width: 860px) {
  .mark-story { grid-template-columns: 1fr; }
  .mark-figure { max-width: 360px; }
}
@media (max-width: 520px) { .meaning { grid-template-columns: 1fr; } }

/* ---------- Experts ---------- */
.expert-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.expert-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.6rem;
  display: grid; grid-template-columns: auto 1fr; gap: 1.1rem; align-items: center;
}
.monogram {
  width: 64px; height: 72px; clip-path: var(--hex); background: var(--navy); color: var(--white);
  display: grid; place-items: center; font-family: var(--font-display); font-weight: 800; font-size: 1.1rem; letter-spacing: 0.02em;
}
.expert-card:nth-child(even) .monogram { background: var(--green); }
.expert-card h3 { font-size: 1.08rem; margin: 0 0 0.25rem; }
.expert-card p { margin: 0; font-size: 0.98rem; color: var(--muted); line-height: 1.45; }
.expert-list { list-style: none; margin: 0; padding: 0; }
.expert-list li { display: grid; grid-template-columns: 1fr 1.3fr; gap: 1rem; padding: 0.95rem 0; border-bottom: 1px solid var(--line); }
.expert-list li strong { font-family: var(--font-display); color: var(--navy); font-size: 0.98rem; font-weight: 700; }
.expert-list li span { color: var(--muted); font-size: 1rem; }
@media (max-width: 980px) { .expert-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) {
  .expert-grid { grid-template-columns: 1fr; }
  .expert-list li { grid-template-columns: 1fr; gap: 0.15rem; }
}

/* ---------- Services page ---------- */
.services-layout { display: grid; grid-template-columns: 260px 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.services-nav { position: sticky; top: calc(var(--header-h) + 24px); }
.services-nav p { font-family: var(--font-display); font-size: 0.74rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-bottom: 0.8rem; }
.services-nav ol { list-style: none; padding: 0; margin: 0; border-left: 2px solid var(--line); }
.services-nav a {
  display: block; padding: 0.55rem 0 0.55rem 1rem; margin-left: -2px; border-left: 2px solid transparent;
  font-family: var(--font-display); font-size: 0.88rem; font-weight: 600; color: var(--muted); text-decoration: none; line-height: 1.35;
}
.services-nav a:hover { color: var(--navy); }
.services-nav a.is-active { color: var(--green); border-color: var(--green); }
.service-block { padding: 0 0 clamp(3rem, 5vw, 4.5rem); margin-bottom: clamp(3rem, 5vw, 4.5rem); border-bottom: 1px solid var(--line); }
.service-block:last-child { border-bottom: 0; margin-bottom: 0; padding-bottom: 0; }
.service-block header { display: flex; align-items: center; gap: 1.2rem; margin-bottom: 1.4rem; }
.service-block header .icon-hex { margin: 0; }
.service-block header span { font-family: var(--font-display); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.14em; color: var(--green); text-transform: uppercase; }
.service-block h2 { font-size: clamp(1.6rem, 1.6vw + 1rem, 2.3rem); margin-bottom: 1rem; }
.service-block .two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem 2.5rem; margin-top: 1.5rem; }
.panel { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.5rem 1.6rem; }
.panel h3 { font-size: 0.82rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--green); margin-bottom: 0.8rem; }
.panel .check-list { margin: 0; }
.panel .check-list li { font-size: 1rem; padding-top: 0.55rem; padding-bottom: 0.55rem; }
.panel .check-list li::before { top: 0.9rem; width: 11px; height: 12px; }
.standards { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 0.4rem 0 0; padding: 0; list-style: none; }
.standards li {
  font-family: var(--font-display); font-size: 0.78rem; font-weight: 700; color: var(--navy);
  background: var(--navy-100); border-radius: 999px; padding: 0.35rem 0.8rem;
}
@media (max-width: 980px) {
  .services-layout { grid-template-columns: 1fr; }
  .services-nav { position: static; }
  .services-nav ol { display: flex; flex-wrap: wrap; gap: 0.5rem; border: 0; }
  .services-nav a { border: 1px solid var(--line); border-radius: 999px; padding: 0.45rem 0.9rem; margin: 0; background: var(--white); font-size: 0.82rem; }
  .services-nav a.is-active { border-color: var(--green); }
}
@media (max-width: 700px) { .service-block .two-col { grid-template-columns: 1fr; } }

/* ---------- Commitment / quote ---------- */
.commitment {
  position: relative; background: var(--white); border-radius: var(--radius-lg); padding: clamp(2rem, 5vw, 4rem);
  box-shadow: var(--shadow); overflow: hidden;
}
.commitment::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 6px; background: linear-gradient(var(--green) 50%, var(--navy) 50%); }
.commitment p { font-size: 1.12rem; }
.commitment p:last-child { margin-bottom: 0; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--green); color: rgba(255, 255, 255, 0.9); position: relative; overflow: hidden; }
.cta-band::before {
  content: ""; position: absolute; left: -10%; top: -50%; width: 50%; height: 200%;
  background: repeating-linear-gradient(-30deg, transparent 0 46px, rgba(255, 255, 255, 0.06) 46px 60px);
}
.cta-inner { position: relative; display: grid; grid-template-columns: 1fr auto; gap: 2rem 4rem; align-items: center; }
.cta-band h2 { color: var(--white); margin-bottom: 0.6rem; }
.cta-band h2 em { color: var(--white); opacity: 0.9; }
.cta-band p { margin: 0; max-width: 40rem; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 0.8rem; }
@media (max-width: 860px) { .cta-inner { grid-template-columns: 1fr; } }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.contact-cards { display: grid; gap: 1rem; }
.contact-card {
  display: grid; grid-template-columns: auto 1fr; gap: 1rem; align-items: start; background: var(--white);
  border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.3rem 1.4rem;
}
.contact-card .icon-hex { width: 44px; height: 50px; margin: 0; }
.contact-card .icon-hex svg { width: 20px; height: 20px; }
.contact-card h3 { font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin: 0 0 0.25rem; }
.contact-card p, .contact-card a { margin: 0; font-size: 1.08rem; color: var(--navy); font-weight: 600; text-decoration: none; overflow-wrap: anywhere; }
.contact-card a:hover { color: var(--green); text-decoration: underline; }
.contact-card .small-link { display: inline-block; margin-top: 0.4rem; font-family: var(--font-display); font-size: 0.8rem; font-weight: 700; color: var(--green); }

.form-card { background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow); padding: clamp(1.5rem, 4vw, 2.6rem); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem 1.2rem; }
.field { display: flex; flex-direction: column; gap: 0.4rem; }
.field-full { grid-column: 1 / -1; }
.field label { font-family: var(--font-display); font-size: 0.82rem; font-weight: 700; color: var(--navy); }
.field label .opt { font-weight: 500; color: var(--muted); }
.field input, .field select, .field textarea {
  font: inherit; font-size: 1rem; color: var(--ink); background: var(--paper);
  border: 1px solid var(--line); border-radius: var(--radius); padding: 0.8rem 0.9rem; width: 100%;
  transition: border-color .2s, box-shadow .2s, background-color .2s;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--green); background: var(--white); box-shadow: 0 0 0 3px rgba(2, 104, 46, 0.15);
}
.field [aria-invalid="true"] { border-color: #b42318; }
.field .error { font-family: var(--font-display); font-size: 0.78rem; color: #b42318; min-height: 1em; }
.consent { display: flex; gap: 0.7rem; align-items: flex-start; font-size: 0.95rem; color: var(--muted); }
.consent input { margin-top: 0.3rem; width: 18px; height: 18px; accent-color: var(--green); flex: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin-top: 1rem; font-family: var(--font-display); font-size: 0.9rem; font-weight: 600; }
.form-status.ok { color: var(--green); }
.form-status.err { color: #b42318; }
.form-note { font-size: 0.9rem; color: var(--muted); margin-top: 1rem; }
@media (max-width: 920px) { .contact-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .form-grid { grid-template-columns: 1fr; } }

/* ---------- Prose (privacy etc.) ---------- */
.prose { max-width: 46rem; }
.prose h2 { font-size: 1.5rem; margin-top: 2.2rem; }
.prose h2:first-child { margin-top: 0; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-900); color: rgba(255, 255, 255, 0.72); font-size: 0.98rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr 1.3fr; gap: 2.5rem; padding: clamp(3.5rem, 6vw, 5rem) var(--gutter) 3rem; }
.footer-brand img { height: 56px; width: auto; margin-bottom: 1.2rem; }
.footer-brand p { max-width: 22rem; }
.footer-heading { font-family: var(--font-display); font-size: 0.74rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--leaf); margin-bottom: 1rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 0.55rem; }
.site-footer a { color: rgba(255, 255, 255, 0.84); text-decoration: none; }
.site-footer a:hover { color: var(--white); text-decoration: underline; }
.site-footer address { font-style: normal; }
.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.8rem; padding: 1.4rem var(--gutter) 2rem;
  border-top: 1px solid var(--line-dark); font-family: var(--font-display); font-size: 0.78rem; color: rgba(255, 255, 255, 0.55);
}
.footer-bottom a { color: rgba(255, 255, 255, 0.7); }
@media (max-width: 980px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- 404 ---------- */
.notfound { min-height: 60vh; display: grid; place-items: center; text-align: center; }
.notfound img { width: 120px; margin: 0 auto 1.5rem; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

@media print {
  .site-header, .site-footer, .cta-band, .menu-toggle { display: none !important; }
  body { background: #fff; }
  .hero, .page-hero, .section-navy { background: #fff !important; color: #000 !important; }
  .hero h1, .page-hero h1, .section-navy h2 { color: var(--navy) !important; }
}
