:root {
  --paper: #F1ECE2;
  --paper2: #E7E0D2;
  --card: #ffffff;
  --ink: #101010;
  --ink2: #1B1B19;
  --ink3: #17352B;
  --mute: #5E5A52;
  --line: #D9D1C0;
  --cobalt: #C2330C;
  --cobalt-glow: rgba(194, 51, 12, 0.25);
  --hi: #FF4A1C;
  --hi-glow: rgba(255, 74, 28, 0.28);
  --mint: #3E8E66;
  --mint-glow: rgba(62, 142, 102, 0.22);
  --violet: #8B5CF6;
  --rose: #F43F5E;
  --display: Manrope, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --body: Manrope, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --mono: ui-monospace, 'SFMono-Regular', Menlo, Monaco, Consolas, monospace;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --frame-bg: #101010;
  --frame-bar: #1B1B19;
  --frame-line: rgba(255, 255, 255, 0.1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5.5rem;
}

body {
  background: var(--paper);
  color: var(--ink);
  font: 400 1.0625rem/1.6 var(--body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  animation: pin 0.55s var(--ease) both;
}

body.out {
  opacity: 0;
  transition: opacity 0.22s ease;
}

body.menu-open {
  overflow: hidden;
}

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

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.02;
  text-wrap: balance;
}

a {
  color: inherit;
}

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

button {
  cursor: pointer;
}

:focus-visible {
  outline: 3px solid var(--cobalt);
  outline-offset: 3px;
  border-radius: 6px;
}

.dark :focus-visible, .stage :focus-visible, .end :focus-visible {
  outline-color: var(--hi);
}

/* Rock-Solid Side Margins & Container */
.wrap {
  max-width: 1260px;
  margin: 0 auto;
  padding: 0 clamp(1.5rem, 4.5vw, 3.2rem);
}

.sec {
  padding: clamp(4rem, 7.5vw, 7rem) 0;
  position: relative;
}

.ico {
  width: 1.05em;
  height: 1.05em;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.1;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font: 600 0.82rem/1 var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--cobalt);
  background: rgba(194, 51, 12, 0.08);
  border: 1px solid rgba(194, 51, 12, 0.2);
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  margin-bottom: 1.25rem;
}

.dark .eyebrow {
  color: var(--hi);
  background: rgba(255, 74, 28, 0.12);
  border-color: rgba(255, 74, 28, 0.28);
}

h2 {
  font-size: clamp(2.25rem, 4.8vw, 3.8rem);
  max-width: 18ch;
  line-height: 1.05;
}

.lede {
  color: var(--mute);
  max-width: 38rem;
  margin-top: 1.15rem;
  font-size: clamp(1.06rem, 1.4vw, 1.2rem);
  line-height: 1.55;
}

.dark {
  background: var(--ink);
  color: #fff;
}

.dark .lede {
  color: #B5AFA2;
}

/* Progress Bar & Custom Cursor */
.bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--cobalt), var(--mint));
  transform: scaleX(0);
  transform-origin: 0 50%;
  z-index: 100;
}

[data-r] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s var(--ease) calc(var(--d, 0) * 70ms),
              transform 0.8s var(--ease) calc(var(--d, 0) * 70ms);
}

[data-r].in {
  opacity: 1;
  transform: none;
}

.w {
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
  padding-bottom: 0.12em;
  margin-bottom: -0.12em;
}

.w > span {
  display: inline-block;
  transform: translateY(112%);
  transition: transform 0.9s var(--ease) calc(var(--i) * 45ms);
}

.in .w > span {
  transform: none;
}

.cur {
  display: none;
  position: fixed;
  left: 0;
  top: 0;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--cobalt);
  pointer-events: none;
  z-index: 90;
  transition: width 0.25s var(--ease), height 0.25s var(--ease), opacity 0.25s, margin 0.25s var(--ease);
  margin: -6px 0 0 -6px;
}

.cur.big {
  width: 52px;
  height: 52px;
  margin: -26px 0 0 -26px;
  opacity: 0.18;
}

