:root {
  color-scheme: dark;
  --bg: #080908;
  --bg-soft: #101210;
  --surface: #161916;
  --surface-2: #20251f;
  --text: #f4f0e8;
  --text-soft: #cfc8bc;
  --muted: #918b82;
  --line: rgba(244, 240, 232, 0.13);
  --accent: #4ade80;
  --accent-rgb: 74, 222, 128;
  --accent-2: #d7f7df;
  --accent-soft: rgba(74, 222, 128, 0.12);
  --radius: 8px;
  --shadow: 0 28px 90px rgba(0, 0, 0, 0.38);
  --header: 72px;
  --container: 1180px;
  --font: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}

body[data-theme="orange"] {
  --accent: #ff8a2a;
  --accent-rgb: 255, 138, 42;
  --accent-2: #ffd1a3;
  --accent-soft: rgba(255, 138, 42, 0.14);
}

body[data-theme="cyan"] {
  --accent: #35d6c8;
  --accent-rgb: 53, 214, 200;
  --accent-2: #b9fff7;
  --accent-soft: rgba(53, 214, 200, 0.14);
}

body[data-theme="blue"] {
  --accent: #63a8ff;
  --accent-rgb: 99, 168, 255;
  --accent-2: #c5ddff;
  --accent-soft: rgba(99, 168, 255, 0.14);
}

body[data-theme="coral"] {
  --accent: #ff6b5f;
  --accent-rgb: 255, 107, 95;
  --accent-2: #ffd1cc;
  --accent-soft: rgba(255, 107, 95, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 104px;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 12% 0%, rgba(var(--accent-rgb), 0.12), transparent 30%),
    linear-gradient(180deg, #080908, #0b0d0b 48%, #080908);
  color: var(--text);
  font-family: var(--font);
  line-height: 1.55;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
  transition: background 500ms ease;
}

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

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

button,
input,
textarea {
  font: inherit;
}

::selection {
  background: var(--accent);
  color: #041007;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: 16px;
  z-index: 999;
  transform: translateY(-150%);
  background: var(--accent);
  color: #041007;
  padding: 10px 14px;
  border-radius: 4px;
  font-weight: 800;
}

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

.scroll-meter {
  position: fixed;
  inset: 0 auto auto 0;
  z-index: 500;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  transform: scaleX(0);
  transform-origin: left;
  transition: background 360ms ease;
}

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

.site-header {
  position: fixed;
  inset: 18px 24px auto;
  z-index: 300;
  height: var(--header);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  padding: 0 18px 0 24px;
  border: 1px solid rgba(244, 240, 232, 0.14);
  border-radius: 999px;
  background: rgba(8, 9, 8, 0.74);
  box-shadow: 0 20px 70px rgba(0, 0, 0, 0.34), 0 0 0 1px rgba(var(--accent-rgb), 0.04);
  backdrop-filter: blur(18px) saturate(140%);
  transition: border-color 300ms ease, box-shadow 300ms ease, background 300ms ease;
}

.brand {
  width: 118px;
}

.brand-logo {
  color: var(--text);
  overflow: visible;
}

.brand-logo-main {
  fill: currentColor;
  stroke: currentColor;
  transform-origin: center;
  transition: fill 360ms ease, stroke 360ms ease, transform 360ms ease, opacity 260ms ease;
}

path.brand-logo-main {
  fill: none;
}

.brand-logo-accent {
  stroke: var(--accent);
  transform-origin: center;
  transition: stroke 360ms ease, transform 360ms ease, opacity 260ms ease;
}

.brand-logo-accent-fill {
  fill: var(--accent);
  transition: fill 360ms ease, transform 360ms ease;
}

.brand-logo-mark {
  animation: logo-mark-breathe 4.6s ease-in-out infinite;
}

.brand-logo-signal {
  stroke-dasharray: 6;
  stroke-dashoffset: 0;
  animation: logo-signal-flow 2.8s ease-in-out infinite;
}

.brand:hover .brand-logo-mark,
.brand:focus-visible .brand-logo-mark {
  animation-duration: 1.45s;
  transform: translateY(-1px) rotate(-1.5deg);
}

.brand:hover .brand-logo-signal,
.brand:focus-visible .brand-logo-signal {
  animation-duration: 0.95s;
  stroke-dashoffset: -12;
  opacity: 1;
  transform: translateX(3px) scaleX(1.16);
}

.brand:hover .brand-logo-accent,
.brand:focus-visible .brand-logo-accent {
  transform: translateX(2px);
}

.brand:hover .brand-logo-accent-fill,
.brand:focus-visible .brand-logo-accent-fill {
  transform: translateY(-1px);
}

@keyframes logo-mark-breathe {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
    opacity: 1;
  }

  50% {
    transform: translateY(-0.7px) rotate(0.7deg);
    opacity: 0.88;
  }
}

