:root {
  --ink: #050607;
  --muted: #5d6259;
  --line: #deded6;
  --soft-line: #eceef2;
  --paper: #ffffff;
  --wash: #f7f6f1;
  --moss: #68745f;
  --clay: #b6653f;
  --blue: #004dff;
  --blue-dark: #001d73;
  --barrio: #68745f;
  --footer: #02060d;
  --max: 1320px;
  font-family: Inter, "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--wash);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  background: var(--wash);
}

body.nav-open {
  overflow: hidden;
}

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

img,
svg {
  display: block;
}

button {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  width: min(100% - 64px, var(--max));
  min-height: 88px;
  margin: 0 auto;
  border-bottom: 1px solid var(--line);
  background: rgba(247, 246, 241, 0.94);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  width: clamp(150px, 16vw, 230px);
}

.brand img {
  width: 100%;
  height: auto;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 38px;
  font-size: 0.94rem;
  font-weight: 650;
  letter-spacing: -0.012em;
}

.site-nav a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.nav-cta,
.button--primary,
.footer-link {
  background: var(--ink);
  color: #fff;
  box-shadow: 0 14px 34px rgba(5, 6, 7, 0.14);
}

.nav-cta {
  padding: 0 22px;
  border-radius: 2px;
}

.nav-toggle {
  display: none;
}

.section-pad {
  width: min(100% - 64px, var(--max));
  margin: 0 auto;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(440px, 1fr);
  gap: clamp(40px, 4.8vw, 76px);
  align-items: center;
  min-height: 720px;
  padding: 64px 0 0;
  border-bottom: 1px solid var(--line);
  background: var(--wash);
}

.hero__content {
  padding-bottom: 52px;
}

.hero h1 {
  max-width: 720px;
  margin: 0;
  font-size: clamp(3rem, 5.2vw, 5.5rem);
  font-weight: 900;
  line-height: 0.98;
  letter-spacing: -0.065em;
}

.hero p {
  max-width: 600px;
  margin: 38px 0 0;
  color: #444940;
  font-size: clamp(1.08rem, 1.5vw, 1.42rem);
  line-height: 1.55;
  letter-spacing: -0.025em;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 44px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 64px;
  padding: 0 40px;
  border: 1px solid var(--ink);
  border-radius: 2px;
  font-size: 1.03rem;
  font-weight: 800;
}

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

.hero__media {
  position: relative;
  align-self: stretch;
  min-height: 660px;
  margin: 0;
  overflow: hidden;
  border-left: 1px solid var(--line);
}

.hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
}

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.section-heading {
  margin-bottom: 32px;
}

.section-heading h2,
.thesis h2,
.site-footer h2 {
  margin: 0;
  font-size: clamp(2rem, 3vw, 2.65rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.055em;
}

.section-heading p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.45;
}

.ventures {
  padding-top: 46px;
  padding-bottom: 62px;
  background: var(--wash);
}

.venture-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 44px;
}

.venture-card {
  position: relative;
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr) 170px;
  gap: 26px;
  align-items: center;
  min-height: 238px;
  padding: 42px 30px 38px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.56);
  overflow: hidden;
}

.venture-card--barrio {
  grid-template-columns: minmax(0, 1fr) 190px;
}

.venture-card--iterate {
  grid-template-columns: minmax(0, 0.9fr) minmax(220px, 1.1fr);
}

.venture-card__mark {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  color: #fff;
  font-size: 2.25rem;
  font-weight: 900;
  letter-spacing: -0.06em;
}

.venture-card--barrio .venture-card__mark {
  background: var(--barrio);
}

