/* ==========================================================================
   epsilondigitaltech — landing page
   ========================================================================== */

:root {
  --blue: #0e7caf;
  --blue-dark: #0a5f8c;
  --blue-light: #e5f6f8;
  --purple: #2db8bc;
  --navy: #0d2d56;
  --teal: #3ec4c8;
  --ink: #0d2d56;
  --slate: #4a6474;
  --muted: #7a919e;
  --bg: #f5fafb;
  --card-border: #d7e6eb;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.04), 0 4px 16px rgba(15, 23, 42, 0.05);
  --shadow-md: 0 6px 24px rgba(13, 90, 130, 0.12);
  --radius: 16px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: "Inter", -apple-system, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--ink);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
ul, ol { list-style: none; }

.container {
  width: min(1440px, 100% - 32px);
  margin-inline: auto;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-weight: 600;
  font-size: 14px;
  border-radius: 999px;
  padding: 12px 24px;
  transition: all .2s ease;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, #1eb6bc, #0e7caf);
  color: #fff;
  box-shadow: 0 8px 20px rgba(14, 124, 175, .32);
}
.btn-primary:hover {
  background: linear-gradient(135deg, #0e7caf, #0a5f8c);
  transform: translateY(-1px);
}

.btn-nav { padding: 10px 20px; font-size: 13.5px; box-shadow: 0 4px 12px rgba(14, 124, 175, .28); }

.btn-lg { padding: 15px 28px; font-size: 15px; }

.btn-ghost {
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--card-border);
  box-shadow: var(--shadow-sm);
}
.btn-ghost:hover { border-color: #b9d4de; transform: translateY(-1px); }
.btn-ghost svg { color: var(--blue); }

.btn-white {
  background: #fff;
  color: var(--blue);
  padding: 14px 26px;
  box-shadow: 0 8px 24px rgba(10, 20, 80, .25);
}
.btn-white:hover { transform: translateY(-1px); }

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(245, 250, 251, .88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(215, 230, 235, .85);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 24px;
}

.logo { display: inline-flex; align-items: center; gap: 10px; flex-shrink: 0; }
.logo-img {
  display: block;
  height: 48px;
  width: auto;
  max-width: min(220px, 42vw);
  object-fit: contain;
}
.logo-footer .logo-img {
  height: 56px;
  max-width: 240px;
}

.logo-mark {
  width: 36px;
  height: 36px;
  border-radius: 11px;
  background: linear-gradient(135deg, #3ec4c8, #0d4f86);
  color: #fff;
  font-size: 22px;
  font-weight: 700;
  display: grid;
  place-items: center;
  line-height: 1;
  box-shadow: 0 4px 12px rgba(14, 124, 175, .35);
}

.logo-text { font-size: 18px; font-weight: 500; letter-spacing: -.3px; color: var(--ink); }
.logo-text strong { font-weight: 800; }

.main-nav { display: flex; align-items: center; gap: 28px; }

.main-nav > a:not(.btn),
.main-nav .nav-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 14px;
  font-weight: 500;
  color: var(--slate);
  padding: 6px 0;
  position: relative;
  transition: color .15s;
  background: none;
  border: 0;
  cursor: pointer;
  font-family: inherit;
}
.main-nav > a:not(.btn):hover,
.main-nav .nav-link:hover { color: var(--ink); }

.main-nav > a:not(.btn).active,
.main-nav .nav-link.active { color: var(--blue); font-weight: 600; }

.chev { opacity: .7; margin-top: 2px; transition: transform .2s; }

.has-dropdown { position: relative; }
.has-dropdown.open .chev { transform: rotate(180deg); }

.dropdown a {
  display: block;
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--slate);
}
.dropdown a:hover { background: #f3f6ff; color: var(--blue); }

@media (min-width: 861px) {
  .has-dropdown:hover .chev { transform: rotate(180deg); }
  .dropdown {
    position: absolute;
    top: calc(100% + 14px);
    left: 50%;
    transform: translateX(-50%) translateY(6px);
    min-width: 220px;
    background: #fff;
    border: 1px solid var(--card-border);
    border-radius: 14px;
    box-shadow: 0 16px 40px rgba(15, 23, 42, .12);
    padding: 8px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .18s, transform .18s, visibility .18s;
    z-index: 60;
  }
  .has-dropdown:hover .dropdown,
  .has-dropdown:focus-within .dropdown,
  .has-dropdown.open .dropdown {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
  }
}

.btn-nav-mobile { display: none; }

.nav-overlay { display: none; }

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid var(--card-border);
  background: #fff;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
}
.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform .2s, opacity .2s;
}
.site-header.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.site-header.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.site-header.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
body.nav-lock { overflow: hidden; }

/* ---------- Hero ---------- */

.hero { padding: 56px 0 30px; overflow: hidden; }

.hero-inner {
  display: grid;
  grid-template-columns: 520px 1fr;
  align-items: center;
  gap: 40px;
}

/* let grid columns shrink below their content's intrinsic width */
.hero-copy, .hero-art { min-width: 0; }

.hero-badge {
  display: inline-block;
  background: var(--blue-light);
  color: var(--blue-dark);
  font-size: 12.5px;
  font-weight: 600;
  padding: 7px 16px;
  border-radius: 999px;
  margin-bottom: 22px;
}

.hero h1 {
  font-size: 51px;
  line-height: 1.16;
  font-weight: 800;
  letter-spacing: -1.4px;
}

.grad-text {
  background: linear-gradient(90deg, #1aa8b8, #0d2d56 85%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.hero-sub {
  margin-top: 24px;
  color: var(--slate);
  font-size: 15.5px;
  line-height: 1.65;
}

.hero-actions { display: flex; align-items: center; gap: 16px; margin-top: 32px; }

.trusted { margin-top: 52px; min-width: 580px; }

.trusted-label { font-size: 13px; color: var(--muted); margin-bottom: 16px; }

.trusted-logos {
  display: flex;
  align-items: center;
  gap: 26px;
  flex-wrap: nowrap;
}

.trusted-logos li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13.5px;
  font-weight: 600;
  color: #9aa3b8;
  white-space: nowrap;
  transition: color .25s ease, transform .25s ease, opacity .25s ease;
}
.trusted-logos:hover li { opacity: .55; }
.trusted-logos li:hover {
  color: var(--ink);
  opacity: 1;
  transform: translateY(-2px);
}
.trusted-logos .caps { letter-spacing: .5px; }

.hero-art img {
  display: block;
  width: 100%;
  max-width: 720px;
  height: auto;
  aspect-ratio: 1536 / 1024;
  object-fit: contain;
  margin-left: auto;
  animation: float-y 6s ease-in-out infinite;
  transform-origin: center bottom;
  will-change: transform;
  /* Soft fade at edges into the page background */
  -webkit-mask-image:
    linear-gradient(to bottom, transparent 0, #000 6%, #000 92%, transparent 100%),
    linear-gradient(to right, transparent 0, #000 5%, #000 95%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image:
    linear-gradient(to bottom, transparent 0, #000 6%, #000 92%, transparent 100%),
    linear-gradient(to right, transparent 0, #000 5%, #000 95%, transparent 100%);
  mask-composite: intersect;
}

/* ---------- Services ---------- */

.services { padding: 40px 0 14px; }

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  background: #fff;
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 26px 28px 24px;
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease;
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }

.service-icon {
  height: 112px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}
.service-icon img { height: 108px; width: auto; }

.service-card h3 { font-size: 19px; font-weight: 700; letter-spacing: -.3px; margin-bottom: 10px; }

.service-card p { color: var(--slate); font-size: 14px; line-height: 1.65; }

.learn-more {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 16px;
  color: var(--blue);
  font-size: 14px;
  font-weight: 600;
}
.learn-more svg { transition: transform .2s; }
.learn-more:hover svg { transform: translateX(3px); }

/* ---------- Stats ---------- */

.stats { padding: 24px 0; }

.stats-bar {
  background: #fff;
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  padding: 26px 10px;
}

.stat {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  position: relative;
}

.stat + .stat::before {
  content: "";
  position: absolute;
  left: 0;
  top: 15%;
  bottom: 15%;
  width: 1px;
  background: var(--card-border);
}

.stat-icon { color: var(--blue); flex-shrink: 0; }

.stat-text strong {
  display: block;
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -.6px;
  line-height: 1.1;
}

.stat-text span { font-size: 12.5px; color: var(--slate); }

/* ---------- Process + Tech stack ---------- */

.process-tech { padding: 44px 0 30px; }

.process-tech-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 56px;
  align-items: start;
}

.eyebrow {
  color: var(--blue);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.2px;
  margin-bottom: 8px;
}

.process h2,
.tech-stack h2 {
  font-size: 25px;
  font-weight: 800;
  letter-spacing: -.5px;
  margin-bottom: 30px;
}

.steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
  position: relative;
}

/* dashed connector line behind the circles */
.steps::before {
  content: "";
  position: absolute;
  top: 31px;
  left: 12%;
  right: 12%;
  border-top: 2px dashed #c9d6f5;
}

.step { text-align: center; position: relative; }

.step-circle {
  width: 62px;
  height: 62px;
  margin: 0 auto 14px;
  border-radius: 50%;
  background: #fff;
  border: 2px dashed #b9c9f2;
  display: grid;
  place-items: center;
  color: var(--blue);
  position: relative;
  z-index: 1;
}

.step-num {
  position: absolute;
  top: -5px;
  left: -5px;
  width: 21px;
  height: 21px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  display: grid;
  place-items: center;
  box-shadow: 0 2px 6px rgba(14, 124, 175, .38);
}

.step h3,
.step h4 { font-size: 14px; font-weight: 700; margin-bottom: 6px; }

.step p { font-size: 11.5px; color: var(--muted); line-height: 1.5; padding: 0 2px; }

/* Tech grid */

.tech-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.tech-chip {
  background: #fff;
  border: 1px solid var(--card-border);
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 6px;
  transition: transform .15s ease, box-shadow .15s ease;
}
.tech-chip:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }

.tech-chip img { width: 20px; height: 20px; object-fit: contain; }
.tech-chip .inv-green { filter: invert(48%) sepia(61%) saturate(475%) hue-rotate(100deg) brightness(92%); }

.tech-chip span { font-size: 12.5px; font-weight: 600; color: #3c465e; }

/* ---------- CTA ---------- */

.cta { padding: 34px 0 44px; }

.cta-band {
  position: relative;
  background: linear-gradient(100deg, #1eb6bc 0%, #1288b0 48%, #0d2d56 100%);
  border-radius: 18px;
  padding: 44px 48px 44px 210px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  color: #fff;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(48, 64, 214, .35);
}

/* subtle decorative dots */
.cta-band::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, .14) 1.5px, transparent 1.5px);
  background-size: 90px 90px;
  background-position: 30px 20px;
  pointer-events: none;
}

.cta-rocket {
  position: absolute;
  left: 26px;
  top: 50%;
  transform: translateY(-50%);
  width: 168px;
}

.cta-copy { position: relative; z-index: 1; flex: 1; }

.cta-copy h2 { font-size: 26px; font-weight: 800; letter-spacing: -.4px; margin-bottom: 10px; }

.cta-copy p { font-size: 14.5px; color: rgba(255, 255, 255, .85); line-height: 1.6; }

.cta .btn-white { position: relative; z-index: 1; }

/* ---------- Footer ---------- */

.site-footer {
  background: #fdfdfd;
  border-top: 1px solid var(--card-border);
  padding-top: 52px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 0.9fr 0.9fr 1.5fr;
  gap: 34px;
  padding-bottom: 44px;
}

.footer-brand p {
  margin-top: 18px;
  font-size: 13px;
  color: var(--slate);
  line-height: 1.7;
  max-width: 250px;
}

.socials { display: flex; gap: 10px; margin-top: 20px; }

.socials a {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--card-border);
  background: #fff;
  color: var(--slate);
  display: grid;
  place-items: center;
  transition: all .15s;
}
.socials a:hover { background: var(--blue); border-color: var(--blue); color: #fff; }

.footer-col h5,
.footer-col-title {
  font-size: 13.5px;
  font-weight: 700;
  margin: 0 0 16px;
  color: var(--ink);
}

.footer-col ul { display: grid; gap: 11px; }

.footer-col ul a,
.footer-col ul span {
  font-size: 13px;
  color: var(--slate);
  transition: color .15s;
}
.footer-col ul a:hover { color: var(--blue); }

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
}
.footer-contact svg { color: var(--blue); flex-shrink: 0; margin-top: 3px; }

.footer-bottom { border-top: 1px solid var(--card-border); padding: 18px 0; }

.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.footer-bottom p { font-size: 12.5px; color: var(--muted); }

.footer-legal { display: flex; gap: 26px; }

