:root {
  --bg: #edf6ef;
  --surface: #fbfefb;
  --surface-soft: #f1f7f2;
  --text: #132319;
  --muted: #4d6657;
  --line: #c3d5c7;
  --line-strong: #9bb8a3;
  --brand: #266a45;
  --brand-strong: #164730;
  --brand-deep: #0e2c1f;
  --accent: #78b889;
  --accent-bright: #b3e075;
  --ink-on-dark: #eff6f1;
  --shadow-soft: 0 20px 44px rgba(16, 45, 31, 0.12);
  --shadow-hard: 0 22px 64px rgba(10, 30, 23, 0.34);
  --radius: 20px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "IBM Plex Sans", "Segoe UI", sans-serif;
  color: var(--text);
  line-height: 1.6;
  background: radial-gradient(circle at 12% -15%, #d7eadf 0%, transparent 30%),
    radial-gradient(circle at 90% 110%, #d5e8da 0%, transparent 32%),
    linear-gradient(180deg, #f5fbf6 0%, #e7f0e7 100%);
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -3;
  opacity: 0.03;
  background-image: linear-gradient(rgba(34, 97, 63, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(34, 97, 63, 0.08) 1px, transparent 1px);
  background-size: 42px 42px;
}

.background-blobs {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  opacity: 0.15;
}

.blob {
  position: absolute;
  border-radius: 999px;
  filter: blur(58px);
}

.blob-a {
  width: 34rem;
  height: 34rem;
  top: -12rem;
  right: -10rem;
  background: rgba(38, 106, 69, 0.26);
}

.blob-b {
  width: 28rem;
  height: 28rem;
  left: -11rem;
  top: 22rem;
  background: rgba(143, 193, 153, 0.28);
}

.blob-c {
  width: 30rem;
  height: 30rem;
  right: 10%;
  bottom: -14rem;
  background: rgba(22, 71, 48, 0.2);
}

.container {
  width: min(1160px, 92vw);
  margin: 0 auto;
}

.top-banner {
  background: linear-gradient(90deg, #122e22, #173828 65%, #1b4030);
  border-bottom: 1px solid rgba(182, 222, 189, 0.2);
  color: #d8ede0;
}

.top-banner .container {
  min-height: 2.7rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.9rem;
}

.top-banner p {
  margin: 0;
  font-size: 0.88rem;
  letter-spacing: 0.01em;
}

.top-banner a {
  color: #dff8a6;
  text-decoration: none;
  font-size: 0.86rem;
  font-weight: 600;
  white-space: nowrap;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 45;
  backdrop-filter: blur(12px);
  background: rgba(246, 251, 247, 0.88);
  border-bottom: 1px solid rgba(195, 213, 199, 0.9);
}

body[data-page="home"] .site-header {
  background: rgba(246, 251, 247, 0.88);
  border-bottom-color: rgba(195, 213, 199, 0.9);
}

.nav-wrap {
  min-height: 4.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  align-self: center;
  gap: 0.66rem;
  color: var(--text);
  text-decoration: none;
  font-family: "Sora", "Trebuchet MS", sans-serif;
  font-weight: 600;
  letter-spacing: -0.01em;
}

body[data-page="home"] .brand {
  color: var(--text);
}

.brand-lockup {
  height: 28px;
  width: 105px;
  display: block;
  object-fit: cover;
  object-position: left top;
}

.menu-toggle {
  display: none;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--text);
  font: inherit;
  font-weight: 600;
  padding: 0.42rem 0.84rem;
}

body[data-page="home"] .menu-toggle {
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--text);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.nav-links a {
  color: var(--text);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}

/* Keep Contact button text white on all pages */
.nav-links a.btn {
  color: #f7fcf8;
}

body[data-page="home"] .nav-links a {
  color: var(--text);
}

.nav-links a[data-nav].active {
  color: var(--brand-strong);
}

body[data-page="home"] .nav-links a[data-nav].active {
  color: var(--brand-strong);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.42rem;
  border-radius: 999px;
  border: 1px solid rgba(14, 62, 40, 0.9);
  background: linear-gradient(120deg, #2a7a50, #1b5b39);
  color: #f7fcf8;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  padding: 0.84rem 1.34rem;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-soft);
}

.btn-small {
  padding: 0.48rem 0.95rem;
  font-size: 0.9rem;
}

.btn-ghost {
  background: transparent;
  border-color: rgba(37, 96, 64, 0.55);
  color: var(--brand-strong);
}

body[data-page="home"] .hero-main .btn-ghost {
  color: var(--brand-strong);
  border-color: rgba(37, 96, 64, 0.55);
}

body[data-page="home"] .nav-links .btn.btn-small {
  background: linear-gradient(120deg, #2a7a50, #1b5b39);
  border: 1px solid rgba(14, 62, 40, 0.9);
  color: #f7fcf8;
}

main {
  padding-bottom: 1.2rem;
}

section {
  padding: clamp(2.2rem, 4.5vw, 3.8rem) 0;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-family: "Sora", "Trebuchet MS", sans-serif;
  letter-spacing: -0.03em;
  line-height: 1.08;
}

p {
  margin: 0;
}

a {
  color: var(--brand-strong);
}

.eyebrow {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--brand-strong);
}

.hero-shell {
  padding-top: 1.2rem;
}

.hero-layout {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 1rem;
  border-radius: 30px;
  padding: clamp(1.6rem, 3vw, 2.2rem);
  background: linear-gradient(140deg, #0f2d20 0%, #153827 52%, #173f2d 100%);
  border: 1px solid rgba(180, 218, 189, 0.2);
  box-shadow: var(--shadow-hard);
}

.hero-layout::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 78% 24%, rgba(184, 221, 126, 0.18), transparent 36%),
    radial-gradient(circle at 18% 78%, rgba(132, 180, 143, 0.19), transparent 35%);
  pointer-events: none;
}

.hero-layout::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.16;
  pointer-events: none;
  background-image: linear-gradient(rgba(230, 245, 234, 0.35) 1px, transparent 1px),
    linear-gradient(90deg, rgba(230, 245, 234, 0.35) 1px, transparent 1px);
  background-size: 28px 28px;
}

.hero-main,
.signal-board {
  position: relative;
  z-index: 1;
}

.hero-main .eyebrow {
  color: #d8eddc;
}

.hero-main h1 {
  margin-top: 0.85rem;
  max-width: 15ch;
  color: #f2f8f4;
  font-size: clamp(2.05rem, 5.3vw, 4rem);
}

.hero-main p {
  margin-top: 1.15rem;
  max-width: 62ch;
  color: rgba(227, 241, 231, 0.9);
  font-size: clamp(1.02rem, 1.5vw, 1.2rem);
}

.hero-actions {
  margin-top: 1.45rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.78rem;
}

.hero-stats {
  margin: 1.8rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.hero-stats li {
  border-radius: 14px;
  border: 1px solid rgba(183, 220, 192, 0.24);
  background: rgba(244, 252, 245, 0.09);
  backdrop-filter: blur(3px);
  padding: 0.8rem 0.88rem;
}

.hero-stats strong {
  display: block;
  font-family: "Sora", "Trebuchet MS", sans-serif;
  font-size: 0.98rem;
  color: #f2f8f4;
}

.hero-stats span {
  display: block;
  margin-top: 0.26rem;
  color: rgba(223, 239, 227, 0.82);
  font-size: 0.86rem;
}

.signal-board {
  border-radius: 20px;
  border: 1px solid rgba(184, 220, 192, 0.26);
  background: linear-gradient(160deg, rgba(230, 245, 234, 0.13), rgba(201, 231, 209, 0.08));
  padding: 1rem 1rem 1.05rem;
}

.signal-board .eyebrow {
  color: #dff0e2;
}

.signal-board h3 {
  margin-top: 0.55rem;
  color: #f1f8f4;
  font-size: 1.28rem;
}

.signal-art {
  margin: 0.82rem 0 0;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(186, 220, 194, 0.26);
  background: rgba(10, 30, 22, 0.5);
}

.signal-art img {
  width: 100%;
  height: auto;
  display: block;
}

.signal-list {
  margin: 0.9rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.74rem;
}

.signal-list li {
  border: 1px solid rgba(181, 217, 190, 0.22);
  border-radius: 12px;
  background: rgba(9, 30, 20, 0.35);
  padding: 0.72rem 0.78rem;
}

.signal-list strong {
  display: block;
  color: #ecf8ef;
  font-size: 0.96rem;
}

.signal-list span {
  display: block;
  margin-top: 0.28rem;
  color: rgba(217, 237, 223, 0.86);
  font-size: 0.88rem;
  line-height: 1.45;
}

.industry-strip {
  padding: 1.15rem 0;
  border-top: 1px solid rgba(184, 213, 192, 0.68);
  border-bottom: 1px solid rgba(184, 213, 192, 0.68);
  background: linear-gradient(140deg, #f6fbf7, #eef6f0);
}

.industry-strip .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.industry-strip p {
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 600;
}

.chip-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.58rem;
}

.chip-list li {
  border-radius: 999px;
  border: 1px solid rgba(174, 211, 183, 0.74);
  background: #f8fdf8;
  color: #244635;
  font-size: 0.86rem;
  font-weight: 600;
  padding: 0.34rem 0.78rem;
}

.hero {
  margin-top: 1.15rem;
  border-radius: 26px;
  border: 1px solid rgba(175, 204, 183, 0.75);
  background: linear-gradient(160deg, rgba(254, 255, 254, 0.94), rgba(240, 247, 242, 0.88));
  padding: clamp(1.7rem, 3vw, 2.3rem);
  box-shadow: 0 12px 30px rgba(15, 44, 29, 0.08);
}

.hero h1 {
  margin-top: 0.8rem;
  max-width: 26ch;
  font-size: clamp(2rem, 4.6vw, 3rem);
}

.hero p {
  margin-top: 1rem;
  max-width: 70ch;
  color: var(--muted);
  font-size: clamp(1rem, 1.4vw, 1.12rem);
}

.hero .hero-actions {
  margin-top: 1.2rem;
}

.brand-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  align-items: center;
  gap: clamp(1.2rem, 3vw, 2.2rem);
}

.brand-hero .hero-content {
  max-width: 66ch;
}

.brand-hero .hero-mark {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: clamp(210px, 28vw, 320px);
}

.brand-hero .hero-mark img {
  position: relative;
  width: 100%;
  max-width: 420px;
  height: auto;
  display: block;
}

.section-head {
  text-align: center;
}

.section-head h2 {
  margin-top: 0.72rem;
  font-size: clamp(1.6rem, 4.2vw, 2.65rem);
  max-width: 28ch;
  margin-left: auto;
  margin-right: auto;
}

.section-head p {
  margin-top: 0.8rem;
  max-width: 70ch;
  margin-left: auto;
  margin-right: auto;
  color: var(--muted);
}

.persona-grid {
  margin-top: 1.4rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.1rem;
}

body[data-page="home"] .persona-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.9rem;
}

.persona-card {
  border-radius: 18px;
  padding: 1.15rem;
  border: 1px solid rgba(160, 189, 168, 0.52);
  min-height: 210px;
}

.persona-card h3 {
  font-size: 1.07rem;
}

.persona-card p {
  margin-top: 0.62rem;
  font-size: 0.94rem;
  color: #375143;
}

.viz-grid {
  margin-top: 1.35rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.92rem;
}

.viz-card {
  border-radius: 20px;
  border: 1px solid rgba(164, 190, 171, 0.76);
  background: linear-gradient(165deg, #fcfffc, #edf6ee);
  padding: 0.84rem 0.84rem 1rem;
  box-shadow: 0 12px 28px rgba(15, 45, 31, 0.09);
}

.viz-media {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(155, 182, 163, 0.65);
  background: #f3faf4;
}

.viz-media img {
  width: 100%;
  height: auto;
  display: block;
}

.viz-card h3 {
  margin-top: 0.78rem;
  font-size: 1.03rem;
}

.viz-card p {
  margin-top: 0.5rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.tone-sage {
  background: linear-gradient(160deg, #dfeee2, #cfe4d4);
}

.tone-mist {
  background: linear-gradient(160deg, #e4ecf5, #d6e1ef);
}

.tone-sand {
  background: linear-gradient(160deg, #ece8da, #e1dcc8);
}

.tone-deep {
  background: linear-gradient(150deg, #102a1f, #123427 60%, #1a3f2e);
  border-color: rgba(174, 208, 182, 0.28);
}

.tone-deep h3 {
  color: #edf8f0;
}

.tone-deep p {
  color: rgba(225, 241, 229, 0.94);
}

.tone-deep .capability-tag {
  background: rgba(180, 220, 190, 0.15);
  color: rgba(215, 235, 220, 0.9);
  border-color: rgba(180, 220, 190, 0.25);
}

.grid-2,
.grid-3,
.grid-4 {
  display: grid;
  gap: 0.9rem;
  margin-top: 1rem;
}

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

.card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid rgba(173, 198, 181, 0.65);
  background: linear-gradient(165deg, #fbfefb, #eef6ef);
  padding: 1.4rem;
  box-shadow:
    0 2px 4px rgba(16, 46, 31, 0.04),
    0 8px 20px rgba(16, 46, 31, 0.07),
    0 20px 44px rgba(16, 46, 31, 0.1);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #3f8a62, #9fd58c);
  opacity: 0.75;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow:
    0 4px 8px rgba(16, 46, 31, 0.06),
    0 12px 28px rgba(16, 46, 31, 0.1),
    0 28px 56px rgba(16, 46, 31, 0.14);
}

.card h3 {
  font-size: 1.12rem;
  margin-bottom: 0.62rem;
}

.card h4 {
  font-size: 0.98rem;
  margin-bottom: 0.58rem;
}

.card p {
  color: var(--muted);
}

.card ul {
  margin: 0.72rem 0 0;
  padding-left: 1.04rem;
  display: grid;
  gap: 0.4rem;
  color: var(--muted);
}

/* Founder section */
.founder-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 3rem;
  align-items: start;
}

.founder-photo {
  width: 100%;
  aspect-ratio: 1;
  border-radius: var(--radius);
  object-fit: cover;
  object-position: center top;
  border: 1px solid var(--line);
}

.founder-photo-placeholder {
  width: 100%;
  aspect-ratio: 1;
  border-radius: var(--radius);
  background: linear-gradient(145deg, rgba(38,106,69,0.12), rgba(38,106,69,0.06));
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Sora", sans-serif;
  font-size: 3rem;
  font-weight: 600;
  color: var(--brand);
}

.founder-bio .founder-title {
  color: var(--muted);
  font-size: 0.95rem;
  margin-top: 0.3rem;
  margin-bottom: 1.2rem;
}

.founder-bio p {
  color: var(--muted);
  margin-bottom: 0.85rem;
}

.impact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 1.35rem;
}

.impact-stat {
  background: linear-gradient(165deg, rgba(255,255,255,0.88), rgba(239,246,240,0.78));
  border: 1px solid rgba(171,198,180,0.66);
  border-radius: var(--radius);
  padding: 1.2rem;
  text-align: center;
}

.impact-stat .stat-num {
  font-family: "Sora", sans-serif;
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--brand);
  line-height: 1.1;
}

.impact-stat .stat-label {
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 0.35rem;
  line-height: 1.4;
}

.career-timeline {
  margin-top: 1.35rem;
}

.career-item {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 1.5rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
}

.career-item:last-child {
  border-bottom: none;
}

.career-item .career-period {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--brand);
  padding-top: 0.2rem;
  letter-spacing: 0.02em;
}

.career-item h4 {
  margin: 0 0 0.25rem;
  font-size: 0.95rem;
}

.career-item p {
  font-size: 0.85rem;
  color: var(--muted);
  margin: 0;
}

/* Blog post grid */
.post-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 1.35rem;
}

.post-card {
  background: linear-gradient(165deg, rgba(255,255,255,0.88), rgba(239,246,240,0.78));
  border: 1px solid rgba(171,198,180,0.66);
  border-radius: var(--radius);
  padding: 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  transition: box-shadow 0.18s ease, transform 0.18s ease;
}

.post-card:hover {
  box-shadow: var(--shadow-soft);
  transform: translateY(-2px);
}

.post-card .tag {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--brand);
}

.post-card h3 {
  font-size: 1rem;
  line-height: 1.35;
  margin: 0;
}

.post-card p {
  font-size: 0.85rem;
  color: var(--muted);
  margin: 0;
  line-height: 1.55;
}

.post-card .post-meta {
  font-size: 0.75rem;
  color: var(--muted);
  opacity: 0.7;
  margin-top: auto;
  padding-top: 0.6rem;
  border-top: 1px solid var(--line);
}

/* Contact layout */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  align-items: start;
}

@media (max-width: 720px) {
  .founder-layout {
    grid-template-columns: 1fr;
  }
  .founder-photo,
  .founder-photo-placeholder {
    max-width: 220px;
  }
  .impact-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .career-item {
    grid-template-columns: 1fr;
    gap: 0.3rem;
  }
  .post-grid {
    grid-template-columns: 1fr;
  }
  .contact-layout {
    grid-template-columns: 1fr;
  }
}

.capability-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-top: 0.85rem;
}