@media (hover: hover) and (pointer: fine) {
  .cur { display: block; }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.92rem 1.6rem;
  border-radius: 999px;
  border: 1.5px solid var(--ink);
  background: var(--ink);
  color: #fff;
  font-weight: 600;
  font-size: 0.98rem;
  text-decoration: none;
  transition: transform 0.22s var(--ease), background 0.22s, color 0.22s, border-color 0.22s, box-shadow 0.22s;
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-2px);
  background: var(--cobalt);
  border-color: var(--cobalt);
  box-shadow: 0 12px 28px -8px var(--cobalt-glow);
}

.btn .ico {
  transition: transform 0.25s var(--ease);
}

.btn:hover .ico {
  transform: translate(3px, -3px);
}

.btn.ghost {
  background: transparent;
  color: var(--ink);
  border-color: rgba(16, 16, 16, 0.25);
}

.btn.ghost:hover {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
  box-shadow: none;
}

.dark .btn.ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.25);
}

.dark .btn.ghost:hover {
  background: #fff;
  color: var(--ink);
  border-color: #fff;
}

.btn.hi {
  background: var(--hi);
  border-color: var(--hi);
  color: var(--ink);
}

.btn.hi:hover {
  background: #fff;
  border-color: #fff;
  color: var(--ink);
  box-shadow: 0 12px 28px -8px var(--hi-glow);
}

.btn.sm {
  padding: 0.62rem 1.18rem;
  font-size: 0.92rem;
}

/* Header & Sticky Navigation */
header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(241, 236, 226, 0.9);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(220, 226, 238, 0.8);
  transition: background 0.25s, box-shadow 0.25s;
}

header.scrolled {
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 10px 30px -20px rgba(16, 16, 16, 0.16);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4.6rem;
  gap: 1rem;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  font: 800 1.45rem var(--display);
  letter-spacing: -0.04em;
  position: relative;
  z-index: 70;
}

.logo i {
  font-style: normal;
  display: grid;
  place-items: center;
  width: 2.15rem;
  height: 2.15rem;
  border-radius: 0.65rem;
  background: var(--cobalt);
  color: #fff;
  font-size: 1.2rem;
  font-weight: 700;
  transition: transform 0.5s var(--ease), background 0.3s;
}

.logo:hover i {
  transform: rotate(180deg) scale(1.05);
}

.links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  font-weight: 500;
  font-size: 0.96rem;
  background: rgba(16, 16, 16, 0.04);
  padding: 0.3rem;
  border-radius: 999px;
  border: 1px solid rgba(16, 16, 16, 0.06);
}

.links a {
  text-decoration: none;
  color: var(--mute);
  padding: 0.42rem 0.95rem;
  border-radius: 999px;
  transition: all 0.2s var(--ease);
}

.links a:hover {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.8);
}

.links a[aria-current="page"] {
  color: #fff;
  background: var(--ink);
  font-weight: 600;
}

.navr {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.slots {
  display: none !important;
}

.dot {
  width: 0.52rem;
  height: 0.52rem;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 0 4px rgba(62, 142, 102, 0.2);
  animation: ping 2s infinite;
  flex: none;
}

@keyframes ping {
  50% { box-shadow: 0 0 0 8px rgba(62, 142, 102, 0); }
}

/* Mobile Menu Button & Drawer */
.mob-btn {
  display: none;
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 70;
}

.mob-btn span {
  display: block;
  width: 1.1rem;
  height: 2px;
  background: var(--ink);
  position: relative;
  transition: background 0.2s;
}

.mob-btn span::before, .mob-btn span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--ink);
  transition: transform 0.3s var(--ease);
}

.mob-btn span::before { top: -5px; }
.mob-btn span::after { top: 5px; }

body.menu-open .mob-btn span { background: transparent; }
body.menu-open .mob-btn span::before { transform: translateY(5px) rotate(45deg); }
body.menu-open .mob-btn span::after { transform: translateY(-5px) rotate(-45deg); }