@keyframes logo-signal-flow {
  0%,
  100% {
    stroke-dashoffset: 0;
    opacity: 0.78;
    transform: translateX(0) scaleX(1);
  }

  50% {
    stroke-dashoffset: -6;
    opacity: 1;
    transform: translateX(1.6px) scaleX(1.08);
  }
}

.site-nav {
  justify-self: center;
  display: flex;
  gap: 4px;
  padding: 5px;
  border: 1px solid rgba(244, 240, 232, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.035);
}

.site-nav a {
  color: var(--text-soft);
  padding: 10px 12px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  transition: background 180ms ease, color 180ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a.is-active {
  color: var(--text);
  background: rgba(var(--accent-rgb), 0.13);
}

.header-cta,
.button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 5px;
  font-weight: 800;
  line-height: 1;
}

.header-cta,
.button-primary {
  background: var(--accent);
  color: #061108;
  box-shadow: 0 14px 34px rgba(var(--accent-rgb), 0.18);
  transition: background 280ms ease, box-shadow 280ms ease, transform 180ms ease;
}

.header-cta {
  padding: 0 18px;
  font-size: 13px;
}

.button {
  padding: 0 24px;
  border: 1px solid transparent;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

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

.button-secondary {
  border-color: var(--line);
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: transparent;
  padding: 11px;
}

.menu-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--text);
}

.page-controls {
  position: fixed;
  right: 24px;
  top: 50%;
  z-index: 260;
  display: grid;
  gap: 10px;
  transform: translateY(-50%);
}

.page-controls button {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(244, 240, 232, 0.15);
  border-radius: 999px;
  background: rgba(8, 9, 8, 0.68);
  color: var(--text);
  cursor: pointer;
  backdrop-filter: blur(12px);
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.page-controls button:hover,
.page-controls button:focus-visible {
  border-color: rgba(var(--accent-rgb), 0.54);
  background: rgba(var(--accent-rgb), 0.12);
  transform: translateY(-2px);
}

.page-controls svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.page-controls button:disabled {
  opacity: 0.28;
  cursor: default;
  transform: none;
}

.section {
  position: relative;
  min-height: 100vh;
  padding: 124px 0;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: currentColor;
  box-shadow: 0 0 18px rgba(var(--accent-rgb), 0.5);
}

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

h1,
h2,
h3 {
  font-weight: 850;
  line-height: 0.98;
  letter-spacing: -0.02em;
}

h1 {
  max-width: 820px;
  margin-bottom: 28px;
  font-size: 76px;
}

h2 {
  max-width: 840px;
  margin-bottom: 22px;
  font-size: 52px;
}

h3 {
  margin-bottom: 12px;
  font-size: 22px;
}

.hero {
  min-height: 100svh;
  display: grid;
  align-items: end;
  padding: 148px 0 52px;
}

.hero-network {
  position: absolute;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  opacity: 0.74;
  mix-blend-mode: screen;
  pointer-events: none;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -3;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 70% 36%, rgba(var(--accent-rgb), 0.16), transparent 30%),
    linear-gradient(90deg, rgba(8, 9, 8, 0.97), rgba(8, 9, 8, 0.78) 46%, rgba(8, 9, 8, 0.28)),
    linear-gradient(0deg, rgba(8, 9, 8, 0.96), transparent 34%);
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.92) contrast(1.08);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 44px;
  align-items: end;
}

