:root {
  --navy-950: #041124;
  --navy-900: #071a33;
  --navy-800: #0b2a50;
  --blue-700: #0b5ca8;
  --blue-600: #1478cb;
  --blue-500: #2d9de4;
  --cyan-400: #46c6ee;
  --ink: #102139;
  --text: #4a5c72;
  --muted: #718096;
  --line: #dfe7f0;
  --surface: #f4f7fb;
  --soft-blue: #eef4fb;
  --soft-blue-2: #e7f0f8;
  --soft-blue-3: #dceaf6;
  --white: #ffffff;
  --shadow-sm: 0 12px 30px rgba(8, 34, 66, 0.08);
  --shadow-lg: 0 30px 80px rgba(3, 19, 39, 0.18);
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 30px;
  --container: 1180px;
  --header-height: 78px;
  --ease: cubic-bezier(0.2, 0.75, 0.25, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 12px);
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family:
    Inter, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 18px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.nav-open,
body.dialog-open {
  overflow: hidden;
}

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

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

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

button {
  border: 0;
}

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

h1,
h2,
h3 {
  color: var(--ink);
  font-weight: 750;
  line-height: 1.12;
  letter-spacing: -0.02em;
}

p {
  color: var(--text);
}

::selection {
  color: var(--white);
  background: var(--blue-600);
}

:focus-visible {
  outline: 3px solid var(--cyan-400);
  outline-offset: 3px;
}

.container {
  width: min(calc(100% - 40px), var(--container));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;
  padding: 10px 16px;
  color: var(--white);
  background: var(--navy-950);
  border-radius: 8px;
  transform: translateY(-150%);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  min-height: var(--header-height);
  border-bottom: 1px solid rgba(8, 34, 66, 0.09);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(14px);
  transition:
    box-shadow 220ms ease,
    background-color 220ms ease;
}

.site-header.is-scrolled {
  box-shadow: 0 8px 30px rgba(4, 17, 36, 0.1);
}

.header-inner {
  position: relative;
  display: flex;
  width: min(calc(100% - 48px), 1152px);
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-height);
}

.brand {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  min-width: max-content;
}

.brand img {
  width: auto;
  height: 46px;
  object-fit: contain;
}

.primary-nav {
  position: absolute;
  left: 50%;
  display: flex;
  align-items: center;
  gap: 32px;
  transform: translateX(-50%);
}

.primary-nav a {
  position: relative;
  color: var(--ink);
  font-size: 0.875rem;
  font-weight: 700;
}

.primary-nav a:not(.nav-cta)::after {
  display: none;
}

.primary-nav a:hover {
  color: var(--blue-600);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  background: linear-gradient(135deg, var(--blue-600), var(--blue-500));
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
  white-space: nowrap;
  transition: opacity 180ms ease;
}

.header-cta {
  position: absolute;
  top: 50%;
  right: 0;
  padding: 10px 24px;
  transform: translateY(-50%);
}

.nav-cta:hover,
.nav-cta:focus-visible {
  color: var(--white);
  opacity: 0.9;
}

.nav-toggle {
  display: none;
  justify-self: end;
  width: 46px;
  height: 46px;
  padding: 12px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 11px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  background: var(--blue-700);
  border-radius: 2px;
  transition: 220ms ease;
}

.hero {
  position: relative;
  overflow: hidden;
  background: var(--soft-blue);
  aspect-ratio: 20 / 9;
  min-height: 560px;
  max-height: 780px;
}

.hero-track,
.hero-slide {
  position: absolute;
  inset: 0;
}

.hero-slide {
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 800ms ease,
    visibility 800ms ease;
}

.hero-slide.is-active {
  opacity: 1;
  visibility: visible;
}

.hero-slide picture,
.hero-slide img {
  display: block;
  width: 100%;
  height: 100%;
}

.hero-slide img {
  object-fit: cover;
}

.hero::after {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(0deg, rgba(4, 17, 36, 0.08), rgba(4, 17, 36, 0));
  content: "";
}

