/* ==========================================================================
   Cholaw Consulting (Pty) Ltd — site stylesheet (editorial rebuild)
   --------------------------------------------------------------------------
   Layout & motion modelled on an editorial consulting template, recoloured
   entirely in the Cholaw brand palette: green, white and black.

   Contents:
     1.  Design tokens
     2.  Reset & base
     3.  Layout helpers
     4.  Buttons & pills
     5.  Header / navigation
     6.  Hero
     7.  Marquee logo bar
     8.  Stats band
     9.  About / intro split
     10. Capabilities cards
     11. Services ("what we do") list
     12. Projects rail
     13. Testimonial / quote
     14. Contact (split form)
     15. Footer
     16. Inner pages (about / service detail)
     17. Reveal animations
     18. Responsive
     19. Motion & print preferences
   ========================================================================== */

/* 1. DESIGN TOKENS ======================================================== */
:root {
  /* Brand palette — green / white / black */
  --green:        #a8cb57;
  --green-deep:   #93b845;
  --green-soft:   #eef4dd;   /* pale green wash on light backgrounds */
  --green-ink:    #43521c;   /* dark green for text on light where needed */

  --black:        #0c0d0c;
  --ink:          #111211;   /* dark section background */
  --ink-2:        #171a16;   /* raised dark panel */
  --paper:        #f4f5f1;   /* primary off-white ground */
  --paper-2:      #eceee6;   /* slightly deeper panel */
  --white:        #ffffff;

  --text:         #14160f;   /* body text on light */
  --text-soft:    #55584d;   /* muted text on light */
  --text-invert:  #f4f5f1;   /* body text on dark */
  --text-invert-soft: rgba(244,245,241,.66);

  --line:         rgba(20,22,15,.12);
  --line-strong:  rgba(20,22,15,.22);
  --line-dark:    rgba(255,255,255,.14);
  --star:         #d9b23a;

  /* Type */
  --font-display: 'Poppins', system-ui, sans-serif;
  --font-body:    'Inter', system-ui, -apple-system, Segoe UI, sans-serif;

  /* Rhythm */
  --shell:        1240px;
  --shell-wide:   1440px;
  --gutter:       clamp(20px, 5vw, 72px);
  --section-y:    clamp(64px, 8vw, 132px);

  --radius:       6px;
  --radius-lg:    12px;

  --ease:         cubic-bezier(.22,.61,.36,1);
  --shadow:       0 24px 60px -28px rgba(12,13,12,.45);
}

/* 2. RESET & BASE ========================================================= */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.62;
  font-feature-settings: "kern";
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
ul { list-style: none; margin: 0; padding: 0; }
p { margin: 0; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  /* Poppins ink spans ~1.1em (0.8em ascender + 0.3em descender), so anything
     below ~1.15 makes a 'g' descender collide with the ascender beneath it.
     1.22 keeps the display look while leaving comfortable clearance. */
  line-height: 1.22;
  letter-spacing: -.01em;
  margin: 0;
}

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--green); color: #000; padding: 10px 16px; border-radius: 0 0 8px 0;
  font-weight: 600;
}
.skip-link:focus { left: 0; }

.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;
}

:focus-visible { outline: 2px solid var(--green-deep); outline-offset: 3px; }

/* 3. LAYOUT HELPERS ======================================================= */
.shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.shell--wide { max-width: var(--shell-wide); }

.section { padding-block: var(--section-y); }
.section--ink { background: var(--ink); color: var(--text-invert); }
.section--paper2 { background: var(--paper-2); }
.section--green-soft { background: var(--green-soft); }

.eyebrow {
  font-family: var(--font-body);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--text-soft);
  margin: 0;
}
.section--ink .eyebrow { color: var(--text-invert-soft); }
.eyebrow--green { color: var(--green-deep); }

.lead {
  font-size: clamp(18px, 2vw, 21px);
  color: var(--text-soft);
  line-height: 1.6;
  max-width: 56ch;
}
.section--ink .lead { color: var(--text-invert-soft); }

.display-xl { font-size: clamp(44px, 8.5vw, 104px); }
.display-lg { font-size: clamp(38px, 6vw, 76px); }
.display-md { font-size: clamp(30px, 4.4vw, 54px); }

