/* Hi-Fi — Deztopac engineering site */

:root {
  /* neutral light-grey palette */
  --bg: oklch(0.98 0 0);
  --bg-2: oklch(0.955 0 0);
  --surface: #ffffff;
  --surface-2: oklch(0.965 0 0);

  --ink: oklch(0.2 0 0);
  --ink-2: oklch(0.4 0 0);
  --ink-3: oklch(0.58 0 0);
  --ink-4: oklch(0.74 0 0);

  --rule: oklch(0.9 0 0);
  --rule-2: oklch(0.94 0 0);

  /* teal accent (from user tweaks) */
  --accent: oklch(0.62 0.14 180);
  --accent-deep: oklch(0.42 0.12 180);
  --accent-soft: oklch(0.94 0.04 180);
  --accent-glow: oklch(0.62 0.14 180 / 0.18);

  /* secondary accent — warm amber for tags / highlights */
  --warm: oklch(0.72 0.13 60);
  --warm-soft: oklch(0.95 0.04 60);

  --shadow-sm: 0 1px 2px rgba(20, 20, 20, 0.04), 0 1px 1px rgba(20, 20, 20, 0.03);
  --shadow-md: 0 4px 12px -2px rgba(20, 20, 20, 0.08), 0 2px 4px rgba(20, 20, 20, 0.04);
  --shadow-lg: 0 24px 60px -12px rgba(20, 20, 20, 0.16), 0 8px 24px -8px rgba(20, 20, 20, 0.08);
  --shadow-inset: inset 0 1px 0 rgba(255, 255, 255, 0.6);

  --sans: "Inter Tight", "Inter", ui-sans-serif, system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --maxw: 1320px;
  --pad: 56px;

  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 20px;
  --r-xl: 28px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0; padding: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "ss01", "cv11";
  scroll-behavior: smooth;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* ---- shared bits ---- */

.shell { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--pad); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--accent-deep);
  font-weight: 500;
}
.eyebrow::before {
  content: ""; width: 24px; height: 1px; background: var(--accent);
  display: inline-block;
}
.eyebrow.on-dark { color: var(--accent); }
.eyebrow.on-dark::before { background: var(--accent); }

.section-title {
  font-family: var(--sans);
  font-size: clamp(36px, 4vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.025em;
  font-weight: 500;
  margin: 18px 0 0;
  text-wrap: balance;
}
.section-lede {
  font-size: 18px;
  line-height: 1.55;
  color: var(--ink-2);
  margin: 24px 0 0;
  max-width: 56ch;
}

/* ---- buttons ---- */

.btn {
  display: inline-flex; align-items: center; gap: 12px;
  height: 52px; padding: 0 26px;
  font-family: var(--sans); font-size: 14px; font-weight: 500;
  letter-spacing: -0.005em;
  border: 0;
  background: var(--ink); color: var(--bg);
  border-radius: 999px;
  cursor: pointer;
  box-shadow: 0 1px 0 rgba(255,255,255,0.08) inset, var(--shadow-md);
  transition: transform .15s ease, background .15s, box-shadow .2s;
  white-space: nowrap;
}
.btn:hover { background: var(--accent-deep); box-shadow: 0 1px 0 rgba(255,255,255,0.08) inset, var(--shadow-lg); transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn .arrow {
  width: 28px; height: 28px;
  background: rgba(255,255,255,0.14);
  border-radius: 999px;
  display: inline-flex; align-items: center; justify-content: center;
  margin-right: -14px;
  transition: background .2s, transform .2s;
}
.btn:hover .arrow { background: rgba(255,255,255,0.24); transform: translate(2px, -2px); }
.btn .arrow::after {
  content: ""; width: 7px; height: 7px;
  border-top: 1.5px solid currentColor; border-right: 1.5px solid currentColor;
  transform: rotate(45deg) translate(-1px, 1px);
}

.btn-ghost {
  background: transparent; color: var(--ink);
  border: 1px solid var(--rule);
  box-shadow: var(--shadow-sm);
}
.btn-ghost:hover { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.btn-ghost .arrow { background: color-mix(in oklab, var(--ink) 6%, transparent); }
.btn-ghost:hover .arrow { background: rgba(255,255,255,0.14); }

.btn-accent { background: var(--accent); color: white; }
.btn-accent:hover { background: var(--accent-deep); }

.btn-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--sans); font-size: 14px; font-weight: 500;
  color: var(--ink);
  transition: gap .25s, color .2s;
}
.btn-link::after {
  content: ""; width: 18px; height: 1px; background: currentColor; position: relative;
  transition: width .25s;
}
.btn-link:hover { color: var(--accent-deep); gap: 12px; }
.btn-link:hover::after { width: 24px; }

.tag {
  display: inline-flex; align-items: center; gap: 6px;
  height: 26px; padding: 0 10px;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.04em;
  text-transform: uppercase;
  background: var(--surface); color: var(--ink-2);
  border: 1px solid var(--rule);
  border-radius: 999px;
}
.tag::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--ink-3);
}
.tag.cad::before { background: var(--accent); }
.tag.cae::before { background: var(--warm); }
.tag.both::before { background: linear-gradient(90deg, var(--accent), var(--warm)); }
.tag.solid {
  background: var(--ink); color: var(--bg); border-color: var(--ink);
}

/* ---- nav ---- */

.nav {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in oklab, var(--bg) 88%, transparent);
  backdrop-filter: blur(16px) saturate(150%);
  -webkit-backdrop-filter: blur(16px) saturate(150%);
  border-bottom: 1px solid var(--rule);
}
.nav-utility {
  background: var(--ink);
  color: color-mix(in oklab, var(--bg) 70%, transparent);
  font-family: var(--mono);
  font-size: 11px; letter-spacing: 0.06em;
}
.nav-utility-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--pad);
  height: 36px;
  display: flex; align-items: center; justify-content: space-between;
}
.utl-group { display: flex; align-items: center; gap: 14px; }
.utl-sep { width: 1px; height: 12px; background: rgba(255,255,255,0.18); }
.utl-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 3px color-mix(in oklab, var(--accent) 30%, transparent);
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 3px color-mix(in oklab, var(--accent) 30%, transparent); }
  50% { box-shadow: 0 0 0 6px color-mix(in oklab, var(--accent) 0%, transparent); }
}

.nav-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--pad);
  height: 78px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 40px;
}
.brand {
  display: inline-flex; align-items: center; gap: 12px;
}
.brand-mark-img {
  width: 42px; height: 42px;
  object-fit: contain;
  flex-shrink: 0;
  filter: drop-shadow(0 1px 2px rgba(15,23,30,0.12));
}
.brand-mark {
  width: 38px; height: 38px;
  border-radius: 10px;
  background: var(--ink);
  display: grid; place-items: center;
  box-shadow: var(--shadow-sm), inset 0 1px 0 rgba(255,255,255,0.06);
  position: relative;
  flex-shrink: 0;
}
.brand-mark::before {
  content: ""; position: absolute; inset: 6px;
  border-radius: 5px;
  background:
    linear-gradient(135deg, transparent 47%, var(--accent) 48%, var(--accent) 52%, transparent 53%),
    linear-gradient(45deg, transparent 47%, color-mix(in oklab, var(--bg) 80%, transparent) 48%, color-mix(in oklab, var(--bg) 80%, transparent) 52%, transparent 53%);
}
.brand-stack { display: flex; flex-direction: column; gap: 1px; line-height: 1.1; }
.brand-name { font-family: var(--sans); font-weight: 600; letter-spacing: -0.01em; font-size: 16px; }
@font-face {
  font-family: "Logirent";
  src: url("https://fonts.cdnfonts.com/s/85788/Logirent.woff") format("woff");
  font-display: swap;
}
.brand-name-logirent {
  font-family: "Logirent", "Inter Tight", ui-sans-serif, system-ui, sans-serif;
  font-weight: 400;
  font-size: 22px;
  letter-spacing: 0.02em;
  text-transform: none;
  color: var(--ink);
}
.brand-tag { font-family: var(--mono); font-size: 10px; letter-spacing: 0.16em; color: var(--ink-3); text-transform: uppercase; }

.nav-links {
  display: flex; align-items: center; gap: 2px;
  justify-self: center;
}
.nav-link {
  position: relative;
  display: inline-flex; align-items: center; gap: 6px;
  height: 40px; padding: 0 16px;
  font-family: var(--sans); font-size: 14px; font-weight: 500;
  color: var(--ink-2);
  border-radius: 999px;
  transition: color .2s, background .2s;
}
.nav-link:hover { color: var(--ink); background: color-mix(in oklab, var(--ink) 5%, transparent); }
.nav-link.active { color: var(--ink); background: color-mix(in oklab, var(--ink) 6%, transparent); }
.nav-link.has-chev::after {
  content: ""; width: 6px; height: 6px;
  border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  opacity: 0.5;
}

