:root {
  --bg: #dfe2e6;
  --bg-deep: #d3d7dc;
  --panel: #eff1f3;
  --panel-2: #f7f8f9;
  --card: #12151a;
  --line: #c2c7ce;
  --line-soft: #d0d5da;
  --ink: #11141a;
  --muted: #5c626c;
  --up: #0e9c63;
  --up-text: #096b43;
  --up-soft: rgba(14, 156, 99, .12);
  --display: "Bricolage Grotesque", system-ui, sans-serif;
  --body: "IBM Plex Sans", system-ui, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
  --max: 1180px;
  --gut: 22px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-x: clip;
}

body {
  margin: 0;
  overflow-x: clip;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

body.menu-open { overflow: hidden; }

h1, h2, h3, p { margin: 0; }

h1, h2, h3 {
  font-family: var(--display);
  font-weight: 600;
  text-wrap: balance;
}

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

:focus-visible {
  outline: 2px solid var(--up);
  outline-offset: 3px;
  border-radius: 4px;
}

.wrap {
  width: min(100%, calc(var(--max) + var(--gut) * 2));
  margin-inline: auto;
  padding-inline: var(--gut);
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 18px;
  color: var(--up-text);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--up);
  box-shadow: 0 0 0 4px var(--up-soft);
  content: "";
  flex: none;
}

.btn {
  display: inline-block;
  padding: 14px 24px;
  border: 1px solid transparent;
  border-radius: 6px;
  background: var(--ink);
  color: var(--panel-2);
  font-family: var(--body);
  font-size: 15px;
  font-weight: 600;
  transition: transform .12s ease, opacity .12s ease;
}

.btn:hover { opacity: .9; transform: translateY(-1px); }
.btn--light { background: var(--panel-2); color: #111; }

/* Shared site navigation */
.nav {
  position: sticky;
  top: 0;
  z-index: 80;
  border-bottom: 1px solid rgba(237, 239, 242, .08);
  background: var(--card);
}

.nav__in {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  max-width: var(--max);
  margin: 0 auto;
  padding: 13px var(--gut);
}

.logo, .ftr__logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: max-content;
  color: #f4f6f8;
  text-decoration: none;
}

.cv-mark { display: block; flex: none; overflow: visible; }

.logo__w {
  color: #f4f6f8;
  font-family: var(--display);
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -.035em;
  line-height: 1;
  white-space: nowrap;
}

.logo__w b { font-weight: 800; }

.nav__links {
  display: flex;
  justify-content: center;
  justify-self: center;
  gap: 2px;
}

.nav__links a {
  padding: 8px 12px;
  border-radius: 6px;
  color: #9ea5af;
  font-size: 14px;
  white-space: nowrap;
  transition: color .12s, background .12s;
}

