/* =========================================================
   PUSH THE ENVELOPE — operator-brand design system
   Inter throughout · clean white · charcoal · vibrant accents
   ========================================================= */

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

:root {
  /* color */
  --bg:           #FFFFFF;
  --bg-tint:      #FAFAF7;
  --bg-cool:      #F7F9FC;
  --ink:          #0F172A;
  --ink-soft:     #1E293B;
  --ink-2:        #334155;
  --muted:        #64748B;
  --muted-2:      #94A3B8;
  --line:         #E2E8F0;
  --line-strong:  #CBD5E1;

  --blue:         #2563EB;
  --blue-700:     #1D4ED8;
  --blue-50:      #EFF6FF;
  --orange:       #EA580C;
  --orange-500:   #F97316;
  --orange-50:    #FFF7ED;

  --grad-warm:    radial-gradient(1200px 600px at 90% -10%, rgba(249, 115, 22, 0.10), transparent 60%),
                  radial-gradient(900px 500px at -10% 110%, rgba(37, 99, 235, 0.07), transparent 60%);

  /* type */
  --f-sans:  "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --t-display: clamp(40px, 5.2vw, 60px);
  --t-h2:      clamp(26px, 3vw, 34px);
  --t-h3:      20px;
  --t-stat:    clamp(32px, 3.8vw, 42px);
  --t-lead:    18px;
  --t-body:    16px;
  --t-meta:    13px;
  --t-label:   12px;

  /* layout */
  --max:       1180px;
  --pad-x:     clamp(20px, 5vw, 48px);
  --section-y: clamp(72px, 9vh, 104px);
  --radius:    12px;
  --radius-lg: 16px;
}

body {
  font-family: var(--f-sans);
  font-feature-settings: "cv11", "ss01", "ss03";
  background: var(--bg);
  color: var(--ink);
  font-size: var(--t-body);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

a { color: inherit; text-decoration: none; }
::selection { background: var(--blue); color: #fff; }

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

/* ---------- type primitives ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: var(--t-label);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
  margin: 0 0 20px;
}
.eyebrow .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--orange); }

.h1 {
  font-size: var(--t-display);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.03em;
  color: var(--ink);
  margin: 0 0 22px;
}
.h2 {
  font-size: var(--t-h2);
  font-weight: 600;
  line-height: 1.18;
  letter-spacing: -0.022em;
  color: var(--ink);
  margin: 0 0 14px;
}
.h3 {
  font-size: var(--t-h3);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 0 0 8px;
}

.lead {
  font-size: var(--t-lead);
  line-height: 1.55;
  color: var(--ink-2);
  margin: 0 0 16px;
  max-width: 60ch;
}
.muted { color: var(--muted); }

.section-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: end;
  margin-bottom: 44px;
}
.section-intro .h2 { max-width: 18ch; margin-bottom: 0; }
.section-intro .lead { margin-bottom: 0; }
@media (max-width: 820px) {
  .section-intro { grid-template-columns: 1fr; gap: 16px; }
}

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s ease;
}
.site-header.scrolled { border-bottom-color: var(--line); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -0.012em;
  color: var(--ink);
}
.brand-mark {
  display: inline-flex;
  color: var(--ink);
}
.brand-mark svg { display: block; width: 24px; height: 24px; }

.nav { display: flex; gap: 28px; align-items: center; }
.nav a {
  font-size: 14px;
  color: var(--muted);
  font-weight: 500;
  position: relative;
  padding: 4px 0;
  transition: color .15s ease;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 100%;
  bottom: 0;
  height: 1px;
  background: var(--ink);
  transition: right .25s ease;
}
.nav a:hover { color: var(--ink); }
.nav a:hover::after { right: 0; }

.nav .nav-cta {
  background: var(--ink);
  color: #fff;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 13px;
  transition: background .18s ease;
}
.nav .nav-cta::after { display: none; }
.nav .nav-cta:hover { background: var(--blue); color: #fff; }

@media (max-width: 720px) {
  .nav a:not(.nav-cta) { display: none; }
}

/* ---------- hero (two-column) ---------- */
.hero {
  position: relative;
  padding: clamp(88px, 14vh, 140px) 0 clamp(72px, 10vh, 112px);
  background: var(--grad-warm);
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 56px;
  align-items: center;
}
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
}

.hero-copy { max-width: 600px; }

.hero .h1 .accent {
  background: linear-gradient(120deg, var(--orange) 0%, var(--blue) 100%);
  -webkit-background-clip: text;
          background-clip: text;
  color: transparent;
  font-weight: 700;
}

.hero-sub {
  font-size: clamp(17px, 1.5vw, 19px);
  line-height: 1.55;
  color: var(--ink-2);
  margin: 0 0 18px;
  max-width: 56ch;
}

.hero-cities {
  font-size: 13.5px;
  color: var(--muted);
  margin: 0 0 28px;
  max-width: 56ch;
  font-weight: 400;
}

.cta-row { display: flex; gap: 12px; flex-wrap: wrap; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.005em;
  border: 1px solid transparent;
  transition: background .18s ease, color .18s ease, border-color .18s ease, transform .18s ease;
  white-space: nowrap;
}
.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { background: var(--blue); transform: translateY(-1px); }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--line-strong); }
.btn-ghost:hover { border-color: var(--ink); }

