@font-face {
  font-family: "Inter";
  src: url("assets/fonts/InterVariable.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #101820;
  --text: #172431;
  --muted: #5d6976;
  --canvas: #f5f8fa;
  --canvas-deep: #e8eff3;
  --surface: #ffffff;
  --surface-soft: rgba(255, 255, 255, 0.72);
  --line: rgba(16, 24, 32, 0.12);
  --line-strong: rgba(16, 24, 32, 0.18);
  --navy: #06264a;
  --blue: #0b3b68;
  --teal: #147d88;
  --gold: #b78938;
  --gold-text: #8a6420;
  --coral: #a85a45;
  --shadow: 0 22px 70px rgba(12, 34, 54, 0.14);
  --radius: 8px;
  --header-height: 76px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: rgba(11, 59, 104, 0.35) transparent;
}

::selection {
  background: var(--navy);
  color: #f3ddb0;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(245, 248, 250, 0.9) 36%, rgba(232, 239, 243, 0.72)),
    var(--canvas);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

body.nav-open {
  overflow: hidden;
}

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

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

button {
  font: inherit;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  transform: translateY(-150%);
  background: var(--ink);
  color: var(--surface);
  padding: 10px 14px;
  border-radius: var(--radius);
}

.skip-link:focus {
  transform: translateY(0);
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 70;
  width: 0%;
  height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--teal), var(--gold), var(--teal), var(--blue));
  background-size: 200% 100%;
  animation: progress-sheen 6s linear infinite;
  transform-origin: left center;
}

@keyframes progress-sheen {
  from {
    background-position: 0% 0;
  }

  to {
    background-position: 200% 0;
  }
}

