/* ===================================================================
   SOLVIATECH (solviatech.org) — EDITORIAL SOFTWARE STUDIO DESIGN SYSTEM
   Warm Cream Paper (#f4f1e6), Charcoal-Forest Ink (#121711), Lime (#d6ff4b)
   Bilingual RTL (Arabic) + LTR (English)
   =================================================================== */

:root {
  --ink: #121711;
  --ink-2: #1b231a;
  --paper: #f4f1e6;
  --paper-bright: #fbf9f2;
  --paper-deep: #e8e4d7;
  --lime: #d6ff4b;
  --lime-soft: #efffc0;
  --lime-ink: #3f5a0c;
  --muted: #5d6559;
  --muted-dark: #a5aea0;
  --line: rgba(18, 23, 17, 0.15);
  --line-strong: rgba(18, 23, 17, 0.32);
  --line-light: rgba(244, 241, 230, 0.16);
  --alban-accent: #0284c7;

  --font-display: 'Syne', 'Cairo', 'Trebuchet MS', sans-serif;
  --font-serif: 'Instrument Serif', 'Amiri', Georgia, serif;
  --font-body: 'Instrument Sans', 'IBM Plex Sans Arabic', 'Cairo', 'Helvetica Neue', sans-serif;
  --font-mono: 'IBM Plex Mono', 'IBM Plex Sans Arabic', 'Courier New', monospace;

  --gutter: clamp(20px, 4vw, 56px);
  --container-max: 1300px;
  --radius: 18px;
  --radius-sm: 10px;
  --shadow-soft: 0 24px 60px -36px rgba(18, 23, 17, 0.4);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  position: relative;
}

/* Film grain overlay */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.026;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 180px 180px;
}

a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: none; }
ul, ol, dl, dt, dd { margin: 0; padding: 0; list-style: none; }

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

.skip-link {
  position: fixed;
  top: 12px;
  inset-inline-start: 16px;
  z-index: 1200;
  background: var(--ink);
  color: var(--paper);
  padding: 10px 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  transform: translateY(-160%);
  transition: transform 0.25s var(--ease);
}
.skip-link:focus { transform: translateY(0); }

/* ================= Scroll Reveal ================= */
html.reveal-enabled [data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.65s var(--ease), transform 0.65s var(--ease);
}
html.reveal-enabled [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

/* ================= Typography & Utilities ================= */
h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
}

h1 {
  font-size: clamp(3.15rem, 6.7vw, 6.6rem);
  line-height: 0.94;
  letter-spacing: -0.06em;
  max-width: 13ch;
}

h2 {
  font-size: clamp(2.35rem, 4.6vw, 4.5rem);
  line-height: 0.98;
  letter-spacing: -0.045em;
}

h3 {
  font-size: clamp(1.25rem, 2vw, 1.55rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
}

html[dir="rtl"] h1 {
  font-size: clamp(2.55rem, 4.9vw, 4.45rem);
  line-height: 1.15;
  letter-spacing: 0;
  max-width: 15ch;
}
html[dir="rtl"] h2 {
  font-size: clamp(2rem, 3.8vw, 3.45rem);
  line-height: 1.18;
  letter-spacing: 0;
}
html[dir="rtl"] h3 {
  line-height: 1.28;
  letter-spacing: 0;
}

.serif {
  font-family: var(--font-serif);
  font-weight: 400;
  font-style: italic;
  letter-spacing: -0.02em;
  line-height: 0.84;
}
html[dir="rtl"] .serif {
  font-family: 'Amiri', 'Cairo', serif;
  letter-spacing: 0;
  line-height: 1.1;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--muted);
}
html[dir="rtl"] .eyebrow { letter-spacing: 0.03em; }

.eyebrow::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 1px rgba(18, 23, 17, 0.25);
  flex-shrink: 0;
}

.eyebrow--dark { color: var(--muted-dark); }
.eyebrow--dark::before { box-shadow: 0 0 0 1px rgba(214, 255, 75, 0.35); }

