:root {
  --bg-main: #f6f8fc;
  --bg-soft: #eef5ff;
  --bg-accent: #e8f7ff;
  --surface: rgba(255, 255, 255, 0.92);
  --surface-strong: #ffffff;
  --surface-tint: #f4f8ff;
  --navy: #10234a;
  --navy-strong: #081735;
  --muted: #5f708e;
  --muted-strong: #42526f;
  --cyan: #37d8f4;
  --cyan-soft: #baf5ff;
  --blue: #356dff;
  --blue-soft: #dce9ff;
  --line: rgba(16, 35, 74, 0.1);
  --line-strong: rgba(53, 109, 255, 0.18);
  --shadow-sm: 0 14px 40px rgba(17, 42, 88, 0.08);
  --shadow-md: 0 22px 60px rgba(17, 42, 88, 0.12);
  --shadow-lg: 0 40px 120px rgba(17, 42, 88, 0.14);
  --radius-sm: 14px;
  --radius: 22px;
  --radius-lg: 30px;
  --max: 1200px;
  --display: "Manrope", "Plus Jakarta Sans", "Inter", system-ui, sans-serif;
  --transition: 220ms cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  min-width: 320px;
  font-size: 16px;
  scroll-behavior: smooth;
  scroll-padding-top: 112px;
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  color: var(--muted);
  background:
    radial-gradient(circle at 12% 0, rgba(55, 216, 244, 0.18), transparent 30rem),
    radial-gradient(circle at 86% 18%, rgba(53, 109, 255, 0.12), transparent 32rem),
    linear-gradient(180deg, #fbfdff 0%, var(--bg-main) 42%, #f2f7fe 100%);
  font: 500 1rem/1.7 var(--display);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  content: "";
  background:
    linear-gradient(rgba(53, 109, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(55, 216, 244, 0.025) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(circle at 50% 8%, black, transparent 74%);
  pointer-events: none;
}

body.nav-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img,
svg {
  display: block;
  max-width: 100%;
}

button,
input,
select,
textarea {
  font: inherit;
}

[id],
section {
  scroll-margin-top: 112px;
}

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

.skip-link {
  position: fixed;
  left: 1rem;
  top: 1rem;
  z-index: 999;
  padding: 0.8rem 1rem;
  color: var(--navy-strong);
  background: var(--cyan);
  border-radius: 12px;
  font-weight: 900;
  transform: translateY(-140%);
}

.skip-link:focus {
  transform: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 110;
  padding-top: 0.9rem;
  background: linear-gradient(180deg, rgba(246, 248, 252, 0.82), rgba(246, 248, 252, 0.12) 62%, rgba(246, 248, 252, 0));
  backdrop-filter: blur(16px);
}

.nav {
  display: flex;
  min-height: 74px;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.8rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 10px 26px rgba(17, 42, 88, 0.06);
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  color: var(--navy);
  font-weight: 900;
}

.brand-mark {
  width: 34px;
  height: 34px;
  object-fit: contain;
}

.brand-word {
  color: var(--navy);
  font-size: 0.98rem;
  letter-spacing: -0.03em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(0.95rem, 2vw, 1.5rem);
}

.nav-links a:not(.btn) {
  position: relative;
  color: var(--muted-strong);
  font-size: 0.93rem;
  font-weight: 850;
  transition: color var(--transition);
}

.nav-links a:not(.btn)::after {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.48rem;
  height: 2px;
  content: "";
  border-radius: 999px;
  background: linear-gradient(90deg, var(--cyan), var(--blue));
  opacity: 0;
  transform: translateY(0.2rem);
  transition: opacity var(--transition), transform var(--transition);
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--navy);
}

.nav-links a:hover::after,
.nav-links a[aria-current="page"]::after {
  opacity: 1;
  transform: none;
}

.nav-toggle {
  display: none;
  flex: 0 0 auto;
  width: 2.9rem;
  height: 2.9rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface-strong);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 1.15rem;
  height: 2px;
  margin: 0.25rem auto;
  border-radius: 999px;
  background: var(--navy);
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--navy);
  font-family: var(--display);
  letter-spacing: -0.05em;
  text-wrap: balance;
}

