:root {
  --bg: #0c1b2b;
  --bg-soft: #10263b;
  --bg-soft-2: #dfe7ef;
  --bg-soft-3: #edf3f8;
  --panel: rgba(10, 25, 41, 0.9);
  --panel-solid: #0a1929;
  --line: rgba(255,255,255,0.10);
  --line-blue: rgba(47,98,151,0.24);
  --text: #f8fafc;
  --muted: #d7e1ec;
  --muted-2: #b1c0d0;
  --blue: #1b4f84;
  --blue-2: #245e9d;
  --blue-3: #8fb5dd;
  --shadow: 0 20px 50px rgba(0,0,0,0.24);
  --max: 1240px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  background:
    radial-gradient(circle at top left, rgba(66,112,159,0.14), transparent 24%),
    linear-gradient(180deg, #0c1b2b 0%, #10263b 100%);
  color: var(--text);
  line-height: 1.5;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

.container {
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
}

.market-ticker {
  position: relative;
  z-index: 50;
  background: #050d16;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.ticker-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  overflow-x: auto;
  white-space: nowrap;
}

.ticker-status {
  margin-left: 18px;
  padding-left: 18px;
  border-left: 1px solid rgba(255,255,255,0.12);
  color: #d2deea;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0 18px;
  flex: 0 0 auto;
  font-size: 0.84rem;
}

.ticker-item:not(:last-child)::after {
  content: "|";
  margin-left: 18px;
  color: rgba(255,255,255,0.16);
}

.ticker-label {
  color: var(--blue-3);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ticker-value { font-weight: 700; }
.ticker-up { color: #22c55e; }
.ticker-down { color: #ef4444; }
.ticker-neutral { color: #f8fafc; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(7,19,33,0.88);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px 0;
}

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

.logo-mark {
  width: 54px;
  height: 54px;
  border-radius: 18px;
  background: white;
  overflow: hidden;
  box-shadow: 0 10px 24px rgba(0,0,0,0.25);
  padding: 4px;
  flex: 0 0 auto;
}

.brand-text strong {
  display: block;
  font-size: 1.12rem;
  letter-spacing: 0.02em;
}

.brand-text span {
  display: block;
  margin-top: 3px;
  color: var(--muted-2);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.30em;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 26px;
  color: #d7e1ec;
  font-size: 0.95rem;
}

.nav a {
  padding-bottom: 3px;
  border-bottom: 1px solid transparent;
}

.nav a:hover,
.nav a.active {
  color: #fff;
  border-color: rgba(255,255,255,0.55);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 24px;
  border: none;
  border-radius: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: 0.2s ease;
}

.header-btn {
  min-height: 42px;
  padding: 0 18px;
  border-radius: 14px;
  background: var(--blue);
  color: #fff;
  box-shadow: 0 12px 26px rgba(14,36,64,0.28);
}

.header-btn:hover,
.btn.primary:hover {
  background: var(--blue-2);
  transform: translateY(-1px);
}

.linkedin-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.04);
  transition: 0.2s ease;
}

.linkedin-link:hover {
  background: rgba(255,255,255,0.09);
  transform: translateY(-1px);
}

.linkedin-icon {
  width: 18px;
  height: 18px;
  filter: invert(88%) sepia(10%) saturate(505%) hue-rotate(176deg) brightness(103%) contrast(92%);
}

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(rgba(7,19,33,0.82), rgba(7,19,33,0.92)),
    radial-gradient(circle at top right, rgba(44,96,150,0.26), transparent 28%),
    url("https://images.unsplash.com/photo-1473448912268-2022ce9509d8?auto=format&fit=crop&w=1600&q=80") center/cover no-repeat;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  transform: scale(1.08);
  opacity: 0.18;
  pointer-events: none;
}

.hero-grid,
.page-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 48px;
  align-items: end;
  padding: 88px 0 110px;
  min-height: 620px;
}

.hero-grid {
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
}

.page-hero-grid {
  grid-template-columns: 1fr;
  max-width: 900px;
}

.page-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(7,19,33,0.88), rgba(7,19,33,0.97)),
    radial-gradient(circle at top right, rgba(44,96,150,0.22), transparent 30%);
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(111,154,197,0.10), transparent 45%);
  pointer-events: none;
}

.page-hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  transform: scale(1.1);
  opacity: 0.14;
  pointer-events: none;
}

.page-hero.services-page {
  background:
    linear-gradient(180deg, rgba(10,24,38,0.9), rgba(12,30,46,0.96)),
    radial-gradient(circle at top right, rgba(120,167,209,0.22), transparent 34%);
}

