/* ============================================================
   AstwellSoft — Main Stylesheet
   AI-first. Expert-led. Domain-aware.
   Dark navy, polygon mesh, Raleway + Roboto
   ============================================================ */

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

:root {
  --navy:      #070d1c;
  --navy2:     #0b1327;
  --navy3:     #0f1a35;
  --surface:   #111d38;
  --surface2:  #172240;
  --border:    rgba(255,255,255,0.07);
  --border2:   rgba(255,255,255,0.12);
  --accent:    #2563eb;
  --accent-h:  #3b82f6;
  --accent-l:  rgba(37,99,235,0.15);
  --teal:      #0ea5e9;
  --text:      #e2e8f0;
  --muted:     #8a9bbf;
  --white:     #ffffff;
  --font-body: 'Roboto', 'Helvetica Neue', Arial, sans-serif;
  --font-head: 'Raleway', 'Helvetica Neue', Arial, sans-serif;
  --radius:    12px;
  --radius-lg: 20px;
  --trans:     all .25s ease;
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  background: var(--navy);
  color: var(--text);
  line-height: 1.65;
  overflow-x: hidden;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}

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

/* ── TYPOGRAPHY ── */
h1, h2, h3, h4, h5 {
  font-family: var(--font-head);
  color: var(--white);
  line-height: 1.2;
  letter-spacing: -0.01em;
  font-weight: 700;
}
h1 { font-size: clamp(2.4rem, 5vw, 4.2rem); font-weight: 800; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); }
h3 { font-size: 1.2rem; font-weight: 600; }
h4 { font-size: 1rem; font-weight: 600; }
p  { color: var(--muted); line-height: 1.75; }
strong { color: var(--white); font-weight: 600; }

/* ── LAYOUT ── */
.container     { max-width: 1200px; margin: 0 auto; padding: 0 40px; }
.container--sm { max-width: 820px;  margin: 0 auto; padding: 0 40px; }
section        { padding: 96px 0; position: relative; }

/* ── LABELS ── */
.label {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 14px;
}

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 30px;
  border-radius: 6px;
  font-family: var(--font-head);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  cursor: pointer;
  border: none;
  transition: var(--trans);
  white-space: nowrap;
}
.btn--primary { background: var(--accent); color: var(--white); }
.btn--primary:hover { background: var(--accent-h); transform: translateY(-1px); }
.btn--outline {
  background: transparent;
  color: var(--white);
  border: 1px solid var(--border2);
}
.btn--outline:hover { border-color: var(--accent-h); color: var(--accent-h); }
.btn--ghost {
  background: transparent;
  color: var(--accent-h);
  padding: 0;
  font-size: 0.9rem;
}
.btn--ghost:hover { gap: 12px; }
.btn--ghost::after { content: '→'; }

/* ── NAVIGATION ── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  height: 72px;
  display: flex;
  align-items: center;
  background: rgba(7,13,28,0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  transition: height .3s;
}
.nav.scrolled { height: 60px; }
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}
.nav__logo {
  display: inline-flex;
  align-items: center;
}
.nav__logo img { height: 28px; width: auto; }
.nav__links {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
}
.nav__links > li { position: relative; }
.nav__links > li > a {
  display: block;
  padding: 8px 14px;
  font-family: var(--font-head);
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--muted);
  border-radius: 6px;
  transition: var(--trans);
}
.nav__links > li > a:hover,
.nav__links > li > a.active { color: var(--white); background: rgba(255,255,255,0.05); }

/* Services dropdown */
.nav__links .has-dropdown > a::after {
  content: '';
  display: inline-block;
  width: 0; height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 4px solid currentColor;
  margin-left: 6px;
  vertical-align: middle;
  opacity: 0.6;
}
.nav__dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 300px;
  background: var(--navy2);
  border: 1px solid var(--border2);
  border-radius: var(--radius);
  /* padding-top bridges the visual gap without creating dead hover space */
  padding: 10px 8px 8px;
  list-style: none;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}
.nav__links .has-dropdown:hover .nav__dropdown { display: block; }
.nav__dropdown li a {
  display: block;
  padding: 10px 14px;
  font-size: 0.85rem;
  color: var(--muted);
  border-radius: 6px;
  transition: var(--trans);
}
.nav__dropdown li a:hover { color: var(--white); background: rgba(255,255,255,0.06); }

