@font-face {
  font-family: "Uniform";
  src: url("../fonts/Uniform-Light.woff2") format("woff2");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Uniform";
  src: url("../fonts/Uniform-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Uniform";
  src: url("../fonts/Uniform-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Chronicle Display";
  src: url("../fonts/ChronicleDisplay-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg-0: #0d1114;
  --bg-1: #12171b;
  --bg-2: #171d22;
  --line: rgba(255, 255, 255, 0.09);
  --text-0: #f3f5f6;
  --text-1: #aab1b6;
  --text-2: #767f85;
  --steel: #4c6f85;
  --steel-soft: rgba(76, 111, 133, 0.16);
  --orange: #ff9300;
  --error: #e2705f;
  --success: #6fbf8f;
  --radius: 2px;
  --container: 1180px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg-0);
  color: var(--text-0);
  font-family: "Uniform", "Helvetica Neue", Arial, sans-serif;
  font-weight: 400;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

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

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

.wrap {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
}

section { position: relative; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--orange);
  font-weight: 700;
  margin-bottom: 18px;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: var(--orange);
}

h1, h2, h3, h4 {
  font-weight: 700;
  margin: 0;
  color: var(--text-0);
  letter-spacing: -0.01em;
}

h2 {
  font-size: clamp(28px, 3.4vw, 42px);
  line-height: 1.15;
}

h3 { font-size: 20px; }

p { color: var(--text-1); margin: 0; }

.section-head {
  max-width: 640px;
  margin-bottom: 56px;
}
.section-head p { margin-top: 16px; font-size: 17px; }
.section-head p + p { margin-top: 12px; }

/* ---------- Header ---------- */
header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(13, 17, 20, 0.72);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  transform: translateY(0);
  transition: transform 0.35s ease;
}
header.header-hidden {
  transform: translateY(-100%);
}
header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 168px;
}
.logo img { height: 96px; width: auto; }
nav { display: flex; align-items: center; gap: 36px; }
nav a {
  font-size: 15px;
  color: var(--text-1);
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: color 0.2s ease;
}
nav a:hover { color: var(--text-0); }
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 8px;
  cursor: pointer;
}
.nav-toggle span {
  width: 22px;
  height: 2px;
  background: var(--text-0);
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-mobile {
  display: none;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  gap: 0;
  padding: 8px 32px 20px;
  border-top: 1px solid var(--line);
  background: var(--bg-0);
}
.nav-mobile a {
  padding: 14px 0;
  font-size: 15px;
  color: var(--text-1);
  border-bottom: 1px solid var(--line);
}
.nav-mobile.open { display: flex; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 26px;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 700;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--orange);
  color: #17130a;
}
.btn-primary:hover { background: #ffa629; }
.btn-ghost {
  border-color: rgba(255, 255, 255, 0.18);
  color: var(--text-0);
}
.btn-ghost:hover { border-color: var(--steel); background: var(--steel-soft); }

/* ---------- Hero ---------- */
.hero {
  padding: 200px 0 140px;
  background:
    radial-gradient(1100px 500px at 82% -10%, rgba(76, 111, 133, 0.28), transparent 60%),
    radial-gradient(700px 420px at 10% 110%, rgba(255, 147, 0, 0.08), transparent 60%),
    var(--bg-0);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.hero h1 {
  text-align: center;
  font-size: clamp(38px, 5.6vw, 68px);
  line-height: 1.06;
  font-weight: 300;
}
.hero h1 span { color: var(--steel); font-weight: 400; }
.hero-lede {
  text-align: center;
  max-width: 560px;
  margin: 24px auto 0;
  font-size: 18px;
  color: var(--text-1);
}
.hero-video {
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  margin-top: 40px;
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.5);
}
.hero-video video {
  width: 100%;
  height: auto;
  display: block;
}
.hero-quote {
  text-align: center;
  max-width: 780px;
  margin: 76px auto 0;
}
.hero-quote::before {
  content: "";
  display: block;
  width: 40px;
  height: 2px;
  background: var(--orange);
  margin: 0 auto 28px;
}
.hero-quote p.q {
  font-family: "Chronicle Display", Georgia, serif;
  color: var(--text-0);
  font-size: clamp(22px, 2.6vw, 30px);
  font-weight: 700;
  line-height: 1.3;
  margin: 0;
  transform: scaleY(1.12);
  transform-origin: center;
}
.hero-quote .who {
  margin-top: 20px;
  font-size: 14px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-1);
}
.hero-quote .who .lc {
  text-transform: none;
}
.hero-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 10px 20px;
  margin-top: 64px;
  padding-top: 30px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-2);
}
.hero-tags .dot { color: var(--steel); }