.nav-actions { justify-self: end; display: flex; align-items: center; gap: 10px; }
.nav-search {
  appearance: none;
  height: 40px; padding: 0 14px;
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--sans); font-size: 13px; color: var(--ink-3);
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: 999px;
  cursor: text;
  transition: border-color .2s, color .2s;
}
.nav-search:hover { border-color: var(--ink-3); color: var(--ink-2); }
.nav-search .kbd {
  font-family: var(--mono); font-size: 10px;
  padding: 2px 6px;
  background: var(--bg-2);
  border-radius: 4px;
  letter-spacing: 0.04em;
  color: var(--ink-3);
  margin-left: 6px;
}
.nav-cta { height: 40px; padding: 0 18px; font-size: 13px; }
.nav-cta .arrow { width: 22px; height: 22px; margin-right: -10px; }
.nav-cta .arrow::after { width: 6px; height: 6px; }

/* ---- hero (full-bleed image) ---- */

.hero.hero-image {
  position: relative;
  min-height: 760px;
  height: calc(100vh - 114px);
  max-height: 880px;
  overflow: hidden;
  color: white;
  isolation: isolate;
  background: oklch(0.18 0.014 220);
}

.hero-img-wrap { position: absolute; inset: 0; z-index: 0; }
.hero-img-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 35%;
  filter: saturate(1) contrast(1.02) brightness(1.05);
}
.hero-img-scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(105deg, oklch(0.16 0.014 220 / 0.72) 0%, oklch(0.16 0.014 220 / 0.35) 38%, oklch(0.16 0.014 220 / 0.06) 60%, transparent 80%),
    linear-gradient(0deg, oklch(0.16 0.014 220 / 0.4) 0%, transparent 40%, transparent 70%, oklch(0.16 0.014 220 / 0.25) 100%),
    radial-gradient(ellipse 50% 60% at 18% 48%, oklch(0.62 0.14 180 / 0.14), transparent 70%);
}
.hero-img-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, rgba(255,255,255,0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(105deg, black 0%, black 35%, transparent 70%);
  pointer-events: none;
}

.hero-image .hero-inner {
  position: relative; z-index: 2;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 96px var(--pad) 240px;
  display: block;
  min-height: 0;
}

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

.hero-image .hero-pill {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.18);
  color: rgba(255,255,255,0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.hero-image .hero-pill .badge {
  background: var(--accent);
  color: white;
}
.hero-image .hero-pill strong { color: white; }

.hero-image h1 {
  font-family: var(--sans);
  font-size: clamp(48px, 6.2vw, 84px);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.035em;
  margin: 0 0 28px;
  text-wrap: balance;
  color: white;
  text-shadow: 0 2px 24px rgba(0,0,0,0.25);
}
.hero-image h1 em {
  font-style: normal;
  background: linear-gradient(120deg, oklch(0.85 0.16 180), oklch(0.72 0.16 180));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-image h1 .nb { display: inline-block; position: relative; }
.hero-image h1 .nb::after {
  content: ""; position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 6px;
  background: linear-gradient(90deg, var(--accent), transparent);
  border-radius: 3px; opacity: 0.7;
}

.hero-image p.lede {
  font-size: 19px; line-height: 1.5;
  color: rgba(255,255,255,0.95);
  margin: 0 0 40px;
  max-width: 56ch;
  text-shadow: 0 1px 12px rgba(0,0,0,0.2);
}
.hero-image p.lede strong { color: white; font-weight: 500; }

.hero-image .hero-ctas { display: flex; gap: 12px; align-items: center; margin-bottom: 0; }

.hero-image .btn { background: var(--accent); color: white; }
.hero-image .btn:hover { background: var(--accent-deep); }
.hero-image .btn-ghost {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.28);
  color: white;
  backdrop-filter: blur(8px);
}
.hero-image .btn-ghost:hover {
  background: white; color: var(--ink); border-color: white;
}
.hero-image .btn-ghost .arrow { background: rgba(255,255,255,0.14); }
.hero-image .btn-ghost:hover .arrow { background: color-mix(in oklab, var(--ink) 10%, transparent); }

/* Floating frame markers (corner brackets style) */
.hero-frame-tl, .hero-frame-tr {
  position: absolute;
  z-index: 3;
  top: 32px;
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--mono); font-size: 11px;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: rgba(255,255,255,0.92);
  padding: 8px 14px;
  background: rgba(0,0,0,0.35);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 999px;
  backdrop-filter: blur(10px);
}
.hero-frame-tl { left: var(--pad); }
.hero-frame-tr { right: var(--pad); }
.hf-tick { width: 6px; height: 6px; background: var(--accent); border-radius: 50%; box-shadow: 0 0 0 3px color-mix(in oklab, var(--accent) 30%, transparent); }
.hf-sep { width: 1px; height: 10px; background: rgba(255,255,255,0.2); }
.hf-rec {
  width: 9px; height: 9px; border-radius: 50%;
  background: oklch(0.62 0.2 25);
  animation: pulse 2s ease-in-out infinite;
}

/* Floating "Active Program" spec card */
.hero-spec-card {
  position: absolute; z-index: 3;
  right: var(--pad);
  top: 50%; transform: translateY(-30%);
  width: 320px;
  background: rgba(20, 26, 32, 0.65);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: var(--r-lg);
  padding: 22px;
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  box-shadow: 0 24px 60px -12px rgba(0,0,0,0.5);
  color: rgba(255,255,255,0.92);
  font-family: var(--sans);
}
.hsc-head {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--mono); font-size: 11px;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: rgba(255,255,255,0.92);
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
  margin-bottom: 16px;
}
.hsc-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 3px color-mix(in oklab, var(--accent) 30%, transparent);
  animation: pulse 2.4s ease-in-out infinite;
}
.hsc-id {
  margin-left: auto;
  font-family: var(--mono); font-size: 10.5px;
  padding: 3px 8px;
  background: rgba(255,255,255,0.08);
  border-radius: 4px;
  color: white;
}
.hsc-title {
  font-size: 18px; font-weight: 500;
  letter-spacing: -0.015em;
  color: white;
  margin-bottom: 18px;
  line-height: 1.25;
}
.hsc-row {
  display: flex; justify-content: space-between; align-items: baseline;
  padding: 8px 0;
  font-size: 13px;
  border-bottom: 1px dashed rgba(255,255,255,0.08);
}
.hsc-row:last-of-type { border-bottom: 0; }
.hsc-row span { color: rgba(255,255,255,0.85); }
.hsc-row b {
  font-family: var(--mono); font-weight: 500;
  font-size: 13.5px; color: white;
  font-feature-settings: "tnum";
}
.hsc-bar {
  height: 4px;
  margin: 14px 0 12px;
  background: rgba(255,255,255,0.1);
  border-radius: 999px;
  overflow: hidden;
}
.hsc-bar > span {
  display: block; height: 100%;
  background: linear-gradient(90deg, var(--accent), oklch(0.78 0.16 180));
  border-radius: 999px;
}
.hsc-foot {
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--mono); font-size: 11px;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: rgba(255,255,255,0.65);
  padding-top: 10px;
}
.hsc-ok {
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--accent);
  display: inline-grid; place-items: center;
  color: white; font-size: 12px;
}

/* Stats overlay docked to bottom */
.hero-stats-overlay {
  position: absolute; z-index: 3;
  left: 0; right: 0; bottom: 0;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 28px var(--pad);
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 0;
  background: linear-gradient(180deg, transparent, rgba(0,0,0,0.35) 100%);
  border-top: 1px solid rgba(255,255,255,0.12);
}
.hero-stats-overlay .hero-stat {
  padding: 0 32px;
  border-right: 1px solid rgba(255,255,255,0.1);
}
.hero-stats-overlay .hero-stat:first-child { padding-left: 0; }
.hero-stats-overlay .hero-stat:last-child { border-right: 0; }
.hero-stats-overlay .hero-stat-num {
  color: white;
  font-size: 36px;
}
.hero-stats-overlay .hero-stat-num sup { color: oklch(0.78 0.14 180); }
.hero-stats-overlay .hero-stat-label {
  color: rgba(255,255,255,0.85);
}

@media (max-width: 980px) {
  .hero-spec-card { display: none; }
  .hero-frame-tl, .hero-frame-tr { display: none; }
  .hero-stats-overlay { grid-template-columns: 1fr; }
  .hero-stats-overlay .hero-stat { border-right: 0; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,0.1); }
}

/* ---- logo strip ---- */
.logos {
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  padding: 32px 0;
  background: var(--surface);
}
.logos-inner {
  max-width: var(--maxw); margin: 0 auto; padding: 0 var(--pad);
  display: flex; align-items: center; justify-content: space-between; gap: 32px;
}
.logos-label {
  font-family: var(--mono); font-size: 17px;
  text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--ink-3);
  white-space: nowrap;
}
.logos-grid {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 72px;
  overflow: hidden;
  position: relative;
  mask-image: linear-gradient(90deg, transparent, black 6%, black 94%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, black 6%, black 94%, transparent);
}
.logos-track {
  display: flex;
  align-items: center;
  gap: 72px;
  flex-shrink: 0;
  animation: logos-scroll 38s linear infinite;
}
.logos:hover .logos-track { animation-play-state: paused; }
@keyframes logos-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.logo-item {
  display: inline-flex; align-items: center; justify-content: center;
  height: 96px;
  padding: 14px 22px;
  background: #ffffff;
  border-radius: 10px;
  flex-shrink: 0;
  transition: transform .25s ease, box-shadow .25s ease;
}
.logo-item:hover { transform: translateY(-2px); box-shadow: 0 6px 18px rgba(0,0,0,0.08); }
.logo-item img {
  max-height: 100%;
  width: auto;
  object-fit: contain;
  display: block;
}
/* visual-mass tuning: wide logos get more horizontal room, round/square less */
.logo-wide   { width: 220px; }
.logo-wide img   { max-width: 100%; }
.logo-square { width: 140px; }
.logo-square img { max-width: 100%; }

