/* ===========================================================
   Gain Partners — Stylesheet
   =========================================================== */

/* Reset
   --------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; overflow-x: hidden; }
body { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; overflow-x: hidden; }
p, h1, h2, h3, h4, h5, h6, span, a { overflow-wrap: break-word; word-break: normal; }
img, video, svg { display: block; max-width: 100%; height: auto; }
button { border: none; background: none; font: inherit; color: inherit; cursor: pointer; }
input, textarea, select { font: inherit; color: inherit; background: transparent; border: none; }
a { color: inherit; text-decoration: none; }

/* Focus
   --------------------------------------------------------- */
:focus { outline: none; }
:focus-visible {
  outline: 2px solid var(--emerald);
  outline-offset: 3px;
  border-radius: 2px;
}

/* Skip link
   --------------------------------------------------------- */
.skip-link {
  position: absolute;
  left: 16px;
  top: -48px;
  background: var(--ink);
  color: var(--canvas);
  padding: 10px 14px;
  font-size: 13px;
  font-weight: 500;
  border-radius: 3px;
  z-index: 100;
  transition: top 180ms ease;
}
.skip-link:focus-visible {
  top: 16px;
  outline-offset: 2px;
}

/* Tokens
   --------------------------------------------------------- */
:root {
  /* Colour */
  --canvas: #FBF7EC;
  --surface: #F0EBDD;
  --ink: #031B1B;
  --ink-72: rgba(3, 27, 27, 0.72);
  --ink-55: rgba(3, 27, 27, 0.55);
  --rule: rgba(3, 27, 27, 0.14);
  --emerald: #00C174;
  --deep-brand: #031B1B;
  --evergreen: #07312D;

  /* Type */
  --font-display: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;

  /* Layout */
  --container-max: 1180px;
  --gutter: 36px;
  --section-y: 96px;
  --hero-y: 88px;
}

/* Base
   --------------------------------------------------------- */
body {
  background: var(--canvas);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.55;
  font-weight: 400;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.08;
  color: var(--ink);
}

p { margin: 0; }

::selection { background: var(--emerald); color: var(--canvas); }

/* Layout
   --------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* Reusable components
   --------------------------------------------------------- */
.label {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--emerald);
  margin: 0 0 20px;
  display: block;
}

.rule {
  width: 48px;
  height: 2px;
  background: var(--emerald);
  display: block;
  margin: 0 0 28px;
}

.section-headline {
  font-size: 40px;
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0 0 28px;
  max-width: 720px;
}

.cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  border-bottom: 1px solid var(--ink);
  padding-bottom: 3px;
  transition: opacity 200ms ease;
}
.cta:hover { opacity: 0.7; }
.cta--large { font-size: 15px; }

/* Navigation
   --------------------------------------------------------- */
.nav {
  padding: 24px 0;
  border-bottom: 0.5px solid var(--rule);
  background: var(--canvas);
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: saturate(140%) blur(8px);
  -webkit-backdrop-filter: saturate(140%) blur(8px);
  background: rgba(251, 247, 236, 0.92);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav__brand {
  display: inline-flex;
  align-items: center;
  transition: opacity 200ms ease;
  line-height: 0;
}
.nav__brand:hover { opacity: 0.75; }
.nav__brand-img {
  height: 28px;
  width: auto;
  display: block;
}
.nav__links {
  display: flex;
  gap: 36px;
  align-items: center;
}
.nav__link {
  font-size: 14px;
  color: var(--ink-72);
  transition: color 200ms ease;
  font-weight: 400;
  padding: 12px 0;
  line-height: 1;
  display: inline-block;
}
.nav__link:hover { color: var(--ink); }
.nav__link[aria-current="page"] { color: var(--ink); font-weight: 500; }

/* Mobile hamburger — toggle checkbox hidden visually, controls menu via :checked */
.nav__toggle {
  position: absolute;
  opacity: 0;
  width: 44px;
  height: 44px;
  pointer-events: none;
  z-index: -1;
}
.nav__hamburger { display: none; }

/* Hero — Home
   --------------------------------------------------------- */
.hero {
  padding: var(--hero-y) 0 96px;
}
.hero__grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 56px;
  align-items: center;
}
.hero__headline {
  font-size: 52px;
  letter-spacing: -0.025em;
  line-height: 1.04;
  margin: 0 0 24px;
  max-width: 580px;
}
.hero__accent { color: var(--emerald); }
.hero__sub {
  font-size: 18px;
  line-height: 1.55;
  color: var(--ink-72);
  max-width: 500px;
  margin: 0 0 36px;
}
.hero__portraits {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  max-width: 480px;
  justify-self: end;
  width: 100%;
}

