/* ============================================
   Vine Consulting — Design System v2
   Forest greens, editorial serif + modern sans,
   scroll-linked "growth bar" as signature motif.
   ============================================ */

:root {
  --forest: #143528;
  --forest-deep: #0b2119;
  --vine: #379354;
  --vine-bright: #4fc26a;
  --sage: #dbe6dc;
  --sage-soft: #eef3ee;
  --stone: #f2efe6;
  --cream: #faf9f5;
  --white: #ffffff;
  --ink: #101d17;
  --ink-soft: #566259;

  --serif: "Playfair Display", Georgia, serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --max-w: 1200px;
  --r-sm: 10px;
  --r-md: 18px;
  --r-full: 999px;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  font-family: var(--serif);
  line-height: 1.1;
  margin: 0 0 0.5em;
  color: var(--forest-deep);
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.6rem, 5.2vw, 4.4rem); font-weight: 500; }
h2 { font-size: clamp(2rem, 3.6vw, 2.8rem); font-weight: 500; }
h3 { font-size: 1.32rem; font-weight: 600; font-family: var(--sans); }

p { margin: 0 0 1em; color: var(--ink-soft); }

.text-gradient {
  background: linear-gradient(100deg, var(--vine-bright), var(--vine) 70%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-style: normal;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--vine);
  margin-bottom: 1em;
}
.eyebrow::before {
  content: "";
  width: 16px;
  height: 1.5px;
  background: var(--vine);
  display: inline-block;
}

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 32px;
}

/* ---------- Growth bar (signature scroll element) ---------- */

.growth-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 3px;
  height: 100vh;
  background: rgba(20, 53, 40, 0.08);
  z-index: 200;
  pointer-events: none;
}
.growth-bar-fill {
  width: 100%;
  height: 0%;
  background: linear-gradient(var(--vine-bright), var(--vine));
  transition: height 0.08s linear;
}

@media (max-width: 700px) {
  .growth-bar { display: none; }
}

/* ---------- Header / floating pill nav ---------- */

.site-header {
  position: sticky;
  top: 18px;
  z-index: 100;
  padding: 0 20px;
}

.nav {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 10px 12px 10px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: rgba(250, 249, 245, 0.78);
  backdrop-filter: blur(14px) saturate(160%);
  border: 1px solid rgba(20, 53, 40, 0.08);
  border-radius: var(--r-full);
  box-shadow: 0 8px 30px rgba(16, 29, 23, 0.06);
}

.nav-brand { display: flex; align-items: center; gap: 9px; }
.nav-brand img { height: 40px; width: auto; }

.nav-links { display: flex; align-items: center; gap: 30px; list-style: none; margin: 0; padding: 0; }
.nav-links a { font-size: 0.9rem; font-weight: 500; color: var(--ink); position: relative; padding: 4px 0; }
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: -2px; width: 0; height: 1.5px;
  background: var(--vine); transition: width 0.25s var(--ease);
}
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-links a.active { color: var(--forest-deep); font-weight: 600; }

.nav-cta { display: flex; align-items: center; gap: 14px; }

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--sans); font-size: 0.87rem; font-weight: 600;
  padding: 12px 24px; border-radius: var(--r-full);
  border: 1.5px solid transparent; cursor: pointer;
  transition: all 0.25s var(--ease); white-space: nowrap;
}
.btn-arrow::after { content: "→"; transition: transform 0.25s var(--ease); }
.btn-arrow:hover::after { transform: translateX(3px); }

.btn-primary { background: var(--forest); color: var(--white); }
.btn-primary:hover { background: var(--forest-deep); transform: translateY(-1px); }

.btn-outline { border-color: rgba(20,53,40,0.25); color: var(--forest-deep); background: transparent; }
.btn-outline:hover { background: var(--forest); color: var(--white); border-color: var(--forest); }

.btn-on-dark { background: var(--vine); color: var(--white); }
.btn-on-dark:hover { background: var(--vine-bright); transform: translateY(-1px); }

