:root {
  --bg: #eef1f3;
  --surface: #fafbfc;
  --surface-soft: #e1e6e9;
  --ink: #111c28;
  --ink-rgb: 17, 28, 40;
  --muted: #5e6b75;
  --deep: #08131d;
  --deep-2: #112536;
  --lime: #b68b55;
  --lime-strong: #936637;
  --gold-rgb: 182, 139, 85;
  --blue: #234b64;
  --blue-rgb: 35, 75, 100;
  --blue-soft: #dbe6eb;
  --line: rgba(17, 28, 40, 0.15);
  --line-light: rgba(255, 255, 255, 0.14);
  --shadow: 0 24px 70px rgba(8, 18, 25, 0.14);
  --header-bg: rgba(250, 251, 252, 0.86);
  --radius-lg: 22px;
  --radius-md: 14px;
  --radius-sm: 9px;
  --max: 1220px;
}

html[data-theme="dark"] {
  --bg: #0b141d;
  --surface: #14212c;
  --surface-soft: #1b2a35;
  --ink: #edf2f4;
  --ink-rgb: 237, 242, 244;
  --muted: #a9b5bd;
  --deep: #050d14;
  --deep-2: #0e202d;
  --blue: #8cabbc;
  --blue-rgb: 140, 171, 188;
  --blue-soft: #1d3442;
  --line: rgba(222, 232, 237, 0.14);
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
  --header-bg: rgba(11, 20, 29, 0.88);
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: "Avenir Next", Avenir, Inter, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
}

body.menu-open {
  overflow: hidden;
}

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

button,
input,
textarea {
  font: inherit;
}

button {
  color: inherit;
}

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

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

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

[hidden] {
  display: none !important;
}

::selection {
  color: #071217;
  background: var(--lime);
}

.scroll-progress {
  position: fixed;
  z-index: 90;
  top: 0;
  right: 0;
  left: 0;
  height: 3px;
  background: transparent;
  pointer-events: none;
}

.scroll-progress span {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, var(--blue), var(--lime));
  box-shadow: 0 0 16px rgba(var(--gold-rgb), 0.42);
  transform: scaleX(0);
  transform-origin: left;
  will-change: transform;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 12px 16px;
  color: #071217;
  background: var(--lime);
  border-radius: 10px;
  transform: translateY(-150%);
  transition: transform 180ms ease;
}

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

:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 4px;
}

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

.section {
  padding: 128px 0;
}

.section-dark {
  color: #edf2f4;
  background: linear-gradient(145deg, var(--deep), var(--deep-2));
}

.section-soft {
  background: var(--surface-soft);
}

.site-header {
  position: fixed;
  z-index: 40;
  top: 16px;
  left: 50%;
  width: min(calc(100% - 32px), 1260px);
  background: var(--header-bg);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(8, 18, 25, 0.1);
  backdrop-filter: blur(18px) saturate(140%);
  transform: translateX(-50%);
  transition: top 220ms ease, box-shadow 220ms ease;
}

.site-header.is-scrolled {
  top: 8px;
  box-shadow: 0 14px 44px rgba(8, 18, 25, 0.16);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 70px;
  padding: 8px 10px 8px 14px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 220px;
}

.brand-mark {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  color: #0b1b22;
  background: var(--lime);
  border-radius: 8px;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.brand-copy strong,
.brand-copy small {
  display: block;
}

.brand-copy strong {
  font-size: 14px;
  line-height: 1.2;
}

.brand-copy small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.desktop-nav a {
  position: relative;
}

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

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

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.icon-button {
  display: grid;
  width: 44px;
  height: 44px;
  padding: 0;
  place-items: center;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 12px;
  cursor: pointer;
}

.theme-icon {
  position: relative;
  width: 18px;
  height: 18px;
  border: 2px solid var(--ink);
  border-radius: 50%;
}

.theme-icon::after {
  position: absolute;
  inset: -4px -4px -4px 50%;
  content: "";
  background: var(--header-bg);
  border-radius: 0 999px 999px 0;
}

.header-cta {
  display: inline-flex;
  min-height: 44px;
  padding: 0 18px;
  align-items: center;
  justify-content: center;
  color: #0a1a20;
  background: var(--lime);
  border-radius: 12px;
  font-size: 14px;
  font-weight: 850;
  transition: transform 180ms ease, background 180ms ease;
}

.header-cta:hover {
  background: var(--lime-strong);
  transform: translateY(-2px);
}

.menu-toggle {
  display: none;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ink);
  transition: transform 180ms ease;
}

.menu-toggle span + span {
  margin-top: 5px;
}

.menu-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(3.5px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-3.5px) rotate(-45deg);
}

.mobile-menu {
  display: grid;
  gap: 4px;
  padding: 4px 12px 16px;
}

.mobile-menu a {
  padding: 14px 12px;
  border-top: 1px solid var(--line);
  font-weight: 750;
}

.hero {
  position: relative;
  min-height: 100svh;
  padding: 150px 0 48px;
  overflow: hidden;
  background: #e7ecef;
  isolation: isolate;
}

.hero::before {
  position: absolute;
  z-index: -2;
  inset: 0;
  content: "";
  background:
    linear-gradient(90deg, rgba(242, 245, 247, 0.98) 0%, rgba(242, 245, 247, 0.93) 39%, rgba(229, 235, 238, 0.58) 65%, rgba(232, 237, 240, 0.78) 100%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(238, 241, 243, 0.96) 96%),
    url("./assets/hero-business-background-brutal-v3.jpg") center / cover no-repeat;
  filter: saturate(0.86) contrast(1.03);
}

