:root {
  --ink: #0a1225;
  --ink-soft: #16213b;
  --paper: #f5f7fb;
  --surface: #ffffff;
  --line: #dfe5ef;
  --muted: #66738a;
  --muted-dark: #aeb8c9;
  --blue: #6f8cff;
  --blue-deep: #4059db;
  --mint: #58e0c0;
  --orange: #ffb06f;
  --shadow: 0 24px 70px rgba(23, 36, 72, 0.09);
  --radius-lg: 28px;
  --radius-md: 18px;
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", Arial, sans-serif;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

body.is-locked {
  overflow: hidden;
}

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

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

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

button {
  font: inherit;
}

.container {
  width: min(1180px, calc(100% - 56px));
  margin: 0 auto;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  color: var(--ink);
  background: var(--mint);
  border-radius: 999px;
  transform: translateY(-180%);
  transition: transform 180ms ease;
}

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

.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  color: #fff;
  background: rgba(10, 18, 37, 0.9);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(18px);
}

.nav-wrap {
  display: flex;
  min-height: 76px;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-size: 18px;
  font-weight: 750;
  letter-spacing: -0.03em;
}

.brand-mark {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  color: var(--ink);
  font-size: 14px;
  font-weight: 900;
  background: var(--mint);
  border-radius: 9px;
  transform: rotate(-8deg);
}

.brand-dot {
  color: var(--mint);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  color: #c6cede;
  font-size: 13px;
}

.site-nav > a {
  transition: color 180ms ease;
}

.site-nav > a:hover,
.site-nav > a:focus-visible {
  color: #fff;
}

.language-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 9px;
  color: #94a1b8;
  font: inherit;
  font-size: 12px;
  cursor: pointer;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
}

.language-toggle:hover,
.language-toggle:focus-visible {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.34);
}

.language-toggle [data-lang-option] {
  transition: color 180ms ease, opacity 180ms ease;
}

.language-toggle [data-lang-option]:not(.is-active) {
  opacity: 0.55;
}

.language-toggle [data-lang-option].is-active {
  color: var(--mint);
  font-weight: 800;
}

.language-divider {
  color: rgba(255, 255, 255, 0.34);
}

.nav-download {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  color: var(--ink) !important;
  font-weight: 750;
  background: var(--mint);
  border-radius: 999px;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 10px;
  color: #fff;
  cursor: pointer;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 12px;
}

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

.section {
  padding: 126px 0;
}

.section-dark {
  position: relative;
  overflow: hidden;
  color: #f7f9ff;
  background: var(--ink);
}

.section-light {
  background: var(--paper);
}

.hero {
  min-height: min(840px, calc(100vh - 76px));
  padding: 100px 0 110px;
  background:
    radial-gradient(circle at 74% 35%, rgba(94, 110, 255, 0.24), transparent 25rem),
    radial-gradient(circle at 20% 100%, rgba(42, 225, 184, 0.1), transparent 24rem),
    var(--ink);
}

.hero::before {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
  opacity: 0.26;
  background-image: linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: linear-gradient(to bottom, black, transparent 90%);
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(390px, 0.82fr);
  align-items: center;
  gap: clamp(48px, 8vw, 120px);
}

.hero-copy {
  max-width: 720px;
}

.eyebrow,
.section-kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 22px;
  color: var(--mint);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
  line-height: 1.2;
  text-transform: uppercase;
}

.pulse-dot,
.status-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  flex: 0 0 auto;
  background: currentColor;
  border-radius: 50%;
  box-shadow: 0 0 0 5px rgba(88, 224, 192, 0.11);
}

.pulse-dot {
  animation: pulse 2.2s infinite;
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(88, 224, 192, 0.08); }
  50% { box-shadow: 0 0 0 8px rgba(88, 224, 192, 0.04); }
}

h1,
h2,
h3,
h4,
p {
  overflow-wrap: anywhere;
}

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

h1 {
  max-width: 760px;
  margin-bottom: 28px;
  font-size: clamp(3.35rem, 6.3vw, 6.8rem);
  font-weight: 730;
  letter-spacing: -0.075em;
  line-height: 0.98;
}

