/* Self-hosted fonts (SIL Open Font License), latin + latin-ext subsets: no requests to Google */
@font-face { font-family: 'IBM Plex Mono'; font-style: normal; font-weight: 400; font-display: swap; src: url(/fonts/ibm-plex-mono-400-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'IBM Plex Mono'; font-style: normal; font-weight: 400; font-display: swap; src: url(/fonts/ibm-plex-mono-400-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'IBM Plex Mono'; font-style: normal; font-weight: 500; font-display: swap; src: url(/fonts/ibm-plex-mono-500-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'IBM Plex Mono'; font-style: normal; font-weight: 500; font-display: swap; src: url(/fonts/ibm-plex-mono-500-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Overpass'; font-style: normal; font-weight: 300 700; font-display: swap; src: url(/fonts/overpass-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Overpass'; font-style: normal; font-weight: 300 700; font-display: swap; src: url(/fonts/overpass-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --navy: #002B49;
  --navy-2: #0c3857;
  --navy-3: #07263b;
  --teal: #7EDDD3;
  --magenta: #C12CBC;
  --pink: #E07ADC;
  --lilac: #C9A3DB;
  --text-muted: #b7cbd8;
  --text-dim: #7f99ab;
  --line: rgba(255, 255, 255, .14);
  --line-soft: rgba(255, 255, 255, .1);
  --gutter: clamp(20px, 5vw, 64px);
  --section-y: clamp(72px, 9vw, 120px);
  --mono: 'IBM Plex Mono', monospace;
}

* { box-sizing: border-box; }
body { margin: 0; background: var(--navy); color: #fff; font-family: Overpass, sans-serif; min-height: 100vh; }
a { color: var(--teal); text-decoration: none; }
a:hover { color: var(--magenta); }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, p { margin: 0; }
img { display: block; }

.wrap { max-width: 1320px; margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.mono { font-family: var(--mono); }
.eyebrow { font-family: var(--mono); font-size: 13px; letter-spacing: .2em; color: var(--teal); }
.eyebrow--tight { letter-spacing: .15em; }
.muted { color: var(--text-muted); }
.heading { display: flex; flex-direction: column; gap: 16px; max-width: 760px; }
.h2-light { font-weight: 300; font-size: clamp(34px, 4vw, 52px); line-height: 1.1; letter-spacing: -.02em; text-wrap: pretty; }
.h2-case { font-weight: 300; font-size: clamp(30px, 3.6vw, 46px); line-height: 1.12; letter-spacing: -.02em; text-wrap: pretty; }
.dot { width: 8px; height: 8px; border-radius: 50%; flex: none; }
.bullet { width: 6px; height: 6px; border-radius: 50%; flex: none; transform: translateY(-3px); }
.media { position: relative; border-radius: 24px; overflow: hidden; background: var(--navy-3); }
.media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* Buttons */
.btn { display: inline-block; padding: 18px 28px; border-radius: 999px; font-size: 16px; text-align: center; transition: background .2s, border-color .2s, color .2s; }
.btn--primary { background: var(--teal); color: var(--navy); font-weight: 600; }
.btn--primary:hover { background: #fff; color: var(--navy); }
.btn--ghost { border: 1px solid rgba(255, 255, 255, .3); color: #fff; }
.btn--ghost:hover { border-color: #fff; color: #fff; }
.btn--outline { border: 1px solid var(--teal); color: var(--teal); padding: 10px 18px; font-size: 15px; }
.btn--outline:hover { background: var(--teal); color: var(--navy); }

/* Header */
.header { position: sticky; top: 0; z-index: 20; background: rgba(0, 43, 73, .92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid rgba(255, 255, 255, .08); }
.header__bar { padding-top: clamp(16px, 2vw, 20px); padding-bottom: clamp(16px, 2vw, 20px); display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.header__logo img { height: clamp(32px, 4vw, 40px); }
.nav { display: flex; gap: 32px; align-items: center; font-size: 15px; white-space: nowrap; flex-wrap: wrap; }
.nav a:not(.btn), .nav__toggle { color: #cfe0ea; }
.nav a:not(.btn):hover, .nav__toggle:hover { color: var(--teal); }
.nav .nav__lidar { display: inline-flex; align-items: center; gap: 8px; color: #fff; font-weight: 600; }
.nav__lidar .dot { background: var(--teal); box-shadow: 0 0 0 4px rgba(126, 221, 211, .18); }
.nav__services { position: relative; }
.nav__toggle { display: flex; gap: 6px; align-items: center; }
.nav__toggle span { font-size: 10px; opacity: .7; }
.dropdown { position: absolute; top: 36px; left: -24px; background: var(--navy-2); border: 1px solid rgba(255, 255, 255, .12); border-radius: 16px; padding: 10px; display: flex; flex-direction: column; min-width: 280px; box-shadow: 0 24px 48px rgba(0, 0, 0, .35); }
.dropdown[hidden] { display: none; }
.dropdown a { padding: 14px 16px; border-radius: 10px; display: flex; gap: 12px; align-items: center; }
.dropdown a:hover { background: rgba(255, 255, 255, .06); }
.lang { display: flex; gap: 6px; font-family: var(--mono); font-size: 13px; }
.lang a, .lang [aria-current] { color: #cfe0ea; }
.lang a:hover { color: var(--teal); }
.lang [aria-current] { color: var(--teal); }
.lang__sep { opacity: .4; }
.nav-mobile { display: none; gap: 16px; align-items: center; }
.nav-mobile .lang a, .nav-mobile .lang [aria-current], .nav-mobile .lang__sep { padding: 8px 2px; }
.burger { width: 44px; height: 44px; border: 1px solid rgba(255, 255, 255, .25); border-radius: 50%; display: flex; flex-direction: column; gap: 5px; align-items: center; justify-content: center; }
.burger span { width: 18px; height: 2px; background: #fff; border-radius: 2px; transition: transform .2s, opacity .2s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.mobile-menu { border-top: 1px solid rgba(255, 255, 255, .08); padding-top: 12px; padding-bottom: 28px; display: flex; flex-direction: column; max-height: calc(100vh - 81px); overflow-y: auto; }
.mobile-menu[hidden] { display: none; }
.mobile-menu__label { font-family: var(--mono); font-size: 12px; letter-spacing: .2em; color: var(--text-dim); padding: 16px 0 6px; }
.mobile-menu a:not(.btn) { padding: 14px 0; font-size: 20px; display: flex; gap: 12px; align-items: center; color: #fff; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.mobile-menu .btn { margin-top: 24px; }

@media (max-width: 1079px) {
  .nav { display: none; }
  .nav-mobile { display: flex; }
}
@media (min-width: 1080px) {
  .mobile-menu { display: none !important; }
}

/* Home */
.hero { padding-top: clamp(64px, 9vw, 120px); padding-bottom: clamp(72px, 9vw, 120px); display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 460px), 1fr)); gap: 48px; align-items: center; }
.hero__text { display: flex; flex-direction: column; gap: 32px; }
.hero__kicker { font-family: var(--mono); font-size: 14px; letter-spacing: .2em; color: var(--teal); }
.hero h1 { font-weight: 300; font-size: clamp(44px, 6vw, 84px); line-height: 1.02; letter-spacing: -.03em; text-wrap: pretty; }
.hero h1 span { font-weight: 600; color: var(--teal); }
.lead { font-size: clamp(17px, 1.5vw, 20px); line-height: 1.6; color: var(--text-muted); text-wrap: pretty; }
.hero .lead { max-width: 600px; }
.hero__actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero__emblem { width: 100%; max-width: 540px; aspect-ratio: 1; margin: 0 auto; }
.hero__emblem img { width: 100%; height: 100%; object-fit: contain; }

.stats { border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
.stats__grid { max-width: 1320px; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.stat { padding: 36px var(--gutter); display: flex; flex-direction: column; gap: 8px; }
.stat__value { font-weight: 300; letter-spacing: -.02em; min-height: 48px; display: flex; align-items: center; }
.stat__label { color: var(--text-muted); font-size: 15px; }

.clients-strip { padding-top: clamp(40px, 5vw, 64px); padding-bottom: clamp(40px, 5vw, 64px); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; }
.clients-strip > div { display: flex; flex-direction: column; gap: 8px; }
.clients { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 160px), 1fr)); gap: 12px; }
.client { background: #fff; border-radius: 16px; height: 132px; padding: 14px 16px 12px; display: flex; flex-direction: column; justify-content: center; gap: 8px; }
.client img { flex: 1; min-height: 0; width: 100%; object-fit: contain; }
.client span { font-size: 13px; font-weight: 600; color: var(--navy); text-align: center; }
/* Flex instead of grid so the last row stretches to fill the card: no empty cell with an odd count */
.clients--joined { display: flex; flex-wrap: wrap; gap: 1px; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .12); border-radius: 20px; overflow: hidden; }
.clients--joined .client { flex: 1 1 180px; border-radius: 0; height: 140px; padding: 16px 16px 12px; }
.services { background: var(--navy-2); }
.refs { padding-top: var(--section-y); display: flex; flex-direction: column; gap: 56px; }
.refs__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.refs__more { font-size: 15px; }
.refs__more:hover { color: #fff; }
.ref-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr)); gap: 24px; }
.ref-card { padding: clamp(28px, 3vw, 36px); display: flex; flex-direction: column; gap: 20px; min-height: 240px; border-top: 3px solid var(--teal); }
.ref-card__meta { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: 12px; letter-spacing: .15em; }
.ref-card__meta span:last-child { color: var(--text-dim); }
.ref-card__client { font-size: clamp(30px, 3vw, 40px); font-weight: 700; letter-spacing: -.02em; line-height: 1; }
.ref-card h3 { margin-top: auto; font-size: 21px; font-weight: 400; line-height: 1.35; color: #dbe6ec; text-wrap: pretty; }
.services__inner { padding-top: var(--section-y); padding-bottom: var(--section-y); display: flex; flex-direction: column; gap: 56px; }
.service-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 24px; }
.service-card { border: 1px solid var(--line); border-radius: 24px; padding: clamp(28px, 4vw, 40px); display: flex; flex-direction: column; gap: 22px; color: #fff; transition: border-color .2s, background .2s; }
.service-card:hover { color: #fff; border-color: rgba(255, 255, 255, .4); background: rgba(255, 255, 255, .03); }
.service-card h3 { font-size: 28px; font-weight: 600; letter-spacing: -.01em; }
.service-card p { color: var(--text-muted); font-size: 16px; line-height: 1.6; flex: 1; }
.service-card__more { font-size: 15px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tag { border: 1px solid rgba(255, 255, 255, .2); padding: 6px 14px; border-radius: 999px; font-size: 13px; color: #dbe6ec; }

.section { padding-top: var(--section-y); padding-bottom: var(--section-y); display: flex; flex-direction: column; gap: 56px; }
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); border-top: 1px solid var(--line); }
.step { padding: 32px 32px 32px 0; display: flex; flex-direction: column; gap: 14px; }
.step__n { font-family: var(--mono); font-size: 13px; color: var(--magenta); }
.step h3 { font-size: 21px; font-weight: 600; }
.step p { color: var(--text-muted); font-size: 15px; line-height: 1.6; }

/* Inner pages */
.page-hero { padding-top: clamp(64px, 8vw, 112px); padding-bottom: clamp(48px, 6vw, 72px); display: flex; flex-direction: column; gap: 28px; }
.crumbs { display: flex; gap: 10px; align-items: center; font-family: var(--mono); font-size: 13px; letter-spacing: .15em; color: var(--text-dim); }
.crumbs a { color: var(--text-dim); }
.page-hero h1 { font-weight: 300; font-size: clamp(40px, 5.5vw, 76px); line-height: 1.04; letter-spacing: -.03em; max-width: 1000px; text-wrap: pretty; }
.page-hero .lead { max-width: 760px; }
.page-body { padding-bottom: var(--section-y); display: flex; flex-direction: column; }
.card { background: var(--navy-2); border-radius: 24px; }
.card-outline { border: 1px solid var(--line); border-radius: 24px; padding: clamp(28px, 4vw, 48px); }
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 24px; }

/* Cyber */
.cyber-block { padding: clamp(28px, 4vw, 48px); display: flex; flex-direction: column; gap: 20px; }
.cyber-block h2, .physical-block h2 { font-size: 32px; font-weight: 600; }
.cyber-block p { color: var(--text-muted); line-height: 1.6; }
.checklist { display: flex; flex-direction: column; border-top: 1px solid rgba(255, 255, 255, .12); }
.checklist div { padding: 16px 0; border-bottom: 1px solid rgba(255, 255, 255, .12); display: flex; gap: 14px; align-items: baseline; font-size: 16px; }
.partners { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 32px; align-items: center; }
.partners h3 { font-size: 26px; font-weight: 600; line-height: 1.3; }
.partners p { color: var(--text-muted); line-height: 1.7; }

/* Physical */
.physical-block { overflow: hidden; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); }
.physical-block .media { border-radius: 0; min-height: clamp(220px, 30vw, 320px); }
.physical-block__body { padding: clamp(28px, 4vw, 56px); display: flex; flex-direction: column; gap: 18px; justify-content: center; }
.physical-block__body p { color: var(--text-muted); line-height: 1.65; }
.bullets { display: flex; flex-direction: column; gap: 10px; }
.bullets div { display: flex; gap: 14px; align-items: baseline; font-size: 16px; line-height: 1.5; }
.case-link { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; color: #fff; transition: border-color .2s; }
.case-link:hover { color: #fff; border-color: rgba(255, 255, 255, .4); }
.case-link h3 { font-size: 26px; font-weight: 600; }
.case-link > div { display: flex; flex-direction: column; gap: 10px; }

/* Products */
.solution-nav { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 16px; }
.solution-link { border: 1px solid var(--line); border-radius: 24px; background: none; padding: 28px; display: flex; flex-direction: column; gap: 12px; font: inherit; color: #fff; text-align: left; cursor: pointer; transition: border-color .2s, background .2s; }
.solution-link:hover { border-color: rgba(255, 255, 255, .4); background: rgba(255, 255, 255, .03); }
.solution-link__name { font-size: 20px; font-weight: 600; line-height: 1.25; }
.solution-link__need { color: var(--text-muted); font-size: 15px; line-height: 1.6; flex: 1; text-wrap: pretty; }
.products { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 24px; }
.product { overflow: hidden; display: flex; flex-direction: column; }
.product img { width: 100%; aspect-ratio: 4 / 3; background: var(--navy-3); }
.product__body { padding: 32px 32px 36px; display: flex; flex-direction: column; gap: 14px; flex: 1; }
.product h3 { font-size: 24px; font-weight: 600; line-height: 1.25; }
.product p { color: var(--text-muted); font-size: 15px; line-height: 1.65; flex: 1; text-wrap: pretty; }
.product__case { color: var(--pink); font-size: 15px; }
.product__case + .product__case { margin-top: -6px; }
.product__case:hover { color: #fff; }

/* Totems */
.totems { display: flex; flex-direction: column; gap: 40px; }
.totems__head { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 24px 48px; align-items: end; }
.totems__head p { font-size: 17px; line-height: 1.7; max-width: 560px; }
.totem-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 24px; }
.totem { overflow: hidden; display: flex; flex-direction: column; color: #fff; }
.totem img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; background: var(--navy-3); transition: transform .5s; }
a.totem:hover { color: #fff; }
a.totem:hover img { transform: scale(1.03); }
.totem__body { padding: 28px 28px 32px; display: flex; flex-direction: column; gap: 12px; flex: 1; position: relative; background: inherit; }
.totem h3 { font-size: 22px; font-weight: 600; line-height: 1.25; }
.totem p { color: var(--text-muted); font-size: 15px; line-height: 1.65; text-wrap: pretty; }
.totems__cta { align-self: flex-start; }

/* Case study */
.case-video { margin: 0; display: flex; flex-direction: column; gap: 14px; }
.case-video video, .case-film { width: 100%; aspect-ratio: 16 / 9; border-radius: 24px; background: var(--navy-2); display: block; }
.case-video figcaption { color: var(--text-dim); font-size: 14px; }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); border-top: 1px solid var(--line); }
.facts > div { padding: 28px 28px 28px 0; display: flex; flex-direction: column; gap: 8px; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.facts__value { font-size: clamp(32px, 3.5vw, 44px); font-weight: 300; letter-spacing: -.02em; color: var(--pink); }
.facts__label { color: var(--text-muted); font-size: 15px; line-height: 1.5; }
.facts__note { color: var(--text-muted); font-size: 17px; line-height: 1.6; }
.flow { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); border-top: 1px solid var(--line); }
.flow > div { padding: 28px 28px 28px 0; display: flex; flex-direction: column; gap: 12px; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.flow h3 { font-size: 20px; font-weight: 600; }
.flow p, .ui-notes p { color: var(--text-muted); font-size: 15px; line-height: 1.6; }
.ui-shot { width: 100%; border-radius: 24px; background: #272727; }
.ui-notes { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 24px; }
.ui-notes > div { border-top: 2px solid var(--pink); padding-top: 20px; display: flex; flex-direction: column; gap: 8px; }
.ui-notes--teal > div { border-top-color: var(--teal); }
.ui-notes h3 { font-size: 19px; font-weight: 600; }
.shots { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); gap: 16px; }
.shots img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 14px; background: var(--navy-2); }
.shots--captioned { grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); }
.shots--captioned figure { margin: 0; display: flex; flex-direction: column; gap: 10px; }
.shots--captioned figcaption, .case-note { color: var(--text-dim); font-size: 14px; line-height: 1.5; }
.json { background: var(--navy-3); border: 1px solid var(--line-soft); border-radius: 20px; padding: clamp(24px, 3vw, 36px); display: flex; flex-direction: column; gap: 16px; overflow-x: auto; }
.json code { font-family: var(--mono); font-size: 13px; line-height: 1.6; color: var(--teal); white-space: pre-wrap; word-break: break-all; }

/* Dev */
.dev-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr)); gap: 1px; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .12); border-radius: 24px; overflow: hidden; }
.dev-grid > div { background: var(--navy); padding: clamp(28px, 4vw, 40px); display: flex; flex-direction: column; gap: 16px; transition: background .2s; }
.dev-grid > div:hover { background: var(--navy-2); }
.dev-grid h3 { font-size: 24px; font-weight: 600; line-height: 1.25; }
.dev-grid p { color: var(--text-muted); font-size: 15px; line-height: 1.65; }
.sbd { padding: clamp(28px, 4vw, 56px); display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr)); gap: 40px; align-items: center; }
.sbd > div { display: flex; flex-direction: column; gap: 14px; }
.sbd h2 { font-size: clamp(28px, 3vw, 38px); font-weight: 300; line-height: 1.2; letter-spacing: -.01em; }
.sbd p { color: var(--text-muted); line-height: 1.7; font-size: 17px; }

/* About */
.about { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 48px; align-items: center; }
.about .media { min-height: clamp(260px, 40vw, 420px); }
.about__story { display: flex; flex-direction: column; gap: 20px; }
.about__story p { color: #cfdce4; font-size: 18px; line-height: 1.7; }
.sectors { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.sectors span { border: 1px solid rgba(126, 221, 211, .45); padding: 8px 16px; border-radius: 999px; font-size: 14px; }
.values { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 24px; }
.values > div { border-top: 2px solid var(--teal); padding-top: 28px; display: flex; flex-direction: column; gap: 12px; }
.values h3 { font-size: 22px; font-weight: 600; }
.values p { color: var(--text-muted); line-height: 1.65; }
.about-block { display: flex; flex-direction: column; gap: 32px; padding-top: 24px; }
.about-block__head { display: flex; flex-direction: column; gap: 12px; }
.about-block__head span { font-size: 13px; font-weight: 500; letter-spacing: .12em; color: var(--teal); }
.about-block__head h2 { font-size: clamp(28px, 3.4vw, 42px); font-weight: 600; line-height: 1.15; text-wrap: pretty; }
.ref-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 16px; }
.ref-list > div { border: 1px solid var(--line); border-radius: 20px; padding: 28px; display: flex; flex-direction: column; gap: 14px; min-height: 150px; }
.ref-list__meta { display: flex; justify-content: space-between; gap: 12px; font-size: 12px; font-weight: 500; letter-spacing: .1em; }
.ref-list__meta span:last-child { color: var(--text-dim); }
[id] { scroll-margin-top: 96px; }
.certs { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); gap: 16px; }
.cert { border: 1px solid var(--line); border-radius: 20px; padding: 28px; display: flex; flex-direction: column; gap: 16px; }
.cert__std { font-size: 13px; font-weight: 500; letter-spacing: .1em; color: var(--teal); }
.cert h3 { font-size: 22px; font-weight: 600; line-height: 1.3; text-wrap: pretty; }
.cert dl { display: flex; flex-direction: column; border-top: 1px solid rgba(255, 255, 255, .08); }
.cert dl > div { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid rgba(255, 255, 255, .08); font-size: 15px; }
.cert dt { color: var(--text-muted); }
.cert dd { margin: 0; text-align: right; }
.cert__pdf { color: var(--teal); font-size: 15px; }
.cert__note { color: var(--text-muted); font-size: 15px; line-height: 1.5; }
.cert-progress { align-self: flex-start; border: 1px solid var(--teal); color: var(--teal); border-radius: 999px; padding: 4px 12px; font-size: 12px; letter-spacing: .1em; }
.footer__certs { margin-top: 4px; font-size: 13px; letter-spacing: .06em; }
.ref-list h3 { margin-top: auto; font-size: 22px; font-weight: 600; line-height: 1.3; text-wrap: pretty; }

/* Contact */
.contact { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 48px; align-items: start; }
.contact__email { padding: clamp(32px, 5vw, 56px); display: flex; flex-direction: column; gap: 24px; }
.contact__address { font-size: clamp(28px, 3.4vw, 44px); font-weight: 300; letter-spacing: -.02em; color: #fff; word-break: break-all; }
.contact__address:hover { color: var(--teal); }
.contact__email p { color: var(--text-muted); line-height: 1.6; font-size: 17px; }
.contact__email .btn { align-self: flex-start; }
.contact__info { display: flex; flex-direction: column; gap: 32px; padding-top: 8px; }
.contact__info > div { display: flex; flex-direction: column; gap: 8px; font-size: 20px; line-height: 1.5; }

/* CTA */
.cta { border-top: 1px solid var(--line-soft); position: relative; overflow: hidden; }
.cta[hidden] { display: none; }
.cta__emblem { position: absolute; right: -180px; top: 50%; transform: translateY(-50%); width: min(640px, 90vw); opacity: .18; pointer-events: none; }
.cta__inner { padding-top: clamp(72px, 9vw, 112px); padding-bottom: clamp(72px, 9vw, 112px); display: flex; justify-content: space-between; align-items: center; gap: 40px; flex-wrap: wrap; position: relative; }
.cta__inner > div { display: flex; flex-direction: column; gap: 16px; max-width: 720px; }
.cta h2 { font-weight: 300; font-size: clamp(34px, 4.5vw, 56px); line-height: 1.08; letter-spacing: -.02em; text-wrap: pretty; }
.cta p { color: var(--text-muted); font-size: 18px; line-height: 1.6; }
.cta .btn { padding: 20px 32px; font-size: 17px; }

/* Footer */
.footer { border-top: 1px solid var(--line-soft); background: var(--navy-3); }
.footer__grid { padding-top: 56px; padding-bottom: 40px; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 40px; font-size: 15px; color: #9fb4c2; line-height: 1.9; }
.footer__grid > div { display: flex; flex-direction: column; }
.footer__grid a { color: #9fb4c2; }
.footer__grid a:hover { color: var(--teal); }
.footer__brand { gap: 16px; }
.footer__brand img { height: 34px; align-self: flex-start; }
.footer__brand span { line-height: 1.6; }
.footer__title { color: #fff; font-weight: 600; margin-bottom: 6px; }
.footer__legal { padding-top: 24px; padding-bottom: 40px; border-top: 1px solid rgba(255, 255, 255, .08); font-size: 13px; color: var(--text-dim); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.footer__legal .sep { font-family: var(--mono); }
.footer__legal a { color: var(--text-muted); }
.footer__legal a:hover { color: var(--teal); }

/* Legal text (privacy notice) */
.legal { max-width: 760px; display: flex; flex-direction: column; gap: 48px; }
.legal__section { display: flex; flex-direction: column; gap: 16px; }
.legal h2 { font-size: clamp(22px, 2.2vw, 26px); font-weight: 600; line-height: 1.3; }
.legal p, .legal li { color: #cfdce4; font-size: 17px; line-height: 1.7; }
.legal ul { margin: 0; padding-left: 22px; display: flex; flex-direction: column; gap: 12px; }
.legal li::marker { color: var(--teal); }
.legal a { overflow-wrap: anywhere; }
.legal__updated { font-size: 13px; color: var(--text-dim); }

/* Motion */
@keyframes tis-spin { to { rotate: 360deg; } }
@keyframes tis-spin-r { to { rotate: -360deg; } }
.hero__emblem img { animation: tis-spin 40s linear infinite; }
.cta__emblem { animation: tis-spin-r 90s linear infinite; }
[data-rv] { opacity: 0; transform: translateY(28px); transition: opacity .8s cubic-bezier(.2, .7, .2, 1) var(--rv-delay, 0ms), transform .8s cubic-bezier(.2, .7, .2, 1) var(--rv-delay, 0ms); }
[data-rv="in"] { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .hero__emblem img, .cta__emblem { animation: none; }
  [data-rv] { opacity: 1; transform: none; transition: none; }
}

/* TiS LiDAR in evidenza (home, sicurezza fisica) */
.feature { overflow: hidden; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); }
.feature__media img { width: 100%; height: 100%; min-height: 260px; object-fit: cover; }
.feature__body { padding: clamp(28px, 4vw, 56px); display: flex; flex-direction: column; gap: 18px; align-items: flex-start; justify-content: center; }
.feature__body h2 { font-size: clamp(28px, 3.2vw, 40px); font-weight: 600; line-height: 1.15; text-wrap: pretty; }
.feature__body p { color: var(--text-muted); line-height: 1.7; }

/* Prototipo della console TiS LiDAR (js/lidar-demo.js) */
.ldemo { position: relative; display: grid; grid-template-columns: 1fr 300px; border-radius: 24px; overflow: hidden; background: #00121f; border: 1px solid var(--line-soft); font-size: 13px; }
.ldemo__poster { grid-column: 1 / -1; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; opacity: .55; }
.ldemo__fallback { display: none; }
.ldemo--fallback .ldemo__poster { opacity: 1; }
.ldemo--fallback .ldemo__fallback { display: block; grid-column: 1 / -1; padding: 14px 20px; color: var(--text-muted); }
.ldemo__stage { position: relative; min-height: 460px; aspect-ratio: 16 / 10; overflow: hidden; touch-action: none; }
.ldemo__stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; cursor: crosshair; }
.ldemo__labels { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.ldemo__label { position: absolute; left: 0; top: 0; white-space: nowrap; font-size: 11px; line-height: 1.3; }
.ldemo__label--building { color: #fff; font-weight: 600; text-shadow: 0 1px 3px #00121f; }
.ldemo__label--zone { font-weight: 600; text-shadow: 0 1px 3px #00121f; }
.ldemo__label--sensor { color: #8fb0c4; font-size: 10px; }
.ldemo__label--track { background: #00121f; border: 1px solid var(--teal); border-radius: 4px; padding: 2px 6px; color: #fff; }
.ldemo__bar { position: absolute; top: 12px; left: 12px; right: 12px; display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.ldemo button { border: 1px solid var(--line); border-radius: 8px; padding: 6px 12px; background: rgba(0, 18, 31, .85); color: #cfe0ea; font-size: 13px; }
.ldemo button:hover { border-color: var(--teal); }
.ldemo button[aria-pressed="true"] { background: var(--teal); border-color: var(--teal); color: #00121f; }
.ldemo .ldemo__go { margin-left: auto; border-color: rgba(255, 77, 94, .6); color: #ffb3bb; }
.ldemo .ldemo__go:hover { border-color: #FF4D5E; color: #fff; }
.ldemo__group { display: inline-flex; gap: 4px; }
.ldemo__hint { position: absolute; top: 56px; left: 50%; transform: translateX(-50%); max-width: calc(100% - 24px); padding: 6px 12px; border-radius: 8px; background: rgba(7, 38, 59, .85); color: var(--text-muted); font-size: 12px; text-align: center; pointer-events: none; }
.ldemo__tiles { position: absolute; inset: 0; pointer-events: none; }
.ldemo__tile { position: absolute; border: 1px solid var(--line); border-radius: 6px; padding: 3px 6px; font-size: 10px; color: #fff; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; background: linear-gradient(rgba(0, 18, 31, .8), rgba(0, 18, 31, .8)) top / 100% 18px no-repeat; }
.ldemo__tile--alarm { border-color: #FF4D5E; }
.ldemo__count { position: absolute; right: 12px; bottom: 12px; color: var(--text-dim); font-size: 11px; pointer-events: none; }
.ldemo__panel { border-left: 1px solid var(--line-soft); background: #04192a; overflow-y: auto; height: 0; min-height: 100%; }
.ldemo__panel section { padding: 16px 18px; border-bottom: 1px solid var(--line-soft); display: flex; flex-direction: column; gap: 10px; }
.ldemo__panel h4 { margin: 0; font-family: var(--mono); font-size: 11px; font-weight: 500; letter-spacing: .14em; color: var(--teal); }
.ldemo__card { border: 1px solid var(--line-soft); border-left: 3px solid; border-radius: 8px; padding: 10px 12px; display: flex; flex-direction: column; gap: 6px; align-items: flex-start; color: var(--text-muted); font-size: 12px; }
.ldemo__card strong { color: #fff; font-weight: 600; font-size: 13px; }
.ldemo__badge { border-radius: 4px; padding: 1px 6px; color: #00121f; font-size: 11px; font-weight: 600; }
.ldemo__row { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.ldemo__row i { display: inline-block; width: 8px; height: 8px; border-radius: 2px; margin-right: 8px; }
.ldemo__muted { color: var(--text-dim); margin: 0; }
.ldemo__hot { color: #FF4D5E; font-weight: 600; }
@media (max-width: 900px) {
  .ldemo { grid-template-columns: 1fr; }
  .ldemo__stage { aspect-ratio: auto; height: 62vh; min-height: 380px; }
  .ldemo__panel { border-left: 0; border-top: 1px solid var(--line-soft); height: auto; }
  .ldemo__hint, .ldemo__count { display: none; }
}
@media (max-width: 600px) {
  .ldemo__label--sensor { display: none; }
}
