/* ==========================================================================
   Alimaz Technologies — NETSOL-Inspired Enterprise Pure White & Obsidian System
   Pure White Default (light) + Midnight Obsidian Mode (dark)
   Plus Jakarta Sans + Inter • Royal Cobalt (#2E6CF6) • WCAG 2.1 AA • Zero CLS
   ========================================================================== */

:root,
[data-theme="light"] {
  --bg: #ffffff;
  --bg-elev: #f6f8fc;
  --surface: #ffffff;
  --surface-2: #edf2fa;
  --footer-bg: #f6f8fc;
  --header-bg: rgba(255, 255, 255, 0.92);
  --header-bg-scrolled: rgba(255, 255, 255, 0.98);
  --drawer-bg: rgba(255, 255, 255, 0.996);

  --ink: #1f242d;
  --ink-soft: #4e5768;
  --muted: #768094;

  --accent: #2e6cf6;
  --accent-deep: #1e54d4;
  --accent-soft: rgba(46, 108, 246, 0.08);

  --bronze: #2e6cf6;
  --bronze-light: #2563eb;
  --bronze-soft: rgba(46, 108, 246, 0.08);
  --teal: #10b981;
  --cyan: #06b6d4;
  --violet: #5b46f6;

  --emerald: #0d9468;
  --wa-bg: rgba(16, 185, 129, 0.07);
  --wa-bg-hover: rgba(16, 185, 129, 0.13);
  --wa-border: rgba(16, 185, 129, 0.3);
  --wa-ink: #047857;
  --err-ink: #dc2626;

  --line: #e6ecf4;
  --line-strong: #cfd9e7;
  --line-bronze: rgba(46, 108, 246, 0.28);

  --mark-bg: #ffffff;
  --mark-border: rgba(31, 36, 45, 0.14);
  --spin-track: rgba(255, 255, 255, 0.35);

  --pinstripe: repeating-linear-gradient(90deg, rgba(46, 108, 246, 0.12) 0 1px, transparent 1px 10px);
  --pinstripe-teal: repeating-linear-gradient(90deg, rgba(16, 185, 129, 0.14) 0 1px, transparent 1px 10px);
  --hero-glow: radial-gradient(ellipse 68% 45% at 75% 8%, rgba(46, 108, 246, 0.045), transparent 65%);
  --featured-grad: linear-gradient(180deg, rgba(46, 108, 246, 0.05), #ffffff 42%);
  --row-hover: rgba(46, 108, 246, 0.03);
  --alimaz-col: rgba(46, 108, 246, 0.055);
  --range-track: rgba(31, 36, 45, 0.14);
  --modal-backdrop: rgba(15, 23, 42, 0.52);
  --media-inset: inset 0 0 0 1px rgba(31, 36, 45, 0.06);

  --plate-border: rgba(46, 108, 246, 0.12);
  --plate-num: rgba(46, 108, 246, 0.065);
  --plate-1: radial-gradient(circle at 80% 20%, rgba(46, 108, 246, 0.1), transparent 58%),
    linear-gradient(155deg, #f7f9fe 0%, #eef2fb 100%);
  --plate-2: radial-gradient(circle at 20% 80%, rgba(16, 185, 129, 0.09), transparent 58%),
    linear-gradient(155deg, #f4fbf8 0%, #eaf4f0 100%);
  --plate-3: radial-gradient(circle at 75% 75%, rgba(91, 70, 246, 0.09), transparent 60%),
    linear-gradient(155deg, #f7f6fe 0%, #eeecfb 100%);
  --plate-4: radial-gradient(circle at 25% 25%, rgba(6, 182, 212, 0.09), transparent 58%),
    linear-gradient(155deg, #f3f9fc 0%, #e9f3f8 100%);

  --f-display: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  --f-body: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  --f-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, monospace;

  --r-xs: 6px;
  --r-sm: 10px;
  --r-md: 16px;

  --max-w: 1260px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --shadow-frame: 0 20px 54px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 26px 70px rgba(15, 23, 42, 0.13);
}

[data-theme="dark"] {
  --bg: #07090f;
  --bg-elev: #0e131e;
  --surface: #121826;
  --surface-2: #192234;
  --footer-bg: #05070c;
  --header-bg: rgba(7, 9, 15, 0.88);
  --header-bg-scrolled: rgba(7, 9, 15, 0.96);
  --drawer-bg: rgba(7, 9, 15, 0.996);

  --ink: #f2f5fb;
  --ink-soft: #a8b3c7;
  --muted: #76839c;

  --accent: #4c82ff;
  --accent-deep: #346bf2;
  --accent-soft: rgba(76, 130, 255, 0.14);

  --bronze: #60a5fa;
  --bronze-light: #93c5fd;
  --bronze-soft: rgba(96, 165, 250, 0.14);
  --teal: #34d399;
  --cyan: #22d3ee;
  --violet: #818cf8;

  --emerald: #34d399;
  --wa-bg: rgba(52, 211, 153, 0.08);
  --wa-bg-hover: rgba(52, 211, 153, 0.15);
  --wa-border: rgba(52, 211, 153, 0.28);
  --wa-ink: #6ee7b7;
  --err-ink: #fca5a5;

  --line: rgba(242, 245, 251, 0.09);
  --line-strong: rgba(242, 245, 251, 0.18);
  --line-bronze: rgba(96, 165, 250, 0.34);

  --mark-bg: #0e131e;
  --mark-border: rgba(242, 245, 251, 0.16);
  --spin-track: rgba(7, 9, 15, 0.35);

  --pinstripe: repeating-linear-gradient(90deg, rgba(96, 165, 250, 0.14) 0 1px, transparent 1px 10px);
  --pinstripe-teal: repeating-linear-gradient(90deg, rgba(52, 211, 153, 0.14) 0 1px, transparent 1px 10px);
  --hero-glow: radial-gradient(ellipse 68% 45% at 75% 8%, rgba(76, 130, 255, 0.11), transparent 65%);
  --featured-grad: linear-gradient(180deg, rgba(76, 130, 255, 0.1), #121826 42%);
  --row-hover: rgba(96, 165, 250, 0.045);
  --alimaz-col: rgba(96, 165, 250, 0.08);
  --range-track: rgba(242, 245, 251, 0.16);
  --modal-backdrop: rgba(3, 5, 10, 0.84);
  --media-inset: inset 0 0 0 1px rgba(242, 245, 251, 0.06);

  --plate-border: rgba(96, 165, 250, 0.14);
  --plate-num: rgba(96, 165, 250, 0.06);
  --plate-1: radial-gradient(circle at 80% 20%, rgba(76, 130, 255, 0.16), transparent 56%),
    linear-gradient(155deg, #12192b 0%, #090c14 100%);
  --plate-2: radial-gradient(circle at 20% 80%, rgba(52, 211, 153, 0.12), transparent 56%),
    linear-gradient(155deg, #101d1b 0%, #080d0d 100%);
  --plate-3: radial-gradient(circle at 75% 75%, rgba(129, 140, 248, 0.15), transparent 60%),
    linear-gradient(155deg, #141529 0%, #0a0b14 100%);
  --plate-4: radial-gradient(circle at 25% 25%, rgba(34, 211, 238, 0.12), transparent 56%),
    linear-gradient(155deg, #0f1b24 0%, #080c12 100%);

  --shadow-frame: 0 28px 72px rgba(0, 0, 0, 0.55);
  --shadow-lg: 0 32px 80px rgba(0, 0, 0, 0.65);
}

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

html {
  scroll-behavior: smooth;
  background: var(--bg);
  color: var(--ink);
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  overflow-x: clip;
}

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--f-body);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
  transition: background-color 0.25s ease, color 0.25s ease;
}

::selection {
  background: var(--accent);
  color: #fff;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

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

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

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

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

.skip-link {
  position: fixed;
  left: 16px;
  top: -120px;
  z-index: 10000;
  padding: 11px 18px;
  border-radius: var(--r-sm);
  background: var(--ink);
  color: var(--bg);
  font-weight: 700;
  font-size: 13.5px;
  transition: top 0.2s var(--ease);
}

.skip-link:focus {
  top: 16px;
}

/* Scroll Progress Hairline */
#scrollProgress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  width: 0%;
  background: linear-gradient(90deg, var(--bronze), var(--accent));
  z-index: 9999;
  pointer-events: none;
}

.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding-inline: clamp(20px, 4vw, 48px);
}

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

/* Shared Section Rhythm & Typography */
.section {
  position: relative;
  padding-block: clamp(72px, 8.5vw, 128px);
  border-bottom: 1px solid var(--line);
  transition: background-color 0.25s ease, border-color 0.25s ease;
}

.section-elev {
  background: var(--bg-elev);
}

.section-head {
  margin-bottom: clamp(40px, 5vw, 64px);
}

.section-head.two-col {
  display: grid;
  gap: 24px 56px;
  align-items: end;
}

@media (min-width: 900px) {
  .section-head.two-col {
    grid-template-columns: 1.25fr 0.75fr;
  }
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--f-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--bronze);
  margin-bottom: 16px;
}

.eyebrow::before {
  content: '';
  width: 28px;
  height: 1px;
  background: var(--bronze);
}

.section-title {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: clamp(2rem, 3.8vw, 3.1rem);
  line-height: 1.09;
  letter-spacing: -0.03em;
  color: var(--ink);
}

.section-title em {
  font-style: normal;
  color: var(--accent);
  font-weight: 700;
}

.section-sub {
  font-size: clamp(15px, 1.2vw, 17px);
  color: var(--ink-soft);
  max-width: 56ch;
  line-height: 1.7;
}

/* Scroll Reveal Choreography */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.72s var(--ease), transform 0.72s var(--ease);
}

.reveal.in-view {
  opacity: 1;
  transform: none;
}

/* Architectural & NETSOL-Style Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 44px;
  padding: 11px 22px;
  border-radius: var(--r-sm);
  font-weight: 600;
  font-size: 13.5px;
  letter-spacing: -0.005em;
  transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.25s var(--ease), box-shadow 0.25s ease;
  position: relative;
  white-space: nowrap;
}

.btn-lg {
  min-height: 50px;
  padding: 14px 26px;
  font-size: 14.5px;
}

.btn-block {
  width: 100%;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  border: 1px solid var(--accent);
}

.btn-primary:hover {
  background: var(--accent-deep);
  border-color: var(--accent-deep);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(46, 108, 246, 0.24);
}

/* Signature NETSOL Royal Blue Pill + Embedded White Arrow Box */
.btn-netsol {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-height: 48px;
  padding: 6px 8px 6px 22px;
  border-radius: 10px;
  background: var(--accent);
  color: #fff;
  font-weight: 600;
  font-size: 14.5px;
  border: 1px solid var(--accent);
  transition: background-color 0.22s ease, transform 0.22s var(--ease), box-shadow 0.22s ease;
  white-space: nowrap;
}

.btn-netsol:hover {
  background: var(--accent-deep);
  border-color: var(--accent-deep);
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(46, 108, 246, 0.28);
}

.btn-netsol-sq {
  width: 34px;
  height: 34px;
  border-radius: 7px;
  background: #fff;
  color: var(--accent);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  transition: transform 0.22s var(--ease);
}

.btn-netsol:hover .btn-netsol-sq {
  transform: translate(1px, -1px);
}

.btn-ghost {
  background: var(--surface);
  color: var(--ink);
  border: 1px solid var(--line-strong);
}

.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-soft);
}

.btn-wa {
  background: var(--wa-bg);
  color: var(--wa-ink);
  border: 1px solid var(--wa-border);
}

.btn-wa:hover {
  background: var(--wa-bg-hover);
  border-color: var(--emerald);
}

.btn.is-loading .btn-label {
  opacity: 0;
}

.btn .btn-spin {
  display: none;
  position: absolute;
}

.btn.is-loading .btn-spin {
  display: inline-flex;
}

.btn-spin::after {
  content: '';
  width: 16px;
  height: 16px;
  border: 2px solid var(--spin-track);
  border-top-color: var(--bg);
  border-radius: 50%;
  animation: eliteSpin 0.7s linear infinite;
}

@keyframes eliteSpin {
  to {
    transform: rotate(360deg);
  }
}

/* ==========================================================================
   HEADER, THEME TOGGLE & ARCHITECTURAL NAVIGATION
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 500;
  background: var(--header-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
  transition: background-color 0.25s ease, border-color 0.25s ease;
}

.site-header.scrolled {
  background: var(--header-bg-scrolled);
  border-bottom-color: var(--line-strong);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  height: 76px;
  transition: height 0.25s var(--ease);
}

.site-header.scrolled .nav {
  height: 66px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  white-space: nowrap;
}

.brand-mark {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  transition: transform 0.25s var(--ease);
}

.brand:hover .brand-mark {
  transform: translateY(-1px) scale(1.03);
}

.brand-mark-inner {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
}

.brand-svg,
.brand-mark-inner img {
  width: 34px;
  height: 34px;
  object-fit: contain;
  display: block;
}

.brand-name {
  display: flex;
  flex-direction: column;
  line-height: 1.02;
  white-space: nowrap;
}

.b-main {
  font-family: var(--f-display);
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--ink);
  white-space: nowrap;
}

.b-sub {
  font-family: var(--f-mono);
  font-size: 8px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--accent);
  margin-top: 2px;
  white-space: nowrap;
}

.nav-links {
  display: none;
  align-items: center;
  gap: clamp(18px, 2.2vw, 30px);
}

.nav-links a,
.nav-dd-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink-soft);
  white-space: nowrap;
  position: relative;
  padding-block: 6px;
  transition: color 0.2s ease;
}

.nav-links > a::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.28s var(--ease);
}

.nav-links a:hover,
.nav-links a.active,
.nav-dd-btn:hover,
.nav-dd-btn[aria-expanded="true"] {
  color: var(--ink);
}

.nav-links > a:hover::after,
.nav-links > a.active::after {
  transform: scaleX(1);
}

/* Header Dropdown Menus & Circular Region Picker */
.nav-dd-wrap {
  position: relative;
}

.nav-dd-btn svg {
  transition: transform 0.2s ease;
  opacity: 0.7;
}

.nav-dd-wrap.is-open .nav-dd-btn svg {
  transform: rotate(180deg);
}

.nav-dd-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  min-width: 248px;
  padding: 8px;
  border-radius: var(--r-md);
  background: var(--surface);
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  transform: translateY(-6px);
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s var(--ease);
  z-index: 600;
  display: grid;
  gap: 2px;
}

.nav-dd-wrap.is-open .nav-dd-menu {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

.nav-dd-menu a {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  padding: 9px 12px;
  border-radius: var(--r-sm);
  white-space: normal;
  transition: background-color 0.15s ease;
}

.nav-dd-menu a:hover {
  background: var(--bg-elev);
}

.nav-dd-menu a strong {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
}

.nav-dd-menu a small {
  font-size: 11.5px;
  color: var(--muted);
}

.region-picker {
  position: relative;
}

.region-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: var(--surface);
  color: var(--ink);
  font-family: var(--f-mono);
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 0.2s ease, transform 0.2s var(--ease);
}

.region-btn:hover,
.region-btn[aria-expanded="true"] {
  border-color: var(--accent);
  color: var(--accent);
}

.region-popover {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: 244px;
  padding: 8px;
  border-radius: var(--r-md);
  background: var(--surface);
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  transform: translateY(-6px);
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s var(--ease);
  z-index: 600;
  display: grid;
  gap: 2px;
}

.region-picker.is-open .region-popover {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

.region-pop-head {
  padding: 6px 10px;
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.region-pop-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  width: 100%;
  padding: 8px 10px;
  border-radius: var(--r-xs);
  font-size: 13px;
  color: var(--ink-soft);
  text-align: left;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.region-pop-item:hover,
.region-pop-item.is-active {
  background: var(--bg-elev);
  color: var(--ink);
}

.region-pop-item span {
  font-family: var(--f-mono);
  font-size: 10.5px;
  color: var(--accent);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

/* Minimal Theme Toggle Pill (White default <-> Black option) */
.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 38px;
  padding: 0 12px;
  border-radius: var(--r-sm);
  border: 1px solid var(--line-strong);
  background: var(--surface);
  color: var(--ink-soft);
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: border-color 0.2s ease, color 0.2s ease, background-color 0.2s ease;
  white-space: nowrap;
}

.theme-toggle:hover {
  border-color: var(--bronze);
  color: var(--ink);
}

.theme-toggle svg {
  width: 15px;
  height: 15px;
}

.theme-toggle .icon-sun {
  display: none;
}

[data-theme="dark"] .theme-toggle {
  color: var(--ink);
}

[data-theme="dark"] .theme-toggle .icon-moon {
  display: none;
}

[data-theme="dark"] .theme-toggle .icon-sun {
  display: inline-block;
}

@media (max-width: 479px) {
  .theme-toggle-label {
    display: none;
  }

  .theme-toggle {
    width: 38px;
    padding: 0;
  }
}

/* Header Quick Command Trigger */
.cmd-trigger {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 0 11px;
  border-radius: var(--r-sm);
  border: 1px solid var(--line-strong);
  background: var(--surface);
  color: var(--ink-soft);
  font-size: 12.5px;
  font-weight: 500;
  cursor: pointer;
  white-space: nowrap;
  transition: border-color 0.2s ease, color 0.2s ease, background-color 0.2s ease;
}

.cmd-trigger:hover {
  border-color: var(--bronze);
  color: var(--ink);
}

.cmd-kbd {
  display: inline-flex;
  align-items: center;
  padding: 2px 6px;
  border-radius: 3px;
  border: 1px solid var(--line-strong);
  background: var(--bg-elev);
  font-family: var(--f-mono);
  font-size: 10px;
  line-height: 1.2;
  color: var(--muted);
}

@media (max-width: 639px) {
  .cmd-trigger {
    display: none;
  }
}

.nav-cta-pill {
  display: none;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 16px;
  border-radius: 9px;
  background: var(--accent);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  transition: background-color 0.2s ease, transform 0.2s var(--ease);
}

.nav-cta-pill:hover {
  background: var(--accent-deep);
  transform: translateY(-1px);
}

@media (min-width: 1140px) {
  .nav-cta-pill {
    display: inline-flex;
  }
}

@media (hover: hover) and (min-width: 980px) {
  .nav-dd-wrap:hover .nav-dd-menu {
    opacity: 1;
    transform: none;
    pointer-events: auto;
  }
  .nav-dd-wrap::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    height: 12px;
  }
}

.hamburger {
  width: 40px;
  height: 38px;
  border-radius: 9px;
  border: 1px solid var(--line-strong);
  background: var(--surface);
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.hamburger span {
  width: 16px;
  height: 1.6px;
  border-radius: 2px;
  background: var(--ink);
  transition: transform 0.25s var(--ease), opacity 0.2s ease;
}

.hamburger.active span:nth-child(1) {
  transform: translateY(3.8px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
  transform: translateY(-3.8px) rotate(-45deg);
}

@media (min-width: 980px) {
  .nav-links {
    display: inline-flex;
  }

  .hamburger {
    display: none;
  }
}

.mobile-menu {
  position: fixed;
  inset: 64px 0 0 0;
  height: calc(100dvh - 64px);
  z-index: 490;
  background: var(--drawer-bg);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  display: flex;
  flex-direction: column;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-8px);
  transition: opacity 0.26s var(--ease), transform 0.26s var(--ease);
}

@media (min-width: 640px) {
  .mobile-menu {
    inset: 76px 0 0 0;
    height: calc(100dvh - 76px);
  }
}

.mobile-menu.open {
  opacity: 1;
  pointer-events: auto;
  transform: none;
}

body.is-menu-open #waChatWidget,
body.is-menu-open .to-top {
  opacity: 0 !important;
  visibility: hidden;
  pointer-events: none !important;
}

.m-menu-scroll {
  flex: 1;
  overflow-y: auto;
  padding: 16px 18px 20px;
  display: grid;
  gap: 14px;
  align-content: start;
}

.m-search-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 44px;
  padding: 0 14px;
  border-radius: 10px;
  border: 1px solid var(--line-strong);
  background: var(--bg-elev);
  color: var(--ink-soft);
  font-size: 13.5px;
  text-align: left;
}

.m-search-bar span {
  flex: 1;
}

.m-search-kbd {
  padding: 2px 7px;
  border-radius: 5px;
  border: 1px solid var(--line-strong);
  background: var(--surface);
  font-family: var(--f-mono);
  font-size: 10px;
  color: var(--muted);
}

.m-acc-nav {
  display: grid;
}

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

.m-acc-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 2px;
  font-family: var(--f-display);
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
  text-align: left;
}

.m-acc-trigger > span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.mobile-menu-num {
  font-family: var(--f-mono);
  font-size: 11px;
  font-weight: 500;
  color: var(--accent);
  letter-spacing: 0.1em;
}

.m-acc-trigger svg {
  color: var(--muted);
  transition: transform 0.25s var(--ease);
}

.m-acc-item.is-open .m-acc-trigger svg {
  transform: rotate(180deg);
  color: var(--accent);
}

.m-acc-panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.28s var(--ease);
}

.m-acc-item.is-open .m-acc-panel {
  grid-template-rows: 1fr;
}

.m-acc-panel-inner {
  overflow: hidden;
  display: grid;
  gap: 4px;
}

.m-acc-item.is-open .m-acc-panel-inner {
  padding-bottom: 12px;
}

.m-acc-panel-inner a {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 9px 12px;
  border-radius: 9px;
  background: var(--bg-elev);
}

.m-acc-panel-inner a strong {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink);
}

