:root {
  --navy-950: #07111f;
  --navy-900: #0f1b2d;
  --navy-800: #172943;
  --blue: #1677ff;
  --blue-dark: #075fd6;
  --blue-pale: #eaf3ff;
  --white: #ffffff;
  --ink: #132033;
  --muted: #5d6a7d;
  --line: #dce4ee;
  --surface: #f5f8fc;
  --success: #16825d;
  --shadow: 0 18px 50px rgba(15, 27, 45, 0.1);
  --radius: 20px;
  --max-width: 1180px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

body.menu-open,
body.lightbox-open { overflow: hidden; }

a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }

:focus-visible {
  outline: 3px solid rgba(22, 119, 255, 0.45);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  left: 1rem;
  top: -5rem;
  z-index: 200;
  padding: 0.75rem 1rem;
  border-radius: 10px;
  color: var(--white);
  background: var(--blue);
  font-weight: 800;
}

.skip-link:focus { top: 1rem; }

.container {
  width: min(calc(100% - 2rem), var(--max-width));
  margin-inline: auto;
}

.section { padding: 5rem 0; }
.section-sm { padding: 3rem 0; }
.section-alt { background: var(--surface); }
.section-dark { color: var(--white); background: var(--navy-900); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0 0 0.85rem;
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.14em;
  line-height: 1.3;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 1.7rem;
  height: 2px;
  background: currentColor;
  content: "";
}

.section-dark .eyebrow { color: #6eacff; }

h1, h2, h3 {
  margin: 0 0 1rem;
  font-weight: 850;
  letter-spacing: -0.035em;
  line-height: 1.12;
}

h1 { font-size: clamp(2.65rem, 8vw, 5.5rem); }
h2 { font-size: clamp(2rem, 5vw, 3.4rem); }
h3 { font-size: 1.35rem; }
p { margin: 0 0 1rem; }

.lead {
  max-width: 680px;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.22rem);
}

.section-dark .lead { color: #b8c7da; }
.center { text-align: center; }
.center .lead { margin-inline: auto; }

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.7rem;
}

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.85rem 1.25rem;
  border: 2px solid transparent;
  border-radius: 12px;
  color: var(--white);
  background: var(--blue);
  box-shadow: 0 10px 24px rgba(22, 119, 255, 0.22);
  font-weight: 800;
  line-height: 1.2;
  transition: transform 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.button:hover { background: var(--blue-dark); transform: translateY(-2px); }