.footer-legal a { font-size: 12.5px; color: var(--muted); }
.footer-legal a:hover { color: var(--blue); }

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1080px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-art { order: -1; }
  .hero-art img { margin: 0 auto; }
  .hero h1 br { display: none; }
  .hero-sub br { display: none; }
  .trusted { min-width: 0; }
  .trusted-logos { flex-wrap: wrap; }
  .process-tech-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 860px) {
  .nav-toggle {
    display: inline-flex;
    z-index: 90;
    position: relative;
  }
  .header-inner .btn-nav { display: none; }
  .logo-img { height: 40px; max-width: min(180px, 52vw); }

  .site-header {
    overflow: visible;
    z-index: 80;
  }
  .site-header.nav-open {
    background: transparent;
    backdrop-filter: none;
    box-shadow: none;
    border-bottom: 0;
  }
  .header-inner { position: relative; z-index: 90; }

  .nav-overlay {
    display: block;
    position: fixed;
    inset: 0;
    background: #fff;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .22s ease, visibility .22s ease;
    z-index: 70;
  }
  .site-header.nav-open .nav-overlay {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .main-nav {
    display: flex;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 75;
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 72px 20px calc(20px + env(safe-area-inset-bottom, 0px));
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    transform: none;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .18s ease, visibility .18s ease;
  }
  .site-header.nav-open .main-nav {
    transform: none;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .main-nav > a:not(.btn),
  .main-nav .nav-link {
    display: flex;
    width: 100%;
    justify-content: space-between;
    align-items: center;
    padding: 16px 2px;
    font-size: 17px;
    font-weight: 650;
    color: var(--ink);
    border-bottom: 1px solid #eef3f6;
  }
  .main-nav > a:not(.btn).active,
  .main-nav .nav-link.active {
    color: var(--blue);
  }
  .main-nav > a::after,
  .main-nav .nav-link::after { display: none; }

  .has-dropdown {
    width: 100%;
    position: static;
    border-bottom: 1px solid #eef3f6;
  }
  .has-dropdown > .nav-link {
    border-bottom: 0;
  }
  .has-dropdown .chev {
    margin-left: auto;
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    padding: 7px;
    border-radius: 999px;
    background: #eef6f8;
    opacity: 1;
    margin-top: 0;
  }
  .has-dropdown.open .chev { background: #e5f6f8; color: var(--blue); }

  .main-nav .dropdown {
    position: static !important;
    left: auto !important;
    top: auto !important;
    right: auto;
    transform: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    min-width: 0;
    width: 100%;
    height: auto;
    max-height: 0;
    overflow: hidden;
    box-shadow: none;
    border: 0;
    background: #f4fafb;
    margin: 0 0 10px;
    padding: 0 8px;
    border-radius: 14px;
    display: block;
    transition: max-height .22s ease, padding .22s ease, margin .22s ease;
  }
  .has-dropdown.open > .dropdown {
    max-height: 280px;
    padding: 8px;
    margin: 0 0 14px;
  }
  .main-nav .dropdown a {
    display: block !important;
    width: 100%;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    color: var(--ink);
    background: transparent;
    padding: 12px 14px;
    font-size: 15px;
    font-weight: 550;
    border-radius: 10px;
  }
  .main-nav .dropdown a:hover,
  .main-nav .dropdown a:active {
    background: #fff;
    color: var(--blue);
  }

  .btn-nav-mobile {
    display: inline-flex;
    width: 100%;
    justify-content: center;
    margin-top: auto;
    margin-bottom: 8px;
    padding: 14px 24px;
    font-size: 15px;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(135deg, #1eb6bc, #0e7caf);
    box-shadow: 0 8px 20px rgba(14, 124, 175, .32);
    border: 0;
    border-radius: 999px;
    flex-shrink: 0;
  }

  .services-grid { grid-template-columns: 1fr; }
  .stats-bar { grid-template-columns: repeat(2, 1fr); gap: 22px; padding: 26px 18px; }
  .stat { justify-content: flex-start; }
  .stat + .stat::before { display: none; }
  .steps { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .steps::before { display: none; }
  .tech-grid { grid-template-columns: repeat(3, 1fr); }
  .cta-band {
    flex-direction: column;
    text-align: center;
    align-items: center;
    padding: 28px 22px 30px;
    gap: 16px;
  }
  .cta-rocket {
    position: static;
    left: auto;
    top: auto;
    transform: none;
    width: 112px;
    max-width: 34vw;
    height: auto;
    margin: 0 auto;
  }
  .cta-copy p br { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-bottom-inner { flex-direction: column; }
}

@media (max-width: 560px) {
  .hero h1 { font-size: 36px; letter-spacing: -1px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .btn { justify-content: center; }
  .tech-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Inner pages
   ========================================================================== */

.page-hero {
  padding: 64px 0 48px;
  background:
    radial-gradient(ellipse 60% 80% at 90% 10%, rgba(46, 184, 188, .10), transparent 55%),
    radial-gradient(ellipse 50% 70% at 0% 80%, rgba(14, 124, 175, .10), transparent 55%),
    var(--bg);
  border-bottom: 1px solid var(--card-border);
}
.page-hero-inner { max-width: 720px; }
.page-hero h1 {
  font-size: 44px;
  font-weight: 800;
  letter-spacing: -1.2px;
  line-height: 1.15;
  margin-bottom: 16px;
}
.page-hero p {
  font-size: 16px;
  color: var(--slate);
  line-height: 1.7;
  max-width: 560px;
}
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 18px;
}
.breadcrumb a { color: var(--slate); }
.breadcrumb a:hover { color: var(--blue); }
.breadcrumb .sep { opacity: .5; }

.section { padding: 64px 0; }
.section-head { max-width: 560px; margin-bottom: 36px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head h2 {
  font-size: 30px;
  font-weight: 800;
  letter-spacing: -.6px;
  margin-bottom: 10px;
}
.section-head p { color: var(--slate); font-size: 15px; line-height: 1.65; }

/* Feature list / check items */
.check-list { display: grid; gap: 12px; margin-top: 22px; }
.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--slate);
  font-size: 14.5px;
  line-height: 1.5;
}
.check-list .tick {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #e5f6f8;
  color: var(--blue);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  margin-top: 1px;
}

.service-detail,
.solution-card {
  scroll-margin-top: 96px;
}

/* Service detail blocks */
.service-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  padding: 48px 0;
}
.service-detail.reverse .detail-copy { order: 2; }
.service-detail.reverse .detail-visual { order: 1; }
.detail-visual {
  background: #fff;
  border: 1px solid var(--card-border);
  border-radius: 20px;
  box-shadow: var(--shadow-sm);
  padding: 36px;
  display: grid;
  place-items: center;
  min-height: 300px;
}
.detail-visual img { max-height: 240px; width: auto; }
.detail-copy .eyebrow { margin-bottom: 10px; }
.detail-copy h2 {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -.5px;
  margin-bottom: 14px;
}
.detail-copy > p { color: var(--slate); font-size: 15px; line-height: 1.7; }

/* Solution cards */
.solution-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}
.solution-card {
  background: #fff;
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  transition: transform .2s, box-shadow .2s;
}
.solution-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.solution-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: linear-gradient(135deg, #e5f6f8, #eaf4f7);
  color: var(--blue);
  display: grid;
  place-items: center;
  margin-bottom: 18px;
}
.solution-card h3 { font-size: 19px; font-weight: 700; margin-bottom: 10px; }
.solution-card p { color: var(--slate); font-size: 14px; line-height: 1.65; margin-bottom: 16px; }
.solution-card .tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tag {
  font-size: 12px;
  font-weight: 600;
  color: var(--blue);
  background: #e8f5f7;
  padding: 5px 10px;
  border-radius: 999px;
}

/* Portfolio */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}
.filter-btn {
  border: 1px solid var(--card-border);
  background: #fff;
  color: var(--slate);
  font-size: 13.5px;
  font-weight: 600;
  font-family: inherit;
  padding: 9px 16px;
  border-radius: 999px;
  cursor: pointer;
  transition: all .15s;
}
.filter-btn:hover { border-color: #b9d4de; color: var(--ink); }
.filter-btn.active {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
  box-shadow: 0 6px 16px rgba(14, 124, 175, .30);
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.project-card {
  background: #fff;
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .2s, box-shadow .2s;
}
.project-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.project-thumb {
  height: 180px;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -.5px;
  position: relative;
}
.project-thumb span {
  position: relative;
  z-index: 1;
  opacity: .95;
}
.project-body { padding: 20px 22px 22px; }
.project-cat {
  font-size: 12px;
  font-weight: 700;
  color: var(--blue);
  letter-spacing: .4px;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.project-body h3 { font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.project-body p { font-size: 13.5px; color: var(--slate); line-height: 1.6; }

/* About */
.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.value-card {
  background: #fff;
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 24px 20px;
  box-shadow: var(--shadow-sm);
}
.value-card .n {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, #3ec4c8, #0d4f86);
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  display: grid;
  place-items: center;
  margin-bottom: 16px;
}
.value-card h3 { font-size: 16px; font-weight: 700; margin-bottom: 8px; }
.value-card p { font-size: 13.5px; color: var(--slate); line-height: 1.6; }

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.team-card {
  background: #fff;
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 24px 20px;
  text-align: center;
  box-shadow: var(--shadow-sm);
}
.avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  margin: 0 auto 14px;
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 700;
  font-size: 22px;
}
.team-card h3 { font-size: 15.5px; font-weight: 700; }
.team-card .role { font-size: 13px; color: var(--blue); font-weight: 600; margin: 4px 0 8px; }
.team-card p { font-size: 12.5px; color: var(--slate); line-height: 1.55; }

.story-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 48px;
  align-items: center;
}
.story-grid h2 {
  font-size: 30px;
  font-weight: 800;
  letter-spacing: -.5px;
  margin: 8px 0 16px;
}
.story-grid p { color: var(--slate); font-size: 15px; line-height: 1.7; margin-bottom: 14px; }
.story-panel {
  background: linear-gradient(145deg, #1aa8b8, #0d2d56);
  border-radius: 20px;
  padding: 36px 32px;
  color: #fff;
  box-shadow: 0 18px 40px rgba(13, 45, 86, .28);
}
.story-panel h3 { font-size: 22px; font-weight: 800; margin-bottom: 10px; }
.story-panel p { color: rgba(255,255,255,.85); font-size: 14.5px; line-height: 1.65; margin-bottom: 22px; }
.story-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.story-stats strong { display: block; font-size: 26px; font-weight: 800; }
.story-stats span { font-size: 12.5px; color: rgba(255,255,255,.75); }

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 40px;
  align-items: start;
}
.contact-info-card {
  background: #fff;
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}
.contact-info-card h2 {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -.4px;
  margin-bottom: 10px;
}
.contact-info-card > p { color: var(--slate); font-size: 14.5px; line-height: 1.65; margin-bottom: 24px; }
.info-list { display: grid; gap: 18px; }
.info-item { display: flex; gap: 14px; align-items: flex-start; }
.info-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: #e8f5f7;
  color: var(--blue);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.info-item h3,
.info-item h4 { font-size: 14px; font-weight: 700; margin-bottom: 3px; }
.info-item a, .info-item span { font-size: 13.5px; color: var(--slate); }
.info-item a:hover { color: var(--blue); }

.contact-form {
  background: #fff;
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.field { margin-bottom: 14px; }
.field label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 7px;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid var(--card-border);
  background: #fbfcff;
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 14px;
  font-family: inherit;
  color: var(--ink);
  outline: none;
  transition: border-color .15s, box-shadow .15s;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: #3ec4c8;
  box-shadow: 0 0 0 4px rgba(14, 124, 175, .18);
  background: #fff;
}
.field textarea { min-height: 130px; resize: vertical; }
.form-note { font-size: 12.5px; color: var(--muted); margin-top: 12px; }

@media (max-width: 1080px) {
  .service-detail,
  .service-detail.reverse { grid-template-columns: 1fr; }
  .service-detail.reverse .detail-copy,
  .service-detail.reverse .detail-visual { order: unset; }
  .project-grid { grid-template-columns: repeat(2, 1fr); }
  .values-grid,
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .story-grid,
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  .page-hero h1 { font-size: 34px; }
  .solution-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .project-grid,
  .values-grid,
  .team-grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Detailed page extras
   ========================================================================== */

.band-soft {
  background: #eef8f9;
  border-block: 1px solid var(--card-border);
}

.mini-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.mini-stat {
  background: #fff;
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 22px 20px;
  box-shadow: var(--shadow-sm);
}
.mini-stat strong {
  display: block;
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -.6px;
  color: var(--blue);
  margin-bottom: 4px;
}
.mini-stat span { font-size: 13.5px; color: var(--slate); }

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.feature-card {
  background: #fff;
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 24px 22px;
  box-shadow: var(--shadow-sm);
}
.feature-card .fi {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: linear-gradient(135deg, #e5f6f8, #eaf4f7);
  color: var(--blue);
  display: grid;
  place-items: center;
  margin-bottom: 14px;
}
.feature-card h3 { font-size: 16px; font-weight: 700; margin-bottom: 8px; }
.feature-card p { font-size: 13.5px; color: var(--slate); line-height: 1.6; }

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: stretch;
}
.price-card {
  background: #fff;
  border: 1px solid var(--card-border);
  border-radius: 18px;
  padding: 28px 24px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  position: relative;
}
.price-card.featured {
  border-color: #9bb5ff;
  box-shadow: 0 16px 40px rgba(14, 124, 175, .18);
  transform: translateY(-6px);
}
.price-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--blue);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 5px 10px;
  border-radius: 999px;
}
.price-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 6px; }
.price-card .price {
  font-size: 34px;
  font-weight: 800;
  letter-spacing: -.8px;
  margin: 10px 0 6px;
}
.price-card .price small { font-size: 14px; font-weight: 500; color: var(--muted); }
.price-card .price-desc { font-size: 13.5px; color: var(--slate); margin-bottom: 18px; }
.price-card .check-list { margin-top: 0; flex: 1; }
.price-card .btn { margin-top: 22px; justify-content: center; width: 100%; }

.faq-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  width: 100%;
  max-width: none;
}
.faq-item {
  background: #fff;
  border: 1px solid var(--card-border);
  border-radius: 14px;
  padding: 22px 24px;
  box-shadow: var(--shadow-sm);
  transition: transform .28s cubic-bezier(.22, 1, .36, 1), box-shadow .28s ease, border-color .2s ease;
}
.faq-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: #d0daf5;
}
.faq-item h3 { font-size: 15.5px; font-weight: 700; margin-bottom: 8px; }
.faq-item p { font-size: 14px; color: var(--slate); line-height: 1.65; }

@media (max-width: 800px) {
  .faq-list { grid-template-columns: 1fr; }
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.quote-card {
  background: #fff;
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}
.quote-card .stars { color: #f5b301; letter-spacing: 2px; margin-bottom: 12px; font-size: 13px; }
.quote-card p { font-size: 14px; color: var(--slate); line-height: 1.65; margin-bottom: 18px; }
.quote-author { display: flex; align-items: center; gap: 12px; }
.quote-author .av {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 700;
  font-size: 13px;
}
.av-grad-1 { background: linear-gradient(135deg, #3ec4c8, #0d4f86); }
.av-grad-2 { background: linear-gradient(135deg, #3ec4c8, #0e7caf); }
.av-grad-3 { background: linear-gradient(135deg, #2db8bc, #0d4f86); }
.section-head.center .section-sub {
  max-width: 520px;
  margin: 10px auto 0;
  color: var(--slate);
  font-size: 15px;
  line-height: 1.6;
}
.quote-author strong { display: block; font-size: 14px; }
.quote-author span { font-size: 12.5px; color: var(--muted); }

.industry-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.industry-chip {
  background: #fff;
  border: 1px solid var(--card-border);
  border-radius: 14px;
  padding: 18px 16px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: default;
}
.industry-chip .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: linear-gradient(135deg, #3ec4c8, #0d4f86);
  flex-shrink: 0;
  transition: transform .3s ease, box-shadow .3s ease;
}

.case-list { display: grid; gap: 22px; }
.case-card {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 0;
  background: #fff;
  border: 1px solid var(--card-border);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.case-visual {
  min-height: 220px;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 42px;
  font-weight: 800;
  letter-spacing: -1px;
}
.case-body { padding: 28px 30px; }
.case-body .project-cat { margin-bottom: 8px; }
.case-body h3 { font-size: 22px; font-weight: 800; margin-bottom: 10px; letter-spacing: -.3px; }
.case-body > p { font-size: 14.5px; color: var(--slate); line-height: 1.65; margin-bottom: 16px; }
.case-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-bottom: 16px;
}
.case-metrics div strong { display: block; font-size: 20px; font-weight: 800; color: var(--blue); }
.case-metrics div span { font-size: 12.5px; color: var(--muted); }

.timeline {
  position: relative;
  display: grid;
  gap: 0;
  max-width: 760px;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 15px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: #d7e0f7;
}
.tl-item {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 18px;
  padding-bottom: 28px;
}
.tl-dot {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--blue);
  color: var(--blue);
  font-size: 12px;
  font-weight: 700;
  display: grid;
  place-items: center;
  position: relative;
  z-index: 1;
}
.tl-item h3 { font-size: 16px; font-weight: 700; margin-bottom: 6px; }
.tl-item p { font-size: 14px; color: var(--slate); line-height: 1.6; }
.tl-item .year { font-size: 12px; font-weight: 700; color: var(--blue); margin-bottom: 4px; }

.deliverable-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
.deliverable {
  background: #fff;
  border: 1px solid var(--card-border);
  border-radius: 14px;
  padding: 18px 18px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  box-shadow: var(--shadow-sm);
}
.deliverable h3,
.deliverable h4 { font-size: 14.5px; font-weight: 700; margin-bottom: 4px; }
.deliverable p { font-size: 13px; color: var(--slate); line-height: 1.55; }

.hours-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.hours-card {
  background: #fff;
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow-sm);
}
.hours-card h3 { font-size: 16px; font-weight: 700; margin-bottom: 8px; }
.hours-card p { font-size: 13.5px; color: var(--slate); line-height: 1.6; }
.hours-card .time {
  display: inline-block;
  margin-top: 12px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--blue);
  background: #e8f5f7;
  padding: 5px 10px;
  border-radius: 999px;
}

.jump-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}
.jump-nav a {
  font-size: 13px;
  font-weight: 600;
  color: var(--blue);
  background: #fff;
  border: 1px solid var(--card-border);
  padding: 8px 14px;
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
}
.jump-nav a:hover { border-color: #9bb5ff; }

@media (max-width: 1080px) {
  .mini-stats,
  .feature-grid,
  .pricing-grid,
  .testimonial-grid,
  .industry-grid,
  .hours-grid { grid-template-columns: repeat(2, 1fr); }
  .price-card.featured { transform: none; }
  .case-card { grid-template-columns: 1fr; }
  .case-visual { min-height: 160px; }
}

@media (max-width: 860px) {
  .mini-stats,
  .feature-grid,
  .pricing-grid,
  .testimonial-grid,
  .industry-grid,
  .hours-grid,
  .deliverable-grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Portfolio — editorial redesign
   ========================================================================== */

.pf-hero {
  padding: 56px 0 40px;
  background:
    radial-gradient(ellipse 55% 70% at 100% 0%, rgba(46, 184, 188, .12), transparent 55%),
    radial-gradient(ellipse 45% 60% at 0% 100%, rgba(14, 124, 175, .10), transparent 50%),
    var(--bg);
  border-bottom: 1px solid var(--card-border);
}
.pf-hero-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 48px;
  align-items: end;
  margin-top: 8px;
}
.pf-hero h1 {
  font-size: 52px;
  font-weight: 800;
  letter-spacing: -1.6px;
  line-height: 1.1;
  margin: 10px 0 18px;
}
.pf-hero-lead {
  font-size: 17px;
  color: var(--slate);
  line-height: 1.7;
  max-width: 480px;
}
.pf-hero-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.pf-hero-stats div {
  background: #fff;
  border: 1px solid var(--card-border);
  border-radius: 16px;
  padding: 18px 16px;
  box-shadow: var(--shadow-sm);
}
.pf-hero-stats strong {
  display: block;
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -.6px;
  color: var(--blue);
  line-height: 1.1;
}
.pf-hero-stats span { font-size: 13px; color: var(--slate); }

.pf-featured { padding: 48px 0 20px; }
.pf-featured-card {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 0;
  background: #fff;
  border: 1px solid var(--card-border);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(37, 78, 200, .10);
}
.pf-featured-visual {
  position: relative;
  min-height: 480px;
  display: grid;
  place-items: center;
  overflow: hidden;
}
.pf-shot {
  position: relative;
  min-height: 480px;
  background: linear-gradient(160deg, #0d2d56 0%, #0e7caf 55%, #2db8bc 100%);
  display: flex;
  flex-direction: column;
  padding: 22px 22px 28px;
}
.pf-shot-chrome {
  display: flex;
  gap: 7px;
  margin-bottom: 14px;
  padding-left: 4px;
}
.pf-shot-chrome span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,.35);
}
.pf-shot-chrome span:nth-child(1) { background: #ff6b6b; }
.pf-shot-chrome span:nth-child(2) { background: #f5b301; }
.pf-shot-chrome span:nth-child(3) { background: #3ec4c8; }
.pf-shot img {
  width: 100%;
  height: auto;
  flex: 1;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 18px 40px rgba(0,0,0,.22);
  background: #fff;
}
.pf-shot-mark {
  position: absolute;
  right: 28px;
  bottom: 28px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #0d2d56;
  background: rgba(255,255,255,.94);
  border-radius: 999px;
  padding: 8px 14px;
}
.pf-editorial-media {
  position: relative;
  min-height: 320px;
  border-radius: 20px;
  overflow: hidden;
}
.pf-editorial-media .pf-shot {
  min-height: 320px;
  height: 100%;
  border-radius: 20px;
}
.pf-editorial-media .pf-featured-visual {
  min-height: 320px;
  height: 100%;
  border-radius: 20px;
}
.pf-tile-media {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.pf-tile-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
  transition: transform .45s ease;
}
.pf-tile:hover .pf-tile-media img { transform: scale(1.07); }
.pf-tile-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(13,45,86,.15) 0%, rgba(13,45,86,.78) 100%);
}
.pf-featured-pattern {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(rgba(255,255,255,.18) 1.5px, transparent 1.5px);
  background-size: 28px 28px;
  opacity: .7;
}
.pf-featured-mark {
  position: relative;
  font-size: 120px;
  font-weight: 800;
  letter-spacing: -4px;
  color: rgba(255,255,255,.92);
  text-shadow: 0 12px 40px rgba(0,0,0,.18);
  line-height: 1;
}
.pf-featured-float {
  position: absolute;
  right: 28px;
  bottom: 28px;
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(8px);
  border-radius: 16px;
  padding: 14px 18px;
  box-shadow: 0 12px 30px rgba(15,23,42,.18);
  text-align: left;
}
.pf-featured-float span {
  display: block;
  font-size: 26px;
  font-weight: 800;
  color: var(--blue);
  letter-spacing: -.5px;
  line-height: 1.1;
}
.pf-featured-float small {
  font-size: 12.5px;
  color: var(--slate);
  font-weight: 500;
}
.pf-featured-copy {
  padding: 48px 44px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.pf-kicker {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .6px;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 14px;
}
.pf-featured-copy h2 {
  font-size: 36px;
  font-weight: 800;
  letter-spacing: -.8px;
  margin-bottom: 10px;
}
.pf-subhead {
  font-size: 17px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.5;
  margin-bottom: 12px;
}
.pf-featured-copy > p {
  font-size: 14.5px;
  color: var(--slate);
  line-height: 1.7;
  margin-bottom: 22px;
}

.pf-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  padding: 18px 0;
  margin-bottom: 8px;
  border-top: 1px solid var(--card-border);
  border-bottom: 1px solid var(--card-border);
}
.pf-metrics.compact {
  border: 0;
  padding: 0;
  margin: 18px 0 16px;
  gap: 20px;
}
.pf-metrics strong {
  display: block;
  font-size: 24px;
  font-weight: 800;
  color: var(--blue);
  letter-spacing: -.5px;
  line-height: 1.1;
}
.pf-metrics span { font-size: 12.5px; color: var(--muted); }

.pf-section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 36px;
}
.pf-section-head h2 {
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -.6px;
  margin-top: 6px;
}
.pf-section-note {
  max-width: 340px;
  font-size: 14.5px;
  color: var(--slate);
  line-height: 1.65;
  padding-bottom: 4px;
}

.pf-editorial {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  margin-bottom: 56px;
}
.pf-editorial.reverse .pf-editorial-media { order: 2; }
.pf-editorial.reverse .pf-editorial-copy { order: 1; }
.pf-editorial.reverse .pf-editorial-visual { order: 2; }
.pf-editorial-visual {
  position: relative;
  min-height: 360px;
  border-radius: 22px;
  display: grid;
  place-items: center;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.pf-editorial-label {
  position: absolute;
  top: 18px;
  left: 18px;
  z-index: 3;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 1px;
  color: #0d2d56;
  background: rgba(255,255,255,.94);
  padding: 6px 12px;
  border-radius: 999px;
  box-shadow: 0 8px 18px rgba(15,23,42,.12);
}
.pf-editorial-mark {
  font-size: 96px;
  font-weight: 800;
  letter-spacing: -3px;
  color: rgba(255,255,255,.92);
  line-height: 1;
}
.pf-editorial-copy h3 {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -.5px;
  margin: 8px 0 12px;
}
.pf-editorial-copy > p {
  font-size: 15px;
  color: var(--slate);
  line-height: 1.7;
  margin-bottom: 14px;
}
.pf-bullets {
  display: grid;
  gap: 8px;
  margin-bottom: 4px;
}
.pf-bullets li {
  position: relative;
  padding-left: 18px;
  font-size: 14px;
  color: var(--slate);
  line-height: 1.5;
}
.pf-bullets li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: linear-gradient(135deg, #3ec4c8, #0d4f86);
}

.pf-filters { margin-bottom: 28px; }

.pf-mosaic {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.pf-tile {
  position: relative;
  min-height: 280px;
  border-radius: 20px;
  overflow: hidden;
  isolation: isolate;
  box-shadow: var(--shadow-sm);
  background: transparent;
  border: 0;
  transition: transform .25s ease, box-shadow .25s ease;
}
.pf-tile[hidden] { display: none !important; }
.pf-tile:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.pf-tile-bg {
  position: absolute;
  inset: 0;
  transition: transform .45s ease;
}
.pf-tile:hover .pf-tile-bg { transform: scale(1.05); }
.pf-tile-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 15%, rgba(10, 18, 40, .82) 100%);
}
.pf-tile-content {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 24px 26px;
  color: #fff;
  z-index: 1;
}
.pf-tile-cat {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .6px;
  text-transform: uppercase;
  background: rgba(255,255,255,.18);
  border: 1px solid rgba(255,255,255,.25);
  padding: 5px 10px;
  border-radius: 999px;
  margin-bottom: 12px;
  backdrop-filter: blur(6px);
}
.pf-tile-content h3 {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -.4px;
  margin-bottom: 6px;
  color: #fff;
}
.pf-tile-content p {
  font-size: 14px;
  color: rgba(255,255,255,.84);
  line-height: 1.55;
  max-width: 360px;
  margin: 0;
}
.pf-empty {
  text-align: center;
  color: var(--muted);
  font-size: 14.5px;
  padding: 40px 0 10px;
}
.pf-btn { margin-top: 22px; align-self: flex-start; }

.pf-quotes {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr;
  gap: 18px;
  align-items: stretch;
}
.pf-quote {
  background: #fff;
  border: 1px solid var(--card-border);
  border-radius: 18px;
  padding: 28px 26px;
  box-shadow: var(--shadow-sm);
  margin: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 22px;
}
.pf-quote.featured-quote {
  background: linear-gradient(145deg, #1aa8b8, #0d2d56);
  border: 0;
  color: #fff;
  box-shadow: 0 18px 40px rgba(13, 45, 86, .28);
  padding: 36px 32px;
}
.pf-quote > p {
  font-size: 16px;
  line-height: 1.65;
  color: var(--slate);
  font-weight: 500;
  margin: 0;
}
.pf-quote.featured-quote > p {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -.3px;
  color: #fff;
  line-height: 1.45;
}
.pf-quote-author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.pf-quote-author .av {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 700;
  font-size: 13px;
  flex-shrink: 0;
}
.pf-quote-author strong { display: block; font-size: 14px; color: var(--ink); }
.pf-quote-author span { font-size: 12.5px; color: var(--muted); }
.pf-quote.featured-quote .pf-quote-author strong { color: #fff; }
.pf-quote.featured-quote .pf-quote-author span { color: rgba(255,255,255,.75); }

.pf-nda-note {
  font-size: 13.5px;
  color: var(--slate);
  background: #eef8f9;
  border: 1px solid #cfe6ec;
  border-radius: 12px;
  padding: 12px 16px;
  margin-bottom: 18px;
  line-height: 1.55;
}
.pf-fine {
  margin-top: 10px;
  font-size: 12.5px;
  color: var(--muted);
}

/* Gradient backgrounds */
.pf-bg-1 { background: linear-gradient(145deg, #3ec4c8 0%, #0d4f86 100%); }
.pf-bg-2 { background: linear-gradient(145deg, #2db8bc 0%, #0e7caf 100%); }
.pf-bg-3 { background: linear-gradient(145deg, #1aa8b8 0%, #0d2d56 100%); }
.pf-bg-4 { background: linear-gradient(145deg, #48cdd0 0%, #1565a8 100%); }
.pf-bg-5 { background: linear-gradient(145deg, #1288b0 0%, #0d2d56 100%); }
.pf-bg-6 { background: linear-gradient(145deg, #0e7caf 0%, #0a3d6b 100%); }
.pf-bg-7 { background: linear-gradient(145deg, #2db8bc 0%, #0a5f8c 100%); }
.pf-bg-8 { background: linear-gradient(145deg, #3ec4c8 0%, #1288b0 100%); }
.pf-bg-9 { background: linear-gradient(145deg, #1aa8b8 0%, #0d4f86 100%); }

@media (max-width: 1080px) {
  .pf-hero-grid,
  .pf-featured-card,
  .pf-editorial,
  .pf-quotes { grid-template-columns: 1fr; }
  .pf-editorial.reverse .pf-editorial-media,
  .pf-editorial.reverse .pf-editorial-visual,
  .pf-editorial.reverse .pf-editorial-copy { order: unset; }
  .pf-featured-visual,
  .pf-shot { min-height: 320px; }
  .pf-section-head { flex-direction: column; align-items: flex-start; }
  .pf-mosaic { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 700px) {
  .pf-hero h1 { font-size: 36px; letter-spacing: -1px; }
  .pf-hero-stats { grid-template-columns: 1fr 1fr; }
  .pf-featured-copy { padding: 28px 24px; }
  .pf-featured-copy h2 { font-size: 28px; }
  .pf-featured-mark { font-size: 84px; }
  .pf-mosaic { grid-template-columns: 1fr; }
  .pf-editorial-visual { min-height: 240px; }
  .pf-editorial-mark { font-size: 72px; }
}

/* ==========================================================================
   About — story-led detailed page
   ========================================================================== */

.ab-hero {
  padding: 56px 0 48px;
  background:
    radial-gradient(ellipse 55% 70% at 100% 0%, rgba(46, 184, 188, .12), transparent 55%),
    radial-gradient(ellipse 45% 60% at 0% 100%, rgba(14, 124, 175, .10), transparent 50%),
    var(--bg);
  border-bottom: 1px solid var(--card-border);
}
.ab-hero-grid {
  display: grid;
  grid-template-columns: 1.35fr .9fr;
  gap: 48px;
  align-items: center;
  margin-top: 10px;
}
.ab-hero h1 {
  font-size: 46px;
  font-weight: 800;
  letter-spacing: -1.3px;
  line-height: 1.12;
  margin: 10px 0 18px;
}
.ab-lead {
  font-size: 16.5px;
  color: var(--slate);
  line-height: 1.7;
  max-width: 540px;
  margin-bottom: 26px;
}
.ab-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.ab-mission-card {
  background: linear-gradient(145deg, #1aa8b8, #0d2d56);
  color: #fff;
  border-radius: 22px;
  padding: 32px 28px;
  box-shadow: 0 18px 40px rgba(13, 45, 86, .28);
}
.ab-mission-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  opacity: .8;
  margin-bottom: 12px;
}
.ab-mission-text {
  font-size: 20px;
  font-weight: 600;
  line-height: 1.45;
  letter-spacing: -.3px;
  margin-bottom: 26px;
}
.ab-mission-meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  border-top: 1px solid rgba(255,255,255,.22);
  padding-top: 18px;
}
.ab-mission-meta strong {
  display: block;
  font-size: 22px;
  font-weight: 800;
  line-height: 1.1;
}
.ab-mission-meta span { font-size: 12px; opacity: .8; }

.ab-story {
  display: grid;
  grid-template-columns: 1.25fr .85fr;
  gap: 48px;
  align-items: start;
}
.ab-story-copy h2 {
  font-size: 34px;
  font-weight: 800;
  letter-spacing: -.6px;
  margin: 8px 0 18px;
}
.ab-story-copy > p {
  font-size: 15.5px;
  color: var(--slate);
  line-height: 1.75;
  margin-bottom: 14px;
}
.ab-pullquote {
  margin: 28px 0 0;
  padding: 22px 24px;
  border-left: 4px solid var(--blue);
  background: #eef8f9;
  border-radius: 0 14px 14px 0;
  font-size: 18px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.5;
  letter-spacing: -.2px;
}
.ab-story-aside { display: grid; gap: 16px; }
.ab-belief {
  background: #fff;
  border: 1px solid var(--card-border);
  border-radius: 18px;
  padding: 24px 22px;
  box-shadow: var(--shadow-sm);
}
.ab-belief.soft { background: #f8faff; }
.ab-belief h3 { font-size: 17px; font-weight: 800; margin-bottom: 14px; }
.ab-belief > p { font-size: 14.5px; color: var(--slate); line-height: 1.65; margin: 0; }

.ab-mv-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.ab-mv-card {
  background: #fff;
  border: 1px solid var(--card-border);
  border-radius: 18px;
  padding: 28px 24px;
  box-shadow: var(--shadow-sm);
}
.ab-mv-card.accent {
  background: linear-gradient(145deg, #1aa8b8, #0d2d56);
  border: 0;
  color: #fff;
  box-shadow: 0 16px 36px rgba(13, 45, 86, .26);
}
.ab-mv-icon {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: #e8f5f7;
  color: var(--blue);
  font-size: 18px;
  margin-bottom: 16px;
}
.ab-mv-card.accent .ab-mv-icon {
  background: rgba(255,255,255,.18);
  color: #fff;
}
.ab-mv-card h3 { font-size: 20px; font-weight: 800; margin-bottom: 10px; }
.ab-mv-card p { font-size: 14.5px; color: var(--slate); line-height: 1.65; margin: 0; }
.ab-mv-card.accent p { color: rgba(255,255,255,.88); }

.ab-values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.ab-value {
  background: #fff;
  border: 1px solid var(--card-border);
  border-radius: 18px;
  padding: 26px 22px;
  box-shadow: var(--shadow-sm);
  transition: transform .2s, box-shadow .2s;
}
.ab-value:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.ab-value-num {
  font-size: 13px;
  font-weight: 800;
  color: var(--blue);
  letter-spacing: .5px;
  margin-bottom: 12px;
}
.ab-value h3 { font-size: 18px; font-weight: 800; margin-bottom: 8px; }
.ab-value p { font-size: 14px; color: var(--slate); line-height: 1.65; margin: 0; }

.ab-timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  position: relative;
}
.ab-timeline::before {
  content: "";
  position: absolute;
  top: 28px;
  left: 8%;
  right: 8%;
  height: 2px;
  background: linear-gradient(90deg, #c9d6f5, #d8c9f8);
}
.ab-tl { position: relative; }
.ab-tl-year {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--blue);
  color: var(--blue);
  font-size: 13px;
  font-weight: 800;
  display: grid;
  place-items: center;
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
  box-shadow: 0 4px 12px rgba(14, 124, 175, .16);
}
.ab-tl-card {
  background: #fff;
  border: 1px solid var(--card-border);
  border-radius: 16px;
  padding: 20px 18px;
  box-shadow: var(--shadow-sm);
  min-height: 160px;
}
.ab-tl-card h3 { font-size: 15.5px; font-weight: 800; margin-bottom: 8px; line-height: 1.35; }
.ab-tl-card p { font-size: 13.5px; color: var(--slate); line-height: 1.6; margin: 0; }

.ab-culture {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.ab-culture-intro h2 {
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -.5px;
  margin: 8px 0 14px;
}
.ab-culture-intro > p {
  font-size: 15.5px;
  color: var(--slate);
  line-height: 1.7;
  margin: 0;
  max-width: 620px;
}
.ab-culture-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.ab-culture-item {
  background: #fff;
  border: 1px solid var(--card-border);
  border-radius: 14px;
  padding: 20px 18px;
  box-shadow: var(--shadow-sm);
}
.ab-culture-item h3,
.ab-culture-item h4 { font-size: 14.5px; font-weight: 800; margin-bottom: 6px; }
.ab-culture-item p { font-size: 13.5px; color: var(--slate); line-height: 1.55; margin: 0; }
.ab-culture-panel {
  background: linear-gradient(145deg, #1aa8b8, #0d2d56);
  color: #fff;
  border-radius: 22px;
  padding: 32px 36px;
  box-shadow: 0 18px 40px rgba(13, 45, 86, .28);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px 48px;
  align-items: end;
}
.ab-culture-panel h3 {
  font-size: 22px;
  font-weight: 800;
  margin: 0 0 18px;
  grid-column: 1 / -1;
}
.ab-culture-panel ul {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 40px;
  margin: 0;
  grid-column: 1;
}
.ab-culture-panel li {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 14px;
  line-height: 1.45;
  color: rgba(255,255,255,.9);
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,.15);
}
.ab-culture-panel li:nth-last-child(-n+2) { border-bottom: 0; }
.ab-culture-panel strong {
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .3px;
  text-transform: uppercase;
}
.ab-culture-panel span { color: rgba(255,255,255,.88); }
.ab-culture-panel .btn {
  grid-column: 2;
  justify-self: end;
  align-self: end;
  margin-bottom: 8px;
}

.ab-featured-team {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-bottom: 22px;
}
.ab-leader {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 18px;
  background: #fff;
  border: 1px solid var(--card-border);
  border-radius: 18px;
  padding: 24px;
  box-shadow: var(--shadow-sm);
}
.ab-leader-av {
  width: 72px;
  height: 72px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 800;
  font-size: 22px;
}
.ab-av-1 { background: linear-gradient(135deg, #3ec4c8, #0d4f86); }
.ab-av-2 { background: linear-gradient(135deg, #3ec4c8, #0e7caf); }
.ab-av-3 { background: linear-gradient(135deg, #2db8bc, #0d4f86); }
.ab-av-4 { background: linear-gradient(135deg, #3ec4c8, #1288b0); }
.ab-av-5 { background: linear-gradient(135deg, #2db8bc, #0e7caf); }
.ab-av-6 { background: linear-gradient(135deg, #3ec4c8, #0d4f86); }
.ab-av-7 { background: linear-gradient(135deg, #1288b0, #0d2d56); }
.ab-av-8 { background: linear-gradient(135deg, #1aa8b8, #0a5f8c); }
.ab-leader h3 { font-size: 18px; font-weight: 800; }
.ab-leader .role { font-size: 13px; font-weight: 700; color: var(--blue); margin: 4px 0 8px; }
.ab-leader p { font-size: 13.5px; color: var(--slate); line-height: 1.6; margin: 0; }

.ab-team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.ab-person {
  background: #fff;
  border: 1px solid var(--card-border);
  border-radius: 16px;
  padding: 20px 18px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform .2s, box-shadow .2s;
}
.ab-person:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.ab-person-top {
  display: flex;
  align-items: center;
  gap: 12px;
}
.ab-person .avatar {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  margin: 0;
  font-size: 15px;
}
.ab-person h3 { font-size: 15px; font-weight: 800; }
.ab-person .role { font-size: 12.5px; font-weight: 700; color: var(--blue); margin: 2px 0 0; }
.ab-person > p { font-size: 13px; color: var(--slate); line-height: 1.55; margin: 0; flex: 1; }
.ab-focus {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--blue);
  background: #e8f5f7;
  padding: 5px 10px;
  border-radius: 999px;
  align-self: flex-start;
}

.ab-perks {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 28px;
}
.ab-perk {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: #fff;
  border: 1px solid var(--card-border);
  border-radius: 14px;
  padding: 18px 16px;
  box-shadow: var(--shadow-sm);
}
.ab-perk h3,
.ab-perk h4 { font-size: 14px; font-weight: 800; margin-bottom: 4px; }
.ab-perk p { font-size: 13px; color: var(--slate); line-height: 1.5; margin: 0; }

.ab-jobs { display: grid; gap: 12px; }
.ab-job {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: #fff;
  border: 1px solid var(--card-border);
  border-radius: 16px;
  padding: 22px 24px;
  box-shadow: var(--shadow-sm);
}
.ab-job h3 { font-size: 17px; font-weight: 800; margin-bottom: 4px; }
.ab-job-type {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  color: var(--blue);
  margin-bottom: 8px;
}
.ab-job p { font-size: 13.5px; color: var(--slate); line-height: 1.55; margin: 0; max-width: 560px; }
.ab-job .btn { flex-shrink: 0; }
.ab-jobs-note {
  margin-top: 18px;
  font-size: 14px;
  color: var(--slate);
}
.ab-jobs-note a { color: var(--blue); font-weight: 600; }

@media (max-width: 1080px) {
  .ab-hero-grid,
  .ab-story,
  .ab-featured-team { grid-template-columns: 1fr; }
  .ab-mv-grid,
  .ab-values,
  .ab-timeline,
  .ab-team-grid { grid-template-columns: repeat(2, 1fr); }
  .ab-timeline::before { display: none; }
  .ab-perks { grid-template-columns: 1fr 1fr; }
  .ab-culture-grid { grid-template-columns: 1fr 1fr; }
  .ab-culture-panel {
    grid-template-columns: 1fr;
    align-items: start;
  }
  .ab-culture-panel h3,
  .ab-culture-panel ul,
  .ab-culture-panel .btn { grid-column: 1; }
  .ab-culture-panel .btn { justify-self: start; margin-bottom: 0; }
}

@media (max-width: 700px) {
  .ab-hero h1 { font-size: 32px; letter-spacing: -1px; }
  .ab-hero-actions { flex-direction: column; }
  .ab-hero-actions .btn { justify-content: center; }
  .ab-mission-meta,
  .ab-mv-grid,
  .ab-values,
  .ab-timeline,
  .ab-culture-grid,
  .ab-culture-panel ul,
  .ab-team-grid,
  .ab-perks { grid-template-columns: 1fr; }
  .ab-culture-panel li:nth-last-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,.15); }
  .ab-culture-panel li:last-child { border-bottom: 0; }
  .ab-job { flex-direction: column; align-items: flex-start; }
}

/* ==========================================================================
   Services hero
   ========================================================================== */

.sv-hero {
  padding: 52px 0 44px;
  background:
    radial-gradient(ellipse 55% 70% at 100% 0%, rgba(46, 184, 188, .12), transparent 55%),
    radial-gradient(ellipse 45% 60% at 0% 100%, rgba(14, 124, 175, .10), transparent 50%),
    var(--bg);
  border-bottom: 1px solid var(--card-border);
}
.sv-hero-grid {
  display: grid;
  grid-template-columns: 1.2fr .9fr;
  gap: 48px;
  align-items: center;
  margin-top: 10px;
}
.sv-hero-copy h1 {
  font-size: 48px;
  font-weight: 800;
  letter-spacing: -1.4px;
  line-height: 1.1;
  margin: 10px 0 18px;
}
.sv-hero-lead {
  font-size: 16.5px;
  color: var(--slate);
  line-height: 1.7;
  max-width: 560px;
  margin-bottom: 26px;
}
.sv-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.sv-hero-nav {
  background: #fff;
  border: 1px solid var(--card-border);
  border-radius: 22px;
  padding: 22px;
  box-shadow: var(--shadow-md);
  display: grid;
  gap: 10px;
}
.sv-hero-nav-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 4px;
}
.sv-jump {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid transparent;
  background: #f3fafb;
  transition: transform .2s ease, border-color .2s ease, background .2s ease, box-shadow .2s ease;
}
.sv-jump:hover {
  transform: translateX(4px);
  border-color: #b8dde6;
  background: #fff;
  box-shadow: var(--shadow-sm);
}
.sv-jump-ico {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: linear-gradient(135deg, #3ec4c8, #0d4f86);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.sv-jump strong {
  display: block;
  font-size: 14.5px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.3;
}
.sv-jump small {
  display: block;
  font-size: 12.5px;
  color: var(--muted);
  margin-top: 2px;
}
.sv-jump-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 4px;
}
.sv-jump.mini {
  justify-content: center;
  text-align: center;
  font-size: 13px;
  font-weight: 700;
  color: var(--blue);
  padding: 12px 10px;
  background: #e8f5f7;
}
.sv-jump.mini:hover { color: var(--blue-dark); }

.sv-stats { padding: 36px 0; }

@media (max-width: 1080px) {
  .sv-hero-grid { grid-template-columns: 1fr; gap: 28px; }
  .sv-hero-copy h1 { font-size: 40px; }
}

@media (max-width: 700px) {
  .sv-hero-copy h1 { font-size: 32px; letter-spacing: -1px; }
  .sv-hero-actions { flex-direction: column; }
  .sv-hero-actions .btn { justify-content: center; }
  .sv-jump-row { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Motion — keep the site feeling alive
   ========================================================================== */

@keyframes float-y {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

@keyframes float-soft {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-8px) rotate(1deg); }
}

@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 8px 20px rgba(14, 124, 175, .32); }
  50% { box-shadow: 0 10px 28px rgba(14, 124, 175, .48); }
}

@keyframes gradient-shift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes shimmer {
  0% { background-position: 0% 50%; }
  100% { background-position: 200% 50%; }
}

@keyframes fade-up {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes rocket-bob {
  0%, 100% { transform: translateY(-50%); }
  50% { transform: translateY(calc(-50% - 10px)); }
}

@keyframes orbit-pulse {
  0%, 100% { opacity: .35; transform: scale(1); }
  50% { opacity: .75; transform: scale(1.08); }
}

@keyframes soft-drift {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(12px, -18px, 0); }
}

@keyframes dot-blink {
  0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(62, 196, 200, .35); }
  50% { transform: scale(1.15); box-shadow: 0 0 0 6px rgba(62, 196, 200, 0); }
}

/* Page load entrances — never opacity-hide the LCP heading */
.hero-copy > *:not(h1) {
  opacity: 0;
  animation: fade-up .7s cubic-bezier(.22, 1, .36, 1) forwards;
}
.hero-copy > h1 {
  opacity: 1;
  transform: none;
  animation: none;
}
.hero-copy > *:nth-child(1) { animation-delay: .05s; }
.hero-copy > *:nth-child(3) { animation-delay: .12s; }
.hero-copy > *:nth-child(4) { animation-delay: .2s; }
.hero-copy > *:nth-child(5) { animation-delay: .28s; }

.hero-art {
  opacity: 0;
  animation: fade-up .9s cubic-bezier(.22, 1, .36, 1) .2s forwards;
  position: relative;
}

/* Inner-page heroes: keep H1 visible at first paint (no whole-grid opacity:0) */
.page-hero-inner,
.pf-hero-grid,
.ab-hero-grid,
.sv-hero-grid,
.lg-hero-grid {
  opacity: 1;
  animation: none;
}

/* Gradient text feels live */
.grad-text {
  background-size: 200% auto;
  animation: shimmer 7s linear infinite;
}

/* Scroll reveal base */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity .7s cubic-bezier(.22, 1, .36, 1), transform .7s cubic-bezier(.22, 1, .36, 1);
  will-change: opacity, transform;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-stagger > .reveal:nth-child(1) { transition-delay: .05s; }
.reveal-stagger > .reveal:nth-child(2) { transition-delay: .12s; }
.reveal-stagger > .reveal:nth-child(3) { transition-delay: .19s; }
.reveal-stagger > .reveal:nth-child(4) { transition-delay: .26s; }
.reveal-stagger > .reveal:nth-child(5) { transition-delay: .33s; }
.reveal-stagger > .reveal:nth-child(6) { transition-delay: .4s; }
.reveal-stagger > .reveal:nth-child(7) { transition-delay: .47s; }
.reveal-stagger > .reveal:nth-child(8) { transition-delay: .54s; }

/* Interactive polish */
.btn { transition: transform .2s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease; }
.btn svg { transition: transform .25s ease; }
.btn:hover svg { transform: translateX(3px); }
.btn:active { transform: translateY(1px) scale(.98); }
.btn-primary { animation: pulse-glow 3.5s ease-in-out infinite; }
.btn-primary:hover,
.btn-nav { animation: none; }
.btn-primary.btn-nav { animation: none; }
.btn.is-loading {
  pointer-events: none;
  opacity: .82;
}
.btn.is-loading svg { animation: float-y 1s ease-in-out infinite; }

.service-card,
.feature-card,
.solution-card,
.tech-chip,
.mini-stat,
.ab-value,
.ab-person,
.value-card,
.team-card,
.price-card,
.quote-card,
.pf-quote,
.ab-culture-item,
.ab-job,
.ab-mv-card,
.industry-chip,
.deliverable,
.hours-card,
.contact-info-card,
.ab-belief,
.ab-perk,
.ab-pullquote {
  transition: transform .28s cubic-bezier(.22, 1, .36, 1), box-shadow .28s ease, border-color .2s ease;
}
.service-card:hover,
.feature-card:hover,
.solution-card:hover,
.mini-stat:hover,
.ab-value:hover,
.ab-person:hover,
.value-card:hover,
.team-card:hover,
.price-card:hover:not(.featured),
.quote-card:hover,
.pf-quote:hover:not(.featured-quote),
.ab-culture-item:hover,
.ab-job:hover,
.ab-mv-card:hover:not(.accent),
.industry-chip:hover,
.deliverable:hover,
.hours-card:hover,
.contact-info-card:hover,
.ab-belief:hover,
.ab-perk:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: #d0daf5;
}
.industry-chip:hover .dot {
  transform: scale(1.25);
  box-shadow: 0 0 0 4px rgba(62, 196, 200, .18);
  animation: dot-blink 1.4s ease-in-out infinite;
}

.service-icon img,
.detail-visual img {
  transition: transform .45s cubic-bezier(.22, 1, .36, 1);
}
.service-card:hover .service-icon img,
.service-detail:hover .detail-visual img {
  transform: scale(1.06) translateY(-4px);
}

.learn-more { transition: gap .2s ease, color .15s ease; }
.learn-more:hover { gap: 11px; }

.cta-band {
  background-size: 180% 180%;
  animation: gradient-shift 10s ease infinite;
  transition: transform .35s cubic-bezier(.22, 1, .36, 1), box-shadow .35s ease;
}
.cta-band:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px rgba(13, 45, 86, .22);
}
.cta-rocket {
  animation: rocket-bob 4.5s ease-in-out infinite;
}
.cta-band:hover .cta-rocket {
  animation-duration: 2.2s;
}

@keyframes rocket-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

@media (max-width: 860px) {
  .cta-band {
    flex-direction: column;
    text-align: center;
    align-items: center;
    padding: 28px 22px 32px;
    gap: 16px;
  }
  .cta-rocket {
    position: static;
    left: auto;
    top: auto;
    width: 112px;
    max-width: 34vw;
    height: auto;
    margin: 0 auto;
    animation-name: rocket-float;
  }
  .cta-copy {
    max-width: 28rem;
  }
  .cta-copy h2 { font-size: 22px; }
  .cta .btn-white {
    width: min(100%, 280px);
    justify-content: center;
  }
}

.stats-bar .stat {
  transition: transform .25s ease;
}
.stats-bar .stat:hover { transform: scale(1.04); }
.stat-text strong {
  transition: color .2s ease;
}
.stats-bar .stat:hover .stat-text strong { color: var(--blue); }

.step-circle {
  transition: transform .3s ease, border-color .2s ease, background .2s ease, box-shadow .3s ease;
}
.step:hover .step-circle {
  transform: scale(1.08);
  border-color: var(--blue);
  background: #e8f5f7;
  box-shadow: 0 8px 20px rgba(14, 124, 175, .20);
}
.step-num {
  transition: color .2s ease;
}
.step:hover .step-num { color: var(--blue); }

.site-header {
  transition: box-shadow .25s ease, background .25s ease;
}
.site-header.is-scrolled {
  box-shadow: 0 8px 28px rgba(15, 23, 42, .07);
  background: rgba(255, 255, 255, .92);
}
.site-header.nav-open,
.site-header.nav-open.is-scrolled {
  background: transparent;
  backdrop-filter: none;
  box-shadow: none;
  border-bottom-color: transparent;
}
.site-header .logo-img {
  transition: transform .3s ease, filter .3s ease;
}
.site-header.is-scrolled .logo-img {
  transform: scale(.96);
}

.main-nav > a:not(.btn),
.main-nav .nav-link {
  transition: color .15s ease;
  position: relative;
}
@media (min-width: 861px) {
  .main-nav > a::after,
  .main-nav .nav-link::after {
    content: "";
    position: absolute;
    left: 0; right: 0; bottom: -4px;
    height: 2.5px;
    border-radius: 2px;
    background: var(--blue);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .22s ease;
  }
  .main-nav > a.active::after,
  .main-nav .nav-link.active::after {
    transform: scaleX(1);
  }
  .main-nav > a:hover::after,
  .main-nav .nav-link:hover::after {
    transform: scaleX(1);
  }
}

.pf-featured-float {
  animation: float-soft 5s ease-in-out infinite;
}
.pf-tile-content h3,
.pf-tile-content p {
  transition: transform .3s ease;
}
.pf-tile:hover .pf-tile-content h3,
.pf-tile:hover .pf-tile-content p {
  transform: translateY(-2px);
}

.filter-btn { transition: transform .2s ease, background .15s ease, color .15s ease, border-color .15s ease, box-shadow .2s ease; }
.filter-btn:hover { transform: translateY(-2px); }
.filter-btn.active {
  box-shadow: 0 6px 16px rgba(14, 124, 175, .22);
}
.filter-btn.active:hover { transform: translateY(-2px); }

.jump-nav a {
  transition: transform .2s ease, border-color .15s ease, color .15s ease, box-shadow .2s ease;
}
.jump-nav a:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.socials a {
  transition: transform .22s ease, background .2s ease, border-color .2s ease, color .2s ease;
}
.socials a:hover {
  transform: translateY(-3px) scale(1.06);
}
.footer-col a {
  transition: color .15s ease, padding-left .2s ease;
}
.footer-col a:hover {
  color: var(--blue);
  padding-left: 4px;
}

/* Ambient page background breath */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background:
    radial-gradient(ellipse 50% 40% at 10% 20%, rgba(14, 124, 175, .06), transparent 60%),
    radial-gradient(ellipse 45% 35% at 90% 70%, rgba(46, 184, 188, .06), transparent 60%),
    radial-gradient(ellipse 30% 28% at 70% 15%, rgba(13, 45, 86, .04), transparent 55%);
  animation: gradient-shift 18s ease infinite;
  background-size: 140% 140%;
}

/* Soft floating orbs behind heroes */
.hero,
.sv-hero,
.lg-hero {
  position: relative;
  overflow: hidden;
}
.hero::before,
.hero::after,
.sv-hero::before,
.sv-hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  filter: blur(2px);
}
.hero::before,
.sv-hero::before {
  width: 180px;
  height: 180px;
  top: 8%;
  right: 6%;
  background: radial-gradient(circle, rgba(62, 196, 200, .18), transparent 70%);
  animation: soft-drift 14s ease-in-out infinite, orbit-pulse 6s ease-in-out infinite;
}
.hero::after,
.sv-hero::after {
  width: 120px;
  height: 120px;
  bottom: 12%;
  left: 4%;
  background: radial-gradient(circle, rgba(14, 124, 175, .14), transparent 70%);
  animation: soft-drift 18s ease-in-out infinite reverse, orbit-pulse 8s ease-in-out infinite 1s;
}
.hero > .container,
.sv-hero > .container {
  position: relative;
  z-index: 1;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .reveal {
    opacity: 1 !important;
    transform: none !important;
  }
  .hero-copy > *,
  .hero-art,
  .page-hero-inner,
  .pf-hero-grid,
  .ab-hero-grid,
  .sv-hero-grid,
  .lg-hero-grid {
    opacity: 1 !important;
    animation: none !important;
  }
  .hero-art img,
  .cta-rocket,
  .btn-primary,
  .grad-text,
  .cta-band,
  .pf-featured-float,
  body::before,
  .hero::before,
  .hero::after,
  .sv-hero::before,
  .sv-hero::after {
    animation: none !important;
  }
}

/* ==========================================================================
   Legal pages — editorial layout
   ========================================================================== */

.lg-hero {
  padding: 48px 0 40px;
  background:
    radial-gradient(ellipse 55% 70% at 100% 0%, rgba(46, 184, 188, .12), transparent 55%),
    radial-gradient(ellipse 45% 60% at 0% 100%, rgba(14, 124, 175, .10), transparent 50%),
    var(--bg);
  border-bottom: 1px solid var(--card-border);
}
.lg-hero-grid {
  display: grid;
  grid-template-columns: 1.25fr .85fr;
  gap: 40px;
  align-items: center;
  margin-top: 10px;
}
.lg-hero-copy h1 {
  font-size: 48px;
  font-weight: 800;
  letter-spacing: -1.4px;
  line-height: 1.1;
  margin: 10px 0 16px;
}
.lg-hero-lead {
  font-size: 16.5px;
  color: var(--slate);
  line-height: 1.7;
  max-width: 520px;
  margin-bottom: 22px;
}
.lg-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.lg-chip {
  display: inline-flex;
  align-items: center;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--blue);
  background: #e8f5f7;
  border: 1px solid #d7e2ff;
  border-radius: 999px;
  padding: 6px 12px;
}
.lg-chip.quiet {
  color: var(--slate);
  background: #fff;
  border-color: var(--card-border);
}

.lg-switch {
  background: #fff;
  border: 1px solid var(--card-border);
  border-radius: 20px;
  padding: 18px;
  box-shadow: var(--shadow-md);
  display: grid;
  gap: 8px;
}
.lg-switch-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 2px;
}
.lg-switch-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid transparent;
  background: #f3fafb;
  transition: transform .2s ease, border-color .2s ease, background .2s ease, box-shadow .2s ease;
}
.lg-switch-item:hover {
  transform: translateX(3px);
  border-color: #b8dde6;
  background: #fff;
  box-shadow: var(--shadow-sm);
}
.lg-switch-item.active {
  background: linear-gradient(135deg, rgba(14, 124, 175, .10), rgba(46, 184, 188, .10));
  border-color: #b8dde6;
  box-shadow: none;
}
.lg-switch-ico {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: linear-gradient(135deg, #3ec4c8, #0d4f86);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.lg-switch-item strong {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.3;
}
.lg-switch-item small {
  display: block;
  font-size: 12px;
  color: var(--muted);
  margin-top: 2px;
}

.lg-body { padding-top: 48px; padding-bottom: 72px; }
.lg-layout {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 48px;
  align-items: start;
}

.lg-toc {
  position: sticky;
  top: 96px;
  background: #fff;
  border: 1px solid var(--card-border);
  border-radius: 18px;
  padding: 18px 16px;
  box-shadow: var(--shadow-sm);
}
.lg-toc-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 12px;
  padding: 0 6px;
}
.lg-toc ol {
  display: grid;
  gap: 2px;
  margin: 0;
  padding: 0;
  overflow: visible;
}
.lg-toc li a {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 8px 8px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 550;
  color: var(--slate);
  line-height: 1.35;
  transition: background .15s ease, color .15s ease;
}
.lg-toc li a span {
  font-size: 11px;
  font-weight: 700;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
  flex-shrink: 0;
}
.lg-toc li a:hover {
  background: #eef8f9;
  color: var(--blue);
}
.lg-toc-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 14px;
  padding: 11px 12px;
  border-radius: 12px;
  background: #e8f5f7;
  color: var(--blue);
  font-size: 12.5px;
  font-weight: 700;
}
.lg-toc-cta:hover { background: #d9eef2; }

.lg-content { min-width: 0; }
.lg-callout {
  background: linear-gradient(135deg, #eef8f9, #f2f8fa);
  border: 1px solid #cfe6ec;
  border-radius: 16px;
  padding: 18px 20px;
  font-size: 14.5px;
  color: var(--slate);
  line-height: 1.65;
  margin-bottom: 28px;
}
.lg-callout strong { color: var(--ink); }

.lg-block {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 18px;
  padding: 26px 0;
  border-bottom: 1px solid var(--card-border);
  scroll-margin-top: 100px;
}
.lg-block:first-of-type { padding-top: 0; }
.lg-num {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: #e8f5f7;
  color: var(--blue);
  font-size: 13px;
  font-weight: 800;
  display: grid;
  place-items: center;
  letter-spacing: .5px;
}
.lg-block h2 {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -.4px;
  margin: 6px 0 12px;
  color: var(--ink);
}
.lg-block p,
.lg-block li {
  font-size: 15px;
  color: var(--slate);
  line-height: 1.75;
}
.lg-block p { margin-bottom: 12px; }
.lg-block p:last-child { margin-bottom: 0; }
.lg-block ul {
  list-style: none;
  padding: 0;
  margin: 0 0 12px;
  display: grid;
  gap: 8px;
}
.lg-block li {
  position: relative;
  padding: 10px 14px 10px 36px;
  background: #f8faff;
  border: 1px solid #e8edf8;
  border-radius: 12px;
}
.lg-block li::before {
  content: "";
  position: absolute;
  left: 14px;
  top: 18px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, #3ec4c8, #0d4f86);
}
.lg-block a {
  color: var(--blue);
  font-weight: 600;
}
.lg-block a:hover { text-decoration: underline; }
.lg-highlight {
  display: inline-block;
  margin-top: 4px;
  padding: 10px 14px;
  border-radius: 12px;
  background: #ecfdf5;
  border: 1px solid #bbf7d0;
  color: #166534 !important;
  font-weight: 600;
}

.lg-footer-bar {
  margin-top: 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 30px;
  border-radius: 20px;
  background: linear-gradient(135deg, #1aa8b8, #0d2d56);
  color: #fff;
  box-shadow: 0 16px 36px rgba(13, 45, 86, .26);
}
.lg-footer-bar h3 {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -.3px;
  margin-bottom: 6px;
}
.lg-footer-bar p {
  font-size: 14px;
  opacity: .9;
  line-height: 1.5;
  max-width: 420px;
}
.lg-footer-bar .btn-primary {
  background: #fff;
  color: var(--blue);
  flex-shrink: 0;
}
.lg-footer-bar .btn-primary:hover {
  background: #eef8f9;
  color: var(--blue-dark);
}

@media (max-width: 1080px) {
  .lg-hero-grid { grid-template-columns: 1fr; gap: 28px; }
  .lg-layout { grid-template-columns: 1fr; gap: 28px; }
  .lg-toc {
    position: static;
    display: grid;
    grid-template-columns: 1fr;
  }
  .lg-toc ol {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  .lg-toc-cta { justify-self: start; }
}

@media (max-width: 700px) {
  .lg-hero-copy h1 { font-size: 34px; letter-spacing: -1px; }
  .lg-toc ol { grid-template-columns: 1fr; }
  .lg-block { grid-template-columns: 1fr; gap: 12px; }
  .lg-footer-bar {
    flex-direction: column;
    align-items: flex-start;
    padding: 24px;
  }
  .lg-footer-bar .btn { width: 100%; justify-content: center; }
}