.capability-tag {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.015em;
  background: rgba(38, 106, 69, 0.08);
  color: var(--muted);
  padding: 0.18rem 0.6rem;
  border-radius: 999px;
  border: 1px solid rgba(38, 106, 69, 0.12);
  white-space: nowrap;
}

.panel {
  border-radius: calc(var(--radius) + 2px);
  border: 1px solid rgba(171, 198, 180, 0.66);
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.88), rgba(239, 246, 240, 0.78));
  padding: 1.2rem;
}

.panel h3 {
  margin-bottom: 0.7rem;
}

.panel p,
.panel li {
  color: var(--muted);
}

.highlight {
  position: relative;
  overflow: hidden;
  border-radius: calc(var(--radius) + 2px);
  border: 1px solid rgba(174, 214, 185, 0.32);
  padding: 1.35rem;
  background: linear-gradient(150deg, #102c20, #153a2a 58%, #1a4532 100%);
  color: #f0f8f2;
  box-shadow: var(--shadow-hard);
}

.highlight::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.12;
  background-image: linear-gradient(rgba(231, 247, 234, 0.5) 1px, transparent 1px),
    linear-gradient(90deg, rgba(231, 247, 234, 0.5) 1px, transparent 1px);
  background-size: 24px 24px;
}

.highlight h2,
.highlight h3,
.highlight p,
.highlight li,
.highlight a {
  position: relative;
  z-index: 1;
}

