/* ============================================================
   AirLinksin — Futuristic UI
   Palette derived from logo: deep teal + bright cyan on white
   ============================================================ */

:root {
  --teal-900: #0a4f5c;
  --teal-700: #0c6a7a;
  --teal-500: #1593a8;
  --cyan-400: #3fc6da;
  --cyan-300: #6fdcec;
  --cyan-100: #d4f5fa;

  --ink: #0d2a30;
  --body: #41555a;
  --muted: #6f868c;
  --line: #e3eef0;

  --bg: #ffffff;
  --bg-soft: #f5fbfc;

  --grad: linear-gradient(120deg, var(--teal-700) 0%, var(--teal-500) 45%, var(--cyan-400) 100%);
  --grad-soft: linear-gradient(135deg, #f3fcfd 0%, #e7f8fb 100%);

  --shadow-sm: 0 4px 14px rgba(12, 106, 122, 0.08);
  --shadow-md: 0 14px 40px rgba(12, 106, 122, 0.14);
  --shadow-glow: 0 0 0 1px rgba(63, 198, 218, 0.25), 0 18px 50px rgba(21, 147, 168, 0.18);

  --radius: 18px;
  --radius-lg: 28px;
  --maxw: 1180px;
  --nav-h: 76px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--body);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  color: var(--ink);
  line-height: 1.12;
  font-weight: 800;
  letter-spacing: -0.02em;
}

a { color: var(--teal-500); text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: var(--cyan-400); }

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

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--teal-500);
  padding: 7px 14px; border-radius: 999px;
  background: var(--cyan-100);
  border: 1px solid rgba(63,198,218,.3);
}
.eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--cyan-400); box-shadow: 0 0 0 4px rgba(63,198,218,.25); }