.hero::after {
  position: absolute;
  z-index: -1;
  inset: 0;
  content: "";
  background:
    radial-gradient(circle at 80% 25%, rgba(var(--gold-rgb), 0.12), transparent 30%),
    linear-gradient(90deg, transparent 0%, rgba(var(--ink-rgb), 0.035) 1px, transparent 1px);
  background-size: auto, 54px 100%;
  mask-image: linear-gradient(90deg, transparent, #000 54%, #000 92%, transparent);
}

html[data-theme="dark"] .hero {
  background: var(--bg);
}

html[data-theme="dark"] .hero::before {
  background:
    linear-gradient(90deg, rgba(8, 19, 29, 0.98) 0%, rgba(8, 19, 29, 0.92) 42%, rgba(8, 19, 29, 0.62) 70%, rgba(8, 19, 29, 0.82) 100%),
    linear-gradient(180deg, rgba(8, 19, 29, 0.12), rgba(8, 19, 29, 0.96) 96%),
    url("./assets/hero-business-background-brutal-v3.jpg") center / cover no-repeat;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.14fr) minmax(390px, 0.86fr);
  gap: 84px;
  align-items: center;
}

.hero-copy {
  padding: 24px 0;
}

.availability {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 34px;
  padding: 8px 12px;
  color: var(--muted);
  background: var(--surface);
  background: color-mix(in srgb, var(--surface) 78%, transparent);
  border: 1px solid var(--line);
  border-radius: 999px;
  backdrop-filter: blur(12px);
  font-size: 13px;
  font-weight: 700;
}

.status-dot {
  width: 8px;
  height: 8px;
  background: var(--lime-strong);
  border-radius: 50%;
  box-shadow: 0 0 0 5px rgba(var(--gold-rgb), 0.16);
}

.kicker,
.section-index {
  margin: 0 0 16px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 780px;
  margin: 0;
  font-size: clamp(48px, 5.25vw, 76px);
  font-weight: 780;
  letter-spacing: -0.055em;
  line-height: 0.98;
}

.hero h1 em {
  color: var(--blue);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
}

.hero-lead {
  max-width: 700px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: clamp(18px, 1.7vw, 21px);
  line-height: 1.55;
}

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

.button {
  display: inline-flex;
  min-height: 56px;
  padding: 0 22px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: 1px solid transparent;
  border-radius: 9px;
  font-weight: 850;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

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

.button-primary {
  color: #172235;
  background: var(--lime);
  box-shadow: 0 12px 30px rgba(var(--gold-rgb), 0.25);
}

.button-primary:hover {
  background: var(--lime-strong);
  box-shadow: 0 16px 36px rgba(var(--gold-rgb), 0.32);
}

.button-secondary {
  background: var(--surface);
  border-color: var(--line);
}

.resume-alt {
  display: inline-flex;
  margin-top: 16px;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
  font-size: 13px;
  font-weight: 700;
}

.portrait-composition {
  position: relative;
  min-height: 570px;
}

.portrait-grid {
  position: absolute;
  top: 24px;
  right: 8px;
  width: 84%;
  height: 86%;
  background: #203746;
  border: 1px solid #6e899a;
  border-radius: 12px;
}

.portrait-grid::before {
  position: absolute;
  inset: 22px;
  content: "";
  border: 1px solid rgba(183, 203, 215, 0.15);
  border-radius: inherit;
}

.portrait-frame {
  position: absolute;
  z-index: 2;
  inset: 0 28px 70px 12px;
  overflow: hidden;
  background: #122633;
  border: 14px solid #122633;
  border-radius: 12px;
  outline: 1px solid #78909e;
  box-shadow: 0 24px 60px rgba(8, 22, 33, 0.23);
  transform: perspective(1100px) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg));
  transform-style: preserve-3d;
  transition: transform 180ms ease-out;
  will-change: transform;
}

.portrait-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 32%;
  border-radius: 3px;
}

.portrait-frame::after {
  position: absolute;
  inset: 0;
  content: "";
  box-shadow: inset 0 0 0 1px rgba(207, 221, 230, 0.28);
  pointer-events: none;
}

.portrait-note {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 13px;
  min-width: 176px;
  padding: 16px 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: 0 16px 42px rgba(8, 18, 25, 0.17);
}

.portrait-note span {
  color: var(--blue);
  font-size: 30px;
  font-weight: 900;
  line-height: 1;
}

.portrait-note small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
  line-height: 1.35;
}

.portrait-note-top {
  bottom: 154px;
  left: -42px;
}

.portrait-note-bottom {
  right: -20px;
  bottom: 40px;
}

.portrait-note .note-symbol {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: #0b1c22;
  background: var(--lime);
  border-radius: 8px;
  font-size: 24px;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 46px;
  background: var(--surface);
  background: color-mix(in srgb, var(--surface) 91%, transparent);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
  overflow: hidden;
}

.hero-metrics article {
  min-height: 126px;
  padding: 24px;
  border-right: 1px solid var(--line);
}

.hero-metrics article:last-child {
  border-right: 0;
}

.hero-metrics strong {
  display: block;
  color: var(--blue);
  font-size: clamp(26px, 2.8vw, 38px);
  letter-spacing: -0.04em;
  line-height: 1.1;
}

.hero-metrics span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 650;
  line-height: 1.35;
}

.profile-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(500px, 1.2fr);
  gap: 100px;
}

.section-intro h2,
.section-heading h2,
.workflow-head h2,
.experience-aside h2,
.education-intro h2,
.contact-copy h2 {
  margin: 0;
  font-size: clamp(38px, 4.2vw, 60px);
  letter-spacing: -0.05em;
  line-height: 1.02;
}

.lead-paragraph {
  margin: 0;
  color: var(--muted);
  font-size: clamp(21px, 2vw, 27px);
  line-height: 1.48;
}

.profile-principles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 44px;
}

.profile-principles article {
  padding: 22px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}

.profile-principles span {
  color: var(--blue);
  font-size: 12px;
  font-weight: 900;
}

.profile-principles h3 {
  margin: 28px 0 8px;
  font-size: 18px;
  line-height: 1.2;
}

.profile-principles p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.section-dark .section-index {
  color: var(--lime);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.42fr);
  gap: 80px;
  align-items: end;
  margin-bottom: 58px;
}

.section-heading p:last-child {
  margin: 0;
  color: rgba(244, 247, 244, 0.62);
  font-size: 17px;
}

.competencies .section-heading p:last-child {
  color: var(--muted);
}

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

.case-card {
  position: relative;
  min-height: 410px;
  padding: 30px;
  overflow: hidden;
  background: var(--deep-2);
  border: 1px solid var(--line-light);
  border-radius: var(--radius-md);
}

