:root {
  --blue: #1A4FC4;
  --blue-dark: #143d99;
  --ink: #0b0b0d;
  --text: #1c1c22;
  --muted: #5b5d66;
  --line: #d9dbe1;
  --frame: #2a2c35;
  --bg: #ffffff;
  --bg-alt: #f5f6f8;
  --display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wide: "Montserrat", "Inter", sans-serif;
  --gutter: 44px;
  --max: 1440px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--sans); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { margin: 0; }
p { margin: 0 0 1em; }

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

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 16px;
  font-family: var(--sans); font-weight: 600; font-size: 13px; letter-spacing: .14em; text-transform: uppercase;
  padding: 0 28px; height: 43px; border: 1.5px solid transparent; cursor: pointer; transition: background .2s, color .2s, border-color .2s;
}
.btn-lg { height: 56px; padding: 0 32px; font-size: 14px; }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-dark); }
.btn-outline { background: #fff; color: var(--ink); border-color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: #fff; }
.arr { width: 26px; height: 14px; flex: none; transition: transform .2s; }
.btn:hover .arr { transform: translateX(4px); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid var(--frame); }
.header-inner { display: flex; align-items: center; height: 87px; gap: 32px; }
.brand { display: flex; align-items: center; gap: 22px; color: var(--ink); }
.brand-mark { width: 50px; height: 40px; fill: currentColor; }
.brand-divider { width: 1px; height: 38px; background: currentColor; opacity: .7; }
.brand-name { font-family: var(--wide); font-weight: 700; font-size: 19px; letter-spacing: .24em; text-transform: uppercase; white-space: nowrap; }
.nav { display: flex; gap: 58px; margin-left: auto; margin-right: auto; }
.nav a { font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--ink); padding: 6px 0; border-bottom: 2px solid transparent; }
.nav a:hover { border-color: var(--blue); }
.header-cta { width: 186px; }
.nav-cta-mobile, .menu-toggle { display: none; }

/* Hero */
.hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.18fr); align-items: center; gap: 56px; max-width: var(--max); margin: 0 auto; padding: 27px 0 28px var(--gutter); border-bottom: 1px solid var(--line); }
.eyebrow { font-family: var(--wide); font-weight: 700; font-size: 16px; letter-spacing: .08em; text-transform: uppercase; color: var(--blue); margin-bottom: 16px; }
.hero h1 { font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: clamp(48px, 5.2vw, 76px); line-height: .8; letter-spacing: -.005em; color: var(--ink); margin-bottom: 34px; }
.lede { font-size: 18px; line-height: 1.55; max-width: 450px; color: var(--ink); margin-bottom: 40px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 24px; }
.hero-actions .btn-primary { min-width: 228px; }
.hero-actions .btn-outline { min-width: 224px; }
.hero-media { align-self: stretch; }
.hero-media img { width: 100%; height: 100%; min-height: 420px; max-height: 556px; object-fit: cover; }

/* Sections */
.section { padding: 96px 0; }
.section-title { font-family: var(--display); font-weight: 700; font-size: 34px; letter-spacing: .04em; text-transform: uppercase; color: var(--ink); padding-left: 24px; border-left: 4px solid var(--blue); line-height: 1; margin-bottom: 32px; }
.big { font-size: 22px; line-height: 1.45; color: var(--ink); font-weight: 500; }