/* Portrait
   --------------------------------------------------------- */
.portrait {
  aspect-ratio: 4 / 5;
  border-radius: 4px;
  overflow: hidden;
  position: relative;
  background: var(--surface);
}
/* Scrim behind label so text stays legible on any image */
.portrait::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 45%;
  background: linear-gradient(to top, rgba(3, 27, 27, 0.78) 0%, rgba(3, 27, 27, 0.35) 55%, transparent 100%);
  pointer-events: none;
}
.portrait__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 28%;
  display: block;
}
/* Source-photo correction: when a portrait is shot further back than the
   set, this modifier zooms the face up to match the other portrait. */
.portrait--zoom .portrait__img {
  transform: scale(1.18);
  transform-origin: center 34%;
}
.portrait__label {
  position: absolute;
  left: 18px;
  bottom: 18px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  color: var(--canvas);
  z-index: 1;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}
.portrait__role {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.92;
}
.portrait__name {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

/* Proof band — Discovery Month (Sequoia-style pull-quote)
   --------------------------------------------------------- */
.proof {
  background: var(--deep-brand);
  color: var(--canvas);
  padding: 120px 0;
}
.proof__quote {
  position: relative;
  padding-left: 36px;
  max-width: 880px;
  margin: 0;
}
.proof__quote::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  bottom: 8px;
  width: 3px;
  background: var(--emerald);
}
.proof__lede {
  font-family: var(--font-display);
  font-size: 38px;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.22;
  color: var(--canvas);
  margin: 0 0 24px;
}
.proof__accent { color: var(--emerald); font-weight: 700; }
.proof__close {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 400;
  letter-spacing: 0.02em;
  line-height: 1.5;
  color: rgba(251, 247, 236, 0.62);
}
.proof__close::before {
  content: '— ';
  color: var(--emerald);
}

/* Work grid — Recent work on Home
   --------------------------------------------------------- */
.work { padding: var(--section-y) 0 0; }
.work__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 36px 28px;
}
.case {
  display: flex;
  flex-direction: column;
  gap: 14px;
  text-decoration: none;
  color: inherit;
  transition: opacity 200ms ease;
}
.case:hover { opacity: 0.78; }
.case__thumb {
  aspect-ratio: 4 / 3;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
  padding: 18%;
}
.case__thumb-founder {
  position: absolute;
  bottom: 14px;
  right: 14px;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--canvas);
  border: 2px solid var(--canvas);
}
.case__thumb-founder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 28%;
  max-width: none;
  max-height: none;
  filter: none;
}

/* Portrait-led case thumb (founder photo as main visual, company logo demoted) */
.case__thumb--portrait { padding: 0; background: var(--surface); }
.case__thumb--portrait > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 28%;
  max-width: none;
  max-height: none;
  filter: none;
}
.case__thumb-logo-chip {
  position: absolute;
  bottom: 12px;
  left: 12px;
  background: rgba(251, 247, 236, 0.94);
  padding: 7px 11px;
  border-radius: 3px;
  display: flex;
  align-items: center;
  max-width: 60%;
}
.case__thumb-logo-chip img {
  height: 16px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  filter: saturate(0.85);
  display: block;
}
.case__thumb-logo-chip--iconmark img { height: 22px; }
.case__thumb img {
  object-fit: contain;
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  filter: saturate(0.85);
}

