/* ════════════════════════════════════════════════════════════════
   RELA LUMIS: design system
   Concept: "the scan": precision documentation rendered as light.
   Type:    Archivo (display, expanded) · IBM Plex Mono (data layer)
   ════════════════════════════════════════════════════════════════ */

:root {
  /* color */
  --ink:        #081120;   /* page dark            */
  --navy:       #0C1B33;   /* panel navy           */
  --navy-2:     #14274A;   /* raised navy          */
  --blue:       #2B7FE3;   /* accent on dark       */
  --blue-deep:  #1660BF;   /* action on light      */
  --blue-soft:  #E8F1FC;
  --lume:       #5BCB28;   /* scan light           */
  --lume-glow:  #8BE856;
  --lume-soft:  #EAF8DF;
  --paper:      #F5F8FC;
  --card:       #FFFFFF;
  --line:       #DCE7F3;
  --line-dark:  rgba(255,255,255,.10);
  --text:       #16263F;
  --muted:      #5A6C86;
  --muted-dark: rgba(229,238,250,.62);
  --faint-dark: rgba(229,238,250,.38);

  /* type */
  --sans: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, monospace;

  /* rhythm */
  --r-sm: 10px;
  --r-md: 14px;
  --r-lg: 20px;
  --wrap: 1200px;
  --pad: clamp(20px, 5vw, 48px);

  --shadow-card: 0 1px 2px rgba(8,17,32,.05), 0 8px 28px rgba(8,17,32,.07);
  --shadow-pop:  0 12px 40px rgba(8,17,32,.16);
  --ease: cubic-bezier(.22,.61,.21,.99);
}

/* ── reset ───────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, iframe { display: block; max-width: 100%; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
a { color: inherit; }
input, select, textarea { font: inherit; }
h1,h2,h3,h4,p { margin: 0; }
:focus-visible { outline: 2px solid var(--blue-deep); outline-offset: 3px; border-radius: 4px; }
::selection { background: rgba(91,203,40,.30); }

.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: var(--pad); padding-right: var(--pad); }
.hidden { display: none !important; }

/* ── typography ──────────────────────────────────────────────── */
.display {
  font-family: var(--sans);
  font-variation-settings: "wdth" 118;
  font-weight: 760;
  letter-spacing: -.015em;
  line-height: 1.04;
  text-wrap: balance;
}
.display-xl { font-size: clamp(38px, 5.4vw, 64px); }
.display-lg { font-size: clamp(30px, 4vw, 44px);   }
.display-md { font-size: clamp(23px, 2.6vw, 30px); }

.mono  { font-family: var(--mono); }
.lead  { font-size: clamp(16px, 1.6vw, 18px); line-height: 1.65; color: var(--muted); max-width: 56ch; }
.on-dark .lead { color: var(--muted-dark); }

/* dimension-line eyebrow :reads like a CAD annotation */
.dim {
  display: flex; align-items: center; gap: 14px;
  font-family: var(--mono); font-size: 12px; font-weight: 500;
  letter-spacing: .22em; text-transform: uppercase;
  color: var(--blue-deep);
}
.dim::before, .dim.dim-close::after {
  content: ""; width: 6px; height: 6px; flex: none;
  background: currentColor; position: relative;
  transform: rotate(45deg);
}
.dim i { font-style: normal; }
.dim .tick { width: 1px; height: 9px; background: currentColor; flex: none; }
.on-dark .dim { color: var(--lume-glow); }

/* ── header ──────────────────────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255,255,255,.86);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.site-header .bar { display: flex; align-items: center; gap: 26px; height: 68px; }
.brand { flex: none; display: inline-flex; align-items: center; }
.brand img { height: 38px; width: auto; }
.main-nav { display: flex; align-items: center; gap: 2px; margin-right: auto; }
.main-nav a {
  position: relative; padding: 8px 13px; border-radius: 9px;
  font-size: 14.5px; font-weight: 540; color: var(--muted);
  text-decoration: none; transition: color .18s var(--ease), background .18s var(--ease);
}
.main-nav a:hover { color: var(--text); background: #EDF3FA; }
.main-nav a[aria-current="page"] { color: var(--text); }
.main-nav a[aria-current="page"]::after {
  content: ""; position: absolute; left: 13px; right: 13px; bottom: 3px;
  height: 2px; border-radius: 2px; background: var(--lume);
}
.header-cta { display: flex; align-items: center; gap: 10px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 12px 22px; border-radius: 11px;
  font-size: 14.5px; font-weight: 640; letter-spacing: .01em;
  text-decoration: none; white-space: nowrap;
  transition: transform .16s var(--ease), box-shadow .16s var(--ease),
              background .16s var(--ease), border-color .16s var(--ease), color .16s var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn-sm { padding: 9px 16px; font-size: 13.5px; border-radius: 9px; }
.btn-primary { background: var(--blue-deep); color: #fff; box-shadow: 0 2px 10px rgba(22,96,191,.30); }
.btn-primary:hover { background: #1A6ED4; box-shadow: 0 4px 16px rgba(22,96,191,.38); transform: translateY(-1px); }
.btn-lume { background: var(--lume); color: #0B2403; box-shadow: 0 2px 12px rgba(91,203,40,.35); }
.btn-lume:hover { background: #67DA32; box-shadow: 0 5px 18px rgba(91,203,40,.45); transform: translateY(-1px); }
.btn-ghost { border: 1px solid var(--line); background: var(--card); color: var(--text); }
.btn-ghost:hover { border-color: #BCCEE4; background: #F6FAFE; }
.btn-ghost-dark { border: 1px solid rgba(255,255,255,.28); color: #fff; }
.btn-ghost-dark:hover { background: rgba(255,255,255,.10); border-color: rgba(255,255,255,.45); }
.btn[disabled], .btn.is-disabled { opacity: .55; cursor: not-allowed; box-shadow: none; transform: none; }

/* mobile nav */
.nav-toggle { display: none; width: 42px; height: 42px; border-radius: 10px; border: 1px solid var(--line); position: relative; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: ""; position: absolute; left: 11px; right: 11px; height: 2px;
  border-radius: 2px; background: var(--text); transition: transform .22s var(--ease), opacity .18s;
}
.nav-toggle span { top: 50%; margin-top: -1px; }
.nav-toggle span::before { left: 0; right: 0; top: -6px; }
.nav-toggle span::after  { left: 0; right: 0; top: 6px;  }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after  { transform: translateY(-6px) rotate(-45deg); }