.mono {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
html[dir="rtl"] .mono { letter-spacing: 0.02em; }

.lead {
  margin: 0;
  font-size: clamp(1.04rem, 1.35vw, 1.22rem);
  line-height: 1.62;
  color: var(--muted);
  max-width: 60ch;
}

.section { padding-block: clamp(80px, 9vw, 128px); }
.section--dark {
  background: var(--ink);
  color: var(--paper);
}
.section--dark .lead { color: var(--muted-dark); }

/* ================= Buttons & Text Links ================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  min-height: 48px;
  padding: 13px 22px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--paper);
  font-size: 13.5px;
  font-weight: 600;
  border: 1px solid var(--ink);
  transition: transform 0.25s var(--ease), background 0.25s, color 0.25s, box-shadow 0.25s;
  white-space: nowrap;
}
.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px -14px rgba(18, 23, 17, 0.55);
}
.btn svg, .btn .btn-arrow { transition: transform 0.25s var(--ease); }
.btn:hover svg, .btn:hover .btn-arrow { transform: translateX(3px); }
html[dir="rtl"] .btn:hover .btn-arrow { transform: translateX(-3px); }

.btn--accent {
  background: var(--lime);
  color: var(--ink);
  border: 1px solid var(--ink);
}
.btn--accent:hover {
  background: var(--ink);
  color: var(--paper);
}

.btn--outline {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line-strong);
}
.btn--outline:hover {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}

.btn--light-outline {
  background: transparent;
  color: var(--paper);
  border: 1px solid rgba(244, 241, 230, 0.34);
}
.btn--light-outline:hover {
  background: var(--lime);
  color: var(--ink);
  border-color: var(--lime);
}

.btn--small {
  min-height: 40px;
  padding: 9px 16px;
  font-size: 12.5px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding-block: 4px;
  border-bottom: 1px solid var(--line-strong);
  font-size: 13.5px;
  font-weight: 600;
  transition: gap 0.25s var(--ease), border-color 0.25s;
}
.text-link:hover {
  gap: 13px;
  border-bottom-color: var(--ink);
}

/* ================= Sticky Header ================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 900;
  background: rgba(244, 241, 230, 0.82);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: background 0.25s, border-color 0.25s;
}
.site-header.is-scrolled {
  background: rgba(244, 241, 230, 0.95);
  backdrop-filter: blur(16px);
  border-bottom-color: var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 80px;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  flex-shrink: 0;
}
.brand__mark {
  width: 37px;
  height: 37px;
  border-radius: 10px;
  background: var(--ink);
  color: var(--paper);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.brand__type {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}
.brand__name {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.brand__sub {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 2px;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 30px;
}
.primary-nav a {
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  padding-block: 6px;
  position: relative;
  transition: color 0.2s;
}
.primary-nav a:hover, .primary-nav a.is-active {
  color: var(--ink);
}
.primary-nav a.is-active::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  height: 1.5px;
  background: var(--ink);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.lang-toggle {
  min-height: 40px;
  padding: 0 13px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  background: transparent;
  transition: all 0.2s;
}
.lang-toggle:hover {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}

.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid var(--line-strong);
  place-items: center;
  font-size: 18px;
}

/* Native <dialog> Mobile Menu */
dialog.mobile-menu {
  width: min(92vw, 420px);
  max-width: none;
  margin: auto;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--paper);
  color: var(--ink);
  padding: 24px;
  box-shadow: 0 32px 70px -24px rgba(18, 23, 17, 0.55);
}
dialog.mobile-menu::backdrop {
  background: rgba(18, 23, 17, 0.55);
  backdrop-filter: blur(6px);
}
.mobile-menu__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}
.mobile-menu__links {
  display: flex;
  flex-direction: column;
  padding-block: 16px;
  gap: 4px;
}
.mobile-menu__links a {
  padding: 11px 8px;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  border-bottom: 1px solid var(--line);
}
.mobile-menu__links a:last-child { border-bottom: none; }

/* ================= 1. Hero Section ================= */
.hero {
  position: relative;
  overflow: hidden;
  padding-top: clamp(38px, 5vw, 68px);
}

/* Decorative concentric hairline rings */
.hero::before, .hero::after {
  content: "";
  position: absolute;
  top: -150px;
  inset-inline-end: -110px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}
.hero::before {
  width: 620px;
  height: 620px;
  border: 1px solid rgba(18, 23, 17, 0.08);
}
.hero::after {
  width: 760px;
  height: 760px;
  top: -220px;
  inset-inline-end: -180px;
  border: 1px solid rgba(18, 23, 17, 0.055);
}

.hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
  padding-bottom: clamp(48px, 6vw, 76px);
}