/* Mobile hamburger */
.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: transparent;
  border: none;
}
.nav__toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--trans);
}

/* ── HERO ── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 72px;
  overflow: hidden;
  position: relative;
  background: var(--navy);
}
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background: #000;
}
.hero__bg iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
  pointer-events: none;
}
.hero__bg img.tv-poster {
  transition: opacity .6s ease;
}
.hero__bg-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(7,13,28,0.65) 0%, rgba(7,13,28,0.78) 60%, rgba(7,13,28,0.92) 100%),
    radial-gradient(ellipse at 30% 40%, rgba(37,99,235,0.18), transparent 60%);
  pointer-events: none;
}
.hero__content {
  position: relative;
  z-index: 3;
  padding: 80px 0;
}
.hero > canvas { z-index: 2 !important; opacity: 0.55; }
.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(37,99,235,0.12);
  border: 1px solid rgba(37,99,235,0.3);
  padding: 7px 16px;
  border-radius: 40px;
  font-family: var(--font-head);
  font-size: 0.78rem;
  font-weight: 600;
  color: #93c5fd;
  margin-bottom: 28px;
  letter-spacing: 0.04em;
}
.hero__dot {
  width: 7px; height: 7px;
  background: var(--teal);
  border-radius: 50%;
  animation: blink 2.4s ease-in-out infinite;
}
@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}
.hero h1 { max-width: 880px; margin-bottom: 16px; }
.hero__tagline {
  font-family: var(--font-head);
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  color: var(--teal);
  font-weight: 600;
  margin-bottom: 24px;
  letter-spacing: 0.01em;
}
.hero__sub {
  font-size: 1.1rem;
  max-width: 660px;
  margin-bottom: 40px;
  line-height: 1.8;
}
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero__stats {
  display: flex;
  gap: 48px;
  margin-top: 72px;
  padding-top: 48px;
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
}
.stat__num {
  font-family: var(--font-head);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.02em;
}
.stat__num em { color: var(--accent-h); font-style: normal; }
.stat__label { font-size: 0.82rem; color: var(--muted); margin-top: 2px; }

/* ── TRUST STRIP ── */
.trust {
  background: var(--navy2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 28px 0;
}
.trust__row {
  display: flex;
  flex-wrap: wrap;
  gap: 28px 56px;
  align-items: center;
  justify-content: space-between;
}
.trust__item {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  font-family: var(--font-head);
  font-size: 0.92rem;
  font-weight: 500;
}
.trust__item svg { width: 20px; height: 20px; color: var(--accent-h); flex-shrink: 0; }

/* ── PAGE HERO (inner pages) ── */
.page-hero {
  padding: 160px 0 80px;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}
.page-hero__content { position: relative; z-index: 1; }
.page-hero__breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--muted);
  margin-bottom: 24px;
}
.page-hero__breadcrumb a { color: var(--muted); transition: color .2s; }
.page-hero__breadcrumb a:hover { color: var(--white); }
.page-hero__breadcrumb span { opacity: 0.4; }
.page-hero h1 { max-width: 760px; margin-bottom: 20px; }
.page-hero__sub { font-size: 1.1rem; max-width: 660px; }