/* ---- pillars (services) ---- */

.pillars { padding: 120px 0; }

/* image-backed variant */
.pillars-image {
  position: relative;
  padding: 120px 0;
  isolation: isolate;
  color: white;
  overflow: hidden;
  background: oklch(0.16 0.014 220);
}
.pillars-img-wrap { position: absolute; inset: 0; z-index: 0; }
.pillars-img-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(1) contrast(1.02) brightness(1.05);
}
.pillars-img-scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, oklch(0.16 0.014 220 / 0.55) 0%, oklch(0.16 0.014 220 / 0.3) 35%, oklch(0.16 0.014 220 / 0.55) 100%),
    radial-gradient(ellipse 60% 50% at 50% 30%, oklch(0.62 0.14 180 / 0.12), transparent 70%);
}
.pillars-image .shell { position: relative; z-index: 1; }

.pillars-image .pillars-head .right p { color: rgba(255,255,255,0.95); }
.pillars-head-on-image { color: white; }
.pillars-head-on-image .section-title { color: white; }
.pillars-head-on-image .right { border-left-color: rgba(255,255,255,0.18); }
.pillars-head-on-image .right p { color: rgba(255,255,255,0.95); }
.btn-link-on-dark { color: white; }
.btn-link-on-dark:hover { color: oklch(0.88 0.2 200); }

.pillars-grid-glass .pillar-glass {
  background: rgba(12, 16, 22, 0.82);
  border: 1px solid rgba(255,255,255,0.14);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  color: rgba(255,255,255,0.92);
  box-shadow: 0 24px 60px -12px rgba(0,0,0,0.55);
}
.pillars-grid-glass .pillar-glass:hover {
  border-color: rgba(255,255,255,0.32);
  background: rgba(12, 16, 22, 0.92);
}
.pillars-grid-glass .pillar-glass h3 { color: white; }
.pillars-grid-glass .pillar-glass p { color: rgba(255,255,255,0.92); }
.pillars-grid-glass .pillar-glass .pillar-num { color: rgba(255,255,255,0.85); }
.pillars-grid-glass .pillar-glass .pillar-icon {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.18);
  color: oklch(0.88 0.2 200);
}
.pillars-grid-glass .pillar-glass .chip {
  background: rgba(255,255,255,0.16);
  border-color: rgba(255,255,255,0.24);
  color: rgba(255,255,255,0.96);
}
.pillars-grid-glass .pillar-glass .pillar-foot {
  border-top-color: rgba(255,255,255,0.12);
}
.pillars-grid-glass .pillar-glass .stat strong { color: white; }
.pillars-grid-glass .pillar-glass .stat span { color: rgba(255,255,255,0.82); }
.pillars-grid-glass .pillar-glass .btn-link { color: oklch(0.88 0.2 200); }

/* Pillar with image card — navy-blue futuristic industrial UI */
.pillar.pillar-image-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background:
    radial-gradient(ellipse 110% 80% at 0% 0%, rgba(0, 229, 255, 0.32), transparent 55%),
    linear-gradient(180deg, #1F7C9C 0%, #0A3F5C 50%, #062942 100%);
  border: 1px solid rgba(0, 229, 255, 0.32);
  padding: 0;
  display: flex; flex-direction: column;
  border-radius: var(--r-lg);
  box-shadow:
    inset 0 1px 0 rgba(0, 229, 255, 0.32),
    inset 0 -1px 0 rgba(6, 28, 44, 0.55),
    0 0 0 1px rgba(0, 229, 255, 0.14),
    0 18px 48px -16px rgba(6, 28, 44, 0.7),
    0 0 32px -8px rgba(0, 229, 255, 0.32);
  transition: transform 280ms ease, box-shadow 280ms ease, border-color 280ms ease;
}
.pillar.pillar-image-card::before,
.pillar.pillar-image-card::after { content: none; display: none; }

.pillar.pillar-image-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 229, 255, 0.3);
  box-shadow:
    inset 0 1px 0 rgba(0, 229, 255, 0.26),
    inset 0 -1px 0 rgba(6, 28, 44, 0.6),
    0 0 0 1px rgba(0, 229, 255, 0.24),
    0 24px 60px -16px rgba(6, 28, 44, 0.8),
    0 0 44px -6px rgba(0, 229, 255, 0.3);
}

/* illustration zone — matches CAD image grey */
.pillar.pillar-image-card .pbt-image {
  position: relative;
  flex: 0 0 200px;
  background: rgb(215, 215, 215);
  border-bottom: 1px solid rgba(130, 240, 255, 0.32);
  overflow: hidden;
}

/* modern left rail — minimal cyan accent with corner bracket */
.pillar.pillar-image-card .pbt-image::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 28px;
  background:
    linear-gradient(90deg, rgba(10, 30, 56, 0.85) 0%, rgba(10, 30, 56, 0.4) 60%, transparent 100%);
  pointer-events: none;
  z-index: 2;
  backdrop-filter: blur(2px);
}

/* thin cyan accent line on left edge */
.pillar.pillar-image-card .pbt-image > .pbt-rail {
  position: absolute;
  right: 0; top: 0; bottom: 0;
  width: 28px;
  background:
    linear-gradient(270deg, rgba(10, 30, 56, 0.85) 0%, rgba(10, 30, 56, 0.4) 60%, transparent 100%);
  pointer-events: none;
  z-index: 2;
  backdrop-filter: blur(2px);
}

/* glowing cyan data line — left side */
.pillar.pillar-image-card .pbt-image > .pbt-rail::before {
  content: "";
  position: absolute;
  left: 14px; top: 24px; bottom: 24px;
  width: 1px;
  background: linear-gradient(180deg,
    transparent 0%,
    rgba(0, 229, 255, 0.6) 20%,
    rgba(0, 229, 255, 0.9) 50%,
    rgba(0, 229, 255, 0.6) 80%,
    transparent 100%);
  box-shadow: 0 0 8px rgba(0, 229, 255, 0.5);
}

/* refined corner bracket — top right */
.pillar.pillar-image-card .pbt-image > .pbt-rail::after {
  content: "";
  position: absolute;
  top: 14px; right: 10px;
  width: 12px; height: 12px;
  border-top: 1px solid rgba(0, 229, 255, 0.7);
  border-right: 1px solid rgba(0, 229, 255, 0.7);
  filter: drop-shadow(0 0 4px rgba(0, 229, 255, 0.4));
}

/* corresponding left-side accent line via the ::before of pbt-image */
.pillar.pillar-image-card .pbt-image {
  background:
    linear-gradient(90deg, transparent 38px, transparent calc(100% - 38px)),
    rgb(128, 128, 128);
}
.pillar.pillar-image-card .pbt-image > img {
  position: relative;
  z-index: 1;
}

/* left-side glowing line via a wrapper helper */
.pillar.pillar-image-card .pbt-image::after {
  content: "";
  position: absolute;
  left: 14px; top: 24px; bottom: 24px;
  width: 1px;
  background: linear-gradient(180deg,
    transparent 0%,
    rgba(0, 229, 255, 0.6) 20%,
    rgba(0, 229, 255, 0.9) 50%,
    rgba(0, 229, 255, 0.6) 80%,
    transparent 100%);
  box-shadow: 0 0 8px rgba(0, 229, 255, 0.5);
  z-index: 3;
  pointer-events: none;
}