.hero__copy .eyebrow { margin-bottom: 20px; }
.hero__lead {
  margin: 22px 0 30px;
  font-size: clamp(1.05rem, 1.35vw, 1.24rem);
  line-height: 1.62;
  color: var(--muted);
  max-width: 50ch;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
  margin-bottom: 34px;
}

.hero__proof {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 28px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  font-weight: 500;
  color: var(--ink);
}
.hero__proof li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.hero__proof li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 1px rgba(18, 23, 17, 0.3);
}

/* Hero Side Visual: 3D Tilted Projects Stage Mockup */
.hero-stage {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  perspective: 1200px;
}

/* Soft lime glow behind top-right corner */
.hero-stage__glow {
  position: absolute;
  top: -28px;
  inset-inline-end: -16px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(214, 255, 75, 0.55) 0%, rgba(214, 255, 75, 0) 70%);
  filter: blur(22px);
  pointer-events: none;
  z-index: 0;
}

.stage-wrap {
  position: relative;
  width: 100%;
  max-width: 560px;
  z-index: 1;
}

.stage-panel {
  width: 100%;
  background: var(--paper-bright);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.9) inset, 0 44px 90px -38px rgba(18, 23, 17, 0.5);
  overflow: hidden;
  transform: perspective(1200px) rotateY(calc(-3deg + var(--tilt-y, 0deg))) rotateX(calc(1deg + var(--tilt-x, 0deg)));
  transition: transform 0.45s var(--ease);
  will-change: transform;
}
html[dir="rtl"] .stage-panel {
  transform: perspective(1200px) rotateY(calc(3deg + var(--tilt-y, 0deg))) rotateX(calc(1deg + var(--tilt-x, 0deg)));
}

/* Top-left floating dark badge */
.stage-float-pill {
  position: absolute;
  top: -16px;
  inset-inline-start: -18px;
  z-index: 4;
  background: var(--ink);
  color: var(--paper);
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 20px 36px -16px rgba(18, 23, 17, 0.65);
  transform: rotate(-2.5deg);
  display: flex;
  flex-direction: column;
  gap: 2px;
}
html[dir="rtl"] .stage-float-pill { transform: rotate(2.5deg); }
.stage-float-pill__meta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.14em;
  color: var(--lime);
  text-transform: uppercase;
}
.stage-float-pill__meta i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--lime);
  display: inline-block;
}
.stage-float-pill strong {
  font-size: 12.5px;
  font-weight: 700;
  color: #fff;
}

/* Bottom-right floating neon-lime sticky card */
.stage-float-note {
  position: absolute;
  bottom: 22px;
  inset-inline-end: -18px;
  z-index: 4;
  max-width: 240px;
  background: var(--lime);
  color: var(--ink);
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid rgba(18, 23, 17, 0.22);
  box-shadow: 0 22px 42px -18px rgba(18, 23, 17, 0.45);
  transform: rotate(2.2deg);
}
html[dir="rtl"] .stage-float-note { transform: rotate(-2.2deg); }
.stage-float-note__q {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 16.5px;
  line-height: 1.25;
  margin-bottom: 6px;
}
html[dir="rtl"] .stage-float-note__q { font-family: 'Amiri', 'Cairo', serif; font-size: 15.5px; }
.stage-float-note__tag {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.13em;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--lime-ink);
}

/* Stage window chrome */
.stage-chrome {
  background: var(--ink);
  color: var(--paper);
  padding: 11px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.stage-dots {
  display: inline-flex;
  gap: 6px;
}
.stage-dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}
.stage-dots span:nth-child(1) { background: var(--lime); }
.stage-dots span:nth-child(2) { background: rgba(214, 255, 75, 0.45); }
.stage-dots span:nth-child(3) { background: rgba(244, 241, 230, 0.25); }

.stage-chrome__label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  color: var(--muted-dark);
}
.stage-chrome__badge {
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.12em;
  padding: 3px 9px;
  border-radius: 999px;
  border: 1px solid rgba(214, 255, 75, 0.45);
  color: var(--lime);
  text-transform: uppercase;
}

