/* ============================================================
   LOGIFOLKS — Logistics Support Services
   Design system: refined industrial-editorial, forest-green identity
   Author: Front-end build
   ------------------------------------------------------------
   NOTE: Global inline-icon sizing lives near the end of this file
   (".icon sizing" section) to guarantee SVG icons never render at
   their unconstrained default size.
   ------------------------------------------------------------
   ============================================================ */

/* ----------  Design tokens  ---------- */
:root {
  /* Brand greens (sampled from the LOGIFOLKS mark) */
  --green-900: #14271a;
  --green-800: #1c3524;
  --green-700: #244430;
  --green-600: #2e5339;   /* primary */
  --green-500: #3c6b4a;
  --green-400: #5a8b68;
  --green-300: #83ad90;
  --green-200: #b7d0be;
  --green-100: #e0ebe2;

  /* Neutrals */
  --cream:     #f7f5ef;
  --paper:     #fbfaf6;
  --sand:      #ece7db;
  --ink:       #16211a;
  --ink-soft:  #3b473f;
  --muted:     #6b756e;
  --line:      #dfdccf;
  --white:     #ffffff;

  /* Accents */
  --amber:     #c8873b;   /* hi-vis warmth, used sparingly */
  --amber-soft:#e7b56a;

  /* Semantic */
  --bg:        var(--cream);
  --surface:   var(--white);
  --text:      var(--ink);
  --text-soft: var(--ink-soft);
  --brand:     var(--green-600);
  --brand-dk:  var(--green-800);
  --accent:    var(--amber);

  /* Typography */
  --font-display: "Bricolage Grotesque", Georgia, serif;
  --font-body: "Hanken Grotesk", system-ui, -apple-system, sans-serif;
  --font-mono: "Spline Sans Mono", ui-monospace, "Cascadia Code", monospace;

  /* Fluid type scale */
  --step--1: clamp(0.82rem, 0.79rem + 0.14vw, 0.9rem);
  --step-0:  clamp(1rem, 0.96rem + 0.2vw, 1.12rem);
  --step-1:  clamp(1.25rem, 1.16rem + 0.42vw, 1.5rem);
  --step-2:  clamp(1.56rem, 1.4rem + 0.8vw, 2.1rem);
  --step-3:  clamp(1.95rem, 1.68rem + 1.35vw, 3rem);
  --step-4:  clamp(2.44rem, 2rem + 2.2vw, 4.2rem);
  --step-5:  clamp(3rem, 2.3rem + 3.5vw, 5.8rem);

  /* Spacing */
  --sp-1: 0.5rem;  --sp-2: 0.75rem; --sp-3: 1rem;  --sp-4: 1.5rem;
  --sp-5: 2rem;    --sp-6: 3rem;    --sp-7: 4.5rem; --sp-8: 7rem;

  /* Radius / shadow / motion */
  --radius: 4px;
  --radius-lg: 10px;
  --shadow-sm: 0 1px 2px rgba(20,39,26,.06), 0 2px 8px rgba(20,39,26,.05);
  --shadow-md: 0 8px 24px rgba(20,39,26,.10), 0 2px 6px rgba(20,39,26,.06);
  --shadow-lg: 0 24px 60px rgba(20,39,26,.18);
  --ease: cubic-bezier(.22,.61,.36,1);
  --container: 1240px;
  --header-h: 84px;
}

/* ----------  Reset  ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}
body {
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, picture, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul, ol { list-style: none; padding: 0; }
h1,h2,h3,h4 { font-family: var(--font-display); font-weight: 700; line-height: 1.05; letter-spacing: -0.02em; color: var(--ink); }
:focus-visible { outline: 3px solid var(--green-500); outline-offset: 3px; border-radius: 2px; }

/* Skip link */
.skip-link {
  position: absolute; left: 1rem; top: -3rem; z-index: 1000;
  background: var(--brand); color: #fff; padding: .6rem 1rem; border-radius: var(--radius);
  transition: top .2s var(--ease);
}
.skip-link:focus { top: 1rem; }

