/* ============================================================
   GreenSky Capital — v3
   White, type-driven, minimal. Sage primary + slate-blue accent.
   ============================================================ */

:root {
  /* Surfaces */
  --bg:           #ffffff;
  --bg-soft:      #f7f8f6;     /* subtle warm-cool neutral */
  --bg-band:      #f1f3ef;     /* faint sage-tinted band */
  --ink:          #0e1512;     /* near-black, slight green */
  --ink-2:        #3a4541;
  --muted:        #6b7570;
  --line:         #e6e8e3;
  --line-2:       #d6dad2;

  /* Sage (primary accent) */
  --sage:         oklch(58% 0.06 152);
  --sage-deep:    oklch(38% 0.07 152);
  --sage-pale:    oklch(94% 0.02 152);

  /* Slate blue (secondary accent) */
  --blue:         oklch(56% 0.07 232);
  --blue-deep:    oklch(38% 0.07 232);
  --blue-pale:    oklch(94% 0.02 232);

  /* Type */
  --font-sans:  'Hanken Grotesk', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-mono:  'IBM Plex Mono', ui-monospace, 'SF Mono', Menlo, monospace;

  /* Layout */
  --max:    1280px;
  --pad:    clamp(20px, 4vw, 56px);
  --gutter: clamp(24px, 4vw, 64px);

  --ease: cubic-bezier(0.22, 0.7, 0.2, 1);
}

/* ===== Reset / Base ===== */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: -0.005em;
  font-weight: 400;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
::selection { background: var(--sage); color: #fff; }

/* ===== Contact modal ===== */
.cf-overlay{position:fixed;inset:0;z-index:200;display:none;align-items:center;justify-content:center;padding:20px;background:rgba(14,21,18,.55);opacity:0;transition:opacity .22s var(--ease)}
.cf-overlay.is-open{display:flex;opacity:1}
.cf-modal{background:var(--bg);border:1px solid var(--line);border-radius:14px;box-shadow:0 24px 60px rgba(14,21,18,.22);width:100%;max-width:520px;max-height:90vh;overflow-y:auto;padding:clamp(24px,3vw,34px);transform:translateY(8px);transition:transform .22s var(--ease)}
.cf-overlay.is-open .cf-modal{transform:none}
.cf-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:22px}
.cf-head h2{margin:0;font-size:24px;font-weight:600;letter-spacing:-0.02em;color:var(--ink)}
.cf-head p{margin:6px 0 0;font-size:14.5px;color:var(--muted)}
.cf-close{width:32px;height:32px;flex:none;display:grid;place-items:center;border-radius:8px;color:var(--muted);transition:background .18s var(--ease),color .18s var(--ease)}
.cf-close:hover{background:var(--bg-band);color:var(--ink)}
.cf-form{display:flex;flex-direction:column;gap:16px}
.cf-field{display:flex;flex-direction:column;gap:6px}
.cf-field label{font-size:12px;font-weight:500;letter-spacing:.08em;text-transform:uppercase;color:var(--ink-2);font-family:var(--font-mono)}
.cf-field input,.cf-field textarea{font:inherit;font-size:15.5px;width:100%;padding:11px 13px;color:var(--ink);background:var(--bg);border:1px solid var(--line-2);border-radius:8px;transition:border-color .18s var(--ease),box-shadow .18s var(--ease)}
.cf-field textarea{resize:vertical;min-height:120px;line-height:1.5}
.cf-field input::placeholder,.cf-field textarea::placeholder{color:oklch(72% 0.01 152)}
.cf-field input:focus,.cf-field textarea:focus{outline:0;border-color:var(--sage);box-shadow:0 0 0 3px var(--sage-pale)}
.cf-actions{display:flex;gap:12px;margin-top:6px}
.cf-btn{flex:1;padding:12px 18px;font-size:15px;font-weight:500;border-radius:999px;transition:background .18s var(--ease),color .18s var(--ease),opacity .18s var(--ease)}
.cf-btn--ghost{border:1px solid var(--line-2);color:var(--ink)}
.cf-btn--ghost:hover{background:var(--bg-band)}
.cf-btn--solid{background:var(--ink);color:#fff}
.cf-btn--solid:hover{background:var(--sage-deep)}
.cf-btn[disabled]{opacity:.6;cursor:not-allowed}
.cf-error{margin:0;font-size:14px;color:#b4342a}
.cf-done{text-align:center;padding:26px 0 10px}
.cf-done__mark{width:46px;height:46px;margin:0 auto 16px;border-radius:50%;display:grid;place-items:center;background:var(--sage-pale);color:var(--sage-deep);font-size:22px}
.cf-done h3{margin:0 0 6px;font-size:20px;font-weight:600;color:var(--ink)}
.cf-done p{margin:0;font-size:14.5px;color:var(--muted)}
@media (max-width:520px){.cf-actions{flex-direction:column-reverse}}

.container { max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); }
.section   { padding: clamp(40px, 6vw, 80px) 0; }
.hairline  { height: 1px; background: var(--line); border: 0; margin: 0; }

/* ===== Typography ===== */
.eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-2);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow .dot {
  width: 6px; height: 6px;
  background: var(--sage);
  border-radius: 50%;
  display: inline-block;
}
.eyebrow .dot--blue { background: var(--blue); }