.ambient-grid {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.58;
  background-image:
    linear-gradient(rgba(11, 59, 104, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(11, 59, 104, 0.055) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(to bottom, black, transparent 78%);
  z-index: -3;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 12px clamp(18px, 5vw, 64px);
  border-bottom: 1px solid transparent;
  background: rgba(245, 248, 250, 0.78);
  backdrop-filter: blur(18px);
  transition: border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.site-header.is-scrolled {
  border-color: var(--line);
  box-shadow: 0 14px 38px rgba(12, 34, 54, 0.08);
  background: rgba(245, 248, 250, 0.94);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  color: var(--navy);
}

.brand img {
  width: 54px;
  height: 34px;
  object-fit: contain;
  transform: translateZ(0);
  transition: transform 220ms ease;
}

.brand:hover img,
.brand:focus-visible img {
  transform: translateY(-2px) scale(1.04);
}

.brand span {
  display: grid;
  line-height: 1;
}

.brand strong {
  font-size: clamp(1rem, 1.55vw, 1.22rem);
  letter-spacing: 0;
  text-transform: uppercase;
}

.brand em {
  margin-top: 3px;
  color: rgba(16, 24, 32, 0.62);
  font-size: 0.74rem;
  font-style: normal;
  font-weight: 740;
  letter-spacing: 0;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2.4vw, 30px);
  color: rgba(16, 24, 32, 0.76);
  font-size: 0.92rem;
  font-weight: 700;
}

.site-nav a {
  position: relative;
  padding: 9px 0;
  white-space: nowrap;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 3px;
  height: 2px;
  transform: scaleX(0);
  transform-origin: right;
  background: var(--gold);
  transition: transform 180ms ease;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after,
.site-nav a.is-active::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0;
  background: rgba(255, 255, 255, 0.72);
  color: var(--ink);
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
  transition: transform 180ms ease;
}

.section-shell {
  width: min(1160px, calc(100% - 36px));
  margin: 0 auto;
}

.hero {
  min-height: calc(80svh - var(--header-height));
  padding: clamp(20px, 3.2vw, 36px) 0 clamp(22px, 3vw, 32px);
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 1.05fr);
  align-items: center;
  gap: clamp(34px, 6vw, 84px);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 840;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: var(--gold-text);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 740px;
  margin-bottom: 8px;
  padding-bottom: 0.14em;
  color: var(--navy);
  font-size: clamp(3rem, 6.4vw, 5.6rem);
  line-height: 0.9;
  letter-spacing: 0;
  background: linear-gradient(110deg, var(--navy) 0%, var(--navy) 38%, var(--teal) 50%, var(--navy) 62%, var(--navy) 100%);
  background-size: 220% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: h1-sheen 7s ease-in-out infinite;
}

@keyframes h1-sheen {
  0%,
  55% {
    background-position: 100% 0;
  }

  85%,
  100% {
    background-position: 0% 0;
  }
}

h2 {
  margin-bottom: 20px;
  color: var(--ink);
  font-size: clamp(1.9rem, 3.6vw, 3.1rem);
  line-height: 1.06;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 14px;
  color: var(--ink);
  font-size: clamp(1.1rem, 2vw, 1.42rem);
  line-height: 1.16;
  letter-spacing: 0;
}

.keep-together {
  white-space: nowrap;
}

.hero-lede {
  max-width: 720px;
  margin-bottom: 30px;
  color: var(--muted);
  font-size: clamp(1.04rem, 1.9vw, 1.24rem);
}

.hero-actions,
.contact-panel {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: var(--radius);
  padding: 13px 18px;
  font-weight: 820;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, color 180ms ease, border-color 180ms ease;
}

.button::after {
  content: "\2192";
  font-weight: 900;
  transition: transform 180ms ease;
}

.button:hover::after,
.button:focus-visible::after {
  transform: translateX(3px);
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button.primary {
  background: var(--navy);
  color: var(--surface);
  box-shadow: 0 14px 30px rgba(6, 38, 74, 0.2);
}

.button.primary:hover,
.button.primary:focus-visible {
  background: var(--teal);
}

.button.secondary {
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.68);
  color: var(--ink);
}

.button.secondary:hover,
.button.secondary:focus-visible {
  border-color: rgba(20, 125, 136, 0.48);
  color: var(--navy);
  box-shadow: 0 14px 30px rgba(20, 125, 136, 0.1);
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 26px;
}

.trust-row span {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(11, 59, 104, 0.14);
  border-radius: 999px;
  padding: 7px 12px;
  background: rgba(255, 255, 255, 0.6);
  color: rgba(16, 24, 32, 0.76);
  font-size: 0.87rem;
  font-weight: 760;
}

.hero-visual {
  --rx: 0deg;
  --ry: 0deg;
  --scroll-shift: 0px;
  position: relative;
  min-height: clamp(390px, 37vw, 470px);
  isolation: isolate;
  perspective: 1000px;
}

.hero-visual::before,
.hero-visual::after {
  content: "";
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  filter: blur(46px);
  opacity: 0.55;
}

.hero-visual::before {
  width: 56%;
  height: 56%;
  top: 6%;
  left: 2%;
  background: radial-gradient(circle at 35% 35%, rgba(20, 125, 136, 0.34), transparent 68%);
  animation: blob-drift-a 16s ease-in-out infinite;
}

.hero-visual::after {
  width: 52%;
  height: 52%;
  right: 0;
  bottom: 4%;
  background: radial-gradient(circle at 60% 60%, rgba(183, 137, 56, 0.3), transparent 68%);
  animation: blob-drift-b 19s ease-in-out infinite;
}

@keyframes blob-drift-a {
  0%,
  100% {
    translate: 0 0;
    scale: 1;
  }

  50% {
    translate: 8% 10%;
    scale: 1.12;
  }
}

@keyframes blob-drift-b {
  0%,
  100% {
    translate: 0 0;
    scale: 1;
  }

  50% {
    translate: -9% -8%;
    scale: 0.92;
  }
}

.logo-stage {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  transform: translateY(var(--scroll-shift));
}

.hero-logo {
  width: min(96%, 680px);
  opacity: 0.96;
  filter: drop-shadow(0 28px 38px rgba(6, 38, 74, 0.1));
  transform: rotateX(var(--rx)) rotateY(var(--ry));
  transition: transform 160ms ease-out;
  animation: logo-float 7s ease-in-out infinite;
}

@keyframes logo-float {
  0%,
  100% {
    translate: 0 0;
  }

  50% {
    translate: 0 -14px;
  }
}

.tilt-card:hover,
.tilt-card:focus-within {
  border-color: rgba(20, 125, 136, 0.36);
  box-shadow: 0 24px 70px rgba(12, 34, 54, 0.16);
}

.proof-band {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.48);
}

