:root {
  --ink: #111111;
  --bg: #ffffff;
  --bg-soft: #f7f7f4;
  --ink-invert: #0f0f12;
  --accent: #3b4de6;
  --accent-soft: #8b8bff;
  --accent-tint: #dcdcff;
  --accent-tint-2: #c7ccff;
  --muted-1: #555555;
  --muted-2: #666666;
  --muted-3: #777777;
  --muted-4: #888888;
  --border-outer: #e2e2dc;
  --border-inner: #eeeeee;
  --border-inner-2: #f0f0ec;
  --border-row: #e6e6e2;
  --font-sans: 'Sora', sans-serif;
  --font-mono: 'Space Mono', monospace;
  --nav-h: 5rem;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

/* Fluid scale: 1rem is 16px at 1300px-wide viewports, growing linearly to
   20px at 1900px+ and shrinking to ~14px at 1000px (floor 13.5px) — the
   layout is sized in rem, so big screens get a ~25% larger layout while
   narrow desktop windows compress instead of overflowing (header menu,
   headings and section content all fit). Mobile (<861px) stays at 16px. */
@media (min-width: 861px) {
  html {
    font-size: clamp(13.5px, calc(16px + 4 * (100vw - 1300px) / 600), 20px);
  }
}

body {
  margin: 0;
  background: #e9e9e6;
  font-family: var(--font-sans);
  color: var(--ink);
}

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

img {
  max-width: 100%;
  display: block;
}

.page {
  max-width: 80rem;
  margin: 0 auto;
  background: var(--bg);
}

@media (max-width: 860px) {
  body {
    background: var(--bg);
  }
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent);
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  color: var(--ink);
  flex-shrink: 0;
}

.nav__links .btn-label-short {
  display: none;
}

/* Narrow desktop windows: the header is cramped, show the short button
   label ("Telegram") — mobile does the same in its own block below. */
@media (min-width: 861px) and (max-width: 1099px) {
  .nav__links .btn-label-full {
    display: none;
  }

  .nav__links .btn-label-short {
    display: inline;
  }
}

/* Nav */
.nav {
  border-bottom: 1px solid var(--border-inner-2);
  background: var(--bg);
}

.nav__inner {
  max-width: 80rem;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.375rem 2.75rem;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 2rem;
  font-size: 0.9375rem;
  color: #444;
  font-weight: 500;
}

.nav__links a:not(.btn) {
  color: #444;
}

/* Buttons */
.btn {
  display: inline-block;
  font-weight: 600;
  border-radius: 0.625rem;
  padding: 1rem 1.875rem;
  font-size: 1rem;
}

.btn--sm {
  padding: 0.6875rem 1.25rem;
  font-size: 0.9375rem;
  border-radius: 0.5rem;
}

.btn--dark {
  background: var(--ink);
  color: #fff;
}

.btn--accent {
  background: var(--accent);
  color: #fff;
}

.btn--outline {
  border: 1.5px solid #ddd;
  color: var(--ink);
}

.btn--outline-invert {
  display: inline-block;
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  color: #fff;
  padding: 0.75rem 1.375rem;
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: 0.625rem;
}

.btn--white {
  background: #fff;
  color: var(--accent);
  padding: 1.125rem 2.625rem;
  font-size: 1.125rem;
  font-weight: 700;
  border-radius: 0.75rem;
}

