:root {
  --ink: #071018;
  --navy: #0c1b2e;
  --navy-2: #12263f;
  --panel: #101c2c;
  --blue: #1c7dff;
  --blue-2: #0a5fe0;
  --cyan: #49c2ff;
  --silver: #d7dee7;
  --steel: #93a0b2;
  --line: rgba(215, 222, 231, 0.14);
  --paper: #f3f6fa;
  --white: #ffffff;
  --amber: #f0b429;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
  --radius: 18px;
  --max: 1440px;
  --header: 148px;
  --font: "Manrope", "Segoe UI", sans-serif;
  --display: "Barlow Condensed", "Arial Narrow", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
.skip {
  position: absolute;
  left: 12px;
  top: -40px;
  background: var(--blue);
  color: white;
  padding: 8px 12px;
  z-index: 100;
}
.skip:focus { top: 12px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  min-height: var(--header);
  height: auto;
  display: flex;
  align-items: center;
  background: #000;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  overflow: visible;
}
.header-inner, .wrap {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 18px;
}
.brand {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: white;
  flex: 0 0 auto;
  line-height: 0;
}
.brand img {
  height: 132px;
  width: auto;
  max-width: 720px;
  object-fit: contain;
  object-position: left center;
  display: block;
  background: #000;
}
.nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}
.nav a {
  color: var(--silver);
  text-decoration: none;
  font-size: 14px;
  font-weight: 650;
  padding: 8px 10px;
  border-radius: 999px;
}
.nav a:hover, .nav a[aria-current="page"] { color: white; background: rgba(255,255,255,0.06); }
.login-btn, .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 750;
  border: 1px solid transparent;
  cursor: pointer;
}
.login-btn {
  color: white;
  background: linear-gradient(180deg, #3c93ff, var(--blue-2));
  margin-left: 10px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
}
.login-btn:hover { filter: brightness(1.08); }
.btn-primary { background: linear-gradient(180deg, #3c93ff, var(--blue-2)); color: white; }
.btn-ghost { background: transparent; color: white; border-color: rgba(255,255,255,0.28); }
.btn-dark { background: var(--ink); color: white; }
.btn-amber { background: var(--amber); color: #1b1403; }
.menu-toggle {
  display: none;
  margin-left: auto;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: transparent;
  color: white;
}

.hero {
  position: relative;
  min-height: 640px;
  color: white;
  background: var(--ink) center/cover no-repeat;
  display: flex;
  align-items: flex-end;
  isolation: isolate;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7,16,24,0.88) 0%, rgba(7,16,24,0.55) 48%, rgba(7,16,24,0.25) 100%),
    linear-gradient(180deg, rgba(7,16,24,0.15), rgba(7,16,24,0.72));
  z-index: -1;
}
.hero-inner { padding: 92px 0 72px; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--cyan);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 800;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 3px;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--blue), var(--cyan));
}
h1, h2, h3 { font-family: var(--display); letter-spacing: 0.01em; line-height: 0.95; margin: 0; }
.hero h1 { font-size: clamp(46px, 7vw, 86px); max-width: 760px; margin: 14px 0 16px; text-transform: uppercase; }
.lede { max-width: 620px; color: var(--silver); font-size: 18px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.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-top: -28px;
  position: relative;
  z-index: 2;
}
.stat { background: white; padding: 18px 16px; }
.stat b { display: block; font-family: var(--display); font-size: 28px; letter-spacing: 0.03em; }
.stat span { color: #526173; font-size: 13px; }

.section { padding: 76px 0; }
.section h2 { font-size: clamp(34px, 5vw, 54px); text-transform: uppercase; }
.section-head { display: flex; justify-content: space-between; gap: 24px; align-items: end; margin-bottom: 28px; }
.muted { color: #526173; }
.dark { background: var(--ink); color: white; }
.dark .muted { color: var(--steel); }
.grid-3, .grid-2, .services { display: grid; gap: 16px; }
.grid-3, .services { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: 1.1fr 0.9fr; }
.card, .service-card {
  background: white;
  border-radius: var(--radius);
  border: 1px solid rgba(12, 27, 46, 0.08);
  overflow: hidden;
}
.dark .card { background: var(--navy); border-color: var(--line); }
.service-card { text-decoration: none; color: inherit; display: flex; flex-direction: column; min-height: 100%; transition: transform .2s ease, box-shadow .2s ease; }
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.service-card img, .media img { width: 100%; height: 190px; object-fit: cover; }
.service-card div, .pad { padding: 18px; }
.kicker { color: var(--blue-2); font-size: 12px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; }
.service-card h3, .card h3 { font-size: 28px; text-transform: uppercase; margin: 6px 0 8px; }
.service-card p, .card p { margin: 0; color: #526173; }
.dark .card p { color: var(--steel); }
.page-hero {
  background: var(--navy) center/cover no-repeat;
  color: white;
  padding: 64px 0 48px;
  position: relative;
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(7,16,24,0.88), rgba(7,16,24,0.55));
}
.page-hero .wrap { position: relative; }
.page-hero h1 { font-size: clamp(42px, 6vw, 72px); text-transform: uppercase; max-width: 800px; margin: 10px 0; }
.crumbs { color: var(--steel); font-size: 13px; }
.crumbs a { color: var(--cyan); }
.prose { max-width: 760px; }
.prose p { font-size: 17px; }
.list { display: grid; gap: 10px; padding: 0; margin: 18px 0 0; list-style: none; }
.list li { display: flex; gap: 10px; align-items: flex-start; }
.list li::before { content: ""; width: 10px; height: 10px; margin-top: 7px; border-radius: 99px; background: var(--blue); flex: none; }
.ticker {
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--navy);
  color: var(--silver);
}
.ticker-track { display: flex; gap: 28px; width: max-content; animation: slide 32s linear infinite; padding: 12px 0; font-weight: 750; letter-spacing: 0.08em; text-transform: uppercase; font-size: 13px; }
@keyframes slide { to { transform: translateX(-50%); } }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: center; }
.frame { border-radius: 24px; overflow: hidden; box-shadow: var(--shadow); }
.frame img { width: 100%; height: 100%; object-fit: cover; min-height: 320px; }
.form {
  display: grid;
  gap: 12px;
  background: white;
  padding: 22px;
  border-radius: 24px;
}
label { display: grid; gap: 6px; font-size: 13px; font-weight: 750; }
input, select, textarea {
  width: 100%;
  border: 1px solid #d5deea;
  background: #f8fafc;
  border-radius: 12px;
  padding: 12px 12px;
  min-height: 46px;
}
textarea { min-height: 120px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.note { font-size: 13px; color: #526173; }
.map { border: 0; width: 100%; height: 360px; border-radius: 24px; }
.site-footer { background: #050b12; color: var(--steel); padding: 48px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 24px; }
.site-footer a { color: var(--silver); text-decoration: none; }
.site-footer h2 { font-size: 18px; color: white; margin-bottom: 10px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.legal { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; border-top: 1px solid var(--line); margin-top: 28px; padding-top: 16px; font-size: 13px; }
.portal {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  background: linear-gradient(100deg, #0c1b2e, #123864);
  color: white;
  border-radius: 24px;
  padding: 24px;
  border: 1px solid var(--line);
}
.hp { position: absolute; left: -9999px; }
.error-line { background: #fde8ec; color: #8d2033; border-radius: 12px; padding: 10px 12px; }

@media (max-width: 980px) {
  .menu-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .nav {
    display: none;
    position: absolute;
    top: var(--header);
    left: 0;
    right: 0;
    background: #071018;
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    border-bottom: 1px solid var(--line);
  }
  .nav.open { display: flex; }
  .nav a, .login-btn { margin: 4px 0; }
  .grid-3, .services, .grid-2, .split, .footer-grid, .stats, .form-row { grid-template-columns: 1fr; }
  .stats { margin-top: 18px; }
  .section-head, .portal { flex-direction: column; align-items: flex-start; }
  .hero { min-height: 560px; }
}
@media (max-width: 640px) {
  .brand img { height: 86px; max-width: 92vw; }
  .hero h1 { font-size: 42px; }
  .header-inner, .wrap { width: min(var(--max), calc(100% - 24px)); }
}
