:root {
  color-scheme: light;
  --ink: #0b0a0e;
  --ink-soft: #403b47;
  --paper: #f6f4fa;
  --paper-lilac: #ece5ff;
  --white: #ffffff;
  --muted: #686370;
  --purple: #7c3aed;
  --lilac: #c4b5fd;
  --line: #d8d0e6;
  --line-dark: rgba(255, 255, 255, 0.18);
  --page-width: 1240px;
  --page-gutter: clamp(22px, 5vw, 76px);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  font-family: Inter, "Segoe UI", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

body {
  min-width: 320px;
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-size: 16px;
  line-height: 1.6;
}

body, button, a { font-family: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { color: inherit; }

.wrap {
  width: min(calc(100% - var(--page-gutter) * 2), var(--page-width));
  margin-inline: auto;
}

.section-pad { padding-block: clamp(76px, 9vw, 128px); }

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 10px 14px;
  color: var(--white);
  background: var(--ink);
  transform: translateY(-160%);
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  color: var(--white);
  background: rgba(11, 10, 14, 0.98);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.header-inner {
  position: relative;
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand { display: inline-flex; align-items: center; width: max-content; }
.brand img { width: 132px; height: auto; }
.main-nav { display: flex; align-items: center; gap: clamp(22px, 3vw, 42px); }
.main-nav a { color: #e1dde6; font-size: 12px; transition: color 180ms ease; }
.main-nav a:hover, .main-nav a:focus-visible { color: var(--white); }
.main-nav .nav-contact {
  padding: 10px 16px;
  border: 1px solid rgba(196, 181, 253, 0.8);
  color: var(--white);
}
.menu-toggle { display: none; }

.eyebrow {
  display: flex;
  align-items: center;
  gap: 11px;
  margin: 0 0 22px;
  color: #4c4655;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  line-height: 1.45;
  text-transform: uppercase;
}
.eyebrow-mark { width: 22px; height: 2px; flex: 0 0 auto; background: var(--purple); }
.eyebrow-dark { color: #5f5968; }

.hero {
  background:
    radial-gradient(ellipse at 8% 0%, rgba(196, 181, 253, 0.28), transparent 34%),
    var(--paper);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 0.92fr;
  align-items: center;
  gap: clamp(46px, 7vw, 100px);
  min-height: 610px;
  padding-block: clamp(58px, 8vw, 106px) 62px;
}
.hero-copy { max-width: 650px; }
.hero h1 {
  max-width: 670px;
  margin: 0;
  font-size: clamp(3.2rem, 6.6vw, 5.85rem);
  font-weight: 620;
  letter-spacing: -0.075em;
  line-height: 0.98;
}
.hero h1 span { display: block; color: var(--purple); }
.hero-lede {
  max-width: 500px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: clamp(16px, 1.3vw, 18px);
  line-height: 1.75;
}
.hero-actions { display: flex; align-items: center; gap: 25px; flex-wrap: wrap; margin-top: 34px; }
.button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border: 1px solid transparent;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.01em;
  transition: background 180ms ease, border-color 180ms ease, transform 180ms ease;
}
.button:hover { transform: translateY(-2px); }
.button:focus-visible, a:focus-visible, button:focus-visible {
  outline: 3px solid var(--lilac);
  outline-offset: 4px;
}
.button-primary { color: var(--white); background: var(--purple); }
.button-primary:hover { background: #6c31df; }
.text-link { color: var(--ink); font-size: 12px; font-weight: 700; }
.text-link:hover { color: var(--purple); }

.hero-brand-panel {
  position: relative;
  overflow: hidden;
  min-height: 410px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 22px 26px 25px;
  border: 1px solid rgba(124, 58, 237, 0.22);
  background: var(--lilac);
}
.hero-brand-panel::before {
  position: absolute;
  inset: -30%;
  content: "";
  background: repeating-radial-gradient(ellipse at 50% 52%, transparent 0 43px, rgba(124, 58, 237, 0.13) 44px 45px, transparent 46px 72px);
  pointer-events: none;
}
.brand-panel-label, .brand-panel-caption { width: 100%; margin: 0; }
.brand-panel-label {
  position: relative;
  z-index: 1;
  color: #57515f;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.brand-panel-label span { padding-inline: 5px; color: var(--purple); }
.hero-symbol { position: relative; z-index: 1; width: clamp(138px, 21vw, 220px); height: auto; }
.brand-panel-caption {
  position: relative;
  z-index: 1;
  color: var(--ink-soft);
  font-size: clamp(16px, 1.75vw, 21px);
  font-weight: 560;
  letter-spacing: -0.035em;
  line-height: 1.35;
  text-align: right;
}
.solutions {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: var(--white);
  background: radial-gradient(ellipse at 92% 0%, rgba(124, 58, 237, 0.32), transparent 36%), #111015;
}
.solutions::before {
  position: absolute;
  z-index: -1;
  top: -250px;
  right: -230px;
  width: 620px;
  aspect-ratio: 1;
  border: 1px solid rgba(196, 181, 253, 0.2);
  border-radius: 50%;
  box-shadow: 0 0 0 36px rgba(196, 181, 253, 0.035), 0 0 0 82px rgba(196, 181, 253, 0.035), 0 0 0 132px rgba(196, 181, 253, 0.025);
  content: "";
  pointer-events: none;
}
.solutions .eyebrow-dark { color: #eee8f7; }
.solutions .section-intro { color: #cbc5d3; }
.section-heading {
  display: grid;
  grid-template-columns: 1.05fr 0.75fr;
  align-items: end;
  gap: 68px;
  margin-bottom: 48px;
}
.section-heading h2, .service-heading h2, .contact h2 {
  margin: 0;
  font-size: clamp(2.6rem, 5.2vw, 4.45rem);
  font-weight: 600;
  letter-spacing: -0.07em;
  line-height: 1.02;
}
.section-intro, .service-heading-copy > p {
  max-width: 470px;
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.75;
}
.solution-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.solution-card {
  min-height: 290px;
  display: flex;
  flex-direction: column;
  padding: 26px clamp(22px, 2.6vw, 34px) 28px;
  border-top: 3px solid var(--purple);
  background: var(--paper);
  transition: transform 220ms var(--ease), background 220ms ease;
}
.solution-card:hover { transform: translateY(-5px); background: var(--white); }
.card-top { display: flex; flex-direction: column; align-items: flex-start; gap: 15px; margin-bottom: 33px; }
.card-number { color: var(--purple); font-size: 30px; font-weight: 550; letter-spacing: -0.06em; line-height: 1; }
.card-category {
  color: #686271;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.13em;
  line-height: 1.5;
  text-transform: uppercase;
}
.solutions .solution-card h3 { max-width: 310px; margin: 0; color: #0b0a0e; font-size: clamp(1.35rem, 2vw, 1.65rem); font-weight: 600; letter-spacing: -0.05em; line-height: 1.18; }
.solution-card > p { max-width: 340px; margin: 12px 0 21px; color: var(--muted); font-size: 13px; line-height: 1.7; }
.card-link { width: max-content; margin-top: auto; color: var(--purple); font-size: 11px; font-weight: 700; }
.card-link:hover { color: var(--ink); }

.platform { background: var(--paper-lilac); }
.service-heading {
  display: grid;
  grid-template-columns: 1.05fr 0.8fr;
  align-items: end;
  gap: clamp(40px, 8vw, 112px);
}
.service-heading > div:first-child { max-width: 700px; }
.service-heading h2 { max-width: 650px; }
.service-heading-copy { padding-bottom: 5px; }
.service-heading-copy .text-link { display: inline-block; margin-top: 23px; }
.module-area {
  display: grid;
  grid-template-columns: 0.65fr 1.35fr;
  gap: clamp(40px, 7vw, 100px);
  margin-top: 65px;
  padding: clamp(25px, 4vw, 42px);
  background: var(--ink);
}
.module-area .eyebrow { color: #e7e0f0; }
.module-intro > p:last-child { color: #c8c1d1; }
.module-intro .eyebrow { margin-bottom: 13px; }
.module-intro > p:last-child { max-width: 310px; margin: 0; color: var(--muted); font-size: 13px; line-height: 1.7; }
.module-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.module-grid li { min-height: 74px; display: flex; align-items: center; gap: 14px; border-top: 1px solid var(--line-dark); }
.module-grid li > span { color: var(--lilac); font-size: 9px; letter-spacing: 0.12em; }
.module-grid h3 { margin: 0; color: #f7f4fb; font-size: 13px; font-weight: 600; letter-spacing: -0.02em; }

.digital-twin {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  margin-top: 24px;
  overflow: hidden;
  color: #f9f7fc;
  background: #121116;
  box-shadow: 0 24px 65px rgba(27, 18, 41, 0.14);
}
.digital-twin-stage {
  position: relative;
  min-width: 0;
  padding: clamp(18px, 2.6vw, 30px);
  border-right: 1px solid rgba(255, 255, 255, 0.09);
  background:
    radial-gradient(ellipse at 52% 48%, rgba(124, 58, 237, 0.24), transparent 45%),
    linear-gradient(150deg, #201b28 0%, #111014 74%);
}
.digital-twin-stage::before {
  position: absolute;
  z-index: 0;
  inset: 0;
  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: 54px 54px;
  content: "";
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.75), transparent 84%);
  pointer-events: none;
}
.twin-stage-topline, .twin-stage-footer, .twin-model { position: relative; z-index: 1; }
.twin-stage-topline, .twin-stage-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  color: #bcb6c7;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.13em;
}
.twin-stage-topline > span:first-child { display: inline-flex; align-items: center; gap: 9px; color: #eee9f7; }
.twin-stage-topline i, .twin-live-dot { width: 6px; height: 6px; flex: 0 0 auto; border-radius: 50%; background: #a78bfa; box-shadow: 0 0 14px rgba(167, 139, 250, 0.85); }
.twin-stage-topline b, .twin-stage-footer b { color: #766d85; font-weight: 500; }
.twin-model {
  display: block;
  width: 100%;
  height: clamp(360px, 36vw, 470px);
  margin: 11px 0 0;
  overflow: hidden;
  background: radial-gradient(ellipse at 52% 28%, rgba(245, 248, 251, 0.25), transparent 55%), radial-gradient(ellipse at 50% 102%, rgba(20, 29, 38, 0.27), transparent 48%), linear-gradient(180deg, #657887 0%, #9eabb7 56%, #788793 100%);
  --poster-color: #19161f;
}
.twin-loading { position: absolute; z-index: 2; top: calc(clamp(18px, 2.6vw, 30px) + 21px); right: clamp(18px, 2.6vw, 30px); left: clamp(18px, 2.6vw, 30px); display: grid; height: clamp(360px, 36vw, 470px); place-items: center; pointer-events: none; }
.twin-loading[hidden] { display: none; }
.twin-loading > span { display: inline-flex; align-items: center; gap: 10px; padding: 10px 14px; border: 1px solid rgba(255, 255, 255, 0.18); color: #f9f7fc; background: rgba(17, 16, 20, 0.58); font-size: 9px; letter-spacing: 0.08em; backdrop-filter: blur(8px); }
.twin-loading i { width: 8px; height: 8px; border: 1px solid rgba(255, 255, 255, 0.35); border-top-color: #c4b5fd; border-radius: 50%; animation: twin-load-spin 850ms linear infinite; }
.twin-loading[data-state="error"] > span { max-width: min(460px, 100%); color: #fff; border-color: rgba(255, 160, 160, 0.4); background: rgba(56, 20, 25, 0.86); line-height: 1.6; text-align: center; }
.twin-loading[data-state="error"] i { display: none; }
@keyframes twin-load-spin { to { transform: rotate(360deg); } }
.twin-stage-footer { margin-top: 5px; padding-top: 13px; border-top: 1px solid rgba(255, 255, 255, 0.1); font-size: 7px; }
.twin-stage-footer > span:first-child { display: inline-flex; align-items: center; gap: 8px; color: #e7e0f0; }
.digital-twin-copy { align-self: center; padding: clamp(30px, 4vw, 57px); }
.digital-twin-copy .eyebrow { margin-bottom: 19px; color: #c4b5fd; }
.digital-twin-copy h3 { max-width: 480px; margin: 0; color: #fff; font-size: clamp(2rem, 3.4vw, 3.2rem); font-weight: 560; letter-spacing: -0.055em; line-height: 1.02; }
.twin-description { max-width: 430px; margin: 18px 0 25px; color: #bcb6c4; font-size: 13px; line-height: 1.78; }
.twin-benefits { display: grid; }
.twin-benefits > div { display: grid; grid-template-columns: 28px 1fr; gap: 9px; padding: 12px 0; border-top: 1px solid rgba(255, 255, 255, 0.12); }
.twin-benefits > div > span { padding-top: 2px; color: #b6a1f9; font-size: 8px; letter-spacing: 0.1em; }
.twin-benefits p { margin: 0; color: #bcb6c4; font-size: 11px; line-height: 1.6; }
.twin-benefits strong { color: #f6f2fc; font-weight: 620; }
.digital-twin-copy .text-link { margin-top: 21px; color: #f0eaff; }
.digital-twin-copy .text-link:hover { color: #c4b5fd; }

.consulting {
  color: var(--white);
  background: radial-gradient(ellipse at 100% 0%, rgba(196, 181, 253, 0.26), transparent 34%), var(--purple);
}
.consulting .eyebrow-dark { color: #f0eaff; }
.consulting .service-heading-copy > p { color: #f0eaff; }
.consulting .text-link { color: var(--white); }
.consulting .text-link:hover { color: var(--lilac); }
.consulting-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 67px 0 0;
  padding: 0;
  list-style: none;
  border: 0;
}
.consulting-steps li { display: grid; grid-template-columns: 34px 1fr; gap: 12px; min-height: 160px; padding: 24px; background: var(--paper); color: var(--ink); }
.consulting-steps li + li { padding-left: 24px; border: 0; }
.consulting-steps li > span { color: var(--purple); font-size: 11px; font-weight: 700; letter-spacing: 0.08em; }
.consulting-steps h3 { margin: 0; font-size: 21px; font-weight: 600; letter-spacing: -0.04em; }
.consulting-steps p { max-width: 275px; margin: 8px 0 0; color: var(--muted); font-size: 13px; line-height: 1.7; }

.cctv { background: var(--paper); }
.cctv-heading { margin-bottom: 55px; }
.cctv-project {
  position: relative;
  overflow: hidden;
  padding: clamp(20px, 3vw, 36px);
  border: 1px solid rgba(196, 181, 253, 0.25);
  background:
    radial-gradient(ellipse at 83% 4%, rgba(124, 58, 237, 0.2), transparent 35%),
    linear-gradient(132deg, #17141c 0%, #100e14 58%, #17121e 100%);
  color: #f7f5fa;
  box-shadow: 0 30px 75px rgba(37, 22, 64, 0.13);
}
.cctv-project::after {
  position: absolute;
  top: 0;
  right: 0;
  width: 1px;
  height: 100%;
  background: linear-gradient(180deg, transparent, rgba(196, 181, 253, 0.42), transparent);
  content: "";
  pointer-events: none;
}
.cctv-project-header,
.cctv-project-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.cctv-project-header {
  padding-bottom: 22px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.cctv-project-kicker,
.cctv-aside-kicker {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0;
  color: var(--lilac);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}
.cctv-status-dot,
.cctv-project-footer i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--purple);
  box-shadow: 0 0 14px rgba(124, 58, 237, 0.9);
}
.cctv-project-name {
  margin: 7px 0 0;
  color: #f7f5fa;
  font-size: 15px;
  font-weight: 560;
  letter-spacing: -0.025em;
}
.cctv-project-name span { color: #8d829d; padding-inline: 5px; font-weight: 400; }
.cctv-project-id { display: flex; align-items: center; gap: 12px; color: #b9b1c1; font-size: 9px; letter-spacing: 0.1em; }
.cctv-project-id strong {
  display: grid;
  width: 37px;
  height: 37px;
  place-items: center;
  border: 1px solid rgba(196, 181, 253, 0.4);
  border-radius: 50%;
  color: var(--lilac);
  font-size: 10px;
  font-weight: 650;
}
.cctv-project-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(270px, 0.78fr);
  align-items: stretch;
  gap: clamp(25px, 4vw, 58px);
  padding-block: clamp(22px, 3vw, 34px);
}
.cctv-viewport { min-width: 0; }
.cctv-viewport-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 0 2px 12px;
  color: #a49cac;
  font-size: 8px;
  font-weight: 650;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.cctv-viewport-bar > span:first-child { display: inline-flex; align-items: center; gap: 8px; }
.cctv-viewport-bar i { width: 6px; height: 6px; border-radius: 50%; background: var(--lilac); }
.cctv-viewport-bar b { color: #f4f0fa; font: inherit; }
.cctv-model-stage {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  margin: 0;
  background: #c4c5cd;
  border: 1px solid rgba(255, 255, 255, 0.15);
  isolation: isolate;
}
.cctv-model-stage::before {
  position: absolute;
  z-index: 1;
  inset: 0;
  background: linear-gradient(180deg, rgba(9, 8, 12, 0.12) 0%, transparent 28%, transparent 53%, rgba(9, 8, 12, 0.7) 100%);
  content: "";
  pointer-events: none;
}
.cctv-model-stage::after {
  position: absolute;
  z-index: 1;
  inset: 10px;
  border: 1px solid rgba(246, 244, 250, 0.22);
  content: "";
  pointer-events: none;
}
.cctv-model-stage img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.82) contrast(1.05);
  transition: opacity 220ms ease, transform 700ms var(--ease);
}
.cctv-model-stage img.is-changing { opacity: 0.35; transform: scale(1.018); }
.cctv-model-stamp,
.cctv-model-coordinates {
  position: absolute;
  z-index: 2;
  color: #fff;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.14em;
}
.cctv-model-stamp { top: 23px; left: 24px; padding: 7px 9px; border: 1px solid rgba(255, 255, 255, 0.48); background: rgba(12, 10, 15, 0.35); backdrop-filter: blur(7px); }
.cctv-model-coordinates { top: 27px; right: 25px; color: rgba(255, 255, 255, 0.84); font-size: 7px; }
.cctv-model-caption {
  position: absolute;
  z-index: 2;
  right: 24px;
  bottom: 21px;
  left: 24px;
  display: flex;
  align-items: center;
  gap: 11px;
  color: #fff;
}
.cctv-model-marker { width: 8px; height: 8px; flex: 0 0 auto; border: 2px solid #fff; border-radius: 50%; background: var(--purple); box-shadow: 0 0 0 4px rgba(124, 58, 237, 0.3); }
.cctv-model-caption > span:last-child { display: grid; gap: 1px; }
.cctv-model-caption small { color: #d8d1df; font-size: 8px; letter-spacing: 0.12em; text-transform: uppercase; }
.cctv-model-caption strong { font-size: 12px; font-weight: 600; letter-spacing: -0.015em; }
.cctv-project-aside { align-self: center; padding-block: 6px; }
.cctv-aside-kicker { margin-bottom: 15px; }
.cctv-project-aside h3 {
  max-width: 390px;
  margin: 0;
  color: #f7f4fb;
  font-size: clamp(1.8rem, 2.8vw, 2.55rem);
  font-weight: 560;
  letter-spacing: -0.065em;
  line-height: 1.02;
}
.cctv-aside-copy { max-width: 390px; margin: 14px 0 20px; color: #bab3c2; font-size: 12px; line-height: 1.75; }
.cctv-view-options { display: grid; gap: 5px; }
.cctv-view-option {
  display: grid;
  grid-template-columns: 29px minmax(0, 1fr) 16px;
  align-items: center;
  gap: 9px;
  min-height: 42px;
  padding: 8px 11px;
  border: 1px solid transparent;
  background: transparent;
  color: #c6bfce;
  text-align: left;
  font-size: 10px;
  cursor: pointer;
  transition: color 180ms ease, background 180ms ease, border-color 180ms ease;
}
.cctv-view-option:hover { background: rgba(255, 255, 255, 0.045); color: #fff; }
.cctv-view-option:focus-visible { outline: 2px solid var(--lilac); outline-offset: 2px; }
.cctv-view-option[aria-pressed="true"] { border-color: rgba(196, 181, 253, 0.34); background: rgba(124, 58, 237, 0.17); color: #fff; }
.cctv-view-option > span:first-child { color: var(--lilac); font-size: 8px; letter-spacing: 0.1em; }
.cctv-view-option > span:last-child { color: #9987bd; text-align: right; font-size: 12px; }
.cctv-project-note { display: flex; align-items: center; gap: 9px; margin: 17px 0 0; color: #9e96a9; font-size: 9px; line-height: 1.5; }
.cctv-project-note > span { color: var(--lilac); font-size: 13px; }
.cctv-project-footer {
  min-height: 50px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}
.cctv-project-footer > span { display: inline-flex; align-items: center; gap: 9px; color: #aaa2b3; font-size: 8px; font-weight: 650; letter-spacing: 0.13em; text-transform: uppercase; }
.cctv-project-footer i { width: 5px; height: 5px; }
.cctv-project-footer b { color: #71697b; font-weight: 500; }
.cctv-project-footer a { display: inline-flex; align-items: center; gap: 11px; color: #e8dfff; font-size: 10px; font-weight: 600; }
.cctv-project-footer a span { color: var(--lilac); transition: transform 180ms ease; }
.cctv-project-footer a:hover span { transform: translate(2px, -2px); }
.sentinela { color: var(--white); background: var(--ink); }
.sentinela-layout {
  display: grid;
  grid-template-columns: 0.7fr 1.1fr 1fr;
  align-items: center;
  gap: clamp(36px, 6vw, 82px);
}
.sentinela-brand { width: min(100%, 222px); padding: 10px; background: #ffffff; }
.sentinela-brand img { width: 100%; height: auto; filter: brightness(1.04); }
.sentinela .eyebrow { color: #c7bfce; }
.sentinela .eyebrow-mark { background: var(--lilac); }
.sentinela-copy h2 { max-width: 510px; margin: 0; font-size: clamp(2.35rem, 4vw, 3.6rem); font-weight: 570; letter-spacing: -0.065em; line-height: 1.02; }
.sentinela-copy > p:not(.eyebrow) { max-width: 510px; margin: 18px 0 25px; color: #c8c3ce; font-size: 13px; line-height: 1.8; }
.sentinela-points { margin: 0; padding: 0; list-style: none; }
.sentinela-points li { display: grid; grid-template-columns: 29px 1fr; align-items: center; gap: 12px; min-height: 65px; border-top: 1px solid var(--line-dark); }
.sentinela-points li:last-child { border-bottom: 1px solid var(--line-dark); }
.sentinela-points li > span { color: var(--lilac); font-size: 9px; letter-spacing: 0.12em; }
.sentinela-points strong { color: #f2eff5; font-size: 11px; font-weight: 600; line-height: 1.5; }

.contact {
  color: var(--white);
  background: var(--purple);
}
.contact-inner { max-width: 870px; }
.contact .eyebrow { margin-bottom: 20px; }
.contact .eyebrow-dark { color: #f1eaff; }
.contact .service-heading-copy > p, .contact-inner > p:not(.eyebrow) { color: #f0eaff; }
.contact h2 { max-width: 800px; }
.contact-inner > p:not(.eyebrow) { max-width: 510px; margin: 20px 0 27px; font-size: 15px; line-height: 1.75; }
.contact-button { min-height: 52px; }
.contact .button-primary { color: var(--purple); background: var(--white); }
.contact .button-primary:hover { background: var(--paper-lilac); }

.site-footer { color: var(--white); background: var(--ink); }
.footer-main { min-height: 104px; display: flex; align-items: center; justify-content: space-between; gap: 26px; }
.footer-brand img { width: 116px; height: auto; }
.footer-main p { margin: 0; color: #c1bbc8; font-size: 11px; }
.back-top { color: #e3ddeb; font-size: 11px; }
.back-top:hover { color: var(--lilac); }
.footer-legal { min-height: 48px; display: flex; align-items: center; justify-content: space-between; gap: 20px; border-top: 1px solid var(--line-dark); color: #a8a1b0; font-size: 10px; }

.has-reveal [data-reveal] { opacity: 0; transform: translateY(14px); transition: opacity 540ms ease, transform 540ms var(--ease); }
.has-reveal [data-reveal].is-visible { opacity: 1; transform: translateY(0); }

@media (max-width: 1050px) {
  .hero-grid { gap: 48px; min-height: 550px; }
  .hero-brand-panel { min-height: 360px; }
  .main-nav { gap: 19px; }
  .section-heading, .service-heading { gap: 42px; }
  .module-area { grid-template-columns: 0.55fr 1.45fr; gap: 42px; }
  .sentinela-layout { grid-template-columns: 0.55fr 1.1fr 1fr; gap: 36px; }
}

@media (max-width: 820px) {
  html { scroll-padding-top: 76px; }
  .header-inner { min-height: 72px; }
  .brand img { width: 118px; }
  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 0 13px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    background: transparent;
    color: var(--white);
    font-size: 11px;
    font-weight: 650;
    cursor: pointer;
  }
  .main-nav {
    position: absolute;
    top: 100%;
    right: calc(var(--page-gutter) * -1);
    left: calc(var(--page-gutter) * -1);
    display: none;
    align-items: stretch;
    gap: 0;
    padding: 8px var(--page-gutter) 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    background: var(--ink);
  }
  .main-nav.is-open { display: flex; flex-direction: column; }
  .main-nav a { padding: 13px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
  .main-nav .nav-contact { margin-top: 12px; padding: 12px 14px; border: 1px solid rgba(196, 181, 253, 0.72); text-align: center; }
  .hero-grid { grid-template-columns: 1fr 0.8fr; gap: 30px; min-height: 490px; }
  .hero h1 { font-size: clamp(3rem, 7.8vw, 5rem); }
  .hero-brand-panel { min-height: 310px; padding: 18px; }
  .hero-symbol { width: clamp(116px, 22vw, 170px); }
  .section-heading { grid-template-columns: 1fr; gap: 18px; }
  .solution-grid { grid-template-columns: 1fr; }
  .solution-card, .solution-card:first-child { min-height: 0; padding: 23px; }
  .solution-card + .solution-card { border-left: 0; border-top-width: 3px; border-top-color: var(--purple); }
  .card-top { flex-direction: row; align-items: baseline; gap: 15px; margin-bottom: 18px; }
  .solutions .solution-card h3 { max-width: 460px; }
  .solution-card > p { max-width: 520px; }
  .card-link { margin-top: 2px; }
  .module-area { grid-template-columns: 1fr; gap: 27px; }
  .module-intro > p:last-child { max-width: 500px; }
  .digital-twin { grid-template-columns: 1fr; }
  .digital-twin-stage { border-right: 0; border-bottom: 1px solid rgba(255, 255, 255, 0.09); }
  .twin-model, .twin-frame-fallback { height: clamp(360px, 58vw, 480px); }
  .twin-loading { height: clamp(360px, 58vw, 480px); }
  .digital-twin-copy { padding: 38px; }
  .cctv-deliverable { grid-template-columns: 1fr 1.4fr; gap: 16px 24px; }
  .deliverable-copy { grid-column: 2; }
  .sentinela-layout { grid-template-columns: 0.55fr 1fr; }
  .sentinela-points { grid-column: 2; }
}

@media (max-width: 600px) {
  :root { --page-gutter: 22px; }
  .section-pad { padding-block: 72px; }
  .hero-grid { grid-template-columns: 1fr; gap: 38px; padding-block: 62px 35px; }
  .hero h1 { max-width: 540px; font-size: clamp(3.2rem, 13vw, 5rem); }
  .hero-lede { margin-top: 20px; font-size: 15px; }
  .hero-actions { gap: 18px; margin-top: 25px; }
  .hero-brand-panel { min-height: 280px; }
  .hero-symbol { width: 126px; }
  .brand-panel-caption { font-size: 16px; }
  .section-heading h2, .service-heading h2, .contact h2 { font-size: clamp(2.5rem, 10.8vw, 3.5rem); }
  .section-intro, .service-heading-copy > p { font-size: 14px; }
  .solution-card { padding-block: 23px; }
  .module-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px; }
  .module-grid li { min-height: 66px; gap: 10px; }
  .module-grid h3 { font-size: 12px; }
  .digital-twin { margin-top: 18px; }
  .digital-twin-stage { padding: 16px; }
  .twin-stage-topline { font-size: 7px; }
  .twin-model { height: 285px; }
  .twin-loading { top: 37px; height: 285px; }
  .twin-stage-footer { align-items: flex-start; flex-direction: column; gap: 7px; font-size: 6px; }
  .digital-twin-copy { padding: 27px 22px 30px; }
  .digital-twin-copy h3 { font-size: clamp(2.05rem, 10vw, 2.8rem); }
  .twin-description { font-size: 12px; }
  .consulting-steps { grid-template-columns: 1fr; margin-top: 43px; }
  .consulting-steps li, .consulting-steps li + li { min-height: 0; grid-template-columns: 34px 1fr; gap: 13px; padding: 20px; border: 0; }
  .consulting-steps p { max-width: 100%; }
  .cctv-heading { margin-bottom: 35px; }
  .cctv-deliverable { grid-template-columns: 1fr; gap: 12px; padding: 23px; }
  .deliverable-copy { grid-column: auto; }
  .sentinela-layout { grid-template-columns: 1fr; gap: 30px; }
  .sentinela-brand { width: 172px; }
  .sentinela-copy h2 { font-size: clamp(2.4rem, 10vw, 3.2rem); }
  .sentinela-points { grid-column: auto; }
  .contact-inner > p:not(.eyebrow) { font-size: 14px; }
  .footer-main { align-items: flex-start; flex-direction: column; justify-content: center; gap: 14px; padding-block: 24px; }
  .footer-main p { order: 1; }
  .back-top { order: 2; }
  .footer-legal { min-height: 52px; }
}

@media (prefers-reduced-motion: reduce) {
  .twin-loading i { animation: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
  .has-reveal [data-reveal] { opacity: 1; transform: none; }
}


@media (max-width: 960px) {
  .cctv-project-grid { grid-template-columns: 1fr; gap: 24px; }
  .cctv-project-aside { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); align-items: start; column-gap: 36px; }
  .cctv-aside-kicker, .cctv-project-aside h3, .cctv-aside-copy { grid-column: 1; }
  .cctv-view-options, .cctv-project-note { grid-column: 2; }
  .cctv-aside-kicker { grid-row: 1; }
  .cctv-project-aside h3 { grid-row: 2; }
  .cctv-aside-copy { grid-row: 3; }
  .cctv-view-options { grid-row: 1 / span 3; }
  .cctv-project-note { grid-row: 4; }
}
@media (max-width: 600px) {
  .cctv-project { padding: 18px 15px 15px; }
  .cctv-project-header { padding-bottom: 17px; }
  .cctv-project-id { gap: 8px; font-size: 7px; }
  .cctv-project-id strong { width: 32px; height: 32px; }
  .cctv-project-grid { gap: 21px; padding-block: 18px; }
  .cctv-viewport-bar { font-size: 7px; }
  .cctv-model-stage::after { inset: 7px; }
  .cctv-model-stamp { top: 17px; left: 17px; padding: 6px 7px; font-size: 7px; }
  .cctv-model-coordinates { top: 20px; right: 17px; font-size: 6px; }
  .cctv-model-caption { right: 17px; bottom: 16px; left: 17px; }
  .cctv-model-caption small { font-size: 7px; }
  .cctv-model-caption strong { font-size: 10px; }
  .cctv-project-aside { display: block; }
  .cctv-aside-kicker { margin-bottom: 11px; }
  .cctv-project-aside h3 { max-width: 340px; font-size: clamp(1.85rem, 9vw, 2.45rem); }
  .cctv-aside-copy { margin: 12px 0 15px; font-size: 11px; }
  .cctv-view-options { grid-template-columns: 1fr 1fr; gap: 5px; }
  .cctv-view-option { grid-template-columns: 23px minmax(0, 1fr); min-height: 47px; gap: 5px; padding: 7px 8px; font-size: 9px; }
  .cctv-view-option > span:last-child { display: none; }
  .cctv-project-note { margin-top: 13px; font-size: 8px; }
  .cctv-project-footer { align-items: flex-start; flex-direction: column; gap: 11px; padding-top: 13px; }
  .cctv-project-footer > span { gap: 6px; font-size: 7px; letter-spacing: 0.09em; }
}
