/* ============================================================
   Greenmark Wellbeing Studio
   Palette: near-black olive · bone paper · acid-lime
   Type: DM Serif Display (display) · Manrope (body) · Martian Mono (labels)
   ============================================================ */

:root {
  --olive-950: #14160d;   /* near-black olive */
  --olive-900: #1b1e12;
  --olive-850: #232717;
  --olive-800: #2c3019;
  --olive-700: #3a3f23;
  --bone-50:  #f6f3e8;    /* bone paper */
  --bone-100: #efeadb;
  --bone-200: #e4ddc8;
  --bone-300: #d2c9ac;
  --lime-500: #c4f135;    /* acid-lime accent */
  --lime-400: #d2f85a;
  --lime-600: #a9d61f;
  --ink: #14160d;
  --ink-soft: #4a4d3c;
  --ink-mute: #6a6c5a;

  --font-display: "DM Serif Display", Georgia, serif;
  --font-body: "Manrope", system-ui, -apple-system, sans-serif;
  --font-mono: "Martian Mono", ui-monospace, monospace;

  --maxw: 1240px;
  --radius: 18px;
  --radius-sm: 12px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --shadow-soft: 0 24px 60px -28px rgba(20, 22, 13, 0.55);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bone-50);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }

a { color: inherit; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.04;
  letter-spacing: -0.015em;
  margin: 0;
}

p { margin: 0 0 1.1em; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }

.eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--ink-mute);
  display: inline-block;
}
.eyebrow--lime { color: var(--olive-800); }

/* ---- Skip link & a11y ---- */
.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 200;
  background: var(--olive-950); color: var(--bone-50);
  padding: 12px 20px; border-radius: 0 0 10px 0;
  font-family: var(--font-mono); font-size: 12px;
}
.skip-link:focus { left: 0; }

a:focus-visible, button:focus-visible, input:focus-visible,
textarea:focus-visible, .btn:focus-visible {
  outline: 3px solid var(--olive-800);
  outline-offset: 3px;
  border-radius: 6px;
}
:root[data-dark] a:focus-visible { outline-color: var(--lime-500); }

/* ============================================================
   Header / nav
   ============================================================ */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(246, 243, 232, 0.82);
  backdrop-filter: saturate(150%) blur(14px);
  -webkit-backdrop-filter: saturate(150%) blur(14px);
  border-bottom: 1px solid var(--bone-200);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px; gap: 24px;
}
.brand {
  display: inline-flex; align-items: center; gap: 11px;
  text-decoration: none; color: var(--ink); font-weight: 700;
}
.brand__mark {
  width: 34px; height: 34px; flex: 0 0 34px;
  border-radius: 10px; background: var(--olive-950);
  display: grid; place-items: center;
}
.brand__mark svg { width: 20px; height: 20px; }
.brand__name {
  font-family: var(--font-display); font-size: 20px; letter-spacing: -0.01em;
  line-height: 1;
}
.brand__name small {
  display: block; font-family: var(--font-mono); font-size: 9px;
  letter-spacing: 0.22em; text-transform: uppercase; color: var(--ink-mute);
  margin-top: 3px; font-weight: 500;
}
.nav__links { display: flex; align-items: center; gap: 30px; }
.nav__links a {
  text-decoration: none; font-size: 15px; font-weight: 600; color: var(--ink-soft);
  position: relative; padding: 6px 0; transition: color 0.25s var(--ease);
}
.nav__links a::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 0;
  background: var(--olive-900); transition: width 0.3s var(--ease);
}
.nav__links a:hover { color: var(--ink); }
.nav__links a:hover::after, .nav__links a[aria-current="page"]::after { width: 100%; }
.nav__links a[aria-current="page"] { color: var(--ink); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--font-body); font-weight: 700; font-size: 15px;
  padding: 13px 22px; border-radius: 999px; border: 1.5px solid transparent;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform 0.2s var(--ease), box-shadow 0.25s var(--ease), background 0.25s var(--ease);
}
.btn--primary {
  background: var(--olive-950); color: var(--bone-50);
  position: relative; overflow: hidden;
}
.btn--primary::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(110deg, transparent 30%, rgba(196, 241, 53, 0.35) 50%, transparent 70%);
  transform: translateX(-120%);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: var(--shadow-soft); }