.m-acc-panel-inner a span {
  font-size: 11.5px;
  color: var(--muted);
}

.m-direct-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  padding-top: 14px;
}

.m-direct-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  border-radius: 9px;
  border: 1px solid var(--line);
  background: var(--surface);
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
}

.m-utils {
  display: grid;
  gap: 14px;
  padding: 14px;
  border-radius: 12px;
  background: var(--bg-elev);
  border: 1px solid var(--line);
}

.m-util-label {
  display: block;
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}

.m-cur-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
}

.m-cur-pill {
  min-height: 34px;
  border-radius: 7px;
  border: 1px solid var(--line-strong);
  background: var(--surface);
  font-family: var(--f-mono);
  font-size: 10.5px;
  font-weight: 600;
  color: var(--ink-soft);
}

.m-cur-pill.is-active {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.m-theme-seg {
  display: inline-grid;
  grid-template-columns: 1fr 1fr;
  padding: 3px;
  border-radius: 8px;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  gap: 2px;
}

.m-theme-opt {
  min-height: 30px;
  padding: 0 12px;
  border-radius: 6px;
  font-family: var(--f-mono);
  font-size: 11px;
  font-weight: 600;
  color: var(--muted);
}

.m-theme-opt.is-active {
  background: var(--ink);
  color: var(--bg);
}

.m-dock {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  padding: 12px 18px calc(14px + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid var(--line);
  background: var(--surface);
}

.m-dock-primary {
  justify-content: space-between;
  width: 100%;
}

.m-dock-wa {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 48px;
  padding: 0 14px;
  border-radius: 10px;
  background: var(--wa-bg);
  border: 1px solid var(--wa-border);
  color: var(--wa-ink);
  font-size: 13px;
  font-weight: 600;
}

/* ==========================================================================
   NETSOL-INSPIRED KINETIC SPLIT HERO & SIGNATURE SHOWCASE SECTIONS
   ========================================================================== */
.hero.ns-hero {
  position: relative;
  padding: clamp(32px, 4.5vw, 64px) 0 clamp(44px, 5vw, 72px);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  background: var(--hero-glow), var(--bg);
}

.ns-hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(36px, 5vw, 64px);
  align-items: center;
}

@media (min-width: 960px) {
  .ns-hero-grid {
    grid-template-columns: 1.04fr 0.96fr;
    min-height: clamp(460px, 60vh, 600px);
  }
}

.ns-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding-left: 12px;
  border-left: 2px solid var(--line-strong);
  font-size: 12.5px;
  font-weight: 500;
  color: var(--muted);
  margin-bottom: 18px;
}

.ns-hero-title {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: clamp(2.25rem, 4.5vw, 4.15rem);
  line-height: 1.07;
  letter-spacing: -0.03em;
  color: var(--ink);
  margin-bottom: 20px;
}

.hero-line {
  display: block;
}

.hero-rotator-line {
  min-height: 1.12em;
}

.hero-rotator {
  display: inline-block;
  color: var(--accent);
  transition: opacity 0.22s ease, transform 0.22s var(--ease);
}

.hero-rotator.is-switching {
  opacity: 0;
  transform: translateY(6px);
}

.ns-hero-sub {
  font-size: clamp(15.5px, 1.25vw, 17.5px);
  line-height: 1.65;
  color: var(--ink-soft);
  max-width: 50ch;
  margin-bottom: 28px;
}

.ns-hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
}

