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

:root {
  --navy: #061b38;
  --blue: #104b91;
  --electric: #168bfa;
  --sky: #39b9ff;
  --ice: #f3f8fd;
  --ink: #061b38;
  --bg: var(--ice);
  --bg-elevated: #ffffff;
  --text: var(--ink);
  --muted: #3c5270;
  --line: rgba(6, 27, 56, 0.12);
  --card: #ffffff;
  --shadow: 0 18px 40px rgba(6, 27, 56, 0.06);
  --header: rgba(243, 248, 253, 0.92);
  --link: #104b91;
  --footer: #041426;
  color-scheme: light;
}

[data-theme="dark"] {
  --bg: #061b38;
  --bg-elevated: #0a2748;
  --text: #f3f8fd;
  --muted: #b7c9dc;
  --line: rgba(243, 248, 253, 0.14);
  --card: #0c2748;
  --shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
  --header: rgba(6, 27, 56, 0.92);
  --link: #39b9ff;
  color-scheme: dark;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5.5rem;
}

body {
  margin: 0;
  font-family: Inter, "Segoe UI", system-ui, sans-serif;
  font-optical-sizing: auto;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

button,
input,
textarea {
  font: inherit;
}

a {
  color: var(--link);
}

:focus {
  outline: none;
}

:focus-visible {
  outline: 2px solid var(--sky);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 80;
  padding: 0.75rem 1rem;
  background: var(--electric);
  color: var(--navy);
  font-weight: 650;
  text-decoration: none;
  border-radius: 8px;
}

.skip:focus {
  top: 1rem;
}

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

.container {
  width: min(1120px, calc(100% - 2.5rem));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--header);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.header-bar {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-height: 4.75rem;
}

.brand {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  text-decoration: none;
}

.brand img {
  width: auto;
  height: 64px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-left: auto;
}

.site-nav a {
  color: var(--text);
  text-decoration: none;
  font-size: 0.9375rem;
  font-weight: 550;
  border-radius: 8px;
}

.site-nav a:hover,
.site-nav a[aria-current="true"] {
  color: var(--link);
}

.site-nav {
  position: absolute;
  top: calc(100% + 0.35rem);
  right: 0;
  width: min(18rem, calc(100vw - 2rem));
  padding: 0.4rem;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
}

.site-nav.is-open {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav a {
  display: block;
  padding: 0.85rem 0.9rem;
}

.site-nav a:hover {
  background: rgba(22, 139, 250, 0.08);
}

.nav-toggle,
.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  color: var(--text);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 10px;
  cursor: pointer;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  height: 44px;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 10px;
}

.lang-option {
  min-width: 36px;
  height: 36px;
  padding: 0 0.4rem;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--text);
  font-size: 0.75rem;
  font-weight: 650;
  letter-spacing: 0.04em;
  cursor: pointer;
}

.lang-option.is-selected {
  background: var(--electric);
  color: var(--navy);
}

.nav-toggle-bars,
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  display: block;
  width: 16px;
  height: 1.5px;
  background: currentColor;
  position: relative;
  transition: transform 0.2s ease, top 0.2s ease, background 0.2s ease;
}

.nav-toggle-bars::before,
.nav-toggle-bars::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle-bars::before {
  top: -6px;
}