.button-light { color: var(--navy-900); background: var(--white); box-shadow: none; }
.button-light:hover { background: #eaf3ff; }
.button-outline { border-color: rgba(255, 255, 255, 0.4); background: transparent; box-shadow: none; }
.button-outline:hover { border-color: var(--white); background: rgba(255, 255, 255, 0.08); }
.button-dark { background: var(--navy-900); box-shadow: none; }
.button-dark:hover { background: var(--navy-800); }
.text-link { color: var(--blue-dark); font-weight: 800; }
.text-link:hover { text-decoration: underline; text-underline-offset: 4px; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(220, 228, 238, 0.85);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
}

.header-inner {
  display: flex;
  min-height: 76px;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand { display: inline-flex; align-items: center; gap: 0.7rem; }
.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 11px;
  color: var(--white);
  background: var(--navy-900);
  font-size: 0.9rem;
  font-weight: 900;
  letter-spacing: -0.05em;
}
.brand-text { display: grid; color: var(--navy-900); font-size: 1.05rem; font-weight: 900; line-height: 1.05; }
.brand-text small { margin-top: 0.25rem; color: var(--muted); font-size: 0.62rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }

.nav-toggle {
  display: grid;
  width: 48px;
  height: 48px;
  padding: 0;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 11px;
  color: var(--navy-900);
  background: var(--white);
}

.nav-toggle-lines,
.nav-toggle-lines::before,
.nav-toggle-lines::after {
  width: 21px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  content: "";
  transition: transform 180ms ease, opacity 180ms ease;
}
.nav-toggle-lines { position: relative; }
.nav-toggle-lines::before { position: absolute; left: 0; top: -7px; }
.nav-toggle-lines::after { position: absolute; left: 0; top: 7px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-lines { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-lines::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-lines::after { top: 0; transform: rotate(-45deg); }

.site-nav {
  position: fixed;
  inset: 77px 0 auto;
  display: none;
  max-height: calc(100vh - 77px);
  padding: 1rem;
  overflow-y: auto;
  border-bottom: 1px solid var(--line);
  background: var(--white);
  box-shadow: var(--shadow);
}
.site-nav.is-open { display: block; }
.nav-list { display: grid; gap: 0.2rem; margin: 0; padding: 0; list-style: none; }
.nav-list a { display: block; padding: 0.9rem 1rem; border-radius: 10px; font-weight: 750; }
.nav-list a:hover, .nav-list a[aria-current="page"] { color: var(--blue-dark); background: var(--blue-pale); }
.nav-list .nav-call { margin-top: 0.45rem; color: var(--white); background: var(--navy-900); text-align: center; }
.nav-list .nav-call:hover { color: var(--white); background: var(--navy-800); }

/* Hero */
.hero {
  position: relative;
  display: grid;
  min-height: 680px;
  align-items: center;
  overflow: hidden;
  color: var(--white);
  background:
    radial-gradient(circle at 82% 28%, rgba(22, 119, 255, 0.28), transparent 25%),
    linear-gradient(115deg, var(--navy-950) 0%, var(--navy-900) 62%, #102a50 100%);
}

.hero::before {
  position: absolute;
  inset: 0;
  opacity: 0.24;
  background-image: linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 52px 52px;
  content: "";
  mask-image: linear-gradient(to right, transparent, black 50%);
}

.hero::after {
  position: absolute;
  right: -140px;
  bottom: -240px;
  width: 600px;
  height: 600px;
  border: 90px solid rgba(255, 255, 255, 0.035);
  border-radius: 50%;
  content: "";
}

.hero-grid { position: relative; z-index: 1; display: grid; gap: 2.5rem; padding: 6rem 0; }
.hero-copy { max-width: 800px; }
.hero h1 { max-width: 850px; }
.hero .lead { max-width: 680px; color: #c4d2e5; }
.hero-note { display: flex; align-items: center; gap: 0.65rem; margin-top: 1.5rem; color: #c4d2e5; font-size: 0.92rem; }
.hero-note svg { width: 19px; color: #70adff; }

.hero-panel {
  position: relative;
  max-width: 420px;
  padding: 1.4rem;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: var(--radius);
  background: rgba(255,255,255,.07);
  backdrop-filter: blur(12px);
}
.hero-panel strong { display: block; margin-bottom: 0.75rem; font-size: 1.2rem; }
.hero-panel ul { display: grid; gap: 0.65rem; margin: 0; padding: 0; list-style: none; }
.hero-panel li { display: flex; align-items: center; gap: 0.6rem; color: #dbe7f6; }
.hero-panel li::before { width: 8px; height: 8px; flex: 0 0 auto; border-radius: 50%; background: #5da3ff; content: ""; }

.trust-bar { position: relative; z-index: 3; margin-top: -1px; border-bottom: 1px solid var(--line); background: var(--white); }
.trust-grid { display: grid; grid-template-columns: 1fr 1fr; }
.trust-item { display: grid; min-height: 102px; align-content: center; padding: 1rem; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.trust-item:nth-child(even) { border-right: 0; }
.trust-item strong { color: var(--navy-900); font-size: 0.93rem; }
.trust-item span { color: var(--muted); font-size: 0.76rem; }

/* Cards and grids */
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 2rem; margin-bottom: 2.5rem; }
.section-heading > div { max-width: 700px; }
.cards-4 { display: grid; gap: 1rem; }
.card {
  padding: 1.6rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 12px 32px rgba(15, 27, 45, 0.05);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}
.card:hover { border-color: #b7d4fb; box-shadow: var(--shadow); transform: translateY(-4px); }
.icon-box { display: grid; width: 52px; height: 52px; margin-bottom: 1.3rem; place-items: center; border-radius: 14px; color: var(--blue); background: var(--blue-pale); }
.icon-box svg { width: 26px; height: 26px; }
.card p { color: var(--muted); }

.why-grid, .split-grid, .contact-grid, .about-grid, .service-detail { display: grid; gap: 1.2rem; }
.why-item { padding: 1.4rem 0; border-top: 1px solid rgba(220, 228, 238, 0.22); }
.why-number { display: block; margin-bottom: 0.9rem; color: #69aaff; font-size: 0.8rem; font-weight: 850; letter-spacing: 0.1em; }
.why-item p { color: #b8c7da; }

.audience-card { position: relative; min-height: 390px; padding: 2rem; overflow: hidden; border-radius: 24px; color: var(--white); background: var(--navy-900); }
.audience-card.business { background: linear-gradient(140deg, #0c4fa9, #0f1b2d); }
.audience-card::after { position: absolute; right: -55px; bottom: -55px; width: 180px; height: 180px; border: 40px solid rgba(255,255,255,.06); border-radius: 50%; content: ""; }
.audience-card > * { position: relative; z-index: 1; }
.audience-card p { max-width: 500px; color: #c7d4e5; }
.audience-label { display: inline-block; margin-bottom: 5rem; color: #81b6ff; font-size: 0.75rem; font-weight: 850; letter-spacing: 0.12em; text-transform: uppercase; }

/* Project placeholders */
.work-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.75rem; }
.work-tile { position: relative; min-height: 180px; overflow: hidden; border-radius: 16px; color: var(--white); background: linear-gradient(145deg, #19375b, #091423); }
.work-tile::before { position: absolute; inset: 0; opacity: 0.32; background: repeating-linear-gradient(135deg, transparent 0 18px, rgba(255,255,255,.05) 18px 19px); content: ""; }
.work-tile::after { position: absolute; top: 28%; left: 50%; width: 52px; height: 30px; border: 5px solid rgba(255,255,255,.7); border-radius: 9px 9px 18px 18px; content: ""; transform: translateX(-50%); }
.work-tile span { position: absolute; right: 0.9rem; bottom: 0.8rem; left: 0.9rem; z-index: 1; font-size: 0.8rem; font-weight: 750; }
.work-tile:hover::before { opacity: 0.52; }

/* Forms */
.quote-wrap { display: grid; gap: 2rem; }
.quote-copy { max-width: 520px; }
.quote-copy .callout { margin-top: 2rem; padding: 1.2rem; border-left: 4px solid var(--blue); border-radius: 0 12px 12px 0; background: var(--blue-pale); }
.quote-form { padding: 1.4rem; border: 1px solid var(--line); border-radius: 24px; background: var(--white); box-shadow: var(--shadow); }
.form-grid { display: grid; gap: 1rem; }
.field { display: grid; gap: 0.4rem; }
.field label, .field legend { color: var(--navy-900); font-size: 0.88rem; font-weight: 800; }
.field label span { color: var(--blue-dark); }
.field input, .field select, .field textarea {
  width: 100%;
  min-height: 50px;
  padding: 0.75rem 0.85rem;
  border: 1px solid #cdd8e6;
  border-radius: 10px;
  color: var(--ink);
  background: #fbfcfe;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--blue); outline: 3px solid rgba(22,119,255,.12); }
.field-full { grid-column: 1 / -1; }
fieldset.field { margin: 0; padding: 0; border: 0; }
.radio-group { display: flex; gap: 0.7rem; }
.radio-option { display: flex; flex: 1; min-height: 50px; align-items: center; gap: 0.55rem; padding: 0.7rem 0.8rem; border: 1px solid #cdd8e6; border-radius: 10px; background: #fbfcfe; }
.radio-option input { width: 18px; min-height: auto; accent-color: var(--blue); }
.form-footer { display: grid; gap: 0.8rem; margin-top: 1rem; }
.form-footer .button { width: 100%; border: 0; }
.form-note { margin: 0; color: var(--muted); font-size: 0.83rem; text-align: center; }
.form-success { display: none; padding: 1rem; border-radius: 12px; color: #0a5e42; background: #e7f7f1; font-weight: 750; }
.form-success.is-visible { display: block; }

/* Inner pages */
.page-hero { position: relative; padding: 6.5rem 0 5rem; overflow: hidden; color: var(--white); background: linear-gradient(120deg, var(--navy-950), #12315a); }
.page-hero::after { position: absolute; top: -190px; right: -90px; width: 460px; height: 460px; border: 70px solid rgba(255,255,255,.035); border-radius: 50%; content: ""; }
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { max-width: 880px; font-size: clamp(2.6rem, 7vw, 4.7rem); }
.page-hero .lead { color: #c3d2e4; }
.breadcrumbs { margin-bottom: 1.2rem; color: #98abc2; font-size: 0.85rem; }
.breadcrumbs a:hover { color: var(--white); }

.photo-placeholder { position: relative; display: grid; min-height: 420px; place-items: center; overflow: hidden; border-radius: 24px; color: #bcd0e8; background: linear-gradient(145deg, #183657, #081321); text-align: center; }
.photo-placeholder::before { position: absolute; width: 240px; height: 240px; border: 50px solid rgba(255,255,255,.05); border-radius: 50%; content: ""; }
.photo-placeholder span { position: relative; z-index: 1; max-width: 220px; padding: 1rem; font-weight: 750; }
.stat-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.7rem; margin-top: 1.5rem; }
.stat { padding: 1.2rem; border-radius: 14px; background: var(--surface); }
.stat strong { display: block; color: var(--blue-dark); font-size: 1.3rem; }
.stat span { color: var(--muted); font-size: 0.84rem; }

.service-detail { padding: 3rem 0; border-bottom: 1px solid var(--line); scroll-margin-top: 92px; }
.service-detail:last-child { border-bottom: 0; }
.service-number { color: var(--blue); font-size: 0.76rem; font-weight: 900; letter-spacing: 0.14em; text-transform: uppercase; }
.service-list { display: grid; gap: 0.7rem; margin: 1.3rem 0; padding: 0; list-style: none; }
.service-list li { display: flex; gap: 0.65rem; }
.service-list li::before { color: var(--blue); content: "✓"; font-weight: 900; }
.use-case { padding: 1.3rem; border-radius: 14px; background: var(--surface); }
.use-case + .use-case { margin-top: 0.8rem; }
.use-case strong { display: block; margin-bottom: 0.35rem; }
.use-case p { margin: 0; color: var(--muted); font-size: 0.92rem; }
.brand-note { margin-top: 1rem; color: var(--muted); font-size: 0.88rem; }

.gallery-grid { display: grid; gap: 1rem; }
.gallery-item { padding: 0; overflow: hidden; border: 0; border-radius: 16px; color: var(--white); background: var(--navy-900); text-align: left; box-shadow: 0 10px 28px rgba(15,27,45,.1); }
.gallery-visual { position: relative; min-height: 250px; background: linear-gradient(145deg, #1c406b, #091321); }
.gallery-visual::before { position: absolute; inset: 0; opacity: .28; background: repeating-linear-gradient(45deg, transparent 0 24px, rgba(255,255,255,.06) 24px 25px); content: ""; }
.gallery-visual::after { position: absolute; top: 50%; left: 50%; width: 64px; height: 38px; border: 6px solid rgba(255,255,255,.72); border-radius: 12px 12px 22px 22px; content: ""; transform: translate(-50%,-50%); }
.gallery-item:nth-child(3n+2) .gallery-visual { background: linear-gradient(145deg, #1351a5, #0a1a30); }
.gallery-item:nth-child(3n+3) .gallery-visual { background: linear-gradient(145deg, #40516a, #0b1625); }
.gallery-caption { display: block; padding: 1rem; font-size: 0.88rem; font-weight: 750; }
.gallery-item:hover .gallery-visual { filter: brightness(1.15); }

.lightbox { position: fixed; inset: 0; z-index: 300; display: none; place-items: center; padding: 1rem; background: rgba(3,10,19,.92); }
.lightbox.is-open { display: grid; }
.lightbox-dialog { width: min(900px, 100%); }
.lightbox-visual { position: relative; min-height: min(65vh, 620px); border-radius: 18px; background: linear-gradient(145deg, #1c406b, #091321); }
.lightbox-visual::after { position: absolute; top: 50%; left: 50%; width: 100px; height: 58px; border: 9px solid rgba(255,255,255,.72); border-radius: 16px 16px 30px 30px; content: ""; transform: translate(-50%,-50%); }
.lightbox-caption { margin: 1rem 0 0; color: var(--white); text-align: center; }
.lightbox-close { position: absolute; top: 1rem; right: 1rem; display: grid; width: 48px; height: 48px; place-items: center; border: 1px solid rgba(255,255,255,.25); border-radius: 50%; color: var(--white); background: rgba(255,255,255,.08); font-size: 1.6rem; }

.contact-card { padding: 1.4rem; border: 1px solid var(--line); border-radius: 16px; }
.contact-card span { display: block; color: var(--muted); font-size: 0.8rem; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; }
.contact-card strong, .contact-card a { color: var(--navy-900); font-size: 1.08rem; font-weight: 850; }
.map-wrap { min-height: 380px; overflow: hidden; border-radius: 20px; background: var(--surface); }
.map-wrap iframe { width: 100%; height: 420px; border: 0; }

.cta-band { padding: 3rem 0; color: var(--white); background: linear-gradient(100deg, var(--blue-dark), #0c3978); }
.cta-band-inner { display: grid; gap: 1.5rem; align-items: center; }
.cta-band h2 { margin-bottom: 0.5rem; font-size: clamp(1.8rem, 4vw, 2.7rem); }
.cta-band p { margin: 0; color: #d8e8ff; }

/* Footer */
.site-footer { padding: 4rem 0 6.5rem; color: #b7c6d8; background: var(--navy-950); }
.footer-grid { display: grid; gap: 2.5rem; }
.footer-brand .brand-text { color: var(--white); }
.footer-brand .brand-mark { color: var(--navy-900); background: var(--white); }
.footer-brand p { max-width: 350px; margin-top: 1.2rem; }
.footer-heading { margin: 0 0 1rem; color: var(--white); font-size: 0.78rem; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
.footer-links { display: grid; gap: 0.55rem; margin: 0; padding: 0; list-style: none; }
.footer-links a:hover { color: var(--white); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; margin-top: 3rem; padding-top: 1.3rem; border-top: 1px solid rgba(255,255,255,.1); font-size: 0.78rem; }

.mobile-call-bar { position: fixed; right: 0; bottom: 0; left: 0; z-index: 150; padding: 0.7rem 1rem calc(0.7rem + env(safe-area-inset-bottom)); border-top: 1px solid rgba(255,255,255,.15); background: var(--navy-950); }
.mobile-call-bar a { display: flex; min-height: 52px; align-items: center; justify-content: center; gap: .6rem; border-radius: 11px; color: var(--white); background: var(--blue); font-weight: 850; }

[data-reveal] { opacity: 0; transform: translateY(20px); transition: opacity 600ms ease, transform 600ms ease; }
[data-reveal].is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
  [data-reveal] { opacity: 1; transform: none; }
}

@media (min-width: 680px) {
  .cards-4, .why-grid { grid-template-columns: repeat(2, 1fr); }
  .split-grid, .about-grid, .quote-wrap, .contact-grid { grid-template-columns: 1fr 1fr; }
  .form-grid { grid-template-columns: 1fr 1fr; }
  .work-grid { grid-template-columns: repeat(3, 1fr); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1.5fr 1fr 1fr; }
  .cta-band-inner { grid-template-columns: 1fr auto; }
  .quote-form { padding: 2rem; }
}

@media (min-width: 920px) {
  .section { padding: 7rem 0; }
  .nav-toggle { display: none; }
  .site-nav { position: static; display: block; max-height: none; padding: 0; overflow: visible; border: 0; background: transparent; box-shadow: none; }
  .nav-list { display: flex; align-items: center; gap: 0.15rem; }
  .nav-list a { padding: 0.65rem 0.8rem; font-size: 0.9rem; }
  .nav-list .nav-call { margin: 0 0 0 0.5rem; padding-inline: 1rem; }
  .hero-grid { grid-template-columns: 1fr 340px; align-items: end; }
  .trust-grid { grid-template-columns: repeat(4, 1fr); }
  .trust-item { border-bottom: 0; }
  .trust-item:nth-child(even) { border-right: 1px solid var(--line); }
  .trust-item:last-child { border-right: 0; }
  .cards-4 { grid-template-columns: repeat(4, 1fr); }
  .why-grid { grid-template-columns: repeat(4, 1fr); }
  .work-grid { grid-template-columns: repeat(6, 1fr); }
  .work-tile { min-height: 210px; }
  .service-detail { grid-template-columns: minmax(0, 1.15fr) minmax(320px, .85fr); gap: 5rem; padding: 5rem 0; }
  .service-detail:nth-child(even) .service-copy { order: 2; }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .mobile-call-bar { display: none; }
  .site-footer { padding-bottom: 3rem; }
}

@media (max-width: 679px) {
  .section-heading { display: block; }
  .section-heading .text-link { display: inline-block; margin-top: 1rem; }
  .button-row .button { width: 100%; }
  .radio-group { flex-direction: column; }
  .page-hero { padding: 5rem 0 4rem; }
}