.ns-hero-markets {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 18px;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.ns-hero-markets span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.ns-hero-markets b {
  color: var(--ink);
  font-weight: 600;
}

/* Right Geometric Pinstripe + Rounded Color Backdrop + Floating 3D Stage */
.ns-hero-stage {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.ns-stage-card {
  position: relative;
  width: min(460px, 100%);
  aspect-ratio: 1 / 0.96;
  display: grid;
  place-items: center;
  padding: 20px;
}

.ns-stage-bars-left {
  position: absolute;
  left: 6%;
  top: 4%;
  width: 34%;
  height: 54%;
  background: var(--pinstripe);
  pointer-events: none;
}

.ns-stage-bars-bottom {
  position: absolute;
  left: 16%;
  right: 16%;
  bottom: 4%;
  height: 22px;
  border-top: 2px solid rgba(46, 108, 246, 0.25);
  border-bottom: 2px solid rgba(46, 108, 246, 0.18);
  background: linear-gradient(90deg, transparent 10%, rgba(46, 108, 246, 0.12) 50%, transparent 90%);
  pointer-events: none;
}

.ns-stage-shape {
  position: relative;
  width: 72%;
  aspect-ratio: 1 / 1;
  border-radius: 14px 72px 14px 14px;
  background: linear-gradient(155deg, #22c55e 0%, #10b981 100%);
  transition: background 0.55s var(--ease);
  box-shadow: 0 24px 50px rgba(46, 108, 246, 0.12);
}

.ns-hero-stage[data-slide="1"] .ns-stage-shape {
  background: linear-gradient(155deg, #bae6fd 0%, #7dd3fc 100%);
}

.ns-hero-stage[data-slide="2"] .ns-stage-shape {
  background: linear-gradient(155deg, #5eead4 0%, #2dd4bf 100%);
}

.ns-stage-visual {
  position: absolute;
  inset: 2% 2% 6% 2%;
  display: grid;
  place-items: center;
  pointer-events: none;
}

.ns-stage-img {
  position: absolute;
  width: 92%;
  height: 92%;
  object-fit: contain;
  mix-blend-mode: multiply;
  opacity: 0;
  transform: translateY(10px) scale(0.96);
  transition: opacity 0.45s ease, transform 0.55s var(--ease);
}

.ns-stage-img.is-active {
  opacity: 1;
  transform: none;
}

[data-theme="dark"] .ns-stage-img {
  mix-blend-mode: multiply;
  width: 90%;
  height: 90%;
}

.ns-stage-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin-top: 6px;
}

.ns-stage-label {
  font-family: var(--f-display);
  font-size: clamp(1.3rem, 2.1vw, 1.65rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--accent);
}

.ns-hero-dots {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.ns-hero-dot {
  width: 24px;
  height: 5px;
  border-radius: 99px;
  background: var(--line-strong);
  transition: width 0.25s var(--ease), background-color 0.25s ease;
}

.ns-hero-dot.is-active {
  width: 38px;
  background: var(--accent);
}

/* ==========================================================================
   ECOSYSTEM PINSTRIPE FROSTED BAND (#ecosystem)
   ========================================================================== */
.ns-ecosystem {
  padding-block: clamp(44px, 5vw, 68px);
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}

.ns-pinstripe-band {
  position: relative;
  padding-block: 18px;
}

.ns-pinstripe-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, var(--bg) 0%, transparent 18%, transparent 82%, var(--bg) 100%),
    repeating-linear-gradient(90deg, rgba(46, 108, 246, 0.14) 0 1px, transparent 1px 12px);
  border-radius: var(--r-md);
  pointer-events: none;
}

.ns-glass-card {
  position: relative;
  max-width: 1040px;
  margin: 0 auto;
  padding: clamp(26px, 3.5vw, 38px) clamp(20px, 4vw, 48px);
  border-radius: var(--r-md);
  background: rgba(255, 255, 255, 0.84);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--line);
  box-shadow: 0 16px 44px rgba(15, 23, 42, 0.05);
  text-align: center;
}

[data-theme="dark"] .ns-glass-card {
  background: rgba(18, 24, 38, 0.84);
}

.ns-glass-title {
  font-family: var(--f-display);
  font-size: clamp(1.1rem, 1.8vw, 1.35rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 24px;
}

.ns-stack-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 14px clamp(18px, 2.4vw, 30px);
}

.ns-stack-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--f-display);
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink-soft);
  opacity: 0.85;
  white-space: nowrap;
  transition: opacity 0.2s ease, color 0.2s ease, transform 0.2s var(--ease);
}

.ns-stack-item:hover {
  opacity: 1;
  color: var(--accent);
  transform: translateY(-1px);
}

.ns-stack-dot {
  width: 6px;
  height: 6px;
  border-radius: 2px;
  background: var(--accent);
  opacity: 0.7;
}

/* ==========================================================================
   CORE ARCHITECTURE TABBED BENTO SHOWCASE (#services)
   ========================================================================== */
.ns-platform-head {
  text-align: center;
  max-width: 68ch;
  margin: 0 auto clamp(28px, 4vw, 44px);
}

.ns-brand-badge-row {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}

.ns-app-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: linear-gradient(135deg, #2e6cf6 0%, #5b46f6 100%);
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 10px 24px rgba(46, 108, 246, 0.24);
  flex-shrink: 0;
}

.ns-app-icon-sm {
  width: 38px;
  height: 38px;
  border-radius: 10px;
}

.ns-platform-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 28px;
}

.ns-tab-btn {
  min-height: 46px;
  padding: 10px 22px;
  border-radius: 10px;
  border: 1px solid var(--line-strong);
  background: var(--surface);
  color: var(--ink);
  font-weight: 600;
  font-size: 14px;
  transition: all 0.25s var(--ease);
}

.ns-tab-btn:hover {
  border-color: var(--accent);
}

.ns-tab-btn.is-active[data-tab="flagships"] {
  background: linear-gradient(135deg, #4338ca 0%, #2e6cf6 100%);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 10px 24px rgba(46, 108, 246, 0.24);
}

.ns-tab-btn.is-active[data-tab="commerce"] {
  background: linear-gradient(135deg, #059669 0%, #10b981 55%, #06b6d4 100%);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 10px 24px rgba(16, 185, 129, 0.24);
}

.ns-tab-btn.is-active[data-tab="compliance"] {
  background: linear-gradient(135deg, #1d4ed8 0%, #0284c7 60%, #06b6d4 100%);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 10px 24px rgba(2, 132, 199, 0.24);
}

.ns-bento-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

@media (min-width: 960px) {
  .ns-bento-grid {
    grid-template-columns: 1.06fr 0.98fr 0.96fr;
    min-height: 430px;
  }
}

.ns-bento-col {
  display: grid;
  gap: 16px;
  min-width: 0;
}

.ns-bento-card {
  position: relative;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: var(--bg-elev);
  overflow: hidden;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

[data-theme="light"] .ns-bento-lead {
  background: linear-gradient(180deg, #f3f5fd 0%, #f8f9fd 100%);
}

[data-platform-theme="commerce"] .ns-bento-lead {
  background: linear-gradient(180deg, rgba(16, 185, 129, 0.08) 0%, var(--bg-elev) 100%);
}

[data-platform-theme="compliance"] .ns-bento-lead {
  background: linear-gradient(180deg, rgba(6, 182, 212, 0.08) 0%, var(--bg-elev) 100%);
}

[data-theme="dark"] .ns-bento-lead {
  background: linear-gradient(180deg, rgba(76, 130, 255, 0.12) 0%, var(--bg-elev) 100%);
}

.ns-bento-stripes-top {
  height: 46px;
  margin: -24px -24px 18px 40%;
  background: var(--pinstripe);
}

.ns-bento-stripes-bottom {
  height: 42px;
  margin: 20px -24px -24px -24px;
  background: var(--pinstripe);
}

.ns-bento-lead-title {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.ns-bento-lead-title h3 {
  font-family: var(--f-display);
  font-size: 1.45rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.ns-bento-desc {
  font-size: 14.5px;
  line-height: 1.66;
  color: var(--ink-soft);
  margin-bottom: 20px;
}

.ns-outline-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: flex-start;
  padding: 9px 16px;
  border-radius: 8px;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  transition: border-color 0.2s ease, color 0.2s ease;
}

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

.ns-card-note {
  text-align: center;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-soft);
  line-height: 1.55;
  margin-bottom: 14px;
}

.ns-bar-art {
  height: 112px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 7px;
  padding-top: 8px;
}

.ns-bar-art span {
  width: 3px;
  border-radius: 99px;
  background: linear-gradient(180deg, var(--violet) 0%, var(--accent) 55%, var(--cyan) 100%);
  opacity: 0.72;
  transform-origin: bottom center;
  animation: nsBarPulse 3.2s ease-in-out infinite;
}

.ns-bar-art span:nth-child(2n) { animation-delay: 0.45s; }
.ns-bar-art span:nth-child(3n) { animation-delay: 0.9s; }
.ns-bar-art span:nth-child(4n) { animation-delay: 1.35s; }

@keyframes nsBarPulse {
  0%, 100% { transform: scaleY(1); opacity: 0.72; }
  50% { transform: scaleY(0.84); opacity: 1; }
}

.ns-focus-stack {
  display: grid;
  gap: 8px;
}

.ns-focus-pill {
  padding: 12px 16px;
  border-radius: 10px;
  background: var(--surface);
  border: 1px solid var(--line);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink);
  text-align: center;
  transition: all 0.22s var(--ease);
}

.ns-focus-pill:hover {
  border-color: var(--accent);
}

.ns-focus-pill.is-active {
  background: linear-gradient(90deg, #4f46e5 0%, #2e6cf6 60%, #06b6d4 100%);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 8px 22px rgba(46, 108, 246, 0.22);
}

.ns-focus-caption {
  margin-top: 10px;
  text-align: center;
  font-family: var(--f-mono);
  font-size: 11px;
  color: var(--muted);
}

.ns-topo-card,
.ns-vitals-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 12px;
  min-height: 204px;
  padding: 18px 20px;
  background: var(--surface);
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s var(--ease);
}

.ns-topo-card:hover,
.ns-vitals-card:hover {
  border-color: var(--line-bronze);
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.05);
}

[data-theme="dark"] .ns-topo-card:hover,
[data-theme="dark"] .ns-vitals-card:hover {
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.35);
}

.ns-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.ns-panel-kicker {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--f-mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.ns-live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.18);
  flex-shrink: 0;
  animation: nsLivePulse 2.4s ease-in-out infinite;
}

@keyframes nsLivePulse {
  0%, 100% {
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.18);
  }
  50% {
    box-shadow: 0 0 0 6px rgba(16, 185, 129, 0.06);
  }
}

.ns-topo-badge {
  padding: 3px 9px;
  border-radius: 99px;
  font-family: var(--f-mono);
  font-size: 10px;
  font-weight: 500;
  color: var(--accent);
  background: var(--accent-soft);
  border: 1px solid rgba(46, 108, 246, 0.22);
  white-space: nowrap;
  transition: color 0.25s ease, background-color 0.25s ease, border-color 0.25s ease;
}

[data-platform-theme="commerce"] .ns-topo-badge {
  color: var(--emerald);
  background: rgba(16, 185, 129, 0.1);
  border-color: rgba(16, 185, 129, 0.26);
}

[data-platform-theme="compliance"] .ns-topo-badge {
  color: var(--cyan);
  background: rgba(6, 182, 212, 0.1);
  border-color: rgba(6, 182, 212, 0.28);
}

.ns-topo-svg {
  width: 100%;
  max-width: 280px;
  height: auto;
  margin-inline: auto;
  display: block;
}

.ns-topo-arc {
  stroke: var(--accent);
  stroke-opacity: 0.45;
  stroke-width: 1.35;
  stroke-dasharray: 4 4;
  animation: nsTopoFlow 16s linear infinite;
}

[data-platform-theme="commerce"] .ns-topo-arc {
  stroke: var(--teal);
}

[data-platform-theme="compliance"] .ns-topo-arc {
  stroke: var(--cyan);
}

@keyframes nsTopoFlow {
  to {
    stroke-dashoffset: -64;
  }
}

.ns-topo-node rect {
  fill: var(--bg-elev);
  stroke: var(--line-strong);
  stroke-width: 1;
}

.ns-topo-node text {
  fill: var(--ink);
  font-family: var(--f-mono);
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.ns-topo-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
}

.ns-topo-tags span {
  padding: 3px 8px;
  border-radius: 6px;
  background: var(--bg-elev);
  border: 1px solid var(--line);
  font-family: var(--f-mono);
  font-size: 10px;
  color: var(--ink-soft);
}

.ns-vitals-body {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 18px;
  margin-block: auto;
}

.ns-gauge-wrap {
  position: relative;
  width: 92px;
  height: 92px;
  flex-shrink: 0;
}

.ns-gauge-svg {
  width: 100%;
  height: 100%;
  display: block;
}

.ns-gauge-track {
  fill: none;
  stroke: var(--line);
  stroke-width: 6.5;
}

.ns-gauge-arc {
  fill: none;
  stroke-width: 6.5;
  stroke-linecap: round;
  stroke-dasharray: 245.04;
  stroke-dashoffset: 12.25;
  transform: rotate(-90deg);
  transform-origin: 48px 48px;
}

.ns-gauge-center {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  text-align: center;
}

.ns-gauge-center b {
  font-family: var(--f-display);
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--ink);
}

.ns-gauge-center small {
  margin-top: 2px;
  font-family: var(--f-mono);
  font-size: 8.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--muted);
}

.ns-vitals-bars {
  display: grid;
  gap: 10px;
  min-width: 0;
}

.ns-vbar-row {
  display: grid;
  gap: 4px;
}

.ns-vbar-meta {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-family: var(--f-mono);
  font-size: 10.5px;
}

.ns-vbar-meta span {
  color: var(--muted);
}

.ns-vbar-meta b {
  font-weight: 600;
  color: var(--ink);
}