.nav-toggle-bars::after {
  top: 6px;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bars {
  background: transparent;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before {
  top: 0;
  transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after {
  top: 0;
  transform: rotate(-45deg);
}

.theme-toggle svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.icon-sun {
  display: none;
}

[data-theme="dark"] .icon-moon {
  display: none;
}

[data-theme="dark"] .icon-sun {
  display: block;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 48px;
  padding: 0.75rem 1.15rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 0.95rem;
  font-weight: 620;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.btn-primary {
  background: var(--electric);
  color: var(--navy);
}

.btn-primary:hover {
  background: var(--sky);
  color: var(--navy);
}

.btn svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

.btn-secondary {
  background: transparent;
  color: var(--text);
  border-color: color-mix(in srgb, var(--text) 28%, transparent);
}

.btn-secondary:hover {
  border-color: var(--electric);
  color: var(--link);
}

.header-cta {
  display: none;
  min-height: 42px;
  padding-inline: 1rem;
}

.hero {
  color: var(--text);
  background:
    radial-gradient(ellipse 55% 80% at 100% 0%, rgba(22, 139, 250, 0.1), transparent 58%),
    linear-gradient(180deg, #fbfcfe 0%, #e7eef6 100%);
}

[data-theme="dark"] .hero {
  background:
    radial-gradient(ellipse 50% 70% at 100% 0%, rgba(16, 75, 145, 0.45), transparent 60%),
    #071422;
}

.hero-wrap {
  padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(3rem, 6vw, 4.5rem);
}

.hero-grid {
  display: grid;
  grid-template-areas:
    "intro"
    "stage"
    "follow";
  gap: 1.5rem;
}

.eyebrow {
  margin: 0 0 1rem;
  font-size: 0.75rem;
  font-weight: 650;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--link);
}

.hero-intro {
  grid-area: intro;
}

.hero-follow {
  grid-area: follow;
}

.hero h1 {
  margin: 0;
  font-size: clamp(2.6rem, 5.4vw, 4.35rem);
  font-weight: 560;
  letter-spacing: -0.045em;
  line-height: 0.96;
  border-left: 3px solid var(--electric);
  padding-left: 1rem;
  color: var(--navy);
}

[data-theme="dark"] .hero h1 {
  color: #f3f8fd;
}

.hero h1 span {
  display: block;
}

.hero h1 .headline-stage {
  display: grid;
}

.headline {
  grid-area: 1 / 1;
  align-self: start;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 600ms ease, transform 600ms ease;
  pointer-events: none;
  user-select: none;
}

.headline.is-current {
  z-index: 1;
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
  user-select: auto;
}

.headline.is-exit {
  opacity: 0;
  transform: translateY(-10px);
}

.headline.is-reset {
  transition: none;
}

.headline-controls {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0.85rem;
  padding-left: calc(1rem + 3px);
}

.headline-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  padding: 0;
  color: var(--muted);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 999px;
  cursor: pointer;
}

.headline-toggle svg {
  width: 12px;
  height: 12px;
}

.headline-toggle .icon-play {
  display: none;
}

.headline-toggle.is-paused .icon-pause {
  display: none;
}

.headline-toggle.is-paused .icon-play {
  display: block;
}

.headline-dots {
  display: flex;
  align-items: center;
}

.headline-dot {
  position: relative;
  width: 28px;
  height: 28px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.headline-dot::before {
  content: "";
  position: absolute;
  left: 6px;
  right: 6px;
  top: 50%;
  height: 3px;
  margin-top: -1.5px;
  border-radius: 999px;
  background: rgba(6, 27, 56, 0.22);
}

[data-theme="dark"] .headline-dot::before {
  background: rgba(243, 248, 253, 0.32);
}

.headline-dot.is-current::before {
  left: 4px;
  right: 4px;
  background: var(--electric);
}

.lede {
  max-width: 40rem;
  margin: 1.25rem 0 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.hero .lede {
  margin-top: 0;
  max-width: 36rem;
}

.lede-stage {
  display: grid;
}

.lede-stage .lede {
  grid-area: 1 / 1;
  align-self: start;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 600ms ease, transform 600ms ease;
  pointer-events: none;
  user-select: none;
}

.lede-stage .lede.is-current {
  z-index: 1;
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
  user-select: auto;
}

.lede-stage .lede.is-exit {
  opacity: 0;
  transform: translateY(-10px);
}

.lede-stage .lede.is-reset {
  transition: none;
}

[data-theme="dark"] .hero .lede {
  color: #d5e4f2;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

.hero-stage {
  grid-area: stage;
  position: relative;
  min-height: 320px;
  margin-bottom: 2.25rem;
}

.hero-main,
.hero-inset {
  object-fit: cover;
}

.hero-main {
  width: 100%;
  height: 320px;
  border-radius: 24px;
  box-shadow: 0 24px 50px rgba(6, 27, 56, 0.18);
}

.hero-inset {
  position: absolute;
  left: 12px;
  bottom: -18px;
  width: min(46%, 220px);
  height: 132px;
  border: 5px solid #fff;
  border-radius: 16px;
  box-shadow: 0 16px 36px rgba(6, 27, 56, 0.22);
}

[data-theme="dark"] .hero-inset {
  border-color: #0c2748;
}

.facts {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.8rem;
  margin: 2.25rem 0 0;
  padding: 0;
  list-style: none;
}

.facts li {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 0.95rem 1rem;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow);
}

.facts .meta,
.contact-list .meta {
  display: block;
  margin-bottom: 0.15rem;
  color: var(--link);
  font-size: 0.72rem;
  font-weight: 650;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.facts strong {
  font-weight: 600;
  color: var(--text);
}

.icon-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  flex: 0 0 auto;
  border-radius: 14px;
  background: rgba(22, 139, 250, 0.12);
  color: #104b91;
}

.icon-badge svg {
  width: 26px;
  height: 26px;
}

.icon-badge.sm {
  width: 36px;
  height: 36px;
  border-radius: 10px;
}

.icon-badge.sm svg {
  width: 18px;
  height: 18px;
}

[data-theme="dark"] .icon-badge {
  background: rgba(57, 185, 255, 0.14);
  color: #7fd4ff;
}

.about .icon-badge {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  margin-bottom: 1rem;
}

section {
  padding: clamp(4.25rem, 8vw, 6.75rem) 0;
}

.capabilities {
  background: var(--bg);
}

.experience {
  background: var(--bg-elevated);
}

.contact {
  background: var(--bg);
}

.section-intro {
  max-width: 44rem;
}

h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 560;
  letter-spacing: -0.035em;
  line-height: 1.08;
  text-wrap: balance;
}

.service-grid,
.principle-grid {
  display: grid;
  gap: 1rem;
  margin-top: 2.25rem;
}

.service-card,
.industry-panel,
.principle {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--card);
  box-shadow: var(--shadow);
}

.service-card {
  padding: 1.5rem 1.4rem 1.4rem;
}

.service-card:hover {
  border-color: var(--electric);
}

.service-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
}

.service-index {
  color: var(--link);
  font-size: 0.82rem;
  font-weight: 650;
  letter-spacing: 0.14em;
}

.icon {
  width: 32px;
  height: 32px;
  color: var(--link);
}

.service-card h3,
.principle h3,
.industry-panel h3,
.logo-block h3 {
  margin: 0;
  font-size: 1.35rem;
  font-weight: 580;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.service-points {
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
}

.service-points li {
  position: relative;
  margin: 0.45rem 0;
  padding-left: 1rem;
  color: var(--muted);
}

.service-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--electric);
}

.experience-layout,
.contact-layout {
  display: grid;
  gap: 2rem;
}

.industry-panel {
  padding: 1.4rem 1.4rem 0.6rem;
}

.industry-panel h3 {
  margin-bottom: 0.4rem;
}

.industry-panel ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.industry-panel li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.7rem 0;
  border-top: 1px solid var(--line);
  font-weight: 550;
}