.hero-copy,
.section-copy p,
.section-heading p,
.contact-grid > div > p {
  max-width: 660px;
  color: var(--text-soft);
  font-size: 18px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.hero-panel {
  position: relative;
  overflow: hidden;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(8, 9, 8, 0.68);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
  transition: transform 260ms ease, border-color 260ms ease, box-shadow 260ms ease;
}

.hero-panel::before {
  content: "";
  position: absolute;
  inset: -1px auto -1px -1px;
  width: 3px;
  background: var(--accent);
  opacity: 0.75;
  transform: scaleY(0.28);
  transform-origin: bottom;
  transition: transform 320ms ease, opacity 320ms ease;
}

.hero-panel:hover {
  border-color: rgba(var(--accent-rgb), 0.44);
  box-shadow: var(--shadow), 0 0 34px rgba(var(--accent-rgb), 0.12);
  transform: translateY(-3px);
}

.hero-panel:hover::before {
  opacity: 1;
  transform: scaleY(1);
}

.hero-panel p,
.hero-panel span {
  color: var(--text-soft);
}

.hero-panel strong {
  display: block;
  margin: 8px 0 12px;
  color: var(--text);
  font-size: 42px;
  line-height: 1;
}

.metric-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin-top: 70px;
  border: 1px solid var(--line);
  background: var(--line);
}

.metric-strip div {
  position: relative;
  overflow: hidden;
  padding: 22px;
  background: rgba(8, 9, 8, 0.76);
  backdrop-filter: blur(10px);
  transition: background 240ms ease, transform 240ms ease;
}

.metric-strip div::after {
  content: "";
  position: absolute;
  inset: auto 20px 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0;
  transform: scaleX(0.3);
  transition: opacity 240ms ease, transform 240ms ease;
}

.metric-strip div:hover {
  background: rgba(var(--accent-rgb), 0.08);
  transform: translateY(-2px);
}

.metric-strip div:hover::after {
  opacity: 1;
  transform: scaleX(1);
}

.metric-strip dt {
  color: var(--text);
  font-size: 32px;
  font-weight: 900;
}

.metric-strip dd {
  margin: 6px 0 0;
  color: var(--text-soft);
  font-size: 14px;
}

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(360px, 1fr);
  gap: 64px;
  align-items: center;
}

.two-column.reverse {
  grid-template-columns: minmax(360px, 1fr) minmax(0, 0.85fr);
}

.photo-card {
  position: relative;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  background: var(--surface);
  box-shadow: var(--shadow);
  isolation: isolate;
}

.photo-card img {
  width: 100%;
  height: 560px;
  object-fit: cover;
  transform: scale(1.02);
  transition: transform 700ms ease, filter 700ms ease;
}

.photo-card.wide img {
  height: 520px;
}

.section-with-media {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(340px, 0.72fr);
  gap: 56px;
  align-items: end;
  margin-bottom: 42px;
}

.section-with-media .section-heading {
  margin: 0;
}

.section-photo img {
  height: 360px;
}

.contact-photo {
  margin-top: 30px;
}

.contact-photo img {
  height: 260px;
}

.photo-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(120deg, transparent 0 38%, rgba(255, 255, 255, 0.16) 48%, transparent 58%),
    radial-gradient(circle at 24% 18%, rgba(var(--accent-rgb), 0.2), transparent 32%);
  opacity: 0;
  transform: translateX(-24%);
  transition: opacity 320ms ease, transform 700ms ease;
  mix-blend-mode: screen;
}

.photo-card::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  z-index: 2;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity 260ms ease, transform 700ms ease;
}

.photo-card:hover img {
  transform: scale(1.07);
  filter: saturate(1.08) contrast(1.08);
}

.photo-card:hover::before {
  opacity: 1;
  transform: translateX(22%);
}

.photo-card:hover::after {
  opacity: 1;
  transform: translateY(560px);
}

.product-photo {
  clip-path: inset(0 round 10px);
}

.product-photo figcaption {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  z-index: 3;
  margin: 0;
  padding: 14px 16px;
  border: 1px solid rgba(244, 240, 232, 0.16);
  border-radius: 6px;
  background: rgba(8, 9, 8, 0.68);
  color: var(--text-soft);
  font-size: 14px;
  backdrop-filter: blur(12px);
}

.capability-grid,
.process-board,
.service-grid,
.case-grid,
.step-grid,
.people-grid,
.contact-grid {
  display: grid;
  gap: 18px;
}

.capability-grid {
  grid-template-columns: repeat(3, 1fr);
  margin-top: 42px;
}

