/* ==========================================================================
   TZG Consulting — site styles
   Tokens → base → layout → components → sections → utilities
   ========================================================================== */

:root {
  /* Brand */
  --green-900: #0b2b1a;
  --green-800: #0e3a23;
  --green-700: #0d5c2e;
  --green-600: #0f7a34;   /* primary — 5.5:1 on white */
  --green-500: #169a43;
  --green-300: #7fcf8f;
  --green-100: #dff2e3;
  --green-50:  #f0f8f1;
  --lime:      #a6d96a;

  /* Neutrals */
  --ink:     #13201a;
  --ink-2:   #2d3a33;
  --muted:   #5a6760;
  --line:    #e2e6e1;
  --line-2:  #d3d9d3;
  --paper:   #ffffff;
  --sand:    #f6f5f0;
  --sand-2:  #eeece4;

  /* Type */
  --font-display: Arial, "Helvetica Neue", Helvetica, sans-serif;
  --font-body: Arial, "Helvetica Neue", Helvetica, sans-serif;

  --step--1: clamp(0.83rem, 0.8rem + 0.15vw, 0.9rem);
  --step-0:  clamp(1rem, 0.96rem + 0.2vw, 1.075rem);
  --step-1:  clamp(1.2rem, 1.1rem + 0.45vw, 1.4rem);
  --step-2:  clamp(1.45rem, 1.25rem + 0.9vw, 1.9rem);
  --step-3:  clamp(1.8rem, 1.45rem + 1.6vw, 2.75rem);
  --step-4:  clamp(2.25rem, 1.6rem + 3vw, 4.1rem);

  /* Shape & depth */
  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(19, 32, 26, .06), 0 1px 3px rgba(19, 32, 26, .05);
  --shadow: 0 10px 30px -12px rgba(19, 32, 26, .18);
  --shadow-lg: 0 30px 60px -20px rgba(11, 43, 26, .28);

  --container: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  --section: clamp(64px, 9vw, 120px);
  --header-h: 72px;
  --topbar-h: 40px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
img, svg, video, iframe { max-width: 100%; }
@media (max-width: 560px) {
  .btn { white-space: normal; text-align: center; max-width: 100%; }
}
/* Elements hidden by script (filters, tabs, sliders) must stay hidden, whatever their display style. */
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); overflow-x: hidden; overflow-x: clip; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.65;
  color: var(--ink-2);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: var(--green-600); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--green-700); }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { color: var(--ink); margin: 0 0 .5em; line-height: 1.15; font-weight: 600; }
