:root {
  --bg: #ffffff;
  /* Primary ink (UI, buttons); headings sit slightly deeper, body slightly softer */
  --text: #0c0c0c;
  --text-heading: #0a0a0a;
  --text-body: #3a3a3a;
  --muted: #5c5c5c;
  --line: #d9d9d9;
  --panel: #f3f3f3;
  --surface: #fafafa;
  /* Barely-there band behind Execution, Opportunity, CTA */
  --surface-subtle: color-mix(in srgb, var(--line) 4.5%, var(--bg));

  --container: 1100px;
  --narrow: 700px;

  /* Type scale (locked system) */
  --font-sans: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --size-body: 15px;
  --size-lead: 17px;
  --size-h2: 24px;
  --size-h1: 52px;
  --size-label: 13px;
  --size-nav: 14px;
  --size-small: 13px;

  --lh-body: 1.65;
  --lh-lead: 1.65;
  --lh-h2: 1.25;
  --lh-h1: 1.08;

  --weight-regular: 400;
  --weight-medium: 500;
  --weight-semibold: 600;
  --weight-bold: 600;

  --measure: 62ch;
  --measure-wide: 900px;

  --space-1: 8px;
  --space-2: 12px;
  --space-3: 16px;
  --space-4: 24px;
  --space-5: 32px;
  --space-6: 48px;
  --space-7: 72px;
  --space-8: 96px;

  /* Layout rhythm */
  --container-pad: 28px;
  --section-pad: 104px;
  --section-pad-sm: 78px;

  /* Micro rhythm (keeps type scale unchanged) */
  --p-space: 15px;
  --h2-space: 21px;

  /* Component language */
  --radius: 8px;
  --radius-structure: 3px;
  --stroke: 1px;
  --stroke-strong: 1.5px;
  --border-structure: color-mix(in srgb, var(--text) 4%, var(--line));
  --border-faint: color-mix(in srgb, var(--line) 80%, var(--bg));
  /* Full-width beat before Execution; lighter than structural borders */
  --scroll-divider: color-mix(in srgb, var(--line) 44%, var(--bg));
  --container-fill: var(--bg);
  --container-fill-soft: var(--surface);
  --container-pad-y: 24px;
  --container-pad-x: 24px;
}

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

html,
body {
  height: 100%;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text-body);
  font-size: var(--size-body);
  font-weight: var(--weight-regular);
  line-height: var(--lh-body);
  letter-spacing: 0.1px;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

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

.skip-link {
  position: absolute;
  left: -999px;
  top: 8px;
  background: var(--bg);
  border: 1px solid var(--line);
  padding: 10px 12px;
  border-radius: 6px;
}

.skip-link:focus {
  left: 12px;
}

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

.site-header {
  border-bottom: 1px solid var(--line);
  background: var(--bg);
  position: sticky;
  top: 0;
  z-index: 10;
}

/* Keep anchor targets visible under sticky header */
#investment-approach,
#what-we-do,
#cta {
  scroll-margin-top: 92px;
}

.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  gap: var(--space-4);
}

.brand {
  font-weight: var(--weight-bold);
  letter-spacing: 0.3px;
  color: var(--text-heading);
}

.nav {
  display: flex;
  gap: var(--space-4);
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav-link {
  color: var(--muted);
  font-size: var(--size-nav);
  font-weight: var(--weight-medium);
}

.nav-link:hover {
  color: var(--text-heading);
}

.section {
  padding: var(--section-pad) 0;
}

/* Section rhythm: tighter and looser beats so the page reads as intentional progression */
main > section:nth-of-type(1) {
  padding-top: 0;
  padding-bottom: 0;
}

main > section:nth-of-type(2) {
  border-top: var(--stroke) solid var(--border-faint);
  padding-top: clamp(56px, 7vh, 84px);
  padding-bottom: clamp(72px, 8vh, 96px);
}

main > section:nth-of-type(3) {
  padding-top: 62px;
  padding-bottom: 84px;
}

main > section:nth-of-type(4) {
  position: relative;
  padding-top: 86px;
  /* Scroll break: air + full-width hairline into Execution */
  padding-bottom: 112px;
}

/* Subtle full-width divider at end of “How We Work” (Option A) */
main > section:nth-of-type(4)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  border-top: var(--stroke) solid var(--scroll-divider);
}

