/* ==========================================================================
   Archiscan — design prototype v2
   Survey-grade dark · layered surfaces · ice-blue scan accent
   ========================================================================== */

:root {
  --bg: #06090d;
  --bg-1: #0a0f14;
  --bg-2: #0e141b;
  --surface: #121a23;
  --surface-2: #17212c;
  --line: rgba(206, 228, 240, 0.08);
  --line-2: rgba(206, 228, 240, 0.14);
  --line-3: rgba(206, 228, 240, 0.24);
  --text: #edf3f7;
  --text-2: rgba(222, 234, 241, 0.72);
  --text-3: rgba(222, 234, 241, 0.5);
  --ice: #8fd0e8;
  --ice-bright: #b9e6f5;
  --ice-deep: #3ea7cf;
  --ice-soft: rgba(143, 208, 232, 0.12);
  --ice-glow: rgba(110, 200, 235, 0.35);
  --font-sans: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", monospace;
  --header-h: 78px;
  --container: 1240px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --section-y: clamp(5rem, 9vw, 8.5rem);
  --radius: 6px;
  --radius-lg: 12px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  background: var(--bg);
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.nav-open {
  overflow: hidden;
}

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

a {
  color: inherit;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  padding: 0;
}

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

h1,
h2,
h3,
h4,
p,
figure,
blockquote,
dl,
dd {
  margin: 0;
}

::selection {
  background: var(--ice);
  color: #061018;
}

:focus-visible {
  outline: 2px solid var(--ice);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 100;
  background: var(--ice);
  color: #061018;
  padding: 0.65rem 0.9rem;
  border-radius: var(--radius);
  text-decoration: none;
}

.skip-link:focus {
  top: 0.75rem;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.container {
  width: min(var(--container), calc(100% - var(--gutter) * 2));
  margin-inline: auto;
}

/* Type
   ========================================================================== */

.display,
h1,
h2,
h3,
h4 {
  font-family: var(--font-sans);
  font-stretch: 108%;
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.02;
}

h1,
.h1 {
  font-size: clamp(2.9rem, 6.6vw, 6.4rem);
  line-height: 0.96;
  letter-spacing: -0.045em;
}

h2,
.h2 {
  font-size: clamp(2.2rem, 4.6vw, 4.1rem);
}

h3 {
  font-size: clamp(1.3rem, 1.8vw, 1.6rem);
  letter-spacing: -0.025em;
  line-height: 1.15;
}

.accent {
  background: linear-gradient(100deg, var(--ice-bright) 0%, var(--ice) 45%, var(--ice-deep) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lead {
  max-width: 38rem;
  font-size: clamp(1.08rem, 1.4vw, 1.22rem);
  line-height: 1.6;
  color: var(--text-2);
}

.muted {
  color: var(--text-2);
}

.prose {
  color: var(--text-2);
}

.prose p + p {
  margin-top: 1.1rem;
}

.prose strong {
  color: var(--text);
  font-weight: 500;
}

.mono,
.eyebrow,
.chip,
.btn,
.tag {
  font-family: var(--font-mono);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ice);
}

.eyebrow::after {
  content: "";
  width: 2.25rem;
  height: 1px;
  background: currentColor;
  opacity: 0.7;
}

.eyebrow .idx {
  color: var(--text-3);
}

.eyebrow.no-rule::after {
  display: none;
}

.placeholder-note,
.template-hint {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--font-mono);
  font-size: 0.64rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #f2c879;
}

.placeholder-note::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 10px currentColor;
}

.template-hint {
  color: var(--text-3);
}

.template-flag {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 1.4rem;
  padding: 0.45rem 0.75rem;
  border: 1px dashed rgba(242, 200, 121, 0.5);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 0.64rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #f2c879;
}

/* Chips and tags
   ========================================================================== */

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.42rem 0.7rem;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: rgba(14, 20, 27, 0.6);
  backdrop-filter: blur(8px);
  font-size: 0.66rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-2);
}

.chip::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--ice);
  box-shadow: 0 0 8px var(--ice);
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.tag {
  padding: 0.28rem 0.55rem;
  border: 1px solid var(--line-2);
  border-radius: 4px;
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-3);
}

/* Buttons
   ========================================================================== */

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  min-height: 50px;
  padding: 0.8rem 1.3rem;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease), box-shadow 0.3s var(--ease), transform 0.3s var(--ease);
}

.btn .arrow {
  transition: transform 0.3s var(--ease);
}

.btn:hover .arrow {
  transform: translateX(4px);
}

.btn-primary {
  background: var(--ice);
  color: #061018;
  box-shadow: 0 0 0 0 var(--ice-glow);
}

.btn-primary:hover {
  background: var(--ice-bright);
  box-shadow: 0 10px 34px -8px var(--ice-glow);
}

.btn-outline {
  border-color: var(--line-3);
  color: var(--text);
  background: rgba(10, 15, 20, 0.4);
  backdrop-filter: blur(8px);
}

.btn-outline:hover {
  border-color: var(--ice);
  color: var(--ice);
}

.btn-sm {
  min-height: 42px;
  padding: 0.6rem 1rem;
  font-size: 0.68rem;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ice);
}

.text-link .arrow {
  transition: transform 0.3s var(--ease);
}

.text-link:hover .arrow,
a:hover > .text-link .arrow {
  transform: translateX(4px);
}

/* Icons
   ========================================================================== */

.icon {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  stroke-width: 1.5;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.icon-box {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  flex: none;
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  background: linear-gradient(180deg, var(--ice-soft), transparent);
  color: var(--ice);
}

/* Header
   ========================================================================== */

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 60;
  transition: background 0.35s var(--ease), border-color 0.35s var(--ease), backdrop-filter 0.35s;
  border-bottom: 1px solid transparent;
}

.site-header.is-scrolled {
  background: rgba(6, 9, 13, 0.78);
  border-bottom-color: var(--line);
  backdrop-filter: blur(18px) saturate(140%);
}

.header-inner {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  height: var(--header-h);
  gap: 1.5rem;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--text);
  text-decoration: none;
}

.logo-word {
  font-stretch: 100%;
  font-weight: 600;
  font-size: 1.32rem;
  letter-spacing: -0.04em;
}

.logo-mark {
  width: 62px;
  height: 40px;
  flex: none;
}

.nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  margin-left: auto;
}

.nav-item {
  position: relative;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.6rem 0.85rem;
  border-radius: var(--radius);
  color: var(--text-2);
  font-size: 0.95rem;
  text-decoration: none;
  transition: color 0.25s var(--ease), background 0.25s var(--ease);
}

.nav-link:hover,
.nav-item:focus-within > .nav-link,
.nav-item:hover > .nav-link {
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
}

.nav-link[aria-current="page"] {
  color: var(--text);
}

.nav-link[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 0.85rem;
  right: 0.85rem;
  bottom: 0.2rem;
  height: 1px;
  background: var(--ice);
}

.nav-link .caret {
  width: 10px;
  height: 10px;
  transition: transform 0.25s var(--ease);
}

.nav-item:hover .caret,
.nav-item:focus-within .caret {
  transform: rotate(180deg);
}

.dropdown {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  width: 34rem;
  padding: 0.6rem;
  border: 1px solid var(--line-2);
  border-radius: var(--radius-lg);
  background: rgba(12, 18, 25, 0.96);
  backdrop-filter: blur(20px);
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.7);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 6px);
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), visibility 0.25s;
}

.dropdown::before {
  content: "";
  position: absolute;
  inset: -12px 0 auto;
  height: 12px;
}

.dropdown.is-narrow {
  width: 22rem;
}

.nav-item:hover .dropdown,
.nav-item:focus-within .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}

.dropdown-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.2rem;
}

.dropdown.is-narrow .dropdown-grid {
  grid-template-columns: 1fr;
}

.dropdown a {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.15rem 0.75rem;
  padding: 0.7rem 0.75rem;
  border-radius: var(--radius);
  text-decoration: none;
  transition: background 0.2s var(--ease);
}

.dropdown a:hover,
.dropdown a:focus-visible {
  background: rgba(143, 208, 232, 0.07);
}

.dropdown .dd-idx {
  grid-row: span 2;
  padding-top: 0.15rem;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  color: var(--ice);
}

.dropdown .dd-title {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text);
}

.dropdown .dd-text {
  font-size: 0.8rem;
  line-height: 1.4;
  color: var(--text-3);
}

.dropdown-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 0.4rem;
  padding: 0.75rem 0.75rem 0.35rem;
  border-top: 1px solid var(--line);
}

.header-cta {
  margin-left: 0.75rem;
}

.nav-toggle {
  display: none;
  position: relative;
  z-index: 2;
  width: 44px;
  height: 44px;
  margin-left: auto;
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  color: var(--text);
}

.nav-toggle span {
  position: absolute;
  left: 12px;
  width: 18px;
  height: 1.5px;
  background: currentColor;
  transition: transform 0.3s var(--ease), top 0.3s var(--ease), opacity 0.2s;
}

.nav-toggle span:nth-child(1) { top: 15px; }
.nav-toggle span:nth-child(2) { top: 21px; }
.nav-toggle span:nth-child(3) { top: 27px; }

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  top: 21px;
  transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  top: 21px;
  transform: rotate(-45deg);
}

.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  padding: calc(var(--header-h) + 1rem) var(--gutter) 2rem;
  overflow-y: auto;
  background:
    radial-gradient(ellipse at 100% 0%, rgba(143, 208, 232, 0.12), transparent 55%),
    var(--bg);
  visibility: hidden;
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0.3s;
}

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

.mobile-nav-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
  color: var(--text);
  font-size: 1.9rem;
  font-stretch: 108%;
  font-weight: 500;
  letter-spacing: -0.035em;
  text-decoration: none;
}

.mobile-nav-link .idx {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  color: var(--ice);
}

.mobile-nav-link[aria-current="page"] {
  color: var(--ice);
}

.mobile-nav .btn {
  margin-top: 1.6rem;
  align-self: flex-start;
}

.mobile-nav-meta {
  display: grid;
  gap: 0.35rem;
  margin-top: auto;
  padding-top: 2rem;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  color: var(--text-3);
}

.mobile-nav-meta a {
  color: var(--text);
  text-decoration: none;
}

/* Hero
   ========================================================================== */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  isolation: isolate;
  padding-top: var(--header-h);
  background: var(--bg);
}

.hero-media {
  position: absolute;
  inset: 0 0 0 auto;
  width: min(68vw, 1100px);
  z-index: -2;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 40% 50%;
  opacity: 0.82;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.35) 22%, #000 50%), linear-gradient(0deg, transparent 0%, #000 22%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.35) 22%, #000 50%), linear-gradient(0deg, transparent 0%, #000 22%);
  mask-composite: intersect;
  animation: hero-drift 24s ease-in-out infinite alternate;
}

@keyframes hero-drift {
  from { transform: scale(1.04) translate3d(0, 0, 0); }
  to { transform: scale(1.1) translate3d(-1.5%, -1%, 0); }
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(143, 208, 232, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(143, 208, 232, 0.05) 1px, transparent 1px);
  background-size: 80px 80px;
  -webkit-mask-image: radial-gradient(ellipse at 30% 40%, #000 0%, transparent 70%);
  mask-image: radial-gradient(ellipse at 30% 40%, #000 0%, transparent 70%);
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  width: 60vw;
  height: 60vw;
  left: -20vw;
  top: -10vw;
  z-index: -1;
  background: radial-gradient(circle, rgba(62, 167, 207, 0.14), transparent 62%);
  pointer-events: none;
}

.hero-sweep {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 40%;
  width: 1px;
  z-index: -1;
  background: linear-gradient(180deg, transparent, var(--ice) 25%, #fff 50%, var(--ice) 75%, transparent);
  box-shadow: 0 0 22px 2px var(--ice-glow);
  animation: sweep 9s cubic-bezier(0.65, 0, 0.35, 1) infinite;
  pointer-events: none;
}

.hero-sweep::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  width: 140px;
  background: linear-gradient(270deg, rgba(143, 208, 232, 0.12), transparent);
}

@keyframes sweep {
  0% { left: 38%; opacity: 0; }
  8% { opacity: 1; }
  50% { left: 96%; opacity: 1; }
  58%, 100% { left: 96%; opacity: 0; }
}

.hero-body {
  flex: 1;
  display: flex;
  align-items: center;
  padding: clamp(3rem, 8vh, 6rem) 0 clamp(2.5rem, 6vh, 4rem);
}

.hero-copy {
  max-width: 44rem;
}

.hero-copy .chips {
  margin-bottom: 1.8rem;
}

.hero h1 {
  margin-bottom: 1.6rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2.2rem;
}

.hud {
  position: absolute;
  right: var(--gutter);
  bottom: calc(100% + 2rem);
  width: 17.5rem;
  padding: 1rem 1.1rem;
  border: 1px solid var(--line-2);
  border-radius: var(--radius-lg);
  background: rgba(8, 12, 17, 0.72);
  backdrop-filter: blur(14px);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  color: var(--text-2);
}

.hud-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
  padding-bottom: 0.65rem;
  border-bottom: 1px solid var(--line);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--text);
}