.mob-nav {
  position: fixed;
  inset: 0;
  background: rgba(16, 16, 16, 0.96);
  backdrop-filter: blur(20px);
  color: #fff;
  z-index: 55;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 6.5rem 1.75rem 2.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s var(--ease);
}

body.menu-open .mob-nav {
  opacity: 1;
  pointer-events: auto;
}

.mob-links {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.mob-links a {
  font: 700 clamp(2rem, 7vw, 3rem)/1.1 var(--display);
  text-decoration: none;
  color: rgba(255, 255, 255, 0.7);
  padding: 0.4rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.mob-links a[aria-current="page"], .mob-links a:hover {
  color: var(--hi);
}

/* ===================================================
   HERO & LIVE OPERATIONAL PULSE FEED (REPLACES SCATTERED FLOATING BOXES)
   =================================================== */
.hero {
  padding: clamp(3rem, 6.5vw, 5.5rem) 0 0;
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.95fr;
  gap: clamp(2.5rem, 5vw, 4.5rem);
  align-items: center;
}

/* Live Operational Pulse Card */
.live-pulse-card {
  background: #ffffff;
  border-radius: 28px;
  border: 1px solid var(--line);
  box-shadow: 0 35px 80px -25px rgba(16, 16, 16, 0.18), 0 0 0 1px rgba(16, 16, 16, 0.04);
  padding: 1.6rem;
  position: relative;
  overflow: hidden;
}

.pulse-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 1.1rem;
  border-bottom: 1px solid var(--line);
  margin-bottom: 1rem;
}

.pulse-title {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font: 700 0.92rem var(--display);
  color: var(--ink);
  letter-spacing: -0.01em;
}

.pulse-status {
  font: 600 0.74rem var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--mint);
  background: rgba(62, 142, 102, 0.1);
  padding: 0.24rem 0.65rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.pulse-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.pulse-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 1rem;
  background: #F7F3EA;
  border: 1px solid #E4DCCB;
  border-radius: 16px;
  transition: transform 0.25s var(--ease), border-color 0.25s, box-shadow 0.25s;
}

.pulse-item:hover {
  transform: translateY(-2px);
  border-color: var(--cobalt);
  background: #ffffff;
  box-shadow: 0 8px 24px -8px rgba(194, 51, 12, 0.15);
}

.pulse-info {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  min-width: 0;
}

