/* ============================================================
   LEAD Technology Solutions -landing page styles
   Ported from the design reference (V2). All tokens, sections,
   responsive + density overrides preserved.
   ============================================================ */

:root {
  --font: 'Hanken Grotesk', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --paper: #04101e;
  --paper-card: rgba(14, 32, 56, 0.55);
  --paper-soft: rgba(10, 24, 42, 0.35);
  --rule: rgba(255, 255, 255, 0.10);
  --rule-soft: rgba(255, 255, 255, 0.06);

  --ink: #f0f5fa;
  --ink-soft: rgba(240, 245, 250, 0.85);
  --ink-mid: rgba(240, 245, 250, 0.70);
  --ink-faint: rgba(240, 245, 250, 0.45);
  --steel: rgba(160, 175, 195, 0.65);

  --surface-deep: #081a32;

  --blue: #2ba8e0;
  --blue-deep: #1f8fc7;
  --blue-bright: #4cbfee;
  --blue-wash: rgba(43, 168, 224, 0.12);
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--paper);
  color: var(--ink);
  font-size: 18px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  position: relative;
}
body::before {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 0;
  background:
    radial-gradient(ellipse 50% 40% at 20% 10%, rgba(43,168,224,0.12), transparent 60%),
    radial-gradient(ellipse 60% 50% at 90% 80%, rgba(43,168,224,0.08), transparent 60%),
    linear-gradient(180deg, #061625 0%, #04101e 50%, #030b18 100%);
}
.page-stars {
  position: fixed; inset: 0; width: 100%; height: 100%;
  pointer-events: none; z-index: 0; display: block;
}
body > * { position: relative; z-index: 1; }
::selection { background: var(--blue); color: #fff; }
a { color: inherit; text-decoration: none; -webkit-tap-highlight-color: transparent; }
button { -webkit-tap-highlight-color: transparent; -webkit-appearance: none; appearance: none; }
a:focus, button:focus { outline: none; }
a:focus-visible, button:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
  border-radius: 4px;
}
img { display: block; }

h1, h2, h3, h4, h5 {
  font-family: var(--font); font-weight: 700;
  letter-spacing: -0.02em; line-height: 1.1; color: var(--ink);
}

.container { max-width: 1180px; margin: 0 auto; padding: 0 32px; }

/* ============ NAV ============ */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(6, 16, 28, 0.72);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s, background .25s;
}
.nav.scrolled { border-bottom-color: var(--rule); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; padding-top: 18px; padding-bottom: 18px; }
.brand { display: flex; align-items: center; gap: 14px; transition: opacity .2s ease; }
.brand:hover { opacity: 0.82; }
.brand img { height: 34px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 36px; list-style: none; }
.nav-links a { font-size: 14.5px; font-weight: 600; color: var(--ink-mid); position: relative; }
.nav-links a:hover { color: var(--ink); }
.nav-cta {
  font-size: 15px; font-weight: 700; color: #fff; background: var(--blue);
  padding: 11px 22px; border-radius: 99px;
  display: inline-flex; align-items: center; gap: 8px;
  transition: background .18s, transform .18s, box-shadow .18s;
  box-shadow: 0 0 0 1px rgba(43,168,224,0.4), 0 6px 18px -4px rgba(43,168,224,0.45);
}
.nav-cta:hover { background: var(--blue-bright); transform: translateY(-1px); }

/* Hamburger toggle — hidden on desktop, shown ≤980px */
.nav-toggle {
  display: none;
  background: transparent;
  border: 0;
  cursor: pointer;
  padding: 8px;
  width: 44px; height: 44px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  color: var(--ink);
}
.nav-toggle span {
  display: block;
  width: 22px; height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform .25s ease, opacity .2s ease, background .2s ease;
}
.nav-toggle:hover { color: var(--blue-bright); }
.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); }

/* ============ HERO ============ */
.hero { padding: 64px 0 380px; position: relative; overflow: hidden; min-height: 560px; }
.hero .container { position: relative; z-index: 3; }
.hero-headline-wrap { max-width: 680px; }
.hero h1 {
  font-size: clamp(24px, 5vw, 60px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: var(--ink);
  max-width: 980px;
  margin-bottom: 32px;
}
.hero h1 .accent { color: var(--blue); }
.hero-lead {
  font-size: clamp(14.5px, 2vw, 18px); line-height: 1.55; color: var(--ink-soft);
  max-width: 560px; margin-bottom: 36px;
}
.hero-lead strong { color: var(--ink); font-weight: 600; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 0; }
.hero-credit {
  display: inline-flex; align-items: center; gap: 10px;
  margin-top: 24px; margin-bottom: 96px;
  font-size: 14px; color: var(--ink-mid); max-width: 560px;
}
.hero-credit svg { width: 20px; height: 20px; flex-shrink: 0; color: var(--blue-bright); }
.hero-photo {
  position: absolute; top: 0; right: 0; bottom: 280px;
  width: 62%;
  pointer-events: none; z-index: 1; overflow: hidden;
}
.hero-photo img {
  width: 100%; height: 100%; object-fit: cover; object-position: center; display: block;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 30%, #000 100%);
          mask-image: linear-gradient(to right, transparent 0%, #000 30%, #000 100%);
}
.hero-photo::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 120px;
  background: linear-gradient(to bottom, transparent, var(--paper));
  pointer-events: none;
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 14px; font-weight: 600;
  padding: 13px 22px; border-radius: 99px; height: 50px;
  transition: background .18s, color .18s, border-color .18s, transform .18s;
  cursor: pointer; border: none; font-family: inherit;
}
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 0 0 1px rgba(43,168,224,0.4), 0 8px 24px -6px rgba(43,168,224,0.5); }
.btn-primary:hover { background: var(--blue-bright); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--ink); border: 1.5px solid rgba(255,255,255,0.30); }
.btn-ghost:hover { background: rgba(43,168,224,0.10); border-color: var(--blue); color: var(--blue-bright); }