/* Grain overlay for atmosphere */
body::before {
  content: ""; position: fixed; inset: 0; z-index: 1; pointer-events: none; opacity: .035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ----------  Layout  ---------- */
.container { width: min(100% - 2.5rem, var(--container)); margin-inline: auto; }
.container--narrow { width: min(100% - 2.5rem, 820px); margin-inline: auto; }
main { position: relative; z-index: 2; }
.section { padding-block: clamp(3.5rem, 8vw, 7rem); position: relative; }
.section--tight { padding-block: clamp(2.5rem, 5vw, 4rem); }
.section--dark { background: var(--green-800); color: var(--green-100); }
.section--dark h1,.section--dark h2,.section--dark h3 { color: #fff; }
.section--paper { background: var(--paper); }

/* Eyebrow / section labels — technical, container-code feel */
.eyebrow {
  font-family: var(--font-mono); font-size: var(--step--1); text-transform: uppercase;
  letter-spacing: .28em; color: var(--brand); display: inline-flex; align-items: center; gap: .7rem;
  font-weight: 500;
}
.eyebrow::before { content: ""; width: 34px; height: 1px; background: currentColor; opacity: .6; }
.section--dark .eyebrow { color: var(--green-300); }
.eyebrow--center { justify-content: center; }
.eyebrow--center::after { content: ""; width: 34px; height: 1px; background: currentColor; opacity: .6; }

.section-head { max-width: 720px; margin-bottom: var(--sp-6); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-title { font-size: var(--step-3); margin-top: var(--sp-3); }
.lead { font-size: var(--step-1); color: var(--text-soft); font-family: var(--font-body); font-weight: 400; }
.section--dark .lead { color: var(--green-200); }
.text-soft { color: var(--text-soft); }

/* ----------  Buttons  ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .6rem; padding: .95rem 1.7rem;
  font-family: var(--font-mono); font-size: .8rem; font-weight: 500; letter-spacing: .12em;
  text-transform: uppercase; border-radius: var(--radius); transition: all .35s var(--ease);
  position: relative; overflow: hidden; border: 1.5px solid transparent; will-change: transform;
}
.btn svg { width: 1em; height: 1em; transition: transform .35s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn--primary { background: var(--brand); color: #fff; box-shadow: var(--shadow-sm); }
.btn--primary:hover { background: var(--brand-dk); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn--ghost { border-color: currentColor; color: var(--brand); }
.btn--ghost:hover { background: var(--brand); color: #fff; border-color: var(--brand); transform: translateY(-2px); }
.btn--light { background: #fff; color: var(--brand-dk); }
.btn--light:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn--ondark { border-color: rgba(255,255,255,.4); color: #fff; }
.btn--ondark:hover { background: #fff; color: var(--brand-dk); border-color: #fff; }
.btn--lg { padding: 1.15rem 2.1rem; }

/* Text link with arrow */
.link-arrow {
  font-family: var(--font-mono); font-size: .82rem; text-transform: uppercase; letter-spacing: .1em;
  color: var(--brand); display: inline-flex; align-items: center; gap: .5rem; font-weight: 500;
  border-bottom: 1px solid transparent; padding-bottom: 2px; transition: gap .3s var(--ease), border-color .3s;
}
.link-arrow:hover { gap: .85rem; border-color: currentColor; }

/* ----------  Header / Nav  ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--header-h);
  display: flex; align-items: center; transition: height .35s var(--ease), background .35s, box-shadow .35s;
}
.site-header::after {
  content: ""; position: absolute; inset: 0; background: rgba(247,245,239,.82);
  backdrop-filter: blur(14px) saturate(1.1); -webkit-backdrop-filter: blur(14px) saturate(1.1);
  border-bottom: 1px solid transparent; opacity: 0; transition: opacity .35s var(--ease); z-index: -1;
}
.site-header.is-scrolled { height: 68px; }
.site-header.is-scrolled::after { opacity: 1; border-bottom-color: var(--line); box-shadow: var(--shadow-sm); }
/* On pages that start with a light hero, header text stays dark by default */
.nav { width: min(100% - 2.5rem, var(--container)); margin-inline: auto; display: flex; align-items: center; justify-content: space-between; gap: var(--sp-4); }
.brand { display: flex; align-items: center; flex-shrink: 0; }
.brand img { height: 46px; width: auto; transition: height .35s var(--ease); }
.site-header.is-scrolled .brand img { height: 40px; }

.nav-menu { display: flex; align-items: center; gap: .25rem; }
.nav-link {
  font-family: var(--font-body); font-weight: 600; font-size: .95rem; color: var(--ink-soft);
  padding: .55rem .85rem; border-radius: var(--radius); position: relative; transition: color .25s;
}
.nav-link::after {
  content: ""; position: absolute; left: .85rem; right: .85rem; bottom: .35rem; height: 2px;
  background: var(--brand); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.nav-link:hover { color: var(--brand-dk); }
.nav-link:hover::after, .nav-link.is-active::after { transform: scaleX(1); }
.nav-link.is-active { color: var(--brand-dk); }

/* Dropdown */
.has-dropdown { position: relative; }
.dropdown-toggle { display: inline-flex; align-items: center; gap: .35rem; }
.dropdown-toggle svg { width: 12px; transition: transform .3s var(--ease); }
.has-dropdown:hover .dropdown-toggle svg,
.has-dropdown:focus-within .dropdown-toggle svg { transform: rotate(180deg); }
.dropdown {
  position: absolute; top: calc(100% + .4rem); left: 0; min-width: 288px; background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
  padding: .5rem; opacity: 0; visibility: hidden; transform: translateY(8px); transition: all .28s var(--ease);
}
.has-dropdown:hover .dropdown, .has-dropdown:focus-within .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown a { display: flex; gap: .75rem; align-items: flex-start; padding: .7rem .8rem; border-radius: var(--radius); transition: background .2s; }
.dropdown a:hover { background: var(--green-100); }
.dropdown a strong { display: block; font-family: var(--font-body); font-size: .92rem; color: var(--ink); font-weight: 600; }
.dropdown a span { font-size: .78rem; color: var(--muted); line-height: 1.4; }
.dropdown .dd-ico { color: var(--brand); flex-shrink: 0; margin-top: 2px; }

.nav-cta { display: flex; align-items: center; gap: var(--sp-3); }
.nav-toggle { display: none; }

/* Mobile nav */
@media (max-width: 1024px) {
  .nav-menu, .nav-cta .btn { display: none; }
  .nav-toggle {
    display: inline-flex; flex-direction: column; justify-content: center; gap: 5px;
    width: 46px; height: 46px; align-items: center; border: 1px solid var(--line); border-radius: var(--radius);
    background: rgba(255,255,255,.6);
  }
  .nav-toggle span { width: 22px; height: 2px; background: var(--ink); transition: transform .3s var(--ease), opacity .2s; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .mobile-nav {
    position: fixed; inset: 0; z-index: 99; background: var(--green-800); color: #fff;
    padding: calc(var(--header-h) + 1rem) 1.5rem 2rem; transform: translateX(100%);
    transition: transform .4s var(--ease); overflow-y: auto; display: flex; flex-direction: column;
  }
  .mobile-nav.is-open { transform: translateX(0); }
  .mobile-nav a { display: block; font-family: var(--font-display); font-size: 1.6rem; padding: .7rem 0; border-bottom: 1px solid rgba(255,255,255,.12); color: #fff; }
  .mobile-nav .mnav-sub { font-family: var(--font-mono); font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; color: var(--green-300); margin-top: 1.5rem; padding-bottom: .5rem; }
  .mobile-nav .mnav-sub-link { font-size: 1.05rem; font-family: var(--font-body); color: var(--green-100); padding: .5rem 0; }
  .mobile-nav .btn { margin-top: auto; display: inline-flex; }
}
@media (min-width: 1025px) { .mobile-nav { display: none; } }
body.nav-open { overflow: hidden; }

/* ----------  Hero  ---------- */
.hero { position: relative; min-height: 92vh; display: flex; align-items: center; color: #fff; overflow: hidden; padding-top: var(--header-h); }
.hero__bg { position: absolute; inset: 0; z-index: -2; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.hero__bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(105deg, rgba(20,39,26,.95) 0%, rgba(28,53,36,.82) 42%, rgba(20,39,26,.35) 100%),
    linear-gradient(0deg, rgba(20,39,26,.85), rgba(20,39,26,0) 55%);
}
.hero__inner { padding-block: clamp(3rem, 9vw, 7rem); max-width: 760px; }
.hero h1 { font-size: var(--step-5); color: #fff; margin-block: 1.4rem 1.6rem; }
.hero h1 em { font-style: normal; color: var(--green-300); position: relative; }
.hero p { font-size: var(--step-1); color: rgba(255,255,255,.86); max-width: 560px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: var(--sp-3); margin-top: var(--sp-5); }
.hero__meta { display: flex; flex-wrap: wrap; gap: var(--sp-5); margin-top: var(--sp-6); padding-top: var(--sp-4); border-top: 1px solid rgba(255,255,255,.16); }
.hero__meta div strong { font-family: var(--font-display); font-size: 2rem; display: block; color: #fff; }
.hero__meta div span { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--green-300); }

/* Scrolling marquee of capabilities */
.marquee { background: var(--green-900); color: var(--green-200); overflow: hidden; border-block: 1px solid rgba(255,255,255,.08); }
.marquee__track { display: flex; gap: 3rem; padding: .9rem 0; white-space: nowrap; width: max-content; animation: marquee 32s linear infinite; }
.marquee__track span { font-family: var(--font-mono); font-size: .8rem; letter-spacing: .18em; text-transform: uppercase; display: inline-flex; align-items: center; gap: 3rem; }
.marquee__track span::after { content: "◆"; color: var(--green-500); font-size: .6rem; }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ----------  Page banner (interior pages)  ---------- */
.page-banner { position: relative; padding: calc(var(--header-h) + 3.5rem) 0 3.5rem; color: #fff; overflow: hidden; background: var(--green-800); }
.page-banner::before {
  content: ""; position: absolute; inset: 0; opacity: .16; z-index: 0;
  background-image: radial-gradient(circle at 1px 1px, var(--green-300) 1px, transparent 0); background-size: 26px 26px;
}
.page-banner__inner { position: relative; z-index: 1; }
.page-banner h1 { font-size: var(--step-4); color: #fff; margin-top: .8rem; }
.page-banner p { max-width: 620px; margin-top: 1rem; color: var(--green-200); font-size: var(--step-1); }

/* Breadcrumbs */
.breadcrumb { display: flex; flex-wrap: wrap; gap: .5rem; font-family: var(--font-mono); font-size: .75rem; letter-spacing: .06em; text-transform: uppercase; color: var(--green-300); align-items: center; }
.breadcrumb a { color: var(--green-200); transition: color .2s; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb li { display: flex; align-items: center; gap: .5rem; }
.breadcrumb li:not(:last-child)::after { content: "/"; color: var(--green-500); }
.breadcrumb [aria-current] { color: #fff; }

/* ----------  Cards / grids  ---------- */
.grid { display: grid; gap: var(--sp-4); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 960px) { .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; } }

.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: var(--sp-5); transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s;
  position: relative; overflow: hidden; height: 100%;
}
.card::before { content: ""; position: absolute; left: 0; top: 0; width: 3px; height: 0; background: var(--brand); transition: height .4s var(--ease); }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--green-200); }
.card:hover::before { height: 100%; }
.card__num { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .16em; color: var(--green-400); }
.card__icon { width: 56px; height: 56px; border-radius: var(--radius); background: var(--green-100); color: var(--brand); display: grid; place-items: center; margin-bottom: var(--sp-3); transition: background .35s, color .35s; }
.card__icon svg { width: 28px; height: 28px; }
.card:hover .card__icon { background: var(--brand); color: #fff; }
.card h3 { font-size: var(--step-1); margin-block: .6rem; }
.card p { color: var(--text-soft); font-size: .96rem; }
.card .link-arrow { margin-top: var(--sp-3); }
.card__head { display: flex; justify-content: space-between; align-items: flex-start; }

/* Service card link overlay */
.card--link { display: flex; flex-direction: column; }
.card--link .link-arrow { margin-top: auto; padding-top: var(--sp-3); }

/* ----------  Feature / split sections  ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.split--reverse .split__media { order: 2; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } .split--reverse .split__media { order: 0; } }
.split__media { position: relative; }
.media-frame { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.media-frame img { width: 100%; aspect-ratio: 4/3.4; object-fit: cover; transition: transform 1.2s var(--ease); }
.media-frame:hover img { transform: scale(1.05); }
.media-frame--duotone img { filter: saturate(.7) contrast(1.05); }
.media-frame--duotone::after { content: ""; position: absolute; inset: 0; background: linear-gradient(160deg, rgba(46,83,57,.35), rgba(20,39,26,.15)); mix-blend-mode: multiply; }
.media-badge {
  position: absolute; z-index: 2; background: var(--brand); color: #fff; padding: 1.1rem 1.3rem; border-radius: var(--radius);
  box-shadow: var(--shadow-md); max-width: 210px;
}
.media-badge--br { right: -14px; bottom: -14px; }
.media-badge strong { font-family: var(--font-display); font-size: 2.2rem; display: block; line-height: 1; }
.media-badge span { font-family: var(--font-mono); font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--green-200); }
@media (max-width: 480px){ .media-badge{ position: static; margin-top: 1rem; max-width: none; } }

/* Checklist */
.checklist { display: grid; gap: var(--sp-3); margin-top: var(--sp-4); }
.checklist li { display: flex; gap: .85rem; align-items: flex-start; }
.checklist .chk {
  flex-shrink: 0; width: 26px; height: 26px; border-radius: 50%; background: var(--green-100); color: var(--brand);
  display: grid; place-items: center; margin-top: 2px;
}
.checklist .chk svg { width: 14px; height: 14px; }
.checklist strong { font-weight: 700; display: block; }
.checklist p { color: var(--text-soft); font-size: .92rem; }
.section--dark .checklist .chk { background: var(--green-600); color: #fff; }

/* ----------  Stats band  ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--sp-4); }
@media (max-width: 720px){ .stats { grid-template-columns: repeat(2,1fr); } }
.stat { text-align: center; padding: var(--sp-4) var(--sp-2); }
.stat strong { font-family: var(--font-display); font-size: clamp(2.5rem, 5vw, 3.6rem); color: #fff; display: block; line-height: 1; }
.stat span { font-family: var(--font-mono); font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--green-300); display: block; margin-top: .6rem; }

/* ----------  Process steps  ---------- */
.steps { display: grid; gap: var(--sp-4); grid-template-columns: repeat(4,1fr); counter-reset: step; }
@media (max-width: 900px){ .steps { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 560px){ .steps { grid-template-columns: 1fr; } }
.step { position: relative; padding-top: var(--sp-5); }
.step__n { font-family: var(--font-display); font-size: 3rem; color: var(--green-200); line-height: 1; }
.step h3 { font-size: var(--step-1); margin-block: .7rem .5rem; }
.step p { color: var(--text-soft); font-size: .95rem; }
.step::before { content: ""; position: absolute; top: var(--sp-5); left: 0; width: 44px; height: 3px; background: var(--brand); }
.section--dark .step__n { color: var(--green-600); }

/* ----------  Accordion (FAQ)  ---------- */
.accordion { border-top: 1px solid var(--line); }
.acc-item { border-bottom: 1px solid var(--line); }
.acc-trigger {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding: 1.4rem 0; text-align: left; font-family: var(--font-display); font-size: var(--step-1); color: var(--ink);
}
.acc-trigger .acc-ico { flex-shrink: 0; width: 32px; height: 32px; border-radius: 50%; border: 1.5px solid var(--brand); color: var(--brand); display: grid; place-items: center; transition: background .3s, color .3s, transform .3s; position: relative; }
.acc-ico::before, .acc-ico::after { content: ""; position: absolute; background: currentColor; }
.acc-ico::before { width: 13px; height: 2px; }
.acc-ico::after { width: 2px; height: 13px; transition: transform .3s var(--ease); }
.acc-trigger[aria-expanded="true"] .acc-ico { background: var(--brand); color: #fff; }
.acc-trigger[aria-expanded="true"] .acc-ico::after { transform: scaleY(0); }
.acc-panel { overflow: hidden; height: 0; transition: height .35s var(--ease); }
.acc-panel__inner { padding-bottom: 1.5rem; color: var(--text-soft); max-width: 760px; }

/* ----------  Testimonials / quote  ---------- */
.quote-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: var(--sp-5); position: relative; }
.quote-card .mark { font-family: var(--font-display); font-size: 4rem; color: var(--green-200); line-height: .6; }
.quote-card blockquote { font-size: var(--step-1); font-family: var(--font-display); font-weight: 500; letter-spacing: -.01em; margin: 1rem 0 1.5rem; color: var(--ink); }
.quote-card .who { display: flex; align-items: center; gap: .9rem; }
.quote-card .who .av { width: 46px; height: 46px; border-radius: 50%; background: var(--green-600); color: #fff; display: grid; place-items: center; font-family: var(--font-display); }
.quote-card .who strong { display: block; }
.quote-card .who span { font-size: .82rem; color: var(--muted); font-family: var(--font-mono); text-transform: uppercase; letter-spacing: .08em; }

/* ----------  CTA band  ---------- */
.cta-band { position: relative; overflow: hidden; background: var(--green-800); color: #fff; border-radius: var(--radius-lg); padding: clamp(2.5rem,6vw,4.5rem); }
.cta-band::before { content: ""; position: absolute; inset: 0; opacity: .12; background-image: radial-gradient(circle at 1px 1px, var(--green-300) 1px, transparent 0); background-size: 24px 24px; }
.cta-band__inner { position: relative; display: flex; justify-content: space-between; align-items: center; gap: var(--sp-5); flex-wrap: wrap; }
.cta-band h2 { font-size: var(--step-3); color: #fff; max-width: 620px; }
.cta-band p { color: var(--green-200); margin-top: .8rem; max-width: 560px; }

/* ----------  Contact / forms  ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(2rem,5vw,4rem); align-items: start; }
@media (max-width: 900px){ .contact-grid { grid-template-columns: 1fr; } }
.info-item { display: flex; gap: 1rem; padding: 1.2rem 0; border-bottom: 1px solid var(--line); }
.info-item .ico { flex-shrink: 0; width: 48px; height: 48px; border-radius: var(--radius); background: var(--green-100); color: var(--brand); display: grid; place-items: center; }
.info-item h3 { font-size: 1rem; font-family: var(--font-mono); text-transform: uppercase; letter-spacing: .1em; color: var(--muted); font-weight: 500; }
.info-item p, .info-item a { font-family: var(--font-body); font-size: 1.05rem; color: var(--ink); font-weight: 600; }
.info-item a:hover { color: var(--brand); }

.form-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(1.5rem,3vw,2.5rem); box-shadow: var(--shadow-sm); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-4); }
@media (max-width: 560px){ .form-grid { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: .4rem; }
.field--full { grid-column: 1 / -1; }
.field label { font-family: var(--font-mono); font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft); font-weight: 500; }
.field label .req { color: var(--accent); }
.field input, .field select, .field textarea {
  font: inherit; font-size: .98rem; padding: .85rem 1rem; border: 1.5px solid var(--line); border-radius: var(--radius);
  background: var(--paper); color: var(--ink); transition: border-color .25s, box-shadow .25s, background .25s; width: 100%;
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--brand); background: #fff; box-shadow: 0 0 0 3px var(--green-100); }
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"], .field select[aria-invalid="true"] { border-color: #c0392b; box-shadow: 0 0 0 3px rgba(192,57,43,.12); }
.field .err { font-size: .78rem; color: #c0392b; min-height: 1em; font-weight: 600; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { font-size: .82rem; color: var(--muted); margin-top: var(--sp-3); }
.form-status { padding: 1rem 1.2rem; border-radius: var(--radius); margin-bottom: var(--sp-4); font-weight: 600; display: none; }
.form-status.is-success { display: block; background: var(--green-100); color: var(--green-800); border: 1px solid var(--green-300); }
.form-status.is-error { display: block; background: #fdecea; color: #a5281b; border: 1px solid #f0b6ae; }
.btn[aria-busy="true"] { opacity: .7; pointer-events: none; }

/* ----------  Footer  ---------- */
.site-footer { background: var(--green-900); color: var(--green-200); padding-top: var(--sp-7); position: relative; z-index: 2; }
.footer-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: var(--sp-5); padding-bottom: var(--sp-6); border-bottom: 1px solid rgba(255,255,255,.1); }
@media (max-width: 900px){ .footer-top { grid-template-columns: 1fr 1fr; gap: var(--sp-5); } }
@media (max-width: 520px){ .footer-top { grid-template-columns: 1fr; } }
.footer-brand img { height: 44px; margin-bottom: var(--sp-3); }
.footer-brand p { max-width: 320px; font-size: .95rem; color: var(--green-300); }
.footer-social { display: flex; gap: .6rem; margin-top: var(--sp-4); }
.footer-social a { width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255,255,255,.16); display: grid; place-items: center; color: var(--green-200); transition: all .3s var(--ease); }
.footer-social a:hover { background: var(--brand); border-color: var(--brand); color: #fff; transform: translateY(-3px); }
.footer-col h4 { font-family: var(--font-mono); font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; color: #fff; margin-bottom: var(--sp-3); font-weight: 500; }
.footer-col ul { display: grid; gap: .7rem; }
.footer-col a { color: var(--green-200); font-size: .95rem; transition: color .2s, padding-left .2s; }
.footer-col a:hover { color: #fff; padding-left: 4px; }
.footer-contact li { display: flex; gap: .6rem; margin-bottom: .8rem; font-size: .92rem; color: var(--green-200); }
.footer-contact svg { color: var(--green-400); flex-shrink: 0; margin-top: 3px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding-block: var(--sp-4); font-size: .82rem; color: var(--green-400); font-family: var(--font-mono); letter-spacing: .04em; }
.footer-bottom a { color: var(--green-300); }
.footer-bottom a:hover { color: #fff; }

/* ----------  Utilities & reveal animations  ----------
   Scroll reveal is JS-driven (IntersectionObserver adds .is-visible).
   A pure-CSS failsafe animation guarantees content becomes visible even if
   JS or the observer never runs, so nothing is ever permanently hidden. */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); animation: reveal-failsafe .01s linear 3s forwards; }
.reveal.is-visible { opacity: 1; transform: none; }
@keyframes reveal-failsafe { to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; animation: none !important; transition: none !important; }
}
.reveal[data-delay="1"]{ transition-delay: .08s; }
.reveal[data-delay="2"]{ transition-delay: .16s; }
.reveal[data-delay="3"]{ transition-delay: .24s; }
.reveal[data-delay="4"]{ transition-delay: .32s; }
.mt-0{margin-top:0}.mt-4{margin-top:var(--sp-4)}.mt-5{margin-top:var(--sp-5)}.mt-6{margin-top:var(--sp-6)}
.text-center{text-align:center}
.tag { display:inline-block; font-family: var(--font-mono); font-size:.72rem; letter-spacing:.12em; text-transform:uppercase; color: var(--brand); background: var(--green-100); padding:.35rem .7rem; border-radius: 999px; }
.divider { height:1px; background: var(--line); border:0; margin-block: var(--sp-6); }

/* Prose (service detail / blog) */
.prose { max-width: 760px; }
.prose h2 { font-size: var(--step-2); margin-top: var(--sp-6); margin-bottom: var(--sp-3); }
.prose h3 { font-size: var(--step-1); margin-top: var(--sp-5); margin-bottom: var(--sp-2); }
.prose p { margin-bottom: var(--sp-3); color: var(--text-soft); }
.prose ul { display: grid; gap: .6rem; margin-bottom: var(--sp-4); }
.prose ul li { display: flex; gap: .7rem; align-items: flex-start; color: var(--text-soft); }
.prose ul li::before { content: ""; width: 8px; height: 8px; margin-top: .55rem; flex-shrink: 0; background: var(--brand); border-radius: 2px; transform: rotate(45deg); }

/* Sidebar for service pages */
.svc-layout { display: grid; grid-template-columns: 300px 1fr; gap: clamp(2rem,4vw,3.5rem); align-items: start; }
@media (max-width: 900px){ .svc-layout { grid-template-columns: 1fr; } }
.svc-nav { position: sticky; top: calc(var(--header-h) + 1rem); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: var(--sp-3); }
.svc-nav h4 { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); padding: .5rem .8rem; }
.svc-nav a { display: flex; align-items: center; gap: .6rem; padding: .7rem .8rem; border-radius: var(--radius); font-size: .92rem; font-weight: 600; color: var(--ink-soft); transition: background .2s, color .2s; }
.svc-nav a:hover { background: var(--green-100); color: var(--brand-dk); }
.svc-nav a.is-active { background: var(--brand); color: #fff; }
.svc-nav a.is-active .svc-dot { background:#fff; }
.svc-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green-300); }
@media (max-width: 900px){ .svc-nav { position: static; } }

.info-callout { background: var(--green-100); border-left: 4px solid var(--brand); border-radius: var(--radius); padding: var(--sp-4); margin-block: var(--sp-4); }
.info-callout strong { color: var(--brand-dk); }

/* ============================================================
   ICON SIZING — constrain every inline SVG icon
   Inline SVGs with no width/height render at their intrinsic/replaced
   size (often huge). These rules guarantee each icon fits its context.
   ============================================================ */
/* Sensible default for any icon SVG not otherwise sized */
.nav-link svg,
/* Prevent any icon SVG from shrinking/collapsing as a flex item */
.btn svg,
.link-arrow svg,
.eyebrow svg,
.info-item svg,
.footer-contact svg,
.footer-social a svg,
.dropdown .dd-ico svg { flex: 0 0 auto; }

.link-arrow svg { width: 1.1em; height: 1.1em; min-width: 1.1em; }
.footer-contact svg { width: 18px; height: 18px; min-width: 18px; }
.footer-social a svg { width: 19px; height: 19px; }
.info-item .ico svg { width: 22px; height: 22px; }
.dropdown .dd-ico svg { width: 24px; height: 24px; min-width: 24px; }
.btn svg { width: 1.05em; height: 1.05em; min-width: 1.05em; }
.card__icon svg { width: 28px; height: 28px; }
/* Small icons inside 44px icon chips on service detail cards */
.card__icon[style*="44px"] svg { width: 22px; height: 22px; }