/* Section base */
.section {
  padding: 5.625rem 2.75rem;
  min-height: 55rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.section--dark {
  background: var(--ink-invert);
  color: #fff;
}

.section--soft {
  background: var(--bg-soft);
}

.section h2 {
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: -1px;
  margin: 0 0 0.75rem;
}

/* Hero */
.hero {
  padding: 6.25rem 2.75rem;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero__grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
  width: 100%;
}

.hero__main {
  flex: 1;
  min-width: 0;
}

.hero__lines {
  position: absolute;
  top: 5.625rem;
  right: -2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: flex-end;
  opacity: 0.9;
}

.hero__lines div {
  height: 0.625rem;
}

.hero__lines div:nth-child(1) {
  width: 16.25rem;
  background: var(--accent);
}

.hero__lines div:nth-child(2) {
  width: 11.25rem;
  background: var(--ink);
}

.hero__lines div:nth-child(3) {
  width: 6.875rem;
  background: var(--accent-tint);
}

.hero h1 {
  /* fluid: ~47px at a 900px window, 66px+ from ~1270px up (38px on mobile);
     the rem bounds also scale with the fluid root on large screens */
  font-size: clamp(2.625rem, 5.2vw, 4.125rem);
  font-weight: 800;
  letter-spacing: -2px;
  line-height: 1.02;
  color: var(--ink);
  margin: 1.375rem 0 0;
  max-width: 53.75rem;
}

.hero h1 span {
  color: var(--accent);
}

.hero__lead {
  font-size: 1.25rem;
  line-height: 1.5;
  color: var(--muted-1);
  max-width: 38.75rem;
  margin: 1.625rem 0 2.25rem;
}

.hero__ctas {
  display: flex;
  gap: 0.875rem;
  align-items: center;
  flex-wrap: wrap;
}

.hero__metrics {
  display: flex;
  flex-direction: column;
  gap: 1.625rem;
  flex: 0 0 auto;
}

.metric__value {
  font-size: 2.375rem;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -1px;
}

.metric__label {
  font-size: 0.875rem;
  color: var(--muted-4);
}

/* Speed comparison */
.speed__inner {
  max-width: 56.25rem;
  width: 100%;
  margin: 0 auto;
}

.speed p {
  font-size: 1.0625rem;
  color: var(--muted-2);
  max-width: 40rem;
  margin: 0 0 2.75rem;
}

.speed__note {
  font-size: 0.875rem !important;
  color: var(--muted-4) !important;
  max-width: 45rem !important;
  margin: 2.25rem 0 0 !important;
  line-height: 1.6;
}

.speed__bars {
  display: flex;
  flex-direction: column;
  gap: 1.375rem;
  max-width: 56.25rem;
}

.speed__row-label {
  display: flex;
  justify-content: space-between;
  font-size: 0.9375rem;
  margin-bottom: 0.625rem;
}

.speed__bar {
  height: 1.625rem;
  border-radius: 0.375rem;
}

.speed__bar--slow {
  width: 100%;
  background: #dfdfd9;
}

.speed__bar--fast {
  width: 22%;
  background: var(--accent);
}

/* Cases */
.cases__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 1.75rem;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.cases__lead {
  /* section-subtitle role: 17px base, not 15 — it sits under a 40px H2 */
  font-size: 1.0625rem;
  color: rgba(255, 255, 255, 0.72);
  max-width: 35rem;
  margin: 0;
  line-height: 1.5;
}

.cases__arrows {
  display: flex;
  gap: 0.625rem;
  align-items: center;
}

.cases__counter {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  letter-spacing: 1px;
  color: rgba(255, 255, 255, 0.72);
  margin-right: 0.375rem;
}

.arrow-btn {
  width: 2.75rem;
  height: 2.75rem;
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: var(--accent);
  cursor: pointer;
  font-size: 1.125rem;
  font-family: var(--font-sans);
}

.section--dark .case-card {
  border-color: transparent;
}

.cases__viewport {
  overflow: hidden;
}

.cases__track {
  display: flex;
  gap: 1.25rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  /* never let the browser draw a scrollbar under the tiles —
     the pagination dots below communicate position instead */
  scrollbar-width: none;
}

.cases__track::-webkit-scrollbar {
  display: none;
}

.cases__dots {
  display: flex;
  justify-content: center;
  gap: 0.625rem;
  margin-top: 1.25rem;
}

.cases__dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  border: none;
  padding: 0;
  background: rgba(255, 255, 255, 0.28);
  cursor: pointer;
  transition: background-color 0.2s, transform 0.2s;
}