.ns-vbar-track {
  height: 5px;
  border-radius: 99px;
  background: var(--bg-elev);
  border: 1px solid var(--line);
  overflow: hidden;
}

.ns-vbar-fill {
  display: block;
  height: 100%;
  border-radius: 99px;
}

.ns-vbar-cobalt {
  background: linear-gradient(90deg, var(--violet), var(--accent));
}

.ns-vbar-emerald {
  background: linear-gradient(90deg, #059669, var(--teal));
}

.ns-vbar-cyan {
  background: linear-gradient(90deg, var(--accent), var(--cyan));
}

.ns-progress-track {
  margin-top: 22px;
  height: 3px;
  border-radius: 99px;
  background: var(--line);
  overflow: hidden;
}

.ns-progress-bar {
  height: 100%;
  width: 33.333%;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--violet) 0%, var(--accent) 100%);
  transition: width 0.4s var(--ease), background 0.4s ease;
}

/* ==========================================================================
   WHO WE SERVE (#serve)
   ========================================================================== */
.ns-serve-head {
  text-align: center;
  max-width: 62ch;
  margin: 0 auto clamp(34px, 5vw, 52px);
}

.ns-serve-head .eyebrow {
  margin-inline: auto;
}

.ns-serve-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-bottom: clamp(32px, 4.5vw, 46px);
}

@media (min-width: 900px) {
  .ns-serve-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
  }
}

.ns-serve-col {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: clamp(22px, 2.8vw, 30px);
  border-radius: 18px;
  border: 1px solid var(--line);
  background: var(--surface);
  text-align: left;
  overflow: hidden;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.035);
  transition: transform 0.3s var(--ease), border-color 0.25s ease, box-shadow 0.3s var(--ease);
}

.ns-serve-col::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--accent);
  opacity: 0.72;
  transition: opacity 0.25s ease;
}

.ns-serve-emerald::before {
  background: var(--teal);
}

.ns-serve-indigo::before {
  background: var(--violet);
}

.ns-serve-col:hover {
  transform: translateY(-4px);
  border-color: var(--line-bronze);
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.08);
}

.ns-serve-col:hover::before {
  opacity: 1;
}

[data-theme="dark"] .ns-serve-col {
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.32);
}

.ns-serve-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}

.ns-icon-box {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid rgba(46, 108, 246, 0.22);
  background: var(--accent-soft);
  color: var(--accent);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.ns-serve-emerald .ns-icon-box {
  border-color: rgba(16, 185, 129, 0.26);
  background: rgba(16, 185, 129, 0.1);
  color: var(--emerald);
}

.ns-serve-indigo .ns-icon-box {
  border-color: rgba(91, 70, 246, 0.26);
  background: rgba(91, 70, 246, 0.1);
  color: var(--violet);
}

.ns-serve-idx {
  font-family: var(--f-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.ns-serve-col h3 {
  font-family: var(--f-display);
  font-size: 1.22rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin-bottom: 10px;
}

.ns-serve-col p {
  font-size: 14px;
  line-height: 1.65;
  color: var(--ink-soft);
  margin-bottom: 18px;
}

.ns-serve-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 20px;
}

.ns-serve-tags span {
  padding: 4px 9px;
  border-radius: 99px;
  border: 1px solid var(--line);
  background: var(--bg-elev);
  font-family: var(--f-mono);
  font-size: 10.5px;
  color: var(--ink-soft);
}

.ns-serve-link {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  transition: color 0.2s ease, gap 0.2s ease;
}

.ns-serve-link:hover {
  color: var(--accent-deep);
}

.ns-serve-link svg {
  transition: transform 0.2s var(--ease);
}

.ns-serve-link:hover svg {
  transform: translateX(3px);
}

.ns-serve-cta {
  text-align: center;
}

/* ==========================================================================
   TECHNOLOGY PARTNER PANEL (#partner)
   ========================================================================== */
.ns-partner-card {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px 48px;
  align-items: center;
  padding: clamp(28px, 4.5vw, 56px);
  border-radius: 20px;
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-top: 2px solid var(--accent);
  box-shadow: 0 18px 46px rgba(15, 23, 42, 0.045);
}

[data-theme="dark"] .ns-partner-card {
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}

@media (min-width: 960px) {
  .ns-partner-card {
    grid-template-columns: 0.78fr 1.22fr;
  }
}

.ns-partner-visual {
  position: relative;
  display: grid;
  place-items: center;
}

.ns-partner-stage {
  position: relative;
  display: grid;
  place-items: center;
  width: min(340px, 100%);
  aspect-ratio: 1 / 1;
}

.ns-partner-stage::before {
  content: "";
  position: absolute;
  inset: 10px;
  border-radius: 28px;
  background: var(--pinstripe);
  opacity: 0.72;
  -webkit-mask-image: radial-gradient(closest-side, #000 54%, transparent 98%);
  mask-image: radial-gradient(closest-side, #000 54%, transparent 98%);
  pointer-events: none;
}

[data-theme="dark"] .ns-partner-stage {
  width: min(300px, 100%);
  aspect-ratio: 1 / 0.84;
  border-radius: 16px 56px 16px 16px;
  background: linear-gradient(155deg, #f4f7ff 0%, #dbeafe 55%, #bfdbfe 100%);
  border: 1px solid rgba(147, 197, 253, 0.45);
  box-shadow: 0 26px 60px rgba(0, 0, 0, 0.52), 0 0 0 1px rgba(76, 130, 255, 0.2);
}

[data-theme="dark"] .ns-partner-stage::before {
  background: var(--pinstripe);
  opacity: 0.55;
  inset: 0;
  border-radius: inherit;
  -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.7), transparent 72%);
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.7), transparent 72%);
}

.ns-partner-img {
  position: relative;
  z-index: 1;
  width: min(306px, 88%);
  border-radius: 20px;
  mix-blend-mode: multiply;
  -webkit-mask-image: radial-gradient(closest-side, #000 66%, transparent 98%);
  mask-image: radial-gradient(closest-side, #000 66%, transparent 98%);
  animation: nsPartnerFloat 7s ease-in-out infinite;
}

@keyframes nsPartnerFloat {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-6px);
  }
}

[data-theme="dark"] .ns-partner-img {
  width: 92%;
  mix-blend-mode: multiply;
  -webkit-mask-image: radial-gradient(closest-side, #000 64%, transparent 96%);
  mask-image: radial-gradient(closest-side, #000 64%, transparent 96%);
  filter: contrast(1.04) saturate(1.06);
}

.ns-hud-pill {
  position: relative;
  z-index: 2;
  margin-top: -28px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 16px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
  border: 1px solid var(--line-strong);
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
  font-family: var(--f-mono);
  font-size: 11px;
  color: var(--ink);
}

[data-theme="dark"] .ns-hud-pill {
  background: rgba(18, 24, 38, 0.94);
}

.ns-hud-ring {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2.5px solid var(--accent);
  border-right-color: var(--teal);
  display: grid;
  place-items: center;
  font-size: 9px;
  font-weight: 700;
  flex-shrink: 0;
}

.ns-partner-copy h2 {
  font-family: var(--f-display);
  font-size: clamp(1.75rem, 3vw, 2.45rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.03em;
  color: var(--ink);
  margin-bottom: 16px;
}

.ns-partner-copy p {
  font-size: 14.5px;
  line-height: 1.68;
  color: var(--ink-soft);
  margin-bottom: 14px;
}

.ns-stat-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 22px 0 18px;
}

@media (min-width: 680px) {
  .ns-stat-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.ns-stat-tile {
  padding: 15px 14px;
  border-radius: 14px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-top: 2px solid rgba(46, 108, 246, 0.24);
  text-align: left;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.025);
  transition: border-color 0.2s ease, transform 0.2s var(--ease);
}

.ns-stat-tile:hover {
  transform: translateY(-2px);
  border-color: var(--line-bronze);
  border-top-color: var(--accent);
}

.ns-stat-idx {
  display: block;
  font-family: var(--f-mono);
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--muted);
  margin-bottom: 6px;
}

.ns-stat-tile b {
  display: block;
  font-family: var(--f-display);
  font-size: clamp(1.35rem, 2.2vw, 1.82rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--accent);
  line-height: 1.08;
}

.ns-stat-tile small {
  display: block;
  margin-top: 5px;
  font-size: 11.5px;
  font-weight: 500;
  color: var(--ink-soft);
}

.ns-partner-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.ns-partner-trust span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 11px;
  border-radius: 99px;
  background: var(--surface);
  border: 1px solid var(--line);
  font-size: 12px;
  font-weight: 500;
  color: var(--ink);
}

.ns-partner-trust svg {
  color: var(--emerald);
  flex-shrink: 0;
}

.ns-partner-foot {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.ns-partner-foot p {
  margin-bottom: 0;
}

.ns-partner-more {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  align-self: flex-start;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--accent);
  transition: gap 0.2s ease, color 0.2s ease;
}

.ns-partner-more:hover {
  gap: 10px;
  color: var(--accent-deep);
}

/* ==========================================================================
   EXECUTIVE TESTIMONIAL SPOTLIGHT CAROUSEL & FEATURED READS
   ========================================================================== */
.ns-quote-stage {
  position: relative;
  padding: clamp(20px, 3vw, 32px);
  border-radius: 18px;
  background: var(--pinstripe-teal);
}

.ns-quote-card {
  position: relative;
  min-height: 280px;
  padding: clamp(28px, 4.5vw, 52px);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(18px);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-frame);
}

[data-theme="dark"] .ns-quote-card {
  background: rgba(18, 24, 38, 0.94);
}

.ns-quote-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.ns-quote-kicker {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}

.ns-quote-arrows {
  display: inline-flex;
  gap: 8px;
}

.ns-circle-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: var(--surface);
  color: var(--ink);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.ns-circle-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-soft);
}

.ns-quote-body blockquote {
  font-family: var(--f-display);
  font-size: clamp(1.18rem, 2.2vw, 1.55rem);
  font-weight: 600;
  line-height: 1.48;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 24px;
  max-width: 68ch;
}

.ns-quote-foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.ns-quote-author b {
  display: block;
  font-size: 15.5px;
  font-weight: 700;
  color: var(--ink);
}

.ns-quote-author small {
  font-size: 13px;
  color: var(--muted);
}

.ns-quote-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 24px;
}

.ns-quote-dot {
  width: 24px;
  height: 5px;
  border-radius: 99px;
  background: var(--line-strong);
  transition: width 0.25s var(--ease), background-color 0.25s ease;
}

.ns-quote-dot.is-active {
  width: 36px;
  background: var(--accent);
}

.ns-insights-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
  margin-bottom: 32px;
}

.ns-insights-track {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (min-width: 680px) {
  .ns-insights-track {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1080px) {
  .ns-insights-track {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.ns-insight-card {
  display: flex;
  flex-direction: column;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--surface);
  overflow: hidden;
  transition: transform 0.28s var(--ease), border-color 0.25s ease, box-shadow 0.28s ease;
}

.ns-insight-card:hover {
  transform: translateY(-3px);
  border-color: var(--line-strong);
  box-shadow: var(--shadow-frame);
}

.ns-insight-thumb {
  aspect-ratio: 16 / 10;
  background: var(--bg-elev);
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.ns-insight-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

.ns-insight-card:hover .ns-insight-thumb img {
  transform: scale(1.04);
}

.ns-insight-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 10px;
}

.ns-insight-cat {
  font-family: var(--f-mono);
  font-size: 11px;
  color: var(--accent);
  font-weight: 500;
}

.ns-insight-title {
  font-family: var(--f-display);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.38;
  letter-spacing: -0.015em;
  color: var(--ink);
}

.ns-insight-link {
  margin-top: auto;
  padding-top: 8px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
}

.ns-insight-link:hover {
  color: var(--accent);
}

.ns-atelier-strip {
  margin-top: 32px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.ns-next-cta {
  text-align: center;
  padding-block: clamp(56px, 7vw, 88px);
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}

.ns-next-cta h2 {
  font-family: var(--f-display);
  font-size: clamp(1.85rem, 3.6vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--ink);
  margin-bottom: 12px;
}

.ns-next-cta p {
  font-size: 15.5px;
  color: var(--ink-soft);
  margin-bottom: 24px;
}

/* ==========================================================================
   DISCIPLINE INDEX TICKER
   ========================================================================== */
.discipline-band {
  background: var(--bg-elev);
  border-bottom: 1px solid var(--line);
  padding-block: 16px;
  overflow: hidden;
  contain: layout paint;
}

.marquee-outer {
  overflow: hidden;
  width: 100%;
  max-width: 100%;
  contain: layout paint;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: eliteMarquee 36s linear infinite;
}

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

@keyframes eliteMarquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 24px;
  padding-inline: 24px;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
  white-space: nowrap;
}

.marquee-item::after {
  content: '·';
  color: var(--bronze);
}

/* ==========================================================================
   SELECTED WORK — MUSEUM DIGITAL EXHIBITION (#work)
   ========================================================================== */
.work-head-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: clamp(32px, 4vw, 48px);
}

.work-controls-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 24px;
  padding-bottom: 20px;
  margin-bottom: clamp(36px, 4.5vw, 56px);
  border-bottom: 1px solid var(--line);
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 20px;
}

.work-tab {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  min-height: 40px;
  padding: 8px 0;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--muted);
  border-bottom: 1.5px solid transparent;
  transition: color 0.2s ease, border-color 0.25s ease;
}