/* ============ SECTION ============ */
.section { padding: 88px 0; position: relative; }
.section-tan,
.section-white {
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.section-tan::before,
.section-white::before {
  content: ""; position: absolute; top: 0; left: 50%;
  transform: translateX(-50%); width: 56px; height: 2px;
  background: var(--blue); border-radius: 2px;
}
.section-tan { background: #071a30; }
.section-white { background: #04121f; }

.sect-head { margin-bottom: 48px; max-width: 780px; }
.sect-eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 14px; font-weight: 600; letter-spacing: 0.02em; color: var(--blue-deep);
  margin-bottom: 22px;
}
.sect-eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--blue); border-radius: 2px; }
.sect-head h2 {
  font-size: clamp(22px, 3vw, 38px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 22px;
  color: var(--ink);
}
.sect-head h2 .accent { color: var(--blue-bright); }
.sect-head p { font-size: clamp(14px, 1.3vw, 16px); line-height: 1.55; color: var(--ink-soft); max-width: 640px; }
.sect-head p strong { color: var(--ink); font-weight: 700; }

/* ============ INDUSTRIES -overlapping card ============ */
.industries-wrap {
  max-width: 1200px;
  margin: -380px auto -50px;
  position: relative;
  z-index: 10;
  padding: 0 24px;
}
.industries-card {
  background: var(--paper-card);
  border: 1px solid var(--rule);
  border-radius: 18px;
  box-shadow: 0 28px 60px -22px rgba(0,0,0,0.55);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  overflow: hidden;
  color: var(--ink);
}
.ind-tabs {
  display: flex; border-bottom: 1px solid var(--rule);
  padding: 0 12px; gap: 0;
  justify-content: space-evenly;
}
.ind-tab {
  position: relative;
  flex: 0 0 auto;
  padding: 18px 10px 16px;
  background: transparent; border: 0; border-radius: 0;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-size: 14px; font-weight: 600; color: var(--ink-mid);
  cursor: pointer; font-family: inherit;
  white-space: nowrap;
  user-select: none; -webkit-user-select: none;
  transition: color .15s ease;
}
.ind-tab .ind-tab-icon {
  display: block; width: 16px; height: 16px; flex-shrink: 0;
  stroke: currentColor; stroke-width: 1.6; fill: none;
  stroke-linecap: round; stroke-linejoin: round;
}
.ind-tab::after {
  content: "";
  position: absolute;
  left: 6px; right: 6px;
  bottom: -1px;
  height: 2px;
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform .2s ease;
}
.ind-tab:hover { color: var(--ink); }
.ind-tab.active { color: var(--blue-bright); }
.ind-tab.active::after { transform: scaleX(1); }
.ind-tab.active:hover { color: var(--blue-bright); }
.ind-tab:focus-visible { outline-offset: -4px; }
.ind-content { padding: 26px 30px 30px; }
.ind-panel { display: none; }
.ind-panel.active { display: block; }
.ind-grid {
  display: grid; grid-template-columns: 1.1fr 1fr 1fr;
  gap: 22px; align-items: start;
}
.ind-headline h3 {
  font-size: 20px; font-weight: 800; letter-spacing: -0.015em;
  line-height: 1.18; color: var(--ink); margin-bottom: 10px;
}
.ind-headline p { font-size: 13.5px; line-height: 1.55; color: var(--ink-mid); margin-bottom: 12px; }
.ind-cta {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 700; color: var(--blue-bright); text-decoration: none;
}
.ind-cta:hover { color: var(--blue); }
.ind-col h4 { font-size: 13px; font-weight: 700; color: var(--ink); margin-bottom: 10px; }
.ind-col ul { list-style: none; margin: 0; padding: 0; }
.ind-col ul li {
  position: relative; padding-left: 11px;
  font-size: 12.5px; line-height: 1.5; color: var(--ink-mid); margin-bottom: 8px;
}
.ind-col ul li::before {
  content: ""; position: absolute; left: 0; top: 6px;
  width: 3px; height: 3px; border-radius: 50%; background: var(--ink-faint);
}
.ind-image {
  aspect-ratio: 1 / 1; border-radius: 12px; background: transparent;
  overflow: hidden; display: flex; align-items: center; justify-content: center;
}
.ind-image img { width: 100%; height: 100%; object-fit: contain; display: block; }

/* ============ START HERE PANEL ============ */
.ind-panel[data-ind="start"] .start-statement {
  margin-bottom: 24px; padding-bottom: 24px;
  border-bottom: 1px solid var(--rule);
}
.ind-panel[data-ind="start"] .start-statement h3 {
  font-size: 22px; font-weight: 800; letter-spacing: -0.02em; line-height: 1.15;
  color: var(--ink); margin-bottom: 12px;
}
.ind-panel[data-ind="start"] .start-statement p {
  font-size: 14.5px; line-height: 1.6; color: var(--ink-mid); margin: 0;
}
.ind-panel[data-ind="start"] .start-statement p strong { color: var(--ink); font-weight: 700; }

.ind-panel[data-ind="start"] .leadway-layout {
  display: grid; grid-template-columns: 200px 1fr; gap: 32px; align-items: start;
  padding: 12px 4px 4px;
}
.ind-panel[data-ind="start"] .leadway-header {
  padding: 8px 16px 96px 0;
  position: relative;
}
.ind-panel[data-ind="start"] .leadway-header::after {
  content: "";
  position: absolute;
  bottom: 0; left: 0;
  width: 96px; height: 72px;
  background-image: radial-gradient(rgba(43, 168, 224, 0.28) 1.2px, transparent 1.2px);
  background-size: 12px 12px;
  background-position: 0 0;
  pointer-events: none;
  opacity: 0.85;
}
.ind-panel[data-ind="start"] .leadway-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 11.5px; font-weight: 700; letter-spacing: 0.22em; color: var(--blue-deep);
  margin-bottom: 14px; text-transform: uppercase;
}
.ind-panel[data-ind="start"] .leadway-eyebrow::before {
  content: ""; width: 22px; height: 2px; background: var(--blue); border-radius: 2px;
}
.ind-panel[data-ind="start"] .leadway-header h3 {
  font-size: 24px; font-weight: 800; letter-spacing: -0.02em; line-height: 1.15;
  color: var(--ink); margin: 0;
}
.ind-panel[data-ind="start"] .leadway-horizontal {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
  align-items: start;
}
.ind-panel[data-ind="start"] .leadway-step {
  text-align: left;
  padding: 22px 22px 24px;
  background: rgba(8, 22, 42, 0.55);
  border: 1px solid var(--rule);
  border-radius: 14px;
  transition: border-color .22s ease, transform .22s ease, box-shadow .22s ease;
}
.ind-panel[data-ind="start"] .leadway-step:hover {
  border-color: rgba(43, 168, 224, 0.4);
  transform: translateY(-2px);
  box-shadow: 0 18px 36px -22px rgba(43, 168, 224, 0.28);
}
.ind-panel[data-ind="start"] .leadway-step h3 {
  font-size: 17px; font-weight: 800; letter-spacing: -0.015em;
  color: var(--ink); margin: 0 0 8px;
}
.ind-panel[data-ind="start"] .leadway-step p {
  font-size: 13.5px; line-height: 1.6; color: var(--ink-mid); margin: 0; max-width: none;
}
.ind-panel[data-ind="start"] .leadway-step .step-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 50%;
  margin-bottom: 16px;
}
.ind-panel[data-ind="start"] .leadway-step .step-icon svg {
  width: 22px; height: 22px;
}
.ind-panel[data-ind="start"] .leadway-step.step-listen .step-icon {
  background: rgba(43, 168, 224, 0.18);
  color: #6cc7ee;
}
.ind-panel[data-ind="start"] .leadway-step.step-empathize .step-icon {
  background: rgba(155, 108, 224, 0.22);
  color: #c2a3ee;
}
.ind-panel[data-ind="start"] .leadway-step.step-analyze .step-icon {
  background: rgba(232, 184, 60, 0.20);
  color: #f0c862;
}
.ind-panel[data-ind="start"] .leadway-step.step-develop .step-icon {
  background: rgba(62, 184, 122, 0.22);
  color: #76d2a0;
}