h1 {
  font-size: clamp(3rem, 5vw, 4.85rem);
  line-height: 0.96;
}

h2 {
  font-size: clamp(2.25rem, 3.8vw, 3.35rem);
  line-height: 1.02;
}

h3 {
  font-size: clamp(1.24rem, 1.9vw, 1.58rem);
  line-height: 1.15;
}

p,
li {
  text-wrap: pretty;
}

p {
  margin: 0;
  color: var(--muted);
}

.eyebrow,
.kicker {
  margin: 0 0 0.9rem;
  color: var(--blue);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.lead {
  max-width: 38rem;
  margin-top: 1.3rem;
  color: var(--muted-strong);
  font-size: clamp(1.06rem, 1.35vw, 1.2rem);
  line-height: 1.72;
}

.section {
  padding: clamp(4rem, 7vw, 6.5rem) 0;
}

.page-hero,
.home-hero {
  position: relative;
  overflow: clip;
}

.home-hero {
  padding: clamp(2.8rem, 5vw, 5rem) 0 clamp(2.6rem, 4vw, 4rem);
}

.page-hero {
  padding: clamp(4rem, 7vw, 6rem) 0 clamp(2.5rem, 4vw, 3.8rem);
}

.charcoal,
.teal,
.final-cta-section {
  background:
    radial-gradient(circle at 10% 22%, rgba(55, 216, 244, 0.09), transparent 22rem),
    radial-gradient(circle at 92% 14%, rgba(53, 109, 255, 0.08), transparent 24rem),
    linear-gradient(180deg, rgba(240, 247, 255, 0.72), rgba(248, 251, 255, 0.96));
}

.hero-grid,
.split,
.split.reverse,
.page-grid,
.contact-grid,
.about-grid,
.portfolio-feature,
.process-lab-grid,
.final-cta,
.section-split-head {
  display: grid;
  align-items: center;
  gap: clamp(2rem, 5vw, 4.5rem);
}

.hero-grid {
  grid-template-columns: minmax(0, 0.9fr) minmax(520px, 1.1fr);
}

.split,
.split.reverse {
  grid-template-columns: minmax(0, 1fr) minmax(320px, 1fr);
}

.page-grid,
.contact-grid {
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.74fr);
}

.section-split-head {
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.7fr);
  align-items: end;
  margin-bottom: 2rem;
}

.section-split-head p:last-child,
.section-head p:last-child,
.page-note p {
  line-height: 1.74;
}

.section-head.center {
  text-align: center;
}

.section-head.center p:last-child {
  margin-inline: auto;
}

.work-more {
  display: flex;
  justify-content: center;
  margin-top: 2rem;
}

.hero-copy h1 {
  max-width: 9ch;
}

.hero-copy h1 span,
.gradient-text {
  display: block;
}

.gradient-text {
  color: transparent;
  background: linear-gradient(100deg, #1dcff1, #36e3ff 34%, var(--blue) 78%);
  -webkit-background-clip: text;
  background-clip: text;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 3.2rem;
  padding: 0.9rem 1.3rem;
  border: 1px solid transparent;
  border-radius: 999px;
  color: var(--navy-strong);
  background: linear-gradient(135deg, var(--cyan) 0%, #8ae8ff 100%);
  box-shadow: 0 18px 38px rgba(55, 216, 244, 0.2);
  font-weight: 900;
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition), background var(--transition);
}

.btn.small {
  min-height: 2.7rem;
  padding: 0.72rem 1rem;
  font-size: 0.86rem;
}

.btn.ghost,
.btn.subtle {
  color: var(--navy);
  background: rgba(255, 255, 255, 0.86);
  border-color: var(--line);
  box-shadow: var(--shadow-sm);
}

.btn:hover,
.service-card:hover,
.work-card:hover,
.portfolio-feature:hover,
.team-card:hover,
.process-card:hover,
.contact-list a:hover,
.reason-grid article:hover,
.capability-grid article:hover,
.trust-pillar:hover,
.proof-strip article:hover,
.page-note:hover,
.brand-panel:hover,
.quote-panel:hover,
.contact-card:hover {
  transform: translateY(-4px);
}

.btn:hover {
  box-shadow: 0 24px 46px rgba(53, 109, 255, 0.2);
}

.btn svg,
.text-link svg {
  width: 1rem;
  height: 1rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
  color: var(--blue);
  font-weight: 900;
}

.text-link::after {
  display: inline-block;
  width: 0.9rem;
  height: 0.9rem;
  content: "";
  background: currentColor;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat;
  transition: transform var(--transition);
}

.text-link:hover::after {
  transform: translateX(4px);
}

.small-link {
  margin-top: 0.9rem;
  font-size: 0.92rem;
}

.btn:focus-visible,
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 3px solid rgba(55, 216, 244, 0.72);
  outline-offset: 4px;
}