h1 em {
  display: block;
  color: var(--blue);
  font-style: normal;
}

.hero-lead {
  max-width: 650px;
  margin: 0;
  color: #bdc7d9;
  font-size: 17px;
}

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

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 13px 18px;
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 780;
  transition: transform 180ms var(--ease), background 180ms ease, border-color 180ms ease, color 180ms ease;
}

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

.button-primary {
  color: var(--ink);
  background: var(--mint);
}

.button-ghost {
  color: #e6eafa;
  border-color: rgba(255, 255, 255, 0.2);
}

.button-ghost:hover,
.button-ghost:focus-visible {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.42);
}

.button-dark {
  color: #fff;
  background: var(--ink);
}

.hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
  margin-top: 58px;
}

.hero-facts > div {
  display: grid;
  gap: 3px;
}

.fact-label {
  color: #71809a;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.hero-facts strong,
.hero-facts a {
  color: #e5eaf4;
  font-size: 13px;
  font-weight: 650;
}

.hero-facts a:hover,
.hero-facts a:focus-visible {
  color: var(--mint);
}

.hero-visual {
  position: relative;
  min-height: 560px;
  display: grid;
  place-items: center;
}

.device-card {
  position: relative;
  z-index: 2;
  width: min(100%, 500px);
  padding: 15px;
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 30px;
  box-shadow: 24px 34px 80px rgba(0, 0, 0, 0.3);
  transform: rotate(3deg);
  transition: transform 500ms var(--ease);
}

.hero-visual:hover .device-card {
  transform: rotate(0deg) translateY(-8px);
}

.device-card-top,
.device-readout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  color: #b8c4dc;
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.device-card-top {
  padding: 6px 7px 14px;
}

.device-card-top > span:first-child {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.device-card .status-dot {
  width: 6px;
  height: 6px;
  color: var(--mint);
  box-shadow: none;
}

.device-image-wrap {
  overflow: hidden;
  background: #dfe6f1;
  border-radius: 20px;
}

.device-image-wrap img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.device-readout {
  align-items: stretch;
  padding: 15px 7px 3px;
}

.device-readout div {
  display: grid;
  gap: 4px;
}

.device-readout span {
  color: #7888a4;
  font-size: 9px;
  letter-spacing: 0.07em;
}

.device-readout strong {
  color: #f1f4fb;
  font-size: 16px;
  letter-spacing: -0.04em;
}

.visual-orbit {
  position: absolute;
  border: 1px solid rgba(111, 140, 255, 0.34);
  border-radius: 50%;
  transform: rotate(-22deg);
}

.orbit-one {
  width: 570px;
  height: 350px;
}

.orbit-two {
  width: 410px;
  height: 650px;
  border-color: rgba(88, 224, 192, 0.18);
  transform: rotate(28deg);
}

.float-note {
  position: absolute;
  z-index: 3;
  display: grid;
  gap: 1px;
  padding: 11px 13px;
  color: #eef2fc;
  background: rgba(20, 32, 59, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(10px);
}

.float-note span {
  font-size: 13px;
  font-weight: 800;
}

.float-note small {
  color: #94a1b9;
  font-size: 9px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.float-note-one {
  top: 13%;
  left: -5%;
}

.float-note-two {
  right: -3%;
  bottom: 16%;
  color: var(--ink);
  background: var(--mint);
  border-color: transparent;
}

.float-note-two small {
  color: rgba(10, 18, 37, 0.64);
}

.visual-caption {
  position: absolute;
  right: 0;
  bottom: 1%;
  margin: 0;
  color: #76859f;
  font-size: 11px;
  letter-spacing: 0.04em;
}

.visual-caption span {
  color: var(--mint);
}

.hero-grid-line {
  position: absolute;
  right: 0;
  bottom: 36px;
  left: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
}

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

.split-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(260px, 0.85fr);
  align-items: end;
  gap: 40px;
}

.section-kicker {
  color: var(--blue-deep);
}

.section-kicker-light {
  color: var(--mint);
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(2.5rem, 4.8vw, 5rem);
  font-weight: 700;
  letter-spacing: -0.07em;
  line-height: 0.98;
}

.section-heading h2 span {
  color: var(--blue-deep);
}

.section-heading > p {
  max-width: 500px;
  margin: 0 0 3px auto;
  color: var(--muted);
  font-size: 15px;
}

.process-heading h2 span {
  color: var(--mint);
}

.process-heading > p {
  color: var(--muted-dark);
}

.capability-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.capability-card {
  position: relative;
  min-height: 270px;
  padding: 25px 22px 22px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: 0 10px 34px rgba(31, 47, 88, 0.035);
  transition: transform 260ms var(--ease), box-shadow 260ms ease, border-color 260ms ease;
}

.capability-card:hover {
  border-color: #c7d1e4;
  box-shadow: var(--shadow);
  transform: translateY(-6px);
}

.capability-card-accent {
  color: #fff;
  background: var(--blue-deep);
  border-color: var(--blue-deep);
}

.capability-number {
  display: block;
  margin-bottom: 50px;
  color: var(--blue-deep);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.12em;
}

.capability-card-accent .capability-number {
  color: var(--mint);
}

.capability-card h3 {
  margin-bottom: 9px;
  font-size: 19px;
  letter-spacing: -0.04em;
}

.capability-card p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.capability-card-accent p {
  color: #d8e0ff;
}

.capability-line {
  position: absolute;
  right: 22px;
  bottom: 21px;
  left: 22px;
  height: 1px;
  overflow: hidden;
  background: #e6eaf2;
}

.capability-card-accent .capability-line {
  background: rgba(255, 255, 255, 0.22);
}

.capability-line span {
  display: block;
  width: 34%;
  height: 100%;
  background: var(--mint);
}

.work-section {
  background: #fff;
}

.work-heading {
  margin-bottom: 35px;
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-bottom: 38px;
}

.filter-button {
  padding: 10px 14px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 720;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 999px;
  cursor: pointer;
  transition: color 180ms ease, border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

.filter-button:hover,
.filter-button:focus-visible {
  color: var(--ink);
  border-color: #b9c5dc;
  transform: translateY(-1px);
}

.filter-button.is-active {
  color: var(--ink);
  background: var(--mint);
  border-color: var(--mint);
}

.project-list {
  display: grid;
  gap: 22px;
}

.project-card {
  display: grid;
  grid-template-columns: minmax(300px, 0.88fr) minmax(0, 1.12fr);
  min-height: 465px;
  overflow: hidden;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: 0 12px 36px rgba(30, 49, 87, 0.04);
  transition: opacity 220ms ease, transform 280ms var(--ease), box-shadow 280ms ease;
}

.project-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}

.project-card-reverse {
  grid-template-columns: minmax(0, 1.12fr) minmax(300px, 0.88fr);
}

.project-card-reverse .project-visual {
  order: 2;
}

.project-card.is-hidden {
  display: none;
}

.project-visual {
  position: relative;
  min-height: 100%;
  padding: 27px;
  overflow: hidden;
}

.project-visual::before,
.project-visual::after {
  position: absolute;
  pointer-events: none;
  content: "";
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
}

.project-visual::before {
  width: 420px;
  height: 420px;
  right: -180px;
  bottom: -160px;
}

.project-visual::after {
  width: 240px;
  height: 240px;
  top: -85px;
  left: -80px;
}

.visual-blue { background: linear-gradient(145deg, #263c9e, #6c5ce7); }
.visual-green { background: linear-gradient(145deg, #075e5a, #18b7a2); }
.visual-purple { background: linear-gradient(145deg, #292680, #875be5); }
.visual-slate { background: linear-gradient(145deg, #18243b, #53637d); }
.visual-orange { background: linear-gradient(145deg, #8e3c17, #ec8b28); }

.gallery-trigger {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  overflow: hidden;
  color: #fff;
  text-align: left;
  background: transparent;
  border: 0;
  border-radius: 17px;
  cursor: zoom-in;
}

.gallery-trigger::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, rgba(8, 17, 38, 0.16), transparent 45%, rgba(8, 17, 38, 0.3));
  pointer-events: none;
}

.gallery-trigger img {
  width: 100%;
  height: 100%;
  min-height: 410px;
  object-fit: cover;
  transition: transform 600ms var(--ease), filter 300ms ease;
}

.project-card:hover .gallery-trigger img,
.gallery-trigger:focus-visible img {
  filter: saturate(1.08);
  transform: scale(1.045);
}

.image-counter,
.image-action {
  position: absolute;
  z-index: 2;
  font-size: 10px;
  font-weight: 820;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.image-counter {
  top: 17px;
  left: 18px;
  color: rgba(255, 255, 255, 0.75);
}

.image-action {
  right: 17px;
  bottom: 16px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  opacity: 0.85;
  transition: opacity 180ms ease;
}

.gallery-trigger:hover .image-action,
.gallery-trigger:focus-visible .image-action {
  opacity: 1;
}

.project-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 42px 45px;
}

.project-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin-bottom: 20px;
}

.project-index {
  color: var(--blue-deep);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.13em;
}

.project-client {
  color: #8290a5;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-align: right;
  text-transform: uppercase;
}

.project-body h3 {
  margin-bottom: 12px;
  font-size: clamp(1.65rem, 2.5vw, 2.35rem);
  letter-spacing: -0.06em;
  line-height: 1.05;
}

.project-body h3 span {
  display: block;
  margin-top: 4px;
  color: var(--blue-deep);
  font-size: 0.55em;
  font-weight: 700;
  letter-spacing: -0.025em;
}

.project-summary {
  max-width: 620px;
  margin: 0;
  color: #58657a;
  font-size: 14px;
}

.project-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.project-columns h4 {
  margin-bottom: 7px;
  color: var(--blue-deep);
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.project-columns p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.7;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 29px;
}

.tag-list span {
  padding: 6px 9px;
  color: #4c5d9d;
  font-size: 10px;
  font-weight: 750;
  background: #e8edff;
  border-radius: 7px;
}

.image-note {
  margin: 19px 0 0;
  color: #8995a7;
  font-size: 11px;
}

.process-section {
  padding-bottom: 140px;
  background:
    radial-gradient(circle at 90% 20%, rgba(82, 102, 255, 0.18), transparent 24rem),
    var(--ink);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.process-step {
  min-height: 238px;
  padding: 25px 25px 27px;
  border-right: 1px solid rgba(255, 255, 255, 0.14);
}

.process-step:first-child {
  padding-left: 0;
}

.process-step:last-child {
  padding-right: 0;
  border-right: 0;
}

.process-step > span {
  display: block;
  margin-bottom: 71px;
  color: var(--mint);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.12em;
}

.process-step h3 {
  margin-bottom: 7px;
  color: #f5f7ff;
  font-size: 23px;
  letter-spacing: -0.05em;
}

.process-step p {
  max-width: 210px;
  margin: 0;
  color: #9eacc2;
  font-size: 12px;
}

.contact-section {
  background: var(--paper);
}

.contact-card {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(260px, 0.75fr);
  gap: 50px;
  align-items: end;
  padding: 56px;
  background: var(--mint);
  border-radius: var(--radius-lg);
  box-shadow: 0 28px 75px rgba(40, 113, 111, 0.18);
}

.contact-card .section-kicker {
  color: rgba(10, 18, 37, 0.62);
}

.contact-card h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(2.2rem, 4vw, 4.4rem);
  letter-spacing: -0.075em;
  line-height: 0.98;
}

.contact-card h2 span {
  color: rgba(10, 18, 37, 0.54);
}

.contact-actions {
  display: grid;
  justify-items: start;
  gap: 14px;
}

.contact-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 760;
  border-bottom: 1px solid rgba(10, 18, 37, 0.25);
}

.contact-link:hover,
.contact-link:focus-visible {
  border-color: var(--ink);
}

.contact-actions .button {
  margin-top: 12px;
}

.site-footer {
  padding: 23px 0 29px;
  color: #7b879a;
  font-size: 11px;
  background: var(--paper);
}

.footer-wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px 24px;
}

.lightbox[hidden] {
  display: none;
}

.lightbox {
  position: fixed;
  z-index: 50;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
}

.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 10, 23, 0.84);
  backdrop-filter: blur(9px);
}

.lightbox-panel {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.75fr);
  width: min(1080px, 100%);
  max-height: min(720px, calc(100vh - 48px));
  overflow: auto;
  background: #101a32;
  border: 1px solid rgba(255, 255, 255, 0.17);
  border-radius: 22px;
  box-shadow: 0 35px 100px rgba(0, 0, 0, 0.45);
}

.lightbox-primary {
  display: flex;
  min-width: 0;
  background: #dfe6f1;
}

.lightbox-primary > img {
  width: 100%;
  height: 100%;
  min-height: 380px;
  object-fit: contain;
  background: #dfe6f1;
}

.lightbox-content {
  display: flex;
  min-width: 0;
  flex-direction: column;
  overflow: auto;
}

.lightbox-caption {
  padding: 36px 30px;
  color: #fff;
}

.lightbox-caption .section-kicker {
  color: var(--mint);
}

.lightbox-caption h2 {
  margin-bottom: 11px;
  font-size: 25px;
  letter-spacing: -0.055em;
  line-height: 1.1;
}

.lightbox-caption p:last-child {
  margin: 0;
  color: #aab6ca;
  font-size: 13px;
}

.real-gallery {
  padding: 0 30px 30px;
}

.real-gallery-heading {
  display: grid;
  gap: 5px;
  margin-bottom: 13px;
}

.real-gallery-label {
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.real-gallery-source {
  color: #7f8ca3;
  font-size: 11px;
  line-height: 1.4;
}

.real-gallery-grid {
  display: grid;
  gap: 10px;
}

.real-gallery-item {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 0;
  color: #aab6ca;
  text-align: left;
  cursor: pointer;
  background: transparent;
  border: 0;
}

.real-gallery-item img {
  width: 72px;
  height: 54px;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 8px;
  opacity: 0.7;
  transition: border-color 180ms ease, opacity 180ms ease, transform 180ms ease;
}

.real-gallery-item span {
  font-size: 11px;
  line-height: 1.35;
}

.real-gallery-item:hover img,
.real-gallery-item:focus-visible img,
.real-gallery-item.is-active img {
  border-color: var(--mint);
  opacity: 1;
  transform: translateX(2px);
}

.real-gallery-item:hover span,
.real-gallery-item:focus-visible span,
.real-gallery-item.is-active span {
  color: #fff;
}

.lightbox-close {
  position: absolute;
  z-index: 2;
  top: 13px;
  right: 13px;
  width: 36px;
  height: 36px;
  color: #fff;
  font-size: 26px;
  line-height: 1;
  background: rgba(10, 18, 37, 0.58);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  cursor: pointer;
}

[data-reveal] {
  opacity: 1;
  transform: none;
}

.js [data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 650ms ease, transform 650ms var(--ease);
}

.js [data-reveal].is-visible {
  opacity: 1;
  transform: none;
  transition-delay: var(--reveal-delay, 0ms);
}

:focus-visible {
  outline: 3px solid rgba(88, 224, 192, 0.85);
  outline-offset: 4px;
}

@media (max-width: 1000px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(330px, 0.8fr);
    gap: 50px;
  }

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

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

  .project-card-reverse .project-visual {
    order: 0;
  }

  .project-visual,
  .gallery-trigger img {
    min-height: 340px;
  }

  .project-body {
    padding: 34px;
  }

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

  .process-step:nth-child(2) {
    border-right: 0;
  }

  .process-step:nth-child(n + 3) {
    border-top: 1px solid rgba(255, 255, 255, 0.14);
  }

  .process-step:nth-child(3) {
    padding-left: 0;
  }

  .process-step:nth-child(4) {
    padding-right: 0;
  }
}

@media (max-width: 760px) {
  .container {
    width: min(100% - 36px, 620px);
  }

  .nav-wrap {
    min-height: 67px;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 1px);
    right: 18px;
    left: 18px;
    display: grid;
    gap: 0;
    padding: 8px;
    visibility: hidden;
    background: rgba(10, 18, 37, 0.97);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    opacity: 0;
    transform: translateY(-8px);
    transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
  }

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

  .site-nav > a {
    padding: 13px 12px;
  }

  .language-toggle {
    justify-self: start;
    margin: 6px 12px 8px;
  }

  .nav-download {
    justify-content: space-between;
    margin-top: 5px;
  }

  .section {
    padding: 86px 0;
  }

  .hero {
    min-height: auto;
    padding: 72px 0 88px;
  }

  .hero-grid,
  .split-heading,
  .contact-card {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    gap: 72px;
  }

  h1 {
    font-size: clamp(3.2rem, 14vw, 5.4rem);
  }

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

  .float-note-one {
    left: -1%;
  }

  .float-note-two {
    right: -1%;
  }

  .visual-caption {
    right: 4%;
  }

  .section-heading > p {
    margin: 0;
  }

  .capability-grid {
    gap: 10px;
  }

  .capability-card {
    min-height: 250px;
    padding: 20px 17px;
  }

  .capability-number {
    margin-bottom: 35px;
  }

  .project-body {
    padding: 29px 24px 31px;
  }

  .project-columns {
    gap: 15px;
  }

  .process-step {
    min-height: 210px;
    padding: 21px 16px 22px;
  }

  .process-step:first-child,
  .process-step:nth-child(3) {
    padding-left: 0;
  }

  .process-step:last-child,
  .process-step:nth-child(2) {
    padding-right: 0;
  }

  .contact-card {
    gap: 42px;
    padding: 34px 24px;
  }

  .lightbox-panel {
    grid-template-columns: 1fr;
    max-height: calc(100vh - 28px);
  }

  .lightbox-primary > img {
    min-height: auto;
  }

  .lightbox-caption {
    padding: 26px 24px 29px;
  }

  .real-gallery {
    padding: 0 24px 24px;
  }
}

@media (max-width: 470px) {
  .container {
    width: min(100% - 28px, 620px);
  }

  .hero-actions,
  .hero-actions .button {
    width: 100%;
  }

  .hero-actions .button {
    justify-content: space-between;
  }

  .hero-facts {
    display: grid;
    gap: 15px;
    margin-top: 42px;
  }

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

  .orbit-one {
    width: 340px;
    height: 230px;
  }

  .orbit-two {
    width: 275px;
    height: 400px;
  }

  .float-note {
    padding: 8px 9px;
  }

  .float-note-one {
    top: 1%;
  }

  .float-note-two {
    bottom: 5%;
  }

  .device-card {
    padding: 10px;
    border-radius: 22px;
  }

  .device-readout {
    padding-top: 10px;
  }

  .device-readout strong {
    font-size: 13px;
  }

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

  .capability-card {
    min-height: 205px;
  }

  .capability-number {
    margin-bottom: 24px;
  }

  .project-visual,
  .gallery-trigger img {
    min-height: 245px;
  }

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

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

  .process-step,
  .process-step:nth-child(n) {
    min-height: auto;
    padding: 21px 0;
    border-right: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
  }

  .process-step:first-child {
    border-top: 0;
  }

  .process-step > span {
    margin-bottom: 23px;
  }

  .footer-wrap {
    display: grid;
  }
}

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

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

@media print {
  .site-header,
  .hero-visual,
  .hero-actions,
  .filter-bar,
  .project-visual,
  .process-section,
  .contact-section,
  .site-footer,
  .lightbox {
    display: none !important;
  }

  .hero,
  .section,
  .work-section,
  .section-light {
    padding: 24px 0;
    color: #000;
    background: #fff;
  }

  .hero-grid,
  .project-card,
  .project-card-reverse {
    display: block;
  }

  .hero-lead,
  .section-heading > p,
  .project-summary,
  .project-columns p {
    color: #333;
  }

  .project-card {
    min-height: auto;
    margin-bottom: 18px;
    border: 1px solid #ccc;
    box-shadow: none;
    break-inside: avoid;
  }

  .project-body {
    padding: 18px;
  }
}