.highlight p,
.highlight li {
  color: rgba(222, 239, 227, 0.92);
}

.highlight a:not(.btn) {
  color: #dff8a6;
}

.highlight ul {
  margin: 0.7rem 0 0;
  padding-left: 1.05rem;
  display: grid;
  gap: 0.46rem;
}

.highlight .btn {
  background: linear-gradient(120deg, #3f8f60, #2e7049);
  border-color: rgba(168, 218, 177, 0.52);
}

.timeline {
  margin-top: 1.72rem;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.88rem;
}

.timeline article {
  border-radius: 16px;
  border: 1px solid rgba(171, 196, 178, 0.72);
  background: linear-gradient(165deg, #fcfffc, #eef7ef);
  padding: 1rem;
}

.timeline span {
  display: inline-block;
  border-radius: 999px;
  background: #dceede;
  color: #1d5c3d;
  font-size: 0.77rem;
  font-weight: 700;
  padding: 0.2rem 0.52rem;
}

.timeline h3 {
  margin-top: 0.6rem;
  font-size: 1.02rem;
}

.timeline p {
  margin-top: 0.52rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.callout {
  margin-top: 1.1rem;
  border-left: 4px solid #5f9f74;
  border-radius: 0 10px 10px 0;
  padding: 0.7rem 0 0.7rem 0.95rem;
  background: rgba(242, 248, 243, 0.76);
}

.callout p {
  color: var(--muted);
}

.page-hero {
  margin-top: 1rem;
  border-radius: 28px;
  border: 1px solid rgba(175, 204, 183, 0.75);
  background: linear-gradient(160deg, rgba(254, 255, 254, 0.92), rgba(240, 247, 242, 0.86));
  padding: clamp(1.7rem, 3vw, 2.25rem);
  box-shadow: 0 10px 25px rgba(15, 44, 29, 0.08);
  text-align: center;
}

.page-hero h1 {
  margin-top: 0.82rem;
  max-width: 22ch;
  margin-left: auto;
  margin-right: auto;
  font-size: clamp(1.95rem, 5.2vw, 3.55rem);
}

.page-hero p {
  margin-top: 1rem;
  max-width: 72ch;
  margin-left: auto;
  margin-right: auto;
  color: var(--muted);
  font-size: clamp(1rem, 1.35vw, 1.14rem);
}

.kpi-strip {
  margin-top: 1.35rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
}

.kpi {
  border-radius: 14px;
  border: 1px solid rgba(165, 190, 172, 0.72);
  background: #f7fcf8;
  padding: 0.86rem 0.92rem;
}

.kpi strong {
  display: block;
  font-family: "Sora", "Trebuchet MS", sans-serif;
  font-size: 1.05rem;
}

.kpi span {
  display: block;
  margin-top: 0.26rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.solution-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1.2rem;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(160, 186, 168, 0.72);
  background: rgba(252, 255, 252, 0.9);
}

.solution-table thead {
  background: linear-gradient(90deg, #d9eadc, #e5f1e6);
}

.solution-table th,
.solution-table td {
  text-align: left;
  vertical-align: top;
  padding: 0.78rem 0.86rem;
  border-bottom: 1px solid rgba(184, 208, 191, 0.75);
}

.solution-table th {
  font-family: "Sora", "Trebuchet MS", sans-serif;
  font-size: 0.92rem;
}

.solution-table td {
  color: var(--muted);
  font-size: 0.93rem;
}

.solution-table tr:last-child td {
  border-bottom: 0;
}

.blog-grid {
  margin-top: 1.3rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
}

.post-card {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid rgba(164, 191, 172, 0.7);
  background: linear-gradient(170deg, #fcfffc, #eef6ef);
  padding: 1.12rem;
}

.post-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(120deg, rgba(168, 210, 166, 0.12), transparent 45%);
}

.post-card .tag {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  border: 1px solid rgba(160, 187, 170, 0.85);
  background: rgba(239, 246, 241, 0.88);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.22rem 0.55rem;
}

.post-card h3 {
  margin-top: 0.62rem;
  font-size: 1.1rem;
}

.post-card p {
  margin-top: 0.56rem;
  color: var(--muted);
}

.post-meta {
  margin-top: 0.68rem;
  color: #5c7666;
  font-size: 0.86rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 0.92rem;
  align-items: start;
}

.form-card {
  border-radius: 18px;
  border: 1px solid rgba(165, 192, 174, 0.72);
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.92), rgba(241, 247, 242, 0.84));
  padding: 1.2rem;
}

.form-grid {
  margin-top: 0.88rem;
  display: grid;
  gap: 0.74rem;
}

.form-row {
  display: grid;
  gap: 0.32rem;
}

.form-row label {
  font-size: 0.9rem;
  font-weight: 600;
}

.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  border: 1px solid rgba(167, 194, 176, 0.78);
  border-radius: 10px;
  font: inherit;
  color: var(--text);
  background: #fdfffd;
  padding: 0.6rem 0.66rem;
}

.form-row textarea {
  min-height: 135px;
  resize: vertical;
}

.form-note {
  margin-top: 0.68rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.social-list {
  margin: 0.72rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.52rem;
}

.social-list a {
  color: var(--brand-strong);
  text-decoration: none;
  font-weight: 600;
}

.legal-doc {
  border-radius: 20px;
  border: 1px solid rgba(169, 193, 177, 0.72);
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.94), rgba(241, 247, 242, 0.84));
  padding: 1.25rem;
}