.live-dot {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--ice);
}

.live-dot::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--ice);
  box-shadow: 0 0 0 0 var(--ice-glow);
  animation: pulse 2s ease-out infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(143, 208, 232, 0.6); }
  100% { box-shadow: 0 0 0 10px rgba(143, 208, 232, 0); }
}

.hud dl {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.4rem 1rem;
}

.hud dt {
  color: var(--text-3);
  text-transform: uppercase;
}

.hud dd {
  text-align: right;
  color: var(--text);
}

.hud-bar {
  height: 3px;
  margin-top: 0.85rem;
  border-radius: 3px;
  background: var(--line-2);
  overflow: hidden;
}

.hud-bar span {
  display: block;
  height: 100%;
  width: 40%;
  background: linear-gradient(90deg, var(--ice-deep), var(--ice));
  animation: load 6s var(--ease) infinite;
}

@keyframes load {
  0% { width: 6%; }
  70%, 100% { width: 100%; }
}

.hero-specs {
  position: relative;
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(6, 9, 13, 0.2), rgba(6, 9, 13, 0.85));
  backdrop-filter: blur(6px);
}

.spec-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.spec {
  display: flex;
  gap: 0.95rem;
  align-items: center;
  padding: 1.5rem 1.5rem 1.5rem 0;
}

.spec + .spec {
  padding-left: 1.5rem;
  border-left: 1px solid var(--line);
}

.spec .icon {
  color: var(--ice);
  flex: none;
}

.spec-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-3);
}

.spec-value {
  display: block;
  margin-top: 0.15rem;
  font-size: 1.02rem;
  font-weight: 500;
  letter-spacing: -0.01em;
}

/* Ticker
   ========================================================================== */

.ticker {
  overflow: hidden;
  border-block: 1px solid var(--line);
  background: var(--bg-1);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}

.ticker-track {
  display: flex;
  width: max-content;
  animation: ticker 48s linear infinite;
}

.ticker:hover .ticker-track {
  animation-play-state: paused;
}

.ticker-group {
  display: flex;
  align-items: center;
}

.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 2.4rem;
  padding: 1.35rem 1.2rem;
  font-size: clamp(1.1rem, 1.8vw, 1.45rem);
  font-stretch: 108%;
  font-weight: 400;
  letter-spacing: -0.02em;
  white-space: nowrap;
  color: var(--text-2);
}

.ticker-item::after {
  content: "";
  width: 7px;
  height: 7px;
  border: 1px solid var(--ice);
  transform: rotate(45deg);
}

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

/* Page hero (inner pages)
   ========================================================================== */

.page-hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding: calc(var(--header-h) + clamp(4rem, 9vw, 7rem)) 0 clamp(3.5rem, 7vw, 5.5rem);
  border-bottom: 1px solid var(--line);
}

.page-hero-media {
  position: absolute;
  inset: 0 0 0 auto;
  width: min(62vw, 980px);
  z-index: -2;
}

.page-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.6;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 55%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 55%);
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, var(--bg) 25%, rgba(6, 9, 13, 0.55) 60%, rgba(6, 9, 13, 0.25)),
    linear-gradient(0deg, var(--bg), transparent 40%);
}

.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(143, 208, 232, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(143, 208, 232, 0.045) 1px, transparent 1px);
  background-size: 80px 80px;
  -webkit-mask-image: radial-gradient(ellipse at 20% 30%, #000 0%, transparent 65%);
  mask-image: radial-gradient(ellipse at 20% 30%, #000 0%, transparent 65%);
  pointer-events: none;
}

.page-hero-inner > * {
  max-width: 52rem;
}

.page-hero-inner > .lead {
  max-width: 40rem;
}

.page-hero h1 {
  margin: 1.2rem 0 1.4rem;
  font-size: clamp(2.6rem, 5.6vw, 5.2rem);
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.6rem;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-3);
}

.breadcrumb a {
  text-decoration: none;
  color: var(--text-2);
}

.breadcrumb a:hover {
  color: var(--ice);
}

.breadcrumb li + li::before {
  content: "/";
  margin-right: 0.5rem;
  color: var(--text-3);
}

.page-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

.jump-nav {
  position: sticky;
  top: var(--header-h);
  z-index: 20;
  border-bottom: 1px solid var(--line);
  background: rgba(6, 9, 13, 0.82);
  backdrop-filter: blur(16px);
}

.jump-nav .container {
  display: flex;
  gap: 0.5rem;
  padding: 0.85rem 0;
  overflow-x: auto;
  scrollbar-width: none;
}

.jump-nav .container::-webkit-scrollbar {
  display: none;
}

.jump-nav a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  flex: none;
  padding: 0.45rem 0.8rem;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  font-size: 0.88rem;
  color: var(--text-2);
  text-decoration: none;
  transition: border-color 0.2s var(--ease), color 0.2s var(--ease);
}

.jump-nav a span {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  color: var(--ice);
}

.jump-nav a:hover {
  border-color: var(--ice);
  color: var(--text);
}

/* Sections
   ========================================================================== */

.section {
  position: relative;
  padding: var(--section-y) 0;
}

.section-alt {
  background: var(--bg-1);
  border-block: 1px solid var(--line);
}