/* ── SERVICES GRID ── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 56px;
}
.service-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
  transition: var(--trans);
  display: flex;
  flex-direction: column;
  text-decoration: none;
}
.service-card:hover {
  border-color: var(--accent);
  background: var(--surface2);
  transform: translateY(-3px);
  box-shadow: 0 16px 48px rgba(37,99,235,0.12);
}
.service-card__icon {
  width: 52px; height: 52px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  flex-shrink: 0;
  color: var(--accent-h);
}
.service-card__icon svg { width: 26px; height: 26px; }
.service-card h3 { margin-bottom: 12px; font-size: 1.1rem; }
.service-card p { font-size: 0.9rem; line-height: 1.7; flex: 1; }
.service-card__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 24px;
  font-family: var(--font-head);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent-h);
  transition: gap .2s;
}
.service-card:hover .service-card__link { gap: 10px; }
.service-card__link::after { content: '→'; }

/* ── USE CASES LIST ── */
.use-cases {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 16px;
  margin-top: 40px;
}
.use-case {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 24px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.use-case__dot {
  width: 8px; height: 8px;
  background: var(--accent-h);
  border-radius: 50%;
  margin-top: 9px;
  flex-shrink: 0;
}
.use-case p { color: var(--text); font-size: 0.92rem; line-height: 1.6; }

/* ── STEPS ── */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 2px;
  margin-top: 48px;
  background: var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.step {
  background: var(--navy2);
  padding: 32px 28px;
  transition: var(--trans);
}
.step:hover { background: var(--surface); }
.step__num {
  font-family: var(--font-head);
  font-size: 2.4rem;
  font-weight: 800;
  color: rgba(37,99,235,0.22);
  line-height: 1;
  margin-bottom: 14px;
}
.step h3, .step h4 { color: var(--white); margin-bottom: 8px; font-size: 0.98rem; }
.step p { font-size: 0.86rem; }

.steps--with-photo {
  grid-template-columns: repeat(3, 1fr);
}
.step--photo {
  grid-column: 3;
  grid-row: 1 / span 2;
  padding: 0;
  background: var(--navy3);
  position: relative;
  overflow: hidden;
  min-height: 240px;
}
.step--photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(15%) brightness(0.85);
  transition: filter .4s ease, transform .6s ease;
}
.step--photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(7,13,28,0.15), rgba(37,99,235,0.18));
  pointer-events: none;
}
.step--photo:hover img { filter: grayscale(0) brightness(1); transform: scale(1.03); }
@media (max-width: 768px) {
  .steps--with-photo { grid-template-columns: 1fr; }
  .step--photo { grid-column: 1; grid-row: auto; min-height: 200px; }
}

/* ── PILLARS ── */
.pillars {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 20px;
  margin-top: 24px;
}
.pillar {
  padding: 28px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface);
}
.pillar__icon {
  width: 42px; height: 42px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 10px;
  background: var(--accent-l);
  color: var(--accent-h);
  margin-bottom: 14px;
}
.pillar__icon svg { width: 22px; height: 22px; }
.pillar h3, .pillar h4 { margin-bottom: 8px; }
.pillar p { font-size: 0.88rem; }

/* ── TWO-COL ── */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.two-col--reverse .two-col__text   { order: 2; }
.two-col--reverse .two-col__visual { order: 1; }

/* ── PORTFOLIO / CASE CARDS ── */
.case-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 48px;
}
.case-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 30px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: var(--trans);
  text-decoration: none;
  color: inherit;
}
a.case-card { cursor: pointer; }
.case-card:hover {
  border-color: var(--accent);
  background: var(--surface2);
  transform: translateY(-3px);
  box-shadow: 0 16px 48px rgba(37,99,235,0.12);
}
.case-card .tag {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal);
  align-self: flex-start;
}
.case-card h3 { font-size: 1.1rem; margin-bottom: 0; }
.case-card .industry {
  color: var(--accent-h);
  font-family: var(--font-head);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.case-card p { font-size: 0.9rem; line-height: 1.65; flex: 1; }
.case-card .impact {
  color: var(--text);
  font-size: 0.88rem;
  border-top: 1px solid var(--border);
  padding-top: 14px;
  margin-top: 6px;
}
.case-card .impact b { color: var(--accent-h); font-weight: 600; }

.case-card__media {
  margin: -30px -30px 6px;
  aspect-ratio: 16/9;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  overflow: hidden;
  background: linear-gradient(135deg, var(--navy3), var(--navy2));
  border-bottom: 1px solid var(--border);
}
.case-card__media svg { width: 100%; height: 100%; display: block; }

/* ── PORTFOLIO FILTER ── */
.portfolio-filter {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 32px;
}
.chip {
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  border: 1px solid var(--border2);
  border-radius: 40px;
  font-family: var(--font-head);
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--muted);
  cursor: pointer;
  background: transparent;
  transition: var(--trans);
}
.chip:hover { color: var(--white); border-color: var(--accent-h); }
.chip.active {
  background: var(--accent);
  color: var(--white);
  border-color: var(--accent);
}