main > section:nth-of-type(5) {
  padding-top: 120px;
  padding-bottom: 86px;
}

main > section:nth-of-type(5) .section-intro {
  margin-bottom: 28px;
}

main > section:nth-of-type(5) .grid.grid--3 {
  gap: 18px;
}

main > section:nth-of-type(5) .wrap-up {
  margin-top: 38px;
}

/* Avoid double rule: hairline sits on section 4; surface top border omitted here only */
main > section:nth-of-type(5).section--tone {
  border-top: none;
}

main > section:nth-of-type(6) {
  padding-top: 80px;
  padding-bottom: 96px;
}

main > section:nth-of-type(7) {
  padding-top: 64px;
  padding-bottom: 80px;
}

main > section:nth-of-type(8) {
  padding-top: 56px;
  padding-bottom: 64px;
}

.section--wide h2,
.section--narrow h2 {
  margin: 0 0 var(--h2-space);
  font-size: var(--size-h2);
  line-height: var(--lh-h2);
  letter-spacing: -0.22px;
  font-weight: var(--weight-semibold);
  color: var(--text-heading);
}

.section--cta {
  border-top: var(--stroke) solid var(--border-faint);
  border-bottom: var(--stroke) solid var(--border-faint);
}

.section--tone {
  background: var(--surface-subtle);
  border-top: var(--stroke) solid var(--border-faint);
  border-bottom: var(--stroke) solid var(--border-faint);
}

/* Same-tone run: one hairline between Execution and Opportunity, not a double rule */
main > section:nth-of-type(6).section--tone {
  border-top: none;
}

.section--tone .card--flat {
  background: var(--bg);
}

.section--hero {
  width: 100%;
  max-width: none;
}

.section--hero .hero-frame {
  width: 100%;
  box-sizing: border-box;
  /* More air above the headline so H1 registers first */
  padding-top: clamp(52px, 6.5vh + 16px, 92px);
  padding-bottom: clamp(48px, 5vh + 24px, 80px);
}

.section--hero .hero-inner {
  width: 100%;
}

/* Asymmetric inset: headline sits slightly left-led vs the page, not optically centered */
.section--hero .container {
  padding-left: max(14px, calc(var(--container-pad) - 22px));
  padding-right: max(18px, calc(var(--container-pad) - 6px));
}

.hero-main {
  min-width: 0;
  padding-top: 0;
  margin-right: auto;
  max-width: none;
}

.section--hero h1 {
  max-width: none;
  font-size: clamp(52px, 5.2vw, 80px);
  line-height: 1.03;
  margin-bottom: var(--space-3);
  letter-spacing: -0.035em;
  color: var(--text-heading);
}

.section--hero .lead {
  max-width: 46ch;
  margin-top: 0;
  margin-bottom: var(--space-2);
}

.section--hero .button-row {
  margin-top: 0;
  gap: var(--space-2);
}

/* Softer competition with the headline: lighter chrome, not smaller targets */
.section--hero .button {
  border-width: 1px;
  font-weight: var(--weight-medium);
}

.section--hero .button--primary {
  background: color-mix(in srgb, var(--text-heading) 88%, var(--bg));
}

.section--hero .button--primary:hover {
  background: color-mix(in srgb, var(--text-heading) 94%, var(--bg));
}

.narrow {
  max-width: var(--narrow);
}

.eyebrow {
  margin: 0 0 var(--space-3);
  color: var(--muted);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1.6px;
}