.btn--primary:hover::before { animation: sheen 0.9s var(--ease); }
.btn--primary:active { transform: translateY(0) scale(0.985); }
.btn--lime {
  background: var(--lime-500); color: var(--olive-950);
  position: relative; overflow: hidden;
}
.btn--lime:hover { transform: translateY(-2px); box-shadow: 0 18px 40px -18px rgba(169, 214, 31, 0.7); background: var(--lime-400); }
.btn--lime:active { transform: translateY(0) scale(0.985); }
.btn--ghost { border-color: var(--olive-800); color: var(--ink); background: transparent; }
.btn--ghost:hover { background: var(--olive-950); color: var(--bone-50); transform: translateY(-2px); }
.btn--ghost-light { border-color: rgba(246,243,232,0.4); color: var(--bone-50); background: transparent; }
.btn--ghost-light:hover { background: var(--bone-50); color: var(--olive-950); transform: translateY(-2px); }

@keyframes sheen { to { transform: translateX(120%); } }

.nav__toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav__toggle span { display: block; width: 24px; height: 2px; background: var(--ink); margin: 5px 0; transition: 0.3s var(--ease); }

/* ============================================================
   Hero
   ============================================================ */
.hero {
  position: relative; overflow: hidden;
  background: var(--olive-950); color: var(--bone-50);
  padding: clamp(72px, 11vw, 130px) 0 clamp(64px, 9vw, 110px);
}
.hero__mesh {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(60% 60% at 12% 18%, rgba(196, 241, 53, 0.16), transparent 60%),
    radial-gradient(50% 55% at 88% 8%, rgba(196, 241, 53, 0.10), transparent 55%),
    radial-gradient(70% 70% at 78% 92%, rgba(58, 63, 35, 0.7), transparent 60%);
}
.hero__grid {
  position: absolute; inset: 0; z-index: 0; opacity: 0.5; pointer-events: none;
  background-image: linear-gradient(rgba(246,243,232,0.04) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(246,243,232,0.04) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(120% 90% at 50% 0%, #000 30%, transparent 80%);
          mask-image: radial-gradient(120% 90% at 50% 0%, #000 30%, transparent 80%);
}
.hero .wrap { position: relative; z-index: 2; }
.hero__inner {
  display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(36px, 5vw, 72px);
  align-items: center;
}
.hero__eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--lime-500); margin-bottom: 26px;
}
.hero__eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--lime-500); }
.hero h1 {
  font-size: clamp(2.9rem, 6.4vw, 5.1rem);
  color: var(--bone-50); margin-bottom: 24px;
}
.hero h1 em { font-style: italic; color: var(--lime-500); }
.hero__sub {
  font-size: clamp(1.05rem, 1.7vw, 1.28rem); color: var(--bone-200);
  max-width: 38ch; margin-bottom: 34px; line-height: 1.55;
}
.hero__cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero__aside {
  position: relative;
}
.hero__card {
  position: relative; border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow-soft);
  border: 1px solid rgba(246,243,232,0.12);
  transform-style: preserve-3d;
}
.hero__card img { width: 100%; aspect-ratio: 4 / 4.4; object-fit: cover; }
.hero__card-tag {
  position: absolute; left: 16px; bottom: 16px;
  background: rgba(20,22,13,0.78); backdrop-filter: blur(6px);
  color: var(--bone-50); padding: 9px 15px; border-radius: 999px;
  font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.16em;
  text-transform: uppercase; border: 1px solid rgba(196,241,53,0.3);
}
.hero__stat {
  position: absolute; top: -22px; right: -14px;
  background: var(--lime-500); color: var(--olive-950);
  border-radius: 16px; padding: 16px 20px; box-shadow: var(--shadow-soft);
  transform: rotate(3deg);
}
.hero__stat b { font-family: var(--font-display); font-size: 30px; display: block; line-height: 1; }
.hero__stat span { font-family: var(--font-mono); font-size: 9.5px; letter-spacing: 0.14em; text-transform: uppercase; }

/* ============================================================
   Generic section scaffolding
   ============================================================ */
section { position: relative; }
.section { padding: clamp(64px, 9vw, 116px) 0; }
.section--bone { background: var(--bone-50); }
.section--paper { background: var(--bone-100); }
.section--olive { background: var(--olive-950); color: var(--bone-50); }
.section--olive .eyebrow { color: var(--lime-500); }
.section--olive h2, .section--olive h3 { color: var(--bone-50); }