.btn .arrow {
  display: inline-flex;
  width: 14px; height: 14px;
  transition: transform .18s ease;
}
.btn:hover .arrow { transform: translate(2px, -2px); }

/* hero meta strip */
.hero-meta {
  margin-top: 36px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 18px 28px;
  align-items: center;
  font-size: 13px;
  color: var(--muted);
}
.hero-meta strong { color: var(--ink); font-weight: 600; }
.hero-meta .sep { color: var(--line-strong); }

/* hero illustration — naked PNG, no card/border/shadow, gentle float */
.hero-illustration {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px 0;
}
.hero-illustration img {
  width: min(100%, 460px);
  height: auto;
  display: block;
  margin-inline: auto;
  animation: float 7s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-8px); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-illustration svg { animation: none; }
}

/* ---------- why push the envelope ---------- */
.why {
  padding: clamp(44px, 6vh, 68px) 0;
  border-bottom: 1px solid var(--line);
  background: #fff;
}
.why-inner {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}
.why .eyebrow { justify-content: center; margin-bottom: 14px; }
.why-body {
  font-size: clamp(18px, 1.55vw, 21px);
  line-height: 1.55;
  letter-spacing: -0.012em;
  color: var(--ink);
  margin: 0 auto;
  max-width: 60ch;
  font-weight: 500;
}

/* ---------- sections ---------- */
.section {
  padding: var(--section-y) 0;
  border-bottom: 1px solid var(--line);
}
.section-tint { background: var(--bg-tint); }
.section-cool { background: var(--bg-cool); }