/* ============ SERVICES ============ */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.svc {
  background: var(--paper-card);
  border: 1px solid var(--rule);
  border-radius: 14px;
  padding: 26px 24px;
  transition: border-color .22s, box-shadow .22s, transform .22s;
  display: flex; flex-direction: column; gap: 10px;
}
.svc:hover { border-color: var(--blue); box-shadow: 0 18px 36px -22px rgba(17,22,30,0.18); transform: translateY(-2px); }
.svc .label { font-size: 13px; font-weight: 700; color: var(--ink-faint); letter-spacing: 0.06em; text-transform: uppercase; }
.svc h3 { font-size: 18px; font-weight: 700; letter-spacing: -0.015em; line-height: 1.25; color: var(--ink); }
.svc p { font-size: 14.5px; line-height: 1.55; color: var(--ink-mid); }
.svc-primary {
  grid-column: 1 / 3; grid-row: 1 / 3;
  background: var(--surface-deep); color: #fff;
  border-color: rgba(43,168,224,0.25);
  padding: 36px 32px;
  box-shadow: 0 0 0 1px rgba(43,168,224,0.10), 0 24px 56px -28px rgba(0,0,0,0.6);
}
.svc-primary .label { color: var(--blue-bright); }
.svc-primary h3 { font-size: 24px; color: #fff; line-height: 1.15; letter-spacing: -0.025em; }
.svc-primary p { font-size: 15px; line-height: 1.55; color: rgba(255,255,255,0.78); max-width: 480px; }
.svc-primary .core-split {
  display: grid; grid-template-columns: 1fr 1fr; gap: 20px;
  margin-top: auto; padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.12);
}
.svc-primary .core-half { display: flex; flex-direction: column; gap: 4px; }
.svc-primary .core-half .step {
  font-size: 11px; font-weight: 700; color: var(--blue-bright);
  letter-spacing: 0.10em; text-transform: uppercase;
}
.svc-primary .core-half strong {
  font-size: 16px; font-weight: 700; color: #fff; letter-spacing: -0.01em; margin-bottom: 2px;
}
.svc-primary .core-half p {
  font-size: 13.5px; line-height: 1.5; color: rgba(255,255,255,0.74); max-width: none;
}
.svc-corner {
  margin-top: auto; padding-top: 18px; font-size: 13px; font-weight: 600;
  color: var(--blue-bright); letter-spacing: 0.02em;
}