.mobile-menu {
  display: none; position: fixed; inset: 68px 0 0 0; z-index: 55;
  background: rgba(248,251,254,.97); backdrop-filter: blur(10px);
  padding: 26px var(--pad) 40px;
}
.mobile-menu.open { display: block; }
.mobile-menu a {
  display: block; padding: 17px 4px; text-decoration: none;
  font-size: 21px; font-weight: 640; color: var(--text);
  border-bottom: 1px solid var(--line);
}
.mobile-menu .menu-cta { margin-top: 26px; display: grid; gap: 10px; }

@media (max-width: 880px) {
  .main-nav, .header-cta .btn-ghost { display: none; }
  .nav-toggle { display: block; }
}

/* ── hero ────────────────────────────────────────────────────── */
.hero {
  position: relative; overflow: hidden;
  background: var(--ink); color: #fff; isolation: isolate;
}
.hero-bg { position: absolute; inset: 0; z-index: -3; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 38%; }
.hero-shade {
  position: absolute; inset: 0; z-index: -2;
  background:
    linear-gradient(76deg, rgba(8,17,32,.96) 6%, rgba(9,21,40,.84) 40%, rgba(10,24,46,.42) 78%, rgba(10,24,46,.30)),
    linear-gradient(to top, rgba(8,17,32,.92) 0%, transparent 36%);
}
/* faint survey grid */
.hero-grid {
  position: absolute; inset: 0; z-index: -1; opacity: .12; pointer-events: none;
  background-image:
    linear-gradient(rgba(139,232,86,.5) 1px, transparent 1px),
    linear-gradient(90deg, rgba(139,232,86,.5) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, transparent 4%, #000 36%, #000 82%, transparent);
  -webkit-mask-image: linear-gradient(to bottom, transparent 4%, #000 36%, #000 82%, transparent);
}
/* the signature: a lidar beam sweeping the scene */
.scanbeam {
  position: absolute; top: 0; bottom: 0; left: -16%; width: 14%;
  z-index: 0; pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(91,203,40,.05) 55%, rgba(91,203,40,.16) 86%, rgba(139,232,86,.55) 99%, #CEFFA6 100%);
  animation: beam-sweep 9.5s var(--ease) infinite;
  mix-blend-mode: screen;
}
.scanbeam::after {
  content: ""; position: absolute; top: 0; bottom: 0; right: -1px; width: 2px;
  background: var(--lume-glow);
  box-shadow: 0 0 14px 2px rgba(139,232,86,.85), 0 0 44px 6px rgba(91,203,40,.4);
}
@keyframes beam-sweep {
  0%   { left: -16%; opacity: 0; }
  6%   { opacity: 1; }
  72%  { left: 104%; opacity: 1; }
  76%  { opacity: 0; }
  100% { left: 104%; opacity: 0; }
}
/* viewfinder corners */
.hero-frame { position: absolute; inset: 18px; z-index: 1; pointer-events: none; opacity: .5; }
.hero-frame i { position: absolute; width: 22px; height: 22px; border: 1.5px solid rgba(139,232,86,.75); }
.hero-frame i:nth-child(1) { top: 0; left: 0; border-right: 0; border-bottom: 0; }
.hero-frame i:nth-child(2) { top: 0; right: 0; border-left: 0; border-bottom: 0; }
.hero-frame i:nth-child(3) { bottom: 0; left: 0; border-right: 0; border-top: 0; }
.hero-frame i:nth-child(4) { bottom: 0; right: 0; border-left: 0; border-top: 0; }

.hero-inner {
  position: relative; z-index: 2;
  display: grid; gap: clamp(36px, 5vw, 64px);
  grid-template-columns: minmax(0, 1.25fr) minmax(0, .9fr);
  align-items: end;
  padding-top: clamp(72px, 11vh, 130px);
  padding-bottom: clamp(48px, 7vh, 84px);
  min-height: min(86vh, 760px);
}
@media (max-width: 960px) { .hero-inner { grid-template-columns: 1fr; align-items: start; } }

.hero h1 { color: #fff; margin: 18px 0 20px; }
.hero h1 .lume { color: var(--lume-glow); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-loc {
  margin-top: 34px; display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--mono); font-size: 12px; letter-spacing: .14em;
  color: var(--faint-dark); text-transform: uppercase;
}
.hero-loc::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--lume); box-shadow: 0 0 8px rgba(139,232,86,.9); }

/* deliverables manifest :styled like a field capture slip */
.manifest {
  background: rgba(10,22,42,.66);
  border: 1px solid rgba(139,232,86,.22);
  border-radius: var(--r-lg);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 24px 60px rgba(2,8,18,.5);
  overflow: hidden;
}
.manifest-head {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 15px 22px; border-bottom: 1px dashed rgba(139,232,86,.28);
  font-family: var(--mono); font-size: 11.5px; letter-spacing: .2em;
  text-transform: uppercase; color: var(--lume-glow);
}
.manifest-head .ref { color: var(--faint-dark); letter-spacing: .08em; }
.manifest ul { list-style: none; margin: 0; padding: 10px 8px; }
.manifest li {
  display: flex; align-items: center; gap: 14px;
  padding: 13px 14px; border-radius: 12px;
  transition: background .2s var(--ease);
}
.manifest li:hover { background: rgba(255,255,255,.05); }
.manifest .mk {
  flex: none; width: 34px; height: 34px; border-radius: 9px;
  display: grid; place-items: center;
  background: rgba(91,203,40,.14); color: var(--lume-glow);
}
.manifest .mk svg { width: 17px; height: 17px; }
.manifest li b { display: block; font-size: 14.5px; font-weight: 620; color: #fff; }
.manifest li span { display: block; font-size: 12.5px; color: var(--faint-dark); margin-top: 1px; }
.manifest-foot {
  padding: 14px 22px 18px; border-top: 1px dashed rgba(139,232,86,.28);
  font-family: var(--mono); font-size: 12px; line-height: 1.7; color: var(--muted-dark);
}
.manifest-foot b { color: var(--lume-glow); font-weight: 600; }

/* stats strip under hero */
.statbar { background: var(--ink); color: #fff; border-top: 1px solid var(--line-dark); }
.statbar .row {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-left: 1px solid var(--line-dark); border-right: 1px solid var(--line-dark);
}
.stat { padding: 26px 24px; border-right: 1px solid var(--line-dark); }
.stat:last-child { border-right: 0; }
.stat .num {
  font-family: var(--mono); font-size: clamp(26px, 3vw, 36px); font-weight: 600;
  color: #fff; letter-spacing: -.02em; font-variant-numeric: tabular-nums;
}
.stat .num em { font-style: normal; color: var(--lume-glow); }
.stat .lab { margin-top: 5px; font-size: 13px; color: var(--faint-dark); }
@media (max-width: 760px) {
  .statbar .row { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line-dark); }
}

/* capability ticker */
.ticker { overflow: hidden; border-bottom: 1px solid var(--line-dark); background: var(--ink); padding: 13px 0; }
.ticker-track {
  display: flex; gap: 0; width: max-content;
  animation: ticker-roll 36s linear infinite;
}
.ticker span {
  font-family: var(--mono); font-size: 12px; letter-spacing: .24em;
  text-transform: uppercase; color: var(--faint-dark);
  padding: 0 30px; white-space: nowrap; position: relative;
}
.ticker span::after { content: "✛"; position: absolute; right: -7px; color: rgba(91,203,40,.55); letter-spacing: 0; }
@keyframes ticker-roll { to { transform: translateX(-50%); } }

/* ── sections ────────────────────────────────────────────────── */
.section { padding: clamp(56px, 9vh, 104px) 0; }
.section-dark { background: var(--ink); color: #fff; }
.section-head { max-width: 720px; margin-bottom: clamp(30px, 4.5vh, 48px); }
.section-head h2 { margin: 16px 0 14px; }

/* ── cards / generic ─────────────────────────────────────────── */
.card {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--r-lg); box-shadow: var(--shadow-card);
}

/* services tabs */
.tabs { display: flex; flex-wrap: wrap; gap: 9px; margin-bottom: 22px; }
.tab {
  padding: 11px 19px; border-radius: 999px;
  border: 1px solid var(--line); background: var(--card);
  font-size: 14px; font-weight: 600; color: var(--muted);
  transition: all .18s var(--ease);
}
.tab:hover { border-color: #B9CCE4; color: var(--text); }
.tab.active { background: var(--navy); border-color: var(--navy); color: #fff; box-shadow: 0 4px 14px rgba(12,27,51,.25); }
.tab .n { font-family: var(--mono); font-size: 11px; margin-right: 8px; color: var(--lume); }

.showcase { overflow: hidden; border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--card); box-shadow: var(--shadow-card); }
.showcase-meta { display: flex; flex-wrap: wrap; gap: 8px 26px; align-items: baseline; padding: 18px 24px; border-bottom: 1px solid var(--line); }
.showcase-meta h3 { font-size: 17px; font-weight: 700; }
.showcase-meta p { font-size: 14px; color: var(--muted); }
.showcase-frame { position: relative; aspect-ratio: 16 / 9; background: var(--ink); }
.showcase-frame iframe { width: 100%; height: 100%; border: 0; }
.showcase-frame .photo-card { position: absolute; inset: 0; }
.showcase-frame .photo-card img { width: 100%; height: 100%; object-fit: cover; }
.showcase-frame .photo-card .veil {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(8,17,32,.88) 8%, rgba(8,17,32,.18) 60%, transparent);
}
.showcase-frame .photo-card .cap { position: absolute; left: 26px; right: 26px; bottom: 24px; color: #fff; }
.showcase-frame .photo-card .cap .dim { margin-bottom: 9px; }
.live-chip {
  position: absolute; top: 14px; left: 14px; z-index: 2;
  display: inline-flex; align-items: center; gap: 7px;
  font-family: var(--mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase;
  color: var(--lume-glow); background: rgba(8,17,32,.72);
  border: 1px solid rgba(139,232,86,.35); border-radius: 999px; padding: 6px 13px;
  backdrop-filter: blur(6px);
}
.live-chip::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--lume); animation: pulse 1.8s ease infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 5px rgba(91,203,40,.18); } }

/* process :a measured sequence */
.process { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; position: relative; counter-reset: step; }
.step {
  counter-increment: step;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 26px 24px 28px; position: relative; overflow: hidden;
  transition: transform .22s var(--ease), box-shadow .22s var(--ease), border-color .22s var(--ease);
}
.step:hover { transform: translateY(-4px); box-shadow: var(--shadow-pop); border-color: #C7D8EC; }
.step::before {
  content: "0" counter(step);
  font-family: var(--mono); font-size: 13px; font-weight: 600;
  color: var(--blue-deep); letter-spacing: .14em;
}
.step::after {
  content: ""; position: absolute; top: 38px; left: 56px; right: 24px; height: 1px;
  background: repeating-linear-gradient(90deg, var(--line) 0 7px, transparent 7px 13px);
}
.step h3 { margin: 16px 0 9px; font-size: 19px; font-weight: 700; }
.step p { font-size: 14.5px; color: var(--muted); }
.step .dur { display: inline-block; margin-top: 16px; font-family: var(--mono); font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--lume); background: var(--lume-soft); border: 1px solid #CBEDAF; border-radius: 6px; padding: 4px 10px; color: #357A12; }
@media (max-width: 860px) { .process { grid-template-columns: 1fr; } }

/* trusted-by */
.trust { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 34px; }
.trust .t-label { font-family: var(--mono); font-size: 11.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.trust img { height: 34px; width: auto; filter: grayscale(1); opacity: .55; transition: all .25s var(--ease); }
.trust img:hover { filter: none; opacity: 1; }
.trust .t-note { font-size: 13px; color: var(--muted); }

/* CTA band */
.cta-band { position: relative; overflow: hidden; background: var(--ink); color: #fff; }
.cta-band .hero-grid { opacity: .09; }
.cta-inner { position: relative; display: grid; gap: 38px; grid-template-columns: 1.2fr .8fr; align-items: center; padding-top: clamp(48px, 8vh, 88px); padding-bottom: clamp(48px, 8vh, 88px); }
@media (max-width: 880px) { .cta-inner { grid-template-columns: 1fr; } }
.founder-row { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border: 1px solid var(--line-dark); border-radius: var(--r-md); background: rgba(255,255,255,.05); transition: background .2s var(--ease), border-color .2s var(--ease); text-decoration: none; }
.founder-row:hover { background: rgba(255,255,255,.09); border-color: rgba(139,232,86,.3); }
.founder-row img { width: 50px; height: 50px; border-radius: 12px; object-fit: cover; }
.founder-row b { display: block; font-size: 15px; color: #fff; }
.founder-row span { font-size: 12.5px; color: var(--faint-dark); }

/* ── footer ──────────────────────────────────────────────────── */
.site-footer { background: var(--ink); color: #fff; border-top: 1px solid var(--line-dark); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 38px; padding: clamp(44px, 7vh, 64px) 0 34px; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; gap: 30px; } }
.site-footer .f-logo img { height: 44px; width: auto; }
.site-footer .f-tag { margin-top: 16px; font-size: 14px; color: var(--faint-dark); max-width: 34ch; }
.site-footer h4 { font-family: var(--mono); font-size: 11.5px; letter-spacing: .22em; text-transform: uppercase; color: var(--lume-glow); margin-bottom: 16px; font-weight: 500; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.site-footer ul a { font-size: 14.5px; color: var(--muted-dark); text-decoration: none; transition: color .16s; }
.site-footer ul a:hover { color: #fff; }
.footer-base {
  display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between;
  padding: 20px 0 26px; border-top: 1px solid var(--line-dark);
  font-family: var(--mono); font-size: 11.5px; letter-spacing: .1em; color: var(--faint-dark);
}

/* ── reveal animations ───────────────────────────────────────── */
.rv { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.rv.in { opacity: 1; transform: none; }
.rv-d1 { transition-delay: .08s; } .rv-d2 { transition-delay: .17s; }
.rv-d3 { transition-delay: .26s; } .rv-d4 { transition-delay: .35s; }

/* page-load hero sequence */
@keyframes rise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
.h-seq > * { animation: rise .8s var(--ease) both; }
.h-seq > *:nth-child(1) { animation-delay: .05s; }
.h-seq > *:nth-child(2) { animation-delay: .16s; }
.h-seq > *:nth-child(3) { animation-delay: .27s; }
.h-seq > *:nth-child(4) { animation-delay: .38s; }
.h-seq > *:nth-child(5) { animation-delay: .49s; }
.h-pop { animation: rise .9s var(--ease) .4s both; }

/* ════════════════════════════════════════════════════════════════
   PORTAL
   ════════════════════════════════════════════════════════════════ */

/* page banner */
.banner { position: relative; overflow: hidden; background: var(--ink); color: #fff; }
.banner-inner { position: relative; z-index: 1; padding-top: clamp(38px, 6vh, 64px); padding-bottom: clamp(38px, 6vh, 64px); }
.banner .hero-grid { opacity: .08; }
.banner h1 { color: #fff; margin: 14px 0 8px; }
.banner .sub { font-size: 15px; color: var(--muted-dark); max-width: 60ch; }
.banner-row { display: flex; flex-wrap: wrap; gap: 26px; align-items: flex-end; justify-content: space-between; }
.banner-stats { display: flex; gap: 10px; flex: none; }
.bstat { min-width: 96px; padding: 13px 16px; border-radius: var(--r-md); border: 1px solid var(--line-dark); background: rgba(255,255,255,.06); }
.bstat b { display: block; font-family: var(--mono); font-size: 22px; font-weight: 600; color: #fff; }
.bstat span { font-size: 12px; color: var(--faint-dark); }

/* project feature card */
.project-card {
  display: grid; grid-template-columns: 1.45fr 1fr; overflow: hidden;
  border-radius: var(--r-lg); border: 1px solid var(--line);
  background: var(--card); box-shadow: var(--shadow-card);
  text-align: left; width: 100%;
  transition: box-shadow .25s var(--ease), transform .25s var(--ease);
}
.project-card:hover { box-shadow: var(--shadow-pop); transform: translateY(-3px); }
@media (max-width: 880px) { .project-card { grid-template-columns: 1fr; } }
.project-photo { position: relative; min-height: 320px; overflow: hidden; }
.project-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.project-card:hover .project-photo img { transform: scale(1.045); }
.project-photo .veil { position: absolute; inset: 0; background: linear-gradient(to top, rgba(8,17,32,.62), transparent 58%); }
.project-photo .addr { position: absolute; left: 24px; bottom: 20px; color: #fff; }
.project-photo .addr .city { font-family: var(--mono); font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted-dark); }
.project-photo .addr b { display: block; font-size: 22px; font-weight: 740; margin-top: 4px; }
.project-body { padding: clamp(24px, 3vw, 36px); display: flex; flex-direction: column; gap: 0; }
.project-body h2 { margin: 12px 0 10px; }
.project-body .desc { font-size: 14.5px; color: var(--muted); }
.spec-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 22px 0; }
.spec {
  border: 1px solid var(--line); border-radius: var(--r-sm);
  padding: 13px 15px; background: #FAFCFE;
}
.spec b { display: block; font-family: var(--mono); font-size: 17px; font-weight: 600; color: var(--navy); }
.spec span { font-size: 12px; color: var(--muted); }
.spec.spec-live { background: var(--lume-soft); border-color: #CBEDAF; }
.spec.spec-live b { color: #2F7A0C; }

/* locked teaser on public landing */
.locked-card { position: relative; }
.locked-card .project-photo img { filter: saturate(.85); }
.lock-pill {
  position: absolute; top: 16px; left: 16px; z-index: 2;
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase;
  color: #fff; background: rgba(8,17,32,.74); border: 1px solid rgba(255,255,255,.25);
  border-radius: 999px; padding: 7px 13px; backdrop-filter: blur(6px);
}
.lock-pill svg { width: 12px; height: 12px; }

/* coming soon slot */
.slot {
  display: grid; place-items: center; text-align: center; gap: 4px;
  min-height: 150px; padding: 30px;
  border: 1.5px dashed #C4D5E9; border-radius: var(--r-lg); background: #F0F5FB;
  color: var(--muted); font-size: 14px;
}
.slot b { font-weight: 640; color: var(--text); }

/* listings toolbar */
.toolbar { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-bottom: 8px; }
.search-box { position: relative; flex: 1 1 230px; max-width: 340px; }
.search-box svg { position: absolute; left: 13px; top: 50%; translate: 0 -50%; width: 16px; height: 16px; color: var(--muted); pointer-events: none; }
.search-box input {
  width: 100%; padding: 11px 38px 11px 38px; border-radius: 11px;
  border: 1px solid var(--line); background: var(--card); color: var(--text);
  font-size: 14px; transition: border-color .16s, box-shadow .16s;
}
.search-box input:focus { outline: none; border-color: var(--blue-deep); box-shadow: 0 0 0 3px rgba(22,96,191,.14); }
.search-box .clear { position: absolute; right: 8px; top: 50%; translate: 0 -50%; font-size: 17px; line-height: 1; color: var(--muted); padding: 5px 7px; border-radius: 7px; }
.search-box .clear:hover { background: #EDF3FA; color: var(--text); }
.select-wrap { position: relative; }
.select-wrap select {
  appearance: none; -webkit-appearance: none;
  padding: 11px 36px 11px 15px; border-radius: 11px;
  border: 1px solid var(--line); background: var(--card); color: var(--text);
  font-size: 14px; font-weight: 540; cursor: pointer;
}
.select-wrap::after {
  content: ""; position: absolute; right: 14px; top: 50%; margin-top: -3px;
  width: 8px; height: 8px; border-right: 1.6px solid var(--muted); border-bottom: 1.6px solid var(--muted);
  transform: rotate(45deg) translateY(-2px); pointer-events: none;
}
.select-wrap select:focus { outline: none; border-color: var(--blue-deep); box-shadow: 0 0 0 3px rgba(22,96,191,.14); }

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 22px; }
.chip {
  padding: 8px 15px; border-radius: 999px; font-size: 13px; font-weight: 600;
  border: 1px solid var(--line); background: var(--card); color: var(--muted);
  transition: all .15s var(--ease);
}
.chip:hover { border-color: #B6C9E0; color: var(--text); }
.chip.active { background: var(--navy); border-color: var(--navy); color: #fff; }
.chip .ct { font-family: var(--mono); font-size: 11px; opacity: .65; margin-left: 6px; }

.results-line {
  display: flex; flex-wrap: wrap; gap: 8px 18px; align-items: baseline; justify-content: space-between;
  margin-bottom: 18px; font-family: var(--mono); font-size: 12px; letter-spacing: .08em;
  text-transform: uppercase; color: var(--muted);
}
.results-line b { color: var(--text); }
.results-line button { text-decoration: underline; text-underline-offset: 3px; color: var(--blue-deep); font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }

/* unit cards */
.unit-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(258px, 1fr)); gap: 16px; }
.unit-card {
  text-align: left; display: flex; flex-direction: column; overflow: hidden;
  border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--card);
  box-shadow: 0 1px 2px rgba(8,17,32,.04);
  transition: transform .22s var(--ease), box-shadow .22s var(--ease), border-color .22s var(--ease);
}
.unit-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-pop); border-color: #C4D7EC; }
.plan-window { position: relative; height: 188px; background: #FDFDFD; border-bottom: 1px solid var(--line); overflow: hidden; }
.plan-window img { width: 100%; height: 100%; object-fit: contain; padding: 10px; transition: transform .5s var(--ease); }
.unit-card:hover .plan-window img { transform: scale(1.05); }
/* scanline sweep on hover :the signature carried into the portal */
.plan-window::after {
  content: ""; position: absolute; top: 0; bottom: 0; left: -22%; width: 18%;
  background: linear-gradient(90deg, transparent, rgba(91,203,40,.12) 70%, rgba(91,203,40,.55) 98%, rgba(139,232,86,.9));
  opacity: 0; pointer-events: none;
}
.unit-card:hover .plan-window::after { animation: card-scan .9s var(--ease) 1; }
@keyframes card-scan { 0% { left: -22%; opacity: 1; } 100% { left: 108%; opacity: 1; } }

.u-status {
  position: absolute; top: 10px; right: 10px;
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--mono); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase;
  border-radius: 6px; padding: 5px 9px; border: 1px solid;
}
.u-status.live { color: #2F7A0C; background: var(--lume-soft); border-color: #C2E8A4; }
.u-status.live::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--lume); }
.u-status.pending { color: #6A7A92; background: #F1F5FA; border-color: #D7E2EF; }
.unit-body { padding: 16px 17px 17px; display: flex; flex-direction: column; gap: 0; flex: 1; }
.unit-body .uid { font-family: var(--mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--blue-deep); }
.unit-body h3 { font-size: 16.5px; font-weight: 720; margin: 5px 0 3px; line-height: 1.3; }
.unit-meta { display: flex; flex-wrap: wrap; gap: 5px 13px; font-size: 12.5px; color: var(--muted); margin-bottom: 13px; }
.unit-meta b { font-weight: 620; color: var(--text); }
.unit-foot {
  margin-top: auto; display: flex; align-items: center; justify-content: space-between;
  padding-top: 12px; border-top: 1px dashed var(--line);
  font-size: 13px; font-weight: 640; color: var(--blue-deep);
}
.unit-foot .arr { transition: translate .18s var(--ease); }
.unit-card:hover .unit-foot .arr { translate: 4px 0; }

.empty-state { grid-column: 1 / -1; text-align: center; padding: 64px 20px; color: var(--muted); }
.empty-state b { display: block; font-size: 17px; color: var(--text); margin-bottom: 6px; }

/* detail view */
.detail-layout { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 18px; align-items: start; }
@media (max-width: 940px) { .detail-layout { grid-template-columns: 1fr; } }
.plan-stage { position: relative; background: #FDFDFD; }
.plan-stage img { width: 100%; max-height: 560px; object-fit: contain; cursor: zoom-in; padding: 8px; }
.stage-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 15px 22px; border-bottom: 1px solid var(--line); }
.stage-head .dim { font-size: 11px; }
.stage-head .hint { font-family: var(--mono); font-size: 11px; color: var(--muted); letter-spacing: .06em; }
.gallery-bar { display: flex; align-items: center; justify-content: center; gap: 14px; padding: 12px 18px; border-top: 1px solid var(--line); background: #FAFCFE; }
.g-btn { display: inline-flex; align-items: center; gap: 7px; padding: 8px 15px; border-radius: 9px; border: 1px solid var(--line); background: var(--card); font-size: 13px; font-weight: 600; color: var(--text); transition: all .15s var(--ease); }
.g-btn:hover { border-color: #B6C9E0; background: #F4F8FD; }
.g-count { font-family: var(--mono); font-size: 12px; color: var(--muted); min-width: 56px; text-align: center; }

.side-card { overflow: hidden; }
.side-card .sc-head { padding: 18px 22px; background: var(--navy); color: #fff; }
.side-card .sc-head .dim { color: var(--lume-glow); margin-bottom: 8px; }
.side-card .sc-head b { font-size: 17px; font-weight: 700; }
.side-card .sc-head p { font-size: 13px; color: var(--muted-dark); margin-top: 3px; }
.side-card .sc-body { padding: 20px 22px 22px; }
.url-row { display: flex; gap: 8px; margin-top: 12px; }
.url-row input {
  flex: 1; min-width: 0; font-family: var(--mono); font-size: 11.5px; color: var(--muted);
  border: 1px solid var(--line); border-radius: 8px; padding: 9px 11px; background: #F8FBFE;
}
.copy-btn { flex: none; padding: 9px 13px; border-radius: 8px; border: 1px solid var(--line); background: var(--card); font-size: 12.5px; font-weight: 620; transition: all .15s var(--ease); }
.copy-btn:hover { border-color: #B6C9E0; background: #F4F8FD; }
.copy-btn.copied { background: var(--lume-soft); border-color: #C2E8A4; color: #2F7A0C; }
.qr-frame { display: grid; place-items: center; padding: 16px; border: 1px solid var(--line); border-radius: var(--r-md); background: #F6FAFE; }
.qr-frame img { width: 168px; height: 168px; border-radius: 10px; background: #fff; padding: 6px; }
.kv { display: grid; gap: 0; }
.kv > div { display: flex; justify-content: space-between; gap: 14px; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 13px; }
.kv > div:last-child { border-bottom: 0; }
.kv span { color: var(--muted); }
.kv b { font-weight: 620; text-align: right; }
.kv .mono-v { font-family: var(--mono); font-size: 12.5px; }

.detail-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 4px; }

/* back link */
.back-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 14px; font-weight: 620; color: var(--muted-dark);
  text-decoration: none; padding: 7px 12px; margin-left: -12px; border-radius: 9px;
  transition: color .15s, background .15s;
}
.back-link:hover { color: #fff; background: rgba(255,255,255,.08); }

/* ── login modal ─────────────────────────────────────────────── */
.modal-veil {
  position: fixed; inset: 0; z-index: 90; overflow-y: auto;
  display: grid; place-items: center; padding: 22px;
  background: rgba(6,13,26,.78); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  animation: fadein .25s var(--ease);
}
@keyframes fadein { from { opacity: 0; } }
.login-card {
  width: 100%; max-width: 400px; overflow: hidden;
  background: var(--card); border-radius: 22px; box-shadow: 0 40px 100px rgba(0,0,0,.5);
  animation: rise .45s var(--ease);
}
.login-head { position: relative; padding: 28px 30px 24px; background: var(--ink); color: #fff; overflow: hidden; }
.login-head .hero-grid { opacity: .12; }
.login-head img { height: 34px; width: auto; position: relative; }
.login-head b { display: block; position: relative; margin-top: 18px; font-size: 19px; font-weight: 720; }
.login-head p { position: relative; margin-top: 4px; font-size: 13.5px; color: var(--muted-dark); }
.login-body { padding: 26px 30px 30px; display: grid; gap: 16px; }
.field label {
  display: block; margin-bottom: 7px;
  font-family: var(--mono); font-size: 11px; letter-spacing: .18em;
  text-transform: uppercase; color: var(--muted);
}
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 15px; border-radius: 11px;
  border: 1px solid var(--line); background: #F8FBFE; color: var(--text);
  font-size: 14.5px; transition: border-color .16s, box-shadow .16s, background .16s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--blue-deep); background: #fff;
  box-shadow: 0 0 0 3px rgba(22,96,191,.14);
}
.field .pw-wrap { position: relative; }
.field .pw-wrap input { padding-right: 64px; }
.pw-toggle {
  position: absolute; right: 8px; top: 50%; translate: 0 -50%;
  font-size: 12px; font-weight: 640; color: var(--muted);
  padding: 6px 9px; border-radius: 7px;
}
.pw-toggle:hover { background: #EDF3FA; color: var(--text); }
.form-error {
  display: flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 560; color: #B42318;
  background: #FEF1F0; border: 1px solid #F6C9C5; border-radius: 10px; padding: 10px 13px;
}
.shake { animation: shake .4s var(--ease); }
@keyframes shake { 20%,60% { transform: translateX(-7px); } 40%,80% { transform: translateX(7px); } }

/* image zoom modal */
.zoom-veil {
  position: fixed; inset: 0; z-index: 95; display: grid; place-items: center; padding: 26px;
  background: rgba(6,13,26,.92); backdrop-filter: blur(8px); cursor: zoom-out;
  animation: fadein .2s var(--ease);
}
.zoom-veil img { max-width: 100%; max-height: calc(100vh - 90px); border-radius: 14px; background: #fff; box-shadow: 0 30px 80px rgba(0,0,0,.55); cursor: default; }
.zoom-close {
  position: absolute; top: 18px; right: 18px; width: 44px; height: 44px;
  display: grid; place-items: center; border-radius: 50%;
  background: rgba(255,255,255,.12); color: #fff; font-size: 19px;
  transition: background .15s;
}
.zoom-close:hover { background: rgba(255,255,255,.24); }

/* ════════════════════════════════════════════════════════════════
   ABOUT / BOOK page bits
   ════════════════════════════════════════════════════════════════ */
.split { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(28px, 4vw, 56px); align-items: center; }
@media (max-width: 880px) { .split { grid-template-columns: 1fr; } }

.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 11px; }
.fact { border: 1px solid var(--line-dark); border-radius: var(--r-md); background: rgba(255,255,255,.05); padding: 17px 18px; }
.fact .k { font-family: var(--mono); font-size: 10.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--faint-dark); }
.fact .v { margin-top: 7px; font-size: 15.5px; font-weight: 680; color: #fff; }
.fact .v a { color: var(--lume-glow); text-decoration: none; }
.fact .v a:hover { text-decoration: underline; }

.founder-card { display: flex; gap: 20px; padding: clamp(22px, 3vw, 34px); }
.founder-card img { width: 86px; height: 86px; border-radius: 16px; object-fit: cover; flex: none; border: 1px solid var(--line); }
.founder-card .role { font-size: 13px; font-weight: 640; color: var(--blue-deep); margin: 2px 0 10px; }
.founder-card p { font-size: 14.5px; color: var(--muted); }
@media (max-width: 560px) { .founder-card { flex-direction: column; } }

.photo-tile { overflow: hidden; }
.photo-tile .ph { height: 250px; overflow: hidden; }
.photo-tile .ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.photo-tile:hover .ph img { transform: scale(1.05); }
.photo-tile .cap { padding: 17px 20px; border-top: 1px solid var(--line); }
.photo-tile .cap b { font-size: 15.5px; }
.photo-tile .cap p { font-size: 13.5px; color: var(--muted); margin-top: 3px; }

.svc-card { padding: 26px 24px; border: 1px solid var(--line-dark); border-radius: var(--r-lg); background: rgba(255,255,255,.05); transition: background .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease); }
.svc-card:hover { background: rgba(255,255,255,.08); border-color: rgba(139,232,86,.28); transform: translateY(-3px); }
.svc-card .ic { width: 42px; height: 42px; border-radius: 11px; display: grid; place-items: center; background: rgba(91,203,40,.16); color: var(--lume-glow); margin-bottom: 16px; }
.svc-card .ic svg { width: 20px; height: 20px; }
.svc-card b { display: block; font-size: 16.5px; color: #fff; margin-bottom: 8px; }
.svc-card p { font-size: 13.5px; color: var(--muted-dark); }

/* book form */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 620px) { .form-grid { grid-template-columns: 1fr; } }
.form-grid .full { grid-column: 1 / -1; }
textarea { resize: vertical; min-height: 130px; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; margin-top: 26px; }
.req-mark { color: var(--lume); }

.expect { counter-reset: ex; display: grid; gap: 0; }
.expect li { counter-increment: ex; display: flex; gap: 15px; padding: 15px 0; border-bottom: 1px dashed var(--line); list-style: none; }
.expect li:last-child { border-bottom: 0; }
.expect li::before {
  content: "0" counter(ex);
  flex: none; font-family: var(--mono); font-size: 12px; font-weight: 600;
  width: 34px; height: 34px; border-radius: 9px;
  display: grid; place-items: center;
  background: var(--blue-soft); color: var(--blue-deep);
}
.expect p { font-size: 14px; color: var(--muted); padding-top: 6px; }
.expect ul, .expect-list { margin: 0; padding: 0; }

/* ── motion safety ───────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .scanbeam, .ticker-track { animation: none !important; display: none; }
  .rv { opacity: 1; transform: none; }
}

/* ── layout grids (about / shared) ───────────────────────────── */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 880px) { .grid-2, .grid-3 { grid-template-columns: 1fr; } }

/* light-context facts (about page) */
.facts-lite .fact { border: 1px solid var(--line); background: #fff; }
.facts-lite .fact .k { color: var(--muted); }
.facts-lite .fact .v { color: var(--ink); }
.facts-lite .fact .v a { color: var(--blue-deep); }

/* ── booking page layout ─────────────────────────────────────── */
.book-grid { display: grid; grid-template-columns: 1.35fr .85fr; gap: clamp(20px, 3vw, 34px); align-items: start; }
@media (max-width: 920px) { .book-grid { grid-template-columns: 1fr; } }
.display-sm { font-size: clamp(20px, 2.2vw, 25px); }
.form-foot span { font-size: 13.5px; color: var(--muted); }
.form-foot a { color: var(--blue-deep); }

/* light-context founder rows (book sidebar) */
.founder-row-lite { border: 1px solid var(--line); background: var(--paper); }
.founder-row-lite:hover { background: #EDF3FB; border-color: var(--blue); }
.founder-row-lite b { color: var(--ink); }
.founder-row-lite span { color: var(--muted); }

/* ── pending project (no units yet) ──────────────────────────── */
.project-card.is-pending { cursor: default; }
.project-card.is-pending:hover { box-shadow: var(--shadow-card); transform: none; }
.project-card.is-pending .project-photo img { filter: saturate(.85) brightness(.92); }
.project-card.is-pending .project-photo::after {
  content: "In preparation"; position: absolute; top: 16px; left: 16px; z-index: 2;
  font-family: var(--mono); font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase;
  color: #fff; background: rgba(8,17,32,.55); border: 1px solid rgba(255,255,255,.25);
  padding: 5px 10px; border-radius: 999px; backdrop-filter: blur(4px);
}
/* fallback backdrop when a project hero image is missing */
.project-photo { background: linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 55%, var(--blue-deep) 130%); }