.trust-list,
.deliverables,
.pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin: 1.45rem 0 0;
  padding: 0;
  list-style: none;
}

.trust-list li {
  position: relative;
  padding-left: 1rem;
  color: var(--muted-strong);
  font-weight: 800;
}

.trust-list li::before {
  position: absolute;
  left: 0;
  top: 50%;
  width: 0.42rem;
  height: 0.42rem;
  content: "";
  border-radius: 50%;
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  transform: translateY(-50%);
}

.deliverables li,
.pill-list li,
.project-meta span,
.concept-label {
  display: inline-flex;
  padding: 0.48rem 0.74rem;
  border: 1px solid rgba(53, 109, 255, 0.12);
  border-radius: 999px;
  color: var(--muted-strong);
  background: rgba(255, 255, 255, 0.86);
  font-size: 0.78rem;
  font-weight: 850;
}

.orb {
  position: absolute;
  z-index: -1;
  width: min(44rem, 76vw);
  aspect-ratio: 1;
  border-radius: 999px;
  filter: blur(16px);
  pointer-events: none;
}

.orb.cyan {
  top: -8%;
  right: -12rem;
  background: radial-gradient(circle, rgba(55, 216, 244, 0.22), transparent 70%);
}

.orb.blue {
  bottom: -18rem;
  left: -12rem;
  background: radial-gradient(circle, rgba(53, 109, 255, 0.16), transparent 70%);
}

.grid,
.services-grid,
.portfolio-grid,
.role-grid,
.process-grid,
.platform-grid,
.faq-grid,
.footer-grid,
.showcase-grid,
.reason-grid,
.capability-grid,
.team-grid {
  display: grid;
  gap: 1rem;
}

.services-grid {
  align-items: stretch;
  margin-top: 2rem;
}

.showcase-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  margin-top: 2rem;
}

.selected-work {
  padding-top: clamp(2.2rem, 3.4vw, 3rem);
}

.team-section,
.process-lab,
.why-section {
  padding-block: clamp(3rem, 5.1vw, 4.6rem);
}

.proof-section {
  padding-block: clamp(2.4rem, 4.1vw, 3.6rem);
}

.final-cta-section {
  padding-top: clamp(2.5rem, 4.2vw, 3.8rem);
  padding-bottom: clamp(3rem, 5.1vw, 4.6rem);
}

.selected-work .section-head {
  margin-bottom: 0;
}

.selected-work .showcase-grid {
  align-items: stretch;
  gap: 1.35rem;
  margin-top: 0.95rem;
}

.service-card,
.work-card,
.project-card,
.role-card,
.process-card,
.platform-card,
.quote-panel,
.brand-panel,
.contact-card,
.contact-form,
.faq-item,
.page-note,
.capability-grid article,
.reason-grid article,
.trust-pillar,
.proof-strip article,
.team-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.74);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(248, 251, 255, 0.98));
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.service-card:hover,
.work-card:hover,
.project-card:hover,
.team-card:hover,
.process-card:hover,
.contact-card:hover,
.quote-panel:hover,
.brand-panel:hover,
.page-note:hover {
  box-shadow: var(--shadow-md);
}

.service-card,
.process-card,
.role-card,
.platform-card,
.faq-item,
.contact-card,
.page-note,
.quote-panel,
.brand-panel,
.capability-grid article,
.reason-grid article {
  padding: clamp(1.2rem, 2vw, 1.55rem);
}

.service-card {
  display: flex;
  min-height: 360px;
  flex-direction: column;
}