.center { text-align: center; }
.mx-auto { margin-inline: auto; }

/* 4. BUTTONS ============================================================== */
.btn {
  --btn-bg: var(--green);
  --btn-fg: #10130a;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 15px 26px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 13.5px;
  letter-spacing: .1em;
  text-transform: uppercase;
  border: 1px solid transparent;
  border-radius: var(--radius);
  transition: background .3s var(--ease), transform .3s var(--ease), color .3s var(--ease);
}
.btn svg { width: 17px; height: 17px; transition: transform .35s var(--ease); }
.btn:hover { transform: translateY(-2px); }
.btn:hover svg { transform: translate(3px, -3px); }

.btn--primary { --btn-bg: var(--green); --btn-fg: #10130a; }
.btn--primary:hover { background: var(--green-deep); }

.btn--dark { --btn-bg: var(--green); --btn-fg: #10130a; }
.btn--dark:hover { background: var(--green-deep); }

.btn--ghost {
  background: transparent;
  color: var(--green-ink);
  border-color: var(--green-deep);
}
.section--ink .btn--ghost { color: var(--green); border-color: var(--green); }
.btn--ghost:hover { background: var(--green); color: #10130a; border-color: var(--green); }

.btn--light { background: var(--paper); color: var(--text); }
.btn--light:hover { background: var(--white); }

.btn--block { width: 100%; justify-content: center; }

.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* rating pill */
.rating { display: flex; align-items: center; gap: 12px; }
.rating__score { font-weight: 700; font-size: 15px; }
.rating__stars { display: inline-flex; gap: 2px; }
.rating__stars svg { width: 15px; height: 15px; fill: var(--green); }
.rating__label { font-size: 13px; color: var(--text-invert-soft); letter-spacing: .02em; }

/* 5. HEADER / NAV ========================================================= */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: color-mix(in srgb, var(--paper) 86%, transparent);
  backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid var(--line);
  transition: transform .4s var(--ease), background .3s var(--ease);
}
.site-header__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; height: 76px;
  max-width: var(--shell-wide); margin-inline: auto; padding-inline: var(--gutter);
}
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand img { height: 46px; width: auto; }
.brand__word {
  font-family: var(--font-display); font-size: 22px; letter-spacing: -.01em;
  color: var(--text);
}

.nav { display: flex; align-items: center; gap: 34px; }
.nav a {
  font-size: 13.5px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase;
  color: var(--text-soft); position: relative; padding-block: 6px;
  transition: color .25s var(--ease);
}
.nav a::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 1.5px; width: 0;
  background: var(--green-deep); transition: width .3s var(--ease);
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--text); }
.nav a:hover::after, .nav a[aria-current="page"]::after { width: 100%; }

.header-cta { display: inline-flex; }

.nav-toggle {
  display: none; width: 46px; height: 46px; border: 1px solid var(--line-strong);
  background: transparent; border-radius: var(--radius); color: var(--text);
  align-items: center; justify-content: center;
}
.nav-toggle svg { width: 22px; height: 22px; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

/* 6. HERO ================================================================= */
.hero {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  min-height: min(88vh, 820px);
  background: var(--ink);
  color: var(--text-invert);
}
.hero__text {
  display: flex; flex-direction: column; justify-content: center;
  gap: 26px;
  padding: clamp(40px, 6vw, 92px) clamp(28px, 5vw, 84px);
  padding-left: max(var(--gutter), calc((100vw - var(--shell-wide)) / 2 + var(--gutter)));
}
.hero__title {
  font-family: 'Times New Roman MT', 'Times New Roman', Times, serif;
  font-size: clamp(46px, 6.6vw, 92px);
  line-height: 1.05;
}
.hero__title em { font-style: italic; color: var(--green); }
.hero__sub { font-size: clamp(16px, 1.5vw, 19px); color: var(--text-invert-soft); max-width: 46ch; }
.hero__actions { display: flex; align-items: center; gap: 26px; flex-wrap: wrap; margin-top: 6px; }
.hero__media { position: relative; overflow: hidden; background: var(--ink-2); }
.hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero__media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(120deg, rgba(12,13,12,.55) 0%, rgba(12,13,12,0) 42%);
}