/* animated scanner sweep on hover */
.pillar.pillar-image-card:hover .pbt-image::after {
  animation: scanner-pulse 2.4s ease-in-out infinite;
}
.pillar.pillar-image-card:hover .pbt-image > .pbt-rail::before {
  animation: scanner-pulse 2.4s ease-in-out infinite 0.3s;
}
@keyframes scanner-pulse {
  0%, 100% { opacity: 0.6; box-shadow: 0 0 6px rgba(0, 229, 255, 0.4); }
  50% { opacity: 1; box-shadow: 0 0 14px rgba(0, 229, 255, 0.8), 0 0 24px rgba(0, 229, 255, 0.3); }
}
.pillar.pillar-image-card .pbt-image img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  padding: 0;
  transform: none;
  filter: saturate(1.08) contrast(1.04) brightness(1.04);
  transition: transform .55s ease, filter .35s ease;
  position: relative;
  z-index: 1;
}
.pillar.pillar-image-card:hover .pbt-image img {
  transform: scale(1.04);
}
.pillar.pillar-image-card:hover .pbt-image img {
  transform: scale(1.04);
  filter: saturate(1.14) contrast(1.06) brightness(1.08);
}
/* cyan hairline animation on hover — between image and body */
.pillar.pillar-image-card .pbt-image::after {
  content: "";
  position: absolute;
  left: 50%; bottom: 0;
  width: 0; height: 1px;
  background: linear-gradient(90deg, transparent, #00E5FF, transparent);
  box-shadow: 0 0 12px rgba(0, 229, 255, 0.6);
  transform: translateX(-50%);
  transition: width 420ms cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 2;
}
.pillar.pillar-image-card:hover .pbt-image::after { width: 100%; }

/* content zone */
.pillar.pillar-image-card .pbt-body {
  position: relative;
  padding: 24px 26px 26px;
  display: flex; flex-direction: column;
  flex: 1;
  background: linear-gradient(180deg, rgba(20, 96, 132, 0.45) 0%, rgba(6, 28, 44, 0.78) 100%);
  color: #ffffff;
}
/* subtle blueprint grid texture */
.pillar.pillar-image-card .pbt-body::after {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, rgba(120, 220, 255, 0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(120, 220, 255, 0.04) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, black 30%, transparent 90%);
  z-index: 0;
}
.pillar.pillar-image-card .pbt-body > * { position: relative; z-index: 1; }

.pillar.pillar-image-card .pillar-head { margin-bottom: 14px; }
.pillar.pillar-image-card .pillar-icon {
  background: rgba(0, 229, 255, 0.16);
  border-color: rgba(130, 240, 255, 0.4);
  color: #00E5FF;
  box-shadow: 0 0 0 1px rgba(0, 229, 255, 0.16), 0 0 16px -4px rgba(0, 229, 255, 0.25);
}
.pillar.pillar-image-card h3 {
  color: #ffffff;
  margin-bottom: 8px;
  text-shadow: 0 1px 8px rgba(0, 229, 255, 0.16);
}
.pillar.pillar-image-card p {
  color: #D5ECF5;
  font-weight: 400;
  line-height: 1.55;
}
.pillar.pillar-image-card .pillar-num {
  color: rgba(221, 240, 245, 0.75);
}
.pillar.pillar-image-card .chip {
  background: rgba(0, 229, 255, 0.16);
  border-color: rgba(130, 240, 255, 0.44);
  color: rgba(221, 240, 245, 0.94);
}
.pillar.pillar-image-card .stat strong { color: #ffffff; }
.pillar.pillar-image-card .stat span { color: rgba(221, 240, 245, 0.75); }
.pillar.pillar-image-card .btn-link {
  color: #00E5FF;
  text-shadow: 0 0 12px rgba(0, 229, 255, 0.25);
}
.pillar.pillar-image-card .pillar-foot {
  border-top: 1px solid rgba(130, 240, 255, 0.32);
}

/* ---- compact image-card sizing ---- */
.pillar.pillar-image-card {
  min-height: 0;
  max-width: 380px;
  margin: 0 auto;
}
.pillar.pillar-image-card .pbt-image {
  flex: 0 0 auto;
  aspect-ratio: 4 / 3;
  width: 100%;
  min-height: 0;
}
.pillar.pillar-image-card .pbt-body {
  padding: 18px 20px 18px;
  gap: 0;
  flex: 1 1 auto;
  min-height: 0;
  overflow: visible;
}
.pillar.pillar-image-card .pillar-head {
  margin-bottom: 10px;
}
.pillar.pillar-image-card .pillar-icon {
  width: 40px; height: 40px;
  border-radius: 10px;
}
.pillar.pillar-image-card .pillar-icon svg {
  width: 20px; height: 20px;
}
.pillar.pillar-image-card .pillar-num {
  font-size: 10.5px;
  letter-spacing: 0.1em;
}
.pillar.pillar-image-card h3 {
  font-size: 20px;
  letter-spacing: -0.015em;
  margin-bottom: 6px;
  line-height: 1.2;
}
.pillar.pillar-image-card p {
  font-size: 13.5px;
  line-height: 1.5;
  margin-bottom: 14px;
}
.pillar.pillar-image-card .pillar-tags {
  gap: 5px;
  margin-bottom: 14px;
}
.pillar.pillar-image-card .pillar-tags .chip {
  font-size: 9.5px;
  letter-spacing: 0.04em;
  padding: 3px 7px;
}
.pillar.pillar-image-card .pillar-foot {
  padding-top: 14px;
}
.pillar.pillar-image-card .pillar-foot .stat strong {
  font-size: 15px;
}
.pillar.pillar-image-card .pillar-foot .stat span {
  font-size: 10px;
  letter-spacing: 0.05em;
}
.pillar.pillar-image-card .btn-link {
  font-size: 13px;
}

/* Tighten the grid gap a touch so cards sit closer */
.pillars-grid:has(.pillar-image-card) {
  gap: 16px;
}

/* Responsive — keep cards comfortable on smaller screens */
@media (max-width: 1100px) {
  .pillar.pillar-image-card { max-width: 100%; }
}
@media (max-width: 720px) {
  .pillar.pillar-image-card { min-height: 520px; }
}

.pillars-head {
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 56px; align-items: end;
  margin-bottom: 64px;
}
.pillars-head .right { text-align: left; padding-left: 32px; border-left: 1px solid var(--rule); }
.pillars-head .right p { margin: 0 0 16px; color: var(--ink-2); font-size: 16px; }
.pillars-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
.pillar {
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: var(--r-xl);
  padding: 32px;
  display: flex; flex-direction: column;
  position: relative;
  overflow: hidden;
  transition: border-color .25s, transform .25s, box-shadow .25s;
  min-height: 440px;
}
.pillar:hover {
  border-color: var(--ink-3);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.pillar::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; height: 200px;
  background: radial-gradient(ellipse 100% 100% at 50% 0%, var(--accent-soft), transparent 70%);
  opacity: 0; transition: opacity .25s;
  pointer-events: none;
}
.pillar:hover::before { opacity: 1; }
.pillar-head {
  display: flex; justify-content: space-between; align-items: flex-start;
  margin-bottom: 28px;
  position: relative;
}
.pillar-icon {
  width: 56px; height: 56px;
  border-radius: var(--r-md);
  background: linear-gradient(180deg, var(--surface), var(--surface-2));
  border: 1px solid var(--rule);
  display: grid; place-items: center;
  color: var(--accent-deep);
  box-shadow: var(--shadow-inset), var(--shadow-sm);
}
.pillar-num { font-family: var(--mono); font-size: 11px; color: var(--ink-3); letter-spacing: 0.1em; }
.pillar h3 {
  font-family: var(--sans); font-size: 26px; font-weight: 500;
  letter-spacing: -0.02em;
  margin: 0 0 14px;
  position: relative;
}
.pillar p {
  margin: 0 0 28px;
  color: var(--ink-2);
  font-size: 15px; line-height: 1.55;
  position: relative;
}
.pillar-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 28px; position: relative; }
.pillar-tags .chip {
  font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.06em;
  color: var(--ink-3); text-transform: uppercase;
  padding: 4px 9px;
  background: var(--bg-2);
  border-radius: 999px;
}
.pillar-foot {
  margin-top: auto;
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 24px; border-top: 1px solid var(--rule);
  position: relative;
}
.pillar-foot .stat {
  display: flex; flex-direction: column; gap: 2px;
}
.pillar-foot .stat strong { font-size: 18px; font-weight: 500; letter-spacing: -0.01em; }
.pillar-foot .stat span { font-size: 11px; color: var(--ink-3); font-family: var(--mono); letter-spacing: 0.06em; text-transform: uppercase; }

/* ---- process ---- */

.process {
  position: relative;
  background: var(--ink);
  color: var(--bg);
  padding: 120px 0;
  overflow: hidden;
  isolation: isolate;
}
.process::after {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background-image: url("process-bg.jpg");
  background-size: cover;
  background-position: center;
  opacity: 1;
  filter: saturate(1.05) contrast(1.05) brightness(1.05);
  pointer-events: none;
}
.process::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(180deg, oklch(0.18 0.06 250 / 0.5) 0%, oklch(0.16 0.06 250 / 0.3) 35%, oklch(0.18 0.06 250 / 0.55) 100%),
    radial-gradient(ellipse 60% 50% at 100% 0%, oklch(0.62 0.14 180 / 0.14), transparent 60%),
    radial-gradient(ellipse 50% 50% at 0% 100%, oklch(0.55 0.12 220 / 0.14), transparent 60%);
  pointer-events: none;
}
.process .shell { position: relative; z-index: 2; }
.process-head {
  display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: end;
  margin-bottom: 80px;
}
.process-head h2 { color: var(--bg); }
.process-head p { color: color-mix(in oklab, var(--bg) 70%, transparent); margin: 0; font-size: 16px; line-height: 1.55; }