.eyebrow {
  margin-bottom: 14px;
  color: var(--blue-700);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.mission-content .eyebrow,
.contact-copy .eyebrow {
  color: var(--blue-700);
}

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 12px 21px;
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background-color 180ms ease,
    border-color 180ms ease;
}

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

.button-primary {
  color: var(--white);
  background: linear-gradient(135deg, var(--blue-600), var(--blue-500));
  box-shadow: 0 12px 30px rgba(20, 120, 203, 0.28);
}

.button-primary:hover {
  box-shadow: 0 16px 34px rgba(20, 120, 203, 0.38);
}

.button-ghost {
  color: var(--blue-700);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(20, 120, 203, 0.32);
}

.button-ghost:hover {
  background: var(--white);
  border-color: var(--blue-600);
}

.button-light {
  color: var(--navy-900);
  background: var(--white);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.16);
}

.hero-arrow {
  position: absolute;
  top: 50%;
  z-index: 4;
  display: grid;
  width: 50px;
  height: 58px;
  place-items: center;
  color: var(--white);
  background: rgba(4, 17, 36, 0.57);
  border: 1px solid rgba(255, 255, 255, 0.18);
  cursor: pointer;
  transform: translateY(-50%);
  transition:
    background-color 180ms ease,
    transform 180ms ease;
}

.hero-arrow:hover {
  background: var(--blue-700);
}

.hero-arrow span {
  margin-top: -5px;
  font-size: 2.4rem;
  font-weight: 300;
}

.hero-prev {
  left: 22px;
  border-radius: 0 12px 12px 0;
}

.hero-next {
  right: 22px;
  border-radius: 12px 0 0 12px;
}

.hero-dots {
  position: absolute;
  right: 0;
  bottom: 24px;
  left: 0;
  z-index: 4;
  display: flex;
  justify-content: center;
  gap: 10px;
}

.hero-dot {
  width: 30px;
  height: 4px;
  padding: 0;
  background: rgba(255, 255, 255, 0.46);
  border-radius: 99px;
  cursor: pointer;
  transition:
    width 220ms ease,
    background-color 220ms ease;
}

.hero-dot.is-active {
  width: 54px;
  background: var(--cyan-400);
}

.post-hero {
  color: var(--white);
  background: var(--navy-950);
}

.post-hero-container {
  width: min(calc(100% - 48px), 1212px);
  margin-inline: auto;
}

.post-hero-intro {
  min-height: 445px;
  padding: 92px 0 84px;
  border-bottom: 1px solid rgba(137, 174, 212, 0.18);
  background: var(--navy-950);
}

.post-hero-copy {
  max-width: 650px;
}

.post-hero-kicker {
  margin-bottom: 20px;
  color: var(--blue-500);
  font-size: 0.82rem;
  font-weight: 800;
  line-height: 1.4;
  letter-spacing: 0;
  text-transform: uppercase;
}

.post-hero-copy h2 {
  margin-bottom: 24px;
  color: var(--white);
  font-size: clamp(2.45rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.post-hero-description {
  max-width: 620px;
  margin-bottom: 34px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 1rem;
  line-height: 1.55;
}

.post-hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.post-hero-button {
  display: inline-flex;
  min-height: 52px;
  padding: 12px 26px;
  align-items: center;
  justify-content: center;
  color: var(--white);
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 800;
  line-height: 1.2;
  transition:
    background-color 180ms ease,
    border-color 180ms ease,
    transform 180ms ease;
}

.post-hero-button:hover {
  color: var(--white);
  transform: translateY(-2px);
}

.post-hero-button-primary {
  background: var(--blue-500);
}

.post-hero-button-primary:hover {
  background: var(--blue-600);
}

.post-hero-button-secondary {
  border-color: rgba(255, 255, 255, 0.34);
  background: transparent;
}

.post-hero-button-secondary:hover {
  border-color: rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.06);
}

.proof-bar {
  color: var(--white);
  background: var(--navy-900);
}

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

.proof-item {
  display: flex;
  min-width: 0;
  min-height: 153px;
  padding: 39px 0 34px;
  flex-direction: column;
  justify-content: center;
}

.proof-item strong,
.proof-item span {
  display: block;
}

.proof-item strong {
  margin-bottom: 4px;
  color: var(--white);
  font-size: 1.55rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.025em;
}

.proof-item span {
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.82rem;
  line-height: 1.45;
}

.section {
  padding: 112px 0;
}

.section-heading {
  width: min(760px, 100%);
  margin-bottom: 56px;
}

.section-heading-centered {
  margin-inline: auto;
  text-align: center;
}

.section-heading h2,
.contact-copy h2,
.mission-content h2,
.location-card h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 4vw, 3.8rem);
}