.section__head { max-width: 60ch; margin-bottom: 52px; }
.section__head h2 { font-size: clamp(2rem, 4vw, 3.2rem); margin: 16px 0 0; }
.section__head p { margin-top: 18px; color: var(--ink-soft); font-size: 1.12rem; max-width: 56ch; }
.section--olive .section__head p { color: var(--bone-200); }

/* ---- Trust strip ---- */
.trust {
  display: flex; align-items: center; gap: 40px; flex-wrap: wrap;
  justify-content: center; padding: 30px 0;
  border-bottom: 1px solid var(--bone-200);
}
.trust span {
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--ink-mute); display: inline-flex;
  align-items: center; gap: 9px; font-weight: 500;
}
.trust svg { width: 18px; height: 18px; opacity: 0.8; }

/* ---- Stats band ---- */
.stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  background: rgba(246,243,232,0.12); border: 1px solid rgba(246,243,232,0.12);
  border-radius: var(--radius); overflow: hidden;
}
.stat { background: var(--olive-950); padding: 34px 26px; }
.stat b { font-family: var(--font-display); font-size: clamp(2.4rem, 4vw, 3.4rem); color: var(--lime-500); display: block; line-height: 1; }
.stat span { display: block; margin-top: 12px; color: var(--bone-200); font-size: 14px; line-height: 1.4; }

/* ---- Pillars / services cards (tilt) ---- */
.tilt-grid { display: grid; gap: 22px; }
.cols-3 { grid-template-columns: repeat(3, 1fr); }
.cols-2 { grid-template-columns: repeat(2, 1fr); }

.tilt {
  position: relative; border-radius: var(--radius);
  background: var(--bone-50); border: 1px solid var(--bone-200);
  padding: 34px 30px 32px; overflow: hidden;
  transform-style: preserve-3d; will-change: transform;
  transition: box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}
.tilt::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(196,241,53,0.16), transparent 45%);
  opacity: 0; transition: opacity 0.3s var(--ease); pointer-events: none;
}
.tilt:hover { box-shadow: var(--shadow-soft); border-color: var(--bone-300); }
.tilt:hover::after { opacity: 1; }
.tilt__num {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.2em;
  color: var(--olive-700); margin-bottom: 22px; display: block;
}
.tilt__icon {
  width: 50px; height: 50px; border-radius: 13px; background: var(--olive-950);
  display: grid; place-items: center; margin-bottom: 20px;
}
.tilt__icon svg { width: 26px; height: 26px; }
.tilt h3 { font-size: 1.5rem; margin-bottom: 12px; }
.tilt p { color: var(--ink-soft); font-size: 0.98rem; margin: 0; }
.tilt--olive { background: var(--olive-900); border-color: var(--olive-700); }
.tilt--olive h3 { color: var(--bone-50); }
.tilt--olive p { color: var(--bone-200); }
.tilt--olive .tilt__num { color: var(--lime-500); }
.tilt--olive .tilt__icon { background: var(--lime-500); }
.tilt--olive .tilt__icon svg { stroke: var(--olive-950); }

/* ---- Approach / split feature ---- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 70px); align-items: center; }
.split__media { position: relative; }
.split__media img { border-radius: var(--radius); box-shadow: var(--shadow-soft); aspect-ratio: 5/4; object-fit: cover; width: 100%; }
.split__media .hero__stat { position: absolute; }
.split ul { list-style: none; padding: 0; margin: 22px 0 0; }
.split li { display: flex; gap: 14px; padding: 15px 0; border-top: 1px solid var(--bone-200); align-items: flex-start; }
.split li:last-child { border-bottom: 1px solid var(--bone-200); }
.split li svg { flex: 0 0 22px; width: 22px; height: 22px; margin-top: 2px; }
.split li b { display: block; font-size: 1.02rem; }
.split li span { color: var(--ink-soft); font-size: 0.95rem; }

/* ---- Testimonials ---- */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.quote {
  background: var(--bone-50); border: 1px solid var(--bone-200);
  border-radius: var(--radius); padding: 30px 28px;
  display: flex; flex-direction: column;
}
.quote__stars { color: var(--lime-600); letter-spacing: 3px; margin-bottom: 16px; font-size: 14px; }
.quote p { font-family: var(--font-display); font-size: 1.28rem; line-height: 1.32; color: var(--ink); margin-bottom: 22px; }
.quote__by { margin-top: auto; display: flex; align-items: center; gap: 12px; }
.quote__av { width: 42px; height: 42px; border-radius: 50%; background: var(--olive-950); color: var(--lime-500); display: grid; place-items: center; font-family: var(--font-display); font-size: 18px; }
.quote__by b { font-size: 0.95rem; display: block; }
.quote__by span { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-mute); }