.gradient-text {
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  font-weight: 700; font-size: .96rem;
  padding: 14px 26px; border-radius: 999px;
  cursor: pointer; border: 0; transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease);
  white-space: nowrap;
}
.btn-primary { background: var(--grad); color: #fff; box-shadow: var(--shadow-glow); }
.btn-primary:hover { transform: translateY(-2px); color: #fff; box-shadow: 0 0 0 1px rgba(63,198,218,.4), 0 22px 55px rgba(21,147,168,.32); }
.btn-ghost { background: #fff; color: var(--teal-700); border: 1.5px solid var(--line); box-shadow: var(--shadow-sm); }
.btn-ghost:hover { transform: translateY(-2px); color: var(--teal-700); border-color: var(--cyan-300); }
.btn svg { width: 18px; height: 18px; }

/* ---------- Navbar ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--nav-h);
  display: flex; align-items: center;
  background: rgba(255,255,255,.72);
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease), background .3s var(--ease);
}
.nav.scrolled { border-color: var(--line); box-shadow: 0 6px 24px rgba(12,106,122,.06); }
.nav .container { display: flex; align-items: center; justify-content: space-between; }

.brand { display: flex; align-items: center; gap: 11px; font-weight: 800; font-size: 1.22rem; color: var(--ink); letter-spacing: -.02em; }
.brand img { width: 38px; height: 38px; }
.brand b { color: var(--teal-500); }

.nav-links { display: flex; align-items: center; gap: 4px; list-style: none; }
.nav-links a {
  color: var(--body); font-weight: 600; font-size: .94rem;
  padding: 9px 14px; border-radius: 10px; position: relative;
  transition: color .2s var(--ease), background .2s var(--ease);
}
.nav-links a:hover { color: var(--teal-700); background: var(--bg-soft); }
.nav-links a.active { color: var(--teal-700); }
.nav-links a.active::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 2px; height: 2px;
  background: var(--grad); border-radius: 2px;
}
.nav-cta { margin-left: 8px; }

.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--ink); border-radius: 2px; transition: .3s var(--ease); }
.nav-toggle span + span { margin-top: 6px; }
.nav-toggle.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; padding: calc(var(--nav-h) + 80px) 0 110px;
  background: var(--grad-soft);
  overflow: hidden;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(21,147,168,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(21,147,168,.05) 1px, transparent 1px);
  background-size: 46px 46px;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 70% 20%, #000 30%, transparent 75%);
  mask-image: radial-gradient(ellipse 80% 70% at 70% 20%, #000 30%, transparent 75%);
}
.orb { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .55; z-index: 0; }
.orb-1 { width: 460px; height: 460px; background: radial-gradient(circle, #8fe6f0, transparent 65%); top: -140px; right: -120px; }
.orb-2 { width: 380px; height: 380px; background: radial-gradient(circle, #3fc6da, transparent 68%); bottom: -160px; left: -120px; opacity: .35; }

.hero .container { position: relative; z-index: 2; display: grid; grid-template-columns: 1.05fr .95fr; gap: 50px; align-items: center; }
.hero h1 { font-size: clamp(2.4rem, 5vw, 3.7rem); margin: 22px 0 18px; }
.hero p.lead { font-size: 1.15rem; max-width: 560px; color: var(--body); }
.hero-actions { display: flex; gap: 14px; margin-top: 30px; flex-wrap: wrap; }

.hero-stats { display: flex; gap: 34px; margin-top: 46px; flex-wrap: wrap; }
.hero-stats .num { font-size: 2rem; font-weight: 800; color: var(--ink); }
.hero-stats .lbl { font-size: .82rem; color: var(--muted); font-weight: 600; }

/* hero visual card */
.hero-visual { position: relative; }
.glass-card {
  background: rgba(255,255,255,.7);
  border: 1px solid rgba(255,255,255,.9);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(14px);
  padding: 26px;
}
.glass-card .pulse-logo { margin: 6px auto 18px; animation: float 5s ease-in-out infinite; }
@keyframes float { 0%,100%{ transform: translateY(0); } 50%{ transform: translateY(-12px); } }
.mini-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.mini { background: var(--bg-soft); border: 1px solid var(--line); border-radius: 14px; padding: 16px; }
.mini .ic { width: 34px; height: 34px; border-radius: 10px; background: var(--grad); display: grid; place-items: center; margin-bottom: 10px; }
.mini .ic svg { width: 18px; height: 18px; color: #fff; }
.mini h4 { font-size: .98rem; margin-bottom: 2px; }
.mini p { font-size: .8rem; color: var(--muted); }

/* ---------- Sections ---------- */
section { position: relative; }
.section { padding: 92px 0; }
.section.alt { background: var(--bg-soft); }
.section-head { max-width: 680px; margin: 0 auto 56px; text-align: center; }
.section-head h2 { font-size: clamp(1.9rem, 3.5vw, 2.7rem); margin: 16px 0 14px; }
.section-head p { font-size: 1.06rem; color: var(--muted); }

/* ---------- Cards grid ---------- */
.grid { display: grid; gap: 22px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px; box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
  position: relative; overflow: hidden;
}
.card::after {
  content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 100%;
  background: var(--grad); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--cyan-300); }
.card:hover::after { transform: scaleX(1); }
.card .icon {
  width: 54px; height: 54px; border-radius: 15px; display: grid; place-items: center;
  background: var(--cyan-100); color: var(--teal-500); margin-bottom: 18px;
  transition: background .3s var(--ease), color .3s var(--ease);
}
.card:hover .icon { background: var(--grad); color: #fff; }
.card .icon svg { width: 26px; height: 26px; }
.card h3 { font-size: 1.22rem; margin-bottom: 9px; }
.card p { font-size: .96rem; color: var(--body); }
.card .num-badge { font-size: .8rem; font-weight: 800; color: var(--cyan-400); letter-spacing: .1em; }

/* ---------- Split feature ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split.reverse .split-media { order: 2; }
.split-media {
  border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md);
  background: var(--grad); aspect-ratio: 4/3; position: relative;
}
.split-media .badge-float {
  position: absolute; bottom: 18px; left: 18px; background: rgba(255,255,255,.92);
  border-radius: 14px; padding: 12px 16px; box-shadow: var(--shadow-sm); font-weight: 700; color: var(--ink); font-size: .9rem;
  display: flex; align-items: center; gap: 9px;
}
.split-text h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); margin: 14px 0 16px; }
.split-text p { margin-bottom: 14px; }
.check-list { list-style: none; margin-top: 18px; display: grid; gap: 12px; }
.check-list li { display: flex; gap: 11px; align-items: flex-start; font-weight: 500; color: var(--body); }
.check-list .tick { flex: 0 0 22px; width: 22px; height: 22px; border-radius: 50%; background: var(--grad); display: grid; place-items: center; margin-top: 2px; }
.check-list .tick svg { width: 13px; height: 13px; color: #fff; }

/* media placeholder illustration */
.media-illu { position: absolute; inset: 0; display: grid; place-items: center; }
.media-illu svg { width: 56%; height: auto; opacity: .95; }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; counter-reset: step; }
.step { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px 28px; position: relative; box-shadow: var(--shadow-sm); }
.step .step-no {
  width: 46px; height: 46px; border-radius: 13px; background: var(--grad); color: #fff;
  font-weight: 800; font-size: 1.15rem; display: grid; place-items: center; margin-bottom: 16px;
}
.step h3 { font-size: 1.15rem; margin-bottom: 8px; }
.step p { font-size: .95rem; }

/* ---------- Stats band ---------- */
.band { background: var(--grad); color: #fff; border-radius: var(--radius-lg); padding: 50px; box-shadow: var(--shadow-glow); }
.band .grid-4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; text-align: center; }
.band .num { font-size: 2.6rem; font-weight: 800; color: #fff; }
.band .lbl { font-size: .92rem; opacity: .9; }

/* ---------- Tables (careers) ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
table { width: 100%; border-collapse: collapse; font-size: .94rem; min-width: 640px; }
thead th { background: var(--grad); color: #fff; text-align: left; padding: 15px 18px; font-weight: 700; font-size: .82rem; letter-spacing: .05em; text-transform: uppercase; }
tbody td { padding: 14px 18px; border-bottom: 1px solid var(--line); }
tbody tr:hover { background: var(--bg-soft); }
.pill { display: inline-block; padding: 4px 12px; border-radius: 999px; font-size: .76rem; font-weight: 700; }
.pill-remote { background: #e7f8fb; color: var(--teal-700); }
.pill-hybrid { background: #fef3e2; color: #b5731a; }
.pill-onsite { background: #eef0ff; color: #4250b5; }
.pill-closed { background: #fdeaea; color: #c0464a; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.info-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow-sm); margin-bottom: 18px; }
.info-card h3 { font-size: 1.05rem; margin-bottom: 6px; }
.info-card p { font-size: .94rem; color: var(--body); }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 600; font-size: .9rem; color: var(--ink); margin-bottom: 7px; }
.field input, .field textarea {
  width: 100%; padding: 13px 16px; border: 1.5px solid var(--line); border-radius: 12px;
  font: inherit; color: var(--ink); background: var(--bg-soft); transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--cyan-400); box-shadow: 0 0 0 4px rgba(63,198,218,.16); background: #fff; }
.field textarea { resize: vertical; min-height: 130px; }

/* ---------- CTA band ---------- */
.cta-band { text-align: center; }
.cta-inner { background: var(--grad); border-radius: var(--radius-lg); padding: 64px 40px; color: #fff; box-shadow: var(--shadow-glow); position: relative; overflow: hidden; }
.cta-inner::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(circle at 20% 20%, rgba(255,255,255,.18), transparent 40%), radial-gradient(circle at 85% 80%, rgba(255,255,255,.14), transparent 45%); }
.cta-inner h2 { color: #fff; font-size: clamp(1.8rem,3.4vw,2.6rem); margin-bottom: 14px; position: relative; }
.cta-inner p { color: rgba(255,255,255,.92); max-width: 560px; margin: 0 auto 28px; position: relative; }
.cta-inner .btn-ghost { background: #fff; color: var(--teal-700); border: 0; position: relative; }

/* ---------- Page header (subpages) ---------- */
.page-head { padding: calc(var(--nav-h) + 64px) 0 64px; background: var(--grad-soft); position: relative; overflow: hidden; text-align: center; }
.page-head::before { content:""; position:absolute; inset:0; background-image: linear-gradient(rgba(21,147,168,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(21,147,168,.05) 1px, transparent 1px); background-size: 46px 46px; -webkit-mask-image: radial-gradient(ellipse 70% 80% at 50% 0%, #000 40%, transparent 80%); mask-image: radial-gradient(ellipse 70% 80% at 50% 0%, #000 40%, transparent 80%); }
.page-head .container { position: relative; z-index: 2; }
.page-head h1 { font-size: clamp(2.1rem, 4.4vw, 3.1rem); margin: 18px 0 14px; }
.page-head p { font-size: 1.1rem; color: var(--body); max-width: 640px; margin: 0 auto; }
.crumbs { font-size: .85rem; color: var(--muted); }
.crumbs a { color: var(--teal-500); }

/* ---------- Footer ---------- */
.footer { background: #06343d; color: #b9d6db; padding: 70px 0 28px; position: relative; }
.footer h4 { color: #fff; font-size: 1rem; margin-bottom: 16px; letter-spacing: .02em; }
.footer .f-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 36px; }
.footer .brand { color: #fff; margin-bottom: 14px; }
.footer .brand b { color: var(--cyan-300); }
.footer p { font-size: .92rem; color: #9fc4ca; }
.footer ul { list-style: none; display: grid; gap: 10px; }
.footer ul a { color: #b9d6db; font-size: .92rem; }
.footer ul a:hover { color: var(--cyan-300); }
.f-contact li { display: flex; gap: 10px; font-size: .9rem; margin-bottom: 12px; color: #b9d6db; }
.f-contact svg { width: 17px; height: 17px; flex: 0 0 17px; color: var(--cyan-300); margin-top: 3px; }
.socials { display: flex; gap: 10px; margin-top: 18px; }
.socials a { width: 38px; height: 38px; border-radius: 10px; background: rgba(255,255,255,.07); display: grid; place-items: center; color: #cfe9ed; transition: background .25s var(--ease), transform .25s var(--ease); }
.socials a:hover { background: var(--grad); color: #fff; transform: translateY(-2px); }
.socials svg { width: 18px; height: 18px; }
.f-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 44px; padding-top: 22px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: .85rem; color: #8fb6bc; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero .container { grid-template-columns: 1fr; }
  .hero-visual { max-width: 480px; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .split, .split.reverse .split-media { grid-template-columns: 1fr; order: 0; }
  .steps { grid-template-columns: 1fr; }
  .band .grid-4 { grid-template-columns: 1fr 1fr; }
  .footer .f-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .nav-links {
    position: fixed; top: var(--nav-h); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; padding: 12px; border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    transform: translateY(-12px); opacity: 0; pointer-events: none; transition: .3s var(--ease);
  }
  .nav-links.open { transform: none; opacity: 1; pointer-events: auto; }
  .nav-links a { padding: 14px; border-radius: 10px; }
  .nav-links a.active::after { display: none; }
  .nav-cta { margin: 8px 0 0; }
  .nav-toggle { display: block; }
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .band .grid-4 { grid-template-columns: 1fr 1fr; }
  .footer .f-grid { grid-template-columns: 1fr; }
  .band, .cta-inner { padding: 40px 24px; }
}

/* ============================================================
   Imagery (added) — card media, split photos, page banners
   ============================================================ */
.card-media {
  margin: -30px -30px 22px; height: 168px; overflow: hidden;
  border-bottom: 1px solid var(--line); background: var(--bg-soft);
}
.card-media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .55s var(--ease); }
.card:hover .card-media img { transform: scale(1.06); }

.split-media img.split-photo,
.split-photo { width: 100%; height: 100%; object-fit: cover; display: block; }

.page-banner { margin-top: 48px; }
.page-banner .frame {
  border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md);
  border: 1px solid var(--line); position: relative; aspect-ratio: 21 / 7;
}
.page-banner .frame img { width: 100%; height: 100%; object-fit: cover; display: block; }
.page-banner .frame::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(6,52,61,.18), transparent 55%);
}

/* feature strip of 3 framed images */
.img-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 8px; }
.img-strip .shot { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid var(--line); aspect-ratio: 4/3; }
.img-strip .shot img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s var(--ease); }
.img-strip .shot:hover img { transform: scale(1.05); }

@media (max-width: 720px) {
  .img-strip { grid-template-columns: 1fr; }
  .page-banner .frame { aspect-ratio: 16/9; }
}