.process-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.proc-card {
  position: relative;
  isolation: isolate;
  padding: 26px 24px 24px;
  border-radius: var(--r-lg);
  background:
    radial-gradient(ellipse 110% 80% at 0% 0%, rgba(0, 229, 255, 0.32), transparent 55%),
    linear-gradient(180deg, #1F7C9C 0%, #0A3F5C 50%, #062942 100%);
  border: 1px solid rgba(0, 229, 255, 0.32);
  backdrop-filter: blur(14px) saturate(150%);
  -webkit-backdrop-filter: blur(14px) saturate(150%);
  box-shadow:
    inset 0 1px 0 rgba(0, 229, 255, 0.32),
    inset 0 -1px 0 rgba(6, 28, 44, 0.55),
    0 0 0 1px rgba(0, 229, 255, 0.14),
    0 18px 48px -16px rgba(6, 28, 44, 0.7),
    0 0 32px -8px rgba(0, 229, 255, 0.32);
  display: flex; flex-direction: column;
  transition: transform 280ms ease, border-color 280ms ease, box-shadow 280ms ease;
}
.proc-card::before {
  content: "";
  position: absolute; inset: 0;
  border-radius: var(--r-lg);
  background-image:
    linear-gradient(to right, rgba(0, 229, 255, 0.1) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(0, 229, 255, 0.1) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
  mask-image: radial-gradient(ellipse 80% 80% at 30% 20%, black 0%, transparent 80%);
  z-index: 0;
}
.proc-card > * { position: relative; z-index: 1; }
.proc-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 229, 255, 0.3);
  box-shadow:
    inset 0 1px 0 rgba(0, 229, 255, 0.26),
    inset 0 -1px 0 rgba(6, 28, 44, 0.6),
    0 0 0 1px rgba(0, 229, 255, 0.24),
    0 24px 60px -16px rgba(6, 28, 44, 0.8),
    0 0 44px -6px rgba(0, 229, 255, 0.3);
}
.proc-head {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 18px;
}
.proc-icon {
  width: 44px; height: 44px;
  border-radius: 10px;
  display: grid; place-items: center;
  background: var(--accent);
  border: 1px solid var(--accent);
  color: white;
  box-shadow: 0 0 0 4px color-mix(in oklab, var(--accent) 25%, transparent);
}
.proc-num {
  font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.14em;
  color: oklch(0.88 0.2 200);
  text-transform: uppercase;
}
.proc-card h3 {
  font-family: var(--sans); font-weight: 500;
  font-size: 19px; letter-spacing: -0.012em;
  color: #ffffff;
  margin: 0 0 10px;
  line-height: 1.25;
}
.proc-card p {
  margin: 0 0 18px;
  color: #DDF0F5;
  font-size: 13.5px; line-height: 1.55;
}
.proc-deliv {
  margin-top: auto;
  font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(221, 240, 245, 0.82);
  padding-top: 14px;
  border-top: 1px solid rgba(130, 240, 255, 0.4);
}
.proc-deliv strong { color: #ffffff; }
.proc-deliv strong {
  display: block; color: rgba(255,255,255,0.85);
  font-weight: 500; margin-bottom: 4px;
}

@media (max-width: 1100px) {
  .process-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .process-grid { grid-template-columns: 1fr; }
}

/* ---- industries ---- */

.industries {
  position: relative;
  padding: 120px 0;
  isolation: isolate;
  overflow: hidden;
  color: white;
  background: oklch(0.18 0.04 250);
}
.industries::after {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background-image: url("industries-bg.jpg");
  background-size: cover;
  background-position: center;
  filter: saturate(1.05) brightness(1.05);
}
.industries::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(180deg, oklch(0.16 0.04 250 / 0.55) 0%, oklch(0.16 0.04 250 / 0.35) 35%, oklch(0.16 0.04 250 / 0.6) 100%),
    radial-gradient(ellipse 60% 50% at 30% 20%, oklch(0.62 0.14 180 / 0.14), transparent 70%);
}
.industries .shell { position: relative; z-index: 2; }

.industries .section-title { color: white; }
.industries .eyebrow { color: rgba(255,255,255,0.88); }
.industries .eyebrow::before { background: oklch(0.88 0.2 200); }
.industries .btn-link { color: oklch(0.88 0.2 200); }

.industries .ind-tile {
  background: rgba(10, 30, 56, 0.18);
  border: 1px solid rgba(130, 240, 255, 0.32);
  backdrop-filter: blur(6px) saturate(140%);
  -webkit-backdrop-filter: blur(6px) saturate(140%);
  color: rgba(255,255,255,0.96);
  box-shadow:
    inset 0 1px 0 rgba(120, 220, 255, 0.1),
    0 12px 32px -12px rgba(0, 16, 40, 0.55);
}
.industries .ind-tile:hover {
  background: rgba(16, 43, 78, 0.22);
  border-color: rgba(120, 220, 255, 0.34);
  box-shadow:
    inset 0 1px 0 rgba(130, 240, 255, 0.44),
    0 0 0 1px rgba(0, 229, 255, 0.32),
    0 22px 56px -16px rgba(0, 16, 40, 0.7),
    0 0 36px -8px rgba(0, 163, 255, 0.2);
  box-shadow: 0 24px 60px -12px rgba(0,0,0,0.55);
}
.industries .ind-name { color: white; }
.industries .ind-meta { color: rgba(255,255,255,0.82); }
.industries .ind-icon {
  background: rgba(255,255,255,0.08);
  color: oklch(0.88 0.2 200);
  border: 1px solid rgba(255,255,255,0.16);
}
.industries .ind-tile:hover .ind-icon { background: oklch(0.62 0.14 180); color: white; border-color: oklch(0.62 0.14 180); }
.industries .ind-arrow {
  background: rgba(255,255,255,0.1);
  color: white;
}
.industries .ind-tile:hover .ind-arrow { background: white; color: oklch(0.18 0.04 250); }

.industries { padding: 120px 0; }
.industries-head {
  display: flex; justify-content: space-between; align-items: end;
  margin-bottom: 56px; gap: 48px;
}
.ind-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.ind-tile {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: var(--r-lg);
  padding: 28px;
  height: 220px;
  display: flex; flex-direction: column; justify-content: space-between;
  overflow: hidden;
  transition: transform .3s, box-shadow .3s, border-color .3s;
  cursor: pointer;
}
.ind-tile:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--ink);
}
.ind-tile-bg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.95;
  filter: saturate(1.2) contrast(1.08) brightness(1.05);
  transition: opacity .35s ease, transform .55s ease, filter .35s ease;
  pointer-events: none;
  z-index: 0;
}
.industries .ind-tile { overflow: hidden; }
.industries .ind-tile > *:not(.ind-tile-bg) { position: relative; z-index: 1; }
.industries .ind-tile::after {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(ellipse 85% 60% at 35% 88%, rgba(6, 20, 38, 0.78) 0%, rgba(10, 30, 56, 0.32) 55%, transparent 80%),
    linear-gradient(180deg, rgba(10, 30, 56, 0.12) 0%, rgba(6, 20, 38, 0.05) 50%, rgba(6, 20, 38, 0.45) 100%);
  pointer-events: none;
}
.ind-tile:hover .ind-tile-bg {
  opacity: 1;
  transform: scale(1.06);
  filter: saturate(1.28) contrast(1.1) brightness(1.08);
}

.ind-tile-bg::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, color-mix(in oklab, var(--ink) 4%, transparent) 1px, transparent 1px),
    linear-gradient(to bottom, color-mix(in oklab, var(--ink) 4%, transparent) 1px, transparent 1px);
  background-size: 24px 24px;
}

.ind-icon {
  width: 44px; height: 44px;
  border-radius: 10px;
  background: var(--bg-2);
  display: grid; place-items: center;
  color: var(--ink-2);
  position: relative; z-index: 1;
  transition: background .3s, color .3s;
}
.ind-tile:hover .ind-icon { background: var(--accent); color: white; }

.ind-name {
  font-family: var(--sans); font-size: 22px; font-weight: 500;
  letter-spacing: -0.015em;
  margin: 0;
  position: relative; z-index: 1;
}
.ind-bottom {
  display: flex; justify-content: space-between; align-items: center;
  position: relative; z-index: 1;
}
.ind-meta {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em;
  color: var(--ink-3);
}
.ind-arrow {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--bg-2);
  display: grid; place-items: center;
  color: var(--ink-2);
  transition: background .3s, color .3s, transform .3s;
}
.ind-tile:hover .ind-arrow { background: var(--ink); color: var(--bg); transform: translate(2px, -2px); }
.ind-arrow::after {
  content: ""; width: 7px; height: 7px;
  border-top: 1.5px solid currentColor; border-right: 1.5px solid currentColor;
  transform: rotate(45deg) translate(-1px, 1px);
}

/* ---- featured projects ---- */

.featured { padding: 120px 0; background: var(--surface); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }

/* image-backed variant */
.featured-image {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: white;
  background: oklch(0.16 0.04 250);
  border-top: 0; border-bottom: 0;
}
.featured-img-wrap { position: absolute; inset: 0; z-index: 0; }
.featured-img-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(1.05) contrast(1.02) brightness(1);
}
.featured-img-scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, oklch(0.14 0.05 250 / 0.6) 0%, oklch(0.14 0.05 250 / 0.4) 35%, oklch(0.14 0.05 250 / 0.65) 100%),
    radial-gradient(ellipse 60% 50% at 30% 20%, oklch(0.62 0.14 180 / 0.14), transparent 70%);
}
.featured-image .shell { position: relative; z-index: 1; }
.featured-head-on-image .section-title { color: white; }
.featured-head-on-image .right p { color: rgba(255,255,255,0.95); }