.page-hero.careers-page {
  background:
    linear-gradient(180deg, rgba(15,34,48,0.92), rgba(11,26,39,0.97)),
    radial-gradient(circle at top right, rgba(201,220,236,0.14), transparent 36%),
    url("https://images.unsplash.com/photo-1517048676732-d65bc937f952?auto=format&fit=crop&w=1600&q=80") center/cover no-repeat;
}

.page-hero.about-page {
  background:
    linear-gradient(180deg, rgba(13,30,45,0.9), rgba(11,24,38,0.97)),
    radial-gradient(circle at top right, rgba(99,143,184,0.20), transparent 32%);
}

.page-hero.contact-page {
  background:
    linear-gradient(180deg, rgba(15,36,54,0.9), rgba(13,30,46,0.97)),
    radial-gradient(circle at top right, rgba(169,198,224,0.18), transparent 34%);
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  border-radius: 999px;
  border: 1px solid rgba(47,98,151,0.50);
  background: rgba(16,51,83,0.45);
  color: #b4d2ef;
  padding: 10px 16px;
  font-size: 0.95rem;
  box-shadow: 0 18px 40px rgba(7,19,33,0.4);
}

h1 {
  margin: 24px 0 0;
  font-size: clamp(2.9rem, 5vw, 4.6rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
  max-width: 780px;
}

.hero-copy,
.page-hero-copy {
  max-width: 740px;
  margin-top: 24px;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.85;
  text-shadow: 0 2px 12px rgba(0,0,0,0.28);
}

.page-hero-grid > div:first-child {
  max-width: 820px;
  padding: 12px 0;
  border: none;
  border-radius: 0;
  background: transparent;
  backdrop-filter: none;
}

.hero-highlights,
.summary-grid,
.contact-methods {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 28px;
}

.mini-card,
.service-card,
.cap-card,
.photo-card,
.contact-info,
.highlight-item,
.input,
.select,
.textarea,
.industry-banner,
.summary-card,
.stats-card {
  border: 1px solid var(--line);
  border-radius: 20px;
}

.mini-card,
.summary-card,
.stats-card {
  padding: 18px 18px;
  background: rgba(255,255,255,0.07);
  color: #e2e8f0;
  font-size: 0.95rem;
}

.summary-card strong,
.stats-card strong {
  display: block;
  margin-bottom: 8px;
  color: #fff;
  font-size: 1rem;
}

.summary-card span,
.stats-card span {
  color: var(--muted);
  line-height: 1.7;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 28px;
}

.btn.primary {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 18px 38px rgba(14,36,64,0.4);
}

.btn.secondary {
  border: 1px solid rgba(47,98,151,0.60);
  background: rgba(255,255,255,0.05);
  color: #fff;
}

.btn.secondary:hover { background: rgba(255,255,255,0.10); }

.hero-side,
.page-hero-side {
  display: grid;
  gap: 20px;
  align-items: stretch;
}

.photo-card {
  overflow: hidden;
  background: rgba(255,255,255,0.07);
  box-shadow: var(--shadow);
  min-height: 100%;
}

.photo-card img {
  width: 100%;
  height: clamp(280px, 32vw, 420px);
  object-fit: cover;
  object-position: center;
}

.photo-caption {
  padding: 18px 20px 20px;
  background: rgba(10,25,41,0.94);
}

.photo-caption strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1.05rem;
}

.photo-caption span {
  color: #dbe6f1;
  font-size: 0.94rem;
  line-height: 1.7;
}

.side-shell {
  border: 1px solid rgba(47,98,151,0.25);
  background: rgba(255,255,255,0.06);
  border-radius: 28px;
  padding: 24px;
  box-shadow: 0 24px 60px rgba(0,0,0,0.35);
}

.side-panel {
  border: 1px solid rgba(47,98,151,0.20);
  background: var(--panel);
  border-radius: 24px;
  padding: 28px;
}

.eyebrow {
  color: var(--blue-3);
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.75rem;
  font-weight: 600;
}

.side-title {
  margin-top: 8px;
  font-size: 1.35rem;
  font-weight: 700;
}

.highlight-list,
.bullet-grid {
  display: grid;
  gap: 14px;
  margin-top: 24px;
}

.highlight-item,
.bullet-grid div {
  background: rgba(255,255,255,0.07);
  padding: 16px 18px;
  color: #e2e8f0;
  font-size: 0.95rem;
  line-height: 1.7;
}

.section {
  padding: 84px 0;
}