.cases__dot:hover {
  background: rgba(255, 255, 255, 0.5);
}

.cases__dot.is-active {
  background: var(--accent);
  transform: scale(1.25);
}

.case-card {
  flex: 0 0 100%;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  border: 1px solid var(--border-inner);
  border-radius: 1rem;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(12.5rem, 34%) 1fr;
  align-items: stretch;
  background: #fff;
}

.case-card__media {
  aspect-ratio: 1 / 1;
  width: 100%;
  height: 100%;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.case-card__media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

/* Desktop: breathing room around the screenshot inside the tile, and a
   height cap so the 1:1 media zone can never push the card taller than
   the section (which clipped the card's bottom rounding on tall scales). */
@media (min-width: 861px) {
  .case-card__media {
    padding: 1.75rem;
    max-height: calc(100vh - 24rem);
  }
}

.case-card__body {
  padding: 1.75rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  overflow-y: auto;
}

.case-card__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.375rem;
  margin-bottom: 0.75rem;
}

.badge {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid var(--accent-tint);
  background: var(--accent-tint);
  border-radius: 62.4375rem;
  padding: 0.25rem 0.625rem;
}

.case-card__title {
  font-weight: 700;
  font-size: 1.625rem;
  color: var(--ink);
  letter-spacing: -0.5px;
}

.case-card__desc {
  font-size: 1rem;
  color: var(--ink);
  margin-top: 0.625rem;
  line-height: 1.5;
}

.case-card__facts {
  margin: 0.875rem 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}

/* Same family/size as the description: mono is reserved for labels and
   figures. Description is ink, achievements are grey. */
.case-card__facts li {
  font-size: 1rem;
  color: var(--muted-1);
  line-height: 1.5;
  padding-left: 1rem;
  position: relative;
}

.case-card__facts li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.5rem;
  width: 0.3125rem;
  height: 0.3125rem;
  border-radius: 50%;
  background: var(--accent);
}

/* Competencies */
.comp-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.comp-card {
  background: var(--bg-soft);
  border: 1px solid var(--border-inner-2);
  border-radius: 0.75rem;
  padding: 1.5rem 1.625rem;
}

.comp-card__num {
  font-family: var(--font-mono);
  color: var(--accent);
  font-size: 0.875rem;
  margin-bottom: 0.875rem;
}

.comp-card__title {
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--ink);
  margin-bottom: 0.625rem;
}

.comp-card__desc {
  font-size: 1rem;
  color: var(--muted-3);
  line-height: 1.55;
}

/* Founder */
.founder {
  display: flex;
  flex-direction: row;
  gap: 3.5rem;
  align-items: center;
  justify-content: center;
}

.founder__photo {
  width: 18.75rem;
  height: 23.75rem;
  object-fit: cover;
  border-radius: 1rem;
  flex: 0 0 auto;
}

.founder__content {
  flex: 0 1 40rem;
  min-width: 0;
}

.founder__name {
  font-size: 2.75rem;
  font-weight: 800;
  letter-spacing: -1.5px;
  color: var(--ink);
  line-height: 1;
}

.founder__tagline {
  font-size: 1rem;
  line-height: 1.5;
  color: var(--muted-2);
  max-width: 37.5rem;
  margin: 0.875rem 0 1.75rem;
  font-weight: 400;
}

.founder__roles {
  display: flex;
  flex-direction: column;
  max-width: 40rem;
}

.founder__role {
  display: flex;
  gap: 1.25rem;
  padding: 1rem 0;
  border-top: 1px solid var(--border-row);
}

.founder__roles .founder__role:last-child {
  border-bottom: 1px solid var(--border-row);
}

.founder__role-title {
  font-size: 1rem;
  color: var(--ink);
  font-weight: 400;
  flex: 1;
}

.founder__role-title b {
  font-weight: 700;
}

.founder__role-period {
  font-family: var(--font-mono);
  font-size: 0.875rem;
  color: var(--accent);
  white-space: nowrap;
}