/* ── CTA BANNER ── */
.cta-band {
  background: linear-gradient(135deg, var(--navy3) 0%, var(--surface2) 100%);
  border: 1px solid var(--border2);
  border-radius: var(--radius-lg);
  padding: 64px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 80% at 50% 50%, rgba(37,99,235,0.14) 0%, transparent 70%);
  pointer-events: none;
}
.cta-band h2 { position: relative; margin-bottom: 16px; }
.cta-band p  { position: relative; max-width: 560px; margin: 0 auto 36px; }
.cta-band__actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; position: relative; }

/* ── CONTACT CARDS ── */
.contact-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 20px;
  margin-top: 48px;
}
.contact-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px;
  transition: var(--trans);
}
.contact-card:hover { border-color: var(--accent-h); }
.contact-card__icon {
  width: 42px; height: 42px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 10px;
  background: var(--accent-l);
  color: var(--accent-h);
  margin-bottom: 16px;
}
.contact-card__icon svg { width: 22px; height: 22px; }
.contact-card h3, .contact-card h4 {
  font-size: 0.78rem;
  color: var(--muted);
  font-weight: 600;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.contact-card a {
  color: var(--accent-h);
  font-size: 1rem;
  font-weight: 500;
  word-break: break-word;
}
.contact-card a:hover { color: var(--white); }
.contact-card p { font-size: 0.92rem; color: var(--text); line-height: 1.55; }
.contact-card__iconlink {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(37, 99, 235, 0.10);
  color: var(--accent-h);
  transition: background .2s ease, color .2s ease, transform .2s ease;
}
.contact-card__iconlink:hover {
  background: var(--accent);
  color: var(--white);
  transform: translateY(-2px);
}

/* ── CONTACT BANNER ── */
.contact-banner {
  position: relative;
  overflow: hidden;
  padding: 88px 0 80px;
}
.contact-banner__bg {
  position: absolute;
  inset: 0;
}
.contact-banner__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  filter: brightness(0.38) saturate(0.75);
}
.contact-banner__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(7,13,28,0.72) 0%, rgba(7,13,28,0.42) 55%, rgba(7,13,28,0.68) 100%);
}
.contact-banner > .container { position: relative; z-index: 1; }
.contact-banner .contact-cards {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 620px;
  margin-left: auto;
  margin-right: auto;
  margin-top: 0;
}
.contact-banner .contact-card {
  background: rgba(11,19,39,0.72);
  border-color: rgba(255,255,255,0.10);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.contact-banner .contact-card:hover { border-color: var(--accent-h); }
.contact-socials {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 24px;
}
.contact-socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.07);
  color: rgba(255,255,255,0.55);
  border: 1px solid rgba(255,255,255,0.10);
  transition: background .2s ease, color .2s ease, transform .2s ease, border-color .2s ease;
}
.contact-socials a svg { width: 16px; height: 16px; }
.contact-socials a:hover {
  background: var(--accent);
  color: var(--white);
  border-color: var(--accent);
  transform: translateY(-2px);
}
@media (max-width: 560px) {
  .contact-banner .contact-cards { grid-template-columns: 1fr; }
}

/* ── TEAM GALLERY ── */
.team-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3px;
  background: var(--border);
}
.team-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: grayscale(0.15) brightness(0.9);
  transition: filter .4s;
}
.team-gallery img:hover { filter: grayscale(0) brightness(1); }
.team-gallery__item { position: relative; display: block; overflow: hidden; }
.team-gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: grayscale(0.15) brightness(0.9);
  transition: opacity .5s ease, filter .4s ease;
}
.team-gallery__hover { position: absolute; inset: 0; opacity: 0; }
.team-gallery__item:hover .team-gallery__hover { opacity: 1; }
.team-gallery__item:hover img { filter: grayscale(0) brightness(1); }
.team-gallery--narrow { grid-template-columns: repeat(4, 1fr); }
.team-gallery-wrap { padding: 0 !important; height: 340px; overflow: hidden; }
.team-gallery-wrap--lg { height: 300px; }