/* ---- Insights / posts ---- */
.insights { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.post-card {
  display: flex; flex-direction: column; text-decoration: none; color: inherit;
  background: var(--bone-50); border: 1px solid var(--bone-200);
  border-radius: var(--radius); overflow: hidden; height: 100%;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}
.post-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-soft); border-color: var(--bone-300); }
.post-card__media { aspect-ratio: 16/10; overflow: hidden; background: var(--bone-200); }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--ease); }
.post-card:hover .post-card__media img { transform: scale(1.05); }
.post-card__body { padding: 24px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.post-card__meta { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--olive-700); margin-bottom: 14px; display: flex; gap: 12px; }
.post-card h3 { font-size: 1.32rem; line-height: 1.12; margin-bottom: 12px; }
.post-card p { font-size: 0.95rem; color: var(--ink-soft); margin: 0 0 18px; }
.post-card__more { margin-top: auto; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink); font-weight: 500; display: inline-flex; gap: 8px; align-items: center; }
.post-card:hover .post-card__more { color: var(--olive-700); }

.feature-post {
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 0;
  border-radius: var(--radius); overflow: hidden; border: 1px solid var(--bone-200);
  background: var(--olive-950); color: var(--bone-50); margin-bottom: 24px;
  text-decoration: none;
  transition: box-shadow 0.3s var(--ease);
}
.feature-post:hover { box-shadow: var(--shadow-soft); }
.feature-post__media { overflow: hidden; min-height: 280px; }
.feature-post__media img { width: 100%; height: 100%; object-fit: cover; min-height: 280px; transition: transform 0.6s var(--ease); }
.feature-post:hover .feature-post__media img { transform: scale(1.04); }
.feature-post__body { padding: clamp(30px, 4vw, 50px); display: flex; flex-direction: column; justify-content: center; }
.feature-post__body .eyebrow { color: var(--lime-500); margin-bottom: 16px; }
.feature-post__body h3 { color: var(--bone-50); font-size: clamp(1.7rem, 2.8vw, 2.4rem); margin-bottom: 16px; }
.feature-post__body p { color: var(--bone-200); margin-bottom: 22px; }

/* ---- Resources / blogroll ---- */
.resources { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.resource {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 22px 24px; border-radius: var(--radius-sm);
  background: var(--olive-900); border: 1px solid var(--olive-700);
  text-decoration: none; color: var(--bone-50);
  transition: background 0.25s var(--ease), transform 0.25s var(--ease), border-color 0.25s var(--ease);
}
.resource:hover { background: var(--olive-850); transform: translateX(4px); border-color: var(--lime-600); }
.resource b { font-size: 1.05rem; font-weight: 700; }
.resource span { display: block; font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--lime-500); margin-top: 6px; }
.resource svg { flex: 0 0 20px; width: 20px; height: 20px; stroke: var(--lime-500); }

/* ---- CTA band ---- */
.cta-band { position: relative; overflow: hidden; background: var(--lime-500); color: var(--olive-950); }
.cta-band__mesh { position: absolute; inset: 0; background: radial-gradient(60% 80% at 85% 20%, rgba(20,22,13,0.14), transparent 60%); pointer-events: none; }
.cta-band .wrap { position: relative; z-index: 2; }
.cta-band__inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; flex-wrap: wrap; padding: clamp(48px, 7vw, 84px) 0; }
.cta-band h2 { font-size: clamp(2rem, 4vw, 3.2rem); max-width: 18ch; }
.cta-band p { margin: 14px 0 0; max-width: 40ch; font-size: 1.1rem; }

/* ============================================================
   Footer
   ============================================================ */