.section.is-tight {
  padding-top: 0;
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 1.5rem 5rem;
  align-items: end;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.section-head h2 {
  margin-top: 1.1rem;
}

.section-head > p,
.section-head .head-aside {
  max-width: 34rem;
  color: var(--text-2);
}

.section-head.is-stacked {
  grid-template-columns: 1fr;
  max-width: 48rem;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 3rem clamp(3rem, 7vw, 6.5rem);
  align-items: start;
}

.split h2 {
  margin-top: 1.1rem;
}

/* Corner frame (instrument look)
   ========================================================================== */

.frame {
  position: relative;
  --c: var(--ice);
  --s: 14px;
}

.frame::before {
  content: "";
  position: absolute;
  inset: -1px;
  z-index: 3;
  pointer-events: none;
  background:
    linear-gradient(var(--c), var(--c)) left top / var(--s) 1px no-repeat,
    linear-gradient(var(--c), var(--c)) left top / 1px var(--s) no-repeat,
    linear-gradient(var(--c), var(--c)) right top / var(--s) 1px no-repeat,
    linear-gradient(var(--c), var(--c)) right top / 1px var(--s) no-repeat,
    linear-gradient(var(--c), var(--c)) left bottom / var(--s) 1px no-repeat,
    linear-gradient(var(--c), var(--c)) left bottom / 1px var(--s) no-repeat,
    linear-gradient(var(--c), var(--c)) right bottom / var(--s) 1px no-repeat,
    linear-gradient(var(--c), var(--c)) right bottom / 1px var(--s) no-repeat;
}

.media-label {
  position: absolute;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.38rem 0.6rem;
  border: 1px solid var(--line-2);
  border-radius: 4px;
  background: rgba(6, 9, 13, 0.72);
  backdrop-filter: blur(8px);
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-2);
}

.media-label.tl { top: 0.9rem; left: 0.9rem; }
.media-label.br { right: 0.9rem; bottom: 0.9rem; }
.media-label.bl { left: 0.9rem; bottom: 0.9rem; }

/* Credentials / facts
   ========================================================================== */

.facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-top: 2.4rem;
  border-top: 1px solid var(--line);
}

.fact {
  padding: 1.2rem 1.2rem 1.2rem 0;
  border-bottom: 1px solid var(--line);
}

.fact:nth-child(even) {
  padding-left: 1.4rem;
  border-left: 1px solid var(--line);
}

.fact dt {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-3);
}

.fact dd {
  margin-top: 0.35rem;
  font-size: 1.08rem;
  font-weight: 500;
  letter-spacing: -0.01em;
}

.pull {
  font-size: clamp(1.5rem, 2.6vw, 2.15rem);
  font-stretch: 106%;
  font-weight: 400;
  line-height: 1.22;
  letter-spacing: -0.025em;
  color: var(--text);
}

.pull em {
  font-style: normal;
  color: var(--ice);
}

/* Service cards
   ========================================================================== */

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, var(--surface), var(--bg-2));
  overflow: hidden;
  text-decoration: none;
  transition: border-color 0.35s var(--ease), transform 0.45s var(--ease), box-shadow 0.45s var(--ease);
}

.service-card:hover {
  border-color: rgba(143, 208, 232, 0.4);
  transform: translateY(-4px);
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(143, 208, 232, 0.08);
}

.service-media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #05080b;
}

.service-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.9s var(--ease), filter 0.6s var(--ease);
  filter: saturate(0.9) brightness(0.92);
}

.service-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(14, 20, 27, 0.9));
}

.service-card:hover .service-media img {
  transform: scale(1.06);
  filter: saturate(1.05) brightness(1);
}

.service-media.is-light {
  background: #eef2f4;
}

.service-media.is-light img {
  filter: none;
}

.service-media.is-light::after {
  background: linear-gradient(180deg, transparent 80%, rgba(6, 9, 13, 0.18));
}

.service-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 0.75rem;
  padding: 1.4rem 1.5rem 1.5rem;
}

.service-body p {
  color: var(--text-2);
  font-size: 0.98rem;
}

.service-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}

.card-idx {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.12em;
  color: var(--ice);
}

/* Service rows (services page)
   ========================================================================== */

.service-rows {
  display: grid;
  gap: 1.25rem;
}

.service-row {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, var(--surface), var(--bg-2));
  overflow: hidden;
  scroll-margin-top: calc(var(--header-h) + 5.5rem);
  transition: border-color 0.35s var(--ease);
}

.service-row:hover {
  border-color: rgba(143, 208, 232, 0.32);
}

.service-row:nth-child(even) .service-media {
  order: 2;
}

.service-row .service-media {
  aspect-ratio: auto;
  min-height: 340px;
}

.service-row .service-media::after {
  background: linear-gradient(90deg, transparent 60%, rgba(14, 20, 27, 0.5));
}

.service-row-body {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: clamp(1.6rem, 3.5vw, 2.8rem);
}

.service-row-body h2 {
  font-size: clamp(1.7rem, 2.6vw, 2.35rem);
}

.service-row-body > p {
  color: var(--text-2);
}

.check-list {
  display: grid;
  gap: 0.55rem;
  margin-top: 0.25rem;
}

.check-list li {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 0.7rem;
  align-items: start;
  color: var(--text-2);
  font-size: 0.97rem;
}

.check-list .icon {
  width: 18px;
  height: 18px;
  margin-top: 0.2rem;
  color: var(--ice);
}

.service-row-foot {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  margin-top: auto;
  padding-top: 1.25rem;
}

/* Benefits
   ========================================================================== */

.benefit-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.benefit {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  padding: 1.6rem 1.5rem 1.7rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, var(--surface), transparent 120%);
  overflow: hidden;
  transition: border-color 0.35s var(--ease);
}

.benefit::after {
  content: "";
  position: absolute;
  inset: auto -30% -60% auto;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(143, 208, 232, 0.16), transparent 70%);
  opacity: 0;
  transition: opacity 0.5s var(--ease);
}

.benefit:hover {
  border-color: rgba(143, 208, 232, 0.32);
}

.benefit:hover::after {
  opacity: 1;
}

.benefit-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.benefit h3 {
  margin-top: 0.6rem;
}

.benefit p {
  color: var(--text-2);
  font-size: 0.97rem;
}

/* Comparison table
   ========================================================================== */