.featured-image .proj {
  background:
    radial-gradient(ellipse 110% 80% at 0% 0%, rgba(0, 229, 255, 0.32), transparent 55%),
    linear-gradient(180deg, #1F7C9C 0%, #0A3F5C 50%, #062942 100%);
  border: 1px solid rgba(0, 229, 255, 0.32);
  backdrop-filter: blur(14px) saturate(150%);
  -webkit-backdrop-filter: blur(14px) saturate(150%);
  border-radius: var(--r-lg);
  color: rgba(255,255,255,0.96);
  padding: 16px;
  position: relative;
  isolation: isolate;
  box-shadow:
    inset 0 1px 0 rgba(0, 229, 255, 0.32),
    inset 0 -1px 0 rgba(6, 28, 44, 0.6),
    0 0 0 1px rgba(0, 229, 255, 0.14),
    0 18px 48px -16px rgba(6, 28, 44, 0.7),
    0 0 28px -8px rgba(0, 229, 255, 0.32);
  transition: transform 280ms ease, border-color 280ms ease, box-shadow 280ms ease;
}
.featured-image .proj::before {
  content: "";
  position: absolute; inset: 0;
  border-radius: var(--r-lg);
  background-image:
    linear-gradient(to right, rgba(0, 229, 255, 0.1) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(0, 229, 255, 0.1) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
  mask-image: radial-gradient(ellipse 80% 80% at 30% 20%, black 0%, transparent 80%);
  z-index: 0;
}
.featured-image .proj > * { position: relative; z-index: 1; }
.featured-image .proj:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 229, 255, 0.3);
  box-shadow:
    inset 0 1px 0 rgba(0, 229, 255, 0.26),
    inset 0 -1px 0 rgba(6, 28, 44, 0.7),
    0 0 0 1px rgba(0, 229, 255, 0.24),
    0 24px 60px -16px rgba(6, 28, 44, 0.8),
    0 0 42px -6px rgba(0, 229, 255, 0.3);
}
.featured-image .proj h3 {
  color: #ffffff;
  letter-spacing: -0.015em;
  text-shadow: 0 1px 12px rgba(0, 229, 255, 0.22);
}
.featured-image .proj p { color: #DDF0F5; line-height: 1.55; }
.featured-image .proj .proj-client {
  color: rgba(213, 232, 240, 0.82);
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em;
  text-transform: uppercase;
}
.featured-image .proj .tag {
  background: rgba(0, 229, 255, 0.16);
  border-color: rgba(0, 229, 255, 0.28);
  color: rgba(221, 240, 245, 0.96);
  box-shadow: 0 0 0 1px rgba(0, 229, 255, 0.1), 0 0 12px -4px rgba(0, 229, 255, 0.3);
  text-shadow: 0 0 8px rgba(0, 229, 255, 0.32);
}
.featured-image .proj .btn-link {
  color: #00E5FF;
  font-weight: 500;
  position: relative;
  padding-bottom: 2px;
  text-shadow: 0 0 12px rgba(0, 229, 255, 0.3);
}
.featured-image .proj .btn-link::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, #00E5FF, transparent);
  transform: scaleX(0); transform-origin: left;
  transition: transform .35s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 0 6px rgba(0, 229, 255, 0.6);
}
.featured-image .proj .btn-link:hover::after { transform: scaleX(1); }
.featured-image .proj-foot { border-top: 1px solid rgba(0, 229, 255, 0.28); }
.featured-head {
  display: flex; justify-content: space-between; align-items: end;
  margin-bottom: 56px; gap: 48px;
}
.proj-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.proj {
  display: flex; flex-direction: column;
  cursor: pointer;
  position: relative;
}
.proj-image {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: var(--r-lg);
  overflow: hidden;
  margin-bottom: 20px;
  border: 1px solid var(--rule);
  transition: transform .3s, box-shadow .3s;
}
.proj:hover .proj-image {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.proj-image .vis {
  position: absolute; inset: 0;
}
/* project visual variants */
.proj-image.v1 .vis {
  background:
    radial-gradient(ellipse 70% 60% at 50% 40%, color-mix(in oklab, var(--accent) 25%, oklch(0.95 0.01 220)), oklch(0.92 0.012 220)),
    oklch(0.92 0.012 220);
}
.proj-image.v2 .vis {
  background:
    radial-gradient(ellipse 60% 50% at 30% 60%, color-mix(in oklab, var(--warm) 30%, oklch(0.95 0.01 60)), oklch(0.94 0.012 60)),
    oklch(0.94 0.012 60);
}
.proj-image.v3 .vis {
  background:
    radial-gradient(ellipse 70% 60% at 50% 50%, oklch(0.32 0.02 220), oklch(0.18 0.015 220)),
    oklch(0.2 0.015 220);
}
.proj-image .vis-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, currentColor 1px, transparent 1px),
    linear-gradient(to bottom, currentColor 1px, transparent 1px);
  background-size: 32px 32px;
  opacity: 0.08;
  color: var(--ink);
}
.proj-image.v3 .vis-grid { color: var(--accent); opacity: 0.14; }

.proj-image .vis-shape {
  position: absolute; inset: 18%;
  display: grid; place-items: center;
  color: var(--ink);
  opacity: 0.55;
}
.proj-image.v3 .vis-shape { color: var(--accent); opacity: 0.85; }
.proj-image .vis-shape svg { width: 100%; height: 100%; }

.proj-image .badge-tl, .proj-image .badge-bl {
  position: absolute;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(8px);
  border-radius: 999px;
  padding: 6px 12px;
  font-family: var(--mono); font-size: 10.5px;
  letter-spacing: 0.06em;
  color: var(--ink);
  display: inline-flex; align-items: center; gap: 6px;
  box-shadow: var(--shadow-sm);
}
.proj-image .badge-tl { top: 14px; left: 14px; }
.proj-image .badge-bl { bottom: 14px; left: 14px; }
.proj-image.v3 .badge-tl { background: rgba(0,0,0,0.5); color: white; }

.proj-image .play-link {
  position: absolute; right: 14px; bottom: 14px;
  width: 40px; height: 40px;
  background: rgba(255,255,255,0.92);
  border-radius: 50%;
  display: grid; place-items: center;
  color: var(--ink);
  box-shadow: var(--shadow-sm);
  transition: transform .25s, background .25s;
}
.proj:hover .proj-image .play-link { transform: translate(2px, -2px); background: var(--accent); color: white; }
.proj-image .play-link::after {
  content: ""; width: 7px; height: 7px;
  border-top: 1.5px solid currentColor; border-right: 1.5px solid currentColor;
  transform: rotate(45deg) translate(-1px, 1px);
}

.proj-meta { display: flex; gap: 6px; margin-bottom: 14px; flex-wrap: wrap; }
.proj h3 {
  font-family: var(--sans); font-size: 22px; font-weight: 500;
  letter-spacing: -0.018em; line-height: 1.2;
  margin: 0 0 10px;
}
.proj p {
  margin: 0 0 16px; color: var(--ink-2); font-size: 14.5px;
  max-width: 38ch;
}
.proj-foot { display: flex; justify-content: space-between; align-items: center; padding-top: 14px; border-top: 1px solid var(--rule); }
.proj-client { font-family: var(--mono); font-size: 11px; color: var(--ink-3); letter-spacing: 0.06em; }

/* ---- CTA banner ---- */

.cta {
  position: relative;
  padding: 120px 0;
  overflow: hidden;
  background:
    radial-gradient(ellipse 60% 80% at 50% 50%, color-mix(in oklab, var(--accent) 14%, var(--ink)), var(--ink) 70%),
    var(--ink);
  color: var(--bg);
}
.cta::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, color-mix(in oklab, var(--bg) 6%, transparent) 1px, transparent 1px),
    linear-gradient(to bottom, color-mix(in oklab, var(--bg) 6%, transparent) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 30%, transparent 80%);
}
.cta-inner {
  position: relative; max-width: 880px; margin: 0 auto;
  padding: 0 var(--pad); text-align: center;
}
.cta h2 {
  font-family: var(--sans); font-weight: 500;
  font-size: clamp(40px, 5.5vw, 72px);
  letter-spacing: -0.03em; line-height: 1.04;
  margin: 24px 0 24px;
  text-wrap: balance;
}
.cta h2 em { font-style: normal; background: linear-gradient(120deg, var(--accent), oklch(0.85 0.16 180)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.cta p {
  margin: 0 auto 40px;
  max-width: 56ch;
  color: color-mix(in oklab, var(--bg) 70%, transparent);
  font-size: 17px;
}
.cta-actions { display: flex; gap: 12px; justify-content: center; align-items: center; flex-wrap: wrap; }
.cta .btn { background: var(--accent); border-color: var(--accent); }
.cta .btn:hover { background: var(--accent-deep); }
.cta .btn-ghost { background: transparent; color: var(--bg); border-color: color-mix(in oklab, var(--bg) 22%, transparent); }
.cta .btn-ghost:hover { background: var(--bg); color: var(--ink); border-color: var(--bg); }

.cta-trust {
  margin-top: 48px;
  display: flex; gap: 32px; justify-content: center; flex-wrap: wrap;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em;
  color: color-mix(in oklab, var(--bg) 55%, transparent);
  text-transform: uppercase;
}
.cta-trust span { display: inline-flex; align-items: center; gap: 8px; }
.cta-trust span::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); }

