/* ============================================================
   Elite Consultancy — Figma: "Elite Consultancy" (3840:367)
   Design width 1512 / container 1288.

   Font note: the design uses Lufga (geometric sans) and Vogun
   (display didone). Both are commercial licences, so the stacks
   below name them first and fall back to the closest free
   equivalents (Outfit / Bodoni Moda). Drop the real webfonts in
   and they take over with no other change.
   ============================================================ */

@font-face {
  font-family: 'Vogun';
  src: url('assets/fonts/Vogun-Medium.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

:root {
  /* brand */
  --brand:        #075056;
  --brand-mid:    #227076;
  --dark:         #032022;
  --mint:         #D0F5C1;
  --cream:        #F8F1E7;

  /* ink */
  --ink-900:      #29323A;
  --ink-800:      #344054;
  --ink-700:      #3F3F46;
  --muted:        #667185;
  --muted-2:      #98A2B3;
  --muted-3:      #8191A1;
  --grey-blue-300:#96A3B1;
  --grey-300:     #D0D5DD;
  --grey-100:     #F0F2F5;

  /* surfaces */
  --chip-bg:      #F7F9FC;
  --icon-bg:      #ECFBE6;
  --icon-border:  #F6FDF3;

  /* type */
  --sans:    'Lufga', 'Outfit', system-ui, -apple-system, sans-serif;
  --display: 'Vogun', 'Bodoni Moda', Georgia, serif;
  --body:    'Nunito Sans', system-ui, -apple-system, sans-serif;
  --ui:      'Open Sauce One', 'Inter', system-ui, -apple-system, sans-serif;

  /* layout */
  --wrap: 1288px;
  --gutter: clamp(20px, 5vw, 112px);
}

/* ── reset ────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink-800);
  background: #fff;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, p, figure { margin: 0; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
:focus-visible { outline: 2px solid var(--brand-mid); outline-offset: 3px; border-radius: 4px; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.display { font-family: var(--display); font-weight: 500; }
.accent  { color: var(--brand); }

/* ── buttons ──────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 16px;
  border-radius: 10px;
  font-family: var(--sans);
  font-weight: 500;
  font-size: 16px;
  line-height: 1.45;
  white-space: nowrap;
  transition: background-color .2s ease, transform .2s ease;
}
.btn--primary { background: var(--brand); color: #fff; }
.btn--primary:hover { background: #0a656d; }
.btn--primary:active { transform: translateY(1px); }
.btn--lg { min-height: 56px; padding-inline: 20px; }
.btn--icon svg { flex: none; transition: transform .2s ease; }
.btn--icon:hover svg { transform: translateX(3px); }

/* ── brand lockup ─────────────────────────────────────────── */
.brand { display: inline-flex; align-items: center; gap: 7.9px; }
.brand__mark { width: 64px; height: 64px; flex: none; }
.brand__word { width: 173px; height: 44.4px; flex: none; }
.brand--sm .brand__mark { width: 48px; height: 48px; }
.brand--sm .brand__word { width: 130px; height: 33.3px; }

/* ============================================================
   Hero
   ============================================================ */
.hero {
  position: relative;
  isolation: isolate;
  min-height: 986px;
  display: flex;
  flex-direction: column;
  color: #fff;
}
.hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}
.hero__scrim { position: absolute; inset: 0; background: rgba(0,0,0,.3); z-index: -1; }

.nav { padding-top: 10px; }
.nav__inner {
  max-width: calc(var(--wrap) + 2 * 0px);
  margin-inline: auto;
  padding: 16px var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.nav__menu { display: flex; align-items: center; gap: 24px; }
.nav__links {
  display: flex;
  align-items: center;
  gap: 32px;
  padding: 16px 24px;
  border-radius: 40px;
}
.nav__links a {
  font-size: 16px;
  line-height: 1.45;
  color: #fff;
  opacity: .92;
  transition: opacity .2s ease;
}
.nav__links li:nth-child(2) a { font-family: var(--ui); }
.nav__links a:hover { opacity: 1; }

.nav__toggle {
  display: none;
  width: 44px; height: 44px;
  padding: 0;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 10px;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.nav__toggle span { width: 18px; height: 1.5px; background: #fff; border-radius: 2px; transition: transform .2s ease, opacity .2s ease; }
.nav__toggle[aria-expanded="true"] span:first-child { transform: translateY(3.75px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:last-child  { transform: translateY(-3.75px) rotate(-45deg); }

.hero__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 40px;
  text-align: center;
  padding: clamp(48px, 8vw, 80px) var(--gutter) clamp(64px, 10vw, 120px);
  max-width: calc(var(--wrap) + 2 * 112px);
  margin-inline: auto;
}
.hero__title {
  font-family: var(--sans);
  font-weight: 500;
  font-size: clamp(44px, 7.4vw, 112px);
  line-height: 1.2;
  letter-spacing: -.06em;
  max-width: 15ch;
}
.hero__sub {
  font-family: var(--body);
  font-weight: 500;
  font-size: clamp(17px, 1.85vw, 28px);
  line-height: 1.6;
  letter-spacing: -.02em;
  max-width: 894px;
}

/* ============================================================
   Generic section
   ============================================================ */
.section { padding-block: clamp(56px, 7vw, 96px); }
.section__head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  text-align: center;
  padding-bottom: clamp(32px, 4vw, 48px);
}
.chip {
  display: inline-flex;
  align-items: center;
  height: 32px;
  padding: 8px 12px;
  border-radius: 30px;
  background: var(--chip-bg);
  color: var(--muted-3);
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: -.02em;
}
.chip--dark { background: rgba(247,249,252,.4); color: var(--grey-300); }

.h2 {
  font-family: var(--sans);
  font-weight: 500;
  font-size: clamp(30px, 3.2vw, 48px);
  line-height: 1.2;
  letter-spacing: -.02em;
  color: var(--ink-700);
  text-wrap: balance;
}
.h2--light { color: var(--grey-300); }

.lede {
  font-family: var(--body);
  font-weight: 400;
  font-size: clamp(17px, 1.6vw, 24px);
  line-height: 1.6;
  letter-spacing: -.02em;
  color: var(--muted);
  text-wrap: pretty;
}
.lede--narrow { max-width: 1105px; margin-inline: auto; text-align: center; padding-top: clamp(24px, 3vw, 40px); }

.figure {
  border: .731px solid var(--grey-100);
  border-radius: 24px;
  overflow: hidden;
  max-width: 1122px;
  margin-inline: auto;
  aspect-ratio: 1122 / 434;
}
.figure img { width: 100%; height: 100%; object-fit: cover; }

/* ── cards ────────────────────────────────────────────────── */
.cards {
  display: grid;
  gap: 32px 48px;
  padding-top: clamp(32px, 4vw, 48px);
}
.cards--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cards--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 16px 8px;
  border-radius: 12px;
  text-align: center;
}
.card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  border-radius: 999px;
  background: var(--icon-bg);
  border: .8px solid var(--icon-border);
}
.card__icon img { width: 24px; height: 24px; }
.card__step {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 70px;
  height: 70px;
  border-radius: 999px;
  background: var(--brand-mid);
  border: .8px solid var(--icon-border);
  color: #fff;
  font-size: 38px;
  line-height: 1.2;
  letter-spacing: -.06em;
}
.card__title {
  margin-top: 8px;
  font-size: clamp(24px, 2.2vw, 32px);
  line-height: 1.2;
  letter-spacing: -.06em;
  color: var(--ink-800);
  font-weight: 500;
}
.card__text {
  font-size: clamp(16px, 1.35vw, 20px);
  line-height: 1.6;
  letter-spacing: -.02em;
  color: var(--muted-2);
  text-wrap: pretty;
}
.card__tiers {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 10px;
  margin-top: 6px;
  font-family: var(--ui);
  font-size: 14px;
  font-weight: 500;
  color: var(--brand);
}
.card__tiers span {
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--icon-bg);
}

/* ============================================================
   Philosophy
   ============================================================ */
.philosophy {
  background: var(--dark);
  padding-block: clamp(64px, 8vw, 104px);
}
.philosophy .section__head { padding-bottom: clamp(36px, 4vw, 56px); }

.principles {
  display: flex;
  gap: clamp(24px, 3.3vw, 48px);
  align-items: stretch;
}
.principles__rail {
  position: relative;
  flex: none;
  width: 14.1px;
  border-radius: 999px;
}
.principles__rail::before {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 0; bottom: 0;
  width: 7.44px;
  border-radius: 999px;
  background: var(--brand-mid);
  opacity: .45;
}
.principles__thumb {
  position: absolute;
  left: 0;
  width: 14.1px;
  height: calc(100% / 3);
  border-radius: 999px;
  background: var(--brand-mid);
  transition: transform .45s cubic-bezier(.22,.61,.36,1);
}

.principles__list {
  display: flex;
  flex-direction: column;
  gap: 24px;
  flex: 1;
  min-width: 0;
}
.principle {
  display: flex;
  gap: 28px;
  align-items: flex-start;
  opacity: .05;
  transition: opacity .45s ease;
}
.principle:nth-child(2) { opacity: .22; }
.principle.is-active { opacity: 1; }

.principle__num {
  flex: none;
  min-width: 1.6ch;
  font-size: clamp(38px, 4.1vw, 62px);
  line-height: 1.2;
  letter-spacing: -.06em;
  color: var(--muted-2);
  text-align: center;
}
.principle:not(.is-active) .principle__num { color: var(--ink-800); }

.principle__title {
  font-family: var(--sans);
  font-weight: 600;
  font-size: clamp(24px, 2.65vw, 40px);
  line-height: 1.2;
  letter-spacing: -.06em;
  color: var(--ink-800);
  flex: 0 0 clamp(220px, 34%, 503px);
  transition: color .45s ease;
}
.principle.is-active .principle__title { color: #fff; }

.principle__text {
  font-family: var(--ui);
  font-size: clamp(16px, 1.35vw, 20px);
  line-height: 1.6;
  letter-spacing: -.02em;
  color: var(--grey-blue-300);
  flex: 1;
  min-width: 0;
}

/* ============================================================
   CTA
   ============================================================ */
.cta {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: var(--dark);
  padding-block: clamp(64px, 8vw, 100px);
  text-align: center;
}
.cta__blob {
  position: absolute;
  z-index: -1;
  pointer-events: none;
}
.cta__blob--tl {
  top: -128px; left: -226px;
  width: 392px; height: 392px;
  background: #28463F;
  clip-path: polygon(30% 0%, 100% 18%, 100% 62%, 62% 100%, 8% 88%, 0% 40%);
}
.cta__blob--br {
  bottom: -40px; right: -160px;
  width: 314px; height: 314px;
  background: #1C484B;
  clip-path: polygon(38% 0%, 100% 12%, 100% 70%, 58% 100%, 4% 82%, 0% 34%);
}
.cta__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}
.cta__eyebrow {
  font-family: var(--ui);
  font-size: clamp(15px, 1.4vw, 20px);
  line-height: 1.6;
  letter-spacing: -.02em;
  color: var(--muted-2);
}
.cta__title {
  font-family: var(--sans);
  font-weight: 500;
  font-size: clamp(28px, 3.2vw, 48px);
  line-height: 1.2;
  letter-spacing: -.02em;
  color: var(--mint);
  max-width: 1268px;
  text-wrap: balance;
}

/* ============================================================
   Footer
   ============================================================ */
.footer {
  background: #000;
  color: var(--muted-2);
  padding-block: 64px 40px;
}
.footer .wrap { max-width: 1512px; padding-inline: clamp(20px, 4.2vw, 64px); }

.footer__cols {
  display: grid;
  grid-template-columns: 454px repeat(3, minmax(0, 1fr));
  gap: 40px 48px;
}
.footer__tagline {
  margin-top: 12px;
  font-family: var(--ui);
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: -.02em;
  color: var(--muted-2);
}
.footer__heading {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 16px;
  line-height: 1.25;
  color: #fff;
  margin-bottom: 24px;
}
.footer__col ul { display: flex; flex-direction: column; gap: 16px; }
.footer__col a {
  font-family: var(--ui);
  font-size: 16px;
  line-height: 1.25;
  color: var(--muted-2);
  transition: color .2s ease;
}
.footer__col a:hover { color: #fff; }

.footer__base {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 76px;
  padding-top: 12px;
  border-top: 1px solid rgba(255,255,255,.12);
}
.footer__base p {
  font-family: var(--ui);
  font-size: 14px;
  line-height: 1.43;
  color: var(--muted-2);
}
.dot { width: 6px; height: 6px; border-radius: 999px; background: var(--brand-mid); flex: none; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1100px) {
  .principle { flex-wrap: wrap; }
  .principle__title { flex-basis: 100%; }
}

@media (max-width: 900px) {
  .hero { min-height: 640px; }
  .brand__mark { width: 44px; height: 44px; }
  .brand__word { width: 120px; height: 31px; }

  .nav__toggle { display: flex; }
  .nav__menu {
    position: absolute;
    top: 100%;
    left: var(--gutter);
    right: var(--gutter);
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    padding: 16px;
    border-radius: 16px;
    background: rgba(3,32,34,.94);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,.12);
    display: none;
  }
  .nav__inner { position: relative; }
  .nav__menu.is-open { display: flex; }
  .nav__links { flex-direction: column; align-items: stretch; gap: 4px; padding: 0; }
  .nav__links a { display: block; padding: 12px; border-radius: 10px; }
  .nav__links a:hover { background: rgba(255,255,255,.08); }

  .cards--2, .cards--3 { grid-template-columns: 1fr; gap: 28px; }
  .footer__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer__brand { grid-column: 1 / -1; }
  .footer__base { margin-top: 48px; }
}

@media (max-width: 620px) {
  .principles { gap: 20px; }
  .principles__rail { width: 8px; }
  .principles__rail::before { width: 4px; }
  .principles__thumb { width: 8px; }
  .principle { gap: 16px; }
  .figure { aspect-ratio: 4 / 3; }
  .footer__cols { grid-template-columns: 1fr; }
}