.stage-app {
  display: grid;
  grid-template-columns: 46px 1fr;
  min-height: 368px;
}
.stage-rail {
  border-inline-end: 1px solid var(--line);
  padding: 14px 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  background: rgba(244, 241, 230, 0.45);
}
.stage-rail__logo {
  width: 28px;
  height: 28px;
  border-radius: 7px;
  background: var(--ink);
  color: var(--lime);
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 13px;
}
.stage-rail__btn {
  width: 28px;
  height: 28px;
  border-radius: 7px;
  border: 1px solid var(--line);
  background: var(--paper-bright);
  display: grid;
  place-items: center;
  font-family: var(--font-mono);
  font-size: 9.5px;
  font-weight: 600;
  color: var(--muted);
  transition: all 0.2s;
}
.stage-rail__btn.is-active {
  background: var(--ink);
  color: var(--lime);
  border-color: var(--ink);
}
.stage-rail__dot {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  border: 1px solid var(--line);
}

.stage-canvas {
  padding: 16px 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.stage-canvas__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.stage-canvas__title {
  font-family: var(--font-display);
  font-size: 15.5px;
  font-weight: 700;
  line-height: 1.2;
}
.stage-canvas__tabs {
  display: inline-flex;
  background: var(--paper-deep);
  padding: 3px;
  border-radius: 999px;
  border: 1px solid var(--line);
  gap: 3px;
}
.stage-proj-tab {
  padding: 4px 10px;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  color: var(--muted);
  transition: all 0.2s;
}
.stage-proj-tab.is-active {
  background: var(--ink);
  color: var(--lime);
}

.stage-pane { display: none; flex-direction: column; gap: 11px; }
.stage-pane.is-active { display: flex; }

.stage-kpis {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.stage-kpi {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
}
.stage-kpi__label {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  color: var(--muted);
  text-transform: uppercase;
}
.stage-kpi__row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 6px;
  margin-top: 4px;
}
.stage-kpi__val {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 800;
  line-height: 1;
}
.stage-kpi__chip {
  font-family: var(--font-mono);
  font-size: 9.5px;
  padding: 2px 7px;
  border-radius: 999px;
  background: var(--lime);
  color: var(--ink);
  font-weight: 600;
}

.stage-chart {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 10px 12px 8px;
}
.stage-chart__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 4px;
}
.stage-chart__svg { width: 100%; height: 64px; display: block; overflow: visible; }
.stage-chart__days {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 9px;
  color: var(--muted);
  margin-top: 4px;
}

.stage-projects-mini {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.stage-proj-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  padding-top: 6px;
  border-top: 1px solid var(--line);
}
.stage-proj-item:first-of-type { padding-top: 0; border-top: none; }
.stage-proj-item__name {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-weight: 600;
}
.stage-proj-item__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
}
.stage-proj-item__link {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  color: var(--ink);
  border-bottom: 1px solid var(--line-strong);
}
.stage-proj-item__link:hover { border-bottom-color: var(--ink); }

.stage-caption {
  margin-top: 16px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

/* Hero Bottom Bar */
.hero__footer {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.hero__footer-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
  padding-block: 16px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--muted);
}
.hero__footer-inner > :nth-child(2) { text-align: center; }
.hero__footer-inner > :nth-child(3) { text-align: end; }
.hero__footer-scroll:hover { color: var(--ink); }

/* ================= 2. Stack Strip ================= */
.stack-strip {
  background: var(--paper-bright);
  padding: 21px 0;
  border-bottom: 1px solid var(--line);
}
.stack-strip__inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 20px 32px;
}
.stack-strip__list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 10px 18px;
  font-family: var(--font-display);
  font-size: 14.5px;
  font-weight: 700;
}
.stack-strip__list li {
  display: inline-flex;
  align-items: center;
  gap: 18px;
}
.stack-strip__list li:not(:last-child)::after {
  content: "•";
  color: var(--muted);
  font-size: 11px;
}
.stack-strip__note {
  text-align: end;
  color: var(--muted);
  max-width: 28ch;
  line-height: 1.5;
}

/* ================= 3. Statement (Dark Band) ================= */
.statement {
  position: relative;
  overflow: hidden;
}
.statement::before {
  content: "";
  position: absolute;
  top: -120px;
  inset-inline-end: -100px;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(214, 255, 75, 0.13) 0%, rgba(214, 255, 75, 0) 70%);
  pointer-events: none;
}
.statement__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}
.statement h2 {
  font-size: clamp(2.55rem, 5.2vw, 5.2rem);
  margin-top: 18px;
}
html[dir="rtl"] .statement h2 {
  font-size: clamp(2.1rem, 4.1vw, 3.85rem);
}
.statement h2 .serif { color: var(--lime); }