.legal-doc h2 {
  font-size: 1.2rem;
  margin-top: 1.04rem;
}

.legal-doc h2:first-of-type {
  margin-top: 0;
}

.legal-doc p {
  margin-top: 0.5rem;
  color: var(--muted);
}

.legal-doc ul {
  margin: 0.52rem 0 0;
  padding-left: 1.06rem;
  color: var(--muted);
  display: grid;
  gap: 0.34rem;
}

.quote-panel {
  border-radius: 18px;
  border: 1px solid rgba(166, 191, 175, 0.72);
  background: linear-gradient(160deg, #ffffff, #eef6ef);
  padding: 1.2rem;
}

.quote-panel p {
  color: var(--muted);
  font-size: 1rem;
}

.quote-panel .attribution {
  margin-top: 0.72rem;
  color: var(--text);
  font-weight: 600;
  font-size: 0.92rem;
}

.site-footer {
  margin-top: 1rem;
  padding: 1.2rem 0 2rem;
  background: linear-gradient(155deg, #102c20, #143726 56%, #173f2c);
}

.footer-grid {
  border-top: 1px solid rgba(174, 213, 184, 0.24);
  padding-top: 1.05rem;
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 0.95rem;
}

.site-footer .brand {
  color: #ecf6ef;
}

.site-footer .brand-lockup {
  height: 24px;
  width: 90px;
  filter: brightness(0) invert(1);
}

.footer-brand p {
  margin-top: 0.55rem;
  max-width: 40ch;
  color: #ecf6ef;
}

.footer-col h4 {
  margin-bottom: 0.44rem;
  color: #ecf6ef;
  font-size: 0.93rem;
}

.footer-col ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.38rem;
}

.footer-col a,
.footer-col span {
  color: rgba(214, 233, 219, 0.84);
  text-decoration: none;
  font-size: 0.9rem;
}

.footer-col a:hover {
  color: #d9f19a;
}

.footer-legal {
  margin-top: 0.88rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.64rem;
  font-size: 0.84rem;
  color: rgba(206, 226, 211, 0.84);
}

.footer-legal a {
  color: rgba(206, 226, 211, 0.84);
  text-decoration: none;
}

/* Solutions page feature layout */
.solutions-feature {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: clamp(1.5rem, 3vw, 2.5rem);
  align-items: center;
}

.solutions-feature-text .eyebrow {
  display: inline-block;
}

.solutions-feature-text h2 {
  margin-top: 0.72rem;
  font-size: clamp(1.6rem, 4.2vw, 2.65rem);
  max-width: 28ch;
}

.solutions-feature-text p {
  margin-top: 0.8rem;
  max-width: 70ch;
  color: var(--muted);
}

.solutions-feature-art {
  display: flex;
  align-items: center;
  justify-content: center;
}

.solutions-feature-art img {
  width: 100%;
  max-width: 420px;
  height: auto;
  display: block;
  border-radius: 16px;
}

/* Case study stat highlight */
.case-stat {
  margin-top: 0.75rem;
  padding-top: 0.7rem;
  border-top: 1px solid rgba(38, 106, 69, 0.12);
  font-size: 0.88rem;
  color: var(--brand-strong);
  font-weight: 500;
  line-height: 1.5;
}

/* Photo-backed hero */
.hero-photo {
  position: relative;
  z-index: 2;
  isolation: isolate;
  margin-top: 1.15rem;
  border-radius: 26px;
  overflow: hidden;
  min-height: clamp(340px, 46vh, 480px);
  display: flex;
  align-items: center;
  box-shadow: var(--shadow-hard);
  background: #0e2c1f;
  padding: 0;
}

/* Photo strip also needs to stack above fixed blobs */
.photo-strip {
  z-index: 2;
  isolation: isolate;
}

.hero-photo-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: #0e2c1f;
}