/* CTA */
.cta {
  padding: 6.25rem 2.75rem;
  align-items: center;
  background: var(--accent);
  color: #fff;
  text-align: center;
}

.cta .eyebrow {
  color: var(--accent-tint-2);
  margin-bottom: 1.25rem;
}

.cta h2 {
  font-size: 3.5rem;
  letter-spacing: -2px;
  margin: 0 0 1.125rem;
  line-height: 1;
}

.cta__subtitle {
  font-size: 1.25rem;
  color: var(--accent-tint);
  max-width: 35rem;
  margin: 0 auto 2.5rem;
}

.cta__contacts {
  display: flex;
  gap: 0.875rem;
  margin-top: 1.75rem;
  flex-wrap: wrap;
  justify-content: center;
}

.cta__legal {
  margin-top: 3rem;
  padding-top: 1.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.25);
  max-width: 45rem;
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  color: var(--accent-tint-2);
  line-height: 1.7;
}

.cta__legal a {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 0.1875rem;
}

/* quiet secondary link: visible but de-emphasized */
.cta__legal a.cta__ghost-link {
  display: inline-block;
  margin-top: 0.375rem;
  font-size: 0.6875rem;
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
}

.cta__legal a.cta__ghost-link:hover {
  color: rgba(255, 255, 255, 0.75);
}

/* Privacy page */
.legal-page {
  padding: 5.625rem 2.75rem;
  max-width: 51.25rem;
  margin: 0 auto;
}

.legal-page h1 {
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: -1px;
  margin: 0 0 1.875rem;
}

.legal-page h2 {
  font-size: 1.375rem;
  font-weight: 700;
  margin: 2.5rem 0 0.875rem;
}

.legal-page p,
.legal-page li {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--muted-2);
}

.legal-page .back-link {
  display: inline-block;
  margin-bottom: 2.5rem;
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 0.875rem;
}

/* Section progress dots (desktop only) */
.page-dots {
  display: none;
}

/* Dots exist only from 1000px up — below that the card takes the full
   width and there is no gutter to host them (see .page inset comment). */
@media (min-width: 1000px) {
  .page-dots {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    position: fixed;
    top: 50%;
    /* Centered in the gutter between the card and the viewport edge. The
       gutter is max(72px, (100vw - 1280px) / 2) wide (see .page insets), the
       rail itself is 38px wide (the round buttons), so pulling its right
       edge to gutter/2 - 19px centers it on the grey field at any width —
       always outside the card, on a constant light background. */
    right: calc(max(4.5rem, (100vw - 80rem) / 2) / 2 - 1.1875rem);
    transform: translateY(-50%);
    z-index: 100;
  }

  .page-dots__dot {
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    background: rgba(17, 17, 17, 0.2);
    transition: background-color 0.2s, transform 0.2s;
  }

  .page-dots__dot:hover {
    background: rgba(17, 17, 17, 0.4);
  }

  .page-dots__dot.is-active {
    background: var(--accent);
    transform: scale(1.3);
  }

  .page-dots__btn {
    width: 2.375rem;
    height: 2.375rem;
    border: 1.5px solid #d5d5cf;
    border-radius: 50%;
    background: #fff;
    color: var(--ink);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: border-color 0.2s, color 0.2s, opacity 0.2s;
  }

  .page-dots__btn svg {
    width: 1rem;
    height: 1rem;
  }

  .page-dots__btn:hover {
    border-color: var(--accent);
    color: var(--accent);
  }

  .page-dots__btn--up {
    margin-bottom: 0.5rem;
    opacity: 0;
    pointer-events: none;
  }

  .page-dots__btn--up.is-visible {
    opacity: 1;
    pointer-events: auto;
  }

  .page-dots__btn--contact {
    margin-top: 0.5rem;
  }

  /* tooltips */
  .page-dots__dot,
  .page-dots__btn {
    position: relative;
  }

  .page-dots__dot::after,
  .page-dots__btn::after {
    content: attr(data-tip);
    position: absolute;
    right: calc(100% + 0.75rem);
    top: 50%;
    transform: translateY(-50%);
    /* white with a border + shadow: readable over the grey field AND over
       dark sections (a solid ink chip vanished on the dark cases screen) */
    background: #fff;
    color: var(--ink);
    border: 1px solid #d5d5cf;
    box-shadow: 0 0.25rem 0.875rem rgba(0, 0, 0, 0.12);
    font-size: 0.75rem;
    font-weight: 500;
    line-height: 1;
    padding: 0.4375rem 0.6875rem;
    border-radius: 0.375rem;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
  }

  .page-dots__dot:hover::after,
  .page-dots__btn:hover::after {
    opacity: 1;
  }
}