/* ============ CASES ============ */
.case-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.case {
  background: var(--paper-card);
  border: 1px solid var(--rule);
  border-radius: 14px;
  padding: 26px 28px;
  transition: border-color .22s, box-shadow .22s;
}
.case:hover { box-shadow: 0 18px 36px -22px rgba(17,22,30,0.14); }
.case summary { list-style: none; cursor: pointer; }
.case summary::-webkit-details-marker { display: none; }
.case-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 18px; margin-bottom: 14px; }
.case h3 { font-size: 19px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.22; color: var(--ink); }
.case-badge {
  flex-shrink: 0; font-size: 11.5px; font-weight: 700; color: var(--blue-bright);
  background: var(--blue-wash); border: 1px solid rgba(43,168,224,0.30); border-radius: 99px; padding: 5px 12px;
  display: inline-flex; align-items: center; gap: 8px; white-space: nowrap;
}
.case-badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--blue); }
.case .promise { font-size: 14.5px; line-height: 1.55; color: var(--ink-mid); margin-bottom: 14px; }
.case .openct {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 700; color: var(--blue-bright);
  background: rgba(43,168,224,0.10); border: 1px solid rgba(43,168,224,0.25); border-radius: 99px;
  padding: 7px 14px; cursor: pointer; font-family: inherit;
  transition: background .18s, border-color .18s;
}
.case .openct:hover { background: rgba(43,168,224,0.18); border-color: var(--blue); }
.case .openct .arrow { transition: transform .22s; }
details[open] .case .openct .arrow { transform: rotate(90deg); }
details[open] .case .openct .tc { display: none; }
details:not([open]) .case .openct .to { display: none; }
.case-expand { padding-top: 18px; margin-top: 18px; border-top: 1px solid var(--rule-soft); }
.case-expand .block { margin-bottom: 14px; }
.case-expand .block b { display: block; font-size: 12px; font-weight: 700; color: var(--ink); letter-spacing: 0.04em; text-transform: uppercase; margin-bottom: 6px; }
.case-expand .block p { font-size: 14.5px; line-height: 1.6; color: var(--ink-mid); }
.case-expand .result {
  background: rgba(43,168,224,0.08); border-left: 3px solid var(--blue); border-radius: 6px;
  padding: 16px 18px; margin-top: 18px;
}
.case-expand .result b { color: var(--blue-bright); margin-bottom: 6px; }
.case-expand .result p { color: var(--ink-soft); }

/* Cases on light surface */
#solve.section-tan {
  padding: 96px 0;
  background: linear-gradient(180deg, #f4f6f8 0%, #ebeff4 100%);
  border-top: 1px solid rgba(0,0,0,0.08);
  border-bottom: 1px solid rgba(0,0,0,0.08);
}
#solve h2 { color: #11161e; }
#solve .sect-head h2 .accent { color: var(--blue-deep); }
#solve .sect-head p { color: #525c6a; }
#solve .sect-head { margin: 0 auto 40px; }
#solve .sect-head h2 { text-align: left; }
#solve .case {
  background: #ffffff;
  border: 1px solid #e0e4ea;
}
#solve .case h3 { color: #11161e; }
#solve .case .promise { color: #525c6a; }
#solve .case .openct {
  background: #f4f6f8;
  border-color: #e0e4ea;
  color: var(--blue-deep);
}
#solve .case .openct:hover { background: var(--blue-wash); border-color: var(--blue); }
#solve .case-expand { border-top-color: #e0e4ea; }
#solve .case-expand .block b { color: #11161e; }
#solve .case-expand .block p { color: #525c6a; }
#solve .case-expand .result {
  background: #e9f3f9;
  border-left-color: var(--blue);
}
#solve .case-expand .result b { color: var(--blue-deep); }
#solve .case-expand .result p { color: #525c6a; }
#solve .case-badge {
  background: var(--blue-wash);
  border-color: rgba(43,168,224,0.30);
  color: var(--blue-deep);
}

/* Services breathing */
#bring.section-white { padding: 96px 0; }