.section-soft {
  background: linear-gradient(180deg, rgba(16,38,59,0.8), rgba(12,27,42,0.95));
  border-top: 1px solid rgba(255,255,255,0.08);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.section-light {
  background: linear-gradient(180deg, rgba(226,235,243,0.98), rgba(238,244,249,0.98));
  color: #11263a;
  border-top: 1px solid rgba(14,32,51,0.08);
  border-bottom: 1px solid rgba(14,32,51,0.08);
}

.section-light .section-heading p,
.section-light .summary-card span,
.section-light .stats-card span {
  color: #31485c;
}

.section-light .eyebrow {
  color: #335d86;
}

.section-light .summary-card,
.section-light .stats-card {
  background: rgba(255,255,255,0.72);
  border-color: rgba(17,38,58,0.10);
  color: #11263a;
}

.section-light .summary-card strong,
.section-light .stats-card strong {
  color: #11263a;
}

.section-heading {
  max-width: 840px;
}

.section-heading h2 {
  margin: 14px 0 0;
  font-size: clamp(2rem, 3vw, 2.9rem);
  line-height: 1.06;
  letter-spacing: -0.03em;
}

.section-heading p {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.8;
}

.industry-banner {
  margin-top: 24px;
  padding: 20px 22px;
  background: linear-gradient(135deg, rgba(46,86,122,0.92), rgba(14,34,52,0.96));
  color: #dce8f5;
  box-shadow: var(--shadow);
}

.industry-banner strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1rem;
}

.grid-block {
  margin-top: 48px;
}

.grid-title {
  margin-bottom: 20px;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  align-items: stretch;
}

.service-card {
  background: rgba(13,31,48,0.92);
  border-color: var(--line-blue);
  padding: 28px;
  box-shadow: 0 18px 40px rgba(0,0,0,0.2);
}

.service-card h3 {
  margin: 0;
  font-size: 1.28rem;
  color: #f8fafc;
}

.service-card p {
  margin: 14px 0 0;
  color: #dbe6f1;
  font-size: 0.95rem;
  line-height: 1.8;
}

.split-feature,
.about-grid,
.contact-grid {
  display: grid;
  gap: 32px;
}

.split-feature {
  grid-template-columns: 0.95fr 1.05fr;
  align-items: center;
  margin-top: 64px;
}

.feature-photo {
  overflow: hidden;
  border-radius: 28px;
  border: 1px solid var(--line-blue);
  box-shadow: var(--shadow);
  min-height: 100%;
}

.feature-photo img {
  width: 100%;
  height: 100%;
  min-height: 440px;
  object-fit: cover;
  object-position: center;
}

.feature-panel {
  border: 1px solid var(--line-blue);
  background: rgba(15,33,50,0.92);
  border-radius: 28px;
  padding: 34px;
  box-shadow: var(--shadow);
  color: #f8fafc;
}

.feature-list {
  display: grid;
  gap: 14px;
  margin-top: 24px;
}

.feature-list div {
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  padding: 14px 16px;
  background: rgba(255,255,255,0.04);
  color: #f1f5f9;
}

.about-grid { grid-template-columns: 0.9fr 1.1fr; align-items: start; }
.contact-grid { grid-template-columns: 0.9fr 1.1fr; }

.cap-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.cap-card {
  background: rgba(15,33,50,0.88);
  border-color: var(--line-blue);
  padding: 20px;
  color: #f1f5f9;
  font-size: 0.95rem;
  box-shadow: 0 18px 40px rgba(0,0,0,0.20);
}

.about-photo-stack {
  display: grid;
  gap: 20px;
  margin-top: 28px;
}

.about-photo-stack .photo-card img {
  height: 280px;
}

.careers-shell {
  display: grid;
  grid-template-columns: 1fr 0.95fr;
  gap: 32px;
  margin-top: 48px;
  align-items: start;
}

.jobs-grid {
  display: grid;
  gap: 20px;
}

.job-card {
  border: 1px solid var(--line-blue);
  border-radius: 28px;
  padding: 28px;
  background: rgba(14,31,48,0.92);
  box-shadow: var(--shadow);
}

.job-card h3 {
  margin: 0;
  font-size: 1.35rem;
  color: #f8fafc;
}

.job-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.job-meta span {
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: 999px;
  padding: 8px 12px;
  background: rgba(255,255,255,0.08);
  color: #eef5fb;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.job-card p {
  margin: 18px 0 0;
  color: #dbe6f1;
  line-height: 1.8;
}

.career-copy {
  margin: 18px 0 0;
  color: #dbe6f1;
  font-size: 1.02rem;
  line-height: 1.8;
}

.form-card .eyebrow,
.job-card .eyebrow {
  color: #8fb5dd;
}

.upload-note {
  margin: 0;
  color: #c6d3df;
  font-size: 0.88rem;
  line-height: 1.6;
}