/* ---- footer ---- */

.footer { background: var(--bg); padding: 80px 0 32px; }
.footer-top {
  display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 48px; padding-bottom: 56px; border-bottom: 1px solid var(--rule);
}
.footer-brand .brand { margin-bottom: 24px; }
.footer-brand p { color: var(--ink-2); max-width: 36ch; font-size: 14.5px; line-height: 1.55; margin: 0 0 28px; }
.footer-brand .socials { display: flex; gap: 8px; }
.footer-brand .social {
  width: 38px; height: 38px;
  border-radius: 10px;
  background: var(--surface);
  border: 1px solid var(--rule);
  display: grid; place-items: center;
  color: var(--ink-2);
  transition: background .2s, color .2s, border-color .2s;
}
.footer-brand .social:hover { background: var(--ink); color: var(--bg); border-color: var(--ink); }

.footer h4 {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em;
  color: var(--ink-3); text-transform: uppercase;
  margin: 0 0 18px; font-weight: 500;
}
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li { margin-bottom: 10px; font-size: 14.5px; color: var(--ink-2); }
.footer li a:hover { color: var(--ink); }
.footer .contact { font-style: normal; font-size: 14.5px; color: var(--ink-2); line-height: 1.6; }
.footer .contact strong { color: var(--ink); font-weight: 500; }
.footer .contact a { color: var(--ink); border-bottom: 1px solid var(--rule); }
.footer .contact a:hover { border-color: var(--ink); }

.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 28px;
  font-size: 13px; color: var(--ink-3);
}
.footer-bottom .legal { display: flex; gap: 24px; }
.footer-bottom .legal a:hover { color: var(--ink); }

/* ============================================================
   BURGER + MOBILE MENU
   ============================================================ */
.nav-burger {
  display: none;
  width: 44px; height: 44px;
  align-items: center; justify-content: center;
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: 10px;
  cursor: pointer;
  position: relative;
}
.nav-burger span {
  display: block;
  position: absolute;
  left: 12px; right: 12px;
  height: 1.6px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform .25s ease, opacity .2s ease, top .25s ease;
}
.nav-burger span:nth-child(1) { top: 14px; }
.nav-burger span:nth-child(2) { top: 21px; }
.nav-burger span:nth-child(3) { top: 28px; }
.nav-burger.is-active span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.nav-burger.is-active span:nth-child(2) { opacity: 0; }
.nav-burger.is-active span:nth-child(3) { top: 21px; transform: rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0;
  z-index: 200;
  background: oklch(0.16 0.014 220);
  color: white;
  display: flex; flex-direction: column;
  opacity: 0; visibility: hidden; pointer-events: none;
  transform: translateY(-12px);
  transition: opacity .28s ease, transform .28s ease, visibility 0s linear .28s;
}
.mobile-menu.is-open {
  opacity: 1; visibility: visible; pointer-events: auto;
  transform: translateY(0);
  transition: opacity .28s ease, transform .28s ease, visibility 0s linear 0s;
}
.mobile-menu::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 70% 50% at 20% 0%, oklch(0.62 0.14 180 / 0.12), transparent 70%),
    linear-gradient(to right, rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: auto, 56px 56px, 56px 56px;
  pointer-events: none;
  mask-image: radial-gradient(ellipse 100% 80% at 50% 30%, black 30%, transparent 90%);
}
.mm-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 20px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  position: relative; z-index: 2;
}
.mm-head .brand-name { color: white; }
.mm-head .brand-tag { color: rgba(255,255,255,0.82); }
.mm-close {
  width: 44px; height: 44px;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 10px;
  color: white;
  cursor: pointer;
}
.mm-links {
  flex: 1;
  display: flex; flex-direction: column;
  padding: 28px 20px 20px;
  gap: 4px;
  position: relative; z-index: 2;
  overflow-y: auto;
}
.mm-links a {
  display: flex; justify-content: space-between; align-items: center;
  padding: 18px 4px;
  font-family: var(--sans);
  font-size: clamp(28px, 8vw, 40px);
  font-weight: 500;
  letter-spacing: -0.025em;
  color: white;
  text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  transition: color .2s ease, transform .2s ease, padding .2s ease;
}
.mm-links a:hover { color: var(--accent); padding-left: 10px; }
.mm-arr {
  font-family: var(--mono);
  font-size: 18px;
  color: rgba(255,255,255,0.4);
  transition: color .2s ease, transform .2s ease;
}
.mm-links a:hover .mm-arr { color: var(--accent); transform: translateX(4px); }
.mm-foot {
  padding: 24px 20px 32px;
  border-top: 1px solid rgba(255,255,255,0.08);
  position: relative; z-index: 2;
  background: rgba(0,0,0,0.25);
}
.mm-foot .btn {
  width: 100%; justify-content: center;
  background: var(--accent); color: white;
  margin-bottom: 18px;
}
.mm-contact {
  display: flex; flex-direction: column; gap: 6px;
  font-family: var(--mono); font-size: 13px;
  color: rgba(255,255,255,0.75);
}
.mm-meta {
  margin-top: 14px;
  font-family: var(--mono); font-size: 11px;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: rgba(255,255,255,0.45);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

/* tablets and below */
@media (max-width: 1100px) {
  :root { --pad: 28px; }
  .nav-search { display: none; }
}

/* mobile breakpoint — burger appears */
@media (max-width: 900px) {
  .nav-utility { display: none; }
  .nav-inner { padding: 12px var(--pad); height: auto; }
  .brand-mark-img { width: 44px !important; height: 44px !important; }
  .brand-tag { display: none; }
  .nav-links { display: none; }
  .nav-actions .nav-cta { display: none; }
  .nav-burger { display: inline-flex; }

  /* hero */
  .hero.hero-image { height: auto; min-height: 0; max-height: none; }
  .hero-image .hero-inner { padding: 56px var(--pad) 280px; }
  .hero-image h1 { font-size: clamp(40px, 9vw, 56px); }
  .hero-image p.lede { font-size: 16px; max-width: 100%; }
  .hero-image .hero-ctas { flex-direction: column; align-items: stretch; gap: 10px; }
  .hero-image .hero-ctas .btn { justify-content: center; width: 100%; }
  .hero-frame-tl, .hero-frame-tr { display: none; }
  .hero-spec-card { display: none; }

  .hero-stats-overlay {
    grid-template-columns: 1fr;
    padding: 20px var(--pad);
    gap: 0;
  }
  .hero-stats-overlay .hero-stat {
    border-right: 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding: 14px 0;
  }
  .hero-stats-overlay .hero-stat:first-child { padding-top: 0; }
  .hero-stats-overlay .hero-stat:last-child { padding-bottom: 0; border-bottom: 0; }

  /* sections */
  section { padding: 64px 0 !important; }
  .shell { padding: 0 var(--pad); }
  .section-title, h2.section-title { font-size: clamp(30px, 6.4vw, 40px) !important; line-height: 1.05; }

  .pillars-head, .process-head, .industries-head, .featured-head {
    grid-template-columns: 1fr !important;
    gap: 18px !important;
  }
  .pillars-head .right { text-align: left; }

  /* grids stack */
  .pillars-grid, .process-grid, .ind-grid, .proj-grid {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }
  .ind-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 12px !important; }
  .ind-tile { padding: 18px; min-height: 140px; }
  .ind-name { font-size: 16px; }

  /* logos */
  .logos-inner { flex-direction: column; align-items: flex-start; gap: 18px; }
  .logos-grid { gap: 24px 32px; flex-wrap: wrap; }

  /* CTA */
  .cta { padding: 80px 0 !important; }
  .cta h2 { font-size: clamp(32px, 7vw, 44px) !important; }
  .cta p { font-size: 15px; }
  .cta-actions { flex-direction: column; gap: 10px; }
  .cta-actions .btn { width: 100%; justify-content: center; }
  .cta-trust { flex-wrap: wrap; gap: 14px 20px; justify-content: center; font-size: 11px; }

  /* footer */
  .footer-top {
    grid-template-columns: 1fr !important;
    gap: 32px;
  }
  .footer-bottom {
    flex-direction: column; gap: 16px;
    align-items: flex-start;
  }
  .footer-bottom .legal { flex-wrap: wrap; gap: 14px 20px; }
}

/* small phones */
@media (max-width: 480px) {
  :root { --pad: 18px; }
  .ind-grid { grid-template-columns: 1fr !important; }
  .hero-image .hero-inner { padding: 44px var(--pad) 260px; }
  .pillar, .proc-card, .proj { padding: 20px !important; }
  .brand-name { font-size: 20px; }
}