/* ============ CONTACT -portal ============ */
.contact {
  background:
    radial-gradient(ellipse 50% 60% at 50% 45%, rgba(80,140,200,0.22), transparent 60%),
    radial-gradient(ellipse 80% 100% at 50% 50%, #0e2238 0%, #061222 70%, #04101e 100%);
  color: #fff; position: relative; overflow: hidden;
}
.contact-inner {
  padding-top: 96px; padding-bottom: 96px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 64px;
  align-items: start; position: relative; z-index: 1;
}
.portal-brand { margin-bottom: 32px; display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.portal-brand img { height: 64px; width: auto; }
.portal-mark {
  display: inline-flex; align-items: center; gap: 16px;
  font-size: 12.5px; font-weight: 700; letter-spacing: 0.22em; color: rgba(255,255,255,0.68);
}
.portal-mark span.label { white-space: nowrap; }
.portal-mark .dots { display: inline-flex; gap: 6px; align-items: center; }
.portal-mark .dots i { display: block; width: 6px; height: 6px; border-radius: 50%; background: rgba(255,255,255,0.32); }
.portal-mark .dots i:nth-child(2) { background: var(--blue-bright); box-shadow: 0 0 10px rgba(43,168,224,0.85); }
.contact-left h2 {
  font-size: clamp(22px, 3vw, 38px); font-weight: 800; line-height: 1.06; letter-spacing: -0.03em; color: #fff;
  margin-bottom: 18px;
}
.contact-left h2 .accent { color: var(--blue-bright); }
.contact-left .lede {
  font-size: clamp(14.5px, 1.5vw, 16.5px); line-height: 1.55; color: rgba(255,255,255,0.78); max-width: 480px; margin-bottom: 32px;
}
.contact-meta { display: flex; flex-direction: column; gap: 18px; }
.contact-meta .label { font-size: 11px; font-weight: 700; color: rgba(255,255,255,0.50); letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 6px; }
.contact-meta a { font-size: 17px; font-weight: 600; color: #fff; }
.contact-meta a:hover { color: var(--blue-bright); }

/* form -glassmorphic */
.contact .form {
  background: rgba(12,28,46,0.62);
  backdrop-filter: saturate(160%) blur(18px);
  -webkit-backdrop-filter: saturate(160%) blur(18px);
  color: #fff; padding: 32px 30px; border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.10);
  box-shadow: 0 1px 0 rgba(255,255,255,0.06) inset, 0 32px 64px -28px rgba(0,0,0,0.65);
  position: relative;
}
.contact .form::before {
  content: ""; position: absolute; top: -1px; left: 18%; right: 18%; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(43,168,224,0.7), transparent);
}
.contact .form h3 { font-size: 22px; font-weight: 700; letter-spacing: -0.02em; margin-bottom: 6px; color: #fff; }
.contact .form .form-sub { font-size: 14.5px; color: rgba(255,255,255,0.65); line-height: 1.5; margin-bottom: 20px; }

.field { margin-bottom: 14px; }
.field label {
  display: block; font-size: 11.5px; font-weight: 700; color: rgba(255,255,255,0.55);
  letter-spacing: 0.04em; text-transform: uppercase; margin-bottom: 6px;
}
.field input, .field select, .field textarea {
  width: 100%; font-family: inherit; font-size: 14.5px; color: #fff;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 6px;
  padding: 11px 12px; outline: none; transition: border-color .18s, background .18s;
}
.field input::placeholder, .field textarea::placeholder { color: rgba(255,255,255,0.35); }
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--blue-bright); background: rgba(43,168,224,0.06);
  box-shadow: 0 0 0 4px rgba(43,168,224,0.10);
}
.field select option { background: #0e2238; color: #fff; }
.field textarea { resize: vertical; min-height: 80px; line-height: 1.5; }
.field-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

/* Honeypot — off-screen, never shown to humans. */
.field.hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-submit {
  width: 100%; margin-top: 8px;
  background: var(--blue); color: #fff;
  padding: 0 22px; height: 50px; border-radius: 99px; border: none; cursor: pointer;
  font-family: inherit; font-size: 14.5px; font-weight: 700;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  transition: background .18s, transform .18s;
  box-shadow: 0 0 0 1px rgba(43,168,224,0.4), 0 8px 24px -6px rgba(43,168,224,0.5);
}
.form-submit:hover { background: var(--blue-bright); transform: translateY(-1px); }
.form-error {
  margin-top: 12px; padding: 10px 14px;
  background: rgba(229, 57, 53, 0.10);
  border: 1px solid rgba(229, 57, 53, 0.30);
  border-radius: 6px;
  color: #ff9a96;
  font-size: 13.5px; line-height: 1.5;
}
.form-error a { color: #fff; text-decoration: underline; }
.form-fine { margin-top: 10px; font-size: 12px; color: rgba(255,255,255,0.45); text-align: center; }

/* Success state — replaces the form after a successful send. */
.contact .form.form-success {
  text-align: center;
  padding: 56px 30px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  min-height: 320px;
}
.contact .form.form-success h3 {
  font-size: 28px;
  color: var(--blue-bright);
  margin-bottom: 14px;
}
.contact .form.form-success p {
  font-size: 15px;
  color: rgba(255,255,255,0.78);
  line-height: 1.55;
  max-width: 360px;
  margin: 0 auto;
}
.contact .form.form-success p strong {
  color: #fff;
  font-weight: 600;
}

/* Validation messages adapt to dark form */
.contact .form .validation-message { color: #ff8b8b; font-size: 12.5px; margin-top: 4px; }

/* ============ FOOTER ============ */
.footer { background: #0d1620; color: rgba(255,255,255,0.78); }
.footer-main { padding-top: 48px; padding-bottom: 28px; display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 48px; }
.footer-brand img { height: 64px; width: auto; }
.footer-brand p { font-size: 14.5px; line-height: 1.5; color: rgba(255,255,255,0.65); max-width: 320px; margin-top: 14px; }
.footer h5 { font-size: 11.5px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: #fff; margin-bottom: 14px; }
.footer ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer ul a { font-size: 14px; color: rgba(255,255,255,0.78); }
.footer ul a:hover { color: var(--blue-bright); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.10);
  padding: 16px 0; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  font-size: 12.5px; color: rgba(255,255,255,0.50);
}

/* ============ TEAM PAGE ============ */
.team-section {
  padding: 56px 0 80px;
  position: relative;
}

.team-head {
  max-width: 880px;
  margin-bottom: 44px;
}
.team-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 11.5px; font-weight: 700; letter-spacing: 0.22em;
  color: var(--blue-deep); text-transform: uppercase;
  margin-bottom: 16px;
}
.team-eyebrow::before {
  content: ""; width: 20px; height: 2px;
  background: var(--blue); border-radius: 2px;
}
.team-head h1 {
  font-size: clamp(30px, 4vw, 46px);
  font-weight: 800; letter-spacing: -0.03em; line-height: 1.06;
  color: var(--ink); margin-bottom: 18px;
}
.team-head h1 .accent { color: var(--blue); }
.team-lead {
  font-size: 15.5px; line-height: 1.55; color: var(--ink-soft);
  max-width: 560px; margin: 0 0 26px;
}
.team-rule {
  border: 0; height: 1px; background: var(--rule);
  margin: 0 0 22px; max-width: 64px;
}
.team-intro {
  display: flex; align-items: flex-start; gap: 16px;
  max-width: 600px;
}
.team-intro-icon {
  width: 44px; height: 44px; flex-shrink: 0;
  border-radius: 50%;
  border: 1px solid rgba(43,168,224,0.30);
  background: rgba(43,168,224,0.08);
  display: flex; align-items: center; justify-content: center;
}
.team-intro-icon svg {
  width: 18px; height: 18px;
  stroke: var(--blue-bright); stroke-width: 1.6;
  fill: none; stroke-linecap: round; stroke-linejoin: round;
}
.team-intro-content h2 {
  font-size: 14.5px; font-weight: 700; letter-spacing: -0.005em;
  color: var(--ink); margin: 1px 0 4px;
}
.team-intro-content p {
  font-size: 13.5px; line-height: 1.55; color: var(--ink-mid);
  margin: 0;
}

.team-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  max-width: 880px;
}
.team-card {
  background: var(--paper-card);
  border: 1px solid var(--rule);
  border-radius: 14px;
  padding: 22px;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 24px;
  transition: border-color .22s, transform .22s, box-shadow .22s;
}
.team-card:nth-child(even) {
  flex-direction: row-reverse;
}
.team-card:hover {
  border-color: rgba(43,168,224,0.35);
  transform: translateY(-2px);
  box-shadow: 0 22px 44px -28px rgba(43,168,224,0.35);
}
.team-photo {
  width: 180px;
  flex-shrink: 0;
  aspect-ratio: 1 / 1;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--blue-deep), var(--blue-bright));
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.06), 0 14px 28px -16px rgba(0,0,0,0.55);
}
.team-photo img {
  width: 100%; height: 100%; object-fit: cover;
  object-position: center 22%; display: block;
}
.team-photo-fallback {
  font-size: 48px; font-weight: 700; color: #fff;
  letter-spacing: -0.04em; line-height: 1;
  font-family: var(--font);
}
.team-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.team-name {
  font-size: 21px; font-weight: 800; letter-spacing: -0.02em;
  line-height: 1.15; color: var(--ink); margin: 0 0 12px;
}
.team-bio {
  font-size: 14px; line-height: 1.6; color: var(--ink-mid);
  margin: 0 0 10px;
}
.team-bio:last-of-type { margin-bottom: 0; }