.work-tab sup {
  font-family: var(--f-mono);
  font-size: 10px;
  color: var(--muted);
}

.work-tab:hover {
  color: var(--ink);
}

.work-tab.active {
  color: var(--ink);
  border-bottom-color: var(--accent);
}

.work-tab.active sup {
  color: var(--bronze-light);
}

.work-view-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  padding: 6px 14px;
  border-radius: var(--r-sm);
  border: 1px solid var(--line-strong);
  background: var(--surface);
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
  transition: border-color 0.2s ease, color 0.2s ease;
}

.work-view-btn:hover,
.work-view-btn[aria-pressed="true"] {
  border-color: var(--bronze);
  color: var(--bronze-light);
}

.work-empty {
  display: none;
  padding: 48px 24px;
  text-align: center;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  color: var(--muted);
}

/* Visual Stage Wrapper (shared by real captures & typographic plates) */
.exhibit-media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-sm);
  background: var(--surface);
  cursor: pointer;
}

.exhibit-media::after {
  content: '';
  position: absolute;
  inset: 0;
  box-shadow: var(--media-inset);
  pointer-events: none;
  z-index: 1;
}

.exhibit-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.85s var(--ease);
}

.exhibit-card:hover .exhibit-media img,
.exhibit-lead:hover .exhibit-media img {
  transform: scale(1.03);
}

/* Museum Editorial Typographic Plate (zero broken blank captures) */
.exhibit-plate {
  position: relative;
  width: 100%;
  height: 100%;
  padding: clamp(22px, 3vw, 34px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  transition: transform 0.85s var(--ease);
}

.exhibit-card:hover .exhibit-plate,
.exhibit-lead:hover .exhibit-plate {
  transform: scale(1.02);
}

.exhibit-plate::before {
  content: '';
  position: absolute;
  inset: 14px;
  border: 1px solid var(--plate-border);
  pointer-events: none;
}

.plate-obsidian { background: var(--plate-1); }
.plate-stone { background: var(--plate-2); }
.plate-terracotta { background: var(--plate-3); }
.plate-slate { background: var(--plate-4); }

.plate-top {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-family: var(--f-mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--bronze);
}

.plate-title {
  position: relative;
  z-index: 1;
  font-family: var(--f-display);
  font-weight: 700;
  font-size: clamp(1.5rem, 2.8vw, 2.35rem);
  line-height: 1.08;
  letter-spacing: -0.025em;
  color: var(--ink);
  max-width: 14ch;
}

.plate-foot {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-family: var(--f-mono);
  font-size: 11px;
  color: var(--ink-soft);
}

.plate-num-bg {
  position: absolute;
  right: 22px;
  bottom: 10px;
  font-family: var(--f-display);
  font-weight: 800;
  font-size: clamp(4.5rem, 8vw, 7rem);
  line-height: 0.9;
  color: var(--plate-num);
  pointer-events: none;
  user-select: none;
}

/* Act I — Lead Featured Exhibition Spread */
.exhibit-lead {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px 48px;
  padding-bottom: clamp(40px, 5vw, 64px);
  margin-bottom: clamp(40px, 5vw, 64px);
  border-bottom: 1px solid var(--line);
  align-items: center;
}

@media (min-width: 960px) {
  .exhibit-lead {
    grid-template-columns: 1.35fr 0.85fr;
  }
}

.exhibit-idx {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 1.45rem;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 12px;
  display: block;
}

.exhibit-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 14px;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--bronze);
  margin-bottom: 12px;
}

.exhibit-meta-dot {
  color: var(--muted);
}

.exhibit-domain {
  color: var(--muted);
  text-transform: none;
  letter-spacing: 0.02em;
}

.exhibit-title {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: clamp(1.6rem, 2.8vw, 2.45rem);
  line-height: 1.12;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin-bottom: 14px;
}

.exhibit-title-sm {
  font-size: clamp(1.4rem, 2.1vw, 1.9rem);
}

.exhibit-desc {
  font-size: 15px;
  line-height: 1.68;
  color: var(--ink-soft);
  margin-bottom: 24px;
}

.exhibit-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 18px;
}

.exhibit-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 40px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink);
  border-bottom: 1px solid var(--line-strong);
  padding-bottom: 2px;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.exhibit-link:hover {
  color: var(--accent);
  border-color: var(--accent);
}

.exhibit-link-muted {
  color: var(--bronze-light);
  border-bottom-color: transparent;
}

.exhibit-link-muted:hover {
  color: var(--ink);
  border-bottom-color: var(--line-strong);
}

/* Act II — Asymmetric Alternating Editorial Spreads */
.exhibit-spreads {
  display: grid;
  gap: clamp(44px, 6vw, 76px);
}

.exhibit-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px 40px;
  align-items: start;
}

@media (min-width: 900px) {
  .exhibit-row-a {
    grid-template-columns: 1.24fr 0.76fr;
  }

  .exhibit-row-b {
    grid-template-columns: 0.76fr 1.24fr;
  }

  .exhibit-row-a .exhibit-card:nth-child(2),
  .exhibit-row-b .exhibit-card:nth-child(1) {
    margin-top: clamp(32px, 4.5vw, 68px);
  }
}

.exhibit-card {
  display: flex;
  flex-direction: column;
}

.exhibit-card .exhibit-media {
  margin-bottom: 20px;
}

.exhibit-card-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 10px;
  margin-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.exhibit-card-head .exhibit-idx {
  margin-bottom: 0;
  font-size: 1.25rem;
}

/* Act III — Curated Archive Ledger */
.exhibit-archive {
  margin-top: clamp(56px, 7vw, 84px);
  padding-top: clamp(36px, 4.5vw, 52px);
  border-top: 1px solid var(--line-strong);
}

.archive-header {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 22px;
}

.archive-header h3 {
  font-family: var(--f-display);
  font-size: clamp(1.35rem, 2.2vw, 1.85rem);
  font-weight: 400;
  color: var(--ink);
}

.archive-header span {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.archive-rows {
  border-top: 1px solid var(--line);
}

.archive-row {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px 12px;
  padding: 15px 4px;
  border-bottom: 1px solid var(--line);
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

@media (min-width: 860px) {
  .archive-row {
    grid-template-columns: 52px 84px 1.2fr 0.7fr 0.7fr auto;
    gap: 12px 20px;
    padding: 18px 8px;
  }
}

.archive-row:hover {
  background: var(--row-hover);
  border-bottom-color: var(--line-bronze);
}

.archive-num {
  font-family: var(--f-display);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--bronze);
}

.archive-thumb {
  display: none;
  width: 84px;
  height: 52px;
  border-radius: 3px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--surface);
}

@media (min-width: 860px) {
  .archive-thumb {
    display: block;
  }
}

.archive-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.archive-thumb-plate {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  font-family: var(--f-display);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--bronze-light);
}

.archive-title {
  min-width: 0;
  overflow-wrap: anywhere;
  font-family: var(--f-display);
  font-size: clamp(1.05rem, 1.6vw, 1.3rem);
  font-weight: 700;
  color: var(--ink);
  cursor: pointer;
}

.archive-title small {
  display: block;
  font-family: var(--f-mono);
  font-size: 10.5px;
  color: var(--muted);
  margin-top: 2px;
}

@media (min-width: 860px) {
  .archive-title small {
    display: none;
  }
}

.archive-cat,
.archive-domain {
  display: none;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--ink-soft);
}

@media (min-width: 860px) {
  .archive-cat,
  .archive-domain {
    display: block;
  }

  .archive-cat {
    text-transform: uppercase;
    color: var(--bronze);
  }
}

.archive-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.archive-btn {
  min-height: 36px;
  padding: 6px 12px;
  border-radius: var(--r-sm);
  border: 1px solid var(--line-strong);
  background: var(--surface);
  font-family: var(--f-mono);
  font-size: 11px;
  color: var(--ink-soft);
  transition: all 0.2s ease;
}

.archive-btn:hover {
  border-color: var(--ink);
  color: var(--ink);
}

.archive-live {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: var(--r-sm);
  border: 1px solid var(--line);
  color: var(--bronze-light);
  transition: all 0.2s ease;
}

.archive-live:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

/* Gallery Expansion Mode Grid */
.exhibit-gallery-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px 28px;
}

@media (min-width: 780px) {
  .exhibit-gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.work-foot {
  margin-top: clamp(40px, 5vw, 56px);
  padding: 24px 0 0;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

/* ==========================================================================
   CAPABILITIES MATRIX (#services)
   ========================================================================== */
.svc-matrix {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

@media (min-width: 720px) {
  .svc-matrix {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1080px) {
  .svc-matrix {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.svc-cell {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 28px;
  padding: clamp(26px, 3vw, 38px);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg);
  transition: background-color 0.3s ease;
}

.svc-cell:hover {
  background: var(--surface-2);
}

.svc-cell-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 20px;
}

.svc-num {
  font-family: var(--f-display);
  font-style: italic;
  font-size: 1.5rem;
  color: var(--bronze);
}

.svc-kicker {
  font-family: var(--f-mono);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.svc-cell h3 {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(1.35rem, 1.9vw, 1.65rem);
  line-height: 1.18;
  color: var(--ink);
  margin-bottom: 12px;
}

.svc-cell p {
  font-size: 14.5px;
  color: var(--ink-soft);
  line-height: 1.68;
}

.svc-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-family: var(--f-mono);
  font-size: 11.5px;
  color: var(--bronze-light);
}

/* ==========================================================================
   ENGINEERING STANDARDS & COMPARISON (#compare)
   ========================================================================== */
.standards-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: clamp(40px, 5vw, 56px);
}

@media (min-width: 640px) {
  .standards-grid {
    gap: 16px;
  }
}

@media (min-width: 1080px) {
  .standards-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.std-item {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 22px 20px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.035);
  transition: transform 0.25s var(--ease), border-color 0.25s ease, box-shadow 0.25s ease;
}

.std-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2.5px;
  background: var(--accent);
  opacity: 0.72;
}

.std-indigo::before {
  background: var(--violet);
}

.std-emerald::before {
  background: var(--teal);
}

.std-violet::before {
  background: var(--cyan);
}

.std-item:hover {
  transform: translateY(-3px);
  border-color: var(--line-bronze);
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.07);
}

[data-theme="dark"] .std-item {
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28);
}

.std-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 12px;
}

.std-code {
  display: block;
  font-family: var(--f-mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--bronze);
}