.service-card h3,
.work-card h3 {
  max-width: 16ch;
}

.service-card p,
.work-card p,
.portfolio-feature p,
.contact-card p,
.reason-grid span,
.capability-grid span {
  margin-top: 0.9rem;
}

.service-card .text-link {
  margin-top: auto;
  padding-top: 1.1rem;
}

.project-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-bottom: 1rem;
}

.work-card {
  display: grid;
  grid-template-rows: minmax(19rem, 21.5rem) auto auto 1fr auto;
  min-height: 100%;
}

.selected-work .work-card {
  grid-template-rows: minmax(21rem, 24rem) auto auto 1fr auto;
  border-radius: 26px;
  box-shadow:
    0 18px 42px rgba(17, 42, 88, 0.08),
    0 5px 14px rgba(17, 42, 88, 0.04);
}

.work-card .project-meta,
.work-card h3,
.work-card p,
.work-card .text-link {
  margin-inline: 1.3rem;
}

.selected-work .work-card .project-meta,
.selected-work .work-card h3,
.selected-work .work-card p,
.selected-work .work-card .text-link {
  margin-inline: 1.45rem;
}

.work-card .project-meta {
  margin-top: 1.2rem;
}

.selected-work .work-card .project-meta {
  margin-top: 1.1rem;
  margin-bottom: 0.92rem;
}

.work-card .text-link {
  margin-top: auto;
  margin-bottom: 1.35rem;
}

.selected-work .work-card .text-link {
  padding-top: 1.15rem;
  margin-bottom: 1.45rem;
}

.work-card p {
  line-height: 1.72;
}

.selected-work .work-card h3 {
  max-width: 17ch;
  font-size: clamp(1.34rem, 1.8vw, 1.7rem);
  line-height: 1.12;
}

.selected-work .work-card p {
  margin-top: 0.8rem;
}

.project-visual {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #edf6ff, #dcecff);
}

.portfolio-feature {
  grid-template-columns: minmax(0, 0.96fr) minmax(320px, 1.04fr);
  padding: clamp(1rem, 2vw, 1.35rem);
}

.portfolio-feature:nth-child(even) {
  grid-template-columns: minmax(320px, 1.04fr) minmax(0, 0.96fr);
}

.portfolio-feature:nth-child(even) .project-visual {
  order: -1;
}

.portfolio-feature h2 {
  font-size: clamp(1.8rem, 2.2vw, 2.45rem);
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin: 0 0 1.6rem;
}

.filter-button {
  min-height: 2.95rem;
  padding: 0.72rem 1rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted-strong);
  background: rgba(255, 255, 255, 0.84);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  font-weight: 850;
  transition: color var(--transition), background var(--transition), border-color var(--transition), transform var(--transition);
}

.filter-button:hover,
.filter-button.is-active {
  color: var(--navy-strong);
  border-color: rgba(55, 216, 244, 0.4);
  background: linear-gradient(135deg, rgba(55, 216, 244, 0.22), rgba(255, 255, 255, 0.96));
}

.portfolio-item[hidden] {
  display: none;
}

.section-head h1 + p,
.section-head h2 + p,
.section-head h3 + p,
.page-note p,
.brand-panel p,
.quote-panel p,
.contact-card p {
  margin-top: 1rem;
}

.page-note,
.brand-panel,
.quote-panel {
  min-height: 100%;
}

.brand-panel .full-logo {
  width: min(100%, 14rem);
}

.premium-trust {
  padding-top: 0;
}

.trust-panel,
.proof-strip {
  display: grid;
  gap: 1rem;
}

.trust-panel {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.trust-pillar {
  min-height: 100%;
  padding: 1.2rem;
}

.trust-icon,
.icon-wrap {
  display: grid;
  width: 3.2rem;
  height: 3.2rem;
  place-items: center;
  margin-bottom: 1rem;
  border: 1px solid rgba(55, 216, 244, 0.2);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(55, 216, 244, 0.16), rgba(255, 255, 255, 0.96));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.82);
}

.trust-icon svg,
.icon-wrap img {
  width: 1.9rem;
  height: 1.9rem;
}