/* ============ RESPONSIVE ============ */
@media (max-width: 980px) {
  /* Mobile nav: show the hamburger, hide the link panel until opened */
  .nav-toggle { display: inline-flex; }
  .nav-links {
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 32px 22px;
    background: rgba(6, 16, 28, 0.96);
    backdrop-filter: saturate(160%) blur(14px);
    -webkit-backdrop-filter: saturate(160%) blur(14px);
    border-bottom: 1px solid var(--rule);
    box-shadow: 0 18px 36px -22px rgba(0, 0, 0, 0.5);
    display: none;
  }
  .nav-links.is-open { display: flex; }
  .nav-links a {
    font-size: 16px;
    padding: 14px 0;
    border-bottom: 1px solid var(--rule-soft);
    color: var(--ink);
  }
  .nav-links a:last-child { border-bottom: none; }
  .nav-links .nav-cta {
    margin-top: 14px;
    align-self: flex-start;
    padding: 11px 22px;
    font-size: 14px;
    border-bottom: none;
  }
  .hero { padding: 64px 0 320px; }
  .hero-photo { width: 100%; opacity: 0.35; }
  .industries-wrap { margin: -320px auto 0; padding: 24px 16px 40px; }
  .industries-card { position: relative; }
  .industries-card::before {
    content: ""; position: absolute;
    top: 1px; right: 1px;
    height: 56px; width: 44px;
    background: linear-gradient(to right, rgba(14, 32, 56, 0), rgba(14, 32, 56, 0.95) 70%);
    pointer-events: none;
    z-index: 2;
    border-radius: 0 13px 0 0;
  }
  .ind-tabs {
    flex-wrap: nowrap; overflow-x: auto;
    padding: 0 12px; gap: 0;
    justify-content: flex-start;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    scroll-snap-type: x proximity;
  }
  .ind-tabs::-webkit-scrollbar { display: none; }
  .ind-tab {
    flex: 0 0 auto;
    padding: 16px 14px;
    scroll-snap-align: start;
  }
  .ind-tab::after { left: 10px; right: 10px; }
  .ind-grid { grid-template-columns: 1fr; gap: 24px; }
  .ind-content { padding: 24px 20px 28px; }
  .ind-panel[data-ind="start"] .leadway-layout { grid-template-columns: 1fr; gap: 24px; }
  .ind-panel[data-ind="start"] .leadway-horizontal { grid-template-columns: 1fr 1fr; }
  .svc-grid { grid-template-columns: 1fr; }
  .svc-primary { grid-column: auto; grid-row: auto; }
  .svc-primary .core-split { grid-template-columns: 1fr; gap: 18px; }
  .case-grid { grid-template-columns: 1fr; }
  .contact-inner { grid-template-columns: 1fr; gap: 48px; padding-top: 80px; padding-bottom: 80px; }
  .footer-main { grid-template-columns: 1fr; gap: 36px; }
  .section { padding: 72px 0; }
  .field-row-2 { grid-template-columns: 1fr; }
  .team-section { padding: 48px 0 64px; }
  .team-head { margin-bottom: 36px; }
  .team-head h1 { font-size: clamp(28px, 5vw, 38px); }
  .team-grid { gap: 16px; max-width: 100%; }
  .team-photo { width: 160px; }
}