/* Explore tile (sixth grid cell — CTA into /work) */
.case--explore { gap: 14px; }
.case__thumb--explore {
  background: var(--surface);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  transition: background 200ms ease;
}
.case--explore:hover .case__thumb--explore { background: var(--canvas); }
.case--explore:hover { opacity: 1; }
.case__thumb-cta {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
  transition: color 200ms ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.case--explore:hover .case__thumb-cta { color: var(--emerald); }
/* Wordmark logos are wide; iconmark logos are square. Modifier to tune. */
.case__thumb--wordmark { padding: 22% 14%; }
.case__thumb--iconmark { padding: 22%; }
.case__thumb--spot { background: linear-gradient(135deg, #E8DFC8 0%, #D9CFB2 100%); }
.case__thumb--cb { background: linear-gradient(135deg, #DCE6D8 0%, #C2D2BD 100%); }
.case__thumb--5x { background: linear-gradient(135deg, #E1DCD2 0%, #C7BFAF 100%); }
.case__thumb--hwh { background: linear-gradient(135deg, #E8D9D0 0%, #D6C3B8 100%); }
.case__thumb--mpci { background: linear-gradient(135deg, #D8DEE0 0%, #BFC8CB 100%); }
.case__num {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--emerald);
}
.case__name {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 2px 0 0;
  color: var(--ink);
}
.case__role {
  font-size: 13px;
  color: var(--ink-55);
  margin: 0;
}
.case__outcome {
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink-72);
}

/* Section primitives (re-used by Outcomes, Testimonials, etc.)
   --------------------------------------------------------- */
.section { padding: var(--section-y) 0; }
.section--tight { padding-top: 0; }
.section--top-rule { border-top: 0.5px solid var(--rule); }
.section__intro { margin-bottom: 56px; max-width: 620px; }
.section__intro h2 { margin: 0; }

/* Outcomes — three side-by-side blocks (Home)
   --------------------------------------------------------- */
.outcome-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 36px 28px;
}
.outcome {
  display: flex;
  flex-direction: column;
  gap: 10px;
  border-top: 0.5px solid var(--rule);
  padding-top: 22px;
}
.outcome__client {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--emerald);
}
.outcome__lede {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.25;
  color: var(--ink);
}
.outcome__body {
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink-72);
}

/* Testimonials — two side-by-side pull-quotes (Home)
   --------------------------------------------------------- */
.testimonial-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 36px 56px;
}
.testimonial {
  border-top: 0.5px solid var(--rule);
  padding-top: 28px;
  margin: 0;
}
.testimonial__text {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 500;
  line-height: 1.45;
  letter-spacing: -0.01em;
  margin: 0 0 14px;
  color: var(--ink);
}
.testimonial__cite {
  font-size: 13px;
  color: var(--ink-55);
  font-style: normal;
}
.testimonial__cite strong { color: var(--ink); font-weight: 600; }

/* Partners teaser (Home → About)
   --------------------------------------------------------- */
.partners {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 28px 56px;
}
.partner {
  border-top: 0.5px solid var(--rule);
  padding-top: 22px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.partner__name {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.partner__role {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--emerald);
}
.partner__body {
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink-72);
}

/* Three ways
   --------------------------------------------------------- */
.ways { padding: var(--section-y) 0; }
.ways--tight { padding-top: 0; }

/* Editorial two-column intro pattern (used on .ways__intro).
   Label hangs alone in the left column; headline (left) and body (right) sit
   on the same baseline in row two. Collapses to single column on tablet/mobile. */
.ways__intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  grid-template-areas:
    "label   ."
    "head    body";
  column-gap: 80px;
  row-gap: 0;
  align-items: start;
  margin-bottom: 72px;
  max-width: none;
}
.ways__intro > .label { grid-area: label; }
.ways__intro > h2 { grid-area: head; margin: 0; max-width: none; }
.ways__intro > .how__body { grid-area: body; margin: 0; max-width: none; }

/* Single-column intro for "What we move" — brief intro, cards do the heavy lifting */
.moves__header {
  max-width: 720px;
  margin-bottom: 72px;
}
.moves__header > .section-headline { margin: 0 0 24px; }
.moves__header > .moves__intro { margin: 0; max-width: 640px; }
.ways__list {
  display: grid;
  grid-template-columns: 1fr;
  border-top: 0.5px solid var(--rule);
}
.way {
  display: grid;
  grid-template-columns: 240px 1fr 160px;
  gap: 48px;
  padding: 36px 0;
  border-bottom: 0.5px solid var(--rule);
  align-items: start;
}
.way__head { display: flex; flex-direction: column; gap: 4px; }
.way__name {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.015em;
}
.way__sub { font-size: 13px; color: var(--ink-55); }
.way__body {
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink-72);
  max-width: 520px;
}
.way__price {
  font-family: var(--font-display);
  text-align: right;
  padding-top: 2px;
}
.way__price-from {
  font-size: 13px;
  color: var(--ink-55);
  font-weight: 400;
  display: block;
  margin-bottom: 2px;
}
.way__price-value {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--emerald);
}

/* Writing TOC
   --------------------------------------------------------- */
.writing { padding: var(--section-y) 0; border-top: 0.5px solid var(--rule); }
.writing__intro {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: end;
  margin-bottom: 40px;
}
.writing__intro h2 { margin: 0; }
.writing__sub {
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink-72);
  max-width: 540px;
  margin: 14px 0 0;
}
.writing__all {
  font-size: 13px;
  color: var(--ink);
  border-bottom: 1px solid var(--ink);
  padding-bottom: 3px;
  font-weight: 500;
  transition: opacity 200ms ease;
}
.writing__all:hover { opacity: 0.7; }
.writing__list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 40px;
}
.article {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 20px;
  padding: 22px 0;
  border-top: 0.5px solid var(--rule);
  align-items: start;
  text-decoration: none;
  color: inherit;
  transition: opacity 200ms ease;
}
.article:hover { opacity: 0.7; }
.article__tag {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--emerald);
  padding-top: 4px;
}
.article__title {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.005em;
  line-height: 1.25;
  margin: 0 0 6px;
}
.article__excerpt {
  font-size: 13px;
  color: var(--ink-72);
  line-height: 1.5;
}

