:root {
  --bg: #FFFFFF;
  --ink: #2B2B29;
  --muted: #8A8A85;
  --accent: #0657CC;

  --bg-soft: #F5F5F5;
  --statement-muted: #959594;
  --card-bg: #FFFFFF;

  --border: rgba(43, 43, 41, 0.12);
  --border-strong: rgba(43, 43, 41, 0.2);
  --input-border: rgba(43, 43, 41, 0.3);
  --nav-bg: rgba(255, 255, 255, 0.9);

  --ink-faint: rgba(43, 43, 41, 0.7);
  --ink-fainter: rgba(43, 43, 41, 0.5);

  --on-dark-faint: rgba(255, 255, 255, 0.6);
  --on-dark-fainter: rgba(255, 255, 255, 0.45);
  --on-dark-border: rgba(255, 255, 255, 0.15);
  --on-dark-border2: rgba(255, 255, 255, 0.4);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: 'Manrope', sans-serif;
  overflow-x: hidden;
}

a {
  text-decoration: none;
}

input,
textarea,
button {
  font-family: 'Manrope', sans-serif;
}

.container {
  max-width: 1440px;
  margin: 0 auto;
}

/* ---------- NAV ---------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  padding: 22px 64px;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-brand-logo {
  height: 32px;
  width: auto;
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 40px;
}

.nav-link {
  color: var(--ink);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color 0.2s ease;
}

.nav-link:hover {
  color: var(--accent);
}

.nav-cta {
  background: var(--ink);
  color: var(--bg);
  padding: 11px 24px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: background 0.2s ease;
}

.nav-cta:hover {
  background: var(--accent);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: var(--ink);
}

.nav-toggle svg {
  display: block;
}

/* ---------- HERO ---------- */

.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: clamp(600px, 90vh, 900px);
  padding: 0 64px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    90deg,
    rgba(14, 20, 30, 0.82) 0%,
    rgba(14, 20, 30, 0.66) 42%,
    rgba(14, 20, 30, 0.28) 100%
  );
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  padding-top: 96px;
  padding-bottom: 96px;
}

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

.hero-copy h1 {
  font-weight: 700;
  font-size: 66px;
  line-height: 1.06;
  letter-spacing: -0.025em;
  margin: 0 0 28px;
  color: #ffffff;
}

.hero-copy p {
  font-size: 18px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.86);
  max-width: 560px;
  margin: 0 0 20px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 28px;
}

.hero-link {
  color: #ffffff;
  padding: 16px 8px;
  font-size: 15px;
  font-weight: 500;
  border-bottom: 1px solid #ffffff;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.hero-link:hover {
  color: var(--accent);
  border-color: var(--accent);
}


/* ---------- EYEBROW ---------- */

.eyebrow {
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
}

.eyebrow-tri {
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-bottom: 7px solid var(--accent);
  display: inline-block;
}

.eyebrow-tri.lg {
  border-left-width: 5px;
  border-right-width: 5px;
  border-bottom-width: 9px;
}

/* ---------- STATEMENT ---------- */

.statement {
  padding: 88px 64px;
}

.statement .eyebrow {
  margin-bottom: 36px;
}

.statement p {
  font-weight: 600;
  font-size: 46px;
  line-height: 1.32;
  letter-spacing: -0.02em;
  margin: 0;
  color: var(--statement-muted);
  max-width: 1080px;
}

.statement p span {
  color: var(--ink);
}

/* ---------- SERVICES ---------- */

.services {
  padding: 88px 64px;
}

.services-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 56px;
  gap: 24px;
  flex-wrap: wrap;
}

.services-head h2 {
  font-weight: 500;
  font-size: 40px;
  margin: 0;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.services-head p {
  max-width: 360px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
  margin: 0;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}

.service-card {
  background: var(--card-bg);
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  position: relative;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.1);
  z-index: 2;
}

.service-card .num {
  font-size: 14px;
  color: var(--accent);
}

.service-card h3 {
  font-weight: 500;
  font-size: 22px;
  margin: 0;
  color: var(--ink);
}

.service-card p {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--muted);
  margin: 0;
}

/* ---------- STATS ---------- */

.stats {
  background: var(--bg-soft);
  padding: 88px 64px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 48px;
}

.stat {
  border-left: 1px solid var(--border-strong);
  padding-left: 28px;
}

.stat .value {
  font-weight: 800;
  font-size: 58px;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--accent);
}

.stat .value .accent {
  color: var(--accent);
}

.stat .label {
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 14px;
}

/* ---------- TEAM ---------- */

.about {
  background: var(--bg);
  padding: 88px 64px;
}

.about-head {
  margin-bottom: 56px;
}

.about-head h2 {
  font-weight: 500;
  font-size: 40px;
  margin: 0;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.about-lead {
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink-faint);
  max-width: 620px;
  margin: 20px 0 0;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.profile-card {
  background: var(--card-bg);
  padding: 48px;
  border: 1px solid var(--border);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 32px;
  align-items: flex-start;
  text-align: left;
  font-family: inherit;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.profile-card:hover,
.profile-card:focus-visible {
  transform: translateY(-6px);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.1);
  border-color: var(--accent);
  outline: none;
}

.profile-photo {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}

.profile-body {
  display: flex;
  flex-direction: column;
}

.profile-name {
  font-size: 24px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 4px;
}

.profile-card .role {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 16px;
  font-weight: 600;
}

.profile-bio {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 20px;
}

.profile-linkedin {
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
  margin-top: auto;
}

/* ---------- LIGHTBOX ---------- */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.lightbox.is-open {
  display: flex;
}

.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(20, 20, 19, 0.66);
  backdrop-filter: blur(3px);
}