.venture-card h3 {
  margin: 0;
  font-size: clamp(2rem, 3vw, 2.65rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.055em;
}

.venture-card__logo {
  width: min(230px, 100%);
  height: auto;
  margin: 0 0 18px;
}

.venture-card__logo--iterate {
  width: min(270px, 100%);
}

.venture-card__product {
  justify-self: end;
  width: min(170px, 100%);
  max-height: 230px;
  object-fit: contain;
  filter: drop-shadow(0 18px 24px rgba(5, 6, 7, 0.14));
}

.venture-card__screen {
  justify-self: end;
  width: min(300px, 100%);
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: left top;
  border: 1px solid #2f2a25;
  border-radius: 6px;
  background: #171615;
  box-shadow: 0 22px 38px rgba(5, 6, 7, 0.18);
}

.venture-card p {
  max-width: 320px;
  margin: 18px 0 24px;
  color: #343941;
  font-size: 1rem;
  line-height: 1.45;
}

.venture-card a,
.venture-card__status {
  color: var(--blue);
  font-size: 0.98rem;
  font-weight: 800;
}

.venture-card__status {
  display: inline-flex;
  min-height: 24px;
  align-items: center;
  color: var(--moss);
}

.venture-card--barrio h3,
.venture-card--barrio a {
  color: var(--barrio);
}

.thesis {
  padding-top: 0;
  padding-bottom: 72px;
  background: var(--wash);
}

.thesis__intro {
  display: grid;
  grid-template-columns: 0.85fr 1.9fr;
  gap: 96px;
  align-items: start;
  padding: 0 0 54px;
}

.thesis__intro p {
  max-width: 680px;
  margin: 0;
  padding-left: 96px;
  border-left: 1px solid var(--line);
  color: #1d232b;
  font-size: clamp(1.08rem, 1.45vw, 1.28rem);
  line-height: 1.55;
}

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

.principle {
  min-height: 196px;
  padding: 12px 34px 0 0;
  border-right: 1px solid var(--line);
}

.principle:last-child {
  border-right: 0;
}

.principle + .principle {
  padding-left: 34px;
}

.principle svg {
  width: 44px;
  height: 44px;
  margin-bottom: 24px;
  color: var(--ink);
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.principle h3 {
  margin: 0;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: -0.025em;
}

.principle p {
  margin: 13px 0 0;
  color: #303640;
  font-size: 0.94rem;
  line-height: 1.52;
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 400px);
  gap: 72px;
  align-items: center;
  padding: 54px max(32px, calc((100vw - var(--max)) / 2)) 58px;
  background: #080909;
  color: #fff;
}

.site-footer h2 {
  max-width: 540px;
  color: #fff;
}

.site-footer p {
  max-width: 520px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 1rem;
  line-height: 1.5;
}

.footer-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  min-height: 78px;
  padding: 0 34px;
  border-radius: 2px;
  font-size: 1.2rem;
  font-weight: 800;
}

.footer-link svg {
  width: 38px;
  height: 38px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
}

@media (max-width: 1100px) {
  .site-header,
  .section-pad {
    width: min(100% - 40px, var(--max));
  }

  .site-nav {
    gap: 22px;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: 0;
    padding-top: 48px;
  }

  .hero__media {
    min-height: 560px;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .venture-grid,
  .thesis__intro {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .thesis__intro p {
    padding-left: 0;
    border-left: 0;
  }

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

  .principle:nth-child(2) {
    border-right: 0;
  }

  .principle:nth-child(n + 3) {
    padding-top: 34px;
    border-top: 1px solid var(--line);
  }
}

@media (max-width: 760px) {
  .site-header {
    min-height: 72px;
    width: calc(100% - 32px);
  }

  .nav-toggle {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border: 1px solid var(--line);
    border-radius: 4px;
    background: #fff;
    color: var(--ink);
  }

  .nav-toggle span {
    width: 18px;
    height: 2px;
    background: currentColor;
  }

  .nav-toggle span + span {
    margin-top: -18px;
  }

  .site-nav {
    position: fixed;
    inset: 72px 16px auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: #fff;
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.12);
  }

  .site-header.is-open .site-nav {
    display: flex;
  }

  .site-nav a {
    min-height: 54px;
    padding: 0 14px;
  }

  .site-nav .nav-cta {
    justify-content: center;
    margin-top: 8px;
  }

  .section-pad {
    width: calc(100% - 32px);
  }

  .hero {
    gap: 30px;
    padding-top: 44px;
  }

  .hero h1 {
    font-size: clamp(2.375rem, 12.3vw, 3.5rem);
    letter-spacing: -0.06em;
  }

  .hero p {
    margin-top: 26px;
    font-size: 1.05rem;
  }

  .hero__actions {
    gap: 12px;
    margin-top: 30px;
  }

  .button {
    width: 100%;
    min-height: 58px;
  }

  .hero__media {
    min-height: 480px;
  }

  .ventures {
    padding-top: 34px;
  }

  .venture-grid,
  .principle-grid {
    grid-template-columns: 1fr;
  }

  .venture-card {
    grid-template-columns: 64px minmax(0, 1fr);
    min-height: 0;
    padding: 28px 22px;
  }

  .venture-card--barrio {
    grid-template-columns: minmax(0, 1fr) 112px;
    align-items: center;
  }

  .venture-card--iterate {
    grid-template-columns: 1fr;
    align-items: center;
  }

  .venture-card__logo {
    width: min(180px, 100%);
    margin-bottom: 14px;
  }

  .venture-card__product {
    width: 104px;
    max-height: 160px;
  }

  .venture-card__screen {
    justify-self: stretch;
    width: 100%;
    margin-top: 12px;
  }

  .venture-card__mark {
    width: 54px;
    height: 54px;
    font-size: 1.8rem;
  }

  .principle,
  .principle + .principle {
    min-height: 0;
    padding: 28px 0;
    border-top: 1px solid var(--line);
    border-right: 0;
  }

  .principle:first-child {
    border-top: 0;
  }

  .site-footer {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 44px 16px;
  }

  .footer-link {
    width: 100%;
    min-width: 0;
    font-size: 1rem;
  }
}