.proof-item {
  min-height: 164px;
  padding: clamp(20px, 3vw, 30px) clamp(24px, 4vw, 42px);
  border-right: 1px solid var(--line);
}

.proof-item:last-child {
  border-right: 0;
}

.proof-item.proof-copy {
  padding-inline: clamp(20px, 2.4vw, 30px);
}

.proof-item strong {
  display: block;
  color: var(--navy);
  font-size: clamp(2.35rem, 5vw, 4rem);
  line-height: 0.95;
}

.proof-item.proof-copy strong {
  max-width: none;
  font-size: clamp(1.28rem, 1.55vw, 1.62rem);
  line-height: 1.08;
  white-space: nowrap;
}

.proof-item span {
  display: block;
  max-width: 190px;
  margin-top: 12px;
  color: var(--muted);
}

.proof-item.proof-copy span {
  max-width: 300px;
}

.assurance-section,
.split-section,
.expertise-section,
.projects-section,
.approach-section,
.stack-section {
  padding: clamp(72px, 10.5vw, 132px) 0;
}

.assurance-section {
  padding-bottom: clamp(24px, 4vw, 48px);
}

.split-section {
  padding-top: clamp(48px, 7vw, 88px);
}

.assurance-section .section-heading {
  margin-bottom: 0;
}

.section-heading {
  max-width: 880px;
  margin-bottom: clamp(34px, 6vw, 58px);
}

.section-heading p:not(.eyebrow),
.section-intro p:not(.eyebrow),
.stack-copy p:not(.eyebrow),
.contact-copy p:not(.eyebrow) {
  color: var(--muted);
  font-size: 1.04rem;
}

.service-card,
.domain-card,
.project-card {
  --rx: 0deg;
  --ry: 0deg;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-soft);
  transform: rotateX(var(--rx)) rotateY(var(--ry));
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease, background 180ms ease;
}

.service-card,
.domain-card {
  padding: clamp(22px, 3vw, 30px);
}

.service-number,
.project-card span {
  display: inline-flex;
  margin-bottom: 34px;
  color: var(--gold-text);
  font-size: 0.86rem;
  font-weight: 880;
}

.service-card p,
.domain-card p,
.timeline-step p,
.project-card p {
  margin-bottom: 0;
  color: var(--muted);
}

.split-section {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(34px, 6vw, 72px);
  align-items: start;
}

.section-intro {
  position: sticky;
  top: 110px;
}

.service-grid,
.domain-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.service-card {
  min-height: 246px;
}

.domain-card {
  min-height: 226px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.86), rgba(255, 255, 255, 0.58)),
    linear-gradient(180deg, transparent, rgba(232, 239, 243, 0.74));
}

.expertise-section,
.stack-section {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.projects-section {
  border-bottom: 1px solid var(--line);
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.project-card {
  min-height: 250px;
  display: flex;
  flex-direction: column;
  padding: clamp(24px, 3.2vw, 34px);
  background:
    linear-gradient(155deg, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.62)),
    linear-gradient(180deg, rgba(11, 59, 104, 0.08), rgba(183, 137, 56, 0.08));
}

.project-card strong {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  color: var(--navy);
  font-size: 0.95rem;
}

.project-card strong::after {
  content: "\2192";
  color: var(--gold-text);
  font-weight: 900;
  transition: transform 180ms ease;
}

.project-card:hover strong::after,
.project-card:focus-visible strong::after {
  transform: translateX(3px);
}

.approach-section {
  display: grid;
  grid-template-columns: minmax(260px, 0.84fr) minmax(0, 1.16fr);
  gap: clamp(34px, 6vw, 72px);
}

.timeline {
  display: grid;
  border-top: 1px solid var(--line);
}

.timeline-step {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 26px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}

.timeline-step span {
  color: var(--teal);
  font-weight: 880;
}

.stack-section {
  display: grid;
  grid-template-columns: minmax(260px, 0.86fr) minmax(0, 1.14fr);
  gap: clamp(34px, 6vw, 72px);
  align-items: start;
}

.stack-groups {
  display: grid;
  gap: 26px;
}

.stack-group h3 {
  margin-bottom: 12px;
  color: var(--teal);
  font-size: 0.8rem;
  font-weight: 840;
  text-transform: uppercase;
}

.stack-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.stack-cloud span {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(16, 24, 32, 0.11);
  border-radius: 999px;
  padding: 9px 15px;
  background: rgba(255, 255, 255, 0.68);
  color: rgba(16, 24, 32, 0.78);
  font-weight: 760;
}

.contact-section {
  padding: clamp(72px, 10vw, 122px) 0;
  border-top: 1px solid var(--line);
  background:
    linear-gradient(120deg, rgba(11, 59, 104, 0.12), rgba(20, 125, 136, 0.08), rgba(183, 137, 56, 0.1)),
    var(--canvas-deep);
}

.contact-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(280px, 0.88fr);
  gap: clamp(28px, 5vw, 68px);
  align-items: end;
}