.case-card::after {
  position: absolute;
  right: -90px;
  bottom: -100px;
  width: 260px;
  height: 260px;
  content: "";
  background: radial-gradient(circle, rgba(var(--blue-rgb), 0.24), transparent 66%);
  pointer-events: none;
}

.case-featured {
  grid-column: 1 / -1;
  min-height: 510px;
  padding: 38px;
  background:
    linear-gradient(120deg, rgba(var(--blue-rgb), 0.15), transparent 42%),
    var(--deep-2);
}

.case-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line-light);
}

.case-number {
  color: var(--lime);
  font-size: 13px;
  font-weight: 900;
}

.case-type {
  color: rgba(244, 247, 244, 0.5);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-align: right;
  text-transform: uppercase;
}

.case-featured-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 68px;
  align-items: center;
  padding-top: 40px;
}

.case-card h3 {
  max-width: 780px;
  margin: 34px 0 0;
  font-size: clamp(30px, 3.2vw, 48px);
  letter-spacing: -0.045em;
  line-height: 1.04;
}

.case-featured h3 {
  margin-top: 0;
}

.case-card > p,
.case-featured-layout > div > p {
  max-width: 720px;
  margin: 20px 0 0;
  color: rgba(244, 247, 244, 0.66);
  font-size: 17px;
}

.case-result {
  display: grid;
  gap: 5px;
  margin-top: 28px;
  padding-left: 18px;
  border-left: 3px solid var(--lime);
}

.case-result span {
  color: rgba(244, 247, 244, 0.48);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.case-result strong {
  max-width: 620px;
  font-size: 18px;
  line-height: 1.35;
}

.text-link {
  display: inline-flex;
  gap: 10px;
  margin-top: 28px;
  color: var(--lime);
  border-bottom: 1px solid rgba(var(--gold-rgb), 0.44);
  font-weight: 800;
}

.technical-card {
  position: relative;
  display: grid;
  padding: 28px;
  background: rgba(7, 18, 23, 0.72);
  border: 1px solid var(--line-light);
  border-radius: 12px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
}

.technical-card p {
  margin: 0 0 24px;
  color: var(--lime);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12px;
  text-transform: uppercase;
}

.technical-card strong {
  padding: 11px 0;
  border-top: 1px solid var(--line-light);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 16px;
  font-weight: 650;
}

.system-line {
  display: flex;
  gap: 8px;
  margin-top: 26px;
}

.system-line span {
  width: 9px;
  height: 9px;
  background: var(--blue);
  border-radius: 50%;
}

.system-line span:nth-child(2) { background: var(--lime); }
.system-line span:nth-child(3) { background: #9f7447; }

.case-stat {
  position: absolute;
  right: 30px;
  bottom: 28px;
  left: 30px;
  display: flex;
  align-items: end;
  gap: 14px;
  padding-top: 20px;
  border-top: 1px solid var(--line-light);
}

.case-stat strong {
  color: var(--lime);
  font-size: 58px;
  letter-spacing: -0.06em;
  line-height: 0.85;
}

.case-stat span {
  max-width: 120px;
  color: rgba(244, 247, 244, 0.6);
  font-size: 12px;
  line-height: 1.3;
}

.case-lifecore {
  background:
    radial-gradient(circle at 88% 10%, rgba(var(--gold-rgb), 0.2), transparent 28%),
    var(--deep-2);
}

.case-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 24px;
}

.case-tags li {
  padding: 7px 10px;
  color: rgba(244, 247, 244, 0.74);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line-light);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 750;
}

.case-proof {
  position: absolute;
  right: 30px;
  bottom: 28px;
  display: grid;
  text-align: right;
}

.case-proof strong {
  color: var(--lime);
  font-size: 31px;
  letter-spacing: -0.05em;
}

.case-proof span {
  color: rgba(244, 247, 244, 0.5);
  font-size: 11px;
}

.deal-line {
  position: absolute;
  right: 30px;
  bottom: 32px;
  left: 30px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(244, 247, 244, 0.5);
  font-size: 11px;
  font-weight: 750;
}

.deal-line i {
  min-width: 8px;
  height: 1px;
  flex: 1;
  background: var(--line-light);
}

.deal-line strong {
  color: var(--lime);
}

.workflow-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 60px;
  margin-bottom: 54px;
}

.workflow-head h2 {
  max-width: 760px;
}

.workflow-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.workflow-step {
  min-height: 300px;
  padding: 26px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.workflow-step:hover {
  border-color: rgba(var(--blue-rgb), 0.38);
  box-shadow: var(--shadow);
  transform: translateY(-7px);
}

.workflow-step > span {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: #0b1b22;
  background: var(--lime);
  border-radius: 12px;
  font-size: 12px;
  font-weight: 900;
}

.workflow-step h3 {
  margin: 70px 0 12px;
  font-size: 25px;
  letter-spacing: -0.03em;
}

.workflow-step p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.experience-layout {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 90px;
  align-items: start;
}

.experience-aside {
  position: sticky;
  top: 120px;
}

.experience-aside p:last-child {
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 17px;
}

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

.timeline-item {
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr);
  gap: 32px;
  padding: 34px 0 42px;
  border-bottom: 1px solid var(--line);
}

.timeline-period {
  color: var(--blue);
  font-size: 13px;
  font-weight: 850;
}

.timeline-title {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(220px, 1fr);
  gap: 24px;
  align-items: start;
}

.timeline-title h3 {
  margin: 0;
  font-size: 24px;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.timeline-title span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 750;
}

.timeline-content > p {
  margin: 18px 0 0;
  color: var(--muted);
}

.timeline-content ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.timeline-content li {
  padding: 7px 10px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 750;
}

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

.competency-card {
  min-height: 360px;
  padding: 32px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: 0 8px 30px rgba(8, 18, 25, 0.07);
}