.h-display {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: clamp(44px, 6.6vw, 96px);
  line-height: 1.02;
  letter-spacing: -0.028em;
  color: var(--ink);
  margin: 0;
  text-wrap: balance;
}
.h-display em {
  font-style: normal;
  color: var(--sage-deep);
  font-weight: 500;
}

.h-section {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: clamp(32px, 4.2vw, 60px);
  line-height: 1.06;
  letter-spacing: -0.022em;
  margin: 0;
  text-wrap: balance;
}
.h-section em {
  font-style: normal;
  color: var(--sage-deep);
  font-weight: 500;
}

.lede {
  font-size: clamp(19px, 1.54vw, 23px);
  line-height: 1.55;
  color: var(--ink-2);
  margin: 0;
  max-width: 56ch;
  letter-spacing: -0.005em;
  text-wrap: pretty;
}

.copy {
  font-size: clamp(16px, 1.15vw, 18px);
  line-height: 1.65;
  color: var(--ink-2);
  margin: 0 0 1em;
  max-width: 62ch;
}
.copy strong { color: var(--ink); font-weight: 600; }

/* ===== Nav ===== */
.nav__logo {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.4px;
  color: #5DBB63;
  text-decoration: none;
  transition: color .25s var(--ease);
}
.nav__logo:hover { color: #fff; }
.nav.is-scrolled .nav__logo { color: var(--sage-deep); }
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  background: rgba(14,21,18,0.28);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(255,255,255,0.14);
  transition: background .25s var(--ease), border-color .25s var(--ease), color .25s var(--ease);
  color: #fff;
}
.nav.is-scrolled {
  background: rgba(255,255,255,0.92);
  border-bottom-color: var(--line);
  color: var(--ink);
}
.nav.is-scrolled {
  background: rgba(255,255,255,0.92);
  border-bottom-color: var(--line);
  color: var(--ink);
}
.nav .nav__brand { color: inherit; }
.nav .nav__brand .mark { background: oklch(72% 0.10 152); }
.nav.is-scrolled .nav__brand .mark { background: var(--sage); }
.nav .nav__links { color: rgba(255,255,255,0.85); }
.nav.is-scrolled .nav__links { color: var(--ink-2); }
.nav .nav__links a:hover { color: #fff; }
.nav.is-scrolled .nav__links a:hover { color: var(--sage-deep); }
.nav .nav__cta { border-color: rgba(255,255,255,0.35); color: #fff; }
.nav .nav__cta:hover { border-color: #fff; color: #fff; background: rgba(255,255,255,0.08); }
.nav.is-scrolled .nav__cta { border-color: var(--line-2); color: var(--ink); background: transparent; }
.nav.is-scrolled .nav__cta:hover { border-color: var(--sage); color: var(--sage-deep); }
.nav__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 18px var(--pad);
  display: flex; align-items: center; justify-content: space-between;
  gap: 32px;
}
.nav__brand {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 600; letter-spacing: -0.01em;
  font-size: 17px;
}
.nav__brand .mark {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--sage);
  display: inline-block;
}
.nav__links {
  display: flex; align-items: center; gap: 32px;
  font-size: 14.5px;
  color: var(--ink-2);
  margin-left: auto;
}
.nav__links a { transition: color .18s var(--ease); }
.nav__links a:hover { color: var(--sage-deep); }
.nav__cta {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 16px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  color: var(--ink);
  transition: all .18s var(--ease);
}
.nav__cta:hover {
  border-color: var(--sage);
  color: var(--sage-deep);
}

/* ===== Hero ===== */
.hero {
  position: relative;
  isolation: isolate;
  padding: clamp(120px, 16vw, 220px) 0 clamp(40px, 5vw, 72px);
  color: #fff;
  overflow: hidden;
  margin-top: -1px; /* tuck under nav border */
}
.hero::before {
  /* background photo */
  content: "";
  position: absolute; inset: 0;
  background-image: url("uploads/new-hero-battery-site.png");
  background-size: cover;
  background-position: center 30%;
  z-index: -2;
}
.hero::after {
  /* legibility scrim — dark ink wash + soft gradient from bottom-left */
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(14,21,18,0.34) 0%, rgba(14,21,18,0.30) 40%, rgba(14,21,18,0.48) 100%),
    radial-gradient(120% 80% at 20% 30%, rgba(14,21,18,0.26) 0%, rgba(14,21,18,0) 60%);
  z-index: -1;
}
.hero__row {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(40px, 6vw, 80px);
}
.hero__top {
  display: flex; align-items: baseline; gap: 14px;
  margin-bottom: clamp(48px, 8vw, 96px);
}
.hero__top .eyebrow { color: rgba(255,255,255,0.78); }
.hero__top .eyebrow .dot { background: oklch(72% 0.10 152); box-shadow: 0 0 0 4px rgba(255,255,255,0.10); }