/* ---- featured projects — photo variant (royal blue surface) ---- */
.proj-image.proj-image-photo {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #0A3F5C 0%, #062942 100%);
  border-radius: var(--r-md);
  aspect-ratio: 4 / 3;
  max-height: 260px;
  box-shadow:
    inset 0 0 0 1px rgba(0, 229, 255, 0.32),
    inset 0 0 24px rgba(0, 229, 255, 0.14);
}
.proj-image.proj-image-photo::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 70% 50% at 50% 40%, rgba(0, 229, 255, 0.32), transparent 70%);
  pointer-events: none;
  z-index: 1;
}
.proj-image.proj-image-photo img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  padding: 0;
  filter: saturate(1.08) contrast(1.04) brightness(1.03);
  transition: transform .5s ease, filter .35s ease;
  z-index: 0;
}
.proj:hover .proj-image.proj-image-photo img {
  transform: scale(1.04);
  filter: saturate(1.14) contrast(1.06) brightness(1.06);
}
.proj-image.proj-image-photo .play-link {
  position: absolute; right: 12px; bottom: 12px;
  width: 38px; height: 38px;
  z-index: 2;
  border-radius: 999px;
  background: rgba(255,255,255,0.92);
  display: inline-flex; align-items: center; justify-content: center;
  backdrop-filter: blur(8px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.18);
  transition: background .2s ease, transform .2s ease;
}
.proj-image.proj-image-photo .play-link::after {
  content: "";
  width: 7px; height: 7px;
  border-top: 1.5px solid #0a1018;
  border-right: 1.5px solid #0a1018;
  transform: rotate(45deg) translate(-1px, 1px);
}
.proj-image.proj-image-photo .play-link:hover { background: oklch(0.88 0.2 200); transform: scale(1.05); }


/* ============================================================
   MODALS — premium glassmorphism (contact + booking)
   ============================================================ */
.modal {
  position: fixed; inset: 0;
  z-index: 300;
  display: grid; place-items: center;
  padding: 24px;
  background: oklch(0.10 0.02 240 / 0.65);
  backdrop-filter: blur(8px) saturate(140%);
  -webkit-backdrop-filter: blur(8px) saturate(140%);
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .25s ease, visibility 0s linear .25s;
}
.modal.is-open {
  opacity: 1; visibility: visible; pointer-events: auto;
  transition: opacity .25s ease, visibility 0s linear 0s;
}
.modal-backdrop { position: absolute; inset: 0; cursor: pointer; }

.modal-panel {
  position: relative;
  width: min(440px, 100%);
  background: linear-gradient(180deg, rgba(20, 26, 36, 0.92), rgba(14, 18, 26, 0.95));
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 20px;
  padding: 32px 32px 28px;
  color: rgba(255,255,255,0.92);
  box-shadow:
    0 30px 80px -20px rgba(0,0,0,0.55),
    0 0 0 1px rgba(255,255,255,0.04),
    inset 0 1px 0 rgba(255,255,255,0.06);
  transform: translateY(12px) scale(0.98);
  opacity: 0;
  transition: transform .35s cubic-bezier(0.2, 0.8, 0.2, 1) .04s, opacity .3s ease .04s;
  overflow: hidden;
}
.modal-panel-wide { width: min(640px, 100%); padding: 32px 36px 28px; }
.modal.is-open .modal-panel { transform: translateY(0) scale(1); opacity: 1; }

.modal-panel::before {
  content: ""; position: absolute; inset: -1px;
  border-radius: 20px;
  background: linear-gradient(135deg, oklch(0.7 0.16 180 / 0.45), transparent 45%, oklch(0.7 0.16 220 / 0.25));
  z-index: -1;
  filter: blur(2px);
  opacity: 0.7;
  pointer-events: none;
}
.modal-panel::after {
  content: ""; position: absolute;
  top: -120px; right: -80px;
  width: 320px; height: 320px;
  background: radial-gradient(circle, oklch(0.62 0.14 180 / 0.18), transparent 65%);
  pointer-events: none;
}

.modal-close {
  position: absolute; top: 14px; right: 14px;
  width: 36px; height: 36px;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 10px;
  color: rgba(255,255,255,0.78);
  cursor: pointer;
  transition: background .2s ease, color .2s ease, border-color .2s ease, transform .2s ease;
}
.modal-close:hover {
  background: rgba(255,255,255,0.12);
  color: white;
  border-color: rgba(255,255,255,0.28);
  transform: rotate(90deg);
}

.modal-eyebrow {
  font-family: var(--mono);
  font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  color: oklch(0.88 0.2 200);
  margin-bottom: 14px;
  display: inline-flex; align-items: center; gap: 10px;
}
.modal-eyebrow::before {
  content: ""; width: 18px; height: 1px; background: oklch(0.88 0.2 200);
}
.modal-title {
  font-family: var(--sans);
  font-size: clamp(24px, 3.2vw, 30px);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: white;
  margin: 0 0 10px;
  text-wrap: balance;
}
.modal-lede {
  margin: 0 0 24px;
  color: rgba(255,255,255,0.7);
  font-size: 14.5px;
  line-height: 1.55;
}

/* ----- contact rows ----- */
.contact-rows {
  list-style: none; padding: 0; margin: 0 0 22px;
  display: flex; flex-direction: column; gap: 10px;
}
.contact-row {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 16px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  color: white;
  text-decoration: none;
  transition: background .25s ease, border-color .25s ease, box-shadow .25s ease, transform .2s ease;
}
.contact-row:hover {
  background: rgba(46, 217, 195, 0.08);
  border-color: oklch(0.62 0.14 180 / 0.5);
  box-shadow: 0 0 0 4px oklch(0.62 0.14 180 / 0.1), 0 8px 24px -8px oklch(0.62 0.14 180 / 0.35);
  transform: translateY(-1px);
}
.contact-icon {
  width: 40px; height: 40px;
  flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 10px;
  color: oklch(0.88 0.2 200);
  transition: background .25s ease, color .25s ease, border-color .25s ease;
}
.contact-row:hover .contact-icon {
  background: oklch(0.62 0.14 180);
  border-color: oklch(0.62 0.14 180);
  color: white;
}
.contact-text { display: flex; flex-direction: column; gap: 2px; flex: 1; min-width: 0; }
.contact-label {
  font-family: var(--mono); font-size: 10.5px;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: rgba(255,255,255,0.55);
}
.contact-value {
  font-size: 15px; font-weight: 500; color: white;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.contact-arrow {
  font-family: var(--mono); font-size: 16px;
  color: rgba(255,255,255,0.5);
  transition: color .2s ease, transform .2s ease;
}
.contact-row:hover .contact-arrow { color: oklch(0.88 0.2 200); transform: translate(2px, -2px); }

.modal-foot {
  display: flex; justify-content: space-between; gap: 12px;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,0.08);
  font-family: var(--mono); font-size: 10.5px;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: rgba(255,255,255,0.45);
}

/* ----- booking form ----- */
.booking-form { display: flex; flex-direction: column; gap: 18px; }
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 16px;
}
.field { display: flex; flex-direction: column; gap: 6px; position: relative; }
.field-full { grid-column: 1 / -1; }
.field-label {
  font-family: var(--mono); font-size: 11px;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: rgba(255,255,255,0.62);
}
.field-label i { font-style: normal; color: oklch(0.88 0.2 200); margin-left: 2px; }
.field input,
.field textarea {
  width: 100%;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 10px;
  padding: 12px 14px;
  font: inherit;
  font-size: 14.5px;
  color: white;
  outline: none;
  transition: background .2s ease, border-color .2s ease, box-shadow .2s ease;
  resize: vertical;
  min-height: 44px;
}
.field textarea { line-height: 1.5; min-height: 96px; }
.field input::placeholder,
.field textarea::placeholder { color: rgba(255,255,255,0.32); }
.field input:focus,
.field textarea:focus {
  background: rgba(255,255,255,0.07);
  border-color: oklch(0.62 0.14 180 / 0.6);
  box-shadow: 0 0 0 4px oklch(0.62 0.14 180 / 0.12);
}
.field.has-error input,
.field.has-error textarea {
  border-color: oklch(0.7 0.18 25 / 0.6);
  box-shadow: 0 0 0 4px oklch(0.7 0.18 25 / 0.1);
}
.field-err {
  font-size: 12px;
  color: oklch(0.78 0.16 25);
  min-height: 0;
  line-height: 1.4;
}

.form-status {
  font-size: 13.5px; line-height: 1.5;
  padding: 0 2px;
  color: rgba(255,255,255,0.7);
  min-height: 0;
}
.form-status.is-success {
  color: oklch(0.85 0.18 165);
}
.form-status.is-error {
  color: oklch(0.78 0.16 25);
}

.form-actions {
  display: flex; justify-content: flex-end; gap: 10px;
  padding-top: 6px;
}
.form-actions .btn { padding: 10px 22px; height: 44px; font-size: 14px; }
.form-actions .btn[disabled] {
  opacity: 0.5; cursor: not-allowed; pointer-events: none;
}
.form-actions .btn.is-loading .btn-label::after {
  content: "…";
  display: inline-block;
  margin-left: 4px;
  animation: dots 1.2s steps(4, end) infinite;
}
@keyframes dots {
  0%, 20% { content: ""; }
  40% { content: "."; }
  60% { content: ".."; }
  80%, 100% { content: "…"; }
}

@media (max-width: 640px) {
  .modal { padding: 14px; }
  .modal-panel, .modal-panel-wide {
    width: 100%;
    padding: 24px 22px 22px;
    border-radius: 16px;
  }
  .form-grid { grid-template-columns: 1fr; }
  .modal-foot { flex-direction: column; gap: 6px; }
}