.std-icon {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  border: 1px solid rgba(46, 108, 246, 0.22);
  background: var(--accent-soft);
  color: var(--accent);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.std-indigo .std-icon {
  border-color: rgba(91, 70, 246, 0.24);
  background: rgba(91, 70, 246, 0.1);
  color: var(--violet);
}

.std-emerald .std-icon {
  border-color: rgba(16, 185, 129, 0.24);
  background: rgba(16, 185, 129, 0.1);
  color: var(--emerald);
}

.std-violet .std-icon {
  border-color: rgba(6, 182, 212, 0.26);
  background: rgba(6, 182, 212, 0.1);
  color: var(--cyan);
}

.std-val {
  display: block;
  font-family: var(--f-display);
  font-size: clamp(1.22rem, 2vw, 1.65rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--ink);
  line-height: 1.12;
  margin-bottom: 8px;
}

.std-item p {
  font-size: 13px;
  color: var(--ink-soft);
  line-height: 1.58;
  margin-bottom: 16px;
}

.std-meter {
  margin-top: auto;
  height: 4px;
  border-radius: 99px;
  background: var(--bg-elev);
  border: 1px solid var(--line);
  overflow: hidden;
}

.std-meter-fill {
  display: block;
  height: 100%;
  width: var(--fill, 95%);
  border-radius: 99px;
  background: linear-gradient(90deg, var(--accent), var(--cyan));
}

.std-indigo .std-meter-fill {
  background: linear-gradient(90deg, var(--violet), var(--accent));
}

.std-emerald .std-meter-fill {
  background: linear-gradient(90deg, #059669, var(--teal));
}

.std-violet .std-meter-fill {
  background: linear-gradient(90deg, var(--accent), var(--cyan));
}

.compare-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: var(--surface);
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 680px;
  text-align: left;
}

.compare-table th,
.compare-table td {
  padding: 17px 22px;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}

.compare-table thead th {
  background: var(--bg-elev);
  vertical-align: bottom;
}

.ct-brand {
  display: block;
  font-family: var(--f-display);
  font-weight: 500;
  font-size: 16px;
  color: var(--ink);
}

.ct-sub {
  display: block;
  font-family: var(--f-mono);
  font-size: 11px;
  color: var(--muted);
  margin-top: 4px;
}

.ct-alimaz {
  background: var(--alimaz-col);
  border-left: 1px solid var(--line-bronze);
  border-right: 1px solid var(--line-bronze);
}

.ct-alimaz .ct-sub {
  color: var(--bronze-light);
}

.ct-yes {
  color: var(--emerald);
  display: inline-grid;
  place-items: center;
}

.ct-mid {
  color: var(--bronze);
  display: inline-grid;
  place-items: center;
}

.ct-no {
  color: var(--muted);
  display: inline-grid;
  place-items: center;
}

.ct-text {
  font-family: var(--f-mono);
  font-size: 12px;
  color: var(--ink-soft);
}

.compare-foot {
  margin-top: 22px;
  font-size: 14.5px;
  color: var(--ink-soft);
  max-width: 72ch;
}

/* ==========================================================================
   PROCESS LEDGER (#process)
   ========================================================================== */
.process-list {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

@media (min-width: 960px) {
  .process-list {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

.process-step {
  padding: 28px 22px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg);
}

.ps-num {
  display: block;
  font-family: var(--f-display);
  font-style: italic;
  font-size: 1.4rem;
  color: var(--bronze);
  margin-bottom: 14px;
}

.ps-body h3 {
  font-family: var(--f-display);
  font-size: 1.2rem;
  font-weight: 400;
  margin-bottom: 8px;
  color: var(--ink);
}

.ps-time {
  display: block;
  margin-bottom: 12px;
  font-family: var(--f-mono);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}

.ps-body p {
  font-size: 13.5px;
  color: var(--ink-soft);
  line-height: 1.62;
}

.ps-phone {
  margin-top: 12px;
  display: inline-block;
  font-family: var(--f-mono);
  font-size: 11.5px;
  color: var(--bronze-light);
}

/* ==========================================================================
   GLOBAL MARKETS (#regions)
   ========================================================================== */
.regions-grid {
  display: grid;
  grid-template-columns: 1fr;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

@media (min-width: 720px) {
  .regions-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1120px) {
  .regions-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

.region-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 22px;
  padding: 26px 22px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--surface);
  transition: background-color 0.25s ease;
}

.region-card:hover {
  background: var(--surface-2);
}

.region-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-family: var(--f-mono);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--bronze);
  margin-bottom: 14px;
}

.region-card h3 {
  font-family: var(--f-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 8px;
}

.region-card p {
  font-size: 13.5px;
  color: var(--ink-soft);
  line-height: 1.62;
}

.region-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.region-link-pill {
  padding: 7px 12px;
  border-radius: var(--r-sm);
  font-family: var(--f-mono);
  font-size: 11.5px;
  font-weight: 500;
  border: 1px solid var(--line-strong);
  color: var(--ink);
  transition: all 0.2s ease;
}

.region-link-pill:hover {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--bg);
}

/* ==========================================================================
   PRICING & SCOPE ESTIMATOR (#pricing, #calculator)
   ========================================================================== */
.cur-switcher {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: 22px;
  padding: 4px;
  border-radius: var(--r-sm);
  background: var(--surface-2);
  border: 1px solid var(--line-strong);
}

.cur-btn {
  min-height: 36px;
  padding: 6px 15px;
  border-radius: var(--r-xs);
  font-family: var(--f-mono);
  font-size: 11.5px;
  font-weight: 500;
  color: var(--muted);
  transition: all 0.2s ease;
}

.cur-btn:hover {
  color: var(--ink);
}

.cur-btn.is-active,
.cur-btn[aria-pressed="true"] {
  background: var(--ink);
  color: var(--bg);
}

.pricing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  align-items: stretch;
}

@media (min-width: 920px) {
  .pricing-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: clamp(28px, 3.2vw, 36px);
  border-radius: var(--r-sm);
  background: var(--surface);
  border: 1px solid var(--line);
  transition: border-color 0.25s ease;
}

.price-card:hover {
  border-color: var(--line-strong);
}

.price-card-featured {
  border-color: var(--line-bronze);
  background: var(--featured-grad);
}

.price-kicker {
  display: block;
  font-family: var(--f-mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--bronze);
  margin-bottom: 10px;
}

.price-head h3 {
  font-family: var(--f-display);
  font-size: 1.55rem;
  font-weight: 700;
}

.price-tag {
  font-size: 14px;
  color: var(--muted);
  margin-top: 6px;
}

@media (min-width: 920px) {
  .price-head {
    min-height: 134px;
  }
}

.price {
  margin: 24px 0;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}

.price small {
  display: block;
  font-family: var(--f-mono);
  font-size: 11px;
  color: var(--muted);
}

.price-amt {
  display: block;
  font-family: var(--f-display);
  font-size: clamp(2.15rem, 3.4vw, 2.9rem);
  font-weight: 700;
  color: var(--ink);
  line-height: 1.08;
  margin: 6px 0;
}

.price-feats {
  list-style: none;
  display: grid;
  gap: 12px;
  margin-bottom: 30px;
  flex: 1;
}

.price-feats li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--ink-soft);
}

.price-feats svg {
  color: var(--bronze);
  flex-shrink: 0;
  margin-top: 4px;
}

.pricing-note {
  margin-top: 24px;
  font-size: 14px;
  color: var(--ink-soft);
  padding: 18px 22px;
  border-radius: var(--r-sm);
  background: var(--bg-elev);
  border: 1px solid var(--line);
}

/* Interactive Scope Estimator */
.calc-wrapper {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: start;
}

@media (min-width: 960px) {
  .calc-wrapper {
    grid-template-columns: 1.18fr 0.82fr;
  }
}

.calc-controls {
  display: grid;
  gap: 28px;
  padding: clamp(24px, 3.5vw, 36px);
  border-radius: var(--r-sm);
  background: var(--surface);
  border: 1px solid var(--line);
}

.calc-label {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--f-mono);
  font-size: 11.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 14px;
}

.calc-step-num {
  color: var(--bronze);
}

.calc-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 10px;
}

.calc-chip {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 16px;
  border-radius: var(--r-sm);
  background: var(--bg-elev);
  border: 1px solid var(--line);
  font-weight: 600;
  font-size: 13.5px;
  color: var(--ink-soft);
  transition: all 0.2s ease;
}

.calc-chip.active {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--bg);
}

.calc-range {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 4px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--accent) var(--fill, 21%), var(--range-track) var(--fill, 21%));
  outline: none;
}

.calc-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--surface);
  border: 3px solid var(--accent);
  cursor: pointer;
}

.calc-range-labels {
  display: flex;
  justify-content: space-between;
  margin-top: 10px;
  font-family: var(--f-mono);
  font-size: 11.5px;
  color: var(--muted);
}

.calc-range-value {
  color: var(--bronze-light);
  font-weight: 600;
}

.calc-addons {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 10px;
}

.calc-addon {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 14px;
  border-radius: var(--r-sm);
  background: var(--bg-elev);
  border: 1px solid var(--line);
  cursor: pointer;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

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

.calc-addon-box {
  width: 18px;
  height: 18px;
  border-radius: 3px;
  border: 1.5px solid var(--line-strong);
  display: grid;
  place-items: center;
  color: transparent;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.calc-addon input:checked + .calc-addon-box {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.calc-addon:has(input:checked) {
  border-color: var(--line-bronze);
  background: var(--bronze-soft);
}

.calc-addon-text b {
  display: block;
  font-size: 13.5px;
  font-weight: 600;
}

.calc-addon-text small {
  font-family: var(--f-mono);
  font-size: 11px;
  color: var(--bronze);
}

.calc-result-card {
  position: sticky;
  top: 88px;
  padding: clamp(26px, 3.5vw, 36px);
  border-radius: var(--r-sm);
  background: var(--surface);
  border: 1px solid var(--line-bronze);
}

.calc-result-label {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--bronze);
}

.calc-price-display {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-top: 10px;
}

.calc-currency {
  font-family: var(--f-display);
  font-size: 1.6rem;
  color: var(--bronze-light);
}

.calc-amount {
  font-family: var(--f-display);
  font-size: clamp(2.6rem, 4.5vw, 3.6rem);
  font-weight: 400;
  line-height: 1;
}

.calc-price-range {
  display: block;
  font-family: var(--f-mono);
  font-size: 12.5px;
  color: var(--ink-soft);
  margin-top: 8px;
}

.calc-summary {
  margin: 22px 0;
  padding: 18px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 10px;
}

.calc-summary-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 13.5px;
  color: var(--ink-soft);
}

.calc-summary-total {
  color: var(--ink);
  font-weight: 700;
}

.calc-result-note {
  font-size: 12.5px;
  color: var(--muted);
  margin-bottom: 18px;
}

.calc-actions {
  display: grid;
  gap: 10px;
}

/* ==========================================================================
   CLIENT PERSPECTIVES & INSIDE THE ATELIER (#testimonials, #discover)
   ========================================================================== */
.testimonials-head-cta {
  display: flex;
  justify-content: flex-start;
}

@media (min-width: 900px) {
  .testimonials-head-cta {
    justify-content: flex-end;
  }
}

.t-grid {
  display: grid;
  grid-template-columns: 1fr;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

@media (min-width: 820px) {
  .t-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.t-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
  padding: 30px 26px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}

.t-card blockquote {
  font-family: var(--f-display);
  font-size: 1.12rem;
  line-height: 1.56;
  color: var(--ink);
}

.t-card figcaption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.t-card figcaption b {
  display: block;
  font-size: 14px;
}

.t-card figcaption small {
  color: var(--muted);
  font-size: 12.5px;
}

.stars {
  color: var(--bronze);
  letter-spacing: 2px;
  font-size: 13px;
  white-space: nowrap;
}

/* Atelier / Discover */
.atelier-gallery {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  margin-bottom: 32px;
}

@media (min-width: 820px) {
  .atelier-gallery {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.atelier-photo {
  position: relative;
  border-radius: var(--r-sm);
  overflow: hidden;
  border: 1px solid var(--line);
  aspect-ratio: 4 / 3;
  background: #070709;
}

.atelier-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}

.atelier-photo:hover img {
  transform: scale(1.03);
}

.atelier-photo figcaption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 40px 18px 16px;
  background: linear-gradient(to top, rgba(7, 7, 9, 0.92), transparent);
  font-size: 13px;
  color: #f4f0e8;
}

.ix3-constellation {
  display: grid;
  grid-template-columns: 1fr;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

@media (min-width: 720px) {
  .ix3-constellation {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1080px) {
  .ix3-constellation {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.ix3-orb {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 26px 24px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--surface);
  transition: background-color 0.25s ease;
}

.ix3-orb:hover {
  background: var(--surface-2);
}

.ix3-orb-label {
  font-family: var(--f-display);
  font-size: 1.3rem;
  font-weight: 400;
}

.ix3-orb-sub {
  font-size: 13.5px;
  color: var(--muted);
}

.ix3-orb-arrow {
  margin-top: auto;
  padding-top: 12px;
  font-family: var(--f-mono);
  font-size: 11.5px;
  color: var(--bronze-light);
}

/* ==========================================================================
   FAQ ACCORDION (#faq)
   ========================================================================== */
.faq-wrap {
  max-width: 900px;
}

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

.faq-item {
  border-bottom: 1px solid var(--line);
  transition: border-color 0.25s ease;
}

.faq-item.is-open {
  border-bottom-color: var(--line-bronze);
}

.faq-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 4px;
  text-align: left;
  font-family: var(--f-display);
  font-size: clamp(1.08rem, 1.5vw, 1.32rem);
  font-weight: 400;
  color: var(--ink);
}

.faq-icon {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  color: var(--bronze);
  transition: transform 0.3s var(--ease), background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.faq-icon svg {
  width: 12px;
  height: 12px;
}

.faq-item.is-open .faq-icon {
  transform: rotate(45deg);
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

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

.faq-item.is-open .faq-panel {
  grid-template-rows: 1fr;
}

.faq-panel-inner {
  overflow: hidden;
  padding: 0 4px;
}

.faq-item.is-open .faq-panel-inner {
  padding-bottom: 24px;
}

.faq-ans {
  font-size: 14.5px;
  color: var(--ink-soft);
  line-height: 1.72;
  margin-bottom: 12px;
  max-width: 72ch;
}

.faq-readmore {
  font-family: var(--f-mono);
  font-size: 11.5px;
  font-weight: 500;
  color: var(--bronze-light);
}

.faq-readmore:hover {
  color: var(--accent);
}

/* ==========================================================================
   PARTNERSHIP INTAKE (#quote) & FOOTER
   ========================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(36px, 5vw, 68px);
  align-items: start;
}

@media (min-width: 920px) {
  .contact-grid {
    grid-template-columns: 0.88fr 1.12fr;
  }
}

.wa-big {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 22px;
  border-radius: var(--r-sm);
  background: var(--wa-bg);
  border: 1px solid var(--wa-border);
  margin: 28px 0;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.wa-big:hover {
  background: var(--wa-bg-hover);
  border-color: var(--emerald);
}

.wa-big b {
  display: block;
  font-size: 15.5px;
}

.wa-big span {
  font-family: var(--f-mono);
  font-size: 12.5px;
  color: var(--wa-ink);
}

.wa-big-arrow {
  margin-left: auto;
  color: var(--wa-ink);
}

.contact-list {
  list-style: none;
  display: grid;
  gap: 16px;
}

.contact-list li {
  display: flex;
  align-items: center;
  gap: 14px;
}

.ci {
  width: 42px;
  height: 42px;
  border-radius: var(--r-sm);
  background: var(--surface);
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  color: var(--bronze);
  flex-shrink: 0;
}

.contact-list b {
  display: block;
  font-family: var(--f-mono);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.quote-form {
  padding: clamp(26px, 4vw, 40px);
  border-radius: var(--r-sm);
  background: var(--surface);
  border: 1px solid var(--line-bronze);
}

.quote-form h3 {
  font-family: var(--f-display);
  font-size: 1.7rem;
  font-weight: 400;
  margin-bottom: 6px;
}

.quote-form .small {
  font-size: 13.5px;
  color: var(--muted);
  margin-bottom: 24px;
}

.quote-form label {
  display: block;
  margin-bottom: 16px;
}

.quote-form label > span:first-child {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-soft);
  margin-bottom: 6px;
}

.quote-form input,
.quote-form select,
.quote-form textarea {
  width: 100%;
  padding: 13px 15px;
  border-radius: var(--r-sm);
  background: var(--bg-elev);
  border: 1px solid var(--line-strong);
  color: var(--ink);
  font-size: 14.5px;
  transition: border-color 0.2s ease;
}

.quote-form input:focus,
.quote-form select:focus,
.quote-form textarea:focus {
  outline: none;
  border-color: var(--bronze);
}

label.is-error input,
label.is-error select,
label.is-error textarea {
  border-color: var(--err-ink);
}

small.err {
  display: block;
  min-height: 16px;
  font-size: 12px;
  color: var(--err-ink);
  margin-top: 4px;
}

.char-count {
  display: block;
  text-align: right;
  font-family: var(--f-mono);
  font-size: 11px;
  color: var(--muted);
  margin-top: 4px;
}

.form-success {
  display: none;
  text-align: center;
  padding: 28px 16px;
}

.form-success.is-shown {
  display: block;
}

.form-success .check {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  display: grid;
  place-items: center;
  margin: 0 auto 16px;
}

/* Footer */
.site-footer {
  background: var(--footer-bg);
  padding-top: clamp(64px, 8vw, 96px);
  transition: background-color 0.25s ease;
}

.ft-cta-block {
  padding-bottom: clamp(52px, 6.5vw, 78px);
  border-bottom: 1px solid var(--line);
}

.ft-cta-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--f-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--bronze);
  margin-bottom: 18px;
}

.ft-status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--emerald);
}

.ft-cta-title {
  font-family: var(--f-display);
  font-size: clamp(2.1rem, 4.4vw, 3.6rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
  max-width: 17ch;
}

.ft-cta-title em {
  font-style: normal;
  color: var(--accent);
}

.ft-cta-sub {
  font-size: 16px;
  color: var(--ink-soft);
  margin-bottom: 28px;
}

.ft-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  padding-block: 56px;
}

@media (min-width: 820px) {
  .footer-grid {
    grid-template-columns: 1.45fr 1fr 1.1fr 0.9fr 0.8fr;
  }
}

.footer-about {
  margin-top: 16px;
  font-size: 13.5px;
  color: var(--muted);
  max-width: 34ch;
  line-height: 1.65;
}

.footer-grid nav {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.footer-grid nav h4 {
  font-family: var(--f-mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--bronze);
  margin-bottom: 8px;
}

.footer-grid nav a {
  font-size: 13.5px;
  color: var(--ink-soft);
  transition: color 0.2s ease;
}

.footer-grid nav a:hover {
  color: var(--ink);
}

.footer-base {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding-block: 22px 34px;
  border-top: 1px solid var(--line);
  font-size: 12.5px;
  color: var(--muted);
}

/* ==========================================================================
   MODALS, CLICK-ONLY CONCIERGE & BACK TO TOP
   ========================================================================== */
.rm-overlay {
  position: fixed;
  inset: 0;
  z-index: 9500;
  display: grid;
  place-items: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s var(--ease);
}

.rm-overlay[aria-hidden="false"] {
  opacity: 1;
  pointer-events: auto;
}

.rm-backdrop {
  position: absolute;
  inset: 0;
  background: var(--modal-backdrop);
  backdrop-filter: blur(8px);
}

.rm-panel {
  position: relative;
  width: 100%;
  max-width: 860px;
  max-height: 90vh;
  background: var(--bg);
  border: 1px solid var(--line-bronze);
  border-radius: var(--r-sm);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.rm-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 26px;
  border-bottom: 1px solid var(--line);
}

.rm-kicker {
  display: block;
  font-family: var(--f-mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--bronze);
  margin-bottom: 4px;
}

.rm-close {
  width: 40px;
  height: 40px;
  border-radius: var(--r-sm);
  border: 1px solid var(--line-strong);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.rm-close:hover {
  border-color: var(--ink);
}

.rm-body {
  padding: 24px 26px;
  overflow-y: auto;
  display: grid;
  gap: 16px;
}

.rm-card {
  padding: 20px;
  border-radius: var(--r-sm);
  background: var(--bg-elev);
  border: 1px solid var(--line);
}

.rm-card blockquote {
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--ink);
}

.rm-card footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--muted);
}

.rm-footer {
  padding: 18px 26px;
  border-top: 1px solid var(--line);
  overflow-y: auto;
}

.rm-form-wrap {
  display: none;
  margin-top: 16px;
}

.rm-form-wrap.rm-open {
  display: block;
}

.cr-form {
  display: grid;
  gap: 14px;
}

.cr-form label > span {
  display: block;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink-soft);
  margin-bottom: 6px;
}