.process-board,
.step-grid {
  grid-template-columns: repeat(4, 1fr);
}

.service-grid,
.case-grid,
.people-grid {
  grid-template-columns: repeat(3, 1fr);
  margin-top: 44px;
}

.people-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 860px;
  margin-top: 0;
}

.capability-grid article,
.process-board article,
.service-grid article,
.case-grid article,
.step-grid li,
.profile-card,
.contact-form {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(22, 25, 22, 0.84);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.capability-grid article,
.process-board article,
.service-grid article,
.case-grid article,
.step-grid li,
.profile-card {
  overflow: hidden;
  padding: 28px;
  transition: transform 260ms ease, border-color 260ms ease, background 260ms ease, box-shadow 260ms ease, padding 260ms ease;
}

.capability-grid article h3,
.process-board article h3,
.service-grid article h3,
.case-grid article h3,
.step-grid li h3 {
  transition: transform 260ms ease, color 260ms ease;
}

.capability-grid article:hover,
.process-board article:hover,
.service-grid article:hover,
.case-grid article:hover,
.step-grid li:hover {
  border-color: rgba(var(--accent-rgb), 0.42);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.28), 0 0 28px rgba(var(--accent-rgb), 0.08);
}

.capability-grid article:hover h3,
.process-board article:hover h3,
.service-grid article:hover h3,
.case-grid article:hover h3,
.step-grid li:hover h3 {
  color: var(--text);
  transform: translateY(-2px);
}

.capability-grid p,
.process-board p,
.service-grid p,
.case-grid span,
.step-grid p {
  color: var(--text-soft);
}

.process-board span,
.service-grid span,
.case-grid p,
.step-grid strong {
  display: block;
  margin-bottom: 18px;
  color: var(--accent);
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.automation-section {
  --accent: #35d6c8;
  --accent-rgb: 53, 214, 200;
  --accent-2: #b9fff7;
  --accent-soft: rgba(53, 214, 200, 0.14);
  background:
    radial-gradient(circle at 78% 18%, rgba(var(--accent-rgb), 0.11), transparent 28%),
    rgba(255, 255, 255, 0.015);
}

.work-section,
.digital-section {
  --accent: #ff8a2a;
  --accent-rgb: 255, 138, 42;
  --accent-2: #ffd1a3;
  --accent-soft: rgba(255, 138, 42, 0.14);
  background:
    radial-gradient(circle at 18% 20%, rgba(var(--accent-rgb), 0.11), transparent 28%),
    rgba(255, 255, 255, 0.01);
}

.cases-section {
  --accent: #63a8ff;
  --accent-rgb: 99, 168, 255;
  --accent-2: #c5ddff;
  --accent-soft: rgba(99, 168, 255, 0.14);
}

.process-section {
  --accent: #ff8a2a;
  --accent-rgb: 255, 138, 42;
  --accent-2: #ffd1a3;
  --accent-soft: rgba(255, 138, 42, 0.14);
}

.people-section {
  --accent: #63a8ff;
  --accent-rgb: 99, 168, 255;
  --accent-2: #c5ddff;
  --accent-soft: rgba(99, 168, 255, 0.14);
  display: grid;
  align-content: center;
  gap: 44px;
  background:
    radial-gradient(circle at 76% 18%, rgba(var(--accent-rgb), 0.11), transparent 30%),
    rgba(255, 255, 255, 0.012);
}

.contact-section {
  --accent: #ff6b5f;
  --accent-rgb: 255, 107, 95;
  --accent-2: #ffd1cc;
  --accent-soft: rgba(255, 107, 95, 0.14);
}

.capability-grid article:hover {
  background: linear-gradient(180deg, rgba(var(--accent-rgb), 0.1), rgba(22, 25, 22, 0.88));
  transform: translateY(-6px);
}

.capability-grid article::after {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 2px;
  background: var(--accent);
  opacity: 0;
  transform: scaleX(0.2);
  transform-origin: left;
  transition: opacity 260ms ease, transform 260ms ease;
}

.capability-grid article:hover::after {
  opacity: 1;
  transform: scaleX(1);
}

.process-board article::before {
  content: "";
  position: absolute;
  inset: 24px auto 24px 0;
  width: 3px;
  border-radius: 999px;
  background: var(--accent);
  opacity: 0;
  transform: scaleY(0.25);
  transform-origin: top;
  transition: opacity 260ms ease, transform 320ms ease;
}

.process-board article:hover {
  transform: translateX(5px);
}

.process-board article:hover::before {
  opacity: 1;
  transform: scaleY(1);
}

.service-grid article::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 0 40%, rgba(255, 255, 255, 0.09) 50%, transparent 60%);
  opacity: 0;
  transform: translateX(-35%);
  transition: opacity 260ms ease, transform 620ms ease;
}