.contact-side {
  border: 1px solid var(--line-blue);
  border-radius: 32px;
  padding: 32px;
  background: linear-gradient(135deg, #0d2338, #091624);
  box-shadow: var(--shadow);
}

.contact-side h2,
.form-card h2 {
  margin: 14px 0 0;
  font-size: clamp(2rem, 3vw, 2.8rem);
  line-height: 1.06;
  letter-spacing: -0.03em;
  color: #f8fafc;
}

.form-card,
.job-card,
.service-card,
.cap-card,
.photo-caption,
.side-panel,
.feature-panel,
.contact-side,
.contact-info,
.highlight-item {
  color: #f1f5f9;
}

.form-card p,
.job-card p,
.service-card p,
.contact-info p,
.photo-caption span,
.highlight-item,
.feature-list div {
  color: #dbe6f1;
}

.form-card strong,
.job-card strong,
.service-card strong,
.photo-caption strong,
.contact-side strong,
.contact-info strong,
.feature-panel strong,
.side-panel strong {
  color: #f8fafc;
}

.contact-side p.lead {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.8;
}

.contact-info {
  margin-top: 28px;
  background: rgba(255,255,255,0.03);
  padding: 24px;
  color: #e2e8f0;
  font-size: 0.95rem;
  line-height: 1.8;
}

.contact-info p { margin: 0 0 12px; }
.contact-info p:last-child { margin-bottom: 0; }
.contact-info strong { color: #fff; }

.form-card {
  border: 1px solid var(--line-blue);
  border-radius: 32px;
  padding: 32px;
  background: rgba(14,31,48,0.94);
  box-shadow: var(--shadow);
}

.form-grid {
  display: grid;
  gap: 20px;
  margin-top: 28px;
}

.field-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

label {
  display: grid;
  gap: 10px;
  color: #e0e8f1;
  font-size: 0.92rem;
}

.form-card label,
.form-card select,
.form-card option {
  color: #e7eef6;
}

.input,
.select,
.textarea {
  width: 100%;
  background: #071321;
  color: #fff;
  border-color: rgba(255,255,255,0.10);
  padding: 15px 16px;
  font: inherit;
  outline: none;
  border-radius: 14px;
}

.textarea {
  min-height: 150px;
  resize: vertical;
}

.input::placeholder,
.textarea::placeholder { color: #8ba0b5; }
.input:focus,
.select:focus,
.textarea:focus { border-color: #4b82b8; }

.form-footer {
  display: flex;
  justify-content: flex-start;
  padding-top: 8px;
}

.cta-band {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: linear-gradient(135deg, rgba(13,35,56,0.94), rgba(7,19,33,0.98));
}

.cta-band .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 34px 0;
}

.cta-copy strong {
  display: block;
  font-size: 1.2rem;
}

.cta-copy span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  line-height: 1.7;
}

footer {
  border-top: 1px solid var(--line);
  background: #06101a;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 28px 0;
  color: #c1cedb;
  font-size: 0.92rem;
}

.footer-brand strong {
  display: block;
  color: #e2e8f0;
  font-weight: 600;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
}

.footer-links a:hover,
.footer-links a.active { color: #fff; }

@media (max-width: 1100px) {
  .hero-grid,
  .page-hero-grid,
  .split-feature,
  .about-grid,
  .contact-grid,
  .careers-shell,
  .card-grid,
  .cap-grid,
  .field-row,
  .hero-highlights,
  .summary-grid,
  .contact-methods {
    grid-template-columns: 1fr;
  }

  .hero-side,
  .page-hero-side {
    order: 2;
  }
}

@media (max-width: 820px) {
  .container { width: min(var(--max), calc(100% - 32px)); }
  .nav { display: none; }
  .header-btn { min-height: 40px; padding: 0 16px; }
  .ticker-inner { justify-content: flex-start; }
  .ticker-item { font-size: 0.80rem; padding: 0 14px; }
  .ticker-item:not(:last-child)::after { margin-left: 14px; }
  .ticker-status { margin-left: 14px; padding-left: 14px; }
  .hero-grid,
  .page-hero-grid {
    padding: 72px 0 92px;
    min-height: auto;
  }
  .section { padding: 72px 0; }
  .hero-media { display: none; }
  .page-hero-media { display: none; }
  .side-shell,
  .side-panel,
  .service-card,
  .feature-panel,
  .contact-side,
  .form-card,
  .job-card { padding: 24px; }
  .photo-card img { height: 240px; }
  .footer-inner,
  .cta-band .container {
    flex-direction: column;
    align-items: flex-start;
  }
}