/* 7. MARQUEE LOGO BAR ===================================================== */
.trust {
  background: var(--ink);
  color: var(--text-invert);
  padding-block: clamp(30px, 4vw, 52px);
  border-top: 1px solid var(--line-dark);
}
.trust__label { text-align: center; margin-bottom: 26px; }
.marquee {
  position: relative; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee__track {
  display: flex; align-items: center; gap: clamp(40px, 6vw, 96px);
  width: max-content;
  animation: marquee 42s linear infinite;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__track > * { flex: 0 0 auto; }
.marquee__track img { height: clamp(48px, 6vw, 74px); width: auto; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Trust/logo bar: white chips so logos with opaque backgrounds sit cleanly
   on the dark section, with a grayscale-by-default / colour-on-hover treatment. */
.trust .marquee__track { gap: clamp(16px, 2.2vw, 26px); }
.trust .marquee__track li {
  display: flex; align-items: center; justify-content: center;
  background: var(--white);
  border-radius: var(--radius);
  padding: 14px 24px;
}
.trust .marquee__track img {
  height: clamp(32px, 4vw, 48px); width: auto; max-width: 150px;
  object-fit: contain;
  filter: grayscale(1); opacity: .82;
  transition: opacity .3s var(--ease), filter .3s var(--ease);
}
.trust .marquee__track img:hover { opacity: 1; filter: grayscale(0); }

.chip-lite {
  flex: 0 0 auto;
  padding: 11px 20px;
  border: 1px solid var(--line-dark);
  border-radius: 999px;
  font-size: 14px;
  color: var(--text-invert-soft);
  white-space: nowrap;
}

/* 8. STATS BAND =========================================================== */
.stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
}
.stats__item {
  padding: clamp(40px, 5vw, 72px) clamp(18px, 2vw, 34px);
  text-align: center;
  border-right: 1px solid var(--line);
}
.stats__item:last-child { border-right: 0; }
.stats__value { font-family: var(--font-display); font-size: clamp(38px, 4.6vw, 60px); line-height: 1; }
.stats__value em { font-style: normal; color: var(--green-deep); }
.stats__label { margin-top: 12px; color: var(--text-soft); font-size: 14.5px; }

/* 9. ABOUT / INTRO SPLIT ================================================== */
.intro { align-items: center; }
.intro__grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 84px); align-items: center;
}
.intro__figure { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.intro__figure img { width: 100%; aspect-ratio: 4/3.4; object-fit: cover; }
.intro__body { display: flex; flex-direction: column; gap: 26px; }
.intro__quote {
  font-family: var(--font-display); font-size: clamp(24px, 2.6vw, 34px);
  line-height: 1.24; letter-spacing: -.01em;
}
.trust-badge { display: flex; align-items: center; gap: 16px; }
.avatar-stack { display: flex; }
.avatar-stack span {
  width: 42px; height: 42px; border-radius: 50%; margin-left: -12px;
  border: 2px solid var(--paper); display: grid; place-items: center;
  font-size: 13px; font-weight: 700; color: #10130a; background: var(--green);
}
.avatar-stack span:first-child { margin-left: 0; }
.avatar-stack .avatar-stack__more { background: var(--ink); color: var(--white); }
.trust-badge__meta { font-size: 12.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--text-soft); line-height: 1.5; }
.trust-badge__meta strong { color: var(--text); }

/* 10. CAPABILITIES CARDS ================================================== */
.caps__head { text-align: center; max-width: 62ch; margin-inline: auto; margin-bottom: clamp(40px, 5vw, 72px); display: flex; flex-direction: column; gap: 18px; align-items: center; }
.caps__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 2vw, 26px); }
.cap {
  position: relative; display: flex; flex-direction: column;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
  overflow: hidden; transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s var(--ease);
}
.cap:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.cap__media { position: relative; aspect-ratio: 4/3.2; overflow: hidden; background: var(--black); display: grid; place-items: center; padding: clamp(24px, 5%, 44px); }
.cap__media img { width: 60%; height: 60%; object-fit: contain; transition: transform .7s var(--ease); }
.cap:hover .cap__media img { transform: scale(1.06); }
.cap__body { padding: 24px 26px 30px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.cap__title { font-size: clamp(22px, 2.2vw, 27px); }
.cap__text { color: var(--text-soft); font-size: 15.5px; }
.cap__tag { margin-top: auto; padding-top: 14px; font-size: 12.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--green-deep); font-weight: 600; }