.pulse-icon {
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.pulse-icon.green { background: #E6F8F0; color: #0E9F68; }
.pulse-icon.blue { background: #EFE5D6; color: #C2330C; }
.pulse-icon.amber { background: #EFE3CC; color: #D97706; }
.pulse-icon.purple { background: #F3E8FF; color: #7E22CE; }

.pulse-texts b {
  display: block;
  font-size: 0.94rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.25;
}

.pulse-texts span {
  display: block;
  font-size: 0.82rem;
  color: var(--mute);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-top: 0.15rem;
}

.pulse-pill {
  font: 600 0.74rem var(--mono);
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  white-space: nowrap;
  flex-shrink: 0;
}

.pulse-pill.green { background: #DFF5EC; color: #0E9F68; }
.pulse-pill.blue { background: #EFE5D6; color: #C2330C; }
.pulse-pill.amber { background: #EFE3CC; color: #B45309; }
.pulse-pill.purple { background: #F3E8FF; color: #6B21A8; }

.pulse-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 1.1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  font: 500 0.78rem var(--mono);
  color: var(--mute);
}

.pulse-foot span:last-child {
  color: var(--cobalt);
  font-weight: 700;
}

/* Airy Hero Live Operational Feed (No Rigid Box Container) */
.hero-live-feed {
  display: flex;
  flex-direction: column;
  gap: 0.95rem;
  position: relative;
}

.pulse-card-float {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 1rem 1.25rem;
  box-shadow: 0 16px 36px -12px rgba(16, 16, 16, 0.08), 0 0 0 1px rgba(16, 16, 16, 0.03);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  transition: transform 0.28s var(--ease), border-color 0.28s, box-shadow 0.28s;
}

.pulse-card-float:nth-child(2) { transform: translateX(14px); }
.pulse-card-float:nth-child(3) { transform: translateX(-4px); }
.pulse-card-float:nth-child(4) { transform: translateX(10px); }

.pulse-card-float:hover {
  transform: translateY(-4px) scale(1.02);
  border-color: var(--cobalt);
  box-shadow: 0 24px 48px -14px rgba(194, 51, 12, 0.2);
}

/* ===================================================
   COMPACT CLOSED BOTTLENECK ACCORDION (CLICK TO OPEN)
   =================================================== */
.bn-accordion {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 2.5rem;
}

.bn-drawer {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s;
}

.bn-drawer[open] {
  border-color: var(--cobalt);
  box-shadow: 0 16px 36px -12px rgba(194, 51, 12, 0.16);
}

.bn-drawer summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem;
  padding: 1.1rem 1.35rem;
  cursor: pointer;
  user-select: none;
  font: 700 1.08rem/1.25 var(--display);
  color: var(--ink);
  transition: background 0.2s;
}

.bn-drawer summary::-webkit-details-marker {
  display: none;
}

.bn-drawer summary:hover {
  background: #F7F3EA;
}

.bn-summary-left {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.bn-summary-icon {
  font-size: 1.35rem;
  flex-shrink: 0;
}

.bn-toggle-icon {
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  background: #E9E2D3;
  color: var(--cobalt);
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 1.15rem;
  flex-shrink: 0;
  transition: transform 0.3s var(--ease), background 0.2s, color 0.2s;
}

.bn-drawer[open] .bn-toggle-icon {
  transform: rotate(45deg);
  background: var(--cobalt);
  color: #ffffff;
}

.bn-body {
  padding: 0 1.35rem 1.35rem;
  border-top: 1px solid #E9E2D3;
  animation: pin 0.35s var(--ease) both;
}

.bn-body p {
  color: var(--mute);
  font-size: 0.93rem;
  line-height: 1.55;
  margin: 0.85rem 0 1rem;
}

.bn-sol-pill {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  background: #EFE5D6;
  border: 1px solid rgba(194, 51, 12, 0.2);
  border-radius: 12px;
  padding: 0.65rem 0.95rem;
  color: var(--cobalt);
  font-weight: 700;
  font-size: 0.88rem;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}

.bn-sol-pill:hover {
  background: var(--cobalt);
  color: #ffffff;
}

/* ===================================================
   CAPABILITIES GATEWAY (HOMEPAGE REFERENCES TO SERVICES)
   =================================================== */
.gateway-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-top: 2.8rem;
}

.gateway-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 1.6rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-decoration: none;
  transition: transform 0.25s var(--ease), border-color 0.25s, box-shadow 0.25s;
}

.gateway-card:hover {
  transform: translateY(-4px);
  border-color: var(--cobalt);
  box-shadow: 0 20px 45px -15px rgba(194, 51, 12, 0.2);
}

.gateway-num {
  font: 700 0.8rem var(--mono);
  color: var(--cobalt);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.85rem;
  display: block;
}

.gateway-card h3 {
  font-size: 1.35rem;
  margin-bottom: 0.55rem;
  color: var(--ink);
}

.gateway-card p {
  color: var(--mute);
  font-size: 0.92rem;
  line-height: 1.5;
  margin-bottom: 1.2rem;
}

.gateway-meta {
  margin-top: auto;
  padding-top: 0.85rem;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  font-size: 0.84rem;
  color: var(--cobalt);
}

/* Marquee Capability Strip */
.mq {
  overflow: hidden;
  background: var(--ink);
  color: #fff;
  padding: 1.05rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  z-index: 2;
}

.mq div {
  display: flex;
  align-items: center;
  gap: 2.2rem;
  width: max-content;
  animation: mq 38s linear infinite;
  font: 700 1.25rem var(--display);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  white-space: nowrap;
}

.mq:hover div {
  animation-play-state: paused;
}

.mq span {
  display: inline-flex;
  align-items: center;
  gap: 2.2rem;
}

.mq span::after {
  content: "✦";
  color: var(--hi);
  font-size: 0.95rem;
}

.mq span:nth-child(even) {
  color: #B5AFA2;
}

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

/* ===================================================
   INTERACTIVE PROBLEM-TO-SOFTWARE MATCHER (DIAGNOSTIC ENGINE)
   =================================================== */
.problem-matcher {
  background: #ffffff;
  border-radius: 32px;
  border: 1px solid var(--line);
  box-shadow: 0 40px 90px -30px rgba(16, 16, 16, 0.16);
  padding: clamp(1.8rem, 4vw, 3.2rem);
  margin-top: 3.5rem;
}

.pm-nav {
  display: flex;
  gap: 0.55rem;
  overflow-x: auto;
  scrollbar-width: none;
  padding-bottom: 0.5rem;
  margin-bottom: 2rem;
  border-bottom: 1px solid var(--line);
}

.pm-nav button {
  background: transparent;
  border: 1.5px solid var(--line);
  color: var(--mute);
  padding: 0.65rem 1.2rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.92rem;
  white-space: nowrap;
  transition: all 0.22s var(--ease);
}

.pm-nav button:hover {
  border-color: var(--ink);
  color: var(--ink);
}

.pm-nav button.active {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}

.pm-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}

.pm-card.fade > * {
  animation: pin 0.45s var(--ease) both;
}

.pm-diagnosis-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font: 700 0.8rem var(--mono);
  color: #DC2626;
  background: #FEF2F2;
  border: 1px solid #FEE2E2;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  margin-bottom: 0.85rem;
}

.pm-quote {
  font: 700 clamp(1.4rem, 2.5vw, 2.1rem)/1.2 var(--display);
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 1.2rem;
}

.pm-pain-box {
  background: #F7EFE0;
  border: 1px solid #EFE3CC;
  border-radius: 16px;
  padding: 1rem 1.2rem;
  font-size: 0.94rem;
  color: #92400E;
  margin-bottom: 1.5rem;
}

.pm-solution-box {
  background: var(--ink);
  color: #fff;
  border-radius: 24px;
  padding: clamp(1.6rem, 3.5vw, 2.4rem);
  box-shadow: 0 25px 60px -20px rgba(16, 16, 16, 0.45);
}

.pm-sol-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  padding-bottom: 1rem;
  margin-bottom: 1.2rem;
}

.pm-sol-head small {
  font: 600 0.76rem var(--mono);
  text-transform: uppercase;
  color: var(--hi);
  letter-spacing: 0.06em;
}

.pm-sol-head span {
  font: 600 0.8rem var(--mono);
  color: #B5AFA2;
}

.pm-built-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.pm-built-list li {
  display: flex;
  gap: 0.75rem;
  font-size: 0.96rem;
  align-items: flex-start;
}

.pm-built-list svg {
  color: var(--mint);
  margin-top: 0.2rem;
  flex-shrink: 0;
}

.pm-metrics-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.pm-metrics-row span {
  font-size: 0.9rem;
  color: #B5AFA2;
}

.pm-metrics-row b {
  color: #fff;
}

/* ===================================================
   HOW FIXIA WORKS: THE PROBLEM-TO-SOFTWARE ENGINE
   =================================================== */
.engine-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 3.5rem;
}

.engine-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 1.85rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.25s var(--ease), border-color 0.25s, box-shadow 0.25s;
}

.engine-card:hover {
  transform: translateY(-4px);
  border-color: var(--cobalt);
  box-shadow: 0 20px 45px -15px rgba(194, 51, 12, 0.18);
}

.engine-num {
  font: 800 2.8rem/1 var(--display);
  letter-spacing: -0.06em;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--cobalt);
  margin-bottom: 1.2rem;
}