.btn-outline-light { border-color: rgba(255,255,255,0.4); color: var(--white); background: transparent; }
.btn-outline-light:hover { background: rgba(255,255,255,0.12); border-color: var(--white); }

.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 6px; }
.nav-toggle span { display: block; width: 20px; height: 2px; background: var(--forest-deep); margin: 5px 0; transition: 0.25s; }

/* ---------- Hero (split, modern) ---------- */

.hero {
  background: linear-gradient(150deg, var(--forest) 0%, var(--forest-deep) 100%);
  color: var(--white);
  position: relative;
  overflow: hidden;
  padding: 56px 0 0;
  margin-top: -18px;
  padding-top: 74px;
}
.hero::before {
  content: ""; position: absolute; right: -220px; top: -220px;
  width: 560px; height: 560px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.09);
}
.hero::after {
  content: ""; position: absolute; right: -340px; top: -340px;
  width: 780px; height: 780px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.05);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.85fr;
  gap: 40px;
  align-items: end;
  position: relative;
  z-index: 2;
}

.hero-copy { padding-bottom: 70px; }
.hero .eyebrow { color: var(--vine-bright); }
.hero .eyebrow::before { background: var(--vine-bright); }
.hero h1 { color: var(--white); }

.hero-lede {
  font-family: var(--serif);
  font-style: italic;
  color: var(--white);
  font-size: clamp(1.15rem, 1.6vw, 1.4rem);
  margin: 0.5em 0 0.6em;
}

.hero-sub { font-size: 1.08rem; color: rgba(255,255,255,0.76); max-width: 520px; margin-bottom: 2em; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-photo-wrap {
  position: relative;
  border-radius: var(--r-md) var(--r-md) 0 0;
  overflow: hidden;
  max-height: 560px;
  align-self: end;
}
.hero-photo-wrap img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-photo-wrap::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(11,33,25,0.35), transparent 45%);
}

.hero-badge {
  position: absolute;
  left: 20px; bottom: 20px;
  z-index: 3;
  background: rgba(250,249,245,0.92);
  backdrop-filter: blur(8px);
  border-radius: var(--r-sm);
  padding: 12px 16px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--forest-deep);
  box-shadow: 0 10px 30px rgba(0,0,0,0.18);
}

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-photo-wrap { max-height: 360px; order: -1; }
  .hero-copy { padding-bottom: 48px; }
}

/* ---------- Sections ---------- */

section { padding: 100px 0; }