.hero-photo-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
}

.hero-photo-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(
    105deg,
    rgba(14, 44, 31, 0.88) 0%,
    rgba(14, 44, 31, 0.72) 30%,
    rgba(14, 44, 31, 0.3) 55%,
    rgba(14, 44, 31, 0.08) 100%
  );
}

.hero-photo .hero-content {
  position: relative;
  z-index: 3;
  padding: clamp(1.7rem, 3vw, 2.5rem);
  max-width: 60%;
}

.hero-photo .hero-content .eyebrow {
  color: #d8eddc;
}

.hero-photo .hero-content h1 {
  color: #f2f8f4;
  font-size: clamp(2rem, 4.6vw, 3rem);
  max-width: 22ch;
  margin-top: 0.8rem;
}

.hero-photo .hero-content p {
  color: rgba(227, 241, 231, 0.9);
  margin-top: 1rem;
  max-width: 50ch;
  font-size: clamp(1rem, 1.4vw, 1.12rem);
}

.hero-photo .hero-content .hero-actions {
  margin-top: 1.2rem;
}

.hero-photo .hero-content .btn-ghost {
  color: rgba(227, 241, 231, 0.9);
  border-color: rgba(200, 228, 210, 0.45);
}

/* Photo strip divider */
.photo-strip {
  position: relative;
  height: clamp(100px, 13vw, 180px);
  overflow: hidden;
  margin: 0 calc(-50vw + 50%);
  padding: 0;
}