/* Newsletter
   --------------------------------------------------------- */
.newsletter {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  margin-top: 48px;
  padding-top: 28px;
  border-top: 0.5px solid var(--rule);
}
.newsletter__heading {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
}
.newsletter__sub {
  font-size: 13px;
  color: var(--ink-55);
  margin-top: 4px;
}
.newsletter__form { display: flex; gap: 8px; align-items: stretch; }
.newsletter__form .newsletter__input { flex: 1 1 auto; }
.newsletter__form .newsletter__submit { flex-shrink: 0; white-space: nowrap; }
.newsletter__input {
  border: 0.5px solid rgba(3, 27, 27, 0.25);
  padding: 10px 14px;
  font-size: 14px;
  border-radius: 3px;
  min-width: 260px;
  color: var(--ink);
  transition: border-color 200ms ease;
}
.newsletter__input:focus { outline: none; border-color: var(--emerald); }
.newsletter__submit {
  background: var(--ink);
  color: var(--canvas);
  padding: 10px 18px;
  font-size: 14px;
  border-radius: 3px;
  font-weight: 500;
  cursor: pointer;
  transition: opacity 200ms ease;
}
.newsletter__submit:hover { opacity: 0.85; }

/* FAQ
   --------------------------------------------------------- */
.faq { padding: var(--section-y) 0; background: var(--surface); }
.faq__list { display: grid; max-width: 880px; }
.faq__item {
  border-top: 0.5px solid var(--rule);
  padding: 24px 0;
}
.faq__item:last-child { border-bottom: 0.5px solid var(--rule); }
.faq__q {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.005em;
  margin: 0 0 8px;
}
.faq__a {
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink-72);
  max-width: 720px;
}

/* Close CTA
   --------------------------------------------------------- */
.close { padding: 120px 0; }
.close__inner { max-width: 760px; }
.close__headline {
  font-size: 42px;
  letter-spacing: -0.02em;
  line-height: 1.08;
  margin: 0 0 20px;
  max-width: 680px;
}
.close__sub {
  font-size: 18px;
  line-height: 1.55;
  color: var(--ink-72);
  max-width: 560px;
  margin: 0 0 36px;
}

/* Footer
   --------------------------------------------------------- */
.footer {
  background: var(--deep-brand);
  color: var(--canvas);
  padding: 64px 0 32px;
}
.footer__top {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 0.5px solid rgba(251, 247, 236, 0.12);
}
.footer__brand { display: flex; flex-direction: column; gap: 12px; }
.footer__logo {
  display: inline-flex;
  align-items: center;
  line-height: 0;
}
.footer__logo-img {
  height: 28px;
  width: auto;
  display: block;
}
.footer__meta {
  font-size: 13px;
  line-height: 1.55;
  color: rgba(251, 247, 236, 0.65);
  max-width: 340px;
}
.footer__col { display: flex; flex-direction: column; gap: 10px; }
.footer__label {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--emerald);
  margin: 0 0 6px;
}
.footer__link {
  font-size: 13px;
  color: rgba(251, 247, 236, 0.75);
  transition: color 200ms ease;
  padding: 6px 0;
  display: inline-block;
}
.footer__link:hover { color: var(--canvas); }
.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding-top: 24px;
}
.footer__legal {
  font-size: 12px;
  color: rgba(251, 247, 236, 0.5);
  letter-spacing: 0.02em;
}
.footer__legal a { color: inherit; }
.footer__legal a:hover { color: rgba(251, 247, 236, 0.85); }
.footer__tagline {
  font-family: var(--font-display);
  font-size: 13px;
  font-style: italic;
  font-weight: 500;
  color: var(--emerald);
}

