/* ==========================================================================
   FOXCONN ALBUQUERQUE — Premium visual system v2
   ========================================================================== */

:root {
  --brand: #004c93;
  --brand-deep: #002e5c;
  --brand-ink: #001a36;
  --brand-bright: #1a73e8;
  --electric: #2fb7ff;
  --cyan: #62e0ff;
  --navy: #050d1a;
  --navy-2: #0a1628;
  --ink: #0b1220;
  --ink-2: #1c2433;
  --muted: #5b6676;
  --muted-2: #8791a0;
  --line: #e4e9f1;
  --line-2: #d3dbe6;
  --paper: #f4f6fa;
  --paper-2: #eaeef5;
  --white: #ffffff;
  --platinum: #cfd8e3;

  --grad-brand: linear-gradient(135deg, #004c93 0%, #1a73e8 55%, #2fb7ff 100%);
  --grad-dark: linear-gradient(180deg, #050d1a 0%, #0a1628 100%);
  --grad-text: linear-gradient(90deg, #ffffff 0%, #bfe4ff 60%, #62e0ff 100%);

  --shadow-sm: 0 1px 2px rgba(5, 13, 26, .06), 0 4px 12px rgba(5, 13, 26, .06);
  --shadow: 0 24px 60px -20px rgba(0, 46, 92, .28), 0 8px 20px -10px rgba(5, 13, 26, .12);
  --shadow-lg: 0 40px 90px -30px rgba(0, 46, 92, .45);
  --glow: 0 0 0 1px rgba(47, 183, 255, .25), 0 20px 60px -20px rgba(47, 183, 255, .55);

  --radius: 14px;
  --radius-lg: 22px;
  --radius-pill: 999px;

  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-in-out: cubic-bezier(.65, 0, .35, 1);
  --dur: .6s;

  --font-head: "Manrope", "Inter", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;
}

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
::selection { background: var(--brand); color: #fff; }
:focus-visible { outline: 2px solid var(--electric); outline-offset: 3px; border-radius: 4px; }

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

/* ---------- Scroll progress ---------- */
.progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0%;
  background: var(--grad-brand); z-index: 200;
  box-shadow: 0 0 14px rgba(47, 183, 255, .8);
  transition: width .1s linear;
}

/* ---------- Preloader ---------- */
.loader {
  position: fixed; inset: 0; z-index: 300;
  background: var(--navy);
  display: grid; place-items: center;
  transition: opacity .6s var(--ease-in-out), visibility .6s;
}
.loader img { width: 200px; opacity: 0; animation: loaderIn 1s var(--ease-out) forwards; }
.loader::after {
  content: ""; position: absolute; left: 50%; bottom: 40%; transform: translateX(-50%);
  width: 120px; height: 2px; background: rgba(255,255,255,.1); border-radius: 2px; overflow: hidden;
}
.loader::before {
  content: ""; position: absolute; left: calc(50% - 60px); bottom: 40%;
  width: 120px; height: 2px; background: var(--grad-brand); z-index: 1;
  transform-origin: left; animation: loaderBar 1.2s var(--ease-in-out) forwards;
}
.loader.done { opacity: 0; visibility: hidden; }
@keyframes loaderIn { from { opacity: 0; transform: translateY(12px) scale(.96); } to { opacity: 1; transform: none; } }
@keyframes loaderBar { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* ---------- Noise texture ---------- */
.grain {
  pointer-events: none; position: fixed; inset: 0; z-index: 150; opacity: .035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
}

/* ---------- Topbar ---------- */
.topbar {
  background: var(--navy);
  color: #9fb1c6;
  font-size: 12.5px;
  letter-spacing: .02em;
  border-bottom: 1px solid rgba(255,255,255,.06);
  position: relative; z-index: 60;
}
.topbar-inner {
  display: flex; justify-content: space-between; align-items: center;
  gap: 16px; padding: 9px 0; flex-wrap: wrap;
}
.topbar-inner > span { display: inline-flex; align-items: center; gap: 10px; }
.topbar-inner > span::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%;
  background: #34d399; box-shadow: 0 0 0 4px rgba(52, 211, 153, .18);
  animation: pulse 2.2s infinite;
}
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 3px rgba(52,211,153,.2); } 50% { box-shadow: 0 0 0 7px rgba(52,211,153,0); } }
.topbar-links { display: flex; gap: 22px; }
.topbar a { color: #e6eef8; font-weight: 600; text-decoration: none; display: inline-flex; gap: 6px; align-items: center; transition: color .2s; }
.topbar a:hover { color: var(--cyan); }
.topbar a svg { width: 13px; height: 13px; opacity: .7; }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.72);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  backdrop-filter: saturate(180%) blur(18px);
  border-bottom: 1px solid rgba(5,13,26,.06);
  transition: box-shadow .3s, background .3s, height .3s;
}
.header.scrolled { background: rgba(255,255,255,.92); box-shadow: 0 10px 40px -20px rgba(0,46,92,.35); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 84px; gap: 24px; transition: height .3s; }
.header.scrolled .header-inner { height: 70px; }
.logo { display: flex; align-items: center; gap: 14px; text-decoration: none; flex-shrink: 0; }
.logo img { height: 22px; width: auto; transition: transform .4s var(--ease-out); }
.logo:hover img { transform: translateY(-1px); }
.logo-sub {
  font-family: var(--font-mono);
  font-size: 10.5px; color: var(--muted); letter-spacing: .22em; text-transform: uppercase;
  border-left: 1px solid var(--line-2); padding-left: 14px; line-height: 1.2;
}
.nav { display: flex; align-items: center; gap: 6px; }
.nav a {
  position: relative; text-decoration: none; font-size: 14px; font-weight: 600; color: var(--ink-2);
  padding: 9px 13px; border-radius: 8px; transition: color .2s, background .2s;
}
.nav a:not(.nav-cta):hover { color: var(--brand); background: rgba(0,76,147,.06); }
.nav a.active { color: var(--brand); }
.nav a.active::after {
  content: ""; position: absolute; left: 13px; right: 13px; bottom: 4px; height: 2px;
  background: var(--grad-brand); border-radius: 2px;
}
.nav-cta {
  margin-left: 10px;
  background: var(--brand-ink); color: #fff !important;
  padding: 11px 20px !important; border-radius: var(--radius-pill) !important;
  box-shadow: 0 8px 20px -10px rgba(0,46,92,.7);
  display: inline-flex; align-items: center; gap: 8px;
  transition: transform .3s var(--ease-out), box-shadow .3s, background .3s !important;
}
.nav-cta::after { content: "→"; display: inline-block; transition: transform .3s var(--ease-out); }
.nav-cta:hover { background: var(--brand); transform: translateY(-2px); box-shadow: 0 14px 30px -12px rgba(0,76,147,.8); }
.nav-cta:hover::after { transform: translateX(4px); }
.burger { display: none; width: 44px; height: 44px; border: 1px solid var(--line-2); border-radius: 10px; background: #fff; cursor: pointer; }
.burger span { display: block; height: 2px; background: var(--ink); margin: 5px 11px; border-radius: 2px; transition: transform .3s, opacity .3s; }
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Typography ---------- */
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.08; letter-spacing: -.025em; font-weight: 800; }
h1 { font-size: clamp(40px, 6.2vw, 84px); max-width: 16ch; margin-bottom: 24px; letter-spacing: -.035em; }
h2 { font-size: clamp(30px, 3.6vw, 50px); margin-bottom: 18px; }
h3 { font-size: 22px; margin-bottom: 10px; letter-spacing: -.015em; }
h4 { font-size: 15px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-mono); text-transform: uppercase; letter-spacing: .22em;
  font-size: 11.5px; font-weight: 600; color: var(--cyan); margin-bottom: 20px;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; opacity: .7; }