.photo-strip img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 60%;
}

.photo-strip::before,
.photo-strip::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 36px;
  z-index: 1;
  pointer-events: none;
}

.photo-strip::before {
  top: 0;
  background: linear-gradient(to bottom, #edf6ef, transparent);
}

.photo-strip::after {
  bottom: 0;
  background: linear-gradient(to top, #edf6ef, transparent);
}

/* Why Arataki section */
.why-arataki-layout {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2.5rem;
  align-items: center;
}

.why-arataki-text .eyebrow {
  text-align: left;
}

.why-arataki-text h2 {
  font-size: clamp(1.6rem, 4.2vw, 2.65rem);
  margin-top: 0.5rem;
  margin-bottom: 1.2rem;
}

.why-arataki-text p {
  color: var(--muted);
  margin-bottom: 0.9rem;
}

.why-arataki-text p:last-child {
  margin-bottom: 0;
}

.about-nz-photo img {
  width: 100%;
  border-radius: var(--radius);
  object-fit: cover;
  aspect-ratio: 4 / 3;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(175, 204, 183, 0.5);
}

/* Alternating section backgrounds */
.section-alt {
  position: relative;
}

.section-alt::before {
  content: "";
  position: absolute;
  inset: 0;
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.45) 0%,
    rgba(248, 252, 249, 0.3) 100%
  );
  border-top: 1px solid rgba(195, 213, 199, 0.35);
  border-bottom: 1px solid rgba(195, 213, 199, 0.35);
  z-index: -1;
  pointer-events: none;
}

