/* ==========================================================================
   White Nile Consults — design system
   Brand: forest green #0D4721 + amber #E89323 (from the logo)
   ========================================================================== */

:root {
  --g-950: #051b0d;
  --g-900: #08301a;
  --g-800: #0d4721;          /* brand green */
  --g-700: #145c2e;
  --g-600: #1d7a3f;
  --g-100: #e1ece3;
  --g-50:  #eef4ef;
  --amber: #e89323;          /* brand amber */
  --amber-d: #9a5a05;        /* amber for text on light (AA) */
  --amber-l: #f6c27a;
  --paper: #f6f3ec;
  --paper-2: #ece7da;
  --white: #fff;
  --ink: #09130d;
  --muted: #1b2e21;
  --rule: rgba(14, 26, 18, .14);
  --rule-inv: rgba(255, 255, 255, .18);

  --serif: Arial, "Helvetica Neue", Helvetica, sans-serif;
  --sans: Arial, "Helvetica Neue", Helvetica, sans-serif;
  --mono: Arial, "Helvetica Neue", Helvetica, sans-serif;

  --wrap: 1240px;
  --gutter: clamp(20px, 4vw, 48px);
  --radius: 2px;
  --ease: cubic-bezier(.22, .8, .24, 1);
  --header-h: 68px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.5;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
figure { margin: 0; }
h1, h2, h3, h4 { margin: 0; font-family: var(--serif); font-weight: 700; line-height: 1.15; letter-spacing: -.01em; text-wrap: balance; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; border-radius: 2px; }
::selection { background: var(--amber); color: var(--g-950); }

.skip { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--amber); color: var(--g-950); padding: 10px 16px; font-weight: 700; border-radius: var(--radius); transition: top .2s; }
.skip:focus { top: 12px; }