.principles-mini {
  margin-top: 34px;
  border-top: 1px solid var(--line-light);
}
.principles-mini__row {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 16px;
  padding-block: 18px;
  border-bottom: 1px solid var(--line-light);
  align-items: baseline;
}
.principles-mini__row dt {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--lime);
}
.principles-mini__row dd {
  font-size: 15.5px;
  color: var(--paper);
}

/* ================= Section Header Shared Pattern ================= */
.section-top {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px 36px;
  margin-bottom: clamp(36px, 4.5vw, 56px);
}
.section-top .eyebrow { margin-bottom: 14px; }
.section-top .lead { margin-top: 14px; }

/* ================= 4. Capabilities (3x2 Bordered Grid) ================= */
.capabilities__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-inline-start: 1px solid var(--line);
}
.capability {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
  padding: clamp(26px, 3vw, 38px);
  border-inline-end: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: transparent;
  transition: background 0.35s var(--ease);
}
.capability:hover { background: var(--paper-bright); }

.capability__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.capability__num {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  color: var(--muted);
}
.capability__arrow {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  font-size: 14px;
  transition: background 0.25s, color 0.25s, border-color 0.25s, transform 0.25s;
}
.capability:hover .capability__arrow {
  background: var(--ink);
  color: var(--lime);
  border-color: var(--ink);
  transform: rotate(12deg);
}

.capability__icon {
  width: 30px;
  height: 30px;
  color: var(--ink);
  margin-bottom: 14px;
}
.capability h3 { margin-bottom: 10px; }
.capability p {
  margin: 0;
  font-size: 14.5px;
  color: var(--muted);
  line-height: 1.62;
}
.capability__tag {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--muted);
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

/* ================= 5. Selected Work ================= */
.work-list {
  display: flex;
  flex-direction: column;
  gap: clamp(44px, 5vw, 72px);
}
.work-feature {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: clamp(28px, 4.5vw, 60px);
  align-items: center;
}

.work-feature__visual {
  display: block;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--paper-bright);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  transition: transform 0.35s var(--ease), border-color 0.3s;
}
.work-feature__visual:hover {
  transform: translateY(-4px);
  border-color: var(--line-strong);
}
.work-mockup-top {
  background: var(--ink);
  color: var(--paper);
  padding: 12px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.work-mockup-body {
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.work-mockup-banner {
  padding: 22px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--ink) 0%, #202a1e 100%);
  color: var(--paper);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.work-mockup-banner__tag {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.13em;
  color: var(--lime);
  text-transform: uppercase;
}
.work-mockup-banner h4 {
  font-size: 21px;
  line-height: 1.2;
}
.work-mockup-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.work-mockup-stat {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 11px 12px;
}
.work-mockup-stat small {
  display: block;
  font-family: var(--font-mono);
  font-size: 9px;
  color: var(--muted);
  text-transform: uppercase;
}
.work-mockup-stat strong {
  display: block;
  margin-top: 4px;
  font-family: var(--font-display);
  font-size: 13.5px;
}

.work-feature__meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--muted);
}
.work-feature__body h3 {
  font-size: clamp(1.65rem, 2.7vw, 2.35rem);
  margin: 20px 0 12px;
}
.work-feature__body p {
  margin: 0 0 24px;
  color: var(--muted);
  font-size: 15.5px;
  line-height: 1.65;
}
.work-specs {
  border-top: 1px solid var(--line);
  margin-bottom: 24px;
}
.work-specs__row {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 14px;
  padding-block: 11px;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}
.work-specs__row dt {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--muted);
  align-self: center;
}

/* ================= 6. Process (Dark 5-Column Stepper) ================= */
.process__intro {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: end;
  margin-bottom: clamp(44px, 5vw, 68px);
}
.process__intro h2 { margin-top: 16px; }
.process__intro h2 .serif { color: var(--lime); }
.process__side .mono {
  color: var(--lime);
  margin-bottom: 10px;
  display: block;
}
.process__side p {
  margin: 0;
  color: var(--muted-dark);
  font-size: 15.5px;
  line-height: 1.65;
}