/* ── FOOTER ── */
footer {
  background: var(--navy2);
  border-top: 1px solid var(--border);
  padding: 64px 0 32px;
}
.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  margin-bottom: 32px;
  border-bottom: 1px solid var(--border);
}
.footer__brand img { height: 28px; width: auto; }
.footer__brand p { font-size: 0.88rem; margin-top: 18px; max-width: 320px; line-height: 1.7; }
.footer__social { display: flex; gap: 10px; margin-top: 20px; }
.footer__social a {
  width: 36px; height: 36px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  transition: var(--trans);
}
.footer__social a svg { width: 16px; height: 16px; }
.footer__social a:hover { border-color: var(--accent); color: var(--white); background: var(--accent-l); }
.footer__col h5 {
  font-family: var(--font-head);
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--white);
  margin-bottom: 20px;
}
.footer__col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer__col li { font-size: 0.88rem; color: var(--muted); }
.footer__col li a { color: var(--text); transition: color .2s; }
.footer__col li a:hover { color: var(--accent-h); }
.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  color: var(--muted);
  flex-wrap: wrap;
  gap: 8px;
}

/* ── ABOUT / VALUES / TIMELINE ── */
.team-values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 48px;
}
.value-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px;
}
.value-card__num {
  font-family: var(--font-head);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--accent-h);
  margin-bottom: 12px;
  letter-spacing: 0.08em;
}
.value-card h3, .value-card h4 { margin-bottom: 10px; }
.value-card p { font-size: 0.9rem; }

.timeline { margin-top: 48px; display: flex; flex-direction: column; gap: 0; }
.timeline-item {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 32px;
  padding: 28px 0;
  border-bottom: 1px solid var(--border);
  align-items: start;
}
.timeline-item:last-child { border-bottom: none; }
.timeline-year {
  font-family: var(--font-head);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--accent-h);
  padding-top: 2px;
  letter-spacing: 0.03em;
}
.timeline-item h3, .timeline-item h4 { color: var(--white); margin-bottom: 6px; }
.timeline-item p  { font-size: 0.92rem; }

/* ── CASE STUDY DETAIL ── */
.case-hero-media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--navy3);
  margin: 0 auto;
  max-width: 1040px;
}
.case-hero-media svg { display: block; width: 100%; height: auto; aspect-ratio: 400/224; }

.metric-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.metric {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  text-align: center;
}
.metric__value {
  font-family: var(--font-head);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--accent-h);
  line-height: 1;
}
.metric__label {
  margin-top: 10px;
  font-size: 0.86rem;
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.solution-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.solution-list li {
  position: relative;
  padding-left: 26px;
  font-size: 0.95rem;
  line-height: 1.6;
}
.solution-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 14px;
  height: 2px;
  background: var(--accent-h);
  border-radius: 2px;
}

.chip-row { display: flex; flex-wrap: wrap; gap: 8px; }
.chip--static {
  background: rgba(37,99,235,0.10);
  color: var(--accent-h);
  border: 1px solid rgba(37,99,235,0.25);
  border-radius: 999px;
  padding: 6px 14px;
  font-family: var(--font-head);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  cursor: default;
}

.mock-grid {
  margin-top: 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.mock-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--navy3);
  box-shadow: 0 16px 48px rgba(0,0,0,0.3);
}
.mock-frame svg { display: block; width: 100%; height: auto; }

.next-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 32px;
}
.next-case {
  display: block;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  text-decoration: none;
  color: inherit;
  transition: var(--trans);
}
.next-case:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(37,99,235,0.12);
}
.next-case .label { display: block; margin-bottom: 10px; }
.next-case h3, .next-case h4 { color: var(--white); font-size: 1.05rem; margin: 0; }

@media (max-width: 768px) {
  .metric-row, .mock-grid, .next-grid { grid-template-columns: 1fr; }
}
.timeline-photo {
  margin-top: 14px;
  width: 100%;
  max-width: 520px;
  aspect-ratio: 16/9;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--border);
  filter: grayscale(15%) brightness(0.92);
  transition: filter .3s ease;
}
.timeline-photo:hover { filter: grayscale(0) brightness(1); }

/* ── PHOTO BANDS (varied per page) ── */
.photo-band {
  position: relative;
  width: 100%;
  height: 360px;
  overflow: hidden;
}
.photo-band img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.6) saturate(0.95);
}
.photo-band__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 0 8%;
  background: linear-gradient(90deg, rgba(7,13,28,0.85) 0%, rgba(7,13,28,0.55) 60%, rgba(7,13,28,0.20) 100%);
}
.photo-band__overlay h2 {
  color: var(--white);
  max-width: 620px;
  font-size: clamp(1.4rem, 2.4vw, 2rem);
  line-height: 1.2;
}
.photo-band__overlay p { color: var(--text); margin-top: 12px; max-width: 540px; }