/* 11. SERVICES LIST ("what we do") ======================================= */
.dowork__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: clamp(32px, 4vw, 56px); }
.dowork__head h2 { max-width: 16ch; }
.service-list { border-top: 1px solid var(--line-dark); }
.service-row {
  display: grid; grid-template-columns: 60px 1fr 1.4fr auto;
  gap: 24px; align-items: center;
  padding: clamp(24px, 3vw, 38px) 6px;
  border-bottom: 1px solid var(--line-dark);
  transition: padding-inline .4s var(--ease);
}
.service-row:hover { padding-inline: 18px; background: rgba(168,203,87,.05); }
.service-row__num { font-family: var(--font-display); font-size: 20px; color: var(--green); }
.service-row__title { font-family: var(--font-display); font-size: clamp(22px, 2.4vw, 30px); }
.service-row__text { color: var(--text-invert-soft); font-size: 15px; }
.service-row__icon { width: 46px; height: 46px; border: 1px solid var(--line-dark); border-radius: 50%; display: grid; place-items: center; color: var(--green); transition: background .3s var(--ease), color .3s var(--ease); }
.service-row:hover .service-row__icon { background: var(--green); color: #10130a; }
.service-row__icon svg { width: 20px; height: 20px; }

/* 12. PROJECTS TICKER ==================================================== */
.projects__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 40px; }

.marquee--projects { padding-block: 4px; }
.marquee--projects .marquee__track { animation-duration: 52s; }
.projects-track { gap: 22px; }
.projects-track .project { flex: 0 0 320px; width: 320px; }

.project {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius-lg); overflow: hidden; display: flex; flex-direction: column;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.project:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.project__media { aspect-ratio: 16/10; overflow: hidden; background: var(--paper-2); }
.project__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.project:hover .project__media img { transform: scale(1.06); }
.project__media--logo { display: flex; align-items: center; justify-content: center; background: var(--white); padding: clamp(18px, 6%, 32px); }
.project__media--logo img { width: 68%; height: 68%; object-fit: contain; }
.project__body { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.project__tag { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--green-deep); font-weight: 600; }
.project__title { font-size: 22px; }
.project__meta { margin-top: auto; padding-top: 12px; color: var(--text-soft); font-size: 14px; border-top: 1px solid var(--line); }

/* 13. TESTIMONIAL / QUOTE ================================================ */
.quote { text-align: center; }
.quote__mark { font-family: var(--font-display); font-size: 90px; line-height: .5; color: var(--green); }
.quote__text {
  font-family: var(--font-display); font-size: clamp(26px, 3.4vw, 46px);
  line-height: 1.22; letter-spacing: -.01em; max-width: 20ch; margin: 24px auto 28px;
}
.quote__cite { font-size: 14px; letter-spacing: .06em; text-transform: uppercase; color: var(--text-invert-soft); }
.quote__cite strong { color: var(--green); }

/* 14. CONTACT SPLIT ====================================================== */
.contact { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: stretch; }
.contact__aside {
  background: var(--ink); color: var(--text-invert);
  padding: clamp(48px, 6vw, 96px) clamp(28px, 5vw, 72px);
  padding-left: max(var(--gutter), calc((100vw - var(--shell-wide)) / 2 + var(--gutter)));
  display: flex; flex-direction: column; gap: 24px; justify-content: center;
  min-width: 0; overflow-wrap: break-word;
}
.contact__title { font-size: clamp(40px, 5vw, 72px); line-height: 1; }
.contact__aside .lead { color: var(--text-invert-soft); }
.contact__footnote { margin-top: auto; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--text-invert-soft); }
.contact__form {
  background: var(--paper); padding: clamp(40px, 5vw, 80px) clamp(28px, 5vw, 72px);
  padding-right: max(var(--gutter), calc((100vw - var(--shell-wide)) / 2 + var(--gutter)));
  display: flex; flex-direction: column; justify-content: center;
  min-width: 0;
}
.form-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 18px 20px; }
.field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 14px; color: var(--text-soft); font-weight: 500; }
.field label .req { color: var(--green-deep); }
.field input, .field select, .field textarea {
  font: inherit; font-size: 15px; color: var(--text);
  background: var(--white); border: 1px solid var(--line-strong); border-radius: var(--radius);
  padding: 13px 15px; width: 100%; transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.field textarea { resize: vertical; min-height: 128px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--green-deep); box-shadow: 0 0 0 3px rgba(168,203,87,.28);
}
.form-status { font-size: 14px; margin-top: 14px; min-height: 1.2em; }
.form-status.is-ok { color: var(--green-ink); }