.process__steps {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 24px;
}
.process__step {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
}
.process__line {
  position: relative;
  height: 1px;
  background: var(--line-light);
  margin-bottom: 18px;
}
.process__line::before {
  content: "";
  position: absolute;
  top: -3.5px;
  inset-inline-start: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 12px rgba(214, 255, 75, 0.65);
}
.process__num {
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.14em;
  color: var(--muted-dark);
  display: block;
  margin-bottom: 8px;
}
.process__step h3 {
  font-size: 20px;
  margin-bottom: 8px;
  color: var(--paper);
}
.process__step p {
  margin: 0;
  font-size: 14px;
  color: var(--muted-dark);
  line-height: 1.6;
}
.process__deliverable {
  padding-top: 14px;
  border-top: 1px solid var(--line-light);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--lime);
}

/* ================= 7. Principles / Why SolviaTech ================= */
.principles__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}
.principles__intro {
  position: sticky;
  top: 108px;
}
.principles__intro h2 { margin: 16px 0 18px; }
.principles__intro p {
  margin: 0 0 28px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.65;
}
.principles__list {
  border-top: 1px solid var(--line);
}
.principle-row {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 18px;
  padding-block: clamp(22px, 2.8vw, 32px);
  border-bottom: 1px solid var(--line);
}
.principle__num {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--muted);
  padding-top: 5px;
}
.principle-row h3 { margin-bottom: 8px; }
.principle-row p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
}

/* ================= 8. CTA Band (Lime + Watermark) ================= */
.cta-band {
  position: relative;
  overflow: hidden;
  background: var(--lime);
  color: var(--ink);
  padding-block: clamp(84px, 10vw, 132px);
}
.cta-band__watermark {
  position: absolute;
  inset-inline-end: -4%;
  bottom: -24%;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(200px, 28vw, 420px);
  line-height: 0.8;
  color: rgba(18, 23, 17, 0.055);
  pointer-events: none;
  user-select: none;
}
.cta-band__inner { position: relative; z-index: 1; }
.cta-band h2 {
  font-size: clamp(3rem, 6.6vw, 6.4rem);
  line-height: 0.94;
  margin-top: 18px;
  max-width: 14ch;
}
html[dir="rtl"] .cta-band h2 {
  font-size: clamp(2.35rem, 4.7vw, 4.2rem);
  line-height: 1.15;
}
.cta-band__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px 40px;
  margin-top: clamp(32px, 4vw, 52px);
  padding-top: 28px;
  border-top: 1px solid rgba(18, 23, 17, 0.22);
}
.cta-band__bottom p {
  margin: 0;
  max-width: 48ch;
  font-size: 16.5px;
  line-height: 1.6;
  color: rgba(18, 23, 17, 0.82);
}

/* ================= 9. Footer (Dark 4-Column) ================= */
.site-footer {
  background: var(--ink);
  color: var(--paper);
  padding: 72px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 36px;
}
.footer__brand-mark {
  width: 37px;
  height: 37px;
  border-radius: 10px;
  background: var(--lime);
  color: var(--ink);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.footer__blurb {
  margin: 16px 0 18px;
  font-size: 14px;
  line-height: 1.65;
  color: var(--muted-dark);
  max-width: 34ch;
}
.footer__wa {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--lime);
  border-bottom: 1px solid rgba(214, 255, 75, 0.45);
  padding-bottom: 3px;
}
.footer__col h3 {
  font-family: var(--font-mono);
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted-dark);
  margin-bottom: 16px;
}
.footer__col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer__col a, .footer__col span {
  font-size: 14px;
  color: rgba(244, 241, 230, 0.84);
  transition: color 0.2s;
}
.footer__col a:hover { color: var(--lime); }
.footer__muted { color: var(--muted-dark) !important; font-size: 13px !important; }

.footer-bottom {
  margin-top: 52px;
  padding-top: 22px;
  border-top: 1px solid var(--line-light);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted-dark);
}
.footer-bottom__links {
  display: flex;
  gap: 22px;
}
.footer-bottom__links a:hover { color: var(--lime); }

