/*
Theme Name: Teos Modern
Theme URI: https://teos-tech.com
Author: Teos Technology LLC
Description: Lightweight custom WordPress theme for Teos Technology. Built without a page builder.
Version: 1.9.0
Text Domain: teos-modern
*/

:root {
  --navy: #071746;
  --blue: #075bea;
  --blue2: #1288ff;
  --cyan: #13a9c7;
  --sky: #eaf5ff;
  --mint: #d9f7ee;
  --green: #18a66f;
  --purple: #7b4df3;
  --orange: #f39a1e;
  --red: #f25f5c;
  --muted: #33466f;
  --line: #dce9f8;
  --card: rgba(255,255,255,.92);
  --shadow: 0 18px 45px rgba(7,23,70,.10), 0 3px 12px rgba(7,23,70,.06);
  --soft-shadow: 0 10px 28px rgba(7,23,70,.08);
  --radius: 18px;
  --max: 1740px;
}
* { box-sizing: border-box; }
html {
  max-width: 100%;
  overflow-x: hidden;
  scroll-behavior: smooth;
}
body {
  margin: 0;
  max-width: 100%;
  overflow-x: hidden;
  color: var(--navy);
  background: #f8fbff;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.45;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.teos-page {
  min-height: 100vh;
  overflow-x: hidden;
  background: linear-gradient(180deg, #fff 0%, #f6fbff 56%, #fff 100%);
}
.container { width: min(var(--max), calc(100% - 120px)); margin-inline: auto; }
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.88); backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(175,202,232,.55);
}
.nav { min-height: 92px; display: flex; align-items: center; gap: 38px; }
.brand { display: flex; align-items: center; gap: 16px; min-width: 285px; }
.logo-img { width: 66px; height: 66px; object-fit: contain; filter: drop-shadow(0 7px 16px rgba(7,91,234,.22)); }
.wordmark strong { display: block; font-size: 43px; line-height: .82; letter-spacing: .22em; color: #126ef2; font-weight: 800; }
.wordmark span { display: block; margin-top: 8px; color: #33466f; letter-spacing: .44em; font-weight: 700; font-size: 16px; }
.mobile-menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(7,91,234,.26);
  border-radius: 10px;
  background: rgba(255,255,255,.9);
  color: var(--navy);
  box-shadow: 0 8px 20px rgba(7,23,70,.08);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  gap: 5px;
  flex-direction: column;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
.mobile-menu-toggle:hover,
.mobile-menu-toggle:focus-visible {
  border-color: rgba(7,91,234,.5);
  background: #fff;
  box-shadow: 0 12px 26px rgba(7,23,70,.12);
  outline: none;
  transform: translateY(-1px);
}
.mobile-menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform .2s ease, opacity .2s ease;
}
.mobile-menu-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.mobile-menu-toggle.is-open span:nth-child(2) { opacity: 0; }
.mobile-menu-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.menu { flex: 1; display: flex; justify-content: center; gap: clamp(20px,2.6vw,48px); align-items: center; font-weight: 800; color: var(--navy); }
.menu-item { position: relative; }
.menu-item.has-submenu {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.menu-item.has-submenu::after {
  content: "";
  position: absolute;
  left: -18px;
  right: -18px;
  top: 100%;
  height: 22px;
  z-index: 79;
}
.menu a { position: relative; padding: 12px 0; }
.menu a:hover, .menu a.active { color: var(--blue); }
.menu a.active::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; border-radius: 3px; background: var(--blue); }
.menu-link { display: inline-flex; align-items: center; gap: 5px; }
.submenu-caret {
  flex: 0 0 auto;
  display: inline-block;
  width: 0;
  height: 0;
  margin: 0;
  padding: 0;
  appearance: none;
  background: transparent;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 6px solid currentColor;
  border-bottom: 0;
  color: currentColor;
  cursor: pointer;
  transform: translateY(1px);
  transition: transform .18s ease;
}
.submenu-caret:focus-visible {
  outline: 2px solid rgba(7,91,234,.52);
  outline-offset: 7px;
}
.submenu {
  position: absolute;
  top: 100%;
  left: 50%;
  width: 292px;
  max-height: min(70vh, 520px);
  padding: 10px;
  overflow: auto;
  background: rgba(255,255,255,.96);
  border: 1px solid rgba(194,216,241,.9);
  border-radius: 12px;
  box-shadow: 0 18px 42px rgba(7,23,70,.15), 0 5px 18px rgba(7,91,234,.08);
  backdrop-filter: blur(16px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translate(-50%, 6px);
  transition: opacity .16s ease, transform .16s ease, visibility .16s ease;
  z-index: 80;
}
.submenu::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -22px;
  height: 22px;
}
.submenu a {
  display: block;
  padding: 10px 12px;
  border-radius: 8px;
  color: var(--navy);
  font-size: 14px;
  line-height: 1.2;
}
.submenu a::after { display: none; }
.submenu a:hover,
.submenu a:focus-visible {
  color: var(--blue);
  background: rgba(234,245,255,.9);
  outline: none;
}
.has-submenu.is-open .submenu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate(-50%, 0);
}
.has-submenu.is-open .submenu-caret {
  transform: translateY(1px) rotate(180deg);
}
.button { display: inline-flex; align-items: center; justify-content: center; gap: 16px; border: 1px solid transparent; border-radius: 9px; min-height: 52px; padding: 0 30px; font-weight: 800; letter-spacing: .01em; white-space: nowrap; transition: transform .2s ease, box-shadow .2s ease; }
.button:hover { transform: translateY(-1px); }
.button.primary { color: #fff; background: linear-gradient(135deg, #075bea, #126ef2); box-shadow: 0 12px 30px rgba(7,91,234,.24); }
.button.ghost { border-color: rgba(7,91,234,.55); color: var(--blue); background: rgba(255,255,255,.86); }
.button.big { min-height: 60px; padding-inline: 34px; }
.arrow { font-size: 26px; line-height: 1; }
.hero { position: relative; z-index: 20; padding: 58px 0 28px; }
.hero::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(ellipse at 78% 40%, rgba(18,136,255,.15), transparent 38%), linear-gradient(118deg, transparent 0 45%, rgba(234,245,255,.82) 45% 100%); }
.hero-grid { position: relative; min-height: 450px; display: grid; grid-template-columns: minmax(470px,.92fr) 1.08fr; align-items: center; gap: 40px; }
.eyebrow { color: var(--blue); font-weight: 900; letter-spacing: .11em; text-transform: uppercase; font-size: 16px; margin-bottom: 16px; }
.hero h1 { margin: 0; font-weight: 900; letter-spacing: -.055em; font-size: clamp(48px,5vw,74px); line-height: .99; color: var(--navy); }
.hero h1 span { color: var(--blue); }
.hero p { margin: 22px 0 26px; max-width: 615px; color: #263b68; font-size: 18px; line-height: 1.55; font-weight: 500; }
.hero-actions { display: flex; gap: 28px; flex-wrap: wrap; }
.hero-art { position: relative; z-index: 40; height: 450px; display: grid; place-items: center; isolation: isolate; }
.wave { position: absolute; inset: 0 -80px 0 -140px; opacity: .92; background: repeating-radial-gradient(ellipse at 77% 50%, rgba(7,91,234,.22) 0 1px, transparent 1px 26px), linear-gradient(100deg, transparent 8%, rgba(255,255,255,.7) 36%, rgba(206,235,255,.72) 70%, rgba(183,245,229,.55)); clip-path: polygon(0 52%,15% 46%,29% 49%,46% 30%,68% 38%,100% 12%,100% 100%,0 100%); z-index: -3; }
.lines { position: absolute; inset: 0 -90px 0 -160px; z-index: -2; opacity: .65; background-image: radial-gradient(circle at 80% 55%, rgba(255,255,255,.9) 0 2px, transparent 2px), repeating-linear-gradient(160deg, transparent 0 20px, rgba(255,255,255,.82) 21px, transparent 22px); transform: skewY(-3deg); mask-image: linear-gradient(90deg, transparent, #000 28%, #000 100%); }
.orb { width: min(390px,60vw); aspect-ratio: 1; object-fit: contain; filter: drop-shadow(0 38px 48px rgba(5,39,119,.32)); z-index: 2; }
.pedestal { position: absolute; width: 440px; height: 82px; border-radius: 50%; bottom: 54px; background: linear-gradient(180deg,#fff,#d9eafd); box-shadow: 0 22px 32px rgba(7,54,132,.18), inset 0 1px 0 #fff; z-index: 1; }
.services-hero-art,
.industries-hero-art {
  overflow: visible;
}
.service-orbit-system {
  position: relative;
  z-index: 6;
  width: min(650px, 100%);
  height: 430px;
  display: grid;
  place-items: center;
  transform-origin: 50% 54%;
  will-change: transform;
}
.service-orbit-system .orb {
  position: relative;
  z-index: 5;
  width: min(330px, 46vw);
  max-width: 74%;
  pointer-events: auto;
}
.industry-orbit-system {
  --orbit-step: -12s;
}
.service-orbit-ring {
  position: absolute;
  inset: 0;
  z-index: 8;
  pointer-events: none;
  transform-origin: 50% 50%;
}
.service-orbit-ring:hover .service-orbit-sphere,
.service-orbit-system.is-tooltip-visible .service-orbit-sphere {
  animation-play-state: paused;
}
.service-orbit-sphere {
  --orbit-radius: clamp(160px, 18vw, 244px);
  position: absolute;
  left: 50%;
  top: 50%;
  width: clamp(56px, 4.2vw, 72px);
  height: clamp(56px, 4.2vw, 72px);
  translate: -50% -50%;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--accent);
  background:
    radial-gradient(circle at 36% 30%, color-mix(in srgb, var(--accent) 72%, white) 0 18%, color-mix(in srgb, var(--accent) 88%, #1288ff) 34%, color-mix(in srgb, var(--accent) 60%, #071746) 64%, #06194d 100%);
  border: 1px solid color-mix(in srgb, var(--accent) 46%, white);
  box-shadow:
    inset -16px -18px 24px rgba(2,12,34,.36),
    inset 9px 9px 20px rgba(255,255,255,.2),
    0 18px 30px rgba(7,23,70,.18),
    0 6px 14px color-mix(in srgb, var(--accent) 22%, transparent);
  filter:
    drop-shadow(18px 22px 16px rgba(2,12,34,.34))
    drop-shadow(0 8px 14px color-mix(in srgb, var(--accent) 24%, transparent));
  pointer-events: auto;
  transform: rotate(0deg) translateX(var(--orbit-radius)) rotate(0deg);
  transform-origin: center;
  animation: service-orbit-position 72s linear infinite;
  animation-delay: calc(var(--i) * var(--orbit-step, -9s));
  transition: box-shadow .18s ease, filter .18s ease, scale .18s ease;
}
.service-orbit-sphere::before,
.service-orbit-sphere::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  pointer-events: none;
}
.service-orbit-sphere::before {
  background:
    radial-gradient(ellipse at 30% 22%, rgba(255,255,255,.84) 0 8%, rgba(255,255,255,.32) 9% 23%, transparent 42%),
    linear-gradient(135deg, rgba(255,255,255,.18), transparent 44%);
  opacity: .84;
}
.service-orbit-sphere::after {
  background:
    radial-gradient(circle at 70% 78%, rgba(2,12,34,.42), transparent 42%),
    radial-gradient(circle at 50% 50%, transparent 58%, rgba(255,255,255,.22) 62%, rgba(2,12,34,.28) 100%);
  mix-blend-mode: soft-light;
}
.service-orbit-sphere:hover,
.service-orbit-sphere:focus-visible {
  scale: 1.1;
  box-shadow:
    inset -16px -18px 24px rgba(2,12,34,.32),
    inset 9px 9px 20px rgba(255,255,255,.24),
    0 24px 38px rgba(7,23,70,.22),
    0 8px 22px color-mix(in srgb, var(--accent) 35%, transparent);
  filter:
    drop-shadow(22px 26px 18px rgba(2,12,34,.38))
    drop-shadow(0 10px 18px color-mix(in srgb, var(--accent) 34%, transparent));
  outline: none;
}
.service-orbit-icon {
  position: relative;
  z-index: 2;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  color: #fff;
  filter: drop-shadow(0 2px 5px rgba(2,12,34,.28));
}
.service-orbit-icon svg {
  width: 30px;
  height: 30px;
  stroke-width: 2.1;
}
.service-orbit-live-tooltip {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 2147483000;
  max-width: min(230px, 72vw);
  padding: 8px 10px;
  border-radius: 8px;
  color: #fff;
  background: rgba(7,23,70,.94);
  box-shadow: 0 12px 26px rgba(7,23,70,.22);
  font-size: 12px;
  font-weight: 850;
  line-height: 1.2;
  text-align: center;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -100%) translateY(-12px);
  transition: opacity .16s ease, transform .16s ease;
}
.service-orbit-live-tooltip.is-visible {
  opacity: 1;
  transform: translate(-50%, -100%) translateY(-16px);
}
@keyframes service-orbit-position {
  from { transform: rotate(0deg) translateX(var(--orbit-radius)) rotate(0deg); }
  to { transform: rotate(360deg) translateX(var(--orbit-radius)) rotate(-360deg); }
}
.value-strip { position: relative; z-index: 5; }
.value-card { display: grid; grid-template-columns: repeat(5,1fr); background: rgba(255,255,255,.92); border: 1px solid rgba(196,216,239,.75); border-radius: 16px; box-shadow: var(--shadow); overflow: hidden; }
.value-item { display: flex; align-items: center; gap: 18px; padding: 24px 30px; min-height: 112px; border-right: 1px solid rgba(190,213,239,.82); }
.value-item:last-child { border-right: 0; }
.value-item h3 { margin: 0 0 4px; font-size: 17px; line-height: 1.1; }
.value-item p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.35; }
.icon-bubble { flex: 0 0 62px; width: 62px; height: 62px; display: grid; place-items: center; border-radius: 50%; background: color-mix(in srgb, var(--accent) 12%, white); color: var(--accent, var(--blue)); }
.icon-bubble svg, .card-icon svg, .cta-icon svg, .mini-icon svg { width: 34px; height: 34px; stroke-width: 2.1; }
.home-sections { padding: 26px 0 12px; }
.feature-grid { display: grid; grid-template-columns: 1.15fr 1.18fr .82fr; gap: 18px; align-items: stretch; }
.panel { background: rgba(255,255,255,.88); border: 1px solid rgba(194,216,241,.72); border-radius: 16px; box-shadow: var(--soft-shadow); padding: 22px; }
.panel-title { margin: 0 0 20px; color: var(--blue); text-transform: uppercase; font-size: 17px; font-weight: 900; letter-spacing: .04em; }
.service-mini-grid { display: grid; grid-template-columns: repeat(5,1fr); min-height: 145px; }
.service-mini, .product-mini { display: grid; align-content: center; justify-items: center; gap: 14px; text-align: center; padding: 12px; border-right: 1px solid rgba(190,213,239,.72); }
.service-mini:last-child { border-right: 0; }
.service-mini svg { color: var(--blue); width: 54px; height: 54px; }
.service-mini h3, .product-mini h3 { font-size: 14px; line-height: 1.12; margin: 0; }
.panel-link { display: inline-flex; align-items: center; gap: 12px; margin-top: 18px; color: var(--blue); text-transform: uppercase; font-weight: 900; font-size: 15px; }
.product-mini-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 14px; }
.product-mini { border: 1px solid rgba(190,213,239,.75); border-radius: 12px; overflow: hidden; background: #fff; padding: 0 0 12px; }
.product-image { width: 100%; aspect-ratio: 1.55; background: linear-gradient(135deg,#eaf5ff,#0b67ea); position: relative; overflow: hidden; }
.product-image::before { content: ""; position: absolute; inset: 16%; border-radius: 18px; border: 2px solid rgba(255,255,255,.7); transform: rotate(-8deg); }
.product-image.health { background: linear-gradient(135deg,#effbf5,#1288ff); }
.product-image.life { background: radial-gradient(circle,#ecffff,#075bea); }
.product-image.social { background: linear-gradient(135deg,#bfe7ff,#071746); }
.product-image.breathe { background: linear-gradient(135deg,#5db8ff,#06154c); }
.why-panel { background: linear-gradient(135deg, rgba(237,250,245,.92), rgba(255,255,255,.92)); }
.why-list { list-style: none; margin: 0 0 20px; padding: 0; display: grid; gap: 9px; color: #173361; font-weight: 600; font-size: 15px; }
.why-list li { display: flex; gap: 10px; align-items: flex-start; }
.why-list li::before { content: "✓"; flex: 0 0 21px; width: 21px; height: 21px; display: inline-grid; place-items: center; border-radius: 50%; color: #fff; background: var(--green); font-size: 13px; font-weight: 900; }
.founder { display: flex; align-items: center; gap: 16px; margin-top: 18px; }
.founder-avatar { width: 72px; height: 72px; border-radius: 50%; background: radial-gradient(circle at 35% 25%,#fff,#d7e9ff 35%,#8abaf2 100%); border: 5px solid #fff; box-shadow: 0 8px 20px rgba(7,23,70,.12); display: grid; place-items: center; color: var(--blue); font-weight: 900; font-size: 24px; }
.founder-photo { overflow: hidden; padding: 0; }
.founder-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 24%; }
.founder h3 { margin: 0; font-size: 18px; }
.founder p { margin: 2px 0 0; color: var(--muted); font-size: 14px; line-height: 1.25; }
.page-body { position: relative; padding: 24px 0 12px; }
.page-body.swirl { background: radial-gradient(ellipse at 15% 30%, rgba(18,136,255,.13), transparent 34rem), radial-gradient(ellipse at 80% 60%, rgba(19,169,199,.11), transparent 35rem); }
.section-head { text-align: center; margin: 0 auto 28px; }
.section-head .eyebrow { margin-bottom: 8px; }
.section-head h2 { margin: 0; font-size: clamp(32px,3vw,43px); letter-spacing: -.035em; line-height: 1.05; }
.section-head .under { width: 48px; height: 3px; border-radius: 5px; background: var(--cyan); margin: 18px auto 0; }
.service-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; }
.product-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 28px; width: min(1480px, calc(100% - 180px)); margin-inline: auto; }
.product-grid .wide { grid-column: 1 / -1; }
.service-card, .product-card { position: relative; overflow: hidden; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 22px; min-height: 200px; padding: 32px; background: rgba(255,255,255,.94); border: 1px solid rgba(194,216,241,.82); border-radius: 14px; box-shadow: var(--shadow); border-bottom: 4px solid var(--accent); }
.service-card { min-height: 195px; align-items: start; }
.service-card h3, .product-card h3 { margin: 0 0 12px; font-size: 22px; line-height: 1.12; letter-spacing: -.02em; }
.service-card p, .product-card p { margin: 0; color: #263b68; font-size: 16px; line-height: 1.55; }
.card-icon { width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center; color: var(--accent); background: color-mix(in srgb, var(--accent) 12%, white); }
.card-icon svg { width: 42px; height: 42px; }
.circle-arrow { align-self: end; width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; border: 1px solid rgba(7,91,234,.45); color: var(--blue); font-size: 24px; }
.cta-band { margin: 26px auto 32px; min-height: 110px; border-radius: 14px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 28px; padding: 22px 32px; color: #fff; overflow: hidden; position: relative; box-shadow: 0 18px 38px rgba(7,23,70,.22); background: linear-gradient(90deg, rgba(4,20,70,.98) 0%, rgba(5,43,111,.92) 35%, rgba(7,91,234,.28) 100%), url('assets/mountain-cta.svg') center/cover no-repeat; }
.cta-band::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 8% 50%, rgba(18,136,255,.24), transparent 18rem); pointer-events: none; }
.cta-icon, .cta-text, .cta-actions { position: relative; z-index: 1; }
.cta-icon { width: 78px; height: 78px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg,#1288ff,#075bea); box-shadow: 0 15px 30px rgba(7,23,70,.22); }
.cta-icon svg { width: 43px; height: 43px; }
.cta-text h2 { margin: 0 0 4px; font-size: 30px; letter-spacing: -.02em; }
.cta-text p { margin: 0; font-size: 18px; opacity: .94; }
.cta-actions { display: flex; gap: 22px; }
.cta-band .ghost { background: #fff; color: var(--blue); border-color: #fff; }
.footer { border-top: 1px solid rgba(194,216,241,.72); padding: 26px 0; color: var(--muted); font-size: 14px; }
@media (max-width: 1280px) {
  .container { width: min(var(--max), calc(100% - 48px)); }
  .menu { gap: 22px; }
  .brand { min-width: 250px; }
  .wordmark strong { font-size: 34px; }
  .wordmark span { font-size: 13px; }
  .value-card { grid-template-columns: repeat(3,1fr); }
  .feature-grid, .service-grid, .product-grid { grid-template-columns: 1fr 1fr; width: min(var(--max), calc(100% - 48px)); }
  .product-grid .wide { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
  .nav { position: relative; justify-content: space-between; gap: 18px; min-height: 82px; padding: 10px 0; }
  .mobile-menu-toggle { display: inline-flex; }
  .menu {
    position: absolute;
    top: calc(100% + 1px);
    left: 0;
    right: 0;
    order: 3;
    width: 100%;
    max-height: min(72vh, 620px);
    display: grid;
    grid-template-columns: 1fr;
    justify-content: stretch;
    align-items: stretch;
    gap: 0;
    padding: 10px;
    overflow: auto;
    border: 1px solid rgba(194,216,241,.78);
    border-radius: 0 0 14px 14px;
    background: rgba(255,255,255,.98);
    box-shadow: 0 22px 44px rgba(7,23,70,.16);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
  }
  .menu.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }
  .menu-item { border-bottom: 1px solid rgba(194,216,241,.62); }
  .menu-item:last-child { border-bottom: 0; }
  .menu-item.has-submenu {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 0;
  }
  .menu-item.has-submenu::after { display: none; }
  .menu a { width: 100%; padding: 14px 8px; }
  .menu-link { justify-content: flex-start; gap: 12px; }
  .menu .submenu-caret {
    align-self: center;
    margin-right: 10px;
  }
  .menu a.active::after { display: none; }
  .submenu {
    grid-column: 1 / -1;
    position: static;
    width: 100%;
    max-height: 0;
    padding: 0 0 0 12px;
    overflow: hidden;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
    transition: max-height .22s ease, padding .22s ease;
  }
  .submenu::before { display: none; }
  .submenu a {
    padding: 10px 8px 10px 16px;
    border-left: 2px solid rgba(7,91,234,.22);
    border-radius: 0;
    font-size: 14px;
  }
  .has-submenu.is-open .submenu {
    max-height: 420px;
    padding-bottom: 10px;
    transform: none;
  }
  .nav > .button { display: none; }
  .hero-grid { grid-template-columns: 1fr; min-height: unset; }
  .hero-art {
    height: 320px;
    max-width: 100%;
  }
  .service-orbit-system {
    width: min(390px, 100%);
    height: 300px;
  }
  .services-hero-art .service-orbit-system .orb {
    width: min(230px, 58vw);
    max-width: 70%;
  }
  .service-orbit-sphere {
    --orbit-radius: clamp(116px, 34vw, 152px);
    width: clamp(46px, 12vw, 56px);
    height: clamp(46px, 12vw, 56px);
  }
  .service-orbit-icon,
  .service-orbit-icon svg {
    width: 24px;
    height: 24px;
  }
  .wave,
  .lines {
    left: 0;
    right: 0;
  }
  .hero h1 { font-size: 46px; }
  .value-card, .feature-grid, .service-mini-grid, .product-mini-grid, .service-grid, .product-grid { grid-template-columns: 1fr; }
  .value-strip,
  .home-sections,
  .value-card,
  .feature-grid,
  .panel,
  .service-mini-grid,
  .product-mini-grid,
  .service-mini,
  .product-mini,
  .service-grid,
  .product-grid {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }
  .value-item { border-right: 0; border-top: 1px solid rgba(190,213,239,.82); }
  .value-item:first-child { border-top: 0; }
  .cta-band { grid-template-columns: 1fr; text-align: left; }
  .cta-actions { flex-wrap: wrap; }
}
@media (max-width: 560px) {
  .container { width: min(var(--max), calc(100% - 28px)); }
  .nav { gap: 18px; }
  .brand { min-width: 0; }
  .logo-img { width: 48px; height: 48px; }
  .wordmark strong { font-size: 27px; }
  .wordmark span { font-size: 10px; }
  .hero h1 { font-size: 38px; }
  .hero-actions, .cta-actions { flex-direction: column; align-items: stretch; }
  .service-card, .product-card { grid-template-columns: 1fr; }
}

/* About page and embedded background assets */
.hero::before {
  background-image:
    radial-gradient(ellipse at 78% 40%, rgba(18,136,255,.15), transparent 38%),
    linear-gradient(118deg, transparent 0 45%, rgba(234,245,255,.82) 45% 100%),
    url('assets/hero-waves.svg');
  background-size: auto, auto, cover;
  background-position: center;
}
.page-body.swirl,
.about-body {
  background-image: url('assets/swirl-bg.svg');
  background-size: cover;
  background-position: center top;
}
.about-hero .hero-grid { min-height: 430px; }
.about-body { padding: 48px 0 18px; }
.about-intro-grid { display: grid; grid-template-columns: .78fr 1.22fr; gap: 72px; align-items: start; }
.mission-copy h2,
.story-copy h2,
.team-block h2 { margin: 0 0 22px; font-size: clamp(30px,2.6vw,40px); line-height: 1.06; letter-spacing: -.035em; }
.mission-copy p,
.story-copy p,
.team-block p { margin: 0 0 18px; color: #263b68; font-size: 17px; line-height: 1.65; }
.values-grid { display: grid; grid-template-columns: repeat(5,1fr); gap: 16px; }
.values-wrap { display: grid; align-content: start; gap: 18px; }
.value-tile { min-height: 220px; padding: 24px 18px; text-align: center; background: rgba(255,255,255,.90); border: 1px solid rgba(194,216,241,.75); border-radius: 14px; box-shadow: var(--soft-shadow); display: grid; justify-items: center; align-content: start; gap: 12px; }
.value-tile .card-icon { width: 68px; height: 68px; }
.value-tile h3 { margin: 4px 0 0; font-size: 18px; }
.value-tile p { margin: 0; color: #33466f; font-size: 13px; line-height: 1.45; }
.accent-line { width: 32px; height: 3px; border-radius: 999px; background: var(--accent); align-self: end; margin-top: auto; }
.stats-panel { margin-top: 38px; display: grid; grid-template-columns: repeat(5,1fr); background: rgba(255,255,255,.90); border: 1px solid rgba(194,216,241,.82); border-radius: 16px; box-shadow: var(--soft-shadow); overflow: hidden; }
.stat-item { min-height: 185px; padding: 32px 34px; border-right: 1px solid rgba(190,213,239,.82); }
.stat-item:last-child { border-right: 0; }
.mini-icon { width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; color: var(--accent); background: color-mix(in srgb, var(--accent) 11%, white); margin-bottom: 14px; }
.stat-item strong { display: block; color: var(--blue); font-size: 36px; line-height: 1; letter-spacing: -.04em; }
.stat-item h3 { margin: 7px 0 5px; font-size: 16px; line-height: 1.1; }
.stat-item p { margin: 0; color: #33466f; font-size: 14px; line-height: 1.45; }
.story-grid { margin-top: 42px; display: grid; grid-template-columns: .92fr 1.08fr; gap: 64px; align-items: center; }
.story-image { min-height: 300px; border-radius: 14px; box-shadow: var(--soft-shadow); border: 1px solid rgba(194,216,241,.7); background: url('assets/about-story-mountains.svg') center/cover no-repeat; }
.story-copy { max-width: 680px; }
.team-work-panel { margin-top: 38px; display: grid; grid-template-columns: .72fr 1.28fr; gap: 36px; align-items: stretch; background: rgba(255,255,255,.90); border: 1px solid rgba(194,216,241,.82); border-radius: 16px; box-shadow: var(--soft-shadow); padding: 28px; }
.team-block { padding: 10px 0 10px 10px; }
.work-grid { display: grid; grid-template-columns: repeat(4,1fr); }
.work-step { text-align: center; padding: 18px 24px; border-left: 1px solid rgba(190,213,239,.82); display: grid; justify-items: center; align-content: center; }
.work-step h3 { margin: 10px 0 8px; font-size: 18px; }
.work-step p { margin: 0; color: #33466f; font-size: 14px; line-height: 1.55; }
.work-step .mini-icon { margin-bottom: 4px; }
@media (max-width: 1280px) {
  .about-intro-grid, .story-grid, .team-work-panel { grid-template-columns: 1fr; gap: 34px; }
  .values-grid, .stats-panel { grid-template-columns: repeat(2,1fr); }
  .work-grid { grid-template-columns: repeat(2,1fr); }
  .stat-item { border-right: 0; border-bottom: 1px solid rgba(190,213,239,.82); }
}
@media (max-width: 900px) {
  .values-grid, .stats-panel, .work-grid { grid-template-columns: 1fr; }
  .work-step { border-left: 0; border-top: 1px solid rgba(190,213,239,.82); }
  .story-image { min-height: 240px; }
}

/* Insights / blog landing page */
.insights-body {
  padding: 28px 0 12px;
  background:
    url('assets/swirl-bg.svg') center top/cover no-repeat,
    radial-gradient(ellipse at 20% 28%, rgba(18,136,255,.12), transparent 36rem),
    radial-gradient(ellipse at 84% 58%, rgba(19,169,199,.10), transparent 34rem);
}
.insights-panel {
  padding: 22px;
  background: rgba(255,255,255,.78);
  border: 1px solid rgba(194,216,241,.72);
  border-radius: 18px;
  box-shadow: var(--soft-shadow);
}
.insight-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 26px;
}
.filter-chip {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0 18px;
  border-radius: 8px;
  border: 1px solid rgba(7,91,234,.28);
  color: var(--blue);
  background: rgba(255,255,255,.86);
  font-size: 14px;
  font-weight: 900;
  box-shadow: 0 8px 20px rgba(7,23,70,.04);
}
.filter-chip svg { width: 20px; height: 20px; }
.filter-chip.active {
  color: #fff;
  border-color: transparent;
  background: linear-gradient(135deg, #075bea, #1288ff);
  box-shadow: 0 14px 26px rgba(7,91,234,.20);
}
.insight-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.insight-card {
  overflow: hidden;
  background: rgba(255,255,255,.96);
  border: 1px solid rgba(194,216,241,.82);
  border-radius: 14px;
  box-shadow: var(--shadow);
}
.insight-thumb {
  min-height: 165px;
  background-size: cover;
  background-position: center;
}
.insight-card-body { padding: 24px; }
.insight-category {
  margin-bottom: 14px;
  color: var(--accent);
  text-transform: uppercase;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .08em;
}
.insight-card h2 {
  margin: 0 0 12px;
  font-size: 24px;
  line-height: 1.16;
  letter-spacing: -.025em;
}
.insight-card p {
  margin: 0 0 22px;
  color: #263b68;
  font-size: 16px;
  line-height: 1.52;
}
.insight-meta {
  display: flex;
  align-items: center;
  gap: 24px;
  color: #33466f;
  font-size: 14px;
  font-weight: 600;
}
.insight-meta span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.insight-meta svg { width: 18px; height: 18px; color: var(--blue); }
.insight-meta .circle-arrow { margin-left: auto; }
.single-post-meta {
  justify-content: flex-start;
  margin-top: 22px;
}
.single-post-author {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 18px;
  padding: 10px 14px 10px 10px;
  border: 1px solid rgba(7,91,234,.16);
  border-radius: 999px;
  background: rgba(255,255,255,.72);
  box-shadow: 0 14px 32px rgba(7,54,132,.12);
  color: #263b68;
  font-size: 15px;
  font-weight: 700;
}
.single-post-author-image {
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  display: block;
  border-radius: 50%;
  overflow: hidden;
  background: #e8f4ff;
  box-shadow: 0 6px 14px rgba(5,39,119,.16);
}
.single-post-author-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}
.single-post-author-image.scott-headshot-avatar img {
  transform: scale(1.48);
  transform-origin: 50% 34%;
}
.single-post-author strong {
  color: var(--navy);
}
.single-post-body {
  max-width: 920px;
}
.single-post-article {
  display: grid;
  gap: 34px;
}
.single-post-content {
  font-size: 1.04rem;
  line-height: 1.82;
}
.single-post-tags {
  background: linear-gradient(135deg, rgba(232, 240, 255, 0.9), rgba(244, 250, 255, 0.96));
  border: 1px solid rgba(7, 91, 234, 0.16);
  border-radius: 18px;
  box-shadow: 0 18px 40px rgba(7, 91, 234, 0.12);
  padding: 24px;
}
.single-post-tags h2 {
  color: var(--ink);
  font-size: 1.08rem;
  margin: 0 0 16px;
}
.tag-chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.tag-chip {
  background: linear-gradient(135deg, #075bea, #1288ff);
  border: 1px solid rgba(255, 255, 255, 0.68);
  border-radius: 999px;
  color: #fff;
  box-shadow: 0 12px 26px rgba(7, 91, 234, 0.24);
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  font-size: 0.92rem;
  font-weight: 800;
  line-height: 1;
  padding: 10px 15px;
  text-decoration: none;
  transition: background 0.18s ease, box-shadow 0.18s ease, color 0.18s ease, transform 0.18s ease;
}
.tag-chip:hover {
  background: linear-gradient(135deg, #041746, #075bea);
  color: #fff;
  box-shadow: 0 16px 34px rgba(7, 91, 234, 0.32);
  transform: translateY(-1px);
}
.hero-topic-bubbles {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 20px 0 18px;
}
.hero-tag-chip {
  min-height: 34px;
  padding: 9px 13px;
  font-size: 0.86rem;
}
.mission-statement span {
  display: block;
  color: var(--blue);
  font-size: 1.18em;
  font-weight: 900;
  line-height: 1.02;
  margin-bottom: 8px;
}
.newsletter-panel {
  margin-top: 28px;
  min-height: 112px;
  display: grid;
  grid-template-columns: auto 1fr minmax(420px, .9fr);
  align-items: center;
  gap: 28px;
  padding: 24px 34px;
  background: rgba(255,255,255,.90);
  border: 1px solid rgba(194,216,241,.82);
  border-radius: 14px;
  box-shadow: var(--soft-shadow);
}
.newsletter-icon {
  width: 78px;
  height: 78px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--blue);
  background: color-mix(in srgb, var(--blue) 10%, white);
}
.newsletter-icon svg { width: 42px; height: 42px; }
.newsletter-panel h2 { margin: 0 0 4px; font-size: 28px; letter-spacing: -.025em; }
.newsletter-panel p { margin: 0; color: #263b68; font-size: 16px; line-height: 1.45; }
.newsletter-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
}
.newsletter-form input {
  width: 100%;
  min-height: 52px;
  border: 1px solid rgba(7,91,234,.32);
  border-radius: 8px;
  padding: 0 18px;
  color: var(--navy);
  background: rgba(255,255,255,.96);
  font: inherit;
}
.insight-bottom-grid {
  margin-top: 28px;
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 22px;
}
.eyebrow.small { font-size: 13px; margin-bottom: 12px; }
.featured-insight {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 28px;
  align-items: center;
  padding: 26px;
}
.featured-insight h2,
.matter-panel h2 {
  margin: 0 0 12px;
  font-size: 26px;
  line-height: 1.12;
  letter-spacing: -.03em;
}
.featured-insight p {
  margin: 0 0 20px;
  color: #263b68;
  font-size: 16px;
  line-height: 1.56;
}
.featured-image {
  min-height: 210px;
  border-radius: 12px;
  background: url('assets/insight-city.svg') center/cover no-repeat;
  box-shadow: var(--soft-shadow);
}
.matter-panel { padding: 26px; }
.matter-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px 34px;
}
.matter-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  align-items: start;
}
.matter-item .mini-icon { margin: 0; }
.matter-item h3 { margin: 0 0 6px; font-size: 17px; }
.matter-item p { margin: 0; color: #33466f; font-size: 14px; line-height: 1.45; }
@media (max-width: 1280px) {
  .insight-grid, .insight-bottom-grid { grid-template-columns: 1fr 1fr; }
  .newsletter-panel { grid-template-columns: auto 1fr; }
  .newsletter-form { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
  .insight-grid, .insight-bottom-grid, .featured-insight, .matter-grid, .newsletter-panel { grid-template-columns: 1fr; }
  .insights-panel { padding: 16px; }
  .newsletter-form { grid-template-columns: 1fr; }
}

/* Contact page */
.contact-body {
  padding: 34px 0 12px;
  background:
    url('assets/swirl-bg.svg') center top/cover no-repeat,
    radial-gradient(ellipse at 18% 32%, rgba(18,136,255,.13), transparent 36rem),
    radial-gradient(ellipse at 86% 62%, rgba(19,169,199,.10), transparent 34rem);
}
.contact-layout {
  display: grid;
  grid-template-columns: .82fr 1.18fr;
  gap: 28px;
  align-items: stretch;
}
.contact-sidebar,
.contact-card,
.focus-card {
  background: rgba(255,255,255,.92);
  border: 1px solid rgba(194,216,241,.82);
  border-radius: 18px;
  box-shadow: var(--shadow);
}
.contact-sidebar {
  padding: 34px;
}
.contact-sidebar h2,
.contact-card h2 {
  margin: 0 0 16px;
  font-size: clamp(30px,2.8vw,42px);
  line-height: 1.06;
  letter-spacing: -.035em;
}
.contact-sidebar p {
  margin: 0;
  color: #263b68;
  font-size: 17px;
  line-height: 1.62;
}
.contact-methods {
  display: grid;
  gap: 14px;
  margin-top: 30px;
}
.contact-method {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  align-items: center;
  padding: 16px;
  border: 1px solid rgba(194,216,241,.72);
  border-radius: 14px;
  background: rgba(255,255,255,.78);
}
.contact-method strong {
  display: block;
  font-size: 17px;
  margin-bottom: 2px;
}
.contact-method small {
  display: block;
  color: #33466f;
  font-size: 14px;
  line-height: 1.35;
}
.contact-card {
  padding: 34px;
}
.contact-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
}
.teos-contact-form label {
  display: grid;
  gap: 8px;
  color: var(--navy);
  font-size: 14px;
  font-weight: 900;
  letter-spacing: .01em;
}
.form-grid {
  display: grid;
  grid-template-columns: repeat(2,1fr);
  gap: 18px;
}
.form-grid .wide { grid-column: 1 / -1; }
.teos-contact-form input,
.teos-contact-form select,
.teos-contact-form textarea {
  width: 100%;
  border: 1px solid rgba(7,91,234,.25);
  border-radius: 10px;
  background: rgba(255,255,255,.94);
  color: var(--navy);
  font: inherit;
  font-weight: 600;
  padding: 15px 16px;
  outline: none;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.9);
}
.teos-contact-form input,
.teos-contact-form select { min-height: 54px; }
.teos-contact-form textarea { resize: vertical; }
.teos-contact-form input:focus,
.teos-contact-form select:focus,
.teos-contact-form textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(7,91,234,.10);
}
.form-actions {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-top: 24px;
}
.form-actions p {
  margin: 0;
  color: #33466f;
  font-size: 13px;
  line-height: 1.45;
}
.contact-focus-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 22px;
  margin-top: 28px;
}
.focus-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 20px;
  align-items: center;
  padding: 26px;
  border-bottom: 4px solid var(--accent);
}
.focus-card h3 {
  margin: 0 0 8px;
  font-size: 22px;
  letter-spacing: -.02em;
}
.focus-card p {
  margin: 0;
  color: #263b68;
  font-size: 15px;
  line-height: 1.5;
}
@media (max-width: 1280px) {
  .contact-layout { grid-template-columns: 1fr; }
  .contact-focus-grid { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .form-grid { grid-template-columns: 1fr; }
  .form-actions { flex-direction: column; align-items: stretch; }
  .contact-card-head { align-items: flex-start; }
  .focus-card { grid-template-columns: 1fr; }
}

/* Careers page */
.careers-body {
  padding: 34px 0 12px;
  background:
    url('assets/swirl-bg.svg') center top/cover no-repeat,
    radial-gradient(ellipse at 18% 32%, rgba(18,136,255,.13), transparent 36rem),
    radial-gradient(ellipse at 86% 62%, rgba(19,169,199,.10), transparent 34rem);
}
.careers-intro-grid {
  display: grid;
  grid-template-columns: .78fr 1.22fr;
  gap: 32px;
  align-items: stretch;
  margin-bottom: 34px;
}
.careers-copy,
.careers-panel,
.apply-panel,
.internship-card,
.career-highlight,
.expect-item {
  background: rgba(255,255,255,.92);
  border: 1px solid rgba(194,216,241,.82);
  box-shadow: var(--shadow);
}
.careers-copy {
  border-radius: 18px;
  padding: 34px;
}
.careers-copy h2,
.careers-panel-copy h2,
.apply-panel h2 {
  margin: 0 0 16px;
  font-size: clamp(30px,2.8vw,42px);
  line-height: 1.06;
  letter-spacing: -.035em;
}
.careers-copy p,
.careers-panel-copy p,
.apply-panel p {
  margin: 0;
  color: #263b68;
  font-size: 17px;
  line-height: 1.62;
}
.career-highlights {
  display: grid;
  grid-template-columns: repeat(2,1fr);
  gap: 18px;
}
.career-highlight {
  min-height: 150px;
  border-radius: 16px;
  padding: 24px;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 18px;
  border-bottom: 4px solid var(--accent);
}
.career-highlight h3,
.expect-item h3 {
  margin: 0 0 6px;
  font-size: 22px;
  letter-spacing: -.02em;
}
.career-highlight p,
.expect-item p {
  margin: 0;
  color: #263b68;
  font-size: 15px;
  line-height: 1.45;
}
.careers-section-head { margin-top: 22px; }
.internship-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 26px;
}
.internship-card {
  min-height: 275px;
  border-radius: 16px;
  border-bottom: 4px solid var(--accent);
  padding: 30px;
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 20px;
}
.internship-card h3 {
  margin: 0 0 12px;
  font-size: 26px;
  line-height: 1.08;
  letter-spacing: -.025em;
}
.internship-card p {
  margin: 0;
  color: #263b68;
  font-size: 16px;
  line-height: 1.55;
}
.internship-card .circle-arrow { justify-self: end; }
.job-detail-hero h1 { max-width: 860px; }
.job-detail-hero .service-orb-icon {
  color: var(--accent);
}
.job-detail-body { padding-top: 34px; }
.job-detail-layout { align-items: start; }
.job-description-panel {
  border-bottom: 4px solid var(--accent);
}
.job-description-content {
  display: grid;
  gap: 18px;
  color: #263b68;
  font-size: 17px;
  line-height: 1.68;
}
.job-description-content h2 {
  margin: 14px 0 0;
  color: var(--navy);
  font-size: clamp(24px,2vw,32px);
  line-height: 1.12;
  letter-spacing: -.025em;
}
.job-description-content p,
.job-description-content ul {
  margin: 0;
}
.job-description-content ul {
  display: grid;
  gap: 9px;
  padding-left: 22px;
}
.job-application-card,
.job-application-sidebar {
  border-bottom: 4px solid var(--accent);
}
.job-application-sidebar .card-icon {
  margin-bottom: 22px;
}
.job-application-form input[type="file"] {
  padding: 12px 14px;
  cursor: pointer;
}
.job-application-form input[type="file"]::file-selector-button {
  margin-right: 14px;
  border: 0;
  border-radius: 8px;
  background: rgba(7,91,234,.10);
  color: var(--blue);
  font: inherit;
  font-weight: 900;
  padding: 10px 12px;
  cursor: pointer;
  transition: transform .18s ease, background .18s ease;
}
.job-application-form input[type="file"]::file-selector-button:hover {
  background: rgba(7,91,234,.16);
  transform: translateY(-1px);
}
.job-application-card .teos-form-notice.success {
  margin-bottom: 24px;
}
.careers-panel {
  margin-top: 30px;
  border-radius: 18px;
  padding: 34px;
  display: grid;
  grid-template-columns: .72fr 1.28fr;
  gap: 34px;
  align-items: center;
}
.careers-panel-copy .button { margin-top: 24px; }
.expect-grid {
  display: grid;
  grid-template-columns: repeat(2,1fr);
  gap: 18px;
}
.expect-item {
  min-height: 150px;
  border-radius: 14px;
  padding: 24px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  align-items: center;
}
.apply-panel {
  margin-top: 30px;
  border-radius: 18px;
  padding: 30px 34px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 34px;
  align-items: center;
}
.apply-panel p { max-width: 980px; }
@media (max-width: 1280px) {
  .careers-intro-grid,
  .careers-panel,
  .apply-panel { grid-template-columns: 1fr; }
  .internship-grid { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .career-highlights,
  .expect-grid { grid-template-columns: 1fr; }
  .career-highlight,
  .expect-item { grid-template-columns: 1fr; }
}


/* Service detail sub-pages */
.service-detail-body {
  padding: 34px 0 12px;
  background:
    url('assets/swirl-bg.svg') center top/cover no-repeat,
    radial-gradient(ellipse at 18% 32%, rgba(18,136,255,.13), transparent 36rem),
    radial-gradient(ellipse at 86% 62%, rgba(19,169,199,.10), transparent 34rem);
}
.service-detail-hero h1 { max-width: 760px; }
.hero-art .service-orb-icon {
  width: 210px;
  height: 210px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--accent, var(--blue));
  background:
    radial-gradient(circle at 34% 24%, rgba(255,255,255,.98), rgba(255,255,255,.52) 32%, color-mix(in srgb, var(--accent, var(--blue)) 18%, white) 100%);
  border: 1px solid color-mix(in srgb, var(--accent, var(--blue)) 24%, white);
  box-shadow: 0 38px 60px rgba(7,23,70,.18), inset 0 1px 0 rgba(255,255,255,.9);
  z-index: 3;
}
.hero-art .service-orb-icon svg { width: 112px; height: 112px; stroke-width: 1.7; }
.service-detail-hero .orb { display: none; }
.service-detail-layout {
  display: grid;
  grid-template-columns: .82fr 1.18fr;
  gap: 28px;
  align-items: start;
}
.service-overview,
.service-detail-panel,
.service-process-panel,
.service-related-panel,
.capability-card,
.outcome-card {
  background: rgba(255,255,255,.92);
  border: 1px solid rgba(194,216,241,.82);
  border-radius: 18px;
  box-shadow: var(--shadow);
}
.service-overview { padding: 34px; border-bottom: 4px solid var(--accent); position: sticky; top: 118px; }
.service-overview .card-icon { width: 82px; height: 82px; margin-bottom: 24px; }
.service-overview h2,
.service-detail-panel h2,
.service-process-panel h2,
.service-related-panel h2 { margin: 0 0 14px; font-size: clamp(30px,2.8vw,42px); line-height: 1.06; letter-spacing: -.035em; }
.service-overview p,
.service-detail-panel p,
.service-process-panel p { color: #263b68; font-size: 17px; line-height: 1.65; margin: 0 0 18px; }
.service-overview-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 26px; }
.service-detail-panel { padding: 34px; }
.outcome-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; margin-top: 24px; }
.outcome-card { padding: 22px; border-bottom: 4px solid var(--accent); }
.outcome-card h3 { margin: 0 0 8px; font-size: 19px; line-height: 1.15; }
.outcome-card p { margin: 0; font-size: 14px; line-height: 1.5; color: #33466f; }
.capability-section { margin-top: 28px; }
.capability-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 18px; }
.capability-card { padding: 24px; display: grid; grid-template-columns: auto 1fr; gap: 18px; align-items: start; border-bottom: 4px solid var(--accent); }
.capability-card .mini-icon { margin: 0; }
.capability-card h3 { margin: 0 0 8px; font-size: 20px; letter-spacing: -.02em; }
.capability-card p { margin: 0; color: #33466f; font-size: 15px; line-height: 1.55; }
.service-process-panel { margin-top: 28px; padding: 30px; }
.service-process-steps { display: grid; grid-template-columns: repeat(4,1fr); gap: 0; margin-top: 22px; border: 1px solid rgba(194,216,241,.72); border-radius: 14px; overflow: hidden; background: rgba(255,255,255,.68); }
.service-process-step { padding: 24px; border-right: 1px solid rgba(190,213,239,.82); text-align: center; }
.service-process-step:last-child { border-right: 0; }
.service-process-step .mini-icon { margin: 0 auto 12px; }
.service-process-step h3 { margin: 0 0 8px; font-size: 18px; }
.service-process-step p { margin: 0; font-size: 14px; line-height: 1.5; color: #33466f; }
.service-related-panel { margin-top: 28px; padding: 30px; }
.related-services-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; margin-top: 22px; }
.related-service-card { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 14px; padding: 18px; border: 1px solid rgba(194,216,241,.82); border-radius: 14px; background: rgba(255,255,255,.76); }
.related-service-card .mini-icon { width: 48px; height: 48px; margin: 0; }
.related-service-card strong { display: block; font-size: 16px; line-height: 1.1; }
.related-service-card .circle-arrow { width: 32px; height: 32px; font-size: 20px; }
.service-breadcrumb { margin-bottom: 16px; font-size: 14px; font-weight: 800; color: #33466f; }
.service-breadcrumb a { color: var(--blue); }
.service-portfolio-panel {
  margin-top: 28px;
  padding: 30px;
  background: rgba(255,255,255,.92);
  border: 1px solid rgba(194,216,241,.82);
  border-bottom: 4px solid var(--accent);
  border-radius: 18px;
  box-shadow: var(--shadow);
}
.service-portfolio-panel h2 {
  margin: 0 0 14px;
  font-size: clamp(30px,2.8vw,42px);
  line-height: 1.06;
  letter-spacing: -.035em;
}
.service-portfolio-panel p {
  margin: 0 0 22px;
  color: #263b68;
  font-size: 17px;
  line-height: 1.65;
}
.service-portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 16px;
}
.service-portfolio-card {
  display: grid;
  gap: 10px;
  min-height: 230px;
  padding: 16px;
  border: 1px solid rgba(194,216,241,.82);
  border-bottom: 4px solid var(--accent);
  border-radius: 14px;
  background: rgba(255,255,255,.78);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.service-portfolio-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 45px rgba(7,23,70,.15);
  border-color: color-mix(in srgb, var(--accent) 42%, white);
}
.service-portfolio-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 10px;
  background: #edf6ff;
}
.service-portfolio-card span {
  color: var(--accent);
  font-size: 11px;
  font-weight: 950;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.service-portfolio-card strong {
  color: var(--navy);
  font-size: 18px;
  line-height: 1.1;
}
@media (max-width: 1280px) {
  .service-detail-layout { grid-template-columns: 1fr; }
  .service-overview { position: static; }
  .outcome-grid, .service-process-steps, .related-services-grid, .service-portfolio-grid { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 900px) {
  .capability-grid, .outcome-grid, .service-process-steps, .related-services-grid, .service-portfolio-grid { grid-template-columns: 1fr; }
  .service-process-step { border-right: 0; border-bottom: 1px solid rgba(190,213,239,.82); }
  .service-process-step:last-child { border-bottom: 0; }
  .service-overview-actions { flex-direction: column; align-items: stretch; }
}


/* Portfolio */
.portfolio-hero h1,
.portfolio-detail-hero h1 { max-width: 860px; }
.portfolio-hero-art,
.portfolio-detail-art {
  min-height: 380px;
}
.portfolio-browser-stack {
  position: relative;
  z-index: 3;
  width: min(520px, 92%);
  height: 330px;
  margin: 0 auto;
}
.portfolio-browser-card,
.portfolio-browser-preview {
  background: rgba(255,255,255,.92);
  border: 1px solid rgba(194,216,241,.9);
  border-bottom: 4px solid var(--accent);
  border-radius: 14px;
  box-shadow: 0 34px 70px rgba(7,23,70,.18);
  overflow: hidden;
}
.portfolio-browser-card {
  position: absolute;
  inset: 0;
  transform: translate(calc(var(--offset) * 34px), calc(var(--offset) * 24px)) rotate(calc((var(--offset) - 1) * 4deg));
}
.portfolio-browser-card::before,
.portfolio-browser-preview .portfolio-browser-bar {
  content: "";
  display: block;
  height: 34px;
  background: linear-gradient(90deg, rgba(7,91,234,.12), rgba(19,169,199,.10));
  border-bottom: 1px solid rgba(194,216,241,.82);
}
.portfolio-browser-card span,
.portfolio-browser-bar span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--accent) 44%, white);
}
.portfolio-browser-card span {
  position: absolute;
  top: 13px;
}
.portfolio-browser-card span:nth-child(1) { left: 16px; }
.portfolio-browser-card span:nth-child(2) { left: 32px; }
.portfolio-browser-card span:nth-child(3) { left: 48px; }
.portfolio-browser-card img,
.portfolio-browser-preview img {
  display: block;
  width: 100%;
  height: calc(100% - 34px);
  object-fit: cover;
  background: #edf6ff;
}
.portfolio-browser-card:nth-child(2) img {
  object-fit: contain;
  padding: 34px;
}
.portfolio-body {
  padding: 44px 0 12px;
  background:
    url('assets/swirl-bg.svg') center top/cover no-repeat,
    radial-gradient(ellipse at 18% 32%, rgba(18,136,255,.13), transparent 36rem),
    radial-gradient(ellipse at 86% 62%, rgba(19,169,199,.10), transparent 34rem);
}
.portfolio-body .section-head p {
  max-width: 820px;
  margin: 0 auto;
  color: #263b68;
  font-size: 17px;
  line-height: 1.62;
}
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 22px;
  margin-top: 34px;
}
.portfolio-card {
  position: relative;
  min-height: 100%;
  overflow: hidden;
  background: rgba(255,255,255,.94);
  border: 1px solid rgba(194,216,241,.82);
  border-bottom: 4px solid var(--accent);
  border-radius: 18px;
  box-shadow: var(--shadow);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.portfolio-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 28px 60px rgba(7,23,70,.16);
  border-color: color-mix(in srgb, var(--accent) 42%, white);
}
.portfolio-card-link {
  position: absolute;
  inset: 0;
  z-index: 1;
}
.portfolio-card-media {
  padding: 18px 18px 0;
}
.portfolio-card-media img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 12px;
  background: #edf6ff;
}
.portfolio-card:nth-child(2) .portfolio-card-media img {
  object-fit: contain;
  padding: 28px;
}
.portfolio-card-body {
  display: grid;
  gap: 14px;
  padding: 22px;
}
.portfolio-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--accent);
  font-size: 11px;
  font-weight: 950;
  letter-spacing: .10em;
  text-transform: uppercase;
}
.portfolio-card h3 {
  margin: 0;
  color: var(--navy);
  font-size: 28px;
  line-height: 1.06;
  letter-spacing: -.025em;
}
.portfolio-card p {
  margin: 0;
  color: #263b68;
  font-size: 15px;
  line-height: 1.58;
}
.portfolio-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.portfolio-chip-row span {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 7px 10px;
  border: 1px solid color-mix(in srgb, var(--accent) 25%, white);
  border-radius: 999px;
  background: color-mix(in srgb, var(--accent) 9%, white);
  color: var(--navy);
  font-size: 12px;
  font-weight: 900;
}
.portfolio-card-actions {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  color: var(--blue);
  font-size: 14px;
  font-weight: 950;
}
.portfolio-card-actions a,
.portfolio-card-actions span {
  position: relative;
  z-index: 2;
}
.portfolio-detail-art {
  display: grid;
  place-items: center;
}
.portfolio-browser-preview {
  position: relative;
  z-index: 3;
  width: min(560px, 92%);
  aspect-ratio: 16 / 11;
}
.portfolio-browser-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding-left: 16px;
}
.portfolio-browser-preview .portfolio-browser-bar {
  display: flex;
}
.portfolio-overview .portfolio-chip-row {
  margin-top: 20px;
}
.portfolio-highlight-grid {
  grid-template-columns: repeat(3,1fr);
}
.portfolio-story-list {
  display: grid;
  gap: 16px;
  margin-top: 22px;
}
.portfolio-story-list article {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  padding: 18px;
  border: 1px solid rgba(194,216,241,.78);
  border-radius: 14px;
  background: rgba(255,255,255,.76);
}
.portfolio-story-list h3 {
  margin: 0 0 6px;
  color: var(--navy);
  font-size: 19px;
}
.portfolio-story-list p {
  margin: 0;
  color: #33466f;
  font-size: 15px;
  line-height: 1.56;
}
@media (max-width: 1280px) {
  .portfolio-grid,
  .portfolio-highlight-grid { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .portfolio-hero-art,
  .portfolio-detail-art { min-height: 300px; }
  .portfolio-browser-stack { height: 260px; }
  .portfolio-browser-card { transform: translate(calc(var(--offset) * 14px), calc(var(--offset) * 14px)) rotate(calc((var(--offset) - 1) * 3deg)); }
  .portfolio-card-actions { align-items: flex-start; flex-direction: column; }
  .portfolio-story-list article { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .portfolio-browser-stack { width: min(310px, 92%); height: 230px; }
  .portfolio-browser-card:nth-child(3) { display: none; }
  .portfolio-card-body { padding: 18px; }
}


/* Product detail sub-pages */
.product-detail-hero .service-orb-icon {
  background:
    radial-gradient(circle at 34% 24%, rgba(255,255,255,.98), rgba(255,255,255,.52) 32%, color-mix(in srgb, var(--accent, var(--blue)) 20%, white) 100%);
}
.product-meta-list {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}
.product-meta-list div {
  padding: 16px;
  border: 1px solid rgba(194,216,241,.72);
  border-radius: 14px;
  background: rgba(255,255,255,.76);
}
.product-meta-list strong {
  display: block;
  margin-bottom: 4px;
  color: var(--navy);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.product-meta-list span {
  color: #33466f;
  font-size: 15px;
  line-height: 1.45;
}
.product-fit-grid {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 14px;
  margin-top: 22px;
}
.product-fit-card {
  display: grid;
  gap: 12px;
  justify-items: center;
  align-content: center;
  min-height: 126px;
  padding: 20px;
  text-align: center;
  color: var(--navy);
  background: rgba(255,255,255,.80);
  border: 1px solid rgba(194,216,241,.82);
  border-bottom: 4px solid var(--accent);
  border-radius: 14px;
  box-shadow: var(--soft-shadow);
}
.product-fit-card span {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--accent);
  background: color-mix(in srgb, var(--accent) 10%, white);
}
.product-fit-card svg { width: 26px; height: 26px; }
.product-fit-card strong { font-size: 15px; line-height: 1.25; }
@media (max-width: 1280px) {
  .product-fit-grid { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 900px) {
  .product-fit-grid { grid-template-columns: 1fr; }
}

/* Team page and executive bio pages */
.team-body .section-head p {
  max-width: 820px;
  margin: 14px auto 0;
  color: #33466f;
  font-size: 17px;
  line-height: 1.6;
}
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 34px;
}
.team-card {
  position: relative;
  overflow: hidden;
  min-height: 250px;
  padding: 28px;
  border: 1px solid rgba(194,216,241,.82);
  border-bottom: 5px solid var(--accent);
  border-radius: 22px;
  background:
    radial-gradient(circle at 90% 0%, color-mix(in srgb, var(--accent) 18%, transparent), transparent 34%),
    linear-gradient(180deg, rgba(255,255,255,.96), rgba(247,251,255,.86));
  box-shadow: var(--soft-shadow);
}
.team-card-clickable {
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.team-card-clickable:hover,
.team-card-clickable:focus-visible {
  transform: translateY(-3px);
  box-shadow: 0 22px 52px rgba(7,23,70,.15), 0 8px 20px rgba(7,91,234,.09);
  outline: none;
}
.team-card:before {
  content: "";
  position: absolute;
  inset: auto -40px -70px auto;
  width: 170px;
  height: 170px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--accent) 10%, transparent);
}
.team-avatar {
  position: relative;
  width: 66px;
  height: 66px;
  display: grid;
  place-items: center;
  border-radius: 22px;
  color: white;
  background: linear-gradient(135deg, var(--accent), color-mix(in srgb, var(--accent) 62%, #0d2c61));
  font-weight: 950;
  letter-spacing: -.04em;
  box-shadow: 0 18px 34px color-mix(in srgb, var(--accent) 24%, transparent);
}
.team-avatar.large {
  width: 92px;
  height: 92px;
  border-radius: 30px;
  font-size: 30px;
  margin-bottom: 22px;
}
.team-role-kicker {
  margin-top: 22px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: .11em;
  text-transform: uppercase;
}
.team-card h3 {
  margin: 9px 0 8px;
  color: var(--navy);
  font-size: 25px;
  line-height: 1.05;
  letter-spacing: -.035em;
}
.team-card p {
  margin: 0;
  color: #33466f;
  font-size: 16px;
  line-height: 1.5;
}
.team-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 22px;
  color: var(--blue);
  font-weight: 900;
  text-decoration: none;
}
.team-link.muted {
  color: #6e7f9d;
}
.leadership-panel {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 34px;
  align-items: center;
  margin-top: 40px;
  padding: 34px;
  border: 1px solid rgba(194,216,241,.82);
  border-radius: 28px;
  background:
    radial-gradient(circle at 12% 18%, rgba(18,110,242,.12), transparent 30%),
    linear-gradient(135deg, rgba(255,255,255,.92), rgba(239,247,255,.82));
  box-shadow: var(--shadow);
}
.leadership-panel h2 {
  margin: 0 0 14px;
  font-size: clamp(30px, 3vw, 46px);
  line-height: 1.02;
  letter-spacing: -.045em;
}
.leadership-panel p {
  margin: 0;
  color: #33466f;
  font-size: 17px;
  line-height: 1.6;
}
.leadership-points {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.leadership-points article {
  min-height: 180px;
  padding: 22px;
  border-radius: 18px;
  border: 1px solid rgba(194,216,241,.82);
  background: rgba(255,255,255,.82);
}
.leadership-points strong {
  display: block;
  margin: 12px 0 8px;
  color: var(--navy);
  font-size: 18px;
  line-height: 1.18;
}
.team-orbits {
  position: absolute;
  inset: 12% 10%;
  border-radius: 50%;
  border: 1px solid rgba(18,110,242,.18);
  animation: none;
}
.team-orbits span {
  position: absolute;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, #fff, #eaf4ff);
  border: 1px solid rgba(194,216,241,.9);
  box-shadow: var(--soft-shadow);
}
.team-orbits span:nth-child(1) { left: 6%; top: 18%; }
.team-orbits span:nth-child(2) { right: 9%; top: 10%; }
.team-orbits span:nth-child(3) { left: 16%; bottom: 8%; }
.team-orbits span:nth-child(4) { right: 8%; bottom: 18%; }
.profile-avatar {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%,-50%);
  z-index: 3;
  width: min(230px, 55%);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border-radius: 42px;
  color: white;
  font-size: clamp(48px, 7vw, 82px);
  font-weight: 950;
  letter-spacing: -.08em;
  background: linear-gradient(135deg, var(--accent), color-mix(in srgb, var(--accent) 50%, #0e2f66));
  box-shadow: 0 32px 80px color-mix(in srgb, var(--accent) 30%, transparent);
}
.profile-ring {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%,-50%);
  width: min(300px, 70%);
  aspect-ratio: 1;
  border-radius: 50%;
  border: 2px solid color-mix(in srgb, var(--accent) 24%, transparent);
  background: radial-gradient(circle, color-mix(in srgb, var(--accent) 12%, transparent), transparent 62%);
}
.team-overview {
  border-bottom-color: var(--accent);
}
.bio-panel p {
  font-size: 17px;
  line-height: 1.72;
}
.resume-sections {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-top: 24px;
}
.resume-section {
  padding: 24px;
  border: 1px solid rgba(194,216,241,.82);
  border-bottom: 4px solid var(--accent);
  border-radius: 18px;
  background: rgba(255,255,255,.82);
}
.resume-section h3 {
  margin: 0 0 14px;
  color: var(--navy);
  font-size: 20px;
  letter-spacing: -.02em;
}
.resume-section ul {
  margin: 0;
  padding-left: 20px;
  color: #33466f;
}
.resume-section li {
  margin: 0 0 10px;
  line-height: 1.55;
}
.related-service-card small {
  display: block;
  margin-top: 4px;
  color: #5d6f8f;
  font-weight: 750;
  line-height: 1.2;
}
@media (max-width: 1180px) {
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .leadership-panel { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .team-grid, .leadership-points, .resume-sections { grid-template-columns: 1fr; }
  .team-card { min-height: auto; }
}


/* Team photography */
.team-photo {
  width: 118px;
  height: 118px;
  border-radius: 28px;
  overflow: hidden;
  margin-bottom: 18px;
  border: 1px solid rgba(194,216,241,.95);
  box-shadow: 0 18px 40px rgba(7,38,91,.14);
  background: #eef6ff;
}
.team-photo img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center 32%;
}
.team-card .team-photo + .team-role-kicker { margin-top: 0; }
.profile-photo {
  position: relative;
  z-index: 2;
  width: min(380px, 86%);
  height: min(470px, 72vw);
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid rgba(194,216,241,.95);
  box-shadow: 0 28px 70px rgba(7,38,91,.24);
  background: #eef6ff;
  align-self: center;
  justify-self: center;
}
.profile-photo img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center 18%;
}
.team-detail-photo {
  width: 100%;
  max-width: 360px;
  aspect-ratio: 4 / 5;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(194,216,241,.95);
  box-shadow: 0 22px 54px rgba(7,38,91,.16);
  background: #eef6ff;
  margin-bottom: 24px;
}
.team-detail-photo.headshot { aspect-ratio: 1 / 1; }
.team-detail-photo img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center 20%;
}
@media (max-width: 900px) {
  .profile-photo { width: min(320px, 88%); height: 390px; }
  .team-photo { width: 104px; height: 104px; border-radius: 24px; }
}

/* Completion pass: quote, industries, forms, and detail-page integration */
.careers-hero,
.contact-hero,
.insights-hero,
.quote-hero,
.industries-hero,
.team-detail-hero {
  border-bottom: 1px solid rgba(194,216,241,.58);
}
.contact-hero::before,
.quote-hero::before {
  background:
    radial-gradient(ellipse at 76% 38%, rgba(19,169,199,.14), transparent 38%),
    linear-gradient(118deg, transparent 0 45%, rgba(234,245,255,.82) 45% 100%),
    url('assets/hero-waves.svg') center/cover no-repeat;
}
.insights-hero::before,
.industries-hero::before {
  background:
    radial-gradient(ellipse at 76% 38%, rgba(24,166,111,.12), transparent 38%),
    linear-gradient(118deg, transparent 0 45%, rgba(234,245,255,.82) 45% 100%),
    url('assets/hero-waves.svg') center/cover no-repeat;
}
.team-detail-hero::before {
  background:
    radial-gradient(ellipse at 76% 38%, color-mix(in srgb, var(--accent) 16%, transparent), transparent 38%),
    linear-gradient(118deg, transparent 0 45%, rgba(234,245,255,.82) 45% 100%),
    url('assets/hero-waves.svg') center/cover no-repeat;
}
.team-detail-hero h1 { color: var(--navy); }
.team-detail-hero h1,
.team-detail-hero p { max-width: 760px; }
.team-profile-art { min-height: 460px; }
.profile-photo-full {
  width: min(410px, 82%);
  height: min(500px, 74vw);
  border-radius: 30px;
}
.profile-photo-full img { object-position: center 16%; }
.team-bust-art {
  position: relative;
  z-index: 5;
  display: block;
  width: min(440px, 86%);
  max-height: 520px;
  object-fit: contain;
  cursor: grab;
  user-select: none;
  touch-action: none;
  filter:
    drop-shadow(36px 38px 30px rgba(2, 12, 34, .42))
    drop-shadow(0 16px 28px rgba(5, 91, 234, .18));
  transform-origin: 50% 72%;
  will-change: transform, filter;
}
.team-bust-art.is-dragging {
  cursor: grabbing;
  filter:
    drop-shadow(46px 44px 34px rgba(2, 12, 34, .48))
    drop-shadow(0 18px 32px rgba(5, 91, 234, .2));
}
.team-bust-group-art {
  min-height: 470px;
  align-items: end;
}
.team-bust-group {
  position: relative;
  z-index: 8;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  width: min(760px, 98%);
  min-height: 430px;
  padding-top: 22px;
  isolation: isolate;
}
.team-bust-group .team-bust-art {
  flex: 0 0 clamp(210px, 19vw, 300px);
  width: clamp(210px, 19vw, 300px);
  max-height: 390px;
  margin-bottom: 0;
}
.team-bust-group .team-bust-center {
  z-index: 11;
  flex-basis: clamp(260px, 24vw, 370px);
  width: clamp(260px, 24vw, 370px);
  max-height: 450px;
}
.team-bust-group .team-bust-left {
  z-index: 9;
  margin-right: clamp(-108px, -6vw, -62px);
  margin-bottom: 8px;
  opacity: .97;
}
.team-bust-group .team-bust-right {
  z-index: 10;
  margin-left: clamp(-108px, -6vw, -62px);
  margin-bottom: 10px;
  opacity: .97;
}
.team-detail-body { padding-top: 42px; }
.team-detail-layout { grid-template-columns: .72fr 1.28fr; }
.team-detail-layout > div { display: grid; gap: 0; }
.team-overview h2 { font-size: clamp(28px,2.3vw,36px); }
.team-overview .button { width: 100%; }
.bio-panel { border-bottom: 4px solid var(--accent); }
.resume-panel {
  background:
    linear-gradient(135deg, rgba(255,255,255,.94), color-mix(in srgb, var(--accent) 8%, white));
}
.resume-panel .resume-sections { align-items: stretch; }
.resume-section { min-height: 190px; }
.product-detail-body { padding-top: 42px; }
.product-detail-body .service-detail-layout { align-items: start; }
.product-fit-panel {
  background:
    linear-gradient(135deg, rgba(255,255,255,.94), rgba(234,245,255,.82));
}
.teos-hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.teos-form-notice {
  margin: 0 0 20px;
  padding: 14px 16px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 850;
  line-height: 1.35;
}
.teos-form-notice.success {
  color: #07583d;
  background: #e4f8ef;
  border: 1px solid rgba(24,166,111,.32);
}
.teos-form-notice.error {
  color: #8c2725;
  background: #fff0ef;
  border: 1px solid rgba(242,95,92,.32);
}
.filter-chip.disabled {
  color: #5d6f8f;
  border-color: rgba(194,216,241,.82);
  background: rgba(255,255,255,.64);
  box-shadow: none;
}
.filter-chip small {
  margin-left: 2px;
  color: #6e7f9d;
  font-size: 11px;
  font-weight: 800;
}
.circle-arrow.disabled,
.disabled-button {
  cursor: default;
  opacity: .62;
  transform: none;
}
.disabled-button:hover { transform: none; }
.newsletter-form-wrap { display: grid; gap: 10px; }
.quote-body,
.industries-body {
  padding: 34px 0 12px;
  background:
    url('assets/swirl-bg.svg') center top/cover no-repeat,
    radial-gradient(ellipse at 18% 32%, rgba(18,136,255,.13), transparent 36rem),
    radial-gradient(ellipse at 86% 62%, rgba(19,169,199,.10), transparent 34rem);
}
.quote-layout {
  display: grid;
  grid-template-columns: .74fr 1.26fr;
  gap: 28px;
  align-items: start;
}
.quote-sidebar,
.industry-fit-panel,
.industry-card {
  background: rgba(255,255,255,.92);
  border: 1px solid rgba(194,216,241,.82);
  border-radius: 18px;
  box-shadow: var(--shadow);
}
.quote-sidebar {
  position: sticky;
  top: 118px;
  padding: 34px;
  border-bottom: 4px solid var(--blue);
}
.quote-sidebar h2,
.industry-fit-panel h2 {
  margin: 0 0 16px;
  font-size: clamp(30px,2.8vw,42px);
  line-height: 1.06;
  letter-spacing: -.035em;
}
.quote-sidebar p,
.industry-fit-panel p {
  margin: 0;
  color: #263b68;
  font-size: 17px;
  line-height: 1.62;
}
.quote-step-list {
  display: grid;
  gap: 14px;
  margin-top: 30px;
}
.quote-step-list article {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  align-items: center;
  padding: 16px;
  border: 1px solid rgba(194,216,241,.72);
  border-radius: 14px;
  background: rgba(255,255,255,.78);
}
.quote-step-list strong,
.industry-fit-grid strong {
  display: block;
  color: var(--navy);
  font-size: 17px;
}
.quote-step-list small,
.industry-fit-grid span {
  display: block;
  margin-top: 4px;
  color: #33466f;
  font-size: 14px;
  line-height: 1.42;
}
.quote-card { border-bottom: 4px solid var(--blue); }
.industry-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 22px;
}
.industry-card {
  min-height: 280px;
  padding: 28px;
  border-bottom: 4px solid var(--accent);
}
.industry-card .card-icon { margin-bottom: 22px; }
.industry-card h2 {
  margin: 0 0 12px;
  font-size: 24px;
  line-height: 1.12;
  letter-spacing: -.025em;
}
.industry-card p {
  margin: 0;
  color: #263b68;
  font-size: 16px;
  line-height: 1.58;
}
.industry-fit-panel {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 32px;
  align-items: center;
  margin-top: 30px;
  padding: 34px;
}
.industry-fit-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 14px;
}
.industry-fit-grid article {
  min-height: 150px;
  padding: 18px;
  border: 1px solid rgba(194,216,241,.82);
  border-radius: 14px;
  background: rgba(255,255,255,.76);
}
@media (max-width: 1280px) {
  .team-detail-layout,
  .quote-layout,
  .industry-fit-panel { grid-template-columns: 1fr; }
  .quote-sidebar { position: static; }
  .industry-grid,
  .industry-fit-grid { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 900px) {
  .team-profile-art { min-height: 340px; }
  .profile-photo-full { width: min(320px, 88%); height: 390px; }
  .team-bust-art { width: min(330px, 90%); max-height: 390px; }
  .team-bust-group-art { min-height: 320px; }
  .team-bust-group {
    width: min(460px, 98%);
    min-height: 300px;
    padding-top: 8px;
  }
  .team-bust-group .team-bust-art {
    flex-basis: clamp(128px, 34vw, 190px);
    width: clamp(128px, 34vw, 190px);
    max-height: 260px;
  }
  .team-bust-group .team-bust-center {
    flex-basis: clamp(158px, 42vw, 230px);
    width: clamp(158px, 42vw, 230px);
    max-height: 300px;
  }
  .team-bust-group .team-bust-left {
    margin-right: clamp(-68px, -14vw, -42px);
    margin-bottom: 6px;
  }
  .team-bust-group .team-bust-right {
    margin-left: clamp(-68px, -14vw, -42px);
    margin-bottom: 8px;
  }
  .team-detail-layout .team-detail-photo {
    display: block;
    width: min(320px, 100%);
    margin-inline: auto;
  }
  .industry-grid,
  .industry-fit-grid,
  .quote-step-list article { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .filter-chip { width: 100%; justify-content: center; }
  .industry-card,
  .quote-sidebar,
  .quote-card,
  .industry-fit-panel { padding: 22px; }
}

/* Product logo assets */
.product-card.has-product-logo { grid-template-columns: 172px 1fr auto; }
.product-logo-mark { width: 160px; height: 100px; display: grid; place-items: center; border-radius: 18px; background: rgba(255,255,255,.72); box-shadow: inset 0 0 0 1px rgba(194,216,241,.65); overflow: hidden; }
.product-logo-mark img { max-width: 142px; max-height: 88px; width: auto; height: auto; object-fit: contain; display: block; }
.product-hero-logo { position: relative; z-index: 3; width: 360px; height: 230px; display: grid; place-items: center; margin: 0 auto; padding: 20px; border-radius: 28px; background: rgba(255,255,255,.72); box-shadow: 0 28px 70px rgba(7,54,130,.16), inset 0 0 0 1px rgba(194,216,241,.7); backdrop-filter: blur(8px); }
.product-hero-logo img { max-width: 310px; max-height: 190px; object-fit: contain; display: block; }
.product-overview-logo { width: 220px; min-height: 140px; display: grid; place-items: center; margin: 0 0 22px; padding: 14px; border-radius: 22px; background: rgba(255,255,255,.82); box-shadow: inset 0 0 0 1px rgba(194,216,241,.8); }
.product-overview-logo img { max-width: 190px; max-height: 120px; object-fit: contain; display: block; }
.product-related-logo img { max-width: 34px; max-height: 34px; object-fit: contain; display: block; }
@media (max-width: 760px) {
  .product-card.has-product-logo { grid-template-columns: 1fr; }
  .product-logo-mark { width: 100%; height: 120px; }
  .product-hero-logo { width: min(92vw, 320px); height: 210px; }
}

/* Interactive logo and button motion */
.logo-img {
  transform-origin: center;
  transition: transform .18s ease, filter .18s ease;
  will-change: transform;
}
.brand:hover .logo-img {
  transform: translateY(-1px) scale(1.035);
  filter: drop-shadow(0 10px 18px rgba(7,91,234,.28));
}
.logo-img.logo-bounce {
  animation: teos-logo-bounce .62s cubic-bezier(.22,1.28,.36,1);
}
@keyframes teos-logo-bounce {
  0% { transform: translateY(0) scale(1); }
  28% { transform: translateY(5px) scale(.94,1.04); }
  58% { transform: translateY(-9px) scale(1.04,.97); }
  78% { transform: translateY(2px) scale(.99,1.01); }
  100% { transform: translateY(0) scale(1); }
}

.button {
  position: relative;
  overflow: hidden;
  transform-origin: center;
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease, border-color .18s ease;
}
.teos-motion-control {
  position: relative;
  overflow: hidden;
  transform-origin: center;
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease, border-color .18s ease;
}
.button:hover {
  transform: translateY(-2px) scale(1.015);
  filter: saturate(1.06);
}
.teos-motion-control:hover {
  transform: translateY(-2px) scale(1.015);
  filter: saturate(1.06);
}
.button.primary:hover {
  box-shadow: 0 18px 34px rgba(7,91,234,.32);
}
.button.ghost:hover {
  border-color: rgba(7,91,234,.78);
  box-shadow: 0 12px 28px rgba(7,91,234,.12);
}
.button:active,
.button.teos-button-pop,
.teos-motion-control:active,
.teos-motion-control.teos-button-pop {
  transform: translateY(1px) scale(.985);
}
.button::after,
.teos-motion-control::after {
  content: "";
  position: absolute;
  inset: 50%;
  width: 0;
  height: 0;
  border-radius: 999px;
  background: rgba(255,255,255,.34);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%,-50%);
}
.button.teos-button-pop::after,
.teos-motion-control.teos-button-pop::after {
  animation: teos-button-ripple .46s ease-out;
}
@keyframes teos-button-ripple {
  0% { width: 0; height: 0; opacity: .52; }
  100% { width: 260px; height: 260px; opacity: 0; }
}

.teos-clickable-card {
  cursor: pointer;
}
.teos-clickable-card:focus-visible {
  outline: 3px solid rgba(7,91,234,.42);
  outline-offset: 4px;
}
.teos-clickable-card:hover .circle-arrow {
  transform: translateY(-2px) scale(1.06);
  box-shadow: 0 12px 24px rgba(7,91,234,.18);
}
.teos-clickable-card .circle-arrow,
.related-service-card .circle-arrow {
  display: none;
}

.teos-3d-logo {
  width: min(390px,60vw);
  aspect-ratio: 1;
  position: relative;
  z-index: 2;
  cursor: grab;
  touch-action: none;
  user-select: none;
  will-change: transform;
  filter: drop-shadow(0 38px 48px rgba(5,39,119,.32));
}
.teos-3d-logo.is-dragging {
  cursor: grabbing;
}
.teos-3d-logo canvas {
  display: block;
  width: 100%;
  height: 100%;
}
.hero-art .orb.teos-orb-hidden {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.hero-art .orb.teos-draggable-logo {
  position: relative;
  z-index: 9999;
  cursor: grab;
  touch-action: none;
  user-select: none;
  -webkit-user-drag: none;
  -webkit-user-select: none;
  will-change: transform;
  transform-origin: center center;
  filter:
    drop-shadow(34px 48px 42px rgba(0,14,44,.46))
    drop-shadow(18px 24px 24px rgba(0,18,54,.32))
    drop-shadow(8px 8px 10px rgba(0,9,30,.22));
}
.hero-art .orb.teos-draggable-logo.is-dragging {
  z-index: 10000;
  cursor: grabbing;
  filter:
    drop-shadow(42px 58px 48px rgba(0,14,44,.42))
    drop-shadow(22px 30px 28px rgba(0,18,54,.30))
    drop-shadow(10px 10px 12px rgba(0,9,30,.20));
}
.pedestal.teos-logo-follow-shadow {
  pointer-events: none;
  will-change: transform;
}
.pedestal.teos-logo-hidden-pedestal {
  display: none;
}

@media (prefers-reduced-motion: reduce) {
  .logo-img.logo-bounce,
  .button.teos-button-pop::after {
    animation: none;
  }
  .button,
  .logo-img {
    transition: none;
  }
}