.section-head { max-width: 640px; margin: 0 0 56px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

.bg-sage { background: var(--sage-soft); }
.bg-stone { background: var(--stone); }
.bg-forest { background: var(--forest); color: var(--white); }
.bg-forest h2, .bg-forest h3 { color: var(--white); }
.bg-forest p { color: rgba(255,255,255,0.78); }

/* ---------- Scroll reveal ---------- */

.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.in-view { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- Grids ---------- */

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }

/* ---------- Cards ---------- */

.card {
  background: var(--white);
  border: 1px solid rgba(20,53,40,0.08);
  border-radius: var(--r-md);
  padding: 36px 32px;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.card:hover { transform: translateY(-5px); box-shadow: 0 20px 46px rgba(16,29,23,0.1); }

.icon-badge {
  width: 46px; height: 46px;
  border-radius: 12px;
  background: var(--sage-soft);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.icon-badge svg { width: 22px; height: 22px; stroke: var(--vine); fill: none; stroke-width: 1.7; }

.pillar-card {
  background: var(--white);
  padding: 40px 32px;
  border-radius: var(--r-md);
  border: 1px solid rgba(20,53,40,0.08);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.pillar-card:hover { transform: translateY(-5px); box-shadow: 0 20px 46px rgba(16,29,23,0.1); }
.pillar-card h3 { margin-bottom: 10px; }

.pillar-card ul { margin: 18px 0 0; padding: 0; list-style: none; }
.pillar-card ul li {
  padding: 9px 0 9px 20px; position: relative; font-size: 0.94rem;
  color: var(--ink-soft); border-top: 1px solid rgba(20,53,40,0.07);
}
.pillar-card ul li:first-child { border-top: none; }
.pillar-card ul li::before {
  content: ""; position: absolute; left: 0; top: 18px;
  width: 5px; height: 5px; border-radius: 50%; background: var(--vine);
}

/* ---------- Process steps ---------- */

.process-list { display: flex; flex-direction: column; }
.process-step {
  display: grid; grid-template-columns: 90px 1fr; gap: 28px;
  padding: 38px 0; border-top: 1px solid rgba(20,53,40,0.1); align-items: start;
}
.process-step:last-child { border-bottom: 1px solid rgba(20,53,40,0.1); }
.process-step .step-num {
  font-family: var(--serif); font-size: 2.5rem; font-weight: 600;
  color: transparent; -webkit-text-stroke: 1.5px var(--vine);
}
.process-step h3 { margin-bottom: 8px; }

/* ---------- Sector / client cards ---------- */

.sector-card {
  background: var(--white); border-radius: var(--r-md);
  border: 1px solid rgba(20,53,40,0.08); padding: 34px 32px;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.sector-card:hover { transform: translateY(-5px); box-shadow: 0 20px 46px rgba(16,29,23,0.1); }

.client-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 20px 44px; }
.client-name { font-family: var(--serif); font-size: 1.35rem; color: var(--forest-deep); font-weight: 600; opacity: 0.85; }

/* ---------- Tags ---------- */

.tag-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.tag {
  display: inline-block; background: var(--sage-soft); color: var(--forest-deep);
  font-size: 0.84rem; font-weight: 600; padding: 8px 16px; border-radius: var(--r-full);
  border: 1px solid rgba(20,53,40,0.1);
}

/* ---------- Founder ---------- */

.founder-name { font-family: var(--serif); font-size: 1.05rem; color: var(--forest-deep); font-weight: 600; margin-bottom: 2px; }
.founder-title { font-size: 0.85rem; color: var(--vine); font-weight: 600; letter-spacing: 0.03em; margin-bottom: 18px; }

.founder-columns {
  column-count: 2;
  column-gap: 40px;
  margin-top: 6px;
}
.founder-columns p {
  break-inside: avoid;
  -webkit-column-break-inside: avoid;
}

@media (max-width: 860px) {
  .founder-columns { column-count: 1; }
}

/* ---------- CTA band ---------- */

.cta-band {
  background: linear-gradient(150deg, var(--forest) 0%, var(--forest-deep) 100%);
  color: var(--white); padding: 100px 0; text-align: center; position: relative; overflow: hidden;
}
.cta-band h2 { color: var(--white); }
.cta-band .container { position: relative; z-index: 2; }
.cta-band::before {
  content: ""; position: absolute; left: 50%; top: -60%; transform: translateX(-50%);
  width: 900px; height: 900px; border-radius: 50%; background: radial-gradient(circle, rgba(79,194,106,0.14), transparent 65%);
}

/* ---------- Footer ---------- */

.site-footer { background: var(--forest-deep); color: rgba(255,255,255,0.7); padding: 56px 0 32px; font-size: 0.9rem; }
.footer-top {
  display: flex; justify-content: space-between; align-items: flex-start; gap: 40px; flex-wrap: wrap;
  padding-bottom: 36px; border-bottom: 1px solid rgba(255,255,255,0.12); margin-bottom: 28px;
}
.footer-brand { display: flex; align-items: center; gap: 10px; }
.footer-brand img { height: 216px; }
.footer-links { display: flex; gap: 32px; list-style: none; padding: 0; margin: 0; flex-wrap: wrap; }
.footer-links a:hover { color: var(--vine-bright); }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; }

.footer-acknowledgement {
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 0.8rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.5);
  max-width: 780px;
}

/* ---------- Page header ---------- */

.page-header {
  background: var(--cream);
  color: var(--ink);
  padding: 76px 0 64px;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(20,53,40,0.08);
}
.page-header .container { position: relative; z-index: 2; max-width: 720px; }
.page-header h1 { color: var(--ink); margin-bottom: 0.4em; }
.page-header .eyebrow { color: var(--vine); }
.page-header p { color: var(--ink-soft); font-size: 1.08rem; margin: 0; }

/* ---------- Responsive ---------- */

@media (max-width: 860px) {
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .nav-links {
    display: none; position: absolute; top: calc(100% + 8px); left: 20px; right: 20px;
    background: var(--cream); flex-direction: column; align-items: flex-start; gap: 4px;
    padding: 16px 22px 20px; border-radius: var(--r-md); border: 1px solid rgba(20,53,40,0.1);
    box-shadow: 0 14px 36px rgba(16,29,23,0.12);
  }
  .nav-links.nav-open { display: flex; }
  .nav-links a { display: block; padding: 10px 0; width: 100%; }
  .nav-toggle { display: block; }
  .footer-top { flex-direction: column; }
  section { padding: 68px 0; }
  .process-step { grid-template-columns: 56px 1fr; }
}

a:focus-visible, button:focus-visible { outline: 2px solid var(--vine); outline-offset: 3px; }

/* ============================================
   v3 — Editorial diagonal hero, stat cards, stat band
   ============================================ */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 0;
  background: rgba(250, 249, 245, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(20, 53, 40, 0.1);
}

.nav {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 8px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: none;
  border: none;
  box-shadow: none;
  border-radius: 0;
}

.nav-brand img { height: 216px; width: auto; }

.hero-v2 {
  position: relative;
  overflow: hidden;
  background: var(--cream);
  padding: 76px 0 0;
}

.hero-v2-split {
  position: absolute;
  inset: 0;
  clip-path: polygon(60% 0, 100% 0, 100% 100%, 47% 100%);
  background: var(--sage-soft);
}

.hero-v2-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: start;
  padding-bottom: 90px;
}

.hero-v2-copy { padding-top: 30px; max-width: 620px; }

.hero-v2 h1 {
  color: var(--ink);
  font-size: clamp(2.6rem, 4.8vw, 4rem);
  font-weight: 500;
}
.hero-v2 h1 em {
  font-style: italic;
  color: var(--vine);
}

.hero-v2-sub {
  font-size: 1.1rem;
  color: var(--ink-soft);
  max-width: 480px;
  margin: 1.4em 0 2em;
}

.hero-v2-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.stat-stack {
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding-top: 30px;
}

.stat-card {
  background: var(--white);
  border-left: 5px solid var(--vine);
  border-radius: var(--r-sm);
  padding: 26px 28px;
  box-shadow: 0 14px 34px rgba(16,29,23,0.09);
}
.stat-card .stat-num {
  font-family: var(--serif);
  font-size: 2.1rem;
  color: var(--vine);
  font-weight: 600;
  line-height: 1;
  margin-bottom: 8px;
  display: block;
}
.stat-card .stat-label {
  font-size: 0.92rem;
  color: var(--ink-soft);
  margin: 0;
}

@media (max-width: 900px) {
  .hero-v2-grid { grid-template-columns: 1fr; }
  .hero-v2-split { clip-path: none; background: var(--sage-soft); inset: auto 0 0 0; height: 40%; }
  .stat-stack { padding-top: 0; }
}

.stat-band {
  background: var(--forest-deep);
  padding: 46px 0;
}
.stat-band-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.stat-band-item {
  text-align: center;
  padding: 0 20px;
  border-left: 1px solid rgba(255,255,255,0.14);
}
.stat-band-item:first-child { border-left: none; }
.stat-band-item .num {
  font-family: var(--serif);
  font-size: clamp(1.6rem, 2.6vw, 2.2rem);
  color: var(--white);
  font-weight: 600;
  display: block;
  margin-bottom: 6px;
}
.stat-band-item .label {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.62);
}

@media (max-width: 700px) {
  .stat-band-row { grid-template-columns: repeat(2, 1fr); gap: 28px 0; }
  .stat-band-item:nth-child(3) { border-left: none; }
  .stat-band-item { border-left: none; }
}