.compare {
  margin-top: clamp(2.5rem, 5vw, 4rem);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.compare-row {
  display: grid;
  grid-template-columns: 1fr 1.3fr 1.3fr;
  align-items: stretch;
}

.compare-row > * {
  display: flex;
  align-items: center;
}

.compare-row + .compare-row {
  border-top: 1px solid var(--line);
}

.compare-row > * {
  padding: 1.05rem 1.4rem;
}

.compare-row > * + * {
  border-left: 1px solid var(--line);
}

.compare-head {
  background: var(--bg-2);
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-3);
}

.compare-head .is-scan {
  color: var(--ice);
}

.compare-row .label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-3);
}

.compare-row .old {
  color: var(--text-3);
}

.compare-row .new {
  gap: 0.6rem;
  color: var(--text);
  background: linear-gradient(90deg, rgba(143, 208, 232, 0.05), transparent);
}

.compare-row .new .icon {
  width: 18px;
  height: 18px;
  margin-top: 0.2rem;
  color: var(--ice);
  flex: none;
}

/* Method stepper
   ========================================================================== */

.method {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 3rem clamp(3rem, 6vw, 5.5rem);
  align-items: center;
}

.method h2 {
  margin: 1.1rem 0 1.25rem;
}

.steps {
  margin-top: 2.2rem;
  border-top: 1px solid var(--line);
}

.step {
  border-bottom: 1px solid var(--line);
}

.step-btn {
  position: relative;
  display: grid;
  grid-template-columns: 2.6rem 1fr auto;
  align-items: center;
  width: 100%;
  padding: 1.05rem 0;
  text-align: left;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-3);
  transition: color 0.3s var(--ease);
}

.step-btn:hover {
  color: var(--text-2);
}

.step-btn .step-n {
  color: inherit;
}

.step-btn .step-plus {
  width: 14px;
  height: 14px;
  transition: transform 0.35s var(--ease);
}

.step.is-active .step-btn {
  color: var(--text);
}

.step.is-active .step-n {
  color: var(--ice);
}

.step.is-active .step-plus {
  transform: rotate(45deg);
  color: var(--ice);
}

.step-progress {
  position: absolute;
  left: 0;
  bottom: -1px;
  height: 1px;
  width: 0;
  background: var(--ice);
  box-shadow: 0 0 8px var(--ice);
}

.step.is-active .step-progress {
  animation: step-progress var(--step-ms, 6000ms) linear forwards;
}

.method.is-paused .step.is-active .step-progress {
  animation: none;
  width: 100%;
}

@keyframes step-progress {
  from { width: 0; }
  to { width: 100%; }
}

.step-panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.45s var(--ease);
}

.step.is-active .step-panel {
  grid-template-rows: 1fr;
}

.step-panel > div {
  overflow: hidden;
}

.step-panel h3 {
  margin: 0.5rem 0 0.45rem 2.6rem;
  font-size: 1.35rem;
}

.step-panel p {
  margin: 0 0 1.3rem 2.6rem;
  color: var(--text-2);
  font-size: 0.98rem;
}

.method-visual {
  position: relative;
  aspect-ratio: 5 / 4;
  border: 1px solid var(--line-2);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(rgba(143, 208, 232, 0.04) 1px, transparent 1px) 0 0 / 40px 40px,
    linear-gradient(90deg, rgba(143, 208, 232, 0.04) 1px, transparent 1px) 0 0 / 40px 40px,
    #05080b;
  overflow: hidden;
}

.method-visual .frame-wrap {
  position: absolute;
  inset: 0;
}

.visual-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(1.03);
  transition: opacity 0.7s var(--ease), transform 1.2s var(--ease);
}

.visual-slide.is-active {
  opacity: 1;
  transform: none;
}

.visual-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.visual-slide.is-contain img {
  object-fit: contain;
  padding: 2rem;
}

.visual-slide.is-light {
  background: #eef2f4;
}

.manifest {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 2rem;
}

.manifest-card {
  width: min(100%, 25rem);
  border: 1px solid var(--line-2);
  border-radius: var(--radius-lg);
  background: rgba(14, 20, 27, 0.92);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.9), 0 0 60px -20px var(--ice-glow);
}

.manifest-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.95rem 1.15rem;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-2);
}

.manifest-list li {
  display: grid;
  grid-template-columns: 34px 1fr auto;
  gap: 0.8rem;
  align-items: center;
  padding: 0.85rem 1.15rem;
  border-bottom: 1px solid var(--line);
}

.manifest-list li:last-child {
  border-bottom: 0;
}

.manifest-list .file {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 6px;
  background: var(--ice-soft);
  color: var(--ice);
}

.manifest-list .file .icon {
  width: 17px;
  height: 17px;
}

.manifest-list strong {
  display: block;
  font-size: 0.95rem;
  font-weight: 500;
}

.manifest-list small {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-3);
}

.manifest-list .ok {
  color: var(--ice);
}

.manifest-list .ok .icon {
  width: 18px;
  height: 18px;
}

.visual-scan {
  position: absolute;
  left: 0;
  right: 0;
  height: 1px;
  z-index: 2;
  background: linear-gradient(90deg, transparent, var(--ice) 20%, #fff 50%, var(--ice) 80%, transparent);
  box-shadow: 0 0 18px var(--ice-glow);
  animation: vscan 5.5s ease-in-out infinite;
}

@keyframes vscan {
  0%, 100% { top: 8%; opacity: 0; }
  10%, 90% { opacity: 1; }
  50% { top: 92%; }
}

/* Sector cards
   ========================================================================== */

.sector-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.sector-card {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 520px;
  padding: 1.6rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  text-decoration: none;
  background: var(--surface);
  scroll-margin-top: calc(var(--header-h) + 1.5rem);
  transition: border-color 0.35s var(--ease);
}

.sector-card img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.75) brightness(0.8);
  transition: transform 1s var(--ease), filter 0.6s var(--ease);
}

.sector-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(6, 9, 13, 0.25) 0%, rgba(6, 9, 13, 0.35) 35%, rgba(6, 9, 13, 0.96) 85%),
    linear-gradient(0deg, rgba(62, 167, 207, 0.12), transparent 50%);
}

.sector-card:hover {
  border-color: rgba(143, 208, 232, 0.4);
}

.sector-card:hover img {
  transform: scale(1.06);
  filter: saturate(0.95) brightness(0.9);
}

.sector-card .icon-box {
  position: absolute;
  top: 1.4rem;
  left: 1.4rem;
  background: rgba(6, 9, 13, 0.6);
  backdrop-filter: blur(8px);
}