h1 {
  margin: 0 0 16px;
  font-size: var(--size-h1);
  line-height: var(--lh-h1);
  letter-spacing: -0.72px;
  font-weight: var(--weight-bold);
  color: var(--text-heading);
}

p {
  margin: 0 0 var(--p-space);
}

.section-intro {
  max-width: var(--measure-wide);
  margin: 0 0 24px;
}

.section-outro {
  max-width: var(--measure-wide);
  margin-top: 28px;
}

.lead {
  color: var(--muted);
  max-width: var(--measure);
  font-size: var(--size-lead);
  line-height: var(--lh-lead);
}

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

.panel {
  border: var(--stroke) solid var(--border-structure);
  border-radius: 2px;
  padding: 16px 18px;
  background: var(--container-fill-soft);
}

.panel--inline {
  margin: 18px 0 var(--space-5);
}

#investment-approach .panel--inline {
  margin: var(--space-7) 0 0;
}

.panel-title {
  margin: 0 0 14px;
  font-weight: var(--weight-semibold);
  font-size: var(--size-label);
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--text-heading);
}

.panel-list {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
}

.panel-list li {
  margin: 8px 0;
}

.image-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-4);
  margin-top: 26px;
}

.image-placeholder {
  border: var(--stroke) solid var(--border-structure);
  border-radius: 2px;
  background: var(--bg);
  overflow: hidden;
}

.image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.02);
  opacity: 0.9;
}

.image-placeholder--wide {
  aspect-ratio: 3 / 2;
  max-height: 200px;
}

.subblocks {
  display: grid;
  gap: 28px;
}

.subblocks--approach {
  gap: var(--space-3);
  margin-top: 0;
  padding-top: 0;
  max-width: 56ch;
  align-items: start;
}

.subblocks--approach .subblock > p {
  margin-bottom: var(--space-2);
  line-height: 1.58;
  letter-spacing: 0.01px;
}

.subblocks--approach .subblock > p:last-child {
  margin-bottom: 0;
}

.approach-lead {
  margin: 0;
  margin-top: 0;
  margin-bottom: var(--space-8);
  padding-bottom: 0;
  border-bottom: none;
  max-width: 52ch;
  font-size: clamp(18px, 0.45vw + 16px, 20px);
  font-weight: var(--weight-semibold);
  line-height: 1.48;
  letter-spacing: -0.18px;
  color: var(--text-heading);
}

.subblock > :last-child {
  margin-bottom: 0;
}

.note {
  border-left: var(--stroke) solid var(--border-structure);
  padding-left: var(--space-3);
  color: var(--muted);
}

.note > :last-child {
  margin-bottom: 0;
}

.wrap-up {
  margin: 34px 0 0;
  padding-top: 18px;
  border-top: var(--stroke) solid var(--border-faint);
  max-width: var(--measure-wide);
}

.meta {
  margin: 0;
}

.meta-row {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: var(--space-3);
  padding: var(--space-2) 0;
  border-top: 1px solid var(--line);
}

.meta-row:first-child {
  border-top: none;
  padding-top: 0;
}

dt {
  color: var(--muted);
  font-size: 13px;
}

dd {
  margin: 0;
  font-size: 13px;
}

.button-row {
  display: flex;
  gap: var(--space-3);
  margin-top: 22px;
  flex-wrap: wrap;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 16px;
  border-radius: var(--radius);
  border: var(--stroke-strong) solid var(--text-heading);
  font-size: var(--size-nav);
  min-height: 44px;
  white-space: nowrap;
  font-weight: var(--weight-semibold);
  letter-spacing: 0.1px;
}

.button--primary {
  background: var(--text-heading);
  color: var(--bg);
}

.button--secondary {
  background: transparent;
  color: var(--text-heading);
}

.button--primary:hover {
  background: #000000;
  text-decoration: none;
}

.button--secondary:hover {
  background: var(--surface);
  text-decoration: none;
}

.grid {
  display: grid;
  gap: var(--space-4);
}

.grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.card {
  border: var(--stroke) solid var(--border-structure);
  border-radius: 2px;
  padding: 12px 14px;
  background: var(--container-fill);
}

.card--flat {
  background: var(--container-fill-soft);
}

.card-title {
  margin: 0 0 8px;
  font-weight: var(--weight-semibold);
  font-size: var(--size-label);
  letter-spacing: 0.02em;
  color: var(--text-heading);
}

.card-body {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.card-list {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
}

.card-list li {
  margin: 4px 0;
}

.stack {
  display: grid;
  gap: 15px;
  max-width: 900px;
}

main > section:nth-of-type(4) .stack {
  gap: 13px;
}

main > section:nth-of-type(4) .block {
  padding: 12px 14px;
}

.block {
  border: var(--stroke) solid var(--border-structure);
  border-radius: 2px;
  padding: 12px 14px;
  background: var(--container-fill);
}

.block-title {
  margin: 0 0 6px;
  color: var(--text-heading);
}

.block-body {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.bullets {
  margin: 12px 0 0;
  padding-left: 18px;
  color: var(--text-body);
  list-style-position: outside;
}

.bullets li {
  margin: 8px 0;
  color: var(--muted);
}

.bullets > :last-child {
  margin-bottom: 0;
}

.cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-6);
  flex-wrap: wrap;
}

.cta h2 {
  margin-bottom: 14px;
}

.site-footer {
  padding: var(--space-6) 0;
  background: var(--bg);
}

.footer-text {
  margin: 0;
  color: var(--muted);
  font-size: var(--size-small);
}

@media (max-width: 900px) {
  h1 {
    font-size: 40px;
  }

  .section--hero .hero-frame {
    padding-top: clamp(44px, 5.5vh + 12px, 72px);
    padding-bottom: clamp(40px, 5vh + 16px, 64px);
  }

  .section--hero h1 {
    font-size: clamp(34px, 4.8vw + 14px, 52px);
    line-height: 1.04;
    max-width: none;
  }
}

@media (max-width: 760px) {
  .container {
    padding: 0 18px;
  }

  .section--hero .container {
    padding-left: 14px;
    padding-right: 18px;
  }

  .section {
    padding: var(--section-pad-sm) 0;
  }

  main > section:nth-of-type(1) {
    padding-top: 0;
    padding-bottom: 0;
  }

  main > section:nth-of-type(2) {
    padding-top: clamp(44px, 6vh, 64px);
    padding-bottom: clamp(56px, 7vh, 72px);
  }

  main > section:nth-of-type(3) {
    padding-top: 48px;
    padding-bottom: 64px;
  }

  .section--hero .hero-frame {
    padding-top: clamp(40px, 5vh + 10px, 64px);
    padding-bottom: clamp(36px, 4vh + 12px, 56px);
  }

  main > section:nth-of-type(4) {
    padding-top: 60px;
    padding-bottom: 92px;
  }

  main > section:nth-of-type(5) {
    padding-top: 96px;
    padding-bottom: 62px;
  }

  main > section:nth-of-type(6) {
    padding-top: 60px;
    padding-bottom: 72px;
  }

  main > section:nth-of-type(7) {
    padding-top: 52px;
    padding-bottom: 64px;
  }

  main > section:nth-of-type(8) {
    padding-top: 44px;
    padding-bottom: 52px;
  }

  .section-intro {
    margin-bottom: var(--space-4);
  }

  .section-outro {
    margin-top: var(--space-4);
  }

  .subblocks {
    gap: var(--space-4);
  }

  .subblocks--approach {
    grid-template-columns: 1fr;
    gap: var(--space-3);
  }

  .wrap-up {
    margin-top: var(--space-5);
  }

  .image-row {
    grid-template-columns: 1fr;
    margin-top: var(--space-4);
  }

  .grid--3 {
    grid-template-columns: 1fr;
    gap: var(--space-3);
  }

  .meta-row {
    grid-template-columns: 92px 1fr;
  }
}