.hero h1 { max-width: none; color: #fff; }
.hero__h1 { white-space: nowrap; font-size: clamp(36px, 5.6vw, 84px); }
@media (max-width: 760px) {
  .hero__h1 { white-space: normal; font-size: clamp(34px, 8vw, 56px); }
}
.hero h1 em { color: #5DBB63; }
.hero__lede {
  margin-top: clamp(28px, 3vw, 40px);
  max-width: 60ch;
  font-size: clamp(18px, 1.5vw, 22px);
  line-height: 1.5;
  color: rgba(255,255,255,0.85);
}

.hero__meta {
  margin-top: clamp(20px, 3vw, 40px);
  padding-top: 12px;
  border-top: 1px solid rgba(255,255,255,0.20);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.hero__meta > div { display: flex; flex-direction: column; gap: 6px; }
.hero__meta dt {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.60);
  font-weight: 500;
}
.hero__meta dd {
  margin: 0;
  font-size: clamp(15px, 1.1vw, 17px);
  color: #fff;
  font-weight: 500;
  letter-spacing: -0.01em;
}

/* Hero button variants override the global defaults so they read on dark */
.hero .btn--ink {
  background: #fff;
  color: var(--ink);
}
.hero .btn--ink:hover { background: oklch(92% 0.04 152); color: var(--sage-deep); }
.hero .btn--outline {
  color: #fff;
  border-color: rgba(255,255,255,0.45);
}
.hero .btn--outline:hover { border-color: #fff; color: #fff; }

/* ===== Buttons ===== */
.btn-row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 36px; }
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 13px 20px;
  border-radius: 999px;
  font-size: 14.5px;
  font-weight: 500;
  letter-spacing: -0.005em;
  transition: all .2s var(--ease);
}
.btn .arrow { width: 14px; height: 14px; transition: transform .2s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }
.btn--ink {
  background: var(--ink);
  color: #fff;
}
.btn--ink:hover { background: var(--sage-deep); }
.btn--outline {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line-2);
}
.btn--outline:hover { border-color: var(--sage); color: var(--sage-deep); }

/* ===== Thesis ===== */
.thesis { background: var(--bg); }
.thesis__head {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  align-items: center;
  gap: clamp(32px, 5vw, 64px);
  margin-bottom: clamp(56px, 7vw, 88px);
}
.thesis__head > .thesis__copy { max-width: 72ch; }
.thesis__diagram {
  width: 100%;
  max-width: 320px;
  height: auto;
  justify-self: start;
  align-self: center;
  margin-top: 120px;
}
@media (max-width: 860px) {
  .thesis__diagram { justify-self: center; max-width: 320px; margin-top: 0; }
}
.thesis__head .h-section { white-space: nowrap; }
@media (max-width: 720px) { .thesis__head .h-section { white-space: normal; } }