.sector-card .card-idx {
  position: absolute;
  top: 1.6rem;
  right: 1.5rem;
}

.sector-card h3 {
  font-size: clamp(1.5rem, 2.2vw, 1.95rem);
  margin-bottom: 0.65rem;
}

.sector-card p {
  color: var(--text-2);
  font-size: 0.98rem;
}

.sector-card .tags {
  margin-top: 1.1rem;
}

.sector-card .tag {
  color: var(--text-2);
  background: rgba(6, 9, 13, 0.4);
}

.sector-card .service-foot {
  margin-top: 1.3rem;
}

/* Sector feature rows (sectors page)
   ========================================================================== */

.feature {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 2.5rem clamp(3rem, 6vw, 5.5rem);
  align-items: center;
  scroll-margin-top: calc(var(--header-h) + 2rem);
}

.feature + .feature {
  margin-top: clamp(4rem, 8vw, 7rem);
}

.feature.is-flipped .feature-media {
  order: 2;
}

.feature-media {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line-2);
}

.feature-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.85);
}

.feature-body h2 {
  margin: 1rem 0 1.2rem;
  font-size: clamp(2rem, 3.6vw, 3.2rem);
}

.feature-body .tags {
  margin: 1.6rem 0 1.8rem;
}

/* Gallery / work
   ========================================================================== */

.work-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  grid-template-rows: auto auto;
  gap: 1rem;
}

.work-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 280px;
  padding: 1.5rem;
  border: 1px dashed var(--line-3);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background:
    radial-gradient(circle at 1px 1px, rgba(143, 208, 232, 0.22) 1px, transparent 0) 0 0 / 18px 18px,
    linear-gradient(180deg, var(--bg-2), var(--bg-1));
}

.work-card.is-feature {
  grid-row: span 2;
  min-height: 580px;
}

.work-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(6, 9, 13, 0.92));
}

.work-card > * {
  position: relative;
}

.work-card .placeholder-note {
  margin-bottom: auto;
  align-self: flex-start;
}

.work-card h3 {
  margin: 0.6rem 0 0.4rem;
}

.work-card.is-feature h3 {
  font-size: clamp(1.6rem, 2.6vw, 2.3rem);
}

.work-card p {
  max-width: 34rem;
  color: var(--text-2);
}

.work-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 1rem;
}

.logo-wall {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0.75rem;
  margin-top: 1.1rem;
}

.logo-wall li {
  display: grid;
  place-items: center;
  height: 84px;
  border: 1px dashed var(--line-2);
  border-radius: var(--radius);
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-3);
}

.clients {
  margin-top: clamp(3rem, 6vw, 4.5rem);
  padding-top: 2rem;
  border-top: 1px solid var(--line);
}

.clients-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
  align-items: center;
}

/* FAQ
   ========================================================================== */

.faq-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 3rem clamp(3rem, 6vw, 5.5rem);
  align-items: start;
}

.faq-aside {
  position: sticky;
  top: calc(var(--header-h) + 2rem);
}

.faq-aside h2 {
  margin: 1.1rem 0 1.25rem;
}

.faq-help {
  display: flex;
  gap: 1rem;
  align-items: center;
  margin-top: 2rem;
  padding: 1.1rem 1.2rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--bg-2);
}

.faq-help p {
  font-size: 0.95rem;
  color: var(--text-2);
}

.faq-help a {
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
}

.faq-help a:hover {
  color: var(--ice);
}

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

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  padding: 1.4rem 0;
  cursor: pointer;
  list-style: none;
  font-size: clamp(1.05rem, 1.5vw, 1.22rem);
  font-weight: 500;
  letter-spacing: -0.015em;
  transition: color 0.25s var(--ease);
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary:hover {
  color: var(--ice);
}

.faq-toggle {
  position: relative;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  flex: none;
  border: 1px solid var(--line-2);
  border-radius: 50%;
  color: var(--ice);
  transition: transform 0.35s var(--ease), background 0.3s var(--ease);
}

.faq-toggle .icon {
  width: 14px;
  height: 14px;
}

.faq-item[open] .faq-toggle {
  transform: rotate(45deg);
  background: var(--ice-soft);
}

.faq-answer {
  max-width: 44rem;
  padding: 0 3.5rem 1.5rem 0;
  color: var(--text-2);
}

/* Process timeline (sector + service pages)
   ========================================================================== */

.timeline {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  counter-reset: phase;
}

.timeline.is-four {
  grid-template-columns: repeat(4, 1fr);
}

.phase {
  position: relative;
  padding: 1.6rem 1.5rem 1.7rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, var(--surface), transparent 130%);
}

.phase::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 1.5rem;
  width: 3rem;
  height: 2px;
  background: var(--ice);
  box-shadow: 0 0 12px var(--ice);
}

.phase-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.4rem;
}

.phase h3 {
  margin-bottom: 0.55rem;
}

.phase p {
  color: var(--text-2);
  font-size: 0.97rem;
}

.phase .tags {
  margin-top: 1.1rem;
}

/* Detail page aside (service template)
   ========================================================================== */

.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 22rem;
  gap: 3rem clamp(3rem, 6vw, 5rem);
  align-items: start;
}

.spec-card {
  position: sticky;
  top: calc(var(--header-h) + 2rem);
  border: 1px solid var(--line-2);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, var(--surface), var(--bg-2));
  overflow: hidden;
}

.spec-card-head {
  padding: 1.1rem 1.3rem;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ice);
}

.spec-card dl > div {
  padding: 0.95rem 1.3rem;
  border-bottom: 1px solid var(--line);
}

.spec-card dt {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-3);
}

.spec-card dd {
  margin-top: 0.25rem;
  font-size: 0.98rem;
}

.spec-card-foot {
  display: grid;
  gap: 0.6rem;
  padding: 1.2rem 1.3rem 1.3rem;
}

.spec-card-foot .btn {
  width: 100%;
}

.detail-media {
  position: relative;
  margin-top: 2.5rem;
  aspect-ratio: 16 / 8;
  border: 1px solid var(--line-2);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #f1f4f6;
}

.detail-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.deliverables {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 2.2rem;
}

.deliverable {
  display: flex;
  gap: 1rem;
  padding: 1.3rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--bg-2);
}