.trust-icon svg {
  fill: none;
  stroke: var(--blue);
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.trust-pillar strong,
.reason-grid strong,
.capability-grid strong {
  display: block;
  color: var(--navy);
  font: 900 1.04rem/1.18 var(--display);
}

.trust-pillar p {
  margin-top: 0.7rem;
}

.reason-grid,
.capability-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.reason-grid span,
.capability-grid span {
  display: block;
}

.proof-strip {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.proof-strip article {
  padding: 1.4rem;
}

.proof-strip img {
  width: 2rem;
  height: 2rem;
}

.proof-strip strong {
  display: block;
  margin-top: 1rem;
  color: var(--navy);
  font: 900 clamp(2rem, 3.8vw, 2.8rem) / 1 var(--display);
}

.proof-strip span {
  display: block;
  margin-top: 0.55rem;
  color: var(--navy);
  font-weight: 850;
}

.team-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 2rem;
}

.team-card {
  display: flex;
  flex-direction: column;
}

.team-card h3,
.team-role {
  margin-inline: 1.3rem;
}

.team-card h3 {
  margin-top: 1.2rem;
}

.team-role {
  margin-top: 0.55rem;
  color: var(--blue);
  font-weight: 850;
}

.team-card p:last-child {
  margin: 0.9rem 1.3rem 1.35rem;
}

.process-lab-grid {
  grid-template-columns: minmax(0, 1fr) minmax(380px, 1fr);
}

.process-timeline {
  display: grid;
  gap: 1rem;
}

.process-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.35rem 1rem;
}

.process-card .icon-wrap {
  grid-row: span 3;
  margin: 0;
}

.process-card p {
  margin: 0;
}

.step-number {
  color: var(--blue);
  font: 900 0.9rem/1 var(--display);
}

.contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  padding: clamp(1.25rem, 2.4vw, 1.8rem);
}

.form-row {
  display: grid;
  gap: 0.42rem;
}

.wide,
.form-note,
.form-submit,
.form-status {
  grid-column: 1 / -1;
}

label {
  color: var(--navy);
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  min-height: 3.1rem;
  padding: 0.82rem 0.95rem;
  border: 1px solid rgba(16, 35, 74, 0.12);
  border-radius: 16px;
  color: var(--navy);
  background: rgba(248, 251, 255, 0.96);
}

textarea {
  min-height: 12rem;
  resize: vertical;
}

input::placeholder,
textarea::placeholder {
  color: #7c8ca7;
}