.thesis__icons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border: 1px solid var(--line);
  background: var(--bg-soft);
  border-radius: 4px;
  overflow: hidden;
  align-self: start;
  width: 100%;
  max-width: 480px;
  justify-self: end;
}
.thesis__icon {
  aspect-ratio: 1 / 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 24px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg);
  transition: background .25s var(--ease);
}
.thesis__icon:nth-child(2n) { border-right: 0; }
.thesis__icon:nth-child(n+3) { border-bottom: 0; }
.thesis__icon:hover { background: var(--sage-pale); }
.thesis__icon svg {
  width: 44px;
  height: 44px;
  color: var(--sage-deep);
  stroke: currentColor;
  fill: none;
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.thesis__icon span {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

@media (max-width: 860px) {
  .thesis__head { grid-template-columns: 1fr; }
  .thesis__icons { justify-self: start; max-width: 100%; }
}

.principles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(28px, 4vw, 64px);
  border-top: 1px solid var(--line);
  padding-top: clamp(40px, 5vw, 64px);
}
.principle { display: flex; flex-direction: column; gap: 16px; }
.principle__n {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}
.principle h3 {
  margin: 0;
  font-size: clamp(22px, 1.8vw, 26px);
  letter-spacing: -0.015em;
  line-height: 1.2;
  font-weight: 500;
  color: var(--ink);
}
.principle h3 em {
  font-style: normal;
  color: var(--sage-deep);
}
.principle p {
  margin: 0;
  font-size: 17.6px;
  line-height: 1.6;
  color: var(--ink-2);
}

/* ===== Approach ===== */
.approach { background: var(--bg-band); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.approach__head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  margin-bottom: 0;
  align-items: start;
}
.approach__head .eyebrow { margin-bottom: 24px; }
.approach__items {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line-2);
}
.approach__item {
  display: grid;
  grid-template-columns: 80px 1fr 2fr;
  gap: clamp(20px, 4vw, 64px);
  align-items: start;
  padding: clamp(28px, 3.5vw, 44px) 0;
  border-bottom: 1px solid var(--line-2);
}
.approach__item .num {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--muted);
  padding-top: 6px;
}
.approach__item h3 {
  margin: 0;
  font-size: clamp(22px, 1.9vw, 28px);
  font-weight: 500;
  letter-spacing: -0.018em;
  line-height: 1.18;
  color: var(--ink);
}
.approach__item p {
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-2);
  max-width: 56ch;
}

/* ===== Portfolio (USV-style list) ===== */
.portfolio { background: var(--bg); }
.portfolio__head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  margin-bottom: clamp(48px, 6vw, 72px);
  align-items: end;
}
.portfolio__head .eyebrow { margin-bottom: 24px; }

.companies {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 1.6vw, 24px);
}
.company {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: clamp(26px, 2.4vw, 34px);
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--bg);
  position: relative;
  min-height: 220px;
  transition: border-color .25s var(--ease), background .25s var(--ease), transform .25s var(--ease);
}
.company.is-link { cursor: pointer; }
.company.is-link:hover {
  border-color: var(--sage);
  background: var(--sage-pale);
  transform: translateY(-3px);
}

.company__logo-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 76px;
}
.company__logo {
  font-family: var(--font-sans);
  font-size: clamp(22px, 1.8vw, 27px);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
  line-height: 1;
}
.company__logo-img {
  display: block;
  width: 65%;
  height: auto;
  max-height: 72px;
  margin: 0 auto;
  object-fit: contain;
}
.company__logo-img.is-wide {
  width: 85%;
  max-height: 88px;
}
.company__logo-img.is-small { width: 52%; }
/* dark-background wordmarks shown as an intentional chip */
.company__logo-img.is-chip {
  border-radius: 6px;
  padding: 12px 16px;
}
.company__sector {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sage-deep);
  margin-top: auto;
}
.company__desc {
  color: var(--ink-2);
  font-size: 16.5px;
  line-height: 1.5;
  margin-top: -12px;
}

.company.is-stealth { background: var(--bg-soft); }
.company.is-stealth .company__logo {
  color: var(--muted);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(26.4px, 2.16vw, 32.4px);
}
.company.is-stealth .company__sector { color: var(--muted); }

.portfolio__foot {
  margin-top: 36px;
  display: flex; justify-content: space-between; gap: 24px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  flex-wrap: wrap;
}
.portfolio__foot a { color: var(--sage-deep); }
.portfolio__foot a:hover { color: var(--ink); }