.section-heading > p:last-child {
  max-width: 680px;
  margin-bottom: 0;
  font-size: 1.04rem;
}

.section-heading-centered > p:last-child {
  margin-inline: auto;
}

.about-section {
  padding: 96px 0;
  background: var(--white);
}

.about-section > .container {
  width: min(calc(100% - 48px), 1152px);
}

.about-heading {
  max-width: 680px;
  margin-bottom: 48px;
}

.about-heading .eyebrow {
  margin-bottom: 12px;
}

.about-heading h2 {
  margin-bottom: 16px;
  font-size: clamp(2rem, 3.4vw, 2.25rem);
}

.about-heading > p:last-child {
  margin-bottom: 0;
  color: var(--text);
  font-size: 0.95rem;
  line-height: 1.55;
}

.about-story {
  padding: 48px;
  color: var(--white);
  background: var(--navy-950);
  border-radius: 24px;
}

.story-kicker {
  margin-bottom: 12px;
  color: var(--blue-500);
  font-size: 0.7rem;
  font-weight: 800;
  line-height: 1.4;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.about-story h3 {
  max-width: 610px;
  margin-bottom: 16px;
  color: var(--white);
  font-size: clamp(1.7rem, 3vw, 2rem);
  font-weight: 800;
}

.about-story p {
  max-width: 690px;
  margin-bottom: 16px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.92rem;
  line-height: 1.5;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--blue-600);
  font-size: 0.88rem;
  font-weight: 800;
}

.text-link span {
  transition: transform 180ms ease;
}

.text-link:hover span {
  transform: translate(3px, -3px);
}

.about-story .text-link {
  margin-top: 8px;
  color: var(--blue-500);
}

.about-story .text-link:hover {
  color: var(--cyan-400);
}