/* Services */
.services { padding-top: 30px; }
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.card { position: relative; border: 1.5px solid var(--frame); padding: 18px 24px 24px; min-height: 186px; display: flex; flex-direction: column; background: #fff; transition: border-color .2s, box-shadow .2s, transform .2s; }
.card:hover { border-color: var(--blue); box-shadow: 0 10px 30px -18px rgba(26,79,196,.6); transform: translateY(-2px); }
.card-num { position: absolute; top: 16px; right: 18px; font-family: var(--wide); font-weight: 700; font-size: 13px; color: var(--blue); }
.card-icon { width: 48px; height: 44px; color: var(--blue); margin-bottom: 14px; }
.card h3 { font-family: var(--display); font-weight: 700; font-size: 22px; line-height: 1.12; letter-spacing: .02em; text-transform: uppercase; color: var(--ink); max-width: 260px; }
.card p { font-size: 15px; color: var(--muted); margin: 12px 0 18px; }
.card-arr { margin-top: auto; color: var(--blue); }
.card:hover .card-arr { transform: translateX(4px); }

/* Approach */
.approach { background: var(--bg-alt); }
.approach-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.approach-media img { width: 100%; aspect-ratio: 4/3.4; object-fit: cover; }
.approach-copy > p:not(.big) { color: var(--muted); max-width: 540px; }
.steps { list-style: none; padding: 0; margin: 36px 0 0; display: grid; grid-template-columns: 1fr 1fr; border-top: 1.5px solid var(--frame); }
.steps li { display: flex; gap: 18px; padding: 22px 18px 18px 0; border-bottom: 1px solid var(--line); }
.steps span { font-family: var(--wide); font-weight: 700; font-size: 13px; color: var(--blue); padding-top: 6px; }
.steps h3 { font-family: var(--display); font-weight: 700; font-size: 26px; text-transform: uppercase; letter-spacing: .03em; color: var(--ink); line-height: 1.1; }
.steps p { font-size: 15px; color: var(--muted); margin: 4px 0 0; }

/* Partners */
.partners-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; margin-bottom: 36px; }
.partners-head .section-title { margin-bottom: 0; }
.partners-head p { font-size: 19px; color: var(--ink); max-width: 520px; margin: 0; }
.logo-strip { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); border: 1.5px solid var(--frame); }
.logo-strip li { min-height: 148px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 24px; }
.logo-strip li + li { border-left: 1px solid var(--line); }
.logo-featured { color: var(--blue); }
.lf-top { font-family: var(--wide); font-weight: 700; font-size: 13px; letter-spacing: .3em; text-transform: uppercase; }
.lf-main { font-family: var(--display); font-weight: 800; font-size: 40px; line-height: .95; text-transform: uppercase; color: var(--ink); }
.lf-sub { font-size: 13px; color: var(--muted); margin-top: 6px; letter-spacing: .04em; }
.logo-slot { font-family: var(--wide); font-weight: 600; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: #a3a6b0; }

/* Who */
.who { position: relative; color: #fff; padding: 140px 0; overflow: hidden; background: var(--ink); }
.who-bg, .contact-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.who::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8,9,14,.88) 0%, rgba(8,9,14,.55) 55%, rgba(8,9,14,.2) 100%); }
.who-inner { position: relative; z-index: 1; }
.eyebrow-light { color: #8fb0ff; }
.who h2 { font-family: var(--display); font-weight: 800; font-size: clamp(40px, 4.6vw, 64px); line-height: .92; text-transform: uppercase; max-width: 760px; margin-bottom: 26px; }
.who p:last-child { font-size: 19px; max-width: 520px; color: #e5e7ee; }

/* About */
.about-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 80px; align-items: center; }
.founder { font-family: var(--display); font-weight: 800; font-size: 58px; line-height: 1; text-transform: uppercase; color: var(--ink); }
.role { font-family: var(--wide); font-weight: 700; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--blue); margin: 8px 0 26px; }
.about-copy > p:not(.big):not(.role) { color: var(--muted); max-width: 560px; margin-bottom: 34px; }
.about-media { position: relative; }
.about-media img { width: 100%; aspect-ratio: 4/4.4; object-fit: cover; }
.about-media::before { content: ""; position: absolute; inset: 18px -18px -18px 18px; border: 1.5px solid var(--blue); z-index: -1; }