.contact-copy h2 {
  max-width: 800px;
}

.contact-panel {
  justify-content: flex-start;
  padding: clamp(22px, 3vw, 30px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.66);
  box-shadow: 0 20px 56px rgba(12, 34, 54, 0.1);
}

.contact-panel img {
  width: min(260px, 100%);
  margin-bottom: 6px;
}

.social-links {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 12px;
  color: var(--navy);
  font-weight: 800;
}

.social-links a {
  border-bottom: 1px solid currentColor;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 22px;
  padding: 26px clamp(18px, 5vw, 64px);
  color: rgba(16, 24, 32, 0.64);
  font-size: 0.9rem;
}

.js .reveal {
  opacity: 0;
}

.js .reveal.is-visible {
  opacity: 1;
  animation: rise 700ms cubic-bezier(0.2, 0.7, 0.3, 1) backwards;
  animation-delay: var(--reveal-delay, 0ms);
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
}

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

}

@media (max-width: 1040px) {
  .site-nav {
    gap: 14px;
    font-size: 0.86rem;
  }
}

@media (max-width: 980px) {
  :root {
    --header-height: 72px;
  }

  .hero,
  .split-section,
  .approach-section,
  .stack-section,
  .contact-shell {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 44px;
  }

  .hero-visual {
    min-height: 470px;
  }

  .logo-stage {
    border: 0;
  }

  .section-intro {
    position: static;
  }

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

  .proof-item:nth-child(2) {
    border-right: 0;
  }

  .proof-item:nth-child(1),
  .proof-item:nth-child(2) {
    border-bottom: 1px solid var(--line);
  }

  .project-grid {
    grid-template-columns: 1fr;
  }

  .project-card {
    min-height: auto;
  }
}

@media (max-width: 820px) {
  .site-header {
    padding-inline: 18px;
  }

  .brand img {
    width: 48px;
  }

  .nav-toggle {
    display: block;
    position: relative;
    z-index: 81;
  }

  .nav-open .nav-toggle span:first-child {
    transform: translateY(3.5px) rotate(45deg);
  }

  .nav-open .nav-toggle span:last-child {
    transform: translateY(-3.5px) rotate(-45deg);
  }

  .site-nav {
    position: fixed;
    inset: 0;
    z-index: 80;
    width: 100vw;
    height: 100svh;
    display: grid;
    place-content: center;
    gap: 24px;
    background: rgba(245, 248, 250, 0.97);
    font-size: 1.32rem;
    transform: translateY(-100%);
    transition: transform 220ms ease;
  }

  .nav-open .site-nav {
    transform: translateY(0);
  }

  .service-grid,
  .domain-grid {
    grid-template-columns: 1fr;
  }

}

@media (max-width: 620px) {
  .section-shell {
    width: min(100% - 28px, 1160px);
  }

  .brand span {
    display: none;
  }

  .keep-together {
    white-space: normal;
  }

  h1 {
    font-size: clamp(2.65rem, 15vw, 4.4rem);
  }

  h2 {
    font-size: clamp(1.82rem, 10vw, 3rem);
  }

  .hero-actions,
  .contact-panel {
    align-items: stretch;
  }

  .hero {
    gap: 0;
  }

  .hero-visual {
    display: none;
  }

  .button {
    width: 100%;
  }

  .proof-band {
    grid-template-columns: 1fr;
  }

  .proof-item,
  .proof-item:nth-child(2) {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .proof-item:last-child {
    border-bottom: 0;
  }

  .timeline-step {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .site-footer {
    display: grid;
  }
}