.value-grid {
  display: grid;
  margin-top: 24px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.value-card {
  min-height: 147px;
  padding: 24px;
  background: var(--surface);
  border-radius: 16px;
}

.value-card h3 {
  margin-bottom: 8px;
  font-size: 0.95rem;
  font-weight: 800;
  line-height: 1.3;
}

.value-card p {
  margin-bottom: 0;
  color: var(--text);
  font-size: 0.82rem;
  line-height: 1.55;
}

.products-section {
  padding: 96px 0;
  background: var(--surface);
}

.products-section > .container {
  width: min(calc(100% - 48px), 1152px);
}

.products-heading {
  max-width: 680px;
  margin-bottom: 48px;
}

.products-heading .eyebrow {
  margin-bottom: 12px;
}

.products-heading h2 {
  margin-bottom: 16px;
  font-size: clamp(2rem, 3.4vw, 2.25rem);
}

.products-heading > p:last-child {
  margin-bottom: 0;
  color: var(--text);
  font-size: 0.95rem;
  line-height: 1.55;
}

.brand-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.brand-card {
  display: flex;
  min-width: 0;
  min-height: 230px;
  flex-direction: column;
  overflow: hidden;
  background: #e4e4e4;
  border: 1px solid rgba(20, 120, 203, 0.3);
  border-radius: 20px;
  box-shadow: 0 5px 20px rgba(8, 34, 66, 0.035);
  transition:
    box-shadow 220ms ease,
    transform 220ms var(--ease);
}

.brand-card:hover {
  box-shadow: 0 10px 30px rgba(8, 34, 66, 0.08);
  transform: translateY(-3px);
}

.brand-logo {
  display: flex;
  height: 165px;
  padding: 10px 22px 0;
  align-items: center;
  justify-content: center;
  background: #e4e4e4;
}

.brand-logo img {
  width: auto;
  max-width: 80%;
  height: 70%;
  object-fit: contain;
}

.brand-action {
  display: flex;
  min-height: 65px;
  padding: 12px 22px 16px;
  align-items: center;
  justify-content: center;
  margin-top: auto;
  background: #e4e4e4;
}

.brand-action > span {
  display: inline-flex;
  min-height: 36px;
  padding: 8px 24px;
  align-items: center;
  justify-content: center;
  color: var(--white);
  background: var(--blue-600);
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 800;
  line-height: 1.2;
  transition: background-color 180ms ease;
}

.brand-card:hover .brand-action > span {
  background: var(--blue-700);
}

.mission-banner {
  padding: 80px 0;
  color: var(--white);
  background: var(--navy-950);
}

.mission-banner::after {
  display: none;
}

.mission-content {
  width: min(calc(100% - 48px), 1152px);
}

.mission-content .eyebrow {
  margin-bottom: 12px;
  color: var(--blue-500);
}

.mission-content h2 {
  max-width: 620px;
  margin-bottom: 16px;
  color: var(--white);
  font-size: clamp(2rem, 3.4vw, 2.25rem);
  font-weight: 800;
}

.mission-content p:not(.eyebrow) {
  max-width: 620px;
  margin-bottom: 32px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.95rem;
  line-height: 1.55;
}

.mission-content .button-light {
  min-height: 48px;
  padding: 12px 24px;
  color: var(--navy-950);
  box-shadow: none;
  font-size: 0.8rem;
  font-weight: 800;
}

.mission-content .button-light:hover {
  color: var(--navy-950);
  opacity: 0.9;
}

.services-section {
  padding: 96px 0;
  background: var(--white);
}

.services-section > .container {
  width: min(calc(100% - 48px), 1152px);
}

.services-heading {
  max-width: 680px;
  margin-bottom: 48px;
}

.services-heading .eyebrow {
  margin-bottom: 12px;
}

.services-heading h2 {
  margin-bottom: 16px;
  font-size: clamp(2rem, 3.4vw, 2.25rem);
}

.services-heading > p:last-child {
  margin-bottom: 0;
  color: var(--text);
  font-size: 0.95rem;
  line-height: 1.55;
}

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

.service-filter-defs {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
  pointer-events: none;
}

.service-card {
  position: relative;
  min-height: 198px;
  padding: 28px;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  transition:
    border-color 200ms ease,
    box-shadow 200ms ease,
    transform 200ms var(--ease);
}

.service-card::after {
  position: absolute;
  right: -42px;
  bottom: -56px;
  width: 120px;
  height: 120px;
  background: rgba(45, 157, 228, 0.055);
  border-radius: 50%;
  content: "";
}

.service-card:hover {
  border-color: rgba(20, 120, 203, 0.26);
  box-shadow: 0 10px 28px rgba(8, 34, 66, 0.07);
  transform: translateY(-3px);
}

.service-icon {
  display: grid;
  width: 50px;
  height: 50px;
  margin-bottom: 18px;
  place-items: center;
  color: var(--ink);
  background: #e8f3fc;
  border-radius: 11px;
}

.service-icon-art {
  display: block;
  width: 25px;
  height: 25px;
}

.service-card h3 {
  position: relative;
  z-index: 1;
  margin-bottom: 8px;
  color: var(--ink);
  font-size: 0.96rem;
  font-weight: 800;
  line-height: 1.35;
}

.service-card p {
  position: relative;
  z-index: 1;
  max-width: 480px;
  margin-bottom: 0;
  color: var(--text);
  font-size: 0.8rem;
  line-height: 1.55;
}

.projects-section {
  padding: 96px 0;
  color: var(--white);
  background: var(--navy-950);
}

.projects-section h2 {
  max-width: 680px;
  margin-bottom: 16px;
  color: var(--white);
  font-size: clamp(2rem, 3.2vw, 2.5rem);
}

.projects-section .section-heading > p:last-child {
  max-width: 680px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 1rem;
}

.projects-header {
  margin-bottom: 32px;
}

.projects-header .section-heading {
  width: min(680px, 100%);
  margin-bottom: 0;
}

.project-filters {
  display: inline-flex;
  min-width: max-content;
  gap: 4px;
  margin-top: 32px;
  padding: 4px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 999px;
}

.project-filters button {
  padding: 8px 16px;
  color: rgba(255, 255, 255, 0.7);
  background: transparent;
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 700;
  cursor: pointer;
  transition:
    color 180ms ease,
    background-color 180ms ease;
}

.project-filters button.is-active {
  color: var(--navy-950);
  background: var(--white);
}

.project-filters button:not(.is-active):hover {
  color: var(--white);
}

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

.project-card {
  position: relative;
  aspect-ratio: 4 / 3;
  padding: 0;
  overflow: hidden;
  color: var(--white);
  background: var(--navy-900);
  border-radius: 16px;
  cursor: pointer;
  transition: opacity 240ms ease;
}

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

.project-card::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(4, 17, 36, 0.96),
    rgba(4, 17, 36, 0.1) 55%,
    transparent
  );
  content: "";
}