.wrap { width: min(100% - var(--gutter) * 2, var(--wrap)); margin-inline: auto; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- type utilities ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: .75em;
  font-size: .78rem; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase; color: var(--amber-d);
}
.eyebrow::before { display: none; }
.on-dark .eyebrow, .eyebrow.inv { color: var(--amber); }
.h-xl { font-size: clamp(2.2rem, 4.8vw, 3.9rem); font-weight: 700; letter-spacing: -.02em; line-height: 1.08; }
.h-lg { font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 700; letter-spacing: -.015em; }
.h-md { font-size: clamp(1.2rem, 1.8vw, 1.45rem); }
.h-xl em, .h-lg em { font-style: normal; font-weight: inherit; color: var(--g-700); }
.on-dark .h-xl em, .on-dark .h-lg em, .hero .h-xl em { color: var(--amber); }
.lede { font-size: 1.05rem; line-height: 1.5; color: var(--muted); max-width: 60ch; }
.on-dark .lede { color: #f2f7f3; }
.mono { font-family: var(--mono); }

/* ---------- buttons ---------- */
.btn {
  --bg: var(--g-800); --fg: #fff; --bd: var(--g-800);
  display: inline-flex; align-items: center; justify-content: center; gap: .65em;
  padding: .75em 1.25em; min-height: 44px;
  font-weight: 700; font-size: .95rem; letter-spacing: .01em; text-decoration: none;
  background: var(--bg); color: var(--fg); border: 1.5px solid var(--bd); border-radius: 4px;
  transition: transform .25s var(--ease), background .25s, color .25s, border-color .25s;
}
.btn svg { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.btn:hover { transform: translateY(-2px); }
.btn:hover svg { transform: translateX(4px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn--amber { --bg: var(--amber); --fg: var(--g-950); --bd: var(--amber); }
.btn--amber:hover { --bg: #f2a640; --bd: #f2a640; }
.btn--ghost { --bg: transparent; --fg: currentColor; --bd: currentColor; }
.btn--ghost:hover { --bg: var(--ink); --fg: var(--paper); --bd: var(--ink); }
.on-dark .btn--ghost:hover, .hero .btn--ghost:hover { --bg: #fff; --fg: var(--g-900); --bd: #fff; }
.link-arrow { display: inline-flex; align-items: center; gap: .5em; font-weight: 700; text-decoration: none; border-bottom: 0; padding-bottom: 0; }
.link-arrow svg { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--header-h);
  color: #fff; transition: background .3s, box-shadow .3s, color .3s, transform .35s var(--ease);
}
.site-header .bar { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.site-header .logo { display: block; flex: none; }
.site-header .logo img { height: 40px; width: auto; }
.site-header .logo .l-white { height: 54px; }
.site-header .logo .l-color { display: none; }
.site-header.solid, body.nav-open .site-header {
  background: rgba(246, 243, 236, .94); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px);
  color: var(--ink); box-shadow: 0 1px 0 var(--rule);
}
.site-header.solid .l-white, body.nav-open .site-header .l-white { display: none; }
.site-header.solid .l-color, body.nav-open .site-header .l-color { display: block; }
.site-header.hide { transform: translateY(-100%); }

.nav { display: flex; align-items: center; gap: 4px; }
.nav > li { position: relative; }
.nav a, .nav button.nav-link {
  display: inline-flex; align-items: center; gap: .4em; padding: .7em .95em; min-height: 44px;
  background: none; border: 0; font-size: .92rem; font-weight: 600; text-decoration: none; border-radius: 4px;
  transition: background .2s, color .2s;
}
.nav > li > a:hover, .nav button.nav-link:hover { background: rgba(255,255,255,.14); }
.site-header.solid .nav > li > a:hover, .site-header.solid .nav button.nav-link:hover { background: rgba(13,71,33,.08); }
.nav [aria-current="page"] { box-shadow: inset 0 -2px 0 var(--amber); border-radius: 0; }
.nav .cta[aria-current="page"] { box-shadow: none; border-radius: 4px; }
.nav .chev { width: 12px; height: 12px; transition: transform .25s var(--ease); }
.nav button[aria-expanded="true"] .chev { transform: rotate(180deg); }
.nav .cta { margin-left: 10px; background: var(--amber); color: var(--g-950); padding: .7em 1.25em; }
.nav .cta:hover { background: #f2a640 !important; }

.dropdown {
  position: absolute; top: calc(100% + 8px); left: 0; min-width: 290px; padding: 10px;
  background: var(--white); color: var(--ink); border-radius: 12px; border: 1px solid var(--rule);
  box-shadow: 0 24px 60px -20px rgba(5, 27, 13, .35);
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .2s, transform .25s var(--ease), visibility .2s;
}
.dropdown.right { left: auto; right: 0; }
.has-dd:hover > .dropdown, .has-dd:focus-within > .dropdown, .dropdown.open { opacity: 1; visibility: visible; transform: none; }
.dropdown a { display: flex; width: 100%; padding: .7em .9em; border-radius: 8px; font-weight: 500; font-size: .95rem; }
.dropdown a:hover { background: var(--g-50); }
.dropdown a small { display: block; font-weight: 400; color: var(--muted); font-size: .82rem; line-height: 1.35; }
.dropdown .sep { height: 1px; background: var(--rule); margin: 6px 4px; }
.dropdown .label { padding: .5em .9em .2em; font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }

.menu-btn { display: none; width: 48px; height: 48px; border: 0; background: none; border-radius: 50%; position: relative; }
.menu-btn span { position: absolute; left: 13px; right: 13px; height: 2px; background: currentColor; transition: transform .3s var(--ease), opacity .2s; }
.menu-btn span:nth-child(1) { top: 18px; } .menu-btn span:nth-child(2) { top: 23px; } .menu-btn span:nth-child(3) { top: 28px; }
body.nav-open .menu-btn span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
body.nav-open .menu-btn span:nth-child(2) { opacity: 0; }
body.nav-open .menu-btn span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

@media (max-width: 1040px) {
  .menu-btn { display: block; }
  .nav {
    position: fixed; inset: var(--header-h) 0 0 0; flex-direction: column; align-items: stretch; gap: 0;
    padding: 12px var(--gutter) 40px; background: var(--paper); color: var(--ink); overflow-y: auto;
    transform: translateX(100%); visibility: hidden; transition: transform .4s var(--ease), visibility .4s;
  }
  body.nav-open .nav { transform: none; visibility: visible; }
  body.nav-open { overflow: hidden; }
  .nav > li { border-bottom: 1px solid var(--rule); }
  .nav a, .nav button.nav-link { width: 100%; justify-content: space-between; padding: 1em .2em; font-size: 1.15rem; font-weight: 700; border-radius: 0; }
  .nav > li > a:hover, .nav button.nav-link:hover { background: none; }
  .nav [aria-current="page"] { box-shadow: none; color: var(--g-700); }
  .dropdown { position: static; min-width: 0; padding: 0 0 12px 12px; border: 0; box-shadow: none; background: none; opacity: 1; visibility: visible; transform: none; display: none; }
  .dropdown.open { display: block; }
  .has-dd:hover > .dropdown { display: none; }
  .has-dd:hover > .dropdown.open { display: block; }
  .dropdown a { font-family: var(--sans); font-size: 1rem; padding: .75em .4em; }
  .nav .cta { margin: 20px 0 0; justify-content: center; font-family: var(--sans); font-size: 1rem; }
  .nav li.cta-li { border: 0; }
}

/* ---------- hero ---------- */
.hero { position: relative; min-height: clamp(520px, 78svh, 700px); display: flex; align-items: flex-end; color: #fff; background: var(--g-950); overflow: hidden; isolation: isolate; }
.hero__bg { position: absolute; inset: 0; z-index: -2; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 55%; transform: scale(1.06); animation: heroZoom 18s var(--ease) forwards; }
@keyframes heroZoom { to { transform: scale(1); } }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background:
  linear-gradient(180deg, rgba(5,27,13,.6) 0%, rgba(5,27,13,.3) 35%, rgba(5,27,13,.6) 70%, rgba(5,27,13,.92) 100%),
  linear-gradient(90deg, rgba(5,27,13,.75) 0%, rgba(5,27,13,.2) 70%); }
.hero__inner { padding-top: calc(var(--header-h) + 36px); padding-bottom: 0; }
.hero__copy { max-width: 760px; }
.hero__copy .eyebrow { margin-bottom: 14px; }
.hero h1 { margin-bottom: 14px; font-size: clamp(2rem, 4vw, 3.2rem); }
.hero__sub { font-size: 1.1rem; max-width: 56ch; color: #f2f7f3; margin-bottom: 22px; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__facts { margin-top: clamp(24px, 3vw, 36px); display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--rule-inv); }
.fact { padding: 16px 16px 18px 0; }
.fact + .fact { padding-left: 16px; border-left: 1px solid var(--rule-inv); }
.fact b { display: block; font-size: clamp(1.5rem, 2.4vw, 2rem); font-weight: 700; letter-spacing: -.02em; line-height: 1; }
.fact b sup { font-size: .45em; color: var(--amber); font-weight: 500; letter-spacing: 0; margin-left: .15em; vertical-align: super; }
.fact > span { display: block; margin-top: 4px; font-size: .86rem; color: #f2f7f3; line-height: 1.4; }
@media (max-width: 760px) {
  .hero__facts { grid-template-columns: 1fr 1fr; }
  .fact:nth-child(3) { padding-left: 0; border-left: 0; }
  .fact:nth-child(n+3) { border-top: 1px solid var(--rule-inv); }
}

/* page hero (inner pages) */
.page-hero { position: relative; color: #fff; background: var(--g-900); padding: calc(var(--header-h) + clamp(28px, 4vw, 48px)) 0 clamp(28px, 4vw, 44px); overflow: hidden; isolation: isolate; }
.page-hero__bg { position: absolute; inset: 0; z-index: -2; }
.page-hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(5,27,13,.94) 0%, rgba(8,48,26,.78) 55%, rgba(8,48,26,.45) 100%); }
.page-hero--plain::before { background: none; }
.page-hero--plain { background: var(--g-900); }
.page-hero h1 { max-width: 22ch; margin: 10px 0 12px; }
.page-hero .lede { color: #f2f7f3; }
.crumbs { display: flex; flex-wrap: wrap; gap: .6em; font-size: .75rem; letter-spacing: .05em; text-transform: uppercase; color: #f2f7f3; }
.crumbs a { text-decoration: none; } .crumbs a:hover { color: var(--amber); }
.crumbs li + li::before { content: "/"; margin-right: .6em; opacity: .5; }

/* ---------- sections ---------- */
.section { padding: clamp(36px, 5vw, 64px) 0; position: relative; }
.section--tight { padding: clamp(28px, 3.5vw, 44px) 0; }
.section--paper2 { background: var(--paper-2); }
.section--white { background: var(--white); }
.section--green { background: var(--g-800); color: #fff; }
.section--dark { background: var(--g-950); color: #fff; }
.section-head { display: grid; grid-template-columns: 1fr; gap: 12px; margin-bottom: clamp(20px, 3vw, 32px); }
.section-head.split { grid-template-columns: 1.1fr .9fr; align-items: end; gap: clamp(16px, 4vw, 48px); }
.section-head .lede { margin: 0; }
@media (max-width: 860px) { .section-head.split { grid-template-columns: 1fr; } }

/* ---------- credentials ribbon ---------- */
.creds { background: var(--g-900); color: #fff; }
.creds__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.cred { padding: 16px 20px 18px 0; border-right: 1px solid var(--rule-inv); }
.cred + .cred { padding-left: 20px; }
.cred:last-child { border-right: 0; }
.cred small { display: block; font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; color: var(--amber); margin-bottom: 4px; }
.cred b { display: block; font-size: 1rem; font-weight: 700; letter-spacing: -.01em; word-break: break-word; }
.cred span { display: block; margin-top: 2px; font-size: .85rem; color: #f2f7f3; line-height: 1.4; }
@media (max-width: 980px) { .creds__grid { grid-template-columns: 1fr 1fr; } .cred:nth-child(2) { border-right: 0; } .cred:nth-child(3) { padding-left: 0; } .cred:nth-child(n+3) { border-top: 1px solid var(--rule-inv); } }
@media (max-width: 520px) { .creds__grid { grid-template-columns: 1fr; } .cred, .cred + .cred { padding: 22px 0; border-right: 0; } .cred + .cred { border-top: 1px solid var(--rule-inv); } }

/* ---------- about / split ---------- */
.split-2 { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 4vw, 56px); align-items: center; }
.split-2.top { align-items: start; }
.split-2.flip > :first-child { order: 2; }
@media (max-width: 860px) { .split-2 { grid-template-columns: 1fr; } .split-2.flip > :first-child { order: 0; } }
.frame { position: relative; }
.frame img { width: 100%; object-fit: cover; border-radius: var(--radius); }
.frame--tall img { aspect-ratio: 4 / 4.2; }
.frame--wide img { aspect-ratio: 3 / 2; }
.frame .tag { position: absolute; left: -1px; bottom: -1px; background: var(--paper); color: var(--ink); padding: 8px 14px 8px 0; font-size: .75rem; letter-spacing: .05em; text-transform: uppercase; }
.section--white .frame .tag { background: var(--white); }
.frame .tag b { color: var(--amber-d); font-weight: 600; }
.prose p { color: var(--muted); }
.prose p:first-child { color: var(--ink); font-size: 1.05rem; }
.prose strong { color: var(--ink); }

.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 24px; border-top: 1px solid var(--rule); }
.stat { padding: 14px 16px 0 0; }
.stat + .stat { padding-left: 16px; border-left: 1px solid var(--rule); }
.stat b { display: block; white-space: nowrap; font-weight: 700; font-size: clamp(1.6rem, 2.6vw, 2.2rem); letter-spacing: -.02em; line-height: 1.1; color: var(--g-800); }
.stat b i { font-style: normal; font-size: .5em; color: var(--amber-d); margin-left: .1em; letter-spacing: 0; }
.stat > span { display: block; margin-top: 4px; font-size: .88rem; color: var(--muted); line-height: 1.35; }
.on-dark .stat b { color: #fff; } .on-dark .stat b i { color: var(--amber); } .on-dark .stat > span { color: #f2f7f3; }
.on-dark .stats, .on-dark .stat + .stat { border-color: var(--rule-inv); }
@media (max-width: 560px) { .stats { grid-template-columns: 1fr; } .stat + .stat { padding-left: 0; border-left: 0; border-top: 1px solid var(--rule); margin-top: 20px; } }

/* ---------- services ---------- */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.svc { position: relative; display: flex; flex-direction: column; background: var(--white); border-radius: var(--radius); overflow: hidden; text-decoration: none; transition: transform .45s var(--ease), box-shadow .45s var(--ease); }
.svc:hover { box-shadow: 0 10px 24px -12px rgba(5,27,13,.4); }
.svc__img { aspect-ratio: 4 / 3.2; overflow: hidden; background: var(--g-900); }
.svc__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.svc:hover .svc__img img { transform: scale(1.05); }
.svc__body { padding: 16px 18px 20px; display: flex; flex-direction: column; flex: 1; gap: 8px; }
.svc__no { font-size: .75rem; font-weight: 700; letter-spacing: .08em; color: var(--amber-d); }
.svc h3 { font-size: 1.2rem; font-weight: 700; }
.svc p { color: var(--muted); font-size: .95rem; margin: 0 0 4px; }
.svc .link-arrow { margin-top: auto; align-self: flex-start; }
@media (max-width: 960px) { .services { grid-template-columns: 1fr; } .svc { flex-direction: row; } .svc__img { flex: 0 0 42%; aspect-ratio: auto; } }
@media (max-width: 620px) { .svc { flex-direction: column; } .svc__img { aspect-ratio: 16/10; } }

.intro-band { margin-top: 20px; padding: 20px 24px; background: var(--g-800); color: #fff; border-radius: var(--radius); display: grid; grid-template-columns: auto 1fr; gap: 20px; align-items: center; }
.intro-band .big { font-size: clamp(1.8rem, 3.4vw, 2.6rem); font-weight: 700; letter-spacing: -.02em; line-height: 1; color: var(--amber); }
.intro-band p { margin: 0; font-size: 1rem; color: #f2f7f3; max-width: 70ch; }
@media (max-width: 700px) { .intro-band { grid-template-columns: 1fr; gap: 12px; } }

/* ---------- process ---------- */
.process { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; counter-reset: step; }
.process::before { content: ""; position: absolute; left: 0; right: 0; top: 19px; height: 2px; background: var(--rule-inv); }
.process::after { content: ""; position: absolute; left: 0; top: 19px; height: 2px; width: var(--progress, 0%); background: var(--amber); transition: width 1.6s var(--ease); }
.step { position: relative; padding: 0 24px 0 0; }
.step__dot { position: relative; z-index: 1; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--g-950); border: 2px solid var(--rule-inv); font-size: .8rem; font-weight: 700; color: #fff; margin-bottom: 14px; transition: border-color .5s, background .5s, color .5s; }
.step.on .step__dot { border-color: var(--amber); background: var(--amber); color: var(--g-950); }
.step h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 6px; }
.step p { color: #f2f7f3; font-size: .92rem; margin: 0; }
@media (max-width: 980px) {
  .process { grid-template-columns: 1fr; gap: 20px; padding-left: 0; }
  .process::before, .process::after { left: 19px; right: auto; top: 0; bottom: 0; width: 2px; height: auto; }
  .process::after { height: var(--progress, 0%); width: 2px; }
  .step { display: grid; grid-template-columns: 40px 1fr; column-gap: 16px; padding: 0; }
  .step__dot { margin: 0; grid-row: span 2; }
}

/* ---------- why ---------- */
.why { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--ink); }
.why > div { padding: 20px 24px 22px 0; }
.why > div + div { padding-left: 24px; border-left: 1px solid var(--rule); }
.why .n { font-size: .78rem; font-weight: 700; color: var(--amber-d); }
.why h3 { font-size: 1.2rem; font-weight: 700; margin: 6px 0 8px; }
.why p { color: var(--muted); margin: 0; }
@media (max-width: 860px) { .why { grid-template-columns: 1fr; } .why > div, .why > div + div { padding: 28px 0; border-left: 0; } .why > div + div { border-top: 1px solid var(--rule); } }

/* ---------- partner band ---------- */
.partner-band { background: var(--g-800); color: #fff; }
.partner-band .inner { display: grid; grid-template-columns: auto 1fr auto; gap: clamp(16px, 3vw, 40px); align-items: center; }
.partner-band .logo-chip { background: #fff; padding: 12px 18px; border-radius: var(--radius); }
.partner-band .logo-chip img { height: 48px; width: auto; }
.partner-band blockquote { margin: 0; font-size: 1.15rem; line-height: 1.4; font-weight: 600; }
.partner-band blockquote b { color: var(--amber); }
@media (max-width: 900px) { .partner-band .inner { grid-template-columns: 1fr; justify-items: start; } }

/* ---------- testimonials ---------- */
.quotes { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.quote { background: var(--white); padding: 20px 22px; border-radius: var(--radius); display: flex; flex-direction: column; gap: 14px; position: relative; }
.quote::before { content: "\201C"; font-size: 3rem; line-height: .5; color: var(--amber); height: 20px; font-weight: 700; }
.quote blockquote { margin: 0; font-size: 1rem; line-height: 1.5; }
.quote footer { margin-top: auto; display: flex; align-items: center; gap: 14px; }
.avatar { flex: none; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--g-100); color: var(--g-800); font-weight: 700; font-size: .95rem; }
.quote cite { font-style: normal; font-weight: 700; display: block; line-height: 1.25; }
.quote footer span { color: var(--muted); font-size: .88rem; }
@media (max-width: 760px) { .quotes { grid-template-columns: 1fr; } }

/* ---------- faq ---------- */
.faq { max-width: 880px; border-top: 1px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 14px 0; font-size: 1.05rem; font-weight: 700; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { flex: none; position: relative; width: 24px; height: 24px; border: 1.5px solid currentColor; border-radius: 50%; transition: background .25s, color .25s, transform .35s var(--ease); }
.faq summary i::before, .faq summary i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 10px; height: 1.5px; background: currentColor; transform: translate(-50%, -50%); }
.faq summary i::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform .3s var(--ease); }
.faq details[open] summary i { background: var(--g-800); color: #fff; border-color: var(--g-800); }
.faq details[open] summary i::after { transform: translate(-50%, -50%) rotate(0); }
.faq .ans { padding: 0 40px 16px 0; color: var(--muted); max-width: 64ch; }
.faq summary:hover { color: var(--g-700); }

/* ---------- posts ---------- */
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.post { display: flex; flex-direction: column; text-decoration: none; }
.post__img { aspect-ratio: 3 / 2; overflow: hidden; border-radius: var(--radius); background: var(--g-900); margin-bottom: 10px; }
.post__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.post:hover .post__img img { transform: scale(1.03); }
.post time { font-size: .75rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--amber-d); }
.post h3 { font-size: 1.15rem; font-weight: 700; margin: 4px 0 6px; transition: color .2s; }
.post:hover h3 { color: var(--g-700); }
.post p { color: var(--muted); font-size: .95rem; margin: 0 0 10px; }
.post .link-arrow { margin-top: auto; align-self: flex-start; }
@media (max-width: 900px) { .posts { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .posts { grid-template-columns: 1fr; } }
.posts--all .post:first-child { grid-column: span 2; display: grid; grid-template-columns: 1.3fr 1fr; gap: 20px; align-items: center; }
.posts--all .post:first-child .post__img { margin: 0; aspect-ratio: 16/10; }
.posts--all .post:first-child h3 { font-size: 1.6rem; }
@media (max-width: 900px) { .posts--all .post:first-child { grid-column: 1 / -1; grid-template-columns: 1fr; } }

/* ---------- article ---------- */
.article { display: grid; grid-template-columns: minmax(0, 720px); justify-content: center; }
.article .prose-art { font-size: 1.05rem; line-height: 1.6; }
.article .prose-art p { color: #14241a; }
.article .prose-art h2 { font-size: 1.4rem; margin: 1.4em 0 .4em; font-weight: 700; }
.article .prose-art ul { margin: 0 0 1.4em; display: grid; gap: .6em; }
.article .prose-art li { position: relative; padding-left: 1.6em; }
.article .prose-art li::before { content: ""; position: absolute; left: 0; top: .8em; width: .8em; height: 1.5px; background: var(--amber); }
.article-meta { display: flex; flex-wrap: wrap; gap: 20px; align-items: center; font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; color: #f2f7f3; }
.article-img { margin: -48px auto 28px; width: min(100% - var(--gutter) * 2, 1000px); position: relative; z-index: 2; }
.article-img img { width: 100%; aspect-ratio: 16/9; object-fit: cover; border-radius: var(--radius); box-shadow: 0 40px 80px -40px rgba(5,27,13,.6); }
.article-nav { margin-top: 32px; padding-top: 18px; border-top: 1px solid var(--ink); display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }

/* ---------- team ---------- */
.team { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px 14px; }
.member { }
.member__img { aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--radius); background: var(--g-100); margin-bottom: 8px; }
.member__img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; filter: grayscale(.2); transition: transform .8s var(--ease), filter .5s; }
.member:hover .member__img img { transform: scale(1.04); filter: none; }
.member h3 { font-size: 1rem; font-weight: 700; line-height: 1.2; }
.member p { margin: 2px 0 0; font-size: .85rem; color: var(--muted); line-height: 1.4; }
.member--lead { grid-column: span 2; grid-row: span 1; }
@media (max-width: 1100px) { .team { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 800px) { .team { grid-template-columns: repeat(3, 1fr); } .member--lead { grid-column: auto; } }
@media (max-width: 560px) { .team { grid-template-columns: 1fr 1fr; } }

/* ---------- values ---------- */
.values { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--rule-inv); border-left: 1px solid var(--rule-inv); }
.value { padding: 20px 22px 22px; border-right: 1px solid var(--rule-inv); border-bottom: 1px solid var(--rule-inv); transition: background .35s; }
.value:hover { background: rgba(255,255,255,.05); }
.value .n { font-size: .75rem; font-weight: 700; color: var(--amber); }
.value h3 { font-size: 1.15rem; font-weight: 700; margin: 4px 0 8px; }
.value p { margin: 0; color: #f2f7f3; font-size: .97rem; }
@media (max-width: 900px) { .values { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .values { grid-template-columns: 1fr; } }

/* ---------- vision / mission ---------- */
.vm { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.vm > div { padding: 22px 24px; border-radius: var(--radius); background: var(--white); }
.vm > div:first-child { background: var(--g-800); color: #fff; }
.vm h3 { font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; font-weight: 700; color: var(--amber-d); margin-bottom: 10px; }
.vm > div:first-child h3 { color: var(--amber); }
.vm p { font-size: 1.15rem; line-height: 1.4; font-weight: 600; margin: 0; }
@media (max-width: 800px) { .vm { grid-template-columns: 1fr; } }

/* ---------- legal docs table ---------- */
.docs { border-top: 1px solid var(--ink); }
.doc { display: grid; grid-template-columns: 1.1fr 1.3fr 1.4fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--rule); align-items: baseline; }
.doc h3 { font-family: var(--sans); font-size: 1.05rem; font-weight: 700; letter-spacing: 0; }
.doc code { font-family: Menlo, Consolas, monospace; font-size: .95rem; color: var(--g-800); font-weight: 700; word-break: break-word; }
.doc p { margin: 0; color: var(--muted); font-size: .95rem; }
@media (max-width: 800px) { .doc { grid-template-columns: 1fr; gap: 6px; } }
.badges { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.badges img { width: 64px; height: 64px; object-fit: contain; }

/* ---------- chart ---------- */
.chart { display: grid; grid-template-columns: minmax(220px, 300px) 1fr; gap: 24px; align-items: center; }
.chart svg { width: 100%; max-width: 280px; margin-inline: auto; overflow: visible; }
.chart circle.seg { fill: none; stroke-width: 34; transition: stroke-dasharray 1.4s var(--ease); }
.legend { display: grid; gap: 0; border-top: 1px solid var(--rule); }
.legend li { display: grid; grid-template-columns: 14px 1fr auto; gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--rule); font-weight: 600; }
.legend i { width: 14px; height: 14px; border-radius: 50%; }
.legend b { font-size: 1.2rem; font-weight: 700; }
@media (max-width: 760px) { .chart { grid-template-columns: 1fr; } }

/* ---------- service pages ---------- */
.svc-detail { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(20px, 4vw, 56px); align-items: start; }
.svc-detail .prose p { font-size: 1rem; }
.svc-detail .prose p:first-child { font-size: 1.15rem; line-height: 1.5; font-weight: 600; }
.aside { position: sticky; top: calc(var(--header-h) + 16px); display: grid; gap: 12px; }
.aside img { width: 100%; aspect-ratio: 4/3.4; object-fit: cover; border-radius: var(--radius); }
.aside .box { background: var(--g-800); color: #fff; padding: 18px 20px; border-radius: var(--radius); }
.aside .box h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 6px; }
.aside .box p { color: #f2f7f3; font-size: .97rem; }
.scope { margin: 6px 0 18px; display: grid; gap: 0; border-top: 1px solid var(--rule); }
.scope li { display: grid; grid-template-columns: 32px 1fr; gap: 8px; padding: 10px 0; border-bottom: 1px solid var(--rule); font-weight: 600; color: var(--ink); }
.scope li span { font-size: .78rem; font-weight: 700; color: var(--amber-d); padding-top: .25em; }
@media (max-width: 900px) { .svc-detail { grid-template-columns: 1fr; } .aside { position: static; } }
.other-svc { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.other-svc a { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px 20px; background: var(--white); border-radius: var(--radius); text-decoration: none; font-size: 1.05rem; font-weight: 700; transition: background .3s, color .3s; }
.other-svc a:hover { background: var(--g-800); color: #fff; }
.other-svc svg { width: 22px; height: 22px; flex: none; }
@media (max-width: 700px) { .other-svc { grid-template-columns: 1fr; } }

/* ---------- partner ---------- */
.categories { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--ink); }
.categories > div { padding: 20px 20px 22px 0; }
.categories > div + div { padding-left: 20px; border-left: 1px solid var(--rule); }
.categories .n { font-size: .75rem; font-weight: 700; color: var(--amber-d); }
.categories h3 { font-size: 1.1rem; font-weight: 700; margin-top: 6px; line-height: 1.25; }
@media (max-width: 900px) { .categories { grid-template-columns: 1fr 1fr; } .categories > div:nth-child(3) { padding-left: 0; border-left: 0; } .categories > div:nth-child(n+3) { border-top: 1px solid var(--rule); } }
@media (max-width: 520px) { .categories { grid-template-columns: 1fr; } .categories > div, .categories > div + div { padding: 24px 0; border-left: 0; } .categories > div + div { border-top: 1px solid var(--rule); } }
.reg-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.reg-links a { display: block; padding: 16px 18px; border: 1px solid var(--rule); border-radius: var(--radius); text-decoration: none; background: var(--white); transition: border-color .25s, transform .3s var(--ease); }
.reg-links a:hover { border-color: var(--g-800); transform: translateY(-3px); }
.reg-links b { display: flex; justify-content: space-between; font-size: 1.05rem; font-weight: 700; }
.reg-links b svg { width: 18px; height: 18px; }
.reg-links small { display: block; margin-top: 2px; color: var(--muted); font-size: .8rem; }
@media (max-width: 800px) { .reg-links { grid-template-columns: 1fr; } }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(20px, 4vw, 56px); align-items: start; }
.contact-list { border-top: 1px solid var(--ink); }
.contact-list > div { display: grid; grid-template-columns: 90px 1fr; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--rule); }
.contact-list dt { font-size: .75rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--amber-d); padding-top: .3em; }
.contact-list dd { margin: 0; font-size: 1.05rem; font-weight: 600; }
.contact-list a { text-decoration: none; border-bottom: 0; }
.contact-list a:hover { color: var(--g-700); }
.form { background: var(--white); padding: clamp(18px, 2.5vw, 28px); border-radius: var(--radius); display: grid; gap: 14px; }
.form h2 { font-size: 1.4rem; font-weight: 700; }
.field { display: grid; gap: 4px; }
.field label { font-size: .85rem; font-weight: 700; }
.field input, .field select, .field textarea { width: 100%; font: inherit; padding: .9em 1em; background: var(--paper); border: 1.5px solid transparent; border-bottom-color: var(--rule); border-radius: 4px; color: var(--ink); min-height: 42px; transition: border-color .2s, background .2s; }
.field textarea { min-height: 110px; resize: vertical; }
.field input:hover, .field select:hover, .field textarea:hover { background: var(--paper-2); }
.field input:focus, .field select:focus, .field textarea:focus { outline: 0; border-color: var(--g-800); background: #fff; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 560px) { .row2 { grid-template-columns: 1fr; } }
.form .note { font-size: .84rem; color: var(--muted); margin: 0; }
.hp { position: absolute; left: -9999px; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

/* ---------- video facade ---------- */
.video { position: relative; aspect-ratio: 16/9; border-radius: var(--radius); overflow: hidden; background: var(--g-950); }
.video button, .video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video button { padding: 0; background: none; }
.video button img { width: 100%; height: 100%; object-fit: cover; opacity: .85; transition: opacity .3s, transform .9s var(--ease); }
.video button:hover img { opacity: 1; transform: scale(1.03); }
.video .play { position: absolute; left: 50%; top: 50%; width: 64px; height: 64px; margin: -32px 0 0 -32px; border-radius: 50%; background: var(--amber); color: var(--g-950); display: grid; place-items: center; transition: transform .3s var(--ease); }
.video button:hover .play { transform: scale(1.1); }
.video .play svg { width: 24px; height: 24px; margin-left: 4px; }
.video .cap { position: absolute; left: 16px; bottom: 12px; font-size: .75rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #fff; text-shadow: 0 1px 12px rgba(0,0,0,.6); }

/* ---------- CTA band ---------- */
.cta-band { position: relative; background: var(--g-950); color: #fff; overflow: hidden; isolation: isolate; }
.cta-band__bg { position: absolute; inset: 0; z-index: -2; }
.cta-band__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .35; }
.cta-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(5,27,13,.95), rgba(5,27,13,.6)); }
.cta-band .inner { display: grid; grid-template-columns: 1.4fr auto; gap: 24px; align-items: end; padding: clamp(36px, 5vw, 56px) 0; }
.cta-band h2 { max-width: 16ch; }
.cta-band .acts { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.cta-band .tel { font-size: 1.15rem; font-weight: 700; text-decoration: none; margin-top: 8px; }
@media (max-width: 800px) { .cta-band .inner { grid-template-columns: 1fr; align-items: start; } }

/* ---------- footer ---------- */
.site-footer { background: var(--g-950); color: #f2f7f3; padding: clamp(32px, 4vw, 48px) 0 20px; font-size: .92rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1.2fr 1.3fr; gap: clamp(20px, 3vw, 40px); }
.footer-grid img { height: 44px; width: auto; margin-bottom: 12px; }
.footer-grid p { max-width: 34ch; margin: 0; color: #f2f7f3; }
.footer-grid h4 { font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; font-weight: 700; color: var(--amber); margin-bottom: 10px; }
.footer-grid li + li { margin-top: 6px; }
.footer-grid a { text-decoration: none; transition: color .2s; }
.footer-grid a:hover { color: var(--amber); }
.footer-bottom { margin-top: 24px; padding-top: 14px; border-top: 1px solid var(--rule-inv); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px; font-size: .84rem; color: #f2f7f3; }
.footer-bottom a { text-decoration: none; } .footer-bottom a:hover { color: var(--amber); }
.footer-bottom ul { display: flex; gap: 24px; }
@media (max-width: 960px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-grid > :first-child { grid-column: 1 / -1; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- motion ---------- */
.rv { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.rv.in { opacity: 1; transform: none; }
.no-js .rv { opacity: 1; transform: none; }
.hero .rv { transition-duration: 1.1s; }

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

/* ---------- prose pages (terms) ---------- */
.legal { max-width: 760px; margin-inline: auto; }
.legal h2 { font-size: 1.2rem; font-weight: 700; margin: 1.5em 0 .4em; }
.legal h2:first-child { margin-top: 0; }
.legal p { color: #14241a; }

@media print {
  .site-header, .cta-band, .skip, .menu-btn { display: none !important; }
  .page-hero, .section--green, .section--dark, .creds { background: none !important; color: #000 !important; }
  body { background: #fff; }
}


/* ==========================================================================
   Base overrides (labels hidden, flat overlays)
   ========================================================================== */
.eyebrow { display: none !important; }
.h-xl em, .h-lg em, .hero .h-xl em, .on-dark .h-xl em, .on-dark .h-lg em { color: inherit; }
.hero::before { background: linear-gradient(180deg, rgba(5,27,13,.55), rgba(5,27,13,.7)); }
.page-hero::before { background: rgba(5, 27, 13, .78); }
.cta-band::before { background: rgba(5, 27, 13, .82); }
.cta-band__bg img { opacity: .55; }
.btn--amber { --bg: var(--g-800); --fg: #fff; --bd: var(--g-800); }
.btn--amber:hover { --bg: var(--g-700); --bd: var(--g-700); }
.hero .btn--amber, .on-dark .btn--amber, .cta-band .btn--amber, .partner-band .btn--amber { --bg: #fff; --fg: var(--g-900); --bd: #fff; }
.hero .btn--amber:hover, .on-dark .btn--amber:hover { --bg: var(--paper-2); --bd: var(--paper-2); }
.nav .cta { background: var(--g-800); color: #fff; }
.site-header:not(.solid) .nav .cta { background: #fff; color: var(--g-900); }
.nav .cta:hover { background: var(--g-700) !important; color: #fff; }
.site-header:not(.solid) .nav .cta:hover { background: var(--paper-2) !important; color: var(--g-900); }
.quote::before, .avatar, .frame .tag { display: none; }
.stat b i, .fact b sup { color: inherit; }
.faq details[open] summary i { background: none; color: inherit; border-color: currentColor; }
.faq details[open] summary i::after { transform: translate(-50%, -50%) rotate(90deg); opacity: 0; }
.vm > div { border: 1px solid var(--rule); } .vm > div:first-child { border-color: var(--g-800); }

/* ==========================================================================
   Hero video, links without underlines, mobile
   ========================================================================== */
.hero__video { position: absolute; inset: 0; z-index: -1; overflow: hidden; container-type: size; opacity: 0; transition: opacity 1.2s ease; pointer-events: none; }
.hero__video.on { opacity: 1; }
.hero__video iframe { position: absolute; top: 50%; left: 50%; width: max(100cqw, 177.78cqh); height: max(100cqh, 56.25cqw); transform: translate(-50%, -50%) scale(1.18); border: 0; pointer-events: none; }
.hero::before { z-index: 0; }
.hero__inner { position: relative; z-index: 1; }
.hero__pause { position: absolute; right: var(--gutter); top: calc(var(--header-h) + 12px); z-index: 2; background: rgba(5,27,13,.6); color: #fff; border: 1px solid rgba(255,255,255,.5); border-radius: 3px; padding: .5em .9em; font-size: .8rem; font-weight: 700; min-height: 36px; }
.hero__pause:hover { background: rgba(5,27,13,.85); }

/* no underlined links or buttons */
a, a:hover { text-decoration: none; }
.link-arrow { text-decoration: none !important; font-weight: 700; color: var(--g-800); display: inline-flex; align-items: center; gap: .35em; }
.link-arrow::after { content: "\203A"; font-size: 1.3em; line-height: 1; transition: transform .15s; }
.link-arrow:hover { color: var(--g-600); }
.link-arrow:hover::after { transform: translateX(3px); }
.on-dark .link-arrow, .aside .box .link-arrow { color: #fff; }
.on-dark .link-arrow:hover { color: var(--amber-l); }
.nav [aria-current="page"] { text-decoration: none; box-shadow: none; background: rgba(255,255,255,.16); }
.site-header.solid .nav [aria-current="page"] { background: rgba(13,71,33,.1); }
.nav .cta[aria-current="page"] { background: var(--g-700); }
.svc:hover h3, .post:hover h3 { text-decoration: none; color: var(--g-600); }
.contact-list a { border-bottom: 0; color: var(--g-700); font-weight: 700; }
.contact-list a:hover { color: var(--g-600); }
.legal a, .prose a, .prose-art a { color: var(--g-700); font-weight: 700; text-decoration: none; }
.footer-grid a:hover, .footer-bottom a:hover { color: #fff; }
@media (max-width: 1040px) { .nav [aria-current="page"] { background: none; color: var(--g-700); } }

/* mobile action bar */
.mbar { display: none; }
@media (max-width: 760px) {
  body { padding-bottom: calc(56px + env(safe-area-inset-bottom)); }
  .mbar { display: grid; grid-template-columns: 1fr 1fr 1.6fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; background: var(--g-950); border-top: 1px solid rgba(255,255,255,.18); padding-bottom: env(safe-area-inset-bottom); }
  .mbar a { display: flex; align-items: center; justify-content: center; min-height: 56px; color: #fff; font-weight: 700; font-size: .95rem; }
  .mbar a + a { border-left: 1px solid rgba(255,255,255,.18); }
  .mbar .mbar__main { background: var(--g-800); }
  body.nav-open .mbar { display: none; }
}

/* mobile polish */
@media (max-width: 760px) {
  :root { --header-h: 60px; --gutter: 18px; }
  .site-header .logo img { height: 34px; }
  .site-header .logo .l-white { height: 46px; }
  .hero { min-height: 0; }
  .hero__inner { padding-top: calc(var(--header-h) + 56px); }
  .hero h1 { font-size: 1.85rem; }
  .hero__sub { font-size: 1rem; }
  .hero__ctas .btn { flex: 1 1 100%; }
  .hero__facts { margin-top: 24px; }
  .fact b { font-size: 1.35rem; }
  .fact > span { font-size: .8rem; }
  .hero__pause { top: auto; bottom: auto; right: var(--gutter); top: calc(var(--header-h) + 8px); font-size: .75rem; }
  .cred, .cred + .cred { padding: 12px 0; }
  .cred b { font-size: .95rem; }
  .h-lg { font-size: 1.5rem; }
  .section { padding: 30px 0; }
  .section-head { margin-bottom: 16px; }
  .lede { font-size: 1rem; }
  .btn { width: 100%; }
  .hero__ctas .btn, .cta-band .btn, .form .btn { width: 100%; }
  .btn + .btn { margin-top: 0; }
  .svc__body { padding: 14px 16px 18px; }
  .quote { padding: 16px; }
  .faq summary { padding: 14px 0; min-height: 48px; }
  .faq .ans { padding-right: 8px; }
  .team { grid-template-columns: 1fr 1fr; gap: 16px 12px; }
  .doc { padding: 12px 0; }
  .contact-list > div { grid-template-columns: 76px 1fr; }
  .footer-grid a { display: inline-block; padding: 6px 0; }
  .footer-bottom { padding-bottom: 8px; }
  .badges img { width: 56px; height: 56px; }
  .partner-band .logo-chip img { height: 40px; }
  .partner-band blockquote { font-size: 1.05rem; }
  .intro-band { padding: 16px; }
  .page-hero h1 { font-size: 1.7rem; }
  .article .prose-art { font-size: 1rem; }
  .article-img { margin-top: -28px; }
  .other-svc a { padding: 14px 16px; }
  .dropdown a { min-height: 44px; align-items: center; }
  .field input, .field select, .field textarea { font-size: 16px; }
}
@media (hover: none) { .btn:hover { transform: none; } }

/* hero sized to its content: no empty band above the headline */
.hero { min-height: 0; align-items: flex-start; }
.hero__inner { padding-top: calc(var(--header-h) + 36px); }
@media (max-width: 760px) {
  .hero__inner { padding-top: calc(var(--header-h) + 28px); }
  .creds__grid { grid-template-columns: 1fr 1fr; }
  .cred, .cred + .cred { padding: 12px 10px 12px 0; border-right: 0; border-top: 0; }
  .cred:nth-child(even) { padding-left: 12px; border-left: 1px solid var(--rule-inv); }
  .cred:nth-child(n+3) { border-top: 1px solid var(--rule-inv); }
  .cred b { font-size: .85rem; }
  .cred small, .cred span { font-size: .75rem; }
}
@media (max-width: 760px) {
  .hero__pause { z-index: 101; position: absolute; top: 12px; right: calc(var(--gutter) + 52px); min-height: 36px; padding: .4em .8em; }
}

/* icon-only pause/play */
.hero__pause { display: grid; place-items: center; width: 40px; height: 40px; min-height: 40px; padding: 0; font-size: 0; }
.hero__pause[hidden] { display: none; }
.hero__pause svg { width: 18px; height: 18px; }
.hero__pause .i-play { display: none; }
.hero__pause.is-paused .i-pause { display: none; }
.hero__pause.is-paused .i-play { display: block; }
@media (max-width: 760px) { .hero__pause { width: 40px; height: 40px; min-height: 40px; padding: 0; top: 10px; right: calc(var(--gutter) + 52px); } }

/* ---- hero spacing: balanced top and bottom ---- */
.hero { min-height: clamp(420px, 60svh, 540px); align-items: center; }
.hero__inner { padding-top: calc(var(--header-h) + 32px); padding-bottom: 48px; }
@media (max-width: 760px) {
  .hero { min-height: 0; }
  .hero__inner { padding-top: calc(var(--header-h) + 24px); padding-bottom: 28px; }
}

/* ---- facts band (moved out of hero) ---- */
.facts { margin-top: 16px; background: var(--g-800); color: #fff; border-radius: var(--radius); padding: 18px 22px 6px; }
.facts p { margin: 0 0 14px; max-width: 90ch; color: #f2f7f3; font-size: .98rem; }
.facts dl { display: grid; grid-template-columns: repeat(4, 1fr); margin: 0; border-top: 1px solid var(--rule-inv); }
.facts dl > div { padding: 12px 14px 14px 0; }
.facts dl > div + div { padding-left: 14px; border-left: 1px solid var(--rule-inv); }
.facts dt { font-size: 1.5rem; font-weight: 700; line-height: 1.15; }
.facts dd { margin: 2px 0 0; font-size: .85rem; color: #f2f7f3; line-height: 1.35; }
@media (max-width: 760px) {
  .facts { padding: 14px 16px 4px; }
  .facts dl { grid-template-columns: 1fr 1fr; }
  .facts dl > div:nth-child(3) { padding-left: 0; border-left: 0; }
  .facts dl > div:nth-child(n+3) { border-top: 1px solid var(--rule-inv); }
  .facts dt { font-size: 1.25rem; }
}

/* ---- tighter sections and gaps ---- */
.section { padding: clamp(22px, 3vw, 38px) 0; }
.section--tight { padding: clamp(18px, 2.2vw, 28px) 0; }
.section-head { gap: 8px; margin-bottom: clamp(12px, 1.8vw, 20px); }
.section-head.split { gap: clamp(12px, 3vw, 32px); }
.split-2 { gap: clamp(16px, 3vw, 36px); }
.svc-detail, .contact-grid { gap: clamp(16px, 3vw, 36px); }
.services, .quotes, .posts, .vm, .reg-links { gap: 12px; }
.other-svc { gap: 10px; }
.svc__body { padding: 12px 14px 14px; gap: 6px; }
.quote { padding: 14px 16px; gap: 10px; }
.why > div { padding: 14px 18px 16px 0; } .why > div + div { padding-left: 18px; }
.value { padding: 14px 16px 16px; }
.categories > div { padding: 14px 16px 16px 0; } .categories > div + div { padding-left: 16px; }
.vm > div { padding: 16px 18px; }
.doc { padding: 10px 0; }
.faq summary { padding: 11px 0; }
.faq .ans { padding-bottom: 12px; }
.scope li { padding: 8px 0; }
.team { gap: 14px 10px; }
.cred, .cred + .cred { padding-top: 12px; padding-bottom: 12px; }
.stats { margin-top: 16px; } .stat { padding-top: 10px; }
.contact-list > div { padding: 10px 0; }
.form { padding: clamp(14px, 2vw, 22px); gap: 10px; }
.cta-band .inner { padding: clamp(24px, 3.2vw, 40px) 0; }
.site-footer { padding: clamp(24px, 3vw, 36px) 0 14px; }
.footer-bottom { margin-top: 16px; padding-top: 10px; }
.page-hero { padding: calc(var(--header-h) + clamp(20px, 3vw, 32px)) 0 clamp(20px, 3vw, 32px); }
.prose p { margin-bottom: .7em; }
.lede { margin-bottom: 0; }
.article-img { margin: -36px auto 20px; }
@media (max-width: 760px) {
  .section { padding: 20px 0; }
  .section-head { margin-bottom: 10px; }
  .svc__body { padding: 12px 14px 14px; }
}

/* ---- pause/play: round glass ---- */
.hero__pause { border-radius: 50%; width: 42px; height: 42px; min-height: 42px; background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.38); -webkit-backdrop-filter: blur(12px) saturate(1.4); backdrop-filter: blur(12px) saturate(1.4); box-shadow: 0 4px 16px rgba(0,0,0,.18), inset 0 1px 0 rgba(255,255,255,.28); transition: background .15s, transform .15s; }
.hero__pause:hover { background: rgba(255,255,255,.28); }
.hero__pause:active { transform: scale(.94); }
@media (max-width: 760px) { .hero__pause { width: 42px; height: 42px; min-height: 42px; } }


/* ==========================================================================
   Interactive layer: rounded, animated, hover effects
   ========================================================================== */
:root { --radius: 16px; --radius-lg: 24px; --spring: cubic-bezier(.2, .9, .25, 1.05); }

/* ---- rounded everything ---- */
.frame img, .aside img, .svc, .svc__img, .post__img, .member__img, .quote, .vm > div, .form, .facts, .reg-links a,
.other-svc a, .partner-band .logo-chip, .video, .intro-band, .article-img img, .doc, .field input, .field select, .field textarea { border-radius: var(--radius); }
.svc__img, .post__img, .member__img, .frame, .aside img { overflow: hidden; }
.svc { overflow: hidden; border: 0; background: #fff; box-shadow: 0 1px 0 var(--rule), 0 8px 24px -16px rgba(5,27,13,.25); }
.btn { border-radius: 12px; }
.nav a, .nav button.nav-link { border-radius: 10px; }
.nav .cta { border-radius: 10px; }
.dropdown { border-radius: 16px; }
.aside .box { border-radius: var(--radius); }
.legend i { border-radius: 4px; }
.faq summary i { border-radius: 50%; }

/* ---- header ---- */
.site-header { transition: background .3s, box-shadow .3s, transform .4s var(--ease); }
.site-header.hide { transform: translateY(-100%); }
.site-header.solid { background: rgba(246,243,236,.82); -webkit-backdrop-filter: saturate(1.5) blur(16px); backdrop-filter: saturate(1.5) blur(16px); }
body.nav-open .site-header { -webkit-backdrop-filter: none; backdrop-filter: none; background: var(--paper); }
.nav > li > a, .nav button.nav-link { transition: background .2s, color .2s, transform .2s; }
.nav > li > a:hover, .nav button.nav-link:hover { transform: translateY(-1px); }
.dropdown { transition: opacity .2s, transform .3s var(--spring), visibility .2s; transform: translateY(10px) scale(.98); transform-origin: top left; }
.has-dd:hover > .dropdown, .has-dd:focus-within > .dropdown, .dropdown.open { transform: none; }
.dropdown a { transition: background .15s, padding-left .2s var(--ease); }
.dropdown a:hover { padding-left: 1.2em; }

/* ---- entrance animations ---- */
.rv { opacity: 0 !important; transform: translateY(32px) !important; transition: opacity .9s var(--ease), transform .9s var(--ease) !important; transition-delay: var(--d, 0s) !important; will-change: opacity, transform; }
.rv.in { opacity: 1 !important; transform: none !important; }
.rv-img img { transform: scale(1.14); transition: transform 1.6s var(--ease); }
.rv-img.in img { transform: scale(1); }
.hero__bg img { transform: scale(1.08); animation: heroZoom 20s var(--ease) forwards; }
@keyframes heroZoom { to { transform: scale(1); } }
.no-js .rv { opacity: 1 !important; transform: none !important; }
.hero .rv { transform: translateY(40px) !important; transition-duration: 1.1s !important; }
.hero .rv.in { transform: none !important; }

/* ---- buttons ---- */
.btn { position: relative; overflow: hidden; transition: transform .25s var(--spring), box-shadow .25s, background .2s, color .2s, border-color .2s; }
.btn:hover { transform: translateY(-3px); box-shadow: 0 12px 24px -12px rgba(0,0,0,.45); }
.btn:active { transform: translateY(0) scale(.97); box-shadow: none; }
.btn::before { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.35) 50%, transparent 70%); transform: translateX(-120%); transition: transform .7s var(--ease); pointer-events: none; }
.btn:hover::before { transform: translateX(120%); }
.btn svg { display: block; width: 18px; height: 18px; transition: transform .25s var(--spring); }
.btn:hover svg { transform: translateX(5px); }
.link-arrow::after { transition: transform .25s var(--spring); }
.link-arrow:hover::after { transform: translateX(6px); }

/* ---- hero: floating credentials card ---- */
.hero { min-height: clamp(440px, 64svh, 580px); }
.hero__inner { padding-bottom: 96px; }
.creds { background: none; position: relative; z-index: 3; margin-top: -56px; }
.creds__grid { background: var(--g-900); color: #fff; border-radius: var(--radius-lg); padding: 6px 26px; box-shadow: 0 30px 60px -28px rgba(5,27,13,.7), 0 0 0 1px rgba(255,255,255,.06) inset; }
.cred { transition: transform .3s var(--spring); }
.cred:hover { transform: translateY(-3px); }
@media (max-width: 760px) { .hero__inner { padding-bottom: 56px; } .creds { margin-top: -32px; } .creds__grid { padding: 4px 16px; } }

/* ---- cards ---- */
.svc { transition: transform .5s var(--spring), box-shadow .5s var(--ease); }
.svc:hover { transform: translateY(-8px); box-shadow: 0 34px 50px -30px rgba(5,27,13,.55); }
.svc__img { position: relative; }
.svc__img img, .post__img img, .member__img img, .frame img { transition: transform 1.2s var(--ease), filter .5s; }
.svc:hover .svc__img img, .post:hover .post__img img { transform: scale(1.08); }
.svc__img::after, .post__img::after { content: "\2192"; position: absolute; right: 14px; bottom: 14px; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font-size: 1.2rem; color: #fff; background: rgba(255,255,255,.18); border: 1px solid rgba(255,255,255,.4); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); opacity: 0; transform: translateY(10px) scale(.8); transition: opacity .3s, transform .4s var(--spring); }
.post__img { position: relative; }
.svc:hover .svc__img::after, .post:hover .post__img::after { opacity: 1; transform: none; }
.svc:hover h3, .post:hover h3 { color: var(--g-600); }
.svc h3, .post h3 { transition: color .2s; }
.post { transition: transform .4s var(--spring); }
.post:hover { transform: translateY(-5px); }
.member { transition: transform .4s var(--spring); }
.member:hover { transform: translateY(-5px); }
.member:hover .member__img img { transform: scale(1.07); }
.member h3 { transition: color .2s; } .member:hover h3 { color: var(--g-600); }
.quote { transition: transform .4s var(--spring), box-shadow .4s, background .3s; border: 1px solid transparent; }
.quote:hover { transform: translateY(-5px); box-shadow: 0 24px 40px -26px rgba(5,27,13,.4); border-color: var(--rule); }
.why > div, .categories > div, .value { transition: background .3s, transform .35s var(--spring); border-radius: 0; }
.why > div:hover, .categories > div:hover { background: var(--g-50); transform: translateY(-3px); }
.value:hover { background: rgba(255,255,255,.08); transform: translateY(-3px); }
.doc { transition: background .25s, padding .3s var(--ease); }
.doc:hover { background: var(--g-50); padding-left: 14px; padding-right: 14px; }
.reg-links a, .other-svc a { transition: transform .35s var(--spring), box-shadow .35s, border-color .25s, background .3s, color .3s; }
.reg-links a:hover, .other-svc a:hover { transform: translateY(-4px); box-shadow: 0 20px 34px -22px rgba(5,27,13,.5); }
.faq summary { transition: color .2s, padding-left .25s var(--ease); }
.faq summary:hover { padding-left: 8px; }
.faq summary i { transition: transform .4s var(--spring), background .25s, border-color .25s; }
.faq details[open] summary i { transform: rotate(180deg); }
.faq details[open] { background: var(--g-50); border-radius: var(--radius); }
.faq details { transition: background .3s; }
.faq details > summary { padding-left: 8px; padding-right: 8px; }
.faq .ans { padding-left: 8px; animation: ansIn .4s var(--ease); }
@keyframes ansIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.badges img { transition: transform .4s var(--spring); } .badges img:hover { transform: scale(1.14) rotate(-4deg); }
.partner-band .logo-chip { transition: transform .4s var(--spring); } .partner-band .logo-chip:hover { transform: scale(1.05) rotate(-1.5deg); }
.footer-grid a { display: inline-block; transition: color .2s, transform .25s var(--spring); } .footer-grid a:hover { transform: translateX(5px); }
.field input, .field select, .field textarea { transition: border-color .2s, background .2s, box-shadow .25s; }
.field input:focus, .field select:focus, .field textarea:focus { box-shadow: 0 0 0 4px rgba(13,71,33,.12); }
.contact-list a { transition: color .2s, padding-left .2s; } .contact-list a:hover { padding-left: 4px; }

/* ---- rounded inset panels ---- */
#process { margin: 0 var(--gutter); border-radius: var(--radius-lg); padding: clamp(26px, 3.5vw, 44px) 0; }
#process .wrap { width: min(100% - clamp(32px, 6vw, 72px), var(--wrap)); }
.cta-band { margin: 16px var(--gutter) 28px; border-radius: var(--radius-lg); }
.page-hero { border-radius: 0 0 var(--radius-lg) var(--radius-lg); }
.process::after { display: block; background: var(--amber); }
.process::before { display: block; }
.step__dot, .step.on .step__dot { border-radius: 50%; width: 40px; height: 40px; border: 2px solid var(--rule-inv); background: var(--g-950); transition: background .5s, border-color .5s, color .5s, transform .5s var(--spring); }
.step.on .step__dot { background: var(--amber); border-color: var(--amber); color: var(--g-950); transform: scale(1.08); }
.step { transition: transform .35s var(--spring); } .step:hover { transform: translateY(-4px); }
@media (max-width: 980px) { .process::after { display: block; } }

/* ---- facts band count-up block ---- */
.facts { border-radius: var(--radius-lg); background: linear-gradient(135deg, var(--g-800), var(--g-900)); }
.facts dl > div { transition: transform .3s var(--spring); } .facts dl > div:hover { transform: translateY(-3px); }
.facts dt { font-variant-numeric: tabular-nums; }
.stat b { font-variant-numeric: tabular-nums; }

/* ---- hero pause/play stays glass ---- */
.hero__pause { transition: background .2s, transform .25s var(--spring); }
.hero__pause:hover { transform: scale(1.08); }

@media (prefers-reduced-motion: reduce) {
  .rv, .rv-img img, .hero__bg img { opacity: 1 !important; transform: none !important; animation: none !important; transition: none !important; }
  .svc:hover, .post:hover, .quote:hover, .btn:hover { transform: none; }
}
@media (hover: none) { .svc:hover, .post:hover, .member:hover, .quote:hover, .btn:hover { transform: none; } .svc__img::after, .post__img::after { display: none; } }

/* hard rule: no underlines or underline-style borders on any link or button */
a, a:hover, a:focus, a:active, a:visited, .btn, .link-arrow, .nav a, .dropdown a, .footer-grid a, .mbar a { text-decoration: none !important; }
.link-arrow, .contact-list a, .legal a, .prose a { border-bottom: 0 !important; }


/* ==========================================================================
   Head columns (description + its buttons), certified standards, process, carousel
   ========================================================================== */
.head-col { display: grid; gap: 14px; justify-items: start; align-content: start; }
.head-col .lede { margin: 0; }
.head-links { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; }
.btn--ghost-dark { --bg: transparent; --fg: var(--g-800); --bd: var(--g-800); }
.btn--ghost-dark:hover { --bg: var(--g-800); --fg: #fff; }
.page-hero { padding-top: calc(var(--header-h) + clamp(28px, 4vw, 44px)); }

/* ---- certified standards ---- */
.iso { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.iso__card { position: relative; background: var(--paper); border-radius: var(--radius-lg); padding: 26px 20px 22px; text-align: center; display: grid; justify-items: center; gap: 6px; overflow: hidden; transition: transform .45s var(--spring), box-shadow .45s var(--ease), background .3s; }
.section--paper2 .iso__card { background: #fff; }
.iso__card::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: var(--g-800); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease); }
.iso__card:hover { transform: translateY(-8px); box-shadow: 0 30px 44px -28px rgba(5,27,13,.55); }
.iso__card:hover::before { transform: scaleX(1); }
.iso__badge { width: 112px; height: 112px; border-radius: 50%; background: #fff; display: grid; place-items: center; box-shadow: 0 10px 24px -14px rgba(5,27,13,.5), 0 0 0 1px var(--rule); margin-bottom: 8px; transition: transform .6s var(--spring); }
.iso__badge img { width: 88px; height: 88px; object-fit: contain; border-radius: 0; }
.iso__card:hover .iso__badge { transform: scale(1.08) rotate(-6deg); }
.iso__card h3 { font-size: 1.15rem; font-weight: 700; }
.iso__card p { margin: 0; font-size: .95rem; color: var(--ink); max-width: 20ch; }
.iso__ok { margin-top: 8px; display: inline-flex; align-items: center; gap: 6px; font-size: .78rem; font-weight: 700; color: var(--g-800); background: var(--g-100); padding: .35em .8em; border-radius: 999px; }
.iso__ok::before { content: ""; width: 14px; height: 14px; background: var(--g-800); border-radius: 50%; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7' fill='none' stroke='black' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7' fill='none' stroke='black' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat; }
.iso__docs { display: grid; gap: 10px; width: 100%; }
.iso__doc { display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center; padding: 14px 16px; background: var(--paper); border-radius: var(--radius); transition: background .3s, color .3s, transform .35s var(--spring), box-shadow .3s; }
.section--paper2 .iso__doc { background: #fff; }
.iso__doc:hover { background: var(--g-800); color: #fff; transform: translateX(6px); box-shadow: 0 16px 28px -18px rgba(5,27,13,.6); }
.iso__ic, .iso__dl { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--g-100); color: var(--g-800); transition: background .3s, color .3s, transform .35s var(--spring); }
.iso__ic svg, .iso__dl svg { width: 20px; height: 20px; }
.iso__doc:hover .iso__ic, .iso__doc:hover .iso__dl { background: rgba(255,255,255,.18); color: #fff; }
.iso__doc:hover .iso__dl { transform: translateY(3px); }
.iso__txt { display: grid; font-size: .9rem; line-height: 1.35; }
.iso__txt b { font-size: 1rem; }
@media (max-width: 980px) { .iso { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .iso { grid-template-columns: 1fr 1fr; gap: 10px; } .iso__card { padding: 18px 12px 16px; } .iso__badge { width: 88px; height: 88px; } .iso__badge img { width: 68px; height: 68px; } .iso__card h3 { font-size: 1rem; } .iso__card p { font-size: .85rem; } }

/* ---- process: interactive stepper ---- */
.proc { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: 20px; align-items: stretch; }
.proc__list { display: grid; gap: 8px; align-content: start; }
.proc__tab { position: relative; overflow: hidden; width: 100%; text-align: left; display: grid; grid-template-columns: auto 1fr; column-gap: 16px; align-items: center; padding: 14px 18px; border-radius: 18px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); color: #fff; transition: background .35s, color .35s, transform .4s var(--spring), border-color .35s, box-shadow .35s; }
.proc__tab:hover { background: rgba(255,255,255,.12); transform: translateX(6px); }
.proc__n { grid-row: span 2; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; border: 2px solid rgba(255,255,255,.4); transition: background .35s, color .35s, border-color .35s, transform .5s var(--spring); }
.proc__t { font-size: 1.1rem; font-weight: 700; }
.proc__d { grid-column: 2; display: block; max-height: 0; opacity: 0; overflow: hidden; font-size: .95rem; transition: max-height .5s var(--ease), opacity .4s, margin .4s; }
.proc__tab.is-active { background: #fff; color: var(--g-900); border-color: #fff; transform: translateX(10px); box-shadow: 0 24px 36px -24px rgba(0,0,0,.7); }
.proc__tab.is-active .proc__n { background: var(--g-800); border-color: var(--g-800); color: #fff; transform: scale(1.1); }
.proc__tab.is-active .proc__d { max-height: 6em; opacity: 1; margin-top: 4px; }
.proc__bar { position: absolute; left: 0; bottom: 0; height: 4px; width: 100%; background: var(--amber); transform: scaleX(0); transform-origin: left; }
.proc.run:not(.manual) .proc__tab.is-active .proc__bar { animation: procBar 6s linear forwards; }
.proc:hover .proc__bar, .proc:focus-within .proc__bar { animation-play-state: paused !important; }
@keyframes procBar { to { transform: scaleX(1); } }
.proc__stage { position: relative; border-radius: var(--radius-lg); overflow: hidden; min-height: 380px; background: var(--g-950); }
.proc__panel { position: absolute; inset: 0; margin: 0; opacity: 0; visibility: hidden; transition: opacity .8s var(--ease), visibility .8s; }
.proc__panel img { width: 100%; height: 100%; object-fit: cover; border-radius: 0; transform: scale(1.12); transition: transform 7s linear; }
.proc__panel.is-active { opacity: 1; visibility: visible; }
.proc__panel.is-active img { transform: scale(1); }
.proc__cap { position: absolute; left: 14px; right: 14px; bottom: 14px; display: grid; gap: 2px; padding: 14px 18px; border-radius: 18px; color: #fff; font-size: .95rem; background: rgba(5,27,13,.42); -webkit-backdrop-filter: blur(14px) saturate(1.4); backdrop-filter: blur(14px) saturate(1.4); border: 1px solid rgba(255,255,255,.25); transform: translateY(12px); opacity: 0; transition: transform .7s var(--ease) .2s, opacity .7s .2s; }
.proc__panel.is-active .proc__cap { transform: none; opacity: 1; }
.proc__cap span { font-size: .8rem; font-weight: 700; color: var(--amber-l); }
.proc__cap b { font-size: 1.25rem; }
@media (max-width: 980px) { .proc { grid-template-columns: 1fr; } .proc__stage { order: -1; min-height: 260px; } .proc__tab.is-active, .proc__tab:hover { transform: none; } }
#process .section-head .lede { color: #f2f7f3; }

/* ---- testimonials carousel ---- */
.car { position: relative; }
.car__track { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; -webkit-overflow-scrolling: touch; scrollbar-width: none; padding: 8px 2px 26px; margin: -8px -2px 0; outline: none; overscroll-behavior-x: contain; }
.car__track::-webkit-scrollbar { display: none; }
.car__track:focus-visible { box-shadow: 0 0 0 3px var(--amber); border-radius: var(--radius); }
.car__slide { position: relative; flex: 0 0 min(520px, 88%); scroll-snap-align: start; display: flex; flex-direction: column; gap: 18px; padding: 28px 28px 24px; background: #fff; color: var(--ink); border-radius: var(--radius-lg); box-shadow: 0 1px 0 var(--rule), 0 18px 34px -26px rgba(5,27,13,.5); transition: background .5s var(--ease), color .5s var(--ease), transform .5s var(--spring), box-shadow .5s; }
.car__slide:hover { transform: translateY(-5px); }
.car__slide.is-active { background: var(--g-800); color: #fff; box-shadow: 0 30px 46px -26px rgba(5,27,13,.8); }
.car__q { width: 40px; height: 40px; color: var(--g-800); transition: color .5s, transform .6s var(--spring); }
.car__slide.is-active .car__q { color: var(--amber); transform: scale(1.1) rotate(-6deg); }
.car__slide blockquote { margin: 0; font-size: clamp(1.05rem, 1.5vw, 1.25rem); line-height: 1.5; font-weight: 600; }
.car__slide figcaption { margin-top: auto; display: flex; align-items: center; gap: 14px; padding-top: 16px; border-top: 1px solid var(--rule); font-size: .92rem; transition: border-color .5s; }
.car__slide.is-active figcaption { border-top-color: rgba(255,255,255,.3); }
.car__slide cite { display: block; font-style: normal; font-weight: 700; font-size: 1.02rem; }
.car__av { flex: none; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; background: var(--g-100); color: var(--g-800); transition: background .5s, color .5s; }
.car__slide.is-active .car__av { background: #fff; color: var(--g-800); }
.car__bar { display: flex; align-items: center; gap: 18px; }
.car__dots { display: flex; gap: 8px; flex: 1; }
.car__dot { width: 10px; height: 10px; padding: 0; border: 0; border-radius: 999px; background: rgba(9,19,13,.25); transition: width .4s var(--spring), background .3s; position: relative; }
.car__dot::after { content: ""; position: absolute; inset: -14px -4px; }
.car__dot.is-active { width: 34px; background: var(--g-800); }
.car__count { font-weight: 700; font-variant-numeric: tabular-nums; }
.car__count b { font-size: 1.15rem; }
.car__btns { display: flex; gap: 10px; }
.car__btn { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: #fff; border: 1.5px solid var(--g-800); color: var(--g-800); transition: background .25s, color .25s, transform .3s var(--spring), opacity .25s; }
.car__btn svg { width: 20px; height: 20px; }
.car__btn:hover { background: var(--g-800); color: #fff; transform: scale(1.1); }
.car__btn:active { transform: scale(.92); }
@media (max-width: 760px) { .car__slide { flex-basis: 90%; padding: 22px 20px 18px; } .car__count { display: none; } }


/* ---- interactive waste stream chart ---- */
.stream { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(16px, 3vw, 36px); align-items: center; background: #fff; border-radius: var(--radius-lg); padding: clamp(18px, 3vw, 34px); margin-bottom: 16px; box-shadow: 0 1px 0 var(--rule); }
.stream__head { display: grid; gap: 10px; align-content: center; }
.stream__head .lede { margin: 0; font-size: 1rem; }
.stream__viz { display: grid; grid-template-columns: minmax(220px, 300px) 1fr; gap: clamp(16px, 3vw, 32px); align-items: center; }
.donut { position: relative; width: 100%; max-width: 300px; margin-inline: auto; aspect-ratio: 1; }
.donut svg { width: 100%; height: 100%; overflow: visible; }
.donut circle.seg { fill: none; stroke-width: 34; cursor: pointer; transition: stroke-dasharray 1.4s var(--ease), stroke-width .35s var(--spring), opacity .3s, filter .3s; }
[data-chart].has-active circle.seg { opacity: .28; }
[data-chart].has-active circle.seg.is-on { opacity: 1; stroke-width: 44; filter: drop-shadow(0 6px 10px rgba(5,27,13,.35)); }
.donut__center { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; gap: 2px; pointer-events: none; padding: 26%; }
.donut__center b { font-size: clamp(1.9rem, 4vw, 2.6rem); font-weight: 700; line-height: 1; font-variant-numeric: tabular-nums; transition: color .3s; }
.donut__center span { font-size: .9rem; font-weight: 600; line-height: 1.2; }
.donut__center.flash b, .donut__center.flash span { animation: pop .45s var(--spring); }
@keyframes pop { from { opacity: 0; transform: translateY(6px) scale(.92); } to { opacity: 1; transform: none; } }
.stream .legend { border-top: 0; display: grid; gap: 8px; }
.stream .legend li { display: block; padding: 0; border: 0; }
.stream .legend button { width: 100%; display: grid; grid-template-columns: 16px 1fr auto; gap: 14px; align-items: center; text-align: left; padding: 14px 16px; border-radius: 14px; background: var(--paper); border: 1.5px solid transparent; font-weight: 700; color: var(--ink); position: relative; overflow: hidden; transition: background .25s, border-color .25s, transform .35s var(--spring), box-shadow .3s; }
.stream .legend button::after { content: ""; position: absolute; left: 0; bottom: 0; height: 3px; width: var(--w, 0%); background: var(--c, var(--g-800)); opacity: .9; }
.stream .legend button:hover, .stream .legend button.is-on { background: #fff; border-color: var(--c, var(--g-800)); transform: translateX(6px); box-shadow: 0 14px 24px -18px rgba(5,27,13,.6); }
.stream .legend i { width: 16px; height: 16px; border-radius: 5px; }
.stream .legend b { font-size: 1.4rem; font-weight: 700; font-variant-numeric: tabular-nums; }
@media (max-width: 900px) { .stream { grid-template-columns: 1fr; } .stream__viz { grid-template-columns: 1fr; } .donut { max-width: 260px; } }

/* ---- vision / mission cards ---- */
.vm { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.vm__card { position: relative; overflow: hidden; isolation: isolate; border-radius: var(--radius-lg); padding: clamp(26px, 3.5vw, 44px); min-height: 300px; display: flex; flex-direction: column; gap: 14px; border: 0 !important; transition: transform .5s var(--spring), box-shadow .5s; }
.vm__card:hover { transform: translateY(-6px); box-shadow: 0 34px 50px -30px rgba(5,27,13,.6); }
.vm__ic { width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center; transition: transform .6s var(--spring), background .3s; }
.vm__ic svg { width: 28px; height: 28px; }
.vm__card:hover .vm__ic { transform: rotate(-10deg) scale(1.12); }
.vm__card h3 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); font-weight: 700; letter-spacing: -.02em; }
.vm__card p { margin: 0; font-size: clamp(1.05rem, 1.5vw, 1.25rem); line-height: 1.55; font-weight: 500; max-width: 38ch; }
.vm__card--vision { background: var(--g-950); color: #fff; }
.vm__img { position: absolute; inset: 0; z-index: -2; }
.vm__img img { width: 100%; height: 100%; object-fit: cover; border-radius: 0; transform: scale(1.05); transition: transform 1.6s var(--ease); }
.vm__card--vision:hover .vm__img img { transform: scale(1.14); }
.vm__card--vision::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(160deg, rgba(5,27,13,.92) 30%, rgba(13,71,33,.72)); }
.vm__card--vision .vm__ic { background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.4); color: #fff; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.vm__card--mission { background: var(--g-100); color: var(--g-900); }
.vm__card--mission::before { content: ""; position: absolute; right: -60px; bottom: -60px; width: 260px; height: 260px; border-radius: 50%; border: 36px solid rgba(13,71,33,.08); z-index: -1; transition: transform .8s var(--ease); }
.vm__card--mission::after { content: ""; position: absolute; right: 30px; bottom: 30px; width: 90px; height: 90px; border-radius: 50%; border: 14px solid rgba(13,71,33,.1); z-index: -1; transition: transform .8s var(--ease); }
.vm__card--mission:hover::before { transform: scale(1.2) rotate(20deg); }
.vm__card--mission:hover::after { transform: scale(1.3); }
.vm__card--mission .vm__ic { background: var(--g-800); color: #fff; }
@media (max-width: 800px) { .vm { grid-template-columns: 1fr; } .vm__card { min-height: 0; } }

/* fixes */
.link-arrow svg { display: none !important; }
.section-head.split:has(.head-col) { align-items: start; }
.section-head.split:has(.head-col) > h2 { padding-top: 4px; }
.car__track { padding: 8px 0 28px; margin: -8px 0 0; }
.car__dot { background: rgba(13,71,33,.3); }
.stream, .donut, .vm__card { max-width: 100%; }
.vm__card h3 { text-transform: none; letter-spacing: -.02em; color: inherit; font-family: inherit; margin: 6px 0 0; }
.vm__card--vision h3 { color: #fff; } .vm__card--mission h3 { color: var(--g-900); }
.car__track { padding: 8px 6px 48px; margin: -8px -6px -18px; scroll-padding-left: 6px; }
.car__bar { position: relative; z-index: 1; }


/* ==========================================================================
   NO tile borders, rings, tinted outlines or accent bars. Tiles are separated
   by background contrast and a soft neutral shadow only.
   ========================================================================== */
:root { --tile-shadow: 0 14px 30px -22px rgba(5, 27, 13, .35); --tile-shadow-hover: 0 30px 44px -28px rgba(5, 27, 13, .5); }
.svc, .quote, .car__slide, .stream, .reg-links a, .iso__doc, .iso__card, .lic, .std, .mini, .proc__tab, .proc__cap, .vm__card, .form, .facts, .creds__grid, .other-svc a, .post__img, .member__img { border: 0 !important; outline: 0; }
.svc { box-shadow: var(--tile-shadow); }
.svc:hover { box-shadow: var(--tile-shadow-hover); }
.quote, .reg-links a, .other-svc a { box-shadow: var(--tile-shadow); background: #fff; }
.quote:hover, .reg-links a:hover, .other-svc a:hover { box-shadow: var(--tile-shadow-hover); }
.car__slide { box-shadow: var(--tile-shadow); }
.car__slide.is-active { box-shadow: var(--tile-shadow-hover); }
.stream { box-shadow: var(--tile-shadow); }
.creds__grid { box-shadow: var(--tile-shadow-hover); }
.iso__card::before, .stream .legend button::after, .proc__bar { display: none !important; content: none; }
.stream .legend button { border: 0; box-shadow: none; }
.stream .legend button:hover, .stream .legend button.is-on { background: #fff; box-shadow: var(--tile-shadow); border: 0; }
.iso__badge, .mini__badge, .std__badge { box-shadow: var(--tile-shadow); }
.proc__tab { background: rgba(255,255,255,.08); }
.proc__tab.is-active { box-shadow: 0 24px 36px -24px rgba(0,0,0,.7); }
.proc__cap { background: rgba(5,27,13,.55); }
.vm__card--vision .vm__ic, .svc__img::after, .post__img::after { border: 0; background: rgba(255,255,255,.22); }
.faq details[open] { box-shadow: none; }

/* ---- compact certification teaser (home, about) ---- */
.minis { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.mini { display: flex; align-items: center; gap: 14px; padding: 16px; background: var(--paper); border-radius: var(--radius); font-size: .9rem; line-height: 1.3; transition: transform .4s var(--spring), box-shadow .4s, background .3s; }
.section--paper2 .mini { background: #fff; }
.mini b { display: block; font-size: 1rem; margin-bottom: 2px; }
.mini__badge { flex: none; width: 64px; height: 64px; border-radius: 50%; background: #fff; display: grid; place-items: center; transition: transform .5s var(--spring); }
.mini__badge img { width: 52px; height: 52px; object-fit: contain; border-radius: 0; }
.mini:hover { transform: translateY(-5px); box-shadow: var(--tile-shadow-hover); background: #fff; }
.mini:hover .mini__badge { transform: rotate(-8deg) scale(1.08); }
@media (max-width: 520px) { .minis { grid-template-columns: 1fr; } }

/* ---- certifications page ---- */
.lics, .stds { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.lic { position: relative; display: flex; flex-direction: column; gap: 8px; padding: clamp(22px, 3vw, 32px); background: #fff; border-radius: var(--radius-lg); box-shadow: var(--tile-shadow); transition: transform .45s var(--spring), box-shadow .45s; }
.lic:hover { transform: translateY(-6px); box-shadow: var(--tile-shadow-hover); }
.lic__ic { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: var(--g-800); color: #fff; margin-bottom: 6px; transition: transform .5s var(--spring); }
.lic__ic svg { width: 26px; height: 26px; }
.lic:hover .lic__ic { transform: rotate(-8deg) scale(1.1); }
.lic h3 { font-size: 1.05rem; font-weight: 700; }
.lic__no { font-size: clamp(1.4rem, 2.4vw, 1.9rem); font-weight: 700; letter-spacing: -.01em; word-break: break-word; color: var(--g-800); line-height: 1.15; }
.lic p { margin: 0; font-size: 1rem; }
.lic__tag { margin-top: auto; align-self: flex-start; padding: .4em .9em; border-radius: 999px; background: var(--g-100); font-size: .82rem; font-weight: 700; color: var(--g-900); }
.std { display: grid; grid-template-columns: auto 1fr; gap: 20px; align-items: center; padding: clamp(18px, 2.6vw, 28px); background: #fff; border-radius: var(--radius-lg); box-shadow: var(--tile-shadow); transition: transform .45s var(--spring), box-shadow .45s; }
.std:hover { transform: translateY(-6px); box-shadow: var(--tile-shadow-hover); }
.std__badge { width: 120px; height: 120px; border-radius: 50%; background: var(--paper); display: grid; place-items: center; transition: transform .6s var(--spring); }
.std__badge img { width: 96px; height: 96px; object-fit: contain; border-radius: 0; }
.std:hover .std__badge { transform: scale(1.08) rotate(-6deg); }
.std h3 { font-size: 1.3rem; font-weight: 700; }
.std__scope { display: block; font-weight: 700; color: var(--g-800); margin: 2px 0 6px; }
.std p { margin: 0; font-size: .98rem; }
@media (max-width: 900px) { .lics, .stds { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .std { grid-template-columns: 1fr; justify-items: center; text-align: center; } .std__badge { width: 100px; height: 100px; } .std__badge img { width: 80px; height: 80px; } }

/* ---- forms: no borders, no glow, no focus ring lines. Focus = background change only ---- */
.field input, .field select, .field textarea { border: 0 !important; outline: 0 !important; box-shadow: none !important; background: var(--paper); transition: background .2s; }
.field input:hover, .field select:hover, .field textarea:hover { background: var(--paper-2); }
.field input:focus, .field input:focus-visible, .field select:focus, .field select:focus-visible, .field textarea:focus, .field textarea:focus-visible { border: 0 !important; outline: 0 !important; box-shadow: none !important; background: var(--g-100); }
.form button:focus-visible, .form .btn:focus-visible { outline: 0; box-shadow: none; }

.form-status { margin: 0; min-height: 1.4em; font-weight: 700; color: var(--ink); }
.form-status.is-ok { color: var(--g-800); }
.form-status.is-err { color: #8a1c1c; }
.cf-turnstile { min-height: 65px; }

/* ---- mobile hero: centred, buttons on one line ---- */
@media (max-width: 760px) {
  .hero__copy { text-align: center; margin-inline: auto; }
  .hero__sub { margin-inline: auto; }
  .hero__ctas { display: flex; flex-wrap: nowrap; justify-content: center; gap: 10px; width: 100%; }
  .hero__ctas .btn { flex: 1 1 0; width: auto; min-width: 0; padding: .8em .5em; font-size: .92rem; white-space: nowrap; }
  .hero__ctas .btn svg { display: none; }
}


/* ==========================================================================
   Mobile refinements: smaller type, FAQ tiles, swipe carousels
   ========================================================================== */
.mcar__dots { display: none; }

@media (max-width: 760px) {
  html { font-size: 15px; }
  body { line-height: 1.5; }
  .h-lg { font-size: 1.4rem; }
  .h-xl, .hero h1 { font-size: 1.65rem; }
  .page-hero h1 { font-size: 1.55rem; }
  .h-md { font-size: 1.1rem; }
  .lede, .hero__sub { font-size: .95rem; }
  .svc h3, .post h3 { font-size: 1.05rem; }
  .svc p, .post p, .prose p, .why p, .quote blockquote { font-size: .92rem; }
  .why h3, .value h3, .step h3 { font-size: 1.05rem; }
  .footer-grid, .footer-grid a { font-size: .88rem; }
  .btn { font-size: .9rem; }
  .car__slide blockquote { font-size: .98rem; }
  .proc__t { font-size: 1rem; } .proc__d, .proc__cap { font-size: .88rem; }
  .lic__no { font-size: 1.25rem; } .std h3 { font-size: 1.1rem; } .std p, .lic p { font-size: .9rem; }
  .article .prose-art { font-size: .98rem; }

  /* ---- FAQ: stacked intro, rounded tiles ---- */
  #faq .split-2 { grid-template-columns: 1fr; gap: 14px; }
  #faq .split-2 > div:first-child { position: static !important; }
  #faq .lede { margin-bottom: 14px !important; }
  .faq { border-top: 0; display: grid; gap: 8px; max-width: none; }
  .faq details, .faq details[open] { background: #fff; border-radius: 14px; border-bottom: 0; box-shadow: var(--tile-shadow); }
  .faq details[open] { background: var(--g-100); }
  .faq summary { padding: 14px 16px; min-height: 52px; gap: 12px; font-size: .95rem; line-height: 1.35; }
  .faq summary:hover { padding-left: 16px; }
  .faq details > summary { padding-left: 16px; padding-right: 16px; }
  .faq summary i { width: 26px; height: 26px; }
  .faq .ans { padding: 0 16px 16px; font-size: .9rem; max-width: none; }

  /* ---- home services + blog posts: swipe carousels ---- */
  .services, #insights .posts {
    display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch;
    margin-inline: calc(var(--gutter) * -1); padding: 6px var(--gutter) 22px; scroll-padding-inline: var(--gutter); overscroll-behavior-x: contain;
  }
  .services::-webkit-scrollbar, #insights .posts::-webkit-scrollbar { display: none; }
  .services > .svc, #insights .posts > .post { flex: 0 0 82%; scroll-snap-align: start; }
  .services > .svc { flex-direction: column; }
  .services > .svc .svc__img { flex: none; aspect-ratio: 16 / 10; }
  #insights .posts > .post { background: #fff; border-radius: var(--radius-lg); box-shadow: var(--tile-shadow); overflow: hidden; }
  #insights .posts > .post .post__img { border-radius: 0; margin: 0; }
  #insights .posts > .post > div:last-child { padding: 12px 14px 16px; }
  .mcar__dots { display: flex; justify-content: center; gap: 8px; margin-top: -8px; margin-bottom: 4px; }
  .mcar__dot { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 999px; background: rgba(13,71,33,.3); transition: width .35s var(--spring), background .25s; position: relative; }
  .mcar__dot::after { content: ""; position: absolute; inset: -12px -4px; }
  .mcar__dot.is-active { width: 26px; background: var(--g-800); }
}
.cred small { text-transform: none; letter-spacing: 0; color: #f2f7f3; font-size: .85rem; }
@media (max-width: 760px) { #faq .split-2 { grid-template-columns: 1fr !important; } }

/* self-hosted hero video (preferred over YouTube when assets/video/hero.mp4 exists) */
.hero__file { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.2s ease; pointer-events: none; }
.hero__file.on { opacity: 1; }

/* ==========================================================================
   Insights: categories sidebar, pager, category chip
   ========================================================================== */
.insights { display: grid; grid-template-columns: 290px minmax(0, 1fr); gap: clamp(18px, 3vw, 36px); align-items: start; }
.insights__side { position: sticky; top: calc(var(--header-h) + 16px); display: grid; gap: 14px; }
.side-card { background: #fff; border-radius: var(--radius-lg); box-shadow: var(--tile-shadow); padding: 20px 18px 18px; }
.side-card--soft { background: var(--g-100); box-shadow: none; }
.side-card h2 { font-size: 1.05rem; font-weight: 700; margin: 0 0 12px 6px; }
.cats { display: grid; gap: 4px; }
.cats a { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: .7em .8em; border-radius: 12px; font-weight: 600; font-size: .95rem; transition: background .2s, color .2s, transform .25s var(--spring); }
.cats a span { flex: none; min-width: 28px; text-align: center; padding: .15em .55em; border-radius: 999px; background: var(--g-100); font-size: .8rem; font-weight: 700; transition: background .2s, color .2s; }
.cats a:hover { background: var(--g-50); transform: translateX(4px); }
.cats a[aria-current="page"] { background: var(--g-800); color: #fff; }
.cats a[aria-current="page"] span { background: rgba(255,255,255,.2); color: #fff; }
.side-links { display: grid; gap: 2px; margin-bottom: 14px; }
.side-links a { display: block; padding: .55em .8em; border-radius: 10px; font-weight: 600; font-size: .93rem; transition: background .2s, transform .25s var(--spring); }
.side-links a:hover { background: #fff; transform: translateX(4px); }
.side-card .btn { width: 100%; }
.insights__main .posts { grid-template-columns: repeat(2, 1fr); }
.insights__main .posts--all .post:first-child { grid-column: span 2; }
.empty { padding: 28px; background: #fff; border-radius: var(--radius-lg); box-shadow: var(--tile-shadow); margin: 0; }

.pager { display: flex; align-items: center; justify-content: center; gap: 14px; flex-wrap: wrap; margin-top: clamp(24px, 3vw, 36px); }
.pager ul { display: flex; gap: 6px; flex-wrap: wrap; justify-content: center; }
.pager li a, .pager li span { display: grid; place-items: center; min-width: 42px; height: 42px; padding: 0 .6em; border-radius: 12px; font-weight: 700; background: #fff; box-shadow: var(--tile-shadow); transition: background .2s, color .2s, transform .25s var(--spring); }
.pager li a:hover { background: var(--g-100); transform: translateY(-2px); }
.pager li span[aria-current="page"] { background: var(--g-800); color: #fff; }
.pager__nav { padding: .65em 1.1em; border-radius: 12px; font-weight: 700; background: #fff; box-shadow: var(--tile-shadow); transition: background .2s, transform .25s var(--spring); }
a.pager__nav:hover { background: var(--g-100); transform: translateY(-2px); }
.pager__nav.is-off { background: transparent; box-shadow: none; opacity: .45; }

.chip { display: inline-flex; align-items: center; padding: .35em .85em; border-radius: 999px; background: rgba(255,255,255,.18); color: #fff; font-weight: 700; font-size: .78rem; letter-spacing: .02em; text-transform: none; transition: background .2s; }
.chip:hover { background: rgba(255,255,255,.3); }
.article-meta { align-items: center; }

@media (max-width: 960px) {
  .insights { grid-template-columns: 1fr; }
  .insights__side { position: static; order: -1; }
  .side-card--soft { display: none; }
  .side-card { padding: 14px 12px 8px; }
  .side-card h2 { font-size: .95rem; margin-bottom: 8px; }
  .cats { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding-bottom: 8px; margin-inline: -4px; padding-inline: 4px; }
  .cats::-webkit-scrollbar { display: none; }
  .cats li { flex: none; }
  .cats a { background: var(--g-50); white-space: nowrap; padding: .6em .9em; }
  .cats a:hover { transform: none; }
}
@media (max-width: 760px) {
  .insights__main .posts { display: grid; grid-template-columns: 1fr; overflow: visible; margin-inline: 0; padding: 0; }
  .insights__main .posts > .post { flex: none; }
  .insights__main .posts--all .post:first-child { grid-column: auto; }
  .pager__nav { padding: .6em .9em; }
}
/* no featured/first post: every article card is the same size */
.posts--all .post:first-child, .insights__main .posts--all .post:first-child { grid-column: auto; display: flex; grid-template-columns: none; }
.posts--all .post:first-child .post__img { aspect-ratio: 3 / 2; margin-bottom: 10px; }
.posts--all .post:first-child h3 { font-size: 1.15rem; }

/* ==========================================================================
   Share buttons and comments
   ========================================================================== */
.share { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin: 32px 0 8px; padding: 16px 18px; background: var(--g-100); border-radius: var(--radius-lg); }
.share__label { font-weight: 700; }
.share__links { display: flex; flex-wrap: wrap; gap: 8px; }
.share__btn { display: inline-flex; align-items: center; justify-content: center; min-height: 40px; padding: 0 1em; border: 0; border-radius: 999px; background: #fff; font: inherit; font-weight: 700; font-size: .9rem; color: var(--ink); cursor: pointer; box-shadow: var(--tile-shadow); transition: background .2s, color .2s, transform .25s var(--spring); }
.share__btn:hover { background: var(--g-800); color: #fff; transform: translateY(-2px); }
.share__btn[hidden] { display: none; }
.share__status { font-weight: 700; color: var(--g-800); min-height: 1.2em; }

.comments { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(18px, 3vw, 40px); align-items: start; }
.comments__list h2 { margin-bottom: 14px; }
.comments__empty { margin: 0; padding: 22px; background: #fff; border-radius: var(--radius-lg); box-shadow: var(--tile-shadow); }
.comment-list { display: grid; gap: 12px; }
.comment { display: grid; grid-template-columns: auto 1fr; gap: 14px; padding: 18px; background: #fff; border-radius: var(--radius-lg); box-shadow: var(--tile-shadow); }
.comment__av { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--g-100); color: var(--g-800); font-weight: 700; }
.comment__head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; margin-bottom: 4px; }
.comment__head time { font-size: .85rem; }
.comment__main p { margin: 0 0 .6em; overflow-wrap: anywhere; }
.comment__reply { margin-top: 10px; padding: 12px 14px; background: var(--g-100); border-radius: 14px; }
.comment__reply b { display: block; margin-bottom: 2px; color: var(--g-800); }
.comment__reply p { margin: 0; }
.comment-form h3 { font-size: 1.25rem; font-weight: 700; }
.muted-note { font-weight: 400; }
.form-fine { margin: 0; font-size: .85rem; }
@media (max-width: 900px) { .comments { grid-template-columns: 1fr; } }
@media (max-width: 760px) { .share { padding: 14px; } .share__btn { min-height: 44px; } .comment { padding: 14px; gap: 10px; } }

.progress { display: none !important; }

/* ---- layout QA fixes ---- */
.insights > *, .insights__side, .insights__main { min-width: 0; }
@media (max-width: 960px) { .insights { grid-template-columns: minmax(0, 1fr); } .cats { max-width: 100%; } }
/* readable minimum sizes on small screens */
@media (max-width: 760px) {
  .footer-grid h4, .contact-list dt, .post time, .article-meta, .article-meta time, .chip, .lic__tag, .cred small, .cred span, .reg-links small, .crumbs, .share__status, .comment__head time { font-size: .84rem; }
  .step__dot, .svc__no, .cats a span { font-size: .84rem; }
}
.footer-grid h4 { font-size: .85rem; }

.photo-credit { margin: 8px 4px 0; font-size: .82rem; text-align: right; }
.photo-credit a { font-weight: 700; color: var(--g-800); }
@media (max-width: 760px) { .photo-credit { text-align: left; } }
/* insights sidebar must never widen the page */
.insights__side { grid-template-columns: minmax(0, 1fr); }
.side-card, .cats { min-width: 0; max-width: 100%; }
@media (max-width: 960px) { .insights__side, .insights__main { width: 100%; max-width: 100%; overflow-x: clip; } .insights { overflow-x: clip; } }