/* ================= Product Subpage Shared Components (CORE / AlbanPro) ================= */
.subhero {
  padding: clamp(44px, 6vw, 80px) 0 clamp(40px, 5vw, 64px);
}
.subhero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 40px;
  align-items: center;
}
.showcase-panel {
  background: var(--ink);
  color: var(--paper);
  border-radius: var(--radius);
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 32px 64px -28px rgba(18, 23, 17, 0.55);
}
.showcase-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 14px;
  margin-bottom: 16px;
  border-bottom: 1px solid rgba(244, 241, 230, 0.12);
}
.win-dots { display: flex; gap: 6px; }
.win-dots span { width: 10px; height: 10px; border-radius: 50%; background: rgba(244, 241, 230, 0.25); }
.win-dots span:first-child { background: var(--lime); }
.domain-pill {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--muted-dark);
  background: rgba(255, 255, 255, 0.06);
  padding: 4px 12px;
  border-radius: 999px;
}
.mini-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 14px 0;
}
.mini-metric {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 12px;
  padding: 12px;
}
.mini-metric small { display: block; font-size: 11.5px; color: var(--muted-dark); margin-bottom: 4px; }
.mini-metric strong { font-family: var(--font-display); font-size: 15px; color: var(--lime); }

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.feature-card {
  background: var(--paper-bright);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  transition: transform 0.25s var(--ease), border-color 0.25s;
}
.feature-card:hover { transform: translateY(-2px); border-color: var(--line-strong); }
.section--dark .feature-card {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--line-light);
}
.feature-ico {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(214, 255, 75, 0.22);
  display: grid;
  place-items: center;
  font-size: 20px;
  margin-bottom: 14px;
}
.section--dark .feature-ico { background: rgba(214, 255, 75, 0.14); }
.feature-card h3 { font-size: 17px; margin-bottom: 8px; }
.feature-card p { margin: 0; font-size: 14px; color: var(--muted); }
.section--dark .feature-card p { color: var(--muted-dark); }

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.price-card {
  background: var(--paper-bright);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
}
.price-card.popular {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--lime);
}
.price-amount { font-family: var(--font-display); font-size: 34px; font-weight: 800; margin: 10px 0; }
.product-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 999px;
}
.check-list { display: flex; flex-direction: column; gap: 10px; margin-bottom: 18px; }
.check-list li { display: flex; align-items: flex-start; gap: 9px; font-size: 14px; }
.check-icon {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(63, 90, 12, 0.14);
  color: var(--lime-ink);
  display: grid;
  place-items: center;
  font-size: 11px;
  font-weight: 800;
  flex-shrink: 0;
  margin-top: 3px;
}
.price-card.popular .check-icon { background: rgba(214, 255, 75, 0.22); color: var(--lime); }

.sim-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.sim-field label { display: block; font-size: 11.5px; font-weight: 600; margin-bottom: 5px; }
.sim-field input, .sim-field select {
  width: 100%;
  padding: 9px 11px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: #1c241b;
  color: #fff;
  font-family: var(--font-body);
  font-size: 14px;
}

.cta-banner {
  background: var(--ink);
  color: var(--paper);
  border-radius: var(--radius);
  padding: 48px 36px;
  text-align: center;
  margin-bottom: 64px;
}
.cta-banner h2 { font-size: clamp(24px, 3vw, 36px); margin-bottom: 12px; }
.cta-banner p { color: var(--muted-dark); max-width: 560px; margin: 0 auto 24px; }

/* ================= Responsive Breakpoints ================= */
@media (max-width: 1020px) {
  .primary-nav, .header-cta { display: none; }
  .nav-toggle { display: inline-grid; }
  .hero__grid, .statement__grid, .work-feature, .process__intro, .principles__grid, .subhero__grid {
    grid-template-columns: 1fr;
  }
  .principles__intro { position: static; }
  .capabilities__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .process__steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .features-grid, .pricing-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stack-strip__inner { grid-template-columns: 1fr; text-align: center; }
  .stack-strip__note { text-align: center; max-width: none; }
  .stage-float-pill { inset-inline-start: 8px; }
  .stage-float-note { inset-inline-end: 8px; bottom: -14px; }
}

@media (max-width: 640px) {
  .capabilities__grid, .process__steps, .footer-grid, .hero__footer-inner, .work-mockup-stats {
    grid-template-columns: 1fr;
  }
  .hero__footer-inner > :nth-child(2),
  .hero__footer-inner > :nth-child(3) { text-align: start; }
  .stage-app { grid-template-columns: 1fr; }
  .stage-rail { flex-direction: row; justify-content: flex-start; border-inline-end: none; border-bottom: 1px solid var(--line); }
  .stage-float-pill, .stage-float-note { position: static; transform: none; margin: 10px 0; max-width: none; }
}