.project-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 300ms ease;
}

.project-card > span {
  position: absolute;
  right: 16px;
  bottom: 16px;
  left: 16px;
  z-index: 1;
  text-align: left;
}

.project-card small,
.project-card strong {
  display: block;
}

.project-card small {
  margin-bottom: 3px;
  color: var(--cyan-400);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.project-card strong {
  color: var(--white);
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.25;
}

.project-card:hover img {
  transform: scale(1.05);
}

.contact-section {
  padding: 96px 0;
  color: var(--white);
  background: var(--navy-950);
}

.contact-layout {
  display: block;
}

.contact-copy h2 {
  max-width: 760px;
  margin: 24px 0 16px;
  color: var(--white);
  font-size: clamp(2rem, 3.2vw, 2.5rem);
}

.contact-copy > p:not(.eyebrow) {
  max-width: 680px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 1rem;
}

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

.contact-details > * {
  display: block;
  min-width: 0;
  padding: 24px;
  color: var(--white);
  background: var(--navy-900);
  border-radius: 16px;
  transition:
    background-color 180ms ease,
    transform 180ms ease;
}

.contact-details a:hover {
  background: var(--navy-800);
  transform: translateY(-2px);
}

.contact-details > * > span {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  color: var(--cyan-400);
  background: rgba(45, 157, 228, 0.2);
  border-radius: 50%;
  font-weight: 900;
}

.contact-details small,
.contact-details strong {
  display: block;
}

.contact-details small {
  margin: 16px 0 4px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.contact-details strong {
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.4;
}

.contact-form {
  width: min(680px, 100%);
  margin-top: 32px;
  padding: 32px;
  background: var(--white);
  border-radius: 24px;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.18);
}

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

.contact-form label {
  display: block;
  margin-bottom: 20px;
}

.contact-form label > span {
  display: block;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 0.875rem;
  outline: none;
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    background-color 180ms ease;
}

.contact-form input,
.contact-form select {
  height: 44px;
  padding: 0 16px;
}

.contact-form textarea {
  min-height: 116px;
  padding: 10px 16px;
  resize: vertical;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  background: var(--white);
  border-color: var(--blue-500);
  box-shadow: 0 0 0 4px rgba(45, 157, 228, 0.12);
}

.contact-form .button {
  width: 100%;
  margin-top: 4px;
  border: 0;
}

.form-note {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 0.73rem;
  text-align: center;
}

.location-section {
  position: relative;
  min-height: 420px;
  background: var(--surface);
}

.location-section iframe {
  display: block;
  width: 100%;
  height: 420px;
  border: 0;
}

.location-card {
  position: absolute;
  bottom: 24px;
  left: max(24px, calc((100% - var(--container)) / 2));
  z-index: 1;
  width: min(384px, calc(100% - 48px));
  padding: 24px;
  background: var(--white);
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
}

.location-card h2 {
  margin-bottom: 8px;
  font-size: 1.25rem;
}

.location-card p {
  margin-bottom: 12px;
  font-size: 0.875rem;
}

.site-footer {
  color: var(--white);
  background: var(--navy-950);
}

.footer-main {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 40px;
  padding-top: 64px;
  padding-bottom: 48px;
}

.footer-brand img {
  width: auto;
  height: 40px;
  margin-bottom: 16px;
  object-fit: contain;
}

.footer-brand p {
  max-width: 320px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.875rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-links strong {
  margin-bottom: 8px;
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.875rem;
  transition: color 180ms ease;
}

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

.social-links {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 7px;
}

.footer-links .social-links a {
  display: grid;
  flex: 0 0 42px;
  width: 42px;
  max-width: 42px;
  height: 42px;
  max-height: 42px;
  place-items: center;
  overflow: hidden;
  color: var(--white);
  border: 0;
  border-radius: 50%;
  font-size: 0;
  line-height: 1;
  transition:
    color 180ms ease,
    background 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
  box-shadow: 0 5px 14px rgba(0, 0, 0, 0.22);
}

.footer-links .social-links .social-facebook {
  background: #1877f2;
}

.footer-links .social-links .social-instagram {
  background: linear-gradient(
    135deg,
    #833ab4 0%,
    #c13584 30%,
    #e1306c 52%,
    #f77737 75%,
    #fcaf45 100%
  );
}

.footer-links .social-links .social-linkedin {
  background: #0a66c2;
}

.footer-links .social-links a:hover,
.footer-links .social-links a:focus-visible {
  color: var(--white);
  filter: brightness(1.1);
  box-shadow: 0 7px 18px rgba(0, 0, 0, 0.28);
  transform: translateY(-2px);
}

.footer-links .social-links svg {
  display: block;
  width: 20px;
  max-width: 20px;
  height: 20px;
  max-height: 20px;
  fill: currentColor;
}

.footer-bottom {
  display: flex;
  min-height: 64px;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
  margin: 0;
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.75rem;
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.75rem;
  font-weight: 400;
  transition: color 180ms ease;
}

.footer-bottom a:hover {
  color: var(--white);
}

.project-dialog {
  position: fixed;
  width: min(900px, calc(100% - 40px));
  max-width: none;
  max-height: calc(100vh - 40px);
  padding: 0;
  overflow: hidden;
  background: var(--navy-950);
  border: 0;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
}

.project-dialog::backdrop {
  background: rgba(1, 8, 18, 0.84);
  backdrop-filter: blur(8px);
}

.project-dialog img {
  width: 100%;
  max-height: 70vh;
  background: var(--navy-950);
  object-fit: contain;
}

.project-dialog > div {
  padding: 22px 26px 25px;
}

.project-dialog small {
  color: var(--cyan-400);
  font-size: 0.68rem;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.project-dialog h2 {
  margin: 5px 0 0;
  color: var(--white);
  font-size: 1.7rem;
}

.elpha-dialog {
  position: fixed;
  width: min(560px, calc(100% - 40px));
  max-width: none;
  max-height: calc(100vh - 40px);
  padding: 0;
  overflow: hidden;
  background: var(--white);
  border: 0;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
}

.elpha-dialog::backdrop {
  background: rgba(1, 8, 18, 0.78);
  backdrop-filter: blur(8px);
}

.elpha-dialog > div {
  padding: 36px;
}

.elpha-dialog .eyebrow {
  margin-bottom: 10px;
}

.elpha-dialog h2 {
  margin: 0 0 24px;
  color: var(--navy-950);
  font-size: clamp(1.6rem, 3vw, 2.1rem);
}

.elpha-product-card {
  display: grid;
  min-height: 190px;
  align-items: center;
  padding: 24px;
  color: var(--navy-950);
  text-decoration: none;
  background:
    linear-gradient(135deg, rgba(17, 155, 213, 0.08), rgba(255, 255, 255, 0.94)),
    var(--white);
  border: 1px solid rgba(17, 155, 213, 0.25);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
  transition:
    transform 240ms var(--ease),
    border-color 240ms var(--ease),
    box-shadow 240ms var(--ease);
}

.elpha-product-card:hover,
.elpha-product-card:focus-visible {
  transform: translateY(-4px);
  border-color: rgba(17, 155, 213, 0.68);
  box-shadow: 0 20px 45px rgba(7, 26, 51, 0.16);
}

.elpha-product-card img {
  width: min(100%, 340px);
  height: auto;
  margin: 0 auto 18px;
}

.elpha-product-card span {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-top: 18px;
  border-top: 1px solid rgba(7, 26, 51, 0.1);
  font-size: 0.86rem;
  font-weight: 850;
}

.elpha-product-card b {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  flex: 0 0 34px;
  color: var(--white);
  background: var(--blue-600);
  border-radius: 50%;
  font-size: 1rem;
  line-height: 1;
}

.dialog-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  color: var(--white);
  background: rgba(4, 17, 36, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 720ms var(--ease),
    transform 720ms var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1080px) {
  :root {
    --header-height: 78px;
  }

  .header-inner {
    width: min(calc(100% - 36px), 100%);
    gap: 24px;
  }

  .primary-nav {
    gap: 17px;
  }

  .hero {
    min-height: 510px;
  }

  .post-hero-intro {
    min-height: 410px;
    padding: 78px 0 72px;
  }

  .proof-item {
    padding-right: 20px;
  }

  .section {
    padding: 92px 0;
  }

  .about-section {
    padding: 84px 0;
  }

}

@media (max-width: 820px) {
  .header-inner {
    justify-content: space-between;
  }

  .header-cta {
    display: none;
  }

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

  .nav-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
  }

  .nav-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
  }

  .js .primary-nav {
    position: fixed;
    top: var(--header-height);
    right: 0;
    left: 0;
    display: grid;
    gap: 0;
    max-height: 0;
    padding: 0 20px;
    overflow: hidden;
    background: var(--white);
    box-shadow: 0 18px 30px rgba(4, 17, 36, 0.12);
    opacity: 0;
    transform: none;
    visibility: hidden;
    transition:
      max-height 320ms var(--ease),
      padding 320ms var(--ease),
      opacity 200ms ease,
      visibility 200ms ease;
  }

  .js .primary-nav.is-open {
    max-height: calc(100vh - var(--header-height));
    padding-top: 10px;
    padding-bottom: 24px;
    overflow-y: auto;
    opacity: 1;
    visibility: visible;
  }

  .js .primary-nav a {
    padding: 13px 7px;
    color: var(--ink);
    border-bottom: 1px solid var(--line);
    font-size: 0.95rem;
  }

  .js .primary-nav a:hover,
  .js .primary-nav a:focus-visible {
    color: var(--blue-600);
    background: var(--soft-blue);
  }

  .js .primary-nav a::after {
    display: none;
  }

  .hero {
    display: flex;
    min-height: calc(100vh - var(--header-height));
    min-height: calc(100svh - var(--header-height));
    flex-direction: column;
    overflow: visible;
    aspect-ratio: auto;
    background: var(--soft-blue);
  }

  .hero-track {
    position: relative;
    width: 100%;
    flex: 1;
    min-height: 0;
    aspect-ratio: auto;
  }

  .hero-slide img {
    object-fit: cover;
  }

  .hero::after {
    display: none;
  }

  .hero-arrow {
    top: 50%;
    width: 38px;
    height: 48px;
  }

  .hero-prev {
    left: 0;
  }

  .hero-next {
    right: 0;
  }

  .hero-dots {
    top: auto;
    bottom: 26px;
  }

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

  .proof-item {
    min-height: 126px;
    padding: 28px 24px;
  }

  .proof-item:nth-child(odd) {
    border-right: 1px solid rgba(137, 174, 212, 0.16);
  }

  .proof-item:nth-child(n + 3) {
    border-top: 1px solid rgba(137, 174, 212, 0.16);
  }

  .about-story {
    padding: 36px;
  }

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

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

  .projects-header {
    margin-bottom: 32px;
  }

  .contact-layout {
    grid-template-columns: 1fr;
    gap: 45px;
  }

  .footer-main {
    grid-template-columns: repeat(2, 1fr);
  }

  html:not(.js) .header-inner {
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
    padding-top: 12px;
    padding-bottom: 16px;
  }

  html:not(.js) .primary-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 18px;
  }

}