.competency-label {
  display: inline-flex;
  padding: 7px 10px;
  color: var(--blue);
  background: var(--blue-soft);
  border-radius: 8px;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.competency-card h3 {
  margin: 34px 0 22px;
  font-size: 30px;
  letter-spacing: -0.035em;
}

.competency-card li {
  position: relative;
  padding: 11px 0 11px 22px;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.competency-card li::before {
  position: absolute;
  top: 20px;
  left: 2px;
  width: 7px;
  height: 7px;
  content: "";
  background: var(--lime-strong);
  border-radius: 50%;
}

.education-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(480px, 1.2fr);
  gap: 100px;
  align-items: start;
}

.education-intro p:last-child {
  margin: 26px 0 0;
  color: rgba(244, 247, 244, 0.6);
  font-size: 17px;
}

.education-list {
  border-top: 1px solid var(--line-light);
}

.education-item {
  display: grid;
  grid-template-columns: 70px minmax(0, 1fr);
  gap: 24px;
  padding: 26px 0;
  border-bottom: 1px solid var(--line-light);
}

.education-item > span {
  color: var(--lime);
  font-size: 12px;
  font-weight: 850;
}

.education-item strong {
  font-size: 20px;
}

.education-item p {
  margin: 5px 0 0;
  color: rgba(244, 247, 244, 0.56);
}

.contact {
  padding-bottom: 72px;
}

.contact-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 430px;
  gap: 90px;
  padding: 64px;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.contact-card::before {
  position: absolute;
  top: -160px;
  left: -120px;
  width: 440px;
  height: 440px;
  content: "";
  background: radial-gradient(circle, rgba(var(--gold-rgb), 0.16), transparent 68%);
  pointer-events: none;
}

.contact-copy,
.contact-panel {
  position: relative;
  z-index: 1;
}

.contact-copy p:last-child {
  max-width: 690px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 18px;
}

.contact-panel {
  align-self: center;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
}

.contact-line,
.copy-button {
  display: grid;
  grid-template-columns: 70px minmax(0, 1fr) 24px;
  gap: 14px;
  align-items: center;
  width: 100%;
  min-height: 76px;
  padding: 12px 18px;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  cursor: pointer;
  text-align: left;
}

.contact-line span,
.copy-button span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.contact-line strong {
  font-size: 15px;
}

.contact-line i,
.copy-button i {
  font-style: normal;
  text-align: right;
}

.copy-button {
  border-bottom: 0;
}

.copy-button span {
  grid-column: 1 / 3;
}

.copy-button i {
  color: var(--blue);
  font-size: 11px;
  font-weight: 850;
}

.contact-line:hover,
.copy-button:hover {
  background: rgba(var(--ink-rgb), 0.045);
}

.site-footer {
  padding: 28px 0 42px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 40px;
  align-items: center;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}

.footer-inner strong,
.footer-inner div span {
  display: block;
}

.footer-inner strong {
  color: var(--ink);
  font-size: 14px;
}

.footer-inner p {
  margin: 0;
}

.footer-inner a {
  color: var(--ink);
  font-weight: 800;
}

.toast {
  position: fixed;
  z-index: 80;
  right: 24px;
  bottom: 24px;
  max-width: 320px;
  padding: 14px 18px;
  color: #071217;
  background: var(--lime);
  border-radius: 12px;
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.2);
  font-size: 13px;
  font-weight: 850;
  opacity: 0;
  pointer-events: none;
  transform: translateY(16px);
  transition: opacity 180ms ease, transform 180ms ease;
}

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

.reveal {
  transition: opacity 660ms ease, transform 660ms cubic-bezier(0.2, 0.75, 0.2, 1);
}

.js-animations .reveal:not(.is-visible) {
  opacity: 0;
  transform: translateY(22px);
}

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

.expertise-marquee {
  margin-top: 34px;
  overflow: hidden;
  color: var(--muted);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}

.marquee-track {
  display: flex;
  width: max-content;
  align-items: center;
  gap: 22px;
  padding: 18px 0;
  animation: expertiseMarquee 34s linear infinite;
  will-change: transform;
}

.marquee-track span {
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  white-space: nowrap;
}

.marquee-track i {
  width: 7px;
  height: 7px;
  background: var(--lime-strong);
  border-radius: 50%;
  box-shadow: 0 0 0 5px rgba(var(--gold-rgb), 0.11);
}

.systems-showcase {
  padding: 0 0 128px;
}

.systems-stage {
  position: relative;
  min-height: 620px;
  overflow: hidden;
  color: #edf2f4;
  background: var(--deep);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  isolation: isolate;
}

.systems-stage > img {
  position: absolute;
  z-index: -2;
  inset: -4%;
  width: 108%;
  height: 108%;
  max-width: none;
  object-fit: cover;
  object-position: center;
  transform: scale(1.04) translate3d(0, var(--parallax-y, 0px), 0);
  transition: transform 120ms linear;
  will-change: transform;
}

.systems-shade {
  position: absolute;
  z-index: -1;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7, 18, 23, 0.96) 0%, rgba(7, 18, 23, 0.74) 44%, rgba(7, 18, 23, 0.15) 76%),
    linear-gradient(180deg, transparent 62%, rgba(7, 18, 23, 0.72));
}

.systems-copy {
  position: absolute;
  top: 50%;
  left: clamp(28px, 5vw, 68px);
  width: min(590px, calc(100% - 56px));
  transform: translateY(-50%);
}

.systems-copy h2 {
  max-width: 580px;
  margin: 0;
  font-size: clamp(38px, 4.6vw, 66px);
  letter-spacing: -0.055em;
  line-height: 0.98;
}

.systems-copy > p:not(.section-index) {
  max-width: 540px;
  margin: 24px 0 0;
  color: rgba(244, 247, 244, 0.7);
  font-size: 17px;
}

.systems-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 30px;
}

.systems-tags span {
  padding: 8px 11px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 750;
  backdrop-filter: blur(8px);
}