.service-grid article:hover {
  transform: translateY(-4px) scale(1.01);
}

.service-grid article:hover::before {
  opacity: 1;
  transform: translateX(35%);
}

.case-grid article::before {
  content: "";
  position: absolute;
  inset: 18px auto 18px 18px;
  width: 1px;
  background: linear-gradient(180deg, transparent, var(--accent), transparent);
  opacity: 0;
  transform: scaleY(0.35);
  transition: opacity 260ms ease, transform 320ms ease;
}

.case-grid article:hover {
  transform: translateY(-4px);
  padding-left: 34px;
}

.case-grid article:hover::before {
  opacity: 1;
  transform: scaleY(1);
}

.step-grid li::before {
  content: "";
  position: absolute;
  right: 18px;
  top: 18px;
  width: 52px;
  height: 52px;
  border: 1px solid rgba(var(--accent-rgb), 0.22);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(var(--accent-rgb), 0.12), transparent 62%);
  opacity: 0;
  transform: scale(0.76) rotate(-12deg);
  transition: opacity 260ms ease, transform 320ms ease;
}

.step-grid li:hover {
  transform: translateY(-5px);
}

.step-grid li:hover::before {
  opacity: 1;
  transform: scale(1) rotate(0deg);
}

.people-heading {
  max-width: 920px;
  margin-inline: auto;
  text-align: left;
}

.people-heading p:not(.eyebrow) {
  max-width: 720px;
  color: var(--text-soft);
  font-size: 18px;
}

.profile-card {
  min-height: 330px;
  display: grid;
  align-content: start;
  border-color: rgba(244, 240, 232, 0.16);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.01) 42%, rgba(var(--accent-rgb), 0.055)),
    rgba(12, 15, 14, 0.88);
  color: inherit;
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.34);
}

.profile-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, rgba(var(--accent-rgb), 0.2), transparent 42%),
    radial-gradient(circle at 84% 10%, rgba(var(--accent-rgb), 0.24), transparent 26%);
  opacity: 0;
  transition: opacity 260ms ease, transform 420ms ease;
  transform: translateY(10px);
}

.profile-card::after {
  content: "";
  position: absolute;
  inset: auto 28px 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, #0a66c2, var(--accent), transparent);
  opacity: 0.72;
  transform: scaleX(0.28);
  transform-origin: left;
  transition: transform 260ms ease, opacity 260ms ease;
}

.profile-card:hover,
.profile-card:focus-visible {
  border-color: rgba(99, 168, 255, 0.62);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.012) 42%, rgba(var(--accent-rgb), 0.09)),
    rgba(12, 15, 14, 0.92);
  box-shadow: 0 34px 110px rgba(0, 0, 0, 0.42), 0 0 42px rgba(99, 168, 255, 0.13);
  transform: translateY(-7px);
  outline: none;
}

.profile-card:hover::before,
.profile-card:focus-visible::before {
  opacity: 1;
  transform: translateY(0);
}

.profile-card:hover::after,
.profile-card:focus-visible::after {
  opacity: 1;
  transform: scaleX(1);
}

.profile-card-top {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 34px;
}

.profile-mark {
  position: relative;
  z-index: 1;
  width: 66px;
  height: 66px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(99, 168, 255, 0.44);
  border-radius: 50%;
  background:
    radial-gradient(circle at 30% 22%, rgba(255, 255, 255, 0.2), transparent 34%),
    rgba(99, 168, 255, 0.15);
  color: #d7e8ff;
  font-size: 18px;
  font-weight: 900;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.05), 0 18px 34px rgba(0, 0, 0, 0.22);
  overflow: hidden;
}