/* 15. FOOTER ============================================================= */
.site-footer { background: var(--black); color: var(--text-invert); padding-block: clamp(56px, 6vw, 88px) 32px; }
.site-footer__grid {
  display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr) minmax(0, 1.2fr) minmax(0, 1fr); gap: 40px;
  padding-bottom: 48px; border-bottom: 1px solid var(--line-dark);
}
.site-footer__grid > * { min-width: 0; }
.site-footer__brand { display: flex; flex-direction: column; gap: 18px; max-width: 34ch; }
.site-footer__brand img { height: 58px; width: auto; align-self: flex-start; object-fit: contain; }
.site-footer__brand p { color: var(--text-invert-soft); font-size: 15px; }
.site-footer h3 { font-family: var(--font-body); font-size: 12.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--green); margin-bottom: 16px; }
.site-footer li { margin-bottom: 10px; color: var(--text-invert-soft); font-size: 15px; overflow-wrap: break-word; }
.site-footer a { color: var(--text-invert-soft); transition: color .25s var(--ease); }
.site-footer a:hover { color: var(--green); }
.site-footer__legal { display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; padding-top: 26px; font-size: 13px; color: var(--text-invert-soft); }
.site-footer__legal em { font-family: var(--font-display); font-style: italic; color: var(--green); }

/* 16. INNER PAGES ======================================================== */
.page-hero { background: var(--ink); color: var(--text-invert); padding-block: clamp(96px, 12vw, 168px) clamp(56px, 7vw, 96px); }
.page-hero .shell { display: flex; flex-direction: column; gap: 22px; }
.page-hero h1 { font-size: clamp(44px, 7vw, 88px); }
.page-hero .lead { color: var(--text-invert-soft); max-width: 60ch; }