.nav__links a:hover { background: rgba(237, 239, 242, .07); color: #f4f6f8; }
.nav__links a[aria-current="page"] { color: #f4f6f8; font-weight: 600; }

.nav__links a[aria-current="page"]::after {
  display: block;
  height: 2px;
  margin-top: 5px;
  border-radius: 1px;
  background: var(--up);
  content: "";
}

.nav__right { display: flex; align-items: center; justify-self: end; gap: 12px; }
.nav__right .btn { background: var(--panel-2); color: #111; }

.nav__prog {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--up);
  transition: width .12s linear;
}

.burger {
  display: none;
  padding: 9px 11px;
  border: 1px solid rgba(237, 239, 242, .25);
  border-radius: 6px;
  background: transparent;
  line-height: 0;
}

.burger span {
  display: block;
  width: 16px;
  height: 2px;
  margin: 3px 0;
  border-radius: 1px;
  background: #edeff2;
  transition: transform .18s, opacity .18s;
}

.nav.open .burger span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.nav.open .burger span:nth-child(2) { opacity: 0; }
.nav.open .burger span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

/* About hero */
.about-hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(82px, 10vw, 132px);
  background: var(--card);
  color: #f4f6f8;
}

.about-hero::after {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, .04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, .04) 1px, transparent 1px);
  background-size: 54px 54px;
  -webkit-mask-image: linear-gradient(90deg, transparent 38%, #000);
  mask-image: linear-gradient(90deg, transparent 38%, #000);
  content: "";
  pointer-events: none;
}

.about-hero__in { position: relative; z-index: 1; }

.about-hero h1 {
  max-width: 12ch;
  font-size: clamp(48px, 8.4vw, 104px);
  letter-spacing: -.055em;
  line-height: .96;
}

.about-hero h1 em { color: #6fd3a4; font-style: normal; }
.about-hero .eyebrow, .closing .eyebrow { color: #6fd3a4; }

.about-hero__intro {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 34px;
  max-width: 960px;
  margin-top: clamp(40px, 6vw, 68px);
  padding-top: 30px;
  border-top: 1px solid rgba(237, 239, 242, .15);
}

.about-hero__intro p {
  color: #b9bfc7;
  font-size: clamp(18px, 2.2vw, 22px);
  line-height: 1.48;
}

/* Company approach */
.approach { padding-block: clamp(86px, 10vw, 124px); }

.approach__grid {
  display: grid;
  grid-template-columns: minmax(240px, .7fr) minmax(0, 1.3fr);
  gap: clamp(52px, 9vw, 126px);
  align-items: start;
}

.approach h2, .founders h2, .closing h2 {
  font-size: clamp(36px, 5vw, 58px);
  letter-spacing: -.04em;
  line-height: 1.02;
}

.approach h2 { max-width: 10ch; }

.approach__copy { border-top: 1px solid var(--line); }

.approach__point {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 20px;
  padding-block: 28px;
  border-bottom: 1px solid var(--line);
}

.approach__point span {
  padding-top: 4px;
  color: var(--up-text);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .1em;
}

.approach__point p { max-width: 63ch; color: var(--muted); font-size: 18px; }

/* Founders */
.founders {
  padding-block: clamp(86px, 10vw, 124px);
  border-block: 1px solid var(--line-soft);
  background: var(--panel);
}

.founders__head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 42px;
}

.founders__head h2 { max-width: 12ch; }

.founders__note {
  max-width: 37ch;
  color: var(--muted);
  font-size: 15px;
}

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

.creator-note {
  max-width: 820px;
  margin-top: 34px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--panel-2);
}

.creator-note h3 {
  max-width: 24ch;
  margin-bottom: 14px;
  font-size: clamp(26px, 3.4vw, 38px);
  letter-spacing: -.035em;
  line-height: 1.05;
}

.creator-note > p:not(.eyebrow) { max-width: 64ch; color: var(--muted); }
.creator-note .founder__link { margin-top: 20px; }

.founder {
  display: flex;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel-2);
}

.founder__portrait {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  background: var(--bg-deep);
}

.founder__portrait::after {
  position: absolute;
  inset: auto 0 0;
  height: 18%;
  background: linear-gradient(transparent, rgba(17, 20, 26, .12));
  content: "";
  pointer-events: none;
}

.founder__portrait img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.founder__body {
  display: flex;
  min-height: 340px;
  flex: 1;
  flex-direction: column;
  padding: clamp(25px, 4vw, 38px);
}

.founder__role {
  margin-bottom: 12px;
  color: var(--up-text);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.founder h3 {
  margin-bottom: 18px;
  font-size: clamp(29px, 3.2vw, 38px);
  letter-spacing: -.035em;
  line-height: 1.05;
}

.founder__bio { max-width: 55ch; color: var(--muted); }

.founder__link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  width: max-content;
  margin-top: auto;
  padding-top: 28px;
  border-bottom: 1px solid var(--ink);
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
}

.founder__link span { transition: transform .15s ease; }
.founder__link:hover span { transform: translate(2px, -2px); }