.logo-block {
  margin-top: 3.5rem;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1.5rem 0 0.75rem;
}

.filter {
  min-height: 44px;
  padding: 0.4rem 0.9rem;
  color: var(--text);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 999px;
  cursor: pointer;
  font-size: 0.875rem;
  font-weight: 550;
}

.filter.is-selected {
  background: var(--electric);
  border-color: var(--electric);
  color: var(--navy);
}

.logo-count {
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: 0.875rem;
}

.logo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 0.8rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.logo-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  min-height: 148px;
  padding: 1rem 0.8rem 0.85rem;
  background: #ffffff;
  border: 1px solid rgba(6, 27, 56, 0.08);
  border-radius: 12px;
}

.logo-card[hidden] {
  display: none;
}

.logo-card img {
  width: auto;
  max-width: 100%;
  height: 64px;
  object-fit: contain;
}

.logo-card span {
  color: #3c5270;
  font-size: 0.8rem;
  line-height: 1.35;
  text-align: center;
}

.about {
  background: var(--blue);
  color: #f3f8fd;
}

.about .eyebrow {
  color: #e7f3ff;
}

.about .lede {
  color: #e8f2fb;
}

.principle {
  padding: 1.4rem;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.16);
  box-shadow: none;
}

.principle h3 {
  margin-top: 0;
}