/* ---------- services ---------- */
.services {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
@media (max-width: 900px) { .services { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .services { grid-template-columns: 1fr; } }

.service {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.service:hover {
  border-color: var(--ink);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px -16px rgba(15, 23, 42, 0.18);
}
.service-icon {
  width: 32px; height: 32px;
  display: grid; place-items: center;
  border-radius: 8px;
  background: var(--blue-50);
  color: var(--blue);
}
.service-icon svg { width: 16px; height: 16px; }
.service:nth-child(even) .service-icon { background: var(--orange-50); color: var(--orange); }

.service-title {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ink);
  line-height: 1.35;
}
.service-desc {
  font-size: 14px;
  line-height: 1.55;
  color: var(--muted);
  margin: 0;
}

/* ---------- experience ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 36px;
}
@media (max-width: 720px) { .stats { grid-template-columns: repeat(2, 1fr); } }
.stat { background: #fff; padding: 24px 22px; display: flex; flex-direction: column; gap: 6px; }
.stat-num {
  font-size: var(--t-stat);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--ink);
}
.stat-num .unit { color: var(--orange); }
.stat:nth-child(2) .stat-num .unit { color: var(--blue); }
.stat:nth-child(3) .stat-num .unit { color: var(--orange); }
.stat:nth-child(4) .stat-num .unit { color: var(--blue); }
.stat-label { font-size: 13px; color: var(--muted); letter-spacing: -0.005em; }

.companies {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
@media (max-width: 720px) { .companies { grid-template-columns: 1fr; } }

.company {
  background: #fff;
  padding: 20px 22px;
  display: grid;
  grid-template-columns: 48px 1fr auto;
  gap: 16px;
  align-items: center;
  transition: background .18s ease;
}
.company:hover { background: var(--bg-tint); }

/* logo slot — white chip with thin border, logo padded inside */
.company-logo {
  width: 48px; height: 48px;
  display: grid;
  place-items: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.02em;
  flex-shrink: 0;
}
.company-logo img,
.company-logo svg {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 7px;
  box-sizing: border-box;
}

.company-name {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.012em;
  color: var(--ink);
  margin: 0 0 3px;
}
.company-desc {
  font-size: 13.5px;
  line-height: 1.45;
  color: var(--muted);
  margin: 0;
}
.company-tag {
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-2);
  background: var(--bg-tint);
  border: 1px solid var(--line);
  padding: 4px 8px;
  border-radius: 999px;
  white-space: nowrap;
}
@media (max-width: 520px) {
  .company { grid-template-columns: 44px 1fr; }
  .company-tag { display: none; }
}

.cities-line {
  margin: 24px 0 0;
  font-size: 14px;
  color: var(--ink-2);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.cities-line .pin { width: 14px; height: 14px; color: var(--orange); }

/* ---------- how I work ---------- */
.principles {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
@media (max-width: 720px) { .principles { grid-template-columns: 1fr; } }

.principle {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 26px 24px;
}
.principle-title {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.012em;
  color: var(--ink);
  margin: 0 0 10px;
  line-height: 1.3;
}
.principle-body { font-size: 15px; line-height: 1.6; color: var(--muted); margin: 0; }

.fit-line {
  margin-top: 32px;
  padding: 20px 24px;
  background: var(--bg-cool);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink-2);
}
.fit-line strong { color: var(--ink); font-weight: 600; }

/* ---------- contact ---------- */
.contact-inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 64px;
  align-items: center;
}
@media (max-width: 820px) {
  .contact-inner { grid-template-columns: 1fr; gap: 32px; }
}
.contact-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.contact-aside {
  background: var(--ink);
  color: #fff;
  padding: 28px;
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
}
.contact-aside::after {
  content: "";
  position: absolute;
  inset: -40% -40% auto auto;
  width: 240px; height: 240px;
  background: radial-gradient(circle, rgba(249, 115, 22, 0.45), transparent 65%);
  pointer-events: none;
}
.contact-aside-headline {
  font-size: clamp(22px, 2.2vw, 28px);
  font-weight: 600;
  letter-spacing: -0.022em;
  line-height: 1.15;
  color: #fff;
  margin: 0 0 16px;
  position: relative;
  z-index: 1;
  max-width: 22ch;
}
.contact-aside-line {
  font-size: 15px;
  line-height: 1.55;
  color: rgba(255,255,255,0.78);
  margin: 0;
  max-width: 38ch;
  position: relative;
  z-index: 1;
}

/* ---------- footer ---------- */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 32px 0;
  background: #fff;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--muted);
}
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  color: var(--ink);
}
.footer-brand svg { width: 20px; height: 20px; color: var(--ink); }

/* ---------- motion ---------- */
.reveal {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .65s cubic-bezier(.2,.7,.2,1), transform .65s cubic-bezier(.2,.7,.2,1);
}
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}