.deliverable h3 {
  font-size: 1.12rem;
  margin-bottom: 0.3rem;
}

.deliverable p {
  color: var(--text-2);
  font-size: 0.94rem;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.75rem;
}

.related-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  text-decoration: none;
  background: var(--bg-2);
  transition: border-color 0.35s var(--ease), transform 0.4s var(--ease);
}

.related-card:hover {
  border-color: rgba(143, 208, 232, 0.4);
  transform: translateY(-3px);
}

.related-card .service-media {
  aspect-ratio: 4 / 3;
}

.related-card span {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.9rem 1rem;
  font-size: 0.95rem;
  font-weight: 500;
}

.related-card span i {
  font-style: normal;
  color: var(--ice);
  transition: transform 0.3s var(--ease);
}

.related-card:hover span i {
  transform: translateX(3px);
}

/* About
   ========================================================================== */

.about-media {
  position: relative;
  aspect-ratio: 5 / 4;
  border: 1px solid var(--line-2);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #000;
}

.about-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.office-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.office {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  min-height: 230px;
  padding: 1.6rem 1.5rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background:
    radial-gradient(circle at 1px 1px, rgba(143, 208, 232, 0.14) 1px, transparent 0) 0 0 / 16px 16px,
    var(--bg-2);
}

.office::after {
  content: "";
  position: absolute;
  right: 1.5rem;
  top: 1.6rem;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--ice);
  box-shadow: 0 0 0 6px rgba(143, 208, 232, 0.15), 0 0 0 14px rgba(143, 208, 232, 0.06);
}

.office h3 {
  margin-top: auto;
  font-size: clamp(1.6rem, 2.4vw, 2.1rem);
}

.office .coords {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.1em;
  color: var(--text-3);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.team-card {
  display: flex;
  gap: 1rem;
  align-items: center;
  padding: 1.3rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--bg-2);
}

.avatar {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  flex: none;
  border: 1px solid rgba(143, 208, 232, 0.35);
  border-radius: 50%;
  background: var(--ice-soft);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  color: var(--ice);
}

.team-card h3 {
  font-size: 1.08rem;
  margin-bottom: 0.15rem;
}

.team-card p {
  font-size: 0.88rem;
  color: var(--text-3);
}

.team-card .placeholder-note {
  margin-top: 0.4rem;
}

/* Contact
   ========================================================================== */

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
  gap: 1.25rem;
  align-items: start;
}

.form-card {
  padding: clamp(1.6rem, 3.5vw, 2.6rem);
  border: 1px solid var(--line-2);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, var(--surface), var(--bg-2));
}

.form-card h2 {
  font-size: clamp(1.6rem, 2.6vw, 2.2rem);
  margin-bottom: 0.5rem;
}

.form-card > p {
  color: var(--text-2);
  margin-bottom: 2rem;
}

.form {
  display: grid;
  gap: 1.2rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}

.field {
  display: grid;
  gap: 0.45rem;
}

.field label,
.field legend {
  font-family: var(--font-mono);
  font-size: 0.64rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-2);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 0.85rem 0.95rem;
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  background: rgba(6, 9, 13, 0.55);
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.field input::placeholder,
.field textarea::placeholder {
  color: var(--text-3);
}

.field textarea {
  min-height: 9rem;
  resize: vertical;
}

.field select {
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--ice) 50%),
    linear-gradient(135deg, var(--ice) 50%, transparent 50%);
  background-position: calc(100% - 18px) 52%, calc(100% - 13px) 52%;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
}

.field select option {
  background: var(--bg-2);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--ice);
  box-shadow: 0 0 0 3px rgba(143, 208, 232, 0.15);
}

fieldset.field {
  margin: 0;
  padding: 0;
  border: 0;
}

.choice-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.45rem;
}

.choice {
  position: relative;
}

.choice input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.choice span {
  display: inline-flex;
  padding: 0.55rem 0.85rem;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  font-size: 0.9rem;
  color: var(--text-2);
  cursor: pointer;
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease), color 0.2s var(--ease);
}

.choice span:hover {
  border-color: var(--line-3);
  color: var(--text);
}

.choice input:checked + span {
  border-color: var(--ice);
  background: var(--ice-soft);
  color: var(--ice);
}

.choice input:focus-visible + span {
  outline: 2px solid var(--ice);
  outline-offset: 2px;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  margin-top: 0.4rem;
}

.form-note {
  font-size: 0.85rem;
  color: var(--text-3);
}

.form-success {
  display: flex;
  gap: 0.8rem;
  align-items: flex-start;
  margin-bottom: 1.5rem;
  padding: 1rem 1.1rem;
  border: 1px solid rgba(143, 208, 232, 0.45);
  border-radius: var(--radius);
  background: var(--ice-soft);
}

.form-success[hidden] {
  display: none;
}

.form-success .icon {
  color: var(--ice);
  flex: none;
}

.contact-aside {
  display: grid;
  gap: 1rem;
}

.contact-card {
  display: flex;
  gap: 1rem;
  padding: 1.3rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--bg-2);
  text-decoration: none;
  transition: border-color 0.3s var(--ease);
}

a.contact-card:hover {
  border-color: rgba(143, 208, 232, 0.4);
}

.contact-card .label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-3);
}

.contact-card strong {
  display: block;
  margin-top: 0.2rem;
  font-size: 1.12rem;
  font-weight: 500;
  letter-spacing: -0.015em;
  word-break: break-word;
}

.contact-card ul {
  display: grid;
  gap: 0.15rem;
  margin-top: 0.3rem;
  font-size: 1.05rem;
}

.contact-card .placeholder-note {
  margin-top: 0.6rem;
}

/* CTA band
   ========================================================================== */

.cta {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(5rem, 10vw, 8.5rem) 0;
  border-top: 1px solid var(--line);
}

.cta-media {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.cta-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.1) brightness(0.45);
  opacity: 0.55;
}

.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse at 15% 50%, rgba(62, 167, 207, 0.22), transparent 55%),
    linear-gradient(90deg, rgba(6, 9, 13, 0.96) 30%, rgba(6, 9, 13, 0.7) 70%, rgba(6, 9, 13, 0.55)),
    linear-gradient(0deg, rgba(6, 9, 13, 0.6), transparent 40%);
}