.honeypot {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.form-note {
  color: var(--muted);
  font-size: 0.94rem;
}

.form-status {
  min-height: 1.5rem;
  color: var(--blue);
  font-weight: 800;
}

.contact-card {
  height: fit-content;
}

.contact-card h2 {
  font-size: clamp(1.8rem, 2.2vw, 2.3rem);
}

.contact-list {
  display: grid;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.contact-list a {
  padding: 0.86rem 1rem;
  border: 1px solid rgba(16, 35, 74, 0.1);
  border-radius: 16px;
  color: var(--navy);
  background: rgba(248, 251, 255, 0.92);
  font-weight: 800;
  overflow-wrap: anywhere;
  transition: transform var(--transition), border-color var(--transition), background var(--transition);
}

.faq-grid {
  grid-template-columns: 1fr 1fr;
  margin-top: 2rem;
}

.faq-item summary {
  color: var(--navy);
  cursor: pointer;
  font-weight: 850;
}

.final-cta {
  position: relative;
  max-width: var(--max);
  min-height: 24rem;
  grid-template-columns: minmax(0, 0.88fr) minmax(340px, 1fr);
  padding: clamp(1.6rem, 4vw, 3rem);
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, #0a1a3a 0%, #102a61 100%);
  box-shadow: var(--shadow-lg);
}

.final-cta,
.final-cta h2,
.final-cta p,
.final-cta .eyebrow {
  color: #f5f8ff;
}

.final-cta .eyebrow {
  color: #99ecff;
}

.site-footer {
  padding: 4rem 0 1.6rem;
  color: rgba(231, 239, 255, 0.78);
  background:
    radial-gradient(circle at 18% 0, rgba(55, 216, 244, 0.18), transparent 22rem),
    linear-gradient(180deg, #08142f 0%, #061024 100%);
}

.footer-grid {
  grid-template-columns: minmax(250px, 1.22fr) minmax(150px, 0.84fr) minmax(190px, 0.98fr) minmax(245px, 1.06fr);
  gap: clamp(1.5rem, 3vw, 2.4rem);
}

.footer-grid > div:last-child {
  min-width: 0;
}

.footer-brand-block {
  display: grid;
  align-content: start;
}

.footer-brand {
  align-items: flex-start;
  width: fit-content;
  padding: 0.72rem 0.9rem;
  border: 1px solid rgba(153, 236, 255, 0.12);
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(10, 26, 58, 0.9), rgba(7, 18, 42, 0.98));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.footer-logo {
  width: 2.3rem;
  height: 2.3rem;
}

.footer-logo-full {
  width: min(100%, 14rem);
  height: auto;
  border-radius: 18px;
}

.footer-grid h2 {
  margin: 0 0 1rem;
  color: #99ecff;
  font-size: 0.76rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.footer-grid a,
.footer-grid span,
.footer-grid p {
  display: block;
  max-width: 100%;
  margin-top: 0.55rem;
  color: rgba(231, 239, 255, 0.76);
  overflow-wrap: break-word;
  word-break: normal;
}

.footer-grid > div:last-child a[href^="mailto:"] {
  overflow-wrap: normal;
  word-break: normal;
}

.footer-grid a:hover,
.footer-bottom a:hover {
  color: #ffffff;
}

.footer-social {
  display: flex;
  gap: 0.7rem;
  margin-top: 1.2rem;
}

.footer-social a {
  display: grid;
  width: 2.5rem;
  height: 2.5rem;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 50%;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.04);
  transition: transform var(--transition), border-color var(--transition), background var(--transition);
}

.footer-social a:hover {
  border-color: rgba(153, 236, 255, 0.42);
  background: rgba(153, 236, 255, 0.1);
  transform: translateY(-2px);
}

.footer-social svg {
  width: 1.05rem;
  height: 1.05rem;
  fill: currentColor;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 2.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(231, 239, 255, 0.64);
  font-size: 0.94rem;
}

.footer-bottom a {
  display: inline-block;
  margin-left: 1.2rem;
  color: inherit;
}

.assistant-launcher {
  position: fixed;
  right: 1.2rem;
  bottom: 1.2rem;
  z-index: 110;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  min-height: 4.15rem;
  padding: 0.55rem 0.95rem 0.55rem 0.7rem;
  border: 1px solid rgba(16, 35, 74, 0.08);
  border-radius: 22px;
  background: rgba(8, 22, 58, 0.96);
  box-shadow: 0 24px 70px rgba(6, 16, 36, 0.28);
  cursor: pointer;
}

.assistant-launcher::after {
  position: absolute;
  right: 0.62rem;
  top: 0.62rem;
  width: 0.72rem;
  height: 0.72rem;
  content: "";
  border: 2px solid rgba(8, 22, 58, 0.96);
  border-radius: 50%;
  background: #72ffb7;
  box-shadow: 0 0 0 4px rgba(114, 255, 183, 0.14);
}

.assistant-launcher img {
  position: relative;
  z-index: 2;
  width: 2.9rem;
  height: 2.9rem;
  padding: 0.45rem;
  object-fit: contain;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(55, 216, 244, 0.24), rgba(53, 109, 255, 0.3));
}

.assistant-orbit,
.assistant-pulse {
  position: absolute;
  left: 0.62rem;
  top: 0.62rem;
  width: 2.98rem;
  height: 2.98rem;
  border: 1px solid rgba(153, 236, 255, 0.2);
  border-radius: 16px;
  pointer-events: none;
}

.assistant-pulse {
  animation: assistantPulse 2.8s ease-in-out infinite;
}

.assistant-label {
  position: static;
  display: inline-flex;
  align-items: center;
  gap: 0.72rem;
  padding: 0;
  border: 0;
  color: #f5f8ff;
  background: transparent;
  box-shadow: none;
  opacity: 1;
  transform: none;
}

.assistant-label-icon {
  display: grid;
  width: 2rem;
  height: 2rem;
  place-items: center;
  border-radius: 50%;
  color: #9defff;
  background: rgba(255, 255, 255, 0.08);
}

.assistant-label-icon svg {
  width: 1rem;
  height: 1rem;
  fill: currentColor;
}

.assistant-label-title,
.assistant-label-meta {
  display: block;
}

.assistant-label-title {
  font-size: 0.92rem;
  font-weight: 850;
}

.assistant-label-meta {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.18rem;
  color: rgba(245, 248, 255, 0.74);
  font-size: 0.74rem;
  font-weight: 700;
}

.assistant-label-status {
  width: 0.44rem;
  height: 0.44rem;
  border-radius: 50%;
  background: #72ffb7;
}

.assistant-dialog {
  position: fixed;
  right: 1.2rem;
  bottom: 6.1rem;
  z-index: 111;
  display: none;
  width: min(400px, calc(100vw - 2rem));
  max-height: min(600px, calc(100vh - 8rem));
  overflow: hidden;
  border: 1px solid rgba(16, 35, 74, 0.08);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: var(--shadow-lg);
}

.assistant-dialog.is-open {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto auto;
}

.assistant-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem;
  border-bottom: 1px solid rgba(16, 35, 74, 0.08);
  background: linear-gradient(180deg, rgba(240, 247, 255, 0.96), rgba(255, 255, 255, 0.98));
}

.assistant-title {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--navy);
  font-weight: 900;
}