/* Generic page hero (About, Work, Writing, Contact)
   --------------------------------------------------------- */
.page-hero { padding: var(--section-y) 0 56px; }
.page-hero__headline {
  font-size: 56px;
  letter-spacing: -0.025em;
  line-height: 1.04;
  margin: 14px 0 24px;
  max-width: 720px;
}
.page-hero__intro {
  font-size: 19px;
  line-height: 1.55;
  color: var(--ink-72);
  max-width: 620px;
}

/* About page — bios
   --------------------------------------------------------- */
.bio {
  padding: 80px 0;
  border-top: 0.5px solid var(--rule);
}
.bio:first-of-type {
  border-top: none;
  padding-top: 48px;
}
.bio__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
  gap: 56px;
  align-items: start;
}
.bio--reversed .bio__inner {
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
}
.bio--reversed .bio__portrait { order: 2; }
.bio__portrait {
  aspect-ratio: 4 / 5;
  border-radius: 4px;
  overflow: hidden;
  background: var(--surface);
}
.bio__portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 28%;
}
.bio__portrait--zoom img {
  transform: scale(1.28);
  transform-origin: center 34%;
}
.bio__content { display: flex; flex-direction: column; gap: 14px; }
.bio__name {
  font-size: 32px;
  letter-spacing: -0.02em;
  margin: 4px 0 8px;
}
.bio__body {
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-72);
  max-width: 540px;
}
.bio__logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  margin-top: 16px;
  padding-top: 18px;
  border-top: 0.5px solid var(--rule);
}
.bio__logos-label {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--ink-55);
  margin-right: 8px;
}
.bio__logo {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.005em;
  color: var(--ink);
}

/* How we work together (About)
   --------------------------------------------------------- */
.how {
  padding: var(--section-y) 0;
  border-top: 0.5px solid var(--rule);
  background: var(--surface);
}
.how__body {
  font-size: 18px;
  line-height: 1.7;
  color: var(--ink-72);
  max-width: 640px;
}

/* Work page — case study detail
   --------------------------------------------------------- */
.case-study {
  padding: 64px 0;
  border-top: 0.5px solid var(--rule);
  scroll-margin-top: 80px;
}
.case-study__head {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 32px;
}
.case-study__logo {
  height: 44px;
  width: auto;
  max-width: 220px;
  margin: 0 0 20px;
  object-fit: contain;
  object-position: left center;
  filter: saturate(0.85);
}
.case-study__logo--iconmark { height: 56px; max-width: 56px; }

/* Case-study head with founder portrait */
.case-study__top {
  display: flex;
  align-items: center;
  gap: 18px;
  margin: 0 0 28px;
  flex-wrap: wrap;
}
.case-study__founder {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--surface);
  flex-shrink: 0;
}
.case-study__founder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 28%;
}
.case-study__founder-meta { display: flex; flex-direction: column; gap: 2px; }
.case-study__founder-name {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.005em;
  color: var(--ink);
}
.case-study__founder-title {
  font-size: 13px;
  color: var(--ink-55);
}
.case-study__num {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--emerald);
}
.case-study__name {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.case-study__credential {
  font-size: 14px;
  color: var(--ink-55);
}
.case-study__content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.case-study__col { display: flex; flex-direction: column; gap: 14px; }
.case-study__col-label {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--ink-55);
}
.case-study__col-label--second { margin-top: 24px; }
.case-study__col-body {
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-72);
}
.case-study__col-body strong { color: var(--emerald); font-weight: 700; }
.case-study__list { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.case-study__list li {
  font-size: 15px;
  line-height: 1.5;
  color: var(--ink-72);
  padding-left: 18px;
  position: relative;
}
.case-study__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 11px;
  width: 6px;
  height: 1px;
  background: var(--emerald);
}
.case-study__quote {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 0.5px solid var(--rule);
}
.case-study__quote-text {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 500;
  line-height: 1.45;
  letter-spacing: -0.005em;
  margin: 0 0 10px;
}
.case-study__quote-cite {
  font-size: 12px;
  color: var(--ink-55);
}
.case-study__quote-cite strong { color: var(--ink); font-weight: 600; }