.cr-form input,
.cr-form textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: var(--r-sm);
  background: var(--bg-elev);
  border: 1px solid var(--line-strong);
  color: var(--ink);
}

.cr-stars {
  display: flex;
  gap: 6px;
}

.cr-star {
  font-size: 22px;
  color: var(--line-strong);
}

.cr-star.active {
  color: var(--bronze);
}

.cr-success {
  display: none;
  text-align: center;
  padding: 18px;
}

.cr-success.is-shown {
  display: block;
}

/* Project Exhibition Modal Specifics */
.project-modal-stage {
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  overflow: hidden;
  aspect-ratio: 16 / 9;
  max-height: 43vh;
  background: var(--surface);
}

.project-modal-stage img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.project-modal-meta {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px 28px;
  align-items: start;
}

@media (min-width: 680px) {
  .project-modal-meta {
    grid-template-columns: 1.45fr 0.55fr;
  }
}

.project-modal-desc {
  font-size: 14.5px;
  color: var(--ink-soft);
  line-height: 1.68;
}

.project-modal-specs {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: var(--bg-elev);
  display: grid;
  gap: 10px;
  font-size: 13px;
}

.project-modal-specs div b {
  display: block;
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--bronze);
}

/* Click-only WhatsApp Concierge */
#waChatWidget {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 600;
}

.wa-float {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #16a34a;
  color: #fff;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-strong);
  box-shadow: 0 10px 28px rgba(14, 14, 17, 0.2);
  transition: transform 0.25s var(--ease);
}

.wa-float:hover {
  transform: scale(1.05);
}

.wa-float-close {
  display: none;
}

.wa-float.is-open .wa-float-icon {
  display: none;
}

.wa-float.is-open .wa-float-close {
  display: block;
}

.wa-chat-panel {
  position: absolute;
  right: 0;
  bottom: 64px;
  width: min(320px, calc(100vw - 40px));
  border-radius: var(--r-sm);
  background: var(--bg);
  border: 1px solid var(--line-bronze);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: all 0.25s var(--ease);
}

.wa-chat-panel.is-open {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

.wa-chat-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 15px;
  background: var(--bg-elev);
  border-bottom: 1px solid var(--line);
}

.wa-chat-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--bg);
  display: grid;
  place-items: center;
  font-family: var(--f-display);
  font-weight: 600;
}

.wa-chat-info b {
  display: block;
  font-size: 13.5px;
}

.wa-chat-info span {
  font-size: 11px;
  color: var(--muted);
}

.wa-chat-close {
  margin-left: auto;
  color: var(--muted);
  padding: 4px;
}

.wa-chat-body {
  padding: 15px;
  display: grid;
  gap: 12px;
}

.wa-chat-bubble {
  padding: 13px;
  border-radius: var(--r-sm);
  background: var(--bg-elev);
  border: 1px solid var(--line);
  font-size: 13px;
  color: var(--ink-soft);
}

.wa-chat-actions {
  display: grid;
  gap: 8px;
}

.wa-quick-btn {
  padding: 10px 14px;
  border-radius: var(--r-sm);
  background: var(--ink);
  color: var(--bg);
  text-align: center;
  font-weight: 600;
  font-size: 13px;
}

.wa-quick-secondary {
  background: var(--bg-elev);
  border: 1px solid var(--line-strong);
  color: var(--ink);
}

.to-top {
  position: fixed;
  right: 24px;
  bottom: 84px;
  z-index: 590;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  color: var(--bronze-light);
  display: grid;
  place-items: center;
  box-shadow: 0 6px 20px rgba(14, 14, 17, 0.12);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s var(--ease);
}

.to-top.is-shown {
  opacity: 1;
  pointer-events: auto;
}

.to-top:hover {
  border-color: var(--bronze);
  transform: translateY(-2px);
}

/* ==========================================================================
   INTERACTIVE GLOBAL ARCHITECTURE & COMPLIANCE BLUEPRINT STUDIO (#blueprintStudio)
   ========================================================================== */
.blueprint-studio {
  margin: 40px 0 48px;
  border: 1px solid var(--line-bronze);
  border-radius: var(--r-sm);
  background: var(--surface);
  overflow: hidden;
  scroll-margin-top: 96px;
}

.bp-header {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px 20px;
  padding: 18px 24px;
  border-bottom: 1px solid var(--line);
  background: var(--bg-elev);
}

.bp-eyebrow {
  display: block;
  font-family: var(--f-mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--bronze);
  margin-bottom: 4px;
}

.bp-title {
  font-family: var(--f-display);
  font-size: clamp(1.25rem, 2.1vw, 1.55rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.bp-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: var(--r-xs);
  border: 1px solid var(--line-strong);
  background: var(--surface);
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.bp-badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--emerald);
}

.bp-grid {
  display: grid;
  grid-template-columns: 1fr;
}

@media (min-width: 960px) {
  .bp-grid {
    grid-template-columns: 0.9fr 1.1fr;
  }
}

.bp-controls,
.bp-output,
.bp-spec-card,
.bp-code-box {
  min-width: 0;
}

.bp-controls {
  padding: clamp(20px, 3vw, 28px);
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 22px;
  align-content: start;
  background: var(--surface);
}

@media (min-width: 960px) {
  .bp-controls {
    border-bottom: 0;
    border-right: 1px solid var(--line);
  }
}

.bp-group-label {
  display: block;
  font-family: var(--f-mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--bronze);
  margin-bottom: 10px;
}

.bp-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.bp-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 8px 13px;
  border-radius: var(--r-sm);
  border: 1px solid var(--line-strong);
  background: var(--bg-elev);
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.bp-chip:hover {
  border-color: var(--bronze);
  color: var(--ink);
}

.bp-chip.is-active {
  background: var(--ink);
  color: var(--bg);
  border-color: var(--ink);
}

.bp-chip-iso {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  opacity: 0.72;
}

.bp-domain-wrap label {
  display: block;
}

.bp-domain-input {
  width: 100%;
  padding: 11px 14px;
  border-radius: var(--r-sm);
  border: 1px solid var(--line-strong);
  background: var(--bg-elev);
  color: var(--ink);
  font-family: var(--f-mono);
  font-size: 13px;
  transition: border-color 0.2s ease;
}

.bp-domain-input:focus {
  outline: none;
  border-color: var(--bronze);
}

.bp-helper {
  display: block;
  margin-top: 6px;
  font-size: 12px;
  color: var(--muted);
}

.bp-output {
  padding: clamp(20px, 3vw, 28px);
  background: var(--bg);
  display: grid;
  gap: 18px;
  align-content: start;
}