.lightbox-panel {
  position: relative;
  z-index: 1;
  background: var(--bg);
  border-radius: 14px;
  padding: 48px;
  max-width: 480px;
  width: 100%;
  text-align: center;
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.35);
}

.lightbox-close {
  position: absolute;
  top: 16px;
  right: 20px;
  background: none;
  border: none;
  font-size: 30px;
  line-height: 1;
  color: var(--muted);
  cursor: pointer;
  transition: color 0.2s ease;
}

.lightbox-close:hover {
  color: var(--ink);
}

.lightbox-photo {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  margin: 0 auto 24px;
}

.lightbox-name {
  font-size: 26px;
  font-weight: 600;
  margin: 0 0 6px;
  color: var(--ink);
}

.lightbox-role {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 20px;
}

.lightbox-bio {
  font-size: 15px;
  line-height: 1.7;
  color: var(--muted);
  margin: 0 0 28px;
}

.lightbox-linkedin {
  display: inline-block;
  background: var(--ink);
  color: var(--bg);
  padding: 13px 28px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  transition: background 0.2s ease;
}

.lightbox-linkedin:hover {
  background: var(--accent);
}

/* ---------- CONTACT ---------- */

.contact {
  padding: 88px 64px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 80px;
}

.contact-info h2 {
  font-weight: 500;
  font-size: 40px;
  margin: 0 0 28px;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.contact-info > p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink-faint);
  margin: 0 0 40px;
  max-width: 400px;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.contact-details .label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink-fainter);
  margin-bottom: 4px;
}

.contact-details .value {
  font-size: 15px;
  color: var(--ink);
}

.contact-form {
  background: var(--bg-soft);
  padding: 48px;
  border: 1px solid var(--border);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}

.form-field.full {
  margin-bottom: 32px;
}

.form-field label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.form-field input,
.form-field textarea {
  border: none;
  border-bottom: 1px solid var(--input-border);
  background: transparent;
  padding: 10px 0;
  font-size: 15px;
  color: var(--ink);
  outline: none;
}

.form-field textarea {
  resize: none;
}

.form-submit {
  background: var(--ink);
  color: var(--bg);
  border: none;
  padding: 16px 32px;
  font-size: 15px;
  font-weight: 500;
  border-radius: 999px;
  cursor: pointer;
  width: 100%;
  transition: background 0.2s ease;
}

.form-submit:hover {
  background: var(--accent);
}

.form-note {
  font-size: 13px;
  color: var(--muted);
  margin: 14px 0 0;
  min-height: 18px;
}

/* ---------- FOOTER ---------- */

.footer {
  background: var(--ink);
  color: var(--bg);
  padding: 72px 64px 32px;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 40px;
  border-bottom: 1px solid var(--on-dark-border);
  padding-bottom: 32px;
  margin-bottom: 20px;
}

.footer-brand-name {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--bg);
}

.footer-brand-tagline {
  font-size: 13px;
  color: var(--on-dark-faint);
  max-width: 280px;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.footer-contact a,
.footer-contact span {
  font-size: 13px;
  color: var(--on-dark-faint);
  transition: color 0.2s ease;
}

.footer-contact a:hover {
  color: var(--accent);
}

.footer-links {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--bg);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--accent);
}

.footer-legal {
  font-size: 12.5px;
  color: var(--on-dark-fainter);
}

/* ---------- RESPONSIVE ---------- */

@media (max-width: 1100px) {
  .nav,
  .hero,
  .statement,
  .services,
  .stats,
  .about,
  .contact,
  .footer {
    padding-left: 40px;
    padding-right: 40px;
  }

  .hero-inner {
    padding-top: 80px;
    padding-bottom: 80px;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 40px;
  }
}

@media (max-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

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

  .statement p {
    font-size: 32px;
  }

  .services-head {
    align-items: flex-start;
  }
}

@media (max-width: 700px) {
  .nav-links {
    position: fixed;
    top: 73px;
    left: 0;
    right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding: 12px 24px 24px;
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
  }

  .nav-links.open {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  .nav-links .nav-link,
  .nav-links .nav-cta {
    width: 100%;
    padding: 14px 0;
  }

  .nav-links .nav-cta {
    margin-top: 8px;
    padding: 14px 22px;
    text-align: center;
  }

  .nav-toggle {
    display: block;
  }

  .hero-copy h1 {
    font-size: 42px;
  }

  .hero-copy p {
    font-size: 16px;
  }

  .hero-inner {
    padding-top: 80px;
    padding-bottom: 80px;
  }

  .statement p {
    font-size: 26px;
  }

  .services,
  .stats,
  .about,
  .contact,
  .footer,
  .nav,
  .hero {
    padding-left: 24px;
    padding-right: 24px;
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .stat .value {
    font-size: 42px;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .contact-form {
    padding: 28px;
  }

  .footer-top {
    flex-direction: column;
  }

  .profile-card {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 32px;
  }

  .profile-photo {
    width: 88px;
    height: 88px;
  }

  .lightbox-panel {
    padding: 36px 28px;
  }
}