/* ---------- Stats strip ---------- */
.stats {
  padding: 80px 0;
}
.stats-cell {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-1);
}
.stat {
  padding: 44px 32px;
}
.stat .num {
  font-size: clamp(30px, 3vw, 44px);
  font-weight: 700;
  color: var(--text-0);
}
.stat .num em {
  font-style: normal;
  color: var(--orange);
}
.stat .count {
  display: inline-block;
  font-variant-numeric: tabular-nums;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}
.stats-cell.in-view .count {
  opacity: 1;
  transform: translateY(0);
}
.stat .label {
  margin-top: 8px;
  font-size: 13px;
  color: var(--text-2);
  letter-spacing: 0.04em;
}

/* ---------- generic section spacing ---------- */
.section { padding: 120px 0; }
.section-alt { background: var(--bg-1); }

/* ---------- About ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 64px;
  align-items: center;
}
.about-copy { max-width: 560px; }
.about-copy h2 { margin-bottom: 16px; }
.about-copy p + p { margin-top: 18px; }
.about-copy p { font-size: 16px; }
.about-media {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  aspect-ratio: 4 / 5;
}
.about-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.values {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  margin-top: 28px;
}
.value {
  padding: 8px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 13px;
  color: var(--text-1);
  letter-spacing: 0.02em;
}

/* ---------- Services ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.service-card {
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 44px 44px 40px;
  transition: background 0.25s ease;
}
.service-card:hover { background: var(--bg-2); }
.service-card .idx {
  font-size: 13px;
  font-weight: 700;
  color: var(--steel);
  letter-spacing: 0.08em;
}
.service-card h3 { margin-top: 18px; font-size: 22px; }
.service-card p { margin-top: 12px; font-size: 16px; }
.service-card ul {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  font-size: 15px;
  color: var(--text-2);
}
.service-card li {
  padding-left: 18px;
  position: relative;
  margin-top: 10px;
}
.service-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 5px;
  height: 5px;
  background: var(--orange);
}
.service-card .goal {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 16px;
  color: var(--text-1);
}
.service-card .goal strong { color: var(--orange); font-weight: 700; }
.service-card--media {
  padding: 32px;
  min-height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.service-card--media img {
  width: 58%;
  max-width: 180px;
  height: auto;
  display: block;
}
.service-card--banner {
  grid-column: 1 / -1;
  padding: 0;
}
.service-card--banner img {
  width: 100%;
  height: auto;
  display: block;
}

/* ---------- Team ---------- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
}
.team-card {
  border: 1px solid var(--line);
  padding: 28px 22px;
  border-radius: var(--radius);
  background: var(--bg-1);
  transition: background 0.25s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.team-card:hover { background: var(--bg-2); }
.team-card .avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--steel-soft);
  border: 1px solid var(--steel);
  color: var(--steel);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 15px;
}
.team-card .avatar--photo {
  width: 148px;
  height: 148px;
  padding: 0;
  overflow: hidden;
  flex-shrink: 0;
}
.team-card .avatar--photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.team-card h4 { margin-top: 18px; font-size: 15px; }
.team-card p { margin-top: 6px; font-size: 13px; color: var(--text-2); }

.reference-media {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  margin-bottom: 24px;
}
.reference-media img {
  width: 100%;
  height: auto;
  display: block;
}

/* ---------- Partners ---------- */
.partners-cell {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-0);
  padding: 48px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 20px;
}
.partner-logo {
  background: #fff;
  border-radius: 4px;
  padding: 16px 28px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.partner-logo img { height: 32px; width: auto; max-width: 160px; object-fit: contain; }
.partner-logo--filled {
  background: none;
  padding: 0;
  overflow: hidden;
}
.partner-logo--filled img { height: 100%; width: auto; max-width: none; object-fit: cover; }
.partner-logo--placeholder {
  background: transparent;
  border: 1px dashed var(--line);
}
.partner-logo--placeholder span {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--text-2);
}