.assistant-title::after {
  display: block;
  content: "Online - Guided Support";
  color: var(--blue);
  font-size: 0.72rem;
  font-weight: 800;
}

.assistant-title img {
  width: 2rem;
  height: 2rem;
}

.assistant-close {
  width: 2.25rem;
  height: 2.25rem;
  border: 1px solid rgba(16, 35, 74, 0.1);
  border-radius: 999px;
  color: var(--navy);
  background: rgba(240, 247, 255, 0.92);
  cursor: pointer;
}

.assistant-messages {
  display: grid;
  gap: 0.8rem;
  padding: 1rem;
  overflow-y: auto;
}

.assistant-message {
  max-width: 92%;
  padding: 0.8rem 0.95rem;
  border-radius: 18px;
  color: var(--muted-strong);
  background: rgba(240, 247, 255, 0.9);
}

.assistant-message.user {
  justify-self: end;
  color: var(--navy-strong);
  background: linear-gradient(135deg, rgba(55, 216, 244, 0.3), rgba(138, 232, 255, 0.78));
}

.assistant-actions,
.assistant-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding: 0 1rem 1rem;
}

.assistant-links {
  padding-top: 0.15rem;
}

.assistant-actions button,
.assistant-actions a,
.assistant-links a {
  padding: 0.56rem 0.74rem;
  border: 1px solid rgba(16, 35, 74, 0.1);
  border-radius: 999px;
  color: var(--navy);
  background: rgba(248, 251, 255, 0.96);
  cursor: pointer;
  font-size: 0.88rem;
  font-weight: 800;
}

.assistant-form {
  display: flex;
  gap: 0.55rem;
  padding: 1rem;
  border-top: 1px solid rgba(16, 35, 74, 0.08);
}

.assistant-form input {
  min-height: 2.9rem;
}

.assistant-form button {
  min-height: 2.9rem;
  padding: 0.65rem 0.95rem;
  border: 0;
  border-radius: 999px;
  color: var(--navy-strong);
  background: linear-gradient(135deg, var(--cyan), #90ebff);
  cursor: pointer;
  font-weight: 900;
}

.reveal {
  opacity: 1;
  transform: none;
}

.js .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 560ms ease, transform 560ms ease;
}

.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

@keyframes assistantPulse {
  0%,
  100% {
    opacity: 0.45;
    transform: scale(1);
  }

  50% {
    opacity: 0.95;
    transform: scale(1.06);
  }
}