.site-footer { background: var(--olive-950); color: var(--bone-200); padding: 70px 0 36px; }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 50px; border-bottom: 1px solid var(--olive-700); }
.footer__brand .brand__name { color: var(--bone-50); }
.footer__brand p { margin-top: 18px; max-width: 34ch; font-size: 0.95rem; color: var(--bone-200); }
.footer__col h4 { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--lime-500); margin-bottom: 18px; font-weight: 500; }
.footer__col a, .footer__col p { display: block; text-decoration: none; color: var(--bone-200); font-size: 0.95rem; margin-bottom: 12px; transition: color 0.2s var(--ease); }
.footer__col a:hover { color: var(--lime-500); }
.footer__bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 28px; flex-wrap: wrap; gap: 14px; }
.footer__bottom p { margin: 0; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.06em; color: var(--ink-mute); }

/* ============================================================
   Article page
   ============================================================ */
.article-hero { background: var(--olive-950); color: var(--bone-50); padding: clamp(48px, 7vw, 84px) 0 clamp(40px, 6vw, 64px); position: relative; overflow: hidden; }
.article-hero__mesh { position: absolute; inset: 0; background: radial-gradient(50% 60% at 15% 10%, rgba(196,241,53,0.12), transparent 60%); pointer-events: none; }
.article-hero .wrap { position: relative; z-index: 2; max-width: 880px; }
.breadcrumb { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--bone-300); margin-bottom: 24px; }
.breadcrumb a { color: var(--lime-500); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
.article-hero h1 { font-size: clamp(2.1rem, 4.4vw, 3.5rem); color: var(--bone-50); max-width: 20ch; margin-bottom: 22px; }
.article-meta { display: flex; gap: 22px; flex-wrap: wrap; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--bone-200); }
.article-meta span { display: inline-flex; align-items: center; gap: 8px; }
.article-meta svg { width: 15px; height: 15px; stroke: var(--lime-500); }

.article-layout { max-width: 760px; margin: 0 auto; padding: clamp(48px, 7vw, 80px) 28px clamp(40px, 6vw, 70px); }
.article-figure { margin: 0 0 40px; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-soft); }
.article-figure img { width: 100%; }

.article-body { font-size: 1.08rem; line-height: 1.72; color: #2a2c1f; }
.article-body > p:first-of-type { font-size: 1.22rem; line-height: 1.6; color: var(--ink); }
.article-body h2 { font-size: clamp(1.7rem, 3vw, 2.2rem); margin: 48px 0 18px; }
.article-body h3 { font-size: 1.32rem; margin: 34px 0 12px; }
.article-body p { margin: 0 0 1.3em; }
.article-body a { color: var(--olive-800); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1.5px; font-weight: 600; transition: color 0.2s var(--ease); }
.article-body a:hover { color: var(--lime-600); }
.article-body ul, .article-body ol { margin: 0 0 1.4em; padding-left: 1.3em; }
.article-body li { margin-bottom: 0.6em; }
.article-body img { border-radius: var(--radius); margin: 32px 0; box-shadow: var(--shadow-soft); }
.article-body figure { margin: 32px 0; }
.article-body section { margin: 16px 0; }
.article-body strong { font-weight: 700; }
.article-body em { font-style: italic; }

.article-cta {
  margin-top: 56px; padding: 40px; border-radius: var(--radius);
  background: var(--olive-950); color: var(--bone-50); text-align: center;
}
.article-cta h3 { color: var(--bone-50); font-size: 1.7rem; margin-bottom: 14px; }
.article-cta p { color: var(--bone-200); margin-bottom: 24px; }

/* ---- Page hero (about/services/contact) ---- */
.page-hero { background: var(--olive-950); color: var(--bone-50); padding: clamp(64px, 9vw, 120px) 0 clamp(48px, 7vw, 80px); position: relative; overflow: hidden; }
.page-hero__mesh { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(55% 70% at 80% 10%, rgba(196,241,53,0.13), transparent 60%), radial-gradient(50% 60% at 10% 90%, rgba(58,63,35,0.6), transparent 60%); }
.page-hero .wrap { position: relative; z-index: 2; max-width: 820px; }
.page-hero h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); color: var(--bone-50); margin: 22px 0; }
.page-hero p { font-size: clamp(1.1rem, 1.8vw, 1.3rem); color: var(--bone-200); max-width: 50ch; }

/* ---- Team ---- */
.team { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.member { text-align: left; }
.member__photo { aspect-ratio: 1; border-radius: var(--radius); overflow: hidden; margin-bottom: 18px; background: var(--olive-900); display: grid; place-items: center; position: relative; }
.member__photo span { font-family: var(--font-display); font-size: 3rem; color: var(--lime-500); }
.member__photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(160deg, rgba(196,241,53,0.08), transparent 60%); }
.member h3 { font-size: 1.35rem; margin-bottom: 4px; }
.member .role { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--olive-700); margin-bottom: 12px; }
.member p { color: var(--ink-soft); font-size: 0.95rem; margin: 0; }