.eyebrow.dark { color: var(--brand); }
.lead, .hero-lead { max-width: 60ch; color: #c9d7e8; font-size: clamp(17px, 1.4vw, 20px); line-height: 1.6; margin-bottom: 34px; font-weight: 400; }
.section-head p, .prose p { color: var(--muted); margin-bottom: 18px; font-size: 17px; }
.prose p strong { color: var(--ink); }
.text-grad { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.text-brand { background: var(--grad-brand); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- Buttons ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 26px; border-radius: var(--radius-pill); text-decoration: none; font-weight: 700;
  border: 0; cursor: pointer; font-size: 15px; font-family: inherit; letter-spacing: -.005em;
  transition: transform .35s var(--ease-out), box-shadow .35s, background .3s, color .3s, border-color .3s;
  overflow: hidden; isolation: isolate;
}
.btn::after { content: "→"; font-weight: 600; transition: transform .35s var(--ease-out); }
.btn:hover::after { transform: translateX(4px); }
.btn:active { transform: translateY(1px) scale(.99); }
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 12px 30px -12px rgba(0,76,147,.8); }
.btn-primary::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--grad-brand); opacity: 0; transition: opacity .35s;
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 20px 40px -14px rgba(26,115,232,.75); }
.btn-primary:hover::before { opacity: 1; }
.btn-ghost {
  background: rgba(255,255,255,.06); color: #fff;
  border: 1px solid rgba(255,255,255,.28);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.btn-ghost:hover { background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.6); transform: translateY(-3px); }