/* ============ PHONE (under 600px) ============ */
@media (max-width: 600px) {
  .container { padding: 0 18px; }

  /* Nav */
  .nav-inner { padding-top: 12px; padding-bottom: 12px; }
  .nav-links { padding-left: 18px; padding-right: 18px; }
  .brand img { height: 26px; }
  .nav-cta {
    font-size: 12px; padding: 8px 12px;
    box-shadow: 0 0 0 1px rgba(43,168,224,0.4), 0 4px 12px -3px rgba(43,168,224,0.45);
  }

  /* Hero — stacked rhythm, photo kept as a faded full-area background */
  .hero { padding: 40px 0 28px; min-height: auto; }
  .hero-photo {
    width: 100%;
    bottom: 0;
    opacity: 0.18;
  }
  .hero-photo img {
    -webkit-mask-image: none;
            mask-image: none;
  }
  .hero h1 { margin-bottom: 16px; max-width: 100%; }
  .hero-lead { margin-bottom: 22px; max-width: 100%; }
  .hero-credit { margin-top: 16px; margin-bottom: 0; font-size: 12.5px; line-height: 1.45; align-items: flex-start; }
  .hero-credit svg { margin-top: 2px; }
  .hero-cta { flex-direction: column; align-items: stretch; gap: 10px; width: 100%; }
  .hero-cta .btn { width: 100%; justify-content: center; height: 48px; font-size: 14px; }

  /* Industries — no overlap on phone, sits naturally under hero */
  .industries-wrap { margin: 24px auto 0; padding: 0 12px 24px; }
  .industries-card { border-radius: 14px; }
  .industries-card::before { height: 48px; width: 36px; }
  .ind-tabs { padding: 0 10px; }
  .ind-tab { padding: 14px 12px; font-size: 13px; gap: 6px; }
  .ind-tab::after { left: 8px; right: 8px; }
  .ind-tab .ind-tab-icon { width: 14px; height: 14px; }

  .ind-content { padding: 20px 16px 24px; }
  .ind-headline h3 { font-size: 18px; line-height: 1.2; margin-bottom: 10px; }
  .ind-headline p { font-size: 13.5px; margin-bottom: 12px; }
  .ind-image { aspect-ratio: 4 / 3; }

  /* Start panel LEAD Way -> single column */
  .ind-panel[data-ind="start"] .start-statement { margin-bottom: 22px; padding-bottom: 20px; }
  .ind-panel[data-ind="start"] .start-statement h3 { font-size: 20px; }
  .ind-panel[data-ind="start"] .start-statement p { font-size: 13.5px; }
  .ind-panel[data-ind="start"] .leadway-header { padding: 0 0 16px; }
  .ind-panel[data-ind="start"] .leadway-header h3 { font-size: 22px; }
  .ind-panel[data-ind="start"] .leadway-horizontal { grid-template-columns: 1fr; gap: 12px; padding-top: 10px; }
  .ind-panel[data-ind="start"] .leadway-step { padding: 14px 16px; }
  .ind-panel[data-ind="start"] .leadway-step h3 { font-size: 15px; }

  /* Sections */
  .section { padding: 56px 0; }
  .sect-head { margin-bottom: 28px; }
  .sect-head h2 { line-height: 1.12; }

  /* Services */
  .svc { padding: 20px 18px; }
  .svc h3 { font-size: 17px; }
  .svc-primary { padding: 26px 22px; }
  .svc-primary h3 { font-size: 22px; }

  /* Cases */
  .case { padding: 20px 20px; }
  .case-head { flex-direction: column; align-items: flex-start; gap: 8px; }
  .case-badge { align-self: flex-start; }
  .case h3 { font-size: 17px; }

  /* Contact */
  .contact-inner { padding-top: 48px; padding-bottom: 48px; gap: 24px; }
  .portal-brand { margin-bottom: 18px; }
  .contact-left h2 { line-height: 1.08; margin-bottom: 14px; }
  .contact-left .lede { margin-bottom: 22px; }
  .contact-meta { gap: 14px; }
  .portal-mark { font-size: 10px; letter-spacing: 0.14em; gap: 8px; flex-wrap: wrap; }
  .portal-mark span.label { white-space: normal; }
  .contact .form { padding: 22px 20px; }
  .contact .form h3 { font-size: 19px; }

  /* Footer */
  .footer-main { padding-top: 36px; padding-bottom: 22px; gap: 24px; }
  .footer-brand img { height: 44px; }
  .footer-brand p { font-size: 14px; max-width: 100%; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 6px; font-size: 12px; }

  /* Team */
  .team-section { padding: 32px 0 52px; }
  .team-head { margin-bottom: 26px; }
  .team-head h1 { font-size: 26px; line-height: 1.1; }
  .team-lead { font-size: 14.5px; margin-bottom: 20px; }
  .team-rule { margin-bottom: 18px; }
  .team-intro { gap: 12px; }
  .team-intro-icon { width: 38px; height: 38px; }
  .team-intro-icon svg { width: 16px; height: 16px; }
  .team-intro-content h2 { font-size: 14px; }
  .team-intro-content p { font-size: 13px; line-height: 1.5; }
  .team-grid { gap: 14px; max-width: 100%; }
  .team-card,
  .team-card:nth-child(even) {
    flex-direction: column;
    padding: 16px;
    gap: 12px;
  }
  .team-photo {
    width: 100%;
    aspect-ratio: 4 / 3;
    border-radius: 10px;
  }
  .team-photo-fallback { font-size: 48px; }
  .team-name { font-size: 18px; margin: 0 0 10px; }
  .team-bio { font-size: 13.5px; line-height: 1.55; margin: 0 0 8px; }
}