.engine-card h3 {
  font-size: 1.38rem;
  margin-bottom: 0.6rem;
}

.engine-card p {
  color: var(--mute);
  font-size: 0.94rem;
  line-height: 1.55;
}

.engine-badge {
  margin-top: 1.4rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  font: 600 0.78rem var(--mono);
  color: var(--cobalt);
  display: block;
}

/* ===================================================
   PLATFORM GUARANTEES (TRUST PILLARS)
   =================================================== */
.guarantees-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.4rem;
  margin-top: 3rem;
}

.g-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 1.6rem;
}

.g-icon {
  width: 2.8rem;
  height: 2.8rem;
  border-radius: 14px;
  background: #EFE5D6;
  color: var(--cobalt);
  display: grid;
  place-items: center;
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.g-card h4 {
  font-size: 1.15rem;
  margin-bottom: 0.45rem;
}

.g-card p {
  color: var(--mute);
  font-size: 0.9rem;
  line-height: 1.5;
}

/* ===================================================
   MAC-STYLE BROWSER MOCKUP FRAMES & REAL PORTFOLIO
   =================================================== */
.browser-frame {
  background: #ffffff;
  border-radius: 20px;
  border: 1px solid rgba(16, 16, 16, 0.12);
  box-shadow: 0 30px 70px -20px rgba(16, 16, 16, 0.22), 0 0 0 1px rgba(16, 16, 16, 0.04);
  overflow: hidden;
  position: relative;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.browser-frame:hover {
  transform: translateY(-4px);
  box-shadow: 0 40px 90px -20px rgba(16, 16, 16, 0.28);
}

.bf-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  background: #E9E2D3;
  border-bottom: 1px solid rgba(16, 16, 16, 0.08);
  padding: 0.75rem 1rem;
}

.bf-dots {
  display: flex;
  gap: 0.38rem;
  align-items: center;
}

.bf-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: block;
}