.photo-duo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-top: 40px;
}
.photo-duo img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  filter: grayscale(15%) brightness(0.9);
  transition: filter .4s ease, transform .6s ease;
  display: block;
}
.photo-duo img:hover { filter: none; transform: scale(1.03); }

.photo-inline {
  position: relative;
  max-width: 960px;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
}
.photo-inline img {
  display: block;
  width: 100%;
  height: 380px;
  object-fit: cover;
  filter: brightness(0.85);
}
.photo-inline figcaption {
  position: absolute;
  left: 28px;
  bottom: 22px;
  color: var(--white);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.05rem;
  text-shadow: 0 2px 12px rgba(0,0,0,0.6);
}

.photo-trio {
  display: grid;
  grid-template-columns: 2fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 4px;
  margin-top: 40px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 440px;
}
.photo-trio img { width: 100%; height: 100%; object-fit: cover; display: block; filter: grayscale(10%) brightness(0.9); transition: filter .4s ease; }
.photo-trio img:hover { filter: none; }
.photo-trio img:nth-child(1) { grid-row: 1 / 3; }

@media (max-width: 768px) {
  .photo-band { height: 260px; }
  .photo-duo, .photo-trio { grid-template-columns: 1fr; height: auto; }
  .photo-trio { grid-template-rows: auto; }
  .photo-trio img:nth-child(1) { grid-row: auto; }
  .photo-duo img, .photo-trio img { height: 200px; }
  .photo-inline img { height: 240px; }
}

/* ── UTILITY ── */
.bg-navy2    { background: var(--navy2); }
.bg-navy3    { background: var(--navy3); }
.text-center { text-align: center; }
.text-center .section-sub { margin-left: auto; margin-right: auto; }
.mt-8  { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-40 { margin-top: 40px; }
.mt-56 { margin-top: 56px; }
.section-sub { max-width: 620px; font-size: 1.05rem; margin-top: 16px; color: var(--muted); }

/* Fade-in on scroll */
.fade { opacity: 0; transform: translateY(20px); transition: opacity .55s ease, transform .55s ease; }
.fade.in { opacity: 1; transform: none; }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .case-grid     { grid-template-columns: repeat(2, 1fr); }
  .team-values   { grid-template-columns: repeat(2, 1fr); }
  .footer__grid  { grid-template-columns: 1fr 1fr; }
  .two-col       { grid-template-columns: 1fr; gap: 48px; }
  .two-col--reverse .two-col__text,
  .two-col--reverse .two-col__visual { order: unset; }
}

@media (max-width: 768px) {
  .container, .container--sm { padding: 0 24px; }
  section { padding: 64px 0; }
  .nav__links { display: none; }
  .nav__toggle { display: flex; }
  .nav--open .nav__links {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 60px; left: 0; right: 0;
    background: var(--navy2);
    border-bottom: 1px solid var(--border);
    padding: 16px;
    gap: 4px;
    z-index: 199;
    max-height: calc(100vh - 60px);
    overflow-y: auto;
  }
  .nav--open .nav__links > li > a { padding: 12px 16px; }
  .nav__dropdown { position: static; display: none; background: none; border: none; box-shadow: none; padding: 0 0 0 16px; }
  .nav--open .has-dropdown.open .nav__dropdown { display: block; }
  .nav__cta { display: none; }
  .hero { min-height: auto; padding: 120px 0 64px; }
  .hero__stats { gap: 28px; }
  .services-grid, .case-grid, .team-values { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; gap: 32px; }
  .cta-band { padding: 40px 24px; }
  .page-hero { padding: 120px 0 56px; }
  .steps { grid-template-columns: 1fr 1fr; }
  .timeline-item { grid-template-columns: 1fr; gap: 8px; }
  .team-gallery { grid-template-columns: repeat(2, 1fr); }
  .team-gallery--narrow { grid-template-columns: repeat(2, 1fr); }
  .team-gallery-wrap, .team-gallery-wrap--lg { height: auto; }
}

@media (max-width: 480px) {
  h1 { font-size: 2rem; }
  .stat__num { font-size: 1.8rem; }
  .steps { grid-template-columns: 1fr; }
  .cta-band { padding: 32px 20px; }
}