/* ============ VERY NARROW PHONES (under 420px) ============ */
@media (max-width: 420px) {
  /* Hero */
  .hero { padding: 32px 0 24px; }
  .hero h1 { margin-bottom: 14px; }
  .hero-lead { margin-bottom: 18px; }
  .hero-credit { font-size: 12px; }
  .hero-cta .btn { height: 44px; font-size: 13.5px; }

  /* Sections */
  .section { padding: 44px 0; }
  .sect-head { margin-bottom: 22px; }
  .sect-head h2 { line-height: 1.15; }

  /* Industries card */
  .industries-wrap { padding: 0 10px 20px; margin-top: 18px; }
  .ind-content { padding: 18px 14px 22px; }
  .ind-tab { padding: 12px 10px; font-size: 12.5px; }
  .ind-headline h3 { font-size: 17px; }
  .ind-headline p { font-size: 13px; }
  .ind-panel[data-ind="start"] .start-statement h3 { font-size: 18px; }
  .ind-panel[data-ind="start"] .start-statement p { font-size: 13px; }
  .ind-panel[data-ind="start"] .leadway-header h3 { font-size: 20px; }
  .ind-panel[data-ind="start"] .leadway-step { padding: 12px 14px; }
  .ind-panel[data-ind="start"] .leadway-step h3 { font-size: 14.5px; }

  /* Services */
  .svc { padding: 16px 14px; }
  .svc h3 { font-size: 16px; }
  .svc p { font-size: 13.5px; }
  .svc-primary { padding: 22px 18px; }
  .svc-primary h3 { font-size: 20px; }
  .svc-primary p { font-size: 14px; }
  .svc-primary .core-half strong { font-size: 14.5px; }
  .svc-primary .core-half p { font-size: 13px; }

  /* Cases */
  .case { padding: 16px; }
  .case h3 { font-size: 16px; }
  .case .promise { font-size: 13.5px; }
  .case-expand .block p { font-size: 13.5px; }

  /* Contact */
  .contact-inner { padding-top: 36px; padding-bottom: 36px; gap: 22px; }
  .contact-left .lede { margin-bottom: 18px; }
  .contact .form { padding: 18px 16px; }
  .contact .form h3 { font-size: 17px; }
  .field label { font-size: 11px; }
  .field input, .field select, .field textarea { font-size: 14px; padding: 10px; }
  .form-submit { height: 46px; font-size: 14px; }

  /* Footer */
  .footer-main { padding-top: 28px; padding-bottom: 20px; gap: 20px; }
  .footer-brand img { height: 38px; }
  .footer-brand p { font-size: 13.5px; }

  /* Team */
  .team-section { padding: 26px 0 44px; }
  .team-head h1 { font-size: 23px; }
  .team-lead { font-size: 14px; }
  .team-intro {
    flex-direction: column;
    gap: 10px;
  }
  .team-card,
  .team-card:nth-child(even) {
    padding: 14px;
    gap: 10px;
  }
  .team-photo { aspect-ratio: 5 / 4; }
  .team-photo-fallback { font-size: 40px; }
  .team-name { font-size: 17px; }
  .team-bio { font-size: 13px; }
}