@media (max-width: 1180px) {
  .hero-grid,
  .process-lab-grid,
  .final-cta,
  .section-split-head,
  .page-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .showcase-grid,
  .reason-grid,
  .capability-grid,
  .proof-strip,
  .team-grid,
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .trust-panel {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .hero-copy h1 {
    max-width: 11ch;
  }

  .selected-work .work-card {
    grid-template-rows: minmax(19rem, 21rem) auto auto 1fr auto;
  }

  .selected-work .work-card .project-meta {
    min-height: 2.45rem;
  }

  .selected-work .work-card h3 {
    min-height: 4rem;
  }

  .selected-work .work-card p {
    min-height: 5.35rem;
  }
}

@media (max-width: 920px) {
  .site-header {
    padding-top: 0.6rem;
  }

  .nav {
    min-height: 68px;
  }

  .nav-toggle {
    display: inline-block;
  }

  .nav-links {
    position: fixed;
    inset: 84px 1rem auto 1rem;
    display: grid;
    gap: 1rem;
    max-height: calc(100vh - 104px);
    padding: 1rem;
    overflow-y: auto;
    border: 1px solid rgba(255, 255, 255, 0.82);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.97);
    box-shadow: var(--shadow-lg);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-14px);
    transition: opacity var(--transition), transform var(--transition);
  }

  .nav-links.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }

  .split,
  .split.reverse,
  .portfolio-feature,
  .portfolio-feature:nth-child(even) {
    grid-template-columns: 1fr;
  }

  .portfolio-feature:nth-child(even) .project-visual {
    order: 0;
  }

  .selected-work .work-card .project-meta {
    min-height: 4.8rem;
  }
}

@media (max-width: 720px) {
  .container,
  .nav {
    width: min(100% - 1.2rem, var(--max));
  }

  .nav {
    padding: 0.7rem 0.75rem;
  }

  .section {
    padding-block: 3.7rem;
  }

  .brand-word {
    max-width: 8.9rem;
    font-size: 0.9rem;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  h1,
  .hero-copy h1 {
    max-width: 10ch;
    font-size: clamp(2.5rem, 11.5vw, 3.25rem);
  }

  h2 {
    font-size: clamp(1.95rem, 8.8vw, 2.8rem);
  }

  .actions {
    display: grid;
  }

  .btn {
    width: 100%;
  }

  .showcase-grid,
  .reason-grid,
  .capability-grid,
  .proof-strip,
  .trust-panel,
  .contact-form,
  .footer-grid,
  .faq-grid,
  .team-grid {
    grid-template-columns: 1fr;
  }

  .portfolio-feature {
    padding: 1rem;
  }

  .selected-work .showcase-grid {
    margin-top: 0.85rem;
  }

  .selected-work .work-card {
    grid-template-rows: minmax(16.5rem, 18rem) auto auto 1fr auto;
  }

  .selected-work .work-card .project-meta,
  .selected-work .work-card h3,
  .selected-work .work-card p {
    min-height: 0;
  }

  .contact-form {
    padding: 1rem;
  }

  .assistant-dialog {
    right: 0.5rem;
    bottom: 5.4rem;
    width: calc(100vw - 1rem);
    max-height: calc(100vh - 6.5rem);
  }

  .assistant-launcher {
    right: 0.8rem;
    bottom: 0.8rem;
    width: 3.85rem;
    min-height: 3.85rem;
    padding: 0.48rem;
    border-radius: 20px;
  }

  .assistant-launcher img {
    width: 2.75rem;
    height: 2.75rem;
  }

  .assistant-orbit,
  .assistant-pulse {
    left: 0.48rem;
    top: 0.48rem;
    width: 2.85rem;
    height: 2.85rem;
  }

  .assistant-label {
    display: none;
  }

  .footer-bottom {
    display: grid;
  }

  .footer-bottom a {
    margin: 0.5rem 1rem 0 0;
  }
}

@media (max-width: 460px) {
  .brand-word {
    max-width: 7.2rem;
  }

  .footer-logo-full {
    width: 12rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .btn:hover,
  .service-card:hover,
  .work-card:hover,
  .portfolio-feature:hover,
  .team-card:hover,
  .process-card:hover,
  .contact-list a:hover,
  .reason-grid article:hover,
  .capability-grid article:hover,
  .trust-pillar:hover,
  .proof-strip article:hover,
  .page-note:hover,
  .brand-panel:hover,
  .quote-panel:hover,
  .contact-card:hover {
    transform: none !important;
  }
}