/* ---- Contact ---- */
.contact-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(36px, 5vw, 64px); align-items: start; }
.contact-info h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); margin-bottom: 18px; }
.contact-info p { color: var(--ink-soft); }
.contact-list { list-style: none; padding: 0; margin: 32px 0 0; }
.contact-list li { display: flex; gap: 16px; align-items: flex-start; padding: 18px 0; border-top: 1px solid var(--bone-200); }
.contact-list li:last-child { border-bottom: 1px solid var(--bone-200); }
.contact-list .ico { flex: 0 0 44px; width: 44px; height: 44px; border-radius: 12px; background: var(--olive-950); display: grid; place-items: center; }
.contact-list .ico svg { width: 22px; height: 22px; stroke: var(--lime-500); }
.contact-list b { display: block; font-size: 0.78rem; font-family: var(--font-mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-mute); margin-bottom: 4px; }
.contact-list a, .contact-list span { color: var(--ink); text-decoration: none; font-size: 1.05rem; font-weight: 600; }
.contact-list a:hover { color: var(--olive-700); }

.form-card { background: var(--bone-50); border: 1px solid var(--bone-200); border-radius: var(--radius); padding: clamp(28px, 4vw, 44px); box-shadow: var(--shadow-soft); }
.field { margin-bottom: 22px; }
.field label { display: block; font-weight: 700; font-size: 0.92rem; margin-bottom: 8px; }
.field label .req { color: var(--olive-700); }
.field input, .field textarea {
  width: 100%; font-family: var(--font-body); font-size: 1rem; color: var(--ink);
  padding: 14px 16px; border-radius: var(--radius-sm); border: 1.5px solid var(--bone-300);
  background: #fff; transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.field input::placeholder, .field textarea::placeholder { color: #8a8c79; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--olive-800); box-shadow: 0 0 0 3px rgba(58,63,35,0.16); }
.field textarea { resize: vertical; min-height: 130px; }
.field .hint { font-size: 0.82rem; color: var(--ink-mute); margin-top: 7px; }
.form-note { font-size: 0.85rem; color: var(--ink-mute); margin-top: 18px; }
.form-success { display: none; padding: 16px 18px; border-radius: var(--radius-sm); background: var(--lime-500); color: var(--olive-950); font-weight: 600; margin-bottom: 22px; }
.form-success.show { display: block; }

/* ============================================================
   Reveal animation (JS-driven)
   ============================================================ */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-d="1"] { transition-delay: 0.08s; }
.reveal[data-d="2"] { transition-delay: 0.16s; }
.reveal[data-d="3"] { transition-delay: 0.24s; }
.reveal[data-d="4"] { transition-delay: 0.32s; }
.reveal[data-d="5"] { transition-delay: 0.40s; }

.hero-anim { opacity: 0; transform: translateY(20px); }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1000px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__aside { max-width: 420px; }
  .hero__stat { right: 8px; }
  .cols-3, .insights, .quotes, .team { grid-template-columns: repeat(2, 1fr); }
  .feature-post { grid-template-columns: 1fr; }
  .feature-post__media { min-height: 240px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  .nav__links { display: none; position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; background: var(--bone-50); border-bottom: 1px solid var(--bone-200); padding: 18px 28px; gap: 6px; align-items: stretch; box-shadow: var(--shadow-soft); }
  .nav__links.open { display: flex; }
  .nav__links a { padding: 12px 0; font-size: 17px; }
  .nav__links .btn { margin-top: 8px; text-align: center; justify-content: center; }
  .nav__toggle { display: block; }
  .split { grid-template-columns: 1fr; }
  .cols-3, .cols-2, .insights, .quotes, .team, .resources, .stats { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .cta-band__inner { flex-direction: column; align-items: flex-start; }
  .hero__stat { display: none; }
}
@media (max-width: 460px) {
  .footer__grid { grid-template-columns: 1fr; }
  .wrap { padding: 0 20px; }
}

/* ============================================================
   Reduced motion
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  .reveal, .hero-anim { opacity: 1 !important; transform: none !important; }
  .btn--primary::before { display: none; }
}