h1, h2 { font-family: var(--font-display); font-weight: 700; letter-spacing: -0.02em; }
h3 { font-size: var(--step-1); letter-spacing: -0.01em; }
h4 { font-size: var(--step-0); }
ul { margin: 0; padding: 0; }
button, input, textarea, select { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--green-500); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--green-100); color: var(--green-900); }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: var(--radius-sm);
}
.skip-link:focus { top: 12px; color: #fff; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- Layout ---------- */
.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); }
.section--sand { background: var(--sand); }
.section--dark { background: var(--green-900); color: #c9d6cd; }
.section--dark h2, .section--dark h3, .section--dark h4 { color: #fff; }
.section--tight { padding-block: clamp(40px, 6vw, 72px); }

.grid { display: grid; gap: clamp(20px, 3vw, 32px); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 960px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: minmax(0, 1fr); } }

.section-head { max-width: 760px; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--split { max-width: none; display: flex; align-items: end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.section-head--split > div { max-width: 680px; }
.section-head h2 { font-size: var(--step-3); }
.section-head p { font-size: var(--step-1); color: var(--muted); line-height: 1.5; margin: 0; }
.section--dark .section-head p { color: #a9bbb0; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: var(--step--1); font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  color: var(--green-600); margin-bottom: 16px;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; border-radius: 2px; }
.section--dark .eyebrow { color: var(--lime); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 22px; border-radius: 999px; border: 1.5px solid transparent;
  font-weight: 600; font-size: .975rem; line-height: 1.2; cursor: pointer; white-space: nowrap;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.btn i { font-size: 1.05em; transition: transform .2s ease; }
.btn:hover i { transform: translateX(3px); }
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--green-600); color: #fff; box-shadow: 0 8px 20px -10px rgba(15, 122, 52, .7); }
.btn--primary:hover { background: var(--green-700); color: #fff; }
.btn--outline { border-color: var(--line-2); color: var(--ink); background: transparent; }
.btn--outline:hover { border-color: var(--ink); color: var(--ink); }
.btn--light { background: #fff; color: var(--green-900); }
.btn--light:hover { background: var(--green-50); color: var(--green-900); }
.btn--ghost-light { border-color: rgba(255, 255, 255, .35); color: #fff; }
.btn--ghost-light:hover { border-color: #fff; color: #fff; }
.btn--sm { min-height: 40px; padding: 8px 16px; font-size: .9rem; }
.btn[disabled] { opacity: .65; cursor: progress; }

.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; }
.link-arrow i { transition: transform .2s ease; }
.link-arrow:hover i { transform: translateX(4px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50; height: var(--header-h);
  background: rgba(255, 255, 255, .95);
  -webkit-backdrop-filter: saturate(180%) blur(14px); backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .25s ease, box-shadow .25s ease;
}
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 24px -18px rgba(19, 32, 26, .35); }
.site-header .container { height: 100%; display: flex; align-items: center; gap: 24px; }
.brand img { height: 46px; width: auto; }
.brand { display: inline-flex; align-items: center; flex-shrink: 0; gap: 12px; text-decoration: none; }
.brand-text {
  padding-left: 12px; border-left: 2px solid var(--green-100);
  font-size: .78rem; line-height: 1.25; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--green-800);
}
@media (max-width: 400px) {
  .site-header .container { gap: 10px; }
  .brand { gap: 8px; min-width: 0; flex-shrink: 1; }
  .brand img { height: 38px; }
  .brand-text { font-size: .62rem; padding-left: 8px; letter-spacing: .03em; }
  .nav-toggle { flex-shrink: 0; }
}
.site-nav { margin-left: auto; display: flex; align-items: center; gap: 28px; }
.site-nav ul { display: flex; gap: 4px; list-style: none; }
.site-nav a.nav-link { white-space: nowrap;
  display: block; padding: 8px 12px; border-radius: 999px; color: var(--ink-2); font-weight: 500; font-size: .95rem;
}
.site-nav a.nav-link:hover, .site-nav a.nav-link[aria-current="page"] { color: var(--green-700); background: var(--green-50); }
.nav-toggle {
  display: none; margin-left: auto; width: 44px; height: 44px; border-radius: 12px;
  border: 1px solid var(--line); background: #fff; cursor: pointer; align-items: center; justify-content: center; font-size: 1.4rem;
}
@media (max-width: 1140px) {
  .nav-toggle { display: inline-flex; }
  .site-nav {
    position: fixed; inset: var(--header-h) 0 auto 0; margin: 0; padding: 16px var(--gutter) 28px;
    flex-direction: column; align-items: stretch; gap: 16px;
    background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
    transform: translateY(-8px); opacity: 0; visibility: hidden; transition: all .22s ease;
    max-height: calc(100vh - var(--header-h)); overflow-y: auto;
  }
  .site-nav.is-open { transform: none; opacity: 1; visibility: visible; }
  .site-nav ul { flex-direction: column; }
  .site-nav a.nav-link { padding: 12px 14px; font-size: 1.05rem; border-radius: 10px; }
  .site-nav .btn { width: 100%; }
}

/* ---------- Top bar ---------- */
.topbar { background: var(--green-900); color: #c9d6cd; font-size: .85rem; }
.topbar .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: var(--topbar-h); }
.topbar-contact { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 24px; }
.topbar-contact li { display: inline-flex; align-items: center; gap: 8px; }
.topbar-contact i { color: var(--lime); }
.topbar a { color: #e4ece6; }
.topbar a:hover { color: #fff; }
.topbar-social { display: flex; gap: 14px; }
@media (max-width: 860px) { .topbar-hide-sm { display: none !important; } }
@media (max-width: 560px) { .topbar-social { display: none; } .topbar-contact { gap: 4px 16px; font-size: .8rem; } }

/* ---------- Hero (fits one screen) ---------- */
.hero {
  position: relative; overflow: hidden; background: var(--sand);
  min-height: calc(100svh - var(--header-h) - var(--topbar-h));
  display: flex; align-items: center; padding-block: clamp(20px, 4vh, 48px);
}
.hero::before {
  content: ""; position: absolute; inset: 0 0 0 auto; width: 46%;
  background: linear-gradient(160deg, var(--green-50), var(--green-100));
  border-bottom-left-radius: 120px; pointer-events: none;
}
.hero-inner { position: relative; width: 100%; }
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.hero-copy .eyebrow { margin-bottom: 14px; }
.hero-title { font-size: clamp(2rem, 1.3rem + 2.6vw, 3.4rem); line-height: 1.08; margin-bottom: 18px; letter-spacing: -0.025em; }
.hero-title em { font-style: normal; color: var(--green-600); }
h2.hero-title { font-size: clamp(1.75rem, 1.2rem + 1.9vw, 2.7rem); }
.hero-lead { font-size: var(--step-1); line-height: 1.5; color: var(--muted); max-width: 540px; margin-bottom: 28px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-media { position: relative; }
.hero-media .frame {
  border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); background: var(--sand-2);
  aspect-ratio: 4 / 3; max-height: min(56svh, 520px); width: 100%;
}
.hero-media .frame img { width: 100%; height: 100%; object-fit: cover; }
.hero-card {
  position: absolute; left: -24px; bottom: 24px; max-width: 260px;
  background: #fff; border-radius: var(--radius); padding: 16px 18px; box-shadow: var(--shadow);
  display: flex; gap: 14px; align-items: center;
}
.hero-card .icon-badge { flex-shrink: 0; }
.hero-card strong { display: block; font-size: 1.4rem; font-weight: 700; color: var(--ink); line-height: 1.1; }
.hero-card span { font-size: .84rem; color: var(--muted); line-height: 1.35; display: block; }
.hero-badge {
  position: absolute; right: 16px; top: 16px; background: var(--green-900); color: #fff;
  border-radius: 999px; padding: 9px 15px; font-size: .82rem; font-weight: 600; display: flex; gap: 8px; align-items: center; box-shadow: var(--shadow);
}
.hero-badge i { color: var(--lime); }

/* Slides share one grid cell so the hero keeps the height of the tallest slide. */
.hero-slides { display: grid; }
.hero-slide { grid-area: 1 / 1; opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .7s ease, transform .7s ease, visibility .7s; }
.hero-slide.is-active { opacity: 1; visibility: visible; transform: none; }
.hero-slide .hero-media .frame img { transform: scale(1.06); transition: transform 7s ease-out; }
.hero-slide.is-active .hero-media .frame img { transform: scale(1); }

.hero-controls { display: flex; align-items: center; gap: 24px; margin-top: clamp(20px, 4vh, 40px); }
html:not(.js) .hero-controls { display: none; }
.hero-tabs { flex: 1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.hero-tab {
  display: grid; grid-template-columns: auto 1fr; gap: 2px 10px; align-items: baseline; text-align: left;
  background: none; border: 0; padding: 0 0 2px; cursor: pointer; color: var(--muted); font-size: .9rem;
}
.hero-tab-num { font-weight: 700; color: var(--ink-2); font-size: .8rem; }
.hero-tab-label { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-weight: 600; }
.hero-tab-bar { grid-column: 1 / -1; display: block; height: 3px; background: var(--line-2); border-radius: 3px; overflow: hidden; margin-top: 8px; }
.hero-tab-bar span { display: block; height: 100%; width: 0; background: var(--green-600); }
.hero-tab[aria-current="true"] { color: var(--ink); }
.hero-tab[aria-current="true"] .hero-tab-num { color: var(--green-600); }
.hero-tab[aria-current="true"] .hero-tab-bar span { width: 100%; }
.hero-tab.is-running .hero-tab-bar span { animation: hero-progress var(--hero-delay, 6500ms) linear forwards; }
.hero-slider.is-paused .hero-tab.is-running .hero-tab-bar span { animation-play-state: paused; }
.hero-buttons { align-items: center; }
.hero-timer {
  display: inline-flex; align-items: center; gap: 6px; height: 42px; padding: 0 14px; margin-right: 4px;
  border-radius: 999px; background: #fff; border: 1.5px solid var(--line-2);
  font-weight: 700; font-size: .92rem; color: var(--green-800); font-variant-numeric: tabular-nums; letter-spacing: .02em;
}
.hero-timer i { color: var(--green-600); }
.hero-slider.is-paused .hero-timer { color: var(--muted); }
@media (max-width: 560px) { .hero-timer { height: 38px; padding: 0 10px; font-size: .85rem; } }
.hero-tab:hover .hero-tab-label { color: var(--green-700); }
@keyframes hero-progress { from { width: 0; } to { width: 100%; } }
.hero-buttons { display: flex; gap: 8px; }
.hero-arrow {
  width: 42px; height: 42px; border-radius: 50%; border: 1.5px solid var(--line-2); background: #fff; color: var(--ink);
  display: inline-grid; place-items: center; cursor: pointer; transition: background .2s, border-color .2s, color .2s;
}
.hero-arrow:hover { background: var(--green-900); border-color: var(--green-900); color: #fff; }

@media (max-width: 900px) {
  .hero::before { width: 100%; height: 40%; top: auto; border-radius: 80px 0 0 0; }
  .hero-grid { grid-template-columns: 1fr; gap: 24px; }
  .hero-media .frame { aspect-ratio: 16 / 9; max-height: 34svh; }
  .hero-card { left: 12px; bottom: 12px; padding: 10px 14px; }
  .hero-card strong { font-size: 1.1rem; }
  .hero-tabs { grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .hero-tab-label { display: none; }
}
@media (max-width: 560px) {
  .hero-lead { margin-bottom: 20px; }
  .hero-card span { display: none; }
  .hero-badge { font-size: .74rem; padding: 7px 12px; right: 10px; top: 10px; }
  .hero-controls { gap: 12px; }
  .hero-arrow { width: 38px; height: 38px; }
}

/* ---------- Trust band: numbers + client logos ---------- */
.trust { background: var(--paper); border-bottom: 1px solid var(--line); padding-block: clamp(36px, 5vw, 56px); }
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.stat dd { margin: 0; }
.stat { padding: 4px 24px 4px 0; }
.stat + .stat { padding-left: 24px; border-left: 1px solid var(--line-2); }
.stat strong { display: block; font-weight: 700; font-size: var(--step-3); color: var(--green-700); line-height: 1; letter-spacing: -0.02em; }
.stat span { display: block; margin-top: 8px; color: var(--muted); font-size: .95rem; }
.trust-clients { margin-top: clamp(32px, 5vw, 48px); padding-top: clamp(28px, 4vw, 40px); border-top: 1px solid var(--line); }
@media (max-width: 760px) {
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 24px; }
  .stat:nth-child(3) { border-left: 0; padding-left: 0; }
}

/* ---------- Logo strip ---------- */
.logos-label { text-align: center; font-size: var(--step--1); font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 28px; }
.logo-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; list-style: none; }
.logo-grid li {
  display: flex; align-items: center; justify-content: center; height: 96px; padding: 16px;
  border: 1px solid var(--line); border-radius: var(--radius); background: #fff;
}
.logo-grid img { max-height: 56px; width: auto; object-fit: contain; transition: transform .25s ease; }
.logo-grid li:hover img { transform: scale(1.05); }
@media (max-width: 960px) { .logo-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 560px) { .logo-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } .logo-grid li { height: 76px; padding: 10px; } .logo-grid img { max-height: 44px; } }

/* ---------- Cards ---------- */
.card {
  position: relative; display: flex; flex-direction: column; height: 100%;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.card-media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--sand-2); }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.card-media--slide { background: #fff; border-bottom: 1px solid var(--line); }
.card-media--slide img { object-fit: contain; }
.card:hover .card-media img { transform: scale(1.04); }
.card-body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.card-body h3 { margin-bottom: 10px; }
.card-body p { color: var(--muted); font-size: .975rem; }
.card-foot { margin-top: auto; padding-top: 12px; }
.stretched::after { content: ""; position: absolute; inset: 0; z-index: 1; }

.icon-badge {
  width: 48px; height: 48px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center;
  background: var(--green-50); color: var(--green-600); font-size: 1.35rem;
}

.service-card .card-body { padding-top: 0; }
.service-card .icon-badge { margin-top: -24px; position: relative; z-index: 2; background: #fff; box-shadow: var(--shadow-sm); margin-bottom: 16px; }
.service-num { position: absolute; top: 16px; right: 18px; z-index: 2; font-family: var(--font-display); font-size: .95rem; color: #fff; background: rgba(11, 43, 26, .85); padding: 2px 10px; border-radius: 999px; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }

.feature-band {
  margin-top: clamp(24px, 3vw, 32px); display: grid; grid-template-columns: auto 1fr auto; gap: 24px; align-items: center;
  padding: 28px 32px; border-radius: var(--radius-lg); background: var(--green-900); color: #c9d6cd;
}
.feature-band h3 { color: #fff; margin-bottom: 6px; }
.feature-band p { margin: 0; }
.feature-band .logo-chip { background: #fff; border-radius: var(--radius); padding: 12px 16px; display: flex; align-items: center; }
.feature-band .logo-chip img { height: 44px; width: auto; }
@media (max-width: 760px) { .feature-band { grid-template-columns: 1fr; padding: 24px; } .feature-band .logo-chip { justify-self: start; } }

/* ---------- Tabs (capabilities) ---------- */
.tabs { display: grid; grid-template-columns: 300px 1fr; gap: clamp(24px, 4vw, 56px); align-items: start; }
.tab-list { display: flex; flex-direction: column; gap: 6px; }
.tab-btn {
  display: flex; align-items: center; gap: 14px; width: 100%; text-align: left; cursor: pointer;
  padding: 14px 16px; border-radius: var(--radius); border: 1px solid transparent; background: transparent; color: #a9bbb0; font-weight: 500;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}
.tab-btn i { font-size: 1.2rem; color: var(--green-300); }
.tab-btn:hover { color: #fff; background: rgba(255, 255, 255, .04); }
.tab-btn[aria-selected="true"] { color: #fff; background: rgba(255, 255, 255, .07); border-color: rgba(255, 255, 255, .12); }
.tab-btn[aria-selected="true"] i { color: var(--lime); }
.tab-panel {
  background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .1); border-radius: var(--radius-lg);
  padding: clamp(24px, 4vw, 44px); min-height: 360px;
}
.tab-panel[hidden] { display: none; }
.tab-panel h3 { font-family: var(--font-display); font-weight: 700; font-size: var(--step-1); margin-bottom: 10px; }
.tab-panel > p { font-size: var(--step-1); line-height: 1.55; color: #c9d6cd; margin-bottom: 28px; }
.check-list { list-style: none; display: grid; gap: 14px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; }
.check-list li::before {
  content: "\F26E"; font-family: "bootstrap-icons"; flex-shrink: 0; margin-top: 2px;
  width: 22px; height: 22px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
  background: var(--green-100); color: var(--green-700); font-size: .8rem;
}
.section--dark .check-list li::before { background: rgba(166, 217, 106, .16); color: var(--lime); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; }
.chip {
  display: inline-flex; align-items: center; padding: 6px 12px; border-radius: 999px; font-size: .85rem; font-weight: 500;
  background: var(--green-50); color: var(--green-700); border: 1px solid var(--green-100);
}
.section--dark .chip { background: rgba(255, 255, 255, .06); color: #dfe8e2; border-color: rgba(255, 255, 255, .12); }
.tool-row { margin-top: 28px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .1); }
.tool-row small { display: block; font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: #8fa699; margin-bottom: 12px; font-weight: 600; }
@media (max-width: 860px) {
  .tabs { grid-template-columns: 1fr; }
  .tab-list { flex-direction: row; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; scrollbar-width: none; }
  .tab-list::-webkit-scrollbar { display: none; }
  .tab-btn { width: auto; flex-shrink: 0; scroll-snap-align: start; padding: 10px 14px; }
  .tab-panel { min-height: 0; }
}

/* ---------- Projects ---------- */
.project-card .card-body { padding: 28px; }
.project-card h3 { font-size: 1.15rem; line-height: 1.35; font-weight: 600; }
.project-card h3 a { color: var(--ink); }
.project-card h3 a:hover { color: var(--green-700); }
.project-meta { display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; margin-bottom: 16px; font-size: .85rem; color: var(--muted); }
.tag { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; background: var(--green-50); color: var(--green-700); font-weight: 600; font-size: .78rem; letter-spacing: .02em; }
.project-client { display: flex; gap: 8px; color: var(--muted); font-size: .92rem; margin-bottom: 18px; }
.project-client i { color: var(--green-600); }
.project-highlight { font-family: var(--font-display); font-size: 1.35rem; color: var(--green-700); margin-bottom: 8px; }
.project-card .card-media { aspect-ratio: 16 / 9; }

.filter-bar { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.filter-btn {
  padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line-2); background: #fff; cursor: pointer;
  font-size: .92rem; font-weight: 500; color: var(--ink-2); transition: all .2s ease;
}
.filter-btn:hover { border-color: var(--ink); }
.filter-btn[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.filter-btn span { opacity: .6; margin-left: 4px; }
[data-project][hidden] { display: none; }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.about-media { position: relative; }
.about-media img { border-radius: var(--radius-lg); width: 100%; aspect-ratio: 4 / 3.4; object-fit: cover; box-shadow: var(--shadow); }
.about-media .year-badge {
  position: absolute; right: -18px; bottom: -18px; width: 132px; height: 132px; border-radius: 50%;
  background: var(--green-600); color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
  box-shadow: var(--shadow); border: 6px solid var(--paper);
}
.section--sand .about-media .year-badge { border-color: var(--sand); }
.year-badge small { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; opacity: .85; }
.year-badge strong { font-family: var(--font-display); font-size: 2rem; font-weight: 500; line-height: 1; }
.about-copy h2 { font-size: var(--step-3); }
.about-copy .lead { font-size: var(--step-1); color: var(--muted); line-height: 1.55; }
.pillars { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 32px; }
.pillar { padding: 20px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.pillar small { display: block; font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 600; color: var(--green-600); margin-bottom: 6px; }
.pillar p { margin: 0; color: var(--ink); font-weight: 500; line-height: 1.45; }
@media (max-width: 900px) { .about-grid { grid-template-columns: 1fr; } .about-media { max-width: 560px; } .about-media .year-badge { right: 12px; bottom: -24px; } }
@media (max-width: 480px) { .pillars { grid-template-columns: 1fr; } }

.credentials { margin-top: clamp(48px, 6vw, 72px); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.credential { padding: 24px; border-radius: var(--radius); background: var(--paper); border: 1px solid var(--line); }
.credential i { font-size: 1.5rem; color: var(--green-600); }
.credential h4 { margin: 14px 0 6px; font-size: 1rem; }
.credential p { margin: 0; font-size: .92rem; color: var(--muted); line-height: 1.5; }
@media (max-width: 960px) { .credentials { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .credentials { grid-template-columns: 1fr; } }

/* ---------- Leadership ---------- */
.leader { display: grid; grid-template-columns: 340px 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.leader-photo { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 1; background: var(--sand-2); box-shadow: var(--shadow); }
.leader-photo img { width: 100%; height: 100%; object-fit: cover; }
.leader blockquote { margin: 0 0 24px; font-family: var(--font-display); font-size: var(--step-2); line-height: 1.3; color: var(--ink); }
.leader-name { font-weight: 600; color: var(--ink); font-size: 1.1rem; }
.leader-role { color: var(--muted); }
.social-row { display: flex; gap: 8px; margin-top: 16px; }
.social-row a {
  width: 40px; height: 40px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--line-2); color: var(--ink-2); transition: all .2s ease;
}
.social-row a:hover { background: var(--green-600); border-color: var(--green-600); color: #fff; }
@media (max-width: 820px) { .leader { grid-template-columns: 1fr; } .leader-photo { max-width: 320px; } }

/* ---------- Testimonials ---------- */
.carousel { position: relative; }
.carousel-track {
  display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 2 * 24px) / 3); gap: 24px;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding: 4px 2px 24px; scrollbar-width: none;
}
.carousel-track::-webkit-scrollbar { display: none; }
@media (max-width: 960px) { .carousel-track { grid-auto-columns: calc((100% - 24px) / 2); } }
@media (max-width: 640px) { .carousel-track { grid-auto-columns: 88%; } }
.quote-card {
  scroll-snap-align: start; display: flex; flex-direction: column; gap: 20px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 32px;
}
.quote-card .mark { font-family: var(--font-display); font-size: 3.5rem; line-height: .6; color: var(--green-300); height: 24px; }
.quote-card blockquote { margin: 0; color: var(--ink-2); font-size: 1.02rem; line-height: 1.65; flex: 1; }
.quote-person { display: flex; align-items: center; gap: 12px; padding-top: 20px; border-top: 1px solid var(--line); }
.avatar {
  width: 44px; height: 44px; border-radius: 50%; flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center;
  background: var(--green-100); color: var(--green-800); font-weight: 700; font-size: .9rem;
}
.quote-person .who strong { display: block; color: var(--ink); font-size: .98rem; }
.quote-person .who span { display: block; color: var(--muted); font-size: .86rem; line-height: 1.35; }
.carousel-nav { display: flex; gap: 8px; }
.icon-btn {
  width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line-2); background: #fff; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center; font-size: 1.2rem; color: var(--ink); transition: all .2s ease;
}
.icon-btn:hover:not([disabled]) { background: var(--ink); color: #fff; border-color: var(--ink); }
.icon-btn[disabled] { opacity: .4; cursor: default; }

/* ---------- Articles ---------- */
.article-card .card-body { padding: 24px 24px 28px; }
.article-card h3 { font-size: 1.2rem; line-height: 1.35; }
.article-card h3 a { color: var(--ink); }
.article-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; font-size: .85rem; color: var(--muted); margin-bottom: 12px; }
.article-meta .dot { width: 3px; height: 3px; border-radius: 50%; background: currentColor; opacity: .6; }
.media-fallback { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; color: var(--green-300); font-size: 2.5rem; background: linear-gradient(135deg, var(--green-50), var(--sand-2)); }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.faq-aside { position: sticky; top: calc(var(--header-h) + 32px); }
.faq-aside h2 { font-size: var(--step-3); }
.faq-aside p { color: var(--muted); }
.faq-list { border-top: 1px solid var(--line-2); }
.faq-item { border-bottom: 1px solid var(--line-2); }
.faq-item summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 22px 0; font-weight: 600; color: var(--ink); font-size: 1.05rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "\F64D"; font-family: "bootstrap-icons"; flex-shrink: 0; width: 32px; height: 32px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--line-2); transition: transform .25s ease, background-color .2s ease;
}
.faq-item[open] summary::after { transform: rotate(45deg); background: var(--green-600); border-color: var(--green-600); color: #fff; }
.faq-item summary:hover { color: var(--green-700); }
.faq-item p { color: var(--muted); padding: 0 56px 22px 0; margin: 0; }
@media (max-width: 860px) { .faq-grid { grid-template-columns: 1fr; } .faq-aside { position: static; } .faq-item p { padding-right: 0; } }

/* ---------- CTA cards ---------- */
.cta-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.cta-card { position: relative; overflow: hidden; border-radius: var(--radius-lg); padding: clamp(28px, 4vw, 48px); background: var(--green-900); color: #c9d6cd; }
.cta-card--light { background: var(--green-50); color: var(--ink-2); border: 1px solid var(--green-100); }
.cta-card h3 { font-family: var(--font-display); font-weight: 500; font-size: var(--step-2); color: #fff; }
.cta-card--light h3 { color: var(--ink); }
.cta-card p { max-width: 460px; margin-bottom: 24px; }
.cta-card::after {
  content: ""; position: absolute; right: -60px; bottom: -60px; width: 220px; height: 220px; border-radius: 50%;
  background: radial-gradient(circle, rgba(166, 217, 106, .22) 1.5px, transparent 2px) 0 0 / 14px 14px; pointer-events: none;
}
@media (max-width: 760px) { .cta-grid { grid-template-columns: 1fr; } }

/* ---------- Contact & forms ---------- */
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
.contact-list { list-style: none; display: grid; gap: 22px; margin-top: 32px; }
.contact-list li { display: flex; gap: 16px; }
.contact-list h4 { margin: 0 0 4px; font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.contact-list p, .contact-list a { margin: 0; color: var(--ink); font-weight: 500; }
.contact-list a:hover { color: var(--green-700); }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 40px); box-shadow: var(--shadow-sm); }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 560px) { .form-grid { grid-template-columns: 1fr; } }
.field label { display: block; font-size: .9rem; font-weight: 600; color: var(--ink); margin-bottom: 8px; }
.input {
  width: 100%; min-height: 50px; padding: 12px 16px; border-radius: var(--radius-sm); border: 1.5px solid var(--line-2); background: var(--paper);
  transition: border-color .2s ease, box-shadow .2s ease;
}
textarea.input { min-height: 150px; resize: vertical; }
.input::placeholder { color: #8b958f; }
.input:focus { outline: none; border-color: var(--green-600); box-shadow: 0 0 0 4px rgba(15, 122, 52, .12); }
.input[aria-invalid="true"] { border-color: #c0392b; }
.field-error { display: block; color: #b42318; font-size: .85rem; margin-top: 6px; }
.form-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 8px; }
.form-foot small { color: var(--muted); font-size: .85rem; }
.form-status { display: none; margin-top: 16px; padding: 12px 16px; border-radius: var(--radius-sm); font-size: .95rem; font-weight: 500; }
.form-status.is-success { display: block; background: var(--green-50); color: var(--green-800); border: 1px solid var(--green-100); }
.form-status.is-error { display: block; background: #fef3f2; color: #b42318; border: 1px solid #fecdca; }
.spinner { width: 18px; height: 18px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .4); border-top-color: #fff; animation: spin .8s linear infinite; display: none; }
.is-loading .spinner { display: inline-block; }
.is-loading .btn-label-icon { display: none; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { background: var(--sand); padding-block: clamp(48px, 7vw, 88px) clamp(40px, 6vw, 72px); border-bottom: 1px solid var(--line); }
.page-hero h1 { font-size: var(--step-4); max-width: 900px; margin-bottom: 16px; }
.page-hero p { font-size: var(--step-1); color: var(--muted); max-width: 680px; margin: 0; line-height: 1.55; }
.page-hero--article h1 { font-size: var(--step-3); }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; font-size: .88rem; color: var(--muted); margin-bottom: 20px; }
.breadcrumbs li + li::before { content: "/"; margin-right: 8px; opacity: .5; }
.breadcrumbs a { color: var(--muted); }
.breadcrumbs a:hover { color: var(--green-700); }

/* ---------- Article page & prose ---------- */
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(32px, 5vw, 72px); align-items: start; }
@media (max-width: 960px) { .article-layout { grid-template-columns: 1fr; } }
.article-cover { border-radius: var(--radius-lg); overflow: hidden; margin-bottom: 40px; aspect-ratio: 16 / 8; background: var(--sand-2); }
.article-cover img { width: 100%; height: 100%; object-fit: cover; }
.prose { color: var(--ink-2); font-size: 1.075rem; line-height: 1.8; max-width: 72ch; }
.prose h2 { font-size: var(--step-2); margin: 1.8em 0 .6em; }
.prose h3 { margin: 1.6em 0 .5em; }
.prose p, .prose ul, .prose ol { margin: 0 0 1.2em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: .4em; }
.prose img { border-radius: var(--radius); margin: 1.5em 0; }
.prose a { text-decoration: underline; text-underline-offset: 3px; }
.prose blockquote { margin: 1.5em 0; padding: 4px 0 4px 20px; border-left: 3px solid var(--green-600); color: var(--ink); font-style: italic; }
.prose table { width: 100%; border-collapse: collapse; margin: 1.5em 0; font-size: .95rem; }
.prose th, .prose td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; }
.sidebar { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 20px; }
.side-box { border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; background: #fff; }
.side-box h4 { font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 16px; }
.side-box--dark { background: var(--green-900); border-color: var(--green-900); color: #c9d6cd; }
.side-box--dark h4 { color: var(--lime); }
.side-box--dark h3 { color: #fff; font-family: var(--font-display); font-weight: 500; }
.mini-post { display: grid; grid-template-columns: 72px 1fr; gap: 14px; align-items: center; }
.mini-post + .mini-post { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line); }
.mini-post .thumb { width: 72px; height: 56px; border-radius: 8px; overflow: hidden; background: var(--sand-2); }
.mini-post .thumb img { width: 100%; height: 100%; object-fit: cover; }
.mini-post a { color: var(--ink); font-weight: 600; font-size: .95rem; line-height: 1.35; display: block; }
.mini-post a:hover { color: var(--green-700); }
.mini-post time { font-size: .8rem; color: var(--muted); }
.author-box { display: flex; gap: 20px; align-items: flex-start; margin-top: 48px; padding: 28px; border-radius: var(--radius-lg); background: var(--sand); }
.author-box img, .author-box .avatar { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.author-box h4 { margin-bottom: 4px; }
.author-box p { color: var(--muted); margin: 0; font-size: .95rem; }

.pagination { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin-top: 56px; list-style: none; }
.pagination a, .pagination span {
  min-width: 44px; height: 44px; padding: 0 14px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  border: 1px solid var(--line-2); color: var(--ink-2); font-weight: 500;
}
.pagination a:hover { border-color: var(--ink); color: var(--ink); }
.pagination .is-current { background: var(--ink); border-color: var(--ink); color: #fff; }
.pagination .is-disabled { opacity: .4; }

.empty-state { text-align: center; padding: 64px 24px; border: 1px dashed var(--line-2); border-radius: var(--radius-lg); color: var(--muted); }
.empty-state i { font-size: 2rem; color: var(--green-300); display: block; margin-bottom: 12px; }

/* Project detail */
.project-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(32px, 5vw, 72px); align-items: start; }
@media (max-width: 960px) { .project-layout { grid-template-columns: 1fr; } }
.fact-list { list-style: none; display: grid; gap: 18px; }
.fact-list li { display: grid; gap: 2px; }
.fact-list small { font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.fact-list span { color: var(--ink); font-weight: 500; }

/* ---------- Footer ---------- */
.site-footer { background: var(--green-900); color: #a9bbb0; padding-top: clamp(56px, 8vw, 96px); font-size: .95rem; }
.site-footer a { color: #dfe8e2; }
.site-footer a:hover { color: #fff; }
.footer-top { display: grid; grid-template-columns: 1.3fr .8fr .9fr 1.4fr; gap: clamp(28px, 4vw, 56px); padding-bottom: clamp(40px, 6vw, 64px); }
.footer-brand .logo-chip { display: inline-flex; background: #fff; padding: 10px 14px; border-radius: var(--radius); margin-bottom: 20px; }
.footer-brand .logo-chip img { height: 44px; width: auto; }
.footer-brand p { max-width: 320px; }
.site-footer h4 { color: #fff; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 18px; }
.footer-links { list-style: none; display: grid; gap: 10px; }
.newsletter { display: flex; gap: 8px; margin-top: 16px; }
.newsletter .input { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .16); color: #fff; min-height: 48px; }
.newsletter .input::placeholder { color: #8fa699; }
.newsletter .input:focus { border-color: var(--lime); box-shadow: 0 0 0 4px rgba(166, 217, 106, .15); }
.newsletter .btn { flex-shrink: 0; }
.site-footer .form-status.is-success { background: rgba(166, 217, 106, .12); color: #dff2c9; border-color: rgba(166, 217, 106, .3); }
.site-footer .social-row a { border-color: rgba(255, 255, 255, .18); color: #dfe8e2; }
.site-footer .social-row a:hover { background: var(--lime); border-color: var(--lime); color: var(--green-900); }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .1); padding-block: 24px; display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; font-size: .88rem; }
.footer-bottom ul { display: flex; flex-wrap: wrap; gap: 20px; list-style: none; }
@media (max-width: 960px) { .footer-top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-top { grid-template-columns: 1fr; } .newsletter { flex-direction: column; } }

/* ---------- Featured services strip ---------- */
.featured { background: var(--paper); }
.feature-tile {
  position: relative; padding: 28px 24px; border-radius: var(--radius); background: var(--paper);
  border: 1px solid var(--line); border-top: 4px solid var(--green-600); box-shadow: var(--shadow-sm); height: 100%;
  transition: transform .25s ease, box-shadow .25s ease;
}
.feature-tile:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.feature-tile h3 { margin: 16px 0 8px; font-size: 1.2rem; }
.feature-tile p { margin: 0; color: var(--muted); font-size: .95rem; line-height: 1.55; }
.feature-logo { display: inline-flex; align-items: center; height: 44px; }
.feature-logo img { height: 34px; width: auto; }

/* ---------- About extras ---------- */
.about-points { margin-top: 20px; }
.about-closing { margin-top: 20px; font-weight: 700; color: var(--green-700); font-size: var(--step-1); }
.about-copy h2 { font-size: var(--step-3); }

/* ---------- Tabs: light variant and content blocks ---------- */
.tabs--light .tab-btn { color: var(--ink-2); }
.tabs--light .tab-btn i { color: var(--green-600); }
.tabs--light .tab-btn:hover { color: var(--ink); background: var(--green-50); }
.tabs--light .tab-btn[aria-selected="true"] { color: var(--green-900); background: var(--green-50); border-color: var(--green-100); }
.tabs--light .tab-btn[aria-selected="true"] i { color: var(--green-700); }
.tabs--light .tab-panel { background: var(--paper); border-color: var(--line); box-shadow: var(--shadow-sm); min-height: 0; color: var(--ink-2); }
/* Eyebrow labels on the dark careers card */
.cta-card:not(.cta-card--light) .eyebrow { color: var(--lime); }
/* Text inside the white (light) tab panels: dark ink for high contrast. */
.tabs--light .tab-panel > p, .tabs--light .tab-panel p { color: var(--ink-2); font-size: var(--step-0); line-height: 1.65; }
.tabs--light .tab-panel > p:first-child { color: var(--ink); font-weight: 600; font-size: var(--step-1); line-height: 1.5; margin-bottom: 20px; }
.tabs--light .tab-panel li { color: var(--ink-2); }
.tab-block + .tab-block { margin-top: 24px; padding-top: 24px; border-top: 1px solid var(--line); }
.section--dark .tab-block + .tab-block { border-top-color: rgba(255, 255, 255, .1); }
.tab-block p { margin-bottom: 14px; line-height: 1.6; }
.section--dark .tab-block p { color: #c9d6cd; }
.tab-columns { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 8px; }
.tab-column { padding: 18px; border-radius: var(--radius); background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); }
.tabs--light .tab-column { background: var(--sand); border-color: var(--line); }
.tab-column h4 { font-size: 1rem; margin-bottom: 12px; }
.tab-column .check-list { gap: 10px; font-size: .94rem; }
.tab-split { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(20px, 4vw, 40px); align-items: start; }
.tab-split p { line-height: 1.65; }
.tab-figure { display: block; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: #fff; }
.tab-figure img { width: 100%; height: auto; }
.tab-figure--wide { margin-top: 12px; }
.check-list--cols { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 32px; }
@media (max-width: 760px) { .tab-columns, .tab-split, .check-list--cols { grid-template-columns: 1fr; } }

/* ---------- Video band ---------- */
.video-band { display: grid; grid-template-columns: 1fr 1fr; background: var(--green-900); color: #c9d6cd; }
.video-media { position: relative; min-height: 420px; }
.video-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.video-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(11, 43, 26, .15), rgba(11, 43, 26, .55)); }
.play-btn {
  position: absolute; z-index: 2; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 92px; height: 92px; border-radius: 50%; background: #fff; color: var(--green-700);
  display: grid; place-items: center; font-size: 2.6rem; box-shadow: 0 0 0 14px rgba(255, 255, 255, .22);
  transition: transform .25s ease, box-shadow .25s ease;
}
.play-btn i { margin-left: 6px; }
.play-btn:hover { transform: translate(-50%, -50%) scale(1.06); box-shadow: 0 0 0 20px rgba(255, 255, 255, .18); color: var(--green-800); }
.video-copy { padding: clamp(40px, 6vw, 88px) clamp(24px, 6vw, 80px); align-self: center; max-width: 640px; }
.video-copy h2 { color: #fff; font-size: var(--step-3); }
.video-copy .eyebrow { color: var(--lime); }
.video-copy .check-list li::before { background: rgba(166, 217, 106, .16); color: var(--lime); }
@media (max-width: 860px) { .video-band { grid-template-columns: 1fr; } .video-media { min-height: 260px; } }

/* ---------- Audiences ---------- */
.audience-grid { list-style: none; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 12px; }
.audience-grid li {
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 12px;
  padding: 24px 12px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--paper);
  font-weight: 600; color: var(--ink); font-size: .95rem; line-height: 1.3; transition: border-color .2s, transform .2s;
}
.audience-grid li:hover { border-color: var(--green-300); transform: translateY(-3px); }
.audience-grid i { font-size: 1.7rem; color: var(--green-600); width: 56px; height: 56px; border-radius: 50%; background: var(--green-50); display: grid; place-items: center; }
.sector-row { margin-top: clamp(32px, 5vw, 48px); text-align: center; }
.sector-row .chips { justify-content: center; }
@media (max-width: 1100px) { .audience-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 640px) { .audience-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- Gallery ---------- */
.sub-head { font-size: var(--step-2); margin-bottom: 16px; }
.gallery-grid { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.gallery-item { border-radius: var(--radius); overflow: hidden; background: var(--paper); border: 1px solid var(--line); display: flex; flex-direction: column; }
.gallery-item[hidden] { display: none; }
.gallery-item a { display: block; aspect-ratio: 3 / 2; overflow: hidden; background: var(--sand-2); }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.gallery-item--slide a { background: #fff; }
.gallery-item--slide img { object-fit: contain; }
.gallery-item:hover img { transform: scale(1.04); }
.gallery-caption { padding: 14px 16px 18px; font-size: .92rem; color: var(--ink-2); line-height: 1.45; }
.gallery-caption small { display: block; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 700; color: var(--green-600); margin-bottom: 4px; }
@media (max-width: 960px) { .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .gallery-grid { grid-template-columns: 1fr; } }

/* ---------- Team ---------- */
#team .leader { margin-top: clamp(48px, 7vw, 80px); grid-template-columns: 260px 1fr; }

/* ---------- Project details table ---------- */
.details-table { width: 100%; max-width: 560px; border-collapse: collapse; margin: 8px 0 24px; font-size: .97rem; }
.details-table th, .details-table td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.details-table thead th { background: var(--green-900); color: #fff; font-weight: 600; }
.details-table thead th:first-child { border-top-left-radius: var(--radius-sm); }
.details-table thead th:last-child { border-top-right-radius: var(--radius-sm); }
.details-table tbody th { font-weight: 600; color: var(--ink); width: 48%; }
.details-table tbody tr:nth-child(even) { background: var(--sand); }

/* ---------- Team members & profiles ---------- */
.member-card .card-body { padding: 20px 22px 24px; }
.member-card h3 { font-size: 1.1rem; margin-bottom: 4px; }
.member-card h3 a { color: var(--ink); text-decoration: none; }
.member-role { color: var(--green-700); font-weight: 600; font-size: .92rem; margin-bottom: 12px; }
.member-stats { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: .88rem; color: var(--muted); margin-bottom: 4px; }
.member-stats strong { color: var(--ink); }
.member-card .card-foot { display: flex; align-items: center; justify-content: space-between; }
.member-linkedin { position: relative; z-index: 2; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: #0a66c2; color: #fff; }
.member-linkedin:hover { background: #004182; color: #fff; }
.footer-person-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; font-size: .9rem; }
.member-photo img { object-position: center 20%; }
.team-stats { border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; background: var(--sand); }
.timeline p { margin: 6px 0 0; color: var(--ink-2); font-size: .95rem; line-height: 1.6; }
.activity-list { margin: 10px 0 0 18px; display: grid; gap: 4px; color: var(--ink-2); font-size: .94rem; line-height: 1.55; }
.member-photo { aspect-ratio: 1; background: linear-gradient(150deg, var(--green-50), var(--green-100)); display: grid; place-items: center; overflow: hidden; }
.member-photo img { width: 100%; height: 100%; object-fit: cover; }
.member-initials { font-size: 2.6rem; font-weight: 700; color: var(--green-700); letter-spacing: .02em; }
.member-photo--lg { border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.member-photo--lg .member-initials { font-size: 4rem; }
.profile-layout { display: grid; grid-template-columns: 320px 1fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.profile-main h2 { font-size: var(--step-2); margin: 32px 0 14px; }
.profile-main h2:first-child { margin-top: 0; }
.profile-main p { line-height: 1.7; }
.timeline { list-style: none; border-left: 2px solid var(--green-100); padding-left: 20px; display: grid; gap: 18px; }
.timeline li { position: relative; }
.timeline li::before { content: ""; position: absolute; left: -27px; top: 6px; width: 12px; height: 12px; border-radius: 50%; background: var(--green-600); border: 3px solid var(--green-50); }
.timeline strong { display: block; color: var(--ink); }
.timeline span { color: var(--muted); font-size: .92rem; }
@media (max-width: 820px) { .profile-layout { grid-template-columns: 1fr; } .profile-side { max-width: 360px; } }

/* ---------- Forms, map ---------- */
.form-title { font-size: var(--step-1); margin-bottom: 20px; }
.map-embed { width: 100%; max-width: 100%; height: clamp(280px, 34vw, 420px); border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.map-embed iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ---------- Media dialog (video, lightbox) ---------- */
.media-dialog { width: min(1000px, 94vw); max-height: 92vh; padding: 0; border: 0; border-radius: var(--radius-lg); background: #0b1510; color: #dfe8e2; overflow: visible; }
.media-dialog::backdrop { background: rgba(6, 18, 12, .82); }
.media-body { border-radius: var(--radius-lg) var(--radius-lg) 0 0; overflow: hidden; display: grid; place-items: center; }
.media-dialog.is-video .media-body { aspect-ratio: 16 / 9; }
.media-body iframe { width: 100%; height: 100%; border: 0; }
.media-body img { max-height: 80vh; width: auto; max-width: 100%; background: #fff; }
.media-caption { margin: 0; padding: 12px 18px; font-size: .92rem; }
.media-caption a { color: var(--lime); }
.media-close { position: absolute; top: -16px; right: -16px; width: 40px; height: 40px; border-radius: 50%; border: 0; background: #fff; color: var(--ink); cursor: pointer; box-shadow: var(--shadow); display: grid; place-items: center; z-index: 2; }
@media (max-width: 560px) { .media-close { top: 8px; right: 8px; } }

/* ---------- Reveal on scroll (progressive: content is visible without JS) ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1); }
.js .reveal.is-visible { opacity: 1; transform: none; }
.js .reveal[data-delay="1"] { transition-delay: .08s; }
.js .reveal[data-delay="2"] { transition-delay: .16s; }
.js .reveal[data-delay="3"] { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ---------- Utilities ---------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 12px; }
.mt-2 { margin-top: 24px; }
.mt-3 { margin-top: 40px; }
.mb-0 { margin-bottom: 0; }
.muted { color: var(--muted); }

/* ---------- Work with us forms (quote, job application, partnership, recommendation) ---------- */
.forms-grid { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: clamp(24px, 4vw, 48px); align-items: start; }
.forms-grid > * { min-width: 0; }
.forms-nav { position: sticky; top: calc(var(--header-h) + 24px); background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 12px; box-shadow: var(--shadow-sm); }
.forms-nav-title { display: block; padding: 10px 12px 8px; font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.forms-nav ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.forms-nav a { display: flex; gap: 12px; align-items: flex-start; padding: 12px; border-radius: var(--radius-sm); color: var(--ink); border-left: 3px solid transparent; }
.forms-nav a i { font-size: 1.2rem; color: var(--green-600); line-height: 1.3; }
.forms-nav a strong { display: block; font-weight: 600; font-size: .98rem; }
.forms-nav a small { display: block; color: var(--muted); font-size: .82rem; margin-top: 2px; }
.forms-nav a:hover { background: var(--green-50); color: var(--ink); }
.forms-nav a[aria-current="page"] { background: var(--green-50); border-left-color: var(--green-600); }
.forms-nav a[aria-current="page"] strong { color: var(--green-700); }
@media (max-width: 900px) {
  .forms-grid { grid-template-columns: 1fr; }
  .forms-nav { position: static; padding: 8px; }
  .forms-nav-title { display: none; }
  .forms-nav ul { display: flex; overflow-x: auto; gap: 6px; scrollbar-width: none; }
  .forms-nav li { flex: 0 0 auto; }
  .forms-nav a { padding: 10px 14px; border-left: 0; border-bottom: 3px solid transparent; border-radius: var(--radius-sm); align-items: center; gap: 8px; }
  .forms-nav a[aria-current="page"] { border-bottom-color: var(--green-600); }
  .forms-nav a small { display: none; }
}
.form-title { font-size: var(--step-2); margin-bottom: 24px; }
.optional { font-weight: 400; color: var(--muted); font-size: .85em; }
select.input { appearance: none; -webkit-appearance: none; padding-right: 40px; cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%235a6760' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; background-color: #fff; }
.phone-input { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 8px; }
.fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.fieldset legend { font-size: .9rem; font-weight: 600; color: var(--ink); margin-bottom: 8px; padding: 0; }
.date-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.radio-row { display: flex; gap: 28px; flex-wrap: wrap; align-items: center; min-height: 48px; }
.radio { display: inline-flex; align-items: center; gap: 10px; font-size: 1rem; color: var(--ink); cursor: pointer; }
.radio input { width: 20px; height: 20px; accent-color: var(--green-600); margin: 0; }
.field .file-drop { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border: 1.5px dashed var(--line-2); border-radius: var(--radius-sm); background: var(--green-50); cursor: pointer; transition: border-color .2s ease, background .2s ease; margin: 0 !important; font-weight: 400 !important; }
.file-drop:hover, .file-input:focus-visible + .file-drop { border-color: var(--green-600); }
.file-drop > i { font-size: 1.3rem; color: var(--green-600); }
.file-drop-text { flex: 1; min-width: 0; color: var(--muted); font-size: .95rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.file-drop.has-file .file-drop-text { color: var(--ink); font-weight: 600; }
.file-drop .btn { flex-shrink: 0; pointer-events: none; }
.field.full { position: relative; }
.file-input { position: absolute; width: 1px; height: 1px; opacity: 0; bottom: 0; left: 50%; }
.hp-field { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 560px) {
  .date-row { grid-template-columns: 1fr 1.4fr 1fr; gap: 8px; }
  .phone-input { grid-template-columns: 96px minmax(0, 1fr); }
  .file-drop .btn { display: none; }
}
.forms-panel .form-title:focus { outline: none; }
.forms-nav ul { position: relative; }

/* ---------- Home introduction (previous website's full-screen welcome, Round 2) ---------- */
.hero-intro {
  position: relative; display: flex; align-items: center; justify-content: center; text-align: center;
  min-height: calc(100vh - var(--header-h)); min-height: calc(100svh - var(--header-h));
  padding: 96px 0; color: #fff; overflow: hidden; isolation: isolate;
  background: radial-gradient(120% 90% at 50% 40%, #0f4a2a 0%, #0b2b1a 58%, #071d11 100%);
}
.hero-intro-inner { position: relative; z-index: 2; }
.hero-intro-inner { display: flex; flex-direction: column; align-items: center; }
.hero-intro-inner::before { content: ""; position: absolute; inset: -40px -60px; z-index: -1; background: radial-gradient(closest-side, rgba(7, 29, 17, .82), rgba(7, 29, 17, 0)); pointer-events: none; }
.hero-intro-title { color: #fff; font-size: clamp(2.3rem, 6vw, 4.4rem); line-height: 1.12; font-weight: 700; letter-spacing: -.01em; margin: 0; text-shadow: 0 2px 24px rgba(0, 0, 0, .25); }
.hero-intro-actions { display: flex; align-items: center; justify-content: center; gap: 28px; flex-wrap: wrap; margin-top: 36px; }
.btn-get-started {
  display: inline-block; padding: 14px 40px; border-radius: 50px; background: var(--green-600); color: #fff;
  font-weight: 600; font-size: 1.02rem; letter-spacing: .02em; border: 2px solid var(--green-600);
  transition: background .25s ease, border-color .25s ease, transform .25s ease;
}
.btn-get-started:hover { background: transparent; border-color: #fff; color: #fff; transform: translateY(-1px); }
.btn-watch-video { display: inline-flex; align-items: center; gap: 10px; color: #fff; font-weight: 600; font-size: 1.02rem; }
.btn-watch-video i { font-size: 2.4rem; line-height: 1; color: var(--lime); transition: transform .25s ease, color .25s ease; }
.btn-watch-video:hover { color: var(--lime); }
.btn-watch-video:hover i { transform: scale(1.08); color: #fff; }
.hero-intro-scroll { position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%); color: rgba(255, 255, 255, .75); font-size: 1.6rem; animation: hero-bob 2.2s ease-in-out infinite; }
.hero-intro-scroll:hover { color: #fff; }
@keyframes hero-bob { 0%, 100% { transform: translate(-50%, 0); } 50% { transform: translate(-50%, 6px); } }
@media (prefers-reduced-motion: reduce) { .hero-intro-scroll { animation: none; } }
@media (max-width: 560px) {
  .hero-intro { padding: 72px 0; }
  .hero-intro-actions { gap: 20px; margin-top: 28px; }
  .btn-get-started { padding: 13px 34px; }
}

/* Illustration of TZG's research and consulting work behind the welcome heading */
.hero-art { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
/* Cards and tags stay in the background: faint enough that the welcome heading clearly leads. */
.art-card, .art-tag { opacity: .22; }
.hero-grid-bg { position: absolute; inset: 0; background-image: radial-gradient(rgba(255, 255, 255, .09) 1px, transparent 1.2px); background-size: 28px 28px; mask-image: radial-gradient(ellipse at center, #000 30%, transparent 78%); -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 78%); }
.hero-glow { position: absolute; width: 46vw; height: 46vw; border-radius: 50%; filter: blur(70px); opacity: .35; }
.hero-glow--a { background: #169a43; top: -18vw; left: -12vw; animation: glow-drift 18s ease-in-out infinite alternate; }
.hero-glow--b { background: #a6d96a; bottom: -24vw; right: -14vw; opacity: .18; animation: glow-drift 22s ease-in-out infinite alternate-reverse; }
@keyframes glow-drift { to { transform: translate(6vw, 4vw) scale(1.08); } }

.art-card { position: absolute; filter: drop-shadow(0 18px 30px rgba(0, 0, 0, .35)); animation: card-float 8s ease-in-out infinite; }
.art-card svg { display: block; width: 100%; height: auto; overflow: visible; }
.art-card--survey { width: 150px; left: 5%; top: 14%; animation-delay: -1s; }
.art-card--donut { width: 112px; left: 21%; top: 9%; animation-duration: 9s; animation-delay: -4s; }
.art-card--bars { width: 170px; left: 4%; bottom: 13%; animation-duration: 9.5s; animation-delay: -2s; }
.art-card--report { width: 128px; left: 20%; bottom: 5%; animation-duration: 10s; animation-delay: -6s; }
.art-card--trend { width: 220px; right: 5%; top: 11%; animation-duration: 8.5s; animation-delay: -3s; }
.art-card--network { width: 160px; right: 21%; bottom: 6%; animation-duration: 9s; animation-delay: -5s; }
.art-card--map { width: 196px; right: 4%; bottom: 15%; animation-duration: 10.5s; animation-delay: -7s; }
@keyframes card-float { 0%, 100% { transform: translateY(0) rotate(var(--tilt, 0deg)); } 50% { transform: translateY(-12px) rotate(var(--tilt, 0deg)); } }
.art-card--survey { --tilt: -4deg; } .art-card--trend { --tilt: 3deg; } .art-card--map { --tilt: -2deg; } .art-card--bars { --tilt: 2deg; }

.c-panel { fill: rgba(255, 255, 255, .07); stroke: rgba(255, 255, 255, .16); stroke-width: 1.2; }
.c-clip { fill: #a6d96a; }
.c-label { fill: #a6d96a; font: 700 9px Arial, sans-serif; letter-spacing: .14em; }
.c-big { fill: #fff; font: 700 22px Arial, sans-serif; }
.c-line { fill: rgba(255, 255, 255, .22); }
.c-box { fill: none; stroke: rgba(255, 255, 255, .45); stroke-width: 1.6; }
.c-tick { fill: none; stroke: #a6d96a; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 20; stroke-dashoffset: 20; animation: tick 6s ease-in-out infinite; }
.c-tick.t2 { animation-delay: .5s; } .c-tick.t3 { animation-delay: 1s; }
@keyframes tick { 0%, 8% { stroke-dashoffset: 20; } 18%, 85% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: 20; } }
.c-axis { stroke: rgba(255, 255, 255, .12); stroke-width: 1; stroke-dasharray: 3 4; }
.c-trend { fill: none; stroke: #a6d96a; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 240; stroke-dashoffset: 240; animation: draw 6.5s ease-in-out infinite; }
@keyframes draw { 0% { stroke-dashoffset: 240; } 40%, 85% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: 240; } }
.c-dot { fill: #fff; animation: dot 6.5s ease-in-out infinite; }
@keyframes dot { 0%, 35% { opacity: 0; } 45%, 85% { opacity: 1; } 100% { opacity: 0; } }
.c-bars .b { fill: rgba(255, 255, 255, .32); transform-box: fill-box; transform-origin: bottom; animation: grow 7s ease-in-out infinite; }
.c-bars .c-acc { fill: #a6d96a; }
.c-bars .b2 { animation-delay: .15s; } .c-bars .b3 { animation-delay: .3s; } .c-bars .b4 { animation-delay: .45s; } .c-bars .b5 { animation-delay: .6s; } .c-bars .b6 { animation-delay: .75s; }
@keyframes grow { 0% { transform: scaleY(.15); } 25%, 85% { transform: scaleY(1); } 100% { transform: scaleY(.15); } }
.c-ring { fill: none; stroke: rgba(255, 255, 255, .14); stroke-width: 10; }
.c-ring-val { fill: none; stroke: #a6d96a; stroke-width: 10; stroke-linecap: round; stroke-dasharray: 72 100; transform: rotate(-90deg); transform-origin: 65px 65px; animation: ring 7s ease-in-out infinite; }
@keyframes ring { 0% { stroke-dasharray: 0 100; } 35%, 85% { stroke-dasharray: 72 100; } 100% { stroke-dasharray: 0 100; } }
.c-region { fill: rgba(166, 217, 106, .1); stroke: rgba(166, 217, 106, .55); stroke-width: 1.4; stroke-dasharray: 4 3; }
.c-pin { fill: #a6d96a; }
.c-pulse { fill: #a6d96a; opacity: 0; transform-box: fill-box; transform-origin: center; animation: pulse 3s ease-out infinite; }
.pin.p2 .c-pulse { animation-delay: .7s; } .pin.p3 .c-pulse { animation-delay: 1.4s; } .pin.p4 .c-pulse { animation-delay: 2.1s; }
@keyframes pulse { 0% { opacity: .55; transform: scale(.3); } 100% { opacity: 0; transform: scale(1.6); } }
.c-edge { fill: none; stroke: rgba(166, 217, 106, .6); stroke-width: 1.6; stroke-dasharray: 5 5; animation: flow 2.4s linear infinite; }
@keyframes flow { to { stroke-dashoffset: -20; } }
.c-node { fill: #0b2b1a; stroke: #a6d96a; stroke-width: 2; }
.c-node--hub { fill: #a6d96a; }
.c-thumb { fill: rgba(166, 217, 106, .12); }
.c-mini { fill: none; stroke: #a6d96a; stroke-width: 2; stroke-linejoin: round; }

.art-tag { position: absolute; display: inline-flex; align-items: center; gap: 7px; padding: 7px 13px; border-radius: 999px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); color: #e8f3ea; font-size: .82rem; font-weight: 600; white-space: nowrap; animation: card-float 7s ease-in-out infinite; }
.art-tag i { color: #a6d96a; }
.art-tag--1 { left: 36%; top: 9%; animation-delay: -1s; }
.art-tag--2 { right: 33%; top: 15%; animation-delay: -3s; }
.art-tag--3 { left: 33%; bottom: 13%; animation-delay: -2s; }
.art-tag--4 { right: 35%; bottom: 9%; animation-delay: -4s; }
.art-tag--5 { left: 12%; top: 50%; animation-delay: -5s; }
.art-tag--6 { right: 10%; top: 58%; animation-delay: -6s; }

@media (max-width: 1280px) {
  .art-tag--5, .art-tag--6 { display: none; }
  .art-card--donut { left: 18%; }
}
@media (max-width: 1024px) {
  .art-card--donut, .art-card--report, .art-card--network { display: none; }
  .art-card { opacity: .2; }
  .art-card--survey { width: 120px; } .art-card--bars { width: 140px; } .art-card--trend { width: 170px; } .art-card--map { width: 160px; }
}
@media (max-width: 720px) {
  .art-card, .art-tag { opacity: .18; }
  .art-card--survey { width: 92px; left: -14px; top: 5%; }
  .art-card--trend { width: 140px; right: -24px; top: 6%; }
  .art-card--bars { width: 112px; left: -18px; bottom: 6%; }
  .art-card--map { width: 132px; right: -26px; bottom: 9%; }
  .art-tag { font-size: .74rem; padding: 6px 10px; }
  .art-tag--1 { left: 30%; top: 15%; } .art-tag--2 { right: 8%; top: 25%; }
  .art-tag--3 { left: 8%; bottom: 24%; } .art-tag--4 { right: 26%; bottom: 14%; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-art *, .hero-art { animation: none !important; }
  .c-trend, .c-tick { stroke-dashoffset: 0; }
  .c-dot { opacity: 1; }
}