/* ---------- CTA ---------- */
.cta {
  background: linear-gradient(135deg, var(--steel) 0%, #33495a 100%);
  border-radius: var(--radius);
  padding: 64px 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}
.cta--services { grid-column: 1 / -1; margin: 40px 0; position: relative; }
.cta--services::before,
.cta--services::after {
  content: "";
  position: absolute;
  left: -1px;
  width: 3px;
  height: 40px;
  background: var(--bg-1);
}
.cta--services::before { bottom: 100%; }
.cta--services::after { top: 100%; }
.cta h2 { color: #fff; font-size: clamp(24px, 2.6vw, 32px); font-weight: 300; }
.cta h2 span { font-weight: 400; }
.cta p { color: rgba(255,255,255,0.75); margin-top: 10px; }
.cta .btn-primary { flex-shrink: 0; }

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: start;
}
.contact-list { margin-top: 30px; }
.contact-list .row {
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  font-size: 15px;
}
.contact-list .row span:first-child { color: var(--text-2); }
.contact-list .row span:last-child { color: var(--text-0); text-align: right; }
.contact-list .row a:hover { color: var(--orange); }

form.contact-form { display: flex; flex-direction: column; }
.contact-fields { display: flex; flex-direction: column; gap: 16px; }
.contact-form input,
.contact-form textarea {
  width: 100%;
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px 16px;
  color: var(--text-0);
  font-family: inherit;
  font-size: 14px;
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--steel);
}
.contact-form input { flex: none; }
.contact-form textarea { flex: 1 1 auto; min-height: 90px; resize: none; }
.contact-form button { align-self: flex-start; margin-top: 16px; }
.contact-form button[disabled] { opacity: 0.55; cursor: default; }
.contact-form input.field-invalid,
.contact-form textarea.field-invalid { border-color: var(--error); }
.field-error {
  margin: 6px 0 0;
  font-size: 13px;
  color: var(--error);
}
.form-status {
  margin: 16px 0 0;
  font-size: 14px;
  line-height: 1.5;
  color: var(--text-1);
}
.form-status.is-error { color: var(--error); }
.form-status.is-success { color: var(--success); }
/* Off-canvas rather than display:none — bots skip fields that are not rendered. */
.form-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* ---------- Footer ---------- */
footer {
  border-top: 1px solid var(--line);
  background: var(--bg-1);
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 32px;
  font-size: 13px;
  color: var(--text-2);
}
.footer-left {
  display: flex;
  align-items: center;
  gap: 24px;
}
footer .logo img { height: 34px; opacity: 0.8; }
.footer-social { display: flex; justify-content: flex-end; gap: 12px; }
.footer-social a {
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-1);
  transition: all 0.2s ease;
}
.footer-social a:hover {
  border-color: var(--steel);
  background: var(--steel-soft);
  color: var(--text-0);
}

/* ---------- Responsive ---------- */
@media (max-width: 1120px) {
  .team-card .avatar--photo { width: 110px; height: 110px; }
  .team-card { padding: 24px 18px; }
}
@media (max-width: 960px) {
  nav { display: none; }
  .nav-toggle { display: flex; }
  header .wrap { height: 120px; }
  .logo img { height: 64px; }
  .stats-cell { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-copy { max-width: none; }
  .about-media { aspect-ratio: 16 / 9; order: -1; }
  .services-grid { grid-template-columns: 1fr; }
  .service-card--media { min-height: 180px; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .cta { flex-direction: column; align-items: flex-start; padding: 44px 32px; }
  .footer-inner { flex-direction: column; align-items: flex-start; gap: 18px; }
  .footer-social { justify-content: flex-start; }
}
@media (max-width: 560px) {
  .wrap { padding: 0 20px; }
  .section { padding: 80px 0; }
  .hero { padding: 150px 0 90px; }
  header .wrap { height: 96px; }
  .logo img { height: 52px; }
  .stats-cell { grid-template-columns: 1fr 1fr; }
  .team-grid { grid-template-columns: 1fr 1fr; }
  .team-card { padding: 24px 16px; }
  .team-card .avatar--photo { width: 96px; height: 96px; }
  .partners-cell { padding: 32px 20px; gap: 14px; }
}