.visual-note {
  position: absolute;
  right: 24px;
  bottom: 18px;
  color: rgba(244, 247, 244, 0.45);
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.case-media,
.case-mini-media {
  position: relative;
  margin: 28px 0 0;
  overflow: hidden;
  background: #09171e;
  border: 1px solid var(--line-light);
  border-radius: 12px;
}

.case-media-featured {
  aspect-ratio: 2.45 / 1;
}

.case-mini-media {
  aspect-ratio: 1.7 / 1;
}

.case-media img,
.case-mini-media img {
  width: 100%;
  height: 112%;
  object-fit: cover;
  transform: scale(1.03) translate3d(0, var(--parallax-y, 0px), 0);
  transition: transform 180ms linear, filter 300ms ease;
  will-change: transform;
}

.case-media:hover img,
.case-mini-media:hover img {
  filter: saturate(1.08) contrast(1.03);
}

.case-media figcaption,
.case-mini-media figcaption {
  position: absolute;
  right: 12px;
  bottom: 10px;
  padding: 6px 8px;
  color: rgba(255, 255, 255, 0.7);
  background: rgba(7, 18, 23, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 7px;
  font-size: 9px;
  letter-spacing: 0.04em;
  backdrop-filter: blur(10px);
}

.case-card-visual {
  min-height: 770px;
}

.case-card-visual h3 {
  margin-top: 24px;
  font-size: clamp(28px, 2.8vw, 40px);
}

[data-spotlight]::before {
  position: absolute;
  z-index: 0;
  inset: 0;
  content: "";
  background: radial-gradient(420px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(var(--gold-rgb), 0.15), transparent 48%);
  opacity: 0;
  pointer-events: none;
  transition: opacity 220ms ease;
}

[data-spotlight]:hover::before {
  opacity: 1;
}

[data-spotlight] > * {
  position: relative;
  z-index: 1;
}

.formats .section-heading p:last-child {
  color: var(--muted);
}

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

.format-card {
  position: relative;
  min-height: 430px;
  padding: 30px;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: 0 12px 34px rgba(8, 18, 25, 0.075);
  isolation: isolate;
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.format-card:hover {
  border-color: rgba(var(--gold-rgb), 0.46);
  box-shadow: var(--shadow);
  transform: translateY(-7px);
}

.format-number {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  color: #0b1b22;
  background: var(--lime);
  border-radius: 8px;
  font-size: 12px;
  font-weight: 900;
}

.format-card h3 {
  margin: 52px 0 12px;
  font-size: 29px;
  letter-spacing: -0.04em;
  line-height: 1.08;
}

.format-card > p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

.format-card ul {
  position: absolute;
  right: 30px;
  bottom: 28px;
  left: 30px;
  border-top: 1px solid var(--line);
}

.format-card li {
  padding: 9px 0;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
  font-size: 12px;
  font-weight: 720;
}

.format-card li::before {
  margin-right: 9px;
  color: var(--blue);
  content: "↗";
}

.formats-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  margin-top: 18px;
  padding: 26px 28px;
  background: var(--deep);
  border-radius: 12px;
}

.formats-footer p {
  margin: 0;
  color: rgba(244, 247, 244, 0.6);
}

.formats-footer strong,
.formats-footer span {
  display: block;
}

.formats-footer strong {
  color: #edf2f4;
  font-size: 16px;
}

.formats-footer span {
  margin-top: 4px;
  font-size: 13px;
}

/* Portfolio edition: real projects, restrained steel palette. */
.hero-project-link {
  display: flex;
  align-items: center;
  gap: 12px;
  width: fit-content;
  max-width: 100%;
  margin-top: 22px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 700;
}

.hero-project-link:hover,
.product-link:hover { text-decoration: underline; text-underline-offset: 5px; }
.project-eyebrow {
  margin: 0;
  color: var(--blue);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.lidar-case {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-column: 1 / -1;
  overflow: hidden;
  border: 1px solid var(--line-light);
  border-radius: var(--radius-md);
  background: #102331;
}

.lidar-photos { padding: 20px; background: #0a1924; }
.lidar-photo, .lidar-stationary { margin: 0; }
.lidar-photo > img { width: 100%; height: auto; border-radius: 5px; }
.lidar-photo figcaption { padding: 12px 2px; color: #b3c3cd; font-size: 11px; line-height: 1.6; }
.lidar-photo a { text-decoration: underline; text-underline-offset: 3px; }
.lidar-stationary { display: flex; align-items: center; gap: 18px; margin-top: 6px; }
.lidar-stationary img { width: 42%; max-width: 210px; height: auto; border-radius: 4px; }
.lidar-stationary figcaption { display: grid; gap: 8px; font-size: 12px; color: #b3c3cd; }
.lidar-stationary strong { color: #edf2f4; font-size: 15px; font-weight: 650; }
.lidar-copy { display: flex; flex-direction: column; justify-content: center; padding: 40px; }
.lidar-copy .project-eyebrow { color: #a7c2d3; }
.lidar-copy h3 { margin: 22px 0 0; font-size: clamp(28px, 3vw, 40px); letter-spacing: -.035em; line-height: 1.15; }
.lidar-copy > p:not(.project-eyebrow) { color: #becbd3; font-size: 16px; }
.engineering-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; padding: 24px 0; margin: 6px 0; list-style: none; border-block: 1px solid var(--line-light); }
.engineering-steps li { font-size: 12px; }
.engineering-steps span { display: block; margin-bottom: 10px; color: #91adbf; font-family: ui-monospace, monospace; }
.lidar-copy .lidar-takeaway { margin-bottom: 0; font-size: 14px; }
.cases .case-card:not(.case-featured) { display: flex; flex-direction: column; min-height: 420px; }
.cases .case-stat, .cases .deal-line { position: static; margin-top: auto; padding-top: 30px; }
.cases .case-card > p { margin-bottom: 30px; }
.cases .case-stat { border-top: 0; }

.developments .section-heading > p { color: var(--muted); }
.product-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; align-items: start; }
.product-card { overflow: hidden; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; }
.product-topline { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 22px 26px; }
.project-stage { display: inline-block; width: fit-content; padding: 5px 9px; color: var(--blue); background: var(--blue-soft); border-radius: 4px; font-size: 10px; font-weight: 800; letter-spacing: .02em; }
.product-visual { position: relative; min-height: 215px; margin: 0 12px; overflow: hidden; border-radius: 5px; }
.product-copy { padding: 28px; }
.product-copy h3 { margin: 0 0 12px; font-size: 34px; line-height: 1.15; letter-spacing: -.035em; }
.product-copy > p { margin: 14px 0 0; color: var(--muted); font-size: 15px; }
.product-copy .product-subtitle { color: var(--ink); font-size: 17px; font-weight: 600; line-height: 1.45; }
.product-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 24px; }
.product-tags li { padding: 5px 8px; border: 1px solid var(--line); border-radius: 4px; color: var(--muted); font-size: 11px; font-weight: 650; }
.chat-demo-visual { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 18px 26px; padding: 24px; background: linear-gradient(135deg, #dce7ec, #c1d0da); color: #17354b; }
.chat-demo-shot { display: block; width: min(100%, 171px); margin-inline: auto; overflow: hidden; border: 3px solid #253943; border-radius: 14px; box-shadow: 0 12px 26px #102c4126; }
.chat-demo-shot img { width: 100%; height: auto; }
.chat-demo-copy { min-width: 0; }
.chat-demo-copy > img { width: 56px; height: 56px; margin-bottom: 18px; border-radius: 14px; box-shadow: 0 9px 25px #102c4130; }
.chat-demo-copy > strong { display: block; font-size: 25px; line-height: 1.15; letter-spacing: -.03em; }
.chat-demo-copy > p { margin: 16px 0; font-size: 13px; line-height: 1.6; }
.chat-demo-visual figcaption { grid-column: 1 / -1; color: #3c5668; text-align: center; font-size: 10px; }
.chat-demo-open { display: inline-block; margin-top: 20px; font-size: 12px; font-weight: 700; text-decoration: underline; text-underline-offset: 4px; }
.chat-platforms { display: flex; gap: 7px; font-family: ui-monospace, monospace; font-size: 10px; font-weight: 700; letter-spacing: .1em; }
.chat-demo-copy .chat-platforms { flex-wrap: wrap; }
.chat-platforms span { padding: 5px 14px; border: 1px solid #17354b30; background: #ffffff50; border-radius: 4px; }
.safedive-photo { background: var(--surface-soft); }
.safedive-photo a { display: block; }
.safedive-photo img { width: 100%; height: auto; }
.safedive-photo figcaption { padding: 12px 14px; color: var(--muted); text-align: center; font-size: 10px; }
.project-details { margin-top: 24px; border-top: 1px solid var(--line); }
.project-details summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 17px 0 0; color: var(--blue); font-size: 13px; font-weight: 750; cursor: pointer; list-style: none; }
.project-details summary::-webkit-details-marker { display: none; }
.project-details summary > span { font-size: 22px; line-height: 1; }
.project-details[open] summary > span { transform: rotate(45deg); }
.project-details > ul { display: grid; gap: 10px; margin-top: 20px; padding-left: 18px; list-style: disc; }
.project-details > p, .project-details > ul { color: var(--muted); font-size: 14px; }
.project-details > p { margin: 16px 0 0; }
.project-details .project-caveat { padding-top: 14px; border-top: 1px solid var(--line); font-size: 12px; }
.product-link { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 24px; color: var(--blue); font-size: 13px; font-weight: 750; }
.robot-card { display: grid; grid-template-columns: 1fr 1fr; grid-column: 1 / -1; align-items: center; }
.robot-visual { align-self: stretch; display: flex; flex-direction: column; justify-content: center; padding: 30px 20px; color: var(--blue); background: var(--surface-soft); }
.robot-visual > .project-eyebrow { padding-left: 10px; }
.robot-diagram { width: 100%; height: auto; margin: 20px 0; }
.robot-visual-note { padding-left: 10px; color: var(--muted); font-size: 11px; }
.robot-card .product-copy { padding: 36px; }
.robot-card h3 { margin-top: 20px; }
.app-card { display: flex; align-items: flex-start; padding: 28px; gap: 22px; min-height: 310px; }
.app-card .product-copy { padding: 0; }
.app-card .product-copy > .project-eyebrow { margin: 0 0 14px; color: var(--blue); font-size: 10px; }
.app-card h3 { font-size: 24px; }
.app-card .product-copy > p:not(.project-eyebrow) { font-size: 14px; }
.lifecore-card { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); align-items: center; }
.lifecore-art { margin: 0; min-width: 0; }
.lifecore-art a { display: block; border-radius: 7px; overflow: hidden; }
.lifecore-art img { width: 100%; height: auto; }
.lifecore-art figcaption { margin-top: 10px; color: var(--muted); text-align: center; font-size: 10px; }
.app-symbol { flex: 0 0 76px; padding: 18px 0; text-align: center; color: var(--blue); background: var(--blue-soft); border-radius: 8px; font-size: 30px; font-weight: 600; letter-spacing: -.04em; }
.app-symbol span { display: block; margin-top: 8px; font-size: 8px; letter-spacing: .06em; }
.checkers-screen { flex: 0 0 88px; width: 88px; height: auto; border: 4px solid #24313b; border-radius: 10px; }
.manufacturing-strip { display: grid; grid-template-columns: 160px minmax(0, 1fr) 320px; align-items: center; gap: 30px; margin-top: 32px; padding: 32px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface-soft); }
.manufacturing-photo { margin: 0; min-width: 0; }
.manufacturing-photo a { display: block; overflow: hidden; border-radius: 7px; border: 1px solid var(--line); }
.manufacturing-photo img { width: 100%; height: auto; }
.manufacturing-photo figcaption { margin-top: 10px; color: var(--muted); font-size: 10px; line-height: 1.5; }
.manufacturing-number { display: flex; flex-direction: column; justify-content: center; padding-right: 30px; border-right: 1px solid var(--line); }
.manufacturing-number strong { font-size: 50px; line-height: 1; letter-spacing: -.06em; white-space: nowrap; color: var(--blue); }
.manufacturing-number > span { margin-top: 14px; color: var(--muted); font-size: 13px; }
.manufacturing-copy h3 { margin: 12px 0; font-size: 28px; line-height: 1.2; letter-spacing: -.025em; }
.manufacturing-copy > p:not(.project-eyebrow) { color: var(--muted); font-size: 15px; }
.manufacturing-chain { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin-top: 20px; color: var(--blue); font-size: 12px; font-weight: 700; }
.manufacturing-chain i { color: var(--muted); font-style: normal; }
.timeline-period small { display: block; max-width: 120px; margin-top: 8px; font-size: 11px; font-weight: 500; }
.partnership-callout { display: flex; align-items: center; gap: 40px; justify-content: space-between; margin-top: 24px; padding: 34px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.partnership-callout h3 { margin: 12px 0; font-size: 26px; letter-spacing: -.025em; }
.partnership-callout p { max-width: 700px; margin: 0; color: var(--muted); font-size: 15px; }
.partnership-callout .button { flex-shrink: 0; }
.site-footer small { display: inline-block; margin-top: 6px; font-size: 10px; }

@keyframes expertiseMarquee {
  to {
    transform: translateX(-50%);
  }
}

@media (max-width: 1080px) {
  .manufacturing-strip { grid-template-columns: 130px minmax(0, 1fr) 260px; gap: 22px; padding: 28px; }
  .manufacturing-number strong { font-size: 40px; }
  .lidar-copy { padding: 28px; }
  .product-topline { flex-wrap: wrap; min-height: 100px; }
  .app-card { gap: 16px; padding: 22px; }
  .partnership-callout { align-items: flex-start; flex-direction: column; gap: 24px; }
  .desktop-nav {
    gap: 18px;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1.08fr) minmax(330px, 0.92fr);
    gap: 48px;
  }

  .portrait-composition {
    min-height: 500px;
  }

  .portrait-note-top {
    left: -18px;
  }

  .portrait-note-bottom {
    right: -8px;
  }

  .profile-grid,
  .education-grid {
    gap: 60px;
  }

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

  .workflow-step {
    min-height: 260px;
  }

  .workflow-step h3 {
    margin-top: 50px;
  }

  .experience-layout {
    grid-template-columns: 270px minmax(0, 1fr);
    gap: 54px;
  }

  .contact-card {
    grid-template-columns: minmax(0, 1fr) 370px;
    gap: 50px;
    padding: 48px;
  }
}

@media (max-width: 860px) {
  .lidar-case, .robot-card { grid-template-columns: 1fr; }
  .lidar-photos { display: grid; grid-template-columns: 1.4fr 1fr; gap: 20px; }
  .lidar-stationary { display: block; margin: 0; }
  .lidar-stationary img { width: 100%; max-width: none; }
  .lidar-stationary figcaption { margin-top: 12px; }
  .product-grid { grid-template-columns: 1fr; }
  .product-topline { min-height: 0; }
  .robot-diagram { max-width: 560px; align-self: center; }
  .manufacturing-strip { grid-template-columns: 150px minmax(0, 1fr); padding: 28px; gap: 28px; }
  .manufacturing-photo { grid-column: 1 / -1; width: min(100%, 560px); justify-self: center; }
  .manufacturing-number strong { font-size: 52px; }
  .app-card { min-height: 0; }
  .section {
    padding: 96px 0;
  }

  .desktop-nav,
  .header-cta {
    display: none;
  }

  .menu-toggle {
    display: grid;
  }

  .hero {
    padding-top: 126px;
  }

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

  .hero-copy {
    padding-bottom: 0;
  }

  .portrait-composition {
    width: min(100%, 560px);
    min-height: 610px;
    margin: 8px auto 0;
  }

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

  .hero-metrics article:nth-child(2) {
    border-right: 0;
  }

  .hero-metrics article:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .profile-grid,
  .education-grid,
  .section-heading,
  .experience-layout,
  .contact-card {
    grid-template-columns: 1fr;
  }

  .section-heading {
    gap: 26px;
  }

  .section-heading p:last-child {
    max-width: 620px;
  }

  .case-featured-layout {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .technical-card {
    max-width: 440px;
  }

  .experience-aside {
    position: static;
  }

  .experience-layout {
    gap: 48px;
  }

  .contact-card {
    gap: 42px;
  }

  .systems-showcase {
    padding-bottom: 96px;
  }

  .systems-stage {
    min-height: 560px;
  }

  .systems-shade {
    background:
      linear-gradient(90deg, rgba(7, 18, 23, 0.94), rgba(7, 18, 23, 0.48)),
      linear-gradient(180deg, transparent 52%, rgba(7, 18, 23, 0.78));
  }

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

  .format-card {
    min-height: 360px;
  }
}

@media (max-width: 640px) {
  .chat-demo-visual { gap: 16px; padding: 18px 14px; }
  .chat-demo-copy > strong { font-size: 22px; }
  .chat-demo-copy > p { font-size: 12px; }
  .chat-demo-copy .chat-platforms span { padding: 5px 8px; font-size: 8px; }
  .chat-demo-copy > img { width: 44px; height: 44px; border-radius: 11px; }
  .lifecore-card { grid-template-columns: 1fr; }
  .lifecore-art { width: min(100%, 360px); margin-inline: auto; }
  .lidar-photos { display: block; padding: 14px; }
  .lidar-stationary { display: flex; gap: 14px; margin-top: 6px; }
  .lidar-stationary img { width: 44%; }
  .lidar-stationary figcaption { margin: 0; font-size: 11px; }
  .lidar-stationary strong { font-size: 13px; }
  .lidar-copy { padding: 26px 22px; }
  .engineering-steps { gap: 10px; }
  .engineering-steps li { font-size: 11px; }
  .product-topline { padding: 18px 22px; gap: 10px; }
  .product-copy, .robot-card .product-copy { padding: 24px 22px; }
  .product-copy h3 { font-size: 29px; }
  .app-card { padding: 22px; gap: 18px; }
  .app-card .product-copy { min-width: 0; }
  .app-card h3 { font-size: 22px; }
  .app-symbol { flex-basis: 52px; font-size: 24px; }
  .checkers-screen { flex-basis: 62px; width: 62px; border-width: 3px; }
  .app-symbol > span { font-size: 6px; }
  .robot-visual { padding: 24px 12px; }
  .manufacturing-strip { grid-template-columns: 1fr; padding: 26px 22px; gap: 24px; }
  .manufacturing-number { padding: 0 0 22px; border-right: 0; border-bottom: 1px solid var(--line); }
  .manufacturing-number strong { font-size: 54px; }
  .manufacturing-copy h3 { font-size: 25px; }
  .manufacturing-chain { gap: 8px; font-size: 10px; }
  .partnership-callout { padding: 26px 22px; }
  .partnership-callout .button { width: 100%; white-space: normal; }
  .section-shell {
    width: min(calc(100% - 28px), var(--max));
  }

  .section {
    padding: 76px 0;
  }

  .site-header {
    top: 8px;
    width: calc(100% - 16px);
  }

  .header-inner {
    min-height: 62px;
    padding-left: 10px;
  }

  .brand {
    min-width: 0;
  }

  .brand-mark {
    width: 40px;
    height: 40px;
  }

  .brand-copy small {
    display: none;
  }

  .hero {
    padding: 112px 0 32px;
  }

  .availability {
    margin-bottom: 26px;
    font-size: 11px;
  }

  .hero h1 {
    font-size: clamp(43px, 13vw, 58px);
  }

  .hero-lead {
    font-size: 17px;
  }

  .hero-actions {
    display: grid;
  }

  .button {
    width: 100%;
  }

  .portrait-composition {
    min-height: 440px;
    margin-top: 0;
  }

  .portrait-frame {
    inset: 0 12px 54px;
    border-width: 10px;
  }

  .portrait-grid {
    top: 20px;
    right: 0;
  }

  .portrait-note {
    min-width: 0;
    padding: 12px 14px;
  }

  .portrait-note-top {
    bottom: 122px;
    left: 0;
  }

  .portrait-note-bottom {
    right: 0;
    bottom: 22px;
  }

  .portrait-note span {
    font-size: 24px;
  }

  .portrait-note small {
    font-size: 10px;
  }

  .portrait-note .note-symbol {
    width: 34px;
    height: 34px;
    font-size: 19px;
  }

  .hero-metrics {
    grid-template-columns: 1fr;
    margin-top: 18px;
  }

  .hero-metrics article,
  .hero-metrics article:nth-child(2) {
    min-height: 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .hero-metrics article:last-child {
    border-bottom: 0;
  }

  .profile-grid {
    gap: 38px;
  }

  .profile-principles,
  .case-grid,
  .workflow-grid,
  .competency-grid {
    grid-template-columns: 1fr;
  }

  .profile-principles h3 {
    margin-top: 18px;
  }

  .case-featured {
    grid-column: auto;
    padding: 24px;
  }

  .case-card {
    min-height: 460px;
    padding: 24px;
  }

  .case-featured {
    min-height: 0;
  }

  .case-card-visual {
    min-height: 760px;
  }

  .case-featured-layout {
    padding-top: 30px;
  }

  .case-card h3 {
    font-size: 31px;
  }

  .case-featured h3 {
    font-size: 36px;
  }

  .technical-card {
    padding: 22px;
  }

  .case-type {
    max-width: 210px;
  }

  .case-proof {
    right: 24px;
    bottom: 24px;
  }

  .deal-line {
    right: 24px;
    left: 24px;
    gap: 6px;
    font-size: 9px;
  }

  .workflow-head {
    display: block;
  }

  .workflow-step {
    min-height: 240px;
  }

  .expertise-marquee {
    margin-top: 24px;
  }

  .marquee-track {
    animation-duration: 26s;
  }

  .systems-showcase {
    padding-bottom: 76px;
  }

  .systems-stage {
    width: calc(100% - 16px);
    min-height: 540px;
    border-radius: 14px;
  }

  .systems-stage > img {
    inset: -2%;
    width: 104%;
    height: 104%;
    object-position: 63% center;
  }

  .systems-copy {
    top: auto;
    bottom: 56px;
    left: 22px;
    width: calc(100% - 44px);
    transform: none;
  }

  .systems-copy h2 {
    font-size: 37px;
  }

  .systems-copy > p:not(.section-index) {
    font-size: 14px;
  }

  .systems-tags {
    gap: 6px;
    margin-top: 20px;
  }

  .visual-note {
    right: 14px;
    bottom: 12px;
    font-size: 8px;
  }

  .case-media-featured,
  .case-mini-media {
    aspect-ratio: 1.45 / 1;
  }

  .case-media figcaption,
  .case-mini-media figcaption {
    right: 8px;
    bottom: 7px;
    max-width: calc(100% - 16px);
    font-size: 8px;
  }

  .format-card {
    min-height: 390px;
    padding: 24px;
  }

  .format-card ul {
    right: 24px;
    bottom: 22px;
    left: 24px;
  }

  .formats-footer {
    display: grid;
    gap: 20px;
    padding: 24px;
  }

  .timeline-item,
  .timeline-title {
    grid-template-columns: 1fr;
  }

  .timeline-item {
    gap: 16px;
  }

  .timeline-title {
    gap: 8px;
  }

  .timeline-content ul {
    display: grid;
  }

  .education-grid {
    gap: 48px;
  }

  .education-item {
    grid-template-columns: 56px minmax(0, 1fr);
    gap: 14px;
  }

  .contact {
    padding-bottom: 32px;
  }

  .contact-card {
    width: calc(100% - 16px);
    padding: 32px 20px;
    border-radius: 14px;
  }

  .contact-line,
  .copy-button {
    grid-template-columns: 1fr auto;
    gap: 5px 12px;
  }

  .contact-line span {
    grid-column: 1 / 3;
  }

  .contact-line strong {
    font-size: 14px;
  }

  .copy-button span {
    grid-column: 1;
  }

  .footer-inner {
    grid-template-columns: 1fr auto;
    gap: 22px;
  }

  .footer-inner p {
    grid-column: 1 / -1;
    grid-row: 2;
  }
}

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

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

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

  .marquee-track {
    animation: none;
  }

  .systems-stage > img,
  .case-media img,
  .case-mini-media img,
  .portrait-frame {
    transform: none !important;
  }
}