.section-reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 520ms ease, transform 520ms ease;
}

.section-reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1100px) {
  .hero-layout {
    grid-template-columns: 1fr;
  }

  .grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .viz-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .timeline {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .blog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .grid-3,
  .grid-2,
  .kpi-strip,
  .contact-grid,
  .solutions-feature,
  .why-arataki-layout {
    grid-template-columns: 1fr;
  }

  .about-nz-photo img {
    aspect-ratio: 16 / 9;
  }

  .industry-strip .container {
    flex-direction: column;
    align-items: flex-start;
  }

  .solution-table {
    display: block;
    overflow-x: auto;
  }
}

@media (max-width: 760px) {
  .menu-toggle {
    display: inline-block;
  }

  .top-banner .container {
    min-height: 3rem;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 0.38rem 0;
  }

  .nav-links {
    position: absolute;
    right: 4vw;
    top: 5.2rem;
    min-width: 260px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0.62rem;
    padding: 0.88rem;
    border-radius: 14px;
    border: 1px solid rgba(171, 198, 179, 0.72);
    background: rgba(251, 254, 251, 0.96);
    box-shadow: var(--shadow-soft);
  }

  body[data-page="home"] .nav-links {
    border-color: rgba(171, 198, 179, 0.72);
    background: rgba(251, 254, 251, 0.96);
  }

  .nav-links.open {
    display: flex;
  }

  .brand-lockup {
    height: 24px;
    width: 90px;
  }

  .brand-hero {
    grid-template-columns: 1fr;
  }

  .brand-hero .hero-mark {
    justify-content: flex-start;
  }

  .hero-photo .hero-content {
    max-width: 100%;
  }

  .hero-photo-bg::after {
    background: linear-gradient(
      180deg,
      rgba(14, 44, 31, 0.88) 0%,
      rgba(14, 44, 31, 0.65) 60%,
      rgba(14, 44, 31, 0.4) 100%
    );
  }

  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-stats,
  .persona-grid,
  body[data-page="home"] .persona-grid,
  .viz-grid,
  .grid-4,
  .timeline,
  .blog-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  section {
    padding: 2.8rem 0;
  }

  .hero-shell {
    padding-top: 0.85rem;
  }

  .hero-layout {
    border-radius: 24px;
  }

  .page-hero {
    border-radius: 20px;
  }

  .brand-hero .hero-mark {
    justify-content: center;
  }
}

/* Credibility strip */
.credibility-strip {
  padding: 1rem 0;
  border-top: 1px solid rgba(184, 213, 192, 0.68);
  border-bottom: 1px solid rgba(184, 213, 192, 0.68);
  background: linear-gradient(140deg, #f6fbf7, #eef6f0);
}

.credibility-strip .container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.2rem;
  flex-wrap: wrap;
}

.credibility-strip span {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.cred-divider {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--line-strong);
  flex-shrink: 0;
}

/* Impact grid on homepage */
.impact-grid-home {
  margin-top: 0;
}

/* Featured result callout */
.featured-result {
  text-align: center;
  padding: 1.2rem;
}

.featured-result blockquote {
  margin: 0;
  font-family: "Sora", "Trebuchet MS", sans-serif;
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  font-weight: 500;
  color: var(--brand-strong);
  line-height: 1.45;
  max-width: 52ch;
  margin: 0 auto;
  letter-spacing: -0.01em;
}

.featured-result .btn {
  margin-top: 1.1rem;
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 1.2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  color: rgba(227, 241, 231, 0.6);
  animation: scroll-bounce 2s ease-in-out infinite;
}

@keyframes scroll-bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); opacity: 0.6; }
  50% { transform: translateX(-50%) translateY(6px); opacity: 1; }
}