/* Video player block
   --------------------------------------------------------- */
.video-block {
  aspect-ratio: 9 / 16;
  max-width: 320px;
  border-radius: 6px;
  overflow: hidden;
  background: var(--evergreen);
  position: relative;
}
.video-block video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Writing — single article (post template)
   --------------------------------------------------------- */
.post { padding: 0 0 72px; }
.post__container { max-width: 720px; margin: 0 auto; padding: 0 var(--gutter); }
.post__head { padding: var(--section-y) 0 36px; }
.post__meta {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--ink-55);
  display: block;
  margin: 14px 0 18px;
}
.post__title {
  font-size: 44px;
  letter-spacing: -0.025em;
  line-height: 1.08;
  margin: 0 0 18px;
  font-weight: 700;
  color: var(--ink);
}
.post__dek {
  font-size: 19px;
  line-height: 1.55;
  color: var(--ink-72);
  margin: 0;
}
.post__body {
  font-size: 18px;
  line-height: 1.7;
  color: var(--ink);
  max-width: 660px;
}
.post__body p { margin: 0 0 22px; }
.post__body h2 {
  font-size: 24px;
  letter-spacing: -0.015em;
  margin: 44px 0 14px;
}
.post__body h3 {
  font-size: 19px;
  letter-spacing: -0.005em;
  margin: 32px 0 10px;
}
.post__body ul, .post__body ol {
  margin: 0 0 22px 22px;
  padding: 0;
}
.post__body li { margin: 0 0 6px; }
.post__body a {
  color: var(--ink);
  border-bottom: 1px solid var(--emerald);
  transition: color 200ms ease, border-color 200ms ease;
}
.post__body a:hover { color: var(--emerald); }
.post__body strong { font-weight: 600; }
.post__body em { font-style: italic; }
.post__pullquote {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 500;
  letter-spacing: -0.015em;
  line-height: 1.35;
  color: var(--ink);
  border-left: 3px solid var(--emerald);
  padding: 4px 0 4px 24px;
  margin: 36px 0 36px -4px;
  max-width: 640px;
}
@media (max-width: 767px) {
  .post__title { font-size: 30px; }
  .post__dek { font-size: 17px; }
  .post__body { font-size: 17px; }
  .post__body h2 { font-size: 22px; }
  .post__pullquote { font-size: 20px; padding-left: 18px; }
}

/* Writing page — index
   --------------------------------------------------------- */
.writing-page { padding: 0 0 96px; }
.writing-page__list { display: grid; gap: 0; }
.writing-empty {
  padding: 64px 0 48px;
  border-top: 0.5px solid var(--rule);
}
.writing-empty p {
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink-72);
  max-width: 560px;
}

/* Contact form
   --------------------------------------------------------- */
.contact-form { padding: 32px 0 80px; }
.contact-form__form {
  max-width: 560px;
  display: grid;
  gap: 24px;
}
.form-field { display: flex; flex-direction: column; gap: 8px; }
.form-field__label {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
}
.form-field__input,
.form-field__textarea {
  border-bottom: 1px solid rgba(3, 27, 27, 0.25);
  padding: 14px 0;
  font-size: 16px;
  font-family: var(--font-body);
  color: var(--ink);
  transition: border-color 200ms ease;
  width: 100%;
  min-height: 44px;
}
.form-field__input:focus,
.form-field__textarea:focus {
  outline: none;
  border-color: var(--emerald);
}
.form-field__textarea { resize: vertical; min-height: 120px; line-height: 1.55; }
.form-submit {
  background: var(--ink);
  color: var(--canvas);
  padding: 14px 24px;
  font-size: 14px;
  border-radius: 3px;
  font-weight: 500;
  cursor: pointer;
  justify-self: start;
  margin-top: 8px;
  transition: opacity 200ms ease;
  font-family: var(--font-body);
}
.form-submit:hover { opacity: 0.85; }
.direct {
  padding: 48px 0 96px;
  border-top: 0.5px solid var(--rule);
}
.direct__label {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-55);
  margin: 0 0 16px;
}
.direct__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
}
.direct__link {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 2px;
  transition: color 200ms ease, border-color 200ms ease;
}
.direct__link:hover { color: var(--emerald); border-color: var(--emerald); }
.direct__sep { color: var(--ink-55); font-size: 18px; }