@media (max-width: 639px) {
  .contact-details {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .container {
    width: min(calc(100% - 30px), var(--container));
  }

  .about-section > .container {
    width: min(calc(100% - 30px), 1152px);
  }

  .products-section > .container {
    width: min(calc(100% - 30px), 1152px);
  }

  .services-section > .container {
    width: min(calc(100% - 30px), 1152px);
  }

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

  .hero-dot {
    width: 22px;
  }

  .hero-dot.is-active {
    width: 38px;
  }

  .post-hero-container {
    width: min(calc(100% - 36px), 1212px);
  }

  .post-hero-intro {
    min-height: auto;
    padding: 62px 0 58px;
  }

  .post-hero-kicker {
    margin-bottom: 16px;
    font-size: 0.75rem;
  }

  .post-hero-copy h2 {
    margin-bottom: 20px;
    font-size: 2.35rem;
  }

  .post-hero-description {
    margin-bottom: 28px;
    font-size: 0.94rem;
  }

  .post-hero-actions {
    align-items: stretch;
    flex-direction: column;
    gap: 12px;
  }

  .post-hero-button {
    width: 100%;
  }

  .proof-item {
    min-height: 116px;
    padding: 24px 14px;
  }

  .proof-item strong {
    font-size: 1.3rem;
  }

  .proof-item span {
    font-size: 0.72rem;
  }

  .section {
    padding: 74px 0;
  }

  .section-heading {
    margin-bottom: 37px;
  }

  .products-heading {
    margin-bottom: 36px;
  }

  .services-heading {
    margin-bottom: 36px;
  }

  .section-heading h2,
  .products-heading h2,
  .services-heading h2,
  .contact-copy h2,
  .mission-content h2 {
    font-size: 2.05rem;
  }

  .about-story,
  .contact-form,
  .location-card {
    padding: 24px;
  }

  .value-grid,
  .brand-grid,
  .services-grid,
  .project-grid,
  .form-row {
    grid-template-columns: 1fr;
  }

  .value-card {
    min-height: auto;
    padding: 22px;
  }

  .brand-card {
    min-height: 225px;
  }

  .brand-logo {
    height: 160px;
  }

  .mission-banner,
  .contact-section {
    padding: 76px 0;
  }

  .service-card {
    min-height: 190px;
    padding: 24px;
  }

  .project-filters {
    width: auto;
    min-width: 0;
  }

  .contact-details strong {
    font-size: 0.76rem;
  }

  .location-section {
    display: flex;
    min-height: 0;
    flex-direction: column;
  }

  .location-card {
    position: relative;
    top: auto;
    bottom: auto;
    left: auto;
    z-index: 1;
    width: calc(100% - 30px);
    margin: 30px auto -30px;
    transform: none;
  }

  .location-section iframe {
    height: 420px;
  }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    padding: 18px 0;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

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