@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap');
:root{--navy:#06111f;--navy2:#081b30;--ink:#102238;--muted:#607184;--blue:#44baff;--line:#d7e2eb;--paper:#f4f8fb;--white:#fff;font-family:Manrope,Arial,sans-serif;color:var(--ink);scroll-behavior:smooth}
*{box-sizing:border-box}body{margin:0;background:var(--white)}button,a{font:inherit}a{color:inherit;text-decoration:none}button{cursor:pointer}img{max-width:100%;display:block}h1,h2,h3,p{margin-top:0}h1,h2{letter-spacing:-.055em}::selection{background:#6acaff;color:#05111e}.container{width:min(100% - 64px,1240px);margin:auto}.skip{position:absolute;top:-100px;left:16px;padding:12px;background:#fff;z-index:20}.skip:focus{top:12px}.site-header{height:88px;background:var(--navy);color:white;border-bottom:1px solid #ffffff1a;position:relative;z-index:10}.header-inner{height:100%;display:flex;justify-content:space-between;align-items:center}.brand{display:flex;align-items:center;gap:13px}.brand-symbol{width:35px;height:35px;display:grid;place-items:center;transform:skew(-8deg);color:#72ceff;font-size:12px;font-weight:800;letter-spacing:-.18em;border:2px solid #55bdff;line-height:1}.brand-symbol span{color:#fff}.brand-name,.footer-brand{font-size:25px;font-weight:800;letter-spacing:-.08em}.brand-dot,.footer-brand span{color:var(--blue)}.nav{display:flex;align-items:center;gap:38px;font-size:13px;font-weight:700;color:#b4c4d3}.nav>a:hover,.nav>a:focus-visible{color:#fff}.nav-contact{border:1px solid #58728b;padding:12px 17px;color:#fff!important}.nav-contact span{margin-left:22px;color:var(--blue)}.menu-toggle{display:none}
.hero{background:var(--navy);color:#fff;overflow:hidden;position:relative}.hero-grid{min-height:695px;display:grid;grid-template-columns:1.03fr .97fr}.hero-copy{padding:107px 55px 70px 0;position:relative;z-index:1;display:flex;flex-direction:column;align-items:flex-start}.eyebrow,.kicker,.panel-label{font-family:'DM Sans',Arial,sans-serif;font-size:11px;font-weight:700;letter-spacing:.18em}.eyebrow{color:#78cfff;display:flex;align-items:center;gap:12px}.eyebrow .line{height:1px;width:25px;background:#78cfff}.hero h1{font-size:clamp(50px,5.4vw,78px);line-height:1.13;font-weight:600;margin:30px 0 24px}.hero h1 em,.contact h2 em{font-style:normal;color:#72caff}.hero-copy>p{font-size:17px;line-height:1.85;color:#aabccd;max-width:565px}.hero-actions{display:flex;align-items:center;gap:31px;margin-top:27px}.button{display:inline-flex;align-items:center;justify-content:space-between;gap:24px;border:0;padding:17px 21px;font-size:13px;font-weight:800;min-height:55px;transition:transform .2s,background .2s}.button:hover{transform:translateY(-3px)}.button-primary{background:#59c4ff;color:#06111f}.button-primary:hover{background:#a1dfff}.text-link,.inline-link{font-size:13px;font-weight:700;border-bottom:1px solid #7692a8;padding-bottom:8px}.text-link span,.inline-link span{margin-left:12px}.hero-bottom{margin-top:auto;display:flex;align-items:center;gap:14px;color:#6f869c;font-size:10px;font-weight:800;letter-spacing:.15em;padding-top:65px}.hero-bottom i{width:3px;height:3px;background:#68c9ff;border-radius:50%}.hero-art{min-width:0;position:relative;overflow:hidden;border-left:1px solid #ffffff14}.hero-art:before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,#06111f 0%,transparent 22%),linear-gradient(0deg,#06111f 0%,transparent 15%);z-index:1;pointer-events:none}.hero-art img{width:100%;height:100%;object-fit:cover;object-position:center;filter:saturate(.8)}.art-caption{position:absolute;bottom:50px;left:40px;right:25px;z-index:2;display:flex;justify-content:space-between;color:#91abc1;font-size:10px;font-weight:700;letter-spacing:.17em}.hero-index{position:absolute;right:15px;top:50%;writing-mode:vertical-rl;font-size:9px;letter-spacing:.24em;color:#7290aa;z-index:2}
.section{padding:116px 0}.section-head{display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);padding-bottom:22px;margin-bottom:58px}.kicker{color:#168bd0}.section-head p{font-size:13px;color:#748599;margin:0}.intro{background:var(--paper)}.intro-grid{display:grid;grid-template-columns:1.2fr .8fr;gap:80px;align-items:end;margin-bottom:73px}.intro h2,.approach h2,.about h2{font-size:clamp(39px,4vw,57px);line-height:1.2;font-weight:600;margin:0}.intro h2 span,.approach h2 span,.about h2 span{color:#168bd0}.intro-grid p{max-width:450px;font-size:16px;line-height:1.85;color:#617185;margin:0 0 4px}.services{display:grid;grid-template-columns:repeat(3,1fr);border:1px solid var(--line)}.service{min-height:365px;background:#fff;padding:31px 32px;display:flex;flex-direction:column;transition:background .2s,transform .2s}.service+ .service{border-left:1px solid var(--line)}.service:hover{background:#edf8ff;transform:translateY(-4px)}.service-no{font-size:11px;font-weight:700;color:#94a9ba}.service-icon{width:56px;height:56px;margin:32px 0 26px;color:#198fd7}.service-icon svg{width:100%;height:100%;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}.service h3{font-size:19px;letter-spacing:-.035em;margin-bottom:12px}.service p{font-size:14px;line-height:1.75;color:#657589;margin-bottom:29px}.service-foot{margin-top:auto;color:#318ac1;font-size:9px;font-weight:800;letter-spacing:.1em}
.statement{background:#0b2944;color:#fff;padding:95px 0;overflow:hidden}.statement-inner{display:grid;grid-template-columns:200px 1fr 125px;gap:20px;align-items:start}.statement .kicker{color:#78cfff;padding-top:13px}.statement p{font-size:clamp(28px,3.3vw,47px);line-height:1.35;letter-spacing:-.045em;margin:0;max-width:835px;font-weight:500;color:#b8cad8}.statement strong{color:#fff;font-weight:600}.statement-mark{font-size:38px;color:#4ebcff;font-weight:800;letter-spacing:-.1em;opacity:.8;text-align:right}
.approach{background:white}.approach-layout{display:grid;grid-template-columns:1fr 1fr;gap:100px}.section-lead{font-size:16px;line-height:1.85;color:#67788a;max-width:470px;margin-top:30px}.steps{border-top:1px solid var(--line)}.step{display:grid;grid-template-columns:70px 1fr;border-bottom:1px solid var(--line);padding:20px 0;gap:10px}.step>span{font-size:12px;color:#158fd4;font-weight:800;padding-top:6px}.step h3{font-size:18px;margin-bottom:7px}.step p{font-size:14px;line-height:1.7;color:#728196;margin:0}
.about{background:#edf5fa}.about-grid{display:grid;grid-template-columns:1fr 1fr;gap:110px;align-items:center}.about h2{margin-top:30px}.about-grid>div:last-child p{font-size:16px;line-height:1.9;color:#526b80}.inline-link{display:inline-block;margin-top:15px;color:#0a75b8;border-color:#0a75b8}
.contact{background:linear-gradient(125deg,#071828,#0c314f);color:#fff;padding:100px 0}.contact-inner{display:grid;grid-template-columns:1fr 430px;gap:100px;align-items:center}.contact .kicker{color:#6ac9fb}.contact h2{font-size:clamp(42px,4.5vw,66px);font-weight:600;line-height:1.2;margin:27px 0}.contact-inner>div>p{font-size:16px;line-height:1.8;color:#a9c0d1;max-width:510px}.contact-panel{border:1px solid #41617a;padding:38px;background:#ffffff08}.panel-label{color:#81d2ff}.contact-panel p{font-size:15px;line-height:1.8;color:#c2d4e2;margin:24px 0}.button-light{background:#fff;color:#0a2c47;width:100%}.button-light:hover{background:#bce9ff}.contact-panel small{display:block;color:#8aa8bd;line-height:1.6;font-size:12px;margin-top:21px}.footer{background:#04101c;color:#fff}.footer-main{padding:65px 0;display:flex;justify-content:space-between;align-items:start}.footer-brand{font-size:37px}.footer-main p{font-size:13px;color:#8a9dae;margin:14px 0 0}.footer nav{display:flex;gap:32px;font-size:13px;color:#aabccd}.footer a:hover{color:#75ccff}.footer-bottom{border-top:1px solid #ffffff20;padding:24px 0;display:flex;justify-content:space-between;font-size:11px;color:#7f96a8}
:focus-visible{outline:2px solid #66c8ff;outline-offset:4px}@media(max-width:1000px){.hero-grid{grid-template-columns:1fr 42%}.hero-copy{padding-right:22px}.hero h1{font-size:52px}.statement-inner{grid-template-columns:150px 1fr}.statement-mark{display:none}.approach-layout,.about-grid{gap:55px}.contact-inner{gap:45px;grid-template-columns:1fr 390px}}
@media(max-width:760px){.container{width:min(100% - 40px,1240px)}.site-header{height:70px}.menu-toggle{display:flex;flex-direction:column;justify-content:center;gap:6px;width:42px;height:42px;border:0;background:transparent}.menu-toggle span{width:24px;height:2px;background:#fff}.nav{display:none;position:absolute;top:70px;left:0;right:0;padding:24px 20px;background:#081b30;flex-direction:column;align-items:stretch;gap:0;box-shadow:0 20px 35px #0005}.nav.open{display:flex}.nav a{padding:14px 0}.nav-contact{padding:14px!important;margin-top:10px}.hero-grid{min-height:0;display:flex;flex-direction:column}.hero-copy{padding:72px 0 44px}.hero h1{font-size:clamp(43px,10vw,64px)}.hero-copy>p{font-size:16px}.hero-art{height:330px;border-left:0;border-top:1px solid #ffffff22;margin:0 -20px}.hero-art img{object-position:center 48%}.hero-index{display:none}.art-caption{bottom:20px;left:20px}.hero-bottom{padding-top:60px}.section{padding:78px 0}.section-head{margin-bottom:37px}.intro-grid,.approach-layout,.about-grid,.contact-inner{display:block}.intro-grid p{margin-top:24px}.services{grid-template-columns:1fr}.service{min-height:280px}.service+.service{border-left:0;border-top:1px solid var(--line)}.service-icon{margin:20px 0}.statement{padding:68px 0}.statement-inner{display:block}.statement p{margin-top:22px}.steps{margin-top:42px}.about-grid>div:last-child{margin-top:36px}.contact{padding:78px 0}.contact-panel{margin-top:40px}.footer-main{gap:40px}.footer nav{display:grid;grid-template-columns:1fr 1fr;gap:20px}}
@media(max-width:460px){.hero-actions{align-items:stretch;flex-direction:column;gap:22px}.text-link{align-self:start}.hero-bottom{gap:9px;font-size:8px}.intro h2,.approach h2,.about h2{font-size:39px}.section-head p{display:none}.contact-panel{padding:25px}.footer-main{display:block}.footer nav{margin-top:36px}.footer-bottom{gap:15px;flex-direction:column}}
.header-actions{display:flex;align-items:center;gap:28px}.nav a[aria-current=page]{color:#fff}.theme-toggle{width:39px;height:39px;border:1px solid #557087;border-radius:50%;background:transparent;color:#cce7f6;display:grid;place-items:center;font-size:23px;line-height:1}.theme-toggle:hover{border-color:#69caff;color:#69caff}.brand-name{letter-spacing:.025em;font-size:22px}
.page-hero{background:radial-gradient(circle at 85% 30%,#164773 0%,transparent 31%),#06111f;color:#fff;padding:105px 0 110px}.page-hero .kicker{color:#71ceff}.page-hero h1{font-size:clamp(50px,6vw,84px);line-height:1.12;font-weight:600;margin:28px 0;max-width:900px}.page-hero h1 em{font-style:normal;color:#74ccff}.page-hero p{font-size:17px;line-height:1.8;color:#b4c9d9;max-width:680px;margin:0}.detail{background:#fff}.detail-grid{display:grid;grid-template-columns:1fr 1fr;gap:80px;align-items:end}.detail h2,.contact-page h2{font-size:clamp(34px,4vw,54px);line-height:1.2;font-weight:600;margin:28px 0 0}.detail p{font-size:17px;line-height:1.9;color:#607184;margin:0}.contact-page{background:#f4f8fb}.contact-page-grid{display:grid;grid-template-columns:1fr 440px;gap:90px}.contact-page p{font-size:17px;line-height:1.85;color:#607184;max-width:520px;margin:30px 0}.email-large{display:inline-block;font-size:clamp(19px,2.2vw,29px);font-weight:700;letter-spacing:-.03em;border-bottom:1px solid #158fd4;color:#087dbd;padding-bottom:8px}.email-large span{font-size:17px;margin-left:8px}.brief-card{background:#09243b;color:white;padding:42px}.brief-card .panel-label{color:#82ceff}.brief-card ol{padding-left:20px;margin:25px 0 30px;color:#c5d9e6;font-size:15px;line-height:2.25}.brief-card .button{width:100%}
html[data-theme=dark]{--paper:#0a1e31;--ink:#eaf5fb;--muted:#a8c0d0;--line:#29435a;background:#06111f}html[data-theme=dark] body{background:#06111f;color:#eaf5fb}html[data-theme=dark] .intro,html[data-theme=dark] .about,html[data-theme=dark] .contact-page{background:#0a1e31}html[data-theme=dark] .approach,html[data-theme=dark] .detail{background:#091829}html[data-theme=dark] .service{background:#102a42;color:#eaf5fb}html[data-theme=dark] .service:hover{background:#153753}html[data-theme=dark] .service h3,html[data-theme=dark] .step h3{color:#eaf5fb}html[data-theme=dark] .intro-grid p,html[data-theme=dark] .service p,html[data-theme=dark] .section-lead,html[data-theme=dark] .step p,html[data-theme=dark] .about-grid>div:last-child p,html[data-theme=dark] .detail p,html[data-theme=dark] .contact-page p{color:#a9bed0}html[data-theme=dark] .section-head p{color:#9bb5c8}html[data-theme=dark] .kicker{color:#73ccff}
html[data-theme=light] .site-header{background:#f8fbff;color:#0b263b;border-bottom:1px solid #d6e2eb}html[data-theme=light] .nav{color:#506b80}html[data-theme=light] .nav a[aria-current=page],html[data-theme=light] .nav a:hover{color:#007ab9}html[data-theme=light] .nav-contact{color:#0b263b!important;border-color:#a9bfce}html[data-theme=light] .theme-toggle{color:#0a527d;border-color:#a9bfce}html[data-theme=light] .hero,html[data-theme=light] .page-hero{background:#e9f5fc;color:#112b41}html[data-theme=light] .hero h1 em,html[data-theme=light] .page-hero h1 em{color:#007dbb}html[data-theme=light] .hero-copy>p,html[data-theme=light] .page-hero p{color:#4e6b80}html[data-theme=light] .hero-bottom{color:#61839b}html[data-theme=light] .hero-art:before{background:linear-gradient(90deg,#e9f5fc 0%,transparent 12%)}html[data-theme=light] .statement{background:#d9edf9;color:#102b41}html[data-theme=light] .statement p{color:#406279}html[data-theme=light] .statement strong{color:#0e304c}html[data-theme=light] .contact{background:linear-gradient(125deg,#d5edfb,#c3e3f5);color:#0d2a40}html[data-theme=light] .contact-inner>div>p{color:#4a6980}html[data-theme=light] .contact-panel{border-color:#a9ccdf;background:#ffffff9e}html[data-theme=light] .contact-panel p{color:#415e74}html[data-theme=light] .contact-panel small{color:#54768e}html[data-theme=light] .button-light{background:#093451;color:white}html[data-theme=light] .footer{background:#dcecf6;color:#15344b}html[data-theme=light] .footer-main p,html[data-theme=light] .footer nav,html[data-theme=light] .footer-bottom{color:#4d6a80}html[data-theme=light] .brief-card{background:#dceef9;color:#15344b}html[data-theme=light] .brief-card ol{color:#48687d}html[data-theme=light] .menu-toggle span{background:#12334a}
@media(max-width:760px){.header-actions{gap:12px}.nav{background:#0c263d}.nav a[aria-current=page]{color:#82d6ff}.theme-toggle{width:38px;height:38px}.page-hero{padding:75px 0}.page-hero h1{font-size:clamp(42px,10vw,65px)}.detail-grid,.contact-page-grid{display:block}.detail p,.brief-card{margin-top:35px}html[data-theme=light] .nav{background:#f8fbff;border-top:1px solid #d7e5ee}}


/* Services: a clear visual hierarchy for offerings, tools, and engagement paths. */
.services-overview {
  background: radial-gradient(circle at 88% 5%, rgba(75, 184, 239, .10), transparent 28%), var(--paper);
}
.services-intro {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  align-items: end;
  gap: 72px;
  margin-bottom: 54px;
}
.services-intro h2, .stack-lead h2, .engagement-section h2 {
  margin: 0;
  font-size: clamp(38px, 4vw, 58px);
  font-weight: 600;
  line-height: 1.16;
  letter-spacing: -.055em;
}
.services-intro h2 span, .engagement-section h2 span { color: #168bd0; }
.services-intro p, .engagement-intro p {
  max-width: 510px;
  margin: 0;
  padding-left: 23px;
  border-left: 2px solid #42abe4;
  color: #5d7589;
  font-size: 16px;
  line-height: 1.85;
}

.capability-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.capability-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 375px;
  padding: 28px 29px 31px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: linear-gradient(155deg, #fff, #f8fcff);
}
.capability-card::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, #168bd0, #83d9ff);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 500ms cubic-bezier(.22, 1, .36, 1);
}
.capability-card:hover::before { transform: scaleX(1); }
.capability-number {
  position: relative;
  z-index: 1;
  color: #157eb9;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .15em;
}
.capability-icon {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  margin-top: 30px;
  border: 1px solid #cce7f5;
  background: #e8f6fe;
  color: #1383bd;
  transition: background-color 450ms ease, color 450ms ease, transform 450ms cubic-bezier(.22, 1, .36, 1);
}
.capability-icon svg { width: 37px; height: 37px; }
.capability-card:hover .capability-icon { background: #d6f0ff; color: #006eac; transform: translateY(-3px); }
.capability-card h3 {
  margin: 30px 0 12px;
  font-size: 21px;
  line-height: 1.3;
  letter-spacing: -.045em;
}
.capability-card p {
  margin: 0 0 26px;
  color: #5f7588;
  font-size: 14px;
  line-height: 1.75;
}
.capability-card ul {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  list-style: none;
  padding: 0;
  margin: auto 0 0;
}
.capability-card li {
  padding: 6px 8px;
  border: 1px solid #d6e6ef;
  color: #416881;
  font-size: 11px;
  line-height: 1.35;
}

.stack-section {
  position: relative;
  overflow: hidden;
  color: #eaf5fb;
  background: radial-gradient(circle at 10% 25%, #153f5f 0, transparent 35%), #071a2c;
}
.stack-section::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .16;
  background-image: linear-gradient(#7dc8ed 1px, transparent 1px), linear-gradient(90deg, #7dc8ed 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(90deg, transparent, black 45%, transparent);
}
.stack-layout {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  align-items: start;
  gap: 84px;
}
.stack-lead { position: sticky; top: 36px; }
.stack-lead .kicker { display: block; margin-bottom: 32px; color: #85d8ff; }
.stack-lead h2 span { color: #82d3ff; }
.stack-lead > p {
  max-width: 490px;
  margin: 27px 0 0;
  color: #b2cad9;
  font-size: 16px;
  line-height: 1.85;
}
.stack-diagram {
  max-width: 480px;
  margin-top: 48px;
  padding: 18px;
  border: 1px solid #41627b;
  background: rgba(3, 18, 31, .35);
}
.diagram-layer {
  position: relative;
  display: grid;
  grid-template-columns: 32px 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 16px;
  border: 1px solid #416882;
  background: rgba(34, 83, 113, .37);
}
.diagram-layer + .diagram-layer { margin-top: 11px; }
.diagram-layer:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 31px;
  bottom: -12px;
  width: 1px;
  height: 12px;
  background: #7bcffc;
}
.diagram-layer > span { color: #84d6ff; font-size: 10px; font-weight: 800; }
.diagram-layer strong { font-size: 13px; letter-spacing: -.01em; }
.diagram-layer small { color: #9dbacc; font-size: 11px; }
.stack-list { display: grid; gap: 10px; }
.stack-row {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 14px;
  padding: 22px 23px;
  border: 1px solid #36546d;
  background: rgba(13, 46, 70, .92);
}
.stack-index { color: #7bd1ff; font-size: 11px; font-weight: 800; padding-top: 4px; }
.stack-row h3 { margin: 0 0 6px; color: #f2f9fd; font-size: 19px; letter-spacing: -.035em; }
.stack-row p { margin: 0 0 17px; color: #a8c1d1; font-size: 13px; line-height: 1.6; }
.stack-tags { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0; padding: 0; }
.stack-tags li {
  padding: 5px 8px;
  border: 1px solid #456982;
  color: #d4e9f4;
  font-size: 11px;
  line-height: 1.35;
}

.engagement-section {
  background: radial-gradient(circle at 92% 8%, #d5ebf8, transparent 32%), #eaf3f9;
}
.engagement-intro {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  align-items: end;
  gap: 72px;
  margin-bottom: 50px;
}
.engagement-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 15px; }
.engagement-item {
  display: flex;
  flex-direction: column;
  min-height: 354px;
  padding: 29px;
  border: 1px solid #c9dce8;
  background: #fff;
}
.engagement-top { display: flex; justify-content: space-between; align-items: start; }
.engagement-top > span:first-child {
  color: #157fb9;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .15em;
}
.engagement-mark {
  display: grid;
  place-items: center;
  width: 43px;
  height: 43px;
  border: 1px solid #c6e2f1;
  color: #168bd0;
  font-size: 21px;
  transition: background-color 350ms ease, transform 350ms ease;
}
.engagement-item:hover .engagement-mark { background: #e9f7ff; transform: translate(2px, -2px); }
.engagement-item h3 {
  max-width: 280px;
  margin: 58px 0 13px;
  font-size: 24px;
  line-height: 1.3;
  letter-spacing: -.045em;
}
.engagement-item p { margin: 0 0 35px; color: #5b7184; font-size: 14px; line-height: 1.8; }
.engagement-link {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  margin-top: auto;
  padding-top: 15px;
  border-top: 1px solid #d4e4ed;
  color: #087ab8;
  font-size: 12px;
  font-weight: 800;
}
.engagement-link span { font-size: 17px; transition: transform 300ms ease; }
.engagement-link:hover span { transform: translate(3px, -3px); }

html[data-theme="dark"] .services-overview {
  background: radial-gradient(circle at 88% 5%, rgba(41, 142, 198, .13), transparent 28%), #0a1e31;
}
html[data-theme="dark"] .capability-card { background: linear-gradient(155deg, #102d45, #0e263b); }
html[data-theme="dark"] .capability-card h3,
html[data-theme="dark"] .engagement-item h3 { color: #eaf5fb; }
html[data-theme="dark"] .capability-card p,
html[data-theme="dark"] .services-intro p,
html[data-theme="dark"] .engagement-intro p,
html[data-theme="dark"] .engagement-item p { color: #a9bed0; }
html[data-theme="dark"] .capability-icon { background: #123c58; border-color: #376382; color: #8ad6fc; }
html[data-theme="dark"] .capability-card:hover .capability-icon { background: #174969; color: #a5e1ff; }
html[data-theme="dark"] .capability-card li { border-color: #36546b; color: #b5d4e7; }
html[data-theme="dark"] .engagement-section {
  background: radial-gradient(circle at 92% 8%, #123a55, transparent 32%), #0a1e31;
}
html[data-theme="dark"] .engagement-item { background: #102a42; border-color: #30506a; }
html[data-theme="dark"] .engagement-mark { border-color: #466b86; }
html[data-theme="dark"] .engagement-item:hover .engagement-mark { background: #174969; }
html[data-theme="dark"] .engagement-link { border-color: #385c75; color: #84d4ff; }

@media (max-width: 1000px) {
  .stack-layout { gap: 45px; }
  .diagram-layer { grid-template-columns: 30px 1fr; }
  .diagram-layer small { display: none; }
}
@media (max-width: 900px) {
  .capability-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stack-layout { grid-template-columns: 1fr; }
  .stack-lead { position: static; }
  .stack-diagram { max-width: none; }
  .diagram-layer { grid-template-columns: 32px 1fr auto; }
  .diagram-layer small { display: inline; }
  .engagement-list { grid-template-columns: 1fr; }
  .engagement-item { min-height: 0; }
  .engagement-item h3 { margin-top: 35px; }
}
@media (max-width: 760px) {
  .services-intro, .engagement-intro { grid-template-columns: 1fr; gap: 23px; }
  .services-intro p, .engagement-intro p { max-width: 640px; }
  .stack-diagram { margin-top: 34px; }
}
@media (max-width: 580px) {
  .capability-grid { grid-template-columns: 1fr; }
  .capability-card { min-height: 0; padding: 27px; }
  .capability-card h3 { margin-top: 25px; }
  .services-intro h2, .stack-lead h2, .engagement-section h2 { font-size: 39px; }
  .diagram-layer { grid-template-columns: 28px 1fr; }
  .diagram-layer small { display: none; }
  .stack-row { grid-template-columns: 26px 1fr; padding: 20px 17px; }
  .engagement-item { padding: 25px; }
}

/* The language menu keeps the primary navigation compact on smaller screens. */
.language-switch { position: relative; z-index: 12; font-size: 12px; font-weight: 800; }
.language-switch summary {
  display: flex;
  align-items: center;
  gap: 7px;
  min-height: 39px;
  padding: 0 11px;
  border: 1px solid #557087;
  color: #cce7f6;
  cursor: pointer;
  list-style: none;
}
.language-switch summary::-webkit-details-marker { display: none; }
.language-switch summary::after { content: "⌄"; color: #74cfff; font-size: 15px; line-height: 1; }
.language-switch[open] summary, .language-switch summary:hover { border-color: #69caff; }
.language-options {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  min-width: 176px;
  max-height: min(66vh, 480px);
  overflow-y: auto;
  margin: 0;
  padding: 7px;
  border: 1px solid #46647d;
  background: #0b263e;
  box-shadow: 0 18px 36px rgba(2, 12, 22, .24);
  list-style: none;
}
.language-options a { display: block; padding: 10px 12px; color: #d6e7f2; white-space: nowrap; }
.language-options a:hover, .language-options a:focus-visible,
.language-options a[aria-current="true"] { background: #16415e; color: #8cd9ff; }
html[data-theme="light"] .language-switch summary { color: #315970; border-color: #a9bfce; }
html[data-theme="light"] .language-options { background: #f8fbff; border-color: #b8d0df; }
html[data-theme="light"] .language-options a { color: #315970; }
html[data-theme="light"] .language-options a:hover,
html[data-theme="light"] .language-options a:focus-visible,
html[data-theme="light"] .language-options a[aria-current="true"] { background: #e5f4fc; color: #087fb9; }

.page-hero h1, .hero h1, .services-intro h2, .engagement-intro h2,
.stack-lead h2, .contact h2 { overflow-wrap: break-word; }
@media (max-width: 1100px) {
  .site-header { height: 70px; }
  .header-actions { gap: 12px; }
  .menu-toggle { display: flex; flex-direction: column; justify-content: center; gap: 6px; width: 42px; height: 42px; border: 0; background: transparent; }
  .menu-toggle span { width: 24px; height: 2px; background: #fff; }
  html[data-theme="light"] .menu-toggle span { background: #12334a; }
  .nav { display: none; position: absolute; top: 70px; left: 0; right: 0; padding: 24px 20px; background: #0c263d; flex-direction: column; align-items: stretch; gap: 0; box-shadow: 0 20px 35px #0005; }
  .nav.open { display: flex; }
  .nav a { padding: 14px 0; }
  .nav-contact { padding: 14px !important; margin-top: 10px; }
  html[data-theme="light"] .nav { background: #f8fbff; border-top: 1px solid #d7e5ee; }
}

/* Legal pages share the site's typography while keeping long documents easy to scan. */
.footer-main { gap: 44px; }
.footer-legal { min-width: 175px; }
.footer-legal-heading {
  display: block;
  margin: 1px 0 18px;
  color: #75cfff;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.footer-legal nav { display: flex; flex-direction: column; gap: 15px; }
.footer-legal nav a { line-height: 1.35; }
html[data-theme="light"] .footer-legal-heading { color: #087eb7; }

.legal-hero { padding: 88px 0 94px; }
.legal-hero h1 { max-width: 980px; }
.legal-content { background: var(--paper); }
.legal-layout {
  display: grid;
  grid-template-columns: minmax(205px, 255px) minmax(0, 1fr);
  align-items: start;
  gap: clamp(48px, 7vw, 112px);
}
.legal-sidebar {
  position: sticky;
  top: 32px;
  min-width: 0;
}
.legal-sidebar > .kicker { display: block; margin-bottom: 21px; }
.legal-tabs { display: grid; gap: 7px; }
.legal-tabs a {
  display: block;
  padding: 14px 16px;
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
  transition: color 250ms ease, background-color 250ms ease, border-color 250ms ease;
}
.legal-tabs a:hover, .legal-tabs a:focus-visible,
.legal-tabs a[aria-current="page"] { color: #087fbc; background: #e8f5fd; border-color: #9ed4ef; }
html[data-theme="dark"] .legal-tabs a:hover,
html[data-theme="dark"] .legal-tabs a:focus-visible,
html[data-theme="dark"] .legal-tabs a[aria-current="page"] { color: #92d7fb; background: #123a56; border-color: #406b85; }
.legal-toc { margin-top: 42px; padding-top: 25px; border-top: 1px solid var(--line); }
.legal-toc-title {
  display: block;
  margin-bottom: 17px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.legal-toc nav { display: grid; gap: 3px; max-height: 58vh; overflow-y: auto; }
.legal-toc a {
  padding: 8px 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
  transition: color 220ms ease, transform 220ms ease;
}
.legal-toc a:hover, .legal-toc a:focus-visible { color: #138acc; transform: translateX(3px); }
.legal-article { min-width: 0; max-width: 790px; }
.legal-intro {
  padding: 28px 32px;
  border-left: 3px solid #37aae8;
  background: #e8f4fb;
}
.legal-intro p:last-child { margin-bottom: 0; }
html[data-theme="dark"] .legal-intro { background: #123047; }
.legal-intro p, .legal-section p, .legal-section li {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.85;
  overflow-wrap: anywhere;
}
.legal-intro p, .legal-section p { margin: 0 0 19px; }
.legal-intro strong, .legal-section strong { color: var(--ink); font-weight: 800; }
.legal-section { padding: 47px 0 38px; border-bottom: 1px solid var(--line); scroll-margin-top: 26px; }
.legal-section:last-child { border-bottom: 0; }
.legal-section h2 {
  margin: 0 0 25px;
  font-size: clamp(23px, 2.4vw, 31px);
  line-height: 1.3;
  font-weight: 650;
  letter-spacing: -.035em;
}
.legal-section ul { padding-left: 22px; margin: 0 0 22px; }
.legal-section li { padding-left: 5px; margin: 8px 0; }
.legal-article a { color: #087dbd; text-decoration: underline; text-underline-offset: 3px; }
html[data-theme="dark"] .legal-article a { color: #8ad9ff; }

@media (max-width: 900px) {
  .footer-main { display: block; }
  .footer-main > nav, .footer-legal { margin-top: 34px; }
  .footer-legal nav { display: flex; flex-direction: row; flex-wrap: wrap; gap: 14px 25px; }
  .legal-layout { grid-template-columns: 1fr; gap: 44px; }
  .legal-sidebar { position: static; }
  .legal-tabs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .legal-toc { margin-top: 27px; padding-top: 20px; }
  .legal-toc nav { max-height: none; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2px 22px; }
}
@media (max-width: 580px) {
  .legal-hero { padding: 70px 0 75px; }
  .legal-content { padding: 70px 0; }
  .legal-intro { padding: 22px 21px; }
  .legal-section { padding: 39px 0 29px; }
  .legal-toc nav { grid-template-columns: 1fr; }
}


/* Local file previews fade between full page loads. */
html.locale-leaving main, html.locale-leaving .footer {
  opacity: 0;
  transform: translateY(-12px);
  transition: opacity 300ms ease, transform 300ms ease;
}