/* Cookie consent banner */
.cookie-banner {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  left: 1.25rem;
  max-width: 23.75rem;
  margin-left: auto;
  background: #fff;
  border: 1px solid var(--border-outer);
  border-radius: 0.875rem;
  box-shadow: 0 1.25rem 3.125rem -1.25rem rgba(0, 0, 0, 0.4);
  padding: 1.25rem 1.375rem 1.125rem;
  z-index: 300;
}

.cookie-banner[hidden] {
  display: none;
}

.cookie-banner__close {
  position: absolute;
  top: 0.25rem;
  right: 0.25rem;
  width: 2.75rem;
  height: 2.75rem;
  border: none;
  background: none;
  color: var(--muted-4);
  font-size: 0.9375rem;
  cursor: pointer;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cookie-banner__text {
  margin: 0 0 0.875rem;
  font-size: 0.8125rem;
  line-height: 1.5;
  color: var(--muted-2);
  padding-right: 1.125rem;
}

.cookie-banner__text a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cookie-banner__accept {
  padding: 0.75rem 1.5rem;
  font-size: 0.875rem;
  min-height: 2.75rem;
}

/* Full-screen paged sections (desktop only) — the page itself is a fixed,
   rounded scroll container: the frame clips content strictly, the nav is a
   normal block that belongs to the first screen only, and each section
   fills the frame exactly. Paging is native CSS Scroll Snap: the browser
   animates the glide-and-settle on wheel/trackpad, so no custom wheel JS
   is needed. Menu/dot/arrow clicks and keyboard use scrollTo({smooth}). */
@media (min-width: 861px) {
  body {
    overflow: hidden;
  }

  .page {
    position: fixed;
    top: 0.875rem;
    bottom: 0.875rem;
    left: 0.875rem;
    right: 0.875rem;
    max-width: 80rem;
    margin: 0 auto;
    border: 1px solid var(--border-outer);
    border-radius: 0.875rem;
    box-shadow: 0 1.875rem 5rem -3.125rem rgba(0, 0, 0, 0.5);
    overflow-y: auto;
    scrollbar-width: none;
  }

  .page::-webkit-scrollbar {
    display: none;
  }

  /* Native snap: the browser glides to each screen and settles on it.
     The first screen (nav + hero) snaps at the very top via the nav; each
     section snaps to its own top. The hero itself is NOT a snap target —
     its top sits below the nav, so aligning to it would hide the header. */
  .page--snap {
    scroll-snap-type: y mandatory;
    overscroll-behavior: none;
  }

  .page--snap > .nav,
  .page--snap > .section {
    scroll-snap-align: start;
  }

  .nav__inner {
    height: var(--nav-h);
    padding-top: 0;
    padding-bottom: 0;
  }

  .hero,
  .section {
    min-height: 0;
    overflow-y: auto;
    justify-content: safe center;
  }

  /* First screen is nav + hero together: hero fills the frame minus nav. */
  .hero {
    height: calc(100% - var(--nav-h));
    padding: 2.5rem 2.75rem;
  }

  .section {
    height: 100%;
    padding: 3rem 2.75rem;
  }
}

/* Short desktop windows (e.g. 125% OS scaling leaves ~700px of height):
   trim vertical paddings so the densest section (competencies) fits the
   screen without growing an inner scrollbar. */
@media (min-width: 861px) and (max-height: 760px) {
  .hero {
    padding-top: 1.75rem;
    padding-bottom: 1.75rem;
  }

  .section {
    padding-top: 2rem;
    padding-bottom: 2rem;
  }
}

/* From 1000px up there is room for the page-dots rail OUTSIDE the card:
   widen the side insets to a guaranteed 72px gutter so the dots always sit
   on the light-grey field — visible on any section, including dark ones.
   Between 861-999px the card needs the full width (nav + hero don't fit
   otherwise), so the insets stay 14px and the dots are hidden there. */
@media (min-width: 1000px) {
  .page {
    left: 4.5rem;
    right: 4.5rem;
  }
}

/* Responsive */
@media (max-width: 860px) {
  html {
    /* anchor jumps must land below the sticky header */
    scroll-padding-top: 4.5rem;
  }

  .nav {
    position: sticky;
    top: 0;
    z-index: 100;
  }

  .nav__inner {
    padding: 0.875rem 1.25rem;
  }

  .nav__links {
    /* two buttons live here now (messenger + language) — keep them apart */
    gap: 0.5rem;
  }

  .nav__links span {
    display: none;
  }

  .br-desktop {
    display: none;
  }

  .nav__links .btn {
    padding: 0.75rem 1rem;
    font-size: 0.875rem;
    min-height: 2.75rem;
    display: inline-flex;
    align-items: center;
  }

  .nav__links .btn-label-full {
    display: none;
  }

  .nav__links .btn-label-short {
    display: inline;
  }

  .logo img {
    /* width:auto keeps the aspect ratio when the nav squeezes the logo
       (Chrome mobile emulation stretched it otherwise) */
    height: 1.25rem;
    width: auto;
  }

  .section {
    padding: 3.5rem 1.25rem;
    min-height: auto;
  }

  .hero {
    padding: 4rem 1.25rem;
  }

  .hero__lines {
    display: none;
  }

  .hero h1 {
    font-size: 2.375rem;
    letter-spacing: -1px;
  }

  .hero__lead {
    font-size: 1.0625rem;
  }

  .hero__grid {
    flex-direction: column;
    align-items: flex-start;
    gap: 2.25rem;
  }

  .hero__metrics {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 1.75rem 2rem;
  }

  .metric__value {
    font-size: 1.875rem;
  }

  .section h2,
  .cta h2 {
    font-size: 1.75rem;
  }

  .cta h2 {
    font-size: 2.125rem;
  }

  .case-card {
    /* full width: the next card must not peek into view on mobile */
    flex: 0 0 100%;
    grid-template-columns: 1fr;
  }

  .case-card__media {
    aspect-ratio: auto;
    padding: 1.125rem;
  }

  .case-card__media img {
    width: 70%;
    aspect-ratio: 1 / 1;
    height: auto;
    margin: 0 auto;
  }

  .comp-grid {
    grid-template-columns: 1fr;
  }

  .founder {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.75rem;
  }

  .founder__photo {
    /* square at any width — a fixed height turned the photo into a wide
       crop showing only the top half of the face on narrow screens */
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    object-position: top;
  }

  .founder__name {
    font-size: 2rem;
  }

  .founder__role {
    flex-direction: column;
    gap: 0.25rem;
  }

  .cta {
    padding: 4rem 1.25rem;
  }

  .cta .btn--white {
    display: block;
    width: 100%;
  }

  .cta__contacts {
    flex-direction: column;
    width: 100%;
    gap: 0.625rem;
  }

  .cta__contacts .btn--outline-invert {
    display: block;
    width: 100%;
    text-align: center;
  }

  .cta__legal-dot {
    display: none;
  }

  .cta__legal-item {
    display: block;
  }

  .legal-page {
    padding: 3.5rem 1.25rem;
  }

  .legal-page h1 {
    font-size: 1.625rem;
    letter-spacing: -0.5px;
  }
}