.profile-mark img {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.profile-mark img + span {
  opacity: 0;
}

.linkedin-badge {
  position: relative;
  z-index: 1;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 6px;
  background: #0a66c2;
  color: #fff;
  font-size: 20px;
  font-weight: 900;
  line-height: 1;
  box-shadow: 0 16px 38px rgba(10, 102, 194, 0.25);
}

.profile-role,
.profile-card strong,
.profile-copy,
.profile-link {
  position: relative;
  z-index: 1;
}

.profile-role {
  display: block;
  margin-bottom: 14px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.profile-card strong {
  display: block;
  color: var(--text);
  font-size: 32px;
  font-weight: 900;
  line-height: 1;
}

.profile-copy {
  display: block;
  max-width: 440px;
  margin-top: 18px;
  color: var(--text-soft);
  font-size: 15px;
}

.profile-link {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  gap: 8px;
  min-height: 46px;
  margin-top: 28px;
  padding: 0 18px;
  border: 1px solid rgba(99, 168, 255, 0.38);
  border-radius: 5px;
  color: var(--text);
  font-size: 14px;
  font-weight: 800;
  background: rgba(10, 102, 194, 0.08);
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.profile-card:hover .profile-link,
.profile-card:focus-visible .profile-link {
  border-color: rgba(99, 168, 255, 0.78);
  background: #0a66c2;
  color: #fff;
  transform: translateY(-2px);
}

.contact-form:hover {
  border-color: rgba(var(--accent-rgb), 0.34);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.28), 0 0 30px rgba(var(--accent-rgb), 0.08);
}

.contact-grid {
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1fr);
  gap: 72px;
  align-items: start;
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: 30px;
  transition: border-color 260ms ease, box-shadow 260ms ease;
}

.contact-form label {
  display: grid;
  gap: 7px;
}

.contact-form span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: #101310;
  color: var(--text);
  padding: 14px 15px;
  outline: none;
  transition: border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(var(--accent-rgb), 0.12);
}

.contact-form label.is-invalid span {
  color: #ff8f80;
}

.contact-form label.is-invalid input,
.contact-form label.is-invalid textarea {
  border-color: #ff6b5f;
  background: rgba(255, 107, 95, 0.08);
  box-shadow: 0 0 0 4px rgba(255, 107, 95, 0.12);
}

.contact-form textarea {
  min-height: 118px;
  resize: vertical;
}

.form-note {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  text-align: center;
  transition: color 180ms ease;
}

.form-note.is-error {
  color: #ff9f92;
}

.site-footer {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 28px 40px;
  color: var(--muted);
}

.site-footer p,
.site-footer small {
  margin: 0;
  font-size: 13px;
}

.wa-float {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 220;
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 14px 36px rgba(var(--accent-rgb), 0.28);
}

.wa-float svg {
  width: 27px;
  height: 27px;
  fill: #041007;
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: auto auto;
    justify-content: space-between;
    inset: 10px 14px auto;
    padding: 0 16px;
  }

  .menu-toggle {
    display: block;
  }

  .site-nav,
  .header-cta,
  .page-controls {
    display: none;
  }

  .site-header.is-open .site-nav {
    position: absolute;
    inset: calc(var(--header) + 10px) 0 auto;
    display: grid;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #101310;
  }

  .hero-grid,
  .two-column,
  .two-column.reverse,
  .section-with-media,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  h1 {
    font-size: 58px;
  }

  h2 {
    font-size: 42px;
  }

  .metric-strip,
  .process-board,
  .step-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .capability-grid,
  .service-grid,
  .case-grid,
  .people-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 32px, var(--container));
  }

  .section {
    padding: 86px 0;
  }

  .hero {
    padding-top: 128px;
  }

  h1 {
    font-size: 42px;
  }

  h2 {
    font-size: 34px;
  }

  .hero-copy,
  .section-copy p,
  .section-heading p,
  .contact-grid > div > p {
    font-size: 16px;
  }

  .button {
    width: 100%;
  }

  .metric-strip,
  .process-board,
  .step-grid {
    grid-template-columns: 1fr;
  }

  .photo-card img,
  .photo-card.wide img,
  .section-photo img {
    height: 320px;
  }

  .contact-photo img {
    height: 240px;
  }

  .photo-card:hover::after {
    transform: translateY(320px);
  }

  .site-footer {
    grid-template-columns: 1fr;
    padding: 28px 16px 92px;
  }
}

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