.btn-outline { background: transparent; color: var(--brand); border: 1.5px solid rgba(0,76,147,.35); }
.btn-outline:hover { border-color: var(--brand); background: rgba(0,76,147,.05); transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.btn-lg { padding: 18px 32px; font-size: 16px; }
.btn.no-arrow::after { content: none; }

/* ---------- Hero (home) ---------- */
.hero { position: relative; color: #fff; overflow: hidden; min-height: 100svh; display: grid; align-items: end; background: var(--navy); }
.hero-bg {
  position: absolute; inset: -6%; width: 112%; height: 112%; object-fit: cover;
  animation: kenburns 24s var(--ease-in-out) infinite alternate;
  will-change: transform; filter: saturate(1.05) contrast(1.05);
}
@keyframes kenburns { from { transform: scale(1) translate(0, 0); } to { transform: scale(1.08) translate(-1.5%, 1%); } }
.hero-overlay {
  position: absolute; inset: 0;
  background:
    radial-gradient(1200px 600px at 20% 20%, rgba(0,76,147,.45), transparent 60%),
    radial-gradient(900px 500px at 90% 80%, rgba(47,183,255,.25), transparent 60%),
    linear-gradient(180deg, rgba(5,13,26,.35) 0%, rgba(5,13,26,.55) 45%, rgba(5,13,26,.95) 100%);
}
.hero-grid {
  position: absolute; inset: 0; pointer-events: none; opacity: .18;
  background-image:
    linear-gradient(rgba(255,255,255,.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.12) 1px, transparent 1px);
  background-size: 72px 72px;
  -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
  mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
}
.hero-orb {
  position: absolute; border-radius: 50%; filter: blur(80px); opacity: .55; pointer-events: none;
  animation: float 14s ease-in-out infinite;
}
.hero-orb.a { width: 520px; height: 520px; right: -120px; top: -80px; background: var(--brand-bright); }
.hero-orb.b { width: 380px; height: 380px; left: -100px; bottom: 10%; background: var(--electric); animation-delay: -6s; opacity: .35; }
@keyframes float { 0%, 100% { transform: translate(0,0); } 50% { transform: translate(-30px, 40px); } }
.hero-content { position: relative; padding: 150px 0 80px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 10px; padding: 8px 14px 8px 8px;
  border-radius: var(--radius-pill); border: 1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.07); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  font-size: 13px; color: #dbe7f5; margin-bottom: 28px; font-weight: 500;
}
.hero-badge b { background: var(--grad-brand); color: #fff; padding: 3px 10px; border-radius: var(--radius-pill); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; }
.hero h1 { text-wrap: balance; }
.hero h1 .line { display: block; overflow: hidden; }
.hero h1 .line > span { display: inline-block; transform: translateY(110%); animation: rise 1.1s var(--ease-out) forwards; }
.hero h1 .line:nth-child(2) > span { animation-delay: .12s; }
.hero h1 .line:nth-child(3) > span { animation-delay: .24s; }
@keyframes rise { to { transform: translateY(0); } }
.hero-lead, .hero-actions, .hero-badge, .hero-stats { opacity: 0; animation: fadeUp 1s var(--ease-out) forwards; }
.hero-badge { animation-delay: .05s; }
.hero-lead { animation-delay: .45s; }
.hero-actions { animation-delay: .6s; }
.hero-stats { animation-delay: .8s; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
.hero-actions, .actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 64px; align-items: center; }
.hero-stats {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px;
}
.hero-stats > div {
  padding: 22px 22px; border-radius: var(--radius);
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  transition: transform .4s var(--ease-out), background .3s, border-color .3s;
}
.hero-stats > div:hover { transform: translateY(-4px); background: rgba(255,255,255,.1); border-color: rgba(98,224,255,.5); }
.hero-stats strong { display: block; font-family: var(--font-head); font-size: 26px; letter-spacing: -.02em; line-height: 1.1; margin-bottom: 6px; }
.hero-stats span { color: #a9bccf; font-size: 13px; }
.hero-scroll {
  position: absolute; right: 40px; bottom: 36px; display: flex; flex-direction: column; align-items: center; gap: 10px;
  font-family: var(--font-mono); font-size: 10px; letter-spacing: .28em; text-transform: uppercase; color: #9fb1c6;
}
.hero-scroll i { width: 1px; height: 54px; background: rgba(255,255,255,.2); position: relative; overflow: hidden; }
.hero-scroll i::after { content: ""; position: absolute; inset: 0; background: var(--cyan); animation: scrollLine 2s var(--ease-in-out) infinite; }
@keyframes scrollLine { 0% { transform: translateY(-100%); } 60%, 100% { transform: translateY(100%); } }

/* ---------- Marquee ---------- */
.marquee {
  background: var(--navy); color: #fff; border-top: 1px solid rgba(255,255,255,.06); border-bottom: 1px solid rgba(255,255,255,.06);
  overflow: hidden; padding: 20px 0; position: relative;
}
.marquee::before, .marquee::after {
  content: ""; position: absolute; top: 0; bottom: 0; width: 160px; z-index: 2; pointer-events: none;
}
.marquee::before { left: 0; background: linear-gradient(90deg, var(--navy), transparent); }
.marquee::after { right: 0; background: linear-gradient(-90deg, var(--navy), transparent); }
.marquee-track { display: flex; gap: 56px; width: max-content; animation: marquee 38s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span {
  font-family: var(--font-mono); font-size: 13px; letter-spacing: .2em; text-transform: uppercase; color: #b8c8da;
  display: inline-flex; align-items: center; gap: 56px; white-space: nowrap;
}
.marquee-track span::after { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--electric); box-shadow: 0 0 10px var(--electric); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { position: relative; color: #fff; overflow: hidden; min-height: 520px; display: grid; align-items: end; background: var(--navy); }
.page-hero img.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); animation: kenburns 30s var(--ease-in-out) infinite alternate; }
.page-hero .overlay {
  position: absolute; inset: 0;
  background:
    radial-gradient(900px 500px at 15% 30%, rgba(0,76,147,.5), transparent 60%),
    linear-gradient(180deg, rgba(5,13,26,.4), rgba(5,13,26,.92));
}
.page-hero .content { position: relative; padding: 120px 0 64px; }
.page-hero h1 { font-size: clamp(36px, 5vw, 66px); }
.page-hero .lead, .page-hero .hero-lead, .page-hero .eyebrow, .page-hero h1, .page-hero .crumbs { opacity: 0; animation: fadeUp .9s var(--ease-out) forwards; }
.page-hero .eyebrow { animation-delay: .05s; }
.page-hero h1 { animation-delay: .15s; }
.page-hero .lead { animation-delay: .3s; margin-bottom: 0; }
.crumbs { font-family: var(--font-mono); font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: #9fb1c6; margin-bottom: 26px; display: flex; gap: 12px; }
.crumbs a { text-decoration: none; color: #dbe7f5; }
.crumbs a:hover { color: var(--cyan); }
.crumbs span::before { content: "/"; margin-right: 12px; opacity: .5; }

/* ---------- Sections ---------- */
.section { padding: clamp(80px, 10vw, 130px) 0; position: relative; }
.section.alt { background: var(--paper); }
.section.alt::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: radial-gradient(rgba(0,76,147,.10) 1px, transparent 1px); background-size: 28px 28px;
  -webkit-mask-image: linear-gradient(180deg, #000, transparent 40%, transparent 60%, #000);
  mask-image: linear-gradient(180deg, #000, transparent 40%, transparent 60%, #000);
}
.section.dark { background: var(--grad-dark); color: #fff; }
.section.dark .section-head p, .section.dark .prose p { color: #a9bccf; }
.section.dark h2, .section.dark h3 { color: #fff; }
.section-head { max-width: 760px; margin-bottom: 56px; position: relative; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.section-head.split { max-width: none; display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; }
.section-head.split > div { max-width: 700px; }
.grid-2 { display: grid; grid-template-columns: 1.05fr .95fr; gap: 72px; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }

/* ---------- Photo ---------- */
.photo { position: relative; }
.photo img {
  width: 100%; height: 520px; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
  transition: transform .8s var(--ease-out);
}
.photo:hover img { transform: scale(1.015); }
.photo::before {
  content: ""; position: absolute; inset: -18px -18px auto auto; width: 52%; height: 52%;
  border: 1px solid rgba(0,76,147,.22); border-radius: var(--radius-lg); z-index: -1;
}
.photo::after {
  content: ""; position: absolute; left: -26px; bottom: -26px; width: 160px; height: 160px; z-index: -1;
  background: var(--grad-brand); filter: blur(60px); opacity: .45; border-radius: 50%;
}
.photo figcaption {
  position: absolute; left: 20px; bottom: 20px; color: #fff; font-size: 12.5px; font-weight: 600; letter-spacing: .04em;
  padding: 10px 16px; border-radius: var(--radius-pill);
  background: rgba(5,13,26,.55); border: 1px solid rgba(255,255,255,.18);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
}
.photo .tag {
  position: absolute; top: 20px; right: 20px; background: #fff; color: var(--brand); font-family: var(--font-mono); font-size: 11px;
  letter-spacing: .16em; text-transform: uppercase; padding: 8px 12px; border-radius: 8px; box-shadow: var(--shadow-sm);
}

/* ---------- Checklist ---------- */
.checklist { list-style: none; margin-top: 12px; display: grid; gap: 4px; }
.checklist li {
  padding: 12px 0 12px 40px; position: relative; font-weight: 600; color: var(--ink-2);
  border-bottom: 1px solid var(--line); transition: padding-left .3s var(--ease-out), color .2s;
}
.checklist li:last-child { border-bottom: 0; }
.checklist li:hover { padding-left: 46px; color: var(--brand); }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: 13px; width: 24px; height: 24px; border-radius: 50%;
  background: rgba(0,76,147,.08); border: 1px solid rgba(0,76,147,.25);
}
.checklist li::after {
  content: ""; position: absolute; left: 8px; top: 20px; width: 8px; height: 5px;
  border-left: 2px solid var(--brand); border-bottom: 2px solid var(--brand); transform: rotate(-45deg);
}

/* ---------- Cards ---------- */
.card {
  position: relative; background: #fff; border: 1px solid var(--line); padding: 34px 30px; border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm); overflow: hidden;
  transition: transform .5s var(--ease-out), box-shadow .5s, border-color .3s;
}
.card::before {
  content: ""; position: absolute; inset: 0; opacity: 0; transition: opacity .5s;
  background: radial-gradient(400px 200px at var(--mx, 50%) var(--my, 0%), rgba(47,183,255,.14), transparent 70%);
}
.card::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--grad-brand); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease-out); }
.card:hover { transform: translateY(-8px); box-shadow: var(--shadow); border-color: rgba(0,76,147,.25); }
.card:hover::before, .card:hover::after { opacity: 1; transform: scaleX(1); }
.card > * { position: relative; }
.card p { color: var(--muted); font-size: 15.5px; }
.card-num {
  display: inline-flex; align-items: center; justify-content: center; min-width: 44px; height: 44px; padding: 0 12px;
  border-radius: 12px; background: var(--paper); color: var(--brand);
  font-family: var(--font-mono); font-weight: 700; font-size: 13px; letter-spacing: .1em; margin-bottom: 22px;
  border: 1px solid var(--line);
  transition: background .3s, color .3s, transform .4s var(--ease-out);
}
.card:hover .card-num { background: var(--brand); color: #fff; transform: rotate(-4deg); }
.card-icon { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--grad-brand); color: #fff; margin-bottom: 22px; box-shadow: 0 10px 24px -10px rgba(0,76,147,.8); }
.card-icon svg { width: 22px; height: 22px; }
.card-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; color: var(--brand); font-weight: 700; font-size: 14px; text-decoration: none; }
.card-link::after { content: "→"; transition: transform .3s var(--ease-out); }
.card:hover .card-link::after { transform: translateX(5px); }
.card.glass { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.1); color: #fff; box-shadow: none; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.card.glass p { color: #a9bccf; }
.card.glass .card-num { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.12); color: var(--cyan); }
.card.glass:hover { border-color: rgba(98,224,255,.4); box-shadow: var(--glow); }

/* ---------- Stats / numbers ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; background: #fff; box-shadow: var(--shadow-sm); }
.stats > div { padding: 40px 34px; border-right: 1px solid var(--line); position: relative; transition: background .3s; }
.stats > div:last-child { border-right: 0; }
.stats > div:hover { background: var(--paper); }
.stats strong { display: block; font-family: var(--font-head); font-size: clamp(40px, 4vw, 58px); font-weight: 800; letter-spacing: -.04em; line-height: 1; margin-bottom: 10px; background: var(--grad-brand); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stats strong small { font-size: .5em; font-weight: 700; }
.stats > div > span { color: var(--muted); font-size: 14px; font-weight: 500; display: block; }

/* ---------- Process timeline ---------- */
.timeline { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; position: relative; margin-top: 10px; }
.timeline::before { content: ""; position: absolute; top: 22px; left: 5%; right: 5%; height: 1px; background: linear-gradient(90deg, transparent, var(--line-2) 10%, var(--line-2) 90%, transparent); }
.timeline > div { padding: 0 20px; position: relative; text-align: center; }
.timeline i {
  display: grid; place-items: center; width: 44px; height: 44px; margin: 0 auto 20px; border-radius: 50%; position: relative; z-index: 1;
  background: #fff; border: 1px solid var(--line-2); font-family: var(--font-mono); font-style: normal; font-size: 12px; font-weight: 700; color: var(--brand);
  box-shadow: 0 0 0 8px #fff; transition: background .3s, color .3s, transform .4s var(--ease-out), box-shadow .3s;
}
.timeline > div:hover i { background: var(--brand); color: #fff; transform: scale(1.12); box-shadow: 0 0 0 8px #fff, 0 12px 30px -8px rgba(0,76,147,.6); }
.timeline h3 { font-size: 17px; margin-bottom: 6px; }
.timeline p { color: var(--muted); font-size: 14px; margin: 0; }

/* ---------- Band (image + text) ---------- */
.band { position: relative; min-height: 640px; display: grid; align-items: center; color: #fff; overflow: hidden; background: var(--navy); }
.band img.cover { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); transition: transform 1.4s var(--ease-out); will-change: transform; }
.band .shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(5,13,26,.94) 0%, rgba(5,13,26,.72) 45%, rgba(5,13,26,.2) 100%); }
.band-content { position: relative; padding: 110px 0; max-width: 640px; }
.band-content > p { color: #c9d7e8; font-size: 17px; }
.band ul { list-style: none; margin-top: 28px; display: grid; gap: 12px; }
.band li { display: flex; gap: 14px; align-items: flex-start; padding: 14px 18px; border-radius: var(--radius); background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); font-weight: 500; transition: background .3s, transform .4s var(--ease-out), border-color .3s; }
.band li:hover { background: rgba(255,255,255,.1); transform: translateX(6px); border-color: rgba(98,224,255,.4); }
.band li::before { content: "◆"; color: var(--cyan); font-size: 10px; margin-top: 7px; }
.band .float-card {
  position: absolute; right: 6%; bottom: 14%; width: 300px; padding: 24px; border-radius: var(--radius-lg);
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
  box-shadow: var(--shadow-lg); animation: floatCard 8s ease-in-out infinite;
}
@keyframes floatCard { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
.float-card small { font-family: var(--font-mono); letter-spacing: .2em; font-size: 10px; text-transform: uppercase; color: var(--cyan); display: block; margin-bottom: 10px; }
.float-card strong { font-family: var(--font-head); font-size: 28px; display: block; letter-spacing: -.02em; }
.float-card span { color: #a9bccf; font-size: 13px; }

/* ---------- Quality list / feature tiles ---------- */
.quality-list { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.quality-list div {
  background: #fff; padding: 28px 26px; border-radius: var(--radius); border: 1px solid var(--line); position: relative; overflow: hidden;
  box-shadow: var(--shadow-sm); transition: transform .5s var(--ease-out), box-shadow .5s, border-color .3s;
}
.quality-list div::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--grad-brand); }
.quality-list div:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: rgba(0,76,147,.25); }
.quality-list h3 { font-size: 18px; }
.quality-list p { margin: 0; color: var(--muted); font-size: 14.5px; }

/* ---------- Table ---------- */
.table-wrap { overflow-x: auto; border-radius: var(--radius-lg); border: 1px solid var(--line); box-shadow: var(--shadow-sm); background: #fff; }
table { width: 100%; border-collapse: collapse; background: #fff; }
th, td { text-align: left; padding: 20px 24px; border-bottom: 1px solid var(--line); font-size: 15px; }
th { background: var(--navy); color: #fff; font-weight: 600; font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .18em; text-transform: uppercase; }
tr:last-child td { border-bottom: 0; }
tbody tr { transition: background .2s; }
tbody tr:hover { background: var(--paper); }
td { color: var(--muted); }
td:first-child { color: var(--ink); font-weight: 700; }

/* ---------- Contact ---------- */
.contact-cards { display: grid; gap: 14px; margin-top: 28px; }
.info { background: #fff; padding: 22px 24px; border-radius: var(--radius); border: 1px solid var(--line); box-shadow: var(--shadow-sm); display: grid; grid-template-columns: 44px 1fr; gap: 16px; align-items: start; transition: transform .4s var(--ease-out), box-shadow .4s, border-color .3s; }
.info:hover { transform: translateX(6px); box-shadow: var(--shadow); border-color: rgba(0,76,147,.25); }
.info .ico { width: 44px; height: 44px; border-radius: 12px; background: var(--paper); border: 1px solid var(--line); display: grid; place-items: center; color: var(--brand); }
.info .ico svg { width: 18px; height: 18px; }
.info span { display: block; font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.info strong { display: block; font-weight: 600; color: var(--ink); line-height: 1.5; }
.info a { text-decoration: none; color: var(--brand); font-weight: 700; }
.map-link { color: var(--brand) !important; display: inline-flex !important; align-items: center; gap: 6px; margin-top: 10px; font-size: 14px; }
.map-link::after { content: "↗"; }
.info em { display: block; color: var(--muted); font-style: normal; font-size: 13px; margin-top: 4px; }

.form {
  background: #fff; border: 1px solid var(--line); padding: 40px; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
  display: grid; gap: 18px; position: relative;
}
.form::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--grad-brand); border-radius: var(--radius-lg) var(--radius-lg) 0 0; }
.form-title { margin-bottom: 4px; }
.form-title h3 { font-size: 24px; }
.form-title p { color: var(--muted); font-size: 14px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form label { display: grid; gap: 8px; font-size: 12.5px; font-weight: 700; color: var(--ink-2); letter-spacing: .02em; }
.form input, .form textarea, .form select {
  border: 1.5px solid var(--line-2); padding: 14px 16px; font: inherit; outline: none; background: var(--paper); border-radius: 10px;
  transition: border-color .2s, box-shadow .2s, background .2s; color: var(--ink);
}
.form input::placeholder, .form textarea::placeholder { color: var(--muted-2); }
.form input:focus, .form textarea:focus, .form select:focus { border-color: var(--brand); background: #fff; box-shadow: 0 0 0 4px rgba(0,76,147,.12); }
.form textarea { resize: vertical; min-height: 140px; }
.form .btn { justify-self: start; }
.form-note { color: var(--brand); font-size: 14px; padding: 14px 16px; border-radius: 10px; background: rgba(0,76,147,.06); border: 1px solid rgba(0,76,147,.2); }
.form-privacy { font-size: 12px; color: var(--muted-2); }

/* ---------- Jobs ---------- */
.jobs { display: grid; gap: 14px; }
.job {
  border: 1px solid var(--line); padding: 28px 32px; border-radius: var(--radius-lg); background: #fff; box-shadow: var(--shadow-sm);
  display: flex; justify-content: space-between; gap: 24px; align-items: center; position: relative; overflow: hidden;
  transition: transform .5s var(--ease-out), box-shadow .5s, border-color .3s;
}
.job::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--grad-brand); transform: scaleY(0); transition: transform .4s var(--ease-out); transform-origin: top; }
.job:hover { transform: translateX(8px); box-shadow: var(--shadow); border-color: rgba(0,76,147,.25); }
.job:hover::before { transform: scaleY(1); }
.job h3 { font-size: 20px; }
.job p { color: var(--muted); margin: 0 0 8px; }
.job .meta { display: flex; gap: 8px; flex-wrap: wrap; }
.job span { color: var(--muted); font-size: 12px; font-family: var(--font-mono); letter-spacing: .08em; padding: 4px 10px; border-radius: var(--radius-pill); background: var(--paper); border: 1px solid var(--line); }
.perks { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }

/* ---------- Testimonial / quote ---------- */
.quote { position: relative; padding: 56px 64px; border-radius: var(--radius-lg); background: var(--navy); color: #fff; overflow: hidden; }
.quote::before { content: "“"; position: absolute; left: 40px; top: -30px; font-family: var(--font-head); font-size: 220px; color: rgba(255,255,255,.06); line-height: 1; }
.quote::after { content: ""; position: absolute; right: -120px; bottom: -160px; width: 400px; height: 400px; border-radius: 50%; background: var(--brand-bright); filter: blur(120px); opacity: .5; }
.quote blockquote { position: relative; font-family: var(--font-head); font-size: clamp(22px, 2.4vw, 32px); line-height: 1.35; letter-spacing: -.02em; font-weight: 600; max-width: 26ch; }
.quote cite { display: block; margin-top: 28px; font-style: normal; font-size: 14px; color: #a9bccf; position: relative; }
.quote cite b { color: #fff; display: block; }

/* ---------- CTA strip ---------- */
.cta-strip { position: relative; background: var(--navy); color: #fff; padding: clamp(72px, 8vw, 110px) 0; overflow: hidden; }
.cta-strip::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(700px 400px at 10% 50%, rgba(0,76,147,.6), transparent 60%),
    radial-gradient(600px 400px at 90% 50%, rgba(47,183,255,.28), transparent 60%);
}
.cta-strip::after {
  content: ""; position: absolute; inset: 0; opacity: .12; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.2) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.2) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse at center, #000, transparent 70%); mask-image: radial-gradient(ellipse at center, #000, transparent 70%);
}
.cta-strip .wrap { position: relative; display: flex; justify-content: space-between; gap: 32px; align-items: center; }
.cta-strip h2 { max-width: 20ch; margin-bottom: 8px; }
.cta-strip p { color: #a9bccf; margin-top: 8px; max-width: 52ch; font-size: 17px; }

/* ---------- Footer ---------- */
.footer { background: #030910; color: #9fb1c6; padding: 80px 0 32px; position: relative; overflow: hidden; }
.footer::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(47,183,255,.6), transparent); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; margin-bottom: 56px; }
.footer .logo img { height: 20px; }
.footer p { font-size: 14px; line-height: 1.7; }
.footer h4 { color: #fff; margin-bottom: 18px; font-family: var(--font-mono); font-size: 11px; letter-spacing: .22em; text-transform: uppercase; }
.footer a { text-decoration: none; display: block; margin: 9px 0; color: #9fb1c6; font-size: 14.5px; transition: color .2s, transform .3s var(--ease-out); width: fit-content; }
.footer a:hover { color: #fff; transform: translateX(4px); }
.footer-badges { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 22px; }
.footer-badges span { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; padding: 6px 10px; border: 1px solid rgba(255,255,255,.12); border-radius: 6px; color: #c9d7e8; }
.legal { border-top: 1px solid rgba(255,255,255,.08); padding-top: 24px; font-size: 12.5px; color: #6f7f92; display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.legal a { display: inline; margin: 0 0 0 16px; font-size: 12.5px; }
.to-top {
  position: fixed; right: 28px; bottom: 28px; width: 48px; height: 48px; border-radius: 50%; border: 0; cursor: pointer; z-index: 120;
  background: var(--brand); color: #fff; box-shadow: var(--shadow); display: grid; place-items: center;
  opacity: 0; transform: translateY(16px); pointer-events: none; transition: opacity .4s, transform .4s var(--ease-out), background .3s;
}
.to-top.show { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { background: var(--brand-bright); }
.to-top svg { width: 18px; height: 18px; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease-out), transform .9s var(--ease-out); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .1s; }
.reveal[data-delay="2"] { transition-delay: .2s; }
.reveal[data-delay="3"] { transition-delay: .3s; }
.reveal[data-delay="4"] { transition-delay: .4s; }
.reveal[data-delay="5"] { transition-delay: .5s; }

/* ---------- Utilities ---------- */
.mt-0 { margin-top: 0 !important; } .mb-0 { margin-bottom: 0 !important; }
.mt-lg { margin-top: 48px; }
.divider { height: 1px; background: var(--line); margin: 48px 0; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .timeline { grid-template-columns: repeat(3, 1fr); row-gap: 40px; }
  .timeline::before { display: none; }
  .stats, .perks { grid-template-columns: 1fr 1fr; }
  .stats > div:nth-child(2n) { border-right: 0; }
  .stats > div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .band .float-card { display: none; }
}
@media (max-width: 980px) {
  .nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0; background: #fff;
    flex-direction: column; align-items: stretch; padding: 16px 24px 24px; border-bottom: 1px solid var(--line); gap: 4px;
    box-shadow: 0 30px 60px -20px rgba(5,13,26,.3);
  }
  .nav.open { display: flex; animation: fadeUp .35s var(--ease-out); }
  .nav a { padding: 14px 12px; font-size: 16px; }
  .nav a.active::after { display: none; }
  .nav-cta { margin: 10px 0 0; justify-content: center; }
  .burger { display: block; }
  .grid-2, .grid-3, .grid-4, .hero-stats, .quality-list, .footer-grid, .form-row { grid-template-columns: 1fr; }
  .grid-2 { gap: 40px; }
  .hero-stats { grid-template-columns: 1fr 1fr; }
  .cta-strip .wrap, .job, .section-head.split { flex-direction: column; align-items: flex-start; }
  .hero { min-height: 92svh; }
  .hero-content { padding: 110px 0 70px; }
  .hero-scroll { display: none; }
  .photo img { height: 340px; }
  .quote { padding: 40px 28px; }
  .band-content { padding: 80px 0; }
  .topbar-links { display: none; }
  .form { padding: 28px 22px; }
}
@media (max-width: 560px) {
  .container { width: calc(100% - 32px); }
  .hero-stats, .stats, .perks { grid-template-columns: 1fr; }
  .stats > div { border-right: 0; border-bottom: 1px solid var(--line); }
  .hero-actions .btn, .actions .btn { width: 100%; }
  .timeline { grid-template-columns: 1fr; }
  .logo-sub { display: none; }
  .to-top { right: 16px; bottom: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
  .hero h1 .line > span { transform: none; }
  .hero-lead, .hero-actions, .hero-badge, .hero-stats, .page-hero .lead, .page-hero .eyebrow, .page-hero h1, .page-hero .crumbs { opacity: 1; }
}