/* Contact */
.contact { position: relative; color: #fff; padding: 110px 0; background: var(--ink); overflow: hidden; }
.contact::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8,9,14,.9), rgba(8,9,14,.62)); }
.contact-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1.1fr; gap: 80px; align-items: start; }
.contact h2 { font-family: var(--display); font-weight: 800; font-size: clamp(52px, 6vw, 88px); line-height: .9; text-transform: uppercase; margin-bottom: 24px; }
.contact-copy > p:not(.eyebrow):not(.location) { font-size: 19px; color: #e5e7ee; max-width: 440px; }
.location { display: flex; align-items: center; gap: 10px; font-family: var(--wide); font-weight: 700; font-size: 14px; letter-spacing: .14em; text-transform: uppercase; margin-top: 32px; }
.location svg { width: 22px; height: 22px; color: #8fb0ff; }
.contact-form { background: #fff; color: var(--text); padding: 40px; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.full { grid-column: 1 / -1; }
.field label { font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--ink); }
.field input, .field textarea { font: inherit; font-size: 16px; color: var(--ink); border: 1.5px solid var(--line); border-radius: 0; padding: 12px 14px; background: #fff; transition: border-color .2s; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--blue); }
.field.invalid input, .field.invalid textarea { border-color: #c4311a; }
.form-status { grid-column: 1 / -1; margin: 0; font-size: 15px; min-height: 1.4em; color: var(--blue); font-weight: 500; }
.form-status.error { color: #c4311a; }

/* Footer */
.site-footer { background: var(--ink); color: #fff; padding: 56px 0 28px; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 32px; padding-bottom: 36px; border-bottom: 1px solid rgba(255,255,255,.16); }
.brand-light { color: #fff; }
.footer-nav { display: flex; gap: 40px; flex-wrap: wrap; }
.footer-nav a { font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: #cfd2da; }
.footer-nav a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; padding-top: 24px; font-size: 14px; color: #9a9dab; }
.footer-bottom p { margin: 0; }

/* Responsive */
@media (max-width: 1200px) {
  .nav { gap: 32px; }
  .brand-name { font-size: 16px; }
  .cards { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 1020px) {
  :root { --gutter: 28px; }
  .header-cta { display: none; }
  .menu-toggle { display: flex; flex-direction: column; justify-content: center; gap: 7px; margin-left: auto; width: 44px; height: 44px; background: none; border: 0; cursor: pointer; padding: 10px; }
  .menu-toggle span { display: block; height: 2px; background: var(--ink); transition: transform .2s; }
  .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(4.5px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4.5px) rotate(-45deg); }
  .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; gap: 0; background: #fff; border-bottom: 1px solid var(--frame); padding: 8px var(--gutter) 24px; }
  .nav.open { display: flex; }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav .nav-cta-mobile { display: inline-flex; margin-top: 18px; border: 0; color: #fff; padding: 0 28px; }
  .hero { grid-template-columns: 1fr; padding: 40px var(--gutter) 48px; gap: 40px; }
  .hero-media img { min-height: 0; aspect-ratio: 4/3; }
  .approach-grid, .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .about-media { max-width: 560px; }
  .partners-head { flex-direction: column; align-items: flex-start; }
  .logo-strip { grid-template-columns: 1fr 1fr; }
  .logo-strip li:nth-child(3) { border-left: 0; }
  .logo-strip li:nth-child(n+3) { border-top: 1px solid var(--line); }
  .footer-inner, .footer-bottom { flex-direction: column; align-items: flex-start; gap: 20px; }
}
@media (max-width: 640px) {
  :root { --gutter: 16px; }
  body { font-size: 16px; }
  .header-inner { height: 72px; }
  .brand { gap: 12px; }
  .brand-mark { width: 38px; height: 30px; }
  .brand-divider { height: 28px; }
  .brand-name { font-size: 13px; letter-spacing: .18em; }
  .section { padding: 64px 0; }
  .services { padding-top: 24px; }
  .section-title { font-size: 28px; padding-left: 16px; }
  .hero h1 { font-size: 46px; }
  .hero-actions .btn { width: 100%; min-width: 0; }
  .cards { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .logo-strip { grid-template-columns: 1fr; }
  .logo-strip li + li { border-left: 0; border-top: 1px solid var(--line); }
  .who { padding: 90px 0; }
  .founder { font-size: 44px; }
  .about-media::before { inset: 12px -10px -12px 10px; }
  .contact { padding: 72px 0; }
  .contact-form { grid-template-columns: 1fr; padding: 24px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
.logo-strip:has(> li:only-child) { grid-template-columns: 1fr; }

.logo-item img { display: block; width: auto; height: auto; max-width: 100%; max-height: 64px; object-fit: contain; }
.about-media img { object-position: center top; }
@media (min-width: 641px) and (max-width: 1020px) { .logo-strip li:nth-child(odd) { border-left: 0; } .logo-strip li:nth-child(even) { border-left: 1px solid var(--line); } }
.hero-media img { object-position: 70% center; }
.about-media { max-width: 340px; width: 100%; justify-self: center; }
@media (max-width: 1020px) { .about-media { max-width: 300px; } }
.about-media img { height: auto; }
.who::after { background: linear-gradient(90deg, rgba(8,9,14,.9) 0%, rgba(8,9,14,.7) 48%, rgba(8,9,14,.25) 100%); }
.who h2, .who p { text-shadow: 0 2px 12px rgba(0,0,0,.45); }
@media (max-width: 1020px) { .who::after { background: rgba(8,9,14,.8); } }