/* ===== Team ===== */
.team { background: var(--sage-deep); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.team__head {
  margin-bottom: clamp(32px, 4vw, 48px);
}
.team__head .h-section { white-space: nowrap; }
.team__head .eyebrow { margin-bottom: 24px; }
.team .eyebrow { color: rgba(255,255,255,0.7); }
.team .h-section { color: #fff; }
.team .h-section em { color: oklch(88% 0.06 152); }
.team .partner__name { color: #fff; }
.team .partner__role { color: rgba(255,255,255,0.6); }
.team .partner__bio { color: rgba(255,255,255,0.85); }
.team .partner { border-color: rgba(255,255,255,0.18); }
.team .partner__links a { color: rgba(255,255,255,0.85); border-color: rgba(255,255,255,0.3); }
.team .partner__links a:hover { color: #fff; border-color: rgba(255,255,255,0.6); }
.team { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.team__photo {
  justify-self: center;
  width: 100%;
  max-width: 352px;
  border-radius: 4px;
  overflow: hidden;
}
.team__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 584 / 640;
  filter: grayscale(100%);
}
@media (max-width: 860px) {
  .team__photo { justify-self: start; max-width: 100%; }
}

.team__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 4vw, 56px);
}
.partner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
  padding-top: 28px;
  border-top: 1px solid var(--line-2);
}
.partner__head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
.partner__name {
  margin: 0;
  font-size: clamp(26px, 2.2vw, 34px);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.partner__role {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}
.partner__bio {
  margin: 0;
  font-size: 17.6px;
  line-height: 1.6;
  color: var(--ink-2);
  max-width: 52ch;
}
.partner__links {
  display: flex; gap: 18px;
  font-size: 14px;
  margin-top: 4px;
}
.partner__links a {
  color: var(--ink);
  border-bottom: 1px solid var(--line-2);
  padding-bottom: 2px;
  transition: color .18s var(--ease), border-color .18s var(--ease);
}
.partner__links a:hover { color: var(--sage-deep); border-color: var(--sage); }

/* ===== Contact ===== */
.contact { background: var(--bg); padding: clamp(60px, 8vw, 100px) 0; }
.contact__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: end;
}
.contact__inner .eyebrow { margin-bottom: 28px; }
.contact h2 { max-width: 16ch; }

.contact__email {
  font-size: clamp(28px, 3.6vw, 48px);
  font-weight: 500;
  letter-spacing: -0.025em;
  color: var(--ink);
  display: inline-flex; align-items: center; gap: 14px;
  border-bottom: 1px solid var(--line-2);
  padding-bottom: 10px;
  transition: color .2s var(--ease), border-color .2s var(--ease);
}
.contact__email:hover { color: var(--sage-deep); border-color: var(--sage); }
.contact__email .arrow { width: 22px; height: 22px; transition: transform .2s var(--ease); }
.contact__email:hover .arrow { transform: translate(3px, -3px); }
.contact__note {
  margin-top: 20px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ===== Footer ===== */
.footer {
  background: var(--bg-band);
  border-top: 1px solid var(--line);
  padding: 56px 0 28px;
  font-size: 14px;
  color: var(--ink-2);
}
.footer__top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--line);
}
.footer__brand { display: flex; flex-direction: column; gap: 14px; max-width: 36ch; }
.footer__brand .word { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: 20px; }
.footer__brand .word .mark { width: 10px; height: 10px; border-radius: 50%; background: var(--sage); }
.footer__brand p { margin: 0; color: var(--muted); font-size: 16px; line-height: 1.55; }
.footer__col h4 {
  margin: 0 0 14px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
}
.footer__col ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 8px; }
.footer__col a { color: var(--ink-2); }
.footer__col a:hover { color: var(--sage-deep); }
.footer__legal {
  margin-top: 28px;
  display: flex; justify-content: space-between; gap: 24px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  flex-wrap: wrap;
}

/* ===== Responsive ===== */
@media (max-width: 980px) {
  .hero__meta { grid-template-columns: repeat(2, 1fr); gap: 24px 28px; }
  .principles { grid-template-columns: 1fr; gap: 36px; }
  .approach__head, .portfolio__head, .team__head, .contact__inner { grid-template-columns: 1fr; align-items: start; }
  .approach__item { grid-template-columns: 60px 1fr; }
  .approach__item p { grid-column: 1 / -1; }
  .team__grid { grid-template-columns: 1fr; gap: 40px; }
  .companies { grid-template-columns: repeat(2, 1fr); }
  .footer__top { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 640px) {
  .nav__links { gap: 18px; font-size: 13.5px; }
  .nav__links a:not(.nav__cta) { display: none; }
  .companies { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr; }
}