/* Responsive — tablet (991px)
   --------------------------------------------------------- */
@media (max-width: 991px) {
  :root { --section-y: 72px; --gutter: 28px; }
  .hero__grid { grid-template-columns: 1fr; gap: 40px; }
  .hero__headline { font-size: 40px; }
  .hero__portraits { max-width: 460px; justify-self: start; }
  .page-hero__headline { font-size: 40px; }
  .section-headline, .close__headline { font-size: 30px; line-height: 1.1; }
  .ways__intro {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "label"
      "head"
      "body";
    column-gap: 0;
    row-gap: 16px;
    margin-bottom: 48px;
  }
  .ways__intro > .label { margin-bottom: 0; }
  .moves__header { margin-bottom: 48px; }
  .moves__header > .section-headline { margin-bottom: 18px; }
  .how__body { font-size: 17px; line-height: 1.65; }
  .moves__intro { font-size: 17px; line-height: 1.65; }
  .work__grid { grid-template-columns: repeat(2, 1fr); }
  .outcome-grid { grid-template-columns: 1fr 1fr; }
  .testimonial-grid { grid-template-columns: 1fr; gap: 28px; }
  .partners { grid-template-columns: 1fr; gap: 20px; }
  .case-study__content { grid-template-columns: 1fr; gap: 24px; }
  .case-study__name { font-size: 28px; }
  .way { grid-template-columns: 1fr; gap: 14px; padding: 28px 0; }
  .way__price { text-align: left; }
  .bio__inner, .bio--reversed .bio__inner { grid-template-columns: 1fr; gap: 32px; }
  .bio--reversed .bio__portrait { order: 0; }
  .bio__portrait { max-width: 420px; }
  .bio__name { font-size: 28px; }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .video-block { max-width: 280px; }
  .proof__text { font-size: 22px; }
  .nav { position: static; backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--canvas); }
}

/* Responsive — mobile (767px)
   --------------------------------------------------------- */