.cta-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: 3rem;
  align-items: end;
}

.cta h2 {
  margin-top: 1.2rem;
  font-size: clamp(2.6rem, 6vw, 5.4rem);
  line-height: 0.96;
  letter-spacing: -0.045em;
}

.cta-side {
  display: grid;
  gap: 1.5rem;
}

.cta-side p {
  color: var(--text-2);
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.cta-contacts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line-2);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
}

.cta-contacts a {
  display: inline-flex;
  gap: 0.5rem;
  align-items: center;
  color: var(--text);
  text-decoration: none;
}

.cta-contacts a:hover {
  color: var(--ice);
}

.cta-contacts .icon {
  width: 16px;
  height: 16px;
  color: var(--ice);
}

/* Footer
   ========================================================================== */

.site-footer {
  position: relative;
  overflow: hidden;
  padding: clamp(4rem, 7vw, 5.5rem) 0 1.5rem;
  border-top: 1px solid var(--line);
  background: #040609;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 2.5rem;
}

.footer-brand p {
  max-width: 22rem;
  margin-top: 1.1rem;
  color: var(--text-2);
  font-size: 0.97rem;
}

.footer-brand .btn {
  margin-top: 1.6rem;
}

.footer-label {
  margin-bottom: 1rem;
  font-family: var(--font-mono);
  font-size: 0.64rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ice);
}

.footer-list {
  display: grid;
  gap: 0.55rem;
  font-size: 0.97rem;
}

.footer-list a {
  color: var(--text-2);
  text-decoration: none;
  transition: color 0.2s var(--ease);
}

.footer-list a:hover,
.footer-list a[aria-current="page"] {
  color: var(--ice);
}

.footer-list li {
  color: var(--text-2);
}

.footer-wordmark {
  margin-top: clamp(3rem, 6vw, 5rem);
  font-size: clamp(4rem, 17vw, 15.5rem);
  font-stretch: 112%;
  font-weight: 600;
  line-height: 0.8;
  letter-spacing: -0.06em;
  text-align: center;
  color: transparent;
  -webkit-text-stroke: 1px rgba(143, 208, 232, 0.16);
  background: linear-gradient(180deg, rgba(143, 208, 232, 0.08), transparent 80%);
  -webkit-background-clip: text;
  background-clip: text;
  user-select: none;
}

.footer-base {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.06em;
  color: var(--text-3);
}

/* Reveal on scroll
   ========================================================================== */

.js [data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
  transition-delay: var(--d, 0s);
}

.js [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

.hero-copy > * {
  animation: rise 1s var(--ease) both;
}

.hero-copy > *:nth-child(2) { animation-delay: 0.08s; }
.hero-copy > *:nth-child(3) { animation-delay: 0.16s; }
.hero-copy > *:nth-child(4) { animation-delay: 0.24s; }

@keyframes rise {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: none; }
}

/* Responsive
   ========================================================================== */

@media (max-width: 1100px) {
  .service-grid,
  .sector-grid {
    grid-template-columns: 1fr 1fr;
  }

  .benefit-grid,
  .timeline.is-four {
    grid-template-columns: 1fr 1fr;
  }

  .related-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .logo-wall {
    grid-template-columns: repeat(3, 1fr);
  }

  .hud {
    display: none;
  }

  .detail-layout {
    grid-template-columns: 1fr;
  }

  .spec-card {
    position: static;
  }
}

@media (max-width: 960px) {
  .nav,
  .header-cta {
    display: none;
  }

  .nav-toggle {
    display: block;
  }

  .hero-media {
    width: 100%;
    opacity: 0.55;
  }

  .hero-media img {
    -webkit-mask-image: linear-gradient(0deg, transparent 0%, #000 50%);
    mask-image: linear-gradient(0deg, transparent 0%, #000 50%);
  }

  .hero-sweep {
    display: none;
  }

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

  .spec:nth-child(3) {
    padding-left: 0;
    border-left: 0;
  }

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

  .section-head,
  .split,
  .method,
  .faq-layout,
  .feature,
  .cta-inner,
  .contact-layout,
  .service-row {
    grid-template-columns: 1fr;
  }

  .feature.is-flipped .feature-media,
  .service-row:nth-child(even) .service-media {
    order: 0;
  }

  .service-row .service-media {
    min-height: 260px;
  }

  .faq-aside {
    position: static;
  }

  .timeline,
  .office-grid,
  .team-grid {
    grid-template-columns: 1fr 1fr;
  }

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

  .work-card.is-feature {
    grid-row: auto;
    min-height: 420px;
  }

  .compare-row {
    grid-template-columns: 0.8fr 1fr 1fr;
  }

  .compare-row > * {
    padding: 0.9rem 1rem;
  }

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

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 680px) {
  :root {
    --header-h: 68px;
  }

  .logo-mark {
    width: 52px;
    height: 34px;
  }

  .hero-body {
    align-items: flex-end;
  }

  .spec-grid,
  .service-grid,
  .sector-grid,
  .benefit-grid,
  .timeline,
  .timeline.is-four,
  .office-grid,
  .team-grid,
  .deliverables,
  .form-row,
  .facts {
    grid-template-columns: 1fr;
  }

  .spec,
  .spec + .spec {
    padding: 1.1rem 0;
    border-left: 0;
    border-bottom: 1px solid var(--line);
  }

  .spec:last-child {
    border-bottom: 0;
  }

  .fact:nth-child(even) {
    padding-left: 0;
    border-left: 0;
  }

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

  .logo-wall {
    grid-template-columns: 1fr 1fr;
  }

  .sector-card {
    min-height: 440px;
  }

  .compare-row {
    grid-template-columns: 1fr;
  }

  .compare-row > * + * {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .compare-head {
    display: none;
  }

  .compare-row .old::before,
  .compare-row .new::before {
    display: block;
    margin-bottom: 0.3rem;
    font-family: var(--font-mono);
    font-size: 0.6rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
  }

  .compare-row .old::before {
    content: "Traditional";
  }

  .compare-row .new {
    flex-wrap: wrap;
  }

  .compare-row .new::before {
    content: "Laser scan";
    flex-basis: 100%;
    color: var(--ice);
  }

  .faq-answer {
    padding-right: 0;
  }

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

@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;
  }

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