.principle p {
  margin: 0.55rem 0 0;
  color: #e8f2fb;
}

.contact-list {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
}

.contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
  margin: 0 0 1.15rem;
}

.contact-list p,
.contact-list a {
  margin: 0;
}

.contact-list a {
  font-weight: 550;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

form {
  display: grid;
  gap: 1rem;
  padding: 1.25rem;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow);
}

.field {
  display: grid;
  gap: 0.35rem;
}

label {
  font-size: 0.875rem;
  font-weight: 600;
}

input,
textarea {
  width: 100%;
  min-height: 48px;
  padding: 0.75rem 0.85rem;
  color: var(--text);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 10px;
}

textarea {
  min-height: 150px;
  resize: vertical;
}

.form-help,
.form-status {
  margin: 0;
  color: var(--muted);
  font-size: 0.875rem;
}

.form-status:empty {
  display: none;
}

.site-footer {
  padding: 2.5rem 0 2rem;
  background: var(--footer);
  color: #d5e4f2;
}

.footer-bar {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.footer-brand img {
  width: auto;
  height: 48px;
}

.site-footer p {
  margin: 0.35rem 0 0;
  color: #b7c9dc;
  font-size: 0.92rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-links a {
  color: #f3f8fd;
  text-decoration: none;
  font-weight: 550;
}

.footer-links a:hover {
  color: var(--sky);
}

.reveal {
  opacity: 0;
  transform: translateY(12px);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
  transition: opacity 0.55s ease, transform 0.55s ease;
}

@media (min-width: 700px) {
  .facts {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
  }

  .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }
}

@media (min-width: 700px) {
  .header-bar {
    min-height: 6.75rem;
  }

  .brand img {
    height: 88px;
  }
}

@media (min-width: 861px) {
  .header-bar {
    gap: 1.25rem;
    min-height: 7rem;
  }


  .nav-toggle {
    display: none;
  }

  .header-cta {
    display: inline-flex;
  }

  .site-nav {
    position: static;
    width: auto;
    margin-left: auto;
    padding: 0;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .site-nav ul {
    display: flex;
    align-items: center;
    gap: 0.15rem;
  }

  .site-nav a {
    display: inline-flex;
    padding: 0.5rem 0.7rem;
  }

  .site-nav a:hover {
    background: transparent;
  }

  .header-actions {
    margin-left: 0.25rem;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
    grid-template-rows: auto 1fr;
    grid-template-areas:
      "intro stage"
      "follow stage";
    gap: 1.25rem 3.5rem;
    align-items: start;
  }

  .hero-follow {
    align-self: start;
  }

  .hero-stage {
    min-height: 560px;
    margin-bottom: 0;
  }

  .hero-main {
    width: 84%;
    height: 560px;
    margin-left: auto;
    border-radius: 28px;
  }

  .hero-inset {
    left: 0;
    bottom: 36px;
    width: 48%;
    height: 220px;
    border-width: 6px;
    border-radius: 18px;
  }

  .facts {
    margin-top: 2.5rem;
  }

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

  .experience-layout,
  .contact-layout {
    grid-template-columns: 1.35fr 0.85fr;
    gap: 3rem;
    align-items: start;
  }

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

  .footer-bar {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
  }
}

@media (min-width: 1100px) {
  .header-bar {
    min-height: 8rem;
  }

  .brand img {
    height: 64px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

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

@media print {
  .site-header,
  .nav-toggle,
  .theme-toggle,
  .filters {
    display: none;
  }

  body,
  .hero,
  .about,
  .site-footer {
    background: #fff;
    color: #000;
  }

  a {
    color: #000;
  }
}