@media (max-width: 767px) {
  :root { --section-y: 56px; --hero-y: 48px; --gutter: 20px; }
  .hero { padding: 48px 0 64px; }
  .hero__headline { font-size: 32px; }
  .hero__sub { font-size: 16px; }
  .hero__portraits { max-width: 360px; }
  .portrait__label { left: 14px; bottom: 14px; }
  .portrait__name { font-size: 13px; }
  .proof { padding: 56px 0; }
  .proof__text { font-size: 18px; }
  .proof__lede { font-size: 22px; }
  .proof__quote { padding-left: 18px; }
  .work__grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .outcome-grid { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .testimonial-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .partners { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .case__thumb-founder { width: 56px; height: 56px; bottom: 12px; right: 12px; }
  .case-study__founder { width: 72px; height: 72px; }
  .case-study__top { gap: 14px; }
  .case-study__founder-name { font-size: 15px; }
  .case-study__founder-title { font-size: 12px; }
  .nav__brand-img { height: 24px; }
  .footer__logo-img { height: 24px; }
  .writing__intro { grid-template-columns: minmax(0, 1fr); }
  .writing__list { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .newsletter { flex-direction: column; align-items: flex-start; }
  .newsletter__input { min-width: 0; width: 100%; }
  .newsletter__form { width: 100%; }
  .nav__inner { gap: 16px; position: relative; }
  .nav__hamburger {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    padding: 0 10px;
    cursor: pointer;
    margin-left: auto;
    flex-shrink: 0;
  }
  .nav__hamburger span {
    display: block;
    height: 2px;
    background: var(--ink);
    border-radius: 1px;
    transition: transform 240ms ease, opacity 200ms ease;
    transform-origin: center;
  }
  .nav__toggle:checked ~ .nav__hamburger span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }
  .nav__toggle:checked ~ .nav__hamburger span:nth-child(2) { opacity: 0; }
  .nav__toggle:checked ~ .nav__hamburger span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }
  .nav__links {
    position: absolute;
    top: 100%;
    left: -20px;
    right: -20px;
    background: var(--canvas);
    flex-direction: column;
    padding: 8px 32px 16px;
    border-top: 0.5px solid var(--rule);
    border-bottom: 0.5px solid var(--rule);
    gap: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 280ms ease, padding 280ms ease;
    padding-top: 0;
    padding-bottom: 0;
  }
  .nav__toggle:checked ~ .nav__links {
    max-height: 320px;
    padding-top: 8px;
    padding-bottom: 16px;
  }
  .nav__link {
    padding: 14px 0;
    border-bottom: 0.5px solid var(--rule);
    font-size: 16px;
    width: 100%;
  }
  .nav__link:last-child { border-bottom: none; }
  .nav__toggle:focus-visible ~ .nav__hamburger {
    outline: 2px solid var(--emerald);
    outline-offset: 2px;
    border-radius: 4px;
  }
  .footer__top { grid-template-columns: minmax(0, 1fr); gap: 32px; padding-bottom: 32px; }
  .footer__bottom { flex-direction: column; align-items: flex-start; gap: 8px; }
  .page-hero { padding: 56px 0 32px; }
  .page-hero__headline { font-size: 30px; }
  .page-hero__intro { font-size: 17px; }
  .close { padding: 64px 0; }
  .close__headline { font-size: 26px; }
  .close__sub { font-size: 16px; }
  .case-study { padding: 48px 0; }
  .case-study__name { font-size: 24px; }
  .case-study__credential { font-size: 13px; }
  .direct__row { flex-direction: column; align-items: flex-start; gap: 8px; }
  .direct__sep { display: none; }
  .direct__link { font-size: 16px; }
  .faq__item { padding: 18px 0; }
  .faq__q { font-size: 16px; }
  .ways__list { border-top: none; }
  .way { gap: 8px; padding: 22px 0; }
  .way__name { font-size: 20px; }
  .way__price-value { font-size: 20px; }
  .contact-form__form { max-width: 100%; }
}

/* LinkedIn link under each bio */
.bio__linkedin {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--ink);
  align-self: flex-start;
  padding-bottom: 2px;
}
.bio__linkedin:hover { color: var(--emerald); border-color: var(--emerald); }

/* Footer LinkedIn anchor styled to match legal row */
.footer__legal a[href*="linkedin"] { color: inherit; }
.footer__legal a[href*="linkedin"]:hover { color: rgba(251, 247, 236, 0.85); }

/* Book-a-call section on Contact page */
.book-call {
  padding: 24px 0 48px;
}
.book-call__row { display: flex; align-items: baseline; gap: 16px; flex-wrap: wrap; }
.book-call__label { font-size: 14px; color: var(--ink-55); }

/* "What we move" — three pillars on home */
.moves {
  padding: var(--section-y) 0;
  border-top: 0.5px solid var(--rule);
}
.moves .label { display: block; margin-bottom: 16px; }
.moves__intro {
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.7;
  color: var(--ink-72);
}
.moves__list {
  display: flex;
  flex-direction: column;
  gap: 56px;
}
.move {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 32px;
  align-items: baseline;
  padding-top: 32px;
  border-top: 0.5px solid var(--rule);
}
.move:first-child { border-top: 0; padding-top: 0; }
.move__number {
  font-family: var(--font-display);
  font-size: 44px;
  font-weight: 700;
  color: var(--emerald);
  line-height: 1;
  letter-spacing: -0.02em;
}
.move__title {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 14px;
  color: var(--ink);
}
.move__copy {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink-72);
  max-width: 60ch;
}
@media (max-width: 720px) {
  .moves { padding: 64px 0; }
  .moves__intro { font-size: 16px; margin: 20px 0 40px; }
  .moves__list { gap: 40px; }
  .move {
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
    padding-top: 24px;
  }
  .move__number { font-size: 32px; }
  .move__title { font-size: 24px; margin-bottom: 10px; }
  .move__copy { font-size: 15px; }
}

/* Pillar badges on case-study heads (work page) */
.case-study__pillars {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 18px 0 0;
}
.case-study__pillar {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--evergreen);
  padding: 5px 10px;
  border: 1px solid rgba(0, 193, 116, 0.35);
  border-radius: 999px;
  background: rgba(0, 193, 116, 0.08);
}