.agenda__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 4vw, 64px); align-items: center; }
.agenda__figure { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.agenda__figure img { width: 100%; aspect-ratio: 4/4.4; object-fit: cover; }
.agenda__body { display: flex; flex-direction: column; gap: 20px; }

.pillars { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; margin-top: clamp(36px, 4vw, 60px); }
.pillar {
  background: var(--black); border: 1px solid var(--line-dark); border-radius: var(--radius-lg);
  padding: clamp(28px, 3vw, 36px) clamp(18px, 2.2vw, 24px);
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 16px;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.pillar:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.pillar__icon { width: 34px; height: 34px; color: var(--text-invert); }
.pillar__icon svg { width: 100%; height: 100%; }
.pillar__rule { width: 100%; max-width: 96px; height: 1px; background: var(--line-dark); }
.pillar h3 { font-size: clamp(19px, 1.8vw, 22px); color: var(--text-invert); }
.pillar p { color: var(--text-invert-soft); font-size: 14px; font-style: italic; line-height: 1.5; }

.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 22px; }
.member { text-align: center; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 34px 18px; transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.member:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.member__avatar { width: 84px; height: 84px; margin: 0 auto 18px; border-radius: 50%; background: linear-gradient(145deg, var(--green), var(--green-deep)); display: grid; place-items: center; font-family: var(--font-display); font-size: 30px; color: #10130a; }
.member__name { font-size: 20px; margin-bottom: 4px; }
.member__role { color: var(--green-deep); font-size: 13px; letter-spacing: .06em; text-transform: uppercase; font-weight: 600; margin-bottom: 8px; }
.member__email { color: var(--text-soft); font-size: 13px; white-space: nowrap; }
.member__email:hover { color: var(--green-deep); }

.contact-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.contact-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px 28px; display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.contact-card__icon { width: 46px; height: 46px; border-radius: 50%; background: var(--green-soft); color: var(--green-ink); display: grid; place-items: center; }
.contact-card__icon svg { width: 22px; height: 22px; }
.contact-card h3 { font-family: var(--font-body); font-size: 12.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--text-soft); }
.contact-card p { font-size: 16px; overflow-wrap: break-word; color: var(--text); }
.contact-card a:hover { color: var(--green-deep); }

/* Long-form prose (legal pages: privacy policy, terms of service) --------- */
.prose { max-width: 74ch; }
.prose > * + * { margin-top: 20px; }
.prose h2 {
  font-size: clamp(24px, 2.6vw, 31px);
  margin-top: clamp(40px, 4vw, 56px);
  padding-top: clamp(24px, 3vw, 32px);
  border-top: 1px solid var(--line);
}
.prose h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.prose h3 { font-size: clamp(18px, 1.8vw, 21px); margin-top: 28px; }
.prose p, .prose li { color: var(--text-soft); font-size: 16.5px; line-height: 1.7; }
.prose strong { color: var(--text); font-weight: 600; }
.prose a { color: var(--green-ink); text-decoration: underline; text-underline-offset: 3px; }
.prose a:hover { color: var(--green-deep); }
.prose ul { list-style: disc; padding-left: 22px; }
.prose li { margin-top: 8px; }
.prose li::marker { color: var(--green-deep); }
.prose__meta {
  font-size: 13px; letter-spacing: .06em; text-transform: uppercase;
  color: var(--text-soft); font-weight: 600;
}
.prose__note {
  background: var(--green-soft); border-left: 3px solid var(--green-deep);
  border-radius: var(--radius); padding: 18px 22px;
}
.prose__note p { color: var(--green-ink); font-size: 15.5px; }

/* 17. REVEAL ANIMATIONS ================================================== */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .08s; }
.reveal[data-delay="2"] { transition-delay: .16s; }
.reveal[data-delay="3"] { transition-delay: .24s; }
.reveal[data-delay="4"] { transition-delay: .32s; }

/* 18. RESPONSIVE ========================================================= */
@media (max-width: 1080px) {
  .caps__grid { grid-template-columns: repeat(2, 1fr); }
  .pillars { grid-template-columns: repeat(3, 1fr); }
  .site-footer__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; min-height: 0; }
  .hero__media { min-height: 320px; order: -1; }
  .hero__text { padding: clamp(40px,8vw,72px) var(--gutter); }
  .intro__grid, .agenda__grid { grid-template-columns: 1fr; }
  .intro__figure { order: -1; }
  .contact { grid-template-columns: minmax(0, 1fr); }
  .contact__aside, .contact__form { padding-inline: var(--gutter); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stats__item:nth-child(2) { border-right: 0; }
  .stats__item:nth-child(1), .stats__item:nth-child(2) { border-bottom: 1px solid var(--line); }
  .service-row { grid-template-columns: 40px 1fr auto; }
  .service-row__text { display: none; }
}

@media (max-width: 760px) {
  .header-cta { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav {
    position: fixed; inset: 76px 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--ink); padding: 12px var(--gutter) 28px;
    border-bottom: 1px solid var(--line-dark);
    transform: translateY(-140%); transition: transform .4s var(--ease);
    max-height: calc(100vh - 76px); overflow-y: auto;
  }
  .nav.is-open { transform: translateY(0); }
  .nav a { color: var(--text-invert); padding: 16px 0; border-bottom: 1px solid var(--line-dark); font-size: 16px; }
  .nav a::after { display: none; }
  .nav .btn { margin-top: 18px; justify-content: center; }
  .caps__grid { grid-template-columns: 1fr; }
  .pillars { grid-template-columns: 1fr 1fr; }
  .contact-cards { grid-template-columns: minmax(0, 1fr); }
  .form-grid { grid-template-columns: minmax(0, 1fr); }
  .site-footer__grid { grid-template-columns: minmax(0, 1fr); gap: 30px; }
}

@media (max-width: 460px) {
  body { font-size: 16px; }
  .pillars { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr; }
  .stats__item { border-right: 0; border-bottom: 1px solid var(--line); }
}

/* 19. MOTION & PRINT ===================================================== */
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
  .marquee__track { animation: none; }
}

@media print {
  .site-header, .nav-toggle, .contact__form, .marquee { display: none; }
  body { background: #fff; color: #000; }
}