/* Industry card links */
.persona-link {
  text-decoration: none;
  display: block;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.persona-link:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-soft);
}

.persona-link h3 {
  color: var(--text);
}

.persona-link p {
  color: #375143;
}

.tone-deep.persona-link h3 {
  color: #edf8f0;
}

.tone-deep.persona-link p {
  color: rgba(225, 241, 229, 0.94);
}

/* Staggered card reveals */
.section-reveal.revealed .grid-3 > *,
.section-reveal.revealed .grid-2 > *,
.section-reveal.revealed .persona-grid > *,
.section-reveal.revealed .timeline > *,
.section-reveal.revealed .impact-grid > * {
  opacity: 0;
  transform: translateY(12px);
  animation: card-stagger 400ms ease forwards;
}

.section-reveal.revealed .grid-3 > *:nth-child(1),
.section-reveal.revealed .grid-2 > *:nth-child(1),
.section-reveal.revealed .persona-grid > *:nth-child(1),
.section-reveal.revealed .timeline > *:nth-child(1),
.section-reveal.revealed .impact-grid > *:nth-child(1) {
  animation-delay: 0ms;
}

.section-reveal.revealed .grid-3 > *:nth-child(2),
.section-reveal.revealed .grid-2 > *:nth-child(2),
.section-reveal.revealed .persona-grid > *:nth-child(2),
.section-reveal.revealed .timeline > *:nth-child(2),
.section-reveal.revealed .impact-grid > *:nth-child(2) {
  animation-delay: 80ms;
}

.section-reveal.revealed .grid-3 > *:nth-child(3),
.section-reveal.revealed .grid-2 > *:nth-child(3),
.section-reveal.revealed .persona-grid > *:nth-child(3),
.section-reveal.revealed .timeline > *:nth-child(3),
.section-reveal.revealed .impact-grid > *:nth-child(3) {
  animation-delay: 160ms;
}

.section-reveal.revealed .grid-3 > *:nth-child(4),
.section-reveal.revealed .grid-2 > *:nth-child(4),
.section-reveal.revealed .persona-grid > *:nth-child(4),
.section-reveal.revealed .timeline > *:nth-child(4) {
  animation-delay: 240ms;
}

@keyframes card-stagger {
  to { opacity: 1; transform: translateY(0); }
}

/* Featured case study card */
.card-featured {
  border-color: var(--brand);
  border-width: 2px;
  box-shadow:
    0 2px 4px rgba(16, 46, 31, 0.06),
    0 12px 28px rgba(16, 46, 31, 0.12),
    0 24px 52px rgba(16, 46, 31, 0.14);
}

.card-featured::before {
  opacity: 1;
  height: 4px;
}

/* Stat counter animation */
.stat-num {
  transition: color 300ms ease;
}

@media (max-width: 760px) {
  .credibility-strip .container {
    flex-direction: column;
    gap: 0.5rem;
  }

  .cred-divider {
    display: none;
  }

  .scroll-indicator {
    display: none;
  }
}