.bp-summary-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.bp-price {
  font-family: var(--f-display);
  font-size: clamp(1.45rem, 2.6vw, 1.9rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
  line-height: 1.1;
}

.bp-summary-label {
  display: block;
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 4px;
}

.bp-meta-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.bp-meta-pill {
  padding: 5px 10px;
  border-radius: var(--r-xs);
  border: 1px solid var(--line);
  background: var(--bg-elev);
  font-family: var(--f-mono);
  font-size: 11px;
  color: var(--ink-soft);
}

.bp-spec-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

@media (min-width: 620px) {
  .bp-spec-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.bp-spec-card {
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: var(--surface);
}

.bp-spec-card h4 {
  font-family: var(--f-mono);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--bronze);
  margin-bottom: 10px;
  font-weight: 600;
}

.bp-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.bp-tag {
  padding: 4px 8px;
  border-radius: var(--r-xs);
  border: 1px solid var(--line);
  background: var(--bg-elev);
  font-size: 12px;
  color: var(--ink-soft);
  line-height: 1.3;
}

.bp-code-box {
  border: 1px solid var(--line-strong);
  border-radius: var(--r-sm);
  background: var(--bg-elev);
  overflow: hidden;
}

.bp-code-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 9px 14px;
  border-bottom: 1px solid var(--line);
  font-family: var(--f-mono);
  font-size: 11px;
  color: var(--muted);
}

.bp-pre {
  margin: 0;
  padding: 14px;
  overflow-x: auto;
  white-space: pre;
  max-width: 100%;
  max-height: 180px;
  font-family: var(--f-mono);
  font-size: 11.5px;
  line-height: 1.58;
  color: var(--ink-soft);
}

.bp-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* ==========================================================================
   CONTACT INLINE COPY & LIVE 5-MARKET TIMEZONE STRIP (#liveClocks)
   ========================================================================== */
.contact-line-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.copy-inline-btn {
  padding: 3px 9px;
  border-radius: var(--r-xs);
  border: 1px solid var(--line-strong);
  background: var(--surface);
  color: var(--muted);
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease, background-color 0.2s ease;
}

.copy-inline-btn:hover {
  border-color: var(--bronze);
  color: var(--ink);
  background: var(--bg-elev);
}

.tz-desk {
  margin-top: 28px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: var(--surface);
}

.tz-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 8px 14px;
  font-family: var(--f-mono);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--bronze);
}

.tz-status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--ink-soft);
  font-size: 10.5px;
}

.tz-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--emerald);
  flex-shrink: 0;
}

.tz-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(102px, 1fr));
  gap: 8px;
  margin-top: 14px;
}

@media (min-width: 1180px) {
  .tz-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

.tz-cell {
  display: flex;
  flex-direction: column;
  padding: 10px 8px;
  border: 1px solid var(--line);
  border-radius: var(--r-xs);
  background: var(--bg-elev);
  min-width: 0;
}

.tz-city {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 4px;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: -0.01em;
  white-space: nowrap;
  color: var(--ink-soft);
  margin-bottom: 5px;
}

.tz-city span {
  font-family: var(--f-mono);
  font-size: 10px;
  color: var(--muted);
}

.tz-time {
  display: block;
  font-family: var(--f-mono);
  font-size: 15px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  color: var(--ink);
  line-height: 1.2;
}

.tz-state {
  display: block;
  margin-top: 3px;
  font-family: var(--f-mono);
  font-size: 9.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.tz-state.is-open {
  color: var(--emerald);
}

/* ==========================================================================
   COMMAND PALETTE (⌘K) & MICRO-TOAST (#cmdPalette / #alimazToast)
   ========================================================================== */
.cmd-overlay {
  position: fixed;
  inset: 0;
  z-index: 900;
  display: grid;
  place-items: start center;
  padding: clamp(48px, 10vh, 104px) 16px 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s ease;
}

.cmd-overlay[aria-hidden="false"] {
  opacity: 1;
  pointer-events: auto;
}

.cmd-backdrop {
  position: fixed;
  inset: 0;
  background: var(--modal-backdrop);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.cmd-panel {
  position: relative;
  z-index: 1;
  width: min(640px, 100%);
  max-height: min(560px, 78vh);
  display: flex;
  flex-direction: column;
  border-radius: var(--r-md);
  background: var(--bg);
  border: 1px solid var(--line-bronze);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  transform: translateY(-8px) scale(0.99);
  transition: transform 0.2s var(--ease);
}

.cmd-overlay[aria-hidden="false"] .cmd-panel {
  transform: none;
}

.cmd-search-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  background: var(--surface);
  color: var(--muted);
}

#cmdInput {
  flex: 1;
  min-width: 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 15px;
  outline: none;
}

#cmdInput::placeholder {
  color: var(--muted);
}

.cmd-close {
  padding: 4px 8px;
  border-radius: var(--r-xs);
  border: 1px solid var(--line-strong);
  background: var(--bg-elev);
  color: var(--muted);
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  cursor: pointer;
}

.cmd-close:hover {
  border-color: var(--bronze);
  color: var(--ink);
}

.cmd-list {
  flex: 1;
  overflow-y: auto;
  padding: 8px;
  display: grid;
  gap: 2px;
}

.cmd-group-title {
  padding: 10px 10px 5px;
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--bronze);
}

.cmd-item {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  border-radius: var(--r-sm);
  background: transparent;
  border: 0;
  text-align: left;
  color: var(--ink-soft);
  cursor: pointer;
  transition: background-color 0.12s ease, color 0.12s ease;
}

.cmd-item.is-selected,
.cmd-item:hover {
  background: var(--bg-elev);
  color: var(--ink);
  box-shadow: inset 2px 0 0 var(--bronze);
}

.cmd-item-main {
  min-width: 0;
}

.cmd-item-title {
  display: block;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cmd-item-sub {
  display: block;
  font-size: 12px;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cmd-item-meta {
  flex-shrink: 0;
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.cmd-empty {
  padding: 28px 16px;
  text-align: center;
  font-size: 13.5px;
  color: var(--muted);
}

.cmd-foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border-top: 1px solid var(--line);
  background: var(--bg-elev);
  font-family: var(--f-mono);
  font-size: 10.5px;
  color: var(--muted);
}

.alimaz-toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translate(-50%, 16px);
  z-index: 950;
  padding: 10px 18px;
  border-radius: var(--r-sm);
  background: var(--ink);
  color: var(--bg);
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.03em;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  pointer-events: none;
  max-width: calc(100vw - 32px);
  text-align: center;
  transition: opacity 0.22s ease, transform 0.22s var(--ease);
}

.alimaz-toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

/* ==========================================================================
   HYPER-REALISTIC MOBILE INTERFACE ARCHITECTURE (<= 639px)
   ========================================================================== */
@media (max-width: 639px) {
  .container {
    padding-inline: 16px;
  }

  .nav {
    height: 64px;
    gap: 10px;
  }

  .brand {
    gap: 9px;
  }

  .brand-mark {
    width: 30px;
    height: 30px;
  }

  .brand-svg,
  .brand-mark-inner img {
    width: 30px;
    height: 30px;
  }

  .b-main {
    font-size: 16px;
  }

  .b-sub {
    font-size: 7.5px;
    letter-spacing: 0.2em;
  }

  .nav-actions {
    gap: 7px;
  }

  .region-btn,
  .theme-toggle {
    width: 36px;
    min-height: 36px;
    height: 36px;
    padding: 0;
  }

  .hamburger {
    width: 38px;
    height: 36px;
  }

  /* Above-the-Fold Mobile Hero & Showcase */
  .hero.ns-hero {
    padding: 20px 0 36px;
  }

  .ns-hero-grid {
    gap: 24px;
  }

  .ns-eyebrow {
    font-size: 11.5px;
    margin-bottom: 12px;
  }

  .ns-hero-title {
    font-size: clamp(2.05rem, 8.8vw, 2.5rem);
    margin-bottom: 12px;
  }

  .ns-hero-sub {
    font-size: 14.5px;
    line-height: 1.58;
    margin-bottom: 18px;
  }

  .ns-hero-actions {
    gap: 10px;
    margin-bottom: 16px;
  }

  .ns-hero-actions .btn-netsol {
    min-height: 44px;
    padding: 5px 6px 5px 15px;
    gap: 10px;
    font-size: 13.5px;
  }

  .ns-hero-actions .btn-netsol-sq {
    width: 30px;
    height: 30px;
  }

  .ns-hero-ghost {
    min-height: 44px;
    padding: 0 15px;
    font-size: 13.5px;
  }

  .ns-hero-markets {
    padding: 10px 12px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: var(--bg-elev);
    gap: 6px 14px;
    font-size: 10px;
  }

  .ns-stage-card {
    width: min(286px, 84vw);
    aspect-ratio: 1 / 0.88;
    padding: 10px;
  }

  .ns-stage-label {
    font-size: 1.15rem;
  }

  /* Tech Stack Pills Grid */
  .ns-ecosystem {
    padding-block: 30px;
  }

  .ns-glass-card {
    padding: 20px 14px;
  }

  .ns-glass-title {
    margin-bottom: 16px;
  }

  .ns-stack-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    justify-items: stretch;
  }

  .ns-stack-item {
    justify-content: center;
    padding: 9px 10px;
    border-radius: 8px;
    border: 1px solid var(--line);
    background: var(--bg-elev);
    font-size: 12.5px;
  }

  /* Core Architecture Segmented Mobile Control */
  .section {
    padding-block: 52px;
  }

  .ns-brand-badge-row {
    flex-direction: column;
    gap: 10px;
  }

  .ns-platform-tabs {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
    padding: 4px;
    border-radius: 12px;
    background: var(--bg-elev);
    border: 1px solid var(--line);
    margin-bottom: 20px;
  }

  .ns-tab-btn {
    min-height: 40px;
    padding: 6px 4px;
    border-radius: 8px;
    border-color: transparent;
    background: transparent;
    font-size: 11.5px;
    line-height: 1.2;
    white-space: normal;
  }

  .ns-bento-card {
    padding: 16px;
  }

  .ns-topo-card,
  .ns-vitals-card {
    min-height: 0;
  }

  .ns-vitals-body {
    gap: 14px;
  }

  .ns-gauge-wrap {
    width: 80px;
    height: 80px;
  }

  .ns-gauge-center b {
    font-size: 1.08rem;
  }

  .ns-bento-stripes-top,
  .ns-bento-stripes-bottom {
    height: 28px;
  }

  .ns-bento-lead-title h3 {
    font-size: 1.25rem;
  }

  /* Who We Serve Mobile Cards */
  .ns-serve-col {
    padding: 20px 18px;
  }

  .ns-serve-col h3 {
    font-size: 1.12rem;
  }

  /* Partner HUD Single-Line Polish */
  .ns-partner-card {
    padding: 22px 16px;
    gap: 22px;
  }

  .ns-partner-stage,
  [data-theme="dark"] .ns-partner-stage {
    width: min(244px, 76vw);
  }

  .ns-partner-img,
  [data-theme="dark"] .ns-partner-img {
    width: min(214px, 68vw);
  }

  .ns-hud-pill {
    margin-top: -18px;
    padding: 7px 12px;
    gap: 7px;
    font-size: 9.5px;
    white-space: nowrap;
    max-width: 100%;
    overflow: hidden;
  }

  .ns-hud-ring {
    width: 24px;
    height: 24px;
    font-size: 8px;
  }

  .ns-stat-tile {
    padding: 13px 12px;
  }

  /* Engineering Standards 2x2 Crisp Grid on Mobile */
  .std-item {
    padding: 15px 13px;
    border-radius: 14px;
  }

  .std-top {
    margin-bottom: 9px;
    min-height: 24px;
  }

  .std-code-prefix {
    display: none;
  }

  .std-code {
    font-size: 9px;
    letter-spacing: 0.06em;
    white-space: nowrap;
  }

  .std-icon {
    width: 24px;
    height: 24px;
    border-radius: 7px;
  }

  .std-val {
    font-size: 1.02rem;
    letter-spacing: -0.025em;
    margin-bottom: 6px;
  }

  .std-item p {
    font-size: 12px;
    line-height: 1.5;
    margin-bottom: 12px;
  }

  /* Selected Work Filter Row + Mobile Typography */
  .filter-bar {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: 18px;
    padding-bottom: 4px;
    width: 100%;
  }

  .filter-bar::-webkit-scrollbar {
    display: none;
  }

  .work-tab {
    flex-shrink: 0;
    white-space: nowrap;
  }

  /* Blueprint Chips Clean 2-Col Symmetrical Grid */
  .bp-chips {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .bp-chip {
    justify-content: space-between;
    padding: 8px 10px;
    font-size: 12px;
  }

  .bp-actions .btn-primary {
    width: 100%;
  }

  /* Featured Reads Native Touch Snap Carousel */
  .ns-insights-head {
    margin-bottom: 20px;
  }

  .ns-insights-track {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: 14px;
    padding-bottom: 8px;
  }

  .ns-insights-track::-webkit-scrollbar {
    display: none;
  }

  .ns-insight-card {
    flex: 0 0 84%;
    scroll-snap-align: start;
  }

  /* Compact Unobtrusive Floating Controls */
  #waChatWidget {
    right: 12px;
    bottom: 12px;
  }

  .wa-float {
    width: 42px;
    height: 42px;
    box-shadow: 0 8px 20px rgba(14, 14, 17, 0.18);
  }

  .to-top {
    right: 16px;
    bottom: 62px;
    width: 34px;
    height: 34px;
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(10px);
  }

  [data-theme="dark"] .to-top {
    background: rgba(18, 24, 38, 0.88);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