.bf-dots span:nth-child(1) { background: #FF5F56; }
.bf-dots span:nth-child(2) { background: #FFBD2E; }
.bf-dots span:nth-child(3) { background: #27C93F; }

.bf-address {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: #ffffff;
  border: 1px solid rgba(16, 16, 16, 0.08);
  border-radius: 8px;
  padding: 0.3rem 0.85rem;
  font: 500 0.78rem/1.2 var(--mono);
  color: #475569;
  max-width: 65%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.bf-address svg {
  width: 14px;
  height: 14px;
  color: #A39D90;
  flex-shrink: 0;
}

.bf-live-pill {
  font: 700 0.75rem var(--mono);
  color: var(--cobalt);
  background: #EFE5D6;
  border-radius: 999px;
  padding: 0.25rem 0.65rem;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.2s, color 0.2s;
}

.bf-live-pill:hover {
  background: var(--cobalt);
  color: #fff;
}

.bf-screen {
  position: relative;
  overflow: hidden;
  background: #101010;
  line-height: 0;
}

.bf-screen img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}

.browser-frame:hover .bf-screen img {
  transform: scale(1.015);
}

.bf-phone {
  position: absolute;
  right: 1.2rem;
  bottom: -0.8rem;
  width: 25%;
  max-width: 130px;
  border-radius: 18px;
  border: 4px solid #101010;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.4);
  overflow: hidden;
  z-index: 5;
  background: #000;
  transform: rotate(3deg);
  transition: transform 0.3s var(--ease);
}

.browser-frame:hover .bf-phone {
  transform: rotate(0deg) translateY(-4px);
}

.bf-phone img {
  width: 100%;
  height: auto;
  display: block;
}

/* Featured Hero Project Card (Flagship Himalaya Escape) */
.hero-feature-card {
  margin-top: 2.8rem;
  background: var(--ink);
  color: #fff;
  border-radius: 32px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: clamp(1.8rem, 4vw, 3.2rem);
  box-shadow: 0 40px 90px -25px rgba(16, 16, 16, 0.5);
  position: relative;
  overflow: hidden;
}

.hfc-grid {
  display: grid;
  grid-template-columns: 1fr 1.22fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.hfc-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font: 700 0.8rem var(--mono);
  color: var(--mint);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background: rgba(62, 142, 102, 0.14);
  padding: 0.32rem 0.8rem;
  border-radius: 999px;
  margin-bottom: 1rem;
}

.hfc-title {
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  letter-spacing: -0.04em;
  line-height: 1.02;
  margin-bottom: 0.5rem;
}

.hfc-tagline {
  color: var(--hi);
  font: 600 1.15rem var(--display);
  margin-bottom: 1.2rem;
}

.hfc-built {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  padding: 1.2rem;
  margin-bottom: 1.8rem;
}

.hfc-built-title {
  font: 700 0.78rem var(--mono);
  text-transform: uppercase;
  color: #B5AFA2;
  letter-spacing: 0.08em;
  margin-bottom: 0.7rem;
}

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

.hfc-tags span {
  font: 600 0.82rem var(--mono);
  background: rgba(194, 51, 12, 0.25);
  color: #E6DFD0;
  border: 1px solid rgba(194, 51, 12, 0.45);
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
}

.hfc-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

/* Editorial Rows for Real Projects */
.editorial-portfolio {
  display: flex;
  flex-direction: column;
  gap: clamp(3.5rem, 7vw, 5.5rem);
  margin-top: 4rem;
}

.proj-row {
  display: grid;
  grid-template-columns: 1.18fr 1fr;
  gap: clamp(2.5rem, 5vw, 4.5rem);
  align-items: center;
  padding-top: 3rem;
  border-top: 1px solid var(--line);
}

.proj-row.reverse {
  grid-template-columns: 1fr 1.18fr;
}

.proj-row.reverse .proj-visual {
  order: 2;
}

.proj-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.proj-cat {
  font: 700 0.8rem var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--cobalt);
  background: #EFE5D6;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  margin-bottom: 0.85rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.proj-copy h3 {
  font-size: clamp(2rem, 3.8vw, 2.75rem);
  letter-spacing: -0.035em;
  line-height: 1.08;
  margin-bottom: 0.85rem;
}

.proj-desc {
  color: var(--mute);
  font-size: 1.02rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.proj-highlights {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1.8rem;
  width: 100%;
}

.proj-highlights li {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  font-size: 0.95rem;
  color: var(--ink);
}

.proj-highlights svg {
  color: var(--mint);
  margin-top: 0.2rem;
  flex-shrink: 0;
  width: 18px;
  height: 18px;
}

.proj-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

/* Modal Backdrop & Popup */
.proj-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(16, 16, 16, 0.75);
  backdrop-filter: blur(8px);
  z-index: 120;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  transition: opacity 0.25s var(--ease);
}

.proj-modal-backdrop.open {
  display: flex;
  opacity: 1;
}

.proj-modal-card {
  background: #ffffff;
  border-radius: 28px;
  max-width: 900px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: clamp(1.8rem, 4vw, 3rem);
  position: relative;
  box-shadow: 0 45px 100px -20px rgba(16, 16, 16, 0.4);
}

.modal-close-btn {
  position: absolute;
  top: 1.4rem;
  right: 1.4rem;
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: #E9E2D3;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: all 0.2s;
  z-index: 10;
}

.modal-close-btn:hover {
  background: var(--ink);
  color: #fff;
}

.modal-close-btn svg {
  width: 18px;
  height: 18px;
}

.modal-preview-box {
  margin: 1.5rem 0 2rem;
}

.modal-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.modal-section {
  margin-bottom: 1.5rem;
}

.modal-section h4 {
  font: 700 0.85rem var(--mono);
  color: var(--cobalt);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.5rem;
}

.modal-section p {
  color: var(--mute);
  font-size: 0.96rem;
  line-height: 1.55;
}

/* ===================================================
   REDESIGNED LUXURY .END (REPLACES THE FLAT BLUE BOX)
   =================================================== */
.end-wrap {
  padding: clamp(3rem, 6vw, 5.5rem) 0;
}

.end {
  background: linear-gradient(135deg, #101010 0%, #17352B 50%, #101010 100%);
  color: #fff;
  border-radius: 32px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: clamp(3.5rem, 6.5vw, 5.5rem) clamp(2rem, 5vw, 4.5rem);
  position: relative;
  overflow: hidden;
  box-shadow: 0 40px 90px -25px rgba(16, 16, 16, 0.6), 0 0 0 1px rgba(194, 51, 12, 0.25);
}

.end::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -20%;
  width: 550px;
  height: 550px;
  background: radial-gradient(circle, rgba(194, 51, 12, 0.3) 0%, transparent 70%);
  pointer-events: none;
}

.end::after {
  content: '';
  position: absolute;
  bottom: -40%;
  left: -20%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(255, 74, 28, 0.16) 0%, transparent 70%);
  pointer-events: none;
}

.end h2 {
  font-size: clamp(2.4rem, 5.5vw, 4.2rem);
  max-width: 18ch;
  letter-spacing: -0.04em;
  line-height: 1.04;
  margin-top: 0.5rem;
  color: #fff;
  position: relative;
  z-index: 2;
}

.end .row {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: space-between;
  align-items: flex-end;
  margin-top: 1.8rem;
  position: relative;
  z-index: 2;
}

.end p {
  max-width: 34rem;
  font-size: 1.15rem;
  color: #D4CEC0;
  line-height: 1.6;
}

.end-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

/* ===================================================
   CENTERED FOOTER SYSTEM (PREVIOUS DESIGN, CENTERED WATERMARK)
   =================================================== */
footer {
  background: #0B0B0A;
  color: #B5AFA2;
  padding: 5rem 0 3rem;
  font-size: 0.95rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.foot-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: clamp(2rem, 4vw, 3.8rem);
  text-align: left;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.foot-brand p {
  color: #A39D90;
  max-width: 22rem;
  font-size: 0.92rem;
  line-height: 1.55;
  margin-top: 0.8rem;
}

.foot-col h4 {
  font: 700 0.84rem var(--mono);
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1.1rem;
}

.foot-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.foot-col a {
  text-decoration: none;
  color: #B5AFA2;
  font-size: 0.93rem;
  transition: color 0.2s;
}

.foot-col a:hover {
  color: var(--hi);
}

.foot-watermark {
  font: 800 clamp(3.5rem, 16vw, 12rem)/0.82 var(--display);
  letter-spacing: -0.06em;
  color: rgba(255, 255, 255, 0.045);
  margin: 2.5rem 0 2rem;
  user-select: none;
  text-align: center;
  text-transform: uppercase;
}

.foot-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem 1.8rem;
  justify-content: center;
  align-items: center;
  font-size: 0.88rem;
  color: #8A8478;
  text-align: center;
}

/* ===================================================
   RESPONSIVE LAYOUT BREAKPOINTS
   =================================================== */
@media (max-width: 992px) {
  .hero-grid, .pm-card { grid-template-columns: 1fr; }
  .engine-grid, .guarantees-grid { grid-template-columns: 1fr 1fr; }
  .bn-accordion { grid-template-columns: 1fr; }
  .gateway-grid { grid-template-columns: 1fr 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .hfc-grid { grid-template-columns: 1fr; }
  .proj-row, .proj-row.reverse { grid-template-columns: 1fr; }
  .proj-row.reverse .proj-visual { order: 1; }
  .bf-phone { right: 0.8rem; bottom: -0.6rem; width: 28%; }
}

@media (max-width: 960px) {
  .links, .slots, .navr .btn { display: none; }
  .mob-btn { display: inline-flex; }
}

@media (max-width: 640px) {
  .engine-grid, .guarantees-grid { grid-template-columns: 1fr; }
  .gateway-grid { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; text-align: center; }
  .pulse-item { flex-direction: column; align-items: flex-start; }
  .pulse-pill { align-self: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
  html { scroll-behavior: auto; }
  [data-r] { opacity: 1; transform: none; }
  .w > span { transform: none; }
}