/* Closing and footer */
.closing { padding-block: clamp(80px, 9vw, 112px); background: var(--card); color: #f4f6f8; }

.closing__in {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 42px;
}

.closing h2 { max-width: 15ch; }
.closing__action { flex: none; }

.ftr {
  padding-block: 66px 30px;
  border-top: 1px solid rgba(237, 239, 242, .12);
  background: var(--card);
  color: #9ea5af;
}

.ftr__top {
  display: grid;
  grid-template-columns: 1fr 1.45fr;
  gap: 56px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(237, 239, 242, .1);
}

.ftr__logo .logo__w { font-size: 23px; }
.ftr__line { max-width: 34ch; margin-top: 12px; font-size: 15px; line-height: 1.55; }
.ftr__brand .btn { margin-top: 22px; }
.ftr__nav { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }

.ftr__h {
  margin-bottom: 14px;
  color: #6e757f;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.ftr__nav a, .ftr__nav span { display: block; padding: 5px 0; color: #9ea5af; font-size: 14.5px; }
.ftr__nav a:hover { color: #f4f6f8; }
.ftr__sm { margin-top: 12px; color: #6e757f; font-family: var(--mono); font-size: 11px; }
.soc { margin-top: 22px; }
.soc__note { margin: -5px 0 9px; color: #747b85; font-size: 12px; }

.soc__row { display: flex; flex-wrap: wrap; gap: 8px; }

.soc__a {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  padding: 0 !important;
  border: 1px solid rgba(237, 239, 242, .14);
  border-radius: 50%;
  background: rgba(237, 239, 242, .03);
  opacity: .5;
}

.soc__a svg { width: 16px; height: 16px; fill: #9ea5af; }

.ftr__disc { padding-block: 26px; border-bottom: 1px solid rgba(237, 239, 242, .1); }
.ftr__disc p { max-width: 96ch; color: #7e858e; font-size: 12.5px; line-height: 1.65; }
.ftr__disc b { color: #b9bfc7; font-weight: 600; }

.ftr__base {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  padding-top: 22px;
  color: #6e757f;
  font-family: var(--mono);
  font-size: 11px;
}

.ftr__base-r { display: flex; flex-wrap: wrap; gap: 20px; }
.ftr__base a:hover { color: #f4f6f8; }

.reveal { opacity: 0; transform: translateY(16px); transition: opacity .45s ease, transform .45s ease; }
.reveal.is-in { opacity: 1; transform: none; }

@media (max-width: 1040px) {
  .nav__in { display: flex; justify-content: space-between; }
  .nav__links {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    display: none;
    flex-direction: column;
    gap: 0;
    max-height: calc(100dvh - 70px);
    overflow-y: auto;
    padding: 8px var(--gut) calc(14px + env(safe-area-inset-bottom));
    border-bottom: 1px solid rgba(237, 239, 242, .12);
    background: #12151a;
  }
  .nav.open .nav__links { display: flex; }
  .nav__links a { display: flex; align-items: center; min-height: 48px; padding: 12px 4px; border-bottom: 1px solid rgba(237, 239, 242, .1); border-radius: 0; }
  .nav__links a[aria-current="page"] { color: #6fd3a4; }
  .nav__links a[aria-current="page"]::after { display: none; }
  .nav__right .btn { display: none; }
  .logo { min-height: 44px; }
  .burger { display: block; width: 44px; height: 44px; padding: 0; }
}

@media (max-width: 900px) {
  .approach__grid { grid-template-columns: 1fr; gap: 42px; }
  .approach h2 { max-width: 14ch; }
  .founders__head { display: block; }
  .founders__note { margin-top: 18px; }
  .founder-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .founder--director { display: grid; grid-column: 1 / -1; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ftr__top { grid-template-columns: 1fr; gap: 36px; }
}

@media (max-width: 720px) {
  .about-hero { padding-block: 66px; }
  .about-hero__intro { grid-template-columns: 1fr; gap: 20px; }
  .approach, .founders, .closing { padding-block: 66px; }
  .founder-grid {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: min(86vw, 340px);
    gap: 14px;
    margin-inline: calc(var(--gut) * -1);
    padding: 4px var(--gut) 18px;
    overflow-x: auto;
    overflow-y: hidden;
    overscroll-behavior-inline: contain;
    scroll-snap-type: inline mandatory;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  .founder-grid::-webkit-scrollbar { display: none; }
  .founder { scroll-snap-align: start; scroll-snap-stop: always; }
  .founder--director { display: flex; grid-column: auto; }
  .founder__body { min-height: 0; }
  .founder__link { margin-top: 28px; }
  .closing__in { display: block; }
  .closing__action { margin-top: 30px; }
}

@media (max-width: 620px) {
  :root { --gut: 18px; }
  .ftr__logo { min-height: 44px; }
  .ftr__nav { grid-template-columns: 1fr 1fr; gap: 28px 22px; }
  .ftr__nav > div:last-child { grid-column: 1 / -1; }
  .approach__point { grid-template-columns: 40px 1fr; gap: 12px; }
  .approach__point p { font-size: 17px; }
  .ftr__base { display: block; }
  .ftr__base-r { margin-top: 14px; gap: 15px; }
  .ftr__nav a { display: flex; align-items: center; min-height: 44px; padding-block: 9px; }
  .ftr__base-r { flex-wrap: wrap; gap: 0 18px; }
  .ftr__base a { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; }
}

@media (max-width: 440px) {
  .about-hero h1 { font-size: 42px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .founder__link span { transition: none; }
}
